@endge/ui-vue 0.35.0 → 0.37.0-dev
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/domain/types/filter-renderer.type.d.ts +0 -1
- package/dist/modules/EndgeVue_Module.d.ts +3 -2
- package/dist/reactive/use-context-state.d.ts +0 -4
- package/dist/reactive/use-current-facet.d.ts +0 -1
- package/dist/reactive/use-current-locale.d.ts +0 -4
- package/dist/reactive/use-current-theme.d.ts +0 -4
- package/dist/reactive/use-current-timezone.d.ts +0 -1
- package/dist/reactive/use-subscribable-ref.d.ts +0 -2
- package/dist/services/debug/vue-console.d.ts +0 -5
- package/dist/services/render/register-vue-ui-renderer.d.ts +0 -1
- package/dist/services/render/sfc/SFCVueEditableResource.d.ts +0 -2
- package/dist/services/render/sfc/SFCVueExpressionPreview.d.ts +0 -4
- package/dist/services/render/sfc/SFCVueRenderInspection.d.ts +0 -5
- package/dist/services/render/sfc/SFCVueRuntimeBridge.d.ts +3 -1
- package/dist/services/render/sfc/native-vue-sfc-adapter.d.ts +0 -1
- package/dist/services/render/sfc/sfc-vue-render.type.d.ts +0 -42
- package/dist/services/style/EndgeDOMStyleRuntime.d.ts +3 -1
- package/dist/services/style/endge-dom-style.d.ts +0 -2
- package/dist/store/domain.d.ts +0 -2
- package/dist/test/setup-raph.d.ts +1 -0
- package/dist/test/setup.d.ts +0 -1
- package/dist/ui/filter/EndgeFilterControlRenderer.d.ts +0 -1
- package/dist/ui/overlay/tooltip/endge-tooltip-manager.d.ts +3 -1
- package/dist/ui/render/entities/EndgePage.vue.d.ts +623 -905
- package/dist/ui/render/sfc/SFCRender_Adapter.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Badge.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Base.d.ts +0 -4
- package/dist/ui/render/sfc/SFCRender_BoundaryRegistry.d.ts +0 -4
- package/dist/ui/render/sfc/SFCRender_Box.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Checkbox.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Component.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Computations.d.ts +0 -4
- package/dist/ui/render/sfc/SFCRender_Context.d.ts +0 -3
- package/dist/ui/render/sfc/SFCRender_DateTime.d.ts +0 -2
- package/dist/ui/render/sfc/SFCRender_Divider.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Dot.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Editable.d.ts +0 -6
- package/dist/ui/render/sfc/SFCRender_Evaluator.d.ts +0 -6
- package/dist/ui/render/sfc/SFCRender_Flex.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Grid.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Icon.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Input.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Interaction.d.ts +0 -2
- package/dist/ui/render/sfc/SFCRender_Node.d.ts +0 -2
- package/dist/ui/render/sfc/SFCRender_Number.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Select.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Table.d.ts +0 -4
- package/dist/ui/render/sfc/SFCRender_TableAlignment.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_TableMenu.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_TableStyle.d.ts +0 -6
- package/dist/ui/render/sfc/SFCRender_Text.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Textarea.d.ts +0 -1
- package/dist/ui/render/sfc/SFCRender_Tooltip.d.ts +0 -1
- package/dist/ui/render/sfc/SFC_EditableRenderBoundary.d.ts +0 -4
- package/dist/vue.css +1 -1
- package/dist/vue.js +164 -158
- package/package.json +8 -4
- package/dist/test/sfc/SFC_Renderer.manual.vue.d.ts +0 -3
- package/dist/ui/table/NativeTablePagination.vue.d.ts +0 -16
package/dist/vue.js
CHANGED
|
@@ -2,9 +2,9 @@ var zl = Object.defineProperty;
|
|
|
2
2
|
var Vl = (e, t, n) => t in e ? zl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var ee = (e, t, n) => Vl(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { Endge as $, ENDGE_SFC_RENDER_ADAPTER_PROTOCOL_VERSION as Bn, ENDGE_SFC_RENDER_ADAPTER_PROTOCOL as jn, resolveFilterSelectPresentation as Nl, ENDGE_KEYBOARD_CONTEXT_RAPH_PATH as Pr, matchesComponentSFCInteractionKeyboardCondition as Ll, normalizeComponentSFCInteractionKeyboardCondition as Hl, DEFAULT_ENDGE_TOOLTIP_CONFIGURATION as Bl, evaluateComponentSFCExpression as jl, ComponentSFCEventBoundary as Gl, ENDGE_SFC_RENDER_ADAPTER_REQUIRED_KEYS as Kl, normalizeComponentSFCInteractionTriggers as Dr, matchesComponentSFCInteractionTrigger as Wl, resolveComponentSFCInteractionTriggerPlatform as ql, normalizeComponentSFCEditTriggers as Ii, matchesComponentSFCEditTrigger as Ri, getComponentSFCIntrinsicEventDefinitions as Ul, createEndgeTooltipDomId as Ei, TABLE_RUNTIME_ACTION_IDS as we, normalizeComponentSFCTableSort as Xl, normalizeComponentSFCTableColumnPin as Yl, normalizeComponentSFCTableColumnVisibility as Jl, normalizeComponentSFCTableColumnMenu as Zl, normalizeComponentSFCTableRowMenu as Ql, normalizeComponentSFCTableColumnPinMode as ea, normalizeComponentSFCTableSortMode as ta, parseEndgeTooltipMarkdown as na, evaluateEndgeStyleSupport as oa, EndgeModule as ra, compileComponentSFCExpression as ia } from "@endge/core";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { ref as B, watch as ue, toRaw as ha, getCurrentScope as ma, onScopeDispose as
|
|
5
|
+
import { subscribeKeyboardState as sa, getKeyboardStateSnapshot as la, isoDateTimeToTimeInput as aa, isoToDateTimeLocalInput as xi, mergeTimeIntoDateTime as ua, isoToDateInput as ca, timeToTimeInput as da, randomString as fa } from "@endge/utils";
|
|
6
|
+
import { Raph as nt, DataPath as ga, RaphNode as pa } from "@raphy-js/raph";
|
|
7
|
+
import { ref as B, watch as ue, toRaw as ha, getCurrentScope as ma, onScopeDispose as Qe, defineComponent as ve, h as mt, computed as x, openBlock as T, createElementBlock as D, toDisplayString as de, createCommentVNode as ce, createVNode as ke, unref as Y, shallowRef as Je, onBeforeUnmount as Ke, Fragment as Ie, renderList as Ve, createBlock as Pe, reactive as ki, nextTick as vt, onMounted as Gn, Teleport as Mi, withModifiers as ht, normalizeStyle as At, createElementVNode as W, shallowReactive as va, normalizeClass as jt, provide as Xo, renderSlot as In, isVNode as Ti, cloneVNode as Fi, getCurrentInstance as $i, inject as Tn, mergeProps as Ue, withKeys as Ar, withDirectives as Pi, vModelText as Sa, isRef as ya, watchEffect as ba, triggerRef as Do, vShow as wa, markRaw as Gt, onBeforeMount as Ca, onUnmounted as _a } from "vue";
|
|
8
8
|
function Ia(e, t, n) {
|
|
9
9
|
const o = $.context, r = B(o.getState(e, n) ?? t());
|
|
10
10
|
let i = !1, s = !1;
|
|
@@ -31,7 +31,7 @@ function Ia(e, t, n) {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
}, u = o.subscribeState(e, a), d = o.subscribe(a);
|
|
34
|
-
return ma() &&
|
|
34
|
+
return ma() && Qe(() => {
|
|
35
35
|
l(), u(), d();
|
|
36
36
|
}), r;
|
|
37
37
|
}
|
|
@@ -213,7 +213,7 @@ const ka = ["data-loading"], Ma = {
|
|
|
213
213
|
},
|
|
214
214
|
setup(e) {
|
|
215
215
|
var p;
|
|
216
|
-
const t = e, n =
|
|
216
|
+
const t = e, n = Je(t.model ?? ((p = t.runtime) == null ? void 0 : p.getRenderModel()) ?? { implementation: { kind: "generated" }, props: {}, fields: [] }), o = B(0), r = x(() => n.value.fields.filter((h) => h.type !== "Object")), i = x(() => {
|
|
217
217
|
const h = n.value.props;
|
|
218
218
|
return h && typeof h == "object" ? h : {};
|
|
219
219
|
}), s = x(() => i.value.showLabels !== !1);
|
|
@@ -232,7 +232,7 @@ const ka = ["data-loading"], Ma = {
|
|
|
232
232
|
}
|
|
233
233
|
ue(() => t.runtime, (h, m) => {
|
|
234
234
|
m && d(m), u(h), l();
|
|
235
|
-
}, { immediate: !0 }), ue(() => t.model, l),
|
|
235
|
+
}, { immediate: !0 }), ue(() => t.model, l), Ke(() => {
|
|
236
236
|
d(t.runtime), a();
|
|
237
237
|
});
|
|
238
238
|
async function g(h, m) {
|
|
@@ -331,7 +331,7 @@ const Na = {
|
|
|
331
331
|
l(), await vt(), S(), m("first");
|
|
332
332
|
},
|
|
333
333
|
{ flush: "post" }
|
|
334
|
-
),
|
|
334
|
+
), Ke(() => {
|
|
335
335
|
a(), r == null || r(), r = null;
|
|
336
336
|
}), Gn(() => {
|
|
337
337
|
r = $.i18n.subscribe(() => {
|
|
@@ -463,7 +463,7 @@ class Wa {
|
|
|
463
463
|
authoredId: null,
|
|
464
464
|
part: null,
|
|
465
465
|
content: null
|
|
466
|
-
}), this._disposeKeyboardWatch =
|
|
466
|
+
}), this._disposeKeyboardWatch = nt.watch([
|
|
467
467
|
Pr,
|
|
468
468
|
`${Pr}.*`
|
|
469
469
|
], () => this._reconcileActivation());
|
|
@@ -616,7 +616,7 @@ const Ja = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
|
|
|
616
616
|
}
|
|
617
617
|
},
|
|
618
618
|
{ flush: "post" }
|
|
619
|
-
),
|
|
619
|
+
), Ke(u);
|
|
620
620
|
function u() {
|
|
621
621
|
window.removeEventListener("resize", d), window.removeEventListener("scroll", d, !0), i == null || i.disconnect(), i = null;
|
|
622
622
|
}
|
|
@@ -686,7 +686,7 @@ const Ja = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
|
|
|
686
686
|
setup(e) {
|
|
687
687
|
const t = e, n = B("initializing"), o = B(null);
|
|
688
688
|
let r = !1, i = null;
|
|
689
|
-
const s = typeof document > "u" ? null :
|
|
689
|
+
const s = typeof document > "u" ? null : sa(document, (d) => $.context.setKeyboardState(d)), l = new Wa(
|
|
690
690
|
t.tooltipAdapterId,
|
|
691
691
|
u()
|
|
692
692
|
);
|
|
@@ -709,7 +709,7 @@ const Ja = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
|
|
|
709
709
|
o.value = d, n.value = "error";
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
|
-
a(),
|
|
712
|
+
a(), Ke(() => {
|
|
713
713
|
r = !0, s == null || s(), l.dispose();
|
|
714
714
|
const d = i;
|
|
715
715
|
i = null, d == null || d.unmount();
|
|
@@ -721,7 +721,10 @@ const Ja = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
|
|
|
721
721
|
return { ...Bl };
|
|
722
722
|
}
|
|
723
723
|
}
|
|
724
|
-
return (d, g) => n.value === "initializing" ? In(d.$slots, "spinner", {
|
|
724
|
+
return (d, g) => n.value === "initializing" ? In(d.$slots, "spinner", { key: 0 }) : n.value === "error" ? In(d.$slots, "error", {
|
|
725
|
+
key: 1,
|
|
726
|
+
error: o.value
|
|
727
|
+
}) : (T(), D(Ie, { key: 2 }, [
|
|
725
728
|
In(d.$slots, "default"),
|
|
726
729
|
ke(Ka),
|
|
727
730
|
ke(Za, { manager: Y(l) }, null, 8, ["manager"])
|
|
@@ -885,7 +888,7 @@ function ou(e, t) {
|
|
|
885
888
|
if (n.length === 0)
|
|
886
889
|
return;
|
|
887
890
|
const [o, ...r] = n;
|
|
888
|
-
if (
|
|
891
|
+
if (o.kind !== "key")
|
|
889
892
|
return;
|
|
890
893
|
const i = o.key === "props" ? t.props : o.key === "$context" ? t.context : Object.hasOwn(t.locals, o.key) ? t.locals[o.key] : t.props[o.key];
|
|
891
894
|
return Hi(i, r);
|
|
@@ -896,12 +899,12 @@ function Oe(e, t) {
|
|
|
896
899
|
function Hi(e, t) {
|
|
897
900
|
return t.reduce((n, o) => {
|
|
898
901
|
if (n != null) {
|
|
899
|
-
if (o.
|
|
902
|
+
if (o.kind === "key")
|
|
900
903
|
return typeof n != "object" && typeof n != "function" ? void 0 : n[o.key];
|
|
901
|
-
if (o.
|
|
904
|
+
if (o.kind === "index")
|
|
902
905
|
return Array.isArray(n) ? n[o.index] : void 0;
|
|
903
|
-
if (o.
|
|
904
|
-
return Array.isArray(n) ? n.find((r) => r == null || typeof r != "object" ? !1 : Object.is(r[o.
|
|
906
|
+
if (o.kind === "selector")
|
|
907
|
+
return Array.isArray(n) ? n.find((r) => r == null || typeof r != "object" ? !1 : Object.is(r[o.key], o.value)) : void 0;
|
|
905
908
|
}
|
|
906
909
|
}, e);
|
|
907
910
|
}
|
|
@@ -914,7 +917,7 @@ function ru(e) {
|
|
|
914
917
|
}
|
|
915
918
|
function Bi(e) {
|
|
916
919
|
const t = e.trim();
|
|
917
|
-
return ru(t) ?
|
|
920
|
+
return ru(t) ? ga.from(t).segments() : [];
|
|
918
921
|
}
|
|
919
922
|
function ji(e, t = 0, n = null, o = null, r = n != null && n.entityIdentity ? [n.entityIdentity] : [], i = "root", s, l, a = null, u, d = "default", g = null, S = []) {
|
|
920
923
|
var C, b;
|
|
@@ -1045,7 +1048,7 @@ const au = ve({
|
|
|
1045
1048
|
}
|
|
1046
1049
|
},
|
|
1047
1050
|
setup(e, { slots: t }) {
|
|
1048
|
-
const n =
|
|
1051
|
+
const n = Je(0);
|
|
1049
1052
|
let o = null, r = !1;
|
|
1050
1053
|
const i = (l) => {
|
|
1051
1054
|
if (!Gi(l))
|
|
@@ -1059,7 +1062,7 @@ const au = ve({
|
|
|
1059
1062
|
},
|
|
1060
1063
|
{ immediate: !0 }
|
|
1061
1064
|
);
|
|
1062
|
-
return
|
|
1065
|
+
return Ke(() => {
|
|
1063
1066
|
s(), o == null || o.off("resource:dirty", i), o = null;
|
|
1064
1067
|
}), () => {
|
|
1065
1068
|
var l;
|
|
@@ -1255,7 +1258,7 @@ function gu(e) {
|
|
|
1255
1258
|
return Lr.set(e, n), n;
|
|
1256
1259
|
}
|
|
1257
1260
|
function Un() {
|
|
1258
|
-
return typeof document > "u" ? null :
|
|
1261
|
+
return typeof document > "u" ? null : la(document);
|
|
1259
1262
|
}
|
|
1260
1263
|
function Qo() {
|
|
1261
1264
|
var t;
|
|
@@ -1341,7 +1344,7 @@ function wu(e) {
|
|
|
1341
1344
|
const n = St(e.node, e.context), o = t.getEditSession(n);
|
|
1342
1345
|
if (!o)
|
|
1343
1346
|
return;
|
|
1344
|
-
const r = e.node.tag === "DateTime" && (e.props.editMode ?? e.props["edit-mode"]) === "time", i = e.node.tag === "Number" ? "Number" : e.node.tag === "DateTime" ? r ? "Time" : "DateTime" : "String", s = e.node.tag === "DateTime" ? r ?
|
|
1347
|
+
const r = e.node.tag === "DateTime" && (e.props.editMode ?? e.props["edit-mode"]) === "time", i = e.node.tag === "Number" ? "Number" : e.node.tag === "DateTime" ? r ? "Time" : "DateTime" : "String", s = e.node.tag === "DateTime" ? r ? aa(o.draftValue, e.props.timezone) : xi(o.draftValue) : o.draftValue ?? "", l = { ...e.attrs };
|
|
1345
1348
|
return delete l.onClick, delete l.onDblclick, delete l.onFocus, e.node.tag === "Checkbox" ? $n("Checkbox")({
|
|
1346
1349
|
...e,
|
|
1347
1350
|
children: [],
|
|
@@ -1422,7 +1425,7 @@ function Ru(e, t, n, o) {
|
|
|
1422
1425
|
if (e.tag !== "DateTime" || r !== "time")
|
|
1423
1426
|
return o;
|
|
1424
1427
|
const i = (d = (u = t.host) == null ? void 0 : u.getEditSession(n)) == null ? void 0 : d.originalValue, s = new Date(String(i ?? "").trim()), l = Number.isNaN(s.getTime()) ? (/* @__PURE__ */ new Date()).toISOString() : i, a = fe(e.props.timezone, t);
|
|
1425
|
-
return
|
|
1428
|
+
return ua(l, o, a) ?? o;
|
|
1426
1429
|
}
|
|
1427
1430
|
function Gr(e) {
|
|
1428
1431
|
return e === "compact" || e === "default" ? e : null;
|
|
@@ -1693,7 +1696,7 @@ function Ou(e) {
|
|
|
1693
1696
|
}
|
|
1694
1697
|
function zu(e) {
|
|
1695
1698
|
const t = {};
|
|
1696
|
-
return Be(t, "padding", e.p), Be(t, "paddingTop", e.pt), Be(t, "paddingRight", e.pr), Be(t, "paddingBottom", e.pb), Be(t, "paddingLeft", e.pl), Be(t, "margin", e.m), Be(t, "marginTop", e.mt), Be(t, "marginRight", e.mr), Be(t, "marginBottom", e.mb), Be(t, "marginLeft", e.ml), Xr(t, "color", e.textTone, "text"), Xr(t, "background", e.backgroundTone, "background"), Vu(t, e.fontWeight ?? e.weight),
|
|
1699
|
+
return Be(t, "padding", e.p), Be(t, "paddingTop", e.pt), Be(t, "paddingRight", e.pr), Be(t, "paddingBottom", e.pb), Be(t, "paddingLeft", e.pl), Be(t, "margin", e.m), Be(t, "marginTop", e.mt), Be(t, "marginRight", e.mr), Be(t, "marginBottom", e.mb), Be(t, "marginLeft", e.ml), Xr(t, "color", e.textTone, "text"), Xr(t, "background", e.backgroundTone, "background"), Vu(t, e.fontWeight ?? e.weight), We(t, "color", e.color), We(t, "background", e.bg), We(t, "width", e.w), We(t, "height", e.h), We(t, "minWidth", e.minW), We(t, "minHeight", e.minH), We(t, "maxWidth", e.maxW), We(t, "maxHeight", e.maxH), We(t, "flex", e.flex), Yr(t, "gridColumn", e.colStart, e.colSpan), Yr(t, "gridRow", e.rowStart, e.rowSpan), t;
|
|
1697
1700
|
}
|
|
1698
1701
|
function Xr(e, t, n, o) {
|
|
1699
1702
|
const r = String(n ?? "").trim();
|
|
@@ -1752,7 +1755,7 @@ function Be(e, t, n) {
|
|
|
1752
1755
|
const o = Ji(n, 4);
|
|
1753
1756
|
o && (e[t] = o);
|
|
1754
1757
|
}
|
|
1755
|
-
function
|
|
1758
|
+
function We(e, t, n) {
|
|
1756
1759
|
const o = Ji(n, 1);
|
|
1757
1760
|
o && (e[t] = o);
|
|
1758
1761
|
}
|
|
@@ -1942,14 +1945,14 @@ const Qi = /* @__PURE__ */ ve({
|
|
|
1942
1945
|
ue(() => [t.host, t.ir], (a, u) => {
|
|
1943
1946
|
var d;
|
|
1944
1947
|
(d = u == null ? void 0 : u[0]) == null || d.releaseComputationResources(o);
|
|
1945
|
-
}, { flush: "sync" }),
|
|
1948
|
+
}, { flush: "sync" }), Qe(() => {
|
|
1946
1949
|
var a;
|
|
1947
1950
|
return (a = t.host) == null ? void 0 : a.releaseComputationResources(o);
|
|
1948
1951
|
});
|
|
1949
1952
|
const r = Tn(Oi, null), i = $.uiRegistry.subscribe(() => {
|
|
1950
1953
|
n.value += 1;
|
|
1951
1954
|
});
|
|
1952
|
-
|
|
1955
|
+
Qe(i);
|
|
1953
1956
|
const s = x(() => ji(
|
|
1954
1957
|
t.props,
|
|
1955
1958
|
t.renderVersion ?? 0,
|
|
@@ -2023,7 +2026,9 @@ class Qu {
|
|
|
2023
2026
|
destroy() {
|
|
2024
2027
|
this._host.off("props:dirty", this._propsDirtyHandler), this._host.off("boundary:dirty", this._boundaryDirtyHandler), this._host.off("computation:dirty", this._computationDirtyHandler), this._host.off("resource:dirty", this._resourceDirtyHandler), this._isMounted = !1;
|
|
2025
2028
|
}
|
|
2026
|
-
/**
|
|
2029
|
+
/**
|
|
2030
|
+
* Принудительно перечитывает props из текущего input source.
|
|
2031
|
+
*/
|
|
2027
2032
|
refresh() {
|
|
2028
2033
|
this._isMounted && this._emitResolvedProps();
|
|
2029
2034
|
}
|
|
@@ -2044,7 +2049,7 @@ class Qu {
|
|
|
2044
2049
|
return {};
|
|
2045
2050
|
const t = { ...this._input.props ?? {} };
|
|
2046
2051
|
for (const [n, o] of Object.entries(this._input.bindings))
|
|
2047
|
-
t[n] =
|
|
2052
|
+
t[n] = nt.get(o.path);
|
|
2048
2053
|
return t;
|
|
2049
2054
|
}
|
|
2050
2055
|
}
|
|
@@ -2075,7 +2080,7 @@ const ts = /* @__PURE__ */ ve({
|
|
|
2075
2080
|
inspection: {}
|
|
2076
2081
|
},
|
|
2077
2082
|
setup(e) {
|
|
2078
|
-
const t = e, n =
|
|
2083
|
+
const t = e, n = Je({}), o = B(0), r = ec();
|
|
2079
2084
|
Xo(es, r);
|
|
2080
2085
|
let i = null, s = null;
|
|
2081
2086
|
ue(
|
|
@@ -2099,7 +2104,7 @@ const ts = /* @__PURE__ */ ve({
|
|
|
2099
2104
|
}), s = a, i.mount();
|
|
2100
2105
|
},
|
|
2101
2106
|
{ immediate: !0 }
|
|
2102
|
-
),
|
|
2107
|
+
), Ke(() => {
|
|
2103
2108
|
l();
|
|
2104
2109
|
});
|
|
2105
2110
|
function l() {
|
|
@@ -2346,7 +2351,7 @@ function bc(e, t) {
|
|
|
2346
2351
|
const n = Number(t);
|
|
2347
2352
|
return Number.isFinite(n) ? n : "";
|
|
2348
2353
|
}
|
|
2349
|
-
return e === "Date" ?
|
|
2354
|
+
return e === "Date" ? ca(t) : e === "Time" ? da(t) : e === "DateTime" ? xi(t) : String(t);
|
|
2350
2355
|
}
|
|
2351
2356
|
function wc(e) {
|
|
2352
2357
|
return e == null ? void 0 : String(e);
|
|
@@ -2416,7 +2421,7 @@ const Ic = ["data-open", "data-multiple"], Rc = ["aria-expanded", "aria-readonly
|
|
|
2416
2421
|
u.value = [...M];
|
|
2417
2422
|
}, { immediate: !0 }), ue(l, () => {
|
|
2418
2423
|
a.value = 0, i.value && (i.value.scrollTop = 0);
|
|
2419
|
-
}), Gn(() => document.addEventListener("pointerdown", A)),
|
|
2424
|
+
}), Gn(() => document.addEventListener("pointerdown", A)), Ke(() => document.removeEventListener("pointerdown", A));
|
|
2420
2425
|
async function F() {
|
|
2421
2426
|
var M;
|
|
2422
2427
|
t.disabled || t.readonly || (s.value = !s.value, s.value && S.value && (await vt(), (M = r.value) == null || M.focus()));
|
|
@@ -2456,7 +2461,7 @@ const Ic = ["data-open", "data-multiple"], Rc = ["aria-expanded", "aria-readonly
|
|
|
2456
2461
|
transform: `translateY(${M * Lt}px)`
|
|
2457
2462
|
};
|
|
2458
2463
|
}
|
|
2459
|
-
return (M, X) => (T(), D("span",
|
|
2464
|
+
return (M, X) => (T(), D("span", Ue({
|
|
2460
2465
|
ref_key: "root",
|
|
2461
2466
|
ref: n
|
|
2462
2467
|
}, M.$attrs, {
|
|
@@ -2630,19 +2635,19 @@ const is = "__endgeStyleRowClass", ss = Symbol("endge.table.row-style-meta");
|
|
|
2630
2635
|
function qc(e) {
|
|
2631
2636
|
return {
|
|
2632
2637
|
context: e,
|
|
2633
|
-
grid:
|
|
2634
|
-
header:
|
|
2635
|
-
body:
|
|
2636
|
-
row:
|
|
2637
|
-
groupRow:
|
|
2638
|
+
grid: Ye(e, "grid"),
|
|
2639
|
+
header: Ye(e, "header"),
|
|
2640
|
+
body: Ye(e, "body"),
|
|
2641
|
+
row: Ye(e, "row"),
|
|
2642
|
+
groupRow: Ye(e, "group-row")
|
|
2638
2643
|
};
|
|
2639
2644
|
}
|
|
2640
2645
|
function ls(e, t) {
|
|
2641
2646
|
return Array.from({ length: t }, () => ({
|
|
2642
|
-
headerCell:
|
|
2643
|
-
headerContent:
|
|
2644
|
-
cell:
|
|
2645
|
-
cellContent:
|
|
2647
|
+
headerCell: Ye(e.context, "header-cell"),
|
|
2648
|
+
headerContent: Ye(e.context, "header-content"),
|
|
2649
|
+
cell: Ye(e.context, "cell"),
|
|
2650
|
+
cellContent: Ye(e.context, "cell-content")
|
|
2646
2651
|
}));
|
|
2647
2652
|
}
|
|
2648
2653
|
function Uc(e) {
|
|
@@ -2708,7 +2713,7 @@ function zo(e, t) {
|
|
|
2708
2713
|
function Zc(e) {
|
|
2709
2714
|
return { part: e, "data-endge-part": e, class: [] };
|
|
2710
2715
|
}
|
|
2711
|
-
function
|
|
2716
|
+
function Ye(e, t) {
|
|
2712
2717
|
const n = e.styleParent, o = {
|
|
2713
2718
|
part: t,
|
|
2714
2719
|
"data-endge-part": t,
|
|
@@ -2724,7 +2729,7 @@ function Qc(e, t) {
|
|
|
2724
2729
|
["class", "style", "part", "id", "state", "component", "identity", "ref", "key"].includes(n) || n.startsWith("on") || (typeof o == "string" || typeof o == "number" || typeof o == "boolean") && (e[n] = o);
|
|
2725
2730
|
}
|
|
2726
2731
|
/**
|
|
2727
|
-
* @license @lucide/vue v1.
|
|
2732
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2728
2733
|
*
|
|
2729
2734
|
* This source code is licensed under the ISC license.
|
|
2730
2735
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -2741,14 +2746,14 @@ const ct = {
|
|
|
2741
2746
|
"stroke-linejoin": "round"
|
|
2742
2747
|
};
|
|
2743
2748
|
/**
|
|
2744
|
-
* @license @lucide/vue v1.
|
|
2749
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2745
2750
|
*
|
|
2746
2751
|
* This source code is licensed under the ISC license.
|
|
2747
2752
|
* See the LICENSE file in the root directory of this source tree.
|
|
2748
2753
|
*/
|
|
2749
2754
|
const ni = (...e) => e.filter((t, n, o) => !!t && t.trim() !== "" && o.indexOf(t) === n).join(" ").trim();
|
|
2750
2755
|
/**
|
|
2751
|
-
* @license @lucide/vue v1.
|
|
2756
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2752
2757
|
*
|
|
2753
2758
|
* This source code is licensed under the ISC license.
|
|
2754
2759
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -2793,7 +2798,7 @@ function ed(e, t = {}) {
|
|
|
2793
2798
|
];
|
|
2794
2799
|
}
|
|
2795
2800
|
/**
|
|
2796
|
-
* @license @lucide/vue v1.
|
|
2801
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2797
2802
|
*
|
|
2798
2803
|
* This source code is licensed under the ISC license.
|
|
2799
2804
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -2805,21 +2810,21 @@ const td = (e) => {
|
|
|
2805
2810
|
return !1;
|
|
2806
2811
|
};
|
|
2807
2812
|
/**
|
|
2808
|
-
* @license @lucide/vue v1.
|
|
2813
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2809
2814
|
*
|
|
2810
2815
|
* This source code is licensed under the ISC license.
|
|
2811
2816
|
* See the LICENSE file in the root directory of this source tree.
|
|
2812
2817
|
*/
|
|
2813
2818
|
const hn = (e) => e === "";
|
|
2814
2819
|
/**
|
|
2815
|
-
* @license @lucide/vue v1.
|
|
2820
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2816
2821
|
*
|
|
2817
2822
|
* This source code is licensed under the ISC license.
|
|
2818
2823
|
* See the LICENSE file in the root directory of this source tree.
|
|
2819
2824
|
*/
|
|
2820
2825
|
const nd = (e) => e == null ? void 0 : e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
2821
2826
|
/**
|
|
2822
|
-
* @license @lucide/vue v1.
|
|
2827
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2823
2828
|
*
|
|
2824
2829
|
* This source code is licensed under the ISC license.
|
|
2825
2830
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -2829,7 +2834,7 @@ function rd() {
|
|
|
2829
2834
|
return Tn(od, {});
|
|
2830
2835
|
}
|
|
2831
2836
|
/**
|
|
2832
|
-
* @license @lucide/vue v1.
|
|
2837
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2833
2838
|
*
|
|
2834
2839
|
* This source code is licensed under the ISC license.
|
|
2835
2840
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -2883,7 +2888,7 @@ const id = ({
|
|
|
2883
2888
|
]);
|
|
2884
2889
|
};
|
|
2885
2890
|
/**
|
|
2886
|
-
* @license @lucide/vue v1.
|
|
2891
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2887
2892
|
*
|
|
2888
2893
|
* This source code is licensed under the ISC license.
|
|
2889
2894
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -2903,7 +2908,7 @@ function Le(e, t = []) {
|
|
|
2903
2908
|
);
|
|
2904
2909
|
}
|
|
2905
2910
|
/**
|
|
2906
|
-
* @license @lucide/vue v1.
|
|
2911
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2907
2912
|
*
|
|
2908
2913
|
* This source code is licensed under the ISC license.
|
|
2909
2914
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -2917,7 +2922,7 @@ const sd = {
|
|
|
2917
2922
|
]
|
|
2918
2923
|
}, ld = Le(sd);
|
|
2919
2924
|
/**
|
|
2920
|
-
* @license @lucide/vue v1.
|
|
2925
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2921
2926
|
*
|
|
2922
2927
|
* This source code is licensed under the ISC license.
|
|
2923
2928
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -2931,7 +2936,7 @@ const ad = {
|
|
|
2931
2936
|
]
|
|
2932
2937
|
}, ud = Le(ad);
|
|
2933
2938
|
/**
|
|
2934
|
-
* @license @lucide/vue v1.
|
|
2939
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2935
2940
|
*
|
|
2936
2941
|
* This source code is licensed under the ISC license.
|
|
2937
2942
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -2942,29 +2947,29 @@ const cd = {
|
|
|
2942
2947
|
node: [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]
|
|
2943
2948
|
}, dd = Le(cd);
|
|
2944
2949
|
/**
|
|
2945
|
-
* @license @lucide/vue v1.
|
|
2950
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2946
2951
|
*
|
|
2947
2952
|
* This source code is licensed under the ISC license.
|
|
2948
2953
|
* See the LICENSE file in the root directory of this source tree.
|
|
2949
2954
|
*/
|
|
2950
2955
|
const fd = {
|
|
2951
|
-
name: "chevron-
|
|
2956
|
+
name: "chevron-right",
|
|
2952
2957
|
size: 24,
|
|
2953
|
-
node: [["path", { d: "
|
|
2958
|
+
node: [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]]
|
|
2954
2959
|
}, gd = Le(fd);
|
|
2955
2960
|
/**
|
|
2956
|
-
* @license @lucide/vue v1.
|
|
2961
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2957
2962
|
*
|
|
2958
2963
|
* This source code is licensed under the ISC license.
|
|
2959
2964
|
* See the LICENSE file in the root directory of this source tree.
|
|
2960
2965
|
*/
|
|
2961
2966
|
const pd = {
|
|
2962
|
-
name: "chevron-
|
|
2967
|
+
name: "chevron-left",
|
|
2963
2968
|
size: 24,
|
|
2964
|
-
node: [["path", { d: "
|
|
2969
|
+
node: [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]]
|
|
2965
2970
|
}, hd = Le(pd);
|
|
2966
2971
|
/**
|
|
2967
|
-
* @license @lucide/vue v1.
|
|
2972
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2968
2973
|
*
|
|
2969
2974
|
* This source code is licensed under the ISC license.
|
|
2970
2975
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -2978,7 +2983,7 @@ const md = {
|
|
|
2978
2983
|
]
|
|
2979
2984
|
}, vd = Le(md);
|
|
2980
2985
|
/**
|
|
2981
|
-
* @license @lucide/vue v1.
|
|
2986
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2982
2987
|
*
|
|
2983
2988
|
* This source code is licensed under the ISC license.
|
|
2984
2989
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -2992,7 +2997,7 @@ const Sd = {
|
|
|
2992
2997
|
]
|
|
2993
2998
|
}, yd = Le(Sd);
|
|
2994
2999
|
/**
|
|
2995
|
-
* @license @lucide/vue v1.
|
|
3000
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
2996
3001
|
*
|
|
2997
3002
|
* This source code is licensed under the ISC license.
|
|
2998
3003
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -3006,7 +3011,7 @@ const bd = {
|
|
|
3006
3011
|
]
|
|
3007
3012
|
}, wd = Le(bd);
|
|
3008
3013
|
/**
|
|
3009
|
-
* @license @lucide/vue v1.
|
|
3014
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
3010
3015
|
*
|
|
3011
3016
|
* This source code is licensed under the ISC license.
|
|
3012
3017
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -3026,7 +3031,7 @@ const Cd = {
|
|
|
3026
3031
|
aliases: ["filter"]
|
|
3027
3032
|
}, _d = Le(Cd);
|
|
3028
3033
|
/**
|
|
3029
|
-
* @license @lucide/vue v1.
|
|
3034
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
3030
3035
|
*
|
|
3031
3036
|
* This source code is licensed under the ISC license.
|
|
3032
3037
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -3044,7 +3049,7 @@ const Id = {
|
|
|
3044
3049
|
]
|
|
3045
3050
|
}, Rd = Le(Id);
|
|
3046
3051
|
/**
|
|
3047
|
-
* @license @lucide/vue v1.
|
|
3052
|
+
* @license @lucide/vue v1.46.0 - ISC
|
|
3048
3053
|
*
|
|
3049
3054
|
* This source code is licensed under the ISC license.
|
|
3050
3055
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -3411,7 +3416,7 @@ er.resolveFilterValue = (e) => {
|
|
|
3411
3416
|
return [i, s];
|
|
3412
3417
|
};
|
|
3413
3418
|
er.autoRemove = (e) => Ne(e) || Ne(e[0]) && Ne(e[1]);
|
|
3414
|
-
const
|
|
3419
|
+
const Xe = {
|
|
3415
3420
|
includesString: cs,
|
|
3416
3421
|
includesStringSensitive: ds,
|
|
3417
3422
|
equalsString: fs,
|
|
@@ -3441,12 +3446,12 @@ const Ad = {
|
|
|
3441
3446
|
createColumn: (e, t) => {
|
|
3442
3447
|
e.getAutoFilterFn = () => {
|
|
3443
3448
|
const n = t.getCoreRowModel().flatRows[0], o = n == null ? void 0 : n.getValue(e.id);
|
|
3444
|
-
return typeof o == "string" ?
|
|
3449
|
+
return typeof o == "string" ? Xe.includesString : typeof o == "number" ? Xe.inNumberRange : typeof o == "boolean" || o !== null && typeof o == "object" ? Xe.equals : Array.isArray(o) ? Xe.arrIncludes : Xe.weakEquals;
|
|
3445
3450
|
}, e.getFilterFn = () => {
|
|
3446
3451
|
var n, o;
|
|
3447
3452
|
return Yn(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
|
|
3448
3453
|
// @ts-ignore
|
|
3449
|
-
(n = (o = t.options.filterFns) == null ? void 0 : o[e.columnDef.filterFn]) != null ? n :
|
|
3454
|
+
(n = (o = t.options.filterFns) == null ? void 0 : o[e.columnDef.filterFn]) != null ? n : Xe[e.columnDef.filterFn]
|
|
3450
3455
|
);
|
|
3451
3456
|
}, e.getCanFilter = () => {
|
|
3452
3457
|
var n, o, r;
|
|
@@ -3978,12 +3983,12 @@ const Qd = {
|
|
|
3978
3983
|
};
|
|
3979
3984
|
},
|
|
3980
3985
|
createTable: (e) => {
|
|
3981
|
-
e.getGlobalAutoFilterFn = () =>
|
|
3986
|
+
e.getGlobalAutoFilterFn = () => Xe.includesString, e.getGlobalFilterFn = () => {
|
|
3982
3987
|
var t, n;
|
|
3983
3988
|
const {
|
|
3984
3989
|
globalFilterFn: o
|
|
3985
3990
|
} = e.options;
|
|
3986
|
-
return Yn(o) ? o : o === "auto" ? e.getGlobalAutoFilterFn() : (t = (n = e.options.filterFns) == null ? void 0 : n[o]) != null ? t :
|
|
3991
|
+
return Yn(o) ? o : o === "auto" ? e.getGlobalAutoFilterFn() : (t = (n = e.options.filterFns) == null ? void 0 : n[o]) != null ? t : Xe[o];
|
|
3987
3992
|
}, e.setGlobalFilter = (t) => {
|
|
3988
3993
|
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
|
|
3989
3994
|
}, e.resetGlobalFilter = (t) => {
|
|
@@ -4872,7 +4877,7 @@ function wf(e) {
|
|
|
4872
4877
|
}
|
|
4873
4878
|
}, t ? si(e) : e), o = pf(n);
|
|
4874
4879
|
if (t) {
|
|
4875
|
-
const i =
|
|
4880
|
+
const i = Je(e.data);
|
|
4876
4881
|
ue(i, () => {
|
|
4877
4882
|
o.setState((s) => ({
|
|
4878
4883
|
...s,
|
|
@@ -5831,7 +5836,7 @@ function zf(e, t, n, o, r) {
|
|
|
5831
5836
|
return { startIndex: l, endIndex: a };
|
|
5832
5837
|
}
|
|
5833
5838
|
function Vf(e) {
|
|
5834
|
-
const t = new Af(Y(e)), n =
|
|
5839
|
+
const t = new Af(Y(e)), n = Je(t), o = t._didMount();
|
|
5835
5840
|
return ue(
|
|
5836
5841
|
() => Y(e).getScrollElement(),
|
|
5837
5842
|
(r) => {
|
|
@@ -5854,7 +5859,7 @@ function Vf(e) {
|
|
|
5854
5859
|
{
|
|
5855
5860
|
immediate: !0
|
|
5856
5861
|
}
|
|
5857
|
-
),
|
|
5862
|
+
), Qe(o), n;
|
|
5858
5863
|
}
|
|
5859
5864
|
function Nf(e) {
|
|
5860
5865
|
return Vf(
|
|
@@ -5980,14 +5985,14 @@ function Gf(e, t, n) {
|
|
|
5980
5985
|
writable: !0
|
|
5981
5986
|
}) : e[t] = n, e;
|
|
5982
5987
|
}
|
|
5983
|
-
function
|
|
5984
|
-
return
|
|
5988
|
+
function et() {
|
|
5989
|
+
return et = Object.assign ? Object.assign.bind() : function(e) {
|
|
5985
5990
|
for (var t = 1; t < arguments.length; t++) {
|
|
5986
5991
|
var n = arguments[t];
|
|
5987
5992
|
for (var o in n) ({}).hasOwnProperty.call(n, o) && (e[o] = n[o]);
|
|
5988
5993
|
}
|
|
5989
5994
|
return e;
|
|
5990
|
-
},
|
|
5995
|
+
}, et.apply(null, arguments);
|
|
5991
5996
|
}
|
|
5992
5997
|
function di(e, t) {
|
|
5993
5998
|
var n = Object.keys(e);
|
|
@@ -5999,7 +6004,7 @@ function di(e, t) {
|
|
|
5999
6004
|
}
|
|
6000
6005
|
return n;
|
|
6001
6006
|
}
|
|
6002
|
-
function
|
|
6007
|
+
function Ge(e) {
|
|
6003
6008
|
for (var t = 1; t < arguments.length; t++) {
|
|
6004
6009
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
6005
6010
|
t % 2 ? di(Object(n), !0).forEach(function(o) {
|
|
@@ -6051,19 +6056,19 @@ function jo(e) {
|
|
|
6051
6056
|
}, jo(e);
|
|
6052
6057
|
}
|
|
6053
6058
|
var Xf = "1.15.7";
|
|
6054
|
-
function
|
|
6059
|
+
function Ze(e) {
|
|
6055
6060
|
if (typeof window < "u" && window.navigator)
|
|
6056
6061
|
return !!/* @__PURE__ */ navigator.userAgent.match(e);
|
|
6057
6062
|
}
|
|
6058
|
-
var
|
|
6063
|
+
var tt = Ze(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), sn = Ze(/Edge/i), fi = Ze(/firefox/i), Yt = Ze(/safari/i) && !Ze(/chrome/i) && !Ze(/android/i), or = Ze(/iP(ad|od|hone)/i), ws = Ze(/chrome/i) && Ze(/android/i), Cs = {
|
|
6059
6064
|
capture: !1,
|
|
6060
6065
|
passive: !1
|
|
6061
6066
|
};
|
|
6062
6067
|
function Q(e, t, n) {
|
|
6063
|
-
e.addEventListener(t, n, !
|
|
6068
|
+
e.addEventListener(t, n, !tt && Cs);
|
|
6064
6069
|
}
|
|
6065
6070
|
function Z(e, t, n) {
|
|
6066
|
-
e.removeEventListener(t, n, !
|
|
6071
|
+
e.removeEventListener(t, n, !tt && Cs);
|
|
6067
6072
|
}
|
|
6068
6073
|
function On(e, t) {
|
|
6069
6074
|
if (t) {
|
|
@@ -6135,14 +6140,14 @@ function Is(e, t, n) {
|
|
|
6135
6140
|
}
|
|
6136
6141
|
return [];
|
|
6137
6142
|
}
|
|
6138
|
-
function
|
|
6143
|
+
function je() {
|
|
6139
6144
|
var e = document.scrollingElement;
|
|
6140
6145
|
return e || document.documentElement;
|
|
6141
6146
|
}
|
|
6142
6147
|
function pe(e, t, n, o, r) {
|
|
6143
6148
|
if (!(!e.getBoundingClientRect && e !== window)) {
|
|
6144
6149
|
var i, s, l, a, u, d, g;
|
|
6145
|
-
if (e !== window && e.parentNode && e !==
|
|
6150
|
+
if (e !== window && e.parentNode && e !== je() ? (i = e.getBoundingClientRect(), s = i.top, l = i.left, a = i.bottom, u = i.right, d = i.height, g = i.width) : (s = 0, l = 0, a = window.innerHeight, u = window.innerWidth, d = window.innerHeight, g = window.innerWidth), (t || n) && e !== window && (r = r || e.parentNode, !tt))
|
|
6146
6151
|
do
|
|
6147
6152
|
if (r && r.getBoundingClientRect && (L(r, "transform") !== "none" || n && L(r, "position") !== "static")) {
|
|
6148
6153
|
var S = r.getBoundingClientRect();
|
|
@@ -6168,7 +6173,7 @@ function pi(e, t, n) {
|
|
|
6168
6173
|
for (var o = st(e, !0), r = pe(e)[t]; o; ) {
|
|
6169
6174
|
var i = pe(o)[n], s = void 0;
|
|
6170
6175
|
if (s = r >= i, !s) return o;
|
|
6171
|
-
if (o ===
|
|
6176
|
+
if (o === je()) break;
|
|
6172
6177
|
o = st(o, !1);
|
|
6173
6178
|
}
|
|
6174
6179
|
return !1;
|
|
@@ -6198,7 +6203,7 @@ function Fe(e, t) {
|
|
|
6198
6203
|
return n;
|
|
6199
6204
|
}
|
|
6200
6205
|
function hi(e) {
|
|
6201
|
-
var t = 0, n = 0, o =
|
|
6206
|
+
var t = 0, n = 0, o = je();
|
|
6202
6207
|
if (e)
|
|
6203
6208
|
do {
|
|
6204
6209
|
var r = Pt(e), i = r.a, s = r.d;
|
|
@@ -6215,19 +6220,19 @@ function Yf(e, t) {
|
|
|
6215
6220
|
return -1;
|
|
6216
6221
|
}
|
|
6217
6222
|
function st(e, t) {
|
|
6218
|
-
if (!e || !e.getBoundingClientRect) return
|
|
6223
|
+
if (!e || !e.getBoundingClientRect) return je();
|
|
6219
6224
|
var n = e, o = !1;
|
|
6220
6225
|
do
|
|
6221
6226
|
if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
|
|
6222
6227
|
var r = L(n);
|
|
6223
6228
|
if (n.clientWidth < n.scrollWidth && (r.overflowX == "auto" || r.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (r.overflowY == "auto" || r.overflowY == "scroll")) {
|
|
6224
|
-
if (!n.getBoundingClientRect || n === document.body) return
|
|
6229
|
+
if (!n.getBoundingClientRect || n === document.body) return je();
|
|
6225
6230
|
if (o || t) return n;
|
|
6226
6231
|
o = !0;
|
|
6227
6232
|
}
|
|
6228
6233
|
}
|
|
6229
6234
|
while (n = n.parentNode);
|
|
6230
|
-
return
|
|
6235
|
+
return je();
|
|
6231
6236
|
}
|
|
6232
6237
|
function Jf(e, t) {
|
|
6233
6238
|
if (e && t)
|
|
@@ -6282,7 +6287,7 @@ function Qf() {
|
|
|
6282
6287
|
target: r,
|
|
6283
6288
|
rect: pe(r)
|
|
6284
6289
|
});
|
|
6285
|
-
var i =
|
|
6290
|
+
var i = Ge({}, e[e.length - 1].rect);
|
|
6286
6291
|
if (r.thisAnimationDuration) {
|
|
6287
6292
|
var s = Pt(r, !0);
|
|
6288
6293
|
s && (i.top -= s.f, i.left -= s.e);
|
|
@@ -6352,9 +6357,9 @@ var kt = [], Ro = {
|
|
|
6352
6357
|
};
|
|
6353
6358
|
var i = t + "Global";
|
|
6354
6359
|
kt.forEach(function(s) {
|
|
6355
|
-
n[s.pluginName] && (n[s.pluginName][i] && n[s.pluginName][i](
|
|
6360
|
+
n[s.pluginName] && (n[s.pluginName][i] && n[s.pluginName][i](Ge({
|
|
6356
6361
|
sortable: n
|
|
6357
|
-
}, o)), n.options[s.pluginName] && n[s.pluginName][t] && n[s.pluginName][t](
|
|
6362
|
+
}, o)), n.options[s.pluginName] && n[s.pluginName][t] && n[s.pluginName][t](Ge({
|
|
6358
6363
|
sortable: n
|
|
6359
6364
|
}, o)));
|
|
6360
6365
|
});
|
|
@@ -6364,7 +6369,7 @@ var kt = [], Ro = {
|
|
|
6364
6369
|
var a = l.pluginName;
|
|
6365
6370
|
if (!(!t.options[a] && !l.initializeByDefault)) {
|
|
6366
6371
|
var u = new l(t, n, t.options);
|
|
6367
|
-
u.sortable = t, u.options = t.options, t[a] = u,
|
|
6372
|
+
u.sortable = t, u.options = t.options, t[a] = u, et(o, u.defaults);
|
|
6368
6373
|
}
|
|
6369
6374
|
});
|
|
6370
6375
|
for (var i in t.options)
|
|
@@ -6376,7 +6381,7 @@ var kt = [], Ro = {
|
|
|
6376
6381
|
getEventProperties: function(t, n) {
|
|
6377
6382
|
var o = {};
|
|
6378
6383
|
return kt.forEach(function(r) {
|
|
6379
|
-
typeof r.eventProperties == "function" &&
|
|
6384
|
+
typeof r.eventProperties == "function" && et(o, r.eventProperties.call(n[r.pluginName], t));
|
|
6380
6385
|
}), o;
|
|
6381
6386
|
},
|
|
6382
6387
|
modifyOption: function(t, n, o) {
|
|
@@ -6390,11 +6395,11 @@ function ng(e) {
|
|
|
6390
6395
|
var t = e.sortable, n = e.rootEl, o = e.name, r = e.targetEl, i = e.cloneEl, s = e.toEl, l = e.fromEl, a = e.oldIndex, u = e.newIndex, d = e.oldDraggableIndex, g = e.newDraggableIndex, S = e.originalEvent, p = e.putSortable, h = e.extraEventProperties;
|
|
6391
6396
|
if (t = t || n && n[_e], !!t) {
|
|
6392
6397
|
var m, y = t.options, C = "on" + o.charAt(0).toUpperCase() + o.substr(1);
|
|
6393
|
-
window.CustomEvent && !
|
|
6398
|
+
window.CustomEvent && !tt && !sn ? m = new CustomEvent(o, {
|
|
6394
6399
|
bubbles: !0,
|
|
6395
6400
|
cancelable: !0
|
|
6396
6401
|
}) : (m = document.createEvent("Event"), m.initEvent(o, !0, !0)), m.to = s || n, m.from = l || n, m.item = r || n, m.clone = i, m.oldIndex = a, m.newIndex = u, m.oldDraggableIndex = d, m.newDraggableIndex = g, m.originalEvent = S, m.pullMode = p ? p.lastPutMode : void 0;
|
|
6397
|
-
var b =
|
|
6402
|
+
var b = Ge(Ge({}, h), ln.getEventProperties(o, t));
|
|
6398
6403
|
for (var _ in b)
|
|
6399
6404
|
m[_] = b[_];
|
|
6400
6405
|
n && n.dispatchEvent(m), y[C] && y[C].call(t, m);
|
|
@@ -6402,7 +6407,7 @@ function ng(e) {
|
|
|
6402
6407
|
}
|
|
6403
6408
|
var og = ["evt"], Ce = function(t, n) {
|
|
6404
6409
|
var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = o.evt, i = Kf(o, og);
|
|
6405
|
-
ln.pluginEvent.bind(H)(t, n,
|
|
6410
|
+
ln.pluginEvent.bind(H)(t, n, Ge({
|
|
6406
6411
|
dragEl: k,
|
|
6407
6412
|
parentEl: le,
|
|
6408
6413
|
ghostEl: G,
|
|
@@ -6437,7 +6442,7 @@ var og = ["evt"], Ce = function(t, n) {
|
|
|
6437
6442
|
}, i));
|
|
6438
6443
|
};
|
|
6439
6444
|
function be(e) {
|
|
6440
|
-
ng(
|
|
6445
|
+
ng(Ge({
|
|
6441
6446
|
putSortable: me,
|
|
6442
6447
|
cloneEl: se,
|
|
6443
6448
|
targetEl: k,
|
|
@@ -6448,9 +6453,9 @@ function be(e) {
|
|
|
6448
6453
|
newDraggableIndex: ot
|
|
6449
6454
|
}, e));
|
|
6450
6455
|
}
|
|
6451
|
-
var k, le, G, ie, pt, Rn, se, rt, Ft, xe, Zt, ot, bn, me, Tt = !1, zn = !1, Vn = [], dt, Ae, Eo, xo, mi, vi, Wt, Mt, Qt, en = !1, wn = !1, En, ye, ko = [], Go = !1, Nn = [], Jn = typeof document < "u", Cn = or, Si = sn ||
|
|
6456
|
+
var k, le, G, ie, pt, Rn, se, rt, Ft, xe, Zt, ot, bn, me, Tt = !1, zn = !1, Vn = [], dt, Ae, Eo, xo, mi, vi, Wt, Mt, Qt, en = !1, wn = !1, En, ye, ko = [], Go = !1, Nn = [], Jn = typeof document < "u", Cn = or, Si = sn || tt ? "cssFloat" : "float", rg = Jn && !ws && !or && "draggable" in document.createElement("div"), Ms = (function() {
|
|
6452
6457
|
if (Jn) {
|
|
6453
|
-
if (
|
|
6458
|
+
if (tt)
|
|
6454
6459
|
return !1;
|
|
6455
6460
|
var e = document.createElement("x");
|
|
6456
6461
|
return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
|
|
@@ -6525,7 +6530,7 @@ var ft = function(t) {
|
|
|
6525
6530
|
function H(e, t) {
|
|
6526
6531
|
if (!(e && e.nodeType && e.nodeType === 1))
|
|
6527
6532
|
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
|
|
6528
|
-
this.el = e, this.options = t =
|
|
6533
|
+
this.el = e, this.options = t = et({}, t), e[_e] = this;
|
|
6529
6534
|
var n = {
|
|
6530
6535
|
group: null,
|
|
6531
6536
|
sort: !0,
|
|
@@ -6578,7 +6583,7 @@ function H(e, t) {
|
|
|
6578
6583
|
Fs(t);
|
|
6579
6584
|
for (var r in this)
|
|
6580
6585
|
r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
|
|
6581
|
-
this.nativeDraggable = t.forceFallback ? !1 : rg, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? Q(e, "pointerdown", this._onTapStart) : (Q(e, "mousedown", this._onTapStart), Q(e, "touchstart", this._onTapStart)), this.nativeDraggable && (Q(e, "dragover", this), Q(e, "dragenter", this)), Vn.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []),
|
|
6586
|
+
this.nativeDraggable = t.forceFallback ? !1 : rg, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? Q(e, "pointerdown", this._onTapStart) : (Q(e, "mousedown", this._onTapStart), Q(e, "touchstart", this._onTapStart)), this.nativeDraggable && (Q(e, "dragover", this), Q(e, "dragenter", this)), Vn.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), et(this, Qf());
|
|
6582
6587
|
}
|
|
6583
6588
|
H.prototype = /** @lends Sortable.prototype */
|
|
6584
6589
|
{
|
|
@@ -6651,7 +6656,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
6651
6656
|
Is(k, d.trim(), Mo);
|
|
6652
6657
|
}), Q(l, "dragover", ft), Q(l, "mousemove", ft), Q(l, "touchmove", ft), s.supportPointer ? (Q(l, "pointerup", r._onDrop), !this.nativeDraggable && Q(l, "pointercancel", r._onDrop)) : (Q(l, "mouseup", r._onDrop), Q(l, "touchend", r._onDrop), Q(l, "touchcancel", r._onDrop)), fi && this.nativeDraggable && (this.options.touchStartThreshold = 4, k.draggable = !0), Ce("delayStart", this, {
|
|
6653
6658
|
evt: t
|
|
6654
|
-
}), s.delay && (!s.delayOnTouchOnly || n) && (!this.nativeDraggable || !(sn ||
|
|
6659
|
+
}), s.delay && (!s.delayOnTouchOnly || n) && (!this.nativeDraggable || !(sn || tt))) {
|
|
6655
6660
|
if (H.eventCanceled) {
|
|
6656
6661
|
this._onDrop();
|
|
6657
6662
|
return;
|
|
@@ -6746,7 +6751,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
6746
6751
|
if (Cn) {
|
|
6747
6752
|
for (ye = t; L(ye, "position") === "static" && L(ye, "transform") === "none" && ye !== document; )
|
|
6748
6753
|
ye = ye.parentNode;
|
|
6749
|
-
ye !== document.body && ye !== document.documentElement ? (ye === document && (ye =
|
|
6754
|
+
ye !== document.body && ye !== document.documentElement ? (ye === document && (ye = je()), n.top += ye.scrollTop, n.left += ye.scrollLeft) : ye = je(), ko = hi(ye);
|
|
6750
6755
|
}
|
|
6751
6756
|
G = k.cloneNode(!0), Ee(G, o.ghostClass, !1), Ee(G, o.fallbackClass, !0), Ee(G, o.dragClass, !0), L(G, "transition", ""), L(G, "transform", ""), L(G, "box-sizing", "border-box"), L(G, "margin", 0), L(G, "top", n.top), L(G, "left", n.left), L(G, "width", n.width), L(G, "height", n.height), L(G, "opacity", "0.8"), L(G, "position", Cn ? "absolute" : "fixed"), L(G, "zIndex", "100000"), L(G, "pointerEvents", "none"), H.ghost = G, t.appendChild(G), L(G, "transform-origin", mi / parseInt(G.style.width) * 100 + "% " + vi / parseInt(G.style.height) * 100 + "%");
|
|
6752
6757
|
}
|
|
@@ -6771,7 +6776,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
6771
6776
|
var n = this.el, o = t.target, r, i, s, l = this.options, a = l.group, u = H.active, d = bn === a, g = l.sort, S = me || u, p, h = this, m = !1;
|
|
6772
6777
|
if (Go) return;
|
|
6773
6778
|
function y(he, yt) {
|
|
6774
|
-
Ce(he, h,
|
|
6779
|
+
Ce(he, h, Ge({
|
|
6775
6780
|
evt: t,
|
|
6776
6781
|
isOwner: d,
|
|
6777
6782
|
axis: p ? "vertical" : "horizontal",
|
|
@@ -7019,7 +7024,7 @@ function ag(e) {
|
|
|
7019
7024
|
}
|
|
7020
7025
|
function _n(e, t, n, o, r, i, s, l) {
|
|
7021
7026
|
var a, u = e[_e], d = u.options.onMove, g;
|
|
7022
|
-
return window.CustomEvent && !
|
|
7027
|
+
return window.CustomEvent && !tt && !sn ? a = new CustomEvent("move", {
|
|
7023
7028
|
bubbles: !0,
|
|
7024
7029
|
cancelable: !0
|
|
7025
7030
|
}) : (a = document.createEvent("Event"), a.initEvent("move", !0, !0)), a.to = t, a.from = e, a.dragged = n, a.draggedRect = o, a.related = r || t, a.relatedRect = i || pe(t), a.willInsertAfter = l, a.originalEvent = s, e.dispatchEvent(a), d && (g = d.call(u, a, s)), g;
|
|
@@ -7104,7 +7109,7 @@ H.mount = function() {
|
|
|
7104
7109
|
t[0].constructor === Array && (t = t[0]), t.forEach(function(o) {
|
|
7105
7110
|
if (!o.prototype || !o.prototype.constructor)
|
|
7106
7111
|
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
|
|
7107
|
-
o.utils && (H.utils =
|
|
7112
|
+
o.utils && (H.utils = Ge(Ge({}, H.utils), o.utils)), ln.mount(o);
|
|
7108
7113
|
});
|
|
7109
7114
|
};
|
|
7110
7115
|
H.create = function(e, t) {
|
|
@@ -7144,7 +7149,7 @@ function mg() {
|
|
|
7144
7149
|
},
|
|
7145
7150
|
_handleAutoScroll: function(n, o) {
|
|
7146
7151
|
var r = this, i = (n.touches ? n.touches[0] : n).clientX, s = (n.touches ? n.touches[0] : n).clientY, l = document.elementFromPoint(i, s);
|
|
7147
|
-
if (Ln = n, o || this.options.forceAutoScrollFallback || sn ||
|
|
7152
|
+
if (Ln = n, o || this.options.forceAutoScrollFallback || sn || tt || Yt) {
|
|
7148
7153
|
$o(n, this.options, l, o);
|
|
7149
7154
|
var a = st(l, !0);
|
|
7150
7155
|
qo && (!Ut || i !== To || s !== Fo) && (Ut && yi(), Ut = setInterval(function() {
|
|
@@ -7152,14 +7157,14 @@ function mg() {
|
|
|
7152
7157
|
u !== a && (a = u, kn()), $o(n, r.options, u, o);
|
|
7153
7158
|
}, 10), To = i, Fo = s);
|
|
7154
7159
|
} else {
|
|
7155
|
-
if (!this.options.bubbleScroll || st(l, !0) ===
|
|
7160
|
+
if (!this.options.bubbleScroll || st(l, !0) === je()) {
|
|
7156
7161
|
kn();
|
|
7157
7162
|
return;
|
|
7158
7163
|
}
|
|
7159
7164
|
$o(n, this.options, st(l, !1), !1);
|
|
7160
7165
|
}
|
|
7161
7166
|
}
|
|
7162
|
-
},
|
|
7167
|
+
}, et(e, {
|
|
7163
7168
|
pluginName: "scroll",
|
|
7164
7169
|
initializeByDefault: !0
|
|
7165
7170
|
});
|
|
@@ -7174,7 +7179,7 @@ function yi() {
|
|
|
7174
7179
|
}
|
|
7175
7180
|
var $o = Rs(function(e, t, n, o) {
|
|
7176
7181
|
if (t.scroll) {
|
|
7177
|
-
var r = (e.touches ? e.touches[0] : e).clientX, i = (e.touches ? e.touches[0] : e).clientY, s = t.scrollSensitivity, l = t.scrollSpeed, a =
|
|
7182
|
+
var r = (e.touches ? e.touches[0] : e).clientX, i = (e.touches ? e.touches[0] : e).clientY, s = t.scrollSensitivity, l = t.scrollSpeed, a = je(), u = !1, d;
|
|
7178
7183
|
Wo !== n && (Wo = n, kn(), qt = t.scroll, d = t.scrollFn, qt === !0 && (qt = st(n, !0)));
|
|
7179
7184
|
var g = 0, S = qt;
|
|
7180
7185
|
do {
|
|
@@ -7222,7 +7227,7 @@ ir.prototype = {
|
|
|
7222
7227
|
},
|
|
7223
7228
|
drop: Ds
|
|
7224
7229
|
};
|
|
7225
|
-
|
|
7230
|
+
et(ir, {
|
|
7226
7231
|
pluginName: "revertOnSpill"
|
|
7227
7232
|
});
|
|
7228
7233
|
function sr() {
|
|
@@ -7234,7 +7239,7 @@ sr.prototype = {
|
|
|
7234
7239
|
},
|
|
7235
7240
|
drop: Ds
|
|
7236
7241
|
};
|
|
7237
|
-
|
|
7242
|
+
et(sr, {
|
|
7238
7243
|
pluginName: "removeOnSpill"
|
|
7239
7244
|
});
|
|
7240
7245
|
H.mount(new mg());
|
|
@@ -7257,7 +7262,7 @@ const vg = ["aria-expanded"], Sg = ["aria-label"], yg = { class: "endge-tanstack
|
|
|
7257
7262
|
() => t.table.getState().columnOrder,
|
|
7258
7263
|
() => u(),
|
|
7259
7264
|
{ deep: !0, immediate: !0 }
|
|
7260
|
-
), ue(o, () => g()), Gn(() => document.addEventListener("pointerdown", S)),
|
|
7265
|
+
), ue(o, () => g()), Gn(() => document.addEventListener("pointerdown", S)), Ke(() => {
|
|
7261
7266
|
document.removeEventListener("pointerdown", S), s == null || s.destroy();
|
|
7262
7267
|
});
|
|
7263
7268
|
function u() {
|
|
@@ -7405,9 +7410,9 @@ const vg = ["aria-expanded"], Sg = ["aria-label"], yg = { class: "endge-tanstack
|
|
|
7405
7410
|
renderCell: {}
|
|
7406
7411
|
},
|
|
7407
7412
|
setup(e) {
|
|
7408
|
-
const t = e, n = x(() => Array.isArray(t.columns) ? t.columns : []), o = x(() => Array.isArray(t.defaultSort) ? t.defaultSort : []), r = x(() => Array.isArray(t.defaultPin) ? t.defaultPin : []), i = x(() => Array.isArray(t.defaultHidden) ? t.defaultHidden : []), s = x(() => Array.isArray(t.pageSizes) ? t.pageSizes : [25, 50, 100]), l = x(() => Array.isArray(t.eventBindings) ? t.eventBindings : []), a = Tn(es, null), u = Tn(bs, null), d = x(() => (u == null ? void 0 : u.showSearch.value) === !0), g = x(() => (u == null ? void 0 : u.filterRuntime.value) ?? null), S = x(() => (u == null ? void 0 : u.showFilters.value) === !0 && g.value != null), p = x(() => d.value || S.value), h = x(() => (u == null ? void 0 : u.filtersVisible.value) === !0), m = B(null), y =
|
|
7413
|
+
const t = e, n = x(() => Array.isArray(t.columns) ? t.columns : []), o = x(() => Array.isArray(t.defaultSort) ? t.defaultSort : []), r = x(() => Array.isArray(t.defaultPin) ? t.defaultPin : []), i = x(() => Array.isArray(t.defaultHidden) ? t.defaultHidden : []), s = x(() => Array.isArray(t.pageSizes) ? t.pageSizes : [25, 50, 100]), l = x(() => Array.isArray(t.eventBindings) ? t.eventBindings : []), a = Tn(es, null), u = Tn(bs, null), d = x(() => (u == null ? void 0 : u.showSearch.value) === !0), g = x(() => (u == null ? void 0 : u.filterRuntime.value) ?? null), S = x(() => (u == null ? void 0 : u.showFilters.value) === !0 && g.value != null), p = x(() => d.value || S.value), h = x(() => (u == null ? void 0 : u.filtersVisible.value) === !0), m = B(null), y = Je(so(t.source)), C = B(0);
|
|
7409
7414
|
let b = null;
|
|
7410
|
-
const _ = x(() => t.tableId ? `table:${t.tableId}` : null), I = B(ol()), E = B(rl()), F = B(no("order", n.value.map((c) => c.key))), P = B(gr()), j = B(pr("size", {})), A = B(Zs()), z =
|
|
7415
|
+
const _ = x(() => t.tableId ? `table:${t.tableId}` : null), I = B(ol()), E = B(rl()), F = B(no("order", n.value.map((c) => c.key))), P = B(gr()), j = B(pr("size", {})), A = B(Zs()), z = Je(/* @__PURE__ */ new Set()), O = B(null), K = Je(null), ne = x(() => t.selectionMode !== "none"), M = x(() => t.selectionTrigger === "auto" ? "control" : t.selectionTrigger), X = x(() => ne.value && (M.value === "control" || M.value === "both")), U = x(() => ne.value && (M.value === "row" || M.value === "both")), re = x(() => X.value ? [gt, ...F.value.filter((c) => c !== gt)] : F.value.filter((c) => c !== gt));
|
|
7411
7416
|
let he = null;
|
|
7412
7417
|
const yt = x(() => [
|
|
7413
7418
|
...X.value ? [{
|
|
@@ -7579,7 +7584,7 @@ const vg = ["aria-expanded"], Sg = ["aria-label"], yg = { class: "endge-tanstack
|
|
|
7579
7584
|
}
|
|
7580
7585
|
), ue(() => [y.value, n.value], ([c, f]) => {
|
|
7581
7586
|
uu(t.menuContext, c, t.rowKey, f);
|
|
7582
|
-
}, { flush: "sync" }),
|
|
7587
|
+
}, { flush: "sync" }), Ke(() => {
|
|
7583
7588
|
var c, f;
|
|
7584
7589
|
(f = (c = t.menuContext) == null ? void 0 : c.host) == null || f.releaseComputationResources(t.menuContext.consumerScope), he && clearTimeout(he), Qn == null || Qn(), $t(t.boundaryId), b == null || b(), b = null;
|
|
7585
7590
|
}), Gn(() => {
|
|
@@ -8262,7 +8267,7 @@ const vg = ["aria-expanded"], Sg = ["aria-label"], yg = { class: "endge-tanstack
|
|
|
8262
8267
|
], 512)), [
|
|
8263
8268
|
[wa, h.value]
|
|
8264
8269
|
]) : ce("", !0),
|
|
8265
|
-
W("div",
|
|
8270
|
+
W("div", Ue({
|
|
8266
8271
|
ref_key: "scrollRoot",
|
|
8267
8272
|
ref: m
|
|
8268
8273
|
}, e.styleContract.grid.attrs, { class: "endge-tanstack-table__viewport" }), [
|
|
@@ -8274,9 +8279,9 @@ const vg = ["aria-expanded"], Sg = ["aria-label"], yg = { class: "endge-tanstack
|
|
|
8274
8279
|
class: "endge-tanstack-table__table",
|
|
8275
8280
|
style: At({ width: Us.value })
|
|
8276
8281
|
}, [
|
|
8277
|
-
W("thead",
|
|
8282
|
+
W("thead", Ue(e.styleContract.header.attrs, { class: "endge-tanstack-table__header" }), [
|
|
8278
8283
|
W("tr", null, [
|
|
8279
|
-
(T(!0), D(Ie, null, Ve(an.value, (w) => (T(), D("th",
|
|
8284
|
+
(T(!0), D(Ie, null, Ve(an.value, (w) => (T(), D("th", Ue({
|
|
8280
8285
|
key: w.id
|
|
8281
8286
|
}, { ref_for: !0 }, Te(w.column) ? {} : Ct(w.column).styleSurfaces.headerCell.attrs, {
|
|
8282
8287
|
class: ["endge-tanstack-table__head", {
|
|
@@ -8303,7 +8308,7 @@ const vg = ["aria-expanded"], Sg = ["aria-label"], yg = { class: "endge-tanstack
|
|
|
8303
8308
|
disabled: !w.column.getCanSort() && !oo(Ct(w.column)),
|
|
8304
8309
|
onClick: (R) => ll(w.column, R)
|
|
8305
8310
|
}, [
|
|
8306
|
-
W("span",
|
|
8311
|
+
W("span", Ue({ ref_for: !0 }, Ct(w.column).styleSurfaces.headerContent.attrs, { class: "endge-tanstack-table__head-title" }), [
|
|
8307
8312
|
ke(Y(ii), {
|
|
8308
8313
|
render: w.column.columnDef.header,
|
|
8309
8314
|
props: w.getContext()
|
|
@@ -8333,11 +8338,11 @@ const vg = ["aria-expanded"], Sg = ["aria-label"], yg = { class: "endge-tanstack
|
|
|
8333
8338
|
], 16, Og))), 128))
|
|
8334
8339
|
])
|
|
8335
8340
|
], 16),
|
|
8336
|
-
W("tbody",
|
|
8341
|
+
W("tbody", Ue(e.styleContract.body.attrs, {
|
|
8337
8342
|
class: "endge-tanstack-table__body",
|
|
8338
8343
|
style: { height: `${Ws.value}px` }
|
|
8339
8344
|
}), [
|
|
8340
|
-
(T(!0), D(Ie, null, Ve(dr.value, (w) => (T(), D("tr",
|
|
8345
|
+
(T(!0), D(Ie, null, Ve(dr.value, (w) => (T(), D("tr", Ue({
|
|
8341
8346
|
key: String(w.virtualItem.key)
|
|
8342
8347
|
}, { ref_for: !0 }, bl(w.styledRow, w.row.id), {
|
|
8343
8348
|
"data-index": w.rowIndex,
|
|
@@ -8353,7 +8358,7 @@ const vg = ["aria-expanded"], Sg = ["aria-label"], yg = { class: "endge-tanstack
|
|
|
8353
8358
|
onContextmenu: (R) => Cl(w, R),
|
|
8354
8359
|
onKeydown: (R) => _l(w, R)
|
|
8355
8360
|
}), [
|
|
8356
|
-
(T(!0), D(Ie, null, Ve(Vs(w.row), (R) => (T(), D("td",
|
|
8361
|
+
(T(!0), D(Ie, null, Ve(Vs(w.row), (R) => (T(), D("td", Ue({
|
|
8357
8362
|
key: R.id
|
|
8358
8363
|
}, { ref_for: !0 }, Te(R.column) ? {} : ml(w.styledRow, Ct(R.column), vl(w.row.id, R.column.id)), {
|
|
8359
8364
|
class: ["endge-tanstack-table__cell", {
|
|
@@ -8433,7 +8438,7 @@ const vg = ["aria-expanded"], Sg = ["aria-label"], yg = { class: "endge-tanstack
|
|
|
8433
8438
|
disabled: !Y(te).getCanPreviousPage(),
|
|
8434
8439
|
onClick: f[3] || (f[3] = (w) => Y(te).previousPage())
|
|
8435
8440
|
}, [
|
|
8436
|
-
ke(Y(
|
|
8441
|
+
ke(Y(hd), { size: 16 })
|
|
8437
8442
|
], 8, np),
|
|
8438
8443
|
W("button", {
|
|
8439
8444
|
type: "button",
|
|
@@ -8441,7 +8446,7 @@ const vg = ["aria-expanded"], Sg = ["aria-label"], yg = { class: "endge-tanstack
|
|
|
8441
8446
|
disabled: !Y(te).getCanNextPage(),
|
|
8442
8447
|
onClick: f[4] || (f[4] = (w) => Y(te).nextPage())
|
|
8443
8448
|
}, [
|
|
8444
|
-
ke(Y(
|
|
8449
|
+
ke(Y(gd), { size: 16 })
|
|
8445
8450
|
], 8, op),
|
|
8446
8451
|
W("button", {
|
|
8447
8452
|
type: "button",
|
|
@@ -8728,19 +8733,19 @@ const Cp = (e) => {
|
|
|
8728
8733
|
anchor: S,
|
|
8729
8734
|
kind: o,
|
|
8730
8735
|
policy: {
|
|
8731
|
-
side:
|
|
8732
|
-
align:
|
|
8733
|
-
openDelay:
|
|
8734
|
-
closeDelay:
|
|
8736
|
+
side: qe(e, "side"),
|
|
8737
|
+
align: qe(e, "align"),
|
|
8738
|
+
openDelay: qe(e, "openDelay", "open-delay"),
|
|
8739
|
+
closeDelay: qe(e, "closeDelay", "close-delay")
|
|
8735
8740
|
},
|
|
8736
|
-
authoredId: wi(
|
|
8737
|
-
className:
|
|
8738
|
-
part: wi(
|
|
8741
|
+
authoredId: wi(qe(e, "id")),
|
|
8742
|
+
className: qe(e, "class"),
|
|
8743
|
+
part: wi(qe(e, "part")),
|
|
8739
8744
|
renderContent: () => {
|
|
8740
8745
|
if (o === "text")
|
|
8741
|
-
return String(
|
|
8746
|
+
return String(qe(e, "text") ?? "");
|
|
8742
8747
|
if (o === "markdown")
|
|
8743
|
-
return Rp(e,
|
|
8748
|
+
return Rp(e, qe(e, "markdown"));
|
|
8744
8749
|
const p = xp(e.context);
|
|
8745
8750
|
return e.renderNodes(i, p);
|
|
8746
8751
|
}
|
|
@@ -8766,7 +8771,7 @@ function Dt(e, t) {
|
|
|
8766
8771
|
rel: "noreferrer noopener"
|
|
8767
8772
|
}, Dt(e, n.children)));
|
|
8768
8773
|
}
|
|
8769
|
-
function
|
|
8774
|
+
function qe(e, ...t) {
|
|
8770
8775
|
for (const n of t) {
|
|
8771
8776
|
const o = e.node.props[n];
|
|
8772
8777
|
if (o)
|
|
@@ -8957,7 +8962,7 @@ class Np {
|
|
|
8957
8962
|
class Lp extends ra {
|
|
8958
8963
|
constructor() {
|
|
8959
8964
|
super(...arguments);
|
|
8960
|
-
|
|
8965
|
+
// В debugger участвует только регистрация renderer и отображение наблюдаемых стилей.
|
|
8961
8966
|
ee(this, "debuggerCompatible", !0);
|
|
8962
8967
|
ee(this, "_started", !1);
|
|
8963
8968
|
ee(this, "_adapterFallbackIds", []);
|
|
@@ -9003,7 +9008,7 @@ class Lp extends ra {
|
|
|
9003
9008
|
}), this._unsubscribeRuntimeScopes = $.runtime.subscribe(() => this._refreshStyles()), this._unsubscribeUIRegistry = $.uiRegistry.subscribe(() => this._refreshStyles()), this._refreshStyles();
|
|
9004
9009
|
return;
|
|
9005
9010
|
}
|
|
9006
|
-
|
|
9011
|
+
nt.addPhase({
|
|
9007
9012
|
name: "watch",
|
|
9008
9013
|
routes: ["*"],
|
|
9009
9014
|
traversal: "dirty-only",
|
|
@@ -9013,7 +9018,7 @@ class Lp extends ra {
|
|
|
9013
9018
|
n.length && n.forEach((o) => {
|
|
9014
9019
|
var i, s, l, a;
|
|
9015
9020
|
const r = (s = (i = o.node) == null ? void 0 : i.meta) == null ? void 0 : s.path;
|
|
9016
|
-
!((a = (l = o.node) == null ? void 0 : l.meta) != null && a.ref) || typeof r != "string" || (o.node.meta.ref.value =
|
|
9021
|
+
!((a = (l = o.node) == null ? void 0 : l.meta) != null && a.ref) || typeof r != "string" || (o.node.meta.ref.value = nt.get(r));
|
|
9017
9022
|
});
|
|
9018
9023
|
}
|
|
9019
9024
|
}), this._unsubscribeWorkspace = $.workspace.subscribe(() => {
|
|
@@ -9025,26 +9030,27 @@ class Lp extends ra {
|
|
|
9025
9030
|
var n, o, r, i, s;
|
|
9026
9031
|
(n = this._unsubscribeWorkspace) == null || n.call(this), this._unsubscribeWorkspace = null, (o = this._unsubscribeStyles) == null || o.call(this), this._unsubscribeStyles = null, (r = this._unsubscribeProgram) == null || r.call(this), this._unsubscribeProgram = null, (i = this._unsubscribeUIRegistry) == null || i.call(this), this._unsubscribeUIRegistry = null, (s = this._unsubscribeRuntimeScopes) == null || s.call(this), this._unsubscribeRuntimeScopes = null, this._styleRuntime.reset(), this._adapterFallbackIds = [], this._started = !1;
|
|
9027
9032
|
}
|
|
9028
|
-
/**
|
|
9033
|
+
/**
|
|
9034
|
+
* Связывает Vue ref с dynamic state текущего Endge context scope.
|
|
9035
|
+
*/
|
|
9029
9036
|
useContextState(n, o, r) {
|
|
9030
9037
|
return Ia(n, o, r);
|
|
9031
9038
|
}
|
|
9032
9039
|
makeRaphRef(n) {
|
|
9033
|
-
const o = B(
|
|
9034
|
-
id: `watch:${
|
|
9040
|
+
const o = B(nt.get(n)), r = new pa(nt.runtime, {
|
|
9041
|
+
id: `watch:${fa(5)}`,
|
|
9035
9042
|
meta: {
|
|
9036
9043
|
ref: o,
|
|
9037
9044
|
type: "watch",
|
|
9038
9045
|
path: n
|
|
9039
9046
|
}
|
|
9040
|
-
})
|
|
9041
|
-
return je.app.addNode(r), je.app.track(r, `${n}[*]`, {
|
|
9047
|
+
}), i = nt.runtime.track(r, `${n}[*]`, {
|
|
9042
9048
|
wildcardDynamic: !0
|
|
9043
|
-
})
|
|
9044
|
-
|
|
9045
|
-
|
|
9049
|
+
});
|
|
9050
|
+
return Ke(() => {
|
|
9051
|
+
i(), r.dispose();
|
|
9046
9052
|
}), ue(o, () => {
|
|
9047
|
-
|
|
9053
|
+
nt.set(n, o.value);
|
|
9048
9054
|
}), o;
|
|
9049
9055
|
}
|
|
9050
9056
|
makeVocabRef(n) {
|
|
@@ -9082,7 +9088,7 @@ function nh(e) {
|
|
|
9082
9088
|
const n = B($.context.getFacetSelection(t)), o = $.context.subscribe(() => {
|
|
9083
9089
|
n.value = $.context.getFacetSelection(t);
|
|
9084
9090
|
});
|
|
9085
|
-
return
|
|
9091
|
+
return Qe(o), {
|
|
9086
9092
|
current: n,
|
|
9087
9093
|
locked: () => $.context.isFacetLockedBySession(t),
|
|
9088
9094
|
setCurrent: (r) => $.commands.execute({
|
|
@@ -9095,7 +9101,7 @@ function oh() {
|
|
|
9095
9101
|
const e = $.context, t = B(e.currentLocale), n = e.subscribe(() => {
|
|
9096
9102
|
t.value = e.currentLocale;
|
|
9097
9103
|
});
|
|
9098
|
-
return
|
|
9104
|
+
return Qe(n), {
|
|
9099
9105
|
current: t,
|
|
9100
9106
|
setCurrent: (o) => $.commands.execute({ type: "context:set-locale", payload: { locale: o } })
|
|
9101
9107
|
};
|
|
@@ -9104,7 +9110,7 @@ function rh() {
|
|
|
9104
9110
|
const e = $.context, t = B(e.currentTheme), n = e.subscribe(() => {
|
|
9105
9111
|
t.value = e.currentTheme;
|
|
9106
9112
|
});
|
|
9107
|
-
return
|
|
9113
|
+
return Qe(n), {
|
|
9108
9114
|
current: t,
|
|
9109
9115
|
setCurrent: (o) => $.commands.execute({ type: "context:set-theme", payload: { theme: o } })
|
|
9110
9116
|
};
|
|
@@ -9113,18 +9119,18 @@ function ih() {
|
|
|
9113
9119
|
const e = $.context, t = B(e.currentTimezone), n = e.subscribe(() => {
|
|
9114
9120
|
t.value = e.currentTimezone;
|
|
9115
9121
|
});
|
|
9116
|
-
return
|
|
9122
|
+
return Qe(n), {
|
|
9117
9123
|
current: t,
|
|
9118
9124
|
setCurrent: (o) => $.commands.execute({ type: "context:set-timezone", payload: { timezone: o } })
|
|
9119
9125
|
};
|
|
9120
9126
|
}
|
|
9121
9127
|
function Uo(e) {
|
|
9122
|
-
const t =
|
|
9128
|
+
const t = Je(e), n = e.subscribe(() => Do(t));
|
|
9123
9129
|
return { refObj: t, unsubscribe: n };
|
|
9124
9130
|
}
|
|
9125
9131
|
function Hp(e) {
|
|
9126
9132
|
const { refObj: t, unsubscribe: n } = Uo(e);
|
|
9127
|
-
return
|
|
9133
|
+
return Qe(n), t;
|
|
9128
9134
|
}
|
|
9129
9135
|
const sh = () => Hp($.ui);
|
|
9130
9136
|
function lh(e) {
|
|
@@ -9228,7 +9234,7 @@ const jp = { class: "endge-page" }, Gp = /* @__PURE__ */ ve({
|
|
|
9228
9234
|
}, void 0, !0)
|
|
9229
9235
|
]));
|
|
9230
9236
|
}
|
|
9231
|
-
}), dh = /* @__PURE__ */ on(Gp, [["__scopeId", "data-v-
|
|
9237
|
+
}), dh = /* @__PURE__ */ on(Gp, [["__scopeId", "data-v-a1f10262"]]), fh = /* @__PURE__ */ ve({
|
|
9232
9238
|
name: "EndgeTanStackTableRuntimeRenderer",
|
|
9233
9239
|
inheritAttrs: !1,
|
|
9234
9240
|
__name: "TanStackTableRuntimeRenderer",
|
|
@@ -9248,7 +9254,7 @@ const jp = { class: "endge-page" }, Gp = /* @__PURE__ */ ve({
|
|
|
9248
9254
|
filterRuntime: x(() => t.filterRuntime),
|
|
9249
9255
|
searchValue: n,
|
|
9250
9256
|
filtersVisible: o
|
|
9251
|
-
}), (r, i) => (T(), Pe(ts,
|
|
9257
|
+
}), (r, i) => (T(), Pe(ts, Ue(r.$attrs, {
|
|
9252
9258
|
host: e.host,
|
|
9253
9259
|
input: e.input
|
|
9254
9260
|
}), null, 16, ["host", "input"]));
|