maz-ui 3.46.1-beta.4 → 3.46.1-beta.6

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 (154) hide show
  1. package/components/MazAccordion.d.ts +1 -1
  2. package/components/MazBottomSheet.mjs +1 -1
  3. package/components/MazBtn.d.ts +5 -4
  4. package/components/MazBtn.mjs +1 -1
  5. package/components/MazCard.mjs +1 -1
  6. package/components/MazCardSpotlight.d.ts +1 -1
  7. package/components/MazCarousel.mjs +1 -1
  8. package/components/MazCheckbox.mjs +61 -61
  9. package/components/MazDialog.mjs +1 -1
  10. package/components/MazDialogPromise.mjs +1 -1
  11. package/components/MazDrawer.mjs +1 -1
  12. package/components/MazDropdown.d.ts +4 -0
  13. package/components/MazDropdown.mjs +98 -93
  14. package/components/MazIcon.mjs +55 -67
  15. package/components/MazInput.mjs +1 -1
  16. package/components/MazInputNumber.mjs +1 -1
  17. package/components/MazInputPrice.mjs +1 -1
  18. package/components/MazInputTags.mjs +1 -1
  19. package/components/MazLink.mjs +1 -1
  20. package/components/MazPagination.mjs +1 -1
  21. package/components/MazPhoneNumberInput.mjs +1 -1
  22. package/components/MazPicker.mjs +1 -1
  23. package/components/MazPullToRefresh.d.ts +2 -2
  24. package/components/MazSelect.mjs +1 -1
  25. package/components/MazStepper.mjs +1 -1
  26. package/components/MazSwitch.mjs +33 -33
  27. package/components/MazTable.d.ts +33 -4
  28. package/components/MazTable.mjs +1 -1
  29. package/components/assets/MazBtn.css +1 -1
  30. package/components/assets/MazCheckbox.css +1 -1
  31. package/components/assets/MazDropdown.css +1 -1
  32. package/components/assets/MazInputNumber.css +1 -1
  33. package/components/assets/MazInputTags.css +1 -1
  34. package/components/assets/MazPagination.css +1 -1
  35. package/components/assets/MazPicker.css +1 -1
  36. package/components/assets/MazSelect.css +1 -1
  37. package/components/assets/MazSwitch.css +1 -1
  38. package/components/assets/MazTable.css +1 -1
  39. package/components/chunks/{MazBottomSheet-DQTlEDlz.mjs → MazBottomSheet-DeAah_or.mjs} +1 -1
  40. package/components/chunks/MazBtn-BV212IYv.mjs +118 -0
  41. package/components/chunks/MazBtn-BXvObcWn.mjs +118 -0
  42. package/components/chunks/MazBtn-C2dJYsnq.mjs +118 -0
  43. package/components/chunks/MazBtn-C2htID_X.mjs +118 -0
  44. package/components/chunks/MazBtn-C4xZC-A2.mjs +118 -0
  45. package/components/chunks/MazBtn-C5IbN0rp.mjs +123 -0
  46. package/components/chunks/MazBtn-CEFfMm7k.mjs +118 -0
  47. package/components/chunks/MazBtn-CESOVC-a.mjs +118 -0
  48. package/components/chunks/MazBtn-CLFly8Ie.mjs +118 -0
  49. package/components/chunks/MazBtn-CRpqDW12.mjs +118 -0
  50. package/components/chunks/MazBtn-D2H26ExI.mjs +118 -0
  51. package/components/chunks/MazBtn-y4vRRWDg.mjs +118 -0
  52. package/components/chunks/MazBtn-zMzxqcCs.mjs +126 -0
  53. package/components/chunks/{MazCard-BapktHxt.mjs → MazCard-BF-2_gZV.mjs} +1 -1
  54. package/components/chunks/{MazCarousel-DYdWCLk7.mjs → MazCarousel-DVBUt8NL.mjs} +1 -1
  55. package/components/chunks/{MazCheckbox-m1322Y67.mjs → MazCheckbox-CEfJco3U.mjs} +32 -32
  56. package/components/chunks/MazCheckbox-CeVxgVY8.mjs +146 -0
  57. package/components/chunks/{MazCheckbox-DOYkVPMK.mjs → MazCheckbox-mgtQBs4K.mjs} +32 -32
  58. package/components/chunks/{MazDialog-DbEp5ZrT.mjs → MazDialog-fn7vXgBg.mjs} +1 -1
  59. package/components/chunks/{MazDialogPromise-B2WdAwbv.mjs → MazDialogPromise-C8dpQb5k.mjs} +2 -2
  60. package/components/chunks/{MazExpandAnimation-BFyvL-vh.mjs → MazExpandAnimation-Bkw_wFTi.mjs} +1 -1
  61. package/components/chunks/{MazGallery-HtChfMa_.mjs → MazGallery-CXJsK5ve.mjs} +2 -2
  62. package/components/chunks/MazIcon-BXX3RaoN.mjs +101 -0
  63. package/components/chunks/MazIcon-BbvBov5G.mjs +106 -0
  64. package/components/chunks/MazIcon-DjMuw8Bz.mjs +101 -0
  65. package/components/chunks/MazInput-AcA93-8Q.mjs +291 -0
  66. package/components/chunks/{MazInput-fbdOvhry.mjs → MazInput-Dnwxraz4.mjs} +1 -1
  67. package/components/chunks/MazInputNumber-OY_UqCMs.mjs +593 -0
  68. package/components/chunks/{MazInputPrice-Y6lalrWq.mjs → MazInputPrice-DvVAZa12.mjs} +1 -1
  69. package/components/chunks/{MazInputTags-DVYW4SbE.mjs → MazInputTags-DKlGT2IB.mjs} +205 -240
  70. package/components/chunks/{MazLink-HJI1YmdA.mjs → MazLink-Dl9ePCGm.mjs} +1 -1
  71. package/components/chunks/MazLoadingBar-By1umvdC.mjs +32 -0
  72. package/components/chunks/MazPagination-BL9LU84U.mjs +362 -0
  73. package/components/chunks/{MazPhoneNumberInput-BbeofPj5.mjs → MazPhoneNumberInput-C7gUk5lg.mjs} +3 -3
  74. package/components/chunks/{MazPicker-BPH4sy2Q.mjs → MazPicker-Dhm3u2MN.mjs} +620 -652
  75. package/components/chunks/{MazPickerMonthSwitcher-Ca4BqrF-.mjs → MazPickerMonthSwitcher-ck8cl1-N.mjs} +1 -1
  76. package/components/chunks/{MazPickerShortcuts-Bs2RMdC_.mjs → MazPickerShortcuts-hEpUqVC-.mjs} +1 -1
  77. package/components/chunks/{MazPickerYearSwitcher-Bg_0ecwk.mjs → MazPickerYearSwitcher-CmMxOc69.mjs} +1 -1
  78. package/components/chunks/MazSelect-CGsMRdr7.mjs +568 -0
  79. package/components/chunks/{MazSelect-CUo_OXDp.mjs → MazSelect-ed445MXs.mjs} +2 -2
  80. package/components/chunks/{MazSpinner-BAHWcgal.mjs → MazSpinner-Akyx5wgU.mjs} +1 -1
  81. package/components/chunks/MazSpinner-B2dsE23u.mjs +37 -0
  82. package/components/chunks/{MazSpinner-D9K-TsT7.mjs → MazSpinner-BCOeuzTB.mjs} +1 -1
  83. package/components/chunks/MazSpinner-BakExtKd.mjs +37 -0
  84. package/components/chunks/{MazSpinner-Cl4Yy1dv.mjs → MazSpinner-C9meLNrb.mjs} +1 -1
  85. package/components/chunks/{MazSpinner-CShEq13p.mjs → MazSpinner-CKOy0M1T.mjs} +1 -1
  86. package/components/chunks/MazSpinner-CL6orjX7.mjs +37 -0
  87. package/components/chunks/{MazSpinner-2KA4ECS_.mjs → MazSpinner-CQTq0J6f.mjs} +1 -1
  88. package/components/chunks/{MazSpinner-BLp7sE5i.mjs → MazSpinner-CeZk8jA9.mjs} +1 -1
  89. package/components/chunks/MazSpinner-CqS3onAE.mjs +37 -0
  90. package/components/chunks/{MazSpinner-AyzqowuD.mjs → MazSpinner-D1zj-581.mjs} +1 -1
  91. package/components/chunks/MazSpinner-DJ2t85tY.mjs +37 -0
  92. package/components/chunks/{MazSpinner-BhFMGOGc.mjs → MazSpinner-DbaTlD5B.mjs} +1 -1
  93. package/components/chunks/MazSpinner-DgJ9tVv_.mjs +37 -0
  94. package/components/chunks/{MazSpinner-CLfp6QHS.mjs → MazSpinner-DoKvoICM.mjs} +1 -1
  95. package/components/chunks/MazSpinner-Oy4E193R.mjs +37 -0
  96. package/components/chunks/{MazStepper-BmCk5RfP.mjs → MazStepper-DRWtYHZR.mjs} +1 -1
  97. package/components/chunks/MazTable-QwG-Kh88.mjs +692 -0
  98. package/components/chunks/MazTableCell-BSNyqTSX.mjs +23 -0
  99. package/components/chunks/MazTableRow-CgubMdrX.mjs +30 -0
  100. package/components/chunks/MazTableTitle-h4dattYD.mjs +23 -0
  101. package/components/chunks/{MazTransitionExpand-D9pcEmUk.mjs → MazTransitionExpand-BvqRDM9d.mjs} +1 -1
  102. package/components/chunks/arrow-up-DjSlktWl.mjs +30 -0
  103. package/components/chunks/inject-strict-BmiaNiwC.mjs +10 -0
  104. package/components/chunks/useInstanceUniqId-DW9jO1Sz.mjs +11 -0
  105. package/css/main.css +1 -1
  106. package/modules/assets/MazBtn.css +1 -1
  107. package/modules/chunks/MazBtn-DeAZcD0R.cjs +9 -0
  108. package/modules/chunks/MazBtn-DvffpPyV.mjs +118 -0
  109. package/modules/chunks/MazIcon-BiwOZEZl.cjs +1 -0
  110. package/modules/chunks/MazIcon-D2B0umvn.mjs +101 -0
  111. package/modules/chunks/{MazSpinner-zX9CPyJB.cjs → MazSpinner-CZIYnX05.cjs} +1 -1
  112. package/modules/chunks/{MazSpinner-g6fliUmS.mjs → MazSpinner-Csgl_Uho.mjs} +1 -1
  113. package/modules/chunks/index-B6Pf_QhC.cjs +149 -0
  114. package/modules/chunks/{index-Bpj_Jr6I.mjs → index-C34aEXzu.mjs} +319 -314
  115. package/modules/index.cjs +1 -1
  116. package/modules/index.mjs +1 -1
  117. package/nuxt/index.json +1 -1
  118. package/package.json +1 -1
  119. package/types/components/MazAccordion.vue.d.ts +1 -1
  120. package/types/components/MazBtn.vue.d.ts +5 -4
  121. package/types/components/MazCardSpotlight.vue.d.ts +1 -1
  122. package/types/components/MazDropdown.vue.d.ts +4 -0
  123. package/types/components/MazPullToRefresh.vue.d.ts +2 -2
  124. package/types/components/MazTable.vue.d.ts +33 -4
  125. package/components/chunks/MazBtn-B2A4nNWi.mjs +0 -150
  126. package/components/chunks/MazBtn-BTxqbijR.mjs +0 -158
  127. package/components/chunks/MazBtn-BYAmxCNV.mjs +0 -150
  128. package/components/chunks/MazBtn-BkBaNYfi.mjs +0 -150
  129. package/components/chunks/MazBtn-BkT-9nbu.mjs +0 -150
  130. package/components/chunks/MazBtn-C6b9OPzf.mjs +0 -150
  131. package/components/chunks/MazBtn-CAioWjHE.mjs +0 -150
  132. package/components/chunks/MazBtn-CTDhJ_fQ.mjs +0 -155
  133. package/components/chunks/MazBtn-CofOhh-q.mjs +0 -150
  134. package/components/chunks/MazBtn-CwkvhgML.mjs +0 -150
  135. package/components/chunks/MazBtn-DHFCbHI5.mjs +0 -150
  136. package/components/chunks/MazBtn-DgmsRNq_.mjs +0 -150
  137. package/components/chunks/MazIcon-BDGxCy9M.mjs +0 -118
  138. package/components/chunks/MazIcon-YNJa-F5Z.mjs +0 -113
  139. package/components/chunks/MazIcon-wDqK0Xre.mjs +0 -113
  140. package/components/chunks/MazInputNumber-mu9wEfTT.mjs +0 -625
  141. package/components/chunks/MazPagination-BOUDMaJO.mjs +0 -394
  142. package/components/chunks/MazSpinner-C91Lm_Xp.mjs +0 -37
  143. package/components/chunks/MazSpinner-CCIMQLA1.mjs +0 -37
  144. package/components/chunks/MazSpinner-Ch7Qhq1M.mjs +0 -37
  145. package/components/chunks/MazSpinner-D7CMPaDb.mjs +0 -37
  146. package/components/chunks/MazSpinner-D8uk4SQh.mjs +0 -37
  147. package/components/chunks/MazSpinner-JgB1pud8.mjs +0 -37
  148. package/components/chunks/MazSpinner-mCkWhiVE.mjs +0 -37
  149. package/components/chunks/MazTable-CPfwUOOM.mjs +0 -2003
  150. package/modules/chunks/MazBtn-B5URGSZl.cjs +0 -9
  151. package/modules/chunks/MazBtn-DRuL8cjg.mjs +0 -150
  152. package/modules/chunks/MazIcon-BskR2yy9.cjs +0 -1
  153. package/modules/chunks/MazIcon-CKc-vAA8.mjs +0 -113
  154. package/modules/chunks/index-BLdtEKD5.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-BLdtEKD5.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.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.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-B6Pf_QhC.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.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.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 { W as e, Z as l, M as i, S as t, R as n, a1 as o, V as r, a4 as u, F as c, J as d, K as m, G as I, H as g, L as v, X as T, i as p, Y as y, $ as F, q as b, E as S, a0 as C, a3 as h, N as z, O as A, P as H, I as k, Q as w, T as D, U, u as W, a as L, b as V, c as O, d as Z, e as f, f as j, g as q, h as x, j as B, k as M, l as R, m as E, n as G, o as J, p as K, r as N, s as P, t as Q, v as X, z as Y, y as $, B as _, A as ss, w as as, x as es, D as ls, C as is, a2 as ts } from "./chunks/index-Bpj_Jr6I.mjs";
