maz-ui 3.47.0 → 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 (192) hide show
  1. package/components/MazAvatar.mjs +1 -1
  2. package/components/MazBottomSheet.mjs +1 -1
  3. package/components/MazBtn.mjs +1 -1
  4. package/components/MazCard.mjs +1 -1
  5. package/components/MazCarousel.mjs +1 -1
  6. package/components/MazChart.d.ts +1 -1
  7. package/components/MazCheckbox.d.ts +1 -6
  8. package/components/MazChecklist.d.ts +1 -4
  9. package/components/MazChecklist.mjs +1 -1
  10. package/components/MazDialog.d.ts +1 -6
  11. package/components/MazDialog.mjs +1 -1
  12. package/components/MazDialogPromise.mjs +1 -1
  13. package/components/MazDrawer.mjs +1 -1
  14. package/components/MazDropdown.mjs +1 -1
  15. package/components/MazDropzone.d.ts +1 -22
  16. package/components/MazDropzone.mjs +1 -1
  17. package/components/MazFullscreenLoader.d.ts +4 -5
  18. package/components/MazFullscreenLoader.mjs +29 -20
  19. package/components/MazGallery.mjs +1 -1
  20. package/components/MazInput.d.ts +1 -8
  21. package/components/MazInput.mjs +1 -1
  22. package/components/MazInputCode.d.ts +1 -4
  23. package/components/MazInputNumber.mjs +1 -1
  24. package/components/MazInputPrice.mjs +1 -1
  25. package/components/MazInputTags.mjs +1 -1
  26. package/components/MazLazyImg.d.ts +2 -0
  27. package/components/MazLazyImg.mjs +1 -1
  28. package/components/MazPagination.mjs +1 -1
  29. package/components/MazPhoneNumberInput.d.ts +1 -20
  30. package/components/MazPhoneNumberInput.mjs +1 -1
  31. package/components/MazPicker.mjs +1 -1
  32. package/components/MazPullToRefresh.mjs +1 -1
  33. package/components/MazRadio.d.ts +1 -6
  34. package/components/MazRadioButtons.d.ts +1 -6
  35. package/components/MazSelect.d.ts +1 -10
  36. package/components/MazSelect.mjs +1 -1
  37. package/components/MazSpinner.d.ts +13 -23
  38. package/components/MazSpinner.mjs +13 -16
  39. package/components/MazTable.d.ts +63 -58
  40. package/components/MazTable.mjs +1 -1
  41. package/components/MazTabsBar.mjs +1 -1
  42. package/components/assets/MazDropdown.css +1 -1
  43. package/components/assets/MazGallery.css +1 -1
  44. package/components/assets/MazInput.css +1 -1
  45. package/components/assets/MazInputNumber.css +1 -1
  46. package/components/assets/MazInputPrice.css +1 -1
  47. package/components/assets/MazInputTags.css +1 -1
  48. package/components/assets/MazLazyImg.css +1 -1
  49. package/components/assets/MazPhoneNumberInput.css +1 -1
  50. package/components/assets/MazPicker.css +1 -1
  51. package/components/assets/MazSelect.css +1 -1
  52. package/components/assets/MazSpinner.css +1 -1
  53. package/components/assets/MazTable.css +1 -1
  54. package/components/assets/MazTabsBar.css +1 -1
  55. package/components/chunks/{MazAvatar-BmaVqPui.mjs → MazAvatar-DFoZvWmg.mjs} +1 -1
  56. package/components/chunks/{MazBadge-CNSfzYq-.mjs → MazBadge-CvIiiTdM.mjs} +1 -1
  57. package/components/chunks/{MazBottomSheet-BvdiOa8P.mjs → MazBottomSheet-DqK0EOsq.mjs} +1 -1
  58. package/components/chunks/{MazBtn-D_IQO-P2.mjs → MazBtn-BO3G90L3.mjs} +2 -2
  59. package/components/chunks/{MazBtn-CVDDOeLF.mjs → MazBtn-BRUaoP8j.mjs} +1 -1
  60. package/components/chunks/{MazBtn-B7rKmEGw.mjs → MazBtn-BhnOApJu.mjs} +2 -2
  61. package/components/chunks/{MazBtn-4g56EBmg.mjs → MazBtn-C28vKP_v.mjs} +1 -1
  62. package/components/chunks/{MazBtn-D6T9wOxO.mjs → MazBtn-C87UEsVs.mjs} +2 -2
  63. package/components/chunks/MazBtn-C_l3xuAh.mjs +118 -0
  64. package/components/chunks/{MazBtn-4jMQE2G-.mjs → MazBtn-CweCwE_4.mjs} +2 -2
  65. package/components/chunks/{MazBtn-B3i4Ypas.mjs → MazBtn-D7IKoL2c.mjs} +2 -2
  66. package/components/chunks/{MazBtn-BRdMg4tc.mjs → MazBtn-DJOUeES7.mjs} +2 -2
  67. package/components/chunks/{MazBtn-CEOWwReA.mjs → MazBtn-DVkwISlp.mjs} +2 -2
  68. package/components/chunks/{MazBtn-BAxR_dt3.mjs → MazBtn-DadFupkY.mjs} +2 -2
  69. package/components/chunks/{MazBtn-BvirhKh3.mjs → MazBtn-DzBXfedt.mjs} +1 -1
  70. package/components/chunks/{MazBtn-DYMxHlYa.mjs → MazBtn-GGcGrIH4.mjs} +2 -2
  71. package/components/chunks/MazBtn-Mu18egu5.mjs +118 -0
  72. package/components/chunks/{MazCard-StYuQv11.mjs → MazCard-FSXmHyhj.mjs} +1 -1
  73. package/components/chunks/{MazCarousel-DEO7Tz8F.mjs → MazCarousel-BEl86YGW.mjs} +1 -1
  74. package/components/chunks/{MazCheckbox-TiwCiE2s.mjs → MazCheckbox-2G4VkxDz.mjs} +1 -1
  75. package/components/chunks/{MazCheckbox-D9RW0OPf.mjs → MazCheckbox-BmnqBHaY.mjs} +1 -1
  76. package/components/chunks/{MazCheckbox-CtiUQoBe.mjs → MazCheckbox-Cq9gpTEw.mjs} +1 -1
  77. package/components/chunks/{MazChecklist-B9bw1Mn4.mjs → MazChecklist-CY1Cv70T.mjs} +1 -1
  78. package/components/chunks/{MazDialog-C3urFx7y.mjs → MazDialog-CPgFpAlq.mjs} +1 -1
  79. package/components/chunks/{MazDialogPromise-BuOWwo6n.mjs → MazDialogPromise-BCCdkrea.mjs} +119 -112
  80. package/components/chunks/{MazDropzone-D32tLLpO.mjs → MazDropzone-DKFkgqqD.mjs} +1 -1
  81. package/components/chunks/{MazGallery-BOmH2smL.mjs → MazGallery-BknvUeo1.mjs} +272 -229
  82. package/components/chunks/{MazGallery-DLNvXEka.mjs → MazGallery-CZOokGAt.mjs} +248 -205
  83. package/components/chunks/{MazIcon-DyrYf9Sl.mjs → MazIcon-z-jTiuyI.mjs} +1 -1
  84. package/components/chunks/{MazInput-BZ2U145p.mjs → MazInput-BQoQSRyL.mjs} +2 -2
  85. package/components/chunks/{MazInput-Bq_SbBRE.mjs → MazInput-CJQB68c-.mjs} +22 -22
  86. package/components/chunks/{MazInput-_rEW9XWJ.mjs → MazInput-oOA7gdLO.mjs} +23 -23
  87. package/components/chunks/{MazInputNumber-G8880Neu.mjs → MazInputNumber-B4mQJcVB.mjs} +2 -2
  88. package/components/chunks/{MazInputPrice-DROLM9PX.mjs → MazInputPrice-BrxE5WVf.mjs} +2 -2
  89. package/components/chunks/{MazInputTags-BRmcZBo4.mjs → MazInputTags-BVCej_gW.mjs} +233 -232
  90. package/components/chunks/{MazLazyImg-i-z6hcwF.mjs → MazLazyImg-B-6PQWEi.mjs} +9 -8
  91. package/components/chunks/{MazLazyImg-RHZ9wOy2.mjs → MazLazyImg-C03sUOXs.mjs} +6 -5
  92. package/components/chunks/{MazLoadingBar-DHFjKEEm.mjs → MazLoadingBar-Dwf55oHy.mjs} +1 -1
  93. package/components/chunks/{MazPagination-6MyYnTer.mjs → MazPagination-CHTMRRqE.mjs} +1 -1
  94. package/components/chunks/{MazPhoneNumberInput-r6OjPeRI.mjs → MazPhoneNumberInput-Cd25AzXc.mjs} +116 -115
  95. package/components/chunks/{MazPicker-B28fQccE.mjs → MazPicker-C78yxilJ.mjs} +3 -3
  96. package/components/chunks/{MazPickerMonthSwitcher-DrtbXCca.mjs → MazPickerMonthSwitcher-CyHYx8TT.mjs} +1 -1
  97. package/components/chunks/{MazPickerShortcuts-TbhHaKoJ.mjs → MazPickerShortcuts-Bsi8cnox.mjs} +1 -1
  98. package/components/chunks/{MazPickerYearSwitcher-KwUBj6Cb.mjs → MazPickerYearSwitcher-DLUSMAtz.mjs} +1 -1
  99. package/components/chunks/{MazPullToRefresh-CdVBfDl9.mjs → MazPullToRefresh-CFQX0soS.mjs} +1 -1
  100. package/components/chunks/{MazSelect-BvC9QQ6M.mjs → MazSelect-CQDoUpgp.mjs} +15 -14
  101. package/components/chunks/{MazSelect-DyQC9j4n.mjs → MazSelect-uCJPMXF-.mjs} +3 -3
  102. package/components/chunks/MazSpinner-2D0ZmAQz.mjs +34 -0
  103. package/components/chunks/MazSpinner-B9OwpEP_.mjs +34 -0
  104. package/components/chunks/MazSpinner-BT_717pD.mjs +34 -0
  105. package/components/chunks/MazSpinner-Bvb-lKER.mjs +34 -0
  106. package/components/chunks/MazSpinner-C-z3-68w.mjs +34 -0
  107. package/components/chunks/MazSpinner-C1Ip-Dwh.mjs +34 -0
  108. package/components/chunks/MazSpinner-C23CZ_Za.mjs +34 -0
  109. package/components/chunks/MazSpinner-CAbYLlEZ.mjs +34 -0
  110. package/components/chunks/MazSpinner-CViChjTw.mjs +34 -0
  111. package/components/chunks/MazSpinner-CZMBhCOJ.mjs +34 -0
  112. package/components/chunks/MazSpinner-Cb3_S0zT.mjs +34 -0
  113. package/components/chunks/MazSpinner-Cqp-BMvL.mjs +34 -0
  114. package/components/chunks/MazSpinner-CsEQ9EXb.mjs +34 -0
  115. package/components/chunks/MazSpinner-D4C84xZe.mjs +34 -0
  116. package/components/chunks/MazSpinner-DjM6ktPY.mjs +34 -0
  117. package/components/chunks/{MazSpinner-ByWRmwig.mjs → MazSpinner-Du5o8JC_.mjs} +15 -14
  118. package/components/chunks/MazSpinner-Dyf9yb51.mjs +34 -0
  119. package/components/chunks/MazSpinner-EFo8dM46.mjs +34 -0
  120. package/components/chunks/MazSpinner-QHjOczon.mjs +34 -0
  121. package/components/chunks/MazSpinner-XB6tX3Ld.mjs +34 -0
  122. package/components/chunks/MazSpinner-f6pBzqbu.mjs +34 -0
  123. package/components/chunks/MazSpinner-u8WQTgUR.mjs +34 -0
  124. package/components/chunks/MazSpinner-w-S5uCxg.mjs +34 -0
  125. package/components/chunks/MazSpinner-yr9xVdAa.mjs +34 -0
  126. package/components/chunks/{MazTable-DozpABdn.mjs → MazTable-Cuz5QI08.mjs} +4 -4
  127. package/components/chunks/{MazTableCell-DPgvJ7vY.mjs → MazTableCell-D_OTOJiy.mjs} +1 -1
  128. package/components/chunks/{MazTableRow-CCcjwAV1.mjs → MazTableRow-BTcVAyOy.mjs} +1 -1
  129. package/components/chunks/{MazTableTitle-Df7F9Cjh.mjs → MazTableTitle-BDA9G6Zw.mjs} +1 -1
  130. package/components/chunks/{MazTabsBar-MZYefBb8.mjs → MazTabsBar-JkRzMDM6.mjs} +9 -10
  131. package/components/chunks/{MazTransitionExpand--vHzXjx7.mjs → MazTransitionExpand-C-FHhOGB.mjs} +1 -1
  132. package/css/main.css +1 -1
  133. package/modules/assets/MazSpinner.css +1 -1
  134. package/modules/assets/index.css +1 -1
  135. package/modules/chunks/{MazBtn-BVxI1WwF.mjs → MazBtn-BSnVxud6.mjs} +2 -2
  136. package/modules/chunks/{MazBtn-DrB5FzZN.cjs → MazBtn-Bf9Cq5M7.cjs} +1 -1
  137. package/modules/chunks/{MazIcon-b8WRy8OV.mjs → MazIcon-DllGg8tw.mjs} +1 -1
  138. package/modules/chunks/{MazIcon-BMJqOZnG.cjs → MazIcon-dhyR9Q8a.cjs} +1 -1
  139. package/modules/chunks/MazSpinner-CiIyZ8gs.cjs +1 -0
  140. package/modules/chunks/MazSpinner-bdGjxsu6.mjs +34 -0
  141. package/modules/chunks/index-BPqjUr5e.cjs +149 -0
  142. package/modules/chunks/{index-Ch4k74ro.mjs → index-x2F1l5sr.mjs} +976 -940
  143. package/modules/index.cjs +1 -1
  144. package/modules/index.mjs +1 -1
  145. package/nuxt/index.json +1 -1
  146. package/package.json +10 -10
  147. package/types/components/MazChart.vue.d.ts +1 -1
  148. package/types/components/MazCheckbox.vue.d.ts +1 -6
  149. package/types/components/MazChecklist.vue.d.ts +1 -4
  150. package/types/components/MazDialog.vue.d.ts +1 -6
  151. package/types/components/MazDropzone.vue.d.ts +1 -22
  152. package/types/components/MazFullscreenLoader.vue.d.ts +4 -5
  153. package/types/components/MazInput.vue.d.ts +1 -8
  154. package/types/components/MazInputCode.vue.d.ts +1 -4
  155. package/types/components/MazLazyImg.vue.d.ts +2 -0
  156. package/types/components/MazPhoneNumberInput.vue.d.ts +1 -20
  157. package/types/components/MazRadio.vue.d.ts +1 -6
  158. package/types/components/MazRadioButtons.vue.d.ts +1 -6
  159. package/types/components/MazSelect.vue.d.ts +1 -10
  160. package/types/components/MazSpinner.vue.d.ts +13 -23
  161. package/types/components/MazTable.vue.d.ts +63 -58
  162. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +5 -5
  163. package/types/modules/helpers/check-availability.d.ts +1 -0
  164. package/types/modules/helpers/idle-timeout/types.d.ts +5 -3
  165. package/components/chunks/MazBtn-BF48_wJx.mjs +0 -118
  166. package/components/chunks/MazBtn-CGYoHDXm.mjs +0 -118
  167. package/components/chunks/MazSpinner-3vO8e4FF.mjs +0 -37
  168. package/components/chunks/MazSpinner-5w4SkOOl.mjs +0 -37
  169. package/components/chunks/MazSpinner-B0291afs.mjs +0 -37
  170. package/components/chunks/MazSpinner-B0aGd8rG.mjs +0 -37
  171. package/components/chunks/MazSpinner-BziSiJFV.mjs +0 -37
  172. package/components/chunks/MazSpinner-CKX-8iim.mjs +0 -37
  173. package/components/chunks/MazSpinner-CQ2XrZIS.mjs +0 -37
  174. package/components/chunks/MazSpinner-CQbd8Ovn.mjs +0 -37
  175. package/components/chunks/MazSpinner-CRW667yE.mjs +0 -37
  176. package/components/chunks/MazSpinner-Coq7N5iG.mjs +0 -37
  177. package/components/chunks/MazSpinner-D-7IOf2L.mjs +0 -37
  178. package/components/chunks/MazSpinner-D0t4IJyq.mjs +0 -37
  179. package/components/chunks/MazSpinner-D2pssr8S.mjs +0 -37
  180. package/components/chunks/MazSpinner-D5hiFgo4.mjs +0 -37
  181. package/components/chunks/MazSpinner-DkXUB0w5.mjs +0 -37
  182. package/components/chunks/MazSpinner-Dscrgjm1.mjs +0 -41
  183. package/components/chunks/MazSpinner-DyVjCwmM.mjs +0 -37
  184. package/components/chunks/MazSpinner-HZYglQFY.mjs +0 -37
  185. package/components/chunks/MazSpinner-JpzVmSvW.mjs +0 -37
  186. package/components/chunks/MazSpinner-Nu5h2A6E.mjs +0 -37
  187. package/components/chunks/MazSpinner-S6Bx7B15.mjs +0 -37
  188. package/components/chunks/MazSpinner-SgVUnAHk.mjs +0 -37
  189. package/components/chunks/MazSpinner-wR0F3mAY.mjs +0 -37
  190. package/modules/chunks/MazSpinner-6H0uaGkV.cjs +0 -1
  191. package/modules/chunks/MazSpinner-B-Tki1aV.mjs +0 -37
  192. package/modules/chunks/index-G8fhXnFU.cjs +0 -149
