@lazycatcloud/lzc-toolkit 0.0.219 → 0.0.222

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.
Files changed (45) hide show
  1. package/dist/index.es.js +851 -835
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.umd.js +4 -4
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/style.css +1 -1
  6. package/dist/types/components/Loading.vue.d.ts +36 -36
  7. package/dist/types/dialog/Dialog.vue.d.ts +113 -113
  8. package/dist/types/dialog/index.d.ts +17 -17
  9. package/dist/types/dialog/keys.d.ts +2 -2
  10. package/dist/types/directive/index.d.ts +7 -7
  11. package/dist/types/image/Image.vue.d.ts +148 -148
  12. package/dist/types/image/Thumbnail.vue.d.ts +82 -82
  13. package/dist/types/image/useImage.d.ts +14 -14
  14. package/dist/types/index.d.ts +21 -21
  15. package/dist/types/loading/DefaultLoading.vue.d.ts +31 -31
  16. package/dist/types/loading/PageLoading.vue.d.ts +31 -31
  17. package/dist/types/loading/index.d.ts +2 -2
  18. package/dist/types/loading-toast/index.d.ts +47 -47
  19. package/dist/types/loading-toast/index.vue.d.ts +86 -86
  20. package/dist/types/scroll-bar/ScrollBar.vue.d.ts +126 -126
  21. package/dist/types/scroll-bar/index.d.ts +2 -2
  22. package/dist/types/scroll-bar/use/scrollBar.d.ts +14 -14
  23. package/dist/types/scroll-bar/use/type.d.ts +11 -11
  24. package/dist/types/svgIcon/SvgIcon.vue.d.ts +37 -37
  25. package/dist/types/toast/Toast.vue.d.ts +19 -19
  26. package/dist/types/toast/ToastCreator.d.ts +14 -14
  27. package/dist/types/useBackPress/index.d.ts +15 -15
  28. package/dist/types/useDelayAsync/index.d.ts +31 -31
  29. package/dist/types/useDelayLoad/index.d.ts +28 -28
  30. package/dist/types/useDowndrag/index.d.ts +14 -14
  31. package/dist/types/useDragSelect/index.d.ts +55 -55
  32. package/dist/types/useRouterActivated/index.d.ts +4 -4
  33. package/dist/types/useScaleImage/index.d.ts +3165 -3165
  34. package/dist/types/useScaleImage/useGesture.d.ts +13 -13
  35. package/dist/types/useScaleImage/useTouch.d.ts +15 -15
  36. package/dist/types/useScaleImage/useTransition.d.ts +9 -9
  37. package/dist/types/useSelectable/index.d.ts +43 -43
  38. package/dist/types/useSelectable/keys.d.ts +12 -12
  39. package/dist/types/useVirtualList/PullRefresh.vue.d.ts +98 -32
  40. package/dist/types/useVirtualList/VirtualList.vue.d.ts +213 -213
  41. package/dist/types/useVirtualList/index.d.ts +49 -49
  42. package/dist/types/utils/index.d.ts +1 -1
  43. package/dist/types/utils/touch.d.ts +16 -16
  44. package/dist/vite.config.d.ts +2 -2
  45. package/package.json +47 -47
