maz-ui 3.47.1 → 3.47.2-beta.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.
Files changed (96) hide show
  1. package/components/MazCard.mjs +1 -1
  2. package/components/MazChart.d.ts +1 -1
  3. package/components/MazChecklist.mjs +1 -1
  4. package/components/MazGallery.mjs +1 -1
  5. package/components/MazInput.mjs +1 -1
  6. package/components/MazInputNumber.mjs +1 -1
  7. package/components/MazInputPrice.mjs +1 -1
  8. package/components/MazInputTags.mjs +1 -1
  9. package/components/MazPhoneNumberInput.mjs +1 -1
  10. package/components/MazPicker.mjs +1 -1
  11. package/components/MazSelect.mjs +1 -1
  12. package/components/MazTable.d.ts +29 -52
  13. package/components/MazTable.mjs +1 -1
  14. package/components/MazTabsBar.mjs +1 -1
  15. package/components/assets/MazDropdown.css +1 -1
  16. package/components/assets/MazGallery.css +1 -1
  17. package/components/assets/MazInput.css +1 -1
  18. package/components/assets/MazInputNumber.css +1 -1
  19. package/components/assets/MazInputPrice.css +1 -1
  20. package/components/assets/MazInputTags.css +1 -1
  21. package/components/assets/MazPhoneNumberInput.css +1 -1
  22. package/components/assets/MazPicker.css +1 -1
  23. package/components/assets/MazSelect.css +1 -1
  24. package/components/assets/MazTable.css +1 -1
  25. package/components/assets/MazTabsBar.css +1 -1
  26. package/components/chunks/{MazBadge-CNSfzYq-.mjs → MazBadge-CvIiiTdM.mjs} +1 -1
  27. package/components/chunks/{MazBtn-D6Jxw9Nr.mjs → MazBtn-BO3G90L3.mjs} +2 -2
  28. package/components/chunks/{MazBtn-BRnLMzhy.mjs → MazBtn-C87UEsVs.mjs} +2 -2
  29. package/components/chunks/{MazBtn-DlD5m7T4.mjs → MazBtn-C_l3xuAh.mjs} +2 -2
  30. package/components/chunks/{MazBtn-CnqRnXh_.mjs → MazBtn-DJOUeES7.mjs} +2 -2
  31. package/components/chunks/{MazBtn-TkePGm5o.mjs → MazBtn-DVkwISlp.mjs} +2 -2
  32. package/components/chunks/MazBtn-DadFupkY.mjs +118 -0
  33. package/components/chunks/{MazBtn-Dt8lr0GH.mjs → MazBtn-GGcGrIH4.mjs} +2 -2
  34. package/components/chunks/{MazCard-CfkvpcGL.mjs → MazCard-FSXmHyhj.mjs} +1 -1
  35. package/components/chunks/{MazCheckbox-BKCo6EzO.mjs → MazCheckbox-2G4VkxDz.mjs} +1 -1
  36. package/components/chunks/{MazCheckbox-Byqz8JJB.mjs → MazCheckbox-BmnqBHaY.mjs} +1 -1
  37. package/components/chunks/{MazCheckbox-CI8ml-P8.mjs → MazCheckbox-Cq9gpTEw.mjs} +1 -1
  38. package/components/chunks/{MazChecklist-BLxsNHMP.mjs → MazChecklist-CY1Cv70T.mjs} +1 -1
  39. package/components/chunks/{MazGallery-BMFwld84.mjs → MazGallery-BknvUeo1.mjs} +272 -229
  40. package/components/chunks/{MazGallery-BKL7gfrz.mjs → MazGallery-CZOokGAt.mjs} +248 -205
  41. package/components/chunks/{MazIcon-D8V8ixhf.mjs → MazIcon-z-jTiuyI.mjs} +1 -1
  42. package/components/chunks/{MazInput-CBiCdd0F.mjs → MazInput-BQoQSRyL.mjs} +2 -2
  43. package/components/chunks/{MazInput-Dx2cCzFS.mjs → MazInput-CJQB68c-.mjs} +22 -22
  44. package/components/chunks/{MazInput-O6Q41Fm0.mjs → MazInput-oOA7gdLO.mjs} +23 -23
  45. package/components/chunks/{MazInputNumber-DYPVUz4k.mjs → MazInputNumber-B4mQJcVB.mjs} +2 -2
  46. package/components/chunks/{MazInputPrice-DZD7ZZpm.mjs → MazInputPrice-BrxE5WVf.mjs} +2 -2
  47. package/components/chunks/{MazInputTags-CxXBsTdM.mjs → MazInputTags-BVCej_gW.mjs} +233 -232
  48. package/components/chunks/{MazLoadingBar-Di2OIrPD.mjs → MazLoadingBar-Dwf55oHy.mjs} +1 -1
  49. package/components/chunks/{MazPhoneNumberInput-C4TX1tGw.mjs → MazPhoneNumberInput-Cd25AzXc.mjs} +10 -10
  50. package/components/chunks/{MazPicker-BcQ_-AJH.mjs → MazPicker-C78yxilJ.mjs} +3 -3
  51. package/components/chunks/{MazPickerMonthSwitcher-hCAkEd5r.mjs → MazPickerMonthSwitcher-CyHYx8TT.mjs} +1 -1
  52. package/components/chunks/{MazPickerShortcuts-vpLyw1de.mjs → MazPickerShortcuts-Bsi8cnox.mjs} +1 -1
  53. package/components/chunks/{MazPickerYearSwitcher-DvC79vrt.mjs → MazPickerYearSwitcher-DLUSMAtz.mjs} +1 -1
  54. package/components/chunks/{MazSelect-BXzgSKmL.mjs → MazSelect-CQDoUpgp.mjs} +15 -14
  55. package/components/chunks/{MazSelect-Baj2BQH7.mjs → MazSelect-uCJPMXF-.mjs} +3 -3
  56. package/components/chunks/{MazSpinner-DwSGm0-X.mjs → MazSpinner-2D0ZmAQz.mjs} +1 -1
  57. package/components/chunks/MazSpinner-B9OwpEP_.mjs +34 -0
  58. package/components/chunks/{MazSpinner-C1SiKhfK.mjs → MazSpinner-BT_717pD.mjs} +1 -1
  59. package/components/chunks/{MazSpinner-Cg26sBU2.mjs → MazSpinner-C1Ip-Dwh.mjs} +1 -1
  60. package/components/chunks/MazSpinner-C23CZ_Za.mjs +34 -0
  61. package/components/chunks/{MazSpinner-B5lezvu4.mjs → MazSpinner-CViChjTw.mjs} +1 -1
  62. package/components/chunks/MazSpinner-CZMBhCOJ.mjs +34 -0
  63. package/components/chunks/{MazSpinner-DlMKBtyt.mjs → MazSpinner-D4C84xZe.mjs} +1 -1
  64. package/components/chunks/{MazSpinner-B8akphXs.mjs → MazSpinner-EFo8dM46.mjs} +1 -1
  65. package/components/chunks/MazSpinner-u8WQTgUR.mjs +34 -0
  66. package/components/chunks/{MazSpinner-M4r0cykl.mjs → MazSpinner-w-S5uCxg.mjs} +1 -1
  67. package/components/chunks/{MazTable-CulBGLaj.mjs → MazTable-Cuz5QI08.mjs} +4 -4
  68. package/components/chunks/{MazTableCell-BXDbkEJq.mjs → MazTableCell-D_OTOJiy.mjs} +1 -1
  69. package/components/chunks/{MazTableRow-Ds3CDEit.mjs → MazTableRow-BTcVAyOy.mjs} +1 -1
  70. package/components/chunks/{MazTableTitle-uirsgvk_.mjs → MazTableTitle-BDA9G6Zw.mjs} +1 -1
  71. package/components/chunks/{MazTabsBar-MZYefBb8.mjs → MazTabsBar-JkRzMDM6.mjs} +9 -10
  72. package/components/chunks/{MazTransitionExpand-4Ll_5LDO.mjs → MazTransitionExpand-C-FHhOGB.mjs} +1 -1
  73. package/css/main.css +1 -1
  74. package/modules/assets/index.css +1 -1
  75. package/modules/chunks/{MazBtn-CTqI4qhg.mjs → MazBtn-BSnVxud6.mjs} +2 -2
  76. package/modules/chunks/{MazBtn-D_CpNgpD.cjs → MazBtn-Bf9Cq5M7.cjs} +1 -1
  77. package/modules/chunks/{MazIcon-BB0DMfOc.mjs → MazIcon-DllGg8tw.mjs} +1 -1
  78. package/modules/chunks/{MazIcon-BtomZnkQ.cjs → MazIcon-dhyR9Q8a.cjs} +1 -1
  79. package/modules/chunks/{MazSpinner-BASKjaLe.cjs → MazSpinner-CiIyZ8gs.cjs} +1 -1
  80. package/modules/chunks/{MazSpinner-CDJhmIRl.mjs → MazSpinner-bdGjxsu6.mjs} +1 -1
  81. package/modules/chunks/index-BPqjUr5e.cjs +149 -0
  82. package/modules/chunks/{index-C2yAjM0P.mjs → index-x2F1l5sr.mjs} +944 -915
  83. package/modules/index.cjs +1 -1
  84. package/modules/index.mjs +1 -1
  85. package/nuxt/index.json +1 -1
  86. package/package.json +1 -1
  87. package/types/components/MazChart.vue.d.ts +1 -1
  88. package/types/components/MazTable.vue.d.ts +29 -52
  89. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +5 -5
  90. package/types/modules/helpers/check-availability.d.ts +1 -0
  91. package/components/chunks/MazBtn-igor8wRn.mjs +0 -118
  92. package/components/chunks/MazSpinner-CvT-9sC7.mjs +0 -34
  93. package/components/chunks/MazSpinner-DH6C15pU.mjs +0 -34
  94. package/components/chunks/MazSpinner-cqcpf_FX.mjs +0 -34
  95. package/components/chunks/MazSpinner-yPkPj7Q8.mjs +0 -34
  96. package/modules/chunks/index-BIX1NMzX.cjs +0 -149
