@solfacil/girassol 0.17.0-beta-tabs-slots.1 → 0.17.0

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 (34) hide show
  1. package/dist/components.d.ts +1 -0
  2. package/dist/components.json +1 -1
  3. package/dist/girassol.es.js +7410 -6835
  4. package/dist/girassol.umd.js +5 -5
  5. package/dist/style.css +1 -1
  6. package/dist/types/components/date-picker/DatePicker.vue.d.ts +18 -99
  7. package/dist/types/components/file-upload/Download.vue.d.ts +12 -82
  8. package/dist/types/components/file-upload/FileUpload.vue.d.ts +32 -157
  9. package/dist/types/components/file-upload/Upload.vue.d.ts +19 -103
  10. package/dist/types/components/forms/checkbox/checkbox/Checkbox.vue.d.ts +13 -81
  11. package/dist/types/components/forms/inputs/input-core/Input.vue.d.ts +15 -91
  12. package/dist/types/components/forms/inputs/input-password/InputPassword.vue.d.ts +23 -117
  13. package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +25 -121
  14. package/dist/types/components/forms/radio/radio/Radio.vue.d.ts +12 -78
  15. package/dist/types/components/forms/switch/Switch.vue.d.ts +21 -108
  16. package/dist/types/components/informations/text-value/TextValue.vue.d.ts +3 -3
  17. package/dist/types/components/list/ListItemTextValue.vue.d.ts +4 -4
  18. package/dist/types/components/loader/CircleLoader.vue.d.ts +10 -72
  19. package/dist/types/components/menus/menu/Menu.vue.d.ts +7 -7
  20. package/dist/types/components/{modal → modals/modal}/Modal.vue.d.ts +0 -0
  21. package/dist/types/components/{modal → modals/modal}/index.d.ts +0 -0
  22. package/dist/types/components/{modal → modals/modal}/modal.spec.d.ts +0 -0
  23. package/dist/types/components/{modal → modals/modal}/types.d.ts +0 -0
  24. package/dist/types/components/modals/onboarding/Onboarding.vue.d.ts +69 -0
  25. package/dist/types/components/modals/onboarding/Slider.vue.d.ts +31 -0
  26. package/dist/types/components/modals/onboarding/index.d.ts +2 -0
  27. package/dist/types/components/modals/onboarding/onboading.spec.d.ts +1 -0
  28. package/dist/types/components/modals/onboarding/types.d.ts +12 -0
  29. package/dist/types/components/pagination/Pagination.vue.d.ts +27 -148
  30. package/dist/types/components/search/Search.vue.d.ts +26 -137
  31. package/dist/types/components/steps/Steps.vue.d.ts +14 -84
  32. package/dist/types/components/tabs/Tabs.vue.d.ts +23 -114
  33. package/dist/types/index.d.ts +1037 -2461
  34. package/package.json +3 -3
