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

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 (138) hide show
  1. package/components/MazAccordion.d.ts +1 -1
  2. package/components/MazBottomSheet.mjs +1 -1
  3. package/components/MazBtn.d.ts +0 -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/MazSelect.mjs +1 -1
  24. package/components/MazStepper.mjs +1 -1
  25. package/components/MazSwitch.mjs +33 -33
  26. package/components/MazTable.d.ts +32 -3
  27. package/components/MazTable.mjs +1 -1
  28. package/components/assets/MazBtn.css +1 -1
  29. package/components/assets/MazCheckbox.css +1 -1
  30. package/components/assets/MazDropdown.css +1 -1
  31. package/components/assets/MazInputNumber.css +1 -1
  32. package/components/assets/MazInputTags.css +1 -1
  33. package/components/assets/MazPagination.css +1 -1
  34. package/components/assets/MazPicker.css +1 -1
  35. package/components/assets/MazSwitch.css +1 -1
  36. package/components/assets/MazTable.css +1 -1
  37. package/components/chunks/{MazBottomSheet-DQTlEDlz.mjs → MazBottomSheet-s9lLaK1M.mjs} +1 -1
  38. package/components/chunks/MazBtn-BMmuCciQ.mjs +116 -0
  39. package/components/chunks/MazBtn-BXdap6JU.mjs +116 -0
  40. package/components/chunks/MazBtn-CHABo63Y.mjs +116 -0
  41. package/components/chunks/MazBtn-CVB5qDjV.mjs +121 -0
  42. package/components/chunks/MazBtn-CXxOU7fp.mjs +116 -0
  43. package/components/chunks/MazBtn-CZSXnr3w.mjs +116 -0
  44. package/components/chunks/MazBtn-CwYBz6QO.mjs +116 -0
  45. package/components/chunks/MazBtn-DIE2eM-g.mjs +116 -0
  46. package/components/chunks/MazBtn-DKD-ZMaF.mjs +116 -0
  47. package/components/chunks/MazBtn-DarjZUV4.mjs +124 -0
  48. package/components/chunks/MazBtn-OKT5-Y4s.mjs +116 -0
  49. package/components/chunks/MazBtn-e3abHT2L.mjs +116 -0
  50. package/components/chunks/{MazCard-BapktHxt.mjs → MazCard-BaJ5Ee3I.mjs} +1 -1
  51. package/components/chunks/{MazCarousel-DYdWCLk7.mjs → MazCarousel-Bb4fpVqN.mjs} +1 -1
  52. package/components/chunks/{MazCheckbox-DOYkVPMK.mjs → MazCheckbox-8n6NtRBb.mjs} +32 -32
  53. package/components/chunks/{MazCheckbox-m1322Y67.mjs → MazCheckbox-C4diNXJq.mjs} +32 -32
  54. package/components/chunks/{MazDialog-DbEp5ZrT.mjs → MazDialog-Bv2PzQBz.mjs} +1 -1
  55. package/components/chunks/{MazDialogPromise-B2WdAwbv.mjs → MazDialogPromise-BZLP9sXZ.mjs} +2 -2
  56. package/components/chunks/{MazExpandAnimation-BFyvL-vh.mjs → MazExpandAnimation-Bkw_wFTi.mjs} +1 -1
  57. package/components/chunks/{MazGallery-HtChfMa_.mjs → MazGallery-C9secrXc.mjs} +2 -2
  58. package/components/chunks/MazIcon-BaJm2s8_.mjs +101 -0
  59. package/components/chunks/MazIcon-BbvBov5G.mjs +106 -0
  60. package/components/chunks/MazIcon-CudB1a0D.mjs +101 -0
  61. package/components/chunks/{MazInput-fbdOvhry.mjs → MazInput-B3RzuuNv.mjs} +1 -1
  62. package/components/chunks/{MazInputNumber-mu9wEfTT.mjs → MazInputNumber-mLgq5obR.mjs} +198 -232
  63. package/components/chunks/{MazInputPrice-Y6lalrWq.mjs → MazInputPrice-DhYRBqTS.mjs} +1 -1
  64. package/components/chunks/{MazInputTags-DVYW4SbE.mjs → MazInputTags-DinwbXaD.mjs} +201 -238
  65. package/components/chunks/{MazLink-HJI1YmdA.mjs → MazLink-Dl9ePCGm.mjs} +1 -1
  66. package/components/chunks/MazPagination-Cqnr19iI.mjs +360 -0
  67. package/components/chunks/{MazPhoneNumberInput-BbeofPj5.mjs → MazPhoneNumberInput-C3GdtqN2.mjs} +3 -3
  68. package/components/chunks/{MazPicker-BPH4sy2Q.mjs → MazPicker-DA92HhwS.mjs} +541 -575
  69. package/components/chunks/{MazPickerMonthSwitcher-Ca4BqrF-.mjs → MazPickerMonthSwitcher-CPWkw0Hq.mjs} +1 -1
  70. package/components/chunks/{MazPickerShortcuts-Bs2RMdC_.mjs → MazPickerShortcuts-Fwcoqg5M.mjs} +1 -1
  71. package/components/chunks/{MazPickerYearSwitcher-Bg_0ecwk.mjs → MazPickerYearSwitcher-DfSXPGfT.mjs} +1 -1
  72. package/components/chunks/{MazSelect-CUo_OXDp.mjs → MazSelect-DPTuyc26.mjs} +2 -2
  73. package/components/chunks/MazSpinner-B-mc1FWS.mjs +37 -0
  74. package/components/chunks/{MazSpinner-Cl4Yy1dv.mjs → MazSpinner-BCHAzmqS.mjs} +1 -1
  75. package/components/chunks/{MazSpinner-BAHWcgal.mjs → MazSpinner-BCQzF6j-.mjs} +1 -1
  76. package/components/chunks/{MazSpinner-BLp7sE5i.mjs → MazSpinner-BEqvmPiV.mjs} +1 -1
  77. package/components/chunks/MazSpinner-BoG1T_ZX.mjs +37 -0
  78. package/components/chunks/MazSpinner-BpjK60ul.mjs +37 -0
  79. package/components/chunks/{MazSpinner-CShEq13p.mjs → MazSpinner-C2ok6AlJ.mjs} +1 -1
  80. package/components/chunks/{MazSpinner-CLfp6QHS.mjs → MazSpinner-CFJmcsGl.mjs} +1 -1
  81. package/components/chunks/{MazSpinner-D9K-TsT7.mjs → MazSpinner-CVBz5HIx.mjs} +1 -1
  82. package/components/chunks/{MazSpinner-BhFMGOGc.mjs → MazSpinner-DEdQlQr1.mjs} +1 -1
  83. package/components/chunks/{MazSpinner-AyzqowuD.mjs → MazSpinner-DhHVVBJE.mjs} +1 -1
  84. package/components/chunks/MazSpinner-DuGaC-cw.mjs +37 -0
  85. package/components/chunks/MazSpinner-Iwon82He.mjs +37 -0
  86. package/components/chunks/MazSpinner-JbfjMNFL.mjs +37 -0
  87. package/components/chunks/{MazSpinner-2KA4ECS_.mjs → MazSpinner-QgcgF5j5.mjs} +1 -1
  88. package/components/chunks/MazSpinner-yQGVxaFm.mjs +37 -0
  89. package/components/chunks/{MazStepper-BmCk5RfP.mjs → MazStepper-DRWtYHZR.mjs} +1 -1
  90. package/components/chunks/MazTable-CrtVI-dp.mjs +2015 -0
  91. package/components/chunks/{MazTransitionExpand-D9pcEmUk.mjs → MazTransitionExpand-BoTQeNNf.mjs} +1 -1
  92. package/css/main.css +1 -1
  93. package/modules/assets/MazBtn.css +1 -1
  94. package/modules/chunks/MazBtn-BG2dUdHV.cjs +9 -0
  95. package/modules/chunks/MazBtn-BeqYSSYI.mjs +116 -0
  96. package/modules/chunks/MazIcon-BqfELHOt.mjs +101 -0
  97. package/modules/chunks/MazIcon-RkWxQ8JM.cjs +1 -0
  98. package/modules/chunks/{MazSpinner-g6fliUmS.mjs → MazSpinner-DgSRxVEo.mjs} +1 -1
  99. package/modules/chunks/{MazSpinner-zX9CPyJB.cjs → MazSpinner-GfL807jq.cjs} +1 -1
  100. package/modules/chunks/{index-BLdtEKD5.cjs → index-CE2CsQsx.cjs} +4 -4
  101. package/modules/chunks/{index-Bpj_Jr6I.mjs → index-aKGx1nxl.mjs} +4 -4
  102. package/modules/index.cjs +1 -1
  103. package/modules/index.mjs +1 -1
  104. package/nuxt/index.json +1 -1
  105. package/package.json +1 -1
  106. package/types/components/MazAccordion.vue.d.ts +1 -1
  107. package/types/components/MazBtn.vue.d.ts +0 -4
  108. package/types/components/MazCardSpotlight.vue.d.ts +1 -1
  109. package/types/components/MazDropdown.vue.d.ts +4 -0
  110. package/types/components/MazTable.vue.d.ts +32 -3
  111. package/components/chunks/MazBtn-B2A4nNWi.mjs +0 -150
  112. package/components/chunks/MazBtn-BTxqbijR.mjs +0 -158
  113. package/components/chunks/MazBtn-BYAmxCNV.mjs +0 -150
  114. package/components/chunks/MazBtn-BkBaNYfi.mjs +0 -150
  115. package/components/chunks/MazBtn-BkT-9nbu.mjs +0 -150
  116. package/components/chunks/MazBtn-C6b9OPzf.mjs +0 -150
  117. package/components/chunks/MazBtn-CAioWjHE.mjs +0 -150
  118. package/components/chunks/MazBtn-CTDhJ_fQ.mjs +0 -155
  119. package/components/chunks/MazBtn-CofOhh-q.mjs +0 -150
  120. package/components/chunks/MazBtn-CwkvhgML.mjs +0 -150
  121. package/components/chunks/MazBtn-DHFCbHI5.mjs +0 -150
  122. package/components/chunks/MazBtn-DgmsRNq_.mjs +0 -150
  123. package/components/chunks/MazIcon-BDGxCy9M.mjs +0 -118
  124. package/components/chunks/MazIcon-YNJa-F5Z.mjs +0 -113
  125. package/components/chunks/MazIcon-wDqK0Xre.mjs +0 -113
  126. package/components/chunks/MazPagination-BOUDMaJO.mjs +0 -394
  127. package/components/chunks/MazSpinner-C91Lm_Xp.mjs +0 -37
  128. package/components/chunks/MazSpinner-CCIMQLA1.mjs +0 -37
  129. package/components/chunks/MazSpinner-Ch7Qhq1M.mjs +0 -37
  130. package/components/chunks/MazSpinner-D7CMPaDb.mjs +0 -37
  131. package/components/chunks/MazSpinner-D8uk4SQh.mjs +0 -37
  132. package/components/chunks/MazSpinner-JgB1pud8.mjs +0 -37
  133. package/components/chunks/MazSpinner-mCkWhiVE.mjs +0 -37
  134. package/components/chunks/MazTable-CPfwUOOM.mjs +0 -2003
  135. package/modules/chunks/MazBtn-B5URGSZl.cjs +0 -9
  136. package/modules/chunks/MazBtn-DRuL8cjg.mjs +0 -150
  137. package/modules/chunks/MazIcon-BskR2yy9.cjs +0 -1
  138. package/modules/chunks/MazIcon-CKc-vAA8.mjs +0 -113
