@illinois-grad/grad-vue 7.2.0 → 7.2.2
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/{grad-vue-Cx1uTli6.js → grad-vue-B8FlsuZs.js} +530 -573
- package/dist/grad-vue-B8FlsuZs.js.map +1 -0
- package/dist/grad-vue-elements.css +30 -30
- package/dist/grad-vue-elements.js +444 -522
- package/dist/grad-vue-elements.js.map +1 -1
- package/dist/grad-vue.css +1 -1
- package/dist/grad-vue.js +1 -2
- package/dist/plugin.js +1 -1
- package/package.json +4 -4
- package/dist/grad-vue-Cx1uTli6.js.map +0 -1
|
@@ -11,7 +11,7 @@ var t = {}, n = [], r = () => {}, i = () => !1, a = (e) => e.charCodeAt(0) === 1
|
|
|
11
11
|
}, l = Object.prototype.hasOwnProperty, u = (e, t) => l.call(e, t), d = Array.isArray, f = (e) => x(e) === "[object Map]", p = (e) => x(e) === "[object Set]", m = (e) => x(e) === "[object Date]", h = (e) => typeof e == "function", g = (e) => typeof e == "string", _ = (e) => typeof e == "symbol", v = (e) => typeof e == "object" && !!e, y = (e) => (v(e) || h(e)) && h(e.then) && h(e.catch), b = Object.prototype.toString, x = (e) => b.call(e), S = (e) => x(e).slice(8, -1), C = (e) => x(e) === "[object Object]", w = (e) => g(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, T = /* @__PURE__ */ e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"), E = (e) => {
|
|
12
12
|
let t = /* @__PURE__ */ Object.create(null);
|
|
13
13
|
return ((n) => t[n] || (t[n] = e(n)));
|
|
14
|
-
}, ee = /-\w/g, D = E((e) => e.replace(ee, (e) => e.slice(1).toUpperCase())), te = /\B([A-Z])/g, O = E((e) => e.replace(te, "-$1").toLowerCase()),
|
|
14
|
+
}, ee = /-\w/g, D = E((e) => e.replace(ee, (e) => e.slice(1).toUpperCase())), te = /\B([A-Z])/g, O = E((e) => e.replace(te, "-$1").toLowerCase()), ne = E((e) => e.charAt(0).toUpperCase() + e.slice(1)), re = E((e) => e ? `on${ne(e)}` : ""), k = (e, t) => !Object.is(e, t), A = (e, ...t) => {
|
|
15
15
|
for (let n = 0; n < e.length; n++) e[n](...t);
|
|
16
16
|
}, ie = (e, t, n, r = !1) => {
|
|
17
17
|
Object.defineProperty(e, t, {
|
|
@@ -231,11 +231,7 @@ var N, ke = /* @__PURE__ */ new WeakSet(), Ae = class {
|
|
|
231
231
|
}
|
|
232
232
|
}, je = 0, Me, Ne;
|
|
233
233
|
function Pe(e, t = !1) {
|
|
234
|
-
|
|
235
|
-
e.next = Ne, Ne = e;
|
|
236
|
-
return;
|
|
237
|
-
}
|
|
238
|
-
e.next = Me, Me = e;
|
|
234
|
+
e.flags |= 8, t ? (e.next = Ne, Ne = e) : (e.next = Me, Me = e);
|
|
239
235
|
}
|
|
240
236
|
function Fe() {
|
|
241
237
|
je++;
|
|
@@ -287,7 +283,7 @@ function Be(e) {
|
|
|
287
283
|
try {
|
|
288
284
|
Le(e);
|
|
289
285
|
let n = e.fn(e._value);
|
|
290
|
-
(t.version === 0 ||
|
|
286
|
+
(t.version === 0 || k(n, e._value)) && (e.flags |= 128, e._value = n, t.version++);
|
|
291
287
|
} catch (e) {
|
|
292
288
|
throw t.version++, e;
|
|
293
289
|
} finally {
|
|
@@ -589,7 +585,7 @@ var vt = class {
|
|
|
589
585
|
if (!/* @__PURE__ */ qt(n) && !/* @__PURE__ */ Kt(n) && (i = /* @__PURE__ */ P(i), n = /* @__PURE__ */ P(n)), !a && /* @__PURE__ */ Qt(i) && !/* @__PURE__ */ Qt(n)) return e || (i.value = n), !0;
|
|
590
586
|
}
|
|
591
587
|
let o = a ? Number(t) < e.length : u(e, t), s = Reflect.set(e, t, n, /* @__PURE__ */ Qt(e) ? e : r);
|
|
592
|
-
return e === /* @__PURE__ */ P(r) && s && (o ?
|
|
588
|
+
return e === /* @__PURE__ */ P(r) && s && (o ? k(n, i) && rt(e, "set", t, n, i) : rt(e, "add", t, n)), s;
|
|
593
589
|
}
|
|
594
590
|
deleteProperty(e, t) {
|
|
595
591
|
let n = u(e, t), r = e[t], i = Reflect.deleteProperty(e, t);
|
|
@@ -637,7 +633,7 @@ function kt(e, t) {
|
|
|
637
633
|
let n = {
|
|
638
634
|
get(n) {
|
|
639
635
|
let r = this.__v_raw, i = /* @__PURE__ */ P(r), a = /* @__PURE__ */ P(n);
|
|
640
|
-
e || (
|
|
636
|
+
e || (k(n, a) && nt(i, "get", n), nt(i, "get", a));
|
|
641
637
|
let { has: o } = Et(i), s = t ? Tt : e ? Zt : Xt;
|
|
642
638
|
if (o.call(i, n)) return s(r.get(n));
|
|
643
639
|
if (o.call(i, a)) return s(r.get(a));
|
|
@@ -649,7 +645,7 @@ function kt(e, t) {
|
|
|
649
645
|
},
|
|
650
646
|
has(t) {
|
|
651
647
|
let n = this.__v_raw, r = /* @__PURE__ */ P(n), i = /* @__PURE__ */ P(t);
|
|
652
|
-
return e || (
|
|
648
|
+
return e || (k(t, i) && nt(r, "has", t), nt(r, "has", i)), t === i ? n.has(t) : n.has(t) || n.has(i);
|
|
653
649
|
},
|
|
654
650
|
forEach(n, r) {
|
|
655
651
|
let i = this, a = i.__v_raw, o = /* @__PURE__ */ P(a), s = t ? Tt : e ? Zt : Xt;
|
|
@@ -664,14 +660,14 @@ function kt(e, t) {
|
|
|
664
660
|
} : {
|
|
665
661
|
add(e) {
|
|
666
662
|
let n = /* @__PURE__ */ P(this), r = Et(n), i = /* @__PURE__ */ P(e), a = !t && !/* @__PURE__ */ qt(e) && !/* @__PURE__ */ Kt(e) ? i : e;
|
|
667
|
-
return r.has.call(n, a) ||
|
|
663
|
+
return r.has.call(n, a) || k(e, a) && r.has.call(n, e) || k(i, a) && r.has.call(n, i) || (n.add(a), rt(n, "add", a, a)), this;
|
|
668
664
|
},
|
|
669
665
|
set(e, n) {
|
|
670
666
|
!t && !/* @__PURE__ */ qt(n) && !/* @__PURE__ */ Kt(n) && (n = /* @__PURE__ */ P(n));
|
|
671
667
|
let r = /* @__PURE__ */ P(this), { has: i, get: a } = Et(r), o = i.call(r, e);
|
|
672
668
|
o ||= (e = /* @__PURE__ */ P(e), i.call(r, e));
|
|
673
669
|
let s = a.call(r, e);
|
|
674
|
-
return r.set(e, n), o ?
|
|
670
|
+
return r.set(e, n), o ? k(n, s) && rt(r, "set", e, n, s) : rt(r, "add", e, n), this;
|
|
675
671
|
},
|
|
676
672
|
delete(e) {
|
|
677
673
|
let t = /* @__PURE__ */ P(this), { has: n, get: r } = Et(t), i = n.call(t, e);
|
|
@@ -782,7 +778,7 @@ var tn = class {
|
|
|
782
778
|
}
|
|
783
779
|
set value(e) {
|
|
784
780
|
let t = this._rawValue, n = this.__v_isShallow || /* @__PURE__ */ qt(e) || /* @__PURE__ */ Kt(e);
|
|
785
|
-
e = n ? e : /* @__PURE__ */ P(e),
|
|
781
|
+
e = n ? e : /* @__PURE__ */ P(e), k(e, t) && (this._rawValue = e, this._value = n ? e : Xt(e), this.dep.trigger());
|
|
786
782
|
}
|
|
787
783
|
};
|
|
788
784
|
function I(e) {
|
|
@@ -925,7 +921,7 @@ function vn(e, n, i = t) {
|
|
|
925
921
|
if (m.flags & 1 && (m.dirty || e)) {
|
|
926
922
|
if (n) {
|
|
927
923
|
let t = m.run();
|
|
928
|
-
if (e || o || y || (b ? t.some((e, t) =>
|
|
924
|
+
if (e || o || y || (b ? t.some((e, t) => k(e, C[t])) : k(t, C))) {
|
|
929
925
|
_ && _();
|
|
930
926
|
let e = gn;
|
|
931
927
|
gn = m;
|
|
@@ -1589,14 +1585,14 @@ function ri(e, t, n = !0, r = !1) {
|
|
|
1589
1585
|
let n = i.type;
|
|
1590
1586
|
if (e === ei) {
|
|
1591
1587
|
let e = co(n, !1);
|
|
1592
|
-
if (e && (e === t || e === D(t) || e ===
|
|
1588
|
+
if (e && (e === t || e === D(t) || e === ne(D(t)))) return n;
|
|
1593
1589
|
}
|
|
1594
1590
|
let a = ii(i[e] || n[e], t) || ii(i.appContext[e], t);
|
|
1595
1591
|
return !a && r ? n : a;
|
|
1596
1592
|
}
|
|
1597
1593
|
}
|
|
1598
1594
|
function ii(e, t) {
|
|
1599
|
-
return e && (e[t] || e[D(t)] || e[
|
|
1595
|
+
return e && (e[t] || e[D(t)] || e[ne(D(t))]);
|
|
1600
1596
|
}
|
|
1601
1597
|
function V(e, t, n, r) {
|
|
1602
1598
|
let i, a = n && n[r], o = d(e);
|
|
@@ -1718,7 +1714,7 @@ var mi = !0;
|
|
|
1718
1714
|
function hi(e) {
|
|
1719
1715
|
let t = yi(e), n = e.proxy, i = e.ctx;
|
|
1720
1716
|
mi = !1, t.beforeCreate && _i(t.beforeCreate, e, "bc");
|
|
1721
|
-
let { data: a, computed: o, methods: s, watch: c, provide: l, inject: u, created: f, beforeMount: p, mounted: m, beforeUpdate: g, updated: _, activated: y, deactivated: b, beforeDestroy: x, beforeUnmount: S, destroyed: C, unmounted: w, render: T, renderTracked: E, renderTriggered: ee, errorCaptured: D, serverPrefetch: te, expose: O, inheritAttrs:
|
|
1717
|
+
let { data: a, computed: o, methods: s, watch: c, provide: l, inject: u, created: f, beforeMount: p, mounted: m, beforeUpdate: g, updated: _, activated: y, deactivated: b, beforeDestroy: x, beforeUnmount: S, destroyed: C, unmounted: w, render: T, renderTracked: E, renderTriggered: ee, errorCaptured: D, serverPrefetch: te, expose: O, inheritAttrs: ne, components: re, directives: k, filters: A } = t;
|
|
1722
1718
|
if (u && gi(u, i, null), s) for (let e in s) {
|
|
1723
1719
|
let t = s[e];
|
|
1724
1720
|
h(t) && (i[e] = t.bind(n));
|
|
@@ -1762,7 +1758,7 @@ function hi(e) {
|
|
|
1762
1758
|
});
|
|
1763
1759
|
} else e.exposed ||= {};
|
|
1764
1760
|
}
|
|
1765
|
-
T && e.render === r && (e.render = T),
|
|
1761
|
+
T && e.render === r && (e.render = T), ne != null && (e.inheritAttrs = ne), re && (e.components = re), k && (e.directives = k), te && Ar(e);
|
|
1766
1762
|
}
|
|
1767
1763
|
function gi(e, t, n = r) {
|
|
1768
1764
|
d(e) && (e = wi(e));
|
|
@@ -1947,16 +1943,16 @@ function Ni(e, n, r = t) {
|
|
|
1947
1943
|
let l, u = t, d;
|
|
1948
1944
|
return Zn(() => {
|
|
1949
1945
|
let t = e[a];
|
|
1950
|
-
|
|
1946
|
+
k(l, t) && (l = t, c());
|
|
1951
1947
|
}), {
|
|
1952
1948
|
get() {
|
|
1953
1949
|
return s(), r.get ? r.get(l) : l;
|
|
1954
1950
|
},
|
|
1955
1951
|
set(e) {
|
|
1956
1952
|
let s = r.set ? r.set(e) : e;
|
|
1957
|
-
if (!
|
|
1953
|
+
if (!k(s, l) && !(u !== t && k(e, u))) return;
|
|
1958
1954
|
let f = i.vnode.props, p = !!(f && (n in f || a in f || o in f) && (`onUpdate:${n}` in f || `onUpdate:${a}` in f || `onUpdate:${o}` in f));
|
|
1959
|
-
p || (l = e, c()), i.emit(`update:${n}`, s),
|
|
1955
|
+
p || (l = e, c()), i.emit(`update:${n}`, s), k(e, u) && (k(e, s) && !k(s, d) || p && u !== t && !k(s, l)) && c(), u = e, d = s;
|
|
1960
1956
|
}
|
|
1961
1957
|
};
|
|
1962
1958
|
});
|
|
@@ -1975,8 +1971,8 @@ function Fi(e, n, ...r) {
|
|
|
1975
1971
|
if (e.isUnmounted) return;
|
|
1976
1972
|
let i = e.vnode.props || t, a = r, o = n.startsWith("update:"), s = o && Pi(i, n.slice(7));
|
|
1977
1973
|
s && (s.trim && (a = r.map((e) => g(e) ? e.trim() : e)), s.number && (a = a.map(ae)));
|
|
1978
|
-
let c, l = i[c =
|
|
1979
|
-
!l && o && (l = i[c =
|
|
1974
|
+
let c, l = i[c = re(n)] || i[c = re(D(n))];
|
|
1975
|
+
!l && o && (l = i[c = re(O(n))]), l && xn(l, e, 6, a);
|
|
1980
1976
|
let u = i[c + "Once"];
|
|
1981
1977
|
if (u) {
|
|
1982
1978
|
if (!e.emitted) e.emitted = {};
|
|
@@ -2235,9 +2231,9 @@ function fa(e, i) {
|
|
|
2235
2231
|
e ?? x(t, r, i, s);
|
|
2236
2232
|
break;
|
|
2237
2233
|
case W:
|
|
2238
|
-
|
|
2234
|
+
re(e, t, r, i, a, o, s, c, l);
|
|
2239
2235
|
break;
|
|
2240
|
-
default: f & 1 ? w(e, t, r, i, a, o, s, c, l) : f & 6 ?
|
|
2236
|
+
default: f & 1 ? w(e, t, r, i, a, o, s, c, l) : f & 6 ? k(e, t, r, i, a, o, s, c, l) : (f & 64 || f & 128) && u.process(e, t, r, i, a, o, s, c, l, be);
|
|
2241
2237
|
}
|
|
2242
2238
|
d != null && a ? Pr(d, e && e.ref, o, t || e, !t) : d == null && e && e.ref != null && Pr(e.ref, null, o, e, !0);
|
|
2243
2239
|
}, y = (e, t, n, r) => {
|
|
@@ -2300,7 +2296,7 @@ function fa(e, i) {
|
|
|
2300
2296
|
u |= e.patchFlag & 16;
|
|
2301
2297
|
let m = e.props || t, h = n.props || t, g;
|
|
2302
2298
|
if (r && ma(r, !1), (g = h.onVnodeBeforeUpdate) && Ua(g, r, n, e), f && Wn(n, e, r, "beforeUpdate"), r && ma(r, !0), d && (!e.dynamicChildren || e.dynamicChildren.length !== d.length) && (u = 0, s = !1, d = null), (m.innerHTML && h.innerHTML == null || m.textContent && h.textContent == null) && p(l, ""), d ? O(e.dynamicChildren, d, l, r, i, pa(n, a), o) : s || le(e, n, l, null, r, i, pa(n, a), o, !1), u > 0) {
|
|
2303
|
-
if (u & 16)
|
|
2299
|
+
if (u & 16) ne(l, m, h, r, a);
|
|
2304
2300
|
else if (u & 2 && m.class !== h.class && c(l, "class", null, h.class, a), u & 4 && c(l, "style", m.style, h.style, a), u & 8) {
|
|
2305
2301
|
let e = n.dynamicProps;
|
|
2306
2302
|
for (let t = 0; t < e.length; t++) {
|
|
@@ -2309,7 +2305,7 @@ function fa(e, i) {
|
|
|
2309
2305
|
}
|
|
2310
2306
|
}
|
|
2311
2307
|
u & 1 && e.children !== n.children && p(l, n.children);
|
|
2312
|
-
} else !s && d == null &&
|
|
2308
|
+
} else !s && d == null && ne(l, m, h, r, a);
|
|
2313
2309
|
((g = h.onVnodeUpdated) || f) && ua(() => {
|
|
2314
2310
|
g && Ua(g, r, n, e), f && Wn(n, e, r, "updated");
|
|
2315
2311
|
}, i);
|
|
@@ -2318,7 +2314,7 @@ function fa(e, i) {
|
|
|
2318
2314
|
let c = e[s], l = t[s], u = c.el && (c.type === W || !Na(c, l) || c.shapeFlag & 198) ? m(c.el) : n;
|
|
2319
2315
|
v(c, l, u, null, r, i, a, o, !0);
|
|
2320
2316
|
}
|
|
2321
|
-
},
|
|
2317
|
+
}, ne = (e, n, r, i, a) => {
|
|
2322
2318
|
if (n !== r) {
|
|
2323
2319
|
if (n !== t) for (let t in n) !T(t) && !(t in r) && c(e, t, n[t], null, a, i);
|
|
2324
2320
|
for (let t in r) {
|
|
@@ -2328,10 +2324,10 @@ function fa(e, i) {
|
|
|
2328
2324
|
}
|
|
2329
2325
|
"value" in r && c(e, "value", n.value, r.value, a);
|
|
2330
2326
|
}
|
|
2331
|
-
},
|
|
2327
|
+
}, re = (e, t, n, r, i, a, s, c, l) => {
|
|
2332
2328
|
let d = t.el = e ? e.el : u(""), f = t.anchor = e ? e.anchor : u(""), { patchFlag: p, dynamicChildren: m, slotScopeIds: h } = t;
|
|
2333
2329
|
h && (c = c ? c.concat(h) : h), e == null ? (o(d, n, r), o(f, n, r), D(t.children || [], n, f, i, a, s, c, l)) : p > 0 && p & 64 && m && e.dynamicChildren && e.dynamicChildren.length === m.length ? (O(e.dynamicChildren, m, n, i, a, s, c), (t.key != null || i && t === i.subTree) && ga(e, t, !0)) : le(e, t, n, f, i, a, s, c, l);
|
|
2334
|
-
},
|
|
2330
|
+
}, k = (e, t, n, r, i, a, o, s, c) => {
|
|
2335
2331
|
t.slotScopeIds = s, e == null ? t.shapeFlag & 512 ? i.ctx.activate(t, n, r, o, c) : ie(t, n, r, i, a, o, c) : ae(e, t, c);
|
|
2336
2332
|
}, ie = (e, t, n, r, i, a, o) => {
|
|
2337
2333
|
let s = e.component = Ka(e, r, i);
|
|
@@ -2366,12 +2362,12 @@ function fa(e, i) {
|
|
|
2366
2362
|
}
|
|
2367
2363
|
}
|
|
2368
2364
|
let u = t, d;
|
|
2369
|
-
ma(e, !1), t ? (t.el = c.el, se(e, t, o)) : t = c, n &&
|
|
2365
|
+
ma(e, !1), t ? (t.el = c.el, se(e, t, o)) : t = c, n && A(n), (d = t.props && t.props.onVnodeBeforeUpdate) && Ua(d, s, t, c), ma(e, !0);
|
|
2370
2366
|
let f = zi(e), p = e.subTree;
|
|
2371
2367
|
e.subTree = f, v(p, f, m(p.el), _e(p), e, i, a), t.el = f.el, u === null && Gi(e, f.el), r && ua(r, i), (d = t.props && t.props.onVnodeUpdated) && ua(() => Ua(d, s, t, c), i);
|
|
2372
2368
|
} else {
|
|
2373
2369
|
let o, { el: s, props: c } = t, { bm: l, m: u, parent: d, root: f, type: p } = e, m = Ir(t);
|
|
2374
|
-
if (ma(e, !1), l &&
|
|
2370
|
+
if (ma(e, !1), l && A(l), !m && (o = c && c.onVnodeBeforeMount) && Ua(o, d, t), ma(e, !0), s && Se) {
|
|
2375
2371
|
let t = () => {
|
|
2376
2372
|
e.subTree = zi(e), Se(s, e.subTree, e, i, null);
|
|
2377
2373
|
};
|
|
@@ -2468,29 +2464,15 @@ function fa(e, i) {
|
|
|
2468
2464
|
}
|
|
2469
2465
|
}, fe = (e, t, n, r, i = null) => {
|
|
2470
2466
|
let { el: a, type: c, transition: l, children: u, shapeFlag: d } = e;
|
|
2471
|
-
if (d & 6)
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
if (d & 128) {
|
|
2476
|
-
e.suspense.move(t, n, r);
|
|
2477
|
-
return;
|
|
2478
|
-
}
|
|
2479
|
-
if (d & 64) {
|
|
2480
|
-
c.move(e, t, n, be);
|
|
2481
|
-
return;
|
|
2482
|
-
}
|
|
2483
|
-
if (c === W) {
|
|
2467
|
+
if (d & 6) fe(e.component.subTree, t, n, r);
|
|
2468
|
+
else if (d & 128) e.suspense.move(t, n, r);
|
|
2469
|
+
else if (d & 64) c.move(e, t, n, be);
|
|
2470
|
+
else if (c === W) {
|
|
2484
2471
|
o(a, t, n);
|
|
2485
2472
|
for (let e = 0; e < u.length; e++) fe(u[e], t, n, r);
|
|
2486
2473
|
o(e.anchor, t, n);
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
if (c === Ta) {
|
|
2490
|
-
S(e, t, n);
|
|
2491
|
-
return;
|
|
2492
|
-
}
|
|
2493
|
-
if (r !== 2 && d & 1 && l) {
|
|
2474
|
+
} else if (c === Ta) S(e, t, n);
|
|
2475
|
+
else if (r !== 2 && d & 1 && l) {
|
|
2494
2476
|
if (r === 0) l.persisted && !a[hr] ? o(a, t, n) : (l.beforeEnter(a), o(a, t, n), ua(() => l.enter(a), i));
|
|
2495
2477
|
else {
|
|
2496
2478
|
let { leave: r, delayLeave: i, afterLeave: c } = l, u = () => {
|
|
@@ -2546,7 +2528,7 @@ function fa(e, i) {
|
|
|
2546
2528
|
s(t);
|
|
2547
2529
|
}, he = (e, t, n) => {
|
|
2548
2530
|
let { bum: r, scope: i, job: a, subTree: o, um: s, m: c, a: l } = e;
|
|
2549
|
-
ya(c), ya(l), r &&
|
|
2531
|
+
ya(c), ya(l), r && A(r), i.stop(), a ? (a.flags |= 8, pe(o, e, t, n)) : e.vnode.el && o && (o.transition = e.vnode.transition, pe(o, e, t, n)), s && ua(s, t), ua(() => {
|
|
2550
2532
|
e.isUnmounted = !0;
|
|
2551
2533
|
}, t);
|
|
2552
2534
|
}, ge = (e, t, n, r = !1, i = !1, a = 0) => {
|
|
@@ -3210,7 +3192,7 @@ function $o(e, t) {
|
|
|
3210
3192
|
if (n) return n;
|
|
3211
3193
|
let r = D(t);
|
|
3212
3194
|
if (r !== "filter" && r in e) return Qo[t] = r;
|
|
3213
|
-
r =
|
|
3195
|
+
r = ne(r);
|
|
3214
3196
|
for (let n = 0; n < Zo.length; n++) {
|
|
3215
3197
|
let i = Zo[n] + r;
|
|
3216
3198
|
if (i in e) return Qo[t] = i;
|
|
@@ -3848,9 +3830,7 @@ function Cc(e, t = {}) {
|
|
|
3848
3830
|
let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), i = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || i);
|
|
3849
3831
|
return n && a && (a = r >= rc(n[1])), i && a && (a = r <= rc(i[1])), t ? !a : a;
|
|
3850
3832
|
});
|
|
3851
|
-
|
|
3852
|
-
}
|
|
3853
|
-
i.value && (o.value = n.matchMedia(nn(e)), s.value = o.value.matches);
|
|
3833
|
+
} else i.value && (o.value = n.matchMedia(nn(e)), s.value = o.value.matches);
|
|
3854
3834
|
}), hc(o, "change", (e) => {
|
|
3855
3835
|
s.value = e.matches;
|
|
3856
3836
|
}, { passive: !0 }), Q(() => s.value);
|
|
@@ -4040,11 +4020,8 @@ function Pc(e, t, n, r = {}) {
|
|
|
4040
4020
|
}
|
|
4041
4021
|
function T(e) {
|
|
4042
4022
|
if (!(e && e.storageArea !== n)) {
|
|
4043
|
-
if (e && e.key == null)
|
|
4044
|
-
|
|
4045
|
-
return;
|
|
4046
|
-
}
|
|
4047
|
-
if (!(e && e.key !== h.value)) {
|
|
4023
|
+
if (e && e.key == null) m.value = g;
|
|
4024
|
+
else if (!(e && e.key !== h.value)) {
|
|
4048
4025
|
y();
|
|
4049
4026
|
try {
|
|
4050
4027
|
let t = v.write(m.value);
|
|
@@ -4528,13 +4505,7 @@ var Ml = {
|
|
|
4528
4505
|
return e.posTabIndexesFound;
|
|
4529
4506
|
}) && a.containerGroups.length > 1) throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
|
|
4530
4507
|
}, p = function(e) {
|
|
4531
|
-
|
|
4532
|
-
if (!e || !e.focus) {
|
|
4533
|
-
p(d());
|
|
4534
|
-
return;
|
|
4535
|
-
}
|
|
4536
|
-
e.focus({ preventScroll: !!i.preventScroll }), a.mostRecentlyFocusedNode = e, Nl(e) && e.select();
|
|
4537
|
-
}
|
|
4508
|
+
e !== !1 && e !== u(document) && (!e || !e.focus ? p(d()) : (e.focus({ preventScroll: !!i.preventScroll }), a.mostRecentlyFocusedNode = e, Nl(e) && e.select()));
|
|
4538
4509
|
}, m = function(e) {
|
|
4539
4510
|
var t = l("setReturnFocus", { params: [e] });
|
|
4540
4511
|
return t || t !== !1 && e;
|
|
@@ -4567,13 +4538,7 @@ var Ml = {
|
|
|
4567
4538
|
} else s = l("fallbackFocus");
|
|
4568
4539
|
return s;
|
|
4569
4540
|
}, g = function(e) {
|
|
4570
|
-
|
|
4571
|
-
if (zl(i.clickOutsideDeactivates, e)) {
|
|
4572
|
-
o.deactivate({ returnFocus: i.returnFocusOnDeactivate });
|
|
4573
|
-
return;
|
|
4574
|
-
}
|
|
4575
|
-
zl(i.allowOutsideClick, e) || e.preventDefault();
|
|
4576
|
-
}
|
|
4541
|
+
c(Bl(e), e) >= 0 || (zl(i.clickOutsideDeactivates, e) ? o.deactivate({ returnFocus: i.returnFocusOnDeactivate }) : zl(i.allowOutsideClick, e) || e.preventDefault());
|
|
4577
4542
|
}, _ = function(e) {
|
|
4578
4543
|
var t = Bl(e), n = c(t, e) >= 0;
|
|
4579
4544
|
if (n || t instanceof Document) n && (a.mostRecentlyFocusedNode = t);
|
|
@@ -4998,11 +4963,7 @@ var Zl = { class: "g-btn--icon" }, Ql = { class: "g-btn--label" }, $l = /*@__PUR
|
|
|
4998
4963
|
}
|
|
4999
4964
|
]);
|
|
5000
4965
|
function s(e) {
|
|
5001
|
-
|
|
5002
|
-
e.preventDefault(), e.stopPropagation();
|
|
5003
|
-
return;
|
|
5004
|
-
}
|
|
5005
|
-
i("click", e);
|
|
4966
|
+
n.disabled ? (e.preventDefault(), e.stopPropagation()) : i("click", e);
|
|
5006
4967
|
}
|
|
5007
4968
|
return (t, i) => (G(), q(ni(n.component ? n.component : "button"), Ha(I(a), {
|
|
5008
4969
|
to: n.to,
|
|
@@ -5235,7 +5196,7 @@ var du = /* @__PURE__ */ z({
|
|
|
5235
5196
|
let t = e?.previousElementSibling;
|
|
5236
5197
|
return t instanceof HTMLElement ? t : null;
|
|
5237
5198
|
}
|
|
5238
|
-
function
|
|
5199
|
+
function ne() {
|
|
5239
5200
|
if (!l.value || !u.value) return;
|
|
5240
5201
|
let e = l.value, t = u.value, n = new DOMRect(0, 0, window.innerWidth, window.innerHeight), i = Math.max(n.height - 32, 0), a = window.getComputedStyle(e), o = t.offsetHeight + Number.parseFloat(a.paddingTop) + Number.parseFloat(a.paddingBottom) + Number.parseFloat(a.borderTopWidth) + Number.parseFloat(a.borderBottomWidth);
|
|
5241
5202
|
ee.value = o > i, D.value = ee.value ? i : null;
|
|
@@ -5259,10 +5220,10 @@ var du = /* @__PURE__ */ z({
|
|
|
5259
5220
|
}
|
|
5260
5221
|
return R(a, (e) => {
|
|
5261
5222
|
e ? jn(() => {
|
|
5262
|
-
|
|
5263
|
-
}) : (window.removeEventListener("resize",
|
|
5223
|
+
ne(), window.addEventListener("resize", ne), window.addEventListener("scroll", ne, { capture: !0 }), l.value && (te && te.disconnect(), te = new ResizeObserver(() => ne()), u.value && te.observe(u.value));
|
|
5224
|
+
}) : (window.removeEventListener("resize", ne), window.removeEventListener("scroll", ne, { capture: !0 }), te && te.disconnect());
|
|
5264
5225
|
}), Jr(() => {
|
|
5265
|
-
window.removeEventListener("resize",
|
|
5226
|
+
window.removeEventListener("resize", ne), window.removeEventListener("scroll", ne, { capture: !0 }), te && te.disconnect();
|
|
5266
5227
|
}), t({
|
|
5267
5228
|
show: b,
|
|
5268
5229
|
hide: x,
|
|
@@ -5420,25 +5381,13 @@ var du = /* @__PURE__ */ z({
|
|
|
5420
5381
|
s.value !== e && (s.value = e, a("update:modelValue", e));
|
|
5421
5382
|
}
|
|
5422
5383
|
function d() {
|
|
5423
|
-
|
|
5424
|
-
u(!0);
|
|
5425
|
-
return;
|
|
5426
|
-
}
|
|
5427
|
-
i?.open && (i.open.value = !0);
|
|
5384
|
+
o.value ? u(!0) : i?.open && (i.open.value = !0);
|
|
5428
5385
|
}
|
|
5429
5386
|
function f() {
|
|
5430
|
-
|
|
5431
|
-
u(!1);
|
|
5432
|
-
return;
|
|
5433
|
-
}
|
|
5434
|
-
i?.open && (i.open.value = !1);
|
|
5387
|
+
o.value ? u(!1) : i?.open && (i.open.value = !1);
|
|
5435
5388
|
}
|
|
5436
5389
|
function p() {
|
|
5437
|
-
|
|
5438
|
-
u(!s.value);
|
|
5439
|
-
return;
|
|
5440
|
-
}
|
|
5441
|
-
i?.toggle();
|
|
5390
|
+
a("toggle"), o.value ? u(!s.value) : i?.toggle();
|
|
5442
5391
|
}
|
|
5443
5392
|
function m(e) {
|
|
5444
5393
|
e.key === "Escape" && f();
|
|
@@ -5558,9 +5507,7 @@ var du = /* @__PURE__ */ z({
|
|
|
5558
5507
|
if (e) {
|
|
5559
5508
|
if (t < 0) return;
|
|
5560
5509
|
await jn(), r.value?.show(), await r.value?.focusItem(t);
|
|
5561
|
-
|
|
5562
|
-
}
|
|
5563
|
-
r.value?.hide(), !(t < 0) && (await jn(), a(t));
|
|
5510
|
+
} else r.value?.hide(), !(t < 0) && (await jn(), a(t));
|
|
5564
5511
|
}
|
|
5565
5512
|
}), (i, a) => (G(), K("header", { class: j(["g-app-header", { "g-app-header--no-app-controls": !i.$slots["app-controls"] }]) }, [
|
|
5566
5513
|
a[1] ||= J("div", { class: "g-app-header__background" }, [J("div", { class: "g-app-header__background-pattern" }), J("div", { class: "g-app-header__background-gradient" })], -1),
|
|
@@ -6919,13 +6866,13 @@ var Kd = ["id", "for"], qd = {
|
|
|
6919
6866
|
let t = e.relatedTarget;
|
|
6920
6867
|
t && c.value?.contains(t) || t && s.value?.contains(t) || w();
|
|
6921
6868
|
}
|
|
6922
|
-
function
|
|
6869
|
+
function ne(e) {
|
|
6923
6870
|
e.preventDefault();
|
|
6924
6871
|
}
|
|
6925
|
-
function
|
|
6872
|
+
function re() {
|
|
6926
6873
|
f.value = !0;
|
|
6927
6874
|
}
|
|
6928
|
-
function
|
|
6875
|
+
function k(e) {
|
|
6929
6876
|
if (n.disabled) return;
|
|
6930
6877
|
let t = b.value.length - 1;
|
|
6931
6878
|
switch (e.key) {
|
|
@@ -6953,7 +6900,7 @@ var Kd = ["id", "for"], qd = {
|
|
|
6953
6900
|
case "Backspace": !d.value && i.value.length > 0 && E(i.value[i.value.length - 1]);
|
|
6954
6901
|
}
|
|
6955
6902
|
}
|
|
6956
|
-
let
|
|
6903
|
+
let A = Q(() => `${a}-input`), ie = Q(() => `${a}-label`), ae = Q(() => `${a}-instructions`), oe = Q(() => `error-message-${a}`), se = Q(() => {
|
|
6957
6904
|
let e = [];
|
|
6958
6905
|
return n.instructions && e.push(ae.value), m.value && e.push(oe.value), e.length > 0 ? e.join(" ") : void 0;
|
|
6959
6906
|
});
|
|
@@ -6964,7 +6911,7 @@ var Kd = ["id", "for"], qd = {
|
|
|
6964
6911
|
e.hiddenLabel ? Z("", !0) : (G(), K("label", {
|
|
6965
6912
|
key: 0,
|
|
6966
6913
|
id: ie.value,
|
|
6967
|
-
for:
|
|
6914
|
+
for: A.value,
|
|
6968
6915
|
class: "g-multiselect-label"
|
|
6969
6916
|
}, [X(M(e.label), 1), e.required ? (G(), K("span", qd, " *")) : Z("", !0)], 8, Kd)),
|
|
6970
6917
|
e.instructions ? (G(), K("div", {
|
|
@@ -6990,7 +6937,7 @@ var Kd = ["id", "for"], qd = {
|
|
|
6990
6937
|
class: "g-multiselect-chip-remove",
|
|
6991
6938
|
"aria-label": `Remove ${S(t)}`,
|
|
6992
6939
|
disabled: e.disabled,
|
|
6993
|
-
onMousedown:
|
|
6940
|
+
onMousedown: re,
|
|
6994
6941
|
onClick: Ts((e) => E(t), ["stop"])
|
|
6995
6942
|
}, [...n[0] ||= [J("svg", {
|
|
6996
6943
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7007,7 +6954,7 @@ var Kd = ["id", "for"], qd = {
|
|
|
7007
6954
|
type: "text",
|
|
7008
6955
|
role: "combobox",
|
|
7009
6956
|
class: "g-multiselect-input",
|
|
7010
|
-
id:
|
|
6957
|
+
id: A.value,
|
|
7011
6958
|
value: d.value,
|
|
7012
6959
|
placeholder: i.value.length === 0 ? e.placeholder : void 0,
|
|
7013
6960
|
disabled: e.disabled,
|
|
@@ -7021,7 +6968,7 @@ var Kd = ["id", "for"], qd = {
|
|
|
7021
6968
|
"aria-describedby": se.value,
|
|
7022
6969
|
"aria-required": e.required ? "true" : void 0,
|
|
7023
6970
|
onInput: D,
|
|
7024
|
-
onKeydown:
|
|
6971
|
+
onKeydown: k,
|
|
7025
6972
|
onFocus: te,
|
|
7026
6973
|
onBlur: O
|
|
7027
6974
|
}), null, 16, Qd),
|
|
@@ -7054,7 +7001,7 @@ var Kd = ["id", "for"], qd = {
|
|
|
7054
7001
|
"g-multiselect-option--selected": x(e.value)
|
|
7055
7002
|
}]),
|
|
7056
7003
|
"aria-selected": x(e.value) ? "true" : "false",
|
|
7057
|
-
onMousedown:
|
|
7004
|
+
onMousedown: ne,
|
|
7058
7005
|
onClick: (e) => T(t)
|
|
7059
7006
|
}, [J("span", tf, [x(e.value) ? (G(), K("svg", nf, [...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)]), J("span", rf, [J("span", af, M(e.label), 1), e.description ? (G(), K("span", of, M(e.description), 1)) : Z("", !0)])], 42, ef))), 128)) : (G(), K("div", sf, " No results found. "))], 16, $d), [[Wo, l.value]])
|
|
7060
7007
|
], 2),
|
|
@@ -7105,11 +7052,7 @@ var Kd = ["id", "for"], qd = {
|
|
|
7105
7052
|
u.value = !1, d.value = !1;
|
|
7106
7053
|
}
|
|
7107
7054
|
function S() {
|
|
7108
|
-
|
|
7109
|
-
x();
|
|
7110
|
-
return;
|
|
7111
|
-
}
|
|
7112
|
-
b();
|
|
7055
|
+
u.value || d.value ? x() : b();
|
|
7113
7056
|
}
|
|
7114
7057
|
function C(e) {
|
|
7115
7058
|
g !== e && (w(), g = e, g && (g.addEventListener("mouseenter", T), g.addEventListener("mouseleave", E), g.addEventListener("focusin", ee), g.addEventListener("focusout", D), g.addEventListener("keydown", te)));
|
|
@@ -7141,13 +7084,9 @@ var Kd = ["id", "for"], qd = {
|
|
|
7141
7084
|
}, { immediate: !0 }), R(() => r.text, (e) => {
|
|
7142
7085
|
l.value && (l.value.textContent = e);
|
|
7143
7086
|
}), R(() => u.value || d.value, (e) => {
|
|
7144
|
-
|
|
7145
|
-
v(), l.value && g && Zu(g, l.value), p ||= (window.addEventListener("scroll", y, { capture: !0 }), !0);
|
|
7146
|
-
return;
|
|
7147
|
-
}
|
|
7148
|
-
p &&= (window.removeEventListener("scroll", y, { capture: !0 }), !1), l.value && (Qu(l.value), m && clearTimeout(m), m = window.setTimeout(() => {
|
|
7087
|
+
e ? (v(), l.value && g && Zu(g, l.value), p ||= (window.addEventListener("scroll", y, { capture: !0 }), !0)) : (p &&= (window.removeEventListener("scroll", y, { capture: !0 }), !1), l.value && (Qu(l.value), m && clearTimeout(m), m = window.setTimeout(() => {
|
|
7149
7088
|
i("tooltip-hide");
|
|
7150
|
-
}, 150));
|
|
7089
|
+
}, 150)));
|
|
7151
7090
|
}), Jr(() => {
|
|
7152
7091
|
p && window.removeEventListener("scroll", y, { capture: !0 }), f && f.disconnect(), l.value &&= (l.value.remove(), null), m && clearTimeout(m), o.value && g && g.removeAttribute("aria-describedby"), w();
|
|
7153
7092
|
}), t({
|
|
@@ -7522,11 +7461,7 @@ var Kd = ["id", "for"], qd = {
|
|
|
7522
7461
|
}
|
|
7523
7462
|
function ee(e) {
|
|
7524
7463
|
let t = e.relatedTarget;
|
|
7525
|
-
|
|
7526
|
-
d.value = !1;
|
|
7527
|
-
return;
|
|
7528
|
-
}
|
|
7529
|
-
t && s.value && s.value.contains(t) || (n.searchable && (b.value = ""), w());
|
|
7464
|
+
d.value ? d.value = !1 : t && s.value && s.value.contains(t) || (n.searchable && (b.value = ""), w());
|
|
7530
7465
|
}
|
|
7531
7466
|
function D(e) {
|
|
7532
7467
|
let t = x.value[e];
|
|
@@ -7545,11 +7480,8 @@ var Kd = ["id", "for"], qd = {
|
|
|
7545
7480
|
"ArrowUp",
|
|
7546
7481
|
"Enter",
|
|
7547
7482
|
" "
|
|
7548
|
-
].includes(e.key))
|
|
7549
|
-
|
|
7550
|
-
return;
|
|
7551
|
-
}
|
|
7552
|
-
switch (e.key) {
|
|
7483
|
+
].includes(e.key)) e.preventDefault(), C();
|
|
7484
|
+
else switch (e.key) {
|
|
7553
7485
|
case "ArrowDown":
|
|
7554
7486
|
e.preventDefault(), l.value ? (u.value = Math.min(t, u.value + 1), v()) : C();
|
|
7555
7487
|
break;
|
|
@@ -7570,14 +7502,14 @@ var Kd = ["id", "for"], qd = {
|
|
|
7570
7502
|
}, 0));
|
|
7571
7503
|
}
|
|
7572
7504
|
}
|
|
7573
|
-
function
|
|
7505
|
+
function ne(e) {
|
|
7574
7506
|
D(e);
|
|
7575
7507
|
}
|
|
7576
|
-
function
|
|
7508
|
+
function re() {
|
|
7577
7509
|
d.value = !0;
|
|
7578
7510
|
}
|
|
7579
|
-
let
|
|
7580
|
-
function
|
|
7511
|
+
let k = Q(() => n.clearButton && i.value !== null && i.value !== void 0 && !n.disabled);
|
|
7512
|
+
function A() {
|
|
7581
7513
|
n.disabled || (i.value = null, r("change", null), n.searchable && (b.value = ""));
|
|
7582
7514
|
}
|
|
7583
7515
|
return (t, r) => (G(), K("div", { class: j(["g-select-root g-select-combo", {
|
|
@@ -7618,11 +7550,11 @@ var Kd = ["id", "for"], qd = {
|
|
|
7618
7550
|
role: "combobox",
|
|
7619
7551
|
autocomplete: "off"
|
|
7620
7552
|
}), null, 16, jf),
|
|
7621
|
-
|
|
7553
|
+
k.value ? (G(), K("button", {
|
|
7622
7554
|
key: 0,
|
|
7623
7555
|
type: "button",
|
|
7624
7556
|
class: "g-select-clear-btn",
|
|
7625
|
-
onClick:
|
|
7557
|
+
onClick: A
|
|
7626
7558
|
}, [...r[0] ||= [J("svg", {
|
|
7627
7559
|
role: "img",
|
|
7628
7560
|
"aria-label": "Clear Selection",
|
|
@@ -7663,11 +7595,11 @@ var Kd = ["id", "for"], qd = {
|
|
|
7663
7595
|
onBlur: ee
|
|
7664
7596
|
}), [
|
|
7665
7597
|
X(M(y.value[S.value] ? y.value[S.value].label : "") + " ", 1),
|
|
7666
|
-
|
|
7598
|
+
k.value ? (G(), K("button", {
|
|
7667
7599
|
key: 0,
|
|
7668
7600
|
type: "button",
|
|
7669
7601
|
class: "g-select-clear-btn",
|
|
7670
|
-
onClick: Ts(
|
|
7602
|
+
onClick: Ts(A, ["stop"])
|
|
7671
7603
|
}, [...r[2] ||= [J("svg", {
|
|
7672
7604
|
role: "img",
|
|
7673
7605
|
"aria-label": "Clear Selection",
|
|
@@ -7704,8 +7636,8 @@ var Kd = ["id", "for"], qd = {
|
|
|
7704
7636
|
}]),
|
|
7705
7637
|
role: "option",
|
|
7706
7638
|
"aria-selected": e.value === i.value ? "true" : "false",
|
|
7707
|
-
onMousedown:
|
|
7708
|
-
onClick: (e) =>
|
|
7639
|
+
onMousedown: re,
|
|
7640
|
+
onClick: (e) => ne(n)
|
|
7709
7641
|
}, [H(t.$slots, "option", {
|
|
7710
7642
|
option: e,
|
|
7711
7643
|
selected: e.value === i.value,
|
|
@@ -7833,21 +7765,7 @@ function Kf(e, t) {
|
|
|
7833
7765
|
return !e.value || !i ? !1 : e.value.getClientRects().length > 0 && i.getClientRects().length > 0 && i.clientHeight > 0;
|
|
7834
7766
|
}
|
|
7835
7767
|
function m() {
|
|
7836
|
-
|
|
7837
|
-
f();
|
|
7838
|
-
return;
|
|
7839
|
-
}
|
|
7840
|
-
if (n.value <= 0) {
|
|
7841
|
-
f();
|
|
7842
|
-
return;
|
|
7843
|
-
}
|
|
7844
|
-
if (p()) {
|
|
7845
|
-
if (i.scrollHeight - i.clientHeight <= 0) {
|
|
7846
|
-
f(), d();
|
|
7847
|
-
return;
|
|
7848
|
-
}
|
|
7849
|
-
i.scrollTop = n.value, s = i.scrollTop > 0, s && (f(), d());
|
|
7850
|
-
}
|
|
7768
|
+
!n || !i || s || n.value <= 0 ? f() : p() && (i.scrollHeight - i.clientHeight <= 0 ? (f(), d()) : (i.scrollTop = n.value, s = i.scrollTop > 0, s && (f(), d())));
|
|
7851
7769
|
}
|
|
7852
7770
|
function h(e) {
|
|
7853
7771
|
if (typeof MutationObserver > "u") return;
|
|
@@ -7866,21 +7784,9 @@ function Kf(e, t) {
|
|
|
7866
7784
|
}), t = t.parentElement;
|
|
7867
7785
|
}
|
|
7868
7786
|
return Gr(() => {
|
|
7869
|
-
|
|
7870
|
-
f();
|
|
7871
|
-
return;
|
|
7872
|
-
}
|
|
7873
|
-
if (!n) {
|
|
7874
|
-
f();
|
|
7875
|
-
return;
|
|
7876
|
-
}
|
|
7877
|
-
if (i = l(e.value), !i) {
|
|
7878
|
-
f();
|
|
7879
|
-
return;
|
|
7880
|
-
}
|
|
7881
|
-
m(), typeof ResizeObserver < "u" && (a = new ResizeObserver(() => {
|
|
7787
|
+
e.value && n ? (i = l(e.value), i ? (m(), typeof ResizeObserver < "u" && (a = new ResizeObserver(() => {
|
|
7882
7788
|
m();
|
|
7883
|
-
}), a.observe(e.value), a.observe(i)), h(e.value), i.addEventListener("scroll", u);
|
|
7789
|
+
}), a.observe(e.value), a.observe(i)), h(e.value), i.addEventListener("scroll", u)) : f()) : f();
|
|
7884
7790
|
}), Yr(() => {
|
|
7885
7791
|
d(), i &&= (i.removeEventListener("scroll", u), null), s = !1;
|
|
7886
7792
|
}), { isPendingScrollRestore: r };
|
|
@@ -8122,27 +8028,31 @@ var qf = ["id"], Jf = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
|
8122
8028
|
],
|
|
8123
8029
|
setup(e, { emit: t }) {
|
|
8124
8030
|
let n = e, r = t;
|
|
8125
|
-
function i(e
|
|
8126
|
-
|
|
8031
|
+
function i(e) {
|
|
8032
|
+
let t = e.currentTarget, n = e.target.closest("a,button,[tabindex],input");
|
|
8033
|
+
return !!n && t.contains(n);
|
|
8127
8034
|
}
|
|
8128
8035
|
function a(e, t) {
|
|
8129
|
-
|
|
8130
|
-
|
|
8131
|
-
|
|
8132
|
-
|
|
8036
|
+
n.bulkSelectionEnabled && e.shiftKey && !i(e) && e.preventDefault();
|
|
8037
|
+
}
|
|
8038
|
+
function o(e, t) {
|
|
8039
|
+
if (!n.rowClickable && !n.bulkSelectionEnabled || i(e)) return;
|
|
8040
|
+
let a = e.target.closest("tr");
|
|
8041
|
+
if (a) {
|
|
8042
|
+
if (n.bulkSelectionEnabled) a.querySelector("input[type=checkbox]") && c(t, e.shiftKey);
|
|
8133
8043
|
else if (n.rowClickable) {
|
|
8134
|
-
let e =
|
|
8044
|
+
let e = a.querySelector("a[href]")?.getAttribute("href");
|
|
8135
8045
|
e && r("row-click", e);
|
|
8136
8046
|
}
|
|
8137
8047
|
}
|
|
8138
8048
|
}
|
|
8139
|
-
function
|
|
8049
|
+
function s(e) {
|
|
8140
8050
|
return n.selectedRows?.includes(e) ?? !1;
|
|
8141
8051
|
}
|
|
8142
|
-
function
|
|
8052
|
+
function c(e, t = !1) {
|
|
8143
8053
|
r("toggle-row", e, t);
|
|
8144
8054
|
}
|
|
8145
|
-
function
|
|
8055
|
+
function l(e, t, n) {
|
|
8146
8056
|
let i = e.target.value;
|
|
8147
8057
|
r("cell-change", {
|
|
8148
8058
|
row: t,
|
|
@@ -8150,30 +8060,30 @@ var qf = ["id"], Jf = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
|
8150
8060
|
value: i
|
|
8151
8061
|
});
|
|
8152
8062
|
}
|
|
8153
|
-
function
|
|
8063
|
+
function u(e, t) {
|
|
8154
8064
|
let r = `${n.tableId}-th-${String(t.key)}`;
|
|
8155
8065
|
return t.editable?.labelKey ? `${`${n.tableId}-td-${e.key}-${t.editable.labelKey}`} ${r} ` : r;
|
|
8156
8066
|
}
|
|
8157
|
-
let
|
|
8067
|
+
let d = Q(() => {
|
|
8158
8068
|
for (let e of n.columns) if (e.editable?.labelKey) return e.editable.labelKey;
|
|
8159
|
-
}),
|
|
8160
|
-
function
|
|
8161
|
-
return e.key ===
|
|
8069
|
+
}), f = Q(() => Math.max(n.columns.length, 1));
|
|
8070
|
+
function p(e) {
|
|
8071
|
+
return e.key === d.value;
|
|
8162
8072
|
}
|
|
8163
|
-
function
|
|
8073
|
+
function m(e, t) {
|
|
8164
8074
|
return n.changeTracker ? n.changeTracker.hasChange(e.key, t.key) : !1;
|
|
8165
8075
|
}
|
|
8166
|
-
function
|
|
8076
|
+
function h(e, t) {
|
|
8167
8077
|
return n.changeTracker ? n.changeTracker.hasError(e.key, t.key) : !1;
|
|
8168
8078
|
}
|
|
8169
|
-
function
|
|
8079
|
+
function g(e, t) {
|
|
8170
8080
|
if (n.changeTracker) return n.changeTracker.getError(e.key, t.key);
|
|
8171
8081
|
}
|
|
8172
8082
|
return (t, n) => (G(), K("tbody", ep, [(G(!0), K(W, null, V(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", {
|
|
8173
8083
|
key: 0,
|
|
8174
8084
|
"aria-rowindex": e.startIndex + r + 2
|
|
8175
8085
|
}, [e.bulkSelectionEnabled ? (G(), K("td", np)) : Z("", !0), J("td", {
|
|
8176
|
-
colspan:
|
|
8086
|
+
colspan: f.value,
|
|
8177
8087
|
class: "table-group-row"
|
|
8178
8088
|
}, [e.groupRender ? (G(), q(ni(e.groupRender(t[e.groupBy], t)), { key: 0 })) : (G(), K(W, { key: 1 }, [X(M(t[e.groupBy]), 1)], 64))], 8, rp)], 8, tp)) : Z("", !0), J("tr", {
|
|
8179
8089
|
class: j([
|
|
@@ -8185,26 +8095,26 @@ var qf = ["id"], Jf = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
|
8185
8095
|
e.rowClass ? e.rowClass(t) : void 0
|
|
8186
8096
|
]),
|
|
8187
8097
|
"aria-rowindex": e.startIndex + r + 2,
|
|
8188
|
-
onMousedown: (e) =>
|
|
8189
|
-
onClick: (e) =>
|
|
8098
|
+
onMousedown: (e) => a(e, t.key),
|
|
8099
|
+
onClick: (e) => o(e, t.key)
|
|
8190
8100
|
}, [e.bulkSelectionEnabled ? (G(), K("td", {
|
|
8191
8101
|
key: 0,
|
|
8192
8102
|
class: "td-checkbox",
|
|
8193
8103
|
onClick: n[0] ||= Ts(() => {}, ["stop"])
|
|
8194
8104
|
}, [J("input", {
|
|
8195
8105
|
type: "checkbox",
|
|
8196
|
-
checked:
|
|
8197
|
-
onClick: (e) =>
|
|
8106
|
+
checked: s(t.key),
|
|
8107
|
+
onClick: (e) => c(t.key, e.shiftKey),
|
|
8198
8108
|
"aria-label": `Select row ${t.key}`,
|
|
8199
8109
|
name: `row-${t.key}-checkbox`,
|
|
8200
8110
|
class: "g-bulk-select-checkbox"
|
|
8201
8111
|
}, null, 8, ap)])) : Z("", !0), (G(!0), K(W, null, V(e.columns, (n) => (G(), K("td", {
|
|
8202
8112
|
key: n.key,
|
|
8203
|
-
id:
|
|
8113
|
+
id: p(n) ? `${e.tableId}-td-${t.key}-${String(n.key)}` : void 0,
|
|
8204
8114
|
class: j([
|
|
8205
8115
|
n.editable ? "editable-td" : "",
|
|
8206
|
-
|
|
8207
|
-
|
|
8116
|
+
m(t, n) ? "g-cell-changed" : "",
|
|
8117
|
+
h(t, n) ? "g-cell-error" : "",
|
|
8208
8118
|
typeof n.tdClass == "function" ? n.tdClass(t) : n.tdClass
|
|
8209
8119
|
])
|
|
8210
8120
|
}, [n.editable ? (G(), K("div", sp, [
|
|
@@ -8212,10 +8122,10 @@ var qf = ["id"], Jf = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
|
8212
8122
|
n.editable.type === "select" ? (G(), K("select", {
|
|
8213
8123
|
key: 1,
|
|
8214
8124
|
value: t[n.key],
|
|
8215
|
-
onChange: (e) =>
|
|
8216
|
-
"aria-labelledby":
|
|
8217
|
-
"aria-invalid":
|
|
8218
|
-
"aria-errormessage":
|
|
8125
|
+
onChange: (e) => l(e, t, n),
|
|
8126
|
+
"aria-labelledby": u(t, n),
|
|
8127
|
+
"aria-invalid": h(t, n),
|
|
8128
|
+
"aria-errormessage": h(t, n) ? `${e.tableId}-error-${t.key}-${String(n.key)}` : void 0,
|
|
8219
8129
|
name: `row-${t.key}-${String(n.key)}-select`,
|
|
8220
8130
|
class: "editable-input editable-select"
|
|
8221
8131
|
}, [(G(!0), K(W, null, V(n.editable.options, (e) => (G(), K("option", {
|
|
@@ -8225,10 +8135,10 @@ var qf = ["id"], Jf = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
|
8225
8135
|
key: 2,
|
|
8226
8136
|
value: t[n.key]
|
|
8227
8137
|
}, { ref_for: !0 }, n.editable.inputAttributes, {
|
|
8228
|
-
onInput: (e) =>
|
|
8229
|
-
"aria-labelledby":
|
|
8230
|
-
"aria-invalid":
|
|
8231
|
-
"aria-errormessage":
|
|
8138
|
+
onInput: (e) => l(e, t, n),
|
|
8139
|
+
"aria-labelledby": u(t, n),
|
|
8140
|
+
"aria-invalid": h(t, n),
|
|
8141
|
+
"aria-errormessage": h(t, n) ? `${e.tableId}-error-${t.key}-${String(n.key)}` : void 0,
|
|
8232
8142
|
name: `row-${t.key}-${String(n.key)}-input`,
|
|
8233
8143
|
class: "editable-input",
|
|
8234
8144
|
style: {
|
|
@@ -8237,12 +8147,12 @@ var qf = ["id"], Jf = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
|
8237
8147
|
}
|
|
8238
8148
|
}), null, 16, dp)),
|
|
8239
8149
|
n.editable.suffix ? (G(), K("span", fp, M(n.editable.suffix), 1)) : Z("", !0)
|
|
8240
|
-
])) : n.display ? (G(), q(ni(n.display(t)), { key: 1 })) : (G(), K(W, { key: 2 }, [X(M(t[n.key]), 1)], 64)),
|
|
8150
|
+
])) : n.display ? (G(), q(ni(n.display(t)), { key: 1 })) : (G(), K(W, { key: 2 }, [X(M(t[n.key]), 1)], 64)), h(t, n) ? (G(), K("div", {
|
|
8241
8151
|
key: 3,
|
|
8242
8152
|
role: "alert",
|
|
8243
8153
|
class: "g-cell-error-message",
|
|
8244
8154
|
id: `${e.tableId}-error-${t.key}-${String(n.key)}`
|
|
8245
|
-
}, M(
|
|
8155
|
+
}, M(g(t, n)), 9, pp)) : Z("", !0)], 10, op))), 128))], 42, ip)], 64))), 128))], 512));
|
|
8246
8156
|
}
|
|
8247
8157
|
}), [["styles", [""]]]);
|
|
8248
8158
|
//#endregion
|
|
@@ -8613,89 +8523,86 @@ function Xp(e, t = {}) {
|
|
|
8613
8523
|
}
|
|
8614
8524
|
//#endregion
|
|
8615
8525
|
//#region src/components/GTable.vue?vue&type=script&setup=true&lang.ts
|
|
8616
|
-
var Zp = { class: "g-table-
|
|
8617
|
-
key: 0,
|
|
8618
|
-
class: "g-table-controls"
|
|
8619
|
-
}, $p = { class: "g-table-control-actions" }, em = {
|
|
8526
|
+
var Zp = { class: "g-table-inner-wrap" }, Qp = { class: "g-table-control-actions" }, $p = {
|
|
8620
8527
|
key: 0,
|
|
8621
8528
|
class: "g-sort-builder-wrap"
|
|
8622
|
-
},
|
|
8529
|
+
}, em = {
|
|
8623
8530
|
key: 0,
|
|
8624
8531
|
class: "g-sort-builder-count"
|
|
8625
|
-
},
|
|
8532
|
+
}, tm = {
|
|
8626
8533
|
key: 0,
|
|
8627
8534
|
class: "g-sort-builder-list"
|
|
8628
|
-
},
|
|
8535
|
+
}, nm = ["data-sort-row-key", "aria-label"], rm = {
|
|
8629
8536
|
class: "g-sort-builder-rule-priority",
|
|
8630
8537
|
"aria-hidden": "true"
|
|
8631
|
-
},
|
|
8538
|
+
}, im = { class: "g-sort-builder-rule-label" }, am = ["aria-label", "onClick"], om = { class: "g-visually-hidden" }, sm = {
|
|
8632
8539
|
class: "sort-indicator",
|
|
8633
8540
|
"aria-hidden": "true"
|
|
8634
|
-
},
|
|
8541
|
+
}, cm = ["aria-label", "onClick"], lm = {
|
|
8635
8542
|
key: 1,
|
|
8636
8543
|
class: "g-sort-builder-empty"
|
|
8637
|
-
},
|
|
8544
|
+
}, um = {
|
|
8638
8545
|
key: 2,
|
|
8639
8546
|
class: "g-sort-builder-add"
|
|
8640
|
-
},
|
|
8547
|
+
}, dm = { class: "g-sort-builder-add-list" }, fm = { class: "g-sort-builder-add-name" }, pm = { class: "g-sort-builder-add-actions" }, mm = ["aria-label", "onClick"], hm = ["aria-label", "onClick"], gm = {
|
|
8641
8548
|
class: "sort-indicator",
|
|
8642
8549
|
"aria-hidden": "true"
|
|
8643
|
-
},
|
|
8550
|
+
}, _m = {
|
|
8644
8551
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8645
8552
|
viewBox: "0 0 640 640",
|
|
8646
8553
|
height: "1.25em",
|
|
8647
8554
|
style: { transform: "rotate(180deg)" }
|
|
8648
|
-
},
|
|
8555
|
+
}, vm = {
|
|
8649
8556
|
key: 1,
|
|
8650
8557
|
class: "g-column-visibility-wrap"
|
|
8651
|
-
},
|
|
8558
|
+
}, ym = {
|
|
8652
8559
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8653
8560
|
viewBox: "0 0 640 640",
|
|
8654
8561
|
height: "1.5em",
|
|
8655
8562
|
style: { transform: "rotate(90deg)" },
|
|
8656
8563
|
"aria-hidden": "true"
|
|
8657
|
-
},
|
|
8564
|
+
}, bm = ["aria-labelledby"], xm = { class: "g-column-visibility-header" }, Sm = ["id"], Cm = { class: "g-column-visibility-legend-action" }, wm = { class: "g-column-visibility-list" }, Tm = ["checked", "onChange"], Em = {
|
|
8658
8565
|
key: 2,
|
|
8659
8566
|
class: "g-table-custom-controls"
|
|
8660
|
-
},
|
|
8567
|
+
}, Dm = { class: "g-clear-filters-wrap" }, Om = {
|
|
8661
8568
|
key: 0,
|
|
8662
8569
|
class: "pagination"
|
|
8663
|
-
},
|
|
8570
|
+
}, km = { class: "g-table-controls-right" }, Am = { class: "g-result-count" }, jm = ["aria-label", "aria-rowcount"], Mm = { key: 0 }, Nm = ["data-column-key"], Pm = { class: "g-table-head" }, Fm = { "aria-rowindex": "1" }, Im = {
|
|
8664
8571
|
key: 0,
|
|
8665
8572
|
scope: "col",
|
|
8666
8573
|
class: "g-th g-th-checkbox"
|
|
8667
|
-
},
|
|
8574
|
+
}, Lm = [
|
|
8668
8575
|
"checked",
|
|
8669
8576
|
"indeterminate",
|
|
8670
8577
|
"aria-label"
|
|
8671
|
-
],
|
|
8578
|
+
], Rm = ["id", "aria-sort"], zm = { class: "th-inner" }, Bm = ["onClick"], Vm = {
|
|
8672
8579
|
key: 0,
|
|
8673
8580
|
class: "sort-indicator",
|
|
8674
8581
|
"aria-hidden": "true"
|
|
8675
|
-
},
|
|
8582
|
+
}, Hm = {
|
|
8676
8583
|
key: 1,
|
|
8677
8584
|
class: "g-visually-hidden"
|
|
8678
|
-
},
|
|
8585
|
+
}, Um = {
|
|
8679
8586
|
key: 1,
|
|
8680
8587
|
class: "g-column-head"
|
|
8681
|
-
},
|
|
8588
|
+
}, Wm = ["onClick", "aria-label"], Gm = {
|
|
8682
8589
|
key: 1,
|
|
8683
8590
|
class: "g-filter-search",
|
|
8684
8591
|
role: "search"
|
|
8685
|
-
},
|
|
8592
|
+
}, Km = [
|
|
8686
8593
|
"value",
|
|
8687
8594
|
"onInput",
|
|
8688
8595
|
"placeholder",
|
|
8689
8596
|
"aria-label"
|
|
8690
|
-
],
|
|
8597
|
+
], qm = { key: 2 }, Jm = { class: "g-filter-toggle" }, Ym = [
|
|
8691
8598
|
"checked",
|
|
8692
8599
|
"onChange",
|
|
8693
8600
|
"id",
|
|
8694
8601
|
"aria-describedby"
|
|
8695
|
-
],
|
|
8602
|
+
], Xm = ["for"], Zm = ["id"], Qm = {
|
|
8696
8603
|
key: 4,
|
|
8697
8604
|
class: "g-multi-select"
|
|
8698
|
-
},
|
|
8605
|
+
}, $m = [
|
|
8699
8606
|
"data-column-key",
|
|
8700
8607
|
"aria-label",
|
|
8701
8608
|
"aria-valuemax",
|
|
@@ -8703,10 +8610,10 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
8703
8610
|
"aria-valuetext",
|
|
8704
8611
|
"onKeydown",
|
|
8705
8612
|
"onPointerdown"
|
|
8706
|
-
],
|
|
8613
|
+
], eh = { key: 0 }, th = { "aria-rowindex": "2" }, nh = ["colspan"], rh = {
|
|
8707
8614
|
key: 1,
|
|
8708
8615
|
class: "g-bulk-actions-toolbar"
|
|
8709
|
-
},
|
|
8616
|
+
}, ih = { class: "g-selected-count" }, ah = { class: "g-bulk-actions" }, oh = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
8710
8617
|
__name: "GTable",
|
|
8711
8618
|
props: /*@__PURE__*/ U({
|
|
8712
8619
|
label: { type: String },
|
|
@@ -8810,247 +8717,262 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
8810
8717
|
function x(e) {
|
|
8811
8718
|
e !== void 0 && s("update:pageSize", e);
|
|
8812
8719
|
}
|
|
8813
|
-
let S = B(), C = Ja(), w = /* @__PURE__ */ F(null), T = /* @__PURE__ */ F(null), E = /* @__PURE__ */ F(null), ee = /* @__PURE__ */ F(null), D =
|
|
8814
|
-
|
|
8720
|
+
let S = B(), C = Ja(), w = /* @__PURE__ */ F(null), T = /* @__PURE__ */ F(null), E = /* @__PURE__ */ F(null), ee = /* @__PURE__ */ F(null), D = /* @__PURE__ */ F(null), te = /* @__PURE__ */ F(0);
|
|
8721
|
+
Fc(D, (e) => {
|
|
8722
|
+
let t = e[0];
|
|
8723
|
+
te.value = t?.borderBoxSize?.[0]?.blockSize ?? t?.target.getBoundingClientRect().height ?? 0;
|
|
8724
|
+
});
|
|
8725
|
+
let O = /* @__PURE__ */ F(null), ne = `${S}-table`;
|
|
8726
|
+
function re(e) {
|
|
8815
8727
|
let t = /* @__PURE__ */ new Set();
|
|
8816
8728
|
return e.filter((e) => !e?.key || t.has(String(e.key)) ? !1 : (t.add(String(e.key)), e.order === 1 || e.order === -1));
|
|
8817
8729
|
}
|
|
8818
|
-
function
|
|
8730
|
+
function k(e, t) {
|
|
8819
8731
|
return {
|
|
8820
8732
|
key: e,
|
|
8821
8733
|
order: t
|
|
8822
8734
|
};
|
|
8823
8735
|
}
|
|
8824
|
-
let
|
|
8825
|
-
function
|
|
8826
|
-
n.value =
|
|
8736
|
+
let A = Q(() => re(n.value));
|
|
8737
|
+
function ie(e) {
|
|
8738
|
+
n.value = re(e);
|
|
8827
8739
|
}
|
|
8828
|
-
let
|
|
8829
|
-
let e = new Set(
|
|
8830
|
-
return
|
|
8740
|
+
let ae = Q(() => o.columns.filter((e) => e.sortable)), oe = Q(() => ae.value.length > 1), se = Q(() => {
|
|
8741
|
+
let e = new Set(A.value.map((e) => String(e.key)));
|
|
8742
|
+
return ae.value.filter((t) => !e.has(String(t.key)));
|
|
8831
8743
|
});
|
|
8832
|
-
function
|
|
8833
|
-
return
|
|
8744
|
+
function ce(e) {
|
|
8745
|
+
return A.value.findIndex((t) => t.key === e);
|
|
8834
8746
|
}
|
|
8835
|
-
function
|
|
8836
|
-
return
|
|
8747
|
+
function ue(e) {
|
|
8748
|
+
return A.value.find((t) => t.key === e);
|
|
8837
8749
|
}
|
|
8838
|
-
function
|
|
8750
|
+
function de(e) {
|
|
8839
8751
|
return o.columns.find((t) => t.key === e)?.label || String(e);
|
|
8840
8752
|
}
|
|
8841
|
-
function
|
|
8842
|
-
let t =
|
|
8843
|
-
return t === -1 ? "none" : t > 0 ? "other" :
|
|
8753
|
+
function fe(e) {
|
|
8754
|
+
let t = ce(e);
|
|
8755
|
+
return t === -1 ? "none" : t > 0 ? "other" : A.value[0]?.order === 1 ? "ascending" : "descending";
|
|
8844
8756
|
}
|
|
8845
|
-
function
|
|
8846
|
-
let t =
|
|
8757
|
+
function pe(e) {
|
|
8758
|
+
let t = ce(e);
|
|
8847
8759
|
if (t === -1) return "";
|
|
8848
|
-
let n =
|
|
8849
|
-
return
|
|
8760
|
+
let n = A.value[t].order === 1 ? "ascending" : "descending";
|
|
8761
|
+
return A.value.length > 1 ? `Sorted ${n}, priority ${t + 1}` : `Sorted ${n}`;
|
|
8850
8762
|
}
|
|
8851
|
-
function
|
|
8763
|
+
function me(e) {
|
|
8852
8764
|
return e === 1 ? "Ascending" : "Descending";
|
|
8853
8765
|
}
|
|
8854
|
-
function
|
|
8855
|
-
let t =
|
|
8856
|
-
return t ? t.order === 1 ? [
|
|
8766
|
+
function he(e) {
|
|
8767
|
+
let t = A.value[0]?.key === e ? A.value[0] : void 0;
|
|
8768
|
+
return t ? t.order === 1 ? [k(e, -1)] : [] : [k(e, 1)];
|
|
8857
8769
|
}
|
|
8858
|
-
function
|
|
8859
|
-
let t = [...
|
|
8860
|
-
return n === -1 ? (t.push(
|
|
8770
|
+
function ge(e) {
|
|
8771
|
+
let t = [...A.value], n = t.findIndex((t) => t.key === e);
|
|
8772
|
+
return n === -1 ? (t.push(k(e, 1)), t) : t[n].order === 1 ? (t[n] = k(e, -1), t) : (t.splice(n, 1), t);
|
|
8861
8773
|
}
|
|
8862
|
-
function
|
|
8774
|
+
function _e(e, t = !1) {
|
|
8863
8775
|
if (!e.sortable) return;
|
|
8864
8776
|
let n = e.key;
|
|
8865
|
-
|
|
8777
|
+
ie(t ? ge(n) : he(n));
|
|
8866
8778
|
}
|
|
8867
|
-
function
|
|
8868
|
-
|
|
8779
|
+
function ve(e, t) {
|
|
8780
|
+
ie([...A.value, k(e, t)]), jn(() => {
|
|
8869
8781
|
let t = w.value;
|
|
8870
8782
|
t && (t.querySelector(`[data-sort-row-key="${String(e)}"]`) ?? t)?.focus();
|
|
8871
8783
|
}).catch((e) => {
|
|
8872
8784
|
console.error(e);
|
|
8873
8785
|
});
|
|
8874
8786
|
}
|
|
8875
|
-
function
|
|
8876
|
-
|
|
8787
|
+
function ye(e) {
|
|
8788
|
+
ie(A.value.map((t) => t.key === e ? k(t.key, t.order === 1 ? -1 : 1) : t));
|
|
8877
8789
|
}
|
|
8878
|
-
function
|
|
8879
|
-
|
|
8790
|
+
function be(e) {
|
|
8791
|
+
ie(A.value.filter((t) => t.key !== e));
|
|
8880
8792
|
}
|
|
8881
|
-
function
|
|
8882
|
-
|
|
8793
|
+
function xe() {
|
|
8794
|
+
ie([]);
|
|
8883
8795
|
}
|
|
8884
|
-
function
|
|
8796
|
+
function Se(e) {
|
|
8885
8797
|
return i.value[e] ?? {};
|
|
8886
8798
|
}
|
|
8887
|
-
function
|
|
8799
|
+
function Ce(e, t) {
|
|
8888
8800
|
i.value = {
|
|
8889
8801
|
...i.value,
|
|
8890
8802
|
[e]: {
|
|
8891
|
-
...
|
|
8803
|
+
...Se(e),
|
|
8892
8804
|
...t
|
|
8893
8805
|
}
|
|
8894
8806
|
};
|
|
8895
8807
|
}
|
|
8896
|
-
function
|
|
8808
|
+
function we(e) {
|
|
8897
8809
|
return Math.max(50, Math.round(e));
|
|
8898
8810
|
}
|
|
8899
|
-
function
|
|
8900
|
-
let t =
|
|
8901
|
-
if (typeof t == "number" && Number.isFinite(t)) return
|
|
8811
|
+
function Te(e) {
|
|
8812
|
+
let t = Se(e).width;
|
|
8813
|
+
if (typeof t == "number" && Number.isFinite(t)) return we(t);
|
|
8902
8814
|
}
|
|
8903
|
-
function
|
|
8815
|
+
function Ee(e) {
|
|
8904
8816
|
return document.getElementById(`${S}-th-${String(e)}`);
|
|
8905
8817
|
}
|
|
8906
|
-
function
|
|
8907
|
-
let t =
|
|
8908
|
-
return
|
|
8818
|
+
function De(e) {
|
|
8819
|
+
let t = Ee(e)?.getBoundingClientRect().width;
|
|
8820
|
+
return we(t ?? 50);
|
|
8909
8821
|
}
|
|
8910
|
-
function
|
|
8911
|
-
return
|
|
8822
|
+
function Oe(e) {
|
|
8823
|
+
return Te(e) ?? De(e);
|
|
8912
8824
|
}
|
|
8913
|
-
function
|
|
8914
|
-
let t =
|
|
8915
|
-
return
|
|
8825
|
+
function N(e) {
|
|
8826
|
+
let t = Oe(e), n = E.value?.getBoundingClientRect().width ?? T.value?.getBoundingClientRect().width ?? t;
|
|
8827
|
+
return we(Math.max(t, n));
|
|
8916
8828
|
}
|
|
8917
|
-
function
|
|
8918
|
-
|
|
8829
|
+
function ke(e, t) {
|
|
8830
|
+
Ce(e, { width: we(t) });
|
|
8919
8831
|
}
|
|
8920
|
-
function
|
|
8921
|
-
|
|
8832
|
+
function Ae(e, t) {
|
|
8833
|
+
ke(e, Oe(e) + t);
|
|
8922
8834
|
}
|
|
8923
|
-
function
|
|
8924
|
-
|
|
8835
|
+
function je() {
|
|
8836
|
+
O.value = null, window.removeEventListener("pointermove", Me), window.removeEventListener("pointerup", je), window.removeEventListener("pointercancel", je);
|
|
8925
8837
|
}
|
|
8926
|
-
function
|
|
8927
|
-
if (!
|
|
8928
|
-
let t =
|
|
8929
|
-
|
|
8838
|
+
function Me(e) {
|
|
8839
|
+
if (!O.value) return;
|
|
8840
|
+
let t = O.value.startWidth + (e.clientX - O.value.startX);
|
|
8841
|
+
ke(O.value.key, t);
|
|
8930
8842
|
}
|
|
8931
|
-
function
|
|
8843
|
+
function Ne(e, t) {
|
|
8932
8844
|
if (!o.resizableColumns) return;
|
|
8933
8845
|
e.preventDefault(), e.stopPropagation();
|
|
8934
|
-
let n =
|
|
8935
|
-
|
|
8846
|
+
let n = Oe(t);
|
|
8847
|
+
ke(t, n), O.value = {
|
|
8936
8848
|
key: t,
|
|
8937
8849
|
startX: e.clientX,
|
|
8938
8850
|
startWidth: n
|
|
8939
|
-
}, e.currentTarget?.focus(), window.addEventListener("pointermove",
|
|
8851
|
+
}, e.currentTarget?.focus(), window.addEventListener("pointermove", Me), window.addEventListener("pointerup", je), window.addEventListener("pointercancel", je);
|
|
8940
8852
|
}
|
|
8941
|
-
function
|
|
8853
|
+
function Pe(e, t) {
|
|
8942
8854
|
let n = e.shiftKey ? 48 : 16;
|
|
8943
8855
|
switch (e.key) {
|
|
8944
8856
|
case "ArrowLeft":
|
|
8945
|
-
e.preventDefault(),
|
|
8857
|
+
e.preventDefault(), Ae(t, -n);
|
|
8946
8858
|
return;
|
|
8947
8859
|
case "ArrowRight":
|
|
8948
|
-
e.preventDefault(),
|
|
8860
|
+
e.preventDefault(), Ae(t, n);
|
|
8949
8861
|
return;
|
|
8950
8862
|
case "Home":
|
|
8951
|
-
e.preventDefault(),
|
|
8863
|
+
e.preventDefault(), ke(t, 50);
|
|
8952
8864
|
return;
|
|
8953
8865
|
case "End":
|
|
8954
|
-
e.preventDefault(),
|
|
8866
|
+
e.preventDefault(), ke(t, N(t));
|
|
8955
8867
|
return;
|
|
8956
8868
|
default: return;
|
|
8957
8869
|
}
|
|
8958
8870
|
}
|
|
8959
|
-
function
|
|
8871
|
+
function Fe(e) {
|
|
8960
8872
|
if (!o.resizableColumns) return;
|
|
8961
|
-
let t =
|
|
8873
|
+
let t = Te(e.key);
|
|
8962
8874
|
if (t !== void 0) return {
|
|
8963
8875
|
width: `${t}px`,
|
|
8964
8876
|
minWidth: `${t}px`
|
|
8965
8877
|
};
|
|
8966
8878
|
}
|
|
8967
|
-
function
|
|
8968
|
-
return
|
|
8879
|
+
function Ie(e) {
|
|
8880
|
+
return Oe(e);
|
|
8969
8881
|
}
|
|
8970
|
-
function
|
|
8971
|
-
return `${
|
|
8882
|
+
function Le(e) {
|
|
8883
|
+
return `${Ie(e)} pixels`;
|
|
8972
8884
|
}
|
|
8973
|
-
let
|
|
8885
|
+
let Re = Q(() => {
|
|
8974
8886
|
let e = C?.vnode.props ?? {};
|
|
8975
8887
|
return "columnState" in e || "column-state" in e || "onUpdate:columnState" in e;
|
|
8976
|
-
}),
|
|
8977
|
-
function
|
|
8978
|
-
return
|
|
8888
|
+
}), ze = Q(() => o.columns.filter((e) => Se(e.key).visible !== !1)), Be = ui(), Ve = Q(() => ze.value.length !== o.columns.length), He = Q(() => Re.value && o.columns.length > 0), Ue = Q(() => !!Be.controls || !!Be["right-controls"]), We = Q(() => o.resultCount ?? o.data.length);
|
|
8889
|
+
function Ge(e) {
|
|
8890
|
+
return Se(e.key).visible !== !1;
|
|
8979
8891
|
}
|
|
8980
|
-
function
|
|
8981
|
-
|
|
8892
|
+
function Ke(e, t) {
|
|
8893
|
+
Ce(e.key, { visible: t });
|
|
8982
8894
|
}
|
|
8983
|
-
function
|
|
8895
|
+
function qe() {
|
|
8984
8896
|
i.value = o.columns.reduce((e, t) => ({
|
|
8985
8897
|
...e,
|
|
8986
8898
|
[t.key]: {
|
|
8987
|
-
...
|
|
8899
|
+
...Se(t.key),
|
|
8988
8900
|
visible: !0
|
|
8989
8901
|
}
|
|
8990
8902
|
}), { ...i.value });
|
|
8991
8903
|
}
|
|
8992
|
-
let
|
|
8993
|
-
function
|
|
8904
|
+
let Je = Q(() => o.pagination && typeof o.pageSize == "number"), Ye = Q(() => !!(oe.value || c.value || Je.value || He.value || Ue.value));
|
|
8905
|
+
function Xe() {
|
|
8994
8906
|
return r.value;
|
|
8995
8907
|
}
|
|
8996
|
-
function
|
|
8997
|
-
if (e.filter) return bp(e.filter,
|
|
8908
|
+
function Ze(e) {
|
|
8909
|
+
if (e.filter) return bp(e.filter, Xe()[hp(e)]);
|
|
8998
8910
|
}
|
|
8999
|
-
function
|
|
9000
|
-
e.filter && (
|
|
8911
|
+
function Qe(e, t) {
|
|
8912
|
+
e.filter && (Xe()[hp(e)] = xp(e.filter, t));
|
|
9001
8913
|
}
|
|
9002
|
-
function
|
|
9003
|
-
return e.filter ? Sp(e.filter,
|
|
8914
|
+
function $e(e) {
|
|
8915
|
+
return e.filter ? Sp(e.filter, Xe()[hp(e)]) : !1;
|
|
9004
8916
|
}
|
|
9005
|
-
function
|
|
8917
|
+
function et(e) {
|
|
9006
8918
|
return e.filter?.type !== "select" && e.filter?.type !== "multi-select" ? [] : e.filter.options;
|
|
9007
8919
|
}
|
|
9008
|
-
function
|
|
9009
|
-
let n =
|
|
8920
|
+
function tt(e, t) {
|
|
8921
|
+
let n = et(e).findIndex((e) => e.value === t);
|
|
9010
8922
|
return n === -1 ? void 0 : String(n);
|
|
9011
8923
|
}
|
|
9012
|
-
function
|
|
9013
|
-
return
|
|
8924
|
+
function nt(e, t) {
|
|
8925
|
+
return et(e)[Number(t)]?.value;
|
|
9014
8926
|
}
|
|
9015
|
-
function
|
|
9016
|
-
return
|
|
8927
|
+
function rt(e) {
|
|
8928
|
+
return et(e).map((e, t) => ({
|
|
9017
8929
|
label: e.label,
|
|
9018
8930
|
value: String(t),
|
|
9019
8931
|
description: e.description
|
|
9020
8932
|
}));
|
|
9021
8933
|
}
|
|
9022
|
-
function
|
|
9023
|
-
return
|
|
8934
|
+
function it(e) {
|
|
8935
|
+
return et(e).map((e, t) => ({
|
|
9024
8936
|
label: e.label,
|
|
9025
8937
|
value: String(t),
|
|
9026
8938
|
hint: e.description
|
|
9027
8939
|
}));
|
|
9028
8940
|
}
|
|
9029
|
-
function
|
|
9030
|
-
return
|
|
8941
|
+
function at(e) {
|
|
8942
|
+
return tt(e, Ze(e)) ?? null;
|
|
9031
8943
|
}
|
|
9032
|
-
function
|
|
9033
|
-
|
|
8944
|
+
function ot(e, t) {
|
|
8945
|
+
Qe(e, t == null ? void 0 : nt(e, t));
|
|
9034
8946
|
}
|
|
9035
|
-
function
|
|
9036
|
-
let t =
|
|
9037
|
-
return Array.isArray(t) ? t.map((t) =>
|
|
8947
|
+
function st(e) {
|
|
8948
|
+
let t = Ze(e);
|
|
8949
|
+
return Array.isArray(t) ? t.map((t) => tt(e, t)).filter((e) => e !== void 0) : [];
|
|
9038
8950
|
}
|
|
9039
|
-
function
|
|
9040
|
-
|
|
8951
|
+
function ct(e, t) {
|
|
8952
|
+
Qe(e, t.map((t) => nt(e, t)));
|
|
9041
8953
|
}
|
|
9042
8954
|
return Jr(() => {
|
|
9043
|
-
|
|
8955
|
+
je();
|
|
9044
8956
|
}), Gr(() => {
|
|
9045
8957
|
o.rowClickable && o.bulkSelectionEnabled && console.warn("GTable: rowClickable and bulkSelectionEnabled cannot be used together. rowClickable will be ignored.");
|
|
9046
8958
|
for (let e of o.columns) e.editable && e.display && console.warn(`GTable: Column "${String(e.key)}" has both 'editable' and 'display' configured. 'display' will be ignored.`);
|
|
9047
|
-
}), (t, n) => (G(), K("div",
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
8959
|
+
}), (t, n) => (G(), K("div", {
|
|
8960
|
+
ref_key: "outerWrapRef",
|
|
8961
|
+
ref: E,
|
|
8962
|
+
class: "g-table-outer-wrap",
|
|
8963
|
+
style: le({ "--g-table-controls-height": `${Ye.value ? te.value : 0}px` })
|
|
8964
|
+
}, [J("div", Zp, [
|
|
8965
|
+
Ye.value ? (G(), K("div", {
|
|
8966
|
+
key: 0,
|
|
8967
|
+
ref_key: "controlsRef",
|
|
8968
|
+
ref: D,
|
|
8969
|
+
class: "g-table-controls"
|
|
8970
|
+
}, [
|
|
8971
|
+
J("div", Qp, [
|
|
8972
|
+
oe.value ? (G(), K("div", $p, [Y(hu, null, {
|
|
9051
8973
|
trigger: L(({ toggle: e }) => [Y(eu, {
|
|
9052
8974
|
size: "small",
|
|
9053
|
-
class: j(["g-sort-builder-trigger", { "g-sort-builder-trigger--active":
|
|
8975
|
+
class: j(["g-sort-builder-trigger", { "g-sort-builder-trigger--active": A.value.length > 0 }]),
|
|
9054
8976
|
"aria-label": "Choose sort order",
|
|
9055
8977
|
onClick: e
|
|
9056
8978
|
}, {
|
|
@@ -9063,7 +8985,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9063
8985
|
}, [J("path", {
|
|
9064
8986
|
fill: "currentColor",
|
|
9065
8987
|
d: "M130.4 268.2C135.4 280.2 147 288 160 288L480 288C492.9 288 504.6 280.2 509.6 268.2C514.6 256.2 511.8 242.5 502.7 233.3L342.7 73.3C330.2 60.8 309.9 60.8 297.4 73.3L137.4 233.3C128.2 242.5 125.5 256.2 130.5 268.2zM130.4 371.7C125.4 383.7 128.2 397.4 137.3 406.6L297.3 566.6C309.8 579.1 330.1 579.1 342.6 566.6L502.6 406.6C511.8 397.4 514.5 383.7 509.5 371.7C504.5 359.7 492.9 352 480 352L160 352C147.1 352 135.4 359.8 130.4 371.8z"
|
|
9066
|
-
})], -1),
|
|
8988
|
+
})], -1), A.value.length ? (G(), K("span", em, M(A.value.length), 1)) : Z("", !0)]),
|
|
9067
8989
|
_: 1
|
|
9068
8990
|
}, 8, ["class", "onClick"])]),
|
|
9069
8991
|
default: L(() => [J("fieldset", {
|
|
@@ -9075,21 +8997,21 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9075
8997
|
}, [
|
|
9076
8998
|
n[8] ||= J("legend", { class: "g-sort-builder-legend" }, " Sort order ", -1),
|
|
9077
8999
|
n[9] ||= J("p", { class: "g-sort-builder-help" }, " Click a column header to change the primary sort. Use Shift-click as a shortcut to add or update secondary sorts. ", -1),
|
|
9078
|
-
|
|
9000
|
+
A.value.length ? (G(), K("ol", tm, [(G(!0), K(W, null, V(A.value, (e, t) => (G(), K("li", {
|
|
9079
9001
|
key: e.key,
|
|
9080
9002
|
class: "g-sort-builder-rule",
|
|
9081
9003
|
tabindex: "-1",
|
|
9082
9004
|
"data-sort-row-key": String(e.key),
|
|
9083
|
-
"aria-label": `${
|
|
9005
|
+
"aria-label": `${de(e.key)} ${me(e.order)} sort, priority ${t + 1}`
|
|
9084
9006
|
}, [
|
|
9085
|
-
J("span",
|
|
9086
|
-
J("span",
|
|
9007
|
+
J("span", rm, M(t + 1), 1),
|
|
9008
|
+
J("span", im, M(de(e.key)), 1),
|
|
9087
9009
|
J("button", {
|
|
9088
9010
|
type: "button",
|
|
9089
9011
|
class: "g-sort-builder-direction",
|
|
9090
|
-
"aria-label": `Toggle ${
|
|
9091
|
-
onClick: (t) =>
|
|
9092
|
-
}, [J("span",
|
|
9012
|
+
"aria-label": `Toggle ${de(e.key)} sort direction`,
|
|
9013
|
+
onClick: (t) => ye(e.key)
|
|
9014
|
+
}, [J("span", om, M(me(e.order)), 1), J("span", sm, [(G(), K("svg", {
|
|
9093
9015
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9094
9016
|
viewBox: "0 0 640 640",
|
|
9095
9017
|
height: "1.25em",
|
|
@@ -9097,22 +9019,22 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9097
9019
|
}, [...n[2] ||= [J("path", {
|
|
9098
9020
|
fill: "currentColor",
|
|
9099
9021
|
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"
|
|
9100
|
-
}, null, -1)]], 4))])], 8,
|
|
9022
|
+
}, null, -1)]], 4))])], 8, am),
|
|
9101
9023
|
J("button", {
|
|
9102
9024
|
type: "button",
|
|
9103
9025
|
class: "g-sort-builder-remove",
|
|
9104
|
-
"aria-label": `Remove ${
|
|
9105
|
-
onClick: (t) =>
|
|
9106
|
-
}, " Remove ", 8,
|
|
9107
|
-
], 8,
|
|
9108
|
-
|
|
9026
|
+
"aria-label": `Remove ${de(e.key)} sort`,
|
|
9027
|
+
onClick: (t) => be(e.key)
|
|
9028
|
+
}, " Remove ", 8, cm)
|
|
9029
|
+
], 8, nm))), 128))])) : (G(), K("p", lm, " No active sort rules. ")),
|
|
9030
|
+
se.value.length ? (G(), K("div", um, [n[6] ||= J("p", { class: "g-sort-builder-add-label" }, " Add sort column ", -1), J("ul", dm, [(G(!0), K(W, null, V(se.value, (e) => (G(), K("li", {
|
|
9109
9031
|
key: e.key,
|
|
9110
9032
|
class: "g-sort-builder-add-item"
|
|
9111
|
-
}, [J("span",
|
|
9033
|
+
}, [J("span", fm, M(e.label), 1), J("div", pm, [J("button", {
|
|
9112
9034
|
type: "button",
|
|
9113
9035
|
class: "g-sort-builder-direction",
|
|
9114
9036
|
"aria-label": `Add ${e.label} ascending sort`,
|
|
9115
|
-
onClick: (t) =>
|
|
9037
|
+
onClick: (t) => ve(e.key, 1)
|
|
9116
9038
|
}, [...n[3] ||= [J("span", { class: "g-visually-hidden" }, " Add ascending sort ", -1), J("span", {
|
|
9117
9039
|
class: "sort-indicator",
|
|
9118
9040
|
"aria-hidden": "true"
|
|
@@ -9123,21 +9045,21 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9123
9045
|
}, [J("path", {
|
|
9124
9046
|
fill: "currentColor",
|
|
9125
9047
|
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"
|
|
9126
|
-
})])], -1)]], 8,
|
|
9048
|
+
})])], -1)]], 8, mm), J("button", {
|
|
9127
9049
|
type: "button",
|
|
9128
9050
|
class: "g-sort-builder-direction",
|
|
9129
9051
|
"aria-label": `Add ${e.label} descending sort`,
|
|
9130
|
-
onClick: (t) =>
|
|
9131
|
-
}, [n[5] ||= J("span", { class: "g-visually-hidden" }, " Add descending sort ", -1), J("span",
|
|
9052
|
+
onClick: (t) => ve(e.key, -1)
|
|
9053
|
+
}, [n[5] ||= J("span", { class: "g-visually-hidden" }, " Add descending sort ", -1), J("span", gm, [(G(), K("svg", _m, [...n[4] ||= [J("path", {
|
|
9132
9054
|
fill: "currentColor",
|
|
9133
9055
|
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"
|
|
9134
|
-
}, null, -1)]]))])], 8,
|
|
9135
|
-
|
|
9056
|
+
}, null, -1)]]))])], 8, hm)])]))), 128))])])) : Z("", !0),
|
|
9057
|
+
A.value.length ? (G(), q(eu, {
|
|
9136
9058
|
key: 3,
|
|
9137
9059
|
outlined: "",
|
|
9138
9060
|
size: "small",
|
|
9139
9061
|
class: "g-sort-builder-clear",
|
|
9140
|
-
onClick:
|
|
9062
|
+
onClick: xe
|
|
9141
9063
|
}, {
|
|
9142
9064
|
default: L(() => [...n[7] ||= [X(" Clear sort ", -1)]]),
|
|
9143
9065
|
_: 1
|
|
@@ -9145,14 +9067,14 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9145
9067
|
], 512)]),
|
|
9146
9068
|
_: 1
|
|
9147
9069
|
})])) : Z("", !0),
|
|
9148
|
-
|
|
9070
|
+
He.value ? (G(), K("div", vm, [Y(hu, null, {
|
|
9149
9071
|
trigger: L(({ toggle: e }) => [Y(eu, {
|
|
9150
9072
|
size: "small",
|
|
9151
|
-
class: j(["g-column-visibility-trigger", { "g-column-visibility-trigger--active":
|
|
9073
|
+
class: j(["g-column-visibility-trigger", { "g-column-visibility-trigger--active": Ve.value }]),
|
|
9152
9074
|
"aria-label": "Choose visible columns",
|
|
9153
9075
|
onClick: e
|
|
9154
9076
|
}, {
|
|
9155
|
-
default: L(() => [(G(), K("svg",
|
|
9077
|
+
default: L(() => [(G(), K("svg", ym, [...n[10] ||= [J("path", {
|
|
9156
9078
|
fill: "currentColor",
|
|
9157
9079
|
d: "M64 160C64 142.3 78.3 128 96 128L480 128C497.7 128 512 142.3 512 160C512 177.7 497.7 192 480 192L96 192C78.3 192 64 177.7 64 160zM128 320C128 302.3 142.3 288 160 288L544 288C561.7 288 576 302.3 576 320C576 337.7 561.7 352 544 352L160 352C142.3 352 128 337.7 128 320zM512 480C512 497.7 497.7 512 480 512L96 512C78.3 512 64 497.7 64 480C64 462.3 78.3 448 96 448L480 448C497.7 448 512 462.3 512 480z"
|
|
9158
9080
|
}, null, -1)]]))]),
|
|
@@ -9161,29 +9083,29 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9161
9083
|
default: L(() => [J("fieldset", {
|
|
9162
9084
|
class: "g-column-visibility-popover",
|
|
9163
9085
|
"aria-labelledby": `${I(S)}-column-visibility-heading`
|
|
9164
|
-
}, [J("div",
|
|
9086
|
+
}, [J("div", xm, [J("span", {
|
|
9165
9087
|
id: `${I(S)}-column-visibility-heading`,
|
|
9166
9088
|
class: "g-column-visibility-heading"
|
|
9167
|
-
}, " Shown columns ", 8,
|
|
9089
|
+
}, " Shown columns ", 8, Sm), J("span", Cm, [Y(eu, {
|
|
9168
9090
|
text: "",
|
|
9169
9091
|
size: "small",
|
|
9170
|
-
class: j(["g-column-visibility-show-all", { "g-column-visibility-show-all--hidden": !
|
|
9171
|
-
onClick:
|
|
9092
|
+
class: j(["g-column-visibility-show-all", { "g-column-visibility-show-all--hidden": !Ve.value }]),
|
|
9093
|
+
onClick: qe
|
|
9172
9094
|
}, {
|
|
9173
9095
|
default: L(() => [...n[11] ||= [X(" Show All ", -1)]]),
|
|
9174
9096
|
_: 1
|
|
9175
|
-
}, 8, ["class"])])]), J("div",
|
|
9097
|
+
}, 8, ["class"])])]), J("div", wm, [(G(!0), K(W, null, V(e.columns, (e) => (G(), K("label", {
|
|
9176
9098
|
key: e.key,
|
|
9177
9099
|
class: "g-column-visibility-option"
|
|
9178
9100
|
}, [J("input", {
|
|
9179
|
-
checked:
|
|
9101
|
+
checked: Ge(e),
|
|
9180
9102
|
type: "checkbox",
|
|
9181
|
-
onChange: (t) =>
|
|
9182
|
-
}, null, 40,
|
|
9103
|
+
onChange: (t) => Ke(e, t.target.checked)
|
|
9104
|
+
}, null, 40, Tm), J("span", null, M(e.label), 1)]))), 128))])], 8, bm)]),
|
|
9183
9105
|
_: 1
|
|
9184
9106
|
})])) : Z("", !0),
|
|
9185
|
-
|
|
9186
|
-
J("div",
|
|
9107
|
+
Ue.value ? (G(), K("div", Em, [H(t.$slots, "controls")])) : Z("", !0),
|
|
9108
|
+
J("div", Dm, [I(c) ? (G(), q(eu, {
|
|
9187
9109
|
key: 0,
|
|
9188
9110
|
outlined: "",
|
|
9189
9111
|
size: "small",
|
|
@@ -9203,11 +9125,11 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9203
9125
|
_: 1
|
|
9204
9126
|
}, 8, ["onClick"])) : Z("", !0)])
|
|
9205
9127
|
]),
|
|
9206
|
-
|
|
9128
|
+
Je.value ? (G(), K("div", Om, [Y(Kp, {
|
|
9207
9129
|
start: e.startIndex,
|
|
9208
9130
|
"page-size": e.pageSize,
|
|
9209
9131
|
"page-sizes": e.pageSizes,
|
|
9210
|
-
total:
|
|
9132
|
+
total: We.value,
|
|
9211
9133
|
"onUpdate:start": b,
|
|
9212
9134
|
"onUpdate:pageSize": x
|
|
9213
9135
|
}, null, 8, [
|
|
@@ -9216,66 +9138,66 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9216
9138
|
"page-sizes",
|
|
9217
9139
|
"total"
|
|
9218
9140
|
])])) : Z("", !0),
|
|
9219
|
-
J("div",
|
|
9220
|
-
])) : Z("", !0),
|
|
9141
|
+
J("div", km, [J("span", Am, M(We.value) + " results", 1), H(t.$slots, "right-controls")])
|
|
9142
|
+
], 512)) : Z("", !0),
|
|
9221
9143
|
J("div", {
|
|
9222
9144
|
ref_key: "tableWrapRef",
|
|
9223
|
-
ref:
|
|
9145
|
+
ref: ee,
|
|
9224
9146
|
class: "g-table-table-wrap"
|
|
9225
9147
|
}, [J("table", {
|
|
9226
|
-
id:
|
|
9148
|
+
id: ne,
|
|
9227
9149
|
class: j(["g-table", { "g-table--resizable": e.resizableColumns }]),
|
|
9228
9150
|
ref_key: "tableRef",
|
|
9229
9151
|
ref: T,
|
|
9230
9152
|
"aria-label": e.label,
|
|
9231
|
-
"aria-rowcount":
|
|
9153
|
+
"aria-rowcount": We.value
|
|
9232
9154
|
}, [
|
|
9233
|
-
J("colgroup", null, [e.bulkSelectionEnabled ? (G(), K("col",
|
|
9155
|
+
J("colgroup", null, [e.bulkSelectionEnabled ? (G(), K("col", Mm)) : Z("", !0), (G(!0), K(W, null, V(ze.value, (e) => (G(), K("col", {
|
|
9234
9156
|
key: e.key,
|
|
9235
9157
|
"data-column-key": String(e.key),
|
|
9236
|
-
style: le(
|
|
9237
|
-
}, null, 12,
|
|
9238
|
-
J("thead",
|
|
9158
|
+
style: le(Fe(e))
|
|
9159
|
+
}, null, 12, Nm))), 128))]),
|
|
9160
|
+
J("thead", Pm, [J("tr", Fm, [e.bulkSelectionEnabled ? (G(), K("th", Im, [J("input", {
|
|
9239
9161
|
type: "checkbox",
|
|
9240
9162
|
checked: f.value,
|
|
9241
9163
|
indeterminate: p.value,
|
|
9242
9164
|
onChange: h,
|
|
9243
9165
|
"aria-label": f.value ? "Deselect all rows" : "Select all rows",
|
|
9244
9166
|
class: "g-bulk-select-checkbox"
|
|
9245
|
-
}, null, 40,
|
|
9167
|
+
}, null, 40, Lm)])) : Z("", !0), (G(!0), K(W, null, V(ze.value, (t) => (G(), K("th", {
|
|
9246
9168
|
key: t.key,
|
|
9247
9169
|
id: `${I(S)}-th-${String(t.key)}`,
|
|
9248
|
-
"aria-sort":
|
|
9170
|
+
"aria-sort": fe(t.key),
|
|
9249
9171
|
class: j([
|
|
9250
9172
|
"g-th",
|
|
9251
9173
|
{ "g-th--resizable": e.resizableColumns },
|
|
9252
|
-
{ sorted:
|
|
9253
|
-
{ filtered:
|
|
9174
|
+
{ sorted: ce(t.key) !== -1 },
|
|
9175
|
+
{ filtered: $e(t) }
|
|
9254
9176
|
]),
|
|
9255
9177
|
scope: "col"
|
|
9256
|
-
}, [J("div",
|
|
9178
|
+
}, [J("div", zm, [t.sortable ? (G(), K("button", {
|
|
9257
9179
|
key: 0,
|
|
9258
9180
|
type: "button",
|
|
9259
9181
|
class: "g-column-head",
|
|
9260
|
-
onClick: (e) =>
|
|
9182
|
+
onClick: (e) => _e(t, e.shiftKey)
|
|
9261
9183
|
}, [
|
|
9262
9184
|
n[14] ||= J("span", { class: "g-visually-hidden" }, "Sort by ", -1),
|
|
9263
9185
|
X(" " + M(t.label) + " ", 1),
|
|
9264
|
-
|
|
9186
|
+
ce(t.key) === -1 ? Z("", !0) : (G(), K("span", Vm, [(G(), K("svg", {
|
|
9265
9187
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9266
9188
|
viewBox: "0 0 640 640",
|
|
9267
9189
|
height: "1.5em",
|
|
9268
|
-
style: le({ transform: `rotate(${
|
|
9190
|
+
style: le({ transform: `rotate(${ue(t.key)?.order === 1 ? 0 : 180}deg)` })
|
|
9269
9191
|
}, [...n[13] ||= [J("path", {
|
|
9270
9192
|
fill: "currentColor",
|
|
9271
9193
|
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"
|
|
9272
9194
|
}, null, -1)]], 4))])),
|
|
9273
|
-
|
|
9274
|
-
], 8,
|
|
9195
|
+
ce(t.key) === -1 ? Z("", !0) : (G(), K("span", Hm, M(pe(t.key)), 1))
|
|
9196
|
+
], 8, Bm)) : (G(), K("span", Um, M(t.label), 1)), t.filter ? (G(), q(hu, { key: 2 }, {
|
|
9275
9197
|
trigger: L(({ toggle: e }) => [J("button", {
|
|
9276
9198
|
onClick: Ts(e, ["stop"]),
|
|
9277
|
-
"aria-label":
|
|
9278
|
-
class: j(["g-filter-btn", { "g-active":
|
|
9199
|
+
"aria-label": $e(t) ? `Filter ${t.label} column (filtered)` : `Filter ${t.label} column`,
|
|
9200
|
+
class: j(["g-filter-btn", { "g-active": $e(t) }]),
|
|
9279
9201
|
type: "button"
|
|
9280
9202
|
}, [...n[15] ||= [J("svg", {
|
|
9281
9203
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -9285,12 +9207,12 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9285
9207
|
}, [J("path", {
|
|
9286
9208
|
fill: "currentColor",
|
|
9287
9209
|
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"
|
|
9288
|
-
})], -1)]], 10,
|
|
9210
|
+
})], -1)]], 10, Wm)]),
|
|
9289
9211
|
default: L(() => [t.filter.type === "select" ? (G(), q(Rf, {
|
|
9290
9212
|
key: 0,
|
|
9291
|
-
"model-value":
|
|
9292
|
-
"onUpdate:modelValue": (e) =>
|
|
9293
|
-
options:
|
|
9213
|
+
"model-value": at(t),
|
|
9214
|
+
"onUpdate:modelValue": (e) => ot(t, e),
|
|
9215
|
+
options: rt(t),
|
|
9294
9216
|
class: "g-filter-select",
|
|
9295
9217
|
label: "Filter select",
|
|
9296
9218
|
searchable: "",
|
|
@@ -9301,7 +9223,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9301
9223
|
"onUpdate:modelValue",
|
|
9302
9224
|
"options",
|
|
9303
9225
|
"search-description"
|
|
9304
|
-
])) : t.filter.type === "search" ? (G(), K("div",
|
|
9226
|
+
])) : t.filter.type === "search" ? (G(), K("div", Gm, [n[16] ||= J("span", {
|
|
9305
9227
|
class: "g-filter-search-icon",
|
|
9306
9228
|
"aria-hidden": "true"
|
|
9307
9229
|
}, [J("svg", {
|
|
@@ -9314,29 +9236,29 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9314
9236
|
})])], -1), J("input", {
|
|
9315
9237
|
type: "search",
|
|
9316
9238
|
class: "g-filter-search-input",
|
|
9317
|
-
value:
|
|
9318
|
-
onInput: (e) =>
|
|
9239
|
+
value: Ze(t),
|
|
9240
|
+
onInput: (e) => Qe(t, e.target.value),
|
|
9319
9241
|
placeholder: t.filter.placeholder,
|
|
9320
9242
|
"aria-label": `Search ${t.label}`
|
|
9321
|
-
}, null, 40,
|
|
9243
|
+
}, null, 40, Km)])) : t.filter.type === "toggle" ? (G(), K("div", qm, [J("div", Jm, [
|
|
9322
9244
|
J("input", {
|
|
9323
9245
|
type: "checkbox",
|
|
9324
|
-
checked:
|
|
9325
|
-
onChange: (e) =>
|
|
9246
|
+
checked: Ze(t) === !0,
|
|
9247
|
+
onChange: (e) => Qe(t, e.target.checked),
|
|
9326
9248
|
id: `${I(S)}-filter-${String(t.key)}`,
|
|
9327
9249
|
"aria-describedby": t.filter.description ? `${I(S)}-filter-description-${String(t.key)}` : void 0
|
|
9328
|
-
}, null, 40,
|
|
9329
|
-
J("label", { for: `${I(S)}-filter-${String(t.key)}` }, M(t.filter.label), 9,
|
|
9250
|
+
}, null, 40, Ym),
|
|
9251
|
+
J("label", { for: `${I(S)}-filter-${String(t.key)}` }, M(t.filter.label), 9, Xm),
|
|
9330
9252
|
t.filter.description ? (G(), K("span", {
|
|
9331
9253
|
key: 0,
|
|
9332
9254
|
class: "g-filter-description",
|
|
9333
9255
|
id: `${I(S)}-filter-description-${String(t.key)}`
|
|
9334
|
-
}, M(t.filter.description), 9,
|
|
9256
|
+
}, M(t.filter.description), 9, Zm)) : Z("", !0)
|
|
9335
9257
|
])])) : t.filter.type === "multi-select" && t.filter.searchable ? (G(), q(cf, {
|
|
9336
9258
|
key: 3,
|
|
9337
|
-
"model-value":
|
|
9338
|
-
"onUpdate:modelValue": (e) =>
|
|
9339
|
-
options:
|
|
9259
|
+
"model-value": st(t),
|
|
9260
|
+
"onUpdate:modelValue": (e) => ct(t, e),
|
|
9261
|
+
options: rt(t),
|
|
9340
9262
|
label: "Include values",
|
|
9341
9263
|
placeholder: t.filter.placeholder,
|
|
9342
9264
|
"search-description": t.filter.searchDescription,
|
|
@@ -9347,21 +9269,21 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9347
9269
|
"options",
|
|
9348
9270
|
"placeholder",
|
|
9349
9271
|
"search-description"
|
|
9350
|
-
])) : t.filter.type === "multi-select" ? (G(), K("div",
|
|
9351
|
-
"model-value":
|
|
9352
|
-
"onUpdate:modelValue": (e) =>
|
|
9353
|
-
options:
|
|
9272
|
+
])) : t.filter.type === "multi-select" ? (G(), K("div", Qm, [Y(Gu, {
|
|
9273
|
+
"model-value": st(t),
|
|
9274
|
+
"onUpdate:modelValue": (e) => ct(t, e),
|
|
9275
|
+
options: it(t),
|
|
9354
9276
|
label: "Include values"
|
|
9355
9277
|
}, null, 8, [
|
|
9356
9278
|
"model-value",
|
|
9357
9279
|
"onUpdate:modelValue",
|
|
9358
9280
|
"options"
|
|
9359
|
-
]),
|
|
9281
|
+
]), $e(t) ? (G(), q(eu, {
|
|
9360
9282
|
key: 0,
|
|
9361
9283
|
class: "clear-multiselect-btn",
|
|
9362
9284
|
theme: "accent",
|
|
9363
9285
|
size: "small",
|
|
9364
|
-
onClick: (e) =>
|
|
9286
|
+
onClick: (e) => Qe(t, [])
|
|
9365
9287
|
}, {
|
|
9366
9288
|
default: L(() => [...n[17] ||= [X(" Clear ", -1)]]),
|
|
9367
9289
|
_: 1
|
|
@@ -9370,27 +9292,27 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9370
9292
|
}, 1024)) : Z("", !0)]), e.resizableColumns ? (G(), K("div", {
|
|
9371
9293
|
key: 0,
|
|
9372
9294
|
"data-column-key": String(t.key),
|
|
9373
|
-
class: j(["g-column-resize-handle", { "g-column-resize-handle--active":
|
|
9295
|
+
class: j(["g-column-resize-handle", { "g-column-resize-handle--active": O.value?.key === t.key }]),
|
|
9374
9296
|
role: "separator",
|
|
9375
9297
|
tabindex: "0",
|
|
9376
9298
|
"aria-orientation": "vertical",
|
|
9377
|
-
"aria-controls":
|
|
9299
|
+
"aria-controls": ne,
|
|
9378
9300
|
"aria-label": `Resize ${t.label} column`,
|
|
9379
9301
|
"aria-valuemin": 50,
|
|
9380
|
-
"aria-valuemax":
|
|
9381
|
-
"aria-valuenow":
|
|
9382
|
-
"aria-valuetext":
|
|
9302
|
+
"aria-valuemax": N(t.key),
|
|
9303
|
+
"aria-valuenow": Ie(t.key),
|
|
9304
|
+
"aria-valuetext": Le(t.key),
|
|
9383
9305
|
onClick: n[0] ||= Ts(() => {}, ["stop", "prevent"]),
|
|
9384
|
-
onKeydown: (e) =>
|
|
9385
|
-
onPointerdown: (e) =>
|
|
9386
|
-
}, null, 42,
|
|
9387
|
-
e.data.length === 0 ? (G(), K("tbody",
|
|
9306
|
+
onKeydown: (e) => Pe(e, t.key),
|
|
9307
|
+
onPointerdown: (e) => Ne(e, t.key)
|
|
9308
|
+
}, null, 42, $m)) : Z("", !0)], 10, Rm))), 128))])]),
|
|
9309
|
+
e.data.length === 0 ? (G(), K("tbody", eh, [J("tr", th, [J("td", {
|
|
9388
9310
|
class: "g-table-empty",
|
|
9389
|
-
colspan:
|
|
9390
|
-
}, [H(t.$slots, "empty")], 8,
|
|
9311
|
+
colspan: ze.value.length + +!!e.bulkSelectionEnabled
|
|
9312
|
+
}, [H(t.$slots, "empty")], 8, nh)])])) : (G(), q(mp, {
|
|
9391
9313
|
key: 1,
|
|
9392
9314
|
data: e.data,
|
|
9393
|
-
columns:
|
|
9315
|
+
columns: ze.value,
|
|
9394
9316
|
"group-by": e.groupBy,
|
|
9395
9317
|
"group-render": e.groupRender,
|
|
9396
9318
|
"row-clickable": e.rowClickable,
|
|
@@ -9416,8 +9338,8 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9416
9338
|
"table-id",
|
|
9417
9339
|
"change-tracker"
|
|
9418
9340
|
]))
|
|
9419
|
-
], 10,
|
|
9420
|
-
e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div",
|
|
9341
|
+
], 10, jm)], 512),
|
|
9342
|
+
e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div", rh, [J("span", ih, M(a.value.length) + " row" + M(a.value.length === 1 ? "" : "s") + " selected", 1), J("ul", ah, [(G(!0), K(W, null, V(e.bulkActions, (e) => (G(), K("li", { key: e.id }, [Y(eu, {
|
|
9421
9343
|
theme: e.theme || "accent",
|
|
9422
9344
|
onClick: (t) => v(e.id),
|
|
9423
9345
|
size: "small"
|
|
@@ -9425,9 +9347,9 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9425
9347
|
default: L(() => [X(M(e.label) + " " + M(a.value.length) + " row" + M(a.value.length === 1 ? "" : "s"), 1)]),
|
|
9426
9348
|
_: 2
|
|
9427
9349
|
}, 1032, ["theme", "onClick"])]))), 128))])])) : Z("", !0)
|
|
9428
|
-
]));
|
|
9350
|
+
])], 4));
|
|
9429
9351
|
}
|
|
9430
|
-
}), [["styles", [""]]]),
|
|
9352
|
+
}), [["styles", [""]]]), sh = { class: "popover-content" }, ch = { class: "year-dropdown" }, lh = { class: "month-selector" }, uh = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
9431
9353
|
__name: "GTermSelectorControl",
|
|
9432
9354
|
props: /*@__PURE__*/ U({
|
|
9433
9355
|
termYears: {
|
|
@@ -9460,7 +9382,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9460
9382
|
emits: ["update:modelValue"],
|
|
9461
9383
|
setup(e) {
|
|
9462
9384
|
let t = Ni(e, "modelValue");
|
|
9463
|
-
return (n, r) => (G(), K("div",
|
|
9385
|
+
return (n, r) => (G(), K("div", sh, [J("div", ch, [Y(Rf, {
|
|
9464
9386
|
modelValue: t.value.year,
|
|
9465
9387
|
"onUpdate:modelValue": r[0] ||= (e) => t.value.year = e,
|
|
9466
9388
|
options: e.termYears,
|
|
@@ -9469,7 +9391,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9469
9391
|
"modelValue",
|
|
9470
9392
|
"options",
|
|
9471
9393
|
"label"
|
|
9472
|
-
])]), J("div",
|
|
9394
|
+
])]), J("div", lh, [Y(Gf, {
|
|
9473
9395
|
modelValue: t.value.name,
|
|
9474
9396
|
"onUpdate:modelValue": r[1] ||= (e) => t.value.name = e,
|
|
9475
9397
|
options: e.termNames,
|
|
@@ -9481,7 +9403,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9481
9403
|
"label"
|
|
9482
9404
|
])])]));
|
|
9483
9405
|
}
|
|
9484
|
-
}), [["styles", [""]]]),
|
|
9406
|
+
}), [["styles", [""]]]), dh = { class: "g-term-selector" }, fh = { class: "g-term-label" }, ph = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
9485
9407
|
__name: "GTermSelector",
|
|
9486
9408
|
props: /*@__PURE__*/ U({
|
|
9487
9409
|
heading: {
|
|
@@ -9512,7 +9434,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9512
9434
|
emits: ["update:modelValue"],
|
|
9513
9435
|
setup(e) {
|
|
9514
9436
|
let t = Ni(e, "modelValue"), n = `${B()}-heading`;
|
|
9515
|
-
return (r, i) => (G(), K("div",
|
|
9437
|
+
return (r, i) => (G(), K("div", dh, [Y(hu, { "aria-labelledby": n }, {
|
|
9516
9438
|
trigger: L(({ toggle: e, open: n, popoverId: r }) => [Y(eu, {
|
|
9517
9439
|
class: "g-term-selector-button",
|
|
9518
9440
|
theme: "none",
|
|
@@ -9528,7 +9450,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9528
9450
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9529
9451
|
viewBox: "0 0 640 640"
|
|
9530
9452
|
}, [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),
|
|
9531
|
-
J("span",
|
|
9453
|
+
J("span", fh, M(t.value?.name) + " " + M(t.value?.year), 1),
|
|
9532
9454
|
i[2] ||= J("span", { class: "g-caret" }, [J("svg", {
|
|
9533
9455
|
role: "none",
|
|
9534
9456
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -9545,18 +9467,18 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9545
9467
|
id: n,
|
|
9546
9468
|
class: "g-popover-title",
|
|
9547
9469
|
tabindex: "-1"
|
|
9548
|
-
}, M(e.heading), 1), Y(
|
|
9470
|
+
}, M(e.heading), 1), Y(uh, Ha(r.$props, {
|
|
9549
9471
|
modelValue: t.value,
|
|
9550
9472
|
"onUpdate:modelValue": i[0] ||= (e) => t.value = e
|
|
9551
9473
|
}), null, 16, ["modelValue"])]),
|
|
9552
9474
|
_: 1
|
|
9553
9475
|
})]));
|
|
9554
9476
|
}
|
|
9555
|
-
}), [["styles", [""]]]),
|
|
9477
|
+
}), [["styles", [""]]]), mh = ["for"], hh = {
|
|
9556
9478
|
key: 0,
|
|
9557
9479
|
class: "g-textarea-required",
|
|
9558
9480
|
"aria-hidden": "true"
|
|
9559
|
-
},
|
|
9481
|
+
}, gh = ["id"], _h = [
|
|
9560
9482
|
"value",
|
|
9561
9483
|
"placeholder",
|
|
9562
9484
|
"disabled",
|
|
@@ -9565,11 +9487,11 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9565
9487
|
"rows",
|
|
9566
9488
|
"maxlength",
|
|
9567
9489
|
"aria-invalid"
|
|
9568
|
-
],
|
|
9490
|
+
], vh = {
|
|
9569
9491
|
key: 2,
|
|
9570
9492
|
class: "g-textarea-char-count",
|
|
9571
9493
|
"aria-live": "polite"
|
|
9572
|
-
},
|
|
9494
|
+
}, yh = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
9573
9495
|
inheritAttrs: !1,
|
|
9574
9496
|
__name: "GTextarea",
|
|
9575
9497
|
props: /*@__PURE__*/ U({
|
|
@@ -9667,12 +9589,12 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9667
9589
|
key: 0,
|
|
9668
9590
|
for: c.value,
|
|
9669
9591
|
class: "g-textarea-label"
|
|
9670
|
-
}, [X(M(n.label), 1), n.required ? (G(), K("span",
|
|
9592
|
+
}, [X(M(n.label), 1), n.required ? (G(), K("span", hh, " *")) : Z("", !0)], 8, mh)) : Z("", !0),
|
|
9671
9593
|
t.$slots.instructions || e.instructions ? (G(), K("div", {
|
|
9672
9594
|
key: 1,
|
|
9673
9595
|
id: "instructions-" + I(i),
|
|
9674
9596
|
class: "g-textarea-instructions"
|
|
9675
|
-
}, [H(t.$slots, "instructions", {}, () => [X(M(e.instructions), 1)])], 8,
|
|
9597
|
+
}, [H(t.$slots, "instructions", {}, () => [X(M(e.instructions), 1)])], 8, gh)) : Z("", !0),
|
|
9676
9598
|
J("textarea", Ha({
|
|
9677
9599
|
ref: "textareaEl",
|
|
9678
9600
|
value: r.value ?? "",
|
|
@@ -9693,36 +9615,36 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9693
9615
|
onInput: h,
|
|
9694
9616
|
onBlur: g,
|
|
9695
9617
|
onPaste: _
|
|
9696
|
-
}), null, 16,
|
|
9697
|
-
n.maxlength === void 0 ? Z("", !0) : (G(), K("div",
|
|
9618
|
+
}), null, 16, _h),
|
|
9619
|
+
n.maxlength === void 0 ? Z("", !0) : (G(), K("div", vh, M((r.value ?? "").length) + " / " + M(n.maxlength), 1)),
|
|
9698
9620
|
Y(Pu, {
|
|
9699
9621
|
errors: I(l),
|
|
9700
9622
|
id: "error-message-" + I(i)
|
|
9701
9623
|
}, null, 8, ["errors", "id"])
|
|
9702
9624
|
], 2));
|
|
9703
9625
|
}
|
|
9704
|
-
}), [["styles", [""]]]),
|
|
9626
|
+
}), [["styles", [""]]]), bh = { class: "g-three-way-toggle-wrapper" }, xh = { class: "g-three-way-toggle-control" }, Sh = ["id"], Ch = [
|
|
9705
9627
|
"aria-labelledby",
|
|
9706
9628
|
"aria-describedby",
|
|
9707
9629
|
"disabled",
|
|
9708
9630
|
"aria-invalid",
|
|
9709
9631
|
"aria-errormessage"
|
|
9710
|
-
],
|
|
9632
|
+
], wh = { key: 0 }, Th = { key: 1 }, Eh = { key: 2 }, Dh = ["for"], Oh = [
|
|
9711
9633
|
"id",
|
|
9712
9634
|
"name",
|
|
9713
9635
|
"checked",
|
|
9714
9636
|
"disabled"
|
|
9715
|
-
],
|
|
9637
|
+
], kh = ["for"], Ah = [
|
|
9716
9638
|
"id",
|
|
9717
9639
|
"name",
|
|
9718
9640
|
"checked",
|
|
9719
9641
|
"disabled"
|
|
9720
|
-
],
|
|
9642
|
+
], jh = ["for"], Mh = [
|
|
9721
9643
|
"id",
|
|
9722
9644
|
"name",
|
|
9723
9645
|
"checked",
|
|
9724
9646
|
"disabled"
|
|
9725
|
-
],
|
|
9647
|
+
], Nh = ["id"], Ph = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
9726
9648
|
__name: "GThreeWayToggle",
|
|
9727
9649
|
props: /*@__PURE__*/ U({
|
|
9728
9650
|
label: { type: String },
|
|
@@ -9756,10 +9678,10 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9756
9678
|
function m(e) {
|
|
9757
9679
|
n.disabled || (e.key === "n" || e.key === "N" ? (a(!1), e.preventDefault()) : (e.key === "y" || e.key === "Y") && (a(!0), e.preventDefault()));
|
|
9758
9680
|
}
|
|
9759
|
-
return (t, n) => (G(), K("div",
|
|
9681
|
+
return (t, n) => (G(), K("div", bh, [J("div", xh, [J("span", {
|
|
9760
9682
|
class: "g-label",
|
|
9761
9683
|
id: I(c)
|
|
9762
|
-
}, [H(t.$slots, "label", {}, () => [X(M(e.label), 1)])], 8,
|
|
9684
|
+
}, [H(t.$slots, "label", {}, () => [X(M(e.label), 1)])], 8, Sh), J("fieldset", {
|
|
9763
9685
|
class: j(["g-three-way-toggle", { "g-has-error": e.error }]),
|
|
9764
9686
|
role: "radiogroup",
|
|
9765
9687
|
"aria-labelledby": I(c),
|
|
@@ -9771,7 +9693,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9771
9693
|
J("span", {
|
|
9772
9694
|
class: j(["g-toggle-thumb", p.value]),
|
|
9773
9695
|
"aria-hidden": "true"
|
|
9774
|
-
}, [r.value === !1 ? (G(), K("span",
|
|
9696
|
+
}, [r.value === !1 ? (G(), K("span", wh, "NO")) : r.value === !0 ? (G(), K("span", Th, "YES")) : (G(), K("span", Eh))], 2),
|
|
9775
9697
|
J("label", {
|
|
9776
9698
|
for: I(u),
|
|
9777
9699
|
class: "g-toggle-option g-left",
|
|
@@ -9785,7 +9707,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9785
9707
|
value: "false",
|
|
9786
9708
|
disabled: e.disabled,
|
|
9787
9709
|
onChange: n[0] ||= (e) => o(!1)
|
|
9788
|
-
}, null, 40,
|
|
9710
|
+
}, null, 40, Oh), n[5] ||= J("span", { class: "ilw-sr-only" }, "No", -1)], 40, Dh),
|
|
9789
9711
|
J("label", {
|
|
9790
9712
|
for: I(d),
|
|
9791
9713
|
class: "g-toggle-option g-center",
|
|
@@ -9797,7 +9719,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9797
9719
|
checked: r.value === null,
|
|
9798
9720
|
disabled: e.disabled,
|
|
9799
9721
|
onChange: n[2] ||= (e) => o(null)
|
|
9800
|
-
}, null, 40,
|
|
9722
|
+
}, null, 40, Ah), n[6] ||= J("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, kh),
|
|
9801
9723
|
J("label", {
|
|
9802
9724
|
for: I(f),
|
|
9803
9725
|
class: "g-toggle-option g-right",
|
|
@@ -9811,16 +9733,16 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9811
9733
|
checked: r.value === !0,
|
|
9812
9734
|
disabled: e.disabled,
|
|
9813
9735
|
onChange: n[3] ||= (e) => o(!0)
|
|
9814
|
-
}, null, 40,
|
|
9815
|
-
], 2)], 10,
|
|
9736
|
+
}, null, 40, Mh), n[7] ||= J("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, jh)
|
|
9737
|
+
], 2)], 10, Ch)]), e.error ? (G(), K("div", {
|
|
9816
9738
|
key: 0,
|
|
9817
9739
|
id: `${I(c)}-error`,
|
|
9818
9740
|
class: "g-form-error",
|
|
9819
9741
|
role: "alert",
|
|
9820
9742
|
"aria-atomic": "true"
|
|
9821
|
-
}, M(e.error), 9,
|
|
9743
|
+
}, M(e.error), 9, Nh)) : Z("", !0)]));
|
|
9822
9744
|
}
|
|
9823
|
-
}), [["styles", [""]]]),
|
|
9745
|
+
}), [["styles", [""]]]), Fh = { class: "g-toggle-wrapper" }, Ih = ["for"], Lh = [
|
|
9824
9746
|
"id",
|
|
9825
9747
|
"checked",
|
|
9826
9748
|
"disabled",
|
|
@@ -9828,7 +9750,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9828
9750
|
"aria-describedby",
|
|
9829
9751
|
"aria-invalid",
|
|
9830
9752
|
"aria-errormessage"
|
|
9831
|
-
],
|
|
9753
|
+
], Rh = ["id"], zh = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
9832
9754
|
__name: "GToggle",
|
|
9833
9755
|
props: /*@__PURE__*/ U({
|
|
9834
9756
|
label: { type: String },
|
|
@@ -9863,11 +9785,11 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9863
9785
|
n.disabled || (e.key === "n" || e.key === "N" || e.key === "ArrowLeft" ? (a(!1), e.preventDefault()) : (e.key === "y" || e.key === "Y" || e.key === "ArrowRight") && (a(!0), e.preventDefault()));
|
|
9864
9786
|
}
|
|
9865
9787
|
let l = B(), u = B();
|
|
9866
|
-
return (t, n) => (G(), K("div",
|
|
9788
|
+
return (t, n) => (G(), K("div", Fh, [J("div", { class: j(["g-toggle-control", { "g-external-label": e.externalLabel }]) }, [e.externalLabel ? Z("", !0) : (G(), K("label", {
|
|
9867
9789
|
key: 0,
|
|
9868
9790
|
class: "g-label",
|
|
9869
9791
|
for: I(u)
|
|
9870
|
-
}, [H(t.$slots, "label", {}, () => [X(M(e.label), 1)])], 8,
|
|
9792
|
+
}, [H(t.$slots, "label", {}, () => [X(M(e.label), 1)])], 8, Ih)), J("div", { class: j(["g-toggle", { "g-has-error": e.error }]) }, [J("div", { class: j(["g-toggle-track", [r.value ? "g-right" : "g-left", { "g-disabled": e.disabled }]]) }, [J("span", {
|
|
9871
9793
|
class: j(["g-toggle-thumb", r.value ? "g-right" : "g-left"]),
|
|
9872
9794
|
"aria-hidden": "true"
|
|
9873
9795
|
}, null, 2), J("input", {
|
|
@@ -9881,21 +9803,21 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9881
9803
|
"aria-errormessage": e.error ? I(l) + "-error" : void 0,
|
|
9882
9804
|
onChange: s,
|
|
9883
9805
|
onKeydown: c
|
|
9884
|
-
}, null, 40,
|
|
9806
|
+
}, null, 40, Lh)], 2)], 2)], 2), e.error ? (G(), K("div", {
|
|
9885
9807
|
key: 0,
|
|
9886
9808
|
id: `${I(l)}-error`,
|
|
9887
9809
|
class: "g-form-error",
|
|
9888
9810
|
role: "alert",
|
|
9889
9811
|
"aria-atomic": "true"
|
|
9890
|
-
}, M(e.error), 9,
|
|
9812
|
+
}, M(e.error), 9, Rh)) : Z("", !0)]));
|
|
9891
9813
|
}
|
|
9892
|
-
}), [["styles", [""]]]),
|
|
9814
|
+
}), [["styles", [""]]]), Bh = { class: "g-tree-menu__divider" }, Vh = {
|
|
9893
9815
|
key: 0,
|
|
9894
9816
|
class: "g-tree-menu__divider-line"
|
|
9895
|
-
},
|
|
9817
|
+
}, Hh = {
|
|
9896
9818
|
key: 1,
|
|
9897
9819
|
class: "g-tree-menu__expand-all-wrapper"
|
|
9898
|
-
},
|
|
9820
|
+
}, Uh = { class: "g-tree-menu__content" }, Wh = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
9899
9821
|
__name: "GTreeMenu",
|
|
9900
9822
|
props: {
|
|
9901
9823
|
heading: { type: String },
|
|
@@ -9955,7 +9877,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9955
9877
|
default: L(() => [H(n.$slots, "heading", {}, () => [X(M(e.heading), 1)])]),
|
|
9956
9878
|
_: 3
|
|
9957
9879
|
}, 8, ["id"])) : Z("", !0),
|
|
9958
|
-
J("div",
|
|
9880
|
+
J("div", Bh, [e.smallHeading ? Z("", !0) : (G(), K("div", Vh)), e.showExpandAll ? (G(), K("div", Hh, [J("button", {
|
|
9959
9881
|
class: "g-tree-menu__expand-all-btn",
|
|
9960
9882
|
onClick: u
|
|
9961
9883
|
}, [(G(), K("svg", {
|
|
@@ -9968,10 +9890,10 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9968
9890
|
"stroke-linecap": "round",
|
|
9969
9891
|
"stroke-linejoin": "round"
|
|
9970
9892
|
}, [...r[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(" " + M(l.value ? "Collapse all" : "Expand all"), 1)])])) : Z("", !0)]),
|
|
9971
|
-
J("div",
|
|
9893
|
+
J("div", Uh, [H(n.$slots, "default")])
|
|
9972
9894
|
], 16));
|
|
9973
9895
|
}
|
|
9974
|
-
}), [["styles", [""]]]),
|
|
9896
|
+
}), [["styles", [""]]]), Gh = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
9975
9897
|
name: "GTreeMenuList",
|
|
9976
9898
|
props: { listType: {
|
|
9977
9899
|
default: void 0,
|
|
@@ -9991,20 +9913,20 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
9991
9913
|
_: 3
|
|
9992
9914
|
}, 8, ["role"]));
|
|
9993
9915
|
}
|
|
9994
|
-
}), [["styles", [""]]]),
|
|
9916
|
+
}), [["styles", [""]]]), Kh = {
|
|
9995
9917
|
key: 0,
|
|
9996
9918
|
class: "g-tree-menu__row"
|
|
9997
|
-
},
|
|
9919
|
+
}, qh = { class: "g-tree-menu__row-content-text" }, Jh = [
|
|
9998
9920
|
"aria-controls",
|
|
9999
9921
|
"aria-expanded",
|
|
10000
9922
|
"aria-label"
|
|
10001
|
-
],
|
|
9923
|
+
], Yh = {
|
|
10002
9924
|
key: 1,
|
|
10003
9925
|
class: "g-tree-menu__row g-tree-menu__row--leaf"
|
|
10004
|
-
},
|
|
9926
|
+
}, Xh = {
|
|
10005
9927
|
class: "g-tree-menu__row-content",
|
|
10006
9928
|
"data-tree-primary": ""
|
|
10007
|
-
},
|
|
9929
|
+
}, Zh = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
10008
9930
|
name: "GTreeMenuItem",
|
|
10009
9931
|
inheritAttrs: !1,
|
|
10010
9932
|
props: {
|
|
@@ -10069,11 +9991,11 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
10069
9991
|
class: "g-tree-menu__item",
|
|
10070
9992
|
"data-tree-expandable": c.value ? "true" : void 0
|
|
10071
9993
|
}), {
|
|
10072
|
-
default: L(() => [c.value ? (G(), K("div",
|
|
9994
|
+
default: L(() => [c.value ? (G(), K("div", Kh, [J("span", {
|
|
10073
9995
|
class: "g-tree-menu__row-content",
|
|
10074
9996
|
"data-tree-primary": "",
|
|
10075
9997
|
onClick: b
|
|
10076
|
-
}, [J("span",
|
|
9998
|
+
}, [J("span", qh, [H(e.$slots, "default")])]), J("button", {
|
|
10077
9999
|
type: "button",
|
|
10078
10000
|
class: "g-tree-menu__toggle-btn",
|
|
10079
10001
|
"aria-controls": I(o) + "-children",
|
|
@@ -10091,7 +10013,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
10091
10013
|
"stroke-width": "2.5",
|
|
10092
10014
|
"stroke-linecap": "round",
|
|
10093
10015
|
"stroke-linejoin": "round"
|
|
10094
|
-
}, [...t[0] ||= [J("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2))], 8,
|
|
10016
|
+
}, [...t[0] ||= [J("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2))], 8, Jh)])) : (G(), K("div", Yh, [t[1] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), J("span", Xh, [H(e.$slots, "default")])])), c.value && f.value ? (G(), q(Gh, {
|
|
10095
10017
|
key: 2,
|
|
10096
10018
|
id: I(o) + "-children"
|
|
10097
10019
|
}, {
|
|
@@ -10101,11 +10023,11 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
10101
10023
|
_: 3
|
|
10102
10024
|
}, 16, ["role", "data-tree-expandable"]));
|
|
10103
10025
|
}
|
|
10104
|
-
}), [["styles", [""]]]),
|
|
10026
|
+
}), [["styles", [""]]]), Qh = { class: "g-user-menu" }, $h = [
|
|
10105
10027
|
"aria-label",
|
|
10106
10028
|
"aria-expanded",
|
|
10107
10029
|
"onClick"
|
|
10108
|
-
],
|
|
10030
|
+
], eg = { class: "g-user-menu__popover" }, tg = { class: "g-user-menu__list" }, ng = /*#__PURE__*/ $(/* @__PURE__ */ z({
|
|
10109
10031
|
__name: "GUserMenu",
|
|
10110
10032
|
props: {
|
|
10111
10033
|
initials: { type: String },
|
|
@@ -10126,7 +10048,7 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
10126
10048
|
e.target?.closest("a") && (n.value = !1);
|
|
10127
10049
|
}
|
|
10128
10050
|
let a = ui();
|
|
10129
|
-
return (o, s) => (G(), K("div",
|
|
10051
|
+
return (o, s) => (G(), K("div", Qh, [Y(hu, {
|
|
10130
10052
|
modelValue: n.value,
|
|
10131
10053
|
"onUpdate:modelValue": s[0] ||= (e) => n.value = e,
|
|
10132
10054
|
minimal: ""
|
|
@@ -10138,8 +10060,8 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
10138
10060
|
"aria-expanded": n.value,
|
|
10139
10061
|
"aria-haspopup": "menu",
|
|
10140
10062
|
onClick: t
|
|
10141
|
-
}, M(e.initials), 13,
|
|
10142
|
-
default: L(() => [J("div",
|
|
10063
|
+
}, M(e.initials), 13, $h)]),
|
|
10064
|
+
default: L(() => [J("div", eg, [J("h2", {
|
|
10143
10065
|
id: t,
|
|
10144
10066
|
ref_key: "emailHeading",
|
|
10145
10067
|
ref: r,
|
|
@@ -10149,19 +10071,19 @@ var Zp = { class: "g-table-outer-wrap" }, Qp = {
|
|
|
10149
10071
|
class: "g-user-menu__nav",
|
|
10150
10072
|
"aria-labelledby": t,
|
|
10151
10073
|
onClick: i
|
|
10152
|
-
}, [J("ul",
|
|
10074
|
+
}, [J("ul", tg, [(G(!0), K(W, null, V(a.default(), (e, t) => (G(), K("li", { key: t }, [(G(), q(ni(e)))]))), 128))])])])]),
|
|
10153
10075
|
_: 1
|
|
10154
10076
|
}, 8, ["modelValue"])]));
|
|
10155
10077
|
}
|
|
10156
|
-
}), [["styles", [""]]]),
|
|
10157
|
-
|
|
10158
|
-
var
|
|
10078
|
+
}), [["styles", [""]]]), rg = globalThis;
|
|
10079
|
+
rg.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ = !0;
|
|
10080
|
+
var ig = {
|
|
10159
10081
|
shadowRoot: !1,
|
|
10160
10082
|
configureApp(e) {
|
|
10161
|
-
let t = (
|
|
10162
|
-
|
|
10083
|
+
let t = (rg.__GRAD_VUE_WC_APP_ID__ ?? 0) + 1;
|
|
10084
|
+
rg.__GRAD_VUE_WC_APP_ID__ = t, e.config.idPrefix = `g-wc-${t}-`;
|
|
10163
10085
|
}
|
|
10164
|
-
},
|
|
10086
|
+
}, ag = [
|
|
10165
10087
|
["g-alert-dialog", ou],
|
|
10166
10088
|
["g-app-header", Ou],
|
|
10167
10089
|
["g-button", eu],
|
|
@@ -10189,21 +10111,21 @@ var ag = {
|
|
|
10189
10111
|
["g-sidebar", Jf],
|
|
10190
10112
|
["g-sidebar-menu", Qf],
|
|
10191
10113
|
["g-submit-button", $f],
|
|
10192
|
-
["g-table",
|
|
10114
|
+
["g-table", oh],
|
|
10193
10115
|
["g-table-body", mp],
|
|
10194
|
-
["g-term-selector",
|
|
10195
|
-
["g-term-selector-control",
|
|
10116
|
+
["g-term-selector", ph],
|
|
10117
|
+
["g-term-selector-control", uh],
|
|
10196
10118
|
["g-text-input", cd],
|
|
10197
|
-
["g-textarea",
|
|
10198
|
-
["g-three-way-toggle",
|
|
10199
|
-
["g-toggle",
|
|
10200
|
-
["g-tree-menu",
|
|
10201
|
-
["g-tree-menu-list",
|
|
10202
|
-
["g-tree-menu-item",
|
|
10203
|
-
["g-user-menu",
|
|
10119
|
+
["g-textarea", yh],
|
|
10120
|
+
["g-three-way-toggle", Ph],
|
|
10121
|
+
["g-toggle", zh],
|
|
10122
|
+
["g-tree-menu", Wh],
|
|
10123
|
+
["g-tree-menu-list", Gh],
|
|
10124
|
+
["g-tree-menu-item", Zh],
|
|
10125
|
+
["g-user-menu", ng]
|
|
10204
10126
|
];
|
|
10205
|
-
for (let [e, t] of
|
|
10206
|
-
let n = /* @__PURE__ */ bs(t,
|
|
10127
|
+
for (let [e, t] of ag) {
|
|
10128
|
+
let n = /* @__PURE__ */ bs(t, ig);
|
|
10207
10129
|
customElements.define(e, n);
|
|
10208
10130
|
}
|
|
10209
10131
|
//#endregion
|