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

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 (146) 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-B_Xlvgbg.cjs +1 -0
  107. package/modules/chunks/MazBtn-Dsr06Zgg.mjs +106 -0
  108. package/modules/chunks/{MazIcon-dhyR9Q8a.cjs → MazIcon-CkuzyufF.cjs} +1 -1
  109. package/modules/chunks/{MazIcon-DllGg8tw.mjs → MazIcon-DEgoQbMj.mjs} +1 -1
  110. package/modules/chunks/{MazSpinner-bdGjxsu6.mjs → MazSpinner-BurN-1pb.mjs} +1 -1
  111. package/modules/chunks/{MazSpinner-CiIyZ8gs.cjs → MazSpinner-jP4QsCNE.cjs} +1 -1
  112. package/modules/chunks/index-CUNN0eIB.cjs +124 -0
  113. package/modules/chunks/{index-x2F1l5sr.mjs → index-CxFUggmu.mjs} +257 -292
  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
  146. package/modules/chunks/index-BPqjUr5e.cjs +0 -149
@@ -1,362 +0,0 @@
1
- import { defineComponent as q, defineAsyncComponent as A, useAttrs as H, useSlots as J, computed as s, openBlock as i, createBlock as m, resolveDynamicComponent as F, normalizeClass as y, withCtx as V, createCommentVNode as l, renderSlot as f, unref as v, createElementBlock as B, createVNode as c, createElementVNode as d, mergeProps as $, createTextVNode as k, toDisplayString as R, Fragment as K, renderList as Q } from "vue";
2
- import '../assets/MazPagination.css';const W = {
3
- key: 2,
4
- class: "m-btn-loader-container"
5
- }, X = /* @__PURE__ */ q({
6
- __name: "MazBtn",
7
- props: {
8
- variant: { default: "button" },
9
- size: { default: "md" },
10
- color: { default: "primary" },
11
- type: { default: "button" },
12
- rounded: { type: Boolean },
13
- roundedSize: { default: "lg" },
14
- noRounded: { type: Boolean },
15
- outline: { type: Boolean },
16
- pastel: { type: Boolean },
17
- block: { type: Boolean },
18
- noUnderline: { type: Boolean },
19
- loading: { type: Boolean },
20
- disabled: { type: Boolean },
21
- fab: { type: Boolean },
22
- icon: { type: [String, Function, Object], default: void 0 },
23
- leftIcon: { type: [String, Function, Object], default: void 0 },
24
- rightIcon: { type: [String, Function, Object], default: void 0 },
25
- noPadding: { type: Boolean },
26
- noElevation: { type: Boolean },
27
- justify: { default: "center" }
28
- },
29
- setup(P) {
30
- const n = P, e = A(() => import("./MazSpinner-Bvb-lKER.mjs")), b = A(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: N } = H(), C = J(), S = s(() => h ? "a" : N ? "router-link" : "button"), u = s(
31
- () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
32
- ), g = s(
33
- () => (n.loading || n.disabled) && S.value === "button"
34
- ), z = s(() => g.value ? "--cursor-default" : "--cursor-pointer"), I = s(() => `--is-${n.variant}`), M = s(() => n.loading && n.variant === "button"), O = s(() => !!C["left-icon"] || n.leftIcon), T = s(() => !!C["right-icon"] || n.rightIcon), D = s(() => O.value || T.value), L = s(() => n.icon || !!C.icon), U = s(() => S.value === "button" ? n.type : void 0), p = s(() => 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"), w = s(() => 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 (a, t) => (i(), m(F(S.value), {
36
- disabled: g.value || void 0,
37
- class: y(["m-btn", [
38
- `--${a.size}`,
39
- !a.fab && !a.rounded && a.roundedSize && `--rounded-${a.roundedSize}`,
40
- u.value,
41
- z.value,
42
- I.value,
43
- w.value,
44
- {
45
- "--block": a.block,
46
- "--no-underline": a.noUnderline,
47
- "--fab": a.fab,
48
- "--loading": a.loading,
49
- "--disabled": g.value,
50
- "--icon": D.value,
51
- "--rounded": a.rounded,
52
- "--no-rounded": a.noRounded,
53
- "--no-padding": a.noPadding,
54
- "--no-elevation": a.noElevation
55
- }
56
- ]]),
57
- type: U.value
58
- }, {
59
- default: V(() => [
60
- l(`
61
- @slot left-icon - The icon to display on the left of the button
62
- `),
63
- f(a.$slots, "left-icon", {}, () => [
64
- typeof a.leftIcon == "string" ? (i(), m(v(b), {
65
- key: 0,
66
- name: a.leftIcon,
67
- class: y([p.value])
68
- }, null, 8, ["name", "class"])) : a.leftIcon ? (i(), m(F(a.leftIcon), {
69
- key: 1,
70
- class: y([p.value])
71
- }, null, 8, ["class"])) : l("v-if", !0)
72
- ], !0),
73
- l(`
74
- @slot icon - The icon to display on the fab button
75
- `),
76
- L.value ? f(a.$slots, "icon", { key: 0 }, () => [
77
- typeof a.icon == "string" ? (i(), m(v(b), {
78
- key: 0,
79
- name: a.icon,
80
- class: y([p.value])
81
- }, null, 8, ["name", "class"])) : a.icon ? (i(), m(F(a.icon), {
82
- key: 1,
83
- class: y([p.value])
84
- }, null, 8, ["class"])) : l("v-if", !0)
85
- ], !0) : l("v-if", !0),
86
- l(`
87
- @slot default - The content of the button
88
- `),
89
- f(a.$slots, "default", {}, void 0, !0),
90
- l(`
91
- @slot left-icon - The icon to display on the left of the button
92
- `),
93
- T.value ? f(a.$slots, "right-icon", { key: 1 }, () => [
94
- typeof a.rightIcon == "string" ? (i(), m(v(b), {
95
- key: 0,
96
- name: a.rightIcon,
97
- class: y([p.value])
98
- }, null, 8, ["name", "class"])) : a.rightIcon ? (i(), m(F(a.rightIcon), {
99
- key: 1,
100
- class: y([p.value])
101
- }, null, 8, ["class"])) : l("v-if", !0)
102
- ], !0) : l("v-if", !0),
103
- M.value ? (i(), B("div", W, [
104
- c(v(e), {
105
- size: "2em",
106
- color: a.color
107
- }, null, 8, ["color"])
108
- ])) : l("v-if", !0)
109
- ]),
110
- _: 3
111
- /* FORWARDED */
112
- }, 8, ["disabled", "class", "type"]));
113
- }
114
- }), G = (P, n) => {
115
- const e = P.__vccOpts || P;
116
- for (const [b, h] of n)
117
- e[b] = h;
118
- return e;
119
- }, j = /* @__PURE__ */ G(X, [["__scopeId", "data-v-d3a1ed01"]]), Y = {
120
- class: "m-pagination",
121
- role: "navigation",
122
- "aria-label": "page navigation"
123
- }, Z = { class: "maz-sr-only" }, _ = { class: "maz-sr-only" }, x = ["id"], ee = { class: "maz-sr-only" }, ae = { class: "maz-sr-only" }, te = { class: "maz-sr-only" }, ne = /* @__PURE__ */ q({
124
- __name: "MazPagination",
125
- props: {
126
- modelValue: { default: 1 },
127
- buttonProps: { default: void 0 },
128
- resultsSize: { default: void 0 },
129
- activeColor: { default: "primary" },
130
- size: { default: "md" },
131
- totalPages: {},
132
- pageRange: { default: 2 },
133
- loading: { type: Boolean }
134
- },
135
- emits: ["update:model-value"],
136
- setup(P, { emit: n }) {
137
- const e = P, b = n, h = A(() => import("./chevron-left-BqVOLRdC.mjs")), N = A(() => import("./chevron-double-left-D4-NpyrF.mjs")), C = A(() => import("./ellipsis-horizontal-6n158ATI.mjs")), S = {
138
- size: "md",
139
- color: "theme",
140
- outline: !0,
141
- noElevation: !0,
142
- fab: !0
143
- }, u = s(() => ({
144
- ...S,
145
- ...e.buttonProps
146
- })), g = s(() => e.modelValue > 1 ? e.modelValue - 1 : 1), z = s(
147
- () => e.modelValue < e.totalPages ? e.modelValue + 1 : e.totalPages
148
- ), I = s(
149
- () => Array.from({ length: e.totalPages }, (t, r) => {
150
- const o = r + 1;
151
- return {
152
- number: o,
153
- isActive: o === e.modelValue,
154
- loading: o === e.modelValue && e.loading
155
- };
156
- })
157
- ), M = s(
158
- () => e.modelValue - e.pageRange > 1 ? I.value.slice(0, 1) : []
159
- ), O = s(
160
- () => e.modelValue < e.totalPages - e.pageRange ? I.value.slice(-1) : []
161
- ), T = s(() => e.modelValue - e.pageRange - 1 < 0 ? 0 : e.modelValue - e.pageRange - 1 > e.totalPages - e.pageRange ? e.totalPages - e.pageRange : e.modelValue - e.pageRange - 1), D = s(
162
- () => e.modelValue + e.pageRange > e.totalPages ? e.totalPages : e.modelValue + e.pageRange < e.pageRange ? e.pageRange : e.modelValue + e.pageRange
163
- ), L = s(() => I.value.slice(T.value, D.value)), U = s(
164
- () => e.modelValue - e.pageRange > 2 ? [{ divider: !0 }] : []
165
- ), p = s(
166
- () => e.modelValue < e.totalPages - e.pageRange - 1 ? [{ divider: !0 }] : []
167
- ), w = s(() => [
168
- ...M.value,
169
- ...U.value,
170
- ...L.value,
171
- ...p.value,
172
- ...O.value
173
- ]);
174
- function a(t) {
175
- t !== e.modelValue && b("update:model-value", t);
176
- }
177
- return (t, r) => (i(), B("nav", Y, [
178
- d("ul", null, [
179
- d("li", null, [
180
- c(j, $(u.value, {
181
- disabled: t.modelValue === 1,
182
- "aria-label": "First Page, Page 1",
183
- "aria-setsize": t.resultsSize ?? void 0,
184
- "aria-posinset": "1",
185
- size: t.size,
186
- onClick: r[0] || (r[0] = (o) => a(1))
187
- }), {
188
- default: V(() => [
189
- d("span", Z, [
190
- l(`
191
- @slot Accessible text for screen reader of the previous page button
192
- @binding {number} page - first page number
193
- `),
194
- f(t.$slots, "first-page-sr", { page: 1 }, () => [
195
- r[4] || (r[4] = k("First Page, page 1"))
196
- ], !0)
197
- ]),
198
- c(v(N))
199
- ]),
200
- _: 3
201
- /* FORWARDED */
202
- }, 16, ["disabled", "aria-setsize", "size"])
203
- ]),
204
- d("li", null, [
205
- c(j, $(u.value, {
206
- disabled: t.modelValue === 1,
207
- "aria-label": `Previous Page, Page ${g.value}`,
208
- "aria-setsize": t.resultsSize ?? void 0,
209
- "aria-posinset": g.value,
210
- size: t.size,
211
- onClick: r[1] || (r[1] = (o) => a(g.value))
212
- }), {
213
- default: V(() => [
214
- d("span", _, [
215
- l(`
216
- @slot Accessible text for screen reader of the first page button
217
- @binding {number} page - previous page number
218
- `),
219
- f(t.$slots, "previous-page-sr", { page: g.value }, () => [
220
- k(
221
- " Previous Page, page " + R(g.value),
222
- 1
223
- /* TEXT */
224
- )
225
- ], !0)
226
- ]),
227
- c(v(h))
228
- ]),
229
- _: 3
230
- /* FORWARDED */
231
- }, 16, ["disabled", "aria-label", "aria-setsize", "aria-posinset", "size"])
232
- ]),
233
- (i(!0), B(
234
- K,
235
- null,
236
- Q(w.value, (o, E) => (i(), B("li", {
237
- id: "number" in o ? `button-${E}-${o.number}` : `ellipsis-${E}`,
238
- key: "number" in o ? `button-${E}-${o.number}` : `ellipsis-${E}`
239
- }, [
240
- "number" in o ? (i(), m(j, $({
241
- key: 0,
242
- ref_for: !0
243
- }, {
244
- ...u.value,
245
- color: o.isActive ? t.activeColor : u.value.color,
246
- outline: o.isActive ? !1 : u.value.outline
247
- }, {
248
- size: t.size,
249
- "aria-label": `Page ${o.number}`,
250
- "aria-current": o.isActive ? "true" : "false",
251
- "aria-setsize": t.resultsSize ?? void 0,
252
- loading: o.loading,
253
- "aria-posinset": o.number,
254
- class: { active: o.isActive },
255
- onClick: (oe) => o.isActive ? void 0 : a(o.number)
256
- }), {
257
- default: V(() => [
258
- d("span", ee, [
259
- l(`
260
- @slot Accessible text for screen reader of the current page button
261
- @binding {number} page - current page number
262
- `),
263
- f(t.$slots, "page-sr", {
264
- page: o.number
265
- }, () => [
266
- k(
267
- "Page " + R(o.number),
268
- 1
269
- /* TEXT */
270
- )
271
- ], !0)
272
- ]),
273
- k(
274
- " " + R(o.number),
275
- 1
276
- /* TEXT */
277
- )
278
- ]),
279
- _: 2
280
- /* DYNAMIC */
281
- }, 1040, ["size", "aria-label", "aria-current", "aria-setsize", "loading", "aria-posinset", "class", "onClick"])) : o.divider ? (i(), B(
282
- "div",
283
- $({
284
- key: 1,
285
- ref_for: !0
286
- }, u.value, { class: "flex p-2 flex-center" }),
287
- [
288
- c(v(C))
289
- ],
290
- 16
291
- /* FULL_PROPS */
292
- )) : l("v-if", !0)
293
- ], 8, x))),
294
- 128
295
- /* KEYED_FRAGMENT */
296
- )),
297
- d("li", null, [
298
- c(j, $(u.value, {
299
- disabled: t.modelValue === t.totalPages,
300
- "aria-label": `Next Page, Page ${z.value}`,
301
- "aria-setsize": t.resultsSize ?? void 0,
302
- "aria-posinset": z.value,
303
- size: t.size,
304
- onClick: r[2] || (r[2] = (o) => a(z.value))
305
- }), {
306
- default: V(() => [
307
- d("span", ae, [
308
- l(`
309
- @slot Accessible text for screen reader of the next page button
310
- @binding {number} page - next page number
311
- `),
312
- f(t.$slots, "next-page-sr", { page: z.value }, () => [
313
- k(
314
- "Next Page, page " + R(z.value),
315
- 1
316
- /* TEXT */
317
- )
318
- ], !0)
319
- ]),
320
- c(v(h), { class: "-maz-rotate-180" })
321
- ]),
322
- _: 3
323
- /* FORWARDED */
324
- }, 16, ["disabled", "aria-label", "aria-setsize", "aria-posinset", "size"])
325
- ]),
326
- d("li", null, [
327
- c(j, $(u.value, {
328
- disabled: t.modelValue === t.totalPages,
329
- "aria-label": `Next Page, Page ${t.totalPages}`,
330
- "aria-setsize": t.resultsSize ?? void 0,
331
- "aria-posinset": t.totalPages,
332
- size: t.size,
333
- onClick: r[3] || (r[3] = (o) => a(t.totalPages))
334
- }), {
335
- default: V(() => [
336
- d("span", te, [
337
- l(`
338
- @slot Accessible text for screen reader of the last page button
339
- @binding {number} page - last page number
340
- `),
341
- f(t.$slots, "last-page-sr", { page: t.totalPages }, () => [
342
- k(
343
- "Last Page, page " + R(t.totalPages),
344
- 1
345
- /* TEXT */
346
- )
347
- ], !0)
348
- ]),
349
- c(v(N), { class: "-maz-rotate-180" })
350
- ]),
351
- _: 3
352
- /* FORWARDED */
353
- }, 16, ["disabled", "aria-label", "aria-setsize", "aria-posinset", "size"])
354
- ])
355
- ])
356
- ]));
357
- }
358
- }), le = /* @__PURE__ */ G(ne, [["__scopeId", "data-v-8b9651c3"]]);
359
- export {
360
- le as M,
361
- G as _
362
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazPhoneNumberInput-Cd25AzXc.mjs";
3
- import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { default: "2em" },
7
- color: { default: "theme" }
8
- },
9
- setup(m) {
10
- return (e, n) => (s(), t("svg", {
11
- width: e.size,
12
- height: e.size,
13
- version: "1.1",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- x: "0px",
16
- y: "0px",
17
- viewBox: "0 0 50 50",
18
- "xml:space": "preserve",
19
- class: r(["m-spinner", `m-spinner--${e.color}`]),
20
- style: { "enable-background": "new 0 0 50 50" }
21
- }, n[0] || (n[0] = [
22
- p(
23
- "path",
24
- { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
25
- null,
26
- -1
27
- /* HOISTED */
28
- )
29
- ]), 10, i));
30
- }
31
- }), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
32
- export {
33
- h as default
34
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazInputPrice-BrxE5WVf.mjs";
3
- import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { default: "2em" },
7
- color: { default: "theme" }
8
- },
9
- setup(m) {
10
- return (e, n) => (s(), t("svg", {
11
- width: e.size,
12
- height: e.size,
13
- version: "1.1",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- x: "0px",
16
- y: "0px",
17
- viewBox: "0 0 50 50",
18
- "xml:space": "preserve",
19
- class: r(["m-spinner", `m-spinner--${e.color}`]),
20
- style: { "enable-background": "new 0 0 50 50" }
21
- }, n[0] || (n[0] = [
22
- p(
23
- "path",
24
- { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
25
- null,
26
- -1
27
- /* HOISTED */
28
- )
29
- ]), 10, i));
30
- }
31
- }), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
32
- export {
33
- h as default
34
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazInputTags-BVCej_gW.mjs";
3
- import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { default: "2em" },
7
- color: { default: "theme" }
8
- },
9
- setup(m) {
10
- return (e, n) => (s(), t("svg", {
11
- width: e.size,
12
- height: e.size,
13
- version: "1.1",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- x: "0px",
16
- y: "0px",
17
- viewBox: "0 0 50 50",
18
- "xml:space": "preserve",
19
- class: r(["m-spinner", `m-spinner--${e.color}`]),
20
- style: { "enable-background": "new 0 0 50 50" }
21
- }, n[0] || (n[0] = [
22
- p(
23
- "path",
24
- { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
25
- null,
26
- -1
27
- /* HOISTED */
28
- )
29
- ]), 10, i));
30
- }
31
- }), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
32
- export {
33
- h as default
34
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazGallery-BknvUeo1.mjs";
3
- import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { default: "2em" },
7
- color: { default: "theme" }
8
- },
9
- setup(m) {
10
- return (e, n) => (s(), t("svg", {
11
- width: e.size,
12
- height: e.size,
13
- version: "1.1",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- x: "0px",
16
- y: "0px",
17
- viewBox: "0 0 50 50",
18
- "xml:space": "preserve",
19
- class: r(["m-spinner", `m-spinner--${e.color}`]),
20
- style: { "enable-background": "new 0 0 50 50" }
21
- }, n[0] || (n[0] = [
22
- p(
23
- "path",
24
- { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
25
- null,
26
- -1
27
- /* HOISTED */
28
- )
29
- ]), 10, i));
30
- }
31
- }), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
32
- export {
33
- h as default
34
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazBottomSheet-DqK0EOsq.mjs";
3
- import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { default: "2em" },
7
- color: { default: "theme" }
8
- },
9
- setup(m) {
10
- return (e, n) => (s(), t("svg", {
11
- width: e.size,
12
- height: e.size,
13
- version: "1.1",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- x: "0px",
16
- y: "0px",
17
- viewBox: "0 0 50 50",
18
- "xml:space": "preserve",
19
- class: r(["m-spinner", `m-spinner--${e.color}`]),
20
- style: { "enable-background": "new 0 0 50 50" }
21
- }, n[0] || (n[0] = [
22
- p(
23
- "path",
24
- { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
25
- null,
26
- -1
27
- /* HOISTED */
28
- )
29
- ]), 10, i));
30
- }
31
- }), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
32
- export {
33
- h as default
34
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazDialogPromise-BCCdkrea.mjs";
3
- import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { default: "2em" },
7
- color: { default: "theme" }
8
- },
9
- setup(m) {
10
- return (e, n) => (s(), t("svg", {
11
- width: e.size,
12
- height: e.size,
13
- version: "1.1",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- x: "0px",
16
- y: "0px",
17
- viewBox: "0 0 50 50",
18
- "xml:space": "preserve",
19
- class: r(["m-spinner", `m-spinner--${e.color}`]),
20
- style: { "enable-background": "new 0 0 50 50" }
21
- }, n[0] || (n[0] = [
22
- p(
23
- "path",
24
- { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
25
- null,
26
- -1
27
- /* HOISTED */
28
- )
29
- ]), 10, i));
30
- }
31
- }), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
32
- export {
33
- h as default
34
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazPicker-C78yxilJ.mjs";
3
- import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { default: "2em" },
7
- color: { default: "theme" }
8
- },
9
- setup(m) {
10
- return (e, n) => (s(), t("svg", {
11
- width: e.size,
12
- height: e.size,
13
- version: "1.1",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- x: "0px",
16
- y: "0px",
17
- viewBox: "0 0 50 50",
18
- "xml:space": "preserve",
19
- class: r(["m-spinner", `m-spinner--${e.color}`]),
20
- style: { "enable-background": "new 0 0 50 50" }
21
- }, n[0] || (n[0] = [
22
- p(
23
- "path",
24
- { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
25
- null,
26
- -1
27
- /* HOISTED */
28
- )
29
- ]), 10, i));
30
- }
31
- }), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
32
- export {
33
- h as default
34
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazTable-Cuz5QI08.mjs";
3
- import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
- __name: "MazSpinner",
5
- props: {
6
- size: { default: "2em" },
7
- color: { default: "theme" }
8
- },
9
- setup(m) {
10
- return (e, n) => (s(), t("svg", {
11
- width: e.size,
12
- height: e.size,
13
- version: "1.1",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- x: "0px",
16
- y: "0px",
17
- viewBox: "0 0 50 50",
18
- "xml:space": "preserve",
19
- class: r(["m-spinner", `m-spinner--${e.color}`]),
20
- style: { "enable-background": "new 0 0 50 50" }
21
- }, n[0] || (n[0] = [
22
- p(
23
- "path",
24
- { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
25
- null,
26
- -1
27
- /* HOISTED */
28
- )
29
- ]), 10, i));
30
- }
31
- }), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
32
- export {
33
- h as default
34
- };