gavia-ui 0.9.1 → 0.10.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 (70) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/README.md +60 -10
  3. package/dist/components/WlAccordion.vue.d.ts +30 -5
  4. package/dist/components/WlAlert.vue.d.ts +30 -5
  5. package/dist/components/WlAutocomplete.vue.d.ts +45 -9
  6. package/dist/components/WlAvatar.vue.d.ts +23 -2
  7. package/dist/components/WlBadge.vue.d.ts +25 -2
  8. package/dist/components/WlBreadcrumbs.vue.d.ts +23 -2
  9. package/dist/components/WlButton.vue.d.ts +38 -5
  10. package/dist/components/WlButtonGroup.vue.d.ts +18 -1
  11. package/dist/components/WlCalendar.vue.d.ts +27 -8
  12. package/dist/components/WlCard.vue.d.ts +23 -2
  13. package/dist/components/WlCheckbox.vue.d.ts +30 -5
  14. package/dist/components/WlChip.vue.d.ts +29 -6
  15. package/dist/components/WlColorPicker.vue.d.ts +38 -5
  16. package/dist/components/WlCommandPalette.vue.d.ts +58 -16
  17. package/dist/components/WlConfirmDialog.vue.d.ts +23 -2
  18. package/dist/components/WlDatePicker.vue.d.ts +4 -2
  19. package/dist/components/WlDialog.vue.d.ts +41 -12
  20. package/dist/components/WlDivider.vue.d.ts +10 -1
  21. package/dist/components/WlDrawer.vue.d.ts +39 -10
  22. package/dist/components/WlEmpty.vue.d.ts +18 -1
  23. package/dist/components/WlField.vue.d.ts +23 -2
  24. package/dist/components/WlFilePicker.vue.d.ts +36 -9
  25. package/dist/components/WlFileUpload.vue.d.ts +36 -9
  26. package/dist/components/WlFilterBar.vue.d.ts +52 -13
  27. package/dist/components/WlIcon.vue.d.ts +23 -2
  28. package/dist/components/WlIconButton.vue.d.ts +34 -5
  29. package/dist/components/WlInput.vue.d.ts +34 -5
  30. package/dist/components/WlMenu.vue.d.ts +33 -10
  31. package/dist/components/WlMultiSelect.vue.d.ts +40 -9
  32. package/dist/components/WlNavItem.vue.d.ts +30 -5
  33. package/dist/components/WlNumberInput.vue.d.ts +42 -5
  34. package/dist/components/WlPageHeader.vue.d.ts +33 -2
  35. package/dist/components/WlPagination.vue.d.ts +32 -5
  36. package/dist/components/WlPasswordInput.vue.d.ts +34 -5
  37. package/dist/components/WlPill.vue.d.ts +23 -2
  38. package/dist/components/WlPopover.vue.d.ts +33 -10
  39. package/dist/components/WlProgress.vue.d.ts +29 -2
  40. package/dist/components/WlRadio.vue.d.ts +28 -5
  41. package/dist/components/WlSegmented.vue.d.ts +28 -5
  42. package/dist/components/WlSelect.vue.d.ts +36 -8
  43. package/dist/components/WlSidebar.vue.d.ts +50 -11
  44. package/dist/components/WlSkeleton.vue.d.ts +27 -2
  45. package/dist/components/WlSlider.vue.d.ts +32 -5
  46. package/dist/components/WlSpinner.vue.d.ts +27 -2
  47. package/dist/components/WlStatCard.vue.d.ts +24 -3
  48. package/dist/components/WlSteps.vue.d.ts +25 -2
  49. package/dist/components/WlSwitch.vue.d.ts +30 -5
  50. package/dist/components/WlTable.vue.d.ts +29 -2
  51. package/dist/components/WlTabs.vue.d.ts +26 -5
  52. package/dist/components/WlTag.vue.d.ts +30 -5
  53. package/dist/components/WlTextarea.vue.d.ts +32 -7
  54. package/dist/components/WlTimePicker.vue.d.ts +32 -7
  55. package/dist/components/WlToast.vue.d.ts +23 -2
  56. package/dist/composables/useNativeFilePicker.d.ts +1 -1
  57. package/dist/design-system/tokens.generated.d.ts +551 -8
  58. package/dist/design-tokens.json +704 -114
  59. package/dist/index.js +3562 -2993
  60. package/dist/types.d.ts +1 -1
  61. package/dist/utils/templateTeleport.vue.d.ts +1 -0
  62. package/dist/utils/templateTransition.vue.d.ts +1 -0
  63. package/dist/utils/useWlId.d.ts +2 -0
  64. package/package.json +4 -3
  65. package/styles/base.css +29 -24
  66. package/themes/gavia-dark.css +463 -0
  67. package/themes/gavia.css +3 -0
  68. package/themes/graphite.css +4 -1
  69. package/themes/newspaper.css +3 -0
  70. package/themes/white.css +4 -1
