@arbocollab/arbo-plugin-item-table 0.1.218 → 0.1.219
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/lib/es/index.es.js +130 -109
- package/lib/style.css +1 -1
- package/lib/umd/index.umd.js +23 -23
- package/package.json +1 -1
package/lib/es/index.es.js
CHANGED
|
@@ -6020,7 +6020,7 @@ const uB = {
|
|
|
6020
6020
|
right: "arrow-right",
|
|
6021
6021
|
down: "arrow-down",
|
|
6022
6022
|
delete: "backspace"
|
|
6023
|
-
},
|
|
6023
|
+
}, jn = (e, t) => {
|
|
6024
6024
|
const n = e._withKeys || (e._withKeys = {}), o = t.join(".");
|
|
6025
6025
|
return n[o] || (n[o] = (s) => {
|
|
6026
6026
|
if (!("key" in s))
|
|
@@ -7644,8 +7644,8 @@ function k3(e, t) {
|
|
|
7644
7644
|
if (C.state.isVisible)
|
|
7645
7645
|
Gt.setAttribute(Ge, ot ? ot + " " + At : At);
|
|
7646
7646
|
else {
|
|
7647
|
-
var
|
|
7648
|
-
|
|
7647
|
+
var qn = ot && ot.replace(At, "").trim();
|
|
7648
|
+
qn ? Gt.setAttribute(Ge, qn) : Gt.removeAttribute(Ge);
|
|
7649
7649
|
}
|
|
7650
7650
|
});
|
|
7651
7651
|
}
|
|
@@ -7762,7 +7762,7 @@ function k3(e, t) {
|
|
|
7762
7762
|
var Ge = Le.target, At = x().contains(Ge) || S.contains(Ge);
|
|
7763
7763
|
if (!(Le.type === "mousemove" && At)) {
|
|
7764
7764
|
var Bt = O().concat(S).map(function(Gt) {
|
|
7765
|
-
var ot,
|
|
7765
|
+
var ot, qn = Gt._tippy, Or = (ot = qn.popperInstance) == null ? void 0 : ot.state;
|
|
7766
7766
|
return Or ? {
|
|
7767
7767
|
popperRect: Gt.getBoundingClientRect(),
|
|
7768
7768
|
popperState: Or,
|
|
@@ -7790,7 +7790,7 @@ function k3(e, t) {
|
|
|
7790
7790
|
}
|
|
7791
7791
|
function Ue() {
|
|
7792
7792
|
me();
|
|
7793
|
-
var Le = C.props, Ge = Le.popperOptions, At = Le.placement, Bt = Le.offset, Gt = Le.getReferenceClientRect, ot = Le.moveTransition,
|
|
7793
|
+
var Le = C.props, Ge = Le.popperOptions, At = Le.placement, Bt = Le.offset, Gt = Le.getReferenceClientRect, ot = Le.moveTransition, qn = F() ? oE(S).arrow : null, Or = Gt ? {
|
|
7794
7794
|
getBoundingClientRect: Gt,
|
|
7795
7795
|
contextElement: Gt.contextElement || x()
|
|
7796
7796
|
} : e, zi = {
|
|
@@ -7833,10 +7833,10 @@ function k3(e, t) {
|
|
|
7833
7833
|
adaptive: !ot
|
|
7834
7834
|
}
|
|
7835
7835
|
}, zi];
|
|
7836
|
-
F() &&
|
|
7836
|
+
F() && qn && gs.push({
|
|
7837
7837
|
name: "arrow",
|
|
7838
7838
|
options: {
|
|
7839
|
-
element:
|
|
7839
|
+
element: qn,
|
|
7840
7840
|
padding: 3
|
|
7841
7841
|
}
|
|
7842
7842
|
}), gs.push.apply(gs, (Ge == null ? void 0 : Ge.modifiers) || []), C.popperInstance = r3(Or, S, Object.assign({}, Ge, {
|
|
@@ -7914,8 +7914,8 @@ function k3(e, t) {
|
|
|
7914
7914
|
var Le = C.state.isVisible, Ge = C.state.isDestroyed, At = !C.state.isEnabled, Bt = Ci.isTouch && !C.props.touch, Gt = $w(C.props.duration, 0, Hs.duration);
|
|
7915
7915
|
if (!(Le || Ge || At || Bt) && !x().hasAttribute("disabled") && (ee("onShow", [C], !1), C.props.onShow(C) !== !1)) {
|
|
7916
7916
|
if (C.state.isVisible = !0, F() && (S.style.visibility = "visible"), W(), de(), C.state.isMounted || (S.style.transition = "none"), F()) {
|
|
7917
|
-
var ot = V(),
|
|
7918
|
-
Qw([
|
|
7917
|
+
var ot = V(), qn = ot.box, Or = ot.content;
|
|
7918
|
+
Qw([qn, Or], 0);
|
|
7919
7919
|
}
|
|
7920
7920
|
h = function() {
|
|
7921
7921
|
var gs;
|
|
@@ -7936,8 +7936,8 @@ function k3(e, t) {
|
|
|
7936
7936
|
var Le = !C.state.isVisible, Ge = C.state.isDestroyed, At = !C.state.isEnabled, Bt = $w(C.props.duration, 1, Hs.duration);
|
|
7937
7937
|
if (!(Le || Ge || At) && (ee("onHide", [C], !1), C.props.onHide(C) !== !1)) {
|
|
7938
7938
|
if (C.state.isVisible = !1, C.state.isShown = !1, c = !1, i = !1, F() && (S.style.visibility = "hidden"), oe(), ke(), W(!0), F()) {
|
|
7939
|
-
var Gt = V(), ot = Gt.box,
|
|
7940
|
-
C.props.animation && (Qw([ot,
|
|
7939
|
+
var Gt = V(), ot = Gt.box, qn = Gt.content;
|
|
7940
|
+
C.props.animation && (Qw([ot, qn], Bt), gD([ot, qn], "hidden"));
|
|
7941
7941
|
}
|
|
7942
7942
|
se(), X(), C.props.animation ? F() && Ae(Bt, C.unmount) : C.unmount();
|
|
7943
7943
|
}
|
|
@@ -9343,7 +9343,7 @@ var WB = { exports: {} };
|
|
|
9343
9343
|
}
|
|
9344
9344
|
}(this, m);
|
|
9345
9345
|
}
|
|
9346
|
-
var
|
|
9346
|
+
var qn = { get: function() {
|
|
9347
9347
|
var m = Ge, y = gu;
|
|
9348
9348
|
function _(B, U) {
|
|
9349
9349
|
var Y = this, ie = !m.global && (m !== Ge || y !== gu), fe = ie && !ii(), Ee = new ot(function(Re, xe) {
|
|
@@ -9353,9 +9353,9 @@ var WB = { exports: {} };
|
|
|
9353
9353
|
}
|
|
9354
9354
|
return _.prototype = ge, _;
|
|
9355
9355
|
}, set: function(m) {
|
|
9356
|
-
p(this, "then", m && m.prototype === ge ?
|
|
9356
|
+
p(this, "then", m && m.prototype === ge ? qn : { get: function() {
|
|
9357
9357
|
return m;
|
|
9358
|
-
}, set:
|
|
9358
|
+
}, set: qn.set });
|
|
9359
9359
|
} };
|
|
9360
9360
|
function Or(m, y, _, B, U) {
|
|
9361
9361
|
this.onFulfilled = typeof m == "function" ? m : null, this.onRejected = typeof y == "function" ? y : null, this.resolve = _, this.reject = B, this.psd = U;
|
|
@@ -9438,7 +9438,7 @@ var WB = { exports: {} };
|
|
|
9438
9438
|
}
|
|
9439
9439
|
};
|
|
9440
9440
|
}
|
|
9441
|
-
h(ot.prototype, { then:
|
|
9441
|
+
h(ot.prototype, { then: qn, _then: function(m, y) {
|
|
9442
9442
|
ji(this, new Or(null, null, m, y, Ge));
|
|
9443
9443
|
}, catch: function(m) {
|
|
9444
9444
|
if (arguments.length === 1) return this.then(null, m);
|
|
@@ -28323,7 +28323,7 @@ const eee = ["value", "placeholder", "disabled", "readonly", "inputmode", "maxle
|
|
|
28323
28323
|
label: "",
|
|
28324
28324
|
onClick: P,
|
|
28325
28325
|
"data-index": "prev-btn",
|
|
28326
|
-
onKeydownCapture:
|
|
28326
|
+
onKeydownCapture: jn(Mt(P, ["prevent", "stop"]), ["enter"]),
|
|
28327
28327
|
onKeydown: $(yl)
|
|
28328
28328
|
}, {
|
|
28329
28329
|
default: we(({ hovered: V }) => [
|
|
@@ -28369,7 +28369,7 @@ const eee = ["value", "placeholder", "disabled", "readonly", "inputmode", "maxle
|
|
|
28369
28369
|
disabled: F.value,
|
|
28370
28370
|
label: "",
|
|
28371
28371
|
onClick: L,
|
|
28372
|
-
onKeydownCapture:
|
|
28372
|
+
onKeydownCapture: jn(Mt(L, ["prevent", "stop"]), ["enter"]),
|
|
28373
28373
|
onKeydown: $(yl)
|
|
28374
28374
|
}, {
|
|
28375
28375
|
default: we(({ hovered: V }) => [
|
|
@@ -29281,13 +29281,13 @@ const rte = {
|
|
|
29281
29281
|
ref: i,
|
|
29282
29282
|
tabindex: "1",
|
|
29283
29283
|
onKeydown: [
|
|
29284
|
-
|
|
29285
|
-
|
|
29286
|
-
|
|
29287
|
-
|
|
29288
|
-
|
|
29289
|
-
|
|
29290
|
-
|
|
29284
|
+
jn(Mt(L, ["prevent"]), ["left"]),
|
|
29285
|
+
jn(Mt(P, ["prevent"]), ["right"]),
|
|
29286
|
+
jn(Mt(L, ["prevent"]), ["down"]),
|
|
29287
|
+
jn(Mt(P, ["prevent"]), ["up"]),
|
|
29288
|
+
jn(Mt(I, ["prevent"]), ["enter"]),
|
|
29289
|
+
jn(Mt(I, ["prevent"]), ["tab"]),
|
|
29290
|
+
jn(Mt(R, ["prevent"]), ["escape"])
|
|
29291
29291
|
]
|
|
29292
29292
|
}, [
|
|
29293
29293
|
(j(!0), ce(xt, null, Fn(e.params.maxRating, (x) => (j(), ze(c0(u.value), {
|
|
@@ -29844,8 +29844,8 @@ const rte = {
|
|
|
29844
29844
|
onHandleClick: oe,
|
|
29845
29845
|
"tab-index": "1",
|
|
29846
29846
|
onKeypress: [
|
|
29847
|
-
|
|
29848
|
-
|
|
29847
|
+
jn(Mt(Ae, ["shift", "prevent"]), ["tab"]),
|
|
29848
|
+
jn(Mt(f, ["prevent"]), ["escape"])
|
|
29849
29849
|
],
|
|
29850
29850
|
disabled: !p.value
|
|
29851
29851
|
}, {
|
|
@@ -35663,7 +35663,7 @@ const Ore = (e, t, n, o, s, r, i) => {
|
|
|
35663
35663
|
_: 1
|
|
35664
35664
|
}, 8, ["isUpdating", "disabled"]));
|
|
35665
35665
|
}
|
|
35666
|
-
}), Mre = /* @__PURE__ */ bt(Bre, [["__scopeId", "data-v-
|
|
35666
|
+
}), Mre = /* @__PURE__ */ bt(Bre, [["__scopeId", "data-v-74f7852a"]]), Oy = /* @__PURE__ */ au("bulkUpdate", () => {
|
|
35667
35667
|
const e = /* @__PURE__ */ G(kt.UNCHECK), t = /* @__PURE__ */ Ko({
|
|
35668
35668
|
loaded: 0,
|
|
35669
35669
|
total: 0
|
|
@@ -36700,7 +36700,7 @@ const jre = { class: "input-wrapper" }, Kre = ["data-placeholder"], qre = /* @__
|
|
|
36700
36700
|
onBlur: te[4] || (te[4] = (Q) => P("first")),
|
|
36701
36701
|
"show-clear": !1
|
|
36702
36702
|
}, {
|
|
36703
|
-
clear: we(() => [...te[
|
|
36703
|
+
clear: we(() => [...te[10] || (te[10] = [
|
|
36704
36704
|
Ie("div", null, null, -1)
|
|
36705
36705
|
])]),
|
|
36706
36706
|
_: 1
|
|
@@ -36730,7 +36730,7 @@ const jre = { class: "input-wrapper" }, Kre = ["data-placeholder"], qre = /* @__
|
|
|
36730
36730
|
ref_key: "cancelBtnRef",
|
|
36731
36731
|
ref: S
|
|
36732
36732
|
}, {
|
|
36733
|
-
default: we(() => [...te[
|
|
36733
|
+
default: we(() => [...te[11] || (te[11] = [
|
|
36734
36734
|
nt(" Cancel ", -1)
|
|
36735
36735
|
])]),
|
|
36736
36736
|
_: 1
|
|
@@ -36739,9 +36739,12 @@ const jre = { class: "input-wrapper" }, Kre = ["data-placeholder"], qre = /* @__
|
|
|
36739
36739
|
]),
|
|
36740
36740
|
je((j(), ze($(mt), {
|
|
36741
36741
|
onClick: q,
|
|
36742
|
-
disabled: T.value
|
|
36742
|
+
disabled: T.value,
|
|
36743
|
+
onKeydown: te[9] || (te[9] = jn((Q) => {
|
|
36744
|
+
Q.stopPropagation(), Q.preventDefault(), q();
|
|
36745
|
+
}, ["enter"]))
|
|
36743
36746
|
}, {
|
|
36744
|
-
default: we(() => [...te[
|
|
36747
|
+
default: we(() => [...te[12] || (te[12] = [
|
|
36745
36748
|
nt(" Rename ", -1)
|
|
36746
36749
|
])]),
|
|
36747
36750
|
_: 1
|
|
@@ -36751,7 +36754,7 @@ const jre = { class: "input-wrapper" }, Kre = ["data-placeholder"], qre = /* @__
|
|
|
36751
36754
|
])
|
|
36752
36755
|
]),
|
|
36753
36756
|
Ie("div", vie, [
|
|
36754
|
-
te[
|
|
36757
|
+
te[13] || (te[13] = Ie("span", { class: "preview-title" }, "Preview", -1)),
|
|
36755
36758
|
Ie("ul", Cie, [
|
|
36756
36759
|
(j(!0), ce(xt, null, Fn(M.value, (Q, ue) => (j(), ce("li", { key: ue }, [
|
|
36757
36760
|
ye(eie, { text: Q }, null, 8, ["text"])
|
|
@@ -36761,7 +36764,7 @@ const jre = { class: "input-wrapper" }, Kre = ["data-placeholder"], qre = /* @__
|
|
|
36761
36764
|
])
|
|
36762
36765
|
], 32));
|
|
36763
36766
|
}
|
|
36764
|
-
}), bie = /* @__PURE__ */ bt(wie, [["__scopeId", "data-v-
|
|
36767
|
+
}), bie = /* @__PURE__ */ bt(wie, [["__scopeId", "data-v-436b7602"]]), Aie = /* @__PURE__ */ tt({
|
|
36765
36768
|
__name: "BulkRenameButton",
|
|
36766
36769
|
props: {
|
|
36767
36770
|
item: {},
|
|
@@ -37950,7 +37953,12 @@ const As = /* @__PURE__ */ au("toast", () => {
|
|
|
37950
37953
|
},
|
|
37951
37954
|
apiUnavailableMessage: "Grid API is not available for bulk unarchive.",
|
|
37952
37955
|
failureMessage: "Failed to unarchive items.",
|
|
37953
|
-
onSuccess: (k, O, ae) => M(
|
|
37956
|
+
onSuccess: (k, O, ae) => M(
|
|
37957
|
+
k,
|
|
37958
|
+
ae,
|
|
37959
|
+
() => X(k, "isArchived", !1, ["name"]),
|
|
37960
|
+
["name"]
|
|
37961
|
+
)
|
|
37954
37962
|
})
|
|
37955
37963
|
), W = () => (
|
|
37956
37964
|
// Queue action only 202
|
|
@@ -37961,10 +37969,15 @@ const As = /* @__PURE__ */ au("toast", () => {
|
|
|
37961
37969
|
},
|
|
37962
37970
|
apiUnavailableMessage: "Grid API is not available for bulk archive.",
|
|
37963
37971
|
failureMessage: "Failed to archive items.",
|
|
37964
|
-
onSuccess: (k, O, ae) => M(
|
|
37972
|
+
onSuccess: (k, O, ae) => M(
|
|
37973
|
+
k,
|
|
37974
|
+
ae,
|
|
37975
|
+
() => X(k, "isArchived", !0, ["name"]),
|
|
37976
|
+
["name"]
|
|
37977
|
+
)
|
|
37965
37978
|
})
|
|
37966
37979
|
), ee = () => (
|
|
37967
|
-
//Immediate action 200 status only
|
|
37980
|
+
//Immediate action 200 status only
|
|
37968
37981
|
x({
|
|
37969
37982
|
request: () => {
|
|
37970
37983
|
var k;
|
|
@@ -37973,10 +37986,15 @@ const As = /* @__PURE__ */ au("toast", () => {
|
|
|
37973
37986
|
apiUnavailableMessage: "Grid API is not available for bulk thumbnail deletion.",
|
|
37974
37987
|
failureMessage: "Failed to delete thumbnails.",
|
|
37975
37988
|
// onSuccess: (ids, api, status) => ids.forEach((id) => updateRowData(api, id, { thumbnail: null })),
|
|
37976
|
-
onSuccess: (k, O, ae) => M(
|
|
37989
|
+
onSuccess: (k, O, ae) => M(
|
|
37990
|
+
k,
|
|
37991
|
+
ae,
|
|
37992
|
+
() => X(k, "thumbnail", null, ["thumbnail"]),
|
|
37993
|
+
["thumbnail"]
|
|
37994
|
+
)
|
|
37977
37995
|
})
|
|
37978
37996
|
), se = () => (
|
|
37979
|
-
//Immediate action 200 status only
|
|
37997
|
+
//Immediate action 200 status only
|
|
37980
37998
|
x({
|
|
37981
37999
|
request: () => {
|
|
37982
38000
|
var k;
|
|
@@ -38606,8 +38624,8 @@ const As = /* @__PURE__ */ au("toast", () => {
|
|
|
38606
38624
|
ref_key: "editButtonRef",
|
|
38607
38625
|
ref: I,
|
|
38608
38626
|
onKeydown: [
|
|
38609
|
-
|
|
38610
|
-
|
|
38627
|
+
jn(Mt(E, ["prevent", "stop"]), ["enter"]),
|
|
38628
|
+
jn(Mt(S, ["prevent", "stop"]), ["escape"])
|
|
38611
38629
|
]
|
|
38612
38630
|
}, {
|
|
38613
38631
|
default: we(() => [
|
|
@@ -43461,7 +43479,7 @@ const Lce = /* @__PURE__ */ tt({
|
|
|
43461
43479
|
label: "",
|
|
43462
43480
|
onClick: a,
|
|
43463
43481
|
"data-index": "prev-btn",
|
|
43464
|
-
onKeydownCapture:
|
|
43482
|
+
onKeydownCapture: jn(Mt(a, ["prevent", "stop"]), ["enter"])
|
|
43465
43483
|
}, {
|
|
43466
43484
|
default: we(({ hovered: p }) => [
|
|
43467
43485
|
ye($(ht), {
|
|
@@ -43506,7 +43524,7 @@ const Lce = /* @__PURE__ */ tt({
|
|
|
43506
43524
|
disabled: r.value,
|
|
43507
43525
|
label: "",
|
|
43508
43526
|
onClick: l,
|
|
43509
|
-
onKeydownCapture:
|
|
43527
|
+
onKeydownCapture: jn(Mt(l, ["prevent", "stop"]), ["enter"])
|
|
43510
43528
|
}, {
|
|
43511
43529
|
default: we(({ hovered: p }) => [
|
|
43512
43530
|
ye($(ht), {
|
|
@@ -44993,8 +45011,8 @@ const Ny = /* @__PURE__ */ au("userStore", () => {
|
|
|
44993
45011
|
variant: ["secondary"],
|
|
44994
45012
|
onClick: $(f),
|
|
44995
45013
|
onKeydown: [
|
|
44996
|
-
|
|
44997
|
-
k[22] || (k[22] =
|
|
45014
|
+
jn($(f), ["enter"]),
|
|
45015
|
+
k[22] || (k[22] = jn((O) => le(O), ["tab"]))
|
|
44998
45016
|
],
|
|
44999
45017
|
onFocus: k[21] || (k[21] = (O) => A.value = "cancel"),
|
|
45000
45018
|
tabindex: "0"
|
|
@@ -45018,8 +45036,8 @@ const Ny = /* @__PURE__ */ au("userStore", () => {
|
|
|
45018
45036
|
ref: L,
|
|
45019
45037
|
onClick: k[23] || (k[23] = () => be("keep")),
|
|
45020
45038
|
onKeydown: [
|
|
45021
|
-
k[24] || (k[24] =
|
|
45022
|
-
k[26] || (k[26] =
|
|
45039
|
+
k[24] || (k[24] = jn((O) => !x.value && be("keep"), ["enter"])),
|
|
45040
|
+
k[26] || (k[26] = jn((O) => le(O), ["tab"]))
|
|
45023
45041
|
],
|
|
45024
45042
|
onFocus: k[25] || (k[25] = (O) => A.value = "create-keep"),
|
|
45025
45043
|
disabled: x.value,
|
|
@@ -45052,8 +45070,8 @@ const Ny = /* @__PURE__ */ au("userStore", () => {
|
|
|
45052
45070
|
ref: D,
|
|
45053
45071
|
onClick: k[27] || (k[27] = () => be("clear")),
|
|
45054
45072
|
onKeydown: [
|
|
45055
|
-
k[28] || (k[28] =
|
|
45056
|
-
k[30] || (k[30] =
|
|
45073
|
+
k[28] || (k[28] = jn((O) => !x.value && be("clear"), ["enter"])),
|
|
45074
|
+
k[30] || (k[30] = jn((O) => le(O), ["tab"]))
|
|
45057
45075
|
],
|
|
45058
45076
|
onFocus: k[29] || (k[29] = (O) => A.value = "create"),
|
|
45059
45077
|
disabled: x.value,
|
|
@@ -51080,7 +51098,7 @@ const Zge = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAwAAAAMACAYAAACTgQCOA
|
|
|
51080
51098
|
}, null, 40, ome)) : Ye("", !0)
|
|
51081
51099
|
], 2));
|
|
51082
51100
|
}
|
|
51083
|
-
}), rme = /* @__PURE__ */ bt(sme, [["__scopeId", "data-v-
|
|
51101
|
+
}), rme = /* @__PURE__ */ bt(sme, [["__scopeId", "data-v-ce2bc676"]]), Zx = {
|
|
51084
51102
|
text: Ja,
|
|
51085
51103
|
id: void 0,
|
|
51086
51104
|
assignees: Fae,
|
|
@@ -51714,7 +51732,7 @@ function Ff(e) {
|
|
|
51714
51732
|
function pi(e) {
|
|
51715
51733
|
return e.eRootDiv.getRootNode();
|
|
51716
51734
|
}
|
|
51717
|
-
function
|
|
51735
|
+
function Kn(e) {
|
|
51718
51736
|
return pi(e).activeElement;
|
|
51719
51737
|
}
|
|
51720
51738
|
function Lo(e) {
|
|
@@ -51724,7 +51742,7 @@ function Lo(e) {
|
|
|
51724
51742
|
return s && pt(s) ? o = s() : n && (o = n.ownerDocument), o && pt(o) ? o : document;
|
|
51725
51743
|
}
|
|
51726
51744
|
function Y2(e) {
|
|
51727
|
-
const t =
|
|
51745
|
+
const t = Kn(e);
|
|
51728
51746
|
return t === null || t === Lo(e).body;
|
|
51729
51747
|
}
|
|
51730
51748
|
function J2(e) {
|
|
@@ -54677,11 +54695,11 @@ function jH(e) {
|
|
|
54677
54695
|
return typeof e == "object" && !!e.component;
|
|
54678
54696
|
}
|
|
54679
54697
|
function uCe(e, t) {
|
|
54680
|
-
return new
|
|
54698
|
+
return new Yn((n) => {
|
|
54681
54699
|
n(window.setInterval(e, t));
|
|
54682
54700
|
});
|
|
54683
54701
|
}
|
|
54684
|
-
var
|
|
54702
|
+
var Yn = class hf {
|
|
54685
54703
|
constructor(t) {
|
|
54686
54704
|
this.status = 0, this.resolution = null, this.waiters = [], t(
|
|
54687
54705
|
(n) => this.onDone(n),
|
|
@@ -54785,7 +54803,7 @@ var hCe = class extends qe {
|
|
|
54785
54803
|
o
|
|
54786
54804
|
), this.createBean(r);
|
|
54787
54805
|
const i = (a = r.init) == null ? void 0 : a.call(r, n);
|
|
54788
|
-
return i == null ?
|
|
54806
|
+
return i == null ? Yn.resolve(r) : i.then(() => r);
|
|
54789
54807
|
}
|
|
54790
54808
|
/**
|
|
54791
54809
|
* merges params with application provided params
|
|
@@ -55188,7 +55206,7 @@ function eu(e, t = !1, n = !1, o = !1) {
|
|
|
55188
55206
|
return r ? (r.focus({ preventScroll: !0 }), !0) : !1;
|
|
55189
55207
|
}
|
|
55190
55208
|
function uu(e, t, n, o) {
|
|
55191
|
-
const s = vd(t, n ? ':not([tabindex="-1"])' : null), r =
|
|
55209
|
+
const s = vd(t, n ? ':not([tabindex="-1"])' : null), r = Kn(e);
|
|
55192
55210
|
let i;
|
|
55193
55211
|
n ? i = s.findIndex((l) => l.contains(r)) : i = s.indexOf(r);
|
|
55194
55212
|
const a = i + (o ? -1 : 1);
|
|
@@ -55520,7 +55538,7 @@ var bc = class extends oG {
|
|
|
55520
55538
|
typeof t == "number" && this.setPrecision(t), typeof n == "number" && this.setMin(n), typeof o == "number" && this.setMax(o), typeof s == "number" && this.setStep(s);
|
|
55521
55539
|
}
|
|
55522
55540
|
onWheel(e) {
|
|
55523
|
-
|
|
55541
|
+
Kn(this.beans) === this.eInput && e.preventDefault();
|
|
55524
55542
|
}
|
|
55525
55543
|
normalizeValue(e) {
|
|
55526
55544
|
return e === "" ? "" : (this.precision != null && (e = this.adjustPrecision(e)), e);
|
|
@@ -55613,7 +55631,7 @@ var bc = class extends oG {
|
|
|
55613
55631
|
}), this.eInput.step = "any";
|
|
55614
55632
|
}
|
|
55615
55633
|
onWheel(e) {
|
|
55616
|
-
|
|
55634
|
+
Kn(this.beans) === this.eInput && e.preventDefault();
|
|
55617
55635
|
}
|
|
55618
55636
|
setMin(e) {
|
|
55619
55637
|
const t = e instanceof Date ? qs(e ?? null, !!this.includeTime) ?? void 0 : e;
|
|
@@ -56872,7 +56890,7 @@ ${r}}
|
|
|
56872
56890
|
}
|
|
56873
56891
|
isTooltipFocused() {
|
|
56874
56892
|
var n;
|
|
56875
|
-
const e = (n = this.tooltipComp) == null ? void 0 : n.getGui(), t =
|
|
56893
|
+
const e = (n = this.tooltipComp) == null ? void 0 : n.getGui(), t = Kn(this.beans);
|
|
56876
56894
|
return !!e && e.contains(t);
|
|
56877
56895
|
}
|
|
56878
56896
|
onTooltipFocusOut(e) {
|
|
@@ -57090,7 +57108,7 @@ ${r}}
|
|
|
57090
57108
|
const t = this.beans, n = Lo(t), { wrapperEl: o, eChild: s, closedCallback: r, afterGuiAttached: i, closeOnEsc: a, modal: l, ariaOwns: c } = e;
|
|
57091
57109
|
let u = !1;
|
|
57092
57110
|
const d = (g) => {
|
|
57093
|
-
if (!o.contains(
|
|
57111
|
+
if (!o.contains(Kn(t)))
|
|
57094
57112
|
return;
|
|
57095
57113
|
g.key === Ve.ESCAPE && !this.isStopPropagation(g) && p({ keyboardEvent: g });
|
|
57096
57114
|
}, h = (g) => p({ mouseEvent: g }), f = (g) => p({ touchEvent: g }), p = (g = {}) => {
|
|
@@ -57153,7 +57171,7 @@ ${r}}
|
|
|
57153
57171
|
1
|
|
57154
57172
|
/* Horizontal */
|
|
57155
57173
|
), u = this.beans.frameworkOverrides;
|
|
57156
|
-
return new
|
|
57174
|
+
return new Yn((d) => {
|
|
57157
57175
|
u.wrapIncoming(() => {
|
|
57158
57176
|
uCe(() => {
|
|
57159
57177
|
const h = t.getBoundingClientRect(), f = o.getBoundingClientRect();
|
|
@@ -58598,7 +58616,7 @@ var vwe = class extends An {
|
|
|
58598
58616
|
afterInit() {
|
|
58599
58617
|
var e;
|
|
58600
58618
|
return ((e = this.wrapper) == null ? void 0 : e.then(() => {
|
|
58601
|
-
})) ??
|
|
58619
|
+
})) ?? Yn.resolve();
|
|
58602
58620
|
}
|
|
58603
58621
|
afterGuiAttached(e) {
|
|
58604
58622
|
var t;
|
|
@@ -60992,7 +61010,7 @@ var bbe = class extends qe {
|
|
|
60992
61010
|
}
|
|
60993
61011
|
onFocusOut(e) {
|
|
60994
61012
|
const { relatedTarget: t } = e, { eGui: n, beans: o } = this;
|
|
60995
|
-
!t && n.contains(
|
|
61013
|
+
!t && n.contains(Kn(o)) || n.contains(t) || (o.focusSvc.focusedHeader = null);
|
|
60996
61014
|
}
|
|
60997
61015
|
onHeaderContextMenu(e, t, n) {
|
|
60998
61016
|
var i;
|
|
@@ -61292,7 +61310,7 @@ var bbe = class extends qe {
|
|
|
61292
61310
|
return !!s(r);
|
|
61293
61311
|
}
|
|
61294
61312
|
getWrapperHasFocus() {
|
|
61295
|
-
return
|
|
61313
|
+
return Kn(this.beans) === this.eGui;
|
|
61296
61314
|
}
|
|
61297
61315
|
setGui(e, t) {
|
|
61298
61316
|
this.eGui = e, this.addDomData(t), t.addManagedListeners(this.beans.eventSvc, {
|
|
@@ -61365,7 +61383,7 @@ var bbe = class extends qe {
|
|
|
61365
61383
|
}
|
|
61366
61384
|
onGuiKeyDown(e) {
|
|
61367
61385
|
var r;
|
|
61368
|
-
const t =
|
|
61386
|
+
const t = Kn(this.beans), n = e.key === Ve.LEFT || e.key === Ve.RIGHT;
|
|
61369
61387
|
if (this.isResizing && (e.preventDefault(), e.stopImmediatePropagation()), // if elements within the header are focused, we don't process the event
|
|
61370
61388
|
t !== this.eGui || // if shiftKey and altKey are not pressed, it's cell navigation so we don't process the event
|
|
61371
61389
|
!e.shiftKey && !e.altKey || ((this.isResizing || n) && (e.preventDefault(), e.stopImmediatePropagation()), !n))
|
|
@@ -61754,7 +61772,7 @@ var bbe = class extends qe {
|
|
|
61754
61772
|
}
|
|
61755
61773
|
announceAriaDescription() {
|
|
61756
61774
|
var t;
|
|
61757
|
-
if (!this.eGui.contains(
|
|
61775
|
+
if (!this.eGui.contains(Kn(this.beans)))
|
|
61758
61776
|
return;
|
|
61759
61777
|
const e = Array.from(this.ariaDescriptionProperties.keys()).sort((n, o) => n === "filter" ? -1 : o.charCodeAt(0) - n.charCodeAt(0)).map((n) => this.ariaDescriptionProperties.get(n)).join(". ");
|
|
61760
61778
|
(t = this.beans.ariaAnnounce) == null || t.announceValue(e, "columnHeader");
|
|
@@ -62342,7 +62360,7 @@ var Vbe = (
|
|
|
62342
62360
|
}), this.addManagedElementListeners(e.eGridCell, {
|
|
62343
62361
|
keydown: (s) => {
|
|
62344
62362
|
if (s.key === Ve.SPACE && !t.isDisabled()) {
|
|
62345
|
-
e.eGridCell ===
|
|
62363
|
+
e.eGridCell === Kn(n) && t.toggle();
|
|
62346
62364
|
const r = t.getValue();
|
|
62347
62365
|
this.onCheckboxChanged(r), s.preventDefault();
|
|
62348
62366
|
}
|
|
@@ -63166,7 +63184,7 @@ var Zbe = {
|
|
|
63166
63184
|
}
|
|
63167
63185
|
onSpaceKeyDown(e) {
|
|
63168
63186
|
const t = this.cbSelectAll;
|
|
63169
|
-
t.isDisplayed() && !t.getGui().contains(
|
|
63187
|
+
t.isDisplayed() && !t.getGui().contains(Kn(this.beans)) && (e.preventDefault(), t.setValue(!t.getValue()));
|
|
63170
63188
|
}
|
|
63171
63189
|
getCheckboxGui() {
|
|
63172
63190
|
return this.cbSelectAll.getGui();
|
|
@@ -63283,7 +63301,7 @@ var oAe = class extends qe {
|
|
|
63283
63301
|
e.forEachGui(n, (s) => {
|
|
63284
63302
|
s.rowComp.toggleCss("ag-row-selected", o);
|
|
63285
63303
|
const r = s.element;
|
|
63286
|
-
oH(r, o), r.contains(
|
|
63304
|
+
oH(r, o), r.contains(Kn(this.beans)) && t(s);
|
|
63287
63305
|
});
|
|
63288
63306
|
}
|
|
63289
63307
|
announceAriaRowSelection(e) {
|
|
@@ -64039,7 +64057,7 @@ var gAe = { tag: "div", cls: "ag-pinned-left-header", role: "rowgroup" }, mAe =
|
|
|
64039
64057
|
destroyEditor() {
|
|
64040
64058
|
var n, o;
|
|
64041
64059
|
const { context: e } = this.beans;
|
|
64042
|
-
(((n = this.cellEditorPopupWrapper) == null ? void 0 : n.getGui().contains(
|
|
64060
|
+
(((n = this.cellEditorPopupWrapper) == null ? void 0 : n.getGui().contains(Kn(this.beans))) || this.cellCtrl.hasBrowserFocus()) && this.eCell.focus({ preventScroll: !0 }), (o = this.hideEditorPopup) == null || o.call(this), this.hideEditorPopup = void 0, this.cellEditor = e.destroyBean(this.cellEditor), this.cellEditorPopupWrapper = e.destroyBean(this.cellEditorPopupWrapper), qr(this.cellEditorGui), this.cellCtrl.disableEditorTooltipFeature(), this.cellEditorGui = null, this.editorVersion++;
|
|
64043
64061
|
}
|
|
64044
64062
|
refreshCellRenderer(e) {
|
|
64045
64063
|
var n;
|
|
@@ -64112,7 +64130,7 @@ var gAe = { tag: "div", cls: "ag-pinned-left-header", role: "rowgroup" }, mAe =
|
|
|
64112
64130
|
}
|
|
64113
64131
|
addInCellEditor() {
|
|
64114
64132
|
const { eCell: e } = this;
|
|
64115
|
-
e.contains(
|
|
64133
|
+
e.contains(Kn(this.beans)) && e.focus(), this.destroyRenderer(), this.refreshWrapper(!0), zo(this.getParentOfValue()), this.cellEditorGui && this.getParentOfValue().appendChild(this.cellEditorGui);
|
|
64116
64134
|
}
|
|
64117
64135
|
addPopupCellEditor(e, t) {
|
|
64118
64136
|
var C;
|
|
@@ -64603,7 +64621,7 @@ var RAe = class extends An {
|
|
|
64603
64621
|
return !qy(e) || !Mc(e) || !!((n = (t = e.sideBar) == null ? void 0 : t.comp) != null && n.isDisplayed());
|
|
64604
64622
|
}
|
|
64605
64623
|
getNextFocusableIndex(e, t) {
|
|
64606
|
-
const n =
|
|
64624
|
+
const n = Kn(this.beans), o = e.findIndex((r) => r.getGui().contains(n)), s = o + (t ? -1 : 1);
|
|
64607
64625
|
return {
|
|
64608
64626
|
indexWithFocus: o,
|
|
64609
64627
|
nextIndex: s
|
|
@@ -70177,14 +70195,14 @@ var N0e = class extends qe {
|
|
|
70177
70195
|
return e.get("suppressFocusAfterRefresh") || e.get("suppressCellFocus") || !t || !this.doesRowOrCellHaveBrowserFocus() ? null : t;
|
|
70178
70196
|
}
|
|
70179
70197
|
getFocusHeaderToUseAfterRefresh() {
|
|
70180
|
-
return this.gos.get("suppressFocusAfterRefresh") || !this.focusedHeader || !this.isDomDataPresentInHierarchy(
|
|
70198
|
+
return this.gos.get("suppressFocusAfterRefresh") || !this.focusedHeader || !this.isDomDataPresentInHierarchy(Kn(this.beans), MG) ? null : this.focusedHeader;
|
|
70181
70199
|
}
|
|
70182
70200
|
/**
|
|
70183
70201
|
* Check for both cells and rows, as a row might be destroyed and the dom data removed before the cell if the
|
|
70184
70202
|
* row is animating out.
|
|
70185
70203
|
*/
|
|
70186
70204
|
doesRowOrCellHaveBrowserFocus() {
|
|
70187
|
-
const e =
|
|
70205
|
+
const e = Kn(this.beans);
|
|
70188
70206
|
return this.isDomDataPresentInHierarchy(e, HC) ? !0 : this.isDomDataPresentInHierarchy(e, GC);
|
|
70189
70207
|
}
|
|
70190
70208
|
isDomDataPresentInHierarchy(e, t) {
|
|
@@ -73895,7 +73913,7 @@ var HIe = class extends qe {
|
|
|
73895
73913
|
const a = mF(n, r, i);
|
|
73896
73914
|
if ((c = (l = o.getGridBodyCtrl()) == null ? void 0 : l.scrollFeature) != null && c.isScrolling()) {
|
|
73897
73915
|
let u;
|
|
73898
|
-
const d = new
|
|
73916
|
+
const d = new Yn((f) => {
|
|
73899
73917
|
u = f;
|
|
73900
73918
|
}), [h] = this.addManagedListeners(s, {
|
|
73901
73919
|
bodyScrollEnd: () => {
|
|
@@ -73904,7 +73922,7 @@ var HIe = class extends qe {
|
|
|
73904
73922
|
});
|
|
73905
73923
|
return { loadingComp: a, onReady: d };
|
|
73906
73924
|
}
|
|
73907
|
-
return { loadingComp: a, onReady:
|
|
73925
|
+
return { loadingComp: a, onReady: Yn.resolve() };
|
|
73908
73926
|
}
|
|
73909
73927
|
showValue(e, t) {
|
|
73910
73928
|
var d, h, f, p;
|
|
@@ -74250,7 +74268,7 @@ var HIe = class extends qe {
|
|
|
74250
74268
|
}
|
|
74251
74269
|
hasBrowserFocus() {
|
|
74252
74270
|
var e;
|
|
74253
|
-
return ((e = this.eGui) == null ? void 0 : e.contains(
|
|
74271
|
+
return ((e = this.eGui) == null ? void 0 : e.contains(Kn(this.beans))) ?? !1;
|
|
74254
74272
|
}
|
|
74255
74273
|
createSelectionCheckbox() {
|
|
74256
74274
|
var t;
|
|
@@ -74829,7 +74847,7 @@ var XIe = class extends qe {
|
|
|
74829
74847
|
return;
|
|
74830
74848
|
const t = this.allRowGuis.find(
|
|
74831
74849
|
(l) => l.element.contains(e.target)
|
|
74832
|
-
), n = t ? t.element : null, o = n === e.target, s =
|
|
74850
|
+
), n = t ? t.element : null, o = n === e.target, s = Kn(this.beans);
|
|
74833
74851
|
let r = !1;
|
|
74834
74852
|
n && s && (r = n.contains(s) && s.classList.contains("ag-cell"));
|
|
74835
74853
|
let i = null;
|
|
@@ -75179,7 +75197,7 @@ var XIe = class extends qe {
|
|
|
75179
75197
|
} else
|
|
75180
75198
|
for (const r of this.allRowGuis)
|
|
75181
75199
|
r.rowComp.toggleCss("ag-opacity-zero", !0);
|
|
75182
|
-
(o = this.fullWidthGui) != null && o.element.contains(
|
|
75200
|
+
(o = this.fullWidthGui) != null && o.element.contains(Kn(this.beans)) && this.beans.focusSvc.attemptToRecoverFocus(), t.setHovered(!1);
|
|
75183
75201
|
const n = this.createRowEvent("virtualRowRemoved");
|
|
75184
75202
|
this.dispatchLocalEvent(n), this.beans.eventSvc.dispatchEvent(n), super.destroy();
|
|
75185
75203
|
}
|
|
@@ -75999,7 +76017,7 @@ var m_e = (
|
|
|
75999
76017
|
showOverlay(e, t, n, o) {
|
|
76000
76018
|
if (this.setWrapperTypeClass(t), this.destroyActiveOverlay(), this.elToFocusAfter = null, this.activePromise = e, !!e) {
|
|
76001
76019
|
if (this.setDisplayed(!0, { skipAriaHidden: !0 }), n && this.isGridFocused()) {
|
|
76002
|
-
const s =
|
|
76020
|
+
const s = Kn(this.beans);
|
|
76003
76021
|
s && !Y2(this.beans) && (this.elToFocusAfter = s);
|
|
76004
76022
|
}
|
|
76005
76023
|
e.then((s) => {
|
|
@@ -76038,7 +76056,7 @@ var m_e = (
|
|
|
76038
76056
|
this.destroyActiveOverlay(), this.setDisplayed(!1, { skipAriaHidden: !0 });
|
|
76039
76057
|
}
|
|
76040
76058
|
isGridFocused() {
|
|
76041
|
-
const e =
|
|
76059
|
+
const e = Kn(this.beans);
|
|
76042
76060
|
return !!e && this.beans.eGridDiv.contains(e);
|
|
76043
76061
|
}
|
|
76044
76062
|
destroy() {
|
|
@@ -79152,7 +79170,7 @@ var CRe = class extends qe {
|
|
|
79152
79170
|
onTabKeyDown(e) {
|
|
79153
79171
|
var i;
|
|
79154
79172
|
const { beans: t } = this;
|
|
79155
|
-
if (
|
|
79173
|
+
if (Kn(t) === this.eGui)
|
|
79156
79174
|
return;
|
|
79157
79175
|
const s = uu(t, this.eGui, null, e.shiftKey);
|
|
79158
79176
|
if (s) {
|
|
@@ -79564,7 +79582,7 @@ var MRe = {
|
|
|
79564
79582
|
this.model = {}, this.allColumnFilters.forEach((l) => {
|
|
79565
79583
|
i.push(this.setModelOnFilterWrapper(l, null));
|
|
79566
79584
|
});
|
|
79567
|
-
|
|
79585
|
+
Yn.all(i).then(() => {
|
|
79568
79586
|
const l = this.getModel(!0), c = [];
|
|
79569
79587
|
this.allColumnFilters.forEach((u, d) => {
|
|
79570
79588
|
const h = a ? a[d] : null, f = l ? l[d] : null;
|
|
@@ -79644,7 +79662,7 @@ var MRe = {
|
|
|
79644
79662
|
const u = c.column, d = u.getColId();
|
|
79645
79663
|
if (c.isHandler)
|
|
79646
79664
|
l.push(
|
|
79647
|
-
|
|
79665
|
+
Yn.resolve().then(() => {
|
|
79648
79666
|
a(u, this.isHandlerActive(u), {
|
|
79649
79667
|
colId: d,
|
|
79650
79668
|
isHandler: !0,
|
|
@@ -79665,7 +79683,7 @@ var MRe = {
|
|
|
79665
79683
|
})
|
|
79666
79684
|
);
|
|
79667
79685
|
}
|
|
79668
|
-
}),
|
|
79686
|
+
}), Yn.all(l).then(() => {
|
|
79669
79687
|
this.activeAggregateFilters = r, this.activeColumnFilters = i;
|
|
79670
79688
|
});
|
|
79671
79689
|
}
|
|
@@ -79676,7 +79694,7 @@ var MRe = {
|
|
|
79676
79694
|
const r = s.column;
|
|
79677
79695
|
if (s.isHandler)
|
|
79678
79696
|
n.push(
|
|
79679
|
-
|
|
79697
|
+
Yn.resolve().then(() => {
|
|
79680
79698
|
this.setColFilterActive(
|
|
79681
79699
|
r,
|
|
79682
79700
|
this.isHandlerActive(r),
|
|
@@ -79698,7 +79716,7 @@ var MRe = {
|
|
|
79698
79716
|
})
|
|
79699
79717
|
);
|
|
79700
79718
|
}
|
|
79701
|
-
}), (o = this.beans.groupFilter) == null || o.updateFilterFlags(e, t),
|
|
79719
|
+
}), (o = this.beans.groupFilter) == null || o.updateFilterFlags(e, t), Yn.all(n);
|
|
79702
79720
|
}
|
|
79703
79721
|
doFiltersPass(e, t, n) {
|
|
79704
79722
|
const { data: o, aggData: s } = e, r = n ? this.activeAggregateFilters : this.activeColumnFilters, i = n ? s : o, a = this.model;
|
|
@@ -79775,7 +79793,7 @@ var MRe = {
|
|
|
79775
79793
|
(l = a.onNewRowsLoaded) == null || l.call(a);
|
|
79776
79794
|
})
|
|
79777
79795
|
);
|
|
79778
|
-
}),
|
|
79796
|
+
}), Yn.all(t).then(() => this.updateActive(e, { afterDataChange: !0 }));
|
|
79779
79797
|
}
|
|
79780
79798
|
updateActive(e, t) {
|
|
79781
79799
|
this.updateFilterFlagInColumns(e, t).then(() => this.updateActiveFilters());
|
|
@@ -80133,7 +80151,7 @@ var MRe = {
|
|
|
80133
80151
|
return r.promise.then((l) => (n = s ? n : !!(l != null && l.isFilterActive()), this.destroyBean(l), a(), n));
|
|
80134
80152
|
a();
|
|
80135
80153
|
}
|
|
80136
|
-
return
|
|
80154
|
+
return Yn.resolve(n);
|
|
80137
80155
|
}
|
|
80138
80156
|
filterChangedCallbackFactory(e) {
|
|
80139
80157
|
return (t) => {
|
|
@@ -80196,9 +80214,9 @@ var MRe = {
|
|
|
80196
80214
|
refreshHandlerAndUi(e, t, n, o, s) {
|
|
80197
80215
|
const r = this.cachedFilter(e);
|
|
80198
80216
|
if (!r)
|
|
80199
|
-
return o && this.getOrCreateFilterWrapper(e, !0),
|
|
80217
|
+
return o && this.getOrCreateFilterWrapper(e, !0), Yn.resolve();
|
|
80200
80218
|
if (!r.isHandler)
|
|
80201
|
-
return
|
|
80219
|
+
return Yn.resolve();
|
|
80202
80220
|
const { filterUi: i, handler: a, handlerParams: l } = r;
|
|
80203
80221
|
return fwe(
|
|
80204
80222
|
() => {
|
|
@@ -80208,7 +80226,7 @@ var MRe = {
|
|
|
80208
80226
|
return i.promise.then((d) => d ? { filter: d, filterParams: u } : void 0);
|
|
80209
80227
|
i.refreshed = !0;
|
|
80210
80228
|
}
|
|
80211
|
-
return
|
|
80229
|
+
return Yn.resolve(void 0);
|
|
80212
80230
|
},
|
|
80213
80231
|
a,
|
|
80214
80232
|
l,
|
|
@@ -80280,7 +80298,7 @@ var MRe = {
|
|
|
80280
80298
|
}
|
|
80281
80299
|
setModelForColumnLegacy(e, t) {
|
|
80282
80300
|
const n = this.beans.colModel.getColDefCol(e), o = n ? this.getOrCreateFilterWrapper(n, !0) : null;
|
|
80283
|
-
return o ? this.setModelOnFilterWrapper(o, t) :
|
|
80301
|
+
return o ? this.setModelOnFilterWrapper(o, t) : Yn.resolve();
|
|
80284
80302
|
}
|
|
80285
80303
|
setColDefPropsForDataType(e, t, n) {
|
|
80286
80304
|
var u;
|
|
@@ -80309,7 +80327,7 @@ var MRe = {
|
|
|
80309
80327
|
e.filterActive !== t && (e.filterActive = t, e.dispatchColEvent("filterActiveChanged", n)), e.dispatchColEvent("filterChanged", n, o);
|
|
80310
80328
|
}
|
|
80311
80329
|
setModelOnFilterWrapper(e, t, n) {
|
|
80312
|
-
return new
|
|
80330
|
+
return new Yn((o) => {
|
|
80313
80331
|
if (e.isHandler) {
|
|
80314
80332
|
const r = e.column, i = r.getColId(), a = this.model[i];
|
|
80315
80333
|
if (this.updateStoredModel(i, t), n && t === a) {
|
|
@@ -80326,7 +80344,7 @@ var MRe = {
|
|
|
80326
80344
|
Xe(65), o();
|
|
80327
80345
|
return;
|
|
80328
80346
|
}
|
|
80329
|
-
(r.setModel(t) ||
|
|
80347
|
+
(r.setModel(t) || Yn.resolve()).then(() => o());
|
|
80330
80348
|
});
|
|
80331
80349
|
return;
|
|
80332
80350
|
}
|
|
@@ -80403,7 +80421,7 @@ var MRe = {
|
|
|
80403
80421
|
},
|
|
80404
80422
|
o != null && o.isHandler ? (i = o.handler.processModelToApply) == null ? void 0 : i.bind(o.handler) : void 0
|
|
80405
80423
|
);
|
|
80406
|
-
}), n.length &&
|
|
80424
|
+
}), n.length && Yn.all(n).then(() => {
|
|
80407
80425
|
this.callOnFilterChangedOutsideRenderCycle({
|
|
80408
80426
|
source: "columnFilter",
|
|
80409
80427
|
additionalEventAttributes: t,
|
|
@@ -80563,7 +80581,7 @@ var HRe = class extends qe {
|
|
|
80563
80581
|
}
|
|
80564
80582
|
onFilterChanged(e = {}) {
|
|
80565
80583
|
const { source: t, additionalEventAttributes: n, columns: o = [] } = e;
|
|
80566
|
-
this.externalFilterPresent = this.isExternalFilterPresentCallback(), (this.colFilter ? this.colFilter.updateBeforeFilterChanged(e) :
|
|
80584
|
+
this.externalFilterPresent = this.isExternalFilterPresentCallback(), (this.colFilter ? this.colFilter.updateBeforeFilterChanged(e) : Yn.resolve()).then(() => {
|
|
80567
80585
|
var r;
|
|
80568
80586
|
const s = {
|
|
80569
80587
|
source: t,
|
|
@@ -80972,7 +80990,7 @@ var __ = class extends Dwe {
|
|
|
80972
80990
|
}
|
|
80973
80991
|
setModelIntoUi(e, t) {
|
|
80974
80992
|
if (e == null)
|
|
80975
|
-
return this.resetUiToDefaults(t),
|
|
80993
|
+
return this.resetUiToDefaults(t), Yn.resolve();
|
|
80976
80994
|
if (e.operator) {
|
|
80977
80995
|
const o = e;
|
|
80978
80996
|
let s = o.conditions;
|
|
@@ -80991,7 +81009,7 @@ var __ = class extends Dwe {
|
|
|
80991
81009
|
const o = e;
|
|
80992
81010
|
this.getNumConditions() > 1 && this.removeConditionsAndOperators(1), this.eTypes[0].setValue(o.type, !0), this.setConditionIntoUi(o, 0);
|
|
80993
81011
|
}
|
|
80994
|
-
return this.lastUiCompletePosition = this.getNumConditions() - 1, this.createMissingConditionsAndOperators(), this.updateUiVisibility(), t || this.params.onUiChange(this.getUiChangeEventParams()),
|
|
81012
|
+
return this.lastUiCompletePosition = this.getNumConditions() - 1, this.createMissingConditionsAndOperators(), this.updateUiVisibility(), t || this.params.onUiChange(this.getUiChangeEventParams()), Yn.resolve();
|
|
80995
81013
|
}
|
|
80996
81014
|
setNumConditions(e) {
|
|
80997
81015
|
let t = e.maxNumConditions ?? 2;
|
|
@@ -90622,7 +90640,10 @@ const xxe = () => [...[
|
|
|
90622
90640
|
filter: !1,
|
|
90623
90641
|
flex: 1,
|
|
90624
90642
|
context: { ...x },
|
|
90625
|
-
hide: w ?
|
|
90643
|
+
hide: w ? (
|
|
90644
|
+
// metrics missing from the saved config start hidden
|
|
90645
|
+
!p.has(`metric_${x.id}`)
|
|
90646
|
+
) : !(x.is_primary || x.is_point_metric),
|
|
90626
90647
|
cellClass: "ag-cell-optimized",
|
|
90627
90648
|
headerComponent: EC(rl),
|
|
90628
90649
|
headerComponentParams: () => ({
|
|
@@ -91723,7 +91744,7 @@ const Uxe = {
|
|
|
91723
91744
|
]),
|
|
91724
91745
|
_: 2
|
|
91725
91746
|
}, [
|
|
91726
|
-
f.value ===
|
|
91747
|
+
f.value === 4 || f.value === 3 ? {
|
|
91727
91748
|
name: "footer",
|
|
91728
91749
|
fn: we(() => [
|
|
91729
91750
|
f.value === 4 ? (j(), ze($(mt), {
|
|
@@ -91782,7 +91803,7 @@ const Uxe = {
|
|
|
91782
91803
|
} : void 0
|
|
91783
91804
|
]), 1040));
|
|
91784
91805
|
}
|
|
91785
|
-
}), AFe = /* @__PURE__ */ bt(bFe, [["__scopeId", "data-v-
|
|
91806
|
+
}), AFe = /* @__PURE__ */ bt(bFe, [["__scopeId", "data-v-911bb84e"]]), EFe = /* @__PURE__ */ tt({
|
|
91786
91807
|
__name: "item-table",
|
|
91787
91808
|
props: {
|
|
91788
91809
|
entityId: {},
|
|
@@ -92110,7 +92131,7 @@ const Uxe = {
|
|
|
92110
92131
|
var Ne;
|
|
92111
92132
|
(Ne = Le.value) == null || Ne.open();
|
|
92112
92133
|
});
|
|
92113
|
-
},
|
|
92134
|
+
}, qn = async () => {
|
|
92114
92135
|
Fe.value = !0, v.value && (P.value = "", D.value.clear(), Object.keys(Ae).forEach((Ne) => delete Ae[Number(Ne)]), await v.value.deselectAll(), await v.value.ensureIndexVisible(0, "top"), await v.value.purgeInfiniteCache(), await v.value.refreshInfiniteCache());
|
|
92115
92136
|
}, Or = K(() => ln.getInstance().getItem("ITEM_TABLE_APP_VERSION") || ""), zi = /* @__PURE__ */ G();
|
|
92116
92137
|
K(() => {
|
|
@@ -92224,12 +92245,12 @@ const Uxe = {
|
|
|
92224
92245
|
), Ze(P, (Ne, Ke) => {
|
|
92225
92246
|
L.value = !!(Ke && Ne && Ke !== Ne);
|
|
92226
92247
|
}), t({
|
|
92227
|
-
refreshTable:
|
|
92248
|
+
refreshTable: qn
|
|
92228
92249
|
});
|
|
92229
92250
|
const tw = (Ne) => {
|
|
92230
|
-
Ue.value = Ne,
|
|
92251
|
+
Ue.value = Ne, qn();
|
|
92231
92252
|
}, ri = (Ne) => {
|
|
92232
|
-
k.value = Ne,
|
|
92253
|
+
k.value = Ne, qn();
|
|
92233
92254
|
}, Ga = (Ne) => {
|
|
92234
92255
|
M.value = Ne || [], ee({}, !0);
|
|
92235
92256
|
}, ii = K(() => {
|
|
@@ -92310,7 +92331,7 @@ const Uxe = {
|
|
|
92310
92331
|
je((j(), ze($(mt), {
|
|
92311
92332
|
variant: ["secondary", "icon"],
|
|
92312
92333
|
disabled: $(ae),
|
|
92313
|
-
onClick:
|
|
92334
|
+
onClick: qn
|
|
92314
92335
|
}, {
|
|
92315
92336
|
default: we(() => [
|
|
92316
92337
|
ye($(ht), { src: "ArrowsRotate" })
|
|
@@ -92400,7 +92421,7 @@ const Uxe = {
|
|
|
92400
92421
|
ref: Le,
|
|
92401
92422
|
"workspace-id": f.workspaceId,
|
|
92402
92423
|
"entity-id": f.entityId,
|
|
92403
|
-
onImportSuccess:
|
|
92424
|
+
onImportSuccess: qn,
|
|
92404
92425
|
onHide: Ke[5] || (Ke[5] = (Qt) => tr.showPopupToolboxUploader = !1)
|
|
92405
92426
|
}, null, 8, ["workspace-id", "entity-id"])) : Ye("", !0),
|
|
92406
92427
|
tr.showPopupBulkUpdate ? (j(), ze(AFe, {
|
|
@@ -92409,7 +92430,7 @@ const Uxe = {
|
|
|
92409
92430
|
ref: Bt,
|
|
92410
92431
|
"workspace-id": f.workspaceId,
|
|
92411
92432
|
"entity-id": f.entityId,
|
|
92412
|
-
onImportSuccess:
|
|
92433
|
+
onImportSuccess: qn,
|
|
92413
92434
|
onHide: Ke[6] || (Ke[6] = (Qt) => tr.showPopupBulkUpdate = !1)
|
|
92414
92435
|
}, null, 8, ["workspace-id", "entity-id"])) : Ye("", !0)
|
|
92415
92436
|
]),
|
|
@@ -92427,7 +92448,7 @@ const Uxe = {
|
|
|
92427
92448
|
"beta-tag": "_beta-tag_1sow5_56"
|
|
92428
92449
|
}, PFe = {
|
|
92429
92450
|
$style: TFe
|
|
92430
|
-
}, xFe = /* @__PURE__ */ bt(EFe, [["__cssModules", PFe]]), ZU = "0.1.
|
|
92451
|
+
}, xFe = /* @__PURE__ */ bt(EFe, [["__cssModules", PFe]]), ZU = "0.1.219", FFe = { key: 0 }, kFe = /* @__PURE__ */ tt({
|
|
92431
92452
|
__name: "app",
|
|
92432
92453
|
setup(e) {
|
|
92433
92454
|
const t = K(() => n.id.length === 0 || n.workspaceId.length === 0), n = /* @__PURE__ */ Ko({
|