maz-ui 3.45.5 → 3.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/MazBackdrop.d.ts +4 -4
- package/components/MazBtn.d.ts +2 -2
- package/components/MazCard.mjs +1 -1
- package/components/MazChart.d.ts +1 -1
- package/components/MazDialog.d.ts +121 -4
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise/useMazDialogPromise.d.ts +80 -0
- package/components/MazDialogPromise.d.ts +20 -10
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.d.ts +2 -2
- package/components/MazGallery.d.ts +1 -1
- package/components/MazGallery.mjs +1 -1
- package/components/MazIcon.d.ts +1 -1
- package/components/MazInputNumber.d.ts +1 -1
- package/components/MazInputPrice.d.ts +1 -1
- package/components/MazInputTags.d.ts +1 -1
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +2 -0
- package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +2 -2
- package/components/MazPhoneNumberInput.d.ts +24 -6
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.d.ts +1 -1
- package/components/MazPullToRefresh.d.ts +2 -2
- package/components/MazSelect.d.ts +5 -0
- package/components/MazSelect.mjs +1 -1
- package/components/MazSwitch.d.ts +1 -1
- package/components/MazTable.mjs +1 -1
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTextarea.d.ts +3 -3
- package/components/assets/MazDialog.css +1 -1
- package/components/assets/MazDialogPromise.css +1 -1
- package/components/assets/MazPhoneNumberInput.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/chunks/{MazBadge-BtT5dcnQ.mjs → MazBadge-CNSfzYq-.mjs} +1 -1
- package/components/chunks/{MazBtn-DY7j6OiY.mjs → MazBtn-BFG89vCa.mjs} +2 -2
- package/components/chunks/{MazBtn-FrVhILjZ.mjs → MazBtn-BGoomw9I.mjs} +2 -2
- package/components/chunks/{MazBtn-BdOCsAcJ.mjs → MazBtn-Bv2ZJa_R.mjs} +2 -2
- package/components/chunks/{MazBtn-DGI46FMV.mjs → MazBtn-Da2iB5Ca.mjs} +2 -2
- package/components/chunks/{MazBtn-BiqIAH4q.mjs → MazBtn-K-VSnuAG.mjs} +2 -2
- package/components/chunks/{MazCard-BY62rYtJ.mjs → MazCard-dFVJALiZ.mjs} +1 -1
- package/components/chunks/{MazCheckbox-DH9P-r_8.mjs → MazCheckbox-BOQ3rCJA.mjs} +1 -1
- package/components/chunks/{MazCheckbox-CVd2hR_t.mjs → MazCheckbox-Dia9JuH9.mjs} +1 -1
- package/components/chunks/{MazDialog-DZhBJeVd.mjs → MazDialog-C3DzTTKe.mjs} +82 -73
- package/components/chunks/MazDialogPromise-BjfZazCh.mjs +519 -0
- package/components/chunks/{MazGallery-Dpo7kTFH.mjs → MazGallery-BOmH2smL.mjs} +60 -60
- package/components/chunks/{MazGallery-CKofGCb2.mjs → MazGallery-PjwNt897.mjs} +61 -61
- package/components/chunks/{MazIcon-B4uk2ztJ.mjs → MazIcon-BJbOf-7v.mjs} +1 -1
- package/components/chunks/{MazIcon-ufe3UEle.mjs → MazIcon-DtpY3t9J.mjs} +1 -1
- package/components/chunks/{MazPhoneNumberInput-DdMAsaYd.mjs → MazPhoneNumberInput-ahQrhENR.mjs} +358 -344
- package/components/chunks/{MazSelect-C7j7fHLt.mjs → MazSelect-DZ86urPA.mjs} +11 -9
- package/components/chunks/{MazSpinner-B5tlgNCz.mjs → MazSpinner-C6h_11fE.mjs} +1 -1
- package/components/chunks/{MazSpinner-DhtejNvD.mjs → MazSpinner-CQbd8Ovn.mjs} +1 -1
- package/components/chunks/{MazSpinner-SlwNtf5M.mjs → MazSpinner-CeYCrySe.mjs} +1 -1
- package/components/chunks/{MazSpinner-D0Z_mIJF.mjs → MazSpinner-DCpFSO05.mjs} +1 -1
- package/components/chunks/{MazSpinner-C5wp4j5g.mjs → MazSpinner-Dr_lfVQQ.mjs} +1 -1
- package/components/chunks/{MazSpinner-DAAoiGES.mjs → MazSpinner-XWBim6LV.mjs} +1 -1
- package/components/chunks/MazSpinner-dU5ZzoYV.mjs +37 -0
- package/components/chunks/{MazTable-DjAvTaKP.mjs → MazTable-CverwWXf.mjs} +39 -37
- package/components/chunks/{MazTabsBar-BzmfPGf0.mjs → MazTabsBar-MZYefBb8.mjs} +73 -59
- package/components/chunks/{MazTransitionExpand-pD1Oj5jl.mjs → MazTransitionExpand-C1PC0VLx.mjs} +1 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/{MazBtn-DBCfLTEq.cjs → MazBtn-O5zWLH6k.cjs} +1 -1
- package/modules/chunks/{MazBtn-ZodGJGYi.mjs → MazBtn-VbPzVjkw.mjs} +2 -2
- package/modules/chunks/{MazIcon-BmzyL3xC.cjs → MazIcon-5tUs5Esl.cjs} +1 -1
- package/modules/chunks/{MazIcon-Cc_Rfdkr.mjs → MazIcon-B-f-2ZQG.mjs} +1 -1
- package/modules/chunks/{MazSpinner-CqfQGJXH.cjs → MazSpinner-BUSCYYJR.cjs} +1 -1
- package/modules/chunks/{MazSpinner-1HepG9lI.mjs → MazSpinner-fEByRc1j.mjs} +1 -1
- package/modules/chunks/index-B26Eo5t8.mjs +3316 -0
- package/modules/chunks/index-Bos4zUyQ.cjs +149 -0
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +55 -52
- package/nuxt/index.d.mts +6 -1
- package/nuxt/index.d.ts +6 -1
- package/nuxt/index.json +1 -1
- package/nuxt/index.mjs +8 -0
- package/nuxt/runtime/composables/useDialog.d.ts +2 -0
- package/nuxt/runtime/composables/useDialog.js +5 -0
- package/nuxt/runtime/plugins/dialog.d.ts +8 -0
- package/nuxt/runtime/plugins/dialog.js +23 -0
- package/package.json +10 -10
- package/types/components/MazBackdrop.vue.d.ts +4 -4
- package/types/components/MazBtn.vue.d.ts +2 -2
- package/types/components/MazChart.vue.d.ts +1 -1
- package/types/components/MazDialog.vue.d.ts +121 -4
- package/types/components/MazDialogPromise/useMazDialogPromise.d.ts +80 -0
- package/types/components/MazDialogPromise.vue.d.ts +20 -10
- package/types/components/MazDrawer.vue.d.ts +2 -2
- package/types/components/MazGallery.vue.d.ts +1 -1
- package/types/components/MazIcon.vue.d.ts +1 -1
- package/types/components/MazInputNumber.vue.d.ts +1 -1
- package/types/components/MazInputPrice.vue.d.ts +1 -1
- package/types/components/MazInputTags.vue.d.ts +1 -1
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +2 -0
- package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +2 -2
- package/types/components/MazPhoneNumberInput.vue.d.ts +24 -6
- package/types/components/MazPicker.vue.d.ts +1 -1
- package/types/components/MazPullToRefresh.vue.d.ts +2 -2
- package/types/components/MazSelect.vue.d.ts +5 -0
- package/types/components/MazSwitch.vue.d.ts +1 -1
- package/types/components/MazTextarea.vue.d.ts +3 -3
- package/types/modules/composables/index.d.ts +1 -0
- package/types/modules/composables/useDialog.d.ts +2 -0
- package/types/modules/composables/useToast.d.ts +1 -1
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +3 -3
- package/types/modules/helpers/mount-component.d.ts +3 -3
- package/types/modules/plugins/dialog/DialogHandler.d.ts +15 -0
- package/types/modules/plugins/dialog/index.d.ts +6 -0
- package/types/modules/plugins/index.d.ts +1 -0
- package/types/modules/plugins/toaster/MazToast.vue.d.ts +2 -2
- package/types/modules/plugins/toaster/index.d.ts +2 -2
- package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +0 -201
- package/components/chunks/MazDialogPromise-B5xH3Ew4.mjs +0 -478
- package/components/chunks/MazSpinner-DMC9CAUa.mjs +0 -37
- package/modules/chunks/index-BbpA7Mc4.cjs +0 -124
- package/modules/chunks/index-CR18QNVD.mjs +0 -2768
- package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +0 -201
- /package/types/modules/plugins/toaster/{toaster-handler.d.ts → ToasterHandler.d.ts} +0 -0
|
@@ -36,20 +36,20 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
36
36
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
37
|
close: (value: void) => any;
|
|
38
38
|
open: (value: void) => any;
|
|
39
|
-
"before-close": (value: void) => any;
|
|
40
39
|
"update:model-value": (value: boolean) => any;
|
|
40
|
+
"before-close": (value: void) => any;
|
|
41
41
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
42
42
|
onClose?: ((value?: void | undefined) => any) | undefined;
|
|
43
43
|
onOpen?: ((value?: void | undefined) => any) | undefined;
|
|
44
|
-
"onBefore-close"?: ((value?: void | undefined) => any) | undefined;
|
|
45
44
|
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
45
|
+
"onBefore-close"?: ((value?: void | undefined) => any) | undefined;
|
|
46
46
|
}>, {
|
|
47
|
-
persistent: boolean;
|
|
48
|
-
transitionName: string;
|
|
49
47
|
modelValue: boolean;
|
|
50
48
|
teleportSelector: string;
|
|
51
49
|
beforeClose: () => Promise<void> | void;
|
|
50
|
+
persistent: boolean;
|
|
52
51
|
noCloseOnEscKey: boolean;
|
|
52
|
+
transitionName: string;
|
|
53
53
|
backdropClass: HTMLAttributes["class"];
|
|
54
54
|
backdropContentClass: HTMLAttributes["class"];
|
|
55
55
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
package/components/MazBtn.d.ts
CHANGED
|
@@ -115,10 +115,10 @@ declare function __VLS_template(): {
|
|
|
115
115
|
};
|
|
116
116
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
117
117
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
118
|
-
type: "submit" | "reset" | "button";
|
|
119
118
|
size: Size;
|
|
120
|
-
variant: "button" | "link";
|
|
121
119
|
color: Color;
|
|
120
|
+
type: "submit" | "reset" | "button";
|
|
121
|
+
variant: "button" | "link";
|
|
122
122
|
roundedSize: "none" | "sm" | "md" | "lg" | "xl" | "full";
|
|
123
123
|
icon: string | Icon;
|
|
124
124
|
leftIcon: string | Icon;
|
package/components/MazCard.mjs
CHANGED
package/components/MazChart.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
97
97
|
};
|
|
98
98
|
}>> & Readonly<{}>, {
|
|
99
99
|
options: Record<string, any>;
|
|
100
|
-
updateMode: "reset" | "resize" | "
|
|
100
|
+
updateMode: "reset" | "resize" | "default" | "none" | "hide" | "show" | "active";
|
|
101
101
|
plugins: unknown[];
|
|
102
102
|
datasetIdKey: string;
|
|
103
103
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { ComponentPublicInstance, HTMLAttributes } from 'vue';
|
|
1
2
|
import { type Props as MazBackdropProps } from './MazBackdrop.vue';
|
|
2
|
-
export interface
|
|
3
|
+
export interface InternalProps {
|
|
3
4
|
/** @model Modal's model value */
|
|
4
5
|
modelValue?: boolean;
|
|
5
6
|
/** Title of the modal in header */
|
|
@@ -17,6 +18,7 @@ export interface Props {
|
|
|
17
18
|
/** Persistent dialog (not closable by clicking outside and remove close button) */
|
|
18
19
|
persistent?: boolean;
|
|
19
20
|
}
|
|
21
|
+
export type Props = InternalProps & MazBackdropProps;
|
|
20
22
|
declare function __VLS_template(): {
|
|
21
23
|
slots: {
|
|
22
24
|
header?(_: {
|
|
@@ -30,15 +32,130 @@ declare function __VLS_template(): {
|
|
|
30
32
|
close: () => void;
|
|
31
33
|
}): any;
|
|
32
34
|
};
|
|
33
|
-
refs: {
|
|
35
|
+
refs: {
|
|
36
|
+
backdrop: ({
|
|
37
|
+
$: import("vue").ComponentInternalInstance;
|
|
38
|
+
$data: {};
|
|
39
|
+
$props: {
|
|
40
|
+
readonly modelValue?: boolean | undefined;
|
|
41
|
+
readonly teleportSelector?: string | undefined;
|
|
42
|
+
readonly beforeClose?: (() => Promise<void> | void) | undefined;
|
|
43
|
+
readonly persistent?: boolean | undefined;
|
|
44
|
+
readonly noCloseOnEscKey?: boolean | undefined;
|
|
45
|
+
readonly transitionName?: string | undefined;
|
|
46
|
+
readonly backdropClass?: HTMLAttributes["class"];
|
|
47
|
+
readonly backdropContentClass?: HTMLAttributes["class"];
|
|
48
|
+
readonly onClose?: ((value?: void | undefined) => any) | undefined;
|
|
49
|
+
readonly onOpen?: ((value?: void | undefined) => any) | undefined;
|
|
50
|
+
readonly "onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
51
|
+
readonly "onBefore-close"?: ((value?: void | undefined) => any) | undefined;
|
|
52
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<MazBackdropProps> & Readonly<{
|
|
53
|
+
onClose?: ((value?: void | undefined) => any) | undefined;
|
|
54
|
+
onOpen?: ((value?: void | undefined) => any) | undefined;
|
|
55
|
+
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
56
|
+
"onBefore-close"?: ((value?: void | undefined) => any) | undefined;
|
|
57
|
+
}>;
|
|
58
|
+
$attrs: {
|
|
59
|
+
[x: string]: unknown;
|
|
60
|
+
};
|
|
61
|
+
$refs: {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
};
|
|
64
|
+
$slots: Readonly<{
|
|
65
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
66
|
+
}>;
|
|
67
|
+
$root: ComponentPublicInstance | null;
|
|
68
|
+
$parent: ComponentPublicInstance | null;
|
|
69
|
+
$host: Element | null;
|
|
70
|
+
$emit: ((event: "close", value?: void | undefined) => void) & ((event: "open", value?: void | undefined) => void) & ((event: "update:model-value", value: boolean) => void) & ((event: "before-close", value?: void | undefined) => void);
|
|
71
|
+
$el: any;
|
|
72
|
+
$options: import("vue").ComponentOptionsBase<Readonly<MazBackdropProps> & Readonly<{
|
|
73
|
+
onClose?: ((value?: void | undefined) => any) | undefined;
|
|
74
|
+
onOpen?: ((value?: void | undefined) => any) | undefined;
|
|
75
|
+
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
76
|
+
"onBefore-close"?: ((value?: void | undefined) => any) | undefined;
|
|
77
|
+
}>, {
|
|
78
|
+
onBackdropAnimationEnter: () => void;
|
|
79
|
+
onBackdropAnimationLeave: () => void;
|
|
80
|
+
onBackdropClicked: () => void;
|
|
81
|
+
close: () => void;
|
|
82
|
+
present: import("vue").Ref<boolean, boolean>;
|
|
83
|
+
toggleModal: (value: any) => Promise<void>;
|
|
84
|
+
onKeyPress: (event: KeyboardEvent) => void;
|
|
85
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
86
|
+
close: (value: void) => any;
|
|
87
|
+
open: (value: void) => any;
|
|
88
|
+
"update:model-value": (value: boolean) => any;
|
|
89
|
+
"before-close": (value: void) => any;
|
|
90
|
+
}, string, {
|
|
91
|
+
modelValue: boolean;
|
|
92
|
+
teleportSelector: string;
|
|
93
|
+
beforeClose: () => Promise<void> | void;
|
|
94
|
+
persistent: boolean;
|
|
95
|
+
noCloseOnEscKey: boolean;
|
|
96
|
+
transitionName: string;
|
|
97
|
+
backdropClass: HTMLAttributes["class"];
|
|
98
|
+
backdropContentClass: HTMLAttributes["class"];
|
|
99
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
100
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
101
|
+
created?: (() => void) | (() => void)[];
|
|
102
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
103
|
+
mounted?: (() => void) | (() => void)[];
|
|
104
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
105
|
+
updated?: (() => void) | (() => void)[];
|
|
106
|
+
activated?: (() => void) | (() => void)[];
|
|
107
|
+
deactivated?: (() => void) | (() => void)[];
|
|
108
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
109
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
110
|
+
destroyed?: (() => void) | (() => void)[];
|
|
111
|
+
unmounted?: (() => void) | (() => void)[];
|
|
112
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
113
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
114
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
115
|
+
};
|
|
116
|
+
$forceUpdate: () => void;
|
|
117
|
+
$nextTick: typeof import("vue").nextTick;
|
|
118
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
119
|
+
} & Readonly<{
|
|
120
|
+
modelValue: boolean;
|
|
121
|
+
teleportSelector: string;
|
|
122
|
+
beforeClose: () => Promise<void> | void;
|
|
123
|
+
persistent: boolean;
|
|
124
|
+
noCloseOnEscKey: boolean;
|
|
125
|
+
transitionName: string;
|
|
126
|
+
backdropClass: HTMLAttributes["class"];
|
|
127
|
+
backdropContentClass: HTMLAttributes["class"];
|
|
128
|
+
}> & Omit<Readonly<MazBackdropProps> & Readonly<{
|
|
129
|
+
onClose?: ((value?: void | undefined) => any) | undefined;
|
|
130
|
+
onOpen?: ((value?: void | undefined) => any) | undefined;
|
|
131
|
+
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
132
|
+
"onBefore-close"?: ((value?: void | undefined) => any) | undefined;
|
|
133
|
+
}>, "close" | "onBackdropAnimationEnter" | "onBackdropAnimationLeave" | "onBackdropClicked" | "present" | "toggleModal" | "onKeyPress" | ("modelValue" | "teleportSelector" | "beforeClose" | "persistent" | "noCloseOnEscKey" | "transitionName" | "backdropClass" | "backdropContentClass")> & import("vue").ShallowUnwrapRef<{
|
|
134
|
+
onBackdropAnimationEnter: () => void;
|
|
135
|
+
onBackdropAnimationLeave: () => void;
|
|
136
|
+
onBackdropClicked: () => void;
|
|
137
|
+
close: () => void;
|
|
138
|
+
present: import("vue").Ref<boolean, boolean>;
|
|
139
|
+
toggleModal: (value: any) => Promise<void>;
|
|
140
|
+
onKeyPress: (event: KeyboardEvent) => void;
|
|
141
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
142
|
+
$slots: {
|
|
143
|
+
default?(_: {
|
|
144
|
+
close: () => void;
|
|
145
|
+
}): any;
|
|
146
|
+
};
|
|
147
|
+
}) | null;
|
|
148
|
+
};
|
|
34
149
|
attrs: Partial<{}>;
|
|
35
150
|
};
|
|
36
151
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
37
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
152
|
+
declare const __VLS_component: import("vue").DefineComponent<InternalProps & MazBackdropProps, {
|
|
153
|
+
close: () => any;
|
|
154
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
155
|
close: (value: void) => any;
|
|
39
156
|
open: (value: void) => any;
|
|
40
157
|
"update:model-value": (value: boolean) => any;
|
|
41
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
158
|
+
}, string, import("vue").PublicProps, Readonly<InternalProps & MazBackdropProps> & Readonly<{
|
|
42
159
|
onClose?: ((value?: void | undefined) => any) | undefined;
|
|
43
160
|
onOpen?: ((value?: void | undefined) => any) | undefined;
|
|
44
161
|
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
package/components/MazDialog.mjs
CHANGED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { Props } from '../MazBtn.vue';
|
|
3
|
+
import type { Size } from './../types';
|
|
4
|
+
export interface DialogState {
|
|
5
|
+
id: string;
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
resolve: (value: unknown) => void;
|
|
8
|
+
reject?: (reason?: unknown) => void;
|
|
9
|
+
}
|
|
10
|
+
export interface DialogButton extends Props {
|
|
11
|
+
text?: string;
|
|
12
|
+
size?: Size;
|
|
13
|
+
}
|
|
14
|
+
export interface ActionButton {
|
|
15
|
+
text: string;
|
|
16
|
+
action: () => unknown;
|
|
17
|
+
}
|
|
18
|
+
export interface PromiseButton {
|
|
19
|
+
text: string;
|
|
20
|
+
type: 'resolve' | 'reject';
|
|
21
|
+
response?: unknown;
|
|
22
|
+
}
|
|
23
|
+
export type DialogCustomButton = Omit<DialogButton, 'type'> & (PromiseButton | ActionButton);
|
|
24
|
+
export interface DialogData {
|
|
25
|
+
/**
|
|
26
|
+
* Dialog title
|
|
27
|
+
*/
|
|
28
|
+
title?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Dialog message
|
|
31
|
+
*/
|
|
32
|
+
message?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Dialog cancel text
|
|
35
|
+
* @default 'Cancel'
|
|
36
|
+
*/
|
|
37
|
+
cancelText?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Dialog cancel button
|
|
40
|
+
* @default { text: 'Cancel', color: 'danger', outline: true }`
|
|
41
|
+
*/
|
|
42
|
+
cancelButton?: false | DialogButton;
|
|
43
|
+
/**
|
|
44
|
+
* Dialog confirm text
|
|
45
|
+
* @default 'Confirm'
|
|
46
|
+
*/
|
|
47
|
+
confirmText?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Dialog confirm button
|
|
50
|
+
* @default { text: 'Confirm', color: 'success' }
|
|
51
|
+
*/
|
|
52
|
+
confirmButton?: false | DialogButton;
|
|
53
|
+
/**
|
|
54
|
+
* This is a list of custom buttons that will replace the default confirm and cancel buttons
|
|
55
|
+
*/
|
|
56
|
+
buttons?: DialogCustomButton[];
|
|
57
|
+
}
|
|
58
|
+
export declare const defaultData: {
|
|
59
|
+
cancelText: string;
|
|
60
|
+
confirmText: string;
|
|
61
|
+
cancelButton: {
|
|
62
|
+
text: string;
|
|
63
|
+
color: "danger";
|
|
64
|
+
};
|
|
65
|
+
confirmButton: {
|
|
66
|
+
text: string;
|
|
67
|
+
color: "success";
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
declare function showDialogAndWaitChoice(identifier: string, callback?: () => unknown): Promise<unknown>;
|
|
71
|
+
declare function removeDialogFromState(identifier: string): DialogState[];
|
|
72
|
+
export declare function useMazDialogPromise(): {
|
|
73
|
+
data: Ref<DialogData, DialogData>;
|
|
74
|
+
dialogState: Ref<DialogState[], DialogState[]>;
|
|
75
|
+
showDialogAndWaitChoice: typeof showDialogAndWaitChoice;
|
|
76
|
+
removeDialogFromState: typeof removeDialogFromState;
|
|
77
|
+
rejectDialog: (currentDialog: DialogState, response?: unknown, action?: () => unknown) => Promise<void>;
|
|
78
|
+
resolveDialog: (currentDialog: DialogState, response?: unknown, action?: () => unknown) => Promise<void>;
|
|
79
|
+
};
|
|
80
|
+
export {};
|
|
@@ -1,28 +1,38 @@
|
|
|
1
|
+
import type { DialogCustomButton, DialogData } from './MazDialogPromise/useMazDialogPromise';
|
|
1
2
|
import { type Props as MazDialogProps } from './MazDialog.vue';
|
|
2
|
-
|
|
3
|
-
export interface InternalProps extends MazDialogProps {
|
|
3
|
+
export interface MazDialogPromiseProps {
|
|
4
4
|
/** Dialog Data - @type DialogData */
|
|
5
5
|
data?: DialogData;
|
|
6
|
+
/** Message to display */
|
|
7
|
+
message?: string;
|
|
6
8
|
/** Uniq identifier */
|
|
7
9
|
identifier: string;
|
|
8
10
|
/** Custom buttons - @type DialogCustomButton[] */
|
|
9
11
|
buttons?: DialogCustomButton[];
|
|
10
12
|
}
|
|
11
|
-
export type Props =
|
|
12
|
-
export {
|
|
13
|
-
export type {
|
|
14
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
13
|
+
export type Props = MazDialogPromiseProps & MazDialogProps & DialogData;
|
|
14
|
+
export { useMazDialogPromise } from './MazDialogPromise/useMazDialogPromise';
|
|
15
|
+
export type { ActionButton, DialogButton, DialogCustomButton, DialogData, DialogState, PromiseButton } from './MazDialogPromise/useMazDialogPromise';
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MazDialogPromiseProps & import("./MazDialog.vue").InternalProps & import("./MazBackdrop.vue").Props & DialogData, {
|
|
17
|
+
close: () => any;
|
|
18
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
close: (value: void) => any;
|
|
20
|
+
open: (value: void) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<MazDialogPromiseProps & import("./MazDialog.vue").InternalProps & import("./MazBackdrop.vue").Props & DialogData> & Readonly<{
|
|
22
|
+
onClose?: ((value?: void | undefined) => any) | undefined;
|
|
23
|
+
onOpen?: ((value?: void | undefined) => any) | undefined;
|
|
24
|
+
}>, {
|
|
15
25
|
data: DialogData;
|
|
16
26
|
buttons: DialogCustomButton[];
|
|
17
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
18
28
|
title?(_: {}): any;
|
|
19
29
|
default?(_: {
|
|
20
|
-
resolve: (reason?:
|
|
21
|
-
reject: (reason?:
|
|
30
|
+
resolve: (reason?: unknown) => Promise<void>;
|
|
31
|
+
reject: (reason?: unknown) => Promise<void>;
|
|
22
32
|
}): any;
|
|
23
33
|
"footer-button"?(_: {
|
|
24
|
-
resolve: (reason?:
|
|
25
|
-
reject: (reason?:
|
|
34
|
+
resolve: (reason?: unknown) => Promise<void>;
|
|
35
|
+
reject: (reason?: unknown) => Promise<void>;
|
|
26
36
|
}): any;
|
|
27
37
|
"cancel-text"?(_: {}): any;
|
|
28
38
|
"confirm-text"?(_: {}): any;
|
|
@@ -26,13 +26,13 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
26
26
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
27
27
|
close: () => any;
|
|
28
28
|
open: () => any;
|
|
29
|
-
"before-close": () => any;
|
|
30
29
|
"update:model-value": (value: boolean) => any;
|
|
30
|
+
"before-close": () => any;
|
|
31
31
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
32
32
|
onClose?: (() => any) | undefined;
|
|
33
33
|
onOpen?: (() => any) | undefined;
|
|
34
|
-
"onBefore-close"?: (() => any) | undefined;
|
|
35
34
|
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
35
|
+
"onBefore-close"?: (() => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
37
|
title: string;
|
|
38
38
|
size: string;
|
|
@@ -150,9 +150,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
150
150
|
}>> & Readonly<{}>, {
|
|
151
151
|
blur: boolean;
|
|
152
152
|
width: string | number;
|
|
153
|
-
lazy: boolean;
|
|
154
153
|
height: string | number;
|
|
155
154
|
scale: boolean;
|
|
155
|
+
lazy: boolean;
|
|
156
156
|
images: MazGalleryImage[];
|
|
157
157
|
imagesShownCount: number;
|
|
158
158
|
noRemaining: boolean;
|
package/components/MazIcon.d.ts
CHANGED
|
@@ -72,9 +72,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
72
72
|
}>, {
|
|
73
73
|
title: string;
|
|
74
74
|
path: string;
|
|
75
|
-
name: string;
|
|
76
75
|
size: string;
|
|
77
76
|
src: string;
|
|
77
|
+
name: string;
|
|
78
78
|
transformSource: (param: SVGElement) => typeof param;
|
|
79
79
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
80
80
|
export default _default;
|
|
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
56
56
|
min: number;
|
|
57
57
|
modelValue: number;
|
|
58
58
|
step: number;
|
|
59
|
-
inputmode: "search" | "text" | "
|
|
59
|
+
inputmode: "search" | "text" | "none" | "email" | "tel" | "decimal" | "url" | "numeric";
|
|
60
60
|
noButtons: boolean;
|
|
61
61
|
textCenter: boolean;
|
|
62
62
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -48,8 +48,8 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
48
48
|
}>, {
|
|
49
49
|
max: number;
|
|
50
50
|
min: number;
|
|
51
|
-
currency: string;
|
|
52
51
|
modelValue: number;
|
|
52
|
+
currency: string;
|
|
53
53
|
locale: string;
|
|
54
54
|
noIcon: boolean;
|
|
55
55
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -39,9 +39,9 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
39
39
|
label: string;
|
|
40
40
|
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
41
41
|
error: boolean;
|
|
42
|
-
size: Size;
|
|
43
42
|
success: boolean;
|
|
44
43
|
warning: boolean;
|
|
44
|
+
size: Size;
|
|
45
45
|
color: Color;
|
|
46
46
|
class: HTMLAttributes["class"];
|
|
47
47
|
disabled: boolean;
|
|
@@ -44,6 +44,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
44
44
|
success?: boolean;
|
|
45
45
|
error?: boolean;
|
|
46
46
|
countrySelectorDisplayName?: boolean;
|
|
47
|
+
searchThreshold?: number;
|
|
47
48
|
width: string;
|
|
48
49
|
excludeSelectors?: string[];
|
|
49
50
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -71,6 +72,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
71
72
|
success?: boolean;
|
|
72
73
|
error?: boolean;
|
|
73
74
|
countrySelectorDisplayName?: boolean;
|
|
75
|
+
searchThreshold?: number;
|
|
74
76
|
width: string;
|
|
75
77
|
excludeSelectors?: string[];
|
|
76
78
|
}> & Readonly<{
|
|
@@ -18,11 +18,11 @@ type __VLS_PublicProps = {
|
|
|
18
18
|
modelValue?: string;
|
|
19
19
|
} & typeof __VLS_typeProps;
|
|
20
20
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (modelValue: string) => any;
|
|
22
21
|
"update:model-value": (phoneNumber?: string | undefined) => any;
|
|
22
|
+
"update:modelValue": (modelValue: string) => any;
|
|
23
23
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
-
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
25
24
|
"onUpdate:model-value"?: ((phoneNumber?: string | undefined) => any) | undefined;
|
|
25
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
label: string;
|
|
28
28
|
placeholder: string;
|
|
@@ -44,6 +44,11 @@ export interface Props {
|
|
|
44
44
|
noExample?: boolean;
|
|
45
45
|
/** Disable search input in country list */
|
|
46
46
|
noSearch?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Threshold of the search input in country list where 1 is a perfect match and 0 is a match with any character
|
|
49
|
+
* @default 0.75
|
|
50
|
+
*/
|
|
51
|
+
searchThreshold?: number;
|
|
47
52
|
/** By default the component use the browser locale to set the default country code if not country code is provided */
|
|
48
53
|
noUseBrowserLocale?: boolean;
|
|
49
54
|
/** The component will make a request (https://ipwho.is) to get the location of the user and use it to set the default country code */
|
|
@@ -91,6 +96,16 @@ export interface Props {
|
|
|
91
96
|
* @values "row" | "col" | "responsive"
|
|
92
97
|
*/
|
|
93
98
|
orientation?: 'row' | 'col' | 'responsive';
|
|
99
|
+
/**
|
|
100
|
+
* Meta attributes of the country input
|
|
101
|
+
* @default {Record<string, unknown>} { autocomplete: 'off', name: 'country' }
|
|
102
|
+
*/
|
|
103
|
+
countrySelectAttributes?: Record<string, unknown>;
|
|
104
|
+
/**
|
|
105
|
+
* Meta attributes of the phone number input
|
|
106
|
+
* @default {Record<string, unknown>} { autocomplete: 'tel', name: 'phone', inputmode: 'tel' }
|
|
107
|
+
*/
|
|
108
|
+
phoneInputAttributes?: Record<string, unknown>;
|
|
94
109
|
}
|
|
95
110
|
interface SelectionRange {
|
|
96
111
|
start?: number | null;
|
|
@@ -133,11 +148,11 @@ declare function __VLS_template(): {
|
|
|
133
148
|
autoFormat?: boolean;
|
|
134
149
|
noFormattingAsYouType?: boolean;
|
|
135
150
|
}> & Readonly<{
|
|
136
|
-
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
137
151
|
"onUpdate:model-value"?: ((phoneNumber?: string | undefined) => any) | undefined;
|
|
152
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
138
153
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
139
|
-
"update:modelValue": (modelValue: string) => any;
|
|
140
154
|
"update:model-value": (phoneNumber?: string | undefined) => any;
|
|
155
|
+
"update:modelValue": (modelValue: string) => any;
|
|
141
156
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{
|
|
142
157
|
modelValue?: string;
|
|
143
158
|
} & {
|
|
@@ -155,8 +170,8 @@ declare function __VLS_template(): {
|
|
|
155
170
|
autoFormat?: boolean;
|
|
156
171
|
noFormattingAsYouType?: boolean;
|
|
157
172
|
}> & Readonly<{
|
|
158
|
-
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
159
173
|
"onUpdate:model-value"?: ((phoneNumber?: string | undefined) => any) | undefined;
|
|
174
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
160
175
|
}>, {
|
|
161
176
|
label: string;
|
|
162
177
|
placeholder: string;
|
|
@@ -184,8 +199,8 @@ declare function __VLS_template(): {
|
|
|
184
199
|
autoFormat?: boolean;
|
|
185
200
|
noFormattingAsYouType?: boolean;
|
|
186
201
|
}> & Readonly<{
|
|
187
|
-
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
188
202
|
"onUpdate:model-value"?: ((phoneNumber?: string | undefined) => any) | undefined;
|
|
203
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
189
204
|
}>, {}, {}, {}, {}, {
|
|
190
205
|
label: string;
|
|
191
206
|
placeholder: string;
|
|
@@ -196,14 +211,14 @@ declare function __VLS_template(): {
|
|
|
196
211
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
197
212
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
198
213
|
data: (results: Results) => any;
|
|
199
|
-
update: (results: Results) => any;
|
|
200
214
|
"update:model-value": (value: string) => any;
|
|
215
|
+
update: (results: Results) => any;
|
|
201
216
|
"country-code": (countryCode?: CountryCode | undefined) => any;
|
|
202
217
|
"update:country-code": (countryCode?: CountryCode | undefined) => any;
|
|
203
218
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
204
219
|
onData?: ((results: Results) => any) | undefined;
|
|
205
|
-
onUpdate?: ((results: Results) => any) | undefined;
|
|
206
220
|
"onUpdate:model-value"?: ((value: string) => any) | undefined;
|
|
221
|
+
onUpdate?: ((results: Results) => any) | undefined;
|
|
207
222
|
"onCountry-code"?: ((countryCode?: CountryCode | undefined) => any) | undefined;
|
|
208
223
|
"onUpdate:country-code"?: ((countryCode?: CountryCode | undefined) => any) | undefined;
|
|
209
224
|
}>, {
|
|
@@ -217,6 +232,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
217
232
|
modelValue: string;
|
|
218
233
|
placeholder: string;
|
|
219
234
|
listPosition: Position;
|
|
235
|
+
searchThreshold: number;
|
|
220
236
|
excludeSelectors: string[];
|
|
221
237
|
preferredCountries: CountryCode[];
|
|
222
238
|
ignoredCountries: CountryCode[];
|
|
@@ -230,6 +246,8 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
230
246
|
defaultCountryCode: CountryCode;
|
|
231
247
|
translations: Partial<Translations>;
|
|
232
248
|
countrySelectorWidth: string;
|
|
249
|
+
countrySelectAttributes: Record<string, unknown>;
|
|
250
|
+
phoneInputAttributes: Record<string, unknown>;
|
|
233
251
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
234
252
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
235
253
|
export default _default;
|
|
@@ -91,8 +91,8 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
91
91
|
class: HTMLAttributes["class"];
|
|
92
92
|
disabled: boolean;
|
|
93
93
|
format: string;
|
|
94
|
-
open: boolean;
|
|
95
94
|
modelValue: string | Partial<import("./MazPicker/types").RangeValue>;
|
|
95
|
+
open: boolean;
|
|
96
96
|
locale: string;
|
|
97
97
|
placeholder: string;
|
|
98
98
|
inline: boolean;
|
|
@@ -23,15 +23,15 @@ declare function __VLS_template(): {
|
|
|
23
23
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
24
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
25
|
error: (...args: any[]) => void;
|
|
26
|
-
start: (...args: any[]) => void;
|
|
27
26
|
loaded: (...args: any[]) => void;
|
|
28
27
|
response: (...args: any[]) => void;
|
|
28
|
+
start: (...args: any[]) => void;
|
|
29
29
|
finish: (...args: any[]) => void;
|
|
30
30
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
31
31
|
onError?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
onStart?: ((...args: any[]) => any) | undefined;
|
|
33
32
|
onLoaded?: ((...args: any[]) => any) | undefined;
|
|
34
33
|
onResponse?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
onStart?: ((...args: any[]) => any) | undefined;
|
|
35
35
|
onFinish?: ((...args: any[]) => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
37
|
disabled: boolean;
|
|
@@ -77,6 +77,11 @@ export interface Props<T extends ModelValueSimple, U extends MazSelectOption> {
|
|
|
77
77
|
block?: boolean;
|
|
78
78
|
/** The exclude selectors for the v-closable directive - will exclude the elements from the directive */
|
|
79
79
|
excludeSelectors?: string[];
|
|
80
|
+
/**
|
|
81
|
+
* The autocomplete attribute of the input
|
|
82
|
+
* @default 'off'
|
|
83
|
+
*/
|
|
84
|
+
autocomplete?: string;
|
|
80
85
|
}
|
|
81
86
|
export type { Color, ModelValueSimple, Position, Size } from './types';
|
|
82
87
|
declare const _default: <T extends ModelValueSimple, U extends MazSelectOption, M = boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
package/components/MazSelect.mjs
CHANGED
|
@@ -51,9 +51,9 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
51
51
|
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
53
|
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
54
|
-
name: string;
|
|
55
54
|
color: Color;
|
|
56
55
|
class: HTMLAttributes["class"];
|
|
56
|
+
name: string;
|
|
57
57
|
disabled: boolean;
|
|
58
58
|
id: string;
|
|
59
59
|
modelValue: boolean;
|
package/components/MazTable.mjs
CHANGED