@@ -16,19 +16,44 @@ declare function __VLS_template(): {
16
16
  rootEl: any;
17
17
  };
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
- "update:modelValue": (value: boolean) => any;
21
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
20
+ disabled: boolean;
21
+ indeterminate: boolean;
22
+ invalid: boolean;
23
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ "update:modelValue": (value: boolean) => void;
25
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
26
+ disabled: boolean;
27
+ indeterminate: boolean;
28
+ invalid: boolean;
29
+ }>>> & {
22
30
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
23
- }>, {
31
+ }, {
24
32
  indeterminate: boolean;
25
33
  disabled: boolean;
26
34
  invalid: boolean;
27
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
35
+ }, {}>;
28
36
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
37
  export default _default;
38
+ type __VLS_WithDefaults<P, D> = {
39
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
40
+ default: D[K];
41
+ }> : P[K];
42
+ };
43
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
+ type __VLS_TypePropsToOption<T> = {
45
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
46
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
+ } : {
48
+ type: import('vue').PropType<T[K]>;
49
+ required: true;
50
+ };
51
+ };
30
52
  type __VLS_WithTemplateSlots<T, S> = T & {
31
53
  new (): {
32
54
  $slots: S;
33
55
  };
34
56
  };
57
+ type __VLS_PrettifyLocal<T> = {
58
+ [K in keyof T]: T[K];
59
+ } & {};
@@ -12,20 +12,43 @@ declare function __VLS_template(): {
12
12
  rootEl: HTMLButtonElement;
13
13
  };
14
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
- click: (event: MouseEvent) => any;
17
- "update:active": (value: boolean) => any;
18
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
16
+ active: boolean;
17
+ disabled: boolean;
18
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ click: (event: MouseEvent) => void;
20
+ "update:active": (value: boolean) => void;
21
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
22
+ active: boolean;
23
+ disabled: boolean;
24
+ }>>> & {
19
25
  onClick?: ((event: MouseEvent) => any) | undefined;
20
26
  "onUpdate:active"?: ((value: boolean) => any) | undefined;
21
- }>, {
27
+ }, {
22
28
  disabled: boolean;
23
29
  active: boolean;
24
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
30
+ }, {}>;
25
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
32
  export default _default;
33
+ type __VLS_WithDefaults<P, D> = {
34
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
35
+ default: D[K];
36
+ }> : P[K];
37
+ };
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
+ type __VLS_TypePropsToOption<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
41
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
+ } : {
43
+ type: import('vue').PropType<T[K]>;
44
+ required: true;
45
+ };
46
+ };
27
47
  type __VLS_WithTemplateSlots<T, S> = T & {
28
48
  new (): {
29
49
  $slots: S;
30
50
  };
31
51
  };
52
+ type __VLS_PrettifyLocal<T> = {
53
+ [K in keyof T]: T[K];
54
+ } & {};
@@ -11,11 +11,27 @@ type __VLS_Props = {
11
11
  paletteLabel?: string;
12
12
  inputLabel?: string;
13
13
  };
