maz-ui 3.47.2-beta.0 → 3.47.2-beta.3

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 (145) hide show
  1. package/components/MazAccordion.mjs +36 -37
  2. package/components/MazAnimatedCounter.mjs +14 -16
  3. package/components/MazBottomSheet.mjs +1 -1
  4. package/components/MazBtn.mjs +1 -1
  5. package/components/MazCard.mjs +1 -1
  6. package/components/MazCarousel.mjs +1 -1
  7. package/components/MazChart.mjs +23 -32
  8. package/components/MazChecklist.mjs +1 -1
  9. package/components/MazCircularProgressBar.mjs +66 -71
  10. package/components/MazDialog.mjs +1 -1
  11. package/components/MazDialogPromise.mjs +1 -1
  12. package/components/MazDrawer.mjs +1 -1
  13. package/components/MazDropdown.mjs +162 -185
  14. package/components/MazExpandAnimation.mjs +20 -21
  15. package/components/MazGallery.mjs +1 -1
  16. package/components/MazInput.mjs +1 -1
  17. package/components/MazInputCode.mjs +30 -31
  18. package/components/MazInputNumber.mjs +1 -1
  19. package/components/MazInputPrice.mjs +1 -1
  20. package/components/MazInputTags.mjs +1 -1
  21. package/components/MazLink.mjs +18 -30
  22. package/components/MazPagination.mjs +1 -1
  23. package/components/MazPhoneNumberInput.mjs +1 -1
  24. package/components/MazPicker.mjs +1 -1
  25. package/components/MazRadio.mjs +37 -42
  26. package/components/MazRadioButtons.mjs +61 -66
  27. package/components/MazSelect.mjs +1 -1
  28. package/components/MazSlider.mjs +107 -116
  29. package/components/MazStepper.mjs +1 -1
  30. package/components/MazSwitch.mjs +24 -28
  31. package/components/MazTable.d.ts +6 -6
  32. package/components/MazTable.mjs +1 -1
  33. package/components/MazTabsBar.mjs +1 -1
  34. package/components/MazTextarea.mjs +32 -34
  35. package/components/assets/MazLink.css +1 -1
  36. package/components/assets/MazTable.css +1 -1
  37. package/components/chunks/{MazBadge-CvIiiTdM.mjs → MazBadge-CqppWg2j.mjs} +1 -1
  38. package/components/chunks/{MazBottomSheet-DqK0EOsq.mjs → MazBottomSheet-CGRvZmGd.mjs} +28 -29
  39. package/{modules/chunks/MazBtn-BSnVxud6.mjs → components/chunks/MazBtn-2VKM1wZu.mjs} +37 -49
  40. package/components/chunks/{MazBtn-DVkwISlp.mjs → MazBtn-40lm8-AL.mjs} +37 -49
  41. package/components/chunks/{MazBtn-DzBXfedt.mjs → MazBtn-BB1FyYWv.mjs} +35 -44
  42. package/components/chunks/{MazBtn-BO3G90L3.mjs → MazBtn-BMYXMZuX.mjs} +37 -49
  43. package/components/chunks/{MazBtn-DJOUeES7.mjs → MazBtn-BijEMn4r.mjs} +37 -49
  44. package/components/chunks/MazBtn-BmrcK2af.mjs +106 -0
  45. package/components/chunks/MazBtn-C72_1uvu.mjs +106 -0
  46. package/components/chunks/MazBtn-CWloP6MI.mjs +111 -0
  47. package/components/chunks/MazBtn-CcyV4DCc.mjs +106 -0
  48. package/components/chunks/MazBtn-DENEMy-c.mjs +106 -0
  49. package/components/chunks/MazBtn-DfqRZvbB.mjs +106 -0
  50. package/components/chunks/MazBtn-UnZQuu6P.mjs +106 -0
  51. package/components/chunks/MazBtn-cDJlUVVY.mjs +106 -0
  52. package/components/chunks/MazBtn-hUslV7wO.mjs +106 -0
  53. package/components/chunks/{MazCard-FSXmHyhj.mjs → MazCard-BYB8y1_u.mjs} +18 -19
  54. package/components/chunks/{MazCarousel-BEl86YGW.mjs → MazCarousel-DccWVW8H.mjs} +20 -21
  55. package/components/chunks/{MazCheckbox-2G4VkxDz.mjs → MazCheckbox-B22OcHt8.mjs} +1 -1
  56. package/components/chunks/{MazCheckbox-Cq9gpTEw.mjs → MazCheckbox-DMogZVHl.mjs} +1 -1
  57. package/components/chunks/{MazCheckbox-BmnqBHaY.mjs → MazCheckbox-Db6sPUbV.mjs} +1 -1
  58. package/components/chunks/{MazChecklist-CY1Cv70T.mjs → MazChecklist-C95Y4Hb-.mjs} +112 -118
  59. package/components/chunks/{MazDialog-CPgFpAlq.mjs → MazDialog-khofH-7I.mjs} +66 -81
  60. package/components/chunks/MazDialogPromise-ZRA2ZrO4.mjs +488 -0
  61. package/components/chunks/{MazExpandAnimation-Bkw_wFTi.mjs → MazExpandAnimation-MDimlZGj.mjs} +7 -8
  62. package/components/chunks/{MazGallery-BknvUeo1.mjs → MazGallery-CXQiXWFr.mjs} +32 -33
  63. package/components/chunks/{MazGallery-CZOokGAt.mjs → MazGallery-VTZUhBKC.mjs} +33 -34
  64. package/components/chunks/{MazIcon-z-jTiuyI.mjs → MazIcon-BF5TFzse.mjs} +1 -1
  65. package/components/chunks/{MazInput-oOA7gdLO.mjs → MazInput-DC3S-CVu.mjs} +44 -53
  66. package/components/chunks/{MazInput-BQoQSRyL.mjs → MazInput-DzWkS-g8.mjs} +40 -49
  67. package/components/chunks/{MazInput-CJQB68c-.mjs → MazInput-NE6H-10w.mjs} +42 -51
  68. package/components/chunks/{MazInputNumber-B4mQJcVB.mjs → MazInputNumber-DRXQXHRv.mjs} +168 -189
  69. package/components/chunks/{MazInputPrice-BrxE5WVf.mjs → MazInputPrice-DoTnDDIN.mjs} +49 -58
  70. package/components/chunks/{MazInputTags-BVCej_gW.mjs → MazInputTags-Dj3sW-e5.mjs} +181 -202
  71. package/components/chunks/{MazLink-Dl9ePCGm.mjs → MazLink-C_3Wya94.mjs} +19 -31
  72. package/components/chunks/{MazLoadingBar-Dwf55oHy.mjs → MazLoadingBar-DdjHRC7g.mjs} +1 -1
  73. package/components/chunks/MazPagination-BkT4_LLW.mjs +330 -0
  74. package/components/chunks/{MazPhoneNumberInput-Cd25AzXc.mjs → MazPhoneNumberInput-BbssOUzo.mjs} +500 -544
  75. package/components/chunks/{MazPicker-C78yxilJ.mjs → MazPicker-DwWiIYAR.mjs} +243 -264
  76. package/components/chunks/{MazPickerMonthSwitcher-CyHYx8TT.mjs → MazPickerMonthSwitcher-CmFFQoPA.mjs} +1 -1
  77. package/components/chunks/{MazPickerShortcuts-Bsi8cnox.mjs → MazPickerShortcuts-DaELz7aq.mjs} +1 -1
  78. package/components/chunks/{MazPickerYearSwitcher-DLUSMAtz.mjs → MazPickerYearSwitcher-m1_KXnpA.mjs} +1 -1
  79. package/components/chunks/{MazSelect-CQDoUpgp.mjs → MazSelect-BJ07NVXQ.mjs} +149 -170
  80. package/components/chunks/{MazSelect-uCJPMXF-.mjs → MazSelect-CDV9Fx6m.mjs} +124 -136
  81. package/components/chunks/{MazSpinner-Bvb-lKER.mjs → MazSpinner-Bb3f2t6w.mjs} +1 -1
  82. package/components/chunks/{MazSpinner-Cqp-BMvL.mjs → MazSpinner-BcB0szZB.mjs} +1 -1
  83. package/components/chunks/{MazSpinner-BT_717pD.mjs → MazSpinner-BpkPcfCt.mjs} +1 -1
  84. package/components/chunks/{MazSpinner-CAbYLlEZ.mjs → MazSpinner-BsYJDmi9.mjs} +1 -1
  85. package/components/chunks/{MazSpinner-B9OwpEP_.mjs → MazSpinner-BymqEMBk.mjs} +1 -1
  86. package/components/chunks/MazSpinner-C-64WJje.mjs +34 -0
  87. package/components/chunks/MazSpinner-CEFbkZkM.mjs +34 -0
  88. package/components/chunks/{MazSpinner-EFo8dM46.mjs → MazSpinner-CfiIXW8y.mjs} +1 -1
  89. package/components/chunks/MazSpinner-CykRbNHD.mjs +34 -0
  90. package/components/chunks/{MazSpinner-C-z3-68w.mjs → MazSpinner-D3-pqOh3.mjs} +1 -1
  91. package/components/chunks/MazSpinner-DS58mtzm.mjs +34 -0
  92. package/components/chunks/{MazSpinner-2D0ZmAQz.mjs → MazSpinner-DmiLBQgR.mjs} +1 -1
  93. package/components/chunks/{MazSpinner-C1Ip-Dwh.mjs → MazSpinner-Dmkr_r9u.mjs} +1 -1
  94. package/components/chunks/MazSpinner-DoRGA1RI.mjs +34 -0
  95. package/components/chunks/MazSpinner-eC03bFP5.mjs +34 -0
  96. package/components/chunks/{MazSpinner-Cb3_S0zT.mjs → MazSpinner-edxn0ncQ.mjs} +1 -1
  97. package/components/chunks/MazSpinner-f2Mc2eRO.mjs +34 -0
  98. package/components/chunks/MazSpinner-n4Dp5ZsH.mjs +34 -0
  99. package/components/chunks/MazStepper-BREfkpUb.mjs +213 -0
  100. package/components/chunks/{MazTable-Cuz5QI08.mjs → MazTable-BJDPdIJB.mjs} +183 -227
  101. package/components/chunks/{MazTableCell-D_OTOJiy.mjs → MazTableCell-DILuUCTe.mjs} +1 -1
  102. package/components/chunks/{MazTableRow-BTcVAyOy.mjs → MazTableRow-D6H6-c8J.mjs} +1 -1
  103. package/components/chunks/{MazTableTitle-BDA9G6Zw.mjs → MazTableTitle-Ch-nyY1E.mjs} +1 -1
  104. package/components/chunks/MazTabsBar-CM-w7V97.mjs +193 -0
  105. package/components/chunks/{MazTransitionExpand-C-FHhOGB.mjs → MazTransitionExpand-PmUDa51_.mjs} +1 -1
  106. package/modules/chunks/MazBtn-QVmZ90t5.mjs +106 -0
  107. package/modules/chunks/MazBtn-R7z-Hxp-.cjs +1 -0
  108. package/modules/chunks/{MazIcon-dhyR9Q8a.cjs → MazIcon-CKCoY05P.cjs} +1 -1
  109. package/modules/chunks/{MazIcon-DllGg8tw.mjs → MazIcon-DJfEPmBG.mjs} +1 -1
  110. package/modules/chunks/{MazSpinner-bdGjxsu6.mjs → MazSpinner-C95OqwKl.mjs} +1 -1
  111. package/modules/chunks/{MazSpinner-CiIyZ8gs.cjs → MazSpinner-DYT43E6e.cjs} +1 -1
  112. package/modules/chunks/{index-x2F1l5sr.mjs → index-CjsYU5rv.mjs} +191 -226
  113. package/modules/chunks/{index-BPqjUr5e.cjs → index-oVi9-l4o.cjs} +2 -27
  114. package/modules/index.cjs +1 -1
  115. package/modules/index.mjs +1 -1
  116. package/nuxt/index.json +1 -1
  117. package/package.json +1 -1
  118. package/types/components/MazTable.vue.d.ts +6 -6
  119. package/types/modules/composables/useFormValidator/types.d.ts +5 -1
  120. package/types/modules/composables/useFormValidator/useFormField.d.ts +3 -3
  121. package/types/modules/composables/useFormValidator/useFormValidator.d.ts +2 -2
  122. package/types/modules/composables/useFormValidator/utils.d.ts +12 -12
  123. package/components/chunks/MazBtn-BRUaoP8j.mjs +0 -126
  124. package/components/chunks/MazBtn-BhnOApJu.mjs +0 -118
  125. package/components/chunks/MazBtn-C28vKP_v.mjs +0 -118
  126. package/components/chunks/MazBtn-C87UEsVs.mjs +0 -118
  127. package/components/chunks/MazBtn-C_l3xuAh.mjs +0 -118
  128. package/components/chunks/MazBtn-CweCwE_4.mjs +0 -118
  129. package/components/chunks/MazBtn-D7IKoL2c.mjs +0 -118
  130. package/components/chunks/MazBtn-DadFupkY.mjs +0 -118
  131. package/components/chunks/MazBtn-GGcGrIH4.mjs +0 -118
  132. package/components/chunks/MazBtn-Mu18egu5.mjs +0 -118
  133. package/components/chunks/MazDialogPromise-BCCdkrea.mjs +0 -522
  134. package/components/chunks/MazPagination-CHTMRRqE.mjs +0 -362
  135. package/components/chunks/MazSpinner-C23CZ_Za.mjs +0 -34
  136. package/components/chunks/MazSpinner-CViChjTw.mjs +0 -34
  137. package/components/chunks/MazSpinner-CZMBhCOJ.mjs +0 -34
  138. package/components/chunks/MazSpinner-D4C84xZe.mjs +0 -34
  139. package/components/chunks/MazSpinner-Dyf9yb51.mjs +0 -34
  140. package/components/chunks/MazSpinner-QHjOczon.mjs +0 -34
  141. package/components/chunks/MazSpinner-u8WQTgUR.mjs +0 -34
  142. package/components/chunks/MazSpinner-w-S5uCxg.mjs +0 -34
  143. package/components/chunks/MazStepper-DRWtYHZR.mjs +0 -232
  144. package/components/chunks/MazTabsBar-JkRzMDM6.mjs +0 -203
  145. package/modules/chunks/MazBtn-Bf9Cq5M7.cjs +0 -9