1
+ import { W as e, Z as l, M as i, S as t, R as n, a1 as o, V as r, a4 as u, F as c, J as d, K as m, G as I, H as g, L as v, X as T, i as p, Y as y, $ as F, q as b, E as S, a0 as C, a3 as h, N as z, O as A, P as H, I as k, Q as w, T as D, U, u as W, a as L, b as V, c as O, d as Z, e as f, f as j, g as q, h as x, j as B, k as M, l as R, m as E, n as G, o as J, p as K, r as N, s as P, t as Q, v as X, z as Y, y as $, B as _, A as ss, w as as, x as es, D as ls, C as is, a2 as ts } from "./chunks/index-C34aEXzu.mjs";
2
2
  export {
3
3
  e as AosHandler,
4
4
  l 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.46.1-beta.4",
7
+ "version": "3.46.1-beta.6",
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.46.1-beta.4",
4
+ "version": "3.46.1-beta.6",
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",
@@ -22,9 +22,9 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
22
22
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
23
23
  "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
24
24
  }>, {
25
- contentClass: undefined;
26
25
  id: string;
27
26
  modelValue: number;
27
+ contentClass: undefined;
28
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
30
  export default _default;
@@ -1,5 +1,4 @@
1
1
  import type { Color, Icon, Size } from './types';
2
- import { type HTMLAttributes } from 'vue';
3
2
  export type { Color, Size };
4
3
  export interface Props {
5
4
  /**
@@ -99,8 +98,10 @@ export interface Props {
99
98
  * @default false
100
99
  */
101
100
  noElevation?: boolean;
102
- /** The class applied to the content wrapper (<span />) of the button */
103
- contentClass?: HTMLAttributes['class'];
101
+ /**
102
+ * Choose how the elements are aligned in the button
103
+ */
104
+ justify?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly';
104
105
  }
105
106
  declare function __VLS_template(): {
106
107
  slots: {
@@ -122,7 +123,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
122
123
  icon: string | Icon;
123
124
  leftIcon: string | Icon;
124
125
  rightIcon: string | Icon;
125
- contentClass: HTMLAttributes["class"];
126
+ justify: "start" | "end" | "center" | "between" | "around" | "evenly";
126
127
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
127
128
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
128
129
  export default _default;
@@ -47,8 +47,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
47
47
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
48
48
  color: Color;
49
49
  noElevation: boolean;
50
- contentClass: HTMLAttributes["class"];
51
50
  padding: boolean;
51
+ contentClass: HTMLAttributes["class"];
52
52
  contentStyle: string | false | import("vue").CSSProperties | StyleValue[] | null;
53
53
  innerOpacity: number;
54
54
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -73,6 +73,10 @@ export interface MazDropdownProps {
73
73
  * You may use `!important` to override the default style
74
74
  */
75
75
  menuPanelStyle?: HTMLAttributes['style'];
76
+ /**
77
+ * If true, the button will have a full width
78
+ */
79
+ block?: boolean;
76
80
  }
77
81
  declare function __VLS_template(): {
78
82
  slots: {
@@ -24,14 +24,14 @@ 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
26
  loaded: (...args: any[]) => void;
27
- response: (...args: any[]) => void;
28
27
  start: (...args: any[]) => void;
28
+ response: (...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
32
  onLoaded?: ((...args: any[]) => any) | undefined;
33
- onResponse?: ((...args: any[]) => any) | undefined;
34
33
  onStart?: ((...args: any[]) => any) | undefined;
34
+ onResponse?: ((...args: any[]) => any) | undefined;
35
35
  onFinish?: ((...args: any[]) => any) | undefined;
36
36
  }>, {
37
37
  disabled: boolean;
@@ -26,7 +26,17 @@ export type Row = Record<string, any> & {
26
26
  classes?: HTMLAttributes['class'];
27
27
  };
28
28
  export type Header = string | HeadersEnriched;
29
- export interface Props {
29
+ export interface Translations {
30
+ searchByAllLabel?: string;
31
+ searchByPlaceholder?: string;
32
+ searchPlaceholder?: string;
33
+ paginationAllLabel?: string;
34
+ noResults?: string;
35
+ actionHeader?: string;
36
+ paginationRowsPerPage?: string;
37
+ paginationOf?: string;
38
+ }
39
+ export interface MazTableProps {
30
40
  /** class of the table element */
31
41
  tableClass?: HTMLAttributes['class'];
32
42
  /** style of the table element */
@@ -36,8 +46,14 @@ export interface Props {
36
46
  /**
37
47
  * size of the table
38
48
  * @values `'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'mini'`
49
+ * @default `'md'`
39
50
  */
40
51
  size?: Size;
52
+ /**
53
+ * Size of the search inputs
54
+ * @values `'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'mini'`
55
+ */
56
+ inputSize?: Size;
41
57
  /** title of the table */
42
58
  title?: string;
43
59
  /** headers of the table */
@@ -106,6 +122,18 @@ export interface Props {
106
122
  tableLayout?: 'auto' | 'fixed';
107
123
  /** color of the loading bar */
108
124
  color?: Color;
125
+ /**
126
+ * translations
127
+ * @default `{ searchByAllLabel: 'All', searchByPlaceholder: 'Search by', searchPlaceholder: 'Search', paginationAllLabel: 'All', noResults: 'No results' }`
128
+ * @type {Translations}
129
+ */
130
+ translations?: Translations;
131
+ /**
132
+ * Size of the rounded
133
+ * @values `'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full'`
134
+ * @default 'lg'
135
+ */
136
+ roundedSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
109
137
  }
110
138
  export interface MazTableProvide {
111
139
  size: Ref<Size>;
@@ -148,12 +176,12 @@ declare function __VLS_template(): {
148
176
  attrs: Partial<{}>;
149
177
  };
150
178
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
151
- declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
179
+ declare const __VLS_component: import("vue").DefineComponent<MazTableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
152
180
  "update:model-value": (value: (string | number | boolean | Row)[] | undefined) => any;
153
181
  "update:search-query": (searchQuery: string | undefined) => any;
154
182
  "update:page": (page: number) => any;
155
183
  "update:page-size": (pageSize: number) => any;
156
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
184
+ }, string, import("vue").PublicProps, Readonly<MazTableProps> & Readonly<{
157
185
  "onUpdate:model-value"?: ((value: (string | number | boolean | Row)[] | undefined) => any) | undefined;
158
186
  "onUpdate:search-query"?: ((searchQuery: string | undefined) => any) | undefined;
159
187
  "onUpdate:page"?: ((page: number) => any) | undefined;
@@ -163,6 +191,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
163
191
  title: string;
164
192
  size: Size;
165
193
  color: Color;
194
+ roundedSize: "none" | "sm" | "md" | "lg" | "xl" | "full";
166
195
  modelValue: (string | boolean | number)[];
167
196
  page: number;
168
197
  totalPages: number;
@@ -170,9 +199,9 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
170
199
  searchQuery: string;
171
200
  captionSide: "top" | "bottom";
172
201
  tableLayout: "auto" | "fixed";
173
- headers: Header[];
174
202
  tableClass: HTMLAttributes["class"];
175
203
  tableStyle: string | false | import("vue").CSSProperties | StyleValue[] | null;
204
+ headers: Header[];
176
205
  headersAlign: "center" | "left" | "right" | "justify" | "char";
177
206
  rows: Row[];
178
207
  searchByPlaceholder: string;
@@ -1,150 +0,0 @@
1
- import { defineComponent as F, defineAsyncComponent as h, useAttrs as j, useSlots as E, onBeforeMount as O, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as R, createElementBlock as u, createCommentVNode as t, renderSlot as d, unref as c } from "vue";
2
- import { _ as w } from "./MazDialog-DbEp5ZrT.mjs";
3
- import '../assets/MazBtn.css';const A = /* @__PURE__ */ F({
4
- __name: "MazBtn",
5
- props: {
6
- variant: { default: "button" },
7
- size: { default: "md" },
8
- color: { default: "primary" },
9
- type: { default: "button" },
10
- rounded: { type: Boolean },
11
- roundedSize: { default: "lg" },
12
- noRounded: { type: Boolean },
13
- outline: { type: Boolean },
14
- pastel: { type: Boolean },
15
- block: { type: Boolean },
16
- noUnderline: { type: Boolean },
17
- loading: { type: Boolean },
18
- disabled: { type: Boolean },
19
- fab: { type: Boolean },
20
- icon: { type: [String, Function, Object], default: void 0 },
21
- leftIcon: { type: [String, Function, Object], default: void 0 },
22
- rightIcon: { type: [String, Function, Object], default: void 0 },
23
- noPadding: { type: Boolean },
24
- noElevation: { type: Boolean },
25
- contentClass: { default: void 0 }
26
- },
27
- setup(g) {
28
- const o = g, z = h(() => import("./MazSpinner-2KA4ECS_.mjs")), f = h(() => import("./MazIcon-BDGxCy9M.mjs")), { href: k, to: B } = j(), p = E();
29
- O(() => {
30
- o.icon && !o.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
31
- });
32
- const v = l(() => k ? "a" : B ? "router-link" : "button"), I = l(
33
- () => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`
34
- ), b = l(
35
- () => (o.loading || o.disabled) && v.value === "button"
36
- ), C = l(() => b.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${o.variant}`), i = l(() => o.loading && o.variant === "button"), m = l(() => !!p["left-icon"] || o.leftIcon), y = l(() => !!p["right-icon"] || o.rightIcon), S = l(() => m.value || y.value), M = l(() => o.fab && (o.icon || !!p.icon)), T = l(() => v.value === "button" ? o.type : void 0);
37
- return (e, D) => (n(), a(r(v.value), {
38
- disabled: b.value || void 0,
39
- class: s(["m-btn", [
40
- `--${e.size}`,
41
- !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
42
- I.value,
43
- C.value,
44
- $.value,
45
- {
46
- "--block": e.block,
47
- "--no-underline": e.noUnderline,
48
- "--fab": e.fab,
49
- "--loading": e.loading,
50
- "--disabled": b.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: R(() => [
61
- m.value ? (n(), u(
62
- "div",
63
- {
64
- key: 0,
65
- class: s(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": i.value }])
66
- },
67
- [
68
- t(`
69
- @slot left-icon - The icon to display on the left of the button
70
- `),
71
- d(e.$slots, "left-icon", {}, () => [
72
- typeof e.leftIcon == "string" ? (n(), a(c(f), {
73
- key: 0,
74
- name: e.leftIcon
75
- }, null, 8, ["name"])) : e.leftIcon ? (n(), a(r(e.leftIcon), { key: 1 })) : t("v-if", !0)
76
- ], !0)
77
- ],
78
- 2
79
- /* CLASS */
80
- )) : t("v-if", !0),
81
- M.value ? (n(), u(
82
- "div",
83
- {
84
- key: 1,
85
- class: s(["m-btn__icon", { "maz-invisible": i.value }])
86
- },
87
- [
88
- t(`
89
- @slot icon - The icon to display on the fab button
90
- `),
91
- d(e.$slots, "icon", {}, () => [
92
- typeof e.icon == "string" ? (n(), a(c(f), {
93
- key: 0,
94
- name: e.icon
95
- }, null, 8, ["name"])) : e.icon ? (n(), a(r(e.icon), { key: 1 })) : t("v-if", !0)
96
- ], !0)
97
- ],
98
- 2
99
- /* CLASS */
100
- )) : t("v-if", !0),
101
- e.$slots.default ? (n(), u(
102
- "span",
103
- {
104
- key: 2,
105
- class: s([{ "maz-invisible": i.value }, e.contentClass])
106
- },
107
- [
108
- t(`
109
- @slot default - The content of the button
110
- `),
111
- d(e.$slots, "default", {}, void 0, !0)
112
- ],
113
- 2
114
- /* CLASS */
115
- )) : t("v-if", !0),
116
- y.value ? (n(), u(
117
- "div",
118
- {
119
- key: 3,
120
- class: s(["m-btn__icon-right", { "maz-invisible": i.value }])
121
- },
122
- [
123
- t(`
124
- @slot right-icon - The icon to display on the right of the button
125
- `),
126
- d(e.$slots, "right-icon", {}, () => [
127
- typeof e.rightIcon == "string" ? (n(), a(c(f), {
128
- key: 0,
129
- name: e.rightIcon
130
- }, null, 8, ["name"])) : e.rightIcon ? (n(), a(r(e.rightIcon), { key: 1 })) : t("v-if", !0)
131
- ], !0)
132
- ],
133
- 2
134
- /* CLASS */
135
- )) : t("v-if", !0),
136
- i.value ? (n(), a(c(z), {
137
- key: 4,
138
- class: "m-btn-loader",
139
- size: "2em",
140
- color: e.color
141
- }, null, 8, ["color"])) : t("v-if", !0)
142
- ]),
143
- _: 3
144
- /* FORWARDED */
145
- }, 8, ["disabled", "class", "type"]));
146
- }
147
- }), U = /* @__PURE__ */ w(A, [["__scopeId", "data-v-9e61f4b3"]]);
148
- export {
149
- U as default
150
- };
@@ -1,158 +0,0 @@
1
- import { defineComponent as T, defineAsyncComponent as k, useAttrs as j, useSlots as F, onBeforeMount as E, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as c, normalizeClass as r, withCtx as P, createElementBlock as f, createCommentVNode as t, renderSlot as p, unref as v } from "vue";
2
- import '../assets/MazBtn.css';const R = /* @__PURE__ */ T({
3
- __name: "MazBtn",
4
- props: {
5
- variant: { default: "button" },
6
- size: { default: "md" },
7
- color: { default: "primary" },
8
- type: { default: "button" },
9
- rounded: { type: Boolean },
10
- roundedSize: { default: "lg" },
11
- noRounded: { type: Boolean },
12
- outline: { type: Boolean },
13
- pastel: { type: Boolean },
14
- block: { type: Boolean },
15
- noUnderline: { type: Boolean },
16
- loading: { type: Boolean },
17
- disabled: { type: Boolean },
18
- fab: { type: Boolean },
19
- icon: { type: [String, Function, Object], default: void 0 },
20
- leftIcon: { type: [String, Function, Object], default: void 0 },
21
- rightIcon: { type: [String, Function, Object], default: void 0 },
22
- noPadding: { type: Boolean },
23
- noElevation: { type: Boolean },
24
- contentClass: { default: void 0 }
25
- },
26
- setup(u) {
27
- const o = u, d = k(() => import("./MazSpinner-BhFMGOGc.mjs")), i = k(() => import("./MazIcon-BDGxCy9M.mjs")), { href: b, to: B } = j(), y = F();
28
- E(() => {
29
- o.icon && !o.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
30
- });
31
- const m = l(() => b ? "a" : B ? "router-link" : "button"), I = l(
32
- () => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`
33
- ), h = l(
34
- () => (o.loading || o.disabled) && m.value === "button"
35
- ), C = l(() => h.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${o.variant}`), s = l(() => o.loading && o.variant === "button"), g = l(() => !!y["left-icon"] || o.leftIcon), z = l(() => !!y["right-icon"] || o.rightIcon), S = l(() => g.value || z.value), M = l(() => o.fab && (o.icon || !!y.icon)), O = l(() => m.value === "button" ? o.type : void 0);
36
- return (e, D) => (n(), a(c(m.value), {
37
- disabled: h.value || void 0,
38
- class: r(["m-btn", [
39
- `--${e.size}`,
40
- !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
41
- I.value,
42
- C.value,
43
- $.value,
44
- {
45
- "--block": e.block,
46
- "--no-underline": e.noUnderline,
47
- "--fab": e.fab,
48
- "--loading": e.loading,
49
- "--disabled": h.value,
50
- "--icon": S.value,
51
- "--rounded": e.rounded,
52
- "--no-rounded": e.noRounded,
53
- "--no-padding": e.noPadding,
54
- "--no-elevation": e.noElevation
55
- }
56
- ]]),
57
- type: O.value
58
- }, {
59
- default: P(() => [
60
- g.value ? (n(), f(
61
- "div",
62
- {
63
- key: 0,
64
- class: r(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": s.value }])
65
- },
66
- [
67
- t(`
68
- @slot left-icon - The icon to display on the left of the button
69
- `),
70
- p(e.$slots, "left-icon", {}, () => [
71
- typeof e.leftIcon == "string" ? (n(), a(v(i), {
72
- key: 0,
73
- name: e.leftIcon
74
- }, null, 8, ["name"])) : e.leftIcon ? (n(), a(c(e.leftIcon), { key: 1 })) : t("v-if", !0)
75
- ], !0)
76
- ],
77
- 2
78
- /* CLASS */
79
- )) : t("v-if", !0),
80
- M.value ? (n(), f(
81
- "div",
82
- {
83
- key: 1,
84
- class: r(["m-btn__icon", { "maz-invisible": s.value }])
85
- },
86
- [
87
- t(`
88
- @slot icon - The icon to display on the fab button
89
- `),
90
- p(e.$slots, "icon", {}, () => [
91
- typeof e.icon == "string" ? (n(), a(v(i), {
92
- key: 0,
93
- name: e.icon
94
- }, null, 8, ["name"])) : e.icon ? (n(), a(c(e.icon), { key: 1 })) : t("v-if", !0)
95
- ], !0)
96
- ],
97
- 2
98
- /* CLASS */
99
- )) : t("v-if", !0),
100
- e.$slots.default ? (n(), f(
101
- "span",
102
- {
103
- key: 2,
104
- class: r([{ "maz-invisible": s.value }, e.contentClass])
105
- },
106
- [
107
- t(`
108
- @slot default - The content of the button
109
- `),
110
- p(e.$slots, "default", {}, void 0, !0)
111
- ],
112
- 2
113
- /* CLASS */
114
- )) : t("v-if", !0),
115
- z.value ? (n(), f(
116
- "div",
117
- {
118
- key: 3,
119
- class: r(["m-btn__icon-right", { "maz-invisible": s.value }])
120
- },
121
- [
122
- t(`
123
- @slot right-icon - The icon to display on the right of the button
124
- `),
125
- p(e.$slots, "right-icon", {}, () => [
126
- typeof e.rightIcon == "string" ? (n(), a(v(i), {
127
- key: 0,
128
- name: e.rightIcon
129
- }, null, 8, ["name"])) : e.rightIcon ? (n(), a(c(e.rightIcon), { key: 1 })) : t("v-if", !0)
130
- ], !0)
131
- ],
132
- 2
133
- /* CLASS */
134
- )) : t("v-if", !0),
135
- s.value ? (n(), a(v(d), {
136
- key: 4,
137
- class: "m-btn-loader",
138
- size: "2em",
139
- color: e.color
140
- }, null, 8, ["color"])) : t("v-if", !0)
141
- ]),
142
- _: 3
143
- /* FORWARDED */
144
- }, 8, ["disabled", "class", "type"]));
145
- }
146
- }), w = (u, o) => {
147
- const d = u.__vccOpts || u;
148
- for (const [i, b] of o)
149
- d[i] = b;
150
- return d;
151
- }, A = /* @__PURE__ */ w(R, [["__scopeId", "data-v-9e61f4b3"]]), U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
152
- __proto__: null,
153
- default: A
154
- }, Symbol.toStringTag, { value: "Module" }));
155
- export {
156
- U as M,
157
- w as _
158
- };
@@ -1,150 +0,0 @@
1
- import { defineComponent as F, defineAsyncComponent as h, useAttrs as j, useSlots as E, onBeforeMount as O, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as R, createElementBlock as u, createCommentVNode as t, renderSlot as d, unref as c } from "vue";
2
- import { _ as w } from "./MazCarousel-DYdWCLk7.mjs";
3
- import '../assets/MazBtn.css';const A = /* @__PURE__ */ F({
4
- __name: "MazBtn",
5
- props: {
6
- variant: { default: "button" },
7
- size: { default: "md" },
8
- color: { default: "primary" },
9
- type: { default: "button" },
10
- rounded: { type: Boolean },
11
- roundedSize: { default: "lg" },
12
- noRounded: { type: Boolean },
13
- outline: { type: Boolean },
14
- pastel: { type: Boolean },
15
- block: { type: Boolean },
16
- noUnderline: { type: Boolean },
17
- loading: { type: Boolean },
18
- disabled: { type: Boolean },
19
- fab: { type: Boolean },
20
- icon: { type: [String, Function, Object], default: void 0 },
21
- leftIcon: { type: [String, Function, Object], default: void 0 },
22
- rightIcon: { type: [String, Function, Object], default: void 0 },
23
- noPadding: { type: Boolean },
24
- noElevation: { type: Boolean },
25
- contentClass: { default: void 0 }
26
- },
27
- setup(g) {
28
- const o = g, z = h(() => import("./MazSpinner-JgB1pud8.mjs")), f = h(() => import("./MazIcon-BDGxCy9M.mjs")), { href: k, to: B } = j(), p = E();
29
- O(() => {
30
- o.icon && !o.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
31
- });
32
- const v = l(() => k ? "a" : B ? "router-link" : "button"), I = l(
33
- () => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`
34
- ), b = l(
35
- () => (o.loading || o.disabled) && v.value === "button"
36
- ), C = l(() => b.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${o.variant}`), i = l(() => o.loading && o.variant === "button"), m = l(() => !!p["left-icon"] || o.leftIcon), y = l(() => !!p["right-icon"] || o.rightIcon), S = l(() => m.value || y.value), M = l(() => o.fab && (o.icon || !!p.icon)), T = l(() => v.value === "button" ? o.type : void 0);
37
- return (e, D) => (n(), a(r(v.value), {
38
- disabled: b.value || void 0,
39
- class: s(["m-btn", [
40
- `--${e.size}`,
41
- !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
42
- I.value,
43
- C.value,
44
- $.value,
45
- {
46
- "--block": e.block,
47
- "--no-underline": e.noUnderline,
48
- "--fab": e.fab,
49
- "--loading": e.loading,
50
- "--disabled": b.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: R(() => [
61
- m.value ? (n(), u(
62
- "div",
63
- {
64
- key: 0,
65
- class: s(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": i.value }])
66
- },
67
- [
68
- t(`
69
- @slot left-icon - The icon to display on the left of the button
70
- `),
71
- d(e.$slots, "left-icon", {}, () => [
72
- typeof e.leftIcon == "string" ? (n(), a(c(f), {
73
- key: 0,
74
- name: e.leftIcon
75
- }, null, 8, ["name"])) : e.leftIcon ? (n(), a(r(e.leftIcon), { key: 1 })) : t("v-if", !0)
76
- ], !0)
77
- ],
78
- 2
79
- /* CLASS */
80
- )) : t("v-if", !0),
81
- M.value ? (n(), u(
82
- "div",
83
- {
84
- key: 1,
85
- class: s(["m-btn__icon", { "maz-invisible": i.value }])
86
- },
87
- [
88
- t(`
89
- @slot icon - The icon to display on the fab button
90
- `),
91
- d(e.$slots, "icon", {}, () => [
92
- typeof e.icon == "string" ? (n(), a(c(f), {
93
- key: 0,
94
- name: e.icon
95
- }, null, 8, ["name"])) : e.icon ? (n(), a(r(e.icon), { key: 1 })) : t("v-if", !0)
96
- ], !0)
97
- ],
98
- 2
99
- /* CLASS */
100
- )) : t("v-if", !0),
101
- e.$slots.default ? (n(), u(
102
- "span",
103
- {
104
- key: 2,
105
- class: s([{ "maz-invisible": i.value }, e.contentClass])
106
- },
107
- [
108
- t(`
109
- @slot default - The content of the button
110
- `),
111
- d(e.$slots, "default", {}, void 0, !0)
112
- ],
113
- 2
114
- /* CLASS */
115
- )) : t("v-if", !0),
116
- y.value ? (n(), u(
117
- "div",
118
- {
119
- key: 3,
120
- class: s(["m-btn__icon-right", { "maz-invisible": i.value }])
121
- },
122
- [
123
- t(`
124
- @slot right-icon - The icon to display on the right of the button
125
- `),
126
- d(e.$slots, "right-icon", {}, () => [
127
- typeof e.rightIcon == "string" ? (n(), a(c(f), {
128
- key: 0,
129
- name: e.rightIcon
130
- }, null, 8, ["name"])) : e.rightIcon ? (n(), a(r(e.rightIcon), { key: 1 })) : t("v-if", !0)
131
- ], !0)
132
- ],
133
- 2
134
- /* CLASS */
135
- )) : t("v-if", !0),
136
- i.value ? (n(), a(c(z), {
137
- key: 4,
138
- class: "m-btn-loader",
139
- size: "2em",
140
- color: e.color
141
- }, null, 8, ["color"])) : t("v-if", !0)
142
- ]),
143
- _: 3
144
- /* FORWARDED */
145
- }, 8, ["disabled", "class", "type"]));
146
- }
147
- }), U = /* @__PURE__ */ w(A, [["__scopeId", "data-v-9e61f4b3"]]);
148
- export {
149
- U as default
150
- };