14
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
- "update:modelValue": (value: string) => any;
16
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
15
+ modelValue: string;
16
+ swatches: () => string[];
17
+ size: string;
18
+ disabled: boolean;
19
+ invalid: boolean;
20
+ paletteLabel: string;
21
+ inputLabel: string;
22
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
+ "update:modelValue": (value: string) => void;
24
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
25
+ modelValue: string;
26
+ swatches: () => string[];
27
+ size: string;
28
+ disabled: boolean;
29
+ invalid: boolean;
30
+ paletteLabel: string;
31
+ inputLabel: string;
32
+ }>>> & {
17
33
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
18
- }>, {
34
+ }, {
19
35
  size: WlColorPickerSize;
20
36
  disabled: boolean;
21
37
  invalid: boolean;
@@ -23,5 +39,22 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
23
39
  swatches: string[];
24
40
  paletteLabel: string;
25
41
  inputLabel: string;
26
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
42
+ }, {}>;
27
43
  export default _default;
44
+ type __VLS_WithDefaults<P, D> = {
45
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
46
+ default: D[K];
47
+ }> : P[K];
48
+ };
49
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
50
+ type __VLS_TypePropsToOption<T> = {
51
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
52
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
53
+ } : {
54
+ type: import('vue').PropType<T[K]>;
55
+ required: true;
56
+ };
57
+ };
58
+ type __VLS_PrettifyLocal<T> = {
59
+ [K in keyof T]: T[K];
60
+ } & {};
@@ -45,25 +45,53 @@ declare function __VLS_template(): {
45
45
  rootEl: any;
46
46
  };
47
47
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
48
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
48
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
49
+ groups: () => never[];
50
+ placeholder: string;
51
+ emptyText: string;
52
+ loadingText: string;
53
+ ariaLabel: string;
54
+ filter: boolean;
55
+ shortcut: boolean;
56
+ closeOnSelect: boolean;
57
+ loading: boolean;
58
+ disabled: boolean;
59
+ size: string;
60
+ density: string;
61
+ motion: undefined;
62
+ }>, {
49
63
  focus: () => void | undefined;
50
64
  open: () => void;
51
65
  close: () => void;
52
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
53
- search: (query: string) => any;
54
- select: (item: WlCommandPaletteItem, group: WlCommandPaletteGroup) => any;
55
- open: () => any;
56
- close: () => any;
57
- "update:visible": (value: boolean) => any;
58
- "update:query": (value: string) => any;
59
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
60
- onSearch?: ((query: string) => any) | undefined;
66
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
67
+ search: (query: string) => void;
68
+ select: (item: WlCommandPaletteItem, group: WlCommandPaletteGroup) => void;
69
+ open: () => void;
70
+ close: () => void;
71
+ "update:visible": (value: boolean) => void;
72
+ "update:query": (value: string) => void;
73
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
74
+ groups: () => never[];
75
+ placeholder: string;
76
+ emptyText: string;
77
+ loadingText: string;
78
+ ariaLabel: string;
79
+ filter: boolean;
80
+ shortcut: boolean;
81
+ closeOnSelect: boolean;
82
+ loading: boolean;
83
+ disabled: boolean;
84
+ size: string;
85
+ density: string;
86
+ motion: undefined;
87
+ }>>> & {
61
88
  onSelect?: ((item: WlCommandPaletteItem, group: WlCommandPaletteGroup) => any) | undefined;
62
- onOpen?: (() => any) | undefined;
63
89
  onClose?: (() => any) | undefined;
90
+ onSearch?: ((query: string) => any) | undefined;
91
+ onOpen?: (() => any) | undefined;
64
92
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
65
93
  "onUpdate:query"?: ((value: string) => any) | undefined;
66
- }>, {
94
+ }, {
67
95
  filter: boolean;
68
96
  size: WlSizeSm;
69
97
  disabled: boolean;
@@ -77,14 +105,28 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
77
105
  loadingText: string;
78
106
  shortcut: boolean;
79
107
  closeOnSelect: boolean;
80
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
81
- panelRef: HTMLDivElement;
82
- inputRef: HTMLInputElement;
83
- }, any>;
108
+ }, {}>;
84
109
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
85
110
  export default _default;
