maz-ui 3.29.6 → 3.29.8
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/MazAvatar.mjs +1 -1
- package/components/MazBackdrop.d.ts +2 -2
- package/components/MazCard.d.ts +1 -1
- package/components/MazCheckbox.d.ts +2 -2
- package/components/MazDropdown.d.ts +2 -2
- package/components/MazGallery.d.ts +1 -1
- package/components/MazInput.d.ts +2 -2
- package/components/MazLazyImg.d.ts +15 -0
- package/components/MazLazyImg.mjs +1 -1
- package/components/MazPhoneNumberInput.d.ts +1 -1
- package/components/MazPullToRefresh.d.ts +1 -1
- package/components/MazRadio.d.ts +1 -1
- package/components/MazSelect.d.ts +2 -2
- package/components/MazSwitch.d.ts +1 -1
- package/components/MazTextarea.d.ts +2 -2
- package/components/assets/MazAccordion.css +1 -1
- package/components/assets/MazLazyImg.css +1 -1
- package/components/chunks/{MazAvatar-0JzIvOc4.mjs → MazAvatar-yW8G4EV0.mjs} +1 -1
- package/components/chunks/{MazLazyImg-evGMN9Pe.mjs → MazLazyImg-C5vsYe-A.mjs} +75 -66
- package/components/chunks/{MazLazyImg-440YmAhx.mjs → MazLazyImg-ueNqf-wW.mjs} +76 -77
- package/components/chunks/{MazSpinner-sGO8fGeU.mjs → MazSpinner--r3LTLsG.mjs} +1 -1
- package/components/chunks/{MazSpinner-J65FS2NQ.mjs → MazSpinner-pNzZhHZZ.mjs} +1 -1
- package/css/main.css +1 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/{MazBtn-Pvva3xxJ.cjs → MazBtn-Z68Qcz6H.cjs} +1 -1
- package/modules/chunks/{MazBtn-6X33pE4R.mjs → MazBtn-eRGPCIkP.mjs} +2 -2
- package/modules/chunks/{MazIcon-nsdEk_bi.cjs → MazIcon-EGO90M9q.cjs} +1 -1
- package/modules/chunks/{MazIcon-pUHpzvQR.mjs → MazIcon-n2dbTC_m.mjs} +1 -1
- package/modules/chunks/{MazSpinner-bRHruIu5.cjs → MazSpinner-LHVLe0o9.cjs} +1 -1
- package/modules/chunks/{MazSpinner-jE6mxCt9.mjs → MazSpinner-fLKVj1GO.mjs} +1 -1
- package/modules/chunks/{index-UXaYPYFG.mjs → index-Pm6B35Ts.mjs} +600 -568
- package/modules/chunks/index-xH0NYpR0.cjs +124 -0
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/nuxt/runtime/plugins/toaster.mjs +2 -0
- package/package.json +2 -7
- package/types/components/MazBackdrop.vue.d.ts +2 -2
- package/types/components/MazCard.vue.d.ts +1 -1
- package/types/components/MazCheckbox.vue.d.ts +2 -2
- package/types/components/MazDropdown.vue.d.ts +2 -2
- package/types/components/MazGallery.vue.d.ts +1 -1
- package/types/components/MazInput.vue.d.ts +2 -2
- package/types/components/MazLazyImg.vue.d.ts +15 -0
- package/types/components/MazPhoneNumberInput.vue.d.ts +1 -1
- package/types/components/MazPullToRefresh.vue.d.ts +1 -1
- package/types/components/MazRadio.vue.d.ts +1 -1
- package/types/components/MazSelect.vue.d.ts +2 -2
- package/types/components/MazSwitch.vue.d.ts +1 -1
- package/types/components/MazTextarea.vue.d.ts +2 -2
- package/types/modules/composables/use-theme-handler.d.ts +3 -1
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +50 -23
- package/types/modules/directives/v-fullscreen-img/fullscreen-img.handler.d.ts +5 -2
- package/types/modules/plugins/toaster/MazToast.vue.d.ts +1 -1
- package/modules/chunks/index-9HcOUWhm.cjs +0 -124
package/components/MazAvatar.mjs
CHANGED
|
@@ -85,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
85
|
teleportSelector: string;
|
|
86
86
|
beforeClose: Function;
|
|
87
87
|
noCloseOnEscKey: boolean;
|
|
88
|
-
backdropClass: string |
|
|
89
|
-
backdropContentClass: string |
|
|
88
|
+
backdropClass: string | Record<string, any> | unknown[];
|
|
89
|
+
backdropContentClass: string | Record<string, any> | unknown[];
|
|
90
90
|
}, {}>;
|
|
91
91
|
export default _default;
|
package/components/MazCard.d.ts
CHANGED
|
@@ -197,12 +197,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
197
197
|
};
|
|
198
198
|
}>>, {
|
|
199
199
|
zoom: boolean;
|
|
200
|
+
scale: boolean;
|
|
200
201
|
href: string;
|
|
201
202
|
noPadding: boolean;
|
|
202
203
|
bordered: boolean;
|
|
203
204
|
images: MazGalleryImage[];
|
|
204
205
|
noRemaining: boolean;
|
|
205
|
-
scale: boolean;
|
|
206
206
|
orientation: string;
|
|
207
207
|
hrefTarget: string;
|
|
208
208
|
footerAlign: string;
|
|
@@ -86,11 +86,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
86
86
|
color: Color;
|
|
87
87
|
style: import("vue").StyleValue;
|
|
88
88
|
class: any;
|
|
89
|
-
disabled: boolean;
|
|
90
89
|
name: string;
|
|
90
|
+
disabled: boolean;
|
|
91
91
|
value: string | number | boolean;
|
|
92
|
-
id: string;
|
|
93
92
|
modelValue: boolean | (string | number)[];
|
|
93
|
+
id: string;
|
|
94
94
|
}, {}>, {
|
|
95
95
|
default?(_: {}): any;
|
|
96
96
|
}>;
|
|
@@ -82,9 +82,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
82
82
|
color: Color;
|
|
83
83
|
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
84
84
|
class: any;
|
|
85
|
-
id: string;
|
|
86
|
-
position: Position;
|
|
87
85
|
trigger: "click" | "both" | "hover";
|
|
86
|
+
position: Position;
|
|
87
|
+
id: string;
|
|
88
88
|
screenReaderDescription: string;
|
|
89
89
|
}, {}>, {
|
|
90
90
|
element?(_: {
|
|
@@ -150,6 +150,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
150
150
|
}>>, {
|
|
151
151
|
width: string | number;
|
|
152
152
|
height: string | number;
|
|
153
|
+
scale: boolean;
|
|
153
154
|
blur: boolean;
|
|
154
155
|
lazy: boolean;
|
|
155
156
|
images: MazGalleryImage[];
|
|
@@ -160,7 +161,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
160
161
|
noRadius: boolean;
|
|
161
162
|
noZoom: boolean;
|
|
162
163
|
hasEmptyLayer: boolean;
|
|
163
|
-
scale: boolean;
|
|
164
164
|
separatorColor: string;
|
|
165
165
|
}, {}>;
|
|
166
166
|
export default _default;
|
package/components/MazInput.d.ts
CHANGED
|
@@ -254,15 +254,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
254
254
|
label: string;
|
|
255
255
|
style: import("vue").StyleValue;
|
|
256
256
|
class: any;
|
|
257
|
-
disabled: boolean;
|
|
258
257
|
name: string;
|
|
258
|
+
disabled: boolean;
|
|
259
259
|
placeholder: string;
|
|
260
260
|
required: boolean;
|
|
261
|
-
id: string;
|
|
262
261
|
error: boolean;
|
|
263
262
|
leftIcon: string;
|
|
264
263
|
rightIcon: string;
|
|
265
264
|
modelValue: ModelValueSimple;
|
|
265
|
+
id: string;
|
|
266
266
|
noRadius: boolean;
|
|
267
267
|
readonly: boolean;
|
|
268
268
|
hint: string;
|
|
@@ -10,10 +10,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
10
10
|
type: PropType<any>;
|
|
11
11
|
default: undefined;
|
|
12
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated use `src` instead
|
|
15
|
+
*/
|
|
13
16
|
image: {
|
|
14
17
|
type: PropType<Image>;
|
|
15
18
|
default: undefined;
|
|
16
19
|
};
|
|
20
|
+
src: {
|
|
21
|
+
type: PropType<Image>;
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
17
24
|
alt: {
|
|
18
25
|
type: StringConstructor;
|
|
19
26
|
default: undefined;
|
|
@@ -60,10 +67,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
60
67
|
type: PropType<any>;
|
|
61
68
|
default: undefined;
|
|
62
69
|
};
|
|
70
|
+
/**
|
|
71
|
+
* @deprecated use `src` instead
|
|
72
|
+
*/
|
|
63
73
|
image: {
|
|
64
74
|
type: PropType<Image>;
|
|
65
75
|
default: undefined;
|
|
66
76
|
};
|
|
77
|
+
src: {
|
|
78
|
+
type: PropType<Image>;
|
|
79
|
+
default: undefined;
|
|
80
|
+
};
|
|
67
81
|
alt: {
|
|
68
82
|
type: StringConstructor;
|
|
69
83
|
default: undefined;
|
|
@@ -105,6 +119,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
105
119
|
style: import("vue").StyleValue;
|
|
106
120
|
image: Image;
|
|
107
121
|
class: any;
|
|
122
|
+
src: Image;
|
|
108
123
|
alt: string;
|
|
109
124
|
noPhoto: boolean;
|
|
110
125
|
loadOnce: boolean;
|
|
@@ -373,9 +373,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
373
373
|
class: any;
|
|
374
374
|
disabled: boolean;
|
|
375
375
|
placeholder: string;
|
|
376
|
-
id: string;
|
|
377
376
|
error: boolean;
|
|
378
377
|
modelValue: string;
|
|
378
|
+
id: string;
|
|
379
379
|
countryCode: string;
|
|
380
380
|
listPosition: Position;
|
|
381
381
|
defaultPhoneNumber: string;
|
|
@@ -49,9 +49,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
49
49
|
onFinish?: ((...args: any[]) => any) | undefined;
|
|
50
50
|
onResponse?: ((...args: any[]) => any) | undefined;
|
|
51
51
|
}, {
|
|
52
|
+
offset: number;
|
|
52
53
|
disabled: boolean;
|
|
53
54
|
action: () => unknown;
|
|
54
|
-
offset: number;
|
|
55
55
|
distance: number;
|
|
56
56
|
containerSelector: string;
|
|
57
57
|
headerClass: string;
|
package/components/MazRadio.d.ts
CHANGED
|
@@ -94,10 +94,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
94
94
|
};
|
|
95
95
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
96
96
|
close: (...args: any[]) => void;
|
|
97
|
+
open: (...args: any[]) => void;
|
|
97
98
|
blur: (...args: any[]) => void;
|
|
98
99
|
change: (...args: any[]) => void;
|
|
99
100
|
focus: (...args: any[]) => void;
|
|
100
|
-
open: (...args: any[]) => void;
|
|
101
101
|
"update:model-value": (...args: any[]) => void;
|
|
102
102
|
"selected-option": (...args: any[]) => void;
|
|
103
103
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -207,9 +207,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
207
207
|
disabled: boolean;
|
|
208
208
|
multiple: boolean;
|
|
209
209
|
required: boolean;
|
|
210
|
-
id: string;
|
|
211
210
|
open: boolean;
|
|
212
211
|
modelValue: ModelValueSimple | ModelValueSimple[];
|
|
212
|
+
id: string;
|
|
213
213
|
options: MazSelectOption[];
|
|
214
214
|
optionValueKey: string;
|
|
215
215
|
optionLabelKey: string;
|
|
@@ -69,8 +69,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
69
69
|
color: Color;
|
|
70
70
|
style: import("vue").StyleValue;
|
|
71
71
|
class: any;
|
|
72
|
-
disabled: boolean;
|
|
73
72
|
name: string;
|
|
73
|
+
disabled: boolean;
|
|
74
74
|
id: string;
|
|
75
75
|
}, {}>, {
|
|
76
76
|
default?(_: {}): any;
|
|
@@ -140,13 +140,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
140
140
|
label: string;
|
|
141
141
|
style: import("vue").StyleValue;
|
|
142
142
|
class: any;
|
|
143
|
-
disabled: boolean;
|
|
144
143
|
name: string;
|
|
144
|
+
disabled: boolean;
|
|
145
145
|
placeholder: string;
|
|
146
146
|
required: boolean;
|
|
147
|
-
id: string;
|
|
148
147
|
error: boolean;
|
|
149
148
|
modelValue: string;
|
|
149
|
+
id: string;
|
|
150
150
|
readonly: boolean;
|
|
151
151
|
hint: string;
|
|
152
152
|
}, {}>;
|