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,74 +0,0 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
-
modelValue: {
|
|
4
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
5
|
-
default: undefined;
|
|
6
|
-
};
|
|
7
|
-
currency: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
locale: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
min: {
|
|
16
|
-
type: NumberConstructor;
|
|
17
|
-
default: number;
|
|
18
|
-
};
|
|
19
|
-
max: {
|
|
20
|
-
type: NumberConstructor;
|
|
21
|
-
default: number;
|
|
22
|
-
};
|
|
23
|
-
noIcon: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:model-value" | "formatted")[], "update:model-value" | "formatted", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
-
modelValue: {
|
|
29
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
30
|
-
default: undefined;
|
|
31
|
-
};
|
|
32
|
-
currency: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
locale: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
min: {
|
|
41
|
-
type: NumberConstructor;
|
|
42
|
-
default: number;
|
|
43
|
-
};
|
|
44
|
-
max: {
|
|
45
|
-
type: NumberConstructor;
|
|
46
|
-
default: number;
|
|
47
|
-
};
|
|
48
|
-
noIcon: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
}>> & {
|
|
53
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
54
|
-
onFormatted?: ((...args: any[]) => any) | undefined;
|
|
55
|
-
}, {
|
|
56
|
-
modelValue: string | number;
|
|
57
|
-
locale: string;
|
|
58
|
-
max: number;
|
|
59
|
-
min: number;
|
|
60
|
-
currency: string;
|
|
61
|
-
noIcon: boolean;
|
|
62
|
-
}>, {
|
|
63
|
-
"left-icon"?(_: {}): any;
|
|
64
|
-
}>;
|
|
65
|
-
export default _default;
|
|
66
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
|
-
new (): {
|
|
68
|
-
$slots: S;
|
|
69
|
-
$props: __VLS_PropsChildren<S>;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
type __VLS_PropsChildren<S> = {
|
|
73
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
74
|
-
};
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
|
-
import { type PropType } from 'vue';
|
|
3
|
-
import type { Color, Size } from './types';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
modelValue: {
|
|
6
|
-
type: PropType<string[] | number[]>;
|
|
7
|
-
default: undefined;
|
|
8
|
-
};
|
|
9
|
-
placeholder: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: undefined;
|
|
12
|
-
};
|
|
13
|
-
label: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
default: undefined;
|
|
16
|
-
};
|
|
17
|
-
disabled: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
error: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
success: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
warning: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
size: {
|
|
34
|
-
type: PropType<Size>;
|
|
35
|
-
default: string;
|
|
36
|
-
validator: (value: string) => boolean;
|
|
37
|
-
};
|
|
38
|
-
color: {
|
|
39
|
-
type: PropType<Color>;
|
|
40
|
-
default: string;
|
|
41
|
-
validator: (value: Color) => boolean;
|
|
42
|
-
};
|
|
43
|
-
}, {}, 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<{
|
|
44
|
-
modelValue: {
|
|
45
|
-
type: PropType<string[] | number[]>;
|
|
46
|
-
default: undefined;
|
|
47
|
-
};
|
|
48
|
-
placeholder: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: undefined;
|
|
51
|
-
};
|
|
52
|
-
label: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
default: undefined;
|
|
55
|
-
};
|
|
56
|
-
disabled: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
|
-
error: {
|
|
61
|
-
type: BooleanConstructor;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
success: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
warning: {
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
size: {
|
|
73
|
-
type: PropType<Size>;
|
|
74
|
-
default: string;
|
|
75
|
-
validator: (value: string) => boolean;
|
|
76
|
-
};
|
|
77
|
-
color: {
|
|
78
|
-
type: PropType<Color>;
|
|
79
|
-
default: string;
|
|
80
|
-
validator: (value: Color) => boolean;
|
|
81
|
-
};
|
|
82
|
-
}>> & {
|
|
83
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
84
|
-
}, {
|
|
85
|
-
disabled: boolean;
|
|
86
|
-
label: string;
|
|
87
|
-
error: boolean;
|
|
88
|
-
success: boolean;
|
|
89
|
-
warning: boolean;
|
|
90
|
-
size: Size;
|
|
91
|
-
color: Color;
|
|
92
|
-
modelValue: string[] | number[];
|
|
93
|
-
placeholder: string;
|
|
94
|
-
}>;
|
|
95
|
-
export default _default;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
|
-
import { type Prop } from 'vue';
|
|
3
|
-
import type { Image } from './types';
|
|
4
|
-
export type { Image } from './types';
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
6
|
-
image: Prop<Image>;
|
|
7
|
-
noPhoto: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
noLoader: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
noObserverOnce: {
|
|
16
|
-
type: BooleanConstructor;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
loadOnce: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
imageHeightFull: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
observerOptions: Prop<{
|
|
28
|
-
root?: HTMLElement | null | undefined;
|
|
29
|
-
threshold: number;
|
|
30
|
-
rootMargin?: string | undefined;
|
|
31
|
-
} | undefined>;
|
|
32
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "intersecting" | "loading" | "loaded")[], "error" | "intersecting" | "loading" | "loaded", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
-
image: Prop<Image>;
|
|
34
|
-
noPhoto: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
default: boolean;
|
|
37
|
-
};
|
|
38
|
-
noLoader: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
noObserverOnce: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
loadOnce: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
imageHeightFull: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
observerOptions: Prop<{
|
|
55
|
-
root?: HTMLElement | null | undefined;
|
|
56
|
-
threshold: number;
|
|
57
|
-
rootMargin?: string | undefined;
|
|
58
|
-
} | undefined>;
|
|
59
|
-
}>> & {
|
|
60
|
-
onLoading?: ((...args: any[]) => any) | undefined;
|
|
61
|
-
onLoaded?: ((...args: any[]) => any) | undefined;
|
|
62
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
63
|
-
onIntersecting?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
}, {
|
|
65
|
-
noPhoto: boolean;
|
|
66
|
-
loadOnce: boolean;
|
|
67
|
-
noLoader: boolean;
|
|
68
|
-
noObserverOnce: boolean;
|
|
69
|
-
imageHeightFull: boolean;
|
|
70
|
-
}>, {
|
|
71
|
-
default?(_: {}): 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
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { CountryCallingCode, CountryCode, NationalNumber, NumberType } from 'libphonenumber-js';
|
|
2
|
-
import type locales from './constantes/locales';
|
|
3
|
-
export type Result = {
|
|
4
|
-
isValid: boolean;
|
|
5
|
-
isPossible?: boolean;
|
|
6
|
-
countryCode?: CountryCode;
|
|
7
|
-
countryCallingCode?: CountryCallingCode;
|
|
8
|
-
nationalNumber?: NationalNumber;
|
|
9
|
-
type?: NumberType;
|
|
10
|
-
formatInternational?: string;
|
|
11
|
-
formatNational?: string;
|
|
12
|
-
uri?: string;
|
|
13
|
-
e164?: string;
|
|
14
|
-
rfc3966?: string;
|
|
15
|
-
};
|
|
16
|
-
export type Translations = typeof locales;
|
|
17
|
-
export type Country = {
|
|
18
|
-
iso2: CountryCode;
|
|
19
|
-
dialCode: CountryCallingCode;
|
|
20
|
-
name: string;
|
|
21
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type CountryCode, type Examples } from 'libphonenumber-js';
|
|
2
|
-
import type { Country, Result } from '../types';
|
|
3
|
-
export declare function getCountryName(code: CountryCode | string, customCountriesNameListByIsoCode?: Record<CountryCode, string>): string | undefined;
|
|
4
|
-
export declare function loadPhoneNumberExamplesFile(): Promise<Examples>;
|
|
5
|
-
export declare function getExamplePhoneNumber(countryCode: CountryCode): import("libphonenumber-js").PhoneNumber | undefined;
|
|
6
|
-
export declare function sanitizePhoneNumber(input?: string): string | undefined;
|
|
7
|
-
export declare function getCountriesList(customCountriesNameListByIsoCode?: Record<CountryCode, string>): Country[] | undefined;
|
|
8
|
-
export declare function browserLocale(): string | undefined;
|
|
9
|
-
export declare function isCountryAvailable(locale: string): boolean;
|
|
10
|
-
export declare const getResultsFromPhoneNumber: (countryCode?: CountryCode, phoneNumber?: string) => Result;
|
|
11
|
-
export declare function getAsYouTypeFormat(countryCode: CountryCode, phoneNumber?: string): string | undefined;
|
|
12
|
-
export declare function fetchCountryCode(): Promise<string | undefined>;
|
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
|
-
import type { CountryCode } from 'libphonenumber-js';
|
|
3
|
-
import type { Color, Position, Size } from './types';
|
|
4
|
-
import { type PropType } from 'vue';
|
|
5
|
-
export type { Color, Size, Position } from './types';
|
|
6
|
-
export type { CountryCode } from 'libphonenumber-js';
|
|
7
|
-
export type { Result, Translations } from './MazPhoneNumberInput/types';
|
|
8
|
-
declare const _default: import("vue").DefineComponent<{
|
|
9
|
-
modelValue: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
validator: (prop: string) => boolean;
|
|
12
|
-
default: undefined;
|
|
13
|
-
};
|
|
14
|
-
id: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: undefined;
|
|
17
|
-
};
|
|
18
|
-
placeholder: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
default: undefined;
|
|
21
|
-
};
|
|
22
|
-
defaultPhoneNumber: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: undefined;
|
|
25
|
-
};
|
|
26
|
-
defaultCountryCode: {
|
|
27
|
-
type: PropType<string>;
|
|
28
|
-
default: undefined;
|
|
29
|
-
validator: (code: string) => boolean;
|
|
30
|
-
};
|
|
31
|
-
preferredCountries: {
|
|
32
|
-
type: PropType<CountryCode[]>;
|
|
33
|
-
default: undefined;
|
|
34
|
-
};
|
|
35
|
-
ignoredCountries: {
|
|
36
|
-
type: PropType<CountryCode[]>;
|
|
37
|
-
default: undefined;
|
|
38
|
-
};
|
|
39
|
-
onlyCountries: {
|
|
40
|
-
type: PropType<CountryCode[]>;
|
|
41
|
-
default: undefined;
|
|
42
|
-
};
|
|
43
|
-
translations: {
|
|
44
|
-
type: PropType<{
|
|
45
|
-
countrySelector: {
|
|
46
|
-
placeholder: string;
|
|
47
|
-
error: string;
|
|
48
|
-
searchPlaceholder: string;
|
|
49
|
-
};
|
|
50
|
-
phoneInput: {
|
|
51
|
-
placeholder: string;
|
|
52
|
-
example: string;
|
|
53
|
-
};
|
|
54
|
-
}>;
|
|
55
|
-
default: undefined;
|
|
56
|
-
};
|
|
57
|
-
listPosition: {
|
|
58
|
-
type: PropType<Position>;
|
|
59
|
-
default: string;
|
|
60
|
-
validator: (value: Position) => boolean;
|
|
61
|
-
};
|
|
62
|
-
color: {
|
|
63
|
-
type: PropType<Color>;
|
|
64
|
-
default: string;
|
|
65
|
-
validator: (value: string) => boolean;
|
|
66
|
-
};
|
|
67
|
-
size: {
|
|
68
|
-
type: PropType<Size>;
|
|
69
|
-
default: string;
|
|
70
|
-
validator: (value: string) => boolean;
|
|
71
|
-
};
|
|
72
|
-
noFlags: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
|
-
disabled: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
noExample: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
default: boolean;
|
|
83
|
-
};
|
|
84
|
-
noSearch: {
|
|
85
|
-
type: BooleanConstructor;
|
|
86
|
-
default: boolean;
|
|
87
|
-
};
|
|
88
|
-
noUseBrowserLocale: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
fetchCountry: {
|
|
93
|
-
type: BooleanConstructor;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
|
-
noCountrySelector: {
|
|
97
|
-
type: BooleanConstructor;
|
|
98
|
-
default: boolean;
|
|
99
|
-
};
|
|
100
|
-
showCodeOnList: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
default: boolean;
|
|
103
|
-
};
|
|
104
|
-
error: {
|
|
105
|
-
type: BooleanConstructor;
|
|
106
|
-
default: boolean;
|
|
107
|
-
};
|
|
108
|
-
customCountriesList: {
|
|
109
|
-
type: PropType<Record<CountryCode, string>>;
|
|
110
|
-
default: undefined;
|
|
111
|
-
};
|
|
112
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update" | "update:model-value" | "country-code")[], "update" | "update:model-value" | "country-code", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
113
|
-
modelValue: {
|
|
114
|
-
type: StringConstructor;
|
|
115
|
-
validator: (prop: string) => boolean;
|
|
116
|
-
default: undefined;
|
|
117
|
-
};
|
|
118
|
-
id: {
|
|
119
|
-
type: StringConstructor;
|
|
120
|
-
default: undefined;
|
|
121
|
-
};
|
|
122
|
-
placeholder: {
|
|
123
|
-
type: StringConstructor;
|
|
124
|
-
default: undefined;
|
|
125
|
-
};
|
|
126
|
-
defaultPhoneNumber: {
|
|
127
|
-
type: StringConstructor;
|
|
128
|
-
default: undefined;
|
|
129
|
-
};
|
|
130
|
-
defaultCountryCode: {
|
|
131
|
-
type: PropType<string>;
|
|
132
|
-
default: undefined;
|
|
133
|
-
validator: (code: string) => boolean;
|
|
134
|
-
};
|
|
135
|
-
preferredCountries: {
|
|
136
|
-
type: PropType<CountryCode[]>;
|
|
137
|
-
default: undefined;
|
|
138
|
-
};
|
|
139
|
-
ignoredCountries: {
|
|
140
|
-
type: PropType<CountryCode[]>;
|
|
141
|
-
default: undefined;
|
|
142
|
-
};
|
|
143
|
-
onlyCountries: {
|
|
144
|
-
type: PropType<CountryCode[]>;
|
|
145
|
-
default: undefined;
|
|
146
|
-
};
|
|
147
|
-
translations: {
|
|
148
|
-
type: PropType<{
|
|
149
|
-
countrySelector: {
|
|
150
|
-
placeholder: string;
|
|
151
|
-
error: string;
|
|
152
|
-
searchPlaceholder: string;
|
|
153
|
-
};
|
|
154
|
-
phoneInput: {
|
|
155
|
-
placeholder: string;
|
|
156
|
-
example: string;
|
|
157
|
-
};
|
|
158
|
-
}>;
|
|
159
|
-
default: undefined;
|
|
160
|
-
};
|
|
161
|
-
listPosition: {
|
|
162
|
-
type: PropType<Position>;
|
|
163
|
-
default: string;
|
|
164
|
-
validator: (value: Position) => boolean;
|
|
165
|
-
};
|
|
166
|
-
color: {
|
|
167
|
-
type: PropType<Color>;
|
|
168
|
-
default: string;
|
|
169
|
-
validator: (value: string) => boolean;
|
|
170
|
-
};
|
|
171
|
-
size: {
|
|
172
|
-
type: PropType<Size>;
|
|
173
|
-
default: string;
|
|
174
|
-
validator: (value: string) => boolean;
|
|
175
|
-
};
|
|
176
|
-
noFlags: {
|
|
177
|
-
type: BooleanConstructor;
|
|
178
|
-
default: boolean;
|
|
179
|
-
};
|
|
180
|
-
disabled: {
|
|
181
|
-
type: BooleanConstructor;
|
|
182
|
-
default: boolean;
|
|
183
|
-
};
|
|
184
|
-
noExample: {
|
|
185
|
-
type: BooleanConstructor;
|
|
186
|
-
default: boolean;
|
|
187
|
-
};
|
|
188
|
-
noSearch: {
|
|
189
|
-
type: BooleanConstructor;
|
|
190
|
-
default: boolean;
|
|
191
|
-
};
|
|
192
|
-
noUseBrowserLocale: {
|
|
193
|
-
type: BooleanConstructor;
|
|
194
|
-
default: boolean;
|
|
195
|
-
};
|
|
196
|
-
fetchCountry: {
|
|
197
|
-
type: BooleanConstructor;
|
|
198
|
-
default: boolean;
|
|
199
|
-
};
|
|
200
|
-
noCountrySelector: {
|
|
201
|
-
type: BooleanConstructor;
|
|
202
|
-
default: boolean;
|
|
203
|
-
};
|
|
204
|
-
showCodeOnList: {
|
|
205
|
-
type: BooleanConstructor;
|
|
206
|
-
default: boolean;
|
|
207
|
-
};
|
|
208
|
-
error: {
|
|
209
|
-
type: BooleanConstructor;
|
|
210
|
-
default: boolean;
|
|
211
|
-
};
|
|
212
|
-
customCountriesList: {
|
|
213
|
-
type: PropType<Record<CountryCode, string>>;
|
|
214
|
-
default: undefined;
|
|
215
|
-
};
|
|
216
|
-
}>> & {
|
|
217
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
218
|
-
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
219
|
-
"onCountry-code"?: ((...args: any[]) => any) | undefined;
|
|
220
|
-
}, {
|
|
221
|
-
disabled: boolean;
|
|
222
|
-
error: boolean;
|
|
223
|
-
size: Size;
|
|
224
|
-
color: Color;
|
|
225
|
-
modelValue: string;
|
|
226
|
-
id: string;
|
|
227
|
-
placeholder: string;
|
|
228
|
-
listPosition: Position;
|
|
229
|
-
defaultPhoneNumber: string;
|
|
230
|
-
defaultCountryCode: string;
|
|
231
|
-
preferredCountries: CountryCode[];
|
|
232
|
-
ignoredCountries: CountryCode[];
|
|
233
|
-
onlyCountries: CountryCode[];
|
|
234
|
-
translations: {
|
|
235
|
-
countrySelector: {
|
|
236
|
-
placeholder: string;
|
|
237
|
-
error: string;
|
|
238
|
-
searchPlaceholder: string;
|
|
239
|
-
};
|
|
240
|
-
phoneInput: {
|
|
241
|
-
placeholder: string;
|
|
242
|
-
example: string;
|
|
243
|
-
};
|
|
244
|
-
};
|
|
245
|
-
noFlags: boolean;
|
|
246
|
-
noExample: boolean;
|
|
247
|
-
noSearch: boolean;
|
|
248
|
-
noUseBrowserLocale: boolean;
|
|
249
|
-
fetchCountry: boolean;
|
|
250
|
-
noCountrySelector: boolean;
|
|
251
|
-
showCodeOnList: boolean;
|
|
252
|
-
customCountriesList: Record<CountryCode, string>;
|
|
253
|
-
}>;
|
|
254
|
-
export default _default;
|
|
@@ -1,136 +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
|
-
modelValue: {
|
|
7
|
-
type: PropType<PickerValue>;
|
|
8
|
-
default: undefined;
|
|
9
|
-
};
|
|
10
|
-
calendarDate: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
color: {
|
|
15
|
-
type: PropType<Color>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
locale: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
firstDayOfWeek: {
|
|
23
|
-
type: NumberConstructor;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
double: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
minDate: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: undefined;
|
|
33
|
-
};
|
|
34
|
-
maxDate: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: undefined;
|
|
37
|
-
};
|
|
38
|
-
disabledWeekly: {
|
|
39
|
-
type: PropType<number[]>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
disabledDates: {
|
|
43
|
-
type: PropType<string[]>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
shortcuts: {
|
|
47
|
-
type: PropType<PickerShortcut[]>;
|
|
48
|
-
required: true;
|
|
49
|
-
};
|
|
50
|
-
noShortcuts: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
hasTime: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
required: true;
|
|
57
|
-
};
|
|
58
|
-
shortcut: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
default: undefined;
|
|
61
|
-
};
|
|
62
|
-
disabled: {
|
|
63
|
-
type: BooleanConstructor;
|
|
64
|
-
required: true;
|
|
65
|
-
};
|
|
66
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:model-value" | "update:calendar-date")[], "update:model-value" | "update:calendar-date", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
-
modelValue: {
|
|
68
|
-
type: PropType<PickerValue>;
|
|
69
|
-
default: undefined;
|
|
70
|
-
};
|
|
71
|
-
calendarDate: {
|
|
72
|
-
type: StringConstructor;
|
|
73
|
-
required: true;
|
|
74
|
-
};
|
|
75
|
-
color: {
|
|
76
|
-
type: PropType<Color>;
|
|
77
|
-
required: true;
|
|
78
|
-
};
|
|
79
|
-
locale: {
|
|
80
|
-
type: StringConstructor;
|
|
81
|
-
required: true;
|
|
82
|
-
};
|
|
83
|
-
firstDayOfWeek: {
|
|
84
|
-
type: NumberConstructor;
|
|
85
|
-
required: true;
|
|
86
|
-
};
|
|
87
|
-
double: {
|
|
88
|
-
type: BooleanConstructor;
|
|
89
|
-
required: true;
|
|
90
|
-
};
|
|
91
|
-
minDate: {
|
|
92
|
-
type: StringConstructor;
|
|
93
|
-
default: undefined;
|
|
94
|
-
};
|
|
95
|
-
maxDate: {
|
|
96
|
-
type: StringConstructor;
|
|
97
|
-
default: undefined;
|
|
98
|
-
};
|
|
99
|
-
disabledWeekly: {
|
|
100
|
-
type: PropType<number[]>;
|
|
101
|
-
required: true;
|
|
102
|
-
};
|
|
103
|
-
disabledDates: {
|
|
104
|
-
type: PropType<string[]>;
|
|
105
|
-
required: true;
|
|
106
|
-
};
|
|
107
|
-
shortcuts: {
|
|
108
|
-
type: PropType<PickerShortcut[]>;
|
|
109
|
-
required: true;
|
|
110
|
-
};
|
|
111
|
-
noShortcuts: {
|
|
112
|
-
type: BooleanConstructor;
|
|
113
|
-
required: true;
|
|
114
|
-
};
|
|
115
|
-
hasTime: {
|
|
116
|
-
type: BooleanConstructor;
|
|
117
|
-
required: true;
|
|
118
|
-
};
|
|
119
|
-
shortcut: {
|
|
120
|
-
type: StringConstructor;
|
|
121
|
-
default: undefined;
|
|
122
|
-
};
|
|
123
|
-
disabled: {
|
|
124
|
-
type: BooleanConstructor;
|
|
125
|
-
required: true;
|
|
126
|
-
};
|
|
127
|
-
}>> & {
|
|
128
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
129
|
-
"onUpdate:calendar-date"?: ((...args: any[]) => any) | undefined;
|
|
130
|
-
}, {
|
|
131
|
-
modelValue: PickerValue;
|
|
132
|
-
minDate: string;
|
|
133
|
-
maxDate: string;
|
|
134
|
-
shortcut: string;
|
|
135
|
-
}>;
|
|
136
|
-
export default _default;
|