@solfacil/girassol 0.15.0 → 0.16.1
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/README.md +2 -2
- package/cli/build/cli.js +1 -1
- package/cli/build/commands/create:component.js +1 -1
- package/cli/build/commands/generate:plugin.js +1 -1
- package/cli/build/commands/generate:types.js +1 -1
- package/cli/build/commands/girassol-cli.js +1 -1
- package/dist/components.d.ts +2 -0
- package/dist/components.json +1 -1
- package/dist/girassol.es.js +6957 -6454
- package/dist/girassol.umd.js +10 -10
- package/dist/style.css +1 -1
- package/dist/theme/solfacil/index.d.ts +1 -0
- package/dist/theme/solfacil/utilities.d.ts +1 -0
- package/dist/types/components/accordion/Accordion.vue.d.ts +10 -10
- package/dist/types/components/collapsible/Collapsible.vue.d.ts +10 -10
- package/dist/types/components/date-picker/DatePicker.vue.d.ts +10 -10
- package/dist/types/components/date-picker/types.d.ts +1 -1
- package/dist/types/components/empty-state/EmptyState.vue.d.ts +10 -10
- package/dist/types/components/empty-state/types.d.ts +1 -1
- package/dist/types/components/file-upload/Download.vue.d.ts +107 -0
- package/dist/types/components/file-upload/FileUpload.vue.d.ts +208 -0
- package/dist/types/components/file-upload/Upload.vue.d.ts +136 -0
- package/dist/types/components/file-upload/file-upload.spec.d.ts +1 -0
- package/dist/types/components/file-upload/index.d.ts +2 -0
- package/dist/types/components/file-upload/types.d.ts +34 -0
- package/dist/types/components/filters/chip/removable-chip/RemovableChip.vue.d.ts +10 -10
- package/dist/types/components/filters/chip/selectable-chip/SelectableChip.vue.d.ts +10 -10
- package/dist/types/components/forms/button/button/Button.vue.d.ts +12 -10
- package/dist/types/components/forms/button/button-destructive/ButtonDestructive.vue.d.ts +10 -10
- package/dist/types/components/forms/checkbox/checkbox/Checkbox.vue.d.ts +9 -9
- package/dist/types/components/forms/checkbox/checkbox-group/CheckboxGroup.vue.d.ts +10 -10
- package/dist/types/components/forms/checkbox/type.d.ts +1 -1
- package/dist/types/components/forms/inputs/input-core/Input.vue.d.ts +10 -10
- package/dist/types/components/forms/inputs/input-password/InputPassword.vue.d.ts +10 -10
- package/dist/types/components/forms/inputs/input-text/InputText.vue.d.ts +11 -11
- package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +10 -10
- package/dist/types/components/forms/inputs/types.d.ts +2 -2
- package/dist/types/components/forms/radio/radio/Radio.vue.d.ts +9 -9
- package/dist/types/components/forms/radio/radio-group/RadioGroup.vue.d.ts +10 -10
- package/dist/types/components/forms/radio/types.d.ts +1 -1
- package/dist/types/components/forms/select/ListOption.vue.d.ts +9 -9
- package/dist/types/components/forms/select/Select.vue.d.ts +10 -10
- package/dist/types/components/forms/select/types.d.ts +2 -2
- package/dist/types/components/forms/switch/Switch.vue.d.ts +10 -10
- package/dist/types/components/informations/alert/Alert.vue.d.ts +10 -10
- package/dist/types/components/informations/tag/Tag.vue.d.ts +18 -18
- package/dist/types/components/informations/text-value/TextValue.vue.d.ts +10 -10
- package/dist/types/components/list/List.vue.d.ts +14 -10
- package/dist/types/components/list/ListItem.vue.d.ts +9 -9
- package/dist/types/components/list/ListItemTextValue.vue.d.ts +10 -10
- package/dist/types/components/list/types.d.ts +11 -10
- package/dist/types/components/loader/CircleLoader.vue.d.ts +10 -10
- package/dist/types/components/menus/menu/Menu.vue.d.ts +17 -17
- package/dist/types/components/menus/menu-item/MenuItemSeparator.vue.d.ts +2 -0
- package/dist/types/components/menus/menu-item/index.d.ts +2 -0
- package/dist/types/components/menus/menu-item/menu-item/MenuItem.vue.d.ts +9 -9
- package/dist/types/components/menus/menu-item/menu-item-link/MenuItemLink.vue.d.ts +9 -9
- package/dist/types/components/menus/menu-navigation-links/MenuNavigationLinks.vue.d.ts +9 -9
- package/dist/types/components/modal/Modal.vue.d.ts +10 -10
- package/dist/types/components/modal/types.d.ts +3 -3
- package/dist/types/components/pagination/Pagination.vue.d.ts +10 -10
- package/dist/types/components/pagination/types.d.ts +2 -2
- package/dist/types/components/search/Search.vue.d.ts +10 -10
- package/dist/types/components/search/types.d.ts +1 -1
- package/dist/types/components/steps/Steps.vue.d.ts +10 -10
- package/dist/types/components/steps/types.d.ts +1 -1
- package/dist/types/components/tabs/TabItem.vue.d.ts +10 -10
- package/dist/types/components/tabs/Tabs.vue.d.ts +10 -10
- package/dist/types/components/tabs/types.d.ts +1 -1
- package/dist/types/composables/use-download/index.d.ts +3 -0
- package/dist/types/composables/use-mask/index.d.ts +1 -1
- package/dist/types/composables/use-navigate/types.d.ts +11 -11
- package/dist/types/composables/use-toast/Toast.vue.d.ts +10 -10
- package/dist/types/composables/use-toast/index.d.ts +1 -1
- package/dist/types/composables/use-toast/types.d.ts +3 -3
- package/dist/types/composables/use-validate-field/types.d.ts +2 -2
- package/dist/types/index.d.ts +845 -479
- package/package.json +35 -35
- package/theme/solfacil/index.ts +2 -1
- package/theme/solfacil/screens.ts +0 -6
- package/theme/solfacil/utilities.ts +27 -8
- package/windi.config.ts +1 -1
|
@@ -14,4 +14,5 @@ export declare const utilities: {
|
|
|
14
14
|
placeholder: import("windicss/types/interfaces").PluginOutput;
|
|
15
15
|
scrollbarBase: import("windicss/types/interfaces").PluginOutput;
|
|
16
16
|
iconSizes: import("windicss/types/interfaces").PluginOutput;
|
|
17
|
+
resetFillFields: import("windicss/types/interfaces").PluginOutput;
|
|
17
18
|
};
|
|
@@ -5,3 +5,4 @@ export declare const debug: import("windicss/types/interfaces").PluginOutput;
|
|
|
5
5
|
export declare const placeholder: import("windicss/types/interfaces").PluginOutput;
|
|
6
6
|
export declare const scrollbarBase: import("windicss/types/interfaces").PluginOutput;
|
|
7
7
|
export declare const iconSizes: import("windicss/types/interfaces").PluginOutput;
|
|
8
|
+
export declare const resetFillFields: import("windicss/types/interfaces").PluginOutput;
|
|
@@ -21,8 +21,8 @@ declare const _default: {
|
|
|
21
21
|
$slots: Readonly<{
|
|
22
22
|
[name: string]: import("vue").Slot | undefined;
|
|
23
23
|
}>;
|
|
24
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
25
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
24
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
25
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
26
26
|
$emit: (event: string, ...args: any[]) => void;
|
|
27
27
|
$el: any;
|
|
28
28
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -34,7 +34,7 @@ declare const _default: {
|
|
|
34
34
|
title: string;
|
|
35
35
|
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
36
36
|
title: string;
|
|
37
|
-
}> & {
|
|
37
|
+
}, {}, string> & {
|
|
38
38
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
39
39
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
40
40
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -49,11 +49,11 @@ declare const _default: {
|
|
|
49
49
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
50
50
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
51
51
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
52
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
52
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
53
53
|
};
|
|
54
54
|
$forceUpdate: () => void;
|
|
55
55
|
$nextTick: typeof import("vue").nextTick;
|
|
56
|
-
$watch
|
|
56
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
57
57
|
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
58
58
|
id: string;
|
|
59
59
|
title?: string | undefined;
|
|
@@ -61,7 +61,7 @@ declare const _default: {
|
|
|
61
61
|
disabled?: boolean | undefined;
|
|
62
62
|
}>, {
|
|
63
63
|
title: string;
|
|
64
|
-
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
64
|
+
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
65
65
|
__isFragment?: undefined;
|
|
66
66
|
__isTeleport?: undefined;
|
|
67
67
|
__isSuspense?: undefined;
|
|
@@ -74,7 +74,7 @@ declare const _default: {
|
|
|
74
74
|
title: string;
|
|
75
75
|
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
76
76
|
title: string;
|
|
77
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
77
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
78
78
|
$slots: {
|
|
79
79
|
icon: (_: {}) => any;
|
|
80
80
|
title: (_: {}) => any;
|
|
@@ -82,8 +82,8 @@ declare const _default: {
|
|
|
82
82
|
};
|
|
83
83
|
});
|
|
84
84
|
export default _default;
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
86
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
87
87
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
88
88
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
89
89
|
} : {
|
|
@@ -91,7 +91,7 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
91
91
|
required: true;
|
|
92
92
|
};
|
|
93
93
|
};
|
|
94
|
-
|
|
94
|
+
type __VLS_WithDefaults<P, D> = {
|
|
95
95
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
96
96
|
default: D[K];
|
|
97
97
|
} : P[K];
|
|
@@ -22,8 +22,8 @@ declare const _default: {
|
|
|
22
22
|
$slots: Readonly<{
|
|
23
23
|
[name: string]: import("vue").Slot | undefined;
|
|
24
24
|
}>;
|
|
25
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
26
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
25
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
26
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
27
27
|
$emit: (event: "isOpen", open: boolean) => void;
|
|
28
28
|
$el: any;
|
|
29
29
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -39,7 +39,7 @@ declare const _default: {
|
|
|
39
39
|
isOpen: (open: boolean) => void;
|
|
40
40
|
}, string, {
|
|
41
41
|
open: boolean;
|
|
42
|
-
}> & {
|
|
42
|
+
}, {}, string> & {
|
|
43
43
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
44
44
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
45
45
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -54,11 +54,11 @@ declare const _default: {
|
|
|
54
54
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
55
55
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
56
56
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
57
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
57
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
58
58
|
};
|
|
59
59
|
$forceUpdate: () => void;
|
|
60
60
|
$nextTick: typeof import("vue").nextTick;
|
|
61
|
-
$watch
|
|
61
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
62
62
|
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
63
63
|
id: Collapsible['id'];
|
|
64
64
|
open?: Collapsible['open'];
|
|
@@ -68,7 +68,7 @@ declare const _default: {
|
|
|
68
68
|
onIsOpen?: ((open: boolean) => any) | undefined;
|
|
69
69
|
} & import("vue").ShallowUnwrapRef<{
|
|
70
70
|
toggle: () => void;
|
|
71
|
-
}> & {} & import("vue").ComponentCustomProperties;
|
|
71
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
72
72
|
__isFragment?: undefined;
|
|
73
73
|
__isTeleport?: undefined;
|
|
74
74
|
__isSuspense?: undefined;
|
|
@@ -85,7 +85,7 @@ declare const _default: {
|
|
|
85
85
|
isOpen: (open: boolean) => void;
|
|
86
86
|
}, string, {
|
|
87
87
|
open: boolean;
|
|
88
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
88
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
89
89
|
$slots: {
|
|
90
90
|
header: (_: {
|
|
91
91
|
id: string;
|
|
@@ -98,8 +98,8 @@ declare const _default: {
|
|
|
98
98
|
};
|
|
99
99
|
});
|
|
100
100
|
export default _default;
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
102
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
103
103
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
104
104
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
105
105
|
} : {
|
|
@@ -107,7 +107,7 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
107
107
|
required: true;
|
|
108
108
|
};
|
|
109
109
|
};
|
|
110
|
-
|
|
110
|
+
type __VLS_WithDefaults<P, D> = {
|
|
111
111
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
112
112
|
default: D[K];
|
|
113
113
|
} : P[K];
|
|
@@ -29,8 +29,8 @@ declare const _default: {
|
|
|
29
29
|
$slots: Readonly<{
|
|
30
30
|
[name: string]: import("vue").Slot | undefined;
|
|
31
31
|
}>;
|
|
32
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
33
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
32
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
33
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
34
34
|
$emit: ((event: "update:modelValue", value: import("./types").ModelValue | undefined) => void) & ((event: "change", value: string) => void);
|
|
35
35
|
$el: any;
|
|
36
36
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -53,7 +53,7 @@ declare const _default: {
|
|
|
53
53
|
change: (value: string) => void;
|
|
54
54
|
}, string, {
|
|
55
55
|
label: string;
|
|
56
|
-
}> & {
|
|
56
|
+
}, {}, string> & {
|
|
57
57
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
58
58
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
59
59
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -68,11 +68,11 @@ declare const _default: {
|
|
|
68
68
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
69
69
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
70
70
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
71
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
71
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
72
72
|
};
|
|
73
73
|
$forceUpdate: () => void;
|
|
74
74
|
$nextTick: typeof import("vue").nextTick;
|
|
75
|
-
$watch
|
|
75
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
76
76
|
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
77
77
|
id: DatePickerProps['id'];
|
|
78
78
|
label?: DatePickerProps['label'];
|
|
@@ -87,7 +87,7 @@ declare const _default: {
|
|
|
87
87
|
}>>> & {
|
|
88
88
|
onChange?: ((value: string) => any) | undefined;
|
|
89
89
|
"onUpdate:modelValue"?: ((value: import("./types").ModelValue | undefined) => any) | undefined;
|
|
90
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
90
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
91
91
|
__isFragment?: undefined;
|
|
92
92
|
__isTeleport?: undefined;
|
|
93
93
|
__isSuspense?: undefined;
|
|
@@ -111,10 +111,10 @@ declare const _default: {
|
|
|
111
111
|
change: (value: string) => void;
|
|
112
112
|
}, string, {
|
|
113
113
|
label: string;
|
|
114
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
114
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
115
115
|
export default _default;
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
117
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
118
118
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
119
119
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
120
120
|
} : {
|
|
@@ -122,7 +122,7 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
122
122
|
required: true;
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
|
-
|
|
125
|
+
type __VLS_WithDefaults<P, D> = {
|
|
126
126
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
127
127
|
default: D[K];
|
|
128
128
|
} : P[K];
|
|
@@ -22,8 +22,8 @@ declare const _default: {
|
|
|
22
22
|
$slots: Readonly<{
|
|
23
23
|
[name: string]: import("vue").Slot | undefined;
|
|
24
24
|
}>;
|
|
25
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
26
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
25
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
26
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
27
27
|
$emit: (event: string, ...args: any[]) => void;
|
|
28
28
|
$el: any;
|
|
29
29
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -35,7 +35,7 @@ declare const _default: {
|
|
|
35
35
|
variant: string;
|
|
36
36
|
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
37
37
|
variant: EmptyState['variant'];
|
|
38
|
-
}> & {
|
|
38
|
+
}, {}, string> & {
|
|
39
39
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
40
40
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
41
41
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -50,11 +50,11 @@ declare const _default: {
|
|
|
50
50
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
51
51
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
52
52
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
53
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
53
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
54
54
|
};
|
|
55
55
|
$forceUpdate: () => void;
|
|
56
56
|
$nextTick: typeof import("vue").nextTick;
|
|
57
|
-
$watch
|
|
57
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
58
58
|
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
59
59
|
id: EmptyState['id'];
|
|
60
60
|
title: EmptyState['title'];
|
|
@@ -62,7 +62,7 @@ declare const _default: {
|
|
|
62
62
|
variant: EmptyState['variant'];
|
|
63
63
|
}>, {
|
|
64
64
|
variant: string;
|
|
65
|
-
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
65
|
+
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
66
66
|
__isFragment?: undefined;
|
|
67
67
|
__isTeleport?: undefined;
|
|
68
68
|
__isSuspense?: undefined;
|
|
@@ -75,14 +75,14 @@ declare const _default: {
|
|
|
75
75
|
variant: string;
|
|
76
76
|
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
77
77
|
variant: EmptyState['variant'];
|
|
78
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
78
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
79
79
|
$slots: {
|
|
80
80
|
action: (_: {}) => any;
|
|
81
81
|
};
|
|
82
82
|
});
|
|
83
83
|
export default _default;
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
85
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
86
86
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
87
87
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
88
88
|
} : {
|
|
@@ -90,7 +90,7 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
90
90
|
required: true;
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
|
-
|
|
93
|
+
type __VLS_WithDefaults<P, D> = {
|
|
94
94
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
95
95
|
default: D[K];
|
|
96
96
|
} : P[K];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Variant = 'add-file' | 'add-photo' | 'empty-folder' | 'empty-list' | 'list' | 'no-content' | 'search-list' | 'search' | 'payment-done' | 'period-payment' | 'error404';
|
|
2
2
|
export interface EmptyState {
|
|
3
3
|
id: string;
|
|
4
4
|
title: string;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type { Download, DownloadMenu } from './types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
id: Download['id'];
|
|
8
|
+
downloadSrc?: Download['downloadSrc'];
|
|
9
|
+
downloadMenu?: DownloadMenu[] | undefined;
|
|
10
|
+
fileIcon: Download['fileIcon'];
|
|
11
|
+
}>, {}>>> & {
|
|
12
|
+
"onMenu:preview"?: ((url: string) => any) | undefined;
|
|
13
|
+
"onMenu:download"?: ((url: string) => any) | undefined;
|
|
14
|
+
"onMenu:delete"?: ((url: string) => any) | undefined;
|
|
15
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
16
|
+
$attrs: {
|
|
17
|
+
[x: string]: unknown;
|
|
18
|
+
};
|
|
19
|
+
$refs: {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
$slots: Readonly<{
|
|
23
|
+
[name: string]: import("vue").Slot | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
26
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
27
|
+
$emit: ((event: "menu:preview", url: string) => void) & ((event: "menu:download", url: string) => void) & ((event: "menu:delete", url: string) => void);
|
|
28
|
+
$el: any;
|
|
29
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
30
|
+
id: Download['id'];
|
|
31
|
+
downloadSrc?: Download['downloadSrc'];
|
|
32
|
+
downloadMenu?: DownloadMenu[] | undefined;
|
|
33
|
+
fileIcon: Download['fileIcon'];
|
|
34
|
+
}>, {}>>> & {
|
|
35
|
+
"onMenu:preview"?: ((url: string) => any) | undefined;
|
|
36
|
+
"onMenu:download"?: ((url: string) => any) | undefined;
|
|
37
|
+
"onMenu:delete"?: ((url: string) => any) | undefined;
|
|
38
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
"menu:preview": (url: string) => void;
|
|
40
|
+
} & {
|
|
41
|
+
"menu:download": (url: string) => void;
|
|
42
|
+
} & {
|
|
43
|
+
"menu:delete": (url: string) => void;
|
|
44
|
+
}, string, {}, {}, string> & {
|
|
45
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
57
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
58
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
59
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
60
|
+
};
|
|
61
|
+
$forceUpdate: () => void;
|
|
62
|
+
$nextTick: typeof import("vue").nextTick;
|
|
63
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
64
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
65
|
+
id: Download['id'];
|
|
66
|
+
downloadSrc?: Download['downloadSrc'];
|
|
67
|
+
downloadMenu?: DownloadMenu[] | undefined;
|
|
68
|
+
fileIcon: Download['fileIcon'];
|
|
69
|
+
}>, {}>>> & {
|
|
70
|
+
"onMenu:preview"?: ((url: string) => any) | undefined;
|
|
71
|
+
"onMenu:download"?: ((url: string) => any) | undefined;
|
|
72
|
+
"onMenu:delete"?: ((url: string) => any) | undefined;
|
|
73
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
74
|
+
__isFragment?: undefined;
|
|
75
|
+
__isTeleport?: undefined;
|
|
76
|
+
__isSuspense?: undefined;
|
|
77
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
78
|
+
id: Download['id'];
|
|
79
|
+
downloadSrc?: Download['downloadSrc'];
|
|
80
|
+
downloadMenu?: DownloadMenu[] | undefined;
|
|
81
|
+
fileIcon: Download['fileIcon'];
|
|
82
|
+
}>, {}>>> & {
|
|
83
|
+
"onMenu:preview"?: ((url: string) => any) | undefined;
|
|
84
|
+
"onMenu:download"?: ((url: string) => any) | undefined;
|
|
85
|
+
"onMenu:delete"?: ((url: string) => any) | undefined;
|
|
86
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
87
|
+
"menu:preview": (url: string) => void;
|
|
88
|
+
} & {
|
|
89
|
+
"menu:download": (url: string) => void;
|
|
90
|
+
} & {
|
|
91
|
+
"menu:delete": (url: string) => void;
|
|
92
|
+
}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
93
|
+
export default _default;
|
|
94
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
95
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
96
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
97
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
98
|
+
} : {
|
|
99
|
+
type: import('vue').PropType<T[K]>;
|
|
100
|
+
required: true;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
type __VLS_WithDefaults<P, D> = {
|
|
104
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
105
|
+
default: D[K];
|
|
106
|
+
} : P[K];
|
|
107
|
+
};
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import type { FileUpload, ParentValidate } from './types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{
|
|
7
|
+
label: string;
|
|
8
|
+
error: string | null;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
multiple: boolean;
|
|
12
|
+
downloadMenu: FileUpload['downloadMenu'];
|
|
13
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
+
id: FileUpload['id'];
|
|
15
|
+
label?: FileUpload['label'];
|
|
16
|
+
helperText?: FileUpload['helperText'];
|
|
17
|
+
error?: FileUpload['error'];
|
|
18
|
+
name: FileUpload['name'];
|
|
19
|
+
accept?: FileUpload['accept'];
|
|
20
|
+
multiple?: FileUpload['multiple'];
|
|
21
|
+
modelValue?: FileUpload['modelValue'];
|
|
22
|
+
placeholder?: FileUpload['placeholder'];
|
|
23
|
+
loading?: FileUpload['loading'];
|
|
24
|
+
downloadSrc?: FileUpload['downloadSrc'];
|
|
25
|
+
downloadMenu?: import("./types").DownloadMenu[] | undefined;
|
|
26
|
+
useField?: ParentValidate['useFieldParent'];
|
|
27
|
+
rules?: ParentValidate['rules'];
|
|
28
|
+
opts?: ParentValidate['opts'];
|
|
29
|
+
}>, {
|
|
30
|
+
downloadMenu: () => string[];
|
|
31
|
+
label: string;
|
|
32
|
+
multiple: boolean;
|
|
33
|
+
loading: boolean;
|
|
34
|
+
error: null;
|
|
35
|
+
placeholder: string;
|
|
36
|
+
}>>> & {
|
|
37
|
+
"onUpdate:modelValue"?: ((value: import("./types").FileUploadModel | undefined) => any) | undefined;
|
|
38
|
+
"onMenu:preview"?: ((url: string) => any) | undefined;
|
|
39
|
+
"onMenu:download"?: ((url: string) => any) | undefined;
|
|
40
|
+
"onMenu:delete"?: ((url: string) => any) | undefined;
|
|
41
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "error" | "placeholder" | "loading" | "multiple" | "downloadMenu">;
|
|
42
|
+
$attrs: {
|
|
43
|
+
[x: string]: unknown;
|
|
44
|
+
};
|
|
45
|
+
$refs: {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
};
|
|
48
|
+
$slots: Readonly<{
|
|
49
|
+
[name: string]: import("vue").Slot | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
52
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
53
|
+
$emit: ((event: "update:modelValue", value: import("./types").FileUploadModel | undefined) => void) & ((event: "menu:preview", url: string) => void) & ((event: "menu:download", url: string) => void) & ((event: "menu:delete", url: string) => void);
|
|
54
|
+
$el: any;
|
|
55
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
56
|
+
id: FileUpload['id'];
|
|
57
|
+
label?: FileUpload['label'];
|
|
58
|
+
helperText?: FileUpload['helperText'];
|
|
59
|
+
error?: FileUpload['error'];
|
|
60
|
+
name: FileUpload['name'];
|
|
61
|
+
accept?: FileUpload['accept'];
|
|
62
|
+
multiple?: FileUpload['multiple'];
|
|
63
|
+
modelValue?: FileUpload['modelValue'];
|
|
64
|
+
placeholder?: FileUpload['placeholder'];
|
|
65
|
+
loading?: FileUpload['loading'];
|
|
66
|
+
downloadSrc?: FileUpload['downloadSrc'];
|
|
67
|
+
downloadMenu?: import("./types").DownloadMenu[] | undefined;
|
|
68
|
+
useField?: ParentValidate['useFieldParent'];
|
|
69
|
+
rules?: ParentValidate['rules'];
|
|
70
|
+
opts?: ParentValidate['opts'];
|
|
71
|
+
}>, {
|
|
72
|
+
downloadMenu: () => string[];
|
|
73
|
+
label: string;
|
|
74
|
+
multiple: boolean;
|
|
75
|
+
loading: boolean;
|
|
76
|
+
error: null;
|
|
77
|
+
placeholder: string;
|
|
78
|
+
}>>> & {
|
|
79
|
+
"onUpdate:modelValue"?: ((value: import("./types").FileUploadModel | undefined) => any) | undefined;
|
|
80
|
+
"onMenu:preview"?: ((url: string) => any) | undefined;
|
|
81
|
+
"onMenu:download"?: ((url: string) => any) | undefined;
|
|
82
|
+
"onMenu:delete"?: ((url: string) => any) | undefined;
|
|
83
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
84
|
+
"update:modelValue": (value: import("./types").FileUploadModel | undefined) => void;
|
|
85
|
+
} & {
|
|
86
|
+
"menu:preview": (url: string) => void;
|
|
87
|
+
} & {
|
|
88
|
+
"menu:download": (url: string) => void;
|
|
89
|
+
} & {
|
|
90
|
+
"menu:delete": (url: string) => void;
|
|
91
|
+
}, string, {
|
|
92
|
+
label: string;
|
|
93
|
+
error: string | null;
|
|
94
|
+
placeholder: string;
|
|
95
|
+
loading: boolean;
|
|
96
|
+
multiple: boolean;
|
|
97
|
+
downloadMenu: FileUpload['downloadMenu'];
|
|
98
|
+
}, {}, string> & {
|
|
99
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
100
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
101
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
102
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
103
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
104
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
105
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
106
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
107
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
108
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
109
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
110
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
111
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
112
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
113
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
114
|
+
};
|
|
115
|
+
$forceUpdate: () => void;
|
|
116
|
+
$nextTick: typeof import("vue").nextTick;
|
|
117
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
118
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
119
|
+
id: FileUpload['id'];
|
|
120
|
+
label?: FileUpload['label'];
|
|
121
|
+
helperText?: FileUpload['helperText'];
|
|
122
|
+
error?: FileUpload['error'];
|
|
123
|
+
name: FileUpload['name'];
|
|
124
|
+
accept?: FileUpload['accept'];
|
|
125
|
+
multiple?: FileUpload['multiple'];
|
|
126
|
+
modelValue?: FileUpload['modelValue'];
|
|
127
|
+
placeholder?: FileUpload['placeholder'];
|
|
128
|
+
loading?: FileUpload['loading'];
|
|
129
|
+
downloadSrc?: FileUpload['downloadSrc'];
|
|
130
|
+
downloadMenu?: import("./types").DownloadMenu[] | undefined;
|
|
131
|
+
useField?: ParentValidate['useFieldParent'];
|
|
132
|
+
rules?: ParentValidate['rules'];
|
|
133
|
+
opts?: ParentValidate['opts'];
|
|
134
|
+
}>, {
|
|
135
|
+
downloadMenu: () => string[];
|
|
136
|
+
label: string;
|
|
137
|
+
multiple: boolean;
|
|
138
|
+
loading: boolean;
|
|
139
|
+
error: null;
|
|
140
|
+
placeholder: string;
|
|
141
|
+
}>>> & {
|
|
142
|
+
"onUpdate:modelValue"?: ((value: import("./types").FileUploadModel | undefined) => any) | undefined;
|
|
143
|
+
"onMenu:preview"?: ((url: string) => any) | undefined;
|
|
144
|
+
"onMenu:download"?: ((url: string) => any) | undefined;
|
|
145
|
+
"onMenu:delete"?: ((url: string) => any) | undefined;
|
|
146
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
147
|
+
__isFragment?: undefined;
|
|
148
|
+
__isTeleport?: undefined;
|
|
149
|
+
__isSuspense?: undefined;
|
|
150
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
151
|
+
id: FileUpload['id'];
|
|
152
|
+
label?: FileUpload['label'];
|
|
153
|
+
helperText?: FileUpload['helperText'];
|
|
154
|
+
error?: FileUpload['error'];
|
|
155
|
+
name: FileUpload['name'];
|
|
156
|
+
accept?: FileUpload['accept'];
|
|
157
|
+
multiple?: FileUpload['multiple'];
|
|
158
|
+
modelValue?: FileUpload['modelValue'];
|
|
159
|
+
placeholder?: FileUpload['placeholder'];
|
|
160
|
+
loading?: FileUpload['loading'];
|
|
161
|
+
downloadSrc?: FileUpload['downloadSrc'];
|
|
162
|
+
downloadMenu?: import("./types").DownloadMenu[] | undefined;
|
|
163
|
+
useField?: ParentValidate['useFieldParent'];
|
|
164
|
+
rules?: ParentValidate['rules'];
|
|
165
|
+
opts?: ParentValidate['opts'];
|
|
166
|
+
}>, {
|
|
167
|
+
downloadMenu: () => string[];
|
|
168
|
+
label: string;
|
|
169
|
+
multiple: boolean;
|
|
170
|
+
loading: boolean;
|
|
171
|
+
error: null;
|
|
172
|
+
placeholder: string;
|
|
173
|
+
}>>> & {
|
|
174
|
+
"onUpdate:modelValue"?: ((value: import("./types").FileUploadModel | undefined) => any) | undefined;
|
|
175
|
+
"onMenu:preview"?: ((url: string) => any) | undefined;
|
|
176
|
+
"onMenu:download"?: ((url: string) => any) | undefined;
|
|
177
|
+
"onMenu:delete"?: ((url: string) => any) | undefined;
|
|
178
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
179
|
+
"update:modelValue": (value: import("./types").FileUploadModel | undefined) => void;
|
|
180
|
+
} & {
|
|
181
|
+
"menu:preview": (url: string) => void;
|
|
182
|
+
} & {
|
|
183
|
+
"menu:download": (url: string) => void;
|
|
184
|
+
} & {
|
|
185
|
+
"menu:delete": (url: string) => void;
|
|
186
|
+
}, string, {
|
|
187
|
+
label: string;
|
|
188
|
+
error: string | null;
|
|
189
|
+
placeholder: string;
|
|
190
|
+
loading: boolean;
|
|
191
|
+
multiple: boolean;
|
|
192
|
+
downloadMenu: FileUpload['downloadMenu'];
|
|
193
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
194
|
+
export default _default;
|
|
195
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
196
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
197
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
198
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
199
|
+
} : {
|
|
200
|
+
type: import('vue').PropType<T[K]>;
|
|
201
|
+
required: true;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
type __VLS_WithDefaults<P, D> = {
|
|
205
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
206
|
+
default: D[K];
|
|
207
|
+
} : P[K];
|
|
208
|
+
};
|