@m3ui-vue/m3ui-vue 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/MRating.vue.d.ts +1 -1
- package/dist/composables/useToast.d.ts +15 -18
- package/dist/index.d.ts +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +521 -518
- package/dist/m3ui.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/MBottomSheet.vue +2 -2
- package/src/components/MCalendar.vue +1 -1
- package/src/components/MColorPicker.vue +2 -2
- package/src/components/MContextMenu.vue +1 -1
- package/src/components/MDataTable.vue +27 -6
- package/src/components/MDatePicker.vue +2 -2
- package/src/components/MDateRangePicker.vue +2 -2
- package/src/components/MIconButton.vue +0 -1
- package/src/components/MJsonViewer.vue +1 -1
- package/src/components/MLoadingOverlay.vue +1 -1
- package/src/components/MMenu.vue +1 -1
- package/src/components/MMultiSelect.vue +1 -1
- package/src/components/MNavigationDrawer.vue +29 -8
- package/src/components/MScheduler.vue +2 -2
- package/src/components/MSelect.vue +1 -1
- package/src/components/MSideSheet.vue +1 -1
- package/src/components/MSnackbar.vue +7 -6
- package/src/components/MStatCard.vue +6 -6
- package/src/components/MStepper.vue +2 -2
- package/src/components/MTable.vue +2 -2
- package/src/components/MTimePicker.vue +2 -2
- package/src/components/MTimeline.vue +2 -2
- package/src/components/MTooltip.vue +1 -1
- package/src/components/MTour.vue +2 -2
- package/src/components/MTreeTable.vue +1 -1
- package/src/components/MVirtualTable.vue +1 -1
- package/src/components/_MContextMenuPanel.vue +1 -1
- package/src/components/_MTreeNode.vue +2 -2
- package/src/composables/useToast.ts +15 -10
- package/src/index.ts +1 -1
package/dist/m3ui.js
CHANGED
|
@@ -169,7 +169,9 @@ function re(e, t = "info", n = {}) {
|
|
|
169
169
|
message: e,
|
|
170
170
|
variant: t,
|
|
171
171
|
duration: a,
|
|
172
|
-
action: i.action
|
|
172
|
+
action: i.action,
|
|
173
|
+
icon: i.icon,
|
|
174
|
+
color: i.color
|
|
173
175
|
}), a > 0 && setTimeout(() => ne(r), a), r;
|
|
174
176
|
}
|
|
175
177
|
var ie = (e, t) => re(e, "success", t ?? {}), ae = (e, t) => re(e, "error", t ?? {}), oe = (e, t) => re(e, "warning", t ?? {}), se = (e, t) => re(e, "info", t ?? {});
|
|
@@ -396,7 +398,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
396
398
|
}
|
|
397
399
|
}), Ee = {
|
|
398
400
|
key: 0,
|
|
399
|
-
class: "fixed inset-0 z-
|
|
401
|
+
class: "fixed inset-0 z-200 flex flex-col justify-end"
|
|
400
402
|
}, De = {
|
|
401
403
|
key: 0,
|
|
402
404
|
class: "flex shrink-0 items-center justify-between px-6 pb-4"
|
|
@@ -440,7 +442,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
440
442
|
class: "bs-scrim absolute inset-0 bg-black/40",
|
|
441
443
|
onClick: d
|
|
442
444
|
}), u("div", {
|
|
443
|
-
class: v(["bs-panel relative flex w-full flex-col rounded-t-
|
|
445
|
+
class: v(["bs-panel relative flex w-full flex-col rounded-t-xl bg-surface-container-low shadow-elevation-3", t.fullHeight ? "max-h-[92vh]" : "max-h-[60vh]"]),
|
|
444
446
|
style: y(x.value)
|
|
445
447
|
}, [
|
|
446
448
|
u("div", {
|
|
@@ -463,7 +465,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
463
465
|
_: 3
|
|
464
466
|
})]));
|
|
465
467
|
}
|
|
466
|
-
}), [["__scopeId", "data-v-
|
|
468
|
+
}), [["__scopeId", "data-v-5b1fb748"]]), Me = {
|
|
467
469
|
"aria-label": "Breadcrumb",
|
|
468
470
|
class: "flex items-center gap-1 overflow-x-auto text-label-large"
|
|
469
471
|
}, Ne = ["onClick"], Pe = /* @__PURE__ */ m({
|
|
@@ -645,7 +647,6 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
645
647
|
to: t.to || void 0,
|
|
646
648
|
type: t.to ? void 0 : "button",
|
|
647
649
|
"aria-label": t.label,
|
|
648
|
-
title: t.label,
|
|
649
650
|
disabled: t.disabled,
|
|
650
651
|
class: v([Ue, i.value]),
|
|
651
652
|
style: y({
|
|
@@ -662,7 +663,6 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
662
663
|
"to",
|
|
663
664
|
"type",
|
|
664
665
|
"aria-label",
|
|
665
|
-
"title",
|
|
666
666
|
"disabled",
|
|
667
667
|
"class",
|
|
668
668
|
"style"
|
|
@@ -771,7 +771,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
771
771
|
}, A(e), 1))), 128))]),
|
|
772
772
|
u("div", Ye, [(C(!0), l(n, null, E(_.value, (t, r) => (C(), l("div", {
|
|
773
773
|
key: r,
|
|
774
|
-
class: v(["flex min-h-[80px] cursor-pointer flex-col border-b border-r border-outline-variant/50 p-1.5 transition-colors hover:bg-on-surface/
|
|
774
|
+
class: v(["flex min-h-[80px] cursor-pointer flex-col border-b border-r border-outline-variant/50 p-1.5 transition-colors hover:bg-on-surface/3", [
|
|
775
775
|
t.current ? "bg-surface" : "bg-surface-container-lowest/50",
|
|
776
776
|
(r + 1) % 7 == 0 ? "border-r-0" : "",
|
|
777
777
|
r >= 35 ? "border-b-0" : ""
|
|
@@ -1108,7 +1108,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
1108
1108
|
})
|
|
1109
1109
|
], 2), t.label ? (C(), l("label", {
|
|
1110
1110
|
key: 0,
|
|
1111
|
-
class: v(["pointer-events-none absolute -top-2.5 left-3 bg-
|
|
1111
|
+
class: v(["pointer-events-none absolute -top-2.5 left-3 bg-(--field-bg) px-1 text-label-small transition-colors", m.value ? t.error ? "text-error" : "text-primary" : t.error ? "text-error" : "text-on-surface-variant"])
|
|
1112
1112
|
}, A(t.label), 3)) : c("", !0)], 4),
|
|
1113
1113
|
t.error ? (C(), l("p", ht, A(t.error), 1)) : t.hint ? (C(), l("p", gt, A(t.hint), 1)) : c("", !0),
|
|
1114
1114
|
(C(), s(r, { to: "body" }, [p(i, {
|
|
@@ -1121,7 +1121,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
1121
1121
|
key: 0,
|
|
1122
1122
|
ref_key: "panelEl",
|
|
1123
1123
|
ref: g,
|
|
1124
|
-
class: "fixed z-
|
|
1124
|
+
class: "fixed z-500 w-[280px] rounded-lg bg-surface-container p-4 shadow-elevation-3",
|
|
1125
1125
|
style: y(_.value)
|
|
1126
1126
|
}, [
|
|
1127
1127
|
u("div", {
|
|
@@ -1175,7 +1175,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
1175
1175
|
})]))
|
|
1176
1176
|
]));
|
|
1177
1177
|
}
|
|
1178
|
-
}), [["__scopeId", "data-v-
|
|
1178
|
+
}), [["__scopeId", "data-v-872ab758"]]), wt = { class: "cmd-box flex w-full max-w-lg flex-col overflow-hidden rounded-xl bg-surface-container-high shadow-elevation-3" }, Tt = { class: "flex items-center gap-3 border-b border-outline-variant px-4" }, Et = ["placeholder"], Dt = { class: "max-h-80 overflow-y-auto py-2" }, Ot = {
|
|
1179
1179
|
key: 0,
|
|
1180
1180
|
class: "px-4 pt-3 pb-1 text-label-small font-medium tracking-wide text-on-surface-variant uppercase"
|
|
1181
1181
|
}, kt = [
|
|
@@ -1458,7 +1458,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
1458
1458
|
return (r, i) => (C(), l(n, null, [u("div", {
|
|
1459
1459
|
ref_key: "panel",
|
|
1460
1460
|
ref: o,
|
|
1461
|
-
class: "m3-ctx-panel absolute z-
|
|
1461
|
+
class: "m3-ctx-panel absolute z-201 min-w-[200px] rounded-sm bg-surface-container shadow-elevation-2",
|
|
1462
1462
|
style: y({
|
|
1463
1463
|
left: `${d.value}px`,
|
|
1464
1464
|
top: `${f.value}px`
|
|
@@ -1539,7 +1539,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
1539
1539
|
}, {
|
|
1540
1540
|
default: L(() => [a.value ? (C(), l("div", {
|
|
1541
1541
|
key: 0,
|
|
1542
|
-
class: "fixed inset-0 z-
|
|
1542
|
+
class: "fixed inset-0 z-200",
|
|
1543
1543
|
onMousedown: B(f, ["self"]),
|
|
1544
1544
|
onContextmenu: d[0] ||= B(() => {}, ["prevent"])
|
|
1545
1545
|
}, [p(qt, {
|
|
@@ -1599,7 +1599,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
1599
1599
|
}, an = { class: "text-body-small text-on-surface" }, on = { class: "overflow-x-auto" }, sn = { class: "w-full border-collapse" }, cn = { class: "bg-surface-container-high" }, ln = ["onClick"], un = { class: "inline-flex items-center gap-1" }, dn = {
|
|
1600
1600
|
key: 0,
|
|
1601
1601
|
class: "inline-flex"
|
|
1602
|
-
}, fn = ["onPointerdown"], pn = { key: 1 }, mn = ["colspan"], hn = { class: "text-body-medium text-on-surface-variant" }, gn = ["onClick"], _n = ["onClick"], vn = { key: 0 }, yn = ["colspan"], bn = { class: "flex items-center justify-between gap-4 border-t border-outline-variant bg-surface-container-lowest px-4 py-2" },
|
|
1602
|
+
}, fn = ["onPointerdown"], pn = { key: 1 }, mn = ["colspan"], hn = { class: "text-body-medium text-on-surface-variant" }, gn = ["onClick"], _n = ["onClick"], vn = { key: 0 }, yn = ["colspan"], bn = { class: "dt-expand-body" }, xn = { class: "px-6 py-4" }, Sn = { class: "flex items-center justify-between gap-4 border-t border-outline-variant bg-surface-container-lowest px-4 py-2" }, Cn = { class: "text-label-small text-on-surface-variant" }, wn = /*#__PURE__*/ t(/* @__PURE__ */ m({
|
|
1603
1603
|
__name: "MDataTable",
|
|
1604
1604
|
props: {
|
|
1605
1605
|
columns: {},
|
|
@@ -1790,7 +1790,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
1790
1790
|
size: 14
|
|
1791
1791
|
})])) : c("", !0)
|
|
1792
1792
|
])) : c("", !0),
|
|
1793
|
-
D(r.$slots, "toolbar"),
|
|
1793
|
+
D(r.$slots, "toolbar", {}, void 0, !0),
|
|
1794
1794
|
p(i, {
|
|
1795
1795
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
1796
1796
|
"enter-from-class": "opacity-0 scale-90",
|
|
@@ -1820,7 +1820,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
1820
1820
|
onClick: de
|
|
1821
1821
|
})) : c("", !0)
|
|
1822
1822
|
])) : c("", !0),
|
|
1823
|
-
u("div", on, [u("table", sn, [u("thead", { class: v(t.stickyHeader ? "sticky top-0 z-
|
|
1823
|
+
u("div", on, [u("table", sn, [u("thead", { class: v(t.stickyHeader ? "sticky top-0 z-1" : "") }, [u("tr", cn, [
|
|
1824
1824
|
_.value ? (C(), l("th", {
|
|
1825
1825
|
key: 0,
|
|
1826
1826
|
class: v(["w-10 px-2", t.dense ? "py-2" : "py-3"])
|
|
@@ -1897,11 +1897,11 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
1897
1897
|
name: "search_off",
|
|
1898
1898
|
size: 36,
|
|
1899
1899
|
class: "mb-2 text-on-surface-variant opacity-30"
|
|
1900
|
-
}), u("p", hn, A(t.emptyText), 1)])], 8, mn)])) : (C(!0), l(n, { key: 2 }, E(U.value, (e) => (C(), l(n, { key: G(e) }, [u("tr", {
|
|
1900
|
+
}), u("p", hn, A(t.emptyText), 1)], !0)], 8, mn)])) : (C(!0), l(n, { key: 2 }, E(U.value, (e) => (C(), l(n, { key: G(e) }, [u("tr", {
|
|
1901
1901
|
class: v([
|
|
1902
1902
|
"border-t border-outline-variant transition-colors duration-100",
|
|
1903
|
-
"hover:bg-on-surface/
|
|
1904
|
-
t.selectable && K(e) ? "bg-primary/
|
|
1903
|
+
"hover:bg-on-surface/4",
|
|
1904
|
+
t.selectable && K(e) ? "bg-primary/6" : "",
|
|
1905
1905
|
t.striped ? "even:bg-surface-container-lowest" : "",
|
|
1906
1906
|
t.selectable ? "cursor-pointer" : ""
|
|
1907
1907
|
]),
|
|
@@ -1937,17 +1937,17 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
1937
1937
|
row: e,
|
|
1938
1938
|
value: e[n.key],
|
|
1939
1939
|
col: n
|
|
1940
|
-
}, () => [f(A(e[n.key] ?? "—"), 1)])], 2))), 128)),
|
|
1940
|
+
}, () => [f(A(e[n.key] ?? "—"), 1)], !0)], 2))), 128)),
|
|
1941
1941
|
g.value ? (C(), l("td", {
|
|
1942
1942
|
key: 2,
|
|
1943
1943
|
class: v(["text-right", t.dense ? "px-4 py-1" : "px-4 py-3"]),
|
|
1944
1944
|
onClick: a[4] ||= B(() => {}, ["stop"])
|
|
1945
|
-
}, [D(r.$slots, "row-actions", { row: e })], 2)) : c("", !0)
|
|
1946
|
-
], 10, gn), _.value
|
|
1945
|
+
}, [D(r.$slots, "row-actions", { row: e }, void 0, !0)], 2)) : c("", !0)
|
|
1946
|
+
], 10, gn), _.value ? (C(), l("tr", vn, [u("td", {
|
|
1947
1947
|
colspan: I.value.length + ne.value,
|
|
1948
|
-
class: "border-t border-outline-variant/50 bg-surface-container-lowest
|
|
1949
|
-
}, [D(r.$slots, "row-expand", { row: e })], 8, yn)])) : c("", !0)], 64))), 128))])])]),
|
|
1950
|
-
u("div",
|
|
1948
|
+
class: "border-t border-outline-variant/50 bg-surface-container-lowest p-0"
|
|
1949
|
+
}, [u("div", { class: v(["dt-expand-grid", te(e) ? "dt-expand-open" : ""]) }, [u("div", bn, [u("div", xn, [D(r.$slots, "row-expand", { row: e }, void 0, !0)])])], 2)], 8, yn)])) : c("", !0)], 64))), 128))])])]),
|
|
1950
|
+
u("div", Sn, [u("span", Cn, A(H.value) + " registro" + A(H.value === 1 ? "" : "s"), 1), p(Zt, {
|
|
1951
1951
|
page: w.value,
|
|
1952
1952
|
"per-page": t.perPage,
|
|
1953
1953
|
total: H.value,
|
|
@@ -1959,19 +1959,19 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
1959
1959
|
])])
|
|
1960
1960
|
]));
|
|
1961
1961
|
}
|
|
1962
|
-
}),
|
|
1962
|
+
}), [["__scopeId", "data-v-fcd73278"]]), Tn = { class: "flex flex-col gap-1" }, En = {
|
|
1963
1963
|
key: 0,
|
|
1964
1964
|
class: "flex-1 text-on-surface"
|
|
1965
|
-
},
|
|
1965
|
+
}, Dn = {
|
|
1966
1966
|
key: 1,
|
|
1967
1967
|
class: "flex-1 text-on-surface-variant"
|
|
1968
|
-
},
|
|
1968
|
+
}, On = {
|
|
1969
1969
|
key: 0,
|
|
1970
1970
|
class: "px-4 text-body-small text-error"
|
|
1971
|
-
},
|
|
1971
|
+
}, kn = {
|
|
1972
1972
|
key: 1,
|
|
1973
1973
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
1974
|
-
},
|
|
1974
|
+
}, An = { class: "mb-3 flex items-center justify-between" }, jn = { class: "text-title-small font-medium capitalize text-on-surface" }, Mn = { class: "mb-1 grid grid-cols-7 gap-0.5 text-center" }, Nn = { class: "grid grid-cols-7 gap-0.5" }, Pn = ["disabled", "onClick"], Fn = /* @__PURE__ */ m({
|
|
1975
1975
|
__name: "MDatePicker",
|
|
1976
1976
|
props: {
|
|
1977
1977
|
modelValue: {},
|
|
@@ -2091,7 +2091,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2091
2091
|
e ? (U(), setTimeout(() => document.addEventListener("mousedown", W), 0)) : document.removeEventListener("mousedown", W);
|
|
2092
2092
|
}), x(() => window.addEventListener("scroll", G, !0)), S(() => {
|
|
2093
2093
|
window.removeEventListener("scroll", G, !0), document.removeEventListener("mousedown", W);
|
|
2094
|
-
}), (a, o) => (C(), l("div",
|
|
2094
|
+
}), (a, o) => (C(), l("div", Tn, [
|
|
2095
2095
|
u("div", {
|
|
2096
2096
|
ref_key: "triggerEl",
|
|
2097
2097
|
ref: h,
|
|
@@ -2107,7 +2107,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2107
2107
|
size: 20,
|
|
2108
2108
|
class: "shrink-0 text-on-surface-variant"
|
|
2109
2109
|
}),
|
|
2110
|
-
H.value ? (C(), l("span",
|
|
2110
|
+
H.value ? (C(), l("span", En, A(H.value), 1)) : (C(), l("span", Dn, A(t.placeholder || t.label || "Seleccionar fecha"), 1)),
|
|
2111
2111
|
t.modelValue ? (C(), s(e, {
|
|
2112
2112
|
key: 2,
|
|
2113
2113
|
name: "close",
|
|
@@ -2117,9 +2117,9 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2117
2117
|
})) : c("", !0)
|
|
2118
2118
|
], 2), t.label ? (C(), l("label", {
|
|
2119
2119
|
key: 0,
|
|
2120
|
-
class: v(["pointer-events-none absolute -top-2.5 left-3 bg-
|
|
2120
|
+
class: v(["pointer-events-none absolute -top-2.5 left-3 bg-(--field-bg) px-1 text-label-small transition-colors", m.value ? t.error ? "text-error" : "text-primary" : t.error ? "text-error" : "text-on-surface-variant"])
|
|
2121
2121
|
}, A(t.label), 3)) : c("", !0)], 4),
|
|
2122
|
-
t.error ? (C(), l("p",
|
|
2122
|
+
t.error ? (C(), l("p", On, A(t.error), 1)) : t.hint ? (C(), l("p", kn, A(t.hint), 1)) : c("", !0),
|
|
2123
2123
|
(C(), s(r, { to: "body" }, [p(i, {
|
|
2124
2124
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
2125
2125
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
@@ -2130,17 +2130,17 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2130
2130
|
key: 0,
|
|
2131
2131
|
ref_key: "panelEl",
|
|
2132
2132
|
ref: g,
|
|
2133
|
-
class: "fixed z-
|
|
2133
|
+
class: "fixed z-500 w-[320px] rounded-lg bg-surface-container p-4 shadow-elevation-3",
|
|
2134
2134
|
style: y(_.value)
|
|
2135
2135
|
}, [
|
|
2136
|
-
u("div",
|
|
2136
|
+
u("div", An, [
|
|
2137
2137
|
p(Z, {
|
|
2138
2138
|
icon: "chevron_left",
|
|
2139
2139
|
label: "Mes anterior",
|
|
2140
2140
|
size: 36,
|
|
2141
2141
|
onClick: I
|
|
2142
2142
|
}),
|
|
2143
|
-
u("span",
|
|
2143
|
+
u("span", jn, A(O.value), 1),
|
|
2144
2144
|
p(Z, {
|
|
2145
2145
|
icon: "chevron_right",
|
|
2146
2146
|
label: "Mes siguiente",
|
|
@@ -2148,39 +2148,39 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2148
2148
|
onClick: R
|
|
2149
2149
|
})
|
|
2150
2150
|
]),
|
|
2151
|
-
u("div",
|
|
2151
|
+
u("div", Mn, [(C(!0), l(n, null, E(j(D), (e) => (C(), l("span", {
|
|
2152
2152
|
key: e,
|
|
2153
2153
|
class: "py-1 text-label-small font-medium text-on-surface-variant"
|
|
2154
2154
|
}, A(e), 1))), 128))]),
|
|
2155
|
-
u("div",
|
|
2155
|
+
u("div", Nn, [(C(!0), l(n, null, E(k.value, (e, n) => (C(), l("button", {
|
|
2156
2156
|
key: n,
|
|
2157
2157
|
type: "button",
|
|
2158
2158
|
class: v(["flex h-9 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 === t.modelValue ? "bg-primary text-on-primary" : P(e.iso) ? "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"]]),
|
|
2159
2159
|
disabled: e.disabled,
|
|
2160
2160
|
onClick: (t) => z(e)
|
|
2161
|
-
}, A(e.date), 11,
|
|
2161
|
+
}, A(e.date), 11, Pn))), 128))])
|
|
2162
2162
|
], 4)) : c("", !0)]),
|
|
2163
2163
|
_: 1
|
|
2164
2164
|
})]))
|
|
2165
2165
|
]));
|
|
2166
2166
|
}
|
|
2167
|
-
}),
|
|
2167
|
+
}), In = { class: "flex flex-col gap-1" }, Ln = {
|
|
2168
2168
|
key: 0,
|
|
2169
2169
|
class: "flex-1 text-on-surface"
|
|
2170
|
-
},
|
|
2170
|
+
}, Rn = {
|
|
2171
2171
|
key: 1,
|
|
2172
2172
|
class: "flex-1 text-on-surface-variant"
|
|
2173
|
-
},
|
|
2173
|
+
}, zn = {
|
|
2174
2174
|
key: 0,
|
|
2175
2175
|
class: "px-4 text-body-small text-error"
|
|
2176
|
-
},
|
|
2176
|
+
}, Bn = {
|
|
2177
2177
|
key: 1,
|
|
2178
2178
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
2179
|
-
},
|
|
2179
|
+
}, Vn = { class: "mb-2 text-center text-label-medium text-on-surface-variant" }, Hn = { class: "mb-3 flex items-center justify-between" }, Un = { class: "text-title-small font-medium capitalize text-on-surface" }, Wn = { class: "mb-1 grid grid-cols-7 gap-0.5 text-center" }, Gn = { class: "grid grid-cols-7 gap-0.5" }, Kn = [
|
|
2180
2180
|
"disabled",
|
|
2181
2181
|
"onMouseenter",
|
|
2182
2182
|
"onClick"
|
|
2183
|
-
],
|
|
2183
|
+
], qn = /* @__PURE__ */ m({
|
|
2184
2184
|
__name: "MDateRangePicker",
|
|
2185
2185
|
props: {
|
|
2186
2186
|
modelValue: {},
|
|
@@ -2314,7 +2314,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2314
2314
|
e ? (_.value = d.modelValue.start && !d.modelValue.end ? "end" : "start", K(), setTimeout(() => document.addEventListener("mousedown", q), 0)) : document.removeEventListener("mousedown", q);
|
|
2315
2315
|
}), x(() => window.addEventListener("scroll", J, !0)), S(() => {
|
|
2316
2316
|
window.removeEventListener("scroll", J, !0), document.removeEventListener("mousedown", q);
|
|
2317
|
-
}), (a, o) => (C(), l("div",
|
|
2317
|
+
}), (a, o) => (C(), l("div", In, [
|
|
2318
2318
|
u("div", {
|
|
2319
2319
|
ref_key: "triggerEl",
|
|
2320
2320
|
ref: h,
|
|
@@ -2330,7 +2330,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2330
2330
|
size: 20,
|
|
2331
2331
|
class: "shrink-0 text-on-surface-variant"
|
|
2332
2332
|
}),
|
|
2333
|
-
W.value ? (C(), l("span",
|
|
2333
|
+
W.value ? (C(), l("span", Ln, A(W.value), 1)) : (C(), l("span", Rn, A(t.label || "Seleccionar rango"), 1)),
|
|
2334
2334
|
t.modelValue.start || t.modelValue.end ? (C(), s(e, {
|
|
2335
2335
|
key: 2,
|
|
2336
2336
|
name: "close",
|
|
@@ -2340,9 +2340,9 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2340
2340
|
})) : c("", !0)
|
|
2341
2341
|
], 2), t.label ? (C(), l("label", {
|
|
2342
2342
|
key: 0,
|
|
2343
|
-
class: v(["pointer-events-none absolute -top-2.5 left-3 bg-
|
|
2343
|
+
class: v(["pointer-events-none absolute -top-2.5 left-3 bg-(--field-bg) px-1 text-label-small transition-colors", m.value ? t.error ? "text-error" : "text-primary" : t.error ? "text-error" : "text-on-surface-variant"])
|
|
2344
2344
|
}, A(t.label), 3)) : c("", !0)], 4),
|
|
2345
|
-
t.error ? (C(), l("p",
|
|
2345
|
+
t.error ? (C(), l("p", zn, A(t.error), 1)) : t.hint ? (C(), l("p", Bn, A(t.hint), 1)) : c("", !0),
|
|
2346
2346
|
(C(), s(r, { to: "body" }, [p(i, {
|
|
2347
2347
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
2348
2348
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
@@ -2353,18 +2353,18 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2353
2353
|
key: 0,
|
|
2354
2354
|
ref_key: "panelEl",
|
|
2355
2355
|
ref: g,
|
|
2356
|
-
class: "fixed z-
|
|
2356
|
+
class: "fixed z-500 w-[320px] rounded-lg bg-surface-container p-4 shadow-elevation-3",
|
|
2357
2357
|
style: y(w.value)
|
|
2358
2358
|
}, [
|
|
2359
|
-
u("p",
|
|
2360
|
-
u("div",
|
|
2359
|
+
u("p", Vn, A(_.value === "start" ? "Selecciona inicio" : "Selecciona fin"), 1),
|
|
2360
|
+
u("div", Hn, [
|
|
2361
2361
|
p(Z, {
|
|
2362
2362
|
icon: "chevron_left",
|
|
2363
2363
|
label: "Anterior",
|
|
2364
2364
|
size: 36,
|
|
2365
2365
|
onClick: H
|
|
2366
2366
|
}),
|
|
2367
|
-
u("span",
|
|
2367
|
+
u("span", Un, A(M.value), 1),
|
|
2368
2368
|
p(Z, {
|
|
2369
2369
|
icon: "chevron_right",
|
|
2370
2370
|
label: "Siguiente",
|
|
@@ -2372,34 +2372,34 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2372
2372
|
onClick: U
|
|
2373
2373
|
})
|
|
2374
2374
|
]),
|
|
2375
|
-
u("div",
|
|
2375
|
+
u("div", Wn, [(C(!0), l(n, null, E(j(k), (e) => (C(), l("span", {
|
|
2376
2376
|
key: e,
|
|
2377
2377
|
class: "py-1 text-label-small font-medium text-on-surface-variant"
|
|
2378
2378
|
}, A(e), 1))), 128))]),
|
|
2379
|
-
u("div",
|
|
2379
|
+
u("div", Gn, [(C(!0), l(n, null, E(N.value, (e, n) => (C(), l("button", {
|
|
2380
2380
|
key: n,
|
|
2381
2381
|
type: "button",
|
|
2382
2382
|
class: v(["flex h-9 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 === t.modelValue.start || e.iso === t.modelValue.end ? "bg-primary text-on-primary rounded-full" : V(e.iso) ? "bg-primary/12 text-on-surface cursor-pointer" : e.iso === j(R) ? "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"]]),
|
|
2383
2383
|
disabled: e.disabled,
|
|
2384
2384
|
onMouseenter: (t) => _.value === "end" && (b.value = e.iso),
|
|
2385
2385
|
onClick: (t) => z(e)
|
|
2386
|
-
}, A(e.date), 43,
|
|
2386
|
+
}, A(e.date), 43, Kn))), 128))])
|
|
2387
2387
|
], 4)) : c("", !0)]),
|
|
2388
2388
|
_: 1
|
|
2389
2389
|
})]))
|
|
2390
2390
|
]));
|
|
2391
2391
|
}
|
|
2392
|
-
}),
|
|
2392
|
+
}), Jn = {
|
|
2393
2393
|
key: 0,
|
|
2394
2394
|
class: "shrink-0 text-label-small text-on-surface-variant"
|
|
2395
|
-
},
|
|
2395
|
+
}, Yn = {
|
|
2396
2396
|
key: 1,
|
|
2397
2397
|
class: "h-px flex-1 bg-outline-variant"
|
|
2398
|
-
},
|
|
2398
|
+
}, Xn = {
|
|
2399
2399
|
key: 1,
|
|
2400
2400
|
class: "w-px self-stretch bg-outline-variant",
|
|
2401
2401
|
role: "separator"
|
|
2402
|
-
},
|
|
2402
|
+
}, Zn = /* @__PURE__ */ m({
|
|
2403
2403
|
__name: "MDivider",
|
|
2404
2404
|
props: {
|
|
2405
2405
|
vertical: {
|
|
@@ -2413,25 +2413,25 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2413
2413
|
}
|
|
2414
2414
|
},
|
|
2415
2415
|
setup(e) {
|
|
2416
|
-
return (t, n) => e.vertical ? (C(), l("div",
|
|
2416
|
+
return (t, n) => e.vertical ? (C(), l("div", Xn)) : (C(), l("div", {
|
|
2417
2417
|
key: 0,
|
|
2418
2418
|
class: v(["flex items-center gap-3", e.inset && "ml-16"]),
|
|
2419
2419
|
role: "separator"
|
|
2420
2420
|
}, [
|
|
2421
2421
|
n[0] ||= u("div", { class: "h-px flex-1 bg-outline-variant" }, null, -1),
|
|
2422
|
-
e.label ? (C(), l("span",
|
|
2423
|
-
e.label ? (C(), l("div",
|
|
2422
|
+
e.label ? (C(), l("span", Jn, A(e.label), 1)) : c("", !0),
|
|
2423
|
+
e.label ? (C(), l("div", Yn)) : c("", !0)
|
|
2424
2424
|
], 2));
|
|
2425
2425
|
}
|
|
2426
|
-
}),
|
|
2426
|
+
}), Qn = {
|
|
2427
2427
|
class: "flex flex-col",
|
|
2428
2428
|
role: "listbox"
|
|
2429
|
-
},
|
|
2429
|
+
}, $n = [
|
|
2430
2430
|
"draggable",
|
|
2431
2431
|
"onDragstart",
|
|
2432
2432
|
"onDragover",
|
|
2433
2433
|
"onDrop"
|
|
2434
|
-
],
|
|
2434
|
+
], er = ["onDragstart"], tr = { class: "min-w-0 flex-1" }, nr = { class: "text-body-medium text-on-surface" }, rr = /* @__PURE__ */ m({
|
|
2435
2435
|
__name: "MDragDropList",
|
|
2436
2436
|
props: {
|
|
2437
2437
|
modelValue: {},
|
|
@@ -2475,7 +2475,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2475
2475
|
function y(e) {
|
|
2476
2476
|
return o.value === e ? "opacity-30" : s.value === e && o.value !== null ? "ring-2 ring-primary ring-inset" : "";
|
|
2477
2477
|
}
|
|
2478
|
-
return (r, i) => (C(), l("div",
|
|
2478
|
+
return (r, i) => (C(), l("div", Qn, [(C(!0), l(n, null, E(t.modelValue, (n, i) => (C(), l("div", {
|
|
2479
2479
|
key: n.id,
|
|
2480
2480
|
draggable: !t.handle,
|
|
2481
2481
|
class: v(["group flex items-center gap-2 rounded-lg px-3 py-2 transition-all", [y(i), !t.handle && "cursor-grab active:cursor-grabbing"]]),
|
|
@@ -2493,12 +2493,12 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2493
2493
|
}, [p(e, {
|
|
2494
2494
|
name: "drag_indicator",
|
|
2495
2495
|
size: 20
|
|
2496
|
-
})], 40,
|
|
2496
|
+
})], 40, er)) : c("", !0), u("div", tr, [D(r.$slots, "default", {
|
|
2497
2497
|
item: n,
|
|
2498
2498
|
index: i
|
|
2499
|
-
}, () => [u("span",
|
|
2499
|
+
}, () => [u("span", nr, A(n.id), 1)])])], 42, $n))), 128))]));
|
|
2500
2500
|
}
|
|
2501
|
-
}),
|
|
2501
|
+
}), ir = /* @__PURE__ */ m({
|
|
2502
2502
|
__name: "MEmptyState",
|
|
2503
2503
|
props: {
|
|
2504
2504
|
icon: { default: "inbox" },
|
|
@@ -2523,13 +2523,13 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2523
2523
|
}, [D(n.$slots, "actions")], 2)) : c("", !0)
|
|
2524
2524
|
], 2));
|
|
2525
2525
|
}
|
|
2526
|
-
}),
|
|
2526
|
+
}), ar = ["aria-expanded", "disabled"], or = { class: "flex-1 min-w-0" }, sr = { class: "text-body-large font-medium text-on-surface" }, cr = {
|
|
2527
2527
|
key: 0,
|
|
2528
2528
|
class: "text-body-small text-on-surface-variant"
|
|
2529
|
-
},
|
|
2529
|
+
}, lr = {
|
|
2530
2530
|
key: 0,
|
|
2531
2531
|
class: "expand-grid"
|
|
2532
|
-
},
|
|
2532
|
+
}, ur = { class: "expand-body border-t border-outline-variant/60 px-5 py-4" }, dr = /*#__PURE__*/ t(/* @__PURE__ */ m({
|
|
2533
2533
|
__name: "MExpansionPanel",
|
|
2534
2534
|
props: {
|
|
2535
2535
|
title: {},
|
|
@@ -2564,24 +2564,24 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2564
2564
|
size: 22,
|
|
2565
2565
|
class: "shrink-0 text-on-surface-variant"
|
|
2566
2566
|
}, null, 8, ["name"])) : c("", !0),
|
|
2567
|
-
u("div",
|
|
2567
|
+
u("div", or, [u("p", sr, A(t.title), 1), t.subtitle ? (C(), l("p", cr, A(t.subtitle), 1)) : c("", !0)]),
|
|
2568
2568
|
p(e, {
|
|
2569
2569
|
name: "expand_more",
|
|
2570
2570
|
size: 22,
|
|
2571
2571
|
class: v(["shrink-0 text-on-surface-variant transition-transform duration-200", f.value ? "rotate-180" : ""])
|
|
2572
2572
|
}, null, 8, ["class"])
|
|
2573
|
-
], 10,
|
|
2574
|
-
default: L(() => [f.value ? (C(), l("div",
|
|
2573
|
+
], 10, ar), p(i, { name: "expand" }, {
|
|
2574
|
+
default: L(() => [f.value ? (C(), l("div", lr, [u("div", ur, [D(n.$slots, "default", {}, void 0, !0)])])) : c("", !0)]),
|
|
2575
2575
|
_: 3
|
|
2576
2576
|
})], 2));
|
|
2577
2577
|
}
|
|
2578
|
-
}), [["__scopeId", "data-v-89e4475b"]]),
|
|
2578
|
+
}), [["__scopeId", "data-v-89e4475b"]]), fr = {
|
|
2579
2579
|
key: 0,
|
|
2580
2580
|
class: "text-label-large font-medium"
|
|
2581
|
-
},
|
|
2581
|
+
}, pr = ["data-tick"], mr = {
|
|
2582
2582
|
key: 0,
|
|
2583
2583
|
class: "whitespace-nowrap rounded-md bg-surface-container-high px-3 py-1.5 text-label-medium text-on-surface shadow-elevation-1"
|
|
2584
|
-
}, $ = 40,
|
|
2584
|
+
}, $ = 40, hr = 8, gr = /* @__PURE__ */ m({
|
|
2585
2585
|
__name: "MFab",
|
|
2586
2586
|
props: {
|
|
2587
2587
|
icon: {},
|
|
@@ -2649,7 +2649,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2649
2649
|
zIndex: "1000"
|
|
2650
2650
|
};
|
|
2651
2651
|
}
|
|
2652
|
-
let c = D.value / 2 +
|
|
2652
|
+
let c = D.value / 2 + hr + $ / 2 + e * 48, l = {
|
|
2653
2653
|
up: {
|
|
2654
2654
|
top: `${r - c - $ / 2}px`,
|
|
2655
2655
|
left: `${n - $ / 2}px`
|
|
@@ -2724,7 +2724,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2724
2724
|
"name",
|
|
2725
2725
|
"size",
|
|
2726
2726
|
"class"
|
|
2727
|
-
]), t.label ? (C(), l("span",
|
|
2727
|
+
]), t.label ? (C(), l("span", fr, A(t.label), 1)) : c("", !0)]),
|
|
2728
2728
|
_: 1
|
|
2729
2729
|
}, 40, [
|
|
2730
2730
|
"to",
|
|
@@ -2734,11 +2734,11 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2734
2734
|
]))], 512), (C(), s(r, { to: "body" }, [g.value ? (C(), l(n, { key: 0 }, [u("span", {
|
|
2735
2735
|
"data-tick": N.value,
|
|
2736
2736
|
class: "hidden"
|
|
2737
|
-
}, null, 8,
|
|
2737
|
+
}, null, 8, pr), (C(!0), l(n, null, E(t.items, (n, r) => (C(), l("div", {
|
|
2738
2738
|
key: r,
|
|
2739
2739
|
style: y(j(r)),
|
|
2740
2740
|
class: v(["flex items-center gap-3", M.value ? "flex-row-reverse" : ""])
|
|
2741
|
-
}, [n.label && M.value ? (C(), l("span",
|
|
2741
|
+
}, [n.label && M.value ? (C(), l("span", mr, A(n.label), 1)) : c("", !0), (C(), s(k(n.to ? "RouterLink" : "button"), {
|
|
2742
2742
|
to: n.to || void 0,
|
|
2743
2743
|
type: n.to ? void 0 : "button",
|
|
2744
2744
|
class: v(["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]", _[t.color]]),
|
|
@@ -2761,17 +2761,17 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2761
2761
|
"onPointerdown"
|
|
2762
2762
|
]))], 6))), 128))], 64)) : c("", !0)]))], 64));
|
|
2763
2763
|
}
|
|
2764
|
-
}),
|
|
2764
|
+
}), _r = { class: "flex flex-col gap-3" }, vr = { class: "text-center" }, yr = {
|
|
2765
2765
|
key: 0,
|
|
2766
2766
|
class: "mt-1 text-body-small text-on-surface-variant"
|
|
2767
|
-
},
|
|
2767
|
+
}, br = { key: 0 }, xr = { key: 1 }, Sr = { key: 2 }, Cr = [
|
|
2768
2768
|
"accept",
|
|
2769
2769
|
"multiple",
|
|
2770
2770
|
"disabled"
|
|
2771
|
-
],
|
|
2771
|
+
], wr = { class: "flex h-10 w-10 shrink-0 items-center justify-center overflow-hidden rounded-md bg-surface-container-high" }, Tr = ["src"], Er = { class: "min-w-0 flex-1" }, Dr = { class: "truncate text-body-medium text-on-surface" }, Or = { class: "text-body-small text-on-surface-variant" }, kr = {
|
|
2772
2772
|
key: 0,
|
|
2773
2773
|
class: "mt-1.5 h-1 w-full overflow-hidden rounded-full bg-surface-container-highest"
|
|
2774
|
-
},
|
|
2774
|
+
}, Ar = /*#__PURE__*/ t(/* @__PURE__ */ m({
|
|
2775
2775
|
__name: "MFileUpload",
|
|
2776
2776
|
props: {
|
|
2777
2777
|
accept: {},
|
|
@@ -2819,7 +2819,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2819
2819
|
function k() {
|
|
2820
2820
|
i.disabled || g.value?.click();
|
|
2821
2821
|
}
|
|
2822
|
-
return (r, i) => (C(), l("div",
|
|
2822
|
+
return (r, i) => (C(), l("div", _r, [
|
|
2823
2823
|
u("div", {
|
|
2824
2824
|
class: v(["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", [t.disabled ? "cursor-not-allowed border-outline-variant/50 bg-surface-container/30 opacity-60" : h.value ? "border-primary bg-primary-container/20" : "border-outline-variant bg-surface-container-lowest hover:border-primary/60 hover:bg-surface-container"]]),
|
|
2825
2825
|
onClick: k,
|
|
@@ -2831,10 +2831,10 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2831
2831
|
name: h.value ? "downloading" : "cloud_upload",
|
|
2832
2832
|
size: 40,
|
|
2833
2833
|
class: "text-on-surface-variant"
|
|
2834
|
-
}, null, 8, ["name"]), u("div",
|
|
2835
|
-
t.accept ? (C(), l("span",
|
|
2836
|
-
t.accept && t.maxSize ? (C(), l("span",
|
|
2837
|
-
t.maxSize ? (C(), l("span",
|
|
2834
|
+
}, null, 8, ["name"]), u("div", vr, [i[3] ||= u("p", { class: "text-body-large text-on-surface" }, [f(" Arrastra archivos aquí o "), u("span", { class: "font-medium text-primary" }, "selecciona")], -1), t.accept || t.maxSize ? (C(), l("p", yr, [
|
|
2835
|
+
t.accept ? (C(), l("span", br, A(t.accept), 1)) : c("", !0),
|
|
2836
|
+
t.accept && t.maxSize ? (C(), l("span", xr, " · ")) : c("", !0),
|
|
2837
|
+
t.maxSize ? (C(), l("span", Sr, "Máx. " + A(x(t.maxSize)), 1)) : c("", !0)
|
|
2838
2838
|
])) : c("", !0)])], 34),
|
|
2839
2839
|
u("input", {
|
|
2840
2840
|
ref_key: "inputRef",
|
|
@@ -2845,7 +2845,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2845
2845
|
multiple: t.multiple,
|
|
2846
2846
|
disabled: t.disabled,
|
|
2847
2847
|
onChange: D
|
|
2848
|
-
}, null, 40,
|
|
2848
|
+
}, null, 40, Cr),
|
|
2849
2849
|
p(a, {
|
|
2850
2850
|
name: "m3-file",
|
|
2851
2851
|
tag: "div",
|
|
@@ -2855,20 +2855,20 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2855
2855
|
key: t.id,
|
|
2856
2856
|
class: "flex items-center gap-3 rounded-lg bg-surface-container p-3"
|
|
2857
2857
|
}, [
|
|
2858
|
-
u("div",
|
|
2858
|
+
u("div", wr, [t.preview ? (C(), l("img", {
|
|
2859
2859
|
key: 0,
|
|
2860
2860
|
src: t.preview,
|
|
2861
2861
|
class: "h-full w-full object-cover"
|
|
2862
|
-
}, null, 8,
|
|
2862
|
+
}, null, 8, Tr)) : (C(), s(e, {
|
|
2863
2863
|
key: 1,
|
|
2864
2864
|
name: "description",
|
|
2865
2865
|
size: 24,
|
|
2866
2866
|
class: "text-on-surface-variant"
|
|
2867
2867
|
}))]),
|
|
2868
|
-
u("div",
|
|
2869
|
-
u("p",
|
|
2870
|
-
u("p",
|
|
2871
|
-
t.status === "uploading" ? (C(), l("div",
|
|
2868
|
+
u("div", Er, [
|
|
2869
|
+
u("p", Dr, A(t.file.name), 1),
|
|
2870
|
+
u("p", Or, A(x(t.file.size)), 1),
|
|
2871
|
+
t.status === "uploading" ? (C(), l("div", kr, [u("div", {
|
|
2872
2872
|
class: "h-full rounded-full bg-primary transition-[width] duration-300",
|
|
2873
2873
|
style: y({ width: `${t.progress}%` })
|
|
2874
2874
|
}, null, 4)])) : c("", !0)
|
|
@@ -2898,7 +2898,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2898
2898
|
})
|
|
2899
2899
|
]));
|
|
2900
2900
|
}
|
|
2901
|
-
}), [["__scopeId", "data-v-34a862f0"]]),
|
|
2901
|
+
}), [["__scopeId", "data-v-34a862f0"]]), jr = /* @__PURE__ */ m({
|
|
2902
2902
|
__name: "MGrid",
|
|
2903
2903
|
props: {
|
|
2904
2904
|
cols: { default: 1 },
|
|
@@ -2974,13 +2974,13 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
2974
2974
|
]);
|
|
2975
2975
|
return (e, t) => (C(), l("div", { class: v(d.value) }, [D(e.$slots, "default")], 2));
|
|
2976
2976
|
}
|
|
2977
|
-
}),
|
|
2977
|
+
}), Mr = {
|
|
2978
2978
|
key: 0,
|
|
2979
2979
|
class: "flex flex-col gap-4"
|
|
2980
|
-
},
|
|
2980
|
+
}, Nr = {
|
|
2981
2981
|
key: 0,
|
|
2982
2982
|
class: "mb-2 text-label-small font-medium tracking-wide text-on-surface-variant uppercase"
|
|
2983
|
-
},
|
|
2983
|
+
}, Pr = { class: "flex flex-col gap-1" }, Fr = { class: "text-body-medium text-on-surface" }, Ir = { class: "flex items-center gap-0.5" }, Lr = /* @__PURE__ */ m({
|
|
2984
2984
|
__name: "MHotkeys",
|
|
2985
2985
|
props: {
|
|
2986
2986
|
bindings: {},
|
|
@@ -3037,21 +3037,21 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3037
3037
|
}
|
|
3038
3038
|
return e;
|
|
3039
3039
|
};
|
|
3040
|
-
return (t, r) => e.showOverlay ? (C(), l("div",
|
|
3040
|
+
return (t, r) => e.showOverlay ? (C(), l("div", Mr, [(C(!0), l(n, null, E(d(), ([e, t]) => (C(), l("div", { key: e }, [e ? (C(), l("p", Nr, A(e), 1)) : c("", !0), u("div", Pr, [(C(!0), l(n, null, E(t, (e) => (C(), l("div", {
|
|
3041
3041
|
key: e.keys,
|
|
3042
3042
|
class: v(["flex items-center justify-between rounded-lg px-3 py-2 transition-colors hover:bg-on-surface/4", e.disabled && "opacity-38"])
|
|
3043
|
-
}, [u("span",
|
|
3043
|
+
}, [u("span", Fr, A(e.label), 1), u("div", Ir, [(C(!0), l(n, null, E(e.keys.split("+"), (e, t) => (C(), l("kbd", {
|
|
3044
3044
|
key: t,
|
|
3045
3045
|
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"
|
|
3046
3046
|
}, A(i(e.trim())), 1))), 128))])], 2))), 128))])]))), 128))])) : c("", !0);
|
|
3047
3047
|
}
|
|
3048
|
-
}),
|
|
3048
|
+
}), Rr = {
|
|
3049
3049
|
key: 0,
|
|
3050
3050
|
class: "flex items-center gap-3"
|
|
3051
|
-
},
|
|
3051
|
+
}, zr = { class: "text-body-medium text-on-surface-variant" }, Br = {
|
|
3052
3052
|
key: 1,
|
|
3053
3053
|
class: "text-body-small text-on-surface-variant"
|
|
3054
|
-
},
|
|
3054
|
+
}, Vr = /* @__PURE__ */ m({
|
|
3055
3055
|
__name: "MInfiniteScroll",
|
|
3056
3056
|
props: {
|
|
3057
3057
|
loading: {
|
|
@@ -3082,30 +3082,30 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3082
3082
|
ref_key: "sentinelRef",
|
|
3083
3083
|
ref: i,
|
|
3084
3084
|
class: "flex items-center justify-center py-4"
|
|
3085
|
-
}, [e.loading ? (C(), l("div",
|
|
3085
|
+
}, [e.loading ? (C(), l("div", Rr, [p(Be, {
|
|
3086
3086
|
size: 20,
|
|
3087
3087
|
class: "text-primary"
|
|
3088
|
-
}), u("span",
|
|
3088
|
+
}), u("span", zr, A(e.loadingText), 1)])) : e.ended ? (C(), l("p", Br, A(e.endText), 1)) : D(t.$slots, "idle", { key: 2 })], 512)]));
|
|
3089
3089
|
}
|
|
3090
|
-
}),
|
|
3090
|
+
}), Hr = {
|
|
3091
3091
|
key: 0,
|
|
3092
3092
|
class: "text-tertiary"
|
|
3093
|
-
},
|
|
3093
|
+
}, Ur = { class: "text-on-surface-variant" }, Wr = {
|
|
3094
3094
|
key: 1,
|
|
3095
3095
|
class: "text-on-surface-variant/60"
|
|
3096
|
-
},
|
|
3096
|
+
}, Gr = {
|
|
3097
3097
|
key: 2,
|
|
3098
3098
|
class: "text-on-surface-variant"
|
|
3099
|
-
},
|
|
3099
|
+
}, Kr = {
|
|
3100
3100
|
key: 0,
|
|
3101
3101
|
class: "ml-5 border-l border-outline-variant/40 pl-2"
|
|
3102
|
-
},
|
|
3102
|
+
}, qr = { class: "shrink-0 text-primary" }, Jr = {
|
|
3103
3103
|
key: 0,
|
|
3104
3104
|
class: "shrink-0 text-on-surface-variant mr-1"
|
|
3105
|
-
},
|
|
3105
|
+
}, Yr = {
|
|
3106
3106
|
key: 1,
|
|
3107
3107
|
class: "ml-5 text-on-surface-variant"
|
|
3108
|
-
},
|
|
3108
|
+
}, Xr = /* @__PURE__ */ m({
|
|
3109
3109
|
__name: "MJsonViewer",
|
|
3110
3110
|
props: {
|
|
3111
3111
|
data: {},
|
|
@@ -3138,7 +3138,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3138
3138
|
return C(), l("div", { class: v(["font-mono text-body-small leading-relaxed", { "rounded-lg border border-outline-variant bg-surface-container-lowest p-3": t._depth === 0 }]) }, [d.value ? (C(), l(n, { key: 0 }, [
|
|
3139
3139
|
u("button", {
|
|
3140
3140
|
type: "button",
|
|
3141
|
-
class: "group inline-flex cursor-pointer items-center gap-0.5 rounded px-0.5 hover:bg-on-surface/
|
|
3141
|
+
class: "group inline-flex cursor-pointer items-center gap-0.5 rounded px-0.5 hover:bg-on-surface/6",
|
|
3142
3142
|
onClick: o[0] ||= (e) => i.value = !i.value
|
|
3143
3143
|
}, [
|
|
3144
3144
|
p(e, {
|
|
@@ -3146,17 +3146,17 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3146
3146
|
size: 16,
|
|
3147
3147
|
class: "text-on-surface-variant transition-transform duration-100"
|
|
3148
3148
|
}, null, 8, ["name"]),
|
|
3149
|
-
t._depth === 0 || t.rootName ? (C(), l("span",
|
|
3150
|
-
u("span",
|
|
3151
|
-
i.value ? c("", !0) : (C(), l("span",
|
|
3152
|
-
i.value ? c("", !0) : (C(), l("span",
|
|
3149
|
+
t._depth === 0 || t.rootName ? (C(), l("span", Hr, A(t._depth === 0 ? t.rootName : ""), 1)) : c("", !0),
|
|
3150
|
+
u("span", Ur, A(h.value), 1),
|
|
3151
|
+
i.value ? c("", !0) : (C(), l("span", Wr, A(m.value) + " " + A(a.value === "array" ? "elementos" : "campos"), 1)),
|
|
3152
|
+
i.value ? c("", !0) : (C(), l("span", Gr, A(g.value), 1))
|
|
3153
3153
|
]),
|
|
3154
|
-
i.value ? (C(), l("div",
|
|
3154
|
+
i.value ? (C(), l("div", Kr, [(C(!0), l(n, null, E(f.value, (e) => (C(), l("div", {
|
|
3155
3155
|
key: e.key,
|
|
3156
3156
|
class: "flex items-start"
|
|
3157
3157
|
}, [
|
|
3158
|
-
u("span",
|
|
3159
|
-
a.value === "array" ? c("", !0) : (C(), l("span",
|
|
3158
|
+
u("span", qr, A(a.value === "array" ? "" : `"${e.key}"`), 1),
|
|
3159
|
+
a.value === "array" ? c("", !0) : (C(), l("span", Jr, ":")),
|
|
3160
3160
|
e.value !== null && typeof e.value == "object" ? (C(), s(b, {
|
|
3161
3161
|
key: 1,
|
|
3162
3162
|
data: e.value,
|
|
@@ -3173,21 +3173,21 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3173
3173
|
class: v(_(e.value))
|
|
3174
3174
|
}, A(y(e.value)), 3))
|
|
3175
3175
|
]))), 128))])) : c("", !0),
|
|
3176
|
-
i.value ? (C(), l("span",
|
|
3176
|
+
i.value ? (C(), l("span", Yr, A(g.value), 1)) : c("", !0)
|
|
3177
3177
|
], 64)) : (C(), l("span", {
|
|
3178
3178
|
key: 1,
|
|
3179
3179
|
class: v(_(t.data))
|
|
3180
3180
|
}, A(y(t.data)), 3))], 2);
|
|
3181
3181
|
};
|
|
3182
3182
|
}
|
|
3183
|
-
}),
|
|
3183
|
+
}), Zr = { class: "flex gap-4 overflow-x-auto pb-2" }, Qr = ["onDragover", "onDrop"], $r = { class: "flex items-center gap-2 px-4 py-3" }, ei = { class: "flex-1 text-title-small font-medium text-on-surface" }, ti = { class: "rounded-full bg-surface-container-high px-2 py-0.5 text-label-small text-on-surface-variant" }, ni = { class: "flex min-h-[60px] flex-1 flex-col gap-2 px-3 pb-3" }, ri = [
|
|
3184
3184
|
"onDragstart",
|
|
3185
3185
|
"onDragover",
|
|
3186
3186
|
"onClick"
|
|
3187
|
-
],
|
|
3187
|
+
], ii = { class: "text-body-medium text-on-surface" }, ai = {
|
|
3188
3188
|
key: 0,
|
|
3189
3189
|
class: "flex flex-1 items-center justify-center rounded-lg border border-dashed border-outline-variant/50 p-4"
|
|
3190
|
-
},
|
|
3190
|
+
}, oi = /* @__PURE__ */ m({
|
|
3191
3191
|
__name: "MKanban",
|
|
3192
3192
|
props: { modelValue: {} },
|
|
3193
3193
|
emits: [
|
|
@@ -3246,20 +3246,20 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3246
3246
|
function g() {
|
|
3247
3247
|
a.value = null, o.value = null, s.value = null;
|
|
3248
3248
|
}
|
|
3249
|
-
return (t, r) => (C(), l("div",
|
|
3249
|
+
return (t, r) => (C(), l("div", Zr, [(C(!0), l(n, null, E(e.modelValue, (e) => (C(), l("div", {
|
|
3250
3250
|
key: e.id,
|
|
3251
3251
|
class: v(["flex w-72 shrink-0 flex-col rounded-xl bg-surface-container-low", o.value === e.id && a.value ? "ring-2 ring-primary ring-inset" : ""]),
|
|
3252
3252
|
onDragover: (t) => p(t, e.id),
|
|
3253
3253
|
onDragleave: r[0] ||= (e) => o.value = null,
|
|
3254
3254
|
onDrop: (t) => h(t, e.id)
|
|
3255
|
-
}, [u("div",
|
|
3255
|
+
}, [u("div", $r, [
|
|
3256
3256
|
e.color ? (C(), l("div", {
|
|
3257
3257
|
key: 0,
|
|
3258
3258
|
class: v(["h-2.5 w-2.5 rounded-full", d[e.color] ?? "bg-primary"])
|
|
3259
3259
|
}, null, 2)) : c("", !0),
|
|
3260
|
-
u("h3",
|
|
3261
|
-
u("span",
|
|
3262
|
-
]), u("div",
|
|
3260
|
+
u("h3", ei, A(e.title), 1),
|
|
3261
|
+
u("span", ti, A(e.cards.length), 1)
|
|
3262
|
+
]), u("div", ni, [(C(!0), l(n, null, E(e.cards, (n, r) => (C(), l("div", {
|
|
3263
3263
|
key: n.id,
|
|
3264
3264
|
draggable: "true",
|
|
3265
3265
|
class: v(["cursor-grab rounded-lg bg-surface p-3 shadow-elevation-1 transition-all duration-150 active:cursor-grabbing", [a.value?.cardId === n.id ? "opacity-30" : "hover:shadow-elevation-2", s.value === r && o.value === e.id && a.value ? "border-t-2 border-primary" : ""]]),
|
|
@@ -3273,18 +3273,18 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3273
3273
|
}, [D(t.$slots, "card", {
|
|
3274
3274
|
card: n,
|
|
3275
3275
|
column: e
|
|
3276
|
-
}, () => [u("p",
|
|
3276
|
+
}, () => [u("p", ii, A(n.id), 1)])], 42, ri))), 128)), e.cards.length === 0 ? (C(), l("div", ai, [...r[1] ||= [u("p", { class: "text-body-small text-on-surface-variant/60" }, "Sin tarjetas", -1)]])) : c("", !0)])], 42, Qr))), 128))]));
|
|
3277
3277
|
}
|
|
3278
|
-
}),
|
|
3278
|
+
}), si = {
|
|
3279
3279
|
key: 0,
|
|
3280
3280
|
class: "text-body-large text-on-surface-variant"
|
|
3281
|
-
},
|
|
3281
|
+
}, ci = {
|
|
3282
3282
|
key: 1,
|
|
3283
3283
|
class: "relative"
|
|
3284
|
-
},
|
|
3284
|
+
}, li = {
|
|
3285
3285
|
key: 0,
|
|
3286
3286
|
class: "text-body-medium text-on-surface-variant"
|
|
3287
|
-
},
|
|
3287
|
+
}, ui = /* @__PURE__ */ m({
|
|
3288
3288
|
__name: "MLoadingOverlay",
|
|
3289
3289
|
props: {
|
|
3290
3290
|
visible: { type: Boolean },
|
|
@@ -3311,17 +3311,17 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3311
3311
|
}, {
|
|
3312
3312
|
default: L(() => [e.visible ? (C(), l("div", {
|
|
3313
3313
|
key: 0,
|
|
3314
|
-
class: v(["fixed inset-0 z-
|
|
3314
|
+
class: v(["fixed inset-0 z-300 flex flex-col items-center justify-center gap-4", e.opaque ? "bg-surface" : "bg-surface/80 backdrop-blur-sm"])
|
|
3315
3315
|
}, [
|
|
3316
3316
|
p(Be, {
|
|
3317
3317
|
size: e.spinnerSize,
|
|
3318
3318
|
class: "text-primary"
|
|
3319
3319
|
}, null, 8, ["size"]),
|
|
3320
|
-
e.text ? (C(), l("p",
|
|
3320
|
+
e.text ? (C(), l("p", si, A(e.text), 1)) : c("", !0),
|
|
3321
3321
|
D(t.$slots, "default")
|
|
3322
3322
|
], 2)) : c("", !0)]),
|
|
3323
3323
|
_: 3
|
|
3324
|
-
})])) : (C(), l("div",
|
|
3324
|
+
})])) : (C(), l("div", ci, [D(t.$slots, "content"), p(i, {
|
|
3325
3325
|
"enter-active-class": "transition-opacity duration-200",
|
|
3326
3326
|
"enter-from-class": "opacity-0",
|
|
3327
3327
|
"leave-active-class": "transition-opacity duration-150",
|
|
@@ -3335,13 +3335,13 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3335
3335
|
size: e.spinnerSize,
|
|
3336
3336
|
class: "text-primary"
|
|
3337
3337
|
}, null, 8, ["size"]),
|
|
3338
|
-
e.text ? (C(), l("p",
|
|
3338
|
+
e.text ? (C(), l("p", li, A(e.text), 1)) : c("", !0),
|
|
3339
3339
|
D(t.$slots, "default")
|
|
3340
3340
|
], 2)) : c("", !0)]),
|
|
3341
3341
|
_: 3
|
|
3342
3342
|
})]));
|
|
3343
3343
|
}
|
|
3344
|
-
}),
|
|
3344
|
+
}), di = /* @__PURE__ */ m({
|
|
3345
3345
|
__name: "MMasonry",
|
|
3346
3346
|
props: {
|
|
3347
3347
|
cols: { default: 2 },
|
|
@@ -3392,7 +3392,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3392
3392
|
class: "relative w-full"
|
|
3393
3393
|
}, [D(e.$slots, "default")], 512));
|
|
3394
3394
|
}
|
|
3395
|
-
}),
|
|
3395
|
+
}), fi = /* @__PURE__ */ m({
|
|
3396
3396
|
__name: "MMenu",
|
|
3397
3397
|
props: { align: { default: "right" } },
|
|
3398
3398
|
setup(e, { expose: t }) {
|
|
@@ -3451,7 +3451,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3451
3451
|
key: 0,
|
|
3452
3452
|
ref_key: "dropdownEl",
|
|
3453
3453
|
ref: m,
|
|
3454
|
-
class: "fixed z-
|
|
3454
|
+
class: "fixed z-500 min-w-48 overflow-y-auto overflow-x-hidden rounded-xs bg-surface-container py-1 shadow-elevation-2",
|
|
3455
3455
|
style: y({
|
|
3456
3456
|
...h.value,
|
|
3457
3457
|
transformOrigin: O.value
|
|
@@ -3461,7 +3461,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3461
3461
|
_: 3
|
|
3462
3462
|
})]))], 64));
|
|
3463
3463
|
}
|
|
3464
|
-
}),
|
|
3464
|
+
}), pi = /* @__PURE__ */ m({
|
|
3465
3465
|
__name: "MMenuItem",
|
|
3466
3466
|
props: {
|
|
3467
3467
|
icon: {},
|
|
@@ -3483,35 +3483,35 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3483
3483
|
_: 3
|
|
3484
3484
|
}, 8, ["to", "type"]));
|
|
3485
3485
|
}
|
|
3486
|
-
}),
|
|
3486
|
+
}), mi = { class: "flex flex-col gap-1" }, hi = {
|
|
3487
3487
|
key: 0,
|
|
3488
3488
|
class: "pointer-events-none absolute left-3.5 top-1/2 -translate-y-1/2 text-on-surface-variant"
|
|
3489
|
-
},
|
|
3489
|
+
}, gi = [
|
|
3490
3490
|
"id",
|
|
3491
3491
|
"tabindex",
|
|
3492
3492
|
"aria-expanded"
|
|
3493
|
-
],
|
|
3493
|
+
], _i = ["onClick"], vi = {
|
|
3494
3494
|
key: 0,
|
|
3495
3495
|
class: "rounded-full bg-surface-container-high px-2 py-0.5 text-label-small text-on-surface-variant"
|
|
3496
|
-
},
|
|
3496
|
+
}, yi = {
|
|
3497
3497
|
key: 1,
|
|
3498
3498
|
class: "text-body-large text-on-surface-variant opacity-0"
|
|
3499
|
-
},
|
|
3499
|
+
}, bi = {
|
|
3500
3500
|
key: 0,
|
|
3501
3501
|
class: "text-error"
|
|
3502
|
-
},
|
|
3502
|
+
}, xi = { class: "pointer-events-none absolute right-2 top-7 -translate-y-1/2" }, Si = {
|
|
3503
3503
|
key: 0,
|
|
3504
3504
|
class: "px-4 text-body-small text-error"
|
|
3505
|
-
},
|
|
3505
|
+
}, Ci = {
|
|
3506
3506
|
key: 1,
|
|
3507
3507
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
3508
|
-
},
|
|
3508
|
+
}, wi = {
|
|
3509
3509
|
key: 0,
|
|
3510
3510
|
class: "sticky top-0 bg-surface-container px-3 py-2"
|
|
3511
|
-
},
|
|
3511
|
+
}, Ti = { class: "flex items-center gap-2 rounded-full bg-surface-container-high px-3 py-1.5" }, Ei = { class: "flex flex-col py-1" }, Di = { class: "text-body-large text-on-surface" }, Oi = {
|
|
3512
3512
|
key: 0,
|
|
3513
3513
|
class: "px-4 py-3 text-center text-body-small text-on-surface-variant"
|
|
3514
|
-
},
|
|
3514
|
+
}, ki = /* @__PURE__ */ m({
|
|
3515
3515
|
__name: "MMultiSelect",
|
|
3516
3516
|
props: {
|
|
3517
3517
|
modelValue: { default: () => [] },
|
|
@@ -3616,13 +3616,13 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3616
3616
|
g.value ? d.error ? "text-error" : "text-primary" : d.error ? "text-error" : "text-on-surface-variant"
|
|
3617
3617
|
].join(" ");
|
|
3618
3618
|
});
|
|
3619
|
-
return (a, o) => (C(), l(n, null, [u("div",
|
|
3619
|
+
return (a, o) => (C(), l(n, null, [u("div", mi, [u("div", {
|
|
3620
3620
|
ref_key: "fieldEl",
|
|
3621
3621
|
ref: w,
|
|
3622
3622
|
class: v(["relative", t.variant === "outlined" ? "mt-2" : ""]),
|
|
3623
3623
|
style: y(t.variant === "outlined" ? { "--field-bg": j(D) } : void 0)
|
|
3624
3624
|
}, [
|
|
3625
|
-
t.leadingIcon ? (C(), l("div",
|
|
3625
|
+
t.leadingIcon ? (C(), l("div", hi, [p(e, {
|
|
3626
3626
|
name: t.leadingIcon,
|
|
3627
3627
|
size: 20
|
|
3628
3628
|
}, null, 8, ["name"])])) : c("", !0),
|
|
@@ -3649,14 +3649,14 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3649
3649
|
}, [p(e, {
|
|
3650
3650
|
name: "close",
|
|
3651
3651
|
size: 12
|
|
3652
|
-
})], 8,
|
|
3653
|
-
u("label", { class: v(X.value) }, [f(A(t.label), 1), t.required ? (C(), l("span",
|
|
3654
|
-
u("div",
|
|
3652
|
+
})], 8, _i)]))), 128)), H.value > 0 ? (C(), l("span", vi, " +" + A(H.value), 1)) : c("", !0)], 64)) : g.value ? c("", !0) : (C(), l("span", yi, A(t.placeholder), 1))], 42, gi),
|
|
3653
|
+
u("label", { class: v(X.value) }, [f(A(t.label), 1), t.required ? (C(), l("span", bi, "\xA0*")) : c("", !0)], 2),
|
|
3654
|
+
u("div", xi, [p(e, {
|
|
3655
3655
|
name: g.value ? "arrow_drop_up" : "arrow_drop_down",
|
|
3656
3656
|
size: 24,
|
|
3657
3657
|
class: "text-on-surface-variant"
|
|
3658
3658
|
}, null, 8, ["name"])])
|
|
3659
|
-
], 6), t.error ? (C(), l("p",
|
|
3659
|
+
], 6), t.error ? (C(), l("p", Si, A(t.error), 1)) : t.hint ? (C(), l("p", Ci, A(t.hint), 1)) : c("", !0)]), (C(), s(r, { to: "body" }, [p(i, {
|
|
3660
3660
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
3661
3661
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
3662
3662
|
"enter-to-class": "opacity-100 translate-y-0 scale-100",
|
|
@@ -3668,9 +3668,9 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3668
3668
|
key: 0,
|
|
3669
3669
|
ref_key: "dropdownEl",
|
|
3670
3670
|
ref: O,
|
|
3671
|
-
class: "fixed z-
|
|
3671
|
+
class: "fixed z-500 max-h-60 overflow-auto rounded-sm bg-surface-container shadow-elevation-2",
|
|
3672
3672
|
style: y(N.value)
|
|
3673
|
-
}, [t.searchable ? (C(), l("div",
|
|
3673
|
+
}, [t.searchable ? (C(), l("div", wi, [u("div", Ti, [p(e, {
|
|
3674
3674
|
name: "search",
|
|
3675
3675
|
size: 16,
|
|
3676
3676
|
class: "shrink-0 text-on-surface-variant"
|
|
@@ -3681,7 +3681,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3681
3681
|
type: "text",
|
|
3682
3682
|
placeholder: "Buscar...",
|
|
3683
3683
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant"
|
|
3684
|
-
}, null, 512), [[P, b.value]])])])) : c("", !0), u("div",
|
|
3684
|
+
}, null, 512), [[P, b.value]])])])) : c("", !0), u("div", Ei, [(C(!0), l(n, null, E(I.value, (e) => (C(), l("label", {
|
|
3685
3685
|
key: e.value,
|
|
3686
3686
|
class: v(["flex cursor-pointer items-center gap-3 px-4 py-2 hover:bg-on-surface/8", e.disabled ? "cursor-not-allowed opacity-38" : ""])
|
|
3687
3687
|
}, [p(Q, {
|
|
@@ -3692,11 +3692,11 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3692
3692
|
"model-value",
|
|
3693
3693
|
"disabled",
|
|
3694
3694
|
"onUpdate:modelValue"
|
|
3695
|
-
]), u("span",
|
|
3695
|
+
]), u("span", Di, A(e.label), 1)], 2))), 128)), I.value.length === 0 ? (C(), l("p", Oi, " Sin resultados ")) : c("", !0)])], 4)) : c("", !0)]),
|
|
3696
3696
|
_: 1
|
|
3697
3697
|
})]))], 64));
|
|
3698
3698
|
}
|
|
3699
|
-
}),
|
|
3699
|
+
}), Ai = { class: "flex h-20 w-full items-center justify-around border-t border-outline-variant bg-surface-container" }, ji = ["onClick"], Mi = /* @__PURE__ */ m({
|
|
3700
3700
|
__name: "MNavigationBar",
|
|
3701
3701
|
props: {
|
|
3702
3702
|
modelValue: {},
|
|
@@ -3704,7 +3704,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3704
3704
|
},
|
|
3705
3705
|
emits: ["update:modelValue"],
|
|
3706
3706
|
setup(t) {
|
|
3707
|
-
return (r, i) => (C(), l("nav",
|
|
3707
|
+
return (r, i) => (C(), l("nav", Ai, [(C(!0), l(n, null, E(t.items, (n) => (C(), l("button", {
|
|
3708
3708
|
key: n.value,
|
|
3709
3709
|
type: "button",
|
|
3710
3710
|
class: v(["group flex flex-1 cursor-pointer flex-col items-center justify-center gap-1 self-stretch transition-colors focus-visible:outline-none", n.value === t.modelValue ? "text-on-secondary-container" : "text-on-surface-variant"]),
|
|
@@ -3731,45 +3731,45 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3731
3731
|
size: 24
|
|
3732
3732
|
}, null, 8, ["name"])]),
|
|
3733
3733
|
_: 2
|
|
3734
|
-
}, 1032, ["count"]))], 2), u("span", { class: v(["text-label-medium transition-[font-weight] duration-150", n.value === t.modelValue ? "font-bold" : "font-medium"]) }, A(n.label), 3)], 10,
|
|
3734
|
+
}, 1032, ["count"]))], 2), u("span", { class: v(["text-label-medium transition-[font-weight] duration-150", n.value === t.modelValue ? "font-bold" : "font-medium"]) }, A(n.label), 3)], 10, ji))), 128))]));
|
|
3735
3735
|
}
|
|
3736
|
-
}),
|
|
3736
|
+
}), Ni = {
|
|
3737
3737
|
key: 0,
|
|
3738
|
-
class: "fixed inset-0 z-
|
|
3739
|
-
},
|
|
3738
|
+
class: "fixed inset-0 z-100 flex"
|
|
3739
|
+
}, Pi = { class: "nd-panel relative flex h-full w-72 max-w-[85vw] flex-col bg-surface-container shadow-elevation-3" }, Fi = {
|
|
3740
3740
|
key: 0,
|
|
3741
3741
|
class: "shrink-0 px-5 pt-6 pb-2"
|
|
3742
|
-
},
|
|
3742
|
+
}, Ii = { class: "text-title-small font-medium text-on-surface-variant" }, Li = { class: "flex-1 overflow-y-auto px-3 py-2" }, Ri = {
|
|
3743
3743
|
key: 0,
|
|
3744
3744
|
class: "my-1 border-t border-outline-variant"
|
|
3745
|
-
},
|
|
3745
|
+
}, zi = ["onClick"], Bi = { class: "flex-1 text-left text-title-small font-medium" }, Vi = {
|
|
3746
3746
|
key: 2,
|
|
3747
3747
|
class: "px-4 pt-4 pb-2 text-title-small font-medium text-on-surface-variant"
|
|
3748
|
-
},
|
|
3748
|
+
}, Hi = {
|
|
3749
3749
|
key: 0,
|
|
3750
3750
|
class: "nd-section-grid"
|
|
3751
|
-
},
|
|
3751
|
+
}, Ui = { class: "nd-section-body" }, Wi = { class: "flex-1 text-label-large font-medium" }, Gi = {
|
|
3752
3752
|
key: 1,
|
|
3753
3753
|
class: "text-label-medium text-on-surface-variant"
|
|
3754
|
-
},
|
|
3754
|
+
}, Ki = {
|
|
3755
3755
|
key: 0,
|
|
3756
3756
|
class: "shrink-0"
|
|
3757
|
-
},
|
|
3757
|
+
}, qi = {
|
|
3758
3758
|
key: 1,
|
|
3759
3759
|
class: "nd-collapse-h shrink-0 overflow-hidden"
|
|
3760
|
-
},
|
|
3760
|
+
}, Ji = { class: "px-5 pt-6 pb-2" }, Yi = { class: "whitespace-nowrap text-title-small font-medium text-on-surface-variant" }, Xi = { class: "flex flex-col gap-1 overflow-y-auto overflow-x-hidden px-3 py-2" }, Zi = {
|
|
3761
3761
|
key: 0,
|
|
3762
3762
|
class: "my-1 border-t border-outline-variant"
|
|
3763
|
-
},
|
|
3763
|
+
}, Qi = ["title", "onClick"], $i = { class: "nd-label min-w-0 flex-1 text-left text-title-small font-medium" }, ea = {
|
|
3764
3764
|
key: 2,
|
|
3765
3765
|
class: "nd-collapse-h overflow-hidden"
|
|
3766
|
-
},
|
|
3766
|
+
}, ta = { class: "whitespace-nowrap px-4 pt-4 pb-2 text-title-small font-medium text-on-surface-variant" }, na = {
|
|
3767
3767
|
key: 0,
|
|
3768
3768
|
class: "nd-section-grid"
|
|
3769
|
-
},
|
|
3769
|
+
}, ra = { class: "nd-section-body" }, ia = { class: "nd-label min-w-0 flex-1 text-label-large font-medium" }, aa = {
|
|
3770
3770
|
key: 1,
|
|
3771
|
-
class: "text-label-medium text-on-surface-variant"
|
|
3772
|
-
},
|
|
3771
|
+
class: "nd-label text-label-medium text-on-surface-variant"
|
|
3772
|
+
}, oa = /*#__PURE__*/ t(/* @__PURE__ */ m({
|
|
3773
3773
|
__name: "MNavigationDrawer",
|
|
3774
3774
|
props: {
|
|
3775
3775
|
modelValue: { type: Boolean },
|
|
@@ -3814,11 +3814,11 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3814
3814
|
leave: 280
|
|
3815
3815
|
}
|
|
3816
3816
|
}, {
|
|
3817
|
-
default: L(() => [t.modelValue ? (C(), l("div",
|
|
3817
|
+
default: L(() => [t.modelValue ? (C(), l("div", Ni, [u("div", {
|
|
3818
3818
|
class: "nd-scrim absolute inset-0 bg-black/40",
|
|
3819
3819
|
onClick: g
|
|
3820
|
-
}), u("nav",
|
|
3821
|
-
a > 0 ? (C(), l("div",
|
|
3820
|
+
}), u("nav", Pi, [t.title || a.$slots.header ? (C(), l("div", Fi, [D(a.$slots, "header", {}, () => [u("h2", Ii, A(t.title), 1)], !0)])) : c("", !0), u("div", Li, [(C(!0), l(n, null, E(t.sections, (r, a) => (C(), l(n, { key: a }, [
|
|
3821
|
+
a > 0 ? (C(), l("div", Ri)) : c("", !0),
|
|
3822
3822
|
r.title && r.collapsible ? (C(), l("button", {
|
|
3823
3823
|
key: 1,
|
|
3824
3824
|
type: "button",
|
|
@@ -3831,15 +3831,15 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3831
3831
|
size: 24,
|
|
3832
3832
|
class: "shrink-0"
|
|
3833
3833
|
}, null, 8, ["name"])) : c("", !0),
|
|
3834
|
-
u("span",
|
|
3834
|
+
u("span", Bi, A(r.title), 1),
|
|
3835
3835
|
p(e, {
|
|
3836
3836
|
name: m(r, a) ? "expand_less" : "expand_more",
|
|
3837
3837
|
size: 18,
|
|
3838
3838
|
class: "shrink-0"
|
|
3839
3839
|
}, null, 8, ["name"])
|
|
3840
|
-
], 8,
|
|
3840
|
+
], 8, zi)) : r.title ? (C(), l("p", Vi, A(r.title), 1)) : c("", !0),
|
|
3841
3841
|
p(i, { name: "nd-section" }, {
|
|
3842
|
-
default: L(() => [!r.collapsible || m(r, a) ? (C(), l("div",
|
|
3842
|
+
default: L(() => [!r.collapsible || m(r, a) ? (C(), l("div", Hi, [u("div", Ui, [(C(!0), l(n, null, E(r.items, (n) => (C(), s(k(y(n)), {
|
|
3843
3843
|
key: n.value,
|
|
3844
3844
|
to: n.to && !n.disabled ? n.to : void 0,
|
|
3845
3845
|
type: n.to ? void 0 : "button",
|
|
@@ -3853,8 +3853,8 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3853
3853
|
name: n.icon,
|
|
3854
3854
|
size: 24
|
|
3855
3855
|
}, null, 8, ["name"])) : c("", !0),
|
|
3856
|
-
u("span",
|
|
3857
|
-
n.badge == null ? c("", !0) : (C(), l("span",
|
|
3856
|
+
u("span", Wi, A(n.label), 1),
|
|
3857
|
+
n.badge == null ? c("", !0) : (C(), l("span", Gi, A(n.badge), 1))
|
|
3858
3858
|
]),
|
|
3859
3859
|
_: 2
|
|
3860
3860
|
}, 1032, [
|
|
@@ -3870,13 +3870,13 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3870
3870
|
_: 3
|
|
3871
3871
|
})])) : (C(), l("nav", {
|
|
3872
3872
|
key: 1,
|
|
3873
|
-
class: v(["nd-inline flex h-full shrink-0 flex-col border-r border-outline-variant bg-surface", t.collapsed ? "nd-collapsed w-[72px]" : "w-72"])
|
|
3874
|
-
}, [a.$slots.header ? (C(), l("div",
|
|
3875
|
-
a > 0 ? (C(), l("div",
|
|
3873
|
+
class: v(["nd-inline flex h-full shrink-0 flex-col border-r border-outline-variant bg-surface", [t.modelValue ? t.collapsed ? "nd-collapsed w-[72px]" : "w-72" : "nd-hidden w-0 border-r-0"]])
|
|
3874
|
+
}, [a.$slots.header ? (C(), l("div", Ki, [D(a.$slots, "header", {}, void 0, !0)])) : t.title ? (C(), l("div", qi, [u("div", Ji, [u("h2", Yi, A(t.title), 1)])])) : c("", !0), u("div", Xi, [(C(!0), l(n, null, E(t.sections, (r, a) => (C(), l(n, { key: a }, [
|
|
3875
|
+
a > 0 ? (C(), l("div", Zi)) : c("", !0),
|
|
3876
3876
|
r.title && r.collapsible ? (C(), l("button", {
|
|
3877
3877
|
key: 1,
|
|
3878
3878
|
type: "button",
|
|
3879
|
-
class: "mt-1 flex w-full cursor-pointer items-center gap-3 overflow-hidden whitespace-nowrap rounded-xl px-3 py-2.5 text-on-surface-variant hover:bg-on-surface/8",
|
|
3879
|
+
class: "mt-1 flex w-full shrink-0 cursor-pointer items-center gap-3 overflow-hidden whitespace-nowrap rounded-xl px-3 py-2.5 text-on-surface-variant hover:bg-on-surface/8",
|
|
3880
3880
|
title: t.collapsed ? r.title : void 0,
|
|
3881
3881
|
onClick: (e) => h(r, a)
|
|
3882
3882
|
}, [
|
|
@@ -3886,20 +3886,20 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3886
3886
|
size: 24,
|
|
3887
3887
|
class: "shrink-0"
|
|
3888
3888
|
}, null, 8, ["name"])) : c("", !0),
|
|
3889
|
-
u("span",
|
|
3889
|
+
u("span", $i, A(r.title), 1),
|
|
3890
3890
|
p(e, {
|
|
3891
3891
|
name: m(r, a) ? "expand_less" : "expand_more",
|
|
3892
3892
|
size: 18,
|
|
3893
|
-
class: "shrink-0"
|
|
3893
|
+
class: "nd-label shrink-0"
|
|
3894
3894
|
}, null, 8, ["name"])
|
|
3895
|
-
], 8,
|
|
3895
|
+
], 8, Qi)) : r.title ? (C(), l("div", ea, [u("p", ta, A(r.title), 1)])) : c("", !0),
|
|
3896
3896
|
p(i, { name: "nd-section" }, {
|
|
3897
|
-
default: L(() => [!r.collapsible || m(r, a) ? (C(), l("div",
|
|
3897
|
+
default: L(() => [!r.collapsible || m(r, a) ? (C(), l("div", na, [u("div", ra, [(C(!0), l(n, null, E(r.items, (n) => (C(), s(k(y(n)), {
|
|
3898
3898
|
key: n.value,
|
|
3899
3899
|
to: n.to && !n.disabled ? n.to : void 0,
|
|
3900
3900
|
type: n.to ? void 0 : "button",
|
|
3901
3901
|
title: t.collapsed ? n.label : void 0,
|
|
3902
|
-
class: v(["flex w-full items-center gap-3 overflow-hidden whitespace-nowrap rounded-full py-2.5 text-left focus-visible:outline-none", [r.collapsible && !t.collapsed ? "pl-8 pr-3" : "px-3", n.disabled ? "cursor-not-allowed opacity-[0.38]" : n.value === t.selected ? "bg-secondary-container text-on-secondary-container" : "cursor-pointer text-on-surface-variant hover:bg-on-surface/8"]]),
|
|
3902
|
+
class: v(["flex w-full shrink-0 items-center gap-3 overflow-hidden whitespace-nowrap rounded-full py-2.5 text-left focus-visible:outline-none", [r.collapsible && !t.collapsed ? "pl-8 pr-3" : "px-3", n.disabled ? "cursor-not-allowed opacity-[0.38]" : n.value === t.selected ? "bg-secondary-container text-on-secondary-container" : "cursor-pointer text-on-surface-variant hover:bg-on-surface/8"]]),
|
|
3903
3903
|
disabled: n.disabled && !n.to,
|
|
3904
3904
|
onClick: (e) => _(n)
|
|
3905
3905
|
}, {
|
|
@@ -3910,8 +3910,8 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3910
3910
|
size: 24,
|
|
3911
3911
|
class: "shrink-0"
|
|
3912
3912
|
}, null, 8, ["name"])) : c("", !0),
|
|
3913
|
-
u("span",
|
|
3914
|
-
n.badge == null ? c("", !0) : (C(), l("span",
|
|
3913
|
+
u("span", ia, A(n.label), 1),
|
|
3914
|
+
n.badge == null ? c("", !0) : (C(), l("span", aa, A(n.badge), 1))
|
|
3915
3915
|
]),
|
|
3916
3916
|
_: 2
|
|
3917
3917
|
}, 1032, [
|
|
@@ -3926,10 +3926,10 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3926
3926
|
}, 1024)
|
|
3927
3927
|
], 64))), 128))])], 2));
|
|
3928
3928
|
}
|
|
3929
|
-
}), [["__scopeId", "data-v-
|
|
3929
|
+
}), [["__scopeId", "data-v-a5cf49d0"]]), sa = { class: "flex h-full w-20 flex-col items-center border-r border-outline-variant bg-surface" }, ca = {
|
|
3930
3930
|
key: 0,
|
|
3931
3931
|
class: "flex shrink-0 items-center justify-center pt-3 pb-2"
|
|
3932
|
-
},
|
|
3932
|
+
}, la = ["disabled", "onClick"], ua = /* @__PURE__ */ m({
|
|
3933
3933
|
__name: "MNavigationRail",
|
|
3934
3934
|
props: {
|
|
3935
3935
|
modelValue: {},
|
|
@@ -3938,7 +3938,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3938
3938
|
},
|
|
3939
3939
|
emits: ["update:modelValue"],
|
|
3940
3940
|
setup(t) {
|
|
3941
|
-
return (r, i) => (C(), l("nav",
|
|
3941
|
+
return (r, i) => (C(), l("nav", sa, [r.$slots.fab ? (C(), l("div", ca, [D(r.$slots, "fab")])) : c("", !0), u("div", { class: v(["flex flex-1 flex-col items-center gap-1 py-3", {
|
|
3942
3942
|
"justify-start": t.alignment === "top",
|
|
3943
3943
|
"justify-center": t.alignment === "center",
|
|
3944
3944
|
"justify-end": t.alignment === "bottom"
|
|
@@ -3970,15 +3970,15 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
3970
3970
|
size: 24
|
|
3971
3971
|
}, null, 8, ["name"])]),
|
|
3972
3972
|
_: 2
|
|
3973
|
-
}, 1032, ["count"]))], 2), u("span", { class: v(["max-w-[56px] truncate text-center text-label-medium", n.value === t.modelValue ? "font-bold text-on-surface" : "font-medium text-on-surface-variant"]) }, A(n.label), 3)], 10,
|
|
3973
|
+
}, 1032, ["count"]))], 2), u("span", { class: v(["max-w-[56px] truncate text-center text-label-medium", n.value === t.modelValue ? "font-bold text-on-surface" : "font-medium text-on-surface-variant"]) }, A(n.label), 3)], 10, la))), 128))], 2)]));
|
|
3974
3974
|
}
|
|
3975
|
-
}),
|
|
3975
|
+
}), da = { class: "flex flex-col gap-1" }, fa = {
|
|
3976
3976
|
key: 0,
|
|
3977
3977
|
class: "text-label-small text-on-surface-variant"
|
|
3978
|
-
},
|
|
3978
|
+
}, pa = ["aria-valuenow"], ma = ["aria-valuenow"], ha = ["viewBox"], ga = ["d"], _a = {
|
|
3979
3979
|
key: 1,
|
|
3980
3980
|
class: "absolute inset-0 overflow-hidden rounded-full"
|
|
3981
|
-
},
|
|
3981
|
+
}, va = ["viewBox"], ya = ["d"], ba = 20, xa = 2.5, Sa = 4, Ca = 8, wa = 80, Ta = 1, Ea = /* @__PURE__ */ m({
|
|
3982
3982
|
__name: "MProgressBar",
|
|
3983
3983
|
props: {
|
|
3984
3984
|
value: {},
|
|
@@ -4009,15 +4009,15 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4009
4009
|
track: "bg-error-container",
|
|
4010
4010
|
text: "text-error"
|
|
4011
4011
|
}
|
|
4012
|
-
}, s =
|
|
4012
|
+
}, s = ba * wa, d = (() => {
|
|
4013
4013
|
let e = "";
|
|
4014
|
-
for (let t = 0; t <= s; t +=
|
|
4015
|
-
let n =
|
|
4014
|
+
for (let t = 0; t <= s; t += Ta) {
|
|
4015
|
+
let n = Sa - xa * Math.sin(t / ba * Math.PI * 2);
|
|
4016
4016
|
e += (t === 0 ? "M" : "L") + t + "," + n.toFixed(2) + " ";
|
|
4017
4017
|
}
|
|
4018
4018
|
return e.trim();
|
|
4019
4019
|
})();
|
|
4020
|
-
return (t, o) => (C(), l("div",
|
|
4020
|
+
return (t, o) => (C(), l("div", da, [e.label ? (C(), l("span", fa, A(e.label), 1)) : c("", !0), e.variant === "linear" ? (C(), l("div", {
|
|
4021
4021
|
key: 1,
|
|
4022
4022
|
class: v(["relative h-1 w-full overflow-hidden rounded-full", a[e.color].track]),
|
|
4023
4023
|
role: "progressbar",
|
|
@@ -4031,20 +4031,20 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4031
4031
|
key: 0,
|
|
4032
4032
|
class: v(["h-full rounded-full transition-[width] duration-300 ease-in-out", a[e.color].bar]),
|
|
4033
4033
|
style: y({ width: `${i.value}%` })
|
|
4034
|
-
}, null, 6))], 10,
|
|
4034
|
+
}, null, 6))], 10, pa)) : (C(), l("div", {
|
|
4035
4035
|
key: 2,
|
|
4036
4036
|
class: "relative h-2 w-full overflow-visible",
|
|
4037
4037
|
role: "progressbar",
|
|
4038
4038
|
"aria-valuenow": r.value ? void 0 : i.value,
|
|
4039
4039
|
"aria-valuemin": "0",
|
|
4040
4040
|
"aria-valuemax": "100"
|
|
4041
|
-
}, [r.value ? (C(), l("div",
|
|
4041
|
+
}, [r.value ? (C(), l("div", _a, [u("div", {
|
|
4042
4042
|
class: v(["absolute top-0 left-0 h-full animate-[m3-wave-flow_0.9s_linear_infinite]", a[e.color].text]),
|
|
4043
4043
|
style: y({ width: `${s}px` })
|
|
4044
4044
|
}, [(C(), l("svg", {
|
|
4045
4045
|
width: s,
|
|
4046
|
-
height:
|
|
4047
|
-
viewBox: `0 0 ${s} ${
|
|
4046
|
+
height: Ca,
|
|
4047
|
+
viewBox: `0 0 ${s} ${Ca}`,
|
|
4048
4048
|
class: "h-full",
|
|
4049
4049
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4050
4050
|
}, [u("path", {
|
|
@@ -4053,7 +4053,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4053
4053
|
stroke: "currentColor",
|
|
4054
4054
|
"stroke-width": "3",
|
|
4055
4055
|
"stroke-linecap": "round"
|
|
4056
|
-
}, null, 8,
|
|
4056
|
+
}, null, 8, ya)], 8, va))], 6)])) : (C(), l(n, { key: 0 }, [
|
|
4057
4057
|
u("div", {
|
|
4058
4058
|
class: "absolute inset-0 overflow-hidden",
|
|
4059
4059
|
style: y({
|
|
@@ -4065,8 +4065,8 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4065
4065
|
style: y({ width: `${s}px` })
|
|
4066
4066
|
}, [(C(), l("svg", {
|
|
4067
4067
|
width: s,
|
|
4068
|
-
height:
|
|
4069
|
-
viewBox: `0 0 ${s} ${
|
|
4068
|
+
height: Ca,
|
|
4069
|
+
viewBox: `0 0 ${s} ${Ca}`,
|
|
4070
4070
|
class: "h-full",
|
|
4071
4071
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4072
4072
|
}, [u("path", {
|
|
@@ -4075,7 +4075,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4075
4075
|
stroke: "currentColor",
|
|
4076
4076
|
"stroke-width": "3",
|
|
4077
4077
|
"stroke-linecap": "round"
|
|
4078
|
-
}, null, 8,
|
|
4078
|
+
}, null, 8, ga)], 8, ha))], 6)], 4),
|
|
4079
4079
|
u("div", {
|
|
4080
4080
|
class: v(["absolute inset-y-0 right-0 flex items-center", a[e.color].track]),
|
|
4081
4081
|
style: y([{
|
|
@@ -4098,16 +4098,16 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4098
4098
|
height: "4px"
|
|
4099
4099
|
}
|
|
4100
4100
|
}, null, 2)
|
|
4101
|
-
], 64))], 8,
|
|
4101
|
+
], 64))], 8, ma))]));
|
|
4102
4102
|
}
|
|
4103
|
-
}),
|
|
4103
|
+
}), Da = ["for"], Oa = { class: "relative flex h-5 w-5 shrink-0" }, ka = [
|
|
4104
4104
|
"id",
|
|
4105
4105
|
"checked",
|
|
4106
4106
|
"disabled"
|
|
4107
|
-
],
|
|
4107
|
+
], Aa = {
|
|
4108
4108
|
key: 0,
|
|
4109
4109
|
class: "text-body-large text-on-surface"
|
|
4110
|
-
},
|
|
4110
|
+
}, ja = /*#__PURE__*/ t(/* @__PURE__ */ m({
|
|
4111
4111
|
__name: "MRadio",
|
|
4112
4112
|
props: {
|
|
4113
4113
|
modelValue: {},
|
|
@@ -4130,14 +4130,14 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4130
4130
|
return (t, n) => (C(), l("label", {
|
|
4131
4131
|
for: j(i),
|
|
4132
4132
|
class: v(["inline-flex items-center gap-3 select-none", e.disabled ? "cursor-not-allowed opacity-[0.38]" : "cursor-pointer"])
|
|
4133
|
-
}, [u("span",
|
|
4133
|
+
}, [u("span", Oa, [u("input", {
|
|
4134
4134
|
id: j(i),
|
|
4135
4135
|
type: "radio",
|
|
4136
4136
|
class: "sr-only",
|
|
4137
4137
|
checked: a.value,
|
|
4138
4138
|
disabled: e.disabled,
|
|
4139
4139
|
onChange: n[0] ||= (t) => r("update:modelValue", e.value)
|
|
4140
|
-
}, null, 40,
|
|
4140
|
+
}, null, 40, ka), (C(), l("svg", {
|
|
4141
4141
|
viewBox: "0 0 20 20",
|
|
4142
4142
|
class: v(["h-full w-full transition-colors duration-150", a.value ? s[e.color] : "text-on-surface-variant"]),
|
|
4143
4143
|
"aria-hidden": "true"
|
|
@@ -4154,12 +4154,12 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4154
4154
|
cy: "10",
|
|
4155
4155
|
r: "4.5",
|
|
4156
4156
|
fill: "currentColor"
|
|
4157
|
-
}, null, 2)], 2))]), e.label ? (C(), l("span",
|
|
4157
|
+
}, null, 2)], 2))]), e.label ? (C(), l("span", Aa, A(e.label), 1)) : c("", !0)], 10, Da));
|
|
4158
4158
|
}
|
|
4159
|
-
}), [["__scopeId", "data-v-cdb650b5"]]),
|
|
4159
|
+
}), [["__scopeId", "data-v-cdb650b5"]]), Ma = { class: "flex flex-col gap-2" }, Na = {
|
|
4160
4160
|
key: 0,
|
|
4161
4161
|
class: "text-label-large text-on-surface-variant"
|
|
4162
|
-
},
|
|
4162
|
+
}, Pa = /* @__PURE__ */ m({
|
|
4163
4163
|
__name: "MRadioGroup",
|
|
4164
4164
|
props: {
|
|
4165
4165
|
modelValue: {},
|
|
@@ -4175,7 +4175,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4175
4175
|
emits: ["update:modelValue"],
|
|
4176
4176
|
setup(e, { emit: t }) {
|
|
4177
4177
|
let r = t;
|
|
4178
|
-
return (t, i) => (C(), l("div",
|
|
4178
|
+
return (t, i) => (C(), l("div", Ma, [e.label ? (C(), l("span", Na, A(e.label), 1)) : c("", !0), u("div", { class: v(["flex gap-4", e.direction === "row" ? "flex-row flex-wrap" : "flex-col"]) }, [(C(!0), l(n, null, E(e.options, (t) => (C(), s(ja, {
|
|
4179
4179
|
key: String(t.value),
|
|
4180
4180
|
"model-value": e.modelValue,
|
|
4181
4181
|
value: t.value,
|
|
@@ -4191,11 +4191,11 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4191
4191
|
"disabled"
|
|
4192
4192
|
]))), 128))], 2)]));
|
|
4193
4193
|
}
|
|
4194
|
-
}),
|
|
4194
|
+
}), Fa = [
|
|
4195
4195
|
"disabled",
|
|
4196
4196
|
"onClick",
|
|
4197
4197
|
"onMousemove"
|
|
4198
|
-
],
|
|
4198
|
+
], Ia = /* @__PURE__ */ m({
|
|
4199
4199
|
__name: "MRating",
|
|
4200
4200
|
props: {
|
|
4201
4201
|
modelValue: {},
|
|
@@ -4272,21 +4272,21 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4272
4272
|
name: t.icon,
|
|
4273
4273
|
size: t.size,
|
|
4274
4274
|
class: "text-on-surface-variant/40"
|
|
4275
|
-
}, null, 8, ["name", "size"]))], 46,
|
|
4275
|
+
}, null, 8, ["name", "size"]))], 46, Fa))), 128))], 34));
|
|
4276
4276
|
}
|
|
4277
|
-
}),
|
|
4277
|
+
}), La = { class: "flex flex-col items-center justify-center gap-4 py-14 text-center" }, Ra = {
|
|
4278
4278
|
key: 0,
|
|
4279
4279
|
class: "text-display-small font-medium text-on-surface-variant/30"
|
|
4280
|
-
},
|
|
4280
|
+
}, za = { class: "text-headline-small font-medium text-on-surface" }, Ba = {
|
|
4281
4281
|
key: 1,
|
|
4282
4282
|
class: "max-w-md text-body-large text-on-surface-variant"
|
|
4283
|
-
},
|
|
4283
|
+
}, Va = {
|
|
4284
4284
|
key: 2,
|
|
4285
4285
|
class: "mt-2 flex flex-wrap items-center justify-center gap-3"
|
|
4286
|
-
},
|
|
4286
|
+
}, Ha = {
|
|
4287
4287
|
key: 3,
|
|
4288
4288
|
class: "mt-2"
|
|
4289
|
-
},
|
|
4289
|
+
}, Ua = /* @__PURE__ */ m({
|
|
4290
4290
|
__name: "MResult",
|
|
4291
4291
|
props: {
|
|
4292
4292
|
status: {},
|
|
@@ -4354,19 +4354,19 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4354
4354
|
};
|
|
4355
4355
|
}
|
|
4356
4356
|
}), i = o(() => n.status === "404" || n.status === "403" || n.status === "500" ? n.status : null);
|
|
4357
|
-
return (n, a) => (C(), l("div",
|
|
4358
|
-
i.value ? (C(), l("span",
|
|
4357
|
+
return (n, a) => (C(), l("div", La, [
|
|
4358
|
+
i.value ? (C(), l("span", Ra, A(i.value), 1)) : c("", !0),
|
|
4359
4359
|
u("div", { class: v(["flex h-20 w-20 items-center justify-center rounded-full", [r.value.bg, r.value.text]]) }, [p(e, {
|
|
4360
4360
|
name: r.value.icon,
|
|
4361
4361
|
size: 40
|
|
4362
4362
|
}, null, 8, ["name"])], 2),
|
|
4363
|
-
u("h2",
|
|
4364
|
-
t.description ?? r.value.defaultDesc ? (C(), l("p",
|
|
4365
|
-
n.$slots.actions ? (C(), l("div",
|
|
4366
|
-
n.$slots.default ? (C(), l("div",
|
|
4363
|
+
u("h2", za, A(t.title ?? r.value.defaultTitle), 1),
|
|
4364
|
+
t.description ?? r.value.defaultDesc ? (C(), l("p", Ba, A(t.description ?? r.value.defaultDesc), 1)) : c("", !0),
|
|
4365
|
+
n.$slots.actions ? (C(), l("div", Va, [D(n.$slots, "actions")])) : c("", !0),
|
|
4366
|
+
n.$slots.default ? (C(), l("div", Ha, [D(n.$slots, "default")])) : c("", !0)
|
|
4367
4367
|
]));
|
|
4368
4368
|
}
|
|
4369
|
-
}),
|
|
4369
|
+
}), Wa = { class: "flex flex-col overflow-hidden rounded-lg border border-outline-variant" }, Ga = { class: "flex items-center justify-between border-b border-outline-variant bg-surface-container px-4 py-3" }, Ka = { class: "flex items-center gap-1" }, qa = { class: "text-title-medium font-medium capitalize text-on-surface" }, Ja = { class: "flex rounded-full bg-surface-container-high p-0.5" }, Ya = ["onClick"], Xa = { class: "overflow-auto" }, Za = { class: "w-full border-collapse" }, Qa = { class: "text-label-small uppercase text-on-surface-variant" }, $a = { class: "w-16 border-r border-b border-outline-variant/50 p-0 pr-2 text-right align-top" }, eo = { class: "relative -top-2.5 text-label-small text-on-surface-variant" }, to = ["onClick"], no = ["onClick"], ro = { class: "truncate text-label-small font-medium" }, io = { class: "truncate text-label-small opacity-70" }, ao = /* @__PURE__ */ m({
|
|
4370
4370
|
__name: "MScheduler",
|
|
4371
4371
|
props: {
|
|
4372
4372
|
events: { default: () => [] },
|
|
@@ -4442,8 +4442,8 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4442
4442
|
error: "bg-error-container text-on-error-container border-error/30",
|
|
4443
4443
|
success: "bg-success-container text-on-success-container border-success/30"
|
|
4444
4444
|
};
|
|
4445
|
-
return (e, t) => (C(), l("div",
|
|
4446
|
-
u("div",
|
|
4445
|
+
return (e, t) => (C(), l("div", Wa, [u("div", Ga, [
|
|
4446
|
+
u("div", Ka, [
|
|
4447
4447
|
p(Z, {
|
|
4448
4448
|
icon: "chevron_left",
|
|
4449
4449
|
label: "Anterior",
|
|
@@ -4462,19 +4462,19 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4462
4462
|
onClick: D
|
|
4463
4463
|
}, " Hoy ")
|
|
4464
4464
|
]),
|
|
4465
|
-
u("h3",
|
|
4466
|
-
u("div",
|
|
4465
|
+
u("h3", qa, A(S.value), 1),
|
|
4466
|
+
u("div", Ja, [(C(), l(n, null, E(["day", "week"], (e) => u("button", {
|
|
4467
4467
|
key: e,
|
|
4468
4468
|
type: "button",
|
|
4469
4469
|
class: v(["cursor-pointer rounded-full px-3 py-1 text-label-medium transition-all duration-150", s.value === e ? "bg-secondary-container text-on-secondary-container shadow-elevation-1" : "text-on-surface-variant hover:bg-on-surface/8"]),
|
|
4470
4470
|
onClick: (t) => s.value = e
|
|
4471
|
-
}, A(e === "day" ? "Día" : "Semana"), 11,
|
|
4472
|
-
]), u("div",
|
|
4471
|
+
}, A(e === "day" ? "Día" : "Semana"), 11, Ya)), 64))])
|
|
4472
|
+
]), u("div", Xa, [u("table", Za, [u("thead", null, [u("tr", null, [t[2] ||= u("th", { class: "sticky top-0 z-10 w-16 border-b border-r border-outline-variant bg-surface-container p-2" }, null, -1), (C(!0), l(n, null, E(h.value, (e) => (C(), l("th", {
|
|
4473
4473
|
key: _(e),
|
|
4474
4474
|
class: v(["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", _(e) === j(g) ? "bg-primary-container/30" : ""])
|
|
4475
|
-
}, [u("div",
|
|
4475
|
+
}, [u("div", Qa, A(j(b).format(e)), 1), u("div", { class: v(["mx-auto mt-0.5 flex h-8 w-8 items-center justify-center rounded-full text-title-medium", _(e) === j(g) ? "bg-primary text-on-primary font-medium" : "text-on-surface"]) }, A(j(x).format(e)), 3)], 2))), 128))])]), u("tbody", null, [(C(!0), l(n, null, E(d.value, (e) => (C(), l("tr", { key: e }, [u("td", $a, [u("span", eo, A(String(e).padStart(2, "0")) + ":00 ", 1)]), (C(!0), l(n, null, E(h.value, (t) => (C(), l("td", {
|
|
4476
4476
|
key: _(t),
|
|
4477
|
-
class: v(["relative h-14 border-r border-b border-outline-variant/50 p-0 last:border-r-0", _(t) === j(g) ? "bg-primary-container/
|
|
4477
|
+
class: v(["relative h-14 border-r border-b border-outline-variant/50 p-0 last:border-r-0", _(t) === j(g) ? "bg-primary-container/5" : ""]),
|
|
4478
4478
|
onClick: (n) => i("slotClick", {
|
|
4479
4479
|
date: _(t),
|
|
4480
4480
|
hour: e
|
|
@@ -4482,19 +4482,19 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4482
4482
|
}, [(C(!0), l(n, null, E(O(t, e), (t) => (C(), l(n, { key: t.id }, [k(t, e) ? (C(), l("button", {
|
|
4483
4483
|
key: 0,
|
|
4484
4484
|
type: "button",
|
|
4485
|
-
class: v(["absolute inset-x-0.5 top-0.5 z-
|
|
4485
|
+
class: v(["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", P[t.color ?? "primary"]]),
|
|
4486
4486
|
style: y({ height: `calc(${M(t) * 100}% - 4px)` }),
|
|
4487
4487
|
onClick: B((e) => i("eventClick", t), ["stop"])
|
|
4488
|
-
}, [u("p",
|
|
4488
|
+
}, [u("p", ro, A(t.title), 1), u("p", io, A(N(t)), 1)], 14, no)) : c("", !0)], 64))), 128))], 10, to))), 128))]))), 128))])])])]));
|
|
4489
4489
|
}
|
|
4490
|
-
}),
|
|
4490
|
+
}), oo = {
|
|
4491
4491
|
class: "inline-flex overflow-hidden rounded-full border border-outline",
|
|
4492
4492
|
role: "group"
|
|
4493
|
-
},
|
|
4493
|
+
}, so = [
|
|
4494
4494
|
"disabled",
|
|
4495
4495
|
"aria-pressed",
|
|
4496
4496
|
"onClick"
|
|
4497
|
-
],
|
|
4497
|
+
], co = /* @__PURE__ */ m({
|
|
4498
4498
|
__name: "MSegmentedButton",
|
|
4499
4499
|
props: {
|
|
4500
4500
|
modelValue: {},
|
|
@@ -4518,7 +4518,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4518
4518
|
r >= 0 ? n.splice(r, 1) : n.push(e.value), i("update:modelValue", n);
|
|
4519
4519
|
} else i("update:modelValue", e.value);
|
|
4520
4520
|
}
|
|
4521
|
-
return (r, i) => (C(), l("div",
|
|
4521
|
+
return (r, i) => (C(), l("div", oo, [(C(!0), l(n, null, E(t.options, (n, r) => (C(), l("button", {
|
|
4522
4522
|
key: n.value,
|
|
4523
4523
|
type: "button",
|
|
4524
4524
|
class: v(["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]", [
|
|
@@ -4539,35 +4539,35 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4539
4539
|
key: 1,
|
|
4540
4540
|
name: n.icon,
|
|
4541
4541
|
size: 18
|
|
4542
|
-
}, null, 8, ["name"])) : c("", !0), u("span", null, A(n.label), 1)], 10,
|
|
4542
|
+
}, null, 8, ["name"])) : c("", !0), u("span", null, A(n.label), 1)], 10, so))), 128))]));
|
|
4543
4543
|
}
|
|
4544
|
-
}),
|
|
4544
|
+
}), lo = { class: "flex flex-col gap-1" }, uo = {
|
|
4545
4545
|
key: 0,
|
|
4546
4546
|
class: "pointer-events-none absolute left-3.5 top-1/2 -translate-y-1/2 text-on-surface-variant"
|
|
4547
|
-
},
|
|
4547
|
+
}, fo = [
|
|
4548
4548
|
"id",
|
|
4549
4549
|
"tabindex",
|
|
4550
4550
|
"aria-expanded",
|
|
4551
4551
|
"aria-disabled"
|
|
4552
|
-
],
|
|
4552
|
+
], po = {
|
|
4553
4553
|
key: 0,
|
|
4554
4554
|
class: "text-on-surface"
|
|
4555
|
-
},
|
|
4555
|
+
}, mo = ["for"], ho = {
|
|
4556
4556
|
key: 0,
|
|
4557
4557
|
class: "text-error"
|
|
4558
|
-
},
|
|
4558
|
+
}, go = { class: "pointer-events-none absolute right-2 top-1/2 -translate-y-1/2" }, _o = {
|
|
4559
4559
|
key: 0,
|
|
4560
4560
|
class: "px-4 text-body-small text-error"
|
|
4561
|
-
},
|
|
4561
|
+
}, vo = {
|
|
4562
4562
|
key: 1,
|
|
4563
4563
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
4564
|
-
},
|
|
4564
|
+
}, yo = ["onClick"], bo = {
|
|
4565
4565
|
key: 1,
|
|
4566
4566
|
class: "w-[18px] shrink-0"
|
|
4567
|
-
},
|
|
4567
|
+
}, xo = {
|
|
4568
4568
|
key: 0,
|
|
4569
4569
|
class: "px-4 py-3 text-center text-body-small text-on-surface-variant"
|
|
4570
|
-
},
|
|
4570
|
+
}, So = /* @__PURE__ */ m({
|
|
4571
4571
|
__name: "MSelect",
|
|
4572
4572
|
props: {
|
|
4573
4573
|
modelValue: { default: null },
|
|
@@ -4670,13 +4670,13 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4670
4670
|
g.value ? d.error ? "text-error" : "text-primary" : d.error ? "text-error" : "text-on-surface-variant"
|
|
4671
4671
|
].join(" ");
|
|
4672
4672
|
});
|
|
4673
|
-
return (a, o) => (C(), l(n, null, [u("div",
|
|
4673
|
+
return (a, o) => (C(), l(n, null, [u("div", lo, [u("div", {
|
|
4674
4674
|
ref_key: "fieldEl",
|
|
4675
4675
|
ref: _,
|
|
4676
4676
|
class: v(["relative", t.variant === "outlined" ? "mt-2" : ""]),
|
|
4677
4677
|
style: y(t.variant === "outlined" ? { "--field-bg": j(b) } : void 0)
|
|
4678
4678
|
}, [
|
|
4679
|
-
t.leadingIcon ? (C(), l("div",
|
|
4679
|
+
t.leadingIcon ? (C(), l("div", uo, [p(e, {
|
|
4680
4680
|
name: t.leadingIcon,
|
|
4681
4681
|
size: 20
|
|
4682
4682
|
}, null, 8, ["name"])])) : c("", !0),
|
|
@@ -4689,17 +4689,17 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4689
4689
|
class: v([B.value, t.disabled ? "pointer-events-none opacity-[0.38]" : ""]),
|
|
4690
4690
|
onClick: P,
|
|
4691
4691
|
onKeydown: z
|
|
4692
|
-
}, [O.value ? (C(), l("span",
|
|
4692
|
+
}, [O.value ? (C(), l("span", po, A(k.value), 1)) : c("", !0)], 42, fo),
|
|
4693
4693
|
u("label", {
|
|
4694
4694
|
for: j(h),
|
|
4695
4695
|
class: v(H.value)
|
|
4696
|
-
}, [f(A(t.label), 1), t.required ? (C(), l("span",
|
|
4697
|
-
u("div",
|
|
4696
|
+
}, [f(A(t.label), 1), t.required ? (C(), l("span", ho, "\xA0*")) : c("", !0)], 10, mo),
|
|
4697
|
+
u("div", go, [p(e, {
|
|
4698
4698
|
name: g.value ? "arrow_drop_up" : "arrow_drop_down",
|
|
4699
4699
|
size: 24,
|
|
4700
4700
|
class: "text-on-surface-variant transition-transform duration-200"
|
|
4701
4701
|
}, null, 8, ["name"])])
|
|
4702
|
-
], 6), t.error ? (C(), l("p",
|
|
4702
|
+
], 6), t.error ? (C(), l("p", _o, A(t.error), 1)) : t.hint ? (C(), l("p", vo, A(t.hint), 1)) : c("", !0)]), (C(), s(r, { to: "body" }, [p(i, {
|
|
4703
4703
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
4704
4704
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
4705
4705
|
"enter-to-class": "opacity-100 translate-y-0 scale-100",
|
|
@@ -4711,7 +4711,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4711
4711
|
key: 0,
|
|
4712
4712
|
ref_key: "dropdownEl",
|
|
4713
4713
|
ref: w,
|
|
4714
|
-
class: "fixed z-
|
|
4714
|
+
class: "fixed z-500 max-h-60 overflow-auto rounded-sm bg-surface-container py-1 shadow-elevation-2",
|
|
4715
4715
|
style: y(D.value)
|
|
4716
4716
|
}, [(C(!0), l(n, null, E(t.options, (n) => (C(), l("div", {
|
|
4717
4717
|
key: n.value,
|
|
@@ -4722,20 +4722,20 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4722
4722
|
name: "check",
|
|
4723
4723
|
size: 18,
|
|
4724
4724
|
class: "shrink-0 text-primary"
|
|
4725
|
-
})) : (C(), l("span",
|
|
4725
|
+
})) : (C(), l("span", bo)), f(" " + A(n.label), 1)], 10, yo))), 128)), t.options.length ? c("", !0) : (C(), l("p", xo, " Sin opciones "))], 4)) : c("", !0)]),
|
|
4726
4726
|
_: 1
|
|
4727
4727
|
})]))], 64));
|
|
4728
4728
|
}
|
|
4729
|
-
}),
|
|
4729
|
+
}), Co = {
|
|
4730
4730
|
key: 0,
|
|
4731
|
-
class: "fixed inset-0 z-
|
|
4732
|
-
},
|
|
4731
|
+
class: "fixed inset-0 z-200 flex justify-end"
|
|
4732
|
+
}, wo = {
|
|
4733
4733
|
key: 0,
|
|
4734
4734
|
class: "flex shrink-0 items-center justify-between border-b border-outline-variant px-6 py-4"
|
|
4735
|
-
},
|
|
4735
|
+
}, To = { class: "text-title-large text-on-surface" }, Eo = { class: "flex-1 overflow-y-auto px-6 py-4" }, Do = {
|
|
4736
4736
|
key: 1,
|
|
4737
4737
|
class: "shrink-0 border-t border-outline-variant px-6 py-4"
|
|
4738
|
-
},
|
|
4738
|
+
}, Oo = /*#__PURE__*/ t(/* @__PURE__ */ m({
|
|
4739
4739
|
__name: "MSideSheet",
|
|
4740
4740
|
props: {
|
|
4741
4741
|
modelValue: { type: Boolean },
|
|
@@ -4765,7 +4765,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4765
4765
|
leave: 280
|
|
4766
4766
|
}
|
|
4767
4767
|
}, {
|
|
4768
|
-
default: L(() => [t.modelValue ? (C(), l("div",
|
|
4768
|
+
default: L(() => [t.modelValue ? (C(), l("div", Co, [u("div", {
|
|
4769
4769
|
class: "ss-scrim absolute inset-0 bg-black/40",
|
|
4770
4770
|
onClick: d
|
|
4771
4771
|
}), u("aside", {
|
|
@@ -4778,7 +4778,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4778
4778
|
onPointermove: _,
|
|
4779
4779
|
onPointerup: b
|
|
4780
4780
|
}, null, 32),
|
|
4781
|
-
t.title || n.$slots.header ? (C(), l("div",
|
|
4781
|
+
t.title || n.$slots.header ? (C(), l("div", wo, [D(n.$slots, "header", {}, () => [u("h2", To, A(t.title), 1)], !0), u("button", {
|
|
4782
4782
|
type: "button",
|
|
4783
4783
|
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",
|
|
4784
4784
|
onClick: d
|
|
@@ -4786,16 +4786,16 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4786
4786
|
name: "close",
|
|
4787
4787
|
size: 20
|
|
4788
4788
|
})])])) : c("", !0),
|
|
4789
|
-
u("div",
|
|
4790
|
-
n.$slots.actions ? (C(), l("div",
|
|
4789
|
+
u("div", Eo, [D(n.$slots, "default", {}, void 0, !0)]),
|
|
4790
|
+
n.$slots.actions ? (C(), l("div", Do, [D(n.$slots, "actions", {}, void 0, !0)])) : c("", !0)
|
|
4791
4791
|
], 6)])) : c("", !0)]),
|
|
4792
4792
|
_: 3
|
|
4793
4793
|
})]));
|
|
4794
4794
|
}
|
|
4795
|
-
}), [["__scopeId", "data-v-
|
|
4795
|
+
}), [["__scopeId", "data-v-ba5b6f4b"]]), ko = {
|
|
4796
4796
|
key: 0,
|
|
4797
4797
|
class: "flex flex-col gap-2.5"
|
|
4798
|
-
},
|
|
4798
|
+
}, Ao = /*#__PURE__*/ t(/* @__PURE__ */ m({
|
|
4799
4799
|
__name: "MSkeleton",
|
|
4800
4800
|
props: {
|
|
4801
4801
|
variant: { default: "text" },
|
|
@@ -4805,7 +4805,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4805
4805
|
animation: { default: "pulse" }
|
|
4806
4806
|
},
|
|
4807
4807
|
setup(e) {
|
|
4808
|
-
return (t, r) => e.variant === "text" && e.lines > 1 ? (C(), l("div",
|
|
4808
|
+
return (t, r) => e.variant === "text" && e.lines > 1 ? (C(), l("div", ko, [(C(!0), l(n, null, E(e.lines, (t) => (C(), l("div", {
|
|
4809
4809
|
key: t,
|
|
4810
4810
|
class: v(["h-3.5 rounded-full bg-on-surface/10", e.animation === "pulse" ? "animate-pulse" : e.animation === "wave" ? "skeleton-wave" : ""]),
|
|
4811
4811
|
style: y({ width: t === e.lines ? "60%" : e.width ?? "100%" })
|
|
@@ -4818,21 +4818,21 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4818
4818
|
})
|
|
4819
4819
|
}, null, 6));
|
|
4820
4820
|
}
|
|
4821
|
-
}), [["__scopeId", "data-v-32ecf05b"]]),
|
|
4821
|
+
}), [["__scopeId", "data-v-32ecf05b"]]), jo = { class: "flex flex-col gap-1 select-none" }, Mo = {
|
|
4822
4822
|
key: 0,
|
|
4823
4823
|
class: "flex items-center justify-between"
|
|
4824
|
-
},
|
|
4824
|
+
}, No = {
|
|
4825
4825
|
key: 0,
|
|
4826
4826
|
class: "text-label-large text-on-surface"
|
|
4827
|
-
},
|
|
4827
|
+
}, Po = {
|
|
4828
4828
|
key: 1,
|
|
4829
4829
|
class: "tabular-nums text-label-large text-on-surface-variant"
|
|
4830
|
-
},
|
|
4830
|
+
}, Fo = [
|
|
4831
4831
|
"aria-valuenow",
|
|
4832
4832
|
"aria-valuemin",
|
|
4833
4833
|
"aria-valuemax",
|
|
4834
4834
|
"aria-disabled"
|
|
4835
|
-
],
|
|
4835
|
+
], Io = /* @__PURE__ */ m({
|
|
4836
4836
|
__name: "MSlider",
|
|
4837
4837
|
props: {
|
|
4838
4838
|
modelValue: {},
|
|
@@ -4914,7 +4914,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4914
4914
|
transform: `translateX(-50%) translateY(-50%) scale(${a.value ? 1.15 : 1})`,
|
|
4915
4915
|
transition: a.value ? "transform 80ms ease" : "left 75ms ease, transform 80ms ease"
|
|
4916
4916
|
}));
|
|
4917
|
-
return (t, n) => (C(), l("div",
|
|
4917
|
+
return (t, n) => (C(), l("div", jo, [e.label || e.showValue ? (C(), l("div", Mo, [e.label ? (C(), l("span", No, A(e.label), 1)) : c("", !0), e.showValue ? (C(), l("span", Po, A(e.modelValue), 1)) : c("", !0)])) : c("", !0), u("div", {
|
|
4918
4918
|
ref_key: "trackEl",
|
|
4919
4919
|
ref: i,
|
|
4920
4920
|
role: "slider",
|
|
@@ -4935,9 +4935,9 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4935
4935
|
}, null, 6)], 2), u("div", {
|
|
4936
4936
|
class: v(["pointer-events-none absolute h-5 w-5 rounded-full shadow-elevation-1", d[e.color].thumb]),
|
|
4937
4937
|
style: y(x.value)
|
|
4938
|
-
}, null, 6)], 42,
|
|
4938
|
+
}, null, 6)], 42, Fo)]));
|
|
4939
4939
|
}
|
|
4940
|
-
}),
|
|
4940
|
+
}), Lo = { class: "flex-1 text-body-medium leading-snug" }, Ro = { class: "flex shrink-0 items-center gap-0.5" }, zo = ["onClick"], Bo = ["onClick"], Vo = /*#__PURE__*/ t(/* @__PURE__ */ m({
|
|
4941
4941
|
__name: "MSnackbar",
|
|
4942
4942
|
setup(t) {
|
|
4943
4943
|
let { toasts: r, position: i, dismiss: s } = ce(), d = o(() => i.value.startsWith("top")), f = o(() => {
|
|
@@ -4988,39 +4988,42 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
4988
4988
|
default: L(() => [(C(!0), l(n, null, E(j(r), (t) => (C(), l("div", {
|
|
4989
4989
|
key: t.id,
|
|
4990
4990
|
class: "toast-row w-full min-w-64 max-w-xs"
|
|
4991
|
-
}, [u("div", {
|
|
4991
|
+
}, [u("div", {
|
|
4992
|
+
class: v(["toast-inner pointer-events-auto relative flex items-center gap-3 overflow-hidden rounded-2xl px-4 py-4 shadow-elevation-2", t.color ? "text-white ring-1 ring-inset ring-white/10" : h(t.variant).container]),
|
|
4993
|
+
style: y(t.color ? { backgroundColor: t.color } : void 0)
|
|
4994
|
+
}, [
|
|
4992
4995
|
p(e, {
|
|
4993
|
-
name: h(t.variant).iconName,
|
|
4996
|
+
name: t.icon ?? h(t.variant).iconName,
|
|
4994
4997
|
size: 20,
|
|
4995
|
-
class: v(["shrink-0", h(t.variant).icon])
|
|
4998
|
+
class: v(["shrink-0", t.color ? "" : h(t.variant).icon])
|
|
4996
4999
|
}, null, 8, ["name", "class"]),
|
|
4997
|
-
u("p",
|
|
4998
|
-
u("div",
|
|
5000
|
+
u("p", Lo, A(t.message), 1),
|
|
5001
|
+
u("div", Ro, [t.action ? (C(), l("button", {
|
|
4999
5002
|
key: 0,
|
|
5000
5003
|
type: "button",
|
|
5001
|
-
class: v(["cursor-pointer rounded px-2 py-1 text-label-medium font-semibold transition-colors", h(t.variant).action]),
|
|
5004
|
+
class: v(["cursor-pointer rounded px-2 py-1 text-label-medium font-semibold transition-colors", t.color ? "text-white/90 hover:bg-white/15" : h(t.variant).action]),
|
|
5002
5005
|
onClick: () => {
|
|
5003
5006
|
t.action.onClick(), j(s)(t.id);
|
|
5004
5007
|
}
|
|
5005
|
-
}, A(t.action.label), 11,
|
|
5008
|
+
}, A(t.action.label), 11, zo)) : c("", !0), u("button", {
|
|
5006
5009
|
type: "button",
|
|
5007
|
-
class: v(["flex h-8 w-8 cursor-pointer items-center justify-center rounded-full transition-colors", h(t.variant).close]),
|
|
5010
|
+
class: v(["flex h-8 w-8 cursor-pointer items-center justify-center rounded-full transition-colors", t.color ? "text-white/60 hover:bg-white/15" : h(t.variant).close]),
|
|
5008
5011
|
"aria-label": "Cerrar",
|
|
5009
5012
|
onClick: (e) => j(s)(t.id)
|
|
5010
5013
|
}, [p(e, {
|
|
5011
5014
|
name: "close",
|
|
5012
5015
|
size: 18
|
|
5013
|
-
})], 10,
|
|
5016
|
+
})], 10, Bo)]),
|
|
5014
5017
|
t.duration > 0 ? (C(), l("div", {
|
|
5015
5018
|
key: 0,
|
|
5016
|
-
class: v(["absolute right-0 bottom-0 left-0 h-0.5 origin-left", h(t.variant).progress]),
|
|
5019
|
+
class: v(["absolute right-0 bottom-0 left-0 h-0.5 origin-left", t.color ? "bg-white/30" : h(t.variant).progress]),
|
|
5017
5020
|
style: y({ animation: `m3-toast-progress ${t.duration}ms linear forwards` })
|
|
5018
5021
|
}, null, 6)) : c("", !0)
|
|
5019
|
-
],
|
|
5022
|
+
], 6)]))), 128))]),
|
|
5020
5023
|
_: 1
|
|
5021
5024
|
}, 8, ["name"])], 2));
|
|
5022
5025
|
}
|
|
5023
|
-
}), [["__scopeId", "data-v-
|
|
5026
|
+
}), [["__scopeId", "data-v-746fa345"]]), Ho = /* @__PURE__ */ m({
|
|
5024
5027
|
__name: "MSplitter",
|
|
5025
5028
|
props: {
|
|
5026
5029
|
direction: { default: "horizontal" },
|
|
@@ -5067,26 +5070,26 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5067
5070
|
}, [D(e.$slots, "second")], 4)
|
|
5068
5071
|
], 2));
|
|
5069
5072
|
}
|
|
5070
|
-
}),
|
|
5073
|
+
}), Uo = { class: "spot-box flex w-full max-w-xl flex-col overflow-hidden rounded-2xl bg-surface-container-high shadow-elevation-3" }, Wo = { class: "flex items-center gap-3 px-5 py-1" }, Go = ["placeholder"], Ko = {
|
|
5071
5074
|
key: 0,
|
|
5072
5075
|
class: "max-h-96 overflow-y-auto border-t border-outline-variant"
|
|
5073
|
-
},
|
|
5076
|
+
}, qo = {
|
|
5074
5077
|
key: 0,
|
|
5075
5078
|
class: "px-5 pt-4 pb-1 text-label-small font-medium tracking-wide text-on-surface-variant uppercase"
|
|
5076
|
-
},
|
|
5079
|
+
}, Jo = [
|
|
5077
5080
|
"data-spot-active",
|
|
5078
5081
|
"onClick",
|
|
5079
5082
|
"onPointerenter"
|
|
5080
|
-
],
|
|
5083
|
+
], Yo = {
|
|
5081
5084
|
key: 0,
|
|
5082
5085
|
class: "flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-primary-container"
|
|
5083
|
-
},
|
|
5086
|
+
}, Xo = { class: "min-w-0 flex-1" }, Zo = { class: "truncate text-body-medium text-on-surface" }, Qo = {
|
|
5084
5087
|
key: 0,
|
|
5085
5088
|
class: "truncate text-body-small text-on-surface-variant"
|
|
5086
|
-
},
|
|
5089
|
+
}, $o = {
|
|
5087
5090
|
key: 1,
|
|
5088
5091
|
class: "flex flex-col items-center gap-2 py-10"
|
|
5089
|
-
},
|
|
5092
|
+
}, es = { class: "text-body-medium text-on-surface-variant" }, ts = /*#__PURE__*/ t(/* @__PURE__ */ m({
|
|
5090
5093
|
__name: "MSpotlightSearch",
|
|
5091
5094
|
props: {
|
|
5092
5095
|
modelValue: { type: Boolean },
|
|
@@ -5147,8 +5150,8 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5147
5150
|
key: 0,
|
|
5148
5151
|
class: "fixed inset-0 z-50 flex items-start justify-center bg-black/50 pt-[12vh]",
|
|
5149
5152
|
onClick: B(O, ["self"])
|
|
5150
|
-
}, [u("div",
|
|
5151
|
-
u("div",
|
|
5153
|
+
}, [u("div", Uo, [
|
|
5154
|
+
u("div", Wo, [
|
|
5152
5155
|
p(e, {
|
|
5153
5156
|
name: "search",
|
|
5154
5157
|
size: 24,
|
|
@@ -5162,7 +5165,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5162
5165
|
placeholder: t.placeholder,
|
|
5163
5166
|
class: "h-14 flex-1 bg-transparent text-title-medium text-on-surface outline-none placeholder:text-on-surface-variant/50",
|
|
5164
5167
|
onKeydown: M
|
|
5165
|
-
}, null, 40,
|
|
5168
|
+
}, null, 40, Go), [[P, h.value]]),
|
|
5166
5169
|
t.loading ? (C(), s(Be, {
|
|
5167
5170
|
key: 0,
|
|
5168
5171
|
size: 20,
|
|
@@ -5177,7 +5180,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5177
5180
|
size: 18
|
|
5178
5181
|
})])) : c("", !0)
|
|
5179
5182
|
]),
|
|
5180
|
-
w.value ? (C(), l("div",
|
|
5183
|
+
w.value ? (C(), l("div", Ko, [t.results.length ? (C(!0), l(n, { key: 0 }, E(D.value, ([r, i]) => (C(), l(n, { key: r }, [r ? (C(), l("p", qo, A(r), 1)) : c("", !0), (C(!0), l(n, null, E(i, (n) => (C(), l("button", {
|
|
5181
5184
|
key: n.id,
|
|
5182
5185
|
type: "button",
|
|
5183
5186
|
"data-spot-active": t.results.indexOf(n) === g.value || void 0,
|
|
@@ -5185,22 +5188,22 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5185
5188
|
onClick: (e) => k(n),
|
|
5186
5189
|
onPointerenter: (e) => g.value = t.results.indexOf(n)
|
|
5187
5190
|
}, [
|
|
5188
|
-
n.icon ? (C(), l("div",
|
|
5191
|
+
n.icon ? (C(), l("div", Yo, [p(e, {
|
|
5189
5192
|
name: n.icon,
|
|
5190
5193
|
size: 20,
|
|
5191
5194
|
class: "text-on-primary-container"
|
|
5192
5195
|
}, null, 8, ["name"])])) : c("", !0),
|
|
5193
|
-
u("div",
|
|
5196
|
+
u("div", Xo, [u("p", Zo, A(n.title), 1), n.description ? (C(), l("p", Qo, A(n.description), 1)) : c("", !0)]),
|
|
5194
5197
|
p(e, {
|
|
5195
5198
|
name: "arrow_forward",
|
|
5196
5199
|
size: 16,
|
|
5197
5200
|
class: "shrink-0 text-on-surface-variant/40"
|
|
5198
5201
|
})
|
|
5199
|
-
], 42,
|
|
5202
|
+
], 42, Jo))), 128))], 64))), 128)) : t.loading ? c("", !0) : (C(), l("div", $o, [p(e, {
|
|
5200
5203
|
name: "search_off",
|
|
5201
5204
|
size: 40,
|
|
5202
5205
|
class: "text-on-surface-variant/40"
|
|
5203
|
-
}), u("p",
|
|
5206
|
+
}), u("p", es, A(t.noResultsText), 1)]))])) : c("", !0),
|
|
5204
5207
|
o[2] ||= u("div", { class: "flex items-center gap-4 border-t border-outline-variant px-5 py-2" }, [
|
|
5205
5208
|
u("span", { class: "flex items-center gap-1 text-label-small text-on-surface-variant" }, [u("kbd", { class: "rounded bg-surface-container px-1 py-0.5" }, "↑↓"), f(" navegar ")]),
|
|
5206
5209
|
u("span", { class: "flex items-center gap-1 text-label-small text-on-surface-variant" }, [u("kbd", { class: "rounded bg-surface-container px-1 py-0.5" }, "↵"), f(" abrir ")]),
|
|
@@ -5210,7 +5213,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5210
5213
|
_: 1
|
|
5211
5214
|
})]));
|
|
5212
5215
|
}
|
|
5213
|
-
}), [["__scopeId", "data-v-51b103ff"]]),
|
|
5216
|
+
}), [["__scopeId", "data-v-51b103ff"]]), ns = /* @__PURE__ */ m({
|
|
5214
5217
|
__name: "MStack",
|
|
5215
5218
|
props: {
|
|
5216
5219
|
direction: { default: "column" },
|
|
@@ -5265,19 +5268,19 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5265
5268
|
role: "separator"
|
|
5266
5269
|
}, null, 2)) : c("", !0), (C(), s(k(e)))], 64))), 128)) : D(t.$slots, "default", { key: 1 })], 2));
|
|
5267
5270
|
}
|
|
5268
|
-
}),
|
|
5271
|
+
}), rs = { class: "flex flex-col gap-2 overflow-hidden rounded-lg border border-outline-variant bg-surface-container-lowest p-4" }, is = { class: "flex items-start justify-between gap-2" }, as = { class: "flex min-w-0 flex-col gap-1" }, os = { class: "truncate text-label-large text-on-surface-variant" }, ss = {
|
|
5269
5272
|
key: 0,
|
|
5270
5273
|
class: "h-8 w-24 animate-pulse rounded-md bg-on-surface/10"
|
|
5271
|
-
},
|
|
5274
|
+
}, cs = {
|
|
5272
5275
|
key: 1,
|
|
5273
|
-
class: "text-headline-medium font-medium text-on-surface"
|
|
5274
|
-
},
|
|
5276
|
+
class: "truncate text-headline-medium font-medium text-on-surface"
|
|
5277
|
+
}, ls = {
|
|
5275
5278
|
key: 0,
|
|
5276
|
-
class: "flex items-center gap-2"
|
|
5277
|
-
},
|
|
5279
|
+
class: "flex flex-wrap items-center gap-x-2 gap-y-1"
|
|
5280
|
+
}, us = {
|
|
5278
5281
|
key: 1,
|
|
5279
5282
|
class: "text-label-medium text-on-surface-variant"
|
|
5280
|
-
},
|
|
5283
|
+
}, ds = /* @__PURE__ */ m({
|
|
5281
5284
|
__name: "MStatCard",
|
|
5282
5285
|
props: {
|
|
5283
5286
|
title: {},
|
|
@@ -5296,13 +5299,13 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5296
5299
|
error: "bg-error-container text-on-error-container",
|
|
5297
5300
|
success: "bg-success-container text-on-success-container"
|
|
5298
5301
|
}, i = o(() => n.trend == null ? "" : n.trend > 0 ? "text-success" : n.trend < 0 ? "text-error" : "text-on-surface-variant"), a = o(() => n.trend == null ? "" : n.trend > 0 ? "trending_up" : n.trend < 0 ? "trending_down" : "trending_flat");
|
|
5299
|
-
return (n, o) => (C(), l("div",
|
|
5302
|
+
return (n, o) => (C(), l("div", rs, [u("div", is, [u("div", as, [u("span", os, A(t.title), 1), t.loading ? (C(), l("div", ss)) : (C(), l("span", cs, A(t.value), 1))]), t.icon ? (C(), l("div", {
|
|
5300
5303
|
key: 0,
|
|
5301
5304
|
class: v(["flex h-11 w-11 shrink-0 items-center justify-center rounded-xl", r[t.color]])
|
|
5302
5305
|
}, [p(e, {
|
|
5303
5306
|
name: t.icon,
|
|
5304
5307
|
size: 24
|
|
5305
|
-
}, null, 8, ["name"])], 2)) : c("", !0)]), t.trend != null || t.trendLabel || n.$slots.footer ? (C(), l("div",
|
|
5308
|
+
}, null, 8, ["name"])], 2)) : c("", !0)]), t.trend != null || t.trendLabel || n.$slots.footer ? (C(), l("div", ls, [
|
|
5306
5309
|
t.trend == null ? c("", !0) : (C(), l("span", {
|
|
5307
5310
|
key: 0,
|
|
5308
5311
|
class: v(["inline-flex items-center gap-0.5 text-label-medium font-medium", i.value])
|
|
@@ -5310,35 +5313,35 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5310
5313
|
name: a.value,
|
|
5311
5314
|
size: 16
|
|
5312
5315
|
}, null, 8, ["name"]), f(" " + A(t.trend > 0 ? "+" : "") + A(t.trend) + "% ", 1)], 2)),
|
|
5313
|
-
t.trendLabel ? (C(), l("span",
|
|
5316
|
+
t.trendLabel ? (C(), l("span", us, A(t.trendLabel), 1)) : c("", !0),
|
|
5314
5317
|
D(n.$slots, "footer")
|
|
5315
5318
|
])) : c("", !0)]));
|
|
5316
5319
|
}
|
|
5317
|
-
}),
|
|
5320
|
+
}), fs = {
|
|
5318
5321
|
key: 0,
|
|
5319
5322
|
class: "flex w-full items-start"
|
|
5320
|
-
},
|
|
5323
|
+
}, ps = ["onClick"], ms = { key: 3 }, hs = { class: "flex flex-col items-center text-center" }, gs = {
|
|
5321
5324
|
key: 0,
|
|
5322
5325
|
class: "text-body-small text-on-surface-variant"
|
|
5323
|
-
},
|
|
5326
|
+
}, _s = {
|
|
5324
5327
|
key: 1,
|
|
5325
5328
|
class: "text-body-small text-on-surface-variant"
|
|
5326
|
-
},
|
|
5329
|
+
}, vs = {
|
|
5327
5330
|
key: 0,
|
|
5328
5331
|
class: "mt-[18px] flex flex-1 items-center px-2"
|
|
5329
|
-
},
|
|
5332
|
+
}, ys = {
|
|
5330
5333
|
key: 1,
|
|
5331
5334
|
class: "flex flex-col"
|
|
5332
|
-
},
|
|
5335
|
+
}, bs = { class: "flex flex-col items-center" }, xs = ["onClick"], Ss = { key: 3 }, Cs = ["onClick"], ws = {
|
|
5333
5336
|
key: 0,
|
|
5334
5337
|
class: "mt-0.5 text-body-small text-on-surface-variant"
|
|
5335
|
-
},
|
|
5338
|
+
}, Ts = {
|
|
5336
5339
|
key: 1,
|
|
5337
5340
|
class: "text-body-small text-on-surface-variant"
|
|
5338
|
-
},
|
|
5341
|
+
}, Es = {
|
|
5339
5342
|
key: 2,
|
|
5340
5343
|
class: "mt-3"
|
|
5341
|
-
},
|
|
5344
|
+
}, Ds = /* @__PURE__ */ m({
|
|
5342
5345
|
__name: "MStepper",
|
|
5343
5346
|
props: {
|
|
5344
5347
|
steps: {},
|
|
@@ -5359,7 +5362,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5359
5362
|
function p(e) {
|
|
5360
5363
|
f.value && a("update:modelValue", e);
|
|
5361
5364
|
}
|
|
5362
|
-
return (r, i) => t.direction === "horizontal" ? (C(), l("div",
|
|
5365
|
+
return (r, i) => t.direction === "horizontal" ? (C(), l("div", fs, [(C(!0), l(n, null, E(t.steps, (r, i) => (C(), l(n, { key: i }, [u("div", {
|
|
5363
5366
|
class: v(["flex flex-col items-center gap-2", f.value && d(i) !== "active" ? "cursor-pointer" : ""]),
|
|
5364
5367
|
onClick: (e) => p(i)
|
|
5365
5368
|
}, [u("div", { class: v(["flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-label-large font-medium transition-colors duration-200", {
|
|
@@ -5378,18 +5381,18 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5378
5381
|
key: 2,
|
|
5379
5382
|
name: r.icon,
|
|
5380
5383
|
size: 20
|
|
5381
|
-
}, null, 8, ["name"])) : (C(), l("span",
|
|
5384
|
+
}, null, 8, ["name"])) : (C(), l("span", ms, A(i + 1), 1))], 2), u("div", hs, [
|
|
5382
5385
|
u("span", { class: v(["text-label-large", {
|
|
5383
5386
|
"font-medium text-on-surface": d(i) === "active" || d(i) === "completed",
|
|
5384
5387
|
"text-error": d(i) === "error",
|
|
5385
5388
|
"text-on-surface-variant": d(i) === "inactive"
|
|
5386
5389
|
}]) }, A(r.label), 3),
|
|
5387
|
-
r.description ? (C(), l("span",
|
|
5388
|
-
r.optional ? (C(), l("span",
|
|
5389
|
-
])], 10,
|
|
5390
|
+
r.description ? (C(), l("span", gs, A(r.description), 1)) : c("", !0),
|
|
5391
|
+
r.optional ? (C(), l("span", _s, " Opcional ")) : c("", !0)
|
|
5392
|
+
])], 10, ps), i < t.steps.length - 1 ? (C(), l("div", vs, [u("div", { class: v(["h-px w-full transition-colors duration-300", i < t.modelValue ? "bg-primary" : "bg-outline-variant"]) }, null, 2)])) : c("", !0)], 64))), 128))])) : (C(), l("div", ys, [(C(!0), l(n, null, E(t.steps, (n, i) => (C(), l("div", {
|
|
5390
5393
|
key: i,
|
|
5391
5394
|
class: "flex gap-4"
|
|
5392
|
-
}, [u("div",
|
|
5395
|
+
}, [u("div", bs, [u("div", {
|
|
5393
5396
|
class: v(["flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-label-large font-medium transition-colors duration-200", [{
|
|
5394
5397
|
"bg-primary text-on-primary": d(i) === "active" || d(i) === "completed",
|
|
5395
5398
|
"bg-error text-on-error": d(i) === "error",
|
|
@@ -5408,9 +5411,9 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5408
5411
|
key: 2,
|
|
5409
5412
|
name: n.icon,
|
|
5410
5413
|
size: 20
|
|
5411
|
-
}, null, 8, ["name"])) : (C(), l("span",
|
|
5414
|
+
}, null, 8, ["name"])) : (C(), l("span", Ss, A(i + 1), 1))], 10, xs), i < t.steps.length - 1 ? (C(), l("div", {
|
|
5412
5415
|
key: 0,
|
|
5413
|
-
class: v(["my-1 w-
|
|
5416
|
+
class: v(["my-1 w-px flex-1 transition-colors duration-300", i < t.modelValue ? "bg-primary" : "bg-outline-variant"]),
|
|
5414
5417
|
style: { "min-height": "24px" }
|
|
5415
5418
|
}, null, 2)) : c("", !0)]), u("div", {
|
|
5416
5419
|
class: v(["pb-6", f.value && d(i) !== "active" ? "cursor-pointer" : ""]),
|
|
@@ -5421,15 +5424,15 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5421
5424
|
"text-error": d(i) === "error",
|
|
5422
5425
|
"text-on-surface-variant": d(i) === "inactive"
|
|
5423
5426
|
}]) }, A(n.label), 3),
|
|
5424
|
-
n.description ? (C(), l("p",
|
|
5425
|
-
n.optional ? (C(), l("p",
|
|
5426
|
-
d(i) === "active" && r.$slots[`step-${i}`] ? (C(), l("div",
|
|
5427
|
-
], 10,
|
|
5427
|
+
n.description ? (C(), l("p", ws, A(n.description), 1)) : c("", !0),
|
|
5428
|
+
n.optional ? (C(), l("p", Ts, " Opcional ")) : c("", !0),
|
|
5429
|
+
d(i) === "active" && r.$slots[`step-${i}`] ? (C(), l("div", Es, [D(r.$slots, `step-${i}`)])) : c("", !0)
|
|
5430
|
+
], 10, Cs)]))), 128))]));
|
|
5428
5431
|
}
|
|
5429
|
-
}),
|
|
5432
|
+
}), Os = ["checked", "disabled"], ks = {
|
|
5430
5433
|
key: 0,
|
|
5431
5434
|
class: "text-body-large text-on-surface"
|
|
5432
|
-
},
|
|
5435
|
+
}, As = /* @__PURE__ */ m({
|
|
5433
5436
|
__name: "MSwitch",
|
|
5434
5437
|
props: {
|
|
5435
5438
|
modelValue: { type: Boolean },
|
|
@@ -5451,7 +5454,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5451
5454
|
checked: t.modelValue,
|
|
5452
5455
|
disabled: t.disabled,
|
|
5453
5456
|
onChange: r[0] ||= (e) => a("update:modelValue", !t.modelValue)
|
|
5454
|
-
}, null, 40,
|
|
5457
|
+
}, null, 40, Os), u("span", {
|
|
5455
5458
|
class: v(["absolute left-1 top-1/2 flex h-6 w-6 items-center justify-center rounded-full will-change-transform", t.modelValue ? "bg-on-primary shadow-sm" : "bg-outline"]),
|
|
5456
5459
|
style: y(d.value)
|
|
5457
5460
|
}, [p(i, {
|
|
@@ -5469,33 +5472,33 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5469
5472
|
class: "text-primary"
|
|
5470
5473
|
})) : c("", !0)]),
|
|
5471
5474
|
_: 1
|
|
5472
|
-
})], 6)], 2), t.label ? (C(), l("span",
|
|
5475
|
+
})], 6)], 2), t.label ? (C(), l("span", ks, A(t.label), 1)) : c("", !0)], 2));
|
|
5473
5476
|
}
|
|
5474
|
-
}),
|
|
5477
|
+
}), js = { class: "flex flex-col overflow-hidden rounded-sm border border-outline-variant" }, Ms = {
|
|
5475
5478
|
key: 0,
|
|
5476
5479
|
class: "flex flex-wrap items-center gap-3 border-b border-outline-variant bg-surface-container-lowest px-4 py-2.5"
|
|
5477
|
-
},
|
|
5480
|
+
}, Ns = {
|
|
5478
5481
|
key: 0,
|
|
5479
5482
|
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"
|
|
5480
|
-
},
|
|
5483
|
+
}, Ps = {
|
|
5481
5484
|
key: 0,
|
|
5482
5485
|
class: "rounded-full bg-primary/12 px-3 py-1 text-label-small font-medium text-primary"
|
|
5483
|
-
},
|
|
5486
|
+
}, Fs = { class: "overflow-x-auto" }, Is = { class: "w-full border-collapse" }, Ls = { class: "bg-surface-container-high" }, Rs = {
|
|
5484
5487
|
key: 0,
|
|
5485
5488
|
class: "w-12 px-4 py-3"
|
|
5486
|
-
},
|
|
5489
|
+
}, zs = ["onClick"], Bs = { class: "inline-flex items-center gap-1" }, Vs = {
|
|
5487
5490
|
key: 0,
|
|
5488
5491
|
class: "inline-flex"
|
|
5489
|
-
},
|
|
5492
|
+
}, Hs = {
|
|
5490
5493
|
key: 1,
|
|
5491
5494
|
class: "w-1 px-4 py-3"
|
|
5492
|
-
},
|
|
5495
|
+
}, Us = {
|
|
5493
5496
|
key: 0,
|
|
5494
5497
|
class: "px-4 py-3.5"
|
|
5495
|
-
},
|
|
5498
|
+
}, Ws = {
|
|
5496
5499
|
key: 1,
|
|
5497
5500
|
class: "px-4 py-3.5"
|
|
5498
|
-
},
|
|
5501
|
+
}, Gs = { key: 1 }, Ks = ["colspan"], qs = { class: "text-body-medium text-on-surface-variant" }, Js = ["onClick"], Ys = ["onClick"], Xs = { class: "border-t border-outline-variant bg-surface-container-lowest px-4 py-2" }, Zs = /* @__PURE__ */ m({
|
|
5499
5502
|
__name: "MTable",
|
|
5500
5503
|
props: {
|
|
5501
5504
|
columns: {},
|
|
@@ -5633,9 +5636,9 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5633
5636
|
return `${a[(e * 3 + t) % a.length]}%`;
|
|
5634
5637
|
}
|
|
5635
5638
|
let ee = N(), X = o(() => !!ee["row-actions"]);
|
|
5636
|
-
return (r, a) => (C(), l("div",
|
|
5637
|
-
t.searchable || r.$slots.toolbar ? (C(), l("div",
|
|
5638
|
-
t.searchable ? (C(), l("div",
|
|
5639
|
+
return (r, a) => (C(), l("div", js, [
|
|
5640
|
+
t.searchable || r.$slots.toolbar ? (C(), l("div", Ms, [
|
|
5641
|
+
t.searchable ? (C(), l("div", Ns, [
|
|
5639
5642
|
p(e, {
|
|
5640
5643
|
name: "search",
|
|
5641
5644
|
size: 16,
|
|
@@ -5663,12 +5666,12 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5663
5666
|
"leave-active-class": "transition-[opacity,transform] duration-100",
|
|
5664
5667
|
"leave-to-class": "opacity-0 scale-90"
|
|
5665
5668
|
}, {
|
|
5666
|
-
default: L(() => [t.selectable && z.value.length > 0 ? (C(), l("span",
|
|
5669
|
+
default: L(() => [t.selectable && z.value.length > 0 ? (C(), l("span", Ps, A(z.value.length) + " seleccionado" + A(z.value.length === 1 ? "" : "s"), 1)) : c("", !0)]),
|
|
5667
5670
|
_: 1
|
|
5668
5671
|
})
|
|
5669
5672
|
])) : c("", !0),
|
|
5670
|
-
u("div",
|
|
5671
|
-
t.selectable ? (C(), l("th",
|
|
5673
|
+
u("div", Fs, [u("table", Is, [u("thead", null, [u("tr", Ls, [
|
|
5674
|
+
t.selectable ? (C(), l("th", Rs, [p(Q, {
|
|
5672
5675
|
"model-value": W.value,
|
|
5673
5676
|
indeterminate: G.value,
|
|
5674
5677
|
"onUpdate:modelValue": K
|
|
@@ -5682,7 +5685,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5682
5685
|
t.sortable ? "cursor-pointer select-none hover:text-on-surface transition-colors duration-100" : ""
|
|
5683
5686
|
]),
|
|
5684
5687
|
onClick: (e) => t.sortable ? b(t.key) : void 0
|
|
5685
|
-
}, [u("span",
|
|
5688
|
+
}, [u("span", Bs, [f(A(t.label) + " ", 1), t.sortable ? (C(), l("span", Vs, [g.value === t.key && _.value === "asc" ? (C(), s(e, {
|
|
5686
5689
|
key: 0,
|
|
5687
5690
|
name: "arrow_upward",
|
|
5688
5691
|
size: 14,
|
|
@@ -5697,13 +5700,13 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5697
5700
|
name: "unfold_more",
|
|
5698
5701
|
size: 14,
|
|
5699
5702
|
class: "opacity-30"
|
|
5700
|
-
}))])) : c("", !0)])], 14,
|
|
5701
|
-
X.value ? (C(), l("th",
|
|
5703
|
+
}))])) : c("", !0)])], 14, zs))), 128)),
|
|
5704
|
+
X.value ? (C(), l("th", Hs)) : c("", !0)
|
|
5702
5705
|
])]), u("tbody", null, [t.loading ? (C(!0), l(n, { key: 0 }, E(t.perPage, (e) => (C(), l("tr", {
|
|
5703
5706
|
key: `sk-${e}`,
|
|
5704
5707
|
class: "border-t border-outline-variant"
|
|
5705
5708
|
}, [
|
|
5706
|
-
t.selectable ? (C(), l("td",
|
|
5709
|
+
t.selectable ? (C(), l("td", Us, [...a[4] ||= [u("div", { class: "h-4 w-4 animate-pulse rounded bg-on-surface/10" }, null, -1)]])) : c("", !0),
|
|
5707
5710
|
(C(!0), l(n, null, E(t.columns, (t, n) => (C(), l("td", {
|
|
5708
5711
|
key: t.key,
|
|
5709
5712
|
class: "px-4 py-3.5"
|
|
@@ -5711,20 +5714,20 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5711
5714
|
class: "h-4 animate-pulse rounded-full bg-on-surface/10",
|
|
5712
5715
|
style: y({ width: Y(e, n) })
|
|
5713
5716
|
}, null, 4)]))), 128)),
|
|
5714
|
-
X.value ? (C(), l("td",
|
|
5715
|
-
]))), 128)) : j.value.length === 0 ? (C(), l("tr",
|
|
5717
|
+
X.value ? (C(), l("td", Ws, [...a[5] ||= [u("div", { class: "ml-auto h-4 w-16 animate-pulse rounded-full bg-on-surface/10" }, null, -1)]])) : c("", !0)
|
|
5718
|
+
]))), 128)) : j.value.length === 0 ? (C(), l("tr", Gs, [u("td", {
|
|
5716
5719
|
colspan: t.columns.length + q.value,
|
|
5717
5720
|
class: "border-t border-outline-variant px-4 py-14 text-center"
|
|
5718
5721
|
}, [D(r.$slots, "empty", {}, () => [p(e, {
|
|
5719
5722
|
name: "search_off",
|
|
5720
5723
|
size: 36,
|
|
5721
5724
|
class: "mb-2 text-on-surface-variant opacity-30"
|
|
5722
|
-
}), u("p",
|
|
5725
|
+
}), u("p", qs, A(t.emptyText), 1)])], 8, Ks)])) : (C(!0), l(n, { key: 2 }, E(j.value, (e) => (C(), l("tr", {
|
|
5723
5726
|
key: V(e),
|
|
5724
5727
|
class: v([
|
|
5725
5728
|
"border-t border-outline-variant transition-colors duration-100",
|
|
5726
|
-
"hover:bg-on-surface/
|
|
5727
|
-
t.selectable && H(e) ? "bg-primary/
|
|
5729
|
+
"hover:bg-on-surface/4",
|
|
5730
|
+
t.selectable && H(e) ? "bg-primary/6" : "",
|
|
5728
5731
|
t.selectable ? "cursor-pointer" : ""
|
|
5729
5732
|
]),
|
|
5730
5733
|
onClick: (n) => t.selectable ? U(e) : void 0
|
|
@@ -5736,7 +5739,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5736
5739
|
}, [p(Q, {
|
|
5737
5740
|
"model-value": H(e),
|
|
5738
5741
|
"onUpdate:modelValue": (t) => U(e)
|
|
5739
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"])], 8,
|
|
5742
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])], 8, Ys)) : c("", !0),
|
|
5740
5743
|
(C(!0), l(n, null, E(t.columns, (t) => (C(), l("td", {
|
|
5741
5744
|
key: t.key,
|
|
5742
5745
|
class: v(["px-4 py-3 text-body-medium text-on-surface", J(t.align)])
|
|
@@ -5750,8 +5753,8 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5750
5753
|
class: "px-4 py-3 text-right",
|
|
5751
5754
|
onClick: a[2] ||= B(() => {}, ["stop"])
|
|
5752
5755
|
}, [D(r.$slots, "row-actions", { row: e })])) : c("", !0)
|
|
5753
|
-
], 10,
|
|
5754
|
-
u("div",
|
|
5756
|
+
], 10, Js))), 128))])])]),
|
|
5757
|
+
u("div", Xs, [p(Zt, {
|
|
5755
5758
|
page: w.value,
|
|
5756
5759
|
"per-page": t.perPage,
|
|
5757
5760
|
total: k.value,
|
|
@@ -5763,16 +5766,16 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5763
5766
|
])])
|
|
5764
5767
|
]));
|
|
5765
5768
|
}
|
|
5766
|
-
}),
|
|
5769
|
+
}), Qs = {
|
|
5767
5770
|
key: 0,
|
|
5768
5771
|
class: "relative border-b border-outline-variant"
|
|
5769
|
-
},
|
|
5772
|
+
}, $s = {
|
|
5770
5773
|
class: "flex overflow-x-auto",
|
|
5771
5774
|
style: { "scrollbar-width": "none" }
|
|
5772
|
-
},
|
|
5775
|
+
}, ec = ["disabled", "onClick"], tc = {
|
|
5773
5776
|
key: 1,
|
|
5774
5777
|
class: "flex flex-wrap gap-1 rounded-full bg-surface-container p-1"
|
|
5775
|
-
},
|
|
5778
|
+
}, nc = ["disabled", "onClick"], rc = /* @__PURE__ */ m({
|
|
5776
5779
|
__name: "MTabs",
|
|
5777
5780
|
props: {
|
|
5778
5781
|
modelValue: {},
|
|
@@ -5792,7 +5795,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5792
5795
|
function h(e) {
|
|
5793
5796
|
e.disabled || a("update:modelValue", e.value);
|
|
5794
5797
|
}
|
|
5795
|
-
return (r, i) => t.variant === "primary" ? (C(), l("div",
|
|
5798
|
+
return (r, i) => t.variant === "primary" ? (C(), l("div", Qs, [u("div", $s, [(C(!0), l(n, null, E(t.tabs, (n) => (C(), l("button", {
|
|
5796
5799
|
key: n.value,
|
|
5797
5800
|
ref_for: !0,
|
|
5798
5801
|
ref: (e) => {
|
|
@@ -5806,13 +5809,13 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5806
5809
|
key: 0,
|
|
5807
5810
|
name: n.icon,
|
|
5808
5811
|
size: 20
|
|
5809
|
-
}, null, 8, ["name"])) : c("", !0), u("span", null, A(n.label), 1)], 10,
|
|
5812
|
+
}, null, 8, ["name"])) : c("", !0), u("span", null, A(n.label), 1)], 10, ec))), 128))]), u("div", {
|
|
5810
5813
|
class: "absolute bottom-0 h-[3px] rounded-t-sm bg-primary transition-[left,width] duration-200 ease-[cubic-bezier(0.2,0,0,1)]",
|
|
5811
5814
|
style: y({
|
|
5812
5815
|
left: `${d.value}px`,
|
|
5813
5816
|
width: `${p.value}px`
|
|
5814
5817
|
})
|
|
5815
|
-
}, null, 4)])) : (C(), l("div",
|
|
5818
|
+
}, null, 4)])) : (C(), l("div", tc, [(C(!0), l(n, null, E(t.tabs, (n) => (C(), l("button", {
|
|
5816
5819
|
key: n.value,
|
|
5817
5820
|
type: "button",
|
|
5818
5821
|
class: v(["flex h-8 items-center gap-2 rounded-full px-4 text-label-large transition-all duration-150 focus-visible:outline-none", n.value === t.modelValue ? "bg-secondary-container text-on-secondary-container shadow-elevation-1" : n.disabled ? "cursor-not-allowed text-on-surface/38" : "cursor-pointer text-on-surface-variant hover:bg-on-surface/8 hover:text-on-surface"]),
|
|
@@ -5822,37 +5825,37 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5822
5825
|
key: 0,
|
|
5823
5826
|
name: n.icon,
|
|
5824
5827
|
size: 16
|
|
5825
|
-
}, null, 8, ["name"])) : c("", !0), f(" " + A(n.label), 1)], 10,
|
|
5828
|
+
}, null, 8, ["name"])) : c("", !0), f(" " + A(n.label), 1)], 10, nc))), 128))]));
|
|
5826
5829
|
}
|
|
5827
|
-
}),
|
|
5830
|
+
}), ic = { class: "flex flex-col gap-1" }, ac = {
|
|
5828
5831
|
key: 0,
|
|
5829
5832
|
class: "pointer-events-none absolute left-3.5 top-1/2 -translate-y-1/2 text-on-surface-variant"
|
|
5830
|
-
},
|
|
5833
|
+
}, oc = [
|
|
5831
5834
|
"id",
|
|
5832
5835
|
"value",
|
|
5833
5836
|
"rows",
|
|
5834
5837
|
"disabled",
|
|
5835
5838
|
"required"
|
|
5836
|
-
],
|
|
5839
|
+
], sc = [
|
|
5837
5840
|
"id",
|
|
5838
5841
|
"type",
|
|
5839
5842
|
"value",
|
|
5840
5843
|
"disabled",
|
|
5841
5844
|
"required",
|
|
5842
5845
|
"autocomplete"
|
|
5843
|
-
],
|
|
5846
|
+
], cc = ["for"], lc = {
|
|
5844
5847
|
key: 0,
|
|
5845
5848
|
class: "text-error"
|
|
5846
|
-
},
|
|
5849
|
+
}, uc = {
|
|
5847
5850
|
key: 3,
|
|
5848
5851
|
class: "absolute top-1/2 right-2 -translate-y-1/2"
|
|
5849
|
-
},
|
|
5852
|
+
}, dc = {
|
|
5850
5853
|
key: 0,
|
|
5851
5854
|
class: "px-4 text-body-small text-error"
|
|
5852
|
-
},
|
|
5855
|
+
}, fc = {
|
|
5853
5856
|
key: 1,
|
|
5854
5857
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
5855
|
-
},
|
|
5858
|
+
}, pc = /* @__PURE__ */ m({
|
|
5856
5859
|
__name: "MTextField",
|
|
5857
5860
|
props: {
|
|
5858
5861
|
modelValue: {},
|
|
@@ -5913,13 +5916,13 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5913
5916
|
let t = e.target;
|
|
5914
5917
|
i("update:modelValue", t.value);
|
|
5915
5918
|
}
|
|
5916
|
-
return (n, r) => (C(), l("div",
|
|
5919
|
+
return (n, r) => (C(), l("div", ic, [u("div", {
|
|
5917
5920
|
ref_key: "fieldBgEl",
|
|
5918
5921
|
ref: d,
|
|
5919
5922
|
class: v(["relative", t.variant === "outlined" ? "mt-2" : ""]),
|
|
5920
5923
|
style: y(t.variant === "outlined" ? { "--field-bg": j(m) } : void 0)
|
|
5921
5924
|
}, [
|
|
5922
|
-
t.leadingIcon ? (C(), l("div",
|
|
5925
|
+
t.leadingIcon ? (C(), l("div", ac, [p(e, {
|
|
5923
5926
|
name: t.leadingIcon,
|
|
5924
5927
|
size: 20
|
|
5925
5928
|
}, null, 8, ["name"])])) : c("", !0),
|
|
@@ -5933,7 +5936,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5933
5936
|
placeholder: " ",
|
|
5934
5937
|
class: v(h.value),
|
|
5935
5938
|
onInput: _
|
|
5936
|
-
}, null, 42,
|
|
5939
|
+
}, null, 42, oc)) : (C(), l("input", {
|
|
5937
5940
|
key: 2,
|
|
5938
5941
|
id: j(a),
|
|
5939
5942
|
type: t.type,
|
|
@@ -5944,33 +5947,33 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5944
5947
|
placeholder: " ",
|
|
5945
5948
|
class: v(h.value),
|
|
5946
5949
|
onInput: _
|
|
5947
|
-
}, null, 42,
|
|
5950
|
+
}, null, 42, sc)),
|
|
5948
5951
|
u("label", {
|
|
5949
5952
|
for: j(a),
|
|
5950
5953
|
class: v(g.value)
|
|
5951
|
-
}, [f(A(t.label), 1), t.required ? (C(), l("span",
|
|
5952
|
-
n.$slots.trailing ? (C(), l("div",
|
|
5953
|
-
], 6), t.error ? (C(), l("p",
|
|
5954
|
+
}, [f(A(t.label), 1), t.required ? (C(), l("span", lc, "\xA0*")) : c("", !0)], 10, cc),
|
|
5955
|
+
n.$slots.trailing ? (C(), l("div", uc, [D(n.$slots, "trailing")])) : c("", !0)
|
|
5956
|
+
], 6), t.error ? (C(), l("p", dc, A(t.error), 1)) : t.hint ? (C(), l("p", fc, A(t.hint), 1)) : c("", !0)]));
|
|
5954
5957
|
}
|
|
5955
|
-
}),
|
|
5958
|
+
}), mc = { class: "flex flex-col items-center" }, hc = { class: "flex items-baseline justify-between gap-2" }, gc = { class: "text-body-large font-medium text-on-surface" }, _c = {
|
|
5956
5959
|
key: 0,
|
|
5957
5960
|
class: "shrink-0 text-label-small text-on-surface-variant"
|
|
5958
|
-
},
|
|
5961
|
+
}, vc = {
|
|
5959
5962
|
key: 0,
|
|
5960
5963
|
class: "mt-1 text-body-medium text-on-surface-variant"
|
|
5961
|
-
},
|
|
5964
|
+
}, yc = {
|
|
5962
5965
|
key: 1,
|
|
5963
5966
|
class: "mt-2"
|
|
5964
|
-
},
|
|
5967
|
+
}, bc = { class: "text-body-large font-medium text-on-surface" }, xc = {
|
|
5965
5968
|
key: 0,
|
|
5966
5969
|
class: "mt-1 text-body-medium text-on-surface-variant"
|
|
5967
|
-
},
|
|
5970
|
+
}, Sc = {
|
|
5968
5971
|
key: 1,
|
|
5969
5972
|
class: "mt-1 inline-block text-label-small text-on-surface-variant"
|
|
5970
|
-
},
|
|
5973
|
+
}, Cc = { class: "flex w-14 shrink-0 flex-col items-center" }, wc = {
|
|
5971
5974
|
key: 0,
|
|
5972
5975
|
class: "w-[2px] flex-1 bg-outline-variant"
|
|
5973
|
-
},
|
|
5976
|
+
}, Tc = /* @__PURE__ */ m({
|
|
5974
5977
|
__name: "MTimeline",
|
|
5975
5978
|
props: {
|
|
5976
5979
|
items: {},
|
|
@@ -5996,24 +5999,24 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
5996
5999
|
class: v(["flex items-stretch", i % 2 == 0 ? "flex-row" : "flex-row-reverse"])
|
|
5997
6000
|
}, [
|
|
5998
6001
|
u("div", { class: v(["flex-1", [i % 2 == 0 ? "text-right" : "text-left", t.dense ? "pb-4" : "pb-8"]]) }, [
|
|
5999
|
-
u("p",
|
|
6000
|
-
n.description ? (C(), l("p",
|
|
6001
|
-
n.date ? (C(), l("span",
|
|
6002
|
+
u("p", bc, A(n.title), 1),
|
|
6003
|
+
n.description ? (C(), l("p", xc, A(n.description), 1)) : c("", !0),
|
|
6004
|
+
n.date ? (C(), l("span", Sc, A(n.date), 1)) : c("", !0)
|
|
6002
6005
|
], 2),
|
|
6003
|
-
u("div",
|
|
6004
|
-
class: v(["z-
|
|
6006
|
+
u("div", Cc, [u("div", {
|
|
6007
|
+
class: v(["z-1 flex shrink-0 items-center justify-center rounded-full", [n.icon ? "h-9 w-9" : "h-3.5 w-3.5", r[n.color ?? "primary"]]]),
|
|
6005
6008
|
style: y(n.dotColor ? { backgroundColor: n.dotColor } : void 0)
|
|
6006
6009
|
}, [n.icon ? (C(), s(e, {
|
|
6007
6010
|
key: 0,
|
|
6008
6011
|
name: n.icon,
|
|
6009
6012
|
size: 18
|
|
6010
|
-
}, null, 8, ["name"])) : c("", !0)], 6), i < t.items.length - 1 ? (C(), l("div",
|
|
6013
|
+
}, null, 8, ["name"])) : c("", !0)], 6), i < t.items.length - 1 ? (C(), l("div", wc)) : c("", !0)]),
|
|
6011
6014
|
a[0] ||= u("div", { class: "flex-1" }, null, -1)
|
|
6012
6015
|
], 2))), 128)) : (C(!0), l(n, { key: 0 }, E(t.items, (n, a) => (C(), l("div", {
|
|
6013
6016
|
key: a,
|
|
6014
6017
|
class: v(["relative flex gap-4", t.dense ? "pb-4" : "pb-8"])
|
|
6015
|
-
}, [u("div",
|
|
6016
|
-
class: v(["z-
|
|
6018
|
+
}, [u("div", mc, [u("div", {
|
|
6019
|
+
class: v(["z-1 flex shrink-0 items-center justify-center rounded-full", [n.icon ? "h-9 w-9" : "h-3 w-3", r[n.color ?? "primary"]]]),
|
|
6017
6020
|
style: y(n.dotColor ? { backgroundColor: n.dotColor } : void 0)
|
|
6018
6021
|
}, [n.icon ? (C(), s(e, {
|
|
6019
6022
|
key: 0,
|
|
@@ -6024,30 +6027,30 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6024
6027
|
class: v(["w-[2px] flex-1", r[n.color ?? "primary"].split(" ")[0] + "/30"]),
|
|
6025
6028
|
style: { "min-height": "16px" }
|
|
6026
6029
|
}, null, 2)) : c("", !0)]), u("div", { class: v([n.icon ? "" : "pt-0", "-mt-0.5 flex-1"]) }, [
|
|
6027
|
-
u("div",
|
|
6028
|
-
n.description ? (C(), l("p",
|
|
6029
|
-
i.$slots[`item-${a}`] ? (C(), l("div",
|
|
6030
|
+
u("div", hc, [u("p", gc, A(n.title), 1), n.date ? (C(), l("span", _c, A(n.date), 1)) : c("", !0)]),
|
|
6031
|
+
n.description ? (C(), l("p", vc, A(n.description), 1)) : c("", !0),
|
|
6032
|
+
i.$slots[`item-${a}`] ? (C(), l("div", yc, [D(i.$slots, `item-${a}`, { item: n })])) : c("", !0)
|
|
6030
6033
|
], 2)], 2))), 128))], 2));
|
|
6031
6034
|
}
|
|
6032
|
-
}),
|
|
6035
|
+
}), Ec = { class: "flex flex-col gap-1" }, Dc = {
|
|
6033
6036
|
key: 0,
|
|
6034
6037
|
class: "flex-1 font-mono text-on-surface"
|
|
6035
|
-
},
|
|
6038
|
+
}, Oc = {
|
|
6036
6039
|
key: 1,
|
|
6037
6040
|
class: "flex-1 text-on-surface-variant"
|
|
6038
|
-
},
|
|
6041
|
+
}, kc = {
|
|
6039
6042
|
key: 0,
|
|
6040
6043
|
class: "px-4 text-body-small text-error"
|
|
6041
|
-
},
|
|
6044
|
+
}, Ac = {
|
|
6042
6045
|
key: 1,
|
|
6043
6046
|
class: "px-4 text-body-small text-on-surface-variant"
|
|
6044
|
-
},
|
|
6047
|
+
}, jc = { class: "flex items-center justify-center gap-1 border-b border-outline-variant px-4 py-4" }, Mc = { class: "p-3" }, Nc = {
|
|
6045
6048
|
key: 0,
|
|
6046
6049
|
class: "grid grid-cols-6 gap-1"
|
|
6047
|
-
},
|
|
6050
|
+
}, Pc = ["onClick"], Fc = {
|
|
6048
6051
|
key: 1,
|
|
6049
6052
|
class: "grid grid-cols-6 gap-1"
|
|
6050
|
-
},
|
|
6053
|
+
}, Ic = ["onClick"], Lc = /* @__PURE__ */ m({
|
|
6051
6054
|
__name: "MTimePicker",
|
|
6052
6055
|
props: {
|
|
6053
6056
|
modelValue: {},
|
|
@@ -6124,7 +6127,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6124
6127
|
e ? (_.value = "hour", O.value = D.value.h, k.value = D.value.m, H(), setTimeout(() => document.addEventListener("mousedown", U), 0)) : document.removeEventListener("mousedown", U);
|
|
6125
6128
|
}), x(() => window.addEventListener("scroll", W, !0)), S(() => {
|
|
6126
6129
|
window.removeEventListener("scroll", W, !0), document.removeEventListener("mousedown", U);
|
|
6127
|
-
}), (a, o) => (C(), l("div",
|
|
6130
|
+
}), (a, o) => (C(), l("div", Ec, [
|
|
6128
6131
|
u("div", {
|
|
6129
6132
|
ref_key: "triggerEl",
|
|
6130
6133
|
ref: h,
|
|
@@ -6140,7 +6143,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6140
6143
|
size: 20,
|
|
6141
6144
|
class: "shrink-0 text-on-surface-variant"
|
|
6142
6145
|
}),
|
|
6143
|
-
V.value ? (C(), l("span",
|
|
6146
|
+
V.value ? (C(), l("span", Dc, A(V.value), 1)) : (C(), l("span", Oc, A(t.label || "Seleccionar hora"), 1)),
|
|
6144
6147
|
t.modelValue ? (C(), s(e, {
|
|
6145
6148
|
key: 2,
|
|
6146
6149
|
name: "close",
|
|
@@ -6150,9 +6153,9 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6150
6153
|
})) : c("", !0)
|
|
6151
6154
|
], 2), t.label ? (C(), l("label", {
|
|
6152
6155
|
key: 0,
|
|
6153
|
-
class: v(["pointer-events-none absolute -top-2.5 left-3 bg-
|
|
6156
|
+
class: v(["pointer-events-none absolute -top-2.5 left-3 bg-(--field-bg) px-1 text-label-small transition-colors", m.value ? t.error ? "text-error" : "text-primary" : t.error ? "text-error" : "text-on-surface-variant"])
|
|
6154
6157
|
}, A(t.label), 3)) : c("", !0)], 4),
|
|
6155
|
-
t.error ? (C(), l("p",
|
|
6158
|
+
t.error ? (C(), l("p", kc, A(t.error), 1)) : t.hint ? (C(), l("p", Ac, A(t.hint), 1)) : c("", !0),
|
|
6156
6159
|
(C(), s(r, { to: "body" }, [p(i, {
|
|
6157
6160
|
"enter-active-class": "transition-[opacity,transform] duration-150",
|
|
6158
6161
|
"enter-from-class": "opacity-0 -translate-y-1 scale-[0.98]",
|
|
@@ -6163,9 +6166,9 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6163
6166
|
key: 0,
|
|
6164
6167
|
ref_key: "panelEl",
|
|
6165
6168
|
ref: g,
|
|
6166
|
-
class: "fixed z-
|
|
6169
|
+
class: "fixed z-500 w-[280px] rounded-lg bg-surface-container shadow-elevation-3",
|
|
6167
6170
|
style: y(b.value)
|
|
6168
|
-
}, [u("div",
|
|
6171
|
+
}, [u("div", jc, [
|
|
6169
6172
|
u("button", {
|
|
6170
6173
|
type: "button",
|
|
6171
6174
|
class: v(["rounded-lg px-3 py-2 font-mono text-headline-medium transition-colors", _.value === "hour" ? "bg-primary-container text-on-primary-container cursor-default" : "cursor-pointer text-on-surface-variant hover:bg-on-surface/8"]),
|
|
@@ -6177,22 +6180,22 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6177
6180
|
class: v(["rounded-lg px-3 py-2 font-mono text-headline-medium transition-colors", _.value === "minute" ? "bg-primary-container text-on-primary-container cursor-default" : "cursor-pointer text-on-surface-variant hover:bg-on-surface/8"]),
|
|
6178
6181
|
onClick: o[2] ||= (e) => _.value = "minute"
|
|
6179
6182
|
}, A(P(k.value)), 3)
|
|
6180
|
-
]), u("div",
|
|
6183
|
+
]), u("div", Mc, [_.value === "hour" ? (C(), l("div", Nc, [(C(!0), l(n, null, E(j(M), (e) => (C(), l("button", {
|
|
6181
6184
|
key: e,
|
|
6182
6185
|
type: "button",
|
|
6183
6186
|
class: v(["flex h-9 cursor-pointer items-center justify-center rounded-full text-body-medium transition-colors duration-100", e === O.value ? "bg-primary text-on-primary" : "text-on-surface hover:bg-on-surface/8"]),
|
|
6184
6187
|
onClick: (t) => I(e)
|
|
6185
|
-
}, A(P(e)), 11,
|
|
6188
|
+
}, A(P(e)), 11, Pc))), 128))])) : (C(), l("div", Fc, [(C(!0), l(n, null, E(N.value, (e) => (C(), l("button", {
|
|
6186
6189
|
key: e,
|
|
6187
6190
|
type: "button",
|
|
6188
6191
|
class: v(["flex h-9 cursor-pointer items-center justify-center rounded-full text-body-medium transition-colors duration-100", e === k.value ? "bg-primary text-on-primary" : "text-on-surface hover:bg-on-surface/8"]),
|
|
6189
6192
|
onClick: (t) => R(e)
|
|
6190
|
-
}, A(P(e)), 11,
|
|
6193
|
+
}, A(P(e)), 11, Ic))), 128))]))])], 4)) : c("", !0)]),
|
|
6191
6194
|
_: 1
|
|
6192
6195
|
})]))
|
|
6193
6196
|
]));
|
|
6194
6197
|
}
|
|
6195
|
-
}),
|
|
6198
|
+
}), Rc = /* @__PURE__ */ m({
|
|
6196
6199
|
__name: "MTooltip",
|
|
6197
6200
|
props: {
|
|
6198
6201
|
text: {},
|
|
@@ -6254,20 +6257,20 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6254
6257
|
key: 0,
|
|
6255
6258
|
ref_key: "tipEl",
|
|
6256
6259
|
ref: o,
|
|
6257
|
-
class: "pointer-events-none fixed z-
|
|
6260
|
+
class: "pointer-events-none fixed z-400 max-w-[220px] rounded bg-inverse-surface px-3 py-1.5 text-label-medium text-inverse-on-surface shadow-elevation-2",
|
|
6258
6261
|
style: y(f.value),
|
|
6259
6262
|
role: "tooltip"
|
|
6260
6263
|
}, A(e.text), 5)) : c("", !0)]),
|
|
6261
6264
|
_: 1
|
|
6262
6265
|
})]))], 64));
|
|
6263
6266
|
}
|
|
6264
|
-
}),
|
|
6267
|
+
}), zc = { class: "flex h-16 items-center gap-1 px-2" }, Bc = {
|
|
6265
6268
|
key: 2,
|
|
6266
6269
|
class: "flex-1"
|
|
6267
|
-
},
|
|
6270
|
+
}, Vc = {
|
|
6268
6271
|
key: 3,
|
|
6269
6272
|
class: "flex items-center gap-1"
|
|
6270
|
-
},
|
|
6273
|
+
}, Hc = /* @__PURE__ */ m({
|
|
6271
6274
|
__name: "MTopAppBar",
|
|
6272
6275
|
props: {
|
|
6273
6276
|
title: {},
|
|
@@ -6277,7 +6280,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6277
6280
|
},
|
|
6278
6281
|
emits: ["navigation"],
|
|
6279
6282
|
setup(e) {
|
|
6280
|
-
return (t, n) => (C(), l("header", { class: v(["flex w-full flex-col bg-surface transition-shadow", e.elevated ? "shadow-elevation-2" : ""]) }, [u("div",
|
|
6283
|
+
return (t, n) => (C(), l("header", { class: v(["flex w-full flex-col bg-surface transition-shadow", e.elevated ? "shadow-elevation-2" : ""]) }, [u("div", zc, [
|
|
6281
6284
|
e.navigationIcon ? (C(), s(Z, {
|
|
6282
6285
|
key: 0,
|
|
6283
6286
|
icon: e.navigationIcon,
|
|
@@ -6287,14 +6290,14 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6287
6290
|
e.variant === "center" || e.variant === "small" ? (C(), l("h1", {
|
|
6288
6291
|
key: 1,
|
|
6289
6292
|
class: v(["flex-1 truncate px-2 text-title-large text-on-surface", e.variant === "center" ? "text-center" : ""])
|
|
6290
|
-
}, [D(t.$slots, "title", {}, () => [f(A(e.title), 1)])], 2)) : (C(), l("div",
|
|
6291
|
-
t.$slots.actions ? (C(), l("div",
|
|
6293
|
+
}, [D(t.$slots, "title", {}, () => [f(A(e.title), 1)])], 2)) : (C(), l("div", Bc)),
|
|
6294
|
+
t.$slots.actions ? (C(), l("div", Vc, [D(t.$slots, "actions")])) : c("", !0)
|
|
6292
6295
|
]), e.variant === "medium" || e.variant === "large" ? (C(), l("div", {
|
|
6293
6296
|
key: 0,
|
|
6294
6297
|
class: v(["px-4 pb-6", e.variant === "large" ? "pt-4" : "pt-1"])
|
|
6295
6298
|
}, [u("h1", { class: v(["text-on-surface", e.variant === "large" ? "text-headline-medium" : "text-headline-small"]) }, [D(t.$slots, "title", {}, () => [f(A(e.title), 1)])], 2)], 2)) : c("", !0)], 2));
|
|
6296
6299
|
}
|
|
6297
|
-
}),
|
|
6300
|
+
}), Uc = { class: "mb-2 flex items-center justify-between" }, Wc = { class: "text-label-small text-on-surface-variant" }, Gc = { class: "mb-1 text-title-medium font-medium text-on-surface" }, Kc = { class: "mb-4 text-body-medium text-on-surface-variant" }, qc = { class: "mb-4 flex justify-center gap-1.5" }, Jc = { class: "flex justify-between" }, Yc = { key: 1 }, Xc = /* @__PURE__ */ m({
|
|
6298
6301
|
__name: "MTour",
|
|
6299
6302
|
props: {
|
|
6300
6303
|
modelValue: { type: Boolean },
|
|
@@ -6353,21 +6356,21 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6353
6356
|
}), b(M), (a, o) => (C(), s(r, { to: "body" }, [p(i, { name: "m3-tour" }, {
|
|
6354
6357
|
default: L(() => [t.modelValue && w.value ? (C(), l("div", {
|
|
6355
6358
|
key: 0,
|
|
6356
|
-
class: "fixed inset-0 z-
|
|
6359
|
+
class: "fixed inset-0 z-200 bg-black/40",
|
|
6357
6360
|
onClick: I
|
|
6358
6361
|
})) : c("", !0)]),
|
|
6359
6362
|
_: 1
|
|
6360
6363
|
}), p(i, { name: "m3-tour" }, {
|
|
6361
6364
|
default: L(() => [t.modelValue && w.value ? (C(), l("div", {
|
|
6362
6365
|
key: 0,
|
|
6363
|
-
class: "fixed z-
|
|
6366
|
+
class: "fixed z-202 w-80 rounded-xl bg-surface-container-high p-5 shadow-elevation-3",
|
|
6364
6367
|
style: y(g.value)
|
|
6365
6368
|
}, [
|
|
6366
6369
|
u("div", {
|
|
6367
6370
|
class: "h-0 w-0",
|
|
6368
6371
|
style: y(x.value)
|
|
6369
6372
|
}, null, 4),
|
|
6370
|
-
u("div",
|
|
6373
|
+
u("div", Uc, [u("span", Wc, A(h.value + 1) + " / " + A(t.steps.length), 1), u("button", {
|
|
6371
6374
|
type: "button",
|
|
6372
6375
|
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",
|
|
6373
6376
|
onClick: I
|
|
@@ -6375,13 +6378,13 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6375
6378
|
name: "close",
|
|
6376
6379
|
size: 16
|
|
6377
6380
|
})])]),
|
|
6378
|
-
u("h3",
|
|
6379
|
-
u("p",
|
|
6380
|
-
u("div",
|
|
6381
|
+
u("h3", Gc, A(w.value.title), 1),
|
|
6382
|
+
u("p", Kc, A(w.value.content), 1),
|
|
6383
|
+
u("div", qc, [(C(!0), l(n, null, E(t.steps, (e, t) => (C(), l("div", {
|
|
6381
6384
|
key: t,
|
|
6382
6385
|
class: v(["h-1.5 rounded-full transition-all duration-200", t === h.value ? "w-6 bg-primary" : "w-1.5 bg-outline-variant"])
|
|
6383
6386
|
}, null, 2))), 128))]),
|
|
6384
|
-
u("div",
|
|
6387
|
+
u("div", Jc, [D.value ? (C(), l("span", Yc)) : (C(), s(He, {
|
|
6385
6388
|
key: 0,
|
|
6386
6389
|
variant: "text",
|
|
6387
6390
|
onClick: P
|
|
@@ -6396,25 +6399,25 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6396
6399
|
_: 1
|
|
6397
6400
|
})]));
|
|
6398
6401
|
}
|
|
6399
|
-
}),
|
|
6402
|
+
}), Zc = { class: "flex items-stretch gap-2" }, Qc = { class: "flex min-w-0 flex-1 flex-col overflow-hidden rounded-lg border border-outline-variant" }, $c = { class: "flex items-center justify-between border-b border-outline-variant bg-surface-container px-3 py-2" }, el = { class: "text-label-large font-medium text-on-surface" }, tl = { class: "text-label-small text-on-surface-variant" }, nl = {
|
|
6400
6403
|
key: 0,
|
|
6401
6404
|
class: "border-b border-outline-variant px-3 py-2"
|
|
6402
|
-
},
|
|
6405
|
+
}, rl = {
|
|
6403
6406
|
class: "flex-1 overflow-y-auto",
|
|
6404
6407
|
style: { "max-height": "240px" }
|
|
6405
|
-
},
|
|
6408
|
+
}, il = ["onClick"], al = { class: "flex-1 truncate text-body-medium text-on-surface" }, ol = {
|
|
6406
6409
|
key: 0,
|
|
6407
6410
|
class: "px-3 py-4 text-center text-body-small text-on-surface-variant"
|
|
6408
|
-
},
|
|
6411
|
+
}, sl = { class: "flex flex-col items-center justify-center gap-1" }, cl = { class: "flex min-w-0 flex-1 flex-col overflow-hidden rounded-lg border border-outline-variant" }, ll = { class: "flex items-center justify-between border-b border-outline-variant bg-surface-container px-3 py-2" }, ul = { class: "text-label-large font-medium text-on-surface" }, dl = { class: "text-label-small text-on-surface-variant" }, fl = {
|
|
6409
6412
|
key: 0,
|
|
6410
6413
|
class: "border-b border-outline-variant px-3 py-2"
|
|
6411
|
-
},
|
|
6414
|
+
}, pl = {
|
|
6412
6415
|
class: "flex-1 overflow-y-auto",
|
|
6413
6416
|
style: { "max-height": "240px" }
|
|
6414
|
-
},
|
|
6417
|
+
}, ml = ["onClick"], hl = { class: "flex-1 truncate text-body-medium text-on-surface" }, gl = {
|
|
6415
6418
|
key: 0,
|
|
6416
6419
|
class: "px-3 py-4 text-center text-body-small text-on-surface-variant"
|
|
6417
|
-
},
|
|
6420
|
+
}, _l = /* @__PURE__ */ m({
|
|
6418
6421
|
__name: "MTransferList",
|
|
6419
6422
|
props: {
|
|
6420
6423
|
modelValue: {},
|
|
@@ -6466,16 +6469,16 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6466
6469
|
let e = _.value.map((e) => e.value);
|
|
6467
6470
|
a("update:modelValue", i.modelValue.filter((t) => !new Set(e).has(t))), f.value = /* @__PURE__ */ new Set();
|
|
6468
6471
|
}
|
|
6469
|
-
return (r, i) => (C(), l("div",
|
|
6470
|
-
u("div",
|
|
6471
|
-
u("div",
|
|
6472
|
-
t.filterable ? (C(), l("div",
|
|
6472
|
+
return (r, i) => (C(), l("div", Zc, [
|
|
6473
|
+
u("div", Qc, [
|
|
6474
|
+
u("div", $c, [u("span", el, A(t.sourceTitle), 1), u("span", tl, A(g.value.length), 1)]),
|
|
6475
|
+
t.filterable ? (C(), l("div", nl, [R(u("input", {
|
|
6473
6476
|
"onUpdate:modelValue": i[0] ||= (e) => m.value = e,
|
|
6474
6477
|
type: "text",
|
|
6475
6478
|
placeholder: "Buscar...",
|
|
6476
6479
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant/50"
|
|
6477
6480
|
}, null, 512), [[P, m.value]])])) : c("", !0),
|
|
6478
|
-
u("div",
|
|
6481
|
+
u("div", rl, [(C(!0), l(n, null, E(g.value, (t) => (C(), l("button", {
|
|
6479
6482
|
key: t.value,
|
|
6480
6483
|
type: "button",
|
|
6481
6484
|
class: "flex w-full cursor-pointer items-center gap-2 px-3 py-2 text-left transition-colors hover:bg-on-surface/4",
|
|
@@ -6491,10 +6494,10 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6491
6494
|
size: 18,
|
|
6492
6495
|
class: "shrink-0 text-on-surface-variant"
|
|
6493
6496
|
}, null, 8, ["name"])) : c("", !0),
|
|
6494
|
-
u("span",
|
|
6495
|
-
], 8,
|
|
6497
|
+
u("span", al, A(t.label), 1)
|
|
6498
|
+
], 8, il))), 128)), g.value.length ? c("", !0) : (C(), l("p", ol, " Sin elementos "))])
|
|
6496
6499
|
]),
|
|
6497
|
-
u("div",
|
|
6500
|
+
u("div", sl, [
|
|
6498
6501
|
p(Z, {
|
|
6499
6502
|
icon: "keyboard_double_arrow_right",
|
|
6500
6503
|
label: "Mover todos a la derecha",
|
|
@@ -6526,15 +6529,15 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6526
6529
|
onClick: w
|
|
6527
6530
|
}, null, 8, ["disabled"])
|
|
6528
6531
|
]),
|
|
6529
|
-
u("div",
|
|
6530
|
-
u("div",
|
|
6531
|
-
t.filterable ? (C(), l("div",
|
|
6532
|
+
u("div", cl, [
|
|
6533
|
+
u("div", ll, [u("span", ul, A(t.targetTitle), 1), u("span", dl, A(_.value.length), 1)]),
|
|
6534
|
+
t.filterable ? (C(), l("div", fl, [R(u("input", {
|
|
6532
6535
|
"onUpdate:modelValue": i[1] ||= (e) => h.value = e,
|
|
6533
6536
|
type: "text",
|
|
6534
6537
|
placeholder: "Buscar...",
|
|
6535
6538
|
class: "w-full bg-transparent text-body-medium text-on-surface outline-none placeholder:text-on-surface-variant/50"
|
|
6536
6539
|
}, null, 512), [[P, h.value]])])) : c("", !0),
|
|
6537
|
-
u("div",
|
|
6540
|
+
u("div", pl, [(C(!0), l(n, null, E(_.value, (t) => (C(), l("button", {
|
|
6538
6541
|
key: t.value,
|
|
6539
6542
|
type: "button",
|
|
6540
6543
|
class: "flex w-full cursor-pointer items-center gap-2 px-3 py-2 text-left transition-colors hover:bg-on-surface/4",
|
|
@@ -6550,18 +6553,18 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6550
6553
|
size: 18,
|
|
6551
6554
|
class: "shrink-0 text-on-surface-variant"
|
|
6552
6555
|
}, null, 8, ["name"])) : c("", !0),
|
|
6553
|
-
u("span",
|
|
6554
|
-
], 8,
|
|
6556
|
+
u("span", hl, A(t.label), 1)
|
|
6557
|
+
], 8, ml))), 128)), _.value.length ? c("", !0) : (C(), l("p", gl, " Sin elementos "))])
|
|
6555
6558
|
])
|
|
6556
6559
|
]));
|
|
6557
6560
|
}
|
|
6558
|
-
}),
|
|
6561
|
+
}), vl = ["aria-expanded", "aria-selected"], yl = { class: "flex w-6 shrink-0 items-center justify-center" }, bl = ["disabled"], xl = {
|
|
6559
6562
|
key: 2,
|
|
6560
6563
|
class: "shrink-0 text-label-small tabular-nums text-on-surface-variant"
|
|
6561
|
-
},
|
|
6564
|
+
}, Sl = {
|
|
6562
6565
|
key: 0,
|
|
6563
6566
|
class: "ml-3 border-l border-outline-variant pl-2"
|
|
6564
|
-
},
|
|
6567
|
+
}, Cl = /* @__PURE__ */ m({
|
|
6565
6568
|
__name: "_MTreeNode",
|
|
6566
6569
|
props: {
|
|
6567
6570
|
node: {},
|
|
@@ -6602,11 +6605,11 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6602
6605
|
class: v([
|
|
6603
6606
|
"flex items-center gap-1 rounded-sm py-1 pr-2 transition-colors duration-100 select-none",
|
|
6604
6607
|
t.node.disabled ? "cursor-not-allowed opacity-38" : "cursor-pointer",
|
|
6605
|
-
!t.node.disabled && y.value ? "bg-primary/
|
|
6608
|
+
!t.node.disabled && y.value ? "bg-primary/10" : t.node.disabled ? "" : "hover:bg-on-surface/4"
|
|
6606
6609
|
]),
|
|
6607
6610
|
onClick: T
|
|
6608
6611
|
}, [
|
|
6609
|
-
u("div",
|
|
6612
|
+
u("div", yl, [m.value ? (C(), l("button", {
|
|
6610
6613
|
key: 0,
|
|
6611
6614
|
type: "button",
|
|
6612
6615
|
class: v(["flex h-5 w-5 items-center justify-center rounded text-on-surface-variant transition-transform duration-200", _.value ? "rotate-90" : ""]),
|
|
@@ -6615,7 +6618,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6615
6618
|
}, [p(e, {
|
|
6616
6619
|
name: "chevron_right",
|
|
6617
6620
|
size: 16
|
|
6618
|
-
})], 10,
|
|
6621
|
+
})], 10, bl)) : c("", !0)]),
|
|
6619
6622
|
j(a).checkable.value ? (C(), l("div", {
|
|
6620
6623
|
key: 0,
|
|
6621
6624
|
class: "shrink-0",
|
|
@@ -6637,7 +6640,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6637
6640
|
class: v(["shrink-0 transition-colors", y.value ? "text-primary" : "text-on-surface-variant"])
|
|
6638
6641
|
}, null, 8, ["name", "class"])) : c("", !0),
|
|
6639
6642
|
u("span", { class: v(["min-w-0 flex-1 truncate text-body-medium transition-colors", y.value ? "font-medium text-primary" : "text-on-surface"]) }, [D(r.$slots, "label", { node: t.node }, () => [f(A(t.node.label), 1)])], 2),
|
|
6640
|
-
m.value && j(a).checkable.value ? (C(), l("span",
|
|
6643
|
+
m.value && j(a).checkable.value ? (C(), l("span", xl, A(x.value) + "/" + A(b.value.length), 1)) : c("", !0),
|
|
6641
6644
|
D(r.$slots, "trailing", { node: t.node })
|
|
6642
6645
|
], 2), p(i, {
|
|
6643
6646
|
onEnter: M,
|
|
@@ -6645,7 +6648,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6645
6648
|
onLeave: P,
|
|
6646
6649
|
onAfterLeave: F
|
|
6647
6650
|
}, {
|
|
6648
|
-
default: L(() => [_.value && m.value ? (C(), l("div",
|
|
6651
|
+
default: L(() => [_.value && m.value ? (C(), l("div", Sl, [(C(!0), l(n, null, E(t.node.children, (e) => (C(), s(Cl, {
|
|
6649
6652
|
key: e.id,
|
|
6650
6653
|
node: e,
|
|
6651
6654
|
depth: t.depth + 1
|
|
@@ -6654,15 +6657,15 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6654
6657
|
fn: L((e) => [D(r.$slots, t, g({ ref_for: !0 }, e ?? {}))])
|
|
6655
6658
|
}))]), 1032, ["node", "depth"]))), 128))])) : c("", !0)]),
|
|
6656
6659
|
_: 3
|
|
6657
|
-
})], 8,
|
|
6660
|
+
})], 8, vl));
|
|
6658
6661
|
}
|
|
6659
|
-
}),
|
|
6662
|
+
}), wl = {
|
|
6660
6663
|
role: "tree",
|
|
6661
6664
|
class: "flex flex-col"
|
|
6662
|
-
},
|
|
6665
|
+
}, Tl = {
|
|
6663
6666
|
key: 1,
|
|
6664
6667
|
class: "flex flex-col items-center gap-2 py-10 text-on-surface-variant"
|
|
6665
|
-
},
|
|
6668
|
+
}, El = { class: "text-body-medium" }, Dl = /* @__PURE__ */ m({
|
|
6666
6669
|
__name: "MTree",
|
|
6667
6670
|
props: {
|
|
6668
6671
|
nodes: {},
|
|
@@ -6728,26 +6731,26 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6728
6731
|
return r({
|
|
6729
6732
|
expandAll: k,
|
|
6730
6733
|
collapseAll: j
|
|
6731
|
-
}), (r, i) => (C(), l("div",
|
|
6734
|
+
}), (r, i) => (C(), l("div", wl, [t.nodes.length ? (C(!0), l(n, { key: 0 }, E(t.nodes, (e) => (C(), s(Cl, {
|
|
6732
6735
|
key: e.id,
|
|
6733
6736
|
node: e,
|
|
6734
6737
|
depth: 0
|
|
6735
6738
|
}, d({ _: 2 }, [E(r.$slots, (e, t) => ({
|
|
6736
6739
|
name: t,
|
|
6737
6740
|
fn: L((e) => [D(r.$slots, t, g({ ref_for: !0 }, e ?? {}))])
|
|
6738
|
-
}))]), 1032, ["node"]))), 128)) : (C(), l("div",
|
|
6741
|
+
}))]), 1032, ["node"]))), 128)) : (C(), l("div", Tl, [p(e, {
|
|
6739
6742
|
name: "account_tree",
|
|
6740
6743
|
size: 32,
|
|
6741
6744
|
class: "opacity-30"
|
|
6742
|
-
}), u("p",
|
|
6745
|
+
}), u("p", El, A(t.emptyText), 1)]))]));
|
|
6743
6746
|
}
|
|
6744
|
-
}),
|
|
6747
|
+
}), Ol = { class: "flex flex-col overflow-hidden rounded-sm border border-outline-variant" }, kl = {
|
|
6745
6748
|
key: 0,
|
|
6746
6749
|
class: "flex items-center gap-2 border-b border-outline-variant bg-surface-container-lowest px-4 py-2"
|
|
6747
|
-
},
|
|
6750
|
+
}, Al = { class: "overflow-x-auto" }, jl = { class: "w-full border-collapse" }, Ml = { class: "bg-surface-container-high" }, Nl = ["onClick"], Pl = ["onClick"], Fl = {
|
|
6748
6751
|
key: 1,
|
|
6749
6752
|
class: "w-6 shrink-0"
|
|
6750
|
-
},
|
|
6753
|
+
}, Il = { key: 0 }, Ll = ["colspan"], Rl = /* @__PURE__ */ m({
|
|
6751
6754
|
__name: "MTreeTable",
|
|
6752
6755
|
props: {
|
|
6753
6756
|
columns: {},
|
|
@@ -6802,10 +6805,10 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6802
6805
|
function x(e) {
|
|
6803
6806
|
return e === "center" ? "text-center" : e === "right" ? "text-right" : "text-left";
|
|
6804
6807
|
}
|
|
6805
|
-
return (r, i) => (C(), l("div",
|
|
6808
|
+
return (r, i) => (C(), l("div", Ol, [r.$slots.toolbar ? (C(), l("div", kl, [D(r.$slots, "toolbar", {
|
|
6806
6809
|
expandAll: _,
|
|
6807
6810
|
collapseAll: b
|
|
6808
|
-
})])) : c("", !0), u("div",
|
|
6811
|
+
})])) : c("", !0), u("div", Al, [u("table", jl, [u("thead", null, [u("tr", Ml, [(C(!0), l(n, null, E(t.columns, (e, n) => (C(), l("th", {
|
|
6809
6812
|
key: e.key,
|
|
6810
6813
|
style: y(e.width ? { width: e.width } : void 0),
|
|
6811
6814
|
class: v([
|
|
@@ -6815,7 +6818,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6815
6818
|
])
|
|
6816
6819
|
}, A(e.label), 7))), 128))])]), u("tbody", null, [(C(!0), l(n, null, E(g.value, (i, o) => (C(), l("tr", {
|
|
6817
6820
|
key: i.row[t.rowKey] ?? o,
|
|
6818
|
-
class: v(["border-t border-outline-variant transition-colors duration-100 hover:bg-on-surface/
|
|
6821
|
+
class: v(["border-t border-outline-variant transition-colors duration-100 hover:bg-on-surface/4", i.depth > 0 ? "bg-surface-container-lowest/50" : ""]),
|
|
6819
6822
|
onClick: (e) => a("rowClick", i.row)
|
|
6820
6823
|
}, [(C(!0), l(n, null, E(t.columns, (n, a) => (C(), l("td", {
|
|
6821
6824
|
key: n.key,
|
|
@@ -6836,7 +6839,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6836
6839
|
}, [p(e, {
|
|
6837
6840
|
name: "chevron_right",
|
|
6838
6841
|
size: 18
|
|
6839
|
-
})], 10,
|
|
6842
|
+
})], 10, Pl)) : (C(), l("span", Fl)), D(r.$slots, `cell-${n.key}`, {
|
|
6840
6843
|
row: i.row,
|
|
6841
6844
|
value: i.row[n.key],
|
|
6842
6845
|
depth: i.depth
|
|
@@ -6845,19 +6848,19 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6845
6848
|
row: i.row,
|
|
6846
6849
|
value: i.row[n.key],
|
|
6847
6850
|
depth: i.depth
|
|
6848
|
-
}, () => [f(A(i.row[n.key] ?? "—"), 1)])], 2))), 128))], 10,
|
|
6851
|
+
}, () => [f(A(i.row[n.key] ?? "—"), 1)])], 2))), 128))], 10, Nl))), 128)), g.value.length ? c("", !0) : (C(), l("tr", Il, [u("td", {
|
|
6849
6852
|
colspan: t.columns.length,
|
|
6850
6853
|
class: "border-t border-outline-variant px-4 py-10 text-center"
|
|
6851
6854
|
}, [p(e, {
|
|
6852
6855
|
name: "account_tree",
|
|
6853
6856
|
size: 36,
|
|
6854
6857
|
class: "mb-2 text-on-surface-variant opacity-30"
|
|
6855
|
-
}), i[0] ||= u("p", { class: "text-body-medium text-on-surface-variant" }, "Sin datos", -1)], 8,
|
|
6858
|
+
}), i[0] ||= u("p", { class: "text-body-medium text-on-surface-variant" }, "Sin datos", -1)], 8, Ll)]))])])])]));
|
|
6856
6859
|
}
|
|
6857
|
-
}),
|
|
6860
|
+
}), zl = { class: "flex flex-col overflow-hidden rounded-sm border border-outline-variant" }, Bl = { class: "flex bg-surface-container-high" }, Vl = ["onClick"], Hl = { class: "inline-flex items-center gap-1" }, Ul = {
|
|
6858
6861
|
key: 0,
|
|
6859
6862
|
class: "inline-flex"
|
|
6860
|
-
},
|
|
6863
|
+
}, Wl = ["onClick"], Gl = { class: "truncate" }, Kl = { class: "border-t border-outline-variant bg-surface-container-lowest px-4 py-2" }, ql = { class: "text-label-small text-on-surface-variant" }, Jl = /* @__PURE__ */ m({
|
|
6861
6864
|
__name: "MVirtualTable",
|
|
6862
6865
|
props: {
|
|
6863
6866
|
columns: {},
|
|
@@ -6903,8 +6906,8 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6903
6906
|
function N(e) {
|
|
6904
6907
|
return e === "center" ? "text-center" : e === "right" ? "text-right" : "text-left";
|
|
6905
6908
|
}
|
|
6906
|
-
return (r, i) => (C(), l("div",
|
|
6907
|
-
u("div",
|
|
6909
|
+
return (r, i) => (C(), l("div", zl, [
|
|
6910
|
+
u("div", Bl, [(C(!0), l(n, null, E(t.columns, (t) => (C(), l("div", {
|
|
6908
6911
|
key: t.key,
|
|
6909
6912
|
style: y({
|
|
6910
6913
|
width: t.width || "auto",
|
|
@@ -6916,7 +6919,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6916
6919
|
t.sortable ? "cursor-pointer select-none hover:text-on-surface transition-colors" : ""
|
|
6917
6920
|
]),
|
|
6918
6921
|
onClick: (e) => t.sortable ? _(t.key) : void 0
|
|
6919
|
-
}, [u("span",
|
|
6922
|
+
}, [u("span", Hl, [f(A(t.label) + " ", 1), t.sortable ? (C(), l("span", Ul, [h.value === t.key && g.value === "asc" ? (C(), s(e, {
|
|
6920
6923
|
key: 0,
|
|
6921
6924
|
name: "arrow_upward",
|
|
6922
6925
|
size: 14,
|
|
@@ -6931,7 +6934,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6931
6934
|
name: "unfold_more",
|
|
6932
6935
|
size: 14,
|
|
6933
6936
|
class: "opacity-30"
|
|
6934
|
-
}))])) : c("", !0)])], 14,
|
|
6937
|
+
}))])) : c("", !0)])], 14, Vl))), 128))]),
|
|
6935
6938
|
u("div", {
|
|
6936
6939
|
ref_key: "scrollEl",
|
|
6937
6940
|
ref: d,
|
|
@@ -6943,7 +6946,7 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6943
6946
|
style: y({ height: `${w.value}px` })
|
|
6944
6947
|
}, [(C(!0), l(n, null, E(k.value, ({ row: e, index: i, top: o }) => (C(), l("div", {
|
|
6945
6948
|
key: e[t.rowKey] ?? i,
|
|
6946
|
-
class: v(["absolute left-0 right-0 flex border-t border-outline-variant transition-colors duration-75 hover:bg-on-surface/
|
|
6949
|
+
class: v(["absolute left-0 right-0 flex border-t border-outline-variant transition-colors duration-75 hover:bg-on-surface/4", i % 2 == 0 ? "" : "bg-surface-container-lowest/50"]),
|
|
6947
6950
|
style: y({
|
|
6948
6951
|
top: `${o}px`,
|
|
6949
6952
|
height: `${t.rowHeight}px`
|
|
@@ -6959,12 +6962,12 @@ var pe = { class: "min-w-0 flex-1" }, me = {
|
|
|
6959
6962
|
}, [D(r.$slots, `cell-${t.key}`, {
|
|
6960
6963
|
row: e,
|
|
6961
6964
|
value: e[t.key]
|
|
6962
|
-
}, () => [u("span",
|
|
6963
|
-
u("div",
|
|
6965
|
+
}, () => [u("span", Gl, A(e[t.key] ?? "—"), 1)])], 6))), 128))], 14, Wl))), 128))], 4)], 36),
|
|
6966
|
+
u("div", Kl, [u("span", ql, [f(A(S.value.length.toLocaleString()) + " filas ", 1), O.value.end - O.value.start < S.value.length ? (C(), l(n, { key: 0 }, [f(" · mostrando " + A(O.value.start + 1) + "–" + A(O.value.end), 1)], 64)) : c("", !0)])])
|
|
6964
6967
|
]));
|
|
6965
6968
|
}
|
|
6966
6969
|
});
|
|
6967
6970
|
//#endregion
|
|
6968
|
-
export { _e as MAlert, xe as MAppBar, Se as MAvatar, Te as MBadge, je as MBottomSheet, Pe as MBreadcrumbs, He as MButton, tt as MCalendar, ct as MCard, Q as MCheckbox, ft as MChip, Ct as MColorPicker, Nt as MCommandPalette, Bt as MConfirmDialog, Vt as MContainer, Jt as MContextMenu,
|
|
6971
|
+
export { _e as MAlert, xe as MAppBar, Se as MAvatar, Te as MBadge, je as MBottomSheet, Pe as MBreadcrumbs, He as MButton, tt as MCalendar, ct as MCard, Q as MCheckbox, ft as MChip, Ct as MColorPicker, Nt as MCommandPalette, Bt as MConfirmDialog, Vt as MContainer, Jt as MContextMenu, wn as MDataTable, Fn as MDatePicker, qn as MDateRangePicker, Rt as MDialog, Zn as MDivider, rr as MDragDropList, ir as MEmptyState, dr as MExpansionPanel, gr as MFab, Ar as MFileUpload, jr as MGrid, Lr as MHotkeys, e as MIcon, Z as MIconButton, Vr as MInfiniteScroll, Xr as MJsonViewer, oi as MKanban, ui as MLoadingOverlay, di as MMasonry, fi as MMenu, pi as MMenuItem, ki as MMultiSelect, Mi as MNavigationBar, oa as MNavigationDrawer, ua as MNavigationRail, Zt as MPagination, Ea as MProgressBar, ja as MRadio, Pa as MRadioGroup, Ia as MRating, Ua as MResult, ao as MScheduler, co as MSegmentedButton, So as MSelect, Oo as MSideSheet, Ao as MSkeleton, Io as MSlider, Vo as MSnackbar, Be as MSpinner, Ho as MSplitter, ts as MSpotlightSearch, ns as MStack, ds as MStatCard, Ds as MStepper, As as MSwitch, Zs as MTable, rc as MTabs, pc as MTextField, Lc as MTimePicker, Tc as MTimeline, Rc as MTooltip, Hc as MTopAppBar, Xc as MTour, _l as MTransferList, Dl as MTree, Rl as MTreeTable, Jl as MVirtualTable, V as createM3UI, K as palettes, J as useColorPalette, fe as useFieldBg, G as useTheme, ce as useToast };
|
|
6969
6972
|
|
|
6970
6973
|
//# sourceMappingURL=m3ui.js.map
|