@@ -21,7 +21,7 @@ import '../assets/MazLink.css';const y = /* @__PURE__ */ u({
21
21
  setup(c) {
22
22
  const f = d(
23
23
  () => import("./arrow-top-right-on-square-jPmYJ34F.mjs")
24
- ), i = d(() => import("./MazIcon-BDGxCy9M.mjs"));
24
+ ), i = d(() => import("./MazIcon-BbvBov5G.mjs"));
25
25
  return (e, g) => (o(), n(r(e.to ? "router-link" : "a"), s({
26
26
  id: e.id,
27
27
  class: ["m-link", [
@@ -0,0 +1,360 @@
1
+ import { defineComponent as q, defineAsyncComponent as T, useAttrs as H, useSlots as J, computed as l, openBlock as i, createBlock as f, resolveDynamicComponent as O, normalizeClass as y, withCtx as C, createCommentVNode as s, renderSlot as p, unref as v, createElementBlock as N, createVNode as g, createElementVNode as d, mergeProps as k, createTextVNode as V, toDisplayString as B, 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
+ },
28
+ setup(P) {
29
+ const o = P, e = T(() => import("./MazSpinner-JbfjMNFL.mjs")), b = T(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: E } = H(), S = J(), I = l(() => h ? "a" : E ? "router-link" : "button"), u = l(
30
+ () => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`
31
+ ), c = l(
32
+ () => (o.loading || o.disabled) && I.value === "button"
33
+ ), z = l(() => c.value ? "--cursor-default" : "--cursor-pointer"), R = l(() => `--is-${o.variant}`), D = l(() => o.loading && o.variant === "button"), L = l(() => !!S["left-icon"] || o.leftIcon), F = l(() => !!S["right-icon"] || o.rightIcon), U = l(() => L.value || F.value), j = l(() => o.icon || !!S.icon), w = l(() => I.value === "button" ? o.type : void 0), m = l(() => o.size === "xl" ? "maz-text-3xl" : o.size === "lg" ? "maz-text-2xl" : o.size === "md" ? "maz-text-xl" : o.size === "sm" ? "maz-text-lg" : o.size === "xs" ? "maz-text-base" : o.size === "mini" ? "maz-text-sm" : "md");
34
+ return (a, $) => (i(), f(O(I.value), {
35
+ disabled: c.value || void 0,
36
+ class: y(["m-btn", [
37
+ `--${a.size}`,
38
+ !a.fab && !a.rounded && a.roundedSize && `--rounded-${a.roundedSize}`,
39
+ u.value,
40
+ z.value,
41
+ R.value,
42
+ {
43
+ "--block": a.block,
44
+ "--no-underline": a.noUnderline,
45
+ "--fab": a.fab,
46
+ "--loading": a.loading,
47
+ "--disabled": c.value,
48
+ "--icon": U.value,
49
+ "--rounded": a.rounded,
50
+ "--no-rounded": a.noRounded,
51
+ "--no-padding": a.noPadding,
52
+ "--no-elevation": a.noElevation
53
+ }
54
+ ]]),
55
+ type: w.value
56
+ }, {
57
+ default: C(() => [
58
+ s(`
59
+ @slot left-icon - The icon to display on the left of the button
60
+ `),
61
+ p(a.$slots, "left-icon", {}, () => [
62
+ typeof a.leftIcon == "string" ? (i(), f(v(b), {
63
+ key: 0,
64
+ name: a.leftIcon,
65
+ class: y([m.value])
66
+ }, null, 8, ["name", "class"])) : a.leftIcon ? (i(), f(O(a.leftIcon), {
67
+ key: 1,
68
+ class: y([m.value])
69
+ }, null, 8, ["class"])) : s("v-if", !0)
70
+ ], !0),
71
+ s(`
72
+ @slot icon - The icon to display on the fab button
73
+ `),
74
+ j.value ? p(a.$slots, "icon", { key: 0 }, () => [
75
+ typeof a.icon == "string" ? (i(), f(v(b), {
76
+ key: 0,
77
+ name: a.icon,
78
+ class: y([m.value])
79
+ }, null, 8, ["name", "class"])) : a.icon ? (i(), f(O(a.icon), {
80
+ key: 1,
81
+ class: y([m.value])
82
+ }, null, 8, ["class"])) : s("v-if", !0)
83
+ ], !0) : s("v-if", !0),
84
+ s(`
85
+ @slot default - The content of the button
86
+ `),
87
+ p(a.$slots, "default", {}, void 0, !0),
88
+ s(`
89
+ @slot left-icon - The icon to display on the left of the button
90
+ `),
91
+ F.value ? p(a.$slots, "right-icon", { key: 1 }, () => [
92
+ typeof a.rightIcon == "string" ? (i(), f(v(b), {
93
+ key: 0,
94
+ name: a.rightIcon,
95
+ class: y([m.value])
96
+ }, null, 8, ["name", "class"])) : a.rightIcon ? (i(), f(O(a.rightIcon), {
97
+ key: 1,
98
+ class: y([m.value])
99
+ }, null, 8, ["class"])) : s("v-if", !0)
100
+ ], !0) : s("v-if", !0),
101
+ D.value ? (i(), N("div", W, [
102
+ g(v(e), {
103
+ size: "2em",
104
+ color: a.color
105
+ }, null, 8, ["color"])
106
+ ])) : s("v-if", !0)
107
+ ]),
108
+ _: 3
109
+ /* FORWARDED */
110
+ }, 8, ["disabled", "class", "type"]));
111
+ }
112
+ }), G = (P, o) => {
113
+ const e = P.__vccOpts || P;
114
+ for (const [b, h] of o)
115
+ e[b] = h;
116
+ return e;
117
+ }, A = /* @__PURE__ */ G(X, [["__scopeId", "data-v-8deef21f"]]), Y = {
118
+ class: "m-pagination",
119
+ role: "navigation",
120
+ "aria-label": "page navigation"
121
+ }, 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({
122
+ __name: "MazPagination",
123
+ props: {
124
+ modelValue: { default: 1 },
125
+ buttonProps: { default: void 0 },
126
+ resultsSize: { default: void 0 },
127
+ activeColor: { default: "primary" },
128
+ size: { default: "md" },
129
+ totalPages: {},
130
+ pageRange: { default: 2 },
131
+ loading: { type: Boolean }
132
+ },
133
+ emits: ["update:model-value"],
134
+ setup(P, { emit: o }) {
135
+ const e = P, b = o, h = T(() => import("./chevron-left-BqVOLRdC.mjs")), E = T(() => import("./chevron-double-left-D4-NpyrF.mjs")), S = T(() => import("./ellipsis-horizontal-6n158ATI.mjs")), I = {
136
+ size: "md",
137
+ color: "theme",
138
+ outline: !0,
139
+ noElevation: !0,
140
+ fab: !0
141
+ }, u = l(() => ({
142
+ ...I,
143
+ ...e.buttonProps
144
+ })), c = l(() => e.modelValue > 1 ? e.modelValue - 1 : 1), z = l(
145
+ () => e.modelValue < e.totalPages ? e.modelValue + 1 : e.totalPages
146
+ ), R = l(
147
+ () => Array.from({ length: e.totalPages }, (t, r) => {
148
+ const n = r + 1;
149
+ return {
150
+ number: n,
151
+ isActive: n === e.modelValue,
152
+ loading: n === e.modelValue && e.loading
153
+ };
154
+ })
155
+ ), D = l(
156
+ () => e.modelValue - e.pageRange > 1 ? R.value.slice(0, 1) : []
157
+ ), L = l(
158
+ () => e.modelValue < e.totalPages - e.pageRange ? R.value.slice(-1) : []
159
+ ), F = l(() => 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), U = l(
160
+ () => e.modelValue + e.pageRange > e.totalPages ? e.totalPages : e.modelValue + e.pageRange < e.pageRange ? e.pageRange : e.modelValue + e.pageRange
161
+ ), j = l(() => R.value.slice(F.value, U.value)), w = l(
162
+ () => e.modelValue - e.pageRange > 2 ? [{ divider: !0 }] : []
163
+ ), m = l(
164
+ () => e.modelValue < e.totalPages - e.pageRange - 1 ? [{ divider: !0 }] : []
165
+ ), a = l(() => [
166
+ ...D.value,
167
+ ...w.value,
168
+ ...j.value,
169
+ ...m.value,
170
+ ...L.value
171
+ ]);
172
+ function $(t) {
173
+ t !== e.modelValue && b("update:model-value", t);
174
+ }
175
+ return (t, r) => (i(), N("nav", Y, [
176
+ d("ul", null, [
177
+ d("li", null, [
178
+ g(A, k(u.value, {
179
+ disabled: t.modelValue === 1,
180
+ "aria-label": "First Page, Page 1",
181
+ "aria-setsize": t.resultsSize ?? void 0,
182
+ "aria-posinset": "1",
183
+ size: t.size,
184
+ onClick: r[0] || (r[0] = (n) => $(1))
185
+ }), {
186
+ default: C(() => [
187
+ d("span", Z, [
188
+ s(`
189
+ @slot Accessible text for screen reader of the previous page button
190
+ @binding {number} page - first page number
191
+ `),
192
+ p(t.$slots, "first-page-sr", { page: 1 }, () => [
193
+ r[4] || (r[4] = V("First Page, page 1"))
194
+ ], !0)
195
+ ]),
196
+ g(v(E))
197
+ ]),
198
+ _: 3
199
+ /* FORWARDED */
200
+ }, 16, ["disabled", "aria-setsize", "size"])
201
+ ]),
202
+ d("li", null, [
203
+ g(A, k(u.value, {
204
+ disabled: t.modelValue === 1,
205
+ "aria-label": `Previous Page, Page ${c.value}`,
206
+ "aria-setsize": t.resultsSize ?? void 0,
207
+ "aria-posinset": c.value,
208
+ size: t.size,
209
+ onClick: r[1] || (r[1] = (n) => $(c.value))
210
+ }), {
211
+ default: C(() => [
212
+ d("span", _, [
213
+ s(`
214
+ @slot Accessible text for screen reader of the first page button
215
+ @binding {number} page - previous page number
216
+ `),
217
+ p(t.$slots, "previous-page-sr", { page: c.value }, () => [
218
+ V(
219
+ " Previous Page, page " + B(c.value),
220
+ 1
221
+ /* TEXT */
222
+ )
223
+ ], !0)
224
+ ]),
225
+ g(v(h))
226
+ ]),
227
+ _: 3
228
+ /* FORWARDED */
229
+ }, 16, ["disabled", "aria-label", "aria-setsize", "aria-posinset", "size"])
230
+ ]),
231
+ (i(!0), N(
232
+ K,
233
+ null,
234
+ Q(a.value, (n, M) => (i(), N("li", {
235
+ id: "number" in n ? `button-${M}-${n.number}` : `ellipsis-${M}`,
236
+ key: "number" in n ? `button-${M}-${n.number}` : `ellipsis-${M}`
237
+ }, [
238
+ "number" in n ? (i(), f(A, k({
239
+ key: 0,
240
+ ref_for: !0
241
+ }, {
242
+ ...u.value,
243
+ color: n.isActive ? t.activeColor : u.value.color,
244
+ outline: n.isActive ? !1 : u.value.outline
245
+ }, {
246
+ size: t.size,
247
+ "aria-label": `Page ${n.number}`,
248
+ "aria-current": n.isActive ? "true" : "false",
249
+ "aria-setsize": t.resultsSize ?? void 0,
250
+ loading: n.loading,
251
+ "aria-posinset": n.number,
252
+ class: { active: n.isActive },
253
+ onClick: (oe) => n.isActive ? void 0 : $(n.number)
254
+ }), {
255
+ default: C(() => [
256
+ d("span", ee, [
257
+ s(`
258
+ @slot Accessible text for screen reader of the current page button
259
+ @binding {number} page - current page number
260
+ `),
261
+ p(t.$slots, "page-sr", {
262
+ page: n.number
263
+ }, () => [
264
+ V(
265
+ "Page " + B(n.number),
266
+ 1
267
+ /* TEXT */
268
+ )
269
+ ], !0)
270
+ ]),
271
+ V(
272
+ " " + B(n.number),
273
+ 1
274
+ /* TEXT */
275
+ )
276
+ ]),
277
+ _: 2
278
+ /* DYNAMIC */
279
+ }, 1040, ["size", "aria-label", "aria-current", "aria-setsize", "loading", "aria-posinset", "class", "onClick"])) : n.divider ? (i(), N(
280
+ "div",
281
+ k({
282
+ key: 1,
283
+ ref_for: !0
284
+ }, u.value, { class: "flex p-2 flex-center" }),
285
+ [
286
+ g(v(S))
287
+ ],
288
+ 16
289
+ /* FULL_PROPS */
290
+ )) : s("v-if", !0)
291
+ ], 8, x))),
292
+ 128
293
+ /* KEYED_FRAGMENT */
294
+ )),
295
+ d("li", null, [
296
+ g(A, k(u.value, {
297
+ disabled: t.modelValue === t.totalPages,
298
+ "aria-label": `Next Page, Page ${z.value}`,
299
+ "aria-setsize": t.resultsSize ?? void 0,
300
+ "aria-posinset": z.value,
301
+ size: t.size,
302
+ onClick: r[2] || (r[2] = (n) => $(z.value))
303
+ }), {
304
+ default: C(() => [
305
+ d("span", ae, [
306
+ s(`
307
+ @slot Accessible text for screen reader of the next page button
308
+ @binding {number} page - next page number
309
+ `),
310
+ p(t.$slots, "next-page-sr", { page: z.value }, () => [
311
+ V(
312
+ "Next Page, page " + B(z.value),
313
+ 1
314
+ /* TEXT */
315
+ )
316
+ ], !0)
317
+ ]),
318
+ g(v(h), { class: "-maz-rotate-180" })
319
+ ]),
320
+ _: 3
321
+ /* FORWARDED */
322
+ }, 16, ["disabled", "aria-label", "aria-setsize", "aria-posinset", "size"])
323
+ ]),
324
+ d("li", null, [
325
+ g(A, k(u.value, {
326
+ disabled: t.modelValue === t.totalPages,
327
+ "aria-label": `Next Page, Page ${t.totalPages}`,
328
+ "aria-setsize": t.resultsSize ?? void 0,
329
+ "aria-posinset": t.totalPages,
330
+ size: t.size,
331
+ onClick: r[3] || (r[3] = (n) => $(t.totalPages))
332
+ }), {
333
+ default: C(() => [
334
+ d("span", te, [
335
+ s(`
336
+ @slot Accessible text for screen reader of the last page button
337
+ @binding {number} page - last page number
338
+ `),
339
+ p(t.$slots, "last-page-sr", { page: t.totalPages }, () => [
340
+ V(
341
+ "Last Page, page " + B(t.totalPages),
342
+ 1
343
+ /* TEXT */
344
+ )
345
+ ], !0)
346
+ ]),
347
+ g(v(E), { class: "-maz-rotate-180" })
348
+ ]),
349
+ _: 3
350
+ /* FORWARDED */
351
+ }, 16, ["disabled", "aria-label", "aria-setsize", "aria-posinset", "size"])
352
+ ])
353
+ ])
354
+ ]));
355
+ }
356
+ }), se = /* @__PURE__ */ G(ne, [["__scopeId", "data-v-8b9651c3"]]);
357
+ export {
358
+ se as M,
359
+ G as _
360
+ };
@@ -224,7 +224,7 @@ const yo = {
224
224
  },
225
225
  emits: ["intersecting", "loading", "loaded", "error"],
226
226
  setup(n) {
227
- const o = n, e = q(() => import("./MazSpinner-mCkWhiVE.mjs")), t = h(() => o.image || o.src), r = h(() => {
227
+ const o = n, e = q(() => import("./MazSpinner-DuGaC-cw.mjs")), t = h(() => o.image || o.src), r = h(() => {
228
228
  var u;
229
229
  return typeof t.value == "string" ? [{ srcset: t.value }] : (u = t.value) == null ? void 0 : u.sources;
230
230
  });
@@ -470,7 +470,7 @@ const ko = {
470
470
  },
471
471
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
472
472
  setup(n, { emit: o }) {
473
- const e = n, t = o, r = q(() => import("./MazBtn-DHFCbHI5.mjs")), u = q(() => import("./MazIcon-wDqK0Xre.mjs")), y = q(() => import("./eye-slash-BoO00xzs.mjs")), p = q(() => import("./eye-f8zAUc30.mjs")), O = q(() => import("./check-C9Q_W85g.mjs")), $ = k(!1), v = k(!1), P = k(), i = Ae({
473
+ const e = n, t = o, r = q(() => import("./MazBtn-BXdap6JU.mjs")), u = q(() => import("./MazIcon-CudB1a0D.mjs")), y = q(() => import("./eye-slash-BoO00xzs.mjs")), p = q(() => import("./eye-f8zAUc30.mjs")), O = q(() => import("./check-C9Q_W85g.mjs")), $ = k(!1), v = k(!1), P = k(), i = Ae({
474
474
  componentName: "MazInput",
475
475
  providedId: e.id
476
476
  });
@@ -744,7 +744,7 @@ const ko = {
744
744
  "215ff493": i.value,
745
745
  "64d6cfbb": f.value
746
746
  }));
747
- const t = n, r = e, u = q(() => import("./MazCheckbox-DOYkVPMK.mjs")), y = q(() => import("./magnifying-glass--nBiyXot.mjs")), p = q(() => import("./chevron-down-BkvtON3b.mjs")), O = q(() => import("./no-symbol-CIgKzsrB.mjs"));
747
+ const t = n, r = e, u = q(() => import("./MazCheckbox-C4diNXJq.mjs")), y = q(() => import("./magnifying-glass--nBiyXot.mjs")), p = q(() => import("./chevron-down-BkvtON3b.mjs")), O = q(() => import("./no-symbol-CIgKzsrB.mjs"));
748
748
  o({
749
749
  /** Method to open the option list */
750
750
  openList: ne,