@gemafajarramadhan/dynamic-ui 1.4.46 → 1.4.47
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.
|
@@ -2,7 +2,7 @@ var m5 = Object.defineProperty;
|
|
|
2
2
|
var p5 = (t, e, n) => e in t ? m5(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var v = (t, e, n) => p5(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
4
|
import * as Lw from "vue";
|
|
5
|
-
import { computed as ee, ref as ge, shallowRef as Z0, watch as it, getCurrentScope as g5, onScopeDispose as b5, shallowReadonly as ic, unref as H, defineComponent as rt, useAttrs as ti, inject as un, onMounted as nn, onBeforeUnmount as Hn, withDirectives as fn, openBlock as w, createElementBlock as P, normalizeClass as Fe, normalizeStyle as Mt, createCommentVNode as ue, createElementVNode as x, Fragment as
|
|
5
|
+
import { computed as ee, ref as ge, shallowRef as Z0, watch as it, getCurrentScope as g5, onScopeDispose as b5, shallowReadonly as ic, unref as H, defineComponent as rt, useAttrs as ti, inject as un, onMounted as nn, onBeforeUnmount as Hn, withDirectives as fn, openBlock as w, createElementBlock as P, normalizeClass as Fe, normalizeStyle as Mt, createCommentVNode as ue, createElementVNode as x, Fragment as Ge, createTextVNode as ot, toDisplayString as he, renderSlot as Tt, createBlock as ze, resolveDynamicComponent as $t, mergeProps as Zt, withModifiers as Nt, createVNode as ke, Teleport as Al, renderList as _t, vShow as Nn, onUnmounted as Io, withCtx as We, normalizeProps as Do, guardReactiveProps as Oo, nextTick as Ni, Transition as As, useSlots as y5, Comment as v5, Text as w5, vModelText as Vr, toRef as _f, withKeys as nl, reactive as en, toRaw as Cs, provide as Dd, createApp as _5, h as vh, isVNode as h2, cloneVNode as k5, watchEffect as ha, useModel as x5, getCurrentInstance as Sc, markRaw as Rw, mergeModels as Bw, toValue as Ec, version as C5, useCssVars as A5, createSlots as Y0, isRef as Lb, vModelSelect as S5, defineCustomElement as m2 } from "vue";
|
|
6
6
|
import * as pn from "lucide-vue-next";
|
|
7
7
|
import { ChevronDown as Us, Check as ko, Eye as pl, EyeOff as p2, Minus as E5, Loader2 as hi, AlertCircle as uu, X as ur, Calendar as Ap, ChevronFirst as g2, ChevronsLeft as J0, ChevronLeft as kf, ChevronRight as Sl, ChevronsRight as X0, ChevronLast as b2, Clock as Tc, ChevronUp as cm, Edit as T5, CheckCircle2 as Fw, Upload as P5, FileText as xf, Pencil as y2, Trash2 as Q0, Search as wc, Compass as M5, Download as Wc, AlertTriangle as Pc, ImageIcon as Nw, Maximize2 as ul, ZoomOut as um, ZoomIn as dm, RotateCcw as I5, RotateCw as D5, RefreshCw as $r, Circle as O5, ExternalLink as Vw, Minimize2 as L5, FileWarning as $w, Terminal as R5, User as B5, ShieldCheck as F5, Settings as N5, Globe as V5, Activity as $5, MoreHorizontal as z5, ChevronLeftIcon as v2, ChevronRightIcon as w2, SlidersHorizontal as U5, Plus as j5, CheckCircle as W5, SquarePen as H5, ToggleLeft as q5, ArrowLeft as K5, Info as G5, UploadCloud as Z5, FileCode as Y5, Code as J5, FileImage as X5, Copy as Q5, FileX as zw, Slash as eM, Home as tM, Sparkles as nM, Lightbulb as iM } from "lucide-vue-next";
|
|
8
8
|
import { Primitive as sM, useForwardPropsEmits as El, TooltipRoot as rM, TooltipPortal as oM, TooltipContent as aM, TooltipProvider as lM, TooltipTrigger as cM, Label as uM, DialogRoot as dM, DialogPortal as fM, DialogOverlay as hM, DialogContent as mM, DialogClose as pM, useForwardProps as Hr, DialogDescription as gM, DialogTitle as bM, AvatarRoot as yM, AvatarFallback as vM, AvatarImage as wM, PaginationRoot as _M, PaginationList as kM, PaginationEllipsis as xM, PaginationFirst as CM, PaginationListItem as AM, PaginationLast as SM, PaginationNext as EM, PaginationPrev as TM, SelectRoot as PM, SelectPortal as MM, SelectContent as IM, SelectViewport as DM, SelectItem as OM, SelectItemIndicator as LM, SelectItemText as RM, SelectScrollDownButton as BM, SelectScrollUpButton as FM, SelectTrigger as NM, SelectIcon as VM, SelectValue as $M, Separator as zM } from "reka-ui";
|
|
@@ -1183,7 +1183,7 @@ const OI = ["aria-busy"], LI = ["for"], RI = {
|
|
|
1183
1183
|
"item-value": et,
|
|
1184
1184
|
itemTitle: gt,
|
|
1185
1185
|
itemValue: dt,
|
|
1186
|
-
minChars:
|
|
1186
|
+
minChars: Ze,
|
|
1187
1187
|
"min-chars": Qe,
|
|
1188
1188
|
clearable: yt,
|
|
1189
1189
|
required: mt,
|
|
@@ -1251,8 +1251,8 @@ const OI = ["aria-busy"], LI = ["for"], RI = {
|
|
|
1251
1251
|
if (oe == null || oe === "") return "";
|
|
1252
1252
|
const xe = (Ye, et) => {
|
|
1253
1253
|
if (Ye == null || et == null) return !1;
|
|
1254
|
-
const gt = M(et), dt = et == null ? void 0 : et.id,
|
|
1255
|
-
return String(Ye) === String(gt) || dt != null && String(Ye) === String(dt) ||
|
|
1254
|
+
const gt = M(et), dt = et == null ? void 0 : et.id, Ze = et == null ? void 0 : et.code, Qe = O(et);
|
|
1255
|
+
return String(Ye) === String(gt) || dt != null && String(Ye) === String(dt) || Ze != null && String(Ye) === String(Ze) || Qe != null && String(Ye) === String(Qe);
|
|
1256
1256
|
}, $e = [...le.value || [], ...q.value || []];
|
|
1257
1257
|
if (Array.isArray(oe))
|
|
1258
1258
|
return oe.length ? oe.map((et) => {
|
|
@@ -1270,11 +1270,11 @@ const OI = ["aria-busy"], LI = ["for"], RI = {
|
|
|
1270
1270
|
if (!nt && !Z.value && (Ye = oe.filter((et) => O(et).toLowerCase().includes(xe))), Ye.length > 0) {
|
|
1271
1271
|
const et = (gt) => {
|
|
1272
1272
|
const dt = M(gt);
|
|
1273
|
-
return Array.isArray(E.value) ? E.value.some((
|
|
1273
|
+
return Array.isArray(E.value) ? E.value.some((Ze) => Ze == dt) : E.value == dt;
|
|
1274
1274
|
};
|
|
1275
1275
|
Ye = [...Ye].sort((gt, dt) => {
|
|
1276
|
-
const
|
|
1277
|
-
return
|
|
1276
|
+
const Ze = et(gt), Qe = et(dt);
|
|
1277
|
+
return Ze && !Qe ? -1 : !Ze && Qe ? 1 : 0;
|
|
1278
1278
|
});
|
|
1279
1279
|
}
|
|
1280
1280
|
return Ye;
|
|
@@ -1382,8 +1382,8 @@ const OI = ["aria-busy"], LI = ["for"], RI = {
|
|
|
1382
1382
|
Ye = (Vt == null ? void 0 : Vt.data) ?? Vt;
|
|
1383
1383
|
}
|
|
1384
1384
|
if (nt !== $.value) return;
|
|
1385
|
-
const
|
|
1386
|
-
oe ? (z.value =
|
|
1385
|
+
const Ze = Array.isArray(Ye) ? Ye : [];
|
|
1386
|
+
oe ? (z.value = Ze, k.value = 2) : (z.value = [...z.value, ...Ze], k.value++), Ze.length < et ? j.value = !1 : j.value = !0, T.value = !0;
|
|
1387
1387
|
} catch (Ye) {
|
|
1388
1388
|
console.error("[DCodeAutoComplete][fetchOptions] ERROR:", Ye), Y.value = `[DCodeAutoComplete][fetchOptions] ERROR: Error: ${(Ye == null ? void 0 : Ye.message) || (Ye == null ? void 0 : Ye.toString()) || "Failed to load options"}`, oe && (z.value = []), T.value = !0;
|
|
1389
1389
|
} finally {
|
|
@@ -1405,8 +1405,8 @@ const OI = ["aria-busy"], LI = ["for"], RI = {
|
|
|
1405
1405
|
(!q.value || q.value.length === 0) && Ie();
|
|
1406
1406
|
return;
|
|
1407
1407
|
}
|
|
1408
|
-
const
|
|
1409
|
-
if (
|
|
1408
|
+
const Ze = JSON.stringify(oe ?? null) === JSON.stringify(nt ?? null), Qe = JSON.stringify($e ?? null) === JSON.stringify(et ?? null);
|
|
1409
|
+
if (Ze && Qe) return;
|
|
1410
1410
|
const yt = T.value && $e != null;
|
|
1411
1411
|
Ie(yt), !Qe && $e != null && Ve();
|
|
1412
1412
|
},
|
|
@@ -1424,8 +1424,8 @@ const OI = ["aria-busy"], LI = ["for"], RI = {
|
|
|
1424
1424
|
let $e = !1, nt = xe;
|
|
1425
1425
|
const Ye = (et) => {
|
|
1426
1426
|
const gt = oe.find((dt) => {
|
|
1427
|
-
const
|
|
1428
|
-
return String(et) === String(
|
|
1427
|
+
const Ze = M(dt), Qe = dt == null ? void 0 : dt.id, yt = dt == null ? void 0 : dt.code, mt = O(dt);
|
|
1428
|
+
return String(et) === String(Ze) || Qe != null && String(et) === String(Qe) || yt != null && String(et) === String(yt) || mt != null && String(et) === String(mt);
|
|
1429
1429
|
});
|
|
1430
1430
|
if (gt) {
|
|
1431
1431
|
const dt = p.value ? gt : M(gt);
|
|
@@ -1483,7 +1483,7 @@ const OI = ["aria-busy"], LI = ["for"], RI = {
|
|
|
1483
1483
|
style: Mt(n.labelPosition === "left" || n.labelPosition === "right" ? { width: n.labelWidth } : { width: "8rem" })
|
|
1484
1484
|
}, null, 4)) : ue("", !0),
|
|
1485
1485
|
xe[6] || (xe[6] = x("div", { class: "h-10 w-full flex-1 rounded-lg bg-gray-200 dark:bg-gray-700 animate-shimmer" }, null, -1))
|
|
1486
|
-
], 2)) : (w(), P(
|
|
1486
|
+
], 2)) : (w(), P(Ge, { key: 1 }, [
|
|
1487
1487
|
x("div", {
|
|
1488
1488
|
class: Fe(["flex flex-1 w-full", [
|
|
1489
1489
|
n.labelPosition === "left" ? "flex-row items-center gap-3" : "",
|
|
@@ -1592,8 +1592,8 @@ const OI = ["aria-busy"], LI = ["for"], RI = {
|
|
|
1592
1592
|
style: { "max-height": "350px" },
|
|
1593
1593
|
onScroll: De
|
|
1594
1594
|
}, [
|
|
1595
|
-
K.value.length ? (w(), P(
|
|
1596
|
-
(w(!0), P(
|
|
1595
|
+
K.value.length ? (w(), P(Ge, { key: 0 }, [
|
|
1596
|
+
(w(!0), P(Ge, null, _t(K.value, ($e, nt) => (w(), P("button", {
|
|
1597
1597
|
key: M($e) ?? nt,
|
|
1598
1598
|
type: "button",
|
|
1599
1599
|
class: Fe([
|
|
@@ -1885,10 +1885,10 @@ const OI = ["aria-busy"], LI = ["for"], RI = {
|
|
|
1885
1885
|
class: Fe(["w-full", H(s).class]),
|
|
1886
1886
|
"aria-busy": t.skeleton
|
|
1887
1887
|
}, [
|
|
1888
|
-
t.skeleton ? (w(), P(
|
|
1888
|
+
t.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
1889
1889
|
t.label ? (w(), P("div", tD)) : ue("", !0),
|
|
1890
1890
|
G[4] || (G[4] = x("div", { class: "h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse" }, null, -1))
|
|
1891
|
-
], 64)) : (w(), P(
|
|
1891
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
1892
1892
|
t.label ? (w(), P("label", {
|
|
1893
1893
|
key: 0,
|
|
1894
1894
|
for: d.value,
|
|
@@ -1979,7 +1979,7 @@ const OI = ["aria-busy"], LI = ["for"], RI = {
|
|
|
1979
1979
|
class: "overflow-auto",
|
|
1980
1980
|
onScroll: X
|
|
1981
1981
|
}, [
|
|
1982
|
-
b.value && p.value.length === 0 && !k.value ? (w(), P("div", cD, he(t.loadingText), 1)) : B.value.length ? (w(!0), P(
|
|
1982
|
+
b.value && p.value.length === 0 && !k.value ? (w(), P("div", cD, he(t.loadingText), 1)) : B.value.length ? (w(!0), P(Ge, { key: 1 }, _t(B.value, (O, M) => (w(), P("button", {
|
|
1983
1983
|
key: re(O) ?? M,
|
|
1984
1984
|
type: "button",
|
|
1985
1985
|
class: Fe(["w-full flex justify-between text-left px-3 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-neutral-800", M === C.value ? "bg-neutral-100 dark:bg-neutral-800" : ""]),
|
|
@@ -6189,7 +6189,7 @@ const kO = (t) => new Intl.NumberFormat("id-ID", {
|
|
|
6189
6189
|
J.value
|
|
6190
6190
|
)
|
|
6191
6191
|
);
|
|
6192
|
-
return (U, W) => r.value ? (w(), P(
|
|
6192
|
+
return (U, W) => r.value ? (w(), P(Ge, { key: 0 }, [
|
|
6193
6193
|
t.skeleton ? (w(), P("div", {
|
|
6194
6194
|
key: 0,
|
|
6195
6195
|
class: Fe(S.value),
|
|
@@ -6395,9 +6395,9 @@ const kO = (t) => new Intl.NumberFormat("id-ID", {
|
|
|
6395
6395
|
])
|
|
6396
6396
|
}, [
|
|
6397
6397
|
x("div", OO, [
|
|
6398
|
-
(w(!0), P(
|
|
6398
|
+
(w(!0), P(Ge, null, _t(a.value, (_, S) => {
|
|
6399
6399
|
var A, E, V, z, I, T;
|
|
6400
|
-
return w(), P(
|
|
6400
|
+
return w(), P(Ge, {
|
|
6401
6401
|
key: _.id || _.key || _.value || S
|
|
6402
6402
|
}, [
|
|
6403
6403
|
S > 0 ? (w(), P("div", LO)) : ue("", !0),
|
|
@@ -6448,7 +6448,7 @@ const kO = (t) => new Intl.NumberFormat("id-ID", {
|
|
|
6448
6448
|
setup(t) {
|
|
6449
6449
|
const e = t, n = y5(), i = (c) => {
|
|
6450
6450
|
if (!c) return !1;
|
|
6451
|
-
const d = c(), f = (m) => m.some((p) => p.type === v5 ? !1 : p.type ===
|
|
6451
|
+
const d = c(), f = (m) => m.some((p) => p.type === v5 ? !1 : p.type === Ge ? Array.isArray(p.children) && f(p.children) : p.type === w5 ? typeof p.children == "string" && p.children.trim() !== "" : !(p.dirs && p.dirs.some((y) => {
|
|
6452
6452
|
var C;
|
|
6453
6453
|
return (y.dir === Nn || ((C = y.dir) == null ? void 0 : C.name) === "show") && y.value === !1;
|
|
6454
6454
|
})));
|
|
@@ -11492,7 +11492,7 @@ const lR = { key: 0 }, cR = /* @__PURE__ */ x("td", {
|
|
|
11492
11492
|
var r;
|
|
11493
11493
|
return w(), P("table", hR, [
|
|
11494
11494
|
x("tbody", null, [
|
|
11495
|
-
(w(!0), P(
|
|
11495
|
+
(w(!0), P(Ge, null, _t((r = i.diffChange) == null ? void 0 : r.changes, (o, a) => (w(), ze(fR, {
|
|
11496
11496
|
key: a,
|
|
11497
11497
|
line: o,
|
|
11498
11498
|
onExpand: n
|
|
@@ -11531,11 +11531,11 @@ const lR = { key: 0 }, cR = /* @__PURE__ */ x("td", {
|
|
|
11531
11531
|
}, " > "),
|
|
11532
11532
|
gR
|
|
11533
11533
|
])) : r.splitLine.hide ? ue("", !0) : (w(), P("tr", bR, [
|
|
11534
|
-
(w(!0), P(
|
|
11535
|
-
a.type === H(Ct).EMPTY ? (w(), P(
|
|
11534
|
+
(w(!0), P(Ge, null, _t([r.splitLine.left, r.splitLine.right], (a, l) => (w(), P(Ge, null, [
|
|
11535
|
+
a.type === H(Ct).EMPTY ? (w(), P(Ge, { key: 0 }, [
|
|
11536
11536
|
yR,
|
|
11537
11537
|
vR
|
|
11538
|
-
], 64)) : (w(), P(
|
|
11538
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
11539
11539
|
x("td", {
|
|
11540
11540
|
class: Fe(["blob-num", {
|
|
11541
11541
|
"blob-num-deletion": a.type === H(Ct).DELETE,
|
|
@@ -11587,7 +11587,7 @@ const lR = { key: 0 }, cR = /* @__PURE__ */ x("td", {
|
|
|
11587
11587
|
return w(), P("table", xR, [
|
|
11588
11588
|
CR,
|
|
11589
11589
|
x("tbody", null, [
|
|
11590
|
-
(w(!0), P(
|
|
11590
|
+
(w(!0), P(Ge, null, _t((r = i.diffChange) == null ? void 0 : r.changes, (o, a) => (w(), ze(kR, {
|
|
11591
11591
|
key: a,
|
|
11592
11592
|
"split-line": o,
|
|
11593
11593
|
onExpand: n
|
|
@@ -12093,7 +12093,7 @@ const r3 = () => ({
|
|
|
12093
12093
|
class: Fe(["flex flex-col gap-1 w-full", [H(n).class, a.disabled ? "cursor-not-allowed" : ""]]),
|
|
12094
12094
|
"aria-busy": a.skeleton
|
|
12095
12095
|
}, [
|
|
12096
|
-
a.skeleton ? (w(), P(
|
|
12096
|
+
a.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
12097
12097
|
x("div", {
|
|
12098
12098
|
class: Fe(["flex flex-1 w-full", [
|
|
12099
12099
|
a.labelPosition === "left" ? "flex-row items-center gap-3" : "",
|
|
@@ -12114,7 +12114,7 @@ const r3 = () => ({
|
|
|
12114
12114
|
le.value ? (w(), P("div", d3, [...M[1] || (M[1] = [
|
|
12115
12115
|
x("div", { class: "h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-shimmer" }, null, -1)
|
|
12116
12116
|
])])) : ue("", !0)
|
|
12117
|
-
], 64)) : (w(), P(
|
|
12117
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
12118
12118
|
x("div", {
|
|
12119
12119
|
class: Fe(["flex flex-1 w-full", [
|
|
12120
12120
|
a.labelPosition === "left" ? "flex-row items-center gap-3" : "",
|
|
@@ -12251,7 +12251,7 @@ const r3 = () => ({
|
|
|
12251
12251
|
]),
|
|
12252
12252
|
x("div", D3, [
|
|
12253
12253
|
x("div", O3, [
|
|
12254
|
-
(w(!0), P(
|
|
12254
|
+
(w(!0), P(Ge, null, _t(s.value, (d, f) => (w(), ze(Ud, {
|
|
12255
12255
|
key: f,
|
|
12256
12256
|
"model-value": a(d),
|
|
12257
12257
|
label: o(String(f)),
|
|
@@ -12275,7 +12275,7 @@ const r3 = () => ({
|
|
|
12275
12275
|
]),
|
|
12276
12276
|
x("div", $3, [
|
|
12277
12277
|
x("div", z3, [
|
|
12278
|
-
(w(!0), P(
|
|
12278
|
+
(w(!0), P(Ge, null, _t(r.value, (d, f) => (w(), ze(Ud, {
|
|
12279
12279
|
key: f,
|
|
12280
12280
|
"model-value": a(d),
|
|
12281
12281
|
label: o(String(f)),
|
|
@@ -20692,7 +20692,7 @@ const C7 = {
|
|
|
20692
20692
|
class: Fe([H(n).class, { "opacity-60 cursor-not-allowed": t.disabled }]),
|
|
20693
20693
|
"aria-busy": t.skeleton
|
|
20694
20694
|
}, [
|
|
20695
|
-
t.skeleton ? (w(), P(
|
|
20695
|
+
t.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
20696
20696
|
t.label ? (w(), P("div", L7)) : ue("", !0),
|
|
20697
20697
|
p[0] || (p[0] = x("div", { class: "flex items-center gap-2.5" }, [
|
|
20698
20698
|
x("div", { class: "h-4 w-4 rounded bg-gray-200 dark:bg-gray-700 animate-pulse flex-shrink-0" }),
|
|
@@ -20900,16 +20900,16 @@ const C7 = {
|
|
|
20900
20900
|
I[0] || (I[0] = ot(" Sedang memuat opsi... ", -1))
|
|
20901
20901
|
])) : ue("", !0),
|
|
20902
20902
|
A.value ? (w(), P("div", H7, [
|
|
20903
|
-
(w(), P(
|
|
20903
|
+
(w(), P(Ge, null, _t(6, (T) => x("div", {
|
|
20904
20904
|
key: `skeleton-${T}`,
|
|
20905
20905
|
class: "flex items-center gap-2.5 min-w-[120px]"
|
|
20906
20906
|
}, [...I[1] || (I[1] = [
|
|
20907
20907
|
x("div", { class: "h-4 w-4 rounded bg-gray-200 dark:bg-gray-700 animate-pulse flex-shrink-0" }, null, -1),
|
|
20908
20908
|
x("div", { class: "h-4 w-24 rounded bg-gray-200 dark:bg-gray-700 animate-pulse" }, null, -1)
|
|
20909
20909
|
])])), 64))
|
|
20910
|
-
])) : (w(), P(
|
|
20910
|
+
])) : (w(), P(Ge, { key: 2 }, [
|
|
20911
20911
|
b.value.length === 0 ? (w(), P("div", q7, " Tidak ada data ")) : (w(), P("div", K7, [
|
|
20912
|
-
(w(!0), P(
|
|
20912
|
+
(w(!0), P(Ge, null, _t(b.value, (T, k) => (w(), P("div", {
|
|
20913
20913
|
key: k,
|
|
20914
20914
|
class: "flex items-start"
|
|
20915
20915
|
}, [
|
|
@@ -21095,7 +21095,7 @@ const C7 = {
|
|
|
21095
21095
|
class: Fe(["flex flex-col gap-1.5 w-full", [H(n).class, s.disabled ? "cursor-not-allowed" : ""]]),
|
|
21096
21096
|
"aria-busy": s.skeleton
|
|
21097
21097
|
}, [
|
|
21098
|
-
s.skeleton ? (w(), P(
|
|
21098
|
+
s.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
21099
21099
|
t.label ? (w(), P("div", J7)) : ue("", !0),
|
|
21100
21100
|
le[2] || (le[2] = x("div", { class: "relative w-full" }, [
|
|
21101
21101
|
x("div", { class: "h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse" })
|
|
@@ -21103,7 +21103,7 @@ const C7 = {
|
|
|
21103
21103
|
$.value ? (w(), P("div", X7, [...le[1] || (le[1] = [
|
|
21104
21104
|
x("div", { class: "h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse" }, null, -1)
|
|
21105
21105
|
])])) : ue("", !0)
|
|
21106
|
-
], 64)) : (w(), P(
|
|
21106
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
21107
21107
|
t.label ? (w(), P("label", {
|
|
21108
21108
|
key: 0,
|
|
21109
21109
|
for: o.value,
|
|
@@ -21300,7 +21300,7 @@ const C7 = {
|
|
|
21300
21300
|
class: Fe(["flex flex-col gap-1.5 w-full", [H(n).class, s.disabled ? "cursor-not-allowed" : ""]]),
|
|
21301
21301
|
"aria-busy": s.skeleton
|
|
21302
21302
|
}, [
|
|
21303
|
-
s.skeleton ? (w(), P(
|
|
21303
|
+
s.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
21304
21304
|
t.label ? (w(), P("div", l6)) : ue("", !0),
|
|
21305
21305
|
B[1] || (B[1] = x("div", { class: "relative w-full" }, [
|
|
21306
21306
|
x("div", { class: "h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse" })
|
|
@@ -21308,7 +21308,7 @@ const C7 = {
|
|
|
21308
21308
|
T.value ? (w(), P("div", c6, [...B[0] || (B[0] = [
|
|
21309
21309
|
x("div", { class: "h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse" }, null, -1)
|
|
21310
21310
|
])])) : ue("", !0)
|
|
21311
|
-
], 64)) : (w(), P(
|
|
21311
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
21312
21312
|
t.label ? (w(), P("label", {
|
|
21313
21313
|
key: 0,
|
|
21314
21314
|
for: o.value,
|
|
@@ -25334,7 +25334,7 @@ const r$ = ["for"], o$ = {
|
|
|
25334
25334
|
style: Mt(i.labelPosition === "left" || i.labelPosition === "right" ? { width: i.labelWidth } : { width: "8rem" })
|
|
25335
25335
|
}, null, 4)) : ue("", !0),
|
|
25336
25336
|
oe[1] || (oe[1] = x("div", { class: "h-10 w-full flex-1 rounded-lg bg-gray-200 dark:bg-gray-700 animate-shimmer" }, null, -1))
|
|
25337
|
-
], 2)) : (w(), P(
|
|
25337
|
+
], 2)) : (w(), P(Ge, { key: 1 }, [
|
|
25338
25338
|
x("div", {
|
|
25339
25339
|
class: Fe(["flex flex-1 w-full", [
|
|
25340
25340
|
i.labelPosition === "left" ? "flex-row items-center gap-3" : "",
|
|
@@ -25376,7 +25376,7 @@ const r$ = ["for"], o$ = {
|
|
|
25376
25376
|
ke(H(Ap), { class: "w-4 h-4 pointer-events-none" })
|
|
25377
25377
|
], 8, a$),
|
|
25378
25378
|
oe[3] || (oe[3] = x("span", { class: "w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0" }, null, -1)),
|
|
25379
|
-
t.prependInner ? (w(), P(
|
|
25379
|
+
t.prependInner ? (w(), P(Ge, { key: 0 }, [
|
|
25380
25380
|
x("span", l$, he(t.prependInner), 1),
|
|
25381
25381
|
oe[2] || (oe[2] = x("span", { class: "w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0" }, null, -1))
|
|
25382
25382
|
], 64)) : ue("", !0),
|
|
@@ -25416,7 +25416,7 @@ const r$ = ["for"], o$ = {
|
|
|
25416
25416
|
class: "dcode-datepicker-popover pointer-events-auto font-sans bg-white dark:bg-neutral-900 border border-gray-200 dark:border-neutral-700 rounded-lg shadow-xl flex min-w-max max-h-[calc(100vh-24px)] overflow-y-auto"
|
|
25417
25417
|
}, [
|
|
25418
25418
|
t.range && qe.value.length ? (w(), P("div", u$, [
|
|
25419
|
-
(w(!0), P(
|
|
25419
|
+
(w(!0), P(Ge, null, _t(qe.value, (xe) => (w(), P("button", {
|
|
25420
25420
|
key: xe.label,
|
|
25421
25421
|
type: "button",
|
|
25422
25422
|
class: "w-full text-left text-sm px-3 py-2 rounded-md hover:bg-gray-100 dark:hover:bg-neutral-800 transition-colors",
|
|
@@ -25492,7 +25492,7 @@ const r$ = ["for"], o$ = {
|
|
|
25492
25492
|
x("div", v$, he(ne.value), 1),
|
|
25493
25493
|
x("div", w$, [
|
|
25494
25494
|
x("div", _$, [
|
|
25495
|
-
(w(!0), P(
|
|
25495
|
+
(w(!0), P(Ge, null, _t(_e.value, (xe) => (w(), P("div", {
|
|
25496
25496
|
key: xe.name,
|
|
25497
25497
|
class: Fe(["text-xs font-semibold", xe.isWeekend ? "text-red-600 dark:text-red-400" : "text-gray-700 dark:text-gray-300"])
|
|
25498
25498
|
}, he(xe.name), 3))), 128))
|
|
@@ -25501,7 +25501,7 @@ const r$ = ["for"], o$ = {
|
|
|
25501
25501
|
class: "grid grid-cols-7 text-center gap-y-0.5",
|
|
25502
25502
|
onMouseleave: oe[0] || (oe[0] = (xe) => W.value = null)
|
|
25503
25503
|
}, [
|
|
25504
|
-
(w(!0), P(
|
|
25504
|
+
(w(!0), P(Ge, null, _t(pe.value, (xe, $e) => (w(), P("div", {
|
|
25505
25505
|
key: $e,
|
|
25506
25506
|
class: Fe(["relative w-full h-8 flex items-center justify-center text-sm", [
|
|
25507
25507
|
Se(xe.date) ? "bg-gray-100 dark:bg-neutral-800" : "",
|
|
@@ -25594,10 +25594,10 @@ const r$ = ["for"], o$ = {
|
|
|
25594
25594
|
}), Lf(_f(i, "tone")), (A, E) => (w(), P("div", {
|
|
25595
25595
|
class: Fe(["flex flex-col gap-1 w-full", [H(n).class, i.disabled ? "cursor-not-allowed" : ""]])
|
|
25596
25596
|
}, [
|
|
25597
|
-
t.skeleton ? (w(), P(
|
|
25597
|
+
t.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
25598
25598
|
t.label ? (w(), P("div", C$)) : ue("", !0),
|
|
25599
25599
|
E[2] || (E[2] = x("div", { class: "h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-shimmer" }, null, -1))
|
|
25600
|
-
], 64)) : (w(), P(
|
|
25600
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
25601
25601
|
t.label ? (w(), P("label", {
|
|
25602
25602
|
key: 0,
|
|
25603
25603
|
for: o.value,
|
|
@@ -25647,7 +25647,7 @@ const r$ = ["for"], o$ = {
|
|
|
25647
25647
|
ke(H(Tc), { class: "w-4 h-4 pointer-events-none" })
|
|
25648
25648
|
]),
|
|
25649
25649
|
E[4] || (E[4] = x("span", { class: "w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0" }, null, -1)),
|
|
25650
|
-
t.prependInner ? (w(), P(
|
|
25650
|
+
t.prependInner ? (w(), P(Ge, { key: 0 }, [
|
|
25651
25651
|
x("span", T$, he(t.prependInner), 1),
|
|
25652
25652
|
E[3] || (E[3] = x("span", { class: "w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0" }, null, -1))
|
|
25653
25653
|
], 64)) : ue("", !0),
|
|
@@ -25735,12 +25735,12 @@ const r$ = ["for"], o$ = {
|
|
|
25735
25735
|
emits: ["update:modelValue", "change", "clear"],
|
|
25736
25736
|
setup(t, { emit: e }) {
|
|
25737
25737
|
const n = ti(), i = t, s = e, r = Math.random().toString(36).slice(2, 7), o = ee(() => `dcode-datetimepicker-${n.id || i.label || "datetime-picker"}-${r}`), a = ee(() => {
|
|
25738
|
-
const
|
|
25739
|
-
return
|
|
25738
|
+
const Ze = n.required, Qe = n["aria-required"];
|
|
25739
|
+
return Ze === "" || Ze === !0 || Ze === "true" || Qe === "true" || Qe === !0 || i.required;
|
|
25740
25740
|
}), l = ee(() => !!i.error), c = ee({
|
|
25741
25741
|
get: () => i.modelValue,
|
|
25742
|
-
set: (
|
|
25743
|
-
s("update:modelValue",
|
|
25742
|
+
set: (Ze) => {
|
|
25743
|
+
s("update:modelValue", Ze), s("change", Ze);
|
|
25744
25744
|
}
|
|
25745
25745
|
}), d = ee(() => i.locale === "en" ? Of : zy), f = ee(() => {
|
|
25746
25746
|
if (i.disablePast) return hn(/* @__PURE__ */ new Date());
|
|
@@ -25750,8 +25750,8 @@ const r$ = ["for"], o$ = {
|
|
|
25750
25750
|
}), p = ee(() => i.displayFormat !== "dd/MM/yyyy HH:mm" ? i.displayFormat : i.enableSeconds ? "dd/MM/yyyy HH:mm:ss" : "dd/MM/yyyy HH:mm"), b = ee(() => i.modelType !== "yyyy-MM-dd HH:mm" ? i.modelType : i.enableSeconds ? "yyyy-MM-dd HH:mm:ss" : "yyyy-MM-dd HH:mm"), y = ge(!1);
|
|
25751
25751
|
let C = null;
|
|
25752
25752
|
nn(() => {
|
|
25753
|
-
const
|
|
25754
|
-
Qe(), C = new MutationObserver(Qe), C.observe(
|
|
25753
|
+
const Ze = document.documentElement, Qe = () => y.value = Ze.classList.contains("dark");
|
|
25754
|
+
Qe(), C = new MutationObserver(Qe), C.observe(Ze, { attributes: !0, attributeFilter: ["class"] });
|
|
25755
25755
|
}), Hn(() => {
|
|
25756
25756
|
C == null || C.disconnect(), C = null;
|
|
25757
25757
|
}), Lf(_f(i, "tone"));
|
|
@@ -25780,21 +25780,21 @@ const r$ = ["for"], o$ = {
|
|
|
25780
25780
|
i.disabled || i.readonly || (_.value ? q() : $());
|
|
25781
25781
|
}, q = () => {
|
|
25782
25782
|
_.value = !1;
|
|
25783
|
-
}, Z = (
|
|
25784
|
-
if (!
|
|
25785
|
-
const Qe = go(
|
|
25783
|
+
}, Z = (Ze) => {
|
|
25784
|
+
if (!Ze) return null;
|
|
25785
|
+
const Qe = go(Ze, b.value, /* @__PURE__ */ new Date());
|
|
25786
25786
|
return Vs(Qe) ? Qe : null;
|
|
25787
|
-
}, le = (
|
|
25787
|
+
}, le = (Ze, Qe = b.value) => Fr(Ze, Qe, { locale: d.value }), ye = ee(() => Z(c.value)), re = ee(() => ye.value ? le(ye.value, p.value) : "");
|
|
25788
25788
|
it(
|
|
25789
25789
|
re,
|
|
25790
|
-
(
|
|
25791
|
-
z.value || (I.value =
|
|
25790
|
+
(Ze) => {
|
|
25791
|
+
z.value || (I.value = Ze || "");
|
|
25792
25792
|
},
|
|
25793
25793
|
{ immediate: !0 }
|
|
25794
25794
|
);
|
|
25795
|
-
const ce = (
|
|
25796
|
-
if (!
|
|
25797
|
-
const Qe =
|
|
25795
|
+
const ce = (Ze) => {
|
|
25796
|
+
if (!Ze || !Ze.trim()) return null;
|
|
25797
|
+
const Qe = Ze.trim();
|
|
25798
25798
|
if (/^\d{8}$/.test(Qe)) {
|
|
25799
25799
|
let xn = null;
|
|
25800
25800
|
if (Qe.startsWith("19") || Qe.startsWith("20"))
|
|
@@ -25873,8 +25873,8 @@ const r$ = ["for"], o$ = {
|
|
|
25873
25873
|
return bi;
|
|
25874
25874
|
}
|
|
25875
25875
|
return null;
|
|
25876
|
-
}, Te = (
|
|
25877
|
-
const yt =
|
|
25876
|
+
}, Te = (Ze, Qe = !1) => {
|
|
25877
|
+
const yt = Ze.trim();
|
|
25878
25878
|
if (!yt) {
|
|
25879
25879
|
Qe && (i.clearable ? Le() : I.value = re.value);
|
|
25880
25880
|
return;
|
|
@@ -25889,10 +25889,10 @@ const r$ = ["for"], o$ = {
|
|
|
25889
25889
|
c.value = le(mt), I.value = re.value;
|
|
25890
25890
|
}
|
|
25891
25891
|
} else Qe && (I.value = re.value);
|
|
25892
|
-
}, ve = (
|
|
25892
|
+
}, ve = (Ze) => {
|
|
25893
25893
|
var yt;
|
|
25894
25894
|
if (i.disabled || i.readonly) return;
|
|
25895
|
-
const Qe =
|
|
25895
|
+
const Qe = Ze.target;
|
|
25896
25896
|
Qe.tagName === "INPUT" || Qe.closest("button") || ((yt = V.value) == null || yt.focus(), _.value || $());
|
|
25897
25897
|
}, de = () => {
|
|
25898
25898
|
i.disabled || i.readonly || (z.value = !0, _.value || $());
|
|
@@ -25900,38 +25900,38 @@ const r$ = ["for"], o$ = {
|
|
|
25900
25900
|
i.disabled || i.readonly || _.value || $();
|
|
25901
25901
|
}, J = () => {
|
|
25902
25902
|
z.value = !1, Te(I.value, !0);
|
|
25903
|
-
}, ae = (
|
|
25904
|
-
const Qe =
|
|
25903
|
+
}, ae = (Ze) => {
|
|
25904
|
+
const Qe = Ze.target;
|
|
25905
25905
|
I.value = Qe.value, Te(Qe.value, !1);
|
|
25906
|
-
}, U = (
|
|
25907
|
-
|
|
25906
|
+
}, U = (Ze) => {
|
|
25907
|
+
Ze.key === "Enter" ? (Ze.preventDefault(), Te(I.value, !0), q()) : Ze.key === "Escape" && (Ze.preventDefault(), I.value = re.value, q());
|
|
25908
25908
|
}, W = ge(/* @__PURE__ */ new Date()), X = ge("AM"), ie = ee({
|
|
25909
25909
|
get: () => {
|
|
25910
|
-
let
|
|
25911
|
-
return i.is24 || (
|
|
25910
|
+
let Ze = W.value.getHours();
|
|
25911
|
+
return i.is24 || (Ze === 0 ? Ze = 12 : Ze > 12 && (Ze -= 12)), Ze;
|
|
25912
25912
|
},
|
|
25913
|
-
set: (
|
|
25914
|
-
let Qe =
|
|
25913
|
+
set: (Ze) => {
|
|
25914
|
+
let Qe = Ze;
|
|
25915
25915
|
i.is24 || (X.value === "PM" && Qe < 12 && (Qe += 12), X.value === "AM" && Qe === 12 && (Qe = 0)), W.value = Yg(W.value, Qe);
|
|
25916
25916
|
}
|
|
25917
25917
|
}), Y = ee({
|
|
25918
25918
|
get: () => W.value.getMinutes(),
|
|
25919
|
-
set: (
|
|
25920
|
-
W.value = E8(W.value,
|
|
25919
|
+
set: (Ze) => {
|
|
25920
|
+
W.value = E8(W.value, Ze);
|
|
25921
25921
|
}
|
|
25922
25922
|
}), G = ee({
|
|
25923
25923
|
get: () => W.value.getSeconds(),
|
|
25924
|
-
set: (
|
|
25925
|
-
W.value = T8(W.value,
|
|
25924
|
+
set: (Ze) => {
|
|
25925
|
+
W.value = T8(W.value, Ze);
|
|
25926
25926
|
}
|
|
25927
25927
|
});
|
|
25928
|
-
it(X, (
|
|
25928
|
+
it(X, (Ze) => {
|
|
25929
25929
|
let Qe = W.value.getHours();
|
|
25930
|
-
|
|
25930
|
+
Ze === "PM" && Qe < 12 ? W.value = Yg(W.value, Qe + 12) : Ze === "AM" && Qe >= 12 && (W.value = Yg(W.value, Qe - 12));
|
|
25931
25931
|
});
|
|
25932
25932
|
const O = ge(zi(/* @__PURE__ */ new Date())), M = () => {
|
|
25933
|
-
const
|
|
25934
|
-
W.value = new Date(
|
|
25933
|
+
const Ze = ye.value || (I.value ? ce(I.value) : null) || /* @__PURE__ */ new Date();
|
|
25934
|
+
W.value = new Date(Ze), X.value = W.value.getHours() >= 12 ? "PM" : "AM", O.value = zi(W.value);
|
|
25935
25935
|
}, D = () => {
|
|
25936
25936
|
O.value = sp(O.value, 10);
|
|
25937
25937
|
}, K = () => {
|
|
@@ -25947,16 +25947,16 @@ const r$ = ["for"], o$ = {
|
|
|
25947
25947
|
}, Ce = () => {
|
|
25948
25948
|
O.value = Jd(O.value, 10);
|
|
25949
25949
|
}, Ie = ee(() => Fr(O.value, "MMMM yyyy", { locale: d.value })), Pe = ee(() => {
|
|
25950
|
-
const
|
|
25950
|
+
const Ze = He(/* @__PURE__ */ new Date());
|
|
25951
25951
|
return Array.from({ length: 7 }).map((Qe, yt) => {
|
|
25952
|
-
const mt = _s(
|
|
25952
|
+
const mt = _s(Ze, yt);
|
|
25953
25953
|
return {
|
|
25954
25954
|
name: Fr(mt, "E", { locale: d.value }),
|
|
25955
25955
|
isWeekend: Qm(mt)
|
|
25956
25956
|
};
|
|
25957
25957
|
});
|
|
25958
25958
|
}), Be = ee(() => {
|
|
25959
|
-
const
|
|
25959
|
+
const Ze = zi(O.value), Qe = yS(Ze), yt = tp(O.value), mt = [], Vt = ip(O.value), bi = tp(Vt);
|
|
25960
25960
|
for (let wn = Qe - 1; wn >= 0; wn--)
|
|
25961
25961
|
mt.push({
|
|
25962
25962
|
date: hn(new Date(Vt.getFullYear(), Vt.getMonth(), bi - wn)),
|
|
@@ -25974,51 +25974,51 @@ const r$ = ["for"], o$ = {
|
|
|
25974
25974
|
isCurrentMonth: !1
|
|
25975
25975
|
});
|
|
25976
25976
|
return mt;
|
|
25977
|
-
}), Se = (
|
|
25978
|
-
De(
|
|
25977
|
+
}), Se = (Ze) => {
|
|
25978
|
+
De(Ze) || (W.value = new Date(Ze.getFullYear(), Ze.getMonth(), Ze.getDate(), W.value.getHours(), W.value.getMinutes(), W.value.getSeconds()));
|
|
25979
25979
|
}, Ve = () => {
|
|
25980
25980
|
c.value = le(W.value), I.value = re.value, q();
|
|
25981
|
-
}, De = (
|
|
25982
|
-
const Qe = new Date(
|
|
25981
|
+
}, De = (Ze) => !!(f.value && na(hn(Ze), hn(f.value)) || m.value && Rs(hn(Ze), hn(m.value))), He = (Ze) => {
|
|
25982
|
+
const Qe = new Date(Ze), yt = Qe.getDay(), mt = Qe.getDate() - yt;
|
|
25983
25983
|
return hn(new Date(Qe.setDate(mt)));
|
|
25984
25984
|
}, Le = () => {
|
|
25985
25985
|
c.value = null, I.value = "", s("clear");
|
|
25986
25986
|
}, qe = () => {
|
|
25987
|
-
let
|
|
25987
|
+
let Ze = ie.value;
|
|
25988
25988
|
const Qe = i.is24 ? 23 : 12, yt = i.is24 ? 0 : 1;
|
|
25989
|
-
|
|
25989
|
+
Ze = Ze >= Qe ? yt : Ze + 1, ie.value = Ze;
|
|
25990
25990
|
}, Ue = () => {
|
|
25991
|
-
let
|
|
25991
|
+
let Ze = ie.value;
|
|
25992
25992
|
const Qe = i.is24 ? 23 : 12, yt = i.is24 ? 0 : 1;
|
|
25993
|
-
|
|
25994
|
-
}, je = (
|
|
25995
|
-
const Qe = parseInt(
|
|
25993
|
+
Ze = Ze <= yt ? Qe : Ze - 1, ie.value = Ze;
|
|
25994
|
+
}, je = (Ze) => {
|
|
25995
|
+
const Qe = parseInt(Ze.target.value, 10);
|
|
25996
25996
|
if (!isNaN(Qe)) {
|
|
25997
25997
|
const yt = i.is24 ? 23 : 12, mt = i.is24 ? 0 : 1;
|
|
25998
25998
|
ie.value = Math.max(mt, Math.min(yt, Qe));
|
|
25999
25999
|
}
|
|
26000
26000
|
}, Oe = () => {
|
|
26001
|
-
let
|
|
26001
|
+
let Ze = Y.value;
|
|
26002
26002
|
const Qe = i.minutesIncrement || 1;
|
|
26003
|
-
|
|
26003
|
+
Ze = Ze + Qe >= 60 ? 0 : Ze + Qe, Y.value = Ze;
|
|
26004
26004
|
}, oe = () => {
|
|
26005
|
-
let
|
|
26005
|
+
let Ze = Y.value;
|
|
26006
26006
|
const Qe = i.minutesIncrement || 1;
|
|
26007
|
-
|
|
26008
|
-
}, xe = (
|
|
26009
|
-
const Qe = parseInt(
|
|
26007
|
+
Ze = Ze - Qe < 0 ? 60 - Qe : Ze - Qe, Y.value = Ze;
|
|
26008
|
+
}, xe = (Ze) => {
|
|
26009
|
+
const Qe = parseInt(Ze.target.value, 10);
|
|
26010
26010
|
isNaN(Qe) || (Y.value = Math.max(0, Math.min(59, Qe)));
|
|
26011
26011
|
}, $e = () => {
|
|
26012
|
-
let
|
|
26013
|
-
|
|
26012
|
+
let Ze = G.value;
|
|
26013
|
+
Ze = Ze >= 59 ? 0 : Ze + 1, G.value = Ze;
|
|
26014
26014
|
}, nt = () => {
|
|
26015
|
-
let
|
|
26016
|
-
|
|
26017
|
-
}, Ye = (
|
|
26018
|
-
const Qe = parseInt(
|
|
26015
|
+
let Ze = G.value;
|
|
26016
|
+
Ze = Ze <= 0 ? 59 : Ze - 1, G.value = Ze;
|
|
26017
|
+
}, Ye = (Ze) => {
|
|
26018
|
+
const Qe = parseInt(Ze.target.value, 10);
|
|
26019
26019
|
isNaN(Qe) || (G.value = Math.max(0, Math.min(59, Qe)));
|
|
26020
26020
|
}, et = ee(() => ie.value.toString().padStart(2, "0")), gt = ee(() => Y.value.toString().padStart(2, "0")), dt = ee(() => G.value.toString().padStart(2, "0"));
|
|
26021
|
-
return (
|
|
26021
|
+
return (Ze, Qe) => (w(), P("div", {
|
|
26022
26022
|
class: Fe(["w-full relative", [H(n).class, i.disabled ? "cursor-not-allowed" : ""]]),
|
|
26023
26023
|
ref_key: "wrapperRef",
|
|
26024
26024
|
ref: S
|
|
@@ -26038,7 +26038,7 @@ const r$ = ["for"], o$ = {
|
|
|
26038
26038
|
style: Mt(i.labelPosition === "left" || i.labelPosition === "right" ? { width: i.labelWidth } : { width: "8rem" })
|
|
26039
26039
|
}, null, 4)) : ue("", !0),
|
|
26040
26040
|
Qe[1] || (Qe[1] = x("div", { class: "h-10 w-full flex-1 rounded-lg bg-gray-200 dark:bg-gray-700 animate-shimmer" }, null, -1))
|
|
26041
|
-
], 2)) : (w(), P(
|
|
26041
|
+
], 2)) : (w(), P(Ge, { key: 1 }, [
|
|
26042
26042
|
x("div", {
|
|
26043
26043
|
class: Fe(["flex flex-1 w-full", [
|
|
26044
26044
|
i.labelPosition === "left" ? "flex-row items-center gap-3" : "",
|
|
@@ -26080,7 +26080,7 @@ const r$ = ["for"], o$ = {
|
|
|
26080
26080
|
ke(H(Ap), { class: "w-4 h-4 pointer-events-none" })
|
|
26081
26081
|
], 8, R$),
|
|
26082
26082
|
Qe[3] || (Qe[3] = x("span", { class: "w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0" }, null, -1)),
|
|
26083
|
-
t.prependInner ? (w(), P(
|
|
26083
|
+
t.prependInner ? (w(), P(Ge, { key: 0 }, [
|
|
26084
26084
|
x("span", B$, he(t.prependInner), 1),
|
|
26085
26085
|
Qe[2] || (Qe[2] = x("span", { class: "w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0" }, null, -1))
|
|
26086
26086
|
], 64)) : ue("", !0),
|
|
@@ -26184,13 +26184,13 @@ const r$ = ["for"], o$ = {
|
|
|
26184
26184
|
x("div", z$, he(Ie.value), 1),
|
|
26185
26185
|
x("div", U$, [
|
|
26186
26186
|
x("div", j$, [
|
|
26187
|
-
(w(!0), P(
|
|
26187
|
+
(w(!0), P(Ge, null, _t(Pe.value, (yt) => (w(), P("div", {
|
|
26188
26188
|
key: yt.name,
|
|
26189
26189
|
class: Fe(["text-xs font-semibold", yt.isWeekend ? "text-red-600 dark:text-red-400" : "text-gray-700 dark:text-gray-300"])
|
|
26190
26190
|
}, he(yt.name), 3))), 128))
|
|
26191
26191
|
]),
|
|
26192
26192
|
x("div", W$, [
|
|
26193
|
-
(w(!0), P(
|
|
26193
|
+
(w(!0), P(Ge, null, _t(Be.value, (yt, mt) => (w(), P("div", {
|
|
26194
26194
|
key: mt,
|
|
26195
26195
|
class: Fe(["relative w-full h-8 flex items-center justify-center text-sm", [
|
|
26196
26196
|
De(yt.date) ? "opacity-30 cursor-not-allowed" : "cursor-pointer"
|
|
@@ -26259,7 +26259,7 @@ const r$ = ["for"], o$ = {
|
|
|
26259
26259
|
])
|
|
26260
26260
|
])
|
|
26261
26261
|
]),
|
|
26262
|
-
t.enableSeconds ? (w(), P(
|
|
26262
|
+
t.enableSeconds ? (w(), P(Ge, { key: 0 }, [
|
|
26263
26263
|
Qe[5] || (Qe[5] = x("span", { class: "font-bold text-gray-500 dark:text-gray-400" }, ":", -1)),
|
|
26264
26264
|
x("div", Q$, [
|
|
26265
26265
|
x("input", {
|
|
@@ -26392,10 +26392,10 @@ const r$ = ["for"], o$ = {
|
|
|
26392
26392
|
ref: y,
|
|
26393
26393
|
class: Fe(["flex flex-col gap-1 w-full", [H(n).class, i.disabled ? "cursor-not-allowed" : ""]])
|
|
26394
26394
|
}, [
|
|
26395
|
-
t.skeleton ? (w(), P(
|
|
26395
|
+
t.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
26396
26396
|
t.label ? (w(), P("div", sz)) : ue("", !0),
|
|
26397
26397
|
A[3] || (A[3] = x("div", { class: "h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse" }, null, -1))
|
|
26398
|
-
], 64)) : (w(), P(
|
|
26398
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
26399
26399
|
t.label ? (w(), P("label", {
|
|
26400
26400
|
key: 0,
|
|
26401
26401
|
for: o.value,
|
|
@@ -26445,7 +26445,7 @@ const r$ = ["for"], o$ = {
|
|
|
26445
26445
|
ke(H(Ap), { class: "w-4 h-4" })
|
|
26446
26446
|
]),
|
|
26447
26447
|
A[5] || (A[5] = x("span", { class: "w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0" }, null, -1)),
|
|
26448
|
-
t.prependInner ? (w(), P(
|
|
26448
|
+
t.prependInner ? (w(), P(Ge, { key: 0 }, [
|
|
26449
26449
|
x("span", cz, he(t.prependInner), 1),
|
|
26450
26450
|
A[4] || (A[4] = x("span", { class: "w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0" }, null, -1))
|
|
26451
26451
|
], 64)) : ue("", !0),
|
|
@@ -26663,10 +26663,10 @@ const r$ = ["for"], o$ = {
|
|
|
26663
26663
|
return (O, M) => (w(), P("div", {
|
|
26664
26664
|
class: Fe(["flex flex-col gap-1 w-full", [H(n).class, i.disabled ? "cursor-not-allowed" : ""]])
|
|
26665
26665
|
}, [
|
|
26666
|
-
t.skeleton ? (w(), P(
|
|
26666
|
+
t.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
26667
26667
|
t.label ? (w(), P("div", hz)) : ue("", !0),
|
|
26668
26668
|
M[4] || (M[4] = x("div", { class: "h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-shimmer" }, null, -1))
|
|
26669
|
-
], 64)) : (w(), P(
|
|
26669
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
26670
26670
|
t.label ? (w(), P("label", {
|
|
26671
26671
|
key: 0,
|
|
26672
26672
|
for: o.value,
|
|
@@ -26678,7 +26678,7 @@ const r$ = ["for"], o$ = {
|
|
|
26678
26678
|
x("div", gz, [
|
|
26679
26679
|
x("div", bz, [
|
|
26680
26680
|
x("div", yz, [
|
|
26681
|
-
(w(!0), P(
|
|
26681
|
+
(w(!0), P(Ge, null, _t(y.value, (D) => (w(), P("button", {
|
|
26682
26682
|
key: D._value,
|
|
26683
26683
|
type: "button",
|
|
26684
26684
|
class: Fe(["w-12 h-12 shrink-0 rounded-lg border-2 flex items-center justify-center transition-all duration-200 focus:outline-none", [
|
|
@@ -26800,7 +26800,7 @@ const r$ = ["for"], o$ = {
|
|
|
26800
26800
|
q.value ? (w(), P("div", Tz, [
|
|
26801
26801
|
M[6] || (M[6] = x("p", { class: "text-xs font-semibold text-gray-600 dark:text-gray-400 mb-2 uppercase" }, " General Colors ", -1)),
|
|
26802
26802
|
x("div", Pz, [
|
|
26803
|
-
(w(!0), P(
|
|
26803
|
+
(w(!0), P(Ge, null, _t(y.value, (D) => (w(), P("button", {
|
|
26804
26804
|
key: D._value,
|
|
26805
26805
|
type: "button",
|
|
26806
26806
|
class: Fe(["w-12 h-12 rounded-lg border-2 flex items-center justify-center transition-all duration-200 focus:outline-none", [
|
|
@@ -27655,7 +27655,7 @@ const Kz = { class: "flex flex-col gap-3 w-full" }, Gz = {
|
|
|
27655
27655
|
ke(H(Fw), { class: "w-6 h-6 text-slate-400" }),
|
|
27656
27656
|
x("span", Jz, he(H(s)("dynamicUploadList.noDocsRequired")), 1)
|
|
27657
27657
|
])) : ue("", !0),
|
|
27658
|
-
(w(!0), P(
|
|
27658
|
+
(w(!0), P(Ge, null, _t(c.value, (q, Z) => {
|
|
27659
27659
|
var le, ye, re, ce, Te, ve, de, N, J, ae, U, W;
|
|
27660
27660
|
return w(), P("div", {
|
|
27661
27661
|
key: Z,
|
|
@@ -28475,9 +28475,9 @@ function s0({
|
|
|
28475
28475
|
if (et === nt || et.endsWith("." + nt)) {
|
|
28476
28476
|
let dt = 0;
|
|
28477
28477
|
if (G) {
|
|
28478
|
-
const
|
|
28478
|
+
const Ze = et.split("."), Qe = G.split(".");
|
|
28479
28479
|
let yt = 0;
|
|
28480
|
-
for (let mt = 0; mt < Math.min(
|
|
28480
|
+
for (let mt = 0; mt < Math.min(Ze.length, Qe.length) && Ze[mt] === Qe[mt]; mt++)
|
|
28481
28481
|
yt++;
|
|
28482
28482
|
dt = yt;
|
|
28483
28483
|
}
|
|
@@ -28487,8 +28487,8 @@ function s0({
|
|
|
28487
28487
|
Ye.sort((Qe, yt) => yt.score !== Qe.score ? yt.score - Qe.score : Qe.key.length - yt.key.length);
|
|
28488
28488
|
const et = Ye[0], gt = at(Y, et.ent.path) ?? Y[et.ent.path] ?? at(Y, et.key) ?? Y[et.key] ?? at(t, et.ent.path);
|
|
28489
28489
|
let dt = M(gt, et.key);
|
|
28490
|
-
const
|
|
28491
|
-
for (const Qe of
|
|
28490
|
+
const Ze = qe.slice($e);
|
|
28491
|
+
for (const Qe of Ze) {
|
|
28492
28492
|
if (dt == null) {
|
|
28493
28493
|
dt = void 0;
|
|
28494
28494
|
break;
|
|
@@ -30368,7 +30368,7 @@ const yU = /* @__PURE__ */ rt({
|
|
|
30368
30368
|
typeof window < "u" && (zh += 1, gU());
|
|
30369
30369
|
}), Io(() => {
|
|
30370
30370
|
typeof window < "u" && zh > 0 && (zh -= 1, zh === 0 && bU());
|
|
30371
|
-
}), () => ke(
|
|
30371
|
+
}), () => ke(Ge, null, [i.value.map((s) => {
|
|
30372
30372
|
const {
|
|
30373
30373
|
toastId: r = ""
|
|
30374
30374
|
} = s;
|
|
@@ -31346,7 +31346,7 @@ function SU(t) {
|
|
|
31346
31346
|
if (!$e) return;
|
|
31347
31347
|
(($e.propsForm || $e.propsFormStep || $e.propsTable || $e.propsTableStep || $e.propsDataTableWizard || $e.props || {}).fields || $e.fields || []).forEach((dt) => {
|
|
31348
31348
|
if (dt.model) {
|
|
31349
|
-
const
|
|
31349
|
+
const Ze = de.includes(".") ? de.split(".").slice(0, -1).join(".") : void 0, Qe = Ze ? `${Ze}.${dt.model}` : dt.model;
|
|
31350
31350
|
cn(e.formData, Qe, null);
|
|
31351
31351
|
}
|
|
31352
31352
|
}), ((et = $e.type) == null ? void 0 : et.toUpperCase()) === "WIZARD" && ((gt = $e.propsWizard) != null && gt.propsSteps) && $e.propsWizard.propsSteps.forEach((dt) => {
|
|
@@ -31359,8 +31359,8 @@ function SU(t) {
|
|
|
31359
31359
|
oe(gt);
|
|
31360
31360
|
return;
|
|
31361
31361
|
}
|
|
31362
|
-
((Ye = gt.type) == null ? void 0 : Ye.toUpperCase()) === "WIZARD" && ((et = gt.propsWizard) != null && et.propsSteps) && gt.propsWizard.propsSteps.forEach((
|
|
31363
|
-
const Qe = Array.isArray(
|
|
31362
|
+
((Ye = gt.type) == null ? void 0 : Ye.toUpperCase()) === "WIZARD" && ((et = gt.propsWizard) != null && et.propsSteps) && gt.propsWizard.propsSteps.forEach((Ze) => {
|
|
31363
|
+
const Qe = Array.isArray(Ze.sectionsWizard) ? Ze.sectionsWizard : [Ze.sectionsWizard].filter(Boolean);
|
|
31364
31364
|
xe(Qe, nt);
|
|
31365
31365
|
});
|
|
31366
31366
|
}
|
|
@@ -31380,10 +31380,10 @@ function SU(t) {
|
|
|
31380
31380
|
const Ue = S.get(ve.key), je = (Ue == null ? void 0 : Ue[De]) === "true";
|
|
31381
31381
|
let Oe = !1;
|
|
31382
31382
|
Le && !je && Ue !== void 0 && (Oe = !0), Le && Array.isArray(Se.triggers) && Se.triggers.forEach((oe, xe) => {
|
|
31383
|
-
var
|
|
31383
|
+
var Ze;
|
|
31384
31384
|
const $e = oe.fieldKey;
|
|
31385
31385
|
if (!$e) return;
|
|
31386
|
-
const nt = de.includes(".") ? de.split(".").slice(0, -1).join(".") : void 0, Ye = s.getNormalizedData(T, nt), et = ((
|
|
31386
|
+
const nt = de.includes(".") ? de.split(".").slice(0, -1).join(".") : void 0, Ye = s.getNormalizedData(T, nt), et = ((Ze = Ye._resolveLogicVar) == null ? void 0 : Ze.call(Ye, $e)) ?? Ye[$e], gt = D(et), dt = `afr-trig-${$e}-${xe}`;
|
|
31387
31387
|
if ((Ue == null ? void 0 : Ue[dt]) !== void 0 && Ue[dt] !== gt)
|
|
31388
31388
|
if (oe.event === "debounced") {
|
|
31389
31389
|
const Qe = oe.debounceMs || 300, yt = `afr-debounced-${ve.key}-${Ve}-${xe}`;
|
|
@@ -32326,23 +32326,20 @@ function TU(t, e) {
|
|
|
32326
32326
|
if (oe && (typeof oe == "object" || Array.isArray(oe))) {
|
|
32327
32327
|
const xe = k(oe, ae, X);
|
|
32328
32328
|
if (Ve && Array.isArray(oe)) {
|
|
32329
|
-
const dt = ae.propsTable || ae.propsTableStep || {},
|
|
32330
|
-
|
|
32331
|
-
const Qe = at(l.formData, Ge);
|
|
32332
|
-
(Array.isArray(Qe) ? Qe.length > 0 : Qe != null && Qe !== "") || (xe[Ge] = oe);
|
|
32333
|
-
}
|
|
32329
|
+
const dt = ae.propsTable || ae.propsTableStep || {}, Ze = dt.modelKey || dt.modelDatatable || Ut(ae);
|
|
32330
|
+
Ze && (xe[Ze] = oe);
|
|
32334
32331
|
}
|
|
32335
|
-
const $e = (dt,
|
|
32332
|
+
const $e = (dt, Ze) => {
|
|
32336
32333
|
var yt;
|
|
32337
32334
|
if (!dt) return { siblings: [], stepKey: null };
|
|
32338
|
-
const Qe = Ut(
|
|
32335
|
+
const Qe = Ut(Ze);
|
|
32339
32336
|
for (const mt of dt)
|
|
32340
32337
|
if (mt.type === "WIZARD" && ((yt = mt.propsWizard) != null && yt.propsSteps))
|
|
32341
32338
|
for (const Vt of mt.propsWizard.propsSteps) {
|
|
32342
32339
|
const bi = Array.isArray(Vt.sectionsWizard) ? Vt.sectionsWizard : Vt.sectionsWizard ? [Vt.sectionsWizard] : [];
|
|
32343
32340
|
if (bi.some((wn) => Ut(wn) === Qe))
|
|
32344
32341
|
return { siblings: bi, stepKey: Vt.modelKey || Vt.key || Vt.id || null };
|
|
32345
|
-
const on = $e(bi,
|
|
32342
|
+
const on = $e(bi, Ze);
|
|
32346
32343
|
if (on.siblings.length > 0) return on;
|
|
32347
32344
|
}
|
|
32348
32345
|
return { siblings: [], stepKey: null };
|
|
@@ -32350,7 +32347,7 @@ function TU(t, e) {
|
|
|
32350
32347
|
(Ye.length > 0 ? Ye : ((Me = c.value) == null ? void 0 : Me.sections) || []).forEach((dt) => {
|
|
32351
32348
|
var bi, xn, on, wn;
|
|
32352
32349
|
if (Ut(dt) === Ut(ae)) return;
|
|
32353
|
-
const
|
|
32350
|
+
const Ze = dt.propsForm || dt.propsFormStep || dt.propsTable || dt.propsTableStep || dt.props || {}, Qe = !!((bi = Ze.endpointSection) != null && bi.apiUrl || (xn = Ze.endpointForm) != null && xn.apiUrl || (on = Ze.endpointTable) != null && on.apiUrl || (wn = Ze.endpoint) != null && wn.apiUrl), yt = Ut(dt);
|
|
32354
32351
|
let mt = "";
|
|
32355
32352
|
if (et)
|
|
32356
32353
|
mt = et;
|
|
@@ -32362,7 +32359,7 @@ function TU(t, e) {
|
|
|
32362
32359
|
const En = mt ? `${mt}.${yt}` : yt;
|
|
32363
32360
|
at(xe, En) === void 0 && (console.log(`[fetchSectionData][CASCADE] SUCCESS: Direct key match for section "${yt}" -> path "${En}". Value:`, oe[yt]), cn(xe, En, oe[yt]));
|
|
32364
32361
|
}
|
|
32365
|
-
const Vt =
|
|
32362
|
+
const Vt = Ze.modelKey || Ze.modelDatatable;
|
|
32366
32363
|
if (Vt && (dt.type === "TABLE" || dt.propsTable)) {
|
|
32367
32364
|
const En = mt ? `${mt}.${Vt}` : Vt;
|
|
32368
32365
|
if (!Vt.includes("."))
|
|
@@ -33722,15 +33719,15 @@ const eb = /* @__PURE__ */ rt({
|
|
|
33722
33719
|
l.value[I] = (T == null ? void 0 : T.$el) ?? T;
|
|
33723
33720
|
};
|
|
33724
33721
|
return (I, T) => fn((w(), P("div", oj, [
|
|
33725
|
-
r.skeleton ? (w(), P(
|
|
33722
|
+
r.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
33726
33723
|
r.label ? (w(), P("div", aj)) : ue("", !0),
|
|
33727
33724
|
x("div", lj, [
|
|
33728
|
-
(w(!0), P(
|
|
33725
|
+
(w(!0), P(Ge, null, _t(p.value, (k) => (w(), P("div", {
|
|
33729
33726
|
key: k,
|
|
33730
33727
|
class: "w-12 h-12 rounded-xl bg-gray-200 dark:bg-gray-700 animate-pulse"
|
|
33731
33728
|
}))), 128))
|
|
33732
33729
|
])
|
|
33733
|
-
], 64)) : (w(), P(
|
|
33730
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
33734
33731
|
r.label || p.value ? (w(), P("div", cj, [
|
|
33735
33732
|
r.label ? (w(), P("label", {
|
|
33736
33733
|
key: 0,
|
|
@@ -33747,7 +33744,7 @@ const eb = /* @__PURE__ */ rt({
|
|
|
33747
33744
|
x("p", hj, " Type your " + he(p.value) + "-digit verification code ", 1)
|
|
33748
33745
|
])) : ue("", !0),
|
|
33749
33746
|
x("div", mj, [
|
|
33750
|
-
(w(!0), P(
|
|
33747
|
+
(w(!0), P(Ge, null, _t(p.value, (k) => (w(), P("input", {
|
|
33751
33748
|
key: k,
|
|
33752
33749
|
id: k === 1 ? s.value : void 0,
|
|
33753
33750
|
ref_for: !0,
|
|
@@ -34129,7 +34126,7 @@ const eb = /* @__PURE__ */ rt({
|
|
|
34129
34126
|
props: {
|
|
34130
34127
|
modelValue: { default: "" },
|
|
34131
34128
|
label: { default: "" },
|
|
34132
|
-
title: { default: "
|
|
34129
|
+
title: { default: "" },
|
|
34133
34130
|
required: { type: Boolean, default: !1 },
|
|
34134
34131
|
disabled: { type: Boolean, default: !1 },
|
|
34135
34132
|
readonly: { type: Boolean, default: !1 },
|
|
@@ -34232,7 +34229,7 @@ const eb = /* @__PURE__ */ rt({
|
|
|
34232
34229
|
n.skeleton ? (w(), P("div", Pj, [...S[0] || (S[0] = [
|
|
34233
34230
|
x("div", { class: "h-8 w-20 rounded-full bg-neutral-200 dark:bg-neutral-700 animate-pulse" }, null, -1),
|
|
34234
34231
|
x("div", { class: "h-8 w-20 rounded-full bg-neutral-200 dark:bg-neutral-700 animate-pulse" }, null, -1)
|
|
34235
|
-
])])) : (w(), P(
|
|
34232
|
+
])])) : (w(), P(Ge, { key: 2 }, [
|
|
34236
34233
|
(A = n.options) != null && A.length ? (w(), P("div", {
|
|
34237
34234
|
key: 0,
|
|
34238
34235
|
ref_key: "containerRef",
|
|
@@ -34248,7 +34245,7 @@ const eb = /* @__PURE__ */ rt({
|
|
|
34248
34245
|
zIndex: 0
|
|
34249
34246
|
})
|
|
34250
34247
|
}, null, 4),
|
|
34251
|
-
(w(!0), P(
|
|
34248
|
+
(w(!0), P(Ge, null, _t(n.options, (E) => (w(), P("button", {
|
|
34252
34249
|
key: E.value,
|
|
34253
34250
|
type: "button",
|
|
34254
34251
|
role: "tab",
|
|
@@ -34265,25 +34262,25 @@ const eb = /* @__PURE__ */ rt({
|
|
|
34265
34262
|
n.layout === "icon-only" && E.icon ? (w(), ze($t(p.value[E.icon]), {
|
|
34266
34263
|
key: 0,
|
|
34267
34264
|
class: Fe(b.value)
|
|
34268
|
-
}, null, 8, ["class"])) : n.layout === "default" ? (w(), P(
|
|
34265
|
+
}, null, 8, ["class"])) : n.layout === "default" ? (w(), P(Ge, { key: 1 }, [
|
|
34269
34266
|
E.icon ? (w(), ze($t(p.value[E.icon]), {
|
|
34270
34267
|
key: 0,
|
|
34271
34268
|
class: Fe(b.value)
|
|
34272
34269
|
}, null, 8, ["class"])) : ue("", !0),
|
|
34273
34270
|
E.label ? (w(), P("span", Ij, he(E.label), 1)) : ue("", !0)
|
|
34274
|
-
], 64)) : n.layout === "icon-bottom" ? (w(), P(
|
|
34271
|
+
], 64)) : n.layout === "icon-bottom" ? (w(), P(Ge, { key: 2 }, [
|
|
34275
34272
|
E.label ? (w(), P("span", Dj, he(E.label), 1)) : ue("", !0),
|
|
34276
34273
|
E.icon ? (w(), ze($t(p.value[E.icon]), {
|
|
34277
34274
|
key: 1,
|
|
34278
34275
|
class: Fe(b.value)
|
|
34279
34276
|
}, null, 8, ["class"])) : ue("", !0)
|
|
34280
|
-
], 64)) : n.layout === "icon-start" ? (w(), P(
|
|
34277
|
+
], 64)) : n.layout === "icon-start" ? (w(), P(Ge, { key: 3 }, [
|
|
34281
34278
|
E.icon ? (w(), ze($t(p.value[E.icon]), {
|
|
34282
34279
|
key: 0,
|
|
34283
34280
|
class: Fe(b.value)
|
|
34284
34281
|
}, null, 8, ["class"])) : ue("", !0),
|
|
34285
34282
|
E.label ? (w(), P("span", Oj, he(E.label), 1)) : ue("", !0)
|
|
34286
|
-
], 64)) : n.layout === "icon-end" ? (w(), P(
|
|
34283
|
+
], 64)) : n.layout === "icon-end" ? (w(), P(Ge, { key: 4 }, [
|
|
34287
34284
|
E.label ? (w(), P("span", Lj, he(E.label), 1)) : ue("", !0),
|
|
34288
34285
|
E.icon ? (w(), ze($t(p.value[E.icon]), {
|
|
34289
34286
|
key: 1,
|
|
@@ -34296,7 +34293,7 @@ const eb = /* @__PURE__ */ rt({
|
|
|
34296
34293
|
], 2);
|
|
34297
34294
|
};
|
|
34298
34295
|
}
|
|
34299
|
-
}), Xy = /* @__PURE__ */ qn(Bj, [["__scopeId", "data-v-
|
|
34296
|
+
}), Xy = /* @__PURE__ */ qn(Bj, [["__scopeId", "data-v-83f4af28"]]), Fj = ["aria-busy"], Nj = {
|
|
34300
34297
|
key: 0,
|
|
34301
34298
|
class: "h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"
|
|
34302
34299
|
}, Vj = ["for"], $j = {
|
|
@@ -34506,13 +34503,13 @@ const eb = /* @__PURE__ */ rt({
|
|
|
34506
34503
|
class: Fe(["flex flex-col gap-1 w-full", [H(n).class, s.disabled ? "cursor-not-allowed" : ""]]),
|
|
34507
34504
|
"aria-busy": s.skeleton
|
|
34508
34505
|
}, [
|
|
34509
|
-
s.skeleton ? (w(), P(
|
|
34506
|
+
s.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
34510
34507
|
r.value ? (w(), P("div", Nj)) : ue("", !0),
|
|
34511
34508
|
x("div", {
|
|
34512
34509
|
class: "w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse",
|
|
34513
34510
|
style: Mt(O.value)
|
|
34514
34511
|
}, null, 4)
|
|
34515
|
-
], 64)) : (w(), P(
|
|
34512
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
34516
34513
|
r.value ? (w(), P("label", {
|
|
34517
34514
|
key: 0,
|
|
34518
34515
|
for: c.value,
|
|
@@ -35463,7 +35460,7 @@ function Kj() {
|
|
|
35463
35460
|
}
|
|
35464
35461
|
return g || "M0 0";
|
|
35465
35462
|
}
|
|
35466
|
-
var pe = document.documentElement.style, Me = "ActiveXObject" in window, Ce = Me && !document.addEventListener, Ie = "msLaunchUri" in navigator && !("documentMode" in document), Pe = Ei("webkit"), Be = Ei("android"), Se = Ei("android 2") || Ei("android 3"), Ve = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), De = Be && Ei("Google") && Ve < 537 && !("AudioNode" in window), He = !!window.opera, Le = !Ie && Ei("chrome"), qe = Ei("gecko") && !Pe && !He && !Me, Ue = !Le && Ei("safari"), je = Ei("phantom"), Oe = "OTransition" in pe, oe = navigator.platform.indexOf("Win") === 0, xe = Me && "transition" in pe, $e = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Se, nt = "MozPerspective" in pe, Ye = !window.L_DISABLE_3D && (xe || $e || nt) && !Oe && !je, et = typeof orientation < "u" || Ei("mobile"), gt = et && Pe, dt = et && $e,
|
|
35463
|
+
var pe = document.documentElement.style, Me = "ActiveXObject" in window, Ce = Me && !document.addEventListener, Ie = "msLaunchUri" in navigator && !("documentMode" in document), Pe = Ei("webkit"), Be = Ei("android"), Se = Ei("android 2") || Ei("android 3"), Ve = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), De = Be && Ei("Google") && Ve < 537 && !("AudioNode" in window), He = !!window.opera, Le = !Ie && Ei("chrome"), qe = Ei("gecko") && !Pe && !He && !Me, Ue = !Le && Ei("safari"), je = Ei("phantom"), Oe = "OTransition" in pe, oe = navigator.platform.indexOf("Win") === 0, xe = Me && "transition" in pe, $e = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Se, nt = "MozPerspective" in pe, Ye = !window.L_DISABLE_3D && (xe || $e || nt) && !Oe && !je, et = typeof orientation < "u" || Ei("mobile"), gt = et && Pe, dt = et && $e, Ze = !window.PointerEvent && window.MSPointerEvent, Qe = !!(window.PointerEvent || Ze), yt = "ontouchstart" in window || !!window.TouchEvent, mt = !window.L_NO_TOUCH && (yt || Qe), Vt = et && He, bi = et && qe, xn = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, on = (function() {
|
|
35467
35464
|
var u = !1;
|
|
35468
35465
|
try {
|
|
35469
35466
|
var h = Object.defineProperty({}, "passive", {
|
|
@@ -35515,7 +35512,7 @@ function Kj() {
|
|
|
35515
35512
|
mobile: et,
|
|
35516
35513
|
mobileWebkit: gt,
|
|
35517
35514
|
mobileWebkit3d: dt,
|
|
35518
|
-
msPointer:
|
|
35515
|
+
msPointer: Ze,
|
|
35519
35516
|
pointer: Qe,
|
|
35520
35517
|
touch: mt,
|
|
35521
35518
|
touchNative: yt,
|
|
@@ -41153,14 +41150,14 @@ const tb = /* @__PURE__ */ ly(Gj), Zj = { class: "flex flex-col gap-1 w-full rel
|
|
|
41153
41150
|
i.disabled || i.readonly || (I.value = null, b.value = "", y.value = "", f.value = [], m.value = null, p.value = "", S && _ && (_.removeLayer(S), S = null), s("update:modelValue", null), s("change", null));
|
|
41154
41151
|
};
|
|
41155
41152
|
return (N, J) => fn((w(), P("div", Zj, [
|
|
41156
|
-
i.skeleton ? (w(), P(
|
|
41153
|
+
i.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
41157
41154
|
a.value ? (w(), P("div", Yj)) : ue("", !0),
|
|
41158
41155
|
J[3] || (J[3] = x("div", { class: "h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-shimmer mb-2" }, null, -1)),
|
|
41159
41156
|
x("div", {
|
|
41160
41157
|
style: Mt({ height: i.height }),
|
|
41161
41158
|
class: "w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-shimmer"
|
|
41162
41159
|
}, null, 4)
|
|
41163
|
-
], 64)) : (w(), P(
|
|
41160
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
41164
41161
|
x("div", Jj, [
|
|
41165
41162
|
a.value ? (w(), P("label", Xj, [
|
|
41166
41163
|
ot(he(a.value) + " ", 1),
|
|
@@ -95379,13 +95376,13 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
95379
95376
|
class: Fe(["flex flex-col gap-1 w-full dcode-text-editor-wrapper", [H(s).class, n.disabled ? "cursor-not-allowed" : ""]]),
|
|
95380
95377
|
"aria-busy": n.skeleton
|
|
95381
95378
|
}, [
|
|
95382
|
-
n.skeleton ? (w(), P(
|
|
95379
|
+
n.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
95383
95380
|
n.label ? (w(), P("div", Toe)) : ue("", !0),
|
|
95384
95381
|
x("div", {
|
|
95385
95382
|
class: "w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-shimmer",
|
|
95386
95383
|
style: Mt({ height: n.height })
|
|
95387
95384
|
}, null, 4)
|
|
95388
|
-
], 64)) : (w(), P(
|
|
95385
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
95389
95386
|
n.label ? (w(), P("label", {
|
|
95390
95387
|
key: 0,
|
|
95391
95388
|
for: a.value,
|
|
@@ -95552,10 +95549,10 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
95552
95549
|
class: Fe(["flex flex-col gap-2 w-full", H(n).class]),
|
|
95553
95550
|
"aria-busy": s.skeleton
|
|
95554
95551
|
}, [
|
|
95555
|
-
s.skeleton ? (w(), P(
|
|
95552
|
+
s.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
95556
95553
|
c.value ? (w(), P("div", Ooe)) : ue("", !0),
|
|
95557
95554
|
V[0] || (V[0] = x("div", { class: "h-6 w-full rounded bg-gray-200 dark:bg-gray-700 animate-pulse" }, null, -1))
|
|
95558
|
-
], 64)) : (w(), P(
|
|
95555
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
95559
95556
|
c.value ? (w(), ze(H(hu), {
|
|
95560
95557
|
key: 0,
|
|
95561
95558
|
for: l.value,
|
|
@@ -95607,7 +95604,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
95607
95604
|
}, null, 42, zoe)
|
|
95608
95605
|
]),
|
|
95609
95606
|
t.marks.length > 0 ? (w(), P("div", Uoe, [
|
|
95610
|
-
(w(!0), P(
|
|
95607
|
+
(w(!0), P(Ge, null, _t(t.marks, (z) => (w(), P("div", {
|
|
95611
95608
|
key: z.value,
|
|
95612
95609
|
class: "absolute flex flex-col items-center",
|
|
95613
95610
|
style: Mt({ left: `${S(z.value)}%`, transform: "translateX(-50%)" })
|
|
@@ -95788,7 +95785,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
95788
95785
|
key: 1,
|
|
95789
95786
|
class: Fe(["flex", t.layout ? "flex-row flex-wrap gap-4" : "flex-col gap-3"])
|
|
95790
95787
|
}, [
|
|
95791
|
-
(w(), P(
|
|
95788
|
+
(w(), P(Ge, null, _t(3, (z) => x("div", {
|
|
95792
95789
|
key: z,
|
|
95793
95790
|
class: "flex items-center gap-2"
|
|
95794
95791
|
}, [...V[1] || (V[1] = [
|
|
@@ -95799,7 +95796,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
95799
95796
|
key: 2,
|
|
95800
95797
|
class: Fe(["flex", t.layout ? "flex-row flex-wrap gap-4" : "flex-col gap-3"])
|
|
95801
95798
|
}, [
|
|
95802
|
-
(w(!0), P(
|
|
95799
|
+
(w(!0), P(Ge, null, _t(c.value, (z, I) => (w(), P("div", {
|
|
95803
95800
|
key: I,
|
|
95804
95801
|
class: Fe([
|
|
95805
95802
|
"flex items-start",
|
|
@@ -96013,7 +96010,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
96013
96010
|
t.isTab ? "flex flex-wrap items-center gap-1.5 p-1.5 rounded-xl bg-gray-100 dark:bg-neutral-800/90 border border-gray-200/80 dark:border-neutral-700/80 w-full" : ["grid", t.layout ? "grid-cols-2 sm:grid-cols-3" : "grid-cols-1", "gap-3"]
|
|
96014
96011
|
])
|
|
96015
96012
|
}, [
|
|
96016
|
-
(w(!0), P(
|
|
96013
|
+
(w(!0), P(Ge, null, _t(b.value, (B, q) => (w(), P("div", {
|
|
96017
96014
|
key: q,
|
|
96018
96015
|
class: Fe([
|
|
96019
96016
|
t.isTab ? [
|
|
@@ -96040,7 +96037,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
96040
96037
|
class: "sr-only",
|
|
96041
96038
|
tabindex: "-1"
|
|
96042
96039
|
}, null, 40, oae),
|
|
96043
|
-
t.isTab ? (w(), P(
|
|
96040
|
+
t.isTab ? (w(), P(Ge, { key: 0 }, [
|
|
96044
96041
|
I(B) ? (w(), ze($t(I(B)), {
|
|
96045
96042
|
key: 0,
|
|
96046
96043
|
class: "w-4 h-4 flex-shrink-0"
|
|
@@ -96395,10 +96392,10 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
96395
96392
|
class: Fe(["flex flex-col gap-1 w-full", [H(n).class, s.disabled ? "cursor-not-allowed" : ""]]),
|
|
96396
96393
|
"aria-busy": s.skeleton
|
|
96397
96394
|
}, [
|
|
96398
|
-
s.skeleton ? (w(), P(
|
|
96395
|
+
s.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
96399
96396
|
r.value ? (w(), P("div", fae)) : ue("", !0),
|
|
96400
96397
|
Oe[3] || (Oe[3] = x("div", { class: "h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse" }, null, -1))
|
|
96401
|
-
], 64)) : (w(), P(
|
|
96398
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
96402
96399
|
r.value ? (w(), P("label", {
|
|
96403
96400
|
key: 0,
|
|
96404
96401
|
for: l.value,
|
|
@@ -96425,7 +96422,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
96425
96422
|
}, [
|
|
96426
96423
|
x("div", gae, [
|
|
96427
96424
|
T.value.length ? (w(), P("div", bae, [
|
|
96428
|
-
(w(!0), P(
|
|
96425
|
+
(w(!0), P(Ge, null, _t(k.value, (oe, xe) => (w(), P("div", {
|
|
96429
96426
|
key: `chip-${p(oe, xe)}`,
|
|
96430
96427
|
class: "inline-flex items-center rounded-md border px-1.5 py-0.5 text-xs font-medium bg-neutral-100 dark:bg-neutral-800 text-neutral-900 dark:text-neutral-100 border-transparent gap-1"
|
|
96431
96428
|
}, [
|
|
@@ -96480,7 +96477,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
96480
96477
|
style: Mt({ height: _e.value + "px" }),
|
|
96481
96478
|
onScroll: Se
|
|
96482
96479
|
}, [
|
|
96483
|
-
ye.value ? (w(), P("div", Aae, " All items have been selected ")) : (w(), P(
|
|
96480
|
+
ye.value ? (w(), P("div", Aae, " All items have been selected ")) : (w(), P(Ge, { key: 1 }, [
|
|
96484
96481
|
s.virtual ? (w(), P("div", {
|
|
96485
96482
|
key: 0,
|
|
96486
96483
|
style: Mt({ height: pe.value + "px" })
|
|
@@ -96491,7 +96488,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
96491
96488
|
s.virtual ? { transform: `translateY(${Pe.value}px)` } : void 0
|
|
96492
96489
|
)
|
|
96493
96490
|
}, [
|
|
96494
|
-
(w(!0), P(
|
|
96491
|
+
(w(!0), P(Ge, null, _t(Be.value, (oe, xe) => (w(), P("button", {
|
|
96495
96492
|
key: String(p(oe, Ce.value + xe)),
|
|
96496
96493
|
type: "button",
|
|
96497
96494
|
class: Fe(["w-full px-3 text-left text-sm flex items-center justify-between gap-3", [
|
|
@@ -96708,7 +96705,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
96708
96705
|
l.value.clear();
|
|
96709
96706
|
}
|
|
96710
96707
|
}), (j, $) => (w(), P("div", Oae, [
|
|
96711
|
-
(w(!0), P(
|
|
96708
|
+
(w(!0), P(Ge, null, _t(o.value, (B) => (w(), P("div", {
|
|
96712
96709
|
key: B.id,
|
|
96713
96710
|
class: Fe(["dcode-card overflow-hidden", { "border-l-4 border-l-blue-500": c(B) }])
|
|
96714
96711
|
}, [
|
|
@@ -96741,7 +96738,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
96741
96738
|
B.permission && B.permission.length > 0 ? (w(), P("div", zae, [
|
|
96742
96739
|
x("h4", Uae, he(H(i)("common.permissions")) + ": ", 1),
|
|
96743
96740
|
x("div", jae, [
|
|
96744
|
-
(w(!0), P(
|
|
96741
|
+
(w(!0), P(Ge, null, _t(S(B), (q) => (w(), P("label", {
|
|
96745
96742
|
key: q.id,
|
|
96746
96743
|
class: "flex items-center gap-2 px-3 py-2 bg-white dark:bg-neutral-800 border border-gray-200 dark:border-neutral-700/50 rounded-lg cursor-pointer hover:border-blue-400 dark:hover:border-primary-500 hover:bg-blue-50 dark:hover:bg-neutral-900/50 transition-all group"
|
|
96747
96744
|
}, [
|
|
@@ -96769,7 +96766,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
96769
96766
|
$[0] || ($[0] = x("span", { class: "w-1 h-4 bg-blue-500 rounded" }, null, -1)),
|
|
96770
96767
|
ot(" " + he(H(i)("common.subMenus")), 1)
|
|
96771
96768
|
]),
|
|
96772
|
-
(w(!0), P(
|
|
96769
|
+
(w(!0), P(Ge, null, _t(B.detail, (q) => (w(), P("div", {
|
|
96773
96770
|
key: q.id,
|
|
96774
96771
|
class: "bg-white dark:bg-neutral-800 rounded-lg border border-gray-200 dark:border-neutral-700/50 overflow-hidden shadow-sm hover:shadow transition-shadow"
|
|
96775
96772
|
}, [
|
|
@@ -96797,7 +96794,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
96797
96794
|
]),
|
|
96798
96795
|
q.permission && q.permission.length > 0 ? (w(), P("div", ile, [
|
|
96799
96796
|
x("div", sle, [
|
|
96800
|
-
(w(!0), P(
|
|
96797
|
+
(w(!0), P(Ge, null, _t(q.permission, (Z) => (w(), P("label", {
|
|
96801
96798
|
key: Z.id,
|
|
96802
96799
|
class: "flex items-center gap-2 px-2.5 py-1.5 bg-gray-50 dark:bg-zinc-900/50 border border-gray-200 dark:border-neutral-700 rounded-md cursor-pointer hover:border-pink-400 dark:hover:border-pink-500 hover:bg-pink-50 dark:hover:bg-pink-900/20 transition-all group"
|
|
96803
96800
|
}, [
|
|
@@ -97039,7 +97036,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
97039
97036
|
])) : o.value.length === 0 ? (w(), P("div", hle, [
|
|
97040
97037
|
x("p", mle, he(H(s)("common.noPermissions")), 1)
|
|
97041
97038
|
])) : (w(), P("div", ple, [
|
|
97042
|
-
(w(!0), P(
|
|
97039
|
+
(w(!0), P(Ge, null, _t(o.value, (A) => (w(), P("div", {
|
|
97043
97040
|
key: A.module,
|
|
97044
97041
|
class: "bg-white dark:bg-neutral-800 rounded-lg border border-neutral-200/60 dark:border-neutral-700/50 shadow-sm hover:shadow-md transition-shadow"
|
|
97045
97042
|
}, [
|
|
@@ -97062,7 +97059,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
97062
97059
|
]),
|
|
97063
97060
|
x("div", kle, [
|
|
97064
97061
|
x("div", xle, [
|
|
97065
|
-
(w(!0), P(
|
|
97062
|
+
(w(!0), P(Ge, null, _t(A.permissions, (E) => (w(), P("div", {
|
|
97066
97063
|
key: E.id,
|
|
97067
97064
|
class: "flex items-start p-2 rounded hover:bg-gray-50 dark:hover:bg-gray-750 transition-colors"
|
|
97068
97065
|
}, [
|
|
@@ -97168,10 +97165,10 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
97168
97165
|
class: Fe(["flex flex-row justify-between items-center gap-4 py-3 px-0 border-b transition-all duration-300 rounded-none bg-transparent", r.value]),
|
|
97169
97166
|
"aria-busy": t.skeleton
|
|
97170
97167
|
}, [
|
|
97171
|
-
t.skeleton ? (w(), P(
|
|
97168
|
+
t.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
97172
97169
|
c[1] || (c[1] = x("div", { class: "h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-shimmer" }, null, -1)),
|
|
97173
97170
|
c[2] || (c[2] = x("div", { class: "h-4 w-24 rounded bg-gray-200 dark:bg-gray-700 animate-shimmer" }, null, -1))
|
|
97174
|
-
], 64)) : (w(), P(
|
|
97171
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
97175
97172
|
x("div", Ple, [
|
|
97176
97173
|
ke(Lc, {
|
|
97177
97174
|
label: t.label,
|
|
@@ -97181,7 +97178,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
97181
97178
|
]),
|
|
97182
97179
|
x("div", Mle, [
|
|
97183
97180
|
Tt(l.$slots, "value", {}, () => [
|
|
97184
|
-
s.value === "PASSWORD" ? (w(), P(
|
|
97181
|
+
s.value === "PASSWORD" ? (w(), P(Ge, { key: 0 }, [
|
|
97185
97182
|
x("span", {
|
|
97186
97183
|
class: "text-sm font-mono font-medium truncate block",
|
|
97187
97184
|
title: String(i.value || "")
|
|
@@ -97483,7 +97480,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
97483
97480
|
x("span", jle, he(H(e)("common.noData")), 1),
|
|
97484
97481
|
X[2] || (X[2] = x("p", { class: "text-[10px] text-neutral-400 dark:text-neutral-500 mt-1 uppercase tracking-widest font-medium" }, "No visual records found", -1))
|
|
97485
97482
|
])) : (w(), P("div", Wle, [
|
|
97486
|
-
(w(!0), P(
|
|
97483
|
+
(w(!0), P(Ge, null, _t(d.value, (ie, Y) => (w(), P("div", {
|
|
97487
97484
|
key: Y,
|
|
97488
97485
|
class: "flex flex-col gap-4"
|
|
97489
97486
|
}, [
|
|
@@ -97578,7 +97575,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
97578
97575
|
key: 3,
|
|
97579
97576
|
style: Mt(p.value)
|
|
97580
97577
|
}, [
|
|
97581
|
-
(w(!0), P(
|
|
97578
|
+
(w(!0), P(Ge, null, _t(m.value, (ie, Y) => {
|
|
97582
97579
|
var G;
|
|
97583
97580
|
return w(), P("div", {
|
|
97584
97581
|
key: Y,
|
|
@@ -98871,7 +98868,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
98871
98868
|
}, [
|
|
98872
98869
|
C[2] || (C[2] = x("div", { class: "timeline-main-line bg-neutral-200 dark:bg-neutral-800" }, null, -1)),
|
|
98873
98870
|
x("div", Fue, [
|
|
98874
|
-
(w(!0), P(
|
|
98871
|
+
(w(!0), P(Ge, null, _t(o.value, (_, S) => (w(), P("div", {
|
|
98875
98872
|
key: S,
|
|
98876
98873
|
class: "timeline-phase-group"
|
|
98877
98874
|
}, [
|
|
@@ -98891,7 +98888,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
98891
98888
|
])
|
|
98892
98889
|
])) : ue("", !0),
|
|
98893
98890
|
_ && _.detail && _.detail.length > 0 ? (w(), P("div", Hue, [
|
|
98894
|
-
(w(!0), P(
|
|
98891
|
+
(w(!0), P(Ge, null, _t(_.detail, (A, E) => (w(), P("div", {
|
|
98895
98892
|
key: A.id || E,
|
|
98896
98893
|
class: Fe(["timeline-item-container", [E % 2 === 0 ? "is-even" : "is-odd"]])
|
|
98897
98894
|
}, [
|
|
@@ -99163,7 +99160,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
99163
99160
|
])
|
|
99164
99161
|
])) : ue("", !0),
|
|
99165
99162
|
x("div", cde, [
|
|
99166
|
-
i.value ? (w(), P(
|
|
99163
|
+
i.value ? (w(), P(Ge, { key: 0 }, [
|
|
99167
99164
|
r.value ? (w(), P("div", ude, [
|
|
99168
99165
|
x("div", dde, [
|
|
99169
99166
|
T[0] || (T[0] = x("div", { class: "h-12 w-12 rounded-full border-4 border-primary/20 border-t-primary animate-spin" }, null, -1)),
|
|
@@ -99178,9 +99175,9 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
99178
99175
|
x("div", mde, [
|
|
99179
99176
|
x("h3", pde, he(s.value ? "Keamanan Browser Memblokir" : "Gagal Memuat PDF"), 1),
|
|
99180
99177
|
x("p", gde, [
|
|
99181
|
-
s.value ? (w(), P(
|
|
99178
|
+
s.value ? (w(), P(Ge, { key: 0 }, [
|
|
99182
99179
|
ot(" Dokumen ini berasal dari sumber yang tidak aman (HTTP) dan diblokir oleh browser (HTTPS). Silakan buka di tab baru atau unduh file untuk melihatnya. ")
|
|
99183
|
-
], 64)) : (w(), P(
|
|
99180
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
99184
99181
|
ot(" Kami tidak dapat menampilkan dokumen secara langsung. Ini bisa terjadi karena file tidak ditemukan, masalah jaringan, atau batasan akses dari server. ")
|
|
99185
99182
|
], 64))
|
|
99186
99183
|
])
|
|
@@ -99425,7 +99422,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
99425
99422
|
]),
|
|
99426
99423
|
x("div", Ade, [
|
|
99427
99424
|
q[3] || (q[3] = x("span", { class: "text-[10px] font-black uppercase tracking-widest text-neutral-400 mr-1" }, "Health:", -1)),
|
|
99428
|
-
(w(), P(
|
|
99425
|
+
(w(), P(Ge, null, _t(["ALL", "UP", "DOWN"], (Z) => x("button", {
|
|
99429
99426
|
key: Z,
|
|
99430
99427
|
onClick: (le) => E.value = Z,
|
|
99431
99428
|
class: Fe([
|
|
@@ -99467,7 +99464,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
99467
99464
|
])
|
|
99468
99465
|
], -1)),
|
|
99469
99466
|
x("tbody", Ide, [
|
|
99470
|
-
(w(!0), P(
|
|
99467
|
+
(w(!0), P(Ge, null, _t(k.value, (Z) => {
|
|
99471
99468
|
var le, ye, re, ce, Te, ve;
|
|
99472
99469
|
return w(), P("tr", {
|
|
99473
99470
|
key: Z.id || Z.code,
|
|
@@ -99657,17 +99654,17 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
99657
99654
|
])) : ue("", !0),
|
|
99658
99655
|
x("p", ufe, he(t.label || "Checklist Item"), 1)
|
|
99659
99656
|
]),
|
|
99660
|
-
s.value === "BADGE" ? (w(), P(
|
|
99657
|
+
s.value === "BADGE" ? (w(), P(Ge, { key: 0 }, [
|
|
99661
99658
|
o.value ? (w(), P("span", {
|
|
99662
99659
|
key: 0,
|
|
99663
99660
|
class: Fe(["mt-auto px-4 py-1 text-xs font-semibold rounded-md border", a.value ? "bg-green-50 border-green-200 text-green-700 dark:bg-green-950/30 dark:border-green-900/50 dark:text-green-400" : "bg-red-50 border-red-200 text-red-700 dark:bg-red-950/30 dark:border-red-900/50 dark:text-red-400"])
|
|
99664
99661
|
}, he(o.value), 3)) : (w(), P("span", dfe, " - "))
|
|
99665
|
-
], 64)) : s.value === "BOOLEAN" ? (w(), P(
|
|
99662
|
+
], 64)) : s.value === "BOOLEAN" ? (w(), P(Ge, { key: 1 }, [
|
|
99666
99663
|
r.value !== null ? (w(), P("span", {
|
|
99667
99664
|
key: 0,
|
|
99668
99665
|
class: Fe(["mt-auto px-4 py-1 text-xs font-semibold rounded-md border", l.value ? "bg-green-50 border-green-200 text-green-700 dark:bg-green-950/30 dark:border-green-900/50 dark:text-green-400" : "bg-red-50 border-red-200 text-red-700 dark:bg-red-950/30 dark:border-red-900/50 dark:text-red-400"])
|
|
99669
99666
|
}, he(o.value), 3)) : (w(), P("span", ffe, " - "))
|
|
99670
|
-
], 64)) : (w(), P(
|
|
99667
|
+
], 64)) : (w(), P(Ge, { key: 2 }, [
|
|
99671
99668
|
o.value ? (w(), P("p", {
|
|
99672
99669
|
key: 0,
|
|
99673
99670
|
class: "mt-auto text-base font-bold text-neutral-900 dark:text-neutral-50 truncate max-w-full",
|
|
@@ -99980,7 +99977,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
99980
99977
|
}, null, 8, bfe)
|
|
99981
99978
|
])) : t.viewOnly ? (w(), P("div", yfe, [
|
|
99982
99979
|
x("span", vfe, he(d.value), 1),
|
|
99983
|
-
l.value ? (w(), P(
|
|
99980
|
+
l.value ? (w(), P(Ge, { key: 0 }, [
|
|
99984
99981
|
f.value ? (w(), P("img", {
|
|
99985
99982
|
key: 0,
|
|
99986
99983
|
src: f.value,
|
|
@@ -100056,9 +100053,9 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
100056
100053
|
x("div", {
|
|
100057
100054
|
class: Fe(["p-4 grid gap-4", H(j)(((ve = (Te = t.section) == null ? void 0 : Te.propsForm) == null ? void 0 : ve.layoutColumns) || ((de = t.section) == null ? void 0 : de.layoutColumns))])
|
|
100058
100055
|
}, [
|
|
100059
|
-
(w(!0), P(
|
|
100056
|
+
(w(!0), P(Ge, null, _t(le(((J = (N = t.section) == null ? void 0 : N.propsForm) == null ? void 0 : J.fields) || ((ae = t.section) == null ? void 0 : ae.fields)), (U) => {
|
|
100060
100057
|
var W, X, ie, Y, G, O, M, D, K;
|
|
100061
|
-
return w(), P(
|
|
100058
|
+
return w(), P(Ge, {
|
|
100062
100059
|
key: U == null ? void 0 : U.key
|
|
100063
100060
|
}, [
|
|
100064
100061
|
H(d)(U, void 0, U.model) ? fn((w(), P("div", {
|
|
@@ -100098,9 +100095,9 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
100098
100095
|
var Te, ve, de, N;
|
|
100099
100096
|
return [
|
|
100100
100097
|
x("div", Cfe, [
|
|
100101
|
-
(de = (ve = (Te = t.section) == null ? void 0 : Te.propsForm) == null ? void 0 : ve.actionSection) != null && de.length ? (w(!0), P(
|
|
100098
|
+
(de = (ve = (Te = t.section) == null ? void 0 : Te.propsForm) == null ? void 0 : ve.actionSection) != null && de.length ? (w(!0), P(Ge, { key: 0 }, _t(t.section.propsForm.actionSection, (J, ae) => {
|
|
100102
100099
|
var U, W, X, ie, Y, G, O, M, D, K, ne, _e, pe, Me, Ce, Ie, Pe, Be, Se, Ve, De, He;
|
|
100103
|
-
return w(), P(
|
|
100100
|
+
return w(), P(Ge, { key: ae }, [
|
|
100104
100101
|
(U = H(s)) != null && U(J) && (J.type === "BUTTONGROUP" || ((W = J.propsActionGlobal) == null ? void 0 : W.type) === "BUTTONGROUP" || J.buttons && J.buttons.length || (X = J.propsActionGlobal) != null && X.buttons && J.propsActionGlobal.buttons.length) ? (w(), ze(dl, {
|
|
100105
100102
|
key: 0,
|
|
100106
100103
|
icon: J.icon || ((ie = J.propsActionGlobal) == null ? void 0 : ie.icon),
|
|
@@ -101020,7 +101017,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
101020
101017
|
getNormalizedData: et,
|
|
101021
101018
|
resolveDefaultValue: gt,
|
|
101022
101019
|
resolveSectionGridClass: dt,
|
|
101023
|
-
resolveFieldColumnClass:
|
|
101020
|
+
resolveFieldColumnClass: Ze
|
|
101024
101021
|
} = s0({
|
|
101025
101022
|
formData: Ie,
|
|
101026
101023
|
errors: Pe,
|
|
@@ -101742,7 +101739,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
101742
101739
|
let se = 0;
|
|
101743
101740
|
return typeof we == "number" && typeof Ee == "number" ? se = we - Ee : se = String(we).localeCompare(String(Ee)), q.value.direction === "asc" ? se : -se;
|
|
101744
101741
|
}) : La.value), bg = ee(() => {
|
|
101745
|
-
if (Vn.value)
|
|
101742
|
+
if (Vn.value || i.controlled)
|
|
101746
101743
|
return Jl.value.map((fe, we) => ({
|
|
101747
101744
|
...fe,
|
|
101748
101745
|
no: ($.value - 1) * B.value + we + 1
|
|
@@ -102698,7 +102695,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
102698
102695
|
Tt(F.$slots, "filter-form", { filters: Y.value }, () => [
|
|
102699
102696
|
O.value.length > 0 ? (w(), P("div", _he, [
|
|
102700
102697
|
x("div", khe, [
|
|
102701
|
-
(w(!0), P(
|
|
102698
|
+
(w(!0), P(Ge, null, _t(D.value, (se, be) => (w(), P(Ge, { key: be }, [
|
|
102702
102699
|
H(mt)(se) ? (w(), P("div", {
|
|
102703
102700
|
key: 0,
|
|
102704
102701
|
class: Fe(H(ts)(se, "1"))
|
|
@@ -102773,7 +102770,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
102773
102770
|
]),
|
|
102774
102771
|
_: 1
|
|
102775
102772
|
}, 8, ["text", "tooltip", "disabled"])) : ue("", !0),
|
|
102776
|
-
(w(!0), P(
|
|
102773
|
+
(w(!0), P(Ge, null, _t(yr.value, (se, be) => (w(), P(Ge, { key: be }, [
|
|
102777
102774
|
se.type === "BUTTONGROUP" || se.actionType === "BUTTONGROUP" || se.propsActionGlobal && se.propsActionGlobal.type === "BUTTONGROUP" || se.buttons && se.buttons.length || se.propsCustom && se.propsCustom.length ? (w(), ze(dl, {
|
|
102778
102775
|
key: 0,
|
|
102779
102776
|
text: se.label,
|
|
@@ -102817,7 +102814,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
102817
102814
|
x("table", Ehe, [
|
|
102818
102815
|
x("thead", The, [
|
|
102819
102816
|
x("tr", null, [
|
|
102820
|
-
(w(!0), P(
|
|
102817
|
+
(w(!0), P(Ge, null, _t(Di.value, (se) => (w(), P("th", {
|
|
102821
102818
|
key: se.key,
|
|
102822
102819
|
class: Fe([
|
|
102823
102820
|
se.align ? `text-${se.align.toLowerCase()}` : "text-left",
|
|
@@ -102850,10 +102847,10 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
102850
102847
|
])
|
|
102851
102848
|
]),
|
|
102852
102849
|
x("tbody", Lhe, [
|
|
102853
|
-
Oi.value && Z.value.length === 0 ? (w(!0), P(
|
|
102850
|
+
Oi.value && Z.value.length === 0 ? (w(!0), P(Ge, { key: 0 }, _t(ss.value.length > 0 ? ss.value.length : Math.max(B.value, 5), (se) => (w(), P("tr", {
|
|
102854
102851
|
key: `skeleton-${se}`
|
|
102855
102852
|
}, [
|
|
102856
|
-
(w(!0), P(
|
|
102853
|
+
(w(!0), P(Ge, null, _t(Di.value, (be) => {
|
|
102857
102854
|
var Ae, Je;
|
|
102858
102855
|
return w(), P("td", {
|
|
102859
102856
|
key: be.key,
|
|
@@ -102894,11 +102891,11 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
102894
102891
|
])
|
|
102895
102892
|
])
|
|
102896
102893
|
], 8, Fhe)
|
|
102897
|
-
])) : (w(!0), P(
|
|
102894
|
+
])) : (w(!0), P(Ge, { key: 2 }, _t(ss.value, (se, be) => (w(), P(Ge, { key: be }, [
|
|
102898
102895
|
x("tr", {
|
|
102899
102896
|
class: Fe(["hover:bg-zinc-50 dark:hover:bg-zinc-800/50 transition-colors duration-150", { "opacity-50 pointer-events-none select-none grayscale-[30%]": Oi.value }])
|
|
102900
102897
|
}, [
|
|
102901
|
-
(w(!0), P(
|
|
102898
|
+
(w(!0), P(Ge, null, _t(Di.value, (Ae) => (w(), P("td", {
|
|
102902
102899
|
key: Ae.key,
|
|
102903
102900
|
class: Fe([
|
|
102904
102901
|
Ae.align ? `text-${Ae.align.toLowerCase()}` : "text-left",
|
|
@@ -102957,7 +102954,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
102957
102954
|
orientation: Ht(Ae, "orientation", "horizontal"),
|
|
102958
102955
|
onButtonClick: (Bt) => Go(Bt, se, be)
|
|
102959
102956
|
}, null, 8, ["buttons", "size", "variant", "bg-color", "text-color", "border-color", "border-style", "rounded", "orientation", "onButtonClick"])
|
|
102960
|
-
], 2)) : Ae.key === "no" ? (w(), P(
|
|
102957
|
+
], 2)) : Ae.key === "no" ? (w(), P(Ge, { key: 3 }, [
|
|
102961
102958
|
ot(he(($.value - 1) * B.value + be + 1), 1)
|
|
102962
102959
|
], 64)) : Ae.type === "HYPERLINK" || Ae.type === "hyperlink" ? (w(), P("a", {
|
|
102963
102960
|
key: 4,
|
|
@@ -102988,7 +102985,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
102988
102985
|
})
|
|
102989
102986
|
], -1)
|
|
102990
102987
|
])])) : ue("", !0)
|
|
102991
|
-
], 8, jhe)) : (w(), P(
|
|
102988
|
+
], 8, jhe)) : (w(), P(Ge, { key: 5 }, [
|
|
102992
102989
|
ot(he(jt(se, Ae)), 1)
|
|
102993
102990
|
], 64))
|
|
102994
102991
|
];
|
|
@@ -103002,7 +102999,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
103002
102999
|
getIconComponent: Oa
|
|
103003
103000
|
}, () => [
|
|
103004
103001
|
Qs(se).length > 0 ? (w(), P("div", qhe, [
|
|
103005
|
-
(w(!0), P(
|
|
103002
|
+
(w(!0), P(Ge, null, _t(Qs(se), (Ae, Je) => (w(), P("div", {
|
|
103006
103003
|
key: Je,
|
|
103007
103004
|
class: "group relative"
|
|
103008
103005
|
}, [
|
|
@@ -103073,7 +103070,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
103073
103070
|
}),
|
|
103074
103071
|
ke(H(qfe), null, {
|
|
103075
103072
|
default: We(() => [
|
|
103076
|
-
(w(), P(
|
|
103073
|
+
(w(), P(Ge, null, _t(Dn, (se) => ke(H(Gfe), {
|
|
103077
103074
|
key: se,
|
|
103078
103075
|
value: String(se)
|
|
103079
103076
|
}, {
|
|
@@ -103125,7 +103122,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
103125
103122
|
]),
|
|
103126
103123
|
_: 1
|
|
103127
103124
|
}),
|
|
103128
|
-
(w(!0), P(
|
|
103125
|
+
(w(!0), P(Ge, null, _t(se, (be, Ae) => (w(), P(Ge, null, [
|
|
103129
103126
|
be.type === "page" ? (w(), ze(H(zfe), {
|
|
103130
103127
|
key: Ae,
|
|
103131
103128
|
value: be.value,
|
|
@@ -103248,12 +103245,12 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
103248
103245
|
x("p", dme, he(f("datatable.navigationRouteInfo", { route: pe.value.route })), 1)
|
|
103249
103246
|
])
|
|
103250
103247
|
])) : ue("", !0),
|
|
103251
|
-
(w(!0), P(
|
|
103248
|
+
(w(!0), P(Ge, null, _t(Ve.value, (tt, ut) => {
|
|
103252
103249
|
var ft, pt, Lt, zt, Jt, Dt, Kt;
|
|
103253
|
-
return w(), P(
|
|
103250
|
+
return w(), P(Ge, { key: ut }, [
|
|
103254
103251
|
!tt.isHidden && !H(oe)(tt) && H(qe)(tt) && !(t.dummyMode && ((ft = pe.value) != null && ft.route)) ? (w(), P("div", {
|
|
103255
103252
|
key: 0,
|
|
103256
|
-
class: Fe(H(
|
|
103253
|
+
class: Fe(H(Ze)(tt, ((Lt = (pt = pe.value) == null ? void 0 : pt.dialogConfig) == null ? void 0 : Lt.layoutColumns) || ((zt = pe.value) == null ? void 0 : zt.layoutColumns)))
|
|
103257
103254
|
}, [
|
|
103258
103255
|
x("div", fme, [
|
|
103259
103256
|
ke(dg, {
|
|
@@ -103506,7 +103503,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
103506
103503
|
}, Y0({
|
|
103507
103504
|
default: We(() => [
|
|
103508
103505
|
H(l).length ? (w(), P("div", _me, [
|
|
103509
|
-
(w(!0), P(
|
|
103506
|
+
(w(!0), P(Ge, null, _t(H(l), (q) => (w(), P(Ge, {
|
|
103510
103507
|
key: q.key
|
|
103511
103508
|
}, [
|
|
103512
103509
|
H(c)(q, H(f)) ? fn((w(), P("div", {
|
|
@@ -103644,9 +103641,9 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
103644
103641
|
var z, I, T, k, j, $;
|
|
103645
103642
|
return w(), P("div", Cme, [
|
|
103646
103643
|
x("div", Ame, [
|
|
103647
|
-
(w(!0), P(
|
|
103644
|
+
(w(!0), P(Ge, null, _t((z = H(o)) == null ? void 0 : z.sections, (B, q) => {
|
|
103648
103645
|
var Z, le;
|
|
103649
|
-
return w(), P(
|
|
103646
|
+
return w(), P(Ge, { key: q }, [
|
|
103650
103647
|
((Z = B.type) == null ? void 0 : Z.toUpperCase()) === "FORM" && B.propsForm && A(B) ? fn((w(), ze(Afe, {
|
|
103651
103648
|
key: 0,
|
|
103652
103649
|
"dummy-mode": i.dummyMode,
|
|
@@ -103671,9 +103668,9 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
103671
103668
|
((k = (T = H(o)) == null ? void 0 : T.ui) == null ? void 0 : k.actionsClass) || "flex items-center gap-2 flex-wrap pt-4 mt-6 border-t border-neutral-100 dark:border-neutral-800"
|
|
103672
103669
|
)
|
|
103673
103670
|
}, [
|
|
103674
|
-
($ = (j = H(o)) == null ? void 0 : j.actionGlobal) != null && $.length ? (w(!0), P(
|
|
103671
|
+
($ = (j = H(o)) == null ? void 0 : j.actionGlobal) != null && $.length ? (w(!0), P(Ge, { key: 0 }, _t(H(o).actionGlobal, (B, q) => {
|
|
103675
103672
|
var Z, le, ye, re, ce;
|
|
103676
|
-
return w(), P(
|
|
103673
|
+
return w(), P(Ge, { key: q }, [
|
|
103677
103674
|
B.propsActionGlobal && H(d)(B) && (B.propsActionGlobal.type === "BUTTONGROUP" || B.buttons && B.buttons.length || B.propsActionGlobal.buttons && B.propsActionGlobal.buttons.length) ? (w(), ze(dl, {
|
|
103678
103675
|
key: 0,
|
|
103679
103676
|
icon: B.propsActionGlobal.icon,
|
|
@@ -103915,7 +103912,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
103915
103912
|
key: 0,
|
|
103916
103913
|
class: Fe(["w-full relative flex overflow-visible rounded-lg", t.isVertical ? "flex-col gap-2" : ""])
|
|
103917
103914
|
}, [
|
|
103918
|
-
t.isVertical ? (w(!0), P(
|
|
103915
|
+
t.isVertical ? (w(!0), P(Ge, { key: 1 }, _t(t.tabs, ($, B) => (w(), P("div", {
|
|
103919
103916
|
key: $.key,
|
|
103920
103917
|
class: "relative z-10 box-border flex items-center gap-3 w-full pb-6 last:pb-0"
|
|
103921
103918
|
}, [
|
|
@@ -103934,7 +103931,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
103934
103931
|
x("span", {
|
|
103935
103932
|
class: Fe(["text-xs font-semibold whitespace-normal px-2 py-1 rounded transition-colors text-left", B === a.value ? "text-primary" : "text-muted-foreground"])
|
|
103936
103933
|
}, he($.title), 3)
|
|
103937
|
-
]))), 128)) : (w(!0), P(
|
|
103934
|
+
]))), 128)) : (w(!0), P(Ge, { key: 0 }, _t(t.tabs, ($, B) => (w(), P("div", {
|
|
103938
103935
|
key: $.key,
|
|
103939
103936
|
onClick: (q) => A(B),
|
|
103940
103937
|
style: Mt({ zIndex: t.tabs.length - B }),
|
|
@@ -103967,7 +103964,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
103967
103964
|
key: 1,
|
|
103968
103965
|
class: Fe(["flex w-full", t.isVertical ? "flex-col gap-1" : "flex-wrap border-b border-separate"])
|
|
103969
103966
|
}, [
|
|
103970
|
-
(w(!0), P(
|
|
103967
|
+
(w(!0), P(Ge, null, _t(t.tabs, ($, B) => (w(), P("button", {
|
|
103971
103968
|
key: $.key,
|
|
103972
103969
|
type: "button",
|
|
103973
103970
|
disabled: !C(B),
|
|
@@ -104005,7 +104002,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
104005
104002
|
key: (($ = c.value) == null ? void 0 : $.key) || a.value,
|
|
104006
104003
|
class: "w-full"
|
|
104007
104004
|
}, [
|
|
104008
|
-
c.value ? (w(), P(
|
|
104005
|
+
c.value ? (w(), P(Ge, { key: 0 }, [
|
|
104009
104006
|
(B = m[c.value.key]) != null && B.loading ? Tt(k.$slots, "loading", {
|
|
104010
104007
|
tab: c.value,
|
|
104011
104008
|
tabIndex: a.value
|
|
@@ -104374,7 +104371,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
104374
104371
|
const oe = Me[0];
|
|
104375
104372
|
if (typeof oe == "object" && oe !== null) {
|
|
104376
104373
|
const xe = Object.entries(oe), $e = Oe.map((dt) => {
|
|
104377
|
-
const
|
|
104374
|
+
const Ze = {};
|
|
104378
104375
|
return xe.forEach(([Qe, yt]) => {
|
|
104379
104376
|
let mt = at(dt, Qe);
|
|
104380
104377
|
if (mt == null) {
|
|
@@ -104392,8 +104389,8 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
104392
104389
|
}
|
|
104393
104390
|
}
|
|
104394
104391
|
const Vt = typeof mt;
|
|
104395
|
-
mt != null && Vt === "object" && !Array.isArray(mt) && (mt = mt.id ?? mt.code ?? mt.value ?? mt), mt !== void 0 && (
|
|
104396
|
-
}),
|
|
104392
|
+
mt != null && Vt === "object" && !Array.isArray(mt) && (mt = mt.id ?? mt.code ?? mt.value ?? mt), mt !== void 0 && (Ze[yt] = mt);
|
|
104393
|
+
}), Ze;
|
|
104397
104394
|
}), nt = je.substring(He.length), Ye = Le.includes(".") ? Le.substring(Le.lastIndexOf(".")) : `.${Le}`, et = nt.replace(new RegExp(`\\.${Le}$`), ""), gt = `${He}${et}${Ye}`;
|
|
104398
104395
|
G[gt] = $e, Ue = !0, console.log(`[nested dynamic][INDEXED-MAPPED] Mapped "${je}" -> "${gt}":`, $e);
|
|
104399
104396
|
}
|
|
@@ -104707,7 +104704,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
104707
104704
|
return [
|
|
104708
104705
|
x("div", Kme, [
|
|
104709
104706
|
(O = G.actionComponent) != null && O.length ? (w(), P("div", Gme, [
|
|
104710
|
-
(w(!0), P(
|
|
104707
|
+
(w(!0), P(Ge, null, _t(G.actionComponent, (_e, pe) => {
|
|
104711
104708
|
var Me, Ce, Ie, Pe, Be, Se, Ve;
|
|
104712
104709
|
return w(), ze(mn, {
|
|
104713
104710
|
key: pe,
|
|
@@ -104771,7 +104768,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
104771
104768
|
]), 1032, ["modelValue", "tabs", "is-vertical", "is-wizard", "type-wizard", "loading"])
|
|
104772
104769
|
], 32)),
|
|
104773
104770
|
!t.hideActions && ((Y = (ie = _.value) == null ? void 0 : ie.actionGlobal) != null && Y.length) ? (w(), P("div", epe, [
|
|
104774
|
-
(w(!0), P(
|
|
104771
|
+
(w(!0), P(Ge, null, _t(_.value.actionGlobal, (G, O) => (w(), P(Ge, { key: O }, [
|
|
104775
104772
|
G.propsActionGlobal ? (w(), ze(mn, {
|
|
104776
104773
|
key: 0,
|
|
104777
104774
|
icon: G.propsActionGlobal.icon,
|
|
@@ -104821,7 +104818,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
104821
104818
|
setup(t) {
|
|
104822
104819
|
return (e, n) => (w(), P("div", ipe, [
|
|
104823
104820
|
n[2] || (n[2] = x("div", { class: "h-6 w-48 bg-neutral-200 dark:bg-neutral-700 rounded-md" }, null, -1)),
|
|
104824
|
-
(w(), P(
|
|
104821
|
+
(w(), P(Ge, null, _t(2, (i) => x("div", {
|
|
104825
104822
|
key: i,
|
|
104826
104823
|
class: "rounded-xl border border-neutral-200 dark:border-neutral-700 overflow-hidden"
|
|
104827
104824
|
}, [
|
|
@@ -104829,7 +104826,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
104829
104826
|
x("div", { class: "h-4 w-32 bg-neutral-300 dark:bg-neutral-600 rounded" })
|
|
104830
104827
|
], -1)),
|
|
104831
104828
|
x("div", spe, [
|
|
104832
|
-
(w(), P(
|
|
104829
|
+
(w(), P(Ge, null, _t(6, (s) => x("div", {
|
|
104833
104830
|
key: s,
|
|
104834
104831
|
class: Fe(s > 4 ? "md:col-span-2" : "col-span-1")
|
|
104835
104832
|
}, [...n[0] || (n[0] = [
|
|
@@ -105532,7 +105529,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
105532
105529
|
])) : ue("", !0),
|
|
105533
105530
|
x("div", bpe, [
|
|
105534
105531
|
a.value.length === 0 && l.value ? (w(), P("div", ype, [
|
|
105535
|
-
(w(), P(
|
|
105532
|
+
(w(), P(Ge, null, _t(3, (E) => x("div", {
|
|
105536
105533
|
key: E,
|
|
105537
105534
|
class: "w-full flex items-center justify-between p-4 bg-white dark:bg-neutral-800 border border-slate-200 dark:border-neutral-700/50 rounded-lg animate-pulse"
|
|
105538
105535
|
}, [...A[0] || (A[0] = [
|
|
@@ -105542,7 +105539,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
105542
105539
|
])) : a.value.length === 0 && !l.value ? (w(), P("div", vpe, [
|
|
105543
105540
|
x("span", wpe, he(H(s)("dynamicUploadList.noDocsRequired") || "No items available"), 1)
|
|
105544
105541
|
])) : ue("", !0),
|
|
105545
|
-
(w(!0), P(
|
|
105542
|
+
(w(!0), P(Ge, null, _t(a.value, (E, V) => (w(), P("div", {
|
|
105546
105543
|
key: V,
|
|
105547
105544
|
class: Fe(["bg-white dark:bg-neutral-800 border transition-all duration-200 rounded-lg shadow-sm overflow-hidden", b(E, V) ? "border-primary-500/50 dark:border-primary-500/30 ring-1 ring-primary-500/10" : "border-slate-200 dark:border-neutral-700/50"])
|
|
105548
105545
|
}, [
|
|
@@ -105767,10 +105764,10 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
105767
105764
|
ref: o,
|
|
105768
105765
|
class: "!w-full !block !box-border"
|
|
105769
105766
|
}, [
|
|
105770
|
-
n.skeleton ? (w(), P(
|
|
105767
|
+
n.skeleton ? (w(), P(Ge, { key: 0 }, [
|
|
105771
105768
|
n.label ? (w(), P("div", Epe)) : ue("", !0),
|
|
105772
105769
|
N[3] || (N[3] = x("div", { class: "h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse" }, null, -1))
|
|
105773
|
-
], 64)) : (w(), P(
|
|
105770
|
+
], 64)) : (w(), P(Ge, { key: 1 }, [
|
|
105774
105771
|
n.label ? (w(), P("label", {
|
|
105775
105772
|
key: 0,
|
|
105776
105773
|
for: c.value,
|
|
@@ -105837,7 +105834,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
105837
105834
|
key: 2,
|
|
105838
105835
|
class: Fe(["grid gap-2", k.value])
|
|
105839
105836
|
}, [
|
|
105840
|
-
(w(!0), P(
|
|
105837
|
+
(w(!0), P(Ge, null, _t(T.value, (J) => (w(), P("button", {
|
|
105841
105838
|
key: J,
|
|
105842
105839
|
type: "button",
|
|
105843
105840
|
class: Fe(["group rounded-lg border p-2 hover:bg-muted/40 transition", f.value === J ? "ring-1 ring-primary" : ""]),
|
|
@@ -106183,7 +106180,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
106183
106180
|
"aria-valuemax": n.value
|
|
106184
106181
|
}, [
|
|
106185
106182
|
x("div", Age, [
|
|
106186
|
-
(w(!0), P(
|
|
106183
|
+
(w(!0), P(Ge, null, _t(t.stepCount, (_) => (w(), P("span", {
|
|
106187
106184
|
key: _,
|
|
106188
106185
|
class: Fe(["h-2.5 flex-1 rounded-sm", _ <= a.value ? f.value : "bg-neutral-200 dark:bg-neutral-700"])
|
|
106189
106186
|
}, null, 2))), 128))
|
|
@@ -106314,7 +106311,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
106314
106311
|
}, [
|
|
106315
106312
|
ke(H(Fd), { "delay-duration": 200 }, {
|
|
106316
106313
|
default: We(() => [
|
|
106317
|
-
(w(!0), P(
|
|
106314
|
+
(w(!0), P(Ge, null, _t(t.options, (d) => (w(), P(Ge, {
|
|
106318
106315
|
key: d.code
|
|
106319
106316
|
}, [
|
|
106320
106317
|
d.tooltip ? (w(), ze(H(Rd), { key: 0 }, {
|
|
@@ -106678,7 +106675,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
106678
106675
|
let _e = [];
|
|
106679
106676
|
if (D)
|
|
106680
106677
|
try {
|
|
106681
|
-
const Ie = await import("./viewer-
|
|
106678
|
+
const Ie = await import("./viewer-BeeJPpfr.js");
|
|
106682
106679
|
_e = [Ie.default || Ie];
|
|
106683
106680
|
} catch (Ie) {
|
|
106684
106681
|
console.warn("[DCodeWorkflowBpmn] Token simulation module not available:", Ie);
|
|
@@ -106850,7 +106847,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
106850
106847
|
])) : ue("", !0)
|
|
106851
106848
|
]),
|
|
106852
106849
|
t.showToolbar ? (w(), P("div", ebe, [
|
|
106853
|
-
$.value ? (w(), P(
|
|
106850
|
+
$.value ? (w(), P(Ge, { key: 1 }, [
|
|
106854
106851
|
t.tokenSimulation ? (w(), P("div", nbe)) : ue("", !0),
|
|
106855
106852
|
x("button", {
|
|
106856
106853
|
type: "button",
|
|
@@ -106860,8 +106857,8 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
106860
106857
|
}, [
|
|
106861
106858
|
ke(H($r), { class: "h-4 w-4" })
|
|
106862
106859
|
])
|
|
106863
|
-
], 64)) : (w(), P(
|
|
106864
|
-
m.value === "diagram" ? (w(), P(
|
|
106860
|
+
], 64)) : (w(), P(Ge, { key: 0 }, [
|
|
106861
|
+
m.value === "diagram" ? (w(), P(Ge, { key: 0 }, [
|
|
106865
106862
|
x("button", {
|
|
106866
106863
|
type: "button",
|
|
106867
106864
|
class: "p-1.5 text-neutral-600 dark:text-neutral-400 hover:bg-neutral-200/60 dark:hover:bg-neutral-800 rounded-md transition-colors",
|
|
@@ -106889,7 +106886,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
106889
106886
|
M[6] || (M[6] = x("div", { class: "h-4 w-px bg-neutral-300 dark:bg-neutral-700 mx-1" }, null, -1)),
|
|
106890
106887
|
M[7] || (M[7] = x("div", { class: "h-4 w-px bg-neutral-300 dark:bg-neutral-700 mx-1" }, null, -1))
|
|
106891
106888
|
], 64)) : ue("", !0),
|
|
106892
|
-
t.allowDownload && p.value ? (w(), P(
|
|
106889
|
+
t.allowDownload && p.value ? (w(), P(Ge, { key: 1 }, [
|
|
106893
106890
|
x("button", {
|
|
106894
106891
|
type: "button",
|
|
106895
106892
|
class: "p-1.5 text-neutral-600 dark:text-neutral-400 hover:bg-neutral-200/60 dark:hover:bg-neutral-800 rounded-md transition-colors",
|
|
@@ -107120,7 +107117,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
107120
107117
|
const e = t, n = tM, i = e.separatorType === "slash" ? eM : Sl;
|
|
107121
107118
|
return (s, r) => (w(), P("nav", $be, [
|
|
107122
107119
|
x("ol", zbe, [
|
|
107123
|
-
(w(!0), P(
|
|
107120
|
+
(w(!0), P(Ge, null, _t(t.items, (o, a) => (w(), P("li", {
|
|
107124
107121
|
key: a,
|
|
107125
107122
|
class: "flex items-center"
|
|
107126
107123
|
}, [
|
|
@@ -107357,7 +107354,7 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
107357
107354
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => s.value = a),
|
|
107358
107355
|
class: "rounded-lg border border-neutral-300 bg-white px-4 py-2 text-sm text-neutral-900 focus:outline-none focus:ring-2 focus:ring-primary-500 dark:border-neutral-600 dark:bg-neutral-800 dark:text-neutral-100"
|
|
107359
107356
|
}, [
|
|
107360
|
-
(w(!0), P(
|
|
107357
|
+
(w(!0), P(Ge, null, _t(t.years, (a) => (w(), P("option", {
|
|
107361
107358
|
key: a,
|
|
107362
107359
|
value: a
|
|
107363
107360
|
}, he(a), 9, t0e))), 128))
|
|
@@ -107406,12 +107403,12 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
107406
107403
|
ke(H(nM), { class: "h-5 w-5 text-primary-500" })
|
|
107407
107404
|
]),
|
|
107408
107405
|
t.loading ? (w(), P("div", a0e, [
|
|
107409
|
-
(w(!0), P(
|
|
107406
|
+
(w(!0), P(Ge, null, _t(t.skeletonCount, (i) => (w(), P("div", {
|
|
107410
107407
|
key: i,
|
|
107411
107408
|
class: "h-32 animate-pulse rounded-xl bg-neutral-100 dark:bg-neutral-800"
|
|
107412
107409
|
}))), 128))
|
|
107413
107410
|
])) : (w(), P("div", l0e, [
|
|
107414
|
-
(w(!0), P(
|
|
107411
|
+
(w(!0), P(Ge, null, _t(t.items, (i) => (w(), P("article", {
|
|
107415
107412
|
key: i.id,
|
|
107416
107413
|
class: "rounded-xl border border-neutral-200 p-4 dark:border-neutral-700"
|
|
107417
107414
|
}, [
|
|
@@ -107458,12 +107455,12 @@ const Eoe = ["aria-busy"], Toe = {
|
|
|
107458
107455
|
ke(H(iM), { class: "h-5 w-5 text-warning-500" })
|
|
107459
107456
|
]),
|
|
107460
107457
|
t.loading ? (w(), P("div", b0e, [
|
|
107461
|
-
(w(!0), P(
|
|
107458
|
+
(w(!0), P(Ge, null, _t(t.skeletonCount, (s) => (w(), P("div", {
|
|
107462
107459
|
key: s,
|
|
107463
107460
|
class: "h-20 animate-pulse rounded-xl bg-neutral-100 dark:bg-neutral-800"
|
|
107464
107461
|
}))), 128))
|
|
107465
107462
|
])) : (w(), P("div", y0e, [
|
|
107466
|
-
(w(!0), P(
|
|
107463
|
+
(w(!0), P(Ge, null, _t(t.items, (s) => (w(), ze($t(s.route ? "router-link" : "div"), {
|
|
107467
107464
|
key: s.id,
|
|
107468
107465
|
to: s.route,
|
|
107469
107466
|
class: "group flex items-start gap-3 rounded-xl border border-neutral-200 p-3 transition hover:border-primary-300 dark:border-neutral-700 dark:hover:border-primary-700"
|