@xy-planning-network/trees 0.9.5 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/trees.es.js
CHANGED
|
@@ -1524,7 +1524,7 @@ const Et = (t, n) => {
|
|
|
1524
1524
|
e || {}
|
|
1525
1525
|
);
|
|
1526
1526
|
}
|
|
1527
|
-
},
|
|
1527
|
+
}, Vm = (t) => {
|
|
1528
1528
|
Cn.defaults = { ...Cn.defaults, ...t };
|
|
1529
1529
|
}, pl = (t) => t instanceof xn, ml = (t) => pl(t) && t.name === mo, va = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", hl = (t = 8) => {
|
|
1530
1530
|
let n = "";
|
|
@@ -1542,7 +1542,7 @@ function gl(t, n = 500) {
|
|
|
1542
1542
|
}, n);
|
|
1543
1543
|
};
|
|
1544
1544
|
}
|
|
1545
|
-
function
|
|
1545
|
+
function Hm(t, n = 500) {
|
|
1546
1546
|
let e = null;
|
|
1547
1547
|
return (...r) => {
|
|
1548
1548
|
e ? clearTimeout(e) : t.apply(r), e = setTimeout(() => {
|
|
@@ -1573,7 +1573,7 @@ const vl = (t, n, e) => {
|
|
|
1573
1573
|
modelValue: void 0,
|
|
1574
1574
|
// important to prevent unexpected default value of false
|
|
1575
1575
|
placeholder: ""
|
|
1576
|
-
},
|
|
1576
|
+
}, Um = [
|
|
1577
1577
|
"date",
|
|
1578
1578
|
"email",
|
|
1579
1579
|
"month",
|
|
@@ -1620,7 +1620,7 @@ const vl = (t, n, e) => {
|
|
|
1620
1620
|
const n = new Date(t);
|
|
1621
1621
|
return n.setMinutes(n.getMinutes() - n.getTimezoneOffset()), n.toISOString().slice(0, 16);
|
|
1622
1622
|
};
|
|
1623
|
-
function
|
|
1623
|
+
function qm(t, n = 100) {
|
|
1624
1624
|
let e;
|
|
1625
1625
|
return (...r) => {
|
|
1626
1626
|
e || (t.apply(r), e = !0, setTimeout(() => e = !1, n));
|
|
@@ -6573,19 +6573,19 @@ function rn(t, n = "GET", e = {}) {
|
|
|
6573
6573
|
execute: p
|
|
6574
6574
|
};
|
|
6575
6575
|
}
|
|
6576
|
-
function
|
|
6576
|
+
function Ym(t, n = {}) {
|
|
6577
6577
|
return rn(t, "GET", n);
|
|
6578
6578
|
}
|
|
6579
|
-
function
|
|
6579
|
+
function Wm(t, n = {}) {
|
|
6580
6580
|
return rn(t, "DELETE", n);
|
|
6581
6581
|
}
|
|
6582
|
-
function
|
|
6582
|
+
function zm(t, n = {}) {
|
|
6583
6583
|
return rn(t, "PATCH", n);
|
|
6584
6584
|
}
|
|
6585
|
-
function
|
|
6585
|
+
function Km(t, n = {}) {
|
|
6586
6586
|
return rn(t, "POST", n);
|
|
6587
6587
|
}
|
|
6588
|
-
function
|
|
6588
|
+
function Gm(t, n = {}) {
|
|
6589
6589
|
return rn(t, "PUT", n);
|
|
6590
6590
|
}
|
|
6591
6591
|
function nd(t = {}) {
|
|
@@ -6672,7 +6672,7 @@ const ui = {
|
|
|
6672
6672
|
genericError(t, n) {
|
|
6673
6673
|
$t().flasher.genericError(t, n);
|
|
6674
6674
|
}
|
|
6675
|
-
},
|
|
6675
|
+
}, Jm = (t, n) => {
|
|
6676
6676
|
var d;
|
|
6677
6677
|
const e = T(t), r = {
|
|
6678
6678
|
initial: ((d = e == null ? void 0 : e.value[0]) == null ? void 0 : d.value) || "",
|
|
@@ -6692,7 +6692,7 @@ const ui = {
|
|
|
6692
6692
|
isActiveTab: i,
|
|
6693
6693
|
tabs: e
|
|
6694
6694
|
};
|
|
6695
|
-
},
|
|
6695
|
+
}, Xm = (t) => {
|
|
6696
6696
|
const n = T(t);
|
|
6697
6697
|
return je(
|
|
6698
6698
|
n,
|
|
@@ -7187,15 +7187,16 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7187
7187
|
}), Ud = { class: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0" }, qd = /* @__PURE__ */ v("span", {
|
|
7188
7188
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
7189
7189
|
"aria-hidden": "true"
|
|
7190
|
-
}, "", -1), Yd = { class: "
|
|
7190
|
+
}, "", -1), Yd = { class: "block absolute top-0 right-0 pt-4 pr-4" }, Wd = /* @__PURE__ */ v("span", { class: "sr-only" }, "Close", -1), zd = { class: "bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, Kd = { class: "mt-3 sm:mt-0 sm:text-left" }, Gd = { class: "mt-2" }, Jd = {
|
|
7191
7191
|
key: 0,
|
|
7192
7192
|
class: "bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse"
|
|
7193
|
-
},
|
|
7193
|
+
}, Xd = ["disabled", "textContent"], Zd = /* @__PURE__ */ L({
|
|
7194
7194
|
__name: "Modal",
|
|
7195
7195
|
props: {
|
|
7196
7196
|
destructive: { type: Boolean, default: !1 },
|
|
7197
7197
|
disabled: { type: Boolean, default: !1 },
|
|
7198
7198
|
modelValue: { type: Boolean },
|
|
7199
|
+
wide: { type: Boolean, default: !1 },
|
|
7199
7200
|
submitText: { default: "" },
|
|
7200
7201
|
title: { default: "" }
|
|
7201
7202
|
},
|
|
@@ -7245,22 +7246,24 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7245
7246
|
"leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
|
|
7246
7247
|
}, {
|
|
7247
7248
|
default: R(() => [
|
|
7248
|
-
v("div",
|
|
7249
|
-
|
|
7249
|
+
v("div", {
|
|
7250
|
+
class: B(["inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle w-full", a.wide ? "sm:max-w-6xl" : "sm:max-w-2xl"])
|
|
7251
|
+
}, [
|
|
7252
|
+
v("div", Yd, [
|
|
7250
7253
|
v("button", {
|
|
7251
7254
|
type: "button",
|
|
7252
7255
|
class: "bg-white rounded-md text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",
|
|
7253
7256
|
onClick: o[0] || (o[0] = (i) => r(!1))
|
|
7254
7257
|
}, [
|
|
7255
|
-
|
|
7258
|
+
Wd,
|
|
7256
7259
|
S(m(an), {
|
|
7257
7260
|
class: "h-6 w-6",
|
|
7258
7261
|
"aria-hidden": "true"
|
|
7259
7262
|
})
|
|
7260
7263
|
])
|
|
7261
7264
|
]),
|
|
7262
|
-
v("div",
|
|
7263
|
-
v("div",
|
|
7265
|
+
v("div", zd, [
|
|
7266
|
+
v("div", Kd, [
|
|
7264
7267
|
S(m(Ar), {
|
|
7265
7268
|
as: "h3",
|
|
7266
7269
|
class: "text-center text-lg leading-6 font-medium text-gray-900"
|
|
@@ -7270,19 +7273,19 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7270
7273
|
]),
|
|
7271
7274
|
_: 1
|
|
7272
7275
|
}),
|
|
7273
|
-
v("div",
|
|
7276
|
+
v("div", Gd, [
|
|
7274
7277
|
pe(a.$slots, "default")
|
|
7275
7278
|
])
|
|
7276
7279
|
])
|
|
7277
7280
|
]),
|
|
7278
|
-
a.submitText ? (x(), E("div",
|
|
7281
|
+
a.submitText ? (x(), E("div", Jd, [
|
|
7279
7282
|
v("button", {
|
|
7280
7283
|
type: "button",
|
|
7281
7284
|
class: B(["xy-btn w-full sm:ml-3 sm:w-auto sm:text-sm", [a.destructive ? "xy-btn-red" : "xy-btn"]]),
|
|
7282
7285
|
disabled: a.disabled,
|
|
7283
7286
|
onClick: o[1] || (o[1] = (i) => e()),
|
|
7284
7287
|
textContent: U(a.submitText)
|
|
7285
|
-
}, null, 10,
|
|
7288
|
+
}, null, 10, Xd),
|
|
7286
7289
|
v("button", {
|
|
7287
7290
|
ref: "cancelButtonRef",
|
|
7288
7291
|
type: "button",
|
|
@@ -7291,7 +7294,7 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7291
7294
|
}, " Cancel ", 512)
|
|
7292
7295
|
])) : V("", !0),
|
|
7293
7296
|
pe(a.$slots, "buttons")
|
|
7294
|
-
])
|
|
7297
|
+
], 2)
|
|
7295
7298
|
]),
|
|
7296
7299
|
_: 3
|
|
7297
7300
|
})
|
|
@@ -7303,7 +7306,7 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7303
7306
|
_: 3
|
|
7304
7307
|
}, 8, ["show"]));
|
|
7305
7308
|
}
|
|
7306
|
-
}),
|
|
7309
|
+
}), Qd = { class: "aspect-square overflow-hidden" }, ec = { class: "flex justify-center relative" }, tc = { class: "sr-only" }, nc = /* @__PURE__ */ v("div", { class: "animate-spin-gear drop-shadow-sm" }, [
|
|
7307
7310
|
/* @__PURE__ */ v("svg", {
|
|
7308
7311
|
class: "h-full w-full text-xy-green-300",
|
|
7309
7312
|
viewBox: "0 0 129 129",
|
|
@@ -7343,7 +7346,7 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7343
7346
|
])
|
|
7344
7347
|
])
|
|
7345
7348
|
])
|
|
7346
|
-
], -1),
|
|
7349
|
+
], -1), rc = /* @__PURE__ */ v("div", { class: "absolute top-0 left-0 right-0 bottom-0 flex justify-center items-center transform scale-50" }, [
|
|
7347
7350
|
/* @__PURE__ */ v("svg", {
|
|
7348
7351
|
viewBox: "0 0 280 280",
|
|
7349
7352
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7368,24 +7371,24 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7368
7371
|
class: B((a = m(n)) != null && a.class ? (o = m(n)) == null ? void 0 : o.class : "h-20 w-20"),
|
|
7369
7372
|
role: "status"
|
|
7370
7373
|
}, [
|
|
7371
|
-
v("div",
|
|
7372
|
-
v("div",
|
|
7373
|
-
v("p",
|
|
7374
|
+
v("div", Qd, [
|
|
7375
|
+
v("div", ec, [
|
|
7376
|
+
v("p", tc, [
|
|
7374
7377
|
pe(e.$slots, "default", {}, () => [
|
|
7375
7378
|
Me("loading")
|
|
7376
7379
|
])
|
|
7377
7380
|
]),
|
|
7378
|
-
|
|
7379
|
-
|
|
7381
|
+
nc,
|
|
7382
|
+
rc
|
|
7380
7383
|
])
|
|
7381
7384
|
])
|
|
7382
7385
|
], 2);
|
|
7383
7386
|
};
|
|
7384
7387
|
}
|
|
7385
|
-
}),
|
|
7388
|
+
}), ac = {
|
|
7386
7389
|
key: 0,
|
|
7387
7390
|
class: "fixed top-0 left-0 flex flex-col items-center justify-center w-full h-full cursor-not-allowed z-40 bg-gray-50 bg-opacity-60"
|
|
7388
|
-
},
|
|
7391
|
+
}, oc = { class: "mt-2" }, Yr = /* @__PURE__ */ L({
|
|
7389
7392
|
__name: "Spinner",
|
|
7390
7393
|
setup(t) {
|
|
7391
7394
|
const { idx: n, loading: e, maxIdx: r, messages: a, msg: o, showMsg: i } = ho(), s = () => {
|
|
@@ -7397,9 +7400,9 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7397
7400
|
};
|
|
7398
7401
|
return (d, l) => (x(), j(m(Mr), null, {
|
|
7399
7402
|
default: R(() => [
|
|
7400
|
-
m(e) ? (x(), E("div",
|
|
7403
|
+
m(e) ? (x(), E("div", ac, [
|
|
7401
7404
|
S(di, { class: "w-32 h-32" }),
|
|
7402
|
-
ra(v("div",
|
|
7405
|
+
ra(v("div", oc, [
|
|
7403
7406
|
S(Tn, {
|
|
7404
7407
|
appear: "",
|
|
7405
7408
|
"enter-active-class": "ease-out duration-1000",
|
|
@@ -7426,16 +7429,16 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7426
7429
|
_: 1
|
|
7427
7430
|
}));
|
|
7428
7431
|
}
|
|
7429
|
-
}),
|
|
7432
|
+
}), ic = { class: "h-screen flex overflow-hidden bg-gray-100" }, sc = { class: "relative flex-1 flex flex-col max-w-xs w-full pt-5 pb-4 bg-white" }, lc = { class: "absolute top-0 right-0 -mr-12 pt-2" }, uc = /* @__PURE__ */ v("span", { class: "sr-only" }, "Close sidebar", -1), dc = { class: "shrink-0 flex justify-center px-4" }, cc = ["src"], fc = { class: "mt-5 flex flex-col flex-1 h-0 overflow-y-auto" }, pc = { class: "flex-1 px-2 space-y-1" }, mc = ["href", "target"], hc = {
|
|
7430
7433
|
key: 0,
|
|
7431
7434
|
class: "mt-auto"
|
|
7432
|
-
},
|
|
7435
|
+
}, gc = { class: "mt-6 px-2" }, vc = /* @__PURE__ */ v("div", {
|
|
7433
7436
|
class: "shrink-0 w-14",
|
|
7434
7437
|
"aria-hidden": "true"
|
|
7435
|
-
}, null, -1),
|
|
7438
|
+
}, null, -1), bc = { class: "hidden lg:flex lg:shrink-0" }, yc = { class: "flex flex-col w-64" }, wc = { class: "flex flex-col grow border-r border-gray-200 pt-5 pb-4 bg-white overflow-y-auto" }, xc = { class: "flex justify-center shrink-0 px-4" }, _c = ["src"], Cc = { class: "mt-5 grow flex flex-col" }, Dc = { class: "flex-1 px-2 bg-white space-y-1" }, kc = ["href", "target"], Sc = {
|
|
7436
7439
|
key: 0,
|
|
7437
7440
|
class: "mt-atuo"
|
|
7438
|
-
},
|
|
7441
|
+
}, Ec = { class: "mt-6 px-2" }, $c = { class: "flex flex-col w-0 flex-1 overflow-hidden" }, Tc = { class: "relative z-10 shrink-0 flex h-16 bg-xy-blue shadow" }, Oc = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open sidebar", -1), Mc = { class: "flex-1 px-4 flex justify-between" }, Ac = { class: "flex-1 flex" }, Pc = { class: "flex items-center text-2xl text-white" }, Ic = { class: "ml-4 flex items-center lg:ml-6" }, Rc = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open user menu", -1), Lc = ["href"], Nc = { class: "flex-1 relative overflow-y-auto focus:outline-none" }, Fc = { class: "mx-auto" }, jc = /* @__PURE__ */ L({
|
|
7439
7442
|
__name: "SidebarLayout",
|
|
7440
7443
|
props: {
|
|
7441
7444
|
activeUrl: { default: "" },
|
|
@@ -7446,7 +7449,7 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7446
7449
|
setup(t) {
|
|
7447
7450
|
const n = t, e = T(!1), r = (a) => n.activeUrl === a;
|
|
7448
7451
|
return (a, o) => (x(), E(re, null, [
|
|
7449
|
-
v("div",
|
|
7452
|
+
v("div", ic, [
|
|
7450
7453
|
S(m(nn), {
|
|
7451
7454
|
as: "template",
|
|
7452
7455
|
show: e.value
|
|
@@ -7484,7 +7487,7 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7484
7487
|
"leave-to": "-translate-x-full"
|
|
7485
7488
|
}, {
|
|
7486
7489
|
default: R(() => [
|
|
7487
|
-
v("div",
|
|
7490
|
+
v("div", sc, [
|
|
7488
7491
|
S(m(st), {
|
|
7489
7492
|
as: "template",
|
|
7490
7493
|
enter: "ease-in-out duration-300",
|
|
@@ -7495,12 +7498,12 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7495
7498
|
"leave-to": "opacity-0"
|
|
7496
7499
|
}, {
|
|
7497
7500
|
default: R(() => [
|
|
7498
|
-
v("div",
|
|
7501
|
+
v("div", lc, [
|
|
7499
7502
|
v("button", {
|
|
7500
7503
|
class: "ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white",
|
|
7501
7504
|
onClick: o[0] || (o[0] = (i) => e.value = !1)
|
|
7502
7505
|
}, [
|
|
7503
|
-
|
|
7506
|
+
uc,
|
|
7504
7507
|
S(m(an), {
|
|
7505
7508
|
class: "h-6 w-6 text-white",
|
|
7506
7509
|
"aria-hidden": "true"
|
|
@@ -7510,15 +7513,15 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7510
7513
|
]),
|
|
7511
7514
|
_: 1
|
|
7512
7515
|
}),
|
|
7513
|
-
v("div",
|
|
7516
|
+
v("div", dc, [
|
|
7514
7517
|
v("img", {
|
|
7515
7518
|
class: "w-auto h-12",
|
|
7516
7519
|
src: a.iconUrl,
|
|
7517
7520
|
alt: "Logo"
|
|
7518
|
-
}, null, 8,
|
|
7521
|
+
}, null, 8, cc)
|
|
7519
7522
|
]),
|
|
7520
|
-
v("div",
|
|
7521
|
-
v("nav",
|
|
7523
|
+
v("div", fc, [
|
|
7524
|
+
v("nav", pc, [
|
|
7522
7525
|
(x(!0), E(re, null, oe(a.navigation, (i) => (x(), E("a", {
|
|
7523
7526
|
key: i.name,
|
|
7524
7527
|
href: i.url,
|
|
@@ -7536,10 +7539,10 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7536
7539
|
"aria-hidden": "true"
|
|
7537
7540
|
}, null, 8, ["class"])),
|
|
7538
7541
|
Me(" " + U(i.name), 1)
|
|
7539
|
-
], 10,
|
|
7542
|
+
], 10, mc))), 128))
|
|
7540
7543
|
]),
|
|
7541
|
-
a.$slots["sidebar-bottom"] ? (x(), E("div",
|
|
7542
|
-
v("div",
|
|
7544
|
+
a.$slots["sidebar-bottom"] ? (x(), E("div", hc, [
|
|
7545
|
+
v("div", gc, [
|
|
7543
7546
|
pe(a.$slots, "sidebar-bottom")
|
|
7544
7547
|
])
|
|
7545
7548
|
])) : V("", !0)
|
|
@@ -7548,25 +7551,25 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7548
7551
|
]),
|
|
7549
7552
|
_: 3
|
|
7550
7553
|
}),
|
|
7551
|
-
|
|
7554
|
+
vc
|
|
7552
7555
|
]),
|
|
7553
7556
|
_: 3
|
|
7554
7557
|
}, 8, ["open"])
|
|
7555
7558
|
]),
|
|
7556
7559
|
_: 3
|
|
7557
7560
|
}, 8, ["show"]),
|
|
7558
|
-
v("div",
|
|
7559
|
-
v("div",
|
|
7560
|
-
v("div",
|
|
7561
|
-
v("div",
|
|
7561
|
+
v("div", bc, [
|
|
7562
|
+
v("div", yc, [
|
|
7563
|
+
v("div", wc, [
|
|
7564
|
+
v("div", xc, [
|
|
7562
7565
|
v("img", {
|
|
7563
7566
|
class: "w-auto h-12",
|
|
7564
7567
|
src: a.iconUrl,
|
|
7565
7568
|
alt: "Logo"
|
|
7566
|
-
}, null, 8,
|
|
7569
|
+
}, null, 8, _c)
|
|
7567
7570
|
]),
|
|
7568
|
-
v("div",
|
|
7569
|
-
v("nav",
|
|
7571
|
+
v("div", Cc, [
|
|
7572
|
+
v("nav", Dc, [
|
|
7570
7573
|
(x(!0), E(re, null, oe(a.navigation, (i) => (x(), E("a", {
|
|
7571
7574
|
key: i.name,
|
|
7572
7575
|
href: i.url,
|
|
@@ -7584,10 +7587,10 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7584
7587
|
"aria-hidden": "true"
|
|
7585
7588
|
}, null, 8, ["class"])),
|
|
7586
7589
|
Me(" " + U(i.name), 1)
|
|
7587
|
-
], 10,
|
|
7590
|
+
], 10, kc))), 128))
|
|
7588
7591
|
]),
|
|
7589
|
-
a.$slots["sidebar-bottom"] ? (x(), E("div",
|
|
7590
|
-
v("div",
|
|
7592
|
+
a.$slots["sidebar-bottom"] ? (x(), E("div", Sc, [
|
|
7593
|
+
v("div", Ec, [
|
|
7591
7594
|
pe(a.$slots, "sidebar-bottom")
|
|
7592
7595
|
])
|
|
7593
7596
|
])) : V("", !0)
|
|
@@ -7595,25 +7598,25 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7595
7598
|
])
|
|
7596
7599
|
])
|
|
7597
7600
|
]),
|
|
7598
|
-
v("div",
|
|
7599
|
-
v("div",
|
|
7601
|
+
v("div", $c, [
|
|
7602
|
+
v("div", Tc, [
|
|
7600
7603
|
v("button", {
|
|
7601
7604
|
class: "px-4 border-r border-gray-200 text-white focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500 lg:hidden",
|
|
7602
7605
|
onClick: o[2] || (o[2] = (i) => e.value = !0)
|
|
7603
7606
|
}, [
|
|
7604
|
-
|
|
7607
|
+
Oc,
|
|
7605
7608
|
S(m(Sd), {
|
|
7606
7609
|
class: "h-6 w-6",
|
|
7607
7610
|
"aria-hidden": "true"
|
|
7608
7611
|
})
|
|
7609
7612
|
]),
|
|
7610
|
-
v("div",
|
|
7611
|
-
v("div",
|
|
7612
|
-
v("h1",
|
|
7613
|
+
v("div", Mc, [
|
|
7614
|
+
v("div", Ac, [
|
|
7615
|
+
v("h1", Pc, [
|
|
7613
7616
|
pe(a.$slots, "header")
|
|
7614
7617
|
])
|
|
7615
7618
|
]),
|
|
7616
|
-
v("div",
|
|
7619
|
+
v("div", Ic, [
|
|
7617
7620
|
S(m(Pr), {
|
|
7618
7621
|
as: "div",
|
|
7619
7622
|
class: "ml-3 relative"
|
|
@@ -7622,7 +7625,7 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7622
7625
|
v("div", null, [
|
|
7623
7626
|
S(m(Ir), { class: "max-w-xs flex items-center text-sm text-white rounded-full hover:bg-blue-900 hover:text-gray-50 focus:outline-none focus:ring focus:text-white" }, {
|
|
7624
7627
|
default: R(() => [
|
|
7625
|
-
|
|
7628
|
+
Rc,
|
|
7626
7629
|
S(m(ru), {
|
|
7627
7630
|
class: "h-8 w-8",
|
|
7628
7631
|
fill: "currentColor"
|
|
@@ -7652,7 +7655,7 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7652
7655
|
s ? "bg-gray-100" : "",
|
|
7653
7656
|
"block px-4 py-2 text-sm text-gray-700 font-semibold"
|
|
7654
7657
|
])
|
|
7655
|
-
}, U(i.name), 11,
|
|
7658
|
+
}, U(i.name), 11, Lc)
|
|
7656
7659
|
]),
|
|
7657
7660
|
_: 2
|
|
7658
7661
|
}, 1024))), 128))
|
|
@@ -7668,8 +7671,8 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7668
7671
|
])
|
|
7669
7672
|
])
|
|
7670
7673
|
]),
|
|
7671
|
-
v("main",
|
|
7672
|
-
v("div",
|
|
7674
|
+
v("main", Nc, [
|
|
7675
|
+
v("div", Fc, [
|
|
7673
7676
|
pe(a.$slots, "default")
|
|
7674
7677
|
])
|
|
7675
7678
|
])
|
|
@@ -7735,18 +7738,18 @@ const $d = { class: "flex" }, Td = { class: "flex-shrink-0" }, Od = { class: "ml
|
|
|
7735
7738
|
_: 3
|
|
7736
7739
|
}, 8, ["as"]));
|
|
7737
7740
|
}
|
|
7738
|
-
}),
|
|
7741
|
+
}), Bc = (t, n) => {
|
|
7739
7742
|
const e = t.__vccOpts || t;
|
|
7740
7743
|
for (const [r, a] of n)
|
|
7741
7744
|
e[r] = a;
|
|
7742
7745
|
return e;
|
|
7743
|
-
},
|
|
7744
|
-
function
|
|
7745
|
-
return x(), E("div",
|
|
7746
|
+
}, Vc = {}, Hc = { class: "w-full max-w-xs bg-white rounded-md p-2 border border-gray-100 shadow-md" };
|
|
7747
|
+
function Uc(t, n) {
|
|
7748
|
+
return x(), E("div", Hc, [
|
|
7746
7749
|
pe(t.$slots, "default")
|
|
7747
7750
|
]);
|
|
7748
7751
|
}
|
|
7749
|
-
const
|
|
7752
|
+
const qc = /* @__PURE__ */ Bc(Vc, [["render", Uc]]), Yc = { class: "absolute inset-0 overflow-hidden" }, Wc = { class: "fixed inset-y-0 right-0 pl-10 max-w-full flex" }, zc = { class: "w-screen max-w-md" }, Kc = { class: "h-full flex flex-col bg-white shadow-xl overflow-y-scroll" }, Gc = { class: "py-6 px-4 bg-xy-blue-700 sm:px-6" }, Jc = { class: "flex items-center justify-between" }, Xc = { class: "ml-3 h-7 flex items-center" }, Zc = /* @__PURE__ */ v("span", { class: "sr-only" }, "Close panel", -1), Qc = { class: "mt-1" }, ef = ["textContent"], tf = { class: "relative flex-1 py-6 px-4 sm:px-6" }, nf = /* @__PURE__ */ L({
|
|
7750
7753
|
__name: "Slideover",
|
|
7751
7754
|
props: {
|
|
7752
7755
|
header: {},
|
|
@@ -7771,9 +7774,9 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7771
7774
|
onClose: i[1] || (i[1] = (s) => a())
|
|
7772
7775
|
}, {
|
|
7773
7776
|
default: R(() => [
|
|
7774
|
-
v("div",
|
|
7777
|
+
v("div", Yc, [
|
|
7775
7778
|
S(m(Fn), { class: "absolute inset-0" }),
|
|
7776
|
-
v("div",
|
|
7779
|
+
v("div", Wc, [
|
|
7777
7780
|
S(m(st), {
|
|
7778
7781
|
as: "template",
|
|
7779
7782
|
enter: "transform transition ease-in-out duration-500 sm:duration-700",
|
|
@@ -7784,10 +7787,10 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7784
7787
|
"leave-to": "translate-x-full"
|
|
7785
7788
|
}, {
|
|
7786
7789
|
default: R(() => [
|
|
7787
|
-
v("div",
|
|
7788
|
-
v("div",
|
|
7789
|
-
v("div",
|
|
7790
|
-
v("div",
|
|
7790
|
+
v("div", zc, [
|
|
7791
|
+
v("div", Kc, [
|
|
7792
|
+
v("div", Gc, [
|
|
7793
|
+
v("div", Jc, [
|
|
7791
7794
|
S(m(Ar), {
|
|
7792
7795
|
as: "h3",
|
|
7793
7796
|
class: "text-white"
|
|
@@ -7797,12 +7800,12 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7797
7800
|
]),
|
|
7798
7801
|
_: 1
|
|
7799
7802
|
}),
|
|
7800
|
-
v("div",
|
|
7803
|
+
v("div", Xc, [
|
|
7801
7804
|
v("button", {
|
|
7802
7805
|
class: "bg-xy-blue-600 rounded-md text-gray-50 hover:text-white focus:outline-none focus:ring-2 focus:ring-white",
|
|
7803
7806
|
onClick: i[0] || (i[0] = (s) => a())
|
|
7804
7807
|
}, [
|
|
7805
|
-
|
|
7808
|
+
Zc,
|
|
7806
7809
|
S(m(an), {
|
|
7807
7810
|
class: "h-6 w-6",
|
|
7808
7811
|
"aria-hidden": "true"
|
|
@@ -7810,14 +7813,14 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7810
7813
|
])
|
|
7811
7814
|
])
|
|
7812
7815
|
]),
|
|
7813
|
-
v("div",
|
|
7816
|
+
v("div", Qc, [
|
|
7814
7817
|
v("p", {
|
|
7815
7818
|
class: "text-gray-50 text-base font-medium",
|
|
7816
7819
|
textContent: U(o.description)
|
|
7817
|
-
}, null, 8,
|
|
7820
|
+
}, null, 8, ef)
|
|
7818
7821
|
])
|
|
7819
7822
|
]),
|
|
7820
|
-
v("div",
|
|
7823
|
+
v("div", tf, [
|
|
7821
7824
|
pe(o.$slots, "default")
|
|
7822
7825
|
]),
|
|
7823
7826
|
pe(o.$slots, "footer")
|
|
@@ -7835,7 +7838,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7835
7838
|
_: 3
|
|
7836
7839
|
}, 8, ["show"]));
|
|
7837
7840
|
}
|
|
7838
|
-
}),
|
|
7841
|
+
}), rf = ["onMouseover", "onMouseleave"], af = /* @__PURE__ */ v("div", { class: "p-5 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2" }, null, -1), of = ["onMouseleave"], sf = { class: "max-w-xs" }, lf = /* @__PURE__ */ L({
|
|
7839
7842
|
__name: "Tooltip",
|
|
7840
7843
|
props: {
|
|
7841
7844
|
as: { default: "span" },
|
|
@@ -7861,8 +7864,8 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7861
7864
|
onMouseleave: (d) => r(u)
|
|
7862
7865
|
}, [
|
|
7863
7866
|
S(m(kd)),
|
|
7864
|
-
|
|
7865
|
-
], 40,
|
|
7867
|
+
af
|
|
7868
|
+
], 40, rf)
|
|
7866
7869
|
]),
|
|
7867
7870
|
default: R(({ close: s }) => [
|
|
7868
7871
|
v("div", {
|
|
@@ -7870,15 +7873,15 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7870
7873
|
onMouseover: i[0] || (i[0] = mt((u) => qa(n) ? n.value = !0 : n = !0, ["prevent"])),
|
|
7871
7874
|
onMouseleave: mt((u) => r(s), ["prevent"])
|
|
7872
7875
|
}, [
|
|
7873
|
-
v("div",
|
|
7876
|
+
v("div", sf, [
|
|
7874
7877
|
pe(o.$slots, "default")
|
|
7875
7878
|
])
|
|
7876
|
-
], 40,
|
|
7879
|
+
], 40, of)
|
|
7877
7880
|
]),
|
|
7878
7881
|
_: 3
|
|
7879
7882
|
}, 8, ["position", "as"]));
|
|
7880
7883
|
}
|
|
7881
|
-
}),
|
|
7884
|
+
}), uf = { class: "min-h-screen bg-gray-100" }, df = { class: "mx-auto px-4 sm:px-6 lg:px-8" }, cf = { class: "flex justify-between h-16" }, ff = { class: "flex" }, pf = { class: "shrink-0 flex items-center" }, mf = ["src"], hf = { class: "hidden sm:-my-px sm:ml-6 sm:flex sm:space-x-8" }, gf = ["href", "aria-current"], vf = { class: "hidden sm:ml-6 sm:flex sm:items-center" }, bf = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open user menu", -1), yf = ["href"], wf = { class: "-mr-2 flex items-center sm:hidden" }, xf = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open main menu", -1), _f = { class: "pt-2 pb-3 space-y-1" }, Cf = ["href", "aria-current"], Df = { class: "pt-4 pb-3 border-t border-gray-200" }, kf = { class: "flex items-center px-4" }, Sf = { class: "shrink-0" }, Ef = { class: "ml-3" }, $f = ["textContent"], Tf = ["textContent"], Of = { class: "mt-3 space-y-1" }, Mf = ["href"], Af = { class: "mx-auto sm:px-6 lg:px-8" }, Pf = { class: "px-4 py-8 sm:px-0" }, If = /* @__PURE__ */ L({
|
|
7882
7885
|
__name: "StackedLayout",
|
|
7883
7886
|
props: {
|
|
7884
7887
|
activeUrl: { default: "" },
|
|
@@ -7890,23 +7893,23 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7890
7893
|
setup(t) {
|
|
7891
7894
|
const n = t, e = (r) => n.activeUrl === r;
|
|
7892
7895
|
return (r, a) => (x(), E(re, null, [
|
|
7893
|
-
v("div",
|
|
7896
|
+
v("div", uf, [
|
|
7894
7897
|
S(m(Ll), {
|
|
7895
7898
|
as: "nav",
|
|
7896
7899
|
class: "bg-white shadow-sm"
|
|
7897
7900
|
}, {
|
|
7898
7901
|
default: R(({ open: o }) => [
|
|
7899
|
-
v("div",
|
|
7900
|
-
v("div",
|
|
7901
|
-
v("div",
|
|
7902
|
-
v("div",
|
|
7902
|
+
v("div", df, [
|
|
7903
|
+
v("div", cf, [
|
|
7904
|
+
v("div", ff, [
|
|
7905
|
+
v("div", pf, [
|
|
7903
7906
|
v("img", {
|
|
7904
7907
|
class: "block h-8 w-auto",
|
|
7905
7908
|
src: r.iconUrl,
|
|
7906
7909
|
alt: "XY Trees"
|
|
7907
|
-
}, null, 8,
|
|
7910
|
+
}, null, 8, mf)
|
|
7908
7911
|
]),
|
|
7909
|
-
v("div",
|
|
7912
|
+
v("div", hf, [
|
|
7910
7913
|
(x(!0), E(re, null, oe(r.navigation, (i) => (x(), E("a", {
|
|
7911
7914
|
key: i.name,
|
|
7912
7915
|
href: i.url,
|
|
@@ -7915,10 +7918,10 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7915
7918
|
"inline-flex items-center px-1 pt-1 border-b-2 text-sm font-semibold"
|
|
7916
7919
|
]),
|
|
7917
7920
|
"aria-current": e(i.url) ? "page" : void 0
|
|
7918
|
-
}, U(i.name), 11,
|
|
7921
|
+
}, U(i.name), 11, gf))), 128))
|
|
7919
7922
|
])
|
|
7920
7923
|
]),
|
|
7921
|
-
v("div",
|
|
7924
|
+
v("div", vf, [
|
|
7922
7925
|
S(m(Pr), {
|
|
7923
7926
|
as: "div",
|
|
7924
7927
|
class: "ml-3 relative"
|
|
@@ -7927,7 +7930,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7927
7930
|
v("div", null, [
|
|
7928
7931
|
S(m(Ir), { class: "bg-white flex text-sm rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500" }, {
|
|
7929
7932
|
default: R(() => [
|
|
7930
|
-
|
|
7933
|
+
bf,
|
|
7931
7934
|
S(m(Ba), { class: "text-gray-500 h-8 w-8 rounded-full" })
|
|
7932
7935
|
]),
|
|
7933
7936
|
_: 1
|
|
@@ -7954,7 +7957,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7954
7957
|
s ? "bg-gray-100" : "",
|
|
7955
7958
|
"block px-4 py-2 text-sm text-gray-700 font-semibold"
|
|
7956
7959
|
])
|
|
7957
|
-
}, U(i.name), 11,
|
|
7960
|
+
}, U(i.name), 11, yf)
|
|
7958
7961
|
]),
|
|
7959
7962
|
_: 2
|
|
7960
7963
|
}, 1024))), 128))
|
|
@@ -7968,10 +7971,10 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7968
7971
|
_: 1
|
|
7969
7972
|
})
|
|
7970
7973
|
]),
|
|
7971
|
-
v("div",
|
|
7974
|
+
v("div", wf, [
|
|
7972
7975
|
S(m(Nl), { class: "bg-white inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500" }, {
|
|
7973
7976
|
default: R(() => [
|
|
7974
|
-
|
|
7977
|
+
xf,
|
|
7975
7978
|
o ? (x(), j(m(an), {
|
|
7976
7979
|
key: 1,
|
|
7977
7980
|
class: "block h-6 w-6",
|
|
@@ -7989,7 +7992,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7989
7992
|
]),
|
|
7990
7993
|
S(m(Fl), { class: "sm:hidden" }, {
|
|
7991
7994
|
default: R(() => [
|
|
7992
|
-
v("div",
|
|
7995
|
+
v("div", _f, [
|
|
7993
7996
|
(x(!0), E(re, null, oe(r.navigation, (i) => (x(), E("a", {
|
|
7994
7997
|
key: i.name,
|
|
7995
7998
|
href: i.url,
|
|
@@ -7998,31 +8001,31 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
7998
8001
|
"block pl-3 pr-4 py-2 border-l-4 text-base font-semibold"
|
|
7999
8002
|
]),
|
|
8000
8003
|
"aria-current": e(i.url) ? "page" : void 0
|
|
8001
|
-
}, U(i.name), 11,
|
|
8004
|
+
}, U(i.name), 11, Cf))), 128))
|
|
8002
8005
|
]),
|
|
8003
|
-
v("div",
|
|
8004
|
-
v("div",
|
|
8005
|
-
v("div",
|
|
8006
|
+
v("div", Df, [
|
|
8007
|
+
v("div", kf, [
|
|
8008
|
+
v("div", Sf, [
|
|
8006
8009
|
S(m(Ba), { class: "text-gray-500 h-10 w-10 rounded-full" })
|
|
8007
8010
|
]),
|
|
8008
|
-
v("div",
|
|
8011
|
+
v("div", Ef, [
|
|
8009
8012
|
r.currentUser.name ? (x(), E("div", {
|
|
8010
8013
|
key: 0,
|
|
8011
8014
|
class: "text-base font-medium text-gray-800",
|
|
8012
8015
|
textContent: U(r.currentUser.name)
|
|
8013
|
-
}, null, 8,
|
|
8016
|
+
}, null, 8, $f)) : V("", !0),
|
|
8014
8017
|
v("div", {
|
|
8015
8018
|
class: "text-sm font-medium text-gray-500",
|
|
8016
8019
|
textContent: U(r.currentUser.email)
|
|
8017
|
-
}, null, 8,
|
|
8020
|
+
}, null, 8, Tf)
|
|
8018
8021
|
])
|
|
8019
8022
|
]),
|
|
8020
|
-
v("div",
|
|
8023
|
+
v("div", Of, [
|
|
8021
8024
|
(x(!0), E(re, null, oe(r.userNavigation, (i) => (x(), E("a", {
|
|
8022
8025
|
key: i.name,
|
|
8023
8026
|
href: i.url,
|
|
8024
8027
|
class: "block px-4 py-2 text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-100"
|
|
8025
|
-
}, U(i.name), 9,
|
|
8028
|
+
}, U(i.name), 9, Mf))), 128))
|
|
8026
8029
|
])
|
|
8027
8030
|
])
|
|
8028
8031
|
]),
|
|
@@ -8033,8 +8036,8 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8033
8036
|
}),
|
|
8034
8037
|
pe(r.$slots, "header"),
|
|
8035
8038
|
v("main", null, [
|
|
8036
|
-
v("div",
|
|
8037
|
-
v("div",
|
|
8039
|
+
v("div", Af, [
|
|
8040
|
+
v("div", Pf, [
|
|
8038
8041
|
pe(r.$slots, "default")
|
|
8039
8042
|
])
|
|
8040
8043
|
])
|
|
@@ -8044,7 +8047,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8044
8047
|
S(Yr)
|
|
8045
8048
|
], 64));
|
|
8046
8049
|
}
|
|
8047
|
-
}),
|
|
8050
|
+
}), Rf = (t) => t == null, Lf = {
|
|
8048
8051
|
refresh() {
|
|
8049
8052
|
console.warn(
|
|
8050
8053
|
"refresh() was called on a static table, did you mean to use DynamicTable?"
|
|
@@ -8055,7 +8058,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8055
8058
|
"reset() was called on a static table, did you mean to use DynamicTable?"
|
|
8056
8059
|
);
|
|
8057
8060
|
}
|
|
8058
|
-
}, ci = (t, n, e, r =
|
|
8061
|
+
}, ci = (t, n, e, r = Lf) => {
|
|
8059
8062
|
const a = T(n), o = T(t), i = T(e), s = P(() => i.value.actions.length > 0), u = P(() => a.value.map((l) => {
|
|
8060
8063
|
let f = "";
|
|
8061
8064
|
switch ((l == null ? void 0 : l.alignment) || "left") {
|
|
@@ -8094,21 +8097,21 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8094
8097
|
return {
|
|
8095
8098
|
columns: u,
|
|
8096
8099
|
hasActions: s,
|
|
8097
|
-
isEmptyCellValue:
|
|
8100
|
+
isEmptyCellValue: Rf,
|
|
8098
8101
|
rows: d
|
|
8099
8102
|
};
|
|
8100
|
-
},
|
|
8103
|
+
}, Nf = {
|
|
8101
8104
|
key: 0,
|
|
8102
8105
|
class: "flex items-center space-x-2 justify-end"
|
|
8103
|
-
},
|
|
8106
|
+
}, Ff = { class: "isolate inline-flex rounded-md shadow-sm" }, jf = ["disabled", "onClick"], Bf = { class: "relative inline-flex items-center gap-x-1.5" }, fi = /* @__PURE__ */ L({
|
|
8104
8107
|
__name: "TableActionButtons",
|
|
8105
8108
|
props: {
|
|
8106
8109
|
actions: { default: () => [] }
|
|
8107
8110
|
},
|
|
8108
8111
|
setup(t) {
|
|
8109
8112
|
const n = t, { actions: e, hasActions: r } = Yo(_t(n, "actions"));
|
|
8110
|
-
return (a, o) => m(r) ? (x(), E("div",
|
|
8111
|
-
v("span",
|
|
8113
|
+
return (a, o) => m(r) ? (x(), E("div", Nf, [
|
|
8114
|
+
v("span", Ff, [
|
|
8112
8115
|
(x(!0), E(re, null, oe(m(e), (i, s) => (x(), E("button", {
|
|
8113
8116
|
key: s,
|
|
8114
8117
|
type: "button",
|
|
@@ -8120,7 +8123,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8120
8123
|
disabled: i.disabled,
|
|
8121
8124
|
onClick: mt(i.onClick, ["stop"])
|
|
8122
8125
|
}, [
|
|
8123
|
-
v("span",
|
|
8126
|
+
v("span", Bf, [
|
|
8124
8127
|
i.icon ? (x(), j(Ye(i.icon), {
|
|
8125
8128
|
key: 0,
|
|
8126
8129
|
class: B(["-ml-0.5 h-4 w-4 group-disabled:text-gray-300", i.label ? "text-gray-400" : "text-gray-600"]),
|
|
@@ -8128,17 +8131,17 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8128
8131
|
}, null, 8, ["class"])) : V("", !0),
|
|
8129
8132
|
Me(" " + U(i.label), 1)
|
|
8130
8133
|
])
|
|
8131
|
-
], 10,
|
|
8134
|
+
], 10, jf))), 128))
|
|
8132
8135
|
])
|
|
8133
8136
|
])) : V("", !0);
|
|
8134
8137
|
}
|
|
8135
|
-
}),
|
|
8138
|
+
}), Vf = { class: "flex flex-col" }, Hf = { class: "-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Uf = { class: "inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8" }, qf = { class: "overflow-hidden border-b border-gray-200 shadow sm:rounded-lg" }, Yf = { class: "min-w-full divide-y divide-gray-200" }, Wf = { class: "bg-gray-100" }, zf = {
|
|
8136
8139
|
key: 0,
|
|
8137
8140
|
class: "px-6 py-3 text-xs font-medium tracking-wider text-gray-900 uppercase leading-4"
|
|
8138
|
-
},
|
|
8141
|
+
}, Kf = { class: "bg-white" }, Gf = {
|
|
8139
8142
|
key: 0,
|
|
8140
8143
|
class: "px-6 py-2 text-sm text-gray-700 whitespace-nowrap leading-5"
|
|
8141
|
-
},
|
|
8144
|
+
}, Jf = { key: 0 }, Xf = ["colspan"], Zf = /* @__PURE__ */ L({
|
|
8142
8145
|
__name: "DataTable",
|
|
8143
8146
|
props: {
|
|
8144
8147
|
tableActions: { default: () => ({ type: "dropdown", actions: [] }) },
|
|
@@ -8151,21 +8154,21 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8151
8154
|
_t(n, "tableColumns"),
|
|
8152
8155
|
_t(n, "tableActions")
|
|
8153
8156
|
);
|
|
8154
|
-
return (i, s) => (x(), E("div",
|
|
8155
|
-
v("div",
|
|
8156
|
-
v("div",
|
|
8157
|
-
v("div",
|
|
8158
|
-
v("table",
|
|
8159
|
-
v("thead",
|
|
8157
|
+
return (i, s) => (x(), E("div", Vf, [
|
|
8158
|
+
v("div", Hf, [
|
|
8159
|
+
v("div", Uf, [
|
|
8160
|
+
v("div", qf, [
|
|
8161
|
+
v("table", Yf, [
|
|
8162
|
+
v("thead", Wf, [
|
|
8160
8163
|
v("tr", null, [
|
|
8161
8164
|
(x(!0), E(re, null, oe(m(e), (u, d) => (x(), E("th", {
|
|
8162
8165
|
key: d,
|
|
8163
8166
|
class: B(["px-6 py-3 text-xs font-medium tracking-wider text-gray-900 uppercase leading-4", u.alignment])
|
|
8164
8167
|
}, U(u.title), 3))), 128)),
|
|
8165
|
-
m(r) ? (x(), E("th",
|
|
8168
|
+
m(r) ? (x(), E("th", zf)) : V("", !0)
|
|
8166
8169
|
])
|
|
8167
8170
|
]),
|
|
8168
|
-
v("tbody",
|
|
8171
|
+
v("tbody", Kf, [
|
|
8169
8172
|
(x(!0), E(re, null, oe(m(o), (u, d) => (x(), E("tr", {
|
|
8170
8173
|
key: d,
|
|
8171
8174
|
class: "even:bg-gray-50"
|
|
@@ -8182,7 +8185,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8182
8185
|
]),
|
|
8183
8186
|
_: 2
|
|
8184
8187
|
}, 1032, ["class"]))), 128)),
|
|
8185
|
-
m(r) ? (x(), E("td",
|
|
8188
|
+
m(r) ? (x(), E("td", Gf, [
|
|
8186
8189
|
i.tableActions.type === "dropdown" ? (x(), j(m(Vr), {
|
|
8187
8190
|
key: 0,
|
|
8188
8191
|
actions: u.actions
|
|
@@ -8192,11 +8195,11 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8192
8195
|
}, null, 8, ["actions"]))
|
|
8193
8196
|
])) : V("", !0)
|
|
8194
8197
|
]))), 128)),
|
|
8195
|
-
m(o).length === 0 ? (x(), E("tr",
|
|
8198
|
+
m(o).length === 0 ? (x(), E("tr", Jf, [
|
|
8196
8199
|
v("td", {
|
|
8197
8200
|
colspan: m(e).length + (m(r) ? 1 : 0),
|
|
8198
8201
|
class: "px-6 py-4 text-sm text-gray-700 whitespace-nowrap leading-5"
|
|
8199
|
-
}, " No items were found! ", 8,
|
|
8202
|
+
}, " No items were found! ", 8, Xf)
|
|
8200
8203
|
])) : V("", !0)
|
|
8201
8204
|
])
|
|
8202
8205
|
])
|
|
@@ -8205,28 +8208,28 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8205
8208
|
])
|
|
8206
8209
|
]));
|
|
8207
8210
|
}
|
|
8208
|
-
}),
|
|
8211
|
+
}), Qf = { class: "flex items-center justify-center space-x-8" }, ep = { class: "font-medium" }, tp = { class: "flex items-center space-x-5" }, np = {
|
|
8209
8212
|
key: 0,
|
|
8210
8213
|
class: "block w-2.5 h-2.5 bg-xy-green rounded-full hover:bg-green-900 focus:bg-green-900"
|
|
8211
|
-
},
|
|
8214
|
+
}, rp = {
|
|
8212
8215
|
key: 1,
|
|
8213
8216
|
class: "relative flex items-center justify-center"
|
|
8214
|
-
},
|
|
8217
|
+
}, ap = /* @__PURE__ */ v("span", { class: "absolute w-5 h-5 p-px flex" }, [
|
|
8215
8218
|
/* @__PURE__ */ v("span", { class: "w-full h-full rounded-full bg-green-100" })
|
|
8216
|
-
], -1),
|
|
8217
|
-
|
|
8218
|
-
|
|
8219
|
-
],
|
|
8219
|
+
], -1), op = /* @__PURE__ */ v("span", { class: "relative block w-2.5 h-2.5 bg-xy-green rounded-full" }, null, -1), ip = [
|
|
8220
|
+
ap,
|
|
8221
|
+
op
|
|
8222
|
+
], sp = {
|
|
8220
8223
|
key: 2,
|
|
8221
8224
|
href: "#",
|
|
8222
8225
|
class: "block w-2.5 h-2.5 bg-gray-200 rounded-full hover:bg-gray-400 focus:bg-gray-400"
|
|
8223
|
-
},
|
|
8226
|
+
}, lp = {
|
|
8224
8227
|
key: 0,
|
|
8225
8228
|
class: "flex shrink-0"
|
|
8226
|
-
},
|
|
8229
|
+
}, up = {
|
|
8227
8230
|
key: 0,
|
|
8228
8231
|
class: "inline-flex rounded-md shadow-sm"
|
|
8229
|
-
},
|
|
8232
|
+
}, dp = ["textContent"], cp = { class: "ml-3 inline-flex rounded-md shadow-sm" }, fp = ["textContent"], pp = /* @__PURE__ */ L({
|
|
8230
8233
|
__name: "Steps",
|
|
8231
8234
|
props: {
|
|
8232
8235
|
hideActions: { type: Boolean, default: !1 },
|
|
@@ -8244,41 +8247,41 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8244
8247
|
n("previous");
|
|
8245
8248
|
};
|
|
8246
8249
|
return (a, o) => (x(), E("div", null, [
|
|
8247
|
-
v("nav",
|
|
8248
|
-
v("p",
|
|
8249
|
-
v("ul",
|
|
8250
|
+
v("nav", Qf, [
|
|
8251
|
+
v("p", ep, "Step " + U(a.step) + " of " + U(a.total), 1),
|
|
8252
|
+
v("ul", tp, [
|
|
8250
8253
|
(x(!0), E(re, null, oe(a.total, (i) => (x(), E("li", { key: i }, [
|
|
8251
|
-
a.step > i ? (x(), E("span",
|
|
8254
|
+
a.step > i ? (x(), E("span", np)) : a.step === i ? (x(), E("div", rp, ip)) : (x(), E("span", sp))
|
|
8252
8255
|
]))), 128))
|
|
8253
8256
|
])
|
|
8254
8257
|
]),
|
|
8255
|
-
a.hideActions ? V("", !0) : (x(), E("div",
|
|
8256
|
-
a.hidePrevious ? V("", !0) : (x(), E("span",
|
|
8258
|
+
a.hideActions ? V("", !0) : (x(), E("div", lp, [
|
|
8259
|
+
a.hidePrevious ? V("", !0) : (x(), E("span", up, [
|
|
8257
8260
|
v("button", {
|
|
8258
8261
|
type: "button",
|
|
8259
8262
|
class: "xy-btn-white",
|
|
8260
8263
|
onClick: r,
|
|
8261
8264
|
textContent: U(a.previousText)
|
|
8262
|
-
}, null, 8,
|
|
8265
|
+
}, null, 8, dp)
|
|
8263
8266
|
])),
|
|
8264
|
-
v("span",
|
|
8267
|
+
v("span", cp, [
|
|
8265
8268
|
v("button", {
|
|
8266
8269
|
type: "button",
|
|
8267
8270
|
class: "xy-btn",
|
|
8268
8271
|
onClick: e,
|
|
8269
8272
|
textContent: U(a.nextText)
|
|
8270
|
-
}, null, 8,
|
|
8273
|
+
}, null, 8, fp)
|
|
8271
8274
|
])
|
|
8272
8275
|
]))
|
|
8273
8276
|
]));
|
|
8274
8277
|
}
|
|
8275
|
-
}),
|
|
8278
|
+
}), mp = { class: "flex flex-col mb-4 space-y-4 lg:space-y-0 lg:flex-row lg:justify-between" }, hp = {
|
|
8276
8279
|
key: 0,
|
|
8277
8280
|
class: "w-full max-w-lg lg:max-w-xs"
|
|
8278
|
-
},
|
|
8281
|
+
}, gp = /* @__PURE__ */ v("label", {
|
|
8279
8282
|
for: "table-search",
|
|
8280
8283
|
class: "sr-only"
|
|
8281
|
-
}, "Search", -1),
|
|
8284
|
+
}, "Search", -1), vp = { class: "flex items-center gap-x-2" }, bp = /* @__PURE__ */ v("div", {
|
|
8282
8285
|
"aria-hidden": "true",
|
|
8283
8286
|
class: "shrink-0 aspect-square rounded-full bg-gray-50 text-gray-400 h-10 w-10 flex items-center justify-center pointer-events-none"
|
|
8284
8287
|
}, [
|
|
@@ -8293,13 +8296,13 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8293
8296
|
"clip-rule": "evenodd"
|
|
8294
8297
|
})
|
|
8295
8298
|
])
|
|
8296
|
-
], -1),
|
|
8299
|
+
], -1), yp = { class: "flex-1" }, wp = {
|
|
8297
8300
|
key: 1,
|
|
8298
8301
|
class: "w-full max-w-lg lg:max-w-xs"
|
|
8299
|
-
},
|
|
8302
|
+
}, xp = /* @__PURE__ */ v("label", {
|
|
8300
8303
|
for: "table-date-range",
|
|
8301
8304
|
class: "sr-only"
|
|
8302
|
-
}, "Date Range", -1),
|
|
8305
|
+
}, "Date Range", -1), _p = { class: "flex items-center gap-x-2" }, Cp = /* @__PURE__ */ v("div", {
|
|
8303
8306
|
"aria-hidden": "true",
|
|
8304
8307
|
class: "shrink-0 aspect-square rounded-full bg-gray-50 text-gray-400 h-10 w-10 flex items-center justify-center pointer-events-none"
|
|
8305
8308
|
}, [
|
|
@@ -8316,51 +8319,51 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8316
8319
|
d: "M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
|
|
8317
8320
|
})
|
|
8318
8321
|
])
|
|
8319
|
-
], -1),
|
|
8322
|
+
], -1), Dp = { class: "flex-1" }, kp = { class: "relative z-0 min-w-full align-middle border-b border-gray-200 shadow sm:rounded-lg overflow-x-auto" }, Sp = { class: "min-w-full divide-y divide-gray-200" }, Ep = { class: "bg-gray-100" }, $p = ["onClick"], Tp = { key: 0 }, Op = { key: 1 }, Mp = {
|
|
8320
8323
|
key: 0,
|
|
8321
8324
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8322
8325
|
fill: "none",
|
|
8323
8326
|
viewBox: "0 0 24 24",
|
|
8324
8327
|
stroke: "currentColor",
|
|
8325
8328
|
class: "h-5 inline"
|
|
8326
|
-
},
|
|
8329
|
+
}, Ap = /* @__PURE__ */ v("path", {
|
|
8327
8330
|
"stroke-linecap": "round",
|
|
8328
8331
|
"stroke-linejoin": "round",
|
|
8329
8332
|
"stroke-width": "2",
|
|
8330
8333
|
d: "M8 9l4-4 4 4m0 6l-4 4-4-4"
|
|
8331
|
-
}, null, -1),
|
|
8332
|
-
|
|
8333
|
-
],
|
|
8334
|
+
}, null, -1), Pp = [
|
|
8335
|
+
Ap
|
|
8336
|
+
], Ip = {
|
|
8334
8337
|
key: 1,
|
|
8335
8338
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8336
8339
|
viewBox: "0 0 20 20",
|
|
8337
8340
|
fill: "currentColor",
|
|
8338
8341
|
class: "h-5 inline"
|
|
8339
|
-
},
|
|
8342
|
+
}, Rp = /* @__PURE__ */ v("path", {
|
|
8340
8343
|
"fill-rule": "evenodd",
|
|
8341
8344
|
d: "M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",
|
|
8342
8345
|
"clip-rule": "evenodd"
|
|
8343
|
-
}, null, -1),
|
|
8344
|
-
|
|
8345
|
-
],
|
|
8346
|
+
}, null, -1), Lp = [
|
|
8347
|
+
Rp
|
|
8348
|
+
], Np = {
|
|
8346
8349
|
key: 2,
|
|
8347
8350
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8348
8351
|
viewBox: "0 0 20 20",
|
|
8349
8352
|
fill: "currentColor",
|
|
8350
8353
|
class: "h-5 inline"
|
|
8351
|
-
},
|
|
8354
|
+
}, Fp = /* @__PURE__ */ v("path", {
|
|
8352
8355
|
"fill-rule": "evenodd",
|
|
8353
8356
|
d: "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",
|
|
8354
8357
|
"clip-rule": "evenodd"
|
|
8355
|
-
}, null, -1),
|
|
8356
|
-
|
|
8357
|
-
],
|
|
8358
|
+
}, null, -1), jp = [
|
|
8359
|
+
Fp
|
|
8360
|
+
], Bp = {
|
|
8358
8361
|
key: 0,
|
|
8359
8362
|
class: "px-6 py-3 text-xs font-medium tracking-wider text-gray-900 uppercase leading-4"
|
|
8360
|
-
},
|
|
8363
|
+
}, Vp = { class: "bg-white" }, Hp = ["onClick"], Up = {
|
|
8361
8364
|
key: 0,
|
|
8362
8365
|
class: "px-6 py-2 text-sm text-gray-700 whitespace-nowrap leading-5"
|
|
8363
|
-
},
|
|
8366
|
+
}, qp = { key: 0 }, Yp = ["colspan"], Wp = /* @__PURE__ */ L({
|
|
8364
8367
|
__name: "DynamicTable",
|
|
8365
8368
|
props: {
|
|
8366
8369
|
tableActions: { default: () => ({ type: "dropdown", actions: [] }) },
|
|
@@ -8446,12 +8449,12 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8446
8449
|
), n(s), o(), r(), (z, G) => {
|
|
8447
8450
|
const q = Ya("BaseInput");
|
|
8448
8451
|
return x(), E("div", null, [
|
|
8449
|
-
v("div",
|
|
8450
|
-
z.tableOptions.search ? (x(), E("div",
|
|
8451
|
-
|
|
8452
|
-
v("div",
|
|
8453
|
-
|
|
8454
|
-
v("div",
|
|
8452
|
+
v("div", mp, [
|
|
8453
|
+
z.tableOptions.search ? (x(), E("div", hp, [
|
|
8454
|
+
gp,
|
|
8455
|
+
v("div", vp, [
|
|
8456
|
+
bp,
|
|
8457
|
+
v("div", yp, [
|
|
8455
8458
|
S(q, {
|
|
8456
8459
|
id: "table-search",
|
|
8457
8460
|
modelValue: _.value,
|
|
@@ -8464,11 +8467,11 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8464
8467
|
])
|
|
8465
8468
|
])
|
|
8466
8469
|
])) : V("", !0),
|
|
8467
|
-
z.tableOptions.dateSearch ? (x(), E("div",
|
|
8468
|
-
|
|
8469
|
-
v("div",
|
|
8470
|
-
|
|
8471
|
-
v("div",
|
|
8470
|
+
z.tableOptions.dateSearch ? (x(), E("div", wp, [
|
|
8471
|
+
xp,
|
|
8472
|
+
v("div", _p, [
|
|
8473
|
+
Cp,
|
|
8474
|
+
v("div", Dp, [
|
|
8472
8475
|
S(Hr, Ae({
|
|
8473
8476
|
id: "table-date-range",
|
|
8474
8477
|
modelValue: b.value,
|
|
@@ -8478,9 +8481,9 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8478
8481
|
])
|
|
8479
8482
|
])) : V("", !0)
|
|
8480
8483
|
]),
|
|
8481
|
-
v("div",
|
|
8482
|
-
v("table",
|
|
8483
|
-
v("thead",
|
|
8484
|
+
v("div", kp, [
|
|
8485
|
+
v("table", Sp, [
|
|
8486
|
+
v("thead", Ep, [
|
|
8484
8487
|
v("tr", null, [
|
|
8485
8488
|
(x(!0), E(re, null, oe(m(u), (Q, J) => (x(), E("th", {
|
|
8486
8489
|
key: J,
|
|
@@ -8490,16 +8493,16 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8490
8493
|
class: B(["inline-flex items-center gap-2", { "cursor-pointer": Q.sort }]),
|
|
8491
8494
|
onClick: mt((X) => Q.sort ? O(Q.sort) : void 0, ["prevent"])
|
|
8492
8495
|
}, [
|
|
8493
|
-
Q.title ? (x(), E("span",
|
|
8494
|
-
Q.sort ? (x(), E("span",
|
|
8495
|
-
p.value !== Q.sort ? (x(), E("svg",
|
|
8496
|
+
Q.title ? (x(), E("span", Tp, U(Q.title), 1)) : V("", !0),
|
|
8497
|
+
Q.sort ? (x(), E("span", Op, [
|
|
8498
|
+
p.value !== Q.sort ? (x(), E("svg", Mp, Pp)) : g.value == "desc" ? (x(), E("svg", Ip, Lp)) : (x(), E("svg", Np, jp))
|
|
8496
8499
|
])) : V("", !0)
|
|
8497
|
-
], 10,
|
|
8500
|
+
], 10, $p)
|
|
8498
8501
|
], 2))), 128)),
|
|
8499
|
-
m(d) ? (x(), E("th",
|
|
8502
|
+
m(d) ? (x(), E("th", Bp)) : V("", !0)
|
|
8500
8503
|
])
|
|
8501
8504
|
]),
|
|
8502
|
-
v("tbody",
|
|
8505
|
+
v("tbody", Vp, [
|
|
8503
8506
|
(x(!0), E(re, null, oe(m(f), (Q, J) => (x(), E("tr", {
|
|
8504
8507
|
key: J,
|
|
8505
8508
|
class: "even:bg-gray-50",
|
|
@@ -8517,7 +8520,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8517
8520
|
]),
|
|
8518
8521
|
_: 2
|
|
8519
8522
|
}, 1032, ["class"]))), 128)),
|
|
8520
|
-
m(d) ? (x(), E("td",
|
|
8523
|
+
m(d) ? (x(), E("td", Up, [
|
|
8521
8524
|
z.tableActions.type === "dropdown" ? (x(), j(m(Vr), {
|
|
8522
8525
|
key: 0,
|
|
8523
8526
|
actions: Q.actions
|
|
@@ -8526,12 +8529,12 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8526
8529
|
actions: Q.actions
|
|
8527
8530
|
}, null, 8, ["actions"]))
|
|
8528
8531
|
])) : V("", !0)
|
|
8529
|
-
], 8,
|
|
8530
|
-
Z.value ? V("", !0) : (x(), E("tr",
|
|
8532
|
+
], 8, Hp))), 128)),
|
|
8533
|
+
Z.value ? V("", !0) : (x(), E("tr", qp, [
|
|
8531
8534
|
v("td", {
|
|
8532
8535
|
colspan: m(u).length + (m(d) ? 1 : 0),
|
|
8533
8536
|
class: "px-6 py-4 text-sm text-gray-700 whitespace-nowrap leading-5"
|
|
8534
|
-
}, " No items were found! ", 8,
|
|
8537
|
+
}, " No items were found! ", 8, Yp)
|
|
8535
8538
|
]))
|
|
8536
8539
|
])
|
|
8537
8540
|
])
|
|
@@ -8547,10 +8550,10 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8547
8550
|
]);
|
|
8548
8551
|
};
|
|
8549
8552
|
}
|
|
8550
|
-
}),
|
|
8553
|
+
}), zp = /* @__PURE__ */ v("label", {
|
|
8551
8554
|
for: "tabs",
|
|
8552
8555
|
class: "sr-only"
|
|
8553
|
-
}, "Select a tab", -1),
|
|
8556
|
+
}, "Select a tab", -1), Kp = { class: "hidden sm:block" }, Gp = ["onClick", "textContent"], Jp = /* @__PURE__ */ L({
|
|
8554
8557
|
__name: "Tabs",
|
|
8555
8558
|
props: {
|
|
8556
8559
|
modelValue: {},
|
|
@@ -8571,7 +8574,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8571
8574
|
v("div", {
|
|
8572
8575
|
class: B(["sm:hidden", { "mb-4": i.pillDesign }])
|
|
8573
8576
|
}, [
|
|
8574
|
-
|
|
8577
|
+
zp,
|
|
8575
8578
|
S(u, {
|
|
8576
8579
|
name: "tabs",
|
|
8577
8580
|
"model-value": i.modelValue,
|
|
@@ -8579,7 +8582,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8579
8582
|
"onUpdate:modelValue": s[0] || (s[0] = (d) => r(d))
|
|
8580
8583
|
}, null, 8, ["model-value", "options"])
|
|
8581
8584
|
], 2),
|
|
8582
|
-
v("div",
|
|
8585
|
+
v("div", Kp, [
|
|
8583
8586
|
v("div", {
|
|
8584
8587
|
class: B({ "border-b border-gray-200": o.value })
|
|
8585
8588
|
}, [
|
|
@@ -8592,17 +8595,17 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8592
8595
|
class: B(a(d.value, l > 0)),
|
|
8593
8596
|
onClick: mt((f) => r(d.value), ["prevent"]),
|
|
8594
8597
|
textContent: U(d.label)
|
|
8595
|
-
}, null, 10,
|
|
8598
|
+
}, null, 10, Gp))), 128))
|
|
8596
8599
|
], 2)
|
|
8597
8600
|
], 2)
|
|
8598
8601
|
])
|
|
8599
8602
|
]);
|
|
8600
8603
|
};
|
|
8601
8604
|
}
|
|
8602
|
-
}),
|
|
8605
|
+
}), Xp = {
|
|
8603
8606
|
key: 0,
|
|
8604
8607
|
class: "sr-only"
|
|
8605
|
-
},
|
|
8608
|
+
}, Zp = { class: "ml-3 mt-0.5" }, Qp = /* @__PURE__ */ L({
|
|
8606
8609
|
inheritAttrs: !1,
|
|
8607
8610
|
__name: "Toggle",
|
|
8608
8611
|
props: {
|
|
@@ -8629,7 +8632,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8629
8632
|
"onUpdate:modelValue": o[0] || (o[0] = (i) => n("update:modelValue", i))
|
|
8630
8633
|
}, {
|
|
8631
8634
|
default: R(() => [
|
|
8632
|
-
a.label ? V("", !0) : (x(), E("span",
|
|
8635
|
+
a.label ? V("", !0) : (x(), E("span", Xp, "Use")),
|
|
8633
8636
|
v("span", {
|
|
8634
8637
|
"aria-hidden": "true",
|
|
8635
8638
|
class: B([
|
|
@@ -8640,7 +8643,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8640
8643
|
]),
|
|
8641
8644
|
_: 1
|
|
8642
8645
|
}, 8, ["class", "disabled", "model-value"]),
|
|
8643
|
-
v("div",
|
|
8646
|
+
v("div", Zp, [
|
|
8644
8647
|
a.label ? (x(), j(m(Jl), { key: 0 }, {
|
|
8645
8648
|
default: R(() => [
|
|
8646
8649
|
S(Be, {
|
|
@@ -8661,7 +8664,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8661
8664
|
_: 1
|
|
8662
8665
|
}));
|
|
8663
8666
|
}
|
|
8664
|
-
}),
|
|
8667
|
+
}), em = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder", "type", "value"], tm = /* @__PURE__ */ L({
|
|
8665
8668
|
inheritAttrs: !1,
|
|
8666
8669
|
__name: "BaseInput",
|
|
8667
8670
|
props: nt({
|
|
@@ -8731,7 +8734,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8731
8734
|
onInput: f,
|
|
8732
8735
|
onInvalid: g[0] || (g[0] = //@ts-ignore
|
|
8733
8736
|
(...b) => m(u) && m(u)(...b))
|
|
8734
|
-
}), null, 16,
|
|
8737
|
+
}), null, 16, em),
|
|
8735
8738
|
S(Se, {
|
|
8736
8739
|
id: `${m(i)}-help`,
|
|
8737
8740
|
class: "mt-1",
|
|
@@ -8744,7 +8747,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8744
8747
|
}, null, 8, ["id", "text"])
|
|
8745
8748
|
]));
|
|
8746
8749
|
}
|
|
8747
|
-
}),
|
|
8750
|
+
}), nm = { class: "relative flex items-start" }, rm = { class: "flex items-center h-5" }, am = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "checked"], om = { class: "ml-3" }, im = /* @__PURE__ */ L({
|
|
8748
8751
|
inheritAttrs: !1,
|
|
8749
8752
|
__name: "Checkbox",
|
|
8750
8753
|
props: nt({
|
|
@@ -8767,8 +8770,8 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8767
8770
|
} = ot(n), l = (f) => {
|
|
8768
8771
|
s.value = f.target.checked, u(f);
|
|
8769
8772
|
};
|
|
8770
|
-
return (f, p) => (x(), E("div",
|
|
8771
|
-
v("div",
|
|
8773
|
+
return (f, p) => (x(), E("div", nm, [
|
|
8774
|
+
v("div", rm, [
|
|
8772
8775
|
v("input", Ae({
|
|
8773
8776
|
id: m(r),
|
|
8774
8777
|
"aria-labelledby": m(e).labelledby,
|
|
@@ -8786,9 +8789,9 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8786
8789
|
onChange: l,
|
|
8787
8790
|
onInvalid: p[0] || (p[0] = //@ts-ignore
|
|
8788
8791
|
(...g) => m(d) && m(d)(...g))
|
|
8789
|
-
}), null, 16,
|
|
8792
|
+
}), null, 16, am)
|
|
8790
8793
|
]),
|
|
8791
|
-
v("div",
|
|
8794
|
+
v("div", om, [
|
|
8792
8795
|
S(Be, {
|
|
8793
8796
|
id: m(e).labelledby,
|
|
8794
8797
|
for: m(r),
|
|
@@ -8808,7 +8811,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8808
8811
|
])
|
|
8809
8812
|
]));
|
|
8810
8813
|
}
|
|
8811
|
-
}),
|
|
8814
|
+
}), sm = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder", "value"], lm = /* @__PURE__ */ L({
|
|
8812
8815
|
inheritAttrs: !1,
|
|
8813
8816
|
__name: "DateTimeInput",
|
|
8814
8817
|
props: nt({
|
|
@@ -8857,7 +8860,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8857
8860
|
onInput: l,
|
|
8858
8861
|
onInvalid: p[0] || (p[0] = //@ts-ignore
|
|
8859
8862
|
(...g) => m(s) && m(s)(...g))
|
|
8860
|
-
}), null, 16,
|
|
8863
|
+
}), null, 16, sm),
|
|
8861
8864
|
S(Se, {
|
|
8862
8865
|
id: `${m(o)}-help`,
|
|
8863
8866
|
class: "mt-1",
|
|
@@ -8870,7 +8873,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8870
8873
|
}, null, 8, ["id", "text"])
|
|
8871
8874
|
]));
|
|
8872
8875
|
}
|
|
8873
|
-
}),
|
|
8876
|
+
}), um = {
|
|
8874
8877
|
key: 0,
|
|
8875
8878
|
class: "text-red-700/80"
|
|
8876
8879
|
}, on = /* @__PURE__ */ L({
|
|
@@ -8888,12 +8891,12 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8888
8891
|
}, r.$attrs), {
|
|
8889
8892
|
default: R(() => [
|
|
8890
8893
|
Me(U(e.value) + " ", 1),
|
|
8891
|
-
n.required ? (x(), E("span",
|
|
8894
|
+
n.required ? (x(), E("span", um, "*")) : V("", !0)
|
|
8892
8895
|
]),
|
|
8893
8896
|
_: 1
|
|
8894
8897
|
}, 16)) : V("", !0);
|
|
8895
8898
|
}
|
|
8896
|
-
}),
|
|
8899
|
+
}), dm = ["aria-labelledby", "aria-describedby", "aria-errormessage"], cm = { key: 0 }, fm = { class: "flex" }, pm = { class: "flex items-center h-5" }, mm = ["id", "aria-labelledby", "aria-describedby", "checked", "disabled", "onChange"], hm = { class: "ml-3" }, gm = /* @__PURE__ */ L({
|
|
8897
8900
|
inheritAttrs: !1,
|
|
8898
8901
|
__name: "MultiCheckboxes",
|
|
8899
8902
|
props: nt({
|
|
@@ -8921,7 +8924,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8921
8924
|
"aria-describedby": m(e).describedby,
|
|
8922
8925
|
"aria-errormessage": m(e).errormessage
|
|
8923
8926
|
}, [
|
|
8924
|
-
y.label ? (x(), E("div",
|
|
8927
|
+
y.label ? (x(), E("div", cm, [
|
|
8925
8928
|
S(on, {
|
|
8926
8929
|
id: m(e).labelledby,
|
|
8927
8930
|
label: y.label,
|
|
@@ -8948,7 +8951,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8948
8951
|
type: "checkbox",
|
|
8949
8952
|
onInvalid: b
|
|
8950
8953
|
}, null, 544)) : V("", !0),
|
|
8951
|
-
v("div",
|
|
8954
|
+
v("div", fm, [
|
|
8952
8955
|
v("div", {
|
|
8953
8956
|
class: B(["grid gap-y-6", {
|
|
8954
8957
|
"sm:grid sm:gap-x-5 sm:space-y-0": y.columns !== void 0,
|
|
@@ -8962,7 +8965,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8962
8965
|
key: D.value,
|
|
8963
8966
|
class: "flex items-start"
|
|
8964
8967
|
}, [
|
|
8965
|
-
v("div",
|
|
8968
|
+
v("div", pm, [
|
|
8966
8969
|
v("input", Ae({
|
|
8967
8970
|
id: `${m(r)}-${O}`,
|
|
8968
8971
|
"aria-labelledby": `${m(r)}-${O}-label`,
|
|
@@ -8978,9 +8981,9 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8978
8981
|
type: "checkbox"
|
|
8979
8982
|
}, y.$attrs, {
|
|
8980
8983
|
onChange: (Z) => u(Z, D.value)
|
|
8981
|
-
}), null, 16,
|
|
8984
|
+
}), null, 16, mm)
|
|
8982
8985
|
]),
|
|
8983
|
-
v("div",
|
|
8986
|
+
v("div", hm, [
|
|
8984
8987
|
S(Be, {
|
|
8985
8988
|
id: `${m(r)}-${O}-label`,
|
|
8986
8989
|
for: `${m(r)}-${O}`,
|
|
@@ -8998,9 +9001,9 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
8998
9001
|
}), 128))
|
|
8999
9002
|
], 2)
|
|
9000
9003
|
])
|
|
9001
|
-
], 8,
|
|
9004
|
+
], 8, dm));
|
|
9002
9005
|
}
|
|
9003
|
-
}),
|
|
9006
|
+
}), vm = ["aria-labelledby", "aria-describedby", "aria-errormessage"], bm = { key: 0 }, ym = { class: "flex" }, wm = { class: "flex items-center h-5" }, xm = ["id", "aria-describedby", "aria-labelledby", "checked", "disabled", "name", "value", "onChange"], _m = { class: "ml-3" }, Cm = /* @__PURE__ */ L({
|
|
9004
9007
|
inheritAttrs: !1,
|
|
9005
9008
|
__name: "Radio",
|
|
9006
9009
|
props: nt({
|
|
@@ -9031,7 +9034,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9031
9034
|
"aria-describedby": m(e).describedby,
|
|
9032
9035
|
"aria-errormessage": m(e).errormessage
|
|
9033
9036
|
}, [
|
|
9034
|
-
f.label ? (x(), E("div",
|
|
9037
|
+
f.label ? (x(), E("div", bm, [
|
|
9035
9038
|
S(on, {
|
|
9036
9039
|
id: m(e).labelledby,
|
|
9037
9040
|
label: f.label,
|
|
@@ -9048,7 +9051,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9048
9051
|
id: m(e).errormessage,
|
|
9049
9052
|
text: m(r)
|
|
9050
9053
|
}, null, 8, ["id", "text"]),
|
|
9051
|
-
v("div",
|
|
9054
|
+
v("div", ym, [
|
|
9052
9055
|
v("div", {
|
|
9053
9056
|
class: B(["grid gap-y-6", {
|
|
9054
9057
|
"sm:grid sm:gap-x-5 sm:space-y-0": f.columns !== void 0,
|
|
@@ -9060,7 +9063,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9060
9063
|
key: g.value,
|
|
9061
9064
|
class: "flex items-start"
|
|
9062
9065
|
}, [
|
|
9063
|
-
v("div",
|
|
9066
|
+
v("div", wm, [
|
|
9064
9067
|
v("input", Ae({
|
|
9065
9068
|
id: `${m(o)}-${b}`,
|
|
9066
9069
|
"aria-describedby": g.help ? `${m(o)}-${b}-help` : void 0,
|
|
@@ -9080,9 +9083,9 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9080
9083
|
onChange: (y) => l(y, g.value),
|
|
9081
9084
|
onInvalid: p[0] || (p[0] = //@ts-ignore
|
|
9082
9085
|
(...y) => m(u) && m(u)(...y))
|
|
9083
|
-
}), null, 16,
|
|
9086
|
+
}), null, 16, xm)
|
|
9084
9087
|
]),
|
|
9085
|
-
v("div",
|
|
9088
|
+
v("div", _m, [
|
|
9086
9089
|
S(Be, {
|
|
9087
9090
|
id: `${m(o)}-${b}-label`,
|
|
9088
9091
|
for: `${m(o)}-${b}`,
|
|
@@ -9099,12 +9102,12 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9099
9102
|
]))), 128))
|
|
9100
9103
|
], 2)
|
|
9101
9104
|
])
|
|
9102
|
-
], 8,
|
|
9105
|
+
], 8, vm));
|
|
9103
9106
|
}
|
|
9104
|
-
}),
|
|
9107
|
+
}), Dm = { class: "flex-1 flex pr-1" }, km = { class: "flex flex-col" }, Sm = {
|
|
9105
9108
|
key: 1,
|
|
9106
9109
|
class: "mt-auto mb-0"
|
|
9107
|
-
},
|
|
9110
|
+
}, Em = ["checked", "name", "required", "value"], $m = /* @__PURE__ */ L({
|
|
9108
9111
|
inheritAttrs: !1,
|
|
9109
9112
|
__name: "RadioCards",
|
|
9110
9113
|
props: nt({
|
|
@@ -9187,8 +9190,8 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9187
9190
|
g ? "border-xy-blue ring-2 ring-xy-blue-500" : ""
|
|
9188
9191
|
]])
|
|
9189
9192
|
}, [
|
|
9190
|
-
v("div",
|
|
9191
|
-
v("div",
|
|
9193
|
+
v("div", Dm, [
|
|
9194
|
+
v("div", km, [
|
|
9192
9195
|
S(m(ka), { as: "div" }, {
|
|
9193
9196
|
default: R(() => [
|
|
9194
9197
|
S(Be, {
|
|
@@ -9212,7 +9215,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9212
9215
|
]),
|
|
9213
9216
|
_: 2
|
|
9214
9217
|
}, 1024)) : V("", !0),
|
|
9215
|
-
p.sublabel || l.$slots.sublabel ? (x(), E("div",
|
|
9218
|
+
p.sublabel || l.$slots.sublabel ? (x(), E("div", Sm, [
|
|
9216
9219
|
S(m(ar), {
|
|
9217
9220
|
as: "div",
|
|
9218
9221
|
class: "text-sm/5 font-medium mt-4 text-gray-800"
|
|
@@ -9255,7 +9258,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9255
9258
|
value: p.value,
|
|
9256
9259
|
onInvalid: f[0] || (f[0] = //@ts-ignore
|
|
9257
9260
|
(..._) => m(u) && m(u)(..._))
|
|
9258
|
-
}, null, 40,
|
|
9261
|
+
}, null, 40, Em)
|
|
9259
9262
|
], 2)
|
|
9260
9263
|
]),
|
|
9261
9264
|
_: 2
|
|
@@ -9265,7 +9268,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9265
9268
|
_: 3
|
|
9266
9269
|
}, 8, ["modelValue", "disabled", "aria-invalid", "aria-errormessage"]));
|
|
9267
9270
|
}
|
|
9268
|
-
}),
|
|
9271
|
+
}), Tm = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder", "value"], Om = /* @__PURE__ */ L({
|
|
9269
9272
|
inheritAttrs: !1,
|
|
9270
9273
|
__name: "TextArea",
|
|
9271
9274
|
props: nt({
|
|
@@ -9311,7 +9314,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9311
9314
|
onInput: d,
|
|
9312
9315
|
onInvalid: f[0] || (f[0] = //@ts-ignore
|
|
9313
9316
|
(...p) => m(s) && m(s)(...p))
|
|
9314
|
-
}), null, 16,
|
|
9317
|
+
}), null, 16, Tm),
|
|
9315
9318
|
S(Se, {
|
|
9316
9319
|
id: m(e).describedby,
|
|
9317
9320
|
class: "mt-1",
|
|
@@ -9324,7 +9327,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9324
9327
|
}, null, 8, ["id", "text"])
|
|
9325
9328
|
]));
|
|
9326
9329
|
}
|
|
9327
|
-
}),
|
|
9330
|
+
}), Mm = ["aria-labelledby", "aria-describedby", "aria-errormessage"], Am = { key: 0 }, Pm = ["for"], Im = ["id", "name", "checked"], Rm = ["for"], Lm = ["id", "name", "checked"], Nm = /* @__PURE__ */ L({
|
|
9328
9331
|
inheritAttrs: !1,
|
|
9329
9332
|
__name: "YesOrNoRadio",
|
|
9330
9333
|
props: nt({
|
|
@@ -9353,7 +9356,7 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9353
9356
|
"aria-describedby": m(e).describedby,
|
|
9354
9357
|
"aria-errormessage": m(e).errormessage
|
|
9355
9358
|
}, [
|
|
9356
|
-
f.label ? (x(), E("div",
|
|
9359
|
+
f.label ? (x(), E("div", Am, [
|
|
9357
9360
|
S(on, {
|
|
9358
9361
|
id: m(e).labelledby,
|
|
9359
9362
|
class: "block my-auto",
|
|
@@ -9393,13 +9396,13 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9393
9396
|
onChange: p[0] || (p[0] = (g) => l(g, !0)),
|
|
9394
9397
|
onInvalid: p[1] || (p[1] = //@ts-ignore
|
|
9395
9398
|
(...g) => m(u) && m(u)(...g))
|
|
9396
|
-
}), null, 16,
|
|
9399
|
+
}), null, 16, Im),
|
|
9397
9400
|
S(Be, {
|
|
9398
9401
|
class: "ml-3",
|
|
9399
9402
|
label: "Yes",
|
|
9400
9403
|
tag: "span"
|
|
9401
9404
|
})
|
|
9402
|
-
], 10,
|
|
9405
|
+
], 10, Pm),
|
|
9403
9406
|
v("label", {
|
|
9404
9407
|
class: B(["inline-flex items-center ml-6", m(r) ? "cursor-not-allowed" : "cursor-pointer"]),
|
|
9405
9408
|
for: `${m(o)}-false`
|
|
@@ -9420,125 +9423,125 @@ const Yc = /* @__PURE__ */ Vc(Hc, [["render", qc]]), Wc = { class: "absolute ins
|
|
|
9420
9423
|
onChange: p[2] || (p[2] = (g) => l(g, !1)),
|
|
9421
9424
|
onInvalid: p[3] || (p[3] = //@ts-ignore
|
|
9422
9425
|
(...g) => m(u) && m(u)(...g))
|
|
9423
|
-
}), null, 16,
|
|
9426
|
+
}), null, 16, Lm),
|
|
9424
9427
|
S(Be, {
|
|
9425
9428
|
class: "ml-3",
|
|
9426
9429
|
label: "No",
|
|
9427
9430
|
tag: "span"
|
|
9428
9431
|
})
|
|
9429
|
-
], 10,
|
|
9432
|
+
], 10, Rm)
|
|
9430
9433
|
])
|
|
9431
|
-
], 8,
|
|
9434
|
+
], 8, Mm));
|
|
9432
9435
|
}
|
|
9433
|
-
}),
|
|
9436
|
+
}), Fm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9434
9437
|
__proto__: null,
|
|
9435
9438
|
ActionsDropdown: Vr,
|
|
9436
|
-
BaseInput:
|
|
9439
|
+
BaseInput: tm,
|
|
9437
9440
|
Cards: Pu,
|
|
9438
|
-
Checkbox:
|
|
9441
|
+
Checkbox: im,
|
|
9439
9442
|
ContentModal: Bu,
|
|
9440
|
-
DataTable:
|
|
9443
|
+
DataTable: Zf,
|
|
9441
9444
|
DateFilter: li,
|
|
9442
9445
|
DateRangePicker: Hr,
|
|
9443
|
-
DateTime:
|
|
9446
|
+
DateTime: lm,
|
|
9444
9447
|
DetailList: fd,
|
|
9445
9448
|
DownloadCell: md,
|
|
9446
|
-
DynamicTable:
|
|
9449
|
+
DynamicTable: Wp,
|
|
9447
9450
|
FieldsetLegend: on,
|
|
9448
9451
|
Flash: qr,
|
|
9449
9452
|
InlineAlert: Hd,
|
|
9450
9453
|
InputError: Je,
|
|
9451
9454
|
InputHelp: Se,
|
|
9452
9455
|
InputLabel: Be,
|
|
9453
|
-
Modal:
|
|
9454
|
-
MultiCheckboxes:
|
|
9456
|
+
Modal: Zd,
|
|
9457
|
+
MultiCheckboxes: gm,
|
|
9455
9458
|
Paginator: Ur,
|
|
9456
9459
|
Popover: Cr,
|
|
9457
|
-
PopoverContent:
|
|
9460
|
+
PopoverContent: qc,
|
|
9458
9461
|
PopoverPosition: Cr,
|
|
9459
|
-
Radio:
|
|
9460
|
-
RadioCards:
|
|
9462
|
+
Radio: Cm,
|
|
9463
|
+
RadioCards: $m,
|
|
9461
9464
|
Select: si,
|
|
9462
|
-
SidebarLayout:
|
|
9463
|
-
Slideover:
|
|
9465
|
+
SidebarLayout: jc,
|
|
9466
|
+
Slideover: nf,
|
|
9464
9467
|
Spinner: Yr,
|
|
9465
|
-
StackedLayout:
|
|
9466
|
-
Steps:
|
|
9467
|
-
Tabs:
|
|
9468
|
-
TextArea:
|
|
9469
|
-
Toggle:
|
|
9470
|
-
Tooltip:
|
|
9468
|
+
StackedLayout: If,
|
|
9469
|
+
Steps: pp,
|
|
9470
|
+
Tabs: Jp,
|
|
9471
|
+
TextArea: Om,
|
|
9472
|
+
Toggle: Qp,
|
|
9473
|
+
Tooltip: lf,
|
|
9471
9474
|
XYSpinner: di,
|
|
9472
|
-
YesOrNoRadio:
|
|
9473
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9474
|
-
Object.entries(
|
|
9475
|
+
YesOrNoRadio: Nm
|
|
9476
|
+
}, Symbol.toStringTag, { value: "Module" })), Zm = function(n) {
|
|
9477
|
+
Object.entries(Fm).forEach(([e, r]) => {
|
|
9475
9478
|
n.component(e, r);
|
|
9476
9479
|
});
|
|
9477
9480
|
};
|
|
9478
9481
|
export {
|
|
9479
9482
|
Vr as ActionsDropdown,
|
|
9480
9483
|
go as BaseAPI,
|
|
9481
|
-
|
|
9484
|
+
tm as BaseInput,
|
|
9482
9485
|
Pu as Cards,
|
|
9483
|
-
|
|
9486
|
+
im as Checkbox,
|
|
9484
9487
|
Bu as ContentModal,
|
|
9485
|
-
|
|
9488
|
+
Zf as DataTable,
|
|
9486
9489
|
li as DateFilter,
|
|
9487
9490
|
Hr as DateRangePicker,
|
|
9488
|
-
|
|
9491
|
+
lm as DateTime,
|
|
9489
9492
|
fd as DetailList,
|
|
9490
9493
|
md as DownloadCell,
|
|
9491
|
-
|
|
9494
|
+
Wp as DynamicTable,
|
|
9492
9495
|
on as FieldsetLegend,
|
|
9493
9496
|
qr as Flash,
|
|
9494
9497
|
Hd as InlineAlert,
|
|
9495
9498
|
Je as InputError,
|
|
9496
9499
|
Se as InputHelp,
|
|
9497
9500
|
Be as InputLabel,
|
|
9498
|
-
|
|
9499
|
-
|
|
9501
|
+
Zd as Modal,
|
|
9502
|
+
gm as MultiCheckboxes,
|
|
9500
9503
|
Ur as Paginator,
|
|
9501
9504
|
Cr as Popover,
|
|
9502
|
-
|
|
9505
|
+
qc as PopoverContent,
|
|
9503
9506
|
Cr as PopoverPosition,
|
|
9504
|
-
|
|
9505
|
-
|
|
9507
|
+
Cm as Radio,
|
|
9508
|
+
$m as RadioCards,
|
|
9506
9509
|
si as Select,
|
|
9507
|
-
|
|
9508
|
-
|
|
9510
|
+
jc as SidebarLayout,
|
|
9511
|
+
nf as Slideover,
|
|
9509
9512
|
Yr as Spinner,
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9513
|
+
If as StackedLayout,
|
|
9514
|
+
pp as Steps,
|
|
9515
|
+
Jp as Tabs,
|
|
9516
|
+
Om as TextArea,
|
|
9517
|
+
Qp as Toggle,
|
|
9518
|
+
lf as Tooltip,
|
|
9516
9519
|
di as XYSpinner,
|
|
9517
|
-
|
|
9520
|
+
Nm as YesOrNoRadio,
|
|
9518
9521
|
gl as debounceFn,
|
|
9519
|
-
|
|
9520
|
-
|
|
9522
|
+
Hm as debounceLeading,
|
|
9523
|
+
Zm as default,
|
|
9521
9524
|
bl as emailPattern,
|
|
9522
9525
|
ml as isHttpCancel,
|
|
9523
9526
|
pl as isHttpError,
|
|
9524
9527
|
wl as looseToNumber,
|
|
9525
9528
|
yl as phonePattern,
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
+
Vm as setBaseAPIDefaults,
|
|
9530
|
+
Um as textInputTypes,
|
|
9531
|
+
qm as throttleFn,
|
|
9529
9532
|
ui as useAppFlasher,
|
|
9530
9533
|
$t as useAppFlashes,
|
|
9531
9534
|
ga as useAppSpinner,
|
|
9532
9535
|
rn as useBaseAPI,
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9536
|
+
Wm as useBaseAPIDelete,
|
|
9537
|
+
Ym as useBaseAPIGet,
|
|
9538
|
+
zm as useBaseAPIPatch,
|
|
9539
|
+
Km as useBaseAPIPost,
|
|
9540
|
+
Gm as useBaseAPIPut,
|
|
9538
9541
|
nd as useFlashes,
|
|
9539
9542
|
ot as useInputField,
|
|
9540
9543
|
vl as useModel,
|
|
9541
9544
|
cl as useSpinnerDisplay,
|
|
9542
|
-
|
|
9543
|
-
|
|
9545
|
+
Jm as useTabHistory,
|
|
9546
|
+
Xm as useUrlSearchParams
|
|
9544
9547
|
};
|