@m3ui-vue/m3ui-vue 0.4.7 → 0.5.1
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/{MMenuItem-COdgD4m7.js → MMenuItem-Dw2ARZic.js} +30 -24
- package/dist/{MMenuItem-COdgD4m7.js.map → MMenuItem-Dw2ARZic.js.map} +1 -1
- package/dist/components/MAutocomplete.vue.d.ts +2 -1
- package/dist/components/MColorPicker.vue.d.ts +2 -1
- package/dist/components/MContextMenu.vue.d.ts +7 -21
- package/dist/components/MDatePicker.vue.d.ts +2 -1
- package/dist/components/MDateRangePicker.vue.d.ts +2 -1
- package/dist/components/MMaskField.vue.d.ts +2 -1
- package/dist/components/MMenuDivider.vue.d.ts +3 -0
- package/dist/components/MMenuItem.vue.d.ts +1 -0
- package/dist/components/MMultiAutocomplete.vue.d.ts +2 -1
- package/dist/components/MMultiSelect.vue.d.ts +2 -1
- package/dist/components/MNumberField.vue.d.ts +2 -1
- package/dist/components/MSelect.vue.d.ts +2 -1
- package/dist/components/MTagInput.vue.d.ts +2 -1
- package/dist/components/MTextField.vue.d.ts +2 -1
- package/dist/components/MTimePicker.vue.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +819 -884
- package/dist/m3ui.js.map +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/MAbsolute.vue +3 -2
- package/src/components/MAutocomplete.vue +3 -2
- package/src/components/MCircleProgressBar.vue +7 -5
- package/src/components/MColorPicker.vue +4 -2
- package/src/components/MColorPickerModal.vue +1 -0
- package/src/components/MContextMenu.vue +57 -38
- package/src/components/MDatePicker.vue +3 -2
- package/src/components/MDateRangePicker.vue +3 -2
- package/src/components/MMaskField.vue +3 -2
- package/src/components/MMenuDivider.vue +3 -0
- package/src/components/MMenuItem.vue +2 -0
- package/src/components/MMultiAutocomplete.vue +3 -2
- package/src/components/MMultiSelect.vue +3 -2
- package/src/components/MNotificationHost.vue +19 -5
- package/src/components/MNumberField.vue +3 -2
- package/src/components/MSelect.vue +3 -2
- package/src/components/MSlider.vue +20 -16
- package/src/components/MSnackbar.vue +15 -5
- package/src/components/MTabs.vue +1 -1
- package/src/components/MTagInput.vue +3 -2
- package/src/components/MTextField.vue +3 -2
- package/src/components/MTimePicker.vue +3 -2
- package/src/components/MWindow.vue +5 -5
- package/src/index.ts +1 -1
- package/dist/components/_MContextMenuPanel.vue.d.ts +0 -13
- package/src/components/_MContextMenuPanel.vue +0 -137
package/dist/m3ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "./MMenuItem-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "./MMenuItem-Dw2ARZic.js";
|
|
2
2
|
import { t as f } from "./MIcon-CaEooCmZ.js";
|
|
3
3
|
import { t as p } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
4
|
import { Fragment as m, Teleport as h, Transition as g, TransitionGroup as _, computed as v, createApp as y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createSlots as w, createTextVNode as T, createVNode as E, defineComponent as D, h as O, inject as k, mergeProps as A, nextTick as j, normalizeClass as M, normalizeStyle as N, onBeforeUnmount as P, onMounted as F, onUnmounted as I, openBlock as L, provide as R, reactive as z, ref as B, renderList as V, renderSlot as H, resolveComponent as U, resolveDynamicComponent as W, toDisplayString as G, unref as K, useAttrs as q, useId as J, useSlots as Y, vModelText as ee, vShow as te, watch as X, watchEffect as ne, withCtx as Z, withDirectives as re, withKeys as ie, withModifiers as Q } from "vue";
|
|
@@ -211,7 +211,7 @@ fe && fe !== "purple" && document.documentElement.setAttribute("data-palette", f
|
|
|
211
211
|
//#region src/components/MSnackbar.vue?vue&type=script&setup=true&lang.ts
|
|
212
212
|
var pe = {
|
|
213
213
|
key: 0,
|
|
214
|
-
class: "absolute -top-1.5 -right-1.5 z-10 flex h-5 min-w-5 items-center justify-center rounded-full bg-primary px-1 text-[10px] font-semibold leading-none text-on-primary shadow-elevation-1"
|
|
214
|
+
class: "toast-count-badge absolute -top-1.5 -right-1.5 z-10 flex h-5 min-w-5 items-center justify-center rounded-full bg-primary px-1 text-[10px] font-semibold leading-none text-on-primary shadow-elevation-1"
|
|
215
215
|
}, me = { class: "flex-1 text-body-medium leading-snug" }, he = { class: "flex shrink-0 items-center gap-0.5" }, ge = ["onClick"], _e = ["aria-label", "onClick"], ve = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
216
216
|
__name: "MSnackbar",
|
|
217
217
|
props: { closeAriaLabel: {} },
|
|
@@ -313,7 +313,7 @@ var pe = {
|
|
|
313
313
|
_: 1
|
|
314
314
|
}, 8, ["name"])], 2));
|
|
315
315
|
}
|
|
316
|
-
}), [["__scopeId", "data-v-
|
|
316
|
+
}), [["__scopeId", "data-v-d4877a26"]]), ye = 1, be = !1, xe = /* @__PURE__ */ new Map(), Se = B([]), Ce = B("bottom-center");
|
|
317
317
|
function we() {
|
|
318
318
|
if (be || typeof document > "u") return;
|
|
319
319
|
be = !0;
|
|
@@ -395,7 +395,7 @@ function Re() {
|
|
|
395
395
|
//#region src/components/MNotificationHost.vue?vue&type=script&setup=true&lang.ts
|
|
396
396
|
var ze = {
|
|
397
397
|
key: 0,
|
|
398
|
-
class: "absolute -top-1.5 -right-1.5 z-10 flex h-5 min-w-5 items-center justify-center rounded-full bg-primary px-1 text-[10px] font-semibold leading-none text-on-primary shadow-elevation-1"
|
|
398
|
+
class: "notif-count-badge absolute -top-1.5 -right-1.5 z-10 flex h-5 min-w-5 items-center justify-center rounded-full bg-primary px-1 text-[10px] font-semibold leading-none text-on-primary shadow-elevation-1"
|
|
399
399
|
}, Be = { class: "flex-1 text-body-medium leading-snug" }, Ve = { class: "flex shrink-0 items-center gap-1" }, He = ["onClick"], Ue = ["onClick"], We = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
400
400
|
__name: "MNotificationHost",
|
|
401
401
|
setup(e) {
|
|
@@ -476,7 +476,7 @@ var ze = {
|
|
|
476
476
|
_: 1
|
|
477
477
|
}, 8, ["name"])], 2));
|
|
478
478
|
}
|
|
479
|
-
}), [["__scopeId", "data-v-
|
|
479
|
+
}), [["__scopeId", "data-v-2338355e"]]), Ge = 1, Ke = !1, qe = /* @__PURE__ */ new Map(), Je = B([]), Ye = B("top-right");
|
|
480
480
|
function Xe() {
|
|
481
481
|
if (Ke || typeof document > "u") return;
|
|
482
482
|
Ke = !0;
|
|
@@ -579,12 +579,13 @@ var ot = /* @__PURE__ */ D({
|
|
|
579
579
|
};
|
|
580
580
|
return i === "top" ? o.top = e : i === "bottom" ? o.bottom = e : (o.top = "50%", o.transform = "translateY(-50%)"), a === "left" ? o.left = r : a === "right" ? o.right = r : (o.left = "50%", o.transform = o.transform ? "translate(-50%, -50%)" : "translateX(-50%)"), o;
|
|
581
581
|
}
|
|
582
|
+
let e = t.top !== void 0 || t.right !== void 0 || t.bottom !== void 0 || t.left !== void 0;
|
|
582
583
|
return {
|
|
583
584
|
position: "absolute",
|
|
584
|
-
top: n(t.top),
|
|
585
|
+
top: e ? n(t.top) : "8px",
|
|
585
586
|
right: n(t.right),
|
|
586
587
|
bottom: n(t.bottom),
|
|
587
|
-
left: n(t.left),
|
|
588
|
+
left: e ? n(t.left) : "8px",
|
|
588
589
|
zIndex: t.zIndex
|
|
589
590
|
};
|
|
590
591
|
});
|
|
@@ -692,7 +693,8 @@ var ot = /* @__PURE__ */ D({
|
|
|
692
693
|
type: Boolean,
|
|
693
694
|
default: !1
|
|
694
695
|
},
|
|
695
|
-
error: {},
|
|
696
|
+
error: { type: Boolean },
|
|
697
|
+
errorLabel: {},
|
|
696
698
|
hint: {},
|
|
697
699
|
required: {
|
|
698
700
|
type: Boolean,
|
|
@@ -894,7 +896,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
894
896
|
size: 24,
|
|
895
897
|
class: M(["text-on-surface-variant transition-transform duration-200", u.value || d.value ? "rotate-180" : ""])
|
|
896
898
|
}, null, 8, ["class"])])
|
|
897
|
-
], 6), e.error ? (L(), S("p", vt, G(e.
|
|
899
|
+
], 6), e.error && e.errorLabel ? (L(), S("p", vt, G(e.errorLabel), 1)) : e.hint ? (L(), S("p", yt, G(e.hint), 1)) : x("", !0)]), (L(), b(h, { to: "body" }, [E(g, {
|
|
898
900
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
899
901
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
900
902
|
"enter-to-class": "opacity-100 translate-y-0 scale-100",
|
|
@@ -960,7 +962,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
960
962
|
_: 1
|
|
961
963
|
})]))], 64));
|
|
962
964
|
}
|
|
963
|
-
}), [["__scopeId", "data-v-
|
|
965
|
+
}), [["__scopeId", "data-v-aace974a"]]), Nt = {
|
|
964
966
|
key: 0,
|
|
965
967
|
class: "flex shrink-0 items-center"
|
|
966
968
|
}, Pt = { class: "flex flex-1 items-center overflow-hidden" }, Ft = {
|
|
@@ -2014,7 +2016,8 @@ var ot = /* @__PURE__ */ D({
|
|
|
2014
2016
|
"#607d8b"
|
|
2015
2017
|
] },
|
|
2016
2018
|
disabled: { type: Boolean },
|
|
2017
|
-
error: {},
|
|
2019
|
+
error: { type: Boolean },
|
|
2020
|
+
errorLabel: {},
|
|
2018
2021
|
hint: {},
|
|
2019
2022
|
fieldBg: {}
|
|
2020
2023
|
},
|
|
@@ -2053,7 +2056,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
2053
2056
|
}
|
|
2054
2057
|
let k = v(() => T(p.value, _.value, y.value)), A = v(() => `hsl(${p.value}, 100%, 50%)`);
|
|
2055
2058
|
function j(e) {
|
|
2056
|
-
d.value = !0, z(e), e.currentTarget.setPointerCapture(e.pointerId);
|
|
2059
|
+
e.preventDefault(), d.value = !0, z(e), e.currentTarget.setPointerCapture(e.pointerId);
|
|
2057
2060
|
}
|
|
2058
2061
|
function P(e) {
|
|
2059
2062
|
d.value && z(e);
|
|
@@ -2120,7 +2123,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
2120
2123
|
key: 0,
|
|
2121
2124
|
class: M(["pointer-events-none absolute -top-2.5 left-3 bg-(--field-bg) px-1 text-label-small transition-colors", a.value ? e.error ? "text-error" : "text-primary" : e.error ? "text-error" : "text-on-surface-variant"])
|
|
2122
2125
|
}, G(e.label), 3)) : x("", !0)], 4),
|
|
2123
|
-
e.error ? (L(), S("p", Wn, G(e.
|
|
2126
|
+
e.error && e.errorLabel ? (L(), S("p", Wn, G(e.errorLabel), 1)) : e.hint ? (L(), S("p", Gn, G(e.hint), 1)) : x("", !0),
|
|
2124
2127
|
(L(), b(h, { to: "body" }, [E(g, {
|
|
2125
2128
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
2126
2129
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
@@ -2188,7 +2191,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
2188
2191
|
})]))
|
|
2189
2192
|
]));
|
|
2190
2193
|
}
|
|
2191
|
-
}), [["__scopeId", "data-v-
|
|
2194
|
+
}), [["__scopeId", "data-v-4d640982"]]), $n = { class: "cp-box w-[328px] rounded-[28px] bg-surface-container-high px-6 pt-6 pb-4 shadow-elevation-3" }, er = { class: "mb-4 flex items-center gap-3" }, tr = { class: "text-label-medium text-on-surface-variant" }, nr = { class: "font-mono text-title-medium text-on-surface" }, rr = { class: "mb-3" }, ir = ["value"], ar = { class: "mb-3" }, or = ["value"], sr = { class: "mb-4 flex flex-wrap gap-1.5" }, cr = ["onClick"], lr = { class: "flex justify-end gap-2" }, ur = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
2192
2195
|
__name: "MColorPickerModal",
|
|
2193
2196
|
props: {
|
|
2194
2197
|
modelValue: {},
|
|
@@ -2249,7 +2252,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
2249
2252
|
p.value = w.value;
|
|
2250
2253
|
}
|
|
2251
2254
|
function k(e) {
|
|
2252
|
-
c.value = !0, P(e), e.currentTarget.setPointerCapture(e.pointerId);
|
|
2255
|
+
e.preventDefault(), c.value = !0, P(e), e.currentTarget.setPointerCapture(e.pointerId);
|
|
2253
2256
|
}
|
|
2254
2257
|
function A(e) {
|
|
2255
2258
|
c.value && P(e);
|
|
@@ -2358,7 +2361,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
2358
2361
|
_: 1
|
|
2359
2362
|
})]));
|
|
2360
2363
|
}
|
|
2361
|
-
}), [["__scopeId", "data-v-
|
|
2364
|
+
}), [["__scopeId", "data-v-59af9128"]]), dr = { class: "cmd-box flex w-full max-w-lg flex-col overflow-hidden rounded-xl bg-surface-container-high shadow-elevation-3" }, fr = { class: "flex items-center gap-3 border-b border-outline-variant px-4" }, pr = ["placeholder"], mr = { class: "max-h-80 overflow-y-auto py-2" }, hr = {
|
|
2362
2365
|
key: 0,
|
|
2363
2366
|
class: "px-4 pt-3 pb-1 text-label-small font-medium tracking-wide text-on-surface-variant uppercase"
|
|
2364
2367
|
}, gr = [
|
|
@@ -2549,156 +2552,74 @@ var ot = /* @__PURE__ */ D({
|
|
|
2549
2552
|
]);
|
|
2550
2553
|
return (e, t) => (L(), S("div", { class: M(r.value) }, [H(e.$slots, "default")], 2));
|
|
2551
2554
|
}
|
|
2552
|
-
}), Or =
|
|
2553
|
-
key: 0,
|
|
2554
|
-
class: "my-1 border-outline-variant"
|
|
2555
|
-
}, Ar = {
|
|
2556
|
-
key: 1,
|
|
2557
|
-
class: "w-[18px] shrink-0"
|
|
2558
|
-
}, jr = { class: "flex-1" }, Mr = {
|
|
2559
|
-
key: 2,
|
|
2560
|
-
class: "text-label-small text-on-surface-variant"
|
|
2561
|
-
}, Nr = /* @__PURE__ */ D({
|
|
2562
|
-
__name: "_MContextMenuPanel",
|
|
2563
|
-
props: {
|
|
2564
|
-
items: {},
|
|
2565
|
-
x: {},
|
|
2566
|
-
y: {}
|
|
2567
|
-
},
|
|
2568
|
-
emits: ["close"],
|
|
2569
|
-
setup(e, { emit: t }) {
|
|
2570
|
-
let n = e, r = t, i = B(null), a = B(n.x), o = B(n.y), s = B(null), c = B({
|
|
2571
|
-
x: 0,
|
|
2572
|
-
y: 0
|
|
2573
|
-
});
|
|
2574
|
-
F(async () => {
|
|
2575
|
-
if (await j(), !i.value) return;
|
|
2576
|
-
let e = i.value;
|
|
2577
|
-
a.value = Math.min(n.x, window.innerWidth - e.offsetWidth - 8), o.value = Math.min(n.y, window.innerHeight - e.offsetHeight - 8);
|
|
2578
|
-
});
|
|
2579
|
-
function l(e, t, n) {
|
|
2580
|
-
if (t.divider || t.disabled) {
|
|
2581
|
-
s.value = null;
|
|
2582
|
-
return;
|
|
2583
|
-
}
|
|
2584
|
-
if (!t.children?.length) {
|
|
2585
|
-
s.value = null;
|
|
2586
|
-
return;
|
|
2587
|
-
}
|
|
2588
|
-
s.value = e;
|
|
2589
|
-
let r = n.currentTarget.getBoundingClientRect(), a = i.value.getBoundingClientRect(), o = a.right, l = r.top;
|
|
2590
|
-
o + 220 > window.innerWidth && (o = a.left - 220), l + 300 > window.innerHeight && (l = Math.max(8, window.innerHeight - 300)), c.value = {
|
|
2591
|
-
x: o,
|
|
2592
|
-
y: l
|
|
2593
|
-
};
|
|
2594
|
-
}
|
|
2595
|
-
function u(e) {
|
|
2596
|
-
e.disabled || e.divider || e.children?.length || (e.onClick?.(), r("close"));
|
|
2597
|
-
}
|
|
2598
|
-
function d(e) {
|
|
2599
|
-
e.relatedTarget?.closest(".m3-ctx-panel") || (s.value = null);
|
|
2600
|
-
}
|
|
2601
|
-
return (t, n) => (L(), S(m, null, [C("div", {
|
|
2602
|
-
ref_key: "panel",
|
|
2603
|
-
ref: i,
|
|
2604
|
-
class: "m3-ctx-panel absolute z-201 min-w-[200px] overflow-hidden rounded-lg bg-surface-container shadow-elevation-2",
|
|
2605
|
-
style: N({
|
|
2606
|
-
left: `${a.value}px`,
|
|
2607
|
-
top: `${o.value}px`
|
|
2608
|
-
}),
|
|
2609
|
-
onMouseleave: d
|
|
2610
|
-
}, [C("div", Or, [(L(!0), S(m, null, V(e.items, (e, t) => (L(), S(m, { key: t }, [e.divider ? (L(), S("hr", kr)) : (L(), b(W(e.to && !e.disabled ? "RouterLink" : "div"), {
|
|
2611
|
-
key: 1,
|
|
2612
|
-
to: e.to && !e.disabled ? e.to : void 0,
|
|
2613
|
-
class: M(["relative flex cursor-default select-none items-center gap-3 px-4 py-2.5 text-body-large", [e.disabled ? "cursor-not-allowed opacity-38 text-on-surface" : e.danger ? "cursor-pointer text-error hover:bg-error/8" : "cursor-pointer text-on-surface hover:bg-on-surface/8", s.value === t && !e.disabled ? e.danger ? "bg-error/8" : "bg-on-surface/8" : ""]]),
|
|
2614
|
-
onMouseenter: (n) => l(t, e, n),
|
|
2615
|
-
onClick: (t) => u(e)
|
|
2616
|
-
}, {
|
|
2617
|
-
default: Z(() => [
|
|
2618
|
-
e.icon ? (L(), b(f, {
|
|
2619
|
-
key: 0,
|
|
2620
|
-
name: e.icon,
|
|
2621
|
-
size: 18,
|
|
2622
|
-
class: M(["shrink-0", e.danger ? "text-error" : "text-on-surface-variant"])
|
|
2623
|
-
}, null, 8, ["name", "class"])) : (L(), S("span", Ar)),
|
|
2624
|
-
C("span", jr, G(e.label), 1),
|
|
2625
|
-
e.shortcut ? (L(), S("span", Mr, G(e.shortcut), 1)) : x("", !0),
|
|
2626
|
-
e.children?.length ? (L(), b(f, {
|
|
2627
|
-
key: 3,
|
|
2628
|
-
name: "chevron_right",
|
|
2629
|
-
size: 18,
|
|
2630
|
-
class: "shrink-0 text-on-surface-variant"
|
|
2631
|
-
})) : x("", !0)
|
|
2632
|
-
]),
|
|
2633
|
-
_: 2
|
|
2634
|
-
}, 1064, [
|
|
2635
|
-
"to",
|
|
2636
|
-
"class",
|
|
2637
|
-
"onMouseenter",
|
|
2638
|
-
"onClick"
|
|
2639
|
-
]))], 64))), 128))])], 36), s.value !== null && e.items[s.value]?.children?.length ? (L(), b(Nr, {
|
|
2640
|
-
key: s.value,
|
|
2641
|
-
items: e.items[s.value].children,
|
|
2642
|
-
x: c.value.x,
|
|
2643
|
-
y: c.value.y,
|
|
2644
|
-
onClose: n[0] ||= (e) => r("close")
|
|
2645
|
-
}, null, 8, [
|
|
2646
|
-
"items",
|
|
2647
|
-
"x",
|
|
2648
|
-
"y"
|
|
2649
|
-
])) : x("", !0)], 64));
|
|
2650
|
-
}
|
|
2651
|
-
}), Pr = /* @__PURE__ */ D({
|
|
2555
|
+
}), Or = /* @__PURE__ */ D({
|
|
2652
2556
|
__name: "MContextMenu",
|
|
2653
|
-
props: { items: {} },
|
|
2654
2557
|
setup(e, { expose: t }) {
|
|
2655
2558
|
let n = B(!1), r = B({
|
|
2656
2559
|
x: 0,
|
|
2657
2560
|
y: 0
|
|
2658
|
-
});
|
|
2659
|
-
function
|
|
2660
|
-
|
|
2661
|
-
}
|
|
2662
|
-
function a(e, t) {
|
|
2663
|
-
r.value = {
|
|
2561
|
+
}), i = B(null);
|
|
2562
|
+
async function a(e, t) {
|
|
2563
|
+
if (r.value = {
|
|
2664
2564
|
x: e,
|
|
2665
2565
|
y: t
|
|
2666
|
-
}, n.value = !0;
|
|
2566
|
+
}, n.value = !0, await j(), !i.value) return;
|
|
2567
|
+
let a = i.value;
|
|
2568
|
+
r.value = {
|
|
2569
|
+
x: Math.min(e, window.innerWidth - a.offsetWidth - 8),
|
|
2570
|
+
y: Math.min(t, window.innerHeight - a.offsetHeight - 8)
|
|
2571
|
+
};
|
|
2667
2572
|
}
|
|
2668
|
-
function o() {
|
|
2573
|
+
function o(e) {
|
|
2574
|
+
e.preventDefault(), a(e.clientX, e.clientY);
|
|
2575
|
+
}
|
|
2576
|
+
function s() {
|
|
2669
2577
|
n.value = !1;
|
|
2670
2578
|
}
|
|
2671
|
-
|
|
2672
|
-
show:
|
|
2579
|
+
R("m-menu-close", s), t({
|
|
2580
|
+
show: o,
|
|
2673
2581
|
showAt: a,
|
|
2674
|
-
hide:
|
|
2675
|
-
})
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
"
|
|
2680
|
-
|
|
2681
|
-
|
|
2582
|
+
hide: s
|
|
2583
|
+
});
|
|
2584
|
+
function c(e) {
|
|
2585
|
+
if (!n.value) return;
|
|
2586
|
+
let t = e.target;
|
|
2587
|
+
i.value?.contains(t) || t.closest?.(".m3-submenu") || s();
|
|
2588
|
+
}
|
|
2589
|
+
function l(e) {
|
|
2590
|
+
e.key === "Escape" && s();
|
|
2591
|
+
}
|
|
2592
|
+
function u() {
|
|
2593
|
+
n.value && s();
|
|
2594
|
+
}
|
|
2595
|
+
return F(() => {
|
|
2596
|
+
document.addEventListener("mousedown", c), document.addEventListener("keydown", l), window.addEventListener("scroll", u, !0);
|
|
2597
|
+
}), I(() => {
|
|
2598
|
+
document.removeEventListener("mousedown", c), document.removeEventListener("keydown", l), window.removeEventListener("scroll", u, !0);
|
|
2599
|
+
}), (e, t) => (L(), S(m, null, [C("div", { onContextmenu: o }, [H(e.$slots, "trigger")], 32), (L(), b(h, { to: "body" }, [E(g, {
|
|
2600
|
+
"enter-active-class": "transition-[opacity,transform] duration-100 ease-out",
|
|
2601
|
+
"enter-from-class": "opacity-0 scale-95",
|
|
2602
|
+
"enter-to-class": "opacity-100 scale-100",
|
|
2603
|
+
"leave-active-class": "transition-[opacity,transform] duration-75 ease-in",
|
|
2604
|
+
"leave-from-class": "opacity-100 scale-100",
|
|
2605
|
+
"leave-to-class": "opacity-0 scale-95"
|
|
2682
2606
|
}, {
|
|
2683
2607
|
default: Z(() => [n.value ? (L(), S("div", {
|
|
2684
2608
|
key: 0,
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
"y"
|
|
2697
|
-
])], 32)) : x("", !0)]),
|
|
2698
|
-
_: 1
|
|
2609
|
+
ref_key: "panelEl",
|
|
2610
|
+
ref: i,
|
|
2611
|
+
class: "fixed z-[500] min-w-48 overflow-hidden rounded-lg bg-surface-container py-1 shadow-elevation-2",
|
|
2612
|
+
style: N({
|
|
2613
|
+
left: `${r.value.x}px`,
|
|
2614
|
+
top: `${r.value.y}px`,
|
|
2615
|
+
transformOrigin: "top left"
|
|
2616
|
+
}),
|
|
2617
|
+
onContextmenu: t[0] ||= Q(() => {}, ["prevent"])
|
|
2618
|
+
}, [H(e.$slots, "default")], 36)) : x("", !0)]),
|
|
2619
|
+
_: 3
|
|
2699
2620
|
})]))], 64));
|
|
2700
2621
|
}
|
|
2701
|
-
}),
|
|
2622
|
+
}), kr = { class: "flex flex-wrap items-center justify-between gap-4 text-body-medium text-on-surface-variant" }, Ar = { class: "flex items-center gap-2" }, jr = /* @__PURE__ */ D({
|
|
2702
2623
|
__name: "MPagination",
|
|
2703
2624
|
props: {
|
|
2704
2625
|
page: {},
|
|
@@ -2708,7 +2629,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
2708
2629
|
emits: ["update:page"],
|
|
2709
2630
|
setup(e, { emit: t }) {
|
|
2710
2631
|
let n = e, r = t, i = v(() => Math.max(1, Math.ceil(n.total / n.perPage))), a = v(() => n.total === 0 ? "0 resultados" : `${(n.page - 1) * n.perPage + 1}-${Math.min(n.page * n.perPage, n.total)} de ${n.total}`);
|
|
2711
|
-
return (t, n) => (L(), S("div",
|
|
2632
|
+
return (t, n) => (L(), S("div", kr, [C("span", null, G(a.value), 1), C("div", Ar, [
|
|
2712
2633
|
C("span", null, "Página " + G(e.page) + " de " + G(i.value), 1),
|
|
2713
2634
|
E(s, {
|
|
2714
2635
|
icon: "chevron_left",
|
|
@@ -2724,25 +2645,25 @@ var ot = /* @__PURE__ */ D({
|
|
|
2724
2645
|
}, null, 8, ["disabled"])
|
|
2725
2646
|
])]));
|
|
2726
2647
|
}
|
|
2727
|
-
}),
|
|
2648
|
+
}), Mr = { class: "flex flex-col overflow-hidden rounded-sm border border-outline-variant" }, Nr = {
|
|
2728
2649
|
key: 0,
|
|
2729
2650
|
class: "flex flex-wrap items-center gap-3 border-b border-outline-variant bg-surface-container-lowest px-4 py-2.5"
|
|
2730
|
-
},
|
|
2651
|
+
}, Pr = {
|
|
2731
2652
|
key: 0,
|
|
2732
2653
|
class: "flex min-w-48 flex-1 items-center gap-2 rounded-full border border-outline-variant bg-surface-container px-3 py-1.5 transition-[border-color,box-shadow] duration-150 focus-within:border-primary focus-within:ring-1 focus-within:ring-primary/30"
|
|
2733
|
-
},
|
|
2654
|
+
}, Fr = ["placeholder"], Ir = {
|
|
2734
2655
|
key: 0,
|
|
2735
2656
|
class: "rounded-full bg-primary/12 px-3 py-1 text-label-small font-medium text-primary"
|
|
2736
|
-
},
|
|
2657
|
+
}, Lr = {
|
|
2737
2658
|
key: 1,
|
|
2738
2659
|
class: "relative"
|
|
2739
|
-
},
|
|
2660
|
+
}, Rr = {
|
|
2740
2661
|
key: 0,
|
|
2741
2662
|
class: "absolute right-0 top-full z-10 mt-1 min-w-40 rounded-lg bg-surface-container py-2 shadow-elevation-3"
|
|
2742
|
-
},
|
|
2663
|
+
}, zr = { class: "text-body-small text-on-surface" }, Br = { class: "overflow-x-auto" }, Vr = { class: "w-full border-collapse" }, Hr = { class: "bg-surface-container-high" }, Ur = ["onClick"], Wr = { class: "inline-flex items-center gap-1" }, Gr = {
|
|
2743
2664
|
key: 0,
|
|
2744
2665
|
class: "inline-flex"
|
|
2745
|
-
},
|
|
2666
|
+
}, Kr = ["onPointerdown"], qr = { key: 1 }, Jr = ["colspan"], Yr = { class: "text-body-medium text-on-surface-variant" }, Xr = ["onClick"], Zr = ["onClick"], Qr = { key: 0 }, $r = ["colspan"], ei = { class: "dt-expand-body" }, ti = { class: "px-6 py-4" }, ni = { class: "flex items-center justify-between gap-4 border-t border-outline-variant bg-surface-container-lowest px-4 py-2" }, ri = { class: "text-label-small text-on-surface-variant" }, ii = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
2746
2667
|
__name: "MDataTable",
|
|
2747
2668
|
props: {
|
|
2748
2669
|
columns: {},
|
|
@@ -2956,9 +2877,9 @@ var ot = /* @__PURE__ */ D({
|
|
|
2956
2877
|
minWidth: e.minWidth
|
|
2957
2878
|
};
|
|
2958
2879
|
}
|
|
2959
|
-
return (t, r) => (L(), S("div",
|
|
2960
|
-
e.searchable || e.columnToggle || e.exportable || t.$slots.toolbar ? (L(), S("div",
|
|
2961
|
-
e.searchable ? (L(), S("div",
|
|
2880
|
+
return (t, r) => (L(), S("div", Mr, [
|
|
2881
|
+
e.searchable || e.columnToggle || e.exportable || t.$slots.toolbar ? (L(), S("div", Nr, [
|
|
2882
|
+
e.searchable ? (L(), S("div", Pr, [
|
|
2962
2883
|
E(f, {
|
|
2963
2884
|
name: "search",
|
|
2964
2885
|
size: 16,
|
|
@@ -2969,7 +2890,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
2969
2890
|
type: "text",
|
|
2970
2891
|
placeholder: e.searchPlaceholder ?? K(n).search,
|
|
2971
2892
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant"
|
|
2972
|
-
}, null, 8,
|
|
2893
|
+
}, null, 8, Fr), [[ee, d.value]]),
|
|
2973
2894
|
d.value ? (L(), S("button", {
|
|
2974
2895
|
key: 0,
|
|
2975
2896
|
class: "text-on-surface-variant transition-colors hover:text-on-surface",
|
|
@@ -2986,21 +2907,21 @@ var ot = /* @__PURE__ */ D({
|
|
|
2986
2907
|
"leave-active-class": "transition-[opacity,transform] duration-100",
|
|
2987
2908
|
"leave-to-class": "opacity-0 scale-90"
|
|
2988
2909
|
}, {
|
|
2989
|
-
default: Z(() => [e.selectable && W.value.length > 0 ? (L(), S("span",
|
|
2910
|
+
default: Z(() => [e.selectable && W.value.length > 0 ? (L(), S("span", Ir, G(W.value.length) + " " + G(e.selectedText ?? K(n).selectedCount) + G(W.value.length === 1 ? "" : "s"), 1)) : x("", !0)]),
|
|
2990
2911
|
_: 1
|
|
2991
2912
|
}),
|
|
2992
|
-
e.columnToggle ? (L(), S("div",
|
|
2913
|
+
e.columnToggle ? (L(), S("div", Lr, [E(s, {
|
|
2993
2914
|
icon: "view_column",
|
|
2994
2915
|
label: e.columnsLabel ?? K(n).columns,
|
|
2995
2916
|
size: 36,
|
|
2996
2917
|
onClick: r[2] ||= (e) => O.value = !O.value
|
|
2997
|
-
}, null, 8, ["label"]), O.value ? (L(), S("div",
|
|
2918
|
+
}, null, 8, ["label"]), O.value ? (L(), S("div", Rr, [(L(!0), S(m, null, V(e.columns, (e) => (L(), S("label", {
|
|
2998
2919
|
key: e.key,
|
|
2999
2920
|
class: "flex cursor-pointer items-center gap-2 px-3 py-1.5 hover:bg-on-surface/4"
|
|
3000
2921
|
}, [E(zn, {
|
|
3001
2922
|
"model-value": !w.value.has(e.key),
|
|
3002
2923
|
"onUpdate:modelValue": (t) => w.value.has(e.key) ? w.value.delete(e.key) : w.value.add(e.key)
|
|
3003
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"]), C("span",
|
|
2924
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"]), C("span", zr, G(e.label), 1)]))), 128))])) : x("", !0)])) : x("", !0),
|
|
3004
2925
|
e.exportable ? (L(), b(s, {
|
|
3005
2926
|
key: 2,
|
|
3006
2927
|
icon: "download",
|
|
@@ -3009,7 +2930,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
3009
2930
|
onClick: ge
|
|
3010
2931
|
}, null, 8, ["label"])) : x("", !0)
|
|
3011
2932
|
])) : x("", !0),
|
|
3012
|
-
C("div",
|
|
2933
|
+
C("div", Br, [C("table", Vr, [C("thead", { class: M(e.stickyHeader ? "sticky top-0 z-1" : "") }, [C("tr", Hr, [
|
|
3013
2934
|
u.value ? (L(), S("th", {
|
|
3014
2935
|
key: 0,
|
|
3015
2936
|
class: M(["w-10 px-2", e.dense ? "py-2" : "py-3"])
|
|
@@ -3032,7 +2953,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
3032
2953
|
t.sortable ? "cursor-pointer select-none hover:text-on-surface transition-colors duration-100" : ""
|
|
3033
2954
|
]),
|
|
3034
2955
|
onClick: (e) => t.sortable ? A(t.key) : void 0
|
|
3035
|
-
}, [C("span",
|
|
2956
|
+
}, [C("span", Wr, [T(G(t.label) + " ", 1), t.sortable ? (L(), S("span", Gr, [p.value === t.key && h.value === "asc" ? (L(), b(f, {
|
|
3036
2957
|
key: 0,
|
|
3037
2958
|
name: "arrow_upward",
|
|
3038
2959
|
size: 14,
|
|
@@ -3051,7 +2972,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
3051
2972
|
key: 0,
|
|
3052
2973
|
class: "absolute right-0 top-0 h-full w-1 cursor-col-resize hover:bg-primary/30",
|
|
3053
2974
|
onPointerdown: (e) => pe(e, t)
|
|
3054
|
-
}, null, 40,
|
|
2975
|
+
}, null, 40, Kr)) : x("", !0)], 14, Ur))), 128)),
|
|
3055
2976
|
l.value ? (L(), S("th", {
|
|
3056
2977
|
key: 2,
|
|
3057
2978
|
class: M(["w-1 px-4", e.dense ? "py-2" : "py-3"])
|
|
@@ -3079,14 +3000,14 @@ var ot = /* @__PURE__ */ D({
|
|
|
3079
3000
|
key: 2,
|
|
3080
3001
|
class: M(e.dense ? "px-4 py-2" : "px-4 py-3.5")
|
|
3081
3002
|
}, [...r[7] ||= [C("div", { class: "ml-auto h-4 w-16 animate-pulse rounded-full bg-on-surface/10" }, null, -1)]], 2)) : x("", !0)
|
|
3082
|
-
]))), 128)) : R.value.length === 0 ? (L(), S("tr",
|
|
3003
|
+
]))), 128)) : R.value.length === 0 ? (L(), S("tr", qr, [C("td", {
|
|
3083
3004
|
colspan: k.value.length + se.value,
|
|
3084
3005
|
class: "border-t border-outline-variant px-4 py-14 text-center"
|
|
3085
3006
|
}, [H(t.$slots, "empty", {}, () => [E(f, {
|
|
3086
3007
|
name: "search_off",
|
|
3087
3008
|
size: 36,
|
|
3088
3009
|
class: "mb-2 text-on-surface-variant opacity-30"
|
|
3089
|
-
}), C("p",
|
|
3010
|
+
}), C("p", Yr, G(e.emptyText ?? K(n).noResults), 1)], !0)], 8, Jr)])) : (L(!0), S(m, { key: 2 }, V(R.value, (i) => (L(), S(m, { key: q(i) }, [C("tr", {
|
|
3090
3011
|
class: M([
|
|
3091
3012
|
"border-t border-outline-variant transition-colors duration-100",
|
|
3092
3013
|
"hover:bg-on-surface/4",
|
|
@@ -3118,7 +3039,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
3118
3039
|
}, [E(zn, {
|
|
3119
3040
|
"model-value": J(i),
|
|
3120
3041
|
"onUpdate:modelValue": (e) => te(i)
|
|
3121
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"])], 10,
|
|
3042
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])], 10, Zr)) : x("", !0),
|
|
3122
3043
|
(L(!0), S(m, null, V(k.value, (n) => (L(), S("td", {
|
|
3123
3044
|
key: n.key,
|
|
3124
3045
|
class: M([
|
|
@@ -3136,11 +3057,11 @@ var ot = /* @__PURE__ */ D({
|
|
|
3136
3057
|
class: M(["text-right", e.dense ? "px-4 py-1" : "px-4 py-3"]),
|
|
3137
3058
|
onClick: r[4] ||= Q(() => {}, ["stop"])
|
|
3138
3059
|
}, [H(t.$slots, "row-actions", { row: i }, void 0, !0)], 2)) : x("", !0)
|
|
3139
|
-
], 10,
|
|
3060
|
+
], 10, Xr), u.value ? (L(), S("tr", Qr, [C("td", {
|
|
3140
3061
|
colspan: k.value.length + se.value,
|
|
3141
3062
|
class: "border-t border-outline-variant/50 bg-surface-container-lowest p-0"
|
|
3142
|
-
}, [C("div", { class: M(["dt-expand-grid", oe(i) ? "dt-expand-open" : ""]) }, [C("div",
|
|
3143
|
-
C("div",
|
|
3063
|
+
}, [C("div", { class: M(["dt-expand-grid", oe(i) ? "dt-expand-open" : ""]) }, [C("div", ei, [C("div", ti, [H(t.$slots, "row-expand", { row: i }, void 0, !0)])])], 2)], 8, $r)])) : x("", !0)], 64))), 128))])])]),
|
|
3064
|
+
C("div", ni, [C("span", ri, G(I.value) + " " + G(e.recordsText ?? K(n).recordCount) + G(I.value === 1 ? "" : "s"), 1), E(jr, {
|
|
3144
3065
|
page: j.value,
|
|
3145
3066
|
"per-page": e.perPage,
|
|
3146
3067
|
total: I.value,
|
|
@@ -3152,19 +3073,19 @@ var ot = /* @__PURE__ */ D({
|
|
|
3152
3073
|
])])
|
|
3153
3074
|
]));
|
|
3154
3075
|
}
|
|
3155
|
-
}), [["__scopeId", "data-v-857139c7"]]),
|
|
3076
|
+
}), [["__scopeId", "data-v-857139c7"]]), ai = { class: "flex flex-col gap-1" }, oi = {
|
|
3156
3077
|
key: 0,
|
|
3157
3078
|
class: "flex-1 text-on-surface"
|
|
3158
|
-
},
|
|
3079
|
+
}, si = {
|
|
3159
3080
|
key: 1,
|
|
3160
3081
|
class: "flex-1 text-on-surface-variant"
|
|
3161
|
-
},
|
|
3082
|
+
}, ci = {
|
|
3162
3083
|
key: 0,
|
|
3163
3084
|
class: "px-4 text-body-small text-error"
|
|
3164
|
-
},
|
|
3085
|
+
}, li = {
|
|
3165
3086
|
key: 1,
|
|
3166
3087
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
3167
|
-
},
|
|
3088
|
+
}, ui = { class: "mb-3 flex items-center justify-between" }, di = { class: "text-title-small font-medium capitalize text-on-surface" }, fi = { class: "mb-1 grid grid-cols-7 gap-0.5 text-center" }, pi = { class: "grid grid-cols-7 gap-0.5" }, mi = ["disabled", "onClick"], hi = /* @__PURE__ */ D({
|
|
3168
3089
|
__name: "MDatePicker",
|
|
3169
3090
|
props: {
|
|
3170
3091
|
modelValue: {},
|
|
@@ -3173,7 +3094,8 @@ var ot = /* @__PURE__ */ D({
|
|
|
3173
3094
|
min: {},
|
|
3174
3095
|
max: {},
|
|
3175
3096
|
disabled: { type: Boolean },
|
|
3176
|
-
error: {},
|
|
3097
|
+
error: { type: Boolean },
|
|
3098
|
+
errorLabel: {},
|
|
3177
3099
|
hint: {},
|
|
3178
3100
|
locale: { default: "es-ES" },
|
|
3179
3101
|
fieldBg: {},
|
|
@@ -3280,7 +3202,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
3280
3202
|
e ? (H(), setTimeout(() => document.addEventListener("mousedown", U), 0)) : document.removeEventListener("mousedown", U);
|
|
3281
3203
|
}), F(() => window.addEventListener("scroll", W, !0)), I(() => {
|
|
3282
3204
|
window.removeEventListener("scroll", W, !0), document.removeEventListener("mousedown", U);
|
|
3283
|
-
}), (t, n) => (L(), S("div",
|
|
3205
|
+
}), (t, n) => (L(), S("div", ai, [
|
|
3284
3206
|
C("div", {
|
|
3285
3207
|
ref_key: "triggerEl",
|
|
3286
3208
|
ref: l,
|
|
@@ -3296,7 +3218,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
3296
3218
|
size: 20,
|
|
3297
3219
|
class: "shrink-0 text-on-surface-variant"
|
|
3298
3220
|
}),
|
|
3299
|
-
z.value ? (L(), S("span",
|
|
3221
|
+
z.value ? (L(), S("span", oi, G(z.value), 1)) : (L(), S("span", si, G(e.placeholder || e.label || K(a).selectDate), 1)),
|
|
3300
3222
|
e.modelValue ? (L(), b(f, {
|
|
3301
3223
|
key: 2,
|
|
3302
3224
|
name: "close",
|
|
@@ -3308,7 +3230,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
3308
3230
|
key: 0,
|
|
3309
3231
|
class: M(["pointer-events-none absolute -top-2.5 left-3 bg-(--field-bg) px-1 text-label-small transition-colors", c.value ? e.error ? "text-error" : "text-primary" : e.error ? "text-error" : "text-on-surface-variant"])
|
|
3310
3232
|
}, G(e.label), 3)) : x("", !0)], 4),
|
|
3311
|
-
e.error ? (L(), S("p",
|
|
3233
|
+
e.error && e.errorLabel ? (L(), S("p", ci, G(e.errorLabel), 1)) : e.hint ? (L(), S("p", li, G(e.hint), 1)) : x("", !0),
|
|
3312
3234
|
(L(), b(h, { to: "body" }, [E(g, {
|
|
3313
3235
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
3314
3236
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
@@ -3322,14 +3244,14 @@ var ot = /* @__PURE__ */ D({
|
|
|
3322
3244
|
class: "fixed z-500 w-[320px] rounded-lg bg-surface-container p-4 shadow-elevation-3",
|
|
3323
3245
|
style: N(d.value)
|
|
3324
3246
|
}, [
|
|
3325
|
-
C("div",
|
|
3247
|
+
C("div", ui, [
|
|
3326
3248
|
E(s, {
|
|
3327
3249
|
icon: "chevron_left",
|
|
3328
3250
|
label: e.prevMonthLabel ?? K(a).previousMonth,
|
|
3329
3251
|
size: 36,
|
|
3330
3252
|
onClick: A
|
|
3331
3253
|
}, null, 8, ["label"]),
|
|
3332
|
-
C("span",
|
|
3254
|
+
C("span", di, G(w.value), 1),
|
|
3333
3255
|
E(s, {
|
|
3334
3256
|
icon: "chevron_right",
|
|
3335
3257
|
label: e.nextMonthLabel ?? K(a).nextMonth,
|
|
@@ -3337,29 +3259,29 @@ var ot = /* @__PURE__ */ D({
|
|
|
3337
3259
|
onClick: j
|
|
3338
3260
|
}, null, 8, ["label"])
|
|
3339
3261
|
]),
|
|
3340
|
-
C("div",
|
|
3262
|
+
C("div", fi, [(L(!0), S(m, null, V(K(y), (e) => (L(), S("span", {
|
|
3341
3263
|
key: e,
|
|
3342
3264
|
class: "py-1 text-label-small font-medium text-on-surface-variant"
|
|
3343
3265
|
}, G(e), 1))), 128))]),
|
|
3344
|
-
C("div",
|
|
3266
|
+
C("div", pi, [(L(!0), S(m, null, V(T.value, (t, n) => (L(), S("button", {
|
|
3345
3267
|
key: n,
|
|
3346
3268
|
type: "button",
|
|
3347
3269
|
class: M(["flex h-9 w-full items-center justify-center rounded-full text-body-medium transition-colors duration-100", [t.disabled ? "cursor-not-allowed text-on-surface/25" : t.iso === e.modelValue ? "bg-primary text-on-primary" : k(t.iso) ? "border border-primary text-primary cursor-pointer hover:bg-primary/8" : t.current ? "cursor-pointer text-on-surface hover:bg-on-surface/8" : "cursor-pointer text-on-surface-variant/50 hover:bg-on-surface/4"]]),
|
|
3348
3270
|
disabled: t.disabled,
|
|
3349
3271
|
onClick: (e) => P(t)
|
|
3350
|
-
}, G(t.date), 11,
|
|
3272
|
+
}, G(t.date), 11, mi))), 128))])
|
|
3351
3273
|
], 4)) : x("", !0)]),
|
|
3352
3274
|
_: 1
|
|
3353
3275
|
})]))
|
|
3354
3276
|
]));
|
|
3355
3277
|
}
|
|
3356
|
-
}),
|
|
3278
|
+
}), gi = { class: "dp-box w-[360px] rounded-[28px] bg-surface-container-high shadow-elevation-3" }, _i = { class: "px-6 pt-6 pb-4" }, vi = { class: "mb-3 text-label-medium text-on-surface-variant" }, yi = { class: "flex items-center justify-between" }, bi = { class: "text-headline-medium font-medium capitalize text-on-surface" }, xi = {
|
|
3357
3279
|
key: 0,
|
|
3358
3280
|
class: "px-4 pt-3 pb-2"
|
|
3359
|
-
},
|
|
3281
|
+
}, Si = { class: "mb-2 flex items-center justify-between" }, Ci = { class: "text-title-small font-medium capitalize text-on-surface" }, wi = { class: "mb-1 grid grid-cols-7 gap-0.5 text-center" }, Ti = { class: "grid grid-cols-7 gap-0.5" }, Ei = ["disabled", "onClick"], Di = {
|
|
3360
3282
|
key: 1,
|
|
3361
3283
|
class: "px-6 py-6"
|
|
3362
|
-
},
|
|
3284
|
+
}, Oi = { class: "flex justify-end gap-2 px-6 pb-4" }, ki = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
3363
3285
|
__name: "MDatePickerModal",
|
|
3364
3286
|
props: {
|
|
3365
3287
|
modelValue: { default: null },
|
|
@@ -3470,22 +3392,22 @@ var ot = /* @__PURE__ */ D({
|
|
|
3470
3392
|
key: 0,
|
|
3471
3393
|
class: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",
|
|
3472
3394
|
onClick: Q(I, ["self"])
|
|
3473
|
-
}, [C("div",
|
|
3474
|
-
C("div",
|
|
3395
|
+
}, [C("div", gi, [
|
|
3396
|
+
C("div", _i, [C("p", vi, G(t.title || K(a).selectDate), 1), C("div", yi, [C("span", bi, G(j.value), 1), E(s, {
|
|
3475
3397
|
icon: c.value === "calendar" ? "edit" : "calendar_today",
|
|
3476
3398
|
label: c.value === "calendar" ? "Switch to input" : "Switch to calendar",
|
|
3477
3399
|
onClick: r[0] ||= (e) => c.value = c.value === "calendar" ? "input" : "calendar"
|
|
3478
3400
|
}, null, 8, ["icon", "label"])])]),
|
|
3479
3401
|
r[4] ||= C("div", { class: "h-px bg-outline-variant" }, null, -1),
|
|
3480
|
-
c.value === "calendar" ? (L(), S("div",
|
|
3481
|
-
C("div",
|
|
3402
|
+
c.value === "calendar" ? (L(), S("div", xi, [
|
|
3403
|
+
C("div", Si, [
|
|
3482
3404
|
E(s, {
|
|
3483
3405
|
icon: "chevron_left",
|
|
3484
3406
|
label: K(a).previousMonth,
|
|
3485
3407
|
size: 36,
|
|
3486
3408
|
onClick: O
|
|
3487
3409
|
}, null, 8, ["label"]),
|
|
3488
|
-
C("span",
|
|
3410
|
+
C("span", Ci, G(p.value), 1),
|
|
3489
3411
|
E(s, {
|
|
3490
3412
|
icon: "chevron_right",
|
|
3491
3413
|
label: K(a).nextMonth,
|
|
@@ -3493,18 +3415,18 @@ var ot = /* @__PURE__ */ D({
|
|
|
3493
3415
|
onClick: k
|
|
3494
3416
|
}, null, 8, ["label"])
|
|
3495
3417
|
]),
|
|
3496
|
-
C("div",
|
|
3418
|
+
C("div", wi, [(L(!0), S(m, null, V(f.value, (e) => (L(), S("span", {
|
|
3497
3419
|
key: e,
|
|
3498
3420
|
class: "py-1 text-label-small font-medium text-on-surface-variant"
|
|
3499
3421
|
}, G(e), 1))), 128))]),
|
|
3500
|
-
C("div",
|
|
3422
|
+
C("div", Ti, [(L(!0), S(m, null, V(_.value, (e, t) => (L(), S("button", {
|
|
3501
3423
|
key: t,
|
|
3502
3424
|
type: "button",
|
|
3503
3425
|
class: M(["flex h-10 w-full items-center justify-center rounded-full text-body-medium transition-colors duration-100", [e.disabled ? "cursor-not-allowed text-on-surface/25" : e.iso === l.value ? "bg-primary text-on-primary" : e.iso === K(D) ? "border border-primary text-primary cursor-pointer hover:bg-primary/8" : e.current ? "cursor-pointer text-on-surface hover:bg-on-surface/8" : "cursor-pointer text-on-surface-variant/50 hover:bg-on-surface/4"]]),
|
|
3504
3426
|
disabled: e.disabled,
|
|
3505
3427
|
onClick: (t) => A(e)
|
|
3506
|
-
}, G(e.date), 11,
|
|
3507
|
-
])) : (L(), S("div",
|
|
3428
|
+
}, G(e.date), 11, Ei))), 128))])
|
|
3429
|
+
])) : (L(), S("div", Di, [r[2] ||= C("label", { class: "mb-2 block text-label-medium text-on-surface-variant" }, "Date (DD/MM/YYYY)", -1), re(C("input", {
|
|
3508
3430
|
"onUpdate:modelValue": r[1] ||= (e) => d.value = e,
|
|
3509
3431
|
type: "text",
|
|
3510
3432
|
placeholder: "23/06/2026",
|
|
@@ -3513,7 +3435,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
3513
3435
|
onKeydown: ie(F, ["enter"]),
|
|
3514
3436
|
onBlur: F
|
|
3515
3437
|
}, null, 544), [[ee, d.value]])])),
|
|
3516
|
-
C("div",
|
|
3438
|
+
C("div", Oi, [E(e, {
|
|
3517
3439
|
variant: "text",
|
|
3518
3440
|
onClick: I
|
|
3519
3441
|
}, {
|
|
@@ -3531,23 +3453,23 @@ var ot = /* @__PURE__ */ D({
|
|
|
3531
3453
|
_: 1
|
|
3532
3454
|
})]));
|
|
3533
3455
|
}
|
|
3534
|
-
}), [["__scopeId", "data-v-ac5f05d4"]]),
|
|
3456
|
+
}), [["__scopeId", "data-v-ac5f05d4"]]), Ai = { class: "flex flex-col gap-1" }, ji = {
|
|
3535
3457
|
key: 0,
|
|
3536
3458
|
class: "flex-1 text-on-surface"
|
|
3537
|
-
},
|
|
3459
|
+
}, Mi = {
|
|
3538
3460
|
key: 1,
|
|
3539
3461
|
class: "flex-1 text-on-surface-variant"
|
|
3540
|
-
},
|
|
3462
|
+
}, Ni = {
|
|
3541
3463
|
key: 0,
|
|
3542
3464
|
class: "px-4 text-body-small text-error"
|
|
3543
|
-
},
|
|
3465
|
+
}, Pi = {
|
|
3544
3466
|
key: 1,
|
|
3545
3467
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
3546
|
-
},
|
|
3468
|
+
}, Fi = { class: "mb-2 text-center text-label-medium text-on-surface-variant" }, Ii = { class: "mb-3 flex items-center justify-between" }, Li = { class: "text-title-small font-medium capitalize text-on-surface" }, Ri = { class: "mb-1 grid grid-cols-7 gap-0.5 text-center" }, zi = { class: "grid grid-cols-7 gap-0.5" }, Bi = [
|
|
3547
3469
|
"disabled",
|
|
3548
3470
|
"onMouseenter",
|
|
3549
3471
|
"onClick"
|
|
3550
|
-
],
|
|
3472
|
+
], Vi = /* @__PURE__ */ D({
|
|
3551
3473
|
__name: "MDateRangePicker",
|
|
3552
3474
|
props: {
|
|
3553
3475
|
modelValue: {},
|
|
@@ -3556,7 +3478,8 @@ var ot = /* @__PURE__ */ D({
|
|
|
3556
3478
|
min: {},
|
|
3557
3479
|
max: {},
|
|
3558
3480
|
disabled: { type: Boolean },
|
|
3559
|
-
error: {},
|
|
3481
|
+
error: { type: Boolean },
|
|
3482
|
+
errorLabel: {},
|
|
3560
3483
|
hint: {},
|
|
3561
3484
|
locale: { default: "es-ES" },
|
|
3562
3485
|
fieldBg: {},
|
|
@@ -3680,7 +3603,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
3680
3603
|
e ? (d.value = i.modelValue.start && !i.modelValue.end ? "end" : "start", q(), setTimeout(() => document.addEventListener("mousedown", J), 0)) : document.removeEventListener("mousedown", J);
|
|
3681
3604
|
}), F(() => window.addEventListener("scroll", Y, !0)), I(() => {
|
|
3682
3605
|
window.removeEventListener("scroll", Y, !0), document.removeEventListener("mousedown", J);
|
|
3683
|
-
}), (t, n) => (L(), S("div",
|
|
3606
|
+
}), (t, n) => (L(), S("div", Ai, [
|
|
3684
3607
|
C("div", {
|
|
3685
3608
|
ref_key: "triggerEl",
|
|
3686
3609
|
ref: l,
|
|
@@ -3696,7 +3619,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
3696
3619
|
size: 20,
|
|
3697
3620
|
class: "shrink-0 text-on-surface-variant"
|
|
3698
3621
|
}),
|
|
3699
|
-
U.value ? (L(), S("span",
|
|
3622
|
+
U.value ? (L(), S("span", ji, G(U.value), 1)) : (L(), S("span", Mi, G(e.label || e.placeholder || K(a).selectRange), 1)),
|
|
3700
3623
|
e.modelValue.start || e.modelValue.end ? (L(), b(f, {
|
|
3701
3624
|
key: 2,
|
|
3702
3625
|
name: "close",
|
|
@@ -3708,7 +3631,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
3708
3631
|
key: 0,
|
|
3709
3632
|
class: M(["pointer-events-none absolute -top-2.5 left-3 bg-(--field-bg) px-1 text-label-small transition-colors", c.value ? e.error ? "text-error" : "text-primary" : e.error ? "text-error" : "text-on-surface-variant"])
|
|
3710
3633
|
}, G(e.label), 3)) : x("", !0)], 4),
|
|
3711
|
-
e.error ? (L(), S("p",
|
|
3634
|
+
e.error && e.errorLabel ? (L(), S("p", Ni, G(e.errorLabel), 1)) : e.hint ? (L(), S("p", Pi, G(e.hint), 1)) : x("", !0),
|
|
3712
3635
|
(L(), b(h, { to: "body" }, [E(g, {
|
|
3713
3636
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
3714
3637
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
@@ -3722,15 +3645,15 @@ var ot = /* @__PURE__ */ D({
|
|
|
3722
3645
|
class: "fixed z-500 w-[320px] rounded-lg bg-surface-container p-4 shadow-elevation-3",
|
|
3723
3646
|
style: N(_.value)
|
|
3724
3647
|
}, [
|
|
3725
|
-
C("p",
|
|
3726
|
-
C("div",
|
|
3648
|
+
C("p", Fi, G(d.value === "start" ? e.pickStartText ?? K(a).pickStart : e.pickEndText ?? K(a).pickEnd), 1),
|
|
3649
|
+
C("div", Ii, [
|
|
3727
3650
|
E(s, {
|
|
3728
3651
|
icon: "chevron_left",
|
|
3729
3652
|
label: e.prevMonthLabel ?? K(a).previousMonth,
|
|
3730
3653
|
size: 36,
|
|
3731
3654
|
onClick: z
|
|
3732
3655
|
}, null, 8, ["label"]),
|
|
3733
|
-
C("span",
|
|
3656
|
+
C("span", Li, G(D.value), 1),
|
|
3734
3657
|
E(s, {
|
|
3735
3658
|
icon: "chevron_right",
|
|
3736
3659
|
label: e.nextMonthLabel ?? K(a).nextMonth,
|
|
@@ -3738,28 +3661,28 @@ var ot = /* @__PURE__ */ D({
|
|
|
3738
3661
|
onClick: H
|
|
3739
3662
|
}, null, 8, ["label"])
|
|
3740
3663
|
]),
|
|
3741
|
-
C("div",
|
|
3664
|
+
C("div", Ri, [(L(!0), S(m, null, V(K(T), (e) => (L(), S("span", {
|
|
3742
3665
|
key: e,
|
|
3743
3666
|
class: "py-1 text-label-small font-medium text-on-surface-variant"
|
|
3744
3667
|
}, G(e), 1))), 128))]),
|
|
3745
|
-
C("div",
|
|
3668
|
+
C("div", zi, [(L(!0), S(m, null, V(O.value, (t, n) => (L(), S("button", {
|
|
3746
3669
|
key: n,
|
|
3747
3670
|
type: "button",
|
|
3748
3671
|
class: M(["flex h-9 w-full items-center justify-center text-body-medium transition-colors duration-100", [t.disabled ? "cursor-not-allowed text-on-surface/25 rounded-full" : t.iso === e.modelValue.start || t.iso === e.modelValue.end ? "bg-primary text-on-primary rounded-full" : R(t.iso) ? "bg-primary/12 text-on-surface cursor-pointer" : t.iso === K(j) ? "border border-primary text-primary rounded-full cursor-pointer hover:bg-primary/8" : t.current ? "cursor-pointer text-on-surface rounded-full hover:bg-on-surface/8" : "cursor-pointer text-on-surface-variant/50 rounded-full hover:bg-on-surface/4"]]),
|
|
3749
3672
|
disabled: t.disabled,
|
|
3750
3673
|
onMouseenter: (e) => d.value === "end" && (p.value = t.iso),
|
|
3751
3674
|
onClick: (e) => P(t)
|
|
3752
|
-
}, G(t.date), 43,
|
|
3675
|
+
}, G(t.date), 43, Bi))), 128))])
|
|
3753
3676
|
], 4)) : x("", !0)]),
|
|
3754
3677
|
_: 1
|
|
3755
3678
|
})]))
|
|
3756
3679
|
]));
|
|
3757
3680
|
}
|
|
3758
|
-
}),
|
|
3681
|
+
}), Hi = { class: "drp-box w-[360px] rounded-[28px] bg-surface-container-high shadow-elevation-3" }, Ui = { class: "px-6 pt-6 pb-4" }, Wi = { class: "mb-3 text-label-medium text-on-surface-variant" }, Gi = { class: "flex items-center gap-3" }, Ki = { class: "text-label-small text-on-surface-variant" }, qi = { class: "text-title-medium font-medium capitalize" }, Ji = { class: "text-label-small text-on-surface-variant" }, Yi = { class: "text-title-medium font-medium capitalize" }, Xi = { class: "px-4 pt-3 pb-2" }, Zi = { class: "mb-2 flex items-center justify-between" }, Qi = { class: "text-title-small font-medium capitalize text-on-surface" }, $i = { class: "mb-1 grid grid-cols-7 gap-0.5 text-center" }, ea = { class: "grid grid-cols-7 gap-0.5" }, ta = [
|
|
3759
3682
|
"disabled",
|
|
3760
3683
|
"onMouseenter",
|
|
3761
3684
|
"onClick"
|
|
3762
|
-
],
|
|
3685
|
+
], na = { class: "flex justify-end gap-2 px-6 py-4" }, ra = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
3763
3686
|
__name: "MDateRangePickerModal",
|
|
3764
3687
|
props: {
|
|
3765
3688
|
modelValue: {},
|
|
@@ -3866,28 +3789,28 @@ var ot = /* @__PURE__ */ D({
|
|
|
3866
3789
|
key: 0,
|
|
3867
3790
|
class: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",
|
|
3868
3791
|
onClick: Q(F, ["self"])
|
|
3869
|
-
}, [C("div",
|
|
3870
|
-
C("div",
|
|
3792
|
+
}, [C("div", Hi, [
|
|
3793
|
+
C("div", Ui, [C("p", Wi, G(t.title || K(a).selectRange), 1), C("div", Gi, [
|
|
3871
3794
|
C("div", {
|
|
3872
3795
|
class: M(["flex-1 rounded-lg px-3 py-2 text-center transition-colors", c.value === "start" ? "bg-primary-container text-on-primary-container" : "bg-surface-container-highest text-on-surface"]),
|
|
3873
3796
|
onClick: r[0] ||= (e) => c.value = "start"
|
|
3874
|
-
}, [C("p",
|
|
3797
|
+
}, [C("p", Ki, G(K(a).pickStart), 1), C("p", qi, G(P(l.value)), 1)], 2),
|
|
3875
3798
|
r[2] ||= C("span", { class: "text-on-surface-variant" }, "→", -1),
|
|
3876
3799
|
C("div", {
|
|
3877
3800
|
class: M(["flex-1 rounded-lg px-3 py-2 text-center transition-colors", c.value === "end" ? "bg-primary-container text-on-primary-container" : "bg-surface-container-highest text-on-surface"]),
|
|
3878
3801
|
onClick: r[1] ||= (e) => l.value && (c.value = "end")
|
|
3879
|
-
}, [C("p",
|
|
3802
|
+
}, [C("p", Ji, G(K(a).pickEnd), 1), C("p", Yi, G(P(u.value)), 1)], 2)
|
|
3880
3803
|
])]),
|
|
3881
3804
|
r[4] ||= C("div", { class: "h-px bg-outline-variant" }, null, -1),
|
|
3882
|
-
C("div",
|
|
3883
|
-
C("div",
|
|
3805
|
+
C("div", Xi, [
|
|
3806
|
+
C("div", Zi, [
|
|
3884
3807
|
E(s, {
|
|
3885
3808
|
icon: "chevron_left",
|
|
3886
3809
|
label: K(a).previousMonth,
|
|
3887
3810
|
size: 36,
|
|
3888
3811
|
onClick: k
|
|
3889
3812
|
}, null, 8, ["label"]),
|
|
3890
|
-
C("span",
|
|
3813
|
+
C("span", Qi, G(_.value), 1),
|
|
3891
3814
|
E(s, {
|
|
3892
3815
|
icon: "chevron_right",
|
|
3893
3816
|
label: K(a).nextMonth,
|
|
@@ -3895,20 +3818,20 @@ var ot = /* @__PURE__ */ D({
|
|
|
3895
3818
|
onClick: A
|
|
3896
3819
|
}, null, 8, ["label"])
|
|
3897
3820
|
]),
|
|
3898
|
-
C("div",
|
|
3821
|
+
C("div", $i, [(L(!0), S(m, null, V(p.value, (e) => (L(), S("span", {
|
|
3899
3822
|
key: e,
|
|
3900
3823
|
class: "py-1 text-label-small font-medium text-on-surface-variant"
|
|
3901
3824
|
}, G(e), 1))), 128))]),
|
|
3902
|
-
C("div",
|
|
3825
|
+
C("div", ea, [(L(!0), S(m, null, V(y.value, (e, t) => (L(), S("button", {
|
|
3903
3826
|
key: t,
|
|
3904
3827
|
type: "button",
|
|
3905
3828
|
class: M(["flex h-10 w-full items-center justify-center text-body-medium transition-colors duration-100", [e.disabled ? "cursor-not-allowed text-on-surface/25 rounded-full" : e.iso === l.value || e.iso === u.value ? "bg-primary text-on-primary rounded-full" : N(e.iso) ? "bg-primary/12 text-on-surface cursor-pointer" : e.iso === K(O) ? "border border-primary text-primary rounded-full cursor-pointer hover:bg-primary/8" : e.current ? "cursor-pointer text-on-surface rounded-full hover:bg-on-surface/8" : "cursor-pointer text-on-surface-variant/50 rounded-full hover:bg-on-surface/4"]]),
|
|
3906
3829
|
disabled: e.disabled,
|
|
3907
3830
|
onMouseenter: (t) => c.value === "end" && (d.value = e.iso),
|
|
3908
3831
|
onClick: (t) => j(e)
|
|
3909
|
-
}, G(e.date), 43,
|
|
3832
|
+
}, G(e.date), 43, ta))), 128))])
|
|
3910
3833
|
]),
|
|
3911
|
-
C("div",
|
|
3834
|
+
C("div", na, [E(e, {
|
|
3912
3835
|
variant: "text",
|
|
3913
3836
|
onClick: F
|
|
3914
3837
|
}, {
|
|
@@ -3926,17 +3849,17 @@ var ot = /* @__PURE__ */ D({
|
|
|
3926
3849
|
_: 1
|
|
3927
3850
|
})]));
|
|
3928
3851
|
}
|
|
3929
|
-
}), [["__scopeId", "data-v-fcb7a791"]]),
|
|
3852
|
+
}), [["__scopeId", "data-v-fcb7a791"]]), ia = {
|
|
3930
3853
|
key: 0,
|
|
3931
3854
|
class: "shrink-0 text-label-small text-on-surface-variant"
|
|
3932
|
-
},
|
|
3855
|
+
}, aa = {
|
|
3933
3856
|
key: 1,
|
|
3934
3857
|
class: "h-px flex-1 bg-outline-variant"
|
|
3935
|
-
},
|
|
3858
|
+
}, oa = {
|
|
3936
3859
|
key: 1,
|
|
3937
3860
|
class: "w-px self-stretch bg-outline-variant",
|
|
3938
3861
|
role: "separator"
|
|
3939
|
-
},
|
|
3862
|
+
}, sa = /* @__PURE__ */ D({
|
|
3940
3863
|
__name: "MDivider",
|
|
3941
3864
|
props: {
|
|
3942
3865
|
vertical: {
|
|
@@ -3950,25 +3873,25 @@ var ot = /* @__PURE__ */ D({
|
|
|
3950
3873
|
}
|
|
3951
3874
|
},
|
|
3952
3875
|
setup(e) {
|
|
3953
|
-
return (t, n) => e.vertical ? (L(), S("div",
|
|
3876
|
+
return (t, n) => e.vertical ? (L(), S("div", oa)) : (L(), S("div", {
|
|
3954
3877
|
key: 0,
|
|
3955
3878
|
class: M(["flex items-center gap-3", e.inset && "ml-16"]),
|
|
3956
3879
|
role: "separator"
|
|
3957
3880
|
}, [
|
|
3958
3881
|
n[0] ||= C("div", { class: "h-px flex-1 bg-outline-variant" }, null, -1),
|
|
3959
|
-
e.label ? (L(), S("span",
|
|
3960
|
-
e.label ? (L(), S("div",
|
|
3882
|
+
e.label ? (L(), S("span", ia, G(e.label), 1)) : x("", !0),
|
|
3883
|
+
e.label ? (L(), S("div", aa)) : x("", !0)
|
|
3961
3884
|
], 2));
|
|
3962
3885
|
}
|
|
3963
|
-
}),
|
|
3886
|
+
}), ca = {
|
|
3964
3887
|
class: "flex flex-col",
|
|
3965
3888
|
role: "listbox"
|
|
3966
|
-
},
|
|
3889
|
+
}, la = [
|
|
3967
3890
|
"draggable",
|
|
3968
3891
|
"onDragstart",
|
|
3969
3892
|
"onDragover",
|
|
3970
3893
|
"onDrop"
|
|
3971
|
-
],
|
|
3894
|
+
], ua = ["onDragstart"], da = { class: "min-w-0 flex-1" }, fa = { class: "text-body-medium text-on-surface" }, pa = /* @__PURE__ */ D({
|
|
3972
3895
|
__name: "MDragDropList",
|
|
3973
3896
|
props: {
|
|
3974
3897
|
modelValue: {},
|
|
@@ -4012,7 +3935,7 @@ var ot = /* @__PURE__ */ D({
|
|
|
4012
3935
|
function p(e) {
|
|
4013
3936
|
return i.value === e ? "opacity-30" : a.value === e && i.value !== null ? "ring-2 ring-primary ring-inset" : "";
|
|
4014
3937
|
}
|
|
4015
|
-
return (t, n) => (L(), S("div",
|
|
3938
|
+
return (t, n) => (L(), S("div", ca, [(L(!0), S(m, null, V(e.modelValue, (n, r) => (L(), S("div", {
|
|
4016
3939
|
key: n.id,
|
|
4017
3940
|
draggable: !e.handle,
|
|
4018
3941
|
class: M(["group flex items-center gap-2 rounded-lg px-3 py-2 transition-all", [p(r), !e.handle && "cursor-grab active:cursor-grabbing"]]),
|
|
@@ -4030,12 +3953,12 @@ var ot = /* @__PURE__ */ D({
|
|
|
4030
3953
|
}, [E(f, {
|
|
4031
3954
|
name: "drag_indicator",
|
|
4032
3955
|
size: 20
|
|
4033
|
-
})], 40,
|
|
3956
|
+
})], 40, ua)) : x("", !0), C("div", da, [H(t.$slots, "default", {
|
|
4034
3957
|
item: n,
|
|
4035
3958
|
index: r
|
|
4036
|
-
}, () => [C("span",
|
|
3959
|
+
}, () => [C("span", fa, G(n.id), 1)])])], 42, la))), 128))]));
|
|
4037
3960
|
}
|
|
4038
|
-
}),
|
|
3961
|
+
}), ma = ["aria-label", "role"], ha = /* @__PURE__ */ D({
|
|
4039
3962
|
__name: "MEmoji",
|
|
4040
3963
|
props: {
|
|
4041
3964
|
emoji: {},
|
|
@@ -4052,9 +3975,9 @@ var ot = /* @__PURE__ */ D({
|
|
|
4052
3975
|
}),
|
|
4053
3976
|
"aria-label": e.label,
|
|
4054
3977
|
role: e.label ? "img" : void 0
|
|
4055
|
-
}, G(e.emoji), 13,
|
|
3978
|
+
}, G(e.emoji), 13, ma));
|
|
4056
3979
|
}
|
|
4057
|
-
}),
|
|
3980
|
+
}), ga = [
|
|
4058
3981
|
{
|
|
4059
3982
|
id: "smileys",
|
|
4060
3983
|
label: "Smileys",
|
|
@@ -4121,14 +4044,14 @@ var ot = /* @__PURE__ */ D({
|
|
|
4121
4044
|
icon: "flag",
|
|
4122
4045
|
emojis: /* @__PURE__ */ "🏁.🚩.🎌.🏴.🏳️.🏳️🌈.🏳️⚧️.🏴☠️.🇦🇷.🇦🇺.🇧🇷.🇨🇦.🇨🇱.🇨🇳.🇨🇴.🇩🇪.🇪🇸.🇫🇷.🇬🇧.🇮🇹.🇯🇵.🇰🇷.🇲🇽.🇳🇱.🇵🇪.🇵🇹.🇷🇺.🇸🇪.🇺🇸.🇻🇪.🇪🇨.🇧🇴.🇵🇾.🇺🇾.🇨🇷.🇵🇦.🇨🇺.🇩🇴.🇬🇹.🇭🇳.🇳🇮.🇸🇻.🇵🇷.🇮🇳.🇮🇩.🇹🇷.🇵🇭.🇹🇭".split(".")
|
|
4123
4046
|
}
|
|
4124
|
-
],
|
|
4125
|
-
function
|
|
4126
|
-
let t = e ??
|
|
4047
|
+
], _a = ga.flatMap((e) => e.emojis);
|
|
4048
|
+
function va(e) {
|
|
4049
|
+
let t = e ?? _a;
|
|
4127
4050
|
return t[Math.floor(Math.random() * t.length)];
|
|
4128
4051
|
}
|
|
4129
4052
|
//#endregion
|
|
4130
4053
|
//#region src/components/MEmojiButton.vue?vue&type=script&setup=true&lang.ts
|
|
4131
|
-
var
|
|
4054
|
+
var ya = ["aria-label", "disabled"], ba = { class: "leading-none" }, xa = /* @__PURE__ */ D({
|
|
4132
4055
|
__name: "MEmojiButton",
|
|
4133
4056
|
props: {
|
|
4134
4057
|
emoji: { default: "😀" },
|
|
@@ -4148,10 +4071,10 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4148
4071
|
setup(e, { emit: t }) {
|
|
4149
4072
|
let n = e, r = t, i = B(n.emoji);
|
|
4150
4073
|
function a() {
|
|
4151
|
-
return n.category ?
|
|
4074
|
+
return n.category ? ga.find((e) => e.id === n.category)?.emojis ?? _a : _a;
|
|
4152
4075
|
}
|
|
4153
4076
|
function o() {
|
|
4154
|
-
!n.randomOnHover || n.disabled || (i.value =
|
|
4077
|
+
!n.randomOnHover || n.disabled || (i.value = va(a()));
|
|
4155
4078
|
}
|
|
4156
4079
|
function s() {}
|
|
4157
4080
|
function c() {
|
|
@@ -4170,15 +4093,15 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4170
4093
|
onMouseenter: o,
|
|
4171
4094
|
onMouseleave: s,
|
|
4172
4095
|
onClick: c
|
|
4173
|
-
}, [C("span",
|
|
4096
|
+
}, [C("span", ba, G(i.value), 1)], 46, ya));
|
|
4174
4097
|
}
|
|
4175
|
-
}),
|
|
4098
|
+
}), Sa = { class: "flex w-full flex-col overflow-hidden rounded-xl border border-outline-variant bg-surface-container" }, Ca = {
|
|
4176
4099
|
key: 0,
|
|
4177
4100
|
class: "px-3 pt-3"
|
|
4178
|
-
},
|
|
4101
|
+
}, wa = { class: "flex gap-0.5 overflow-x-auto border-b border-outline-variant px-2 py-1.5" }, Ta = ["title", "onClick"], Ea = { class: "sticky -top-px z-10 -mx-2 bg-surface-container px-3 py-1.5 text-label-medium text-on-surface-variant" }, Da = ["onClick"], Oa = {
|
|
4179
4102
|
key: 0,
|
|
4180
4103
|
class: "py-8 text-center text-body-medium text-on-surface-variant"
|
|
4181
|
-
},
|
|
4104
|
+
}, ka = /* @__PURE__ */ D({
|
|
4182
4105
|
__name: "MEmojiSelector",
|
|
4183
4106
|
props: {
|
|
4184
4107
|
categories: {},
|
|
@@ -4191,7 +4114,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4191
4114
|
},
|
|
4192
4115
|
emits: ["select"],
|
|
4193
4116
|
setup(e, { emit: t }) {
|
|
4194
|
-
let n = e, r = t, i = B(""), a = B(null), o = B(null), s = B({}), l = v(() => n.categories?.length ?
|
|
4117
|
+
let n = e, r = t, i = B(""), a = B(null), o = B(null), s = B({}), l = v(() => n.categories?.length ? ga.filter((e) => n.categories.includes(e.id)) : ga), u = v(() => {
|
|
4195
4118
|
if (!i.value) return l.value;
|
|
4196
4119
|
let e = i.value.toLowerCase();
|
|
4197
4120
|
return l.value.map((t) => ({
|
|
@@ -4213,15 +4136,15 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4213
4136
|
function h(e, t) {
|
|
4214
4137
|
t && (s.value[e] = t);
|
|
4215
4138
|
}
|
|
4216
|
-
return (t, n) => (L(), S("div",
|
|
4217
|
-
e.search ? (L(), S("div",
|
|
4139
|
+
return (t, n) => (L(), S("div", Sa, [
|
|
4140
|
+
e.search ? (L(), S("div", Ca, [E(c, {
|
|
4218
4141
|
modelValue: i.value,
|
|
4219
4142
|
"onUpdate:modelValue": n[0] ||= (e) => i.value = e,
|
|
4220
4143
|
label: "Search",
|
|
4221
4144
|
"leading-icon": "search",
|
|
4222
4145
|
variant: "outlined"
|
|
4223
4146
|
}, null, 8, ["modelValue"])])) : x("", !0),
|
|
4224
|
-
C("div",
|
|
4147
|
+
C("div", wa, [(L(!0), S(m, null, V(l.value, (e) => (L(), S("button", {
|
|
4225
4148
|
key: e.id,
|
|
4226
4149
|
type: "button",
|
|
4227
4150
|
title: e.label,
|
|
@@ -4230,7 +4153,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4230
4153
|
}, [E(f, {
|
|
4231
4154
|
name: e.icon,
|
|
4232
4155
|
size: 20
|
|
4233
|
-
}, null, 8, ["name"])], 10,
|
|
4156
|
+
}, null, 8, ["name"])], 10, Ta))), 128))]),
|
|
4234
4157
|
C("div", {
|
|
4235
4158
|
ref_key: "scrollContainer",
|
|
4236
4159
|
ref: o,
|
|
@@ -4240,7 +4163,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4240
4163
|
key: t.id,
|
|
4241
4164
|
ref_for: !0,
|
|
4242
4165
|
ref: (e) => h(t.id, e)
|
|
4243
|
-
}, [C("p",
|
|
4166
|
+
}, [C("p", Ea, G(t.label), 1), C("div", {
|
|
4244
4167
|
class: "grid gap-0.5",
|
|
4245
4168
|
style: N({ gridTemplateColumns: `repeat(${e.columns}, 1fr)` })
|
|
4246
4169
|
}, [(L(!0), S(m, null, V(t.emojis, (t) => (L(), S("button", {
|
|
@@ -4252,10 +4175,10 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4252
4175
|
height: `${e.emojiSize + 10}px`
|
|
4253
4176
|
}),
|
|
4254
4177
|
onClick: (e) => p(t)
|
|
4255
|
-
}, G(t), 13,
|
|
4178
|
+
}, G(t), 13, Da))), 128))], 4)], 512))), 128)), i.value && u.value.length === 0 ? (L(), S("p", Oa, " No results ")) : x("", !0)], 512)
|
|
4256
4179
|
]));
|
|
4257
4180
|
}
|
|
4258
|
-
}),
|
|
4181
|
+
}), Aa = /* @__PURE__ */ D({
|
|
4259
4182
|
__name: "MEmptyState",
|
|
4260
4183
|
props: {
|
|
4261
4184
|
icon: { default: "inbox" },
|
|
@@ -4280,10 +4203,10 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4280
4203
|
}, [H(t.$slots, "actions")], 2)) : x("", !0)
|
|
4281
4204
|
], 2));
|
|
4282
4205
|
}
|
|
4283
|
-
}),
|
|
4206
|
+
}), ja = ["aria-expanded", "disabled"], Ma = { class: "flex-1 min-w-0" }, Na = { class: "text-body-large font-medium text-on-surface" }, Pa = {
|
|
4284
4207
|
key: 0,
|
|
4285
4208
|
class: "text-body-small text-on-surface-variant"
|
|
4286
|
-
},
|
|
4209
|
+
}, Fa = { class: "expand-body" }, Ia = { class: "border-t border-outline-variant/60 px-5 py-4" }, La = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
4287
4210
|
__name: "MExpansionPanel",
|
|
4288
4211
|
props: {
|
|
4289
4212
|
title: {},
|
|
@@ -4321,21 +4244,21 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4321
4244
|
size: 22,
|
|
4322
4245
|
class: "shrink-0 text-on-surface-variant"
|
|
4323
4246
|
}, null, 8, ["name"])) : x("", !0),
|
|
4324
|
-
C("div",
|
|
4247
|
+
C("div", Ma, [C("p", Na, G(e.title), 1), e.subtitle ? (L(), S("p", Pa, G(e.subtitle), 1)) : x("", !0)]),
|
|
4325
4248
|
E(f, {
|
|
4326
4249
|
name: "expand_more",
|
|
4327
4250
|
size: 22,
|
|
4328
4251
|
class: M(["shrink-0 text-on-surface-variant transition-transform duration-200", a.value ? "rotate-180" : ""])
|
|
4329
4252
|
}, null, 8, ["class"])
|
|
4330
|
-
], 10,
|
|
4253
|
+
], 10, ja), C("div", { class: M(["expand-grid", a.value ? "expand-open" : ""]) }, [C("div", Fa, [C("div", Ia, [H(t.$slots, "default", {}, void 0, !0)])])], 2)], 2));
|
|
4331
4254
|
}
|
|
4332
|
-
}), [["__scopeId", "data-v-31731809"]]),
|
|
4255
|
+
}), [["__scopeId", "data-v-31731809"]]), Ra = {
|
|
4333
4256
|
key: 0,
|
|
4334
4257
|
class: "text-label-large font-medium"
|
|
4335
|
-
},
|
|
4258
|
+
}, za = {
|
|
4336
4259
|
key: 0,
|
|
4337
4260
|
class: "whitespace-nowrap rounded-md bg-surface-container-high px-3 py-1.5 text-label-medium text-on-surface shadow-elevation-1"
|
|
4338
|
-
},
|
|
4261
|
+
}, Ba = 40, Va = 8, Ha = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
4339
4262
|
__name: "MFab",
|
|
4340
4263
|
props: {
|
|
4341
4264
|
icon: {},
|
|
@@ -4398,8 +4321,8 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4398
4321
|
let t = 2 * Math.PI * e / a - Math.PI / 2, n = (Math.cos(t) * 80).toFixed(1), s = (Math.sin(t) * 80).toFixed(1);
|
|
4399
4322
|
return {
|
|
4400
4323
|
position: "fixed",
|
|
4401
|
-
top: `${i -
|
|
4402
|
-
left: `${r -
|
|
4324
|
+
top: `${i - Ba / 2}px`,
|
|
4325
|
+
left: `${r - Ba / 2}px`,
|
|
4403
4326
|
transform: o.value ? `translate(${n}px, ${s}px) scale(1)` : "translate(0,0) scale(0)",
|
|
4404
4327
|
opacity: o.value ? "1" : "0",
|
|
4405
4328
|
transition: c,
|
|
@@ -4407,22 +4330,22 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4407
4330
|
zIndex: "1000"
|
|
4408
4331
|
};
|
|
4409
4332
|
}
|
|
4410
|
-
let l = w.value / 2 +
|
|
4333
|
+
let l = w.value / 2 + Va + Ba / 2 + e * 48, u = {
|
|
4411
4334
|
up: {
|
|
4412
|
-
top: `${i - l -
|
|
4413
|
-
left: `${r -
|
|
4335
|
+
top: `${i - l - Ba / 2}px`,
|
|
4336
|
+
left: `${r - Ba / 2}px`
|
|
4414
4337
|
},
|
|
4415
4338
|
down: {
|
|
4416
|
-
top: `${i + l -
|
|
4417
|
-
left: `${r -
|
|
4339
|
+
top: `${i + l - Ba / 2}px`,
|
|
4340
|
+
left: `${r - Ba / 2}px`
|
|
4418
4341
|
},
|
|
4419
4342
|
left: {
|
|
4420
|
-
top: `${i -
|
|
4421
|
-
left: `${r - l -
|
|
4343
|
+
top: `${i - Ba / 2}px`,
|
|
4344
|
+
left: `${r - l - Ba / 2}px`
|
|
4422
4345
|
},
|
|
4423
4346
|
right: {
|
|
4424
|
-
top: `${i -
|
|
4425
|
-
left: `${r + l -
|
|
4347
|
+
top: `${i - Ba / 2}px`,
|
|
4348
|
+
left: `${r + l - Ba / 2}px`
|
|
4426
4349
|
}
|
|
4427
4350
|
}, d = {
|
|
4428
4351
|
up: "translateY(12px) scale(0.75)",
|
|
@@ -4519,7 +4442,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4519
4442
|
"name",
|
|
4520
4443
|
"size",
|
|
4521
4444
|
"class"
|
|
4522
|
-
]), e.label ? (L(), S("span",
|
|
4445
|
+
]), e.label ? (L(), S("span", Ra, G(e.label), 1)) : x("", !0)]),
|
|
4523
4446
|
_: 1
|
|
4524
4447
|
}, 40, [
|
|
4525
4448
|
"to",
|
|
@@ -4530,13 +4453,13 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4530
4453
|
key: n,
|
|
4531
4454
|
style: N(D(n)),
|
|
4532
4455
|
class: M(["flex items-center gap-3", O.value ? "flex-row-reverse" : ""])
|
|
4533
|
-
}, [t.label && O.value ? (L(), S("span",
|
|
4456
|
+
}, [t.label && O.value ? (L(), S("span", za, G(t.label), 1)) : x("", !0), (L(), b(W(t.to ? "RouterLink" : "button"), {
|
|
4534
4457
|
to: t.to || void 0,
|
|
4535
4458
|
type: t.to ? void 0 : "button",
|
|
4536
4459
|
class: M(["relative flex cursor-pointer items-center justify-center overflow-hidden rounded-lg shadow-elevation-1 transition-shadow duration-150 hover:shadow-elevation-2 active:shadow-elevation-1 before:content-[''] before:pointer-events-none before:absolute before:inset-0 before:bg-current before:opacity-0 before:transition-opacity before:duration-150 hover:before:opacity-[0.08] active:before:opacity-[0.12]", p[e.color]]),
|
|
4537
4460
|
style: N({
|
|
4538
|
-
width: `${
|
|
4539
|
-
height: `${
|
|
4461
|
+
width: `${Ba}px`,
|
|
4462
|
+
height: `${Ba}px`
|
|
4540
4463
|
}),
|
|
4541
4464
|
onPointerdown: (e) => U(e, t, e.currentTarget)
|
|
4542
4465
|
}, {
|
|
@@ -4565,17 +4488,17 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4565
4488
|
_: 3
|
|
4566
4489
|
})]))], 64));
|
|
4567
4490
|
}
|
|
4568
|
-
}), [["__scopeId", "data-v-02ba313e"]]),
|
|
4491
|
+
}), [["__scopeId", "data-v-02ba313e"]]), Ua = { class: "flex flex-col gap-3" }, Wa = { class: "text-center" }, Ga = { class: "text-body-large text-on-surface" }, Ka = { class: "font-medium text-primary" }, qa = {
|
|
4569
4492
|
key: 0,
|
|
4570
4493
|
class: "mt-1 text-body-small text-on-surface-variant"
|
|
4571
|
-
},
|
|
4494
|
+
}, Ja = { key: 0 }, Ya = { key: 1 }, Xa = { key: 2 }, Za = [
|
|
4572
4495
|
"accept",
|
|
4573
4496
|
"multiple",
|
|
4574
4497
|
"disabled"
|
|
4575
|
-
],
|
|
4498
|
+
], Qa = { class: "flex h-10 w-10 shrink-0 items-center justify-center overflow-hidden rounded-md bg-surface-container-high" }, $a = ["src"], eo = { class: "min-w-0 flex-1" }, to = { class: "truncate text-body-medium text-on-surface" }, no = { class: "text-body-small text-on-surface-variant" }, ro = {
|
|
4576
4499
|
key: 0,
|
|
4577
4500
|
class: "mt-1.5 h-1 w-full overflow-hidden rounded-full bg-surface-container-highest"
|
|
4578
|
-
},
|
|
4501
|
+
}, io = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
4579
4502
|
__name: "MFileUpload",
|
|
4580
4503
|
props: {
|
|
4581
4504
|
accept: {},
|
|
@@ -4627,7 +4550,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4627
4550
|
function O() {
|
|
4628
4551
|
i.disabled || u.value?.click();
|
|
4629
4552
|
}
|
|
4630
|
-
return (t, r) => (L(), S("div",
|
|
4553
|
+
return (t, r) => (L(), S("div", Ua, [
|
|
4631
4554
|
C("div", {
|
|
4632
4555
|
class: M(["relative flex min-h-[160px] cursor-pointer flex-col items-center justify-center gap-3 rounded-lg border-2 border-dashed p-6 transition-colors duration-150", [e.disabled ? "cursor-not-allowed border-outline-variant/50 bg-surface-container/30 opacity-60" : l.value ? "border-primary bg-primary-container/20" : "border-outline-variant bg-surface-container-lowest hover:border-primary/60 hover:bg-surface-container"]]),
|
|
4633
4556
|
onClick: O,
|
|
@@ -4639,10 +4562,10 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4639
4562
|
name: l.value ? "downloading" : "cloud_upload",
|
|
4640
4563
|
size: 40,
|
|
4641
4564
|
class: "text-on-surface-variant"
|
|
4642
|
-
}, null, 8, ["name"]), C("div",
|
|
4643
|
-
e.accept ? (L(), S("span",
|
|
4644
|
-
e.accept && e.maxSize ? (L(), S("span",
|
|
4645
|
-
e.maxSize ? (L(), S("span",
|
|
4565
|
+
}, null, 8, ["name"]), C("div", Wa, [H(t.$slots, "dropzone", {}, () => [C("p", Ga, [T(G(e.dropText ?? K(n).dropText) + " ", 1), C("span", Ka, G(e.selectText ?? K(n).selectText), 1)]), e.accept || e.maxSize ? (L(), S("p", qa, [
|
|
4566
|
+
e.accept ? (L(), S("span", Ja, G(e.accept), 1)) : x("", !0),
|
|
4567
|
+
e.accept && e.maxSize ? (L(), S("span", Ya, " · ")) : x("", !0),
|
|
4568
|
+
e.maxSize ? (L(), S("span", Xa, G(e.maxSizePrefix ?? K(n).maxSizePrefix) + " " + G(h(e.maxSize)), 1)) : x("", !0)
|
|
4646
4569
|
])) : x("", !0)], !0)])], 34),
|
|
4647
4570
|
C("input", {
|
|
4648
4571
|
ref_key: "inputRef",
|
|
@@ -4653,7 +4576,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4653
4576
|
multiple: e.multiple,
|
|
4654
4577
|
disabled: e.disabled,
|
|
4655
4578
|
onChange: w
|
|
4656
|
-
}, null, 40,
|
|
4579
|
+
}, null, 40, Za),
|
|
4657
4580
|
E(_, {
|
|
4658
4581
|
name: "m3-file",
|
|
4659
4582
|
tag: "div",
|
|
@@ -4663,20 +4586,20 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4663
4586
|
key: t.id,
|
|
4664
4587
|
class: "flex items-center gap-3 rounded-lg bg-surface-container p-3"
|
|
4665
4588
|
}, [
|
|
4666
|
-
C("div",
|
|
4589
|
+
C("div", Qa, [t.preview ? (L(), S("img", {
|
|
4667
4590
|
key: 0,
|
|
4668
4591
|
src: t.preview,
|
|
4669
4592
|
class: "h-full w-full object-cover"
|
|
4670
|
-
}, null, 8,
|
|
4593
|
+
}, null, 8, $a)) : (L(), b(f, {
|
|
4671
4594
|
key: 1,
|
|
4672
4595
|
name: "description",
|
|
4673
4596
|
size: 24,
|
|
4674
4597
|
class: "text-on-surface-variant"
|
|
4675
4598
|
}))]),
|
|
4676
|
-
C("div",
|
|
4677
|
-
C("p",
|
|
4678
|
-
C("p",
|
|
4679
|
-
t.status === "uploading" ? (L(), S("div",
|
|
4599
|
+
C("div", eo, [
|
|
4600
|
+
C("p", to, G(t.file.name), 1),
|
|
4601
|
+
C("p", no, G(h(t.file.size)), 1),
|
|
4602
|
+
t.status === "uploading" ? (L(), S("div", ro, [C("div", {
|
|
4680
4603
|
class: "h-full rounded-full bg-primary transition-[width] duration-300",
|
|
4681
4604
|
style: N({ width: `${t.progress}%` })
|
|
4682
4605
|
}, null, 4)])) : x("", !0)
|
|
@@ -4706,7 +4629,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4706
4629
|
})
|
|
4707
4630
|
]));
|
|
4708
4631
|
}
|
|
4709
|
-
}), [["__scopeId", "data-v-6b150427"]]),
|
|
4632
|
+
}), [["__scopeId", "data-v-6b150427"]]), ao = /* @__PURE__ */ D({
|
|
4710
4633
|
__name: "MFixed",
|
|
4711
4634
|
props: {
|
|
4712
4635
|
placement: {},
|
|
@@ -4752,19 +4675,19 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4752
4675
|
});
|
|
4753
4676
|
return (e, t) => (L(), S("div", { style: N(r.value) }, [H(e.$slots, "default")], 4));
|
|
4754
4677
|
}
|
|
4755
|
-
}),
|
|
4678
|
+
}), oo = {
|
|
4756
4679
|
key: 0,
|
|
4757
4680
|
class: "px-6 pt-6 pb-2 sm:px-8 lg:px-12"
|
|
4758
|
-
},
|
|
4681
|
+
}, so = {
|
|
4759
4682
|
key: 1,
|
|
4760
4683
|
class: "px-6 py-6 sm:px-8 lg:px-12"
|
|
4761
|
-
},
|
|
4684
|
+
}, co = {
|
|
4762
4685
|
key: 2,
|
|
4763
4686
|
class: "flex flex-wrap items-center gap-1 px-6 pb-4 sm:px-8 lg:px-12"
|
|
4764
|
-
},
|
|
4687
|
+
}, lo = {
|
|
4765
4688
|
key: 3,
|
|
4766
4689
|
class: "border-t border-outline-variant px-6 py-4 sm:px-8 lg:px-12"
|
|
4767
|
-
},
|
|
4690
|
+
}, uo = /* @__PURE__ */ D({
|
|
4768
4691
|
__name: "MFooter",
|
|
4769
4692
|
props: {
|
|
4770
4693
|
bordered: { type: Boolean },
|
|
@@ -4779,13 +4702,13 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4779
4702
|
inverse: "bg-inverse-surface text-inverse-on-surface"
|
|
4780
4703
|
};
|
|
4781
4704
|
return (n, r) => (L(), S("footer", { class: M(["w-full", [t[e.surface], e.bordered ? "border-t border-outline-variant" : ""]]) }, [
|
|
4782
|
-
n.$slots.brand ? (L(), S("div",
|
|
4783
|
-
n.$slots.default ? (L(), S("div",
|
|
4784
|
-
n.$slots.social ? (L(), S("div",
|
|
4785
|
-
n.$slots.bottom ? (L(), S("div",
|
|
4705
|
+
n.$slots.brand ? (L(), S("div", oo, [H(n.$slots, "brand")])) : x("", !0),
|
|
4706
|
+
n.$slots.default ? (L(), S("div", so, [H(n.$slots, "default")])) : x("", !0),
|
|
4707
|
+
n.$slots.social ? (L(), S("div", co, [H(n.$slots, "social")])) : x("", !0),
|
|
4708
|
+
n.$slots.bottom ? (L(), S("div", lo, [H(n.$slots, "bottom")])) : x("", !0)
|
|
4786
4709
|
], 2));
|
|
4787
4710
|
}
|
|
4788
|
-
}),
|
|
4711
|
+
}), fo = /* @__PURE__ */ D({
|
|
4789
4712
|
__name: "MFlex",
|
|
4790
4713
|
props: {
|
|
4791
4714
|
direction: { default: "row" },
|
|
@@ -4837,7 +4760,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4837
4760
|
]);
|
|
4838
4761
|
return (e, t) => (L(), S("div", { class: M(o.value) }, [H(e.$slots, "default")], 2));
|
|
4839
4762
|
}
|
|
4840
|
-
}),
|
|
4763
|
+
}), po = /* @__PURE__ */ D({
|
|
4841
4764
|
__name: "MFullscreen",
|
|
4842
4765
|
props: {
|
|
4843
4766
|
fixed: {
|
|
@@ -4854,7 +4777,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4854
4777
|
}));
|
|
4855
4778
|
return (e, t) => (L(), S("div", { style: N(n.value) }, [H(e.$slots, "default")], 4));
|
|
4856
4779
|
}
|
|
4857
|
-
}),
|
|
4780
|
+
}), mo = /* @__PURE__ */ D({
|
|
4858
4781
|
__name: "MGrid",
|
|
4859
4782
|
props: {
|
|
4860
4783
|
cols: { default: 1 },
|
|
@@ -4930,13 +4853,13 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4930
4853
|
]);
|
|
4931
4854
|
return (e, t) => (L(), S("div", { class: M(l.value) }, [H(e.$slots, "default")], 2));
|
|
4932
4855
|
}
|
|
4933
|
-
}),
|
|
4856
|
+
}), ho = {
|
|
4934
4857
|
key: 0,
|
|
4935
4858
|
class: "flex flex-col gap-4"
|
|
4936
|
-
},
|
|
4859
|
+
}, go = {
|
|
4937
4860
|
key: 0,
|
|
4938
4861
|
class: "mb-2 text-label-small font-medium tracking-wide text-on-surface-variant uppercase"
|
|
4939
|
-
},
|
|
4862
|
+
}, _o = { class: "flex flex-col gap-1" }, vo = { class: "text-body-medium text-on-surface" }, yo = { class: "flex items-center gap-0.5" }, bo = /* @__PURE__ */ D({
|
|
4940
4863
|
__name: "MHotkeys",
|
|
4941
4864
|
props: {
|
|
4942
4865
|
bindings: {},
|
|
@@ -4993,15 +4916,15 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
4993
4916
|
}
|
|
4994
4917
|
return e;
|
|
4995
4918
|
};
|
|
4996
|
-
return (t, n) => e.showOverlay ? (L(), S("div",
|
|
4919
|
+
return (t, n) => e.showOverlay ? (L(), S("div", ho, [(L(!0), S(m, null, V(s(), ([e, t]) => (L(), S("div", { key: e }, [e ? (L(), S("p", go, G(e), 1)) : x("", !0), C("div", _o, [(L(!0), S(m, null, V(t, (e) => (L(), S("div", {
|
|
4997
4920
|
key: e.keys,
|
|
4998
4921
|
class: M(["flex items-center justify-between rounded-lg px-3 py-2 transition-colors hover:bg-on-surface/4", e.disabled && "opacity-38"])
|
|
4999
|
-
}, [C("span",
|
|
4922
|
+
}, [C("span", vo, G(e.label), 1), C("div", yo, [(L(!0), S(m, null, V(e.keys.split("+"), (e, t) => (L(), S("kbd", {
|
|
5000
4923
|
key: t,
|
|
5001
4924
|
class: "inline-flex min-w-[24px] items-center justify-center rounded bg-surface-container px-1.5 py-0.5 text-center text-label-small font-medium text-on-surface-variant"
|
|
5002
4925
|
}, G(r(e.trim())), 1))), 128))])], 2))), 128))])]))), 128))])) : x("", !0);
|
|
5003
4926
|
}
|
|
5004
|
-
}),
|
|
4927
|
+
}), xo = { class: "flex items-center gap-3" }, So = { class: "text-body-medium text-on-surface-variant" }, Co = { class: "text-body-small text-on-surface-variant" }, wo = /* @__PURE__ */ D({
|
|
5005
4928
|
__name: "MInfiniteScroll",
|
|
5006
4929
|
props: {
|
|
5007
4930
|
loading: {
|
|
@@ -5032,30 +4955,30 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5032
4955
|
ref_key: "sentinelRef",
|
|
5033
4956
|
ref: s,
|
|
5034
4957
|
class: "flex items-center justify-center py-4"
|
|
5035
|
-
}, [e.loading ? H(t.$slots, "loading", { key: 0 }, () => [C("div",
|
|
4958
|
+
}, [e.loading ? H(t.$slots, "loading", { key: 0 }, () => [C("div", xo, [E(a, {
|
|
5036
4959
|
size: 20,
|
|
5037
4960
|
class: "text-primary"
|
|
5038
|
-
}), C("span",
|
|
4961
|
+
}), C("span", So, G(e.loadingText ?? K(n).loadingMore), 1)])]) : e.ended ? H(t.$slots, "end", { key: 1 }, () => [C("p", Co, G(e.endText ?? K(n).noMoreItems), 1)]) : H(t.$slots, "idle", { key: 2 })], 512)]));
|
|
5039
4962
|
}
|
|
5040
|
-
}),
|
|
4963
|
+
}), To = {
|
|
5041
4964
|
key: 0,
|
|
5042
4965
|
class: "text-tertiary"
|
|
5043
|
-
},
|
|
4966
|
+
}, Eo = { class: "text-on-surface-variant" }, Do = {
|
|
5044
4967
|
key: 1,
|
|
5045
4968
|
class: "text-on-surface-variant/60"
|
|
5046
|
-
},
|
|
4969
|
+
}, Oo = {
|
|
5047
4970
|
key: 2,
|
|
5048
4971
|
class: "text-on-surface-variant"
|
|
5049
|
-
},
|
|
4972
|
+
}, ko = {
|
|
5050
4973
|
key: 0,
|
|
5051
4974
|
class: "ml-5 border-l border-outline-variant/40 pl-2"
|
|
5052
|
-
},
|
|
4975
|
+
}, Ao = { class: "shrink-0 text-primary" }, jo = {
|
|
5053
4976
|
key: 0,
|
|
5054
4977
|
class: "shrink-0 text-on-surface-variant mr-1"
|
|
5055
|
-
},
|
|
4978
|
+
}, Mo = {
|
|
5056
4979
|
key: 1,
|
|
5057
4980
|
class: "ml-5 text-on-surface-variant"
|
|
5058
|
-
},
|
|
4981
|
+
}, No = /* @__PURE__ */ D({
|
|
5059
4982
|
__name: "MJsonViewer",
|
|
5060
4983
|
props: {
|
|
5061
4984
|
data: {},
|
|
@@ -5096,17 +5019,17 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5096
5019
|
size: 16,
|
|
5097
5020
|
class: "text-on-surface-variant transition-transform duration-100"
|
|
5098
5021
|
}, null, 8, ["name"]),
|
|
5099
|
-
e._depth === 0 || e.rootName ? (L(), S("span",
|
|
5100
|
-
C("span",
|
|
5101
|
-
n.value ? x("", !0) : (L(), S("span",
|
|
5102
|
-
n.value ? x("", !0) : (L(), S("span",
|
|
5022
|
+
e._depth === 0 || e.rootName ? (L(), S("span", To, G(e._depth === 0 ? e.rootName : ""), 1)) : x("", !0),
|
|
5023
|
+
C("span", Eo, G(s.value), 1),
|
|
5024
|
+
n.value ? x("", !0) : (L(), S("span", Do, G(o.value) + " " + G(r.value === "array" ? "elementos" : "campos"), 1)),
|
|
5025
|
+
n.value ? x("", !0) : (L(), S("span", Oo, G(c.value), 1))
|
|
5103
5026
|
]),
|
|
5104
|
-
n.value ? (L(), S("div",
|
|
5027
|
+
n.value ? (L(), S("div", ko, [(L(!0), S(m, null, V(a.value, (t) => (L(), S("div", {
|
|
5105
5028
|
key: t.key,
|
|
5106
5029
|
class: "flex items-start"
|
|
5107
5030
|
}, [
|
|
5108
|
-
C("span",
|
|
5109
|
-
r.value === "array" ? x("", !0) : (L(), S("span",
|
|
5031
|
+
C("span", Ao, G(r.value === "array" ? "" : `"${t.key}"`), 1),
|
|
5032
|
+
r.value === "array" ? x("", !0) : (L(), S("span", jo, ":")),
|
|
5110
5033
|
t.value !== null && typeof t.value == "object" ? (L(), b(p, {
|
|
5111
5034
|
key: 1,
|
|
5112
5035
|
data: t.value,
|
|
@@ -5123,21 +5046,21 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5123
5046
|
class: M(l(t.value))
|
|
5124
5047
|
}, G(u(t.value)), 3))
|
|
5125
5048
|
]))), 128))])) : x("", !0),
|
|
5126
|
-
n.value ? (L(), S("span",
|
|
5049
|
+
n.value ? (L(), S("span", Mo, G(c.value), 1)) : x("", !0)
|
|
5127
5050
|
], 64)) : (L(), S("span", {
|
|
5128
5051
|
key: 1,
|
|
5129
5052
|
class: M(l(e.data))
|
|
5130
5053
|
}, G(u(e.data)), 3))], 2);
|
|
5131
5054
|
};
|
|
5132
5055
|
}
|
|
5133
|
-
}),
|
|
5056
|
+
}), Po = { class: "flex gap-4 overflow-x-auto pb-2" }, Fo = ["onDragover", "onDrop"], Io = { class: "flex items-center gap-2 px-4 py-3" }, Lo = { class: "flex-1 text-title-small font-medium text-on-surface" }, Ro = { class: "rounded-full bg-surface-container-high px-2 py-0.5 text-label-small text-on-surface-variant" }, zo = { class: "flex min-h-[60px] flex-1 flex-col gap-2 px-3 pb-3" }, Bo = [
|
|
5134
5057
|
"onDragstart",
|
|
5135
5058
|
"onDragover",
|
|
5136
5059
|
"onClick"
|
|
5137
|
-
],
|
|
5060
|
+
], Vo = { class: "text-body-medium text-on-surface" }, Ho = {
|
|
5138
5061
|
key: 0,
|
|
5139
5062
|
class: "flex flex-1 items-center justify-center rounded-lg border border-dashed border-outline-variant/50 p-4"
|
|
5140
|
-
},
|
|
5063
|
+
}, Uo = /* @__PURE__ */ D({
|
|
5141
5064
|
__name: "MKanban",
|
|
5142
5065
|
props: { modelValue: {} },
|
|
5143
5066
|
emits: [
|
|
@@ -5196,20 +5119,20 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5196
5119
|
function f() {
|
|
5197
5120
|
i.value = null, a.value = null, o.value = null;
|
|
5198
5121
|
}
|
|
5199
|
-
return (t, n) => (L(), S("div",
|
|
5122
|
+
return (t, n) => (L(), S("div", Po, [(L(!0), S(m, null, V(e.modelValue, (e) => (L(), S("div", {
|
|
5200
5123
|
key: e.id,
|
|
5201
5124
|
class: M(["flex w-72 shrink-0 flex-col rounded-xl bg-surface-container-low", a.value === e.id && i.value ? "ring-2 ring-primary ring-inset" : ""]),
|
|
5202
5125
|
onDragover: (t) => l(t, e.id),
|
|
5203
5126
|
onDragleave: n[0] ||= (e) => a.value = null,
|
|
5204
5127
|
onDrop: (t) => d(t, e.id)
|
|
5205
|
-
}, [C("div",
|
|
5128
|
+
}, [C("div", Io, [
|
|
5206
5129
|
e.color ? (L(), S("div", {
|
|
5207
5130
|
key: 0,
|
|
5208
5131
|
class: M(["h-2.5 w-2.5 rounded-full", s[e.color] ?? "bg-primary"])
|
|
5209
5132
|
}, null, 2)) : x("", !0),
|
|
5210
|
-
C("h3",
|
|
5211
|
-
C("span",
|
|
5212
|
-
]), C("div",
|
|
5133
|
+
C("h3", Lo, G(e.title), 1),
|
|
5134
|
+
C("span", Ro, G(e.cards.length), 1)
|
|
5135
|
+
]), C("div", zo, [(L(!0), S(m, null, V(e.cards, (n, s) => (L(), S("div", {
|
|
5213
5136
|
key: n.id,
|
|
5214
5137
|
draggable: "true",
|
|
5215
5138
|
class: M(["cursor-grab rounded-lg bg-surface p-3 shadow-elevation-1 transition-all duration-150 active:cursor-grabbing", [i.value?.cardId === n.id ? "opacity-30" : "hover:shadow-elevation-2", o.value === s && a.value === e.id && i.value ? "border-t-2 border-primary" : ""]]),
|
|
@@ -5223,9 +5146,9 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5223
5146
|
}, [H(t.$slots, "card", {
|
|
5224
5147
|
card: n,
|
|
5225
5148
|
column: e
|
|
5226
|
-
}, () => [C("p",
|
|
5149
|
+
}, () => [C("p", Vo, G(n.id), 1)])], 42, Bo))), 128)), e.cards.length === 0 ? (L(), S("div", Ho, [...n[1] ||= [C("p", { class: "text-body-small text-on-surface-variant/60" }, "Sin tarjetas", -1)]])) : x("", !0)])], 42, Fo))), 128))]));
|
|
5227
5150
|
}
|
|
5228
|
-
}),
|
|
5151
|
+
}), Wo = /* @__PURE__ */ D({
|
|
5229
5152
|
__name: "MList",
|
|
5230
5153
|
props: {
|
|
5231
5154
|
dense: {
|
|
@@ -5274,10 +5197,10 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5274
5197
|
class: M(i.value)
|
|
5275
5198
|
}, [H(e.$slots, "default")], 2));
|
|
5276
5199
|
}
|
|
5277
|
-
}),
|
|
5200
|
+
}), Go = ["checked", "disabled"], Ko = {
|
|
5278
5201
|
key: 0,
|
|
5279
5202
|
class: "text-body-large text-on-surface"
|
|
5280
|
-
},
|
|
5203
|
+
}, qo = /* @__PURE__ */ D({
|
|
5281
5204
|
__name: "MSwitch",
|
|
5282
5205
|
props: {
|
|
5283
5206
|
modelValue: { type: Boolean },
|
|
@@ -5299,7 +5222,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5299
5222
|
checked: e.modelValue,
|
|
5300
5223
|
disabled: e.disabled,
|
|
5301
5224
|
onChange: n[0] ||= (t) => r("update:modelValue", !e.modelValue)
|
|
5302
|
-
}, null, 40,
|
|
5225
|
+
}, null, 40, Go), C("span", {
|
|
5303
5226
|
class: M(["absolute left-1 top-1/2 flex h-6 w-6 items-center justify-center rounded-full will-change-transform", e.modelValue ? "bg-on-primary shadow-sm" : "bg-outline"]),
|
|
5304
5227
|
style: N(i.value)
|
|
5305
5228
|
}, [E(g, {
|
|
@@ -5317,21 +5240,21 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5317
5240
|
class: "text-primary"
|
|
5318
5241
|
})) : x("", !0)]),
|
|
5319
5242
|
_: 1
|
|
5320
|
-
})], 6)], 2), e.label ? (L(), S("span",
|
|
5243
|
+
})], 6)], 2), e.label ? (L(), S("span", Ko, G(e.label), 1)) : x("", !0)], 2));
|
|
5321
5244
|
}
|
|
5322
|
-
}),
|
|
5245
|
+
}), Jo = {
|
|
5323
5246
|
key: 0,
|
|
5324
5247
|
role: "listitem"
|
|
5325
|
-
},
|
|
5248
|
+
}, Yo = { class: "min-w-0 flex-1" }, Xo = { class: "truncate text-body-large text-on-surface" }, Zo = {
|
|
5326
5249
|
key: 0,
|
|
5327
5250
|
class: "mli-expand-grid"
|
|
5328
|
-
},
|
|
5251
|
+
}, Qo = { class: "mli-expand-body" }, $o = ["src"], es = { class: "min-w-0 flex-1" }, ts = { class: "truncate text-body-large text-on-surface" }, ns = {
|
|
5329
5252
|
key: 1,
|
|
5330
5253
|
class: "line-clamp-2 text-body-small text-on-surface-variant"
|
|
5331
|
-
},
|
|
5254
|
+
}, rs = {
|
|
5332
5255
|
key: 1,
|
|
5333
5256
|
class: "shrink-0 text-label-small text-on-surface-variant"
|
|
5334
|
-
},
|
|
5257
|
+
}, is = /* @__PURE__ */ D({
|
|
5335
5258
|
__name: "MListItem",
|
|
5336
5259
|
props: {
|
|
5337
5260
|
title: {},
|
|
@@ -5404,7 +5327,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5404
5327
|
function P() {
|
|
5405
5328
|
r("update:trailingValue", !n.trailingValue);
|
|
5406
5329
|
}
|
|
5407
|
-
return (t, n) => e.expandable ? (L(), S("li",
|
|
5330
|
+
return (t, n) => e.expandable ? (L(), S("li", Jo, [C("div", {
|
|
5408
5331
|
class: M(T.value),
|
|
5409
5332
|
onClick: N
|
|
5410
5333
|
}, [
|
|
@@ -5414,7 +5337,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5414
5337
|
size: 24,
|
|
5415
5338
|
class: "shrink-0 text-on-surface-variant"
|
|
5416
5339
|
}, null, 8, ["name"])) : x("", !0)]),
|
|
5417
|
-
C("div",
|
|
5340
|
+
C("div", Yo, [H(t.$slots, "default", {}, () => [C("p", Xo, G(e.title), 1), e.subtitle && c.value >= 2 ? (L(), S("p", {
|
|
5418
5341
|
key: 0,
|
|
5419
5342
|
class: M(["text-body-medium text-on-surface-variant", c.value === 2 && "truncate"])
|
|
5420
5343
|
}, G(e.subtitle), 3)) : x("", !0)])]),
|
|
@@ -5424,7 +5347,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5424
5347
|
class: "shrink-0 text-on-surface-variant"
|
|
5425
5348
|
}, null, 8, ["name"])
|
|
5426
5349
|
], 2), E(g, { name: "mli-expand" }, {
|
|
5427
|
-
default: Z(() => [o.value ? (L(), S("div",
|
|
5350
|
+
default: Z(() => [o.value ? (L(), S("div", Zo, [C("div", Qo, [H(t.$slots, "children")])])) : x("", !0)]),
|
|
5428
5351
|
_: 3
|
|
5429
5352
|
})])) : (L(), b(W(D.value), A({
|
|
5430
5353
|
key: 1,
|
|
@@ -5459,25 +5382,25 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5459
5382
|
src: e.image,
|
|
5460
5383
|
alt: "",
|
|
5461
5384
|
class: "h-14 w-14 shrink-0 rounded-md object-cover"
|
|
5462
|
-
}, null, 8,
|
|
5385
|
+
}, null, 8, $o)) : d.value === "checkbox" ? (L(), b(zn, {
|
|
5463
5386
|
key: 4,
|
|
5464
5387
|
"model-value": u.value,
|
|
5465
5388
|
class: "shrink-0"
|
|
5466
5389
|
}, null, 8, ["model-value"])) : x("", !0)]),
|
|
5467
|
-
C("div",
|
|
5468
|
-
C("p",
|
|
5390
|
+
C("div", es, [H(t.$slots, "default", {}, () => [
|
|
5391
|
+
C("p", ts, G(e.title), 1),
|
|
5469
5392
|
e.subtitle && c.value >= 2 ? (L(), S("p", {
|
|
5470
5393
|
key: 0,
|
|
5471
5394
|
class: M(["text-body-medium text-on-surface-variant", c.value === 2 && "truncate"])
|
|
5472
5395
|
}, G(e.subtitle), 3)) : x("", !0),
|
|
5473
|
-
e.description && c.value >= 3 ? (L(), S("p",
|
|
5396
|
+
e.description && c.value >= 3 ? (L(), S("p", ns, G(e.description), 1)) : x("", !0)
|
|
5474
5397
|
])]),
|
|
5475
5398
|
H(t.$slots, "trailing", {}, () => [p.value === "icon" ? (L(), b(f, {
|
|
5476
5399
|
key: 0,
|
|
5477
5400
|
name: e.trailingIcon,
|
|
5478
5401
|
size: 24,
|
|
5479
5402
|
class: "shrink-0 text-on-surface-variant"
|
|
5480
|
-
}, null, 8, ["name"])) : p.value === "text" ? (L(), S("span",
|
|
5403
|
+
}, null, 8, ["name"])) : p.value === "text" ? (L(), S("span", rs, G(e.trailingText), 1)) : p.value === "switch" ? (L(), b(qo, {
|
|
5481
5404
|
key: 2,
|
|
5482
5405
|
"model-value": !!e.trailingValue,
|
|
5483
5406
|
"onUpdate:modelValue": P
|
|
@@ -5490,7 +5413,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5490
5413
|
_: 3
|
|
5491
5414
|
}, 16, ["class"]));
|
|
5492
5415
|
}
|
|
5493
|
-
}),
|
|
5416
|
+
}), as = /* @__PURE__ */ D({
|
|
5494
5417
|
__name: "MListSubheader",
|
|
5495
5418
|
props: { inset: {
|
|
5496
5419
|
type: Boolean,
|
|
@@ -5502,16 +5425,16 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5502
5425
|
role: "presentation"
|
|
5503
5426
|
}, [H(t.$slots, "default")], 2));
|
|
5504
5427
|
}
|
|
5505
|
-
}),
|
|
5428
|
+
}), os = {
|
|
5506
5429
|
key: 0,
|
|
5507
5430
|
class: "text-body-large text-on-surface-variant"
|
|
5508
|
-
},
|
|
5431
|
+
}, ss = {
|
|
5509
5432
|
key: 1,
|
|
5510
5433
|
class: "relative"
|
|
5511
|
-
},
|
|
5434
|
+
}, cs = {
|
|
5512
5435
|
key: 0,
|
|
5513
5436
|
class: "text-body-medium text-on-surface-variant"
|
|
5514
|
-
},
|
|
5437
|
+
}, ls = /* @__PURE__ */ D({
|
|
5515
5438
|
__name: "MLoadingOverlay",
|
|
5516
5439
|
props: {
|
|
5517
5440
|
visible: { type: Boolean },
|
|
@@ -5544,11 +5467,11 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5544
5467
|
size: e.spinnerSize,
|
|
5545
5468
|
class: "text-primary"
|
|
5546
5469
|
}, null, 8, ["size"]),
|
|
5547
|
-
e.text ? (L(), S("p",
|
|
5470
|
+
e.text ? (L(), S("p", os, G(e.text), 1)) : x("", !0),
|
|
5548
5471
|
H(t.$slots, "default")
|
|
5549
5472
|
], 2)) : x("", !0)]),
|
|
5550
5473
|
_: 3
|
|
5551
|
-
})])) : (L(), S("div",
|
|
5474
|
+
})])) : (L(), S("div", ss, [H(t.$slots, "content"), E(g, {
|
|
5552
5475
|
"enter-active-class": "transition-opacity duration-200",
|
|
5553
5476
|
"enter-from-class": "opacity-0",
|
|
5554
5477
|
"leave-active-class": "transition-opacity duration-150",
|
|
@@ -5562,13 +5485,13 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5562
5485
|
size: e.spinnerSize,
|
|
5563
5486
|
class: "text-primary"
|
|
5564
5487
|
}, null, 8, ["size"]),
|
|
5565
|
-
e.text ? (L(), S("p",
|
|
5488
|
+
e.text ? (L(), S("p", cs, G(e.text), 1)) : x("", !0),
|
|
5566
5489
|
H(t.$slots, "default")
|
|
5567
5490
|
], 2)) : x("", !0)]),
|
|
5568
5491
|
_: 3
|
|
5569
5492
|
})]));
|
|
5570
5493
|
}
|
|
5571
|
-
}),
|
|
5494
|
+
}), us = /* @__PURE__ */ D({
|
|
5572
5495
|
__name: "MMasonry",
|
|
5573
5496
|
props: {
|
|
5574
5497
|
cols: { default: 2 },
|
|
@@ -5619,28 +5542,33 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5619
5542
|
class: "relative w-full"
|
|
5620
5543
|
}, [H(e.$slots, "default")], 512));
|
|
5621
5544
|
}
|
|
5622
|
-
}),
|
|
5545
|
+
}), ds = {}, fs = { class: "my-1 border-outline-variant" };
|
|
5546
|
+
function ps(e, t) {
|
|
5547
|
+
return L(), S("hr", fs);
|
|
5548
|
+
}
|
|
5549
|
+
var ms = /*#__PURE__*/ p(ds, [["render", ps]]), hs = { class: "flex flex-col gap-1" }, gs = [
|
|
5623
5550
|
"id",
|
|
5624
5551
|
"value",
|
|
5625
5552
|
"disabled",
|
|
5626
5553
|
"required"
|
|
5627
|
-
],
|
|
5554
|
+
], _s = ["for"], vs = {
|
|
5628
5555
|
key: 0,
|
|
5629
5556
|
class: "text-error"
|
|
5630
|
-
},
|
|
5557
|
+
}, ys = {
|
|
5631
5558
|
key: 0,
|
|
5632
5559
|
class: "px-4 text-body-small text-error"
|
|
5633
|
-
},
|
|
5560
|
+
}, bs = {
|
|
5634
5561
|
key: 1,
|
|
5635
5562
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
5636
|
-
},
|
|
5563
|
+
}, xs = /* @__PURE__ */ D({
|
|
5637
5564
|
__name: "MMaskField",
|
|
5638
5565
|
props: {
|
|
5639
5566
|
modelValue: {},
|
|
5640
5567
|
label: {},
|
|
5641
5568
|
mask: {},
|
|
5642
5569
|
variant: { default: "filled" },
|
|
5643
|
-
error: {},
|
|
5570
|
+
error: { type: Boolean },
|
|
5571
|
+
errorLabel: {},
|
|
5644
5572
|
hint: {},
|
|
5645
5573
|
disabled: { type: Boolean },
|
|
5646
5574
|
required: { type: Boolean },
|
|
@@ -5729,7 +5657,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5729
5657
|
i.error ? "text-error peer-focus:text-error" : "text-on-surface-variant peer-focus:text-primary"
|
|
5730
5658
|
].join(" ");
|
|
5731
5659
|
});
|
|
5732
|
-
return (t, n) => (L(), S("div",
|
|
5660
|
+
return (t, n) => (L(), S("div", hs, [C("div", {
|
|
5733
5661
|
ref_key: "fieldBgEl",
|
|
5734
5662
|
ref: s,
|
|
5735
5663
|
class: M(["relative", e.variant === "outlined" ? "mt-2" : ""]),
|
|
@@ -5755,11 +5683,11 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5755
5683
|
class: M(D.value),
|
|
5756
5684
|
onInput: y,
|
|
5757
5685
|
onKeydown: b
|
|
5758
|
-
}, null, 42,
|
|
5686
|
+
}, null, 42, gs),
|
|
5759
5687
|
C("label", {
|
|
5760
5688
|
for: K(o),
|
|
5761
5689
|
class: M(O.value)
|
|
5762
|
-
}, [T(G(e.label), 1), e.required ? (L(), S("span",
|
|
5690
|
+
}, [T(G(e.label), 1), e.required ? (L(), S("span", vs, "\xA0*")) : x("", !0)], 10, _s),
|
|
5763
5691
|
h.value ? (L(), S("button", {
|
|
5764
5692
|
key: 1,
|
|
5765
5693
|
type: "button",
|
|
@@ -5771,31 +5699,31 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5771
5699
|
name: "close",
|
|
5772
5700
|
size: 18
|
|
5773
5701
|
})])) : x("", !0)
|
|
5774
|
-
], 6), e.error ? (L(), S("p",
|
|
5702
|
+
], 6), e.error && e.errorLabel ? (L(), S("p", ys, G(e.errorLabel), 1)) : e.hint ? (L(), S("p", bs, G(e.hint), 1)) : x("", !0)]));
|
|
5775
5703
|
}
|
|
5776
|
-
}),
|
|
5704
|
+
}), Ss = { class: "flex flex-col gap-1" }, Cs = ["onClick"], ws = ["title"], Ts = [
|
|
5777
5705
|
"id",
|
|
5778
5706
|
"value",
|
|
5779
5707
|
"placeholder",
|
|
5780
5708
|
"disabled",
|
|
5781
5709
|
"aria-expanded",
|
|
5782
5710
|
"aria-disabled"
|
|
5783
|
-
],
|
|
5711
|
+
], Es = ["for"], Ds = {
|
|
5784
5712
|
key: 0,
|
|
5785
5713
|
class: "text-error"
|
|
5786
|
-
},
|
|
5714
|
+
}, Os = { class: "pointer-events-none absolute right-2 top-4" }, ks = {
|
|
5787
5715
|
key: 0,
|
|
5788
5716
|
class: "px-4 text-body-small text-error"
|
|
5789
|
-
},
|
|
5717
|
+
}, As = {
|
|
5790
5718
|
key: 1,
|
|
5791
5719
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
5792
|
-
},
|
|
5720
|
+
}, js = { class: "flex flex-col py-1" }, Ms = ["onMousedown"], Ns = { class: "text-body-large text-on-surface" }, Ps = {
|
|
5793
5721
|
key: 0,
|
|
5794
5722
|
class: "px-4 py-3 text-center text-body-small text-on-surface-variant"
|
|
5795
|
-
},
|
|
5723
|
+
}, Fs = { class: "mac-modal-box flex max-h-[80vh] w-full max-w-sm flex-col overflow-hidden rounded-[28px] bg-surface-container-high shadow-elevation-3" }, Is = { class: "flex items-center justify-between px-6 pt-6 pb-4" }, Ls = { class: "text-headline-small text-on-surface" }, Rs = { class: "px-6 pb-3" }, zs = { class: "flex items-center gap-2 rounded-full bg-surface-container-highest px-3 py-2" }, Bs = ["value", "placeholder"], Vs = { class: "flex-1 overflow-y-auto py-2" }, Hs = { class: "text-body-large text-on-surface" }, Us = {
|
|
5796
5724
|
key: 0,
|
|
5797
5725
|
class: "px-6 py-4 text-center text-body-medium text-on-surface-variant"
|
|
5798
|
-
},
|
|
5726
|
+
}, Ws = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
5799
5727
|
__name: "MMultiAutocomplete",
|
|
5800
5728
|
props: {
|
|
5801
5729
|
modelValue: { default: () => [] },
|
|
@@ -5808,7 +5736,8 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5808
5736
|
type: Boolean,
|
|
5809
5737
|
default: !1
|
|
5810
5738
|
},
|
|
5811
|
-
error: {},
|
|
5739
|
+
error: { type: Boolean },
|
|
5740
|
+
errorLabel: {},
|
|
5812
5741
|
hint: {},
|
|
5813
5742
|
required: {
|
|
5814
5743
|
type: Boolean,
|
|
@@ -5990,7 +5919,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
5990
5919
|
u.value ? i.error ? "text-error" : "text-primary" : i.error ? "text-error" : "text-on-surface-variant"
|
|
5991
5920
|
].join(" ");
|
|
5992
5921
|
});
|
|
5993
|
-
return (t, n) => (L(), S(m, null, [C("div",
|
|
5922
|
+
return (t, n) => (L(), S(m, null, [C("div", Ss, [C("div", {
|
|
5994
5923
|
ref_key: "fieldEl",
|
|
5995
5924
|
ref: w,
|
|
5996
5925
|
class: M(["relative", e.variant === "outlined" ? "mt-2" : ""]),
|
|
@@ -6017,13 +5946,13 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6017
5946
|
}, [E(f, {
|
|
6018
5947
|
name: "close",
|
|
6019
5948
|
size: 12
|
|
6020
|
-
})], 8,
|
|
5949
|
+
})], 8, Cs)]))), 128)),
|
|
6021
5950
|
re.value > 0 && !ie.value ? (L(), S("span", {
|
|
6022
5951
|
key: 0,
|
|
6023
5952
|
title: $.value,
|
|
6024
5953
|
class: "cursor-pointer rounded-full bg-surface-container-high px-2 py-0.5 text-label-small text-on-surface-variant transition-colors hover:bg-on-surface/12",
|
|
6025
5954
|
onClick: n[0] ||= Q((e) => ie.value = !0, ["stop"])
|
|
6026
|
-
}, " +" + G(re.value), 9,
|
|
5955
|
+
}, " +" + G(re.value), 9, ws)) : x("", !0),
|
|
6027
5956
|
ie.value && e.modelValue.length > e.maxChips ? (L(), S("span", {
|
|
6028
5957
|
key: 1,
|
|
6029
5958
|
class: "cursor-pointer rounded-full bg-surface-container-high px-2 py-0.5 text-label-small text-on-surface-variant transition-colors hover:bg-on-surface/12",
|
|
@@ -6049,11 +5978,11 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6049
5978
|
onBlur: pe,
|
|
6050
5979
|
onInput: me,
|
|
6051
5980
|
onKeydown: _e
|
|
6052
|
-
}, null, 40,
|
|
5981
|
+
}, null, 40, Ts)], 2),
|
|
6053
5982
|
C("label", {
|
|
6054
5983
|
for: K(c),
|
|
6055
5984
|
class: M(Se.value)
|
|
6056
|
-
}, [T(G(e.label), 1), e.required ? (L(), S("span",
|
|
5985
|
+
}, [T(G(e.label), 1), e.required ? (L(), S("span", Ds, "\xA0*")) : x("", !0)], 10, Es),
|
|
6057
5986
|
e.clearable && ee.value && !e.disabled ? (L(), S("button", {
|
|
6058
5987
|
key: 1,
|
|
6059
5988
|
type: "button",
|
|
@@ -6065,12 +5994,12 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6065
5994
|
name: "close",
|
|
6066
5995
|
size: 18
|
|
6067
5996
|
})])) : x("", !0),
|
|
6068
|
-
C("div",
|
|
5997
|
+
C("div", Os, [E(f, {
|
|
6069
5998
|
name: "arrow_drop_down",
|
|
6070
5999
|
size: 24,
|
|
6071
6000
|
class: M(["text-on-surface-variant transition-transform duration-200", u.value || d.value ? "rotate-180" : ""])
|
|
6072
6001
|
}, null, 8, ["class"])])
|
|
6073
|
-
], 6), e.error ? (L(), S("p",
|
|
6002
|
+
], 6), e.error && e.errorLabel ? (L(), S("p", ks, G(e.errorLabel), 1)) : e.hint ? (L(), S("p", As, G(e.hint), 1)) : x("", !0)]), (L(), b(h, { to: "body" }, [E(g, {
|
|
6074
6003
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
6075
6004
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
6076
6005
|
"enter-to-class": "opacity-100 translate-y-0 scale-100",
|
|
@@ -6084,7 +6013,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6084
6013
|
ref: k,
|
|
6085
6014
|
class: "fixed z-500 max-h-60 overflow-auto rounded-sm bg-surface-container shadow-elevation-2",
|
|
6086
6015
|
style: N(A.value)
|
|
6087
|
-
}, [C("div",
|
|
6016
|
+
}, [C("div", js, [(L(!0), S(m, null, V(te.value, (t, n) => (L(), S("label", {
|
|
6088
6017
|
key: n,
|
|
6089
6018
|
"data-option": "",
|
|
6090
6019
|
class: M(["flex cursor-pointer items-center gap-3 px-4 py-2 hover:bg-on-surface/8", [t.disabled ? "cursor-not-allowed opacity-38" : "", ye(t) === y.value && !t.disabled ? "bg-on-surface/12" : ""]]),
|
|
@@ -6092,20 +6021,20 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6092
6021
|
}, [E(zn, {
|
|
6093
6022
|
"model-value": Y(e.modelValue, t.value),
|
|
6094
6023
|
disabled: t.disabled
|
|
6095
|
-
}, null, 8, ["model-value", "disabled"]), C("span",
|
|
6024
|
+
}, null, 8, ["model-value", "disabled"]), C("span", Ns, G(t.label), 1)], 42, Ms))), 128)), te.value.length ? x("", !0) : (L(), S("p", Ps, G(ne.value), 1))])], 4)) : x("", !0)]),
|
|
6096
6025
|
_: 1
|
|
6097
6026
|
}), E(g, { name: "m3-mac-modal" }, {
|
|
6098
6027
|
default: Z(() => [d.value && e.mode === "modal" ? (L(), S("div", {
|
|
6099
6028
|
key: 0,
|
|
6100
6029
|
class: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",
|
|
6101
6030
|
onClick: Q(de, ["self"])
|
|
6102
|
-
}, [C("div",
|
|
6103
|
-
C("div",
|
|
6031
|
+
}, [C("div", Fs, [
|
|
6032
|
+
C("div", Is, [C("h2", Ls, G(e.label || e.placeholder), 1), E(s, {
|
|
6104
6033
|
icon: "close",
|
|
6105
6034
|
label: K(o).close,
|
|
6106
6035
|
onClick: de
|
|
6107
6036
|
}, null, 8, ["label"])]),
|
|
6108
|
-
C("div",
|
|
6037
|
+
C("div", Rs, [C("div", zs, [E(f, {
|
|
6109
6038
|
name: "search",
|
|
6110
6039
|
size: 16,
|
|
6111
6040
|
class: "shrink-0 text-on-surface-variant"
|
|
@@ -6115,9 +6044,9 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6115
6044
|
placeholder: K(o).search,
|
|
6116
6045
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant",
|
|
6117
6046
|
onInput: n[4] ||= (e) => W(e.target.value)
|
|
6118
|
-
}, null, 40,
|
|
6047
|
+
}, null, 40, Bs)])]),
|
|
6119
6048
|
n[5] ||= C("div", { class: "h-px bg-outline-variant" }, null, -1),
|
|
6120
|
-
C("div",
|
|
6049
|
+
C("div", Vs, [(L(!0), S(m, null, V(le.value, (t, n) => (L(), S("label", {
|
|
6121
6050
|
key: n,
|
|
6122
6051
|
class: M(["flex cursor-pointer items-center gap-4 px-6 py-3 transition-colors hover:bg-on-surface/8", t.disabled ? "cursor-not-allowed opacity-38" : ""])
|
|
6123
6052
|
}, [E(zn, {
|
|
@@ -6128,37 +6057,37 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6128
6057
|
"model-value",
|
|
6129
6058
|
"disabled",
|
|
6130
6059
|
"onUpdate:modelValue"
|
|
6131
|
-
]), C("span",
|
|
6060
|
+
]), C("span", Hs, G(t.label), 1)], 2))), 128)), le.value.length ? x("", !0) : (L(), S("p", Us, G(ne.value), 1))])
|
|
6132
6061
|
])])) : x("", !0)]),
|
|
6133
6062
|
_: 1
|
|
6134
6063
|
})]))], 64));
|
|
6135
6064
|
}
|
|
6136
|
-
}), [["__scopeId", "data-v-
|
|
6065
|
+
}), [["__scopeId", "data-v-3337b2c7"]]), Gs = { class: "flex flex-col gap-1" }, Ks = [
|
|
6137
6066
|
"id",
|
|
6138
6067
|
"tabindex",
|
|
6139
6068
|
"aria-expanded"
|
|
6140
|
-
],
|
|
6069
|
+
], qs = ["onClick"], Js = ["title"], Ys = {
|
|
6141
6070
|
key: 1,
|
|
6142
6071
|
class: "text-body-large text-on-surface-variant opacity-0"
|
|
6143
|
-
},
|
|
6072
|
+
}, Xs = {
|
|
6144
6073
|
key: 0,
|
|
6145
6074
|
class: "text-error"
|
|
6146
|
-
},
|
|
6075
|
+
}, Zs = { class: "pointer-events-none absolute right-2 top-4" }, Qs = {
|
|
6147
6076
|
key: 0,
|
|
6148
6077
|
class: "px-4 text-body-small text-error"
|
|
6149
|
-
},
|
|
6078
|
+
}, $s = {
|
|
6150
6079
|
key: 1,
|
|
6151
6080
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
6152
|
-
},
|
|
6081
|
+
}, ec = {
|
|
6153
6082
|
key: 0,
|
|
6154
6083
|
class: "sticky top-0 bg-surface-container px-3 py-2"
|
|
6155
|
-
},
|
|
6084
|
+
}, tc = { class: "flex items-center gap-2 rounded-full bg-surface-container-high px-3 py-1.5" }, nc = ["placeholder"], rc = { class: "flex flex-col py-1" }, ic = { class: "text-body-large text-on-surface" }, ac = { class: "px-4 py-3 text-center text-body-small text-on-surface-variant" }, oc = { class: "ms-modal-box flex max-h-[80vh] w-full max-w-sm flex-col overflow-hidden rounded-[28px] bg-surface-container-high shadow-elevation-3" }, sc = { class: "flex items-center justify-between px-6 pt-6 pb-4" }, cc = { class: "text-headline-small text-on-surface" }, lc = {
|
|
6156
6085
|
key: 0,
|
|
6157
6086
|
class: "px-6 pb-3"
|
|
6158
|
-
},
|
|
6087
|
+
}, uc = { class: "flex items-center gap-2 rounded-full bg-surface-container-highest px-3 py-2" }, dc = ["placeholder"], fc = { class: "flex-1 overflow-y-auto py-2" }, pc = { class: "text-body-large text-on-surface" }, mc = {
|
|
6159
6088
|
key: 0,
|
|
6160
6089
|
class: "px-6 py-4 text-center text-body-medium text-on-surface-variant"
|
|
6161
|
-
},
|
|
6090
|
+
}, hc = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
6162
6091
|
__name: "MMultiSelect",
|
|
6163
6092
|
props: {
|
|
6164
6093
|
modelValue: { default: () => [] },
|
|
@@ -6171,7 +6100,8 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6171
6100
|
type: Boolean,
|
|
6172
6101
|
default: !1
|
|
6173
6102
|
},
|
|
6174
|
-
error: {},
|
|
6103
|
+
error: { type: Boolean },
|
|
6104
|
+
errorLabel: {},
|
|
6175
6105
|
hint: {},
|
|
6176
6106
|
required: {
|
|
6177
6107
|
type: Boolean,
|
|
@@ -6300,7 +6230,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6300
6230
|
l.value ? a.error ? "text-error" : "text-primary" : a.error ? "text-error" : "text-on-surface-variant"
|
|
6301
6231
|
].join(" ");
|
|
6302
6232
|
});
|
|
6303
|
-
return (t, n) => (L(), S(m, null, [C("div",
|
|
6233
|
+
return (t, n) => (L(), S(m, null, [C("div", Gs, [C("div", {
|
|
6304
6234
|
ref_key: "fieldEl",
|
|
6305
6235
|
ref: _,
|
|
6306
6236
|
class: M(["relative", e.variant === "outlined" ? "mt-2" : ""]),
|
|
@@ -6337,13 +6267,13 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6337
6267
|
}, [E(f, {
|
|
6338
6268
|
name: "close",
|
|
6339
6269
|
size: 12
|
|
6340
|
-
})], 8,
|
|
6270
|
+
})], 8, qs)]))), 128)),
|
|
6341
6271
|
z.value > 0 && !U.value ? (L(), S("span", {
|
|
6342
6272
|
key: 0,
|
|
6343
6273
|
title: q.value,
|
|
6344
6274
|
class: "cursor-pointer rounded-full bg-surface-container-high px-2 py-0.5 text-label-small text-on-surface-variant transition-colors hover:bg-on-surface/12",
|
|
6345
6275
|
onClick: n[0] ||= Q((e) => U.value = !0, ["stop"])
|
|
6346
|
-
}, " +" + G(z.value), 9,
|
|
6276
|
+
}, " +" + G(z.value), 9, Js)) : x("", !0),
|
|
6347
6277
|
U.value && e.modelValue.length > e.maxChips ? (L(), S("span", {
|
|
6348
6278
|
key: 1,
|
|
6349
6279
|
class: "cursor-pointer rounded-full bg-surface-container-high px-2 py-0.5 text-label-small text-on-surface-variant transition-colors hover:bg-on-surface/12",
|
|
@@ -6352,8 +6282,8 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6352
6282
|
name: "unfold_less",
|
|
6353
6283
|
size: 14
|
|
6354
6284
|
})])) : x("", !0)
|
|
6355
|
-
], 64)) : l.value ? x("", !0) : (L(), S("span",
|
|
6356
|
-
C("label", { class: M(ue.value) }, [T(G(e.label), 1), e.required ? (L(), S("span",
|
|
6285
|
+
], 64)) : l.value ? x("", !0) : (L(), S("span", Ys, G(e.placeholder), 1))], 42, Ks),
|
|
6286
|
+
C("label", { class: M(ue.value) }, [T(G(e.label), 1), e.required ? (L(), S("span", Xs, "\xA0*")) : x("", !0)], 2),
|
|
6357
6287
|
e.clearable && P.value && !e.disabled ? (L(), S("button", {
|
|
6358
6288
|
key: 1,
|
|
6359
6289
|
type: "button",
|
|
@@ -6365,12 +6295,12 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6365
6295
|
name: "close",
|
|
6366
6296
|
size: 18
|
|
6367
6297
|
})])) : x("", !0),
|
|
6368
|
-
C("div",
|
|
6298
|
+
C("div", Zs, [E(f, {
|
|
6369
6299
|
name: "arrow_drop_down",
|
|
6370
6300
|
size: 24,
|
|
6371
6301
|
class: M(["text-on-surface-variant transition-transform duration-200", l.value || u.value ? "rotate-180" : ""])
|
|
6372
6302
|
}, null, 8, ["class"])])
|
|
6373
|
-
], 6), e.error ? (L(), S("p",
|
|
6303
|
+
], 6), e.error && e.errorLabel ? (L(), S("p", Qs, G(e.errorLabel), 1)) : e.hint ? (L(), S("p", $s, G(e.hint), 1)) : x("", !0)]), (L(), b(h, { to: "body" }, [E(g, {
|
|
6374
6304
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
6375
6305
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
6376
6306
|
"enter-to-class": "opacity-100 translate-y-0 scale-100",
|
|
@@ -6384,7 +6314,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6384
6314
|
ref: w,
|
|
6385
6315
|
class: "fixed z-500 max-h-60 overflow-auto rounded-sm bg-surface-container shadow-elevation-2",
|
|
6386
6316
|
style: N(O.value)
|
|
6387
|
-
}, [e.searchable ? (L(), S("div",
|
|
6317
|
+
}, [e.searchable ? (L(), S("div", ec, [C("div", tc, [E(f, {
|
|
6388
6318
|
name: "search",
|
|
6389
6319
|
size: 16,
|
|
6390
6320
|
class: "shrink-0 text-on-surface-variant"
|
|
@@ -6395,7 +6325,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6395
6325
|
type: "text",
|
|
6396
6326
|
placeholder: e.searchPlaceholder ?? K(i).search,
|
|
6397
6327
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant"
|
|
6398
|
-
}, null, 8,
|
|
6328
|
+
}, null, 8, nc), [[ee, p.value]])])])) : x("", !0), C("div", rc, [(L(!0), S(m, null, V(R.value, (t, n) => (L(), S("label", {
|
|
6399
6329
|
key: n,
|
|
6400
6330
|
class: M(["flex cursor-pointer items-center gap-3 px-4 py-2 hover:bg-on-surface/8", t.disabled ? "cursor-not-allowed opacity-38" : ""])
|
|
6401
6331
|
}, [E(zn, {
|
|
@@ -6406,20 +6336,20 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6406
6336
|
"model-value",
|
|
6407
6337
|
"disabled",
|
|
6408
6338
|
"onUpdate:modelValue"
|
|
6409
|
-
]), C("span",
|
|
6339
|
+
]), C("span", ic, G(t.label), 1)], 2))), 128)), R.value.length === 0 ? H(t.$slots, "no-results", { key: 0 }, () => [C("p", ac, G(e.noResultsText ?? K(i).noResults), 1)], !0) : x("", !0)])], 4)) : x("", !0)]),
|
|
6410
6340
|
_: 3
|
|
6411
6341
|
}), E(g, { name: "m3-ms-modal" }, {
|
|
6412
6342
|
default: Z(() => [u.value && e.mode === "modal" ? (L(), S("div", {
|
|
6413
6343
|
key: 0,
|
|
6414
6344
|
class: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",
|
|
6415
6345
|
onClick: Q($, ["self"])
|
|
6416
|
-
}, [C("div",
|
|
6417
|
-
C("div",
|
|
6346
|
+
}, [C("div", oc, [
|
|
6347
|
+
C("div", sc, [C("h2", cc, G(e.label || e.placeholder), 1), E(s, {
|
|
6418
6348
|
icon: "close",
|
|
6419
6349
|
label: K(i).close,
|
|
6420
6350
|
onClick: $
|
|
6421
6351
|
}, null, 8, ["label"])]),
|
|
6422
|
-
e.searchable ? (L(), S("div",
|
|
6352
|
+
e.searchable ? (L(), S("div", lc, [C("div", uc, [E(f, {
|
|
6423
6353
|
name: "search",
|
|
6424
6354
|
size: 16,
|
|
6425
6355
|
class: "shrink-0 text-on-surface-variant"
|
|
@@ -6428,9 +6358,9 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6428
6358
|
type: "text",
|
|
6429
6359
|
placeholder: e.searchPlaceholder ?? K(i).search,
|
|
6430
6360
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant"
|
|
6431
|
-
}, null, 8,
|
|
6361
|
+
}, null, 8, dc), [[ee, d.value]])])])) : x("", !0),
|
|
6432
6362
|
n[9] ||= C("div", { class: "h-px bg-outline-variant" }, null, -1),
|
|
6433
|
-
C("div",
|
|
6363
|
+
C("div", fc, [(L(!0), S(m, null, V(oe.value, (t, n) => (L(), S("label", {
|
|
6434
6364
|
key: n,
|
|
6435
6365
|
class: M(["flex cursor-pointer items-center gap-4 px-6 py-3 transition-colors hover:bg-on-surface/8", t.disabled ? "cursor-not-allowed opacity-38" : ""])
|
|
6436
6366
|
}, [E(zn, {
|
|
@@ -6441,12 +6371,12 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6441
6371
|
"model-value",
|
|
6442
6372
|
"disabled",
|
|
6443
6373
|
"onUpdate:modelValue"
|
|
6444
|
-
]), C("span",
|
|
6374
|
+
]), C("span", pc, G(t.label), 1)], 2))), 128)), oe.value.length ? x("", !0) : (L(), S("p", mc, G(e.noResultsText ?? K(i).noResults), 1))])
|
|
6445
6375
|
])])) : x("", !0)]),
|
|
6446
6376
|
_: 1
|
|
6447
6377
|
})]))], 64));
|
|
6448
6378
|
}
|
|
6449
|
-
}), [["__scopeId", "data-v-
|
|
6379
|
+
}), [["__scopeId", "data-v-67bbd3cf"]]), gc = { class: "flex h-20 w-full items-center justify-around border-t border-outline-variant bg-surface-container" }, _c = ["onClick"], vc = /* @__PURE__ */ D({
|
|
6450
6380
|
__name: "MNavigationBar",
|
|
6451
6381
|
props: {
|
|
6452
6382
|
modelValue: {},
|
|
@@ -6454,7 +6384,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6454
6384
|
},
|
|
6455
6385
|
emits: ["update:modelValue"],
|
|
6456
6386
|
setup(e) {
|
|
6457
|
-
return (t, n) => (L(), S("nav",
|
|
6387
|
+
return (t, n) => (L(), S("nav", gc, [(L(!0), S(m, null, V(e.items, (n) => (L(), S("button", {
|
|
6458
6388
|
key: n.value,
|
|
6459
6389
|
type: "button",
|
|
6460
6390
|
class: M(["group flex flex-1 cursor-pointer flex-col items-center justify-center gap-1 self-stretch transition-colors focus-visible:outline-none", n.value === e.modelValue ? "text-on-secondary-container" : "text-on-surface-variant"]),
|
|
@@ -6481,9 +6411,9 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6481
6411
|
size: 24
|
|
6482
6412
|
}, null, 8, ["name"])]),
|
|
6483
6413
|
_: 2
|
|
6484
|
-
}, 1032, ["count"]))], 2), C("span", { class: M(["text-label-medium transition-[font-weight] duration-150", n.value === e.modelValue ? "font-bold" : "font-medium"]) }, G(n.label), 3)], 10,
|
|
6414
|
+
}, 1032, ["count"]))], 2), C("span", { class: M(["text-label-medium transition-[font-weight] duration-150", n.value === e.modelValue ? "font-bold" : "font-medium"]) }, G(n.label), 3)], 10, _c))), 128))]));
|
|
6485
6415
|
}
|
|
6486
|
-
}),
|
|
6416
|
+
}), yc = { class: "flex flex-col gap-1" }, bc = [
|
|
6487
6417
|
"id",
|
|
6488
6418
|
"value",
|
|
6489
6419
|
"disabled",
|
|
@@ -6491,19 +6421,19 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6491
6421
|
"min",
|
|
6492
6422
|
"max",
|
|
6493
6423
|
"step"
|
|
6494
|
-
],
|
|
6424
|
+
], xc = ["for"], Sc = {
|
|
6495
6425
|
key: 0,
|
|
6496
6426
|
class: "text-error"
|
|
6497
|
-
},
|
|
6427
|
+
}, Cc = {
|
|
6498
6428
|
key: 1,
|
|
6499
6429
|
class: "absolute right-1 top-1/2 -translate-y-1/2 flex items-center gap-0.5"
|
|
6500
|
-
},
|
|
6430
|
+
}, wc = {
|
|
6501
6431
|
key: 0,
|
|
6502
6432
|
class: "px-4 text-body-small text-error"
|
|
6503
|
-
},
|
|
6433
|
+
}, Tc = {
|
|
6504
6434
|
key: 1,
|
|
6505
6435
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
6506
|
-
},
|
|
6436
|
+
}, Ec = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
6507
6437
|
__name: "MNumberField",
|
|
6508
6438
|
props: {
|
|
6509
6439
|
modelValue: { default: null },
|
|
@@ -6512,7 +6442,8 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6512
6442
|
min: {},
|
|
6513
6443
|
max: {},
|
|
6514
6444
|
step: { default: 1 },
|
|
6515
|
-
error: {},
|
|
6445
|
+
error: { type: Boolean },
|
|
6446
|
+
errorLabel: {},
|
|
6516
6447
|
hint: {},
|
|
6517
6448
|
disabled: { type: Boolean },
|
|
6518
6449
|
required: { type: Boolean },
|
|
@@ -6594,7 +6525,7 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6594
6525
|
r.error ? "text-error peer-focus:text-error" : "text-on-surface-variant peer-focus:text-primary"
|
|
6595
6526
|
].join(" ");
|
|
6596
6527
|
});
|
|
6597
|
-
return (t, n) => (L(), S("div",
|
|
6528
|
+
return (t, n) => (L(), S("div", yc, [C("div", {
|
|
6598
6529
|
ref_key: "fieldBgEl",
|
|
6599
6530
|
ref: o,
|
|
6600
6531
|
class: M(["relative", e.variant === "outlined" ? "mt-2" : ""]),
|
|
@@ -6620,12 +6551,12 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6620
6551
|
class: M(_.value),
|
|
6621
6552
|
onInput: p,
|
|
6622
6553
|
onKeydown: g
|
|
6623
|
-
}, null, 42,
|
|
6554
|
+
}, null, 42, bc),
|
|
6624
6555
|
C("label", {
|
|
6625
6556
|
for: K(a),
|
|
6626
6557
|
class: M(y.value)
|
|
6627
|
-
}, [T(G(e.label), 1), e.required ? (L(), S("span",
|
|
6628
|
-
e.stepper ? (L(), S("div",
|
|
6558
|
+
}, [T(G(e.label), 1), e.required ? (L(), S("span", Sc, "\xA0*")) : x("", !0)], 10, xc),
|
|
6559
|
+
e.stepper ? (L(), S("div", Cc, [E(s, {
|
|
6629
6560
|
icon: "remove",
|
|
6630
6561
|
label: "Decrease",
|
|
6631
6562
|
size: 32,
|
|
@@ -6638,9 +6569,9 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6638
6569
|
disabled: e.disabled || e.max !== void 0 && (e.modelValue ?? 0) >= e.max,
|
|
6639
6570
|
onClick: m
|
|
6640
6571
|
}, null, 8, ["disabled"])])) : x("", !0)
|
|
6641
|
-
], 6), e.error ? (L(), S("p",
|
|
6572
|
+
], 6), e.error && e.errorLabel ? (L(), S("p", wc, G(e.errorLabel), 1)) : e.hint ? (L(), S("p", Tc, G(e.hint), 1)) : x("", !0)]));
|
|
6642
6573
|
}
|
|
6643
|
-
}), [["__scopeId", "data-v-
|
|
6574
|
+
}), [["__scopeId", "data-v-f6db08d0"]]), Dc = D({
|
|
6644
6575
|
name: "MDrawerItemList",
|
|
6645
6576
|
components: { MIcon: f },
|
|
6646
6577
|
props: {
|
|
@@ -6715,8 +6646,8 @@ var Ta = ["aria-label", "disabled"], Ea = { class: "leading-none" }, Da = /* @__
|
|
|
6715
6646
|
}).onfinish = t;
|
|
6716
6647
|
}
|
|
6717
6648
|
}
|
|
6718
|
-
}),
|
|
6719
|
-
function
|
|
6649
|
+
}), Oc = { key: 0 };
|
|
6650
|
+
function kc(e, t, n, r, i, a) {
|
|
6720
6651
|
let o = U("MIcon"), s = U("MDrawerItemList");
|
|
6721
6652
|
return L(!0), S(m, null, V(e.items, (t) => (L(), S(m, { key: t.value }, [(L(), b(W(e.itemTag(t)), {
|
|
6722
6653
|
to: t.to && !t.disabled ? t.to : void 0,
|
|
@@ -6756,7 +6687,7 @@ function jc(e, t, n, r, i, a) {
|
|
|
6756
6687
|
onEnter: e.onEnter,
|
|
6757
6688
|
onLeave: e.onLeave
|
|
6758
6689
|
}, {
|
|
6759
|
-
default: Z(() => [t.children?.length && e.openItems[t.value] ? (L(), S("div",
|
|
6690
|
+
default: Z(() => [t.children?.length && e.openItems[t.value] ? (L(), S("div", Oc, [E(s, {
|
|
6760
6691
|
items: t.children,
|
|
6761
6692
|
selected: e.selected,
|
|
6762
6693
|
depth: e.depth + 1
|
|
@@ -6768,52 +6699,52 @@ function jc(e, t, n, r, i, a) {
|
|
|
6768
6699
|
_: 2
|
|
6769
6700
|
}, 1032, ["onEnter", "onLeave"])], 64))), 128);
|
|
6770
6701
|
}
|
|
6771
|
-
var
|
|
6702
|
+
var Ac = /*#__PURE__*/ p(Dc, [["render", kc]]), jc = {
|
|
6772
6703
|
key: 0,
|
|
6773
6704
|
class: "shrink-0"
|
|
6774
|
-
},
|
|
6705
|
+
}, Mc = {
|
|
6775
6706
|
key: 1,
|
|
6776
6707
|
class: "shrink-0 px-5 pt-6 pb-2"
|
|
6777
|
-
},
|
|
6708
|
+
}, Nc = { class: "text-title-small font-medium text-on-surface-variant" }, Pc = { class: "flex flex-1 flex-col overflow-y-auto px-3 py-2" }, Fc = {
|
|
6778
6709
|
key: 0,
|
|
6779
6710
|
class: "my-1 border-t border-outline-variant"
|
|
6780
|
-
},
|
|
6711
|
+
}, Ic = ["onClick"], Lc = { class: "flex-1 text-left text-title-small font-medium" }, Rc = {
|
|
6781
6712
|
key: 2,
|
|
6782
6713
|
class: "px-4 pt-4 pb-2 text-title-small font-medium text-on-surface-variant"
|
|
6783
|
-
},
|
|
6714
|
+
}, zc = {
|
|
6784
6715
|
key: 0,
|
|
6785
6716
|
class: "nd-section-grid"
|
|
6786
|
-
},
|
|
6717
|
+
}, Bc = { class: "nd-section-body" }, Vc = {
|
|
6787
6718
|
key: 2,
|
|
6788
6719
|
class: "text-label-medium text-on-surface-variant"
|
|
6789
|
-
},
|
|
6720
|
+
}, Hc = { key: 0 }, Uc = {
|
|
6790
6721
|
key: 0,
|
|
6791
6722
|
class: "nd-toggle shrink-0 border-b border-outline-variant"
|
|
6792
|
-
},
|
|
6723
|
+
}, Wc = { class: "nd-toggle-inner" }, Gc = {
|
|
6793
6724
|
key: 1,
|
|
6794
6725
|
class: "shrink-0"
|
|
6795
|
-
},
|
|
6726
|
+
}, Kc = {
|
|
6796
6727
|
key: 2,
|
|
6797
6728
|
class: "nd-collapse-h shrink-0 overflow-hidden"
|
|
6798
|
-
},
|
|
6729
|
+
}, qc = { class: "px-5 pt-6 pb-2" }, Jc = { class: "whitespace-nowrap text-title-small font-medium text-on-surface-variant" }, Yc = { class: "flex flex-1 flex-col gap-1 overflow-y-auto overflow-x-hidden px-3 py-2" }, Xc = {
|
|
6799
6730
|
key: 0,
|
|
6800
6731
|
class: "my-1 border-t border-outline-variant"
|
|
6801
|
-
},
|
|
6732
|
+
}, Zc = ["title", "onClick"], Qc = { class: "nd-label min-w-0 flex-1 text-left text-title-small font-medium" }, $c = {
|
|
6802
6733
|
key: 2,
|
|
6803
6734
|
class: "nd-collapse-h overflow-hidden"
|
|
6804
|
-
},
|
|
6735
|
+
}, el = { class: "whitespace-nowrap px-4 pt-4 pb-2 text-title-small font-medium text-on-surface-variant" }, tl = {
|
|
6805
6736
|
key: 0,
|
|
6806
6737
|
class: "nd-section-grid"
|
|
6807
|
-
},
|
|
6738
|
+
}, nl = { class: "nd-section-body" }, rl = {
|
|
6808
6739
|
key: 2,
|
|
6809
6740
|
class: "nd-label text-label-medium text-on-surface-variant"
|
|
6810
|
-
},
|
|
6741
|
+
}, il = {
|
|
6811
6742
|
key: 0,
|
|
6812
6743
|
class: "nd-children-divider"
|
|
6813
|
-
},
|
|
6744
|
+
}, al = { key: 0 }, ol = {
|
|
6814
6745
|
key: 1,
|
|
6815
6746
|
class: "nd-children-divider"
|
|
6816
|
-
},
|
|
6747
|
+
}, sl = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
6817
6748
|
__name: "MNavigationDrawer",
|
|
6818
6749
|
props: {
|
|
6819
6750
|
modelValue: { type: Boolean },
|
|
@@ -6912,8 +6843,8 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
6912
6843
|
e.side === "top" || e.side === "bottom" || e.width ? "" : "w-72"
|
|
6913
6844
|
]),
|
|
6914
6845
|
style: N(e.side !== "top" && e.side !== "bottom" && e.width ? { width: e.width } : void 0)
|
|
6915
|
-
}, [t.$slots.header ? (L(), S("div",
|
|
6916
|
-
n > 0 ? (L(), S("div",
|
|
6846
|
+
}, [t.$slots.header ? (L(), S("div", jc, [H(t.$slots, "header", {}, void 0, !0)])) : e.title ? (L(), S("div", Mc, [C("h2", Nc, G(e.title), 1)])) : x("", !0), C("div", Pc, [(L(!0), S(m, null, V(e.sections, (t, n) => (L(), S(m, { key: n }, [
|
|
6847
|
+
n > 0 ? (L(), S("div", Fc)) : x("", !0),
|
|
6917
6848
|
t.title && t.collapsible ? (L(), S("button", {
|
|
6918
6849
|
key: 1,
|
|
6919
6850
|
type: "button",
|
|
@@ -6926,15 +6857,15 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
6926
6857
|
size: 24,
|
|
6927
6858
|
class: "shrink-0"
|
|
6928
6859
|
}, null, 8, ["name"])) : x("", !0),
|
|
6929
|
-
C("span",
|
|
6860
|
+
C("span", Lc, G(t.title), 1),
|
|
6930
6861
|
E(f, {
|
|
6931
6862
|
name: s(t, n) ? "expand_less" : "expand_more",
|
|
6932
6863
|
size: 18,
|
|
6933
6864
|
class: "shrink-0"
|
|
6934
6865
|
}, null, 8, ["name"])
|
|
6935
|
-
], 8,
|
|
6866
|
+
], 8, Ic)) : t.title ? (L(), S("p", Rc, G(t.title), 1)) : x("", !0),
|
|
6936
6867
|
E(g, { name: "nd-section" }, {
|
|
6937
|
-
default: Z(() => [!t.collapsible || s(t, n) ? (L(), S("div",
|
|
6868
|
+
default: Z(() => [!t.collapsible || s(t, n) ? (L(), S("div", zc, [C("div", Bc, [(L(!0), S(m, null, V(t.items, (n) => (L(), S(m, { key: n.value }, [(L(), b(W(k(n)), {
|
|
6938
6869
|
to: n.to && !n.disabled ? n.to : void 0,
|
|
6939
6870
|
type: n.to ? void 0 : "button",
|
|
6940
6871
|
class: M(["flex w-full items-center gap-3 rounded-full py-2.5 text-left transition-colors focus-visible:outline-none", [t.collapsible ? "pl-8 pr-3" : "px-4", n.disabled ? "cursor-not-allowed opacity-[0.38]" : n.value === e.selected ? "bg-secondary-container text-on-secondary-container" : "cursor-pointer text-on-surface-variant hover:bg-on-surface/8"]]),
|
|
@@ -6953,7 +6884,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
6953
6884
|
name: l(n) ? "expand_less" : "expand_more",
|
|
6954
6885
|
size: 18,
|
|
6955
6886
|
class: "shrink-0 text-on-surface-variant"
|
|
6956
|
-
}, null, 8, ["name"])) : n.badge == null ? x("", !0) : (L(), S("span",
|
|
6887
|
+
}, null, 8, ["name"])) : n.badge == null ? x("", !0) : (L(), S("span", Vc, G(n.badge), 1))
|
|
6957
6888
|
]),
|
|
6958
6889
|
_: 2
|
|
6959
6890
|
}, 1032, [
|
|
@@ -6968,7 +6899,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
6968
6899
|
onEnter: w,
|
|
6969
6900
|
onLeave: T
|
|
6970
6901
|
}, {
|
|
6971
|
-
default: Z(() => [n.children?.length && l(n) ? (L(), S("div",
|
|
6902
|
+
default: Z(() => [n.children?.length && l(n) ? (L(), S("div", Hc, [E(Ac, {
|
|
6972
6903
|
items: n.children,
|
|
6973
6904
|
selected: e.selected
|
|
6974
6905
|
}, null, 8, ["items", "selected"])])) : x("", !0)]),
|
|
@@ -6986,10 +6917,10 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
6986
6917
|
"--nd-width": e.width ?? "18rem"
|
|
6987
6918
|
})
|
|
6988
6919
|
}, [
|
|
6989
|
-
t.$slots.toggle ? (L(), S("div",
|
|
6990
|
-
t.$slots.header ? (L(), S("div",
|
|
6991
|
-
C("div",
|
|
6992
|
-
n > 0 ? (L(), S("div",
|
|
6920
|
+
t.$slots.toggle ? (L(), S("div", Uc, [C("div", Wc, [H(t.$slots, "toggle", {}, void 0, !0)])])) : x("", !0),
|
|
6921
|
+
t.$slots.header ? (L(), S("div", Gc, [H(t.$slots, "header", {}, void 0, !0)])) : e.title ? (L(), S("div", Kc, [C("div", qc, [C("h2", Jc, G(e.title), 1)])])) : x("", !0),
|
|
6922
|
+
C("div", Yc, [(L(!0), S(m, null, V(e.sections, (t, n) => (L(), S(m, { key: n }, [
|
|
6923
|
+
n > 0 ? (L(), S("div", Xc)) : x("", !0),
|
|
6993
6924
|
t.title && t.collapsible ? (L(), S("button", {
|
|
6994
6925
|
key: 1,
|
|
6995
6926
|
type: "button",
|
|
@@ -7003,15 +6934,15 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7003
6934
|
size: 24,
|
|
7004
6935
|
class: "shrink-0"
|
|
7005
6936
|
}, null, 8, ["name"])) : x("", !0),
|
|
7006
|
-
C("span",
|
|
6937
|
+
C("span", Qc, G(t.title), 1),
|
|
7007
6938
|
E(f, {
|
|
7008
6939
|
name: s(t, n) ? "expand_less" : "expand_more",
|
|
7009
6940
|
size: 18,
|
|
7010
6941
|
class: "nd-label shrink-0"
|
|
7011
6942
|
}, null, 8, ["name"])
|
|
7012
|
-
], 8,
|
|
6943
|
+
], 8, Zc)) : t.title ? (L(), S("div", $c, [C("p", el, G(t.title), 1)])) : x("", !0),
|
|
7013
6944
|
E(g, { name: "nd-section" }, {
|
|
7014
|
-
default: Z(() => [!t.collapsible || s(t, n) ? (L(), S("div",
|
|
6945
|
+
default: Z(() => [!t.collapsible || s(t, n) ? (L(), S("div", tl, [C("div", nl, [(L(!0), S(m, null, V(t.items, (n) => (L(), S(m, { key: n.value }, [
|
|
7015
6946
|
(L(), b(W(k(n)), {
|
|
7016
6947
|
to: n.to && !n.disabled ? n.to : void 0,
|
|
7017
6948
|
type: n.to ? void 0 : "button",
|
|
@@ -7033,7 +6964,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7033
6964
|
name: l(n) ? "expand_less" : "expand_more",
|
|
7034
6965
|
size: 18,
|
|
7035
6966
|
class: "nd-label shrink-0 text-on-surface-variant"
|
|
7036
|
-
}, null, 8, ["name"])) : n.badge == null ? x("", !0) : (L(), S("span",
|
|
6967
|
+
}, null, 8, ["name"])) : n.badge == null ? x("", !0) : (L(), S("span", rl, G(n.badge), 1))
|
|
7037
6968
|
]),
|
|
7038
6969
|
_: 2
|
|
7039
6970
|
}, 1032, [
|
|
@@ -7044,29 +6975,29 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7044
6975
|
"disabled",
|
|
7045
6976
|
"onClick"
|
|
7046
6977
|
])),
|
|
7047
|
-
n.children?.length && l(n) ? (L(), S("div",
|
|
6978
|
+
n.children?.length && l(n) ? (L(), S("div", il)) : x("", !0),
|
|
7048
6979
|
E(g, {
|
|
7049
6980
|
css: !1,
|
|
7050
6981
|
onEnter: w,
|
|
7051
6982
|
onLeave: T
|
|
7052
6983
|
}, {
|
|
7053
|
-
default: Z(() => [n.children?.length && l(n) ? (L(), S("div",
|
|
6984
|
+
default: Z(() => [n.children?.length && l(n) ? (L(), S("div", al, [E(Ac, {
|
|
7054
6985
|
items: n.children,
|
|
7055
6986
|
selected: e.selected
|
|
7056
6987
|
}, null, 8, ["items", "selected"])])) : x("", !0)]),
|
|
7057
6988
|
_: 2
|
|
7058
6989
|
}, 1024),
|
|
7059
|
-
n.children?.length && l(n) ? (L(), S("div",
|
|
6990
|
+
n.children?.length && l(n) ? (L(), S("div", ol)) : x("", !0)
|
|
7060
6991
|
], 64))), 128))])])) : x("", !0)]),
|
|
7061
6992
|
_: 2
|
|
7062
6993
|
}, 1024)
|
|
7063
6994
|
], 64))), 128)), H(t.$slots, "default", {}, void 0, !0)])
|
|
7064
6995
|
], 6));
|
|
7065
6996
|
}
|
|
7066
|
-
}), [["__scopeId", "data-v-2210a491"]]),
|
|
6997
|
+
}), [["__scopeId", "data-v-2210a491"]]), cl = { class: "flex h-full w-20 flex-col items-center border-r border-outline-variant bg-surface" }, ll = {
|
|
7067
6998
|
key: 0,
|
|
7068
6999
|
class: "flex shrink-0 items-center justify-center pt-3 pb-2"
|
|
7069
|
-
},
|
|
7000
|
+
}, ul = ["disabled", "onClick"], dl = /* @__PURE__ */ D({
|
|
7070
7001
|
__name: "MNavigationRail",
|
|
7071
7002
|
props: {
|
|
7072
7003
|
modelValue: {},
|
|
@@ -7075,7 +7006,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7075
7006
|
},
|
|
7076
7007
|
emits: ["update:modelValue"],
|
|
7077
7008
|
setup(e) {
|
|
7078
|
-
return (t, n) => (L(), S("nav",
|
|
7009
|
+
return (t, n) => (L(), S("nav", cl, [t.$slots.fab ? (L(), S("div", ll, [H(t.$slots, "fab")])) : x("", !0), C("div", { class: M(["flex flex-1 flex-col items-center gap-1 py-3", {
|
|
7079
7010
|
"justify-start": e.alignment === "top",
|
|
7080
7011
|
"justify-center": e.alignment === "center",
|
|
7081
7012
|
"justify-end": e.alignment === "bottom"
|
|
@@ -7107,9 +7038,9 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7107
7038
|
size: 24
|
|
7108
7039
|
}, null, 8, ["name"])]),
|
|
7109
7040
|
_: 2
|
|
7110
|
-
}, 1032, ["count"]))], 2), C("span", { class: M(["max-w-[56px] truncate text-center text-label-medium", n.value === e.modelValue ? "font-bold text-on-surface" : "font-medium text-on-surface-variant"]) }, G(n.label), 3)], 10,
|
|
7041
|
+
}, 1032, ["count"]))], 2), C("span", { class: M(["max-w-[56px] truncate text-center text-label-medium", n.value === e.modelValue ? "font-bold text-on-surface" : "font-medium text-on-surface-variant"]) }, G(n.label), 3)], 10, ul))), 128))], 2)]));
|
|
7111
7042
|
}
|
|
7112
|
-
}),
|
|
7043
|
+
}), fl = { class: "relative h-full w-full" }, pl = /* @__PURE__ */ D({
|
|
7113
7044
|
__name: "MOverlay",
|
|
7114
7045
|
props: {
|
|
7115
7046
|
modelValue: {
|
|
@@ -7142,17 +7073,17 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7142
7073
|
key: 0,
|
|
7143
7074
|
class: "absolute inset-0 bg-black/50",
|
|
7144
7075
|
onClick: a
|
|
7145
|
-
})) : x("", !0), C("div",
|
|
7076
|
+
})) : x("", !0), C("div", fl, [H(t.$slots, "default")])], 4)) : x("", !0)]),
|
|
7146
7077
|
_: 3
|
|
7147
7078
|
})]));
|
|
7148
7079
|
}
|
|
7149
|
-
}),
|
|
7080
|
+
}), ml = { class: "flex flex-col gap-1" }, hl = {
|
|
7150
7081
|
key: 0,
|
|
7151
7082
|
class: "text-label-small text-on-surface-variant"
|
|
7152
|
-
},
|
|
7083
|
+
}, gl = ["aria-valuenow"], _l = ["aria-valuenow"], vl = ["height", "viewBox"], yl = ["d", "stroke-width"], bl = {
|
|
7153
7084
|
key: 1,
|
|
7154
7085
|
class: "absolute inset-0 overflow-hidden rounded-full"
|
|
7155
|
-
},
|
|
7086
|
+
}, xl = ["height", "viewBox"], Sl = ["d", "stroke-width"], Cl = 20, wl = 2.5, Tl = 80, El = 2, Dl = 4, Ol = 10, kl = 130, Al = /* @__PURE__ */ D({
|
|
7156
7087
|
__name: "MProgressBar",
|
|
7157
7088
|
props: {
|
|
7158
7089
|
value: {},
|
|
@@ -7184,10 +7115,10 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7184
7115
|
track: "bg-error-container",
|
|
7185
7116
|
text: "text-error"
|
|
7186
7117
|
}
|
|
7187
|
-
}, a = v(() => t.thickness ?? (t.variant === "wavy" ? 3 : 4)), o = v(() =>
|
|
7118
|
+
}, a = v(() => t.thickness ?? (t.variant === "wavy" ? 3 : 4)), o = v(() => wl + a.value / 2), s = v(() => 2 * wl + a.value), c = Cl * Tl, l = (() => {
|
|
7188
7119
|
let e = "";
|
|
7189
|
-
for (let t = 0; t <= c; t +=
|
|
7190
|
-
let n = 4 -
|
|
7120
|
+
for (let t = 0; t <= c; t += El) {
|
|
7121
|
+
let n = 4 - wl * Math.sin(t / Cl * Math.PI * 2);
|
|
7191
7122
|
e += `${t === 0 ? "M" : "L"}${t},${n.toFixed(2)} `;
|
|
7192
7123
|
}
|
|
7193
7124
|
return e.trim();
|
|
@@ -7215,8 +7146,8 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7215
7146
|
let y = B(null), b = B(null), w = B(""), T = null, E = 0, D = 2 * Math.PI / 800;
|
|
7216
7147
|
function O(e, t) {
|
|
7217
7148
|
let n = o.value, r = [];
|
|
7218
|
-
for (let i = 0; i <= c; i +=
|
|
7219
|
-
let a = n -
|
|
7149
|
+
for (let i = 0; i <= c; i += El) {
|
|
7150
|
+
let a = n - wl * e * Math.sin(i / Cl * Math.PI * 2 + t);
|
|
7220
7151
|
r.push(`${i === 0 ? "M" : "L"}${i},${a.toFixed(2)}`);
|
|
7221
7152
|
}
|
|
7222
7153
|
return r.join(" ");
|
|
@@ -7224,23 +7155,23 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7224
7155
|
function k(e) {
|
|
7225
7156
|
let t = T === null ? 0 : e - T;
|
|
7226
7157
|
if (T = e, f -= t * D, t > 0) {
|
|
7227
|
-
let e = 1 - Math.exp(-t /
|
|
7158
|
+
let e = 1 - Math.exp(-t / kl);
|
|
7228
7159
|
u += (r.value - u) * e;
|
|
7229
7160
|
}
|
|
7230
7161
|
d = _(p, e);
|
|
7231
|
-
let n =
|
|
7162
|
+
let n = Dl * d, i = u;
|
|
7232
7163
|
y.value && (y.value.style.clipPath = `inset(0 ${(100 - i).toFixed(3)}% 0 0)`), b.value && (b.value.style.left = `calc(${i.toFixed(3)}% + ${n.toFixed(2)}px)`, b.value.style.height = `${a.value}px`), w.value = O(d, f), E = requestAnimationFrame(k);
|
|
7233
7164
|
}
|
|
7234
7165
|
X(r, (e, r) => {
|
|
7235
7166
|
if (t.variant !== "wavy" || n.value) return;
|
|
7236
7167
|
let i = performance.now();
|
|
7237
|
-
r <=
|
|
7168
|
+
r <= Ol && e > Ol && e < 100 ? g(p, d, 1, i) : r > Ol && e <= Ol || e === 100 ? g(p, d, 0, i) : r === 100 && e > Ol && g(p, d, 1, i);
|
|
7238
7169
|
});
|
|
7239
7170
|
function A() {
|
|
7240
7171
|
u = r.value;
|
|
7241
7172
|
let e = r.value;
|
|
7242
|
-
d = +(e >
|
|
7243
|
-
let t =
|
|
7173
|
+
d = +(e > Ol && e < 100), p.to = d, p.t0 = -1;
|
|
7174
|
+
let t = Dl * d;
|
|
7244
7175
|
y.value && (y.value.style.clipPath = `inset(0 ${(100 - e).toFixed(3)}% 0 0)`), b.value && (b.value.style.left = `calc(${e.toFixed(3)}% + ${t.toFixed(2)}px)`, b.value.style.height = `${a.value}px`), w.value = O(d, f), E ||= requestAnimationFrame(k);
|
|
7245
7176
|
}
|
|
7246
7177
|
function P() {
|
|
@@ -7252,7 +7183,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7252
7183
|
e === "wavy" && !n.value ? (await j(), A()) : P();
|
|
7253
7184
|
}), X(n, async (e) => {
|
|
7254
7185
|
!e && t.variant === "wavy" ? (await j(), A()) : P();
|
|
7255
|
-
}), (t, o) => (L(), S("div",
|
|
7186
|
+
}), (t, o) => (L(), S("div", ml, [e.label ? (L(), S("span", hl, G(e.label), 1)) : x("", !0), e.variant === "linear" ? (L(), S("div", {
|
|
7256
7187
|
key: 1,
|
|
7257
7188
|
class: M(["relative w-full overflow-hidden rounded-full", i[e.color].track]),
|
|
7258
7189
|
style: N({ height: `${a.value}px` }),
|
|
@@ -7267,7 +7198,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7267
7198
|
key: 0,
|
|
7268
7199
|
class: M(["h-full rounded-full transition-[width] duration-300 ease-in-out", i[e.color].bar]),
|
|
7269
7200
|
style: N({ width: `${r.value}%` })
|
|
7270
|
-
}, null, 6))], 14,
|
|
7201
|
+
}, null, 6))], 14, gl)) : (L(), S("div", {
|
|
7271
7202
|
key: 2,
|
|
7272
7203
|
class: "relative w-full overflow-visible",
|
|
7273
7204
|
style: N({ height: `${s.value}px` }),
|
|
@@ -7275,7 +7206,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7275
7206
|
"aria-valuenow": n.value ? void 0 : r.value,
|
|
7276
7207
|
"aria-valuemin": "0",
|
|
7277
7208
|
"aria-valuemax": "100"
|
|
7278
|
-
}, [n.value ? (L(), S("div",
|
|
7209
|
+
}, [n.value ? (L(), S("div", bl, [C("div", {
|
|
7279
7210
|
class: M(["absolute top-0 left-0 h-full animate-[m3-wave-flow_0.9s_linear_infinite]", i[e.color].text]),
|
|
7280
7211
|
style: N({ width: `${c}px` })
|
|
7281
7212
|
}, [(L(), S("svg", {
|
|
@@ -7290,7 +7221,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7290
7221
|
stroke: "currentColor",
|
|
7291
7222
|
"stroke-width": a.value,
|
|
7292
7223
|
"stroke-linecap": "round"
|
|
7293
|
-
}, null, 8,
|
|
7224
|
+
}, null, 8, Sl)], 8, xl))], 6)])) : (L(), S(m, { key: 0 }, [
|
|
7294
7225
|
C("div", {
|
|
7295
7226
|
ref_key: "waveClipEl",
|
|
7296
7227
|
ref: y,
|
|
@@ -7307,7 +7238,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7307
7238
|
stroke: "currentColor",
|
|
7308
7239
|
"stroke-width": a.value,
|
|
7309
7240
|
"stroke-linecap": "round"
|
|
7310
|
-
}, null, 8,
|
|
7241
|
+
}, null, 8, yl)], 10, vl))], 512),
|
|
7311
7242
|
C("div", {
|
|
7312
7243
|
ref_key: "trackEl",
|
|
7313
7244
|
ref: b,
|
|
@@ -7328,23 +7259,23 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7328
7259
|
height: `${a.value}px`
|
|
7329
7260
|
})
|
|
7330
7261
|
}, null, 6)
|
|
7331
|
-
], 64))], 12,
|
|
7262
|
+
], 64))], 12, _l))]));
|
|
7332
7263
|
}
|
|
7333
|
-
}),
|
|
7264
|
+
}), jl = { class: "inline-flex flex-col items-center gap-1" }, Ml = {
|
|
7334
7265
|
key: 0,
|
|
7335
7266
|
class: "text-label-small text-on-surface-variant"
|
|
7336
|
-
},
|
|
7267
|
+
}, Nl = { class: "relative" }, Pl = [
|
|
7337
7268
|
"width",
|
|
7338
7269
|
"height",
|
|
7339
7270
|
"aria-valuenow"
|
|
7340
|
-
],
|
|
7271
|
+
], Fl = ["stroke-width"], Il = ["stroke-width"], Ll = ["id"], Rl = ["stroke-width"], zl = ["stroke-width"], Bl = [
|
|
7341
7272
|
"d",
|
|
7342
7273
|
"stroke-width",
|
|
7343
7274
|
"mask"
|
|
7344
|
-
],
|
|
7275
|
+
], Vl = ["stroke-width"], Hl = ["stroke-width"], Ul = {
|
|
7345
7276
|
key: 0,
|
|
7346
7277
|
class: "absolute inset-0 flex items-center justify-center"
|
|
7347
|
-
},
|
|
7278
|
+
}, Wl = 40, Gl = 12, Kl = .055, ql = 10, Jl = 130, Yl = /* @__PURE__ */ D({
|
|
7348
7279
|
__name: "MCircleProgressBar",
|
|
7349
7280
|
props: {
|
|
7350
7281
|
value: {},
|
|
@@ -7373,7 +7304,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7373
7304
|
fill: "var(--color-error)",
|
|
7374
7305
|
track: "var(--color-error-container)"
|
|
7375
7306
|
}
|
|
7376
|
-
}, i = v(() => r[t.color]), a = 2 * Math.PI *
|
|
7307
|
+
}, i = v(() => r[t.color]), a = 2 * Math.PI * Wl, o = Gl * 20, s = v(() => t.thickness), c = v(() => t.thickness + Math.ceil(2 * Wl * Kl) + 2), l = v(() => .75 + t.thickness * .25), u = v(() => n.value / 100 * a);
|
|
7377
7308
|
function d(e) {
|
|
7378
7309
|
return e < .5 ? 2 * e * e : 1 - (-2 * e + 2) ** 2 / 2;
|
|
7379
7310
|
}
|
|
@@ -7407,13 +7338,13 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7407
7338
|
return n >= 1 && (e.t0 = -1), r;
|
|
7408
7339
|
}
|
|
7409
7340
|
X(n, (e, n) => {
|
|
7410
|
-
t.indeterminate || (n <=
|
|
7341
|
+
t.indeterminate || (n <= ql && e > ql && E(y, p, 1, performance.now()), n > ql && e <= ql && E(y, p, 0, performance.now()), e === 100 ? (p = 1, y.t0 = -1, T.t0 = -1, E(b, h, 0, performance.now()), w.t0 = -1, w.to = 1, g = 1) : n === 100 && (b.t0 = -1, b.to = 1, w.t0 = -1, w.to = 1, T.t0 = -1, E(T, Math.min(h, g), 1, performance.now())));
|
|
7411
7342
|
});
|
|
7412
|
-
let O = B(null), k = B(null), A = B(z(
|
|
7343
|
+
let O = B(null), k = B(null), A = B(z(Wl * Kl, 0)), j = null, M = 0, P = 2 * Math.PI / Gl / 90;
|
|
7413
7344
|
function R(e) {
|
|
7414
7345
|
let t = j === null ? 0 : e - j;
|
|
7415
7346
|
if (j = e, _ -= t * P, t > 0) {
|
|
7416
|
-
let e = 1 - Math.exp(-t /
|
|
7347
|
+
let e = 1 - Math.exp(-t / Jl);
|
|
7417
7348
|
f += (u.value - f) * e;
|
|
7418
7349
|
}
|
|
7419
7350
|
if (p = D(y, e), (b.t0 >= 0 || b.to === 0) && (h = D(b, e), b.t0 < 0 && h <= 0 && w.t0 < 0 && w.to !== 0 && E(w, g, 0, e)), (w.t0 >= 0 || w.to === 0) && (g = D(w, e)), T.t0 >= 0) {
|
|
@@ -7423,12 +7354,12 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7423
7354
|
let n = p * g, r = l.value * n * h, i = f, o = a - i, s = Math.max(0, i - 2 * r), c = -90 + r / a * 360, d = O.value;
|
|
7424
7355
|
d && (d.setAttribute("stroke-dasharray", `${s.toFixed(2)} ${(a - s).toFixed(2)}`), d.setAttribute("transform", `rotate(${c.toFixed(3)}, 50, 50)`));
|
|
7425
7356
|
let m = Math.max(0, o - 2 * r), v = Math.max(0, o - r), x = k.value;
|
|
7426
|
-
x && (x.setAttribute("stroke-dasharray", `${m.toFixed(2)} ${(a - m).toFixed(2)}`), x.setAttribute("stroke-dashoffset", v.toFixed(2))), A.value = z(
|
|
7357
|
+
x && (x.setAttribute("stroke-dasharray", `${m.toFixed(2)} ${(a - m).toFixed(2)}`), x.setAttribute("stroke-dashoffset", v.toFixed(2))), A.value = z(Wl * Kl * n, _), M = requestAnimationFrame(R);
|
|
7427
7358
|
}
|
|
7428
7359
|
function z(e, t) {
|
|
7429
7360
|
let n = [];
|
|
7430
7361
|
for (let r = 0; r <= o; r++) {
|
|
7431
|
-
let i = 2 * Math.PI * r / o - Math.PI / 2, a =
|
|
7362
|
+
let i = 2 * Math.PI * r / o - Math.PI / 2, a = Wl + e * Math.sin(Gl * i + t), s = 50 + a * Math.cos(i), c = 50 + a * Math.sin(i);
|
|
7432
7363
|
n.push(`${r === 0 ? "M" : "L"}${s.toFixed(2)},${c.toFixed(2)}`);
|
|
7433
7364
|
}
|
|
7434
7365
|
return n.join("") + "Z";
|
|
@@ -7441,7 +7372,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7441
7372
|
}
|
|
7442
7373
|
function W() {
|
|
7443
7374
|
let e = n.value;
|
|
7444
|
-
f = u.value, p = 0, h = 1, g = 1, y.t0 = b.t0 = w.t0 = T.t0 = -1, y.to = 0, b.to = 1, w.to = 1, e === 100 ? (p = 1, h = 0, g = 0, b.to = 0, w.to = 0) : e >
|
|
7375
|
+
f = u.value, p = 0, h = 1, g = 1, y.t0 = b.t0 = w.t0 = T.t0 = -1, y.to = 0, b.to = 1, w.to = 1, e === 100 ? (p = 1, h = 0, g = 0, b.to = 0, w.to = 0) : e > ql && (p = 1, y.to = 1);
|
|
7445
7376
|
}
|
|
7446
7377
|
F(() => {
|
|
7447
7378
|
t.variant === "wavy" && !t.indeterminate && (W(), V());
|
|
@@ -7451,7 +7382,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7451
7382
|
e ? U() : t.variant === "wavy" && (W(), V());
|
|
7452
7383
|
});
|
|
7453
7384
|
let q = J();
|
|
7454
|
-
return (t, r) => (L(), S("div",
|
|
7385
|
+
return (t, r) => (L(), S("div", jl, [e.label ? (L(), S("span", Ml, G(e.label), 1)) : x("", !0), C("div", Nl, [(L(), S("svg", {
|
|
7455
7386
|
width: e.size,
|
|
7456
7387
|
height: e.size,
|
|
7457
7388
|
viewBox: "0 0 100 100",
|
|
@@ -7463,14 +7394,14 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7463
7394
|
}, [e.indeterminate ? (L(), S(m, { key: 0 }, [C("circle", {
|
|
7464
7395
|
cx: "50",
|
|
7465
7396
|
cy: "50",
|
|
7466
|
-
r:
|
|
7397
|
+
r: Wl,
|
|
7467
7398
|
fill: "none",
|
|
7468
7399
|
"stroke-width": s.value,
|
|
7469
7400
|
style: N({ stroke: i.value.track })
|
|
7470
|
-
}, null, 12,
|
|
7401
|
+
}, null, 12, Fl), C("circle", {
|
|
7471
7402
|
cx: "50",
|
|
7472
7403
|
cy: "50",
|
|
7473
|
-
r:
|
|
7404
|
+
r: Wl,
|
|
7474
7405
|
fill: "none",
|
|
7475
7406
|
"stroke-width": s.value,
|
|
7476
7407
|
"stroke-linecap": "round",
|
|
@@ -7479,7 +7410,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7479
7410
|
transformOrigin: "50px 50px",
|
|
7480
7411
|
animation: "m3-cpb-spin 1.4s linear infinite, m3-cpb-arc 3s ease-in-out infinite"
|
|
7481
7412
|
})
|
|
7482
|
-
}, null, 12,
|
|
7413
|
+
}, null, 12, Il)], 64)) : e.variant === "wavy" ? (L(), S(m, { key: 1 }, [
|
|
7483
7414
|
C("defs", null, [C("mask", {
|
|
7484
7415
|
id: K(q),
|
|
7485
7416
|
maskUnits: "userSpaceOnUse"
|
|
@@ -7494,25 +7425,25 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7494
7425
|
ref: O,
|
|
7495
7426
|
cx: "50",
|
|
7496
7427
|
cy: "50",
|
|
7497
|
-
r:
|
|
7428
|
+
r: Wl,
|
|
7498
7429
|
fill: "none",
|
|
7499
7430
|
"stroke-width": c.value,
|
|
7500
7431
|
stroke: "white",
|
|
7501
7432
|
"stroke-dasharray": "0 251",
|
|
7502
7433
|
transform: "rotate(-90, 50, 50)"
|
|
7503
|
-
}, null, 8,
|
|
7434
|
+
}, null, 8, Rl)], 8, Ll)]),
|
|
7504
7435
|
C("circle", {
|
|
7505
7436
|
ref_key: "trackCircleEl",
|
|
7506
7437
|
ref: k,
|
|
7507
7438
|
cx: "50",
|
|
7508
7439
|
cy: "50",
|
|
7509
|
-
r:
|
|
7440
|
+
r: Wl,
|
|
7510
7441
|
fill: "none",
|
|
7511
7442
|
"stroke-width": s.value,
|
|
7512
7443
|
style: N({ stroke: i.value.track }),
|
|
7513
7444
|
"stroke-dasharray": "251 0",
|
|
7514
7445
|
transform: "rotate(-90, 50, 50)"
|
|
7515
|
-
}, null, 12,
|
|
7446
|
+
}, null, 12, zl),
|
|
7516
7447
|
C("path", {
|
|
7517
7448
|
d: A.value,
|
|
7518
7449
|
fill: "none",
|
|
@@ -7521,18 +7452,18 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7521
7452
|
"stroke-linejoin": "round",
|
|
7522
7453
|
mask: `url(#${K(q)})`,
|
|
7523
7454
|
style: N({ stroke: i.value.fill })
|
|
7524
|
-
}, null, 12,
|
|
7455
|
+
}, null, 12, Bl)
|
|
7525
7456
|
], 64)) : e.indeterminate ? x("", !0) : (L(), S(m, { key: 2 }, [C("circle", {
|
|
7526
7457
|
cx: "50",
|
|
7527
7458
|
cy: "50",
|
|
7528
|
-
r:
|
|
7459
|
+
r: Wl,
|
|
7529
7460
|
fill: "none",
|
|
7530
7461
|
"stroke-width": s.value,
|
|
7531
7462
|
style: N({ stroke: i.value.track })
|
|
7532
|
-
}, null, 12,
|
|
7463
|
+
}, null, 12, Vl), C("circle", {
|
|
7533
7464
|
cx: "50",
|
|
7534
7465
|
cy: "50",
|
|
7535
|
-
r:
|
|
7466
|
+
r: Wl,
|
|
7536
7467
|
fill: "none",
|
|
7537
7468
|
"stroke-width": s.value,
|
|
7538
7469
|
"stroke-linecap": "round",
|
|
@@ -7543,7 +7474,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7543
7474
|
transformOrigin: "50px 50px",
|
|
7544
7475
|
transition: "stroke-dasharray 300ms ease"
|
|
7545
7476
|
})
|
|
7546
|
-
}, null, 12,
|
|
7477
|
+
}, null, 12, Hl)], 64)), !e.indeterminate && !t.$slots.default ? (L(), S("text", {
|
|
7547
7478
|
key: 3,
|
|
7548
7479
|
x: "50",
|
|
7549
7480
|
y: "50",
|
|
@@ -7555,16 +7486,16 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7555
7486
|
fontWeight: "600",
|
|
7556
7487
|
fontFamily: "Roboto, sans-serif"
|
|
7557
7488
|
})
|
|
7558
|
-
}, G(n.value) + "%", 5)) : x("", !0)], 8,
|
|
7489
|
+
}, G(n.value) + "%", 5)) : x("", !0)], 8, Pl)), t.$slots.default ? (L(), S("div", Ul, [H(t.$slots, "default")])) : x("", !0)])]));
|
|
7559
7490
|
}
|
|
7560
|
-
}),
|
|
7491
|
+
}), Xl = ["for"], Zl = { class: "relative flex h-5 w-5 shrink-0" }, Ql = [
|
|
7561
7492
|
"id",
|
|
7562
7493
|
"checked",
|
|
7563
7494
|
"disabled"
|
|
7564
|
-
],
|
|
7495
|
+
], $l = {
|
|
7565
7496
|
key: 0,
|
|
7566
7497
|
class: "text-body-large text-on-surface"
|
|
7567
|
-
},
|
|
7498
|
+
}, eu = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
7568
7499
|
__name: "MRadio",
|
|
7569
7500
|
props: {
|
|
7570
7501
|
modelValue: {},
|
|
@@ -7587,14 +7518,14 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7587
7518
|
return (t, n) => (L(), S("label", {
|
|
7588
7519
|
for: K(i),
|
|
7589
7520
|
class: M(["inline-flex items-center gap-3 select-none", e.disabled ? "cursor-not-allowed opacity-[0.38]" : "cursor-pointer"])
|
|
7590
|
-
}, [C("span",
|
|
7521
|
+
}, [C("span", Zl, [C("input", {
|
|
7591
7522
|
id: K(i),
|
|
7592
7523
|
type: "radio",
|
|
7593
7524
|
class: "sr-only",
|
|
7594
7525
|
checked: a.value,
|
|
7595
7526
|
disabled: e.disabled,
|
|
7596
7527
|
onChange: n[0] ||= (t) => r("update:modelValue", e.value)
|
|
7597
|
-
}, null, 40,
|
|
7528
|
+
}, null, 40, Ql), (L(), S("svg", {
|
|
7598
7529
|
viewBox: "0 0 20 20",
|
|
7599
7530
|
class: M(["h-full w-full transition-colors duration-150", a.value ? o[e.color] : "text-on-surface-variant"]),
|
|
7600
7531
|
"aria-hidden": "true"
|
|
@@ -7611,12 +7542,12 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7611
7542
|
cy: "10",
|
|
7612
7543
|
r: "4.5",
|
|
7613
7544
|
fill: "currentColor"
|
|
7614
|
-
}, null, 2)], 2))]), e.label ? (L(), S("span",
|
|
7545
|
+
}, null, 2)], 2))]), e.label ? (L(), S("span", $l, G(e.label), 1)) : x("", !0)], 10, Xl));
|
|
7615
7546
|
}
|
|
7616
|
-
}), [["__scopeId", "data-v-cdb650b5"]]),
|
|
7547
|
+
}), [["__scopeId", "data-v-cdb650b5"]]), tu = { class: "flex flex-col gap-2" }, nu = {
|
|
7617
7548
|
key: 0,
|
|
7618
7549
|
class: "text-label-large text-on-surface-variant"
|
|
7619
|
-
},
|
|
7550
|
+
}, ru = /* @__PURE__ */ D({
|
|
7620
7551
|
__name: "MRadioGroup",
|
|
7621
7552
|
props: {
|
|
7622
7553
|
modelValue: {},
|
|
@@ -7632,7 +7563,7 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7632
7563
|
emits: ["update:modelValue"],
|
|
7633
7564
|
setup(e, { emit: t }) {
|
|
7634
7565
|
let n = t;
|
|
7635
|
-
return (t, r) => (L(), S("div",
|
|
7566
|
+
return (t, r) => (L(), S("div", tu, [e.label ? (L(), S("span", nu, G(e.label), 1)) : x("", !0), C("div", { class: M(["flex gap-4", e.direction === "row" ? "flex-row flex-wrap" : "flex-col"]) }, [(L(!0), S(m, null, V(e.options, (t) => (L(), b(eu, {
|
|
7636
7567
|
key: String(t.value),
|
|
7637
7568
|
"model-value": e.modelValue,
|
|
7638
7569
|
value: t.value,
|
|
@@ -7648,11 +7579,11 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7648
7579
|
"disabled"
|
|
7649
7580
|
]))), 128))], 2)]));
|
|
7650
7581
|
}
|
|
7651
|
-
}),
|
|
7582
|
+
}), iu = [
|
|
7652
7583
|
"disabled",
|
|
7653
7584
|
"onClick",
|
|
7654
7585
|
"onMousemove"
|
|
7655
|
-
],
|
|
7586
|
+
], au = /* @__PURE__ */ D({
|
|
7656
7587
|
__name: "MRating",
|
|
7657
7588
|
props: {
|
|
7658
7589
|
modelValue: {},
|
|
@@ -7729,13 +7660,13 @@ var Mc = /*#__PURE__*/ p(kc, [["render", jc]]), Nc = {
|
|
|
7729
7660
|
name: e.icon,
|
|
7730
7661
|
size: e.size,
|
|
7731
7662
|
class: "text-on-surface-variant/40"
|
|
7732
|
-
}, null, 8, ["name", "size"]))], 46,
|
|
7663
|
+
}, null, 8, ["name", "size"]))], 46, iu))), 128))], 34));
|
|
7733
7664
|
}
|
|
7734
|
-
}),
|
|
7735
|
-
function
|
|
7736
|
-
return L(), S("div",
|
|
7665
|
+
}), ou = {}, su = { class: "relative" };
|
|
7666
|
+
function cu(e, t) {
|
|
7667
|
+
return L(), S("div", su, [H(e.$slots, "default")]);
|
|
7737
7668
|
}
|
|
7738
|
-
var
|
|
7669
|
+
var lu = /*#__PURE__*/ p(ou, [["render", cu]]), uu = /* @__PURE__ */ D({
|
|
7739
7670
|
__name: "MResponsive",
|
|
7740
7671
|
props: {
|
|
7741
7672
|
show: {},
|
|
@@ -7767,19 +7698,19 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
7767
7698
|
_: 3
|
|
7768
7699
|
}, 8, ["class"]));
|
|
7769
7700
|
}
|
|
7770
|
-
}),
|
|
7701
|
+
}), du = { class: "flex flex-col items-center justify-center gap-4 py-14 text-center" }, fu = {
|
|
7771
7702
|
key: 0,
|
|
7772
7703
|
class: "text-display-small font-medium text-on-surface-variant/30"
|
|
7773
|
-
},
|
|
7704
|
+
}, pu = { class: "text-headline-small font-medium text-on-surface" }, mu = {
|
|
7774
7705
|
key: 1,
|
|
7775
7706
|
class: "max-w-md text-body-large text-on-surface-variant"
|
|
7776
|
-
},
|
|
7707
|
+
}, hu = {
|
|
7777
7708
|
key: 2,
|
|
7778
7709
|
class: "mt-2 flex flex-wrap items-center justify-center gap-3"
|
|
7779
|
-
},
|
|
7710
|
+
}, gu = {
|
|
7780
7711
|
key: 3,
|
|
7781
7712
|
class: "mt-2"
|
|
7782
|
-
},
|
|
7713
|
+
}, _u = /* @__PURE__ */ D({
|
|
7783
7714
|
__name: "MResult",
|
|
7784
7715
|
props: {
|
|
7785
7716
|
status: {},
|
|
@@ -7847,19 +7778,19 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
7847
7778
|
};
|
|
7848
7779
|
}
|
|
7849
7780
|
}), r = v(() => t.status === "404" || t.status === "403" || t.status === "500" ? t.status : null);
|
|
7850
|
-
return (t, i) => (L(), S("div",
|
|
7851
|
-
r.value ? (L(), S("span",
|
|
7781
|
+
return (t, i) => (L(), S("div", du, [
|
|
7782
|
+
r.value ? (L(), S("span", fu, G(r.value), 1)) : x("", !0),
|
|
7852
7783
|
C("div", { class: M(["flex h-20 w-20 items-center justify-center rounded-full", [n.value.bg, n.value.text]]) }, [E(f, {
|
|
7853
7784
|
name: n.value.icon,
|
|
7854
7785
|
size: 40
|
|
7855
7786
|
}, null, 8, ["name"])], 2),
|
|
7856
|
-
C("h2",
|
|
7857
|
-
e.description ?? n.value.defaultDesc ? (L(), S("p",
|
|
7858
|
-
t.$slots.actions ? (L(), S("div",
|
|
7859
|
-
t.$slots.default ? (L(), S("div",
|
|
7787
|
+
C("h2", pu, G(e.title ?? n.value.defaultTitle), 1),
|
|
7788
|
+
e.description ?? n.value.defaultDesc ? (L(), S("p", mu, G(e.description ?? n.value.defaultDesc), 1)) : x("", !0),
|
|
7789
|
+
t.$slots.actions ? (L(), S("div", hu, [H(t.$slots, "actions")])) : x("", !0),
|
|
7790
|
+
t.$slots.default ? (L(), S("div", gu, [H(t.$slots, "default")])) : x("", !0)
|
|
7860
7791
|
]));
|
|
7861
7792
|
}
|
|
7862
|
-
}),
|
|
7793
|
+
}), vu = { class: "flex flex-col overflow-hidden rounded-lg border border-outline-variant" }, yu = { class: "flex items-center justify-between border-b border-outline-variant bg-surface-container px-4 py-3" }, bu = { class: "flex items-center gap-1" }, xu = { class: "text-title-medium font-medium capitalize text-on-surface" }, Su = { class: "flex rounded-full bg-surface-container-high p-0.5" }, Cu = ["onClick"], wu = { class: "overflow-auto" }, Tu = { class: "w-full border-collapse" }, Eu = { class: "text-label-small uppercase text-on-surface-variant" }, Du = { class: "w-16 border-r border-b border-outline-variant/50 p-0 pr-2 text-right align-top" }, Ou = { class: "relative -top-2.5 text-label-small text-on-surface-variant" }, ku = ["onClick"], Au = ["onClick"], ju = { class: "truncate text-label-small font-medium" }, Mu = { class: "truncate text-label-small opacity-70" }, Nu = /* @__PURE__ */ D({
|
|
7863
7794
|
__name: "MScheduler",
|
|
7864
7795
|
props: {
|
|
7865
7796
|
events: { default: () => [] },
|
|
@@ -7940,8 +7871,8 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
7940
7871
|
error: "bg-error-container text-on-error-container border-error/30",
|
|
7941
7872
|
success: "bg-success-container text-on-success-container border-success/30"
|
|
7942
7873
|
};
|
|
7943
|
-
return (t, r) => (L(), S("div",
|
|
7944
|
-
C("div",
|
|
7874
|
+
return (t, r) => (L(), S("div", vu, [C("div", yu, [
|
|
7875
|
+
C("div", bu, [
|
|
7945
7876
|
E(s, {
|
|
7946
7877
|
icon: "chevron_left",
|
|
7947
7878
|
label: e.prevLabel ?? K(n).previous,
|
|
@@ -7960,17 +7891,17 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
7960
7891
|
onClick: w
|
|
7961
7892
|
}, G(e.todayLabel ?? K(n).today), 1)
|
|
7962
7893
|
]),
|
|
7963
|
-
C("h3",
|
|
7964
|
-
C("div",
|
|
7894
|
+
C("h3", xu, G(y.value), 1),
|
|
7895
|
+
C("div", Su, [(L(), S(m, null, V(["day", "week"], (t) => C("button", {
|
|
7965
7896
|
key: t,
|
|
7966
7897
|
type: "button",
|
|
7967
7898
|
class: M(["cursor-pointer rounded-full px-3 py-1 text-label-medium transition-all duration-150", c.value === t ? "bg-secondary-container text-on-secondary-container shadow-elevation-1" : "text-on-surface-variant hover:bg-on-surface/8"]),
|
|
7968
7899
|
onClick: (e) => c.value = t
|
|
7969
|
-
}, G(t === "day" ? e.dayViewLabel ?? K(n).dayView : e.weekViewLabel ?? K(n).weekView), 11,
|
|
7970
|
-
]), C("div",
|
|
7900
|
+
}, G(t === "day" ? e.dayViewLabel ?? K(n).dayView : e.weekViewLabel ?? K(n).weekView), 11, Cu)), 64))])
|
|
7901
|
+
]), C("div", wu, [C("table", Tu, [C("thead", null, [C("tr", null, [r[2] ||= C("th", { class: "sticky top-0 z-10 w-16 border-b border-r border-outline-variant bg-surface-container p-2" }, null, -1), (L(!0), S(m, null, V(f.value, (e) => (L(), S("th", {
|
|
7971
7902
|
key: h(e),
|
|
7972
7903
|
class: M(["sticky top-0 z-10 border-b border-r border-outline-variant bg-surface-container px-2 py-2 text-center last:border-r-0", h(e) === K(p) ? "bg-primary-container/30" : ""])
|
|
7973
|
-
}, [C("div",
|
|
7904
|
+
}, [C("div", Eu, G(K(g).format(e)), 1), C("div", { class: M(["mx-auto mt-0.5 flex h-8 w-8 items-center justify-center rounded-full text-title-medium", h(e) === K(p) ? "bg-primary text-on-primary font-medium" : "text-on-surface"]) }, G(K(_).format(e)), 3)], 2))), 128))])]), C("tbody", null, [(L(!0), S(m, null, V(l.value, (e) => (L(), S("tr", { key: e }, [C("td", Du, [C("span", Ou, G(String(e).padStart(2, "0")) + ":00 ", 1)]), (L(!0), S(m, null, V(f.value, (t) => (L(), S("td", {
|
|
7974
7905
|
key: h(t),
|
|
7975
7906
|
class: M(["relative h-14 border-r border-b border-outline-variant/50 p-0 last:border-r-0", h(t) === K(p) ? "bg-primary-container/5" : ""]),
|
|
7976
7907
|
onClick: (n) => a("slotClick", {
|
|
@@ -7983,9 +7914,9 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
7983
7914
|
class: M(["absolute inset-x-0.5 top-0.5 z-5 cursor-pointer overflow-hidden rounded border-l-[3px] px-2 py-1 text-left transition-opacity hover:opacity-90", A[t.color ?? "primary"]]),
|
|
7984
7915
|
style: N({ height: `calc(${O(t) * 100}% - 4px)` }),
|
|
7985
7916
|
onClick: Q((e) => a("eventClick", t), ["stop"])
|
|
7986
|
-
}, [C("p",
|
|
7917
|
+
}, [C("p", ju, G(t.title), 1), C("p", Mu, G(k(t)), 1)], 14, Au)) : x("", !0)], 64))), 128))], 10, ku))), 128))]))), 128))])])])]));
|
|
7987
7918
|
}
|
|
7988
|
-
}),
|
|
7919
|
+
}), Pu = /* @__PURE__ */ D({
|
|
7989
7920
|
__name: "MScrollable",
|
|
7990
7921
|
props: {
|
|
7991
7922
|
direction: { default: "vertical" },
|
|
@@ -8006,13 +7937,13 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8006
7937
|
style: N(i.value)
|
|
8007
7938
|
}, [H(e.$slots, "default")], 6));
|
|
8008
7939
|
}
|
|
8009
|
-
}),
|
|
7940
|
+
}), Fu = { key: 0 }, Iu = { class: "flex items-start justify-between" }, Lu = {
|
|
8010
7941
|
key: 0,
|
|
8011
7942
|
class: "mt-1 text-body-medium text-on-surface-variant"
|
|
8012
|
-
},
|
|
7943
|
+
}, Ru = {
|
|
8013
7944
|
key: 0,
|
|
8014
7945
|
class: "mt-4 h-px bg-outline-variant"
|
|
8015
|
-
},
|
|
7946
|
+
}, zu = /* @__PURE__ */ D({
|
|
8016
7947
|
__name: "MSection",
|
|
8017
7948
|
props: {
|
|
8018
7949
|
title: {},
|
|
@@ -8049,19 +7980,19 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8049
7980
|
"label-medium": "text-label-medium",
|
|
8050
7981
|
"label-small": "text-label-small"
|
|
8051
7982
|
}, i = v(() => n[t.gap]), a = v(() => [r[t.titleVariant], "font-medium"]);
|
|
8052
|
-
return (t, n) => (L(), S("section", { class: M(["flex flex-col", i.value]) }, [e.title || e.subtitle || t.$slots.title || t.$slots.actions ? (L(), S("div",
|
|
7983
|
+
return (t, n) => (L(), S("section", { class: M(["flex flex-col", i.value]) }, [e.title || e.subtitle || t.$slots.title || t.$slots.actions ? (L(), S("div", Fu, [C("div", Iu, [C("div", null, [H(t.$slots, "title", {}, () => [e.title ? (L(), S("p", {
|
|
8053
7984
|
key: 0,
|
|
8054
7985
|
class: M(a.value)
|
|
8055
|
-
}, G(e.title), 3)) : x("", !0)]), H(t.$slots, "subtitle", {}, () => [e.subtitle ? (L(), S("p",
|
|
7986
|
+
}, G(e.title), 3)) : x("", !0)]), H(t.$slots, "subtitle", {}, () => [e.subtitle ? (L(), S("p", Lu, G(e.subtitle), 1)) : x("", !0)])]), H(t.$slots, "actions")]), e.divider ? (L(), S("div", Ru)) : x("", !0)])) : x("", !0), H(t.$slots, "default")], 2));
|
|
8056
7987
|
}
|
|
8057
|
-
}),
|
|
7988
|
+
}), Bu = {
|
|
8058
7989
|
class: "inline-flex overflow-hidden rounded-full border border-outline",
|
|
8059
7990
|
role: "group"
|
|
8060
|
-
},
|
|
7991
|
+
}, Vu = [
|
|
8061
7992
|
"disabled",
|
|
8062
7993
|
"aria-pressed",
|
|
8063
7994
|
"onClick"
|
|
8064
|
-
],
|
|
7995
|
+
], Hu = /* @__PURE__ */ D({
|
|
8065
7996
|
__name: "MSegmentedButton",
|
|
8066
7997
|
props: {
|
|
8067
7998
|
modelValue: {},
|
|
@@ -8085,7 +8016,7 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8085
8016
|
i >= 0 ? r.splice(i, 1) : r.push(e.value), n("update:modelValue", r);
|
|
8086
8017
|
} else n("update:modelValue", e.value);
|
|
8087
8018
|
}
|
|
8088
|
-
return (t, n) => (L(), S("div",
|
|
8019
|
+
return (t, n) => (L(), S("div", Bu, [(L(!0), S(m, null, V(e.options, (t, n) => (L(), S("button", {
|
|
8089
8020
|
key: t.value,
|
|
8090
8021
|
type: "button",
|
|
8091
8022
|
class: M(["relative inline-flex items-center justify-center gap-2 text-label-large font-medium transition-[background-color,color] duration-150 outline-none before:pointer-events-none before:absolute before:inset-0 before:bg-current before:opacity-0 before:transition-opacity before:duration-150 enabled:hover:before:opacity-[0.08] enabled:active:before:opacity-[0.12]", [
|
|
@@ -8106,35 +8037,35 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8106
8037
|
key: 1,
|
|
8107
8038
|
name: t.icon,
|
|
8108
8039
|
size: 18
|
|
8109
|
-
}, null, 8, ["name"])) : x("", !0), C("span", null, G(t.label), 1)], 10,
|
|
8040
|
+
}, null, 8, ["name"])) : x("", !0), C("span", null, G(t.label), 1)], 10, Vu))), 128))]));
|
|
8110
8041
|
}
|
|
8111
|
-
}),
|
|
8042
|
+
}), Uu = { class: "flex flex-col gap-1" }, Wu = [
|
|
8112
8043
|
"id",
|
|
8113
8044
|
"tabindex",
|
|
8114
8045
|
"aria-expanded",
|
|
8115
8046
|
"aria-disabled"
|
|
8116
|
-
],
|
|
8047
|
+
], Gu = {
|
|
8117
8048
|
key: 0,
|
|
8118
8049
|
class: "text-on-surface"
|
|
8119
|
-
},
|
|
8050
|
+
}, Ku = ["for"], qu = {
|
|
8120
8051
|
key: 0,
|
|
8121
8052
|
class: "text-error"
|
|
8122
|
-
},
|
|
8053
|
+
}, Ju = { class: "pointer-events-none absolute right-2 top-1/2 -translate-y-1/2 flex h-6 items-center" }, Yu = {
|
|
8123
8054
|
key: 0,
|
|
8124
8055
|
class: "px-4 text-body-small text-error"
|
|
8125
|
-
},
|
|
8056
|
+
}, Xu = {
|
|
8126
8057
|
key: 1,
|
|
8127
8058
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
8128
|
-
},
|
|
8059
|
+
}, Zu = ["onClick"], Qu = {
|
|
8129
8060
|
key: 1,
|
|
8130
8061
|
class: "w-[18px] shrink-0"
|
|
8131
|
-
},
|
|
8062
|
+
}, $u = {
|
|
8132
8063
|
key: 0,
|
|
8133
8064
|
class: "px-4 py-3 text-center text-body-small text-on-surface-variant"
|
|
8134
|
-
},
|
|
8065
|
+
}, ed = { class: "select-modal-box flex max-h-[80vh] w-full max-w-sm flex-col overflow-hidden rounded-[28px] bg-surface-container-high shadow-elevation-3" }, td = { class: "flex items-center justify-between px-6 pt-6 pb-4" }, nd = { class: "text-headline-small text-on-surface" }, rd = { class: "flex-1 overflow-y-auto py-2" }, id = ["onClick"], ad = {
|
|
8135
8066
|
key: 0,
|
|
8136
8067
|
class: "px-6 py-4 text-center text-body-medium text-on-surface-variant"
|
|
8137
|
-
},
|
|
8068
|
+
}, od = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
8138
8069
|
__name: "MSelect",
|
|
8139
8070
|
props: {
|
|
8140
8071
|
modelValue: { default: void 0 },
|
|
@@ -8147,7 +8078,8 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8147
8078
|
type: Boolean,
|
|
8148
8079
|
default: !1
|
|
8149
8080
|
},
|
|
8150
|
-
error: {},
|
|
8081
|
+
error: { type: Boolean },
|
|
8082
|
+
errorLabel: {},
|
|
8151
8083
|
hint: {},
|
|
8152
8084
|
required: {
|
|
8153
8085
|
type: Boolean,
|
|
@@ -8252,7 +8184,7 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8252
8184
|
l.value ? i.error ? "text-error" : "text-primary" : i.error ? "text-error" : "text-on-surface-variant"
|
|
8253
8185
|
].join(" ");
|
|
8254
8186
|
});
|
|
8255
|
-
return (t, n) => (L(), S(m, null, [C("div",
|
|
8187
|
+
return (t, n) => (L(), S(m, null, [C("div", Uu, [C("div", {
|
|
8256
8188
|
ref_key: "fieldEl",
|
|
8257
8189
|
ref: d,
|
|
8258
8190
|
class: M(["relative", e.variant === "outlined" ? "mt-2" : ""]),
|
|
@@ -8274,11 +8206,11 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8274
8206
|
class: M([U.value, e.disabled ? "pointer-events-none opacity-[0.38]" : ""]),
|
|
8275
8207
|
onClick: A,
|
|
8276
8208
|
onKeydown: z
|
|
8277
|
-
}, [D.value ? (L(), S("span",
|
|
8209
|
+
}, [D.value ? (L(), S("span", Gu, G(O.value), 1)) : x("", !0)], 42, Wu),
|
|
8278
8210
|
C("label", {
|
|
8279
8211
|
for: K(c),
|
|
8280
8212
|
class: M(q.value)
|
|
8281
|
-
}, [T(G(e.label), 1), e.required ? (L(), S("span",
|
|
8213
|
+
}, [T(G(e.label), 1), e.required ? (L(), S("span", qu, "\xA0*")) : x("", !0)], 10, Ku),
|
|
8282
8214
|
e.clearable && D.value && !e.disabled ? (L(), S("button", {
|
|
8283
8215
|
key: 1,
|
|
8284
8216
|
type: "button",
|
|
@@ -8290,12 +8222,12 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8290
8222
|
name: "close",
|
|
8291
8223
|
size: 18
|
|
8292
8224
|
})])) : x("", !0),
|
|
8293
|
-
C("div",
|
|
8225
|
+
C("div", Ju, [E(f, {
|
|
8294
8226
|
name: "arrow_drop_down",
|
|
8295
8227
|
size: 24,
|
|
8296
8228
|
class: M(["text-on-surface-variant transition-transform duration-200", l.value || u.value ? "rotate-180" : ""])
|
|
8297
8229
|
}, null, 8, ["class"])])
|
|
8298
|
-
], 6), e.error ? (L(), S("p",
|
|
8230
|
+
], 6), e.error && e.errorLabel ? (L(), S("p", Yu, G(e.errorLabel), 1)) : e.hint ? (L(), S("p", Xu, G(e.hint), 1)) : x("", !0)]), (L(), b(h, { to: "body" }, [E(g, {
|
|
8299
8231
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
8300
8232
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
8301
8233
|
"enter-to-class": "opacity-100 translate-y-0 scale-100",
|
|
@@ -8318,21 +8250,21 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8318
8250
|
name: "check",
|
|
8319
8251
|
size: 18,
|
|
8320
8252
|
class: "shrink-0 text-primary"
|
|
8321
|
-
})) : (L(), S("span",
|
|
8253
|
+
})) : (L(), S("span", Qu)), T(" " + G(t.label), 1)], 10, Zu))), 128)), e.options.length ? x("", !0) : (L(), S("p", $u, " Sin opciones "))], 4)) : x("", !0)]),
|
|
8322
8254
|
_: 1
|
|
8323
8255
|
}), E(g, { name: "m3-select-modal" }, {
|
|
8324
8256
|
default: Z(() => [u.value && e.mode === "modal" ? (L(), S("div", {
|
|
8325
8257
|
key: 0,
|
|
8326
8258
|
class: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",
|
|
8327
8259
|
onClick: Q(H, ["self"])
|
|
8328
|
-
}, [C("div",
|
|
8329
|
-
C("div",
|
|
8260
|
+
}, [C("div", ed, [
|
|
8261
|
+
C("div", td, [C("h2", nd, G(e.label || e.placeholder), 1), E(s, {
|
|
8330
8262
|
icon: "close",
|
|
8331
8263
|
label: K(o).close,
|
|
8332
8264
|
onClick: H
|
|
8333
8265
|
}, null, 8, ["label"])]),
|
|
8334
8266
|
n[1] ||= C("div", { class: "h-px bg-outline-variant" }, null, -1),
|
|
8335
|
-
C("div",
|
|
8267
|
+
C("div", rd, [(L(!0), S(m, null, V(e.options, (t, n) => (L(), S("div", {
|
|
8336
8268
|
key: n,
|
|
8337
8269
|
class: M(["flex cursor-pointer items-center gap-4 px-6 py-3.5 text-body-large transition-colors", [t.disabled ? "cursor-not-allowed opacity-38 text-on-surface" : "text-on-surface hover:bg-on-surface/8", w(t.value, e.modelValue) ? "bg-primary/8" : ""]]),
|
|
8338
8270
|
onClick: (e) => j(t)
|
|
@@ -8340,21 +8272,21 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8340
8272
|
name: w(t.value, e.modelValue) ? "radio_button_checked" : "radio_button_unchecked",
|
|
8341
8273
|
size: 20,
|
|
8342
8274
|
class: M(w(t.value, e.modelValue) ? "text-primary" : "text-on-surface-variant")
|
|
8343
|
-
}, null, 8, ["name", "class"]), C("span", { class: M(w(t.value, e.modelValue) ? "text-primary font-medium" : "") }, G(t.label), 3)], 10,
|
|
8275
|
+
}, null, 8, ["name", "class"]), C("span", { class: M(w(t.value, e.modelValue) ? "text-primary font-medium" : "") }, G(t.label), 3)], 10, id))), 128)), e.options.length ? x("", !0) : (L(), S("p", ad, " Sin opciones "))])
|
|
8344
8276
|
])])) : x("", !0)]),
|
|
8345
8277
|
_: 1
|
|
8346
8278
|
})]))], 64));
|
|
8347
8279
|
}
|
|
8348
|
-
}), [["__scopeId", "data-v-
|
|
8280
|
+
}), [["__scopeId", "data-v-17adb5b4"]]), sd = {
|
|
8349
8281
|
key: 0,
|
|
8350
8282
|
class: "fixed inset-0 z-200 flex justify-end"
|
|
8351
|
-
},
|
|
8283
|
+
}, cd = {
|
|
8352
8284
|
key: 0,
|
|
8353
8285
|
class: "flex shrink-0 items-center justify-between border-b border-outline-variant px-6 py-4"
|
|
8354
|
-
},
|
|
8286
|
+
}, ld = { class: "text-title-large text-on-surface" }, ud = { class: "flex-1 overflow-y-auto px-6 py-4" }, dd = {
|
|
8355
8287
|
key: 1,
|
|
8356
8288
|
class: "shrink-0 border-t border-outline-variant px-6 py-4"
|
|
8357
|
-
},
|
|
8289
|
+
}, fd = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
8358
8290
|
__name: "MSideSheet",
|
|
8359
8291
|
props: {
|
|
8360
8292
|
modelValue: { type: Boolean },
|
|
@@ -8384,7 +8316,7 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8384
8316
|
leave: 280
|
|
8385
8317
|
}
|
|
8386
8318
|
}, {
|
|
8387
|
-
default: Z(() => [e.modelValue ? (L(), S("div",
|
|
8319
|
+
default: Z(() => [e.modelValue ? (L(), S("div", sd, [C("div", {
|
|
8388
8320
|
class: "ss-scrim absolute inset-0 bg-black/40",
|
|
8389
8321
|
onClick: r
|
|
8390
8322
|
}), C("aside", {
|
|
@@ -8397,7 +8329,7 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8397
8329
|
onPointermove: c,
|
|
8398
8330
|
onPointerup: l
|
|
8399
8331
|
}, null, 32),
|
|
8400
|
-
e.title || t.$slots.header ? (L(), S("div",
|
|
8332
|
+
e.title || t.$slots.header ? (L(), S("div", cd, [H(t.$slots, "header", {}, () => [C("h2", ld, G(e.title), 1)], !0), C("button", {
|
|
8401
8333
|
type: "button",
|
|
8402
8334
|
class: "flex h-9 w-9 cursor-pointer items-center justify-center rounded-full text-on-surface-variant transition-colors hover:bg-on-surface/8",
|
|
8403
8335
|
onClick: r
|
|
@@ -8405,16 +8337,16 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8405
8337
|
name: "close",
|
|
8406
8338
|
size: 20
|
|
8407
8339
|
})])])) : x("", !0),
|
|
8408
|
-
C("div",
|
|
8409
|
-
t.$slots.actions ? (L(), S("div",
|
|
8340
|
+
C("div", ud, [H(t.$slots, "default", {}, void 0, !0)]),
|
|
8341
|
+
t.$slots.actions ? (L(), S("div", dd, [H(t.$slots, "actions", {}, void 0, !0)])) : x("", !0)
|
|
8410
8342
|
], 6)])) : x("", !0)]),
|
|
8411
8343
|
_: 3
|
|
8412
8344
|
})]));
|
|
8413
8345
|
}
|
|
8414
|
-
}), [["__scopeId", "data-v-ba5b6f4b"]]),
|
|
8346
|
+
}), [["__scopeId", "data-v-ba5b6f4b"]]), pd = {
|
|
8415
8347
|
key: 0,
|
|
8416
8348
|
class: "flex flex-col gap-2.5"
|
|
8417
|
-
},
|
|
8349
|
+
}, md = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
8418
8350
|
__name: "MSkeleton",
|
|
8419
8351
|
props: {
|
|
8420
8352
|
variant: { default: "text" },
|
|
@@ -8424,7 +8356,7 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8424
8356
|
animation: { default: "pulse" }
|
|
8425
8357
|
},
|
|
8426
8358
|
setup(e) {
|
|
8427
|
-
return (t, n) => e.variant === "text" && e.lines > 1 ? (L(), S("div",
|
|
8359
|
+
return (t, n) => e.variant === "text" && e.lines > 1 ? (L(), S("div", pd, [(L(!0), S(m, null, V(e.lines, (t) => (L(), S("div", {
|
|
8428
8360
|
key: t,
|
|
8429
8361
|
class: M(["h-3.5 rounded-full bg-on-surface/10", e.animation === "pulse" ? "animate-pulse" : e.animation === "wave" ? "skeleton-wave" : ""]),
|
|
8430
8362
|
style: N({ width: t === e.lines ? "60%" : e.width ?? "100%" })
|
|
@@ -8437,22 +8369,22 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8437
8369
|
})
|
|
8438
8370
|
}, null, 6));
|
|
8439
8371
|
}
|
|
8440
|
-
}), [["__scopeId", "data-v-32ecf05b"]]),
|
|
8372
|
+
}), [["__scopeId", "data-v-32ecf05b"]]), hd = {
|
|
8441
8373
|
key: 0,
|
|
8442
8374
|
class: "flex items-center justify-between"
|
|
8443
|
-
},
|
|
8375
|
+
}, gd = {
|
|
8444
8376
|
key: 0,
|
|
8445
8377
|
class: "text-label-large text-on-surface"
|
|
8446
|
-
},
|
|
8378
|
+
}, _d = {
|
|
8447
8379
|
key: 1,
|
|
8448
8380
|
class: "tabular-nums text-label-large text-on-surface-variant"
|
|
8449
|
-
},
|
|
8381
|
+
}, vd = [
|
|
8450
8382
|
"aria-valuenow",
|
|
8451
8383
|
"aria-valuemin",
|
|
8452
8384
|
"aria-valuemax",
|
|
8453
8385
|
"aria-disabled",
|
|
8454
8386
|
"aria-orientation"
|
|
8455
|
-
],
|
|
8387
|
+
], yd = /* @__PURE__ */ D({
|
|
8456
8388
|
__name: "MSlider",
|
|
8457
8389
|
props: {
|
|
8458
8390
|
modelValue: {},
|
|
@@ -8592,18 +8524,19 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8592
8524
|
e.preventDefault();
|
|
8593
8525
|
let t = D(e);
|
|
8594
8526
|
if (s.value) {
|
|
8595
|
-
|
|
8596
|
-
|
|
8597
|
-
|
|
8527
|
+
let e = n.modelValue, i = Math.abs(t - e[0]) <= Math.abs(t - e[1]) ? 0 : 1;
|
|
8528
|
+
a.value = i;
|
|
8529
|
+
let o = [e[0], e[1]];
|
|
8530
|
+
o[i] = t, r("update:modelValue", o);
|
|
8598
8531
|
} else a.value = "single", r("update:modelValue", t);
|
|
8599
8532
|
window.addEventListener("pointermove", k), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", A);
|
|
8600
8533
|
}
|
|
8601
8534
|
function k(e) {
|
|
8602
|
-
if (
|
|
8535
|
+
if (a.value === !1) return;
|
|
8603
8536
|
let t = D(e);
|
|
8604
8537
|
if (s.value) {
|
|
8605
|
-
let e = n.modelValue;
|
|
8606
|
-
|
|
8538
|
+
let e = n.modelValue, i = [e[0], e[1]];
|
|
8539
|
+
i[a.value] = t, r("update:modelValue", i);
|
|
8607
8540
|
} else r("update:modelValue", t);
|
|
8608
8541
|
}
|
|
8609
8542
|
function A() {
|
|
@@ -8634,7 +8567,7 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8634
8567
|
n.icon && a < r || e.push(a);
|
|
8635
8568
|
}
|
|
8636
8569
|
return e.length <= 28 ? e : [];
|
|
8637
|
-
}), I = v(() => _.value.radius), R = v(() =>
|
|
8570
|
+
}), I = v(() => _.value.radius), R = v(() => a.value === !1), z = v(() => R.value ? "75ms ease" : "0s");
|
|
8638
8571
|
function H(e) {
|
|
8639
8572
|
let t = o.value ? _.value.thumbH : _.value.thumbW, n = o.value ? _.value.thumbW : _.value.thumbH, r = Math.min(t, n) / 2, i = {
|
|
8640
8573
|
position: "absolute",
|
|
@@ -8645,7 +8578,7 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8645
8578
|
zIndex: "2",
|
|
8646
8579
|
transition: R.value ? "left 75ms ease, bottom 75ms ease, transform 80ms ease" : "transform 80ms ease"
|
|
8647
8580
|
};
|
|
8648
|
-
return o.value ? (i.left = "50%", i.bottom = `${e}%`, i.transform = `translateX(-50%) translateY(50%) scaleX(${a.value ? 1
|
|
8581
|
+
return o.value ? (i.left = "50%", i.bottom = `${e}%`, i.transform = `translateX(-50%) translateY(50%) scaleX(${a.value === !1 ? 1 : 1.08})`) : (i.left = `${e}%`, i.top = "50%", i.transform = `translateX(-50%) translateY(-50%) scaleY(${a.value === !1 ? 1 : 1.08})`), i;
|
|
8649
8582
|
}
|
|
8650
8583
|
function U(e) {
|
|
8651
8584
|
let t = _.value.track / 2 + 36, n = _.value.track / 2 + 40;
|
|
@@ -8661,8 +8594,8 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8661
8594
|
transition: R.value ? "left " + z.value : "none"
|
|
8662
8595
|
};
|
|
8663
8596
|
}
|
|
8664
|
-
let W = v(() => s.value ? `${c.value.lo} – ${c.value.hi}` : String(n.modelValue)), K = v(() => s.value
|
|
8665
|
-
return (t, n) => (L(), S("div", { class: M(["flex select-none", o.value ? "h-full flex-col items-center" : "flex-col gap-1"]) }, [e.label || e.showValue ? (L(), S("div",
|
|
8597
|
+
let W = v(() => s.value ? `${c.value.lo} – ${c.value.hi}` : String(n.modelValue)), K = v(() => s.value && typeof a.value == "number" ? n.modelValue[a.value] : n.modelValue), q = v(() => s.value && typeof a.value == "number" ? l(n.modelValue[a.value]) : u.value);
|
|
8598
|
+
return (t, n) => (L(), S("div", { class: M(["flex select-none", o.value ? "h-full flex-col items-center" : "flex-col gap-1"]) }, [e.label || e.showValue ? (L(), S("div", hd, [e.label ? (L(), S("span", gd, G(e.label), 1)) : x("", !0), e.showValue ? (L(), S("span", _d, G(W.value), 1)) : x("", !0)])) : x("", !0), C("div", { class: M(["flex items-center", o.value ? "flex-1 flex-col" : ""]) }, [C("div", {
|
|
8666
8599
|
ref_key: "trackEl",
|
|
8667
8600
|
ref: i,
|
|
8668
8601
|
role: "slider",
|
|
@@ -8959,20 +8892,20 @@ var du = /*#__PURE__*/ p(cu, [["render", uu]]), fu = /* @__PURE__ */ D({
|
|
|
8959
8892
|
"leave-active-class": "transition-opacity duration-75",
|
|
8960
8893
|
"leave-to-class": "opacity-0"
|
|
8961
8894
|
}, {
|
|
8962
|
-
default: Z(() => [e.showTooltip && a.value ? (L(), S("div", {
|
|
8895
|
+
default: Z(() => [e.showTooltip && a.value !== !1 ? (L(), S("div", {
|
|
8963
8896
|
key: 0,
|
|
8964
8897
|
class: "pointer-events-none absolute z-10 flex h-7 min-w-7 items-center justify-center rounded-full bg-inverse-surface px-2 text-label-small tabular-nums text-inverse-on-surface",
|
|
8965
8898
|
style: N(U(q.value))
|
|
8966
8899
|
}, G(K.value), 5)) : x("", !0)]),
|
|
8967
8900
|
_: 1
|
|
8968
8901
|
})
|
|
8969
|
-
], 46,
|
|
8902
|
+
], 46, vd)], 2)], 2));
|
|
8970
8903
|
}
|
|
8971
|
-
}),
|
|
8972
|
-
function
|
|
8973
|
-
return L(), S("div",
|
|
8904
|
+
}), bd = {}, xd = { class: "flex-1" };
|
|
8905
|
+
function Sd(e, t) {
|
|
8906
|
+
return L(), S("div", xd);
|
|
8974
8907
|
}
|
|
8975
|
-
var
|
|
8908
|
+
var Cd = /*#__PURE__*/ p(bd, [["render", Sd]]), wd = ["disabled"], Td = ["disabled"], Ed = ["disabled", "onClick"], Dd = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
8976
8909
|
__name: "MSplitButton",
|
|
8977
8910
|
props: {
|
|
8978
8911
|
label: {},
|
|
@@ -9184,7 +9117,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9184
9117
|
key: 0,
|
|
9185
9118
|
name: e.icon,
|
|
9186
9119
|
size: u.value.icon
|
|
9187
|
-
}, null, 8, ["name", "size"])) : x("", !0), T(" " + G(e.label), 1)], 46,
|
|
9120
|
+
}, null, 8, ["name", "size"])) : x("", !0), T(" " + G(e.label), 1)], 46, wd), C("button", {
|
|
9188
9121
|
type: "button",
|
|
9189
9122
|
class: M(["toggle-btn relative flex cursor-pointer items-center justify-center overflow-hidden", [
|
|
9190
9123
|
u.value.h,
|
|
@@ -9204,7 +9137,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9204
9137
|
name: "arrow_drop_down",
|
|
9205
9138
|
size: u.value.arrow,
|
|
9206
9139
|
class: M(["transition-transform duration-200", i.value ? "rotate-180" : ""])
|
|
9207
|
-
}, null, 8, ["size", "class"])], 46,
|
|
9140
|
+
}, null, 8, ["size", "class"])], 46, Td)], 2), (L(), b(h, { to: "body" }, [E(g, {
|
|
9208
9141
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
9209
9142
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
9210
9143
|
"leave-active-class": "transition-[opacity,transform] duration-100",
|
|
@@ -9227,7 +9160,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9227
9160
|
name: e.icon,
|
|
9228
9161
|
size: 18,
|
|
9229
9162
|
class: "shrink-0 text-on-surface-variant"
|
|
9230
|
-
}, null, 8, ["name"])) : x("", !0), T(" " + G(e.label), 1)], 10,
|
|
9163
|
+
}, null, 8, ["name"])) : x("", !0), T(" " + G(e.label), 1)], 10, Ed))), 128))], 4)) : x("", !0)]),
|
|
9231
9164
|
_: 1
|
|
9232
9165
|
}), E(g, {
|
|
9233
9166
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
@@ -9244,7 +9177,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9244
9177
|
_: 3
|
|
9245
9178
|
})]))], 64));
|
|
9246
9179
|
}
|
|
9247
|
-
}), [["__scopeId", "data-v-ec1435bc"]]),
|
|
9180
|
+
}), [["__scopeId", "data-v-ec1435bc"]]), Od = /* @__PURE__ */ D({
|
|
9248
9181
|
__name: "MSplitter",
|
|
9249
9182
|
props: {
|
|
9250
9183
|
direction: { default: "horizontal" },
|
|
@@ -9291,26 +9224,26 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9291
9224
|
}, [H(e.$slots, "second")], 4)
|
|
9292
9225
|
], 2));
|
|
9293
9226
|
}
|
|
9294
|
-
}),
|
|
9227
|
+
}), kd = { class: "spot-box flex w-full max-w-xl flex-col overflow-hidden rounded-2xl bg-surface-container-high shadow-elevation-3" }, Ad = { class: "flex items-center gap-3 px-5 py-1" }, jd = ["placeholder"], Md = {
|
|
9295
9228
|
key: 0,
|
|
9296
9229
|
class: "max-h-96 overflow-y-auto border-t border-outline-variant"
|
|
9297
|
-
},
|
|
9230
|
+
}, Nd = {
|
|
9298
9231
|
key: 0,
|
|
9299
9232
|
class: "px-5 pt-4 pb-1 text-label-small font-medium tracking-wide text-on-surface-variant uppercase"
|
|
9300
|
-
},
|
|
9233
|
+
}, Pd = [
|
|
9301
9234
|
"data-spot-active",
|
|
9302
9235
|
"onClick",
|
|
9303
9236
|
"onPointerenter"
|
|
9304
|
-
],
|
|
9237
|
+
], Fd = {
|
|
9305
9238
|
key: 0,
|
|
9306
9239
|
class: "flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-primary-container"
|
|
9307
|
-
},
|
|
9240
|
+
}, Id = { class: "min-w-0 flex-1" }, Ld = { class: "truncate text-body-medium text-on-surface" }, Rd = {
|
|
9308
9241
|
key: 0,
|
|
9309
9242
|
class: "truncate text-body-small text-on-surface-variant"
|
|
9310
|
-
},
|
|
9243
|
+
}, zd = {
|
|
9311
9244
|
key: 1,
|
|
9312
9245
|
class: "flex flex-col items-center gap-2 py-10"
|
|
9313
|
-
},
|
|
9246
|
+
}, Bd = { class: "text-body-medium text-on-surface-variant" }, Vd = { class: "flex items-center gap-4 border-t border-outline-variant px-5 py-2" }, Hd = { class: "flex items-center gap-1 text-label-small text-on-surface-variant" }, Ud = { class: "flex items-center gap-1 text-label-small text-on-surface-variant" }, Wd = { class: "flex items-center gap-1 text-label-small text-on-surface-variant" }, Gd = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
9314
9247
|
__name: "MSpotlightSearch",
|
|
9315
9248
|
props: {
|
|
9316
9249
|
modelValue: { type: Boolean },
|
|
@@ -9374,8 +9307,8 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9374
9307
|
key: 0,
|
|
9375
9308
|
class: "fixed inset-0 z-50 flex items-start justify-center bg-black/50 pt-[12vh]",
|
|
9376
9309
|
onClick: Q(_, ["self"])
|
|
9377
|
-
}, [C("div",
|
|
9378
|
-
C("div",
|
|
9310
|
+
}, [C("div", kd, [
|
|
9311
|
+
C("div", Ad, [
|
|
9379
9312
|
E(f, {
|
|
9380
9313
|
name: "search",
|
|
9381
9314
|
size: 24,
|
|
@@ -9389,7 +9322,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9389
9322
|
placeholder: e.placeholder ?? K(n).search,
|
|
9390
9323
|
class: "h-14 flex-1 bg-transparent text-title-medium text-on-surface outline-none placeholder:text-on-surface-variant/50",
|
|
9391
9324
|
onKeydown: D
|
|
9392
|
-
}, null, 40,
|
|
9325
|
+
}, null, 40, jd), [[ee, s.value]]),
|
|
9393
9326
|
e.loading ? (L(), b(a, {
|
|
9394
9327
|
key: 0,
|
|
9395
9328
|
size: 20,
|
|
@@ -9404,7 +9337,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9404
9337
|
size: 18
|
|
9405
9338
|
})])) : x("", !0)
|
|
9406
9339
|
]),
|
|
9407
|
-
d.value ? (L(), S("div",
|
|
9340
|
+
d.value ? (L(), S("div", Md, [e.results.length ? (L(!0), S(m, { key: 0 }, V(p.value, ([t, n]) => (L(), S(m, { key: t }, [t ? (L(), S("p", Nd, G(t), 1)) : x("", !0), (L(!0), S(m, null, V(n, (t) => (L(), S("button", {
|
|
9408
9341
|
key: t.id,
|
|
9409
9342
|
type: "button",
|
|
9410
9343
|
"data-spot-active": e.results.indexOf(t) === c.value || void 0,
|
|
@@ -9412,32 +9345,32 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9412
9345
|
onClick: (e) => y(t),
|
|
9413
9346
|
onPointerenter: (n) => c.value = e.results.indexOf(t)
|
|
9414
9347
|
}, [
|
|
9415
|
-
t.icon ? (L(), S("div",
|
|
9348
|
+
t.icon ? (L(), S("div", Fd, [E(f, {
|
|
9416
9349
|
name: t.icon,
|
|
9417
9350
|
size: 20,
|
|
9418
9351
|
class: "text-on-primary-container"
|
|
9419
9352
|
}, null, 8, ["name"])])) : x("", !0),
|
|
9420
|
-
C("div",
|
|
9353
|
+
C("div", Id, [C("p", Ld, G(t.title), 1), t.description ? (L(), S("p", Rd, G(t.description), 1)) : x("", !0)]),
|
|
9421
9354
|
E(f, {
|
|
9422
9355
|
name: "arrow_forward",
|
|
9423
9356
|
size: 16,
|
|
9424
9357
|
class: "shrink-0 text-on-surface-variant/40"
|
|
9425
9358
|
})
|
|
9426
|
-
], 42,
|
|
9359
|
+
], 42, Pd))), 128))], 64))), 128)) : e.loading ? x("", !0) : (L(), S("div", zd, [E(f, {
|
|
9427
9360
|
name: "search_off",
|
|
9428
9361
|
size: 40,
|
|
9429
9362
|
class: "text-on-surface-variant/40"
|
|
9430
|
-
}), C("p",
|
|
9431
|
-
C("div",
|
|
9432
|
-
C("span",
|
|
9433
|
-
C("span",
|
|
9434
|
-
C("span",
|
|
9363
|
+
}), C("p", Bd, G(e.noResultsText ?? K(n).noResults), 1)]))])) : x("", !0),
|
|
9364
|
+
C("div", Vd, [
|
|
9365
|
+
C("span", Hd, [r[2] ||= C("kbd", { class: "rounded bg-surface-container px-1 py-0.5" }, "↑↓", -1), T(" " + G(e.navigateHint ?? K(n).navigateHint), 1)]),
|
|
9366
|
+
C("span", Ud, [r[3] ||= C("kbd", { class: "rounded bg-surface-container px-1 py-0.5" }, "↵", -1), T(" " + G(e.openHint ?? K(n).openHint), 1)]),
|
|
9367
|
+
C("span", Wd, [r[4] ||= C("kbd", { class: "rounded bg-surface-container px-1 py-0.5" }, "esc", -1), T(" " + G(e.closeHint ?? K(n).closeHint), 1)])
|
|
9435
9368
|
])
|
|
9436
9369
|
])])) : x("", !0)]),
|
|
9437
9370
|
_: 1
|
|
9438
9371
|
})]));
|
|
9439
9372
|
}
|
|
9440
|
-
}), [["__scopeId", "data-v-1fa0da82"]]),
|
|
9373
|
+
}), [["__scopeId", "data-v-1fa0da82"]]), Kd = /* @__PURE__ */ D({
|
|
9441
9374
|
__name: "MStack",
|
|
9442
9375
|
props: {
|
|
9443
9376
|
direction: { default: "column" },
|
|
@@ -9492,19 +9425,19 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9492
9425
|
role: "separator"
|
|
9493
9426
|
}, null, 2)) : x("", !0), (L(), b(W(e)))], 64))), 128)) : H(t.$slots, "default", { key: 1 })], 2));
|
|
9494
9427
|
}
|
|
9495
|
-
}),
|
|
9428
|
+
}), qd = { class: "flex flex-col gap-2 overflow-hidden rounded-lg border border-outline-variant bg-surface-container-lowest p-4" }, Jd = { class: "flex items-start justify-between gap-2" }, Yd = { class: "flex min-w-0 flex-col gap-1" }, Xd = { class: "truncate text-label-large text-on-surface-variant" }, Zd = {
|
|
9496
9429
|
key: 0,
|
|
9497
9430
|
class: "h-8 w-24 animate-pulse rounded-md bg-on-surface/10"
|
|
9498
|
-
},
|
|
9431
|
+
}, Qd = {
|
|
9499
9432
|
key: 1,
|
|
9500
9433
|
class: "truncate text-headline-medium font-medium text-on-surface"
|
|
9501
|
-
},
|
|
9434
|
+
}, $d = {
|
|
9502
9435
|
key: 0,
|
|
9503
9436
|
class: "flex flex-wrap items-center gap-x-2 gap-y-1"
|
|
9504
|
-
},
|
|
9437
|
+
}, ef = {
|
|
9505
9438
|
key: 1,
|
|
9506
9439
|
class: "text-label-medium text-on-surface-variant"
|
|
9507
|
-
},
|
|
9440
|
+
}, tf = /* @__PURE__ */ D({
|
|
9508
9441
|
__name: "MStatCard",
|
|
9509
9442
|
props: {
|
|
9510
9443
|
title: {},
|
|
@@ -9523,13 +9456,13 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9523
9456
|
error: "bg-error-container text-on-error-container",
|
|
9524
9457
|
success: "bg-success-container text-on-success-container"
|
|
9525
9458
|
}, r = v(() => t.trend == null ? "" : t.trend > 0 ? "text-success" : t.trend < 0 ? "text-error" : "text-on-surface-variant"), i = v(() => t.trend == null ? "" : t.trend > 0 ? "trending_up" : t.trend < 0 ? "trending_down" : "trending_flat");
|
|
9526
|
-
return (t, a) => (L(), S("div",
|
|
9459
|
+
return (t, a) => (L(), S("div", qd, [C("div", Jd, [C("div", Yd, [C("span", Xd, G(e.title), 1), e.loading ? (L(), S("div", Zd)) : (L(), S("span", Qd, G(e.value), 1))]), e.icon ? (L(), S("div", {
|
|
9527
9460
|
key: 0,
|
|
9528
9461
|
class: M(["flex h-11 w-11 shrink-0 items-center justify-center rounded-xl", n[e.color]])
|
|
9529
9462
|
}, [E(f, {
|
|
9530
9463
|
name: e.icon,
|
|
9531
9464
|
size: 24
|
|
9532
|
-
}, null, 8, ["name"])], 2)) : x("", !0)]), e.trend != null || e.trendLabel || t.$slots.footer ? (L(), S("div",
|
|
9465
|
+
}, null, 8, ["name"])], 2)) : x("", !0)]), e.trend != null || e.trendLabel || t.$slots.footer ? (L(), S("div", $d, [
|
|
9533
9466
|
e.trend == null ? x("", !0) : (L(), S("span", {
|
|
9534
9467
|
key: 0,
|
|
9535
9468
|
class: M(["inline-flex items-center gap-0.5 text-label-medium font-medium", r.value])
|
|
@@ -9537,35 +9470,35 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9537
9470
|
name: i.value,
|
|
9538
9471
|
size: 16
|
|
9539
9472
|
}, null, 8, ["name"]), T(" " + G(e.trend > 0 ? "+" : "") + G(e.trend) + "% ", 1)], 2)),
|
|
9540
|
-
e.trendLabel ? (L(), S("span",
|
|
9473
|
+
e.trendLabel ? (L(), S("span", ef, G(e.trendLabel), 1)) : x("", !0),
|
|
9541
9474
|
H(t.$slots, "footer")
|
|
9542
9475
|
])) : x("", !0)]));
|
|
9543
9476
|
}
|
|
9544
|
-
}),
|
|
9477
|
+
}), nf = {
|
|
9545
9478
|
key: 0,
|
|
9546
9479
|
class: "flex w-full items-start"
|
|
9547
|
-
},
|
|
9480
|
+
}, rf = ["onClick"], af = { key: 3 }, of = { class: "flex flex-col items-center text-center" }, sf = {
|
|
9548
9481
|
key: 0,
|
|
9549
9482
|
class: "text-body-small text-on-surface-variant"
|
|
9550
|
-
},
|
|
9483
|
+
}, cf = {
|
|
9551
9484
|
key: 1,
|
|
9552
9485
|
class: "text-body-small text-on-surface-variant"
|
|
9553
|
-
},
|
|
9486
|
+
}, lf = {
|
|
9554
9487
|
key: 0,
|
|
9555
9488
|
class: "mt-[18px] flex flex-1 items-center px-2"
|
|
9556
|
-
},
|
|
9489
|
+
}, uf = {
|
|
9557
9490
|
key: 1,
|
|
9558
9491
|
class: "flex flex-col"
|
|
9559
|
-
},
|
|
9492
|
+
}, df = { class: "flex flex-col items-center" }, ff = ["onClick"], pf = { key: 3 }, mf = ["onClick"], hf = {
|
|
9560
9493
|
key: 0,
|
|
9561
9494
|
class: "mt-0.5 text-body-small text-on-surface-variant"
|
|
9562
|
-
},
|
|
9495
|
+
}, gf = {
|
|
9563
9496
|
key: 1,
|
|
9564
9497
|
class: "text-body-small text-on-surface-variant"
|
|
9565
|
-
},
|
|
9498
|
+
}, _f = {
|
|
9566
9499
|
key: 2,
|
|
9567
9500
|
class: "mt-3"
|
|
9568
|
-
},
|
|
9501
|
+
}, vf = /* @__PURE__ */ D({
|
|
9569
9502
|
__name: "MStepper",
|
|
9570
9503
|
props: {
|
|
9571
9504
|
steps: {},
|
|
@@ -9586,7 +9519,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9586
9519
|
function o(e) {
|
|
9587
9520
|
a.value && r("update:modelValue", e);
|
|
9588
9521
|
}
|
|
9589
|
-
return (t, n) => e.direction === "horizontal" ? (L(), S("div",
|
|
9522
|
+
return (t, n) => e.direction === "horizontal" ? (L(), S("div", nf, [(L(!0), S(m, null, V(e.steps, (t, n) => (L(), S(m, { key: n }, [C("div", {
|
|
9590
9523
|
class: M(["flex flex-col items-center gap-2", a.value && i(n) !== "active" ? "cursor-pointer" : ""]),
|
|
9591
9524
|
onClick: (e) => o(n)
|
|
9592
9525
|
}, [C("div", { class: M(["flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-label-large font-medium transition-colors duration-200", {
|
|
@@ -9605,18 +9538,18 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9605
9538
|
key: 2,
|
|
9606
9539
|
name: t.icon,
|
|
9607
9540
|
size: 20
|
|
9608
|
-
}, null, 8, ["name"])) : (L(), S("span",
|
|
9541
|
+
}, null, 8, ["name"])) : (L(), S("span", af, G(n + 1), 1))], 2), C("div", of, [
|
|
9609
9542
|
C("span", { class: M(["text-label-large", {
|
|
9610
9543
|
"font-medium text-on-surface": i(n) === "active" || i(n) === "completed",
|
|
9611
9544
|
"text-error": i(n) === "error",
|
|
9612
9545
|
"text-on-surface-variant": i(n) === "inactive"
|
|
9613
9546
|
}]) }, G(t.label), 3),
|
|
9614
|
-
t.description ? (L(), S("span",
|
|
9615
|
-
t.optional ? (L(), S("span",
|
|
9616
|
-
])], 10,
|
|
9547
|
+
t.description ? (L(), S("span", sf, G(t.description), 1)) : x("", !0),
|
|
9548
|
+
t.optional ? (L(), S("span", cf, " Opcional ")) : x("", !0)
|
|
9549
|
+
])], 10, rf), n < e.steps.length - 1 ? (L(), S("div", lf, [C("div", { class: M(["h-px w-full transition-colors duration-300", n < e.modelValue ? "bg-primary" : "bg-outline-variant"]) }, null, 2)])) : x("", !0)], 64))), 128))])) : (L(), S("div", uf, [(L(!0), S(m, null, V(e.steps, (n, r) => (L(), S("div", {
|
|
9617
9550
|
key: r,
|
|
9618
9551
|
class: "flex gap-4"
|
|
9619
|
-
}, [C("div",
|
|
9552
|
+
}, [C("div", df, [C("div", {
|
|
9620
9553
|
class: M(["flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-label-large font-medium transition-colors duration-200", [{
|
|
9621
9554
|
"bg-primary text-on-primary": i(r) === "active" || i(r) === "completed",
|
|
9622
9555
|
"bg-error text-on-error": i(r) === "error",
|
|
@@ -9635,7 +9568,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9635
9568
|
key: 2,
|
|
9636
9569
|
name: n.icon,
|
|
9637
9570
|
size: 20
|
|
9638
|
-
}, null, 8, ["name"])) : (L(), S("span",
|
|
9571
|
+
}, null, 8, ["name"])) : (L(), S("span", pf, G(r + 1), 1))], 10, ff), r < e.steps.length - 1 ? (L(), S("div", {
|
|
9639
9572
|
key: 0,
|
|
9640
9573
|
class: M(["my-1 w-px flex-1 transition-colors duration-300", r < e.modelValue ? "bg-primary" : "bg-outline-variant"]),
|
|
9641
9574
|
style: { "min-height": "24px" }
|
|
@@ -9648,12 +9581,12 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9648
9581
|
"text-error": i(r) === "error",
|
|
9649
9582
|
"text-on-surface-variant": i(r) === "inactive"
|
|
9650
9583
|
}]) }, G(n.label), 3),
|
|
9651
|
-
n.description ? (L(), S("p",
|
|
9652
|
-
n.optional ? (L(), S("p",
|
|
9653
|
-
i(r) === "active" && t.$slots[`step-${r}`] ? (L(), S("div",
|
|
9654
|
-
], 10,
|
|
9584
|
+
n.description ? (L(), S("p", hf, G(n.description), 1)) : x("", !0),
|
|
9585
|
+
n.optional ? (L(), S("p", gf, " Opcional ")) : x("", !0),
|
|
9586
|
+
i(r) === "active" && t.$slots[`step-${r}`] ? (L(), S("div", _f, [H(t.$slots, `step-${r}`)])) : x("", !0)
|
|
9587
|
+
], 10, mf)]))), 128))]));
|
|
9655
9588
|
}
|
|
9656
|
-
}),
|
|
9589
|
+
}), yf = /* @__PURE__ */ D({
|
|
9657
9590
|
__name: "MSticky",
|
|
9658
9591
|
props: {
|
|
9659
9592
|
top: { default: 0 },
|
|
@@ -9671,7 +9604,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9671
9604
|
}));
|
|
9672
9605
|
return (e, t) => (L(), S("div", { style: N(r.value) }, [H(e.$slots, "default")], 4));
|
|
9673
9606
|
}
|
|
9674
|
-
}),
|
|
9607
|
+
}), bf = /* @__PURE__ */ D({
|
|
9675
9608
|
__name: "MText",
|
|
9676
9609
|
props: {
|
|
9677
9610
|
variant: { default: "body-medium" },
|
|
@@ -9751,7 +9684,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9751
9684
|
_: 3
|
|
9752
9685
|
}, 8, ["class"]));
|
|
9753
9686
|
}
|
|
9754
|
-
}),
|
|
9687
|
+
}), xf = /* @__PURE__ */ D({
|
|
9755
9688
|
__name: "MSubtitle",
|
|
9756
9689
|
props: {
|
|
9757
9690
|
size: { default: "large" },
|
|
@@ -9765,7 +9698,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9765
9698
|
medium: "body-medium",
|
|
9766
9699
|
small: "body-small"
|
|
9767
9700
|
}, r = v(() => n[t.size]);
|
|
9768
|
-
return (t, n) => (L(), b(
|
|
9701
|
+
return (t, n) => (L(), b(bf, {
|
|
9769
9702
|
variant: r.value,
|
|
9770
9703
|
color: e.color,
|
|
9771
9704
|
align: e.align,
|
|
@@ -9780,31 +9713,31 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9780
9713
|
"truncate"
|
|
9781
9714
|
]));
|
|
9782
9715
|
}
|
|
9783
|
-
}),
|
|
9716
|
+
}), Sf = { class: "flex flex-col overflow-hidden rounded-sm border border-outline-variant" }, Cf = {
|
|
9784
9717
|
key: 0,
|
|
9785
9718
|
class: "flex flex-wrap items-center gap-3 border-b border-outline-variant bg-surface-container-lowest px-4 py-2.5"
|
|
9786
|
-
},
|
|
9719
|
+
}, wf = {
|
|
9787
9720
|
key: 0,
|
|
9788
9721
|
class: "flex min-w-48 flex-1 items-center gap-2 rounded-full border border-outline-variant bg-surface-container px-3 py-1.5 focus-within:border-primary focus-within:ring-1 focus-within:ring-primary/30 transition-[border-color,box-shadow] duration-150"
|
|
9789
|
-
},
|
|
9722
|
+
}, Tf = ["placeholder"], Ef = {
|
|
9790
9723
|
key: 0,
|
|
9791
9724
|
class: "rounded-full bg-primary/12 px-3 py-1 text-label-small font-medium text-primary"
|
|
9792
|
-
},
|
|
9725
|
+
}, Df = { class: "overflow-x-auto" }, Of = { class: "w-full border-collapse" }, kf = { class: "bg-surface-container-high" }, Af = {
|
|
9793
9726
|
key: 0,
|
|
9794
9727
|
class: "w-12 px-4 py-3"
|
|
9795
|
-
},
|
|
9728
|
+
}, jf = ["onClick"], Mf = { class: "inline-flex items-center gap-1" }, Nf = {
|
|
9796
9729
|
key: 0,
|
|
9797
9730
|
class: "inline-flex"
|
|
9798
|
-
},
|
|
9731
|
+
}, Pf = {
|
|
9799
9732
|
key: 1,
|
|
9800
9733
|
class: "w-1 px-4 py-3"
|
|
9801
|
-
},
|
|
9734
|
+
}, Ff = {
|
|
9802
9735
|
key: 0,
|
|
9803
9736
|
class: "px-4 py-3.5"
|
|
9804
|
-
},
|
|
9737
|
+
}, If = {
|
|
9805
9738
|
key: 1,
|
|
9806
9739
|
class: "px-4 py-3.5"
|
|
9807
|
-
},
|
|
9740
|
+
}, Lf = { key: 1 }, Rf = ["colspan"], zf = { class: "text-body-medium text-on-surface-variant" }, Bf = ["onClick"], Vf = ["onClick"], Hf = { class: "border-t border-outline-variant bg-surface-container-lowest px-4 py-2" }, Uf = /* @__PURE__ */ D({
|
|
9808
9741
|
__name: "MTable",
|
|
9809
9742
|
props: {
|
|
9810
9743
|
columns: {},
|
|
@@ -9944,9 +9877,9 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9944
9877
|
return `${i[(e * 3 + t) % i.length]}%`;
|
|
9945
9878
|
}
|
|
9946
9879
|
let q = Y(), J = v(() => !!q["row-actions"]);
|
|
9947
|
-
return (t, r) => (L(), S("div",
|
|
9948
|
-
e.searchable || t.$slots.toolbar ? (L(), S("div",
|
|
9949
|
-
e.searchable ? (L(), S("div",
|
|
9880
|
+
return (t, r) => (L(), S("div", Sf, [
|
|
9881
|
+
e.searchable || t.$slots.toolbar ? (L(), S("div", Cf, [
|
|
9882
|
+
e.searchable ? (L(), S("div", wf, [
|
|
9950
9883
|
E(f, {
|
|
9951
9884
|
name: "search",
|
|
9952
9885
|
size: 16,
|
|
@@ -9957,7 +9890,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9957
9890
|
type: "text",
|
|
9958
9891
|
placeholder: e.searchPlaceholder ?? K(n).search,
|
|
9959
9892
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant"
|
|
9960
|
-
}, null, 8,
|
|
9893
|
+
}, null, 8, Tf), [[ee, s.value]]),
|
|
9961
9894
|
s.value ? (L(), S("button", {
|
|
9962
9895
|
key: 0,
|
|
9963
9896
|
class: "text-on-surface-variant transition-colors hover:text-on-surface",
|
|
@@ -9974,12 +9907,12 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9974
9907
|
"leave-active-class": "transition-[opacity,transform] duration-100",
|
|
9975
9908
|
"leave-to-class": "opacity-0 scale-90"
|
|
9976
9909
|
}, {
|
|
9977
|
-
default: Z(() => [e.selectable && O.value.length > 0 ? (L(), S("span",
|
|
9910
|
+
default: Z(() => [e.selectable && O.value.length > 0 ? (L(), S("span", Ef, G(O.value.length) + " " + G(e.selectedText ?? K(n).selectedCount) + G(O.value.length === 1 ? "" : "s"), 1)) : x("", !0)]),
|
|
9978
9911
|
_: 1
|
|
9979
9912
|
})
|
|
9980
9913
|
])) : x("", !0),
|
|
9981
|
-
C("div",
|
|
9982
|
-
e.selectable ? (L(), S("th",
|
|
9914
|
+
C("div", Df, [C("table", Of, [C("thead", null, [C("tr", kf, [
|
|
9915
|
+
e.selectable ? (L(), S("th", Af, [E(zn, {
|
|
9983
9916
|
"model-value": P.value,
|
|
9984
9917
|
indeterminate: I.value,
|
|
9985
9918
|
"onUpdate:modelValue": R
|
|
@@ -9993,7 +9926,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
9993
9926
|
e.sortable ? "cursor-pointer select-none hover:text-on-surface transition-colors duration-100" : ""
|
|
9994
9927
|
]),
|
|
9995
9928
|
onClick: (t) => e.sortable ? u(e.key) : void 0
|
|
9996
|
-
}, [C("span",
|
|
9929
|
+
}, [C("span", Mf, [T(G(e.label) + " ", 1), e.sortable ? (L(), S("span", Nf, [c.value === e.key && l.value === "asc" ? (L(), b(f, {
|
|
9997
9930
|
key: 0,
|
|
9998
9931
|
name: "arrow_upward",
|
|
9999
9932
|
size: 14,
|
|
@@ -10008,13 +9941,13 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10008
9941
|
name: "unfold_more",
|
|
10009
9942
|
size: 14,
|
|
10010
9943
|
class: "opacity-30"
|
|
10011
|
-
}))])) : x("", !0)])], 14,
|
|
10012
|
-
J.value ? (L(), S("th",
|
|
9944
|
+
}))])) : x("", !0)])], 14, jf))), 128)),
|
|
9945
|
+
J.value ? (L(), S("th", Pf)) : x("", !0)
|
|
10013
9946
|
])]), C("tbody", null, [e.loading ? (L(!0), S(m, { key: 0 }, V(e.perPage, (t) => (L(), S("tr", {
|
|
10014
9947
|
key: `sk-${t}`,
|
|
10015
9948
|
class: "border-t border-outline-variant"
|
|
10016
9949
|
}, [
|
|
10017
|
-
e.selectable ? (L(), S("td",
|
|
9950
|
+
e.selectable ? (L(), S("td", Ff, [...r[4] ||= [C("div", { class: "h-4 w-4 animate-pulse rounded bg-on-surface/10" }, null, -1)]])) : x("", !0),
|
|
10018
9951
|
(L(!0), S(m, null, V(e.columns, (e, n) => (L(), S("td", {
|
|
10019
9952
|
key: e.key,
|
|
10020
9953
|
class: "px-4 py-3.5"
|
|
@@ -10022,15 +9955,15 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10022
9955
|
class: "h-4 animate-pulse rounded-full bg-on-surface/10",
|
|
10023
9956
|
style: N({ width: W(t, n) })
|
|
10024
9957
|
}, null, 4)]))), 128)),
|
|
10025
|
-
J.value ? (L(), S("td",
|
|
10026
|
-
]))), 128)) : y.value.length === 0 ? (L(), S("tr",
|
|
9958
|
+
J.value ? (L(), S("td", If, [...r[5] ||= [C("div", { class: "ml-auto h-4 w-16 animate-pulse rounded-full bg-on-surface/10" }, null, -1)]])) : x("", !0)
|
|
9959
|
+
]))), 128)) : y.value.length === 0 ? (L(), S("tr", Lf, [C("td", {
|
|
10027
9960
|
colspan: e.columns.length + z.value,
|
|
10028
9961
|
class: "border-t border-outline-variant px-4 py-14 text-center"
|
|
10029
9962
|
}, [H(t.$slots, "empty", {}, () => [E(f, {
|
|
10030
9963
|
name: "search_off",
|
|
10031
9964
|
size: 36,
|
|
10032
9965
|
class: "mb-2 text-on-surface-variant opacity-30"
|
|
10033
|
-
}), C("p",
|
|
9966
|
+
}), C("p", zf, G(e.emptyText ?? K(n).noResults), 1)])], 8, Rf)])) : (L(!0), S(m, { key: 2 }, V(y.value, (n) => (L(), S("tr", {
|
|
10034
9967
|
key: k(n),
|
|
10035
9968
|
class: M([
|
|
10036
9969
|
"border-t border-outline-variant transition-colors duration-100",
|
|
@@ -10047,7 +9980,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10047
9980
|
}, [E(zn, {
|
|
10048
9981
|
"model-value": A(n),
|
|
10049
9982
|
"onUpdate:modelValue": (e) => j(n)
|
|
10050
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"])], 8,
|
|
9983
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])], 8, Vf)) : x("", !0),
|
|
10051
9984
|
(L(!0), S(m, null, V(e.columns, (e) => (L(), S("td", {
|
|
10052
9985
|
key: e.key,
|
|
10053
9986
|
class: M(["px-4 py-3 text-body-medium text-on-surface", U(e.align)])
|
|
@@ -10061,8 +9994,8 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10061
9994
|
class: "px-4 py-3 text-right",
|
|
10062
9995
|
onClick: r[2] ||= Q(() => {}, ["stop"])
|
|
10063
9996
|
}, [H(t.$slots, "row-actions", { row: n })])) : x("", !0)
|
|
10064
|
-
], 10,
|
|
10065
|
-
C("div",
|
|
9997
|
+
], 10, Bf))), 128))])])]),
|
|
9998
|
+
C("div", Hf, [E(jr, {
|
|
10066
9999
|
page: p.value,
|
|
10067
10000
|
"per-page": e.perPage,
|
|
10068
10001
|
total: _.value,
|
|
@@ -10074,21 +10007,21 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10074
10007
|
])])
|
|
10075
10008
|
]));
|
|
10076
10009
|
}
|
|
10077
|
-
}),
|
|
10010
|
+
}), Wf = { class: "flex flex-col gap-1" }, Gf = ["id"], Kf = ["onClick"], qf = [
|
|
10078
10011
|
"value",
|
|
10079
10012
|
"placeholder",
|
|
10080
10013
|
"disabled",
|
|
10081
10014
|
"readonly"
|
|
10082
|
-
],
|
|
10015
|
+
], Jf = {
|
|
10083
10016
|
key: 0,
|
|
10084
10017
|
class: "text-error"
|
|
10085
|
-
},
|
|
10018
|
+
}, Yf = {
|
|
10086
10019
|
key: 0,
|
|
10087
10020
|
class: "px-4 text-body-small text-error"
|
|
10088
|
-
},
|
|
10021
|
+
}, Xf = {
|
|
10089
10022
|
key: 1,
|
|
10090
10023
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
10091
|
-
},
|
|
10024
|
+
}, Zf = /* @__PURE__ */ D({
|
|
10092
10025
|
__name: "MTagInput",
|
|
10093
10026
|
props: {
|
|
10094
10027
|
modelValue: { default: () => [] },
|
|
@@ -10099,7 +10032,8 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10099
10032
|
type: Boolean,
|
|
10100
10033
|
default: !1
|
|
10101
10034
|
},
|
|
10102
|
-
error: {},
|
|
10035
|
+
error: { type: Boolean },
|
|
10036
|
+
errorLabel: {},
|
|
10103
10037
|
hint: {},
|
|
10104
10038
|
required: {
|
|
10105
10039
|
type: Boolean,
|
|
@@ -10182,7 +10116,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10182
10116
|
o.value ? r.error ? "text-error" : "text-primary" : r.error ? "text-error" : "text-on-surface-variant"
|
|
10183
10117
|
].join(" ");
|
|
10184
10118
|
});
|
|
10185
|
-
return (t, n) => (L(), S("div",
|
|
10119
|
+
return (t, n) => (L(), S("div", Wf, [C("div", {
|
|
10186
10120
|
ref_key: "fieldEl",
|
|
10187
10121
|
ref: c,
|
|
10188
10122
|
class: M(["relative", e.variant === "outlined" ? "mt-2" : ""]),
|
|
@@ -10210,7 +10144,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10210
10144
|
}, [E(f, {
|
|
10211
10145
|
name: "close",
|
|
10212
10146
|
size: 12
|
|
10213
|
-
})], 8,
|
|
10147
|
+
})], 8, Kf))]))), 128)), C("input", {
|
|
10214
10148
|
ref_key: "inputEl",
|
|
10215
10149
|
ref: u,
|
|
10216
10150
|
value: s.value,
|
|
@@ -10226,8 +10160,8 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10226
10160
|
onPaste: O,
|
|
10227
10161
|
onFocus: n[0] ||= (e) => o.value = !0,
|
|
10228
10162
|
onBlur: k
|
|
10229
|
-
}, null, 40,
|
|
10230
|
-
C("label", { class: M(P.value) }, [T(G(e.label), 1), e.required ? (L(), S("span",
|
|
10163
|
+
}, null, 40, qf)], 10, Gf),
|
|
10164
|
+
C("label", { class: M(P.value) }, [T(G(e.label), 1), e.required ? (L(), S("span", Jf, "\xA0*")) : x("", !0)], 2),
|
|
10231
10165
|
e.clearable && g.value && !e.disabled ? (L(), S("button", {
|
|
10232
10166
|
key: 1,
|
|
10233
10167
|
type: "button",
|
|
@@ -10239,21 +10173,21 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10239
10173
|
name: "close",
|
|
10240
10174
|
size: 18
|
|
10241
10175
|
})])) : x("", !0)
|
|
10242
|
-
], 6), e.error ? (L(), S("p",
|
|
10176
|
+
], 6), e.error && e.errorLabel ? (L(), S("p", Yf, G(e.errorLabel), 1)) : e.hint ? (L(), S("p", Xf, G(e.hint), 1)) : x("", !0)]));
|
|
10243
10177
|
}
|
|
10244
|
-
}),
|
|
10178
|
+
}), Qf = {
|
|
10245
10179
|
key: 0,
|
|
10246
10180
|
class: "border-b border-outline-variant"
|
|
10247
|
-
},
|
|
10181
|
+
}, $f = {
|
|
10248
10182
|
class: "relative flex overflow-x-auto",
|
|
10249
10183
|
style: { "scrollbar-width": "none" }
|
|
10250
|
-
},
|
|
10184
|
+
}, ep = ["disabled", "onClick"], tp = {
|
|
10251
10185
|
key: 1,
|
|
10252
10186
|
class: "border-b border-outline-variant"
|
|
10253
|
-
},
|
|
10187
|
+
}, np = {
|
|
10254
10188
|
class: "relative flex overflow-x-auto",
|
|
10255
10189
|
style: { "scrollbar-width": "none" }
|
|
10256
|
-
},
|
|
10190
|
+
}, rp = ["disabled", "onClick"], ip = /* @__PURE__ */ D({
|
|
10257
10191
|
__name: "MTabs",
|
|
10258
10192
|
props: {
|
|
10259
10193
|
modelValue: {},
|
|
@@ -10288,7 +10222,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10288
10222
|
function d(e) {
|
|
10289
10223
|
e.disabled || r("update:modelValue", e.value);
|
|
10290
10224
|
}
|
|
10291
|
-
return (t, n) => e.variant === "primary" ? (L(), S("div",
|
|
10225
|
+
return (t, n) => e.variant === "primary" ? (L(), S("div", Qf, [C("div", $f, [(L(!0), S(m, null, V(e.tabs, (t) => (L(), S("button", {
|
|
10292
10226
|
key: t.value,
|
|
10293
10227
|
ref_for: !0,
|
|
10294
10228
|
ref: (n) => {
|
|
@@ -10302,14 +10236,14 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10302
10236
|
key: 0,
|
|
10303
10237
|
name: t.icon,
|
|
10304
10238
|
size: 20
|
|
10305
|
-
}, null, 8, ["name"])) : x("", !0), C("span", null, G(t.label), 1)], 10,
|
|
10239
|
+
}, null, 8, ["name"])) : x("", !0), C("span", null, G(t.label), 1)], 10, ep))), 128)), C("div", {
|
|
10306
10240
|
class: "absolute bottom-0 h-[3px] rounded-t-full bg-primary",
|
|
10307
10241
|
style: N({
|
|
10308
10242
|
left: `${a.value}px`,
|
|
10309
10243
|
width: `${o.value}px`,
|
|
10310
|
-
transition: s.value ? "left 150ms cubic-bezier(0.4, 0, 0.2, 1), width 150ms cubic-bezier(0.4, 0, 0.2, 1)" : "left
|
|
10244
|
+
transition: s.value ? "left 150ms cubic-bezier(0.4, 0, 0.2, 1), width 150ms cubic-bezier(0.4, 0, 0.2, 1)" : "left 180ms cubic-bezier(0.34, 1.4, 0.64, 1), width 180ms cubic-bezier(0.34, 1.4, 0.64, 1)"
|
|
10311
10245
|
})
|
|
10312
|
-
}, null, 4)])])) : (L(), S("div",
|
|
10246
|
+
}, null, 4)])])) : (L(), S("div", tp, [C("div", np, [(L(!0), S(m, null, V(e.tabs, (t) => (L(), S("button", {
|
|
10313
10247
|
key: t.value,
|
|
10314
10248
|
ref_for: !0,
|
|
10315
10249
|
ref: (n) => {
|
|
@@ -10323,7 +10257,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10323
10257
|
key: 0,
|
|
10324
10258
|
name: t.icon,
|
|
10325
10259
|
size: 18
|
|
10326
|
-
}, null, 8, ["name"])) : x("", !0), T(" " + G(t.label), 1)], 10,
|
|
10260
|
+
}, null, 8, ["name"])) : x("", !0), T(" " + G(t.label), 1)], 10, rp))), 128)), C("div", {
|
|
10327
10261
|
class: "absolute bottom-0 h-[2px] bg-primary transition-[left,width] duration-200 ease-[cubic-bezier(0.2,0,0,1)]",
|
|
10328
10262
|
style: N({
|
|
10329
10263
|
left: `${a.value}px`,
|
|
@@ -10331,25 +10265,25 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10331
10265
|
})
|
|
10332
10266
|
}, null, 4)])]));
|
|
10333
10267
|
}
|
|
10334
|
-
}),
|
|
10268
|
+
}), ap = { class: "flex flex-col items-center" }, op = { class: "flex items-baseline justify-between gap-2" }, sp = { class: "text-body-large font-medium text-on-surface" }, cp = {
|
|
10335
10269
|
key: 0,
|
|
10336
10270
|
class: "shrink-0 text-label-small text-on-surface-variant"
|
|
10337
|
-
},
|
|
10271
|
+
}, lp = {
|
|
10338
10272
|
key: 0,
|
|
10339
10273
|
class: "mt-1 text-body-medium text-on-surface-variant"
|
|
10340
|
-
},
|
|
10274
|
+
}, up = {
|
|
10341
10275
|
key: 1,
|
|
10342
10276
|
class: "mt-2"
|
|
10343
|
-
},
|
|
10277
|
+
}, dp = { class: "text-body-large font-medium text-on-surface" }, fp = {
|
|
10344
10278
|
key: 0,
|
|
10345
10279
|
class: "mt-1 text-body-medium text-on-surface-variant"
|
|
10346
|
-
},
|
|
10280
|
+
}, pp = {
|
|
10347
10281
|
key: 1,
|
|
10348
10282
|
class: "mt-1 inline-block text-label-small text-on-surface-variant"
|
|
10349
|
-
},
|
|
10283
|
+
}, mp = { class: "flex w-14 shrink-0 flex-col items-center" }, hp = {
|
|
10350
10284
|
key: 0,
|
|
10351
10285
|
class: "w-[2px] flex-1 bg-outline-variant"
|
|
10352
|
-
},
|
|
10286
|
+
}, gp = /* @__PURE__ */ D({
|
|
10353
10287
|
__name: "MTimeline",
|
|
10354
10288
|
props: {
|
|
10355
10289
|
items: {},
|
|
@@ -10375,23 +10309,23 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10375
10309
|
class: M(["flex items-stretch", i % 2 == 0 ? "flex-row" : "flex-row-reverse"])
|
|
10376
10310
|
}, [
|
|
10377
10311
|
C("div", { class: M(["flex-1", [i % 2 == 0 ? "text-right" : "text-left", e.dense ? "pb-4" : "pb-8"]]) }, [
|
|
10378
|
-
C("p",
|
|
10379
|
-
n.description ? (L(), S("p",
|
|
10380
|
-
n.date ? (L(), S("span",
|
|
10312
|
+
C("p", dp, G(n.title), 1),
|
|
10313
|
+
n.description ? (L(), S("p", fp, G(n.description), 1)) : x("", !0),
|
|
10314
|
+
n.date ? (L(), S("span", pp, G(n.date), 1)) : x("", !0)
|
|
10381
10315
|
], 2),
|
|
10382
|
-
C("div",
|
|
10316
|
+
C("div", mp, [C("div", {
|
|
10383
10317
|
class: M(["z-1 flex shrink-0 items-center justify-center rounded-full", [n.icon ? "h-9 w-9" : "h-3.5 w-3.5", t[n.color ?? "primary"]]]),
|
|
10384
10318
|
style: N(n.dotColor ? { backgroundColor: n.dotColor } : void 0)
|
|
10385
10319
|
}, [n.icon ? (L(), b(f, {
|
|
10386
10320
|
key: 0,
|
|
10387
10321
|
name: n.icon,
|
|
10388
10322
|
size: 18
|
|
10389
|
-
}, null, 8, ["name"])) : x("", !0)], 6), i < e.items.length - 1 ? (L(), S("div",
|
|
10323
|
+
}, null, 8, ["name"])) : x("", !0)], 6), i < e.items.length - 1 ? (L(), S("div", hp)) : x("", !0)]),
|
|
10390
10324
|
r[0] ||= C("div", { class: "flex-1" }, null, -1)
|
|
10391
10325
|
], 2))), 128)) : (L(!0), S(m, { key: 0 }, V(e.items, (r, i) => (L(), S("div", {
|
|
10392
10326
|
key: i,
|
|
10393
10327
|
class: M(["relative flex gap-4", e.dense ? "pb-4" : "pb-8"])
|
|
10394
|
-
}, [C("div",
|
|
10328
|
+
}, [C("div", ap, [C("div", {
|
|
10395
10329
|
class: M(["z-1 flex shrink-0 items-center justify-center rounded-full", [r.icon ? "h-9 w-9" : "h-3 w-3", t[r.color ?? "primary"]]]),
|
|
10396
10330
|
style: N(r.dotColor ? { backgroundColor: r.dotColor } : void 0)
|
|
10397
10331
|
}, [r.icon ? (L(), b(f, {
|
|
@@ -10403,37 +10337,38 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10403
10337
|
class: M(["w-[2px] flex-1", t[r.color ?? "primary"].split(" ")[0] + "/30"]),
|
|
10404
10338
|
style: { "min-height": "16px" }
|
|
10405
10339
|
}, null, 2)) : x("", !0)]), C("div", { class: M([r.icon ? "" : "pt-0", "-mt-0.5 flex-1"]) }, [
|
|
10406
|
-
C("div",
|
|
10407
|
-
r.description ? (L(), S("p",
|
|
10408
|
-
n.$slots[`item-${i}`] ? (L(), S("div",
|
|
10340
|
+
C("div", op, [C("p", sp, G(r.title), 1), r.date ? (L(), S("span", cp, G(r.date), 1)) : x("", !0)]),
|
|
10341
|
+
r.description ? (L(), S("p", lp, G(r.description), 1)) : x("", !0),
|
|
10342
|
+
n.$slots[`item-${i}`] ? (L(), S("div", up, [H(n.$slots, `item-${i}`, { item: r })])) : x("", !0)
|
|
10409
10343
|
], 2)], 2))), 128))], 2));
|
|
10410
10344
|
}
|
|
10411
|
-
}),
|
|
10345
|
+
}), _p = { class: "flex flex-col gap-1" }, vp = {
|
|
10412
10346
|
key: 0,
|
|
10413
10347
|
class: "flex-1 font-mono text-on-surface"
|
|
10414
|
-
},
|
|
10348
|
+
}, yp = {
|
|
10415
10349
|
key: 1,
|
|
10416
10350
|
class: "flex-1 text-on-surface-variant"
|
|
10417
|
-
},
|
|
10351
|
+
}, bp = {
|
|
10418
10352
|
key: 0,
|
|
10419
10353
|
class: "px-4 text-body-small text-error"
|
|
10420
|
-
},
|
|
10354
|
+
}, xp = {
|
|
10421
10355
|
key: 1,
|
|
10422
10356
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
10423
|
-
},
|
|
10357
|
+
}, Sp = { class: "flex items-center justify-center gap-1 border-b border-outline-variant px-4 py-4" }, Cp = { class: "p-3" }, wp = {
|
|
10424
10358
|
key: 0,
|
|
10425
10359
|
class: "grid grid-cols-6 gap-1"
|
|
10426
|
-
},
|
|
10360
|
+
}, Tp = ["onClick"], Ep = {
|
|
10427
10361
|
key: 1,
|
|
10428
10362
|
class: "grid grid-cols-6 gap-1"
|
|
10429
|
-
},
|
|
10363
|
+
}, Dp = ["onClick"], Op = /* @__PURE__ */ D({
|
|
10430
10364
|
__name: "MTimePicker",
|
|
10431
10365
|
props: {
|
|
10432
10366
|
modelValue: {},
|
|
10433
10367
|
label: {},
|
|
10434
10368
|
placeholder: {},
|
|
10435
10369
|
disabled: { type: Boolean },
|
|
10436
|
-
error: {},
|
|
10370
|
+
error: { type: Boolean },
|
|
10371
|
+
errorLabel: {},
|
|
10437
10372
|
hint: {},
|
|
10438
10373
|
minuteStep: { default: 5 },
|
|
10439
10374
|
use24h: {
|
|
@@ -10498,7 +10433,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10498
10433
|
e ? (u.value = "hour", y.value = _.value.h, w.value = _.value.m, R(), setTimeout(() => document.addEventListener("mousedown", z), 0)) : document.removeEventListener("mousedown", z);
|
|
10499
10434
|
}), F(() => window.addEventListener("scroll", H, !0)), I(() => {
|
|
10500
10435
|
window.removeEventListener("scroll", H, !0), document.removeEventListener("mousedown", z);
|
|
10501
|
-
}), (t, n) => (L(), S("div",
|
|
10436
|
+
}), (t, n) => (L(), S("div", _p, [
|
|
10502
10437
|
C("div", {
|
|
10503
10438
|
ref_key: "triggerEl",
|
|
10504
10439
|
ref: c,
|
|
@@ -10514,7 +10449,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10514
10449
|
size: 20,
|
|
10515
10450
|
class: "shrink-0 text-on-surface-variant"
|
|
10516
10451
|
}),
|
|
10517
|
-
P.value ? (L(), S("span",
|
|
10452
|
+
P.value ? (L(), S("span", vp, G(P.value), 1)) : (L(), S("span", yp, G(e.label || e.placeholder || K(a).selectTime), 1)),
|
|
10518
10453
|
e.modelValue ? (L(), b(f, {
|
|
10519
10454
|
key: 2,
|
|
10520
10455
|
name: "close",
|
|
@@ -10526,7 +10461,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10526
10461
|
key: 0,
|
|
10527
10462
|
class: M(["pointer-events-none absolute -top-2.5 left-3 bg-(--field-bg) px-1 text-label-small transition-colors", s.value ? e.error ? "text-error" : "text-primary" : e.error ? "text-error" : "text-on-surface-variant"])
|
|
10528
10463
|
}, G(e.label), 3)) : x("", !0)], 4),
|
|
10529
|
-
e.error ? (L(), S("p",
|
|
10464
|
+
e.error && e.errorLabel ? (L(), S("p", bp, G(e.errorLabel), 1)) : e.hint ? (L(), S("p", xp, G(e.hint), 1)) : x("", !0),
|
|
10530
10465
|
(L(), b(h, { to: "body" }, [E(g, {
|
|
10531
10466
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
10532
10467
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
@@ -10539,7 +10474,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10539
10474
|
ref: l,
|
|
10540
10475
|
class: "fixed z-500 w-[280px] rounded-lg bg-surface-container shadow-elevation-3",
|
|
10541
10476
|
style: N(d.value)
|
|
10542
|
-
}, [C("div",
|
|
10477
|
+
}, [C("div", Sp, [
|
|
10543
10478
|
C("button", {
|
|
10544
10479
|
type: "button",
|
|
10545
10480
|
class: M(["rounded-lg px-3 py-2 font-mono text-headline-medium transition-colors", u.value === "hour" ? "bg-primary-container text-on-primary-container cursor-default" : "cursor-pointer text-on-surface-variant hover:bg-on-surface/8"]),
|
|
@@ -10551,34 +10486,34 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10551
10486
|
class: M(["rounded-lg px-3 py-2 font-mono text-headline-medium transition-colors", u.value === "minute" ? "bg-primary-container text-on-primary-container cursor-default" : "cursor-pointer text-on-surface-variant hover:bg-on-surface/8"]),
|
|
10552
10487
|
onClick: n[2] ||= (e) => u.value = "minute"
|
|
10553
10488
|
}, G(O(w.value)), 3)
|
|
10554
|
-
]), C("div",
|
|
10489
|
+
]), C("div", Cp, [u.value === "hour" ? (L(), S("div", wp, [(L(!0), S(m, null, V(K(T), (e) => (L(), S("button", {
|
|
10555
10490
|
key: e,
|
|
10556
10491
|
type: "button",
|
|
10557
10492
|
class: M(["flex h-9 cursor-pointer items-center justify-center rounded-full text-body-medium transition-colors duration-100", e === y.value ? "bg-primary text-on-primary" : "text-on-surface hover:bg-on-surface/8"]),
|
|
10558
10493
|
onClick: (t) => k(e)
|
|
10559
|
-
}, G(O(e)), 11,
|
|
10494
|
+
}, G(O(e)), 11, Tp))), 128))])) : (L(), S("div", Ep, [(L(!0), S(m, null, V(D.value, (e) => (L(), S("button", {
|
|
10560
10495
|
key: e,
|
|
10561
10496
|
type: "button",
|
|
10562
10497
|
class: M(["flex h-9 cursor-pointer items-center justify-center rounded-full text-body-medium transition-colors duration-100", e === w.value ? "bg-primary text-on-primary" : "text-on-surface hover:bg-on-surface/8"]),
|
|
10563
10498
|
onClick: (t) => A(e)
|
|
10564
|
-
}, G(O(e)), 11,
|
|
10499
|
+
}, G(O(e)), 11, Dp))), 128))]))])], 4)) : x("", !0)]),
|
|
10565
10500
|
_: 1
|
|
10566
10501
|
})]))
|
|
10567
10502
|
]));
|
|
10568
10503
|
}
|
|
10569
|
-
}),
|
|
10504
|
+
}), kp = { class: "tp-box w-[328px] rounded-[28px] bg-surface-container-high px-6 pt-6 pb-4 shadow-elevation-3" }, Ap = { class: "mb-5 text-label-medium text-on-surface-variant" }, jp = { class: "mb-5 flex items-center justify-center gap-2" }, Mp = {
|
|
10570
10505
|
key: 0,
|
|
10571
10506
|
class: "ml-2 flex h-[72px] flex-col overflow-hidden rounded-lg border border-outline"
|
|
10572
|
-
},
|
|
10507
|
+
}, Np = {
|
|
10573
10508
|
class: "pointer-events-none absolute inset-0",
|
|
10574
10509
|
viewBox: "0 0 256 256"
|
|
10575
|
-
},
|
|
10510
|
+
}, Pp = ["x2", "y2"], Fp = ["cx", "cy"], Ip = ["onClick"], Lp = ["onClick"], Rp = {
|
|
10576
10511
|
key: 1,
|
|
10577
10512
|
class: "mx-auto flex items-center justify-center gap-2 py-8"
|
|
10578
|
-
},
|
|
10513
|
+
}, zp = {
|
|
10579
10514
|
key: 0,
|
|
10580
10515
|
class: "ml-2 flex h-[72px] flex-col overflow-hidden rounded-lg border border-outline"
|
|
10581
|
-
},
|
|
10516
|
+
}, Bp = { class: "mt-2 flex items-center justify-between" }, Vp = { class: "flex gap-2" }, Hp = 256, Up = 100, Wp = 64, Gp = 20, Kp = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
10582
10517
|
__name: "MTimePickerModal",
|
|
10583
10518
|
props: {
|
|
10584
10519
|
modelValue: { default: null },
|
|
@@ -10616,7 +10551,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10616
10551
|
i.use24h ? d.value = e : (u.value = e >= 12 ? "PM" : "AM", d.value = e % 12 || 12), f.value = t, c.value = "hour", l.value = "dial", document.addEventListener("keydown", te), document.body.style.overflow = "hidden";
|
|
10617
10552
|
} else document.removeEventListener("keydown", te), document.body.style.overflow = "";
|
|
10618
10553
|
});
|
|
10619
|
-
let O =
|
|
10554
|
+
let O = Hp / 2;
|
|
10620
10555
|
function k(e, t, n) {
|
|
10621
10556
|
let r = e / t * Math.PI * 2 - Math.PI / 2;
|
|
10622
10557
|
return {
|
|
@@ -10627,7 +10562,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10627
10562
|
let A = v(() => {
|
|
10628
10563
|
let e = [];
|
|
10629
10564
|
for (let t = 0; t < 12; t++) {
|
|
10630
|
-
let n = t === 0 ? 12 : t, r = k(t, 12,
|
|
10565
|
+
let n = t === 0 ? 12 : t, r = k(t, 12, Up);
|
|
10631
10566
|
e.push({
|
|
10632
10567
|
value: n,
|
|
10633
10568
|
label: String(n),
|
|
@@ -10635,7 +10570,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10635
10570
|
});
|
|
10636
10571
|
}
|
|
10637
10572
|
if (i.use24h) for (let t = 0; t < 12; t++) {
|
|
10638
|
-
let n = t === 0 ? 0 : t + 12, r = k(t, 12,
|
|
10573
|
+
let n = t === 0 ? 0 : t + 12, r = k(t, 12, Wp);
|
|
10639
10574
|
e.push({
|
|
10640
10575
|
value: n,
|
|
10641
10576
|
label: w(n),
|
|
@@ -10644,7 +10579,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10644
10579
|
}
|
|
10645
10580
|
return e;
|
|
10646
10581
|
}), j = v(() => Array.from({ length: 12 }, (e, t) => {
|
|
10647
|
-
let n = t * 5, r = k(t, 12,
|
|
10582
|
+
let n = t * 5, r = k(t, 12, Up);
|
|
10648
10583
|
return {
|
|
10649
10584
|
value: n,
|
|
10650
10585
|
label: w(n),
|
|
@@ -10652,7 +10587,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10652
10587
|
};
|
|
10653
10588
|
})), P = v(() => {
|
|
10654
10589
|
if (c.value === "hour") {
|
|
10655
|
-
let e = d.value, t = i.use24h && (e === 0 || e > 12) ?
|
|
10590
|
+
let e = d.value, t = i.use24h && (e === 0 || e > 12) ? Wp : Up, n = e % 12 / 12 * Math.PI * 2 - Math.PI / 2;
|
|
10656
10591
|
return {
|
|
10657
10592
|
x: O + Math.cos(n) * t,
|
|
10658
10593
|
y: O + Math.sin(n) * t
|
|
@@ -10660,8 +10595,8 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10660
10595
|
}
|
|
10661
10596
|
let e = f.value / 60 * Math.PI * 2 - Math.PI / 2;
|
|
10662
10597
|
return {
|
|
10663
|
-
x: O + Math.cos(e) *
|
|
10664
|
-
y: O + Math.sin(e) *
|
|
10598
|
+
x: O + Math.cos(e) * Up,
|
|
10599
|
+
y: O + Math.sin(e) * Up
|
|
10665
10600
|
};
|
|
10666
10601
|
});
|
|
10667
10602
|
function F(e) {
|
|
@@ -10739,9 +10674,9 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10739
10674
|
key: 0,
|
|
10740
10675
|
class: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",
|
|
10741
10676
|
onClick: Q(J, ["self"])
|
|
10742
|
-
}, [C("div",
|
|
10743
|
-
C("p",
|
|
10744
|
-
l.value === "dial" ? (L(), S(m, { key: 0 }, [C("div",
|
|
10677
|
+
}, [C("div", kp, [
|
|
10678
|
+
C("p", Ap, G(t.title || K(a).selectTime), 1),
|
|
10679
|
+
l.value === "dial" ? (L(), S(m, { key: 0 }, [C("div", jp, [
|
|
10745
10680
|
C("button", {
|
|
10746
10681
|
type: "button",
|
|
10747
10682
|
class: M(["flex h-[72px] min-w-[96px] items-center justify-center rounded-lg text-display-medium transition-colors", c.value === "hour" ? "bg-primary-container text-on-primary-container" : "bg-surface-container-highest text-on-surface cursor-pointer hover:bg-on-surface/8"]),
|
|
@@ -10753,7 +10688,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10753
10688
|
class: M(["flex h-[72px] min-w-[96px] items-center justify-center rounded-lg text-display-medium transition-colors", c.value === "minute" ? "bg-primary-container text-on-primary-container" : "bg-surface-container-highest text-on-surface cursor-pointer hover:bg-on-surface/8"]),
|
|
10754
10689
|
onClick: r[1] ||= (e) => c.value = "minute"
|
|
10755
10690
|
}, G(w(f.value)), 3),
|
|
10756
|
-
t.use24h ? x("", !0) : (L(), S("div",
|
|
10691
|
+
t.use24h ? x("", !0) : (L(), S("div", Mp, [
|
|
10757
10692
|
C("button", {
|
|
10758
10693
|
type: "button",
|
|
10759
10694
|
class: M(["flex flex-1 items-center justify-center px-3 text-label-large transition-colors", u.value === "AM" ? "bg-tertiary-container text-on-tertiary-container" : "text-on-surface-variant hover:bg-on-surface/8"]),
|
|
@@ -10774,7 +10709,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10774
10709
|
onTouchstart: Q(z, ["prevent"])
|
|
10775
10710
|
}, [
|
|
10776
10711
|
r[11] ||= C("div", { class: "absolute inset-0 rounded-full bg-surface-container-highest" }, null, -1),
|
|
10777
|
-
(L(), S("svg",
|
|
10712
|
+
(L(), S("svg", Np, [
|
|
10778
10713
|
C("line", {
|
|
10779
10714
|
x1: O,
|
|
10780
10715
|
y1: O,
|
|
@@ -10782,7 +10717,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10782
10717
|
y2: P.value.y,
|
|
10783
10718
|
stroke: "var(--color-primary)",
|
|
10784
10719
|
"stroke-width": "2"
|
|
10785
|
-
}, null, 8,
|
|
10720
|
+
}, null, 8, Pp),
|
|
10786
10721
|
C("circle", {
|
|
10787
10722
|
cx: O,
|
|
10788
10723
|
cy: O,
|
|
@@ -10792,9 +10727,9 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10792
10727
|
C("circle", {
|
|
10793
10728
|
cx: P.value.x,
|
|
10794
10729
|
cy: P.value.y,
|
|
10795
|
-
r:
|
|
10730
|
+
r: Gp,
|
|
10796
10731
|
fill: "var(--color-primary)"
|
|
10797
|
-
}, null, 8,
|
|
10732
|
+
}, null, 8, Fp)
|
|
10798
10733
|
])),
|
|
10799
10734
|
c.value === "hour" ? (L(!0), S(m, { key: 0 }, V(A.value, (e) => (L(), S("button", {
|
|
10800
10735
|
key: "h" + e.value,
|
|
@@ -10806,7 +10741,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10806
10741
|
transform: "translate(-50%, -50%)"
|
|
10807
10742
|
}),
|
|
10808
10743
|
onClick: Q((t) => H(e.value), ["stop"])
|
|
10809
|
-
}, G(e.label), 15,
|
|
10744
|
+
}, G(e.label), 15, Ip))), 128)) : (L(!0), S(m, { key: 1 }, V(j.value, (e) => (L(), S("button", {
|
|
10810
10745
|
key: "m" + e.value,
|
|
10811
10746
|
type: "button",
|
|
10812
10747
|
class: M(["pointer-events-auto absolute flex h-10 w-10 items-center justify-center rounded-full text-body-medium transition-colors", e.value === f.value ? "text-on-primary font-medium" : "text-on-surface cursor-pointer"]),
|
|
@@ -10816,8 +10751,8 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10816
10751
|
transform: "translate(-50%, -50%)"
|
|
10817
10752
|
}),
|
|
10818
10753
|
onClick: Q((t) => f.value = e.value, ["stop"])
|
|
10819
|
-
}, G(e.label), 15,
|
|
10820
|
-
], 544)], 64)) : (L(), S("div",
|
|
10754
|
+
}, G(e.label), 15, Lp))), 128))
|
|
10755
|
+
], 544)], 64)) : (L(), S("div", Rp, [
|
|
10821
10756
|
re(C("input", {
|
|
10822
10757
|
ref_key: "inputHourEl",
|
|
10823
10758
|
ref: _,
|
|
@@ -10837,7 +10772,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10837
10772
|
class: "h-[72px] w-[96px] rounded-lg border border-outline bg-surface-container-highest text-center text-display-medium text-on-surface outline-none transition-colors focus:border-2 focus:border-primary",
|
|
10838
10773
|
onBlur: q
|
|
10839
10774
|
}, null, 544), [[ee, W.value]]),
|
|
10840
|
-
t.use24h ? x("", !0) : (L(), S("div",
|
|
10775
|
+
t.use24h ? x("", !0) : (L(), S("div", zp, [
|
|
10841
10776
|
C("button", {
|
|
10842
10777
|
type: "button",
|
|
10843
10778
|
class: M(["flex flex-1 items-center justify-center px-3 text-label-large transition-colors", u.value === "AM" ? "bg-tertiary-container text-on-tertiary-container" : "text-on-surface-variant hover:bg-on-surface/8"]),
|
|
@@ -10851,11 +10786,11 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10851
10786
|
}, "PM", 2)
|
|
10852
10787
|
]))
|
|
10853
10788
|
])),
|
|
10854
|
-
C("div",
|
|
10789
|
+
C("div", Bp, [E(s, {
|
|
10855
10790
|
icon: l.value === "dial" ? "keyboard" : "schedule",
|
|
10856
10791
|
label: l.value === "dial" ? "Switch to keyboard" : "Switch to dial",
|
|
10857
10792
|
onClick: r[8] ||= (e) => l.value = l.value === "dial" ? "input" : "dial"
|
|
10858
|
-
}, null, 8, ["icon", "label"]), C("div",
|
|
10793
|
+
}, null, 8, ["icon", "label"]), C("div", Vp, [E(e, {
|
|
10859
10794
|
variant: "text",
|
|
10860
10795
|
onClick: J
|
|
10861
10796
|
}, {
|
|
@@ -10872,7 +10807,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10872
10807
|
_: 1
|
|
10873
10808
|
})]));
|
|
10874
10809
|
}
|
|
10875
|
-
}), [["__scopeId", "data-v-a2a090e9"]]),
|
|
10810
|
+
}), [["__scopeId", "data-v-a2a090e9"]]), qp = /* @__PURE__ */ D({
|
|
10876
10811
|
__name: "MTitle",
|
|
10877
10812
|
props: {
|
|
10878
10813
|
size: { default: "large" },
|
|
@@ -10886,7 +10821,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10886
10821
|
medium: "headline-medium",
|
|
10887
10822
|
small: "headline-small"
|
|
10888
10823
|
}, r = v(() => n[t.size]);
|
|
10889
|
-
return (t, n) => (L(), b(
|
|
10824
|
+
return (t, n) => (L(), b(bf, {
|
|
10890
10825
|
variant: r.value,
|
|
10891
10826
|
weight: "medium",
|
|
10892
10827
|
color: e.color,
|
|
@@ -10902,13 +10837,13 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
10902
10837
|
"truncate"
|
|
10903
10838
|
]));
|
|
10904
10839
|
}
|
|
10905
|
-
}),
|
|
10840
|
+
}), Jp = {
|
|
10906
10841
|
key: 0,
|
|
10907
10842
|
class: "px-4 pt-3 pb-1 text-title-small font-medium text-on-surface"
|
|
10908
|
-
},
|
|
10843
|
+
}, Yp = { class: "px-4 py-2 text-body-medium text-on-surface-variant" }, Xp = {
|
|
10909
10844
|
key: 1,
|
|
10910
10845
|
class: "flex justify-end gap-2 px-4 pb-3"
|
|
10911
|
-
},
|
|
10846
|
+
}, Zp = /* @__PURE__ */ D({
|
|
10912
10847
|
__name: "MTooltip",
|
|
10913
10848
|
props: {
|
|
10914
10849
|
text: {},
|
|
@@ -11000,20 +10935,20 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11000
10935
|
onMouseenter: d,
|
|
11001
10936
|
onMouseleave: f
|
|
11002
10937
|
}, [
|
|
11003
|
-
e.text ? (L(), S("div",
|
|
11004
|
-
C("div",
|
|
11005
|
-
t.$slots.actions ? (L(), S("div",
|
|
10938
|
+
e.text ? (L(), S("div", Jp, G(e.text), 1)) : x("", !0),
|
|
10939
|
+
C("div", Yp, [H(t.$slots, "content")]),
|
|
10940
|
+
t.$slots.actions ? (L(), S("div", Xp, [H(t.$slots, "actions")])) : x("", !0)
|
|
11006
10941
|
], 36)) : x("", !0)]),
|
|
11007
10942
|
_: 3
|
|
11008
10943
|
})]))], 64));
|
|
11009
10944
|
}
|
|
11010
|
-
}),
|
|
10945
|
+
}), Qp = {
|
|
11011
10946
|
key: 0,
|
|
11012
10947
|
class: "shrink-0"
|
|
11013
|
-
},
|
|
10948
|
+
}, $p = {
|
|
11014
10949
|
key: 1,
|
|
11015
10950
|
class: "shrink-0"
|
|
11016
|
-
},
|
|
10951
|
+
}, em = /* @__PURE__ */ D({
|
|
11017
10952
|
__name: "MToolbar",
|
|
11018
10953
|
props: {
|
|
11019
10954
|
variant: { default: "docked" },
|
|
@@ -11042,7 +10977,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11042
10977
|
e.fabPosition === "start" && !i.value ? "flex-row" : "",
|
|
11043
10978
|
e.fabPosition === "start" && i.value ? "flex-col" : ""
|
|
11044
10979
|
]]) }, [
|
|
11045
|
-
t.$slots.fab && e.fabPosition === "start" ? (L(), S("div",
|
|
10980
|
+
t.$slots.fab && e.fabPosition === "start" ? (L(), S("div", Qp, [H(t.$slots, "fab")])) : x("", !0),
|
|
11046
10981
|
C("div", { class: M(["flex items-center gap-1", [
|
|
11047
10982
|
i.value ? "flex-col py-3 px-2" : "flex-row px-3 py-2",
|
|
11048
10983
|
r.value,
|
|
@@ -11051,16 +10986,16 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11051
10986
|
e.variant === "docked" ? "w-full border-t border-outline-variant" : "",
|
|
11052
10987
|
e.variant === "docked" && i.value ? "h-full w-auto border-t-0 border-r border-outline-variant" : ""
|
|
11053
10988
|
]]) }, [H(t.$slots, "default")], 2),
|
|
11054
|
-
t.$slots.fab && e.fabPosition === "end" ? (L(), S("div",
|
|
10989
|
+
t.$slots.fab && e.fabPosition === "end" ? (L(), S("div", $p, [H(t.$slots, "fab")])) : x("", !0)
|
|
11055
10990
|
], 2));
|
|
11056
10991
|
}
|
|
11057
|
-
}),
|
|
10992
|
+
}), tm = { class: "flex h-16 items-center gap-1 px-4" }, nm = {
|
|
11058
10993
|
key: 1,
|
|
11059
10994
|
class: "flex-1"
|
|
11060
|
-
},
|
|
10995
|
+
}, rm = {
|
|
11061
10996
|
key: 2,
|
|
11062
10997
|
class: "flex items-center gap-1"
|
|
11063
|
-
},
|
|
10998
|
+
}, im = /* @__PURE__ */ D({
|
|
11064
10999
|
__name: "MTopAppBar",
|
|
11065
11000
|
props: {
|
|
11066
11001
|
title: {},
|
|
@@ -11071,7 +11006,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11071
11006
|
},
|
|
11072
11007
|
emits: ["navigation"],
|
|
11073
11008
|
setup(e) {
|
|
11074
|
-
return (t, n) => (L(), S("header", { class: M(["flex w-full flex-col bg-surface transition-shadow", [e.elevated ? "shadow-elevation-2" : "", e.bordered ? "border-b border-outline-variant" : ""]]) }, [C("div",
|
|
11009
|
+
return (t, n) => (L(), S("header", { class: M(["flex w-full flex-col bg-surface transition-shadow", [e.elevated ? "shadow-elevation-2" : "", e.bordered ? "border-b border-outline-variant" : ""]]) }, [C("div", tm, [
|
|
11075
11010
|
H(t.$slots, "navigation", {}, () => [e.navigationIcon ? (L(), b(s, {
|
|
11076
11011
|
key: 0,
|
|
11077
11012
|
icon: e.navigationIcon,
|
|
@@ -11081,14 +11016,14 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11081
11016
|
e.variant === "center" || e.variant === "small" ? (L(), S("h1", {
|
|
11082
11017
|
key: 0,
|
|
11083
11018
|
class: M(["flex flex-1 items-center truncate px-4 text-title-large text-on-surface", e.variant === "center" ? "justify-center" : ""])
|
|
11084
|
-
}, [H(t.$slots, "title", {}, () => [T(G(e.title), 1)])], 2)) : (L(), S("div",
|
|
11085
|
-
t.$slots.actions ? (L(), S("div",
|
|
11019
|
+
}, [H(t.$slots, "title", {}, () => [T(G(e.title), 1)])], 2)) : (L(), S("div", nm)),
|
|
11020
|
+
t.$slots.actions ? (L(), S("div", rm, [H(t.$slots, "actions")])) : x("", !0)
|
|
11086
11021
|
]), e.variant === "medium" || e.variant === "large" ? (L(), S("div", {
|
|
11087
11022
|
key: 0,
|
|
11088
11023
|
class: M(["px-4 pb-6", e.variant === "large" ? "pt-4" : "pt-1"])
|
|
11089
11024
|
}, [C("h1", { class: M(["text-on-surface", e.variant === "large" ? "text-headline-medium" : "text-headline-small"]) }, [H(t.$slots, "title", {}, () => [T(G(e.title), 1)])], 2)], 2)) : x("", !0)], 2));
|
|
11090
11025
|
}
|
|
11091
|
-
}),
|
|
11026
|
+
}), am = { class: "mb-2 flex items-center justify-between" }, om = { class: "text-label-small text-on-surface-variant" }, sm = { class: "mb-1 text-title-medium font-medium text-on-surface" }, cm = { class: "mb-4 text-body-medium text-on-surface-variant" }, lm = { class: "mb-4 flex justify-center gap-1.5" }, um = { class: "flex justify-between" }, dm = { key: 1 }, fm = /* @__PURE__ */ D({
|
|
11092
11027
|
__name: "MTour",
|
|
11093
11028
|
props: {
|
|
11094
11029
|
modelValue: { type: Boolean },
|
|
@@ -11171,7 +11106,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11171
11106
|
class: "h-0 w-0",
|
|
11172
11107
|
style: N(l.value)
|
|
11173
11108
|
}, null, 4),
|
|
11174
|
-
C("div",
|
|
11109
|
+
C("div", am, [C("span", om, G(s.value + 1) + " / " + G(t.steps.length), 1), C("button", {
|
|
11175
11110
|
type: "button",
|
|
11176
11111
|
class: "flex h-6 w-6 cursor-pointer items-center justify-center rounded-full text-on-surface-variant transition-colors hover:bg-on-surface/8",
|
|
11177
11112
|
onClick: H
|
|
@@ -11179,13 +11114,13 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11179
11114
|
name: "close",
|
|
11180
11115
|
size: 16
|
|
11181
11116
|
})])]),
|
|
11182
|
-
C("h3",
|
|
11183
|
-
C("p",
|
|
11184
|
-
C("div",
|
|
11117
|
+
C("h3", sm, G(d.value.title), 1),
|
|
11118
|
+
C("p", cm, G(d.value.content), 1),
|
|
11119
|
+
C("div", lm, [(L(!0), S(m, null, V(t.steps, (e, t) => (L(), S("div", {
|
|
11185
11120
|
key: t,
|
|
11186
11121
|
class: M(["h-1.5 rounded-full transition-all duration-200", t === s.value ? "w-6 bg-primary" : "w-1.5 bg-outline-variant"])
|
|
11187
11122
|
}, null, 2))), 128))]),
|
|
11188
|
-
C("div",
|
|
11123
|
+
C("div", um, [p.value ? (L(), S("span", dm)) : (L(), b(e, {
|
|
11189
11124
|
key: 0,
|
|
11190
11125
|
variant: "text",
|
|
11191
11126
|
onClick: z
|
|
@@ -11200,19 +11135,19 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11200
11135
|
_: 1
|
|
11201
11136
|
})]));
|
|
11202
11137
|
}
|
|
11203
|
-
}),
|
|
11138
|
+
}), pm = { class: "flex items-stretch gap-2" }, mm = { class: "flex min-w-0 flex-1 flex-col overflow-hidden rounded-lg border border-outline-variant" }, hm = { class: "flex items-center justify-between border-b border-outline-variant bg-surface-container px-3 py-2" }, gm = { class: "text-label-large font-medium text-on-surface" }, _m = { class: "text-label-small text-on-surface-variant" }, vm = {
|
|
11204
11139
|
key: 0,
|
|
11205
11140
|
class: "border-b border-outline-variant px-3 py-2"
|
|
11206
|
-
},
|
|
11141
|
+
}, ym = ["placeholder"], bm = {
|
|
11207
11142
|
class: "flex-1 overflow-y-auto",
|
|
11208
11143
|
style: { "max-height": "240px" }
|
|
11209
|
-
},
|
|
11144
|
+
}, xm = ["onClick"], Sm = { class: "flex-1 truncate text-body-medium text-on-surface" }, Cm = { class: "px-3 py-4 text-center text-body-small text-on-surface-variant" }, wm = { class: "flex flex-col items-center justify-center gap-1" }, Tm = { class: "flex min-w-0 flex-1 flex-col overflow-hidden rounded-lg border border-outline-variant" }, Em = { class: "flex items-center justify-between border-b border-outline-variant bg-surface-container px-3 py-2" }, Dm = { class: "text-label-large font-medium text-on-surface" }, Om = { class: "text-label-small text-on-surface-variant" }, km = {
|
|
11210
11145
|
key: 0,
|
|
11211
11146
|
class: "border-b border-outline-variant px-3 py-2"
|
|
11212
|
-
},
|
|
11147
|
+
}, Am = ["placeholder"], jm = {
|
|
11213
11148
|
class: "flex-1 overflow-y-auto",
|
|
11214
11149
|
style: { "max-height": "240px" }
|
|
11215
|
-
},
|
|
11150
|
+
}, Mm = ["onClick"], Nm = { class: "flex-1 truncate text-body-medium text-on-surface" }, Pm = { class: "px-3 py-4 text-center text-body-small text-on-surface-variant" }, Fm = /* @__PURE__ */ D({
|
|
11216
11151
|
__name: "MTransferList",
|
|
11217
11152
|
props: {
|
|
11218
11153
|
modelValue: {},
|
|
@@ -11270,16 +11205,16 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11270
11205
|
let e = p.value.map((e) => e.value);
|
|
11271
11206
|
a("update:modelValue", i.modelValue.filter((t) => !new Set(e).has(t))), c.value = /* @__PURE__ */ new Set();
|
|
11272
11207
|
}
|
|
11273
|
-
return (t, r) => (L(), S("div",
|
|
11274
|
-
C("div",
|
|
11275
|
-
C("div",
|
|
11276
|
-
e.filterable ? (L(), S("div",
|
|
11208
|
+
return (t, r) => (L(), S("div", pm, [
|
|
11209
|
+
C("div", mm, [
|
|
11210
|
+
C("div", hm, [C("span", gm, G(e.sourceTitle ?? K(n).available), 1), C("span", _m, G(d.value.length), 1)]),
|
|
11211
|
+
e.filterable ? (L(), S("div", vm, [re(C("input", {
|
|
11277
11212
|
"onUpdate:modelValue": r[0] ||= (e) => l.value = e,
|
|
11278
11213
|
type: "text",
|
|
11279
11214
|
placeholder: e.searchPlaceholder ?? K(n).search,
|
|
11280
11215
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant/50"
|
|
11281
|
-
}, null, 8,
|
|
11282
|
-
C("div",
|
|
11216
|
+
}, null, 8, ym), [[ee, l.value]])])) : x("", !0),
|
|
11217
|
+
C("div", bm, [(L(!0), S(m, null, V(d.value, (e) => (L(), S("button", {
|
|
11283
11218
|
key: e.value,
|
|
11284
11219
|
type: "button",
|
|
11285
11220
|
class: "flex w-full cursor-pointer items-center gap-2 px-3 py-2 text-left transition-colors hover:bg-on-surface/4",
|
|
@@ -11295,10 +11230,10 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11295
11230
|
size: 18,
|
|
11296
11231
|
class: "shrink-0 text-on-surface-variant"
|
|
11297
11232
|
}, null, 8, ["name"])) : x("", !0),
|
|
11298
|
-
C("span",
|
|
11299
|
-
], 8,
|
|
11233
|
+
C("span", Sm, G(e.label), 1)
|
|
11234
|
+
], 8, xm))), 128)), d.value.length ? x("", !0) : H(t.$slots, "source-empty", { key: 0 }, () => [C("p", Cm, G(e.emptyText ?? K(n).noItems), 1)])])
|
|
11300
11235
|
]),
|
|
11301
|
-
C("div",
|
|
11236
|
+
C("div", wm, [
|
|
11302
11237
|
E(s, {
|
|
11303
11238
|
icon: "keyboard_double_arrow_right",
|
|
11304
11239
|
label: e.moveAllRightLabel ?? K(n).moveAllRight,
|
|
@@ -11330,15 +11265,15 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11330
11265
|
onClick: T
|
|
11331
11266
|
}, null, 8, ["label", "disabled"])
|
|
11332
11267
|
]),
|
|
11333
|
-
C("div",
|
|
11334
|
-
C("div",
|
|
11335
|
-
e.filterable ? (L(), S("div",
|
|
11268
|
+
C("div", Tm, [
|
|
11269
|
+
C("div", Em, [C("span", Dm, G(e.targetTitle ?? K(n).selected), 1), C("span", Om, G(p.value.length), 1)]),
|
|
11270
|
+
e.filterable ? (L(), S("div", km, [re(C("input", {
|
|
11336
11271
|
"onUpdate:modelValue": r[1] ||= (e) => u.value = e,
|
|
11337
11272
|
type: "text",
|
|
11338
11273
|
placeholder: e.searchPlaceholder ?? K(n).search,
|
|
11339
11274
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant/50"
|
|
11340
|
-
}, null, 8,
|
|
11341
|
-
C("div",
|
|
11275
|
+
}, null, 8, Am), [[ee, u.value]])])) : x("", !0),
|
|
11276
|
+
C("div", jm, [(L(!0), S(m, null, V(p.value, (e) => (L(), S("button", {
|
|
11342
11277
|
key: e.value,
|
|
11343
11278
|
type: "button",
|
|
11344
11279
|
class: "flex w-full cursor-pointer items-center gap-2 px-3 py-2 text-left transition-colors hover:bg-on-surface/4",
|
|
@@ -11354,18 +11289,18 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11354
11289
|
size: 18,
|
|
11355
11290
|
class: "shrink-0 text-on-surface-variant"
|
|
11356
11291
|
}, null, 8, ["name"])) : x("", !0),
|
|
11357
|
-
C("span",
|
|
11358
|
-
], 8,
|
|
11292
|
+
C("span", Nm, G(e.label), 1)
|
|
11293
|
+
], 8, Mm))), 128)), p.value.length ? x("", !0) : H(t.$slots, "target-empty", { key: 0 }, () => [C("p", Pm, G(e.emptyText ?? K(n).noItems), 1)])])
|
|
11359
11294
|
])
|
|
11360
11295
|
]));
|
|
11361
11296
|
}
|
|
11362
|
-
}),
|
|
11297
|
+
}), Im = ["aria-expanded", "aria-selected"], Lm = { class: "flex w-6 shrink-0 items-center justify-center" }, Rm = ["disabled"], zm = {
|
|
11363
11298
|
key: 2,
|
|
11364
11299
|
class: "shrink-0 text-label-small tabular-nums text-on-surface-variant"
|
|
11365
|
-
},
|
|
11300
|
+
}, Bm = {
|
|
11366
11301
|
key: 0,
|
|
11367
11302
|
class: "ml-3 border-l border-outline-variant pl-2"
|
|
11368
|
-
},
|
|
11303
|
+
}, Vm = /* @__PURE__ */ D({
|
|
11369
11304
|
__name: "_MTreeNode",
|
|
11370
11305
|
props: {
|
|
11371
11306
|
node: {},
|
|
@@ -11410,7 +11345,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11410
11345
|
]),
|
|
11411
11346
|
onClick: u
|
|
11412
11347
|
}, [
|
|
11413
|
-
C("div",
|
|
11348
|
+
C("div", Lm, [r.value ? (L(), S("button", {
|
|
11414
11349
|
key: 0,
|
|
11415
11350
|
type: "button",
|
|
11416
11351
|
class: M(["flex h-5 w-5 items-center justify-center rounded text-on-surface-variant transition-transform duration-200", i.value ? "rotate-90" : ""]),
|
|
@@ -11419,7 +11354,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11419
11354
|
}, [E(f, {
|
|
11420
11355
|
name: "chevron_right",
|
|
11421
11356
|
size: 16
|
|
11422
|
-
})], 10,
|
|
11357
|
+
})], 10, Rm)) : x("", !0)]),
|
|
11423
11358
|
K(n).checkable.value ? (L(), S("div", {
|
|
11424
11359
|
key: 0,
|
|
11425
11360
|
class: "shrink-0",
|
|
@@ -11441,7 +11376,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11441
11376
|
class: M(["shrink-0 transition-colors", a.value ? "text-primary" : "text-on-surface-variant"])
|
|
11442
11377
|
}, null, 8, ["name", "class"])) : x("", !0),
|
|
11443
11378
|
C("span", { class: M(["min-w-0 flex-1 truncate text-body-medium transition-colors", a.value ? "font-medium text-primary" : "text-on-surface"]) }, [H(t.$slots, "label", { node: e.node }, () => [T(G(e.node.label), 1)])], 2),
|
|
11444
|
-
r.value && K(n).checkable.value ? (L(), S("span",
|
|
11379
|
+
r.value && K(n).checkable.value ? (L(), S("span", zm, G(s.value) + "/" + G(o.value.length), 1)) : x("", !0),
|
|
11445
11380
|
H(t.$slots, "trailing", { node: e.node })
|
|
11446
11381
|
], 2), E(g, {
|
|
11447
11382
|
onEnter: h,
|
|
@@ -11449,7 +11384,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11449
11384
|
onLeave: y,
|
|
11450
11385
|
onAfterLeave: D
|
|
11451
11386
|
}, {
|
|
11452
|
-
default: Z(() => [i.value && r.value ? (L(), S("div",
|
|
11387
|
+
default: Z(() => [i.value && r.value ? (L(), S("div", Bm, [(L(!0), S(m, null, V(e.node.children, (n) => (L(), b(Vm, {
|
|
11453
11388
|
key: n.id,
|
|
11454
11389
|
node: n,
|
|
11455
11390
|
depth: e.depth + 1
|
|
@@ -11458,15 +11393,15 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11458
11393
|
fn: Z((e) => [H(t.$slots, n, A({ ref_for: !0 }, e ?? {}))])
|
|
11459
11394
|
}))]), 1032, ["node", "depth"]))), 128))])) : x("", !0)]),
|
|
11460
11395
|
_: 3
|
|
11461
|
-
})], 8,
|
|
11396
|
+
})], 8, Im));
|
|
11462
11397
|
}
|
|
11463
|
-
}),
|
|
11398
|
+
}), Hm = {
|
|
11464
11399
|
role: "tree",
|
|
11465
11400
|
class: "flex flex-col"
|
|
11466
|
-
},
|
|
11401
|
+
}, Um = {
|
|
11467
11402
|
key: 1,
|
|
11468
11403
|
class: "flex flex-col items-center gap-2 py-10 text-on-surface-variant"
|
|
11469
|
-
},
|
|
11404
|
+
}, Wm = { class: "text-body-medium" }, Gm = /* @__PURE__ */ D({
|
|
11470
11405
|
__name: "MTree",
|
|
11471
11406
|
props: {
|
|
11472
11407
|
nodes: {},
|
|
@@ -11532,26 +11467,26 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11532
11467
|
return t({
|
|
11533
11468
|
expandAll: _,
|
|
11534
11469
|
collapseAll: y
|
|
11535
|
-
}), (t, n) => (L(), S("div",
|
|
11470
|
+
}), (t, n) => (L(), S("div", Hm, [e.nodes.length ? (L(!0), S(m, { key: 0 }, V(e.nodes, (e) => (L(), b(Vm, {
|
|
11536
11471
|
key: e.id,
|
|
11537
11472
|
node: e,
|
|
11538
11473
|
depth: 0
|
|
11539
11474
|
}, w({ _: 2 }, [V(t.$slots, (e, n) => ({
|
|
11540
11475
|
name: n,
|
|
11541
11476
|
fn: Z((e) => [H(t.$slots, n, A({ ref_for: !0 }, e ?? {}))])
|
|
11542
|
-
}))]), 1032, ["node"]))), 128)) : (L(), S("div",
|
|
11477
|
+
}))]), 1032, ["node"]))), 128)) : (L(), S("div", Um, [E(f, {
|
|
11543
11478
|
name: "account_tree",
|
|
11544
11479
|
size: 32,
|
|
11545
11480
|
class: "opacity-30"
|
|
11546
|
-
}), C("p",
|
|
11481
|
+
}), C("p", Wm, G(e.emptyText), 1)]))]));
|
|
11547
11482
|
}
|
|
11548
|
-
}),
|
|
11483
|
+
}), Km = { class: "flex flex-col overflow-hidden rounded-sm border border-outline-variant" }, qm = {
|
|
11549
11484
|
key: 0,
|
|
11550
11485
|
class: "flex items-center gap-2 border-b border-outline-variant bg-surface-container-lowest px-4 py-2"
|
|
11551
|
-
},
|
|
11486
|
+
}, Jm = { class: "overflow-x-auto" }, Ym = { class: "w-full border-collapse" }, Xm = { class: "bg-surface-container-high" }, Zm = ["onClick"], Qm = ["onClick"], $m = {
|
|
11552
11487
|
key: 1,
|
|
11553
11488
|
class: "w-6 shrink-0"
|
|
11554
|
-
},
|
|
11489
|
+
}, eh = { key: 0 }, th = ["colspan"], nh = /* @__PURE__ */ D({
|
|
11555
11490
|
__name: "MTreeTable",
|
|
11556
11491
|
props: {
|
|
11557
11492
|
columns: {},
|
|
@@ -11606,10 +11541,10 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11606
11541
|
function d(e) {
|
|
11607
11542
|
return e === "center" ? "text-center" : e === "right" ? "text-right" : "text-left";
|
|
11608
11543
|
}
|
|
11609
|
-
return (t, n) => (L(), S("div",
|
|
11544
|
+
return (t, n) => (L(), S("div", Km, [t.$slots.toolbar ? (L(), S("div", qm, [H(t.$slots, "toolbar", {
|
|
11610
11545
|
expandAll: l,
|
|
11611
11546
|
collapseAll: u
|
|
11612
|
-
})])) : x("", !0), C("div",
|
|
11547
|
+
})])) : x("", !0), C("div", Jm, [C("table", Ym, [C("thead", null, [C("tr", Xm, [(L(!0), S(m, null, V(e.columns, (t, n) => (L(), S("th", {
|
|
11613
11548
|
key: t.key,
|
|
11614
11549
|
style: N(t.width ? { width: t.width } : void 0),
|
|
11615
11550
|
class: M([
|
|
@@ -11640,7 +11575,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11640
11575
|
}, [E(f, {
|
|
11641
11576
|
name: "chevron_right",
|
|
11642
11577
|
size: 18
|
|
11643
|
-
})], 10,
|
|
11578
|
+
})], 10, Qm)) : (L(), S("span", $m)), H(t.$slots, `cell-${r.key}`, {
|
|
11644
11579
|
row: n.row,
|
|
11645
11580
|
value: n.row[r.key],
|
|
11646
11581
|
depth: n.depth
|
|
@@ -11649,19 +11584,19 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11649
11584
|
row: n.row,
|
|
11650
11585
|
value: n.row[r.key],
|
|
11651
11586
|
depth: n.depth
|
|
11652
|
-
}, () => [T(G(n.row[r.key] ?? "—"), 1)])], 2))), 128))], 10,
|
|
11587
|
+
}, () => [T(G(n.row[r.key] ?? "—"), 1)])], 2))), 128))], 10, Zm))), 128)), c.value.length ? x("", !0) : (L(), S("tr", eh, [C("td", {
|
|
11653
11588
|
colspan: e.columns.length,
|
|
11654
11589
|
class: "border-t border-outline-variant px-4 py-10 text-center"
|
|
11655
11590
|
}, [E(f, {
|
|
11656
11591
|
name: "account_tree",
|
|
11657
11592
|
size: 36,
|
|
11658
11593
|
class: "mb-2 text-on-surface-variant opacity-30"
|
|
11659
|
-
}), n[0] ||= C("p", { class: "text-body-medium text-on-surface-variant" }, "Sin datos", -1)], 8,
|
|
11594
|
+
}), n[0] ||= C("p", { class: "text-body-medium text-on-surface-variant" }, "Sin datos", -1)], 8, th)]))])])])]));
|
|
11660
11595
|
}
|
|
11661
|
-
}),
|
|
11596
|
+
}), rh = { class: "flex flex-col overflow-hidden rounded-sm border border-outline-variant" }, ih = { class: "flex bg-surface-container-high" }, ah = ["onClick"], oh = { class: "inline-flex items-center gap-1" }, sh = {
|
|
11662
11597
|
key: 0,
|
|
11663
11598
|
class: "inline-flex"
|
|
11664
|
-
},
|
|
11599
|
+
}, ch = ["onClick"], lh = { class: "truncate" }, uh = { class: "border-t border-outline-variant bg-surface-container-lowest px-4 py-2" }, dh = { class: "text-label-small text-on-surface-variant" }, fh = /* @__PURE__ */ D({
|
|
11665
11600
|
__name: "MVirtualTable",
|
|
11666
11601
|
props: {
|
|
11667
11602
|
columns: {},
|
|
@@ -11707,8 +11642,8 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11707
11642
|
function y(e) {
|
|
11708
11643
|
return e === "center" ? "text-center" : e === "right" ? "text-right" : "text-left";
|
|
11709
11644
|
}
|
|
11710
|
-
return (t, n) => (L(), S("div",
|
|
11711
|
-
C("div",
|
|
11645
|
+
return (t, n) => (L(), S("div", rh, [
|
|
11646
|
+
C("div", ih, [(L(!0), S(m, null, V(e.columns, (e) => (L(), S("div", {
|
|
11712
11647
|
key: e.key,
|
|
11713
11648
|
style: N({
|
|
11714
11649
|
width: e.width || "auto",
|
|
@@ -11720,7 +11655,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11720
11655
|
e.sortable ? "cursor-pointer select-none hover:text-on-surface transition-colors" : ""
|
|
11721
11656
|
]),
|
|
11722
11657
|
onClick: (t) => e.sortable ? l(e.key) : void 0
|
|
11723
|
-
}, [C("span",
|
|
11658
|
+
}, [C("span", oh, [T(G(e.label) + " ", 1), e.sortable ? (L(), S("span", sh, [s.value === e.key && c.value === "asc" ? (L(), b(f, {
|
|
11724
11659
|
key: 0,
|
|
11725
11660
|
name: "arrow_upward",
|
|
11726
11661
|
size: 14,
|
|
@@ -11735,7 +11670,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11735
11670
|
name: "unfold_more",
|
|
11736
11671
|
size: 14,
|
|
11737
11672
|
class: "opacity-30"
|
|
11738
|
-
}))])) : x("", !0)])], 14,
|
|
11673
|
+
}))])) : x("", !0)])], 14, ah))), 128))]),
|
|
11739
11674
|
C("div", {
|
|
11740
11675
|
ref_key: "scrollEl",
|
|
11741
11676
|
ref: i,
|
|
@@ -11763,11 +11698,11 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11763
11698
|
}, [H(t.$slots, `cell-${e.key}`, {
|
|
11764
11699
|
row: n,
|
|
11765
11700
|
value: n[e.key]
|
|
11766
|
-
}, () => [C("span",
|
|
11767
|
-
C("div",
|
|
11701
|
+
}, () => [C("span", lh, G(n[e.key] ?? "—"), 1)])], 6))), 128))], 14, ch))), 128))], 4)], 36),
|
|
11702
|
+
C("div", uh, [C("span", dh, [T(G(u.value.length.toLocaleString()) + " filas ", 1), p.value.end - p.value.start < u.value.length ? (L(), S(m, { key: 0 }, [T(" · mostrando " + G(p.value.start + 1) + "–" + G(p.value.end), 1)], 64)) : x("", !0)])])
|
|
11768
11703
|
]));
|
|
11769
11704
|
}
|
|
11770
|
-
}),
|
|
11705
|
+
}), ph = { class: "text-title-small font-medium text-on-surface truncate flex-1" }, mh = { class: "flex-1 overflow-auto" }, hh = ["onMousedown", "onTouchstart"], gh = /* @__PURE__ */ D({
|
|
11771
11706
|
__name: "MWindow",
|
|
11772
11707
|
props: {
|
|
11773
11708
|
modelValue: { type: Boolean },
|
|
@@ -11900,27 +11835,27 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11900
11835
|
let oe = [
|
|
11901
11836
|
{
|
|
11902
11837
|
dir: "s",
|
|
11903
|
-
class: "bottom-0 left-[
|
|
11838
|
+
class: "bottom-0 left-[20px] right-[20px] h-[8px]",
|
|
11904
11839
|
cursor: "cursor-ns-resize"
|
|
11905
11840
|
},
|
|
11906
11841
|
{
|
|
11907
11842
|
dir: "e",
|
|
11908
|
-
class: "top-[
|
|
11843
|
+
class: "top-[20px] right-0 bottom-[20px] w-[8px]",
|
|
11909
11844
|
cursor: "cursor-ew-resize"
|
|
11910
11845
|
},
|
|
11911
11846
|
{
|
|
11912
11847
|
dir: "w",
|
|
11913
|
-
class: "top-[
|
|
11848
|
+
class: "top-[20px] left-0 bottom-[20px] w-[8px]",
|
|
11914
11849
|
cursor: "cursor-ew-resize"
|
|
11915
11850
|
},
|
|
11916
11851
|
{
|
|
11917
11852
|
dir: "se",
|
|
11918
|
-
class: "bottom-0 right-0 w-[
|
|
11853
|
+
class: "bottom-0 right-0 w-[20px] h-[20px]",
|
|
11919
11854
|
cursor: "cursor-nwse-resize"
|
|
11920
11855
|
},
|
|
11921
11856
|
{
|
|
11922
11857
|
dir: "sw",
|
|
11923
|
-
class: "bottom-0 left-0 w-[
|
|
11858
|
+
class: "bottom-0 left-0 w-[20px] h-[20px]",
|
|
11924
11859
|
cursor: "cursor-nesw-resize"
|
|
11925
11860
|
}
|
|
11926
11861
|
];
|
|
@@ -11942,7 +11877,7 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11942
11877
|
name: e.icon,
|
|
11943
11878
|
size: 18,
|
|
11944
11879
|
class: "text-on-surface-variant"
|
|
11945
|
-
}, null, 8, ["name"])) : x("", !0), C("span",
|
|
11880
|
+
}, null, 8, ["name"])) : x("", !0), C("span", ph, G(e.title), 1)]),
|
|
11946
11881
|
H(t.$slots, "actions"),
|
|
11947
11882
|
e.minimizable ? (L(), S("button", {
|
|
11948
11883
|
key: 0,
|
|
@@ -11961,17 +11896,17 @@ var Td = /*#__PURE__*/ p(Sd, [["render", wd]]), Ed = ["disabled"], Dd = ["disabl
|
|
|
11961
11896
|
size: 16
|
|
11962
11897
|
})])) : x("", !0)
|
|
11963
11898
|
], 34),
|
|
11964
|
-
re(C("div",
|
|
11899
|
+
re(C("div", mh, [H(t.$slots, "default")], 512), [[te, !c.value]]),
|
|
11965
11900
|
e.resizable && !c.value ? (L(), S(m, { key: 0 }, V(oe, (e) => C("div", {
|
|
11966
11901
|
key: e.dir,
|
|
11967
11902
|
class: M(["absolute", [e.class, e.cursor]]),
|
|
11968
11903
|
onMousedown: (t) => Y(t, e.dir),
|
|
11969
11904
|
onTouchstart: (t) => Y(t, e.dir)
|
|
11970
|
-
}, null, 42,
|
|
11905
|
+
}, null, 42, hh)), 64)) : x("", !0)
|
|
11971
11906
|
], 36)) : x("", !0);
|
|
11972
11907
|
}
|
|
11973
11908
|
});
|
|
11974
11909
|
//#endregion
|
|
11975
|
-
export { ot as MAbsolute, ft as MAlert, It as MAppBar, Bt as MAppLayout, Vt as MAspectRatio, Mt as MAutocomplete, Ht as MAvatar, Gt as MBadge, Zt as MBottomSheet, Qt as MBox, tn as MBreadcrumbs, e as MButton, on as MButtonGroup, vn as MCalendar, Tn as MCard, Mn as MCarousel, Nn as MCenter, In as MChatBubble, zn as MCheckbox, Vn as MChip,
|
|
11910
|
+
export { ot as MAbsolute, ft as MAlert, It as MAppBar, Bt as MAppLayout, Vt as MAspectRatio, Mt as MAutocomplete, Ht as MAvatar, Gt as MBadge, Zt as MBottomSheet, Qt as MBox, tn as MBreadcrumbs, e as MButton, on as MButtonGroup, vn as MCalendar, Tn as MCard, Mn as MCarousel, Nn as MCenter, In as MChatBubble, zn as MCheckbox, Vn as MChip, Yl as MCircleProgressBar, Qn as MColorPicker, ur as MColorPickerModal, wr as MCommandPalette, Er as MConfirmDialog, Dr as MContainer, Or as MContextMenu, ii as MDataTable, hi as MDatePicker, ki as MDatePickerModal, Vi as MDateRangePicker, ra as MDateRangePickerModal, i as MDialog, sa as MDivider, pa as MDragDropList, ha as MEmoji, xa as MEmojiButton, ka as MEmojiSelector, Aa as MEmptyState, La as MExpansionPanel, Ha as MFab, io as MFileUpload, ao as MFixed, fo as MFlex, uo as MFooter, po as MFullscreen, mo as MGrid, bo as MHotkeys, f as MIcon, s as MIconButton, wo as MInfiniteScroll, No as MJsonViewer, Uo as MKanban, Wo as MList, is as MListItem, as as MListSubheader, ls as MLoadingOverlay, xs as MMaskField, us as MMasonry, o as MMenu, ms as MMenuDivider, u as MMenuItem, Ws as MMultiAutocomplete, hc as MMultiSelect, vc as MNavigationBar, sl as MNavigationDrawer, dl as MNavigationRail, Ec as MNumberField, pl as MOverlay, jr as MPagination, Al as MProgressBar, eu as MRadio, ru as MRadioGroup, au as MRating, lu as MRelative, uu as MResponsive, _u as MResult, Nu as MScheduler, Pu as MScrollable, zu as MSection, Hu as MSegmentedButton, od as MSelect, fd as MSideSheet, md as MSkeleton, yd as MSlider, ve as MSnackbar, Cd as MSpacer, a as MSpinner, Dd as MSplitButton, Od as MSplitter, Gd as MSpotlightSearch, Kd as MStack, tf as MStatCard, vf as MStepper, yf as MSticky, xf as MSubtitle, qo as MSwitch, Uf as MTable, ip as MTabs, Zf as MTagInput, bf as MText, c as MTextField, Op as MTimePicker, Kp as MTimePickerModal, gp as MTimeline, qp as MTitle, em as MToolbar, Zp as MTooltip, im as MTopAppBar, fm as MTour, Fm as MTransferList, Gm as MTree, nh as MTreeTable, fh as MVirtualTable, gh as MWindow, _a as allEmojis, ae as createM3UI, n as defaultLocale, ga as emojiCategories, le as palettes, va as randomEmoji, de as useColorPalette, l as useDebounce, Re as useDevice, t as useFieldBg, r as useLocale, at as useNotification, ce as useTheme, Ne as useToast };
|
|
11976
11911
|
|
|
11977
11912
|
//# sourceMappingURL=m3ui.js.map
|