@endge/ui-vue 1.0.0-dev.3 → 1.0.0-dev.4
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/ui/render/sfc/SFCRender_Base.d.ts +1 -0
- package/dist/vue.js +548 -547
- package/package.json +1 -1
package/dist/vue.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var ee = (e, t, n) =>
|
|
4
|
-
import { Endge as $, ENDGE_SFC_RENDER_ADAPTER_PROTOCOL_VERSION as Gn, ENDGE_SFC_RENDER_ADAPTER_PROTOCOL as Kn, resolveFilterSelectPresentation as
|
|
5
|
-
import { subscribeKeyboardState as
|
|
6
|
-
import { Raph as Ye, DataPath as
|
|
7
|
-
import { ref as B, watch as ue, toRaw as
|
|
8
|
-
function
|
|
1
|
+
var Bl = Object.defineProperty;
|
|
2
|
+
var jl = (e, t, n) => t in e ? Bl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var ee = (e, t, n) => jl(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
+
import { Endge as $, ENDGE_SFC_RENDER_ADAPTER_PROTOCOL_VERSION as Gn, ENDGE_SFC_RENDER_ADAPTER_PROTOCOL as Kn, resolveFilterSelectPresentation as Gl, ENDGE_KEYBOARD_CONTEXT_RAPH_PATH as Kl, matchesComponentSFCInteractionKeyboardCondition as Wl, normalizeComponentSFCInteractionKeyboardCondition as ql, DEFAULT_ENDGE_TOOLTIP_CONFIGURATION as Ul, evaluateComponentSFCExpression as Xl, ComponentSFCEventBoundary as Yl, ENDGE_SFC_RENDER_ADAPTER_REQUIRED_KEYS as Jl, normalizeComponentSFCInteractionTriggers as Or, matchesComponentSFCInteractionTrigger as Zl, resolveComponentSFCInteractionTriggerPlatform as Ql, normalizeComponentSFCEditTriggers as xi, matchesComponentSFCEditTrigger as ki, getComponentSFCIntrinsicEventDefinitions as ea, createEndgeTooltipDomId as Mi, TABLE_RUNTIME_ACTION_IDS as we, normalizeComponentSFCTableSort as ta, normalizeComponentSFCTableColumnPin as na, normalizeComponentSFCTableColumnVisibility as oa, normalizeComponentSFCTableColumnMenu as ra, normalizeComponentSFCTableRowMenu as ia, normalizeComponentSFCTableColumnPinMode as sa, normalizeComponentSFCTableSortMode as la, parseEndgeTooltipMarkdown as aa, evaluateEndgeStyleSupport as ua, EndgeModule as ca, compileComponentSFCExpression as da } from "@endge/core";
|
|
5
|
+
import { subscribeKeyboardState as fa, getKeyboardStateSnapshot as ga, isoDateTimeToTimeInput as pa, isoToDateTimeLocalInput as Ti, mergeTimeIntoDateTime as ha, isoToDateInput as ma, timeToTimeInput as va, randomString as Sa } from "@endge/utils";
|
|
6
|
+
import { Raph as Ye, DataPath as ya, RaphNode as ba } from "@raphy-js/raph";
|
|
7
|
+
import { ref as B, watch as ue, toRaw as wa, getCurrentScope as Ca, onScopeDispose as et, 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 Ze, onBeforeUnmount as Ke, Fragment as Ie, renderList as Ve, createBlock as Pe, reactive as Fi, nextTick as vt, onMounted as Wn, Teleport as $i, withModifiers as ht, normalizeStyle as At, createElementVNode as W, shallowReactive as _a, normalizeClass as Kt, provide as Qo, renderSlot as En, isVNode as Pi, cloneVNode as Di, getCurrentInstance as Ai, inject as $n, mergeProps as Ue, withKeys as zr, withDirectives as Oi, vModelText as Ia, isRef as Ra, watchEffect as Ea, triggerRef as zo, vShow as xa, markRaw as Wt, onBeforeMount as ka, onUnmounted as Ma } from "vue";
|
|
8
|
+
function Ta(e, t, n) {
|
|
9
9
|
const o = $.context, r = B(o.getState(e, n) ?? t());
|
|
10
10
|
let i = !1, s = !1;
|
|
11
11
|
const l = ue(
|
|
@@ -14,7 +14,7 @@ function Ma(e, t, n) {
|
|
|
14
14
|
if (!s) {
|
|
15
15
|
i = !0;
|
|
16
16
|
try {
|
|
17
|
-
o.setState(e,
|
|
17
|
+
o.setState(e, wa(g), n);
|
|
18
18
|
} finally {
|
|
19
19
|
i = !1;
|
|
20
20
|
}
|
|
@@ -31,11 +31,11 @@ function Ma(e, t, n) {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
}, u = o.subscribeState(e, a), d = o.subscribe(a);
|
|
34
|
-
return
|
|
34
|
+
return Ca() && et(() => {
|
|
35
35
|
l(), u(), d();
|
|
36
36
|
}), r;
|
|
37
37
|
}
|
|
38
|
-
const
|
|
38
|
+
const Fa = ve({
|
|
39
39
|
name: "EndgeFilterControlRenderer",
|
|
40
40
|
props: {
|
|
41
41
|
field: {
|
|
@@ -62,7 +62,7 @@ const Ta = ve({
|
|
|
62
62
|
}).renderers[e.field.control.type];
|
|
63
63
|
if (!o)
|
|
64
64
|
throw new Error(`[EndgeFilterControlRenderer] renderer "${e.field.control.type}" is missing.`);
|
|
65
|
-
const r = e.readonly === !0, i =
|
|
65
|
+
const r = e.readonly === !0, i = $a(e.field, e.options, r, e.label), s = e.field.control.type === "Input" || e.field.control.type === "Textarea" ? "onInput" : "onChange";
|
|
66
66
|
return o({
|
|
67
67
|
h: mt,
|
|
68
68
|
children: [],
|
|
@@ -70,14 +70,14 @@ const Ta = ve({
|
|
|
70
70
|
attrs: {
|
|
71
71
|
"data-endge-filter-field": e.field.key,
|
|
72
72
|
[s]: (l) => {
|
|
73
|
-
r || t("update:value",
|
|
73
|
+
r || t("update:value", Pa(l, e.field, e.options));
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
|
-
function
|
|
80
|
+
function $a(e, t, n, o) {
|
|
81
81
|
if (e.control.type === "Checkbox")
|
|
82
82
|
return {
|
|
83
83
|
checked: e.value === !0,
|
|
@@ -86,7 +86,7 @@ function Fa(e, t, n, o) {
|
|
|
86
86
|
disabled: n
|
|
87
87
|
};
|
|
88
88
|
if (e.control.type === "Select") {
|
|
89
|
-
const i =
|
|
89
|
+
const i = Gl(e, t.length);
|
|
90
90
|
return {
|
|
91
91
|
value: e.value,
|
|
92
92
|
options: t,
|
|
@@ -107,7 +107,7 @@ function Fa(e, t, n, o) {
|
|
|
107
107
|
disabled: n
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function Pa(e, t, n) {
|
|
111
111
|
const o = e.target;
|
|
112
112
|
if (!(o instanceof HTMLInputElement || o instanceof HTMLTextAreaElement || o instanceof HTMLSelectElement))
|
|
113
113
|
return t.value;
|
|
@@ -132,13 +132,13 @@ function Vr(e, t) {
|
|
|
132
132
|
var n;
|
|
133
133
|
return ((n = e.find((o) => String(o.value) === t)) == null ? void 0 : n.value) ?? t;
|
|
134
134
|
}
|
|
135
|
-
const
|
|
135
|
+
const Da = ["data-loading"], Aa = {
|
|
136
136
|
key: 0,
|
|
137
137
|
class: "endge-filter-field__label"
|
|
138
|
-
},
|
|
138
|
+
}, Oa = {
|
|
139
139
|
key: 1,
|
|
140
140
|
class: "endge-filter-field__error"
|
|
141
|
-
},
|
|
141
|
+
}, za = /* @__PURE__ */ ve({
|
|
142
142
|
__name: "EndgeFilterField",
|
|
143
143
|
props: {
|
|
144
144
|
field: {},
|
|
@@ -185,26 +185,26 @@ const Pa = ["data-loading"], Da = {
|
|
|
185
185
|
class: "endge-filter-field",
|
|
186
186
|
"data-loading": i.value ? "" : void 0
|
|
187
187
|
}, [
|
|
188
|
-
e.showLabel !== !1 && e.field.control.type !== "Checkbox" ? (T(), D("span",
|
|
189
|
-
ke(Y(
|
|
188
|
+
e.showLabel !== !1 && e.field.control.type !== "Checkbox" ? (T(), D("span", Aa, de(e.label || e.field.key), 1)) : ce("", !0),
|
|
189
|
+
ke(Y(Fa), {
|
|
190
190
|
field: e.field,
|
|
191
191
|
options: l.value,
|
|
192
192
|
label: e.label || e.field.key,
|
|
193
193
|
readonly: e.readonly,
|
|
194
194
|
"onUpdate:value": g[0] || (g[0] = (S) => o("update:value", S))
|
|
195
195
|
}, null, 8, ["field", "options", "label", "readonly"]),
|
|
196
|
-
s.value ? (T(), D("small",
|
|
197
|
-
], 8,
|
|
196
|
+
s.value ? (T(), D("small", Oa, de(s.value), 1)) : ce("", !0)
|
|
197
|
+
], 8, Da));
|
|
198
198
|
}
|
|
199
199
|
}), sn = (e, t) => {
|
|
200
200
|
const n = e.__vccOpts || e;
|
|
201
201
|
for (const [o, r] of t)
|
|
202
202
|
n[o] = r;
|
|
203
203
|
return n;
|
|
204
|
-
},
|
|
204
|
+
}, Va = /* @__PURE__ */ sn(za, [["__scopeId", "data-v-5e73e623"]]), Na = ["aria-readonly", "data-adapter-version"], La = {
|
|
205
205
|
key: 1,
|
|
206
206
|
class: "endge-filter-renderer__unsupported"
|
|
207
|
-
},
|
|
207
|
+
}, Ha = /* @__PURE__ */ ve({
|
|
208
208
|
__name: "EndgeFilterRenderer",
|
|
209
209
|
props: {
|
|
210
210
|
runtime: {},
|
|
@@ -249,7 +249,7 @@ const Pa = ["data-loading"], Da = {
|
|
|
249
249
|
"aria-readonly": e.readonly === !0,
|
|
250
250
|
"data-adapter-version": o.value
|
|
251
251
|
}, [
|
|
252
|
-
(T(!0), D(Ie, null, Ve(r.value, (y) => (T(), Pe(
|
|
252
|
+
(T(!0), D(Ie, null, Ve(r.value, (y) => (T(), Pe(Va, {
|
|
253
253
|
key: `${o.value}:${y.key}`,
|
|
254
254
|
field: y,
|
|
255
255
|
label: S(y.key),
|
|
@@ -257,9 +257,9 @@ const Pa = ["data-loading"], Da = {
|
|
|
257
257
|
readonly: e.readonly,
|
|
258
258
|
"onUpdate:value": (C) => g(y.key, C)
|
|
259
259
|
}, null, 8, ["field", "label", "show-label", "readonly", "onUpdate:value"]))), 128))
|
|
260
|
-
], 8,
|
|
260
|
+
], 8, Na)) : (T(), D("div", La, de(`Пользовательский Filter view "${n.value.implementation.identity}" пока не подключён к renderer-у.`), 1));
|
|
261
261
|
}
|
|
262
|
-
}), zi = /* @__PURE__ */ sn(
|
|
262
|
+
}), zi = /* @__PURE__ */ sn(Ha, [["__scopeId", "data-v-c1f6119b"]]), ae = Fi({
|
|
263
263
|
open: !1,
|
|
264
264
|
ownerId: null,
|
|
265
265
|
x: 0,
|
|
@@ -275,10 +275,10 @@ function $t(e) {
|
|
|
275
275
|
}
|
|
276
276
|
function Vi() {
|
|
277
277
|
const e = ae.menu, t = ae.context;
|
|
278
|
-
return !e || !t ? [] :
|
|
278
|
+
return !e || !t ? [] : Ga(e.items);
|
|
279
279
|
}
|
|
280
280
|
const lh = Vi;
|
|
281
|
-
async function
|
|
281
|
+
async function Ba(e) {
|
|
282
282
|
const t = ae.context;
|
|
283
283
|
if (t)
|
|
284
284
|
try {
|
|
@@ -287,11 +287,11 @@ async function Ha(e) {
|
|
|
287
287
|
$t();
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function ja(e) {
|
|
291
291
|
const t = e.label;
|
|
292
292
|
return $.i18n.te(e.label) ? $.i18n.t(e.label, { defaultValue: t }) : e.action !== e.label && $.i18n.te(e.action) ? $.i18n.t(e.action, { defaultValue: t }) : t;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function Ga(e) {
|
|
295
295
|
var n, o;
|
|
296
296
|
const t = [];
|
|
297
297
|
for (const r of e) {
|
|
@@ -303,16 +303,16 @@ function ja(e) {
|
|
|
303
303
|
}
|
|
304
304
|
return ((o = t[t.length - 1]) == null ? void 0 : o.kind) === "separator" && t.pop(), t;
|
|
305
305
|
}
|
|
306
|
-
const
|
|
306
|
+
const Ka = {
|
|
307
307
|
key: 0,
|
|
308
308
|
role: "separator",
|
|
309
309
|
class: "endge-context-menu-root__separator"
|
|
310
|
-
},
|
|
310
|
+
}, Wa = ["disabled", "onClick"], qa = {
|
|
311
311
|
key: 0,
|
|
312
312
|
class: "endge-context-menu-root__icon",
|
|
313
313
|
viewBox: "0 0 24 24",
|
|
314
314
|
"aria-hidden": "true"
|
|
315
|
-
},
|
|
315
|
+
}, Ua = ["d"], Xa = { class: "endge-context-menu-root__label" }, Ya = /* @__PURE__ */ ve({
|
|
316
316
|
__name: "EndgeContextMenuRoot",
|
|
317
317
|
setup(e) {
|
|
318
318
|
const t = B(null), n = B(0), o = B(!1);
|
|
@@ -345,8 +345,8 @@ const Ga = {
|
|
|
345
345
|
document.removeEventListener("mousedown", u, !0), document.removeEventListener("keydown", d), window.removeEventListener("resize", g), window.removeEventListener("scroll", g, !0);
|
|
346
346
|
}
|
|
347
347
|
function u(b) {
|
|
348
|
-
var
|
|
349
|
-
(
|
|
348
|
+
var I;
|
|
349
|
+
(I = t.value) != null && I.contains(b.target) || $t();
|
|
350
350
|
}
|
|
351
351
|
function d(b) {
|
|
352
352
|
if (b.key === "Escape") {
|
|
@@ -362,31 +362,31 @@ const Ga = {
|
|
|
362
362
|
const b = t.value;
|
|
363
363
|
if (!b)
|
|
364
364
|
return;
|
|
365
|
-
const
|
|
366
|
-
ae.x = Math.max(
|
|
365
|
+
const I = b.getBoundingClientRect(), _ = 8, E = Math.min(ae.x, window.innerWidth - I.width - _), F = Math.min(ae.y, window.innerHeight - I.height - _);
|
|
366
|
+
ae.x = Math.max(_, E), ae.y = Math.max(_, F);
|
|
367
367
|
}
|
|
368
368
|
async function p(b) {
|
|
369
369
|
if (!(o.value || b.disabled)) {
|
|
370
370
|
o.value = !0;
|
|
371
371
|
try {
|
|
372
|
-
await
|
|
373
|
-
} catch (
|
|
374
|
-
console.error(`[EndgeContextMenu] Action "${b.action}" failed: ${
|
|
372
|
+
await Ba(b);
|
|
373
|
+
} catch (I) {
|
|
374
|
+
console.error(`[EndgeContextMenu] Action "${b.action}" failed: ${I instanceof Error ? I.message : String(I)}`);
|
|
375
375
|
} finally {
|
|
376
376
|
o.value = !1;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
function h(b) {
|
|
381
|
-
return n.value,
|
|
381
|
+
return n.value, ja(b);
|
|
382
382
|
}
|
|
383
383
|
function m(b) {
|
|
384
384
|
var F, P;
|
|
385
|
-
const
|
|
386
|
-
if (!
|
|
385
|
+
const I = [...((F = t.value) == null ? void 0 : F.querySelectorAll('[role="menuitem"]:not(:disabled)')) ?? []];
|
|
386
|
+
if (!I.length)
|
|
387
387
|
return;
|
|
388
|
-
const
|
|
389
|
-
(P =
|
|
388
|
+
const _ = I.indexOf(document.activeElement), E = b === "first" ? 0 : b === "last" ? I.length - 1 : b === "next" ? (_ + 1 + I.length) % I.length : (_ - 1 + I.length) % I.length;
|
|
389
|
+
(P = I[E]) == null || P.focus();
|
|
390
390
|
}
|
|
391
391
|
const y = {
|
|
392
392
|
"table.column.pinLeft": ["M6 3h12v4l-2 2v4l2 2v4H6v-4l2-2V9L6 7V3Z", "M12 7v14"],
|
|
@@ -403,7 +403,7 @@ const Ga = {
|
|
|
403
403
|
function C(b) {
|
|
404
404
|
return b ? y[b] ?? null : null;
|
|
405
405
|
}
|
|
406
|
-
return (b,
|
|
406
|
+
return (b, I) => (T(), Pe($i, { to: "body" }, [
|
|
407
407
|
Y(ae).open && i.value.length > 0 ? (T(), D("div", {
|
|
408
408
|
key: 0,
|
|
409
409
|
ref_key: "menuRef",
|
|
@@ -411,37 +411,37 @@ const Ga = {
|
|
|
411
411
|
role: "menu",
|
|
412
412
|
class: "endge-context-menu-root",
|
|
413
413
|
style: At(s.value),
|
|
414
|
-
onClick:
|
|
414
|
+
onClick: I[0] || (I[0] = ht(() => {
|
|
415
415
|
}, ["stop"])),
|
|
416
|
-
onContextmenu:
|
|
416
|
+
onContextmenu: I[1] || (I[1] = ht(() => {
|
|
417
417
|
}, ["prevent", "stop"]))
|
|
418
418
|
}, [
|
|
419
|
-
(T(!0), D(Ie, null, Ve(i.value, (
|
|
420
|
-
key:
|
|
419
|
+
(T(!0), D(Ie, null, Ve(i.value, (_) => (T(), D(Ie, {
|
|
420
|
+
key: _.id
|
|
421
421
|
}, [
|
|
422
|
-
|
|
422
|
+
_.kind === "separator" ? (T(), D("div", Ka)) : (T(), D("button", {
|
|
423
423
|
key: 1,
|
|
424
424
|
type: "button",
|
|
425
425
|
role: "menuitem",
|
|
426
426
|
class: "endge-context-menu-root__item",
|
|
427
|
-
disabled: o.value ||
|
|
428
|
-
onClick: (E) => p(
|
|
427
|
+
disabled: o.value || _.disabled,
|
|
428
|
+
onClick: (E) => p(_)
|
|
429
429
|
}, [
|
|
430
|
-
C(
|
|
431
|
-
(T(!0), D(Ie, null, Ve(C(
|
|
430
|
+
C(_.icon ?? _.action) ? (T(), D("svg", qa, [
|
|
431
|
+
(T(!0), D(Ie, null, Ve(C(_.icon ?? _.action), (E) => (T(), D("path", {
|
|
432
432
|
key: E,
|
|
433
433
|
d: E
|
|
434
|
-
}, null, 8,
|
|
434
|
+
}, null, 8, Ua))), 128))
|
|
435
435
|
])) : ce("", !0),
|
|
436
|
-
W("span",
|
|
437
|
-
], 8,
|
|
436
|
+
W("span", Xa, de(h(_)), 1)
|
|
437
|
+
], 8, Wa))
|
|
438
438
|
], 64))), 128))
|
|
439
439
|
], 36)) : ce("", !0)
|
|
440
440
|
]));
|
|
441
441
|
}
|
|
442
|
-
}),
|
|
443
|
-
let
|
|
444
|
-
class
|
|
442
|
+
}), Ja = /* @__PURE__ */ sn(Ya, [["__scopeId", "data-v-9c2031a3"]]);
|
|
443
|
+
let Za = 0;
|
|
444
|
+
class Qa {
|
|
445
445
|
constructor(t, n) {
|
|
446
446
|
ee(this, "state");
|
|
447
447
|
ee(this, "adapterId");
|
|
@@ -454,7 +454,7 @@ class Za {
|
|
|
454
454
|
ee(this, "_defaults");
|
|
455
455
|
ee(this, "_disposeKeyboardWatch");
|
|
456
456
|
ee(this, "_raphScope");
|
|
457
|
-
this.adapterId = t, this._defaults = { ...n }, this.state =
|
|
457
|
+
this.adapterId = t, this._defaults = { ...n }, this.state = _a({
|
|
458
458
|
phase: "idle",
|
|
459
459
|
ownerId: null,
|
|
460
460
|
domId: null,
|
|
@@ -465,8 +465,8 @@ class Za {
|
|
|
465
465
|
authoredId: null,
|
|
466
466
|
part: null,
|
|
467
467
|
content: null
|
|
468
|
-
}), this._raphScope = Ye.runtime().scope(`tooltip:${t}:${
|
|
469
|
-
Ye.runtime().path(
|
|
468
|
+
}), this._raphScope = Ye.runtime().scope(`tooltip:${t}:${Za++}`), this._disposeKeyboardWatch = this._raphScope.watch(
|
|
469
|
+
Ye.runtime().path(Kl),
|
|
470
470
|
"watch",
|
|
471
471
|
() => this._reconcileActivation()
|
|
472
472
|
);
|
|
@@ -505,13 +505,13 @@ class Za {
|
|
|
505
505
|
this._hideNow();
|
|
506
506
|
return;
|
|
507
507
|
}
|
|
508
|
-
this.state.phase = "visible", this.state.ownerId = o.ownerId, this.state.domId = o.domId, this.state.anchor = o.anchor, this.state.kind = o.kind, this.state.policy = n, this.state.className = o.className ?? null, this.state.authoredId = o.authoredId ?? null, this.state.part = o.part ?? null, this.state.content = o.renderContent(),
|
|
508
|
+
this.state.phase = "visible", this.state.ownerId = o.ownerId, this.state.domId = o.domId, this.state.anchor = o.anchor, this.state.kind = o.kind, this.state.policy = n, this.state.className = o.className ?? null, this.state.authoredId = o.authoredId ?? null, this.state.part = o.part ?? null, this.state.content = o.renderContent(), nu(o.anchor, o.domId);
|
|
509
509
|
}
|
|
510
510
|
_hideNow() {
|
|
511
511
|
this._suspend(), this._request = null;
|
|
512
512
|
}
|
|
513
513
|
_suspend() {
|
|
514
|
-
this._clearOpenTimer(), this._clearCloseTimer(), this._generation += 1, this.state.anchor && this.state.domId &&
|
|
514
|
+
this._clearOpenTimer(), this._clearCloseTimer(), this._generation += 1, this.state.anchor && this.state.domId && ou(this.state.anchor, this.state.domId), this.state.phase = "idle", this.state.ownerId = null, this.state.domId = null, this.state.anchor = null, this.state.className = null, this.state.authoredId = null, this.state.part = null, this.state.content = null;
|
|
515
515
|
}
|
|
516
516
|
_reconcileActivation() {
|
|
517
517
|
const t = this._request;
|
|
@@ -530,16 +530,16 @@ class Za {
|
|
|
530
530
|
}
|
|
531
531
|
_matchesKeyboard(t) {
|
|
532
532
|
const n = $.context.getKeyboardState();
|
|
533
|
-
return
|
|
533
|
+
return Wl(t.keyboard, n, n.platform);
|
|
534
534
|
}
|
|
535
535
|
_resolvePolicy(t) {
|
|
536
536
|
const n = { ...this._defaults };
|
|
537
537
|
for (const [r, i] of Object.entries(t ?? {}))
|
|
538
538
|
i != null && (n[r] = i);
|
|
539
|
-
const o =
|
|
539
|
+
const o = ql(n.keyboard);
|
|
540
540
|
return {
|
|
541
|
-
side:
|
|
542
|
-
align:
|
|
541
|
+
side: eu(n.side),
|
|
542
|
+
align: tu(n.align),
|
|
543
543
|
openDelay: Lr(n.openDelay, this._defaults.openDelay),
|
|
544
544
|
closeDelay: Lr(n.closeDelay, this._defaults.closeDelay),
|
|
545
545
|
...o ? { keyboard: o } : {}
|
|
@@ -571,25 +571,25 @@ function Et(e, t, n) {
|
|
|
571
571
|
const o = e[t];
|
|
572
572
|
e[t] = o ? [o, n] : n;
|
|
573
573
|
}
|
|
574
|
-
function
|
|
574
|
+
function eu(e) {
|
|
575
575
|
return ["top", "right", "bottom", "left"].includes(String(e)) ? e : "right";
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function tu(e) {
|
|
578
578
|
return ["start", "center", "end"].includes(String(e)) ? e : "center";
|
|
579
579
|
}
|
|
580
580
|
function Lr(e, t) {
|
|
581
581
|
const n = Number(e);
|
|
582
582
|
return Number.isFinite(n) && n >= 0 ? Math.min(6e4, Math.round(n)) : t;
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function nu(e, t) {
|
|
585
585
|
const n = new Set((e.getAttribute("aria-describedby") ?? "").split(/\s+/).filter(Boolean));
|
|
586
586
|
n.add(t), e.setAttribute("aria-describedby", [...n].join(" "));
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function ou(e, t) {
|
|
589
589
|
const n = (e.getAttribute("aria-describedby") ?? "").split(/\s+/).filter((o) => o && o !== t);
|
|
590
590
|
n.length ? e.setAttribute("aria-describedby", n.join(" ")) : e.removeAttribute("aria-describedby");
|
|
591
591
|
}
|
|
592
|
-
const
|
|
592
|
+
const ru = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id", "data-side", "data-align"], iu = /* @__PURE__ */ ve({
|
|
593
593
|
__name: "EndgeTooltipRoot",
|
|
594
594
|
props: {
|
|
595
595
|
manager: {}
|
|
@@ -650,9 +650,9 @@ const ou = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
|
|
|
650
650
|
top: Math.max(6, Math.min(F.top, window.innerHeight - y.height - 6))
|
|
651
651
|
};
|
|
652
652
|
}
|
|
653
|
-
function S(m, y, C, b,
|
|
654
|
-
const
|
|
655
|
-
return m === "top" ? { side: m, left: j, top: y.top - C.height -
|
|
653
|
+
function S(m, y, C, b, I) {
|
|
654
|
+
const _ = m === "top" || m === "bottom", E = _ ? y.left : y.top, F = _ ? y.width : y.height, P = _ ? C.width : C.height, j = b === "start" ? E : b === "end" ? E + F - P : E + (F - P) / 2;
|
|
655
|
+
return m === "top" ? { side: m, left: j, top: y.top - C.height - I } : m === "bottom" ? { side: m, left: j, top: y.bottom + I } : m === "left" ? { side: m, left: y.left - C.width - I, top: j } : { side: m, left: y.right + I, top: j };
|
|
656
656
|
}
|
|
657
657
|
function p(m, y, C, b) {
|
|
658
658
|
return Math.max(0, b - m) + Math.max(0, b - y) + Math.max(0, m + C.width + b - window.innerWidth) + Math.max(0, y + C.height + b - window.innerHeight);
|
|
@@ -677,10 +677,10 @@ const ou = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
|
|
|
677
677
|
"data-align": Y(s).policy.align
|
|
678
678
|
}, [
|
|
679
679
|
ke(Y(a))
|
|
680
|
-
], 14,
|
|
680
|
+
], 14, ru)) : ce("", !0)
|
|
681
681
|
]));
|
|
682
682
|
}
|
|
683
|
-
}),
|
|
683
|
+
}), su = /* @__PURE__ */ ve({
|
|
684
684
|
__name: "EndgeShell",
|
|
685
685
|
props: {
|
|
686
686
|
tooltipAdapterId: { default: "vue-native" },
|
|
@@ -689,7 +689,7 @@ const ou = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
|
|
|
689
689
|
setup(e) {
|
|
690
690
|
const t = e, n = B("initializing"), o = B(null);
|
|
691
691
|
let r = !1, i = null;
|
|
692
|
-
const s = typeof document > "u" ? null :
|
|
692
|
+
const s = typeof document > "u" ? null : fa(document, (d) => $.context.setKeyboardState(d)), l = new Qa(
|
|
693
693
|
t.tooltipAdapterId,
|
|
694
694
|
u()
|
|
695
695
|
);
|
|
@@ -721,7 +721,7 @@ const ou = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
|
|
|
721
721
|
try {
|
|
722
722
|
return $.configuration.current.tooltips;
|
|
723
723
|
} catch {
|
|
724
|
-
return { ...
|
|
724
|
+
return { ...Ul };
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
return (d, g) => n.value === "initializing" ? En(d.$slots, "spinner", { key: 0 }) : n.value === "error" ? En(d.$slots, "error", {
|
|
@@ -729,12 +729,12 @@ const ou = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
|
|
|
729
729
|
error: o.value
|
|
730
730
|
}) : (T(), D(Ie, { key: 2 }, [
|
|
731
731
|
En(d.$slots, "default"),
|
|
732
|
-
ke(
|
|
733
|
-
ke(
|
|
732
|
+
ke(Ja),
|
|
733
|
+
ke(iu, { manager: Y(l) }, null, 8, ["manager"])
|
|
734
734
|
], 64));
|
|
735
735
|
}
|
|
736
736
|
});
|
|
737
|
-
function
|
|
737
|
+
function lu(e) {
|
|
738
738
|
if (!e.inspection)
|
|
739
739
|
return null;
|
|
740
740
|
const t = ln(e);
|
|
@@ -754,7 +754,7 @@ function su(e) {
|
|
|
754
754
|
bindings: {}
|
|
755
755
|
});
|
|
756
756
|
}
|
|
757
|
-
function
|
|
757
|
+
function au(e, t, n) {
|
|
758
758
|
if (!n.inspection)
|
|
759
759
|
return null;
|
|
760
760
|
const o = e.tag === "Component" && String(t.is ?? t.identity ?? "").trim() || void 0;
|
|
@@ -834,7 +834,7 @@ function Hi(e, t) {
|
|
|
834
834
|
Hi(i, r);
|
|
835
835
|
return o;
|
|
836
836
|
}
|
|
837
|
-
function
|
|
837
|
+
function uu(e, t) {
|
|
838
838
|
return !t || !e.inspection ? {} : {
|
|
839
839
|
"data-endge-inspect-id": t,
|
|
840
840
|
onVnodeUnmounted: () => {
|
|
@@ -865,18 +865,18 @@ function qn(e) {
|
|
|
865
865
|
var t;
|
|
866
866
|
return ((t = e.host) == null ? void 0 : t.id) ?? `sfc:${e.componentStack[0] ?? ln(e)}`;
|
|
867
867
|
}
|
|
868
|
-
const Lt = /* @__PURE__ */ new Map(),
|
|
868
|
+
const Lt = /* @__PURE__ */ new Map(), cu = 256;
|
|
869
869
|
function fe(e, t) {
|
|
870
870
|
if (e) {
|
|
871
871
|
if (e.kind === "literal")
|
|
872
872
|
return e.value;
|
|
873
873
|
if (!e.expression)
|
|
874
874
|
throw new Error("[SFC] Compiled expression is missing. Rebuild the component artifact.");
|
|
875
|
-
return
|
|
875
|
+
return Xl(e.expression, t);
|
|
876
876
|
}
|
|
877
877
|
}
|
|
878
878
|
function ah(e, t) {
|
|
879
|
-
return e.kind === "literal" ? e.value :
|
|
879
|
+
return e.kind === "literal" ? e.value : du(e.path, t);
|
|
880
880
|
}
|
|
881
881
|
function Un(e, t) {
|
|
882
882
|
const n = {};
|
|
@@ -887,7 +887,7 @@ function Un(e, t) {
|
|
|
887
887
|
function Hr(e) {
|
|
888
888
|
return !!e;
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function du(e, t) {
|
|
891
891
|
const n = Ki(e);
|
|
892
892
|
if (n.length === 0)
|
|
893
893
|
return;
|
|
@@ -921,7 +921,7 @@ function Gi(e, t, n = 0) {
|
|
|
921
921
|
}
|
|
922
922
|
return o;
|
|
923
923
|
}
|
|
924
|
-
function
|
|
924
|
+
function fu(e) {
|
|
925
925
|
const t = String.raw`[A-Z_$][\w$]*`, n = String.raw`[A-Z_$][\w$-]*`, o = String.raw`'(?:\\.|[^'\\])*'`, r = String.raw`"(?:\\.|[^"\\])*"`, i = String.raw`(?:${o}|${r}|\d+)`, s = String.raw`\.${t}`, l = String.raw`\[\s*\d+\s*\]`, a = String.raw`\[\s*${n}\s*=\s*${i}\s*\]`;
|
|
926
926
|
return new RegExp(
|
|
927
927
|
String.raw`^${t}(?:${s}|${l}|${a})*$`,
|
|
@@ -932,14 +932,14 @@ function Ki(e) {
|
|
|
932
932
|
const t = e.trim(), n = Lt.get(t);
|
|
933
933
|
if (n)
|
|
934
934
|
return n;
|
|
935
|
-
if (!
|
|
935
|
+
if (!fu(t))
|
|
936
936
|
return [];
|
|
937
|
-
const o =
|
|
938
|
-
return Lt.size >=
|
|
937
|
+
const o = ya.from(t).segments();
|
|
938
|
+
return Lt.size >= cu && Lt.delete(Lt.keys().next().value), Lt.set(t, o), o;
|
|
939
939
|
}
|
|
940
940
|
function Wi(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 = [], p) {
|
|
941
941
|
var C, b;
|
|
942
|
-
const h = (p == null ? void 0 : p.runtimeScopeIds) ??
|
|
942
|
+
const h = (p == null ? void 0 : p.runtimeScopeIds) ?? gu(n), m = s ? [...s] : [...(n == null ? void 0 : n.styleArtifacts) ?? $.styles.getActiveArtifacts()];
|
|
943
943
|
o != null && o.style && !m.includes(o.style) && m.push(o.style);
|
|
944
944
|
const y = {
|
|
945
945
|
props: e ?? {},
|
|
@@ -958,15 +958,15 @@ function Wi(e, t = 0, n = null, o = null, r = n != null && n.entityIdentity ? [n
|
|
|
958
958
|
styleParent: void 0,
|
|
959
959
|
styleOwnerScopeId: (C = o == null ? void 0 : o.style) == null ? void 0 : C.scopeId,
|
|
960
960
|
runtimeScopeIds: h,
|
|
961
|
-
eventBoundary: n != null && n.readonly ? null : l ?? (o ? new
|
|
961
|
+
eventBoundary: n != null && n.readonly ? null : l ?? (o ? new Yl(n, (n == null ? void 0 : n.entityIdentity) ?? r.at(-1) ?? "component", o.script.ports) : null),
|
|
962
962
|
inspection: a,
|
|
963
963
|
inspectionParentId: null,
|
|
964
964
|
metadata: u ?? ((b = n == null ? void 0 : n.getArtifact()) == null ? void 0 : b.metadata) ?? null,
|
|
965
965
|
tooltipManager: g
|
|
966
966
|
};
|
|
967
|
-
return y.locals =
|
|
967
|
+
return y.locals = hu(o, y), y;
|
|
968
968
|
}
|
|
969
|
-
function
|
|
969
|
+
function gu(e) {
|
|
970
970
|
const t = [...(e == null ? void 0 : e.runtimeScopeIds) ?? []], n = e && !e.readonly ? $.runtime.getRuntimeScopeByHost(e.id) : null;
|
|
971
971
|
for (let o = n; o; o = o.parent)
|
|
972
972
|
t.unshift(o.id);
|
|
@@ -1000,13 +1000,13 @@ function Pn(e, t, n = e.iteration, o = e.consumerScope, r = e.dataScope) {
|
|
|
1000
1000
|
tooltipManager: e.tooltipManager
|
|
1001
1001
|
};
|
|
1002
1002
|
}
|
|
1003
|
-
function
|
|
1003
|
+
function pu(e, t) {
|
|
1004
1004
|
return {
|
|
1005
1005
|
...e,
|
|
1006
1006
|
styleParent: t
|
|
1007
1007
|
};
|
|
1008
1008
|
}
|
|
1009
|
-
function
|
|
1009
|
+
function hu(e, t) {
|
|
1010
1010
|
var o, r;
|
|
1011
1011
|
const n = {};
|
|
1012
1012
|
if (!e)
|
|
@@ -1014,11 +1014,11 @@ function pu(e, t) {
|
|
|
1014
1014
|
for (const i of e.script.portCalls ?? []) {
|
|
1015
1015
|
t.locals = n;
|
|
1016
1016
|
const s = fe(i.input, t), l = `${t.consumerScope}:${t.componentStack.join(">")}:${i.port}:${i.local}`, a = ((r = (o = t.portBindings) == null ? void 0 : o.find((d) => d.port === i.port && d.kind === "computation")) == null ? void 0 : r.identity) ?? i.defaultIdentity, u = t.host ? t.host.getComputationResource(a, s, l, i.port) : $.computations.createResource(a, s, l);
|
|
1017
|
-
n[i.local] =
|
|
1017
|
+
n[i.local] = mu(u);
|
|
1018
1018
|
}
|
|
1019
1019
|
return n;
|
|
1020
1020
|
}
|
|
1021
|
-
function
|
|
1021
|
+
function mu(e) {
|
|
1022
1022
|
return {
|
|
1023
1023
|
get status() {
|
|
1024
1024
|
return e.status;
|
|
@@ -1035,7 +1035,7 @@ function hu(e) {
|
|
|
1035
1035
|
};
|
|
1036
1036
|
}
|
|
1037
1037
|
const er = [
|
|
1038
|
-
...
|
|
1038
|
+
...Jl,
|
|
1039
1039
|
"Tooltip",
|
|
1040
1040
|
"Table"
|
|
1041
1041
|
];
|
|
@@ -1056,7 +1056,7 @@ function qi(e) {
|
|
|
1056
1056
|
const t = e;
|
|
1057
1057
|
return t.kind === "editable" && (t.action === "begin" || t.action === "commit" || t.action === "cancel") && typeof t.key == "string" && t.key.length > 0;
|
|
1058
1058
|
}
|
|
1059
|
-
const
|
|
1059
|
+
const vu = ve({
|
|
1060
1060
|
name: "EndgeSFCEditableRenderBoundary",
|
|
1061
1061
|
props: {
|
|
1062
1062
|
host: {
|
|
@@ -1094,7 +1094,7 @@ const mu = ve({
|
|
|
1094
1094
|
function Ot(e) {
|
|
1095
1095
|
return encodeURIComponent(String(e));
|
|
1096
1096
|
}
|
|
1097
|
-
function
|
|
1097
|
+
function Su(e, t, n, o) {
|
|
1098
1098
|
if (!(e != null && e.host))
|
|
1099
1099
|
return;
|
|
1100
1100
|
const r = new Set(t.map((s, l) => Ot(s[n] ?? l))), i = new Set(o.map((s) => Ot(s.key)));
|
|
@@ -1106,7 +1106,7 @@ function vu(e, t, n, o) {
|
|
|
1106
1106
|
return r.has(a.slice(4)) && i.has((u == null ? void 0 : u.slice(7)) ?? "");
|
|
1107
1107
|
});
|
|
1108
1108
|
}
|
|
1109
|
-
function
|
|
1109
|
+
function yu(e, t, n) {
|
|
1110
1110
|
var i;
|
|
1111
1111
|
const o = `${e.consumerScope}/for:${t}`, r = new Set(n.map(Ot));
|
|
1112
1112
|
(i = e.host) == null || i.releaseComputationResources(o, (s) => {
|
|
@@ -1127,7 +1127,7 @@ function Xi(e) {
|
|
|
1127
1127
|
return e.directives.for ? n = [`for:${e.id}`] : e.tag === "Component" ? n = [`component:${e.id}`] : e.tag === "Table" ? n = [`table:${e.id}`] : n = (e.children ?? []).flatMap((o) => o.kind === "element" ? Xi(o) : []), Br.set(e, n), n;
|
|
1128
1128
|
}
|
|
1129
1129
|
const go = /* @__PURE__ */ new WeakMap(), jr = /* @__PURE__ */ new WeakMap();
|
|
1130
|
-
function
|
|
1130
|
+
function bu(e, t, n, o) {
|
|
1131
1131
|
var s;
|
|
1132
1132
|
const r = o.eventBoundary;
|
|
1133
1133
|
if (!r || !((s = t.interactions) != null && s.length) || t.tag === "Component")
|
|
@@ -1145,22 +1145,22 @@ function yu(e, t, n, o) {
|
|
|
1145
1145
|
t.interactions.forEach((l, a) => {
|
|
1146
1146
|
const u = Yi(l, o), d = [...new Set(u.map(({ trigger: g }) => Kr(g)))];
|
|
1147
1147
|
for (const g of d) {
|
|
1148
|
-
const [S, p, h] = g.split("|"), C =
|
|
1148
|
+
const [S, p, h] = g.split("|"), C = Iu(S, { capture: p === "1", passive: h === "1" });
|
|
1149
1149
|
An(e, C, (b) => {
|
|
1150
1150
|
var A, z;
|
|
1151
|
-
const
|
|
1152
|
-
if ((A = go.get(b)) != null && A.has(
|
|
1151
|
+
const I = `${o.consumerScope}:${t.id}:${a}`;
|
|
1152
|
+
if ((A = go.get(b)) != null && A.has(I))
|
|
1153
1153
|
return;
|
|
1154
|
-
const
|
|
1154
|
+
const _ = Xn(b), E = u.find(({ trigger: O }) => O.event === S && Zl(O, _, nr()));
|
|
1155
1155
|
if (!E || Kr(E.trigger) !== g)
|
|
1156
1156
|
return;
|
|
1157
1157
|
if (E.trigger.once) {
|
|
1158
|
-
const O = `${
|
|
1158
|
+
const O = `${I}:${E.ruleIndex}:${E.triggerIndex}:${((z = E.sourceRange) == null ? void 0 : z.start) ?? 0}`;
|
|
1159
1159
|
if (!r.claimLocalOnce(O))
|
|
1160
1160
|
return;
|
|
1161
1161
|
}
|
|
1162
1162
|
let F = go.get(b);
|
|
1163
|
-
F || (F = /* @__PURE__ */ new Set(), go.set(b, F)), F.add(
|
|
1163
|
+
F || (F = /* @__PURE__ */ new Set(), go.set(b, F)), F.add(I), E.trigger.prevent && b.cancelable && b.preventDefault(), E.trigger.stop && b.stopPropagation();
|
|
1164
1164
|
const P = {
|
|
1165
1165
|
...i,
|
|
1166
1166
|
target: i.target ? { ...i.target, value: b.currentTarget } : void 0
|
|
@@ -1168,7 +1168,7 @@ function yu(e, t, n, o) {
|
|
|
1168
1168
|
r.routeChild(
|
|
1169
1169
|
P,
|
|
1170
1170
|
S,
|
|
1171
|
-
Ji(b,
|
|
1171
|
+
Ji(b, _),
|
|
1172
1172
|
[{
|
|
1173
1173
|
name: S,
|
|
1174
1174
|
modifiers: j,
|
|
@@ -1184,7 +1184,7 @@ function yu(e, t, n, o) {
|
|
|
1184
1184
|
}
|
|
1185
1185
|
});
|
|
1186
1186
|
}
|
|
1187
|
-
function
|
|
1187
|
+
function wu(e, t) {
|
|
1188
1188
|
return (e.interactions ?? []).flatMap((n) => {
|
|
1189
1189
|
const o = /* @__PURE__ */ new Set();
|
|
1190
1190
|
return Yi(n, t).flatMap((r) => {
|
|
@@ -1257,7 +1257,7 @@ function Xn(e) {
|
|
|
1257
1257
|
...typeof t.isComposing == "boolean" ? { composing: t.isComposing } : {},
|
|
1258
1258
|
...typeof t.button == "number" ? { button: t.button } : {},
|
|
1259
1259
|
targetIsCurrentTarget: e.target === e.currentTarget,
|
|
1260
|
-
held:
|
|
1260
|
+
held: _u(),
|
|
1261
1261
|
modifiers: {
|
|
1262
1262
|
ctrl: t.ctrlKey === !0,
|
|
1263
1263
|
shift: t.shiftKey === !0,
|
|
@@ -1270,13 +1270,13 @@ function Xn(e) {
|
|
|
1270
1270
|
function Ji(e, t = Xn(e)) {
|
|
1271
1271
|
const n = e, o = e.target, r = {
|
|
1272
1272
|
type: e.type,
|
|
1273
|
-
occurredAt:
|
|
1273
|
+
occurredAt: Cu(e),
|
|
1274
1274
|
held: t.held ?? { key: [], code: [] },
|
|
1275
1275
|
modifiers: t.modifiers
|
|
1276
1276
|
};
|
|
1277
1277
|
return "clientX" in n && (r.x = Number(n.clientX ?? 0), r.y = Number(n.clientY ?? 0), r.button = Number(n.button ?? 0), r.buttons = Number(n.buttons ?? 0), r.pointerType = typeof n.pointerType == "string" ? n.pointerType : "mouse"), t.key !== void 0 && (r.key = t.key, r.code = t.code ?? "", r.repeat = t.repeat === !0, r.composing = t.composing === !0), "deltaX" in n && (r.deltaX = Number(n.deltaX ?? 0), r.deltaY = Number(n.deltaY ?? 0)), o && ("value" in o || "checked" in o) && (r.value = o.multiple && o.selectedOptions ? Array.from(o.selectedOptions, (i) => i.value) : o.value, typeof o.checked == "boolean" && (r.checked = o.checked)), r;
|
|
1278
1278
|
}
|
|
1279
|
-
function
|
|
1279
|
+
function Cu(e) {
|
|
1280
1280
|
const t = jr.get(e);
|
|
1281
1281
|
if (t)
|
|
1282
1282
|
return t;
|
|
@@ -1284,16 +1284,16 @@ function wu(e) {
|
|
|
1284
1284
|
return jr.set(e, n), n;
|
|
1285
1285
|
}
|
|
1286
1286
|
function Yn() {
|
|
1287
|
-
return typeof document > "u" ? null :
|
|
1287
|
+
return typeof document > "u" ? null : ga(document);
|
|
1288
1288
|
}
|
|
1289
1289
|
function nr() {
|
|
1290
1290
|
var t;
|
|
1291
1291
|
if (typeof navigator > "u")
|
|
1292
1292
|
return "unknown";
|
|
1293
1293
|
const e = navigator;
|
|
1294
|
-
return
|
|
1294
|
+
return Ql(((t = e.userAgentData) == null ? void 0 : t.platform) ?? e.platform ?? e.userAgent);
|
|
1295
1295
|
}
|
|
1296
|
-
function
|
|
1296
|
+
function _u() {
|
|
1297
1297
|
const e = Yn();
|
|
1298
1298
|
return e ? { key: [...e.held.key], code: [...e.held.code] } : { key: [], code: [] };
|
|
1299
1299
|
}
|
|
@@ -1303,7 +1303,7 @@ function Kr(e) {
|
|
|
1303
1303
|
function Zi(e) {
|
|
1304
1304
|
return ["stop", "prevent", "self", "capture", "passive"].filter((t) => e[t] === !0);
|
|
1305
1305
|
}
|
|
1306
|
-
function
|
|
1306
|
+
function Iu(e, t) {
|
|
1307
1307
|
return `on${e.charAt(0).toUpperCase()}${e.slice(1)}${t.capture ? "Capture" : ""}${t.passive ? "Passive" : ""}`;
|
|
1308
1308
|
}
|
|
1309
1309
|
function An(e, t, n) {
|
|
@@ -1312,28 +1312,28 @@ function An(e, t, n) {
|
|
|
1312
1312
|
typeof o == "function" && o(r), n(r);
|
|
1313
1313
|
};
|
|
1314
1314
|
}
|
|
1315
|
-
const
|
|
1315
|
+
const Ru = {
|
|
1316
1316
|
kind: "literal",
|
|
1317
1317
|
value: [{ event: "keydown", key: ["Escape"], prevent: !0, stop: !0 }, { event: "focusout" }]
|
|
1318
|
-
},
|
|
1318
|
+
}, Eu = {
|
|
1319
1319
|
kind: "literal",
|
|
1320
1320
|
value: [{ event: "keydown", key: ["Enter"], prevent: !0 }]
|
|
1321
1321
|
};
|
|
1322
1322
|
function St(e, t) {
|
|
1323
1323
|
return `${t.consumerScope}/editable:${e.id}`;
|
|
1324
1324
|
}
|
|
1325
|
-
function
|
|
1325
|
+
function xu(e, t) {
|
|
1326
1326
|
var n;
|
|
1327
1327
|
return !!(e.editable && ((n = t.host) != null && n.getEditSession(St(e, t))));
|
|
1328
1328
|
}
|
|
1329
|
-
function
|
|
1329
|
+
function ku(e, t, n) {
|
|
1330
1330
|
const o = qr(t.editorVariant ?? t["editor-variant"]);
|
|
1331
1331
|
if (o)
|
|
1332
1332
|
return o;
|
|
1333
1333
|
const r = n.context.config.common;
|
|
1334
1334
|
return (r != null && typeof r == "object" ? qr(r.editorVariant) : null) ?? (e.editable ? "compact" : null);
|
|
1335
1335
|
}
|
|
1336
|
-
function
|
|
1336
|
+
function Mu(e, t, n, o) {
|
|
1337
1337
|
if (!t.editable || !o.host || o.host.readonly)
|
|
1338
1338
|
return;
|
|
1339
1339
|
const r = St(t, o);
|
|
@@ -1361,7 +1361,7 @@ function ku(e, t, n, o) {
|
|
|
1361
1361
|
});
|
|
1362
1362
|
}
|
|
1363
1363
|
}
|
|
1364
|
-
function
|
|
1364
|
+
function Tu(e) {
|
|
1365
1365
|
if (!e.node.editable || !["Text", "Number", "DateTime", "Checkbox"].includes(e.node.tag))
|
|
1366
1366
|
return;
|
|
1367
1367
|
const t = e.context.host;
|
|
@@ -1370,7 +1370,7 @@ function Mu(e) {
|
|
|
1370
1370
|
const n = St(e.node, e.context), o = t.getEditSession(n);
|
|
1371
1371
|
if (!o)
|
|
1372
1372
|
return;
|
|
1373
|
-
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 ?
|
|
1373
|
+
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 ? pa(o.draftValue, e.props.timezone) : Ti(o.draftValue) : o.draftValue ?? "", l = { ...e.attrs };
|
|
1374
1374
|
return delete l.onClick, delete l.onDblclick, delete l.onFocus, e.node.tag === "Checkbox" ? Dn("Checkbox")({
|
|
1375
1375
|
...e,
|
|
1376
1376
|
children: [],
|
|
@@ -1401,34 +1401,34 @@ function Mu(e) {
|
|
|
1401
1401
|
});
|
|
1402
1402
|
}
|
|
1403
1403
|
function Wr(e, t, n, o, r) {
|
|
1404
|
-
const i = t.editable, s = r === "cancel" ? (i == null ? void 0 : i.cancelTriggers) ??
|
|
1404
|
+
const i = t.editable, s = r === "cancel" ? (i == null ? void 0 : i.cancelTriggers) ?? Ru : (i == null ? void 0 : i.commitTriggers) ?? Eu, l = r === "cancel" ? i == null ? void 0 : i.cancelModifiers : i == null ? void 0 : i.commitModifiers, a = xi(fe(s, n)).map((u) => tr(u, l));
|
|
1405
1405
|
a.some((u) => u.held) && Yn();
|
|
1406
1406
|
for (const [u, d] of a.entries()) {
|
|
1407
1407
|
const g = d.event === "blur" ? "focusout" : d.event, S = Qi(g, d.capture === !0, d.passive === !0);
|
|
1408
1408
|
An(e, S, (p) => {
|
|
1409
1409
|
var h;
|
|
1410
|
-
if (ki(d, Xn(p), nr()) && !(g === "focusout" &&
|
|
1410
|
+
if (ki(d, Xn(p), nr()) && !(g === "focusout" && Fu(p)) && !(d.once && n.eventBoundary && !n.eventBoundary.claimLocalOnce(`${o}:${r}:${u}`))) {
|
|
1411
1411
|
if (d.prevent && p.cancelable && p.preventDefault(), d.stop && p.stopPropagation(), r === "cancel") {
|
|
1412
1412
|
(h = n.host) == null || h.cancelEditSession(o);
|
|
1413
1413
|
return;
|
|
1414
1414
|
}
|
|
1415
|
-
|
|
1415
|
+
Pu(t, n, On(p, t.tag));
|
|
1416
1416
|
}
|
|
1417
1417
|
});
|
|
1418
1418
|
}
|
|
1419
1419
|
}
|
|
1420
|
-
function
|
|
1420
|
+
function Fu(e) {
|
|
1421
1421
|
const t = e.currentTarget, n = e.relatedTarget;
|
|
1422
1422
|
return !!(t && n && t.contains(n));
|
|
1423
1423
|
}
|
|
1424
|
-
function
|
|
1424
|
+
function $u(e, t, n) {
|
|
1425
1425
|
var i;
|
|
1426
|
-
const o = St(e, t), r =
|
|
1426
|
+
const o = St(e, t), r = Au(n) ? n.value : n;
|
|
1427
1427
|
return ((i = t.host) == null ? void 0 : i.commitEditSession(o, r)) ?? null;
|
|
1428
1428
|
}
|
|
1429
|
-
async function
|
|
1429
|
+
async function Pu(e, t, n) {
|
|
1430
1430
|
var l, a;
|
|
1431
|
-
const o = St(e, t), r =
|
|
1431
|
+
const o = St(e, t), r = Du(e, t, o, n), i = r === void 0 ? (l = t.host) == null ? void 0 : l.commitEditSession(o) : (a = t.host) == null ? void 0 : a.commitEditSession(o, r);
|
|
1432
1432
|
if (!i || !t.eventBoundary)
|
|
1433
1433
|
return;
|
|
1434
1434
|
const s = {
|
|
@@ -1445,13 +1445,13 @@ async function $u(e, t, n) {
|
|
|
1445
1445
|
{ ...t.props, ...t.locals }
|
|
1446
1446
|
);
|
|
1447
1447
|
}
|
|
1448
|
-
function
|
|
1448
|
+
function Du(e, t, n, o) {
|
|
1449
1449
|
var u, d;
|
|
1450
1450
|
const r = fe(e.props.editMode ?? e.props["edit-mode"], t);
|
|
1451
1451
|
if (e.tag !== "DateTime" || r !== "time")
|
|
1452
1452
|
return o;
|
|
1453
1453
|
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);
|
|
1454
|
-
return
|
|
1454
|
+
return ha(l, o, a) ?? o;
|
|
1455
1455
|
}
|
|
1456
1456
|
function qr(e) {
|
|
1457
1457
|
return e === "compact" || e === "default" ? e : null;
|
|
@@ -1487,7 +1487,7 @@ function Xr(e) {
|
|
|
1487
1487
|
function Qi(e, t, n) {
|
|
1488
1488
|
return `on${e.charAt(0).toUpperCase()}${e.slice(1)}${t ? "Capture" : ""}${n ? "Passive" : ""}`;
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1490
|
+
function Au(e) {
|
|
1491
1491
|
return !!(e && typeof e == "object" && Object.hasOwn(e, "value"));
|
|
1492
1492
|
}
|
|
1493
1493
|
function Jn(e) {
|
|
@@ -1496,7 +1496,7 @@ function Jn(e) {
|
|
|
1496
1496
|
return n !== void 0 ? n : es(t, e);
|
|
1497
1497
|
};
|
|
1498
1498
|
}
|
|
1499
|
-
function
|
|
1499
|
+
function Ou(e, t, n) {
|
|
1500
1500
|
if (e.directives.if) {
|
|
1501
1501
|
const o = Hr(fe(e.directives.if, t));
|
|
1502
1502
|
return {
|
|
@@ -1534,7 +1534,7 @@ function Au(e, t, n) {
|
|
|
1534
1534
|
closesChain: !0
|
|
1535
1535
|
};
|
|
1536
1536
|
}
|
|
1537
|
-
function
|
|
1537
|
+
function zu(e, t, n, o = []) {
|
|
1538
1538
|
const r = {
|
|
1539
1539
|
key: qu(e, t)
|
|
1540
1540
|
}, i = Ku(t);
|
|
@@ -1543,7 +1543,7 @@ function Ou(e, t, n, o = []) {
|
|
|
1543
1543
|
function es(e, t) {
|
|
1544
1544
|
if (e.node.editable && e.context.host) {
|
|
1545
1545
|
const n = St(e.node, e.context);
|
|
1546
|
-
return e.h(
|
|
1546
|
+
return e.h(vu, {
|
|
1547
1547
|
key: n,
|
|
1548
1548
|
host: e.context.host,
|
|
1549
1549
|
sessionKey: n
|
|
@@ -1555,18 +1555,18 @@ function es(e, t) {
|
|
|
1555
1555
|
}
|
|
1556
1556
|
function Yr(e, t) {
|
|
1557
1557
|
var d;
|
|
1558
|
-
const n = Un(e.node.props, e.context), o =
|
|
1558
|
+
const n = Un(e.node.props, e.context), o = ku(e.node, n, e.context);
|
|
1559
1559
|
o && (n.editorVariant = o), (d = e.context.host) != null && d.readonly && ["Input", "Textarea", "Select", "Checkbox"].includes(e.node.tag) && (n.readonly = !0, n.disabled = !0);
|
|
1560
|
-
const r = Bu(e.node, n, e.context), i = e.context.inspection ?
|
|
1561
|
-
...
|
|
1562
|
-
...
|
|
1563
|
-
...i ?
|
|
1560
|
+
const r = Bu(e.node, n, e.context), i = e.context.inspection ? au(e.node, n, e.context) : null, s = {
|
|
1561
|
+
...zu(e.node, n, r, e.context.runtimeScopeIds),
|
|
1562
|
+
...ns(e.node, n, e.context),
|
|
1563
|
+
...i ? uu(e.context, i) : {},
|
|
1564
1564
|
...e.attrs
|
|
1565
1565
|
};
|
|
1566
|
-
|
|
1567
|
-
const l =
|
|
1568
|
-
e.node.tag === "Editable" && (l.variant =
|
|
1569
|
-
const a = e.renderChildren(l), u =
|
|
1566
|
+
ts(s, e.node, n, e.context), Mu(s, e.node, n, e.context);
|
|
1567
|
+
const l = pu(e.context, r);
|
|
1568
|
+
e.node.tag === "Editable" && (l.variant = xu(e.node, e.context) ? "edit" : String(n.variant ?? e.context.variant ?? "default")), l.inspectionParentId = i ?? e.context.inspectionParentId;
|
|
1569
|
+
const a = e.renderChildren(l), u = Tu({
|
|
1570
1570
|
...e,
|
|
1571
1571
|
context: l,
|
|
1572
1572
|
children: a,
|
|
@@ -1581,7 +1581,7 @@ function Yr(e, t) {
|
|
|
1581
1581
|
attrs: s
|
|
1582
1582
|
});
|
|
1583
1583
|
}
|
|
1584
|
-
function
|
|
1584
|
+
function ts(e, t, n, o) {
|
|
1585
1585
|
var s;
|
|
1586
1586
|
if (n.tooltip == null)
|
|
1587
1587
|
return;
|
|
@@ -1606,9 +1606,9 @@ function zu(e, t, n, o) {
|
|
|
1606
1606
|
function Jr(e) {
|
|
1607
1607
|
return String(e ?? "").trim() || void 0;
|
|
1608
1608
|
}
|
|
1609
|
-
function
|
|
1609
|
+
function ns(e, t, n) {
|
|
1610
1610
|
const o = Vu(e, t, n);
|
|
1611
|
-
return
|
|
1611
|
+
return bu(o, e, t, n), o;
|
|
1612
1612
|
}
|
|
1613
1613
|
function Vu(e, t, n) {
|
|
1614
1614
|
const o = n.eventBoundary;
|
|
@@ -1624,7 +1624,7 @@ function Vu(e, t, n) {
|
|
|
1624
1624
|
value: null
|
|
1625
1625
|
}
|
|
1626
1626
|
}, i = {};
|
|
1627
|
-
for (const s of
|
|
1627
|
+
for (const s of ea(e.tag)) {
|
|
1628
1628
|
const l = (e.events ?? []).filter((g) => g.name === s.name), a = o.observesChild(r, s.name);
|
|
1629
1629
|
if (l.length === 0 && !a)
|
|
1630
1630
|
continue;
|
|
@@ -1664,7 +1664,7 @@ function Lu(e, t) {
|
|
|
1664
1664
|
if (!n)
|
|
1665
1665
|
return;
|
|
1666
1666
|
const o = fe(n.source, e.context), r = Gu(o);
|
|
1667
|
-
if (
|
|
1667
|
+
if (yu(e.context, e.node.id, (r ?? []).map(([s]) => s)), !r)
|
|
1668
1668
|
return null;
|
|
1669
1669
|
const i = r.map(([s, l], a) => Hu(e, t, n, s, l, a)).filter((s) => s !== null);
|
|
1670
1670
|
return e.h("span", {
|
|
@@ -1778,14 +1778,14 @@ function ei(e) {
|
|
|
1778
1778
|
return Number.isInteger(t) && t > 0 ? t : null;
|
|
1779
1779
|
}
|
|
1780
1780
|
function Be(e, t, n) {
|
|
1781
|
-
const o =
|
|
1781
|
+
const o = os(n, 4);
|
|
1782
1782
|
o && (e[t] = o);
|
|
1783
1783
|
}
|
|
1784
1784
|
function We(e, t, n) {
|
|
1785
|
-
const o =
|
|
1785
|
+
const o = os(n, 1);
|
|
1786
1786
|
o && (e[t] = o);
|
|
1787
1787
|
}
|
|
1788
|
-
function
|
|
1788
|
+
function os(e, t) {
|
|
1789
1789
|
if (e == null || e === !1)
|
|
1790
1790
|
return null;
|
|
1791
1791
|
if (typeof e == "number")
|
|
@@ -1819,10 +1819,10 @@ const Xu = Jn((e) => {
|
|
|
1819
1819
|
ref: Ju(e.node.props.ref),
|
|
1820
1820
|
componentIdentity: t,
|
|
1821
1821
|
componentTag: e.node.componentTag ?? "Component"
|
|
1822
|
-
}, [...e.node.events ?? [], ...
|
|
1822
|
+
}, [...e.node.events ?? [], ...wu(e.node, e.context)], e.node.editable ? (m, y) => {
|
|
1823
1823
|
if (m !== "edited")
|
|
1824
1824
|
return { event: m, payload: y };
|
|
1825
|
-
const C =
|
|
1825
|
+
const C = $u(e.node, e.context, y);
|
|
1826
1826
|
return C ? { event: m, payload: C } : null;
|
|
1827
1827
|
} : void 0, s)) ?? null, a = Wi(
|
|
1828
1828
|
Yu(e.props),
|
|
@@ -1902,7 +1902,7 @@ function on(e, t, n) {
|
|
|
1902
1902
|
ho(o, Lo(e, s, n)), r = !1, i = !1;
|
|
1903
1903
|
continue;
|
|
1904
1904
|
}
|
|
1905
|
-
const l =
|
|
1905
|
+
const l = Ou(s, n, i);
|
|
1906
1906
|
l.shouldRender ? ho(o, Lo(e, s, n)) : Ui(n, s), r = l.startsChain && !l.closesChain, i = l.startsChain ? l.matchedChain : !1;
|
|
1907
1907
|
}
|
|
1908
1908
|
return o;
|
|
@@ -1969,7 +1969,7 @@ function ho(e, t) {
|
|
|
1969
1969
|
function lc(e) {
|
|
1970
1970
|
return e.kind === "element";
|
|
1971
1971
|
}
|
|
1972
|
-
const
|
|
1972
|
+
const rs = /* @__PURE__ */ ve({
|
|
1973
1973
|
__name: "SFC_Renderer",
|
|
1974
1974
|
props: {
|
|
1975
1975
|
ir: {},
|
|
@@ -2011,7 +2011,7 @@ const os = /* @__PURE__ */ ve({
|
|
|
2011
2011
|
if (n.value, !t.ir)
|
|
2012
2012
|
return null;
|
|
2013
2013
|
const a = s.value;
|
|
2014
|
-
return a.inspectionParentId = a.inspection ?
|
|
2014
|
+
return a.inspectionParentId = a.inspection ? lu(a) : null, mt(Ie, null, on(
|
|
2015
2015
|
mt,
|
|
2016
2016
|
t.ir.template.roots,
|
|
2017
2017
|
a
|
|
@@ -2091,7 +2091,7 @@ class ac {
|
|
|
2091
2091
|
return t;
|
|
2092
2092
|
}
|
|
2093
2093
|
}
|
|
2094
|
-
const
|
|
2094
|
+
const is = Symbol("SFCVueBoundaryRegistry");
|
|
2095
2095
|
function uc() {
|
|
2096
2096
|
const e = /* @__PURE__ */ new Map();
|
|
2097
2097
|
return {
|
|
@@ -2106,7 +2106,7 @@ function uc() {
|
|
|
2106
2106
|
}
|
|
2107
2107
|
};
|
|
2108
2108
|
}
|
|
2109
|
-
const
|
|
2109
|
+
const ss = /* @__PURE__ */ ve({
|
|
2110
2110
|
name: "EndgeSFCRuntimeRenderer",
|
|
2111
2111
|
// Renderer намеренно не имеет корня DOM: произвольные templates SFC могут
|
|
2112
2112
|
// иметь несколько корней. Consumers владеют атрибутами layout на своей границе.
|
|
@@ -2119,7 +2119,7 @@ const is = /* @__PURE__ */ ve({
|
|
|
2119
2119
|
},
|
|
2120
2120
|
setup(e) {
|
|
2121
2121
|
const t = e, n = Ze({}), o = B(0), r = uc();
|
|
2122
|
-
Qo(
|
|
2122
|
+
Qo(is, r);
|
|
2123
2123
|
let i = null, s = null;
|
|
2124
2124
|
ue(
|
|
2125
2125
|
() => [t.host, t.input],
|
|
@@ -2150,7 +2150,7 @@ const is = /* @__PURE__ */ ve({
|
|
|
2150
2150
|
}
|
|
2151
2151
|
return (a, u) => {
|
|
2152
2152
|
var d;
|
|
2153
|
-
return T(), Pe(
|
|
2153
|
+
return T(), Pe(rs, {
|
|
2154
2154
|
ir: ((d = e.host) == null ? void 0 : d.getIr()) ?? null,
|
|
2155
2155
|
props: n.value,
|
|
2156
2156
|
"render-version": o.value,
|
|
@@ -2307,7 +2307,7 @@ const _c = (e) => {
|
|
|
2307
2307
|
...e.attrs.style,
|
|
2308
2308
|
display: "grid",
|
|
2309
2309
|
gridTemplateColumns: Ic(e.props.columns, 12),
|
|
2310
|
-
gridTemplateRows:
|
|
2310
|
+
gridTemplateRows: ls(e.props.rows),
|
|
2311
2311
|
gridAutoRows: mn(e.props.autoRows),
|
|
2312
2312
|
gridAutoFlow: Rc(e.props.autoFlow),
|
|
2313
2313
|
...t ? { gap: t } : {},
|
|
@@ -2319,9 +2319,9 @@ const _c = (e) => {
|
|
|
2319
2319
|
}, e.children);
|
|
2320
2320
|
};
|
|
2321
2321
|
function Ic(e, t) {
|
|
2322
|
-
return
|
|
2322
|
+
return ls(e) ?? `repeat(${t}, minmax(0, 1fr))`;
|
|
2323
2323
|
}
|
|
2324
|
-
function
|
|
2324
|
+
function ls(e) {
|
|
2325
2325
|
if (e == null || e === !1)
|
|
2326
2326
|
return;
|
|
2327
2327
|
if (typeof e == "number" && Number.isInteger(e) && e > 0)
|
|
@@ -2398,7 +2398,7 @@ function Fc(e, t) {
|
|
|
2398
2398
|
const n = Number(t);
|
|
2399
2399
|
return Number.isFinite(n) ? n : "";
|
|
2400
2400
|
}
|
|
2401
|
-
return e === "Date" ?
|
|
2401
|
+
return e === "Date" ? ma(t) : e === "Time" ? va(t) : e === "DateTime" ? Ti(t) : String(t);
|
|
2402
2402
|
}
|
|
2403
2403
|
function $c(e) {
|
|
2404
2404
|
return e == null ? void 0 : String(e);
|
|
@@ -2454,16 +2454,16 @@ const Ac = ["data-open", "data-multiple"], Oc = ["aria-expanded", "aria-readonly
|
|
|
2454
2454
|
const t = e, n = B(null), o = B(null), r = B(null), i = B(null), s = B(!1), l = B(""), a = B(0), u = B([]), d = `endge-native-multiselect-${((ne = Ai()) == null ? void 0 : ne.uid) ?? "select"}`, g = x(() => new Set(u.value)), S = x(() => t.searchable ?? t.options.length > 10), p = x(() => t.virtualized ?? t.options.length > 10), h = x(() => {
|
|
2455
2455
|
const M = l.value.trim().toLocaleLowerCase();
|
|
2456
2456
|
return M ? t.options.filter((X) => {
|
|
2457
|
-
const
|
|
2458
|
-
return String(X.label ?? X.value).toLocaleLowerCase().includes(M) ||
|
|
2457
|
+
const q = String(X.value).toLocaleLowerCase();
|
|
2458
|
+
return String(X.label ?? X.value).toLocaleLowerCase().includes(M) || q.includes(M);
|
|
2459
2459
|
}) : t.options;
|
|
2460
2460
|
}), m = x(() => Math.max(0, Math.floor(a.value / Bt) - ri)), y = x(() => Math.min(
|
|
2461
2461
|
h.value.length,
|
|
2462
2462
|
m.value + Math.ceil(qc / Bt) + ri * 2
|
|
2463
|
-
)), C = x(() => (p.value ? h.value.slice(m.value, y.value) : h.value).map((X,
|
|
2463
|
+
)), C = x(() => (p.value ? h.value.slice(m.value, y.value) : h.value).map((X, q) => ({
|
|
2464
2464
|
option: X,
|
|
2465
|
-
index: p.value ? m.value +
|
|
2466
|
-
}))), b = x(() => p.value ? h.value.length * Bt : void 0),
|
|
2465
|
+
index: p.value ? m.value + q : q
|
|
2466
|
+
}))), b = x(() => p.value ? h.value.length * Bt : void 0), I = x(() => u.value.map((M) => t.options.find((X) => String(X.value) === M) ?? { value: M, label: M })), _ = x(() => I.value.map((M) => M.label ?? String(M.value))), E = x(() => _.value.length ? !t.multiple || _.value.length <= 2 ? _.value.join(", ") : `${_.value.slice(0, 2).join(", ")} +${_.value.length - 2}` : t.placeholder || "Выберите…");
|
|
2467
2467
|
ue(() => t.selectedValues, (M) => {
|
|
2468
2468
|
u.value = [...M];
|
|
2469
2469
|
}, { immediate: !0 }), ue(l, () => {
|
|
@@ -2474,14 +2474,14 @@ const Ac = ["data-open", "data-multiple"], Oc = ["aria-expanded", "aria-readonly
|
|
|
2474
2474
|
t.disabled || t.readonly || (s.value = !s.value, s.value && S.value && (await vt(), (M = r.value) == null || M.focus()));
|
|
2475
2475
|
}
|
|
2476
2476
|
async function P(M) {
|
|
2477
|
-
var X,
|
|
2477
|
+
var X, q;
|
|
2478
2478
|
if (!(t.disabled || t.readonly)) {
|
|
2479
2479
|
if (t.multiple) {
|
|
2480
2480
|
const re = new Set(u.value);
|
|
2481
2481
|
re.has(M) ? re.delete(M) : re.add(M), u.value = t.options.map((he) => String(he.value)).filter((he) => re.has(he));
|
|
2482
2482
|
} else
|
|
2483
2483
|
u.value = [M], j();
|
|
2484
|
-
await vt(), (X = o.value) == null || X.dispatchEvent(new Event("input", { bubbles: !0 })), (
|
|
2484
|
+
await vt(), (X = o.value) == null || X.dispatchEvent(new Event("input", { bubbles: !0 })), (q = o.value) == null || q.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
2485
2485
|
}
|
|
2486
2486
|
}
|
|
2487
2487
|
function j() {
|
|
@@ -2530,9 +2530,9 @@ const Ac = ["data-open", "data-multiple"], Oc = ["aria-expanded", "aria-readonly
|
|
|
2530
2530
|
}, [
|
|
2531
2531
|
W("span", {
|
|
2532
2532
|
class: "endge-native-multiselect__value",
|
|
2533
|
-
"data-placeholder":
|
|
2533
|
+
"data-placeholder": _.value.length ? void 0 : ""
|
|
2534
2534
|
}, de(E.value), 9, zc),
|
|
2535
|
-
e.multiple &&
|
|
2535
|
+
e.multiple && _.value.length ? (T(), D("span", Vc, de(_.value.length), 1)) : ce("", !0),
|
|
2536
2536
|
X[2] || (X[2] = W("span", {
|
|
2537
2537
|
class: "endge-native-multiselect__chevron",
|
|
2538
2538
|
"aria-hidden": "true"
|
|
@@ -2547,7 +2547,7 @@ const Ac = ["data-open", "data-multiple"], Oc = ["aria-expanded", "aria-readonly
|
|
|
2547
2547
|
key: 0,
|
|
2548
2548
|
ref_key: "searchInput",
|
|
2549
2549
|
ref: r,
|
|
2550
|
-
"onUpdate:modelValue": X[0] || (X[0] = (
|
|
2550
|
+
"onUpdate:modelValue": X[0] || (X[0] = (q) => l.value = q),
|
|
2551
2551
|
class: "endge-native-multiselect__search",
|
|
2552
2552
|
type: "search",
|
|
2553
2553
|
placeholder: "Поиск…",
|
|
@@ -2558,7 +2558,7 @@ const Ac = ["data-open", "data-multiple"], Oc = ["aria-expanded", "aria-readonly
|
|
|
2558
2558
|
zr(ht(j, ["stop", "prevent"]), ["esc"])
|
|
2559
2559
|
]
|
|
2560
2560
|
}, null, 40, Lc)), [
|
|
2561
|
-
[
|
|
2561
|
+
[Ia, l.value]
|
|
2562
2562
|
]) : ce("", !0),
|
|
2563
2563
|
W("div", {
|
|
2564
2564
|
id: d,
|
|
@@ -2574,21 +2574,21 @@ const Ac = ["data-open", "data-multiple"], Oc = ["aria-expanded", "aria-readonly
|
|
|
2574
2574
|
class: "endge-native-multiselect__options",
|
|
2575
2575
|
style: At(b.value == null ? void 0 : { height: `${b.value}px` })
|
|
2576
2576
|
}, [
|
|
2577
|
-
(T(!0), D(Ie, null, Ve(C.value, (
|
|
2578
|
-
key: `${
|
|
2577
|
+
(T(!0), D(Ie, null, Ve(C.value, (q) => (T(), D("button", {
|
|
2578
|
+
key: `${q.index}:${String(q.option.value)}`,
|
|
2579
2579
|
type: "button",
|
|
2580
2580
|
class: "endge-native-multiselect__option",
|
|
2581
2581
|
role: "option",
|
|
2582
|
-
style: At(K(
|
|
2583
|
-
"aria-selected": g.value.has(String(
|
|
2582
|
+
style: At(K(q.index)),
|
|
2583
|
+
"aria-selected": g.value.has(String(q.option.value)),
|
|
2584
2584
|
"aria-disabled": e.readonly ? "true" : void 0,
|
|
2585
|
-
onClick: (re) => P(String(
|
|
2585
|
+
onClick: (re) => P(String(q.option.value))
|
|
2586
2586
|
}, [
|
|
2587
2587
|
X[3] || (X[3] = W("span", {
|
|
2588
2588
|
class: "endge-native-multiselect__check",
|
|
2589
2589
|
"aria-hidden": "true"
|
|
2590
2590
|
}, null, -1)),
|
|
2591
|
-
W("span", Gc, de(
|
|
2591
|
+
W("span", Gc, de(q.option.label ?? String(q.option.value)), 1)
|
|
2592
2592
|
], 12, jc))), 128))
|
|
2593
2593
|
], 4)) : (T(), D("div", Bc, de(e.options.length ? "Ничего не найдено" : "Нет доступных вариантов"), 1))
|
|
2594
2594
|
], 40, Hc)
|
|
@@ -2602,11 +2602,11 @@ const Ac = ["data-open", "data-multiple"], Oc = ["aria-expanded", "aria-readonly
|
|
|
2602
2602
|
"aria-hidden": "true",
|
|
2603
2603
|
disabled: e.disabled
|
|
2604
2604
|
}, [
|
|
2605
|
-
(T(!0), D(Ie, null, Ve(
|
|
2606
|
-
key: `${re}:${String(
|
|
2607
|
-
value: String(
|
|
2605
|
+
(T(!0), D(Ie, null, Ve(I.value, (q, re) => (T(), D("option", {
|
|
2606
|
+
key: `${re}:${String(q.value)}`,
|
|
2607
|
+
value: String(q.value),
|
|
2608
2608
|
selected: ""
|
|
2609
|
-
}, de(
|
|
2609
|
+
}, de(q.label ?? String(q.value)), 9, Wc))), 128))
|
|
2610
2610
|
], 8, Kc)
|
|
2611
2611
|
], 16, Ac));
|
|
2612
2612
|
}
|
|
@@ -2661,24 +2661,24 @@ function Qc(e, t, n, o) {
|
|
|
2661
2661
|
}, t.label ?? r);
|
|
2662
2662
|
}
|
|
2663
2663
|
const ed = /* @__PURE__ */ new Set(["left", "center", "right"]), td = /* @__PURE__ */ new Set(["top", "middle", "bottom"]);
|
|
2664
|
-
function
|
|
2664
|
+
function as(e, t) {
|
|
2665
2665
|
return {
|
|
2666
2666
|
horizontal: nd(e),
|
|
2667
2667
|
vertical: od(t)
|
|
2668
2668
|
};
|
|
2669
2669
|
}
|
|
2670
2670
|
function nd(e) {
|
|
2671
|
-
const t =
|
|
2671
|
+
const t = us(e);
|
|
2672
2672
|
return ed.has(t) ? t : "left";
|
|
2673
2673
|
}
|
|
2674
2674
|
function od(e) {
|
|
2675
|
-
const t =
|
|
2675
|
+
const t = us(e);
|
|
2676
2676
|
return td.has(t) ? t : "middle";
|
|
2677
2677
|
}
|
|
2678
|
-
function
|
|
2678
|
+
function us(e) {
|
|
2679
2679
|
return typeof e == "string" ? e.trim().toLowerCase() : "";
|
|
2680
2680
|
}
|
|
2681
|
-
const
|
|
2681
|
+
const cs = "__endgeStyleRowClass", ds = Symbol("endge.table.row-style-meta");
|
|
2682
2682
|
function rd(e) {
|
|
2683
2683
|
return {
|
|
2684
2684
|
context: e,
|
|
@@ -2689,7 +2689,7 @@ function rd(e) {
|
|
|
2689
2689
|
groupRow: Je(e, "group-row")
|
|
2690
2690
|
};
|
|
2691
2691
|
}
|
|
2692
|
-
function
|
|
2692
|
+
function fs(e, t) {
|
|
2693
2693
|
return Array.from({ length: t }, () => ({
|
|
2694
2694
|
headerCell: Je(e.context, "header-cell"),
|
|
2695
2695
|
headerContent: Je(e.context, "header-content"),
|
|
@@ -2709,19 +2709,19 @@ function id(e) {
|
|
|
2709
2709
|
};
|
|
2710
2710
|
}
|
|
2711
2711
|
function sd(e, t) {
|
|
2712
|
-
return
|
|
2712
|
+
return fs(e.markers, t).map((n) => ({
|
|
2713
2713
|
headerCell: { attrs: n.headerCell },
|
|
2714
2714
|
headerContent: { attrs: n.headerContent }
|
|
2715
2715
|
}));
|
|
2716
2716
|
}
|
|
2717
2717
|
function ld(e, t, n, o, r) {
|
|
2718
|
-
const i =
|
|
2718
|
+
const i = fs(n.markers, t);
|
|
2719
2719
|
return e.map((s) => {
|
|
2720
2720
|
const l = {
|
|
2721
2721
|
...s,
|
|
2722
|
-
[
|
|
2722
|
+
[cs]: n.markers.row.class.join(" ")
|
|
2723
2723
|
};
|
|
2724
|
-
return Object.defineProperty(l,
|
|
2724
|
+
return Object.defineProperty(l, ds, {
|
|
2725
2725
|
configurable: !1,
|
|
2726
2726
|
enumerable: !1,
|
|
2727
2727
|
value: {
|
|
@@ -2734,18 +2734,18 @@ function ld(e, t, n, o, r) {
|
|
|
2734
2734
|
});
|
|
2735
2735
|
}
|
|
2736
2736
|
function ad(e, t = []) {
|
|
2737
|
-
const n =
|
|
2737
|
+
const n = ps(e);
|
|
2738
2738
|
return Ho((n == null ? void 0 : n.attrs) ?? ud("row"), t);
|
|
2739
2739
|
}
|
|
2740
|
-
function
|
|
2741
|
-
const o =
|
|
2740
|
+
function gs(e, t, n = []) {
|
|
2741
|
+
const o = ps(e), r = o == null ? void 0 : o.columnMarkers[t];
|
|
2742
2742
|
return r ? {
|
|
2743
2743
|
cell: { attrs: Ho(r.cell, n) },
|
|
2744
2744
|
cellContent: { attrs: Ho(r.cellContent, n) }
|
|
2745
2745
|
} : null;
|
|
2746
2746
|
}
|
|
2747
|
-
function
|
|
2748
|
-
return e[
|
|
2747
|
+
function ps(e) {
|
|
2748
|
+
return e[ds];
|
|
2749
2749
|
}
|
|
2750
2750
|
function Ho(e, t) {
|
|
2751
2751
|
const n = /* @__PURE__ */ new Set(), o = e["data-endge-state"];
|
|
@@ -2913,10 +2913,10 @@ const md = ({
|
|
|
2913
2913
|
size: y,
|
|
2914
2914
|
color: C,
|
|
2915
2915
|
strokeWidth: b = 2,
|
|
2916
|
-
absoluteStrokeWidth:
|
|
2917
|
-
nonScalingStroke:
|
|
2916
|
+
absoluteStrokeWidth: I = !1,
|
|
2917
|
+
nonScalingStroke: _ = !1,
|
|
2918
2918
|
class: E = ""
|
|
2919
|
-
} = hd(), F = vn(r) || vn(i) || r === !0 || i === !0 ||
|
|
2919
|
+
} = hd(), F = vn(r) || vn(i) || r === !0 || i === !0 || I === !0, P = vn(s) || vn(l) || s === !0 || l === !0 || _ === !0;
|
|
2920
2920
|
delete h.class;
|
|
2921
2921
|
const j = (O = m.default) == null ? void 0 : O.call(m), [, A, z = []] = dd(o, {
|
|
2922
2922
|
color: p ?? C,
|
|
@@ -3323,14 +3323,14 @@ function Sn(e, t, n, o) {
|
|
|
3323
3323
|
}, m = [];
|
|
3324
3324
|
S.forEach((y) => {
|
|
3325
3325
|
const C = [...m].reverse()[0], b = y.column.depth === h.depth;
|
|
3326
|
-
let
|
|
3327
|
-
if (b && y.column.parent ?
|
|
3326
|
+
let I, _ = !1;
|
|
3327
|
+
if (b && y.column.parent ? I = y.column.parent : (I = y.column, _ = !0), C && (C == null ? void 0 : C.column) === I)
|
|
3328
3328
|
C.subHeaders.push(y);
|
|
3329
3329
|
else {
|
|
3330
|
-
const E = si(n,
|
|
3331
|
-
id: [o, p,
|
|
3332
|
-
isPlaceholder:
|
|
3333
|
-
placeholderId:
|
|
3330
|
+
const E = si(n, I, {
|
|
3331
|
+
id: [o, p, I.id, y == null ? void 0 : y.id].filter(Boolean).join("_"),
|
|
3332
|
+
isPlaceholder: _,
|
|
3333
|
+
placeholderId: _ ? `${m.filter((F) => F.column === I).length}` : void 0,
|
|
3334
3334
|
depth: p,
|
|
3335
3335
|
index: m.length
|
|
3336
3336
|
});
|
|
@@ -3345,12 +3345,12 @@ function Sn(e, t, n, o) {
|
|
|
3345
3345
|
u(d, s - 1), a.reverse();
|
|
3346
3346
|
const g = (S) => S.filter((h) => h.column.getIsVisible()).map((h) => {
|
|
3347
3347
|
let m = 0, y = 0, C = [0];
|
|
3348
|
-
h.subHeaders && h.subHeaders.length ? (C = [], g(h.subHeaders).forEach((
|
|
3348
|
+
h.subHeaders && h.subHeaders.length ? (C = [], g(h.subHeaders).forEach((I) => {
|
|
3349
3349
|
let {
|
|
3350
|
-
colSpan:
|
|
3350
|
+
colSpan: _,
|
|
3351
3351
|
rowSpan: E
|
|
3352
|
-
} =
|
|
3353
|
-
m +=
|
|
3352
|
+
} = I;
|
|
3353
|
+
m += _, C.push(E);
|
|
3354
3354
|
})) : m = 1;
|
|
3355
3355
|
const b = Math.min(...C);
|
|
3356
3356
|
return y = y + b, h.colSpan = m, h.rowSpan = y, {
|
|
@@ -3414,41 +3414,41 @@ const Gd = (e, t, n, o, r, i, s) => {
|
|
|
3414
3414
|
return e._getFacetedMinMaxValues();
|
|
3415
3415
|
};
|
|
3416
3416
|
}
|
|
3417
|
-
},
|
|
3417
|
+
}, hs = (e, t, n) => {
|
|
3418
3418
|
var o, r;
|
|
3419
3419
|
const i = n == null || (o = n.toString()) == null ? void 0 : o.toLowerCase();
|
|
3420
3420
|
return !!(!((r = e.getValue(t)) == null || (r = r.toString()) == null || (r = r.toLowerCase()) == null) && r.includes(i));
|
|
3421
3421
|
};
|
|
3422
|
-
ps.autoRemove = (e) => Ne(e);
|
|
3423
|
-
const hs = (e, t, n) => {
|
|
3424
|
-
var o;
|
|
3425
|
-
return !!(!((o = e.getValue(t)) == null || (o = o.toString()) == null) && o.includes(n));
|
|
3426
|
-
};
|
|
3427
3422
|
hs.autoRemove = (e) => Ne(e);
|
|
3428
3423
|
const ms = (e, t, n) => {
|
|
3429
3424
|
var o;
|
|
3430
|
-
return ((o = e.getValue(t)) == null || (o = o.toString()) == null
|
|
3425
|
+
return !!(!((o = e.getValue(t)) == null || (o = o.toString()) == null) && o.includes(n));
|
|
3431
3426
|
};
|
|
3432
3427
|
ms.autoRemove = (e) => Ne(e);
|
|
3433
3428
|
const vs = (e, t, n) => {
|
|
3434
3429
|
var o;
|
|
3435
|
-
return (o = e.getValue(t)) == null ? void 0 : o.
|
|
3430
|
+
return ((o = e.getValue(t)) == null || (o = o.toString()) == null ? void 0 : o.toLowerCase()) === (n == null ? void 0 : n.toLowerCase());
|
|
3436
3431
|
};
|
|
3437
3432
|
vs.autoRemove = (e) => Ne(e);
|
|
3438
|
-
const Ss = (e, t, n) =>
|
|
3433
|
+
const Ss = (e, t, n) => {
|
|
3434
|
+
var o;
|
|
3435
|
+
return (o = e.getValue(t)) == null ? void 0 : o.includes(n);
|
|
3436
|
+
};
|
|
3437
|
+
Ss.autoRemove = (e) => Ne(e);
|
|
3438
|
+
const ys = (e, t, n) => !n.some((o) => {
|
|
3439
3439
|
var r;
|
|
3440
3440
|
return !((r = e.getValue(t)) != null && r.includes(o));
|
|
3441
3441
|
});
|
|
3442
|
-
|
|
3443
|
-
const
|
|
3442
|
+
ys.autoRemove = (e) => Ne(e) || !(e != null && e.length);
|
|
3443
|
+
const bs = (e, t, n) => n.some((o) => {
|
|
3444
3444
|
var r;
|
|
3445
3445
|
return (r = e.getValue(t)) == null ? void 0 : r.includes(o);
|
|
3446
3446
|
});
|
|
3447
|
-
|
|
3448
|
-
const
|
|
3449
|
-
bs.autoRemove = (e) => Ne(e);
|
|
3450
|
-
const ws = (e, t, n) => e.getValue(t) == n;
|
|
3447
|
+
bs.autoRemove = (e) => Ne(e) || !(e != null && e.length);
|
|
3448
|
+
const ws = (e, t, n) => e.getValue(t) === n;
|
|
3451
3449
|
ws.autoRemove = (e) => Ne(e);
|
|
3450
|
+
const Cs = (e, t, n) => e.getValue(t) == n;
|
|
3451
|
+
Cs.autoRemove = (e) => Ne(e);
|
|
3452
3452
|
const or = (e, t, n) => {
|
|
3453
3453
|
let [o, r] = n;
|
|
3454
3454
|
const i = e.getValue(t);
|
|
@@ -3464,14 +3464,14 @@ or.resolveFilterValue = (e) => {
|
|
|
3464
3464
|
};
|
|
3465
3465
|
or.autoRemove = (e) => Ne(e) || Ne(e[0]) && Ne(e[1]);
|
|
3466
3466
|
const Xe = {
|
|
3467
|
-
includesString:
|
|
3468
|
-
includesStringSensitive:
|
|
3469
|
-
equalsString:
|
|
3470
|
-
arrIncludes:
|
|
3471
|
-
arrIncludesAll:
|
|
3472
|
-
arrIncludesSome:
|
|
3473
|
-
equals:
|
|
3474
|
-
weakEquals:
|
|
3467
|
+
includesString: hs,
|
|
3468
|
+
includesStringSensitive: ms,
|
|
3469
|
+
equalsString: vs,
|
|
3470
|
+
arrIncludes: Ss,
|
|
3471
|
+
arrIncludesAll: ys,
|
|
3472
|
+
arrIncludesSome: bs,
|
|
3473
|
+
equals: ws,
|
|
3474
|
+
weakEquals: Cs,
|
|
3475
3475
|
inNumberRange: or
|
|
3476
3476
|
};
|
|
3477
3477
|
function Ne(e) {
|
|
@@ -3861,19 +3861,19 @@ const yn = {
|
|
|
3861
3861
|
if (!o || !r || (i.persist == null || i.persist(), wo(i) && i.touches && i.touches.length > 1))
|
|
3862
3862
|
return;
|
|
3863
3863
|
const s = e.getSize(), l = e ? e.getLeafHeaders().map((C) => [C.column.id, C.column.getSize()]) : [[o.id, o.getSize()]], a = wo(i) ? Math.round(i.touches[0].clientX) : i.clientX, u = {}, d = (C, b) => {
|
|
3864
|
-
typeof b == "number" && (t.setColumnSizingInfo((
|
|
3865
|
-
var
|
|
3866
|
-
const F = t.options.columnResizeDirection === "rtl" ? -1 : 1, P = (b - ((
|
|
3867
|
-
return
|
|
3864
|
+
typeof b == "number" && (t.setColumnSizingInfo((I) => {
|
|
3865
|
+
var _, E;
|
|
3866
|
+
const F = t.options.columnResizeDirection === "rtl" ? -1 : 1, P = (b - ((_ = I == null ? void 0 : I.startOffset) != null ? _ : 0)) * F, j = Math.max(P / ((E = I == null ? void 0 : I.startSize) != null ? E : 0), -0.999999);
|
|
3867
|
+
return I.columnSizingStart.forEach((A) => {
|
|
3868
3868
|
let [z, O] = A;
|
|
3869
3869
|
u[z] = Math.round(Math.max(O + O * j, 0) * 100) / 100;
|
|
3870
3870
|
}), {
|
|
3871
|
-
...
|
|
3871
|
+
...I,
|
|
3872
3872
|
deltaOffset: P,
|
|
3873
3873
|
deltaPercentage: j
|
|
3874
3874
|
};
|
|
3875
|
-
}), (t.options.columnResizeMode === "onChange" || C === "end") && t.setColumnSizing((
|
|
3876
|
-
...
|
|
3875
|
+
}), (t.options.columnResizeMode === "onChange" || C === "end") && t.setColumnSizing((I) => ({
|
|
3876
|
+
...I,
|
|
3877
3877
|
...u
|
|
3878
3878
|
})));
|
|
3879
3879
|
}, g = (C) => d("move", C), S = (C) => {
|
|
@@ -4472,7 +4472,7 @@ function Ko(e, t, n) {
|
|
|
4472
4472
|
}
|
|
4473
4473
|
}), r ? "all" : i ? "some" : !1;
|
|
4474
4474
|
}
|
|
4475
|
-
const Wo = /([0-9]+)/gm, vf = (e, t, n) =>
|
|
4475
|
+
const Wo = /([0-9]+)/gm, vf = (e, t, n) => _s(lt(e.getValue(n)).toLowerCase(), lt(t.getValue(n)).toLowerCase()), Sf = (e, t, n) => _s(lt(e.getValue(n)), lt(t.getValue(n))), yf = (e, t, n) => ir(lt(e.getValue(n)).toLowerCase(), lt(t.getValue(n)).toLowerCase()), bf = (e, t, n) => ir(lt(e.getValue(n)), lt(t.getValue(n))), wf = (e, t, n) => {
|
|
4476
4476
|
const o = e.getValue(n), r = t.getValue(n);
|
|
4477
4477
|
return o > r ? 1 : o < r ? -1 : 0;
|
|
4478
4478
|
}, Cf = (e, t, n) => ir(e.getValue(n), t.getValue(n));
|
|
@@ -4482,7 +4482,7 @@ function ir(e, t) {
|
|
|
4482
4482
|
function lt(e) {
|
|
4483
4483
|
return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
|
|
4484
4484
|
}
|
|
4485
|
-
function
|
|
4485
|
+
function _s(e, t) {
|
|
4486
4486
|
const n = e.split(Wo).filter(Boolean), o = t.split(Wo).filter(Boolean);
|
|
4487
4487
|
for (; n.length && o.length; ) {
|
|
4488
4488
|
const r = n.shift(), i = o.shift(), s = parseInt(r, 10), l = parseInt(i, 10), a = [s, l].sort();
|
|
@@ -4701,8 +4701,8 @@ function Rf(e) {
|
|
|
4701
4701
|
getAllColumns: V(() => [r._getColumnDefs()], (S) => {
|
|
4702
4702
|
const p = function(h, m, y) {
|
|
4703
4703
|
return y === void 0 && (y = 0), h.map((C) => {
|
|
4704
|
-
const b = Bd(r, C, y, m),
|
|
4705
|
-
return b.columns =
|
|
4704
|
+
const b = Bd(r, C, y, m), I = C;
|
|
4705
|
+
return b.columns = I.columns ? p(I.columns, b, y + 1) : [], b;
|
|
4706
4706
|
});
|
|
4707
4707
|
};
|
|
4708
4708
|
return p(S);
|
|
@@ -4814,7 +4814,7 @@ function Mf() {
|
|
|
4814
4814
|
const h = i[p], m = s[h.id], y = m.sortUndefined, C = (S = h == null ? void 0 : h.desc) != null ? S : !1;
|
|
4815
4815
|
let b = 0;
|
|
4816
4816
|
if (y) {
|
|
4817
|
-
const
|
|
4817
|
+
const I = d.getValue(h.id), _ = g.getValue(h.id), E = I === void 0, F = _ === void 0;
|
|
4818
4818
|
if (E || F) {
|
|
4819
4819
|
if (y === "first") return E ? -1 : 1;
|
|
4820
4820
|
if (y === "last") return E ? 1 : -1;
|
|
@@ -4909,7 +4909,7 @@ function ui(e) {
|
|
|
4909
4909
|
});
|
|
4910
4910
|
}
|
|
4911
4911
|
function $f(e) {
|
|
4912
|
-
const t =
|
|
4912
|
+
const t = Ra(e.data), n = qt({
|
|
4913
4913
|
state: {},
|
|
4914
4914
|
// Dummy state
|
|
4915
4915
|
onStateChange: () => {
|
|
@@ -4935,7 +4935,7 @@ function $f(e) {
|
|
|
4935
4935
|
});
|
|
4936
4936
|
}
|
|
4937
4937
|
const r = B(o.initialState);
|
|
4938
|
-
return
|
|
4938
|
+
return Ea(() => {
|
|
4939
4939
|
o.setOptions((i) => {
|
|
4940
4940
|
var s;
|
|
4941
4941
|
const l = new Proxy({}, {
|
|
@@ -5242,11 +5242,11 @@ class Wf {
|
|
|
5242
5242
|
const i = this.options;
|
|
5243
5243
|
let s = null, l = null, a = !1;
|
|
5244
5244
|
if (i !== void 0 && i.enabled && r.enabled && r.anchorTo === "end" && this.scrollElement !== null) {
|
|
5245
|
-
const g = i.count, S = r.count, p = this.getMeasurements(), h = ((o = this._singleLaneMeasurements) == null ? void 0 : o.items) ?? p, m = (
|
|
5245
|
+
const g = i.count, S = r.count, p = this.getMeasurements(), h = ((o = this._singleLaneMeasurements) == null ? void 0 : o.items) ?? p, m = (_) => Pf(h[_]), y = g > 0 ? m(0) : null, C = g > 0 ? m(g - 1) : null;
|
|
5246
5246
|
if (S !== g || g > 0 && S > 0 && (r.getItemKey(0) !== y || r.getItemKey(S - 1) !== C)) {
|
|
5247
5247
|
a = !0;
|
|
5248
|
-
const
|
|
5249
|
-
|
|
5248
|
+
const _ = g > 0 ? this.getVirtualItemForOffset(this.getScrollOffset()) ?? p[0] : null;
|
|
5249
|
+
_ && (s = [_.key, this.getScrollOffset() - _.start]);
|
|
5250
5250
|
const E = r.followOnAppend === !0 ? "auto" : r.followOnAppend || null;
|
|
5251
5251
|
E && S > 0 && this.isAtEnd(i.scrollEndThreshold) && (g === 0 || r.getItemKey(S - 1) !== C) && (S > g || Kf(
|
|
5252
5252
|
g,
|
|
@@ -5431,27 +5431,27 @@ class Wf {
|
|
|
5431
5431
|
const p = this.lanesSettling ? 0 : this.pendingMin ?? 0;
|
|
5432
5432
|
if (this.pendingMin = null, this.lanesSettling && this.measurementsCache.length === n && (this.lanesSettling = !1), l === 1) {
|
|
5433
5433
|
const b = n * 2;
|
|
5434
|
-
let
|
|
5435
|
-
if (!
|
|
5434
|
+
let I = (g = this._singleLaneMeasurements) == null ? void 0 : g.flat;
|
|
5435
|
+
if (!I || I.length < b) {
|
|
5436
5436
|
const P = new Float64Array(b);
|
|
5437
|
-
|
|
5437
|
+
I && p > 0 && P.set(I.subarray(0, p * 2)), I = P;
|
|
5438
5438
|
}
|
|
5439
|
-
const
|
|
5439
|
+
const _ = p === 0 ? new Array(n) : this._singleLaneMeasurements.items.slice();
|
|
5440
5440
|
let E;
|
|
5441
5441
|
if (p === 0)
|
|
5442
5442
|
E = o + r;
|
|
5443
5443
|
else {
|
|
5444
5444
|
const P = p - 1;
|
|
5445
|
-
E =
|
|
5445
|
+
E = I[P * 2] + I[P * 2 + 1] + u;
|
|
5446
5446
|
}
|
|
5447
5447
|
for (let P = p; P < n; P++) {
|
|
5448
5448
|
const j = i(P);
|
|
5449
|
-
|
|
5449
|
+
_[P] = j;
|
|
5450
5450
|
const A = S.get(j), z = typeof A == "number" ? A : this.options.estimateSize(P);
|
|
5451
|
-
|
|
5451
|
+
I[P * 2] = E, I[P * 2 + 1] = z, E += z + u;
|
|
5452
5452
|
}
|
|
5453
|
-
this._singleLaneMeasurements = { flat:
|
|
5454
|
-
const F = Df(
|
|
5453
|
+
this._singleLaneMeasurements = { flat: I, items: _ };
|
|
5454
|
+
const F = Df(_, I);
|
|
5455
5455
|
return this.measurementsCache = F, F;
|
|
5456
5456
|
}
|
|
5457
5457
|
const h = this.measurementsCache.slice(0, p), m = new Array(l).fill(
|
|
@@ -5459,15 +5459,15 @@ class Wf {
|
|
|
5459
5459
|
), y = new Float64Array(l);
|
|
5460
5460
|
let C = 0;
|
|
5461
5461
|
for (let b = 0; b < p; b++) {
|
|
5462
|
-
const
|
|
5463
|
-
|
|
5462
|
+
const I = h[b];
|
|
5463
|
+
I && (m[I.lane] === void 0 && C++, m[I.lane] = b, y[I.lane] = I.end);
|
|
5464
5464
|
}
|
|
5465
5465
|
for (let b = p; b < n; b++) {
|
|
5466
|
-
const
|
|
5466
|
+
const I = i(b), _ = this.laneAssignments.get(b);
|
|
5467
5467
|
let E, F;
|
|
5468
|
-
const P = a === "estimate" || S.has(
|
|
5469
|
-
if (
|
|
5470
|
-
E =
|
|
5468
|
+
const P = a === "estimate" || S.has(I);
|
|
5469
|
+
if (_ !== void 0 && this.options.lanes > 1) {
|
|
5470
|
+
E = _;
|
|
5471
5471
|
const O = m[E], K = O !== void 0 ? h[O] : void 0;
|
|
5472
5472
|
F = K ? K.end + u : o + r;
|
|
5473
5473
|
} else if (C === l) {
|
|
@@ -5479,13 +5479,13 @@ class Wf {
|
|
|
5479
5479
|
E = O, F = K + u, P && this.laneAssignments.set(b, E);
|
|
5480
5480
|
} else
|
|
5481
5481
|
E = b % this.options.lanes, F = o + r, P && this.laneAssignments.set(b, E);
|
|
5482
|
-
const j = S.get(
|
|
5482
|
+
const j = S.get(I), A = typeof j == "number" ? j : this.options.estimateSize(b), z = F + A;
|
|
5483
5483
|
h[b] = {
|
|
5484
5484
|
index: b,
|
|
5485
5485
|
start: F,
|
|
5486
5486
|
size: A,
|
|
5487
5487
|
end: z,
|
|
5488
|
-
key:
|
|
5488
|
+
key: I,
|
|
5489
5489
|
lane: E
|
|
5490
5490
|
}, m[E] === void 0 && C++, m[E] = b, y[E] = z;
|
|
5491
5491
|
}
|
|
@@ -5612,10 +5612,10 @@ class Wf {
|
|
|
5612
5612
|
this
|
|
5613
5613
|
) : C);
|
|
5614
5614
|
(this.pendingMin === null || n < this.pendingMin) && (this.pendingMin = n), this.itemSizeCache.set(u, o), this.itemSizeCacheVersion++;
|
|
5615
|
-
let
|
|
5616
|
-
p ?
|
|
5615
|
+
let I = !1;
|
|
5616
|
+
p ? I = this.applyScrollAdjustment(
|
|
5617
5617
|
this.getTotalSize() - h
|
|
5618
|
-
) : b && (
|
|
5618
|
+
) : b && (I = this.applyScrollAdjustment(S)), this.notify(I), this._retryClampedAdjustment();
|
|
5619
5619
|
}
|
|
5620
5620
|
}, this.getVirtualItems = xt(
|
|
5621
5621
|
() => [this.getVirtualIndexes(), this.getMeasurements()],
|
|
@@ -5636,7 +5636,7 @@ class Wf {
|
|
|
5636
5636
|
const r = this.getMeasurements();
|
|
5637
5637
|
if (r.length === 0)
|
|
5638
5638
|
return;
|
|
5639
|
-
const i = (o = this._singleLaneMeasurements) == null ? void 0 : o.flat, s = this.options.lanes === 1 && i != null, l =
|
|
5639
|
+
const i = (o = this._singleLaneMeasurements) == null ? void 0 : o.flat, s = this.options.lanes === 1 && i != null, l = Is(
|
|
5640
5640
|
0,
|
|
5641
5641
|
r.length - 1,
|
|
5642
5642
|
s ? (a) => i[a * 2] : (a) => ci(r[a]).start,
|
|
@@ -5822,7 +5822,7 @@ class Wf {
|
|
|
5822
5822
|
this.scheduleScrollReconcile();
|
|
5823
5823
|
}
|
|
5824
5824
|
}
|
|
5825
|
-
const
|
|
5825
|
+
const Is = (e, t, n, o) => {
|
|
5826
5826
|
for (; e <= t; ) {
|
|
5827
5827
|
const r = (e + t) / 2 | 0, i = n(r);
|
|
5828
5828
|
if (i < o)
|
|
@@ -5863,7 +5863,7 @@ function Uf(e, t, n, o, r) {
|
|
|
5863
5863
|
d++;
|
|
5864
5864
|
return { startIndex: u, endIndex: d };
|
|
5865
5865
|
}
|
|
5866
|
-
let l =
|
|
5866
|
+
let l = Is(0, i, (u) => e[u].start, n), a = l;
|
|
5867
5867
|
if (o === 1)
|
|
5868
5868
|
for (; a < i && e[a].end < n + t; )
|
|
5869
5869
|
a++;
|
|
@@ -6017,7 +6017,7 @@ function eg(e, t, n, o) {
|
|
|
6017
6017
|
return u == null ? l : String(u);
|
|
6018
6018
|
}) : s;
|
|
6019
6019
|
}
|
|
6020
|
-
const
|
|
6020
|
+
const Rs = Symbol("EndgeTanStackTableRuntimeContext");
|
|
6021
6021
|
/**!
|
|
6022
6022
|
* Sortable 1.15.7
|
|
6023
6023
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -6107,15 +6107,15 @@ function Qe(e) {
|
|
|
6107
6107
|
if (typeof window < "u" && window.navigator)
|
|
6108
6108
|
return !!/* @__PURE__ */ navigator.userAgent.match(e);
|
|
6109
6109
|
}
|
|
6110
|
-
var nt = Qe(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), an = Qe(/Edge/i), hi = Qe(/firefox/i), Zt = Qe(/safari/i) && !Qe(/chrome/i) && !Qe(/android/i), sr = Qe(/iP(ad|od|hone)/i),
|
|
6110
|
+
var nt = Qe(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), an = Qe(/Edge/i), hi = Qe(/firefox/i), Zt = Qe(/safari/i) && !Qe(/chrome/i) && !Qe(/android/i), sr = Qe(/iP(ad|od|hone)/i), Es = Qe(/chrome/i) && Qe(/android/i), xs = {
|
|
6111
6111
|
capture: !1,
|
|
6112
6112
|
passive: !1
|
|
6113
6113
|
};
|
|
6114
6114
|
function Q(e, t, n) {
|
|
6115
|
-
e.addEventListener(t, n, !nt &&
|
|
6115
|
+
e.addEventListener(t, n, !nt && xs);
|
|
6116
6116
|
}
|
|
6117
6117
|
function Z(e, t, n) {
|
|
6118
|
-
e.removeEventListener(t, n, !nt &&
|
|
6118
|
+
e.removeEventListener(t, n, !nt && xs);
|
|
6119
6119
|
}
|
|
6120
6120
|
function Vn(e, t) {
|
|
6121
6121
|
if (t) {
|
|
@@ -6133,7 +6133,7 @@ function Vn(e, t) {
|
|
|
6133
6133
|
return !1;
|
|
6134
6134
|
}
|
|
6135
6135
|
}
|
|
6136
|
-
function
|
|
6136
|
+
function ks(e) {
|
|
6137
6137
|
return e.host && e !== document && e.host.nodeType && e.host !== e ? e.host : e.parentNode;
|
|
6138
6138
|
}
|
|
6139
6139
|
function ze(e, t, n, o) {
|
|
@@ -6143,7 +6143,7 @@ function ze(e, t, n, o) {
|
|
|
6143
6143
|
if (t != null && (t[0] === ">" ? e.parentNode === n && Vn(e, t) : Vn(e, t)) || o && e === n)
|
|
6144
6144
|
return e;
|
|
6145
6145
|
if (e === n) break;
|
|
6146
|
-
} while (e =
|
|
6146
|
+
} while (e = ks(e));
|
|
6147
6147
|
}
|
|
6148
6148
|
return null;
|
|
6149
6149
|
}
|
|
@@ -6177,7 +6177,7 @@ function Pt(e, t) {
|
|
|
6177
6177
|
var r = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
6178
6178
|
return r && new r(n);
|
|
6179
6179
|
}
|
|
6180
|
-
function
|
|
6180
|
+
function Ms(e, t, n) {
|
|
6181
6181
|
if (e) {
|
|
6182
6182
|
var o = e.getElementsByTagName(t), r = 0, i = o.length;
|
|
6183
6183
|
if (n)
|
|
@@ -6291,7 +6291,7 @@ function xo(e, t) {
|
|
|
6291
6291
|
return Math.round(e.top) === Math.round(t.top) && Math.round(e.left) === Math.round(t.left) && Math.round(e.height) === Math.round(t.height) && Math.round(e.width) === Math.round(t.width);
|
|
6292
6292
|
}
|
|
6293
6293
|
var Qt;
|
|
6294
|
-
function
|
|
6294
|
+
function Ts(e, t) {
|
|
6295
6295
|
return function() {
|
|
6296
6296
|
if (!Qt) {
|
|
6297
6297
|
var n = arguments, o = this;
|
|
@@ -6304,14 +6304,14 @@ function Ms(e, t) {
|
|
|
6304
6304
|
function ug() {
|
|
6305
6305
|
clearTimeout(Qt), Qt = void 0;
|
|
6306
6306
|
}
|
|
6307
|
-
function
|
|
6307
|
+
function Fs(e, t, n) {
|
|
6308
6308
|
e.scrollLeft += t, e.scrollTop += n;
|
|
6309
6309
|
}
|
|
6310
|
-
function
|
|
6310
|
+
function $s(e) {
|
|
6311
6311
|
var t = window.Polymer, n = window.jQuery || window.Zepto;
|
|
6312
6312
|
return t && t.dom ? t.dom(e).cloneNode(!0) : n ? n(e).clone(!0)[0] : e.cloneNode(!0);
|
|
6313
6313
|
}
|
|
6314
|
-
function
|
|
6314
|
+
function Ps(e, t, n) {
|
|
6315
6315
|
var o = {};
|
|
6316
6316
|
return Array.from(e.children).forEach(function(r) {
|
|
6317
6317
|
var i, s, l, a;
|
|
@@ -6447,8 +6447,8 @@ function gg(e) {
|
|
|
6447
6447
|
cancelable: !0
|
|
6448
6448
|
}) : (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;
|
|
6449
6449
|
var b = Ge(Ge({}, h), un.getEventProperties(o, t));
|
|
6450
|
-
for (var
|
|
6451
|
-
m[
|
|
6450
|
+
for (var I in b)
|
|
6451
|
+
m[I] = b[I];
|
|
6452
6452
|
n && n.dispatchEvent(m), y[C] && y[C].call(t, m);
|
|
6453
6453
|
}
|
|
6454
6454
|
}
|
|
@@ -6471,8 +6471,8 @@ var pg = ["evt"], Ce = function(t, n) {
|
|
|
6471
6471
|
oldDraggableIndex: en,
|
|
6472
6472
|
newIndex: xe,
|
|
6473
6473
|
newDraggableIndex: ot,
|
|
6474
|
-
hideGhostForTarget:
|
|
6475
|
-
unhideGhostForTarget:
|
|
6474
|
+
hideGhostForTarget: zs,
|
|
6475
|
+
unhideGhostForTarget: Vs,
|
|
6476
6476
|
cloneNowHidden: function() {
|
|
6477
6477
|
rt = !0;
|
|
6478
6478
|
},
|
|
@@ -6500,14 +6500,14 @@ function be(e) {
|
|
|
6500
6500
|
newDraggableIndex: ot
|
|
6501
6501
|
}, e));
|
|
6502
6502
|
}
|
|
6503
|
-
var k, le, G, ie, pt, xn, se, rt, Ft, xe, en, ot, Cn, me, Tt = !1, Nn = !1, Ln = [], dt, Ae, Mo, To, yi, bi, Ut, Mt, tn, nn = !1, _n = !1, kn, ye, Fo = [], Uo = !1, Hn = [], Qn = typeof document < "u", In = sr, wi = an || nt ? "cssFloat" : "float", hg = Qn && !
|
|
6503
|
+
var k, le, G, ie, pt, xn, se, rt, Ft, xe, en, ot, Cn, me, Tt = !1, Nn = !1, Ln = [], dt, Ae, Mo, To, yi, bi, Ut, Mt, tn, nn = !1, _n = !1, kn, ye, Fo = [], Uo = !1, Hn = [], Qn = typeof document < "u", In = sr, wi = an || nt ? "cssFloat" : "float", hg = Qn && !Es && !sr && "draggable" in document.createElement("div"), Ds = (function() {
|
|
6504
6504
|
if (Qn) {
|
|
6505
6505
|
if (nt)
|
|
6506
6506
|
return !1;
|
|
6507
6507
|
var e = document.createElement("x");
|
|
6508
6508
|
return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
|
|
6509
6509
|
}
|
|
6510
|
-
})(),
|
|
6510
|
+
})(), As = function(t, n) {
|
|
6511
6511
|
var o = L(t), r = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), i = zt(t, 0, n), s = zt(t, 1, n), l = i && L(i), a = s && L(s), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + pe(i).width, d = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + pe(s).width;
|
|
6512
6512
|
if (o.display === "flex")
|
|
6513
6513
|
return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
@@ -6531,7 +6531,7 @@ var k, le, G, ie, pt, xn, se, rt, Ft, xe, en, ot, Cn, me, Tt = !1, Nn = !1, Ln =
|
|
|
6531
6531
|
return o = r;
|
|
6532
6532
|
}
|
|
6533
6533
|
}), o;
|
|
6534
|
-
},
|
|
6534
|
+
}, Os = function(t) {
|
|
6535
6535
|
function n(i, s) {
|
|
6536
6536
|
return function(l, a, u, d) {
|
|
6537
6537
|
var g = l.options.group.name && a.options.group.name && l.options.group.name === a.options.group.name;
|
|
@@ -6551,12 +6551,12 @@ var k, le, G, ie, pt, xn, se, rt, Ft, xe, en, ot, Cn, me, Tt = !1, Nn = !1, Ln =
|
|
|
6551
6551
|
(!r || qo(r) != "object") && (r = {
|
|
6552
6552
|
name: r
|
|
6553
6553
|
}), o.name = r.name, o.checkPull = n(r.pull, !0), o.checkPut = n(r.put), o.revertClone = r.revertClone, t.group = o;
|
|
6554
|
-
}, Os = function() {
|
|
6555
|
-
!Ps && G && L(G, "display", "none");
|
|
6556
6554
|
}, zs = function() {
|
|
6557
|
-
!
|
|
6555
|
+
!Ds && G && L(G, "display", "none");
|
|
6556
|
+
}, Vs = function() {
|
|
6557
|
+
!Ds && G && L(G, "display", "");
|
|
6558
6558
|
};
|
|
6559
|
-
Qn && !
|
|
6559
|
+
Qn && !Es && document.addEventListener("click", function(e) {
|
|
6560
6560
|
if (Nn)
|
|
6561
6561
|
return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Nn = !1, !1;
|
|
6562
6562
|
}, !0);
|
|
@@ -6593,7 +6593,7 @@ function H(e, t) {
|
|
|
6593
6593
|
// will be set to same as swapThreshold if default
|
|
6594
6594
|
removeCloneOnHide: !0,
|
|
6595
6595
|
direction: function() {
|
|
6596
|
-
return
|
|
6596
|
+
return As(e, this.options);
|
|
6597
6597
|
},
|
|
6598
6598
|
ghostClass: "sortable-ghost",
|
|
6599
6599
|
chosenClass: "sortable-chosen",
|
|
@@ -6627,7 +6627,7 @@ function H(e, t) {
|
|
|
6627
6627
|
un.initializePlugins(this, e, n);
|
|
6628
6628
|
for (var o in n)
|
|
6629
6629
|
!(o in t) && (t[o] = n[o]);
|
|
6630
|
-
|
|
6630
|
+
Os(t);
|
|
6631
6631
|
for (var r in this)
|
|
6632
6632
|
r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
|
|
6633
6633
|
this.nativeDraggable = t.forceFallback ? !1 : hg, 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)), Ln.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), tt(this, cg());
|
|
@@ -6700,7 +6700,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
6700
6700
|
originalEvent: t
|
|
6701
6701
|
}), Ee(k, s.chosenClass, !0);
|
|
6702
6702
|
}, s.ignore.split(",").forEach(function(d) {
|
|
6703
|
-
|
|
6703
|
+
Ms(k, d.trim(), $o);
|
|
6704
6704
|
}), 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)), hi && this.nativeDraggable && (this.options.touchStartThreshold = 4, k.draggable = !0), Ce("delayStart", this, {
|
|
6705
6705
|
evt: t
|
|
6706
6706
|
}), s.delay && (!s.delayOnTouchOnly || n) && (!this.nativeDraggable || !(an || nt))) {
|
|
@@ -6749,7 +6749,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
6749
6749
|
},
|
|
6750
6750
|
_emulateDragOver: function() {
|
|
6751
6751
|
if (Ae) {
|
|
6752
|
-
this._lastX = Ae.clientX, this._lastY = Ae.clientY,
|
|
6752
|
+
this._lastX = Ae.clientX, this._lastY = Ae.clientY, zs();
|
|
6753
6753
|
for (var t = document.elementFromPoint(Ae.clientX, Ae.clientY), n = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(Ae.clientX, Ae.clientY), t !== n); )
|
|
6754
6754
|
n = t;
|
|
6755
6755
|
if (k.parentNode[_e]._isOutsideThisEl(t), n)
|
|
@@ -6765,8 +6765,8 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
6765
6765
|
break;
|
|
6766
6766
|
}
|
|
6767
6767
|
t = n;
|
|
6768
|
-
} while (n =
|
|
6769
|
-
|
|
6768
|
+
} while (n = ks(n));
|
|
6769
|
+
Vs();
|
|
6770
6770
|
}
|
|
6771
6771
|
},
|
|
6772
6772
|
_onTouchMove: function(t) {
|
|
@@ -6811,7 +6811,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
6811
6811
|
this._onDrop();
|
|
6812
6812
|
return;
|
|
6813
6813
|
}
|
|
6814
|
-
Ce("setupClone", this), H.eventCanceled || (se =
|
|
6814
|
+
Ce("setupClone", this), H.eventCanceled || (se = $s(k), se.removeAttribute("id"), se.draggable = !1, se.style["will-change"] = "", this._hideClone(), Ee(se, this.options.chosenClass, !1), H.clone = se), o.cloneId = Mn(function() {
|
|
6815
6815
|
Ce("clone", o), !H.eventCanceled && (o.options.removeCloneOnHide || ie.insertBefore(se, k), o._hideClone(), be({
|
|
6816
6816
|
sortable: o,
|
|
6817
6817
|
name: "clone"
|
|
@@ -6837,7 +6837,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
6837
6837
|
onMove: function(cn, dn) {
|
|
6838
6838
|
return Rn(ie, n, k, r, cn, pe(cn), t, dn);
|
|
6839
6839
|
},
|
|
6840
|
-
changed:
|
|
6840
|
+
changed: I
|
|
6841
6841
|
}, yt));
|
|
6842
6842
|
}
|
|
6843
6843
|
function C() {
|
|
@@ -6850,7 +6850,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
6850
6850
|
y("dragOverAnimationComplete"), h._ignoreWhileAnimating = null;
|
|
6851
6851
|
}), h !== S && (S.animateAll(), S._ignoreWhileAnimating = null)), (o === k && !k.animated || o === n && !o.animated) && (Mt = null), !l.dragoverBubble && !t.rootEl && o !== document && (k.parentNode[_e]._isOutsideThisEl(t.target), !he && ft(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), m = !0;
|
|
6852
6852
|
}
|
|
6853
|
-
function
|
|
6853
|
+
function I() {
|
|
6854
6854
|
xe = Fe(k), ot = Fe(k, l.draggable), be({
|
|
6855
6855
|
sortable: h,
|
|
6856
6856
|
name: "change",
|
|
@@ -6867,18 +6867,18 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
6867
6867
|
if (p = this._getDirection(t, o) === "vertical", r = pe(k), y("dragOverValid"), H.eventCanceled) return m;
|
|
6868
6868
|
if (s)
|
|
6869
6869
|
return le = ie, C(), this._hideClone(), y("revert"), H.eventCanceled || (pt ? ie.insertBefore(k, pt) : ie.appendChild(k)), b(!0);
|
|
6870
|
-
var
|
|
6871
|
-
if (!
|
|
6872
|
-
if (
|
|
6870
|
+
var _ = lr(n, l.draggable);
|
|
6871
|
+
if (!_ || Cg(t, p, this) && !_.animated) {
|
|
6872
|
+
if (_ === k)
|
|
6873
6873
|
return b(!1);
|
|
6874
|
-
if (
|
|
6875
|
-
return C(),
|
|
6876
|
-
} else if (
|
|
6874
|
+
if (_ && n === t.target && (o = _), o && (i = pe(o)), Rn(ie, n, k, r, o, i, t, !!o) !== !1)
|
|
6875
|
+
return C(), _ && _.nextSibling ? n.insertBefore(k, _.nextSibling) : n.appendChild(k), le = n, I(), b(!0);
|
|
6876
|
+
} else if (_ && wg(t, p, this)) {
|
|
6877
6877
|
var E = zt(n, 0, l, !0);
|
|
6878
6878
|
if (E === k)
|
|
6879
6879
|
return b(!1);
|
|
6880
6880
|
if (o = E, i = pe(o), Rn(ie, n, k, r, o, i, t, !1) !== !1)
|
|
6881
|
-
return C(), n.insertBefore(k, E), le = n,
|
|
6881
|
+
return C(), n.insertBefore(k, E), le = n, I(), b(!0);
|
|
6882
6882
|
} else if (o.parentNode === n) {
|
|
6883
6883
|
i = pe(o);
|
|
6884
6884
|
var F = 0, P, j = k.parentNode !== n, A = !mg(k.animated && k.toRect || r, o.animated && o.toRect || i, p), z = p ? "top" : "left", O = vi(o, "top", "top") || vi(k, "top", "top"), K = O ? O.scrollTop : void 0;
|
|
@@ -6893,11 +6893,11 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
6893
6893
|
if (F === 0 || ne === o)
|
|
6894
6894
|
return b(!1);
|
|
6895
6895
|
Mt = o, tn = F;
|
|
6896
|
-
var X = o.nextElementSibling,
|
|
6897
|
-
|
|
6898
|
-
var re = Rn(ie, n, k, r, o, i, t,
|
|
6896
|
+
var X = o.nextElementSibling, q = !1;
|
|
6897
|
+
q = F === 1;
|
|
6898
|
+
var re = Rn(ie, n, k, r, o, i, t, q);
|
|
6899
6899
|
if (re !== !1)
|
|
6900
|
-
return (re === 1 || re === -1) && (
|
|
6900
|
+
return (re === 1 || re === -1) && (q = re === 1), Uo = !0, setTimeout(bg, 30), C(), q && !X ? n.appendChild(k) : o.parentNode.insertBefore(k, q ? X : o), O && Fs(O, 0, K - O.scrollTop), le = k.parentNode, P !== void 0 && !_n && (kn = Math.abs(P - pe(o)[z])), I(), b(!0);
|
|
6901
6901
|
}
|
|
6902
6902
|
if (n.contains(k))
|
|
6903
6903
|
return b(!1);
|
|
@@ -7037,7 +7037,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
7037
7037
|
if (n === void 0)
|
|
7038
7038
|
return o[t];
|
|
7039
7039
|
var r = un.modifyOption(this, t, n);
|
|
7040
|
-
typeof r < "u" ? o[t] = r : o[t] = n, t === "group" &&
|
|
7040
|
+
typeof r < "u" ? o[t] = r : o[t] = n, t === "group" && Os(o);
|
|
7041
7041
|
},
|
|
7042
7042
|
/**
|
|
7043
7043
|
* Destroy
|
|
@@ -7083,11 +7083,11 @@ function bg() {
|
|
|
7083
7083
|
Uo = !1;
|
|
7084
7084
|
}
|
|
7085
7085
|
function wg(e, t, n) {
|
|
7086
|
-
var o = pe(zt(n.el, 0, n.options, !0)), r =
|
|
7086
|
+
var o = pe(zt(n.el, 0, n.options, !0)), r = Ps(n.el, n.options, G), i = 10;
|
|
7087
7087
|
return t ? e.clientX < r.left - i || e.clientY < o.top && e.clientX < o.right : e.clientY < r.top - i || e.clientY < o.bottom && e.clientX < o.left;
|
|
7088
7088
|
}
|
|
7089
7089
|
function Cg(e, t, n) {
|
|
7090
|
-
var o = pe(lr(n.el, n.options.draggable)), r =
|
|
7090
|
+
var o = pe(lr(n.el, n.options.draggable)), r = Ps(n.el, n.options, G), i = 10;
|
|
7091
7091
|
return t ? e.clientX > r.right + i || e.clientY > o.bottom && e.clientX > o.left : e.clientY > r.bottom + i || e.clientX > o.right && e.clientY > o.top;
|
|
7092
7092
|
}
|
|
7093
7093
|
function _g(e, t, n, o, r, i, s, l) {
|
|
@@ -7131,19 +7131,19 @@ H.utils = {
|
|
|
7131
7131
|
on: Q,
|
|
7132
7132
|
off: Z,
|
|
7133
7133
|
css: L,
|
|
7134
|
-
find:
|
|
7134
|
+
find: Ms,
|
|
7135
7135
|
is: function(t, n) {
|
|
7136
7136
|
return !!ze(t, n, t, !1);
|
|
7137
7137
|
},
|
|
7138
7138
|
extend: ag,
|
|
7139
|
-
throttle:
|
|
7139
|
+
throttle: Ts,
|
|
7140
7140
|
closest: ze,
|
|
7141
7141
|
toggleClass: Ee,
|
|
7142
|
-
clone:
|
|
7142
|
+
clone: $s,
|
|
7143
7143
|
index: Fe,
|
|
7144
7144
|
nextTick: Mn,
|
|
7145
7145
|
cancelNextTick: Xo,
|
|
7146
|
-
detectDirection:
|
|
7146
|
+
detectDirection: As,
|
|
7147
7147
|
getChild: zt,
|
|
7148
7148
|
expando: _e
|
|
7149
7149
|
};
|
|
@@ -7224,29 +7224,29 @@ function Tn() {
|
|
|
7224
7224
|
function Ci() {
|
|
7225
7225
|
clearInterval(Yt);
|
|
7226
7226
|
}
|
|
7227
|
-
var Ao =
|
|
7227
|
+
var Ao = Ts(function(e, t, n, o) {
|
|
7228
7228
|
if (t.scroll) {
|
|
7229
7229
|
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;
|
|
7230
7230
|
Yo !== n && (Yo = n, Tn(), Xt = t.scroll, d = t.scrollFn, Xt === !0 && (Xt = st(n, !0)));
|
|
7231
7231
|
var g = 0, S = Xt;
|
|
7232
7232
|
do {
|
|
7233
|
-
var p = S, h = pe(p), m = h.top, y = h.bottom, C = h.left, b = h.right,
|
|
7234
|
-
p === a ? (E =
|
|
7235
|
-
var K = E && (Math.abs(b - r) <= s && z +
|
|
7233
|
+
var p = S, h = pe(p), m = h.top, y = h.bottom, C = h.left, b = h.right, I = h.width, _ = h.height, E = void 0, F = void 0, P = p.scrollWidth, j = p.scrollHeight, A = L(p), z = p.scrollLeft, O = p.scrollTop;
|
|
7234
|
+
p === a ? (E = I < P && (A.overflowX === "auto" || A.overflowX === "scroll" || A.overflowX === "visible"), F = _ < j && (A.overflowY === "auto" || A.overflowY === "scroll" || A.overflowY === "visible")) : (E = I < P && (A.overflowX === "auto" || A.overflowX === "scroll"), F = _ < j && (A.overflowY === "auto" || A.overflowY === "scroll"));
|
|
7235
|
+
var K = E && (Math.abs(b - r) <= s && z + I < P) - (Math.abs(C - r) <= s && !!z), ne = F && (Math.abs(y - i) <= s && O + _ < j) - (Math.abs(m - i) <= s && !!O);
|
|
7236
7236
|
if (!ge[g])
|
|
7237
7237
|
for (var M = 0; M <= g; M++)
|
|
7238
7238
|
ge[M] || (ge[M] = {});
|
|
7239
7239
|
(ge[g].vx != K || ge[g].vy != ne || ge[g].el !== p) && (ge[g].el = p, ge[g].vx = K, ge[g].vy = ne, clearInterval(ge[g].pid), (K != 0 || ne != 0) && (u = !0, ge[g].pid = setInterval((function() {
|
|
7240
7240
|
o && this.layer === 0 && H.active._onTouchMove(Bn);
|
|
7241
|
-
var X = ge[this.layer].vy ? ge[this.layer].vy * l : 0,
|
|
7242
|
-
typeof d == "function" && d.call(H.dragged.parentNode[_e],
|
|
7241
|
+
var X = ge[this.layer].vy ? ge[this.layer].vy * l : 0, q = ge[this.layer].vx ? ge[this.layer].vx * l : 0;
|
|
7242
|
+
typeof d == "function" && d.call(H.dragged.parentNode[_e], q, X, e, Bn, ge[this.layer].el) !== "continue" || Fs(ge[this.layer].el, q, X);
|
|
7243
7243
|
}).bind({
|
|
7244
7244
|
layer: g
|
|
7245
7245
|
}), 24))), g++;
|
|
7246
7246
|
} while (t.bubbleScroll && S !== a && (S = st(S, !1)));
|
|
7247
7247
|
Jo = u;
|
|
7248
7248
|
}
|
|
7249
|
-
}, 30),
|
|
7249
|
+
}, 30), Ns = function(t) {
|
|
7250
7250
|
var n = t.originalEvent, o = t.putSortable, r = t.dragEl, i = t.activeSortable, s = t.dispatchSortableEvent, l = t.hideGhostForTarget, a = t.unhideGhostForTarget;
|
|
7251
7251
|
if (n) {
|
|
7252
7252
|
var u = o || i;
|
|
@@ -7272,7 +7272,7 @@ ar.prototype = {
|
|
|
7272
7272
|
var r = zt(this.sortable.el, this.startIndex, this.options);
|
|
7273
7273
|
r ? this.sortable.el.insertBefore(n, r) : this.sortable.el.appendChild(n), this.sortable.animateAll(), o && o.animateAll();
|
|
7274
7274
|
},
|
|
7275
|
-
drop:
|
|
7275
|
+
drop: Ns
|
|
7276
7276
|
};
|
|
7277
7277
|
tt(ar, {
|
|
7278
7278
|
pluginName: "revertOnSpill"
|
|
@@ -7284,7 +7284,7 @@ ur.prototype = {
|
|
|
7284
7284
|
var n = t.dragEl, o = t.putSortable, r = o || this.sortable;
|
|
7285
7285
|
r.captureAnimationState(), n.parentNode && n.parentNode.removeChild(n), r.animateAll();
|
|
7286
7286
|
},
|
|
7287
|
-
drop:
|
|
7287
|
+
drop: Ns
|
|
7288
7288
|
};
|
|
7289
7289
|
tt(ur, {
|
|
7290
7290
|
pluginName: "removeOnSpill"
|
|
@@ -7457,9 +7457,9 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7457
7457
|
renderCell: {}
|
|
7458
7458
|
},
|
|
7459
7459
|
setup(e) {
|
|
7460
|
-
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 = $n(
|
|
7460
|
+
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 = $n(is, null), u = $n(Rs, 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 = Ze(ao(t.source)), C = B(0);
|
|
7461
7461
|
let b = null;
|
|
7462
|
-
const
|
|
7462
|
+
const I = x(() => t.tableId ? `table:${t.tableId}` : null), _ = B(al()), E = B(ul()), F = B(ro("order", n.value.map((c) => c.key))), P = B(mr()), j = B(vr("size", {})), A = B(ol()), z = Ze(/* @__PURE__ */ new Set()), O = B(null), K = Ze(null), ne = x(() => t.selectionMode !== "none"), M = x(() => t.selectionTrigger === "auto" ? "control" : t.selectionTrigger), X = x(() => ne.value && (M.value === "control" || M.value === "both")), q = 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));
|
|
7463
7463
|
let he = null;
|
|
7464
7464
|
const yt = x(() => [
|
|
7465
7465
|
...X.value ? [{
|
|
@@ -7485,8 +7485,8 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7485
7485
|
enableHiding: !0,
|
|
7486
7486
|
enablePinning: t.pinMode !== "disabled" && c.pinnable,
|
|
7487
7487
|
enableSorting: t.sortMode !== "disabled" && t.sortMode !== "fixed" && ((f = c.sort) == null ? void 0 : f.sortable) === !0,
|
|
7488
|
-
sortingFn: (v, w) =>
|
|
7489
|
-
cell: ({ row: v }) =>
|
|
7488
|
+
sortingFn: (v, w) => Pl(v.original, w.original, c),
|
|
7489
|
+
cell: ({ row: v }) => el(c, v),
|
|
7490
7490
|
meta: {
|
|
7491
7491
|
title: c.title,
|
|
7492
7492
|
endgeColumn: c
|
|
@@ -7500,7 +7500,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7500
7500
|
get columns() {
|
|
7501
7501
|
return yt.value;
|
|
7502
7502
|
},
|
|
7503
|
-
getRowId: (c, f) =>
|
|
7503
|
+
getRowId: (c, f) => zl(Oe(t.rowKey, c), f),
|
|
7504
7504
|
getCoreRowModel: Ef(),
|
|
7505
7505
|
getSortedRowModel: Mf(),
|
|
7506
7506
|
getPaginationRowModel: kf(),
|
|
@@ -7510,7 +7510,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7510
7510
|
columnResizeMode: "onChange",
|
|
7511
7511
|
state: {
|
|
7512
7512
|
get sorting() {
|
|
7513
|
-
return
|
|
7513
|
+
return _.value;
|
|
7514
7514
|
},
|
|
7515
7515
|
get columnPinning() {
|
|
7516
7516
|
return E.value;
|
|
@@ -7528,14 +7528,14 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7528
7528
|
return A.value;
|
|
7529
7529
|
}
|
|
7530
7530
|
},
|
|
7531
|
-
onSortingChange: (c) =>
|
|
7531
|
+
onSortingChange: (c) => rl(c),
|
|
7532
7532
|
onColumnPinningChange: (c) => hr(c),
|
|
7533
|
-
onColumnOrderChange: (c) =>
|
|
7534
|
-
onColumnVisibilityChange: (c) =>
|
|
7535
|
-
onColumnSizingChange: (c) =>
|
|
7533
|
+
onColumnOrderChange: (c) => il(c),
|
|
7534
|
+
onColumnVisibilityChange: (c) => sl(c),
|
|
7535
|
+
onColumnSizingChange: (c) => ll(c),
|
|
7536
7536
|
onPaginationChange: no
|
|
7537
7537
|
}), cn = x(() => (re.value, P.value, E.value, te.getFlatHeaders())), dn = /* @__PURE__ */ new WeakMap();
|
|
7538
|
-
function
|
|
7538
|
+
function js(c) {
|
|
7539
7539
|
re.value, P.value, E.value;
|
|
7540
7540
|
let f = dn.get(c);
|
|
7541
7541
|
return f || (f = /* @__PURE__ */ new Map(), dn.set(c, f)), c.getVisibleCells().map((v) => {
|
|
@@ -7543,7 +7543,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7543
7543
|
return (w == null ? void 0 : w.column) === v.column ? w : (f.set(v.column.id, v), v);
|
|
7544
7544
|
});
|
|
7545
7545
|
}
|
|
7546
|
-
const De = x(() => t.paging === "virtual" ? te.getPrePaginationRowModel().rows : te.getRowModel().rows), fn = x(() => De.value.map((c) => c.id)), dr = x(() => fn.value.length > 0 && fn.value.every((c) => z.value.has(c))),
|
|
7546
|
+
const De = x(() => t.paging === "virtual" ? te.getPrePaginationRowModel().rows : te.getRowModel().rows), fn = x(() => De.value.map((c) => c.id)), dr = x(() => fn.value.length > 0 && fn.value.every((c) => z.value.has(c))), Gs = x(() => !dr.value && fn.value.some((c) => z.value.has(c))), gn = x(() => te.getPrePaginationRowModel().rows.length), pn = x(() => Math.max(1, te.getPageCount())), Ks = x(() => Math.min(A.value.pageIndex + 1, pn.value)), Ws = x(() => [.../* @__PURE__ */ new Set([...s.value, A.value.pageSize])].filter((c) => Number.isFinite(c) && c > 0).sort((c, f) => c - f)), fr = x(() => t.paging === "pages" ? A.value.pageIndex * A.value.pageSize : 0), gr = Yf(x(() => ({
|
|
7547
7547
|
count: De.value.length,
|
|
7548
7548
|
estimateSize: () => t.rowSize,
|
|
7549
7549
|
getItemKey: (c) => {
|
|
@@ -7553,7 +7553,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7553
7553
|
getScrollElement: () => m.value,
|
|
7554
7554
|
initialRect: { width: 0, height: Math.max(360, t.rowSize * 10) },
|
|
7555
7555
|
overscan: 10
|
|
7556
|
-
}))),
|
|
7556
|
+
}))), qs = x(() => gr.value.getVirtualItems()), pr = x(() => {
|
|
7557
7557
|
const c = t.paging === "pages" ? De.value.map((w, R) => ({
|
|
7558
7558
|
index: R,
|
|
7559
7559
|
key: w.id,
|
|
@@ -7561,7 +7561,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7561
7561
|
end: (R + 1) * t.rowSize,
|
|
7562
7562
|
size: t.rowSize,
|
|
7563
7563
|
lane: 0
|
|
7564
|
-
})) :
|
|
7564
|
+
})) : qs.value;
|
|
7565
7565
|
if (c.length === 0)
|
|
7566
7566
|
return [];
|
|
7567
7567
|
const f = c.map((w) => De.value[w.index]).filter((w) => w != null), v = ld(
|
|
@@ -7578,15 +7578,15 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7578
7578
|
rowIndex: fr.value + c[R].index
|
|
7579
7579
|
}));
|
|
7580
7580
|
});
|
|
7581
|
-
function
|
|
7581
|
+
function Us(c) {
|
|
7582
7582
|
u && (u.searchValue.value = c.target.value);
|
|
7583
7583
|
}
|
|
7584
|
-
function
|
|
7584
|
+
function Xs() {
|
|
7585
7585
|
u && (u.filtersVisible.value = !u.filtersVisible.value);
|
|
7586
7586
|
}
|
|
7587
|
-
const
|
|
7587
|
+
const Ys = x(() => new Map(
|
|
7588
7588
|
pr.value.map((c) => [c.row.id, c])
|
|
7589
|
-
)),
|
|
7589
|
+
)), Js = x(() => De.value.length === 0 ? 96 : t.paging === "pages" ? De.value.length * t.rowSize : gr.value.getTotalSize()), Zs = x(() => Math.max(1, te.getVisibleLeafColumns().length)), Qs = x(() => (j.value, P.value, `${te.getTotalSize()}px`)), eo = {
|
|
7590
7590
|
setColumnVisibility: async (c, f) => {
|
|
7591
7591
|
var v;
|
|
7592
7592
|
(v = te.getColumn(c)) == null || v.toggleVisibility(f);
|
|
@@ -7603,21 +7603,21 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7603
7603
|
resetAllPins: async () => {
|
|
7604
7604
|
hr(Mr(r.value));
|
|
7605
7605
|
},
|
|
7606
|
-
setColumnSort: async (c, f) =>
|
|
7607
|
-
clearColumnSort: async (c) => Vt(
|
|
7606
|
+
setColumnSort: async (c, f) => dl(c, f),
|
|
7607
|
+
clearColumnSort: async (c) => Vt(_.value.filter((f) => f.id !== c)),
|
|
7608
7608
|
clearAllSort: async () => Vt([])
|
|
7609
7609
|
}, to = a == null ? void 0 : a.register(t.boundaryId, {
|
|
7610
|
-
applyPatch:
|
|
7610
|
+
applyPatch: pl
|
|
7611
7611
|
});
|
|
7612
7612
|
ue(
|
|
7613
7613
|
() => [t.source, t.renderVersion],
|
|
7614
7614
|
async ([c]) => {
|
|
7615
|
-
y.value = ao(c), await vt(),
|
|
7615
|
+
y.value = ao(c), await vt(), nl(), Ml(), Rr();
|
|
7616
7616
|
}
|
|
7617
7617
|
), ue(
|
|
7618
7618
|
() => n.value.map((c) => c.key).join("|"),
|
|
7619
7619
|
() => {
|
|
7620
|
-
|
|
7620
|
+
cl(), Rr();
|
|
7621
7621
|
}
|
|
7622
7622
|
), ue(
|
|
7623
7623
|
() => i.value.join("|"),
|
|
@@ -7630,7 +7630,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7630
7630
|
c === "none" ? (z.value = /* @__PURE__ */ new Set(), O.value = null) : c === "single" && z.value.size > 1 && (z.value = new Set([...z.value].slice(0, 1))), f === "none" && hn(null);
|
|
7631
7631
|
}
|
|
7632
7632
|
), ue(() => [y.value, n.value], ([c, f]) => {
|
|
7633
|
-
|
|
7633
|
+
Su(t.menuContext, c, t.rowKey, f);
|
|
7634
7634
|
}, { flush: "sync" }), Ke(() => {
|
|
7635
7635
|
var c, f;
|
|
7636
7636
|
(f = (c = t.menuContext) == null ? void 0 : c.host) == null || f.releaseComputationResources(t.menuContext.consumerScope), he && clearTimeout(he), to == null || to(), $t(t.boundaryId), b == null || b(), b = null;
|
|
@@ -7645,8 +7645,8 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7645
7645
|
params: v
|
|
7646
7646
|
});
|
|
7647
7647
|
}
|
|
7648
|
-
function
|
|
7649
|
-
const v =
|
|
7648
|
+
function el(c, f) {
|
|
7649
|
+
const v = Ys.value.get(f.id);
|
|
7650
7650
|
return t.renderCell(
|
|
7651
7651
|
c,
|
|
7652
7652
|
(v == null ? void 0 : v.styledRow) ?? f.original,
|
|
@@ -7666,32 +7666,32 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7666
7666
|
pageCount: pn.value
|
|
7667
7667
|
});
|
|
7668
7668
|
}
|
|
7669
|
-
function
|
|
7669
|
+
function tl(c) {
|
|
7670
7670
|
const f = c.target;
|
|
7671
7671
|
f instanceof HTMLSelectElement && no({ pageIndex: 0, pageSize: Number(f.value) });
|
|
7672
7672
|
}
|
|
7673
|
-
function
|
|
7673
|
+
function nl() {
|
|
7674
7674
|
no(A.value);
|
|
7675
7675
|
}
|
|
7676
|
-
function
|
|
7676
|
+
function ol() {
|
|
7677
7677
|
const c = { pageIndex: 0, pageSize: t.pageSize }, f = oo("pagination", c), v = Fr(f.pageSize, t.pageSize);
|
|
7678
7678
|
return {
|
|
7679
7679
|
pageIndex: Math.min(
|
|
7680
|
-
|
|
7680
|
+
Vl(f.pageIndex, 0),
|
|
7681
7681
|
Math.max(0, Math.ceil(y.value.length / v) - 1)
|
|
7682
7682
|
),
|
|
7683
7683
|
pageSize: v
|
|
7684
7684
|
};
|
|
7685
7685
|
}
|
|
7686
|
-
function
|
|
7686
|
+
function rl(c) {
|
|
7687
7687
|
if (t.sortMode === "disabled" || t.sortMode === "fixed")
|
|
7688
7688
|
return;
|
|
7689
|
-
const f = bt(c,
|
|
7689
|
+
const f = bt(c, _.value);
|
|
7690
7690
|
Vt(t.sortMode === "single" ? f.slice(0, 1) : f);
|
|
7691
7691
|
}
|
|
7692
7692
|
function Vt(c) {
|
|
7693
|
-
const f = JSON.stringify(
|
|
7694
|
-
|
|
7693
|
+
const f = JSON.stringify(_.value);
|
|
7694
|
+
_.value = c, wt("sort", c.map((v) => ({ key: v.id, direction: v.desc ? "desc" : "asc" }))), f !== JSON.stringify(c) && He("sortChanged", {
|
|
7695
7695
|
tableId: Re(),
|
|
7696
7696
|
sort: c.map((v) => ({ columnKey: v.id, direction: v.desc ? "desc" : "asc" }))
|
|
7697
7697
|
});
|
|
@@ -7706,11 +7706,11 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7706
7706
|
right: [...E.value.right ?? []]
|
|
7707
7707
|
});
|
|
7708
7708
|
}
|
|
7709
|
-
function
|
|
7709
|
+
function il(c) {
|
|
7710
7710
|
const f = bt(c, re.value).filter((v) => v !== gt);
|
|
7711
7711
|
JSON.stringify(f) !== JSON.stringify(F.value) && (F.value = f, wt("order", f), He("columnOrderChanged", { tableId: Re(), columnKeys: [...f] }));
|
|
7712
7712
|
}
|
|
7713
|
-
function
|
|
7713
|
+
function sl(c) {
|
|
7714
7714
|
const f = bt(c, P.value);
|
|
7715
7715
|
if (JSON.stringify(f) === JSON.stringify(P.value))
|
|
7716
7716
|
return;
|
|
@@ -7722,7 +7722,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7722
7722
|
hiddenColumnKeys: Object.entries(v).filter(([, w]) => !w).map(([w]) => w)
|
|
7723
7723
|
});
|
|
7724
7724
|
}
|
|
7725
|
-
function
|
|
7725
|
+
function ll(c) {
|
|
7726
7726
|
const f = j.value, v = bt(c, f);
|
|
7727
7727
|
if (JSON.stringify(v) === JSON.stringify(f))
|
|
7728
7728
|
return;
|
|
@@ -7739,16 +7739,16 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7739
7739
|
function bt(c, f) {
|
|
7740
7740
|
return typeof c == "function" ? c(f) : c;
|
|
7741
7741
|
}
|
|
7742
|
-
function
|
|
7742
|
+
function al() {
|
|
7743
7743
|
const c = t.sortMode === "disabled" ? [] : o.value, f = ro("sort", c), v = new Set(n.value.filter((R) => {
|
|
7744
7744
|
var J;
|
|
7745
7745
|
return (J = R.sort) == null ? void 0 : J.sortable;
|
|
7746
|
-
}).map((R) => R.key)), w = f.filter(
|
|
7746
|
+
}).map((R) => R.key)), w = f.filter(Al).filter((R) => v.has(R.key)).map((R) => ({ id: R.key, desc: R.direction === "desc" }));
|
|
7747
7747
|
return t.sortMode === "single" ? w.slice(0, 1) : w;
|
|
7748
7748
|
}
|
|
7749
|
-
function
|
|
7749
|
+
function ul() {
|
|
7750
7750
|
return t.pinMode === "disabled" ? { left: [], right: [] } : Mr(
|
|
7751
|
-
ro("pin", r.value).filter(
|
|
7751
|
+
ro("pin", r.value).filter(Ol)
|
|
7752
7752
|
);
|
|
7753
7753
|
}
|
|
7754
7754
|
function mr() {
|
|
@@ -7758,7 +7758,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7758
7758
|
);
|
|
7759
7759
|
}
|
|
7760
7760
|
function oo(c, f) {
|
|
7761
|
-
const v =
|
|
7761
|
+
const v = I.value;
|
|
7762
7762
|
if (!t.runtimeState || !v)
|
|
7763
7763
|
return f;
|
|
7764
7764
|
const w = t.runtimeState.get(v, c, f);
|
|
@@ -7773,10 +7773,10 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7773
7773
|
return It(v) ? v : f;
|
|
7774
7774
|
}
|
|
7775
7775
|
function wt(c, f) {
|
|
7776
|
-
const v =
|
|
7776
|
+
const v = I.value;
|
|
7777
7777
|
!t.runtimeState || !v || t.runtimeState.set(v, c, f);
|
|
7778
7778
|
}
|
|
7779
|
-
function
|
|
7779
|
+
function cl() {
|
|
7780
7780
|
const c = n.value.map((f) => f.key);
|
|
7781
7781
|
F.value = [
|
|
7782
7782
|
...F.value.filter((f) => c.includes(f)),
|
|
@@ -7788,7 +7788,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7788
7788
|
Object.entries(P.value).filter(([f]) => c.includes(f))
|
|
7789
7789
|
);
|
|
7790
7790
|
}
|
|
7791
|
-
function
|
|
7791
|
+
function dl(c, f) {
|
|
7792
7792
|
if (t.sortMode === "disabled" || t.sortMode === "fixed")
|
|
7793
7793
|
return;
|
|
7794
7794
|
const v = { id: c, desc: f === "desc" };
|
|
@@ -7796,27 +7796,27 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7796
7796
|
Vt([v]);
|
|
7797
7797
|
return;
|
|
7798
7798
|
}
|
|
7799
|
-
const w =
|
|
7800
|
-
Vt(w < 0 ? [...
|
|
7799
|
+
const w = _.value.findIndex((R) => R.id === c);
|
|
7800
|
+
Vt(w < 0 ? [..._.value, v] : _.value.map((R) => R.id === c ? v : R));
|
|
7801
7801
|
}
|
|
7802
7802
|
function Sr(c, f, v) {
|
|
7803
7803
|
const w = Ct(c), R = io(w);
|
|
7804
7804
|
if (!R)
|
|
7805
7805
|
return;
|
|
7806
|
-
const J =
|
|
7806
|
+
const J = gl(c, w);
|
|
7807
7807
|
if (!R.items.some((ut) => ut.kind === "item"))
|
|
7808
7808
|
return;
|
|
7809
7809
|
f.preventDefault(), f.stopPropagation();
|
|
7810
|
-
const
|
|
7810
|
+
const U = v === "element" && f.currentTarget instanceof Element ? f.currentTarget.getBoundingClientRect() : null;
|
|
7811
7811
|
Nr({
|
|
7812
7812
|
ownerId: t.boundaryId,
|
|
7813
|
-
x: (
|
|
7814
|
-
y: (
|
|
7813
|
+
x: (U == null ? void 0 : U.left) ?? f.clientX,
|
|
7814
|
+
y: (U == null ? void 0 : U.bottom) ?? f.clientY,
|
|
7815
7815
|
menu: R,
|
|
7816
7816
|
context: J
|
|
7817
7817
|
});
|
|
7818
7818
|
}
|
|
7819
|
-
function
|
|
7819
|
+
function fl(c, f) {
|
|
7820
7820
|
if (io(Ct(c))) {
|
|
7821
7821
|
Sr(c, f, "element");
|
|
7822
7822
|
return;
|
|
@@ -7858,13 +7858,13 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7858
7858
|
oe(we.columnHide, "Hide column")
|
|
7859
7859
|
))), v.length ? { kind: "context-menu", items: v } : null;
|
|
7860
7860
|
}
|
|
7861
|
-
function
|
|
7862
|
-
var R, J,
|
|
7863
|
-
const v =
|
|
7861
|
+
function gl(c, f) {
|
|
7862
|
+
var R, J, U, ut, Nt;
|
|
7863
|
+
const v = _.value.findIndex((Rt) => Rt.id === c.id), w = ((R = r.value.find((Rt) => Rt.key === c.id)) == null ? void 0 : R.side) ?? "none";
|
|
7864
7864
|
return {
|
|
7865
7865
|
surface: "table-column-header",
|
|
7866
7866
|
runtimeId: ((J = t.runtimeState) == null ? void 0 : J.runtimeId) ?? t.boundaryId,
|
|
7867
|
-
tableRuntimeId: ((
|
|
7867
|
+
tableRuntimeId: ((U = t.runtimeState) == null ? void 0 : U.runtimeId) ?? t.boundaryId,
|
|
7868
7868
|
tableId: t.tableId || t.boundaryId,
|
|
7869
7869
|
target: eo,
|
|
7870
7870
|
columnKey: c.id,
|
|
@@ -7879,19 +7879,19 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7879
7879
|
sortMode: t.sortMode,
|
|
7880
7880
|
sortState: {
|
|
7881
7881
|
active: v >= 0,
|
|
7882
|
-
direction: v >= 0 ? (Nt =
|
|
7882
|
+
direction: v >= 0 ? (Nt = _.value[v]) != null && Nt.desc ? "desc" : "asc" : void 0,
|
|
7883
7883
|
index: v >= 0 ? v : void 0
|
|
7884
7884
|
},
|
|
7885
|
-
activeSortCount:
|
|
7885
|
+
activeSortCount: _.value.length
|
|
7886
7886
|
};
|
|
7887
7887
|
}
|
|
7888
|
-
async function
|
|
7888
|
+
async function pl(c) {
|
|
7889
7889
|
if (c.kind !== "collection-projection-update" || c.boundaryId !== t.boundaryId)
|
|
7890
7890
|
return !1;
|
|
7891
|
-
const f = ao(y.value), v =
|
|
7891
|
+
const f = ao(y.value), v = hl(f, c);
|
|
7892
7892
|
return v < 0 || !It(c.itemSnapshot) ? !1 : (f[v] = { ...c.itemSnapshot }, y.value = f, await vt(), !0);
|
|
7893
7893
|
}
|
|
7894
|
-
function
|
|
7894
|
+
function hl(c, f) {
|
|
7895
7895
|
const v = It(f.itemSnapshot) ? Oe(t.rowKey, f.itemSnapshot) : void 0;
|
|
7896
7896
|
if (v != null) {
|
|
7897
7897
|
const w = c.findIndex((R) => Object.is(Oe(t.rowKey, R), v));
|
|
@@ -7906,7 +7906,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7906
7906
|
function Te(c) {
|
|
7907
7907
|
return c.id === gt;
|
|
7908
7908
|
}
|
|
7909
|
-
function
|
|
7909
|
+
function ml(c) {
|
|
7910
7910
|
if (!ne.value || t.selectionMode !== "multiple")
|
|
7911
7911
|
return;
|
|
7912
7912
|
const f = new Set(z.value);
|
|
@@ -7914,7 +7914,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7914
7914
|
c ? f.add(v) : f.delete(v);
|
|
7915
7915
|
_t(f);
|
|
7916
7916
|
}
|
|
7917
|
-
function
|
|
7917
|
+
function vl(c, f) {
|
|
7918
7918
|
if (!ne.value)
|
|
7919
7919
|
return;
|
|
7920
7920
|
const v = new Set(z.value);
|
|
@@ -7925,11 +7925,11 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7925
7925
|
}
|
|
7926
7926
|
f ? v.add(c.id) : v.delete(c.id), O.value = c.id, _t(v);
|
|
7927
7927
|
}
|
|
7928
|
-
function
|
|
7929
|
-
|
|
7928
|
+
function Sl(c, f) {
|
|
7929
|
+
vl(c, f.target.checked);
|
|
7930
7930
|
}
|
|
7931
|
-
function
|
|
7932
|
-
|
|
7931
|
+
function yl(c) {
|
|
7932
|
+
ml(c.target.checked);
|
|
7933
7933
|
}
|
|
7934
7934
|
function yr(c) {
|
|
7935
7935
|
const f = c.getIsPinned();
|
|
@@ -7944,7 +7944,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7944
7944
|
zIndex: f ? 3 : 1
|
|
7945
7945
|
};
|
|
7946
7946
|
}
|
|
7947
|
-
function
|
|
7947
|
+
function bl(c) {
|
|
7948
7948
|
return {
|
|
7949
7949
|
display: "flex",
|
|
7950
7950
|
height: `${c.size}px`,
|
|
@@ -7953,38 +7953,38 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7953
7953
|
width: "100%"
|
|
7954
7954
|
};
|
|
7955
7955
|
}
|
|
7956
|
-
function
|
|
7956
|
+
function wl(c, f, v) {
|
|
7957
7957
|
var w;
|
|
7958
|
-
return ((w =
|
|
7958
|
+
return ((w = gs(c, f.index, v)) == null ? void 0 : w.cell.attrs) ?? {
|
|
7959
7959
|
part: "cell",
|
|
7960
7960
|
"data-endge-part": "cell",
|
|
7961
7961
|
...v.length ? { "data-endge-state": v.join(" ") } : {},
|
|
7962
7962
|
class: []
|
|
7963
7963
|
};
|
|
7964
7964
|
}
|
|
7965
|
-
function
|
|
7965
|
+
function Cl(c, f) {
|
|
7966
7966
|
const v = [];
|
|
7967
7967
|
return z.value.has(c) && (v.push("selected", "row-selected"), t.selectionMode === "multiple" && v.push("multi-selected")), so(c, f) && v.push("selected", "cell-selected"), [...new Set(v)];
|
|
7968
7968
|
}
|
|
7969
|
-
function
|
|
7969
|
+
function _l(c) {
|
|
7970
7970
|
return z.value.has(c) ? [
|
|
7971
7971
|
"selected",
|
|
7972
7972
|
"row-selected",
|
|
7973
7973
|
...t.selectionMode === "multiple" ? ["multi-selected"] : []
|
|
7974
7974
|
] : [];
|
|
7975
7975
|
}
|
|
7976
|
-
function
|
|
7977
|
-
const f = c[
|
|
7976
|
+
function Il(c) {
|
|
7977
|
+
const f = c[cs];
|
|
7978
7978
|
if (typeof f == "string" || Array.isArray(f) && f.every((v) => typeof v == "string"))
|
|
7979
7979
|
return f;
|
|
7980
7980
|
}
|
|
7981
|
-
function
|
|
7982
|
-
return ad(c,
|
|
7981
|
+
function Rl(c, f) {
|
|
7982
|
+
return ad(c, _l(f));
|
|
7983
7983
|
}
|
|
7984
7984
|
function Re() {
|
|
7985
7985
|
return t.tableId || t.boundaryId;
|
|
7986
7986
|
}
|
|
7987
|
-
function
|
|
7987
|
+
function El() {
|
|
7988
7988
|
return {
|
|
7989
7989
|
nodeId: t.nodeId ?? t.boundaryId,
|
|
7990
7990
|
ref: t.tableRef ?? void 0,
|
|
@@ -7998,7 +7998,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
7998
7998
|
}
|
|
7999
7999
|
function He(c, f) {
|
|
8000
8000
|
const v = t.eventBoundary;
|
|
8001
|
-
v && typeof v.routeChild == "function" && v.routeChild(
|
|
8001
|
+
v && typeof v.routeChild == "function" && v.routeChild(El(), c, f, l.value);
|
|
8002
8002
|
}
|
|
8003
8003
|
function br(c) {
|
|
8004
8004
|
var R, J;
|
|
@@ -8015,7 +8015,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8015
8015
|
activation: f instanceof KeyboardEvent ? "keyboard" : "pointer"
|
|
8016
8016
|
});
|
|
8017
8017
|
}
|
|
8018
|
-
function
|
|
8018
|
+
function xl(c, f) {
|
|
8019
8019
|
var Pr, Dr, Ar;
|
|
8020
8020
|
f.preventDefault();
|
|
8021
8021
|
const v = br(f) ?? "", w = c.row.original, R = v ? Oe(v, w) : void 0;
|
|
@@ -8027,8 +8027,8 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8027
8027
|
columnKey: v || null,
|
|
8028
8028
|
anchor: { x: f.clientX, y: f.clientY }
|
|
8029
8029
|
});
|
|
8030
|
-
const J = t.columns.find((fo) => fo.key === v),
|
|
8031
|
-
if (
|
|
8030
|
+
const J = t.columns.find((fo) => fo.key === v), U = (J == null ? void 0 : J.cellMenu) ?? t.rowMenu;
|
|
8031
|
+
if (U.mode !== "inline" || !U.menu || !t.menuContext || !J)
|
|
8032
8032
|
return;
|
|
8033
8033
|
const ut = {
|
|
8034
8034
|
id: Re(),
|
|
@@ -8039,7 +8039,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8039
8039
|
index: J.index,
|
|
8040
8040
|
title: J.title,
|
|
8041
8041
|
metadata: J.metadata ?? {}
|
|
8042
|
-
}, $r = { value: R }, uo = t.menuContext,
|
|
8042
|
+
}, $r = { value: R }, uo = t.menuContext, Ll = Pn(
|
|
8043
8043
|
uo,
|
|
8044
8044
|
{
|
|
8045
8045
|
$table: ut,
|
|
@@ -8055,7 +8055,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8055
8055
|
},
|
|
8056
8056
|
uo.iteration,
|
|
8057
8057
|
`${uo.consumerScope}/row-menu:${c.row.id}:${v}`
|
|
8058
|
-
), co = gi(
|
|
8058
|
+
), co = gi(U.menu, Ll), Hl = {
|
|
8059
8059
|
surface: "table-row",
|
|
8060
8060
|
runtimeId: ((Dr = t.runtimeState) == null ? void 0 : Dr.runtimeId) ?? t.boundaryId,
|
|
8061
8061
|
tableRuntimeId: ((Ar = t.runtimeState) == null ? void 0 : Ar.runtimeId) ?? t.boundaryId,
|
|
@@ -8080,62 +8080,62 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8080
8080
|
x: f.clientX,
|
|
8081
8081
|
y: f.clientY,
|
|
8082
8082
|
menu: co,
|
|
8083
|
-
context:
|
|
8083
|
+
context: Hl
|
|
8084
8084
|
});
|
|
8085
8085
|
}
|
|
8086
8086
|
function Cr(c, f) {
|
|
8087
|
-
if (!
|
|
8087
|
+
if (!q.value)
|
|
8088
8088
|
return;
|
|
8089
8089
|
const v = new Set(z.value);
|
|
8090
8090
|
if (t.selectionMode === "single")
|
|
8091
8091
|
v.clear(), v.add(c.row.id);
|
|
8092
8092
|
else if (f.shiftKey && O.value) {
|
|
8093
|
-
const w = De.value, R = w.findIndex((
|
|
8093
|
+
const w = De.value, R = w.findIndex((U) => U.id === O.value), J = w.findIndex((U) => U.id === c.row.id);
|
|
8094
8094
|
if (R >= 0 && J >= 0) {
|
|
8095
8095
|
!f.metaKey && !f.ctrlKey && v.clear();
|
|
8096
|
-
for (let
|
|
8097
|
-
v.add(w[
|
|
8096
|
+
for (let U = Math.min(R, J); U <= Math.max(R, J); U += 1)
|
|
8097
|
+
v.add(w[U].id);
|
|
8098
8098
|
}
|
|
8099
8099
|
} else f.metaKey || f.ctrlKey ? v.has(c.row.id) ? v.delete(c.row.id) : v.add(c.row.id) : (v.clear(), v.add(c.row.id));
|
|
8100
8100
|
O.value = c.row.id, _t(v);
|
|
8101
8101
|
}
|
|
8102
8102
|
function _r(c, f) {
|
|
8103
|
-
if (!
|
|
8103
|
+
if (!q.value)
|
|
8104
8104
|
return;
|
|
8105
8105
|
const v = new Set(z.value);
|
|
8106
8106
|
if (t.selectionMode === "single")
|
|
8107
8107
|
v.clear(), v.add(c.row.id);
|
|
8108
8108
|
else if (f.shiftKey && O.value) {
|
|
8109
|
-
const w = De.value, R = w.findIndex((
|
|
8109
|
+
const w = De.value, R = w.findIndex((U) => U.id === O.value), J = w.findIndex((U) => U.id === c.row.id);
|
|
8110
8110
|
if (R >= 0 && J >= 0) {
|
|
8111
8111
|
!f.metaKey && !f.ctrlKey && v.clear();
|
|
8112
|
-
for (let
|
|
8113
|
-
v.add(w[
|
|
8112
|
+
for (let U = Math.min(R, J); U <= Math.max(R, J); U += 1)
|
|
8113
|
+
v.add(w[U].id);
|
|
8114
8114
|
}
|
|
8115
8115
|
} else f.metaKey || f.ctrlKey || v.clear(), v.add(c.row.id);
|
|
8116
8116
|
O.value = c.row.id, _t(v);
|
|
8117
8117
|
}
|
|
8118
|
-
function
|
|
8118
|
+
function kl(c, f) {
|
|
8119
8119
|
f.key === "Enter" ? (f.preventDefault(), wr(c, f)) : f.key === " " && (f.preventDefault(), Cr(c, f));
|
|
8120
8120
|
}
|
|
8121
8121
|
function _t(c) {
|
|
8122
8122
|
if (!ne.value)
|
|
8123
8123
|
return;
|
|
8124
|
-
const f = z.value, v = [...c].filter((
|
|
8124
|
+
const f = z.value, v = [...c].filter((U) => !f.has(U)), w = [...f].filter((U) => !c.has(U));
|
|
8125
8125
|
if (v.length === 0 && w.length === 0)
|
|
8126
8126
|
return;
|
|
8127
8127
|
z.value = c;
|
|
8128
|
-
const R = new Map(te.getCoreRowModel().rows.map((
|
|
8128
|
+
const R = new Map(te.getCoreRowModel().rows.map((U) => [U.id, U.original])), J = [...c].filter((U) => R.has(U));
|
|
8129
8129
|
He("selectionChanged", {
|
|
8130
8130
|
tableId: Re(),
|
|
8131
8131
|
mode: t.selectionMode === "multiple" ? "multiple" : "single",
|
|
8132
8132
|
selectedRowIds: J,
|
|
8133
|
-
selectedRows: J.map((
|
|
8133
|
+
selectedRows: J.map((U) => R.get(U)),
|
|
8134
8134
|
addedRowIds: v,
|
|
8135
8135
|
removedRowIds: w
|
|
8136
8136
|
});
|
|
8137
8137
|
}
|
|
8138
|
-
function
|
|
8138
|
+
function Ml() {
|
|
8139
8139
|
if (!ne.value || z.value.size === 0)
|
|
8140
8140
|
return;
|
|
8141
8141
|
const c = new Set(te.getCoreRowModel().rows.map((f) => f.id));
|
|
@@ -8154,17 +8154,17 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8154
8154
|
value: Oe(f.column.id, c.row.original)
|
|
8155
8155
|
});
|
|
8156
8156
|
}
|
|
8157
|
-
function
|
|
8157
|
+
function Tl(c, f, v) {
|
|
8158
8158
|
if (t.cellSelectionMode !== "single" || Te(f.column))
|
|
8159
8159
|
return;
|
|
8160
8160
|
const w = v.target instanceof Element ? v.target : null;
|
|
8161
8161
|
w != null && w.closest('button, a, input, select, textarea, [contenteditable="true"], [role="button"], [role="menuitem"]') || (v.stopPropagation(), Ir(c, f), _r(c, v), v.currentTarget instanceof HTMLElement && v.currentTarget.focus());
|
|
8162
8162
|
}
|
|
8163
|
-
function
|
|
8163
|
+
function Fl(c, f, v) {
|
|
8164
8164
|
t.cellSelectionMode !== "single" || v.key !== " " && v.key !== "Enter" || (v.preventDefault(), v.stopPropagation(), Ir(c, f), _r(c, v));
|
|
8165
8165
|
}
|
|
8166
|
-
function
|
|
8167
|
-
|
|
8166
|
+
function $l(c) {
|
|
8167
|
+
Nl(c) && (z.value.size === 0 && K.value === null || (c.preventDefault(), c.stopPropagation(), O.value = null, _t(/* @__PURE__ */ new Set()), hn(null)));
|
|
8168
8168
|
}
|
|
8169
8169
|
function hn(c) {
|
|
8170
8170
|
const f = K.value;
|
|
@@ -8191,20 +8191,20 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8191
8191
|
};
|
|
8192
8192
|
}
|
|
8193
8193
|
function Er(c) {
|
|
8194
|
-
const f =
|
|
8194
|
+
const f = _.value.findIndex((v) => v.id === c);
|
|
8195
8195
|
return f < 0 ? null : f + 1;
|
|
8196
8196
|
}
|
|
8197
|
-
function
|
|
8197
|
+
function Pl(c, f, v) {
|
|
8198
8198
|
if (!v.sort)
|
|
8199
8199
|
return 0;
|
|
8200
8200
|
for (const w of v.sort.paths) {
|
|
8201
|
-
const R =
|
|
8201
|
+
const R = Dl(kr(c, w), kr(f, w), v.sort.comparator);
|
|
8202
8202
|
if (R !== 0)
|
|
8203
8203
|
return R;
|
|
8204
8204
|
}
|
|
8205
8205
|
return 0;
|
|
8206
8206
|
}
|
|
8207
|
-
function
|
|
8207
|
+
function Dl(c, f, v) {
|
|
8208
8208
|
const w = c == null || c === "", R = f == null || f === "";
|
|
8209
8209
|
return w || R ? w === R ? 0 : w ? 1 : -1 : v === "number" ? lo(c, f) : v === "date" ? lo(Date.parse(String(c)), Date.parse(String(f))) : v === "time" ? lo(xr(c), xr(f)) : v === "boolean" ? +!!c - +!!f : new Intl.Collator(void 0, { numeric: v !== "text", sensitivity: "base" }).compare(String(c), String(f));
|
|
8210
8210
|
}
|
|
@@ -8225,10 +8225,10 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8225
8225
|
right: c.filter((f) => f.side === "right").map((f) => f.key)
|
|
8226
8226
|
};
|
|
8227
8227
|
}
|
|
8228
|
-
function
|
|
8228
|
+
function Al(c) {
|
|
8229
8229
|
return It(c) ? typeof c.key == "string" && (c.direction === "asc" || c.direction === "desc") : !1;
|
|
8230
8230
|
}
|
|
8231
|
-
function
|
|
8231
|
+
function Ol(c) {
|
|
8232
8232
|
return It(c) ? typeof c.key == "string" && (c.side === "left" || c.side === "right") : !1;
|
|
8233
8233
|
}
|
|
8234
8234
|
function Tr(c) {
|
|
@@ -8243,18 +8243,18 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8243
8243
|
function It(c) {
|
|
8244
8244
|
return c !== null && typeof c == "object" && !Array.isArray(c);
|
|
8245
8245
|
}
|
|
8246
|
-
function
|
|
8246
|
+
function zl(c, f) {
|
|
8247
8247
|
return String(c ?? "").trim() || String(f);
|
|
8248
8248
|
}
|
|
8249
8249
|
function Fr(c, f) {
|
|
8250
8250
|
const v = Math.floor(Number(c));
|
|
8251
8251
|
return Number.isFinite(v) && v > 0 ? v : f;
|
|
8252
8252
|
}
|
|
8253
|
-
function
|
|
8253
|
+
function Vl(c, f) {
|
|
8254
8254
|
const v = Math.floor(Number(c));
|
|
8255
8255
|
return Number.isFinite(v) && v >= 0 ? v : f;
|
|
8256
8256
|
}
|
|
8257
|
-
function
|
|
8257
|
+
function Nl(c) {
|
|
8258
8258
|
return c.key !== "Escape" || c.defaultPrevented || c.isComposing ? !1 : !c.composedPath().some((f) => f instanceof Element && f.matches(
|
|
8259
8259
|
'button, a, input, select, textarea, [contenteditable="true"], [role="button"], [role="combobox"], [role="dialog"], [role="listbox"], [role="menu"], [role="menuitem"], [role="textbox"]'
|
|
8260
8260
|
));
|
|
@@ -8269,7 +8269,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8269
8269
|
"data-paging": e.paging,
|
|
8270
8270
|
"data-lazy": e.lazy ? "true" : void 0,
|
|
8271
8271
|
style: At({ "--endge-table-row-size": `${e.rowSize}px` }),
|
|
8272
|
-
onKeydown:
|
|
8272
|
+
onKeydown: $l
|
|
8273
8273
|
}, [
|
|
8274
8274
|
W("div", Ng, [
|
|
8275
8275
|
p.value ? (T(), D("div", Lg, [
|
|
@@ -8280,7 +8280,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8280
8280
|
value: ((v = Y(u)) == null ? void 0 : v.searchValue.value) ?? "",
|
|
8281
8281
|
placeholder: oe("table.search.placeholder", "Search…"),
|
|
8282
8282
|
"aria-label": oe("table.search.ariaLabel", "Search table"),
|
|
8283
|
-
onInput:
|
|
8283
|
+
onInput: Us
|
|
8284
8284
|
}, null, 40, Hg)) : ce("", !0),
|
|
8285
8285
|
S.value ? (T(), D("button", {
|
|
8286
8286
|
key: 1,
|
|
@@ -8290,7 +8290,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8290
8290
|
"aria-expanded": h.value,
|
|
8291
8291
|
"aria-label": h.value ? oe("table.filters.hide", "Hide filters") : oe("table.filters.show", "Show filters"),
|
|
8292
8292
|
title: h.value ? oe("table.filters.hide", "Hide filters") : oe("table.filters.show", "Show filters"),
|
|
8293
|
-
onClick:
|
|
8293
|
+
onClick: Xs
|
|
8294
8294
|
}, [
|
|
8295
8295
|
ke(Y(Dd), { size: 15 })
|
|
8296
8296
|
], 8, Bg)) : ce("", !0)
|
|
@@ -8312,7 +8312,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8312
8312
|
g.value ? Oi((T(), D("div", Kg, [
|
|
8313
8313
|
ke(zi, { runtime: g.value }, null, 8, ["runtime"])
|
|
8314
8314
|
], 512)), [
|
|
8315
|
-
[
|
|
8315
|
+
[xa, h.value]
|
|
8316
8316
|
]) : ce("", !0),
|
|
8317
8317
|
W("div", Ue({
|
|
8318
8318
|
ref_key: "scrollRoot",
|
|
@@ -8324,7 +8324,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8324
8324
|
"data-row-count": gn.value,
|
|
8325
8325
|
"data-page-row-count": De.value.length,
|
|
8326
8326
|
class: "endge-tanstack-table__table",
|
|
8327
|
-
style: At({ width:
|
|
8327
|
+
style: At({ width: Qs.value })
|
|
8328
8328
|
}, [
|
|
8329
8329
|
W("thead", Ue(e.styleContract.header.attrs, { class: "endge-tanstack-table__header" }), [
|
|
8330
8330
|
W("tr", null, [
|
|
@@ -8343,17 +8343,17 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8343
8343
|
class: "endge-tanstack-checkbox endge-tanstack-table__selection-input",
|
|
8344
8344
|
type: "checkbox",
|
|
8345
8345
|
checked: dr.value,
|
|
8346
|
-
indeterminate:
|
|
8346
|
+
indeterminate: Gs.value,
|
|
8347
8347
|
"aria-label": oe("table.selection.visibleRows", "Select visible rows"),
|
|
8348
8348
|
onClick: f[0] || (f[0] = ht(() => {
|
|
8349
8349
|
}, ["stop"])),
|
|
8350
|
-
onChange:
|
|
8350
|
+
onChange: yl
|
|
8351
8351
|
}, null, 40, Ug)) : Te(w.column) ? ce("", !0) : (T(), D("button", {
|
|
8352
8352
|
key: 1,
|
|
8353
8353
|
type: "button",
|
|
8354
8354
|
class: Kt(["endge-tanstack-table__sort", { "endge-tanstack-table__sort--enabled": w.column.getIsSorted() }]),
|
|
8355
8355
|
disabled: !w.column.getCanSort() && !io(Ct(w.column)),
|
|
8356
|
-
onClick: (R) =>
|
|
8356
|
+
onClick: (R) => fl(w.column, R)
|
|
8357
8357
|
}, [
|
|
8358
8358
|
W("span", Ue({ ref_for: !0 }, Ct(w.column).styleSurfaces.headerContent.attrs, { class: "endge-tanstack-table__head-title" }), [
|
|
8359
8359
|
ke(Y(ai), {
|
|
@@ -8372,7 +8372,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8372
8372
|
key: 2,
|
|
8373
8373
|
size: 14
|
|
8374
8374
|
})),
|
|
8375
|
-
Er(w.column.id) != null &&
|
|
8375
|
+
Er(w.column.id) != null && _.value.length > 1 ? (T(), D("span", Jg, de(Er(w.column.id)), 1)) : ce("", !0)
|
|
8376
8376
|
])) : ce("", !0)
|
|
8377
8377
|
], 10, Xg)),
|
|
8378
8378
|
w.column.getCanResize() ? (T(), D("div", {
|
|
@@ -8387,27 +8387,27 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8387
8387
|
], 16),
|
|
8388
8388
|
W("tbody", Ue(e.styleContract.body.attrs, {
|
|
8389
8389
|
class: "endge-tanstack-table__body",
|
|
8390
|
-
style: { height: `${
|
|
8390
|
+
style: { height: `${Js.value}px` }
|
|
8391
8391
|
}), [
|
|
8392
8392
|
(T(!0), D(Ie, null, Ve(pr.value, (w) => (T(), D("tr", Ue({
|
|
8393
8393
|
key: String(w.virtualItem.key)
|
|
8394
|
-
}, { ref_for: !0 },
|
|
8394
|
+
}, { ref_for: !0 }, Rl(w.styledRow, w.row.id), {
|
|
8395
8395
|
"data-index": w.rowIndex,
|
|
8396
|
-
class: ["endge-tanstack-table__row", [
|
|
8396
|
+
class: ["endge-tanstack-table__row", [Il(w.styledRow), {
|
|
8397
8397
|
"endge-tanstack-table__row--selected": z.value.has(w.row.id),
|
|
8398
8398
|
"endge-tanstack-table__row--multi-selected": e.selectionMode === "multiple" && z.value.has(w.row.id)
|
|
8399
8399
|
}]],
|
|
8400
|
-
style:
|
|
8400
|
+
style: bl(w.virtualItem),
|
|
8401
8401
|
tabindex: ne.value ? 0 : -1,
|
|
8402
8402
|
"aria-selected": ne.value ? z.value.has(w.row.id) : void 0,
|
|
8403
8403
|
onClick: (R) => Cr(w, R),
|
|
8404
8404
|
onDblclick: (R) => wr(w, R),
|
|
8405
|
-
onContextmenu: (R) =>
|
|
8406
|
-
onKeydown: (R) =>
|
|
8405
|
+
onContextmenu: (R) => xl(w, R),
|
|
8406
|
+
onKeydown: (R) => kl(w, R)
|
|
8407
8407
|
}), [
|
|
8408
|
-
(T(!0), D(Ie, null, Ve(
|
|
8408
|
+
(T(!0), D(Ie, null, Ve(js(w.row), (R) => (T(), D("td", Ue({
|
|
8409
8409
|
key: R.id
|
|
8410
|
-
}, { ref_for: !0 }, Te(R.column) ? {} :
|
|
8410
|
+
}, { ref_for: !0 }, Te(R.column) ? {} : wl(w.styledRow, Ct(R.column), Cl(w.row.id, R.column.id)), {
|
|
8411
8411
|
class: ["endge-tanstack-table__cell", {
|
|
8412
8412
|
"endge-tanstack-table__cell--pinned": R.column.getIsPinned(),
|
|
8413
8413
|
"endge-tanstack-table__selection-cell": Te(R.column),
|
|
@@ -8416,8 +8416,8 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8416
8416
|
style: yr(R.column),
|
|
8417
8417
|
tabindex: e.cellSelectionMode === "single" && !Te(R.column) ? 0 : void 0,
|
|
8418
8418
|
"aria-selected": e.cellSelectionMode === "single" && !Te(R.column) ? so(w.row.id, R.column.id) : void 0,
|
|
8419
|
-
onClick: (J) =>
|
|
8420
|
-
onKeydown: (J) =>
|
|
8419
|
+
onClick: (J) => Tl(w, R, J),
|
|
8420
|
+
onKeydown: (J) => Fl(w, R, J)
|
|
8421
8421
|
}), [
|
|
8422
8422
|
Te(R.column) ? (T(), D("input", {
|
|
8423
8423
|
key: 0,
|
|
@@ -8428,7 +8428,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8428
8428
|
"aria-label": oe("table.selection.row", "Select row"),
|
|
8429
8429
|
onClick: f[1] || (f[1] = ht(() => {
|
|
8430
8430
|
}, ["stop"])),
|
|
8431
|
-
onChange: (J) =>
|
|
8431
|
+
onChange: (J) => Sl(w.row, J)
|
|
8432
8432
|
}, null, 42, tp)) : (T(), Pe(Y(ai), {
|
|
8433
8433
|
key: 1,
|
|
8434
8434
|
render: R.column.columnDef.cell,
|
|
@@ -8438,7 +8438,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8438
8438
|
], 16, Qg))), 128)),
|
|
8439
8439
|
De.value.length === 0 ? (T(), D("tr", np, [
|
|
8440
8440
|
W("td", {
|
|
8441
|
-
colspan:
|
|
8441
|
+
colspan: Zs.value,
|
|
8442
8442
|
class: "endge-tanstack-table__empty"
|
|
8443
8443
|
}, de(oe("table.empty", "No data")), 9, op)
|
|
8444
8444
|
])) : ce("", !0)
|
|
@@ -8457,9 +8457,9 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8457
8457
|
W("select", {
|
|
8458
8458
|
value: A.value.pageSize,
|
|
8459
8459
|
"aria-label": oe("table.pagination.rowsPerPage", "Rows per page"),
|
|
8460
|
-
onChange:
|
|
8460
|
+
onChange: tl
|
|
8461
8461
|
}, [
|
|
8462
|
-
(T(!0), D(Ie, null, Ve(
|
|
8462
|
+
(T(!0), D(Ie, null, Ve(Ws.value, (w) => (T(), D("option", {
|
|
8463
8463
|
key: w,
|
|
8464
8464
|
value: w
|
|
8465
8465
|
}, de(w), 9, up))), 128))
|
|
@@ -8467,7 +8467,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8467
8467
|
])
|
|
8468
8468
|
]),
|
|
8469
8469
|
W("span", cp, de(oe("table.pagination.pageOf", "Page {current} of {total}", {
|
|
8470
|
-
current:
|
|
8470
|
+
current: Ks.value,
|
|
8471
8471
|
total: pn.value
|
|
8472
8472
|
})), 1),
|
|
8473
8473
|
W("div", dp, [
|
|
@@ -8510,11 +8510,11 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8510
8510
|
};
|
|
8511
8511
|
}
|
|
8512
8512
|
}), vp = Jn((e) => {
|
|
8513
|
-
var C, b,
|
|
8514
|
-
const t = Cp(e.props.rows), n = e.node.props["row-state"] ?? e.node.props.rowState, o = e.props.height ?? e.props.h, r = o == null || o === "", i = rn(e.props["row-key"] ?? e.props.rowKey, "id"), s =
|
|
8513
|
+
var C, b, I;
|
|
8514
|
+
const t = Cp(e.props.rows), n = e.node.props["row-state"] ?? e.node.props.rowState, o = e.props.height ?? e.props.h, r = o == null || o === "", i = rn(e.props["row-key"] ?? e.props.rowKey, "id"), s = ta(e.node), l = na(e.node), a = oa(e.node), u = ((C = e.node.tableMenus) == null ? void 0 : C.column) ?? ra(e.node), d = ((b = e.node.tableMenus) == null ? void 0 : b.row) ?? ia(e.node), g = id(e.context), S = as(
|
|
8515
8515
|
e.props["cell-align"] ?? e.props.cellAlign,
|
|
8516
8516
|
e.props["cell-vertical-align"] ?? e.props.cellVerticalAlign
|
|
8517
|
-
), p =
|
|
8517
|
+
), p = sa(
|
|
8518
8518
|
e.props["column-pin"] ?? e.props.columnPin ?? l.mode
|
|
8519
8519
|
), h = Sp(
|
|
8520
8520
|
e.node,
|
|
@@ -8529,7 +8529,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8529
8529
|
{
|
|
8530
8530
|
$table: {
|
|
8531
8531
|
id: m || e.node.id,
|
|
8532
|
-
runtimeId: ((
|
|
8532
|
+
runtimeId: ((I = e.context.runtimeState) == null ? void 0 : I.runtimeId) ?? e.node.id,
|
|
8533
8533
|
state: {}
|
|
8534
8534
|
}
|
|
8535
8535
|
},
|
|
@@ -8564,7 +8564,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8564
8564
|
source: t,
|
|
8565
8565
|
styleContract: g,
|
|
8566
8566
|
rowKey: i,
|
|
8567
|
-
sortMode:
|
|
8567
|
+
sortMode: la(e.props["sort-mode"] ?? e.props.sortMode ?? s.mode),
|
|
8568
8568
|
pinMode: p,
|
|
8569
8569
|
columnMenu: u,
|
|
8570
8570
|
rowMenu: d,
|
|
@@ -8578,13 +8578,13 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8578
8578
|
pageSizes: Mp(e.props["page-sizes"] ?? e.props.pageSizes),
|
|
8579
8579
|
lazy: e.props.lazy === !0,
|
|
8580
8580
|
renderVersion: e.context.renderVersion,
|
|
8581
|
-
renderCell: (
|
|
8581
|
+
renderCell: (_, E, F, P) => {
|
|
8582
8582
|
var re;
|
|
8583
|
-
const j = Oe(
|
|
8584
|
-
key:
|
|
8585
|
-
index:
|
|
8586
|
-
title:
|
|
8587
|
-
metadata:
|
|
8583
|
+
const j = Oe(_.key, E), A = { id: P, index: F, data: E }, z = {
|
|
8584
|
+
key: _.key,
|
|
8585
|
+
index: _.index,
|
|
8586
|
+
title: _.title,
|
|
8587
|
+
metadata: _.metadata ?? {}
|
|
8588
8588
|
}, O = Pn(y, {
|
|
8589
8589
|
$row: A,
|
|
8590
8590
|
$column: z,
|
|
@@ -8595,26 +8595,26 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8595
8595
|
// rowKey в SFC должен сохранять авторский тип данных. Селекторы Store
|
|
8596
8596
|
// часто сравнивают числовые идентификаторы и должны получать число.
|
|
8597
8597
|
rowKey: _i(Oe(i, E), P),
|
|
8598
|
-
columnKey:
|
|
8599
|
-
columnMeta:
|
|
8598
|
+
columnKey: _.key,
|
|
8599
|
+
columnMeta: _.metadata ?? {},
|
|
8600
8600
|
value: j
|
|
8601
|
-
}, y.iteration, `${y.consumerScope}/row:${Ot(P)}/column:${Ot(
|
|
8601
|
+
}, y.iteration, `${y.consumerScope}/row:${Ot(P)}/column:${Ot(_.key)}`, {
|
|
8602
8602
|
kind: "table-row",
|
|
8603
8603
|
boundaryId: e.node.id,
|
|
8604
8604
|
rowKey: _i(Oe(i, E), P)
|
|
8605
|
-
}), K = on(e.h,
|
|
8605
|
+
}), K = on(e.h, _.cellNodes, O), ne = bp(
|
|
8606
8606
|
n ? fe(n, O) : void 0
|
|
8607
|
-
), M = (re =
|
|
8608
|
-
return e.h("div", {
|
|
8609
|
-
...
|
|
8607
|
+
), M = (re = gs(E, _.index, ne)) == null ? void 0 : re.cellContent.attrs, X = _.cellNode ? Un(_.cellNode.props, O) : {}, q = _.cellNode ? ns(_.cellNode, X, O) : {};
|
|
8608
|
+
return _.cellNode && ts(q, _.cellNode, X, O), e.h("div", {
|
|
8609
|
+
...q,
|
|
8610
8610
|
part: (M == null ? void 0 : M.part) ?? "cell-content",
|
|
8611
8611
|
"data-endge-part": (M == null ? void 0 : M["data-endge-part"]) ?? "cell-content",
|
|
8612
8612
|
"data-endge-state": M == null ? void 0 : M["data-endge-state"],
|
|
8613
8613
|
class: ["endge-sfc-table-cell-content", "endge-tanstack-table__cell-content", M == null ? void 0 : M.class],
|
|
8614
8614
|
style: {
|
|
8615
8615
|
display: "flex",
|
|
8616
|
-
alignItems: Fp(
|
|
8617
|
-
justifyContent: Tp(
|
|
8616
|
+
alignItems: Fp(_.alignment.vertical),
|
|
8617
|
+
justifyContent: Tp(_.alignment.horizontal),
|
|
8618
8618
|
width: "100%",
|
|
8619
8619
|
minWidth: 0
|
|
8620
8620
|
}
|
|
@@ -8624,7 +8624,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
|
|
|
8624
8624
|
]);
|
|
8625
8625
|
});
|
|
8626
8626
|
function Sp(e, t, n, o, r, i, s) {
|
|
8627
|
-
const l = e.children.filter(
|
|
8627
|
+
const l = e.children.filter(Hs).filter((u) => u.tag === "Column"), a = sd(s, l.length);
|
|
8628
8628
|
return l.map((u, d) => {
|
|
8629
8629
|
var y, C;
|
|
8630
8630
|
const g = Un(u.props, t), S = wp(u, t, g.key, `column_${d}`), p = n.columns.find((b) => b.key === S) ?? null, h = o.columns.find((b) => b.key === S) ?? null, m = kp(g.width ?? g.size);
|
|
@@ -8636,25 +8636,25 @@ function Sp(e, t, n, o, r, i, s) {
|
|
|
8636
8636
|
minWidth: jn(g.minWidth ?? g.minSize, 64),
|
|
8637
8637
|
maxWidth: jn(g.maxWidth ?? g.maxSize, 1200),
|
|
8638
8638
|
pinnable: r !== "disabled" && ((h == null ? void 0 : h.pinnable) ?? !0),
|
|
8639
|
-
alignment:
|
|
8639
|
+
alignment: as(
|
|
8640
8640
|
g["cell-align"] ?? g.cellAlign ?? g.align ?? i.horizontal,
|
|
8641
8641
|
g["cell-vertical-align"] ?? g.cellVerticalAlign ?? g.valign ?? i.vertical
|
|
8642
8642
|
),
|
|
8643
8643
|
metadata: ((C = (y = t.metadata) == null ? void 0 : y.nodes.find((b) => b.nodeId === u.id)) == null ? void 0 : C.values) ?? {},
|
|
8644
8644
|
...u.cellMenu ? { cellMenu: u.cellMenu } : {},
|
|
8645
8645
|
sort: p ? { sortable: p.sortable, comparator: p.comparator, paths: [...p.paths] } : null,
|
|
8646
|
-
cellNode:
|
|
8646
|
+
cellNode: Ls(u),
|
|
8647
8647
|
cellNodes: yp(u),
|
|
8648
8648
|
styleSurfaces: a[d]
|
|
8649
8649
|
};
|
|
8650
8650
|
});
|
|
8651
8651
|
}
|
|
8652
8652
|
function yp(e) {
|
|
8653
|
-
const t =
|
|
8653
|
+
const t = Ls(e);
|
|
8654
8654
|
return ((t == null ? void 0 : t.children) ?? e.children).filter((n) => !$p(n));
|
|
8655
8655
|
}
|
|
8656
|
-
function
|
|
8657
|
-
return e.children.filter(
|
|
8656
|
+
function Ls(e) {
|
|
8657
|
+
return e.children.filter(Hs).find((t) => t.tag === "Cell") ?? null;
|
|
8658
8658
|
}
|
|
8659
8659
|
function bp(e) {
|
|
8660
8660
|
const t = /* @__PURE__ */ new Set(), n = (o) => {
|
|
@@ -8745,7 +8745,7 @@ function Tp(e) {
|
|
|
8745
8745
|
function Fp(e) {
|
|
8746
8746
|
return e === "middle" ? "center" : e === "bottom" ? "flex-end" : "flex-start";
|
|
8747
8747
|
}
|
|
8748
|
-
function
|
|
8748
|
+
function Hs(e) {
|
|
8749
8749
|
return e.kind === "element";
|
|
8750
8750
|
}
|
|
8751
8751
|
function $p(e) {
|
|
@@ -8805,7 +8805,7 @@ const Pp = (e) => {
|
|
|
8805
8805
|
}, s);
|
|
8806
8806
|
};
|
|
8807
8807
|
function Op(e, t) {
|
|
8808
|
-
return
|
|
8808
|
+
return aa(t).map((n, o) => zp(e, n, o));
|
|
8809
8809
|
}
|
|
8810
8810
|
function zp(e, t, n) {
|
|
8811
8811
|
return t.kind === "heading" ? e.h(`h${t.level}`, { key: n, class: "endge-tooltip__heading" }, Dt(e, t.children)) : t.kind === "paragraph" ? e.h("p", { key: n, class: "endge-tooltip__paragraph" }, Dt(e, t.children)) : t.kind === "code-block" ? e.h("pre", { key: n, class: "endge-tooltip__code-block" }, [e.h("code", null, t.value)]) : e.h(t.ordered ? "ol" : "ul", { key: n, class: "endge-tooltip__list" }, t.items.map((o, r) => e.h("li", { key: r }, Dt(e, o))));
|
|
@@ -8861,9 +8861,9 @@ const Hp = "vue-native", Bp = {
|
|
|
8861
8861
|
Table: vp
|
|
8862
8862
|
},
|
|
8863
8863
|
roots: {
|
|
8864
|
-
shell: Wt(
|
|
8865
|
-
sfc: Wt(
|
|
8866
|
-
"sfc-runtime": Wt(
|
|
8864
|
+
shell: Wt(su),
|
|
8865
|
+
sfc: Wt(rs),
|
|
8866
|
+
"sfc-runtime": Wt(ss),
|
|
8867
8867
|
"filter-view": Wt(zi)
|
|
8868
8868
|
}
|
|
8869
8869
|
};
|
|
@@ -8904,7 +8904,7 @@ function Kp(e, t = { renderer: "dom", capabilities: [] }) {
|
|
|
8904
8904
|
message: `DOM adapter does not expose capability "${g}"; the guarded rule was excluded.`,
|
|
8905
8905
|
range: d.range
|
|
8906
8906
|
});
|
|
8907
|
-
if (
|
|
8907
|
+
if (ua(d.supports, t))
|
|
8908
8908
|
for (const g of d.selectors) {
|
|
8909
8909
|
const S = Fn(g, a.scope === "component" ? a.scopeId : void 0);
|
|
8910
8910
|
for (const p of d.declarations)
|
|
@@ -8946,7 +8946,7 @@ function Wp(e, t) {
|
|
|
8946
8946
|
for (const o of e.ids)
|
|
8947
8947
|
n.push(`[data-endge-id=${$e(o)}]`);
|
|
8948
8948
|
for (const o of e.classes)
|
|
8949
|
-
n.push(`.${
|
|
8949
|
+
n.push(`.${Bs(o)}`);
|
|
8950
8950
|
for (const o of e.attributes)
|
|
8951
8951
|
n.push(qp(o));
|
|
8952
8952
|
for (const o of e.pseudos)
|
|
@@ -8954,7 +8954,7 @@ function Wp(e, t) {
|
|
|
8954
8954
|
return t && n.push(`[data-endge-scope=${$e(t)}]`), n.join("") || "*";
|
|
8955
8955
|
}
|
|
8956
8956
|
function qp(e) {
|
|
8957
|
-
const t =
|
|
8957
|
+
const t = Bs(e.name);
|
|
8958
8958
|
return e.operator === "exists" ? `[${t}]` : `[${t}${e.operator}${$e(e.value ?? "")}${e.insensitive ? " i" : ""}]`;
|
|
8959
8959
|
}
|
|
8960
8960
|
function Up(e) {
|
|
@@ -8964,7 +8964,7 @@ function Xp(e, t) {
|
|
|
8964
8964
|
const n = `[data-endge-runtime-scope~=${$e(t)}]`;
|
|
8965
8965
|
return e === ":root" ? n : `${n}${e},${n} ${e}`;
|
|
8966
8966
|
}
|
|
8967
|
-
function
|
|
8967
|
+
function Bs(e) {
|
|
8968
8968
|
return e.replace(/(^-?\d)|[^\w-]/g, (t) => `\\${t.codePointAt(0).toString(16)} `);
|
|
8969
8969
|
}
|
|
8970
8970
|
function Ri(e) {
|
|
@@ -9006,7 +9006,7 @@ class Yp {
|
|
|
9006
9006
|
return t.dataset.endgeStyles = "", document.head.append(t), t;
|
|
9007
9007
|
}
|
|
9008
9008
|
}
|
|
9009
|
-
class Jp extends
|
|
9009
|
+
class Jp extends ca {
|
|
9010
9010
|
constructor() {
|
|
9011
9011
|
super(...arguments);
|
|
9012
9012
|
// В debugger участвует только регистрация renderer и отображение наблюдаемых стилей.
|
|
@@ -9070,11 +9070,11 @@ class Jp extends ua {
|
|
|
9070
9070
|
* Связывает Vue ref с dynamic state текущего Endge context scope.
|
|
9071
9071
|
*/
|
|
9072
9072
|
useContextState(n, o, r) {
|
|
9073
|
-
return
|
|
9073
|
+
return Ta(n, o, r);
|
|
9074
9074
|
}
|
|
9075
9075
|
makeRaphRef(n) {
|
|
9076
|
-
const o = B(Ye.get(n)), r = new
|
|
9077
|
-
id: `watch:${
|
|
9076
|
+
const o = B(Ye.get(n)), r = new ba(Ye.runtime(), {
|
|
9077
|
+
id: `watch:${Sa(5)}`,
|
|
9078
9078
|
meta: {
|
|
9079
9079
|
type: "watch",
|
|
9080
9080
|
path: n
|
|
@@ -9188,7 +9188,7 @@ function yh(e) {
|
|
|
9188
9188
|
function bh(e, t) {
|
|
9189
9189
|
if (!e.trim())
|
|
9190
9190
|
return;
|
|
9191
|
-
const n =
|
|
9191
|
+
const n = da(e, {
|
|
9192
9192
|
props: Object.keys(t.props),
|
|
9193
9193
|
locals: Object.keys(t.locals)
|
|
9194
9194
|
});
|
|
@@ -9201,7 +9201,7 @@ function Qp() {
|
|
|
9201
9201
|
const O = t.value.getTypeCatalog();
|
|
9202
9202
|
return O.length ? O : r.value.map((K) => {
|
|
9203
9203
|
var re, he, yt, te;
|
|
9204
|
-
const M = String(((re = K.meta) == null ? void 0 : re.primitiveKind) ?? "").trim() === "reference" ? "reference" : K.isPrimitive ? "primitive" : "user", X = K.isPrimitive ? void 0 : $.source.compile("type", String(K.source ?? "")).artifact,
|
|
9204
|
+
const M = String(((re = K.meta) == null ? void 0 : re.primitiveKind) ?? "").trim() === "reference" ? "reference" : K.isPrimitive ? "primitive" : "user", X = K.isPrimitive ? void 0 : $.source.compile("type", String(K.source ?? "")).artifact, q = String(((he = K.meta) == null ? void 0 : he.target) ?? "").trim();
|
|
9205
9205
|
return {
|
|
9206
9206
|
id: K.id,
|
|
9207
9207
|
identity: K.identity,
|
|
@@ -9210,11 +9210,11 @@ function Qp() {
|
|
|
9210
9210
|
sourceVersion: Number(K.sourceVersion ?? 1) || 1,
|
|
9211
9211
|
definition: (X == null ? void 0 : X.definition) ?? null,
|
|
9212
9212
|
runtimeType: K.isPrimitive ? String(((yt = K.meta) == null ? void 0 : yt.runtimeType) ?? K.identity) : void 0,
|
|
9213
|
-
entityReference: M === "reference" &&
|
|
9213
|
+
entityReference: M === "reference" && q ? { target: q, storage: ((te = K.meta) == null ? void 0 : te.storage) === "identity" ? "identity" : "id" } : void 0,
|
|
9214
9214
|
status: "valid"
|
|
9215
9215
|
};
|
|
9216
9216
|
});
|
|
9217
|
-
}), a = x(() => e.value.getQueries()), u = x(() => e.value.getComponents()), d = x(() => e.value.getComponentSFCs()), g = x(() => e.value.getActions()), S = x(() => e.value.getConverters()), p = x(() => e.value.getIntegrations()), h = x(() => e.value.getPageTemplates()), m = x(() => e.value.getPages()), y = x(() => e.value.getNavigations()), C = x(() => e.value.getFolders()), b = x(() => e.value.getFilters()),
|
|
9217
|
+
}), a = x(() => e.value.getQueries()), u = x(() => e.value.getComponents()), d = x(() => e.value.getComponentSFCs()), g = x(() => e.value.getActions()), S = x(() => e.value.getConverters()), p = x(() => e.value.getIntegrations()), h = x(() => e.value.getPageTemplates()), m = x(() => e.value.getPages()), y = x(() => e.value.getNavigations()), C = x(() => e.value.getFolders()), b = x(() => e.value.getFilters()), I = x(() => e.value.getCompositions()), _ = x(() => e.value.getPolicies()), E = x(() => e.value.getStyles()), F = x(() => e.value.getVocabs()), P = x(() => e.value.getI18nBundles()), j = x(() => e.value.getMocks()), A = x(() => e.value.getAuthProfiles()), z = x(() => ["query-gql", "query-rest"]);
|
|
9218
9218
|
return Fi({
|
|
9219
9219
|
domain: e,
|
|
9220
9220
|
facets: n,
|
|
@@ -9235,8 +9235,8 @@ function Qp() {
|
|
|
9235
9235
|
folders: C,
|
|
9236
9236
|
queriesNames: z,
|
|
9237
9237
|
filters: b,
|
|
9238
|
-
compositions:
|
|
9239
|
-
policies:
|
|
9238
|
+
compositions: I,
|
|
9239
|
+
policies: _,
|
|
9240
9240
|
styles: E,
|
|
9241
9241
|
vocabs: F,
|
|
9242
9242
|
i18nBundles: P,
|
|
@@ -9258,12 +9258,12 @@ const eh = { class: "endge-page" }, th = /* @__PURE__ */ ve({
|
|
|
9258
9258
|
const t = e, n = x(
|
|
9259
9259
|
() => $.domain.getPage(t.identity) ?? null
|
|
9260
9260
|
), o = B(null);
|
|
9261
|
-
return
|
|
9261
|
+
return ka(() => {
|
|
9262
9262
|
if (!n.value)
|
|
9263
9263
|
return;
|
|
9264
9264
|
const r = $.runtime.execute(n.value, {});
|
|
9265
9265
|
r && (o.value = r);
|
|
9266
|
-
}),
|
|
9266
|
+
}), Ma(() => {
|
|
9267
9267
|
var r;
|
|
9268
9268
|
(r = o.value) != null && r.id && ($.runtime.destroyRuntime(o.value.id), o.value = null);
|
|
9269
9269
|
}), (r, i) => (T(), D("div", eh, [
|
|
@@ -9287,27 +9287,27 @@ const eh = { class: "endge-page" }, th = /* @__PURE__ */ ve({
|
|
|
9287
9287
|
},
|
|
9288
9288
|
setup(e) {
|
|
9289
9289
|
const t = e, n = B(""), o = B(t.filtersDefaultOpen);
|
|
9290
|
-
return Qo(
|
|
9290
|
+
return Qo(Rs, {
|
|
9291
9291
|
showSearch: x(() => t.showSearch),
|
|
9292
9292
|
showFilters: x(() => t.showFilters),
|
|
9293
9293
|
filterRuntime: x(() => t.filterRuntime),
|
|
9294
9294
|
searchValue: n,
|
|
9295
9295
|
filtersVisible: o
|
|
9296
|
-
}), (r, i) => (T(), Pe(
|
|
9296
|
+
}), (r, i) => (T(), Pe(ss, Ue(r.$attrs, {
|
|
9297
9297
|
host: e.host,
|
|
9298
9298
|
input: e.input
|
|
9299
9299
|
}), null, 16, ["host", "input"]));
|
|
9300
9300
|
}
|
|
9301
9301
|
});
|
|
9302
9302
|
export {
|
|
9303
|
-
|
|
9303
|
+
Ja as EndgeContextMenuRoot,
|
|
9304
9304
|
Yp as EndgeDOMStyleRuntime,
|
|
9305
|
-
|
|
9305
|
+
Va as EndgeFilterField,
|
|
9306
9306
|
zi as EndgeFilterRenderer,
|
|
9307
9307
|
Ch as EndgePage,
|
|
9308
|
-
|
|
9308
|
+
su as EndgeShell,
|
|
9309
9309
|
fh as EndgeVuePlugin,
|
|
9310
|
-
|
|
9310
|
+
Qa as EndgeVueTooltipManager,
|
|
9311
9311
|
Ni as EndgeVueTooltipManagerKey,
|
|
9312
9312
|
Jp as EndgeVue_Module,
|
|
9313
9313
|
Hp as NATIVE_VUE_SFC_ADAPTER_ID,
|
|
@@ -9330,21 +9330,22 @@ export {
|
|
|
9330
9330
|
Pp as SFCRender_Text,
|
|
9331
9331
|
Dp as SFCRender_Textarea,
|
|
9332
9332
|
Ap as SFCRender_Tooltip,
|
|
9333
|
-
|
|
9333
|
+
is as SFCVueBoundaryRegistryKey,
|
|
9334
9334
|
ac as SFCVueRuntimeBridge,
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9335
|
+
rs as SFC_Renderer,
|
|
9336
|
+
ss as SFC_RuntimeRenderer,
|
|
9337
|
+
cs as SFC_TABLE_ROW_CLASS_FIELD,
|
|
9338
9338
|
er as SFC_VUE_RENDER_ADAPTER_REQUIRED_KEYS,
|
|
9339
9339
|
mp as TanStackSfcDataTable,
|
|
9340
9340
|
_h as TanStackTableRuntimeRenderer,
|
|
9341
9341
|
dh as applyRowSnapshots,
|
|
9342
9342
|
Li as attachEndgeTooltipTriggerAttrs,
|
|
9343
|
+
ts as attachSFCShorthandTooltip,
|
|
9343
9344
|
$t as closeEndgeContextMenu,
|
|
9344
9345
|
uh as createInitialTableVisibility,
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9346
|
+
zu as createSFCBaseAttrs,
|
|
9347
|
+
ns as createSFCNodeEventAttrs,
|
|
9348
|
+
fs as createSFCTableColumnMarkers,
|
|
9348
9349
|
sd as createSFCTableColumnStyleSurfaces,
|
|
9349
9350
|
rd as createSFCTableMarkers,
|
|
9350
9351
|
id as createSFCTableStyleContract,
|
|
@@ -9356,28 +9357,28 @@ export {
|
|
|
9356
9357
|
bh as evaluateSFCExpression,
|
|
9357
9358
|
Un as evaluateSFCProps,
|
|
9358
9359
|
fe as evaluateSFCValue,
|
|
9359
|
-
|
|
9360
|
+
Ba as executeEndgeContextMenuItem,
|
|
9360
9361
|
Pn as extendSFCVueRenderContext,
|
|
9361
|
-
|
|
9362
|
+
pu as extendSFCVueStyleContext,
|
|
9362
9363
|
ch as filterVisibleTableColumns,
|
|
9363
9364
|
vc as formatSFCDateTime,
|
|
9364
9365
|
Vi as getContextMenuItems,
|
|
9365
9366
|
lh as getExecutableContextMenuItems,
|
|
9366
|
-
|
|
9367
|
+
gs as getSFCTableCellStyleSurfaces,
|
|
9367
9368
|
ad as getSFCTableRowAttrs,
|
|
9368
9369
|
Sh as installEndgeVueWarnHandler,
|
|
9369
9370
|
Hr as isTruthySFCValue,
|
|
9370
9371
|
Kp as materializeEndgeCSSForDOM,
|
|
9371
|
-
|
|
9372
|
+
as as normalizeSFCTableCellAlignment,
|
|
9372
9373
|
Cp as normalizeSFCTableRows,
|
|
9373
9374
|
Nr as openEndgeContextMenu,
|
|
9374
9375
|
Oe as readSFCObjectPath,
|
|
9375
|
-
|
|
9376
|
+
du as readSFCPath,
|
|
9376
9377
|
yh as registerVueUIRenderer,
|
|
9377
9378
|
oc as renderSFCNode,
|
|
9378
9379
|
on as renderSFCNodes,
|
|
9379
|
-
|
|
9380
|
-
|
|
9380
|
+
ja as resolveEndgeContextMenuItemLabel,
|
|
9381
|
+
Ou as resolveSFCConditionState,
|
|
9381
9382
|
gi as resolveSFCTableMenu,
|
|
9382
9383
|
gh as useCurrentFacet,
|
|
9383
9384
|
ph as useCurrentLocale,
|