@mureka-fe/ui 5.0.4 → 5.0.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.
package/dist/ui.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as H, computed as s, openBlock as v, createElementBlock as h, normalizeClass as W, Fragment as K, createElementVNode as f, createCommentVNode as S, renderSlot as x, createTextVNode as G, toDisplayString as O, useSlots as J, useAttrs as R, normalizeStyle as he, ref as N, inject as se, watchEffect as ze, mergeProps as A, nextTick as j, provide as le, renderList as pe, createBlock as E, withCtx as X, reactive as Ie, h as be, createVNode as Oe, TransitionGroup as Ae, resolveDynamicComponent as Re, unref as D, onMounted as ne, onBeforeUnmount as oe, watch as ue, Teleport as De, createApp as Ge } from "vue";
1
+ import { defineComponent as H, useSlots as U, computed as n, openBlock as f, createElementBlock as m, normalizeClass as J, Fragment as X, createElementVNode as v, createCommentVNode as M, unref as O, renderSlot as w, createTextVNode as G, toDisplayString as A, useAttrs as D, normalizeStyle as he, ref as N, inject as se, watchEffect as ze, mergeProps as R, nextTick as j, provide as ne, renderList as pe, createBlock as E, withCtx as W, reactive as Ie, h as be, createVNode as Oe, TransitionGroup as Ae, resolveDynamicComponent as Re, onMounted as le, onBeforeUnmount as oe, watch as ue, Teleport as De, createApp as Ge } from "vue";
2
2
  const Ee = [
3
3
  "new",
4
4
  "new-mini",
@@ -74,7 +74,15 @@ const Ke = ["role", "aria-label"], Xe = {
74
74
  key: 0,
75
75
  class: "mu-badge__prefix",
76
76
  "aria-hidden": "true"
77
- }, Qe = { class: "mu-badge__content" }, Ye = /* @__PURE__ */ H({
77
+ }, Qe = {
78
+ key: 1,
79
+ class: "mu-badge__prefix",
80
+ "aria-hidden": "true"
81
+ }, Ye = { class: "mu-badge__content" }, et = {
82
+ key: 2,
83
+ class: "mu-badge__suffix",
84
+ "aria-hidden": "true"
85
+ }, tt = /* @__PURE__ */ H({
78
86
  __name: "Badge",
79
87
  props: {
80
88
  variant: {},
@@ -82,50 +90,50 @@ const Ke = ["role", "aria-label"], Xe = {
82
90
  preset: {}
83
91
  },
84
92
  setup(e) {
85
- const t = e, a = s(() => ke(t)), l = s(() => qe(t)), r = s(() => a.value.isSvgPreset ? "img" : void 0), n = s(() => a.value.isSvgPreset ? "NEW" : void 0), o = s(() => a.value.preset === "details");
86
- return (u, i) => (v(), h("span", {
87
- class: W(l.value),
88
- role: r.value,
89
- "aria-label": n.value
93
+ const t = e, a = U(), s = n(() => ke(t)), c = n(() => qe(t)), l = n(() => s.value.isSvgPreset ? "img" : void 0), o = n(() => s.value.isSvgPreset ? "NEW" : void 0), i = n(() => s.value.preset === "details");
94
+ return (r, u) => (f(), m("span", {
95
+ class: J(c.value),
96
+ role: l.value,
97
+ "aria-label": o.value
90
98
  }, [
91
- a.value.isSvgPreset ? (v(), h(K, { key: 0 }, [
92
- a.value.preset === "new" ? (v(), h("svg", Xe, [...i[0] || (i[0] = [
93
- f("path", {
99
+ s.value.isSvgPreset ? (f(), m(X, { key: 0 }, [
100
+ s.value.preset === "new" ? (f(), m("svg", Xe, [...u[0] || (u[0] = [
101
+ v("path", {
94
102
  d: "M0 8V0H1.49679L3.84103 6.65205C3.82636 6.44018 3.80802 6.18813 3.78601 5.89589C3.76399 5.60365 3.74565 5.30046 3.73098 4.9863C3.72364 4.67215 3.71997 4.38721 3.71997 4.13151V0H4.82055V8H3.32376L0.990525 1.34794C1.0052 1.5379 1.01987 1.77534 1.03455 2.06027C1.05656 2.34521 1.07123 2.6411 1.07857 2.94795C1.09325 3.25479 1.10058 3.53973 1.10058 3.80274V8H0Z",
95
103
  fill: "currentColor"
96
104
  }, null, -1),
97
- f("path", {
105
+ v("path", {
98
106
  d: "M7.40262 8V0H12.1241V1.05205H8.56924V3.32055H11.7389V4.36164H8.56924V6.94795H12.1241V8H7.40262Z",
99
107
  fill: "currentColor"
100
108
  }, null, -1),
101
- f("path", {
109
+ v("path", {
102
110
  d: "M14.7282 8L13.8587 0H14.9263L15.4656 5.74247C15.4803 5.88858 15.4913 6.04932 15.4986 6.22466C15.5133 6.4 15.5243 6.57169 15.5316 6.73973C15.5463 6.90776 15.5536 7.05388 15.5536 7.17808C15.5683 7.05388 15.583 6.90776 15.5977 6.73973C15.6123 6.57169 15.627 6.4 15.6417 6.22466C15.6637 6.04932 15.6857 5.88858 15.7077 5.74247L16.4011 0H17.5017L18.151 5.74247C18.1657 5.88858 18.1804 6.04932 18.195 6.22466C18.2171 6.4 18.2391 6.57169 18.2611 6.73973C18.2831 6.90776 18.2978 7.05388 18.3051 7.17808C18.3124 7.05388 18.3198 6.90776 18.3271 6.73973C18.3418 6.57169 18.3565 6.4 18.3711 6.22466C18.3858 6.04932 18.4005 5.88858 18.4152 5.74247L18.9655 0H20L19.0975 8H17.7218L17.0724 2.18082C17.0578 2.0274 17.0431 1.86667 17.0284 1.69863C17.0138 1.52329 16.9991 1.35525 16.9844 1.19452C16.9697 1.02648 16.9551 0.887671 16.9404 0.778082C16.933 0.887671 16.922 1.02648 16.9074 1.19452C16.8927 1.35525 16.878 1.52329 16.8633 1.69863C16.8487 1.86667 16.8303 2.0274 16.8083 2.18082L16.1149 8H14.7282Z",
103
111
  fill: "currentColor"
104
112
  }, null, -1)
105
- ])])) : a.value.preset === "new-mini" ? (v(), h("svg", We, [...i[1] || (i[1] = [
106
- f("path", {
113
+ ])])) : s.value.preset === "new-mini" ? (f(), m("svg", We, [...u[1] || (u[1] = [
114
+ v("path", {
107
115
  d: "M0 6V0H1.12259L2.88078 4.98904C2.86977 4.83014 2.85601 4.6411 2.8395 4.42192C2.823 4.20274 2.80924 3.97534 2.79823 3.73973C2.79273 3.50411 2.78998 3.29041 2.78998 3.09863V0H3.61542V6H2.49282L0.742893 1.01096C0.753899 1.15342 0.764905 1.33151 0.775911 1.54521C0.79242 1.7589 0.803426 1.98082 0.808928 2.21096C0.819934 2.4411 0.825437 2.65479 0.825437 2.85205V6H0Z",
108
116
  fill: "currentColor"
109
117
  }, null, -1),
110
- f("path", {
118
+ v("path", {
111
119
  d: "M5.55197 6V0H9.09309V0.789041H6.42693V2.49041H8.80419V3.27123H6.42693V5.21096H9.09309V6H5.55197Z",
112
120
  fill: "currentColor"
113
121
  }, null, -1),
114
- f("path", {
122
+ v("path", {
115
123
  d: "M11.0462 6L10.3941 0H11.1947L11.5992 4.30685C11.6102 4.41644 11.6185 4.53699 11.624 4.66849C11.635 4.8 11.6432 4.92877 11.6487 5.05479C11.6597 5.18082 11.6652 5.29041 11.6652 5.38356C11.6762 5.29041 11.6872 5.18082 11.6982 5.05479C11.7093 4.92877 11.7203 4.8 11.7313 4.66849C11.7478 4.53699 11.7643 4.41644 11.7808 4.30685L12.3008 0H13.1263L13.6133 4.30685C13.6243 4.41644 13.6353 4.53699 13.6463 4.66849C13.6628 4.8 13.6793 4.92877 13.6958 5.05479C13.7123 5.18082 13.7233 5.29041 13.7288 5.38356C13.7343 5.29041 13.7398 5.18082 13.7453 5.05479C13.7563 4.92877 13.7673 4.8 13.7784 4.66849C13.7894 4.53699 13.8004 4.41644 13.8114 4.30685L14.2241 0H15L14.3231 6H13.2913L12.8043 1.63562C12.7933 1.52055 12.7823 1.4 12.7713 1.27397C12.7603 1.14247 12.7493 1.01644 12.7383 0.89589C12.7273 0.769863 12.7163 0.665753 12.7053 0.583561C12.6998 0.665753 12.6915 0.769863 12.6805 0.89589C12.6695 1.01644 12.6585 1.14247 12.6475 1.27397C12.6365 1.4 12.6227 1.52055 12.6062 1.63562L12.0862 6H11.0462Z",
116
124
  fill: "currentColor"
117
125
  }, null, -1)
118
- ])])) : S("", !0)
119
- ], 64)) : (v(), h(K, { key: 1 }, [
120
- o.value ? (v(), h("span", Je, [...i[2] || (i[2] = [
121
- f("svg", {
126
+ ])])) : M("", !0)
127
+ ], 64)) : (f(), m(X, { key: 1 }, [
128
+ i.value ? (f(), m("span", Je, [...u[2] || (u[2] = [
129
+ v("svg", {
122
130
  "data-test": "details-icon",
123
131
  viewBox: "0 0 12 12",
124
132
  fill: "none",
125
133
  xmlns: "http://www.w3.org/2000/svg",
126
134
  "aria-hidden": "true"
127
135
  }, [
128
- f("path", {
136
+ v("path", {
129
137
  d: "M1.5 3.5V2.5C1.5 2.23478 1.60536 1.98043 1.79289 1.79289C1.98043 1.60536 2.23478 1.5 2.5 1.5H3.5M8.5 1.5H9.5C9.76522 1.5 10.0196 1.60536 10.2071 1.79289C10.3946 1.98043 10.5 2.23478 10.5 2.5V3.5M10.5 8.5V9.5C10.5 9.76522 10.3946 10.0196 10.2071 10.2071C10.0196 10.3946 9.76522 10.5 9.5 10.5H8.5M3.5 10.5H2.5C2.23478 10.5 1.98043 10.3946 1.79289 10.2071C1.60536 10.0196 1.5 9.76522 1.5 9.5V8.5M3.5 4H7.5M3.5 6H8.5M3.5 8H6.5",
130
138
  stroke: "currentColor",
131
139
  "stroke-opacity": "0.9",
@@ -133,21 +141,26 @@ const Ke = ["role", "aria-label"], Xe = {
133
141
  "stroke-linejoin": "round"
134
142
  })
135
143
  ], -1)
136
- ])])) : S("", !0),
137
- f("span", Qe, [
138
- x(u.$slots, "default", {}, () => [
139
- G(O(a.value.defaultContent), 1)
144
+ ])])) : O(a).prefix ? (f(), m("span", Qe, [
145
+ w(r.$slots, "prefix", {}, void 0, !0)
146
+ ])) : M("", !0),
147
+ v("span", Ye, [
148
+ w(r.$slots, "default", {}, () => [
149
+ G(A(s.value.defaultContent), 1)
140
150
  ], !0)
141
- ])
151
+ ]),
152
+ O(a).suffix ? (f(), m("span", et, [
153
+ w(r.$slots, "suffix", {}, void 0, !0)
154
+ ])) : M("", !0)
142
155
  ], 64))
143
156
  ], 10, Ke));
144
157
  }
145
158
  }), z = (e, t) => {
146
159
  const a = e.__vccOpts || e;
147
- for (const [l, r] of t)
148
- a[l] = r;
160
+ for (const [s, c] of t)
161
+ a[s] = c;
149
162
  return a;
150
- }, Wa = /* @__PURE__ */ z(Ye, [["__scopeId", "data-v-066d16c3"]]);
163
+ }, Qa = /* @__PURE__ */ z(tt, [["__scopeId", "data-v-c062c5e1"]]);
151
164
  function ie(e = {}) {
152
165
  return {
153
166
  type: e.type ?? "primary",
@@ -162,7 +175,7 @@ function ie(e = {}) {
162
175
  nativeType: e.nativeType ?? "button"
163
176
  };
164
177
  }
165
- function et(e = {}) {
178
+ function at(e = {}) {
166
179
  const t = ie(e), a = [
167
180
  "mu-button",
168
181
  `mu-button--${t.type}`,
@@ -171,33 +184,33 @@ function et(e = {}) {
171
184
  ];
172
185
  return t.type === "ghost" && t.ghostTextTone === "primary" && a.push(`mu-button--ghost-text-${t.ghostTextTone}`), t.shape === "pill" && a.push("mu-button--shape-pill"), t.status && a.push(`mu-button--status-${t.status}`), t.iconOnly && a.push("mu-button--icon-only"), t.disabled && a.push("is-disabled"), t.loading && a.push("is-loading"), a;
173
186
  }
174
- function tt(e = {}) {
187
+ function st(e = {}) {
175
188
  const t = ie(e);
176
189
  return !t.disabled && !t.loading;
177
190
  }
178
- function at(e = {}) {
179
- const t = e.iconOnly ?? !1, a = e.hasPrefix ?? !1, l = e.hasSuffix ?? !1, r = e.loading ?? !1, n = e.hasAriaLabel ?? !1;
191
+ function nt(e = {}) {
192
+ const t = e.iconOnly ?? !1, a = e.hasPrefix ?? !1, s = e.hasSuffix ?? !1, c = e.loading ?? !1, l = e.hasAriaLabel ?? !1;
180
193
  return {
181
- showPrefixSlot: !t && !r && a,
182
- showSuffixSlot: !t && l,
183
- showDefaultSlot: !(t && r),
184
- showLoadingIndicator: r,
185
- requiresAriaLabel: t && !n,
186
- isInvalidIconOnlyCombination: t && (a || l)
194
+ showPrefixSlot: !t && !c && a,
195
+ showSuffixSlot: !t && s,
196
+ showDefaultSlot: !(t && c),
197
+ showLoadingIndicator: c,
198
+ requiresAriaLabel: t && !l,
199
+ isInvalidIconOnlyCombination: t && (a || s)
187
200
  };
188
201
  }
189
- const st = ["type", "disabled", "aria-busy"], lt = {
202
+ const lt = ["type", "disabled", "aria-busy"], ot = {
190
203
  key: 0,
191
204
  class: "mu-button__prefix",
192
205
  "aria-hidden": "true"
193
- }, nt = {
206
+ }, ut = {
194
207
  key: 1,
195
208
  class: "mu-button__content"
196
- }, ot = {
209
+ }, it = {
197
210
  key: 2,
198
211
  class: "mu-button__suffix",
199
212
  "aria-hidden": "true"
200
- }, ut = /* @__PURE__ */ H({
213
+ }, rt = /* @__PURE__ */ H({
201
214
  __name: "Button",
202
215
  props: {
203
216
  type: { default: "primary" },
@@ -213,7 +226,7 @@ const st = ["type", "disabled", "aria-busy"], lt = {
213
226
  },
214
227
  emits: ["click"],
215
228
  setup(e, { emit: t }) {
216
- const a = e, l = t, r = J(), n = R(), o = {
229
+ const a = e, s = t, c = U(), l = D(), o = {
217
230
  small: {
218
231
  width: "var(--mu-button-icon-size-small)",
219
232
  height: "var(--mu-button-icon-size-small)"
@@ -226,61 +239,61 @@ const st = ["type", "disabled", "aria-busy"], lt = {
226
239
  width: "var(--mu-button-icon-size-large)",
227
240
  height: "var(--mu-button-icon-size-large)"
228
241
  }
229
- }, u = s(() => ie(a)), i = s(() => et(u.value)), c = s(() => o[u.value.size]), d = s(
230
- () => at({
231
- iconOnly: u.value.iconOnly,
232
- hasPrefix: !!r.prefix,
233
- hasSuffix: !!r.suffix,
234
- loading: u.value.loading,
235
- hasDefaultSlot: !!r.default,
236
- hasAriaLabel: typeof n["aria-label"] == "string" && n["aria-label"].trim().length > 0
242
+ }, i = n(() => ie(a)), r = n(() => at(i.value)), u = n(() => o[i.value.size]), d = n(
243
+ () => nt({
244
+ iconOnly: i.value.iconOnly,
245
+ hasPrefix: !!c.prefix,
246
+ hasSuffix: !!c.suffix,
247
+ loading: i.value.loading,
248
+ hasDefaultSlot: !!c.default,
249
+ hasAriaLabel: typeof l["aria-label"] == "string" && l["aria-label"].trim().length > 0
237
250
  })
238
251
  );
239
252
  function y(k) {
240
- if (!tt(u.value)) {
253
+ if (!st(i.value)) {
241
254
  k.preventDefault(), k.stopPropagation();
242
255
  return;
243
256
  }
244
- l("click", k);
257
+ s("click", k);
245
258
  }
246
- return (k, C) => (v(), h("button", {
247
- type: u.value.nativeType,
248
- class: W(["mu-button", i.value]),
249
- disabled: u.value.disabled || u.value.loading,
250
- "aria-busy": u.value.loading ? "true" : void 0,
259
+ return (k, _) => (f(), m("button", {
260
+ type: i.value.nativeType,
261
+ class: J(["mu-button", r.value]),
262
+ disabled: i.value.disabled || i.value.loading,
263
+ "aria-busy": i.value.loading ? "true" : void 0,
251
264
  onClick: y
252
265
  }, [
253
- d.value.showLoadingIndicator || d.value.showPrefixSlot ? (v(), h("span", lt, [
254
- d.value.showLoadingIndicator ? (v(), h("svg", {
266
+ d.value.showLoadingIndicator || d.value.showPrefixSlot ? (f(), m("span", ot, [
267
+ d.value.showLoadingIndicator ? (f(), m("svg", {
255
268
  key: 0,
256
269
  class: "mu-button__loading-icon",
257
- style: he(c.value),
270
+ style: he(u.value),
258
271
  viewBox: "0 0 24 24",
259
272
  fill: "none",
260
273
  xmlns: "http://www.w3.org/2000/svg"
261
- }, [...C[0] || (C[0] = [
262
- f("path", {
274
+ }, [..._[0] || (_[0] = [
275
+ v("path", {
263
276
  d: "M2.00293 12C2.00293 6.47853 6.47853 2.00293 12 2.00293C12.5509 2.00293 12.9971 2.4491 12.9971 3C12.9971 3.5509 12.5509 3.99707 12 3.99707C7.58034 3.99707 3.99707 7.58034 3.99707 12C3.99707 16.4197 7.58034 20.0029 12 20.0029C16.4197 20.0029 20.0029 16.4197 20.0029 12C20.0029 11.4491 20.4491 11.0029 21 11.0029C21.5509 11.0029 21.9971 11.4491 21.9971 12C21.9971 17.5215 17.5215 21.9971 12 21.9971C6.47853 21.9971 2.00293 17.5215 2.00293 12Z",
264
277
  fill: "currentColor"
265
278
  }, null, -1)
266
- ])], 4)) : x(k.$slots, "prefix", { key: 1 }, void 0, !0)
267
- ])) : S("", !0),
268
- d.value.showDefaultSlot ? (v(), h("span", nt, [
269
- x(k.$slots, "default", {}, void 0, !0)
270
- ])) : S("", !0),
271
- d.value.showSuffixSlot ? (v(), h("span", ot, [
272
- x(k.$slots, "suffix", {}, void 0, !0)
273
- ])) : S("", !0)
274
- ], 10, st));
279
+ ])], 4)) : w(k.$slots, "prefix", { key: 1 }, void 0, !0)
280
+ ])) : M("", !0),
281
+ d.value.showDefaultSlot ? (f(), m("span", ut, [
282
+ w(k.$slots, "default", {}, void 0, !0)
283
+ ])) : M("", !0),
284
+ d.value.showSuffixSlot ? (f(), m("span", it, [
285
+ w(k.$slots, "suffix", {}, void 0, !0)
286
+ ])) : M("", !0)
287
+ ], 10, lt));
275
288
  }
276
- }), me = /* @__PURE__ */ z(ut, [["__scopeId", "data-v-e59338a3"]]), Ce = Symbol("MuCheckboxGroup"), it = ["horizontal", "vertical"];
277
- function rt(e, t) {
289
+ }), me = /* @__PURE__ */ z(rt, [["__scopeId", "data-v-e59338a3"]]), _e = Symbol("MuCheckboxGroup"), ct = ["horizontal", "vertical"];
290
+ function dt(e, t) {
278
291
  return typeof t == "string" && e.includes(t);
279
292
  }
280
- function ct(e) {
281
- return rt(it, e);
293
+ function ft(e) {
294
+ return dt(ct, e);
282
295
  }
283
- function _e(e = {}) {
296
+ function Ce(e = {}) {
284
297
  return {
285
298
  modelValue: e.modelValue,
286
299
  value: e.value,
@@ -297,33 +310,33 @@ function ye(e = {}) {
297
310
  options: e.options,
298
311
  disabled: e.disabled ?? !1,
299
312
  name: e.name,
300
- direction: ct(e.direction) ? e.direction : "horizontal"
313
+ direction: ft(e.direction) ? e.direction : "horizontal"
301
314
  };
302
315
  }
303
- function dt(e = {}) {
316
+ function vt(e = {}) {
304
317
  return e.modelValue !== void 0;
305
318
  }
306
- function ft(e = {}) {
319
+ function mt(e = {}) {
307
320
  return e.modelValue !== void 0;
308
321
  }
309
322
  function we(e, t) {
310
323
  return !e || t === void 0 ? !1 : e.some((a) => Object.is(a, t));
311
324
  }
312
- function vt(e, t) {
325
+ function ht(e, t) {
313
326
  return we(e, t) ? e.filter((a) => !Object.is(a, t)) : [...e, t];
314
327
  }
315
- function mt(e) {
328
+ function pt(e) {
316
329
  return typeof e == "object" ? { ...e, label: e.label ?? String(e.value) } : { label: String(e), value: e };
317
330
  }
318
- function ht(e = {}, t = {}) {
319
- const a = _e(e), l = ["mu-checkbox"];
320
- return t.checked && l.push("is-checked"), (t.indeterminate || a.indeterminate) && l.push("is-indeterminate"), (t.disabled || a.disabled) && l.push("is-disabled"), l;
331
+ function bt(e = {}, t = {}) {
332
+ const a = Ce(e), s = ["mu-checkbox"];
333
+ return t.checked && s.push("is-checked"), (t.indeterminate || a.indeterminate) && s.push("is-indeterminate"), (t.disabled || a.disabled) && s.push("is-disabled"), s;
321
334
  }
322
- function pt(e = {}) {
335
+ function gt(e = {}) {
323
336
  const t = ye(e), a = ["mu-checkbox-group", `mu-checkbox-group--${t.direction}`];
324
337
  return t.disabled && a.push("is-disabled"), a;
325
338
  }
326
- const bt = ["checked", "disabled", "name", "value"], gt = { class: "mu-checkbox__label" }, kt = /* @__PURE__ */ H({
339
+ const kt = ["checked", "disabled", "name", "value"], _t = { class: "mu-checkbox__label" }, Ct = /* @__PURE__ */ H({
327
340
  inheritAttrs: !1,
328
341
  __name: "Checkbox",
329
342
  props: {
@@ -336,84 +349,84 @@ const bt = ["checked", "disabled", "name", "value"], gt = { class: "mu-checkbox_
336
349
  },
337
350
  emits: ["update:modelValue", "change", "focus", "blur"],
338
351
  setup(e, { emit: t }) {
339
- const a = e, l = t, r = R(), n = N(null), o = se(Ce, null), u = s(() => _e(a)), i = s(() => dt(a)), c = N(u.value.defaultChecked), d = s(() => o ? u.value.value !== void 0 ? o.isChecked(u.value.value) : !1 : i.value ? u.value.modelValue ?? !1 : c.value), y = s(
340
- () => u.value.disabled || !!(o != null && o.disabled.value)
341
- ), k = s(() => (o == null ? void 0 : o.name.value) ?? u.value.name), C = s(
342
- () => u.value.value === void 0 ? void 0 : String(u.value.value)
343
- ), T = s(() => [
344
- ht(a, {
352
+ const a = e, s = t, c = D(), l = N(null), o = se(_e, null), i = n(() => Ce(a)), r = n(() => vt(a)), u = N(i.value.defaultChecked), d = n(() => o ? i.value.value !== void 0 ? o.isChecked(i.value.value) : !1 : r.value ? i.value.modelValue ?? !1 : u.value), y = n(
353
+ () => i.value.disabled || !!(o != null && o.disabled.value)
354
+ ), k = n(() => (o == null ? void 0 : o.name.value) ?? i.value.name), _ = n(
355
+ () => i.value.value === void 0 ? void 0 : String(i.value.value)
356
+ ), T = n(() => [
357
+ bt(a, {
345
358
  checked: d.value,
346
- indeterminate: u.value.indeterminate,
359
+ indeterminate: i.value.indeterminate,
347
360
  disabled: y.value
348
361
  }),
349
- r.class
350
- ]), w = s(() => {
351
- const { class: p, style: B, ...I } = r;
362
+ c.class
363
+ ]), x = n(() => {
364
+ const { class: p, style: B, ...I } = c;
352
365
  return I;
353
- }), b = s(() => r.style);
366
+ }), b = n(() => c.style);
354
367
  ze(() => {
355
- n.value && (n.value.indeterminate = u.value.indeterminate);
368
+ l.value && (l.value.indeterminate = i.value.indeterminate);
356
369
  });
357
370
  function g(p) {
358
- p && (p.checked = d.value, p.indeterminate = u.value.indeterminate);
371
+ p && (p.checked = d.value, p.indeterminate = i.value.indeterminate);
359
372
  }
360
- function M(p) {
373
+ function S(p) {
361
374
  if (y.value)
362
375
  return;
363
376
  const B = p.target instanceof globalThis.HTMLInputElement ? p.target : null;
364
377
  if (o) {
365
- u.value.value !== void 0 && o.toggle(u.value.value, p), j(() => g(B));
378
+ i.value.value !== void 0 && o.toggle(i.value.value, p), j(() => g(B));
366
379
  return;
367
380
  }
368
381
  const I = !d.value;
369
- i.value || (c.value = I), l("update:modelValue", I), l("change", I, p), j(() => g(B));
382
+ r.value || (u.value = I), s("update:modelValue", I), s("change", I, p), j(() => g(B));
370
383
  }
371
384
  function $(p) {
372
- l("focus", p);
385
+ s("focus", p);
373
386
  }
374
- function m(p) {
375
- l("blur", p);
387
+ function h(p) {
388
+ s("blur", p);
376
389
  }
377
- return (p, B) => (v(), h("label", A(w.value, {
390
+ return (p, B) => (f(), m("label", R(x.value, {
378
391
  class: T.value,
379
392
  style: b.value
380
393
  }), [
381
- f("input", {
394
+ v("input", {
382
395
  ref_key: "inputRef",
383
- ref: n,
396
+ ref: l,
384
397
  class: "mu-checkbox__input",
385
398
  type: "checkbox",
386
399
  checked: d.value,
387
400
  disabled: y.value,
388
401
  name: k.value,
389
- value: C.value,
390
- onChange: M,
402
+ value: _.value,
403
+ onChange: S,
391
404
  onFocus: $,
392
- onBlur: m
393
- }, null, 40, bt),
394
- B[0] || (B[0] = f("span", {
405
+ onBlur: h
406
+ }, null, 40, kt),
407
+ B[0] || (B[0] = v("span", {
395
408
  class: "mu-checkbox__control",
396
409
  "aria-hidden": "true"
397
410
  }, [
398
- f("svg", {
411
+ v("svg", {
399
412
  class: "mu-checkbox__check",
400
413
  viewBox: "3 3 18 18",
401
414
  fill: "none",
402
415
  xmlns: "http://www.w3.org/2000/svg"
403
416
  }, [
404
- f("path", {
417
+ v("path", {
405
418
  d: "M14.77 9.28173C15.2173 8.83447 15.9418 8.83448 16.3892 9.28173C16.8364 9.72905 16.8364 10.4536 16.3892 10.9009L11.6167 15.6743C11.1694 16.1214 10.4439 16.1215 9.99658 15.6743L7.61084 13.2876C7.16359 12.8403 7.16356 12.1148 7.61084 11.6675C8.05807 11.2206 8.78273 11.2206 9.22998 11.6675L10.8062 13.2436L14.77 9.28173Z",
406
419
  fill: "currentColor"
407
420
  })
408
421
  ]),
409
- f("span", { class: "mu-checkbox__dash" })
422
+ v("span", { class: "mu-checkbox__dash" })
410
423
  ], -1)),
411
- f("span", gt, [
412
- x(p.$slots, "default", {}, void 0, !0)
424
+ v("span", _t, [
425
+ w(p.$slots, "default", {}, void 0, !0)
413
426
  ])
414
427
  ], 16));
415
428
  }
416
- }), Ct = /* @__PURE__ */ z(kt, [["__scopeId", "data-v-bf56ea83"]]), _t = /* @__PURE__ */ H({
429
+ }), yt = /* @__PURE__ */ z(Ct, [["__scopeId", "data-v-bf56ea83"]]), wt = /* @__PURE__ */ H({
417
430
  inheritAttrs: !1,
418
431
  __name: "CheckboxGroup",
419
432
  props: {
@@ -426,57 +439,57 @@ const bt = ["checked", "disabled", "name", "value"], gt = { class: "mu-checkbox_
426
439
  },
427
440
  emits: ["update:modelValue", "change"],
428
441
  setup(e, { emit: t }) {
429
- const a = e, l = t, r = R(), n = s(() => ye(a)), o = s(() => ft(a)), u = N([...n.value.defaultValue ?? []]), i = s(
430
- () => o.value ? n.value.modelValue ?? [] : u.value
431
- ), c = s(() => n.value.disabled), d = s(() => n.value.name), y = s(
432
- () => n.value.options ? n.value.options.map((g) => mt(g)) : null
433
- ), k = s(() => [pt(a), r.class]), C = s(() => {
434
- const { class: g, style: M, ...$ } = r;
442
+ const a = e, s = t, c = D(), l = n(() => ye(a)), o = n(() => mt(a)), i = N([...l.value.defaultValue ?? []]), r = n(
443
+ () => o.value ? l.value.modelValue ?? [] : i.value
444
+ ), u = n(() => l.value.disabled), d = n(() => l.value.name), y = n(
445
+ () => l.value.options ? l.value.options.map((g) => pt(g)) : null
446
+ ), k = n(() => [gt(a), c.class]), _ = n(() => {
447
+ const { class: g, style: S, ...$ } = c;
435
448
  return $;
436
- }), T = s(() => r.style);
437
- function w(g) {
438
- return we(i.value, g);
449
+ }), T = n(() => c.style);
450
+ function x(g) {
451
+ return we(r.value, g);
439
452
  }
440
- function b(g, M) {
441
- if (n.value.disabled)
453
+ function b(g, S) {
454
+ if (l.value.disabled)
442
455
  return;
443
- const $ = vt(i.value, g);
444
- o.value || (u.value = $), l("update:modelValue", $), l("change", $, M);
456
+ const $ = ht(r.value, g);
457
+ o.value || (i.value = $), s("update:modelValue", $), s("change", $, S);
445
458
  }
446
- return le(Ce, {
447
- value: i,
448
- disabled: c,
459
+ return ne(_e, {
460
+ value: r,
461
+ disabled: u,
449
462
  name: d,
450
- isChecked: w,
463
+ isChecked: x,
451
464
  toggle: b
452
- }), (g, M) => (v(), h("div", A(C.value, {
465
+ }), (g, S) => (f(), m("div", R(_.value, {
453
466
  role: "group",
454
467
  class: k.value,
455
468
  style: T.value
456
469
  }), [
457
- y.value ? (v(!0), h(K, { key: 0 }, pe(y.value, ($) => (v(), E(Ct, {
470
+ y.value ? (f(!0), m(X, { key: 0 }, pe(y.value, ($) => (f(), E(yt, {
458
471
  key: `${typeof $.value}:${$.value}`,
459
472
  value: $.value,
460
473
  disabled: $.disabled
461
474
  }, {
462
- default: X(() => [
463
- x(g.$slots, "label", { option: $ }, () => [
464
- G(O($.label), 1)
475
+ default: W(() => [
476
+ w(g.$slots, "label", { option: $ }, () => [
477
+ G(A($.label), 1)
465
478
  ], !0)
466
479
  ]),
467
480
  _: 2
468
- }, 1032, ["value", "disabled"]))), 128)) : x(g.$slots, "default", { key: 1 }, void 0, !0)
481
+ }, 1032, ["value", "disabled"]))), 128)) : w(g.$slots, "default", { key: 1 }, void 0, !0)
469
482
  ], 16));
470
483
  }
471
- }), Ja = /* @__PURE__ */ z(_t, [["__scopeId", "data-v-852a5fc4"]]), yt = 3e3, wt = {
484
+ }), Ya = /* @__PURE__ */ z(wt, [["__scopeId", "data-v-852a5fc4"]]), xt = 3e3, Vt = {
472
485
  close: () => {
473
486
  }
474
- }, U = Ie({
487
+ }, q = Ie({
475
488
  items: []
476
489
  });
477
- let Vt = 1;
490
+ let $t = 1;
478
491
  const Z = /* @__PURE__ */ new Map();
479
- function xt(e) {
492
+ function Bt(e) {
480
493
  return typeof e == "string" ? { title: e } : {
481
494
  title: e.title,
482
495
  description: e.description,
@@ -489,89 +502,89 @@ function xt(e) {
489
502
  function re(e) {
490
503
  return e.duration > 0;
491
504
  }
492
- function $t(e) {
493
- return U.items.findIndex((t) => t.id === e);
505
+ function Tt(e) {
506
+ return q.items.findIndex((t) => t.id === e);
494
507
  }
495
- function Ve(e) {
496
- return U.items.find((t) => t.id === e);
508
+ function xe(e) {
509
+ return q.items.find((t) => t.id === e);
497
510
  }
498
511
  function ce(e) {
499
512
  const t = Z.get(e);
500
513
  t && t.timer !== null && (globalThis.clearTimeout(t.timer), t.timer = null);
501
514
  }
502
515
  function de(e) {
503
- const t = $t(e);
504
- t < 0 || (ce(e), Z.delete(e), U.items.splice(t, 1));
516
+ const t = Tt(e);
517
+ t < 0 || (ce(e), Z.delete(e), q.items.splice(t, 1));
505
518
  }
506
- function xe(e, t) {
519
+ function Ve(e, t) {
507
520
  const a = Z.get(e);
508
521
  a && (ce(e), a.remainingDuration = t, a.deadline = Date.now() + t, a.isPaused = !1, a.timer = globalThis.setTimeout(() => {
509
522
  de(e);
510
523
  }, t));
511
524
  }
512
- function Bt(e, t) {
525
+ function Mt(e, t) {
513
526
  return {
514
- id: Vt++,
527
+ id: $t++,
515
528
  type: e,
516
529
  title: t.title,
517
530
  description: t.description,
518
- duration: t.duration ?? yt,
531
+ duration: t.duration ?? xt,
519
532
  closable: t.closable ?? !1,
520
533
  resetOnHover: t.resetOnHover ?? !1,
521
534
  icon: t.icon
522
535
  };
523
536
  }
524
- function Tt() {
537
+ function St() {
525
538
  return typeof globalThis.window < "u" && typeof globalThis.document < "u";
526
539
  }
527
- function Mt(e, t) {
528
- if (!Tt())
529
- return wt;
530
- const a = xt(t), l = Bt(e, a);
531
- return U.items.push(l), Z.set(l.id, {
540
+ function Lt(e, t) {
541
+ if (!St())
542
+ return Vt;
543
+ const a = Bt(t), s = Mt(e, a);
544
+ return q.items.push(s), Z.set(s.id, {
532
545
  timer: null,
533
546
  deadline: 0,
534
- remainingDuration: l.duration,
547
+ remainingDuration: s.duration,
535
548
  isPaused: !1
536
- }), re(l) && xe(l.id, l.duration), {
537
- close: () => de(l.id)
549
+ }), re(s) && Ve(s.id, s.duration), {
550
+ close: () => de(s.id)
538
551
  };
539
552
  }
540
553
  function F(e) {
541
- return (t) => Mt(e, t);
554
+ return (t) => Lt(e, t);
542
555
  }
543
- const Qa = {
556
+ const es = {
544
557
  success: F("success"),
545
558
  warning: F("warning"),
546
559
  loading: F("loading"),
547
560
  error: F("error"),
548
561
  danger: F("danger")
549
562
  };
550
- function St(e) {
563
+ function Pt(e) {
551
564
  de(e);
552
565
  }
553
- function Lt(e) {
554
- const t = Z.get(e), a = Ve(e);
566
+ function Nt(e) {
567
+ const t = Z.get(e), a = xe(e);
555
568
  !t || !a || t.isPaused || !a.resetOnHover || !re(a) || (t.remainingDuration = Math.max(t.deadline - Date.now(), 0), ce(e), t.isPaused = !0);
556
569
  }
557
- function Pt(e) {
558
- const t = Z.get(e), a = Ve(e);
559
- !t || !a || !t.isPaused || !a.resetOnHover || !re(a) || xe(e, t.remainingDuration || a.duration);
570
+ function Ht(e) {
571
+ const t = Z.get(e), a = xe(e);
572
+ !t || !a || !t.isPaused || !a.resetOnHover || !re(a) || Ve(e, t.remainingDuration || a.duration);
560
573
  }
561
- const Nt = {
574
+ const zt = {
562
575
  class: "mu-message-list",
563
576
  "aria-live": "polite",
564
577
  "aria-atomic": "true"
565
- }, Ht = ["onMouseenter", "onMouseleave"], zt = {
578
+ }, It = ["onMouseenter", "onMouseleave"], Ot = {
566
579
  class: "mu-message__icon",
567
580
  "aria-hidden": "true"
568
- }, It = { class: "mu-message__content" }, Ot = { class: "mu-message__title" }, At = {
581
+ }, At = { class: "mu-message__content" }, Rt = { class: "mu-message__title" }, Dt = {
569
582
  key: 0,
570
583
  class: "mu-message__description"
571
- }, Rt = ["onClick"], Dt = /* @__PURE__ */ H({
584
+ }, Gt = ["onClick"], Et = /* @__PURE__ */ H({
572
585
  __name: "MessageList",
573
586
  setup(e) {
574
- const t = s(() => U.items), a = H({
587
+ const t = n(() => q.items), a = H({
575
588
  name: "MarkupIcon",
576
589
  props: {
577
590
  markup: {
@@ -579,84 +592,84 @@ const Nt = {
579
592
  required: !0
580
593
  }
581
594
  },
582
- setup(i) {
583
- return () => be("span", { class: "mu-message__icon-markup", innerHTML: i.markup });
595
+ setup(r) {
596
+ return () => be("span", { class: "mu-message__icon-markup", innerHTML: r.markup });
584
597
  }
585
598
  });
586
- function l(i) {
587
- return typeof i != "string";
599
+ function s(r) {
600
+ return typeof r != "string";
588
601
  }
589
- function r(i) {
590
- Lt(i);
602
+ function c(r) {
603
+ Nt(r);
591
604
  }
592
- function n(i) {
593
- Pt(i);
605
+ function l(r) {
606
+ Ht(r);
594
607
  }
595
- function o(i) {
596
- if (!(i instanceof globalThis.HTMLElement))
608
+ function o(r) {
609
+ if (!(r instanceof globalThis.HTMLElement))
597
610
  return;
598
- const c = i.getBoundingClientRect();
599
- i.style.width = `${c.width}px`, i.style.height = `${c.height}px`;
611
+ const u = r.getBoundingClientRect();
612
+ r.style.width = `${u.width}px`, r.style.height = `${u.height}px`;
600
613
  }
601
- const u = {
614
+ const i = {
602
615
  success: '<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 6.5L9.5 17L4 11.5" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',
603
616
  warning: '<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 4.5L20 18.5H4L12 4.5Z" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/><path d="M12 9.5V13.5" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="16.5" r="1" fill="currentColor"/></svg>',
604
617
  loading: '<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="8" stroke="currentColor" stroke-width="2"/><path d="M12 8V12" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><path d="M12 12H15" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>',
605
618
  error: '<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="8" stroke="currentColor" stroke-width="2"/><path d="M12 9V12.5" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="15.5" r="1" fill="currentColor"/></svg>',
606
619
  danger: '<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="8" stroke="currentColor" stroke-width="2"/><path d="M9 9L15 15" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><path d="M15 9L9 15" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>'
607
620
  };
608
- return (i, c) => (v(), h("div", Nt, [
621
+ return (r, u) => (f(), m("div", zt, [
609
622
  Oe(Ae, {
610
623
  name: "mu-message-fade",
611
624
  tag: "div",
612
625
  class: "mu-message-list__stack",
613
626
  onBeforeLeave: o
614
627
  }, {
615
- default: X(() => [
616
- (v(!0), h(K, null, pe(t.value, (d) => (v(), h("div", {
628
+ default: W(() => [
629
+ (f(!0), m(X, null, pe(t.value, (d) => (f(), m("div", {
617
630
  key: d.id,
618
- class: W(["mu-message", [`mu-message--${d.type}`, { "mu-message--compact": !d.description }]]),
631
+ class: J(["mu-message", [`mu-message--${d.type}`, { "mu-message--compact": !d.description }]]),
619
632
  role: "status",
620
- onMouseenter: (y) => r(d.id),
621
- onMouseleave: (y) => n(d.id)
633
+ onMouseenter: (y) => c(d.id),
634
+ onMouseleave: (y) => l(d.id)
622
635
  }, [
623
- f("span", zt, [
624
- d.icon && l(d.icon) ? (v(), E(Re(d.icon), { key: 0 })) : (v(), E(D(a), {
636
+ v("span", Ot, [
637
+ d.icon && s(d.icon) ? (f(), E(Re(d.icon), { key: 0 })) : (f(), E(O(a), {
625
638
  key: 1,
626
- markup: typeof d.icon == "string" ? d.icon : u[d.type]
639
+ markup: typeof d.icon == "string" ? d.icon : i[d.type]
627
640
  }, null, 8, ["markup"]))
628
641
  ]),
629
- f("div", It, [
630
- f("div", Ot, O(d.title), 1),
631
- d.description ? (v(), h("p", At, O(d.description), 1)) : S("", !0)
642
+ v("div", At, [
643
+ v("div", Rt, A(d.title), 1),
644
+ d.description ? (f(), m("p", Dt, A(d.description), 1)) : M("", !0)
632
645
  ]),
633
- d.closable ? (v(), h("button", {
646
+ d.closable ? (f(), m("button", {
634
647
  key: 0,
635
648
  type: "button",
636
649
  class: "mu-message__close",
637
650
  "aria-label": "Close message",
638
- onClick: (y) => D(St)(d.id)
639
- }, [...c[0] || (c[0] = [
640
- f("svg", {
651
+ onClick: (y) => O(Pt)(d.id)
652
+ }, [...u[0] || (u[0] = [
653
+ v("svg", {
641
654
  viewBox: "0 0 24 24",
642
655
  fill: "none",
643
656
  xmlns: "http://www.w3.org/2000/svg"
644
657
  }, [
645
- f("path", {
658
+ v("path", {
646
659
  d: "M5 5L19 19M19 5L5 19",
647
660
  stroke: "white",
648
661
  "stroke-width": "1.8",
649
662
  "stroke-linecap": "round"
650
663
  })
651
664
  ], -1)
652
- ])], 8, Rt)) : S("", !0)
653
- ], 42, Ht))), 128))
665
+ ])], 8, Gt)) : M("", !0)
666
+ ], 42, It))), 128))
654
667
  ]),
655
668
  _: 1
656
669
  })
657
670
  ]));
658
671
  }
659
- }), Ya = /* @__PURE__ */ z(Dt, [["__scopeId", "data-v-debf98d8"]]), Gt = {
672
+ }), ts = /* @__PURE__ */ z(Et, [["__scopeId", "data-v-debf98d8"]]), jt = {
660
673
  medium: {
661
674
  width: "548px",
662
675
  minHeight: "228px"
@@ -667,12 +680,12 @@ const Nt = {
667
680
  }
668
681
  };
669
682
  function fe(e = {}) {
670
- const t = e.size ?? "medium", a = Gt[t], l = e.variant ?? "form";
683
+ const t = e.size ?? "medium", a = jt[t], s = e.variant ?? "form";
671
684
  return {
672
685
  visible: e.visible ?? !1,
673
686
  title: e.title ?? "",
674
687
  status: e.status ?? "default",
675
- variant: l,
688
+ variant: s,
676
689
  size: t,
677
690
  width: e.width ?? a.width,
678
691
  minHeight: a.minHeight,
@@ -682,12 +695,12 @@ function fe(e = {}) {
682
695
  okText: e.okText ?? "Confirm",
683
696
  cancelText: e.cancelText ?? "Cancel",
684
697
  // feedback 形态默认隐藏 cancel;显式传值仍优先
685
- hideCancel: e.hideCancel ?? l === "feedback",
698
+ hideCancel: e.hideCancel ?? s === "feedback",
686
699
  hideOk: e.hideOk ?? !1,
687
700
  okLoading: e.okLoading ?? !1
688
701
  };
689
702
  }
690
- function Et(e = {}) {
703
+ function Zt(e = {}) {
691
704
  const t = fe(e), a = [
692
705
  "mu-modal",
693
706
  `mu-modal--${t.size}`,
@@ -696,7 +709,7 @@ function Et(e = {}) {
696
709
  ];
697
710
  return t.variant === "feedback" && a.push("mu-modal--feedback"), a;
698
711
  }
699
- function jt(e = {}) {
712
+ function Ft(e = {}) {
700
713
  const t = fe(e);
701
714
  return t.variant === "feedback" ? {
702
715
  type: "secondary",
@@ -708,13 +721,13 @@ function jt(e = {}) {
708
721
  type: "primary"
709
722
  };
710
723
  }
711
- const Zt = {
724
+ const Ut = {
712
725
  key: 0,
713
726
  class: "mu-modal-root"
714
- }, Ft = { class: "mu-modal__header" }, Ut = ["data-status"], qt = { class: "mu-modal__body" }, Kt = {
727
+ }, qt = { class: "mu-modal__header" }, Kt = ["data-status"], Xt = { class: "mu-modal__body" }, Wt = {
715
728
  key: 0,
716
729
  class: "mu-modal__footer"
717
- }, Xt = /* @__PURE__ */ H({
730
+ }, Jt = /* @__PURE__ */ H({
718
731
  inheritAttrs: !1,
719
732
  __name: "Modal",
720
733
  props: {
@@ -735,92 +748,92 @@ const Zt = {
735
748
  },
736
749
  emits: ["update:visible", "ok", "cancel", "close"],
737
750
  setup(e, { emit: t }) {
738
- const a = e, l = t, r = R(), n = s(() => fe(a)), o = s(() => [Et(a), r.class]), u = s(() => {
739
- const { class: m, style: p, ...B } = r;
751
+ const a = e, s = t, c = D(), l = n(() => fe(a)), o = n(() => [Zt(a), c.class]), i = n(() => {
752
+ const { class: h, style: p, ...B } = c;
740
753
  return B;
741
- }), i = s(() => jt(a)), c = s(
742
- () => n.value.variant === "feedback" && n.value.hideCancel
743
- ), d = s(() => [
754
+ }), r = n(() => Ft(a)), u = n(
755
+ () => l.value.variant === "feedback" && l.value.hideCancel
756
+ ), d = n(() => [
744
757
  {
745
- width: n.value.width,
746
- minHeight: n.value.minHeight
758
+ width: l.value.width,
759
+ minHeight: l.value.minHeight
747
760
  },
748
- r.style
749
- ]), y = `mu-modal-title-${Math.random().toString(36).slice(2, 10)}`, C = typeof globalThis.document < "u" ? globalThis.document : null;
761
+ c.style
762
+ ]), y = `mu-modal-title-${Math.random().toString(36).slice(2, 10)}`, _ = typeof globalThis.document < "u" ? globalThis.document : null;
750
763
  function T() {
751
- l("update:visible", !1);
764
+ s("update:visible", !1);
752
765
  }
753
- function w() {
754
- n.value.maskClosable && (T(), l("cancel", new globalThis.MouseEvent("click")));
766
+ function x() {
767
+ l.value.maskClosable && (T(), s("cancel", new globalThis.MouseEvent("click")));
755
768
  }
756
769
  function b() {
757
- T(), l("close");
770
+ T(), s("close");
758
771
  }
759
- function g(m) {
760
- l("cancel", m), T();
772
+ function g(h) {
773
+ s("cancel", h), T();
761
774
  }
762
- function M(m) {
763
- l("ok", m);
775
+ function S(h) {
776
+ s("ok", h);
764
777
  }
765
- function $(m) {
766
- m.key !== "Escape" || !n.value.visible || !n.value.escToClose || (T(), l("close"));
778
+ function $(h) {
779
+ h.key !== "Escape" || !l.value.visible || !l.value.escToClose || (T(), s("close"));
767
780
  }
768
- return ne(() => {
769
- C && C.addEventListener("keydown", $);
781
+ return le(() => {
782
+ _ && _.addEventListener("keydown", $);
770
783
  }), oe(() => {
771
- C && (C.removeEventListener("keydown", $), C.body.style.overflow = "");
784
+ _ && (_.removeEventListener("keydown", $), _.body.style.overflow = "");
772
785
  }), ue(
773
- () => n.value.visible,
774
- (m) => {
775
- C && (C.body.style.overflow = m ? "hidden" : "");
786
+ () => l.value.visible,
787
+ (h) => {
788
+ _ && (_.body.style.overflow = h ? "hidden" : "");
776
789
  },
777
790
  { immediate: !0 }
778
- ), (m, p) => (v(), E(De, { to: "body" }, [
779
- n.value.visible ? (v(), h("div", Zt, [
780
- f("div", {
791
+ ), (h, p) => (f(), E(De, { to: "body" }, [
792
+ l.value.visible ? (f(), m("div", Ut, [
793
+ v("div", {
781
794
  class: "mu-modal__mask",
782
- onClick: w
795
+ onClick: x
783
796
  }),
784
- f("div", A(u.value, {
797
+ v("div", R(i.value, {
785
798
  class: o.value,
786
799
  style: d.value,
787
800
  role: "dialog",
788
801
  "aria-modal": "true",
789
802
  "aria-labelledby": y
790
803
  }), [
791
- f("header", Ft, [
792
- f("div", {
804
+ v("header", qt, [
805
+ v("div", {
793
806
  id: y,
794
807
  class: "mu-modal__title",
795
- "data-status": n.value.status
808
+ "data-status": l.value.status
796
809
  }, [
797
- x(m.$slots, "title", {}, () => [
798
- G(O(n.value.title), 1)
810
+ w(h.$slots, "title", {}, () => [
811
+ G(A(l.value.title), 1)
799
812
  ], !0)
800
- ], 8, Ut),
801
- n.value.closable ? (v(), h("button", {
813
+ ], 8, Kt),
814
+ l.value.closable ? (f(), m("button", {
802
815
  key: 0,
803
816
  type: "button",
804
817
  class: "mu-modal__close",
805
818
  "aria-label": "Close dialog",
806
819
  onClick: b
807
820
  }, [...p[0] || (p[0] = [
808
- f("span", {
821
+ v("span", {
809
822
  class: "mu-modal__close-icon",
810
823
  "aria-hidden": "true"
811
824
  }, [
812
- f("svg", {
825
+ v("svg", {
813
826
  viewBox: "0 0 20 20",
814
827
  fill: "none",
815
828
  xmlns: "http://www.w3.org/2000/svg"
816
829
  }, [
817
- f("path", {
830
+ v("path", {
818
831
  d: "M5 5L15 15",
819
832
  stroke: "currentColor",
820
833
  "stroke-width": "1.8",
821
834
  "stroke-linecap": "round"
822
835
  }),
823
- f("path", {
836
+ v("path", {
824
837
  d: "M15 5L5 15",
825
838
  stroke: "currentColor",
826
839
  "stroke-width": "1.8",
@@ -828,94 +841,94 @@ const Zt = {
828
841
  })
829
842
  ])
830
843
  ], -1)
831
- ])])) : S("", !0)
844
+ ])])) : M("", !0)
832
845
  ]),
833
- f("div", qt, [
834
- x(m.$slots, "default", {}, void 0, !0)
846
+ v("div", Xt, [
847
+ w(h.$slots, "default", {}, void 0, !0)
835
848
  ]),
836
- m.$slots.footer || !n.value.hideOk || !n.value.hideCancel ? (v(), h("footer", Kt, [
837
- x(m.$slots, "footer", {}, () => [
838
- n.value.hideCancel ? S("", !0) : (v(), E(D(me), {
849
+ h.$slots.footer || !l.value.hideOk || !l.value.hideCancel ? (f(), m("footer", Wt, [
850
+ w(h.$slots, "footer", {}, () => [
851
+ l.value.hideCancel ? M("", !0) : (f(), E(O(me), {
839
852
  key: 0,
840
853
  type: "ghost",
841
854
  class: "mu-modal__cancel",
842
855
  onClick: g
843
856
  }, {
844
- default: X(() => [
845
- G(O(n.value.cancelText), 1)
857
+ default: W(() => [
858
+ G(A(l.value.cancelText), 1)
846
859
  ]),
847
860
  _: 1
848
861
  })),
849
- n.value.hideOk ? S("", !0) : (v(), E(D(me), A({ key: 1 }, i.value, {
850
- loading: n.value.okLoading,
851
- class: ["mu-modal__ok", { "mu-modal__ok--block": c.value }],
852
- onClick: M
862
+ l.value.hideOk ? M("", !0) : (f(), E(O(me), R({ key: 1 }, r.value, {
863
+ loading: l.value.okLoading,
864
+ class: ["mu-modal__ok", { "mu-modal__ok--block": u.value }],
865
+ onClick: S
853
866
  }), {
854
- default: X(() => [
855
- G(O(n.value.okText), 1)
867
+ default: W(() => [
868
+ G(A(l.value.okText), 1)
856
869
  ]),
857
870
  _: 1
858
871
  }, 16, ["loading", "class"]))
859
872
  ], !0)
860
- ])) : S("", !0)
873
+ ])) : M("", !0)
861
874
  ], 16)
862
- ])) : S("", !0)
875
+ ])) : M("", !0)
863
876
  ]));
864
877
  }
865
- }), Wt = /* @__PURE__ */ z(Xt, [["__scopeId", "data-v-e94991b0"]]);
866
- function Jt(e) {
878
+ }), Qt = /* @__PURE__ */ z(Jt, [["__scopeId", "data-v-e94991b0"]]);
879
+ function Yt(e) {
867
880
  return e === void 0 ? null : typeof e == "function" ? e() : e;
868
881
  }
869
- function q(e = {}) {
882
+ function K(e = {}) {
870
883
  return typeof globalThis.document > "u" ? Promise.resolve(!1) : new Promise((t) => {
871
884
  const a = globalThis.document.createElement("div");
872
885
  globalThis.document.body.appendChild(a);
873
- const l = N(!0);
874
- let r = null, n = !1;
886
+ const s = N(!0);
887
+ let c = null, l = !1;
875
888
  const o = () => {
876
- r && (r.unmount(), r = null), a.parentNode && a.parentNode.removeChild(a);
877
- }, u = (d) => {
878
- n || (n = !0, l.value = !1, queueMicrotask(() => {
889
+ c && (c.unmount(), c = null), a.parentNode && a.parentNode.removeChild(a);
890
+ }, i = (d) => {
891
+ l || (l = !0, s.value = !1, queueMicrotask(() => {
879
892
  o(), t(d);
880
893
  }));
881
- }, { content: i, ...c } = e;
882
- r = Ge({
894
+ }, { content: r, ...u } = e;
895
+ c = Ge({
883
896
  render() {
884
897
  return be(
885
- Wt,
898
+ Qt,
886
899
  {
887
- ...c,
888
- visible: l.value,
900
+ ...u,
901
+ visible: s.value,
889
902
  "onUpdate:visible": (d) => {
890
- d || u(!1);
903
+ d || i(!1);
891
904
  },
892
- onOk: () => u(!0),
893
- onCancel: () => u(!1),
894
- onClose: () => u(!1)
905
+ onOk: () => i(!0),
906
+ onCancel: () => i(!1),
907
+ onClose: () => i(!1)
895
908
  },
896
909
  {
897
- default: () => Jt(i)
910
+ default: () => Yt(r)
898
911
  }
899
912
  );
900
913
  }
901
- }), r.mount(a);
914
+ }), c.mount(a);
902
915
  });
903
916
  }
904
- const es = {
917
+ const as = {
905
918
  /** 通用版本,透传所有 props,默认 variant='form'。 */
906
- show: q,
919
+ show: K,
907
920
  /** 通用确认弹窗,等价于 show,使用 form 形态 + 自定义 status。 */
908
- confirm: (e = {}) => q(e),
921
+ confirm: (e = {}) => K(e),
909
922
  /** 反馈形态 + status='success'。 */
910
- success: (e = {}) => q({ ...e, variant: "feedback", status: "success" }),
923
+ success: (e = {}) => K({ ...e, variant: "feedback", status: "success" }),
911
924
  /** 反馈形态 + status='danger'。 */
912
- danger: (e = {}) => q({ ...e, variant: "feedback", status: "danger" })
913
- }, $e = Symbol("MuRadioGroup"), Qt = ["horizontal", "vertical"];
914
- function Yt(e, t) {
925
+ danger: (e = {}) => K({ ...e, variant: "feedback", status: "danger" })
926
+ }, $e = Symbol("MuRadioGroup"), ea = ["horizontal", "vertical"];
927
+ function ta(e, t) {
915
928
  return typeof t == "string" && e.includes(t);
916
929
  }
917
- function ea(e) {
918
- return Yt(Qt, e);
930
+ function aa(e) {
931
+ return ta(ea, e);
919
932
  }
920
933
  function Be(e = {}) {
921
934
  return {
@@ -932,27 +945,27 @@ function Te(e = {}) {
932
945
  defaultValue: e.defaultValue,
933
946
  disabled: e.disabled ?? !1,
934
947
  name: e.name,
935
- direction: ea(e.direction) ? e.direction : "horizontal"
948
+ direction: aa(e.direction) ? e.direction : "horizontal"
936
949
  };
937
950
  }
938
- function ta(e = {}) {
951
+ function sa(e = {}) {
939
952
  return e.modelValue !== void 0;
940
953
  }
941
- function aa(e = {}) {
954
+ function na(e = {}) {
942
955
  return e.modelValue !== void 0;
943
956
  }
944
957
  function te(e, t) {
945
958
  return Object.is(e, t);
946
959
  }
947
- function sa(e = {}, t = {}) {
948
- const a = Be(e), l = ["mu-radio"];
949
- return t.checked && l.push("is-checked"), (t.disabled || a.disabled) && l.push("is-disabled"), l;
960
+ function la(e = {}, t = {}) {
961
+ const a = Be(e), s = ["mu-radio"];
962
+ return t.checked && s.push("is-checked"), (t.disabled || a.disabled) && s.push("is-disabled"), s;
950
963
  }
951
- function la(e = {}) {
964
+ function oa(e = {}) {
952
965
  const t = Te(e), a = ["mu-radio-group", `mu-radio-group--${t.direction}`];
953
966
  return t.disabled && a.push("is-disabled"), a;
954
967
  }
955
- const na = ["checked", "disabled", "name", "value"], oa = { class: "mu-radio__label" }, ua = /* @__PURE__ */ H({
968
+ const ua = ["checked", "disabled", "name", "value"], ia = { class: "mu-radio__label" }, ra = /* @__PURE__ */ H({
956
969
  inheritAttrs: !1,
957
970
  __name: "Radio",
958
971
  props: {
@@ -964,68 +977,68 @@ const na = ["checked", "disabled", "name", "value"], oa = { class: "mu-radio__la
964
977
  },
965
978
  emits: ["update:modelValue", "change", "focus", "blur"],
966
979
  setup(e, { emit: t }) {
967
- const a = e, l = t, r = R(), n = se($e, null), o = s(() => Be(a)), u = s(() => ta(a)), i = N(o.value.defaultChecked), c = s(() => n ? te(n.value.value, o.value.value) : u.value ? te(o.value.modelValue, o.value.value) : i.value), d = s(
968
- () => o.value.disabled || !!(n != null && n.disabled.value)
969
- ), y = s(() => (n == null ? void 0 : n.name.value) ?? o.value.name), k = s(() => String(o.value.value)), C = s(() => [
970
- sa(a, {
971
- checked: c.value,
980
+ const a = e, s = t, c = D(), l = se($e, null), o = n(() => Be(a)), i = n(() => sa(a)), r = N(o.value.defaultChecked), u = n(() => l ? te(l.value.value, o.value.value) : i.value ? te(o.value.modelValue, o.value.value) : r.value), d = n(
981
+ () => o.value.disabled || !!(l != null && l.disabled.value)
982
+ ), y = n(() => (l == null ? void 0 : l.name.value) ?? o.value.name), k = n(() => String(o.value.value)), _ = n(() => [
983
+ la(a, {
984
+ checked: u.value,
972
985
  disabled: d.value
973
986
  }),
974
- r.class
975
- ]), T = s(() => {
976
- const { class: m, style: p, ...B } = r;
987
+ c.class
988
+ ]), T = n(() => {
989
+ const { class: h, style: p, ...B } = c;
977
990
  return B;
978
- }), w = s(() => r.style);
979
- function b(m, p) {
980
- u.value || (i.value = !0), l("update:modelValue", m), l("change", m, p);
991
+ }), x = n(() => c.style);
992
+ function b(h, p) {
993
+ i.value || (r.value = !0), s("update:modelValue", h), s("change", h, p);
981
994
  }
982
- function g(m) {
995
+ function g(h) {
983
996
  if (d.value)
984
997
  return;
985
- const p = o.value.value, B = m.target instanceof globalThis.HTMLInputElement ? m.target : null;
986
- if (n) {
987
- n.select(p, m), j(() => {
988
- B && (B.checked = c.value);
998
+ const p = o.value.value, B = h.target instanceof globalThis.HTMLInputElement ? h.target : null;
999
+ if (l) {
1000
+ l.select(p, h), j(() => {
1001
+ B && (B.checked = u.value);
989
1002
  });
990
1003
  return;
991
1004
  }
992
- b(p, m), j(() => {
993
- B && (B.checked = c.value);
1005
+ b(p, h), j(() => {
1006
+ B && (B.checked = u.value);
994
1007
  });
995
1008
  }
996
- function M(m) {
997
- l("focus", m);
1009
+ function S(h) {
1010
+ s("focus", h);
998
1011
  }
999
- function $(m) {
1000
- l("blur", m);
1012
+ function $(h) {
1013
+ s("blur", h);
1001
1014
  }
1002
- return (m, p) => (v(), h("label", A(T.value, {
1003
- class: C.value,
1004
- style: w.value
1015
+ return (h, p) => (f(), m("label", R(T.value, {
1016
+ class: _.value,
1017
+ style: x.value
1005
1018
  }), [
1006
- f("input", {
1019
+ v("input", {
1007
1020
  class: "mu-radio__input",
1008
1021
  type: "radio",
1009
- checked: c.value,
1022
+ checked: u.value,
1010
1023
  disabled: d.value,
1011
1024
  name: y.value,
1012
1025
  value: k.value,
1013
1026
  onChange: g,
1014
- onFocus: M,
1027
+ onFocus: S,
1015
1028
  onBlur: $
1016
- }, null, 40, na),
1017
- p[0] || (p[0] = f("span", {
1029
+ }, null, 40, ua),
1030
+ p[0] || (p[0] = v("span", {
1018
1031
  class: "mu-radio__control",
1019
1032
  "aria-hidden": "true"
1020
1033
  }, [
1021
- f("span", { class: "mu-radio__dot" })
1034
+ v("span", { class: "mu-radio__dot" })
1022
1035
  ], -1)),
1023
- f("span", oa, [
1024
- x(m.$slots, "default", {}, void 0, !0)
1036
+ v("span", ia, [
1037
+ w(h.$slots, "default", {}, void 0, !0)
1025
1038
  ])
1026
1039
  ], 16));
1027
1040
  }
1028
- }), ts = /* @__PURE__ */ z(ua, [["__scopeId", "data-v-f1283749"]]), ia = /* @__PURE__ */ H({
1041
+ }), ss = /* @__PURE__ */ z(ra, [["__scopeId", "data-v-f1283749"]]), ca = /* @__PURE__ */ H({
1029
1042
  inheritAttrs: !1,
1030
1043
  __name: "RadioGroup",
1031
1044
  props: {
@@ -1037,37 +1050,37 @@ const na = ["checked", "disabled", "name", "value"], oa = { class: "mu-radio__la
1037
1050
  },
1038
1051
  emits: ["update:modelValue", "change"],
1039
1052
  setup(e, { emit: t }) {
1040
- const a = e, l = t, r = R(), n = s(() => Te(a)), o = s(() => aa(a)), u = N(n.value.defaultValue), i = s(
1041
- () => o.value ? n.value.modelValue : u.value
1042
- ), c = s(() => n.value.disabled), d = s(() => n.value.name), y = s(() => [la(a), r.class]), k = s(() => {
1043
- const { class: w, style: b, ...g } = r;
1053
+ const a = e, s = t, c = D(), l = n(() => Te(a)), o = n(() => na(a)), i = N(l.value.defaultValue), r = n(
1054
+ () => o.value ? l.value.modelValue : i.value
1055
+ ), u = n(() => l.value.disabled), d = n(() => l.value.name), y = n(() => [oa(a), c.class]), k = n(() => {
1056
+ const { class: x, style: b, ...g } = c;
1044
1057
  return g;
1045
- }), C = s(() => r.style);
1046
- function T(w, b) {
1047
- n.value.disabled || te(i.value, w) || (o.value || (u.value = w), l("update:modelValue", w), l("change", w, b));
1058
+ }), _ = n(() => c.style);
1059
+ function T(x, b) {
1060
+ l.value.disabled || te(r.value, x) || (o.value || (i.value = x), s("update:modelValue", x), s("change", x, b));
1048
1061
  }
1049
- return le($e, {
1050
- value: i,
1051
- disabled: c,
1062
+ return ne($e, {
1063
+ value: r,
1064
+ disabled: u,
1052
1065
  name: d,
1053
1066
  select: T
1054
- }), (w, b) => (v(), h("div", A(k.value, {
1067
+ }), (x, b) => (f(), m("div", R(k.value, {
1055
1068
  role: "radiogroup",
1056
1069
  class: y.value,
1057
- style: C.value
1070
+ style: _.value
1058
1071
  }), [
1059
- x(w.$slots, "default", {}, void 0, !0)
1072
+ w(x.$slots, "default", {}, void 0, !0)
1060
1073
  ], 16));
1061
1074
  }
1062
- }), as = /* @__PURE__ */ z(ia, [["__scopeId", "data-v-3879fec4"]]), ra = ["circle", "round", "line"], ca = ["small", "medium"];
1075
+ }), ns = /* @__PURE__ */ z(ca, [["__scopeId", "data-v-3879fec4"]]), da = ["circle", "round", "line"], fa = ["small", "medium"];
1063
1076
  function Me(e, t) {
1064
1077
  return typeof t == "string" && e.includes(t);
1065
1078
  }
1066
- function da(e) {
1067
- return Me(ra, e);
1079
+ function va(e) {
1080
+ return Me(da, e);
1068
1081
  }
1069
- function fa(e) {
1070
- return Me(ca, e);
1082
+ function ma(e) {
1083
+ return Me(fa, e);
1071
1084
  }
1072
1085
  function ae(e = {}) {
1073
1086
  return {
@@ -1075,8 +1088,8 @@ function ae(e = {}) {
1075
1088
  defaultChecked: e.defaultChecked ?? !1,
1076
1089
  disabled: e.disabled ?? !1,
1077
1090
  loading: e.loading ?? !1,
1078
- type: da(e.type) ? e.type : "circle",
1079
- size: fa(e.size) ? e.size : "medium",
1091
+ type: va(e.type) ? e.type : "circle",
1092
+ size: ma(e.size) ? e.size : "medium",
1080
1093
  checkedValue: e.checkedValue ?? !0,
1081
1094
  uncheckedValue: e.uncheckedValue ?? !1,
1082
1095
  checkedColor: e.checkedColor,
@@ -1086,35 +1099,35 @@ function ae(e = {}) {
1086
1099
  uncheckedText: e.uncheckedText
1087
1100
  };
1088
1101
  }
1089
- function va(e = {}) {
1102
+ function ha(e = {}) {
1090
1103
  return e.modelValue !== void 0;
1091
1104
  }
1092
1105
  function Se(e, t) {
1093
1106
  return Object.is(e, t.checkedValue);
1094
1107
  }
1095
- function ma(e, t) {
1108
+ function pa(e, t) {
1096
1109
  return Se(e, t) ? t.uncheckedValue : t.checkedValue;
1097
1110
  }
1098
- function ha(e) {
1111
+ function ba(e) {
1099
1112
  return e.type !== "line" && e.size !== "small";
1100
1113
  }
1101
- function pa(e = {}, t = {}) {
1102
- const a = ae(e), l = ["mu-switch", `mu-switch--${a.type}`, `mu-switch--${a.size}`];
1103
- return t.checked && l.push("is-checked"), a.disabled && l.push("is-disabled"), (a.loading || t.loading) && l.push("is-loading"), l;
1114
+ function ga(e = {}, t = {}) {
1115
+ const a = ae(e), s = ["mu-switch", `mu-switch--${a.type}`, `mu-switch--${a.size}`];
1116
+ return t.checked && s.push("is-checked"), a.disabled && s.push("is-disabled"), (a.loading || t.loading) && s.push("is-loading"), s;
1104
1117
  }
1105
- const ba = ["aria-checked", "disabled"], ga = {
1118
+ const ka = ["aria-checked", "disabled"], _a = {
1106
1119
  class: "mu-switch__thumb",
1107
1120
  "aria-hidden": "true"
1108
- }, ka = {
1121
+ }, Ca = {
1109
1122
  key: 0,
1110
1123
  class: "mu-switch__loading-icon",
1111
1124
  viewBox: "0 0 16 16",
1112
1125
  fill: "none",
1113
1126
  xmlns: "http://www.w3.org/2000/svg"
1114
- }, Ca = {
1127
+ }, ya = {
1115
1128
  key: 0,
1116
1129
  class: "mu-switch__label"
1117
- }, _a = /* @__PURE__ */ H({
1130
+ }, wa = /* @__PURE__ */ H({
1118
1131
  inheritAttrs: !1,
1119
1132
  __name: "Switch",
1120
1133
  props: {
@@ -1134,135 +1147,135 @@ const ba = ["aria-checked", "disabled"], ga = {
1134
1147
  },
1135
1148
  emits: ["update:modelValue", "change", "focus", "blur"],
1136
1149
  setup(e, { emit: t }) {
1137
- const a = e, l = t, r = R(), n = J(), o = N(!1), u = ae(a), i = N(
1138
- u.defaultChecked ? u.checkedValue : u.uncheckedValue
1139
- ), c = s(() => ae(a)), d = s(() => va(a)), y = s(
1140
- () => d.value ? c.value.modelValue : i.value
1141
- ), k = s(() => Se(y.value, c.value)), C = s(() => c.value.loading || o.value), T = s(() => ha(c.value)), w = s(() => T.value ? k.value ? !!(n.checked || c.value.checkedText) : !!(n.unchecked || c.value.uncheckedText) : !1), b = s(() => [
1142
- pa(a, {
1150
+ const a = e, s = t, c = D(), l = U(), o = N(!1), i = ae(a), r = N(
1151
+ i.defaultChecked ? i.checkedValue : i.uncheckedValue
1152
+ ), u = n(() => ae(a)), d = n(() => ha(a)), y = n(
1153
+ () => d.value ? u.value.modelValue : r.value
1154
+ ), k = n(() => Se(y.value, u.value)), _ = n(() => u.value.loading || o.value), T = n(() => ba(u.value)), x = n(() => T.value ? k.value ? !!(l.checked || u.value.checkedText) : !!(l.unchecked || u.value.uncheckedText) : !1), b = n(() => [
1155
+ ga(a, {
1143
1156
  checked: k.value,
1144
1157
  loading: o.value
1145
1158
  }),
1146
1159
  {
1147
- "has-label": w.value
1160
+ "has-label": x.value
1148
1161
  },
1149
- r.class
1150
- ]), g = s(() => {
1151
- const { class: _, style: L, type: V, ...P } = r;
1162
+ c.class
1163
+ ]), g = n(() => {
1164
+ const { class: C, style: L, type: V, ...P } = c;
1152
1165
  return P;
1153
- }), M = s(() => {
1154
- const _ = {};
1155
- return c.value.checkedColor && (_["--mu-switch-current-checked-bg"] = c.value.checkedColor, _["--mu-switch-current-checked-border"] = c.value.checkedColor, _["--mu-switch-current-checked-thumb"] = c.value.checkedColor, _["--mu-switch-current-checked-glow"] = `0 0 12px ${c.value.checkedColor}`), c.value.uncheckedColor && (_["--mu-switch-current-unchecked-bg"] = c.value.uncheckedColor), [_, r.style];
1166
+ }), S = n(() => {
1167
+ const C = {};
1168
+ return u.value.checkedColor && (C["--mu-switch-current-checked-bg"] = u.value.checkedColor, C["--mu-switch-current-checked-border"] = u.value.checkedColor, C["--mu-switch-current-checked-thumb"] = u.value.checkedColor, C["--mu-switch-current-checked-glow"] = `0 0 12px ${u.value.checkedColor}`), u.value.uncheckedColor && (C["--mu-switch-current-unchecked-bg"] = u.value.uncheckedColor), [C, c.style];
1156
1169
  });
1157
1170
  function $() {
1158
1171
  }
1159
- function m(_) {
1160
- const L = c.value.beforeChange;
1172
+ function h(C) {
1173
+ const L = u.value.beforeChange;
1161
1174
  if (!L)
1162
1175
  return !0;
1163
1176
  try {
1164
- const V = L(_);
1177
+ const V = L(C);
1165
1178
  return V instanceof Promise ? (o.value = !0, V.then((P) => P !== !1).catch(() => !1)) : V !== !1;
1166
1179
  } catch {
1167
1180
  return !1;
1168
1181
  }
1169
1182
  }
1170
- function p(_, L) {
1171
- d.value || (i.value = _), l("update:modelValue", _), l("change", _, L);
1183
+ function p(C, L) {
1184
+ d.value || (r.value = C), s("update:modelValue", C), s("change", C, L);
1172
1185
  }
1173
- function B(_) {
1174
- if (c.value.disabled || C.value)
1186
+ function B(C) {
1187
+ if (u.value.disabled || _.value)
1175
1188
  return;
1176
- const L = ma(y.value, c.value), V = m(L);
1189
+ const L = pa(y.value, u.value), V = h(L);
1177
1190
  if (V instanceof Promise) {
1178
1191
  V.then((P) => {
1179
- P && p(L, _);
1192
+ P && p(L, C);
1180
1193
  }).finally(() => {
1181
1194
  o.value = !1;
1182
1195
  });
1183
1196
  return;
1184
1197
  }
1185
- V && p(L, _);
1198
+ V && p(L, C);
1186
1199
  }
1187
- function I(_) {
1188
- l("focus", _);
1200
+ function I(C) {
1201
+ s("focus", C);
1189
1202
  }
1190
- function Y(_) {
1191
- l("blur", _);
1203
+ function Y(C) {
1204
+ s("blur", C);
1192
1205
  }
1193
- return (_, L) => (v(), h("button", A(g.value, {
1206
+ return (C, L) => (f(), m("button", R(g.value, {
1194
1207
  type: "button",
1195
1208
  role: "switch",
1196
1209
  class: b.value,
1197
- style: M.value,
1210
+ style: S.value,
1198
1211
  "aria-checked": k.value ? "true" : "false",
1199
- disabled: c.value.disabled || C.value,
1212
+ disabled: u.value.disabled || _.value,
1200
1213
  onClick: B,
1201
1214
  onFocus: I,
1202
1215
  onBlur: Y
1203
1216
  }), [
1204
- L[1] || (L[1] = f("span", {
1217
+ L[1] || (L[1] = v("span", {
1205
1218
  class: "mu-switch__line-track",
1206
1219
  "aria-hidden": "true"
1207
1220
  }, null, -1)),
1208
- f("span", ga, [
1209
- C.value ? (v(), h("svg", ka, [...L[0] || (L[0] = [
1210
- f("path", {
1221
+ v("span", _a, [
1222
+ _.value ? (f(), m("svg", Ca, [...L[0] || (L[0] = [
1223
+ v("path", {
1211
1224
  d: "M8 1.5C8.41421 1.5 8.75 1.83579 8.75 2.25C8.75 2.66421 8.41421 3 8 3C5.23858 3 3 5.23858 3 8C3 10.7614 5.23858 13 8 13C10.7614 13 13 10.7614 13 8C13 7.58579 13.3358 7.25 13.75 7.25C14.1642 7.25 14.5 7.58579 14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5Z",
1212
1225
  fill: "currentColor"
1213
1226
  }, null, -1)
1214
- ])])) : k.value ? x(_.$slots, "checked-icon", { key: 1 }, void 0, !0) : x(_.$slots, "unchecked-icon", { key: 2 }, void 0, !0)
1227
+ ])])) : k.value ? w(C.$slots, "checked-icon", { key: 1 }, void 0, !0) : w(C.$slots, "unchecked-icon", { key: 2 }, void 0, !0)
1215
1228
  ]),
1216
- w.value ? (v(), h("span", Ca, [
1217
- k.value ? x(_.$slots, "checked", { key: 0 }, () => [
1218
- G(O(c.value.checkedText), 1)
1219
- ], !0) : x(_.$slots, "unchecked", { key: 1 }, () => [
1220
- G(O(c.value.uncheckedText), 1)
1229
+ x.value ? (f(), m("span", ya, [
1230
+ k.value ? w(C.$slots, "checked", { key: 0 }, () => [
1231
+ G(A(u.value.checkedText), 1)
1232
+ ], !0) : w(C.$slots, "unchecked", { key: 1 }, () => [
1233
+ G(A(u.value.uncheckedText), 1)
1221
1234
  ], !0)
1222
- ])) : S("", !0)
1223
- ], 16, ba));
1235
+ ])) : M("", !0)
1236
+ ], 16, ka));
1224
1237
  }
1225
- }), ss = /* @__PURE__ */ z(_a, [["__scopeId", "data-v-8cfb8f2a"]]), Le = Symbol("MuTabs"), ya = ["line", "segment"], wa = ["small", "medium", "large"], Va = ["white", "ghost"], xa = ["content", "equal"];
1238
+ }), ls = /* @__PURE__ */ z(wa, [["__scopeId", "data-v-8cfb8f2a"]]), Le = Symbol("MuTabs"), xa = ["line", "segment"], Va = ["small", "medium", "large"], $a = ["white", "ghost"], Ba = ["content", "equal"];
1226
1239
  function Q(e, t) {
1227
1240
  return typeof t == "string" && e.includes(t);
1228
1241
  }
1229
- function $a(e) {
1230
- return Q(ya, e);
1231
- }
1232
- function Ba(e) {
1233
- return Q(wa, e);
1234
- }
1235
1242
  function Ta(e) {
1236
- return Q(Va, e);
1243
+ return Q(xa, e);
1237
1244
  }
1238
1245
  function Ma(e) {
1239
- return Q(xa, e);
1246
+ return Q(Va, e);
1247
+ }
1248
+ function Sa(e) {
1249
+ return Q($a, e);
1250
+ }
1251
+ function La(e) {
1252
+ return Q(Ba, e);
1240
1253
  }
1241
1254
  function Pe(e = {}) {
1242
- const t = e, a = $a(t.variant) ? t.variant : "line";
1255
+ const t = e, a = Ta(t.variant) ? t.variant : "line";
1243
1256
  return {
1244
1257
  modelValue: e.modelValue,
1245
1258
  defaultValue: e.defaultValue,
1246
1259
  variant: a,
1247
- appearance: a === "segment" && Ta(t.appearance) ? t.appearance : a === "segment" ? "white" : void 0,
1248
- size: Ba(t.size) ? t.size : "medium",
1249
- layout: Ma(t.layout) ? t.layout : "content",
1260
+ appearance: a === "segment" && Sa(t.appearance) ? t.appearance : a === "segment" ? "white" : void 0,
1261
+ size: Ma(t.size) ? t.size : "medium",
1262
+ layout: La(t.layout) ? t.layout : "content",
1250
1263
  disabled: e.disabled ?? !1
1251
1264
  };
1252
1265
  }
1253
- function Sa(e) {
1266
+ function Pa(e) {
1254
1267
  return {
1255
1268
  value: e.value,
1256
1269
  disabled: e.disabled ?? !1
1257
1270
  };
1258
1271
  }
1259
- function La(e = {}) {
1272
+ function Na(e = {}) {
1260
1273
  return e.modelValue !== void 0;
1261
1274
  }
1262
1275
  function Ne(e, t) {
1263
1276
  return Object.is(e, t);
1264
1277
  }
1265
- function Pa(e = {}) {
1278
+ function Ha(e = {}) {
1266
1279
  const t = Pe(e), a = [
1267
1280
  "mu-tabs",
1268
1281
  `mu-tabs--variant-${t.variant}`,
@@ -1271,19 +1284,19 @@ function Pa(e = {}) {
1271
1284
  ];
1272
1285
  return t.variant === "segment" && a.push(`mu-tabs--appearance-${t.appearance}`), t.disabled && a.push("is-disabled"), a;
1273
1286
  }
1274
- function Na(e, t = {}) {
1287
+ function za(e, t = {}) {
1275
1288
  const a = ["mu-tab"];
1276
1289
  return t.active && a.push("is-active"), (t.disabled || e.disabled) && a.push("is-disabled"), a;
1277
1290
  }
1278
- const Ha = ["aria-selected", "disabled"], za = {
1291
+ const Ia = ["aria-selected", "disabled"], Oa = {
1279
1292
  key: 0,
1280
1293
  class: "mu-tab__prefix",
1281
1294
  "aria-hidden": "true"
1282
- }, Ia = { class: "mu-tab__content" }, Oa = {
1295
+ }, Aa = { class: "mu-tab__content" }, Ra = {
1283
1296
  key: 1,
1284
1297
  class: "mu-tab__suffix",
1285
1298
  "aria-hidden": "true"
1286
- }, Aa = /* @__PURE__ */ H({
1299
+ }, Da = /* @__PURE__ */ H({
1287
1300
  inheritAttrs: !1,
1288
1301
  __name: "Tab",
1289
1302
  props: {
@@ -1292,63 +1305,63 @@ const Ha = ["aria-selected", "disabled"], za = {
1292
1305
  },
1293
1306
  emits: ["click"],
1294
1307
  setup(e, { emit: t }) {
1295
- const a = e, l = t, r = R(), n = J(), o = se(Le, null), u = N(null), i = s(() => Sa(a)), c = s(
1296
- () => o ? Ne(o.value.value, i.value.value) : !1
1297
- ), d = s(
1298
- () => i.value.disabled || !!(o != null && o.disabled.value)
1299
- ), y = s(() => [
1300
- Na(a, {
1301
- active: c.value,
1308
+ const a = e, s = t, c = D(), l = U(), o = se(Le, null), i = N(null), r = n(() => Pa(a)), u = n(
1309
+ () => o ? Ne(o.value.value, r.value.value) : !1
1310
+ ), d = n(
1311
+ () => r.value.disabled || !!(o != null && o.disabled.value)
1312
+ ), y = n(() => [
1313
+ za(a, {
1314
+ active: u.value,
1302
1315
  disabled: d.value
1303
1316
  }),
1304
- r.class
1305
- ]), k = s(() => {
1306
- const { class: b, style: g, ...M } = r;
1307
- return M;
1308
- }), C = s(() => r.style);
1317
+ c.class
1318
+ ]), k = n(() => {
1319
+ const { class: b, style: g, ...S } = c;
1320
+ return S;
1321
+ }), _ = n(() => c.style);
1309
1322
  function T() {
1310
- !o || !u.value || o.registerItem(i.value.value, u.value);
1323
+ !o || !i.value || o.registerItem(r.value.value, i.value);
1311
1324
  }
1312
- function w(b) {
1325
+ function x(b) {
1313
1326
  if (d.value) {
1314
1327
  b.preventDefault(), b.stopPropagation();
1315
1328
  return;
1316
1329
  }
1317
- o && o.select(i.value.value, b), l("click", b);
1330
+ o && o.select(r.value.value, b), s("click", b);
1318
1331
  }
1319
- return ne(() => {
1332
+ return le(() => {
1320
1333
  T();
1321
1334
  }), oe(() => {
1322
- o == null || o.unregisterItem(i.value.value);
1335
+ o == null || o.unregisterItem(r.value.value);
1323
1336
  }), ue(
1324
- () => i.value.value,
1337
+ () => r.value.value,
1325
1338
  (b, g) => {
1326
- !o || !u.value || (o.unregisterItem(g), o.registerItem(b, u.value));
1339
+ !o || !i.value || (o.unregisterItem(g), o.registerItem(b, i.value));
1327
1340
  }
1328
- ), (b, g) => (v(), h("button", A({
1341
+ ), (b, g) => (f(), m("button", R({
1329
1342
  ref_key: "buttonRef",
1330
- ref: u
1343
+ ref: i
1331
1344
  }, k.value, {
1332
1345
  type: "button",
1333
1346
  role: "tab",
1334
1347
  class: y.value,
1335
- style: C.value,
1336
- "aria-selected": c.value ? "true" : "false",
1348
+ style: _.value,
1349
+ "aria-selected": u.value ? "true" : "false",
1337
1350
  disabled: d.value,
1338
- onClick: w
1351
+ onClick: x
1339
1352
  }), [
1340
- D(n).prefix ? (v(), h("span", za, [
1341
- x(b.$slots, "prefix", {}, void 0, !0)
1342
- ])) : S("", !0),
1343
- f("span", Ia, [
1344
- x(b.$slots, "default", {}, void 0, !0)
1353
+ O(l).prefix ? (f(), m("span", Oa, [
1354
+ w(b.$slots, "prefix", {}, void 0, !0)
1355
+ ])) : M("", !0),
1356
+ v("span", Aa, [
1357
+ w(b.$slots, "default", {}, void 0, !0)
1345
1358
  ]),
1346
- D(n).suffix ? (v(), h("span", Oa, [
1347
- x(b.$slots, "suffix", {}, void 0, !0)
1348
- ])) : S("", !0)
1349
- ], 16, Ha));
1359
+ O(l).suffix ? (f(), m("span", Ra, [
1360
+ w(b.$slots, "suffix", {}, void 0, !0)
1361
+ ])) : M("", !0)
1362
+ ], 16, Ia));
1350
1363
  }
1351
- }), ls = /* @__PURE__ */ z(Aa, [["__scopeId", "data-v-eeb068b0"]]), Ra = /* @__PURE__ */ H({
1364
+ }), os = /* @__PURE__ */ z(Da, [["__scopeId", "data-v-eeb068b0"]]), Ga = /* @__PURE__ */ H({
1352
1365
  inheritAttrs: !1,
1353
1366
  __name: "Tabs",
1354
1367
  props: {
@@ -1362,26 +1375,26 @@ const Ha = ["aria-selected", "disabled"], za = {
1362
1375
  },
1363
1376
  emits: ["update:modelValue", "change"],
1364
1377
  setup(e, { emit: t }) {
1365
- const a = e, l = t, r = R(), n = N(null), o = s(() => Pe(a)), u = s(() => La(a)), i = N(o.value.defaultValue), c = s(
1366
- () => u.value ? o.value.modelValue : i.value
1367
- ), d = s(() => o.value.variant), y = s(() => o.value.appearance), k = s(() => o.value.size), C = s(() => o.value.layout), T = s(() => o.value.disabled), w = N(!1), b = N(0), g = /* @__PURE__ */ new Map(), M = N({
1378
+ const a = e, s = t, c = D(), l = N(null), o = n(() => Pe(a)), i = n(() => Na(a)), r = N(o.value.defaultValue), u = n(
1379
+ () => i.value ? o.value.modelValue : r.value
1380
+ ), d = n(() => o.value.variant), y = n(() => o.value.appearance), k = n(() => o.value.size), _ = n(() => o.value.layout), T = n(() => o.value.disabled), x = N(!1), b = N(0), g = /* @__PURE__ */ new Map(), S = N({
1368
1381
  transform: "translateX(0px)",
1369
1382
  width: "0px"
1370
- }), $ = s(() => [Pa(a), r.class]), m = s(() => {
1371
- const { class: V, style: P, ...ee } = r;
1383
+ }), $ = n(() => [Ha(a), c.class]), h = n(() => {
1384
+ const { class: V, style: P, ...ee } = c;
1372
1385
  return ee;
1373
- }), p = s(() => r.style);
1386
+ }), p = n(() => c.style);
1374
1387
  function B() {
1375
- const V = n.value, P = c.value !== void 0 ? g.get(c.value) : void 0;
1388
+ const V = l.value, P = u.value !== void 0 ? g.get(u.value) : void 0;
1376
1389
  if (!V || !P) {
1377
- M.value = {
1390
+ S.value = {
1378
1391
  transform: "translateX(0px)",
1379
1392
  width: "0px"
1380
1393
  };
1381
1394
  return;
1382
1395
  }
1383
1396
  const ee = V.getBoundingClientRect(), ve = P.getBoundingClientRect();
1384
- M.value = {
1397
+ S.value = {
1385
1398
  transform: `translateX(${ve.left - ee.left}px)`,
1386
1399
  width: `${ve.width}px`
1387
1400
  };
@@ -1392,79 +1405,79 @@ const Ha = ["aria-selected", "disabled"], za = {
1392
1405
  });
1393
1406
  }
1394
1407
  function Y(V, P) {
1395
- T.value || Ne(c.value, V) || (u.value || (i.value = V), l("update:modelValue", V), l("change", V, P));
1408
+ T.value || Ne(u.value, V) || (i.value || (r.value = V), s("update:modelValue", V), s("change", V, P));
1396
1409
  }
1397
- function _(V, P) {
1410
+ function C(V, P) {
1398
1411
  g.set(V, P), b.value += 1, I();
1399
1412
  }
1400
1413
  function L(V) {
1401
1414
  g.delete(V), b.value += 1, I();
1402
1415
  }
1403
- return le(Le, {
1404
- value: c,
1416
+ return ne(Le, {
1417
+ value: u,
1405
1418
  variant: d,
1406
1419
  appearance: y,
1407
1420
  size: k,
1408
- layout: C,
1421
+ layout: _,
1409
1422
  disabled: T,
1410
1423
  select: Y,
1411
- registerItem: _,
1424
+ registerItem: C,
1412
1425
  unregisterItem: L
1413
1426
  }), ue(
1414
- [c, d, k, C, b],
1427
+ [u, d, k, _, b],
1415
1428
  () => {
1416
1429
  I();
1417
1430
  },
1418
1431
  { flush: "post" }
1419
- ), ne(() => {
1432
+ ), le(() => {
1420
1433
  globalThis.window.addEventListener("resize", B), j(() => {
1421
- B(), w.value = !0;
1434
+ B(), x.value = !0;
1422
1435
  });
1423
1436
  }), oe(() => {
1424
1437
  globalThis.window.removeEventListener("resize", B);
1425
- }), (V, P) => (v(), h("div", A({
1438
+ }), (V, P) => (f(), m("div", R({
1426
1439
  ref_key: "rootRef",
1427
- ref: n
1428
- }, m.value, {
1440
+ ref: l
1441
+ }, h.value, {
1429
1442
  role: "tablist",
1430
- class: [$.value, { "is-ready": w.value }],
1443
+ class: [$.value, { "is-ready": x.value }],
1431
1444
  style: p.value
1432
1445
  }), [
1433
- x(V.$slots, "default", {}, void 0, !0),
1434
- f("span", {
1446
+ w(V.$slots, "default", {}, void 0, !0),
1447
+ v("span", {
1435
1448
  class: "mu-tabs__indicator",
1436
- style: he(M.value),
1449
+ style: he(S.value),
1437
1450
  "aria-hidden": "true"
1438
1451
  }, null, 4)
1439
1452
  ], 16));
1440
1453
  }
1441
- }), ns = /* @__PURE__ */ z(Ra, [["__scopeId", "data-v-28e8c4f7"]]), Da = ["outline", "solid", "soft"];
1442
- function Ga(e, t) {
1454
+ }), us = /* @__PURE__ */ z(Ga, [["__scopeId", "data-v-28e8c4f7"]]), Ea = ["outline", "solid", "soft"];
1455
+ function ja(e, t) {
1443
1456
  return typeof t == "string" && e.includes(t);
1444
1457
  }
1445
- function Ea(e) {
1446
- return Ga(Da, e);
1458
+ function Za(e) {
1459
+ return ja(Ea, e);
1447
1460
  }
1448
1461
  function He(e = {}) {
1449
1462
  return {
1450
- variant: Ea(e.variant) ? e.variant : "outline",
1463
+ variant: Za(e.variant) ? e.variant : "outline",
1451
1464
  selected: e.selected ?? !1,
1452
1465
  disabled: e.disabled ?? !1
1453
1466
  };
1454
1467
  }
1455
- function ja(e = {}) {
1468
+ function Fa(e = {}) {
1456
1469
  const t = He(e), a = ["mu-tag", `mu-tag--variant-${t.variant}`];
1457
1470
  return t.selected && a.push("is-selected"), t.disabled && a.push("is-disabled"), a;
1458
1471
  }
1459
- const Za = ["disabled", "aria-pressed"], Fa = {
1472
+ const Ua = ["disabled", "aria-pressed"], qa = {
1460
1473
  key: 0,
1461
1474
  class: "mu-tag__prefix",
1462
1475
  "aria-hidden": "true"
1463
- }, Ua = { class: "mu-tag__content" }, qa = {
1476
+ }, Ka = { class: "mu-tag__content" }, Xa = {
1464
1477
  key: 1,
1465
1478
  class: "mu-tag__suffix",
1466
1479
  "aria-hidden": "true"
1467
- }, Ka = /* @__PURE__ */ H({
1480
+ }, Wa = /* @__PURE__ */ H({
1468
1481
  __name: "Tag",
1469
1482
  props: {
1470
1483
  variant: {},
@@ -1473,43 +1486,43 @@ const Za = ["disabled", "aria-pressed"], Fa = {
1473
1486
  },
1474
1487
  emits: ["update:selected", "click"],
1475
1488
  setup(e, { emit: t }) {
1476
- const a = e, l = t, r = J(), n = s(() => He(a)), o = s(() => ja(a));
1477
- function u(i) {
1478
- n.value.disabled || (l("click", i), l("update:selected", !n.value.selected));
1489
+ const a = e, s = t, c = U(), l = n(() => He(a)), o = n(() => Fa(a));
1490
+ function i(r) {
1491
+ l.value.disabled || (s("click", r), s("update:selected", !l.value.selected));
1479
1492
  }
1480
- return (i, c) => (v(), h("button", {
1493
+ return (r, u) => (f(), m("button", {
1481
1494
  type: "button",
1482
- class: W(o.value),
1483
- disabled: n.value.disabled,
1484
- "aria-pressed": n.value.selected,
1485
- onClick: u
1495
+ class: J(o.value),
1496
+ disabled: l.value.disabled,
1497
+ "aria-pressed": l.value.selected,
1498
+ onClick: i
1486
1499
  }, [
1487
- D(r).prefix ? (v(), h("span", Fa, [
1488
- x(i.$slots, "prefix", {}, void 0, !0)
1489
- ])) : S("", !0),
1490
- f("span", Ua, [
1491
- x(i.$slots, "default", {}, void 0, !0)
1500
+ O(c).prefix ? (f(), m("span", qa, [
1501
+ w(r.$slots, "prefix", {}, void 0, !0)
1502
+ ])) : M("", !0),
1503
+ v("span", Ka, [
1504
+ w(r.$slots, "default", {}, void 0, !0)
1492
1505
  ]),
1493
- D(r).suffix ? (v(), h("span", qa, [
1494
- x(i.$slots, "suffix", {}, void 0, !0)
1495
- ])) : S("", !0)
1496
- ], 10, Za));
1506
+ O(c).suffix ? (f(), m("span", Xa, [
1507
+ w(r.$slots, "suffix", {}, void 0, !0)
1508
+ ])) : M("", !0)
1509
+ ], 10, Ua));
1497
1510
  }
1498
- }), os = /* @__PURE__ */ z(Ka, [["__scopeId", "data-v-e3e9ee4d"]]);
1511
+ }), is = /* @__PURE__ */ z(Wa, [["__scopeId", "data-v-e3e9ee4d"]]);
1499
1512
  export {
1500
- Ya as MessageList,
1501
- Wa as MuBadge,
1513
+ ts as MessageList,
1514
+ Qa as MuBadge,
1502
1515
  me as MuButton,
1503
- Ct as MuCheckbox,
1504
- Ja as MuCheckboxGroup,
1505
- Wt as MuModal,
1506
- ts as MuRadio,
1507
- as as MuRadioGroup,
1508
- ss as MuSwitch,
1509
- ls as MuTab,
1510
- ns as MuTabs,
1511
- os as MuTag,
1512
- Qa as message,
1513
- es as muModal,
1514
- q as openMuModal
1516
+ yt as MuCheckbox,
1517
+ Ya as MuCheckboxGroup,
1518
+ Qt as MuModal,
1519
+ ss as MuRadio,
1520
+ ns as MuRadioGroup,
1521
+ ls as MuSwitch,
1522
+ os as MuTab,
1523
+ us as MuTabs,
1524
+ is as MuTag,
1525
+ es as message,
1526
+ as as muModal,
1527
+ K as openMuModal
1515
1528
  };