111
+ type __VLS_WithDefaults<P, D> = {
112
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
113
+ default: D[K];
114
+ }> : P[K];
115
+ };
116
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
117
+ type __VLS_TypePropsToOption<T> = {
118
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
119
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
120
+ } : {
121
+ type: import('vue').PropType<T[K]>;
122
+ required: true;
123
+ };
124
+ };
86
125
  type __VLS_WithTemplateSlots<T, S> = T & {
87
126
  new (): {
88
127
  $slots: S;
89
128
  };
90
129
  };
130
+ type __VLS_PrettifyLocal<T> = {
131
+ [K in keyof T]: T[K];
132
+ } & {};
@@ -3,7 +3,28 @@ type __VLS_Props = {
3
3
  motion?: boolean;
4
4
  pt?: Record<string, unknown>;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
7
+ motion: undefined;
8
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
9
+ motion: undefined;
10
+ }>>>, {
7
11
  motion: boolean;
8
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ }, {}>;
9
13
  export default _default;
14
+ type __VLS_WithDefaults<P, D> = {
15
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
16
+ default: D[K];
17
+ }> : P[K];
18
+ };
19
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
+ type __VLS_TypePropsToOption<T> = {
21
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
22
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
+ } : {
24
+ type: import('vue').PropType<T[K]>;
25
+ required: true;
26
+ };
27
+ };
28
+ type __VLS_PrettifyLocal<T> = {
29
+ [K in keyof T]: T[K];
30
+ } & {};
@@ -1,8 +1,10 @@
1
1
  import { WlDatePickerModel, WlDatePickerSelectionMode, WlSizeSm } from '../types';
2
2
  declare const _default: <Mode extends WlDatePickerSelectionMode = "single">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
- readonly "onUpdate:modelValue"?: ((value: WlDatePickerModel<NoInfer<Mode>>) => any) | undefined;
5
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
4
+ "onUpdate:modelValue"?: ((value: WlDatePickerModel<NoInfer<Mode>>) => any) | undefined;
5
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
6
+ "onUpdate:modelValue"?: ((value: WlDatePickerModel<NoInfer<Mode>>) => any) | undefined;
7
+ }, never>, "onUpdate:modelValue"> & ({
6
8
  modelValue?: WlDatePickerModel<NoInfer<Mode>>;
7
9
  } & {
8
10
  placeholder?: string;
@@ -27,30 +27,59 @@ declare function __VLS_template(): {
27
27
  rootEl: any;
28
28
  };
29
29
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
- open: () => any;
32
- close: () => any;
33
- "update:visible": (value: boolean) => any;
34
- afterLeave: () => any;
35
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
36
- onOpen?: (() => any) | undefined;
30
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
31
+ modal: boolean;
32
+ closable: boolean;
33
+ dismissable: boolean;
34
+ closeOnEscape: boolean;
35
+ blockScroll: boolean;
36
+ motion: undefined;
37
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
+ open: () => void;
39
+ close: () => void;
40
+ afterLeave: () => void;
41
+ "update:visible": (value: boolean) => void;
42
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
43
+ modal: boolean;
44
+ closable: boolean;
45
+ dismissable: boolean;
46
+ closeOnEscape: boolean;
47
+ blockScroll: boolean;
48
+ motion: undefined;
49
+ }>>> & {
37
50
  onClose?: (() => any) | undefined;
38
- "onUpdate:visible"?: ((value: boolean) => any) | undefined;
39
51
  onAfterLeave?: (() => any) | undefined;
40
- }>, {
52
+ onOpen?: (() => any) | undefined;
53
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
54
+ }, {
41
55
  closable: boolean;
42
56
  motion: boolean;
43
57
  modal: boolean;
44
58
  dismissable: boolean;
45
59
  closeOnEscape: boolean;
46
60
  blockScroll: boolean;
47
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
48
- dialog: HTMLElement;
49
- }, any>;
61
+ }, {}>;
50
62
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
51
63
  export default _default;
