Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@icreate/ics-chromely-plugin-report-js-sdk

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@icreate/ics-chromely-plugin-report-js-sdk - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

5

dist/ics-chromely-plugin-report-js-sdk.es5.js

@@ -144,6 +144,7 @@ import icsChromelyRequest from '@icreate/ics-chromely-js-sdk';

// 打印报表
Report.prototype.print = function (printerName, showPrintSettings) {
Report.prototype.print = function (printerName, showPrintSettings, showProgress) {
return this.OperateEx('Print', {
printerName: printerName !== null && printerName !== void 0 ? printerName : '',
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false,
showProgress: showProgress !== null && showProgress !== void 0 ? showProgress : true
});

@@ -150,0 +151,0 @@ };

@@ -149,6 +149,7 @@ (function (global, factory) {

// 打印报表
Report.prototype.print = function (printerName, showPrintSettings) {
Report.prototype.print = function (printerName, showPrintSettings, showProgress) {
return this.OperateEx('Print', {
printerName: printerName !== null && printerName !== void 0 ? printerName : '',
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false,
showProgress: showProgress !== null && showProgress !== void 0 ? showProgress : true
});

@@ -155,0 +156,0 @@ };

13

dist/lib/core/report.js

@@ -14,10 +14,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
/*
* @Author: 刘邓
* @Date: 2022-05-06 15:04:22
* @LastEditors: 陶慧灵
* @LastEditTime: 2022-12-13 11:37:27
* @Description:
* @FilePath: \ics-chromely-plugin-report\src\core\report.ts
*/
var ics_chromely_js_sdk_1 = require("@icreate/ics-chromely-js-sdk");

@@ -139,6 +131,7 @@ var ics_chromely_plugin_core_1 = require("@icreate/ics-chromely-plugin-core");

// 打印报表
Report.prototype.print = function (printerName, showPrintSettings) {
Report.prototype.print = function (printerName, showPrintSettings, showProgress) {
return this.OperateEx('Print', {
printerName: printerName !== null && printerName !== void 0 ? printerName : '',
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false,
showProgress: showProgress !== null && showProgress !== void 0 ? showProgress : true
});

@@ -145,0 +138,0 @@ };

@@ -42,5 +42,5 @@ export default class Report {

showPrepared(printerName?: string, showPrintSettings?: boolean, closeAfterPrint?: boolean): Promise<any>;
print(printerName?: string, showPrintSettings?: boolean): Promise<any>;
print(printerName?: string, showPrintSettings?: boolean, showProgress?: boolean): Promise<any>;
printPrepared(printerName?: string, showPrintSettings?: boolean): Promise<any>;
dispose(): Promise<any>;
}
{
"name": "@icreate/ics-chromely-plugin-report-js-sdk",
"version": "0.0.10",
"version": "0.0.11",
"description": "提供报表设计、清空、预览、打印、注册数据源等功能",

@@ -122,4 +122,5 @@ "keywords": [],

"dependencies": {
"@icreate/ics-chromely-plugin-core": "^0.0.22"
"@icreate/ics-chromely-plugin-core": "^0.0.24",
"@icreate/ics-chromely-plugin-report-js-sdk": "file:"
}
}

@@ -17,2 +17,4 @@ <!--

```
0.0.11 打印增加显示进度入参
0.0.11 打印增加显示设置入参
0.0.9-beta.1 注册数据源时允许指定字段类型

@@ -45,4 +47,4 @@ 0.0.9 优化和完善导出pdf流

load(fileName: string): Promise<any>
// 根据Id加载报表
loadFromId(reportId: string): Promise<any>
// 根据内容加载报表
loadFromString(content: string): Promise<any>
// 清空数据源

@@ -65,3 +67,3 @@ clearData(): Promise<any>

// 打印报表
print(printerName?: string): Promise<any>
print(printerName?: string, showPrintSettings?: boolean, showProgress?: boolean): Promise<any>
// 打印准备报表

@@ -68,0 +70,0 @@ printPrepared(printerName?: string): Promise<any>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc