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