@@ -1,97 +1,5 @@
1
1
  import type { DatePicker as DatePickerProps } from './types';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{
7
- label: string;
8
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
- id: DatePickerProps['id'];
10
- label?: DatePickerProps['label'];
11
- range?: DatePickerProps['range'];
12
- error?: DatePickerProps['error'];
13
- size?: DatePickerProps['size'];
14
- helperText?: DatePickerProps['helperText'];
15
- modelValue?: DatePickerProps['modelValue'];
16
- placeholder?: DatePickerProps['placeholder'];
17
- }>, {
18
- label: string;
19
- }>>> & {
20
- onChange?: ((value: string) => any) | undefined;
21
- "onUpdate:modelValue"?: ((value: import("./types").ModelValue | undefined) => any) | undefined;
22
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label">;
23
- $attrs: {
24
- [x: string]: unknown;
25
- };
26
- $refs: {
27
- [x: string]: unknown;
28
- };
29
- $slots: Readonly<{
30
- [name: string]: import("vue").Slot | undefined;
31
- }>;
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
- $emit: ((event: "update:modelValue", value: import("./types").ModelValue | undefined) => void) & ((event: "change", value: string) => void);
35
- $el: any;
36
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
37
- id: DatePickerProps['id'];
38
- label?: DatePickerProps['label'];
39
- range?: DatePickerProps['range'];
40
- error?: DatePickerProps['error'];
41
- size?: DatePickerProps['size'];
42
- helperText?: DatePickerProps['helperText'];
43
- modelValue?: DatePickerProps['modelValue'];
44
- placeholder?: DatePickerProps['placeholder'];
45
- }>, {
46
- label: string;
47
- }>>> & {
48
- onChange?: ((value: string) => any) | undefined;
49
- "onUpdate:modelValue"?: ((value: import("./types").ModelValue | undefined) => any) | undefined;
50
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
51
- "update:modelValue": (value: import("./types").ModelValue | undefined) => void;
52
- } & {
53
- change: (value: string) => void;
54
- }, string, {
55
- label: string;
56
- }, {}, string> & {
57
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
58
- created?: ((() => void) | (() => void)[]) | undefined;
59
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
60
- mounted?: ((() => void) | (() => void)[]) | undefined;
61
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
62
- updated?: ((() => void) | (() => void)[]) | undefined;
63
- activated?: ((() => void) | (() => void)[]) | undefined;
64
- deactivated?: ((() => void) | (() => void)[]) | undefined;
65
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
66
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
67
- destroyed?: ((() => void) | (() => void)[]) | undefined;
68
- unmounted?: ((() => void) | (() => void)[]) | undefined;
69
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
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, {}, {}, 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
- };
73
- $forceUpdate: () => void;
74
- $nextTick: typeof import("vue").nextTick;
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
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
77
- id: DatePickerProps['id'];
78
- label?: DatePickerProps['label'];
79
- range?: DatePickerProps['range'];
80
- error?: DatePickerProps['error'];
81
- size?: DatePickerProps['size'];
82
- helperText?: DatePickerProps['helperText'];
83
- modelValue?: DatePickerProps['modelValue'];
84
- placeholder?: DatePickerProps['placeholder'];
85
- }>, {
86
- label: string;
87
- }>>> & {
88
- onChange?: ((value: string) => any) | undefined;
89
- "onUpdate:modelValue"?: ((value: import("./types").ModelValue | undefined) => any) | undefined;
90
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
91
- __isFragment?: undefined;
92
- __isTeleport?: undefined;
93
- __isSuspense?: undefined;
94
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
95
3
  id: DatePickerProps['id'];
96
4
  label?: DatePickerProps['label'];
97
5
  range?: DatePickerProps['range'];
@@ -102,16 +10,27 @@ declare const _default: {
102
10
  placeholder?: DatePickerProps['placeholder'];
103
11
  }>, {
104
12
  label: string;
105
- }>>> & {
106
- onChange?: ((value: string) => any) | undefined;
107
- "onUpdate:modelValue"?: ((value: import("./types").ModelValue | undefined) => any) | undefined;
108
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
109
14
  "update:modelValue": (value: import("./types").ModelValue | undefined) => void;
110
15
  } & {
111
16
  change: (value: string) => void;
112
- }, string, {
17
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
18
+ id: DatePickerProps['id'];
19
+ label?: DatePickerProps['label'];
20
+ range?: DatePickerProps['range'];
21
+ error?: DatePickerProps['error'];
22
+ size?: DatePickerProps['size'];
23
+ helperText?: DatePickerProps['helperText'];
24
+ modelValue?: DatePickerProps['modelValue'];
25
+ placeholder?: DatePickerProps['placeholder'];
26
+ }>, {
27
+ label: string;
28
+ }>>> & {
29
+ onChange?: ((value: string) => any) | undefined;
30
+ "onUpdate:modelValue"?: ((value: import("./types").ModelValue | undefined) => any) | undefined;
31
+ }, {
113
32
  label: string;
114
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
33
+ }>;
115
34
  export default _default;
116
35
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
117
36
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,95 +1,25 @@
1
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<{
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
78
3
  id: Download['id'];
79
4
  downloadSrc?: Download['downloadSrc'];
80
5
  downloadMenu?: DownloadMenu[] | undefined;
81
6
  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, {
7
+ }>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
87
8
  "menu:preview": (url: string) => void;
88
9
  } & {
89
10
  "menu:download": (url: string) => void;
90
11
  } & {
91
12
  "menu:delete": (url: string) => void;
92
- }, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
13
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ id: Download['id'];
15
+ downloadSrc?: Download['downloadSrc'];
16
+ downloadMenu?: DownloadMenu[] | undefined;
17
+ fileIcon: Download['fileIcon'];
18
+ }>, {}>>> & {
19
+ "onMenu:preview"?: ((url: string) => any) | undefined;
20
+ "onMenu:download"?: ((url: string) => any) | undefined;
21
+ "onMenu:delete"?: ((url: string) => any) | undefined;
22
+ }, {}>;
93
23
  export default _default;
