@illinois-grad/grad-vue 3.0.6 → 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 +48 -0
- package/dist/components/GHamburgerMenu.vue.d.ts +22 -1
- package/dist/components/GSidebar.vue.d.ts +12 -1
- package/dist/components/GTreeMenu.vue.d.ts +22 -0
- package/dist/compose/useWebComponentSidebar.d.ts +2 -1
- package/dist/{grad-vue-CAmKhHhp.js → grad-vue-BV5cHdAW.js} +195 -147
- package/dist/grad-vue-BV5cHdAW.js.map +1 -0
- package/dist/grad-vue-elements.css +28 -28
- package/dist/grad-vue-elements.js +345 -294
- 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-CAmKhHhp.js.map +0 -1
|
@@ -91,8 +91,11 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
|
|
|
91
91
|
"type"
|
|
92
92
|
]));
|
|
93
93
|
}
|
|
94
|
-
}), ge =
|
|
94
|
+
}), ge = { class: "g-tree-menu__divider" }, _e = {
|
|
95
95
|
key: 0,
|
|
96
|
+
class: "g-tree-menu__divider-line"
|
|
97
|
+
}, ve = {
|
|
98
|
+
key: 1,
|
|
96
99
|
class: "g-tree-menu__expand-all-wrapper"
|
|
97
100
|
}, ye = { class: "g-tree-menu__content" }, be = /* @__PURE__ */ u({
|
|
98
101
|
__name: "GTreeMenu",
|
|
@@ -104,13 +107,18 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
|
|
|
104
107
|
showExpandAll: {
|
|
105
108
|
type: Boolean,
|
|
106
109
|
default: !1
|
|
110
|
+
},
|
|
111
|
+
headingLevel: { default: "h2" },
|
|
112
|
+
smallHeading: {
|
|
113
|
+
type: Boolean,
|
|
114
|
+
default: !1
|
|
107
115
|
}
|
|
108
116
|
},
|
|
109
117
|
setup(e) {
|
|
110
118
|
let t = e, n = B();
|
|
111
119
|
E("g-tree-menu-list-type", t.listType), E("g-tree-menu-expanded-storage", t.storageKey ? ue(t.storageKey, {}) : null);
|
|
112
|
-
let
|
|
113
|
-
function
|
|
120
|
+
let l = U("nav-el"), u = t.storageKey ? ue(`${t.storageKey}:scroll`, 0, { writeDefaults: !1 }) : null;
|
|
121
|
+
function d(e) {
|
|
114
122
|
let t = e.parentElement;
|
|
115
123
|
for (; t && t !== document.documentElement && t !== document.body;) {
|
|
116
124
|
let e = window.getComputedStyle(t);
|
|
@@ -119,42 +127,66 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
|
|
|
119
127
|
}
|
|
120
128
|
return null;
|
|
121
129
|
}
|
|
122
|
-
let
|
|
123
|
-
function
|
|
124
|
-
|
|
130
|
+
let f = null, p = null, m = null, v = !1;
|
|
131
|
+
function y() {
|
|
132
|
+
u && f && (u.value = f.scrollTop);
|
|
133
|
+
}
|
|
134
|
+
function b() {
|
|
135
|
+
p &&= (p.disconnect(), null), m &&= (m.disconnect(), null);
|
|
136
|
+
}
|
|
137
|
+
function x() {
|
|
138
|
+
!u || !f || v || u.value <= 0 || (f.scrollTop = u.value, v = f.scrollTop > 0, v && b());
|
|
139
|
+
}
|
|
140
|
+
function w(e) {
|
|
141
|
+
if (typeof MutationObserver > "u") return;
|
|
142
|
+
m = new MutationObserver(() => {
|
|
143
|
+
x();
|
|
144
|
+
});
|
|
145
|
+
let t = e;
|
|
146
|
+
for (; t;) m.observe(t, {
|
|
147
|
+
attributes: !0,
|
|
148
|
+
attributeFilter: [
|
|
149
|
+
"class",
|
|
150
|
+
"style",
|
|
151
|
+
"hidden",
|
|
152
|
+
"open"
|
|
153
|
+
]
|
|
154
|
+
}), t = t.parentElement;
|
|
125
155
|
}
|
|
126
156
|
S(() => {
|
|
127
|
-
!
|
|
128
|
-
|
|
129
|
-
}),
|
|
157
|
+
!u || !l.value || (f = d(l.value), f && (g(() => {
|
|
158
|
+
x();
|
|
159
|
+
}), typeof ResizeObserver < "u" && (p = new ResizeObserver(() => {
|
|
160
|
+
x();
|
|
161
|
+
}), p.observe(l.value), p.observe(f)), w(l.value), f.addEventListener("scroll", y)));
|
|
130
162
|
}), C(() => {
|
|
131
|
-
|
|
163
|
+
b(), f &&= (f.removeEventListener("scroll", y), null), v = !1;
|
|
132
164
|
});
|
|
133
|
-
let
|
|
134
|
-
E("g-tree-menu-expandable-items",
|
|
135
|
-
let
|
|
165
|
+
let k = D(/* @__PURE__ */ new Map());
|
|
166
|
+
E("g-tree-menu-expandable-items", k);
|
|
167
|
+
let M = O({
|
|
136
168
|
expanded: !0,
|
|
137
169
|
version: 0
|
|
138
170
|
});
|
|
139
|
-
E("g-tree-menu-expand-all-signal",
|
|
140
|
-
let
|
|
141
|
-
if (
|
|
142
|
-
for (let e of
|
|
171
|
+
E("g-tree-menu-expand-all-signal", M);
|
|
172
|
+
let N = r(() => {
|
|
173
|
+
if (k.size === 0) return !1;
|
|
174
|
+
for (let e of k.values()) if (!e) return !1;
|
|
143
175
|
return !0;
|
|
144
176
|
});
|
|
145
|
-
function
|
|
146
|
-
|
|
147
|
-
expanded: !
|
|
148
|
-
version:
|
|
177
|
+
function F() {
|
|
178
|
+
M.value = {
|
|
179
|
+
expanded: !N.value,
|
|
180
|
+
version: M.value.version + 1
|
|
149
181
|
};
|
|
150
182
|
}
|
|
151
|
-
function
|
|
183
|
+
function I(e) {
|
|
152
184
|
return e.querySelector("a, button, [tabindex='0']") || e;
|
|
153
185
|
}
|
|
154
|
-
function
|
|
186
|
+
function L(e) {
|
|
155
187
|
return Array.from(e.querySelectorAll("[data-tree-primary]"));
|
|
156
188
|
}
|
|
157
|
-
function
|
|
189
|
+
function z(e) {
|
|
158
190
|
let t = e.currentTarget, n = document.activeElement;
|
|
159
191
|
if (!t.contains(n) || ![
|
|
160
192
|
"ArrowUp",
|
|
@@ -164,16 +196,16 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
|
|
|
164
196
|
"Home",
|
|
165
197
|
"End"
|
|
166
198
|
].includes(e.key)) return;
|
|
167
|
-
let r = n.closest(".g-tree-menu__item"), i = r?.querySelector("[data-tree-primary]") ?? null, a =
|
|
199
|
+
let r = n.closest(".g-tree-menu__item"), i = r?.querySelector("[data-tree-primary]") ?? null, a = L(t), o = i ? a.indexOf(i) : -1;
|
|
168
200
|
switch (e.key) {
|
|
169
201
|
case "ArrowDown": {
|
|
170
202
|
let e = a[o + 1];
|
|
171
|
-
e &&
|
|
203
|
+
e && I(e).focus();
|
|
172
204
|
break;
|
|
173
205
|
}
|
|
174
206
|
case "ArrowUp": {
|
|
175
207
|
let e = a[o - 1];
|
|
176
|
-
e &&
|
|
208
|
+
e && I(e).focus();
|
|
177
209
|
break;
|
|
178
210
|
}
|
|
179
211
|
case "ArrowRight":
|
|
@@ -183,48 +215,51 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
|
|
|
183
215
|
e && e.click();
|
|
184
216
|
} else {
|
|
185
217
|
let e = a[o + 1];
|
|
186
|
-
e &&
|
|
218
|
+
e && I(e).focus();
|
|
187
219
|
}
|
|
188
220
|
break;
|
|
189
221
|
case "ArrowLeft":
|
|
190
222
|
if (!r) break;
|
|
191
223
|
if (r.querySelector("[aria-expanded='true']") !== null) {
|
|
192
224
|
let e = r.querySelector(".g-tree-menu__toggle-btn");
|
|
193
|
-
e && e.click(), i && g(() =>
|
|
225
|
+
e && e.click(), i && g(() => I(i).focus());
|
|
194
226
|
} else {
|
|
195
227
|
let e = r.parentElement?.closest(".g-tree-menu__item");
|
|
196
228
|
if (e) {
|
|
197
229
|
let t = e.querySelector("[data-tree-primary]");
|
|
198
|
-
t &&
|
|
230
|
+
t && I(t).focus();
|
|
199
231
|
}
|
|
200
232
|
}
|
|
201
233
|
break;
|
|
202
234
|
case "Home":
|
|
203
|
-
a.length > 0 &&
|
|
235
|
+
a.length > 0 && I(a[0]).focus();
|
|
204
236
|
break;
|
|
205
237
|
case "End":
|
|
206
|
-
a.length > 0 &&
|
|
238
|
+
a.length > 0 && I(a[a.length - 1]).focus();
|
|
207
239
|
break;
|
|
208
240
|
}
|
|
209
241
|
e.preventDefault();
|
|
210
242
|
}
|
|
211
|
-
return (r,
|
|
243
|
+
return (r, l) => (T(), o("nav", h({
|
|
212
244
|
ref: "nav-el",
|
|
213
|
-
class: ["g-tree-menu", `g-tree-menu--${t.theme}
|
|
245
|
+
class: ["g-tree-menu", [`g-tree-menu--${t.theme}`, { "g-tree-menu--small-heading": e.smallHeading }]]
|
|
214
246
|
}, {
|
|
215
247
|
"aria-labelledby": e.heading ? R(n) : void 0,
|
|
216
248
|
"aria-label": e.heading ? void 0 : "Tree Menu"
|
|
217
|
-
}, { onKeydown:
|
|
218
|
-
e.heading ? (T(),
|
|
249
|
+
}, { onKeydown: z }), [
|
|
250
|
+
e.heading ? (T(), i(j(e.headingLevel), {
|
|
219
251
|
key: 0,
|
|
220
252
|
id: R(n),
|
|
221
253
|
class: "g-tree-menu__title"
|
|
222
|
-
},
|
|
223
|
-
|
|
254
|
+
}, {
|
|
255
|
+
default: J(() => [c(P(e.heading), 1)]),
|
|
256
|
+
_: 1
|
|
257
|
+
}, 8, ["id"])) : a("", !0),
|
|
258
|
+
s("div", ge, [e.smallHeading ? a("", !0) : (T(), o("div", _e)), e.showExpandAll ? (T(), o("div", ve, [s("button", {
|
|
224
259
|
class: "g-tree-menu__expand-all-btn",
|
|
225
|
-
onClick:
|
|
260
|
+
onClick: F
|
|
226
261
|
}, [(T(), o("svg", {
|
|
227
|
-
class: _(["g-tree-menu__expand-all-icon", { "g-tree-menu__expand-all-icon--collapse":
|
|
262
|
+
class: _(["g-tree-menu__expand-all-icon", { "g-tree-menu__expand-all-icon--collapse": N.value }]),
|
|
228
263
|
role: "none",
|
|
229
264
|
viewBox: "0 0 24 24",
|
|
230
265
|
fill: "none",
|
|
@@ -232,7 +267,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
|
|
|
232
267
|
"stroke-width": "2.5",
|
|
233
268
|
"stroke-linecap": "round",
|
|
234
269
|
"stroke-linejoin": "round"
|
|
235
|
-
}, [...
|
|
270
|
+
}, [...l[0] ||= [s("polyline", { points: "7 8 12 13 17 8" }, null, -1), s("polyline", { points: "7 13 12 18 17 13" }, null, -1)]], 2)), c(" " + P(N.value ? "Collapse all" : "Expand all"), 1)])])) : a("", !0)]),
|
|
236
271
|
s("div", ye, [A(r.$slots, "default")])
|
|
237
272
|
], 16));
|
|
238
273
|
}
|
|
@@ -1769,40 +1804,43 @@ function cn() {
|
|
|
1769
1804
|
let e = globalThis;
|
|
1770
1805
|
return e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__ ||= /* @__PURE__ */ new Map(), e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__;
|
|
1771
1806
|
}
|
|
1772
|
-
function ln(e = "default", t
|
|
1773
|
-
let n = cn(), r = e || "default";
|
|
1807
|
+
function ln(e = "default", t) {
|
|
1808
|
+
let n = cn(), r = e || "default", i = typeof t == "string" ? t : t?.value, a = i && i.trim() ? i : "(max-width: 800px)";
|
|
1774
1809
|
if (!n.has(r)) {
|
|
1775
|
-
let e = sn(r);
|
|
1810
|
+
let e = sn(r), t = O(a);
|
|
1776
1811
|
n.set(r, {
|
|
1777
1812
|
id: `g-wc-sidebar-${e}`,
|
|
1778
1813
|
open: O(!1),
|
|
1814
|
+
breakpoint: t,
|
|
1779
1815
|
isCollapsible: se(t, { ssrWidth: 1e3 }),
|
|
1780
1816
|
toggle: () => void 0
|
|
1781
1817
|
});
|
|
1782
1818
|
}
|
|
1783
|
-
let
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1819
|
+
let o = n.get(r);
|
|
1820
|
+
o.toggle = () => o.open.value = !o.open.value, typeof t == "string" ? t.trim() && (o.breakpoint.value = t) : t && K(t, (e) => {
|
|
1821
|
+
e && e.trim() && (o.breakpoint.value = e);
|
|
1822
|
+
}, { immediate: !0 });
|
|
1823
|
+
function s(e) {
|
|
1824
|
+
if (!o.isCollapsible.value || !o.open.value) return;
|
|
1825
|
+
let t = e.target, n = document.getElementById(`${o.id}-sidebar`), r = document.getElementById(`${o.id}-hamburger`);
|
|
1826
|
+
n && (n.contains(t) || r?.contains(t) || setTimeout(() => {
|
|
1827
|
+
o.open.value = !1;
|
|
1790
1828
|
}, 5));
|
|
1791
1829
|
}
|
|
1792
|
-
function
|
|
1793
|
-
if (!
|
|
1794
|
-
let t = e.target, n = document.getElementById(`${
|
|
1830
|
+
function c(e) {
|
|
1831
|
+
if (!o.isCollapsible.value || !o.open.value) return;
|
|
1832
|
+
let t = e.target, n = document.getElementById(`${o.id}-sidebar`), r = document.getElementById(`${o.id}-hamburger`);
|
|
1795
1833
|
n && (n.contains(t) || r?.contains(t) || setTimeout(() => {
|
|
1796
|
-
|
|
1834
|
+
o.open.value = !1;
|
|
1797
1835
|
}, 5));
|
|
1798
1836
|
}
|
|
1799
1837
|
return S(() => {
|
|
1800
|
-
K(
|
|
1801
|
-
e ? (document.addEventListener("mousedown",
|
|
1838
|
+
K(o.isCollapsible, (e) => {
|
|
1839
|
+
e ? (document.addEventListener("mousedown", s), document.addEventListener("focusin", c)) : (document.removeEventListener("mousedown", s), document.removeEventListener("focusin", c));
|
|
1802
1840
|
}, { immediate: !0 });
|
|
1803
1841
|
}), x(() => {
|
|
1804
|
-
document.removeEventListener("mousedown",
|
|
1805
|
-
}),
|
|
1842
|
+
document.removeEventListener("mousedown", s), document.removeEventListener("focusin", c);
|
|
1843
|
+
}), o;
|
|
1806
1844
|
}
|
|
1807
1845
|
//#endregion
|
|
1808
1846
|
//#region src/components/GSidebar.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1815,10 +1853,11 @@ var un = ["id"], dn = /* @__PURE__ */ u({
|
|
|
1815
1853
|
topOffset: { default: "" },
|
|
1816
1854
|
topOffsetVar: { default: "" },
|
|
1817
1855
|
width: { default: "300px" },
|
|
1818
|
-
sidebarKey: { default: "default" }
|
|
1856
|
+
sidebarKey: { default: "default" },
|
|
1857
|
+
mediaQuery: {}
|
|
1819
1858
|
},
|
|
1820
1859
|
setup(e) {
|
|
1821
|
-
let t = e, n = p("sidebar", () => void 0, !0) ?? (fe() ? ln(t.sidebarKey) : void 0), i = r(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "url('https://gradcdn.blob.core.windows.net/public/sidebar-bg2.jpg')"), a = r(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), s = r(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), c = B();
|
|
1860
|
+
let t = e, n = p("sidebar", () => void 0, !0) ?? (fe() ? ln(t.sidebarKey, I(t, "mediaQuery")) : void 0), i = r(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "url('https://gradcdn.blob.core.windows.net/public/sidebar-bg2.jpg')"), a = r(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), s = r(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), c = B();
|
|
1822
1861
|
function l(e) {
|
|
1823
1862
|
e.key === "Escape" && n?.isCollapsible?.value && n?.open?.value && (n.open.value = !1, document.getElementById(`${n.id}-hamburger`)?.focus());
|
|
1824
1863
|
}
|
|
@@ -3219,64 +3258,73 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3219
3258
|
"aria-expanded",
|
|
3220
3259
|
"aria-label",
|
|
3221
3260
|
"aria-controls"
|
|
3222
|
-
], ui =
|
|
3261
|
+
], ui = {
|
|
3262
|
+
key: 0,
|
|
3263
|
+
class: "g-hamburger-label"
|
|
3264
|
+
}, di = /* @__PURE__ */ u({
|
|
3223
3265
|
__name: "GHamburgerMenu",
|
|
3224
3266
|
props: {
|
|
3225
3267
|
label: { default: "Main Navigation" },
|
|
3226
|
-
sidebarKey: { default: "default" }
|
|
3268
|
+
sidebarKey: { default: "default" },
|
|
3269
|
+
mediaQuery: {},
|
|
3270
|
+
labelVisible: {
|
|
3271
|
+
type: Boolean,
|
|
3272
|
+
default: !1
|
|
3273
|
+
}
|
|
3227
3274
|
},
|
|
3228
3275
|
emits: ["toggle"],
|
|
3229
3276
|
setup(e, { emit: t }) {
|
|
3230
|
-
let n = e, r = p("sidebar") ?? (fe() ? ln(n.sidebarKey) : void 0), i = t;
|
|
3231
|
-
function
|
|
3277
|
+
let n = e, r = p("sidebar") ?? (fe() ? ln(n.sidebarKey, I(n, "mediaQuery")) : void 0), i = t;
|
|
3278
|
+
function c() {
|
|
3232
3279
|
i("toggle"), r?.toggle();
|
|
3233
3280
|
}
|
|
3234
|
-
function
|
|
3281
|
+
function l(e) {
|
|
3235
3282
|
e.key === "Escape" && r?.open?.value && (r.open.value = !1);
|
|
3236
3283
|
}
|
|
3237
|
-
let
|
|
3284
|
+
let u = B();
|
|
3238
3285
|
return (t, n) => (T(), o("button", {
|
|
3239
|
-
id: `${R(r)?.id ?? R(
|
|
3286
|
+
id: `${R(r)?.id ?? R(u)}-hamburger`,
|
|
3240
3287
|
class: _(["g-hamburger-button", {
|
|
3241
3288
|
"g-hamburger-button--open": R(r)?.open?.value,
|
|
3242
3289
|
"g-hamburger-button--collapsible": R(r)?.isCollapsible?.value
|
|
3243
3290
|
}]),
|
|
3244
|
-
onClick:
|
|
3245
|
-
onKeydown:
|
|
3291
|
+
onClick: c,
|
|
3292
|
+
onKeydown: l,
|
|
3246
3293
|
"aria-expanded": R(r)?.open?.value ? "true" : "false",
|
|
3247
|
-
"aria-label": e.label,
|
|
3294
|
+
"aria-label": e.labelVisible ? void 0 : e.label,
|
|
3248
3295
|
"aria-controls": R(r) ? `${R(r).id}-sidebar` : void 0
|
|
3249
|
-
}, [
|
|
3296
|
+
}, [n[0] ||= s("svg", {
|
|
3250
3297
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3251
|
-
viewBox: "0 0 51.26 51.26"
|
|
3252
|
-
|
|
3298
|
+
viewBox: "0 0 51.26 51.26",
|
|
3299
|
+
role: "none"
|
|
3300
|
+
}, [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 ? (T(), o("span", ui, P(e.label), 1)) : a("", !0)], 42, li));
|
|
3253
3301
|
}
|
|
3254
|
-
}),
|
|
3302
|
+
}), fi = /* @__PURE__ */ u({
|
|
3255
3303
|
__name: "GDetailList",
|
|
3256
3304
|
props: { variant: { default: "grid" } },
|
|
3257
3305
|
setup(e) {
|
|
3258
3306
|
let t = e;
|
|
3259
3307
|
return (e, n) => (T(), o("dl", { class: _(["g-detail-list", `g-detail-list--${t.variant}`]) }, [A(e.$slots, "default")], 2));
|
|
3260
3308
|
}
|
|
3261
|
-
}),
|
|
3309
|
+
}), pi = { class: "g-detail-list-item" }, mi = { class: "g-detail-list-item__label" }, hi = { class: "g-detail-list-item__value" }, gi = /* @__PURE__ */ u({
|
|
3262
3310
|
__name: "GDetailListItem",
|
|
3263
3311
|
props: { label: {} },
|
|
3264
3312
|
setup(e) {
|
|
3265
|
-
return (t, n) => (T(), o("div",
|
|
3313
|
+
return (t, n) => (T(), o("div", pi, [s("dt", mi, [A(t.$slots, "label", {}, () => [c(P(e.label), 1)])]), s("dd", hi, [A(t.$slots, "default")])]));
|
|
3266
3314
|
}
|
|
3267
|
-
}),
|
|
3315
|
+
}), _i = {
|
|
3268
3316
|
key: 0,
|
|
3269
3317
|
class: "g-scroll-lock-overlay"
|
|
3270
|
-
},
|
|
3318
|
+
}, vi = /* @__PURE__ */ u({
|
|
3271
3319
|
__name: "GOverlay",
|
|
3272
3320
|
setup(e) {
|
|
3273
3321
|
let { hasScrollLock: t } = qe();
|
|
3274
3322
|
return (e, r) => (T(), i(n, { name: "g-fade" }, {
|
|
3275
|
-
default: J(() => [R(t) ? (T(), o("div",
|
|
3323
|
+
default: J(() => [R(t) ? (T(), o("div", _i)) : a("", !0)]),
|
|
3276
3324
|
_: 1
|
|
3277
3325
|
}));
|
|
3278
3326
|
}
|
|
3279
|
-
}),
|
|
3327
|
+
}), yi = { class: "popover-content" }, bi = { class: "year-dropdown" }, xi = { class: "month-selector" }, Si = /* @__PURE__ */ u({
|
|
3280
3328
|
__name: "GTermSelectorControl",
|
|
3281
3329
|
props: /* @__PURE__ */ m({
|
|
3282
3330
|
termYears: { default: () => ["2026"] },
|
|
@@ -3297,7 +3345,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3297
3345
|
emits: ["update:modelValue"],
|
|
3298
3346
|
setup(e) {
|
|
3299
3347
|
let t = V(e, "modelValue");
|
|
3300
|
-
return (n, r) => (T(), o("div",
|
|
3348
|
+
return (n, r) => (T(), o("div", yi, [s("div", bi, [l(Ht, {
|
|
3301
3349
|
modelValue: t.value.year,
|
|
3302
3350
|
"onUpdate:modelValue": r[0] ||= (e) => t.value.year = e,
|
|
3303
3351
|
options: e.termYears,
|
|
@@ -3306,7 +3354,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3306
3354
|
"modelValue",
|
|
3307
3355
|
"options",
|
|
3308
3356
|
"label"
|
|
3309
|
-
])]), s("div",
|
|
3357
|
+
])]), s("div", xi, [l(yt, {
|
|
3310
3358
|
modelValue: t.value.name,
|
|
3311
3359
|
"onUpdate:modelValue": r[1] ||= (e) => t.value.name = e,
|
|
3312
3360
|
options: e.termNames,
|
|
@@ -3318,10 +3366,10 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3318
3366
|
"label"
|
|
3319
3367
|
])])]));
|
|
3320
3368
|
}
|
|
3321
|
-
}),
|
|
3369
|
+
}), Ci = { class: "g-term-selector" }, wi = { class: "g-term-label" }, Ti = {
|
|
3322
3370
|
class: "g-popover-title",
|
|
3323
3371
|
tabindex: "-1"
|
|
3324
|
-
},
|
|
3372
|
+
}, Ei = /* @__PURE__ */ u({
|
|
3325
3373
|
__name: "GTermSelector",
|
|
3326
3374
|
props: /* @__PURE__ */ m({
|
|
3327
3375
|
heading: { default: "Period Selection" },
|
|
@@ -3343,7 +3391,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3343
3391
|
emits: ["update:modelValue"],
|
|
3344
3392
|
setup(e) {
|
|
3345
3393
|
let t = V(e, "modelValue");
|
|
3346
|
-
return (n, r) => (T(), o("div",
|
|
3394
|
+
return (n, r) => (T(), o("div", Ci, [l(it, null, {
|
|
3347
3395
|
trigger: J(({ toggle: e }) => [l(Q, {
|
|
3348
3396
|
class: "g-term-selector-button",
|
|
3349
3397
|
theme: "none",
|
|
@@ -3356,7 +3404,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3356
3404
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3357
3405
|
viewBox: "0 0 640 640"
|
|
3358
3406
|
}, [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),
|
|
3359
|
-
s("span",
|
|
3407
|
+
s("span", wi, P(t.value?.name) + " " + P(t.value?.year), 1),
|
|
3360
3408
|
r[1] ||= s("span", { class: "g-caret" }, [s("svg", {
|
|
3361
3409
|
role: "none presentation",
|
|
3362
3410
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3365,15 +3413,15 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3365
3413
|
]),
|
|
3366
3414
|
_: 1
|
|
3367
3415
|
}, 8, ["onClick"])]),
|
|
3368
|
-
default: J(() => [s("h2",
|
|
3416
|
+
default: J(() => [s("h2", Ti, P(e.heading), 1), l(Si, v(f(n.$props)), null, 16)]),
|
|
3369
3417
|
_: 1
|
|
3370
3418
|
})]));
|
|
3371
3419
|
}
|
|
3372
|
-
}),
|
|
3420
|
+
}), Di = { class: "g-user-menu" }, Oi = [
|
|
3373
3421
|
"aria-label",
|
|
3374
3422
|
"aria-expanded",
|
|
3375
3423
|
"onClick"
|
|
3376
|
-
],
|
|
3424
|
+
], ki = { class: "g-user-menu__popover" }, Ai = { class: "g-user-menu__list" }, ji = /* @__PURE__ */ u({
|
|
3377
3425
|
__name: "GUserMenu",
|
|
3378
3426
|
props: {
|
|
3379
3427
|
initials: {},
|
|
@@ -3385,7 +3433,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3385
3433
|
let n = `${B()}-email`, r = O(!1), a = U("emailHeading");
|
|
3386
3434
|
d()?.appContext?.components?.RouterLink;
|
|
3387
3435
|
let c = H();
|
|
3388
|
-
return (u, d) => (T(), o("div",
|
|
3436
|
+
return (u, d) => (T(), o("div", Di, [l(it, {
|
|
3389
3437
|
modelValue: r.value,
|
|
3390
3438
|
"onUpdate:modelValue": d[0] ||= (e) => r.value = e,
|
|
3391
3439
|
minimal: ""
|
|
@@ -3397,8 +3445,8 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3397
3445
|
"aria-expanded": r.value,
|
|
3398
3446
|
"aria-haspopup": "menu",
|
|
3399
3447
|
onClick: e
|
|
3400
|
-
}, P(t.initials), 13,
|
|
3401
|
-
default: J(() => [s("div",
|
|
3448
|
+
}, P(t.initials), 13, Oi)]),
|
|
3449
|
+
default: J(() => [s("div", ki, [s("h2", {
|
|
3402
3450
|
id: n,
|
|
3403
3451
|
ref_key: "emailHeading",
|
|
3404
3452
|
ref: a,
|
|
@@ -3407,11 +3455,11 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3407
3455
|
}, P(t.email), 513), s("nav", {
|
|
3408
3456
|
class: "g-user-menu__nav",
|
|
3409
3457
|
"aria-labelledby": n
|
|
3410
|
-
}, [s("ul",
|
|
3458
|
+
}, [s("ul", Ai, [(T(!0), o(e, null, k(c.default(), (e, t) => (T(), o("li", { key: t }, [(T(), i(j(e)))]))), 128))])])])]),
|
|
3411
3459
|
_: 1
|
|
3412
3460
|
}, 8, ["modelValue"])]));
|
|
3413
3461
|
}
|
|
3414
|
-
}),
|
|
3462
|
+
}), Mi = /* @__PURE__ */ u({
|
|
3415
3463
|
__name: "GCurrencyInput",
|
|
3416
3464
|
props: /* @__PURE__ */ m({
|
|
3417
3465
|
label: { default: void 0 },
|
|
@@ -3462,7 +3510,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3462
3510
|
"form-key"
|
|
3463
3511
|
]));
|
|
3464
3512
|
}
|
|
3465
|
-
}),
|
|
3513
|
+
}), Ni = /* @__PURE__ */ u({
|
|
3466
3514
|
__name: "GEmailInput",
|
|
3467
3515
|
props: /* @__PURE__ */ m({
|
|
3468
3516
|
label: { default: void 0 },
|
|
@@ -3507,13 +3555,13 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3507
3555
|
"instructions"
|
|
3508
3556
|
]));
|
|
3509
3557
|
}
|
|
3510
|
-
}),
|
|
3558
|
+
}), Pi = ["for"], Fi = {
|
|
3511
3559
|
key: 0,
|
|
3512
3560
|
class: "g-file-input-required"
|
|
3513
|
-
},
|
|
3561
|
+
}, Ii = {
|
|
3514
3562
|
key: 0,
|
|
3515
3563
|
class: "g-file-input-box-header"
|
|
3516
|
-
},
|
|
3564
|
+
}, Li = ["id"], Ri = [
|
|
3517
3565
|
"id",
|
|
3518
3566
|
"disabled",
|
|
3519
3567
|
"required",
|
|
@@ -3522,11 +3570,11 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3522
3570
|
"aria-invalid",
|
|
3523
3571
|
"aria-describedby",
|
|
3524
3572
|
"aria-errormessage"
|
|
3525
|
-
],
|
|
3573
|
+
], zi = {
|
|
3526
3574
|
key: 1,
|
|
3527
3575
|
class: "g-file-input-pills",
|
|
3528
3576
|
"aria-label": "Selected files"
|
|
3529
|
-
},
|
|
3577
|
+
}, Bi = /* @__PURE__ */ u({
|
|
3530
3578
|
inheritAttrs: !1,
|
|
3531
3579
|
__name: "GFileInput",
|
|
3532
3580
|
props: /* @__PURE__ */ m({
|
|
@@ -3583,12 +3631,12 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3583
3631
|
key: 0,
|
|
3584
3632
|
for: R(d),
|
|
3585
3633
|
class: "g-file-input-label"
|
|
3586
|
-
}, [c(P(t.label) + " ", 1), t.required ? (T(), o("span",
|
|
3634
|
+
}, [c(P(t.label) + " ", 1), t.required ? (T(), o("span", Fi, "*")) : a("", !0)], 8, Pi)) : a("", !0),
|
|
3587
3635
|
s("div", { class: _(["g-file-input-box", { "g-file-input-box--disabled": t.disabled }]) }, [
|
|
3588
|
-
t.instructions ? (T(), o("div",
|
|
3636
|
+
t.instructions ? (T(), o("div", Ii, [s("span", {
|
|
3589
3637
|
id: "instructions-" + R(d),
|
|
3590
3638
|
class: "g-file-input-instructions"
|
|
3591
|
-
}, P(t.instructions), 9,
|
|
3639
|
+
}, P(t.instructions), 9, Li)])) : a("", !0),
|
|
3592
3640
|
s("input", {
|
|
3593
3641
|
id: R(d),
|
|
3594
3642
|
type: "file",
|
|
@@ -3601,8 +3649,8 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3601
3649
|
"aria-describedby": t.instructions ? "instructions-" + R(d) : void 0,
|
|
3602
3650
|
"aria-errormessage": y.value ? "error-message-" + R(d) : void 0,
|
|
3603
3651
|
onChange: g
|
|
3604
|
-
}, null, 40,
|
|
3605
|
-
t.multiple && b.value.length > 0 ? (T(), o("ul",
|
|
3652
|
+
}, null, 40, Ri),
|
|
3653
|
+
t.multiple && b.value.length > 0 ? (T(), o("ul", zi, [(T(!0), o(e, null, k(b.value, (e) => (T(), o("li", {
|
|
3606
3654
|
key: e,
|
|
3607
3655
|
class: "g-file-input-pill"
|
|
3608
3656
|
}, [r[0] ||= s("svg", {
|
|
@@ -3618,7 +3666,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3618
3666
|
}, null, 8, ["errors", "id"])
|
|
3619
3667
|
], 2));
|
|
3620
3668
|
}
|
|
3621
|
-
}),
|
|
3669
|
+
}), Vi = /* @__PURE__ */ u({
|
|
3622
3670
|
__name: "GDateInput",
|
|
3623
3671
|
props: /* @__PURE__ */ m({
|
|
3624
3672
|
label: { default: void 0 },
|
|
@@ -3666,21 +3714,21 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3666
3714
|
"form-key"
|
|
3667
3715
|
]));
|
|
3668
3716
|
}
|
|
3669
|
-
}),
|
|
3717
|
+
}), Hi = { class: "g-date-range-input" }, Ui = {
|
|
3670
3718
|
key: 0,
|
|
3671
3719
|
class: "g-date-range-input__label"
|
|
3672
|
-
},
|
|
3720
|
+
}, Wi = {
|
|
3673
3721
|
key: 0,
|
|
3674
3722
|
class: "g-date-range-input__required",
|
|
3675
3723
|
"aria-hidden": "true"
|
|
3676
|
-
},
|
|
3724
|
+
}, Gi = {
|
|
3677
3725
|
key: 1,
|
|
3678
3726
|
class: "g-date-range-input__instructions"
|
|
3679
|
-
},
|
|
3727
|
+
}, Ki = { class: "g-date-range-input__fields" }, qi = {
|
|
3680
3728
|
key: 2,
|
|
3681
3729
|
class: "g-date-range-input__errors",
|
|
3682
3730
|
role: "alert"
|
|
3683
|
-
},
|
|
3731
|
+
}, Ji = /* @__PURE__ */ u({
|
|
3684
3732
|
__name: "GDateRangeInput",
|
|
3685
3733
|
props: /* @__PURE__ */ m({
|
|
3686
3734
|
label: { default: void 0 },
|
|
@@ -3720,10 +3768,10 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3720
3768
|
};
|
|
3721
3769
|
}), K(r, (e) => {
|
|
3722
3770
|
e.start !== i.value && (i.value = e.start), e.end !== u.value && (u.value = e.end);
|
|
3723
|
-
}, { deep: !0 }), (t, r) => (T(), o("div",
|
|
3724
|
-
n.label ? (T(), o("div",
|
|
3725
|
-
n.instructions ? (T(), o("div",
|
|
3726
|
-
s("div",
|
|
3771
|
+
}, { deep: !0 }), (t, r) => (T(), o("div", Hi, [
|
|
3772
|
+
n.label ? (T(), o("div", Ui, [c(P(n.label), 1), n.required ? (T(), o("span", Wi, " *")) : a("", !0)])) : a("", !0),
|
|
3773
|
+
n.instructions ? (T(), o("div", Gi, P(n.instructions), 1)) : a("", !0),
|
|
3774
|
+
s("div", Ki, [l(Vi, {
|
|
3727
3775
|
modelValue: i.value,
|
|
3728
3776
|
"onUpdate:modelValue": r[0] ||= (e) => i.value = e,
|
|
3729
3777
|
label: n.startLabel,
|
|
@@ -3735,7 +3783,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3735
3783
|
"label",
|
|
3736
3784
|
"disabled",
|
|
3737
3785
|
"required"
|
|
3738
|
-
]), l(
|
|
3786
|
+
]), l(Vi, {
|
|
3739
3787
|
modelValue: u.value,
|
|
3740
3788
|
"onUpdate:modelValue": r[1] ||= (e) => u.value = e,
|
|
3741
3789
|
label: n.endLabel,
|
|
@@ -3748,13 +3796,13 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3748
3796
|
"disabled",
|
|
3749
3797
|
"required"
|
|
3750
3798
|
])]),
|
|
3751
|
-
R(d).length > 0 ? (T(), o("div",
|
|
3799
|
+
R(d).length > 0 ? (T(), o("div", qi, [(T(!0), o(e, null, k(R(d), (e, t) => (T(), o("div", {
|
|
3752
3800
|
key: t,
|
|
3753
3801
|
class: "g-date-range-input__error"
|
|
3754
3802
|
}, P(e), 1))), 128))])) : a("", !0)
|
|
3755
3803
|
]));
|
|
3756
3804
|
}
|
|
3757
|
-
}),
|
|
3805
|
+
}), Yi = ["action", "method"], Xi = /* @__PURE__ */ u({
|
|
3758
3806
|
__name: "GForm",
|
|
3759
3807
|
props: /* @__PURE__ */ m({
|
|
3760
3808
|
action: { default: void 0 },
|
|
@@ -3794,9 +3842,9 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3794
3842
|
hasErrors: R(s).hasErrors.value,
|
|
3795
3843
|
values: R(s).values.value,
|
|
3796
3844
|
errors: R(s).errors.value
|
|
3797
|
-
})], 40,
|
|
3845
|
+
})], 40, Yi));
|
|
3798
3846
|
}
|
|
3799
|
-
}),
|
|
3847
|
+
}), Zi = /* @__PURE__ */ u({
|
|
3800
3848
|
__name: "GSubmitButton",
|
|
3801
3849
|
props: {
|
|
3802
3850
|
disabled: {
|
|
@@ -3819,21 +3867,21 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3819
3867
|
_: 3
|
|
3820
3868
|
}, 8, ["disabled", "variant"]));
|
|
3821
3869
|
}
|
|
3822
|
-
}),
|
|
3870
|
+
}), Qi = {
|
|
3823
3871
|
key: 0,
|
|
3824
3872
|
class: "g-checkbox-group__legend"
|
|
3825
|
-
},
|
|
3873
|
+
}, $i = {
|
|
3826
3874
|
key: 0,
|
|
3827
3875
|
class: "g-checkbox-group__required",
|
|
3828
3876
|
"aria-hidden": "true"
|
|
3829
|
-
},
|
|
3877
|
+
}, ea = {
|
|
3830
3878
|
key: 1,
|
|
3831
3879
|
class: "g-checkbox-group__label"
|
|
3832
|
-
},
|
|
3880
|
+
}, ta = {
|
|
3833
3881
|
key: 0,
|
|
3834
3882
|
class: "g-checkbox-group__required",
|
|
3835
3883
|
"aria-hidden": "true"
|
|
3836
|
-
},
|
|
3884
|
+
}, na = ["id"], ra = { class: "g-checkbox-group__options" }, ia = ["for"], aa = [
|
|
3837
3885
|
"id",
|
|
3838
3886
|
"type",
|
|
3839
3887
|
"name",
|
|
@@ -3842,7 +3890,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3842
3890
|
"disabled",
|
|
3843
3891
|
"required",
|
|
3844
3892
|
"onChange"
|
|
3845
|
-
],
|
|
3893
|
+
], oa = { class: "g-checkbox-group__label-text" }, sa = ["id"], ca = /* @__PURE__ */ u({
|
|
3846
3894
|
__name: "GCheckboxGroup",
|
|
3847
3895
|
props: /* @__PURE__ */ m({
|
|
3848
3896
|
label: { default: void 0 },
|
|
@@ -3904,13 +3952,13 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3904
3952
|
}
|
|
3905
3953
|
return (n, r) => (T(), i(j(C.value ? "fieldset" : "div"), h({ class: ["g-checkbox-group", { "g-checkbox-group--error": R(m) }] }, w.value), {
|
|
3906
3954
|
default: J(() => [
|
|
3907
|
-
C.value && t.label ? (T(), o("legend",
|
|
3955
|
+
C.value && t.label ? (T(), o("legend", Qi, [c(P(t.label), 1), t.required ? (T(), o("span", $i, "\xA0*")) : a("", !0)])) : !C.value && t.label ? (T(), o("div", ea, [c(P(t.label), 1), t.required ? (T(), o("span", ta, "\xA0*")) : a("", !0)])) : a("", !0),
|
|
3908
3956
|
t.instructions ? (T(), o("div", {
|
|
3909
3957
|
key: 2,
|
|
3910
3958
|
id: S.value,
|
|
3911
3959
|
class: "g-checkbox-group__instructions"
|
|
3912
|
-
}, P(t.instructions), 9,
|
|
3913
|
-
s("div",
|
|
3960
|
+
}, P(t.instructions), 9, na)) : a("", !0),
|
|
3961
|
+
s("div", ra, [(T(!0), o(e, null, k(t.options, (e, n) => (T(), o("div", {
|
|
3914
3962
|
key: e.value,
|
|
3915
3963
|
class: _(["g-checkbox-group__option-wrapper", { "g-checkbox-group__option-wrapper--disabled": e.disabled }])
|
|
3916
3964
|
}, [s("label", {
|
|
@@ -3925,11 +3973,11 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3925
3973
|
disabled: e.disabled,
|
|
3926
3974
|
required: t.required && (t.radio && n === 0 || !t.radio && t.options.length === 1),
|
|
3927
3975
|
class: "g-checkbox-group__input"
|
|
3928
|
-
}, { ref_for: !0 }, O(e, n), { onChange: (t) => y(e.value, t.target.checked) }), null, 16,
|
|
3976
|
+
}, { ref_for: !0 }, O(e, n), { onChange: (t) => y(e.value, t.target.checked) }), null, 16, aa), s("span", oa, P(e.label), 1)], 10, ia), e.hint ? (T(), o("div", {
|
|
3929
3977
|
key: 0,
|
|
3930
3978
|
id: E(n),
|
|
3931
3979
|
class: "g-checkbox-group__hint"
|
|
3932
|
-
}, P(e.hint), 9,
|
|
3980
|
+
}, P(e.hint), 9, sa)) : a("", !0)], 2))), 128))]),
|
|
3933
3981
|
l(je, {
|
|
3934
3982
|
errors: R(p),
|
|
3935
3983
|
id: x.value
|
|
@@ -3938,11 +3986,11 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3938
3986
|
_: 1
|
|
3939
3987
|
}, 16, ["class"]));
|
|
3940
3988
|
}
|
|
3941
|
-
}),
|
|
3989
|
+
}), la = ["for"], ua = {
|
|
3942
3990
|
key: 0,
|
|
3943
3991
|
class: "g-textarea-required",
|
|
3944
3992
|
"aria-hidden": "true"
|
|
3945
|
-
},
|
|
3993
|
+
}, da = ["id"], fa = [
|
|
3946
3994
|
"value",
|
|
3947
3995
|
"placeholder",
|
|
3948
3996
|
"disabled",
|
|
@@ -3951,11 +3999,11 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
3951
3999
|
"rows",
|
|
3952
4000
|
"maxlength",
|
|
3953
4001
|
"aria-invalid"
|
|
3954
|
-
],
|
|
4002
|
+
], pa = {
|
|
3955
4003
|
key: 2,
|
|
3956
4004
|
class: "g-textarea-char-count",
|
|
3957
4005
|
"aria-live": "polite"
|
|
3958
|
-
},
|
|
4006
|
+
}, ma = /* @__PURE__ */ u({
|
|
3959
4007
|
inheritAttrs: !1,
|
|
3960
4008
|
__name: "GTextarea",
|
|
3961
4009
|
props: /* @__PURE__ */ m({
|
|
@@ -4028,12 +4076,12 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
4028
4076
|
key: 0,
|
|
4029
4077
|
for: m.value,
|
|
4030
4078
|
class: "g-textarea-label"
|
|
4031
|
-
}, [c(P(n.label), 1), n.required ? (T(), o("span",
|
|
4079
|
+
}, [c(P(n.label), 1), n.required ? (T(), o("span", ua, " *")) : a("", !0)], 8, la)) : a("", !0),
|
|
4032
4080
|
t.$slots.instructions || e.instructions ? (T(), o("div", {
|
|
4033
4081
|
key: 1,
|
|
4034
4082
|
id: "instructions-" + R(u),
|
|
4035
4083
|
class: "g-textarea-instructions"
|
|
4036
|
-
}, [A(t.$slots, "instructions", {}, () => [c(P(e.instructions), 1)])], 8,
|
|
4084
|
+
}, [A(t.$slots, "instructions", {}, () => [c(P(e.instructions), 1)])], 8, da)) : a("", !0),
|
|
4037
4085
|
s("textarea", h({
|
|
4038
4086
|
ref: "textareaEl",
|
|
4039
4087
|
value: i.value ?? "",
|
|
@@ -4054,8 +4102,8 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
4054
4102
|
onInput: w,
|
|
4055
4103
|
onBlur: E,
|
|
4056
4104
|
onPaste: D
|
|
4057
|
-
}), null, 16,
|
|
4058
|
-
n.maxlength === void 0 ? a("", !0) : (T(), o("div",
|
|
4105
|
+
}), null, 16, fa),
|
|
4106
|
+
n.maxlength === void 0 ? a("", !0) : (T(), o("div", pa, P((i.value ?? "").length) + " / " + P(n.maxlength), 1)),
|
|
4059
4107
|
l(je, {
|
|
4060
4108
|
errors: R(v),
|
|
4061
4109
|
id: "error-message-" + R(u)
|
|
@@ -4065,7 +4113,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
|
|
|
4065
4113
|
});
|
|
4066
4114
|
//#endregion
|
|
4067
4115
|
//#region src/compose/useActiveLink.ts
|
|
4068
|
-
function
|
|
4116
|
+
function ha(e, t, n) {
|
|
4069
4117
|
let r = [
|
|
4070
4118
|
0,
|
|
4071
4119
|
.25,
|
|
@@ -4095,12 +4143,12 @@ function ma(e, t, n) {
|
|
|
4095
4143
|
}
|
|
4096
4144
|
//#endregion
|
|
4097
4145
|
//#region src/compose/useSidebar.ts
|
|
4098
|
-
function
|
|
4146
|
+
function ga(e = "(max-width: 800px)") {
|
|
4099
4147
|
let t = B(), n = O(!1), r = se(e, { ssrWidth: 1e3 });
|
|
4100
4148
|
function i(e) {
|
|
4101
4149
|
if (!r.value || !n.value) return;
|
|
4102
|
-
let i = e.target, a = document.getElementById(`${t}-sidebar`);
|
|
4103
|
-
a && (a.contains(i) || setTimeout(() => {
|
|
4150
|
+
let i = e.target, a = document.getElementById(`${t}-sidebar`), o = document.getElementById(`${t}-hamburger`);
|
|
4151
|
+
a && (a.contains(i) || o?.contains(i) || setTimeout(() => {
|
|
4104
4152
|
n.value = !1;
|
|
4105
4153
|
}, 5));
|
|
4106
4154
|
}
|
|
@@ -4126,7 +4174,7 @@ function ha(e = "(max-width: 800px)") {
|
|
|
4126
4174
|
}
|
|
4127
4175
|
//#endregion
|
|
4128
4176
|
//#region src/compose/useTableChanges.ts
|
|
4129
|
-
function
|
|
4177
|
+
function _a() {
|
|
4130
4178
|
let e = M(/* @__PURE__ */ new Map()), t = ee(), n = (n) => {
|
|
4131
4179
|
let r = n.column.key, i = n.row.key, a = n.value, o = n.previousValue;
|
|
4132
4180
|
e.has(i) || e.set(i, M(/* @__PURE__ */ new Map()));
|
|
@@ -4229,6 +4277,6 @@ function ga() {
|
|
|
4229
4277
|
};
|
|
4230
4278
|
}
|
|
4231
4279
|
//#endregion
|
|
4232
|
-
export { ke as $, $n as A, Ht as B, hr as C, _r as D, mr as E, hn as F, it as G, wt as H, dn as I, Qe as J, et as K, ln as L, Cn as M, vn as N, vr as O, gn as P, $ as Q, on as R, qr as S, gr as T, yt as U, At as V, ft as W, qe as X, Ke as Y, Re as Z,
|
|
4280
|
+
export { ke as $, $n as A, Ht as B, hr as C, _r as D, mr as E, hn as F, it as G, wt as H, dn as I, Qe as J, et as K, ln as L, Cn as M, vn as N, vr as O, gn as P, $ as Q, on as R, qr as S, gr as T, yt as U, At as V, ft as W, qe as X, Ke as Y, Re as Z, gi as _, ca as a, ci as b, Ji as c, Ni as d, De as et, Mi as f, vi as g, Si as h, ma as i, Q as it, Rn as j, fr as k, Vi as l, Ei as m, ga as n, xe as nt, Zi as o, ji as p, $e as q, ha as r, be as rt, Xi as s, _a as t, Ee as tt, Bi as u, fi as v, pr as w, ni as x, di as y, Qt as z };
|
|
4233
4281
|
|
|
4234
|
-
//# sourceMappingURL=grad-vue-
|
|
4282
|
+
//# sourceMappingURL=grad-vue-BV5cHdAW.js.map
|