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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/components/MazAccordion.d.ts +1 -1
  2. package/components/MazBottomSheet.mjs +1 -1
  3. package/components/MazBtn.d.ts +5 -4
  4. package/components/MazBtn.mjs +1 -1
  5. package/components/MazCard.mjs +1 -1
  6. package/components/MazCardSpotlight.d.ts +1 -1
  7. package/components/MazCarousel.mjs +1 -1
  8. package/components/MazCheckbox.mjs +61 -61
  9. package/components/MazDialog.mjs +1 -1
  10. package/components/MazDialogPromise.mjs +1 -1
  11. package/components/MazDrawer.mjs +1 -1
  12. package/components/MazDropdown.d.ts +4 -0
  13. package/components/MazDropdown.mjs +98 -93
  14. package/components/MazIcon.mjs +55 -67
  15. package/components/MazInput.mjs +1 -1
  16. package/components/MazInputNumber.mjs +1 -1
  17. package/components/MazInputPrice.mjs +1 -1
  18. package/components/MazInputTags.mjs +1 -1
  19. package/components/MazLink.mjs +1 -1
  20. package/components/MazPagination.mjs +1 -1
  21. package/components/MazPhoneNumberInput.mjs +1 -1
  22. package/components/MazPicker.mjs +1 -1
  23. package/components/MazPullToRefresh.d.ts +2 -2
  24. package/components/MazSelect.mjs +1 -1
  25. package/components/MazStepper.mjs +1 -1
  26. package/components/MazSwitch.mjs +33 -33
  27. package/components/MazTable.d.ts +33 -4
  28. package/components/MazTable.mjs +1 -1
  29. package/components/assets/MazBtn.css +1 -1
  30. package/components/assets/MazCheckbox.css +1 -1
  31. package/components/assets/MazDropdown.css +1 -1
  32. package/components/assets/MazInputNumber.css +1 -1
  33. package/components/assets/MazInputTags.css +1 -1
  34. package/components/assets/MazPagination.css +1 -1
  35. package/components/assets/MazPicker.css +1 -1
  36. package/components/assets/MazSelect.css +1 -1
  37. package/components/assets/MazSwitch.css +1 -1
  38. package/components/assets/MazTable.css +1 -1
  39. package/components/chunks/{MazBottomSheet-DQTlEDlz.mjs → MazBottomSheet-DeAah_or.mjs} +1 -1
  40. package/components/chunks/MazBtn-BV212IYv.mjs +118 -0
  41. package/components/chunks/MazBtn-BXvObcWn.mjs +118 -0
  42. package/components/chunks/MazBtn-C2dJYsnq.mjs +118 -0
  43. package/components/chunks/MazBtn-C2htID_X.mjs +118 -0
  44. package/components/chunks/MazBtn-C4xZC-A2.mjs +118 -0
  45. package/components/chunks/MazBtn-C5IbN0rp.mjs +123 -0
  46. package/components/chunks/MazBtn-CEFfMm7k.mjs +118 -0
  47. package/components/chunks/MazBtn-CESOVC-a.mjs +118 -0
  48. package/components/chunks/MazBtn-CLFly8Ie.mjs +118 -0
  49. package/components/chunks/MazBtn-CRpqDW12.mjs +118 -0
  50. package/components/chunks/MazBtn-D2H26ExI.mjs +118 -0
  51. package/components/chunks/MazBtn-y4vRRWDg.mjs +118 -0
  52. package/components/chunks/MazBtn-zMzxqcCs.mjs +126 -0
  53. package/components/chunks/{MazCard-BapktHxt.mjs → MazCard-BF-2_gZV.mjs} +1 -1
  54. package/components/chunks/{MazCarousel-DYdWCLk7.mjs → MazCarousel-DVBUt8NL.mjs} +1 -1
  55. package/components/chunks/{MazCheckbox-m1322Y67.mjs → MazCheckbox-CEfJco3U.mjs} +32 -32
  56. package/components/chunks/MazCheckbox-CeVxgVY8.mjs +146 -0
  57. package/components/chunks/{MazCheckbox-DOYkVPMK.mjs → MazCheckbox-mgtQBs4K.mjs} +32 -32
  58. package/components/chunks/{MazDialog-DbEp5ZrT.mjs → MazDialog-fn7vXgBg.mjs} +1 -1
  59. package/components/chunks/{MazDialogPromise-B2WdAwbv.mjs → MazDialogPromise-C8dpQb5k.mjs} +2 -2
  60. package/components/chunks/{MazExpandAnimation-BFyvL-vh.mjs → MazExpandAnimation-Bkw_wFTi.mjs} +1 -1
  61. package/components/chunks/{MazGallery-HtChfMa_.mjs → MazGallery-CXJsK5ve.mjs} +2 -2
  62. package/components/chunks/MazIcon-BXX3RaoN.mjs +101 -0
  63. package/components/chunks/MazIcon-BbvBov5G.mjs +106 -0
  64. package/components/chunks/MazIcon-DjMuw8Bz.mjs +101 -0
  65. package/components/chunks/MazInput-AcA93-8Q.mjs +291 -0
  66. package/components/chunks/{MazInput-fbdOvhry.mjs → MazInput-Dnwxraz4.mjs} +1 -1
  67. package/components/chunks/MazInputNumber-OY_UqCMs.mjs +593 -0
  68. package/components/chunks/{MazInputPrice-Y6lalrWq.mjs → MazInputPrice-DvVAZa12.mjs} +1 -1
  69. package/components/chunks/{MazInputTags-DVYW4SbE.mjs → MazInputTags-DKlGT2IB.mjs} +205 -240
  70. package/components/chunks/{MazLink-HJI1YmdA.mjs → MazLink-Dl9ePCGm.mjs} +1 -1
  71. package/components/chunks/MazLoadingBar-By1umvdC.mjs +32 -0
  72. package/components/chunks/MazPagination-BL9LU84U.mjs +362 -0
  73. package/components/chunks/{MazPhoneNumberInput-BbeofPj5.mjs → MazPhoneNumberInput-C7gUk5lg.mjs} +3 -3
  74. package/components/chunks/{MazPicker-BPH4sy2Q.mjs → MazPicker-Dhm3u2MN.mjs} +620 -652
  75. package/components/chunks/{MazPickerMonthSwitcher-Ca4BqrF-.mjs → MazPickerMonthSwitcher-ck8cl1-N.mjs} +1 -1
  76. package/components/chunks/{MazPickerShortcuts-Bs2RMdC_.mjs → MazPickerShortcuts-hEpUqVC-.mjs} +1 -1
  77. package/components/chunks/{MazPickerYearSwitcher-Bg_0ecwk.mjs → MazPickerYearSwitcher-CmMxOc69.mjs} +1 -1
  78. package/components/chunks/MazSelect-CGsMRdr7.mjs +568 -0
  79. package/components/chunks/{MazSelect-CUo_OXDp.mjs → MazSelect-ed445MXs.mjs} +2 -2
  80. package/components/chunks/{MazSpinner-BAHWcgal.mjs → MazSpinner-Akyx5wgU.mjs} +1 -1
  81. package/components/chunks/MazSpinner-B2dsE23u.mjs +37 -0
  82. package/components/chunks/{MazSpinner-D9K-TsT7.mjs → MazSpinner-BCOeuzTB.mjs} +1 -1
  83. package/components/chunks/MazSpinner-BakExtKd.mjs +37 -0
  84. package/components/chunks/{MazSpinner-Cl4Yy1dv.mjs → MazSpinner-C9meLNrb.mjs} +1 -1
  85. package/components/chunks/{MazSpinner-CShEq13p.mjs → MazSpinner-CKOy0M1T.mjs} +1 -1
  86. package/components/chunks/MazSpinner-CL6orjX7.mjs +37 -0
  87. package/components/chunks/{MazSpinner-2KA4ECS_.mjs → MazSpinner-CQTq0J6f.mjs} +1 -1
  88. package/components/chunks/{MazSpinner-BLp7sE5i.mjs → MazSpinner-CeZk8jA9.mjs} +1 -1
  89. package/components/chunks/MazSpinner-CqS3onAE.mjs +37 -0
  90. package/components/chunks/{MazSpinner-AyzqowuD.mjs → MazSpinner-D1zj-581.mjs} +1 -1
  91. package/components/chunks/MazSpinner-DJ2t85tY.mjs +37 -0
  92. package/components/chunks/{MazSpinner-BhFMGOGc.mjs → MazSpinner-DbaTlD5B.mjs} +1 -1
  93. package/components/chunks/MazSpinner-DgJ9tVv_.mjs +37 -0
  94. package/components/chunks/{MazSpinner-CLfp6QHS.mjs → MazSpinner-DoKvoICM.mjs} +1 -1
  95. package/components/chunks/MazSpinner-Oy4E193R.mjs +37 -0
  96. package/components/chunks/{MazStepper-BmCk5RfP.mjs → MazStepper-DRWtYHZR.mjs} +1 -1
  97. package/components/chunks/MazTable-QwG-Kh88.mjs +692 -0
  98. package/components/chunks/MazTableCell-BSNyqTSX.mjs +23 -0
  99. package/components/chunks/MazTableRow-CgubMdrX.mjs +30 -0
  100. package/components/chunks/MazTableTitle-h4dattYD.mjs +23 -0
  101. package/components/chunks/{MazTransitionExpand-D9pcEmUk.mjs → MazTransitionExpand-BvqRDM9d.mjs} +1 -1
  102. package/components/chunks/arrow-up-DjSlktWl.mjs +30 -0
  103. package/components/chunks/inject-strict-BmiaNiwC.mjs +10 -0
  104. package/components/chunks/useInstanceUniqId-DW9jO1Sz.mjs +11 -0
  105. package/css/main.css +1 -1
  106. package/modules/assets/MazBtn.css +1 -1
  107. package/modules/chunks/MazBtn-DeAZcD0R.cjs +9 -0
  108. package/modules/chunks/MazBtn-DvffpPyV.mjs +118 -0
  109. package/modules/chunks/MazIcon-BiwOZEZl.cjs +1 -0
  110. package/modules/chunks/MazIcon-D2B0umvn.mjs +101 -0
  111. package/modules/chunks/{MazSpinner-zX9CPyJB.cjs → MazSpinner-CZIYnX05.cjs} +1 -1
  112. package/modules/chunks/{MazSpinner-g6fliUmS.mjs → MazSpinner-Csgl_Uho.mjs} +1 -1
  113. package/modules/chunks/index-B6Pf_QhC.cjs +149 -0
  114. package/modules/chunks/{index-Bpj_Jr6I.mjs → index-C34aEXzu.mjs} +319 -314
  115. package/modules/index.cjs +1 -1
  116. package/modules/index.mjs +1 -1
  117. package/nuxt/index.json +1 -1
  118. package/package.json +1 -1
  119. package/types/components/MazAccordion.vue.d.ts +1 -1
  120. package/types/components/MazBtn.vue.d.ts +5 -4
  121. package/types/components/MazCardSpotlight.vue.d.ts +1 -1
  122. package/types/components/MazDropdown.vue.d.ts +4 -0
  123. package/types/components/MazPullToRefresh.vue.d.ts +2 -2
  124. package/types/components/MazTable.vue.d.ts +33 -4
  125. package/components/chunks/MazBtn-B2A4nNWi.mjs +0 -150
  126. package/components/chunks/MazBtn-BTxqbijR.mjs +0 -158
  127. package/components/chunks/MazBtn-BYAmxCNV.mjs +0 -150
  128. package/components/chunks/MazBtn-BkBaNYfi.mjs +0 -150
  129. package/components/chunks/MazBtn-BkT-9nbu.mjs +0 -150
  130. package/components/chunks/MazBtn-C6b9OPzf.mjs +0 -150
  131. package/components/chunks/MazBtn-CAioWjHE.mjs +0 -150
  132. package/components/chunks/MazBtn-CTDhJ_fQ.mjs +0 -155
  133. package/components/chunks/MazBtn-CofOhh-q.mjs +0 -150
  134. package/components/chunks/MazBtn-CwkvhgML.mjs +0 -150
  135. package/components/chunks/MazBtn-DHFCbHI5.mjs +0 -150
  136. package/components/chunks/MazBtn-DgmsRNq_.mjs +0 -150
  137. package/components/chunks/MazIcon-BDGxCy9M.mjs +0 -118
  138. package/components/chunks/MazIcon-YNJa-F5Z.mjs +0 -113
  139. package/components/chunks/MazIcon-wDqK0Xre.mjs +0 -113
  140. package/components/chunks/MazInputNumber-mu9wEfTT.mjs +0 -625
  141. package/components/chunks/MazPagination-BOUDMaJO.mjs +0 -394
  142. package/components/chunks/MazSpinner-C91Lm_Xp.mjs +0 -37
  143. package/components/chunks/MazSpinner-CCIMQLA1.mjs +0 -37
  144. package/components/chunks/MazSpinner-Ch7Qhq1M.mjs +0 -37
  145. package/components/chunks/MazSpinner-D7CMPaDb.mjs +0 -37
  146. package/components/chunks/MazSpinner-D8uk4SQh.mjs +0 -37
  147. package/components/chunks/MazSpinner-JgB1pud8.mjs +0 -37
  148. package/components/chunks/MazSpinner-mCkWhiVE.mjs +0 -37
  149. package/components/chunks/MazTable-CPfwUOOM.mjs +0 -2003
  150. package/modules/chunks/MazBtn-B5URGSZl.cjs +0 -9
  151. package/modules/chunks/MazBtn-DRuL8cjg.mjs +0 -150
  152. package/modules/chunks/MazIcon-BskR2yy9.cjs +0 -1
  153. package/modules/chunks/MazIcon-CKc-vAA8.mjs +0 -113
  154. package/modules/chunks/index-BLdtEKD5.cjs +0 -149