94
24
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
95
25
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,153 +1,5 @@
1
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<{
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
151
3
  id: FileUpload['id'];
152
4
  label?: FileUpload['label'];
153
5
  helperText?: FileUpload['helperText'];
@@ -170,12 +22,7 @@ declare const _default: {
170
22
  loading: boolean;
171
23
  error: null;
172
24
  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, {
25
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
179
26
  "update:modelValue": (value: import("./types").FileUploadModel | undefined) => void;
180
27
  } & {
181
28
  "menu:preview": (url: string) => void;
@@ -183,14 +30,42 @@ declare const _default: {
183
30
  "menu:download": (url: string) => void;
184
31
  } & {
185
32
  "menu:delete": (url: string) => void;
186
- }, string, {
33
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
34
+ id: FileUpload['id'];
35
+ label?: FileUpload['label'];
36
+ helperText?: FileUpload['helperText'];
37
+ error?: FileUpload['error'];
38
+ name: FileUpload['name'];
39
+ accept?: FileUpload['accept'];
40
+ multiple?: FileUpload['multiple'];
41
+ modelValue?: FileUpload['modelValue'];
42
+ placeholder?: FileUpload['placeholder'];
43
+ loading?: FileUpload['loading'];
44
+ downloadSrc?: FileUpload['downloadSrc'];
45
+ downloadMenu?: import("./types").DownloadMenu[] | undefined;
46
+ useField?: ParentValidate['useFieldParent'];
47
+ rules?: ParentValidate['rules'];
48
+ opts?: ParentValidate['opts'];
49
+ }>, {
50
+ downloadMenu: () => string[];
51
+ label: string;
52
+ multiple: boolean;
53
+ loading: boolean;
54
+ error: null;
55
+ placeholder: string;
56
+ }>>> & {
57
+ "onUpdate:modelValue"?: ((value: import("./types").FileUploadModel | undefined) => any) | undefined;
58
+ "onMenu:preview"?: ((url: string) => any) | undefined;
59
+ "onMenu:download"?: ((url: string) => any) | undefined;
60
+ "onMenu:delete"?: ((url: string) => any) | undefined;
61
+ }, {
187
62
  label: string;
188
63
  error: string | null;
189
64
  placeholder: string;
190
65
  loading: boolean;
191
66
  multiple: boolean;
192
67
  downloadMenu: FileUpload['downloadMenu'];
193
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
68
+ }>;
194
69
  export default _default;
195
70
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
196
71
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,103 +1,21 @@
1
1
  import type { Upload } from './types';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{
7
- loading: boolean;
8
- multiple: boolean;
9
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
- id: Upload['id'];
11
- modelValue?: Upload['modelValue'];
12
- name: Upload['name'];
13
- placeholder: Upload['placeholder'];
14
- multiple?: Upload['multiple'];
15
- accept?: Upload['accept'];
16
- loading?: Upload['loading'];
17
- fileIcon: Upload['fileIcon'];
18
- hasError: Upload['hasError'];
19
- }>, {
20
- error: null;
21
- multiple: boolean;
22
- loading: boolean;
23
- }>>> & {
24
- "onUpdate:modelValue"?: ((value: import("./types").FileUploadModel | undefined) => any) | undefined;
25
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "loading" | "multiple">;
26
- $attrs: {
27
- [x: string]: unknown;
28
- };
29
- $refs: {
30
- [x: string]: unknown;
31
- };
32
- $slots: Readonly<{
33
- [name: string]: import("vue").Slot | undefined;
34
- }>;
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
- $emit: (event: "update:modelValue", value: import("./types").FileUploadModel | undefined) => void;
38
- $el: any;
39
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
40
- id: Upload['id'];
41
- modelValue?: Upload['modelValue'];
42
- name: Upload['name'];
43
- placeholder: Upload['placeholder'];
44
- multiple?: Upload['multiple'];
45
- accept?: Upload['accept'];
46
- loading?: Upload['loading'];
47
- fileIcon: Upload['fileIcon'];
48
- hasError: Upload['hasError'];
49
- }>, {
50
- error: null;
51
- multiple: boolean;
52
- loading: boolean;
53
- }>>> & {
54
- "onUpdate:modelValue"?: ((value: import("./types").FileUploadModel | undefined) => any) | undefined;
55
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
- "update:modelValue": (value: import("./types").FileUploadModel | undefined) => void;
57
- }, string, {
58
- loading: boolean;
59
- multiple: boolean;
60
- }, {}, string> & {
61
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
62
- created?: ((() => void) | (() => void)[]) | undefined;
63
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
64
- mounted?: ((() => void) | (() => void)[]) | undefined;
65
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
66
- updated?: ((() => void) | (() => void)[]) | undefined;
67
- activated?: ((() => void) | (() => void)[]) | undefined;
68
- deactivated?: ((() => void) | (() => void)[]) | undefined;
69
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
70
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
71
- destroyed?: ((() => void) | (() => void)[]) | undefined;
72
- unmounted?: ((() => void) | (() => void)[]) | undefined;
73
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
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, {}, {}, 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
- };
77
- $forceUpdate: () => void;
78
- $nextTick: typeof import("vue").nextTick;
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
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
81
- id: Upload['id'];
82
- modelValue?: Upload['modelValue'];
83
- name: Upload['name'];
84
- placeholder: Upload['placeholder'];
85
- multiple?: Upload['multiple'];
86
- accept?: Upload['accept'];
87
- loading?: Upload['loading'];
88
- fileIcon: Upload['fileIcon'];
89
- hasError: Upload['hasError'];
90
- }>, {
91
- error: null;
92
- multiple: boolean;
93
- loading: boolean;
94
- }>>> & {
95
- "onUpdate:modelValue"?: ((value: import("./types").FileUploadModel | undefined) => 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<{
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ id: Upload['id'];
4
+ modelValue?: Upload['modelValue'];
5
+ name: Upload['name'];
6
+ placeholder: Upload['placeholder'];
7
+ multiple?: Upload['multiple'];
8
+ accept?: Upload['accept'];
9
+ loading?: Upload['loading'];
10
+ fileIcon: Upload['fileIcon'];
11
+ hasError: Upload['hasError'];
12
+ }>, {
13
+ error: null;
14
+ multiple: boolean;
15
+ loading: boolean;
16
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ "update:modelValue": (value: import("./types").FileUploadModel | undefined) => void;
18
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
101
19
  id: Upload['id'];
102
20
  modelValue?: Upload['modelValue'];
103
21
  name: Upload['name'];
@@ -113,12 +31,10 @@ declare const _default: {
113
31
  loading: boolean;
114
32
  }>>> & {
115
33
  "onUpdate:modelValue"?: ((value: import("./types").FileUploadModel | undefined) => any) | undefined;
116
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
117
- "update:modelValue": (value: import("./types").FileUploadModel | undefined) => void;
118
- }, string, {
34
+ }, {
119
35
  loading: boolean;
120
36
  multiple: boolean;
121
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
37
+ }>;
122
38
  export default _default;
123
39
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
124
40
  type __VLS_TypePropsToRuntimeProps<T> = {