@illinois-grad/grad-vue 5.0.2 → 5.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/GTable.vue.d.ts +1 -0
- package/dist/grad-vue-elements.css +28 -28
- package/dist/grad-vue-elements.js +98 -98
- package/dist/grad-vue-elements.js.map +1 -1
- package/dist/{grad-vue-qPzpBTuo.js → grad-vue-gzhk6_Ck.js} +100 -100
- package/dist/{grad-vue-qPzpBTuo.js.map → grad-vue-gzhk6_Ck.js.map} +1 -1
- package/dist/grad-vue.js +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +1 -1
|
@@ -3177,40 +3177,40 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3177
3177
|
}, Ri = { class: "g-clear-filters-wrap" }, zi = {
|
|
3178
3178
|
key: 0,
|
|
3179
3179
|
class: "pagination"
|
|
3180
|
-
}, Bi = { class: "g-result-count" },
|
|
3180
|
+
}, Bi = { class: "g-table-controls-right" }, Vi = { class: "g-result-count" }, Hi = ["aria-label", "aria-rowcount"], Ui = { key: 0 }, Wi = ["data-column-key"], Gi = { class: "g-table-head" }, Ki = { "aria-rowindex": "1" }, qi = {
|
|
3181
3181
|
key: 0,
|
|
3182
3182
|
scope: "col",
|
|
3183
3183
|
class: "g-th g-th-checkbox"
|
|
3184
|
-
},
|
|
3184
|
+
}, Ji = [
|
|
3185
3185
|
"checked",
|
|
3186
3186
|
"indeterminate",
|
|
3187
3187
|
"aria-label"
|
|
3188
|
-
],
|
|
3188
|
+
], Yi = ["id", "aria-sort"], Xi = { class: "th-inner" }, Zi = ["onClick"], Qi = {
|
|
3189
3189
|
key: 0,
|
|
3190
3190
|
class: "sort-indicator",
|
|
3191
3191
|
"aria-hidden": "true"
|
|
3192
|
-
},
|
|
3192
|
+
}, $i = {
|
|
3193
3193
|
key: 1,
|
|
3194
3194
|
class: "g-visually-hidden"
|
|
3195
|
-
},
|
|
3195
|
+
}, ea = {
|
|
3196
3196
|
key: 1,
|
|
3197
3197
|
class: "g-column-head"
|
|
3198
|
-
},
|
|
3198
|
+
}, ta = ["onClick", "aria-label"], na = {
|
|
3199
3199
|
key: 1,
|
|
3200
3200
|
class: "g-filter-search",
|
|
3201
3201
|
role: "search"
|
|
3202
|
-
},
|
|
3202
|
+
}, ra = [
|
|
3203
3203
|
"onUpdate:modelValue",
|
|
3204
3204
|
"placeholder",
|
|
3205
3205
|
"aria-label"
|
|
3206
|
-
],
|
|
3206
|
+
], ia = { key: 2 }, aa = { class: "g-filter-toggle" }, oa = [
|
|
3207
3207
|
"onUpdate:modelValue",
|
|
3208
3208
|
"id",
|
|
3209
3209
|
"aria-describedby"
|
|
3210
|
-
],
|
|
3210
|
+
], sa = ["for"], ca = ["id"], la = {
|
|
3211
3211
|
key: 4,
|
|
3212
3212
|
class: "g-multi-select"
|
|
3213
|
-
},
|
|
3213
|
+
}, ua = [
|
|
3214
3214
|
"data-column-key",
|
|
3215
3215
|
"aria-label",
|
|
3216
3216
|
"aria-valuemax",
|
|
@@ -3218,10 +3218,10 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3218
3218
|
"aria-valuetext",
|
|
3219
3219
|
"onKeydown",
|
|
3220
3220
|
"onPointerdown"
|
|
3221
|
-
],
|
|
3221
|
+
], da = {
|
|
3222
3222
|
key: 1,
|
|
3223
3223
|
class: "g-bulk-actions-toolbar"
|
|
3224
|
-
},
|
|
3224
|
+
}, fa = { class: "g-selected-count" }, pa = { class: "g-bulk-actions" }, ma = /* @__PURE__ */ u({
|
|
3225
3225
|
__name: "GTable",
|
|
3226
3226
|
props: /*@__PURE__*/ m({
|
|
3227
3227
|
label: {},
|
|
@@ -3484,7 +3484,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3484
3484
|
let Ge = r(() => {
|
|
3485
3485
|
let e = oe?.vnode.props ?? {};
|
|
3486
3486
|
return "columnState" in e || "column-state" in e || "onUpdate:columnState" in e;
|
|
3487
|
-
}), Ke = r(() => h.columns.filter((e) => ke(e.key).visible !== !1)), qe = V(), Je = r(() => Ke.value.length !== h.columns.length), Ye = r(() => Ge.value && h.columns.length > 0), Xe = r(() => !!qe.controls), Ze = r(() => h.resultCount ?? h.data.length);
|
|
3487
|
+
}), Ke = r(() => h.columns.filter((e) => ke(e.key).visible !== !1)), qe = V(), Je = r(() => Ke.value.length !== h.columns.length), Ye = r(() => Ge.value && h.columns.length > 0), Xe = r(() => !!qe.controls || !!qe["right-controls"]), Ze = r(() => h.resultCount ?? h.data.length);
|
|
3488
3488
|
function Qe(e) {
|
|
3489
3489
|
return ke(e.key).visible !== !1;
|
|
3490
3490
|
}
|
|
@@ -3685,7 +3685,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3685
3685
|
"page-sizes",
|
|
3686
3686
|
"total"
|
|
3687
3687
|
])])) : a("", !0),
|
|
3688
|
-
s("
|
|
3688
|
+
s("div", Bi, [s("span", Vi, N(Ze.value) + " results", 1), k(n.$slots, "right-controls")])
|
|
3689
3689
|
])) : a("", !0),
|
|
3690
3690
|
s("div", {
|
|
3691
3691
|
ref_key: "tableWrapRef",
|
|
@@ -3699,19 +3699,19 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3699
3699
|
"aria-label": t.label,
|
|
3700
3700
|
"aria-rowcount": Ze.value
|
|
3701
3701
|
}, [
|
|
3702
|
-
s("colgroup", null, [t.bulkSelectionEnabled ? (w(), o("col",
|
|
3702
|
+
s("colgroup", null, [t.bulkSelectionEnabled ? (w(), o("col", Ui)) : a("", !0), (w(!0), o(e, null, O(Ke.value, (e) => (w(), o("col", {
|
|
3703
3703
|
key: e.key,
|
|
3704
3704
|
"data-column-key": String(e.key),
|
|
3705
3705
|
style: y(He(e))
|
|
3706
|
-
}, null, 12,
|
|
3707
|
-
s("thead",
|
|
3706
|
+
}, null, 12, Wi))), 128))]),
|
|
3707
|
+
s("thead", Gi, [s("tr", Ki, [t.bulkSelectionEnabled ? (w(), o("th", qi, [s("input", {
|
|
3708
3708
|
type: "checkbox",
|
|
3709
3709
|
checked: F.value,
|
|
3710
3710
|
indeterminate: I.value,
|
|
3711
3711
|
onChange: H,
|
|
3712
3712
|
"aria-label": F.value ? "Deselect all rows" : "Select all rows",
|
|
3713
3713
|
class: "g-bulk-select-checkbox"
|
|
3714
|
-
}, null, 40,
|
|
3714
|
+
}, null, 40, Ji)])) : a("", !0), (w(!0), o(e, null, O(Ke.value, (e) => (w(), o("th", {
|
|
3715
3715
|
key: e.key,
|
|
3716
3716
|
id: `${L(J)}-th-${String(e.key)}`,
|
|
3717
3717
|
"aria-sort": ye(e.key),
|
|
@@ -3722,14 +3722,14 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3722
3722
|
{ filtered: L(T)[e.key] }
|
|
3723
3723
|
]),
|
|
3724
3724
|
scope: "col"
|
|
3725
|
-
}, [s("div",
|
|
3725
|
+
}, [s("div", Xi, [e.sortable ? (w(), o("button", {
|
|
3726
3726
|
key: 0,
|
|
3727
3727
|
type: "button",
|
|
3728
3728
|
class: "g-column-head",
|
|
3729
3729
|
onClick: (t) => we(e, t.shiftKey)
|
|
3730
3730
|
}, [
|
|
3731
3731
|
c(N(e.label) + " ", 1),
|
|
3732
|
-
ge(e.key) === -1 ? a("", !0) : (w(), o("span",
|
|
3732
|
+
ge(e.key) === -1 ? a("", !0) : (w(), o("span", Qi, [(w(), o("svg", {
|
|
3733
3733
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3734
3734
|
viewBox: "0 0 640 640",
|
|
3735
3735
|
height: "1.5em",
|
|
@@ -3738,8 +3738,8 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3738
3738
|
fill: "currentColor",
|
|
3739
3739
|
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"
|
|
3740
3740
|
}, null, -1)]], 4))])),
|
|
3741
|
-
ge(e.key) === -1 ? a("", !0) : (w(), o("span",
|
|
3742
|
-
], 8,
|
|
3741
|
+
ge(e.key) === -1 ? a("", !0) : (w(), o("span", $i, N(be(e.key)), 1))
|
|
3742
|
+
], 8, Zi)) : (w(), o("span", ea, N(e.label), 1)), e.filter ? (w(), i(ot, { key: 2 }, {
|
|
3743
3743
|
trigger: G(({ toggle: t }) => [s("button", {
|
|
3744
3744
|
onClick: K(t, ["stop"]),
|
|
3745
3745
|
"aria-label": L(T)[e.key] ? "Column Filtered" : "Filter Column",
|
|
@@ -3753,7 +3753,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3753
3753
|
}, [s("path", {
|
|
3754
3754
|
fill: "currentColor",
|
|
3755
3755
|
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"
|
|
3756
|
-
})], -1)]], 10,
|
|
3756
|
+
})], -1)]], 10, ta)]),
|
|
3757
3757
|
default: G(() => [e.filter.type === "select" ? (w(), i(Kt, {
|
|
3758
3758
|
key: 0,
|
|
3759
3759
|
modelValue: f.value[e.key],
|
|
@@ -3769,7 +3769,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3769
3769
|
"onUpdate:modelValue",
|
|
3770
3770
|
"options",
|
|
3771
3771
|
"search-description"
|
|
3772
|
-
])) : e.filter.type === "search" ? (w(), o("div",
|
|
3772
|
+
])) : e.filter.type === "search" ? (w(), o("div", na, [r[15] ||= s("span", {
|
|
3773
3773
|
class: "g-filter-search-icon",
|
|
3774
3774
|
"aria-hidden": "true"
|
|
3775
3775
|
}, [s("svg", {
|
|
@@ -3785,19 +3785,19 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3785
3785
|
"onUpdate:modelValue": (t) => f.value[e.key] = t,
|
|
3786
3786
|
placeholder: e.filter.placeholder,
|
|
3787
3787
|
"aria-label": `Search ${e.label}`
|
|
3788
|
-
}, null, 8,
|
|
3788
|
+
}, null, 8, ra), [[ee, f.value[e.key]]])])) : e.filter.type === "toggle" ? (w(), o("div", ia, [s("div", aa, [
|
|
3789
3789
|
re(s("input", {
|
|
3790
3790
|
type: "checkbox",
|
|
3791
3791
|
"onUpdate:modelValue": (t) => f.value[e.key] = t,
|
|
3792
3792
|
id: `${L(J)}-filter-${String(e.key)}`,
|
|
3793
3793
|
"aria-describedby": e.filter.description ? `${L(J)}-filter-description-${String(e.key)}` : void 0
|
|
3794
|
-
}, null, 8,
|
|
3795
|
-
s("label", { for: `${L(J)}-filter-${String(e.key)}` }, N(e.filter.label), 9,
|
|
3794
|
+
}, null, 8, oa), [[U, f.value[e.key]]]),
|
|
3795
|
+
s("label", { for: `${L(J)}-filter-${String(e.key)}` }, N(e.filter.label), 9, sa),
|
|
3796
3796
|
e.filter.description ? (w(), o("span", {
|
|
3797
3797
|
key: 0,
|
|
3798
3798
|
class: "g-filter-description",
|
|
3799
3799
|
id: `${L(J)}-filter-description-${String(e.key)}`
|
|
3800
|
-
}, N(e.filter.description), 9,
|
|
3800
|
+
}, N(e.filter.description), 9, ca)) : a("", !0)
|
|
3801
3801
|
])])) : e.filter.type === "multi-select" && e.filter.searchable ? (w(), i(br, {
|
|
3802
3802
|
key: 3,
|
|
3803
3803
|
modelValue: f.value[e.key],
|
|
@@ -3813,7 +3813,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3813
3813
|
"options",
|
|
3814
3814
|
"placeholder",
|
|
3815
3815
|
"search-description"
|
|
3816
|
-
])) : e.filter.type === "multi-select" ? (w(), o("div",
|
|
3816
|
+
])) : e.filter.type === "multi-select" ? (w(), o("div", la, [l(jr, {
|
|
3817
3817
|
modelValue: f.value[e.key],
|
|
3818
3818
|
"onUpdate:modelValue": (t) => f.value[e.key] = t,
|
|
3819
3819
|
options: rt(e),
|
|
@@ -3849,7 +3849,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3849
3849
|
onClick: r[0] ||= K(() => {}, ["stop", "prevent"]),
|
|
3850
3850
|
onKeydown: (t) => Ve(t, e.key),
|
|
3851
3851
|
onPointerdown: (t) => Be(t, e.key)
|
|
3852
|
-
}, null, 42,
|
|
3852
|
+
}, null, 42, ua)) : a("", !0)], 10, Yi))), 128))])]),
|
|
3853
3853
|
l(ir, {
|
|
3854
3854
|
data: t.data,
|
|
3855
3855
|
columns: Ke.value,
|
|
@@ -3878,8 +3878,8 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3878
3878
|
"table-id",
|
|
3879
3879
|
"change-tracker"
|
|
3880
3880
|
])
|
|
3881
|
-
], 10,
|
|
3882
|
-
t.bulkSelectionEnabled && m.value.length > 0 ? (w(), o("div",
|
|
3881
|
+
], 10, Hi)], 512),
|
|
3882
|
+
t.bulkSelectionEnabled && m.value.length > 0 ? (w(), o("div", da, [s("span", fa, N(m.value.length) + " row" + N(m.value.length === 1 ? "" : "s") + " selected", 1), s("ul", pa, [(w(!0), o(e, null, O(t.bulkActions, (e) => (w(), o("li", { key: e.id }, [l(Q, {
|
|
3883
3883
|
theme: e.theme || "accent",
|
|
3884
3884
|
onClick: (t) => ne(e.id),
|
|
3885
3885
|
size: "small"
|
|
@@ -3889,7 +3889,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3889
3889
|
}, 1032, ["theme", "onClick"])]))), 128))])])) : a("", !0)
|
|
3890
3890
|
]));
|
|
3891
3891
|
}
|
|
3892
|
-
}),
|
|
3892
|
+
}), ha = ["id"], ga = { class: "g-modal-inner" }, _a = { class: "g-modal-header" }, va = ["id"], ya = ["id"], ba = /* @__PURE__ */ u({
|
|
3893
3893
|
__name: "GModal",
|
|
3894
3894
|
props: {
|
|
3895
3895
|
label: {},
|
|
@@ -3933,12 +3933,12 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3933
3933
|
ref_key: "dialog",
|
|
3934
3934
|
ref: f,
|
|
3935
3935
|
style: { zIndex: L(y) }
|
|
3936
|
-
}), [s("div",
|
|
3936
|
+
}), [s("div", ga, [s("div", _a, [e.hiddenLabel ? a("", !0) : (w(), o("h2", {
|
|
3937
3937
|
key: 0,
|
|
3938
3938
|
id: "modal-label-" + L(m),
|
|
3939
3939
|
class: "g-modal-label",
|
|
3940
3940
|
tabindex: "-1"
|
|
3941
|
-
}, N(e.label), 9,
|
|
3941
|
+
}, N(e.label), 9, va)), s("button", {
|
|
3942
3942
|
class: "g-modal-close",
|
|
3943
3943
|
onClick: T,
|
|
3944
3944
|
"aria-label": "Close"
|
|
@@ -3953,19 +3953,19 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
3953
3953
|
})], -1)]])]), s("div", {
|
|
3954
3954
|
id: "modal-description-" + L(m),
|
|
3955
3955
|
class: "g-modal-content"
|
|
3956
|
-
}, [k(r.$slots, "default")], 8,
|
|
3956
|
+
}, [k(r.$slots, "default")], 8, ya)])], 16, ha)]),
|
|
3957
3957
|
_: 3
|
|
3958
3958
|
})]));
|
|
3959
3959
|
}
|
|
3960
|
-
}),
|
|
3960
|
+
}), xa = [
|
|
3961
3961
|
"id",
|
|
3962
3962
|
"aria-expanded",
|
|
3963
3963
|
"aria-label",
|
|
3964
3964
|
"aria-controls"
|
|
3965
|
-
],
|
|
3965
|
+
], Sa = {
|
|
3966
3966
|
key: 0,
|
|
3967
3967
|
class: "g-hamburger-label"
|
|
3968
|
-
},
|
|
3968
|
+
}, Ca = /* @__PURE__ */ u({
|
|
3969
3969
|
__name: "GHamburgerMenu",
|
|
3970
3970
|
props: {
|
|
3971
3971
|
label: { default: "Main Navigation" },
|
|
@@ -4001,34 +4001,34 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4001
4001
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4002
4002
|
viewBox: "0 0 51.26 51.26",
|
|
4003
4003
|
role: "none"
|
|
4004
|
-
}, [s("g", { fill: "currentColor" }, [s("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 ? (w(), o("span",
|
|
4004
|
+
}, [s("g", { fill: "currentColor" }, [s("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 ? (w(), o("span", Sa, N(e.label), 1)) : a("", !0)], 42, xa));
|
|
4005
4005
|
}
|
|
4006
|
-
}),
|
|
4006
|
+
}), wa = /* @__PURE__ */ u({
|
|
4007
4007
|
__name: "GDetailList",
|
|
4008
4008
|
props: { variant: { default: "grid" } },
|
|
4009
4009
|
setup(e) {
|
|
4010
4010
|
let t = e;
|
|
4011
4011
|
return (e, n) => (w(), o("dl", { class: _(["g-detail-list", `g-detail-list--${t.variant}`]) }, [k(e.$slots, "default")], 2));
|
|
4012
4012
|
}
|
|
4013
|
-
}),
|
|
4013
|
+
}), Ta = { class: "g-detail-list-item" }, Ea = { class: "g-detail-list-item__label" }, Da = { class: "g-detail-list-item__value" }, Oa = /* @__PURE__ */ u({
|
|
4014
4014
|
__name: "GDetailListItem",
|
|
4015
4015
|
props: { label: {} },
|
|
4016
4016
|
setup(e) {
|
|
4017
|
-
return (t, n) => (w(), o("div",
|
|
4017
|
+
return (t, n) => (w(), o("div", Ta, [s("dt", Ea, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])]), s("dd", Da, [k(t.$slots, "default")])]));
|
|
4018
4018
|
}
|
|
4019
|
-
}),
|
|
4019
|
+
}), ka = {
|
|
4020
4020
|
key: 0,
|
|
4021
4021
|
class: "g-scroll-lock-overlay"
|
|
4022
|
-
},
|
|
4022
|
+
}, Aa = /* @__PURE__ */ u({
|
|
4023
4023
|
__name: "GOverlay",
|
|
4024
4024
|
setup(e) {
|
|
4025
4025
|
let { hasScrollLock: t } = Je();
|
|
4026
4026
|
return (e, r) => (w(), i(n, { name: "g-fade" }, {
|
|
4027
|
-
default: G(() => [L(t) ? (w(), o("div",
|
|
4027
|
+
default: G(() => [L(t) ? (w(), o("div", ka)) : a("", !0)]),
|
|
4028
4028
|
_: 1
|
|
4029
4029
|
}));
|
|
4030
4030
|
}
|
|
4031
|
-
}),
|
|
4031
|
+
}), ja = { class: "popover-content" }, Ma = { class: "year-dropdown" }, Na = { class: "month-selector" }, Pa = /* @__PURE__ */ u({
|
|
4032
4032
|
__name: "GTermSelectorControl",
|
|
4033
4033
|
props: /*@__PURE__*/ m({
|
|
4034
4034
|
termYears: { default: () => ["2026"] },
|
|
@@ -4049,7 +4049,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4049
4049
|
emits: ["update:modelValue"],
|
|
4050
4050
|
setup(e) {
|
|
4051
4051
|
let t = B(e, "modelValue");
|
|
4052
|
-
return (n, r) => (w(), o("div",
|
|
4052
|
+
return (n, r) => (w(), o("div", ja, [s("div", Ma, [l(Kt, {
|
|
4053
4053
|
modelValue: t.value.year,
|
|
4054
4054
|
"onUpdate:modelValue": r[0] ||= (e) => t.value.year = e,
|
|
4055
4055
|
options: e.termYears,
|
|
@@ -4058,7 +4058,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4058
4058
|
"modelValue",
|
|
4059
4059
|
"options",
|
|
4060
4060
|
"label"
|
|
4061
|
-
])]), s("div",
|
|
4061
|
+
])]), s("div", Na, [l(xt, {
|
|
4062
4062
|
modelValue: t.value.name,
|
|
4063
4063
|
"onUpdate:modelValue": r[1] ||= (e) => t.value.name = e,
|
|
4064
4064
|
options: e.termNames,
|
|
@@ -4070,10 +4070,10 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4070
4070
|
"label"
|
|
4071
4071
|
])])]));
|
|
4072
4072
|
}
|
|
4073
|
-
}),
|
|
4073
|
+
}), Fa = { class: "g-term-selector" }, Ia = { class: "g-term-label" }, La = {
|
|
4074
4074
|
class: "g-popover-title",
|
|
4075
4075
|
tabindex: "-1"
|
|
4076
|
-
},
|
|
4076
|
+
}, Ra = /* @__PURE__ */ u({
|
|
4077
4077
|
__name: "GTermSelector",
|
|
4078
4078
|
props: /*@__PURE__*/ m({
|
|
4079
4079
|
heading: { default: "Period Selection" },
|
|
@@ -4095,7 +4095,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4095
4095
|
emits: ["update:modelValue"],
|
|
4096
4096
|
setup(e) {
|
|
4097
4097
|
let t = B(e, "modelValue");
|
|
4098
|
-
return (n, r) => (w(), o("div",
|
|
4098
|
+
return (n, r) => (w(), o("div", Fa, [l(ot, null, {
|
|
4099
4099
|
trigger: G(({ toggle: e }) => [l(Q, {
|
|
4100
4100
|
class: "g-term-selector-button",
|
|
4101
4101
|
theme: "none",
|
|
@@ -4108,7 +4108,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4108
4108
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4109
4109
|
viewBox: "0 0 640 640"
|
|
4110
4110
|
}, [s("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),
|
|
4111
|
-
s("span",
|
|
4111
|
+
s("span", Ia, N(t.value?.name) + " " + N(t.value?.year), 1),
|
|
4112
4112
|
r[1] ||= s("span", { class: "g-caret" }, [s("svg", {
|
|
4113
4113
|
role: "none",
|
|
4114
4114
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4117,15 +4117,15 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4117
4117
|
]),
|
|
4118
4118
|
_: 1
|
|
4119
4119
|
}, 8, ["onClick"])]),
|
|
4120
|
-
default: G(() => [s("h2",
|
|
4120
|
+
default: G(() => [s("h2", La, N(e.heading), 1), l(Pa, v(f(n.$props)), null, 16)]),
|
|
4121
4121
|
_: 1
|
|
4122
4122
|
})]));
|
|
4123
4123
|
}
|
|
4124
|
-
}),
|
|
4124
|
+
}), za = { class: "g-user-menu" }, Ba = [
|
|
4125
4125
|
"aria-label",
|
|
4126
4126
|
"aria-expanded",
|
|
4127
4127
|
"onClick"
|
|
4128
|
-
],
|
|
4128
|
+
], Va = { class: "g-user-menu__popover" }, Ha = { class: "g-user-menu__list" }, Ua = /* @__PURE__ */ u({
|
|
4129
4129
|
__name: "GUserMenu",
|
|
4130
4130
|
props: {
|
|
4131
4131
|
initials: {},
|
|
@@ -4137,7 +4137,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4137
4137
|
let n = `${z()}-email`, r = D(!1), a = H("emailHeading");
|
|
4138
4138
|
d()?.appContext?.components?.RouterLink;
|
|
4139
4139
|
let c = V();
|
|
4140
|
-
return (u, d) => (w(), o("div",
|
|
4140
|
+
return (u, d) => (w(), o("div", za, [l(ot, {
|
|
4141
4141
|
modelValue: r.value,
|
|
4142
4142
|
"onUpdate:modelValue": d[0] ||= (e) => r.value = e,
|
|
4143
4143
|
minimal: ""
|
|
@@ -4149,8 +4149,8 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4149
4149
|
"aria-expanded": r.value,
|
|
4150
4150
|
"aria-haspopup": "menu",
|
|
4151
4151
|
onClick: e
|
|
4152
|
-
}, N(t.initials), 13,
|
|
4153
|
-
default: G(() => [s("div",
|
|
4152
|
+
}, N(t.initials), 13, Ba)]),
|
|
4153
|
+
default: G(() => [s("div", Va, [s("h2", {
|
|
4154
4154
|
id: n,
|
|
4155
4155
|
ref_key: "emailHeading",
|
|
4156
4156
|
ref: a,
|
|
@@ -4159,11 +4159,11 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4159
4159
|
}, N(t.email), 513), s("nav", {
|
|
4160
4160
|
class: "g-user-menu__nav",
|
|
4161
4161
|
"aria-labelledby": n
|
|
4162
|
-
}, [s("ul",
|
|
4162
|
+
}, [s("ul", Ha, [(w(!0), o(e, null, O(c.default(), (e, t) => (w(), o("li", { key: t }, [(w(), i(A(e)))]))), 128))])])])]),
|
|
4163
4163
|
_: 1
|
|
4164
4164
|
}, 8, ["modelValue"])]));
|
|
4165
4165
|
}
|
|
4166
|
-
}),
|
|
4166
|
+
}), Wa = /* @__PURE__ */ u({
|
|
4167
4167
|
__name: "GCurrencyInput",
|
|
4168
4168
|
props: /*@__PURE__*/ m({
|
|
4169
4169
|
label: { default: void 0 },
|
|
@@ -4214,7 +4214,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4214
4214
|
"form-key"
|
|
4215
4215
|
]));
|
|
4216
4216
|
}
|
|
4217
|
-
}),
|
|
4217
|
+
}), Ga = /* @__PURE__ */ u({
|
|
4218
4218
|
__name: "GEmailInput",
|
|
4219
4219
|
props: /*@__PURE__*/ m({
|
|
4220
4220
|
label: { default: void 0 },
|
|
@@ -4259,13 +4259,13 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4259
4259
|
"instructions"
|
|
4260
4260
|
]));
|
|
4261
4261
|
}
|
|
4262
|
-
}),
|
|
4262
|
+
}), Ka = ["for"], qa = {
|
|
4263
4263
|
key: 0,
|
|
4264
4264
|
class: "g-file-input-required"
|
|
4265
|
-
},
|
|
4265
|
+
}, Ja = {
|
|
4266
4266
|
key: 0,
|
|
4267
4267
|
class: "g-file-input-box-header"
|
|
4268
|
-
},
|
|
4268
|
+
}, Ya = ["id"], Xa = [
|
|
4269
4269
|
"id",
|
|
4270
4270
|
"disabled",
|
|
4271
4271
|
"required",
|
|
@@ -4274,11 +4274,11 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4274
4274
|
"aria-invalid",
|
|
4275
4275
|
"aria-describedby",
|
|
4276
4276
|
"aria-errormessage"
|
|
4277
|
-
],
|
|
4277
|
+
], Za = {
|
|
4278
4278
|
key: 1,
|
|
4279
4279
|
class: "g-file-input-pills",
|
|
4280
4280
|
"aria-label": "Selected files"
|
|
4281
|
-
},
|
|
4281
|
+
}, Qa = /* @__PURE__ */ u({
|
|
4282
4282
|
inheritAttrs: !1,
|
|
4283
4283
|
__name: "GFileInput",
|
|
4284
4284
|
props: /*@__PURE__*/ m({
|
|
@@ -4335,12 +4335,12 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4335
4335
|
key: 0,
|
|
4336
4336
|
for: L(d),
|
|
4337
4337
|
class: "g-file-input-label"
|
|
4338
|
-
}, [c(N(t.label) + " ", 1), t.required ? (w(), o("span",
|
|
4338
|
+
}, [c(N(t.label) + " ", 1), t.required ? (w(), o("span", qa, "*")) : a("", !0)], 8, Ka)) : a("", !0),
|
|
4339
4339
|
s("div", { class: _(["g-file-input-box", { "g-file-input-box--disabled": t.disabled }]) }, [
|
|
4340
|
-
t.instructions ? (w(), o("div",
|
|
4340
|
+
t.instructions ? (w(), o("div", Ja, [s("span", {
|
|
4341
4341
|
id: "instructions-" + L(d),
|
|
4342
4342
|
class: "g-file-input-instructions"
|
|
4343
|
-
}, N(t.instructions), 9,
|
|
4343
|
+
}, N(t.instructions), 9, Ya)])) : a("", !0),
|
|
4344
4344
|
s("input", {
|
|
4345
4345
|
id: L(d),
|
|
4346
4346
|
type: "file",
|
|
@@ -4353,8 +4353,8 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4353
4353
|
"aria-describedby": t.instructions ? "instructions-" + L(d) : void 0,
|
|
4354
4354
|
"aria-errormessage": y.value ? "error-message-" + L(d) : void 0,
|
|
4355
4355
|
onChange: g
|
|
4356
|
-
}, null, 40,
|
|
4357
|
-
t.multiple && b.value.length > 0 ? (w(), o("ul",
|
|
4356
|
+
}, null, 40, Xa),
|
|
4357
|
+
t.multiple && b.value.length > 0 ? (w(), o("ul", Za, [(w(!0), o(e, null, O(b.value, (e) => (w(), o("li", {
|
|
4358
4358
|
key: e,
|
|
4359
4359
|
class: "g-file-input-pill"
|
|
4360
4360
|
}, [r[0] ||= s("svg", {
|
|
@@ -4370,7 +4370,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4370
4370
|
}, null, 8, ["errors", "id"])
|
|
4371
4371
|
], 2));
|
|
4372
4372
|
}
|
|
4373
|
-
}),
|
|
4373
|
+
}), $a = /* @__PURE__ */ u({
|
|
4374
4374
|
__name: "GDateInput",
|
|
4375
4375
|
props: /*@__PURE__*/ m({
|
|
4376
4376
|
label: { default: void 0 },
|
|
@@ -4418,21 +4418,21 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4418
4418
|
"form-key"
|
|
4419
4419
|
]));
|
|
4420
4420
|
}
|
|
4421
|
-
}),
|
|
4421
|
+
}), eo = { class: "g-date-range-input" }, to = {
|
|
4422
4422
|
key: 0,
|
|
4423
4423
|
class: "g-date-range-input__label"
|
|
4424
|
-
},
|
|
4424
|
+
}, no = {
|
|
4425
4425
|
key: 0,
|
|
4426
4426
|
class: "g-date-range-input__required",
|
|
4427
4427
|
"aria-hidden": "true"
|
|
4428
|
-
},
|
|
4428
|
+
}, ro = {
|
|
4429
4429
|
key: 1,
|
|
4430
4430
|
class: "g-date-range-input__instructions"
|
|
4431
|
-
},
|
|
4431
|
+
}, io = { class: "g-date-range-input__fields" }, ao = {
|
|
4432
4432
|
key: 2,
|
|
4433
4433
|
class: "g-date-range-input__errors",
|
|
4434
4434
|
role: "alert"
|
|
4435
|
-
},
|
|
4435
|
+
}, oo = /* @__PURE__ */ u({
|
|
4436
4436
|
__name: "GDateRangeInput",
|
|
4437
4437
|
props: /*@__PURE__*/ m({
|
|
4438
4438
|
label: { default: void 0 },
|
|
@@ -4472,10 +4472,10 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4472
4472
|
};
|
|
4473
4473
|
}), W(r, (e) => {
|
|
4474
4474
|
e.start !== i.value && (i.value = e.start), e.end !== u.value && (u.value = e.end);
|
|
4475
|
-
}, { deep: !0 }), (t, r) => (w(), o("div",
|
|
4476
|
-
n.label ? (w(), o("div",
|
|
4477
|
-
n.instructions ? (w(), o("div",
|
|
4478
|
-
s("div",
|
|
4475
|
+
}, { deep: !0 }), (t, r) => (w(), o("div", eo, [
|
|
4476
|
+
n.label ? (w(), o("div", to, [c(N(n.label), 1), n.required ? (w(), o("span", no, " *")) : a("", !0)])) : a("", !0),
|
|
4477
|
+
n.instructions ? (w(), o("div", ro, N(n.instructions), 1)) : a("", !0),
|
|
4478
|
+
s("div", io, [l($a, {
|
|
4479
4479
|
modelValue: i.value,
|
|
4480
4480
|
"onUpdate:modelValue": r[0] ||= (e) => i.value = e,
|
|
4481
4481
|
label: n.startLabel,
|
|
@@ -4487,7 +4487,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4487
4487
|
"label",
|
|
4488
4488
|
"disabled",
|
|
4489
4489
|
"required"
|
|
4490
|
-
]), l(
|
|
4490
|
+
]), l($a, {
|
|
4491
4491
|
modelValue: u.value,
|
|
4492
4492
|
"onUpdate:modelValue": r[1] ||= (e) => u.value = e,
|
|
4493
4493
|
label: n.endLabel,
|
|
@@ -4500,13 +4500,13 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4500
4500
|
"disabled",
|
|
4501
4501
|
"required"
|
|
4502
4502
|
])]),
|
|
4503
|
-
L(d).length > 0 ? (w(), o("div",
|
|
4503
|
+
L(d).length > 0 ? (w(), o("div", ao, [(w(!0), o(e, null, O(L(d), (e, t) => (w(), o("div", {
|
|
4504
4504
|
key: t,
|
|
4505
4505
|
class: "g-date-range-input__error"
|
|
4506
4506
|
}, N(e), 1))), 128))])) : a("", !0)
|
|
4507
4507
|
]));
|
|
4508
4508
|
}
|
|
4509
|
-
}),
|
|
4509
|
+
}), so = ["action", "method"], co = /* @__PURE__ */ u({
|
|
4510
4510
|
__name: "GForm",
|
|
4511
4511
|
props: /*@__PURE__*/ m({
|
|
4512
4512
|
action: { default: void 0 },
|
|
@@ -4546,9 +4546,9 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4546
4546
|
hasErrors: L(s).hasErrors.value,
|
|
4547
4547
|
values: L(s).values.value,
|
|
4548
4548
|
errors: L(s).errors.value
|
|
4549
|
-
})], 40,
|
|
4549
|
+
})], 40, so));
|
|
4550
4550
|
}
|
|
4551
|
-
}),
|
|
4551
|
+
}), lo = /* @__PURE__ */ u({
|
|
4552
4552
|
__name: "GSubmitButton",
|
|
4553
4553
|
props: {
|
|
4554
4554
|
disabled: {
|
|
@@ -4571,11 +4571,11 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4571
4571
|
_: 3
|
|
4572
4572
|
}, 8, ["disabled", "variant"]));
|
|
4573
4573
|
}
|
|
4574
|
-
}),
|
|
4574
|
+
}), uo = ["for"], fo = {
|
|
4575
4575
|
key: 0,
|
|
4576
4576
|
class: "g-textarea-required",
|
|
4577
4577
|
"aria-hidden": "true"
|
|
4578
|
-
},
|
|
4578
|
+
}, po = ["id"], mo = [
|
|
4579
4579
|
"value",
|
|
4580
4580
|
"placeholder",
|
|
4581
4581
|
"disabled",
|
|
@@ -4584,11 +4584,11 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4584
4584
|
"rows",
|
|
4585
4585
|
"maxlength",
|
|
4586
4586
|
"aria-invalid"
|
|
4587
|
-
],
|
|
4587
|
+
], ho = {
|
|
4588
4588
|
key: 2,
|
|
4589
4589
|
class: "g-textarea-char-count",
|
|
4590
4590
|
"aria-live": "polite"
|
|
4591
|
-
},
|
|
4591
|
+
}, go = /* @__PURE__ */ u({
|
|
4592
4592
|
inheritAttrs: !1,
|
|
4593
4593
|
__name: "GTextarea",
|
|
4594
4594
|
props: /*@__PURE__*/ m({
|
|
@@ -4662,12 +4662,12 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4662
4662
|
key: 0,
|
|
4663
4663
|
for: m.value,
|
|
4664
4664
|
class: "g-textarea-label"
|
|
4665
|
-
}, [c(N(n.label), 1), n.required ? (w(), o("span",
|
|
4665
|
+
}, [c(N(n.label), 1), n.required ? (w(), o("span", fo, " *")) : a("", !0)], 8, uo)) : a("", !0),
|
|
4666
4666
|
t.$slots.instructions || e.instructions ? (w(), o("div", {
|
|
4667
4667
|
key: 1,
|
|
4668
4668
|
id: "instructions-" + L(u),
|
|
4669
4669
|
class: "g-textarea-instructions"
|
|
4670
|
-
}, [k(t.$slots, "instructions", {}, () => [c(N(e.instructions), 1)])], 8,
|
|
4670
|
+
}, [k(t.$slots, "instructions", {}, () => [c(N(e.instructions), 1)])], 8, po)) : a("", !0),
|
|
4671
4671
|
s("textarea", h({
|
|
4672
4672
|
ref: "textareaEl",
|
|
4673
4673
|
value: i.value ?? "",
|
|
@@ -4688,8 +4688,8 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4688
4688
|
onInput: T,
|
|
4689
4689
|
onBlur: E,
|
|
4690
4690
|
onPaste: D
|
|
4691
|
-
}), null, 16,
|
|
4692
|
-
n.maxlength === void 0 ? a("", !0) : (w(), o("div",
|
|
4691
|
+
}), null, 16, mo),
|
|
4692
|
+
n.maxlength === void 0 ? a("", !0) : (w(), o("div", ho, N((i.value ?? "").length) + " / " + N(n.maxlength), 1)),
|
|
4693
4693
|
l(Me, {
|
|
4694
4694
|
errors: L(v),
|
|
4695
4695
|
id: "error-message-" + L(u)
|
|
@@ -4699,7 +4699,7 @@ var si = { class: "g-table-outer-wrap" }, ci = {
|
|
|
4699
4699
|
});
|
|
4700
4700
|
//#endregion
|
|
4701
4701
|
//#region src/compose/useActiveLink.ts
|
|
4702
|
-
function
|
|
4702
|
+
function _o(e, t, n) {
|
|
4703
4703
|
let r = [
|
|
4704
4704
|
0,
|
|
4705
4705
|
.25,
|
|
@@ -4729,7 +4729,7 @@ function go(e, t, n) {
|
|
|
4729
4729
|
}
|
|
4730
4730
|
//#endregion
|
|
4731
4731
|
//#region src/compose/useSidebar.ts
|
|
4732
|
-
function
|
|
4732
|
+
function vo(e = "(max-width: 800px)") {
|
|
4733
4733
|
let t = z(), n = D(!1), r = Y(e, { ssrWidth: 1e3 });
|
|
4734
4734
|
function i(e) {
|
|
4735
4735
|
if (!r.value || !n.value) return;
|
|
@@ -4760,7 +4760,7 @@ function _o(e = "(max-width: 800px)") {
|
|
|
4760
4760
|
}
|
|
4761
4761
|
//#endregion
|
|
4762
4762
|
//#region src/compose/useTableChanges.ts
|
|
4763
|
-
function
|
|
4763
|
+
function yo() {
|
|
4764
4764
|
let e = j(/* @__PURE__ */ new Map()), t = ie(), n = (n) => {
|
|
4765
4765
|
let r = n.column.key, i = n.row.key, a = n.value, o = n.previousValue;
|
|
4766
4766
|
e.has(i) || e.set(i, j(/* @__PURE__ */ new Map()));
|
|
@@ -4863,6 +4863,6 @@ function vo() {
|
|
|
4863
4863
|
};
|
|
4864
4864
|
}
|
|
4865
4865
|
//#endregion
|
|
4866
|
-
export { Ae as $, Un as A, Kt as B, ii as C, jr as D, oi as E, gn as F, ot as G, Et as H, mn as I, $e as J, tt as K, pn as L, Cn as M, xn as N, br as O, bn as P, $ as Q, un as R, ti as S, ai as T, xt as U, Mt as V, mt as W, Je as X, qe as Y, ze as Z,
|
|
4866
|
+
export { Ae as $, Un as A, Kt as B, ii as C, jr as D, oi as E, gn as F, ot as G, Et as H, mn as I, $e as J, tt as K, pn as L, Cn as M, xn as N, br as O, bn as P, $ as Q, un as R, ti as S, ai as T, xt as U, Mt as V, mt as W, Je as X, qe as Y, ze as Z, wa as _, lo as a, ma as b, $a as c, Wa as d, Oe as et, Ua as f, Oa as g, Aa as h, go as i, Q as it, On as j, ir as k, Qa as l, Pa as m, vo as n, xe as nt, co as o, Ra as p, et as q, _o as r, be as rt, oo as s, yo as t, De as tt, Ga as u, Ca as v, ni as w, ri as x, ba as y, nn as z };
|
|
4867
4867
|
|
|
4868
|
-
//# sourceMappingURL=grad-vue-
|
|
4868
|
+
//# sourceMappingURL=grad-vue-gzhk6_Ck.js.map
|