@epam/ai-dial-ui-kit 0.5.0-rc.6 → 0.5.0-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dial-ui-kit.cjs.js +14 -14
- package/dist/dial-ui-kit.es.js +140 -140
- package/package.json +1 -1
package/dist/dial-ui-kit.es.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as C, jsxs as H, Fragment as Ue } from "react/jsx-runtime";
|
|
|
2
2
|
import Z from "classnames";
|
|
3
3
|
import { useFloating as nl, offset as Du, flip as Pu, shift as Tu, arrow as am, autoUpdate as Mu, useHover as Iu, useFocus as lm, useDismiss as rl, useRole as al, useInteractions as ll, useMergeRefs as ku, FloatingPortal as cl, FloatingArrow as cm, autoPlacement as dm, size as um, useClick as hm, FloatingFocusManager as Au, FloatingOverlay as gm } from "@floating-ui/react";
|
|
4
4
|
import * as he from "react";
|
|
5
|
-
import V, { createContext as Kn, useState as T, useRef as A, useEffect as fe, useMemo as W, useContext as qe, isValidElement as dl, cloneElement as ua, useCallback as O, memo as ut, useLayoutEffect as
|
|
5
|
+
import V, { createContext as Kn, useState as T, useRef as A, useEffect as fe, useMemo as W, useContext as qe, isValidElement as dl, cloneElement as ua, useCallback as O, memo as ut, useLayoutEffect as It, useId as ul, Children as pm, createElement as Jo, Component as fm, forwardRef as hl, useImperativeHandle as gl, Suspense as mm } from "react";
|
|
6
6
|
import { IconInfoCircle as Lu, IconCircleCheck as Cm, IconAlertTriangle as vm, IconAlertCircle as wm, IconX as Ws, IconMinus as bm, IconCheck as Ou, IconExclamationCircle as pl, IconClipboardX as Nu, IconChevronsLeft as Sm, IconChevronsRight as ym, IconGripVertical as Rm, IconFile as xm, IconFileTypeZip as Fm, IconFileTypeXml as Em, IconFileTypeXls as Dm, IconFileTypeVue as Pm, IconFileTypeTxt as Tm, IconFileTypeTsx as Mm, IconFileTypeTs as Im, IconFileTypeSvg as km, IconFileTypeSql as Am, IconFileTypeRs as Lm, IconFileTypePpt as Om, IconFileTypePng as Nm, IconFileTypePhp as Hm, IconFileTypePdf as Gm, IconFileTypeJsx as Vm, IconFileTypeJs as Bm, IconFileTypeJpg as zm, IconFileTypeHtml as Wm, IconFileTypeDocx as _m, IconFileTypeDoc as Um, IconFileTypeCsv as $m, IconFileTypeCss as jm, IconFileTypeBmp as Km, IconArrowUpRight as qm, IconFolder as Hu, IconChevronDown as fl, IconDotsVertical as qn, IconChevronRight as Ym, IconDots as Zm, IconTrashX as ml, IconEyeOff as Gu, IconEye as Vu, IconSearch as Qm, IconPlus as Xm, IconChevronUp as Jm, IconAlertCircleFilled as eC, IconCaretRightFilled as tC, IconZoomCancel as sC, IconFolderPlus as oC, IconCopy as iC, IconDownload as nC, IconPencilMinus as rC } from "@tabler/icons-react";
|
|
7
7
|
import aC, { createPortal as Cl } from "react-dom";
|
|
8
8
|
const _s = ({ errorText: e }) => e && /* @__PURE__ */ C("span", { className: "text-error dial-tiny mt-1", children: e }), Ae = ({ icon: e, className: t }) => e ? /* @__PURE__ */ C("span", { className: Z("flex-shrink-0", t), children: e }) : null, lC = 7, cC = 2, Bu = Kn(null), zu = () => {
|
|
@@ -4719,7 +4719,7 @@ function Ow() {
|
|
|
4719
4719
|
}), Sr;
|
|
4720
4720
|
}
|
|
4721
4721
|
var Nw = Ow();
|
|
4722
|
-
const Hw = /* @__PURE__ */ Lw(Nw), Us = typeof window < "u" ?
|
|
4722
|
+
const Hw = /* @__PURE__ */ Lw(Nw), Us = typeof window < "u" ? It : fe;
|
|
4723
4723
|
function Gw(e, t, s) {
|
|
4724
4724
|
const [o, i] = T(
|
|
4725
4725
|
() => t(e)
|
|
@@ -5565,7 +5565,7 @@ const R1 = ({
|
|
|
5565
5565
|
}
|
|
5566
5566
|
);
|
|
5567
5567
|
};
|
|
5568
|
-
var wa = /* @__PURE__ */ ((e) => (e.Horizontal = "horizontal", e.Vertical = "vertical", e))(wa || {}), bn = /* @__PURE__ */ ((e) => (e.Mobile = "mobile", e.Tablet = "tablet", e))(bn || {}), x1 = /* @__PURE__ */ ((e) => (e.Dropdown = "dropdown", e.Menu = "menu", e))(x1 || {}),
|
|
5568
|
+
var wa = /* @__PURE__ */ ((e) => (e.Horizontal = "horizontal", e.Vertical = "vertical", e))(wa || {}), bn = /* @__PURE__ */ ((e) => (e.Mobile = "mobile", e.Tablet = "tablet", e))(bn || {}), x1 = /* @__PURE__ */ ((e) => (e.Dropdown = "dropdown", e.Menu = "menu", e))(x1 || {}), Mt = /* @__PURE__ */ ((e) => (e.Click = "click", e.Hover = "hover", e.ContextMenu = "contextMenu", e))(Mt || {}), Ch = /* @__PURE__ */ ((e) => (e.Item = "item", e.Divider = "divider", e))(Ch || {});
|
|
5569
5569
|
const F1 = Z(
|
|
5570
5570
|
"flex items-center gap-2 align-middle",
|
|
5571
5571
|
"h-auto px-0 bg-transparent border-0"
|
|
@@ -5590,11 +5590,11 @@ const F1 = Z(
|
|
|
5590
5590
|
onClick: o,
|
|
5591
5591
|
iconBefore: /* @__PURE__ */ C(Ws, { size: s })
|
|
5592
5592
|
}
|
|
5593
|
-
),
|
|
5593
|
+
), At = ({
|
|
5594
5594
|
children: e,
|
|
5595
5595
|
menu: t,
|
|
5596
5596
|
renderOverlay: s,
|
|
5597
|
-
trigger: o = [
|
|
5597
|
+
trigger: o = [Mt.Click],
|
|
5598
5598
|
placement: i,
|
|
5599
5599
|
disabled: n = !1,
|
|
5600
5600
|
open: r,
|
|
@@ -5644,9 +5644,9 @@ const F1 = Z(
|
|
|
5644
5644
|
})
|
|
5645
5645
|
]
|
|
5646
5646
|
}), Y = hm(G, {
|
|
5647
|
-
enabled: o.includes(
|
|
5647
|
+
enabled: o.includes(Mt.Click) && !n
|
|
5648
5648
|
}), B = Iu(G, {
|
|
5649
|
-
enabled: o.includes(
|
|
5649
|
+
enabled: o.includes(Mt.Hover) && !n,
|
|
5650
5650
|
move: !1,
|
|
5651
5651
|
restMs: 40,
|
|
5652
5652
|
delay: { open: 80, close: 80 }
|
|
@@ -5681,7 +5681,7 @@ const F1 = Z(
|
|
|
5681
5681
|
[F]
|
|
5682
5682
|
), le = O(
|
|
5683
5683
|
(K) => {
|
|
5684
|
-
!o.includes(
|
|
5684
|
+
!o.includes(Mt.ContextMenu) || n || (K.preventDefault(), m && (q(K.clientX, K.clientY), R.current = document.elementFromPoint(
|
|
5685
5685
|
K.clientX,
|
|
5686
5686
|
K.clientY
|
|
5687
5687
|
)), x(!0));
|
|
@@ -5689,12 +5689,12 @@ const F1 = Z(
|
|
|
5689
5689
|
[m, n, x, q, o]
|
|
5690
5690
|
), z = O(
|
|
5691
5691
|
(K) => {
|
|
5692
|
-
!m || n || (q(K.clientX, K.clientY), R.current = document.elementFromPoint(
|
|
5692
|
+
!m || n || (o.includes(Mt.ContextMenu) && S && x(!1), q(K.clientX, K.clientY), R.current = document.elementFromPoint(
|
|
5693
5693
|
K.clientX,
|
|
5694
5694
|
K.clientY
|
|
5695
5695
|
));
|
|
5696
5696
|
},
|
|
5697
|
-
[m, n, q]
|
|
5697
|
+
[m, n, q, S, o, x]
|
|
5698
5698
|
);
|
|
5699
5699
|
fe(() => {
|
|
5700
5700
|
n && S && x(!1);
|
|
@@ -5919,9 +5919,9 @@ const Wc = () => typeof window < "u" && window.innerWidth < 640, _c = () => {
|
|
|
5919
5919
|
n
|
|
5920
5920
|
),
|
|
5921
5921
|
children: /* @__PURE__ */ C(
|
|
5922
|
-
|
|
5922
|
+
At,
|
|
5923
5923
|
{
|
|
5924
|
-
trigger: [
|
|
5924
|
+
trigger: [Mt.Click],
|
|
5925
5925
|
open: a,
|
|
5926
5926
|
onOpenChange: l,
|
|
5927
5927
|
placement: "bottom-start",
|
|
@@ -5988,9 +5988,9 @@ const Wc = () => typeof window < "u" && window.innerWidth < 640, _c = () => {
|
|
|
5988
5988
|
R.id
|
|
5989
5989
|
)) }),
|
|
5990
5990
|
u && /* @__PURE__ */ C("div", { className: "flex items-center ml-2", children: /* @__PURE__ */ C(
|
|
5991
|
-
|
|
5991
|
+
At,
|
|
5992
5992
|
{
|
|
5993
|
-
trigger: [
|
|
5993
|
+
trigger: [Mt.Click],
|
|
5994
5994
|
open: c,
|
|
5995
5995
|
onOpenChange: d,
|
|
5996
5996
|
placement: "bottom-end",
|
|
@@ -6123,7 +6123,7 @@ const Wc = () => typeof window < "u" && window.innerWidth < 640, _c = () => {
|
|
|
6123
6123
|
),
|
|
6124
6124
|
/* @__PURE__ */ H("li", { className: me(wh), children: [
|
|
6125
6125
|
/* @__PURE__ */ C(
|
|
6126
|
-
|
|
6126
|
+
At,
|
|
6127
6127
|
{
|
|
6128
6128
|
menu: {
|
|
6129
6129
|
items: g,
|
|
@@ -7310,7 +7310,7 @@ const fb = ({
|
|
|
7310
7310
|
ae
|
|
7311
7311
|
]), Ye = D ? L : ae?.label ?? "";
|
|
7312
7312
|
return /* @__PURE__ */ C(
|
|
7313
|
-
|
|
7313
|
+
At,
|
|
7314
7314
|
{
|
|
7315
7315
|
open: D,
|
|
7316
7316
|
onOpenChange: I,
|
|
@@ -8361,7 +8361,7 @@ const Tb = function(t, s, o) {
|
|
|
8361
8361
|
}, Ab = /* @__PURE__ */ C(fl, { size: 16 }), Lb = /* @__PURE__ */ C(Jm, { size: 16 }), Qc = (e) => {
|
|
8362
8362
|
const [t, s] = T(!1), o = W(() => t ? Lb : Ab, [t]);
|
|
8363
8363
|
return /* @__PURE__ */ C("div", { children: /* @__PURE__ */ C(
|
|
8364
|
-
|
|
8364
|
+
At,
|
|
8365
8365
|
{
|
|
8366
8366
|
menu: {
|
|
8367
8367
|
items: e.items
|
|
@@ -8617,9 +8617,9 @@ const Qb = ({
|
|
|
8617
8617
|
const F = Array.isArray(I) && I.length > 0 && I.some((oe) => oe.nodeType === ns.FOLDER || t), P = f.has(R), G = i === R, Y = o.has(R), B = c === R, ce = p && ((oe) => p(oe, S)), ee = G ? "bg-accent-primary-alpha border-l-2 border-l-accent-primary rounded" : "border-l-2 border-l-transparent", k = u?.(S) ?? [];
|
|
8618
8618
|
return /* @__PURE__ */ C("div", { className: "cursor-pointer text-secondary", children: /* @__PURE__ */ H("div", { className: "flex flex-col min-w-fit w-full", children: [
|
|
8619
8619
|
/* @__PURE__ */ C(
|
|
8620
|
-
|
|
8620
|
+
At,
|
|
8621
8621
|
{
|
|
8622
|
-
trigger: [
|
|
8622
|
+
trigger: [Mt.ContextMenu],
|
|
8623
8623
|
cssClass: "w-full",
|
|
8624
8624
|
anchorToMouse: !0,
|
|
8625
8625
|
menu: { items: k },
|
|
@@ -8673,7 +8673,7 @@ const Qb = ({
|
|
|
8673
8673
|
}
|
|
8674
8674
|
),
|
|
8675
8675
|
k.length > 0 && !B && /* @__PURE__ */ C("div", { className: "flex-1 flex justify-end", children: /* @__PURE__ */ C(
|
|
8676
|
-
|
|
8676
|
+
At,
|
|
8677
8677
|
{
|
|
8678
8678
|
placement: "bottom-start",
|
|
8679
8679
|
allowedPlacements: ["top-start", "top-end"],
|
|
@@ -8919,11 +8919,11 @@ function zo(e) {
|
|
|
8919
8919
|
function oi(e) {
|
|
8920
8920
|
return zo(e)?.replace(i0, (t) => n0[t]) ?? null;
|
|
8921
8921
|
}
|
|
8922
|
-
function
|
|
8922
|
+
function Gt(e) {
|
|
8923
8923
|
return e.eRootDiv.getRootNode();
|
|
8924
8924
|
}
|
|
8925
8925
|
function He(e) {
|
|
8926
|
-
return
|
|
8926
|
+
return Gt(e).activeElement;
|
|
8927
8927
|
}
|
|
8928
8928
|
function Qe(e) {
|
|
8929
8929
|
const { gos: t, eRootDiv: s } = e;
|
|
@@ -8944,7 +8944,7 @@ function Ml(e) {
|
|
|
8944
8944
|
t = Qe(e).fullscreenElement;
|
|
8945
8945
|
} catch {
|
|
8946
8946
|
} finally {
|
|
8947
|
-
t || (t =
|
|
8947
|
+
t || (t = Gt(e));
|
|
8948
8948
|
const o = t.querySelector("body");
|
|
8949
8949
|
o ? s = o : t instanceof ShadowRoot ? s = t : t instanceof Document ? s = t?.documentElement : s = t;
|
|
8950
8950
|
}
|
|
@@ -8956,10 +8956,10 @@ function r0(e) {
|
|
|
8956
8956
|
function a0(e) {
|
|
8957
8957
|
return Ml(e)?.clientHeight ?? (window.innerHeight || -1);
|
|
8958
8958
|
}
|
|
8959
|
-
function Lt(e, t, s) {
|
|
8960
|
-
s == null || typeof s == "string" && s == "" ? Nh(e, t) : Ot(e, t, s);
|
|
8961
|
-
}
|
|
8962
8959
|
function Ot(e, t, s) {
|
|
8960
|
+
s == null || typeof s == "string" && s == "" ? Nh(e, t) : Nt(e, t, s);
|
|
8961
|
+
}
|
|
8962
|
+
function Nt(e, t, s) {
|
|
8963
8963
|
e.setAttribute(Hh(t), s.toString());
|
|
8964
8964
|
}
|
|
8965
8965
|
function Nh(e, t) {
|
|
@@ -8979,73 +8979,73 @@ function c0(e) {
|
|
|
8979
8979
|
return e.getAttribute("aria-label");
|
|
8980
8980
|
}
|
|
8981
8981
|
function Io(e, t) {
|
|
8982
|
-
|
|
8982
|
+
Ot(e, "label", t);
|
|
8983
8983
|
}
|
|
8984
8984
|
function fi(e, t) {
|
|
8985
|
-
|
|
8985
|
+
Ot(e, "labelledby", t);
|
|
8986
8986
|
}
|
|
8987
8987
|
function Gh(e, t) {
|
|
8988
|
-
|
|
8988
|
+
Ot(e, "live", t);
|
|
8989
8989
|
}
|
|
8990
8990
|
function d0(e, t) {
|
|
8991
|
-
|
|
8991
|
+
Ot(e, "atomic", t);
|
|
8992
8992
|
}
|
|
8993
8993
|
function u0(e, t) {
|
|
8994
|
-
|
|
8994
|
+
Ot(e, "relevant", t);
|
|
8995
8995
|
}
|
|
8996
8996
|
function h0(e, t) {
|
|
8997
|
-
|
|
8997
|
+
Ot(e, "invalid", t);
|
|
8998
8998
|
}
|
|
8999
8999
|
function g0(e, t) {
|
|
9000
|
-
|
|
9000
|
+
Ot(e, "disabled", t);
|
|
9001
9001
|
}
|
|
9002
9002
|
function Vh(e, t) {
|
|
9003
|
-
|
|
9003
|
+
Ot(e, "hidden", t);
|
|
9004
9004
|
}
|
|
9005
9005
|
function xa(e, t) {
|
|
9006
|
-
|
|
9006
|
+
Nt(e, "expanded", t);
|
|
9007
9007
|
}
|
|
9008
9008
|
function p0(e, t) {
|
|
9009
|
-
|
|
9009
|
+
Nt(e, "setsize", t);
|
|
9010
9010
|
}
|
|
9011
9011
|
function f0(e, t) {
|
|
9012
|
-
|
|
9012
|
+
Nt(e, "posinset", t);
|
|
9013
9013
|
}
|
|
9014
9014
|
function m0(e, t) {
|
|
9015
|
-
|
|
9015
|
+
Nt(e, "rowcount", t);
|
|
9016
9016
|
}
|
|
9017
9017
|
function Bh(e, t) {
|
|
9018
|
-
|
|
9018
|
+
Nt(e, "rowindex", t);
|
|
9019
9019
|
}
|
|
9020
9020
|
function C0(e, t) {
|
|
9021
|
-
|
|
9021
|
+
Nt(e, "rowspan", t);
|
|
9022
9022
|
}
|
|
9023
9023
|
function v0(e, t) {
|
|
9024
|
-
|
|
9024
|
+
Nt(e, "colcount", t);
|
|
9025
9025
|
}
|
|
9026
9026
|
function zh(e, t) {
|
|
9027
|
-
|
|
9027
|
+
Nt(e, "colindex", t);
|
|
9028
9028
|
}
|
|
9029
9029
|
function w0(e, t) {
|
|
9030
|
-
|
|
9030
|
+
Nt(e, "colspan", t);
|
|
9031
9031
|
}
|
|
9032
9032
|
function b0(e, t) {
|
|
9033
|
-
|
|
9033
|
+
Nt(e, "sort", t);
|
|
9034
9034
|
}
|
|
9035
9035
|
function S0(e) {
|
|
9036
9036
|
Nh(e, "sort");
|
|
9037
9037
|
}
|
|
9038
9038
|
function Wh(e, t) {
|
|
9039
|
-
|
|
9039
|
+
Ot(e, "selected", t);
|
|
9040
9040
|
}
|
|
9041
9041
|
function y0(e, t) {
|
|
9042
|
-
|
|
9042
|
+
Ot(e, "controls", t);
|
|
9043
9043
|
}
|
|
9044
9044
|
function R0(e, t) {
|
|
9045
9045
|
y0(e, t.id), fi(t, e.id);
|
|
9046
9046
|
}
|
|
9047
9047
|
function ed(e, t) {
|
|
9048
|
-
|
|
9048
|
+
Ot(e, "owns", t);
|
|
9049
9049
|
}
|
|
9050
9050
|
function sr(e, t) {
|
|
9051
9051
|
return t === void 0 ? e("ariaIndeterminate", "indeterminate") : t === !0 ? e("ariaChecked", "checked") : e("ariaUnchecked", "unchecked");
|
|
@@ -10003,7 +10003,7 @@ function bo(e) {
|
|
|
10003
10003
|
function hg(e) {
|
|
10004
10004
|
return !(e.get("paginateChildRows") || e.get("groupHideOpenParents") || st(e, "print"));
|
|
10005
10005
|
}
|
|
10006
|
-
function
|
|
10006
|
+
function Bt(e) {
|
|
10007
10007
|
return !e.get("autoGroupColumnDef")?.comparator && !e.get("treeData");
|
|
10008
10008
|
}
|
|
10009
10009
|
function Ta(e) {
|
|
@@ -10745,13 +10745,13 @@ function qo(e, t) {
|
|
|
10745
10745
|
for (const s of e)
|
|
10746
10746
|
t(s);
|
|
10747
10747
|
}
|
|
10748
|
-
function
|
|
10748
|
+
function Lt(e, t) {
|
|
10749
10749
|
const s = e.indexOf(t);
|
|
10750
10750
|
s >= 0 && e.splice(s, 1);
|
|
10751
10751
|
}
|
|
10752
10752
|
function dd(e, t, s) {
|
|
10753
10753
|
for (let o = 0; o < t.length; o++)
|
|
10754
|
-
|
|
10754
|
+
Lt(e, t[o]);
|
|
10755
10755
|
for (let o = t.length - 1; o >= 0; o--)
|
|
10756
10756
|
e.splice(s, 0, t[o]);
|
|
10757
10757
|
}
|
|
@@ -10933,7 +10933,7 @@ function Ia(e, t, s, o) {
|
|
|
10933
10933
|
l && NS(e, l, r);
|
|
10934
10934
|
const c = r.cellDataType;
|
|
10935
10935
|
lt(r, t, !1, !0), c !== void 0 && (r.cellDataType = c);
|
|
10936
|
-
const d = i.get("autoGroupColumnDef"), u =
|
|
10936
|
+
const d = i.get("autoGroupColumnDef"), u = Bt(i);
|
|
10937
10937
|
return t.rowGroup && d && u && lt(
|
|
10938
10938
|
r,
|
|
10939
10939
|
{ sort: d.sort, initialSort: d.initialSort },
|
|
@@ -11044,7 +11044,7 @@ function Ao(e, t, s, o, i = null) {
|
|
|
11044
11044
|
source: o
|
|
11045
11045
|
});
|
|
11046
11046
|
}
|
|
11047
|
-
function
|
|
11047
|
+
function kt(e, t, s) {
|
|
11048
11048
|
const {
|
|
11049
11049
|
colModel: o,
|
|
11050
11050
|
rowGroupColsSvc: i,
|
|
@@ -11099,14 +11099,14 @@ function It(e, t, s) {
|
|
|
11099
11099
|
continue;
|
|
11100
11100
|
}
|
|
11101
11101
|
const _ = x(le);
|
|
11102
|
-
_ ? (v(_, q, L, F, !1),
|
|
11102
|
+
_ ? (v(_, q, L, F, !1), Lt(I, _)) : (Y.push(q), B += 1);
|
|
11103
11103
|
}
|
|
11104
11104
|
const k = (q) => v(q, null, L, F, !1);
|
|
11105
11105
|
I.forEach(k), i?.sortColumns(ud.bind(i, L, ce)), n?.sortColumns(ud.bind(n, F, ee)), o.refreshCols(!1, s);
|
|
11106
11106
|
const oe = (q, le, z = []) => {
|
|
11107
11107
|
for (const _ of le) {
|
|
11108
11108
|
const se = q(_.colId);
|
|
11109
|
-
|
|
11109
|
+
Lt(z, se), v(se, _, null, null, !0);
|
|
11110
11110
|
}
|
|
11111
11111
|
z.forEach(k);
|
|
11112
11112
|
};
|
|
@@ -11149,9 +11149,9 @@ function BS(e, t) {
|
|
|
11149
11149
|
const b = Tg(w);
|
|
11150
11150
|
Oe(b.rowGroupIndex) && b.rowGroup && (b.rowGroupIndex = u++), Oe(b.pivotIndex) && b.pivot && (b.pivotIndex = h++), d.push(b);
|
|
11151
11151
|
};
|
|
11152
|
-
o?.getColumns()?.forEach(g), i?.getColumns()?.forEach(g), c?.forEach(g),
|
|
11152
|
+
o?.getColumns()?.forEach(g), i?.getColumns()?.forEach(g), c?.forEach(g), kt(e, { state: d }, t);
|
|
11153
11153
|
const p = o?.getColumns() ?? [], v = [...i?.getColumns() ?? [], ...p, ...a].map((w) => ({ colId: w.colId }));
|
|
11154
|
-
|
|
11154
|
+
kt(e, { state: v, applyOrder: !0 }, t), n.dispatchEvent(te(r, { type: "columnsReset", source: t }));
|
|
11155
11155
|
}
|
|
11156
11156
|
function Pg(e, t) {
|
|
11157
11157
|
const { rowGroupColsSvc: s, pivotColsSvc: o, valueColsSvc: i, colModel: n, sortSvc: r, eventSvc: a } = e, l = {
|
|
@@ -11437,7 +11437,7 @@ var ud = (e, t, s, o) => {
|
|
|
11437
11437
|
this.ready && (this.refreshCols(!1, e), this.beans.visibleCols.refresh(e));
|
|
11438
11438
|
}
|
|
11439
11439
|
setColsVisible(e, t = !1, s) {
|
|
11440
|
-
|
|
11440
|
+
kt(
|
|
11441
11441
|
this.beans,
|
|
11442
11442
|
{
|
|
11443
11443
|
state: e.map((o) => ({
|
|
@@ -12171,24 +12171,24 @@ function Gg() {
|
|
|
12171
12171
|
return ka == null && Hg(), ka;
|
|
12172
12172
|
}
|
|
12173
12173
|
var $l = "T", My = new RegExp(`[${$l} ]`), Iy = new RegExp(`^\\d{4}-\\d{2}-\\d{2}(${$l}\\d{2}:\\d{2}:\\d{2}\\D?)?`);
|
|
12174
|
-
function
|
|
12174
|
+
function zt(e, t) {
|
|
12175
12175
|
return e.toString().padStart(t, "0");
|
|
12176
12176
|
}
|
|
12177
12177
|
function vt(e, t = !0, s = $l) {
|
|
12178
12178
|
if (!e)
|
|
12179
12179
|
return null;
|
|
12180
|
-
let o = [e.getFullYear(), e.getMonth() + 1, e.getDate()].map((i) =>
|
|
12181
|
-
return t && (o += s + [e.getHours(), e.getMinutes(), e.getSeconds()].map((i) =>
|
|
12180
|
+
let o = [e.getFullYear(), e.getMonth() + 1, e.getDate()].map((i) => zt(i, 2)).join("-");
|
|
12181
|
+
return t && (o += s + [e.getHours(), e.getMinutes(), e.getSeconds()].map((i) => zt(i, 2)).join(":")), o;
|
|
12182
12182
|
}
|
|
12183
12183
|
function zi(e, t = !0) {
|
|
12184
12184
|
return e ? t ? [
|
|
12185
12185
|
String(e.getFullYear()),
|
|
12186
12186
|
String(e.getMonth() + 1),
|
|
12187
|
-
|
|
12188
|
-
|
|
12189
|
-
`:${
|
|
12190
|
-
`:${
|
|
12191
|
-
] : [e.getFullYear(), e.getMonth() + 1,
|
|
12187
|
+
zt(e.getDate(), 2),
|
|
12188
|
+
zt(e.getHours(), 2),
|
|
12189
|
+
`:${zt(e.getMinutes(), 2)}`,
|
|
12190
|
+
`:${zt(e.getSeconds(), 2)}`
|
|
12191
|
+
] : [e.getFullYear(), e.getMonth() + 1, zt(e.getDate(), 2)].map(String) : null;
|
|
12192
12192
|
}
|
|
12193
12193
|
var Hr = (e) => {
|
|
12194
12194
|
if (e > 3 && e < 21)
|
|
@@ -12219,17 +12219,17 @@ var Hr = (e) => {
|
|
|
12219
12219
|
function Oa(e, t) {
|
|
12220
12220
|
if (t == null)
|
|
12221
12221
|
return vt(e, !1);
|
|
12222
|
-
const s =
|
|
12222
|
+
const s = zt(e.getFullYear(), 4), o = {
|
|
12223
12223
|
YYYY: () => s.slice(s.length - 4, s.length),
|
|
12224
12224
|
YY: () => s.slice(s.length - 2, s.length),
|
|
12225
12225
|
Y: () => `${e.getFullYear()}`,
|
|
12226
12226
|
MMMM: () => fd[e.getMonth()],
|
|
12227
12227
|
MMM: () => fd[e.getMonth()].slice(0, 3),
|
|
12228
|
-
MM: () =>
|
|
12228
|
+
MM: () => zt(e.getMonth() + 1, 2),
|
|
12229
12229
|
Mo: () => `${e.getMonth() + 1}${Hr(e.getMonth() + 1)}`,
|
|
12230
12230
|
M: () => `${e.getMonth() + 1}`,
|
|
12231
12231
|
Do: () => `${e.getDate()}${Hr(e.getDate())}`,
|
|
12232
|
-
DD: () =>
|
|
12232
|
+
DD: () => zt(e.getDate(), 2),
|
|
12233
12233
|
D: () => `${e.getDate()}`,
|
|
12234
12234
|
dddd: () => Gr[e.getDay()],
|
|
12235
12235
|
ddd: () => Gr[e.getDay()].slice(0, 3),
|
|
@@ -13365,7 +13365,7 @@ ${i}`;
|
|
|
13365
13365
|
const o = s;
|
|
13366
13366
|
return t.has(o) || t.set(o, e(s)), t.get(o);
|
|
13367
13367
|
};
|
|
13368
|
-
},
|
|
13368
|
+
}, Vt = (e) => ({ ref: "accentColor", mix: e }), at = (e) => ({ ref: "foregroundColor", mix: e }), et = (e) => ({
|
|
13369
13369
|
ref: "foregroundColor",
|
|
13370
13370
|
mix: e,
|
|
13371
13371
|
onto: "backgroundColor"
|
|
@@ -13405,7 +13405,7 @@ ${i}`;
|
|
|
13405
13405
|
fontSize: 14,
|
|
13406
13406
|
focusShadow: {
|
|
13407
13407
|
spread: 3,
|
|
13408
|
-
color:
|
|
13408
|
+
color: Vt(0.5)
|
|
13409
13409
|
},
|
|
13410
13410
|
focusErrorShadow: {
|
|
13411
13411
|
spread: 3,
|
|
@@ -14453,7 +14453,7 @@ ${n}}
|
|
|
14453
14453
|
}
|
|
14454
14454
|
/** True if there is at least one active pointer drag in any BaseDragService instance in the page */
|
|
14455
14455
|
isPointer() {
|
|
14456
|
-
return !!ro?.has(
|
|
14456
|
+
return !!ro?.has(Gt(this.beans));
|
|
14457
14457
|
}
|
|
14458
14458
|
hasPointerCapture() {
|
|
14459
14459
|
const e = this.drag?.pointerCapture;
|
|
@@ -14504,7 +14504,7 @@ ${n}}
|
|
|
14504
14504
|
}
|
|
14505
14505
|
initDrag(e, ...t) {
|
|
14506
14506
|
this.drag = e;
|
|
14507
|
-
const s = this.beans, o = (a) => this.onScroll(a), i = (a) => this.onKeyDown(a), n =
|
|
14507
|
+
const s = this.beans, o = (a) => this.onScroll(a), i = (a) => this.onKeyDown(a), n = Gt(s), r = Qe(s);
|
|
14508
14508
|
tn(
|
|
14509
14509
|
e.handlers,
|
|
14510
14510
|
[n, "contextmenu", fs],
|
|
@@ -14533,7 +14533,7 @@ ${n}}
|
|
|
14533
14533
|
if (o === "touch" && (s.gos.get("suppressTouch") || !e.includeTouch || (e.stopPropagationForTouch && t.stopPropagation(), ii(Br(t)))) || !t.isPrimary || o === "mouse" && t.button !== 0)
|
|
14534
14534
|
return;
|
|
14535
14535
|
this.destroyDrag();
|
|
14536
|
-
const i =
|
|
14536
|
+
const i = Gt(s), n = e.eElement, r = t.pointerId, a = new Vr(i, e, t, r);
|
|
14537
14537
|
ro ?? (ro = /* @__PURE__ */ new WeakMap()), ro.set(i, a);
|
|
14538
14538
|
const l = (u) => {
|
|
14539
14539
|
u.pointerId === r && this.onMouseOrPointerMove(u);
|
|
@@ -14560,10 +14560,10 @@ ${n}}
|
|
|
14560
14560
|
return;
|
|
14561
14561
|
}
|
|
14562
14562
|
this.destroyDrag();
|
|
14563
|
-
const o = this.beans, i =
|
|
14563
|
+
const o = this.beans, i = Gt(o), n = new Vr(i, e, t.touches[0]), r = (c) => this.onTouchMove(c), a = (c) => this.onTouchUp(c), l = t.target ?? e.eElement;
|
|
14564
14564
|
this.initDrag(
|
|
14565
14565
|
n,
|
|
14566
|
-
[
|
|
14566
|
+
[Gt(o), "touchmove", fs, { passive: !1 }],
|
|
14567
14567
|
[l, "touchmove", r, { passive: !0 }],
|
|
14568
14568
|
[l, "touchend", a, { passive: !0 }],
|
|
14569
14569
|
[l, "touchcancel", a, { passive: !0 }]
|
|
@@ -14575,7 +14575,7 @@ ${n}}
|
|
|
14575
14575
|
return;
|
|
14576
14576
|
const s = this.beans;
|
|
14577
14577
|
this.destroyDrag();
|
|
14578
|
-
const o = new Vr(
|
|
14578
|
+
const o = new Vr(Gt(s), e, t), i = (a) => this.onMouseOrPointerMove(a), n = (a) => this.onMouseOrPointerUp(a), r = Gt(s);
|
|
14579
14579
|
this.initDrag(o, [r, "mousemove", i], [r, "mouseup", n]), e.dragStartPixels === 0 ? this.onMouseOrPointerMove(t) : Yt(t);
|
|
14580
14580
|
}
|
|
14581
14581
|
onScroll(e) {
|
|
@@ -14667,7 +14667,7 @@ ${n}}
|
|
|
14667
14667
|
}
|
|
14668
14668
|
removeDragSource(e) {
|
|
14669
14669
|
const { dragSourceAndParamsList: t, beans: s } = this, o = t.find((i) => i.dragSource === e);
|
|
14670
|
-
o && (s.dragSvc?.removeDragSource(o),
|
|
14670
|
+
o && (s.dragSvc?.removeDragSource(o), Lt(t, o));
|
|
14671
14671
|
}
|
|
14672
14672
|
destroy() {
|
|
14673
14673
|
const { dragSourceAndParamsList: e, dropTargets: t, beans: s } = this, o = s.dragSvc;
|
|
@@ -14756,7 +14756,7 @@ ${n}}
|
|
|
14756
14756
|
return null;
|
|
14757
14757
|
if (s === 1)
|
|
14758
14758
|
return t[0];
|
|
14759
|
-
const i =
|
|
14759
|
+
const i = Gt(this.beans).elementsFromPoint(e.clientX, e.clientY);
|
|
14760
14760
|
for (const n of i)
|
|
14761
14761
|
for (const r of t)
|
|
14762
14762
|
if (this.getAllContainersFromDropTarget(r).flatMap((l) => l).indexOf(n) !== -1)
|
|
@@ -19230,7 +19230,7 @@ var gx = (
|
|
|
19230
19230
|
t.has(e) || (t.add(e), s.add(e), o.push(e), this.sort());
|
|
19231
19231
|
}
|
|
19232
19232
|
delete(e) {
|
|
19233
|
-
this.all.delete(e), this.visible.delete(e), this.queued.delete(e.id),
|
|
19233
|
+
this.all.delete(e), this.visible.delete(e), this.queued.delete(e.id), Lt(this.order, e);
|
|
19234
19234
|
}
|
|
19235
19235
|
has(e) {
|
|
19236
19236
|
return this.visible.has(e);
|
|
@@ -22995,7 +22995,7 @@ function jF(e, t) {
|
|
|
22995
22995
|
o[a.getId()] = a.isVisible();
|
|
22996
22996
|
const i = [];
|
|
22997
22997
|
for (const a of t)
|
|
22998
|
-
s.indexOf(a) >= 0 && (i.push(a),
|
|
22998
|
+
s.indexOf(a) >= 0 && (i.push(a), Lt(s, a));
|
|
22999
22999
|
for (const a of s)
|
|
23000
23000
|
i.push(a);
|
|
23001
23001
|
const n = [], r = e.getLeafColumns();
|
|
@@ -24176,7 +24176,7 @@ function E3(e) {
|
|
|
24176
24176
|
return e.colModel.getColDefCols();
|
|
24177
24177
|
}
|
|
24178
24178
|
function D3(e, t) {
|
|
24179
|
-
return
|
|
24179
|
+
return kt(e, t, "api");
|
|
24180
24180
|
}
|
|
24181
24181
|
function P3(e) {
|
|
24182
24182
|
return On(e);
|
|
@@ -24616,7 +24616,7 @@ var $3 = [
|
|
|
24616
24616
|
o,
|
|
24617
24617
|
i
|
|
24618
24618
|
)
|
|
24619
|
-
), s.length &&
|
|
24619
|
+
), s.length && kt(this.beans, { state: s }, "cellDataTypeInferred"), this.initialData = null;
|
|
24620
24620
|
}
|
|
24621
24621
|
generateColumnStateForRowGroupAndPivotIndexes(e, t) {
|
|
24622
24622
|
const s = {}, { rowGroupColsSvc: o, pivotColsSvc: i } = this.beans;
|
|
@@ -25254,15 +25254,15 @@ var tE = class extends M {
|
|
|
25254
25254
|
},
|
|
25255
25255
|
rangeSelectionBorderStyle: "solid",
|
|
25256
25256
|
rangeSelectionBorderColor: Ft,
|
|
25257
|
-
rangeSelectionBackgroundColor:
|
|
25257
|
+
rangeSelectionBackgroundColor: Vt(0.2),
|
|
25258
25258
|
rangeSelectionChartBackgroundColor: "#0058FF1A",
|
|
25259
25259
|
rangeSelectionChartCategoryBackgroundColor: "#00FF841A",
|
|
25260
|
-
rangeSelectionHighlightColor:
|
|
25260
|
+
rangeSelectionHighlightColor: Vt(0.5),
|
|
25261
25261
|
rangeHeaderHighlightColor: cR(0.08),
|
|
25262
|
-
rowNumbersSelectedColor:
|
|
25263
|
-
rowHoverColor:
|
|
25264
|
-
columnHoverColor:
|
|
25265
|
-
selectedRowBackgroundColor:
|
|
25262
|
+
rowNumbersSelectedColor: Vt(0.5),
|
|
25263
|
+
rowHoverColor: Vt(0.08),
|
|
25264
|
+
columnHoverColor: Vt(0.05),
|
|
25265
|
+
selectedRowBackgroundColor: Vt(0.12),
|
|
25266
25266
|
modalOverlayBackgroundColor: {
|
|
25267
25267
|
ref: "backgroundColor",
|
|
25268
25268
|
mix: 0.66
|
|
@@ -25320,7 +25320,7 @@ var tE = class extends M {
|
|
|
25320
25320
|
iconButtonHoverColor: { ref: "iconButtonColor" },
|
|
25321
25321
|
iconButtonHoverBackgroundColor: at(0.1),
|
|
25322
25322
|
iconButtonActiveColor: Ft,
|
|
25323
|
-
iconButtonActiveBackgroundColor:
|
|
25323
|
+
iconButtonActiveBackgroundColor: Vt(0.28),
|
|
25324
25324
|
iconButtonActiveIndicatorColor: Ft,
|
|
25325
25325
|
menuBorder: {
|
|
25326
25326
|
color: at(0.2)
|
|
@@ -25544,8 +25544,8 @@ var tE = class extends M {
|
|
|
25544
25544
|
backgroundColor: "hsl(217, 0%, 17%)",
|
|
25545
25545
|
foregroundColor: "#FFF",
|
|
25546
25546
|
chromeBackgroundColor: et(0.05),
|
|
25547
|
-
rowHoverColor:
|
|
25548
|
-
selectedRowBackgroundColor:
|
|
25547
|
+
rowHoverColor: Vt(0.15),
|
|
25548
|
+
selectedRowBackgroundColor: Vt(0.2),
|
|
25549
25549
|
menuBackgroundColor: et(0.1),
|
|
25550
25550
|
browserColorScheme: "dark",
|
|
25551
25551
|
popupShadow: "0 0px 20px #000A",
|
|
@@ -26785,7 +26785,7 @@ var sD = class extends M {
|
|
|
26785
26785
|
const { eSortMixed: e, column: t, gos: s } = this;
|
|
26786
26786
|
this.addInIcon("sortUnSort", e, t);
|
|
26787
26787
|
const o = t.getColDef().showRowGroup;
|
|
26788
|
-
|
|
26788
|
+
Bt(s) && o && (this.addManagedEventListeners({
|
|
26789
26789
|
// Watch global events, as row group columns can effect their display column.
|
|
26790
26790
|
sortChanged: this.updateMultiSortIndicator.bind(this),
|
|
26791
26791
|
// when grouping changes so can sort indexes and icons
|
|
@@ -26832,7 +26832,7 @@ var sD = class extends M {
|
|
|
26832
26832
|
}
|
|
26833
26833
|
setSortForColumn(e, t, s, o) {
|
|
26834
26834
|
t !== "asc" && t !== "desc" && (t = null);
|
|
26835
|
-
const { gos: i, showRowGroupCols: n } = this.beans, r =
|
|
26835
|
+
const { gos: i, showRowGroupCols: n } = this.beans, r = Bt(i);
|
|
26836
26836
|
let a = [e];
|
|
26837
26837
|
if (r && e.getColDef().showRowGroup) {
|
|
26838
26838
|
const u = n?.getSourceColumnsForGroupColumn?.(e)?.filter((h) => h.isSortable());
|
|
@@ -26848,7 +26848,7 @@ var sD = class extends M {
|
|
|
26848
26848
|
this.updateSortIndex(e), c.push(...a), this.dispatchSortChangedEvents(o, c);
|
|
26849
26849
|
}
|
|
26850
26850
|
updateSortIndex(e) {
|
|
26851
|
-
const { gos: t, colModel: s, showRowGroupCols: o } = this.beans, i =
|
|
26851
|
+
const { gos: t, colModel: s, showRowGroupCols: o } = this.beans, i = Bt(t), n = o?.getShowRowGroupCol(e.getId()), r = i && n || e, a = this.getColumnsWithSortingOrdered();
|
|
26852
26852
|
s.forAllCols((d) => this.setColSortIndex(d, null));
|
|
26853
26853
|
const l = a.filter((d) => i && d.getColDef().showRowGroup ? !1 : d !== r);
|
|
26854
26854
|
(r.getSort() ? [...l, r] : l).forEach((d, u) => this.setColSortIndex(d, u));
|
|
@@ -26890,7 +26890,7 @@ var sD = class extends M {
|
|
|
26890
26890
|
if (t.forAllCols((c) => {
|
|
26891
26891
|
c.getSort() && i.push(c);
|
|
26892
26892
|
}), t.isPivotMode()) {
|
|
26893
|
-
const c =
|
|
26893
|
+
const c = Bt(e);
|
|
26894
26894
|
i = i.filter((d) => {
|
|
26895
26895
|
const u = !!d.getAggFunc(), h = !d.isPrimary(), g = c ? s?.getShowRowGroupCol(d.getId()) : d.getColDef().showRowGroup;
|
|
26896
26896
|
return u || h || g;
|
|
@@ -26906,7 +26906,7 @@ var sD = class extends M {
|
|
|
26906
26906
|
return g > p ? 1 : -1;
|
|
26907
26907
|
} else return h == null ? -1 : 1;
|
|
26908
26908
|
});
|
|
26909
|
-
const a =
|
|
26909
|
+
const a = Bt(e) && !!n.length;
|
|
26910
26910
|
a && (i = [
|
|
26911
26911
|
...new Set(
|
|
26912
26912
|
// if linked sorting, replace all columns with the display group column for index purposes, and ensure uniqueness
|
|
@@ -26938,7 +26938,7 @@ var sD = class extends M {
|
|
|
26938
26938
|
}));
|
|
26939
26939
|
}
|
|
26940
26940
|
canColumnDisplayMixedSort(e) {
|
|
26941
|
-
const t =
|
|
26941
|
+
const t = Bt(this.gos), s = !!e.getColDef().showRowGroup;
|
|
26942
26942
|
return t && s;
|
|
26943
26943
|
}
|
|
26944
26944
|
getDisplaySortForColumn(e) {
|
|
@@ -27786,7 +27786,7 @@ ${a}`;
|
|
|
27786
27786
|
message: "Advanced filter no longer uses function evaluation, so this option has no effect."
|
|
27787
27787
|
}
|
|
27788
27788
|
});
|
|
27789
|
-
function
|
|
27789
|
+
function Ht(e, t, s) {
|
|
27790
27790
|
return typeof t == "number" || t == null ? t == null || t >= s ? null : `${e}: value should be greater than or equal to ${s}` : `${e}: value should be a number`;
|
|
27791
27791
|
}
|
|
27792
27792
|
var RD = {
|
|
@@ -27844,18 +27844,18 @@ var RD = {
|
|
|
27844
27844
|
const e = {
|
|
27845
27845
|
autoSizePadding: {
|
|
27846
27846
|
validate({ autoSizePadding: s }) {
|
|
27847
|
-
return
|
|
27847
|
+
return Ht("autoSizePadding", s, 0);
|
|
27848
27848
|
}
|
|
27849
27849
|
},
|
|
27850
27850
|
cacheBlockSize: {
|
|
27851
27851
|
supportedRowModels: ["serverSide", "infinite"],
|
|
27852
27852
|
validate({ cacheBlockSize: s }) {
|
|
27853
|
-
return
|
|
27853
|
+
return Ht("cacheBlockSize", s, 1);
|
|
27854
27854
|
}
|
|
27855
27855
|
},
|
|
27856
27856
|
cacheOverflowSize: {
|
|
27857
27857
|
validate({ cacheOverflowSize: s }) {
|
|
27858
|
-
return
|
|
27858
|
+
return Ht("cacheOverflowSize", s, 1);
|
|
27859
27859
|
}
|
|
27860
27860
|
},
|
|
27861
27861
|
datasource: {
|
|
@@ -27957,7 +27957,7 @@ var RD = {
|
|
|
27957
27957
|
},
|
|
27958
27958
|
infiniteInitialRowCount: {
|
|
27959
27959
|
validate({ infiniteInitialRowCount: s }) {
|
|
27960
|
-
return
|
|
27960
|
+
return Ht("infiniteInitialRowCount", s, 1);
|
|
27961
27961
|
}
|
|
27962
27962
|
},
|
|
27963
27963
|
initialGroupOrderComparator: {
|
|
@@ -27976,12 +27976,12 @@ var RD = {
|
|
|
27976
27976
|
},
|
|
27977
27977
|
keepDetailRowsCount: {
|
|
27978
27978
|
validate({ keepDetailRowsCount: s }) {
|
|
27979
|
-
return
|
|
27979
|
+
return Ht("keepDetailRowsCount", s, 1);
|
|
27980
27980
|
}
|
|
27981
27981
|
},
|
|
27982
27982
|
paginationPageSize: {
|
|
27983
27983
|
validate({ paginationPageSize: s }) {
|
|
27984
|
-
return
|
|
27984
|
+
return Ht("paginationPageSize", s, 1);
|
|
27985
27985
|
}
|
|
27986
27986
|
},
|
|
27987
27987
|
paginationPageSizeSelector: {
|
|
@@ -28004,7 +28004,7 @@ var RD = {
|
|
|
28004
28004
|
},
|
|
28005
28005
|
rowBuffer: {
|
|
28006
28006
|
validate({ rowBuffer: s }) {
|
|
28007
|
-
return
|
|
28007
|
+
return Ht("rowBuffer", s, 0);
|
|
28008
28008
|
}
|
|
28009
28009
|
},
|
|
28010
28010
|
rowClass: {
|
|
@@ -28038,7 +28038,7 @@ var RD = {
|
|
|
28038
28038
|
serverSideInitialRowCount: {
|
|
28039
28039
|
supportedRowModels: ["serverSide"],
|
|
28040
28040
|
validate({ serverSideInitialRowCount: s }) {
|
|
28041
|
-
return
|
|
28041
|
+
return Ht("serverSideInitialRowCount", s, 1);
|
|
28042
28042
|
}
|
|
28043
28043
|
},
|
|
28044
28044
|
serverSideOnlyRefreshFilteredGroups: {
|
|
@@ -28101,12 +28101,12 @@ var RD = {
|
|
|
28101
28101
|
},
|
|
28102
28102
|
viewportRowModelBufferSize: {
|
|
28103
28103
|
validate({ viewportRowModelBufferSize: s }) {
|
|
28104
|
-
return
|
|
28104
|
+
return Ht("viewportRowModelBufferSize", s, 0);
|
|
28105
28105
|
}
|
|
28106
28106
|
},
|
|
28107
28107
|
viewportRowModelPageSize: {
|
|
28108
28108
|
validate({ viewportRowModelPageSize: s }) {
|
|
28109
|
-
return
|
|
28109
|
+
return Ht("viewportRowModelPageSize", s, 1);
|
|
28110
28110
|
}
|
|
28111
28111
|
},
|
|
28112
28112
|
rowDragEntireRow: {
|
|
@@ -32970,11 +32970,11 @@ var OP = (
|
|
|
32970
32970
|
}
|
|
32971
32971
|
removeRow(e) {
|
|
32972
32972
|
const t = e.id, s = this.entriesMap[t];
|
|
32973
|
-
delete this.entriesMap[t],
|
|
32973
|
+
delete this.entriesMap[t], Lt(this.entriesList, s);
|
|
32974
32974
|
}
|
|
32975
32975
|
removeFromCache(e) {
|
|
32976
32976
|
const t = e.rowNode.id;
|
|
32977
|
-
delete this.entriesMap[t],
|
|
32977
|
+
delete this.entriesMap[t], Lt(this.entriesList, e);
|
|
32978
32978
|
}
|
|
32979
32979
|
getEntries() {
|
|
32980
32980
|
return this.entriesList;
|
|
@@ -33021,12 +33021,12 @@ var UP = class extends M {
|
|
|
33021
33021
|
}
|
|
33022
33022
|
postConstruct() {
|
|
33023
33023
|
const { gos: e } = this;
|
|
33024
|
-
this.isAccentedSort = e.get("accentedSort"), this.primaryColumnsSortGroups =
|
|
33024
|
+
this.isAccentedSort = e.get("accentedSort"), this.primaryColumnsSortGroups = Bt(e), this.addManagedPropertyListener(
|
|
33025
33025
|
"accentedSort",
|
|
33026
33026
|
(t) => this.isAccentedSort = t.currentValue
|
|
33027
33027
|
), this.addManagedPropertyListener(
|
|
33028
33028
|
"autoGroupColumnDef",
|
|
33029
|
-
() => this.primaryColumnsSortGroups =
|
|
33029
|
+
() => this.primaryColumnsSortGroups = Bt(e)
|
|
33030
33030
|
);
|
|
33031
33031
|
}
|
|
33032
33032
|
doFullSort(e, t) {
|
|
@@ -40425,7 +40425,7 @@ var kf = class extends M {
|
|
|
40425
40425
|
const t = yo(e.source);
|
|
40426
40426
|
for (const s of this.columns?.list ?? []) {
|
|
40427
40427
|
const o = this.createSelectionColDef(e.currentValue);
|
|
40428
|
-
s.setColDef(o, null, t),
|
|
40428
|
+
s.setColDef(o, null, t), kt(this.beans, { state: [{ ...o, colId: s.getColId() }] }, t);
|
|
40429
40429
|
}
|
|
40430
40430
|
}
|
|
40431
40431
|
getColumn(e) {
|
|
@@ -40517,7 +40517,7 @@ var kf = class extends M {
|
|
|
40517
40517
|
default:
|
|
40518
40518
|
l = t;
|
|
40519
40519
|
}
|
|
40520
|
-
l &&
|
|
40520
|
+
l && Lt(l, i);
|
|
40521
40521
|
};
|
|
40522
40522
|
(this.beans.rowNumbersSvc?.getColumn(bg) ? 2 : 1) === o && n();
|
|
40523
40523
|
}
|
|
@@ -41180,19 +41180,19 @@ var w6 = {
|
|
|
41180
41180
|
case "columnMoved":
|
|
41181
41181
|
{
|
|
41182
41182
|
const u = e.api.getColumnState().map((h) => ({ colId: h.colId }));
|
|
41183
|
-
|
|
41183
|
+
kt(o, { state: u, applyOrder: !0 }, "alignedGridChanged");
|
|
41184
41184
|
}
|
|
41185
41185
|
break;
|
|
41186
41186
|
case "columnVisible":
|
|
41187
41187
|
{
|
|
41188
41188
|
const u = e.api.getColumnState().map((h) => ({ colId: h.colId, hide: h.hide }));
|
|
41189
|
-
|
|
41189
|
+
kt(o, { state: u }, "alignedGridChanged");
|
|
41190
41190
|
}
|
|
41191
41191
|
break;
|
|
41192
41192
|
case "columnPinned":
|
|
41193
41193
|
{
|
|
41194
41194
|
const u = e.api.getColumnState().map((h) => ({ colId: h.colId, pinned: h.pinned }));
|
|
41195
|
-
|
|
41195
|
+
kt(o, { state: u }, "alignedGridChanged");
|
|
41196
41196
|
}
|
|
41197
41197
|
break;
|
|
41198
41198
|
case "columnResized": {
|
|
@@ -41480,7 +41480,7 @@ var w6 = {
|
|
|
41480
41480
|
const t = e.length;
|
|
41481
41481
|
if (!t)
|
|
41482
41482
|
return !1;
|
|
41483
|
-
if (
|
|
41483
|
+
if (Bt(this.gos)) {
|
|
41484
41484
|
for (let s = 0; s < t; ++s) {
|
|
41485
41485
|
const o = e[s].column;
|
|
41486
41486
|
if (o.isPrimary() && o.isRowGroupActive())
|
|
@@ -42868,7 +42868,7 @@ var aM = class extends M {
|
|
|
42868
42868
|
this.blocks.push(e), e.addEventListener("loadComplete", this.loadComplete.bind(this)), this.checkBlockToLoad();
|
|
42869
42869
|
}
|
|
42870
42870
|
removeBlock(e) {
|
|
42871
|
-
|
|
42871
|
+
Lt(this.blocks, e);
|
|
42872
42872
|
}
|
|
42873
42873
|
destroy() {
|
|
42874
42874
|
super.destroy(), this.active = !1;
|
|
@@ -43331,7 +43331,7 @@ var xM = class extends M {
|
|
|
43331
43331
|
}
|
|
43332
43332
|
(x || !s) && (m.flex = null);
|
|
43333
43333
|
const D = u?.orderedColIds, I = !!D?.length && !o?.has("columnOrder"), L = I ? D.map((F) => f(F)) : Object.values(p);
|
|
43334
|
-
(L.length || h) && (this.columnStates = L,
|
|
43334
|
+
(L.length || h) && (this.columnStates = L, kt(
|
|
43335
43335
|
this.beans,
|
|
43336
43336
|
{
|
|
43337
43337
|
state: L,
|
|
@@ -43352,7 +43352,7 @@ var xM = class extends M {
|
|
|
43352
43352
|
const a = [];
|
|
43353
43353
|
for (const l of s)
|
|
43354
43354
|
n.getPivotResultCol(l.colId) && a.push(l);
|
|
43355
|
-
|
|
43355
|
+
kt(
|
|
43356
43356
|
i,
|
|
43357
43357
|
{
|
|
43358
43358
|
state: a,
|
|
@@ -44434,7 +44434,7 @@ var hI = class extends M {
|
|
|
44434
44434
|
const d = l.slice(0);
|
|
44435
44435
|
let u = !1;
|
|
44436
44436
|
const h = (p) => {
|
|
44437
|
-
|
|
44437
|
+
Lt(l, p), c.push(p);
|
|
44438
44438
|
};
|
|
44439
44439
|
for (const p of l) {
|
|
44440
44440
|
p.resetActualWidth(t);
|
|
@@ -45493,7 +45493,7 @@ var Uf = hl((e, t) => {
|
|
|
45493
45493
|
refresh() {
|
|
45494
45494
|
return !1;
|
|
45495
45495
|
}
|
|
45496
|
-
})),
|
|
45496
|
+
})), It(() => Li(d, o, n.current), [d]);
|
|
45497
45497
|
const D = O((ee) => {
|
|
45498
45498
|
if (i.current = ee, !ee || o.isDestroyed()) {
|
|
45499
45499
|
c.current = o.destroyBean(c.current);
|
|
@@ -46012,7 +46012,7 @@ var fk = 1e3, mk = class {
|
|
|
46012
46012
|
};
|
|
46013
46013
|
e.setComp(b, v, c.current, d.current, a.current), w();
|
|
46014
46014
|
}, []);
|
|
46015
|
-
|
|
46015
|
+
It(
|
|
46016
46016
|
() => Li(o, s, d.current, u),
|
|
46017
46017
|
[o]
|
|
46018
46018
|
), fe(() => {
|
|
@@ -46067,7 +46067,7 @@ var fk = 1e3, mk = class {
|
|
|
46067
46067
|
};
|
|
46068
46068
|
e.setComp(le, q, y.current, w.current, m.current);
|
|
46069
46069
|
}, []);
|
|
46070
|
-
|
|
46070
|
+
It(
|
|
46071
46071
|
() => Li(g, t, w.current, x),
|
|
46072
46072
|
[g]
|
|
46073
46073
|
);
|
|
@@ -46138,7 +46138,7 @@ var fk = 1e3, mk = class {
|
|
|
46138
46138
|
};
|
|
46139
46139
|
e.setComp(L, I, m.current, v.current, p.current);
|
|
46140
46140
|
}, []);
|
|
46141
|
-
|
|
46141
|
+
It(() => Li(h, t, v.current), [h]), fe(() => {
|
|
46142
46142
|
f.current && e.setDragSource(f.current);
|
|
46143
46143
|
}, [h]);
|
|
46144
46144
|
const y = W(() => !!(h?.componentFromFramework && Uo(h.componentClass)), [h]), S = W(() => "ag-header-group-cell " + i.toString(), [i]), R = W(
|
|
@@ -46338,7 +46338,7 @@ var fk = 1e3, mk = class {
|
|
|
46338
46338
|
return () => {
|
|
46339
46339
|
g?.(), i.destroyBean(p);
|
|
46340
46340
|
};
|
|
46341
|
-
}),
|
|
46341
|
+
}), It(() => () => {
|
|
46342
46342
|
c.isCellFocused() && t?.getGui().contains(He(o)) && d.focus({ preventScroll: !0 });
|
|
46343
46343
|
}, [t]), t && e.wrappedContent ? Cl(e.wrappedContent, t.getGui()) : null;
|
|
46344
46344
|
}, xu = ut(kk), Ak = (e, t, s) => {
|
|
@@ -46437,7 +46437,7 @@ var fk = 1e3, mk = class {
|
|
|
46437
46437
|
), K = A();
|
|
46438
46438
|
K.current || (K.current = new Ti(() => L.current)), Kf(l, _, k.current, oe, G, L);
|
|
46439
46439
|
const ie = A();
|
|
46440
|
-
|
|
46440
|
+
It(() => {
|
|
46441
46441
|
const ne = ie.current, be = l;
|
|
46442
46442
|
if (ie.current = l, ne == null || ne.compDetails == null || be == null || be.compDetails == null)
|
|
46443
46443
|
return;
|
|
@@ -46446,7 +46446,7 @@ var fk = 1e3, mk = class {
|
|
|
46446
46446
|
if (Pe.componentClass != _e.componentClass || P.current?.refresh == null)
|
|
46447
46447
|
return;
|
|
46448
46448
|
P.current.refresh(_e.params) != !0 && g((Se) => Se + 1);
|
|
46449
|
-
}, [l]),
|
|
46449
|
+
}, [l]), It(() => {
|
|
46450
46450
|
if (!(d && !d.compDetails.componentFromFramework) || i.isDestroyed())
|
|
46451
46451
|
return;
|
|
46452
46452
|
const be = d.compDetails, Pe = d.popup === !0, _e = be.newAgStackInstance();
|
|
@@ -46554,7 +46554,7 @@ var fk = 1e3, mk = class {
|
|
|
46554
46554
|
}, []), We = O((ne) => {
|
|
46555
46555
|
F.current = ne, ye();
|
|
46556
46556
|
}, []), Fe = W(() => !!(l?.compDetails?.componentFromFramework && Uo(l.compDetails.componentClass)), [l]);
|
|
46557
|
-
|
|
46557
|
+
It(() => {
|
|
46558
46558
|
if (!L.current)
|
|
46559
46559
|
return;
|
|
46560
46560
|
const { current: ne } = K;
|
|
@@ -46638,7 +46638,7 @@ var fk = 1e3, mk = class {
|
|
|
46638
46638
|
};
|
|
46639
46639
|
e.setComp(We, ae, t, r.current);
|
|
46640
46640
|
}, []);
|
|
46641
|
-
|
|
46641
|
+
It(
|
|
46642
46642
|
() => Li(S, s, F.current, P),
|
|
46643
46643
|
[S]
|
|
46644
46644
|
);
|
|
@@ -47472,9 +47472,9 @@ const rA = ({
|
|
|
47472
47472
|
if (z.data) {
|
|
47473
47473
|
const _ = o?.(z.data) ?? [], se = z.value == null ? "" : String(z.value);
|
|
47474
47474
|
return /* @__PURE__ */ C(
|
|
47475
|
-
|
|
47475
|
+
At,
|
|
47476
47476
|
{
|
|
47477
|
-
trigger: [
|
|
47477
|
+
trigger: [Mt.ContextMenu],
|
|
47478
47478
|
menu: { items: _ },
|
|
47479
47479
|
anchorToMouse: !0,
|
|
47480
47480
|
matchReferenceWidth: !0,
|
|
@@ -47522,9 +47522,9 @@ const rA = ({
|
|
|
47522
47522
|
const ie = K.data ? o?.(K.data) ?? [] : [];
|
|
47523
47523
|
let De = null;
|
|
47524
47524
|
return typeof se == "function" ? De = /* @__PURE__ */ C(se, { ...K }) : De = Y(K), /* @__PURE__ */ C(
|
|
47525
|
-
|
|
47525
|
+
At,
|
|
47526
47526
|
{
|
|
47527
|
-
trigger: [
|
|
47527
|
+
trigger: [Mt.ContextMenu],
|
|
47528
47528
|
menu: { items: ie },
|
|
47529
47529
|
anchorToMouse: !0,
|
|
47530
47530
|
matchReferenceWidth: !0,
|
|
@@ -47710,7 +47710,7 @@ const Qf = () => {
|
|
|
47710
47710
|
] })
|
|
47711
47711
|
] }), m = () => /* @__PURE__ */ H(Ue, { children: [
|
|
47712
47712
|
/* @__PURE__ */ C(
|
|
47713
|
-
|
|
47713
|
+
At,
|
|
47714
47714
|
{
|
|
47715
47715
|
menu: { items: g },
|
|
47716
47716
|
allowedPlacements: ["bottom", "bottom-start"],
|
|
@@ -47753,7 +47753,7 @@ function dA({
|
|
|
47753
47753
|
dependencies: n = []
|
|
47754
47754
|
}) {
|
|
47755
47755
|
const r = A(null), a = A(null), l = A(null), c = A(null), d = A([]), [u, h] = T(e.length);
|
|
47756
|
-
|
|
47756
|
+
It(() => {
|
|
47757
47757
|
if (!a.current) return;
|
|
47758
47758
|
const f = Array.from(a.current.children);
|
|
47759
47759
|
d.current = f.map(
|
|
@@ -47843,7 +47843,7 @@ const uA = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
47843
47843
|
) }),
|
|
47844
47844
|
/* @__PURE__ */ H("div", { className: "flex flex-1 w-full gap-3 items-center justify-end", children: [
|
|
47845
47845
|
l.length > 0 && /* @__PURE__ */ C(
|
|
47846
|
-
|
|
47846
|
+
At,
|
|
47847
47847
|
{
|
|
47848
47848
|
menu: { items: l },
|
|
47849
47849
|
allowedPlacements: ["bottom", "bottom-start"],
|
|
@@ -48794,7 +48794,7 @@ export {
|
|
|
48794
48794
|
tb as DialConfirmationPopup,
|
|
48795
48795
|
R1 as DialDateCellRenderer,
|
|
48796
48796
|
BA as DialDraggableItem,
|
|
48797
|
-
|
|
48797
|
+
At as DialDropdown,
|
|
48798
48798
|
$t as DialEllipsisTooltip,
|
|
48799
48799
|
_s as DialErrorText,
|
|
48800
48800
|
Vo as DialFieldLabel,
|
|
@@ -48839,7 +48839,7 @@ export {
|
|
|
48839
48839
|
W1 as DialTextarea,
|
|
48840
48840
|
Rs as DialTooltip,
|
|
48841
48841
|
Ch as DropdownItemType,
|
|
48842
|
-
|
|
48842
|
+
Mt as DropdownTrigger,
|
|
48843
48843
|
x1 as DropdownType,
|
|
48844
48844
|
FA as FileManagerProvider,
|
|
48845
48845
|
Co as FlexibleActionsDirection,
|