@@ -1,9 +1,9 @@
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 "./index-x2F1l5sr.mjs";
3
- import '../assets/MazBtn.css';const L = {
1
+ import { defineComponent as w, defineAsyncComponent as v, useAttrs as E, useSlots as O, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as R, renderSlot as u, unref as d, createCommentVNode as i, createElementBlock as A, createVNode as D } from "vue";
2
+ import { _ as L } from "./MazPhoneNumberInput-BbssOUzo.mjs";
3
+ import '../assets/MazBtn.css';const N = {
4
4
  key: 2,
5
5
  class: "m-btn-loader-container"
6
- }, N = /* @__PURE__ */ M({
6
+ }, P = /* @__PURE__ */ w({
7
7
  __name: "MazBtn",
8
8
  props: {
9
9
  variant: { default: "button" },
@@ -27,27 +27,27 @@ import '../assets/MazBtn.css';const L = {
27
27
  noElevation: { type: Boolean },
28
28
  justify: { default: "center" }
29
29
  },
30
- setup(b) {
31
- const n = b, z = v(() => import("./MazSpinner-bdGjxsu6.mjs")), c = v(() => import("./MazIcon-DllGg8tw.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
30
+ setup(z) {
31
+ const n = z, b = v(() => import("./MazSpinner-CEFbkZkM.mjs")), c = v(() => import("./MazIcon-BF5TFzse.mjs")), { href: g, to: h } = E(), f = O(), y = o(() => g ? "a" : h ? "router-link" : "button"), j = o(
32
32
  () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
- ), p = o(
33
+ ), m = o(
34
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", [
35
+ ), I = o(() => m.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), B = o(() => n.loading && n.variant === "button"), C = o(() => !!f["left-icon"] || n.leftIcon), p = o(() => !!f["right-icon"] || n.rightIcon), S = o(() => C.value || p.value), $ = o(() => n.icon || !!f.icon), F = o(() => y.value === "button" ? n.type : void 0), s = 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"), M = 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, U) => (t(), a(r(y.value), {
37
+ disabled: m.value || void 0,
38
+ class: l(["m-btn", [
39
39
  `--${e.size}`,
40
40
  !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
41
41
  j.value,
42
42
  I.value,
43
43
  k.value,
44
- F.value,
44
+ M.value,
45
45
  {
46
46
  "--block": e.block,
47
47
  "--no-underline": e.noUnderline,
48
48
  "--fab": e.fab,
49
49
  "--loading": e.loading,
50
- "--disabled": p.value,
50
+ "--disabled": m.value,
51
51
  "--icon": S.value,
52
52
  "--rounded": e.rounded,
53
53
  "--no-rounded": e.noRounded,
@@ -55,64 +55,52 @@ import '../assets/MazBtn.css';const L = {
55
55
  "--no-elevation": e.noElevation
56
56
  }
57
57
  ]]),
58
- type: T.value
58
+ type: F.value
59
59
  }, {
60
- default: O(() => [
61
- t(`
62
- @slot left-icon - The icon to display on the left of the button
63
- `),
60
+ default: R(() => [
64
61
  u(e.$slots, "left-icon", {}, () => [
65
- typeof e.leftIcon == "string" ? (l(), a(d(c), {
62
+ typeof e.leftIcon == "string" ? (t(), a(d(c), {
66
63
  key: 0,
67
64
  name: e.leftIcon,
68
- class: s([i.value])
69
- }, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(r(e.leftIcon), {
65
+ class: l([s.value])
66
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
70
67
  key: 1,
71
- class: s([i.value])
72
- }, null, 8, ["class"])) : t("v-if", !0)
68
+ class: l([s.value])
69
+ }, null, 8, ["class"])) : i("v-if", !0)
73
70
  ], !0),
74
- t(`
75
- @slot icon - The icon to display on the fab button
76
- `),
77
71
  $.value ? u(e.$slots, "icon", { key: 0 }, () => [
78
- typeof e.icon == "string" ? (l(), a(d(c), {
72
+ typeof e.icon == "string" ? (t(), a(d(c), {
79
73
  key: 0,
80
74
  name: e.icon,
81
- class: s([i.value])
82
- }, null, 8, ["name", "class"])) : e.icon ? (l(), a(r(e.icon), {
75
+ class: l([s.value])
76
+ }, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
83
77
  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
- `),
78
+ class: l([s.value])
79
+ }, null, 8, ["class"])) : i("v-if", !0)
80
+ ], !0) : i("v-if", !0),
90
81
  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), {
82
+ p.value ? u(e.$slots, "right-icon", { key: 1 }, () => [
83
+ typeof e.rightIcon == "string" ? (t(), a(d(c), {
96
84
  key: 0,
97
85
  name: e.rightIcon,
98
- class: s([i.value])
99
- }, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(r(e.rightIcon), {
86
+ class: l([s.value])
87
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
100
88
  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), {
89
+ class: l([s.value])
90
+ }, null, 8, ["class"])) : i("v-if", !0)
91
+ ], !0) : i("v-if", !0),
92
+ B.value ? (t(), A("div", N, [
93
+ D(d(b), {
106
94
  size: "2em",
107
95
  color: e.color
108
96
  }, null, 8, ["color"])
109
- ])) : t("v-if", !0)
97
+ ])) : i("v-if", !0)
110
98
  ]),
111
99
  _: 3
112
100
  /* FORWARDED */
113
101
  }, 8, ["disabled", "class", "type"]));
114
102
  }
115
- }), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-d3a1ed01"]]);
103
+ }), q = /* @__PURE__ */ L(P, [["__scopeId", "data-v-d3a1ed01"]]);
116
104
  export {
117
105
  q as default
118
106
  };
@@ -1,9 +1,9 @@
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 "./MazCard-FSXmHyhj.mjs";
3
- import '../assets/MazBtn.css';const L = {
1
+ import { defineComponent as w, defineAsyncComponent as v, useAttrs as E, useSlots as O, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as R, renderSlot as u, unref as d, createCommentVNode as i, createElementBlock as A, createVNode as D } from "vue";
2
+ import { _ as L } from "./MazInputPrice-DoTnDDIN.mjs";
3
+ import '../assets/MazBtn.css';const N = {
4
4
  key: 2,
5
5
  class: "m-btn-loader-container"
6
- }, N = /* @__PURE__ */ M({
6
+ }, P = /* @__PURE__ */ w({
7
7
  __name: "MazBtn",
8
8
  props: {
9
9
  variant: { default: "button" },
@@ -27,27 +27,27 @@ import '../assets/MazBtn.css';const L = {
27
27
  noElevation: { type: Boolean },
28
28
  justify: { default: "center" }
29
29
  },
30
- setup(b) {
31
- const n = b, z = v(() => import("./MazSpinner-2D0ZmAQz.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
30
+ setup(z) {
31
+ const n = z, b = v(() => import("./MazSpinner-Bb3f2t6w.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: g, to: h } = E(), f = O(), y = o(() => g ? "a" : h ? "router-link" : "button"), j = o(
32
32
  () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
- ), p = o(
33
+ ), m = o(
34
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", [
35
+ ), I = o(() => m.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), B = o(() => n.loading && n.variant === "button"), C = o(() => !!f["left-icon"] || n.leftIcon), p = o(() => !!f["right-icon"] || n.rightIcon), S = o(() => C.value || p.value), $ = o(() => n.icon || !!f.icon), F = o(() => y.value === "button" ? n.type : void 0), s = 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"), M = 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, U) => (t(), a(r(y.value), {
37
+ disabled: m.value || void 0,
38
+ class: l(["m-btn", [
39
39
  `--${e.size}`,
40
40
  !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
41
41
  j.value,
42
42
  I.value,
43
43
  k.value,
44
- F.value,
44
+ M.value,
45
45
  {
46
46
  "--block": e.block,
47
47
  "--no-underline": e.noUnderline,
48
48
  "--fab": e.fab,
49
49
  "--loading": e.loading,
50
- "--disabled": p.value,
50
+ "--disabled": m.value,
51
51
  "--icon": S.value,
52
52
  "--rounded": e.rounded,
53
53
  "--no-rounded": e.noRounded,
@@ -55,64 +55,52 @@ import '../assets/MazBtn.css';const L = {
55
55
  "--no-elevation": e.noElevation
56
56
  }
57
57
  ]]),
58
- type: T.value
58
+ type: F.value
59
59
  }, {
60
- default: O(() => [
61
- t(`
62
- @slot left-icon - The icon to display on the left of the button
63
- `),
60
+ default: R(() => [
64
61
  u(e.$slots, "left-icon", {}, () => [
65
- typeof e.leftIcon == "string" ? (l(), a(d(c), {
62
+ typeof e.leftIcon == "string" ? (t(), a(d(c), {
66
63
  key: 0,
67
64
  name: e.leftIcon,
68
- class: s([i.value])
69
- }, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(r(e.leftIcon), {
65
+ class: l([s.value])
66
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
70
67
  key: 1,
71
- class: s([i.value])
72
- }, null, 8, ["class"])) : t("v-if", !0)
68
+ class: l([s.value])
69
+ }, null, 8, ["class"])) : i("v-if", !0)
73
70
  ], !0),
74
- t(`
75
- @slot icon - The icon to display on the fab button
76
- `),
77
71
  $.value ? u(e.$slots, "icon", { key: 0 }, () => [
78
- typeof e.icon == "string" ? (l(), a(d(c), {
72
+ typeof e.icon == "string" ? (t(), a(d(c), {
79
73
  key: 0,
80
74
  name: e.icon,
81
- class: s([i.value])
82
- }, null, 8, ["name", "class"])) : e.icon ? (l(), a(r(e.icon), {
75
+ class: l([s.value])
76
+ }, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
83
77
  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
- `),
78
+ class: l([s.value])
79
+ }, null, 8, ["class"])) : i("v-if", !0)
80
+ ], !0) : i("v-if", !0),
90
81
  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), {
82
+ p.value ? u(e.$slots, "right-icon", { key: 1 }, () => [
83
+ typeof e.rightIcon == "string" ? (t(), a(d(c), {
96
84
  key: 0,
97
85
  name: e.rightIcon,
98
- class: s([i.value])
99
- }, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(r(e.rightIcon), {
86
+ class: l([s.value])
87
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
100
88
  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), {
89
+ class: l([s.value])
90
+ }, null, 8, ["class"])) : i("v-if", !0)
91
+ ], !0) : i("v-if", !0),
92
+ B.value ? (t(), A("div", N, [
93
+ D(d(b), {
106
94
  size: "2em",
107
95
  color: e.color
108
96
  }, null, 8, ["color"])
109
- ])) : t("v-if", !0)
97
+ ])) : i("v-if", !0)
110
98
  ]),
111
99
  _: 3
112
100
  /* FORWARDED */
113
101
  }, 8, ["disabled", "class", "type"]));
114
102
  }
115
- }), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-d3a1ed01"]]);
103
+ }), q = /* @__PURE__ */ L(P, [["__scopeId", "data-v-d3a1ed01"]]);
116
104
  export {
117
105
  q as default
118
106
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as F, defineAsyncComponent as h, useAttrs as O, useSlots as w, computed as t, openBlock as l, createBlock as a, resolveDynamicComponent as c, normalizeClass as s, withCtx as E, createCommentVNode as o, renderSlot as f, unref as y, createElementBlock as R, createVNode as A } from "vue";
1
+ import { defineComponent as F, defineAsyncComponent as g, useAttrs as w, useSlots as E, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as c, normalizeClass as l, withCtx as P, renderSlot as f, unref as y, createCommentVNode as r, createElementBlock as R, createVNode as A } from "vue";
2
2
  import '../assets/MazBtn.css';const D = {
3
3
  key: 2,
4
4
  class: "m-btn-loader-container"
@@ -27,20 +27,20 @@ import '../assets/MazBtn.css';const D = {
27
27
  justify: { default: "center" }
28
28
  },
29
29
  setup(u) {
30
- const n = u, d = h(() => import("./MazSpinner-Cqp-BMvL.mjs")), r = h(() => import("./MazIcon-BbvBov5G.mjs")), { href: p, to: g } = O(), v = w(), m = t(() => p ? "a" : g ? "router-link" : "button"), j = t(
30
+ const n = u, d = g(() => import("./MazSpinner-BcB0szZB.mjs")), i = g(() => import("./MazIcon-BbvBov5G.mjs")), { href: v, to: j } = w(), p = E(), m = o(() => v ? "a" : j ? "router-link" : "button"), h = o(
31
31
  () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
32
- ), b = t(
32
+ ), b = o(
33
33
  () => (n.loading || n.disabled) && m.value === "button"
34
- ), I = t(() => b.value ? "--cursor-default" : "--cursor-pointer"), k = t(() => `--is-${n.variant}`), B = t(() => n.loading && n.variant === "button"), C = t(() => !!v["left-icon"] || n.leftIcon), z = t(() => !!v["right-icon"] || n.rightIcon), S = t(() => C.value || z.value), $ = t(() => n.icon || !!v.icon), M = t(() => m.value === "button" ? n.type : void 0), i = t(() => 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"), T = t(() => 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");
35
- return (e, P) => (l(), a(c(m.value), {
34
+ ), I = o(() => b.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), B = o(() => n.loading && n.variant === "button"), C = o(() => !!p["left-icon"] || n.leftIcon), z = o(() => !!p["right-icon"] || n.rightIcon), S = o(() => C.value || z.value), $ = o(() => n.icon || !!p.icon), M = o(() => m.value === "button" ? n.type : void 0), s = 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"), O = 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");
35
+ return (e, U) => (t(), a(c(m.value), {
36
36
  disabled: b.value || void 0,
37
- class: s(["m-btn", [
37
+ class: l(["m-btn", [
38
38
  `--${e.size}`,
39
39
  !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
40
- j.value,
40
+ h.value,
41
41
  I.value,
42
42
  k.value,
43
- T.value,
43
+ O.value,
44
44
  {
45
45
  "--block": e.block,
46
46
  "--no-underline": e.noUnderline,
@@ -56,56 +56,44 @@ import '../assets/MazBtn.css';const D = {
56
56
  ]]),
57
57
  type: M.value
58
58
  }, {
59
- default: E(() => [
60
- o(`
61
- @slot left-icon - The icon to display on the left of the button
62
- `),
59
+ default: P(() => [
63
60
  f(e.$slots, "left-icon", {}, () => [
64
- typeof e.leftIcon == "string" ? (l(), a(y(r), {
61
+ typeof e.leftIcon == "string" ? (t(), a(y(i), {
65
62
  key: 0,
66
63
  name: e.leftIcon,
67
- class: s([i.value])
68
- }, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(c(e.leftIcon), {
64
+ class: l([s.value])
65
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(c(e.leftIcon), {
69
66
  key: 1,
70
- class: s([i.value])
71
- }, null, 8, ["class"])) : o("v-if", !0)
67
+ class: l([s.value])
68
+ }, null, 8, ["class"])) : r("v-if", !0)
72
69
  ], !0),
73
- o(`
74
- @slot icon - The icon to display on the fab button
75
- `),
76
70
  $.value ? f(e.$slots, "icon", { key: 0 }, () => [
77
- typeof e.icon == "string" ? (l(), a(y(r), {
71
+ typeof e.icon == "string" ? (t(), a(y(i), {
78
72
  key: 0,
79
73
  name: e.icon,
80
- class: s([i.value])
81
- }, null, 8, ["name", "class"])) : e.icon ? (l(), a(c(e.icon), {
74
+ class: l([s.value])
75
+ }, null, 8, ["name", "class"])) : e.icon ? (t(), a(c(e.icon), {
82
76
  key: 1,
83
- class: s([i.value])
84
- }, null, 8, ["class"])) : o("v-if", !0)
85
- ], !0) : o("v-if", !0),
86
- o(`
87
- @slot default - The content of the button
88
- `),
77
+ class: l([s.value])
78
+ }, null, 8, ["class"])) : r("v-if", !0)
79
+ ], !0) : r("v-if", !0),
89
80
  f(e.$slots, "default", {}, void 0, !0),
90
- o(`
91
- @slot left-icon - The icon to display on the left of the button
92
- `),
93
81
  z.value ? f(e.$slots, "right-icon", { key: 1 }, () => [
94
- typeof e.rightIcon == "string" ? (l(), a(y(r), {
82
+ typeof e.rightIcon == "string" ? (t(), a(y(i), {
95
83
  key: 0,
96
84
  name: e.rightIcon,
97
- class: s([i.value])
98
- }, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(c(e.rightIcon), {
85
+ class: l([s.value])
86
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(c(e.rightIcon), {
99
87
  key: 1,
100
- class: s([i.value])
101
- }, null, 8, ["class"])) : o("v-if", !0)
102
- ], !0) : o("v-if", !0),
103
- B.value ? (l(), R("div", D, [
88
+ class: l([s.value])
89
+ }, null, 8, ["class"])) : r("v-if", !0)
90
+ ], !0) : r("v-if", !0),
91
+ B.value ? (t(), R("div", D, [
104
92
  A(y(d), {
105
93
  size: "2em",
106
94
  color: e.color
107
95
  }, null, 8, ["color"])
108
- ])) : o("v-if", !0)
96
+ ])) : r("v-if", !0)
109
97
  ]),
110
98
  _: 3
111
99
  /* FORWARDED */
@@ -113,11 +101,14 @@ import '../assets/MazBtn.css';const D = {
113
101
  }
114
102
  }), N = (u, n) => {
115
103
  const d = u.__vccOpts || u;
116
- for (const [r, p] of n)
117
- d[r] = p;
104
+ for (const [i, v] of n)
105
+ d[i] = v;
118
106
  return d;
119
- }, V = /* @__PURE__ */ N(L, [["__scopeId", "data-v-d3a1ed01"]]);
107
+ }, T = /* @__PURE__ */ N(L, [["__scopeId", "data-v-d3a1ed01"]]), q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
108
+ __proto__: null,
109
+ default: T
110
+ }, Symbol.toStringTag, { value: "Module" }));
120
111
  export {
121
- V as M,
112
+ q as M,
122
113
  N as _
123
114
  };
@@ -1,9 +1,9 @@
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 "./MazInput-BQoQSRyL.mjs";
3
- import '../assets/MazBtn.css';const L = {
1
+ import { defineComponent as w, defineAsyncComponent as v, useAttrs as E, useSlots as O, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as R, renderSlot as u, unref as d, createCommentVNode as i, createElementBlock as A, createVNode as D } from "vue";
2
+ import { _ as L } from "./MazSelect-BJ07NVXQ.mjs";
3
+ import '../assets/MazBtn.css';const N = {
4
4
  key: 2,
5
5
  class: "m-btn-loader-container"
6
- }, N = /* @__PURE__ */ M({
6
+ }, P = /* @__PURE__ */ w({
7
7
  __name: "MazBtn",
8
8
  props: {
9
9
  variant: { default: "button" },
@@ -27,27 +27,27 @@ import '../assets/MazBtn.css';const L = {
27
27
  noElevation: { type: Boolean },
28
28
  justify: { default: "center" }
29
29
  },
30
- setup(b) {
31
- const n = b, z = v(() => import("./MazSpinner-EFo8dM46.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
30
+ setup(z) {
31
+ const n = z, b = v(() => import("./MazSpinner-CykRbNHD.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: g, to: h } = E(), f = O(), y = o(() => g ? "a" : h ? "router-link" : "button"), j = o(
32
32
  () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
- ), p = o(
33
+ ), m = o(
34
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", [
35
+ ), I = o(() => m.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), B = o(() => n.loading && n.variant === "button"), C = o(() => !!f["left-icon"] || n.leftIcon), p = o(() => !!f["right-icon"] || n.rightIcon), S = o(() => C.value || p.value), $ = o(() => n.icon || !!f.icon), F = o(() => y.value === "button" ? n.type : void 0), s = 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"), M = 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, U) => (t(), a(r(y.value), {
37
+ disabled: m.value || void 0,
38
+ class: l(["m-btn", [
39
39
  `--${e.size}`,
40
40
  !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
41
41
  j.value,
42
42
  I.value,
43
43
  k.value,
44
- F.value,
44
+ M.value,
45
45
  {
46
46
  "--block": e.block,
47
47
  "--no-underline": e.noUnderline,
48
48
  "--fab": e.fab,
49
49
  "--loading": e.loading,
50
- "--disabled": p.value,
50
+ "--disabled": m.value,
51
51
  "--icon": S.value,
52
52
  "--rounded": e.rounded,
53
53
  "--no-rounded": e.noRounded,
@@ -55,64 +55,52 @@ import '../assets/MazBtn.css';const L = {
55
55
  "--no-elevation": e.noElevation
56
56
  }
57
57
  ]]),
58
- type: T.value
58
+ type: F.value
59
59
  }, {
60
- default: O(() => [
61
- t(`
62
- @slot left-icon - The icon to display on the left of the button
63
- `),
60
+ default: R(() => [
64
61
  u(e.$slots, "left-icon", {}, () => [
65
- typeof e.leftIcon == "string" ? (l(), a(d(c), {
62
+ typeof e.leftIcon == "string" ? (t(), a(d(c), {
66
63
  key: 0,
67
64
  name: e.leftIcon,
68
- class: s([i.value])
69
- }, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(r(e.leftIcon), {
65
+ class: l([s.value])
66
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
70
67
  key: 1,
71
- class: s([i.value])
72
- }, null, 8, ["class"])) : t("v-if", !0)
68
+ class: l([s.value])
69
+ }, null, 8, ["class"])) : i("v-if", !0)
73
70
  ], !0),
74
- t(`
75
- @slot icon - The icon to display on the fab button
76
- `),
77
71
  $.value ? u(e.$slots, "icon", { key: 0 }, () => [
78
- typeof e.icon == "string" ? (l(), a(d(c), {
72
+ typeof e.icon == "string" ? (t(), a(d(c), {
79
73
  key: 0,
80
74
  name: e.icon,
81
- class: s([i.value])
82
- }, null, 8, ["name", "class"])) : e.icon ? (l(), a(r(e.icon), {
75
+ class: l([s.value])
76
+ }, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
83
77
  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
- `),
78
+ class: l([s.value])
79
+ }, null, 8, ["class"])) : i("v-if", !0)
80
+ ], !0) : i("v-if", !0),
90
81
  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), {
82
+ p.value ? u(e.$slots, "right-icon", { key: 1 }, () => [
83
+ typeof e.rightIcon == "string" ? (t(), a(d(c), {
96
84
  key: 0,
97
85
  name: e.rightIcon,
98
- class: s([i.value])
99
- }, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(r(e.rightIcon), {
86
+ class: l([s.value])
87
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
100
88
  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), {
89
+ class: l([s.value])
90
+ }, null, 8, ["class"])) : i("v-if", !0)
91
+ ], !0) : i("v-if", !0),
92
+ B.value ? (t(), A("div", N, [
93
+ D(d(b), {
106
94
  size: "2em",
107
95
  color: e.color
108
96
  }, null, 8, ["color"])
109
- ])) : t("v-if", !0)
97
+ ])) : i("v-if", !0)
110
98
  ]),
111
99
  _: 3
112
100
  /* FORWARDED */
113
101
  }, 8, ["disabled", "class", "type"]));
114
102
  }
115
- }), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-d3a1ed01"]]);
103
+ }), q = /* @__PURE__ */ L(P, [["__scopeId", "data-v-d3a1ed01"]]);
116
104
  export {
117
105
  q as default
118
106
  };