64
+ type __VLS_WithDefaults<P, D> = {
65
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
66
+ default: D[K];
67
+ }> : P[K];
68
+ };
69
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
70
+ type __VLS_TypePropsToOption<T> = {
71
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
72
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
73
+ } : {
74
+ type: import('vue').PropType<T[K]>;
75
+ required: true;
76
+ };
77
+ };
52
78
  type __VLS_WithTemplateSlots<T, S> = T & {
53
79
  new (): {
54
80
  $slots: S;
55
81
  };
56
82
  };
83
+ type __VLS_PrettifyLocal<T> = {
84
+ [K in keyof T]: T[K];
85
+ } & {};
@@ -10,9 +10,18 @@ declare function __VLS_template(): {
10
10
  rootEl: HTMLDivElement;
11
11
  };
12
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}, {}>;
14
14
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
15
  export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToOption<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
16
25
  type __VLS_WithTemplateSlots<T, S> = T & {
17
26
  new (): {
18
27
  $slots: S;
@@ -27,28 +27,57 @@ declare function __VLS_template(): {
27
27
  rootEl: any;
28
28
  };
29
29
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
- open: () => any;
32
- close: () => any;
33
- "update:visible": (value: boolean) => any;
34
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
35
- onOpen?: (() => any) | undefined;
30
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
31
+ position: string;
32
+ modal: boolean;
33
+ dismissable: boolean;
34
+ closeOnEscape: boolean;
35
+ blockScroll: boolean;
36
+ motion: undefined;
37
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
+ open: () => void;
39
+ close: () => void;
40
+ "update:visible": (value: boolean) => void;
41
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
42
+ position: string;
43
+ modal: boolean;
44
+ dismissable: boolean;
45
+ closeOnEscape: boolean;
46
+ blockScroll: boolean;
47
+ motion: undefined;
48
+ }>>> & {
36
49
  onClose?: (() => any) | undefined;
50
+ onOpen?: (() => any) | undefined;
37
51
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
38
- }>, {
52
+ }, {
39
53
  position: WlDrawerPosition;
40
54
  motion: boolean;
41
55
  modal: boolean;
42
56
  dismissable: boolean;
43
57
  closeOnEscape: boolean;
44
58
  blockScroll: boolean;
45
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
46
- drawer: HTMLElement;
47
- }, any>;
59
+ }, {}>;
48
60
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
49
61
  export default _default;
62
+ type __VLS_WithDefaults<P, D> = {
63
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
64
+ default: D[K];
65
+ }> : P[K];
66
+ };
67
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
68
+ type __VLS_TypePropsToOption<T> = {
69
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
70
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
71
+ } : {
72
+ type: import('vue').PropType<T[K]>;
73
+ required: true;
74
+ };
75
+ };
50
76
  type __VLS_WithTemplateSlots<T, S> = T & {
51
77
  new (): {
52
78
  $slots: S;
53
79
  };
54
80
  };
81
+ type __VLS_PrettifyLocal<T> = {
82
+ [K in keyof T]: T[K];
83
+ } & {};
@@ -15,11 +15,28 @@ declare function __VLS_template(): {
15
15
  rootEl: HTMLDivElement;
16
16
  };
17
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {}>>>, {}, {}>;
19
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
20
  export default _default;
21
+ type __VLS_WithDefaults<P, D> = {
22
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
23
+ default: D[K];
24
+ }> : P[K];
25
+ };
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ type __VLS_TypePropsToOption<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
21
35
  type __VLS_WithTemplateSlots<T, S> = T & {
22
36
  new (): {
23
37
  $slots: S;
24
38
  };
25
39
  };
40
+ type __VLS_PrettifyLocal<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
@@ -21,13 +21,34 @@ declare function __VLS_template(): {
21
21
  rootEl: HTMLDivElement;
22
22
  };
23
23
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
24
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
25
25
  required: boolean;
26
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
26
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
27
+ required: boolean;
28
+ }>>>, {
29
+ required: boolean;
30
+ }, {}>;
27
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
32
  export default _default;