@@ -1,148 +1,148 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{
6
- noSupportIconName: string;
7
- badImageIconName: string;
8
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
- src?: string | undefined;
10
- mime?: string | undefined;
11
- thumbnail?: string | undefined;
12
- isShowSrc?: boolean | undefined;
13
- autoRemoveThumbnail?: boolean | undefined;
14
- noSupportIconName?: string | undefined;
15
- badImageIconName?: string | undefined;
16
- }>, {
17
- noSupportIconName: string;
18
- badImageIconName: string;
19
- }>>> & {
20
- onLoad?: ((val: HTMLElement) => any) | undefined;
21
- onNoSupport?: (() => any) | undefined;
22
- onLoadError?: (() => any) | undefined;
23
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "noSupportIconName" | "badImageIconName">;
24
- $attrs: {
25
- [x: string]: unknown;
26
- };
27
- $refs: {
28
- [x: string]: unknown;
29
- };
30
- $slots: Readonly<{
31
- [name: string]: import("vue").Slot | undefined;
32
- }>;
33
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
34
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
35
- $emit: ((event: "load", val: HTMLElement) => void) & ((event: "noSupport") => void) & ((event: "loadError") => void);
36
- $el: any;
37
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
38
- src?: string | undefined;
39
- mime?: string | undefined;
40
- thumbnail?: string | undefined;
41
- isShowSrc?: boolean | undefined;
42
- autoRemoveThumbnail?: boolean | undefined;
43
- noSupportIconName?: string | undefined;
44
- badImageIconName?: string | undefined;
45
- }>, {
46
- noSupportIconName: string;
47
- badImageIconName: string;
48
- }>>> & {
49
- onLoad?: ((val: HTMLElement) => any) | undefined;
50
- onNoSupport?: (() => any) | undefined;
51
- onLoadError?: (() => any) | undefined;
52
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
- load: (val: HTMLElement) => void;
54
- } & {
55
- noSupport: () => void;
56
- } & {
57
- loadError: () => void;
58
- }, string, {
59
- noSupportIconName: string;
60
- badImageIconName: string;
61
- }> & {
62
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
63
- created?: ((() => void) | (() => void)[]) | undefined;
64
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
65
- mounted?: ((() => void) | (() => void)[]) | undefined;
66
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
67
- updated?: ((() => void) | (() => void)[]) | undefined;
68
- activated?: ((() => void) | (() => void)[]) | undefined;
69
- deactivated?: ((() => void) | (() => void)[]) | undefined;
70
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
71
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
72
- destroyed?: ((() => void) | (() => void)[]) | undefined;
73
- unmounted?: ((() => void) | (() => void)[]) | undefined;
74
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
75
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
76
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
77
- };
78
- $forceUpdate: () => void;
79
- $nextTick: typeof import("vue").nextTick;
80
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
81
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
82
- src?: string | undefined;
83
- mime?: string | undefined;
84
- thumbnail?: string | undefined;
85
- isShowSrc?: boolean | undefined;
86
- autoRemoveThumbnail?: boolean | undefined;
87
- noSupportIconName?: string | undefined;
88
- badImageIconName?: string | undefined;
89
- }>, {
90
- noSupportIconName: string;
91
- badImageIconName: string;
92
- }>>> & {
93
- onLoad?: ((val: HTMLElement) => any) | undefined;
94
- onNoSupport?: (() => any) | undefined;
95
- onLoadError?: (() => any) | undefined;
96
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
97
- __isFragment?: undefined;
98
- __isTeleport?: undefined;
99
- __isSuspense?: undefined;
100
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
101
- src?: string | undefined;
102
- mime?: string | undefined;
103
- thumbnail?: string | undefined;
104
- isShowSrc?: boolean | undefined;
105
- autoRemoveThumbnail?: boolean | undefined;
106
- noSupportIconName?: string | undefined;
107
- badImageIconName?: string | undefined;
108
- }>, {
109
- noSupportIconName: string;
110
- badImageIconName: string;
111
- }>>> & {
112
- onLoad?: ((val: HTMLElement) => any) | undefined;
113
- onNoSupport?: (() => any) | undefined;
114
- onLoadError?: (() => any) | undefined;
115
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
116
- load: (val: HTMLElement) => void;
117
- } & {
118
- noSupport: () => void;
119
- } & {
120
- loadError: () => void;
121
- }, string, {
122
- noSupportIconName: string;
123
- badImageIconName: string;
124
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
125
- $slots: {
126
- default: (_: {
127
- src: string | undefined;
128
- onLoad: ((val: HTMLElement) => any) & ((isSrc?: boolean) => Promise<void>);
129
- onError: (isSrc?: boolean) => void;
130
- vImageCancel: import("vue").ObjectDirective<HTMLImageElement, any>;
131
- }) => any;
132
- };
133
- });
134
- export default _default;
135
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
136
- declare type __VLS_TypePropsToRuntimeProps<T> = {
137
- [K in keyof T]-?: {} extends Pick<T, K> ? {
138
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
139
- } : {
140
- type: import('vue').PropType<T[K]>;
141
- required: true;
142
- };
143
- };
144
- declare type __VLS_WithDefaults<P, D> = {
145
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
146
- default: D[K];
147
- } : P[K];
148
- };
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ noSupportIconName: string;
7
+ badImageIconName: string;
8
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ src?: string | undefined;
10
+ mime?: string | undefined;
11
+ thumbnail?: string | undefined;
12
+ isShowSrc?: boolean | undefined;
13
+ autoRemoveThumbnail?: boolean | undefined;
14
+ noSupportIconName?: string | undefined;
15
+ badImageIconName?: string | undefined;
16
+ }>, {
17
+ noSupportIconName: string;
18
+ badImageIconName: string;
19
+ }>>> & {
20
+ onLoad?: ((val: HTMLElement) => any) | undefined;
21
+ onNoSupport?: (() => any) | undefined;
22
+ onLoadError?: (() => any) | undefined;
23
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "noSupportIconName" | "badImageIconName">;
24
+ $attrs: {
25
+ [x: string]: unknown;
26
+ };
27
+ $refs: {
28
+ [x: string]: unknown;
29
+ };
30
+ $slots: Readonly<{
31
+ [name: string]: import("vue").Slot | undefined;
32
+ }>;
33
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
34
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
35
+ $emit: ((event: "load", val: HTMLElement) => void) & ((event: "noSupport") => void) & ((event: "loadError") => void);
36
+ $el: any;
37
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
38
+ src?: string | undefined;
39
+ mime?: string | undefined;
40
+ thumbnail?: string | undefined;
41
+ isShowSrc?: boolean | undefined;
42
+ autoRemoveThumbnail?: boolean | undefined;
43
+ noSupportIconName?: string | undefined;
44
+ badImageIconName?: string | undefined;
45
+ }>, {
46
+ noSupportIconName: string;
47
+ badImageIconName: string;
48
+ }>>> & {
49
+ onLoad?: ((val: HTMLElement) => any) | undefined;
50
+ onNoSupport?: (() => any) | undefined;
51
+ onLoadError?: (() => any) | undefined;
52
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
+ load: (val: HTMLElement) => void;
54
+ } & {
55
+ noSupport: () => void;
56
+ } & {
57
+ loadError: () => void;
58
+ }, string, {
59
+ noSupportIconName: string;
60
+ badImageIconName: string;
61
+ }> & {
62
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
63
+ created?: ((() => void) | (() => void)[]) | undefined;
64
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
65
+ mounted?: ((() => void) | (() => void)[]) | undefined;
66
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
67
+ updated?: ((() => void) | (() => void)[]) | undefined;
68
+ activated?: ((() => void) | (() => void)[]) | undefined;
69
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
70
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
71
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
72
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
73
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
74
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
75
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
76
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
77
+ };
78
+ $forceUpdate: () => void;
79
+ $nextTick: typeof import("vue").nextTick;
80
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
81
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
82
+ src?: string | undefined;
83
+ mime?: string | undefined;
84
+ thumbnail?: string | undefined;
85
+ isShowSrc?: boolean | undefined;
86
+ autoRemoveThumbnail?: boolean | undefined;
87
+ noSupportIconName?: string | undefined;
88
+ badImageIconName?: string | undefined;
89
+ }>, {
90
+ noSupportIconName: string;
91
+ badImageIconName: string;
92
+ }>>> & {
93
+ onLoad?: ((val: HTMLElement) => any) | undefined;
94
+ onNoSupport?: (() => any) | undefined;
95
+ onLoadError?: (() => any) | undefined;
96
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
97
+ __isFragment?: undefined;
98
+ __isTeleport?: undefined;
99
+ __isSuspense?: undefined;
100
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
101
+ src?: string | undefined;
102
+ mime?: string | undefined;
103
+ thumbnail?: string | undefined;
104
+ isShowSrc?: boolean | undefined;
105
+ autoRemoveThumbnail?: boolean | undefined;
106
+ noSupportIconName?: string | undefined;
107
+ badImageIconName?: string | undefined;
108
+ }>, {
109
+ noSupportIconName: string;
110
+ badImageIconName: string;
111
+ }>>> & {
112
+ onLoad?: ((val: HTMLElement) => any) | undefined;
113
+ onNoSupport?: (() => any) | undefined;
114
+ onLoadError?: (() => any) | undefined;
115
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
116
+ load: (val: HTMLElement) => void;
117
+ } & {
118
+ noSupport: () => void;
119
+ } & {
120
+ loadError: () => void;
121
+ }, string, {
122
+ noSupportIconName: string;
123
+ badImageIconName: string;
124
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
125
+ $slots: {
126
+ default: (_: {
127
+ src: string | undefined;
128
+ onLoad: ((val: HTMLElement) => any) & ((isSrc?: boolean) => Promise<void>);
129
+ onError: (isSrc?: boolean) => void;
130
+ vImageCancel: import("vue").ObjectDirective<HTMLImageElement, any>;
131
+ }) => any;
132
+ };
133
+ });
134
+ export default _default;
135
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
136
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
137
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
138
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
139
+ } : {
140
+ type: import('vue').PropType<T[K]>;
141
+ required: true;
142
+ };
143
+ };
144
+ declare type __VLS_WithDefaults<P, D> = {
145
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
146
+ default: D[K];
147
+ } : P[K];
148
+ };
@@ -1,82 +1,82 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
- src?: string | undefined;
7
- mime?: string | undefined;
8
- }>>> & {
9
- onNoSupport?: (() => any) | undefined;
10
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
11
- $attrs: {
12
- [x: string]: unknown;
13
- };
14
- $refs: {
15
- [x: string]: unknown;
16
- };
17
- $slots: Readonly<{
18
- [name: string]: import("vue").Slot | undefined;
19
- }>;
20
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
21
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
22
- $emit: (event: "noSupport") => void;
23
- $el: any;
24
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
25
- src?: string | undefined;
26
- mime?: string | undefined;
27
- }>>> & {
28
- onNoSupport?: (() => any) | undefined;
29
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
- noSupport: () => void;
31
- }, string, {}> & {
32
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
33
- created?: ((() => void) | (() => void)[]) | undefined;
34
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
35
- mounted?: ((() => void) | (() => void)[]) | undefined;
36
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
37
- updated?: ((() => void) | (() => void)[]) | undefined;
38
- activated?: ((() => void) | (() => void)[]) | undefined;
39
- deactivated?: ((() => void) | (() => void)[]) | undefined;
40
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
41
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
42
- destroyed?: ((() => void) | (() => void)[]) | undefined;
43
- unmounted?: ((() => void) | (() => void)[]) | undefined;
44
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
45
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
46
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
47
- };
48
- $forceUpdate: () => void;
49
- $nextTick: typeof import("vue").nextTick;
50
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
51
- } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
52
- src?: string | undefined;
53
- mime?: string | undefined;
54
- }>>> & {
55
- onNoSupport?: (() => any) | undefined;
56
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
57
- __isFragment?: undefined;
58
- __isTeleport?: undefined;
59
- __isSuspense?: undefined;
60
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
61
- src?: string | undefined;
62
- mime?: string | undefined;
63
- }>>> & {
64
- onNoSupport?: (() => any) | undefined;
65
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
66
- noSupport: () => void;
67
- }, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
68
- $slots: {
69
- noSupport: (_: {}) => any;
70
- imageError: (_: {}) => any;
71
- };
72
- });
73
- export default _default;
74
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
75
- declare type __VLS_TypePropsToRuntimeProps<T> = {
76
- [K in keyof T]-?: {} extends Pick<T, K> ? {
77
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
78
- } : {
79
- type: import('vue').PropType<T[K]>;
80
- required: true;
81
- };
82
- };
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ src?: string | undefined;
7
+ mime?: string | undefined;
8
+ }>>> & {
9
+ onNoSupport?: (() => any) | undefined;
10
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
11
+ $attrs: {
12
+ [x: string]: unknown;
13
+ };
14
+ $refs: {
15
+ [x: string]: unknown;
16
+ };
17
+ $slots: Readonly<{
18
+ [name: string]: import("vue").Slot | undefined;
19
+ }>;
20
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
21
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
22
+ $emit: (event: "noSupport") => void;
23
+ $el: any;
24
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
25
+ src?: string | undefined;
26
+ mime?: string | undefined;
27
+ }>>> & {
28
+ onNoSupport?: (() => any) | undefined;
29
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ noSupport: () => void;
31
+ }, string, {}> & {
32
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
33
+ created?: ((() => void) | (() => void)[]) | undefined;
34
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
35
+ mounted?: ((() => void) | (() => void)[]) | undefined;
36
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
37
+ updated?: ((() => void) | (() => void)[]) | undefined;
38
+ activated?: ((() => void) | (() => void)[]) | undefined;
39
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
40
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
41
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
42
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
43
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
44
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
45
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
46
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
47
+ };
48
+ $forceUpdate: () => void;
49
+ $nextTick: typeof import("vue").nextTick;
50
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
51
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
52
+ src?: string | undefined;
53
+ mime?: string | undefined;
54
+ }>>> & {
55
+ onNoSupport?: (() => any) | undefined;
56
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
57
+ __isFragment?: undefined;
58
+ __isTeleport?: undefined;
59
+ __isSuspense?: undefined;
60
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
61
+ src?: string | undefined;
62
+ mime?: string | undefined;
63
+ }>>> & {
64
+ onNoSupport?: (() => any) | undefined;
65
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
66
+ noSupport: () => void;
67
+ }, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
68
+ $slots: {
69
+ noSupport: (_: {}) => any;
70
+ imageError: (_: {}) => any;
71
+ };
72
+ });
73
+ export default _default;
74
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
75
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
76
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
77
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
78
+ } : {
79
+ type: import('vue').PropType<T[K]>;
80
+ required: true;
81
+ };
82
+ };
@@ -1,14 +1,14 @@
1
- import type { Ref } from "vue";
2
- export declare const cloudSupportList: string[];
3
- export declare const localSupportList: string[];
4
- export declare const localNoSupportList: string[];
5
- export declare function useLzcImage(url?: Ref<string | undefined>, mime?: Ref<string | undefined>): {
6
- imgSrc: Ref<string | undefined>;
7
- isError: Ref<boolean>;
8
- hasError: import("vue").ComputedRef<boolean>;
9
- isSupport: import("vue").ComputedRef<boolean>;
10
- handleError: () => void;
11
- };
12
- export declare function useImageDirective(): {
13
- vImageCancel: import("vue").ObjectDirective<HTMLImageElement, any>;
14
- };
1
+ import type { Ref } from "vue";
2
+ export declare const cloudSupportList: string[];
3
+ export declare const localSupportList: string[];
4
+ export declare const localNoSupportList: string[];
5
+ export declare function useLzcImage(url?: Ref<string | undefined>, mime?: Ref<string | undefined>): {
6
+ imgSrc: Ref<string | undefined>;
7
+ isError: Ref<boolean>;
8
+ hasError: import("vue").ComputedRef<boolean>;
9
+ isSupport: import("vue").ComputedRef<boolean>;
10
+ handleError: () => void;
11
+ };
12
+ export declare function useImageDirective(): {
13
+ vImageCancel: import("vue").ObjectDirective<HTMLImageElement, any>;
14
+ };
@@ -1,21 +1,21 @@
1
- export * from "./directive";
2
- export * from "./useVirtualList";
3
- export * from "./useSelectable";
4
- export * from "./useDragSelect";
5
- export * from "./dialog";
6
- export * from "./useDelayLoad";
7
- export * from "./loading/index";
8
- export * from "./useDelayAsync";
9
- export * from "./useScaleImage";
10
- export * from "./useDowndrag";
11
- export * from "./useRouterActivated";
12
- export * from "./useBackPress";
13
- export { ToastCreator } from "./toast/ToastCreator";
14
- export { LoadingToast } from "./loading-toast/index";
15
- export { default as SvgIcon } from "./svgIcon/SvgIcon.vue";
16
- export { default as ScrollBar } from "./scroll-bar";
17
- export { default as VirtualList } from "./useVirtualList/VirtualList.vue";
18
- export { default as Loading } from "./components/Loading.vue";
19
- export { default as PullRefresh } from "./useVirtualList/PullRefresh.vue";
20
- export { default as Image } from "./image/Image.vue";
21
- export { default as Thumbnail } from "./image/Thumbnail.vue";
1
+ export * from "./directive";
2
+ export * from "./useVirtualList";
3
+ export * from "./useSelectable";
4
+ export * from "./useDragSelect";
5
+ export * from "./dialog";
6
+ export * from "./useDelayLoad";
7
+ export * from "./loading/index";
8
+ export * from "./useDelayAsync";
9
+ export * from "./useScaleImage";
10
+ export * from "./useDowndrag";
11
+ export * from "./useRouterActivated";
12
+ export * from "./useBackPress";
13
+ export { ToastCreator } from "./toast/ToastCreator";
14
+ export { LoadingToast } from "./loading-toast/index";
15
+ export { default as SvgIcon } from "./svgIcon/SvgIcon.vue";
16
+ export { default as ScrollBar } from "./scroll-bar";
17
+ export { default as VirtualList } from "./useVirtualList/VirtualList.vue";
18
+ export { default as Loading } from "./components/Loading.vue";
19
+ export { default as PullRefresh } from "./useVirtualList/PullRefresh.vue";
20
+ export { default as Image } from "./image/Image.vue";
21
+ export { default as Thumbnail } from "./image/Thumbnail.vue";
@@ -1,31 +1,31 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- width?: number | undefined;
3
- height?: number | undefined;
4
- }>, {
5
- width: number;
6
- height: number;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
- width?: number | undefined;
9
- height?: number | undefined;
10
- }>, {
11
- width: number;
12
- height: number;
13
- }>>>, {
14
- width: number;
15
- height: number;
16
- }>;
17
- export default _default;
18
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
- declare type __VLS_TypePropsToRuntimeProps<T> = {
20
- [K in keyof T]-?: {} extends Pick<T, K> ? {
21
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
- } : {
23
- type: import('vue').PropType<T[K]>;
24
- required: true;
25
- };
26
- };
27
- declare type __VLS_WithDefaults<P, D> = {
28
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
29
- default: D[K];
30
- } : P[K];
31
- };
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ width?: number | undefined;
3
+ height?: number | undefined;
4
+ }>, {
5
+ width: number;
6
+ height: number;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ width?: number | undefined;
9
+ height?: number | undefined;
10
+ }>, {
11
+ width: number;
12
+ height: number;
13
+ }>>>, {
14
+ width: number;
15
+ height: number;
16
+ }>;
17
+ export default _default;
18
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
27
+ declare type __VLS_WithDefaults<P, D> = {
28
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
29
+ default: D[K];
30
+ } : P[K];
31
+ };