@sv-print/hiprint 0.2.24 → 0.2.25
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 +8 -5
- package/dist/index.js +896 -844
- package/dist/index.mjs +10478 -10375
- package/dist/index.umd.js +896 -844
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -40,16 +40,19 @@ export declare class hiprint {
|
|
|
40
40
|
static getOptionItems: Record<string, any>;
|
|
41
41
|
static updateElementType: <T>(tid: string, callback: (type: T) => T) => void;
|
|
42
42
|
static hiwebSocket: HiWebSocket;
|
|
43
|
-
static
|
|
44
|
-
static
|
|
43
|
+
static setHost: (host: string, token?: string) => Promise<any>;
|
|
44
|
+
static refreshPrinterList: () => Promise<PrinterInfo[]>;
|
|
45
|
+
static getAddress: () => Promise<Record<string, any>>;
|
|
46
|
+
static getClients: () => Promise<any[]>;
|
|
47
|
+
static getClientInfo: () => Promise<any>;
|
|
45
48
|
static ippPrint: (...args: any) => void;
|
|
46
49
|
static ippRequest: (...args: any) => void;
|
|
47
50
|
static PrintElementTypeManager: PrintElementTypeManager;
|
|
48
51
|
static PrintElementTypeGroup: PrintElementTypeGroup;
|
|
49
52
|
static PrintTemplate: typeof PrintTemplate;
|
|
50
|
-
static print: (data: Templates) =>
|
|
51
|
-
static print2: (data: Templates
|
|
52
|
-
static getHtml: (data: Templates) => any
|
|
53
|
+
static print: (data: Templates) => Promise<any>;
|
|
54
|
+
static print2: (data: Templates) => Promise<any>;
|
|
55
|
+
static getHtml: (data: Templates) => Promise<any>;
|
|
53
56
|
}
|
|
54
57
|
|
|
55
58
|
export declare interface HiWebSocket {
|