package/modules/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-BIX1NMzX.cjs");exports.AosHandler=e.AosHandler;exports.DialogHandler=e.DialogHandler;exports.IdleTimeout=e.IdleTimeout;exports.ScriptLoader=e.ScriptLoader;exports.Swipe=e.Swipe;exports.ToasterHandler=e.ToasterHandler;exports.UserVisibility=e.UserVisibility;exports.WaitHandler=e.WaitHandler;exports.capitalize=e.capitalize;exports.checkAvailability=e.checkAvailability;exports.countryCodeToUnicodeFlag=e.countryCodeToUnicodeFlag;exports.currency=e.currency;exports.date=e.date;exports.debounce=e.debounce;exports.getAosInstance=e.getInstance;exports.injectStrict=e.injectStrict;exports.installAos=e.plugin$7;exports.installDialog=e.installDialog;exports.installDirectives=e.plugin;exports.installFilters=e.installFilters;exports.installToaster=e.installToaster;exports.installWait=e.plugin$8;exports.isClient=e.isClient;exports.isoCodes=e.isoCodes;exports.mount=e.mount;exports.normalizeString=e.normalizeString;exports.number=e.number;exports.sleep=e.sleep;exports.throttle=e.throttle;exports.truthyFilter=e.truthyFilter;exports.useAos=e.useAos;exports.useBreakpoints=e.useBreakpoints;exports.useDialog=e.useDialog;exports.useFormField=e.useFormField;exports.useFormValidator=e.useFormValidator;exports.useIdleTimeout=e.useIdleTimeout;exports.useInstanceUniqId=e.useInstanceUniqId;exports.useLanguageDisplayNames=e.useLanguageDisplayNames;exports.useReadingTime=e.useReadingTime;exports.useStringMatching=e.useStringMatching;exports.useSwipe=e.useSwipe;exports.useThemeHandler=e.useThemeHandler;exports.useTimer=e.useTimer;exports.useToast=e.useToast;exports.useUserVisibility=e.useUserVisibility;exports.useWait=e.useWait;exports.useWindowSize=e.useWindowSize;exports.vClickOutside=e.directive;exports.vClickOutsideInstall=e.plugin$1;exports.vClosable=e.directive$1;exports.vClosableInstall=e.plugin$2;exports.vFullscreenImg=e.directive$3;exports.vFullscreenImgInstall=e.plugin$4;exports.vLazyImg=e.directive$4;exports.vLazyImgInstall=e.plugin$5;exports.vTooltip=e.directive$2;exports.vTooltipInstall=e.plugin$3;exports.vZoomImg=e.vZoomImg;exports.vZoomImgInstall=e.plugin$6;exports.waitInstance=e.instance;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-BPqjUr5e.cjs");exports.AosHandler=e.AosHandler;exports.DialogHandler=e.DialogHandler;exports.IdleTimeout=e.IdleTimeout;exports.ScriptLoader=e.ScriptLoader;exports.Swipe=e.Swipe;exports.ToasterHandler=e.ToasterHandler;exports.UserVisibility=e.UserVisibility;exports.WaitHandler=e.WaitHandler;exports.capitalize=e.capitalize;exports.checkAvailability=e.checkAvailability;exports.countryCodeToUnicodeFlag=e.countryCodeToUnicodeFlag;exports.currency=e.currency;exports.date=e.date;exports.debounce=e.debounce;exports.getAosInstance=e.getInstance;exports.injectStrict=e.injectStrict;exports.installAos=e.plugin$7;exports.installDialog=e.installDialog;exports.installDirectives=e.plugin;exports.installFilters=e.installFilters;exports.installToaster=e.installToaster;exports.installWait=e.plugin$8;exports.isClient=e.isClient;exports.isoCodes=e.isoCodes;exports.mount=e.mount;exports.normalizeString=e.normalizeString;exports.number=e.number;exports.sleep=e.sleep;exports.throttle=e.throttle;exports.truthyFilter=e.truthyFilter;exports.useAos=e.useAos;exports.useBreakpoints=e.useBreakpoints;exports.useDialog=e.useDialog;exports.useFormField=e.useFormField;exports.useFormValidator=e.useFormValidator;exports.useIdleTimeout=e.useIdleTimeout;exports.useInstanceUniqId=e.useInstanceUniqId;exports.useLanguageDisplayNames=e.useLanguageDisplayNames;exports.useReadingTime=e.useReadingTime;exports.useStringMatching=e.useStringMatching;exports.useSwipe=e.useSwipe;exports.useThemeHandler=e.useThemeHandler;exports.useTimer=e.useTimer;exports.useToast=e.useToast;exports.useUserVisibility=e.useUserVisibility;exports.useWait=e.useWait;exports.useWindowSize=e.useWindowSize;exports.vClickOutside=e.directive;exports.vClickOutsideInstall=e.plugin$1;exports.vClosable=e.directive$1;exports.vClosableInstall=e.plugin$2;exports.vFullscreenImg=e.directive$3;exports.vFullscreenImgInstall=e.plugin$4;exports.vLazyImg=e.directive$4;exports.vLazyImgInstall=e.plugin$5;exports.vTooltip=e.directive$2;exports.vTooltipInstall=e.plugin$3;exports.vZoomImg=e.vZoomImg;exports.vZoomImgInstall=e.plugin$6;exports.waitInstance=e.instance;
package/modules/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { Y as e, a0 as i, O as l, S as t, U as n, a3 as o, X as r, a6 as u, H as c, L as d, M as m, I, J as g, N as v, Z as T, i as p, $ as y, a1 as F, s as b, G as C, a2 as S, a5 as h, P as z, g as A, Q as D, R as H, K as k, T as w, V as L, W as U, u as W, a as V, b as O, c as Z, d as f, e as j, f as q, h as x, j as B, k as M, l as N, m as R, n as E, o as G, p as J, q as K, r as P, t as Q, v as X, w as Y, x as $, B as _, A as aa, D as sa, C as ea, y as ia, z as la, F as ta, E as na, a4 as oa } from "./chunks/index-C2yAjM0P.mjs";
1
+ import { Y as e, a0 as i, O as l, S as t, U as n, a3 as o, X as r, a6 as u, H as c, L as d, M as m, I, J as g, N as v, Z as T, i as p, $ as y, a1 as F, s as b, G as C, a2 as S, a5 as h, P as z, g as A, Q as D, R as H, K as k, T as w, V as L, W as U, u as W, a as V, b as O, c as Z, d as f, e as j, f as q, h as x, j as B, k as M, l as N, m as R, n as E, o as G, p as J, q as K, r as P, t as Q, v as X, w as Y, x as $, B as _, A as aa, D as sa, C as ea, y as ia, z as la, F as ta, E as na, a4 as oa } from "./chunks/index-x2F1l5sr.mjs";
2
2
  export {
3
3
  e as AosHandler,
4
4
  i as DialogHandler,
package/nuxt/index.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "3.47.1",
7
+ "version": "3.47.2-beta.0",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "maz-ui",
3
3
  "type": "module",
4
- "version": "3.47.1",
4
+ "version": "3.47.2-beta.0",
5
5
  "description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
6
6
  "author": "Louis Mazel <me@loicmazuel.com>",
7
7
  "license": "MIT",
@@ -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" | "default" | "none" | "hide" | "show" | "active";
100
+ updateMode: "reset" | "resize" | "default" | "none" | "active" | "hide" | "show";
101
101
  plugins: unknown[];
102
102
  datasetIdKey: string;
103
103
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,6 +1,6 @@
1
1
  import type { Color, Size } from './types';
2
2
  import { type HTMLAttributes, type Ref, type StyleValue, type ThHTMLAttributes } from 'vue';
3
- export type { Color, Size };
3
+ export type { Color, Size } from './types';
4
4
  export interface HeadersEnriched {
5
5
  label: string;
6
6
  key?: string;
@@ -32,7 +32,7 @@ export interface Translations {
32
32
  paginationRowsPerPage?: string;
33
33
  paginationOf?: string;
34
34
  }
35
- export interface MazTableProps {
35
+ export interface MazTableProps<T extends Row> {
36
36
  /** class of the table element */
37
37
  tableClass?: HTMLAttributes['class'];
38
38
  /** style of the table element */
@@ -59,7 +59,7 @@ export interface MazTableProps {
59
59
  /** align all headers */
60
60
  headersAlign?: ThHTMLAttributes['align'];
61
61
  /** rows of the table - type: `Record<string, string | boolean | number>[]` ; */
62
- rows?: Row[];
62
+ rows?: T[];
63
63
  /** add hover effect on rows */
64
64
  hoverable?: boolean;
65
65
  /** enable search feature into the table header */
@@ -137,7 +137,15 @@ export interface MazTableProvide {
137
137
  backgroundEven: Ref<boolean>;
138
138
  backgroundOdd: Ref<boolean>;
139
139
  }
140
- declare function __VLS_template(): {
140
+ declare const _default: <T extends Row>(__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<{
141
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
142
+ readonly "onUpdate:model-value"?: ((value: (string | number | boolean | Row)[] | undefined) => any) | undefined;
143
+ readonly "onUpdate:search-query"?: ((searchQuery: string | undefined) => any) | undefined;
144
+ readonly "onUpdate:page"?: ((page: number) => any) | undefined;
145
+ readonly "onUpdate:page-size"?: ((pageSize: number) => any) | undefined;
146
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:model-value" | "onUpdate:search-query" | "onUpdate:page" | "onUpdate:page-size"> & MazTableProps<T>> & import("vue").PublicProps;
147
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
148
+ attrs: any;
141
149
  slots: Partial<Record<`header-label-${string}`, (_: {
142
150
  header: {
143
151
  label: string;
@@ -158,7 +166,7 @@ declare function __VLS_template(): {
158
166
  };
159
167
  label: string;
160
168
  }) => any>> & Partial<Record<`cell-${string}`, (_: {
161
- row: Row;
169
+ row: T;
162
170
  value: any;
163
171
  }) => any>> & {
164
172
  title?(_: {}): any;
@@ -187,62 +195,31 @@ declare function __VLS_template(): {
187
195
  "actions-header"?(_: {}): any;
188
196
  default?(_: {}): any;
189
197
  select?(_: {
190
- row: Row;
198
+ row: T;
191
199
  selected: boolean | undefined;
192
200
  }): any;
193
201
  cell?(_: {
194
- row: Row;
202
+ row: T;
195
203
  value: any;
196
204
  }): any;
197
205
  actions?(_: {
198
- row: Row;
206
+ row: T;
199
207
  }): any;
200
208
  "no-results"?(_: {}): any;
201
209
  "no-results-text"?(_: {}): any;
202
210
  };
203
- refs: {};
204
- attrs: Partial<{}>;
205
- };
206
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
207
- declare const __VLS_component: import("vue").DefineComponent<MazTableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
208
- "update:model-value": (value: (string | number | boolean | Row)[] | undefined) => any;
209
- "update:search-query": (searchQuery: string | undefined) => any;
210
- "update:page": (page: number) => any;
211
- "update:page-size": (pageSize: number) => any;
212
- }, string, import("vue").PublicProps, Readonly<MazTableProps> & Readonly<{
213
- "onUpdate:model-value"?: ((value: (string | number | boolean | Row)[] | undefined) => any) | undefined;
214
- "onUpdate:search-query"?: ((searchQuery: string | undefined) => any) | undefined;
215
- "onUpdate:page"?: ((page: number) => any) | undefined;
216
- "onUpdate:page-size"?: ((pageSize: number) => any) | undefined;
217
- }>, {
218
- caption: string;
219
- title: string;
220
- size: Size;
221
- color: Color;
222
- roundedSize: "none" | "sm" | "md" | "lg" | "xl" | "full";
223
- modelValue: (string | boolean | number)[];
224
- page: number;
225
- totalPages: number;
226
- searchPlaceholder: string;
227
- searchQuery: string;
228
- captionSide: "top" | "bottom";
229
- tableLayout: "auto" | "fixed";
230
- tableClass: HTMLAttributes["class"];
231
- tableStyle: string | false | import("vue").CSSProperties | StyleValue[] | null;
232
- headers: Header[];
233
- headersAlign: "center" | "left" | "right" | "justify" | "char";
234
- rows: Row[];
235
- searchByPlaceholder: string;
236
- searchByAllLabel: string;
237
- pageSize: number;
238
- paginationAllLabel: string;
239
- totalItems: number;
240
- selectedKey: string;
241
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
242
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
243
- export default _default;
244
- type __VLS_WithTemplateSlots<T, S> = T & {
245
- new (): {
246
- $slots: S;
211
+ emit: {
212
+ (event: "update:model-value", value: (Row | string | number | boolean)[] | undefined): void;
213
+ (event: "update:search-query", searchQuery: string | undefined): void;
214
+ (event: "update:page", page: number): void;
215
+ (event: "update:page-size", pageSize: number): void;
247
216
  };
217
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
218
+ [key: string]: any;
219
+ }> & {
220
+ __ctx?: Awaited<typeof __VLS_setup>;
248
221
  };
222
+ export default _default;
223
+ type __VLS_PrettifyLocal<T> = {
224
+ [K in keyof T]: T[K];
225
+ } & {};
@@ -1,4 +1,4 @@
1
- export interface Props {
1
+ export interface MazFullscreenImgProps {
2
2
  src: string;
3
3
  clickedElementBounds?: {
4
4
  top: number;
@@ -14,15 +14,15 @@ export interface Props {
14
14
  openInstanceClass?: string;
15
15
  clickedElement: HTMLElement;
16
16
  destroy?: () => void;
17
- alt?: string;
17
+ alt?: string | null;
18
18
  zoom?: boolean;
19
19
  }
20
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ declare const _default: import("vue").DefineComponent<MazFullscreenImgProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
21
  close: (...args: any[]) => void;
22
22
  "before-close": (...args: any[]) => void;
23
23
  previous: (...args: any[]) => void;
24
24
  next: (...args: any[]) => void;
25
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
25
+ }, string, import("vue").PublicProps, Readonly<MazFullscreenImgProps> & Readonly<{
26
26
  onClose?: ((...args: any[]) => any) | undefined;
27
27
  "onBefore-close"?: ((...args: any[]) => any) | undefined;
28
28
  onPrevious?: ((...args: any[]) => any) | undefined;
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
41
41
  width: number;
42
42
  };
43
43
  openInstanceClass: string;
44
- alt: string;
44
+ alt: string | null;
45
45
  zoom: boolean;
46
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
47
  export default _default;
@@ -2,4 +2,5 @@ export declare function checkAvailability<T>(getRef: () => T | null | undefined,
2
2
  maxAttempts?: number;
3
3
  interval?: number;
4
4
  errorMessage?: string;
5
+ expectedValue?: T;
5
6
  }): void;
@@ -1,118 +0,0 @@
1
- import { defineComponent as M, defineAsyncComponent as v, useAttrs as w, useSlots as E, computed as o, openBlock as l, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as O, createCommentVNode as t, renderSlot as u, unref as d, createElementBlock as R, createVNode as A } from "vue";
2
- import { _ as D } from "./MazInputPrice-DZD7ZZpm.mjs";
3
- import '../assets/MazBtn.css';const L = {
4
- key: 2,
5
- class: "m-btn-loader-container"
6
- }, N = /* @__PURE__ */ M({
7
- __name: "MazBtn",
8
- props: {
9
- variant: { default: "button" },
10
- size: { default: "md" },
11
- color: { default: "primary" },
12
- type: { default: "button" },
13
- rounded: { type: Boolean },
14
- roundedSize: { default: "lg" },
15
- noRounded: { type: Boolean },
16
- outline: { type: Boolean },
17
- pastel: { type: Boolean },
18
- block: { type: Boolean },
19
- noUnderline: { type: Boolean },
20
- loading: { type: Boolean },
21
- disabled: { type: Boolean },
22
- fab: { type: Boolean },
23
- icon: { type: [String, Function, Object], default: void 0 },
24
- leftIcon: { type: [String, Function, Object], default: void 0 },
25
- rightIcon: { type: [String, Function, Object], default: void 0 },
26
- noPadding: { type: Boolean },
27
- noElevation: { type: Boolean },
28
- justify: { default: "center" }
29
- },
30
- setup(b) {
31
- const n = b, z = v(() => import("./MazSpinner-B5lezvu4.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
32
- () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
- ), p = o(
34
- () => (n.loading || n.disabled) && y.value === "button"
35
- ), I = o(() => p.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), B = o(() => n.loading && n.variant === "button"), C = o(() => !!f["left-icon"] || n.leftIcon), m = o(() => !!f["right-icon"] || n.rightIcon), S = o(() => C.value || m.value), $ = o(() => n.icon || !!f.icon), T = o(() => y.value === "button" ? n.type : void 0), i = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), F = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
36
- return (e, P) => (l(), a(r(y.value), {
37
- disabled: p.value || void 0,
38
- class: s(["m-btn", [
39
- `--${e.size}`,
40
- !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
41
- j.value,
42
- I.value,
43
- k.value,
44
- F.value,
45
- {
46
- "--block": e.block,
47
- "--no-underline": e.noUnderline,
48
- "--fab": e.fab,
49
- "--loading": e.loading,
50
- "--disabled": p.value,
51
- "--icon": S.value,
52
- "--rounded": e.rounded,
53
- "--no-rounded": e.noRounded,
54
- "--no-padding": e.noPadding,
55
- "--no-elevation": e.noElevation
56
- }
57
- ]]),
58
- type: T.value
59
- }, {
60
- default: O(() => [
61
- t(`
62
- @slot left-icon - The icon to display on the left of the button
63
- `),
64
- u(e.$slots, "left-icon", {}, () => [
65
- typeof e.leftIcon == "string" ? (l(), a(d(c), {
66
- key: 0,
67
- name: e.leftIcon,
68
- class: s([i.value])
69
- }, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(r(e.leftIcon), {
70
- key: 1,
71
- class: s([i.value])
72
- }, null, 8, ["class"])) : t("v-if", !0)
73
- ], !0),
74
- t(`
75
- @slot icon - The icon to display on the fab button
76
- `),
77
- $.value ? u(e.$slots, "icon", { key: 0 }, () => [
78
- typeof e.icon == "string" ? (l(), a(d(c), {
79
- key: 0,
80
- name: e.icon,
81
- class: s([i.value])
82
- }, null, 8, ["name", "class"])) : e.icon ? (l(), a(r(e.icon), {
83
- key: 1,
84
- class: s([i.value])
85
- }, null, 8, ["class"])) : t("v-if", !0)
86
- ], !0) : t("v-if", !0),
87
- t(`
88
- @slot default - The content of the button
89
- `),
90
- u(e.$slots, "default", {}, void 0, !0),
91
- t(`
92
- @slot left-icon - The icon to display on the left of the button
93
- `),
94
- m.value ? u(e.$slots, "right-icon", { key: 1 }, () => [
95
- typeof e.rightIcon == "string" ? (l(), a(d(c), {
96
- key: 0,
97
- name: e.rightIcon,
98
- class: s([i.value])
99
- }, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(r(e.rightIcon), {
100
- key: 1,
101
- class: s([i.value])
102
- }, null, 8, ["class"])) : t("v-if", !0)
103
- ], !0) : t("v-if", !0),
104
- B.value ? (l(), R("div", L, [
105
- A(d(z), {
106
- size: "2em",
107
- color: e.color
108
- }, null, 8, ["color"])
109
- ])) : t("v-if", !0)
110
- ]),
111
- _: 3
112
- /* FORWARDED */
113
- }, 8, ["disabled", "class", "type"]));
114
- }
115
- }), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-d3a1ed01"]]);
116
- export {
117
- q as default
118
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazPhoneNumberInput-C4TX1tGw.mjs";
3
- import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { default: "2em" },
7
- color: { default: "theme" }
8
- },
9
- setup(m) {
10
- return (e, n) => (s(), t("svg", {
11
- width: e.size,
12
- height: e.size,
13
- version: "1.1",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- x: "0px",
16
- y: "0px",
17
- viewBox: "0 0 50 50",
18
- "xml:space": "preserve",
19
- class: r(["m-spinner", `m-spinner--${e.color}`]),
20
- style: { "enable-background": "new 0 0 50 50" }
21
- }, n[0] || (n[0] = [
22
- p(
23
- "path",
24
- { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
25
- null,
26
- -1
27
- /* HOISTED */
28
- )
29
- ]), 10, i));
30
- }
31
- }), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
32
- export {
33
- h as default
34
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazInputNumber-DYPVUz4k.mjs";
3
- import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { default: "2em" },
7
- color: { default: "theme" }
8
- },
9
- setup(m) {
10
- return (e, n) => (s(), t("svg", {
11
- width: e.size,
12
- height: e.size,
13
- version: "1.1",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- x: "0px",
16
- y: "0px",
17
- viewBox: "0 0 50 50",
18
- "xml:space": "preserve",
19
- class: r(["m-spinner", `m-spinner--${e.color}`]),
20
- style: { "enable-background": "new 0 0 50 50" }
21
- }, n[0] || (n[0] = [
22
- p(
23
- "path",
24
- { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
25
- null,
26
- -1
27
- /* HOISTED */
28
- )
29
- ]), 10, i));
30
- }
31
- }), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
32
- export {
33
- h as default
34
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazPicker-BcQ_-AJH.mjs";
3
- import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { default: "2em" },
7
- color: { default: "theme" }
8
- },
9
- setup(m) {
10
- return (e, n) => (s(), t("svg", {
11
- width: e.size,
12
- height: e.size,
13
- version: "1.1",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- x: "0px",
16
- y: "0px",
17
- viewBox: "0 0 50 50",
18
- "xml:space": "preserve",
19
- class: r(["m-spinner", `m-spinner--${e.color}`]),
20
- style: { "enable-background": "new 0 0 50 50" }
21
- }, n[0] || (n[0] = [
22
- p(
23
- "path",
24
- { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
25
- null,
26
- -1
27
- /* HOISTED */
28
- )
29
- ]), 10, i));
30
- }
31
- }), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
32
- export {
33
- h as default
34
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazInputTags-CxXBsTdM.mjs";
3
- import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { default: "2em" },
7
- color: { default: "theme" }
8
- },
9
- setup(m) {
10
- return (e, n) => (s(), t("svg", {
11
- width: e.size,
12
- height: e.size,
13
- version: "1.1",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- x: "0px",
16
- y: "0px",
17
- viewBox: "0 0 50 50",
18
- "xml:space": "preserve",
19
- class: r(["m-spinner", `m-spinner--${e.color}`]),
20
- style: { "enable-background": "new 0 0 50 50" }
21
- }, n[0] || (n[0] = [
22
- p(
23
- "path",
24
- { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
25
- null,
26
- -1
27
- /* HOISTED */
28
- )
29
- ]), 10, i));
30
- }
31
- }), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
32
- export {
33
- h as default
34
- };