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