maz-ui 3.8.0 → 3.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 (151) hide show
  1. package/components/MazAvatar.mjs +23 -185
  2. package/components/MazAvatar.umd.js +2 -2
  3. package/components/MazBackdrop.mjs +1 -1
  4. package/components/MazBackdrop.umd.js +1 -1
  5. package/components/MazBadge.mjs +3 -3
  6. package/components/MazBadge.umd.js +2 -2
  7. package/components/MazBottomSheet.mjs +60 -33
  8. package/components/MazBottomSheet.umd.js +2 -2
  9. package/components/MazBtn.mjs +25 -20
  10. package/components/MazBtn.umd.js +2 -2
  11. package/components/MazCard.mjs +312 -301
  12. package/components/MazCard.umd.js +2 -2
  13. package/components/MazCarousel.mjs +93 -38
  14. package/components/MazCarousel.umd.js +2 -2
  15. package/components/MazChart.mjs +79 -120
  16. package/components/MazChart.umd.js +1 -2
  17. package/components/MazCheckbox.mjs +3 -3
  18. package/components/MazCheckbox.umd.js +2 -2
  19. package/components/MazDialog.mjs +61 -34
  20. package/components/MazDialog.umd.js +2 -2
  21. package/components/MazDialogPromise.mjs +75 -58
  22. package/components/MazDialogPromise.umd.js +2 -2
  23. package/components/MazDrawer.mjs +57 -30
  24. package/components/MazDrawer.umd.js +2 -2
  25. package/components/MazDropzone.mjs +4 -4
  26. package/components/MazDropzone.umd.js +2 -2
  27. package/components/MazGallery.mjs +114 -292
  28. package/components/MazGallery.umd.js +2 -2
  29. package/components/MazIcon.mjs +7 -2
  30. package/components/MazIcon.umd.js +2 -2
  31. package/components/MazInput.mjs +46 -40
  32. package/components/MazInput.umd.js +2 -2
  33. package/components/MazInputNumber.mjs +175 -125
  34. package/components/MazInputNumber.umd.js +2 -2
  35. package/components/MazInputPrice.mjs +97 -91
  36. package/components/MazInputPrice.umd.js +2 -2
  37. package/components/MazInputTags.mjs +135 -107
  38. package/components/MazInputTags.umd.js +2 -2
  39. package/components/MazLazyImg.mjs +10 -9
  40. package/components/MazLazyImg.umd.js +2 -2
  41. package/components/MazPhoneNumberInput.mjs +165 -90
  42. package/components/MazPhoneNumberInput.umd.js +2 -2
  43. package/components/MazPicker.mjs +349 -261
  44. package/components/MazPicker.umd.js +2 -2
  45. package/components/MazRadioButtons.mjs +3 -3
  46. package/components/MazRadioButtons.umd.js +2 -2
  47. package/components/MazSelect.mjs +155 -80
  48. package/components/MazSelect.umd.js +2 -2
  49. package/components/MazSlider.mjs +6 -6
  50. package/components/MazSlider.umd.js +2 -2
  51. package/components/MazSpinner.mjs +4 -4
  52. package/components/MazSpinner.umd.js +2 -2
  53. package/components/MazStepper.mjs +16 -11
  54. package/components/MazStepper.umd.js +2 -2
  55. package/components/MazSwitch.mjs +6 -6
  56. package/components/MazSwitch.umd.js +2 -2
  57. package/components/MazTabsBar.mjs +29 -24
  58. package/components/MazTabsBar.umd.js +2 -2
  59. package/components/MazTabsContent.mjs +7 -2
  60. package/components/MazTabsContent.umd.js +2 -2
  61. package/components/MazTabsContentItem.mjs +5 -6
  62. package/components/MazTabsContentItem.umd.js +2 -2
  63. package/components/MazTextarea.mjs +26 -17
  64. package/components/MazTextarea.umd.js +2 -2
  65. package/components/MazTransitionExpand.mjs +3 -3
  66. package/components/MazTransitionExpand.umd.js +2 -2
  67. package/components/assets/check-ac2fdfbb.mjs +31 -0
  68. package/components/assets/eye-ac35bb54.mjs +44 -0
  69. package/components/assets/eye-off-4a5fd13d.mjs +31 -0
  70. package/components/assets/no-photography-7a1e4d68.mjs +36 -0
  71. package/components/assets/pencil-c1aa23f9.mjs +31 -0
  72. package/modules/assets/no-photography-7a1e4d68.mjs +36 -0
  73. package/modules/{maz-ui.mjs → index.mjs} +131 -191
  74. package/modules/index.umd.js +2 -0
  75. package/nuxt/index.ts +130 -0
  76. package/nuxt/runtime/composables/use-toast.ts +8 -0
  77. package/nuxt/runtime/plugins/toaster.ts +26 -0
  78. package/package.json +94 -65
  79. package/tailwindcss/{tailwind.config.js → tailwind.config.ts} +13 -9
  80. package/tailwindcss/tailwind.css +4 -0
  81. package/tailwindcss/utils/colors.ts +20 -0
  82. package/tailwindcss/variables/{breakpoints.js → breakpoints.ts} +1 -1
  83. package/tailwindcss/variables/colors.ts +44 -0
  84. package/tailwindcss/variables/{utilities.js → utilities.ts} +1 -1
  85. package/tailwindcss/variables/{z-indexes.js → z-indexes.ts} +1 -1
  86. package/components/MazAvatar.d.ts +0 -156
  87. package/components/MazBackdrop.d.ts +0 -91
  88. package/components/MazBadge.d.ts +0 -73
  89. package/components/MazBottomSheet.d.ts +0 -36
  90. package/components/MazBtn.d.ts +0 -178
  91. package/components/MazCard.d.ts +0 -194
  92. package/components/MazCarousel.d.ts +0 -24
  93. package/components/MazChart/includes.d.ts +0 -11
  94. package/components/MazChart.d.ts +0 -83
  95. package/components/MazCheckbox.d.ts +0 -54
  96. package/components/MazDialog.d.ts +0 -91
  97. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +0 -30
  98. package/components/MazDialogPromise.d.ts +0 -72
  99. package/components/MazDrawer.d.ts +0 -69
  100. package/components/MazDropzone.d.ts +0 -128
  101. package/components/MazGallery.d.ts +0 -144
  102. package/components/MazIcon.d.ts +0 -64
  103. package/components/MazInput.d.ts +0 -276
  104. package/components/MazInputNumber.d.ts +0 -65
  105. package/components/MazInputPrice.d.ts +0 -69
  106. package/components/MazInputTags.d.ts +0 -94
  107. package/components/MazLazyImg.d.ts +0 -77
  108. package/components/MazPhoneNumberInput/constantes/locales.d.ts +0 -12
  109. package/components/MazPhoneNumberInput/types.d.ts +0 -21
  110. package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +0 -2
  111. package/components/MazPhoneNumberInput/utils/index.d.ts +0 -12
  112. package/components/MazPhoneNumberInput.d.ts +0 -253
  113. package/components/MazPicker/MazPickerCalendar.vue.d.ts +0 -135
  114. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +0 -20
  115. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +0 -112
  116. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +0 -122
  117. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +0 -36
  118. package/components/MazPicker/MazPickerContainer.vue.d.ts +0 -210
  119. package/components/MazPicker/MazPickerFooter.vue.d.ts +0 -16
  120. package/components/MazPicker/MazPickerHeader.vue.d.ts +0 -82
  121. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +0 -41
  122. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +0 -60
  123. package/components/MazPicker/MazPickerTime.vue.d.ts +0 -127
  124. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +0 -33
  125. package/components/MazPicker/types.d.ts +0 -15
  126. package/components/MazPicker/utils.d.ts +0 -54
  127. package/components/MazPicker.d.ts +0 -311
  128. package/components/MazRadioButtons.d.ts +0 -77
  129. package/components/MazSelect.d.ts +0 -186
  130. package/components/MazSlider/utils.d.ts +0 -15
  131. package/components/MazSlider.d.ts +0 -94
  132. package/components/MazSpinner.d.ts +0 -28
  133. package/components/MazStepper.d.ts +0 -114
  134. package/components/MazSwitch.d.ts +0 -54
  135. package/components/MazTabsBar.d.ts +0 -47
  136. package/components/MazTabsContent.d.ts +0 -21
  137. package/components/MazTabsContentItem.d.ts +0 -19
  138. package/components/MazTextarea/textarea-autogrow.d.ts +0 -9
  139. package/components/MazTextarea.d.ts +0 -123
  140. package/components/MazTransitionExpand.d.ts +0 -9
  141. package/components/assets/no-photography-584c6185.mjs +0 -4
  142. package/components/index.d.ts +0 -33
  143. package/components/index.mjs +0 -35
  144. package/components/types.d.ts +0 -17
  145. package/css/aos.css +0 -1
  146. package/css/main.css +0 -1
  147. package/maz-ui.d.ts +0 -313
  148. package/modules/assets/no-photography-584c6185.mjs +0 -4
  149. package/modules/maz-ui.umd.js +0 -2
  150. package/tailwindcss/utils/colors.js +0 -26
  151. package/tailwindcss/variables/colors.js +0 -44
