@sv-print/hiprint 0.1.0
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 +69 -0
- package/dist/index.js +1515 -0
- package/dist/index.mjs +13104 -0
- package/dist/index.umd.js +1515 -0
- package/dist/print-lock.css +280 -0
- package/dist/style.css +1 -0
- package/package.json +53 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export declare function autoConnect(
|
|
2
|
+
callback?: (status?: boolean, msg?: any) => void
|
|
3
|
+
);
|
|
4
|
+
|
|
5
|
+
export declare class defaultElementTypeProvider {
|
|
6
|
+
constructor();
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export declare function disAutoConnect();
|
|
10
|
+
|
|
11
|
+
declare class hiprint {
|
|
12
|
+
static init: (...args: any) => void;
|
|
13
|
+
static register: (...args: any) => void;
|
|
14
|
+
static setConfig: (...args: any) => void;
|
|
15
|
+
static updateElementType: (...args: any) => void;
|
|
16
|
+
static hiwebSocket: any;
|
|
17
|
+
static refreshPrinterList: (...args: any) => void;
|
|
18
|
+
static getAddress: (...args: any) => void;
|
|
19
|
+
static ippPrint: (...args: any) => void;
|
|
20
|
+
static ippRequest: (...args: any) => void;
|
|
21
|
+
static PrintElementTypeManager: any;
|
|
22
|
+
static PrintElementTypeGroup: any;
|
|
23
|
+
static PrintTemplate: PrintTemplate;
|
|
24
|
+
static print: (...args: any) => any;
|
|
25
|
+
static print2: (...args: any) => any;
|
|
26
|
+
static getHtml: (...args: any) => any;
|
|
27
|
+
}
|
|
28
|
+
export { hiprint as Hiprint }
|
|
29
|
+
export { hiprint }
|
|
30
|
+
|
|
31
|
+
export declare interface PrintTemplate {
|
|
32
|
+
constructor(options?: any);
|
|
33
|
+
id: string;
|
|
34
|
+
history: boolean;
|
|
35
|
+
historyPos: number;
|
|
36
|
+
historyList: Array<any>;
|
|
37
|
+
container: any;
|
|
38
|
+
editingPanel: Array<any>;
|
|
39
|
+
printPanels: Array<any>;
|
|
40
|
+
design: (...args: any) => any;
|
|
41
|
+
update: (...args: any) => any;
|
|
42
|
+
print: (...args: any) => any;
|
|
43
|
+
print2: (...args: any) => any;
|
|
44
|
+
getHtml: (...args: any) => any;
|
|
45
|
+
clear: () => any;
|
|
46
|
+
rotatePaper: () => any;
|
|
47
|
+
getOrient: () => any;
|
|
48
|
+
zoom: (...args: any) => any;
|
|
49
|
+
undo: () => any;
|
|
50
|
+
redo: () => any;
|
|
51
|
+
getPrintStyle: () => any;
|
|
52
|
+
getPaperType: () => any;
|
|
53
|
+
copyJson: () => any;
|
|
54
|
+
cutJson: () => any;
|
|
55
|
+
canPaste: () => Boolean;
|
|
56
|
+
getSelectEls: (...args: any) => any;
|
|
57
|
+
updateOption: (...args: any) => any;
|
|
58
|
+
setElsAlign: (...args: any) => any;
|
|
59
|
+
setElsSpace: (...args: any) => any;
|
|
60
|
+
getJson: (...args: any) => any;
|
|
61
|
+
getJsonTid: (...args: any) => any;
|
|
62
|
+
getPrinterList: (...args: any) => any;
|
|
63
|
+
on: (...args: any) => any;
|
|
64
|
+
setFields: (...args: any) => any;
|
|
65
|
+
setFontList: (...args: any) => any;
|
|
66
|
+
setOnImageChooseClick: (...args: any) => any;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export { }
|