@@ -1,394 +0,0 @@
1
- import { defineComponent as q, defineAsyncComponent as N, useAttrs as H, useSlots as J, onBeforeMount as K, computed as t, openBlock as i, createBlock as p, resolveDynamicComponent as D, normalizeClass as S, withCtx as V, createElementBlock as b, createCommentVNode as s, renderSlot as c, unref as m, createElementVNode as d, createVNode as v, mergeProps as $, createTextVNode as k, toDisplayString as A, Fragment as Q, renderList as W } from "vue";
2
- import '../assets/MazPagination.css';const X = /* @__PURE__ */ q({
3
- __name: "MazBtn",
4
- props: {
5
- variant: { default: "button" },
6
- size: { default: "md" },
7
- color: { default: "primary" },
8
- type: { default: "button" },
9
- rounded: { type: Boolean },
10
- roundedSize: { default: "lg" },
11
- noRounded: { type: Boolean },
12
- outline: { type: Boolean },
13
- pastel: { type: Boolean },
14
- block: { type: Boolean },
15
- noUnderline: { type: Boolean },
16
- loading: { type: Boolean },
17
- disabled: { type: Boolean },
18
- fab: { type: Boolean },
19
- icon: { type: [String, Function, Object], default: void 0 },
20
- leftIcon: { type: [String, Function, Object], default: void 0 },
21
- rightIcon: { type: [String, Function, Object], default: void 0 },
22
- noPadding: { type: Boolean },
23
- noElevation: { type: Boolean },
24
- contentClass: { default: void 0 }
25
- },
26
- setup(P) {
27
- const l = P, e = N(() => import("./MazSpinner-CCIMQLA1.mjs")), f = N(() => import("./MazIcon-BDGxCy9M.mjs")), { href: h, to: T } = H(), C = J();
28
- K(() => {
29
- l.icon && !l.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
30
- });
31
- const B = t(() => h ? "a" : T ? "router-link" : "button"), u = t(
32
- () => l.pastel ? `--${l.color}-pastel` : l.outline ? `--${l.color}-outline` : `--${l.color}`
33
- ), g = t(
34
- () => (l.loading || l.disabled) && B.value === "button"
35
- ), z = t(() => g.value ? "--cursor-default" : "--cursor-pointer"), I = t(() => `--is-${l.variant}`), y = t(() => l.loading && l.variant === "button"), E = t(() => !!C["left-icon"] || l.leftIcon), F = t(() => !!C["right-icon"] || l.rightIcon), L = t(() => E.value || F.value), U = t(() => l.fab && (l.icon || !!C.icon)), j = t(() => B.value === "button" ? l.type : void 0);
36
- return (a, w) => (i(), p(D(B.value), {
37
- disabled: g.value || void 0,
38
- class: S(["m-btn", [
39
- `--${a.size}`,
40
- !a.fab && !a.rounded && a.roundedSize && `--rounded-${a.roundedSize}`,
41
- u.value,
42
- z.value,
43
- I.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": L.value,
51
- "--rounded": a.rounded,
52
- "--no-rounded": a.noRounded,
53
- "--no-padding": a.noPadding,
54
- "--no-elevation": a.noElevation
55
- }
56
- ]]),
57
- type: j.value
58
- }, {
59
- default: V(() => [
60
- E.value ? (i(), b(
61
- "div",
62
- {
63
- key: 0,
64
- class: S(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": y.value }])
65
- },
66
- [
67
- s(`
68
- @slot left-icon - The icon to display on the left of the button
69
- `),
70
- c(a.$slots, "left-icon", {}, () => [
71
- typeof a.leftIcon == "string" ? (i(), p(m(f), {
72
- key: 0,
73
- name: a.leftIcon
74
- }, null, 8, ["name"])) : a.leftIcon ? (i(), p(D(a.leftIcon), { key: 1 })) : s("v-if", !0)
75
- ], !0)
76
- ],
77
- 2
78
- /* CLASS */
79
- )) : s("v-if", !0),
80
- U.value ? (i(), b(
81
- "div",
82
- {
83
- key: 1,
84
- class: S(["m-btn__icon", { "maz-invisible": y.value }])
85
- },
86
- [
87
- s(`
88
- @slot icon - The icon to display on the fab button
89
- `),
90
- c(a.$slots, "icon", {}, () => [
91
- typeof a.icon == "string" ? (i(), p(m(f), {
92
- key: 0,
93
- name: a.icon
94
- }, null, 8, ["name"])) : a.icon ? (i(), p(D(a.icon), { key: 1 })) : s("v-if", !0)
95
- ], !0)
96
- ],
97
- 2
98
- /* CLASS */
99
- )) : s("v-if", !0),
100
- a.$slots.default ? (i(), b(
101
- "span",
102
- {
103
- key: 2,
104
- class: S([{ "maz-invisible": y.value }, a.contentClass])
105
- },
106
- [
107
- s(`
108
- @slot default - The content of the button
109
- `),
110
- c(a.$slots, "default", {}, void 0, !0)
111
- ],
112
- 2
113
- /* CLASS */
114
- )) : s("v-if", !0),
115
- F.value ? (i(), b(
116
- "div",
117
- {
118
- key: 3,
119
- class: S(["m-btn__icon-right", { "maz-invisible": y.value }])
120
- },
121
- [
122
- s(`
123
- @slot right-icon - The icon to display on the right of the button
124
- `),
125
- c(a.$slots, "right-icon", {}, () => [
126
- typeof a.rightIcon == "string" ? (i(), p(m(f), {
127
- key: 0,
128
- name: a.rightIcon
129
- }, null, 8, ["name"])) : a.rightIcon ? (i(), p(D(a.rightIcon), { key: 1 })) : s("v-if", !0)
130
- ], !0)
131
- ],
132
- 2
133
- /* CLASS */
134
- )) : s("v-if", !0),
135
- y.value ? (i(), p(m(e), {
136
- key: 4,
137
- class: "m-btn-loader",
138
- size: "2em",
139
- color: a.color
140
- }, null, 8, ["color"])) : s("v-if", !0)
141
- ]),
142
- _: 3
143
- /* FORWARDED */
144
- }, 8, ["disabled", "class", "type"]));
145
- }
146
- }), G = (P, l) => {
147
- const e = P.__vccOpts || P;
148
- for (const [f, h] of l)
149
- e[f] = h;
150
- return e;
151
- }, M = /* @__PURE__ */ G(X, [["__scopeId", "data-v-9e61f4b3"]]), Y = {
152
- class: "m-pagination",
153
- role: "navigation",
154
- "aria-label": "page navigation"
155
- }, Z = { class: "maz-sr-only" }, _ = { class: "maz-sr-only" }, x = ["id"], ee = { class: "maz-sr-only" }, ae = { class: "maz-sr-only" }, oe = { class: "maz-sr-only" }, ne = /* @__PURE__ */ q({
156
- __name: "MazPagination",
157
- props: {
158
- modelValue: { default: 1 },
159
- buttonProps: { default: void 0 },
160
- resultsSize: { default: void 0 },
161
- activeColor: { default: "primary" },
162
- size: { default: "md" },
163
- totalPages: {},
164
- pageRange: { default: 2 },
165
- loading: { type: Boolean }
166
- },
167
- emits: ["update:model-value"],
168
- setup(P, { emit: l }) {
169
- const e = P, f = l, h = N(() => import("./chevron-left-BqVOLRdC.mjs")), T = N(() => import("./chevron-double-left-D4-NpyrF.mjs")), C = N(() => import("./ellipsis-horizontal-6n158ATI.mjs")), B = {
170
- size: "md",
171
- color: "theme",
172
- outline: !0,
173
- noElevation: !0,
174
- fab: !0
175
- }, u = t(() => ({
176
- ...B,
177
- ...e.buttonProps
178
- })), g = t(() => e.modelValue > 1 ? e.modelValue - 1 : 1), z = t(
179
- () => e.modelValue < e.totalPages ? e.modelValue + 1 : e.totalPages
180
- ), I = t(
181
- () => Array.from({ length: e.totalPages }, (o, r) => {
182
- const n = r + 1;
183
- return {
184
- number: n,
185
- isActive: n === e.modelValue,
186
- loading: n === e.modelValue && e.loading
187
- };
188
- })
189
- ), y = t(
190
- () => e.modelValue - e.pageRange > 1 ? I.value.slice(0, 1) : []
191
- ), E = t(
192
- () => e.modelValue < e.totalPages - e.pageRange ? I.value.slice(-1) : []
193
- ), F = t(() => 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), L = t(
194
- () => e.modelValue + e.pageRange > e.totalPages ? e.totalPages : e.modelValue + e.pageRange < e.pageRange ? e.pageRange : e.modelValue + e.pageRange
195
- ), U = t(() => I.value.slice(F.value, L.value)), j = t(
196
- () => e.modelValue - e.pageRange > 2 ? [{ divider: !0 }] : []
197
- ), a = t(
198
- () => e.modelValue < e.totalPages - e.pageRange - 1 ? [{ divider: !0 }] : []
199
- ), w = t(() => [
200
- ...y.value,
201
- ...j.value,
202
- ...U.value,
203
- ...a.value,
204
- ...E.value
205
- ]);
206
- function R(o) {
207
- o !== e.modelValue && f("update:model-value", o);
208
- }
209
- return (o, r) => (i(), b("nav", Y, [
210
- d("ul", null, [
211
- d("li", null, [
212
- v(M, $(u.value, {
213
- disabled: o.modelValue === 1,
214
- "aria-label": "First Page, Page 1",
215
- "aria-setsize": o.resultsSize ?? void 0,
216
- "aria-posinset": "1",
217
- size: o.size,
218
- onClick: r[0] || (r[0] = (n) => R(1))
219
- }), {
220
- default: V(() => [
221
- d("span", Z, [
222
- s(`
223
- @slot Accessible text for screen reader of the previous page button
224
- @binding {number} page - first page number
225
- `),
226
- c(o.$slots, "first-page-sr", { page: 1 }, () => [
227
- r[4] || (r[4] = k("First Page, page 1"))
228
- ], !0)
229
- ]),
230
- v(m(T))
231
- ]),
232
- _: 3
233
- /* FORWARDED */
234
- }, 16, ["disabled", "aria-setsize", "size"])
235
- ]),
236
- d("li", null, [
237
- v(M, $(u.value, {
238
- disabled: o.modelValue === 1,
239
- "aria-label": `Previous Page, Page ${g.value}`,
240
- "aria-setsize": o.resultsSize ?? void 0,
241
- "aria-posinset": g.value,
242
- size: o.size,
243
- onClick: r[1] || (r[1] = (n) => R(g.value))
244
- }), {
245
- default: V(() => [
246
- d("span", _, [
247
- s(`
248
- @slot Accessible text for screen reader of the first page button
249
- @binding {number} page - previous page number
250
- `),
251
- c(o.$slots, "previous-page-sr", { page: g.value }, () => [
252
- k(
253
- " Previous Page, page " + A(g.value),
254
- 1
255
- /* TEXT */
256
- )
257
- ], !0)
258
- ]),
259
- v(m(h))
260
- ]),
261
- _: 3
262
- /* FORWARDED */
263
- }, 16, ["disabled", "aria-label", "aria-setsize", "aria-posinset", "size"])
264
- ]),
265
- (i(!0), b(
266
- Q,
267
- null,
268
- W(w.value, (n, O) => (i(), b("li", {
269
- id: "number" in n ? `button-${O}-${n.number}` : `ellipsis-${O}`,
270
- key: "number" in n ? `button-${O}-${n.number}` : `ellipsis-${O}`
271
- }, [
272
- "number" in n ? (i(), p(M, $({
273
- key: 0,
274
- ref_for: !0
275
- }, {
276
- ...u.value,
277
- color: n.isActive ? o.activeColor : u.value.color,
278
- outline: n.isActive ? !1 : u.value.outline
279
- }, {
280
- size: o.size,
281
- "aria-label": `Page ${n.number}`,
282
- "aria-current": n.isActive ? "true" : "false",
283
- "aria-setsize": o.resultsSize ?? void 0,
284
- loading: n.loading,
285
- "aria-posinset": n.number,
286
- class: { active: n.isActive },
287
- onClick: (te) => n.isActive ? void 0 : R(n.number)
288
- }), {
289
- default: V(() => [
290
- d("span", ee, [
291
- s(`
292
- @slot Accessible text for screen reader of the current page button
293
- @binding {number} page - current page number
294
- `),
295
- c(o.$slots, "page-sr", {
296
- page: n.number
297
- }, () => [
298
- k(
299
- "Page " + A(n.number),
300
- 1
301
- /* TEXT */
302
- )
303
- ], !0)
304
- ]),
305
- k(
306
- " " + A(n.number),
307
- 1
308
- /* TEXT */
309
- )
310
- ]),
311
- _: 2
312
- /* DYNAMIC */
313
- }, 1040, ["size", "aria-label", "aria-current", "aria-setsize", "loading", "aria-posinset", "class", "onClick"])) : n.divider ? (i(), b(
314
- "div",
315
- $({
316
- key: 1,
317
- ref_for: !0
318
- }, u.value, { class: "flex p-2 flex-center" }),
319
- [
320
- v(m(C))
321
- ],
322
- 16
323
- /* FULL_PROPS */
324
- )) : s("v-if", !0)
325
- ], 8, x))),
326
- 128
327
- /* KEYED_FRAGMENT */
328
- )),
329
- d("li", null, [
330
- v(M, $(u.value, {
331
- disabled: o.modelValue === o.totalPages,
332
- "aria-label": `Next Page, Page ${z.value}`,
333
- "aria-setsize": o.resultsSize ?? void 0,
334
- "aria-posinset": z.value,
335
- size: o.size,
336
- onClick: r[2] || (r[2] = (n) => R(z.value))
337
- }), {
338
- default: V(() => [
339
- d("span", ae, [
340
- s(`
341
- @slot Accessible text for screen reader of the next page button
342
- @binding {number} page - next page number
343
- `),
344
- c(o.$slots, "next-page-sr", { page: z.value }, () => [
345
- k(
346
- "Next Page, page " + A(z.value),
347
- 1
348
- /* TEXT */
349
- )
350
- ], !0)
351
- ]),
352
- v(m(h), { class: "-maz-rotate-180" })
353
- ]),
354
- _: 3
355
- /* FORWARDED */
356
- }, 16, ["disabled", "aria-label", "aria-setsize", "aria-posinset", "size"])
357
- ]),
358
- d("li", null, [
359
- v(M, $(u.value, {
360
- disabled: o.modelValue === o.totalPages,
361
- "aria-label": `Next Page, Page ${o.totalPages}`,
362
- "aria-setsize": o.resultsSize ?? void 0,
363
- "aria-posinset": o.totalPages,
364
- size: o.size,
365
- onClick: r[3] || (r[3] = (n) => R(o.totalPages))
366
- }), {
367
- default: V(() => [
368
- d("span", oe, [
369
- s(`
370
- @slot Accessible text for screen reader of the last page button
371
- @binding {number} page - last page number
372
- `),
373
- c(o.$slots, "last-page-sr", { page: o.totalPages }, () => [
374
- k(
375
- "Last Page, page " + A(o.totalPages),
376
- 1
377
- /* TEXT */
378
- )
379
- ], !0)
380
- ]),
381
- v(m(T), { class: "-maz-rotate-180" })
382
- ]),
383
- _: 3
384
- /* FORWARDED */
385
- }, 16, ["disabled", "aria-label", "aria-setsize", "aria-posinset", "size"])
386
- ])
387
- ])
388
- ]));
389
- }
390
- }), se = /* @__PURE__ */ G(ne, [["__scopeId", "data-v-8b9651c3"]]);
391
- export {
392
- se as M,
393
- G as _
394
- };
@@ -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 "./MazDialogPromise-B2WdAwbv.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 "./MazPagination-BOUDMaJO.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 "./MazSelect-CUo_OXDp.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 "./MazInputPrice-Y6lalrWq.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-DQTlEDlz.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-DYdWCLk7.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 "./MazPhoneNumberInput-BbeofPj5.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
- };