@maltjoy/core-vue 6.4.0 → 6.5.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist/core-vue.js +3176 -2959
  2. package/dist/core-vue.umd.cjs +3 -3
  3. package/dist/style.css +1 -1
  4. package/package.json +1 -1
  5. package/dist/App.vue.d.ts +0 -2
  6. package/dist/components/JoyAdminBanner/VJoyAdminBanner.vue.d.ts +0 -7
  7. package/dist/components/JoyAvailability/JoyAvailability.types.d.ts +0 -1
  8. package/dist/components/JoyAvailability/VJoyAvailability.vue.d.ts +0 -10
  9. package/dist/components/JoyAvatar/JoyAvatar.types.d.ts +0 -5
  10. package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +0 -68
  11. package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +0 -27
  12. package/dist/components/JoyBadge/JoyBadge.types.d.ts +0 -2
  13. package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +0 -66
  14. package/dist/components/JoyBadgeLevel/JoyBadgeLevel.types.d.ts +0 -12
  15. package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +0 -49
  16. package/dist/components/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts +0 -32
  17. package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +0 -49
  18. package/dist/components/JoyButton/JoyButton.types.d.ts +0 -6
  19. package/dist/components/JoyButton/VJoyButton.vue.d.ts +0 -101
  20. package/dist/components/JoyButtonCard/JoyButtonCard.types.d.ts +0 -13
  21. package/dist/components/JoyButtonCard/VJoyButtonCard.vue.d.ts +0 -18
  22. package/dist/components/JoyCheckbox/JoyCheckbox.types.d.ts +0 -26
  23. package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +0 -36
  24. package/dist/components/JoyCheckboxCard/JoyCheckboxCard.types.d.ts +0 -7
  25. package/dist/components/JoyCheckboxCard/VJoyCheckboxCard.vue.d.ts +0 -35
  26. package/dist/components/JoyCheckboxGroup/VJoyCheckboxGroup.vue.d.ts +0 -67
  27. package/dist/components/JoyCollapse/VJoyCollapse.vue.d.ts +0 -215
  28. package/dist/components/JoyCollapseItem/JoyCollapseItem.types.d.ts +0 -5
  29. package/dist/components/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +0 -101
  30. package/dist/components/JoyCompanyAvatar/JoyCompanyAvatar.types.d.ts +0 -2
  31. package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +0 -39
  32. package/dist/components/JoyDialog/JoyDialog.types.d.ts +0 -2
  33. package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +0 -227
  34. package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +0 -563
  35. package/dist/components/JoyDot/VJoyDot.types.d.ts +0 -1
  36. package/dist/components/JoyDot/VJoyDot.vue.d.ts +0 -15
  37. package/dist/components/JoyDrawer/JoyDrawer.types.d.ts +0 -1
  38. package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +0 -192
  39. package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +0 -497
  40. package/dist/components/JoyDropdown/JoyDropdown.types.d.ts +0 -18
  41. package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +0 -220
  42. package/dist/components/JoyDropdownList/JoyDropdownList.types.d.ts +0 -2
  43. package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +0 -136
  44. package/dist/components/JoyDropzone/VJoyDropzone.vue.d.ts +0 -153
  45. package/dist/components/JoyDropzone/VJoyDropzoneFileItem.vue.d.ts +0 -84
  46. package/dist/components/JoyDropzone/VJoyDropzoneIcon.vue.d.ts +0 -26
  47. package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +0 -19
  48. package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +0 -43
  49. package/dist/components/JoyFloatingActionsBar/VJoyFloatingActionsBar.vue.d.ts +0 -30
  50. package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +0 -63
  51. package/dist/components/JoyFormFieldSkeleton/VJoyFormFieldSkeleton.vue.d.ts +0 -41
  52. package/dist/components/JoyFormGroup/VJoyFormGroup.vue.d.ts +0 -13
  53. package/dist/components/JoyFunnel/JoyFunnel.types.d.ts +0 -3
  54. package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +0 -71
  55. package/dist/components/JoyFunnelFooter/VJoyFunnelFooter.vue.d.ts +0 -13
  56. package/dist/components/JoyFunnelHeader/VJoyFunnelHeader.vue.d.ts +0 -13
  57. package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +0 -3
  58. package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +0 -76
  59. package/dist/components/JoyIcon/JoyIcon.types.d.ts +0 -5
  60. package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +0 -62
  61. package/dist/components/JoyIconButton/JoyIconButton.types.d.ts +0 -5
  62. package/dist/components/JoyIconButton/VJoyIconButton.vue.d.ts +0 -80
  63. package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +0 -44
  64. package/dist/components/JoyIndicators/JoyIndicators.types.d.ts +0 -1
  65. package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +0 -74
  66. package/dist/components/JoyInput/JoyInput.types.d.ts +0 -33
  67. package/dist/components/JoyInput/VJoyInput.vue.d.ts +0 -38
  68. package/dist/components/JoyInputDigit/JoyInputDigit.types.d.ts +0 -14
  69. package/dist/components/JoyInputDigit/VJoyInputDigit.vue.d.ts +0 -24
  70. package/dist/components/JoyInputNumber/VJoyInputNumber.vue.d.ts +0 -33
  71. package/dist/components/JoyInputPassword/VJoyInputPassword.vue.d.ts +0 -31
  72. package/dist/components/JoyLabel/JoyLabel.types.d.ts +0 -3
  73. package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +0 -57
  74. package/dist/components/JoyLink/JoyLink.types.d.ts +0 -2
  75. package/dist/components/JoyLink/VJoyLink.vue.d.ts +0 -41
  76. package/dist/components/JoyListItem/VJoyListItem.vue.d.ts +0 -21
  77. package/dist/components/JoyMenu/JoyMenu.types.d.ts +0 -13
  78. package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +0 -59
  79. package/dist/components/JoyMenuItem/JoyMenuItem.types.d.ts +0 -13
  80. package/dist/components/JoyMenuItem/VJoyMenuItem.vue.d.ts +0 -73
  81. package/dist/components/JoyPagination/PaginationIcon.vue.d.ts +0 -35
  82. package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +0 -84
  83. package/dist/components/JoyPanel/JoyPanel.types.d.ts +0 -4
  84. package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +0 -103
  85. package/dist/components/JoyPanelSection/VJoyPanelSection.vue.d.ts +0 -10
  86. package/dist/components/JoyPasswordRequirement/JoyPasswordRequirement.types.d.ts +0 -7
  87. package/dist/components/JoyPasswordRequirement/VJoyPasswordRequirement.vue.d.ts +0 -13
  88. package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +0 -174
  89. package/dist/components/JoyProductTour/JoyProductTour.types.d.ts +0 -38
  90. package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +0 -6
  91. package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +0 -21
  92. package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +0 -27
  93. package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +0 -167
  94. package/dist/components/JoyProgressBar/JoyProgressBar.types.d.ts +0 -2
  95. package/dist/components/JoyProgressBar/VJoyProgressBar.vue.d.ts +0 -67
  96. package/dist/components/JoyRadio/JoyRadio.types.d.ts +0 -1
  97. package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +0 -117
  98. package/dist/components/JoyRadioGroup/JoyRadioGroup.types.d.ts +0 -1
  99. package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +0 -33
  100. package/dist/components/JoyRatingStars/JoyRatingStars.types.d.ts +0 -2
  101. package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +0 -51
  102. package/dist/components/JoyScreenLoader/VJoyScreenLoader.types.d.ts +0 -1
  103. package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +0 -44
  104. package/dist/components/JoySelect/JoySelect.types.d.ts +0 -2
  105. package/dist/components/JoySelect/VJoySelect.vue.d.ts +0 -121
  106. package/dist/components/JoySelectableItem/VJoySelectableItem.types.d.ts +0 -8
  107. package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +0 -76
  108. package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +0 -93
  109. package/dist/components/JoySeparator/JoySeparator.types.d.ts +0 -3
  110. package/dist/components/JoySeparator/VJoySeparator.vue.d.ts +0 -24
  111. package/dist/components/JoySnackbar/JoySnackbar.types.d.ts +0 -19
  112. package/dist/components/JoySnackbar/VJoySnackbar.vue.d.ts +0 -104
  113. package/dist/components/JoySnackbar/VJoySnackbarService.d.ts +0 -25
  114. package/dist/components/JoySnackbar/index.d.ts +0 -1
  115. package/dist/components/JoySpinner/JoySpinner.types.d.ts +0 -1
  116. package/dist/components/JoySpinner/VJoySpinner.vue.d.ts +0 -12
  117. package/dist/components/JoyStep/TJoyStep.types.d.ts +0 -1
  118. package/dist/components/JoyStep/VJoyStep.vue.d.ts +0 -86
  119. package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +0 -171
  120. package/dist/components/JoyTab/TabButton.vue.d.ts +0 -79
  121. package/dist/components/JoyTab/VJoyTab.vue.d.ts +0 -81
  122. package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +0 -103
  123. package/dist/components/JoyTag/JoyTag.types.d.ts +0 -14
  124. package/dist/components/JoyTag/VJoyTag.vue.d.ts +0 -52
  125. package/dist/components/JoyTagsInput/JoyTagsInput.service.d.ts +0 -5
  126. package/dist/components/JoyTagsInput/JoyTagsInput.types.d.ts +0 -4
  127. package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +0 -124
  128. package/dist/components/JoyTagsList/JoyTagsList.types.d.ts +0 -4
  129. package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +0 -140
  130. package/dist/components/JoyTemplate/JoyTemplate.types.d.ts +0 -1
  131. package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +0 -92
  132. package/dist/components/JoyTemplate/_JoyTemplateShape/TemplateShape.vue.d.ts +0 -2
  133. package/dist/components/JoyText/JoyText.types.d.ts +0 -4
  134. package/dist/components/JoyText/VJoyText.vue.d.ts +0 -40
  135. package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +0 -155
  136. package/dist/components/JoyTitleBrand/VJoyTitleBrand.vue.d.ts +0 -19
  137. package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +0 -104
  138. package/dist/components/JoyTooltip/VJoyTooltip.vue.d.ts +0 -112
  139. package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +0 -71
  140. package/dist/components/JoyWalkthrough/VJoyWalkthrough.vue.d.ts +0 -39
  141. package/dist/components/JoyWalkthroughTrigger/VJoyWalkthroughTrigger.vue.d.ts +0 -9
  142. package/dist/components/JoyWrapper/JoyWrapper.types.d.ts +0 -5
  143. package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +0 -100
  144. package/dist/components/compat.d.ts +0 -1
  145. package/dist/components/component-metadata.d.ts +0 -22
  146. package/dist/components/components.d.ts +0 -8
  147. package/dist/components/components.types.d.ts +0 -42
  148. package/dist/components/index.d.ts +0 -84
  149. package/dist/composables/events.d.ts +0 -5
  150. package/dist/composables/helpers.d.ts +0 -9
  151. package/dist/composables/index.d.ts +0 -4
  152. package/dist/directives/index.d.ts +0 -1
  153. package/dist/directives/ripple.d.ts +0 -4
  154. package/dist/events/bus.d.ts +0 -3
  155. package/dist/events/index.d.ts +0 -1
  156. package/dist/helpers/index.d.ts +0 -15
  157. package/dist/joy-core-vue-manifest.json +0 -96
  158. package/dist/main.d.ts +0 -1
  159. package/dist/pages/FunnelAndStepper.vue.d.ts +0 -2
  160. package/dist/pages/FunnelMode.vue.d.ts +0 -2
  161. package/dist/pages/IndexPage.vue.d.ts +0 -2
  162. package/dist/stories/fixtures/index.d.ts +0 -1
  163. package/dist/types/index.d.ts +0 -27