33
+ type __VLS_WithDefaults<P, D> = {
34
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
35
+ default: D[K];
36
+ }> : P[K];
37
+ };
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
+ type __VLS_TypePropsToOption<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
41
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
+ } : {
43
+ type: import('vue').PropType<T[K]>;
44
+ required: true;
45
+ };
46
+ };
29
47
  type __VLS_WithTemplateSlots<T, S> = T & {
30
48
  new (): {
31
49
  $slots: S;
32
50
  };
33
51
  };
52
+ type __VLS_PrettifyLocal<T> = {
53
+ [K in keyof T]: T[K];
54
+ } & {};
@@ -27,28 +27,55 @@ declare function __VLS_template(): {
27
27
  rootEl: any;
28
28
  };
29
29
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
30
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
31
+ multiple: boolean;
32
+ disabled: boolean;
33
+ chooseLabel: string;
34
+ size: string;
35
+ density: string;
36
+ }>, {
31
37
  choose: () => void;
32
38
  clear: () => void;
33
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
- select: (files: File[]) => any;
35
- cancel: () => any;
36
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
39
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
+ select: (files: File[]) => void;
41
+ cancel: () => void;
42
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
43
+ multiple: boolean;
44
+ disabled: boolean;
45
+ chooseLabel: string;
46
+ size: string;
47
+ density: string;
48
+ }>>> & {
37
49
  onSelect?: ((files: File[]) => any) | undefined;
38
50
  onCancel?: (() => any) | undefined;
39
- }>, {
51
+ }, {
40
52
  size: WlSizeSm;
41
53
  disabled: boolean;
42
54
  multiple: boolean;
43
55
  density: WlDensity;
44
56
  chooseLabel: string;
45
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
46
- input: HTMLInputElement;
47
- }, any>;
57
+ }, {}>;
48
58
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
49
59
  export default _default;
60
+ type __VLS_WithDefaults<P, D> = {
61
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
62
+ default: D[K];
63
+ }> : P[K];
64
+ };
65
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
66
+ type __VLS_TypePropsToOption<T> = {
67
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
68
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
69
+ } : {
70
+ type: import('vue').PropType<T[K]>;
71
+ required: true;
72
+ };
73
+ };
50
74
  type __VLS_WithTemplateSlots<T, S> = T & {
51
75
  new (): {
52
76
  $slots: S;
53
77
  };
54
78
  };
79
+ type __VLS_PrettifyLocal<T> = {
80
+ [K in keyof T]: T[K];
81
+ } & {};
@@ -10,19 +10,46 @@ type __VLS_Props = {
10
10
  type __VLS_PublicProps = {
11
11
  modelValue?: File[];
12
12
  } & __VLS_Props;
13
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
- reject: (payload: WlFileReject) => any;
15
- "update:modelValue": (value: File[]) => any;
16
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
- onReject?: ((payload: WlFileReject) => any) | undefined;
13
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
14
+ accept: undefined;
15
+ multiple: boolean;
16
+ maxFiles: undefined;
17
+ maxSize: undefined;
18
+ disabled: boolean;
19
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ reject: (payload: WlFileReject) => void;
21
+ "update:modelValue": (value: File[]) => void;
22
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
23
+ accept: undefined;
24
+ multiple: boolean;
25
+ maxFiles: undefined;
26
+ maxSize: undefined;
27
+ disabled: boolean;
28
+ }>>> & {
18
29
  "onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
19
- }>, {
30
+ onReject?: ((payload: WlFileReject) => any) | undefined;
31
+ }, {
20
32
  accept: string;
21
33
  disabled: boolean;
22
34
  multiple: boolean;
23
35
  maxFiles: number;
24
36
  maxSize: number;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
26
- input: HTMLInputElement;
27
- }, HTMLDivElement>;
37
+ }, {}>;
28
38
  export default _default;
39
+ type __VLS_WithDefaults<P, D> = {
40
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
41
+ default: D[K];
42
+ }> : P[K];
43
+ };
44
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
+ type __VLS_TypePropsToOption<T> = {
46
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
47
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
+ } : {
49
+ type: import('vue').PropType<T[K]>;
50
+ required: true;
51
+ };
52
+ };
53
+ type __VLS_PrettifyLocal<T> = {
54
+ [K in keyof T]: T[K];
55
+ } & {};