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.
Files changed (55) hide show
  1. package/components/MazAvatar.mjs +1 -1
  2. package/components/MazBackdrop.d.ts +2 -2
  3. package/components/MazCard.d.ts +1 -1
  4. package/components/MazCheckbox.d.ts +2 -2
  5. package/components/MazDropdown.d.ts +2 -2
  6. package/components/MazGallery.d.ts +1 -1
  7. package/components/MazInput.d.ts +2 -2
  8. package/components/MazLazyImg.d.ts +15 -0
  9. package/components/MazLazyImg.mjs +1 -1
  10. package/components/MazPhoneNumberInput.d.ts +1 -1
  11. package/components/MazPullToRefresh.d.ts +1 -1
  12. package/components/MazRadio.d.ts +1 -1
  13. package/components/MazSelect.d.ts +2 -2
  14. package/components/MazSwitch.d.ts +1 -1
  15. package/components/MazTextarea.d.ts +2 -2
  16. package/components/assets/MazAccordion.css +1 -1
  17. package/components/assets/MazLazyImg.css +1 -1
  18. package/components/chunks/{MazAvatar-0JzIvOc4.mjs → MazAvatar-yW8G4EV0.mjs} +1 -1
  19. package/components/chunks/{MazLazyImg-evGMN9Pe.mjs → MazLazyImg-C5vsYe-A.mjs} +75 -66
  20. package/components/chunks/{MazLazyImg-440YmAhx.mjs → MazLazyImg-ueNqf-wW.mjs} +76 -77
  21. package/components/chunks/{MazSpinner-sGO8fGeU.mjs → MazSpinner--r3LTLsG.mjs} +1 -1
  22. package/components/chunks/{MazSpinner-J65FS2NQ.mjs → MazSpinner-pNzZhHZZ.mjs} +1 -1
  23. package/css/main.css +1 -1
  24. package/modules/assets/index.css +1 -1
  25. package/modules/chunks/{MazBtn-Pvva3xxJ.cjs → MazBtn-Z68Qcz6H.cjs} +1 -1
  26. package/modules/chunks/{MazBtn-6X33pE4R.mjs → MazBtn-eRGPCIkP.mjs} +2 -2
  27. package/modules/chunks/{MazIcon-nsdEk_bi.cjs → MazIcon-EGO90M9q.cjs} +1 -1
  28. package/modules/chunks/{MazIcon-pUHpzvQR.mjs → MazIcon-n2dbTC_m.mjs} +1 -1
  29. package/modules/chunks/{MazSpinner-bRHruIu5.cjs → MazSpinner-LHVLe0o9.cjs} +1 -1
  30. package/modules/chunks/{MazSpinner-jE6mxCt9.mjs → MazSpinner-fLKVj1GO.mjs} +1 -1
  31. package/modules/chunks/{index-UXaYPYFG.mjs → index-Pm6B35Ts.mjs} +600 -568
  32. package/modules/chunks/index-xH0NYpR0.cjs +124 -0
  33. package/modules/index.cjs +1 -1
  34. package/modules/index.mjs +1 -1
  35. package/nuxt/index.json +1 -1
  36. package/nuxt/runtime/plugins/toaster.mjs +2 -0
  37. package/package.json +2 -7
  38. package/types/components/MazBackdrop.vue.d.ts +2 -2
  39. package/types/components/MazCard.vue.d.ts +1 -1
  40. package/types/components/MazCheckbox.vue.d.ts +2 -2
  41. package/types/components/MazDropdown.vue.d.ts +2 -2
  42. package/types/components/MazGallery.vue.d.ts +1 -1
  43. package/types/components/MazInput.vue.d.ts +2 -2
  44. package/types/components/MazLazyImg.vue.d.ts +15 -0
  45. package/types/components/MazPhoneNumberInput.vue.d.ts +1 -1
  46. package/types/components/MazPullToRefresh.vue.d.ts +1 -1
  47. package/types/components/MazRadio.vue.d.ts +1 -1
  48. package/types/components/MazSelect.vue.d.ts +2 -2
  49. package/types/components/MazSwitch.vue.d.ts +1 -1
  50. package/types/components/MazTextarea.vue.d.ts +2 -2
  51. package/types/modules/composables/use-theme-handler.d.ts +3 -1
  52. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +50 -23
  53. package/types/modules/directives/v-fullscreen-img/fullscreen-img.handler.d.ts +5 -2
  54. package/types/modules/plugins/toaster/MazToast.vue.d.ts +1 -1
  55. package/modules/chunks/index-9HcOUWhm.cjs +0 -124
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazAvatar-0JzIvOc4.mjs";
1
+ import { M as f } from "./chunks/MazAvatar-yW8G4EV0.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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 | unknown[] | Record<string, any>;
89
- backdropContentClass: string | unknown[] | Record<string, any>;
88
+ backdropClass: string | Record<string, any> | unknown[];
89
+ backdropContentClass: string | Record<string, any> | unknown[];
90
90
  }, {}>;
91
91
  export default _default;
@@ -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;
@@ -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;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazLazyImg-440YmAhx.mjs";
1
+ import { M as f } from "./chunks/MazLazyImg-C5vsYe-A.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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;
@@ -87,8 +87,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
87
87
  style: import("vue").StyleValue;
88
88
  class: any;
89
89
  disabled: boolean;
90
- id: string;
91
90
  modelValue: string;
91
+ id: string;
92
92
  }, {}>, {
93
93
  default?(_: {}): any;
94
94
  }>;
@@ -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
  }, {}>;