@@ -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 "./MazPhoneNumberInput-r6OjPeRI.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-wR0F3mAY.mjs")), c = v(() => import("./MazIcon-DyrYf9Sl.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,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 "./MazBottomSheet-BvdiOa8P.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-B0aGd8rG.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,37 +0,0 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as o, normalizeClass as s, createElementVNode as a } from "vue";
2
- import { _ as i } from "./MazDialog-C3urFx7y.mjs";
3
- import '../assets/MazSpinner.css';const c = ["width", "height"], p = /* @__PURE__ */ n({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { type: String, default: "2em" },
7
- color: {
8
- type: String,
9
- default: "primary"
10
- }
11
- },
12
- setup(e) {
13
- return (l, t) => (r(), o("svg", {
14
- width: e.size,
15
- height: e.size,
16
- version: "1.1",
17
- xmlns: "http://www.w3.org/2000/svg",
18
- x: "0px",
19
- y: "0px",
20
- viewBox: "0 0 50 50",
21
- "xml:space": "preserve",
22
- class: s(["m-spinner", `m-spinner--${e.color}`]),
23
- style: { "enable-background": "new 0 0 50 50" }
24
- }, t[0] || (t[0] = [
25
- a(
26
- "path",
27
- { 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" },
28
- null,
29
- -1
30
- /* HOISTED */
31
- )
32
- ]), 10, c));
33
- }
34
- }), h = /* @__PURE__ */ i(p, [["__scopeId", "data-v-c16a57a3"]]);
35
- export {
36
- h as default
37
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as o, normalizeClass as s, createElementVNode as a } from "vue";
2
- import { _ as i } from "./MazAvatar-BmaVqPui.mjs";
3
- import '../assets/MazSpinner.css';const c = ["width", "height"], p = /* @__PURE__ */ n({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { type: String, default: "2em" },
7
- color: {
8
- type: String,
9
- default: "primary"
10
- }
11
- },
12
- setup(e) {
13
- return (l, t) => (r(), o("svg", {
14
- width: e.size,
15
- height: e.size,
16
- version: "1.1",
17
- xmlns: "http://www.w3.org/2000/svg",
18
- x: "0px",
19
- y: "0px",
20
- viewBox: "0 0 50 50",
21
- "xml:space": "preserve",
22
- class: s(["m-spinner", `m-spinner--${e.color}`]),
23
- style: { "enable-background": "new 0 0 50 50" }
24
- }, t[0] || (t[0] = [
25
- a(
26
- "path",
27
- { 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" },
28
- null,
29
- -1
30
- /* HOISTED */
31
- )
32
- ]), 10, c));
33
- }
34
- }), h = /* @__PURE__ */ i(p, [["__scopeId", "data-v-c16a57a3"]]);
35
- export {
36
- h as default
37
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as o, normalizeClass as s, createElementVNode as a } from "vue";
2
- import { _ as i } from "./MazInputNumber-G8880Neu.mjs";
3
- import '../assets/MazSpinner.css';const c = ["width", "height"], p = /* @__PURE__ */ n({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { type: String, default: "2em" },
7
- color: {
8
- type: String,
9
- default: "primary"
10
- }
11
- },
12
- setup(e) {
13
- return (l, t) => (r(), o("svg", {
14
- width: e.size,
15
- height: e.size,
16
- version: "1.1",
17
- xmlns: "http://www.w3.org/2000/svg",
18
- x: "0px",
19
- y: "0px",
20
- viewBox: "0 0 50 50",
21
- "xml:space": "preserve",
22
- class: s(["m-spinner", `m-spinner--${e.color}`]),
23
- style: { "enable-background": "new 0 0 50 50" }
24
- }, t[0] || (t[0] = [
25
- a(
26
- "path",
27
- { 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" },
28
- null,
29
- -1
30
- /* HOISTED */
31
- )
32
- ]), 10, c));
33
- }
34
- }), h = /* @__PURE__ */ i(p, [["__scopeId", "data-v-c16a57a3"]]);
35
- export {
36
- h as default
37
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as o, normalizeClass as s, createElementVNode as a } from "vue";
2
- import { _ as i } from "./MazBottomSheet-BvdiOa8P.mjs";
3
- import '../assets/MazSpinner.css';const c = ["width", "height"], p = /* @__PURE__ */ n({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { type: String, default: "2em" },
7
- color: {
8
- type: String,
9
- default: "primary"
10
- }
11
- },
12
- setup(e) {
13
- return (l, t) => (r(), o("svg", {
14
- width: e.size,
15
- height: e.size,
16
- version: "1.1",
17
- xmlns: "http://www.w3.org/2000/svg",
18
- x: "0px",
19
- y: "0px",
20
- viewBox: "0 0 50 50",
21
- "xml:space": "preserve",
22
- class: s(["m-spinner", `m-spinner--${e.color}`]),
23
- style: { "enable-background": "new 0 0 50 50" }
24
- }, t[0] || (t[0] = [
25
- a(
26
- "path",
27
- { 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" },
28
- null,
29
- -1
30
- /* HOISTED */
31
- )
32
- ]), 10, c));
33
- }
34
- }), h = /* @__PURE__ */ i(p, [["__scopeId", "data-v-c16a57a3"]]);
35
- export {
36
- h as default
37
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as o, normalizeClass as s, createElementVNode as a } from "vue";
2
- import { _ as i } from "./MazBtn-BvirhKh3.mjs";
3
- import '../assets/MazSpinner.css';const c = ["width", "height"], p = /* @__PURE__ */ n({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { type: String, default: "2em" },
7
- color: {
8
- type: String,
9
- default: "primary"
10
- }
11
- },
12
- setup(e) {
13
- return (l, t) => (r(), o("svg", {
14
- width: e.size,
15
- height: e.size,
16
- version: "1.1",
17
- xmlns: "http://www.w3.org/2000/svg",
18
- x: "0px",
19
- y: "0px",
20
- viewBox: "0 0 50 50",
21
- "xml:space": "preserve",
22
- class: s(["m-spinner", `m-spinner--${e.color}`]),
23
- style: { "enable-background": "new 0 0 50 50" }
24
- }, t[0] || (t[0] = [
25
- a(
26
- "path",
27
- { 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" },
28
- null,
29
- -1
30
- /* HOISTED */
31
- )
32
- ]), 10, c));
33
- }
34
- }), h = /* @__PURE__ */ i(p, [["__scopeId", "data-v-c16a57a3"]]);
35
- export {
36
- h as default
37
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as o, normalizeClass as s, createElementVNode as a } from "vue";
2
- import { _ as i } from "./MazPicker-B28fQccE.mjs";
3
- import '../assets/MazSpinner.css';const c = ["width", "height"], p = /* @__PURE__ */ n({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { type: String, default: "2em" },
7
- color: {
8
- type: String,
9
- default: "primary"
10
- }
11
- },
12
- setup(e) {
13
- return (l, t) => (r(), o("svg", {
14
- width: e.size,
15
- height: e.size,
16
- version: "1.1",
17
- xmlns: "http://www.w3.org/2000/svg",
18
- x: "0px",
19
- y: "0px",
20
- viewBox: "0 0 50 50",
21
- "xml:space": "preserve",
22
- class: s(["m-spinner", `m-spinner--${e.color}`]),
23
- style: { "enable-background": "new 0 0 50 50" }
24
- }, t[0] || (t[0] = [
25
- a(
26
- "path",
27
- { 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" },
28
- null,
29
- -1
30
- /* HOISTED */
31
- )
32
- ]), 10, c));
33
- }
34
- }), h = /* @__PURE__ */ i(p, [["__scopeId", "data-v-c16a57a3"]]);
35
- export {
36
- h as default
37
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as o, normalizeClass as s, createElementVNode as a } from "vue";
2
- import { _ as i } from "./MazChecklist-B9bw1Mn4.mjs";
3
- import '../assets/MazSpinner.css';const c = ["width", "height"], p = /* @__PURE__ */ n({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { type: String, default: "2em" },
7
- color: {
8
- type: String,
9
- default: "primary"
10
- }
11
- },
12
- setup(e) {
13
- return (l, t) => (r(), o("svg", {
14
- width: e.size,
15
- height: e.size,
16
- version: "1.1",
17
- xmlns: "http://www.w3.org/2000/svg",
18
- x: "0px",
19
- y: "0px",
20
- viewBox: "0 0 50 50",
21
- "xml:space": "preserve",
22
- class: s(["m-spinner", `m-spinner--${e.color}`]),
23
- style: { "enable-background": "new 0 0 50 50" }
24
- }, t[0] || (t[0] = [
25
- a(
26
- "path",
27
- { 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" },
28
- null,
29
- -1
30
- /* HOISTED */
31
- )
32
- ]), 10, c));
33
- }
34
- }), h = /* @__PURE__ */ i(p, [["__scopeId", "data-v-c16a57a3"]]);
35
- export {
36
- h as default
37
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as o, normalizeClass as s, createElementVNode as a } from "vue";
2
- import { _ as i } from "./MazGallery-BOmH2smL.mjs";
3
- import '../assets/MazSpinner.css';const c = ["width", "height"], p = /* @__PURE__ */ n({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { type: String, default: "2em" },
7
- color: {
8
- type: String,
9
- default: "primary"
10
- }
11
- },
12
- setup(e) {
13
- return (l, t) => (r(), o("svg", {
14
- width: e.size,
15
- height: e.size,
16
- version: "1.1",
17
- xmlns: "http://www.w3.org/2000/svg",
18
- x: "0px",
19
- y: "0px",
20
- viewBox: "0 0 50 50",
21
- "xml:space": "preserve",
22
- class: s(["m-spinner", `m-spinner--${e.color}`]),
23
- style: { "enable-background": "new 0 0 50 50" }
24
- }, t[0] || (t[0] = [
25
- a(
26
- "path",
27
- { 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" },
28
- null,
29
- -1
30
- /* HOISTED */
31
- )
32
- ]), 10, c));
33
- }
34
- }), h = /* @__PURE__ */ i(p, [["__scopeId", "data-v-c16a57a3"]]);
35
- export {
36
- h as default
37
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as o, normalizeClass as s, createElementVNode as a } from "vue";
2
- import { _ as i } from "./MazCarousel-DEO7Tz8F.mjs";
3
- import '../assets/MazSpinner.css';const c = ["width", "height"], p = /* @__PURE__ */ n({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { type: String, default: "2em" },
7
- color: {
8
- type: String,
9
- default: "primary"
10
- }
11
- },
12
- setup(e) {
13
- return (l, t) => (r(), o("svg", {
14
- width: e.size,
15
- height: e.size,
16
- version: "1.1",
17
- xmlns: "http://www.w3.org/2000/svg",
18
- x: "0px",
19
- y: "0px",
20
- viewBox: "0 0 50 50",
21
- "xml:space": "preserve",
22
- class: s(["m-spinner", `m-spinner--${e.color}`]),
23
- style: { "enable-background": "new 0 0 50 50" }
24
- }, t[0] || (t[0] = [
25
- a(
26
- "path",
27
- { 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" },
28
- null,
29
- -1
30
- /* HOISTED */
31
- )
32
- ]), 10, c));
33
- }
34
- }), h = /* @__PURE__ */ i(p, [["__scopeId", "data-v-c16a57a3"]]);
35
- export {
36
- h as default
37
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as o, normalizeClass as s, createElementVNode as a } from "vue";
2
- import { _ as i } from "./MazDropzone-D32tLLpO.mjs";
3
- import '../assets/MazSpinner.css';const c = ["width", "height"], p = /* @__PURE__ */ n({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { type: String, default: "2em" },
7
- color: {
8
- type: String,
9
- default: "primary"
10
- }
11
- },
12
- setup(e) {
13
- return (l, t) => (r(), o("svg", {
14
- width: e.size,
15
- height: e.size,
16
- version: "1.1",
17
- xmlns: "http://www.w3.org/2000/svg",
18
- x: "0px",
19
- y: "0px",
20
- viewBox: "0 0 50 50",
21
- "xml:space": "preserve",
22
- class: s(["m-spinner", `m-spinner--${e.color}`]),
23
- style: { "enable-background": "new 0 0 50 50" }
24
- }, t[0] || (t[0] = [
25
- a(
26
- "path",
27
- { 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" },
28
- null,
29
- -1
30
- /* HOISTED */
31
- )
32
- ]), 10, c));
33
- }
34
- }), h = /* @__PURE__ */ i(p, [["__scopeId", "data-v-c16a57a3"]]);
35
- export {
36
- h as default
37
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as o, normalizeClass as s, createElementVNode as a } from "vue";
2
- import { _ as i } from "./MazCard-StYuQv11.mjs";
3
- import '../assets/MazSpinner.css';const c = ["width", "height"], p = /* @__PURE__ */ n({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { type: String, default: "2em" },
7
- color: {
8
- type: String,
9
- default: "primary"
10
- }
11
- },
12
- setup(e) {
13
- return (l, t) => (r(), o("svg", {
14
- width: e.size,
15
- height: e.size,
16
- version: "1.1",
17
- xmlns: "http://www.w3.org/2000/svg",
18
- x: "0px",
19
- y: "0px",
20
- viewBox: "0 0 50 50",
21
- "xml:space": "preserve",
22
- class: s(["m-spinner", `m-spinner--${e.color}`]),
23
- style: { "enable-background": "new 0 0 50 50" }
24
- }, t[0] || (t[0] = [
25
- a(
26
- "path",
27
- { 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" },
28
- null,
29
- -1
30
- /* HOISTED */
31
- )
32
- ]), 10, c));
33
- }
34
- }), h = /* @__PURE__ */ i(p, [["__scopeId", "data-v-c16a57a3"]]);
35
- export {
36
- h as default
37
- };