maz-ui 3.37.2 → 3.37.4
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/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.d.ts +2 -2
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.d.ts +2 -0
- package/components/MazCard.mjs +1 -1
- package/components/MazCarousel.mjs +1 -1
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.mjs +1 -1
- package/components/MazDropdown.mjs +1 -1
- package/components/MazInput.mjs +1 -1
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.d.ts +4 -4
- package/components/MazInputTags.mjs +1 -1
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +8 -4
- package/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +2 -2
- package/components/MazPhoneNumberInput.d.ts +21 -8
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazRadio.d.ts +89 -92
- package/components/MazRadio.mjs +67 -73
- package/components/MazRadioButtons.d.ts +84 -62
- package/components/MazRadioButtons.mjs +112 -60
- package/components/MazSelect.d.ts +12 -7
- package/components/MazSelect.mjs +1 -1
- package/components/MazSwitch.d.ts +61 -67
- package/components/MazSwitch.mjs +41 -48
- package/components/MazTable.mjs +1 -1
- package/components/MazTextarea.d.ts +23 -8
- package/components/MazTextarea.mjs +1 -1
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazCard.css +1 -1
- package/components/assets/MazInputNumber.css +1 -1
- package/components/assets/MazInputTags.css +1 -1
- package/components/assets/MazPagination.css +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazRadio.css +1 -1
- package/components/assets/MazRadioButtons.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazSwitch.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/assets/MazTextarea.css +1 -1
- package/components/chunks/{MazBottomSheet-DZ1n4bGL.mjs → MazBottomSheet-B9OYmgyx.mjs} +1 -1
- package/components/chunks/{MazBtn-CnZU5zlG.mjs → MazBtn-4stpYG-V.mjs} +8 -8
- package/components/chunks/{MazBtn-Dbe098kd.mjs → MazBtn-BQZOiUux.mjs} +8 -8
- package/components/chunks/{MazBtn-DLYgzr9e.mjs → MazBtn-Bgt41rUb.mjs} +11 -11
- package/components/chunks/MazBtn-CNyFbl9Y.mjs +151 -0
- package/components/chunks/{MazBtn-BTHDxDz7.mjs → MazBtn-CrNEwd_M.mjs} +8 -8
- package/components/chunks/MazBtn-CyXtFeAh.mjs +151 -0
- package/components/chunks/{MazBtn-CnkBOGKK.mjs → MazBtn-DOtOjQOl.mjs} +11 -11
- package/components/chunks/{MazBtn-IH6bjzah.mjs → MazBtn-DXC8jXNK.mjs} +8 -8
- package/components/chunks/{MazBtn-Bo51KtKY.mjs → MazBtn-De3ZeaJJ.mjs} +8 -8
- package/components/chunks/{MazBtn-CDQAW3fg.mjs → MazBtn-g6VJMuer.mjs} +8 -8
- package/components/chunks/MazBtn-v1mwE1O3.mjs +151 -0
- package/components/chunks/{MazBtn-pLRsSxug.mjs → MazBtn-z9IFp0ZS.mjs} +8 -8
- package/components/chunks/{MazCard-CNE9c3L5.mjs → MazCard-E9Eg2VRn.mjs} +10 -8
- package/components/chunks/{MazCarousel-CMJgMJf1.mjs → MazCarousel-CtSpgIm6.mjs} +1 -1
- package/components/chunks/{MazCheckbox-DBlQwP82.mjs → MazCheckbox-BE7eLIkK.mjs} +1 -1
- package/components/chunks/{MazCheckbox-CXVe5vda.mjs → MazCheckbox-eSSrvpn9.mjs} +1 -1
- package/components/chunks/{MazDialog-BVqOTysP.mjs → MazDialog-CjsC6fGo.mjs} +1 -1
- package/components/chunks/{MazDialogPromise-BjciKAwR.mjs → MazDialogPromise-Blv60XZR.mjs} +2 -2
- package/components/chunks/{MazGallery-BUUq89aM.mjs → MazGallery-DRgvR7K0.mjs} +2 -2
- package/components/chunks/{MazIcon-BTsi1M-S.mjs → MazIcon-C_IIdjqr.mjs} +1 -1
- package/components/chunks/{MazInput-Caas-0Nk.mjs → MazInput-Dn4JzYhe.mjs} +1 -1
- package/components/chunks/{MazInputNumber-CnoCQQzg.mjs → MazInputNumber-Df31nPnc.mjs} +2 -2
- package/components/chunks/{MazInputPrice---5nCUKm.mjs → MazInputPrice-DATyEiwP.mjs} +1 -1
- package/components/chunks/{MazInputTags-CipoVBP2.mjs → MazInputTags-DBzwE87F.mjs} +3 -3
- package/components/chunks/{MazPagination-CXw3yqbu.mjs → MazPagination-BU6fSHr2.mjs} +2 -2
- package/components/chunks/MazPhoneNumberInput-D8hP4ZzW.mjs +1419 -0
- package/components/chunks/{MazPicker-CfhI75aw.mjs → MazPicker-D71j9m8h.mjs} +2 -2
- package/components/chunks/{MazPickerCalendar-DnkNE-Am.mjs → MazPickerCalendar-psuBcTR7.mjs} +3 -3
- package/components/chunks/{MazPickerHeader-Vt86yzXS.mjs → MazPickerHeader-BmqHJE0a.mjs} +1 -1
- package/components/chunks/{MazPickerMonthSwitcher-zfKhsjW1.mjs → MazPickerMonthSwitcher-DgU0pLkF.mjs} +2 -2
- package/components/chunks/{MazPickerShortcuts-DUIKfOO8.mjs → MazPickerShortcuts-D9YXi3Ns.mjs} +2 -2
- package/components/chunks/{MazPickerTime-B2znRxr2.mjs → MazPickerTime-8ZqSEb_N.mjs} +2 -2
- package/components/chunks/{MazPickerYearSwitcher-CB339kof.mjs → MazPickerYearSwitcher-D-zu0tMs.mjs} +3 -3
- package/components/chunks/MazSelect-Cc8JAFML.mjs +731 -0
- package/components/chunks/{MazSpinner-DFseK3o_.mjs → MazSpinner-2-OAJWTi.mjs} +1 -1
- package/components/chunks/MazSpinner-B0xEVmcj.mjs +38 -0
- package/components/chunks/{MazSpinner-2fDI3i5h.mjs → MazSpinner-B3Gt0AEt.mjs} +1 -1
- package/components/chunks/MazSpinner-B6Z6X_KC.mjs +38 -0
- package/components/chunks/{MazSpinner-CORsBFCP.mjs → MazSpinner-BVaJBGw5.mjs} +1 -1
- package/components/chunks/{MazSpinner-CJaSrYbQ.mjs → MazSpinner-BVflp3wp.mjs} +1 -1
- package/components/chunks/MazSpinner-BmqyUsTZ.mjs +38 -0
- package/components/chunks/{MazSpinner-XMLkiLTL.mjs → MazSpinner-Btk7fYzq.mjs} +1 -1
- package/components/chunks/{MazSpinner-BtFWH26r.mjs → MazSpinner-CAQqdZfW.mjs} +1 -1
- package/components/chunks/MazSpinner-COqX5baD.mjs +38 -0
- package/components/chunks/{MazSpinner-CVBVegaS.mjs → MazSpinner-CV3h3CKR.mjs} +1 -1
- package/components/chunks/MazSpinner-Cm5GeVV-.mjs +38 -0
- package/components/chunks/{MazSpinner-CkHAaRhk.mjs → MazSpinner-D9uDPRkX.mjs} +1 -1
- package/components/chunks/MazSpinner-DO1id61e.mjs +38 -0
- package/components/chunks/{MazSpinner-BAhgxOgg.mjs → MazSpinner-K26cuR_A.mjs} +1 -1
- package/components/chunks/MazSpinner-LCpiZGMP.mjs +38 -0
- package/components/chunks/MazTable-vcm_SC7e.mjs +1846 -0
- package/components/chunks/{MazTransitionExpand-BWsQP7UF.mjs → MazTransitionExpand-DXKtquVe.mjs} +1 -1
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/chunks/{MazBtn-BxYYeNGe.mjs → MazBtn-CNsgLyRm.mjs} +8 -8
- package/modules/chunks/{MazBtn-CHUwa3fu.cjs → MazBtn-DmXrGuUE.cjs} +2 -2
- package/modules/chunks/{MazIcon-CnOCvJTw.mjs → MazIcon-DwRWkhhR.mjs} +1 -1
- package/modules/chunks/{MazIcon-DcbutTbM.cjs → MazIcon-rh9PwwaQ.cjs} +1 -1
- package/modules/chunks/{MazSpinner-TL9_4BOs.cjs → MazSpinner-BzucVZXm.cjs} +1 -1
- package/modules/chunks/{MazSpinner-ClFhZyF_.mjs → MazSpinner-mCJd14Kq.mjs} +1 -1
- package/modules/chunks/{index-DksGhf51.cjs → index-DHsybBwE.cjs} +1 -1
- package/modules/chunks/{index-_xAQ9uTd.mjs → index-DrSSNP9y.mjs} +2 -2
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/nuxt/index.mjs +5 -5
- package/package.json +6 -6
- package/types/components/MazBtn.vue.d.ts +2 -2
- package/types/components/MazCard.vue.d.ts +2 -0
- package/types/components/MazInputTags.vue.d.ts +4 -4
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +8 -4
- package/types/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +2 -2
- package/types/components/MazPhoneNumberInput.vue.d.ts +21 -8
- package/types/components/MazRadio.vue.d.ts +89 -92
- package/types/components/MazRadioButtons.vue.d.ts +84 -62
- package/types/components/MazSelect.vue.d.ts +12 -7
- package/types/components/MazSwitch.vue.d.ts +61 -67
- package/types/components/MazTextarea.vue.d.ts +23 -8
- package/components/chunks/MazBtn-Cpnby6Lb.mjs +0 -151
- package/components/chunks/MazBtn-D-Axz-X0.mjs +0 -151
- package/components/chunks/MazBtn-Koayc6g_.mjs +0 -151
- package/components/chunks/MazPhoneNumberInput-CsX6Kqob.mjs +0 -1423
- package/components/chunks/MazSelect-DZeXglR8.mjs +0 -767
- package/components/chunks/MazSpinner-CdKm_Lcp.mjs +0 -38
- package/components/chunks/MazSpinner-CkdjTE0y.mjs +0 -38
- package/components/chunks/MazSpinner-DECa8Pby.mjs +0 -38
- package/components/chunks/MazSpinner-DMBy6mx3.mjs +0 -38
- package/components/chunks/MazSpinner-Dq4o-_GM.mjs +0 -38
- package/components/chunks/MazSpinner-DqXjnLKa.mjs +0 -38
- package/components/chunks/MazSpinner-DyE_USVF.mjs +0 -38
- package/components/chunks/MazTable-DrFqDO-J.mjs +0 -1882
package/components/MazBtn.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type FunctionalComponent, type SVGAttributes, type ComponentPublicInstance, type Component } from 'vue';
|
|
1
|
+
import { type FunctionalComponent, type SVGAttributes, type ComponentPublicInstance, type Component, type HTMLAttributes } from 'vue';
|
|
2
2
|
import type { Color, Size } from './types';
|
|
3
3
|
export type { Color, Size };
|
|
4
4
|
type Icon = FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component;
|
|
@@ -97,7 +97,7 @@ export type Props = {
|
|
|
97
97
|
*/
|
|
98
98
|
noElevation?: boolean;
|
|
99
99
|
/** The class applied to the content wrapper (<span />) of the button */
|
|
100
|
-
contentClass?:
|
|
100
|
+
contentClass?: HTMLAttributes['class'];
|
|
101
101
|
};
|
|
102
102
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
103
103
|
variant: string;
|
package/components/MazBtn.mjs
CHANGED
package/components/MazCard.d.ts
CHANGED
|
@@ -45,6 +45,8 @@ export type Props = {
|
|
|
45
45
|
collapseOpen?: boolean;
|
|
46
46
|
/** Title of the card in header */
|
|
47
47
|
header?: string;
|
|
48
|
+
/** The card will be displayed in full width */
|
|
49
|
+
block?: boolean;
|
|
48
50
|
};
|
|
49
51
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
50
52
|
images: undefined;
|
package/components/MazCard.mjs
CHANGED
package/components/MazDialog.mjs
CHANGED
package/components/MazDrawer.mjs
CHANGED
|
@@ -126,7 +126,7 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
|
|
|
126
126
|
},
|
|
127
127
|
emits: ["before-close", "open", "close", "update:model-value"],
|
|
128
128
|
setup(C) {
|
|
129
|
-
const c = z(() => import("./chunks/MazBtn-
|
|
129
|
+
const c = z(() => import("./chunks/MazBtn-Bgt41rUb.mjs").then((e) => e.M)), m = z(() => import("./chunks/x-mark-BP8zWe_C.mjs"));
|
|
130
130
|
return (e, n) => (d(), D(U, {
|
|
131
131
|
"backdrop-class": ["m-drawer", `--${e.variant}`, e.backdropClass],
|
|
132
132
|
style: F({
|
|
@@ -83,7 +83,7 @@ const de = {
|
|
|
83
83
|
"update:open"
|
|
84
84
|
],
|
|
85
85
|
setup(n, { emit: t }) {
|
|
86
|
-
const a = O(() => import("./chunks/MazBtn-
|
|
86
|
+
const a = O(() => import("./chunks/MazBtn-Bgt41rUb.mjs").then((e) => e.M)), m = O(() => import("./chunks/chevron-down-CzMH-gFW.mjs")), s = n, g = t, p = ae({
|
|
87
87
|
componentName: "MazDropdown",
|
|
88
88
|
providedId: s.id
|
|
89
89
|
}), i = I(s.open), r = I();
|
package/components/MazInput.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type HTMLAttributes } from 'vue';
|
|
2
2
|
import type { Color, Size } from './types';
|
|
3
3
|
export type { Color, Size };
|
|
4
4
|
export type Props = {
|
|
5
5
|
/** Style attribut of the component root element */
|
|
6
|
-
style?:
|
|
6
|
+
style?: HTMLAttributes['style'];
|
|
7
7
|
/** Class attribut of the component root element */
|
|
8
|
-
class?:
|
|
8
|
+
class?: HTMLAttributes['class'];
|
|
9
9
|
/** @model The modelValue of the input */
|
|
10
10
|
modelValue?: string[] | number[];
|
|
11
11
|
/** The placeholder of the input */
|
|
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
58
58
|
}, {
|
|
59
59
|
size: Size;
|
|
60
60
|
label: string;
|
|
61
|
-
style: string | false | import("vue").CSSProperties | StyleValue[] | null;
|
|
61
|
+
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
62
62
|
error: boolean;
|
|
63
63
|
disabled: boolean;
|
|
64
64
|
success: boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { type StyleValue } from 'vue';
|
|
2
1
|
import type { Color, Size, Position, CountryCode } from '../MazPhoneNumberInput.vue';
|
|
3
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
|
-
|
|
3
|
+
/** Style attribut of the component root element */
|
|
4
|
+
style?: import("vue").StyleValue;
|
|
5
|
+
/** Class attribut of the component root element */
|
|
5
6
|
class?: any;
|
|
6
7
|
modelValue?: CountryCode | undefined;
|
|
7
8
|
id: string;
|
|
@@ -46,7 +47,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
46
47
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
48
|
"update:model-value": (countryCode?: CountryCode | undefined) => void;
|
|
48
49
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
49
|
-
|
|
50
|
+
/** Style attribut of the component root element */
|
|
51
|
+
style?: import("vue").StyleValue;
|
|
52
|
+
/** Class attribut of the component root element */
|
|
50
53
|
class?: any;
|
|
51
54
|
modelValue?: CountryCode | undefined;
|
|
52
55
|
id: string;
|
|
@@ -91,7 +94,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
91
94
|
}>>> & {
|
|
92
95
|
"onUpdate:model-value"?: ((countryCode?: CountryCode | undefined) => any) | undefined;
|
|
93
96
|
}, {
|
|
94
|
-
style: string | false | import("vue").CSSProperties | StyleValue[] | null;
|
|
97
|
+
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
95
98
|
width: string;
|
|
96
99
|
class: any;
|
|
97
100
|
modelValue: CountryCode;
|
|
@@ -105,6 +108,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
105
108
|
"selector-flag"?(_: {
|
|
106
109
|
countryCode: CountryCode;
|
|
107
110
|
}): any;
|
|
111
|
+
"no-results"?(_: {}): any;
|
|
108
112
|
"country-list-flag"?(_: {
|
|
109
113
|
countryCode: string;
|
|
110
114
|
option: import("../MazSelect.vue").NormalizedOption;
|
|
@@ -42,11 +42,11 @@ export declare function useMazPhoneNumberInput(): {
|
|
|
42
42
|
fetchCountryCode: typeof fetchCountryCode;
|
|
43
43
|
selectedCountry: import("vue").Ref<CountryCode | undefined>;
|
|
44
44
|
phoneNumber: import("vue").Ref<string>;
|
|
45
|
-
selectionRange: {
|
|
45
|
+
selectionRange: import("vue").Ref<{
|
|
46
46
|
start?: number | null | undefined;
|
|
47
47
|
end?: number | null | undefined;
|
|
48
48
|
cursorAtEnd?: boolean | undefined;
|
|
49
|
-
}
|
|
49
|
+
}>;
|
|
50
50
|
saveCursorPosition: typeof saveCursorPosition;
|
|
51
51
|
onPhoneNumberChanged: typeof onPhoneNumberChanged;
|
|
52
52
|
onCountryChanged: typeof onCountryChanged;
|
|
@@ -2,12 +2,12 @@ import { type CountryCode } from 'libphonenumber-js';
|
|
|
2
2
|
import type { Results, Translations } from './MazPhoneNumberInput/types';
|
|
3
3
|
import type { Color, Position, Size } from './types';
|
|
4
4
|
export type { Color, Size, Position, CountryCode, Results, Results as Result, Translations };
|
|
5
|
-
import { type
|
|
5
|
+
import { type HTMLAttributes } from 'vue';
|
|
6
6
|
export type Props = {
|
|
7
7
|
/** Style attribut of the component root element */
|
|
8
|
-
style?:
|
|
8
|
+
style?: HTMLAttributes['style'];
|
|
9
9
|
/** Class attribut of the component root element */
|
|
10
|
-
class?:
|
|
10
|
+
class?: HTMLAttributes['class'];
|
|
11
11
|
/** @model Country calling code + telephone number in international format */
|
|
12
12
|
modelValue?: string;
|
|
13
13
|
/** @deprecated */
|
|
@@ -82,7 +82,7 @@ export type Props = {
|
|
|
82
82
|
/** The input will be displayed in full width */
|
|
83
83
|
block?: boolean;
|
|
84
84
|
};
|
|
85
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
85
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
86
86
|
class: undefined;
|
|
87
87
|
style: undefined;
|
|
88
88
|
listPosition: string;
|
|
@@ -103,7 +103,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
103
103
|
customCountriesList: undefined;
|
|
104
104
|
countryLocale: undefined;
|
|
105
105
|
countrySelectorWidth: string;
|
|
106
|
-
data: undefined;
|
|
107
106
|
noFormattingAsYouType: boolean;
|
|
108
107
|
autoFormat: boolean;
|
|
109
108
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -133,7 +132,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
133
132
|
customCountriesList: undefined;
|
|
134
133
|
countryLocale: undefined;
|
|
135
134
|
countrySelectorWidth: string;
|
|
136
|
-
data: undefined;
|
|
137
135
|
noFormattingAsYouType: boolean;
|
|
138
136
|
autoFormat: boolean;
|
|
139
137
|
}>>> & {
|
|
@@ -144,7 +142,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
144
142
|
"onUpdate:country-code"?: ((countryCode?: CountryCode | undefined) => any) | undefined;
|
|
145
143
|
}, {
|
|
146
144
|
size: Size;
|
|
147
|
-
style: string | false | import("vue").CSSProperties | StyleValue[] | null;
|
|
145
|
+
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
148
146
|
id: string;
|
|
149
147
|
color: Color;
|
|
150
148
|
class: any;
|
|
@@ -173,7 +171,17 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
173
171
|
customCountriesList: Record<CountryCode, string>;
|
|
174
172
|
countryLocale: string;
|
|
175
173
|
countrySelectorWidth: string;
|
|
176
|
-
}, {}
|
|
174
|
+
}, {}>, {
|
|
175
|
+
"no-results"?(_: {}): any;
|
|
176
|
+
"selector-flag"?(_: {
|
|
177
|
+
countryCode: CountryCode;
|
|
178
|
+
}): any;
|
|
179
|
+
"country-list-flag"?(_: {
|
|
180
|
+
countryCode: import("./types").ModelValueSimple;
|
|
181
|
+
option: import("./MazSelect.vue").NormalizedOption;
|
|
182
|
+
isSelected: boolean;
|
|
183
|
+
}): any;
|
|
184
|
+
}>;
|
|
177
185
|
export default _default;
|
|
178
186
|
type __VLS_WithDefaults<P, D> = {
|
|
179
187
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -183,6 +191,11 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
183
191
|
type __VLS_Prettify<T> = {
|
|
184
192
|
[K in keyof T]: T[K];
|
|
185
193
|
} & {};
|
|
194
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
195
|
+
new (): {
|
|
196
|
+
$slots: S;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
186
199
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
187
200
|
type __VLS_TypePropsToOption<T> = {
|
|
188
201
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
package/components/MazPicker.mjs
CHANGED
package/components/MazRadio.d.ts
CHANGED
|
@@ -1,109 +1,106 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
1
|
import type { Color, Size } from './types';
|
|
3
2
|
export type { Color, Size };
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
type: StringConstructor;
|
|
71
|
-
required: true;
|
|
72
|
-
};
|
|
73
|
-
id: {
|
|
74
|
-
type: StringConstructor;
|
|
75
|
-
default: undefined;
|
|
76
|
-
};
|
|
77
|
-
color: {
|
|
78
|
-
type: PropType<Color>;
|
|
79
|
-
default: string;
|
|
80
|
-
};
|
|
81
|
-
size: {
|
|
82
|
-
type: PropType<Size>;
|
|
83
|
-
default: string;
|
|
84
|
-
};
|
|
85
|
-
disabled: {
|
|
86
|
-
type: BooleanConstructor;
|
|
87
|
-
default: boolean;
|
|
88
|
-
};
|
|
89
|
-
}>> & {
|
|
90
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
91
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
|
+
/** Style attribut of the component root element */
|
|
5
|
+
style?: import("vue").StyleValue;
|
|
6
|
+
/** Class attribut of the component root element */
|
|
7
|
+
class?: any;
|
|
8
|
+
/** The id of the radio */
|
|
9
|
+
id?: string | undefined;
|
|
10
|
+
/** @model The value of the radio */
|
|
11
|
+
modelValue?: string | number | boolean | undefined;
|
|
12
|
+
/** The value of the radio */
|
|
13
|
+
value: string | number | boolean;
|
|
14
|
+
/** The name of the radio */
|
|
15
|
+
name: string;
|
|
16
|
+
/** The label of the radio */
|
|
17
|
+
label?: string | undefined;
|
|
18
|
+
/** The color of the radio */
|
|
19
|
+
color?: Color | undefined;
|
|
20
|
+
/** The size of the radio */
|
|
21
|
+
size?: Size | undefined;
|
|
22
|
+
/** The disabled state of the radio */
|
|
23
|
+
disabled?: boolean | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
style: undefined;
|
|
26
|
+
class: undefined;
|
|
27
|
+
id: undefined;
|
|
28
|
+
modelValue: undefined;
|
|
29
|
+
label: undefined;
|
|
30
|
+
color: string;
|
|
31
|
+
size: string;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
"update:model-value": (value: string | number | boolean) => void;
|
|
35
|
+
change: (value: string | number | boolean) => void;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
37
|
+
/** Style attribut of the component root element */
|
|
38
|
+
style?: import("vue").StyleValue;
|
|
39
|
+
/** Class attribut of the component root element */
|
|
40
|
+
class?: any;
|
|
41
|
+
/** The id of the radio */
|
|
42
|
+
id?: string | undefined;
|
|
43
|
+
/** @model The value of the radio */
|
|
44
|
+
modelValue?: string | number | boolean | undefined;
|
|
45
|
+
/** The value of the radio */
|
|
46
|
+
value: string | number | boolean;
|
|
47
|
+
/** The name of the radio */
|
|
48
|
+
name: string;
|
|
49
|
+
/** The label of the radio */
|
|
50
|
+
label?: string | undefined;
|
|
51
|
+
/** The color of the radio */
|
|
52
|
+
color?: Color | undefined;
|
|
53
|
+
/** The size of the radio */
|
|
54
|
+
size?: Size | undefined;
|
|
55
|
+
/** The disabled state of the radio */
|
|
56
|
+
disabled?: boolean | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
style: undefined;
|
|
59
|
+
class: undefined;
|
|
60
|
+
id: undefined;
|
|
61
|
+
modelValue: undefined;
|
|
62
|
+
label: undefined;
|
|
63
|
+
color: string;
|
|
64
|
+
size: string;
|
|
65
|
+
disabled: boolean;
|
|
66
|
+
}>>> & {
|
|
67
|
+
onChange?: ((value: string | number | boolean) => any) | undefined;
|
|
68
|
+
"onUpdate:model-value"?: ((value: string | number | boolean) => any) | undefined;
|
|
92
69
|
}, {
|
|
93
70
|
size: Size;
|
|
94
71
|
label: string;
|
|
95
|
-
style: import("vue").StyleValue;
|
|
72
|
+
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
96
73
|
id: string;
|
|
97
74
|
disabled: boolean;
|
|
98
75
|
color: Color;
|
|
99
76
|
class: any;
|
|
100
|
-
modelValue: string;
|
|
77
|
+
modelValue: string | number | boolean;
|
|
101
78
|
}, {}>, {
|
|
102
|
-
default?(_: {
|
|
79
|
+
default?(_: {
|
|
80
|
+
isSelected: boolean;
|
|
81
|
+
value: string | number | boolean;
|
|
82
|
+
}): any;
|
|
103
83
|
}>;
|
|
104
84
|
export default _default;
|
|
85
|
+
type __VLS_WithDefaults<P, D> = {
|
|
86
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
87
|
+
default: D[K];
|
|
88
|
+
}> : P[K];
|
|
89
|
+
};
|
|
90
|
+
type __VLS_Prettify<T> = {
|
|
91
|
+
[K in keyof T]: T[K];
|
|
92
|
+
} & {};
|
|
105
93
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
106
94
|
new (): {
|
|
107
95
|
$slots: S;
|
|
108
96
|
};
|
|
109
97
|
};
|
|
98
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
99
|
+
type __VLS_TypePropsToOption<T> = {
|
|
100
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
101
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
102
|
+
} : {
|
|
103
|
+
type: import('vue').PropType<T[K]>;
|
|
104
|
+
required: true;
|
|
105
|
+
};
|
|
106
|
+
};
|