@umbsoft/avue 3.8.3-beta.33 → 3.8.3-beta.37
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/lib/avue.min.js +2 -2
- package/package.json +1 -1
- package/types/index.d.ts +22 -0
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -28,6 +28,28 @@ declare const Avue: AvuePlugin;
|
|
|
28
28
|
export const version: string;
|
|
29
29
|
export const locale: any;
|
|
30
30
|
export function install(app: App, options?: AvueInstallOptions): void;
|
|
31
|
+
|
|
32
|
+
export declare const $DialogForm: (context: any) => (opt: Record<string, any>) => any;
|
|
33
|
+
export declare const $ImagePreview: (context: any) => (list: any[], index?: number) => any;
|
|
34
|
+
export declare const $Export: any;
|
|
35
|
+
export declare const $Print: any;
|
|
36
|
+
export declare const $Clipboard: any;
|
|
37
|
+
export declare const $Watermark: any;
|
|
38
|
+
export declare const $Log: any;
|
|
39
|
+
export declare const $Screenshot: any;
|
|
40
|
+
export declare function deepClone<T>(obj: T): T;
|
|
41
|
+
export declare const validatenull: (val: any) => boolean;
|
|
42
|
+
export declare const validData: (val: any, defVal: any) => any;
|
|
43
|
+
export declare const findObject: (list: any[], value: any, key?: string) => any;
|
|
44
|
+
export declare const findArray: (list: any[], value: any, key?: string) => any;
|
|
45
|
+
export declare const findNode: (list: any[], value: any, key?: string) => any;
|
|
46
|
+
export declare const setPx: (val: any, defVal?: string) => string;
|
|
47
|
+
export declare const isJson: (val: any) => boolean;
|
|
48
|
+
export declare const downFile: (url: string, filename?: string) => void;
|
|
49
|
+
export declare const loadScript: (url: string) => Promise<void>;
|
|
50
|
+
export declare const randomId: () => string;
|
|
51
|
+
export declare const dataURLtoFile: (dataUrl: string, filename: string) => File;
|
|
52
|
+
|
|
31
53
|
export default Avue;
|
|
32
54
|
|
|
33
55
|
declare module "@vue/runtime-core" {
|