@m3ui-vue/m3ui-vue 0.5.9 → 0.6.0
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/README.md +26 -1
- package/dist/{MMenuItem-DyY4zhRA.js → MMenuItem-DbbrJhFE.js} +2 -2
- package/dist/{MMenuItem-DyY4zhRA.js.map → MMenuItem-DbbrJhFE.js.map} +1 -1
- package/dist/barcode.d.ts +1 -0
- package/dist/barcode.js +51 -0
- package/dist/barcode.js.map +1 -0
- package/dist/code-editor.js +1 -1
- package/dist/components/MAutocomplete.vue.d.ts +1 -1
- package/dist/components/MBarcode.vue.d.ts +35 -0
- package/dist/components/MButton.vue.d.ts +1 -1
- package/dist/components/MButtonGroup.vue.d.ts +1 -1
- package/dist/components/MChatBubble.vue.d.ts +1 -1
- package/dist/components/MCircleProgressBar.vue.d.ts +1 -1
- package/dist/components/MCopyButton.vue.d.ts +31 -0
- package/dist/components/MExportButton.vue.d.ts +43 -0
- package/dist/components/MFab.vue.d.ts +1 -1
- package/dist/components/MKbd.vue.d.ts +12 -0
- package/dist/components/MMultiAutocomplete.vue.d.ts +1 -1
- package/dist/components/MMultiSelect.vue.d.ts +1 -1
- package/dist/components/MPasswordMeter.vue.d.ts +17 -0
- package/dist/components/MPinInput.vue.d.ts +35 -0
- package/dist/components/MQRCode.vue.d.ts +35 -0
- package/dist/components/MRating.vue.d.ts +1 -1
- package/dist/components/MRelativeTime.vue.d.ts +8 -0
- package/dist/components/MSelect.vue.d.ts +1 -1
- package/dist/components/MShader.vue.d.ts +2 -2
- package/dist/components/MSignaturePad.vue.d.ts +37 -0
- package/dist/components/MSlider.vue.d.ts +1 -1
- package/dist/components/MSplitButton.vue.d.ts +1 -1
- package/dist/components/MSubtitle.vue.d.ts +1 -1
- package/dist/components/MTerminal.vue.d.ts +2 -2
- package/dist/components/MTitle.vue.d.ts +1 -1
- package/dist/components/MWindow.vue.d.ts +1 -1
- package/dist/composables/useLocale.d.ts +2 -0
- package/dist/index.d.ts +7 -0
- package/dist/locales/index.js +7 -0
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui.js +1194 -724
- package/dist/m3ui.js.map +1 -1
- package/dist/qrcode.d.ts +1 -0
- package/dist/qrcode.js +117 -0
- package/dist/qrcode.js.map +1 -0
- package/dist/rich-text-editor.js +2 -2
- package/dist/{useLocale-QCIVDYWx.js → useLocale-BKsIWNix.js} +2 -1
- package/dist/useLocale-BKsIWNix.js.map +1 -0
- package/package.json +23 -3
- package/src/__tests__/MBarcode.test.ts +40 -0
- package/src/__tests__/MCopyButton.test.ts +49 -0
- package/src/__tests__/MExportButton.test.ts +64 -0
- package/src/__tests__/MKbd.test.ts +33 -0
- package/src/__tests__/MPasswordMeter.test.ts +43 -0
- package/src/__tests__/MPinInput.test.ts +138 -0
- package/src/__tests__/MQRCode.test.ts +58 -0
- package/src/__tests__/MRelativeTime.test.ts +43 -0
- package/src/__tests__/MSignaturePad.test.ts +62 -0
- package/src/barcode.ts +1 -0
- package/src/components/MBarcode.vue +61 -0
- package/src/components/MCopyButton.vue +62 -0
- package/src/components/MExportButton.vue +73 -0
- package/src/components/MKbd.vue +36 -0
- package/src/components/MPasswordMeter.vue +56 -0
- package/src/components/MPinInput.vue +202 -0
- package/src/components/MQRCode.vue +131 -0
- package/src/components/MRelativeTime.vue +68 -0
- package/src/components/MSignaturePad.vue +138 -0
- package/src/composables/useLocale.ts +5 -0
- package/src/index.ts +7 -0
- package/src/locales/de.ts +2 -0
- package/src/locales/es.ts +2 -0
- package/src/locales/fr.ts +2 -0
- package/src/locales/ja.ts +2 -0
- package/src/locales/ko.ts +2 -0
- package/src/locales/pt.ts +2 -0
- package/src/locales/zh.ts +2 -0
- package/src/qrcode.ts +1 -0
- package/dist/useLocale-QCIVDYWx.js.map +0 -1
package/dist/m3ui.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./useLocale-
|
|
1
|
+
import { n as e, r as t, t as n } from "./useLocale-BKsIWNix.js";
|
|
2
2
|
import { t as r } from "./MIcon-CaEooCmZ.js";
|
|
3
|
-
import { a as i, c as a, i as o, l as s, n as c, o as l, r as u, s as d, t as f } from "./MMenuItem-
|
|
3
|
+
import { a as i, c as a, i as o, l as s, n as c, o as l, r as u, s as d, t as f } from "./MMenuItem-DbbrJhFE.js";
|
|
4
4
|
import { t as p } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
5
5
|
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, shallowRef as G, toDisplayString as K, unref as q, useAttrs as J, useId as ee, useSlots as te, vModelText as Y, vShow as ne, watch as X, watchEffect as re, withCtx as Z, withDirectives as ie, withKeys as ae, withModifiers as Q } from "vue";
|
|
6
6
|
//#region src/plugin.ts
|
|
@@ -1578,7 +1578,7 @@ var st = /* @__PURE__ */ D({
|
|
|
1578
1578
|
src: e.image,
|
|
1579
1579
|
alt: e.imageAlt ?? "",
|
|
1580
1580
|
class: "h-full w-full object-cover"
|
|
1581
|
-
}, null, 8, bn)) : H(t.$slots, "media", {
|
|
1581
|
+
}, null, 8, bn)) : H(t.$slots, "media", {}, void 0, void 0, 1)], 2)) : x("", !0),
|
|
1582
1582
|
t.$slots.header ? (L(), S("div", xn, [H(t.$slots, "header")])) : e.title ? (L(), S("div", Sn, [C("h3", Cn, K(e.title), 1), e.subtitle ? (L(), S("p", wn, K(e.subtitle), 1)) : x("", !0)])) : x("", !0),
|
|
1583
1583
|
H(t.$slots, "default"),
|
|
1584
1584
|
t.$slots.actions ? (L(), S("div", Tn, [H(t.$slots, "actions")])) : x("", !0)
|
|
@@ -2620,7 +2620,53 @@ var st = /* @__PURE__ */ D({
|
|
|
2620
2620
|
_: 3
|
|
2621
2621
|
})]))], 64));
|
|
2622
2622
|
}
|
|
2623
|
-
}), Ar =
|
|
2623
|
+
}), Ar = /* @__PURE__ */ D({
|
|
2624
|
+
__name: "MCopyButton",
|
|
2625
|
+
props: {
|
|
2626
|
+
value: {},
|
|
2627
|
+
icon: { default: "content_copy" },
|
|
2628
|
+
copiedIcon: { default: "check" },
|
|
2629
|
+
label: { default: "Copy" },
|
|
2630
|
+
copiedLabel: { default: "Copied" },
|
|
2631
|
+
variant: { default: "standard" },
|
|
2632
|
+
shape: { default: "rounded" },
|
|
2633
|
+
size: { default: "sm" },
|
|
2634
|
+
disabled: {
|
|
2635
|
+
type: Boolean,
|
|
2636
|
+
default: !1
|
|
2637
|
+
},
|
|
2638
|
+
resetDelay: { default: 2e3 }
|
|
2639
|
+
},
|
|
2640
|
+
emits: ["copied", "error"],
|
|
2641
|
+
setup(e, { emit: t }) {
|
|
2642
|
+
let n = e, r = t, i = B(!1), a;
|
|
2643
|
+
async function o() {
|
|
2644
|
+
if (!n.disabled) try {
|
|
2645
|
+
await navigator.clipboard.writeText(n.value), i.value = !0, r("copied", n.value), clearTimeout(a), a = setTimeout(() => {
|
|
2646
|
+
i.value = !1;
|
|
2647
|
+
}, n.resetDelay);
|
|
2648
|
+
} catch (e) {
|
|
2649
|
+
r("error", e);
|
|
2650
|
+
}
|
|
2651
|
+
}
|
|
2652
|
+
return I(() => clearTimeout(a)), (t, n) => (L(), b(l, {
|
|
2653
|
+
icon: i.value ? e.copiedIcon : e.icon,
|
|
2654
|
+
label: i.value ? e.copiedLabel : e.label,
|
|
2655
|
+
variant: e.variant,
|
|
2656
|
+
shape: e.shape,
|
|
2657
|
+
size: e.size,
|
|
2658
|
+
disabled: e.disabled,
|
|
2659
|
+
onClick: o
|
|
2660
|
+
}, null, 8, [
|
|
2661
|
+
"icon",
|
|
2662
|
+
"label",
|
|
2663
|
+
"variant",
|
|
2664
|
+
"shape",
|
|
2665
|
+
"size",
|
|
2666
|
+
"disabled"
|
|
2667
|
+
]));
|
|
2668
|
+
}
|
|
2669
|
+
}), jr = { class: "flex flex-wrap items-center justify-between gap-4 text-body-medium text-on-surface-variant" }, Mr = { class: "flex items-center gap-2" }, Nr = /* @__PURE__ */ D({
|
|
2624
2670
|
__name: "MPagination",
|
|
2625
2671
|
props: {
|
|
2626
2672
|
page: {},
|
|
@@ -2630,7 +2676,7 @@ var st = /* @__PURE__ */ D({
|
|
|
2630
2676
|
emits: ["update:page"],
|
|
2631
2677
|
setup(e, { emit: t }) {
|
|
2632
2678
|
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}`);
|
|
2633
|
-
return (t, n) => (L(), S("div",
|
|
2679
|
+
return (t, n) => (L(), S("div", jr, [C("span", null, K(a.value), 1), C("div", Mr, [
|
|
2634
2680
|
C("span", null, "Página " + K(e.page) + " de " + K(i.value), 1),
|
|
2635
2681
|
E(l, {
|
|
2636
2682
|
icon: "chevron_left",
|
|
@@ -2646,25 +2692,25 @@ var st = /* @__PURE__ */ D({
|
|
|
2646
2692
|
}, null, 8, ["disabled"])
|
|
2647
2693
|
])]));
|
|
2648
2694
|
}
|
|
2649
|
-
}),
|
|
2695
|
+
}), Pr = { class: "flex flex-col overflow-hidden rounded-sm border border-outline-variant" }, Fr = {
|
|
2650
2696
|
key: 0,
|
|
2651
2697
|
class: "flex flex-wrap items-center gap-3 border-b border-outline-variant bg-surface-container-lowest px-4 py-2.5"
|
|
2652
|
-
},
|
|
2698
|
+
}, Ir = {
|
|
2653
2699
|
key: 0,
|
|
2654
2700
|
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"
|
|
2655
|
-
},
|
|
2701
|
+
}, Lr = ["placeholder"], Rr = {
|
|
2656
2702
|
key: 0,
|
|
2657
2703
|
class: "rounded-full bg-primary/12 px-3 py-1 text-label-small font-medium text-primary"
|
|
2658
|
-
},
|
|
2704
|
+
}, zr = {
|
|
2659
2705
|
key: 1,
|
|
2660
2706
|
class: "relative"
|
|
2661
|
-
},
|
|
2707
|
+
}, Br = {
|
|
2662
2708
|
key: 0,
|
|
2663
2709
|
class: "absolute right-0 top-full z-10 mt-1 min-w-40 rounded-lg bg-surface-container py-2 shadow-elevation-3"
|
|
2664
|
-
},
|
|
2710
|
+
}, Vr = { class: "text-body-small text-on-surface" }, Hr = { class: "w-full border-collapse" }, Ur = { class: "bg-surface-container-high" }, Wr = ["onClick"], Gr = { class: "inline-flex items-center gap-1" }, Kr = {
|
|
2665
2711
|
key: 0,
|
|
2666
2712
|
class: "inline-flex"
|
|
2667
|
-
},
|
|
2713
|
+
}, qr = ["onPointerdown"], Jr = { key: 1 }, Yr = ["colspan"], Xr = { class: "text-body-medium text-on-surface-variant" }, Zr = ["onClick"], Qr = ["onClick"], $r = { key: 0 }, ei = ["colspan"], ti = { class: "dt-expand-body" }, ni = { class: "px-6 py-4" }, ri = { class: "flex items-center justify-between gap-4 border-t border-outline-variant bg-surface-container-lowest px-4 py-2" }, ii = { class: "text-label-small text-on-surface-variant" }, ai = 200, oi = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
2668
2714
|
__name: "MDataTable",
|
|
2669
2715
|
props: {
|
|
2670
2716
|
columns: {},
|
|
@@ -2872,7 +2918,7 @@ var st = /* @__PURE__ */ D({
|
|
|
2872
2918
|
return o.perPage;
|
|
2873
2919
|
}), me = v(() => {
|
|
2874
2920
|
let e = o.minHeight ? fe(o.minHeight) : null;
|
|
2875
|
-
return e === null ? `${
|
|
2921
|
+
return e === null ? `${ai}px` : `${Math.max(e - de.value, 0)}px`;
|
|
2876
2922
|
}), he = null, ge = 0, _e = 0;
|
|
2877
2923
|
function ve(e, t) {
|
|
2878
2924
|
e.preventDefault(), he = t.key, ge = e.clientX, _e = D.value[t.key] ?? 150, window.addEventListener("pointermove", ye), window.addEventListener("pointerup", be);
|
|
@@ -2905,9 +2951,9 @@ var st = /* @__PURE__ */ D({
|
|
|
2905
2951
|
minWidth: e.minWidth
|
|
2906
2952
|
};
|
|
2907
2953
|
}
|
|
2908
|
-
return (t, n) => (L(), S("div",
|
|
2909
|
-
e.searchable || e.columnToggle || e.exportable || t.$slots.toolbar ? (L(), S("div",
|
|
2910
|
-
e.searchable ? (L(), S("div",
|
|
2954
|
+
return (t, n) => (L(), S("div", Pr, [
|
|
2955
|
+
e.searchable || e.columnToggle || e.exportable || t.$slots.toolbar ? (L(), S("div", Fr, [
|
|
2956
|
+
e.searchable ? (L(), S("div", Ir, [
|
|
2911
2957
|
E(r, {
|
|
2912
2958
|
name: "search",
|
|
2913
2959
|
size: 16,
|
|
@@ -2918,7 +2964,7 @@ var st = /* @__PURE__ */ D({
|
|
|
2918
2964
|
type: "text",
|
|
2919
2965
|
placeholder: e.searchPlaceholder ?? q(i).search,
|
|
2920
2966
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant"
|
|
2921
|
-
}, null, 8,
|
|
2967
|
+
}, null, 8, Lr), [[Y, f.value]]),
|
|
2922
2968
|
f.value ? (L(), S("button", {
|
|
2923
2969
|
key: 0,
|
|
2924
2970
|
class: "text-on-surface-variant transition-colors hover:text-on-surface",
|
|
@@ -2935,21 +2981,21 @@ var st = /* @__PURE__ */ D({
|
|
|
2935
2981
|
"leave-active-class": "transition-[opacity,transform] duration-100",
|
|
2936
2982
|
"leave-to-class": "opacity-0 scale-90"
|
|
2937
2983
|
}, {
|
|
2938
|
-
default: Z(() => [e.selectable && W.value.length > 0 ? (L(), S("span",
|
|
2984
|
+
default: Z(() => [e.selectable && W.value.length > 0 ? (L(), S("span", Rr, K(W.value.length) + " " + K(e.selectedText ?? q(i).selectedCount) + K(W.value.length === 1 ? "" : "s"), 1)) : x("", !0)]),
|
|
2939
2985
|
_: 1
|
|
2940
2986
|
}),
|
|
2941
|
-
e.columnToggle ? (L(), S("div",
|
|
2987
|
+
e.columnToggle ? (L(), S("div", zr, [E(l, {
|
|
2942
2988
|
icon: "view_column",
|
|
2943
2989
|
label: e.columnsLabel ?? q(i).columns,
|
|
2944
2990
|
size: 36,
|
|
2945
2991
|
onClick: n[2] ||= (e) => O.value = !O.value
|
|
2946
|
-
}, null, 8, ["label"]), O.value ? (L(), S("div",
|
|
2992
|
+
}, null, 8, ["label"]), O.value ? (L(), S("div", Br, [(L(!0), S(m, null, V(e.columns, (e) => (L(), S("label", {
|
|
2947
2993
|
key: e.key,
|
|
2948
2994
|
class: "flex cursor-pointer items-center gap-2 px-3 py-1.5 hover:bg-on-surface/4"
|
|
2949
2995
|
}, [E(Bn, {
|
|
2950
2996
|
"model-value": !w.value.has(e.key),
|
|
2951
2997
|
"onUpdate:modelValue": (t) => w.value.has(e.key) ? w.value.delete(e.key) : w.value.add(e.key)
|
|
2952
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"]), C("span",
|
|
2998
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"]), C("span", Vr, K(e.label), 1)]))), 128))])) : x("", !0)])) : x("", !0),
|
|
2953
2999
|
e.exportable ? (L(), b(l, {
|
|
2954
3000
|
key: 2,
|
|
2955
3001
|
icon: "download",
|
|
@@ -2961,7 +3007,7 @@ var st = /* @__PURE__ */ D({
|
|
|
2961
3007
|
C("div", {
|
|
2962
3008
|
class: "overflow-x-auto",
|
|
2963
3009
|
style: N({ minHeight: e.minHeight })
|
|
2964
|
-
}, [C("table",
|
|
3010
|
+
}, [C("table", Hr, [C("thead", { class: M(e.stickyHeader ? "sticky top-0 z-1" : "") }, [C("tr", Ur, [
|
|
2965
3011
|
d() ? (L(), S("th", {
|
|
2966
3012
|
key: 0,
|
|
2967
3013
|
class: M(["w-10 px-2", e.dense ? "py-2" : "py-3"])
|
|
@@ -2984,7 +3030,7 @@ var st = /* @__PURE__ */ D({
|
|
|
2984
3030
|
t.sortable ? "cursor-pointer select-none hover:text-on-surface transition-colors duration-100" : ""
|
|
2985
3031
|
]),
|
|
2986
3032
|
onClick: (e) => t.sortable ? A(t.key) : void 0
|
|
2987
|
-
}, [C("span",
|
|
3033
|
+
}, [C("span", Gr, [T(K(t.label) + " ", 1), t.sortable ? (L(), S("span", Kr, [p.value === t.key && h.value === "asc" ? (L(), b(r, {
|
|
2988
3034
|
key: 0,
|
|
2989
3035
|
name: "arrow_upward",
|
|
2990
3036
|
size: 14,
|
|
@@ -3003,7 +3049,7 @@ var st = /* @__PURE__ */ D({
|
|
|
3003
3049
|
key: 0,
|
|
3004
3050
|
class: "absolute right-0 top-0 h-full w-1 cursor-col-resize hover:bg-primary/30",
|
|
3005
3051
|
onPointerdown: (e) => ve(e, t)
|
|
3006
|
-
}, null, 40,
|
|
3052
|
+
}, null, 40, qr)) : x("", !0)], 14, Wr))), 128)),
|
|
3007
3053
|
u() ? (L(), S("th", {
|
|
3008
3054
|
key: 2,
|
|
3009
3055
|
class: M(["w-1 px-4", e.dense ? "py-2" : "py-3"])
|
|
@@ -3031,7 +3077,7 @@ var st = /* @__PURE__ */ D({
|
|
|
3031
3077
|
key: 2,
|
|
3032
3078
|
class: M(e.dense ? "px-4 py-2" : "px-4 py-3.5")
|
|
3033
3079
|
}, [...n[7] ||= [C("div", { class: "ml-auto h-4 w-16 animate-pulse rounded-full bg-on-surface/10" }, null, -1)]], 2)) : x("", !0)
|
|
3034
|
-
]))), 128)) : R.value.length === 0 ? (L(), S("tr",
|
|
3080
|
+
]))), 128)) : R.value.length === 0 ? (L(), S("tr", Jr, [C("td", {
|
|
3035
3081
|
colspan: k.value.length + se(),
|
|
3036
3082
|
class: "border-t border-outline-variant px-4 text-center"
|
|
3037
3083
|
}, [C("div", {
|
|
@@ -3041,7 +3087,7 @@ var st = /* @__PURE__ */ D({
|
|
|
3041
3087
|
name: "search_off",
|
|
3042
3088
|
size: 36,
|
|
3043
3089
|
class: "mb-2 text-on-surface-variant opacity-30"
|
|
3044
|
-
}), C("p",
|
|
3090
|
+
}), C("p", Xr, K(e.emptyText ?? q(i).noResults), 1)], !0)], 4)], 8, Yr)])) : (L(!0), S(m, { key: 2 }, V(R.value, (r) => (L(), S(m, { key: G(r) }, [C("tr", {
|
|
3045
3091
|
class: M([
|
|
3046
3092
|
"border-t border-outline-variant transition-colors duration-100",
|
|
3047
3093
|
"hover:bg-on-surface/4",
|
|
@@ -3073,7 +3119,7 @@ var st = /* @__PURE__ */ D({
|
|
|
3073
3119
|
}, [E(Bn, {
|
|
3074
3120
|
"model-value": J(r),
|
|
3075
3121
|
"onUpdate:modelValue": (e) => ee(r)
|
|
3076
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"])], 10,
|
|
3122
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])], 10, Qr)) : x("", !0),
|
|
3077
3123
|
(L(!0), S(m, null, V(k.value, (n) => (L(), S("td", {
|
|
3078
3124
|
key: n.key,
|
|
3079
3125
|
class: M([
|
|
@@ -3091,11 +3137,11 @@ var st = /* @__PURE__ */ D({
|
|
|
3091
3137
|
class: M(["text-right", e.dense ? "px-4 py-1" : "px-4 py-3"]),
|
|
3092
3138
|
onClick: n[4] ||= Q(() => {}, ["stop"])
|
|
3093
3139
|
}, [H(t.$slots, "row-actions", { row: r }, void 0, !0)], 2)) : x("", !0)
|
|
3094
|
-
], 10,
|
|
3140
|
+
], 10, Zr), d() ? (L(), S("tr", $r, [C("td", {
|
|
3095
3141
|
colspan: k.value.length + se(),
|
|
3096
3142
|
class: "border-t border-outline-variant/50 bg-surface-container-lowest p-0"
|
|
3097
|
-
}, [C("div", { class: M(["dt-expand-grid", oe(r) ? "dt-expand-open" : ""]) }, [C("div",
|
|
3098
|
-
C("div",
|
|
3143
|
+
}, [C("div", { class: M(["dt-expand-grid", oe(r) ? "dt-expand-open" : ""]) }, [C("div", ti, [C("div", ni, [H(t.$slots, "row-expand", { row: r }, void 0, !0)])])], 2)], 8, ei)])) : x("", !0)], 64))), 128))])])], 4),
|
|
3144
|
+
C("div", ri, [C("span", ii, K(I.value) + " " + K(e.recordsText ?? q(i).recordCount) + K(I.value === 1 ? "" : "s"), 1), E(Nr, {
|
|
3099
3145
|
page: j.value,
|
|
3100
3146
|
"per-page": e.perPage,
|
|
3101
3147
|
total: I.value,
|
|
@@ -3107,19 +3153,19 @@ var st = /* @__PURE__ */ D({
|
|
|
3107
3153
|
])])
|
|
3108
3154
|
]));
|
|
3109
3155
|
}
|
|
3110
|
-
}), [["__scopeId", "data-v-cff43e1f"]]),
|
|
3156
|
+
}), [["__scopeId", "data-v-cff43e1f"]]), si = { class: "flex flex-col gap-1" }, ci = {
|
|
3111
3157
|
key: 0,
|
|
3112
3158
|
class: "flex-1 text-on-surface"
|
|
3113
|
-
},
|
|
3159
|
+
}, li = {
|
|
3114
3160
|
key: 1,
|
|
3115
3161
|
class: "flex-1 text-on-surface-variant"
|
|
3116
|
-
},
|
|
3162
|
+
}, ui = {
|
|
3117
3163
|
key: 0,
|
|
3118
3164
|
class: "px-4 text-body-small text-error"
|
|
3119
|
-
},
|
|
3165
|
+
}, di = {
|
|
3120
3166
|
key: 1,
|
|
3121
3167
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
3122
|
-
},
|
|
3168
|
+
}, fi = { class: "mb-3 flex items-center justify-between" }, pi = { class: "text-title-small font-medium capitalize text-on-surface" }, mi = { class: "mb-1 grid grid-cols-7 gap-0.5 text-center" }, hi = { class: "grid grid-cols-7 gap-0.5" }, gi = ["disabled", "onClick"], _i = /* @__PURE__ */ D({
|
|
3123
3169
|
__name: "MDatePicker",
|
|
3124
3170
|
props: {
|
|
3125
3171
|
modelValue: {},
|
|
@@ -3236,7 +3282,7 @@ var st = /* @__PURE__ */ D({
|
|
|
3236
3282
|
e ? (H(), setTimeout(() => document.addEventListener("mousedown", U), 0)) : document.removeEventListener("mousedown", U);
|
|
3237
3283
|
}), F(() => window.addEventListener("scroll", W, !0)), I(() => {
|
|
3238
3284
|
window.removeEventListener("scroll", W, !0), document.removeEventListener("mousedown", U);
|
|
3239
|
-
}), (t, n) => (L(), S("div",
|
|
3285
|
+
}), (t, n) => (L(), S("div", si, [
|
|
3240
3286
|
C("div", {
|
|
3241
3287
|
ref_key: "triggerEl",
|
|
3242
3288
|
ref: u,
|
|
@@ -3252,7 +3298,7 @@ var st = /* @__PURE__ */ D({
|
|
|
3252
3298
|
size: 20,
|
|
3253
3299
|
class: "shrink-0 text-on-surface-variant"
|
|
3254
3300
|
}),
|
|
3255
|
-
z.value ? (L(), S("span",
|
|
3301
|
+
z.value ? (L(), S("span", ci, K(z.value), 1)) : (L(), S("span", li, K(e.placeholder || e.label || q(o).selectDate), 1)),
|
|
3256
3302
|
e.modelValue ? (L(), b(r, {
|
|
3257
3303
|
key: 2,
|
|
3258
3304
|
name: "close",
|
|
@@ -3264,7 +3310,7 @@ var st = /* @__PURE__ */ D({
|
|
|
3264
3310
|
key: 0,
|
|
3265
3311
|
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"])
|
|
3266
3312
|
}, K(e.label), 3)) : x("", !0)], 4),
|
|
3267
|
-
e.error && e.errorLabel ? (L(), S("p",
|
|
3313
|
+
e.error && e.errorLabel ? (L(), S("p", ui, K(e.errorLabel), 1)) : e.hint ? (L(), S("p", di, K(e.hint), 1)) : x("", !0),
|
|
3268
3314
|
(L(), b(h, { to: "body" }, [E(g, {
|
|
3269
3315
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
3270
3316
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
@@ -3278,14 +3324,14 @@ var st = /* @__PURE__ */ D({
|
|
|
3278
3324
|
class: "fixed z-500 w-[320px] rounded-lg bg-surface-container p-4 shadow-elevation-3",
|
|
3279
3325
|
style: N(f.value)
|
|
3280
3326
|
}, [
|
|
3281
|
-
C("div",
|
|
3327
|
+
C("div", fi, [
|
|
3282
3328
|
E(l, {
|
|
3283
3329
|
icon: "chevron_left",
|
|
3284
3330
|
label: e.prevMonthLabel ?? q(o).previousMonth,
|
|
3285
3331
|
size: 36,
|
|
3286
3332
|
onClick: A
|
|
3287
3333
|
}, null, 8, ["label"]),
|
|
3288
|
-
C("span",
|
|
3334
|
+
C("span", pi, K(w.value), 1),
|
|
3289
3335
|
E(l, {
|
|
3290
3336
|
icon: "chevron_right",
|
|
3291
3337
|
label: e.nextMonthLabel ?? q(o).nextMonth,
|
|
@@ -3293,29 +3339,29 @@ var st = /* @__PURE__ */ D({
|
|
|
3293
3339
|
onClick: j
|
|
3294
3340
|
}, null, 8, ["label"])
|
|
3295
3341
|
]),
|
|
3296
|
-
C("div",
|
|
3342
|
+
C("div", mi, [(L(!0), S(m, null, V(q(y), (e) => (L(), S("span", {
|
|
3297
3343
|
key: e,
|
|
3298
3344
|
class: "py-1 text-label-small font-medium text-on-surface-variant"
|
|
3299
3345
|
}, K(e), 1))), 128))]),
|
|
3300
|
-
C("div",
|
|
3346
|
+
C("div", hi, [(L(!0), S(m, null, V(T.value, (t, n) => (L(), S("button", {
|
|
3301
3347
|
key: n,
|
|
3302
3348
|
type: "button",
|
|
3303
3349
|
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"]]),
|
|
3304
3350
|
disabled: t.disabled,
|
|
3305
3351
|
onClick: (e) => P(t)
|
|
3306
|
-
}, K(t.date), 11,
|
|
3352
|
+
}, K(t.date), 11, gi))), 128))])
|
|
3307
3353
|
], 4)) : x("", !0)]),
|
|
3308
3354
|
_: 1
|
|
3309
3355
|
})]))
|
|
3310
3356
|
]));
|
|
3311
3357
|
}
|
|
3312
|
-
}),
|
|
3358
|
+
}), vi = { class: "dp-box w-[360px] rounded-[28px] bg-surface-container-high shadow-elevation-3" }, yi = { class: "px-6 pt-6 pb-4" }, bi = { class: "mb-3 text-label-medium text-on-surface-variant" }, xi = { class: "flex items-center justify-between" }, Si = { class: "text-headline-medium font-medium capitalize text-on-surface" }, Ci = {
|
|
3313
3359
|
key: 0,
|
|
3314
3360
|
class: "px-4 pt-3 pb-2"
|
|
3315
|
-
},
|
|
3361
|
+
}, wi = { class: "mb-2 flex items-center justify-between" }, Ti = { class: "text-title-small font-medium capitalize text-on-surface" }, Ei = { class: "mb-1 grid grid-cols-7 gap-0.5 text-center" }, Di = { class: "grid grid-cols-7 gap-0.5" }, Oi = ["disabled", "onClick"], ki = {
|
|
3316
3362
|
key: 1,
|
|
3317
3363
|
class: "px-6 py-6"
|
|
3318
|
-
},
|
|
3364
|
+
}, Ai = { class: "flex justify-end gap-2 px-6 pb-4" }, ji = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
3319
3365
|
__name: "MDatePickerModal",
|
|
3320
3366
|
props: {
|
|
3321
3367
|
modelValue: { default: null },
|
|
@@ -3426,22 +3472,22 @@ var st = /* @__PURE__ */ D({
|
|
|
3426
3472
|
key: 0,
|
|
3427
3473
|
class: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",
|
|
3428
3474
|
onClick: Q(I, ["self"])
|
|
3429
|
-
}, [C("div",
|
|
3430
|
-
C("div",
|
|
3475
|
+
}, [C("div", vi, [
|
|
3476
|
+
C("div", yi, [C("p", bi, K(e.title || q(a).selectDate), 1), C("div", xi, [C("span", Si, K(j.value), 1), E(l, {
|
|
3431
3477
|
icon: s.value === "calendar" ? "edit" : "calendar_today",
|
|
3432
3478
|
label: s.value === "calendar" ? "Switch to input" : "Switch to calendar",
|
|
3433
3479
|
onClick: n[0] ||= (e) => s.value = s.value === "calendar" ? "input" : "calendar"
|
|
3434
3480
|
}, null, 8, ["icon", "label"])])]),
|
|
3435
3481
|
n[4] ||= C("div", { class: "h-px bg-outline-variant" }, null, -1),
|
|
3436
|
-
s.value === "calendar" ? (L(), S("div",
|
|
3437
|
-
C("div",
|
|
3482
|
+
s.value === "calendar" ? (L(), S("div", Ci, [
|
|
3483
|
+
C("div", wi, [
|
|
3438
3484
|
E(l, {
|
|
3439
3485
|
icon: "chevron_left",
|
|
3440
3486
|
label: q(a).previousMonth,
|
|
3441
3487
|
size: 36,
|
|
3442
3488
|
onClick: O
|
|
3443
3489
|
}, null, 8, ["label"]),
|
|
3444
|
-
C("span",
|
|
3490
|
+
C("span", Ti, K(p.value), 1),
|
|
3445
3491
|
E(l, {
|
|
3446
3492
|
icon: "chevron_right",
|
|
3447
3493
|
label: q(a).nextMonth,
|
|
@@ -3449,18 +3495,18 @@ var st = /* @__PURE__ */ D({
|
|
|
3449
3495
|
onClick: k
|
|
3450
3496
|
}, null, 8, ["label"])
|
|
3451
3497
|
]),
|
|
3452
|
-
C("div",
|
|
3498
|
+
C("div", Ei, [(L(!0), S(m, null, V(f.value, (e) => (L(), S("span", {
|
|
3453
3499
|
key: e,
|
|
3454
3500
|
class: "py-1 text-label-small font-medium text-on-surface-variant"
|
|
3455
3501
|
}, K(e), 1))), 128))]),
|
|
3456
|
-
C("div",
|
|
3502
|
+
C("div", Di, [(L(!0), S(m, null, V(_.value, (e, t) => (L(), S("button", {
|
|
3457
3503
|
key: t,
|
|
3458
3504
|
type: "button",
|
|
3459
3505
|
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 === c.value ? "bg-primary text-on-primary" : e.iso === q(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"]]),
|
|
3460
3506
|
disabled: e.disabled,
|
|
3461
3507
|
onClick: (t) => A(e)
|
|
3462
|
-
}, K(e.date), 11,
|
|
3463
|
-
])) : (L(), S("div",
|
|
3508
|
+
}, K(e.date), 11, Oi))), 128))])
|
|
3509
|
+
])) : (L(), S("div", ki, [n[2] ||= C("label", { class: "mb-2 block text-label-medium text-on-surface-variant" }, "Date (DD/MM/YYYY)", -1), ie(C("input", {
|
|
3464
3510
|
"onUpdate:modelValue": n[1] ||= (e) => d.value = e,
|
|
3465
3511
|
type: "text",
|
|
3466
3512
|
placeholder: "23/06/2026",
|
|
@@ -3469,7 +3515,7 @@ var st = /* @__PURE__ */ D({
|
|
|
3469
3515
|
onKeydown: ae(F, ["enter"]),
|
|
3470
3516
|
onBlur: F
|
|
3471
3517
|
}, null, 544), [[Y, d.value]])])),
|
|
3472
|
-
C("div",
|
|
3518
|
+
C("div", Ai, [E(i, {
|
|
3473
3519
|
variant: "text",
|
|
3474
3520
|
onClick: I
|
|
3475
3521
|
}, {
|
|
@@ -3487,23 +3533,23 @@ var st = /* @__PURE__ */ D({
|
|
|
3487
3533
|
_: 1
|
|
3488
3534
|
})]));
|
|
3489
3535
|
}
|
|
3490
|
-
}), [["__scopeId", "data-v-ac5f05d4"]]),
|
|
3536
|
+
}), [["__scopeId", "data-v-ac5f05d4"]]), Mi = { class: "flex flex-col gap-1" }, Ni = {
|
|
3491
3537
|
key: 0,
|
|
3492
3538
|
class: "flex-1 text-on-surface"
|
|
3493
|
-
},
|
|
3539
|
+
}, Pi = {
|
|
3494
3540
|
key: 1,
|
|
3495
3541
|
class: "flex-1 text-on-surface-variant"
|
|
3496
|
-
},
|
|
3542
|
+
}, Fi = {
|
|
3497
3543
|
key: 0,
|
|
3498
3544
|
class: "px-4 text-body-small text-error"
|
|
3499
|
-
},
|
|
3545
|
+
}, Ii = {
|
|
3500
3546
|
key: 1,
|
|
3501
3547
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
3502
|
-
},
|
|
3548
|
+
}, Li = { class: "mb-2 text-center text-label-medium text-on-surface-variant" }, Ri = { class: "mb-3 flex items-center justify-between" }, zi = { class: "text-title-small font-medium capitalize text-on-surface" }, Bi = { class: "mb-1 grid grid-cols-7 gap-0.5 text-center" }, Vi = { class: "grid grid-cols-7 gap-0.5" }, Hi = [
|
|
3503
3549
|
"disabled",
|
|
3504
3550
|
"onMouseenter",
|
|
3505
3551
|
"onClick"
|
|
3506
|
-
],
|
|
3552
|
+
], Ui = /* @__PURE__ */ D({
|
|
3507
3553
|
__name: "MDateRangePicker",
|
|
3508
3554
|
props: {
|
|
3509
3555
|
modelValue: {},
|
|
@@ -3637,7 +3683,7 @@ var st = /* @__PURE__ */ D({
|
|
|
3637
3683
|
e ? (f.value = i.modelValue.start && !i.modelValue.end ? "end" : "start", G(), setTimeout(() => document.addEventListener("mousedown", J), 0)) : document.removeEventListener("mousedown", J);
|
|
3638
3684
|
}), F(() => window.addEventListener("scroll", ee, !0)), I(() => {
|
|
3639
3685
|
window.removeEventListener("scroll", ee, !0), document.removeEventListener("mousedown", J);
|
|
3640
|
-
}), (t, n) => (L(), S("div",
|
|
3686
|
+
}), (t, n) => (L(), S("div", Mi, [
|
|
3641
3687
|
C("div", {
|
|
3642
3688
|
ref_key: "triggerEl",
|
|
3643
3689
|
ref: u,
|
|
@@ -3653,7 +3699,7 @@ var st = /* @__PURE__ */ D({
|
|
|
3653
3699
|
size: 20,
|
|
3654
3700
|
class: "shrink-0 text-on-surface-variant"
|
|
3655
3701
|
}),
|
|
3656
|
-
U.value ? (L(), S("span",
|
|
3702
|
+
U.value ? (L(), S("span", Ni, K(U.value), 1)) : (L(), S("span", Pi, K(e.label || e.placeholder || q(o).selectRange), 1)),
|
|
3657
3703
|
e.modelValue.start || e.modelValue.end ? (L(), b(r, {
|
|
3658
3704
|
key: 2,
|
|
3659
3705
|
name: "close",
|
|
@@ -3665,7 +3711,7 @@ var st = /* @__PURE__ */ D({
|
|
|
3665
3711
|
key: 0,
|
|
3666
3712
|
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"])
|
|
3667
3713
|
}, K(e.label), 3)) : x("", !0)], 4),
|
|
3668
|
-
e.error && e.errorLabel ? (L(), S("p",
|
|
3714
|
+
e.error && e.errorLabel ? (L(), S("p", Fi, K(e.errorLabel), 1)) : e.hint ? (L(), S("p", Ii, K(e.hint), 1)) : x("", !0),
|
|
3669
3715
|
(L(), b(h, { to: "body" }, [E(g, {
|
|
3670
3716
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
3671
3717
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
@@ -3679,15 +3725,15 @@ var st = /* @__PURE__ */ D({
|
|
|
3679
3725
|
class: "fixed z-500 w-[320px] rounded-lg bg-surface-container p-4 shadow-elevation-3",
|
|
3680
3726
|
style: N(_.value)
|
|
3681
3727
|
}, [
|
|
3682
|
-
C("p",
|
|
3683
|
-
C("div",
|
|
3728
|
+
C("p", Li, K(f.value === "start" ? e.pickStartText ?? q(o).pickStart : e.pickEndText ?? q(o).pickEnd), 1),
|
|
3729
|
+
C("div", Ri, [
|
|
3684
3730
|
E(l, {
|
|
3685
3731
|
icon: "chevron_left",
|
|
3686
3732
|
label: e.prevMonthLabel ?? q(o).previousMonth,
|
|
3687
3733
|
size: 36,
|
|
3688
3734
|
onClick: z
|
|
3689
3735
|
}, null, 8, ["label"]),
|
|
3690
|
-
C("span",
|
|
3736
|
+
C("span", zi, K(D.value), 1),
|
|
3691
3737
|
E(l, {
|
|
3692
3738
|
icon: "chevron_right",
|
|
3693
3739
|
label: e.nextMonthLabel ?? q(o).nextMonth,
|
|
@@ -3695,28 +3741,28 @@ var st = /* @__PURE__ */ D({
|
|
|
3695
3741
|
onClick: H
|
|
3696
3742
|
}, null, 8, ["label"])
|
|
3697
3743
|
]),
|
|
3698
|
-
C("div",
|
|
3744
|
+
C("div", Bi, [(L(!0), S(m, null, V(q(T), (e) => (L(), S("span", {
|
|
3699
3745
|
key: e,
|
|
3700
3746
|
class: "py-1 text-label-small font-medium text-on-surface-variant"
|
|
3701
3747
|
}, K(e), 1))), 128))]),
|
|
3702
|
-
C("div",
|
|
3748
|
+
C("div", Vi, [(L(!0), S(m, null, V(O.value, (t, n) => (L(), S("button", {
|
|
3703
3749
|
key: n,
|
|
3704
3750
|
type: "button",
|
|
3705
3751
|
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 === q(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"]]),
|
|
3706
3752
|
disabled: t.disabled,
|
|
3707
3753
|
onMouseenter: (e) => f.value === "end" && (p.value = t.iso),
|
|
3708
3754
|
onClick: (e) => P(t)
|
|
3709
|
-
}, K(t.date), 43,
|
|
3755
|
+
}, K(t.date), 43, Hi))), 128))])
|
|
3710
3756
|
], 4)) : x("", !0)]),
|
|
3711
3757
|
_: 1
|
|
3712
3758
|
})]))
|
|
3713
3759
|
]));
|
|
3714
3760
|
}
|
|
3715
|
-
}),
|
|
3761
|
+
}), Wi = { class: "drp-box w-[360px] rounded-[28px] bg-surface-container-high shadow-elevation-3" }, Gi = { class: "px-6 pt-6 pb-4" }, Ki = { class: "mb-3 text-label-medium text-on-surface-variant" }, qi = { class: "flex items-center gap-3" }, Ji = { class: "text-label-small text-on-surface-variant" }, Yi = { class: "text-title-medium font-medium capitalize" }, Xi = { class: "text-label-small text-on-surface-variant" }, Zi = { class: "text-title-medium font-medium capitalize" }, Qi = { class: "px-4 pt-3 pb-2" }, $i = { class: "mb-2 flex items-center justify-between" }, ea = { class: "text-title-small font-medium capitalize text-on-surface" }, ta = { class: "mb-1 grid grid-cols-7 gap-0.5 text-center" }, na = { class: "grid grid-cols-7 gap-0.5" }, ra = [
|
|
3716
3762
|
"disabled",
|
|
3717
3763
|
"onMouseenter",
|
|
3718
3764
|
"onClick"
|
|
3719
|
-
],
|
|
3765
|
+
], ia = { class: "flex justify-end gap-2 px-6 py-4" }, aa = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
3720
3766
|
__name: "MDateRangePickerModal",
|
|
3721
3767
|
props: {
|
|
3722
3768
|
modelValue: {},
|
|
@@ -3823,28 +3869,28 @@ var st = /* @__PURE__ */ D({
|
|
|
3823
3869
|
key: 0,
|
|
3824
3870
|
class: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",
|
|
3825
3871
|
onClick: Q(F, ["self"])
|
|
3826
|
-
}, [C("div",
|
|
3827
|
-
C("div",
|
|
3872
|
+
}, [C("div", Wi, [
|
|
3873
|
+
C("div", Gi, [C("p", Ki, K(e.title || q(a).selectRange), 1), C("div", qi, [
|
|
3828
3874
|
C("div", {
|
|
3829
3875
|
class: M(["flex-1 rounded-lg px-3 py-2 text-center transition-colors", s.value === "start" ? "bg-primary-container text-on-primary-container" : "bg-surface-container-highest text-on-surface"]),
|
|
3830
3876
|
onClick: n[0] ||= (e) => s.value = "start"
|
|
3831
|
-
}, [C("p",
|
|
3877
|
+
}, [C("p", Ji, K(q(a).pickStart), 1), C("p", Yi, K(P(c.value)), 1)], 2),
|
|
3832
3878
|
n[2] ||= C("span", { class: "text-on-surface-variant" }, "→", -1),
|
|
3833
3879
|
C("div", {
|
|
3834
3880
|
class: M(["flex-1 rounded-lg px-3 py-2 text-center transition-colors", s.value === "end" ? "bg-primary-container text-on-primary-container" : "bg-surface-container-highest text-on-surface"]),
|
|
3835
3881
|
onClick: n[1] ||= (e) => c.value && (s.value = "end")
|
|
3836
|
-
}, [C("p",
|
|
3882
|
+
}, [C("p", Xi, K(q(a).pickEnd), 1), C("p", Zi, K(P(u.value)), 1)], 2)
|
|
3837
3883
|
])]),
|
|
3838
3884
|
n[4] ||= C("div", { class: "h-px bg-outline-variant" }, null, -1),
|
|
3839
|
-
C("div",
|
|
3840
|
-
C("div",
|
|
3885
|
+
C("div", Qi, [
|
|
3886
|
+
C("div", $i, [
|
|
3841
3887
|
E(l, {
|
|
3842
3888
|
icon: "chevron_left",
|
|
3843
3889
|
label: q(a).previousMonth,
|
|
3844
3890
|
size: 36,
|
|
3845
3891
|
onClick: k
|
|
3846
3892
|
}, null, 8, ["label"]),
|
|
3847
|
-
C("span",
|
|
3893
|
+
C("span", ea, K(_.value), 1),
|
|
3848
3894
|
E(l, {
|
|
3849
3895
|
icon: "chevron_right",
|
|
3850
3896
|
label: q(a).nextMonth,
|
|
@@ -3852,20 +3898,20 @@ var st = /* @__PURE__ */ D({
|
|
|
3852
3898
|
onClick: A
|
|
3853
3899
|
}, null, 8, ["label"])
|
|
3854
3900
|
]),
|
|
3855
|
-
C("div",
|
|
3901
|
+
C("div", ta, [(L(!0), S(m, null, V(p.value, (e) => (L(), S("span", {
|
|
3856
3902
|
key: e,
|
|
3857
3903
|
class: "py-1 text-label-small font-medium text-on-surface-variant"
|
|
3858
3904
|
}, K(e), 1))), 128))]),
|
|
3859
|
-
C("div",
|
|
3905
|
+
C("div", na, [(L(!0), S(m, null, V(y.value, (e, t) => (L(), S("button", {
|
|
3860
3906
|
key: t,
|
|
3861
3907
|
type: "button",
|
|
3862
3908
|
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 === c.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 === q(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"]]),
|
|
3863
3909
|
disabled: e.disabled,
|
|
3864
3910
|
onMouseenter: (t) => s.value === "end" && (d.value = e.iso),
|
|
3865
3911
|
onClick: (t) => j(e)
|
|
3866
|
-
}, K(e.date), 43,
|
|
3912
|
+
}, K(e.date), 43, ra))), 128))])
|
|
3867
3913
|
]),
|
|
3868
|
-
C("div",
|
|
3914
|
+
C("div", ia, [E(i, {
|
|
3869
3915
|
variant: "text",
|
|
3870
3916
|
onClick: F
|
|
3871
3917
|
}, {
|
|
@@ -3883,17 +3929,17 @@ var st = /* @__PURE__ */ D({
|
|
|
3883
3929
|
_: 1
|
|
3884
3930
|
})]));
|
|
3885
3931
|
}
|
|
3886
|
-
}), [["__scopeId", "data-v-fcb7a791"]]),
|
|
3932
|
+
}), [["__scopeId", "data-v-fcb7a791"]]), oa = {
|
|
3887
3933
|
key: 0,
|
|
3888
3934
|
class: "shrink-0 text-label-small text-on-surface-variant"
|
|
3889
|
-
},
|
|
3935
|
+
}, sa = {
|
|
3890
3936
|
key: 1,
|
|
3891
3937
|
class: "h-px flex-1 bg-outline-variant"
|
|
3892
|
-
},
|
|
3938
|
+
}, ca = {
|
|
3893
3939
|
key: 1,
|
|
3894
3940
|
class: "w-px self-stretch bg-outline-variant",
|
|
3895
3941
|
role: "separator"
|
|
3896
|
-
},
|
|
3942
|
+
}, la = /* @__PURE__ */ D({
|
|
3897
3943
|
__name: "MDivider",
|
|
3898
3944
|
props: {
|
|
3899
3945
|
vertical: {
|
|
@@ -3907,25 +3953,25 @@ var st = /* @__PURE__ */ D({
|
|
|
3907
3953
|
}
|
|
3908
3954
|
},
|
|
3909
3955
|
setup(e) {
|
|
3910
|
-
return (t, n) => e.vertical ? (L(), S("div",
|
|
3956
|
+
return (t, n) => e.vertical ? (L(), S("div", ca)) : (L(), S("div", {
|
|
3911
3957
|
key: 0,
|
|
3912
3958
|
class: M(["flex items-center gap-3", e.inset && "ml-16"]),
|
|
3913
3959
|
role: "separator"
|
|
3914
3960
|
}, [
|
|
3915
3961
|
n[0] ||= C("div", { class: "h-px flex-1 bg-outline-variant" }, null, -1),
|
|
3916
|
-
e.label ? (L(), S("span",
|
|
3917
|
-
e.label ? (L(), S("div",
|
|
3962
|
+
e.label ? (L(), S("span", oa, K(e.label), 1)) : x("", !0),
|
|
3963
|
+
e.label ? (L(), S("div", sa)) : x("", !0)
|
|
3918
3964
|
], 2));
|
|
3919
3965
|
}
|
|
3920
|
-
}),
|
|
3966
|
+
}), ua = {
|
|
3921
3967
|
class: "flex flex-col",
|
|
3922
3968
|
role: "listbox"
|
|
3923
|
-
},
|
|
3969
|
+
}, da = [
|
|
3924
3970
|
"draggable",
|
|
3925
3971
|
"onDragstart",
|
|
3926
3972
|
"onDragover",
|
|
3927
3973
|
"onDrop"
|
|
3928
|
-
],
|
|
3974
|
+
], fa = ["onDragstart"], pa = { class: "min-w-0 flex-1" }, ma = { class: "text-body-medium text-on-surface" }, ha = /* @__PURE__ */ D({
|
|
3929
3975
|
__name: "MDragDropList",
|
|
3930
3976
|
props: {
|
|
3931
3977
|
modelValue: {},
|
|
@@ -3969,7 +4015,7 @@ var st = /* @__PURE__ */ D({
|
|
|
3969
4015
|
function p(e) {
|
|
3970
4016
|
return a.value === e ? "opacity-30" : o.value === e && a.value !== null ? "ring-2 ring-primary ring-inset" : "";
|
|
3971
4017
|
}
|
|
3972
|
-
return (t, n) => (L(), S("div",
|
|
4018
|
+
return (t, n) => (L(), S("div", ua, [(L(!0), S(m, null, V(e.modelValue, (n, i) => (L(), S("div", {
|
|
3973
4019
|
key: n.id,
|
|
3974
4020
|
draggable: !e.handle,
|
|
3975
4021
|
class: M(["group flex items-center gap-2 rounded-lg px-3 py-2 transition-all", [p(i), !e.handle && "cursor-grab active:cursor-grabbing"]]),
|
|
@@ -3987,12 +4033,12 @@ var st = /* @__PURE__ */ D({
|
|
|
3987
4033
|
}, [E(r, {
|
|
3988
4034
|
name: "drag_indicator",
|
|
3989
4035
|
size: 20
|
|
3990
|
-
})], 40,
|
|
4036
|
+
})], 40, fa)) : x("", !0), C("div", pa, [H(t.$slots, "default", {
|
|
3991
4037
|
item: n,
|
|
3992
4038
|
index: i
|
|
3993
|
-
}, () => [C("span",
|
|
4039
|
+
}, () => [C("span", ma, K(n.id), 1)])])], 42, da))), 128))]));
|
|
3994
4040
|
}
|
|
3995
|
-
}),
|
|
4041
|
+
}), ga = ["aria-label", "role"], _a = /* @__PURE__ */ D({
|
|
3996
4042
|
__name: "MEmoji",
|
|
3997
4043
|
props: {
|
|
3998
4044
|
emoji: {},
|
|
@@ -4009,9 +4055,9 @@ var st = /* @__PURE__ */ D({
|
|
|
4009
4055
|
}),
|
|
4010
4056
|
"aria-label": e.label,
|
|
4011
4057
|
role: e.label ? "img" : void 0
|
|
4012
|
-
}, K(e.emoji), 13,
|
|
4058
|
+
}, K(e.emoji), 13, ga));
|
|
4013
4059
|
}
|
|
4014
|
-
}),
|
|
4060
|
+
}), va = [
|
|
4015
4061
|
{
|
|
4016
4062
|
id: "smileys",
|
|
4017
4063
|
label: "Smileys",
|
|
@@ -4078,14 +4124,14 @@ var st = /* @__PURE__ */ D({
|
|
|
4078
4124
|
icon: "flag",
|
|
4079
4125
|
emojis: /* @__PURE__ */ "🏁.🚩.🎌.🏴.🏳️.🏳️🌈.🏳️⚧️.🏴☠️.🇦🇷.🇦🇺.🇧🇷.🇨🇦.🇨🇱.🇨🇳.🇨🇴.🇩🇪.🇪🇸.🇫🇷.🇬🇧.🇮🇹.🇯🇵.🇰🇷.🇲🇽.🇳🇱.🇵🇪.🇵🇹.🇷🇺.🇸🇪.🇺🇸.🇻🇪.🇪🇨.🇧🇴.🇵🇾.🇺🇾.🇨🇷.🇵🇦.🇨🇺.🇩🇴.🇬🇹.🇭🇳.🇳🇮.🇸🇻.🇵🇷.🇮🇳.🇮🇩.🇹🇷.🇵🇭.🇹🇭".split(".")
|
|
4080
4126
|
}
|
|
4081
|
-
],
|
|
4082
|
-
function
|
|
4083
|
-
let t = e ??
|
|
4127
|
+
], ya = va.flatMap((e) => e.emojis);
|
|
4128
|
+
function ba(e) {
|
|
4129
|
+
let t = e ?? ya;
|
|
4084
4130
|
return t[Math.floor(Math.random() * t.length)];
|
|
4085
4131
|
}
|
|
4086
4132
|
//#endregion
|
|
4087
4133
|
//#region src/components/MEmojiButton.vue?vue&type=script&setup=true&lang.ts
|
|
4088
|
-
var
|
|
4134
|
+
var xa = ["aria-label", "disabled"], Sa = { class: "leading-none" }, Ca = /* @__PURE__ */ D({
|
|
4089
4135
|
__name: "MEmojiButton",
|
|
4090
4136
|
props: {
|
|
4091
4137
|
emoji: { default: "😀" },
|
|
@@ -4105,10 +4151,10 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4105
4151
|
setup(e, { emit: t }) {
|
|
4106
4152
|
let n = e, r = t, i = B(n.emoji);
|
|
4107
4153
|
function a() {
|
|
4108
|
-
return n.category ?
|
|
4154
|
+
return n.category ? va.find((e) => e.id === n.category)?.emojis ?? ya : ya;
|
|
4109
4155
|
}
|
|
4110
4156
|
function o() {
|
|
4111
|
-
!n.randomOnHover || n.disabled || (i.value =
|
|
4157
|
+
!n.randomOnHover || n.disabled || (i.value = ba(a()));
|
|
4112
4158
|
}
|
|
4113
4159
|
function s() {}
|
|
4114
4160
|
function c() {
|
|
@@ -4127,15 +4173,15 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4127
4173
|
onMouseenter: o,
|
|
4128
4174
|
onMouseleave: s,
|
|
4129
4175
|
onClick: c
|
|
4130
|
-
}, [C("span",
|
|
4176
|
+
}, [C("span", Sa, K(i.value), 1)], 46, xa));
|
|
4131
4177
|
}
|
|
4132
|
-
}),
|
|
4178
|
+
}), wa = { class: "flex w-full flex-col overflow-hidden rounded-xl border border-outline-variant bg-surface-container" }, Ta = {
|
|
4133
4179
|
key: 0,
|
|
4134
4180
|
class: "px-3 pt-3"
|
|
4135
|
-
},
|
|
4181
|
+
}, Ea = { class: "flex gap-0.5 overflow-x-auto border-b border-outline-variant px-2 py-1.5" }, Da = ["title", "onClick"], Oa = { class: "sticky -top-px z-10 -mx-2 bg-surface-container px-3 py-1.5 text-label-medium text-on-surface-variant" }, ka = ["onClick"], Aa = {
|
|
4136
4182
|
key: 0,
|
|
4137
4183
|
class: "py-8 text-center text-body-medium text-on-surface-variant"
|
|
4138
|
-
},
|
|
4184
|
+
}, ja = /* @__PURE__ */ D({
|
|
4139
4185
|
__name: "MEmojiSelector",
|
|
4140
4186
|
props: {
|
|
4141
4187
|
categories: {},
|
|
@@ -4148,7 +4194,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4148
4194
|
},
|
|
4149
4195
|
emits: ["select"],
|
|
4150
4196
|
setup(e, { emit: t }) {
|
|
4151
|
-
let n = e, i = t, a = B(""), o = B(null), s = B(null), c = B({}), l = v(() => n.categories?.length ?
|
|
4197
|
+
let n = e, i = t, a = B(""), o = B(null), s = B(null), c = B({}), l = v(() => n.categories?.length ? va.filter((e) => n.categories.includes(e.id)) : va), d = v(() => {
|
|
4152
4198
|
if (!a.value) return l.value;
|
|
4153
4199
|
let e = a.value.toLowerCase();
|
|
4154
4200
|
return l.value.map((t) => ({
|
|
@@ -4170,15 +4216,15 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4170
4216
|
function h(e, t) {
|
|
4171
4217
|
t && (c.value[e] = t);
|
|
4172
4218
|
}
|
|
4173
|
-
return (t, n) => (L(), S("div",
|
|
4174
|
-
e.search ? (L(), S("div",
|
|
4219
|
+
return (t, n) => (L(), S("div", wa, [
|
|
4220
|
+
e.search ? (L(), S("div", Ta, [E(u, {
|
|
4175
4221
|
modelValue: a.value,
|
|
4176
4222
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
4177
4223
|
label: "Search",
|
|
4178
4224
|
"leading-icon": "search",
|
|
4179
4225
|
variant: "outlined"
|
|
4180
4226
|
}, null, 8, ["modelValue"])])) : x("", !0),
|
|
4181
|
-
C("div",
|
|
4227
|
+
C("div", Ea, [(L(!0), S(m, null, V(l.value, (e) => (L(), S("button", {
|
|
4182
4228
|
key: e.id,
|
|
4183
4229
|
type: "button",
|
|
4184
4230
|
title: e.label,
|
|
@@ -4187,7 +4233,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4187
4233
|
}, [E(r, {
|
|
4188
4234
|
name: e.icon,
|
|
4189
4235
|
size: 20
|
|
4190
|
-
}, null, 8, ["name"])], 10,
|
|
4236
|
+
}, null, 8, ["name"])], 10, Da))), 128))]),
|
|
4191
4237
|
C("div", {
|
|
4192
4238
|
ref_key: "scrollContainer",
|
|
4193
4239
|
ref: s,
|
|
@@ -4197,7 +4243,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4197
4243
|
key: t.id,
|
|
4198
4244
|
ref_for: !0,
|
|
4199
4245
|
ref: (e) => h(t.id, e)
|
|
4200
|
-
}, [C("p",
|
|
4246
|
+
}, [C("p", Oa, K(t.label), 1), C("div", {
|
|
4201
4247
|
class: "grid gap-0.5",
|
|
4202
4248
|
style: N({ gridTemplateColumns: `repeat(${e.columns}, 1fr)` })
|
|
4203
4249
|
}, [(L(!0), S(m, null, V(t.emojis, (t) => (L(), S("button", {
|
|
@@ -4209,10 +4255,10 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4209
4255
|
height: `${e.emojiSize + 10}px`
|
|
4210
4256
|
}),
|
|
4211
4257
|
onClick: (e) => p(t)
|
|
4212
|
-
}, K(t), 13,
|
|
4258
|
+
}, K(t), 13, ka))), 128))], 4)], 512))), 128)), a.value && d.value.length === 0 ? (L(), S("p", Aa, " No results ")) : x("", !0)], 512)
|
|
4213
4259
|
]));
|
|
4214
4260
|
}
|
|
4215
|
-
}),
|
|
4261
|
+
}), Ma = /* @__PURE__ */ D({
|
|
4216
4262
|
__name: "MEmptyState",
|
|
4217
4263
|
props: {
|
|
4218
4264
|
icon: { default: "inbox" },
|
|
@@ -4237,10 +4283,10 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4237
4283
|
}, [H(t.$slots, "actions")], 2)) : x("", !0)
|
|
4238
4284
|
], 2));
|
|
4239
4285
|
}
|
|
4240
|
-
}),
|
|
4286
|
+
}), Na = ["aria-expanded", "disabled"], Pa = { class: "flex-1 min-w-0" }, Fa = { class: "text-body-large font-medium text-on-surface" }, Ia = {
|
|
4241
4287
|
key: 0,
|
|
4242
4288
|
class: "text-body-small text-on-surface-variant"
|
|
4243
|
-
},
|
|
4289
|
+
}, La = { class: "expand-body" }, Ra = { class: "border-t border-outline-variant/60 px-5 py-4" }, za = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
4244
4290
|
__name: "MExpansionPanel",
|
|
4245
4291
|
props: {
|
|
4246
4292
|
title: {},
|
|
@@ -4278,21 +4324,79 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4278
4324
|
size: 22,
|
|
4279
4325
|
class: "shrink-0 text-on-surface-variant"
|
|
4280
4326
|
}, null, 8, ["name"])) : x("", !0),
|
|
4281
|
-
C("div",
|
|
4327
|
+
C("div", Pa, [C("p", Fa, K(e.title), 1), e.subtitle ? (L(), S("p", Ia, K(e.subtitle), 1)) : x("", !0)]),
|
|
4282
4328
|
E(r, {
|
|
4283
4329
|
name: "expand_more",
|
|
4284
4330
|
size: 22,
|
|
4285
4331
|
class: M(["shrink-0 text-on-surface-variant transition-transform duration-200", o.value ? "rotate-180" : ""])
|
|
4286
4332
|
}, null, 8, ["class"])
|
|
4287
|
-
], 10,
|
|
4333
|
+
], 10, Na), C("div", { class: M(["expand-grid", o.value ? "expand-open" : ""]) }, [C("div", La, [C("div", Ra, [H(t.$slots, "default", {}, void 0, !0)])])], 2)], 2));
|
|
4334
|
+
}
|
|
4335
|
+
}), [["__scopeId", "data-v-31731809"]]), Ba = /* @__PURE__ */ D({
|
|
4336
|
+
__name: "MExportButton",
|
|
4337
|
+
props: {
|
|
4338
|
+
data: {},
|
|
4339
|
+
format: { default: "csv" },
|
|
4340
|
+
filename: { default: "export" },
|
|
4341
|
+
label: { default: "Export" },
|
|
4342
|
+
icon: { default: "download" },
|
|
4343
|
+
variant: { default: "outlined" },
|
|
4344
|
+
size: { default: "sm" },
|
|
4345
|
+
disabled: {
|
|
4346
|
+
type: Boolean,
|
|
4347
|
+
default: !1
|
|
4348
|
+
}
|
|
4349
|
+
},
|
|
4350
|
+
emits: ["exported", "error"],
|
|
4351
|
+
setup(e, { emit: t }) {
|
|
4352
|
+
let n = e, r = t;
|
|
4353
|
+
function a(e) {
|
|
4354
|
+
let t = e == null ? "" : String(e);
|
|
4355
|
+
return /[",\n]/.test(t) ? `"${t.replace(/"/g, "\"\"")}"` : t;
|
|
4356
|
+
}
|
|
4357
|
+
function o(e) {
|
|
4358
|
+
if (e.length === 0) return "";
|
|
4359
|
+
let t = Object.keys(e[0]);
|
|
4360
|
+
return [t.map(a).join(","), ...e.map((e) => t.map((t) => a(e[t])).join(","))].join("\n");
|
|
4361
|
+
}
|
|
4362
|
+
function s(e, t, n) {
|
|
4363
|
+
let r = new Blob([e], { type: n }), i = URL.createObjectURL(r), a = document.createElement("a");
|
|
4364
|
+
a.href = i, a.download = t, a.click(), URL.revokeObjectURL(i);
|
|
4365
|
+
}
|
|
4366
|
+
function c() {
|
|
4367
|
+
if (!n.disabled) try {
|
|
4368
|
+
let e = `${n.filename}.${n.format}`;
|
|
4369
|
+
n.format === "json" ? s(JSON.stringify(n.data, null, 2), e, "application/json") : s(o(n.data), e, "text/csv"), r("exported", {
|
|
4370
|
+
format: n.format,
|
|
4371
|
+
filename: e
|
|
4372
|
+
});
|
|
4373
|
+
} catch (e) {
|
|
4374
|
+
r("error", e);
|
|
4375
|
+
}
|
|
4376
|
+
}
|
|
4377
|
+
return (t, n) => (L(), b(i, {
|
|
4378
|
+
variant: e.variant,
|
|
4379
|
+
size: e.size,
|
|
4380
|
+
icon: e.icon,
|
|
4381
|
+
disabled: e.disabled,
|
|
4382
|
+
onClick: c
|
|
4383
|
+
}, {
|
|
4384
|
+
default: Z(() => [H(t.$slots, "default", {}, () => [T(K(e.label), 1)])]),
|
|
4385
|
+
_: 3
|
|
4386
|
+
}, 8, [
|
|
4387
|
+
"variant",
|
|
4388
|
+
"size",
|
|
4389
|
+
"icon",
|
|
4390
|
+
"disabled"
|
|
4391
|
+
]));
|
|
4288
4392
|
}
|
|
4289
|
-
}),
|
|
4393
|
+
}), Va = {
|
|
4290
4394
|
key: 0,
|
|
4291
4395
|
class: "text-label-large font-medium"
|
|
4292
|
-
},
|
|
4396
|
+
}, Ha = {
|
|
4293
4397
|
key: 0,
|
|
4294
4398
|
class: "whitespace-nowrap rounded-md bg-surface-container-high px-3 py-1.5 text-label-medium text-on-surface shadow-elevation-1"
|
|
4295
|
-
},
|
|
4399
|
+
}, Ua = 40, Wa = 8, Ga = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
4296
4400
|
__name: "MFab",
|
|
4297
4401
|
props: {
|
|
4298
4402
|
icon: {},
|
|
@@ -4355,8 +4459,8 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4355
4459
|
let t = 2 * Math.PI * e / a - Math.PI / 2, n = (Math.cos(t) * 80).toFixed(1), o = (Math.sin(t) * 80).toFixed(1);
|
|
4356
4460
|
return {
|
|
4357
4461
|
position: "fixed",
|
|
4358
|
-
top: `${i -
|
|
4359
|
-
left: `${r -
|
|
4462
|
+
top: `${i - Ua / 2}px`,
|
|
4463
|
+
left: `${r - Ua / 2}px`,
|
|
4360
4464
|
transform: s.value ? `translate(${n}px, ${o}px) scale(1)` : "translate(0,0) scale(0)",
|
|
4361
4465
|
opacity: s.value ? "1" : "0",
|
|
4362
4466
|
transition: c,
|
|
@@ -4364,22 +4468,22 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4364
4468
|
zIndex: "1000"
|
|
4365
4469
|
};
|
|
4366
4470
|
}
|
|
4367
|
-
let l = w.value / 2 +
|
|
4471
|
+
let l = w.value / 2 + Wa + Ua / 2 + e * 48, u = {
|
|
4368
4472
|
up: {
|
|
4369
|
-
top: `${i - l -
|
|
4370
|
-
left: `${r -
|
|
4473
|
+
top: `${i - l - Ua / 2}px`,
|
|
4474
|
+
left: `${r - Ua / 2}px`
|
|
4371
4475
|
},
|
|
4372
4476
|
down: {
|
|
4373
|
-
top: `${i + l -
|
|
4374
|
-
left: `${r -
|
|
4477
|
+
top: `${i + l - Ua / 2}px`,
|
|
4478
|
+
left: `${r - Ua / 2}px`
|
|
4375
4479
|
},
|
|
4376
4480
|
left: {
|
|
4377
|
-
top: `${i -
|
|
4378
|
-
left: `${r - l -
|
|
4481
|
+
top: `${i - Ua / 2}px`,
|
|
4482
|
+
left: `${r - l - Ua / 2}px`
|
|
4379
4483
|
},
|
|
4380
4484
|
right: {
|
|
4381
|
-
top: `${i -
|
|
4382
|
-
left: `${r + l -
|
|
4485
|
+
top: `${i - Ua / 2}px`,
|
|
4486
|
+
left: `${r + l - Ua / 2}px`
|
|
4383
4487
|
}
|
|
4384
4488
|
}, d = {
|
|
4385
4489
|
up: "translateY(12px) scale(0.75)",
|
|
@@ -4476,7 +4580,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4476
4580
|
"name",
|
|
4477
4581
|
"size",
|
|
4478
4582
|
"class"
|
|
4479
|
-
]), e.label ? (L(), S("span",
|
|
4583
|
+
]), e.label ? (L(), S("span", Va, K(e.label), 1)) : x("", !0)]),
|
|
4480
4584
|
_: 1
|
|
4481
4585
|
}, 40, [
|
|
4482
4586
|
"to",
|
|
@@ -4487,13 +4591,13 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4487
4591
|
key: n,
|
|
4488
4592
|
style: N(D(n)),
|
|
4489
4593
|
class: M(["flex items-center gap-3", O.value ? "flex-row-reverse" : ""])
|
|
4490
|
-
}, [t.label && O.value ? (L(), S("span",
|
|
4594
|
+
}, [t.label && O.value ? (L(), S("span", Ha, K(t.label), 1)) : x("", !0), (L(), b(W(t.to ? "RouterLink" : "button"), {
|
|
4491
4595
|
to: t.to || void 0,
|
|
4492
4596
|
type: t.to ? void 0 : "button",
|
|
4493
4597
|
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]]),
|
|
4494
4598
|
style: N({
|
|
4495
|
-
width: `${
|
|
4496
|
-
height: `${
|
|
4599
|
+
width: `${Ua}px`,
|
|
4600
|
+
height: `${Ua}px`
|
|
4497
4601
|
}),
|
|
4498
4602
|
onPointerdown: (e) => U(e, t, e.currentTarget)
|
|
4499
4603
|
}, {
|
|
@@ -4522,17 +4626,17 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4522
4626
|
_: 3
|
|
4523
4627
|
})]))], 64));
|
|
4524
4628
|
}
|
|
4525
|
-
}), [["__scopeId", "data-v-02ba313e"]]),
|
|
4629
|
+
}), [["__scopeId", "data-v-02ba313e"]]), Ka = { class: "flex flex-col gap-3" }, qa = { class: "text-center" }, Ja = { class: "text-body-large text-on-surface" }, Ya = { class: "font-medium text-primary" }, Xa = {
|
|
4526
4630
|
key: 0,
|
|
4527
4631
|
class: "mt-1 text-body-small text-on-surface-variant"
|
|
4528
|
-
},
|
|
4632
|
+
}, Za = { key: 0 }, Qa = { key: 1 }, $a = { key: 2 }, eo = [
|
|
4529
4633
|
"accept",
|
|
4530
4634
|
"multiple",
|
|
4531
4635
|
"disabled"
|
|
4532
|
-
],
|
|
4636
|
+
], to = { class: "flex h-10 w-10 shrink-0 items-center justify-center overflow-hidden rounded-md bg-surface-container-high" }, no = ["src"], ro = { class: "min-w-0 flex-1" }, io = { class: "truncate text-body-medium text-on-surface" }, ao = { class: "text-body-small text-on-surface-variant" }, oo = {
|
|
4533
4637
|
key: 0,
|
|
4534
4638
|
class: "mt-1.5 h-1 w-full overflow-hidden rounded-full bg-surface-container-highest"
|
|
4535
|
-
},
|
|
4639
|
+
}, so = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
4536
4640
|
__name: "MFileUpload",
|
|
4537
4641
|
props: {
|
|
4538
4642
|
accept: {},
|
|
@@ -4584,7 +4688,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4584
4688
|
function O() {
|
|
4585
4689
|
a.disabled || d.value?.click();
|
|
4586
4690
|
}
|
|
4587
|
-
return (t, n) => (L(), S("div",
|
|
4691
|
+
return (t, n) => (L(), S("div", Ka, [
|
|
4588
4692
|
C("div", {
|
|
4589
4693
|
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" : u.value ? "border-primary bg-primary-container/20" : "border-outline-variant bg-surface-container-lowest hover:border-primary/60 hover:bg-surface-container"]]),
|
|
4590
4694
|
onClick: O,
|
|
@@ -4596,10 +4700,10 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4596
4700
|
name: u.value ? "downloading" : "cloud_upload",
|
|
4597
4701
|
size: 40,
|
|
4598
4702
|
class: "text-on-surface-variant"
|
|
4599
|
-
}, null, 8, ["name"]), C("div",
|
|
4600
|
-
e.accept ? (L(), S("span",
|
|
4601
|
-
e.accept && e.maxSize ? (L(), S("span",
|
|
4602
|
-
e.maxSize ? (L(), S("span",
|
|
4703
|
+
}, null, 8, ["name"]), C("div", qa, [H(t.$slots, "dropzone", {}, () => [C("p", Ja, [T(K(e.dropText ?? q(i).dropText) + " ", 1), C("span", Ya, K(e.selectText ?? q(i).selectText), 1)]), e.accept || e.maxSize ? (L(), S("p", Xa, [
|
|
4704
|
+
e.accept ? (L(), S("span", Za, K(e.accept), 1)) : x("", !0),
|
|
4705
|
+
e.accept && e.maxSize ? (L(), S("span", Qa, " · ")) : x("", !0),
|
|
4706
|
+
e.maxSize ? (L(), S("span", $a, K(e.maxSizePrefix ?? q(i).maxSizePrefix) + " " + K(h(e.maxSize)), 1)) : x("", !0)
|
|
4603
4707
|
])) : x("", !0)], !0)])], 34),
|
|
4604
4708
|
C("input", {
|
|
4605
4709
|
ref_key: "inputRef",
|
|
@@ -4610,7 +4714,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4610
4714
|
multiple: e.multiple,
|
|
4611
4715
|
disabled: e.disabled,
|
|
4612
4716
|
onChange: w
|
|
4613
|
-
}, null, 40,
|
|
4717
|
+
}, null, 40, eo),
|
|
4614
4718
|
E(_, {
|
|
4615
4719
|
name: "m3-file",
|
|
4616
4720
|
tag: "div",
|
|
@@ -4620,20 +4724,20 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4620
4724
|
key: t.id,
|
|
4621
4725
|
class: "flex items-center gap-3 rounded-lg bg-surface-container p-3"
|
|
4622
4726
|
}, [
|
|
4623
|
-
C("div",
|
|
4727
|
+
C("div", to, [t.preview ? (L(), S("img", {
|
|
4624
4728
|
key: 0,
|
|
4625
4729
|
src: t.preview,
|
|
4626
4730
|
class: "h-full w-full object-cover"
|
|
4627
|
-
}, null, 8,
|
|
4731
|
+
}, null, 8, no)) : (L(), b(r, {
|
|
4628
4732
|
key: 1,
|
|
4629
4733
|
name: "description",
|
|
4630
4734
|
size: 24,
|
|
4631
4735
|
class: "text-on-surface-variant"
|
|
4632
4736
|
}))]),
|
|
4633
|
-
C("div",
|
|
4634
|
-
C("p",
|
|
4635
|
-
C("p",
|
|
4636
|
-
t.status === "uploading" ? (L(), S("div",
|
|
4737
|
+
C("div", ro, [
|
|
4738
|
+
C("p", io, K(t.file.name), 1),
|
|
4739
|
+
C("p", ao, K(h(t.file.size)), 1),
|
|
4740
|
+
t.status === "uploading" ? (L(), S("div", oo, [C("div", {
|
|
4637
4741
|
class: "h-full rounded-full bg-primary transition-[width] duration-300",
|
|
4638
4742
|
style: N({ width: `${t.progress}%` })
|
|
4639
4743
|
}, null, 4)])) : x("", !0)
|
|
@@ -4663,7 +4767,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4663
4767
|
})
|
|
4664
4768
|
]));
|
|
4665
4769
|
}
|
|
4666
|
-
}), [["__scopeId", "data-v-6b150427"]]),
|
|
4770
|
+
}), [["__scopeId", "data-v-6b150427"]]), co = /* @__PURE__ */ D({
|
|
4667
4771
|
__name: "MFixed",
|
|
4668
4772
|
props: {
|
|
4669
4773
|
placement: {},
|
|
@@ -4709,19 +4813,19 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4709
4813
|
});
|
|
4710
4814
|
return (e, t) => (L(), S("div", { style: N(r.value) }, [H(e.$slots, "default")], 4));
|
|
4711
4815
|
}
|
|
4712
|
-
}),
|
|
4816
|
+
}), lo = {
|
|
4713
4817
|
key: 0,
|
|
4714
4818
|
class: "px-6 pt-6 pb-2 sm:px-8 lg:px-12"
|
|
4715
|
-
},
|
|
4819
|
+
}, uo = {
|
|
4716
4820
|
key: 1,
|
|
4717
4821
|
class: "px-6 py-6 sm:px-8 lg:px-12"
|
|
4718
|
-
},
|
|
4822
|
+
}, fo = {
|
|
4719
4823
|
key: 2,
|
|
4720
4824
|
class: "flex flex-wrap items-center gap-1 px-6 pb-4 sm:px-8 lg:px-12"
|
|
4721
|
-
},
|
|
4825
|
+
}, po = {
|
|
4722
4826
|
key: 3,
|
|
4723
4827
|
class: "border-t border-outline-variant px-6 py-4 sm:px-8 lg:px-12"
|
|
4724
|
-
},
|
|
4828
|
+
}, mo = /* @__PURE__ */ D({
|
|
4725
4829
|
__name: "MFooter",
|
|
4726
4830
|
props: {
|
|
4727
4831
|
bordered: { type: Boolean },
|
|
@@ -4736,13 +4840,13 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4736
4840
|
inverse: "bg-inverse-surface text-inverse-on-surface"
|
|
4737
4841
|
};
|
|
4738
4842
|
return (n, r) => (L(), S("footer", { class: M(["w-full", [t[e.surface], e.bordered ? "border-t border-outline-variant" : ""]]) }, [
|
|
4739
|
-
n.$slots.brand ? (L(), S("div",
|
|
4740
|
-
n.$slots.default ? (L(), S("div",
|
|
4741
|
-
n.$slots.social ? (L(), S("div",
|
|
4742
|
-
n.$slots.bottom ? (L(), S("div",
|
|
4843
|
+
n.$slots.brand ? (L(), S("div", lo, [H(n.$slots, "brand")])) : x("", !0),
|
|
4844
|
+
n.$slots.default ? (L(), S("div", uo, [H(n.$slots, "default")])) : x("", !0),
|
|
4845
|
+
n.$slots.social ? (L(), S("div", fo, [H(n.$slots, "social")])) : x("", !0),
|
|
4846
|
+
n.$slots.bottom ? (L(), S("div", po, [H(n.$slots, "bottom")])) : x("", !0)
|
|
4743
4847
|
], 2));
|
|
4744
4848
|
}
|
|
4745
|
-
}),
|
|
4849
|
+
}), ho = /* @__PURE__ */ D({
|
|
4746
4850
|
__name: "MFlex",
|
|
4747
4851
|
props: {
|
|
4748
4852
|
direction: { default: "row" },
|
|
@@ -4794,7 +4898,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4794
4898
|
]);
|
|
4795
4899
|
return (e, t) => (L(), S("div", { class: M(o.value) }, [H(e.$slots, "default")], 2));
|
|
4796
4900
|
}
|
|
4797
|
-
}),
|
|
4901
|
+
}), go = /* @__PURE__ */ D({
|
|
4798
4902
|
__name: "MFullscreen",
|
|
4799
4903
|
props: {
|
|
4800
4904
|
fixed: {
|
|
@@ -4811,7 +4915,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4811
4915
|
}));
|
|
4812
4916
|
return (e, t) => (L(), S("div", { style: N(n.value) }, [H(e.$slots, "default")], 4));
|
|
4813
4917
|
}
|
|
4814
|
-
}),
|
|
4918
|
+
}), _o = /* @__PURE__ */ D({
|
|
4815
4919
|
__name: "MGrid",
|
|
4816
4920
|
props: {
|
|
4817
4921
|
cols: { default: 1 },
|
|
@@ -4887,13 +4991,13 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4887
4991
|
]);
|
|
4888
4992
|
return (e, t) => (L(), S("div", { class: M(l.value) }, [H(e.$slots, "default")], 2));
|
|
4889
4993
|
}
|
|
4890
|
-
}),
|
|
4994
|
+
}), vo = {
|
|
4891
4995
|
key: 0,
|
|
4892
4996
|
class: "flex flex-col gap-4"
|
|
4893
|
-
},
|
|
4997
|
+
}, yo = {
|
|
4894
4998
|
key: 0,
|
|
4895
4999
|
class: "mb-2 text-label-small font-medium tracking-wide text-on-surface-variant uppercase"
|
|
4896
|
-
},
|
|
5000
|
+
}, bo = { class: "flex flex-col gap-1" }, xo = { class: "text-body-medium text-on-surface" }, So = { class: "flex items-center gap-0.5" }, Co = /* @__PURE__ */ D({
|
|
4897
5001
|
__name: "MHotkeys",
|
|
4898
5002
|
props: {
|
|
4899
5003
|
bindings: {},
|
|
@@ -4950,15 +5054,15 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4950
5054
|
}
|
|
4951
5055
|
return e;
|
|
4952
5056
|
};
|
|
4953
|
-
return (t, n) => e.showOverlay ? (L(), S("div",
|
|
5057
|
+
return (t, n) => e.showOverlay ? (L(), S("div", vo, [(L(!0), S(m, null, V(s(), ([e, t]) => (L(), S("div", { key: e }, [e ? (L(), S("p", yo, K(e), 1)) : x("", !0), C("div", bo, [(L(!0), S(m, null, V(t, (e) => (L(), S("div", {
|
|
4954
5058
|
key: e.keys,
|
|
4955
5059
|
class: M(["flex items-center justify-between rounded-lg px-3 py-2 transition-colors hover:bg-on-surface/4", e.disabled && "opacity-38"])
|
|
4956
|
-
}, [C("span",
|
|
5060
|
+
}, [C("span", xo, K(e.label), 1), C("div", So, [(L(!0), S(m, null, V(e.keys.split("+"), (e, t) => (L(), S("kbd", {
|
|
4957
5061
|
key: t,
|
|
4958
5062
|
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"
|
|
4959
5063
|
}, K(r(e.trim())), 1))), 128))])], 2))), 128))])]))), 128))])) : x("", !0);
|
|
4960
5064
|
}
|
|
4961
|
-
}),
|
|
5065
|
+
}), wo = { class: "flex items-center gap-3" }, To = { class: "text-body-medium text-on-surface-variant" }, Eo = { class: "text-body-small text-on-surface-variant" }, Do = /* @__PURE__ */ D({
|
|
4962
5066
|
__name: "MInfiniteScroll",
|
|
4963
5067
|
props: {
|
|
4964
5068
|
loading: {
|
|
@@ -4989,30 +5093,30 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4989
5093
|
ref_key: "sentinelRef",
|
|
4990
5094
|
ref: o,
|
|
4991
5095
|
class: "flex items-center justify-center py-4"
|
|
4992
|
-
}, [e.loading ? H(t.$slots, "loading", {
|
|
5096
|
+
}, [e.loading ? H(t.$slots, "loading", {}, () => [C("div", wo, [E(s, {
|
|
4993
5097
|
size: 20,
|
|
4994
5098
|
class: "text-primary"
|
|
4995
|
-
}), C("span",
|
|
5099
|
+
}), C("span", To, K(e.loadingText ?? q(r).loadingMore), 1)])], void 0, 0) : e.ended ? H(t.$slots, "end", {}, () => [C("p", Eo, K(e.endText ?? q(r).noMoreItems), 1)], void 0, 1) : H(t.$slots, "idle", {}, void 0, void 0, 2)], 512)]));
|
|
4996
5100
|
}
|
|
4997
|
-
}),
|
|
5101
|
+
}), Oo = {
|
|
4998
5102
|
key: 0,
|
|
4999
5103
|
class: "text-tertiary"
|
|
5000
|
-
},
|
|
5104
|
+
}, ko = { class: "text-on-surface-variant" }, Ao = {
|
|
5001
5105
|
key: 1,
|
|
5002
5106
|
class: "text-on-surface-variant/60"
|
|
5003
|
-
},
|
|
5107
|
+
}, jo = {
|
|
5004
5108
|
key: 2,
|
|
5005
5109
|
class: "text-on-surface-variant"
|
|
5006
|
-
},
|
|
5110
|
+
}, Mo = {
|
|
5007
5111
|
key: 0,
|
|
5008
5112
|
class: "ml-5 border-l border-outline-variant/40 pl-2"
|
|
5009
|
-
},
|
|
5113
|
+
}, No = { class: "shrink-0 text-primary" }, Po = {
|
|
5010
5114
|
key: 0,
|
|
5011
5115
|
class: "shrink-0 text-on-surface-variant mr-1"
|
|
5012
|
-
},
|
|
5116
|
+
}, Fo = {
|
|
5013
5117
|
key: 1,
|
|
5014
5118
|
class: "ml-5 text-on-surface-variant"
|
|
5015
|
-
},
|
|
5119
|
+
}, Io = /* @__PURE__ */ D({
|
|
5016
5120
|
__name: "MJsonViewer",
|
|
5017
5121
|
props: {
|
|
5018
5122
|
data: {},
|
|
@@ -5058,17 +5162,17 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5058
5162
|
size: 16,
|
|
5059
5163
|
class: "text-on-surface-variant transition-transform duration-100"
|
|
5060
5164
|
}, null, 8, ["name"]),
|
|
5061
|
-
e._depth === 0 || e.rootName ? (L(), S("span",
|
|
5062
|
-
C("span",
|
|
5063
|
-
o.value ? x("", !0) : (L(), S("span",
|
|
5064
|
-
o.value ? x("", !0) : (L(), S("span",
|
|
5165
|
+
e._depth === 0 || e.rootName ? (L(), S("span", Oo, K(e._depth === 0 ? e.rootName : ""), 1)) : x("", !0),
|
|
5166
|
+
C("span", ko, K(d.value), 1),
|
|
5167
|
+
o.value ? x("", !0) : (L(), S("span", Ao, K(u.value) + " " + K(s.value === "array" ? a.value.elements : a.value.fields), 1)),
|
|
5168
|
+
o.value ? x("", !0) : (L(), S("span", jo, K(f.value), 1))
|
|
5065
5169
|
]),
|
|
5066
|
-
o.value ? (L(), S("div",
|
|
5170
|
+
o.value ? (L(), S("div", Mo, [(L(!0), S(m, null, V(l.value, (t) => (L(), S("div", {
|
|
5067
5171
|
key: t.key,
|
|
5068
5172
|
class: "flex items-start"
|
|
5069
5173
|
}, [
|
|
5070
|
-
C("span",
|
|
5071
|
-
s.value === "array" ? x("", !0) : (L(), S("span",
|
|
5174
|
+
C("span", No, K(s.value === "array" ? "" : `"${t.key}"`), 1),
|
|
5175
|
+
s.value === "array" ? x("", !0) : (L(), S("span", Po, ":")),
|
|
5072
5176
|
t.value !== null && typeof t.value == "object" ? (L(), b(i, {
|
|
5073
5177
|
key: 1,
|
|
5074
5178
|
data: t.value,
|
|
@@ -5087,21 +5191,21 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5087
5191
|
class: M(p(t.value))
|
|
5088
5192
|
}, K(h(t.value)), 3))
|
|
5089
5193
|
]))), 128))])) : x("", !0),
|
|
5090
|
-
o.value ? (L(), S("span",
|
|
5194
|
+
o.value ? (L(), S("span", Fo, K(f.value), 1)) : x("", !0)
|
|
5091
5195
|
], 64)) : (L(), S("span", {
|
|
5092
5196
|
key: 1,
|
|
5093
5197
|
class: M(p(e.data))
|
|
5094
5198
|
}, K(h(e.data)), 3))], 2);
|
|
5095
5199
|
};
|
|
5096
5200
|
}
|
|
5097
|
-
}),
|
|
5201
|
+
}), Lo = { class: "flex gap-4 overflow-x-auto pb-2" }, Ro = ["onDragover", "onDrop"], zo = { class: "flex items-center gap-2 px-4 py-3" }, Bo = { class: "flex-1 text-title-small font-medium text-on-surface" }, Vo = { class: "rounded-full bg-surface-container-high px-2 py-0.5 text-label-small text-on-surface-variant" }, Ho = { class: "flex min-h-[60px] flex-1 flex-col gap-2 px-3 pb-3" }, Uo = [
|
|
5098
5202
|
"onDragstart",
|
|
5099
5203
|
"onDragover",
|
|
5100
5204
|
"onClick"
|
|
5101
|
-
],
|
|
5205
|
+
], Wo = { class: "text-body-medium text-on-surface" }, Go = {
|
|
5102
5206
|
key: 0,
|
|
5103
5207
|
class: "flex flex-1 items-center justify-center rounded-lg border border-dashed border-outline-variant/50 p-4"
|
|
5104
|
-
},
|
|
5208
|
+
}, Ko = /* @__PURE__ */ D({
|
|
5105
5209
|
__name: "MKanban",
|
|
5106
5210
|
props: { modelValue: {} },
|
|
5107
5211
|
emits: [
|
|
@@ -5160,20 +5264,20 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5160
5264
|
function f() {
|
|
5161
5265
|
i.value = null, a.value = null, o.value = null;
|
|
5162
5266
|
}
|
|
5163
|
-
return (t, n) => (L(), S("div",
|
|
5267
|
+
return (t, n) => (L(), S("div", Lo, [(L(!0), S(m, null, V(e.modelValue, (e) => (L(), S("div", {
|
|
5164
5268
|
key: e.id,
|
|
5165
5269
|
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" : ""]),
|
|
5166
5270
|
onDragover: (t) => l(t, e.id),
|
|
5167
5271
|
onDragleave: n[0] ||= (e) => a.value = null,
|
|
5168
5272
|
onDrop: (t) => d(t, e.id)
|
|
5169
|
-
}, [C("div",
|
|
5273
|
+
}, [C("div", zo, [
|
|
5170
5274
|
e.color ? (L(), S("div", {
|
|
5171
5275
|
key: 0,
|
|
5172
5276
|
class: M(["h-2.5 w-2.5 rounded-full", s[e.color] ?? "bg-primary"])
|
|
5173
5277
|
}, null, 2)) : x("", !0),
|
|
5174
|
-
C("h3",
|
|
5175
|
-
C("span",
|
|
5176
|
-
]), C("div",
|
|
5278
|
+
C("h3", Bo, K(e.title), 1),
|
|
5279
|
+
C("span", Vo, K(e.cards.length), 1)
|
|
5280
|
+
]), C("div", Ho, [(L(!0), S(m, null, V(e.cards, (n, s) => (L(), S("div", {
|
|
5177
5281
|
key: n.id,
|
|
5178
5282
|
draggable: "true",
|
|
5179
5283
|
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" : ""]]),
|
|
@@ -5187,9 +5291,28 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5187
5291
|
}, [H(t.$slots, "card", {
|
|
5188
5292
|
card: n,
|
|
5189
5293
|
column: e
|
|
5190
|
-
}, () => [C("p",
|
|
5294
|
+
}, () => [C("p", Wo, K(n.id), 1)])], 42, Uo))), 128)), e.cards.length === 0 ? (L(), S("div", Go, [...n[1] ||= [C("p", { class: "text-body-small text-on-surface-variant/60" }, "Sin tarjetas", -1)]])) : x("", !0)])], 42, Ro))), 128))]));
|
|
5191
5295
|
}
|
|
5192
|
-
}),
|
|
5296
|
+
}), qo = { class: "inline-flex items-center gap-1" }, Jo = {
|
|
5297
|
+
key: 0,
|
|
5298
|
+
class: "text-on-surface-variant",
|
|
5299
|
+
"aria-hidden": "true"
|
|
5300
|
+
}, Yo = /* @__PURE__ */ D({
|
|
5301
|
+
__name: "MKbd",
|
|
5302
|
+
props: {
|
|
5303
|
+
keys: {},
|
|
5304
|
+
size: { default: "md" },
|
|
5305
|
+
separator: { default: "+" }
|
|
5306
|
+
},
|
|
5307
|
+
setup(e) {
|
|
5308
|
+
let t = e, n = v(() => Array.isArray(t.keys) ? t.keys : t.keys.split("+")), r = {
|
|
5309
|
+
sm: "h-5 min-w-5 px-1 text-[10px]",
|
|
5310
|
+
md: "h-6 min-w-6 px-1.5 text-label-small",
|
|
5311
|
+
lg: "h-7 min-w-7 px-2 text-label-medium"
|
|
5312
|
+
};
|
|
5313
|
+
return (t, i) => (L(), S("span", qo, [(L(!0), S(m, null, V(n.value, (t, i) => (L(), S(m, { key: i }, [C("kbd", { class: M(["inline-flex items-center justify-center rounded-sm border border-b-2 border-outline-variant bg-surface-container-high font-sans font-medium text-on-surface-variant", r[e.size]]) }, K(t), 3), i < n.value.length - 1 ? (L(), S("span", Jo, K(e.separator), 1)) : x("", !0)], 64))), 128))]));
|
|
5314
|
+
}
|
|
5315
|
+
}), Xo = /* @__PURE__ */ D({
|
|
5193
5316
|
__name: "MList",
|
|
5194
5317
|
props: {
|
|
5195
5318
|
dense: {
|
|
@@ -5238,10 +5361,10 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5238
5361
|
class: M(i.value)
|
|
5239
5362
|
}, [H(e.$slots, "default")], 2));
|
|
5240
5363
|
}
|
|
5241
|
-
}),
|
|
5364
|
+
}), Zo = ["checked", "disabled"], Qo = {
|
|
5242
5365
|
key: 0,
|
|
5243
5366
|
class: "text-body-large text-on-surface"
|
|
5244
|
-
},
|
|
5367
|
+
}, $o = /* @__PURE__ */ D({
|
|
5245
5368
|
__name: "MSwitch",
|
|
5246
5369
|
props: {
|
|
5247
5370
|
modelValue: { type: Boolean },
|
|
@@ -5263,7 +5386,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5263
5386
|
checked: e.modelValue,
|
|
5264
5387
|
disabled: e.disabled,
|
|
5265
5388
|
onChange: n[0] ||= (t) => i("update:modelValue", !e.modelValue)
|
|
5266
|
-
}, null, 40,
|
|
5389
|
+
}, null, 40, Zo), C("span", {
|
|
5267
5390
|
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"]),
|
|
5268
5391
|
style: N(a.value)
|
|
5269
5392
|
}, [E(g, {
|
|
@@ -5281,21 +5404,21 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5281
5404
|
class: "text-primary"
|
|
5282
5405
|
})) : x("", !0)]),
|
|
5283
5406
|
_: 1
|
|
5284
|
-
})], 6)], 2), e.label ? (L(), S("span",
|
|
5407
|
+
})], 6)], 2), e.label ? (L(), S("span", Qo, K(e.label), 1)) : x("", !0)], 2));
|
|
5285
5408
|
}
|
|
5286
|
-
}),
|
|
5409
|
+
}), es = {
|
|
5287
5410
|
key: 0,
|
|
5288
5411
|
role: "listitem"
|
|
5289
|
-
},
|
|
5412
|
+
}, ts = { class: "min-w-0 flex-1" }, ns = { class: "truncate text-body-large text-on-surface" }, rs = {
|
|
5290
5413
|
key: 0,
|
|
5291
5414
|
class: "mli-expand-grid"
|
|
5292
|
-
},
|
|
5415
|
+
}, is = { class: "mli-expand-body" }, as = ["src"], os = { class: "min-w-0 flex-1" }, ss = { class: "truncate text-body-large text-on-surface" }, cs = {
|
|
5293
5416
|
key: 1,
|
|
5294
5417
|
class: "line-clamp-2 text-body-small text-on-surface-variant"
|
|
5295
|
-
},
|
|
5418
|
+
}, ls = {
|
|
5296
5419
|
key: 1,
|
|
5297
5420
|
class: "shrink-0 text-label-small text-on-surface-variant"
|
|
5298
|
-
},
|
|
5421
|
+
}, us = /* @__PURE__ */ D({
|
|
5299
5422
|
__name: "MListItem",
|
|
5300
5423
|
props: {
|
|
5301
5424
|
title: {},
|
|
@@ -5368,7 +5491,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5368
5491
|
function P() {
|
|
5369
5492
|
i("update:trailingValue", !n.trailingValue);
|
|
5370
5493
|
}
|
|
5371
|
-
return (t, n) => e.expandable ? (L(), S("li",
|
|
5494
|
+
return (t, n) => e.expandable ? (L(), S("li", es, [C("div", {
|
|
5372
5495
|
class: M(T.value),
|
|
5373
5496
|
onClick: N
|
|
5374
5497
|
}, [
|
|
@@ -5378,7 +5501,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5378
5501
|
size: 24,
|
|
5379
5502
|
class: "shrink-0 text-on-surface-variant"
|
|
5380
5503
|
}, null, 8, ["name"])) : x("", !0)]),
|
|
5381
|
-
C("div",
|
|
5504
|
+
C("div", ts, [H(t.$slots, "default", {}, () => [C("p", ns, K(e.title), 1), e.subtitle && l.value >= 2 ? (L(), S("p", {
|
|
5382
5505
|
key: 0,
|
|
5383
5506
|
class: M(["text-body-medium text-on-surface-variant", l.value === 2 && "truncate"])
|
|
5384
5507
|
}, K(e.subtitle), 3)) : x("", !0)])]),
|
|
@@ -5388,7 +5511,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5388
5511
|
class: "shrink-0 text-on-surface-variant"
|
|
5389
5512
|
}, null, 8, ["name"])
|
|
5390
5513
|
], 2), E(g, { name: "mli-expand" }, {
|
|
5391
|
-
default: Z(() => [s.value ? (L(), S("div",
|
|
5514
|
+
default: Z(() => [s.value ? (L(), S("div", rs, [C("div", is, [H(t.$slots, "children")])])) : x("", !0)]),
|
|
5392
5515
|
_: 3
|
|
5393
5516
|
})])) : (L(), b(W(D.value), A({
|
|
5394
5517
|
key: 1,
|
|
@@ -5423,25 +5546,25 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5423
5546
|
src: e.image,
|
|
5424
5547
|
alt: "",
|
|
5425
5548
|
class: "h-14 w-14 shrink-0 rounded-md object-cover"
|
|
5426
|
-
}, null, 8,
|
|
5549
|
+
}, null, 8, as)) : f.value === "checkbox" ? (L(), b(Bn, {
|
|
5427
5550
|
key: 4,
|
|
5428
5551
|
"model-value": d.value,
|
|
5429
5552
|
class: "shrink-0"
|
|
5430
5553
|
}, null, 8, ["model-value"])) : x("", !0)]),
|
|
5431
|
-
C("div",
|
|
5432
|
-
C("p",
|
|
5554
|
+
C("div", os, [H(t.$slots, "default", {}, () => [
|
|
5555
|
+
C("p", ss, K(e.title), 1),
|
|
5433
5556
|
e.subtitle && l.value >= 2 ? (L(), S("p", {
|
|
5434
5557
|
key: 0,
|
|
5435
5558
|
class: M(["text-body-medium text-on-surface-variant", l.value === 2 && "truncate"])
|
|
5436
5559
|
}, K(e.subtitle), 3)) : x("", !0),
|
|
5437
|
-
e.description && l.value >= 3 ? (L(), S("p",
|
|
5560
|
+
e.description && l.value >= 3 ? (L(), S("p", cs, K(e.description), 1)) : x("", !0)
|
|
5438
5561
|
])]),
|
|
5439
5562
|
H(t.$slots, "trailing", {}, () => [p.value === "icon" ? (L(), b(r, {
|
|
5440
5563
|
key: 0,
|
|
5441
5564
|
name: e.trailingIcon,
|
|
5442
5565
|
size: 24,
|
|
5443
5566
|
class: "shrink-0 text-on-surface-variant"
|
|
5444
|
-
}, null, 8, ["name"])) : p.value === "text" ? (L(), S("span",
|
|
5567
|
+
}, null, 8, ["name"])) : p.value === "text" ? (L(), S("span", ls, K(e.trailingText), 1)) : p.value === "switch" ? (L(), b($o, {
|
|
5445
5568
|
key: 2,
|
|
5446
5569
|
"model-value": !!e.trailingValue,
|
|
5447
5570
|
"onUpdate:modelValue": P
|
|
@@ -5454,7 +5577,7 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5454
5577
|
_: 3
|
|
5455
5578
|
}, 16, ["class"]));
|
|
5456
5579
|
}
|
|
5457
|
-
}),
|
|
5580
|
+
}), ds = /* @__PURE__ */ D({
|
|
5458
5581
|
__name: "MListSubheader",
|
|
5459
5582
|
props: { inset: {
|
|
5460
5583
|
type: Boolean,
|
|
@@ -5466,16 +5589,16 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5466
5589
|
role: "presentation"
|
|
5467
5590
|
}, [H(t.$slots, "default")], 2));
|
|
5468
5591
|
}
|
|
5469
|
-
}),
|
|
5592
|
+
}), fs = {
|
|
5470
5593
|
key: 0,
|
|
5471
5594
|
class: "text-body-large text-on-surface-variant"
|
|
5472
|
-
},
|
|
5595
|
+
}, ps = {
|
|
5473
5596
|
key: 1,
|
|
5474
5597
|
class: "relative"
|
|
5475
|
-
},
|
|
5598
|
+
}, ms = {
|
|
5476
5599
|
key: 0,
|
|
5477
5600
|
class: "text-body-medium text-on-surface-variant"
|
|
5478
|
-
},
|
|
5601
|
+
}, hs = /* @__PURE__ */ D({
|
|
5479
5602
|
__name: "MLoadingOverlay",
|
|
5480
5603
|
props: {
|
|
5481
5604
|
visible: { type: Boolean },
|
|
@@ -5508,11 +5631,11 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5508
5631
|
size: e.spinnerSize,
|
|
5509
5632
|
class: "text-primary"
|
|
5510
5633
|
}, null, 8, ["size"]),
|
|
5511
|
-
e.text ? (L(), S("p",
|
|
5634
|
+
e.text ? (L(), S("p", fs, K(e.text), 1)) : x("", !0),
|
|
5512
5635
|
H(t.$slots, "default")
|
|
5513
5636
|
], 2)) : x("", !0)]),
|
|
5514
5637
|
_: 3
|
|
5515
|
-
})])) : (L(), S("div",
|
|
5638
|
+
})])) : (L(), S("div", ps, [H(t.$slots, "content"), E(g, {
|
|
5516
5639
|
"enter-active-class": "transition-opacity duration-200",
|
|
5517
5640
|
"enter-from-class": "opacity-0",
|
|
5518
5641
|
"leave-active-class": "transition-opacity duration-150",
|
|
@@ -5526,13 +5649,13 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5526
5649
|
size: e.spinnerSize,
|
|
5527
5650
|
class: "text-primary"
|
|
5528
5651
|
}, null, 8, ["size"]),
|
|
5529
|
-
e.text ? (L(), S("p",
|
|
5652
|
+
e.text ? (L(), S("p", ms, K(e.text), 1)) : x("", !0),
|
|
5530
5653
|
H(t.$slots, "default")
|
|
5531
5654
|
], 2)) : x("", !0)]),
|
|
5532
5655
|
_: 3
|
|
5533
5656
|
})]));
|
|
5534
5657
|
}
|
|
5535
|
-
}),
|
|
5658
|
+
}), gs = /* @__PURE__ */ D({
|
|
5536
5659
|
__name: "MMasonry",
|
|
5537
5660
|
props: {
|
|
5538
5661
|
cols: { default: 2 },
|
|
@@ -5583,25 +5706,25 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
5583
5706
|
class: "relative w-full"
|
|
5584
5707
|
}, [H(e.$slots, "default")], 512));
|
|
5585
5708
|
}
|
|
5586
|
-
}),
|
|
5587
|
-
function
|
|
5588
|
-
return L(), S("hr",
|
|
5709
|
+
}), _s = {}, vs = { class: "my-1 border-outline-variant" };
|
|
5710
|
+
function ys(e, t) {
|
|
5711
|
+
return L(), S("hr", vs);
|
|
5589
5712
|
}
|
|
5590
|
-
var
|
|
5713
|
+
var bs = /*#__PURE__*/ p(_s, [["render", ys]]), xs = { class: "flex flex-col gap-1" }, Ss = [
|
|
5591
5714
|
"id",
|
|
5592
5715
|
"value",
|
|
5593
5716
|
"disabled",
|
|
5594
5717
|
"required"
|
|
5595
|
-
],
|
|
5718
|
+
], Cs = ["for"], ws = {
|
|
5596
5719
|
key: 0,
|
|
5597
5720
|
class: "text-error"
|
|
5598
|
-
},
|
|
5721
|
+
}, Ts = {
|
|
5599
5722
|
key: 0,
|
|
5600
5723
|
class: "px-4 text-body-small text-error"
|
|
5601
|
-
},
|
|
5724
|
+
}, Es = {
|
|
5602
5725
|
key: 1,
|
|
5603
5726
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
5604
|
-
},
|
|
5727
|
+
}, Ds = /* @__PURE__ */ D({
|
|
5605
5728
|
__name: "MMaskField",
|
|
5606
5729
|
props: {
|
|
5607
5730
|
modelValue: {},
|
|
@@ -5698,7 +5821,7 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
5698
5821
|
i.error ? "text-error peer-focus:text-error" : "text-on-surface-variant peer-focus:text-primary"
|
|
5699
5822
|
].join(" ");
|
|
5700
5823
|
});
|
|
5701
|
-
return (t, n) => (L(), S("div",
|
|
5824
|
+
return (t, n) => (L(), S("div", xs, [C("div", {
|
|
5702
5825
|
ref_key: "fieldBgEl",
|
|
5703
5826
|
ref: c,
|
|
5704
5827
|
class: M(["relative", e.variant === "outlined" ? "mt-2" : ""]),
|
|
@@ -5724,11 +5847,11 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
5724
5847
|
class: M(D.value),
|
|
5725
5848
|
onInput: y,
|
|
5726
5849
|
onKeydown: b
|
|
5727
|
-
}, null, 42,
|
|
5850
|
+
}, null, 42, Ss),
|
|
5728
5851
|
C("label", {
|
|
5729
5852
|
for: q(s),
|
|
5730
5853
|
class: M(O.value)
|
|
5731
|
-
}, [T(K(e.label), 1), e.required ? (L(), S("span",
|
|
5854
|
+
}, [T(K(e.label), 1), e.required ? (L(), S("span", ws, "\xA0*")) : x("", !0)], 10, Cs),
|
|
5732
5855
|
h.value ? (L(), S("button", {
|
|
5733
5856
|
key: 1,
|
|
5734
5857
|
type: "button",
|
|
@@ -5740,31 +5863,31 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
5740
5863
|
name: "close",
|
|
5741
5864
|
size: 18
|
|
5742
5865
|
})])) : x("", !0)
|
|
5743
|
-
], 6), e.error && e.errorLabel ? (L(), S("p",
|
|
5866
|
+
], 6), e.error && e.errorLabel ? (L(), S("p", Ts, K(e.errorLabel), 1)) : e.hint ? (L(), S("p", Es, K(e.hint), 1)) : x("", !0)]));
|
|
5744
5867
|
}
|
|
5745
|
-
}),
|
|
5868
|
+
}), Os = { class: "flex flex-col gap-1" }, ks = ["onClick"], As = ["title"], js = [
|
|
5746
5869
|
"id",
|
|
5747
5870
|
"value",
|
|
5748
5871
|
"placeholder",
|
|
5749
5872
|
"disabled",
|
|
5750
5873
|
"aria-expanded",
|
|
5751
5874
|
"aria-disabled"
|
|
5752
|
-
],
|
|
5875
|
+
], Ms = ["for"], Ns = {
|
|
5753
5876
|
key: 0,
|
|
5754
5877
|
class: "text-error"
|
|
5755
|
-
},
|
|
5878
|
+
}, Ps = { class: "pointer-events-none absolute right-2 top-4" }, Fs = {
|
|
5756
5879
|
key: 0,
|
|
5757
5880
|
class: "px-4 text-body-small text-error"
|
|
5758
|
-
},
|
|
5881
|
+
}, Is = {
|
|
5759
5882
|
key: 1,
|
|
5760
5883
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
5761
|
-
},
|
|
5884
|
+
}, Ls = { class: "flex flex-col py-1" }, Rs = ["onMousedown"], zs = { class: "text-body-large text-on-surface" }, Bs = {
|
|
5762
5885
|
key: 0,
|
|
5763
5886
|
class: "px-4 py-3 text-center text-body-small text-on-surface-variant"
|
|
5764
|
-
},
|
|
5887
|
+
}, Vs = { 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" }, Hs = { class: "flex items-center justify-between px-6 pt-6 pb-4" }, Us = { class: "text-headline-small text-on-surface" }, Ws = { class: "px-6 pb-3" }, Gs = { class: "flex items-center gap-2 rounded-full bg-surface-container-highest px-3 py-2" }, Ks = ["value", "placeholder"], qs = { class: "flex-1 overflow-y-auto py-2" }, Js = { class: "text-body-large text-on-surface" }, Ys = {
|
|
5765
5888
|
key: 0,
|
|
5766
5889
|
class: "px-6 py-4 text-center text-body-medium text-on-surface-variant"
|
|
5767
|
-
},
|
|
5890
|
+
}, Xs = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
5768
5891
|
__name: "MMultiAutocomplete",
|
|
5769
5892
|
props: {
|
|
5770
5893
|
modelValue: { default: () => [] },
|
|
@@ -5960,7 +6083,7 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
5960
6083
|
u.value ? i.error ? "text-error" : "text-primary" : i.error ? "text-error" : "text-on-surface-variant"
|
|
5961
6084
|
].join(" ");
|
|
5962
6085
|
});
|
|
5963
|
-
return (t, n) => (L(), S(m, null, [C("div",
|
|
6086
|
+
return (t, n) => (L(), S(m, null, [C("div", Os, [C("div", {
|
|
5964
6087
|
ref_key: "fieldEl",
|
|
5965
6088
|
ref: w,
|
|
5966
6089
|
class: M(["relative", e.variant === "outlined" ? "mt-2" : ""]),
|
|
@@ -5987,13 +6110,13 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
5987
6110
|
}, [E(r, {
|
|
5988
6111
|
name: "close",
|
|
5989
6112
|
size: 12
|
|
5990
|
-
})], 8,
|
|
6113
|
+
})], 8, ks)]))), 128)),
|
|
5991
6114
|
re.value > 0 && !ie.value ? (L(), S("span", {
|
|
5992
6115
|
key: 0,
|
|
5993
6116
|
title: $.value,
|
|
5994
6117
|
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",
|
|
5995
6118
|
onClick: n[0] ||= Q((e) => ie.value = !0, ["stop"])
|
|
5996
|
-
}, " +" + K(re.value), 9,
|
|
6119
|
+
}, " +" + K(re.value), 9, As)) : x("", !0),
|
|
5997
6120
|
ie.value && e.modelValue.length > e.maxChips ? (L(), S("span", {
|
|
5998
6121
|
key: 1,
|
|
5999
6122
|
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",
|
|
@@ -6019,11 +6142,11 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6019
6142
|
onBlur: pe,
|
|
6020
6143
|
onInput: me,
|
|
6021
6144
|
onKeydown: _e
|
|
6022
|
-
}, null, 40,
|
|
6145
|
+
}, null, 40, js)], 2),
|
|
6023
6146
|
C("label", {
|
|
6024
6147
|
for: q(c),
|
|
6025
6148
|
class: M(Se.value)
|
|
6026
|
-
}, [T(K(e.label), 1), e.required ? (L(), S("span",
|
|
6149
|
+
}, [T(K(e.label), 1), e.required ? (L(), S("span", Ns, "\xA0*")) : x("", !0)], 10, Ms),
|
|
6027
6150
|
e.clearable && te.value && !e.disabled ? (L(), S("button", {
|
|
6028
6151
|
key: 1,
|
|
6029
6152
|
type: "button",
|
|
@@ -6035,12 +6158,12 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6035
6158
|
name: "close",
|
|
6036
6159
|
size: 18
|
|
6037
6160
|
})])) : x("", !0),
|
|
6038
|
-
C("div",
|
|
6161
|
+
C("div", Ps, [E(r, {
|
|
6039
6162
|
name: "arrow_drop_down",
|
|
6040
6163
|
size: 24,
|
|
6041
6164
|
class: M(["text-on-surface-variant transition-transform duration-200", u.value || f.value ? "rotate-180" : ""])
|
|
6042
6165
|
}, null, 8, ["class"])])
|
|
6043
|
-
], 6), e.error && e.errorLabel ? (L(), S("p",
|
|
6166
|
+
], 6), e.error && e.errorLabel ? (L(), S("p", Fs, K(e.errorLabel), 1)) : e.hint ? (L(), S("p", Is, K(e.hint), 1)) : x("", !0)]), (L(), b(h, { to: "body" }, [E(g, {
|
|
6044
6167
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
6045
6168
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
6046
6169
|
"enter-to-class": "opacity-100 translate-y-0 scale-100",
|
|
@@ -6054,7 +6177,7 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6054
6177
|
ref: k,
|
|
6055
6178
|
class: "fixed z-500 max-h-60 overflow-auto rounded-sm bg-surface-container shadow-elevation-2",
|
|
6056
6179
|
style: N(A.value)
|
|
6057
|
-
}, [C("div",
|
|
6180
|
+
}, [C("div", Ls, [(L(!0), S(m, null, V(Y.value, (t, n) => (L(), S("label", {
|
|
6058
6181
|
key: n,
|
|
6059
6182
|
"data-option": "",
|
|
6060
6183
|
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" : ""]]),
|
|
@@ -6062,20 +6185,20 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6062
6185
|
}, [E(Bn, {
|
|
6063
6186
|
"model-value": J(e.modelValue, t.value),
|
|
6064
6187
|
disabled: t.disabled
|
|
6065
|
-
}, null, 8, ["model-value", "disabled"]), C("span",
|
|
6188
|
+
}, null, 8, ["model-value", "disabled"]), C("span", zs, K(t.label), 1)], 42, Rs))), 128)), Y.value.length ? x("", !0) : (L(), S("p", Bs, K(ne.value), 1))])], 4)) : x("", !0)]),
|
|
6066
6189
|
_: 1
|
|
6067
6190
|
}), E(g, { name: "m3-mac-modal" }, {
|
|
6068
6191
|
default: Z(() => [f.value && e.mode === "modal" ? (L(), S("div", {
|
|
6069
6192
|
key: 0,
|
|
6070
6193
|
class: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",
|
|
6071
6194
|
onClick: Q(de, ["self"])
|
|
6072
|
-
}, [C("div",
|
|
6073
|
-
C("div",
|
|
6195
|
+
}, [C("div", Vs, [
|
|
6196
|
+
C("div", Hs, [C("h2", Us, K(e.label || e.placeholder), 1), E(l, {
|
|
6074
6197
|
icon: "close",
|
|
6075
6198
|
label: q(s).close,
|
|
6076
6199
|
onClick: de
|
|
6077
6200
|
}, null, 8, ["label"])]),
|
|
6078
|
-
C("div",
|
|
6201
|
+
C("div", Ws, [C("div", Gs, [E(r, {
|
|
6079
6202
|
name: "search",
|
|
6080
6203
|
size: 16,
|
|
6081
6204
|
class: "shrink-0 text-on-surface-variant"
|
|
@@ -6085,9 +6208,9 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6085
6208
|
placeholder: q(s).search,
|
|
6086
6209
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant",
|
|
6087
6210
|
onInput: n[4] ||= (e) => W(e.target.value)
|
|
6088
|
-
}, null, 40,
|
|
6211
|
+
}, null, 40, Ks)])]),
|
|
6089
6212
|
n[5] ||= C("div", { class: "h-px bg-outline-variant" }, null, -1),
|
|
6090
|
-
C("div",
|
|
6213
|
+
C("div", qs, [(L(!0), S(m, null, V(le.value, (t, n) => (L(), S("label", {
|
|
6091
6214
|
key: n,
|
|
6092
6215
|
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" : ""])
|
|
6093
6216
|
}, [E(Bn, {
|
|
@@ -6098,37 +6221,37 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6098
6221
|
"model-value",
|
|
6099
6222
|
"disabled",
|
|
6100
6223
|
"onUpdate:modelValue"
|
|
6101
|
-
]), C("span",
|
|
6224
|
+
]), C("span", Js, K(t.label), 1)], 2))), 128)), le.value.length ? x("", !0) : (L(), S("p", Ys, K(ne.value), 1))])
|
|
6102
6225
|
])])) : x("", !0)]),
|
|
6103
6226
|
_: 1
|
|
6104
6227
|
})]))], 64));
|
|
6105
6228
|
}
|
|
6106
|
-
}), [["__scopeId", "data-v-3337b2c7"]]),
|
|
6229
|
+
}), [["__scopeId", "data-v-3337b2c7"]]), Zs = { class: "flex flex-col gap-1" }, Qs = [
|
|
6107
6230
|
"id",
|
|
6108
6231
|
"tabindex",
|
|
6109
6232
|
"aria-expanded"
|
|
6110
|
-
],
|
|
6233
|
+
], $s = ["onClick"], ec = ["title"], tc = {
|
|
6111
6234
|
key: 1,
|
|
6112
6235
|
class: "text-body-large text-on-surface-variant opacity-0"
|
|
6113
|
-
},
|
|
6236
|
+
}, nc = {
|
|
6114
6237
|
key: 0,
|
|
6115
6238
|
class: "text-error"
|
|
6116
|
-
},
|
|
6239
|
+
}, rc = { class: "pointer-events-none absolute right-2 top-4" }, ic = {
|
|
6117
6240
|
key: 0,
|
|
6118
6241
|
class: "px-4 text-body-small text-error"
|
|
6119
|
-
},
|
|
6242
|
+
}, ac = {
|
|
6120
6243
|
key: 1,
|
|
6121
6244
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
6122
|
-
},
|
|
6245
|
+
}, oc = {
|
|
6123
6246
|
key: 0,
|
|
6124
6247
|
class: "sticky top-0 bg-surface-container px-3 py-2"
|
|
6125
|
-
},
|
|
6248
|
+
}, sc = { class: "flex items-center gap-2 rounded-full bg-surface-container-high px-3 py-1.5" }, cc = ["placeholder"], lc = { class: "flex flex-col py-1" }, uc = { class: "text-body-large text-on-surface" }, dc = { class: "px-4 py-3 text-center text-body-small text-on-surface-variant" }, fc = { 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" }, pc = { class: "flex items-center justify-between px-6 pt-6 pb-4" }, mc = { class: "text-headline-small text-on-surface" }, hc = {
|
|
6126
6249
|
key: 0,
|
|
6127
6250
|
class: "px-6 pb-3"
|
|
6128
|
-
},
|
|
6251
|
+
}, gc = { class: "flex items-center gap-2 rounded-full bg-surface-container-highest px-3 py-2" }, _c = ["placeholder"], vc = { class: "flex-1 overflow-y-auto py-2" }, yc = { class: "text-body-large text-on-surface" }, bc = {
|
|
6129
6252
|
key: 0,
|
|
6130
6253
|
class: "px-6 py-4 text-center text-body-medium text-on-surface-variant"
|
|
6131
|
-
},
|
|
6254
|
+
}, xc = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
6132
6255
|
__name: "MMultiSelect",
|
|
6133
6256
|
props: {
|
|
6134
6257
|
modelValue: { default: () => [] },
|
|
@@ -6271,7 +6394,7 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6271
6394
|
u.value ? o.error ? "text-error" : "text-primary" : o.error ? "text-error" : "text-on-surface-variant"
|
|
6272
6395
|
].join(" ");
|
|
6273
6396
|
});
|
|
6274
|
-
return (t, n) => (L(), S(m, null, [C("div",
|
|
6397
|
+
return (t, n) => (L(), S(m, null, [C("div", Zs, [C("div", {
|
|
6275
6398
|
ref_key: "fieldEl",
|
|
6276
6399
|
ref: _,
|
|
6277
6400
|
class: M(["relative", e.variant === "outlined" ? "mt-2" : ""]),
|
|
@@ -6308,13 +6431,13 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6308
6431
|
}, [E(r, {
|
|
6309
6432
|
name: "close",
|
|
6310
6433
|
size: 12
|
|
6311
|
-
})], 8,
|
|
6434
|
+
})], 8, $s)]))), 128)),
|
|
6312
6435
|
z.value > 0 && !U.value ? (L(), S("span", {
|
|
6313
6436
|
key: 0,
|
|
6314
6437
|
title: G.value,
|
|
6315
6438
|
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",
|
|
6316
6439
|
onClick: n[0] ||= Q((e) => U.value = !0, ["stop"])
|
|
6317
|
-
}, " +" + K(z.value), 9,
|
|
6440
|
+
}, " +" + K(z.value), 9, ec)) : x("", !0),
|
|
6318
6441
|
U.value && e.modelValue.length > e.maxChips ? (L(), S("span", {
|
|
6319
6442
|
key: 1,
|
|
6320
6443
|
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",
|
|
@@ -6323,8 +6446,8 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6323
6446
|
name: "unfold_less",
|
|
6324
6447
|
size: 14
|
|
6325
6448
|
})])) : x("", !0)
|
|
6326
|
-
], 64)) : u.value ? x("", !0) : (L(), S("span",
|
|
6327
|
-
C("label", { class: M(ue.value) }, [T(K(e.label), 1), e.required ? (L(), S("span",
|
|
6449
|
+
], 64)) : u.value ? x("", !0) : (L(), S("span", tc, K(e.placeholder), 1))], 42, Qs),
|
|
6450
|
+
C("label", { class: M(ue.value) }, [T(K(e.label), 1), e.required ? (L(), S("span", nc, "\xA0*")) : x("", !0)], 2),
|
|
6328
6451
|
e.clearable && P.value && !e.disabled ? (L(), S("button", {
|
|
6329
6452
|
key: 1,
|
|
6330
6453
|
type: "button",
|
|
@@ -6336,12 +6459,12 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6336
6459
|
name: "close",
|
|
6337
6460
|
size: 18
|
|
6338
6461
|
})])) : x("", !0),
|
|
6339
|
-
C("div",
|
|
6462
|
+
C("div", rc, [E(r, {
|
|
6340
6463
|
name: "arrow_drop_down",
|
|
6341
6464
|
size: 24,
|
|
6342
6465
|
class: M(["text-on-surface-variant transition-transform duration-200", u.value || d.value ? "rotate-180" : ""])
|
|
6343
6466
|
}, null, 8, ["class"])])
|
|
6344
|
-
], 6), e.error && e.errorLabel ? (L(), S("p",
|
|
6467
|
+
], 6), e.error && e.errorLabel ? (L(), S("p", ic, K(e.errorLabel), 1)) : e.hint ? (L(), S("p", ac, K(e.hint), 1)) : x("", !0)]), (L(), b(h, { to: "body" }, [E(g, {
|
|
6345
6468
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
6346
6469
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
6347
6470
|
"enter-to-class": "opacity-100 translate-y-0 scale-100",
|
|
@@ -6355,7 +6478,7 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6355
6478
|
ref: w,
|
|
6356
6479
|
class: "fixed z-500 max-h-60 overflow-auto rounded-sm bg-surface-container shadow-elevation-2",
|
|
6357
6480
|
style: N(O.value)
|
|
6358
|
-
}, [e.searchable ? (L(), S("div",
|
|
6481
|
+
}, [e.searchable ? (L(), S("div", oc, [C("div", sc, [E(r, {
|
|
6359
6482
|
name: "search",
|
|
6360
6483
|
size: 16,
|
|
6361
6484
|
class: "shrink-0 text-on-surface-variant"
|
|
@@ -6366,7 +6489,7 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6366
6489
|
type: "text",
|
|
6367
6490
|
placeholder: e.searchPlaceholder ?? q(i).search,
|
|
6368
6491
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant"
|
|
6369
|
-
}, null, 8,
|
|
6492
|
+
}, null, 8, cc), [[Y, p.value]])])])) : x("", !0), C("div", lc, [(L(!0), S(m, null, V(R.value, (t, n) => (L(), S("label", {
|
|
6370
6493
|
key: n,
|
|
6371
6494
|
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" : ""])
|
|
6372
6495
|
}, [E(Bn, {
|
|
@@ -6377,20 +6500,20 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6377
6500
|
"model-value",
|
|
6378
6501
|
"disabled",
|
|
6379
6502
|
"onUpdate:modelValue"
|
|
6380
|
-
]), C("span",
|
|
6503
|
+
]), C("span", uc, K(t.label), 1)], 2))), 128)), R.value.length === 0 ? H(t.$slots, "no-results", {}, () => [C("p", dc, K(e.noResultsText ?? q(i).noResults), 1)], !0, 0) : x("", !0)])], 4)) : x("", !0)]),
|
|
6381
6504
|
_: 3
|
|
6382
6505
|
}), E(g, { name: "m3-ms-modal" }, {
|
|
6383
6506
|
default: Z(() => [d.value && e.mode === "modal" ? (L(), S("div", {
|
|
6384
6507
|
key: 0,
|
|
6385
6508
|
class: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",
|
|
6386
6509
|
onClick: Q($, ["self"])
|
|
6387
|
-
}, [C("div",
|
|
6388
|
-
C("div",
|
|
6510
|
+
}, [C("div", fc, [
|
|
6511
|
+
C("div", pc, [C("h2", mc, K(e.label || e.placeholder), 1), E(l, {
|
|
6389
6512
|
icon: "close",
|
|
6390
6513
|
label: q(i).close,
|
|
6391
6514
|
onClick: $
|
|
6392
6515
|
}, null, 8, ["label"])]),
|
|
6393
|
-
e.searchable ? (L(), S("div",
|
|
6516
|
+
e.searchable ? (L(), S("div", hc, [C("div", gc, [E(r, {
|
|
6394
6517
|
name: "search",
|
|
6395
6518
|
size: 16,
|
|
6396
6519
|
class: "shrink-0 text-on-surface-variant"
|
|
@@ -6399,9 +6522,9 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6399
6522
|
type: "text",
|
|
6400
6523
|
placeholder: e.searchPlaceholder ?? q(i).search,
|
|
6401
6524
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant"
|
|
6402
|
-
}, null, 8,
|
|
6525
|
+
}, null, 8, _c), [[Y, f.value]])])])) : x("", !0),
|
|
6403
6526
|
n[9] ||= C("div", { class: "h-px bg-outline-variant" }, null, -1),
|
|
6404
|
-
C("div",
|
|
6527
|
+
C("div", vc, [(L(!0), S(m, null, V(oe.value, (t, n) => (L(), S("label", {
|
|
6405
6528
|
key: n,
|
|
6406
6529
|
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" : ""])
|
|
6407
6530
|
}, [E(Bn, {
|
|
@@ -6412,12 +6535,12 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6412
6535
|
"model-value",
|
|
6413
6536
|
"disabled",
|
|
6414
6537
|
"onUpdate:modelValue"
|
|
6415
|
-
]), C("span",
|
|
6538
|
+
]), C("span", yc, K(t.label), 1)], 2))), 128)), oe.value.length ? x("", !0) : (L(), S("p", bc, K(e.noResultsText ?? q(i).noResults), 1))])
|
|
6416
6539
|
])])) : x("", !0)]),
|
|
6417
6540
|
_: 1
|
|
6418
6541
|
})]))], 64));
|
|
6419
6542
|
}
|
|
6420
|
-
}), [["__scopeId", "data-v-67bbd3cf"]]),
|
|
6543
|
+
}), [["__scopeId", "data-v-67bbd3cf"]]), Sc = { class: "flex h-20 w-full items-center justify-around border-t border-outline-variant bg-surface-container" }, Cc = ["onClick"], wc = /* @__PURE__ */ D({
|
|
6421
6544
|
__name: "MNavigationBar",
|
|
6422
6545
|
props: {
|
|
6423
6546
|
modelValue: {},
|
|
@@ -6425,7 +6548,7 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6425
6548
|
},
|
|
6426
6549
|
emits: ["update:modelValue"],
|
|
6427
6550
|
setup(e) {
|
|
6428
|
-
return (t, n) => (L(), S("nav",
|
|
6551
|
+
return (t, n) => (L(), S("nav", Sc, [(L(!0), S(m, null, V(e.items, (n) => (L(), S("button", {
|
|
6429
6552
|
key: n.value,
|
|
6430
6553
|
type: "button",
|
|
6431
6554
|
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"]),
|
|
@@ -6452,9 +6575,9 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6452
6575
|
size: 24
|
|
6453
6576
|
}, null, 8, ["name"])]),
|
|
6454
6577
|
_: 2
|
|
6455
|
-
}, 1032, ["count"]))], 2), C("span", { class: M(["text-label-medium transition-[font-weight] duration-150", n.value === e.modelValue ? "font-bold" : "font-medium"]) }, K(n.label), 3)], 10,
|
|
6578
|
+
}, 1032, ["count"]))], 2), C("span", { class: M(["text-label-medium transition-[font-weight] duration-150", n.value === e.modelValue ? "font-bold" : "font-medium"]) }, K(n.label), 3)], 10, Cc))), 128))]));
|
|
6456
6579
|
}
|
|
6457
|
-
}),
|
|
6580
|
+
}), Tc = { class: "flex flex-col gap-1" }, Ec = [
|
|
6458
6581
|
"id",
|
|
6459
6582
|
"value",
|
|
6460
6583
|
"disabled",
|
|
@@ -6462,19 +6585,19 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6462
6585
|
"min",
|
|
6463
6586
|
"max",
|
|
6464
6587
|
"step"
|
|
6465
|
-
],
|
|
6588
|
+
], Dc = ["for"], Oc = {
|
|
6466
6589
|
key: 0,
|
|
6467
6590
|
class: "text-error"
|
|
6468
|
-
},
|
|
6591
|
+
}, kc = {
|
|
6469
6592
|
key: 1,
|
|
6470
6593
|
class: "absolute right-1 top-1/2 -translate-y-1/2 flex items-center gap-0.5"
|
|
6471
|
-
},
|
|
6594
|
+
}, Ac = {
|
|
6472
6595
|
key: 0,
|
|
6473
6596
|
class: "px-4 text-body-small text-error"
|
|
6474
|
-
},
|
|
6597
|
+
}, jc = {
|
|
6475
6598
|
key: 1,
|
|
6476
6599
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
6477
|
-
},
|
|
6600
|
+
}, Mc = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
6478
6601
|
__name: "MNumberField",
|
|
6479
6602
|
props: {
|
|
6480
6603
|
modelValue: { default: null },
|
|
@@ -6566,7 +6689,7 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6566
6689
|
n.error ? "text-error peer-focus:text-error" : "text-on-surface-variant peer-focus:text-primary"
|
|
6567
6690
|
].join(" ");
|
|
6568
6691
|
});
|
|
6569
|
-
return (t, n) => (L(), S("div",
|
|
6692
|
+
return (t, n) => (L(), S("div", Tc, [C("div", {
|
|
6570
6693
|
ref_key: "fieldBgEl",
|
|
6571
6694
|
ref: s,
|
|
6572
6695
|
class: M(["relative", e.variant === "outlined" ? "mt-2" : ""]),
|
|
@@ -6592,12 +6715,12 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6592
6715
|
class: M(_.value),
|
|
6593
6716
|
onInput: p,
|
|
6594
6717
|
onKeydown: g
|
|
6595
|
-
}, null, 42,
|
|
6718
|
+
}, null, 42, Ec),
|
|
6596
6719
|
C("label", {
|
|
6597
6720
|
for: q(o),
|
|
6598
6721
|
class: M(y.value)
|
|
6599
|
-
}, [T(K(e.label), 1), e.required ? (L(), S("span",
|
|
6600
|
-
e.stepper ? (L(), S("div",
|
|
6722
|
+
}, [T(K(e.label), 1), e.required ? (L(), S("span", Oc, "\xA0*")) : x("", !0)], 10, Dc),
|
|
6723
|
+
e.stepper ? (L(), S("div", kc, [E(l, {
|
|
6601
6724
|
icon: "remove",
|
|
6602
6725
|
label: "Decrease",
|
|
6603
6726
|
size: 32,
|
|
@@ -6610,9 +6733,9 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6610
6733
|
disabled: e.disabled || e.max !== void 0 && (e.modelValue ?? 0) >= e.max,
|
|
6611
6734
|
onClick: m
|
|
6612
6735
|
}, null, 8, ["disabled"])])) : x("", !0)
|
|
6613
|
-
], 6), e.error && e.errorLabel ? (L(), S("p",
|
|
6736
|
+
], 6), e.error && e.errorLabel ? (L(), S("p", Ac, K(e.errorLabel), 1)) : e.hint ? (L(), S("p", jc, K(e.hint), 1)) : x("", !0)]));
|
|
6614
6737
|
}
|
|
6615
|
-
}), [["__scopeId", "data-v-f6db08d0"]]),
|
|
6738
|
+
}), [["__scopeId", "data-v-f6db08d0"]]), Nc = D({
|
|
6616
6739
|
name: "MDrawerItemList",
|
|
6617
6740
|
components: { MIcon: r },
|
|
6618
6741
|
props: {
|
|
@@ -6687,8 +6810,8 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6687
6810
|
}).onfinish = t;
|
|
6688
6811
|
}
|
|
6689
6812
|
}
|
|
6690
|
-
}),
|
|
6691
|
-
function
|
|
6813
|
+
}), Pc = { key: 0 };
|
|
6814
|
+
function Fc(e, t, n, r, i, a) {
|
|
6692
6815
|
let o = U("MIcon"), s = U("MDrawerItemList");
|
|
6693
6816
|
return L(!0), S(m, null, V(e.items, (t) => (L(), S(m, { key: t.value }, [(L(), b(W(e.itemTag(t)), {
|
|
6694
6817
|
to: t.to && !t.disabled ? t.to : void 0,
|
|
@@ -6728,7 +6851,7 @@ function Ac(e, t, n, r, i, a) {
|
|
|
6728
6851
|
onEnter: e.onEnter,
|
|
6729
6852
|
onLeave: e.onLeave
|
|
6730
6853
|
}, {
|
|
6731
|
-
default: Z(() => [t.children?.length && e.openItems[t.value] ? (L(), S("div",
|
|
6854
|
+
default: Z(() => [t.children?.length && e.openItems[t.value] ? (L(), S("div", Pc, [E(s, {
|
|
6732
6855
|
items: t.children,
|
|
6733
6856
|
selected: e.selected,
|
|
6734
6857
|
depth: e.depth + 1
|
|
@@ -6740,52 +6863,52 @@ function Ac(e, t, n, r, i, a) {
|
|
|
6740
6863
|
_: 2
|
|
6741
6864
|
}, 1032, ["onEnter", "onLeave"])], 64))), 128);
|
|
6742
6865
|
}
|
|
6743
|
-
var
|
|
6866
|
+
var Ic = /*#__PURE__*/ p(Nc, [["render", Fc]]), Lc = {
|
|
6744
6867
|
key: 0,
|
|
6745
6868
|
class: "shrink-0"
|
|
6746
|
-
},
|
|
6869
|
+
}, Rc = {
|
|
6747
6870
|
key: 1,
|
|
6748
6871
|
class: "shrink-0 px-5 pt-6 pb-2"
|
|
6749
|
-
},
|
|
6872
|
+
}, zc = { class: "text-title-small font-medium text-on-surface-variant" }, Bc = { class: "flex min-h-0 flex-1 flex-col overflow-y-auto px-3 py-2" }, Vc = {
|
|
6750
6873
|
key: 0,
|
|
6751
6874
|
class: "my-1 border-t border-outline-variant"
|
|
6752
|
-
},
|
|
6875
|
+
}, Hc = ["onClick"], Uc = { class: "flex-1 text-left text-title-small font-medium" }, Wc = {
|
|
6753
6876
|
key: 2,
|
|
6754
6877
|
class: "px-4 pt-4 pb-2 text-title-small font-medium text-on-surface-variant"
|
|
6755
|
-
},
|
|
6878
|
+
}, Gc = {
|
|
6756
6879
|
key: 0,
|
|
6757
6880
|
class: "nd-section-grid"
|
|
6758
|
-
},
|
|
6881
|
+
}, Kc = { class: "nd-section-body" }, qc = {
|
|
6759
6882
|
key: 2,
|
|
6760
6883
|
class: "text-label-medium text-on-surface-variant"
|
|
6761
|
-
},
|
|
6884
|
+
}, Jc = { key: 0 }, Yc = {
|
|
6762
6885
|
key: 0,
|
|
6763
6886
|
class: "nd-toggle shrink-0 border-b border-outline-variant"
|
|
6764
|
-
},
|
|
6887
|
+
}, Xc = { class: "nd-toggle-inner" }, Zc = {
|
|
6765
6888
|
key: 1,
|
|
6766
6889
|
class: "shrink-0"
|
|
6767
|
-
},
|
|
6890
|
+
}, Qc = {
|
|
6768
6891
|
key: 2,
|
|
6769
6892
|
class: "nd-collapse-h shrink-0 overflow-hidden"
|
|
6770
|
-
},
|
|
6893
|
+
}, $c = { class: "px-5 pt-6 pb-2" }, el = { class: "whitespace-nowrap text-title-small font-medium text-on-surface-variant" }, tl = { class: "flex min-h-0 flex-1 flex-col gap-1 overflow-y-auto overflow-x-hidden px-3 py-2" }, nl = {
|
|
6771
6894
|
key: 0,
|
|
6772
6895
|
class: "my-1 border-t border-outline-variant"
|
|
6773
|
-
},
|
|
6896
|
+
}, rl = ["title", "onClick"], il = { class: "nd-label min-w-0 flex-1 text-left text-title-small font-medium" }, al = {
|
|
6774
6897
|
key: 2,
|
|
6775
6898
|
class: "nd-collapse-h shrink-0 overflow-hidden"
|
|
6776
|
-
},
|
|
6899
|
+
}, ol = { class: "whitespace-nowrap px-4 pt-4 pb-2 text-title-small font-medium text-on-surface-variant" }, sl = {
|
|
6777
6900
|
key: 0,
|
|
6778
6901
|
class: "nd-section-grid"
|
|
6779
|
-
},
|
|
6902
|
+
}, cl = { class: "nd-section-body" }, ll = {
|
|
6780
6903
|
key: 2,
|
|
6781
6904
|
class: "nd-label text-label-medium text-on-surface-variant"
|
|
6782
|
-
},
|
|
6905
|
+
}, ul = {
|
|
6783
6906
|
key: 0,
|
|
6784
6907
|
class: "nd-children-divider"
|
|
6785
|
-
},
|
|
6908
|
+
}, dl = { key: 0 }, fl = {
|
|
6786
6909
|
key: 1,
|
|
6787
6910
|
class: "nd-children-divider"
|
|
6788
|
-
},
|
|
6911
|
+
}, pl = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
6789
6912
|
__name: "MNavigationDrawer",
|
|
6790
6913
|
props: {
|
|
6791
6914
|
modelValue: { type: Boolean },
|
|
@@ -6884,8 +7007,8 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
6884
7007
|
e.side === "top" || e.side === "bottom" || e.width ? "" : "w-72"
|
|
6885
7008
|
]),
|
|
6886
7009
|
style: N(e.side !== "top" && e.side !== "bottom" && e.width ? { width: e.width } : void 0)
|
|
6887
|
-
}, [t.$slots.header ? (L(), S("div",
|
|
6888
|
-
n > 0 ? (L(), S("div",
|
|
7010
|
+
}, [t.$slots.header ? (L(), S("div", Lc, [H(t.$slots, "header", {}, void 0, !0)])) : e.title ? (L(), S("div", Rc, [C("h2", zc, K(e.title), 1)])) : x("", !0), C("div", Bc, [(L(!0), S(m, null, V(e.sections, (t, n) => (L(), S(m, { key: n }, [
|
|
7011
|
+
n > 0 ? (L(), S("div", Vc)) : x("", !0),
|
|
6889
7012
|
t.title && t.collapsible ? (L(), S("button", {
|
|
6890
7013
|
key: 1,
|
|
6891
7014
|
type: "button",
|
|
@@ -6898,15 +7021,15 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
6898
7021
|
size: 24,
|
|
6899
7022
|
class: "shrink-0"
|
|
6900
7023
|
}, null, 8, ["name"])) : x("", !0),
|
|
6901
|
-
C("span",
|
|
7024
|
+
C("span", Uc, K(t.title), 1),
|
|
6902
7025
|
E(r, {
|
|
6903
7026
|
name: c(t, n) ? "expand_less" : "expand_more",
|
|
6904
7027
|
size: 18,
|
|
6905
7028
|
class: "shrink-0"
|
|
6906
7029
|
}, null, 8, ["name"])
|
|
6907
|
-
], 8,
|
|
7030
|
+
], 8, Hc)) : t.title ? (L(), S("p", Wc, K(t.title), 1)) : x("", !0),
|
|
6908
7031
|
E(g, { name: "nd-section" }, {
|
|
6909
|
-
default: Z(() => [!t.collapsible || c(t, n) ? (L(), S("div",
|
|
7032
|
+
default: Z(() => [!t.collapsible || c(t, n) ? (L(), S("div", Gc, [C("div", Kc, [(L(!0), S(m, null, V(t.items, (n) => (L(), S(m, { key: n.value }, [(L(), b(W(k(n)), {
|
|
6910
7033
|
to: n.to && !n.disabled ? n.to : void 0,
|
|
6911
7034
|
type: n.to ? void 0 : "button",
|
|
6912
7035
|
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"]]),
|
|
@@ -6925,7 +7048,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
6925
7048
|
name: u(n) ? "expand_less" : "expand_more",
|
|
6926
7049
|
size: 18,
|
|
6927
7050
|
class: "shrink-0 text-on-surface-variant"
|
|
6928
|
-
}, null, 8, ["name"])) : n.badge == null ? x("", !0) : (L(), S("span",
|
|
7051
|
+
}, null, 8, ["name"])) : n.badge == null ? x("", !0) : (L(), S("span", qc, K(n.badge), 1))
|
|
6929
7052
|
]),
|
|
6930
7053
|
_: 2
|
|
6931
7054
|
}, 1032, [
|
|
@@ -6940,7 +7063,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
6940
7063
|
onEnter: w,
|
|
6941
7064
|
onLeave: T
|
|
6942
7065
|
}, {
|
|
6943
|
-
default: Z(() => [n.children?.length && u(n) ? (L(), S("div",
|
|
7066
|
+
default: Z(() => [n.children?.length && u(n) ? (L(), S("div", Jc, [E(Ic, {
|
|
6944
7067
|
items: n.children,
|
|
6945
7068
|
selected: e.selected
|
|
6946
7069
|
}, null, 8, ["items", "selected"])])) : x("", !0)]),
|
|
@@ -6958,10 +7081,10 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
6958
7081
|
"--nd-width": e.width ?? "18rem"
|
|
6959
7082
|
})
|
|
6960
7083
|
}, [
|
|
6961
|
-
t.$slots.toggle ? (L(), S("div",
|
|
6962
|
-
t.$slots.header ? (L(), S("div",
|
|
6963
|
-
C("div",
|
|
6964
|
-
n > 0 ? (L(), S("div",
|
|
7084
|
+
t.$slots.toggle ? (L(), S("div", Yc, [C("div", Xc, [H(t.$slots, "toggle", {}, void 0, !0)])])) : x("", !0),
|
|
7085
|
+
t.$slots.header ? (L(), S("div", Zc, [H(t.$slots, "header", {}, void 0, !0)])) : e.title ? (L(), S("div", Qc, [C("div", $c, [C("h2", el, K(e.title), 1)])])) : x("", !0),
|
|
7086
|
+
C("div", tl, [(L(!0), S(m, null, V(e.sections, (t, n) => (L(), S(m, { key: n }, [
|
|
7087
|
+
n > 0 ? (L(), S("div", nl)) : x("", !0),
|
|
6965
7088
|
t.title && t.collapsible ? (L(), S("button", {
|
|
6966
7089
|
key: 1,
|
|
6967
7090
|
type: "button",
|
|
@@ -6975,15 +7098,15 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
6975
7098
|
size: 24,
|
|
6976
7099
|
class: "shrink-0"
|
|
6977
7100
|
}, null, 8, ["name"])) : x("", !0),
|
|
6978
|
-
C("span",
|
|
7101
|
+
C("span", il, K(t.title), 1),
|
|
6979
7102
|
E(r, {
|
|
6980
7103
|
name: c(t, n) ? "expand_less" : "expand_more",
|
|
6981
7104
|
size: 18,
|
|
6982
7105
|
class: "nd-label shrink-0"
|
|
6983
7106
|
}, null, 8, ["name"])
|
|
6984
|
-
], 8,
|
|
7107
|
+
], 8, rl)) : t.title ? (L(), S("div", al, [C("p", ol, K(t.title), 1)])) : x("", !0),
|
|
6985
7108
|
E(g, { name: "nd-section" }, {
|
|
6986
|
-
default: Z(() => [!t.collapsible || c(t, n) ? (L(), S("div",
|
|
7109
|
+
default: Z(() => [!t.collapsible || c(t, n) ? (L(), S("div", sl, [C("div", cl, [(L(!0), S(m, null, V(t.items, (n) => (L(), S(m, { key: n.value }, [
|
|
6987
7110
|
(L(), b(W(k(n)), {
|
|
6988
7111
|
to: n.to && !n.disabled ? n.to : void 0,
|
|
6989
7112
|
type: n.to ? void 0 : "button",
|
|
@@ -7005,7 +7128,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7005
7128
|
name: u(n) ? "expand_less" : "expand_more",
|
|
7006
7129
|
size: 18,
|
|
7007
7130
|
class: "nd-label shrink-0 text-on-surface-variant"
|
|
7008
|
-
}, null, 8, ["name"])) : n.badge == null ? x("", !0) : (L(), S("span",
|
|
7131
|
+
}, null, 8, ["name"])) : n.badge == null ? x("", !0) : (L(), S("span", ll, K(n.badge), 1))
|
|
7009
7132
|
]),
|
|
7010
7133
|
_: 2
|
|
7011
7134
|
}, 1032, [
|
|
@@ -7016,29 +7139,29 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7016
7139
|
"disabled",
|
|
7017
7140
|
"onClick"
|
|
7018
7141
|
])),
|
|
7019
|
-
n.children?.length && u(n) ? (L(), S("div",
|
|
7142
|
+
n.children?.length && u(n) ? (L(), S("div", ul)) : x("", !0),
|
|
7020
7143
|
E(g, {
|
|
7021
7144
|
css: !1,
|
|
7022
7145
|
onEnter: w,
|
|
7023
7146
|
onLeave: T
|
|
7024
7147
|
}, {
|
|
7025
|
-
default: Z(() => [n.children?.length && u(n) ? (L(), S("div",
|
|
7148
|
+
default: Z(() => [n.children?.length && u(n) ? (L(), S("div", dl, [E(Ic, {
|
|
7026
7149
|
items: n.children,
|
|
7027
7150
|
selected: e.selected
|
|
7028
7151
|
}, null, 8, ["items", "selected"])])) : x("", !0)]),
|
|
7029
7152
|
_: 2
|
|
7030
7153
|
}, 1024),
|
|
7031
|
-
n.children?.length && u(n) ? (L(), S("div",
|
|
7154
|
+
n.children?.length && u(n) ? (L(), S("div", fl)) : x("", !0)
|
|
7032
7155
|
], 64))), 128))])])) : x("", !0)]),
|
|
7033
7156
|
_: 2
|
|
7034
7157
|
}, 1024)
|
|
7035
7158
|
], 64))), 128)), H(t.$slots, "default", {}, void 0, !0)])
|
|
7036
7159
|
], 6));
|
|
7037
7160
|
}
|
|
7038
|
-
}), [["__scopeId", "data-v-1dfa0ccc"]]),
|
|
7161
|
+
}), [["__scopeId", "data-v-1dfa0ccc"]]), ml = { class: "flex h-full w-20 flex-col items-center border-r border-outline-variant bg-surface" }, hl = {
|
|
7039
7162
|
key: 0,
|
|
7040
7163
|
class: "flex shrink-0 items-center justify-center pt-3 pb-2"
|
|
7041
|
-
},
|
|
7164
|
+
}, gl = ["disabled", "onClick"], _l = /* @__PURE__ */ D({
|
|
7042
7165
|
__name: "MNavigationRail",
|
|
7043
7166
|
props: {
|
|
7044
7167
|
modelValue: {},
|
|
@@ -7047,7 +7170,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7047
7170
|
},
|
|
7048
7171
|
emits: ["update:modelValue"],
|
|
7049
7172
|
setup(e) {
|
|
7050
|
-
return (t, n) => (L(), S("nav",
|
|
7173
|
+
return (t, n) => (L(), S("nav", ml, [t.$slots.fab ? (L(), S("div", hl, [H(t.$slots, "fab")])) : x("", !0), C("div", { class: M(["flex flex-1 flex-col items-center gap-1 py-3", {
|
|
7051
7174
|
"justify-start": e.alignment === "top",
|
|
7052
7175
|
"justify-center": e.alignment === "center",
|
|
7053
7176
|
"justify-end": e.alignment === "bottom"
|
|
@@ -7079,9 +7202,9 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7079
7202
|
size: 24
|
|
7080
7203
|
}, null, 8, ["name"])]),
|
|
7081
7204
|
_: 2
|
|
7082
|
-
}, 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"]) }, K(n.label), 3)], 10,
|
|
7205
|
+
}, 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"]) }, K(n.label), 3)], 10, gl))), 128))], 2)]));
|
|
7083
7206
|
}
|
|
7084
|
-
}),
|
|
7207
|
+
}), vl = { class: "relative h-full w-full" }, yl = /* @__PURE__ */ D({
|
|
7085
7208
|
__name: "MOverlay",
|
|
7086
7209
|
props: {
|
|
7087
7210
|
modelValue: {
|
|
@@ -7114,17 +7237,202 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7114
7237
|
key: 0,
|
|
7115
7238
|
class: "absolute inset-0 bg-black/50",
|
|
7116
7239
|
onClick: a
|
|
7117
|
-
})) : x("", !0), C("div",
|
|
7240
|
+
})) : x("", !0), C("div", vl, [H(t.$slots, "default")])], 4)) : x("", !0)]),
|
|
7118
7241
|
_: 3
|
|
7119
7242
|
})]));
|
|
7120
7243
|
}
|
|
7121
|
-
}),
|
|
7244
|
+
}), bl = { class: "flex flex-col gap-1" }, xl = { class: "flex gap-1" }, Sl = /* @__PURE__ */ D({
|
|
7245
|
+
__name: "MPasswordMeter",
|
|
7246
|
+
props: {
|
|
7247
|
+
value: {},
|
|
7248
|
+
labels: { default: () => [
|
|
7249
|
+
"Very weak",
|
|
7250
|
+
"Weak",
|
|
7251
|
+
"Fair",
|
|
7252
|
+
"Good",
|
|
7253
|
+
"Strong"
|
|
7254
|
+
] },
|
|
7255
|
+
minLength: { default: 8 }
|
|
7256
|
+
},
|
|
7257
|
+
emits: ["score"],
|
|
7258
|
+
setup(e, { emit: t }) {
|
|
7259
|
+
let n = e, r = t;
|
|
7260
|
+
function i(e, t) {
|
|
7261
|
+
let n = 0;
|
|
7262
|
+
return e.length >= t && n++, e.length >= t + 4 && n++, /[a-z]/.test(e) && /[A-Z]/.test(e) && n++, /\d/.test(e) && n++, /[^a-zA-Z0-9]/.test(e) && n++, Math.min(n, 4);
|
|
7263
|
+
}
|
|
7264
|
+
let a = v(() => n.value.length > 0), o = v(() => i(n.value, n.minLength)), s = v(() => a.value ? o.value + 1 : 0), c = [
|
|
7265
|
+
"bg-error",
|
|
7266
|
+
"bg-error",
|
|
7267
|
+
"bg-tertiary",
|
|
7268
|
+
"bg-primary",
|
|
7269
|
+
"bg-success"
|
|
7270
|
+
], l = [
|
|
7271
|
+
"text-error",
|
|
7272
|
+
"text-error",
|
|
7273
|
+
"text-tertiary",
|
|
7274
|
+
"text-primary",
|
|
7275
|
+
"text-success"
|
|
7276
|
+
], u = v(() => c[o.value]), d = v(() => l[o.value]), f = v(() => n.labels[o.value] ?? "");
|
|
7277
|
+
return X([() => n.value, o], () => r("score", a.value ? o.value : -1), { immediate: !0 }), (e, t) => (L(), S("div", bl, [C("div", xl, [(L(), S(m, null, V(5, (e) => C("div", {
|
|
7278
|
+
key: e,
|
|
7279
|
+
class: M(["h-1 flex-1 rounded-full transition-colors duration-200", e <= s.value ? u.value : "bg-surface-container-highest"])
|
|
7280
|
+
}, null, 2)), 64))]), a.value ? (L(), S("p", {
|
|
7281
|
+
key: 0,
|
|
7282
|
+
class: M(["text-body-small", d.value])
|
|
7283
|
+
}, K(f.value), 3)) : x("", !0)]));
|
|
7284
|
+
}
|
|
7285
|
+
}), Cl = { class: "flex flex-col gap-1" }, wl = ["aria-label"], Tl = [
|
|
7286
|
+
"value",
|
|
7287
|
+
"type",
|
|
7288
|
+
"inputmode",
|
|
7289
|
+
"disabled",
|
|
7290
|
+
"aria-label",
|
|
7291
|
+
"onInput",
|
|
7292
|
+
"onKeydown",
|
|
7293
|
+
"onPaste",
|
|
7294
|
+
"onFocus"
|
|
7295
|
+
], El = {
|
|
7296
|
+
key: 0,
|
|
7297
|
+
"aria-hidden": "true",
|
|
7298
|
+
class: "select-none text-title-large text-on-surface-variant"
|
|
7299
|
+
}, Dl = {
|
|
7300
|
+
key: 0,
|
|
7301
|
+
class: "px-1 text-body-small text-error"
|
|
7302
|
+
}, Ol = {
|
|
7303
|
+
key: 1,
|
|
7304
|
+
class: "px-1 text-body-small text-on-surface-variant"
|
|
7305
|
+
}, kl = "\0", Al = /* @__PURE__ */ D({
|
|
7306
|
+
__name: "MPinInput",
|
|
7307
|
+
props: {
|
|
7308
|
+
modelValue: { default: "" },
|
|
7309
|
+
length: { default: 6 },
|
|
7310
|
+
groups: {},
|
|
7311
|
+
separator: { default: "-" },
|
|
7312
|
+
type: { default: "numeric" },
|
|
7313
|
+
masked: {
|
|
7314
|
+
type: Boolean,
|
|
7315
|
+
default: !1
|
|
7316
|
+
},
|
|
7317
|
+
variant: { default: "filled" },
|
|
7318
|
+
error: { type: Boolean },
|
|
7319
|
+
errorLabel: {},
|
|
7320
|
+
hint: {},
|
|
7321
|
+
disabled: {
|
|
7322
|
+
type: Boolean,
|
|
7323
|
+
default: !1
|
|
7324
|
+
},
|
|
7325
|
+
autoFocus: {
|
|
7326
|
+
type: Boolean,
|
|
7327
|
+
default: !1
|
|
7328
|
+
},
|
|
7329
|
+
label: {}
|
|
7330
|
+
},
|
|
7331
|
+
emits: ["update:modelValue", "complete"],
|
|
7332
|
+
setup(e, { emit: t }) {
|
|
7333
|
+
let n = e, r = v(() => n.groups?.length ? n.groups.reduce((e, t) => e + t, 0) : n.length), i = v(() => {
|
|
7334
|
+
let e = /* @__PURE__ */ new Set();
|
|
7335
|
+
if (!n.groups?.length) return e;
|
|
7336
|
+
let t = 0;
|
|
7337
|
+
for (let r of n.groups.slice(0, -1)) t += r, e.add(t - 1);
|
|
7338
|
+
return e;
|
|
7339
|
+
}), a = t, o = B([]);
|
|
7340
|
+
function s(e, t) {
|
|
7341
|
+
o.value[t] = e;
|
|
7342
|
+
}
|
|
7343
|
+
let c = v(() => n.type === "numeric" ? /[0-9]/ : /[a-zA-Z0-9]/), l = v(() => Array.from({ length: r.value }, (e, t) => {
|
|
7344
|
+
let r = n.modelValue[t];
|
|
7345
|
+
return r === void 0 || r === kl ? "" : r;
|
|
7346
|
+
}));
|
|
7347
|
+
function u(e) {
|
|
7348
|
+
let t = e.length;
|
|
7349
|
+
for (; t > 0 && !e[t - 1];) t--;
|
|
7350
|
+
return e.slice(0, t).map((e) => e || kl).join("");
|
|
7351
|
+
}
|
|
7352
|
+
function d(e) {
|
|
7353
|
+
let t = u(e);
|
|
7354
|
+
a("update:modelValue", t), t.length === r.value && !t.includes(kl) && a("complete", t);
|
|
7355
|
+
}
|
|
7356
|
+
function f(e) {
|
|
7357
|
+
j(() => o.value[e]?.focus());
|
|
7358
|
+
}
|
|
7359
|
+
function p(e) {
|
|
7360
|
+
o.value[e]?.select();
|
|
7361
|
+
}
|
|
7362
|
+
function h(e, t) {
|
|
7363
|
+
let n = t.target, i = n.value.slice(-1);
|
|
7364
|
+
if (i && !c.value.test(i)) {
|
|
7365
|
+
n.value = l.value[e] ?? "";
|
|
7366
|
+
return;
|
|
7367
|
+
}
|
|
7368
|
+
let a = [...l.value];
|
|
7369
|
+
a[e] = i, d(a), i && e < r.value - 1 && f(e + 1);
|
|
7370
|
+
}
|
|
7371
|
+
function g(e, t) {
|
|
7372
|
+
if (t.key === "Backspace" && !l.value[e] && e > 0) {
|
|
7373
|
+
t.preventDefault();
|
|
7374
|
+
let n = [...l.value];
|
|
7375
|
+
n[e - 1] = "", d(n), f(e - 1);
|
|
7376
|
+
} else t.key === "ArrowLeft" && e > 0 ? (t.preventDefault(), f(e - 1)) : t.key === "ArrowRight" && e < r.value - 1 && (t.preventDefault(), f(e + 1));
|
|
7377
|
+
}
|
|
7378
|
+
function _(e, t) {
|
|
7379
|
+
t.preventDefault();
|
|
7380
|
+
let n = (t.clipboardData?.getData("text") ?? "").split("").filter((e) => c.value.test(e));
|
|
7381
|
+
if (n.length === 0) return;
|
|
7382
|
+
let i = [...l.value], a = e;
|
|
7383
|
+
for (let e of n) {
|
|
7384
|
+
if (a >= r.value) break;
|
|
7385
|
+
i[a] = e, a++;
|
|
7386
|
+
}
|
|
7387
|
+
d(i), f(Math.min(a, r.value - 1));
|
|
7388
|
+
}
|
|
7389
|
+
X(() => n.autoFocus, (e) => {
|
|
7390
|
+
e && f(0);
|
|
7391
|
+
}, { immediate: !0 });
|
|
7392
|
+
let y = v(() => {
|
|
7393
|
+
let e = [
|
|
7394
|
+
"h-14 w-12 text-center text-title-large text-on-surface outline-none",
|
|
7395
|
+
"transition-[border-color,border-width] duration-150",
|
|
7396
|
+
"disabled:cursor-not-allowed disabled:opacity-[0.38]"
|
|
7397
|
+
];
|
|
7398
|
+
return n.variant === "outlined" ? [
|
|
7399
|
+
...e,
|
|
7400
|
+
"rounded-sm border bg-transparent",
|
|
7401
|
+
n.error ? "border-error focus:border-2 focus:border-error" : "border-outline hover:border-on-surface focus:border-2 focus:border-primary"
|
|
7402
|
+
].join(" ") : [
|
|
7403
|
+
...e,
|
|
7404
|
+
"rounded-t-sm bg-surface-container-highest border-b",
|
|
7405
|
+
n.error ? "border-error focus:border-b-2 focus:border-error" : "border-on-surface-variant hover:border-on-surface focus:border-b-2 focus:border-primary"
|
|
7406
|
+
].join(" ");
|
|
7407
|
+
});
|
|
7408
|
+
return (t, n) => (L(), S("div", Cl, [C("div", {
|
|
7409
|
+
role: "group",
|
|
7410
|
+
"aria-label": e.label,
|
|
7411
|
+
class: "flex items-center gap-2"
|
|
7412
|
+
}, [(L(!0), S(m, null, V(l.value, (t, n) => (L(), S(m, { key: n }, [C("input", {
|
|
7413
|
+
ref_for: !0,
|
|
7414
|
+
ref: (e) => s(e, n),
|
|
7415
|
+
value: t,
|
|
7416
|
+
type: e.masked ? "password" : "text",
|
|
7417
|
+
inputmode: e.type === "numeric" ? "numeric" : "text",
|
|
7418
|
+
autocomplete: "one-time-code",
|
|
7419
|
+
maxlength: "1",
|
|
7420
|
+
disabled: e.disabled,
|
|
7421
|
+
"aria-label": `Digit ${n + 1} of ${r.value}`,
|
|
7422
|
+
class: M(y.value),
|
|
7423
|
+
onInput: (e) => h(n, e),
|
|
7424
|
+
onKeydown: (e) => g(n, e),
|
|
7425
|
+
onPaste: (e) => _(n, e),
|
|
7426
|
+
onFocus: (e) => p(n)
|
|
7427
|
+
}, null, 42, Tl), i.value.has(n) ? (L(), S("span", El, K(e.separator), 1)) : x("", !0)], 64))), 128))], 8, wl), e.error && e.errorLabel ? (L(), S("p", Dl, K(e.errorLabel), 1)) : e.hint ? (L(), S("p", Ol, K(e.hint), 1)) : x("", !0)]));
|
|
7428
|
+
}
|
|
7429
|
+
}), jl = { class: "flex flex-col gap-1" }, Ml = {
|
|
7122
7430
|
key: 0,
|
|
7123
7431
|
class: "text-label-small text-on-surface-variant"
|
|
7124
|
-
},
|
|
7432
|
+
}, Nl = ["aria-valuenow"], Pl = ["aria-valuenow"], Fl = ["height", "viewBox"], Il = ["d", "stroke-width"], Ll = {
|
|
7125
7433
|
key: 1,
|
|
7126
7434
|
class: "absolute inset-0 overflow-hidden rounded-full"
|
|
7127
|
-
},
|
|
7435
|
+
}, Rl = ["height", "viewBox"], zl = ["d", "stroke-width"], Bl = 20, Vl = 2.5, Hl = 80, Ul = 2, Wl = 4, Gl = 10, Kl = 130, ql = /* @__PURE__ */ D({
|
|
7128
7436
|
__name: "MProgressBar",
|
|
7129
7437
|
props: {
|
|
7130
7438
|
value: {},
|
|
@@ -7156,10 +7464,10 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7156
7464
|
track: "bg-error-container",
|
|
7157
7465
|
text: "text-error"
|
|
7158
7466
|
}
|
|
7159
|
-
}, a = v(() => t.thickness ?? (t.variant === "wavy" ? 3 : 4)), o = v(() =>
|
|
7467
|
+
}, a = v(() => t.thickness ?? (t.variant === "wavy" ? 3 : 4)), o = v(() => Vl + a.value / 2), s = v(() => 2 * Vl + a.value), c = Bl * Hl, l = (() => {
|
|
7160
7468
|
let e = "";
|
|
7161
|
-
for (let t = 0; t <= c; t +=
|
|
7162
|
-
let n = 4 -
|
|
7469
|
+
for (let t = 0; t <= c; t += Ul) {
|
|
7470
|
+
let n = 4 - Vl * Math.sin(t / Bl * Math.PI * 2);
|
|
7163
7471
|
e += `${t === 0 ? "M" : "L"}${t},${n.toFixed(2)} `;
|
|
7164
7472
|
}
|
|
7165
7473
|
return e.trim();
|
|
@@ -7187,8 +7495,8 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7187
7495
|
let y = B(null), b = B(null), w = B(""), T = null, E = 0, D = 2 * Math.PI / 800;
|
|
7188
7496
|
function O(e, t) {
|
|
7189
7497
|
let n = o.value, r = [];
|
|
7190
|
-
for (let i = 0; i <= c; i +=
|
|
7191
|
-
let a = n -
|
|
7498
|
+
for (let i = 0; i <= c; i += Ul) {
|
|
7499
|
+
let a = n - Vl * e * Math.sin(i / Bl * Math.PI * 2 + t);
|
|
7192
7500
|
r.push(`${i === 0 ? "M" : "L"}${i},${a.toFixed(2)}`);
|
|
7193
7501
|
}
|
|
7194
7502
|
return r.join(" ");
|
|
@@ -7196,23 +7504,23 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7196
7504
|
function k(e) {
|
|
7197
7505
|
let t = T === null ? 0 : e - T;
|
|
7198
7506
|
if (T = e, f -= t * D, t > 0) {
|
|
7199
|
-
let e = 1 - Math.exp(-t /
|
|
7507
|
+
let e = 1 - Math.exp(-t / Kl);
|
|
7200
7508
|
u += (r.value - u) * e;
|
|
7201
7509
|
}
|
|
7202
7510
|
d = _(p, e);
|
|
7203
|
-
let n =
|
|
7511
|
+
let n = Wl * d, i = u;
|
|
7204
7512
|
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);
|
|
7205
7513
|
}
|
|
7206
7514
|
X(r, (e, r) => {
|
|
7207
7515
|
if (t.variant !== "wavy" || n.value) return;
|
|
7208
7516
|
let i = performance.now();
|
|
7209
|
-
r <=
|
|
7517
|
+
r <= Gl && e > Gl && e < 100 ? g(p, d, 1, i) : r > Gl && e <= Gl || e === 100 ? g(p, d, 0, i) : r === 100 && e > Gl && g(p, d, 1, i);
|
|
7210
7518
|
});
|
|
7211
7519
|
function A() {
|
|
7212
7520
|
u = r.value;
|
|
7213
7521
|
let e = r.value;
|
|
7214
|
-
d = +(e >
|
|
7215
|
-
let t =
|
|
7522
|
+
d = +(e > Gl && e < 100), p.to = d, p.t0 = -1;
|
|
7523
|
+
let t = Wl * d;
|
|
7216
7524
|
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);
|
|
7217
7525
|
}
|
|
7218
7526
|
function P() {
|
|
@@ -7224,7 +7532,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7224
7532
|
e === "wavy" && !n.value ? (await j(), A()) : P();
|
|
7225
7533
|
}), X(n, async (e) => {
|
|
7226
7534
|
!e && t.variant === "wavy" ? (await j(), A()) : P();
|
|
7227
|
-
}), (t, o) => (L(), S("div",
|
|
7535
|
+
}), (t, o) => (L(), S("div", jl, [e.label ? (L(), S("span", Ml, K(e.label), 1)) : x("", !0), e.variant === "linear" ? (L(), S("div", {
|
|
7228
7536
|
key: 1,
|
|
7229
7537
|
class: M(["relative w-full overflow-hidden rounded-full", i[e.color].track]),
|
|
7230
7538
|
style: N({ height: `${a.value}px` }),
|
|
@@ -7239,7 +7547,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7239
7547
|
key: 0,
|
|
7240
7548
|
class: M(["h-full rounded-full transition-[width] duration-300 ease-in-out", i[e.color].bar]),
|
|
7241
7549
|
style: N({ width: `${r.value}%` })
|
|
7242
|
-
}, null, 6))], 14,
|
|
7550
|
+
}, null, 6))], 14, Nl)) : (L(), S("div", {
|
|
7243
7551
|
key: 2,
|
|
7244
7552
|
class: "relative w-full overflow-visible",
|
|
7245
7553
|
style: N({ height: `${s.value}px` }),
|
|
@@ -7247,7 +7555,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7247
7555
|
"aria-valuenow": n.value ? void 0 : r.value,
|
|
7248
7556
|
"aria-valuemin": "0",
|
|
7249
7557
|
"aria-valuemax": "100"
|
|
7250
|
-
}, [n.value ? (L(), S("div",
|
|
7558
|
+
}, [n.value ? (L(), S("div", Ll, [C("div", {
|
|
7251
7559
|
class: M(["absolute top-0 left-0 h-full animate-[m3-wave-flow_0.9s_linear_infinite]", i[e.color].text]),
|
|
7252
7560
|
style: N({ width: `${c}px` })
|
|
7253
7561
|
}, [(L(), S("svg", {
|
|
@@ -7262,7 +7570,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7262
7570
|
stroke: "currentColor",
|
|
7263
7571
|
"stroke-width": a.value,
|
|
7264
7572
|
"stroke-linecap": "round"
|
|
7265
|
-
}, null, 8,
|
|
7573
|
+
}, null, 8, zl)], 8, Rl))], 6)])) : (L(), S(m, { key: 0 }, [
|
|
7266
7574
|
C("div", {
|
|
7267
7575
|
ref_key: "waveClipEl",
|
|
7268
7576
|
ref: y,
|
|
@@ -7279,7 +7587,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7279
7587
|
stroke: "currentColor",
|
|
7280
7588
|
"stroke-width": a.value,
|
|
7281
7589
|
"stroke-linecap": "round"
|
|
7282
|
-
}, null, 8,
|
|
7590
|
+
}, null, 8, Il)], 10, Fl))], 512),
|
|
7283
7591
|
C("div", {
|
|
7284
7592
|
ref_key: "trackEl",
|
|
7285
7593
|
ref: b,
|
|
@@ -7300,23 +7608,23 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7300
7608
|
height: `${a.value}px`
|
|
7301
7609
|
})
|
|
7302
7610
|
}, null, 6)
|
|
7303
|
-
], 64))], 12,
|
|
7611
|
+
], 64))], 12, Pl))]));
|
|
7304
7612
|
}
|
|
7305
|
-
}),
|
|
7613
|
+
}), Jl = { class: "inline-flex flex-col items-center gap-1" }, Yl = {
|
|
7306
7614
|
key: 0,
|
|
7307
7615
|
class: "text-label-small text-on-surface-variant"
|
|
7308
|
-
},
|
|
7616
|
+
}, Xl = { class: "relative" }, Zl = [
|
|
7309
7617
|
"width",
|
|
7310
7618
|
"height",
|
|
7311
7619
|
"aria-valuenow"
|
|
7312
|
-
],
|
|
7620
|
+
], Ql = ["stroke-width"], $l = ["stroke-width"], eu = ["id"], tu = ["stroke-width"], nu = ["stroke-width"], ru = [
|
|
7313
7621
|
"d",
|
|
7314
7622
|
"stroke-width",
|
|
7315
7623
|
"mask"
|
|
7316
|
-
],
|
|
7624
|
+
], iu = ["stroke-width"], au = ["stroke-width"], ou = {
|
|
7317
7625
|
key: 0,
|
|
7318
7626
|
class: "absolute inset-0 flex items-center justify-center"
|
|
7319
|
-
},
|
|
7627
|
+
}, su = 40, cu = 12, lu = .055, uu = 10, du = 130, fu = /* @__PURE__ */ D({
|
|
7320
7628
|
__name: "MCircleProgressBar",
|
|
7321
7629
|
props: {
|
|
7322
7630
|
value: {},
|
|
@@ -7345,7 +7653,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7345
7653
|
fill: "var(--color-error)",
|
|
7346
7654
|
track: "var(--color-error-container)"
|
|
7347
7655
|
}
|
|
7348
|
-
}, i = v(() => r[t.color]), a = 2 * Math.PI *
|
|
7656
|
+
}, i = v(() => r[t.color]), a = 2 * Math.PI * su, o = cu * 20, s = v(() => t.thickness), c = v(() => t.thickness + Math.ceil(2 * su * lu) + 2), l = v(() => .75 + t.thickness * .25), u = v(() => n.value / 100 * a);
|
|
7349
7657
|
function d(e) {
|
|
7350
7658
|
return e < .5 ? 2 * e * e : 1 - (-2 * e + 2) ** 2 / 2;
|
|
7351
7659
|
}
|
|
@@ -7379,13 +7687,13 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7379
7687
|
return n >= 1 && (e.t0 = -1), r;
|
|
7380
7688
|
}
|
|
7381
7689
|
X(n, (e, n) => {
|
|
7382
|
-
t.indeterminate || (n <=
|
|
7690
|
+
t.indeterminate || (n <= uu && e > uu && E(y, p, 1, performance.now()), n > uu && e <= uu && 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())));
|
|
7383
7691
|
});
|
|
7384
|
-
let O = B(null), k = B(null), A = B(z(
|
|
7692
|
+
let O = B(null), k = B(null), A = B(z(su * lu, 0)), j = null, M = 0, P = 2 * Math.PI / cu / 90;
|
|
7385
7693
|
function R(e) {
|
|
7386
7694
|
let t = j === null ? 0 : e - j;
|
|
7387
7695
|
if (j = e, _ += t * P, t > 0) {
|
|
7388
|
-
let e = 1 - Math.exp(-t /
|
|
7696
|
+
let e = 1 - Math.exp(-t / du);
|
|
7389
7697
|
f += (u.value - f) * e;
|
|
7390
7698
|
}
|
|
7391
7699
|
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) {
|
|
@@ -7395,12 +7703,12 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7395
7703
|
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;
|
|
7396
7704
|
d && (d.setAttribute("stroke-dasharray", `${s.toFixed(2)} ${(a - s).toFixed(2)}`), d.setAttribute("transform", `rotate(${c.toFixed(3)}, 50, 50)`));
|
|
7397
7705
|
let m = Math.max(0, o - 2 * r), v = Math.max(0, o - r), x = k.value;
|
|
7398
|
-
x && (x.setAttribute("stroke-dasharray", `${m.toFixed(2)} ${(a - m).toFixed(2)}`), x.setAttribute("stroke-dashoffset", v.toFixed(2))), A.value = z(
|
|
7706
|
+
x && (x.setAttribute("stroke-dasharray", `${m.toFixed(2)} ${(a - m).toFixed(2)}`), x.setAttribute("stroke-dashoffset", v.toFixed(2))), A.value = z(su * lu * n, _), M = requestAnimationFrame(R);
|
|
7399
7707
|
}
|
|
7400
7708
|
function z(e, t) {
|
|
7401
7709
|
let n = [];
|
|
7402
7710
|
for (let r = 0; r <= o; r++) {
|
|
7403
|
-
let i = 2 * Math.PI * r / o - Math.PI / 2, a =
|
|
7711
|
+
let i = 2 * Math.PI * r / o - Math.PI / 2, a = su + e * Math.sin(cu * i + t), s = 50 + a * Math.cos(i), c = 50 + a * Math.sin(i);
|
|
7404
7712
|
n.push(`${r === 0 ? "M" : "L"}${s.toFixed(2)},${c.toFixed(2)}`);
|
|
7405
7713
|
}
|
|
7406
7714
|
return n.join("") + "Z";
|
|
@@ -7413,7 +7721,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7413
7721
|
}
|
|
7414
7722
|
function W() {
|
|
7415
7723
|
let e = n.value;
|
|
7416
|
-
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 >
|
|
7724
|
+
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 > uu && (p = 1, y.to = 1);
|
|
7417
7725
|
}
|
|
7418
7726
|
F(() => {
|
|
7419
7727
|
t.variant === "wavy" && !t.indeterminate && (W(), V());
|
|
@@ -7423,7 +7731,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7423
7731
|
e ? U() : t.variant === "wavy" && (W(), V());
|
|
7424
7732
|
});
|
|
7425
7733
|
let G = ee();
|
|
7426
|
-
return (t, r) => (L(), S("div",
|
|
7734
|
+
return (t, r) => (L(), S("div", Jl, [e.label ? (L(), S("span", Yl, K(e.label), 1)) : x("", !0), C("div", Xl, [(L(), S("svg", {
|
|
7427
7735
|
width: e.size,
|
|
7428
7736
|
height: e.size,
|
|
7429
7737
|
viewBox: "0 0 100 100",
|
|
@@ -7435,14 +7743,14 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7435
7743
|
}, [e.indeterminate ? (L(), S(m, { key: 0 }, [C("circle", {
|
|
7436
7744
|
cx: "50",
|
|
7437
7745
|
cy: "50",
|
|
7438
|
-
r:
|
|
7746
|
+
r: su,
|
|
7439
7747
|
fill: "none",
|
|
7440
7748
|
"stroke-width": s.value,
|
|
7441
7749
|
style: N({ stroke: i.value.track })
|
|
7442
|
-
}, null, 12,
|
|
7750
|
+
}, null, 12, Ql), C("circle", {
|
|
7443
7751
|
cx: "50",
|
|
7444
7752
|
cy: "50",
|
|
7445
|
-
r:
|
|
7753
|
+
r: su,
|
|
7446
7754
|
fill: "none",
|
|
7447
7755
|
"stroke-width": s.value,
|
|
7448
7756
|
"stroke-linecap": "round",
|
|
@@ -7451,7 +7759,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7451
7759
|
transformOrigin: "50px 50px",
|
|
7452
7760
|
animation: "m3-cpb-spin 1.4s linear infinite, m3-cpb-arc 3s ease-in-out infinite"
|
|
7453
7761
|
})
|
|
7454
|
-
}, null, 12,
|
|
7762
|
+
}, null, 12, $l)], 64)) : e.variant === "wavy" ? (L(), S(m, { key: 1 }, [
|
|
7455
7763
|
C("defs", null, [C("mask", {
|
|
7456
7764
|
id: q(G),
|
|
7457
7765
|
maskUnits: "userSpaceOnUse"
|
|
@@ -7466,25 +7774,25 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7466
7774
|
ref: O,
|
|
7467
7775
|
cx: "50",
|
|
7468
7776
|
cy: "50",
|
|
7469
|
-
r:
|
|
7777
|
+
r: su,
|
|
7470
7778
|
fill: "none",
|
|
7471
7779
|
"stroke-width": c.value,
|
|
7472
7780
|
stroke: "white",
|
|
7473
7781
|
"stroke-dasharray": "0 251",
|
|
7474
7782
|
transform: "rotate(-90, 50, 50)"
|
|
7475
|
-
}, null, 8,
|
|
7783
|
+
}, null, 8, tu)], 8, eu)]),
|
|
7476
7784
|
C("circle", {
|
|
7477
7785
|
ref_key: "trackCircleEl",
|
|
7478
7786
|
ref: k,
|
|
7479
7787
|
cx: "50",
|
|
7480
7788
|
cy: "50",
|
|
7481
|
-
r:
|
|
7789
|
+
r: su,
|
|
7482
7790
|
fill: "none",
|
|
7483
7791
|
"stroke-width": s.value,
|
|
7484
7792
|
style: N({ stroke: i.value.track }),
|
|
7485
7793
|
"stroke-dasharray": "251 0",
|
|
7486
7794
|
transform: "rotate(-90, 50, 50)"
|
|
7487
|
-
}, null, 12,
|
|
7795
|
+
}, null, 12, nu),
|
|
7488
7796
|
C("path", {
|
|
7489
7797
|
d: A.value,
|
|
7490
7798
|
fill: "none",
|
|
@@ -7493,18 +7801,18 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7493
7801
|
"stroke-linejoin": "round",
|
|
7494
7802
|
mask: `url(#${q(G)})`,
|
|
7495
7803
|
style: N({ stroke: i.value.fill })
|
|
7496
|
-
}, null, 12,
|
|
7804
|
+
}, null, 12, ru)
|
|
7497
7805
|
], 64)) : e.indeterminate ? x("", !0) : (L(), S(m, { key: 2 }, [C("circle", {
|
|
7498
7806
|
cx: "50",
|
|
7499
7807
|
cy: "50",
|
|
7500
|
-
r:
|
|
7808
|
+
r: su,
|
|
7501
7809
|
fill: "none",
|
|
7502
7810
|
"stroke-width": s.value,
|
|
7503
7811
|
style: N({ stroke: i.value.track })
|
|
7504
|
-
}, null, 12,
|
|
7812
|
+
}, null, 12, iu), C("circle", {
|
|
7505
7813
|
cx: "50",
|
|
7506
7814
|
cy: "50",
|
|
7507
|
-
r:
|
|
7815
|
+
r: su,
|
|
7508
7816
|
fill: "none",
|
|
7509
7817
|
"stroke-width": s.value,
|
|
7510
7818
|
"stroke-linecap": "round",
|
|
@@ -7515,7 +7823,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7515
7823
|
transformOrigin: "50px 50px",
|
|
7516
7824
|
transition: "stroke-dasharray 300ms ease"
|
|
7517
7825
|
})
|
|
7518
|
-
}, null, 12,
|
|
7826
|
+
}, null, 12, au)], 64)), !e.indeterminate && !t.$slots.default ? (L(), S("text", {
|
|
7519
7827
|
key: 3,
|
|
7520
7828
|
x: "50",
|
|
7521
7829
|
y: "50",
|
|
@@ -7527,16 +7835,16 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7527
7835
|
fontWeight: "600",
|
|
7528
7836
|
fontFamily: "Roboto, sans-serif"
|
|
7529
7837
|
})
|
|
7530
|
-
}, K(n.value) + "%", 5)) : x("", !0)], 8,
|
|
7838
|
+
}, K(n.value) + "%", 5)) : x("", !0)], 8, Zl)), t.$slots.default ? (L(), S("div", ou, [H(t.$slots, "default")])) : x("", !0)])]));
|
|
7531
7839
|
}
|
|
7532
|
-
}),
|
|
7840
|
+
}), pu = ["for"], mu = { class: "relative flex h-5 w-5 shrink-0" }, hu = [
|
|
7533
7841
|
"id",
|
|
7534
7842
|
"checked",
|
|
7535
7843
|
"disabled"
|
|
7536
|
-
],
|
|
7844
|
+
], gu = {
|
|
7537
7845
|
key: 0,
|
|
7538
7846
|
class: "text-body-large text-on-surface"
|
|
7539
|
-
},
|
|
7847
|
+
}, _u = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
7540
7848
|
__name: "MRadio",
|
|
7541
7849
|
props: {
|
|
7542
7850
|
modelValue: {},
|
|
@@ -7559,14 +7867,14 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7559
7867
|
return (t, n) => (L(), S("label", {
|
|
7560
7868
|
for: q(i),
|
|
7561
7869
|
class: M(["inline-flex items-center gap-3 select-none", e.disabled ? "cursor-not-allowed opacity-[0.38]" : "cursor-pointer"])
|
|
7562
|
-
}, [C("span",
|
|
7870
|
+
}, [C("span", mu, [C("input", {
|
|
7563
7871
|
id: q(i),
|
|
7564
7872
|
type: "radio",
|
|
7565
7873
|
class: "sr-only",
|
|
7566
7874
|
checked: a.value,
|
|
7567
7875
|
disabled: e.disabled,
|
|
7568
7876
|
onChange: n[0] ||= (t) => r("update:modelValue", e.value)
|
|
7569
|
-
}, null, 40,
|
|
7877
|
+
}, null, 40, hu), (L(), S("svg", {
|
|
7570
7878
|
viewBox: "0 0 20 20",
|
|
7571
7879
|
class: M(["h-full w-full transition-colors duration-150", a.value ? o[e.color] : "text-on-surface-variant"]),
|
|
7572
7880
|
"aria-hidden": "true"
|
|
@@ -7583,12 +7891,12 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7583
7891
|
cy: "10",
|
|
7584
7892
|
r: "4.5",
|
|
7585
7893
|
fill: "currentColor"
|
|
7586
|
-
}, null, 2)], 2))]), e.label ? (L(), S("span",
|
|
7894
|
+
}, null, 2)], 2))]), e.label ? (L(), S("span", gu, K(e.label), 1)) : x("", !0)], 10, pu));
|
|
7587
7895
|
}
|
|
7588
|
-
}), [["__scopeId", "data-v-cdb650b5"]]),
|
|
7896
|
+
}), [["__scopeId", "data-v-cdb650b5"]]), vu = { class: "flex flex-col gap-2" }, yu = {
|
|
7589
7897
|
key: 0,
|
|
7590
7898
|
class: "text-label-large text-on-surface-variant"
|
|
7591
|
-
},
|
|
7899
|
+
}, bu = /* @__PURE__ */ D({
|
|
7592
7900
|
__name: "MRadioGroup",
|
|
7593
7901
|
props: {
|
|
7594
7902
|
modelValue: {},
|
|
@@ -7604,7 +7912,7 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7604
7912
|
emits: ["update:modelValue"],
|
|
7605
7913
|
setup(e, { emit: t }) {
|
|
7606
7914
|
let n = t;
|
|
7607
|
-
return (t, r) => (L(), S("div",
|
|
7915
|
+
return (t, r) => (L(), S("div", vu, [e.label ? (L(), S("span", yu, K(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(_u, {
|
|
7608
7916
|
key: String(t.value),
|
|
7609
7917
|
"model-value": e.modelValue,
|
|
7610
7918
|
value: t.value,
|
|
@@ -7620,11 +7928,11 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7620
7928
|
"disabled"
|
|
7621
7929
|
]))), 128))], 2)]));
|
|
7622
7930
|
}
|
|
7623
|
-
}),
|
|
7931
|
+
}), xu = [
|
|
7624
7932
|
"disabled",
|
|
7625
7933
|
"onClick",
|
|
7626
7934
|
"onMousemove"
|
|
7627
|
-
],
|
|
7935
|
+
], Su = /* @__PURE__ */ D({
|
|
7628
7936
|
__name: "MRating",
|
|
7629
7937
|
props: {
|
|
7630
7938
|
modelValue: {},
|
|
@@ -7701,13 +8009,86 @@ var jc = /*#__PURE__*/ p(Oc, [["render", Ac]]), Mc = {
|
|
|
7701
8009
|
name: e.icon,
|
|
7702
8010
|
size: e.size,
|
|
7703
8011
|
class: "text-on-surface-variant/40"
|
|
7704
|
-
}, null, 8, ["name", "size"]))], 46,
|
|
8012
|
+
}, null, 8, ["name", "size"]))], 46, xu))), 128))], 34));
|
|
7705
8013
|
}
|
|
7706
|
-
}),
|
|
7707
|
-
function
|
|
7708
|
-
return L(), S("div",
|
|
8014
|
+
}), Cu = {}, wu = { class: "relative" };
|
|
8015
|
+
function Tu(e, t) {
|
|
8016
|
+
return L(), S("div", wu, [H(e.$slots, "default")]);
|
|
7709
8017
|
}
|
|
7710
|
-
var
|
|
8018
|
+
var Eu = /*#__PURE__*/ p(Cu, [["render", Tu]]), Du = ["datetime", "title"], Ou = /* @__PURE__ */ D({
|
|
8019
|
+
__name: "MRelativeTime",
|
|
8020
|
+
props: {
|
|
8021
|
+
value: {},
|
|
8022
|
+
locale: {}
|
|
8023
|
+
},
|
|
8024
|
+
setup(e) {
|
|
8025
|
+
let n = e, r = t(), i = v(() => n.locale ?? r.lang), a = v(() => new Date(n.value)), o = B(Date.now()), s = [
|
|
8026
|
+
{
|
|
8027
|
+
amount: 60,
|
|
8028
|
+
unit: "seconds",
|
|
8029
|
+
tick: 1e3
|
|
8030
|
+
},
|
|
8031
|
+
{
|
|
8032
|
+
amount: 60,
|
|
8033
|
+
unit: "minutes",
|
|
8034
|
+
tick: 3e4
|
|
8035
|
+
},
|
|
8036
|
+
{
|
|
8037
|
+
amount: 24,
|
|
8038
|
+
unit: "hours",
|
|
8039
|
+
tick: 6e4
|
|
8040
|
+
},
|
|
8041
|
+
{
|
|
8042
|
+
amount: 7,
|
|
8043
|
+
unit: "days",
|
|
8044
|
+
tick: 36e5
|
|
8045
|
+
},
|
|
8046
|
+
{
|
|
8047
|
+
amount: 4.34524,
|
|
8048
|
+
unit: "weeks",
|
|
8049
|
+
tick: 36e5
|
|
8050
|
+
},
|
|
8051
|
+
{
|
|
8052
|
+
amount: 12,
|
|
8053
|
+
unit: "months",
|
|
8054
|
+
tick: 36e5
|
|
8055
|
+
},
|
|
8056
|
+
{
|
|
8057
|
+
amount: Infinity,
|
|
8058
|
+
unit: "years",
|
|
8059
|
+
tick: 0
|
|
8060
|
+
}
|
|
8061
|
+
], c;
|
|
8062
|
+
function l() {
|
|
8063
|
+
clearTimeout(c);
|
|
8064
|
+
let e = (a.value.getTime() - o.value) / 1e3;
|
|
8065
|
+
for (let t of s) {
|
|
8066
|
+
if (Math.abs(e) < t.amount) {
|
|
8067
|
+
t.tick > 0 && (c = setTimeout(() => {
|
|
8068
|
+
o.value = Date.now(), l();
|
|
8069
|
+
}, t.tick));
|
|
8070
|
+
return;
|
|
8071
|
+
}
|
|
8072
|
+
e /= t.amount;
|
|
8073
|
+
}
|
|
8074
|
+
}
|
|
8075
|
+
X(a, () => {
|
|
8076
|
+
o.value = Date.now(), l();
|
|
8077
|
+
}, { immediate: !0 }), I(() => clearTimeout(c));
|
|
8078
|
+
let u = v(() => {
|
|
8079
|
+
let e = new Intl.RelativeTimeFormat(i.value, { numeric: "auto" }), t = (a.value.getTime() - o.value) / 1e3;
|
|
8080
|
+
for (let n of s) {
|
|
8081
|
+
if (Math.abs(t) < n.amount) return e.format(Math.round(t), n.unit);
|
|
8082
|
+
t /= n.amount;
|
|
8083
|
+
}
|
|
8084
|
+
return e.format(0, "seconds");
|
|
8085
|
+
}), d = v(() => a.value.toLocaleString(i.value));
|
|
8086
|
+
return (e, t) => (L(), S("time", {
|
|
8087
|
+
datetime: a.value.toISOString(),
|
|
8088
|
+
title: d.value
|
|
8089
|
+
}, K(u.value), 9, Du));
|
|
8090
|
+
}
|
|
8091
|
+
}), ku = /* @__PURE__ */ D({
|
|
7711
8092
|
__name: "MResponsive",
|
|
7712
8093
|
props: {
|
|
7713
8094
|
show: {},
|
|
@@ -7739,19 +8120,19 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
7739
8120
|
_: 3
|
|
7740
8121
|
}, 8, ["class"]));
|
|
7741
8122
|
}
|
|
7742
|
-
}),
|
|
8123
|
+
}), Au = { class: "flex flex-col items-center justify-center gap-4 py-14 text-center" }, ju = {
|
|
7743
8124
|
key: 0,
|
|
7744
8125
|
class: "text-display-small font-medium text-on-surface-variant/30"
|
|
7745
|
-
},
|
|
8126
|
+
}, Mu = { class: "text-headline-small font-medium text-on-surface" }, Nu = {
|
|
7746
8127
|
key: 1,
|
|
7747
8128
|
class: "max-w-md text-body-large text-on-surface-variant"
|
|
7748
|
-
},
|
|
8129
|
+
}, Pu = {
|
|
7749
8130
|
key: 2,
|
|
7750
8131
|
class: "mt-2 flex flex-wrap items-center justify-center gap-3"
|
|
7751
|
-
},
|
|
8132
|
+
}, Fu = {
|
|
7752
8133
|
key: 3,
|
|
7753
8134
|
class: "mt-2"
|
|
7754
|
-
},
|
|
8135
|
+
}, Iu = /* @__PURE__ */ D({
|
|
7755
8136
|
__name: "MResult",
|
|
7756
8137
|
props: {
|
|
7757
8138
|
status: {},
|
|
@@ -7819,19 +8200,19 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
7819
8200
|
};
|
|
7820
8201
|
}
|
|
7821
8202
|
}), i = v(() => t.status === "404" || t.status === "403" || t.status === "500" ? t.status : null);
|
|
7822
|
-
return (t, a) => (L(), S("div",
|
|
7823
|
-
i.value ? (L(), S("span",
|
|
8203
|
+
return (t, a) => (L(), S("div", Au, [
|
|
8204
|
+
i.value ? (L(), S("span", ju, K(i.value), 1)) : x("", !0),
|
|
7824
8205
|
C("div", { class: M(["flex h-20 w-20 items-center justify-center rounded-full", [n.value.bg, n.value.text]]) }, [E(r, {
|
|
7825
8206
|
name: n.value.icon,
|
|
7826
8207
|
size: 40
|
|
7827
8208
|
}, null, 8, ["name"])], 2),
|
|
7828
|
-
C("h2",
|
|
7829
|
-
e.description ?? n.value.defaultDesc ? (L(), S("p",
|
|
7830
|
-
t.$slots.actions ? (L(), S("div",
|
|
7831
|
-
t.$slots.default ? (L(), S("div",
|
|
8209
|
+
C("h2", Mu, K(e.title ?? n.value.defaultTitle), 1),
|
|
8210
|
+
e.description ?? n.value.defaultDesc ? (L(), S("p", Nu, K(e.description ?? n.value.defaultDesc), 1)) : x("", !0),
|
|
8211
|
+
t.$slots.actions ? (L(), S("div", Pu, [H(t.$slots, "actions")])) : x("", !0),
|
|
8212
|
+
t.$slots.default ? (L(), S("div", Fu, [H(t.$slots, "default")])) : x("", !0)
|
|
7832
8213
|
]));
|
|
7833
8214
|
}
|
|
7834
|
-
}),
|
|
8215
|
+
}), Lu = { class: "flex flex-col overflow-hidden rounded-lg border border-outline-variant" }, Ru = { class: "flex items-center justify-between border-b border-outline-variant bg-surface-container px-4 py-3" }, zu = { class: "flex items-center gap-1" }, Bu = { class: "text-title-medium font-medium capitalize text-on-surface" }, Vu = { class: "flex rounded-full bg-surface-container-high p-0.5" }, Hu = ["onClick"], Uu = { class: "overflow-auto" }, Wu = { class: "w-full border-collapse" }, Gu = { class: "text-label-small uppercase text-on-surface-variant" }, Ku = { class: "w-16 border-r border-b border-outline-variant/50 p-0 pr-2 text-right align-top" }, qu = { class: "relative -top-2.5 text-label-small text-on-surface-variant" }, Ju = ["onClick"], Yu = ["onClick"], Xu = { class: "truncate text-label-small font-medium" }, Zu = { class: "truncate text-label-small opacity-70" }, Qu = /* @__PURE__ */ D({
|
|
7835
8216
|
__name: "MScheduler",
|
|
7836
8217
|
props: {
|
|
7837
8218
|
events: { default: () => [] },
|
|
@@ -7912,8 +8293,8 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
7912
8293
|
error: "bg-error-container text-on-error-container border-error/30",
|
|
7913
8294
|
success: "bg-success-container text-on-success-container border-success/30"
|
|
7914
8295
|
};
|
|
7915
|
-
return (t, n) => (L(), S("div",
|
|
7916
|
-
C("div",
|
|
8296
|
+
return (t, n) => (L(), S("div", Lu, [C("div", Ru, [
|
|
8297
|
+
C("div", zu, [
|
|
7917
8298
|
E(l, {
|
|
7918
8299
|
icon: "chevron_left",
|
|
7919
8300
|
label: e.prevLabel ?? q(r).previous,
|
|
@@ -7932,17 +8313,17 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
7932
8313
|
onClick: w
|
|
7933
8314
|
}, K(e.todayLabel ?? q(r).today), 1)
|
|
7934
8315
|
]),
|
|
7935
|
-
C("h3",
|
|
7936
|
-
C("div",
|
|
8316
|
+
C("h3", Bu, K(y.value), 1),
|
|
8317
|
+
C("div", Vu, [(L(), S(m, null, V(["day", "week"], (t) => C("button", {
|
|
7937
8318
|
key: t,
|
|
7938
8319
|
type: "button",
|
|
7939
8320
|
class: M(["cursor-pointer rounded-full px-3 py-1 text-label-medium transition-all duration-150", s.value === t ? "bg-secondary-container text-on-secondary-container shadow-elevation-1" : "text-on-surface-variant hover:bg-on-surface/8"]),
|
|
7940
8321
|
onClick: (e) => s.value = t
|
|
7941
|
-
}, K(t === "day" ? e.dayViewLabel ?? q(r).dayView : e.weekViewLabel ?? q(r).weekView), 11,
|
|
7942
|
-
]), C("div",
|
|
8322
|
+
}, K(t === "day" ? e.dayViewLabel ?? q(r).dayView : e.weekViewLabel ?? q(r).weekView), 11, Hu)), 64))])
|
|
8323
|
+
]), C("div", Uu, [C("table", Wu, [C("thead", null, [C("tr", null, [n[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", {
|
|
7943
8324
|
key: h(e),
|
|
7944
8325
|
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) === q(p) ? "bg-primary-container/30" : ""])
|
|
7945
|
-
}, [C("div",
|
|
8326
|
+
}, [C("div", Gu, K(q(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) === q(p) ? "bg-primary text-on-primary font-medium" : "text-on-surface"]) }, K(q(_).format(e)), 3)], 2))), 128))])]), C("tbody", null, [(L(!0), S(m, null, V(c.value, (e) => (L(), S("tr", { key: e }, [C("td", Ku, [C("span", qu, K(String(e).padStart(2, "0")) + ":00 ", 1)]), (L(!0), S(m, null, V(f.value, (t) => (L(), S("td", {
|
|
7946
8327
|
key: h(t),
|
|
7947
8328
|
class: M(["relative h-14 border-r border-b border-outline-variant/50 p-0 last:border-r-0", h(t) === q(p) ? "bg-primary-container/5" : ""]),
|
|
7948
8329
|
onClick: (n) => a("slotClick", {
|
|
@@ -7955,9 +8336,9 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
7955
8336
|
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"]]),
|
|
7956
8337
|
style: N({ height: `calc(${O(t) * 100}% - 4px)` }),
|
|
7957
8338
|
onClick: Q((e) => a("eventClick", t), ["stop"])
|
|
7958
|
-
}, [C("p",
|
|
8339
|
+
}, [C("p", Xu, K(t.title), 1), C("p", Zu, K(k(t)), 1)], 14, Yu)) : x("", !0)], 64))), 128))], 10, Ju))), 128))]))), 128))])])])]));
|
|
7959
8340
|
}
|
|
7960
|
-
}),
|
|
8341
|
+
}), $u = /* @__PURE__ */ D({
|
|
7961
8342
|
__name: "MScrollable",
|
|
7962
8343
|
props: {
|
|
7963
8344
|
direction: { default: "vertical" },
|
|
@@ -7978,13 +8359,13 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
7978
8359
|
style: N(i.value)
|
|
7979
8360
|
}, [H(e.$slots, "default")], 6));
|
|
7980
8361
|
}
|
|
7981
|
-
}),
|
|
8362
|
+
}), ed = { key: 0 }, td = { class: "flex items-start justify-between" }, nd = {
|
|
7982
8363
|
key: 0,
|
|
7983
8364
|
class: "mt-1 text-body-medium text-on-surface-variant"
|
|
7984
|
-
},
|
|
8365
|
+
}, rd = {
|
|
7985
8366
|
key: 0,
|
|
7986
8367
|
class: "mt-4 h-px bg-outline-variant"
|
|
7987
|
-
},
|
|
8368
|
+
}, id = /* @__PURE__ */ D({
|
|
7988
8369
|
__name: "MSection",
|
|
7989
8370
|
props: {
|
|
7990
8371
|
title: {},
|
|
@@ -8021,19 +8402,19 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
8021
8402
|
"label-medium": "text-label-medium",
|
|
8022
8403
|
"label-small": "text-label-small"
|
|
8023
8404
|
}, i = v(() => n[t.gap]), a = v(() => [r[t.titleVariant], "font-medium"]);
|
|
8024
|
-
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",
|
|
8405
|
+
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", ed, [C("div", td, [C("div", null, [H(t.$slots, "title", {}, () => [e.title ? (L(), S("p", {
|
|
8025
8406
|
key: 0,
|
|
8026
8407
|
class: M(a.value)
|
|
8027
|
-
}, K(e.title), 3)) : x("", !0)]), H(t.$slots, "subtitle", {}, () => [e.subtitle ? (L(), S("p",
|
|
8408
|
+
}, K(e.title), 3)) : x("", !0)]), H(t.$slots, "subtitle", {}, () => [e.subtitle ? (L(), S("p", nd, K(e.subtitle), 1)) : x("", !0)])]), H(t.$slots, "actions")]), e.divider ? (L(), S("div", rd)) : x("", !0)])) : x("", !0), H(t.$slots, "default")], 2));
|
|
8028
8409
|
}
|
|
8029
|
-
}),
|
|
8410
|
+
}), ad = {
|
|
8030
8411
|
class: "inline-flex overflow-hidden rounded-full border border-outline",
|
|
8031
8412
|
role: "group"
|
|
8032
|
-
},
|
|
8413
|
+
}, od = [
|
|
8033
8414
|
"disabled",
|
|
8034
8415
|
"aria-pressed",
|
|
8035
8416
|
"onClick"
|
|
8036
|
-
],
|
|
8417
|
+
], sd = /* @__PURE__ */ D({
|
|
8037
8418
|
__name: "MSegmentedButton",
|
|
8038
8419
|
props: {
|
|
8039
8420
|
modelValue: {},
|
|
@@ -8057,7 +8438,7 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
8057
8438
|
i >= 0 ? r.splice(i, 1) : r.push(e.value), n("update:modelValue", r);
|
|
8058
8439
|
} else n("update:modelValue", e.value);
|
|
8059
8440
|
}
|
|
8060
|
-
return (t, n) => (L(), S("div",
|
|
8441
|
+
return (t, n) => (L(), S("div", ad, [(L(!0), S(m, null, V(e.options, (t, n) => (L(), S("button", {
|
|
8061
8442
|
key: t.value,
|
|
8062
8443
|
type: "button",
|
|
8063
8444
|
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]", [
|
|
@@ -8078,35 +8459,35 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
8078
8459
|
key: 1,
|
|
8079
8460
|
name: t.icon,
|
|
8080
8461
|
size: 18
|
|
8081
|
-
}, null, 8, ["name"])) : x("", !0), C("span", null, K(t.label), 1)], 10,
|
|
8462
|
+
}, null, 8, ["name"])) : x("", !0), C("span", null, K(t.label), 1)], 10, od))), 128))]));
|
|
8082
8463
|
}
|
|
8083
|
-
}),
|
|
8464
|
+
}), cd = { class: "flex flex-col gap-1" }, ld = [
|
|
8084
8465
|
"id",
|
|
8085
8466
|
"tabindex",
|
|
8086
8467
|
"aria-expanded",
|
|
8087
8468
|
"aria-disabled"
|
|
8088
|
-
],
|
|
8469
|
+
], ud = {
|
|
8089
8470
|
key: 0,
|
|
8090
8471
|
class: "text-on-surface"
|
|
8091
|
-
},
|
|
8472
|
+
}, dd = ["for"], fd = {
|
|
8092
8473
|
key: 0,
|
|
8093
8474
|
class: "text-error"
|
|
8094
|
-
},
|
|
8475
|
+
}, pd = { class: "pointer-events-none absolute right-2 top-1/2 -translate-y-1/2 flex h-6 items-center" }, md = {
|
|
8095
8476
|
key: 0,
|
|
8096
8477
|
class: "px-4 text-body-small text-error"
|
|
8097
|
-
},
|
|
8478
|
+
}, hd = {
|
|
8098
8479
|
key: 1,
|
|
8099
8480
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
8100
|
-
},
|
|
8481
|
+
}, gd = ["onClick"], _d = {
|
|
8101
8482
|
key: 1,
|
|
8102
8483
|
class: "w-[18px] shrink-0"
|
|
8103
|
-
},
|
|
8484
|
+
}, vd = {
|
|
8104
8485
|
key: 0,
|
|
8105
8486
|
class: "px-4 py-3 text-center text-body-small text-on-surface-variant"
|
|
8106
|
-
},
|
|
8487
|
+
}, yd = { 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" }, bd = { class: "flex items-center justify-between px-6 pt-6 pb-4" }, xd = { class: "text-headline-small text-on-surface" }, Sd = { class: "flex-1 overflow-y-auto py-2" }, Cd = ["onClick"], wd = {
|
|
8107
8488
|
key: 0,
|
|
8108
8489
|
class: "px-6 py-4 text-center text-body-medium text-on-surface-variant"
|
|
8109
|
-
},
|
|
8490
|
+
}, Td = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
8110
8491
|
__name: "MSelect",
|
|
8111
8492
|
props: {
|
|
8112
8493
|
modelValue: { default: void 0 },
|
|
@@ -8225,7 +8606,7 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
8225
8606
|
u.value ? i.error ? "text-error" : "text-primary" : i.error ? "text-error" : "text-on-surface-variant"
|
|
8226
8607
|
].join(" ");
|
|
8227
8608
|
});
|
|
8228
|
-
return (t, n) => (L(), S(m, null, [C("div",
|
|
8609
|
+
return (t, n) => (L(), S(m, null, [C("div", cd, [C("div", {
|
|
8229
8610
|
ref_key: "fieldEl",
|
|
8230
8611
|
ref: f,
|
|
8231
8612
|
class: M(["relative", e.variant === "outlined" ? "mt-2" : ""]),
|
|
@@ -8247,11 +8628,11 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
8247
8628
|
class: M([U.value, e.disabled ? "pointer-events-none opacity-[0.38]" : ""]),
|
|
8248
8629
|
onClick: A,
|
|
8249
8630
|
onKeydown: z
|
|
8250
|
-
}, [D.value ? (L(), S("span",
|
|
8631
|
+
}, [D.value ? (L(), S("span", ud, K(O.value), 1)) : x("", !0)], 42, ld),
|
|
8251
8632
|
C("label", {
|
|
8252
8633
|
for: q(c),
|
|
8253
8634
|
class: M(G.value)
|
|
8254
|
-
}, [T(K(e.label), 1), e.required ? (L(), S("span",
|
|
8635
|
+
}, [T(K(e.label), 1), e.required ? (L(), S("span", fd, "\xA0*")) : x("", !0)], 10, dd),
|
|
8255
8636
|
e.clearable && D.value && !e.disabled ? (L(), S("button", {
|
|
8256
8637
|
key: 1,
|
|
8257
8638
|
type: "button",
|
|
@@ -8263,12 +8644,12 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
8263
8644
|
name: "close",
|
|
8264
8645
|
size: 18
|
|
8265
8646
|
})])) : x("", !0),
|
|
8266
|
-
C("div",
|
|
8647
|
+
C("div", pd, [E(r, {
|
|
8267
8648
|
name: "arrow_drop_down",
|
|
8268
8649
|
size: 24,
|
|
8269
8650
|
class: M(["text-on-surface-variant transition-transform duration-200", u.value || d.value ? "rotate-180" : ""])
|
|
8270
8651
|
}, null, 8, ["class"])])
|
|
8271
|
-
], 6), e.error && e.errorLabel ? (L(), S("p",
|
|
8652
|
+
], 6), e.error && e.errorLabel ? (L(), S("p", md, K(e.errorLabel), 1)) : e.hint ? (L(), S("p", hd, K(e.hint), 1)) : x("", !0)]), (L(), b(h, { to: "body" }, [E(g, {
|
|
8272
8653
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
8273
8654
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
8274
8655
|
"enter-to-class": "opacity-100 translate-y-0 scale-100",
|
|
@@ -8291,21 +8672,21 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
8291
8672
|
name: "check",
|
|
8292
8673
|
size: 18,
|
|
8293
8674
|
class: "shrink-0 text-primary"
|
|
8294
|
-
})) : (L(), S("span",
|
|
8675
|
+
})) : (L(), S("span", _d)), T(" " + K(t.label), 1)], 10, gd))), 128)), e.options.length ? x("", !0) : (L(), S("p", vd, " Sin opciones "))], 4)) : x("", !0)]),
|
|
8295
8676
|
_: 1
|
|
8296
8677
|
}), E(g, { name: "m3-select-modal" }, {
|
|
8297
8678
|
default: Z(() => [d.value && e.mode === "modal" ? (L(), S("div", {
|
|
8298
8679
|
key: 0,
|
|
8299
8680
|
class: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",
|
|
8300
8681
|
onClick: Q(H, ["self"])
|
|
8301
|
-
}, [C("div",
|
|
8302
|
-
C("div",
|
|
8682
|
+
}, [C("div", yd, [
|
|
8683
|
+
C("div", bd, [C("h2", xd, K(e.label || e.placeholder), 1), E(l, {
|
|
8303
8684
|
icon: "close",
|
|
8304
8685
|
label: q(s).close,
|
|
8305
8686
|
onClick: H
|
|
8306
8687
|
}, null, 8, ["label"])]),
|
|
8307
8688
|
n[1] ||= C("div", { class: "h-px bg-outline-variant" }, null, -1),
|
|
8308
|
-
C("div",
|
|
8689
|
+
C("div", Sd, [(L(!0), S(m, null, V(e.options, (t, n) => (L(), S("div", {
|
|
8309
8690
|
key: n,
|
|
8310
8691
|
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" : ""]]),
|
|
8311
8692
|
onClick: (e) => j(t)
|
|
@@ -8313,21 +8694,21 @@ var uu = /*#__PURE__*/ p(su, [["render", lu]]), du = /* @__PURE__ */ D({
|
|
|
8313
8694
|
name: w(t.value, e.modelValue) ? "radio_button_checked" : "radio_button_unchecked",
|
|
8314
8695
|
size: 20,
|
|
8315
8696
|
class: M(w(t.value, e.modelValue) ? "text-primary" : "text-on-surface-variant")
|
|
8316
|
-
}, null, 8, ["name", "class"]), C("span", { class: M(w(t.value, e.modelValue) ? "text-primary font-medium" : "") }, K(t.label), 3)], 10,
|
|
8697
|
+
}, null, 8, ["name", "class"]), C("span", { class: M(w(t.value, e.modelValue) ? "text-primary font-medium" : "") }, K(t.label), 3)], 10, Cd))), 128)), e.options.length ? x("", !0) : (L(), S("p", wd, " Sin opciones "))])
|
|
8317
8698
|
])])) : x("", !0)]),
|
|
8318
8699
|
_: 1
|
|
8319
8700
|
})]))], 64));
|
|
8320
8701
|
}
|
|
8321
|
-
}), [["__scopeId", "data-v-17adb5b4"]]),
|
|
8702
|
+
}), [["__scopeId", "data-v-17adb5b4"]]), Ed = {
|
|
8322
8703
|
key: 0,
|
|
8323
8704
|
class: "absolute inset-0 flex items-center justify-center"
|
|
8324
|
-
},
|
|
8705
|
+
}, Dd = {
|
|
8325
8706
|
key: 1,
|
|
8326
8707
|
class: "absolute inset-0 flex items-center justify-center p-4"
|
|
8327
|
-
},
|
|
8708
|
+
}, Od = {
|
|
8328
8709
|
key: 2,
|
|
8329
8710
|
class: "absolute inset-0 flex items-center justify-center overflow-auto p-4"
|
|
8330
|
-
},
|
|
8711
|
+
}, kd = { class: "max-h-full w-full overflow-auto whitespace-pre-wrap text-body-small text-error" }, Ad = /* @__PURE__ */ D({
|
|
8331
8712
|
__name: "MShader",
|
|
8332
8713
|
props: {
|
|
8333
8714
|
code: {},
|
|
@@ -8622,18 +9003,18 @@ void main() {
|
|
|
8622
9003
|
ref_key: "canvasRef",
|
|
8623
9004
|
ref: c,
|
|
8624
9005
|
class: "block h-full w-full touch-none"
|
|
8625
|
-
}, null, 512), l.value === "loading" ? (L(), S("div",
|
|
9006
|
+
}, null, 512), l.value === "loading" ? (L(), S("div", Ed, [H(e.$slots, "loading", {}, () => [E(s)])])) : l.value === "fallback" ? (L(), S("div", Dd, [H(e.$slots, "fallback", {}, () => [t[0] ||= C("p", { class: "text-center text-body-medium text-on-surface-variant" }, " Shaders are not supported in this browser. ", -1)])])) : l.value === "error" ? (L(), S("div", Od, [H(e.$slots, "error", { message: u.value }, () => [C("pre", kd, K(u.value), 1)])])) : x("", !0)], 512));
|
|
8626
9007
|
}
|
|
8627
|
-
}),
|
|
9008
|
+
}), jd = {
|
|
8628
9009
|
key: 0,
|
|
8629
9010
|
class: "fixed inset-0 z-200 flex justify-end"
|
|
8630
|
-
},
|
|
9011
|
+
}, Md = {
|
|
8631
9012
|
key: 0,
|
|
8632
9013
|
class: "flex shrink-0 items-center justify-between border-b border-outline-variant px-6 py-4"
|
|
8633
|
-
},
|
|
9014
|
+
}, Nd = { class: "text-title-large text-on-surface" }, Pd = { class: "flex-1 overflow-y-auto px-6 py-4" }, Fd = {
|
|
8634
9015
|
key: 1,
|
|
8635
9016
|
class: "shrink-0 border-t border-outline-variant px-6 py-4"
|
|
8636
|
-
},
|
|
9017
|
+
}, Id = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
8637
9018
|
__name: "MSideSheet",
|
|
8638
9019
|
props: {
|
|
8639
9020
|
modelValue: { type: Boolean },
|
|
@@ -8663,7 +9044,7 @@ void main() {
|
|
|
8663
9044
|
leave: 280
|
|
8664
9045
|
}
|
|
8665
9046
|
}, {
|
|
8666
|
-
default: Z(() => [e.modelValue ? (L(), S("div",
|
|
9047
|
+
default: Z(() => [e.modelValue ? (L(), S("div", jd, [C("div", {
|
|
8667
9048
|
class: "ss-scrim absolute inset-0 bg-black/40",
|
|
8668
9049
|
onClick: i
|
|
8669
9050
|
}), C("aside", {
|
|
@@ -8676,7 +9057,7 @@ void main() {
|
|
|
8676
9057
|
onPointermove: l,
|
|
8677
9058
|
onPointerup: u
|
|
8678
9059
|
}, null, 32),
|
|
8679
|
-
e.title || t.$slots.header ? (L(), S("div",
|
|
9060
|
+
e.title || t.$slots.header ? (L(), S("div", Md, [H(t.$slots, "header", {}, () => [C("h2", Nd, K(e.title), 1)], !0), C("button", {
|
|
8680
9061
|
type: "button",
|
|
8681
9062
|
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",
|
|
8682
9063
|
onClick: i
|
|
@@ -8684,16 +9065,106 @@ void main() {
|
|
|
8684
9065
|
name: "close",
|
|
8685
9066
|
size: 20
|
|
8686
9067
|
})])])) : x("", !0),
|
|
8687
|
-
C("div",
|
|
8688
|
-
t.$slots.actions ? (L(), S("div",
|
|
9068
|
+
C("div", Pd, [H(t.$slots, "default", {}, void 0, !0)]),
|
|
9069
|
+
t.$slots.actions ? (L(), S("div", Fd, [H(t.$slots, "actions", {}, void 0, !0)])) : x("", !0)
|
|
8689
9070
|
], 6)])) : x("", !0)]),
|
|
8690
9071
|
_: 3
|
|
8691
9072
|
})]));
|
|
8692
9073
|
}
|
|
8693
|
-
}), [["__scopeId", "data-v-ba5b6f4b"]]),
|
|
9074
|
+
}), [["__scopeId", "data-v-ba5b6f4b"]]), Ld = ["width", "height"], Rd = /* @__PURE__ */ D({
|
|
9075
|
+
__name: "MSignaturePad",
|
|
9076
|
+
props: {
|
|
9077
|
+
width: { default: 400 },
|
|
9078
|
+
height: { default: 200 },
|
|
9079
|
+
lineWidth: { default: 2.5 },
|
|
9080
|
+
color: { default: "#000000" },
|
|
9081
|
+
background: { default: "#ffffff" },
|
|
9082
|
+
variant: { default: "outlined" },
|
|
9083
|
+
disabled: {
|
|
9084
|
+
type: Boolean,
|
|
9085
|
+
default: !1
|
|
9086
|
+
}
|
|
9087
|
+
},
|
|
9088
|
+
emits: [
|
|
9089
|
+
"begin",
|
|
9090
|
+
"end",
|
|
9091
|
+
"change"
|
|
9092
|
+
],
|
|
9093
|
+
setup(e, { expose: t, emit: n }) {
|
|
9094
|
+
let r = e, i = n, a = B(null), o = B([]), s = B(!1), c = v(() => o.value.length === 0);
|
|
9095
|
+
function l() {
|
|
9096
|
+
return a.value?.getContext("2d") ?? null;
|
|
9097
|
+
}
|
|
9098
|
+
function u() {
|
|
9099
|
+
let e = l(), t = a.value;
|
|
9100
|
+
if (!(!e || !t)) {
|
|
9101
|
+
e.clearRect(0, 0, t.width, t.height), e.fillStyle = r.background, e.fillRect(0, 0, t.width, t.height), e.strokeStyle = r.color, e.lineWidth = r.lineWidth, e.lineCap = "round", e.lineJoin = "round";
|
|
9102
|
+
for (let t of o.value) if (!(t.length < 2)) {
|
|
9103
|
+
e.beginPath(), e.moveTo(t[0].x, t[0].y);
|
|
9104
|
+
for (let n of t.slice(1)) e.lineTo(n.x, n.y);
|
|
9105
|
+
e.stroke();
|
|
9106
|
+
}
|
|
9107
|
+
}
|
|
9108
|
+
}
|
|
9109
|
+
function d(e) {
|
|
9110
|
+
let t = a.value.getBoundingClientRect();
|
|
9111
|
+
return {
|
|
9112
|
+
x: e.clientX - t.left,
|
|
9113
|
+
y: e.clientY - t.top
|
|
9114
|
+
};
|
|
9115
|
+
}
|
|
9116
|
+
function f(e) {
|
|
9117
|
+
r.disabled || (s.value = !0, o.value.push([d(e)]), i("begin"), a.value?.setPointerCapture(e.pointerId));
|
|
9118
|
+
}
|
|
9119
|
+
function p(e) {
|
|
9120
|
+
s.value && (o.value[o.value.length - 1].push(d(e)), u());
|
|
9121
|
+
}
|
|
9122
|
+
function m() {
|
|
9123
|
+
if (!s.value) return;
|
|
9124
|
+
s.value = !1;
|
|
9125
|
+
let e = y();
|
|
9126
|
+
i("end", e), i("change", e);
|
|
9127
|
+
}
|
|
9128
|
+
function h() {
|
|
9129
|
+
o.value = [], u();
|
|
9130
|
+
}
|
|
9131
|
+
function g() {
|
|
9132
|
+
o.value = o.value.slice(0, -1), u(), i("change", y());
|
|
9133
|
+
}
|
|
9134
|
+
function _() {
|
|
9135
|
+
return c.value;
|
|
9136
|
+
}
|
|
9137
|
+
function y(e, t) {
|
|
9138
|
+
return a.value?.toDataURL(e, t) ?? "";
|
|
9139
|
+
}
|
|
9140
|
+
X([
|
|
9141
|
+
() => r.color,
|
|
9142
|
+
() => r.background,
|
|
9143
|
+
() => r.lineWidth
|
|
9144
|
+
], u), F(u), t({
|
|
9145
|
+
clear: h,
|
|
9146
|
+
undo: g,
|
|
9147
|
+
isEmpty: _,
|
|
9148
|
+
toDataURL: y
|
|
9149
|
+
});
|
|
9150
|
+
let b = v(() => r.variant === "outlined" ? "rounded-sm border border-outline" : "rounded-t-sm bg-surface-container-highest border-b border-on-surface-variant");
|
|
9151
|
+
return (t, n) => (L(), S("div", { class: M(["inline-block touch-none", [b.value, e.disabled ? "cursor-not-allowed opacity-[0.38]" : "cursor-crosshair"]]) }, [C("canvas", {
|
|
9152
|
+
ref_key: "canvasEl",
|
|
9153
|
+
ref: a,
|
|
9154
|
+
width: e.width,
|
|
9155
|
+
height: e.height,
|
|
9156
|
+
role: "img",
|
|
9157
|
+
"aria-label": "Signature pad",
|
|
9158
|
+
onPointerdown: f,
|
|
9159
|
+
onPointermove: p,
|
|
9160
|
+
onPointerup: m,
|
|
9161
|
+
onPointerleave: m
|
|
9162
|
+
}, null, 40, Ld)], 2));
|
|
9163
|
+
}
|
|
9164
|
+
}), zd = {
|
|
8694
9165
|
key: 0,
|
|
8695
9166
|
class: "flex flex-col gap-2.5"
|
|
8696
|
-
},
|
|
9167
|
+
}, Bd = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
8697
9168
|
__name: "MSkeleton",
|
|
8698
9169
|
props: {
|
|
8699
9170
|
variant: { default: "text" },
|
|
@@ -8703,7 +9174,7 @@ void main() {
|
|
|
8703
9174
|
animation: { default: "pulse" }
|
|
8704
9175
|
},
|
|
8705
9176
|
setup(e) {
|
|
8706
|
-
return (t, n) => e.variant === "text" && e.lines > 1 ? (L(), S("div",
|
|
9177
|
+
return (t, n) => e.variant === "text" && e.lines > 1 ? (L(), S("div", zd, [(L(!0), S(m, null, V(e.lines, (t) => (L(), S("div", {
|
|
8707
9178
|
key: t,
|
|
8708
9179
|
class: M(["h-3.5 rounded-full bg-on-surface/10", e.animation === "pulse" ? "animate-pulse" : e.animation === "wave" ? "skeleton-wave" : ""]),
|
|
8709
9180
|
style: N({ width: t === e.lines ? "60%" : e.width ?? "100%" })
|
|
@@ -8716,22 +9187,22 @@ void main() {
|
|
|
8716
9187
|
})
|
|
8717
9188
|
}, null, 6));
|
|
8718
9189
|
}
|
|
8719
|
-
}), [["__scopeId", "data-v-32ecf05b"]]),
|
|
9190
|
+
}), [["__scopeId", "data-v-32ecf05b"]]), Vd = {
|
|
8720
9191
|
key: 0,
|
|
8721
9192
|
class: "flex items-center justify-between"
|
|
8722
|
-
},
|
|
9193
|
+
}, Hd = {
|
|
8723
9194
|
key: 0,
|
|
8724
9195
|
class: "text-label-large text-on-surface"
|
|
8725
|
-
},
|
|
9196
|
+
}, Ud = {
|
|
8726
9197
|
key: 1,
|
|
8727
9198
|
class: "tabular-nums text-label-large text-on-surface-variant"
|
|
8728
|
-
},
|
|
9199
|
+
}, Wd = [
|
|
8729
9200
|
"aria-valuenow",
|
|
8730
9201
|
"aria-valuemin",
|
|
8731
9202
|
"aria-valuemax",
|
|
8732
9203
|
"aria-disabled",
|
|
8733
9204
|
"aria-orientation"
|
|
8734
|
-
],
|
|
9205
|
+
], Gd = /* @__PURE__ */ D({
|
|
8735
9206
|
__name: "MSlider",
|
|
8736
9207
|
props: {
|
|
8737
9208
|
modelValue: {},
|
|
@@ -8942,7 +9413,7 @@ void main() {
|
|
|
8942
9413
|
};
|
|
8943
9414
|
}
|
|
8944
9415
|
let W = v(() => c.value ? `${l.value.lo} – ${l.value.hi}` : String(n.modelValue)), G = v(() => c.value && typeof o.value == "number" ? n.modelValue[o.value] : n.modelValue), q = v(() => c.value && typeof o.value == "number" ? u(n.modelValue[o.value]) : d.value);
|
|
8945
|
-
return (t, n) => (L(), S("div", { class: M(["flex select-none", s.value ? "h-full flex-col items-center" : "flex-col gap-1"]) }, [e.label || e.showValue ? (L(), S("div",
|
|
9416
|
+
return (t, n) => (L(), S("div", { class: M(["flex select-none", s.value ? "h-full flex-col items-center" : "flex-col gap-1"]) }, [e.label || e.showValue ? (L(), S("div", Vd, [e.label ? (L(), S("span", Hd, K(e.label), 1)) : x("", !0), e.showValue ? (L(), S("span", Ud, K(W.value), 1)) : x("", !0)])) : x("", !0), C("div", { class: M(["flex items-center", s.value ? "flex-1 flex-col" : ""]) }, [C("div", {
|
|
8946
9417
|
ref_key: "trackEl",
|
|
8947
9418
|
ref: a,
|
|
8948
9419
|
role: "slider",
|
|
@@ -9246,13 +9717,13 @@ void main() {
|
|
|
9246
9717
|
}, K(G.value), 5)) : x("", !0)]),
|
|
9247
9718
|
_: 1
|
|
9248
9719
|
})
|
|
9249
|
-
], 46,
|
|
9720
|
+
], 46, Wd)], 2)], 2));
|
|
9250
9721
|
}
|
|
9251
|
-
}),
|
|
9252
|
-
function
|
|
9253
|
-
return L(), S("div",
|
|
9722
|
+
}), Kd = {}, qd = { class: "flex-1" };
|
|
9723
|
+
function Jd(e, t) {
|
|
9724
|
+
return L(), S("div", qd);
|
|
9254
9725
|
}
|
|
9255
|
-
var
|
|
9726
|
+
var Yd = /*#__PURE__*/ p(Kd, [["render", Jd]]), Xd = ["disabled"], Zd = ["disabled"], Qd = ["disabled", "onClick"], $d = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
9256
9727
|
__name: "MSplitButton",
|
|
9257
9728
|
props: {
|
|
9258
9729
|
label: {},
|
|
@@ -9464,7 +9935,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9464
9935
|
key: 0,
|
|
9465
9936
|
name: e.icon,
|
|
9466
9937
|
size: d.value.icon
|
|
9467
|
-
}, null, 8, ["name", "size"])) : x("", !0), T(" " + K(e.label), 1)], 46,
|
|
9938
|
+
}, null, 8, ["name", "size"])) : x("", !0), T(" " + K(e.label), 1)], 46, Xd), C("button", {
|
|
9468
9939
|
type: "button",
|
|
9469
9940
|
class: M(["toggle-btn relative flex cursor-pointer items-center justify-center overflow-hidden", [
|
|
9470
9941
|
d.value.h,
|
|
@@ -9484,7 +9955,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9484
9955
|
name: "arrow_drop_down",
|
|
9485
9956
|
size: d.value.arrow,
|
|
9486
9957
|
class: M(["transition-transform duration-200", a.value ? "rotate-180" : ""])
|
|
9487
|
-
}, null, 8, ["size", "class"])], 46,
|
|
9958
|
+
}, null, 8, ["size", "class"])], 46, Zd)], 2), (L(), b(h, { to: "body" }, [E(g, {
|
|
9488
9959
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
9489
9960
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
9490
9961
|
"leave-active-class": "transition-[opacity,transform] duration-100",
|
|
@@ -9507,7 +9978,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9507
9978
|
name: e.icon,
|
|
9508
9979
|
size: 18,
|
|
9509
9980
|
class: "shrink-0 text-on-surface-variant"
|
|
9510
|
-
}, null, 8, ["name"])) : x("", !0), T(" " + K(e.label), 1)], 10,
|
|
9981
|
+
}, null, 8, ["name"])) : x("", !0), T(" " + K(e.label), 1)], 10, Qd))), 128))], 4)) : x("", !0)]),
|
|
9511
9982
|
_: 1
|
|
9512
9983
|
}), E(g, {
|
|
9513
9984
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
@@ -9524,7 +9995,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9524
9995
|
_: 3
|
|
9525
9996
|
})]))], 64));
|
|
9526
9997
|
}
|
|
9527
|
-
}), [["__scopeId", "data-v-ec1435bc"]]),
|
|
9998
|
+
}), [["__scopeId", "data-v-ec1435bc"]]), ef = /* @__PURE__ */ D({
|
|
9528
9999
|
__name: "MSplitter",
|
|
9529
10000
|
props: {
|
|
9530
10001
|
direction: { default: "horizontal" },
|
|
@@ -9571,26 +10042,26 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9571
10042
|
}, [H(e.$slots, "second")], 4)
|
|
9572
10043
|
], 2));
|
|
9573
10044
|
}
|
|
9574
|
-
}),
|
|
10045
|
+
}), tf = { class: "spot-box flex w-full max-w-xl flex-col overflow-hidden rounded-2xl bg-surface-container-high shadow-elevation-3" }, nf = { class: "flex items-center gap-3 px-5 py-1" }, rf = ["placeholder"], af = {
|
|
9575
10046
|
key: 0,
|
|
9576
10047
|
class: "max-h-96 overflow-y-auto border-t border-outline-variant"
|
|
9577
|
-
},
|
|
10048
|
+
}, of = {
|
|
9578
10049
|
key: 0,
|
|
9579
10050
|
class: "px-5 pt-4 pb-1 text-label-small font-medium tracking-wide text-on-surface-variant uppercase"
|
|
9580
|
-
},
|
|
10051
|
+
}, sf = [
|
|
9581
10052
|
"data-spot-active",
|
|
9582
10053
|
"onClick",
|
|
9583
10054
|
"onPointerenter"
|
|
9584
|
-
],
|
|
10055
|
+
], cf = {
|
|
9585
10056
|
key: 0,
|
|
9586
10057
|
class: "flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-primary-container"
|
|
9587
|
-
},
|
|
10058
|
+
}, lf = { class: "min-w-0 flex-1" }, uf = { class: "truncate text-body-medium text-on-surface" }, df = {
|
|
9588
10059
|
key: 0,
|
|
9589
10060
|
class: "truncate text-body-small text-on-surface-variant"
|
|
9590
|
-
},
|
|
10061
|
+
}, ff = {
|
|
9591
10062
|
key: 1,
|
|
9592
10063
|
class: "flex flex-col items-center gap-2 py-10"
|
|
9593
|
-
},
|
|
10064
|
+
}, pf = { class: "text-body-medium text-on-surface-variant" }, mf = { class: "flex items-center gap-4 border-t border-outline-variant px-5 py-2" }, hf = { class: "flex items-center gap-1 text-label-small text-on-surface-variant" }, gf = { class: "flex items-center gap-1 text-label-small text-on-surface-variant" }, _f = { class: "flex items-center gap-1 text-label-small text-on-surface-variant" }, vf = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
9594
10065
|
__name: "MSpotlightSearch",
|
|
9595
10066
|
props: {
|
|
9596
10067
|
modelValue: { type: Boolean },
|
|
@@ -9654,8 +10125,8 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9654
10125
|
key: 0,
|
|
9655
10126
|
class: "fixed inset-0 z-50 flex items-start justify-center bg-black/50 pt-[12vh]",
|
|
9656
10127
|
onClick: Q(_, ["self"])
|
|
9657
|
-
}, [C("div",
|
|
9658
|
-
C("div",
|
|
10128
|
+
}, [C("div", tf, [
|
|
10129
|
+
C("div", nf, [
|
|
9659
10130
|
E(r, {
|
|
9660
10131
|
name: "search",
|
|
9661
10132
|
size: 24,
|
|
@@ -9669,7 +10140,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9669
10140
|
placeholder: e.placeholder ?? q(i).search,
|
|
9670
10141
|
class: "h-14 flex-1 bg-transparent text-title-medium text-on-surface outline-none placeholder:text-on-surface-variant/50",
|
|
9671
10142
|
onKeydown: D
|
|
9672
|
-
}, null, 40,
|
|
10143
|
+
}, null, 40, rf), [[Y, c.value]]),
|
|
9673
10144
|
e.loading ? (L(), b(s, {
|
|
9674
10145
|
key: 0,
|
|
9675
10146
|
size: 20,
|
|
@@ -9684,7 +10155,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9684
10155
|
size: 18
|
|
9685
10156
|
})])) : x("", !0)
|
|
9686
10157
|
]),
|
|
9687
|
-
f.value ? (L(), S("div",
|
|
10158
|
+
f.value ? (L(), S("div", af, [e.results.length ? (L(!0), S(m, { key: 0 }, V(p.value, ([t, n]) => (L(), S(m, { key: t }, [t ? (L(), S("p", of, K(t), 1)) : x("", !0), (L(!0), S(m, null, V(n, (t) => (L(), S("button", {
|
|
9688
10159
|
key: t.id,
|
|
9689
10160
|
type: "button",
|
|
9690
10161
|
"data-spot-active": e.results.indexOf(t) === l.value || void 0,
|
|
@@ -9692,32 +10163,32 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9692
10163
|
onClick: (e) => y(t),
|
|
9693
10164
|
onPointerenter: (n) => l.value = e.results.indexOf(t)
|
|
9694
10165
|
}, [
|
|
9695
|
-
t.icon ? (L(), S("div",
|
|
10166
|
+
t.icon ? (L(), S("div", cf, [E(r, {
|
|
9696
10167
|
name: t.icon,
|
|
9697
10168
|
size: 20,
|
|
9698
10169
|
class: "text-on-primary-container"
|
|
9699
10170
|
}, null, 8, ["name"])])) : x("", !0),
|
|
9700
|
-
C("div",
|
|
10171
|
+
C("div", lf, [C("p", uf, K(t.title), 1), t.description ? (L(), S("p", df, K(t.description), 1)) : x("", !0)]),
|
|
9701
10172
|
E(r, {
|
|
9702
10173
|
name: "arrow_forward",
|
|
9703
10174
|
size: 16,
|
|
9704
10175
|
class: "shrink-0 text-on-surface-variant/40"
|
|
9705
10176
|
})
|
|
9706
|
-
], 42,
|
|
10177
|
+
], 42, sf))), 128))], 64))), 128)) : e.loading ? x("", !0) : (L(), S("div", ff, [E(r, {
|
|
9707
10178
|
name: "search_off",
|
|
9708
10179
|
size: 40,
|
|
9709
10180
|
class: "text-on-surface-variant/40"
|
|
9710
|
-
}), C("p",
|
|
9711
|
-
C("div",
|
|
9712
|
-
C("span",
|
|
9713
|
-
C("span",
|
|
9714
|
-
C("span",
|
|
10181
|
+
}), C("p", pf, K(e.noResultsText ?? q(i).noResults), 1)]))])) : x("", !0),
|
|
10182
|
+
C("div", mf, [
|
|
10183
|
+
C("span", hf, [n[2] ||= C("kbd", { class: "rounded bg-surface-container px-1 py-0.5" }, "↑↓", -1), T(" " + K(e.navigateHint ?? q(i).navigateHint), 1)]),
|
|
10184
|
+
C("span", gf, [n[3] ||= C("kbd", { class: "rounded bg-surface-container px-1 py-0.5" }, "↵", -1), T(" " + K(e.openHint ?? q(i).openHint), 1)]),
|
|
10185
|
+
C("span", _f, [n[4] ||= C("kbd", { class: "rounded bg-surface-container px-1 py-0.5" }, "esc", -1), T(" " + K(e.closeHint ?? q(i).closeHint), 1)])
|
|
9715
10186
|
])
|
|
9716
10187
|
])])) : x("", !0)]),
|
|
9717
10188
|
_: 1
|
|
9718
10189
|
})]));
|
|
9719
10190
|
}
|
|
9720
|
-
}), [["__scopeId", "data-v-1fa0da82"]]),
|
|
10191
|
+
}), [["__scopeId", "data-v-1fa0da82"]]), yf = /* @__PURE__ */ D({
|
|
9721
10192
|
__name: "MStack",
|
|
9722
10193
|
props: {
|
|
9723
10194
|
direction: { default: "column" },
|
|
@@ -9770,21 +10241,21 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9770
10241
|
key: 0,
|
|
9771
10242
|
class: M(o.value),
|
|
9772
10243
|
role: "separator"
|
|
9773
|
-
}, null, 2)) : x("", !0), (L(), b(W(e)))], 64))), 128)) : H(t.$slots, "default", {
|
|
10244
|
+
}, null, 2)) : x("", !0), (L(), b(W(e)))], 64))), 128)) : H(t.$slots, "default", {}, void 0, void 0, 1)], 2));
|
|
9774
10245
|
}
|
|
9775
|
-
}),
|
|
10246
|
+
}), bf = { class: "flex flex-col gap-2 overflow-hidden rounded-lg border border-outline-variant bg-surface-container-lowest p-4" }, xf = { class: "flex items-start justify-between gap-2" }, Sf = { class: "flex min-w-0 flex-col gap-1" }, Cf = { class: "truncate text-label-large text-on-surface-variant" }, wf = {
|
|
9776
10247
|
key: 0,
|
|
9777
10248
|
class: "h-8 w-24 animate-pulse rounded-md bg-on-surface/10"
|
|
9778
|
-
},
|
|
10249
|
+
}, Tf = {
|
|
9779
10250
|
key: 1,
|
|
9780
10251
|
class: "truncate text-headline-medium font-medium text-on-surface"
|
|
9781
|
-
},
|
|
10252
|
+
}, Ef = {
|
|
9782
10253
|
key: 0,
|
|
9783
10254
|
class: "flex flex-wrap items-center gap-x-2 gap-y-1"
|
|
9784
|
-
},
|
|
10255
|
+
}, Df = {
|
|
9785
10256
|
key: 1,
|
|
9786
10257
|
class: "text-label-medium text-on-surface-variant"
|
|
9787
|
-
},
|
|
10258
|
+
}, Of = /* @__PURE__ */ D({
|
|
9788
10259
|
__name: "MStatCard",
|
|
9789
10260
|
props: {
|
|
9790
10261
|
title: {},
|
|
@@ -9803,13 +10274,13 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9803
10274
|
error: "bg-error-container text-on-error-container",
|
|
9804
10275
|
success: "bg-success-container text-on-success-container"
|
|
9805
10276
|
}, i = v(() => t.trend == null ? "" : t.trend > 0 ? "text-success" : t.trend < 0 ? "text-error" : "text-on-surface-variant"), a = v(() => t.trend == null ? "" : t.trend > 0 ? "trending_up" : t.trend < 0 ? "trending_down" : "trending_flat");
|
|
9806
|
-
return (t, o) => (L(), S("div",
|
|
10277
|
+
return (t, o) => (L(), S("div", bf, [C("div", xf, [C("div", Sf, [C("span", Cf, K(e.title), 1), e.loading ? (L(), S("div", wf)) : (L(), S("span", Tf, K(e.value), 1))]), e.icon ? (L(), S("div", {
|
|
9807
10278
|
key: 0,
|
|
9808
10279
|
class: M(["flex h-11 w-11 shrink-0 items-center justify-center rounded-xl", n[e.color]])
|
|
9809
10280
|
}, [E(r, {
|
|
9810
10281
|
name: e.icon,
|
|
9811
10282
|
size: 24
|
|
9812
|
-
}, null, 8, ["name"])], 2)) : x("", !0)]), e.trend != null || e.trendLabel || t.$slots.footer ? (L(), S("div",
|
|
10283
|
+
}, null, 8, ["name"])], 2)) : x("", !0)]), e.trend != null || e.trendLabel || t.$slots.footer ? (L(), S("div", Ef, [
|
|
9813
10284
|
e.trend == null ? x("", !0) : (L(), S("span", {
|
|
9814
10285
|
key: 0,
|
|
9815
10286
|
class: M(["inline-flex items-center gap-0.5 text-label-medium font-medium", i.value])
|
|
@@ -9817,35 +10288,35 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9817
10288
|
name: a.value,
|
|
9818
10289
|
size: 16
|
|
9819
10290
|
}, null, 8, ["name"]), T(" " + K(e.trend > 0 ? "+" : "") + K(e.trend) + "% ", 1)], 2)),
|
|
9820
|
-
e.trendLabel ? (L(), S("span",
|
|
10291
|
+
e.trendLabel ? (L(), S("span", Df, K(e.trendLabel), 1)) : x("", !0),
|
|
9821
10292
|
H(t.$slots, "footer")
|
|
9822
10293
|
])) : x("", !0)]));
|
|
9823
10294
|
}
|
|
9824
|
-
}),
|
|
10295
|
+
}), kf = {
|
|
9825
10296
|
key: 0,
|
|
9826
10297
|
class: "flex w-full items-start"
|
|
9827
|
-
},
|
|
10298
|
+
}, Af = ["onClick"], jf = { key: 3 }, Mf = { class: "flex flex-col items-center text-center" }, Nf = {
|
|
9828
10299
|
key: 0,
|
|
9829
10300
|
class: "text-body-small text-on-surface-variant"
|
|
9830
|
-
},
|
|
10301
|
+
}, Pf = {
|
|
9831
10302
|
key: 1,
|
|
9832
10303
|
class: "text-body-small text-on-surface-variant"
|
|
9833
|
-
},
|
|
10304
|
+
}, Ff = {
|
|
9834
10305
|
key: 0,
|
|
9835
10306
|
class: "mt-[18px] flex flex-1 items-center px-2"
|
|
9836
|
-
},
|
|
10307
|
+
}, If = {
|
|
9837
10308
|
key: 1,
|
|
9838
10309
|
class: "flex flex-col"
|
|
9839
|
-
},
|
|
10310
|
+
}, Lf = { class: "flex flex-col items-center" }, Rf = ["onClick"], zf = { key: 3 }, Bf = ["onClick"], Vf = {
|
|
9840
10311
|
key: 0,
|
|
9841
10312
|
class: "mt-0.5 text-body-small text-on-surface-variant"
|
|
9842
|
-
},
|
|
10313
|
+
}, Hf = {
|
|
9843
10314
|
key: 1,
|
|
9844
10315
|
class: "text-body-small text-on-surface-variant"
|
|
9845
|
-
},
|
|
10316
|
+
}, Uf = {
|
|
9846
10317
|
key: 2,
|
|
9847
10318
|
class: "mt-3"
|
|
9848
|
-
},
|
|
10319
|
+
}, Wf = /* @__PURE__ */ D({
|
|
9849
10320
|
__name: "MStepper",
|
|
9850
10321
|
props: {
|
|
9851
10322
|
steps: {},
|
|
@@ -9866,7 +10337,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9866
10337
|
function s(e) {
|
|
9867
10338
|
o.value && i("update:modelValue", e);
|
|
9868
10339
|
}
|
|
9869
|
-
return (t, n) => e.direction === "horizontal" ? (L(), S("div",
|
|
10340
|
+
return (t, n) => e.direction === "horizontal" ? (L(), S("div", kf, [(L(!0), S(m, null, V(e.steps, (t, n) => (L(), S(m, { key: n }, [C("div", {
|
|
9870
10341
|
class: M(["flex flex-col items-center gap-2", o.value && a(n) !== "active" ? "cursor-pointer" : ""]),
|
|
9871
10342
|
onClick: (e) => s(n)
|
|
9872
10343
|
}, [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", {
|
|
@@ -9885,18 +10356,18 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9885
10356
|
key: 2,
|
|
9886
10357
|
name: t.icon,
|
|
9887
10358
|
size: 20
|
|
9888
|
-
}, null, 8, ["name"])) : (L(), S("span",
|
|
10359
|
+
}, null, 8, ["name"])) : (L(), S("span", jf, K(n + 1), 1))], 2), C("div", Mf, [
|
|
9889
10360
|
C("span", { class: M(["text-label-large", {
|
|
9890
10361
|
"font-medium text-on-surface": a(n) === "active" || a(n) === "completed",
|
|
9891
10362
|
"text-error": a(n) === "error",
|
|
9892
10363
|
"text-on-surface-variant": a(n) === "inactive"
|
|
9893
10364
|
}]) }, K(t.label), 3),
|
|
9894
|
-
t.description ? (L(), S("span",
|
|
9895
|
-
t.optional ? (L(), S("span",
|
|
9896
|
-
])], 10,
|
|
10365
|
+
t.description ? (L(), S("span", Nf, K(t.description), 1)) : x("", !0),
|
|
10366
|
+
t.optional ? (L(), S("span", Pf, " Opcional ")) : x("", !0)
|
|
10367
|
+
])], 10, Af), n < e.steps.length - 1 ? (L(), S("div", Ff, [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", If, [(L(!0), S(m, null, V(e.steps, (n, i) => (L(), S("div", {
|
|
9897
10368
|
key: i,
|
|
9898
10369
|
class: "flex gap-4"
|
|
9899
|
-
}, [C("div",
|
|
10370
|
+
}, [C("div", Lf, [C("div", {
|
|
9900
10371
|
class: M(["flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-label-large font-medium transition-colors duration-200", [{
|
|
9901
10372
|
"bg-primary text-on-primary": a(i) === "active" || a(i) === "completed",
|
|
9902
10373
|
"bg-error text-on-error": a(i) === "error",
|
|
@@ -9915,7 +10386,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9915
10386
|
key: 2,
|
|
9916
10387
|
name: n.icon,
|
|
9917
10388
|
size: 20
|
|
9918
|
-
}, null, 8, ["name"])) : (L(), S("span",
|
|
10389
|
+
}, null, 8, ["name"])) : (L(), S("span", zf, K(i + 1), 1))], 10, Rf), i < e.steps.length - 1 ? (L(), S("div", {
|
|
9919
10390
|
key: 0,
|
|
9920
10391
|
class: M(["my-1 w-px flex-1 transition-colors duration-300", i < e.modelValue ? "bg-primary" : "bg-outline-variant"]),
|
|
9921
10392
|
style: { "min-height": "24px" }
|
|
@@ -9928,12 +10399,12 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9928
10399
|
"text-error": a(i) === "error",
|
|
9929
10400
|
"text-on-surface-variant": a(i) === "inactive"
|
|
9930
10401
|
}]) }, K(n.label), 3),
|
|
9931
|
-
n.description ? (L(), S("p",
|
|
9932
|
-
n.optional ? (L(), S("p",
|
|
9933
|
-
a(i) === "active" && t.$slots[`step-${i}`] ? (L(), S("div",
|
|
9934
|
-
], 10,
|
|
10402
|
+
n.description ? (L(), S("p", Vf, K(n.description), 1)) : x("", !0),
|
|
10403
|
+
n.optional ? (L(), S("p", Hf, " Opcional ")) : x("", !0),
|
|
10404
|
+
a(i) === "active" && t.$slots[`step-${i}`] ? (L(), S("div", Uf, [H(t.$slots, `step-${i}`)])) : x("", !0)
|
|
10405
|
+
], 10, Bf)]))), 128))]));
|
|
9935
10406
|
}
|
|
9936
|
-
}),
|
|
10407
|
+
}), Gf = /* @__PURE__ */ D({
|
|
9937
10408
|
__name: "MSticky",
|
|
9938
10409
|
props: {
|
|
9939
10410
|
top: { default: 0 },
|
|
@@ -9951,7 +10422,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9951
10422
|
}));
|
|
9952
10423
|
return (e, t) => (L(), S("div", { style: N(r.value) }, [H(e.$slots, "default")], 4));
|
|
9953
10424
|
}
|
|
9954
|
-
}),
|
|
10425
|
+
}), Kf = /* @__PURE__ */ D({
|
|
9955
10426
|
__name: "MText",
|
|
9956
10427
|
props: {
|
|
9957
10428
|
variant: { default: "body-medium" },
|
|
@@ -10031,7 +10502,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10031
10502
|
_: 3
|
|
10032
10503
|
}, 8, ["class"]));
|
|
10033
10504
|
}
|
|
10034
|
-
}),
|
|
10505
|
+
}), qf = /* @__PURE__ */ D({
|
|
10035
10506
|
__name: "MSubtitle",
|
|
10036
10507
|
props: {
|
|
10037
10508
|
size: { default: "large" },
|
|
@@ -10045,7 +10516,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10045
10516
|
medium: "body-medium",
|
|
10046
10517
|
small: "body-small"
|
|
10047
10518
|
}, r = v(() => n[t.size]);
|
|
10048
|
-
return (t, n) => (L(), b(
|
|
10519
|
+
return (t, n) => (L(), b(Kf, {
|
|
10049
10520
|
variant: r.value,
|
|
10050
10521
|
color: e.color,
|
|
10051
10522
|
align: e.align,
|
|
@@ -10060,31 +10531,31 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10060
10531
|
"truncate"
|
|
10061
10532
|
]));
|
|
10062
10533
|
}
|
|
10063
|
-
}),
|
|
10534
|
+
}), Jf = { class: "flex flex-col overflow-hidden rounded-sm border border-outline-variant" }, Yf = {
|
|
10064
10535
|
key: 0,
|
|
10065
10536
|
class: "flex flex-wrap items-center gap-3 border-b border-outline-variant bg-surface-container-lowest px-4 py-2.5"
|
|
10066
|
-
},
|
|
10537
|
+
}, Xf = {
|
|
10067
10538
|
key: 0,
|
|
10068
10539
|
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"
|
|
10069
|
-
},
|
|
10540
|
+
}, Zf = ["placeholder"], Qf = {
|
|
10070
10541
|
key: 0,
|
|
10071
10542
|
class: "rounded-full bg-primary/12 px-3 py-1 text-label-small font-medium text-primary"
|
|
10072
|
-
},
|
|
10543
|
+
}, $f = { class: "overflow-x-auto" }, ep = { class: "w-full border-collapse" }, tp = { class: "bg-surface-container-high" }, np = {
|
|
10073
10544
|
key: 0,
|
|
10074
10545
|
class: "w-12 px-4 py-3"
|
|
10075
|
-
},
|
|
10546
|
+
}, rp = ["onClick"], ip = { class: "inline-flex items-center gap-1" }, ap = {
|
|
10076
10547
|
key: 0,
|
|
10077
10548
|
class: "inline-flex"
|
|
10078
|
-
},
|
|
10549
|
+
}, op = {
|
|
10079
10550
|
key: 1,
|
|
10080
10551
|
class: "w-1 px-4 py-3"
|
|
10081
|
-
},
|
|
10552
|
+
}, sp = {
|
|
10082
10553
|
key: 0,
|
|
10083
10554
|
class: "px-4 py-3.5"
|
|
10084
|
-
},
|
|
10555
|
+
}, cp = {
|
|
10085
10556
|
key: 1,
|
|
10086
10557
|
class: "px-4 py-3.5"
|
|
10087
|
-
},
|
|
10558
|
+
}, lp = { key: 1 }, up = ["colspan"], dp = { class: "text-body-medium text-on-surface-variant" }, fp = ["onClick"], pp = ["onClick"], mp = { class: "border-t border-outline-variant bg-surface-container-lowest px-4 py-2" }, hp = /* @__PURE__ */ D({
|
|
10088
10559
|
__name: "MTable",
|
|
10089
10560
|
props: {
|
|
10090
10561
|
columns: {},
|
|
@@ -10224,9 +10695,9 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10224
10695
|
return `${a[(e * 3 + t) % a.length]}%`;
|
|
10225
10696
|
}
|
|
10226
10697
|
let G = te(), J = v(() => !!G["row-actions"]);
|
|
10227
|
-
return (t, n) => (L(), S("div",
|
|
10228
|
-
e.searchable || t.$slots.toolbar ? (L(), S("div",
|
|
10229
|
-
e.searchable ? (L(), S("div",
|
|
10698
|
+
return (t, n) => (L(), S("div", Jf, [
|
|
10699
|
+
e.searchable || t.$slots.toolbar ? (L(), S("div", Yf, [
|
|
10700
|
+
e.searchable ? (L(), S("div", Xf, [
|
|
10230
10701
|
E(r, {
|
|
10231
10702
|
name: "search",
|
|
10232
10703
|
size: 16,
|
|
@@ -10237,7 +10708,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10237
10708
|
type: "text",
|
|
10238
10709
|
placeholder: e.searchPlaceholder ?? q(i).search,
|
|
10239
10710
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant"
|
|
10240
|
-
}, null, 8,
|
|
10711
|
+
}, null, 8, Zf), [[Y, c.value]]),
|
|
10241
10712
|
c.value ? (L(), S("button", {
|
|
10242
10713
|
key: 0,
|
|
10243
10714
|
class: "text-on-surface-variant transition-colors hover:text-on-surface",
|
|
@@ -10254,12 +10725,12 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10254
10725
|
"leave-active-class": "transition-[opacity,transform] duration-100",
|
|
10255
10726
|
"leave-to-class": "opacity-0 scale-90"
|
|
10256
10727
|
}, {
|
|
10257
|
-
default: Z(() => [e.selectable && O.value.length > 0 ? (L(), S("span",
|
|
10728
|
+
default: Z(() => [e.selectable && O.value.length > 0 ? (L(), S("span", Qf, K(O.value.length) + " " + K(e.selectedText ?? q(i).selectedCount) + K(O.value.length === 1 ? "" : "s"), 1)) : x("", !0)]),
|
|
10258
10729
|
_: 1
|
|
10259
10730
|
})
|
|
10260
10731
|
])) : x("", !0),
|
|
10261
|
-
C("div",
|
|
10262
|
-
e.selectable ? (L(), S("th",
|
|
10732
|
+
C("div", $f, [C("table", ep, [C("thead", null, [C("tr", tp, [
|
|
10733
|
+
e.selectable ? (L(), S("th", np, [E(Bn, {
|
|
10263
10734
|
"model-value": P.value,
|
|
10264
10735
|
indeterminate: I.value,
|
|
10265
10736
|
"onUpdate:modelValue": R
|
|
@@ -10273,7 +10744,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10273
10744
|
e.sortable ? "cursor-pointer select-none hover:text-on-surface transition-colors duration-100" : ""
|
|
10274
10745
|
]),
|
|
10275
10746
|
onClick: (t) => e.sortable ? d(e.key) : void 0
|
|
10276
|
-
}, [C("span",
|
|
10747
|
+
}, [C("span", ip, [T(K(e.label) + " ", 1), e.sortable ? (L(), S("span", ap, [l.value === e.key && u.value === "asc" ? (L(), b(r, {
|
|
10277
10748
|
key: 0,
|
|
10278
10749
|
name: "arrow_upward",
|
|
10279
10750
|
size: 14,
|
|
@@ -10288,13 +10759,13 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10288
10759
|
name: "unfold_more",
|
|
10289
10760
|
size: 14,
|
|
10290
10761
|
class: "opacity-30"
|
|
10291
|
-
}))])) : x("", !0)])], 14,
|
|
10292
|
-
J.value ? (L(), S("th",
|
|
10762
|
+
}))])) : x("", !0)])], 14, rp))), 128)),
|
|
10763
|
+
J.value ? (L(), S("th", op)) : x("", !0)
|
|
10293
10764
|
])]), C("tbody", null, [e.loading ? (L(!0), S(m, { key: 0 }, V(e.perPage, (t) => (L(), S("tr", {
|
|
10294
10765
|
key: `sk-${t}`,
|
|
10295
10766
|
class: "border-t border-outline-variant"
|
|
10296
10767
|
}, [
|
|
10297
|
-
e.selectable ? (L(), S("td",
|
|
10768
|
+
e.selectable ? (L(), S("td", sp, [...n[4] ||= [C("div", { class: "h-4 w-4 animate-pulse rounded bg-on-surface/10" }, null, -1)]])) : x("", !0),
|
|
10298
10769
|
(L(!0), S(m, null, V(e.columns, (e, n) => (L(), S("td", {
|
|
10299
10770
|
key: e.key,
|
|
10300
10771
|
class: "px-4 py-3.5"
|
|
@@ -10302,15 +10773,15 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10302
10773
|
class: "h-4 animate-pulse rounded-full bg-on-surface/10",
|
|
10303
10774
|
style: N({ width: W(t, n) })
|
|
10304
10775
|
}, null, 4)]))), 128)),
|
|
10305
|
-
J.value ? (L(), S("td",
|
|
10306
|
-
]))), 128)) : y.value.length === 0 ? (L(), S("tr",
|
|
10776
|
+
J.value ? (L(), S("td", cp, [...n[5] ||= [C("div", { class: "ml-auto h-4 w-16 animate-pulse rounded-full bg-on-surface/10" }, null, -1)]])) : x("", !0)
|
|
10777
|
+
]))), 128)) : y.value.length === 0 ? (L(), S("tr", lp, [C("td", {
|
|
10307
10778
|
colspan: e.columns.length + z.value,
|
|
10308
10779
|
class: "border-t border-outline-variant px-4 py-14 text-center"
|
|
10309
10780
|
}, [H(t.$slots, "empty", {}, () => [E(r, {
|
|
10310
10781
|
name: "search_off",
|
|
10311
10782
|
size: 36,
|
|
10312
10783
|
class: "mb-2 text-on-surface-variant opacity-30"
|
|
10313
|
-
}), C("p",
|
|
10784
|
+
}), C("p", dp, K(e.emptyText ?? q(i).noResults), 1)])], 8, up)])) : (L(!0), S(m, { key: 2 }, V(y.value, (r) => (L(), S("tr", {
|
|
10314
10785
|
key: k(r),
|
|
10315
10786
|
class: M([
|
|
10316
10787
|
"border-t border-outline-variant transition-colors duration-100",
|
|
@@ -10327,7 +10798,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10327
10798
|
}, [E(Bn, {
|
|
10328
10799
|
"model-value": A(r),
|
|
10329
10800
|
"onUpdate:modelValue": (e) => j(r)
|
|
10330
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"])], 8,
|
|
10801
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])], 8, pp)) : x("", !0),
|
|
10331
10802
|
(L(!0), S(m, null, V(e.columns, (e) => (L(), S("td", {
|
|
10332
10803
|
key: e.key,
|
|
10333
10804
|
class: M(["px-4 py-3 text-body-medium text-on-surface", U(e.align)])
|
|
@@ -10341,8 +10812,8 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10341
10812
|
class: "px-4 py-3 text-right",
|
|
10342
10813
|
onClick: n[2] ||= Q(() => {}, ["stop"])
|
|
10343
10814
|
}, [H(t.$slots, "row-actions", { row: r })])) : x("", !0)
|
|
10344
|
-
], 10,
|
|
10345
|
-
C("div",
|
|
10815
|
+
], 10, fp))), 128))])])]),
|
|
10816
|
+
C("div", mp, [E(Nr, {
|
|
10346
10817
|
page: p.value,
|
|
10347
10818
|
"per-page": e.perPage,
|
|
10348
10819
|
total: _.value,
|
|
@@ -10354,21 +10825,21 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10354
10825
|
])])
|
|
10355
10826
|
]));
|
|
10356
10827
|
}
|
|
10357
|
-
}),
|
|
10828
|
+
}), gp = { class: "flex flex-col gap-1" }, _p = ["id"], vp = ["onClick"], yp = [
|
|
10358
10829
|
"value",
|
|
10359
10830
|
"placeholder",
|
|
10360
10831
|
"disabled",
|
|
10361
10832
|
"readonly"
|
|
10362
|
-
],
|
|
10833
|
+
], bp = {
|
|
10363
10834
|
key: 0,
|
|
10364
10835
|
class: "text-error"
|
|
10365
|
-
},
|
|
10836
|
+
}, xp = {
|
|
10366
10837
|
key: 0,
|
|
10367
10838
|
class: "px-4 text-body-small text-error"
|
|
10368
|
-
},
|
|
10839
|
+
}, Sp = {
|
|
10369
10840
|
key: 1,
|
|
10370
10841
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
10371
|
-
},
|
|
10842
|
+
}, Cp = /* @__PURE__ */ D({
|
|
10372
10843
|
__name: "MTagInput",
|
|
10373
10844
|
props: {
|
|
10374
10845
|
modelValue: { default: () => [] },
|
|
@@ -10463,7 +10934,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10463
10934
|
s.value ? n.error ? "text-error" : "text-primary" : n.error ? "text-error" : "text-on-surface-variant"
|
|
10464
10935
|
].join(" ");
|
|
10465
10936
|
});
|
|
10466
|
-
return (t, n) => (L(), S("div",
|
|
10937
|
+
return (t, n) => (L(), S("div", gp, [C("div", {
|
|
10467
10938
|
ref_key: "fieldEl",
|
|
10468
10939
|
ref: l,
|
|
10469
10940
|
class: M(["relative", e.variant === "outlined" ? "mt-2" : ""]),
|
|
@@ -10491,7 +10962,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10491
10962
|
}, [E(r, {
|
|
10492
10963
|
name: "close",
|
|
10493
10964
|
size: 12
|
|
10494
|
-
})], 8,
|
|
10965
|
+
})], 8, vp))]))), 128)), C("input", {
|
|
10495
10966
|
ref_key: "inputEl",
|
|
10496
10967
|
ref: u,
|
|
10497
10968
|
value: c.value,
|
|
@@ -10507,8 +10978,8 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10507
10978
|
onPaste: O,
|
|
10508
10979
|
onFocus: n[0] ||= (e) => s.value = !0,
|
|
10509
10980
|
onBlur: k
|
|
10510
|
-
}, null, 40,
|
|
10511
|
-
C("label", { class: M(P.value) }, [T(K(e.label), 1), e.required ? (L(), S("span",
|
|
10981
|
+
}, null, 40, yp)], 10, _p),
|
|
10982
|
+
C("label", { class: M(P.value) }, [T(K(e.label), 1), e.required ? (L(), S("span", bp, "\xA0*")) : x("", !0)], 2),
|
|
10512
10983
|
e.clearable && g.value && !e.disabled ? (L(), S("button", {
|
|
10513
10984
|
key: 1,
|
|
10514
10985
|
type: "button",
|
|
@@ -10520,21 +10991,21 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10520
10991
|
name: "close",
|
|
10521
10992
|
size: 18
|
|
10522
10993
|
})])) : x("", !0)
|
|
10523
|
-
], 6), e.error && e.errorLabel ? (L(), S("p",
|
|
10994
|
+
], 6), e.error && e.errorLabel ? (L(), S("p", xp, K(e.errorLabel), 1)) : e.hint ? (L(), S("p", Sp, K(e.hint), 1)) : x("", !0)]));
|
|
10524
10995
|
}
|
|
10525
|
-
}),
|
|
10996
|
+
}), wp = {
|
|
10526
10997
|
key: 0,
|
|
10527
10998
|
class: "border-b border-outline-variant"
|
|
10528
|
-
},
|
|
10999
|
+
}, Tp = {
|
|
10529
11000
|
class: "relative flex overflow-x-auto",
|
|
10530
11001
|
style: { "scrollbar-width": "none" }
|
|
10531
|
-
},
|
|
11002
|
+
}, Ep = ["disabled", "onClick"], Dp = {
|
|
10532
11003
|
key: 1,
|
|
10533
11004
|
class: "border-b border-outline-variant"
|
|
10534
|
-
},
|
|
11005
|
+
}, Op = {
|
|
10535
11006
|
class: "relative flex overflow-x-auto",
|
|
10536
11007
|
style: { "scrollbar-width": "none" }
|
|
10537
|
-
},
|
|
11008
|
+
}, kp = ["disabled", "onClick"], Ap = /* @__PURE__ */ D({
|
|
10538
11009
|
__name: "MTabs",
|
|
10539
11010
|
props: {
|
|
10540
11011
|
modelValue: {},
|
|
@@ -10569,7 +11040,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10569
11040
|
function f(e) {
|
|
10570
11041
|
e.disabled || i("update:modelValue", e.value);
|
|
10571
11042
|
}
|
|
10572
|
-
return (t, n) => e.variant === "primary" ? (L(), S("div",
|
|
11043
|
+
return (t, n) => e.variant === "primary" ? (L(), S("div", wp, [C("div", Tp, [(L(!0), S(m, null, V(e.tabs, (t) => (L(), S("button", {
|
|
10573
11044
|
key: t.value,
|
|
10574
11045
|
ref_for: !0,
|
|
10575
11046
|
ref: (n) => {
|
|
@@ -10583,14 +11054,14 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10583
11054
|
key: 0,
|
|
10584
11055
|
name: t.icon,
|
|
10585
11056
|
size: 20
|
|
10586
|
-
}, null, 8, ["name"])) : x("", !0), C("span", null, K(t.label), 1)], 10,
|
|
11057
|
+
}, null, 8, ["name"])) : x("", !0), C("span", null, K(t.label), 1)], 10, Ep))), 128)), C("div", {
|
|
10587
11058
|
class: "absolute bottom-0 h-[3px] rounded-t-full bg-primary",
|
|
10588
11059
|
style: N({
|
|
10589
11060
|
left: `${o.value}px`,
|
|
10590
11061
|
width: `${s.value}px`,
|
|
10591
11062
|
transition: c.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)"
|
|
10592
11063
|
})
|
|
10593
|
-
}, null, 4)])])) : (L(), S("div",
|
|
11064
|
+
}, null, 4)])])) : (L(), S("div", Dp, [C("div", Op, [(L(!0), S(m, null, V(e.tabs, (t) => (L(), S("button", {
|
|
10594
11065
|
key: t.value,
|
|
10595
11066
|
ref_for: !0,
|
|
10596
11067
|
ref: (n) => {
|
|
@@ -10604,7 +11075,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10604
11075
|
key: 0,
|
|
10605
11076
|
name: t.icon,
|
|
10606
11077
|
size: 18
|
|
10607
|
-
}, null, 8, ["name"])) : x("", !0), T(" " + K(t.label), 1)], 10,
|
|
11078
|
+
}, null, 8, ["name"])) : x("", !0), T(" " + K(t.label), 1)], 10, kp))), 128)), C("div", {
|
|
10608
11079
|
class: "absolute bottom-0 h-[2px] bg-primary transition-[left,width] duration-200 ease-[cubic-bezier(0.2,0,0,1)]",
|
|
10609
11080
|
style: N({
|
|
10610
11081
|
left: `${o.value}px`,
|
|
@@ -10612,25 +11083,25 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10612
11083
|
})
|
|
10613
11084
|
}, null, 4)])]));
|
|
10614
11085
|
}
|
|
10615
|
-
}),
|
|
11086
|
+
}), jp = { class: "flex flex-col items-center" }, Mp = { class: "flex items-baseline justify-between gap-2" }, Np = { class: "text-body-large font-medium text-on-surface" }, Pp = {
|
|
10616
11087
|
key: 0,
|
|
10617
11088
|
class: "shrink-0 text-label-small text-on-surface-variant"
|
|
10618
|
-
},
|
|
11089
|
+
}, Fp = {
|
|
10619
11090
|
key: 0,
|
|
10620
11091
|
class: "mt-1 text-body-medium text-on-surface-variant"
|
|
10621
|
-
},
|
|
11092
|
+
}, Ip = {
|
|
10622
11093
|
key: 1,
|
|
10623
11094
|
class: "mt-2"
|
|
10624
|
-
},
|
|
11095
|
+
}, Lp = { class: "text-body-large font-medium text-on-surface" }, Rp = {
|
|
10625
11096
|
key: 0,
|
|
10626
11097
|
class: "mt-1 text-body-medium text-on-surface-variant"
|
|
10627
|
-
},
|
|
11098
|
+
}, zp = {
|
|
10628
11099
|
key: 1,
|
|
10629
11100
|
class: "mt-1 inline-block text-label-small text-on-surface-variant"
|
|
10630
|
-
},
|
|
11101
|
+
}, Bp = { class: "flex w-14 shrink-0 flex-col items-center" }, Vp = {
|
|
10631
11102
|
key: 0,
|
|
10632
11103
|
class: "w-[2px] flex-1 bg-outline-variant"
|
|
10633
|
-
},
|
|
11104
|
+
}, Hp = /* @__PURE__ */ D({
|
|
10634
11105
|
__name: "MTimeline",
|
|
10635
11106
|
props: {
|
|
10636
11107
|
items: {},
|
|
@@ -10656,23 +11127,23 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10656
11127
|
class: M(["flex items-stretch", a % 2 == 0 ? "flex-row" : "flex-row-reverse"])
|
|
10657
11128
|
}, [
|
|
10658
11129
|
C("div", { class: M(["flex-1", [a % 2 == 0 ? "text-right" : "text-left", e.dense ? "pb-4" : "pb-8"]]) }, [
|
|
10659
|
-
C("p",
|
|
10660
|
-
n.description ? (L(), S("p",
|
|
10661
|
-
n.date ? (L(), S("span",
|
|
11130
|
+
C("p", Lp, K(n.title), 1),
|
|
11131
|
+
n.description ? (L(), S("p", Rp, K(n.description), 1)) : x("", !0),
|
|
11132
|
+
n.date ? (L(), S("span", zp, K(n.date), 1)) : x("", !0)
|
|
10662
11133
|
], 2),
|
|
10663
|
-
C("div",
|
|
11134
|
+
C("div", Bp, [C("div", {
|
|
10664
11135
|
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"]]]),
|
|
10665
11136
|
style: N(n.dotColor ? { backgroundColor: n.dotColor } : void 0)
|
|
10666
11137
|
}, [n.icon ? (L(), b(r, {
|
|
10667
11138
|
key: 0,
|
|
10668
11139
|
name: n.icon,
|
|
10669
11140
|
size: 18
|
|
10670
|
-
}, null, 8, ["name"])) : x("", !0)], 6), a < e.items.length - 1 ? (L(), S("div",
|
|
11141
|
+
}, null, 8, ["name"])) : x("", !0)], 6), a < e.items.length - 1 ? (L(), S("div", Vp)) : x("", !0)]),
|
|
10671
11142
|
i[0] ||= C("div", { class: "flex-1" }, null, -1)
|
|
10672
11143
|
], 2))), 128)) : (L(!0), S(m, { key: 0 }, V(e.items, (i, a) => (L(), S("div", {
|
|
10673
11144
|
key: a,
|
|
10674
11145
|
class: M(["relative flex gap-4", e.dense ? "pb-4" : "pb-8"])
|
|
10675
|
-
}, [C("div",
|
|
11146
|
+
}, [C("div", jp, [C("div", {
|
|
10676
11147
|
class: M(["z-1 flex shrink-0 items-center justify-center rounded-full", [i.icon ? "h-9 w-9" : "h-3 w-3", t[i.color ?? "primary"]]]),
|
|
10677
11148
|
style: N(i.dotColor ? { backgroundColor: i.dotColor } : void 0)
|
|
10678
11149
|
}, [i.icon ? (L(), b(r, {
|
|
@@ -10684,30 +11155,30 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10684
11155
|
class: M(["w-[2px] flex-1", t[i.color ?? "primary"].split(" ")[0] + "/30"]),
|
|
10685
11156
|
style: { "min-height": "16px" }
|
|
10686
11157
|
}, null, 2)) : x("", !0)]), C("div", { class: M([i.icon ? "" : "pt-0", "-mt-0.5 flex-1"]) }, [
|
|
10687
|
-
C("div",
|
|
10688
|
-
i.description ? (L(), S("p",
|
|
10689
|
-
n.$slots[`item-${a}`] ? (L(), S("div",
|
|
11158
|
+
C("div", Mp, [C("p", Np, K(i.title), 1), i.date ? (L(), S("span", Pp, K(i.date), 1)) : x("", !0)]),
|
|
11159
|
+
i.description ? (L(), S("p", Fp, K(i.description), 1)) : x("", !0),
|
|
11160
|
+
n.$slots[`item-${a}`] ? (L(), S("div", Ip, [H(n.$slots, `item-${a}`, { item: i })])) : x("", !0)
|
|
10690
11161
|
], 2)], 2))), 128))], 2));
|
|
10691
11162
|
}
|
|
10692
|
-
}),
|
|
11163
|
+
}), Up = { class: "flex flex-col gap-1" }, Wp = {
|
|
10693
11164
|
key: 0,
|
|
10694
11165
|
class: "flex-1 font-mono text-on-surface"
|
|
10695
|
-
},
|
|
11166
|
+
}, Gp = {
|
|
10696
11167
|
key: 1,
|
|
10697
11168
|
class: "flex-1 text-on-surface-variant"
|
|
10698
|
-
},
|
|
11169
|
+
}, Kp = {
|
|
10699
11170
|
key: 0,
|
|
10700
11171
|
class: "px-4 text-body-small text-error"
|
|
10701
|
-
},
|
|
11172
|
+
}, qp = {
|
|
10702
11173
|
key: 1,
|
|
10703
11174
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
10704
|
-
},
|
|
11175
|
+
}, Jp = { class: "flex items-center justify-center gap-1 border-b border-outline-variant px-4 py-4" }, Yp = { class: "p-3" }, Xp = {
|
|
10705
11176
|
key: 0,
|
|
10706
11177
|
class: "grid grid-cols-6 gap-1"
|
|
10707
|
-
},
|
|
11178
|
+
}, Zp = ["onClick"], Qp = {
|
|
10708
11179
|
key: 1,
|
|
10709
11180
|
class: "grid grid-cols-6 gap-1"
|
|
10710
|
-
},
|
|
11181
|
+
}, $p = ["onClick"], em = /* @__PURE__ */ D({
|
|
10711
11182
|
__name: "MTimePicker",
|
|
10712
11183
|
props: {
|
|
10713
11184
|
modelValue: {},
|
|
@@ -10780,7 +11251,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10780
11251
|
e ? (d.value = "hour", y.value = _.value.h, w.value = _.value.m, R(), setTimeout(() => document.addEventListener("mousedown", z), 0)) : document.removeEventListener("mousedown", z);
|
|
10781
11252
|
}), F(() => window.addEventListener("scroll", H, !0)), I(() => {
|
|
10782
11253
|
window.removeEventListener("scroll", H, !0), document.removeEventListener("mousedown", z);
|
|
10783
|
-
}), (t, n) => (L(), S("div",
|
|
11254
|
+
}), (t, n) => (L(), S("div", Up, [
|
|
10784
11255
|
C("div", {
|
|
10785
11256
|
ref_key: "triggerEl",
|
|
10786
11257
|
ref: l,
|
|
@@ -10796,7 +11267,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10796
11267
|
size: 20,
|
|
10797
11268
|
class: "shrink-0 text-on-surface-variant"
|
|
10798
11269
|
}),
|
|
10799
|
-
P.value ? (L(), S("span",
|
|
11270
|
+
P.value ? (L(), S("span", Wp, K(P.value), 1)) : (L(), S("span", Gp, K(e.label || e.placeholder || q(o).selectTime), 1)),
|
|
10800
11271
|
e.modelValue ? (L(), b(r, {
|
|
10801
11272
|
key: 2,
|
|
10802
11273
|
name: "close",
|
|
@@ -10808,7 +11279,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10808
11279
|
key: 0,
|
|
10809
11280
|
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"])
|
|
10810
11281
|
}, K(e.label), 3)) : x("", !0)], 4),
|
|
10811
|
-
e.error && e.errorLabel ? (L(), S("p",
|
|
11282
|
+
e.error && e.errorLabel ? (L(), S("p", Kp, K(e.errorLabel), 1)) : e.hint ? (L(), S("p", qp, K(e.hint), 1)) : x("", !0),
|
|
10812
11283
|
(L(), b(h, { to: "body" }, [E(g, {
|
|
10813
11284
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
10814
11285
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
@@ -10821,7 +11292,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10821
11292
|
ref: u,
|
|
10822
11293
|
class: "fixed z-500 w-[280px] rounded-lg bg-surface-container shadow-elevation-3",
|
|
10823
11294
|
style: N(f.value)
|
|
10824
|
-
}, [C("div",
|
|
11295
|
+
}, [C("div", Jp, [
|
|
10825
11296
|
C("button", {
|
|
10826
11297
|
type: "button",
|
|
10827
11298
|
class: M(["rounded-lg px-3 py-2 font-mono text-headline-medium transition-colors", d.value === "hour" ? "bg-primary-container text-on-primary-container cursor-default" : "cursor-pointer text-on-surface-variant hover:bg-on-surface/8"]),
|
|
@@ -10833,34 +11304,34 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10833
11304
|
class: M(["rounded-lg px-3 py-2 font-mono text-headline-medium transition-colors", d.value === "minute" ? "bg-primary-container text-on-primary-container cursor-default" : "cursor-pointer text-on-surface-variant hover:bg-on-surface/8"]),
|
|
10834
11305
|
onClick: n[2] ||= (e) => d.value = "minute"
|
|
10835
11306
|
}, K(O(w.value)), 3)
|
|
10836
|
-
]), C("div",
|
|
11307
|
+
]), C("div", Yp, [d.value === "hour" ? (L(), S("div", Xp, [(L(!0), S(m, null, V(q(T), (e) => (L(), S("button", {
|
|
10837
11308
|
key: e,
|
|
10838
11309
|
type: "button",
|
|
10839
11310
|
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"]),
|
|
10840
11311
|
onClick: (t) => k(e)
|
|
10841
|
-
}, K(O(e)), 11,
|
|
11312
|
+
}, K(O(e)), 11, Zp))), 128))])) : (L(), S("div", Qp, [(L(!0), S(m, null, V(D.value, (e) => (L(), S("button", {
|
|
10842
11313
|
key: e,
|
|
10843
11314
|
type: "button",
|
|
10844
11315
|
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"]),
|
|
10845
11316
|
onClick: (t) => A(e)
|
|
10846
|
-
}, K(O(e)), 11,
|
|
11317
|
+
}, K(O(e)), 11, $p))), 128))]))])], 4)) : x("", !0)]),
|
|
10847
11318
|
_: 1
|
|
10848
11319
|
})]))
|
|
10849
11320
|
]));
|
|
10850
11321
|
}
|
|
10851
|
-
}),
|
|
11322
|
+
}), tm = { class: "tp-box w-[328px] rounded-[28px] bg-surface-container-high px-6 pt-6 pb-4 shadow-elevation-3" }, nm = { class: "mb-5 text-label-medium text-on-surface-variant" }, rm = { class: "mb-5 flex items-center justify-center gap-2" }, im = {
|
|
10852
11323
|
key: 0,
|
|
10853
11324
|
class: "ml-2 flex h-[72px] flex-col overflow-hidden rounded-lg border border-outline"
|
|
10854
|
-
},
|
|
11325
|
+
}, am = {
|
|
10855
11326
|
class: "pointer-events-none absolute inset-0",
|
|
10856
11327
|
viewBox: "0 0 256 256"
|
|
10857
|
-
},
|
|
11328
|
+
}, om = ["x2", "y2"], sm = ["cx", "cy"], cm = ["onClick"], lm = ["onClick"], um = {
|
|
10858
11329
|
key: 1,
|
|
10859
11330
|
class: "mx-auto flex items-center justify-center gap-2 py-8"
|
|
10860
|
-
},
|
|
11331
|
+
}, dm = {
|
|
10861
11332
|
key: 0,
|
|
10862
11333
|
class: "ml-2 flex h-[72px] flex-col overflow-hidden rounded-lg border border-outline"
|
|
10863
|
-
},
|
|
11334
|
+
}, fm = { class: "mt-2 flex items-center justify-between" }, pm = { class: "flex gap-2" }, mm = 256, hm = 100, gm = 64, _m = 20, vm = /*#__PURE__*/ p(/* @__PURE__ */ D({
|
|
10864
11335
|
__name: "MTimePickerModal",
|
|
10865
11336
|
props: {
|
|
10866
11337
|
modelValue: { default: null },
|
|
@@ -10898,7 +11369,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10898
11369
|
r.use24h ? d.value = e : (u.value = e >= 12 ? "PM" : "AM", d.value = e % 12 || 12), f.value = t, s.value = "hour", c.value = "dial", document.addEventListener("keydown", te), document.body.style.overflow = "hidden";
|
|
10899
11370
|
} else document.removeEventListener("keydown", te), document.body.style.overflow = "";
|
|
10900
11371
|
});
|
|
10901
|
-
let O =
|
|
11372
|
+
let O = mm / 2;
|
|
10902
11373
|
function k(e, t, n) {
|
|
10903
11374
|
let r = e / t * Math.PI * 2 - Math.PI / 2;
|
|
10904
11375
|
return {
|
|
@@ -10909,7 +11380,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10909
11380
|
let A = v(() => {
|
|
10910
11381
|
let e = [];
|
|
10911
11382
|
for (let t = 0; t < 12; t++) {
|
|
10912
|
-
let n = t === 0 ? 12 : t, r = k(t, 12,
|
|
11383
|
+
let n = t === 0 ? 12 : t, r = k(t, 12, hm);
|
|
10913
11384
|
e.push({
|
|
10914
11385
|
value: n,
|
|
10915
11386
|
label: String(n),
|
|
@@ -10917,7 +11388,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10917
11388
|
});
|
|
10918
11389
|
}
|
|
10919
11390
|
if (r.use24h) for (let t = 0; t < 12; t++) {
|
|
10920
|
-
let n = t === 0 ? 0 : t + 12, r = k(t, 12,
|
|
11391
|
+
let n = t === 0 ? 0 : t + 12, r = k(t, 12, gm);
|
|
10921
11392
|
e.push({
|
|
10922
11393
|
value: n,
|
|
10923
11394
|
label: w(n),
|
|
@@ -10926,7 +11397,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10926
11397
|
}
|
|
10927
11398
|
return e;
|
|
10928
11399
|
}), j = v(() => Array.from({ length: 12 }, (e, t) => {
|
|
10929
|
-
let n = t * 5, r = k(t, 12,
|
|
11400
|
+
let n = t * 5, r = k(t, 12, hm);
|
|
10930
11401
|
return {
|
|
10931
11402
|
value: n,
|
|
10932
11403
|
label: w(n),
|
|
@@ -10934,7 +11405,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10934
11405
|
};
|
|
10935
11406
|
})), P = v(() => {
|
|
10936
11407
|
if (s.value === "hour") {
|
|
10937
|
-
let e = d.value, t = r.use24h && (e === 0 || e > 12) ?
|
|
11408
|
+
let e = d.value, t = r.use24h && (e === 0 || e > 12) ? gm : hm, n = e % 12 / 12 * Math.PI * 2 - Math.PI / 2;
|
|
10938
11409
|
return {
|
|
10939
11410
|
x: O + Math.cos(n) * t,
|
|
10940
11411
|
y: O + Math.sin(n) * t
|
|
@@ -10942,8 +11413,8 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
10942
11413
|
}
|
|
10943
11414
|
let e = f.value / 60 * Math.PI * 2 - Math.PI / 2;
|
|
10944
11415
|
return {
|
|
10945
|
-
x: O + Math.cos(e) *
|
|
10946
|
-
y: O + Math.sin(e) *
|
|
11416
|
+
x: O + Math.cos(e) * hm,
|
|
11417
|
+
y: O + Math.sin(e) * hm
|
|
10947
11418
|
};
|
|
10948
11419
|
});
|
|
10949
11420
|
function F(e) {
|
|
@@ -11021,9 +11492,9 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11021
11492
|
key: 0,
|
|
11022
11493
|
class: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",
|
|
11023
11494
|
onClick: Q(J, ["self"])
|
|
11024
|
-
}, [C("div",
|
|
11025
|
-
C("p",
|
|
11026
|
-
c.value === "dial" ? (L(), S(m, { key: 0 }, [C("div",
|
|
11495
|
+
}, [C("div", tm, [
|
|
11496
|
+
C("p", nm, K(e.title || q(a).selectTime), 1),
|
|
11497
|
+
c.value === "dial" ? (L(), S(m, { key: 0 }, [C("div", rm, [
|
|
11027
11498
|
C("button", {
|
|
11028
11499
|
type: "button",
|
|
11029
11500
|
class: M(["flex h-[72px] min-w-[96px] items-center justify-center rounded-lg text-display-medium transition-colors", s.value === "hour" ? "bg-primary-container text-on-primary-container" : "bg-surface-container-highest text-on-surface cursor-pointer hover:bg-on-surface/8"]),
|
|
@@ -11035,7 +11506,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11035
11506
|
class: M(["flex h-[72px] min-w-[96px] items-center justify-center rounded-lg text-display-medium transition-colors", s.value === "minute" ? "bg-primary-container text-on-primary-container" : "bg-surface-container-highest text-on-surface cursor-pointer hover:bg-on-surface/8"]),
|
|
11036
11507
|
onClick: n[1] ||= (e) => s.value = "minute"
|
|
11037
11508
|
}, K(w(f.value)), 3),
|
|
11038
|
-
e.use24h ? x("", !0) : (L(), S("div",
|
|
11509
|
+
e.use24h ? x("", !0) : (L(), S("div", im, [
|
|
11039
11510
|
C("button", {
|
|
11040
11511
|
type: "button",
|
|
11041
11512
|
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"]),
|
|
@@ -11056,7 +11527,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11056
11527
|
onTouchstart: Q(z, ["prevent"])
|
|
11057
11528
|
}, [
|
|
11058
11529
|
n[11] ||= C("div", { class: "absolute inset-0 rounded-full bg-surface-container-highest" }, null, -1),
|
|
11059
|
-
(L(), S("svg",
|
|
11530
|
+
(L(), S("svg", am, [
|
|
11060
11531
|
C("line", {
|
|
11061
11532
|
x1: O,
|
|
11062
11533
|
y1: O,
|
|
@@ -11064,7 +11535,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11064
11535
|
y2: P.value.y,
|
|
11065
11536
|
stroke: "var(--color-primary)",
|
|
11066
11537
|
"stroke-width": "2"
|
|
11067
|
-
}, null, 8,
|
|
11538
|
+
}, null, 8, om),
|
|
11068
11539
|
C("circle", {
|
|
11069
11540
|
cx: O,
|
|
11070
11541
|
cy: O,
|
|
@@ -11074,9 +11545,9 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11074
11545
|
C("circle", {
|
|
11075
11546
|
cx: P.value.x,
|
|
11076
11547
|
cy: P.value.y,
|
|
11077
|
-
r:
|
|
11548
|
+
r: _m,
|
|
11078
11549
|
fill: "var(--color-primary)"
|
|
11079
|
-
}, null, 8,
|
|
11550
|
+
}, null, 8, sm)
|
|
11080
11551
|
])),
|
|
11081
11552
|
s.value === "hour" ? (L(!0), S(m, { key: 0 }, V(A.value, (e) => (L(), S("button", {
|
|
11082
11553
|
key: "h" + e.value,
|
|
@@ -11088,7 +11559,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11088
11559
|
transform: "translate(-50%, -50%)"
|
|
11089
11560
|
}),
|
|
11090
11561
|
onClick: Q((t) => H(e.value), ["stop"])
|
|
11091
|
-
}, K(e.label), 15,
|
|
11562
|
+
}, K(e.label), 15, cm))), 128)) : (L(!0), S(m, { key: 1 }, V(j.value, (e) => (L(), S("button", {
|
|
11092
11563
|
key: "m" + e.value,
|
|
11093
11564
|
type: "button",
|
|
11094
11565
|
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"]),
|
|
@@ -11098,8 +11569,8 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11098
11569
|
transform: "translate(-50%, -50%)"
|
|
11099
11570
|
}),
|
|
11100
11571
|
onClick: Q((t) => f.value = e.value, ["stop"])
|
|
11101
|
-
}, K(e.label), 15,
|
|
11102
|
-
], 544)], 64)) : (L(), S("div",
|
|
11572
|
+
}, K(e.label), 15, lm))), 128))
|
|
11573
|
+
], 544)], 64)) : (L(), S("div", um, [
|
|
11103
11574
|
ie(C("input", {
|
|
11104
11575
|
ref_key: "inputHourEl",
|
|
11105
11576
|
ref: _,
|
|
@@ -11119,7 +11590,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11119
11590
|
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",
|
|
11120
11591
|
onBlur: G
|
|
11121
11592
|
}, null, 544), [[Y, W.value]]),
|
|
11122
|
-
e.use24h ? x("", !0) : (L(), S("div",
|
|
11593
|
+
e.use24h ? x("", !0) : (L(), S("div", dm, [
|
|
11123
11594
|
C("button", {
|
|
11124
11595
|
type: "button",
|
|
11125
11596
|
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"]),
|
|
@@ -11133,11 +11604,11 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11133
11604
|
}, "PM", 2)
|
|
11134
11605
|
]))
|
|
11135
11606
|
])),
|
|
11136
|
-
C("div",
|
|
11607
|
+
C("div", fm, [E(l, {
|
|
11137
11608
|
icon: c.value === "dial" ? "keyboard" : "schedule",
|
|
11138
11609
|
label: c.value === "dial" ? "Switch to keyboard" : "Switch to dial",
|
|
11139
11610
|
onClick: n[8] ||= (e) => c.value = c.value === "dial" ? "input" : "dial"
|
|
11140
|
-
}, null, 8, ["icon", "label"]), C("div",
|
|
11611
|
+
}, null, 8, ["icon", "label"]), C("div", pm, [E(i, {
|
|
11141
11612
|
variant: "text",
|
|
11142
11613
|
onClick: J
|
|
11143
11614
|
}, {
|
|
@@ -11154,7 +11625,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11154
11625
|
_: 1
|
|
11155
11626
|
})]));
|
|
11156
11627
|
}
|
|
11157
|
-
}), [["__scopeId", "data-v-a2a090e9"]]),
|
|
11628
|
+
}), [["__scopeId", "data-v-a2a090e9"]]), ym = /* @__PURE__ */ D({
|
|
11158
11629
|
__name: "MTitle",
|
|
11159
11630
|
props: {
|
|
11160
11631
|
size: { default: "large" },
|
|
@@ -11168,7 +11639,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11168
11639
|
medium: "headline-medium",
|
|
11169
11640
|
small: "headline-small"
|
|
11170
11641
|
}, r = v(() => n[t.size]);
|
|
11171
|
-
return (t, n) => (L(), b(
|
|
11642
|
+
return (t, n) => (L(), b(Kf, {
|
|
11172
11643
|
variant: r.value,
|
|
11173
11644
|
weight: "medium",
|
|
11174
11645
|
color: e.color,
|
|
@@ -11184,13 +11655,13 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11184
11655
|
"truncate"
|
|
11185
11656
|
]));
|
|
11186
11657
|
}
|
|
11187
|
-
}),
|
|
11658
|
+
}), bm = {
|
|
11188
11659
|
key: 0,
|
|
11189
11660
|
class: "px-4 pt-3 pb-1 text-title-small font-medium text-on-surface"
|
|
11190
|
-
},
|
|
11661
|
+
}, xm = { class: "px-4 py-2 text-body-medium text-on-surface-variant" }, Sm = {
|
|
11191
11662
|
key: 1,
|
|
11192
11663
|
class: "flex justify-end gap-2 px-4 pb-3"
|
|
11193
|
-
},
|
|
11664
|
+
}, Cm = /* @__PURE__ */ D({
|
|
11194
11665
|
__name: "MTooltip",
|
|
11195
11666
|
props: {
|
|
11196
11667
|
text: {},
|
|
@@ -11282,20 +11753,20 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11282
11753
|
onMouseenter: d,
|
|
11283
11754
|
onMouseleave: f
|
|
11284
11755
|
}, [
|
|
11285
|
-
e.text ? (L(), S("div",
|
|
11286
|
-
C("div",
|
|
11287
|
-
t.$slots.actions ? (L(), S("div",
|
|
11756
|
+
e.text ? (L(), S("div", bm, K(e.text), 1)) : x("", !0),
|
|
11757
|
+
C("div", xm, [H(t.$slots, "content")]),
|
|
11758
|
+
t.$slots.actions ? (L(), S("div", Sm, [H(t.$slots, "actions")])) : x("", !0)
|
|
11288
11759
|
], 36)) : x("", !0)]),
|
|
11289
11760
|
_: 3
|
|
11290
11761
|
})]))], 64));
|
|
11291
11762
|
}
|
|
11292
|
-
}),
|
|
11763
|
+
}), wm = {
|
|
11293
11764
|
key: 0,
|
|
11294
11765
|
class: "shrink-0"
|
|
11295
|
-
},
|
|
11766
|
+
}, Tm = {
|
|
11296
11767
|
key: 1,
|
|
11297
11768
|
class: "shrink-0"
|
|
11298
|
-
},
|
|
11769
|
+
}, Em = /* @__PURE__ */ D({
|
|
11299
11770
|
__name: "MToolbar",
|
|
11300
11771
|
props: {
|
|
11301
11772
|
variant: { default: "docked" },
|
|
@@ -11324,7 +11795,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11324
11795
|
e.fabPosition === "start" && !i.value ? "flex-row" : "",
|
|
11325
11796
|
e.fabPosition === "start" && i.value ? "flex-col" : ""
|
|
11326
11797
|
]]) }, [
|
|
11327
|
-
t.$slots.fab && e.fabPosition === "start" ? (L(), S("div",
|
|
11798
|
+
t.$slots.fab && e.fabPosition === "start" ? (L(), S("div", wm, [H(t.$slots, "fab")])) : x("", !0),
|
|
11328
11799
|
C("div", { class: M(["flex items-center gap-1", [
|
|
11329
11800
|
i.value ? "flex-col py-3 px-2" : "flex-row px-3 py-2",
|
|
11330
11801
|
r.value,
|
|
@@ -11333,16 +11804,16 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11333
11804
|
e.variant === "docked" ? "w-full border-t border-outline-variant" : "",
|
|
11334
11805
|
e.variant === "docked" && i.value ? "h-full w-auto border-t-0 border-r border-outline-variant" : ""
|
|
11335
11806
|
]]) }, [H(t.$slots, "default")], 2),
|
|
11336
|
-
t.$slots.fab && e.fabPosition === "end" ? (L(), S("div",
|
|
11807
|
+
t.$slots.fab && e.fabPosition === "end" ? (L(), S("div", Tm, [H(t.$slots, "fab")])) : x("", !0)
|
|
11337
11808
|
], 2));
|
|
11338
11809
|
}
|
|
11339
|
-
}),
|
|
11810
|
+
}), Dm = { class: "flex h-16 items-center gap-1 px-4" }, Om = {
|
|
11340
11811
|
key: 1,
|
|
11341
11812
|
class: "flex-1"
|
|
11342
|
-
},
|
|
11813
|
+
}, km = {
|
|
11343
11814
|
key: 2,
|
|
11344
11815
|
class: "flex items-center gap-1"
|
|
11345
|
-
},
|
|
11816
|
+
}, Am = /* @__PURE__ */ D({
|
|
11346
11817
|
__name: "MTopAppBar",
|
|
11347
11818
|
props: {
|
|
11348
11819
|
title: {},
|
|
@@ -11353,7 +11824,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11353
11824
|
},
|
|
11354
11825
|
emits: ["navigation"],
|
|
11355
11826
|
setup(e) {
|
|
11356
|
-
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",
|
|
11827
|
+
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", Dm, [
|
|
11357
11828
|
H(t.$slots, "navigation", {}, () => [e.navigationIcon ? (L(), b(l, {
|
|
11358
11829
|
key: 0,
|
|
11359
11830
|
icon: e.navigationIcon,
|
|
@@ -11363,14 +11834,14 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11363
11834
|
e.variant === "center" || e.variant === "small" ? (L(), S("h1", {
|
|
11364
11835
|
key: 0,
|
|
11365
11836
|
class: M(["flex flex-1 items-center truncate px-4 text-title-large text-on-surface", e.variant === "center" ? "justify-center" : ""])
|
|
11366
|
-
}, [H(t.$slots, "title", {}, () => [T(K(e.title), 1)])], 2)) : (L(), S("div",
|
|
11367
|
-
t.$slots.actions ? (L(), S("div",
|
|
11837
|
+
}, [H(t.$slots, "title", {}, () => [T(K(e.title), 1)])], 2)) : (L(), S("div", Om)),
|
|
11838
|
+
t.$slots.actions ? (L(), S("div", km, [H(t.$slots, "actions")])) : x("", !0)
|
|
11368
11839
|
]), e.variant === "medium" || e.variant === "large" ? (L(), S("div", {
|
|
11369
11840
|
key: 0,
|
|
11370
11841
|
class: M(["px-4 pb-6", e.variant === "large" ? "pt-4" : "pt-1"])
|
|
11371
11842
|
}, [C("h1", { class: M(["text-on-surface", e.variant === "large" ? "text-headline-medium" : "text-headline-small"]) }, [H(t.$slots, "title", {}, () => [T(K(e.title), 1)])], 2)], 2)) : x("", !0)], 2));
|
|
11372
11843
|
}
|
|
11373
|
-
}),
|
|
11844
|
+
}), jm = { class: "mb-2 flex items-center justify-between" }, Mm = { class: "text-label-small text-on-surface-variant" }, Nm = { class: "mb-1 text-title-medium font-medium text-on-surface" }, Pm = { class: "mb-4 text-body-medium text-on-surface-variant" }, Fm = { class: "mb-4 flex justify-center gap-1.5" }, Im = { class: "flex justify-between" }, Lm = { key: 1 }, Rm = /* @__PURE__ */ D({
|
|
11374
11845
|
__name: "MTour",
|
|
11375
11846
|
props: {
|
|
11376
11847
|
modelValue: { type: Boolean },
|
|
@@ -11453,7 +11924,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11453
11924
|
class: "h-0 w-0",
|
|
11454
11925
|
style: N(u.value)
|
|
11455
11926
|
}, null, 4),
|
|
11456
|
-
C("div",
|
|
11927
|
+
C("div", jm, [C("span", Mm, K(c.value + 1) + " / " + K(e.steps.length), 1), C("button", {
|
|
11457
11928
|
type: "button",
|
|
11458
11929
|
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",
|
|
11459
11930
|
onClick: H
|
|
@@ -11461,13 +11932,13 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11461
11932
|
name: "close",
|
|
11462
11933
|
size: 16
|
|
11463
11934
|
})])]),
|
|
11464
|
-
C("h3",
|
|
11465
|
-
C("p",
|
|
11466
|
-
C("div",
|
|
11935
|
+
C("h3", Nm, K(f.value.title), 1),
|
|
11936
|
+
C("p", Pm, K(f.value.content), 1),
|
|
11937
|
+
C("div", Fm, [(L(!0), S(m, null, V(e.steps, (e, t) => (L(), S("div", {
|
|
11467
11938
|
key: t,
|
|
11468
11939
|
class: M(["h-1.5 rounded-full transition-all duration-200", t === c.value ? "w-6 bg-primary" : "w-1.5 bg-outline-variant"])
|
|
11469
11940
|
}, null, 2))), 128))]),
|
|
11470
|
-
C("div",
|
|
11941
|
+
C("div", Im, [p.value ? (L(), S("span", Lm)) : (L(), b(i, {
|
|
11471
11942
|
key: 0,
|
|
11472
11943
|
variant: "text",
|
|
11473
11944
|
onClick: z
|
|
@@ -11482,19 +11953,19 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11482
11953
|
_: 1
|
|
11483
11954
|
})]));
|
|
11484
11955
|
}
|
|
11485
|
-
}),
|
|
11956
|
+
}), zm = { class: "flex items-stretch gap-2" }, Bm = { class: "flex min-w-0 flex-1 flex-col overflow-hidden rounded-lg border border-outline-variant" }, Vm = { class: "flex items-center justify-between border-b border-outline-variant bg-surface-container px-3 py-2" }, Hm = { class: "text-label-large font-medium text-on-surface" }, Um = { class: "text-label-small text-on-surface-variant" }, Wm = {
|
|
11486
11957
|
key: 0,
|
|
11487
11958
|
class: "border-b border-outline-variant px-3 py-2"
|
|
11488
|
-
},
|
|
11959
|
+
}, Gm = ["placeholder"], Km = {
|
|
11489
11960
|
class: "flex-1 overflow-y-auto",
|
|
11490
11961
|
style: { "max-height": "240px" }
|
|
11491
|
-
},
|
|
11962
|
+
}, qm = ["onClick"], Jm = { class: "flex-1 truncate text-body-medium text-on-surface" }, Ym = { class: "px-3 py-4 text-center text-body-small text-on-surface-variant" }, Xm = { class: "flex flex-col items-center justify-center gap-1" }, Zm = { class: "flex min-w-0 flex-1 flex-col overflow-hidden rounded-lg border border-outline-variant" }, Qm = { class: "flex items-center justify-between border-b border-outline-variant bg-surface-container px-3 py-2" }, $m = { class: "text-label-large font-medium text-on-surface" }, eh = { class: "text-label-small text-on-surface-variant" }, th = {
|
|
11492
11963
|
key: 0,
|
|
11493
11964
|
class: "border-b border-outline-variant px-3 py-2"
|
|
11494
|
-
},
|
|
11965
|
+
}, nh = ["placeholder"], rh = {
|
|
11495
11966
|
class: "flex-1 overflow-y-auto",
|
|
11496
11967
|
style: { "max-height": "240px" }
|
|
11497
|
-
},
|
|
11968
|
+
}, ih = ["onClick"], ah = { class: "flex-1 truncate text-body-medium text-on-surface" }, oh = { class: "px-3 py-4 text-center text-body-small text-on-surface-variant" }, sh = /* @__PURE__ */ D({
|
|
11498
11969
|
__name: "MTransferList",
|
|
11499
11970
|
props: {
|
|
11500
11971
|
modelValue: {},
|
|
@@ -11552,16 +12023,16 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11552
12023
|
let e = p.value.map((e) => e.value);
|
|
11553
12024
|
o("update:modelValue", a.modelValue.filter((t) => !new Set(e).has(t))), c.value = /* @__PURE__ */ new Set();
|
|
11554
12025
|
}
|
|
11555
|
-
return (t, n) => (L(), S("div",
|
|
11556
|
-
C("div",
|
|
11557
|
-
C("div",
|
|
11558
|
-
e.filterable ? (L(), S("div",
|
|
12026
|
+
return (t, n) => (L(), S("div", zm, [
|
|
12027
|
+
C("div", Bm, [
|
|
12028
|
+
C("div", Vm, [C("span", Hm, K(e.sourceTitle ?? q(i).available), 1), C("span", Um, K(f.value.length), 1)]),
|
|
12029
|
+
e.filterable ? (L(), S("div", Wm, [ie(C("input", {
|
|
11559
12030
|
"onUpdate:modelValue": n[0] ||= (e) => u.value = e,
|
|
11560
12031
|
type: "text",
|
|
11561
12032
|
placeholder: e.searchPlaceholder ?? q(i).search,
|
|
11562
12033
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant/50"
|
|
11563
|
-
}, null, 8,
|
|
11564
|
-
C("div",
|
|
12034
|
+
}, null, 8, Gm), [[Y, u.value]])])) : x("", !0),
|
|
12035
|
+
C("div", Km, [(L(!0), S(m, null, V(f.value, (e) => (L(), S("button", {
|
|
11565
12036
|
key: e.value,
|
|
11566
12037
|
type: "button",
|
|
11567
12038
|
class: "flex w-full cursor-pointer items-center gap-2 px-3 py-2 text-left transition-colors hover:bg-on-surface/4",
|
|
@@ -11577,10 +12048,10 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11577
12048
|
size: 18,
|
|
11578
12049
|
class: "shrink-0 text-on-surface-variant"
|
|
11579
12050
|
}, null, 8, ["name"])) : x("", !0),
|
|
11580
|
-
C("span",
|
|
11581
|
-
], 8,
|
|
12051
|
+
C("span", Jm, K(e.label), 1)
|
|
12052
|
+
], 8, qm))), 128)), f.value.length ? x("", !0) : H(t.$slots, "source-empty", {}, () => [C("p", Ym, K(e.emptyText ?? q(i).noItems), 1)], void 0, 0)])
|
|
11582
12053
|
]),
|
|
11583
|
-
C("div",
|
|
12054
|
+
C("div", Xm, [
|
|
11584
12055
|
E(l, {
|
|
11585
12056
|
icon: "keyboard_double_arrow_right",
|
|
11586
12057
|
label: e.moveAllRightLabel ?? q(i).moveAllRight,
|
|
@@ -11612,15 +12083,15 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11612
12083
|
onClick: T
|
|
11613
12084
|
}, null, 8, ["label", "disabled"])
|
|
11614
12085
|
]),
|
|
11615
|
-
C("div",
|
|
11616
|
-
C("div",
|
|
11617
|
-
e.filterable ? (L(), S("div",
|
|
12086
|
+
C("div", Zm, [
|
|
12087
|
+
C("div", Qm, [C("span", $m, K(e.targetTitle ?? q(i).selected), 1), C("span", eh, K(p.value.length), 1)]),
|
|
12088
|
+
e.filterable ? (L(), S("div", th, [ie(C("input", {
|
|
11618
12089
|
"onUpdate:modelValue": n[1] ||= (e) => d.value = e,
|
|
11619
12090
|
type: "text",
|
|
11620
12091
|
placeholder: e.searchPlaceholder ?? q(i).search,
|
|
11621
12092
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant/50"
|
|
11622
|
-
}, null, 8,
|
|
11623
|
-
C("div",
|
|
12093
|
+
}, null, 8, nh), [[Y, d.value]])])) : x("", !0),
|
|
12094
|
+
C("div", rh, [(L(!0), S(m, null, V(p.value, (e) => (L(), S("button", {
|
|
11624
12095
|
key: e.value,
|
|
11625
12096
|
type: "button",
|
|
11626
12097
|
class: "flex w-full cursor-pointer items-center gap-2 px-3 py-2 text-left transition-colors hover:bg-on-surface/4",
|
|
@@ -11636,18 +12107,18 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11636
12107
|
size: 18,
|
|
11637
12108
|
class: "shrink-0 text-on-surface-variant"
|
|
11638
12109
|
}, null, 8, ["name"])) : x("", !0),
|
|
11639
|
-
C("span",
|
|
11640
|
-
], 8,
|
|
12110
|
+
C("span", ah, K(e.label), 1)
|
|
12111
|
+
], 8, ih))), 128)), p.value.length ? x("", !0) : H(t.$slots, "target-empty", {}, () => [C("p", oh, K(e.emptyText ?? q(i).noItems), 1)], void 0, 0)])
|
|
11641
12112
|
])
|
|
11642
12113
|
]));
|
|
11643
12114
|
}
|
|
11644
|
-
}),
|
|
12115
|
+
}), ch = ["aria-expanded", "aria-selected"], lh = { class: "flex w-6 shrink-0 items-center justify-center" }, uh = ["disabled"], dh = {
|
|
11645
12116
|
key: 2,
|
|
11646
12117
|
class: "shrink-0 text-label-small tabular-nums text-on-surface-variant"
|
|
11647
|
-
},
|
|
12118
|
+
}, fh = {
|
|
11648
12119
|
key: 0,
|
|
11649
12120
|
class: "ml-3 border-l border-outline-variant pl-2"
|
|
11650
|
-
},
|
|
12121
|
+
}, ph = /* @__PURE__ */ D({
|
|
11651
12122
|
__name: "_MTreeNode",
|
|
11652
12123
|
props: {
|
|
11653
12124
|
node: {},
|
|
@@ -11692,7 +12163,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11692
12163
|
]),
|
|
11693
12164
|
onClick: d
|
|
11694
12165
|
}, [
|
|
11695
|
-
C("div",
|
|
12166
|
+
C("div", lh, [i.value ? (L(), S("button", {
|
|
11696
12167
|
key: 0,
|
|
11697
12168
|
type: "button",
|
|
11698
12169
|
class: M(["flex h-5 w-5 items-center justify-center rounded text-on-surface-variant transition-transform duration-200", a.value ? "rotate-90" : ""]),
|
|
@@ -11701,7 +12172,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11701
12172
|
}, [E(r, {
|
|
11702
12173
|
name: "chevron_right",
|
|
11703
12174
|
size: 16
|
|
11704
|
-
})], 10,
|
|
12175
|
+
})], 10, uh)) : x("", !0)]),
|
|
11705
12176
|
q(n).checkable.value ? (L(), S("div", {
|
|
11706
12177
|
key: 0,
|
|
11707
12178
|
class: "shrink-0",
|
|
@@ -11723,7 +12194,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11723
12194
|
class: M(["shrink-0 transition-colors", o.value ? "text-primary" : "text-on-surface-variant"])
|
|
11724
12195
|
}, null, 8, ["name", "class"])) : x("", !0),
|
|
11725
12196
|
C("span", { class: M(["min-w-0 flex-1 truncate text-body-medium transition-colors", o.value ? "font-medium text-primary" : "text-on-surface"]) }, [H(t.$slots, "label", { node: e.node }, () => [T(K(e.node.label), 1)])], 2),
|
|
11726
|
-
i.value && q(n).checkable.value ? (L(), S("span",
|
|
12197
|
+
i.value && q(n).checkable.value ? (L(), S("span", dh, K(c.value) + "/" + K(s.value.length), 1)) : x("", !0),
|
|
11727
12198
|
H(t.$slots, "trailing", { node: e.node })
|
|
11728
12199
|
], 2), E(g, {
|
|
11729
12200
|
onEnter: h,
|
|
@@ -11731,7 +12202,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11731
12202
|
onLeave: y,
|
|
11732
12203
|
onAfterLeave: D
|
|
11733
12204
|
}, {
|
|
11734
|
-
default: Z(() => [a.value && i.value ? (L(), S("div",
|
|
12205
|
+
default: Z(() => [a.value && i.value ? (L(), S("div", fh, [(L(!0), S(m, null, V(e.node.children, (n) => (L(), b(ph, {
|
|
11735
12206
|
key: n.id,
|
|
11736
12207
|
node: n,
|
|
11737
12208
|
depth: e.depth + 1
|
|
@@ -11740,15 +12211,15 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11740
12211
|
fn: Z((e) => [H(t.$slots, n, A({ ref_for: !0 }, e ?? {}))])
|
|
11741
12212
|
}))]), 1032, ["node", "depth"]))), 128))])) : x("", !0)]),
|
|
11742
12213
|
_: 3
|
|
11743
|
-
})], 8,
|
|
12214
|
+
})], 8, ch));
|
|
11744
12215
|
}
|
|
11745
|
-
}),
|
|
12216
|
+
}), mh = {
|
|
11746
12217
|
role: "tree",
|
|
11747
12218
|
class: "flex flex-col"
|
|
11748
|
-
},
|
|
12219
|
+
}, hh = {
|
|
11749
12220
|
key: 1,
|
|
11750
12221
|
class: "flex flex-col items-center gap-2 py-10 text-on-surface-variant"
|
|
11751
|
-
},
|
|
12222
|
+
}, gh = { class: "text-body-medium" }, _h = /* @__PURE__ */ D({
|
|
11752
12223
|
__name: "MTree",
|
|
11753
12224
|
props: {
|
|
11754
12225
|
nodes: {},
|
|
@@ -11814,26 +12285,26 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11814
12285
|
return t({
|
|
11815
12286
|
expandAll: _,
|
|
11816
12287
|
collapseAll: y
|
|
11817
|
-
}), (t, n) => (L(), S("div",
|
|
12288
|
+
}), (t, n) => (L(), S("div", mh, [e.nodes.length ? (L(!0), S(m, { key: 0 }, V(e.nodes, (e) => (L(), b(ph, {
|
|
11818
12289
|
key: e.id,
|
|
11819
12290
|
node: e,
|
|
11820
12291
|
depth: 0
|
|
11821
12292
|
}, w({ _: 2 }, [V(t.$slots, (e, n) => ({
|
|
11822
12293
|
name: n,
|
|
11823
12294
|
fn: Z((e) => [H(t.$slots, n, A({ ref_for: !0 }, e ?? {}))])
|
|
11824
|
-
}))]), 1032, ["node"]))), 128)) : (L(), S("div",
|
|
12295
|
+
}))]), 1032, ["node"]))), 128)) : (L(), S("div", hh, [E(r, {
|
|
11825
12296
|
name: "account_tree",
|
|
11826
12297
|
size: 32,
|
|
11827
12298
|
class: "opacity-30"
|
|
11828
|
-
}), C("p",
|
|
12299
|
+
}), C("p", gh, K(e.emptyText), 1)]))]));
|
|
11829
12300
|
}
|
|
11830
|
-
}),
|
|
12301
|
+
}), vh = { class: "flex flex-col overflow-hidden rounded-sm border border-outline-variant" }, yh = {
|
|
11831
12302
|
key: 0,
|
|
11832
12303
|
class: "flex items-center gap-2 border-b border-outline-variant bg-surface-container-lowest px-4 py-2"
|
|
11833
|
-
},
|
|
12304
|
+
}, bh = { class: "overflow-x-auto" }, xh = { class: "w-full border-collapse" }, Sh = { class: "bg-surface-container-high" }, Ch = ["onClick"], wh = ["onClick"], Th = {
|
|
11834
12305
|
key: 1,
|
|
11835
12306
|
class: "w-6 shrink-0"
|
|
11836
|
-
},
|
|
12307
|
+
}, Eh = { key: 0 }, Dh = ["colspan"], Oh = /* @__PURE__ */ D({
|
|
11837
12308
|
__name: "MTreeTable",
|
|
11838
12309
|
props: {
|
|
11839
12310
|
columns: {},
|
|
@@ -11888,10 +12359,10 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11888
12359
|
function f(e) {
|
|
11889
12360
|
return e === "center" ? "text-center" : e === "right" ? "text-right" : "text-left";
|
|
11890
12361
|
}
|
|
11891
|
-
return (t, n) => (L(), S("div",
|
|
12362
|
+
return (t, n) => (L(), S("div", vh, [t.$slots.toolbar ? (L(), S("div", yh, [H(t.$slots, "toolbar", {
|
|
11892
12363
|
expandAll: u,
|
|
11893
12364
|
collapseAll: d
|
|
11894
|
-
})])) : x("", !0), C("div",
|
|
12365
|
+
})])) : x("", !0), C("div", bh, [C("table", xh, [C("thead", null, [C("tr", Sh, [(L(!0), S(m, null, V(e.columns, (t, n) => (L(), S("th", {
|
|
11895
12366
|
key: t.key,
|
|
11896
12367
|
style: N(t.width ? { width: t.width } : void 0),
|
|
11897
12368
|
class: M([
|
|
@@ -11922,28 +12393,27 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11922
12393
|
}, [E(r, {
|
|
11923
12394
|
name: "chevron_right",
|
|
11924
12395
|
size: 18
|
|
11925
|
-
})], 10,
|
|
12396
|
+
})], 10, wh)) : (L(), S("span", Th)), H(t.$slots, `cell-${i.key}`, {
|
|
11926
12397
|
row: n.row,
|
|
11927
12398
|
value: n.row[i.key],
|
|
11928
12399
|
depth: n.depth
|
|
11929
12400
|
}, () => [C("span", { class: M(n.hasChildren ? "font-medium" : "") }, K(n.row[i.key] ?? "—"), 3)])], 4)) : H(t.$slots, `cell-${i.key}`, {
|
|
11930
|
-
key: 1,
|
|
11931
12401
|
row: n.row,
|
|
11932
12402
|
value: n.row[i.key],
|
|
11933
12403
|
depth: n.depth
|
|
11934
|
-
}, () => [T(K(n.row[i.key] ?? "—"), 1)])], 2))), 128))], 10,
|
|
12404
|
+
}, () => [T(K(n.row[i.key] ?? "—"), 1)], void 0, 1)], 2))), 128))], 10, Ch))), 128)), l.value.length ? x("", !0) : (L(), S("tr", Eh, [C("td", {
|
|
11935
12405
|
colspan: e.columns.length,
|
|
11936
12406
|
class: "border-t border-outline-variant px-4 py-10 text-center"
|
|
11937
12407
|
}, [E(r, {
|
|
11938
12408
|
name: "account_tree",
|
|
11939
12409
|
size: 36,
|
|
11940
12410
|
class: "mb-2 text-on-surface-variant opacity-30"
|
|
11941
|
-
}), n[0] ||= C("p", { class: "text-body-medium text-on-surface-variant" }, "Sin datos", -1)], 8,
|
|
12411
|
+
}), n[0] ||= C("p", { class: "text-body-medium text-on-surface-variant" }, "Sin datos", -1)], 8, Dh)]))])])])]));
|
|
11942
12412
|
}
|
|
11943
|
-
}),
|
|
12413
|
+
}), kh = { class: "flex flex-col overflow-hidden rounded-sm border border-outline-variant" }, Ah = { class: "flex bg-surface-container-high" }, jh = ["onClick"], Mh = { class: "inline-flex items-center gap-1" }, Nh = {
|
|
11944
12414
|
key: 0,
|
|
11945
12415
|
class: "inline-flex"
|
|
11946
|
-
},
|
|
12416
|
+
}, Ph = ["onClick"], Fh = { class: "truncate" }, Ih = { class: "border-t border-outline-variant bg-surface-container-lowest px-4 py-2" }, Lh = { class: "text-label-small text-on-surface-variant" }, Rh = /* @__PURE__ */ D({
|
|
11947
12417
|
__name: "MVirtualTable",
|
|
11948
12418
|
props: {
|
|
11949
12419
|
columns: {},
|
|
@@ -11989,8 +12459,8 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11989
12459
|
function y(e) {
|
|
11990
12460
|
return e === "center" ? "text-center" : e === "right" ? "text-right" : "text-left";
|
|
11991
12461
|
}
|
|
11992
|
-
return (t, n) => (L(), S("div",
|
|
11993
|
-
C("div",
|
|
12462
|
+
return (t, n) => (L(), S("div", kh, [
|
|
12463
|
+
C("div", Ah, [(L(!0), S(m, null, V(e.columns, (e) => (L(), S("div", {
|
|
11994
12464
|
key: e.key,
|
|
11995
12465
|
style: N({
|
|
11996
12466
|
width: e.width || "auto",
|
|
@@ -12002,7 +12472,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
12002
12472
|
e.sortable ? "cursor-pointer select-none hover:text-on-surface transition-colors" : ""
|
|
12003
12473
|
]),
|
|
12004
12474
|
onClick: (t) => e.sortable ? u(e.key) : void 0
|
|
12005
|
-
}, [C("span",
|
|
12475
|
+
}, [C("span", Mh, [T(K(e.label) + " ", 1), e.sortable ? (L(), S("span", Nh, [c.value === e.key && l.value === "asc" ? (L(), b(r, {
|
|
12006
12476
|
key: 0,
|
|
12007
12477
|
name: "arrow_upward",
|
|
12008
12478
|
size: 14,
|
|
@@ -12017,7 +12487,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
12017
12487
|
name: "unfold_more",
|
|
12018
12488
|
size: 14,
|
|
12019
12489
|
class: "opacity-30"
|
|
12020
|
-
}))])) : x("", !0)])], 14,
|
|
12490
|
+
}))])) : x("", !0)])], 14, jh))), 128))]),
|
|
12021
12491
|
C("div", {
|
|
12022
12492
|
ref_key: "scrollEl",
|
|
12023
12493
|
ref: a,
|
|
@@ -12045,11 +12515,11 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
12045
12515
|
}, [H(t.$slots, `cell-${e.key}`, {
|
|
12046
12516
|
row: n,
|
|
12047
12517
|
value: n[e.key]
|
|
12048
|
-
}, () => [C("span",
|
|
12049
|
-
C("div",
|
|
12518
|
+
}, () => [C("span", Fh, K(n[e.key] ?? "—"), 1)])], 6))), 128))], 14, Ph))), 128))], 4)], 36),
|
|
12519
|
+
C("div", Ih, [C("span", Lh, [T(K(d.value.length.toLocaleString()) + " filas ", 1), p.value.end - p.value.start < d.value.length ? (L(), S(m, { key: 0 }, [T(" · mostrando " + K(p.value.start + 1) + "–" + K(p.value.end), 1)], 64)) : x("", !0)])])
|
|
12050
12520
|
]));
|
|
12051
12521
|
}
|
|
12052
|
-
}),
|
|
12522
|
+
}), zh = { class: "text-title-small font-medium text-on-surface truncate flex-1" }, Bh = { class: "flex-1 overflow-auto" }, Vh = ["onMousedown", "onTouchstart"], Hh = /* @__PURE__ */ D({
|
|
12053
12523
|
__name: "MWindow",
|
|
12054
12524
|
props: {
|
|
12055
12525
|
modelValue: { type: Boolean },
|
|
@@ -12224,7 +12694,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
12224
12694
|
name: e.icon,
|
|
12225
12695
|
size: 18,
|
|
12226
12696
|
class: "text-on-surface-variant"
|
|
12227
|
-
}, null, 8, ["name"])) : x("", !0), C("span",
|
|
12697
|
+
}, null, 8, ["name"])) : x("", !0), C("span", zh, K(e.title), 1)]),
|
|
12228
12698
|
H(t.$slots, "actions"),
|
|
12229
12699
|
e.minimizable ? (L(), S("button", {
|
|
12230
12700
|
key: 0,
|
|
@@ -12243,17 +12713,17 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
12243
12713
|
size: 16
|
|
12244
12714
|
})])) : x("", !0)
|
|
12245
12715
|
], 34),
|
|
12246
|
-
ie(C("div",
|
|
12716
|
+
ie(C("div", Bh, [H(t.$slots, "default")], 512), [[ne, !l.value]]),
|
|
12247
12717
|
e.resizable && !l.value ? (L(), S(m, { key: 0 }, V(oe, (e) => C("div", {
|
|
12248
12718
|
key: e.dir,
|
|
12249
12719
|
class: M(["absolute", [e.class, e.cursor]]),
|
|
12250
12720
|
onMousedown: (t) => ee(t, e.dir),
|
|
12251
12721
|
onTouchstart: (t) => ee(t, e.dir)
|
|
12252
|
-
}, null, 42,
|
|
12722
|
+
}, null, 42, Vh)), 64)) : x("", !0)
|
|
12253
12723
|
], 36)) : x("", !0);
|
|
12254
12724
|
}
|
|
12255
12725
|
});
|
|
12256
12726
|
//#endregion
|
|
12257
|
-
export { st as MAbsolute, pt as MAlert, Lt as MAppBar, Vt as MAppLayout, Ht as MAspectRatio, Nt as MAutocomplete, Ut as MAvatar, Kt as MBadge, Qt as MBottomSheet, $t as MBox, nn as MBreadcrumbs, i as MButton, sn as MButtonGroup, yn as MCalendar, En as MCard, Nn as MCarousel, Pn as MCenter, Ln as MChatBubble, Bn as MCheckbox, Hn as MChip,
|
|
12727
|
+
export { st as MAbsolute, pt as MAlert, Lt as MAppBar, Vt as MAppLayout, Ht as MAspectRatio, Nt as MAutocomplete, Ut as MAvatar, Kt as MBadge, Qt as MBottomSheet, $t as MBox, nn as MBreadcrumbs, i as MButton, sn as MButtonGroup, yn as MCalendar, En as MCard, Nn as MCarousel, Pn as MCenter, Ln as MChatBubble, Bn as MCheckbox, Hn as MChip, fu as MCircleProgressBar, $n as MColorPicker, dr as MColorPickerModal, Tr as MCommandPalette, Dr as MConfirmDialog, Or as MContainer, kr as MContextMenu, Ar as MCopyButton, oi as MDataTable, _i as MDatePicker, ji as MDatePickerModal, Ui as MDateRangePicker, aa as MDateRangePickerModal, o as MDialog, la as MDivider, ha as MDragDropList, _a as MEmoji, Ca as MEmojiButton, ja as MEmojiSelector, Ma as MEmptyState, za as MExpansionPanel, Ba as MExportButton, Ga as MFab, so as MFileUpload, co as MFixed, ho as MFlex, mo as MFooter, go as MFullscreen, _o as MGrid, Co as MHotkeys, r as MIcon, l as MIconButton, Do as MInfiniteScroll, Io as MJsonViewer, Ko as MKanban, Yo as MKbd, Xo as MList, us as MListItem, ds as MListSubheader, hs as MLoadingOverlay, Ds as MMaskField, gs as MMasonry, c as MMenu, bs as MMenuDivider, f as MMenuItem, Xs as MMultiAutocomplete, xc as MMultiSelect, wc as MNavigationBar, pl as MNavigationDrawer, _l as MNavigationRail, Mc as MNumberField, yl as MOverlay, Nr as MPagination, Sl as MPasswordMeter, Al as MPinInput, ql as MProgressBar, _u as MRadio, bu as MRadioGroup, Su as MRating, Eu as MRelative, Ou as MRelativeTime, ku as MResponsive, Iu as MResult, Qu as MScheduler, $u as MScrollable, id as MSection, sd as MSegmentedButton, Td as MSelect, Ad as MShader, Id as MSideSheet, Rd as MSignaturePad, Bd as MSkeleton, Gd as MSlider, ye as MSnackbar, Yd as MSpacer, s as MSpinner, $d as MSplitButton, ef as MSplitter, vf as MSpotlightSearch, yf as MStack, Of as MStatCard, Wf as MStepper, Gf as MSticky, qf as MSubtitle, $o as MSwitch, hp as MTable, Ap as MTabs, Cp as MTagInput, Kf as MText, u as MTextField, em as MTimePicker, vm as MTimePickerModal, Hp as MTimeline, ym as MTitle, Em as MToolbar, Cm as MTooltip, Am as MTopAppBar, Rm as MTour, sh as MTransferList, _h as MTree, Oh as MTreeTable, Rh as MVirtualTable, Hh as MWindow, ya as allEmojis, $ as createM3UI, e as defaultLocale, va as emojiCategories, ue as palettes, ba as randomEmoji, fe as useColorPalette, d as useDebounce, ze as useDevice, a as useFieldBg, t as useLocale, ot as useNotification, le as useTheme, Pe as useToast };
|
|
12258
12728
|
|
|
12259
12729
|
//# sourceMappingURL=m3ui.js.map
|