maz-ui 2.3.13 → 2.4.2
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/MazArrowIcon.d.ts +43 -0
- package/components/MazArrowIcon.js +1 -0
- package/components/MazAvatar.d.ts +149 -0
- package/components/MazAvatar.js +3 -0
- package/components/MazBackdrop.d.ts +89 -0
- package/components/MazBackdrop.js +3 -0
- package/components/MazBadge.d.ts +68 -0
- package/components/MazBadge.js +1 -0
- package/components/MazBottomSheet.d.ts +29 -0
- package/components/MazBottomSheet.js +3 -0
- package/components/MazBtn.d.ts +171 -0
- package/components/MazBtn.js +3 -0
- package/components/MazCard.d.ts +183 -0
- package/components/MazCard.js +3 -0
- package/components/MazCarousel.d.ts +16 -0
- package/components/MazCarousel.js +3 -0
- package/components/MazChart/includes.d.ts +11 -0
- package/components/MazChart.d.ts +114 -0
- package/components/MazChart.js +1 -0
- package/components/MazCheckbox.d.ts +49 -0
- package/components/MazCheckbox.js +1 -0
- package/components/MazDialog.d.ts +29 -0
- package/components/MazDialog.js +3 -0
- package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +30 -0
- package/components/MazDialogPromise.d.ts +28 -0
- package/components/MazDialogPromise.js +3 -0
- package/components/MazDrawer.d.ts +59 -0
- package/components/MazDrawer.js +3 -0
- package/components/MazDropzone.d.ts +128 -0
- package/components/MazDropzone.js +3 -0
- package/components/MazGallery.d.ts +144 -0
- package/components/MazGallery.js +3 -0
- package/components/MazIcon.d.ts +66 -0
- package/components/MazIcon.js +3 -0
- package/components/MazInput.d.ts +276 -0
- package/components/MazInput.js +3 -0
- package/components/MazInputNumber.d.ts +67 -0
- package/components/MazInputNumber.js +3 -0
- package/components/MazInputPrice.d.ts +64 -0
- package/components/MazInputPrice.js +3 -0
- package/components/MazInputTags.d.ts +96 -0
- package/components/MazInputTags.js +3 -0
- package/components/MazLazyImg.d.ts +80 -0
- package/components/MazLazyImg.js +3 -0
- package/components/MazPhoneNumberInput/constantes/locales.d.ts +12 -0
- package/components/MazPhoneNumberInput/types.d.ts +21 -0
- package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +2 -0
- package/components/MazPhoneNumberInput/utils/index.d.ts +12 -0
- package/components/MazPhoneNumberInput.d.ts +255 -0
- package/components/MazPhoneNumberInput.js +3 -0
- package/components/MazPicker/MazPickerCalendar.vue.d.ts +137 -0
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +22 -0
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +114 -0
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +124 -0
- package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +38 -0
- package/components/MazPicker/MazPickerContainer.vue.d.ts +212 -0
- package/components/MazPicker/MazPickerHeader.vue.d.ts +84 -0
- package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +43 -0
- package/components/MazPicker/MazPickerShortcuts.vue.d.ts +62 -0
- package/components/MazPicker/MazPickerTime.vue.d.ts +129 -0
- package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +35 -0
- package/components/MazPicker/types.d.ts +15 -0
- package/components/MazPicker/utils.d.ts +54 -0
- package/components/MazPicker.d.ts +313 -0
- package/components/MazPicker.js +3 -0
- package/components/MazRadioButtons.d.ts +69 -0
- package/components/MazRadioButtons.js +1 -0
- package/components/MazSelect.d.ts +176 -0
- package/components/MazSelect.js +3 -0
- package/components/MazSlider/utils.d.ts +15 -0
- package/components/MazSlider.d.ts +96 -0
- package/components/MazSlider.js +3 -0
- package/components/MazSpinner.d.ts +30 -0
- package/components/MazSpinner.js +1 -0
- package/components/MazStepper.d.ts +73 -0
- package/components/MazStepper.js +1 -0
- package/components/MazSwitch.d.ts +56 -0
- package/components/MazSwitch.js +1 -0
- package/components/MazTabsBar.d.ts +49 -0
- package/components/MazTabsBar.js +3 -0
- package/components/MazTabsContent.d.ts +16 -0
- package/components/MazTabsContent.js +1 -0
- package/components/MazTabsContentItem.d.ts +14 -0
- package/components/MazTabsContentItem.js +3 -0
- package/components/MazTextarea/textarea-autogrow.d.ts +9 -0
- package/components/MazTextarea.d.ts +125 -0
- package/components/MazTextarea.js +1 -0
- package/components/MazTransitionExpand.d.ts +4 -0
- package/components/MazTransitionExpand.js +1 -0
- package/components/index.d.ts +34 -0
- package/components/index.js +36 -0
- package/components/no_photo-a72545e4.js +1 -0
- package/components/types.d.ts +17 -0
- package/css/aos.css +1 -0
- package/css/main.css +1 -0
- package/maz-ui.d.ts +307 -0
- package/modules/index.js +3 -0
- package/modules/no_photo-a72545e4.js +1 -0
- package/package.json +145 -81
- package/tailwindcss/tailwind.config.js +65 -0
- package/tailwindcss/utils/colors.js +28 -0
- package/tailwindcss/variables/breakpoints.js +15 -0
- package/tailwindcss/variables/colors.js +44 -0
- package/tailwindcss/variables/utilities.js +20 -0
- package/tailwindcss/variables/z-indexes.js +15 -0
- package/LICENSE +0 -21
- package/README.md +0 -66
- package/bin/index.js +0 -63
- package/bin/lib/_constantes/default-colors.js +0 -69
- package/bin/lib/index.d.ts +0 -2
- package/bin/lib/index.js +0 -145
- package/bin/lib/methods/generate-root-css.js +0 -49
- package/bin/lib/methods/get-theme-settings.js +0 -58
- package/bin/lib/methods/set-css-vars.js +0 -11
- package/lib/css/base.css +0 -1
- package/lib/css/index.css +0 -1
- package/lib/css/maz-avatar.css +0 -1
- package/lib/css/maz-bottom-sheet.css +0 -1
- package/lib/css/maz-btn-group.css +0 -1
- package/lib/css/maz-btn.css +0 -0
- package/lib/css/maz-card.css +0 -1
- package/lib/css/maz-carousel.css +0 -1
- package/lib/css/maz-checkbox.css +0 -1
- package/lib/css/maz-collapse.css +0 -1
- package/lib/css/maz-dialog.css +0 -1
- package/lib/css/maz-draggable-list.css +0 -1
- package/lib/css/maz-dropdown.css +0 -1
- package/lib/css/maz-dropzone.css +0 -1
- package/lib/css/maz-flex.css +0 -0
- package/lib/css/maz-gallery.css +0 -0
- package/lib/css/maz-img.css +0 -1
- package/lib/css/maz-input-tags.css +0 -1
- package/lib/css/maz-input.css +0 -0
- package/lib/css/maz-list-item.css +0 -1
- package/lib/css/maz-list.css +0 -1
- package/lib/css/maz-loader.css +0 -0
- package/lib/css/maz-pagination.css +0 -1
- package/lib/css/maz-phone-number-input.css +0 -1
- package/lib/css/maz-picker.css +0 -1
- package/lib/css/maz-plotly.css +0 -0
- package/lib/css/maz-progress-bar.css +0 -1
- package/lib/css/maz-radio.css +0 -1
- package/lib/css/maz-read-more.css +0 -1
- package/lib/css/maz-responsive-menu.css +0 -1
- package/lib/css/maz-search.css +0 -1
- package/lib/css/maz-select.css +0 -0
- package/lib/css/maz-sidebar.css +0 -1
- package/lib/css/maz-slider.css +0 -1
- package/lib/css/maz-spinner.css +0 -0
- package/lib/css/maz-stepper.css +0 -1
- package/lib/css/maz-switch.css +0 -1
- package/lib/css/maz-tabs-bar.css +0 -1
- package/lib/css/maz-tabs-content-item.css +0 -1
- package/lib/css/maz-tabs-content.css +0 -1
- package/lib/css/maz-transition-expand.css +0 -0
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -1
- package/lib/maz-avatar.d.ts +0 -3
- package/lib/maz-avatar.js +0 -430
- package/lib/maz-bottom-sheet.d.ts +0 -3
- package/lib/maz-bottom-sheet.js +0 -1045
- package/lib/maz-btn-group.d.ts +0 -3
- package/lib/maz-btn-group.js +0 -907
- package/lib/maz-btn.d.ts +0 -3
- package/lib/maz-btn.js +0 -764
- package/lib/maz-card.d.ts +0 -3
- package/lib/maz-card.js +0 -572
- package/lib/maz-carousel.d.ts +0 -3
- package/lib/maz-carousel.js +0 -569
- package/lib/maz-checkbox.d.ts +0 -3
- package/lib/maz-checkbox.js +0 -359
- package/lib/maz-collapse.d.ts +0 -3
- package/lib/maz-collapse.js +0 -1238
- package/lib/maz-dialog.d.ts +0 -3
- package/lib/maz-dialog.js +0 -1315
- package/lib/maz-draggable-list.d.ts +0 -3
- package/lib/maz-draggable-list.js +0 -439
- package/lib/maz-dropdown.d.ts +0 -3
- package/lib/maz-dropdown.js +0 -438
- package/lib/maz-dropzone.d.ts +0 -3
- package/lib/maz-dropzone.js +0 -664
- package/lib/maz-flex.d.ts +0 -3
- package/lib/maz-flex.js +0 -427
- package/lib/maz-gallery.d.ts +0 -3
- package/lib/maz-gallery.js +0 -672
- package/lib/maz-img.d.ts +0 -3
- package/lib/maz-img.js +0 -612
- package/lib/maz-input-tags.d.ts +0 -3
- package/lib/maz-input-tags.js +0 -1207
- package/lib/maz-input.d.ts +0 -3
- package/lib/maz-input.js +0 -1076
- package/lib/maz-list-item.d.ts +0 -3
- package/lib/maz-list-item.js +0 -304
- package/lib/maz-list.d.ts +0 -3
- package/lib/maz-list.js +0 -331
- package/lib/maz-loader.d.ts +0 -3
- package/lib/maz-loader.js +0 -304
- package/lib/maz-pagination.d.ts +0 -3
- package/lib/maz-pagination.js +0 -1414
- package/lib/maz-phone-number-input.d.ts +0 -3
- package/lib/maz-phone-number-input.js +0 -3776
- package/lib/maz-picker.d.ts +0 -3
- package/lib/maz-picker.js +0 -6474
- package/lib/maz-plotly.d.ts +0 -3
- package/lib/maz-plotly.js +0 -500
- package/lib/maz-progress-bar.d.ts +0 -3
- package/lib/maz-progress-bar.js +0 -398
- package/lib/maz-radio.d.ts +0 -3
- package/lib/maz-radio.js +0 -358
- package/lib/maz-read-more.d.ts +0 -3
- package/lib/maz-read-more.js +0 -344
- package/lib/maz-responsive-menu.d.ts +0 -3
- package/lib/maz-responsive-menu.js +0 -438
- package/lib/maz-search.d.ts +0 -3
- package/lib/maz-search.js +0 -1590
- package/lib/maz-select.d.ts +0 -3
- package/lib/maz-select.js +0 -2740
- package/lib/maz-sidebar.d.ts +0 -3
- package/lib/maz-sidebar.js +0 -815
- package/lib/maz-slider.d.ts +0 -3
- package/lib/maz-slider.js +0 -1014
- package/lib/maz-spinner.d.ts +0 -3
- package/lib/maz-spinner.js +0 -328
- package/lib/maz-stepper.d.ts +0 -3
- package/lib/maz-stepper.js +0 -1011
- package/lib/maz-switch.d.ts +0 -3
- package/lib/maz-switch.js +0 -375
- package/lib/maz-tabs-bar.d.ts +0 -3
- package/lib/maz-tabs-bar.js +0 -428
- package/lib/maz-tabs-content-item.d.ts +0 -3
- package/lib/maz-tabs-content-item.js +0 -376
- package/lib/maz-tabs-content.d.ts +0 -3
- package/lib/maz-tabs-content.js +0 -367
- package/lib/maz-transition-expand.d.ts +0 -3
- package/lib/maz-transition-expand.js +0 -328
- package/lib/maz-ui.common.d.ts +0 -1
- package/lib/maz-ui.common.js +0 -17202
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
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>;
|
|
@@ -0,0 +1,255 @@
|
|
|
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
|
+
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
112
|
+
[key: string]: any;
|
|
113
|
+
}>, 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<{
|
|
114
|
+
modelValue: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
validator: (prop: string) => boolean;
|
|
117
|
+
default: undefined;
|
|
118
|
+
};
|
|
119
|
+
id: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: undefined;
|
|
122
|
+
};
|
|
123
|
+
placeholder: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
defaultPhoneNumber: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: undefined;
|
|
130
|
+
};
|
|
131
|
+
defaultCountryCode: {
|
|
132
|
+
type: PropType<string>;
|
|
133
|
+
default: undefined;
|
|
134
|
+
validator: (code: string) => boolean;
|
|
135
|
+
};
|
|
136
|
+
preferredCountries: {
|
|
137
|
+
type: PropType<CountryCode[]>;
|
|
138
|
+
default: undefined;
|
|
139
|
+
};
|
|
140
|
+
ignoredCountries: {
|
|
141
|
+
type: PropType<CountryCode[]>;
|
|
142
|
+
default: undefined;
|
|
143
|
+
};
|
|
144
|
+
onlyCountries: {
|
|
145
|
+
type: PropType<CountryCode[]>;
|
|
146
|
+
default: undefined;
|
|
147
|
+
};
|
|
148
|
+
translations: {
|
|
149
|
+
type: PropType<{
|
|
150
|
+
countrySelector: {
|
|
151
|
+
placeholder: string;
|
|
152
|
+
error: string;
|
|
153
|
+
searchPlaceholder: string;
|
|
154
|
+
};
|
|
155
|
+
phoneInput: {
|
|
156
|
+
placeholder: string;
|
|
157
|
+
example: string;
|
|
158
|
+
};
|
|
159
|
+
}>;
|
|
160
|
+
default: undefined;
|
|
161
|
+
};
|
|
162
|
+
listPosition: {
|
|
163
|
+
type: PropType<Position>;
|
|
164
|
+
default: string;
|
|
165
|
+
validator: (value: Position) => boolean;
|
|
166
|
+
};
|
|
167
|
+
color: {
|
|
168
|
+
type: PropType<Color>;
|
|
169
|
+
default: string;
|
|
170
|
+
validator: (value: string) => boolean;
|
|
171
|
+
};
|
|
172
|
+
size: {
|
|
173
|
+
type: PropType<Size>;
|
|
174
|
+
default: string;
|
|
175
|
+
validator: (value: string) => boolean;
|
|
176
|
+
};
|
|
177
|
+
noFlags: {
|
|
178
|
+
type: BooleanConstructor;
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
181
|
+
disabled: {
|
|
182
|
+
type: BooleanConstructor;
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
185
|
+
noExample: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
189
|
+
noSearch: {
|
|
190
|
+
type: BooleanConstructor;
|
|
191
|
+
default: boolean;
|
|
192
|
+
};
|
|
193
|
+
noUseBrowserLocale: {
|
|
194
|
+
type: BooleanConstructor;
|
|
195
|
+
default: boolean;
|
|
196
|
+
};
|
|
197
|
+
fetchCountry: {
|
|
198
|
+
type: BooleanConstructor;
|
|
199
|
+
default: boolean;
|
|
200
|
+
};
|
|
201
|
+
noCountrySelector: {
|
|
202
|
+
type: BooleanConstructor;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
205
|
+
showCodeOnList: {
|
|
206
|
+
type: BooleanConstructor;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
error: {
|
|
210
|
+
type: BooleanConstructor;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
213
|
+
customCountriesList: {
|
|
214
|
+
type: PropType<Record<CountryCode, string>>;
|
|
215
|
+
default: undefined;
|
|
216
|
+
};
|
|
217
|
+
}>> & {
|
|
218
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
219
|
+
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
220
|
+
"onCountry-code"?: ((...args: any[]) => any) | undefined;
|
|
221
|
+
}, {
|
|
222
|
+
id: string;
|
|
223
|
+
modelValue: string;
|
|
224
|
+
placeholder: string;
|
|
225
|
+
defaultPhoneNumber: string;
|
|
226
|
+
defaultCountryCode: string;
|
|
227
|
+
preferredCountries: CountryCode[];
|
|
228
|
+
ignoredCountries: CountryCode[];
|
|
229
|
+
onlyCountries: CountryCode[];
|
|
230
|
+
translations: {
|
|
231
|
+
countrySelector: {
|
|
232
|
+
placeholder: string;
|
|
233
|
+
error: string;
|
|
234
|
+
searchPlaceholder: string;
|
|
235
|
+
};
|
|
236
|
+
phoneInput: {
|
|
237
|
+
placeholder: string;
|
|
238
|
+
example: string;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
listPosition: Position;
|
|
242
|
+
color: Color;
|
|
243
|
+
size: Size;
|
|
244
|
+
noFlags: boolean;
|
|
245
|
+
disabled: boolean;
|
|
246
|
+
noExample: boolean;
|
|
247
|
+
noSearch: boolean;
|
|
248
|
+
noUseBrowserLocale: boolean;
|
|
249
|
+
fetchCountry: boolean;
|
|
250
|
+
noCountrySelector: boolean;
|
|
251
|
+
showCodeOnList: boolean;
|
|
252
|
+
error: boolean;
|
|
253
|
+
customCountriesList: Record<CountryCode, string>;
|
|
254
|
+
}>;
|
|
255
|
+
export default _default;
|