@illinois-grad/grad-vue 7.2.5 → 7.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/GCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/GClientOnly.vue.d.ts +7 -5
- package/dist/components/GForm.vue.d.ts +1 -1
- package/dist/components/GSidebar.vue.d.ts +4 -0
- package/dist/components/GTextInput.vue.d.ts +1 -1
- package/dist/components/detail-list/GDetailListItem.vue.d.ts +7 -5
- package/dist/{grad-vue-CTh0y4g9.js → grad-vue-COt_mmY9.js} +33 -70
- package/dist/grad-vue-COt_mmY9.js.map +1 -0
- package/dist/grad-vue-elements.css +30 -30
- package/dist/grad-vue-elements.js +2201 -2239
- package/dist/grad-vue-elements.js.map +1 -1
- package/dist/grad-vue.css +1 -1
- package/dist/grad-vue.js +1 -1
- package/dist/plugin.js +2 -3
- package/package.json +3 -3
- package/dist/grad-vue-CTh0y4g9.js.map +0 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} & {
|
|
5
|
-
|
|
1
|
+
declare const __VLS_template: () => {
|
|
2
|
+
__VLS_Slots: {
|
|
3
|
+
default?: (props: {}) => any;
|
|
4
|
+
} & {
|
|
5
|
+
fallback?: (props: {}) => any;
|
|
6
|
+
};
|
|
6
7
|
};
|
|
8
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
7
9
|
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
11
|
declare const _default: typeof __VLS_export;
|
|
@@ -70,9 +70,9 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
70
70
|
onSubmit?: ((values: Record<string, any>) => any) | undefined;
|
|
71
71
|
"onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
|
-
formKey: string;
|
|
74
73
|
action: string;
|
|
75
74
|
method: string;
|
|
75
|
+
formKey: string;
|
|
76
76
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
77
77
|
default?: (props: {
|
|
78
78
|
isSubmitting: boolean;
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
*
|
|
19
19
|
* When `storage-key` is provided, the sidebar remembers and restores its own
|
|
20
20
|
* scroll position from `sessionStorage`.
|
|
21
|
+
*
|
|
22
|
+
* The dark theme has no background image by default. Set the
|
|
23
|
+
* `--g-sidebar-background-image` CSS variable (or the `background-image`
|
|
24
|
+
* prop) to add one.
|
|
21
25
|
*/
|
|
22
26
|
declare const _default: typeof __VLS_export;
|
|
23
27
|
export default _default;
|
|
@@ -141,11 +141,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
141
141
|
placeholder: string;
|
|
142
142
|
required: boolean;
|
|
143
143
|
name: string;
|
|
144
|
+
prefix: string;
|
|
144
145
|
disabled: boolean;
|
|
145
146
|
instructions: string;
|
|
146
147
|
errors: string[];
|
|
147
148
|
formKey: string;
|
|
148
|
-
prefix: string;
|
|
149
149
|
suffix: string;
|
|
150
150
|
debounce: number;
|
|
151
151
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -4,12 +4,14 @@ interface Props {
|
|
|
4
4
|
*/
|
|
5
5
|
label: string;
|
|
6
6
|
}
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} & {
|
|
11
|
-
|
|
7
|
+
declare const __VLS_template: () => {
|
|
8
|
+
__VLS_Slots: {
|
|
9
|
+
label?: (props: {}) => any;
|
|
10
|
+
} & {
|
|
11
|
+
default?: (props: {}) => any;
|
|
12
|
+
};
|
|
12
13
|
};
|
|
14
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
13
15
|
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
17
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment as e, Teleport as t, Transition as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, getCurrentScope as f, inject as p, mergeModels as m, mergeProps as h, nextTick as g, normalizeClass as _, normalizeStyle as v, onBeforeMount as y, onBeforeUnmount as b, onMounted as x, onScopeDispose as S, onUnmounted as C, openBlock as w, provide as T, reactive as E, readonly as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as j, shallowReactive as M, shallowRef as N, toDisplayString as P, toRaw as F, toRef as I, toValue as L, unref as R, useAttrs as z, useId as B, useModel as V, useSlots as H, useTemplateRef as U, vShow as ee, watch as W, watchEffect as G, withCtx as K, withDirectives as te, withModifiers as q } from "vue";
|
|
2
2
|
import { createEventHook as ne, toArray as re, tryOnScopeDispose as ie, unrefElement as J, useClipboard as ae, useDebounceFn as Y, useFocusWithin as X, useIntersectionObserver as oe, useLocalStorage as se, useMediaQuery as ce, useMutationObserver as Z, useResizeObserver as le, useSessionStorage as ue } from "@vueuse/core";
|
|
3
3
|
import { createFocusTrap as de } from "focus-trap";
|
|
4
|
-
|
|
4
|
+
// src/compose/useCustomElementAttrs.ts
|
|
5
5
|
function fe() {
|
|
6
6
|
return globalThis.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ === !0;
|
|
7
7
|
}
|
|
@@ -18,8 +18,7 @@ function pe(e = {}) {
|
|
|
18
18
|
})
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
//#region src/components/GButton.vue?vue&type=script&setup=true&lang.ts
|
|
21
|
+
// src/components/GButton.vue?vue&type=script&setup=true&lang.ts
|
|
23
22
|
var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PURE__ */ u({
|
|
24
23
|
inheritAttrs: !1,
|
|
25
24
|
__name: "GButton",
|
|
@@ -306,8 +305,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
|
|
|
306
305
|
}, 16, ["role", "data-tree-expandable"]));
|
|
307
306
|
}
|
|
308
307
|
});
|
|
309
|
-
|
|
310
|
-
//#region src/compose/useForm.ts
|
|
308
|
+
// src/compose/useForm.ts
|
|
311
309
|
function Oe() {
|
|
312
310
|
let e = M({}), t = O(!1), n = r(() => {
|
|
313
311
|
let t = {};
|
|
@@ -348,8 +346,7 @@ function Oe() {
|
|
|
348
346
|
submit: c
|
|
349
347
|
};
|
|
350
348
|
}
|
|
351
|
-
|
|
352
|
-
//#region src/compose/useWebComponentForm.ts
|
|
349
|
+
// src/compose/useWebComponentForm.ts
|
|
353
350
|
function ke() {
|
|
354
351
|
let e = globalThis;
|
|
355
352
|
return e.__GRAD_VUE_WC_FORMS__ ||= /* @__PURE__ */ new Map(), e.__GRAD_VUE_WC_FORMS__;
|
|
@@ -358,8 +355,7 @@ function Ae(e = "default") {
|
|
|
358
355
|
let t = ke(), n = e || "default";
|
|
359
356
|
return t.has(n) || t.set(n, Oe()), t.get(n);
|
|
360
357
|
}
|
|
361
|
-
|
|
362
|
-
//#region src/compose/useFormField.ts
|
|
358
|
+
// src/compose/useFormField.ts
|
|
363
359
|
function $(e) {
|
|
364
360
|
let t = z(), n = typeof t["form-key"] == "string" ? t["form-key"] : void 0, i = e.formKey ?? n ?? "default", a = p("form", null) ?? (fe() ? Ae(i) : null), o = r(() => {
|
|
365
361
|
let t = [];
|
|
@@ -378,8 +374,7 @@ function $(e) {
|
|
|
378
374
|
hasErrors: s
|
|
379
375
|
};
|
|
380
376
|
}
|
|
381
|
-
|
|
382
|
-
//#region src/components/form/GFormErrorMessages.vue?vue&type=script&setup=true&lang.ts
|
|
377
|
+
// src/components/form/GFormErrorMessages.vue?vue&type=script&setup=true&lang.ts
|
|
383
378
|
var je = ["id"], Me = /* @__PURE__ */ u({
|
|
384
379
|
__name: "GFormErrorMessages",
|
|
385
380
|
props: {
|
|
@@ -568,8 +563,7 @@ function Ye() {
|
|
|
568
563
|
}
|
|
569
564
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
570
565
|
var Xe = (e) => e != null;
|
|
571
|
-
|
|
572
|
-
//#region ../../node_modules/@vueuse/integrations/dist/useFocusTrap.js
|
|
566
|
+
// ../../node_modules/@vueuse/integrations/dist/useFocusTrap.js
|
|
573
567
|
function Ze(e, t = {}) {
|
|
574
568
|
let n, { immediate: i, ...a } = t, o = N(!1), s = N(!1), c = (e) => n && n.activate(e), l = (e) => n && n.deactivate(e), u = () => {
|
|
575
569
|
n && (n.pause(), s.value = !0);
|
|
@@ -607,17 +601,8 @@ function Ze(e, t = {}) {
|
|
|
607
601
|
unpause: d
|
|
608
602
|
};
|
|
609
603
|
}
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
var Qe = [
|
|
613
|
-
"a[href]",
|
|
614
|
-
"button:not([disabled])",
|
|
615
|
-
"input:not([disabled])",
|
|
616
|
-
"select:not([disabled])",
|
|
617
|
-
"textarea:not([disabled])",
|
|
618
|
-
"[tabindex]:not([tabindex='-1'])",
|
|
619
|
-
"[contenteditable='true']"
|
|
620
|
-
].join(",");
|
|
604
|
+
// src/compose/focusable.ts
|
|
605
|
+
var Qe = "a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex='-1']),[contenteditable='true']";
|
|
621
606
|
function $e(e) {
|
|
622
607
|
return e ? Array.from(e.querySelectorAll(Qe)) : [];
|
|
623
608
|
}
|
|
@@ -625,8 +610,7 @@ function et(e) {
|
|
|
625
610
|
let t = document.activeElement;
|
|
626
611
|
return t ? e.findIndex((e) => e === t || e.contains(t)) : -1;
|
|
627
612
|
}
|
|
628
|
-
|
|
629
|
-
//#region src/compose/useOverlayFocus.ts
|
|
613
|
+
// src/compose/useOverlayFocus.ts
|
|
630
614
|
function tt(e, t, n = !1) {
|
|
631
615
|
let r = O(!1), i = () => !!e.value?.querySelector(Qe), { activate: a, deactivate: o, pause: s, unpause: c } = Ze(e, {
|
|
632
616
|
immediate: !1,
|
|
@@ -670,8 +654,7 @@ function tt(e, t, n = !1) {
|
|
|
670
654
|
unpause: c
|
|
671
655
|
};
|
|
672
656
|
}
|
|
673
|
-
|
|
674
|
-
//#region src/compose/useOverlayEscape.ts
|
|
657
|
+
// src/compose/useOverlayEscape.ts
|
|
675
658
|
function nt(e, t, n, r, i) {
|
|
676
659
|
function a(i) {
|
|
677
660
|
if (n.value && t.value) {
|
|
@@ -690,8 +673,7 @@ function nt(e, t, n, r, i) {
|
|
|
690
673
|
document.removeEventListener("mousedown", a), document.removeEventListener("keydown", o), i();
|
|
691
674
|
});
|
|
692
675
|
}
|
|
693
|
-
|
|
694
|
-
//#region src/compose/popoverPosition.ts
|
|
676
|
+
// src/compose/popoverPosition.ts
|
|
695
677
|
function rt(e, t, n, r) {
|
|
696
678
|
let i = r?.gap ?? 8, a = r?.margin ?? 16, o = r?.preferAbove ?? !1, s = !1, c = !1, l;
|
|
697
679
|
o ? e.top - t.height - i > n.top + a ? (l = e.top - t.height - i, s = !0) : e.bottom + t.height + i <= n.bottom - a ? l = e.bottom + i : (l = n.top + a, c = !0) : e.bottom + t.height + i > n.bottom - a && e.top - t.height - i > n.top + a ? (l = e.top - t.height - i, s = !0) : e.bottom + t.height + i > n.bottom - a && e.top - t.height - i <= n.top + a ? (l = n.top + a, c = !0) : l = e.bottom + i;
|
|
@@ -706,8 +688,7 @@ function rt(e, t, n, r) {
|
|
|
706
688
|
overlay: c
|
|
707
689
|
};
|
|
708
690
|
}
|
|
709
|
-
|
|
710
|
-
//#region src/components/GClientOnly.vue
|
|
691
|
+
// src/components/GClientOnly.vue
|
|
711
692
|
var it = /* @__PURE__ */ u({
|
|
712
693
|
__name: "GClientOnly",
|
|
713
694
|
setup(e) {
|
|
@@ -902,8 +883,7 @@ function mt(e, t) {
|
|
|
902
883
|
function ht(e) {
|
|
903
884
|
e.style.opacity = "0", e.style.visibility = "hidden";
|
|
904
885
|
}
|
|
905
|
-
|
|
906
|
-
//#region src/components/GTooltip.vue
|
|
886
|
+
// src/components/GTooltip.vue
|
|
907
887
|
var gt = /* @__PURE__ */ u({
|
|
908
888
|
__name: "GTooltip",
|
|
909
889
|
props: { text: {} },
|
|
@@ -1198,8 +1178,7 @@ var gt = /* @__PURE__ */ u({
|
|
|
1198
1178
|
})]));
|
|
1199
1179
|
}
|
|
1200
1180
|
});
|
|
1201
|
-
|
|
1202
|
-
//#region src/compose/useSelectDropdown.ts
|
|
1181
|
+
// src/compose/useSelectDropdown.ts
|
|
1203
1182
|
function Ft(e) {
|
|
1204
1183
|
return e.map((e) => typeof e == "string" ? {
|
|
1205
1184
|
label: e,
|
|
@@ -1248,8 +1227,7 @@ function It({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a })
|
|
|
1248
1227
|
scrollOptionIntoView: _
|
|
1249
1228
|
};
|
|
1250
1229
|
}
|
|
1251
|
-
|
|
1252
|
-
//#region src/components/GSelect.vue?vue&type=script&setup=true&lang.ts
|
|
1230
|
+
// src/components/GSelect.vue?vue&type=script&setup=true&lang.ts
|
|
1253
1231
|
var Lt = ["id"], Rt = {
|
|
1254
1232
|
key: 0,
|
|
1255
1233
|
class: "g-select-required",
|
|
@@ -1699,8 +1677,7 @@ var Lt = ["id"], Rt = {
|
|
|
1699
1677
|
}, [A(t.$slots, "option", { option: e }, () => [c(P(e.title), 1)])], 42, rn))), 128)) : a("", !0)], 8, $t)])) : a("", !0)], 8, Yt));
|
|
1700
1678
|
}
|
|
1701
1679
|
});
|
|
1702
|
-
|
|
1703
|
-
//#region src/compose/useWebComponentSidebar.ts
|
|
1680
|
+
// src/compose/useWebComponentSidebar.ts
|
|
1704
1681
|
function on(e) {
|
|
1705
1682
|
return e.replace(/[^a-zA-Z0-9_-]/g, "-");
|
|
1706
1683
|
}
|
|
@@ -1746,8 +1723,7 @@ function cn(e = "default", t) {
|
|
|
1746
1723
|
document.removeEventListener("mousedown", s), document.removeEventListener("focusin", c);
|
|
1747
1724
|
}), o;
|
|
1748
1725
|
}
|
|
1749
|
-
|
|
1750
|
-
//#region src/components/hamburger/GHamburgerMenuButton.vue?vue&type=script&setup=true&lang.ts
|
|
1726
|
+
// src/components/hamburger/GHamburgerMenuButton.vue?vue&type=script&setup=true&lang.ts
|
|
1751
1727
|
var ln = [
|
|
1752
1728
|
"id",
|
|
1753
1729
|
"aria-controls",
|
|
@@ -1936,7 +1912,7 @@ var ln = [
|
|
|
1936
1912
|
if (e) {
|
|
1937
1913
|
if (t < 0) return;
|
|
1938
1914
|
await g(), r.value?.show(), await r.value?.focusItem(t);
|
|
1939
|
-
} else r.value?.hide(),
|
|
1915
|
+
} else r.value?.hide(), t < 0 || (await g(), l(t));
|
|
1940
1916
|
}
|
|
1941
1917
|
}), (c, l) => (w(), o("header", { class: _(["g-app-header", { "g-app-header--no-app-controls": !c.$slots["app-controls"] }]) }, [
|
|
1942
1918
|
l[1] ||= s("div", { class: "g-app-header__background" }, [s("div", { class: "g-app-header__background-pattern" }), s("div", { class: "g-app-header__background-gradient" })], -1),
|
|
@@ -1983,8 +1959,7 @@ var ln = [
|
|
|
1983
1959
|
], 2));
|
|
1984
1960
|
}
|
|
1985
1961
|
});
|
|
1986
|
-
|
|
1987
|
-
//#region src/compose/useScrollRestore.ts
|
|
1962
|
+
// src/compose/useScrollRestore.ts
|
|
1988
1963
|
function Sn(e, t) {
|
|
1989
1964
|
let n = t ? ue(`${t}:scroll`, 0, { writeDefaults: !1 }) : null, r = O(!!(n?.value && n.value > 0)), i = null, a = null, o = null, s = !1;
|
|
1990
1965
|
function c(e) {
|
|
@@ -2040,8 +2015,7 @@ function Sn(e, t) {
|
|
|
2040
2015
|
d(), i &&= (i.removeEventListener("scroll", u), null), s = !1;
|
|
2041
2016
|
}), { isPendingScrollRestore: r };
|
|
2042
2017
|
}
|
|
2043
|
-
|
|
2044
|
-
//#region src/components/GSidebar.vue?vue&type=script&setup=true&lang.ts
|
|
2018
|
+
// src/components/GSidebar.vue?vue&type=script&setup=true&lang.ts
|
|
2045
2019
|
var Cn = ["id"], wn = /* @__PURE__ */ u({
|
|
2046
2020
|
__name: "GSidebar",
|
|
2047
2021
|
props: {
|
|
@@ -2056,7 +2030,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
|
|
|
2056
2030
|
storageKey: {}
|
|
2057
2031
|
},
|
|
2058
2032
|
setup(e) {
|
|
2059
|
-
let t = e, n = p("sidebar", () => void 0, !0) ?? (fe() ? cn(t.sidebarKey, I(t, "mediaQuery")) : void 0), i = r(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "
|
|
2033
|
+
let t = e, n = p("sidebar", () => void 0, !0) ?? (fe() ? cn(t.sidebarKey, I(t, "mediaQuery")) : void 0), i = r(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "var(--g-sidebar-background-image, none)"), a = r(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), s = r(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), c = B(), { isPendingScrollRestore: l } = Sn(U("sidebar-ref"), t.storageKey);
|
|
2060
2034
|
function u(e) {
|
|
2061
2035
|
e.key === "Escape" && n?.isCollapsible?.value && n?.open?.value && (n.open.value = !1, document.getElementById(`${n.id}-hamburger`)?.focus());
|
|
2062
2036
|
}
|
|
@@ -2626,8 +2600,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
|
|
|
2626
2600
|
}, P(E(n, r)), 9, dr)) : a("", !0)], 10, ir))), 128))], 42, nr)], 64))), 128))], 512));
|
|
2627
2601
|
}
|
|
2628
2602
|
});
|
|
2629
|
-
|
|
2630
|
-
//#region src/components/table/columnFilters.ts
|
|
2603
|
+
// src/components/table/columnFilters.ts
|
|
2631
2604
|
function pr(e) {
|
|
2632
2605
|
return e.filter?.key ?? e.key;
|
|
2633
2606
|
}
|
|
@@ -2695,8 +2668,7 @@ function Sr(e, t) {
|
|
|
2695
2668
|
case "toggle": return yr(e, t) === !0 ? !e.transform || e.transform(!0) : void 0;
|
|
2696
2669
|
}
|
|
2697
2670
|
}
|
|
2698
|
-
|
|
2699
|
-
//#region src/components/GMultiSelect.vue?vue&type=script&setup=true&lang.ts
|
|
2671
|
+
// src/components/GMultiSelect.vue?vue&type=script&setup=true&lang.ts
|
|
2700
2672
|
var Cr = ["id", "for"], wr = {
|
|
2701
2673
|
key: 0,
|
|
2702
2674
|
class: "g-multiselect-required",
|
|
@@ -3355,8 +3327,7 @@ var Cr = ["id", "for"], wr = {
|
|
|
3355
3327
|
]));
|
|
3356
3328
|
}
|
|
3357
3329
|
});
|
|
3358
|
-
|
|
3359
|
-
//#region src/compose/useFiltering.ts
|
|
3330
|
+
// src/compose/useFiltering.ts
|
|
3360
3331
|
function bi(e) {
|
|
3361
3332
|
if (!(Array.isArray(e) && e.length === 0) && e !== null && e !== !1 && e !== "") return e;
|
|
3362
3333
|
}
|
|
@@ -3491,8 +3462,7 @@ function Ri(e, t = {}) {
|
|
|
3491
3462
|
})
|
|
3492
3463
|
};
|
|
3493
3464
|
}
|
|
3494
|
-
|
|
3495
|
-
//#region src/components/GTable.vue?vue&type=script&setup=true&lang.ts
|
|
3465
|
+
// src/components/GTable.vue?vue&type=script&setup=true&lang.ts
|
|
3496
3466
|
var zi = { class: "g-table-inner-wrap" }, Bi = { class: "g-table-control-actions" }, Vi = {
|
|
3497
3467
|
key: 0,
|
|
3498
3468
|
class: "g-sort-builder-wrap"
|
|
@@ -5251,8 +5221,7 @@ function cs(e, t = {}) {
|
|
|
5251
5221
|
stop: m
|
|
5252
5222
|
};
|
|
5253
5223
|
}
|
|
5254
|
-
|
|
5255
|
-
//#region src/components/GSkipLink.vue?vue&type=script&setup=true&lang.ts
|
|
5224
|
+
// src/components/GSkipLink.vue?vue&type=script&setup=true&lang.ts
|
|
5256
5225
|
var ls = ["href"], us = /*@__PURE__*/ u({
|
|
5257
5226
|
__name: "GSkipLink",
|
|
5258
5227
|
props: {
|
|
@@ -5285,8 +5254,7 @@ var ls = ["href"], us = /*@__PURE__*/ u({
|
|
|
5285
5254
|
}, [A(e.$slots, "default", {}, void 0, !0)], 8, ps));
|
|
5286
5255
|
}
|
|
5287
5256
|
}), [["__scopeId", "data-v-139f5ef2"]]);
|
|
5288
|
-
|
|
5289
|
-
//#region src/compose/useActiveLink.ts
|
|
5257
|
+
// src/compose/useActiveLink.ts
|
|
5290
5258
|
function hs(e, t, n) {
|
|
5291
5259
|
let r = [
|
|
5292
5260
|
0,
|
|
@@ -5322,8 +5290,7 @@ function hs(e, t, n) {
|
|
|
5322
5290
|
});
|
|
5323
5291
|
return { stop: c };
|
|
5324
5292
|
}
|
|
5325
|
-
|
|
5326
|
-
//#region src/compose/useSidebar.ts
|
|
5293
|
+
// src/compose/useSidebar.ts
|
|
5327
5294
|
function gs(e = "(max-width: 800px)") {
|
|
5328
5295
|
let t = B(), n = O(!1), r = ce(e, { ssrWidth: 1e3 });
|
|
5329
5296
|
function i(e) {
|
|
@@ -5353,8 +5320,7 @@ function gs(e = "(max-width: 800px)") {
|
|
|
5353
5320
|
toggle: () => n.value = !n.value
|
|
5354
5321
|
};
|
|
5355
5322
|
}
|
|
5356
|
-
|
|
5357
|
-
//#region src/compose/usePaging.ts
|
|
5323
|
+
// src/compose/usePaging.ts
|
|
5358
5324
|
function _s(e) {
|
|
5359
5325
|
let t = /* @__PURE__ */ new Set();
|
|
5360
5326
|
return (e ?? []).filter((e) => !e?.key || t.has(e.key) || e.order !== 1 && e.order !== -1 ? !1 : (t.add(e.key), !0));
|
|
@@ -5432,8 +5398,7 @@ function Ts(e = {}) {
|
|
|
5432
5398
|
pageOffset: l
|
|
5433
5399
|
};
|
|
5434
5400
|
}
|
|
5435
|
-
|
|
5436
|
-
//#region src/compose/useTableChanges.ts
|
|
5401
|
+
// src/compose/useTableChanges.ts
|
|
5437
5402
|
function Es() {
|
|
5438
5403
|
let e = M(/* @__PURE__ */ new Map()), t = ne(), n = (n) => {
|
|
5439
5404
|
let r = n.column.key, i = n.row.key, a = n.value, o = n.previousValue;
|
|
@@ -5536,8 +5501,7 @@ function Es() {
|
|
|
5536
5501
|
onChange: t.on
|
|
5537
5502
|
};
|
|
5538
5503
|
}
|
|
5539
|
-
|
|
5540
|
-
//#region src/compose/usePersistentTableColumnState.ts
|
|
5504
|
+
// src/compose/usePersistentTableColumnState.ts
|
|
5541
5505
|
function Ds(e, t) {
|
|
5542
5506
|
if (!e || typeof e != "object" || Array.isArray(e)) return {};
|
|
5543
5507
|
let n = new Set(t.map(({ key: e }) => String(e))), r = {};
|
|
@@ -5554,7 +5518,6 @@ function Os(e, t) {
|
|
|
5554
5518
|
n.value = Ds(n.value, L(t));
|
|
5555
5519
|
}, { immediate: !0 }), { columnState: n };
|
|
5556
5520
|
}
|
|
5557
|
-
//#endregion
|
|
5558
5521
|
export { pn as $, Qa as A, Ri as B, wo as C, lo as D, fo as E, ji as F, Zn as G, Yr as H, xi as I, kn as J, In as K, Mi as L, Ai as M, bi as N, ao as O, Fi as P, xn as Q, Ii as R, To as S, go as T, Rr as U, Li as V, fr as W, wn as X, On as Y, Sn as Z, Uo as _, De as _t, vs as a, Ct as at, No as b, Q as bt, gs as c, rt as ct, fs as d, qe as dt, cn as et, as as f, Je as ft, Wo as g, Oe as gt, Xo as h, Ae as ht, _s as i, Ot as it, Si as j, io as k, hs as l, nt as lt, ts as m, $ as mt, Es as n, Jt as nt, ys as o, gt as ot, cs as p, ze as pt, jn as q, bs as r, Pt as rt, Ts as s, ct as st, Os as t, an as tt, ms as u, tt as ut, Vo as v, xe as vt, yo as w, Eo as x, Po as y, be as yt, Ci as z };
|
|
5559
5522
|
|
|
5560
|
-
//# sourceMappingURL=grad-vue-
|
|
5523
|
+
//# sourceMappingURL=grad-vue-COt_mmY9.js.map
|