@illinois-grad/grad-vue 3.0.7 → 3.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +30 -0
- package/dist/components/GHamburgerMenu.vue.d.ts +11 -0
- package/dist/components/GTreeMenu.vue.d.ts +22 -0
- package/dist/{grad-vue-DmUhI4Ja.js → grad-vue-BV5cHdAW.js} +156 -137
- package/dist/grad-vue-BV5cHdAW.js.map +1 -0
- package/dist/grad-vue-elements.css +25 -25
- package/dist/grad-vue-elements.js +266 -244
- package/dist/grad-vue-elements.js.map +1 -1
- package/dist/grad-vue.css +1 -1
- package/dist/grad-vue.js +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +1 -1
- package/dist/grad-vue-DmUhI4Ja.js.map +0 -1
|
@@ -6017,8 +6017,8 @@ function wd(e = "default", t) {
|
|
|
6017
6017
|
}, { immediate: !0 });
|
|
6018
6018
|
function s(e) {
|
|
6019
6019
|
if (!o.isCollapsible.value || !o.open.value) return;
|
|
6020
|
-
let t = e.target, n = document.getElementById(`${o.id}-sidebar`);
|
|
6021
|
-
n && (n.contains(t) || setTimeout(() => {
|
|
6020
|
+
let t = e.target, n = document.getElementById(`${o.id}-sidebar`), r = document.getElementById(`${o.id}-hamburger`);
|
|
6021
|
+
n && (n.contains(t) || r?.contains(t) || setTimeout(() => {
|
|
6022
6022
|
o.open.value = !1;
|
|
6023
6023
|
}, 5));
|
|
6024
6024
|
}
|
|
@@ -6044,7 +6044,10 @@ var Td = [
|
|
|
6044
6044
|
"aria-expanded",
|
|
6045
6045
|
"aria-label",
|
|
6046
6046
|
"aria-controls"
|
|
6047
|
-
], Ed =
|
|
6047
|
+
], Ed = {
|
|
6048
|
+
key: 0,
|
|
6049
|
+
class: "g-hamburger-label"
|
|
6050
|
+
}, Dd = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6048
6051
|
__name: "GHamburgerMenu",
|
|
6049
6052
|
props: {
|
|
6050
6053
|
label: {
|
|
@@ -6055,7 +6058,11 @@ var Td = [
|
|
|
6055
6058
|
default: "default",
|
|
6056
6059
|
type: String
|
|
6057
6060
|
},
|
|
6058
|
-
mediaQuery: { type: String }
|
|
6061
|
+
mediaQuery: { type: String },
|
|
6062
|
+
labelVisible: {
|
|
6063
|
+
type: Boolean,
|
|
6064
|
+
default: !1
|
|
6065
|
+
}
|
|
6059
6066
|
},
|
|
6060
6067
|
emits: ["toggle"],
|
|
6061
6068
|
setup(e, { emit: t }) {
|
|
@@ -6076,22 +6083,23 @@ var Td = [
|
|
|
6076
6083
|
onClick: a,
|
|
6077
6084
|
onKeydown: o,
|
|
6078
6085
|
"aria-expanded": P(r)?.open?.value ? "true" : "false",
|
|
6079
|
-
"aria-label": e.label,
|
|
6086
|
+
"aria-label": e.labelVisible ? void 0 : e.label,
|
|
6080
6087
|
"aria-controls": P(r) ? `${P(r).id}-sidebar` : void 0
|
|
6081
|
-
}, [
|
|
6088
|
+
}, [n[0] ||= J("svg", {
|
|
6082
6089
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6083
|
-
viewBox: "0 0 51.26 51.26"
|
|
6084
|
-
|
|
6090
|
+
viewBox: "0 0 51.26 51.26",
|
|
6091
|
+
role: "none"
|
|
6092
|
+
}, [J("g", { fill: "currentColor" }, [J("path", { d: "M11.6 16.52h28.06a3.24 3.24 0 1 0 0-6.48H11.6a3.24 3.24 0 0 0 0 6.48ZM39.66 22.07H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48ZM39.66 34.1H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48Z" })])], -1), e.labelVisible ? (G(), K("span", Ed, A(e.label), 1)) : Z("", !0)], 42, Td));
|
|
6085
6093
|
}
|
|
6086
|
-
}), [["styles", [""]]]),
|
|
6094
|
+
}), [["styles", [""]]]), Od = { class: "g-history-scroller-wrapper" }, kd = {
|
|
6087
6095
|
key: 0,
|
|
6088
6096
|
class: "g-history-shadow g-history-shadow--top",
|
|
6089
6097
|
"aria-hidden": "true"
|
|
6090
|
-
},
|
|
6098
|
+
}, Ad = {
|
|
6091
6099
|
key: 1,
|
|
6092
6100
|
class: "g-history-shadow g-history-shadow--bottom",
|
|
6093
6101
|
"aria-hidden": "true"
|
|
6094
|
-
},
|
|
6102
|
+
}, jd = ["role", "aria-label"], Md = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6095
6103
|
__name: "GHistoryScroller",
|
|
6096
6104
|
props: {
|
|
6097
6105
|
label: { type: String },
|
|
@@ -6126,9 +6134,9 @@ var Td = [
|
|
|
6126
6134
|
i.value && (await F(), o());
|
|
6127
6135
|
});
|
|
6128
6136
|
let c = Q(() => [...t.entries].reverse());
|
|
6129
|
-
return (t, l) => (G(), K("div",
|
|
6130
|
-
a.value ? Z("", !0) : (G(), K("div",
|
|
6131
|
-
i.value ? Z("", !0) : (G(), K("div",
|
|
6137
|
+
return (t, l) => (G(), K("div", Od, [
|
|
6138
|
+
a.value ? Z("", !0) : (G(), K("div", kd)),
|
|
6139
|
+
i.value ? Z("", !0) : (G(), K("div", Ad)),
|
|
6132
6140
|
J("div", {
|
|
6133
6141
|
ref_key: "scrollerRef",
|
|
6134
6142
|
ref: n,
|
|
@@ -6163,10 +6171,10 @@ var Td = [
|
|
|
6163
6171
|
key: e.id,
|
|
6164
6172
|
class: "g-history-entry",
|
|
6165
6173
|
tabindex: "-1"
|
|
6166
|
-
}, [V(t.$slots, "default", { entry: e })]))), 128))], 512)], 40,
|
|
6174
|
+
}, [V(t.$slots, "default", { entry: e })]))), 128))], 512)], 40, jd)
|
|
6167
6175
|
]));
|
|
6168
6176
|
}
|
|
6169
|
-
}), [["styles", [""]]]),
|
|
6177
|
+
}), [["styles", [""]]]), Nd = ["id"], Pd = { class: "g-modal-inner" }, Fd = { class: "g-modal-header" }, Id = ["id"], Ld = ["id"], Rd = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6170
6178
|
__name: "GModal",
|
|
6171
6179
|
props: {
|
|
6172
6180
|
label: { type: String },
|
|
@@ -6216,12 +6224,12 @@ var Td = [
|
|
|
6216
6224
|
ref_key: "dialog",
|
|
6217
6225
|
ref: i,
|
|
6218
6226
|
style: { zIndex: P(u) }
|
|
6219
|
-
}), [J("div",
|
|
6227
|
+
}), [J("div", Pd, [J("div", Fd, [e.hiddenLabel ? Z("", !0) : (G(), K("h2", {
|
|
6220
6228
|
key: 0,
|
|
6221
6229
|
id: "modal-label-" + P(o),
|
|
6222
6230
|
class: "g-modal-label",
|
|
6223
6231
|
tabindex: "-1"
|
|
6224
|
-
}, A(e.label), 9,
|
|
6232
|
+
}, A(e.label), 9, Id)), J("button", {
|
|
6225
6233
|
class: "g-modal-close",
|
|
6226
6234
|
onClick: p,
|
|
6227
6235
|
"aria-label": "Close"
|
|
@@ -6236,20 +6244,20 @@ var Td = [
|
|
|
6236
6244
|
})], -1)]])]), J("div", {
|
|
6237
6245
|
id: "modal-description-" + P(o),
|
|
6238
6246
|
class: "g-modal-content"
|
|
6239
|
-
}, [V(t.$slots, "default")], 8,
|
|
6247
|
+
}, [V(t.$slots, "default")], 8, Ld)])], 16, Nd)]),
|
|
6240
6248
|
_: 3
|
|
6241
6249
|
})]));
|
|
6242
6250
|
}
|
|
6243
6251
|
}), [["styles", [""]]]);
|
|
6244
6252
|
//#endregion
|
|
6245
6253
|
//#region src/compose/useSelectDropdown.ts
|
|
6246
|
-
function
|
|
6254
|
+
function zd(e) {
|
|
6247
6255
|
return e.map((e) => typeof e == "string" ? {
|
|
6248
6256
|
label: e,
|
|
6249
6257
|
value: e
|
|
6250
6258
|
} : e);
|
|
6251
6259
|
}
|
|
6252
|
-
function
|
|
6260
|
+
function Bd({ open: e, anchorRef: t, listboxRef: n, baseId: r, activeIndex: i }) {
|
|
6253
6261
|
let { push: a, pop: o, isTop: s } = Gs(r), c = /* @__PURE__ */ N("below"), l = /* @__PURE__ */ N(null), u = Q(() => {
|
|
6254
6262
|
let e = {};
|
|
6255
6263
|
return l.value !== null && (e.maxHeight = `${l.value}px`), c.value === "above" ? (e.top = "auto", e.bottom = "100%") : (e.top = "100%", e.bottom = "auto"), e;
|
|
@@ -6293,15 +6301,15 @@ function zd({ open: e, anchorRef: t, listboxRef: n, baseId: r, activeIndex: i })
|
|
|
6293
6301
|
}
|
|
6294
6302
|
//#endregion
|
|
6295
6303
|
//#region src/components/GMultiSelect.vue?vue&type=script&setup=true&lang.ts
|
|
6296
|
-
var
|
|
6304
|
+
var Vd = ["id", "for"], Hd = {
|
|
6297
6305
|
key: 0,
|
|
6298
6306
|
class: "g-multiselect-required",
|
|
6299
6307
|
"aria-hidden": "true"
|
|
6300
|
-
},
|
|
6308
|
+
}, Ud = ["id"], Wd = ["aria-labelledby"], Gd = { class: "g-multiselect-chip-label" }, Kd = [
|
|
6301
6309
|
"aria-label",
|
|
6302
6310
|
"disabled",
|
|
6303
6311
|
"onClick"
|
|
6304
|
-
],
|
|
6312
|
+
], qd = [
|
|
6305
6313
|
"id",
|
|
6306
6314
|
"value",
|
|
6307
6315
|
"placeholder",
|
|
@@ -6311,23 +6319,23 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6311
6319
|
"aria-activedescendant",
|
|
6312
6320
|
"aria-describedby",
|
|
6313
6321
|
"aria-required"
|
|
6314
|
-
],
|
|
6322
|
+
], Jd = ["id"], Yd = [
|
|
6315
6323
|
"id",
|
|
6316
6324
|
"aria-selected",
|
|
6317
6325
|
"onClick"
|
|
6318
|
-
],
|
|
6326
|
+
], Xd = {
|
|
6319
6327
|
class: "g-multiselect-option-check",
|
|
6320
6328
|
"aria-hidden": "true"
|
|
6321
|
-
},
|
|
6329
|
+
}, Zd = {
|
|
6322
6330
|
key: 0,
|
|
6323
6331
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6324
6332
|
viewBox: "0 0 640 640",
|
|
6325
6333
|
width: "1.25em"
|
|
6326
|
-
},
|
|
6334
|
+
}, Qd = {
|
|
6327
6335
|
key: 1,
|
|
6328
6336
|
"aria-live": "polite",
|
|
6329
6337
|
class: "g-multiselect-option g-multiselect-no-results"
|
|
6330
|
-
},
|
|
6338
|
+
}, $d = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6331
6339
|
__name: "GMultiSelect",
|
|
6332
6340
|
props: /* @__PURE__ */ H({
|
|
6333
6341
|
options: { type: Array },
|
|
@@ -6363,13 +6371,13 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6363
6371
|
value: i,
|
|
6364
6372
|
errors: /* @__PURE__ */ fn(n, "errors"),
|
|
6365
6373
|
formKey: n.formKey
|
|
6366
|
-
}), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } =
|
|
6374
|
+
}), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = Bd({
|
|
6367
6375
|
open: l,
|
|
6368
6376
|
anchorRef: s,
|
|
6369
6377
|
listboxRef: c,
|
|
6370
6378
|
baseId: a,
|
|
6371
6379
|
activeIndex: u
|
|
6372
|
-
}), y = Q(() =>
|
|
6380
|
+
}), y = Q(() => zd(n.options)), b = Q(() => {
|
|
6373
6381
|
if (!d.value) return y.value;
|
|
6374
6382
|
let e = d.value.toLowerCase();
|
|
6375
6383
|
return y.value.filter((t) => t.label.toLowerCase().includes(e));
|
|
@@ -6464,12 +6472,12 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6464
6472
|
id: oe.value,
|
|
6465
6473
|
for: ae.value,
|
|
6466
6474
|
class: "g-multiselect-label"
|
|
6467
|
-
}, [X(A(e.label), 1), e.required ? (G(), K("span",
|
|
6475
|
+
}, [X(A(e.label), 1), e.required ? (G(), K("span", Hd, " *")) : Z("", !0)], 8, Vd)),
|
|
6468
6476
|
e.instructions ? (G(), K("div", {
|
|
6469
6477
|
key: 1,
|
|
6470
6478
|
id: se.value,
|
|
6471
6479
|
class: "g-multiselect-instructions"
|
|
6472
|
-
}, A(e.instructions), 9,
|
|
6480
|
+
}, A(e.instructions), 9, Ud)) : Z("", !0),
|
|
6473
6481
|
J("div", {
|
|
6474
6482
|
ref_key: "controlRef",
|
|
6475
6483
|
ref: s,
|
|
@@ -6482,7 +6490,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6482
6490
|
}, [(G(!0), K(W, null, B(i.value, (t) => (G(), K("li", {
|
|
6483
6491
|
key: t,
|
|
6484
6492
|
class: "g-multiselect-chip"
|
|
6485
|
-
}, [J("span",
|
|
6493
|
+
}, [J("span", Gd, A(S(t)), 1), J("button", {
|
|
6486
6494
|
type: "button",
|
|
6487
6495
|
class: "g-multiselect-chip-remove",
|
|
6488
6496
|
"aria-label": `Remove ${S(t)}`,
|
|
@@ -6497,7 +6505,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6497
6505
|
}, [J("path", {
|
|
6498
6506
|
fill: "currentColor",
|
|
6499
6507
|
d: "m37.84 32.94-7.63-7.63 7.63-7.63a3.24 3.24 0 0 0-4.58-4.58l-7.63 7.63L18 13.1a3.24 3.24 0 0 0-4.58 4.58L21 25.31l-7.62 7.63A3.24 3.24 0 1 0 18 37.52l7.63-7.63 7.63 7.63a3.24 3.24 0 0 0 4.58-4.58Z"
|
|
6500
|
-
})], -1)]], 40,
|
|
6508
|
+
})], -1)]], 40, Kd)]))), 128))], 8, Wd),
|
|
6501
6509
|
J("input", Va({
|
|
6502
6510
|
ref_key: "inputRef",
|
|
6503
6511
|
ref: o,
|
|
@@ -6521,7 +6529,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6521
6529
|
onKeydown: ie,
|
|
6522
6530
|
onFocus: te,
|
|
6523
6531
|
onBlur: O
|
|
6524
|
-
}), null, 16,
|
|
6532
|
+
}), null, 16, qd),
|
|
6525
6533
|
n[2] ||= J("svg", {
|
|
6526
6534
|
class: "g-multiselect-caret",
|
|
6527
6535
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6553,7 +6561,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6553
6561
|
"aria-selected": x(e.value) ? "true" : "false",
|
|
6554
6562
|
onMousedown: ne,
|
|
6555
6563
|
onClick: (e) => T(t)
|
|
6556
|
-
}, [J("span",
|
|
6564
|
+
}, [J("span", Xd, [x(e.value) ? (G(), K("svg", Zd, [...n[1] ||= [J("path", { d: "M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z" }, null, -1)]])) : Z("", !0)]), X(" " + A(e.label), 1)], 42, Yd))), 128)) : (G(), K("div", Qd, " No results found. "))], 16, Jd), [[Go, l.value]])
|
|
6557
6565
|
], 2),
|
|
6558
6566
|
Y(Su, {
|
|
6559
6567
|
errors: P(p),
|
|
@@ -6561,19 +6569,19 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6561
6569
|
}, null, 8, ["errors", "id"])
|
|
6562
6570
|
], 2));
|
|
6563
6571
|
}
|
|
6564
|
-
}), [["styles", [""]]]),
|
|
6572
|
+
}), [["styles", [""]]]), ef = {
|
|
6565
6573
|
key: 0,
|
|
6566
6574
|
class: "g-scroll-lock-overlay"
|
|
6567
|
-
},
|
|
6575
|
+
}, tf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6568
6576
|
__name: "GOverlay",
|
|
6569
6577
|
setup(e) {
|
|
6570
6578
|
let { hasScrollLock: t } = Ks();
|
|
6571
6579
|
return (e, n) => (G(), q(Do, { name: "g-fade" }, {
|
|
6572
|
-
default: I(() => [P(t) ? (G(), K("div",
|
|
6580
|
+
default: I(() => [P(t) ? (G(), K("div", ef)) : Z("", !0)]),
|
|
6573
6581
|
_: 1
|
|
6574
6582
|
}));
|
|
6575
6583
|
}
|
|
6576
|
-
}), [["styles", [""]]]),
|
|
6584
|
+
}), [["styles", [""]]]), nf = { class: "g-popover-wrap" }, rf = ["id"], af = ["aria-labelledby", "aria-label"], of = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6577
6585
|
__name: "GPopover",
|
|
6578
6586
|
props: {
|
|
6579
6587
|
minimal: {
|
|
@@ -6651,13 +6659,13 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6651
6659
|
show: y,
|
|
6652
6660
|
hide: b,
|
|
6653
6661
|
toggle: x
|
|
6654
|
-
}), (t, n) => (G(), K("div",
|
|
6662
|
+
}), (t, n) => (G(), K("div", nf, [s.value ? (G(), K("div", {
|
|
6655
6663
|
key: 0,
|
|
6656
6664
|
ref_key: "triggerRef",
|
|
6657
6665
|
ref: c,
|
|
6658
6666
|
class: "g-popover-trigger",
|
|
6659
6667
|
id: `${P(f)}-trigger`
|
|
6660
|
-
}, [V(t.$slots, "trigger", { toggle: x })], 8,
|
|
6668
|
+
}, [V(t.$slots, "trigger", { toggle: x })], 8, rf)) : Z("", !0), (G(), q(fr, {
|
|
6661
6669
|
to: "#modal-root",
|
|
6662
6670
|
disabled: P(d)
|
|
6663
6671
|
}, [Y(Do, {
|
|
@@ -6706,11 +6714,11 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6706
6714
|
fill: "currentColor",
|
|
6707
6715
|
d: "m37.84 32.94-7.63-7.63 7.63-7.63a3.24 3.24 0 0 0-4.58-4.58l-7.63 7.63L18 13.1a3.24 3.24 0 0 0-4.58 4.58L21 25.31l-7.62 7.63A3.24 3.24 0 1 0 18 37.52l7.63-7.63 7.63 7.63a3.24 3.24 0 0 0 4.58-4.58Z"
|
|
6708
6716
|
})], -1)]]))
|
|
6709
|
-
], 14,
|
|
6717
|
+
], 14, af)), [[Go, a.value]]) : Z("", !0)]),
|
|
6710
6718
|
_: 3
|
|
6711
6719
|
})], 8, ["disabled"]))]));
|
|
6712
6720
|
}
|
|
6713
|
-
}), [["styles", [""]]]),
|
|
6721
|
+
}), [["styles", [""]]]), sf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6714
6722
|
__name: "GTooltip",
|
|
6715
6723
|
props: { text: { type: String } },
|
|
6716
6724
|
emits: ["tooltip-hide"],
|
|
@@ -6799,21 +6807,21 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6799
6807
|
class: "g-tooltip-trigger"
|
|
6800
6808
|
}, [V(e.$slots, "trigger")], 512)) : Z("", !0)], 512));
|
|
6801
6809
|
}
|
|
6802
|
-
}), [["styles", [""]]]),
|
|
6810
|
+
}), [["styles", [""]]]), cf = ["width", "height"], lf = [
|
|
6803
6811
|
"cx",
|
|
6804
6812
|
"cy",
|
|
6805
6813
|
"r"
|
|
6806
|
-
],
|
|
6814
|
+
], uf = [
|
|
6807
6815
|
"cx",
|
|
6808
6816
|
"cy",
|
|
6809
6817
|
"r",
|
|
6810
6818
|
"stroke-dasharray",
|
|
6811
6819
|
"stroke-dashoffset"
|
|
6812
|
-
],
|
|
6820
|
+
], df = [
|
|
6813
6821
|
"cx",
|
|
6814
6822
|
"cy",
|
|
6815
6823
|
"r"
|
|
6816
|
-
],
|
|
6824
|
+
], ff = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6817
6825
|
__name: "GProgress",
|
|
6818
6826
|
props: {
|
|
6819
6827
|
label: {
|
|
@@ -6863,7 +6871,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6863
6871
|
r: r.value,
|
|
6864
6872
|
"stroke-width": 4,
|
|
6865
6873
|
fill: "none"
|
|
6866
|
-
}, null, 8,
|
|
6874
|
+
}, null, 8, lf), n.value ? (G(), K("circle", {
|
|
6867
6875
|
key: 0,
|
|
6868
6876
|
class: "g-progress__value",
|
|
6869
6877
|
cx: r.value + 4 / 2,
|
|
@@ -6877,7 +6885,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6877
6885
|
transform: "rotate(-90deg)",
|
|
6878
6886
|
"transform-origin": "center"
|
|
6879
6887
|
}
|
|
6880
|
-
}, null, 8,
|
|
6888
|
+
}, null, 8, uf)) : (G(), K("circle", {
|
|
6881
6889
|
key: 1,
|
|
6882
6890
|
class: "g-progress__spinner",
|
|
6883
6891
|
cx: r.value + 4 / 2,
|
|
@@ -6885,29 +6893,29 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6885
6893
|
r: r.value,
|
|
6886
6894
|
"stroke-width": 4,
|
|
6887
6895
|
fill: "none"
|
|
6888
|
-
}, null, 8,
|
|
6896
|
+
}, null, 8, df))], 10, cf))], 16));
|
|
6889
6897
|
}
|
|
6890
|
-
}), [["styles", [""]]]),
|
|
6898
|
+
}), [["styles", [""]]]), pf = ["aria-label"], mf = [
|
|
6891
6899
|
"placeholder",
|
|
6892
6900
|
"value",
|
|
6893
6901
|
"aria-expanded",
|
|
6894
6902
|
"aria-controls",
|
|
6895
6903
|
"aria-activedescendant"
|
|
6896
|
-
],
|
|
6904
|
+
], hf = {
|
|
6897
6905
|
key: 0,
|
|
6898
6906
|
class: "g-search-dropdown"
|
|
6899
|
-
},
|
|
6907
|
+
}, gf = {
|
|
6900
6908
|
"aria-live": "polite",
|
|
6901
6909
|
class: "g-search-result-count"
|
|
6902
|
-
},
|
|
6910
|
+
}, _f = ["id"], vf = ["aria-label"], yf = { class: "g-search-group-label" }, bf = [
|
|
6903
6911
|
"id",
|
|
6904
6912
|
"onMousedown",
|
|
6905
6913
|
"aria-selected"
|
|
6906
|
-
],
|
|
6914
|
+
], xf = [
|
|
6907
6915
|
"id",
|
|
6908
6916
|
"onMousedown",
|
|
6909
6917
|
"aria-selected"
|
|
6910
|
-
],
|
|
6918
|
+
], Sf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6911
6919
|
__name: "GSearch",
|
|
6912
6920
|
props: /* @__PURE__ */ H({
|
|
6913
6921
|
results: { type: Array },
|
|
@@ -6994,12 +7002,12 @@ var Bd = ["id", "for"], Vd = {
|
|
|
6994
7002
|
"aria-autocomplete": "list",
|
|
6995
7003
|
"aria-controls": `${P(y)}-list`,
|
|
6996
7004
|
"aria-activedescendant": c.value >= 0 ? "g-search-option-" + l.value[c.value].id : void 0
|
|
6997
|
-
}, null, 40,
|
|
7005
|
+
}, null, 40, mf), J("button", {
|
|
6998
7006
|
type: "submit",
|
|
6999
7007
|
class: "g-search-submit",
|
|
7000
7008
|
"aria-label": "Submit search",
|
|
7001
7009
|
onKeydown: m
|
|
7002
|
-
}, [g.value ? (G(), q(
|
|
7010
|
+
}, [g.value ? (G(), q(ff, {
|
|
7003
7011
|
key: 0,
|
|
7004
7012
|
size: "tiny"
|
|
7005
7013
|
})) : Z("", !0), t[1] ||= J("svg", {
|
|
@@ -7010,7 +7018,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7010
7018
|
}, [J("path", {
|
|
7011
7019
|
fill: "currentColor",
|
|
7012
7020
|
d: "M30 9.76A14.05 14.05 0 1 0 28.3 31l11.3 13a3.34 3.34 0 0 0 4.72-4.72L31.44 27.86A14.05 14.05 0 0 0 30 9.76ZM27.27 27a10.26 10.26 0 1 1 0-14.5 10.25 10.25 0 0 1 0 14.5Z"
|
|
7013
|
-
})], -1)], 32)], 32), _.value ? (G(), K("div",
|
|
7021
|
+
})], -1)], 32)], 32), _.value ? (G(), K("div", hf, [J("div", gf, [g.value ? Z("", !0) : (G(), K(W, { key: 0 }, [X(A(u.value) + " result" + A(u.value === 1 ? "" : "s"), 1)], 64))]), J("div", {
|
|
7014
7022
|
role: "listbox",
|
|
7015
7023
|
id: `${P(y)}-list`,
|
|
7016
7024
|
ref_key: "listboxRef",
|
|
@@ -7021,27 +7029,27 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7021
7029
|
class: "g-search-group",
|
|
7022
7030
|
role: "group",
|
|
7023
7031
|
"aria-label": t.label
|
|
7024
|
-
}, [V(e.$slots, "group", { group: t }, () => [J("div",
|
|
7032
|
+
}, [V(e.$slots, "group", { group: t }, () => [J("div", yf, A(t.label), 1)]), (G(!0), K(W, null, B(t.items, (t, n) => (G(), K("div", {
|
|
7025
7033
|
key: t.id,
|
|
7026
7034
|
id: "g-search-option-" + t.id,
|
|
7027
7035
|
class: k(["g-search-option", { "g-search-option-active": l.value[c.value] && l.value[c.value].id === t.id }]),
|
|
7028
7036
|
role: "option",
|
|
7029
7037
|
onMousedown: As((e) => h(t), ["prevent"]),
|
|
7030
7038
|
"aria-selected": l.value[c.value] && l.value[c.value].id === t.id
|
|
7031
|
-
}, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42,
|
|
7039
|
+
}, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, bf))), 128))], 8, vf))), 128)) : u.value > 0 ? (G(!0), K(W, { key: 1 }, B(l.value, (t, n) => (G(), K("div", {
|
|
7032
7040
|
key: t.id,
|
|
7033
7041
|
id: "g-search-option-" + t.id,
|
|
7034
7042
|
class: k(["g-search-option", { "g-search-option-active": c.value === n }]),
|
|
7035
7043
|
role: "option",
|
|
7036
7044
|
onMousedown: As((e) => h(t), ["prevent"]),
|
|
7037
7045
|
"aria-selected": c.value === n
|
|
7038
|
-
}, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42,
|
|
7046
|
+
}, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, xf))), 128)) : Z("", !0)], 8, _f)])) : Z("", !0)], 8, pf));
|
|
7039
7047
|
}
|
|
7040
|
-
}), [["styles", [""]]]),
|
|
7048
|
+
}), [["styles", [""]]]), Cf = ["id"], wf = {
|
|
7041
7049
|
key: 0,
|
|
7042
7050
|
class: "g-select-required",
|
|
7043
7051
|
"aria-hidden": "true"
|
|
7044
|
-
},
|
|
7052
|
+
}, Tf = { class: "g-select-input-wrap" }, Ef = ["id"], Df = [
|
|
7045
7053
|
"value",
|
|
7046
7054
|
"placeholder",
|
|
7047
7055
|
"disabled",
|
|
@@ -7049,21 +7057,21 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7049
7057
|
"aria-expanded",
|
|
7050
7058
|
"aria-required",
|
|
7051
7059
|
"aria-activedescendant"
|
|
7052
|
-
],
|
|
7060
|
+
], Of = [
|
|
7053
7061
|
"id",
|
|
7054
7062
|
"aria-controls",
|
|
7055
7063
|
"aria-expanded",
|
|
7056
7064
|
"aria-required",
|
|
7057
7065
|
"aria-activedescendant"
|
|
7058
|
-
],
|
|
7066
|
+
], kf = ["id"], Af = [
|
|
7059
7067
|
"id",
|
|
7060
7068
|
"aria-selected",
|
|
7061
7069
|
"onClick"
|
|
7062
|
-
],
|
|
7070
|
+
], jf = {
|
|
7063
7071
|
key: 1,
|
|
7064
7072
|
"aria-live": "polite",
|
|
7065
7073
|
class: "g-select-combo-option g-select-option g-select-no-results"
|
|
7066
|
-
},
|
|
7074
|
+
}, Mf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7067
7075
|
__name: "GSelect",
|
|
7068
7076
|
props: /* @__PURE__ */ H({
|
|
7069
7077
|
options: { type: Array },
|
|
@@ -7104,13 +7112,13 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7104
7112
|
value: i,
|
|
7105
7113
|
errors: /* @__PURE__ */ fn(n, "errors"),
|
|
7106
7114
|
formKey: n.formKey
|
|
7107
|
-
}), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } =
|
|
7115
|
+
}), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = Bd({
|
|
7108
7116
|
open: l,
|
|
7109
7117
|
anchorRef: o,
|
|
7110
7118
|
listboxRef: s,
|
|
7111
7119
|
baseId: a,
|
|
7112
7120
|
activeIndex: u
|
|
7113
|
-
}), y = Q(() =>
|
|
7121
|
+
}), y = Q(() => zd(n.options)), b = /* @__PURE__ */ N(""), x = Q(() => {
|
|
7114
7122
|
if (!n.searchable || !l.value || !b.value) return y.value;
|
|
7115
7123
|
let e = b.value.toLowerCase();
|
|
7116
7124
|
return y.value.filter((t) => t.label.toLowerCase().includes(e));
|
|
@@ -7218,8 +7226,8 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7218
7226
|
key: 0,
|
|
7219
7227
|
id: P(a) + "-label",
|
|
7220
7228
|
class: "g-select-combo-label g-select-label"
|
|
7221
|
-
}, [X(A(n.label), 1), n.required ? (G(), K("span",
|
|
7222
|
-
J("div",
|
|
7229
|
+
}, [X(A(n.label), 1), n.required ? (G(), K("span", wf, " *")) : Z("", !0)], 8, Cf)),
|
|
7230
|
+
J("div", Tf, [n.searchable ? (G(), K("div", {
|
|
7223
7231
|
key: 0,
|
|
7224
7232
|
class: "g-select-combo-input g-select-control",
|
|
7225
7233
|
id: P(a)
|
|
@@ -7246,7 +7254,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7246
7254
|
}, e.hiddenLabel ? { "aria-label": n.label } : { "aria-labelledby": P(a) + "-label" }, {
|
|
7247
7255
|
role: "combobox",
|
|
7248
7256
|
autocomplete: "off"
|
|
7249
|
-
}), null, 16,
|
|
7257
|
+
}), null, 16, Df),
|
|
7250
7258
|
ie.value ? (G(), K("button", {
|
|
7251
7259
|
key: 0,
|
|
7252
7260
|
type: "button",
|
|
@@ -7272,7 +7280,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7272
7280
|
fill: "currentColor",
|
|
7273
7281
|
d: "M38.75 24.13a1.36 1.36 0 0 1 0 2.36l-12.44 7.18-12.43 7.18a1.36 1.36 0 0 1-2.05-1.18V11a1.36 1.36 0 0 1 2.05-1.18L26.31 17Z"
|
|
7274
7282
|
})], -1)
|
|
7275
|
-
], 8,
|
|
7283
|
+
], 8, Ef)) : (G(), K("div", Va({
|
|
7276
7284
|
key: 1,
|
|
7277
7285
|
ref_key: "comboRef",
|
|
7278
7286
|
ref: o,
|
|
@@ -7317,7 +7325,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7317
7325
|
fill: "currentColor",
|
|
7318
7326
|
d: "M38.75 24.13a1.36 1.36 0 0 1 0 2.36l-12.44 7.18-12.43 7.18a1.36 1.36 0 0 1-2.05-1.18V11a1.36 1.36 0 0 1 2.05-1.18L26.31 17Z"
|
|
7319
7327
|
})], -1)
|
|
7320
|
-
], 16,
|
|
7328
|
+
], 16, Of)), Wn(J("div", Va({
|
|
7321
7329
|
ref_key: "listboxRef",
|
|
7322
7330
|
ref: s,
|
|
7323
7331
|
class: ["g-select-combo-menu g-select-list", { "g-select-combo-menu--above": P(h) === "above" }],
|
|
@@ -7339,18 +7347,18 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7339
7347
|
option: e,
|
|
7340
7348
|
selected: e.value === i.value,
|
|
7341
7349
|
index: n
|
|
7342
|
-
}, () => [X(A(e.label), 1)])], 42,
|
|
7350
|
+
}, () => [X(A(e.label), 1)])], 42, Af))), 128)) : (G(), K("div", jf, " No results found. "))], 16, kf), [[Go, l.value]])]),
|
|
7343
7351
|
Y(Su, {
|
|
7344
7352
|
errors: P(p),
|
|
7345
7353
|
id: "error-message-" + P(a)
|
|
7346
7354
|
}, null, 8, ["errors", "id"])
|
|
7347
7355
|
], 2));
|
|
7348
7356
|
}
|
|
7349
|
-
}), [["styles", [""]]]),
|
|
7357
|
+
}), [["styles", [""]]]), Nf = ["disabled"], Pf = { class: "g-select-btn-legend" }, Ff = {
|
|
7350
7358
|
key: 0,
|
|
7351
7359
|
class: "g-select-btn-required",
|
|
7352
7360
|
"aria-hidden": "true"
|
|
7353
|
-
},
|
|
7361
|
+
}, If = { class: "g-select-btn-row" }, Lf = [
|
|
7354
7362
|
"id",
|
|
7355
7363
|
"name",
|
|
7356
7364
|
"value",
|
|
@@ -7358,7 +7366,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7358
7366
|
"disabled",
|
|
7359
7367
|
"required",
|
|
7360
7368
|
"onChange"
|
|
7361
|
-
],
|
|
7369
|
+
], Rf = ["for"], zf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7362
7370
|
__name: "GSelectButton",
|
|
7363
7371
|
props: /* @__PURE__ */ H({
|
|
7364
7372
|
options: { type: Array },
|
|
@@ -7412,7 +7420,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7412
7420
|
return (e, t) => (G(), K("fieldset", {
|
|
7413
7421
|
class: k(l.value),
|
|
7414
7422
|
disabled: n.disabled
|
|
7415
|
-
}, [J("legend",
|
|
7423
|
+
}, [J("legend", Pf, [X(A(n.label), 1), n.required ? (G(), K("span", Ff, " *")) : Z("", !0)]), J("div", { class: k(["g-select-btn-wrapper", { "g-select-btn-has-error": P(s) }]) }, [J("div", If, [(G(!0), K(W, null, B(c.value, (e, t) => (G(), K(W, { key: e.value }, [J("input", {
|
|
7416
7424
|
class: "g-select-btn-radio",
|
|
7417
7425
|
type: "radio",
|
|
7418
7426
|
id: `${P(a)}-${e.value}`,
|
|
@@ -7422,15 +7430,15 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7422
7430
|
disabled: n.disabled,
|
|
7423
7431
|
required: n.required && t === 0,
|
|
7424
7432
|
onChange: (t) => d(e.value)
|
|
7425
|
-
}, null, 40,
|
|
7433
|
+
}, null, 40, Lf), J("label", {
|
|
7426
7434
|
for: `${P(a)}-${e.value}`,
|
|
7427
7435
|
class: k(u(e.value === i.value))
|
|
7428
|
-
}, A(e.label), 11,
|
|
7436
|
+
}, A(e.label), 11, Rf)], 64))), 128))]), Y(Su, {
|
|
7429
7437
|
errors: P(o),
|
|
7430
7438
|
id: "error-message-" + P(a)
|
|
7431
|
-
}, null, 8, ["errors", "id"])], 2)], 10,
|
|
7439
|
+
}, null, 8, ["errors", "id"])], 2)], 10, Nf));
|
|
7432
7440
|
}
|
|
7433
|
-
}), [["styles", [""]]]),
|
|
7441
|
+
}), [["styles", [""]]]), Bf = ["id"], Vf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7434
7442
|
__name: "GSidebar",
|
|
7435
7443
|
props: {
|
|
7436
7444
|
backgroundColor: {
|
|
@@ -7484,13 +7492,13 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7484
7492
|
width: "var(--g-sidebar-width)"
|
|
7485
7493
|
}),
|
|
7486
7494
|
onKeydown: s
|
|
7487
|
-
}, [V(t.$slots, "default")], 46,
|
|
7495
|
+
}, [V(t.$slots, "default")], 46, Bf));
|
|
7488
7496
|
}
|
|
7489
|
-
}), [["styles", [""]]]),
|
|
7497
|
+
}), [["styles", [""]]]), Hf = ["id"], Uf = { class: "g-sidebar-menu__list" }, Wf = [
|
|
7490
7498
|
"href",
|
|
7491
7499
|
"aria-current",
|
|
7492
7500
|
"onClick"
|
|
7493
|
-
],
|
|
7501
|
+
], Gf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7494
7502
|
__name: "GSidebarMenu",
|
|
7495
7503
|
props: /* @__PURE__ */ H({
|
|
7496
7504
|
heading: { type: String },
|
|
@@ -7544,13 +7552,13 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7544
7552
|
key: 0,
|
|
7545
7553
|
id: P(c),
|
|
7546
7554
|
class: "g-sidebar-menu__title"
|
|
7547
|
-
}, A(e.heading), 9,
|
|
7555
|
+
}, A(e.heading), 9, Hf)) : Z("", !0),
|
|
7548
7556
|
a[0] ||= J("div", { class: "g-sidebar-menu__divider" }, null, -1),
|
|
7549
7557
|
J("div", {
|
|
7550
7558
|
class: "g-sidebar-menu__content",
|
|
7551
7559
|
ref_key: "content",
|
|
7552
7560
|
ref: i
|
|
7553
|
-
}, [J("ul",
|
|
7561
|
+
}, [J("ul", Uf, [(G(!0), K(W, null, B(e.items, (e) => (G(), K("li", {
|
|
7554
7562
|
key: e.href || e.to,
|
|
7555
7563
|
class: "g-sidebar-menu__item",
|
|
7556
7564
|
ref_for: !0,
|
|
@@ -7568,10 +7576,10 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7568
7576
|
href: e.href || e.to || "#",
|
|
7569
7577
|
"aria-current": r.value === (e.href || "") ? "location" : void 0,
|
|
7570
7578
|
onClick: (t) => s(t, e)
|
|
7571
|
-
}, A(e.label), 11,
|
|
7579
|
+
}, A(e.label), 11, Wf))]))), 128))])], 512)
|
|
7572
7580
|
], 16));
|
|
7573
7581
|
}
|
|
7574
|
-
}), [["styles", [""]]]),
|
|
7582
|
+
}), [["styles", [""]]]), Kf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7575
7583
|
__name: "GSubmitButton",
|
|
7576
7584
|
props: {
|
|
7577
7585
|
disabled: {
|
|
@@ -7603,44 +7611,44 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7603
7611
|
_: 3
|
|
7604
7612
|
}, 8, ["disabled", "variant"]));
|
|
7605
7613
|
}
|
|
7606
|
-
}), [["styles", [""]]]),
|
|
7614
|
+
}), [["styles", [""]]]), qf = {
|
|
7607
7615
|
ref: "tableBodyRef",
|
|
7608
7616
|
class: "efficient-table-body"
|
|
7609
|
-
},
|
|
7617
|
+
}, Jf = ["aria-rowindex"], Yf = {
|
|
7610
7618
|
key: 0,
|
|
7611
7619
|
class: "table-group-checkbox"
|
|
7612
|
-
},
|
|
7620
|
+
}, Xf = ["colspan"], Zf = [
|
|
7613
7621
|
"aria-rowindex",
|
|
7614
7622
|
"onMousedown",
|
|
7615
7623
|
"onClick"
|
|
7616
|
-
],
|
|
7624
|
+
], Qf = [
|
|
7617
7625
|
"checked",
|
|
7618
7626
|
"onClick",
|
|
7619
7627
|
"aria-label",
|
|
7620
7628
|
"name"
|
|
7621
|
-
],
|
|
7629
|
+
], $f = ["id"], ep = {
|
|
7622
7630
|
key: 0,
|
|
7623
7631
|
class: "editable-cell"
|
|
7624
|
-
},
|
|
7632
|
+
}, tp = {
|
|
7625
7633
|
key: 0,
|
|
7626
7634
|
class: "cell-prefix"
|
|
7627
|
-
},
|
|
7635
|
+
}, np = [
|
|
7628
7636
|
"value",
|
|
7629
7637
|
"onChange",
|
|
7630
7638
|
"aria-labelledby",
|
|
7631
7639
|
"aria-invalid",
|
|
7632
7640
|
"name"
|
|
7633
|
-
],
|
|
7641
|
+
], rp = ["value"], ip = [
|
|
7634
7642
|
"value",
|
|
7635
7643
|
"onInput",
|
|
7636
7644
|
"aria-labelledby",
|
|
7637
7645
|
"aria-invalid",
|
|
7638
7646
|
"aria-errormessage",
|
|
7639
7647
|
"name"
|
|
7640
|
-
],
|
|
7648
|
+
], ap = {
|
|
7641
7649
|
key: 3,
|
|
7642
7650
|
class: "cell-suffix"
|
|
7643
|
-
},
|
|
7651
|
+
}, op = ["id"], sp = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7644
7652
|
__name: "GTableBody",
|
|
7645
7653
|
props: {
|
|
7646
7654
|
data: { type: Array },
|
|
@@ -7709,13 +7717,13 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7709
7717
|
function m(e, t) {
|
|
7710
7718
|
if (n.changeTracker) return n.changeTracker.getError(e.key, t.key);
|
|
7711
7719
|
}
|
|
7712
|
-
return (t, n) => (G(), K("tbody",
|
|
7720
|
+
return (t, n) => (G(), K("tbody", qf, [(G(!0), K(W, null, B(e.data, (t, r) => (G(), K(W, { key: t.key }, [e.groupBy && (r === 0 || t[e.groupBy] !== e.data[r - 1][e.groupBy]) ? (G(), K("tr", {
|
|
7713
7721
|
key: 0,
|
|
7714
7722
|
"aria-rowindex": e.startIndex + r + 2
|
|
7715
|
-
}, [e.bulkSelectionEnabled ? (G(), K("td",
|
|
7723
|
+
}, [e.bulkSelectionEnabled ? (G(), K("td", Yf)) : Z("", !0), J("td", {
|
|
7716
7724
|
colspan: e.columns.length,
|
|
7717
7725
|
class: "table-group-row"
|
|
7718
|
-
}, [e.groupRender ? (G(), q(ni(e.groupRender(t[e.groupBy], t)), { key: 0 })) : (G(), K(W, { key: 1 }, [X(A(t[e.groupBy]), 1)], 64))], 8,
|
|
7726
|
+
}, [e.groupRender ? (G(), q(ni(e.groupRender(t[e.groupBy], t)), { key: 0 })) : (G(), K(W, { key: 1 }, [X(A(t[e.groupBy]), 1)], 64))], 8, Xf)], 8, Jf)) : Z("", !0), J("tr", {
|
|
7719
7727
|
class: k([
|
|
7720
7728
|
"efficient-table-row",
|
|
7721
7729
|
{
|
|
@@ -7738,7 +7746,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7738
7746
|
"aria-label": `Select row ${t.key}`,
|
|
7739
7747
|
name: `row-${t.key}-checkbox`,
|
|
7740
7748
|
class: "g-bulk-select-checkbox"
|
|
7741
|
-
}, null, 8,
|
|
7749
|
+
}, null, 8, Qf)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (n) => (G(), K("td", {
|
|
7742
7750
|
key: n.key,
|
|
7743
7751
|
id: d(n) ? `${e.tableId}-td-${t.key}-${String(n.key)}` : void 0,
|
|
7744
7752
|
class: k([
|
|
@@ -7747,8 +7755,8 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7747
7755
|
p(t, n) ? "g-cell-error" : "",
|
|
7748
7756
|
typeof n.tdClass == "function" ? n.tdClass(t) : n.tdClass
|
|
7749
7757
|
])
|
|
7750
|
-
}, [n.editable ? (G(), K("div",
|
|
7751
|
-
n.editable.prefix ? (G(), K("span",
|
|
7758
|
+
}, [n.editable ? (G(), K("div", ep, [
|
|
7759
|
+
n.editable.prefix ? (G(), K("span", tp, A(n.editable.prefix), 1)) : Z("", !0),
|
|
7752
7760
|
n.editable.type === "select" ? (G(), K("select", {
|
|
7753
7761
|
key: 1,
|
|
7754
7762
|
value: t[n.key],
|
|
@@ -7760,7 +7768,7 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7760
7768
|
}, [(G(!0), K(W, null, B(n.editable.options, (e) => (G(), K("option", {
|
|
7761
7769
|
key: e.value,
|
|
7762
7770
|
value: e.value
|
|
7763
|
-
}, A(e.label), 9,
|
|
7771
|
+
}, A(e.label), 9, rp))), 128))], 40, np)) : (G(), K("input", Va({
|
|
7764
7772
|
key: 2,
|
|
7765
7773
|
value: t[n.key]
|
|
7766
7774
|
}, { ref_for: !0 }, n.editable.inputAttributes, {
|
|
@@ -7774,29 +7782,29 @@ var Bd = ["id", "for"], Vd = {
|
|
|
7774
7782
|
paddingLeft: n.editable.prefix ? "1.5rem" : void 0,
|
|
7775
7783
|
paddingRight: n.editable.suffix ? "2rem" : void 0
|
|
7776
7784
|
}
|
|
7777
|
-
}), null, 16,
|
|
7778
|
-
n.editable.suffix ? (G(), K("span",
|
|
7785
|
+
}), null, 16, ip)),
|
|
7786
|
+
n.editable.suffix ? (G(), K("span", ap, A(n.editable.suffix), 1)) : Z("", !0)
|
|
7779
7787
|
])) : n.display ? (G(), q(ni(n.display(t)), { key: 1 })) : (G(), K(W, { key: 2 }, [X(A(t[n.key]), 1)], 64)), p(t, n) ? (G(), K("div", {
|
|
7780
7788
|
key: 3,
|
|
7781
7789
|
role: "alert",
|
|
7782
7790
|
class: "g-cell-error-message",
|
|
7783
7791
|
id: `${e.tableId}-error-${t.key}-${String(n.key)}`
|
|
7784
|
-
}, A(m(t, n)), 9,
|
|
7792
|
+
}, A(m(t, n)), 9, op)) : Z("", !0)], 10, $f))), 128))], 42, Zf)], 64))), 128))], 512));
|
|
7785
7793
|
}
|
|
7786
7794
|
}), [["styles", [""]]]);
|
|
7787
7795
|
//#endregion
|
|
7788
7796
|
//#region src/compose/useFiltering.ts
|
|
7789
|
-
function
|
|
7797
|
+
function cp(e) {
|
|
7790
7798
|
if (!(Array.isArray(e) && e.length === 0) && !(e === null || e === !1 || e === "")) return e;
|
|
7791
7799
|
}
|
|
7792
|
-
function
|
|
7800
|
+
function lp(e) {
|
|
7793
7801
|
let t = {};
|
|
7794
7802
|
return Object.keys(e).forEach((n) => {
|
|
7795
7803
|
let r = e[n];
|
|
7796
7804
|
r != null && r !== "" && r !== !1 && (Array.isArray(r) ? r.length > 0 && (t[n] = r.map((e) => String(e))) : t[n] = String(r));
|
|
7797
7805
|
}), t;
|
|
7798
7806
|
}
|
|
7799
|
-
function
|
|
7807
|
+
function up(e, t = {}) {
|
|
7800
7808
|
let n = /* @__PURE__ */ Ht(Object.fromEntries(Object.entries(e).map(([e, t]) => [e, t]))), r = t.syncWith;
|
|
7801
7809
|
if (r) {
|
|
7802
7810
|
if (r.value) {
|
|
@@ -7809,13 +7817,13 @@ function lp(e, t = {}) {
|
|
|
7809
7817
|
});
|
|
7810
7818
|
}
|
|
7811
7819
|
L(n, (e) => {
|
|
7812
|
-
r.value =
|
|
7820
|
+
r.value = lp(e);
|
|
7813
7821
|
}, { deep: !0 });
|
|
7814
7822
|
}
|
|
7815
7823
|
return {
|
|
7816
7824
|
filters: n,
|
|
7817
7825
|
isFiltered: Q(() => {
|
|
7818
|
-
for (let t of Object.keys(e)) if (
|
|
7826
|
+
for (let t of Object.keys(e)) if (cp(n[t])) return !0;
|
|
7819
7827
|
return !1;
|
|
7820
7828
|
}),
|
|
7821
7829
|
clearFilters: () => {
|
|
@@ -7825,48 +7833,48 @@ function lp(e, t = {}) {
|
|
|
7825
7833
|
},
|
|
7826
7834
|
filteredColumns: Q(() => {
|
|
7827
7835
|
let t = {};
|
|
7828
|
-
for (let r of Object.keys(e)) t[r] = !!
|
|
7836
|
+
for (let r of Object.keys(e)) t[r] = !!cp(n[r]);
|
|
7829
7837
|
return t;
|
|
7830
7838
|
})
|
|
7831
7839
|
};
|
|
7832
7840
|
}
|
|
7833
7841
|
//#endregion
|
|
7834
7842
|
//#region src/components/GTable.vue?vue&type=script&setup=true&lang.ts
|
|
7835
|
-
var
|
|
7843
|
+
var dp = { class: "g-table-outer-wrap" }, fp = {
|
|
7836
7844
|
key: 0,
|
|
7837
7845
|
class: "g-table-controls"
|
|
7838
|
-
},
|
|
7846
|
+
}, pp = { class: "g-clear-filters-wrap" }, mp = {
|
|
7839
7847
|
key: 0,
|
|
7840
7848
|
class: "pagination"
|
|
7841
|
-
},
|
|
7849
|
+
}, hp = { class: "g-result-count" }, gp = ["aria-label", "aria-rowcount"], _p = { class: "g-table-head" }, vp = { "aria-rowindex": "1" }, yp = {
|
|
7842
7850
|
key: 0,
|
|
7843
7851
|
scope: "col",
|
|
7844
7852
|
class: "g-th g-th-checkbox"
|
|
7845
|
-
},
|
|
7853
|
+
}, bp = [
|
|
7846
7854
|
"checked",
|
|
7847
7855
|
"indeterminate",
|
|
7848
7856
|
"aria-label"
|
|
7849
|
-
],
|
|
7857
|
+
], xp = ["id", "aria-sort"], Sp = { class: "th-inner" }, Cp = ["onClick"], wp = {
|
|
7850
7858
|
key: 0,
|
|
7851
7859
|
class: "sort-indicator"
|
|
7852
|
-
},
|
|
7860
|
+
}, Tp = ["aria-label"], Ep = {
|
|
7853
7861
|
key: 1,
|
|
7854
7862
|
class: "g-column-head"
|
|
7855
|
-
},
|
|
7863
|
+
}, Dp = ["onClick", "aria-label"], Op = { key: 1 }, kp = { class: "g-filter-toggle" }, Ap = [
|
|
7856
7864
|
"onUpdate:modelValue",
|
|
7857
7865
|
"id",
|
|
7858
7866
|
"aria-describedby"
|
|
7859
|
-
],
|
|
7867
|
+
], jp = ["for"], Mp = ["id"], Np = {
|
|
7860
7868
|
key: 3,
|
|
7861
7869
|
class: "g-multi-select"
|
|
7862
|
-
},
|
|
7870
|
+
}, Pp = [
|
|
7863
7871
|
"onUpdate:modelValue",
|
|
7864
7872
|
"id",
|
|
7865
7873
|
"value"
|
|
7866
|
-
],
|
|
7874
|
+
], Fp = ["for"], Ip = {
|
|
7867
7875
|
key: 1,
|
|
7868
7876
|
class: "g-bulk-actions-toolbar"
|
|
7869
|
-
},
|
|
7877
|
+
}, Lp = { class: "g-selected-count" }, Rp = { class: "g-bulk-actions" }, zp = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7870
7878
|
__name: "GTable",
|
|
7871
7879
|
props: /* @__PURE__ */ H({
|
|
7872
7880
|
label: { type: String },
|
|
@@ -7918,7 +7926,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
7918
7926
|
e.sortable && (n.value === e.key ? r.value === 1 ? r.value = -1 : r.value === -1 && (n.value = void 0, r.value = 1) : (n.value = e.key, r.value = 1));
|
|
7919
7927
|
}
|
|
7920
7928
|
let l = o.filtering;
|
|
7921
|
-
l ||=
|
|
7929
|
+
l ||= up({});
|
|
7922
7930
|
let { filters: u, filteredColumns: d, isFiltered: f, clearFilters: p } = l, m = Q(() => o.data.map((e) => e.key)), h = Q(() => a.value.filter((e) => m.value.includes(e))), g = Q(() => !o.bulkSelectionEnabled || o.data.length === 0 ? !1 : h.value.length === m.value.length), _ = Q(() => !o.bulkSelectionEnabled || o.data.length === 0 ? !1 : h.value.length > 0 && h.value.length < m.value.length), v = /* @__PURE__ */ N(null);
|
|
7923
7931
|
function y() {
|
|
7924
7932
|
if (g.value) a.value = a.value.filter((e) => !m.value.includes(e));
|
|
@@ -7964,9 +7972,9 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
7964
7972
|
let e = i.value[t.key];
|
|
7965
7973
|
i.value[t.key] = e ? [e] : [];
|
|
7966
7974
|
}
|
|
7967
|
-
}, { immediate: !0 }), (t, s) => (G(), K("div",
|
|
7968
|
-
ee.value ? (G(), K("div",
|
|
7969
|
-
J("div",
|
|
7975
|
+
}, { immediate: !0 }), (t, s) => (G(), K("div", dp, [
|
|
7976
|
+
ee.value ? (G(), K("div", fp, [
|
|
7977
|
+
J("div", pp, [P(f) ? (G(), q(ru, {
|
|
7970
7978
|
key: 0,
|
|
7971
7979
|
outlined: "",
|
|
7972
7980
|
size: "small",
|
|
@@ -7984,22 +7992,22 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
7984
7992
|
})], -1), J("span", { class: "g-clear-filters-text" }, " Clear Filters ", -1)]]),
|
|
7985
7993
|
_: 1
|
|
7986
7994
|
}, 8, ["onClick"])) : Z("", !0)]),
|
|
7987
|
-
E.value ? (G(), K("div",
|
|
7988
|
-
J("span",
|
|
7995
|
+
E.value ? (G(), K("div", mp, [V(t.$slots, "pagination")])) : Z("", !0),
|
|
7996
|
+
J("span", hp, A(o.resultCount || e.data.length) + " results", 1)
|
|
7989
7997
|
])) : Z("", !0),
|
|
7990
7998
|
J("table", {
|
|
7991
7999
|
class: "g-table",
|
|
7992
8000
|
ref: "tableRef",
|
|
7993
8001
|
"aria-label": e.label,
|
|
7994
8002
|
"aria-rowcount": o.resultCount || e.data.length
|
|
7995
|
-
}, [J("thead",
|
|
8003
|
+
}, [J("thead", _p, [J("tr", vp, [e.bulkSelectionEnabled ? (G(), K("th", yp, [J("input", {
|
|
7996
8004
|
type: "checkbox",
|
|
7997
8005
|
checked: g.value,
|
|
7998
8006
|
indeterminate: _.value,
|
|
7999
8007
|
onChange: y,
|
|
8000
8008
|
"aria-label": g.value ? "Deselect all rows" : "Select all rows",
|
|
8001
8009
|
class: "g-bulk-select-checkbox"
|
|
8002
|
-
}, null, 40,
|
|
8010
|
+
}, null, 40, bp)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (e) => (G(), K("th", {
|
|
8003
8011
|
key: e.key,
|
|
8004
8012
|
id: `${P(w)}-th-${String(e.key)}`,
|
|
8005
8013
|
"aria-sort": n.value === e.key ? r.value === 1 ? "ascending" : "descending" : "none",
|
|
@@ -8009,12 +8017,12 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8009
8017
|
{ filtered: P(d)[e.key] }
|
|
8010
8018
|
]),
|
|
8011
8019
|
scope: "col"
|
|
8012
|
-
}, [J("div",
|
|
8020
|
+
}, [J("div", Sp, [e.sortable ? (G(), K("button", {
|
|
8013
8021
|
key: 0,
|
|
8014
8022
|
type: "button",
|
|
8015
8023
|
class: "g-column-head",
|
|
8016
8024
|
onClick: (t) => c(e)
|
|
8017
|
-
}, [X(A(e.label) + " ", 1), n.value === e.key ? (G(), K("span",
|
|
8025
|
+
}, [X(A(e.label) + " ", 1), n.value === e.key ? (G(), K("span", wp, [(G(), K("svg", {
|
|
8018
8026
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8019
8027
|
viewBox: "0 0 640 640",
|
|
8020
8028
|
height: "1.5em",
|
|
@@ -8024,7 +8032,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8024
8032
|
}, [...s[1] ||= [J("path", {
|
|
8025
8033
|
fill: "currentColor",
|
|
8026
8034
|
d: "M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z"
|
|
8027
|
-
}, null, -1)]], 12,
|
|
8035
|
+
}, null, -1)]], 12, Tp))])) : Z("", !0)], 8, Cp)) : (G(), K("span", Ep, A(e.label), 1)), e.filter ? (G(), q(of, { key: 2 }, {
|
|
8028
8036
|
trigger: I(({ toggle: t }) => [J("button", {
|
|
8029
8037
|
onClick: As(t, ["stop"]),
|
|
8030
8038
|
"aria-label": P(d)[e.key] ? "Column Filtered" : "Filter Column",
|
|
@@ -8038,8 +8046,8 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8038
8046
|
}, [J("path", {
|
|
8039
8047
|
fill: "currentColor",
|
|
8040
8048
|
d: "M96 128C83.1 128 71.4 135.8 66.4 147.8C61.4 159.8 64.2 173.5 73.4 182.6L256 365.3L256 480C256 488.5 259.4 496.6 265.4 502.6L329.4 566.6C338.6 575.8 352.3 578.5 364.3 573.5C376.3 568.5 384 556.9 384 544L384 365.3L566.6 182.7C575.8 173.5 578.5 159.8 573.5 147.8C568.5 135.8 556.9 128 544 128L96 128z"
|
|
8041
|
-
})], -1)]], 10,
|
|
8042
|
-
default: I(() => [e.filter.type === "select" ? (G(), q(
|
|
8049
|
+
})], -1)]], 10, Dp)]),
|
|
8050
|
+
default: I(() => [e.filter.type === "select" ? (G(), q(Mf, {
|
|
8043
8051
|
key: 0,
|
|
8044
8052
|
modelValue: i.value[e.key],
|
|
8045
8053
|
"onUpdate:modelValue": (t) => i.value[e.key] = t,
|
|
@@ -8052,20 +8060,20 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8052
8060
|
"modelValue",
|
|
8053
8061
|
"onUpdate:modelValue",
|
|
8054
8062
|
"options"
|
|
8055
|
-
])) : e.filter.type === "toggle" ? (G(), K("div",
|
|
8063
|
+
])) : e.filter.type === "toggle" ? (G(), K("div", Op, [J("div", kp, [
|
|
8056
8064
|
Wn(J("input", {
|
|
8057
8065
|
type: "checkbox",
|
|
8058
8066
|
"onUpdate:modelValue": (t) => i.value[e.key] = t,
|
|
8059
8067
|
id: `${P(w)}-filter-${String(e.key)}`,
|
|
8060
8068
|
"aria-describedby": e.filter.description ? `${P(w)}-filter-description-${String(e.key)}` : void 0
|
|
8061
|
-
}, null, 8,
|
|
8062
|
-
J("label", { for: `${P(w)}-filter-${String(e.key)}` }, A(e.filter.label), 9,
|
|
8069
|
+
}, null, 8, Ap), [[ws, i.value[e.key]]]),
|
|
8070
|
+
J("label", { for: `${P(w)}-filter-${String(e.key)}` }, A(e.filter.label), 9, jp),
|
|
8063
8071
|
e.filter.description ? (G(), K("span", {
|
|
8064
8072
|
key: 0,
|
|
8065
8073
|
class: "g-filter-description",
|
|
8066
8074
|
id: `${P(w)}-filter-description-${String(e.key)}`
|
|
8067
|
-
}, A(e.filter.description), 9,
|
|
8068
|
-
])])) : e.filter.type === "multi-select" && e.filter.searchable ? (G(), q(
|
|
8075
|
+
}, A(e.filter.description), 9, Mp)) : Z("", !0)
|
|
8076
|
+
])])) : e.filter.type === "multi-select" && e.filter.searchable ? (G(), q($d, {
|
|
8069
8077
|
key: 2,
|
|
8070
8078
|
modelValue: i.value[e.key],
|
|
8071
8079
|
"onUpdate:modelValue": (t) => i.value[e.key] = t,
|
|
@@ -8078,7 +8086,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8078
8086
|
"onUpdate:modelValue",
|
|
8079
8087
|
"options",
|
|
8080
8088
|
"placeholder"
|
|
8081
|
-
])) : e.filter.type === "multi-select" ? (G(), K("fieldset",
|
|
8089
|
+
])) : e.filter.type === "multi-select" ? (G(), K("fieldset", Np, [
|
|
8082
8090
|
s[4] ||= J("legend", { class: "g-multi-select-legend" }, " Include values ", -1),
|
|
8083
8091
|
(G(!0), K(W, null, B(e.filter.options, (t) => (G(), K("div", { key: t.value }, [Wn(J("input", {
|
|
8084
8092
|
type: "checkbox",
|
|
@@ -8086,7 +8094,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8086
8094
|
id: `filter-${String(e.key)}-${t.value}`,
|
|
8087
8095
|
value: t.value,
|
|
8088
8096
|
name: "filter-multiselect"
|
|
8089
|
-
}, null, 8,
|
|
8097
|
+
}, null, 8, Pp), [[ws, i.value[e.key]]]), J("label", { for: `filter-${String(e.key)}-${t.value}` }, A(t.label), 9, Fp)]))), 128)),
|
|
8090
8098
|
i.value[e.key] && i.value[e.key].length ? (G(), q(ru, {
|
|
8091
8099
|
key: 0,
|
|
8092
8100
|
class: "clear-multiselect-btn",
|
|
@@ -8099,7 +8107,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8099
8107
|
}, 8, ["onClick"])) : Z("", !0)
|
|
8100
8108
|
])) : Z("", !0)]),
|
|
8101
8109
|
_: 2
|
|
8102
|
-
}, 1024)) : Z("", !0)])], 10,
|
|
8110
|
+
}, 1024)) : Z("", !0)])], 10, xp))), 128))])]), Y(sp, {
|
|
8103
8111
|
data: e.data,
|
|
8104
8112
|
columns: e.columns,
|
|
8105
8113
|
"group-by": e.groupBy,
|
|
@@ -8126,8 +8134,8 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8126
8134
|
"selected-rows",
|
|
8127
8135
|
"table-id",
|
|
8128
8136
|
"change-tracker"
|
|
8129
|
-
])], 8,
|
|
8130
|
-
e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div",
|
|
8137
|
+
])], 8, gp),
|
|
8138
|
+
e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div", Ip, [J("span", Lp, A(a.value.length) + " row" + A(a.value.length === 1 ? "" : "s") + " selected", 1), J("ul", Rp, [(G(!0), K(W, null, B(e.bulkActions, (e) => (G(), K("li", { key: e.id }, [Y(ru, {
|
|
8131
8139
|
theme: e.theme || "accent",
|
|
8132
8140
|
onClick: (t) => S(e.id),
|
|
8133
8141
|
size: "small"
|
|
@@ -8137,10 +8145,10 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8137
8145
|
}, 1032, ["theme", "onClick"])]))), 128))])])) : Z("", !0)
|
|
8138
8146
|
]));
|
|
8139
8147
|
}
|
|
8140
|
-
}), [["styles", [""]]]),
|
|
8148
|
+
}), [["styles", [""]]]), Bp = {
|
|
8141
8149
|
class: "g-pagination",
|
|
8142
8150
|
"aria-label": "Pagination"
|
|
8143
|
-
},
|
|
8151
|
+
}, Vp = ["disabled"], Hp = ["disabled"], Up = { class: "page-range" }, Wp = ["disabled"], Gp = ["disabled"], Kp = ["value"], qp = ["value"], Jp = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8144
8152
|
__name: "GTablePagination",
|
|
8145
8153
|
props: /* @__PURE__ */ H({
|
|
8146
8154
|
start: { type: Number },
|
|
@@ -8162,7 +8170,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8162
8170
|
function d(e) {
|
|
8163
8171
|
i.value = parseInt(e.target.value, 10);
|
|
8164
8172
|
}
|
|
8165
|
-
return (e, r) => (G(), K("nav",
|
|
8173
|
+
return (e, r) => (G(), K("nav", Bp, [
|
|
8166
8174
|
J("button", {
|
|
8167
8175
|
class: "first-page g-pagination-button",
|
|
8168
8176
|
disabled: l.value === 1,
|
|
@@ -8187,7 +8195,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8187
8195
|
}),
|
|
8188
8196
|
J("path", { d: "M11 7l-5 5l5 5" }),
|
|
8189
8197
|
J("path", { d: "M17 7l-5 5l5 5" })
|
|
8190
|
-
], -1)]], 8,
|
|
8198
|
+
], -1)]], 8, Vp),
|
|
8191
8199
|
J("button", {
|
|
8192
8200
|
class: "prev-page g-pagination-button",
|
|
8193
8201
|
disabled: l.value === 1,
|
|
@@ -8208,8 +8216,8 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8208
8216
|
stroke: "none",
|
|
8209
8217
|
d: "M0 0h24v24H0z",
|
|
8210
8218
|
fill: "none"
|
|
8211
|
-
}), J("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8,
|
|
8212
|
-
J("span",
|
|
8219
|
+
}), J("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Hp),
|
|
8220
|
+
J("span", Up, A(s.value) + " to " + A(c.value), 1),
|
|
8213
8221
|
J("button", {
|
|
8214
8222
|
class: "next-page g-pagination-button",
|
|
8215
8223
|
disabled: l.value === n.value,
|
|
@@ -8230,7 +8238,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8230
8238
|
stroke: "none",
|
|
8231
8239
|
d: "M0 0h24v24H0z",
|
|
8232
8240
|
fill: "none"
|
|
8233
|
-
}), J("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8,
|
|
8241
|
+
}), J("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Wp),
|
|
8234
8242
|
J("button", {
|
|
8235
8243
|
class: "last-page g-pagination-button",
|
|
8236
8244
|
disabled: l.value === n.value,
|
|
@@ -8255,7 +8263,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8255
8263
|
}),
|
|
8256
8264
|
J("path", { d: "M7 7l5 5l-5 5" }),
|
|
8257
8265
|
J("path", { d: "M13 7l5 5l-5 5" })
|
|
8258
|
-
], -1)]], 8,
|
|
8266
|
+
], -1)]], 8, Gp),
|
|
8259
8267
|
J("select", {
|
|
8260
8268
|
id: "page-size-select",
|
|
8261
8269
|
class: "page-size-select",
|
|
@@ -8269,14 +8277,14 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8269
8277
|
], (e) => (G(), K("option", {
|
|
8270
8278
|
key: e,
|
|
8271
8279
|
value: e
|
|
8272
|
-
}, A(e), 9,
|
|
8280
|
+
}, A(e), 9, qp))), 128))], 40, Kp),
|
|
8273
8281
|
r[8] ||= J("label", {
|
|
8274
8282
|
class: "page-size-label",
|
|
8275
8283
|
for: "page-size-select"
|
|
8276
8284
|
}, "per page", -1)
|
|
8277
8285
|
]));
|
|
8278
8286
|
}
|
|
8279
|
-
}), [["styles", [""]]]),
|
|
8287
|
+
}), [["styles", [""]]]), Yp = { class: "popover-content" }, Xp = { class: "year-dropdown" }, Zp = { class: "month-selector" }, Qp = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8280
8288
|
__name: "GTermSelectorControl",
|
|
8281
8289
|
props: /* @__PURE__ */ H({
|
|
8282
8290
|
termYears: {
|
|
@@ -8309,7 +8317,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8309
8317
|
emits: ["update:modelValue"],
|
|
8310
8318
|
setup(e) {
|
|
8311
8319
|
let t = U(e, "modelValue");
|
|
8312
|
-
return (n, r) => (G(), K("div",
|
|
8320
|
+
return (n, r) => (G(), K("div", Yp, [J("div", Xp, [Y(Mf, {
|
|
8313
8321
|
modelValue: t.value.year,
|
|
8314
8322
|
"onUpdate:modelValue": r[0] ||= (e) => t.value.year = e,
|
|
8315
8323
|
options: e.termYears,
|
|
@@ -8318,7 +8326,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8318
8326
|
"modelValue",
|
|
8319
8327
|
"options",
|
|
8320
8328
|
"label"
|
|
8321
|
-
])]), J("div",
|
|
8329
|
+
])]), J("div", Zp, [Y(zf, {
|
|
8322
8330
|
modelValue: t.value.name,
|
|
8323
8331
|
"onUpdate:modelValue": r[1] ||= (e) => t.value.name = e,
|
|
8324
8332
|
options: e.termNames,
|
|
@@ -8330,10 +8338,10 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8330
8338
|
"label"
|
|
8331
8339
|
])])]));
|
|
8332
8340
|
}
|
|
8333
|
-
}), [["styles", [""]]]),
|
|
8341
|
+
}), [["styles", [""]]]), $p = { class: "g-term-selector" }, em = { class: "g-term-label" }, tm = {
|
|
8334
8342
|
class: "g-popover-title",
|
|
8335
8343
|
tabindex: "-1"
|
|
8336
|
-
},
|
|
8344
|
+
}, nm = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8337
8345
|
__name: "GTermSelector",
|
|
8338
8346
|
props: /* @__PURE__ */ H({
|
|
8339
8347
|
heading: {
|
|
@@ -8364,7 +8372,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8364
8372
|
emits: ["update:modelValue"],
|
|
8365
8373
|
setup(e) {
|
|
8366
8374
|
let t = U(e, "modelValue");
|
|
8367
|
-
return (n, r) => (G(), K("div",
|
|
8375
|
+
return (n, r) => (G(), K("div", $p, [Y(of, null, {
|
|
8368
8376
|
trigger: I(({ toggle: e }) => [Y(ru, {
|
|
8369
8377
|
class: "g-term-selector-button",
|
|
8370
8378
|
theme: "none",
|
|
@@ -8377,7 +8385,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8377
8385
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8378
8386
|
viewBox: "0 0 640 640"
|
|
8379
8387
|
}, [J("path", { d: "M224 64C206.3 64 192 78.3 192 96L192 128L160 128C124.7 128 96 156.7 96 192L96 240L544 240L544 192C544 156.7 515.3 128 480 128L448 128L448 96C448 78.3 433.7 64 416 64C398.3 64 384 78.3 384 96L384 128L256 128L256 96C256 78.3 241.7 64 224 64zM96 288L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 288L96 288z" })])], -1),
|
|
8380
|
-
J("span",
|
|
8388
|
+
J("span", em, A(t.value?.name) + " " + A(t.value?.year), 1),
|
|
8381
8389
|
r[1] ||= J("span", { class: "g-caret" }, [J("svg", {
|
|
8382
8390
|
role: "none presentation",
|
|
8383
8391
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8386,15 +8394,15 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8386
8394
|
]),
|
|
8387
8395
|
_: 1
|
|
8388
8396
|
}, 8, ["onClick"])]),
|
|
8389
|
-
default: I(() => [J("h2",
|
|
8397
|
+
default: I(() => [J("h2", tm, A(e.heading), 1), Y(Qp, ge(Ia(n.$props)), null, 16)]),
|
|
8390
8398
|
_: 1
|
|
8391
8399
|
})]));
|
|
8392
8400
|
}
|
|
8393
|
-
}), [["styles", [""]]]),
|
|
8401
|
+
}), [["styles", [""]]]), rm = ["for"], im = {
|
|
8394
8402
|
key: 0,
|
|
8395
8403
|
class: "g-textarea-required",
|
|
8396
8404
|
"aria-hidden": "true"
|
|
8397
|
-
},
|
|
8405
|
+
}, am = ["id"], om = [
|
|
8398
8406
|
"value",
|
|
8399
8407
|
"placeholder",
|
|
8400
8408
|
"disabled",
|
|
@@ -8403,11 +8411,11 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8403
8411
|
"rows",
|
|
8404
8412
|
"maxlength",
|
|
8405
8413
|
"aria-invalid"
|
|
8406
|
-
],
|
|
8414
|
+
], sm = {
|
|
8407
8415
|
key: 2,
|
|
8408
8416
|
class: "g-textarea-char-count",
|
|
8409
8417
|
"aria-live": "polite"
|
|
8410
|
-
},
|
|
8418
|
+
}, cm = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8411
8419
|
inheritAttrs: !1,
|
|
8412
8420
|
__name: "GTextarea",
|
|
8413
8421
|
props: /* @__PURE__ */ H({
|
|
@@ -8504,12 +8512,12 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8504
8512
|
key: 0,
|
|
8505
8513
|
for: c.value,
|
|
8506
8514
|
class: "g-textarea-label"
|
|
8507
|
-
}, [X(A(n.label), 1), n.required ? (G(), K("span",
|
|
8515
|
+
}, [X(A(n.label), 1), n.required ? (G(), K("span", im, " *")) : Z("", !0)], 8, rm)) : Z("", !0),
|
|
8508
8516
|
t.$slots.instructions || e.instructions ? (G(), K("div", {
|
|
8509
8517
|
key: 1,
|
|
8510
8518
|
id: "instructions-" + P(i),
|
|
8511
8519
|
class: "g-textarea-instructions"
|
|
8512
|
-
}, [V(t.$slots, "instructions", {}, () => [X(A(e.instructions), 1)])], 8,
|
|
8520
|
+
}, [V(t.$slots, "instructions", {}, () => [X(A(e.instructions), 1)])], 8, am)) : Z("", !0),
|
|
8513
8521
|
J("textarea", Va({
|
|
8514
8522
|
ref: "textareaEl",
|
|
8515
8523
|
value: r.value ?? "",
|
|
@@ -8530,36 +8538,36 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8530
8538
|
onInput: h,
|
|
8531
8539
|
onBlur: g,
|
|
8532
8540
|
onPaste: _
|
|
8533
|
-
}), null, 16,
|
|
8534
|
-
n.maxlength === void 0 ? Z("", !0) : (G(), K("div",
|
|
8541
|
+
}), null, 16, om),
|
|
8542
|
+
n.maxlength === void 0 ? Z("", !0) : (G(), K("div", sm, A((r.value ?? "").length) + " / " + A(n.maxlength), 1)),
|
|
8535
8543
|
Y(Su, {
|
|
8536
8544
|
errors: P(l),
|
|
8537
8545
|
id: "error-message-" + P(i)
|
|
8538
8546
|
}, null, 8, ["errors", "id"])
|
|
8539
8547
|
], 2));
|
|
8540
8548
|
}
|
|
8541
|
-
}), [["styles", [""]]]),
|
|
8549
|
+
}), [["styles", [""]]]), lm = { class: "g-three-way-toggle-wrapper" }, um = { class: "g-three-way-toggle-control" }, dm = ["id"], fm = [
|
|
8542
8550
|
"aria-labelledby",
|
|
8543
8551
|
"aria-describedby",
|
|
8544
8552
|
"disabled",
|
|
8545
8553
|
"aria-invalid",
|
|
8546
8554
|
"aria-errormessage"
|
|
8547
|
-
],
|
|
8555
|
+
], pm = { key: 0 }, mm = { key: 1 }, hm = { key: 2 }, gm = ["for"], _m = [
|
|
8548
8556
|
"id",
|
|
8549
8557
|
"name",
|
|
8550
8558
|
"checked",
|
|
8551
8559
|
"disabled"
|
|
8552
|
-
],
|
|
8560
|
+
], vm = ["for"], ym = [
|
|
8553
8561
|
"id",
|
|
8554
8562
|
"name",
|
|
8555
8563
|
"checked",
|
|
8556
8564
|
"disabled"
|
|
8557
|
-
],
|
|
8565
|
+
], bm = ["for"], xm = [
|
|
8558
8566
|
"id",
|
|
8559
8567
|
"name",
|
|
8560
8568
|
"checked",
|
|
8561
8569
|
"disabled"
|
|
8562
|
-
],
|
|
8570
|
+
], Sm = ["id"], Cm = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8563
8571
|
__name: "GThreeWayToggle",
|
|
8564
8572
|
props: /* @__PURE__ */ H({
|
|
8565
8573
|
label: { type: String },
|
|
@@ -8593,10 +8601,10 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8593
8601
|
function m(e) {
|
|
8594
8602
|
n.disabled || (e.key === "n" || e.key === "N" ? (a(!1), e.preventDefault()) : (e.key === "y" || e.key === "Y") && (a(!0), e.preventDefault()));
|
|
8595
8603
|
}
|
|
8596
|
-
return (t, n) => (G(), K("div",
|
|
8604
|
+
return (t, n) => (G(), K("div", lm, [J("div", um, [J("span", {
|
|
8597
8605
|
class: "g-label",
|
|
8598
8606
|
id: P(c)
|
|
8599
|
-
}, [V(t.$slots, "label", {}, () => [X(A(e.label), 1)])], 8,
|
|
8607
|
+
}, [V(t.$slots, "label", {}, () => [X(A(e.label), 1)])], 8, dm), J("fieldset", {
|
|
8600
8608
|
class: k(["g-three-way-toggle", { "g-has-error": e.error }]),
|
|
8601
8609
|
role: "radiogroup",
|
|
8602
8610
|
"aria-labelledby": P(c),
|
|
@@ -8608,7 +8616,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8608
8616
|
J("span", {
|
|
8609
8617
|
class: k(["g-toggle-thumb", p.value]),
|
|
8610
8618
|
"aria-hidden": "true"
|
|
8611
|
-
}, [r.value === !1 ? (G(), K("span",
|
|
8619
|
+
}, [r.value === !1 ? (G(), K("span", pm, "NO")) : r.value === !0 ? (G(), K("span", mm, "YES")) : (G(), K("span", hm))], 2),
|
|
8612
8620
|
J("label", {
|
|
8613
8621
|
for: P(u),
|
|
8614
8622
|
class: "g-toggle-option g-left",
|
|
@@ -8622,7 +8630,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8622
8630
|
value: "false",
|
|
8623
8631
|
disabled: e.disabled,
|
|
8624
8632
|
onChange: n[0] ||= (e) => o(!1)
|
|
8625
|
-
}, null, 40,
|
|
8633
|
+
}, null, 40, _m), n[5] ||= J("span", { class: "ilw-sr-only" }, "No", -1)], 40, gm),
|
|
8626
8634
|
J("label", {
|
|
8627
8635
|
for: P(d),
|
|
8628
8636
|
class: "g-toggle-option g-center",
|
|
@@ -8634,7 +8642,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8634
8642
|
checked: r.value === null,
|
|
8635
8643
|
disabled: e.disabled,
|
|
8636
8644
|
onChange: n[2] ||= (e) => o(null)
|
|
8637
|
-
}, null, 40,
|
|
8645
|
+
}, null, 40, ym), n[6] ||= J("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, vm),
|
|
8638
8646
|
J("label", {
|
|
8639
8647
|
for: P(f),
|
|
8640
8648
|
class: "g-toggle-option g-right",
|
|
@@ -8648,19 +8656,22 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8648
8656
|
checked: r.value === !0,
|
|
8649
8657
|
disabled: e.disabled,
|
|
8650
8658
|
onChange: n[3] ||= (e) => o(!0)
|
|
8651
|
-
}, null, 40,
|
|
8652
|
-
], 2)], 10,
|
|
8659
|
+
}, null, 40, xm), n[7] ||= J("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, bm)
|
|
8660
|
+
], 2)], 10, fm)]), e.error ? (G(), K("div", {
|
|
8653
8661
|
key: 0,
|
|
8654
8662
|
id: `${P(c)}-error`,
|
|
8655
8663
|
class: "g-form-error",
|
|
8656
8664
|
role: "alert",
|
|
8657
8665
|
"aria-atomic": "true"
|
|
8658
|
-
}, A(e.error), 9,
|
|
8666
|
+
}, A(e.error), 9, Sm)) : Z("", !0)]));
|
|
8659
8667
|
}
|
|
8660
|
-
}), [["styles", [""]]]),
|
|
8668
|
+
}), [["styles", [""]]]), wm = { class: "g-tree-menu__divider" }, Tm = {
|
|
8661
8669
|
key: 0,
|
|
8670
|
+
class: "g-tree-menu__divider-line"
|
|
8671
|
+
}, Em = {
|
|
8672
|
+
key: 1,
|
|
8662
8673
|
class: "g-tree-menu__expand-all-wrapper"
|
|
8663
|
-
},
|
|
8674
|
+
}, Dm = { class: "g-tree-menu__content" }, Om = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8664
8675
|
__name: "GTreeMenu",
|
|
8665
8676
|
props: {
|
|
8666
8677
|
heading: { type: String },
|
|
@@ -8676,6 +8687,14 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8676
8687
|
showExpandAll: {
|
|
8677
8688
|
type: Boolean,
|
|
8678
8689
|
default: !1
|
|
8690
|
+
},
|
|
8691
|
+
headingLevel: {
|
|
8692
|
+
default: "h2",
|
|
8693
|
+
type: String
|
|
8694
|
+
},
|
|
8695
|
+
smallHeading: {
|
|
8696
|
+
type: Boolean,
|
|
8697
|
+
default: !1
|
|
8679
8698
|
}
|
|
8680
8699
|
},
|
|
8681
8700
|
setup(e) {
|
|
@@ -8806,17 +8825,20 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8806
8825
|
}
|
|
8807
8826
|
return (r, i) => (G(), K("nav", Va({
|
|
8808
8827
|
ref: "nav-el",
|
|
8809
|
-
class: ["g-tree-menu", `g-tree-menu--${t.theme}
|
|
8828
|
+
class: ["g-tree-menu", [`g-tree-menu--${t.theme}`, { "g-tree-menu--small-heading": e.smallHeading }]]
|
|
8810
8829
|
}, {
|
|
8811
8830
|
"aria-labelledby": e.heading ? P(n) : void 0,
|
|
8812
8831
|
"aria-label": e.heading ? void 0 : "Tree Menu"
|
|
8813
8832
|
}, { onKeydown: b }), [
|
|
8814
|
-
e.heading ? (G(),
|
|
8833
|
+
e.heading ? (G(), q(ni(e.headingLevel), {
|
|
8815
8834
|
key: 0,
|
|
8816
8835
|
id: P(n),
|
|
8817
8836
|
class: "g-tree-menu__title"
|
|
8818
|
-
},
|
|
8819
|
-
|
|
8837
|
+
}, {
|
|
8838
|
+
default: I(() => [X(A(e.heading), 1)]),
|
|
8839
|
+
_: 1
|
|
8840
|
+
}, 8, ["id"])) : Z("", !0),
|
|
8841
|
+
J("div", wm, [e.smallHeading ? Z("", !0) : (G(), K("div", Tm)), e.showExpandAll ? (G(), K("div", Em, [J("button", {
|
|
8820
8842
|
class: "g-tree-menu__expand-all-btn",
|
|
8821
8843
|
onClick: _
|
|
8822
8844
|
}, [(G(), K("svg", {
|
|
@@ -8829,10 +8851,10 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8829
8851
|
"stroke-linecap": "round",
|
|
8830
8852
|
"stroke-linejoin": "round"
|
|
8831
8853
|
}, [...i[0] ||= [J("polyline", { points: "7 8 12 13 17 8" }, null, -1), J("polyline", { points: "7 13 12 18 17 13" }, null, -1)]], 2)), X(" " + A(g.value ? "Collapse all" : "Expand all"), 1)])])) : Z("", !0)]),
|
|
8832
|
-
J("div",
|
|
8854
|
+
J("div", Dm, [V(r.$slots, "default")])
|
|
8833
8855
|
], 16));
|
|
8834
8856
|
}
|
|
8835
|
-
}), [["styles", [""]]]),
|
|
8857
|
+
}), [["styles", [""]]]), km = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8836
8858
|
name: "GTreeMenuList",
|
|
8837
8859
|
props: { listType: {
|
|
8838
8860
|
default: void 0,
|
|
@@ -8852,16 +8874,16 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8852
8874
|
_: 3
|
|
8853
8875
|
}, 8, ["role"]));
|
|
8854
8876
|
}
|
|
8855
|
-
}), [["styles", [""]]]),
|
|
8877
|
+
}), [["styles", [""]]]), Am = {
|
|
8856
8878
|
key: 0,
|
|
8857
8879
|
class: "g-tree-menu__row"
|
|
8858
|
-
},
|
|
8880
|
+
}, jm = { class: "g-tree-menu__row-content-text" }, Mm = {
|
|
8859
8881
|
key: 1,
|
|
8860
8882
|
class: "g-tree-menu__row g-tree-menu__row--leaf"
|
|
8861
|
-
},
|
|
8883
|
+
}, Nm = {
|
|
8862
8884
|
class: "g-tree-menu__row-content",
|
|
8863
8885
|
"data-tree-primary": ""
|
|
8864
|
-
},
|
|
8886
|
+
}, Pm = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8865
8887
|
name: "GTreeMenuItem",
|
|
8866
8888
|
inheritAttrs: !1,
|
|
8867
8889
|
props: {
|
|
@@ -8933,7 +8955,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8933
8955
|
class: "g-tree-menu__item",
|
|
8934
8956
|
"data-tree-expandable": c.value ? "true" : void 0
|
|
8935
8957
|
}), {
|
|
8936
|
-
default: I(() => [c.value ? (G(), K("div",
|
|
8958
|
+
default: I(() => [c.value ? (G(), K("div", Am, [J("div", {
|
|
8937
8959
|
class: "g-tree-menu__toggle-btn",
|
|
8938
8960
|
onClick: m
|
|
8939
8961
|
}, [(G(), K("svg", {
|
|
@@ -8952,7 +8974,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8952
8974
|
"data-tree-primary": "",
|
|
8953
8975
|
onClick: x,
|
|
8954
8976
|
onKeydown: S
|
|
8955
|
-
}, [J("span",
|
|
8977
|
+
}, [J("span", jm, [V(e.$slots, "default")])], 544)])) : (G(), K("div", Mm, [t[1] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), J("span", Nm, [V(e.$slots, "default")])])), c.value && d.value ? (G(), q(km, {
|
|
8956
8978
|
key: 2,
|
|
8957
8979
|
id: P(o) + "-children"
|
|
8958
8980
|
}, {
|
|
@@ -8962,11 +8984,11 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8962
8984
|
_: 3
|
|
8963
8985
|
}, 16, ["role", "data-tree-expandable"]));
|
|
8964
8986
|
}
|
|
8965
|
-
}), [["styles", [""]]]),
|
|
8987
|
+
}), [["styles", [""]]]), Fm = { class: "g-user-menu" }, Im = [
|
|
8966
8988
|
"aria-label",
|
|
8967
8989
|
"aria-expanded",
|
|
8968
8990
|
"onClick"
|
|
8969
|
-
],
|
|
8991
|
+
], Lm = { class: "g-user-menu__popover" }, Rm = { class: "g-user-menu__list" }, zm = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8970
8992
|
__name: "GUserMenu",
|
|
8971
8993
|
props: {
|
|
8972
8994
|
initials: { type: String },
|
|
@@ -8984,7 +9006,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8984
9006
|
let t = `${z()}-email`, n = /* @__PURE__ */ N(!1), r = jr("emailHeading");
|
|
8985
9007
|
qa()?.appContext?.components?.RouterLink;
|
|
8986
9008
|
let i = ui();
|
|
8987
|
-
return (a, o) => (G(), K("div",
|
|
9009
|
+
return (a, o) => (G(), K("div", Fm, [Y(of, {
|
|
8988
9010
|
modelValue: n.value,
|
|
8989
9011
|
"onUpdate:modelValue": o[0] ||= (e) => n.value = e,
|
|
8990
9012
|
minimal: ""
|
|
@@ -8996,8 +9018,8 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
8996
9018
|
"aria-expanded": n.value,
|
|
8997
9019
|
"aria-haspopup": "menu",
|
|
8998
9020
|
onClick: t
|
|
8999
|
-
}, A(e.initials), 13,
|
|
9000
|
-
default: I(() => [J("div",
|
|
9021
|
+
}, A(e.initials), 13, Im)]),
|
|
9022
|
+
default: I(() => [J("div", Lm, [J("h2", {
|
|
9001
9023
|
id: t,
|
|
9002
9024
|
ref_key: "emailHeading",
|
|
9003
9025
|
ref: r,
|
|
@@ -9006,19 +9028,19 @@ var up = { class: "g-table-outer-wrap" }, dp = {
|
|
|
9006
9028
|
}, A(e.email), 513), J("nav", {
|
|
9007
9029
|
class: "g-user-menu__nav",
|
|
9008
9030
|
"aria-labelledby": t
|
|
9009
|
-
}, [J("ul",
|
|
9031
|
+
}, [J("ul", Rm, [(G(!0), K(W, null, B(i.default(), (e, t) => (G(), K("li", { key: t }, [(G(), q(ni(e)))]))), 128))])])])]),
|
|
9010
9032
|
_: 1
|
|
9011
9033
|
}, 8, ["modelValue"])]));
|
|
9012
9034
|
}
|
|
9013
|
-
}), [["styles", [""]]]),
|
|
9014
|
-
|
|
9015
|
-
var
|
|
9035
|
+
}), [["styles", [""]]]), Bm = globalThis;
|
|
9036
|
+
Bm.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ = !0;
|
|
9037
|
+
var Vm = {
|
|
9016
9038
|
shadowRoot: !1,
|
|
9017
9039
|
configureApp(e) {
|
|
9018
|
-
let t = (
|
|
9019
|
-
|
|
9040
|
+
let t = (Bm.__GRAD_VUE_WC_APP_ID__ ?? 0) + 1;
|
|
9041
|
+
Bm.__GRAD_VUE_WC_APP_ID__ = t, e.config.idPrefix = `g-wc-${t}-`;
|
|
9020
9042
|
}
|
|
9021
|
-
},
|
|
9043
|
+
}, Hm = [
|
|
9022
9044
|
["g-alert-dialog", lu],
|
|
9023
9045
|
["g-app-header", gu],
|
|
9024
9046
|
["g-button", ru],
|
|
@@ -9032,35 +9054,35 @@ var Bm = {
|
|
|
9032
9054
|
["g-email-input", fd],
|
|
9033
9055
|
["g-file-input", yd],
|
|
9034
9056
|
["g-form", xd],
|
|
9035
|
-
["g-hamburger-menu",
|
|
9036
|
-
["g-history-scroller",
|
|
9037
|
-
["g-modal",
|
|
9038
|
-
["g-multi-select",
|
|
9039
|
-
["g-overlay",
|
|
9040
|
-
["g-popover",
|
|
9041
|
-
["g-tooltip",
|
|
9042
|
-
["g-progress",
|
|
9043
|
-
["g-search",
|
|
9044
|
-
["g-select",
|
|
9045
|
-
["g-select-button",
|
|
9046
|
-
["g-sidebar",
|
|
9047
|
-
["g-sidebar-menu",
|
|
9048
|
-
["g-submit-button",
|
|
9049
|
-
["g-table",
|
|
9050
|
-
["g-table-body",
|
|
9051
|
-
["g-table-pagination",
|
|
9052
|
-
["g-term-selector",
|
|
9053
|
-
["g-term-selector-control",
|
|
9057
|
+
["g-hamburger-menu", Dd],
|
|
9058
|
+
["g-history-scroller", Md],
|
|
9059
|
+
["g-modal", Rd],
|
|
9060
|
+
["g-multi-select", $d],
|
|
9061
|
+
["g-overlay", tf],
|
|
9062
|
+
["g-popover", of],
|
|
9063
|
+
["g-tooltip", sf],
|
|
9064
|
+
["g-progress", ff],
|
|
9065
|
+
["g-search", Sf],
|
|
9066
|
+
["g-select", Mf],
|
|
9067
|
+
["g-select-button", zf],
|
|
9068
|
+
["g-sidebar", Vf],
|
|
9069
|
+
["g-sidebar-menu", Gf],
|
|
9070
|
+
["g-submit-button", Kf],
|
|
9071
|
+
["g-table", zp],
|
|
9072
|
+
["g-table-body", sp],
|
|
9073
|
+
["g-table-pagination", Jp],
|
|
9074
|
+
["g-term-selector", nm],
|
|
9075
|
+
["g-term-selector-control", Qp],
|
|
9054
9076
|
["g-text-input", Zu],
|
|
9055
|
-
["g-textarea",
|
|
9056
|
-
["g-three-way-toggle",
|
|
9057
|
-
["g-tree-menu",
|
|
9058
|
-
["g-tree-menu-list",
|
|
9059
|
-
["g-tree-menu-item",
|
|
9060
|
-
["g-user-menu",
|
|
9077
|
+
["g-textarea", cm],
|
|
9078
|
+
["g-three-way-toggle", Cm],
|
|
9079
|
+
["g-tree-menu", Om],
|
|
9080
|
+
["g-tree-menu-list", km],
|
|
9081
|
+
["g-tree-menu-item", Pm],
|
|
9082
|
+
["g-user-menu", zm]
|
|
9061
9083
|
];
|
|
9062
|
-
for (let [e, t] of
|
|
9063
|
-
let n = /* @__PURE__ */ ys(t,
|
|
9084
|
+
for (let [e, t] of Hm) {
|
|
9085
|
+
let n = /* @__PURE__ */ ys(t, Vm);
|
|
9064
9086
|
customElements.define(e, n);
|
|
9065
9087
|
}
|
|
9066
9088
|
//#endregion
|