@@ -1,220 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { TJoyDropdownDirections, TJoyDropdownOption } from './JoyDropdown.types';
3
- import { TJoyDropdownListSizes } from '../JoyDropdownList/JoyDropdownList.types';
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- /** DOM valid selector to give to Vue3 Teleport "to" property */
6
- appendTo: {
7
- type: PropType<string | import("vue").RendererElement | null | undefined>;
8
- default: string;
9
- };
10
- /**
11
- * Disable teleport for testing purpose mostly.
12
- */
13
- disableTeleport: {
14
- type: BooleanConstructor;
15
- default: boolean;
16
- };
17
- /** close the dropdown list when clicking on any item. Default to false */
18
- closeOnSelect: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- /** Dropdown vertical position according to the trigger */
23
- direction: {
24
- type: PropType<TJoyDropdownDirections>;
25
- default: string;
26
- };
27
- /** Dropdown horizontal justify according to the trigger */
28
- justify: {
29
- type: PropType<import("../../types/index.js").TPositions>;
30
- default: string;
31
- };
32
- /**
33
- * Use options to render a pre-designed list.
34
- *
35
- * ```
36
- * interface Option {id: string; value?: string; label: string; href?: string; disabled?:boolean; checked?:boolean}
37
- * ```
38
- */
39
- options: {
40
- type: PropType<TJoyDropdownOption[]>;
41
- default(): never[];
42
- };
43
- size: {
44
- type: PropType<TJoyDropdownListSizes>;
45
- default: string;
46
- };
47
- /** Use v-model */
48
- modelValue: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- /**
53
- * Space between the trigger and the list
54
- */
55
- dropdownGap: {
56
- type: StringConstructor;
57
- default: string;
58
- };
59
- /**
60
- * Max-width of the dropdown list
61
- */
62
- width: {
63
- type: StringConstructor;
64
- default: string;
65
- };
66
- /**
67
- * Max-height of the dropdown list
68
- */
69
- height: {
70
- type: StringConstructor;
71
- default: string;
72
- };
73
- /**
74
- * Display a reset CTA on top of the dropdown list. Useful when using a VJoyCheckboxGroup.
75
- * Please note that is does not automatically apply changes to you models, it simply fires a **dropdown:reset** custom event
76
- * */
77
- reset: {
78
- type: BooleanConstructor;
79
- default: boolean;
80
- };
81
- /** Label of the reset CTA. Depends on reset property activation */
82
- resetLabel: {
83
- type: StringConstructor;
84
- };
85
- }>, {
86
- showDropdownList: import("vue").Ref<boolean, boolean>;
87
- generatedId: string;
88
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
89
- "update:modelValue": (value: string | undefined) => any;
90
- "dropdown:open": () => any;
91
- "dropdown:hide": () => any;
92
- "dropdown:reset": () => any;
93
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
94
- /** DOM valid selector to give to Vue3 Teleport "to" property */
95
- appendTo: {
96
- type: PropType<string | import("vue").RendererElement | null | undefined>;
97
- default: string;
98
- };
99
- /**
100
- * Disable teleport for testing purpose mostly.
101
- */
102
- disableTeleport: {
103
- type: BooleanConstructor;
104
- default: boolean;
105
- };
106
- /** close the dropdown list when clicking on any item. Default to false */
107
- closeOnSelect: {
108
- type: BooleanConstructor;
109
- default: boolean;
110
- };
111
- /** Dropdown vertical position according to the trigger */
112
- direction: {
113
- type: PropType<TJoyDropdownDirections>;
114
- default: string;
115
- };
116
- /** Dropdown horizontal justify according to the trigger */
117
- justify: {
118
- type: PropType<import("../../types/index.js").TPositions>;
119
- default: string;
120
- };
121
- /**
122
- * Use options to render a pre-designed list.
123
- *
124
- * ```
125
- * interface Option {id: string; value?: string; label: string; href?: string; disabled?:boolean; checked?:boolean}
126
- * ```
127
- */
128
- options: {
129
- type: PropType<TJoyDropdownOption[]>;
130
- default(): never[];
131
- };
132
- size: {
133
- type: PropType<TJoyDropdownListSizes>;
134
- default: string;
135
- };
136
- /** Use v-model */
137
- modelValue: {
138
- type: StringConstructor;
139
- default: string;
140
- };
141
- /**
142
- * Space between the trigger and the list
143
- */
144
- dropdownGap: {
145
- type: StringConstructor;
146
- default: string;
147
- };
148
- /**
149
- * Max-width of the dropdown list
150
- */
151
- width: {
152
- type: StringConstructor;
153
- default: string;
154
- };
155
- /**
156
- * Max-height of the dropdown list
157
- */
158
- height: {
159
- type: StringConstructor;
160
- default: string;
161
- };
162
- /**
163
- * Display a reset CTA on top of the dropdown list. Useful when using a VJoyCheckboxGroup.
164
- * Please note that is does not automatically apply changes to you models, it simply fires a **dropdown:reset** custom event
165
- * */
166
- reset: {
167
- type: BooleanConstructor;
168
- default: boolean;
169
- };
170
- /** Label of the reset CTA. Depends on reset property activation */
171
- resetLabel: {
172
- type: StringConstructor;
173
- };
174
- }>> & Readonly<{
175
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
176
- "onDropdown:open"?: (() => any) | undefined;
177
- "onDropdown:hide"?: (() => any) | undefined;
178
- "onDropdown:reset"?: (() => any) | undefined;
179
- }>, {
180
- reset: boolean;
181
- size: TJoyDropdownListSizes;
182
- appendTo: string | import("vue").RendererElement | null | undefined;
183
- width: string;
184
- height: string;
185
- justify: import("../../types/index.js").TPositions;
186
- direction: TJoyDropdownDirections;
187
- options: TJoyDropdownOption[];
188
- modelValue: string;
189
- disableTeleport: boolean;
190
- closeOnSelect: boolean;
191
- dropdownGap: string;
192
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
193
- /** The trigger required to display the dropdown list. Can be anything as soon as it's focusable. */
194
- 'dropdown-button': () => any;
195
- /** Header that will be injected in the VJoyDropdownList */
196
- 'dropdown-header'?: (() => any) | undefined;
197
- /** Free slot in order to render any kind of component. Can be handy to use it with VJoyCheckboxGroup for instance. */
198
- 'dropdown-items'?: (() => any) | undefined;
199
- /** Use it to customize the innerHTML of the li item. See https://vuejs.org/guide/components/slots.html#scoped-slots */
200
- 'dropdown-item'?: ((option: TJoyDropdownOption) => any) | undefined;
201
- /** Footer that will be injected in the VJoyDropdownList */
202
- 'dropdown-footer'?: (() => any) | undefined;
203
- }> & {
204
- /** The trigger required to display the dropdown list. Can be anything as soon as it's focusable. */
205
- 'dropdown-button': () => any;
206
- /** Header that will be injected in the VJoyDropdownList */
207
- 'dropdown-header'?: (() => any) | undefined;
208
- /** Free slot in order to render any kind of component. Can be handy to use it with VJoyCheckboxGroup for instance. */
209
- 'dropdown-items'?: (() => any) | undefined;
210
- /** Use it to customize the innerHTML of the li item. See https://vuejs.org/guide/components/slots.html#scoped-slots */
211
- 'dropdown-item'?: ((option: TJoyDropdownOption) => any) | undefined;
212
- /** Footer that will be injected in the VJoyDropdownList */
213
- 'dropdown-footer'?: (() => any) | undefined;
214
- }>;
215
- export default _default;
216
- type __VLS_WithTemplateSlots<T, S> = T & {
217
- new (): {
218
- $slots: S;
219
- };
220
- };
@@ -1,2 +0,0 @@
1
- import { TSizes } from '../../types';
2
- export type TJoyDropdownListSizes = Extract<TSizes, 'xsmall' | 'small' | 'medium'>;
@@ -1,136 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { TJoyDropdownListSizes } from './JoyDropdownList.types';
3
- export interface Option {
4
- id: string;
5
- value?: string;
6
- label: string;
7
- href?: string;
8
- /**
9
- * @default false
10
- */
11
- disabled?: boolean;
12
- /**
13
- * @default false
14
- */
15
- checked?: boolean;
16
- [k: string]: any;
17
- }
18
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
19
- /**
20
- * You need to pass an unique ID for each option. You can also pass a value if you want to customize the value of the v-model.
21
- */
22
- options: {
23
- type: PropType<Option[]>;
24
- default(): never[];
25
- };
26
- /** Customize the actual size of each items. */
27
- size: {
28
- type: PropType<TJoyDropdownListSizes>;
29
- default: string;
30
- };
31
- modelValue: {
32
- type: StringConstructor;
33
- };
34
- width: {
35
- type: StringConstructor;
36
- default: string;
37
- };
38
- height: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- reset: {
43
- type: BooleanConstructor;
44
- default: boolean;
45
- };
46
- resetLabel: {
47
- type: StringConstructor;
48
- };
49
- ariaLabelledBy: {
50
- type: StringConstructor;
51
- };
52
- ariaLabel: {
53
- type: StringConstructor;
54
- };
55
- }>, {
56
- isSelected: import("vue").ComputedRef<(option: Option) => boolean>;
57
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
58
- reset: () => any;
59
- "update:modelValue": (value: string | undefined) => any;
60
- "close:dropdownList": () => any;
61
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
62
- /**
63
- * You need to pass an unique ID for each option. You can also pass a value if you want to customize the value of the v-model.
64
- */
65
- options: {
66
- type: PropType<Option[]>;
67
- default(): never[];
68
- };
69
- /** Customize the actual size of each items. */
70
- size: {
71
- type: PropType<TJoyDropdownListSizes>;
72
- default: string;
73
- };
74
- modelValue: {
75
- type: StringConstructor;
76
- };
77
- width: {
78
- type: StringConstructor;
79
- default: string;
80
- };
81
- height: {
82
- type: StringConstructor;
83
- default: string;
84
- };
85
- reset: {
86
- type: BooleanConstructor;
87
- default: boolean;
88
- };
89
- resetLabel: {
90
- type: StringConstructor;
91
- };
92
- ariaLabelledBy: {
93
- type: StringConstructor;
94
- };
95
- ariaLabel: {
96
- type: StringConstructor;
97
- };
98
- }>> & Readonly<{
99
- onReset?: (() => any) | undefined;
100
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
101
- "onClose:dropdownList"?: (() => any) | undefined;
102
- }>, {
103
- reset: boolean;
104
- size: TJoyDropdownListSizes;
105
- width: string;
106
- height: string;
107
- options: Option[];
108
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
109
- /** Use it to customize the innerHTML of the <li> item. See https://vuejs.org/guide/components/slots.html#scoped-slots */
110
- label?: ((option: Option) => any) | undefined;
111
- /** Header that will be injected in the VJoyDropdownList */
112
- 'dropdown-list-header'?: (() => any) | undefined;
113
- /** Free slot in order to render any kind of component. Can be handy to use it with VJoyCheckboxGroup for instance. */
114
- 'dropdown-list-items'?: (() => any) | undefined;
115
- /** Use it to customize the innerHTML of the li item. See https://vuejs.org/guide/components/slots.html#scoped-slots */
116
- 'dropdown-list-item'?: ((option: Option) => any) | undefined;
117
- /** Footer that will be injected in the VJoyDropdownList */
118
- 'dropdown-list-footer'?: (() => any) | undefined;
119
- }> & {
120
- /** Use it to customize the innerHTML of the <li> item. See https://vuejs.org/guide/components/slots.html#scoped-slots */
121
- label?: ((option: Option) => any) | undefined;
122
- /** Header that will be injected in the VJoyDropdownList */
123
- 'dropdown-list-header'?: (() => any) | undefined;
124
- /** Free slot in order to render any kind of component. Can be handy to use it with VJoyCheckboxGroup for instance. */
125
- 'dropdown-list-items'?: (() => any) | undefined;
126
- /** Use it to customize the innerHTML of the li item. See https://vuejs.org/guide/components/slots.html#scoped-slots */
127
- 'dropdown-list-item'?: ((option: Option) => any) | undefined;
128
- /** Footer that will be injected in the VJoyDropdownList */
129
- 'dropdown-list-footer'?: (() => any) | undefined;
130
- }>;
131
- export default _default;
132
- type __VLS_WithTemplateSlots<T, S> = T & {
133
- new (): {
134
- $slots: S;
135
- };
136
- };
@@ -1,153 +0,0 @@
1
- declare const _default: <T extends {
2
- name: string;
3
- }>(__VLS_props: {
4
- readonly "onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
5
- modelValue: (File | T)[];
6
- name: string;
7
- label?: string | undefined;
8
- multiple?: boolean | undefined;
9
- accept?: string[] | undefined;
10
- maxSize?: number | undefined;
11
- deleteLabel?: string | undefined;
12
- updateLabel?: string | undefined;
13
- errorTextFormat?: string | undefined;
14
- errorTextMaxSize?: string | undefined;
15
- errorTextFormatAndMaxSize?: string | undefined;
16
- canDelete?: boolean | undefined;
17
- disabled?: boolean | undefined;
18
- invalid?: boolean | undefined;
19
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
20
- slots: Readonly<{
21
- /** Legend displayed at the bottom of the dropzone */
22
- 'dropzone-legend'?: (() => any) | undefined;
23
- /** Block description of the dropzone */
24
- 'dropzone-description'?: (() => any) | undefined;
25
- /** Block subtitle of the dropzone */
26
- 'dropzone-subtitle'?: (() => any) | undefined;
27
- /** Add information under the file name */
28
- 'file-information'?: (() => any) | undefined;
29
- /** Add file actions next to the update button */
30
- 'file-actions'?: (() => any) | undefined;
31
- }> & {
32
- /** Legend displayed at the bottom of the dropzone */
33
- 'dropzone-legend'?: (() => any) | undefined;
34
- /** Block description of the dropzone */
35
- 'dropzone-description'?: (() => any) | undefined;
36
- /** Block subtitle of the dropzone */
37
- 'dropzone-subtitle'?: (() => any) | undefined;
38
- /** Add information under the file name */
39
- 'file-information'?: (() => any) | undefined;
40
- /** Add file actions next to the update button */
41
- 'file-actions'?: (() => any) | undefined;
42
- };
43
- attrs: any;
44
- emit: {
45
- 'update:modelValue': [modelValue: (File | T)[]];
46
- };
47
- } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
48
- invalid: import("vue").Ref<boolean, boolean>;
49
- }>) => void) | undefined, __VLS_setup?: Promise<{
50
- props: {
51
- readonly "onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
52
- modelValue: (File | T)[];
53
- name: string;
54
- label?: string | undefined;
55
- multiple?: boolean | undefined;
56
- accept?: string[] | undefined;
57
- maxSize?: number | undefined;
58
- deleteLabel?: string | undefined;
59
- updateLabel?: string | undefined;
60
- errorTextFormat?: string | undefined;
61
- errorTextMaxSize?: string | undefined;
62
- errorTextFormatAndMaxSize?: string | undefined;
63
- canDelete?: boolean | undefined;
64
- disabled?: boolean | undefined;
65
- invalid?: boolean | undefined;
66
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
67
- expose(exposed: import("vue").ShallowUnwrapRef<{
68
- invalid: import("vue").Ref<boolean, boolean>;
69
- }>): void;
70
- attrs: any;
71
- slots: Readonly<{
72
- /** Legend displayed at the bottom of the dropzone */
73
- 'dropzone-legend'?: (() => any) | undefined;
74
- /** Block description of the dropzone */
75
- 'dropzone-description'?: (() => any) | undefined;
76
- /** Block subtitle of the dropzone */
77
- 'dropzone-subtitle'?: (() => any) | undefined;
78
- /** Add information under the file name */
79
- 'file-information'?: (() => any) | undefined;
80
- /** Add file actions next to the update button */
81
- 'file-actions'?: (() => any) | undefined;
82
- }> & {
83
- /** Legend displayed at the bottom of the dropzone */
84
- 'dropzone-legend'?: (() => any) | undefined;
85
- /** Block description of the dropzone */
86
- 'dropzone-description'?: (() => any) | undefined;
87
- /** Block subtitle of the dropzone */
88
- 'dropzone-subtitle'?: (() => any) | undefined;
89
- /** Add information under the file name */
90
- 'file-information'?: (() => any) | undefined;
91
- /** Add file actions next to the update button */
92
- 'file-actions'?: (() => any) | undefined;
93
- };
94
- emit: {
95
- 'update:modelValue': [modelValue: (File | T)[]];
96
- };
97
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
98
- [key: string]: any;
99
- }> & {
100
- __ctx?: {
101
- props: {
102
- readonly "onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
103
- modelValue: (File | T)[];
104
- name: string;
105
- label?: string | undefined;
106
- multiple?: boolean | undefined;
107
- accept?: string[] | undefined;
108
- maxSize?: number | undefined;
109
- deleteLabel?: string | undefined;
110
- updateLabel?: string | undefined;
111
- errorTextFormat?: string | undefined;
112
- errorTextMaxSize?: string | undefined;
113
- errorTextFormatAndMaxSize?: string | undefined;
114
- canDelete?: boolean | undefined;
115
- disabled?: boolean | undefined;
116
- invalid?: boolean | undefined;
117
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
118
- expose(exposed: import("vue").ShallowUnwrapRef<{
119
- invalid: import("vue").Ref<boolean, boolean>;
120
- }>): void;
121
- attrs: any;
122
- slots: Readonly<{
123
- /** Legend displayed at the bottom of the dropzone */
124
- 'dropzone-legend'?: (() => any) | undefined;
125
- /** Block description of the dropzone */
126
- 'dropzone-description'?: (() => any) | undefined;
127
- /** Block subtitle of the dropzone */
128
- 'dropzone-subtitle'?: (() => any) | undefined;
129
- /** Add information under the file name */
130
- 'file-information'?: (() => any) | undefined;
131
- /** Add file actions next to the update button */
132
- 'file-actions'?: (() => any) | undefined;
133
- }> & {
134
- /** Legend displayed at the bottom of the dropzone */
135
- 'dropzone-legend'?: (() => any) | undefined;
136
- /** Block description of the dropzone */
137
- 'dropzone-description'?: (() => any) | undefined;
138
- /** Block subtitle of the dropzone */
139
- 'dropzone-subtitle'?: (() => any) | undefined;
140
- /** Add information under the file name */
141
- 'file-information'?: (() => any) | undefined;
142
- /** Add file actions next to the update button */
143
- 'file-actions'?: (() => any) | undefined;
144
- };
145
- emit: {
146
- 'update:modelValue': [modelValue: (File | T)[]];
147
- };
148
- } | undefined;
149
- };
150
- export default _default;
151
- type __VLS_PrettifyLocal<T> = {
152
- [K in keyof T]: T[K];
153
- } & {};
@@ -1,84 +0,0 @@
1
- declare const _default: <T extends {
2
- name: string;
3
- }>(__VLS_props: {
4
- readonly onDelete?: ((...args: any[]) => any) | undefined;
5
- readonly onUpdate?: ((...args: any[]) => any) | undefined;
6
- file: T | File;
7
- deleteLabel: string;
8
- updateLabel: string;
9
- error?: string | undefined;
10
- canDelete?: boolean | undefined;
11
- disabled?: boolean | undefined;
12
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
13
- slots: Readonly<{
14
- /** Information under the file name */
15
- information?: (() => any) | undefined;
16
- /** Extra file actions */
17
- actions?: (() => any) | undefined;
18
- }> & {
19
- /** Information under the file name */
20
- information?: (() => any) | undefined;
21
- /** Extra file actions */
22
- actions?: (() => any) | undefined;
23
- };
24
- attrs: any;
25
- emit: (event: "delete" | "update", ...args: any[]) => void;
26
- } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
27
- props: {
28
- readonly onDelete?: ((...args: any[]) => any) | undefined;
29
- readonly onUpdate?: ((...args: any[]) => any) | undefined;
30
- file: T | File;
31
- deleteLabel: string;
32
- updateLabel: string;
33
- error?: string | undefined;
34
- canDelete?: boolean | undefined;
35
- disabled?: boolean | undefined;
36
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
37
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
38
- attrs: any;
39
- slots: Readonly<{
40
- /** Information under the file name */
41
- information?: (() => any) | undefined;
42
- /** Extra file actions */
43
- actions?: (() => any) | undefined;
44
- }> & {
45
- /** Information under the file name */
46
- information?: (() => any) | undefined;
47
- /** Extra file actions */
48
- actions?: (() => any) | undefined;
49
- };
50
- emit: (event: "delete" | "update", ...args: any[]) => void;
51
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
- [key: string]: any;
53
- }> & {
54
- __ctx?: {
55
- props: {
56
- readonly onDelete?: ((...args: any[]) => any) | undefined;
57
- readonly onUpdate?: ((...args: any[]) => any) | undefined;
58
- file: T | File;
59
- deleteLabel: string;
60
- updateLabel: string;
61
- error?: string | undefined;
62
- canDelete?: boolean | undefined;
63
- disabled?: boolean | undefined;
64
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
65
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
66
- attrs: any;
67
- slots: Readonly<{
68
- /** Information under the file name */
69
- information?: (() => any) | undefined;
70
- /** Extra file actions */
71
- actions?: (() => any) | undefined;
72
- }> & {
73
- /** Information under the file name */
74
- information?: (() => any) | undefined;
75
- /** Extra file actions */
76
- actions?: (() => any) | undefined;
77
- };
78
- emit: (event: "delete" | "update", ...args: any[]) => void;
79
- } | undefined;
80
- };
81
- export default _default;
82
- type __VLS_PrettifyLocal<T> = {
83
- [K in keyof T]: T[K];
84
- } & {};
@@ -1,26 +0,0 @@
1
- import { PropType } from 'vue';
2
- import type { TJoyIconsColors } from '../JoyIcon/JoyIcon.types';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- name: {
5
- type: PropType<import("@maltjoy/icons").JoyIconsId>;
6
- required: true;
7
- };
8
- color: {
9
- type: PropType<TJoyIconsColors>;
10
- required: false;
11
- default: string;
12
- };
13
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
- name: {
15
- type: PropType<import("@maltjoy/icons").JoyIconsId>;
16
- required: true;
17
- };
18
- color: {
19
- type: PropType<TJoyIconsColors>;
20
- required: false;
21
- default: string;
22
- };
23
- }>> & Readonly<{}>, {
24
- color: TJoyIconsColors;
25
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
- export default _default;
@@ -1,19 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- /** To give a label to the whole component */
3
- ariaLabel: StringConstructor;
4
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
5
- /** To give a label to the whole component */
6
- ariaLabel: StringConstructor;
7
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
8
- /** Use it to inject VJoyFilterBarButton or whatever you need */
9
- default(): any;
10
- }> & {
11
- /** Use it to inject VJoyFilterBarButton or whatever you need */
12
- default(): any;
13
- }>;
14
- export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & {
16
- new (): {
17
- $slots: S;
18
- };
19
- };
@@ -1,43 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- /** Label to inject inside the button */
3
- label: StringConstructor;
4
- /** Required when used in the `VJoyFilterBar` to properly handle v-model */
5
- value: {
6
- type: StringConstructor;
7
- required: true;
8
- };
9
- active: {
10
- type: BooleanConstructor;
11
- default: boolean;
12
- };
13
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- filter: (value: string) => any;
15
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
- /** Label to inject inside the button */
17
- label: StringConstructor;
18
- /** Required when used in the `VJoyFilterBar` to properly handle v-model */
19
- value: {
20
- type: StringConstructor;
21
- required: true;
22
- };
23
- active: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- }>> & Readonly<{
28
- onFilter?: ((value: string) => any) | undefined;
29
- }>, {
30
- active: boolean;
31
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
32
- /** Free slot if you need more than the label property. */
33
- default(): any;
34
- }> & {
35
- /** Free slot if you need more than the label property. */
36
- default(): any;
37
- }>;
38
- export default _default;
39
- type __VLS_WithTemplateSlots<T, S> = T & {
40
- new (): {
41
- $slots: S;
42
- };
43
- };