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
6
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.5 to 0.0.6

4

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

@@ -48,3 +48,3 @@ import icsChromelyRequest from '@icreate/ics-chromely-js-sdk';

Report.prototype.registerData = function (name, data) {
return this.OperateEx('RegisterData', { name: name, data: data }, 'POST');
return this.OperateEx('RegisterData', { name: name, data: JSON.stringify(data) }, 'POST');
};

@@ -96,3 +96,3 @@ // 设置双面打印

};
// 打印报表
// 打印准备报表
Report.prototype.printPrepared = function (printerName) {

@@ -99,0 +99,0 @@ return this.OperateEx('PrintPrepared', { printerName: printerName });

@@ -56,3 +56,3 @@ (function (global, factory) {

Report.prototype.registerData = function (name, data) {
return this.OperateEx('RegisterData', { name: name, data: data }, 'POST');
return this.OperateEx('RegisterData', { name: name, data: JSON.stringify(data) }, 'POST');
};

@@ -104,3 +104,3 @@ // 设置双面打印

};
// 打印报表
// 打印准备报表
Report.prototype.printPrepared = function (printerName) {

@@ -107,0 +107,0 @@ return this.OperateEx('PrintPrepared', { printerName: printerName });

@@ -18,3 +18,3 @@ "use strict";

* @LastEditors: 文贝
* @LastEditTime: 2022-09-08 17:50:00
* @LastEditTime: 2022-09-08 18:30:52
* @Description:

@@ -43,3 +43,3 @@ * @FilePath: \ics-chromely-plugin-report\src\core\report.ts

Report.prototype.registerData = function (name, data) {
return this.OperateEx('RegisterData', { name: name, data: data }, 'POST');
return this.OperateEx('RegisterData', { name: name, data: JSON.stringify(data) }, 'POST');
};

@@ -91,3 +91,3 @@ // 设置双面打印

};
// 打印报表
// 打印准备报表
Report.prototype.printPrepared = function (printerName) {

@@ -94,0 +94,0 @@ return this.OperateEx('PrintPrepared', { printerName: printerName });

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

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

@@ -5,0 +5,0 @@ "keywords": [],

@@ -5,3 +5,3 @@ <!--

* @LastEditors: 文贝
* @LastEditTime: 2022-09-08 17:50:50
* @LastEditTime: 2022-09-08 18:31:40
* @Descripttion:

@@ -18,2 +18,3 @@ * @FilePath: \ics-chromely-plugin-report\README.md

```
0.0.6 修改print和printPrepared的printerName允许为空
0.0.5 增加打印准备报表printPrepared

@@ -59,5 +60,5 @@ 0.0.4 增加预览准备报表showPrepared

// 打印报表
print(printerName: string): Promise<any>
print(printerName?: string): Promise<any>
// 打印准备报表
printPrepared(printerName: string): Promise<any>
printPrepared(printerName?: string): Promise<any>
// 导出pdf

@@ -64,0 +65,0 @@ ExportToPdf(fileName: 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