maz-ui 3.44.4-beta.0 → 3.44.4-beta.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/MazAccordion.d.ts +12 -10
- package/components/MazAnimatedCounter.d.ts +15 -13
- package/components/MazAvatar.d.ts +9 -7
- package/components/MazBackdrop.d.ts +12 -21
- package/components/MazBadge.d.ts +6 -4
- package/components/MazBottomSheet.d.ts +8 -6
- package/components/MazBtn.d.ts +12 -10
- package/components/MazCard.d.ts +16 -14
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.d.ts +7 -5
- package/components/MazCarousel.d.ts +9 -7
- package/components/MazChart.d.ts +6 -6
- package/components/MazCheckbox.d.ts +7 -5
- package/components/MazCircularProgressBar.d.ts +27 -24
- package/components/MazDialog.d.ts +16 -24
- package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +29 -29
- package/components/MazDrawer.d.ts +12 -10
- package/components/MazDropdown.d.ts +27 -25
- package/components/MazDropzone.d.ts +15 -15
- package/components/MazExpandAnimation.d.ts +6 -4
- package/components/MazFullscreenLoader.d.ts +6 -4
- package/components/MazIcon.d.ts +3 -3
- package/components/MazInput.d.ts +15 -133
- package/components/MazInputCode.d.ts +2 -2
- package/components/MazInputNumber.d.ts +2 -2
- package/components/MazInputPrice.d.ts +7 -5
- package/components/MazInputTags.d.ts +1 -1
- package/components/MazLazyImg.d.ts +9 -7
- package/components/MazLink.d.ts +10 -8
- package/components/MazPagination.d.ts +20 -18
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +53 -70
- package/components/MazPhoneNumberInput.d.ts +17 -25
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +3 -3
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +3 -3
- package/components/MazPicker.d.ts +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.d.ts +9 -7
- package/components/MazRadio.d.ts +27 -24
- package/components/MazRadioButtons.d.ts +10 -8
- package/components/MazReadingProgressBar.d.ts +1 -1
- package/components/MazSelect.d.ts +16 -125
- package/components/MazSelect.mjs +1 -1
- package/components/MazStepper.d.ts +10 -8
- package/components/MazSwitch.d.ts +9 -7
- package/components/MazTable.d.ts +67 -65
- package/components/MazTable.mjs +1 -1
- package/components/MazTableCell.d.ts +4 -2
- package/components/MazTableRow.d.ts +4 -2
- package/components/MazTableTitle.d.ts +4 -2
- package/components/MazTabs.d.ts +6 -4
- package/components/MazTabsBar.d.ts +18 -16
- package/components/MazTabsContent.d.ts +4 -2
- package/components/MazTabsContentItem.d.ts +6 -4
- package/components/MazTextarea.d.ts +1 -1
- package/components/MazTransitionExpand.d.ts +6 -4
- package/components/MazTransitionExpand.mjs +2 -2
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazPickerMonthSwitcher.css +1 -1
- package/components/assets/MazPickerYearSwitcher.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/assets/MazTransitionExpand.css +1 -1
- package/components/chunks/{MazBtn-B5XwteK7.mjs → MazBtn-BURByjBO.mjs} +2 -2
- package/components/chunks/{MazBtn-CQSo596y.mjs → MazBtn-D1TNsXIe.mjs} +2 -2
- package/components/chunks/{MazBtn-gj2W8kzn.mjs → MazBtn-YtY4PeyZ.mjs} +2 -2
- package/components/chunks/{MazCard-BBwohtCJ.mjs → MazCard-BiDXoNWK.mjs} +1 -1
- package/components/chunks/{MazCheckbox-isKq9dAX.mjs → MazCheckbox-BMzMZ-_l.mjs} +1 -1
- package/components/chunks/{MazCheckbox-CqHZNrGa.mjs → MazCheckbox-B_Rx3ZCe.mjs} +1 -1
- package/components/chunks/{MazGallery-Din0Z37d.mjs → MazGallery-SSMQ_JIA.mjs} +2 -2
- package/components/chunks/{MazIcon-D2DkwtXq.mjs → MazIcon-CwITLbPL.mjs} +1 -1
- package/components/chunks/{MazIcon-DHzZGzIp.mjs → MazIcon-x_aGvHlZ.mjs} +1 -1
- package/components/chunks/{MazPhoneNumberInput-CYcy4OZW.mjs → MazPhoneNumberInput-fo2MtuWB.mjs} +6 -6
- package/components/chunks/{MazPicker-DCTIkgDd.mjs → MazPicker-Df-LRtwz.mjs} +2 -2
- package/components/chunks/{MazPickerMonthSwitcher-CINBaU3n.mjs → MazPickerMonthSwitcher-CrrfUDPA.mjs} +2 -2
- package/components/chunks/{MazPickerShortcuts-vvPV1aW8.mjs → MazPickerShortcuts-Dpm1ra_Y.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-CkqFNhde.mjs → MazPickerYearSwitcher-BIeGuXI7.mjs} +2 -2
- package/components/chunks/{MazSelect-DvNLFDvj.mjs → MazSelect-xBiD7HuJ.mjs} +6 -6
- package/components/chunks/{MazSpinner-C7s8yroP.mjs → MazSpinner-C5MXwcx7.mjs} +1 -1
- package/components/chunks/{MazSpinner-BVd7-OTu.mjs → MazSpinner-CrDTibNk.mjs} +1 -1
- package/components/chunks/{MazSpinner-CpYgtvc9.mjs → MazSpinner-CvucKhXp.mjs} +1 -1
- package/components/chunks/MazSpinner-DDmCKWOx.mjs +37 -0
- package/components/chunks/{MazSpinner-CAG800x4.mjs → MazSpinner-QIX5R4Hk.mjs} +1 -1
- package/components/chunks/{MazTable-BN-Yp2RW.mjs → MazTable-1D7GRSpa.mjs} +6 -6
- package/components/chunks/{MazTransitionExpand-CYyEf_hd.mjs → MazTransitionExpand-BLFZPAt_.mjs} +11 -11
- package/modules/assets/index.css +1 -1
- package/modules/chunks/{MazBtn-BVqZ8Wej.cjs → MazBtn-BLvj2Vcl.cjs} +1 -1
- package/modules/chunks/{MazBtn-Cuj6yEZn.mjs → MazBtn-DhVNaOBj.mjs} +2 -2
- package/modules/chunks/{MazIcon-CyWCmQpN.cjs → MazIcon-BhCADEJL.cjs} +1 -1
- package/modules/chunks/{MazIcon-COFexHFo.mjs → MazIcon-ZPJHGsC7.mjs} +1 -1
- package/modules/chunks/{MazSpinner-BtXwGTnk.mjs → MazSpinner-Dx_yL6x9.mjs} +1 -1
- package/modules/chunks/{MazSpinner-Dz0kdTmr.cjs → MazSpinner-OdoRwyjg.cjs} +1 -1
- package/modules/chunks/{index-DW2zAKgR.cjs → index-BT3W7L22.cjs} +2 -2
- package/modules/chunks/{index-BBOf37yd.mjs → index-CgWq2KzW.mjs} +363 -360
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +2 -2
- package/nuxt/types.d.mts +4 -23
- package/nuxt/types.d.ts +4 -23
- package/package.json +25 -25
- package/types/components/MazAccordion.vue.d.ts +12 -10
- package/types/components/MazAnimatedCounter.vue.d.ts +15 -13
- package/types/components/MazAvatar.vue.d.ts +9 -7
- package/types/components/MazBackdrop.vue.d.ts +12 -21
- package/types/components/MazBadge.vue.d.ts +6 -4
- package/types/components/MazBottomSheet.vue.d.ts +8 -6
- package/types/components/MazBtn.vue.d.ts +12 -10
- package/types/components/MazCard.vue.d.ts +16 -14
- package/types/components/MazCardSpotlight.vue.d.ts +7 -5
- package/types/components/MazCarousel.vue.d.ts +9 -7
- package/types/components/MazChart.vue.d.ts +6 -6
- package/types/components/MazCheckbox.vue.d.ts +7 -5
- package/types/components/MazCircularProgressBar.vue.d.ts +27 -24
- package/types/components/MazDialog.vue.d.ts +16 -24
- package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +29 -29
- package/types/components/MazDrawer.vue.d.ts +12 -10
- package/types/components/MazDropdown.vue.d.ts +27 -25
- package/types/components/MazDropzone.vue.d.ts +15 -15
- package/types/components/MazExpandAnimation.vue.d.ts +6 -4
- package/types/components/MazFullscreenLoader.vue.d.ts +6 -4
- package/types/components/MazIcon.vue.d.ts +3 -3
- package/types/components/MazInput.vue.d.ts +15 -133
- package/types/components/MazInputCode.vue.d.ts +2 -2
- package/types/components/MazInputNumber.vue.d.ts +2 -2
- package/types/components/MazInputPrice.vue.d.ts +7 -5
- package/types/components/MazInputTags.vue.d.ts +1 -1
- package/types/components/MazLazyImg.vue.d.ts +9 -7
- package/types/components/MazLink.vue.d.ts +10 -8
- package/types/components/MazPagination.vue.d.ts +20 -18
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +53 -70
- package/types/components/MazPhoneNumberInput.vue.d.ts +17 -25
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +3 -3
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +3 -3
- package/types/components/MazPicker.vue.d.ts +1 -1
- package/types/components/MazPullToRefresh.vue.d.ts +9 -7
- package/types/components/MazRadio.vue.d.ts +27 -24
- package/types/components/MazRadioButtons.vue.d.ts +10 -8
- package/types/components/MazReadingProgressBar.vue.d.ts +1 -1
- package/types/components/MazSelect.vue.d.ts +16 -125
- package/types/components/MazStepper.vue.d.ts +10 -8
- package/types/components/MazSwitch.vue.d.ts +9 -7
- package/types/components/MazTable.vue.d.ts +67 -65
- package/types/components/MazTableCell.vue.d.ts +4 -2
- package/types/components/MazTableRow.vue.d.ts +4 -2
- package/types/components/MazTableTitle.vue.d.ts +4 -2
- package/types/components/MazTabs.vue.d.ts +6 -4
- package/types/components/MazTabsBar.vue.d.ts +18 -16
- package/types/components/MazTabsContent.vue.d.ts +4 -2
- package/types/components/MazTabsContentItem.vue.d.ts +6 -4
- package/types/components/MazTextarea.vue.d.ts +1 -1
- package/types/components/MazTransitionExpand.vue.d.ts +6 -4
- package/types/modules/composables/use-form-validator/index.d.ts +5 -7
- package/types/modules/composables/use-form-validator/types.d.ts +16 -11
- package/types/modules/composables/use-form-validator/utils.d.ts +13 -13
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
- package/types/modules/plugins/toaster/MazToast.vue.d.ts +1 -1
- package/types/tailwindcss/tailwind.config.d.ts +2 -2
- package/components/chunks/MazSpinner-D1paofz3.mjs +0 -37
|
@@ -31,7 +31,10 @@ export interface Props {
|
|
|
31
31
|
/** The fallback src to replace the src on loading error */
|
|
32
32
|
fallbackSrc?: string;
|
|
33
33
|
}
|
|
34
|
-
declare
|
|
34
|
+
declare function __VLS_template(): {
|
|
35
|
+
default?(_: {}): any;
|
|
36
|
+
};
|
|
37
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
35
38
|
style: undefined;
|
|
36
39
|
class: undefined;
|
|
37
40
|
image: undefined;
|
|
@@ -63,15 +66,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
63
66
|
image: Image | null;
|
|
64
67
|
alt: string;
|
|
65
68
|
observerOptions: {
|
|
66
|
-
root?: HTMLElement | null
|
|
69
|
+
root?: HTMLElement | null;
|
|
67
70
|
threshold: number;
|
|
68
|
-
rootMargin?: string
|
|
71
|
+
rootMargin?: string;
|
|
69
72
|
};
|
|
70
73
|
fallbackSrc: string;
|
|
71
|
-
class:
|
|
72
|
-
}, {}
|
|
73
|
-
|
|
74
|
-
}>;
|
|
74
|
+
class: HTMLAttributes["class"];
|
|
75
|
+
}, {}>;
|
|
76
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
75
77
|
export default _default;
|
|
76
78
|
type __VLS_WithDefaults<P, D> = {
|
|
77
79
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
package/components/MazLink.d.ts
CHANGED
|
@@ -49,7 +49,13 @@ export interface Props {
|
|
|
49
49
|
*/
|
|
50
50
|
rightIcon?: string | Icon;
|
|
51
51
|
}
|
|
52
|
-
declare
|
|
52
|
+
declare function __VLS_template(): {
|
|
53
|
+
"left-icon"?(_: {}): any;
|
|
54
|
+
default?(_: {}): any;
|
|
55
|
+
"right-icon"?(_: {}): any;
|
|
56
|
+
"external-icon"?(_: {}): any;
|
|
57
|
+
};
|
|
58
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
53
59
|
id: undefined;
|
|
54
60
|
title: undefined;
|
|
55
61
|
color: string;
|
|
@@ -82,7 +88,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
82
88
|
id: string;
|
|
83
89
|
href: string;
|
|
84
90
|
color: Color;
|
|
85
|
-
target: string;
|
|
91
|
+
target: "_blank" | "_self" | "_parent" | "_top" | string;
|
|
86
92
|
leftIcon: string | Icon;
|
|
87
93
|
rightIcon: string | Icon;
|
|
88
94
|
to: RouteLocationRaw;
|
|
@@ -91,12 +97,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
91
97
|
ariaLabel: string;
|
|
92
98
|
underline: boolean;
|
|
93
99
|
underlineOnlyHover: boolean;
|
|
94
|
-
}, {}
|
|
95
|
-
|
|
96
|
-
default?(_: {}): any;
|
|
97
|
-
"right-icon"?(_: {}): any;
|
|
98
|
-
"external-icon"?(_: {}): any;
|
|
99
|
-
}>;
|
|
100
|
+
}, {}>;
|
|
101
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
100
102
|
export default _default;
|
|
101
103
|
type __VLS_WithDefaults<P, D> = {
|
|
102
104
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -32,7 +32,24 @@ interface MazPagnationProps {
|
|
|
32
32
|
loading?: boolean;
|
|
33
33
|
}
|
|
34
34
|
export type { MazPagnationProps as Props };
|
|
35
|
-
declare
|
|
35
|
+
declare function __VLS_template(): {
|
|
36
|
+
"first-page-sr"?(_: {
|
|
37
|
+
page: number;
|
|
38
|
+
}): any;
|
|
39
|
+
"previous-page-sr"?(_: {
|
|
40
|
+
page: number;
|
|
41
|
+
}): any;
|
|
42
|
+
"page-sr"?(_: {
|
|
43
|
+
page: number;
|
|
44
|
+
}): any;
|
|
45
|
+
"next-page-sr"?(_: {
|
|
46
|
+
page: number;
|
|
47
|
+
}): any;
|
|
48
|
+
"last-page-sr"?(_: {
|
|
49
|
+
page: number;
|
|
50
|
+
}): any;
|
|
51
|
+
};
|
|
52
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MazPagnationProps>, {
|
|
36
53
|
modelValue: number;
|
|
37
54
|
buttonProps: undefined;
|
|
38
55
|
pageRange: number;
|
|
@@ -57,23 +74,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
57
74
|
resultsSize: number;
|
|
58
75
|
activeColor: Color;
|
|
59
76
|
pageRange: number;
|
|
60
|
-
}, {}
|
|
61
|
-
|
|
62
|
-
page: number;
|
|
63
|
-
}): any;
|
|
64
|
-
"previous-page-sr"?(_: {
|
|
65
|
-
page: number;
|
|
66
|
-
}): any;
|
|
67
|
-
"page-sr"?(_: {
|
|
68
|
-
page: number;
|
|
69
|
-
}): any;
|
|
70
|
-
"next-page-sr"?(_: {
|
|
71
|
-
page: number;
|
|
72
|
-
}): any;
|
|
73
|
-
"last-page-sr"?(_: {
|
|
74
|
-
page: number;
|
|
75
|
-
}): any;
|
|
76
|
-
}>;
|
|
77
|
+
}, {}>;
|
|
78
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
77
79
|
export default _default;
|
|
78
80
|
type __VLS_WithDefaults<P, D> = {
|
|
79
81
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,39 +1,41 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { type HTMLAttributes } from 'vue';
|
|
2
|
+
import type { Color, CountryCode, Position, Size, Translations } from '../MazPhoneNumberInput.vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
"selector-flag"?(_: {
|
|
5
|
+
countryCode: CountryCode;
|
|
6
|
+
}): any;
|
|
7
|
+
"no-results"?(_: {}): any;
|
|
8
|
+
"country-list-flag"?(_: {
|
|
9
|
+
countryCode: string;
|
|
10
|
+
option: import("../MazSelect.vue").NormalizedOption;
|
|
11
|
+
isSelected: boolean;
|
|
12
|
+
}): any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
15
|
/** Style attribut of the component root element */
|
|
4
|
-
style?:
|
|
16
|
+
style?: HTMLAttributes["style"];
|
|
5
17
|
/** Class attribut of the component root element */
|
|
6
|
-
class?:
|
|
7
|
-
modelValue?: CountryCode
|
|
18
|
+
class?: HTMLAttributes["class"];
|
|
19
|
+
modelValue?: CountryCode;
|
|
8
20
|
id: string;
|
|
9
21
|
color: Color;
|
|
10
22
|
size: Size;
|
|
11
|
-
preferredCountries?: CountryCode[]
|
|
12
|
-
ignoredCountries?: CountryCode[]
|
|
13
|
-
onlyCountries?: CountryCode[]
|
|
14
|
-
customCountriesList?: Record<CountryCode, string
|
|
15
|
-
locales:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
listPosition?: Position | undefined;
|
|
27
|
-
noFlags?: boolean | undefined;
|
|
28
|
-
noSearch?: boolean | undefined;
|
|
29
|
-
disabled?: boolean | undefined;
|
|
30
|
-
showCodeOnList?: boolean | undefined;
|
|
31
|
-
countryLocale?: string | undefined;
|
|
32
|
-
success?: boolean | undefined;
|
|
33
|
-
error?: boolean | undefined;
|
|
34
|
-
countrySelectorDisplayName?: boolean | undefined;
|
|
23
|
+
preferredCountries?: CountryCode[];
|
|
24
|
+
ignoredCountries?: CountryCode[];
|
|
25
|
+
onlyCountries?: CountryCode[];
|
|
26
|
+
customCountriesList?: Record<CountryCode, string>;
|
|
27
|
+
locales: Translations;
|
|
28
|
+
listPosition?: Position;
|
|
29
|
+
noFlags?: boolean;
|
|
30
|
+
noSearch?: boolean;
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
showCodeOnList?: boolean;
|
|
33
|
+
countryLocale?: string;
|
|
34
|
+
success?: boolean;
|
|
35
|
+
error?: boolean;
|
|
36
|
+
countrySelectorDisplayName?: boolean;
|
|
35
37
|
width: string;
|
|
36
|
-
excludeSelectors?: string[]
|
|
38
|
+
excludeSelectors?: string[];
|
|
37
39
|
}>, {
|
|
38
40
|
class: undefined;
|
|
39
41
|
style: undefined;
|
|
@@ -50,39 +52,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
50
52
|
"update:model-value": (countryCode?: CountryCode | undefined) => void;
|
|
51
53
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
52
54
|
/** Style attribut of the component root element */
|
|
53
|
-
style?:
|
|
55
|
+
style?: HTMLAttributes["style"];
|
|
54
56
|
/** Class attribut of the component root element */
|
|
55
|
-
class?:
|
|
56
|
-
modelValue?: CountryCode
|
|
57
|
+
class?: HTMLAttributes["class"];
|
|
58
|
+
modelValue?: CountryCode;
|
|
57
59
|
id: string;
|
|
58
60
|
color: Color;
|
|
59
61
|
size: Size;
|
|
60
|
-
preferredCountries?: CountryCode[]
|
|
61
|
-
ignoredCountries?: CountryCode[]
|
|
62
|
-
onlyCountries?: CountryCode[]
|
|
63
|
-
customCountriesList?: Record<CountryCode, string
|
|
64
|
-
locales:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
};
|
|
75
|
-
listPosition?: Position | undefined;
|
|
76
|
-
noFlags?: boolean | undefined;
|
|
77
|
-
noSearch?: boolean | undefined;
|
|
78
|
-
disabled?: boolean | undefined;
|
|
79
|
-
showCodeOnList?: boolean | undefined;
|
|
80
|
-
countryLocale?: string | undefined;
|
|
81
|
-
success?: boolean | undefined;
|
|
82
|
-
error?: boolean | undefined;
|
|
83
|
-
countrySelectorDisplayName?: boolean | undefined;
|
|
62
|
+
preferredCountries?: CountryCode[];
|
|
63
|
+
ignoredCountries?: CountryCode[];
|
|
64
|
+
onlyCountries?: CountryCode[];
|
|
65
|
+
customCountriesList?: Record<CountryCode, string>;
|
|
66
|
+
locales: Translations;
|
|
67
|
+
listPosition?: Position;
|
|
68
|
+
noFlags?: boolean;
|
|
69
|
+
noSearch?: boolean;
|
|
70
|
+
disabled?: boolean;
|
|
71
|
+
showCodeOnList?: boolean;
|
|
72
|
+
countryLocale?: string;
|
|
73
|
+
success?: boolean;
|
|
74
|
+
error?: boolean;
|
|
75
|
+
countrySelectorDisplayName?: boolean;
|
|
84
76
|
width: string;
|
|
85
|
-
excludeSelectors?: string[]
|
|
77
|
+
excludeSelectors?: string[];
|
|
86
78
|
}>, {
|
|
87
79
|
class: undefined;
|
|
88
80
|
style: undefined;
|
|
@@ -99,7 +91,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
99
91
|
"onUpdate:model-value"?: ((countryCode?: CountryCode | undefined) => any) | undefined;
|
|
100
92
|
}, {
|
|
101
93
|
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
102
|
-
class:
|
|
94
|
+
class: HTMLAttributes["class"];
|
|
103
95
|
width: string;
|
|
104
96
|
modelValue: CountryCode;
|
|
105
97
|
listPosition: Position;
|
|
@@ -109,17 +101,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
109
101
|
onlyCountries: CountryCode[];
|
|
110
102
|
customCountriesList: Record<CountryCode, string>;
|
|
111
103
|
countryLocale: string;
|
|
112
|
-
}, {}
|
|
113
|
-
|
|
114
|
-
countryCode: CountryCode;
|
|
115
|
-
}): any;
|
|
116
|
-
"no-results"?(_: {}): any;
|
|
117
|
-
"country-list-flag"?(_: {
|
|
118
|
-
countryCode: string;
|
|
119
|
-
option: import("../MazSelect.vue").NormalizedOption;
|
|
120
|
-
isSelected: boolean;
|
|
121
|
-
}): any;
|
|
122
|
-
}>;
|
|
104
|
+
}, {}>;
|
|
105
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
123
106
|
export default _default;
|
|
124
107
|
type __VLS_WithDefaults<P, D> = {
|
|
125
108
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -103,7 +103,18 @@ export interface InjectedData {
|
|
|
103
103
|
results: Ref<Results>;
|
|
104
104
|
selectionRange: Ref<SelectionRange>;
|
|
105
105
|
}
|
|
106
|
-
declare
|
|
106
|
+
declare function __VLS_template(): {
|
|
107
|
+
"no-results"?(_: {}): any;
|
|
108
|
+
"selector-flag"?(_: {
|
|
109
|
+
countryCode: CountryCode;
|
|
110
|
+
}): any;
|
|
111
|
+
"country-list-flag"?(_: {
|
|
112
|
+
countryCode: import("./types").ModelValueSimple;
|
|
113
|
+
option: import("./MazSelect.vue").NormalizedOption;
|
|
114
|
+
isSelected: boolean;
|
|
115
|
+
}): any;
|
|
116
|
+
};
|
|
117
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
107
118
|
class: undefined;
|
|
108
119
|
style: undefined;
|
|
109
120
|
listPosition: string;
|
|
@@ -171,10 +182,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
171
182
|
size: Size;
|
|
172
183
|
label: string;
|
|
173
184
|
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
174
|
-
orientation: "
|
|
185
|
+
orientation: "row" | "col" | "responsive";
|
|
175
186
|
id: string;
|
|
176
187
|
color: Color;
|
|
177
|
-
class:
|
|
188
|
+
class: HTMLAttributes["class"];
|
|
178
189
|
modelValue: string;
|
|
179
190
|
placeholder: string;
|
|
180
191
|
listPosition: Position;
|
|
@@ -189,29 +200,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
189
200
|
noFormattingAsYouType: boolean;
|
|
190
201
|
defaultPhoneNumber: string;
|
|
191
202
|
defaultCountryCode: CountryCode;
|
|
192
|
-
translations: Partial<
|
|
193
|
-
countrySelector: {
|
|
194
|
-
placeholder: string;
|
|
195
|
-
error: string;
|
|
196
|
-
searchPlaceholder: string;
|
|
197
|
-
};
|
|
198
|
-
phoneInput: {
|
|
199
|
-
placeholder: string;
|
|
200
|
-
example: string;
|
|
201
|
-
};
|
|
202
|
-
}>;
|
|
203
|
+
translations: Partial<Translations>;
|
|
203
204
|
countrySelectorWidth: string;
|
|
204
|
-
}, {}
|
|
205
|
-
|
|
206
|
-
"selector-flag"?(_: {
|
|
207
|
-
countryCode: CountryCode;
|
|
208
|
-
}): any;
|
|
209
|
-
"country-list-flag"?(_: {
|
|
210
|
-
countryCode: import("./types").ModelValueSimple;
|
|
211
|
-
option: import("./MazSelect.vue").NormalizedOption;
|
|
212
|
-
isSelected: boolean;
|
|
213
|
-
}): any;
|
|
214
|
-
}>;
|
|
205
|
+
}, {}>;
|
|
206
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
215
207
|
export default _default;
|
|
216
208
|
type __VLS_WithDefaults<P, D> = {
|
|
217
209
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import dayjs from 'dayjs';
|
|
2
|
+
import dayjs, { type Dayjs } from 'dayjs';
|
|
3
3
|
import type { PickerValue } from '../types';
|
|
4
4
|
import type { Color } from '../../types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
required: true;
|
|
45
45
|
};
|
|
46
46
|
hoverredDay: {
|
|
47
|
-
type: PropType<
|
|
47
|
+
type: PropType<Dayjs>;
|
|
48
48
|
default: undefined;
|
|
49
49
|
};
|
|
50
50
|
disabled: {
|
|
@@ -96,7 +96,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
96
|
required: true;
|
|
97
97
|
};
|
|
98
98
|
hoverredDay: {
|
|
99
|
-
type: PropType<
|
|
99
|
+
type: PropType<Dayjs>;
|
|
100
100
|
default: undefined;
|
|
101
101
|
};
|
|
102
102
|
disabled: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import dayjs from 'dayjs';
|
|
2
|
+
import dayjs, { type Dayjs } from 'dayjs';
|
|
3
3
|
import type { PickerValue } from '../types';
|
|
4
4
|
import type { Color } from './../../types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
48
|
required: true;
|
|
49
49
|
};
|
|
50
50
|
hoverredDay: {
|
|
51
|
-
type: PropType<
|
|
51
|
+
type: PropType<Dayjs>;
|
|
52
52
|
default: undefined;
|
|
53
53
|
};
|
|
54
54
|
disabled: {
|
|
@@ -105,7 +105,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
105
|
required: true;
|
|
106
106
|
};
|
|
107
107
|
hoverredDay: {
|
|
108
|
-
type: PropType<
|
|
108
|
+
type: PropType<Dayjs>;
|
|
109
109
|
default: undefined;
|
|
110
110
|
};
|
|
111
111
|
disabled: {
|
|
@@ -163,7 +163,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
163
163
|
open: boolean;
|
|
164
164
|
disabled: boolean;
|
|
165
165
|
color: Color;
|
|
166
|
-
class:
|
|
166
|
+
class: HTMLAttributes["class"];
|
|
167
167
|
format: string;
|
|
168
168
|
modelValue: string | Partial<import("./MazPicker/types").RangeValue>;
|
|
169
169
|
locale: string;
|
package/components/MazPicker.mjs
CHANGED
|
@@ -10,7 +10,13 @@ export interface Props {
|
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
standaloneMode?: boolean;
|
|
12
12
|
}
|
|
13
|
-
declare
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
"pull-before"?(_: {}): any;
|
|
15
|
+
"pull-ready"?(_: {}): any;
|
|
16
|
+
"pull-loading"?(_: {}): any;
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
14
20
|
distance: number;
|
|
15
21
|
offset: number;
|
|
16
22
|
action: undefined;
|
|
@@ -49,12 +55,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
49
55
|
headerClass: string;
|
|
50
56
|
spinnerColor: Color;
|
|
51
57
|
standaloneMode: boolean;
|
|
52
|
-
}, {}
|
|
53
|
-
|
|
54
|
-
"pull-ready"?(_: {}): any;
|
|
55
|
-
"pull-loading"?(_: {}): any;
|
|
56
|
-
default?(_: {}): any;
|
|
57
|
-
}>;
|
|
58
|
+
}, {}>;
|
|
59
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
58
60
|
export default _default;
|
|
59
61
|
type __VLS_WithDefaults<P, D> = {
|
|
60
62
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
package/components/MazRadio.d.ts
CHANGED
|
@@ -1,26 +1,33 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'vue';
|
|
1
2
|
import type { Color, Size } from './types';
|
|
2
3
|
export type { Color, Size };
|
|
3
|
-
declare
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {
|
|
6
|
+
isSelected: boolean;
|
|
7
|
+
value: string | number | boolean;
|
|
8
|
+
}): any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
11
|
/** Style attribut of the component root element */
|
|
5
|
-
style?:
|
|
12
|
+
style?: HTMLAttributes["style"];
|
|
6
13
|
/** Class attribut of the component root element */
|
|
7
|
-
class?:
|
|
14
|
+
class?: HTMLAttributes["class"];
|
|
8
15
|
/** The id of the radio */
|
|
9
|
-
id?: string
|
|
16
|
+
id?: string;
|
|
10
17
|
/** @model The value of the radio */
|
|
11
|
-
modelValue?: string | number | boolean
|
|
18
|
+
modelValue?: string | number | boolean;
|
|
12
19
|
/** The value of the radio */
|
|
13
20
|
value: string | number | boolean;
|
|
14
21
|
/** The name of the radio */
|
|
15
22
|
name: string;
|
|
16
23
|
/** The label of the radio */
|
|
17
|
-
label?: string
|
|
24
|
+
label?: string;
|
|
18
25
|
/** The color of the radio */
|
|
19
|
-
color?: Color
|
|
26
|
+
color?: Color;
|
|
20
27
|
/** The size of the radio */
|
|
21
|
-
size?: Size
|
|
28
|
+
size?: Size;
|
|
22
29
|
/** The disabled state of the radio */
|
|
23
|
-
disabled?: boolean
|
|
30
|
+
disabled?: boolean;
|
|
24
31
|
}>, {
|
|
25
32
|
style: undefined;
|
|
26
33
|
class: undefined;
|
|
@@ -35,25 +42,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
35
42
|
change: (value: string | number | boolean) => void;
|
|
36
43
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
37
44
|
/** Style attribut of the component root element */
|
|
38
|
-
style?:
|
|
45
|
+
style?: HTMLAttributes["style"];
|
|
39
46
|
/** Class attribut of the component root element */
|
|
40
|
-
class?:
|
|
47
|
+
class?: HTMLAttributes["class"];
|
|
41
48
|
/** The id of the radio */
|
|
42
|
-
id?: string
|
|
49
|
+
id?: string;
|
|
43
50
|
/** @model The value of the radio */
|
|
44
|
-
modelValue?: string | number | boolean
|
|
51
|
+
modelValue?: string | number | boolean;
|
|
45
52
|
/** The value of the radio */
|
|
46
53
|
value: string | number | boolean;
|
|
47
54
|
/** The name of the radio */
|
|
48
55
|
name: string;
|
|
49
56
|
/** The label of the radio */
|
|
50
|
-
label?: string
|
|
57
|
+
label?: string;
|
|
51
58
|
/** The color of the radio */
|
|
52
|
-
color?: Color
|
|
59
|
+
color?: Color;
|
|
53
60
|
/** The size of the radio */
|
|
54
|
-
size?: Size
|
|
61
|
+
size?: Size;
|
|
55
62
|
/** The disabled state of the radio */
|
|
56
|
-
disabled?: boolean
|
|
63
|
+
disabled?: boolean;
|
|
57
64
|
}>, {
|
|
58
65
|
style: undefined;
|
|
59
66
|
class: undefined;
|
|
@@ -73,14 +80,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
73
80
|
id: string;
|
|
74
81
|
disabled: boolean;
|
|
75
82
|
color: Color;
|
|
76
|
-
class:
|
|
83
|
+
class: HTMLAttributes["class"];
|
|
77
84
|
modelValue: string | number | boolean;
|
|
78
|
-
}, {}
|
|
79
|
-
|
|
80
|
-
isSelected: boolean;
|
|
81
|
-
value: string | number | boolean;
|
|
82
|
-
}): any;
|
|
83
|
-
}>;
|
|
85
|
+
}, {}>;
|
|
86
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
84
87
|
export default _default;
|
|
85
88
|
type __VLS_WithDefaults<P, D> = {
|
|
86
89
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -35,7 +35,13 @@ export interface Props {
|
|
|
35
35
|
/** The component will be displayed in full width */
|
|
36
36
|
block?: boolean;
|
|
37
37
|
}
|
|
38
|
-
declare
|
|
38
|
+
declare function __VLS_template(): {
|
|
39
|
+
default?(_: {
|
|
40
|
+
option: ButtonsRadioOption;
|
|
41
|
+
selected: boolean;
|
|
42
|
+
}): any;
|
|
43
|
+
};
|
|
44
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
39
45
|
modelValue: undefined;
|
|
40
46
|
name: string;
|
|
41
47
|
color: string;
|
|
@@ -63,7 +69,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
63
69
|
"onUpdate:model-value"?: ((value: string | number | boolean) => any) | undefined;
|
|
64
70
|
}, {
|
|
65
71
|
name: string;
|
|
66
|
-
orientation: "
|
|
72
|
+
orientation: "row" | "col";
|
|
67
73
|
color: Color;
|
|
68
74
|
block: boolean;
|
|
69
75
|
elevation: boolean;
|
|
@@ -71,12 +77,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
71
77
|
noWrap: boolean;
|
|
72
78
|
equalSize: boolean;
|
|
73
79
|
selector: boolean;
|
|
74
|
-
}, {}
|
|
75
|
-
|
|
76
|
-
option: ButtonsRadioOption;
|
|
77
|
-
selected: boolean;
|
|
78
|
-
}): any;
|
|
79
|
-
}>;
|
|
80
|
+
}, {}>;
|
|
81
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
80
82
|
export default _default;
|
|
81
83
|
type __VLS_WithDefaults<P, D> = {
|
|
82
84
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
67
67
|
teleportSelector: string;
|
|
68
68
|
distance: number;
|
|
69
69
|
contentSelector: string;
|
|
70
|
-
barClass:
|
|
70
|
+
barClass: HTMLAttributes["class"];
|
|
71
71
|
}, {}>;
|
|
72
72
|
export default _default;
|
|
73
73
|
type __VLS_WithDefaults<P, D> = {
|