@@ -1,127 +0,0 @@
1
- import { type PropType } from 'vue';
2
- import { type DateTimeFormatOptions } from './utils';
3
- import type { PickerValue } from './types';
4
- import type { Color } from '../types';
5
- declare const _default: import("vue").DefineComponent<{
6
- modelValue: {
7
- type: PropType<PickerValue>;
8
- default: undefined;
9
- };
10
- calendarDate: {
11
- type: StringConstructor;
12
- required: true;
13
- };
14
- formatterOptions: {
15
- type: PropType<DateTimeFormatOptions>;
16
- required: true;
17
- };
18
- locale: {
19
- type: StringConstructor;
20
- required: true;
21
- };
22
- color: {
23
- type: PropType<Color>;
24
- required: true;
25
- };
26
- isOpen: {
27
- type: BooleanConstructor;
28
- required: true;
29
- };
30
- hasDate: {
31
- type: BooleanConstructor;
32
- required: true;
33
- };
34
- minuteInterval: {
35
- type: NumberConstructor;
36
- required: true;
37
- };
38
- disabledHours: {
39
- type: PropType<number[]>;
40
- default: undefined;
41
- };
42
- format: {
43
- type: StringConstructor;
44
- required: true;
45
- };
46
- isHour12: {
47
- type: BooleanConstructor;
48
- required: true;
49
- };
50
- minDate: {
51
- type: StringConstructor;
52
- default: undefined;
53
- };
54
- maxDate: {
55
- type: StringConstructor;
56
- default: undefined;
57
- };
58
- disabled: {
59
- type: BooleanConstructor;
60
- required: true;
61
- };
62
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
63
- modelValue: {
64
- type: PropType<PickerValue>;
65
- default: undefined;
66
- };
67
- calendarDate: {
68
- type: StringConstructor;
69
- required: true;
70
- };
71
- formatterOptions: {
72
- type: PropType<DateTimeFormatOptions>;
73
- required: true;
74
- };
75
- locale: {
76
- type: StringConstructor;
77
- required: true;
78
- };
79
- color: {
80
- type: PropType<Color>;
81
- required: true;
82
- };
83
- isOpen: {
84
- type: BooleanConstructor;
85
- required: true;
86
- };
87
- hasDate: {
88
- type: BooleanConstructor;
89
- required: true;
90
- };
91
- minuteInterval: {
92
- type: NumberConstructor;
93
- required: true;
94
- };
95
- disabledHours: {
96
- type: PropType<number[]>;
97
- default: undefined;
98
- };
99
- format: {
100
- type: StringConstructor;
101
- required: true;
102
- };
103
- isHour12: {
104
- type: BooleanConstructor;
105
- required: true;
106
- };
107
- minDate: {
108
- type: StringConstructor;
109
- default: undefined;
110
- };
111
- maxDate: {
112
- type: StringConstructor;
113
- default: undefined;
114
- };
115
- disabled: {
116
- type: BooleanConstructor;
117
- required: true;
118
- };
119
- }>> & {
120
- "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
121
- }, {
122
- modelValue: PickerValue;
123
- minDate: string;
124
- maxDate: string;
125
- disabledHours: number[];
126
- }>;
127
- export default _default;
@@ -1,33 +0,0 @@
1
- import { type PropType } from 'vue';
2
- import type { Color } from '@components/types';
3
- declare const _default: import("vue").DefineComponent<{
4
- color: {
5
- type: PropType<Color>;
6
- required: true;
7
- };
8
- locale: {
9
- type: StringConstructor;
10
- required: true;
11
- };
12
- calendarDate: {
13
- type: StringConstructor;
14
- required: true;
15
- };
16
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:calendar-date")[], "close" | "update:calendar-date", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
- color: {
18
- type: PropType<Color>;
19
- required: true;
20
- };
21
- locale: {
22
- type: StringConstructor;
23
- required: true;
24
- };
25
- calendarDate: {
26
- type: StringConstructor;
27
- required: true;
28
- };
29
- }>> & {
30
- onClose?: ((...args: any[]) => any) | undefined;
31
- "onUpdate:calendar-date"?: ((...args: any[]) => any) | undefined;
32
- }, {}>;
33
- export default _default;
@@ -1,15 +0,0 @@
1
- export type SimpleValue = string | undefined;
2
- export type RangeValue = {
3
- start: string;
4
- end: string;
5
- };
6
- export type PartialRangeValue = Partial<RangeValue>;
7
- export type PickerValue = SimpleValue | PartialRangeValue;
8
- export type PickerShortcut = {
9
- identifier: string;
10
- label: string;
11
- value: {
12
- start: string;
13
- end: string;
14
- };
15
- };
@@ -1,54 +0,0 @@
1
- import type { ConfigType, OpUnitType } from 'dayjs';
2
- import type { PartialRangeValue } from './types';
3
- export type DateTimeFormatOptions = Pick<Intl.DateTimeFormatOptions, 'hour12' | 'dateStyle' | 'timeStyle' | 'timeZone'>;
4
- export declare function getFormattedDate({ value, locale, options, }: {
5
- value?: string;
6
- locale: string;
7
- options?: Intl.DateTimeFormatOptions;
8
- }): string | undefined;
9
- export declare function getRangeFormattedDate({ value, locale, options, }: {
10
- value: PartialRangeValue;
11
- locale: string;
12
- options: Intl.DateTimeFormatOptions;
13
- }): string | undefined;
14
- export declare function getFirstDayOfMonth(value: ConfigType): number;
15
- export declare function getWeekDays(locale: string, offset?: number): {
16
- label: string;
17
- dayNumber: number;
18
- }[];
19
- export declare function getDaysInMonth(date: ConfigType): number;
20
- export declare function isToday(date: ConfigType): boolean;
21
- export declare function isSameDate(date: ConfigType, date2: ConfigType, unit: OpUnitType): boolean;
22
- export declare function isSmaller(date: ConfigType, date2: ConfigType): boolean;
23
- export declare function isSameDay(date: ConfigType, dayNumber: number): boolean;
24
- export declare function getISODate(value?: ConfigType, format?: string): string | undefined;
25
- export declare function getRangeISODate(value: PartialRangeValue, format?: string): {
26
- start: string | undefined;
27
- end: string | undefined;
28
- };
29
- type CheckValueResponse = {
30
- newValue?: string;
31
- newCurrentDate?: string;
32
- };
33
- export declare function checkValueWithMinMaxDates({ value, minDate, maxDate, format, }: {
34
- value: string;
35
- minDate?: string;
36
- maxDate?: string;
37
- format: string;
38
- }): CheckValueResponse;
39
- export declare function isValueDisabledWeekly({ value, disabledWeekly, }: {
40
- value: string;
41
- disabledWeekly: number[];
42
- }): boolean;
43
- export declare function isValueDisabledDate({ value, disabledDates, }: {
44
- value: string;
45
- disabledDates: string[];
46
- }): boolean;
47
- export declare const scrollToTarget: (scrollContainer: HTMLElement, target: HTMLElement, offset?: number, hasSmoothEffect?: boolean) => void;
48
- export declare const findNearestNumberInList: (list: number[], number: number) => number;
49
- export declare function convertHour24to12Format(baseHour: number): number;
50
- export declare function convertHour12to24Format(baseHour: number): number;
51
- export declare const convert12To24TimeFormat: (timeStr: string) => string;
52
- export declare function getBrowserLocale(): string | undefined;
53
- export declare function fetchLocale(): Promise<string | undefined>;
54
- export {};
@@ -1,311 +0,0 @@
1
- import { type PropType, type StyleValue } from 'vue';
2
- import type { Color, Position } from './types';
3
- import type { PickerValue, PickerShortcut } from './MazPicker/types';
4
- export type { PickerValue, PickerShortcut } from './MazPicker/types';
5
- export type { Color, Position } from './types';
6
- declare const _default: import("vue").DefineComponent<{
7
- modelValue: {
8
- type: PropType<PickerValue>;
9
- default: undefined;
10
- };
11
- format: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- open: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- label: {
20
- type: StringConstructor;
21
- default: undefined;
22
- };
23
- placeholder: {
24
- type: StringConstructor;
25
- default: undefined;
26
- };
27
- inputDateStyle: {
28
- type: PropType<Intl.DateTimeFormatOptions>;
29
- default: () => {
30
- dateStyle: string;
31
- };
32
- };
33
- locale: {
34
- type: StringConstructor;
35
- default: undefined;
36
- };
37
- style: {
38
- type: PropType<StyleValue>;
39
- default: undefined;
40
- };
41
- noHeader: {
42
- type: BooleanConstructor;
43
- default: boolean;
44
- };
45
- disabled: {
46
- type: BooleanConstructor;
47
- default: boolean;
48
- };
49
- firstDayOfWeek: {
50
- type: NumberConstructor;
51
- default: number;
52
- validator: (value: number) => boolean;
53
- };
54
- autoClose: {
55
- type: BooleanConstructor;
56
- default: boolean;
57
- };
58
- customElementSelector: {
59
- type: StringConstructor;
60
- default: undefined;
61
- };
62
- double: {
63
- type: BooleanConstructor;
64
- default: boolean;
65
- };
66
- inline: {
67
- type: BooleanConstructor;
68
- default: boolean;
69
- };
70
- color: {
71
- type: PropType<Color>;
72
- default: string;
73
- validator: (value: Color) => boolean;
74
- };
75
- pickerPosition: {
76
- type: PropType<Position>;
77
- default: undefined;
78
- validator: (value: Position) => boolean;
79
- };
80
- time: {
81
- type: BooleanConstructor;
82
- default: boolean;
83
- };
84
- onlyTime: {
85
- type: BooleanConstructor;
86
- default: boolean;
87
- };
88
- minuteInterval: {
89
- type: NumberConstructor;
90
- default: number;
91
- };
92
- noUseBrowserLocale: {
93
- type: BooleanConstructor;
94
- default: boolean;
95
- };
96
- noFetchLocal: {
97
- type: BooleanConstructor;
98
- default: boolean;
99
- };
100
- noShortcuts: {
101
- type: BooleanConstructor;
102
- default: boolean;
103
- };
104
- shortcuts: {
105
- type: PropType<PickerShortcut[]>;
106
- default: () => {
107
- label: string;
108
- identifier: string;
109
- value: {
110
- start: string;
111
- end: string;
112
- };
113
- }[];
114
- };
115
- shortcut: {
116
- type: StringConstructor;
117
- default: undefined;
118
- };
119
- minDate: {
120
- type: StringConstructor;
121
- default: undefined;
122
- };
123
- maxDate: {
124
- type: StringConstructor;
125
- default: undefined;
126
- };
127
- disabledWeekly: {
128
- type: PropType<number[]>;
129
- default: () => never[];
130
- validator: (value: number) => boolean;
131
- };
132
- disabledDates: {
133
- type: PropType<string[]>;
134
- default: () => never[];
135
- };
136
- disabledHours: {
137
- type: PropType<number[]>;
138
- default: () => never[];
139
- validator: (value: number) => boolean;
140
- };
141
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:model-value")[], "close" | "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
142
- modelValue: {
143
- type: PropType<PickerValue>;
144
- default: undefined;
145
- };
146
- format: {
147
- type: StringConstructor;
148
- default: string;
149
- };
150
- open: {
151
- type: BooleanConstructor;
152
- default: boolean;
153
- };
154
- label: {
155
- type: StringConstructor;
156
- default: undefined;
157
- };
158
- placeholder: {
159
- type: StringConstructor;
160
- default: undefined;
161
- };
162
- inputDateStyle: {
163
- type: PropType<Intl.DateTimeFormatOptions>;
164
- default: () => {
165
- dateStyle: string;
166
- };
167
- };
168
- locale: {
169
- type: StringConstructor;
170
- default: undefined;
171
- };
172
- style: {
173
- type: PropType<StyleValue>;
174
- default: undefined;
175
- };
176
- noHeader: {
177
- type: BooleanConstructor;
178
- default: boolean;
179
- };
180
- disabled: {
181
- type: BooleanConstructor;
182
- default: boolean;
183
- };
184
- firstDayOfWeek: {
185
- type: NumberConstructor;
186
- default: number;
187
- validator: (value: number) => boolean;
188
- };
189
- autoClose: {
190
- type: BooleanConstructor;
191
- default: boolean;
192
- };
193
- customElementSelector: {
194
- type: StringConstructor;
195
- default: undefined;
196
- };
197
- double: {
198
- type: BooleanConstructor;
199
- default: boolean;
200
- };
201
- inline: {
202
- type: BooleanConstructor;
203
- default: boolean;
204
- };
205
- color: {
206
- type: PropType<Color>;
207
- default: string;
208
- validator: (value: Color) => boolean;
209
- };
210
- pickerPosition: {
211
- type: PropType<Position>;
212
- default: undefined;
213
- validator: (value: Position) => boolean;
214
- };
215
- time: {
216
- type: BooleanConstructor;
217
- default: boolean;
218
- };
219
- onlyTime: {
220
- type: BooleanConstructor;
221
- default: boolean;
222
- };
223
- minuteInterval: {
224
- type: NumberConstructor;
225
- default: number;
226
- };
227
- noUseBrowserLocale: {
228
- type: BooleanConstructor;
229
- default: boolean;
230
- };
231
- noFetchLocal: {
232
- type: BooleanConstructor;
233
- default: boolean;
234
- };
235
- noShortcuts: {
236
- type: BooleanConstructor;
237
- default: boolean;
238
- };
239
- shortcuts: {
240
- type: PropType<PickerShortcut[]>;
241
- default: () => {
242
- label: string;
243
- identifier: string;
244
- value: {
245
- start: string;
246
- end: string;
247
- };
248
- }[];
249
- };
250
- shortcut: {
251
- type: StringConstructor;
252
- default: undefined;
253
- };
254
- minDate: {
255
- type: StringConstructor;
256
- default: undefined;
257
- };
258
- maxDate: {
259
- type: StringConstructor;
260
- default: undefined;
261
- };
262
- disabledWeekly: {
263
- type: PropType<number[]>;
264
- default: () => never[];
265
- validator: (value: number) => boolean;
266
- };
267
- disabledDates: {
268
- type: PropType<string[]>;
269
- default: () => never[];
270
- };
271
- disabledHours: {
272
- type: PropType<number[]>;
273
- default: () => never[];
274
- validator: (value: number) => boolean;
275
- };
276
- }>> & {
277
- onClose?: ((...args: any[]) => any) | undefined;
278
- "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
279
- }, {
280
- label: string;
281
- style: StyleValue;
282
- time: boolean;
283
- color: Color;
284
- open: boolean;
285
- modelValue: PickerValue;
286
- disabled: boolean;
287
- locale: string;
288
- placeholder: string;
289
- inline: boolean;
290
- noUseBrowserLocale: boolean;
291
- minDate: string;
292
- maxDate: string;
293
- format: string;
294
- disabledWeekly: number[];
295
- disabledDates: string[];
296
- noShortcuts: boolean;
297
- double: boolean;
298
- firstDayOfWeek: number;
299
- shortcuts: PickerShortcut[];
300
- shortcut: string;
301
- minuteInterval: number;
302
- disabledHours: number[];
303
- noHeader: boolean;
304
- inputDateStyle: Intl.DateTimeFormatOptions;
305
- autoClose: boolean;
306
- customElementSelector: string;
307
- pickerPosition: Position;
308
- onlyTime: boolean;
309
- noFetchLocal: boolean;
310
- }>;
311
- export default _default;
@@ -1,77 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { Color } from './types';
3
- export interface ButtonsRadioOption {
4
- label: string;
5
- value: string | number;
6
- }
7
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
8
- modelValue: {
9
- type: (StringConstructor | NumberConstructor)[];
10
- default: undefined;
11
- };
12
- options: {
13
- type: PropType<ButtonsRadioOption[]>;
14
- required: true;
15
- };
16
- name: {
17
- type: PropType<string>;
18
- default: string;
19
- };
20
- color: {
21
- type: PropType<Color>;
22
- default: string;
23
- };
24
- noElevation: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- orientation: {
29
- type: PropType<"col" | "row">;
30
- default: string;
31
- };
32
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:model-value")[], "change" | "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
- modelValue: {
34
- type: (StringConstructor | NumberConstructor)[];
35
- default: undefined;
36
- };
37
- options: {
38
- type: PropType<ButtonsRadioOption[]>;
39
- required: true;
40
- };
41
- name: {
42
- type: PropType<string>;
43
- default: string;
44
- };
45
- color: {
46
- type: PropType<Color>;
47
- default: string;
48
- };
49
- noElevation: {
50
- type: BooleanConstructor;
51
- default: boolean;
52
- };
53
- orientation: {
54
- type: PropType<"col" | "row">;
55
- default: string;
56
- };
57
- }>> & {
58
- onChange?: ((...args: any[]) => any) | undefined;
59
- "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
60
- }, {
61
- color: Color;
62
- name: string;
63
- noElevation: boolean;
64
- modelValue: string | number;
65
- orientation: "col" | "row";
66
- }>, {
67
- default: (_: {
68
- option: ButtonsRadioOption;
69
- selected: boolean;
70
- }) => any;
71
- }>;
72
- export default _default;
73
- type __VLS_WithTemplateSlots<T, S> = T & {
74
- new (): {
75
- $slots: S;
76
- };
77
- };