@solfacil/girassol 0.16.0 → 0.16.2
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/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/girassol.es.js +3683 -3645
- package/dist/girassol.umd.js +8 -8
- package/dist/style.css +1 -1
- 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 +10 -10
- package/dist/types/components/file-upload/FileUpload.vue.d.ts +10 -10
- package/dist/types/components/file-upload/Upload.vue.d.ts +10 -10
- package/dist/types/components/file-upload/types.d.ts +4 -4
- 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 +10 -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 +14 -14
- package/dist/types/components/informations/text-value/TextValue.vue.d.ts +10 -10
- package/dist/types/components/list/List.vue.d.ts +26 -11
- 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 +12 -10
- package/dist/types/components/loader/CircleLoader.vue.d.ts +10 -10
- package/dist/types/components/menus/menu/Menu.vue.d.ts +10 -10
- 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 +44 -11
- package/dist/types/components/search/types.d.ts +4 -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-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 +591 -487
- package/package.json +35 -35
- package/theme/solfacil/utilities.ts +5 -7
|
@@ -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;
|
|
@@ -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: "menu:preview", url: string) => void) & ((event: "menu:download", url: string) => void) & ((event: "menu:delete", url: string) => void);
|
|
28
28
|
$el: any;
|
|
29
29
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -41,7 +41,7 @@ declare const _default: {
|
|
|
41
41
|
"menu:download": (url: string) => void;
|
|
42
42
|
} & {
|
|
43
43
|
"menu:delete": (url: string) => void;
|
|
44
|
-
}, string, {}> & {
|
|
44
|
+
}, string, {}, {}, string> & {
|
|
45
45
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
46
46
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
47
47
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -56,11 +56,11 @@ declare const _default: {
|
|
|
56
56
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
57
57
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
58
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, {}
|
|
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
60
|
};
|
|
61
61
|
$forceUpdate: () => void;
|
|
62
62
|
$nextTick: typeof import("vue").nextTick;
|
|
63
|
-
$watch
|
|
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
64
|
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
65
65
|
id: Download['id'];
|
|
66
66
|
downloadSrc?: Download['downloadSrc'];
|
|
@@ -70,7 +70,7 @@ declare const _default: {
|
|
|
70
70
|
"onMenu:preview"?: ((url: string) => any) | undefined;
|
|
71
71
|
"onMenu:download"?: ((url: string) => any) | undefined;
|
|
72
72
|
"onMenu:delete"?: ((url: string) => any) | undefined;
|
|
73
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
73
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
74
74
|
__isFragment?: undefined;
|
|
75
75
|
__isTeleport?: undefined;
|
|
76
76
|
__isSuspense?: undefined;
|
|
@@ -89,10 +89,10 @@ declare const _default: {
|
|
|
89
89
|
"menu:download": (url: string) => void;
|
|
90
90
|
} & {
|
|
91
91
|
"menu:delete": (url: string) => void;
|
|
92
|
-
}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
92
|
+
}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
93
93
|
export default _default;
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
95
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
96
96
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
97
97
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
98
98
|
} : {
|
|
@@ -100,7 +100,7 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
100
100
|
required: true;
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
|
-
|
|
103
|
+
type __VLS_WithDefaults<P, D> = {
|
|
104
104
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
105
105
|
default: D[K];
|
|
106
106
|
} : P[K];
|
|
@@ -48,8 +48,8 @@ declare const _default: {
|
|
|
48
48
|
$slots: Readonly<{
|
|
49
49
|
[name: string]: import("vue").Slot | undefined;
|
|
50
50
|
}>;
|
|
51
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
52
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
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
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
54
|
$el: any;
|
|
55
55
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -95,7 +95,7 @@ declare const _default: {
|
|
|
95
95
|
loading: boolean;
|
|
96
96
|
multiple: boolean;
|
|
97
97
|
downloadMenu: FileUpload['downloadMenu'];
|
|
98
|
-
}> & {
|
|
98
|
+
}, {}, string> & {
|
|
99
99
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
100
100
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
101
101
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -110,11 +110,11 @@ declare const _default: {
|
|
|
110
110
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
111
111
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
112
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, {}
|
|
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
114
|
};
|
|
115
115
|
$forceUpdate: () => void;
|
|
116
116
|
$nextTick: typeof import("vue").nextTick;
|
|
117
|
-
$watch
|
|
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
118
|
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
119
119
|
id: FileUpload['id'];
|
|
120
120
|
label?: FileUpload['label'];
|
|
@@ -143,7 +143,7 @@ declare const _default: {
|
|
|
143
143
|
"onMenu:preview"?: ((url: string) => any) | undefined;
|
|
144
144
|
"onMenu:download"?: ((url: string) => any) | undefined;
|
|
145
145
|
"onMenu:delete"?: ((url: string) => any) | undefined;
|
|
146
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
146
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
147
147
|
__isFragment?: undefined;
|
|
148
148
|
__isTeleport?: undefined;
|
|
149
149
|
__isSuspense?: undefined;
|
|
@@ -190,10 +190,10 @@ declare const _default: {
|
|
|
190
190
|
loading: boolean;
|
|
191
191
|
multiple: boolean;
|
|
192
192
|
downloadMenu: FileUpload['downloadMenu'];
|
|
193
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
193
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
194
194
|
export default _default;
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
196
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
197
197
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
198
198
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
199
199
|
} : {
|
|
@@ -201,7 +201,7 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
201
201
|
required: true;
|
|
202
202
|
};
|
|
203
203
|
};
|
|
204
|
-
|
|
204
|
+
type __VLS_WithDefaults<P, D> = {
|
|
205
205
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
206
206
|
default: D[K];
|
|
207
207
|
} : P[K];
|
|
@@ -32,8 +32,8 @@ declare const _default: {
|
|
|
32
32
|
$slots: Readonly<{
|
|
33
33
|
[name: string]: import("vue").Slot | undefined;
|
|
34
34
|
}>;
|
|
35
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
36
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
35
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
36
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
37
37
|
$emit: (event: "update:modelValue", value: import("./types").FileUploadModel | undefined) => void;
|
|
38
38
|
$el: any;
|
|
39
39
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -57,7 +57,7 @@ declare const _default: {
|
|
|
57
57
|
}, string, {
|
|
58
58
|
loading: boolean;
|
|
59
59
|
multiple: boolean;
|
|
60
|
-
}> & {
|
|
60
|
+
}, {}, string> & {
|
|
61
61
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
62
62
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
63
63
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -72,11 +72,11 @@ declare const _default: {
|
|
|
72
72
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
73
73
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
74
74
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
75
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
75
|
+
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;
|
|
76
76
|
};
|
|
77
77
|
$forceUpdate: () => void;
|
|
78
78
|
$nextTick: typeof import("vue").nextTick;
|
|
79
|
-
$watch
|
|
79
|
+
$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;
|
|
80
80
|
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
81
81
|
id: Upload['id'];
|
|
82
82
|
modelValue?: Upload['modelValue'];
|
|
@@ -93,7 +93,7 @@ declare const _default: {
|
|
|
93
93
|
loading: boolean;
|
|
94
94
|
}>>> & {
|
|
95
95
|
"onUpdate:modelValue"?: ((value: import("./types").FileUploadModel | undefined) => any) | undefined;
|
|
96
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
96
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
97
97
|
__isFragment?: undefined;
|
|
98
98
|
__isTeleport?: undefined;
|
|
99
99
|
__isSuspense?: undefined;
|
|
@@ -118,10 +118,10 @@ declare const _default: {
|
|
|
118
118
|
}, string, {
|
|
119
119
|
loading: boolean;
|
|
120
120
|
multiple: boolean;
|
|
121
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
121
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
122
122
|
export default _default;
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
124
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
125
125
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
126
126
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
127
127
|
} : {
|
|
@@ -129,7 +129,7 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
129
129
|
required: true;
|
|
130
130
|
};
|
|
131
131
|
};
|
|
132
|
-
|
|
132
|
+
type __VLS_WithDefaults<P, D> = {
|
|
133
133
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
134
134
|
default: D[K];
|
|
135
135
|
} : P[K];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { FunctionalComponent, SVGAttributes } from "vue";
|
|
2
2
|
import type { ParentValidation, ValidateFieldReturn } from "../../composables/use-validate-field/types";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
3
|
+
export type FileUploadModel = File[] | null;
|
|
4
|
+
export type DownloadMenu = 'download' | 'preview' | 'delete';
|
|
5
|
+
export type ParentValidate = ParentValidation<FileUploadModel>;
|
|
6
|
+
export type ValidateReturn = ValidateFieldReturn<FileUploadModel>;
|
|
7
7
|
export interface Download {
|
|
8
8
|
id: string;
|
|
9
9
|
downloadSrc?: string;
|
|
@@ -27,8 +27,8 @@ declare const _default: {
|
|
|
27
27
|
$slots: Readonly<{
|
|
28
28
|
[name: string]: import("vue").Slot | undefined;
|
|
29
29
|
}>;
|
|
30
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
31
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
30
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
31
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
32
32
|
$emit: (event: "close") => void;
|
|
33
33
|
$el: any;
|
|
34
34
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -47,7 +47,7 @@ declare const _default: {
|
|
|
47
47
|
}, string, {
|
|
48
48
|
size: "small" | "medium";
|
|
49
49
|
variant: RemovableChip['variant'];
|
|
50
|
-
}> & {
|
|
50
|
+
}, {}, string> & {
|
|
51
51
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
52
52
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
53
53
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -62,11 +62,11 @@ declare const _default: {
|
|
|
62
62
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
63
63
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
64
64
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
65
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
65
|
+
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;
|
|
66
66
|
};
|
|
67
67
|
$forceUpdate: () => void;
|
|
68
68
|
$nextTick: typeof import("vue").nextTick;
|
|
69
|
-
$watch
|
|
69
|
+
$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;
|
|
70
70
|
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
71
71
|
id: RemovableChip['id'];
|
|
72
72
|
label?: RemovableChip['label'];
|
|
@@ -78,7 +78,7 @@ declare const _default: {
|
|
|
78
78
|
size: string;
|
|
79
79
|
}>>> & {
|
|
80
80
|
onClose?: (() => any) | undefined;
|
|
81
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
81
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
82
82
|
__isFragment?: undefined;
|
|
83
83
|
__isTeleport?: undefined;
|
|
84
84
|
__isSuspense?: undefined;
|
|
@@ -98,14 +98,14 @@ declare const _default: {
|
|
|
98
98
|
}, string, {
|
|
99
99
|
size: "small" | "medium";
|
|
100
100
|
variant: RemovableChip['variant'];
|
|
101
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
101
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
102
102
|
$slots: {
|
|
103
103
|
default: (_: {}) => any;
|
|
104
104
|
};
|
|
105
105
|
});
|
|
106
106
|
export default _default;
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
108
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
109
109
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
110
110
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
111
111
|
} : {
|
|
@@ -113,7 +113,7 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
113
113
|
required: true;
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
|
-
|
|
116
|
+
type __VLS_WithDefaults<P, D> = {
|
|
117
117
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
118
118
|
default: D[K];
|
|
119
119
|
} : P[K];
|