@sv-print/hiprint 0.2.11 → 0.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export declare function disAutoConnect();
8
8
 
9
9
  declare class hiprint {
10
10
  static init: (...args: any) => void;
11
- static register: (...args: any) => void;
11
+ static register: (...args: any) => string;
12
12
  static setConfig: (...args: any) => void;
13
13
  static updateElementType: (...args: any) => void;
14
14
  static hiwebSocket: any;
@@ -36,6 +36,7 @@ export declare interface PrintTemplate {
36
36
  editingPanel: Array<any>;
37
37
  printPanels: Array<any>;
38
38
  design: (...args: any) => any;
39
+ buildPagination: (container: string) => void;
39
40
  update: (...args: any) => any;
40
41
  print: (...args: any) => any;
41
42
  print2: (...args: any) => any;
@@ -54,8 +55,10 @@ export declare interface PrintTemplate {
54
55
  canPaste: () => boolean;
55
56
  getSelectEls: (...args: any) => any;
56
57
  updateOption: (...args: any) => any;
57
- setElsAlign: (...args: any) => any;
58
+ setElsAlign: (align: string, toPaper?: boolean) => any;
58
59
  setElsSpace: (...args: any) => any;
60
+ selectAllEls: (reverse?: boolean) => any;
61
+ addPrintElementToPaperByTid: (tid: string, left?: number, top?: number) => any;
59
62
  getJson: (...args: any) => any;
60
63
  getJsonTid: (...args: any) => any;
61
64
  getPrinterList: (...args: any) => any;
@@ -65,6 +68,7 @@ export declare interface PrintTemplate {
65
68
  setPaperList: (...args: any) => any;
66
69
  setOnImageChooseClick: (...args: any) => any;
67
70
  onDataChanged: (...args: any) => any;
71
+ onZoomChange: (zoom: number) => void;
68
72
  }
69
73
 
70
74
  export { }