@epam/ai-dial-ui-kit 0.4.0-rc.60 → 0.4.0-rc.61
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 +3 -3
- package/dist/dial-ui-kit.es.js +771 -773
- package/dist/src/components/FileManager/FileManager.d.ts +4 -4
- package/dist/src/components/FileManager/FileManagerContext.d.ts +1 -1
- package/dist/src/components/FileManager/hooks/use-file-clipboard.d.ts +2 -2
- package/dist/src/components/FileManager/hooks/use-file-delete.d.ts +2 -3
- package/package.json +1 -1
package/dist/dial-ui-kit.es.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx as C, jsxs as V, Fragment as Be } from "react/jsx-runtime";
|
|
|
2
2
|
import Z from "classnames";
|
|
3
3
|
import { useFloating as Xa, offset as bu, flip as Su, shift as yu, arrow as Kf, autoUpdate as Ru, useHover as xu, useFocus as qf, useDismiss as Ja, useRole as el, useInteractions as tl, useMergeRefs as Fu, FloatingPortal as sl, FloatingArrow as Yf, autoPlacement as Zf, size as Qf, useClick as Xf, FloatingFocusManager as Eu, FloatingOverlay as Jf } from "@floating-ui/react";
|
|
4
4
|
import * as de from "react";
|
|
5
|
-
import G, { createContext as _n, useState as M, useRef as k, useEffect as fe, useMemo as z, useContext as je, isValidElement as ol, cloneElement as oa, useCallback as N, memo as ct, useLayoutEffect as
|
|
6
|
-
import { IconInfoCircle as
|
|
5
|
+
import G, { createContext as _n, useState as M, useRef as k, useEffect as fe, useMemo as z, useContext as je, isValidElement as ol, cloneElement as oa, useCallback as N, memo as ct, useLayoutEffect as Dt, useId as il, Children as em, createElement as Zo, Component as tm, forwardRef as nl, useImperativeHandle as rl, Suspense as sm } from "react";
|
|
6
|
+
import { IconInfoCircle as Pu, IconCircleCheck as om, IconAlertTriangle as im, IconAlertCircle as nm, IconX as Bs, IconMinus as rm, IconCheck as Du, IconExclamationCircle as al, IconClipboardX as Tu, IconChevronsLeft as am, IconChevronsRight as lm, IconGripVertical as cm, IconFile as dm, IconFileTypeZip as um, IconFileTypeXml as hm, IconFileTypeXls as gm, IconFileTypeVue as pm, IconFileTypeTxt as fm, IconFileTypeTsx as mm, IconFileTypeTs as Cm, IconFileTypeSvg as vm, IconFileTypeSql as wm, IconFileTypeRs as bm, IconFileTypePpt as Sm, IconFileTypePng as ym, IconFileTypePhp as Rm, IconFileTypePdf as xm, IconFileTypeJsx as Fm, IconFileTypeJs as Em, IconFileTypeJpg as Pm, IconFileTypeHtml as Dm, IconFileTypeDocx as Tm, IconFileTypeDoc as Mm, IconFileTypeCsv as Im, IconFileTypeCss as km, IconFileTypeBmp as Am, IconArrowUpRight as Lm, IconFolder as Mu, IconChevronDown as ll, IconDotsVertical as Un, IconChevronRight as Om, IconDots as Nm, IconTrashX as cl, IconSearch as Hm, IconAlertCircleFilled as Gm, IconCaretRightFilled as Vm, IconZoomCancel as Bm, IconChevronUp as zm, IconRefresh as dr, IconEyeOff as Iu, IconEye as ku, IconCopy as Wm, IconCut as _m, IconClipboardCopy as Um, IconPencilMinus as $m, IconPlus as jm } from "@tabler/icons-react";
|
|
7
7
|
import Km, { createPortal as dl } from "react-dom";
|
|
8
8
|
const zs = ({ errorText: e }) => e && /* @__PURE__ */ C("span", { className: "text-error dial-tiny mt-1", children: e }), ke = ({ icon: e, className: t }) => e ? /* @__PURE__ */ C("span", { className: Z("flex-shrink-0", t), children: e }) : null, qm = 7, Ym = 2, Au = _n(null), Lu = () => {
|
|
9
9
|
const e = je(Au);
|
|
@@ -390,13 +390,13 @@ const $e = (e) => {
|
|
|
390
390
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
391
391
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
392
392
|
gC.test(e) && !pC.test(e)
|
|
393
|
-
), Wu = () => !1, wC = (e) => fC.test(e), bC = (e) => mC.test(e), SC = (e) => !J(e) && !ee(e), yC = (e) => Oo(e, $u, Wu), J = (e) => Bu.test(e), Es = (e) => Oo(e, ju, vC), hr = (e) => Oo(e,
|
|
393
|
+
), Wu = () => !1, wC = (e) => fC.test(e), bC = (e) => mC.test(e), SC = (e) => !J(e) && !ee(e), yC = (e) => Oo(e, $u, Wu), J = (e) => Bu.test(e), Es = (e) => Oo(e, ju, vC), hr = (e) => Oo(e, PC, ge), wc = (e) => Oo(e, _u, Wu), RC = (e) => Oo(e, Uu, bC), Ai = (e) => Oo(e, Ku, wC), ee = (e) => zu.test(e), _o = (e) => No(e, ju), xC = (e) => No(e, DC), bc = (e) => No(e, _u), FC = (e) => No(e, $u), EC = (e) => No(e, Uu), Li = (e) => No(e, Ku, !0), Oo = (e, t, s) => {
|
|
394
394
|
const o = Bu.exec(e);
|
|
395
395
|
return o ? o[1] ? t(o[1]) : s(o[2]) : !1;
|
|
396
396
|
}, No = (e, t, s = !1) => {
|
|
397
397
|
const o = zu.exec(e);
|
|
398
398
|
return o ? o[1] ? t(o[1]) : s : !1;
|
|
399
|
-
}, _u = (e) => e === "position" || e === "percentage", Uu = (e) => e === "image" || e === "url", $u = (e) => e === "length" || e === "size" || e === "bg-size", ju = (e) => e === "length",
|
|
399
|
+
}, _u = (e) => e === "position" || e === "percentage", Uu = (e) => e === "image" || e === "url", $u = (e) => e === "length" || e === "size" || e === "bg-size", ju = (e) => e === "length", PC = (e) => e === "number", DC = (e) => e === "family-name", Ku = (e) => e === "shadow", TC = () => {
|
|
400
400
|
const e = $e("color"), t = $e("font"), s = $e("text"), o = $e("font-weight"), i = $e("tracking"), n = $e("leading"), r = $e("breakpoint"), a = $e("container"), l = $e("spacing"), c = $e("radius"), d = $e("shadow"), u = $e("inset-shadow"), h = $e("text-shadow"), g = $e("drop-shadow"), p = $e("blur"), f = $e("perspective"), m = $e("aspect"), v = $e("ease"), w = $e("animate"), b = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], y = () => [
|
|
401
401
|
"center",
|
|
402
402
|
"top",
|
|
@@ -415,9 +415,9 @@ const $e = (e) => {
|
|
|
415
415
|
"bottom-left",
|
|
416
416
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
417
417
|
"left-bottom"
|
|
418
|
-
], S = () => [...y(), ee, J], R = () => ["auto", "hidden", "clip", "visible", "scroll"], x = () => ["auto", "contain", "none"],
|
|
418
|
+
], S = () => [...y(), ee, J], R = () => ["auto", "hidden", "clip", "visible", "scroll"], x = () => ["auto", "contain", "none"], P = () => [ee, J, l], D = () => [to, "full", "auto", ...P()], A = () => [ls, "none", "subgrid", ee, J], F = () => ["auto", {
|
|
419
419
|
span: ["full", ls, ee, J]
|
|
420
|
-
}, ls, ee, J], I = () => [ls, "auto", ee, J], H = () => ["auto", "min", "max", "fr", ee, J], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], ae = () => ["auto", ...
|
|
420
|
+
}, ls, ee, J], I = () => [ls, "auto", ee, J], H = () => ["auto", "min", "max", "fr", ee, J], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], ae = () => ["auto", ...P()], X = () => [to, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...P()], L = () => [e, ee, J], re = () => [...y(), bc, wc, {
|
|
421
421
|
position: [ee, J]
|
|
422
422
|
}], Y = () => ["no-repeat", {
|
|
423
423
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -431,14 +431,14 @@ const $e = (e) => {
|
|
|
431
431
|
c,
|
|
432
432
|
ee,
|
|
433
433
|
J
|
|
434
|
-
], ce = () => ["", ge, _o, Es], ye = () => ["solid", "dashed", "dotted", "double"], q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], oe = () => [ge, ur, bc, wc],
|
|
434
|
+
], ce = () => ["", ge, _o, Es], ye = () => ["solid", "dashed", "dotted", "double"], q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], oe = () => [ge, ur, bc, wc], Pe = () => [
|
|
435
435
|
// Deprecated since Tailwind CSS v4.0.0
|
|
436
436
|
"",
|
|
437
437
|
"none",
|
|
438
438
|
p,
|
|
439
439
|
ee,
|
|
440
440
|
J
|
|
441
|
-
], me = () => ["none", ge, ee, J], he = () => ["none", ge, ee, J], Qe = () => [ge, ee, J], Fe = () => [to, "full", ...
|
|
441
|
+
], me = () => ["none", ge, ee, J], he = () => ["none", ge, ee, J], Qe = () => [ge, ee, J], Fe = () => [to, "full", ...P()];
|
|
442
442
|
return {
|
|
443
443
|
cacheSize: 500,
|
|
444
444
|
theme: {
|
|
@@ -616,63 +616,63 @@ const $e = (e) => {
|
|
|
616
616
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
617
617
|
*/
|
|
618
618
|
inset: [{
|
|
619
|
-
inset:
|
|
619
|
+
inset: D()
|
|
620
620
|
}],
|
|
621
621
|
/**
|
|
622
622
|
* Right / Left
|
|
623
623
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
624
624
|
*/
|
|
625
625
|
"inset-x": [{
|
|
626
|
-
"inset-x":
|
|
626
|
+
"inset-x": D()
|
|
627
627
|
}],
|
|
628
628
|
/**
|
|
629
629
|
* Top / Bottom
|
|
630
630
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
631
631
|
*/
|
|
632
632
|
"inset-y": [{
|
|
633
|
-
"inset-y":
|
|
633
|
+
"inset-y": D()
|
|
634
634
|
}],
|
|
635
635
|
/**
|
|
636
636
|
* Start
|
|
637
637
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
638
638
|
*/
|
|
639
639
|
start: [{
|
|
640
|
-
start:
|
|
640
|
+
start: D()
|
|
641
641
|
}],
|
|
642
642
|
/**
|
|
643
643
|
* End
|
|
644
644
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
645
645
|
*/
|
|
646
646
|
end: [{
|
|
647
|
-
end:
|
|
647
|
+
end: D()
|
|
648
648
|
}],
|
|
649
649
|
/**
|
|
650
650
|
* Top
|
|
651
651
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
652
652
|
*/
|
|
653
653
|
top: [{
|
|
654
|
-
top:
|
|
654
|
+
top: D()
|
|
655
655
|
}],
|
|
656
656
|
/**
|
|
657
657
|
* Right
|
|
658
658
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
659
659
|
*/
|
|
660
660
|
right: [{
|
|
661
|
-
right:
|
|
661
|
+
right: D()
|
|
662
662
|
}],
|
|
663
663
|
/**
|
|
664
664
|
* Bottom
|
|
665
665
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
666
666
|
*/
|
|
667
667
|
bottom: [{
|
|
668
|
-
bottom:
|
|
668
|
+
bottom: D()
|
|
669
669
|
}],
|
|
670
670
|
/**
|
|
671
671
|
* Left
|
|
672
672
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
673
673
|
*/
|
|
674
674
|
left: [{
|
|
675
|
-
left:
|
|
675
|
+
left: D()
|
|
676
676
|
}],
|
|
677
677
|
/**
|
|
678
678
|
* Visibility
|
|
@@ -694,7 +694,7 @@ const $e = (e) => {
|
|
|
694
694
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
695
695
|
*/
|
|
696
696
|
basis: [{
|
|
697
|
-
basis: [to, "full", "auto", a, ...
|
|
697
|
+
basis: [to, "full", "auto", a, ...P()]
|
|
698
698
|
}],
|
|
699
699
|
/**
|
|
700
700
|
* Flex Direction
|
|
@@ -820,21 +820,21 @@ const $e = (e) => {
|
|
|
820
820
|
* @see https://tailwindcss.com/docs/gap
|
|
821
821
|
*/
|
|
822
822
|
gap: [{
|
|
823
|
-
gap:
|
|
823
|
+
gap: P()
|
|
824
824
|
}],
|
|
825
825
|
/**
|
|
826
826
|
* Gap X
|
|
827
827
|
* @see https://tailwindcss.com/docs/gap
|
|
828
828
|
*/
|
|
829
829
|
"gap-x": [{
|
|
830
|
-
"gap-x":
|
|
830
|
+
"gap-x": P()
|
|
831
831
|
}],
|
|
832
832
|
/**
|
|
833
833
|
* Gap Y
|
|
834
834
|
* @see https://tailwindcss.com/docs/gap
|
|
835
835
|
*/
|
|
836
836
|
"gap-y": [{
|
|
837
|
-
"gap-y":
|
|
837
|
+
"gap-y": P()
|
|
838
838
|
}],
|
|
839
839
|
/**
|
|
840
840
|
* Justify Content
|
|
@@ -909,63 +909,63 @@ const $e = (e) => {
|
|
|
909
909
|
* @see https://tailwindcss.com/docs/padding
|
|
910
910
|
*/
|
|
911
911
|
p: [{
|
|
912
|
-
p:
|
|
912
|
+
p: P()
|
|
913
913
|
}],
|
|
914
914
|
/**
|
|
915
915
|
* Padding X
|
|
916
916
|
* @see https://tailwindcss.com/docs/padding
|
|
917
917
|
*/
|
|
918
918
|
px: [{
|
|
919
|
-
px:
|
|
919
|
+
px: P()
|
|
920
920
|
}],
|
|
921
921
|
/**
|
|
922
922
|
* Padding Y
|
|
923
923
|
* @see https://tailwindcss.com/docs/padding
|
|
924
924
|
*/
|
|
925
925
|
py: [{
|
|
926
|
-
py:
|
|
926
|
+
py: P()
|
|
927
927
|
}],
|
|
928
928
|
/**
|
|
929
929
|
* Padding Start
|
|
930
930
|
* @see https://tailwindcss.com/docs/padding
|
|
931
931
|
*/
|
|
932
932
|
ps: [{
|
|
933
|
-
ps:
|
|
933
|
+
ps: P()
|
|
934
934
|
}],
|
|
935
935
|
/**
|
|
936
936
|
* Padding End
|
|
937
937
|
* @see https://tailwindcss.com/docs/padding
|
|
938
938
|
*/
|
|
939
939
|
pe: [{
|
|
940
|
-
pe:
|
|
940
|
+
pe: P()
|
|
941
941
|
}],
|
|
942
942
|
/**
|
|
943
943
|
* Padding Top
|
|
944
944
|
* @see https://tailwindcss.com/docs/padding
|
|
945
945
|
*/
|
|
946
946
|
pt: [{
|
|
947
|
-
pt:
|
|
947
|
+
pt: P()
|
|
948
948
|
}],
|
|
949
949
|
/**
|
|
950
950
|
* Padding Right
|
|
951
951
|
* @see https://tailwindcss.com/docs/padding
|
|
952
952
|
*/
|
|
953
953
|
pr: [{
|
|
954
|
-
pr:
|
|
954
|
+
pr: P()
|
|
955
955
|
}],
|
|
956
956
|
/**
|
|
957
957
|
* Padding Bottom
|
|
958
958
|
* @see https://tailwindcss.com/docs/padding
|
|
959
959
|
*/
|
|
960
960
|
pb: [{
|
|
961
|
-
pb:
|
|
961
|
+
pb: P()
|
|
962
962
|
}],
|
|
963
963
|
/**
|
|
964
964
|
* Padding Left
|
|
965
965
|
* @see https://tailwindcss.com/docs/padding
|
|
966
966
|
*/
|
|
967
967
|
pl: [{
|
|
968
|
-
pl:
|
|
968
|
+
pl: P()
|
|
969
969
|
}],
|
|
970
970
|
/**
|
|
971
971
|
* Margin
|
|
@@ -1035,7 +1035,7 @@ const $e = (e) => {
|
|
|
1035
1035
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1036
1036
|
*/
|
|
1037
1037
|
"space-x": [{
|
|
1038
|
-
"space-x":
|
|
1038
|
+
"space-x": P()
|
|
1039
1039
|
}],
|
|
1040
1040
|
/**
|
|
1041
1041
|
* Space Between X Reverse
|
|
@@ -1047,7 +1047,7 @@ const $e = (e) => {
|
|
|
1047
1047
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1048
1048
|
*/
|
|
1049
1049
|
"space-y": [{
|
|
1050
|
-
"space-y":
|
|
1050
|
+
"space-y": P()
|
|
1051
1051
|
}],
|
|
1052
1052
|
/**
|
|
1053
1053
|
* Space Between Y Reverse
|
|
@@ -1062,14 +1062,14 @@ const $e = (e) => {
|
|
|
1062
1062
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1063
1063
|
*/
|
|
1064
1064
|
size: [{
|
|
1065
|
-
size:
|
|
1065
|
+
size: X()
|
|
1066
1066
|
}],
|
|
1067
1067
|
/**
|
|
1068
1068
|
* Width
|
|
1069
1069
|
* @see https://tailwindcss.com/docs/width
|
|
1070
1070
|
*/
|
|
1071
1071
|
w: [{
|
|
1072
|
-
w: [a, "screen", ...
|
|
1072
|
+
w: [a, "screen", ...X()]
|
|
1073
1073
|
}],
|
|
1074
1074
|
/**
|
|
1075
1075
|
* Min-Width
|
|
@@ -1081,7 +1081,7 @@ const $e = (e) => {
|
|
|
1081
1081
|
"screen",
|
|
1082
1082
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1083
1083
|
"none",
|
|
1084
|
-
...
|
|
1084
|
+
...X()
|
|
1085
1085
|
]
|
|
1086
1086
|
}],
|
|
1087
1087
|
/**
|
|
@@ -1099,7 +1099,7 @@ const $e = (e) => {
|
|
|
1099
1099
|
{
|
|
1100
1100
|
screen: [r]
|
|
1101
1101
|
},
|
|
1102
|
-
...
|
|
1102
|
+
...X()
|
|
1103
1103
|
]
|
|
1104
1104
|
}],
|
|
1105
1105
|
/**
|
|
@@ -1107,21 +1107,21 @@ const $e = (e) => {
|
|
|
1107
1107
|
* @see https://tailwindcss.com/docs/height
|
|
1108
1108
|
*/
|
|
1109
1109
|
h: [{
|
|
1110
|
-
h: ["screen", "lh", ...
|
|
1110
|
+
h: ["screen", "lh", ...X()]
|
|
1111
1111
|
}],
|
|
1112
1112
|
/**
|
|
1113
1113
|
* Min-Height
|
|
1114
1114
|
* @see https://tailwindcss.com/docs/min-height
|
|
1115
1115
|
*/
|
|
1116
1116
|
"min-h": [{
|
|
1117
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1117
|
+
"min-h": ["screen", "lh", "none", ...X()]
|
|
1118
1118
|
}],
|
|
1119
1119
|
/**
|
|
1120
1120
|
* Max-Height
|
|
1121
1121
|
* @see https://tailwindcss.com/docs/max-height
|
|
1122
1122
|
*/
|
|
1123
1123
|
"max-h": [{
|
|
1124
|
-
"max-h": ["screen", "lh", ...
|
|
1124
|
+
"max-h": ["screen", "lh", ...X()]
|
|
1125
1125
|
}],
|
|
1126
1126
|
// ------------------
|
|
1127
1127
|
// --- Typography ---
|
|
@@ -1216,7 +1216,7 @@ const $e = (e) => {
|
|
|
1216
1216
|
leading: [
|
|
1217
1217
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1218
1218
|
n,
|
|
1219
|
-
...
|
|
1219
|
+
...P()
|
|
1220
1220
|
]
|
|
1221
1221
|
}],
|
|
1222
1222
|
/**
|
|
@@ -1317,7 +1317,7 @@ const $e = (e) => {
|
|
|
1317
1317
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1318
1318
|
*/
|
|
1319
1319
|
indent: [{
|
|
1320
|
-
indent:
|
|
1320
|
+
indent: P()
|
|
1321
1321
|
}],
|
|
1322
1322
|
/**
|
|
1323
1323
|
* Vertical Alignment
|
|
@@ -2118,7 +2118,7 @@ const $e = (e) => {
|
|
|
2118
2118
|
* @see https://tailwindcss.com/docs/blur
|
|
2119
2119
|
*/
|
|
2120
2120
|
blur: [{
|
|
2121
|
-
blur:
|
|
2121
|
+
blur: Pe()
|
|
2122
2122
|
}],
|
|
2123
2123
|
/**
|
|
2124
2124
|
* Brightness
|
|
@@ -2208,7 +2208,7 @@ const $e = (e) => {
|
|
|
2208
2208
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2209
2209
|
*/
|
|
2210
2210
|
"backdrop-blur": [{
|
|
2211
|
-
"backdrop-blur":
|
|
2211
|
+
"backdrop-blur": Pe()
|
|
2212
2212
|
}],
|
|
2213
2213
|
/**
|
|
2214
2214
|
* Backdrop Brightness
|
|
@@ -2281,21 +2281,21 @@ const $e = (e) => {
|
|
|
2281
2281
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2282
2282
|
*/
|
|
2283
2283
|
"border-spacing": [{
|
|
2284
|
-
"border-spacing":
|
|
2284
|
+
"border-spacing": P()
|
|
2285
2285
|
}],
|
|
2286
2286
|
/**
|
|
2287
2287
|
* Border Spacing X
|
|
2288
2288
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2289
2289
|
*/
|
|
2290
2290
|
"border-spacing-x": [{
|
|
2291
|
-
"border-spacing-x":
|
|
2291
|
+
"border-spacing-x": P()
|
|
2292
2292
|
}],
|
|
2293
2293
|
/**
|
|
2294
2294
|
* Border Spacing Y
|
|
2295
2295
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2296
2296
|
*/
|
|
2297
2297
|
"border-spacing-y": [{
|
|
2298
|
-
"border-spacing-y":
|
|
2298
|
+
"border-spacing-y": P()
|
|
2299
2299
|
}],
|
|
2300
2300
|
/**
|
|
2301
2301
|
* Table Layout
|
|
@@ -2587,126 +2587,126 @@ const $e = (e) => {
|
|
|
2587
2587
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2588
2588
|
*/
|
|
2589
2589
|
"scroll-m": [{
|
|
2590
|
-
"scroll-m":
|
|
2590
|
+
"scroll-m": P()
|
|
2591
2591
|
}],
|
|
2592
2592
|
/**
|
|
2593
2593
|
* Scroll Margin X
|
|
2594
2594
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2595
2595
|
*/
|
|
2596
2596
|
"scroll-mx": [{
|
|
2597
|
-
"scroll-mx":
|
|
2597
|
+
"scroll-mx": P()
|
|
2598
2598
|
}],
|
|
2599
2599
|
/**
|
|
2600
2600
|
* Scroll Margin Y
|
|
2601
2601
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2602
2602
|
*/
|
|
2603
2603
|
"scroll-my": [{
|
|
2604
|
-
"scroll-my":
|
|
2604
|
+
"scroll-my": P()
|
|
2605
2605
|
}],
|
|
2606
2606
|
/**
|
|
2607
2607
|
* Scroll Margin Start
|
|
2608
2608
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2609
2609
|
*/
|
|
2610
2610
|
"scroll-ms": [{
|
|
2611
|
-
"scroll-ms":
|
|
2611
|
+
"scroll-ms": P()
|
|
2612
2612
|
}],
|
|
2613
2613
|
/**
|
|
2614
2614
|
* Scroll Margin End
|
|
2615
2615
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2616
2616
|
*/
|
|
2617
2617
|
"scroll-me": [{
|
|
2618
|
-
"scroll-me":
|
|
2618
|
+
"scroll-me": P()
|
|
2619
2619
|
}],
|
|
2620
2620
|
/**
|
|
2621
2621
|
* Scroll Margin Top
|
|
2622
2622
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2623
2623
|
*/
|
|
2624
2624
|
"scroll-mt": [{
|
|
2625
|
-
"scroll-mt":
|
|
2625
|
+
"scroll-mt": P()
|
|
2626
2626
|
}],
|
|
2627
2627
|
/**
|
|
2628
2628
|
* Scroll Margin Right
|
|
2629
2629
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2630
2630
|
*/
|
|
2631
2631
|
"scroll-mr": [{
|
|
2632
|
-
"scroll-mr":
|
|
2632
|
+
"scroll-mr": P()
|
|
2633
2633
|
}],
|
|
2634
2634
|
/**
|
|
2635
2635
|
* Scroll Margin Bottom
|
|
2636
2636
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2637
2637
|
*/
|
|
2638
2638
|
"scroll-mb": [{
|
|
2639
|
-
"scroll-mb":
|
|
2639
|
+
"scroll-mb": P()
|
|
2640
2640
|
}],
|
|
2641
2641
|
/**
|
|
2642
2642
|
* Scroll Margin Left
|
|
2643
2643
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2644
2644
|
*/
|
|
2645
2645
|
"scroll-ml": [{
|
|
2646
|
-
"scroll-ml":
|
|
2646
|
+
"scroll-ml": P()
|
|
2647
2647
|
}],
|
|
2648
2648
|
/**
|
|
2649
2649
|
* Scroll Padding
|
|
2650
2650
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2651
2651
|
*/
|
|
2652
2652
|
"scroll-p": [{
|
|
2653
|
-
"scroll-p":
|
|
2653
|
+
"scroll-p": P()
|
|
2654
2654
|
}],
|
|
2655
2655
|
/**
|
|
2656
2656
|
* Scroll Padding X
|
|
2657
2657
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2658
2658
|
*/
|
|
2659
2659
|
"scroll-px": [{
|
|
2660
|
-
"scroll-px":
|
|
2660
|
+
"scroll-px": P()
|
|
2661
2661
|
}],
|
|
2662
2662
|
/**
|
|
2663
2663
|
* Scroll Padding Y
|
|
2664
2664
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2665
2665
|
*/
|
|
2666
2666
|
"scroll-py": [{
|
|
2667
|
-
"scroll-py":
|
|
2667
|
+
"scroll-py": P()
|
|
2668
2668
|
}],
|
|
2669
2669
|
/**
|
|
2670
2670
|
* Scroll Padding Start
|
|
2671
2671
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2672
2672
|
*/
|
|
2673
2673
|
"scroll-ps": [{
|
|
2674
|
-
"scroll-ps":
|
|
2674
|
+
"scroll-ps": P()
|
|
2675
2675
|
}],
|
|
2676
2676
|
/**
|
|
2677
2677
|
* Scroll Padding End
|
|
2678
2678
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2679
2679
|
*/
|
|
2680
2680
|
"scroll-pe": [{
|
|
2681
|
-
"scroll-pe":
|
|
2681
|
+
"scroll-pe": P()
|
|
2682
2682
|
}],
|
|
2683
2683
|
/**
|
|
2684
2684
|
* Scroll Padding Top
|
|
2685
2685
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2686
2686
|
*/
|
|
2687
2687
|
"scroll-pt": [{
|
|
2688
|
-
"scroll-pt":
|
|
2688
|
+
"scroll-pt": P()
|
|
2689
2689
|
}],
|
|
2690
2690
|
/**
|
|
2691
2691
|
* Scroll Padding Right
|
|
2692
2692
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2693
2693
|
*/
|
|
2694
2694
|
"scroll-pr": [{
|
|
2695
|
-
"scroll-pr":
|
|
2695
|
+
"scroll-pr": P()
|
|
2696
2696
|
}],
|
|
2697
2697
|
/**
|
|
2698
2698
|
* Scroll Padding Bottom
|
|
2699
2699
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2700
2700
|
*/
|
|
2701
2701
|
"scroll-pb": [{
|
|
2702
|
-
"scroll-pb":
|
|
2702
|
+
"scroll-pb": P()
|
|
2703
2703
|
}],
|
|
2704
2704
|
/**
|
|
2705
2705
|
* Scroll Padding Left
|
|
2706
2706
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2707
2707
|
*/
|
|
2708
2708
|
"scroll-pl": [{
|
|
2709
|
-
"scroll-pl":
|
|
2709
|
+
"scroll-pl": P()
|
|
2710
2710
|
}],
|
|
2711
2711
|
/**
|
|
2712
2712
|
* Scroll Snap Align
|
|
@@ -2892,7 +2892,7 @@ const Ho = ({
|
|
|
2892
2892
|
n && /* @__PURE__ */ C(Ss, { tooltip: n, children: /* @__PURE__ */ C(
|
|
2893
2893
|
ke,
|
|
2894
2894
|
{
|
|
2895
|
-
icon: /* @__PURE__ */ C(
|
|
2895
|
+
icon: /* @__PURE__ */ C(Pu, { size: 14, className: "text-secondary" })
|
|
2896
2896
|
}
|
|
2897
2897
|
) })
|
|
2898
2898
|
]
|
|
@@ -2947,7 +2947,7 @@ const IC = {
|
|
|
2947
2947
|
};
|
|
2948
2948
|
var co = /* @__PURE__ */ ((e) => (e.Info = "info", e.Success = "success", e.Warning = "warning", e.Error = "error", e))(co || {});
|
|
2949
2949
|
const kC = {
|
|
2950
|
-
info: /* @__PURE__ */ C(
|
|
2950
|
+
info: /* @__PURE__ */ C(Pu, { size: 24, stroke: 2 }),
|
|
2951
2951
|
error: /* @__PURE__ */ C(nm, { size: 24, stroke: 2 }),
|
|
2952
2952
|
warning: /* @__PURE__ */ C(im, { size: 24, stroke: 2 }),
|
|
2953
2953
|
success: /* @__PURE__ */ C(om, { size: 24, stroke: 2 })
|
|
@@ -3110,7 +3110,7 @@ const kC = {
|
|
|
3110
3110
|
i ? "bg-layer-4 border-icon-secondary" : ""
|
|
3111
3111
|
);
|
|
3112
3112
|
return /* @__PURE__ */ V("label", { className: c, htmlFor: t, children: [
|
|
3113
|
-
o ? /* @__PURE__ */ C(rm, { className: d, ...Se }) : s ? /* @__PURE__ */ C(
|
|
3113
|
+
o ? /* @__PURE__ */ C(rm, { className: d, ...Se }) : s ? /* @__PURE__ */ C(Du, { className: d, ...Se }) : null,
|
|
3114
3114
|
e && (typeof e == "string" ? /* @__PURE__ */ C(_t, { text: e, cssClass: "text-primary" }) : e),
|
|
3115
3115
|
/* @__PURE__ */ C(
|
|
3116
3116
|
"input",
|
|
@@ -3172,7 +3172,7 @@ const VC = (e, t) => {
|
|
|
3172
3172
|
currentStep: s,
|
|
3173
3173
|
onChangeStep: o
|
|
3174
3174
|
}) => {
|
|
3175
|
-
const i = "h-[32px] flex flex-1 min-w-[180px] items-center dial-tiny cursor-pointer dial-step", n = "w-[22px] h-[22px] flex justify-center items-center mr-2 rounded-full text-white", r = () => s === e.id && e.status === yt.ERROR ? /* @__PURE__ */ C(al, { stroke: 2, size: 16 }) : s !== e.id && e.status === yt.VALID ? /* @__PURE__ */ C(
|
|
3175
|
+
const i = "h-[32px] flex flex-1 min-w-[180px] items-center dial-tiny cursor-pointer dial-step", n = "w-[22px] h-[22px] flex justify-center items-center mr-2 rounded-full text-white", r = () => s === e.id && e.status === yt.ERROR ? /* @__PURE__ */ C(al, { stroke: 2, size: 16 }) : s !== e.id && e.status === yt.VALID ? /* @__PURE__ */ C(Du, { stroke: 2, size: 16 }) : t + 1;
|
|
3176
3176
|
return /* @__PURE__ */ V(
|
|
3177
3177
|
"button",
|
|
3178
3178
|
{
|
|
@@ -3965,7 +3965,7 @@ function Ev(e, t, s) {
|
|
|
3965
3965
|
s.getTarget(o).hover(t, o);
|
|
3966
3966
|
});
|
|
3967
3967
|
}
|
|
3968
|
-
function
|
|
3968
|
+
function Pv(e) {
|
|
3969
3969
|
return function() {
|
|
3970
3970
|
if (e.getMonitor().isDragging())
|
|
3971
3971
|
return {
|
|
@@ -3973,10 +3973,10 @@ function Dv(e) {
|
|
|
3973
3973
|
};
|
|
3974
3974
|
};
|
|
3975
3975
|
}
|
|
3976
|
-
function
|
|
3976
|
+
function Dv(e) {
|
|
3977
3977
|
return {
|
|
3978
3978
|
beginDrag: lv(e),
|
|
3979
|
-
publishDragSource:
|
|
3979
|
+
publishDragSource: Pv(e),
|
|
3980
3980
|
hover: yv(e),
|
|
3981
3981
|
drop: fv(e),
|
|
3982
3982
|
endDrag: bv(e)
|
|
@@ -4003,7 +4003,7 @@ class Tv {
|
|
|
4003
4003
|
typeof a < "u" && s(a);
|
|
4004
4004
|
};
|
|
4005
4005
|
}
|
|
4006
|
-
const i =
|
|
4006
|
+
const i = Dv(this);
|
|
4007
4007
|
return Object.keys(i).reduce((n, r) => {
|
|
4008
4008
|
const a = i[r];
|
|
4009
4009
|
return n[r] = o(a), n;
|
|
@@ -4352,7 +4352,7 @@ function Ec(e) {
|
|
|
4352
4352
|
throw new Error(`Cannot parse handler ID: ${e}`);
|
|
4353
4353
|
}
|
|
4354
4354
|
}
|
|
4355
|
-
function
|
|
4355
|
+
function Pc(e, t) {
|
|
4356
4356
|
const s = e.entries();
|
|
4357
4357
|
let o = !1;
|
|
4358
4358
|
do {
|
|
@@ -4375,7 +4375,7 @@ class Qv {
|
|
|
4375
4375
|
return this.store.dispatch(_v(o)), o;
|
|
4376
4376
|
}
|
|
4377
4377
|
containsHandler(t) {
|
|
4378
|
-
return
|
|
4378
|
+
return Pc(this.dragSources, t) || Pc(this.dropTargets, t);
|
|
4379
4379
|
}
|
|
4380
4380
|
getSource(t, s = !1) {
|
|
4381
4381
|
return ue(this.isSourceId(t), "Expected a valid source ID."), s && t === this.pinnedSourceId ? this.pinnedSource : this.dragSources.get(t);
|
|
@@ -4471,12 +4471,12 @@ function ow(e) {
|
|
|
4471
4471
|
}
|
|
4472
4472
|
return e;
|
|
4473
4473
|
}
|
|
4474
|
-
const
|
|
4474
|
+
const Dc = {
|
|
4475
4475
|
initialSourceClientOffset: null,
|
|
4476
4476
|
initialClientOffset: null,
|
|
4477
4477
|
clientOffset: null
|
|
4478
4478
|
};
|
|
4479
|
-
function iw(e =
|
|
4479
|
+
function iw(e = Dc, t) {
|
|
4480
4480
|
const { payload: s } = t;
|
|
4481
4481
|
switch (t.type) {
|
|
4482
4482
|
case ml:
|
|
@@ -4492,7 +4492,7 @@ function iw(e = Pc, t) {
|
|
|
4492
4492
|
});
|
|
4493
4493
|
case Yn:
|
|
4494
4494
|
case qn:
|
|
4495
|
-
return
|
|
4495
|
+
return Dc;
|
|
4496
4496
|
default:
|
|
4497
4497
|
return e;
|
|
4498
4498
|
}
|
|
@@ -4719,7 +4719,7 @@ function Sw() {
|
|
|
4719
4719
|
}), pr;
|
|
4720
4720
|
}
|
|
4721
4721
|
var yw = Sw();
|
|
4722
|
-
const Rw = /* @__PURE__ */ bw(yw), Ws = typeof window < "u" ?
|
|
4722
|
+
const Rw = /* @__PURE__ */ bw(yw), Ws = typeof window < "u" ? Dt : fe;
|
|
4723
4723
|
function xw(e, t, s) {
|
|
4724
4724
|
const [o, i] = M(
|
|
4725
4725
|
() => t(e)
|
|
@@ -4772,7 +4772,7 @@ function Ew(e) {
|
|
|
4772
4772
|
]
|
|
4773
4773
|
);
|
|
4774
4774
|
}
|
|
4775
|
-
function
|
|
4775
|
+
function Pw(e) {
|
|
4776
4776
|
return z(
|
|
4777
4777
|
() => e.hooks.dragPreview(),
|
|
4778
4778
|
[
|
|
@@ -4781,7 +4781,7 @@ function Dw(e) {
|
|
|
4781
4781
|
);
|
|
4782
4782
|
}
|
|
4783
4783
|
let fr = !1, mr = !1;
|
|
4784
|
-
class
|
|
4784
|
+
class Dw {
|
|
4785
4785
|
receiveHandlerId(t) {
|
|
4786
4786
|
this.sourceId = t;
|
|
4787
4787
|
}
|
|
@@ -5156,7 +5156,7 @@ function Hw(e, t) {
|
|
|
5156
5156
|
function Gw() {
|
|
5157
5157
|
const e = Go();
|
|
5158
5158
|
return z(
|
|
5159
|
-
() => new
|
|
5159
|
+
() => new Dw(e),
|
|
5160
5160
|
[
|
|
5161
5161
|
e
|
|
5162
5162
|
]
|
|
@@ -5228,7 +5228,7 @@ function _w(e, t) {
|
|
|
5228
5228
|
return Ww(s, o, i), [
|
|
5229
5229
|
sh(s.collect, o, i),
|
|
5230
5230
|
Ew(i),
|
|
5231
|
-
|
|
5231
|
+
Pw(i)
|
|
5232
5232
|
];
|
|
5233
5233
|
}
|
|
5234
5234
|
function Uw(e) {
|
|
@@ -5384,7 +5384,7 @@ const kc = "column", Qw = "flex items-center", Xw = "mr-3 cursor-move text-secon
|
|
|
5384
5384
|
stroke: t.stroke ?? Se.stroke,
|
|
5385
5385
|
className: t.className
|
|
5386
5386
|
}
|
|
5387
|
-
),
|
|
5387
|
+
), Ps = (e, t) => /* @__PURE__ */ C(
|
|
5388
5388
|
e,
|
|
5389
5389
|
{
|
|
5390
5390
|
width: Number(t.size ?? Se.size),
|
|
@@ -5393,25 +5393,25 @@ const kc = "column", Qw = "flex items-center", Xw = "mr-3 cursor-move text-secon
|
|
|
5393
5393
|
}
|
|
5394
5394
|
), Ac = {
|
|
5395
5395
|
".bmp": (e) => Me(Am, e),
|
|
5396
|
-
".cpp": (e) =>
|
|
5397
|
-
".c": (e) =>
|
|
5398
|
-
".cs": (e) =>
|
|
5396
|
+
".cpp": (e) => Ps(Jw, e),
|
|
5397
|
+
".c": (e) => Ps(e1, e),
|
|
5398
|
+
".cs": (e) => Ps(t1, e),
|
|
5399
5399
|
".css": (e) => Me(km, e),
|
|
5400
5400
|
".csv": (e) => Me(Im, e),
|
|
5401
5401
|
".doc": (e) => Me(Mm, e),
|
|
5402
5402
|
".docx": (e) => Me(Tm, e),
|
|
5403
|
-
".html": (e) => Me(
|
|
5404
|
-
".ini": (e) =>
|
|
5405
|
-
".jpg": (e) => Me(
|
|
5403
|
+
".html": (e) => Me(Dm, e),
|
|
5404
|
+
".ini": (e) => Ps(s1, e),
|
|
5405
|
+
".jpg": (e) => Me(Pm, e),
|
|
5406
5406
|
".js": (e) => Me(Em, e),
|
|
5407
|
-
".json": (e) =>
|
|
5407
|
+
".json": (e) => Ps(o1, e),
|
|
5408
5408
|
".jsx": (e) => Me(Fm, e),
|
|
5409
|
-
".md": (e) =>
|
|
5409
|
+
".md": (e) => Ps(i1, e),
|
|
5410
5410
|
".pdf": (e) => Me(xm, e),
|
|
5411
5411
|
".php": (e) => Me(Rm, e),
|
|
5412
5412
|
".png": (e) => Me(ym, e),
|
|
5413
5413
|
".ppt": (e) => Me(Sm, e),
|
|
5414
|
-
".py": (e) =>
|
|
5414
|
+
".py": (e) => Ps(n1, e),
|
|
5415
5415
|
".rs": (e) => Me(bm, e),
|
|
5416
5416
|
".sql": (e) => Me(wm, e),
|
|
5417
5417
|
".svg": (e) => Me(vm, e),
|
|
@@ -5615,14 +5615,14 @@ const u1 = Z(
|
|
|
5615
5615
|
y || b(q), l?.(q);
|
|
5616
5616
|
},
|
|
5617
5617
|
[y, l]
|
|
5618
|
-
),
|
|
5618
|
+
), P = il(), D = i === void 0, A = (q) => "clientWidth" in q ? q.clientWidth : q.getBoundingClientRect?.()?.width ?? 0, { refs: F, floatingStyles: I, context: H } = Xa({
|
|
5619
5619
|
placement: i,
|
|
5620
5620
|
open: S,
|
|
5621
5621
|
onOpenChange: x,
|
|
5622
5622
|
whileElementsMounted: Ru,
|
|
5623
5623
|
middleware: [
|
|
5624
5624
|
bu({ mainAxis: Uo, crossAxis: 0 }),
|
|
5625
|
-
|
|
5625
|
+
D ? Zf({
|
|
5626
5626
|
alignment: "start",
|
|
5627
5627
|
crossAxis: !0,
|
|
5628
5628
|
padding: Uo,
|
|
@@ -5631,8 +5631,8 @@ const u1 = Z(
|
|
|
5631
5631
|
yu({ padding: Uo }),
|
|
5632
5632
|
Qf({
|
|
5633
5633
|
padding: Uo,
|
|
5634
|
-
apply({ availableWidth: q, availableHeight: oe, elements:
|
|
5635
|
-
const me =
|
|
5634
|
+
apply({ availableWidth: q, availableHeight: oe, elements: Pe }) {
|
|
5635
|
+
const me = Pe.floating, he = A(Pe.reference);
|
|
5636
5636
|
me.style.setProperty(
|
|
5637
5637
|
"--fui-available-height",
|
|
5638
5638
|
`${Math.floor(oe)}px`
|
|
@@ -5658,11 +5658,11 @@ const u1 = Z(
|
|
|
5658
5658
|
const oe = q.target;
|
|
5659
5659
|
return !(g?.current && oe instanceof Node && g.current.contains(oe));
|
|
5660
5660
|
}
|
|
5661
|
-
}),
|
|
5661
|
+
}), X = el(H, { role: "menu" }), { getReferenceProps: L, getFloatingProps: re } = tl([
|
|
5662
5662
|
te,
|
|
5663
5663
|
B,
|
|
5664
5664
|
ae,
|
|
5665
|
-
|
|
5665
|
+
X
|
|
5666
5666
|
]), Y = N(
|
|
5667
5667
|
(q, oe) => {
|
|
5668
5668
|
F.setPositionReference({
|
|
@@ -5762,13 +5762,13 @@ const u1 = Z(
|
|
|
5762
5762
|
const q = F.reference.current;
|
|
5763
5763
|
let oe = null;
|
|
5764
5764
|
if (q instanceof Element ? oe = q : R.current instanceof Element && (oe = R.current), !oe) return;
|
|
5765
|
-
const
|
|
5765
|
+
const Pe = new IntersectionObserver(
|
|
5766
5766
|
([me]) => {
|
|
5767
5767
|
me.isIntersecting || x(!1);
|
|
5768
5768
|
},
|
|
5769
5769
|
{ root: null, threshold: 0 }
|
|
5770
5770
|
);
|
|
5771
|
-
return
|
|
5771
|
+
return Pe.observe(oe), () => Pe.disconnect();
|
|
5772
5772
|
}, [S, F.reference, x]), /* @__PURE__ */ V(Be, { children: [
|
|
5773
5773
|
/* @__PURE__ */ C(
|
|
5774
5774
|
"span",
|
|
@@ -5781,7 +5781,7 @@ const u1 = Z(
|
|
|
5781
5781
|
),
|
|
5782
5782
|
"aria-haspopup": "menu",
|
|
5783
5783
|
"aria-expanded": S,
|
|
5784
|
-
"aria-controls":
|
|
5784
|
+
"aria-controls": P,
|
|
5785
5785
|
...ye,
|
|
5786
5786
|
children: e
|
|
5787
5787
|
}
|
|
@@ -5796,7 +5796,7 @@ const u1 = Z(
|
|
|
5796
5796
|
children: /* @__PURE__ */ V(
|
|
5797
5797
|
"div",
|
|
5798
5798
|
{
|
|
5799
|
-
id:
|
|
5799
|
+
id: P,
|
|
5800
5800
|
ref: F.setFloating,
|
|
5801
5801
|
style: I,
|
|
5802
5802
|
className: Z(
|
|
@@ -5903,12 +5903,12 @@ const Oc = () => typeof window < "u" && window.innerWidth < 640, Nc = () => {
|
|
|
5903
5903
|
}, [e, S]), fe(() => {
|
|
5904
5904
|
const R = w.current, x = v.current;
|
|
5905
5905
|
if (!R || !x) return;
|
|
5906
|
-
const
|
|
5907
|
-
|
|
5908
|
-
left:
|
|
5906
|
+
const P = R.offsetLeft, D = P + R.offsetWidth, A = x.scrollLeft, F = A + x.clientWidth;
|
|
5907
|
+
P < A ? x.scrollTo({
|
|
5908
|
+
left: P - Lc,
|
|
5909
5909
|
behavior: "smooth"
|
|
5910
|
-
}) :
|
|
5911
|
-
left:
|
|
5910
|
+
}) : D > F && x.scrollTo({
|
|
5911
|
+
left: D - x.clientWidth + Lc,
|
|
5912
5912
|
behavior: "smooth"
|
|
5913
5913
|
});
|
|
5914
5914
|
}, [t]), p ? /* @__PURE__ */ C(
|
|
@@ -6173,7 +6173,7 @@ const Oc = () => typeof window < "u" && window.innerWidth < 640, Nc = () => {
|
|
|
6173
6173
|
children: /* @__PURE__ */ C("ol", { className: b1, children: l })
|
|
6174
6174
|
}
|
|
6175
6175
|
);
|
|
6176
|
-
},
|
|
6176
|
+
}, P1 = ({
|
|
6177
6177
|
iconClass: e,
|
|
6178
6178
|
...t
|
|
6179
6179
|
}) => /* @__PURE__ */ C(
|
|
@@ -6182,7 +6182,7 @@ const Oc = () => typeof window < "u" && window.innerWidth < 640, Nc = () => {
|
|
|
6182
6182
|
iconBefore: /* @__PURE__ */ C(cl, { ...Se, className: e || "" }),
|
|
6183
6183
|
...t
|
|
6184
6184
|
}
|
|
6185
|
-
),
|
|
6185
|
+
), D1 = ({
|
|
6186
6186
|
value: e,
|
|
6187
6187
|
textareaId: t,
|
|
6188
6188
|
placeholder: s,
|
|
@@ -6249,7 +6249,7 @@ const Oc = () => typeof window < "u" && window.innerWidth < 640, Nc = () => {
|
|
|
6249
6249
|
}
|
|
6250
6250
|
}
|
|
6251
6251
|
}
|
|
6252
|
-
},
|
|
6252
|
+
}, Po = ({
|
|
6253
6253
|
iconBefore: e,
|
|
6254
6254
|
iconAfter: t,
|
|
6255
6255
|
hideBorder: s,
|
|
@@ -6274,9 +6274,9 @@ const Oc = () => typeof window < "u" && window.innerWidth < 640, Nc = () => {
|
|
|
6274
6274
|
defaultValue: S,
|
|
6275
6275
|
tooltipText: R,
|
|
6276
6276
|
hideTooltip: x = !1,
|
|
6277
|
-
inputRef:
|
|
6277
|
+
inputRef: P
|
|
6278
6278
|
}) => {
|
|
6279
|
-
const
|
|
6279
|
+
const D = (H) => H.target.blur(), A = c === "number" || p !== void 0 || f !== void 0, F = (H) => {
|
|
6280
6280
|
M1(H, c, p, f);
|
|
6281
6281
|
}, I = (H) => {
|
|
6282
6282
|
const te = H.currentTarget.value;
|
|
@@ -6302,7 +6302,7 @@ const Oc = () => typeof window < "u" && window.innerWidth < 640, Nc = () => {
|
|
|
6302
6302
|
),
|
|
6303
6303
|
children: [
|
|
6304
6304
|
w && /* @__PURE__ */ C("div", { className: "mr-2", children: /* @__PURE__ */ C(
|
|
6305
|
-
|
|
6305
|
+
Po,
|
|
6306
6306
|
{
|
|
6307
6307
|
hideBorder: !0,
|
|
6308
6308
|
containerCssClass: "rounded-r-none border-r-0",
|
|
@@ -6331,7 +6331,7 @@ const Oc = () => typeof window < "u" && window.innerWidth < 640, Nc = () => {
|
|
|
6331
6331
|
children: /* @__PURE__ */ C(
|
|
6332
6332
|
"input",
|
|
6333
6333
|
{
|
|
6334
|
-
ref:
|
|
6334
|
+
ref: P,
|
|
6335
6335
|
type: c,
|
|
6336
6336
|
autoComplete: "off",
|
|
6337
6337
|
id: i,
|
|
@@ -6344,7 +6344,7 @@ const Oc = () => typeof window < "u" && window.innerWidth < 640, Nc = () => {
|
|
|
6344
6344
|
),
|
|
6345
6345
|
onChange: (H) => !u && I?.(H),
|
|
6346
6346
|
onKeyDown: F,
|
|
6347
|
-
onWheel:
|
|
6347
|
+
onWheel: D,
|
|
6348
6348
|
onBlur: y,
|
|
6349
6349
|
min: p,
|
|
6350
6350
|
max: f,
|
|
@@ -6365,7 +6365,7 @@ const Oc = () => typeof window < "u" && window.innerWidth < 640, Nc = () => {
|
|
|
6365
6365
|
v
|
|
6366
6366
|
] }),
|
|
6367
6367
|
b && /* @__PURE__ */ C("div", { className: "ml-2", children: /* @__PURE__ */ C(
|
|
6368
|
-
|
|
6368
|
+
Po,
|
|
6369
6369
|
{
|
|
6370
6370
|
hideBorder: !0,
|
|
6371
6371
|
containerCssClass: "rounded-l-none border-l-0",
|
|
@@ -6412,7 +6412,7 @@ const Oc = () => typeof window < "u" && window.innerWidth < 640, Nc = () => {
|
|
|
6412
6412
|
defaultEmptyText: p,
|
|
6413
6413
|
value: f.value,
|
|
6414
6414
|
children: /* @__PURE__ */ C(
|
|
6415
|
-
|
|
6415
|
+
Po,
|
|
6416
6416
|
{
|
|
6417
6417
|
elementId: l,
|
|
6418
6418
|
cssClass: u,
|
|
@@ -6464,7 +6464,7 @@ const Oc = () => typeof window < "u" && window.innerWidth < 640, Nc = () => {
|
|
|
6464
6464
|
}
|
|
6465
6465
|
),
|
|
6466
6466
|
/* @__PURE__ */ C(
|
|
6467
|
-
|
|
6467
|
+
D1,
|
|
6468
6468
|
{
|
|
6469
6469
|
textareaId: s,
|
|
6470
6470
|
cssClass: o,
|
|
@@ -6782,7 +6782,7 @@ const G1 = "flex justify-end gap-2 px-6 py-4", V1 = "text-secondary dial-small-1
|
|
|
6782
6782
|
s || S(!0);
|
|
6783
6783
|
}, [s]), x = N(() => {
|
|
6784
6784
|
S(!1), c?.();
|
|
6785
|
-
}, [c]),
|
|
6785
|
+
}, [c]), P = N(() => {
|
|
6786
6786
|
h(), x();
|
|
6787
6787
|
}, [h, x]);
|
|
6788
6788
|
return /* @__PURE__ */ V("div", { className: "flex flex-col", children: [
|
|
@@ -6792,7 +6792,7 @@ const G1 = "flex justify-end gap-2 px-6 py-4", V1 = "text-secondary dial-small-1
|
|
|
6792
6792
|
{
|
|
6793
6793
|
disabled: s,
|
|
6794
6794
|
open: y,
|
|
6795
|
-
selectedValue: n ?? i.find((
|
|
6795
|
+
selectedValue: n ?? i.find((D) => D.id === o)?.name,
|
|
6796
6796
|
valueCssClasses: r,
|
|
6797
6797
|
inputCssClasses: Z(a, "py-2", "px-3"),
|
|
6798
6798
|
emptyValueText: l,
|
|
@@ -6819,7 +6819,7 @@ const G1 = "flex justify-end gap-2 px-6 py-4", V1 = "text-secondary dial-small-1
|
|
|
6819
6819
|
{
|
|
6820
6820
|
variant: Oe.Primary,
|
|
6821
6821
|
title: p,
|
|
6822
|
-
onClick:
|
|
6822
|
+
onClick: P,
|
|
6823
6823
|
disable: !f
|
|
6824
6824
|
}
|
|
6825
6825
|
)
|
|
@@ -6840,7 +6840,7 @@ const G1 = "flex justify-end gap-2 px-6 py-4", V1 = "text-secondary dial-small-1
|
|
|
6840
6840
|
}
|
|
6841
6841
|
)
|
|
6842
6842
|
] });
|
|
6843
|
-
}, U1 = "Create", $1 = "Cancel", j1 = "flex items-center justify-end gap-2 px-6 py-3",
|
|
6843
|
+
}, U1 = "Create", $1 = "Cancel", j1 = "flex items-center justify-end gap-2 px-6 py-3", PA = ({
|
|
6844
6844
|
title: e,
|
|
6845
6845
|
open: t = !1,
|
|
6846
6846
|
submitLabel: s = U1,
|
|
@@ -7017,30 +7017,30 @@ const K1 = {
|
|
|
7017
7017
|
const b = o.split("/").map((S) => S.trim()).filter(Boolean);
|
|
7018
7018
|
if (!b.length) return [{ title: "/" }];
|
|
7019
7019
|
const y = b.map((S, R) => {
|
|
7020
|
-
const x = b.slice(0, R + 1),
|
|
7020
|
+
const x = b.slice(0, R + 1), P = typeof i == "function" ? i(x, R) : void 0;
|
|
7021
7021
|
return {
|
|
7022
7022
|
title: S,
|
|
7023
|
-
href:
|
|
7024
|
-
onClick: s ? (
|
|
7025
|
-
|
|
7023
|
+
href: P,
|
|
7024
|
+
onClick: s ? (D) => {
|
|
7025
|
+
D.preventDefault(), s(P);
|
|
7026
7026
|
} : void 0
|
|
7027
7027
|
};
|
|
7028
7028
|
});
|
|
7029
7029
|
if (n && r) {
|
|
7030
7030
|
const S = n.split("/").filter(Boolean), R = o.split("/").filter(Boolean);
|
|
7031
7031
|
if (S.every(
|
|
7032
|
-
(
|
|
7032
|
+
(P, D) => R[D] === P
|
|
7033
7033
|
) && y.length > 0) {
|
|
7034
|
-
const
|
|
7034
|
+
const P = y.slice(S.length);
|
|
7035
7035
|
return [
|
|
7036
7036
|
{
|
|
7037
7037
|
title: r,
|
|
7038
7038
|
href: n,
|
|
7039
|
-
onClick: s ? (
|
|
7040
|
-
|
|
7039
|
+
onClick: s ? (D) => {
|
|
7040
|
+
D.preventDefault(), s(n);
|
|
7041
7041
|
} : void 0
|
|
7042
7042
|
},
|
|
7043
|
-
...
|
|
7043
|
+
...P
|
|
7044
7044
|
];
|
|
7045
7045
|
}
|
|
7046
7046
|
}
|
|
@@ -7108,7 +7108,7 @@ const ab = {
|
|
|
7108
7108
|
};
|
|
7109
7109
|
return s(e), t;
|
|
7110
7110
|
}, vh = (e) => (e.name ?? e.path.split("/").pop() ?? "").startsWith(".");
|
|
7111
|
-
var
|
|
7111
|
+
var Do = /* @__PURE__ */ ((e) => (e.File = "file", e.Folder = "folder", e))(Do || {});
|
|
7112
7112
|
const hb = ({
|
|
7113
7113
|
name: e,
|
|
7114
7114
|
type: t,
|
|
@@ -7122,7 +7122,7 @@ const hb = ({
|
|
|
7122
7122
|
] });
|
|
7123
7123
|
if (o)
|
|
7124
7124
|
return n(/* @__PURE__ */ C($n, {}));
|
|
7125
|
-
if (t ===
|
|
7125
|
+
if (t === Do.File) {
|
|
7126
7126
|
const r = e.includes(".") ? e.split(".").pop() : null;
|
|
7127
7127
|
return /* @__PURE__ */ C(
|
|
7128
7128
|
rh,
|
|
@@ -7135,7 +7135,7 @@ const hb = ({
|
|
|
7135
7135
|
}
|
|
7136
7136
|
);
|
|
7137
7137
|
}
|
|
7138
|
-
return t ===
|
|
7138
|
+
return t === Do.Folder ? n(
|
|
7139
7139
|
/* @__PURE__ */ C(
|
|
7140
7140
|
ke,
|
|
7141
7141
|
{
|
|
@@ -7183,7 +7183,7 @@ const hb = ({
|
|
|
7183
7183
|
}
|
|
7184
7184
|
),
|
|
7185
7185
|
/* @__PURE__ */ C(
|
|
7186
|
-
|
|
7186
|
+
Po,
|
|
7187
7187
|
{
|
|
7188
7188
|
containerCssClass: "!h-6 py-[1px] pl-[7px] pr-[7px]",
|
|
7189
7189
|
elementId: s,
|
|
@@ -7284,7 +7284,7 @@ const fb = ({
|
|
|
7284
7284
|
inputRef: g,
|
|
7285
7285
|
onChange: h
|
|
7286
7286
|
}
|
|
7287
|
-
) : t ===
|
|
7287
|
+
) : t === Do.Folder ? /* @__PURE__ */ C(
|
|
7288
7288
|
lh,
|
|
7289
7289
|
{
|
|
7290
7290
|
name: e,
|
|
@@ -7319,10 +7319,10 @@ const fb = ({
|
|
|
7319
7319
|
return S.add(b.path), S;
|
|
7320
7320
|
});
|
|
7321
7321
|
}, w = (b, y) => b.map((S) => {
|
|
7322
|
-
const { path: R, nodeType: x, name:
|
|
7322
|
+
const { path: R, nodeType: x, name: P, items: D } = S, A = x === ss.FOLDER;
|
|
7323
7323
|
if (!l && vh(S)) return null;
|
|
7324
7324
|
if (!A && !t) return;
|
|
7325
|
-
const F = Array.isArray(
|
|
7325
|
+
const F = Array.isArray(D) && D.length > 0 && D.some((re) => re.nodeType === ss.FOLDER || t), I = f.has(R), H = i === R, te = o.has(R), B = c === R, ae = p && ((re) => p(re, S)), X = H ? "bg-accent-primary-alpha border-l-2 border-l-accent-primary rounded" : "border-l-2 border-l-transparent", L = u?.(S) ?? [];
|
|
7326
7326
|
return /* @__PURE__ */ C("div", { className: "cursor-pointer text-secondary", children: /* @__PURE__ */ V("div", { className: "flex flex-col min-w-fit w-full", children: [
|
|
7327
7327
|
/* @__PURE__ */ C(
|
|
7328
7328
|
Mt,
|
|
@@ -7337,7 +7337,7 @@ const fb = ({
|
|
|
7337
7337
|
style: { paddingLeft: `${y * lb}px` },
|
|
7338
7338
|
className: pe(
|
|
7339
7339
|
"py-1 gap-[2px] dial-small flex justify-between hover:bg-accent-primary-alpha rounded group w-full mb-[2px] relative",
|
|
7340
|
-
|
|
7340
|
+
X
|
|
7341
7341
|
),
|
|
7342
7342
|
children: [
|
|
7343
7343
|
!B && /* @__PURE__ */ C(
|
|
@@ -7368,8 +7368,8 @@ const fb = ({
|
|
|
7368
7368
|
fb,
|
|
7369
7369
|
{
|
|
7370
7370
|
elementId: `${R}-tree-item`,
|
|
7371
|
-
name:
|
|
7372
|
-
type: A ?
|
|
7371
|
+
name: P,
|
|
7372
|
+
type: A ? Do.Folder : Do.File,
|
|
7373
7373
|
loading: te,
|
|
7374
7374
|
editing: B,
|
|
7375
7375
|
onSave: h,
|
|
@@ -7401,7 +7401,7 @@ const fb = ({
|
|
|
7401
7401
|
)
|
|
7402
7402
|
}
|
|
7403
7403
|
),
|
|
7404
|
-
I &&
|
|
7404
|
+
I && D && w(D, y + 1)
|
|
7405
7405
|
] }) }, `${R}-children`);
|
|
7406
7406
|
});
|
|
7407
7407
|
return /* @__PURE__ */ C("div", { className: "flex-1 w-full h-full overflow-y-auto", children: e.length > 0 ? w(e, 0) : /* @__PURE__ */ C(
|
|
@@ -7618,7 +7618,7 @@ function Fb(e, t) {
|
|
|
7618
7618
|
function Eb(e, t) {
|
|
7619
7619
|
kt(e, "invalid", t);
|
|
7620
7620
|
}
|
|
7621
|
-
function
|
|
7621
|
+
function Pb(e, t) {
|
|
7622
7622
|
kt(e, "disabled", t);
|
|
7623
7623
|
}
|
|
7624
7624
|
function xh(e, t) {
|
|
@@ -7627,7 +7627,7 @@ function xh(e, t) {
|
|
|
7627
7627
|
function pa(e, t) {
|
|
7628
7628
|
At(e, "expanded", t);
|
|
7629
7629
|
}
|
|
7630
|
-
function
|
|
7630
|
+
function Db(e, t) {
|
|
7631
7631
|
At(e, "setsize", t);
|
|
7632
7632
|
}
|
|
7633
7633
|
function Tb(e, t) {
|
|
@@ -7657,7 +7657,7 @@ function Lb(e, t) {
|
|
|
7657
7657
|
function Ob(e) {
|
|
7658
7658
|
Sh(e, "sort");
|
|
7659
7659
|
}
|
|
7660
|
-
function
|
|
7660
|
+
function Ph(e, t) {
|
|
7661
7661
|
kt(e, "selected", t);
|
|
7662
7662
|
}
|
|
7663
7663
|
function Nb(e, t) {
|
|
@@ -7672,9 +7672,9 @@ function zc(e, t) {
|
|
|
7672
7672
|
function Qn(e, t) {
|
|
7673
7673
|
return t === void 0 ? e("ariaIndeterminate", "indeterminate") : t === !0 ? e("ariaChecked", "checked") : e("ariaUnchecked", "unchecked");
|
|
7674
7674
|
}
|
|
7675
|
-
var Gb = "[tabindex], input, select, button, textarea, [href]",
|
|
7675
|
+
var Gb = "[tabindex], input, select, button, textarea, [href]", Dh = "[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";
|
|
7676
7676
|
function ti(e) {
|
|
7677
|
-
return !e || !e.matches("input, select, button, textarea") || !e.matches(
|
|
7677
|
+
return !e || !e.matches("input, select, button, textarea") || !e.matches(Dh) ? !1 : is(e);
|
|
7678
7678
|
}
|
|
7679
7679
|
function Le(e, t, s = {}) {
|
|
7680
7680
|
const { skipAriaHidden: o } = s;
|
|
@@ -7805,15 +7805,15 @@ function yn(e, t) {
|
|
|
7805
7805
|
t === "flex" ? (e.style.removeProperty("width"), e.style.removeProperty("minWidth"), e.style.removeProperty("maxWidth"), e.style.flex = "1 1 auto") : zt(e, t);
|
|
7806
7806
|
}
|
|
7807
7807
|
function zt(e, t) {
|
|
7808
|
-
t =
|
|
7808
|
+
t = Pl(t), e.style.width = t, e.style.maxWidth = t, e.style.minWidth = t;
|
|
7809
7809
|
}
|
|
7810
7810
|
function si(e, t) {
|
|
7811
|
-
t =
|
|
7811
|
+
t = Pl(t), e.style.height = t, e.style.maxHeight = t, e.style.minHeight = t;
|
|
7812
7812
|
}
|
|
7813
|
-
function
|
|
7813
|
+
function Pl(e) {
|
|
7814
7814
|
return typeof e == "number" ? `${e}px` : e;
|
|
7815
7815
|
}
|
|
7816
|
-
function
|
|
7816
|
+
function Dl(e) {
|
|
7817
7817
|
return e instanceof Node || e instanceof HTMLElement;
|
|
7818
7818
|
}
|
|
7819
7819
|
function gt(e, t, s) {
|
|
@@ -8691,7 +8691,7 @@ function E0(e) {
|
|
|
8691
8691
|
const t = tg(e);
|
|
8692
8692
|
return t === !0 || t === "enableSelection";
|
|
8693
8693
|
}
|
|
8694
|
-
function
|
|
8694
|
+
function P0(e) {
|
|
8695
8695
|
const t = tg(e);
|
|
8696
8696
|
return t === !0 || t === "enableDeselection";
|
|
8697
8697
|
}
|
|
@@ -8718,14 +8718,14 @@ function En(e) {
|
|
|
8718
8718
|
return;
|
|
8719
8719
|
}
|
|
8720
8720
|
}
|
|
8721
|
-
function
|
|
8721
|
+
function Pn(e) {
|
|
8722
8722
|
return En(e) === "multiRow";
|
|
8723
8723
|
}
|
|
8724
|
-
function
|
|
8724
|
+
function D0(e) {
|
|
8725
8725
|
const t = e.get("rowSelection");
|
|
8726
8726
|
return typeof t == "string" ? e.get("rowMultiSelectWithClick") : t?.enableSelectionWithoutKeys ?? !1;
|
|
8727
8727
|
}
|
|
8728
|
-
function
|
|
8728
|
+
function Dn(e) {
|
|
8729
8729
|
const t = e.get("rowSelection");
|
|
8730
8730
|
if (typeof t == "string") {
|
|
8731
8731
|
const s = e.get("groupSelectsChildren"), o = e.get("groupSelectsFiltered");
|
|
@@ -8742,7 +8742,7 @@ function T0(e) {
|
|
|
8742
8742
|
return typeof t == "string" ? !1 : t?.mode === "multiRow" ? t.ctrlASelectsRows ?? !1 : !1;
|
|
8743
8743
|
}
|
|
8744
8744
|
function Ci(e) {
|
|
8745
|
-
const t =
|
|
8745
|
+
const t = Dn(e);
|
|
8746
8746
|
return t === "descendants" || t === "filteredDescendants";
|
|
8747
8747
|
}
|
|
8748
8748
|
function qc(e) {
|
|
@@ -9685,7 +9685,7 @@ function Tt(e, t, s) {
|
|
|
9685
9685
|
return !1;
|
|
9686
9686
|
if (t?.state && !t.state.forEach)
|
|
9687
9687
|
return O(32), !1;
|
|
9688
|
-
const v = (S, R, x,
|
|
9688
|
+
const v = (S, R, x, P, D) => {
|
|
9689
9689
|
if (!S)
|
|
9690
9690
|
return;
|
|
9691
9691
|
const A = W0(R, t.defaultState), F = A("flex").value1;
|
|
@@ -9705,11 +9705,11 @@ function Tt(e, t, s) {
|
|
|
9705
9705
|
H != null && I >= H && S.setActualWidth(I, s);
|
|
9706
9706
|
}
|
|
9707
9707
|
}
|
|
9708
|
-
|
|
9708
|
+
D || !S.isPrimary() || (h?.syncColumnWithState(S, s, A), i?.syncColumnWithState(S, s, A, x), n?.syncColumnWithState(S, s, A, P));
|
|
9709
9709
|
}, w = (S, R, x) => {
|
|
9710
|
-
const
|
|
9710
|
+
const P = gg(e, s), D = R.slice(), A = {}, F = {}, I = [], H = [], te = [];
|
|
9711
9711
|
let B = 0;
|
|
9712
|
-
const ae = i?.columns.slice() ?? [],
|
|
9712
|
+
const ae = i?.columns.slice() ?? [], X = n?.columns.slice() ?? [];
|
|
9713
9713
|
for (const Y of S) {
|
|
9714
9714
|
const K = Y.colId;
|
|
9715
9715
|
if (K.startsWith(Xn)) {
|
|
@@ -9721,10 +9721,10 @@ function Tt(e, t, s) {
|
|
|
9721
9721
|
continue;
|
|
9722
9722
|
}
|
|
9723
9723
|
const j = x(K);
|
|
9724
|
-
j ? (v(j, Y, A, F, !1), It(
|
|
9724
|
+
j ? (v(j, Y, A, F, !1), It(D, j)) : (te.push(Y), B += 1);
|
|
9725
9725
|
}
|
|
9726
9726
|
const L = (Y) => v(Y, null, A, F, !1);
|
|
9727
|
-
|
|
9727
|
+
D.forEach(L), i?.sortColumns(Xc.bind(i, A, ae)), n?.sortColumns(Xc.bind(n, F, X)), o.refreshCols(!1, s);
|
|
9728
9728
|
const re = (Y, K, $ = []) => {
|
|
9729
9729
|
for (const j of K) {
|
|
9730
9730
|
const ce = Y(j.colId);
|
|
@@ -9743,7 +9743,7 @@ function Tt(e, t, s) {
|
|
|
9743
9743
|
), tS(t, o, p), c.refresh(s), g.dispatchEvent({
|
|
9744
9744
|
type: "columnEverythingChanged",
|
|
9745
9745
|
source: s
|
|
9746
|
-
}),
|
|
9746
|
+
}), P(), { unmatchedAndAutoStates: te, unmatchedCount: B };
|
|
9747
9747
|
};
|
|
9748
9748
|
l?.start();
|
|
9749
9749
|
let { unmatchedAndAutoStates: b, unmatchedCount: y } = w(
|
|
@@ -9784,12 +9784,12 @@ function gg(e, t) {
|
|
|
9784
9784
|
for (const u of c)
|
|
9785
9785
|
d[u.colId] = u;
|
|
9786
9786
|
return () => {
|
|
9787
|
-
const u = (R, x,
|
|
9788
|
-
const A = x.map(
|
|
9787
|
+
const u = (R, x, P, D) => {
|
|
9788
|
+
const A = x.map(D), F = P.map(D);
|
|
9789
9789
|
if (ys(A, F))
|
|
9790
9790
|
return;
|
|
9791
9791
|
const H = new Set(x);
|
|
9792
|
-
for (const B of
|
|
9792
|
+
for (const B of P)
|
|
9793
9793
|
H.delete(B) || H.add(B);
|
|
9794
9794
|
const te = [...H];
|
|
9795
9795
|
a.dispatchEvent({
|
|
@@ -9800,9 +9800,9 @@ function gg(e, t) {
|
|
|
9800
9800
|
});
|
|
9801
9801
|
}, h = (R) => {
|
|
9802
9802
|
const x = [];
|
|
9803
|
-
return n.forAllCols((
|
|
9804
|
-
const
|
|
9805
|
-
|
|
9803
|
+
return n.forAllCols((P) => {
|
|
9804
|
+
const D = d[P.getColId()];
|
|
9805
|
+
D && R(D, P) && x.push(P);
|
|
9806
9806
|
}), x;
|
|
9807
9807
|
}, g = (R) => R.getColId();
|
|
9808
9808
|
u(
|
|
@@ -9817,8 +9817,8 @@ function gg(e, t) {
|
|
|
9817
9817
|
g
|
|
9818
9818
|
);
|
|
9819
9819
|
const f = h((R, x) => {
|
|
9820
|
-
const
|
|
9821
|
-
return
|
|
9820
|
+
const P = R.aggFunc != null, D = P != x.isValueActive(), A = P && R.aggFunc != x.getAggFunc();
|
|
9821
|
+
return D || A;
|
|
9822
9822
|
});
|
|
9823
9823
|
f.length > 0 && J0(a, "columnValueChanged", f, t), Io(a, h((R, x) => R.width != x.getActualWidth()), !0, t), hg(a, h((R, x) => R.pinned != x.getPinned()), t), X0(a, h((R, x) => R.hide == x.isVisible()), t);
|
|
9824
9824
|
const y = h((R, x) => R.sort != x.getSort() || R.sortIndex != x.getSortIndex());
|
|
@@ -10289,7 +10289,7 @@ var Ei = class {
|
|
|
10289
10289
|
}
|
|
10290
10290
|
this.cssClassStates[e] !== t && e.length && (this.getGui()?.classList.toggle(e, t), this.cssClassStates[e] = t);
|
|
10291
10291
|
}
|
|
10292
|
-
}, nS = 0,
|
|
10292
|
+
}, nS = 0, Pi = class extends $t {
|
|
10293
10293
|
constructor(e, t) {
|
|
10294
10294
|
super(), this.suppressDataRefValidation = !1, this.displayed = !0, this.visible = !0, this.compId = nS++, this.cssManager = new Ei(() => this.eGui), this.componentSelectors = new Map((t ?? []).map((s) => [s.selector, s])), e && this.setTemplate(e);
|
|
10295
10295
|
}
|
|
@@ -10407,7 +10407,7 @@ var Ei = class {
|
|
|
10407
10407
|
}
|
|
10408
10408
|
getContainerAndElement(e, t) {
|
|
10409
10409
|
let s = t;
|
|
10410
|
-
return e == null ? null : (s || (s = this.eGui),
|
|
10410
|
+
return e == null ? null : (s || (s = this.eGui), Dl(e) ? {
|
|
10411
10411
|
element: e,
|
|
10412
10412
|
parent: s
|
|
10413
10413
|
} : {
|
|
@@ -10463,7 +10463,7 @@ var Ei = class {
|
|
|
10463
10463
|
registerCSS(e) {
|
|
10464
10464
|
this.css || (this.css = []), this.css.push(e);
|
|
10465
10465
|
}
|
|
10466
|
-
}, He = class extends
|
|
10466
|
+
}, He = class extends Pi {
|
|
10467
10467
|
};
|
|
10468
10468
|
function mg(e) {
|
|
10469
10469
|
return typeof e == "object" && !!e.component;
|
|
@@ -10641,10 +10641,10 @@ var lS = class extends T {
|
|
|
10641
10641
|
function ES(e, t) {
|
|
10642
10642
|
return e.getCompDetailsFromGridOptions(dS, "agDragAndDropImage", t, !0);
|
|
10643
10643
|
}
|
|
10644
|
-
function
|
|
10644
|
+
function PS(e, t, s) {
|
|
10645
10645
|
return e.getCompDetails(t, uS, "agColumnHeader", s);
|
|
10646
10646
|
}
|
|
10647
|
-
function
|
|
10647
|
+
function DS(e, t, s) {
|
|
10648
10648
|
return e.getCompDetails(t, hS, void 0, s);
|
|
10649
10649
|
}
|
|
10650
10650
|
function TS(e, t) {
|
|
@@ -10735,7 +10735,7 @@ var E = {
|
|
|
10735
10735
|
X: "KeyX",
|
|
10736
10736
|
Y: "KeyY",
|
|
10737
10737
|
Z: "KeyZ"
|
|
10738
|
-
}, Hl = class extends
|
|
10738
|
+
}, Hl = class extends Pi {
|
|
10739
10739
|
isPopup() {
|
|
10740
10740
|
return !0;
|
|
10741
10741
|
}
|
|
@@ -10812,7 +10812,7 @@ function Hi(e, t = !0) {
|
|
|
10812
10812
|
`:${Gt(e.getSeconds(), 2)}`
|
|
10813
10813
|
] : [e.getFullYear(), e.getMonth() + 1, Gt(e.getDate(), 2)].map(String) : null;
|
|
10814
10814
|
}
|
|
10815
|
-
var
|
|
10815
|
+
var Pr = (e) => {
|
|
10816
10816
|
if (e > 3 && e < 21)
|
|
10817
10817
|
return "th";
|
|
10818
10818
|
switch (e % 10) {
|
|
@@ -10837,7 +10837,7 @@ var Dr = (e) => {
|
|
|
10837
10837
|
"October",
|
|
10838
10838
|
"November",
|
|
10839
10839
|
"December"
|
|
10840
|
-
],
|
|
10840
|
+
], Dr = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
|
|
10841
10841
|
function Fa(e, t) {
|
|
10842
10842
|
if (t == null)
|
|
10843
10843
|
return ft(e, !1);
|
|
@@ -10848,15 +10848,15 @@ function Fa(e, t) {
|
|
|
10848
10848
|
MMMM: () => sd[e.getMonth()],
|
|
10849
10849
|
MMM: () => sd[e.getMonth()].slice(0, 3),
|
|
10850
10850
|
MM: () => Gt(e.getMonth() + 1, 2),
|
|
10851
|
-
Mo: () => `${e.getMonth() + 1}${
|
|
10851
|
+
Mo: () => `${e.getMonth() + 1}${Pr(e.getMonth() + 1)}`,
|
|
10852
10852
|
M: () => `${e.getMonth() + 1}`,
|
|
10853
|
-
Do: () => `${e.getDate()}${
|
|
10853
|
+
Do: () => `${e.getDate()}${Pr(e.getDate())}`,
|
|
10854
10854
|
DD: () => Gt(e.getDate(), 2),
|
|
10855
10855
|
D: () => `${e.getDate()}`,
|
|
10856
|
-
dddd: () =>
|
|
10857
|
-
ddd: () =>
|
|
10858
|
-
dd: () =>
|
|
10859
|
-
do: () => `${e.getDay()}${
|
|
10856
|
+
dddd: () => Dr[e.getDay()],
|
|
10857
|
+
ddd: () => Dr[e.getDay()].slice(0, 3),
|
|
10858
|
+
dd: () => Dr[e.getDay()].slice(0, 2),
|
|
10859
|
+
do: () => `${e.getDay()}${Pr(e.getDay())}`,
|
|
10860
10860
|
d: () => `${e.getDay()}`
|
|
10861
10861
|
}, i = new RegExp(Object.keys(o).join("|"), "g");
|
|
10862
10862
|
return t.replace(i, (n) => n in o ? o[n]() : n);
|
|
@@ -10941,7 +10941,7 @@ function KS(e, t) {
|
|
|
10941
10941
|
function xg(e) {
|
|
10942
10942
|
return e.altKey || e.ctrlKey || e.metaKey ? !1 : e.key?.length === 1;
|
|
10943
10943
|
}
|
|
10944
|
-
var
|
|
10944
|
+
var Pa = !1, kn = 0;
|
|
10945
10945
|
function qS(e) {
|
|
10946
10946
|
kn > 0 || (e.addEventListener("keydown", An), e.addEventListener("mousedown", An));
|
|
10947
10947
|
}
|
|
@@ -10949,8 +10949,8 @@ function YS(e) {
|
|
|
10949
10949
|
kn > 0 || (e.removeEventListener("keydown", An), e.removeEventListener("mousedown", An));
|
|
10950
10950
|
}
|
|
10951
10951
|
function An(e) {
|
|
10952
|
-
const t =
|
|
10953
|
-
s && (e.ctrlKey || e.metaKey || e.altKey) || t !== s && (
|
|
10952
|
+
const t = Pa, s = e.type === "keydown";
|
|
10953
|
+
s && (e.ctrlKey || e.metaKey || e.altKey) || t !== s && (Pa = s);
|
|
10954
10954
|
}
|
|
10955
10955
|
function ZS(e) {
|
|
10956
10956
|
const t = Ze(e);
|
|
@@ -10959,11 +10959,11 @@ function ZS(e) {
|
|
|
10959
10959
|
};
|
|
10960
10960
|
}
|
|
10961
10961
|
function QS() {
|
|
10962
|
-
return
|
|
10962
|
+
return Pa;
|
|
10963
10963
|
}
|
|
10964
10964
|
function So(e, t, s = !1) {
|
|
10965
10965
|
const o = Gb;
|
|
10966
|
-
let i =
|
|
10966
|
+
let i = Dh;
|
|
10967
10967
|
t && (i += ", " + t), s && (i += ', [tabindex="-1"]');
|
|
10968
10968
|
const n = Array.prototype.slice.apply(e.querySelectorAll(o)).filter((l) => is(l)), r = Array.prototype.slice.apply(e.querySelectorAll(i));
|
|
10969
10969
|
return r.length ? ((l, c) => l.filter((d) => c.indexOf(d) === -1))(n, r) : n;
|
|
@@ -10992,7 +10992,7 @@ function Fg(e, t = 5) {
|
|
|
10992
10992
|
var XS = (
|
|
10993
10993
|
/*css*/
|
|
10994
10994
|
".ag-label{white-space:nowrap}:where(.ag-ltr) .ag-label{margin-right:var(--ag-spacing)}:where(.ag-rtl) .ag-label{margin-left:var(--ag-spacing)}:where(.ag-label-align-right) .ag-label{order:1}:where(.ag-ltr) :where(.ag-label-align-right) .ag-label{margin-left:var(--ag-spacing)}:where(.ag-rtl) :where(.ag-label-align-right) .ag-label{margin-right:var(--ag-spacing)}.ag-label-align-right>*{flex:none}.ag-label-align-top{align-items:flex-start;flex-direction:column;>*{align-self:stretch}}.ag-label-ellipsis{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.ag-label-align-top) .ag-label{margin-bottom:calc(var(--ag-spacing)*.5)}"
|
|
10995
|
-
), JS = class extends
|
|
10995
|
+
), JS = class extends Pi {
|
|
10996
10996
|
constructor(e, t, s) {
|
|
10997
10997
|
super(t, s), this.labelSeparator = "", this.labelAlignment = "left", this.disabled = !1, this.label = "", this.config = e || {}, this.registerCSS(XS);
|
|
10998
10998
|
}
|
|
@@ -11423,7 +11423,7 @@ var Is = class extends Eg {
|
|
|
11423
11423
|
setDate(e, t) {
|
|
11424
11424
|
this.setValue(ft(e ?? null, this.includeTime), t);
|
|
11425
11425
|
}
|
|
11426
|
-
},
|
|
11426
|
+
}, Pg = {
|
|
11427
11427
|
selector: "AG-INPUT-DATE-FIELD",
|
|
11428
11428
|
component: ny
|
|
11429
11429
|
}, ry = (
|
|
@@ -11440,7 +11440,7 @@ var Is = class extends Eg {
|
|
|
11440
11440
|
children: t
|
|
11441
11441
|
}
|
|
11442
11442
|
]
|
|
11443
|
-
}), cy = class extends
|
|
11443
|
+
}), cy = class extends Pi {
|
|
11444
11444
|
constructor(e, t, s) {
|
|
11445
11445
|
super(ly(e, t)), this.label = t, this.value = s, this.eText = se;
|
|
11446
11446
|
}
|
|
@@ -11449,7 +11449,7 @@ var Is = class extends Eg {
|
|
|
11449
11449
|
}
|
|
11450
11450
|
setHighlighted(e) {
|
|
11451
11451
|
const t = this.getGui();
|
|
11452
|
-
t.classList.toggle(ay, e),
|
|
11452
|
+
t.classList.toggle(ay, e), Ph(t, e), this.dispatchLocalEvent({
|
|
11453
11453
|
type: "itemHighlighted",
|
|
11454
11454
|
highlighted: e
|
|
11455
11455
|
});
|
|
@@ -11459,7 +11459,7 @@ var Is = class extends Eg {
|
|
|
11459
11459
|
}
|
|
11460
11460
|
setIndex(e, t) {
|
|
11461
11461
|
const s = this.getGui();
|
|
11462
|
-
Tb(s, e),
|
|
11462
|
+
Tb(s, e), Db(s, t);
|
|
11463
11463
|
}
|
|
11464
11464
|
createTooltip() {
|
|
11465
11465
|
const e = {
|
|
@@ -11486,7 +11486,7 @@ var Is = class extends Eg {
|
|
|
11486
11486
|
t.preventDefault(), t.stopPropagation(), e.setValue(this.value);
|
|
11487
11487
|
}));
|
|
11488
11488
|
}
|
|
11489
|
-
}, dy = class extends
|
|
11489
|
+
}, dy = class extends Pi {
|
|
11490
11490
|
constructor(e = "default") {
|
|
11491
11491
|
super({ tag: "div", cls: `ag-list ag-${e}-list` }), this.cssIdentifier = e, this.options = [], this.listItems = [], this.highlightedItem = null, this.registerCSS(ry);
|
|
11492
11492
|
}
|
|
@@ -11722,7 +11722,7 @@ var Is = class extends Eg {
|
|
|
11722
11722
|
};
|
|
11723
11723
|
e.style.position = "absolute";
|
|
11724
11724
|
const h = c.popupSvc, g = h.addPopup(u);
|
|
11725
|
-
l ? (r && (e.style.minWidth = r), e.style.width =
|
|
11725
|
+
l ? (r && (e.style.minWidth = r), e.style.width = Pl(wn(d)), a && (e.style.maxWidth = a)) : yn(e, a ?? wn(d));
|
|
11726
11726
|
const p = n ?? `${xl(h.getPopupParent())}px`;
|
|
11727
11727
|
return e.style.setProperty("max-height", p), this.alignPickerToComponent(), g.hideFunc;
|
|
11728
11728
|
}
|
|
@@ -11931,7 +11931,7 @@ var Is = class extends Eg {
|
|
|
11931
11931
|
r.splice(d + 1, 0, l);
|
|
11932
11932
|
} else
|
|
11933
11933
|
t.insertBefore(a, t.querySelector(":not(title, meta)")), r.push(l);
|
|
11934
|
-
},
|
|
11934
|
+
}, Dg = (e, t, s, o) => {
|
|
11935
11935
|
ko(my, e, "shared", t, 0, s), o?.forEach(
|
|
11936
11936
|
(i, n) => i.forEach((r) => ko(r, e, n, t, 0, s))
|
|
11937
11937
|
);
|
|
@@ -12105,7 +12105,7 @@ ${i}`;
|
|
|
12105
12105
|
return e.mix == null ? t : `color-mix(in srgb, ${e.onto ? Ut(e.onto) : "transparent"}, ${t} ${Sy(e.mix * 100, 0, 100)}%)`;
|
|
12106
12106
|
}
|
|
12107
12107
|
return !1;
|
|
12108
|
-
},
|
|
12108
|
+
}, Py = er, ho = (e) => typeof e == "string" ? e : typeof e == "number" ? `${e}px` : e && "calc" in e ? `calc(${e.calc.replace(/ ?[*/+] ?/g, " $& ").replace(/-?\b[a-z][a-z0-9]*\b(?![-(])/gi, (s) => s[0] === "-" ? s : " " + Ut(s) + " ")})` : e && "ref" in e ? Ut(e.ref) : !1, Dy = er, Da = (e, t) => typeof e == "string" ? e : e === !0 ? Da({}, t) : e === !1 ? t === "columnBorder" ? Da({ color: "transparent" }, t) : "none" : e && "ref" in e ? Ut(e.ref) : Ig(e.style ?? "solid") + " " + ho(e.width ?? { ref: "borderWidth" }) + " " + Ul(e.color ?? { ref: "borderColor" }), Ty = (e) => typeof e == "string" ? e : e === !1 ? "none" : e && "ref" in e ? Ut(e.ref) : [
|
|
12109
12109
|
ho(e.offsetX ?? 0),
|
|
12110
12110
|
ho(e.offsetY ?? 0),
|
|
12111
12111
|
ho(e.radius ?? 0),
|
|
@@ -12118,10 +12118,10 @@ ${i}`;
|
|
|
12118
12118
|
/^[\w-]+$|\w\(/.test(e) ? e : JSON.stringify(e)
|
|
12119
12119
|
), My = er, Ag = (e) => typeof e == "string" ? e : e && "url" in e ? `url(${JSON.stringify(e.url)})` : e && "svg" in e ? Ag({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : e && "ref" in e ? Ut(e.ref) : !1, Iy = (e, t, s) => typeof e == "string" ? e : typeof e == "number" ? (e >= 10 && s.warn(104, { value: e, param: t }), `${e}s`) : e && "ref" in e ? Ut(e.ref) : !1, ky = {
|
|
12120
12120
|
color: Ul,
|
|
12121
|
-
colorScheme:
|
|
12121
|
+
colorScheme: Py,
|
|
12122
12122
|
length: ho,
|
|
12123
|
-
scale:
|
|
12124
|
-
border:
|
|
12123
|
+
scale: Dy,
|
|
12124
|
+
border: Da,
|
|
12125
12125
|
borderStyle: Ig,
|
|
12126
12126
|
shadow: Ty,
|
|
12127
12127
|
image: Ag,
|
|
@@ -12156,7 +12156,7 @@ ${i}`;
|
|
|
12156
12156
|
_startUse({ styleContainer: t, cssLayer: s, nonce: o, loadThemeGoogleFonts: i, moduleCss: n }) {
|
|
12157
12157
|
if (_l)
|
|
12158
12158
|
return;
|
|
12159
|
-
Ny(),
|
|
12159
|
+
Ny(), Dg(t, s, o, n);
|
|
12160
12160
|
const r = Oy(this);
|
|
12161
12161
|
if (r.length > 0)
|
|
12162
12162
|
for (const a of r)
|
|
@@ -12400,7 +12400,7 @@ ${n}}
|
|
|
12400
12400
|
handleNewTheme(e) {
|
|
12401
12401
|
const { gos: t, eRootDiv: s, globalCSS: o } = this, i = this.getAdditionalCss();
|
|
12402
12402
|
if (e) {
|
|
12403
|
-
Cy(this),
|
|
12403
|
+
Cy(this), Dg(this.eStyleContainer, this.cssLayer, this.styleNonce, i);
|
|
12404
12404
|
for (const [r, a] of o)
|
|
12405
12405
|
ko(r, this.eStyleContainer, a, this.cssLayer, 0, this.styleNonce);
|
|
12406
12406
|
o.length = 0;
|
|
@@ -15414,9 +15414,9 @@ var nn = {
|
|
|
15414
15414
|
let u, h, g = 0;
|
|
15415
15415
|
this.invalidateVerticalScroll();
|
|
15416
15416
|
do {
|
|
15417
|
-
const { stickyTopHeight: p, stickyBottomHeight: f } = c, m = d.rowTop, v = d.rowHeight, w = r.getPixelOffset(), b = d.rowTop - w, y = b + d.rowHeight, S = this.getVScrollPosition(), R = a.divStretchOffset, x = S.top + R,
|
|
15417
|
+
const { stickyTopHeight: p, stickyBottomHeight: f } = c, m = d.rowTop, v = d.rowHeight, w = r.getPixelOffset(), b = d.rowTop - w, y = b + d.rowHeight, S = this.getVScrollPosition(), R = a.divStretchOffset, x = S.top + R, P = S.bottom + R, D = P - x, A = a.getScrollPositionForPixel(b), F = a.getScrollPositionForPixel(y - D), I = Math.min((A + F) / 2, b), H = x + p > b, te = P - f < y;
|
|
15418
15418
|
let B = null;
|
|
15419
|
-
t === "top" ? B = A - p : t === "bottom" ? B = F + f : t === "middle" ? B = I : H ? B = A - p : te && (F - A >
|
|
15419
|
+
t === "top" ? B = A - p : t === "bottom" ? B = F + f : t === "middle" ? B = I : H ? B = A - p : te && (F - A > D ? B = A - p : B = F + f), B !== null && (this.setVerticalScrollPosition(B), l.redraw({ afterScroll: !0 })), u = m !== d.rowTop || v !== d.rowHeight, h = p !== c.stickyTopHeight || f !== c.stickyBottomHeight, g++;
|
|
15420
15420
|
} while ((u || h) && g < 10);
|
|
15421
15421
|
if (this.animationFrameSvc?.flushAllFrames(), s < 10 && (d?.stub || !this.beans.rowAutoHeight?.areRowsMeasured())) {
|
|
15422
15422
|
const p = this.getVScrollPosition().top;
|
|
@@ -15490,7 +15490,7 @@ var nn = {
|
|
|
15490
15490
|
let r;
|
|
15491
15491
|
e ? r = o + i + n : (r = o, this.addSpacer && (this.gos.get("enableRtl") ? i : n) === 0 && s.verticalScrollShowing && (r += s.getScrollbarWidth())), this.callback(r);
|
|
15492
15492
|
}
|
|
15493
|
-
},
|
|
15493
|
+
}, PR = class extends T {
|
|
15494
15494
|
constructor(e) {
|
|
15495
15495
|
super(), this.centerContainerCtrl = e;
|
|
15496
15496
|
}
|
|
@@ -15566,7 +15566,7 @@ function rn(e, t, s, o) {
|
|
|
15566
15566
|
const i = t.getColDef().cellRendererParams?.suppressMouseEventHandling;
|
|
15567
15567
|
return Kg(e, t, s, o, i);
|
|
15568
15568
|
}
|
|
15569
|
-
function
|
|
15569
|
+
function DR(e, t, s, o) {
|
|
15570
15570
|
const i = t?.suppressMouseEventHandling;
|
|
15571
15571
|
return Kg(e, void 0, s, o, i);
|
|
15572
15572
|
}
|
|
@@ -15925,16 +15925,16 @@ var GR = class extends T {
|
|
|
15925
15925
|
}
|
|
15926
15926
|
};
|
|
15927
15927
|
function Zg(e) {
|
|
15928
|
-
return `ag-${
|
|
15928
|
+
return `ag-${Di(e).name}-viewport`;
|
|
15929
15929
|
}
|
|
15930
15930
|
function an(e) {
|
|
15931
|
-
const t =
|
|
15931
|
+
const t = Di(e);
|
|
15932
15932
|
return t.container ?? `ag-${t.name}-container`;
|
|
15933
15933
|
}
|
|
15934
15934
|
function BR(e) {
|
|
15935
|
-
return `ag-${
|
|
15935
|
+
return `ag-${Di(e).name}-spanned-cells-container`;
|
|
15936
15936
|
}
|
|
15937
|
-
function
|
|
15937
|
+
function Di(e) {
|
|
15938
15938
|
return VR[e];
|
|
15939
15939
|
}
|
|
15940
15940
|
var zR = ["topCenter", "topLeft", "topRight"], WR = ["bottomCenter", "bottomLeft", "bottomRight"], _R = ["center", "left", "right"], UR = ["center", "left", "right", "fullWidth"], $R = ["stickyTopCenter", "stickyBottomCenter", "center", "topCenter", "bottomCenter"], jR = ["left", "bottomLeft", "topLeft", "stickyTopLeft", "stickyBottomLeft"], KR = ["right", "bottomRight", "topRight", "stickyTopRight", "stickyBottomRight"], Qg = ["stickyTopCenter", "stickyTopLeft", "stickyTopRight"], Xg = ["stickyBottomCenter", "stickyBottomLeft", "stickyBottomRight"], qR = [
|
|
@@ -15950,11 +15950,11 @@ var zR = ["topCenter", "topLeft", "topRight"], WR = ["bottomCenter", "bottomLeft
|
|
|
15950
15950
|
...Xg
|
|
15951
15951
|
], ZR = class extends T {
|
|
15952
15952
|
constructor(e) {
|
|
15953
|
-
super(), this.name = e, this.visible = !0, this.EMPTY_CTRLS = [], this.options =
|
|
15953
|
+
super(), this.name = e, this.visible = !0, this.EMPTY_CTRLS = [], this.options = Di(e);
|
|
15954
15954
|
}
|
|
15955
15955
|
postConstruct() {
|
|
15956
15956
|
this.enableRtl = this.gos.get("enableRtl"), this.forContainers(["center"], () => {
|
|
15957
|
-
this.viewportSizeFeature = this.createManagedBean(new
|
|
15957
|
+
this.viewportSizeFeature = this.createManagedBean(new PR(this)), this.addManagedEventListeners({
|
|
15958
15958
|
stickyTopOffsetChanged: this.onStickyTopOffsetChanged.bind(this)
|
|
15959
15959
|
});
|
|
15960
15960
|
});
|
|
@@ -16978,7 +16978,7 @@ var m2 = class extends T {
|
|
|
16978
16978
|
}
|
|
16979
16979
|
lookupUserCompDetails() {
|
|
16980
16980
|
const e = this.createParams(), t = this.column.getColDef();
|
|
16981
|
-
return
|
|
16981
|
+
return PS(this.beans.userCompFactory, t, e);
|
|
16982
16982
|
}
|
|
16983
16983
|
createParams() {
|
|
16984
16984
|
const { menuSvc: e, sortSvc: t, colFilter: s, gos: o } = this.beans;
|
|
@@ -17685,7 +17685,7 @@ function Rt(e, t, s) {
|
|
|
17685
17685
|
}
|
|
17686
17686
|
if (typeof n == "string")
|
|
17687
17687
|
return Fl(n);
|
|
17688
|
-
if (
|
|
17688
|
+
if (Dl(n))
|
|
17689
17689
|
return n;
|
|
17690
17690
|
O(133, { iconName: e });
|
|
17691
17691
|
return;
|
|
@@ -17699,10 +17699,10 @@ function Rt(e, t, s) {
|
|
|
17699
17699
|
});
|
|
17700
17700
|
}
|
|
17701
17701
|
}
|
|
17702
|
-
var
|
|
17702
|
+
var P2 = (
|
|
17703
17703
|
/*css*/
|
|
17704
17704
|
".ag-dnd-ghost{align-items:center;background-color:var(--ag-drag-and-drop-image-background-color);border:var(--ag-drag-and-drop-image-border);border-radius:var(--ag-border-radius);box-shadow:var(--ag-drag-and-drop-image-shadow);color:var(--ag-text-color);cursor:move;display:flex;font-weight:500;gap:var(--ag-cell-widget-spacing);height:var(--ag-header-height);overflow:hidden;padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding);text-overflow:ellipsis;transform:translateY(calc(var(--ag-spacing)*2));white-space:nowrap}.ag-dnd-ghost-not-allowed{border:var(--ag-drag-and-drop-image-not-allowed-border)}"
|
|
17705
|
-
),
|
|
17705
|
+
), D2 = {
|
|
17706
17706
|
tag: "div",
|
|
17707
17707
|
children: [
|
|
17708
17708
|
{
|
|
@@ -17717,7 +17717,7 @@ var D2 = (
|
|
|
17717
17717
|
]
|
|
17718
17718
|
}, T2 = class extends He {
|
|
17719
17719
|
constructor() {
|
|
17720
|
-
super(), this.dragSource = null, this.eIcon = se, this.eLabel = se, this.eGhost = se, this.registerCSS(
|
|
17720
|
+
super(), this.dragSource = null, this.eIcon = se, this.eLabel = se, this.eGhost = se, this.registerCSS(P2);
|
|
17721
17721
|
}
|
|
17722
17722
|
postConstruct() {
|
|
17723
17723
|
const e = (t) => E2(t, this.beans, null);
|
|
@@ -17734,7 +17734,7 @@ var D2 = (
|
|
|
17734
17734
|
};
|
|
17735
17735
|
}
|
|
17736
17736
|
init(e) {
|
|
17737
|
-
this.dragSource = e.dragSource, this.setTemplate(
|
|
17737
|
+
this.dragSource = e.dragSource, this.setTemplate(D2), this.beans.environment.applyThemeClasses(this.eGhost);
|
|
17738
17738
|
}
|
|
17739
17739
|
destroy() {
|
|
17740
17740
|
this.dragSource = null, super.destroy();
|
|
@@ -18638,7 +18638,7 @@ var z2 = {
|
|
|
18638
18638
|
), o.setInputAriaLabel(t("ariaHeaderSelection", "Column with Header Selection")), e || s.announceAriaDescription();
|
|
18639
18639
|
}
|
|
18640
18640
|
checkSelectionType(e) {
|
|
18641
|
-
return
|
|
18641
|
+
return Pn(this.gos) ? !0 : (O(128, { feature: e }), !1);
|
|
18642
18642
|
}
|
|
18643
18643
|
checkRightRowModelType(e) {
|
|
18644
18644
|
const { gos: t, rowModel: s } = this.beans;
|
|
@@ -18703,14 +18703,14 @@ var $2 = class extends T {
|
|
|
18703
18703
|
return new U2(e);
|
|
18704
18704
|
}
|
|
18705
18705
|
isMultiSelect() {
|
|
18706
|
-
return
|
|
18706
|
+
return Pn(this.gos);
|
|
18707
18707
|
}
|
|
18708
18708
|
onRowCtrlSelected(e, t, s) {
|
|
18709
18709
|
const o = !!e.rowNode.isSelected();
|
|
18710
18710
|
e.forEachGui(s, (i) => {
|
|
18711
18711
|
i.rowComp.toggleCss("ag-row-selected", o);
|
|
18712
18712
|
const n = i.element;
|
|
18713
|
-
|
|
18713
|
+
Ph(n, o), n.contains(Ne(this.beans)) && t(i);
|
|
18714
18714
|
});
|
|
18715
18715
|
}
|
|
18716
18716
|
announceAriaRowSelection(e) {
|
|
@@ -18800,7 +18800,7 @@ var $2 = class extends T {
|
|
|
18800
18800
|
return e.isColumnFunc(t, e.colDef.checkboxSelection);
|
|
18801
18801
|
}
|
|
18802
18802
|
inferNodeSelections(e, t, s, o) {
|
|
18803
|
-
const { gos: i, selectionCtx: n } = this, r = e.isSelected(), a = Ci(i), l = E0(i), c =
|
|
18803
|
+
const { gos: i, selectionCtx: n } = this, r = e.isSelected(), a = Ci(i), l = E0(i), c = P0(i), d = this.isMultiSelect(), u = o === "rowClicked";
|
|
18804
18804
|
if (u && !(l || c))
|
|
18805
18805
|
return null;
|
|
18806
18806
|
if (t && s && d) {
|
|
@@ -18845,7 +18845,7 @@ var $2 = class extends T {
|
|
|
18845
18845
|
};
|
|
18846
18846
|
} else {
|
|
18847
18847
|
n.setRoot(e);
|
|
18848
|
-
const h =
|
|
18848
|
+
const h = D0(i), g = Dn(i) === "filteredDescendants", p = u && (!h || !l);
|
|
18849
18849
|
if (g && r === void 0 && Ge(i))
|
|
18850
18850
|
return {
|
|
18851
18851
|
node: e,
|
|
@@ -19057,7 +19057,7 @@ var $2 = class extends T {
|
|
|
19057
19057
|
this.tabGuardCtrl.forceFocusOutOfContainer(e);
|
|
19058
19058
|
}
|
|
19059
19059
|
appendChild(e, t, s) {
|
|
19060
|
-
|
|
19060
|
+
Dl(t) || (t = t.getGui());
|
|
19061
19061
|
const { eBottomGuard: o } = this;
|
|
19062
19062
|
o ? o.insertAdjacentElement("beforebegin", t) : e(t, s);
|
|
19063
19063
|
}
|
|
@@ -19081,7 +19081,7 @@ var $2 = class extends T {
|
|
|
19081
19081
|
else if ($i.has(e))
|
|
19082
19082
|
return !1;
|
|
19083
19083
|
return $i.add(e), !0;
|
|
19084
|
-
},
|
|
19084
|
+
}, Ds = class {
|
|
19085
19085
|
constructor(e, t = !1) {
|
|
19086
19086
|
this.eElement = e, this.preventClick = t, this.startListener = null, this.handlers = [], this.eventSvc = void 0, this.touchStart = null, this.lastTapTime = null, this.longPressTimer = 0, this.moved = !1;
|
|
19087
19087
|
}
|
|
@@ -19422,7 +19422,7 @@ var sx = class extends T {
|
|
|
19422
19422
|
for (const s of Object.keys(t))
|
|
19423
19423
|
t[s] = e;
|
|
19424
19424
|
return t;
|
|
19425
|
-
},
|
|
19425
|
+
}, Pd = {
|
|
19426
19426
|
dispatchEvent: "CommunityCore",
|
|
19427
19427
|
// this is always registered
|
|
19428
19428
|
...le("CommunityCore", {
|
|
@@ -19808,7 +19808,7 @@ var ix = class extends T {
|
|
|
19808
19808
|
dispatchEvent: ox
|
|
19809
19809
|
}, this.preDestroyLink = "";
|
|
19810
19810
|
const { api: e } = this;
|
|
19811
|
-
for (const t of Object.keys(
|
|
19811
|
+
for (const t of Object.keys(Pd))
|
|
19812
19812
|
e[t] = this.makeApi(t)[t];
|
|
19813
19813
|
}
|
|
19814
19814
|
postConstruct() {
|
|
@@ -19834,7 +19834,7 @@ var ix = class extends T {
|
|
|
19834
19834
|
if (!t)
|
|
19835
19835
|
O(26, { fnName: e, preDestroyLink: o });
|
|
19836
19836
|
else {
|
|
19837
|
-
const i =
|
|
19837
|
+
const i = Pd[e];
|
|
19838
19838
|
s.assertModuleRegistered(i, `api.${e}`) && O(27, { fnName: e, module: i });
|
|
19839
19839
|
}
|
|
19840
19840
|
}
|
|
@@ -20128,7 +20128,7 @@ function po(e, t) {
|
|
|
20128
20128
|
const o = e.rowRenderer.getRowByPosition(t);
|
|
20129
20129
|
return o ? o.getCellCtrl(t.column) : null;
|
|
20130
20130
|
}
|
|
20131
|
-
function
|
|
20131
|
+
function Px(e, t, s) {
|
|
20132
20132
|
const { rowModel: o, pinnedRowModel: i } = e;
|
|
20133
20133
|
let n;
|
|
20134
20134
|
return n ?? (n = o?.getRowNode(t)), s ? n ?? (n = i?.getPinnedRowById(t, s)) : (n ?? (n = i?.getPinnedRowById(t, "top")), n ?? (n = i?.getPinnedRowById(t, "bottom"))), n;
|
|
@@ -20143,9 +20143,9 @@ function Hn(e, t, s = !1) {
|
|
|
20143
20143
|
}
|
|
20144
20144
|
return { rowIndex: o - 1, rowPinned: i };
|
|
20145
20145
|
}
|
|
20146
|
-
function
|
|
20146
|
+
function Dd(e, t, s = !1) {
|
|
20147
20147
|
const { rowIndex: o, rowPinned: i } = t, { pageBounds: n, pinnedRowModel: r, rowModel: a } = e;
|
|
20148
|
-
if (
|
|
20148
|
+
if (Dx(e, t))
|
|
20149
20149
|
return i === "bottom" ? null : i === "top" && a.isRowsToRender() ? { rowIndex: n.getFirstRow(), rowPinned: null } : r?.isRowsToRender("bottom") ? { rowIndex: 0, rowPinned: "bottom" } : null;
|
|
20150
20150
|
if (s) {
|
|
20151
20151
|
const l = i ? void 0 : a.getRow(o);
|
|
@@ -20166,7 +20166,7 @@ function gp(e, t, s = !1) {
|
|
|
20166
20166
|
}
|
|
20167
20167
|
return d ? { rowIndex: d.rowNode.rowIndex, rowPinned: null } : void 0;
|
|
20168
20168
|
}
|
|
20169
|
-
function
|
|
20169
|
+
function Dx(e, t) {
|
|
20170
20170
|
const { rowPinned: s, rowIndex: o } = t, { pinnedRowModel: i, pageBounds: n } = e;
|
|
20171
20171
|
return s === "top" ? (i?.getPinnedTopRowCount() ?? 0) - 1 <= o : s === "bottom" ? (i?.getPinnedBottomRowCount() ?? 0) - 1 <= o : n.getLastRow() <= o;
|
|
20172
20172
|
}
|
|
@@ -21934,17 +21934,17 @@ var dF = class extends T {
|
|
|
21934
21934
|
y -= p[R.getId()];
|
|
21935
21935
|
else {
|
|
21936
21936
|
w.push(R);
|
|
21937
|
-
const
|
|
21938
|
-
b +=
|
|
21937
|
+
const D = g[x];
|
|
21938
|
+
b += D;
|
|
21939
21939
|
}
|
|
21940
21940
|
});
|
|
21941
21941
|
const S = 1 / b;
|
|
21942
21942
|
w.forEach((R, x) => {
|
|
21943
|
-
const
|
|
21944
|
-
let
|
|
21945
|
-
|
|
21943
|
+
const P = x === w.length - 1;
|
|
21944
|
+
let D;
|
|
21945
|
+
P ? D = y : (D = Math.round(g[x] * u * S), y -= D);
|
|
21946
21946
|
const A = R.getMinWidth(), F = R.getMaxWidth();
|
|
21947
|
-
|
|
21947
|
+
D < A ? (D = A, f[R.getId()] = !0, m = !0) : F > 0 && D > F && (D = F, f[R.getId()] = !0, m = !0), p[R.getId()] = D;
|
|
21948
21948
|
});
|
|
21949
21949
|
}
|
|
21950
21950
|
for (const w of h) {
|
|
@@ -22225,10 +22225,10 @@ function FF(e) {
|
|
|
22225
22225
|
function EF(e) {
|
|
22226
22226
|
return e.visibleCols.treeRight;
|
|
22227
22227
|
}
|
|
22228
|
-
function
|
|
22228
|
+
function PF(e) {
|
|
22229
22229
|
return e.visibleCols.getAllTrees();
|
|
22230
22230
|
}
|
|
22231
|
-
function
|
|
22231
|
+
function DF(e, t) {
|
|
22232
22232
|
for (let s = 0; s < t.length; s++) {
|
|
22233
22233
|
const o = e.indexOf(t[s]);
|
|
22234
22234
|
o >= 0 && (e[o] = e[e.length - 1], e.pop());
|
|
@@ -22335,7 +22335,7 @@ var TF = class extends T {
|
|
|
22335
22335
|
for (const a of n)
|
|
22336
22336
|
a.setLeft(r, e), r += a.getActualWidth();
|
|
22337
22337
|
}
|
|
22338
|
-
|
|
22338
|
+
DF(o, n);
|
|
22339
22339
|
}
|
|
22340
22340
|
for (const n of o)
|
|
22341
22341
|
n.setLeft(null, e);
|
|
@@ -22726,7 +22726,7 @@ var MF = class extends T {
|
|
|
22726
22726
|
dynamicBeans: { headerGroupCellCtrl: mF },
|
|
22727
22727
|
beans: [MF],
|
|
22728
22728
|
apiFunctions: {
|
|
22729
|
-
getAllDisplayedColumnGroups:
|
|
22729
|
+
getAllDisplayedColumnGroups: PF,
|
|
22730
22730
|
getCenterDisplayedColumnGroups: FF,
|
|
22731
22731
|
getColumnGroup: vF,
|
|
22732
22732
|
getColumnGroupState: SF,
|
|
@@ -24098,7 +24098,7 @@ var fE = class extends T {
|
|
|
24098
24098
|
buttonActiveBorder: { color: St }
|
|
24099
24099
|
},
|
|
24100
24100
|
css: Sp
|
|
24101
|
-
}),
|
|
24101
|
+
}), PE = /* @__PURE__ */ EE(), DE = () => at({
|
|
24102
24102
|
feature: "buttonStyle",
|
|
24103
24103
|
params: {
|
|
24104
24104
|
...yp,
|
|
@@ -24109,7 +24109,7 @@ var fE = class extends T {
|
|
|
24109
24109
|
buttonVerticalPadding: { calc: "spacing * 0.5" }
|
|
24110
24110
|
},
|
|
24111
24111
|
css: Sp
|
|
24112
|
-
}), TE = /* @__PURE__ */
|
|
24112
|
+
}), TE = /* @__PURE__ */ DE(), ME = (
|
|
24113
24113
|
/*css*/
|
|
24114
24114
|
".ag-column-drop-vertical-empty-message{align-items:center;border:dashed var(--ag-border-width);border-color:var(--ag-border-color);display:flex;inset:0;justify-content:center;margin:calc(var(--ag-spacing)*1.5) calc(var(--ag-spacing)*2);overflow:hidden;padding:calc(var(--ag-spacing)*2);position:absolute}"
|
|
24115
24115
|
), IE = (
|
|
@@ -24131,7 +24131,7 @@ var fE = class extends T {
|
|
|
24131
24131
|
preInitErr: (...e) => {
|
|
24132
24132
|
Qo(e[0], e[2], e[1]);
|
|
24133
24133
|
}
|
|
24134
|
-
}, xp = () => Ly(OE).withParams(SE).withPart(
|
|
24134
|
+
}, xp = () => Ly(OE).withParams(SE).withPart(PE).withPart(Rp).withPart(FE), NE = (
|
|
24135
24135
|
/*css*/
|
|
24136
24136
|
'.ag-checkbox-input-wrapper,.ag-radio-button-input-wrapper{background-color:var(--ag-checkbox-unchecked-background-color);border:solid var(--ag-checkbox-border-width) var(--ag-checkbox-unchecked-border-color);flex:none;height:var(--ag-icon-size);position:relative;width:var(--ag-icon-size);:where(input){-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;display:block;height:var(--ag-icon-size);margin:0;opacity:0;width:var(--ag-icon-size)}&:after{content:"";display:block;inset:0;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;pointer-events:none;position:absolute}&:where(.ag-checked){background-color:var(--ag-checkbox-checked-background-color);border-color:var(--ag-checkbox-checked-border-color);&:after{background-color:var(--ag-checkbox-checked-shape-color)}}&:where(:focus-within,:active){box-shadow:var(--ag-focus-shadow)}&:where(.ag-disabled){filter:grayscale();opacity:.5}}.ag-checkbox-input-wrapper{border-radius:var(--ag-checkbox-border-radius);&:where(.ag-checked):after{-webkit-mask-image:var(--ag-checkbox-checked-shape-image);mask-image:var(--ag-checkbox-checked-shape-image)}&:where(.ag-indeterminate){background-color:var(--ag-checkbox-indeterminate-background-color);border-color:var(--ag-checkbox-indeterminate-border-color);&:after{background-color:var(--ag-checkbox-indeterminate-shape-color);-webkit-mask-image:var(--ag-checkbox-indeterminate-shape-image);mask-image:var(--ag-checkbox-indeterminate-shape-image)}}}.ag-cell-editing-error .ag-checkbox-input-wrapper:focus-within{box-shadow:var(--ag-focus-error-shadow)}.ag-radio-button-input-wrapper{border-radius:100%;&:where(.ag-checked):after{-webkit-mask-image:var(--ag-radio-checked-shape-image);mask-image:var(--ag-radio-checked-shape-image)}}'
|
|
24137
24137
|
), HE = () => at({
|
|
@@ -24202,7 +24202,7 @@ var fE = class extends T {
|
|
|
24202
24202
|
), _E = /* @__PURE__ */ at({
|
|
24203
24203
|
feature: "iconSet",
|
|
24204
24204
|
css: WE
|
|
24205
|
-
}),
|
|
24205
|
+
}), Pp = {
|
|
24206
24206
|
aggregation: '<path d="M18 7V4H6l6 8-6 8h12v-3"/>',
|
|
24207
24207
|
arrows: '<polyline points="5 9 2 12 5 15"/><polyline points="9 5 12 2 15 5"/><polyline points="15 19 12 22 9 19"/><polyline points="19 9 22 12 19 15"/><line x1="2" x2="22" y1="12" y2="12"/><line x1="12" x2="12" y1="2" y2="22"/>',
|
|
24208
24208
|
asc: '<path d="m5 12 7-7 7 7"/><path d="M12 19V5"/>',
|
|
@@ -24253,7 +24253,7 @@ var fE = class extends T {
|
|
|
24253
24253
|
up: '<path d="m5 12 7-7 7 7"/><path d="M12 19V5"/>',
|
|
24254
24254
|
grip: '<circle cx="5" cy="8" r="0.5"/><circle cx="12" cy="8" r="0.5"/><circle cx="19" cy="8" r="0.5"/><circle cx="5" cy="16" r="0.5"/><circle cx="12" cy="16" r="0.5"/><circle cx="19" cy="16" r="0.5"/><g stroke="none" fill="currentColor"><circle cx="5" cy="8" r="1"/><circle cx="12" cy="8" r="1"/><circle cx="19" cy="8" r="1"/><circle cx="5" cy="16" r="1"/><circle cx="12" cy="16" r="1"/><circle cx="19" cy="16" r="1"/></g>',
|
|
24255
24255
|
settings: '<path d="M20 7h-9"/><path d="M14 17H5"/><circle cx="17" cy="17" r="3"/><circle cx="7" cy="7" r="3"/>'
|
|
24256
|
-
},
|
|
24256
|
+
}, Dp = {
|
|
24257
24257
|
"column-arrow": '<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="none" viewBox="0 0 32 32"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 26C0 28.2092 1.79086 30 4 30H14C16.2091 30 18 28.2092 18 26V15H25.8786L24.4394 16.4393C23.8536 17.0251 23.8536 17.9749 24.4394 18.5607C25.0252 19.1464 25.9748 19.1464 26.5606 18.5607L30.5606 14.5607C31.1464 13.9749 31.1464 13.0251 30.5606 12.4393L26.5606 8.43934C25.9748 7.85356 25.0252 7.85356 24.4394 8.43934C23.8536 9.02512 23.8536 9.97488 24.4394 10.5607L25.8786 12H18V6C18 3.79086 16.2091 2 14 2H4C1.79086 2 0 3.79086 0 6V26ZM14 5H10.5V12H15V6C15 5.44772 14.5523 5 14 5ZM4 5H7.5V12H3V6C3 5.44772 3.44772 5 4 5ZM10.5 15H15V26C15 26.5522 14.5523 27 14 27H10.5V15ZM4 27H7.5V15H3V26C3 26.5522 3.44772 27 4 27Z" fill="currentColor"/></svg>',
|
|
24258
24258
|
"small-down": '<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="black" stroke="none" viewBox="0 0 32 32"><path d="M7.334 10.667 16 21.334l8.667-10.667H7.334Z"/></svg>',
|
|
24259
24259
|
"small-up": '<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="black" stroke="none" viewBox="0 0 32 32"><path d="M7.334 21.333 16 10.666l8.667 10.667H7.334Z"/></svg>',
|
|
@@ -24268,17 +24268,17 @@ var fE = class extends T {
|
|
|
24268
24268
|
edit: '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 10.6262V12.5012H5.375L10.905 6.97122L9.03 5.09622L3.5 10.6262ZM12.355 5.52122C12.4014 5.47497 12.4381 5.42002 12.4632 5.35953C12.4883 5.29905 12.5012 5.23421 12.5012 5.16872C12.5012 5.10324 12.4883 5.0384 12.4632 4.97791C12.4381 4.91742 12.4014 4.86248 12.355 4.81622L11.185 3.64622C11.1387 3.59987 11.0838 3.5631 11.0233 3.53801C10.9628 3.51291 10.898 3.5 10.8325 3.5C10.767 3.5 10.7022 3.51291 10.6417 3.53801C10.5812 3.5631 10.5263 3.59987 10.48 3.64622L9.565 4.56122L11.44 6.43622L12.355 5.52122Z" fill="currentColor"/></svg>'
|
|
24269
24269
|
}, UE = (e = {}) => {
|
|
24270
24270
|
let t = "";
|
|
24271
|
-
for (const s of [...Object.keys(
|
|
24271
|
+
for (const s of [...Object.keys(Pp), ...Object.keys(Dp)]) {
|
|
24272
24272
|
const o = $E(s, e.strokeWidth);
|
|
24273
24273
|
t += `.ag-icon-${s}::before { mask-image: url('data:image/svg+xml,${encodeURIComponent(o)}'); }
|
|
24274
24274
|
`;
|
|
24275
24275
|
}
|
|
24276
24276
|
return t;
|
|
24277
24277
|
}, $E = (e, t = 1.5) => {
|
|
24278
|
-
const s =
|
|
24278
|
+
const s = Dp[e];
|
|
24279
24279
|
if (s)
|
|
24280
24280
|
return s;
|
|
24281
|
-
const o =
|
|
24281
|
+
const o = Pp[e];
|
|
24282
24282
|
if (!o)
|
|
24283
24283
|
throw new Error(`Missing icon data for ${e}`);
|
|
24284
24284
|
return `<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke="black" stroke-width="${t}" viewBox="0 0 24 24"><style>* { vector-effect: non-scaling-stroke; }</style>` + o + "</svg>";
|
|
@@ -25988,9 +25988,9 @@ ${a}`;
|
|
|
25988
25988
|
getFindText: void 0,
|
|
25989
25989
|
rowGroupingHierarchy: void 0,
|
|
25990
25990
|
groupHierarchy: void 0
|
|
25991
|
-
},
|
|
25991
|
+
}, P3 = () => Object.keys(E3), D3 = () => ({
|
|
25992
25992
|
objectName: "colDef",
|
|
25993
|
-
allProperties:
|
|
25993
|
+
allProperties: P3(),
|
|
25994
25994
|
docsUrl: "column-properties/",
|
|
25995
25995
|
deprecations: R3(),
|
|
25996
25996
|
validations: F3()
|
|
@@ -26994,7 +26994,7 @@ var U3 = Op(!0), $3 = Op(!1), j3 = class extends He {
|
|
|
26994
26994
|
this.currentTemplate = this.workOutTemplate(e, !!n), this.setTemplate(this.currentTemplate, n ? [n] : void 0), s?.setupForHeader(this), this.setMenu(), this.setupSort(), o?.setupForHeader(this), this.setupFilterIcon(), this.setupFilterButton(), this.workOutInnerHeaderComponent(i, e), this.setDisplayName(e);
|
|
26995
26995
|
}
|
|
26996
26996
|
workOutInnerHeaderComponent(e, t) {
|
|
26997
|
-
const s =
|
|
26997
|
+
const s = DS(e, t, t);
|
|
26998
26998
|
s && (this.isLoadingInnerComponent = !0, s.newAgStackInstance().then((o) => {
|
|
26999
26999
|
this.isLoadingInnerComponent = !1, o && (this.isAlive() ? (this.innerHeaderComponent = o, this.eText && this.eText.appendChild(o.getGui())) : this.destroyBean(o));
|
|
27000
27000
|
}));
|
|
@@ -27298,7 +27298,7 @@ var U3 = Op(!0), $3 = Op(!1), j3 = class extends He {
|
|
|
27298
27298
|
createIconNoSpan(e, t) {
|
|
27299
27299
|
return Rt(e, this.beans, t?.column);
|
|
27300
27300
|
}
|
|
27301
|
-
},
|
|
27301
|
+
}, eP = class extends T {
|
|
27302
27302
|
constructor() {
|
|
27303
27303
|
super(...arguments), this.beanName = "touchSvc";
|
|
27304
27304
|
}
|
|
@@ -27329,11 +27329,11 @@ var U3 = Op(!0), $3 = Op(!1), j3 = class extends He {
|
|
|
27329
27329
|
const { gos: t, sortSvc: s, menuSvc: o } = this.beans;
|
|
27330
27330
|
if (t.get("suppressTouch"))
|
|
27331
27331
|
return;
|
|
27332
|
-
const { params: i, eMenu: n, eFilterButton: r } = e, a = new
|
|
27332
|
+
const { params: i, eMenu: n, eFilterButton: r } = e, a = new Ds(e.getGui(), !0);
|
|
27333
27333
|
e.addDestroyFunc(() => a.destroy());
|
|
27334
27334
|
const l = e.shouldSuppressMenuHide(), c = l && U(n) && i.enableMenu;
|
|
27335
27335
|
let d = a;
|
|
27336
|
-
if (c && (d = new
|
|
27336
|
+
if (c && (d = new Ds(n, !0), e.addDestroyFunc(() => d.destroy())), i.enableMenu || o?.isHeaderContextMenuEnabled(i.column)) {
|
|
27337
27337
|
const u = c ? "tap" : "longTap", h = (g) => i.showColumnMenuAfterMouseClick(g.touchStart);
|
|
27338
27338
|
e.addManagedListeners(d, { [u]: h }), e.addManagedListeners(a, { longTap: h });
|
|
27339
27339
|
}
|
|
@@ -27345,7 +27345,7 @@ var U3 = Op(!0), $3 = Op(!1), j3 = class extends He {
|
|
|
27345
27345
|
e.addManagedListeners(a, { tap: u });
|
|
27346
27346
|
}
|
|
27347
27347
|
if (i.enableFilterButton && r) {
|
|
27348
|
-
const u = new
|
|
27348
|
+
const u = new Ds(r, !0);
|
|
27349
27349
|
e.addManagedListeners(u, {
|
|
27350
27350
|
tap: () => i.showFilter(r)
|
|
27351
27351
|
}), e.addDestroyFunc(() => u.destroy());
|
|
@@ -27356,27 +27356,27 @@ var U3 = Op(!0), $3 = Op(!1), j3 = class extends He {
|
|
|
27356
27356
|
if (this.beans.menuSvc?.isHeaderContextMenuEnabled(
|
|
27357
27357
|
t.columnGroup.getProvidedColumnGroup()
|
|
27358
27358
|
)) {
|
|
27359
|
-
const s = new
|
|
27359
|
+
const s = new Ds(t.eGridHeader, !0), o = (i) => t.showColumnMenuAfterMouseClick(i.touchStart);
|
|
27360
27360
|
e.addManagedListeners(s, { longTap: o }), e.addDestroyFunc(() => s.destroy());
|
|
27361
27361
|
}
|
|
27362
27362
|
}
|
|
27363
27363
|
setupForHeaderGroupElement(e, t, s) {
|
|
27364
|
-
const o = new
|
|
27364
|
+
const o = new Ds(t, !0);
|
|
27365
27365
|
e.addManagedListeners(o, { tap: s }), e.addDestroyFunc(() => o.destroy());
|
|
27366
27366
|
}
|
|
27367
27367
|
mockContextMenu(e, t, s) {
|
|
27368
27368
|
if (!Hs())
|
|
27369
27369
|
return;
|
|
27370
|
-
const o = new
|
|
27370
|
+
const o = new Ds(t), i = (n) => {
|
|
27371
27371
|
fi(this.beans, n.touchEvent) && s(void 0, n.touchStart, n.touchEvent);
|
|
27372
27372
|
};
|
|
27373
27373
|
e.addManagedListeners(o, { longTap: i }), e.addDestroyFunc(() => o.destroy());
|
|
27374
27374
|
}
|
|
27375
|
-
},
|
|
27375
|
+
}, tP = {
|
|
27376
27376
|
moduleName: "Touch",
|
|
27377
27377
|
version: _,
|
|
27378
|
-
beans: [
|
|
27379
|
-
},
|
|
27378
|
+
beans: [eP]
|
|
27379
|
+
}, sP = class extends T {
|
|
27380
27380
|
constructor() {
|
|
27381
27381
|
super(...arguments), this.beanName = "cellNavigation";
|
|
27382
27382
|
}
|
|
@@ -27473,7 +27473,7 @@ var U3 = Op(!0), $3 = Op(!1), j3 = class extends He {
|
|
|
27473
27473
|
getCellBelow(e) {
|
|
27474
27474
|
if (!e)
|
|
27475
27475
|
return null;
|
|
27476
|
-
const t = this.rowSpanSvc?.getCellEnd(e) ?? e, s =
|
|
27476
|
+
const t = this.rowSpanSvc?.getCellEnd(e) ?? e, s = Dd(this.beans, t, !0);
|
|
27477
27477
|
return s ? {
|
|
27478
27478
|
rowIndex: s.rowIndex,
|
|
27479
27479
|
column: e.column,
|
|
@@ -27505,7 +27505,7 @@ var U3 = Op(!0), $3 = Op(!1), j3 = class extends He {
|
|
|
27505
27505
|
let i = e.rowIndex, n = e.rowPinned, r = t.getColAfter(e.column);
|
|
27506
27506
|
if (!r) {
|
|
27507
27507
|
r = o[0];
|
|
27508
|
-
const a =
|
|
27508
|
+
const a = Dd(this.beans, e, !0);
|
|
27509
27509
|
if (Ae(a) || !a.rowPinned && !(s?.isRowInPage(a.rowIndex) ?? !0))
|
|
27510
27510
|
return null;
|
|
27511
27511
|
i = a ? a.rowIndex : null, n = a ? a.rowPinned : null;
|
|
@@ -27535,26 +27535,26 @@ var U3 = Op(!0), $3 = Op(!1), j3 = class extends He {
|
|
|
27535
27535
|
return !1;
|
|
27536
27536
|
}
|
|
27537
27537
|
};
|
|
27538
|
-
function
|
|
27538
|
+
function oP(e) {
|
|
27539
27539
|
return e.focusSvc.getFocusedCell();
|
|
27540
27540
|
}
|
|
27541
|
-
function
|
|
27541
|
+
function iP(e) {
|
|
27542
27542
|
return e.focusSvc.clearFocusedCell();
|
|
27543
27543
|
}
|
|
27544
|
-
function
|
|
27544
|
+
function nP(e, t, s, o) {
|
|
27545
27545
|
e.focusSvc.setFocusedCell({ rowIndex: t, column: s, rowPinned: o, forceBrowserFocus: !0 });
|
|
27546
27546
|
}
|
|
27547
|
-
function
|
|
27547
|
+
function rP(e, t) {
|
|
27548
27548
|
return e.navigation?.tabToNextCell(!1, t) ?? !1;
|
|
27549
27549
|
}
|
|
27550
|
-
function
|
|
27550
|
+
function aP(e, t) {
|
|
27551
27551
|
return e.navigation?.tabToNextCell(!0, t) ?? !1;
|
|
27552
27552
|
}
|
|
27553
|
-
function
|
|
27553
|
+
function lP(e, t, s = !1) {
|
|
27554
27554
|
const o = e.headerNavigation?.getHeaderPositionForColumn(t, s);
|
|
27555
27555
|
o && e.focusSvc.focusHeaderPosition({ headerPosition: o });
|
|
27556
27556
|
}
|
|
27557
|
-
var
|
|
27557
|
+
var cP = class extends T {
|
|
27558
27558
|
constructor() {
|
|
27559
27559
|
super(...arguments), this.beanName = "editModelSvc", this.edits = /* @__PURE__ */ new Map(), this.cellValidations = new Np(), this.rowValidations = new Hp(), this.suspendEdits = !1;
|
|
27560
27560
|
}
|
|
@@ -27777,7 +27777,7 @@ function ic(e, t = {}) {
|
|
|
27777
27777
|
return i;
|
|
27778
27778
|
const { rowModel: r, rowRenderer: a } = e;
|
|
27779
27779
|
let { rowNode: l } = t;
|
|
27780
|
-
return l || (o ? l =
|
|
27780
|
+
return l || (o ? l = Px(e, o, n) : s != null && (l = r.getRow(s))), a.getRowCtrls(l ? [l] : [])?.[0];
|
|
27781
27781
|
}
|
|
27782
27782
|
function Ie(e, t = {}) {
|
|
27783
27783
|
const { cellCtrl: s, colId: o, columnId: i, column: n } = t;
|
|
@@ -27794,7 +27794,7 @@ function _d(e) {
|
|
|
27794
27794
|
const { editSvc: t } = e;
|
|
27795
27795
|
t?.isBatchEditing() ? Fo(e) : t?.stopEditing(void 0, { source: "api" });
|
|
27796
27796
|
}
|
|
27797
|
-
function
|
|
27797
|
+
function dP(e, t, s) {
|
|
27798
27798
|
const { gos: o, popupSvc: i } = t;
|
|
27799
27799
|
if (!o.get("stopEditingWhenCellsLoseFocus"))
|
|
27800
27800
|
return;
|
|
@@ -27830,8 +27830,8 @@ function Gp(e, t = {}) {
|
|
|
27830
27830
|
}
|
|
27831
27831
|
return s;
|
|
27832
27832
|
}
|
|
27833
|
-
var
|
|
27834
|
-
function
|
|
27833
|
+
var uP = (e, t = {}) => Gp(e, t).map((s) => s.editor);
|
|
27834
|
+
function hP(e, t, s, o, i, n) {
|
|
27835
27835
|
t.length === 0 && s?.rowNode && s?.column && Lo(e, s, { key: o, event: i, cellStartedEdit: n });
|
|
27836
27836
|
const { valueSvc: r, editSvc: a, editModelSvc: l } = e, { rowNode: c, column: d } = s ?? {};
|
|
27837
27837
|
for (const u of t) {
|
|
@@ -27932,7 +27932,7 @@ function Ba(e, t) {
|
|
|
27932
27932
|
});
|
|
27933
27933
|
});
|
|
27934
27934
|
}
|
|
27935
|
-
function
|
|
27935
|
+
function gP(e, t) {
|
|
27936
27936
|
const s = t.comp?.getCellEditor();
|
|
27937
27937
|
if (!s?.refresh)
|
|
27938
27938
|
return;
|
|
@@ -27967,9 +27967,9 @@ function un(e, t, s, o, i, n) {
|
|
|
27967
27967
|
pendingValue: d ? d.editorValue : Ft
|
|
27968
27968
|
})), r.setEdit(t, {
|
|
27969
27969
|
editorValue: i ? d.sourceValue : s
|
|
27970
|
-
}), n?.persist &&
|
|
27970
|
+
}), n?.persist && pP(e, t);
|
|
27971
27971
|
}
|
|
27972
|
-
function
|
|
27972
|
+
function pP(e, t) {
|
|
27973
27973
|
const { editModelSvc: s } = e, o = s?.getEdit(t, !0);
|
|
27974
27974
|
s?.setEdit(t, {
|
|
27975
27975
|
pendingValue: o?.editorValue
|
|
@@ -28063,7 +28063,7 @@ function Ys(e, t) {
|
|
|
28063
28063
|
for (const { ctrl: h } of s)
|
|
28064
28064
|
u.add(h.rowCtrl);
|
|
28065
28065
|
if (l) {
|
|
28066
|
-
const h =
|
|
28066
|
+
const h = fP(e);
|
|
28067
28067
|
r?.setRowValidationModel(h);
|
|
28068
28068
|
}
|
|
28069
28069
|
for (const h of u.values()) {
|
|
@@ -28072,7 +28072,7 @@ function Ys(e, t) {
|
|
|
28072
28072
|
g.tooltipFeature?.refreshTooltip(!0), g.editorTooltipFeature?.refreshTooltip(!0), g.editStyleFeature?.applyCellStyles?.();
|
|
28073
28073
|
}
|
|
28074
28074
|
}
|
|
28075
|
-
var
|
|
28075
|
+
var fP = (e) => {
|
|
28076
28076
|
const t = new Hp(), s = e.gos.get("getFullRowEditValidationErrors"), o = e.editModelSvc?.getEditMap();
|
|
28077
28077
|
if (!o)
|
|
28078
28078
|
return t;
|
|
@@ -28105,7 +28105,7 @@ var fD = (e) => {
|
|
|
28105
28105
|
}
|
|
28106
28106
|
return t;
|
|
28107
28107
|
};
|
|
28108
|
-
function
|
|
28108
|
+
function mP(e) {
|
|
28109
28109
|
Ys(e, !0);
|
|
28110
28110
|
const t = e.editModelSvc?.getCellValidationModel().getCellValidationMap();
|
|
28111
28111
|
if (!t)
|
|
@@ -28122,7 +28122,7 @@ function mD(e) {
|
|
|
28122
28122
|
});
|
|
28123
28123
|
}), s;
|
|
28124
28124
|
}
|
|
28125
|
-
function
|
|
28125
|
+
function CP(e, t, s, { rowNode: o, column: i }, n) {
|
|
28126
28126
|
return ne(e.gos, {
|
|
28127
28127
|
type: s,
|
|
28128
28128
|
node: o,
|
|
@@ -28135,10 +28135,10 @@ function CD(e, t, s, { rowNode: o, column: i }, n) {
|
|
|
28135
28135
|
rowIndex: o.rowIndex
|
|
28136
28136
|
});
|
|
28137
28137
|
}
|
|
28138
|
-
function
|
|
28138
|
+
function vP(e, t = !1) {
|
|
28139
28139
|
return e === E.DELETE ? !0 : !t && e === E.BACKSPACE ? Sg() : !1;
|
|
28140
28140
|
}
|
|
28141
|
-
var
|
|
28141
|
+
var wP = class extends T {
|
|
28142
28142
|
constructor(e, t, s, o) {
|
|
28143
28143
|
super(), this.cellCtrl = e, this.rowNode = s, this.rowCtrl = o, this.beans = t;
|
|
28144
28144
|
}
|
|
@@ -28196,7 +28196,7 @@ var wD = class extends T {
|
|
|
28196
28196
|
}
|
|
28197
28197
|
onBackspaceOrDeleteKeyDown(e, t) {
|
|
28198
28198
|
const { cellCtrl: s, beans: o, rowNode: i } = this, { gos: n, rangeSvc: r, eventSvc: a, editSvc: l } = o;
|
|
28199
|
-
if (a.dispatchEvent({ type: "keyShortcutChangedCellStart" }),
|
|
28199
|
+
if (a.dispatchEvent({ type: "keyShortcutChangedCellStart" }), vP(e, n.get("enableCellEditingOnBackspace")) && !l?.isEditing(s, { withOpenEditor: !0 })) {
|
|
28200
28200
|
if (r && vs(n))
|
|
28201
28201
|
r.clearCellRangeCellValues({ dispatchWrapperEvents: !0, wrapperEventSource: "deleteKey" });
|
|
28202
28202
|
else if (s.isCellEditable()) {
|
|
@@ -28273,7 +28273,7 @@ var wD = class extends T {
|
|
|
28273
28273
|
const { gos: t, editSvc: s } = this.beans, { rowNode: o } = this.cellCtrl;
|
|
28274
28274
|
!s?.isEditing(this.cellCtrl, { withOpenEditor: !0 }) && Os(t) && this.beans.selectionSvc?.handleSelectionEvent(e, o, "spaceKey"), e.preventDefault();
|
|
28275
28275
|
}
|
|
28276
|
-
},
|
|
28276
|
+
}, bP = class extends T {
|
|
28277
28277
|
constructor(e, t, s) {
|
|
28278
28278
|
super(), this.cellCtrl = e, this.column = s, this.beans = t;
|
|
28279
28279
|
}
|
|
@@ -28356,18 +28356,18 @@ var wD = class extends T {
|
|
|
28356
28356
|
return;
|
|
28357
28357
|
}
|
|
28358
28358
|
if (!o || !w) {
|
|
28359
|
-
const S = h?.isEditing(n), x = u.get("enableCellTextSelection") && e.defaultPrevented,
|
|
28360
|
-
n.focusCell(
|
|
28359
|
+
const S = h?.isEditing(n), x = u.get("enableCellTextSelection") && e.defaultPrevented, P = (Rs() || x) && !S && !ti(i) && !b;
|
|
28360
|
+
n.focusCell(P, e);
|
|
28361
28361
|
}
|
|
28362
28362
|
if (o && w && !d.isCellFocused(f)) {
|
|
28363
28363
|
e.preventDefault();
|
|
28364
28364
|
const S = d.getFocusedCell();
|
|
28365
28365
|
if (S) {
|
|
28366
|
-
const { column: R, rowIndex: x, rowPinned:
|
|
28366
|
+
const { column: R, rowIndex: x, rowPinned: P } = S;
|
|
28367
28367
|
h?.isEditing(S) && h?.stopEditing(S), d.setFocusedCell({
|
|
28368
28368
|
column: R,
|
|
28369
28369
|
rowIndex: x,
|
|
28370
|
-
rowPinned:
|
|
28370
|
+
rowPinned: P,
|
|
28371
28371
|
forceBrowserFocus: !0,
|
|
28372
28372
|
preventScrollOnBrowserFocus: !0,
|
|
28373
28373
|
sourceEvent: e
|
|
@@ -28418,7 +28418,7 @@ var wD = class extends T {
|
|
|
28418
28418
|
const t = this.cellCtrl.eGui, s = t.contains(e.target), o = t.contains(e.relatedTarget);
|
|
28419
28419
|
return s && o;
|
|
28420
28420
|
}
|
|
28421
|
-
},
|
|
28421
|
+
}, SP = class extends T {
|
|
28422
28422
|
constructor(e, t) {
|
|
28423
28423
|
super(), this.cellCtrl = e, this.beans = t, this.column = e.column, this.rowNode = e.rowNode;
|
|
28424
28424
|
}
|
|
@@ -28511,15 +28511,15 @@ var wD = class extends T {
|
|
|
28511
28511
|
destroy() {
|
|
28512
28512
|
super.destroy();
|
|
28513
28513
|
}
|
|
28514
|
-
},
|
|
28514
|
+
}, yP = "ag-cell", RP = "ag-cell-auto-height", xP = "ag-cell-normal-height", FP = "ag-cell-focus", EP = "ag-cell-first-right-pinned", PP = "ag-cell-last-left-pinned", DP = "ag-cell-not-inline-editing", TP = "ag-cell-wrap-text", MP = 0, Eo = class extends T {
|
|
28515
28515
|
constructor(e, t, s, o) {
|
|
28516
28516
|
super(), this.column = e, this.rowNode = t, this.rowCtrl = o, this.rangeFeature = void 0, this.rowResizeFeature = void 0, this.positionFeature = void 0, this.customStyleFeature = void 0, this.editStyleFeature = void 0, this.mouseListener = void 0, this.keyboardListener = void 0, this.suppressRefreshCell = !1, this.onCompAttachedFuncs = [], this.onEditorAttachedFuncs = [], this.focusEventWhileNotReady = null, this.hasBeenFocused = !1, this.hasEdit = !1, this.tooltipFeature = void 0, this.editorTooltipFeature = void 0, this.beans = s, this.gos = s.gos, this.editSvc = s.editSvc, this.hasEdit = !!s.editSvc;
|
|
28517
28517
|
const { colId: i } = e;
|
|
28518
|
-
this.instanceId = i + "-" +
|
|
28518
|
+
this.instanceId = i + "-" + MP++, this.createCellPosition(), this.updateAndFormatValue(!1);
|
|
28519
28519
|
}
|
|
28520
28520
|
addFeatures() {
|
|
28521
28521
|
const { beans: e } = this;
|
|
28522
|
-
this.positionFeature = new
|
|
28522
|
+
this.positionFeature = new SP(this, e), this.customStyleFeature = e.cellStyles?.createCellCustomStyleFeature(this, e), this.editStyleFeature = e.editSvc?.createCellStyleFeature(this, e), this.mouseListener = new bP(this, e, this.column), this.keyboardListener = new wP(this, e, this.rowNode, this.rowCtrl), this.enableTooltipFeature();
|
|
28523
28523
|
const { rangeSvc: t } = e;
|
|
28524
28524
|
t && vs(e.gos) && (this.rangeFeature = t.createCellRangeFeature(e, this)), Jt(this.column) && (this.rowResizeFeature = this.beans.rowNumbersSvc.createRowNumbersRowResizerFeature(e, this));
|
|
28525
28525
|
}
|
|
@@ -28742,7 +28742,7 @@ var wD = class extends T {
|
|
|
28742
28742
|
}
|
|
28743
28743
|
createEvent(e, t) {
|
|
28744
28744
|
const { rowNode: s, column: o, value: i, beans: n } = this;
|
|
28745
|
-
return
|
|
28745
|
+
return CP(n, e, t, { rowNode: s, column: o }, i);
|
|
28746
28746
|
}
|
|
28747
28747
|
processCharacter(e) {
|
|
28748
28748
|
this.keyboardListener?.processCharacter(e);
|
|
@@ -28831,13 +28831,13 @@ var wD = class extends T {
|
|
|
28831
28831
|
if (!this.comp)
|
|
28832
28832
|
return;
|
|
28833
28833
|
const e = this.column.isFirstRightPinned();
|
|
28834
|
-
this.comp.toggleCss(
|
|
28834
|
+
this.comp.toggleCss(EP, e);
|
|
28835
28835
|
}
|
|
28836
28836
|
onLastLeftPinnedChanged() {
|
|
28837
28837
|
if (!this.comp)
|
|
28838
28838
|
return;
|
|
28839
28839
|
const e = this.column.isLastLeftPinned();
|
|
28840
|
-
this.comp.toggleCss(
|
|
28840
|
+
this.comp.toggleCss(PP, e);
|
|
28841
28841
|
}
|
|
28842
28842
|
/**
|
|
28843
28843
|
* Returns whether cell is focused by the focusSvc, overridden by spannedCellCtrl
|
|
@@ -28861,7 +28861,7 @@ var wD = class extends T {
|
|
|
28861
28861
|
return;
|
|
28862
28862
|
}
|
|
28863
28863
|
const s = this.isCellFocused(), o = t.editSvc?.isEditing(this) ?? !1;
|
|
28864
|
-
if (this.comp.toggleCss(
|
|
28864
|
+
if (this.comp.toggleCss(FP, s), s && e?.forceBrowserFocus) {
|
|
28865
28865
|
let i = this.comp.getFocusableElement();
|
|
28866
28866
|
if (o) {
|
|
28867
28867
|
const n = So(i, null, !0);
|
|
@@ -28882,9 +28882,9 @@ var wD = class extends T {
|
|
|
28882
28882
|
// CSS Classes that only get applied once, they never change
|
|
28883
28883
|
applyStaticCssClasses() {
|
|
28884
28884
|
const { comp: e } = this;
|
|
28885
|
-
e.toggleCss(
|
|
28885
|
+
e.toggleCss(yP, !0), e.toggleCss(DP, !0);
|
|
28886
28886
|
const t = this.column.isAutoHeight() == !0;
|
|
28887
|
-
e.toggleCss(
|
|
28887
|
+
e.toggleCss(RP, t), e.toggleCss(xP, !t);
|
|
28888
28888
|
}
|
|
28889
28889
|
onColumnHover() {
|
|
28890
28890
|
this.beans.colHover?.onCellColumnHover(this.column, this.comp);
|
|
@@ -28894,7 +28894,7 @@ var wD = class extends T {
|
|
|
28894
28894
|
}
|
|
28895
28895
|
setWrapText() {
|
|
28896
28896
|
const e = this.column.getColDef().wrapText == !0;
|
|
28897
|
-
this.comp.toggleCss(
|
|
28897
|
+
this.comp.toggleCss(TP, e);
|
|
28898
28898
|
}
|
|
28899
28899
|
dispatchCellContextMenuEvent(e) {
|
|
28900
28900
|
const t = this.column.getColDef(), s = this.createEvent(e, "cellContextMenu"), { beans: o } = this;
|
|
@@ -29001,7 +29001,7 @@ function jd(e) {
|
|
|
29001
29001
|
const t = e.parent;
|
|
29002
29002
|
return t ? t.level + 1 : 0;
|
|
29003
29003
|
}
|
|
29004
|
-
var
|
|
29004
|
+
var IP = class extends T {
|
|
29005
29005
|
constructor() {
|
|
29006
29006
|
super(...arguments), this.beanName = "rowStyleSvc";
|
|
29007
29007
|
}
|
|
@@ -29063,7 +29063,7 @@ var ID = class extends T {
|
|
|
29063
29063
|
if (i || s)
|
|
29064
29064
|
return Object.assign({}, s, i);
|
|
29065
29065
|
}
|
|
29066
|
-
},
|
|
29066
|
+
}, kP = 0, Vn = class extends T {
|
|
29067
29067
|
constructor(e, t, s, o, i) {
|
|
29068
29068
|
super(), this.rowNode = e, this.useAnimationFrameForCreate = o, this.printLayout = i, this.allRowGuis = [], this.active = !0, this.centerCellCtrls = { list: [], map: {} }, this.leftCellCtrls = { list: [], map: {} }, this.rightCellCtrls = { list: [], map: {} }, this.slideInAnimation = {
|
|
29069
29069
|
left: !1,
|
|
@@ -29075,7 +29075,7 @@ var ID = class extends T {
|
|
|
29075
29075
|
center: !1,
|
|
29076
29076
|
right: !1,
|
|
29077
29077
|
fullWidth: !1
|
|
29078
|
-
}, this.rowDragComps = [], this.lastMouseDownOnDragger = !1, this.emptyStyle = {}, this.updateColumnListsPending = !1, this.rowId = null, this.businessKey = null, this.beans = t, this.gos = t.gos, this.paginationPage = t.pagination?.getCurrentPage() ?? 0, this.suppressRowTransform = this.gos.get("suppressRowTransform"), this.instanceId = e.id + "-" +
|
|
29078
|
+
}, this.rowDragComps = [], this.lastMouseDownOnDragger = !1, this.emptyStyle = {}, this.updateColumnListsPending = !1, this.rowId = null, this.businessKey = null, this.beans = t, this.gos = t.gos, this.paginationPage = t.pagination?.getCurrentPage() ?? 0, this.suppressRowTransform = this.gos.get("suppressRowTransform"), this.instanceId = e.id + "-" + kP++, this.rowId = ei(e.id), this.initRowBusinessKey(), this.rowFocused = t.focusSvc.isRowFocused(this.rowNode.rowIndex, this.rowNode.rowPinned), this.rowLevel = jd(this.rowNode), this.setRowType(), this.setAnimateFlags(s), this.rowStyles = this.processStylesFromGridOptions(), this.rowEditStyleFeature = t.editSvc?.createRowStyleFeature(this, t), this.addListeners();
|
|
29079
29079
|
}
|
|
29080
29080
|
initRowBusinessKey() {
|
|
29081
29081
|
this.businessKeyForNodeFunc = this.gos.get("getBusinessKeyForNode"), this.updateRowBusinessKey();
|
|
@@ -29596,7 +29596,7 @@ var ID = class extends T {
|
|
|
29596
29596
|
const { gos: t, rowNode: s } = this;
|
|
29597
29597
|
if (this.isFullWidth()) {
|
|
29598
29598
|
const i = this.findFullWidthRowGui(e.target);
|
|
29599
|
-
return
|
|
29599
|
+
return DR(
|
|
29600
29600
|
t,
|
|
29601
29601
|
i?.rowComp.getFullWidthCellRendererParams(),
|
|
29602
29602
|
s,
|
|
@@ -29913,7 +29913,7 @@ var ID = class extends T {
|
|
|
29913
29913
|
n.rowComp.setRowIndex(t), n.rowComp.toggleCss("ag-row-even", o), n.rowComp.toggleCss("ag-row-odd", !o), Fh(n.element, i);
|
|
29914
29914
|
});
|
|
29915
29915
|
}
|
|
29916
|
-
},
|
|
29916
|
+
}, AP = class extends T {
|
|
29917
29917
|
constructor() {
|
|
29918
29918
|
super(), this.beanName = "navigation", this.onPageDown = Uc(this.onPageDown, 100), this.onPageUp = Uc(this.onPageUp, 100);
|
|
29919
29919
|
}
|
|
@@ -30289,19 +30289,19 @@ var ID = class extends T {
|
|
|
30289
30289
|
function $r(e) {
|
|
30290
30290
|
return e.ctrlsSvc.getScrollFeature().getVScrollPosition();
|
|
30291
30291
|
}
|
|
30292
|
-
var
|
|
30292
|
+
var LP = {
|
|
30293
30293
|
moduleName: "KeyboardNavigation",
|
|
30294
30294
|
version: _,
|
|
30295
|
-
beans: [
|
|
30295
|
+
beans: [AP, sP, g3],
|
|
30296
30296
|
apiFunctions: {
|
|
30297
|
-
getFocusedCell:
|
|
30298
|
-
clearFocusedCell:
|
|
30299
|
-
setFocusedCell:
|
|
30300
|
-
setFocusedHeader:
|
|
30301
|
-
tabToNextCell:
|
|
30302
|
-
tabToPreviousCell:
|
|
30303
|
-
}
|
|
30304
|
-
},
|
|
30297
|
+
getFocusedCell: oP,
|
|
30298
|
+
clearFocusedCell: iP,
|
|
30299
|
+
setFocusedCell: nP,
|
|
30300
|
+
setFocusedHeader: lP,
|
|
30301
|
+
tabToNextCell: rP,
|
|
30302
|
+
tabToPreviousCell: aP
|
|
30303
|
+
}
|
|
30304
|
+
}, OP = class extends T {
|
|
30305
30305
|
constructor() {
|
|
30306
30306
|
super(...arguments), this.beanName = "pageBoundsListener";
|
|
30307
30307
|
}
|
|
@@ -30325,7 +30325,7 @@ var LD = {
|
|
|
30325
30325
|
const { pageBounds: e, pagination: t, rowModel: s } = this.beans;
|
|
30326
30326
|
t ? t.calculatePages() : e.calculateBounds(0, s.getRowCount() - 1);
|
|
30327
30327
|
}
|
|
30328
|
-
},
|
|
30328
|
+
}, NP = class extends T {
|
|
30329
30329
|
constructor() {
|
|
30330
30330
|
super(...arguments), this.beanName = "pageBounds", this.pixelOffset = 0;
|
|
30331
30331
|
}
|
|
@@ -30356,10 +30356,10 @@ var LD = {
|
|
|
30356
30356
|
const e = this.topRowBounds?.rowTop ?? 0;
|
|
30357
30357
|
this.pixelOffset !== e && (this.pixelOffset = e, this.eventSvc.dispatchEvent({ type: "paginationPixelOffsetChanged" }));
|
|
30358
30358
|
}
|
|
30359
|
-
},
|
|
30359
|
+
}, HP = (
|
|
30360
30360
|
/*css*/
|
|
30361
30361
|
".ag-pinned-left-floating-bottom,.ag-pinned-left-floating-top,.ag-pinned-right-floating-bottom,.ag-pinned-right-floating-top{min-width:0;overflow:hidden;position:relative}.ag-pinned-left-sticky-top,.ag-pinned-right-sticky-top{height:100%;overflow:hidden;position:relative}.ag-sticky-bottom-full-width-container,.ag-sticky-top-full-width-container{height:100%;overflow:hidden;width:100%}.ag-pinned-left-header,.ag-pinned-right-header{display:inline-block;height:100%;overflow:hidden;position:relative}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible){.ag-horizontal-left-spacer:not(.ag-scroller-corner){border-right:var(--ag-pinned-column-border)}.ag-horizontal-right-spacer:not(.ag-scroller-corner){border-left:var(--ag-pinned-column-border)}}.ag-pinned-right-header{border-left:var(--ag-pinned-column-border)}.ag-pinned-left-header{border-right:var(--ag-pinned-column-border)}.ag-cell.ag-cell-first-right-pinned:not(.ag-cell-range-left,.ag-cell-range-single-cell,.ag-cell-focus:not(.ag-cell-range-selected):focus-within){border-left:var(--ag-pinned-column-border)}.ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right,.ag-cell-range-single-cell,.ag-cell-focus:not(.ag-cell-range-selected):focus-within){border-right:var(--ag-pinned-column-border)}.ag-pinned-left-header .ag-header-cell-resize:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-pinned-right-header .ag-header-cell-resize:after{left:50%}.ag-pinned-left-header .ag-header-cell-resize{right:-3px}.ag-pinned-right-header .ag-header-cell-resize{left:-3px}"
|
|
30362
|
-
),
|
|
30362
|
+
), GP = class extends T {
|
|
30363
30363
|
constructor(e, t) {
|
|
30364
30364
|
super(), this.isLeft = e, this.elements = t, this.getWidth = e ? () => this.beans.pinnedCols.leftWidth : () => this.beans.pinnedCols.rightWidth;
|
|
30365
30365
|
}
|
|
@@ -30373,7 +30373,7 @@ var LD = {
|
|
|
30373
30373
|
for (const s of this.elements)
|
|
30374
30374
|
s && (Le(s, t), zt(s, e));
|
|
30375
30375
|
}
|
|
30376
|
-
},
|
|
30376
|
+
}, VP = class extends T {
|
|
30377
30377
|
constructor() {
|
|
30378
30378
|
super(...arguments), this.beanName = "pinnedCols";
|
|
30379
30379
|
}
|
|
@@ -30403,7 +30403,7 @@ var LD = {
|
|
|
30403
30403
|
})), r?.length && (r = r.filter((a) => !Jt(a)), this.setColsPinned(r, null, "viewportSizeFeature")));
|
|
30404
30404
|
}
|
|
30405
30405
|
createPinnedWidthFeature(e, ...t) {
|
|
30406
|
-
return new
|
|
30406
|
+
return new GP(e, t);
|
|
30407
30407
|
}
|
|
30408
30408
|
setColsPinned(e, t, s) {
|
|
30409
30409
|
const { colModel: o, colAnimation: i, visibleCols: n, gos: r } = this.beans;
|
|
@@ -30492,12 +30492,12 @@ var LD = {
|
|
|
30492
30492
|
}
|
|
30493
30493
|
return { columns: u, hasLockedPinned: i };
|
|
30494
30494
|
}
|
|
30495
|
-
},
|
|
30495
|
+
}, BP = {
|
|
30496
30496
|
moduleName: "PinnedColumn",
|
|
30497
30497
|
version: _,
|
|
30498
|
-
beans: [
|
|
30499
|
-
css: [
|
|
30500
|
-
},
|
|
30498
|
+
beans: [VP],
|
|
30499
|
+
css: [HP]
|
|
30500
|
+
}, zP = class extends T {
|
|
30501
30501
|
constructor() {
|
|
30502
30502
|
super(), this.beanName = "ariaAnnounce", this.descriptionContainer = null, this.pendingAnnouncements = /* @__PURE__ */ new Map(), this.lastAnnouncement = "", this.updateAnnouncement = et(this, this.updateAnnouncement.bind(this), 200);
|
|
30503
30503
|
}
|
|
@@ -30534,14 +30534,14 @@ var LD = {
|
|
|
30534
30534
|
const { descriptionContainer: e } = this;
|
|
30535
30535
|
e && (ut(e), e.remove()), this.descriptionContainer = null, this.pendingAnnouncements.clear();
|
|
30536
30536
|
}
|
|
30537
|
-
},
|
|
30537
|
+
}, WP = {
|
|
30538
30538
|
moduleName: "Aria",
|
|
30539
30539
|
version: _,
|
|
30540
|
-
beans: [
|
|
30541
|
-
},
|
|
30540
|
+
beans: [zP]
|
|
30541
|
+
}, _P = (
|
|
30542
30542
|
/*css*/
|
|
30543
30543
|
":where(.ag-delay-render){.ag-cell,.ag-header-cell,.ag-header-group-cell,.ag-row,.ag-spanned-cell-wrapper{visibility:hidden}}"
|
|
30544
|
-
), Kd = "ag-delay-render",
|
|
30544
|
+
), Kd = "ag-delay-render", UP = class extends T {
|
|
30545
30545
|
constructor() {
|
|
30546
30546
|
super(...arguments), this.beanName = "colDelayRenderSvc", this.hideRequested = !1, this.alreadyRevealed = !1, this.timesRetried = 0, this.requesters = /* @__PURE__ */ new Set();
|
|
30547
30547
|
}
|
|
@@ -30563,25 +30563,25 @@ var LD = {
|
|
|
30563
30563
|
}
|
|
30564
30564
|
s.getGridBodyCtrl().eGridBody.classList.remove(Kd), this.alreadyRevealed = !0;
|
|
30565
30565
|
}
|
|
30566
|
-
}, $
|
|
30566
|
+
}, $P = {
|
|
30567
30567
|
moduleName: "ColumnDelayRender",
|
|
30568
30568
|
version: _,
|
|
30569
|
-
beans: [
|
|
30570
|
-
css: [
|
|
30569
|
+
beans: [UP],
|
|
30570
|
+
css: [_P]
|
|
30571
30571
|
};
|
|
30572
|
-
function
|
|
30572
|
+
function jP(e) {
|
|
30573
30573
|
e.overlays?.showLoadingOverlay();
|
|
30574
30574
|
}
|
|
30575
|
-
function
|
|
30575
|
+
function KP(e) {
|
|
30576
30576
|
e.overlays?.showNoRowsOverlay();
|
|
30577
30577
|
}
|
|
30578
|
-
function
|
|
30578
|
+
function qP(e) {
|
|
30579
30579
|
e.overlays?.hideOverlay();
|
|
30580
30580
|
}
|
|
30581
|
-
var
|
|
30581
|
+
var YP = (
|
|
30582
30582
|
/*css*/
|
|
30583
30583
|
".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.ag-overlay-panel,.ag-overlay-wrapper{display:flex;height:100%;width:100%}.ag-overlay-wrapper{align-items:center;flex:none;justify-content:center;text-align:center}.ag-overlay-loading-wrapper{pointer-events:all}.ag-overlay-loading-center{background:var(--ag-background-color);border:solid var(--ag-border-width) var(--ag-border-color);border-radius:var(--ag-border-radius);box-shadow:var(--ag-popup-shadow);padding:var(--ag-spacing)}"
|
|
30584
|
-
),
|
|
30584
|
+
), ZP = {
|
|
30585
30585
|
tag: "div",
|
|
30586
30586
|
cls: "ag-overlay",
|
|
30587
30587
|
role: "presentation",
|
|
@@ -30595,7 +30595,7 @@ var YD = (
|
|
|
30595
30595
|
]
|
|
30596
30596
|
}, Wp = class extends He {
|
|
30597
30597
|
constructor() {
|
|
30598
|
-
super(
|
|
30598
|
+
super(ZP), this.eOverlayWrapper = se, this.activePromise = null, this.activeOverlay = null, this.updateListenerDestroyFunc = null, this.activeCssClass = null, this.elToFocusAfter = null, this.registerCSS(YP);
|
|
30599
30599
|
}
|
|
30600
30600
|
handleKeyDown(e) {
|
|
30601
30601
|
if (e.key !== E.TAB || e.defaultPrevented || ts(e))
|
|
@@ -30667,10 +30667,10 @@ var YD = (
|
|
|
30667
30667
|
destroy() {
|
|
30668
30668
|
this.elToFocusAfter = null, this.destroyActiveOverlay(), this.beans.overlays.setOverlayWrapperComp(void 0), super.destroy();
|
|
30669
30669
|
}
|
|
30670
|
-
},
|
|
30670
|
+
}, QP = {
|
|
30671
30671
|
selector: "AG-OVERLAY-WRAPPER",
|
|
30672
30672
|
component: Wp
|
|
30673
|
-
},
|
|
30673
|
+
}, XP = class extends T {
|
|
30674
30674
|
constructor() {
|
|
30675
30675
|
super(...arguments), this.beanName = "overlays", this.state = 0, this.showInitialOverlay = !0, this.wrapperPadding = 0;
|
|
30676
30676
|
}
|
|
@@ -30715,7 +30715,7 @@ var YD = (
|
|
|
30715
30715
|
this.doHideOverlay();
|
|
30716
30716
|
}
|
|
30717
30717
|
getOverlayWrapperSelector() {
|
|
30718
|
-
return
|
|
30718
|
+
return QP;
|
|
30719
30719
|
}
|
|
30720
30720
|
getOverlayWrapperCompClass() {
|
|
30721
30721
|
return Wp;
|
|
@@ -30768,7 +30768,7 @@ var YD = (
|
|
|
30768
30768
|
let t = 0;
|
|
30769
30769
|
this.state === 2 && (t = this.beans.ctrlsSvc.get("gridHeaderCtrl")?.headerHeight || 0), this.wrapperPadding !== t && (this.wrapperPadding = t, e.updateOverlayWrapperPaddingTop(t));
|
|
30770
30770
|
}
|
|
30771
|
-
},
|
|
30771
|
+
}, JP = {
|
|
30772
30772
|
moduleName: "Overlay",
|
|
30773
30773
|
version: _,
|
|
30774
30774
|
userComponents: {
|
|
@@ -30776,12 +30776,12 @@ var YD = (
|
|
|
30776
30776
|
agNoRowsOverlay: F2
|
|
30777
30777
|
},
|
|
30778
30778
|
apiFunctions: {
|
|
30779
|
-
showLoadingOverlay:
|
|
30780
|
-
showNoRowsOverlay:
|
|
30781
|
-
hideOverlay:
|
|
30779
|
+
showLoadingOverlay: jP,
|
|
30780
|
+
showNoRowsOverlay: KP,
|
|
30781
|
+
hideOverlay: qP
|
|
30782
30782
|
},
|
|
30783
|
-
beans: [
|
|
30784
|
-
},
|
|
30783
|
+
beans: [XP]
|
|
30784
|
+
}, eD = class extends T {
|
|
30785
30785
|
constructor() {
|
|
30786
30786
|
super(...arguments), this.beanName = "rowContainerHeight", this.scrollY = 0, this.uiBodyHeight = 0;
|
|
30787
30787
|
}
|
|
@@ -30829,7 +30829,7 @@ var YD = (
|
|
|
30829
30829
|
const t = this.modelHeight - this.getUiBodyHeight(), s = e / t;
|
|
30830
30830
|
return this.maxScrollY * s;
|
|
30831
30831
|
}
|
|
30832
|
-
},
|
|
30832
|
+
}, tD = 400, sD = class extends T {
|
|
30833
30833
|
constructor() {
|
|
30834
30834
|
super(...arguments), this.beanName = "rowRenderer", this.destroyFuncsForColumnListeners = [], this.rowCtrlsByRowIndex = {}, this.zombieRowCtrls = {}, this.allRowCtrls = [], this.topRowCtrls = [], this.bottomRowCtrls = [], this.refreshInProgress = !1, this.dataFirstRenderedFired = !1, this.setupRangeSelectionListeners = () => {
|
|
30835
30835
|
const e = () => {
|
|
@@ -30904,7 +30904,7 @@ var YD = (
|
|
|
30904
30904
|
initialiseCache() {
|
|
30905
30905
|
if (this.gos.get("keepDetailRows")) {
|
|
30906
30906
|
const e = this.getKeepDetailRowsCount(), t = e ?? 3;
|
|
30907
|
-
this.cachedRowCtrls = new
|
|
30907
|
+
this.cachedRowCtrls = new oD(t);
|
|
30908
30908
|
}
|
|
30909
30909
|
}
|
|
30910
30910
|
getKeepDetailRowsCount() {
|
|
@@ -31456,7 +31456,7 @@ var YD = (
|
|
|
31456
31456
|
}), window.setTimeout(() => {
|
|
31457
31457
|
for (const o of s)
|
|
31458
31458
|
o();
|
|
31459
|
-
},
|
|
31459
|
+
}, tD));
|
|
31460
31460
|
}
|
|
31461
31461
|
getRowBuffer() {
|
|
31462
31462
|
return this.gos.get("rowBuffer");
|
|
@@ -31477,8 +31477,8 @@ var YD = (
|
|
|
31477
31477
|
const d = this.getRowBufferInPixels(), u = this.ctrlsSvc.getScrollFeature(), h = this.gos.get("suppressRowVirtualisation");
|
|
31478
31478
|
let g = !1, p, f;
|
|
31479
31479
|
do {
|
|
31480
|
-
const y = t.getPixelOffset(), { pageFirstPixel: S, pageLastPixel: R } = t.getCurrentPagePixelRange(), x = e.divStretchOffset,
|
|
31481
|
-
h ? (p = S + x, f = R + x) : (p = Math.max(
|
|
31480
|
+
const y = t.getPixelOffset(), { pageFirstPixel: S, pageLastPixel: R } = t.getCurrentPagePixelRange(), x = e.divStretchOffset, P = u.getVScrollPosition(), D = P.top, A = P.bottom;
|
|
31481
|
+
h ? (p = S + x, f = R + x) : (p = Math.max(D + y - d, S) + x, f = Math.min(A + y + d, R) + x), this.firstVisibleVPixel = Math.max(D + y, S) + x, this.lastVisibleVPixel = Math.min(A + y, R) + x, g = this.ensureAllRowsInRangeHaveHeightsCalculated(p, f);
|
|
31482
31482
|
} while (g);
|
|
31483
31483
|
let m = s.getRowIndexAtPixel(p), v = s.getRowIndexAtPixel(f);
|
|
31484
31484
|
const w = t.getFirstRow(), b = t.getLastRow();
|
|
@@ -31571,7 +31571,7 @@ var YD = (
|
|
|
31571
31571
|
const o = e > this.lastRenderedRow;
|
|
31572
31572
|
return !(t < this.firstRenderedRow) && !o;
|
|
31573
31573
|
}
|
|
31574
|
-
},
|
|
31574
|
+
}, oD = class {
|
|
31575
31575
|
constructor(e) {
|
|
31576
31576
|
this.entriesMap = {}, this.entriesList = [], this.maxCount = e;
|
|
31577
31577
|
}
|
|
@@ -31637,7 +31637,7 @@ function Wa(e, t) {
|
|
|
31637
31637
|
return t.normal[s] != null;
|
|
31638
31638
|
}
|
|
31639
31639
|
}
|
|
31640
|
-
var
|
|
31640
|
+
var iD = class extends T {
|
|
31641
31641
|
constructor() {
|
|
31642
31642
|
super(...arguments), this.beanName = "rowNodeSorter";
|
|
31643
31643
|
}
|
|
@@ -31698,15 +31698,15 @@ var iP = class extends T {
|
|
|
31698
31698
|
return s.getValue(t, e, !1);
|
|
31699
31699
|
}
|
|
31700
31700
|
};
|
|
31701
|
-
function
|
|
31701
|
+
function nD(e) {
|
|
31702
31702
|
e.sortSvc?.onSortChanged("api");
|
|
31703
31703
|
}
|
|
31704
31704
|
var _p = {
|
|
31705
31705
|
moduleName: "Sort",
|
|
31706
31706
|
version: _,
|
|
31707
|
-
beans: [y3,
|
|
31707
|
+
beans: [y3, iD],
|
|
31708
31708
|
apiFunctions: {
|
|
31709
|
-
onSortChanged:
|
|
31709
|
+
onSortChanged: nD
|
|
31710
31710
|
},
|
|
31711
31711
|
userComponents: {
|
|
31712
31712
|
agSortIndicator: oc
|
|
@@ -31719,7 +31719,7 @@ var _p = {
|
|
|
31719
31719
|
// show on column header when column has no sort, only when enabled with gridOptions.unSortIcon=true
|
|
31720
31720
|
sortUnSort: "none"
|
|
31721
31721
|
}
|
|
31722
|
-
},
|
|
31722
|
+
}, rD = class extends T {
|
|
31723
31723
|
constructor() {
|
|
31724
31724
|
super(...arguments), this.beanName = "syncSvc", this.waitingForColumns = !1;
|
|
31725
31725
|
}
|
|
@@ -31753,17 +31753,17 @@ var _p = {
|
|
|
31753
31753
|
}
|
|
31754
31754
|
}
|
|
31755
31755
|
};
|
|
31756
|
-
function
|
|
31756
|
+
function aD(e) {
|
|
31757
31757
|
e.valueCache?.expire();
|
|
31758
31758
|
}
|
|
31759
|
-
function
|
|
31759
|
+
function lD(e, t) {
|
|
31760
31760
|
const { colKey: s, rowNode: o, useFormatter: i } = t, n = e.colModel.getColDefCol(s) ?? e.colModel.getCol(s);
|
|
31761
31761
|
if (Ae(n))
|
|
31762
31762
|
return null;
|
|
31763
31763
|
const r = e.valueSvc.getValueForDisplay(n, o, i);
|
|
31764
31764
|
return i ? r.valueFormatted ?? Vo(r.value) : r.value;
|
|
31765
31765
|
}
|
|
31766
|
-
var
|
|
31766
|
+
var cD = "paste", dD = class extends T {
|
|
31767
31767
|
constructor() {
|
|
31768
31768
|
super(...arguments), this.beanName = "changeDetectionSvc", this.clientSideRowModel = null;
|
|
31769
31769
|
}
|
|
@@ -31773,7 +31773,7 @@ var cP = "paste", dP = class extends T {
|
|
|
31773
31773
|
}
|
|
31774
31774
|
onCellValueChanged(e) {
|
|
31775
31775
|
const { gos: t, rowRenderer: s } = this.beans;
|
|
31776
|
-
if (e.source ===
|
|
31776
|
+
if (e.source === cD || t.get("suppressChangeDetection"))
|
|
31777
31777
|
return;
|
|
31778
31778
|
const o = e.node, i = [o], n = this.clientSideRowModel, r = n?.rootNode;
|
|
31779
31779
|
if (r && !o.isRowPinned()) {
|
|
@@ -31784,7 +31784,7 @@ var cP = "paste", dP = class extends T {
|
|
|
31784
31784
|
}
|
|
31785
31785
|
s.refreshCells({ rowNodes: i });
|
|
31786
31786
|
}
|
|
31787
|
-
},
|
|
31787
|
+
}, uD = class extends T {
|
|
31788
31788
|
constructor() {
|
|
31789
31789
|
super(...arguments), this.beanName = "expressionSvc", this.cache = {};
|
|
31790
31790
|
}
|
|
@@ -31827,7 +31827,7 @@ var cP = "paste", dP = class extends T {
|
|
|
31827
31827
|
createFunctionBody(e) {
|
|
31828
31828
|
return e.includes("return") ? e : "return " + e + ";";
|
|
31829
31829
|
}
|
|
31830
|
-
},
|
|
31830
|
+
}, hD = class extends T {
|
|
31831
31831
|
constructor() {
|
|
31832
31832
|
super(...arguments), this.beanName = "valueCache", this.cacheVersion = 0;
|
|
31833
31833
|
}
|
|
@@ -31851,28 +31851,28 @@ var cP = "paste", dP = class extends T {
|
|
|
31851
31851
|
if (!(!this.active || e.__cacheVersion !== this.cacheVersion))
|
|
31852
31852
|
return e.__cacheData[t];
|
|
31853
31853
|
}
|
|
31854
|
-
},
|
|
31854
|
+
}, gD = {
|
|
31855
31855
|
moduleName: "ValueCache",
|
|
31856
31856
|
version: _,
|
|
31857
|
-
beans: [
|
|
31857
|
+
beans: [hD],
|
|
31858
31858
|
apiFunctions: {
|
|
31859
|
-
expireValueCache:
|
|
31859
|
+
expireValueCache: aD
|
|
31860
31860
|
}
|
|
31861
|
-
},
|
|
31861
|
+
}, pD = {
|
|
31862
31862
|
moduleName: "Expression",
|
|
31863
31863
|
version: _,
|
|
31864
|
-
beans: [
|
|
31865
|
-
},
|
|
31864
|
+
beans: [uD]
|
|
31865
|
+
}, fD = {
|
|
31866
31866
|
moduleName: "ChangeDetection",
|
|
31867
31867
|
version: _,
|
|
31868
|
-
beans: [
|
|
31869
|
-
},
|
|
31868
|
+
beans: [dD]
|
|
31869
|
+
}, mD = {
|
|
31870
31870
|
moduleName: "CellApi",
|
|
31871
31871
|
version: _,
|
|
31872
31872
|
apiFunctions: {
|
|
31873
|
-
getCellValue:
|
|
31873
|
+
getCellValue: lD
|
|
31874
31874
|
}
|
|
31875
|
-
},
|
|
31875
|
+
}, CD = class extends T {
|
|
31876
31876
|
constructor() {
|
|
31877
31877
|
super(...arguments), this.beanName = "valueSvc", this.hasEditSvc = !1, this.initialised = !1, this.isSsrm = !1;
|
|
31878
31878
|
}
|
|
@@ -32121,7 +32121,7 @@ var cP = "paste", dP = class extends T {
|
|
|
32121
32121
|
}
|
|
32122
32122
|
return typeof i == "string" || i == null || (i = String(i), i === "[object Object]" && O(121)), i;
|
|
32123
32123
|
}
|
|
32124
|
-
},
|
|
32124
|
+
}, vD = {
|
|
32125
32125
|
moduleName: "CommunityCore",
|
|
32126
32126
|
version: _,
|
|
32127
32127
|
beans: [
|
|
@@ -32129,20 +32129,20 @@ var cP = "paste", dP = class extends T {
|
|
|
32129
32129
|
ix,
|
|
32130
32130
|
CE,
|
|
32131
32131
|
lS,
|
|
32132
|
-
|
|
32132
|
+
eD,
|
|
32133
32133
|
TF,
|
|
32134
32134
|
h3,
|
|
32135
32135
|
W3,
|
|
32136
32136
|
iS,
|
|
32137
|
-
|
|
32138
|
-
|
|
32139
|
-
|
|
32140
|
-
|
|
32137
|
+
NP,
|
|
32138
|
+
OP,
|
|
32139
|
+
sD,
|
|
32140
|
+
CD,
|
|
32141
32141
|
m3,
|
|
32142
32142
|
u3,
|
|
32143
32143
|
C3,
|
|
32144
32144
|
wE,
|
|
32145
|
-
|
|
32145
|
+
rD,
|
|
32146
32146
|
hE,
|
|
32147
32147
|
gE,
|
|
32148
32148
|
J3
|
|
@@ -32188,18 +32188,18 @@ var cP = "paste", dP = class extends T {
|
|
|
32188
32188
|
Y3,
|
|
32189
32189
|
IF,
|
|
32190
32190
|
Z3,
|
|
32191
|
-
|
|
32192
|
-
|
|
32191
|
+
JP,
|
|
32192
|
+
fD,
|
|
32193
32193
|
X3,
|
|
32194
|
-
|
|
32195
|
-
|
|
32196
|
-
|
|
32197
|
-
|
|
32194
|
+
LP,
|
|
32195
|
+
BP,
|
|
32196
|
+
WP,
|
|
32197
|
+
tP,
|
|
32198
32198
|
mE,
|
|
32199
32199
|
dE,
|
|
32200
|
-
|
|
32200
|
+
pD,
|
|
32201
32201
|
OF,
|
|
32202
|
-
$
|
|
32202
|
+
$P
|
|
32203
32203
|
]
|
|
32204
32204
|
}, Up = {
|
|
32205
32205
|
AdvancedFilter: 1,
|
|
@@ -32243,7 +32243,7 @@ var cP = "paste", dP = class extends T {
|
|
|
32243
32243
|
"MultiFilter",
|
|
32244
32244
|
"GroupFilter",
|
|
32245
32245
|
"CustomFilter"
|
|
32246
|
-
],
|
|
32246
|
+
], wD = {
|
|
32247
32247
|
EditCore: [
|
|
32248
32248
|
"TextEditor",
|
|
32249
32249
|
"NumberEditor",
|
|
@@ -32285,7 +32285,7 @@ var cP = "paste", dP = class extends T {
|
|
|
32285
32285
|
Sort: ["AllCommunity"],
|
|
32286
32286
|
SsrmInfiniteSharedApi: ["InfiniteRowModel", "ServerSideRowModelApi"],
|
|
32287
32287
|
SharedTreeData: ["TreeData", "ServerSideRowModel"]
|
|
32288
|
-
},
|
|
32288
|
+
}, bD = {
|
|
32289
32289
|
InfiniteRowModel: "infinite",
|
|
32290
32290
|
ClientSideRowModelApi: "clientSide",
|
|
32291
32291
|
ClientSideRowModel: "clientSide",
|
|
@@ -32293,13 +32293,13 @@ var cP = "paste", dP = class extends T {
|
|
|
32293
32293
|
ServerSideRowModel: "serverSide",
|
|
32294
32294
|
ViewportRowModel: "viewport"
|
|
32295
32295
|
};
|
|
32296
|
-
function
|
|
32296
|
+
function SD(e, t) {
|
|
32297
32297
|
const s = [];
|
|
32298
32298
|
for (const o of Array.isArray(e) ? e : [e]) {
|
|
32299
|
-
const i =
|
|
32299
|
+
const i = wD[o];
|
|
32300
32300
|
if (i)
|
|
32301
32301
|
for (const n of i) {
|
|
32302
|
-
const r =
|
|
32302
|
+
const r = bD[n];
|
|
32303
32303
|
(!r || r === t) && s.push(n);
|
|
32304
32304
|
}
|
|
32305
32305
|
else
|
|
@@ -32312,7 +32312,7 @@ var $p = () => `No AG Grid modules are registered! It is recommended to start wi
|
|
|
32312
32312
|
import { ModuleRegistry, AllCommunityModule } from 'ag-grid-community';
|
|
32313
32313
|
|
|
32314
32314
|
ModuleRegistry.registerModules([ AllCommunityModule ]);
|
|
32315
|
-
`,
|
|
32315
|
+
`, yD = (e) => {
|
|
32316
32316
|
const t = e.map(
|
|
32317
32317
|
(o) => `import { ${li(o)} } from '${Up[o] ? "ag-grid-enterprise" : "ag-grid-community"}';`
|
|
32318
32318
|
);
|
|
@@ -32327,7 +32327,7 @@ For more info see: ${Co}/modules/`;
|
|
|
32327
32327
|
function li(e, t = !1) {
|
|
32328
32328
|
return t && (e === "IntegratedCharts" || e === "Sparklines") ? `${e}Module.with(AgChartsEnterpriseModule)` : `${e}Module`;
|
|
32329
32329
|
}
|
|
32330
|
-
function
|
|
32330
|
+
function RD(e, t) {
|
|
32331
32331
|
const s = t.filter((n) => n === "IntegratedCharts" || n === "Sparklines");
|
|
32332
32332
|
let o = "";
|
|
32333
32333
|
return !globalThis?.agCharts && s.length > 0 ? o = `Unable to use ${e} as either the ag-charts-community or ag-charts-enterprise script needs to be included alongside ag-grid-enterprise.
|
|
@@ -32349,13 +32349,13 @@ var qd = ({
|
|
|
32349
32349
|
additionalText: n,
|
|
32350
32350
|
isUmd: r
|
|
32351
32351
|
}) => {
|
|
32352
|
-
const a =
|
|
32352
|
+
const a = SD(t, i), l = typeof e == "string" ? e : PD[e];
|
|
32353
32353
|
if (r)
|
|
32354
|
-
return
|
|
32354
|
+
return RD(l, a);
|
|
32355
32355
|
const c = a.filter((h) => h === "IntegratedCharts" || h === "Sparklines"), d = c.length > 0 ? `${c.map((h) => li(h)).join()} must be initialised with an AG Charts module. One of 'AgChartsCommunityModule' / 'AgChartsEnterpriseModule'.` : "";
|
|
32356
32356
|
return `${`Unable to use ${l} as ${a.length > 1 ? "one of " + a.map((h) => li(h)).join(", ") : li(a[0])} is not registered${s ? " for gridId: " + o : ""}. ${d} Check if you have registered the module:
|
|
32357
32357
|
`}
|
|
32358
|
-
${
|
|
32358
|
+
${yD(a)}` + (n ? `
|
|
32359
32359
|
|
|
32360
32360
|
${n}` : "");
|
|
32361
32361
|
}, Yd = (e) => `${e} must be initialised with an AG Charts module. One of 'AgChartsCommunityModule' / 'AgChartsEnterpriseModule'.
|
|
@@ -32365,7 +32365,7 @@ import { ModuleRegistry } from 'ag-grid-community';
|
|
|
32365
32365
|
import { ${e} } from 'ag-grid-enterprise';
|
|
32366
32366
|
|
|
32367
32367
|
ModuleRegistry.registerModules([${e}.with(AgChartsEnterpriseModule)]);
|
|
32368
|
-
`,
|
|
32368
|
+
`, xD = (e) => `AG Grid: Unable to use the Clipboard API (navigator.clipboard.${e}()). The reason why it could not be used has been logged in the previous line. For this reason the grid has defaulted to using a workaround which doesn't perform as well. Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.`, FD = {
|
|
32369
32369
|
1: () => "`rowData` must be an array",
|
|
32370
32370
|
2: ({ nodeId: e }) => `Duplicate node id '${e}' detected from getRowId callback, this could cause issues in your grid.`,
|
|
32371
32371
|
3: () => "Calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.",
|
|
@@ -32425,7 +32425,7 @@ ModuleRegistry.registerModules([${e}.with(AgChartsEnterpriseModule)]);
|
|
|
32425
32425
|
38: ({ iconName: e }) => `provided icon '${e}' needs to be a string or a function`,
|
|
32426
32426
|
39: () => "Applying column order broke a group where columns should be married together. Applying new order has been discarded.",
|
|
32427
32427
|
40: ({ e, method: t }) => `${e}
|
|
32428
|
-
${
|
|
32428
|
+
${xD(t)}`,
|
|
32429
32429
|
41: () => "Browser did not allow document.execCommand('copy'). Ensure 'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise the browser will prevent it for security reasons.",
|
|
32430
32430
|
42: () => "Browser does not support document.execCommand('copy') for clipboard operations",
|
|
32431
32431
|
43: ({ iconName: e }) => `As of v33, icon '${e}' is deprecated. Use the icon CSS name instead.`,
|
|
@@ -32790,21 +32790,21 @@ To see what part of your code that caused the refresh check this stacktrace.`,
|
|
|
32790
32790
|
291: () => "License Key being set multiple times with different values. This can result in an incorrect license key being used,",
|
|
32791
32791
|
292: ({ colId: e }) => `The Multi Filter for column '${e}' has buttons configured against the child filters. When 'enableFilterHandlers=true', buttons must instead be provided against the parent Multi Filter params. The child filter buttons will be ignored.`
|
|
32792
32792
|
};
|
|
32793
|
-
function
|
|
32794
|
-
const s =
|
|
32793
|
+
function ED(e, t) {
|
|
32794
|
+
const s = FD[e];
|
|
32795
32795
|
if (!s)
|
|
32796
32796
|
return [`Missing error text for error id ${e}!`];
|
|
32797
32797
|
const o = s(t), n = `
|
|
32798
32798
|
See ${Kh(e, t)}`;
|
|
32799
32799
|
return Array.isArray(o) ? o.concat(n) : [o, n];
|
|
32800
32800
|
}
|
|
32801
|
-
var
|
|
32801
|
+
var PD = {
|
|
32802
32802
|
1: "Charting Aggregation",
|
|
32803
32803
|
2: "pivotResultFields",
|
|
32804
32804
|
3: "setTooltip"
|
|
32805
|
-
}, Zd = /* @__PURE__ */ new WeakMap(), Qd = /* @__PURE__ */ new WeakMap(),
|
|
32805
|
+
}, Zd = /* @__PURE__ */ new WeakMap(), Qd = /* @__PURE__ */ new WeakMap(), DD = 1, TD = class {
|
|
32806
32806
|
create(e, t, s, o, i, n) {
|
|
32807
|
-
const r = kl.applyGlobalGridOptions(t), a = r.gridId ?? String(
|
|
32807
|
+
const r = kl.applyGlobalGridOptions(t), a = r.gridId ?? String(DD++), l = this.getRegisteredModules(i, a, r.rowModelType), c = this.createBeansList(r.rowModelType, l, a), d = this.createProvidedBeans(e, r, i);
|
|
32808
32808
|
if (!c)
|
|
32809
32809
|
return;
|
|
32810
32810
|
const h = {
|
|
@@ -32823,7 +32823,7 @@ var DP = {
|
|
|
32823
32823
|
return Zd.set(e, p), Qd.set(p, e), p;
|
|
32824
32824
|
}
|
|
32825
32825
|
getRegisteredModules(e, t, s) {
|
|
32826
|
-
return mi(
|
|
32826
|
+
return mi(vD, void 0, !0), e?.modules?.forEach((o) => mi(o, t)), l0(t, Xd(s));
|
|
32827
32827
|
}
|
|
32828
32828
|
registerModuleFeatures(e, t) {
|
|
32829
32829
|
const s = e.getBean("registry"), o = e.getBean("apiFunctionSvc");
|
|
@@ -32913,11 +32913,11 @@ function ir(e) {
|
|
|
32913
32913
|
const t = e.rowModel;
|
|
32914
32914
|
return t.getType() === "infinite" ? t : void 0;
|
|
32915
32915
|
}
|
|
32916
|
-
function
|
|
32916
|
+
function MD(e) {
|
|
32917
32917
|
const t = e.rowModel;
|
|
32918
32918
|
return t.getType() === "serverSide" ? t : void 0;
|
|
32919
32919
|
}
|
|
32920
|
-
var
|
|
32920
|
+
var ID = class extends T {
|
|
32921
32921
|
constructor() {
|
|
32922
32922
|
super(...arguments), this.beanName = "localeSvc";
|
|
32923
32923
|
}
|
|
@@ -32926,7 +32926,7 @@ var IP = class extends T {
|
|
|
32926
32926
|
return t ? Zb(t) : Qb(e.get("localeText"));
|
|
32927
32927
|
}
|
|
32928
32928
|
};
|
|
32929
|
-
function
|
|
32929
|
+
function kD(e, t = !1) {
|
|
32930
32930
|
const s = [], o = [], i = [], n = [], r = [], a = [], l = [], c = [], d = [];
|
|
32931
32931
|
let u = 0;
|
|
32932
32932
|
for (let h = 0; h < e.length; h++) {
|
|
@@ -32942,9 +32942,9 @@ function kP(e, t = !1) {
|
|
|
32942
32942
|
pinned: S,
|
|
32943
32943
|
hide: R,
|
|
32944
32944
|
width: x,
|
|
32945
|
-
flex:
|
|
32945
|
+
flex: P
|
|
32946
32946
|
} = e[h];
|
|
32947
|
-
d.push(g), p && (s[f ?? u++] = { colId: g, sort: p }), m && (o[v ?? 0] = g), typeof w == "string" && i.push({ colId: g, aggFunc: w }), b && (n[y ?? 0] = g), S && (S === "right" ? a : r).push(g), R && l.push(g), (
|
|
32947
|
+
d.push(g), p && (s[f ?? u++] = { colId: g, sort: p }), m && (o[v ?? 0] = g), typeof w == "string" && i.push({ colId: g, aggFunc: w }), b && (n[y ?? 0] = g), S && (S === "right" ? a : r).push(g), R && l.push(g), (P != null || x) && c.push({ colId: g, flex: P ?? void 0, width: x });
|
|
32948
32948
|
}
|
|
32949
32949
|
return {
|
|
32950
32950
|
sort: s.length ? { sortModel: Kr(s) } : void 0,
|
|
@@ -32960,13 +32960,13 @@ function kP(e, t = !1) {
|
|
|
32960
32960
|
function Kr(e) {
|
|
32961
32961
|
return e.filter((t) => t != null);
|
|
32962
32962
|
}
|
|
32963
|
-
function
|
|
32963
|
+
function AD(e) {
|
|
32964
32964
|
const t = [];
|
|
32965
32965
|
for (const { groupId: s, open: o } of e)
|
|
32966
32966
|
o && t.push(s);
|
|
32967
32967
|
return t.length ? { openColumnGroupIds: t } : void 0;
|
|
32968
32968
|
}
|
|
32969
|
-
var
|
|
32969
|
+
var LD = class {
|
|
32970
32970
|
wrap(e, t, s, o) {
|
|
32971
32971
|
const i = this.createWrapper(e, o);
|
|
32972
32972
|
for (const n of t ?? [])
|
|
@@ -32987,13 +32987,13 @@ var LP = class {
|
|
|
32987
32987
|
function qr(e) {
|
|
32988
32988
|
return e.get("tooltipShowMode") === "whenTruncated";
|
|
32989
32989
|
}
|
|
32990
|
-
function
|
|
32990
|
+
function OD(e, t) {
|
|
32991
32991
|
if (typeof e != "number")
|
|
32992
32992
|
return "";
|
|
32993
32993
|
const s = t(), o = s("thousandSeparator", ","), i = s("decimalSeparator", ".");
|
|
32994
32994
|
return e.toString().replace(".", i).replace(/(\d)(?=(\d{3})+(?!\d))/g, `$1${o}`);
|
|
32995
32995
|
}
|
|
32996
|
-
var
|
|
32996
|
+
var ND = class extends T {
|
|
32997
32997
|
getFileName(e) {
|
|
32998
32998
|
const t = this.getDefaultFileExtension();
|
|
32999
32999
|
return e?.length || (e = this.getDefaultFileName()), e.includes(".") ? e : `${e}.${t}`;
|
|
@@ -33005,7 +33005,7 @@ var NP = class extends T {
|
|
|
33005
33005
|
getDefaultFileName() {
|
|
33006
33006
|
return `export.${this.getDefaultFileExtension()}`;
|
|
33007
33007
|
}
|
|
33008
|
-
},
|
|
33008
|
+
}, HD = class {
|
|
33009
33009
|
constructor(e) {
|
|
33010
33010
|
const {
|
|
33011
33011
|
colModel: t,
|
|
@@ -33077,7 +33077,7 @@ var NP = class extends T {
|
|
|
33077
33077
|
return e ? e(ne(this.gos, { column: t })) : this.colNames.getDisplayNameForColumn(t, "csv", !0);
|
|
33078
33078
|
}
|
|
33079
33079
|
};
|
|
33080
|
-
function
|
|
33080
|
+
function GD(e, t) {
|
|
33081
33081
|
const s = document.defaultView || window;
|
|
33082
33082
|
if (!s) {
|
|
33083
33083
|
O(52);
|
|
@@ -33094,7 +33094,7 @@ function GP(e, t) {
|
|
|
33094
33094
|
s.URL.revokeObjectURL(i);
|
|
33095
33095
|
}, 0);
|
|
33096
33096
|
}
|
|
33097
|
-
var
|
|
33097
|
+
var VD = {
|
|
33098
33098
|
enableBrowserTooltips: !0,
|
|
33099
33099
|
tooltipTrigger: !0,
|
|
33100
33100
|
tooltipMouseTrack: !0,
|
|
@@ -33178,7 +33178,7 @@ var VP = {
|
|
|
33178
33178
|
enableCellSpan: !0,
|
|
33179
33179
|
enableFilterHandlers: !0,
|
|
33180
33180
|
filterHandlers: !0
|
|
33181
|
-
}, dt = "clientSide", st = "serverSide", no = "infinite",
|
|
33181
|
+
}, dt = "clientSide", st = "serverSide", no = "infinite", BD = {
|
|
33182
33182
|
onGroupExpandedOrCollapsed: [dt],
|
|
33183
33183
|
refreshClientSideRowModel: [dt],
|
|
33184
33184
|
isRowDataEmpty: [dt],
|
|
@@ -33208,7 +33208,7 @@ var VP = {
|
|
|
33208
33208
|
onRowHeightChanged: [dt, st],
|
|
33209
33209
|
setRowCount: [no, st],
|
|
33210
33210
|
getCacheBlockState: [no, st]
|
|
33211
|
-
},
|
|
33211
|
+
}, zD = {
|
|
33212
33212
|
showLoadingOverlay: {
|
|
33213
33213
|
version: "v32",
|
|
33214
33214
|
message: '`showLoadingOverlay` is deprecated. Use the grid option "loading"=true instead or setGridOption("loading", true).'
|
|
@@ -33243,8 +33243,8 @@ var VP = {
|
|
|
33243
33243
|
new: 'deselectAll("currentPage")'
|
|
33244
33244
|
}
|
|
33245
33245
|
};
|
|
33246
|
-
function
|
|
33247
|
-
const o =
|
|
33246
|
+
function WD(e, t, s) {
|
|
33247
|
+
const o = zD[e];
|
|
33248
33248
|
if (o) {
|
|
33249
33249
|
const { version: n, new: r, old: a, message: l } = o, c = a ?? e;
|
|
33250
33250
|
return (...d) => {
|
|
@@ -33252,7 +33252,7 @@ function WP(e, t, s) {
|
|
|
33252
33252
|
return ii(`Since ${n} api.${c} is deprecated. ${u}${l ?? ""}`), t.apply(t, d);
|
|
33253
33253
|
};
|
|
33254
33254
|
}
|
|
33255
|
-
const i =
|
|
33255
|
+
const i = BD[e];
|
|
33256
33256
|
return i ? (...n) => {
|
|
33257
33257
|
const r = s.rowModel.getType();
|
|
33258
33258
|
if (!i.includes(r)) {
|
|
@@ -33264,7 +33264,7 @@ function WP(e, t, s) {
|
|
|
33264
33264
|
return t.apply(t, n);
|
|
33265
33265
|
} : t;
|
|
33266
33266
|
}
|
|
33267
|
-
var
|
|
33267
|
+
var _D = {
|
|
33268
33268
|
detailCellRendererCtrl: "SharedMasterDetail",
|
|
33269
33269
|
dndSourceComp: "DragAndDrop",
|
|
33270
33270
|
fillHandle: "CellSelection",
|
|
@@ -33286,7 +33286,7 @@ var _P = {
|
|
|
33286
33286
|
agNumberColumnFilterHandler: "NumberFilter",
|
|
33287
33287
|
agDateColumnFilterHandler: "DateFilter",
|
|
33288
33288
|
agTextColumnFilterHandler: "TextFilter"
|
|
33289
|
-
},
|
|
33289
|
+
}, UD = {
|
|
33290
33290
|
expanded: 1,
|
|
33291
33291
|
contracted: 1,
|
|
33292
33292
|
"tree-closed": 1,
|
|
@@ -33354,7 +33354,7 @@ var _P = {
|
|
|
33354
33354
|
"chevron-left": 1,
|
|
33355
33355
|
"chevron-right": 1,
|
|
33356
33356
|
edit: 1
|
|
33357
|
-
}, $
|
|
33357
|
+
}, $D = {
|
|
33358
33358
|
chart: "MenuCore",
|
|
33359
33359
|
cancel: "EnterpriseCore",
|
|
33360
33360
|
first: "Pagination",
|
|
@@ -33461,7 +33461,7 @@ var _P = {
|
|
|
33461
33461
|
rowUnpin: "PinnedRow",
|
|
33462
33462
|
rowPinBottom: "PinnedRow",
|
|
33463
33463
|
rowPinTop: "PinnedRow"
|
|
33464
|
-
},
|
|
33464
|
+
}, jD = /* @__PURE__ */ new Set([
|
|
33465
33465
|
"colorPicker",
|
|
33466
33466
|
"smallUp",
|
|
33467
33467
|
"checkboxChecked",
|
|
@@ -33472,21 +33472,21 @@ var _P = {
|
|
|
33472
33472
|
"smallDown",
|
|
33473
33473
|
"smallLeft",
|
|
33474
33474
|
"smallRight"
|
|
33475
|
-
]),
|
|
33475
|
+
]), KD = class extends T {
|
|
33476
33476
|
constructor() {
|
|
33477
33477
|
super(...arguments), this.beanName = "validation";
|
|
33478
33478
|
}
|
|
33479
33479
|
wireBeans(e) {
|
|
33480
|
-
this.gridOptions = e.gridOptions, p0(
|
|
33480
|
+
this.gridOptions = e.gridOptions, p0(ED);
|
|
33481
33481
|
}
|
|
33482
33482
|
warnOnInitialPropertyUpdate(e, t) {
|
|
33483
|
-
e === "api" &&
|
|
33483
|
+
e === "api" && VD[t] && O(22, { key: t });
|
|
33484
33484
|
}
|
|
33485
33485
|
processGridOptions(e) {
|
|
33486
33486
|
this.processOptions(e, V3());
|
|
33487
33487
|
}
|
|
33488
33488
|
validateApiFunction(e, t) {
|
|
33489
|
-
return
|
|
33489
|
+
return WD(e, t, this.beans);
|
|
33490
33490
|
}
|
|
33491
33491
|
missingUserComponent(e, t, s, o) {
|
|
33492
33492
|
const i = xo[t];
|
|
@@ -33501,7 +33501,7 @@ var _P = {
|
|
|
33501
33501
|
});
|
|
33502
33502
|
}
|
|
33503
33503
|
missingDynamicBean(e) {
|
|
33504
|
-
const t =
|
|
33504
|
+
const t = _D[e];
|
|
33505
33505
|
return t ? Wt(200, {
|
|
33506
33506
|
...this.gos.getModuleErrorParams(),
|
|
33507
33507
|
moduleName: t,
|
|
@@ -33509,12 +33509,12 @@ var _P = {
|
|
|
33509
33509
|
}) : void 0;
|
|
33510
33510
|
}
|
|
33511
33511
|
checkRowEvents(e) {
|
|
33512
|
-
|
|
33512
|
+
YD.has(e) && O(10, { eventType: e });
|
|
33513
33513
|
}
|
|
33514
33514
|
validateIcon(e) {
|
|
33515
|
-
if (
|
|
33515
|
+
if (jD.has(e) && O(43, { iconName: e }), UD[e])
|
|
33516
33516
|
return;
|
|
33517
|
-
const t = $
|
|
33517
|
+
const t = $D[e];
|
|
33518
33518
|
if (t) {
|
|
33519
33519
|
Re(200, {
|
|
33520
33520
|
reasonOrId: `icon '${e}'`,
|
|
@@ -33533,7 +33533,7 @@ var _P = {
|
|
|
33533
33533
|
}
|
|
33534
33534
|
/** Should only be called via the GridOptionsService */
|
|
33535
33535
|
validateColDef(e) {
|
|
33536
|
-
this.processOptions(e,
|
|
33536
|
+
this.processOptions(e, D3());
|
|
33537
33537
|
}
|
|
33538
33538
|
processOptions(e, t) {
|
|
33539
33539
|
const { validations: s, deprecations: o, allProperties: i, propertyExceptions: n, objectName: r, docsUrl: a } = t;
|
|
@@ -33605,7 +33605,7 @@ var _P = {
|
|
|
33605
33605
|
`);
|
|
33606
33606
|
}
|
|
33607
33607
|
checkProperties(e, t, s, o, i) {
|
|
33608
|
-
const n = ["__ob__", "__v_skip", "__metadata__"], r =
|
|
33608
|
+
const n = ["__ob__", "__v_skip", "__metadata__"], r = qD(
|
|
33609
33609
|
Object.getOwnPropertyNames(e),
|
|
33610
33610
|
[...n, ...t, ...s],
|
|
33611
33611
|
s
|
|
@@ -33622,7 +33622,7 @@ If you are trying to annotate ${o} with application data, use the '${o}.context'
|
|
|
33622
33622
|
}
|
|
33623
33623
|
}
|
|
33624
33624
|
};
|
|
33625
|
-
function
|
|
33625
|
+
function qD(e, t, s) {
|
|
33626
33626
|
const o = {}, i = e.filter(
|
|
33627
33627
|
(n) => !t.some((r) => r === n)
|
|
33628
33628
|
);
|
|
@@ -33631,20 +33631,20 @@ function qP(e, t, s) {
|
|
|
33631
33631
|
o[n] = Ea({ inputValue: n, allSuggestions: s }).values;
|
|
33632
33632
|
return o;
|
|
33633
33633
|
}
|
|
33634
|
-
var
|
|
33634
|
+
var YD = /* @__PURE__ */ new Set([
|
|
33635
33635
|
"firstChildChanged",
|
|
33636
33636
|
"lastChildChanged",
|
|
33637
33637
|
"childIndexChanged"
|
|
33638
|
-
]),
|
|
33638
|
+
]), ZD = {
|
|
33639
33639
|
moduleName: "Validation",
|
|
33640
33640
|
version: _,
|
|
33641
|
-
beans: [
|
|
33641
|
+
beans: [KD]
|
|
33642
33642
|
};
|
|
33643
33643
|
function Kp(e) {
|
|
33644
33644
|
const t = e.sibling;
|
|
33645
33645
|
t && (t.childrenAfterFilter = e.childrenAfterFilter);
|
|
33646
33646
|
}
|
|
33647
|
-
var
|
|
33647
|
+
var QD = class extends T {
|
|
33648
33648
|
constructor() {
|
|
33649
33649
|
super(...arguments), this.beanName = "filterStage", this.step = "filter", this.refreshProps = ["excludeChildrenWhenTreeDataFiltering"];
|
|
33650
33650
|
}
|
|
@@ -33684,7 +33684,7 @@ var QP = class extends T {
|
|
|
33684
33684
|
doingTreeDataFiltering() {
|
|
33685
33685
|
return this.gos.get("treeData") && !this.gos.get("excludeChildrenWhenTreeDataFiltering");
|
|
33686
33686
|
}
|
|
33687
|
-
},
|
|
33687
|
+
}, XD = class extends ec {
|
|
33688
33688
|
constructor() {
|
|
33689
33689
|
super(...arguments), this.iconCreated = !1;
|
|
33690
33690
|
}
|
|
@@ -33907,7 +33907,7 @@ var QP = class extends T {
|
|
|
33907
33907
|
super.destroy(), this.destroySyncListener = null, this.destroyFilterChangedListener = null;
|
|
33908
33908
|
}
|
|
33909
33909
|
};
|
|
33910
|
-
function
|
|
33910
|
+
function JD(e, t) {
|
|
33911
33911
|
const s = e.colModel.getCol(t);
|
|
33912
33912
|
if (!s) {
|
|
33913
33913
|
Re(12, { colKey: t });
|
|
@@ -33926,7 +33926,7 @@ var t5 = {
|
|
|
33926
33926
|
version: _,
|
|
33927
33927
|
beans: [S2],
|
|
33928
33928
|
apiFunctions: {
|
|
33929
|
-
showColumnMenu:
|
|
33929
|
+
showColumnMenu: JD,
|
|
33930
33930
|
hidePopupMenu: e5
|
|
33931
33931
|
}
|
|
33932
33932
|
}, s5 = class extends Zy {
|
|
@@ -35863,7 +35863,7 @@ function Yp(e, t) {
|
|
|
35863
35863
|
o && ht(o, void 0, !0) || null
|
|
35864
35864
|
].slice(0, yi(i, t));
|
|
35865
35865
|
}
|
|
35866
|
-
var Jd = 1e3, eu = 1 / 0,
|
|
35866
|
+
var Jd = 1e3, eu = 1 / 0, P5 = class extends lc {
|
|
35867
35867
|
constructor() {
|
|
35868
35868
|
super("dateFilter", Yp, cc), this.eConditionPanelsFrom = [], this.eConditionPanelsTo = [], this.dateConditionFromComps = [], this.dateConditionToComps = [], this.minValidYear = Jd, this.maxValidYear = eu, this.minValidDate = null, this.maxValidDate = null, this.filterType = "date";
|
|
35869
35869
|
}
|
|
@@ -36136,7 +36136,7 @@ var Jd = 1e3, eu = 1 / 0, D5 = class extends lc {
|
|
|
36136
36136
|
lessThan: "LessThan",
|
|
36137
36137
|
lessThanOrEqual: "LessThanOrEqual",
|
|
36138
36138
|
inRange: "InRange"
|
|
36139
|
-
},
|
|
36139
|
+
}, D5 = {
|
|
36140
36140
|
contains: "Contains",
|
|
36141
36141
|
notContains: "NotContains",
|
|
36142
36142
|
equals: "TextEquals",
|
|
@@ -36781,7 +36781,7 @@ var H5 = {
|
|
|
36781
36781
|
}
|
|
36782
36782
|
}, af = class extends dc {
|
|
36783
36783
|
constructor() {
|
|
36784
|
-
super(...arguments), this.filterTypeKeys =
|
|
36784
|
+
super(...arguments), this.filterTypeKeys = D5;
|
|
36785
36785
|
}
|
|
36786
36786
|
conditionToString(e, t, s, o, i) {
|
|
36787
36787
|
const { filter: n, filterTo: r, type: a } = e;
|
|
@@ -37000,7 +37000,7 @@ var Y5 = class extends T {
|
|
|
37000
37000
|
moduleName: "ClientSideRowModelFilter",
|
|
37001
37001
|
version: _,
|
|
37002
37002
|
rowModels: ["clientSide"],
|
|
37003
|
-
beans: [
|
|
37003
|
+
beans: [QD]
|
|
37004
37004
|
}, gc = {
|
|
37005
37005
|
moduleName: "FilterCore",
|
|
37006
37006
|
version: _,
|
|
@@ -37019,7 +37019,7 @@ var Y5 = class extends T {
|
|
|
37019
37019
|
moduleName: "ColumnFilter",
|
|
37020
37020
|
version: _,
|
|
37021
37021
|
beans: [m5, b5],
|
|
37022
|
-
dynamicBeans: { headerFilterCellCtrl:
|
|
37022
|
+
dynamicBeans: { headerFilterCellCtrl: XD },
|
|
37023
37023
|
icons: {
|
|
37024
37024
|
// open filter button - header, floating filter, menu
|
|
37025
37025
|
filter: "filter",
|
|
@@ -37083,7 +37083,7 @@ var Y5 = class extends T {
|
|
|
37083
37083
|
dependsOn: [rr],
|
|
37084
37084
|
userComponents: {
|
|
37085
37085
|
agDateColumnFilter: {
|
|
37086
|
-
classImp:
|
|
37086
|
+
classImp: P5,
|
|
37087
37087
|
params: {
|
|
37088
37088
|
useForm: !0
|
|
37089
37089
|
}
|
|
@@ -37606,7 +37606,7 @@ var Y5 = class extends T {
|
|
|
37606
37606
|
return h4;
|
|
37607
37607
|
}
|
|
37608
37608
|
getAgComponents() {
|
|
37609
|
-
return [
|
|
37609
|
+
return [Pg];
|
|
37610
37610
|
}
|
|
37611
37611
|
init(e, t) {
|
|
37612
37612
|
this.eEditor = e, this.params = t;
|
|
@@ -37669,7 +37669,7 @@ var Y5 = class extends T {
|
|
|
37669
37669
|
return f4;
|
|
37670
37670
|
}
|
|
37671
37671
|
getAgComponents() {
|
|
37672
|
-
return [
|
|
37672
|
+
return [Pg];
|
|
37673
37673
|
}
|
|
37674
37674
|
init(e, t) {
|
|
37675
37675
|
this.eEditor = e, this.params = t;
|
|
@@ -37949,10 +37949,10 @@ var Y5 = class extends T {
|
|
|
37949
37949
|
super(new E4(() => this.getLocaleTextFunc()));
|
|
37950
37950
|
}
|
|
37951
37951
|
};
|
|
37952
|
-
function
|
|
37952
|
+
function P4(e) {
|
|
37953
37953
|
return e.ctrlsSvc.getScrollFeature().getVScrollPosition();
|
|
37954
37954
|
}
|
|
37955
|
-
function
|
|
37955
|
+
function D4(e) {
|
|
37956
37956
|
return e.ctrlsSvc.getScrollFeature().getHScrollPosition();
|
|
37957
37957
|
}
|
|
37958
37958
|
function df(e, t, s = "auto") {
|
|
@@ -38242,7 +38242,7 @@ var $4 = class extends T {
|
|
|
38242
38242
|
return this.strategy?.shouldCancel(e, t, s) ?? null;
|
|
38243
38243
|
}
|
|
38244
38244
|
validateEdit() {
|
|
38245
|
-
return
|
|
38245
|
+
return mP(this.beans);
|
|
38246
38246
|
}
|
|
38247
38247
|
isEditing(e, t) {
|
|
38248
38248
|
return this.model.hasEdits(e, t ?? ro);
|
|
@@ -38436,7 +38436,7 @@ var $4 = class extends T {
|
|
|
38436
38436
|
return n === Ft || !o ? o?.sourceValue ?? this.valueSvc.getValue(t, e, !1, "api") : n;
|
|
38437
38437
|
}
|
|
38438
38438
|
addStopEditingWhenGridLosesFocus(e) {
|
|
38439
|
-
|
|
38439
|
+
dP(this, this.beans, e);
|
|
38440
38440
|
}
|
|
38441
38441
|
createPopupEditorWrapper(e) {
|
|
38442
38442
|
return new z4(e);
|
|
@@ -38471,7 +38471,7 @@ var $4 = class extends T {
|
|
|
38471
38471
|
}
|
|
38472
38472
|
}
|
|
38473
38473
|
handleColDefChanged(e) {
|
|
38474
|
-
|
|
38474
|
+
gP(this.beans, e);
|
|
38475
38475
|
}
|
|
38476
38476
|
destroy() {
|
|
38477
38477
|
this.model.clear(), this.destroyStrategy(), super.destroy();
|
|
@@ -38692,7 +38692,7 @@ var Cf = class extends T {
|
|
|
38692
38692
|
}
|
|
38693
38693
|
setupEditors(e) {
|
|
38694
38694
|
const { event: t, ignoreEventKey: s = !1, startedEdit: o, position: i, cells: n = this.model.getEditPositions() } = e, r = t instanceof KeyboardEvent && !s && t.key || void 0;
|
|
38695
|
-
|
|
38695
|
+
hP(this.beans, n, i, r, t, o);
|
|
38696
38696
|
}
|
|
38697
38697
|
dispatchCellEvent(e, t, s, o) {
|
|
38698
38698
|
const i = Ie(this.beans, e);
|
|
@@ -38936,11 +38936,11 @@ var Cf = class extends T {
|
|
|
38936
38936
|
}, Fs = {
|
|
38937
38937
|
moduleName: "EditCore",
|
|
38938
38938
|
version: _,
|
|
38939
|
-
beans: [
|
|
38939
|
+
beans: [cP, tT],
|
|
38940
38940
|
apiFunctions: {
|
|
38941
38941
|
getEditingCells: A4,
|
|
38942
38942
|
getEditRowValues: k4,
|
|
38943
|
-
getCellEditorInstances:
|
|
38943
|
+
getCellEditorInstances: uP,
|
|
38944
38944
|
startEditingCell: N4,
|
|
38945
38945
|
stopEditing: L4,
|
|
38946
38946
|
isEditing: O4,
|
|
@@ -39181,8 +39181,8 @@ var RT = class extends $2 {
|
|
|
39181
39181
|
postConstruct() {
|
|
39182
39182
|
super.postConstruct();
|
|
39183
39183
|
const { gos: e } = this;
|
|
39184
|
-
this.mode = En(e), this.groupSelectsDescendants = Ci(e), this.groupSelectsFiltered =
|
|
39185
|
-
const t = Ci(e), s = En(e), o =
|
|
39184
|
+
this.mode = En(e), this.groupSelectsDescendants = Ci(e), this.groupSelectsFiltered = Dn(e) === "filteredDescendants", this.masterSelectsDetail = qc(e) === "detail", this.addManagedPropertyListeners(["groupSelectsChildren", "groupSelectsFiltered", "rowSelection"], () => {
|
|
39185
|
+
const t = Ci(e), s = En(e), o = Dn(e) === "filteredDescendants";
|
|
39186
39186
|
this.masterSelectsDetail = qc(e) === "detail", (t !== this.groupSelectsDescendants || o !== this.groupSelectsFiltered || s !== this.mode) && (this.deselectAllRowNodes({ source: "api" }), this.groupSelectsDescendants = t, this.groupSelectsFiltered = o, this.mode = s);
|
|
39187
39187
|
}), this.addManagedEventListeners({ rowSelected: this.onRowSelected.bind(this) });
|
|
39188
39188
|
}
|
|
@@ -39455,7 +39455,7 @@ var RT = class extends $2 {
|
|
|
39455
39455
|
O(132);
|
|
39456
39456
|
return;
|
|
39457
39457
|
}
|
|
39458
|
-
if (F0(t) && !
|
|
39458
|
+
if (F0(t) && !Pn(t)) {
|
|
39459
39459
|
O(130);
|
|
39460
39460
|
return;
|
|
39461
39461
|
}
|
|
@@ -39548,7 +39548,7 @@ var RT = class extends $2 {
|
|
|
39548
39548
|
}
|
|
39549
39549
|
setDetailSelectionState(e, t, s) {
|
|
39550
39550
|
if (this.masterSelectsDetail) {
|
|
39551
|
-
if (!
|
|
39551
|
+
if (!Pn(t)) {
|
|
39552
39552
|
O(269);
|
|
39553
39553
|
return;
|
|
39554
39554
|
}
|
|
@@ -39628,14 +39628,14 @@ var ET = {
|
|
|
39628
39628
|
getSelectedNodes: ST,
|
|
39629
39629
|
getSelectedRows: yT
|
|
39630
39630
|
}
|
|
39631
|
-
},
|
|
39631
|
+
}, PT = {
|
|
39632
39632
|
moduleName: "RowSelection",
|
|
39633
39633
|
version: _,
|
|
39634
39634
|
rowModels: ["clientSide", "infinite", "viewport"],
|
|
39635
39635
|
beans: [RT],
|
|
39636
39636
|
dependsOn: [ET]
|
|
39637
39637
|
};
|
|
39638
|
-
function
|
|
39638
|
+
function DT(e) {
|
|
39639
39639
|
e.expansionSvc?.expandAll(!0);
|
|
39640
39640
|
}
|
|
39641
39641
|
function TT(e) {
|
|
@@ -39652,7 +39652,7 @@ function Sf(e) {
|
|
|
39652
39652
|
e.rowModel?.resetRowHeights();
|
|
39653
39653
|
}
|
|
39654
39654
|
function MT(e, t, s) {
|
|
39655
|
-
const o =
|
|
39655
|
+
const o = MD(e);
|
|
39656
39656
|
if (o) {
|
|
39657
39657
|
if (e.rowGroupColsSvc?.columns.length === 0) {
|
|
39658
39658
|
if (t < 0) {
|
|
@@ -39676,7 +39676,7 @@ function kT(e) {
|
|
|
39676
39676
|
var AT = {
|
|
39677
39677
|
moduleName: "CsrmSsrmSharedApi",
|
|
39678
39678
|
version: _,
|
|
39679
|
-
apiFunctions: { expandAll:
|
|
39679
|
+
apiFunctions: { expandAll: DT, collapseAll: TT }
|
|
39680
39680
|
}, LT = {
|
|
39681
39681
|
moduleName: "RowModelSharedApi",
|
|
39682
39682
|
version: _,
|
|
@@ -39892,8 +39892,8 @@ var AT = {
|
|
|
39892
39892
|
continue;
|
|
39893
39893
|
}
|
|
39894
39894
|
l.add(x), x.treeParent = v;
|
|
39895
|
-
const
|
|
39896
|
-
|
|
39895
|
+
const P = d(R);
|
|
39896
|
+
P && f(x, P, b + 1);
|
|
39897
39897
|
}
|
|
39898
39898
|
};
|
|
39899
39899
|
f(s, t, 0);
|
|
@@ -40930,7 +40930,7 @@ var n6 = {
|
|
|
40930
40930
|
version: _,
|
|
40931
40931
|
beans: [a6]
|
|
40932
40932
|
}, nu = `\r
|
|
40933
|
-
`, c6 = class extends
|
|
40933
|
+
`, c6 = class extends HD {
|
|
40934
40934
|
constructor(e) {
|
|
40935
40935
|
super(e), this.config = e, this.isFirstLine = !0, this.result = "";
|
|
40936
40936
|
const { suppressQuotes: t, columnSeparator: s } = e;
|
|
@@ -40987,7 +40987,7 @@ var n6 = {
|
|
|
40987
40987
|
beginNewLine() {
|
|
40988
40988
|
this.isFirstLine || (this.result += nu), this.isFirstLine = !1;
|
|
40989
40989
|
}
|
|
40990
|
-
}, d6 = class extends
|
|
40990
|
+
}, d6 = class extends ND {
|
|
40991
40991
|
constructor() {
|
|
40992
40992
|
super(...arguments), this.beanName = "csvCreator";
|
|
40993
40993
|
}
|
|
@@ -41004,7 +41004,7 @@ var n6 = {
|
|
|
41004
41004
|
return;
|
|
41005
41005
|
}
|
|
41006
41006
|
const t = this.getMergedParams(e), s = this.getData(t), o = new Blob(["\uFEFF", s], { type: "text/plain" }), i = typeof t.fileName == "function" ? t.fileName(ne(this.gos, {})) : t.fileName;
|
|
41007
|
-
|
|
41007
|
+
GD(this.getFileName(i), o);
|
|
41008
41008
|
}
|
|
41009
41009
|
exportDataAsCsv(e) {
|
|
41010
41010
|
this.export(e);
|
|
@@ -41547,7 +41547,7 @@ var S6 = class extends T {
|
|
|
41547
41547
|
{ tag: "span", ref: "eDelta", cls: "ag-value-change-delta" },
|
|
41548
41548
|
{ tag: "span", ref: "eValue", cls: "ag-value-change-value" }
|
|
41549
41549
|
]
|
|
41550
|
-
},
|
|
41550
|
+
}, P6 = class extends He {
|
|
41551
41551
|
constructor() {
|
|
41552
41552
|
super(E6), this.eValue = se, this.eDelta = se, this.refreshCount = 0;
|
|
41553
41553
|
}
|
|
@@ -41583,7 +41583,7 @@ var S6 = class extends T {
|
|
|
41583
41583
|
}
|
|
41584
41584
|
return n && i.classList.add("ag-value-change-value-highlight"), t || this.setTimerToRemoveDelta(), this.lastValue = s, !0;
|
|
41585
41585
|
}
|
|
41586
|
-
},
|
|
41586
|
+
}, D6 = (
|
|
41587
41587
|
/*css*/
|
|
41588
41588
|
".ag-value-slide-out{opacity:1}:where(.ag-ltr) .ag-value-slide-out{margin-right:5px;transition:opacity 3s,margin-right 3s}:where(.ag-rtl) .ag-value-slide-out{margin-left:5px;transition:opacity 3s,margin-left 3s}:where(.ag-ltr,.ag-rtl) .ag-value-slide-out{transition-timing-function:linear}.ag-value-slide-out-end{opacity:0}:where(.ag-ltr) .ag-value-slide-out-end{margin-right:10px}:where(.ag-rtl) .ag-value-slide-out-end{margin-left:10px}"
|
|
41589
41589
|
), T6 = {
|
|
@@ -41591,7 +41591,7 @@ var S6 = class extends T {
|
|
|
41591
41591
|
children: [{ tag: "span", ref: "eCurrent", cls: "ag-value-slide-current" }]
|
|
41592
41592
|
}, M6 = class extends He {
|
|
41593
41593
|
constructor() {
|
|
41594
|
-
super(T6), this.eCurrent = se, this.refreshCount = 0, this.registerCSS(
|
|
41594
|
+
super(T6), this.eCurrent = se, this.refreshCount = 0, this.registerCSS(D6);
|
|
41595
41595
|
}
|
|
41596
41596
|
init(e) {
|
|
41597
41597
|
this.refresh(e, !0);
|
|
@@ -41698,7 +41698,7 @@ var A6 = {
|
|
|
41698
41698
|
version: _,
|
|
41699
41699
|
beans: [I6],
|
|
41700
41700
|
userComponents: {
|
|
41701
|
-
agAnimateShowChangeCellRenderer:
|
|
41701
|
+
agAnimateShowChangeCellRenderer: P6,
|
|
41702
41702
|
agAnimateSlideCellRenderer: M6
|
|
41703
41703
|
},
|
|
41704
41704
|
apiFunctions: {
|
|
@@ -41890,7 +41890,7 @@ var G6 = class extends T {
|
|
|
41890
41890
|
}
|
|
41891
41891
|
getColumnState() {
|
|
41892
41892
|
const e = this.beans;
|
|
41893
|
-
return
|
|
41893
|
+
return kD(In(e), e.colModel.isPivotMode());
|
|
41894
41894
|
}
|
|
41895
41895
|
setColumnState(e, t, s, o) {
|
|
41896
41896
|
const {
|
|
@@ -41952,12 +41952,12 @@ var G6 = class extends T {
|
|
|
41952
41952
|
te.flex = I ?? null, te.width = H;
|
|
41953
41953
|
}
|
|
41954
41954
|
(x || !s) && (m.flex = null);
|
|
41955
|
-
const
|
|
41955
|
+
const P = u?.orderedColIds, D = !!P?.length && !o?.has("columnOrder"), A = D ? P.map((F) => f(F)) : Object.values(p);
|
|
41956
41956
|
(A.length || h) && (this.columnStates = A, Tt(
|
|
41957
41957
|
this.beans,
|
|
41958
41958
|
{
|
|
41959
41959
|
state: A,
|
|
41960
|
-
applyOrder:
|
|
41960
|
+
applyOrder: D,
|
|
41961
41961
|
defaultState: m
|
|
41962
41962
|
},
|
|
41963
41963
|
t
|
|
@@ -41991,7 +41991,7 @@ var G6 = class extends T {
|
|
|
41991
41991
|
if (!e)
|
|
41992
41992
|
return;
|
|
41993
41993
|
const t = e.getColumnGroupState();
|
|
41994
|
-
return
|
|
41994
|
+
return AD(t);
|
|
41995
41995
|
}
|
|
41996
41996
|
setColumnGroupState(e, t, s) {
|
|
41997
41997
|
const o = this.beans.colGroupSvc;
|
|
@@ -42413,7 +42413,7 @@ var Z6 = class extends T {
|
|
|
42413
42413
|
}
|
|
42414
42414
|
formatNumber(e) {
|
|
42415
42415
|
const t = this.gos.getCallback("paginationNumberFormatter");
|
|
42416
|
-
return t ? t({ value: e }) :
|
|
42416
|
+
return t ? t({ value: e }) : OD(e, this.getLocaleTextFunc.bind(this));
|
|
42417
42417
|
}
|
|
42418
42418
|
getTemplate() {
|
|
42419
42419
|
const e = this.getLocaleTextFunc(), t = `ag-${this.getCompId()}`;
|
|
@@ -42538,7 +42538,7 @@ var Z6 = class extends T {
|
|
|
42538
42538
|
this.nextButtonDisabled = i || o, this.lastButtonDisabled = !t || o || e === s - 1, this.toggleButtonDisabled(this.btNext, this.nextButtonDisabled), this.toggleButtonDisabled(this.btLast, this.lastButtonDisabled);
|
|
42539
42539
|
}
|
|
42540
42540
|
toggleButtonDisabled(e, t) {
|
|
42541
|
-
|
|
42541
|
+
Pb(e, t), e.classList.toggle("ag-disabled", t);
|
|
42542
42542
|
}
|
|
42543
42543
|
isZeroPagesToDisplay() {
|
|
42544
42544
|
const e = this.rowModel.isLastRowIndexKnown(), t = this.pagination.getTotalPages();
|
|
@@ -42795,8 +42795,8 @@ var pM = {
|
|
|
42795
42795
|
moduleName: "ScrollApi",
|
|
42796
42796
|
version: _,
|
|
42797
42797
|
apiFunctions: {
|
|
42798
|
-
getVerticalPixelRange:
|
|
42799
|
-
getHorizontalPixelRange:
|
|
42798
|
+
getVerticalPixelRange: P4,
|
|
42799
|
+
getHorizontalPixelRange: D4,
|
|
42800
42800
|
ensureColumnVisible: df,
|
|
42801
42801
|
ensureIndexVisible: uf,
|
|
42802
42802
|
ensureNodeVisible: T4
|
|
@@ -42947,11 +42947,11 @@ var EM = class extends T {
|
|
|
42947
42947
|
const x = g.getCol(R);
|
|
42948
42948
|
if (!x || m.has(x))
|
|
42949
42949
|
continue;
|
|
42950
|
-
const
|
|
42951
|
-
if (
|
|
42952
|
-
const
|
|
42953
|
-
|
|
42954
|
-
const A =
|
|
42950
|
+
const P = p.getPreferredWidthForColumn(x, b);
|
|
42951
|
+
if (P > 0) {
|
|
42952
|
+
const D = w[x.colId] ?? {};
|
|
42953
|
+
D.minWidth ?? (D.minWidth = l), D.maxWidth ?? (D.maxWidth = a);
|
|
42954
|
+
const A = PM(x, P, D);
|
|
42955
42955
|
x.setActualWidth(A, d), m.add(x), v++;
|
|
42956
42956
|
}
|
|
42957
42957
|
S.push(x);
|
|
@@ -42991,7 +42991,7 @@ var EM = class extends T {
|
|
|
42991
42991
|
this.autoSizeColumn(t, "uiColumnResized", s);
|
|
42992
42992
|
};
|
|
42993
42993
|
e.addEventListener("dblclick", o);
|
|
42994
|
-
const i = new
|
|
42994
|
+
const i = new Ds(e);
|
|
42995
42995
|
return i.addEventListener("doubleTap", o), () => {
|
|
42996
42996
|
e.removeEventListener("dblclick", o), i.destroy();
|
|
42997
42997
|
};
|
|
@@ -43075,9 +43075,9 @@ var EM = class extends T {
|
|
|
43075
43075
|
const f = p / Yt(l);
|
|
43076
43076
|
let m = p;
|
|
43077
43077
|
for (let v = l.length - 1; v >= 0; v--) {
|
|
43078
|
-
const w = l[v], b = i?.[w.getId()], y = b?.minWidth ?? o?.defaultMinWidth, S = b?.maxWidth ?? o?.defaultMaxWidth, R = w.getMinWidth(), x = w.getMaxWidth(),
|
|
43078
|
+
const w = l[v], b = i?.[w.getId()], y = b?.minWidth ?? o?.defaultMinWidth, S = b?.maxWidth ?? o?.defaultMaxWidth, R = w.getMinWidth(), x = w.getMaxWidth(), P = typeof y == "number" && y > R ? y : R, D = typeof S == "number" && S < x ? S : x;
|
|
43079
43079
|
let A = Math.round(w.getActualWidth() * f);
|
|
43080
|
-
A <
|
|
43080
|
+
A < P ? (A = P, h(w), u = !1) : A > D ? (A = D, h(w), u = !1) : v === 0 && (A = m), w.setActualWidth(A, t, !0), m -= A;
|
|
43081
43081
|
}
|
|
43082
43082
|
}
|
|
43083
43083
|
}
|
|
@@ -43128,7 +43128,7 @@ var EM = class extends T {
|
|
|
43128
43128
|
this.resizeOperationQueue.length = 0, super.destroy();
|
|
43129
43129
|
}
|
|
43130
43130
|
};
|
|
43131
|
-
function
|
|
43131
|
+
function PM(e, t, s = {}) {
|
|
43132
43132
|
const o = s.minWidth ?? e.getMinWidth();
|
|
43133
43133
|
t < o && (t = o);
|
|
43134
43134
|
const i = s.maxWidth ?? e.getMaxWidth();
|
|
@@ -43138,7 +43138,7 @@ function au({ ctrlsSvc: e, scrollVisibleSvc: t }) {
|
|
|
43138
43138
|
const s = e.getGridBodyCtrl(), i = s.isVerticalScrollShowing() ? t.getScrollbarWidth() : 0;
|
|
43139
43139
|
return pi(s.eGridBody) - i;
|
|
43140
43140
|
}
|
|
43141
|
-
var
|
|
43141
|
+
var DM = {
|
|
43142
43142
|
moduleName: "ColumnAutoSize",
|
|
43143
43143
|
version: _,
|
|
43144
43144
|
beans: [EM],
|
|
@@ -43688,7 +43688,7 @@ var OM = {
|
|
|
43688
43688
|
}, jM = {
|
|
43689
43689
|
moduleName: "RowStyle",
|
|
43690
43690
|
version: _,
|
|
43691
|
-
beans: [
|
|
43691
|
+
beans: [IP]
|
|
43692
43692
|
};
|
|
43693
43693
|
function KM(e, t) {
|
|
43694
43694
|
return !!e.colHover?.isHovered(t);
|
|
@@ -43850,7 +43850,7 @@ var oI = {
|
|
|
43850
43850
|
}, iI = {
|
|
43851
43851
|
moduleName: "Locale",
|
|
43852
43852
|
version: _,
|
|
43853
|
-
beans: [
|
|
43853
|
+
beans: [ID]
|
|
43854
43854
|
}, nI = class extends T {
|
|
43855
43855
|
constructor() {
|
|
43856
43856
|
super(...arguments), this.beanName = "rowAutoHeight", this.wasEverActive = !1, this._debouncedCalculateRowHeights = et(this, this.calculateRowHeights.bind(this), 1);
|
|
@@ -43990,7 +43990,7 @@ var oI = {
|
|
|
43990
43990
|
n6,
|
|
43991
43991
|
g6,
|
|
43992
43992
|
R6,
|
|
43993
|
-
|
|
43993
|
+
ZD,
|
|
43994
43994
|
rT,
|
|
43995
43995
|
aT,
|
|
43996
43996
|
lT,
|
|
@@ -44012,16 +44012,16 @@ var oI = {
|
|
|
44012
44012
|
pM,
|
|
44013
44013
|
fM,
|
|
44014
44014
|
RM,
|
|
44015
|
-
|
|
44015
|
+
DM,
|
|
44016
44016
|
Gx,
|
|
44017
44017
|
OM,
|
|
44018
|
-
|
|
44019
|
-
|
|
44018
|
+
PT,
|
|
44019
|
+
gD,
|
|
44020
44020
|
$M,
|
|
44021
44021
|
QM,
|
|
44022
44022
|
jM,
|
|
44023
44023
|
oI,
|
|
44024
|
-
|
|
44024
|
+
mD,
|
|
44025
44025
|
A6,
|
|
44026
44026
|
cf,
|
|
44027
44027
|
iI,
|
|
@@ -44052,7 +44052,7 @@ var oI = {
|
|
|
44052
44052
|
const s = e;
|
|
44053
44053
|
s.current = t;
|
|
44054
44054
|
}
|
|
44055
|
-
}, wt = (...e) => e.filter((s) => s != null && s !== "").join(" "), xt = class
|
|
44055
|
+
}, wt = (...e) => e.filter((s) => s != null && s !== "").join(" "), xt = class Pf {
|
|
44056
44056
|
constructor(...t) {
|
|
44057
44057
|
this.classesMap = {};
|
|
44058
44058
|
for (const s of t)
|
|
@@ -44061,7 +44061,7 @@ var oI = {
|
|
|
44061
44061
|
setClass(t, s) {
|
|
44062
44062
|
if (!!this.classesMap[t] == s)
|
|
44063
44063
|
return this;
|
|
44064
|
-
const i = new
|
|
44064
|
+
const i = new Pf();
|
|
44065
44065
|
return i.classesMap = { ...this.classesMap }, i.classesMap[t] = s, i;
|
|
44066
44066
|
}
|
|
44067
44067
|
toString() {
|
|
@@ -44070,7 +44070,7 @@ var oI = {
|
|
|
44070
44070
|
}, Wo = (e) => {
|
|
44071
44071
|
const t = () => typeof Symbol == "function" && Symbol.for, s = () => t() ? Symbol.for("react.memo") : 60115;
|
|
44072
44072
|
return typeof e == "function" && !(e.prototype && e.prototype.isReactComponent) || typeof e == "object" && e.$$typeof === s();
|
|
44073
|
-
}, Ka = G.version?.split(".")[0],
|
|
44073
|
+
}, Ka = G.version?.split(".")[0], Df = Ka === "16" || Ka === "17";
|
|
44074
44074
|
function lI() {
|
|
44075
44075
|
return Ka === "19";
|
|
44076
44076
|
}
|
|
@@ -44079,9 +44079,9 @@ function cI(e) {
|
|
|
44079
44079
|
return hn || setTimeout(() => hn = !1, 0), hn = !0, e();
|
|
44080
44080
|
}
|
|
44081
44081
|
var Ri = (e, t) => {
|
|
44082
|
-
!
|
|
44082
|
+
!Df && e && !hn ? Km.flushSync(t) : t();
|
|
44083
44083
|
}, dI = (e) => {
|
|
44084
|
-
|
|
44084
|
+
Df ? e() : G.startTransition(e);
|
|
44085
44085
|
};
|
|
44086
44086
|
function uI(e, t, s) {
|
|
44087
44087
|
return G.useSyncExternalStore ? G.useSyncExternalStore(e, t) : s;
|
|
@@ -44115,9 +44115,9 @@ var Tf = nl((e, t) => {
|
|
|
44115
44115
|
refresh() {
|
|
44116
44116
|
return !1;
|
|
44117
44117
|
}
|
|
44118
|
-
})),
|
|
44119
|
-
const
|
|
44120
|
-
if (i.current =
|
|
44118
|
+
})), Dt(() => Ii(d, o, n.current), [d]);
|
|
44119
|
+
const P = N((X) => {
|
|
44120
|
+
if (i.current = X, !X || o.isDestroyed()) {
|
|
44121
44121
|
c.current = o.destroyBean(c.current);
|
|
44122
44122
|
return;
|
|
44123
44123
|
}
|
|
@@ -44134,22 +44134,22 @@ var Tf = nl((e, t) => {
|
|
|
44134
44134
|
}, re = s.createDynamicBean("groupCellRendererCtrl", !0);
|
|
44135
44135
|
re && (c.current = o.createBean(re), c.current.init(
|
|
44136
44136
|
L,
|
|
44137
|
-
|
|
44137
|
+
X,
|
|
44138
44138
|
r.current,
|
|
44139
44139
|
a.current,
|
|
44140
44140
|
l.current,
|
|
44141
44141
|
Tf,
|
|
44142
44142
|
e
|
|
44143
44143
|
));
|
|
44144
|
-
}, []),
|
|
44144
|
+
}, []), D = z(() => `ag-cell-wrapper ${m.toString()}`, [m]), A = z(() => `ag-group-expanded ${w.toString()}`, [w]), F = z(
|
|
44145
44145
|
() => `ag-group-contracted ${y.toString()}`,
|
|
44146
44146
|
[y]
|
|
44147
44147
|
), I = z(() => `ag-group-checkbox ${R.toString()}`, [R]), H = d?.componentFromFramework, te = H ? d.componentClass : void 0, B = d == null && p != null, ae = Vo(p);
|
|
44148
44148
|
return /* @__PURE__ */ G.createElement(
|
|
44149
44149
|
"span",
|
|
44150
44150
|
{
|
|
44151
|
-
className:
|
|
44152
|
-
ref:
|
|
44151
|
+
className: D,
|
|
44152
|
+
ref: P,
|
|
44153
44153
|
...e.colDef ? {} : { role: c.current?.getCellAriaRole() }
|
|
44154
44154
|
},
|
|
44155
44155
|
/* @__PURE__ */ G.createElement("span", { className: A, ref: a }),
|
|
@@ -44537,11 +44537,11 @@ var bI = class {
|
|
|
44537
44537
|
refresh(e) {
|
|
44538
44538
|
this.sourceParams = e, this.refreshProps();
|
|
44539
44539
|
}
|
|
44540
|
-
},
|
|
44540
|
+
}, PI = class extends mt {
|
|
44541
44541
|
refresh(e) {
|
|
44542
44542
|
return this.sourceParams = e, this.refreshProps(), !0;
|
|
44543
44543
|
}
|
|
44544
|
-
},
|
|
44544
|
+
}, DI = class extends mt {
|
|
44545
44545
|
constructor() {
|
|
44546
44546
|
super(...arguments), this.onStateChange = (e) => this.updateState(e);
|
|
44547
44547
|
}
|
|
@@ -44634,7 +44634,7 @@ var TI = 1e3, MI = class {
|
|
|
44634
44634
|
};
|
|
44635
44635
|
e.setComp(b, v, c.current, d.current, a.current), w();
|
|
44636
44636
|
}, []);
|
|
44637
|
-
|
|
44637
|
+
Dt(
|
|
44638
44638
|
() => Ii(o, s, d.current, u),
|
|
44639
44639
|
[o]
|
|
44640
44640
|
), fe(() => {
|
|
@@ -44665,7 +44665,7 @@ var TI = 1e3, MI = class {
|
|
|
44665
44665
|
() => new xt("ag-floating-filter-button", "ag-hidden")
|
|
44666
44666
|
), [u, h] = M("false"), [g, p] = M(), [, f] = M(1), m = k(), v = k(null), w = k(null), b = k(null), y = k(null), S = k(), R = k(), x = (Y) => {
|
|
44667
44667
|
Y != null && S.current && S.current(Y);
|
|
44668
|
-
},
|
|
44668
|
+
}, P = N((Y) => {
|
|
44669
44669
|
if (v.current = Y, !Y || !e.isAlive() || t.isDestroyed()) {
|
|
44670
44670
|
m.current = t.destroyBean(m.current);
|
|
44671
44671
|
return;
|
|
@@ -44689,11 +44689,11 @@ var TI = 1e3, MI = class {
|
|
|
44689
44689
|
};
|
|
44690
44690
|
e.setComp(K, Y, y.current, w.current, m.current);
|
|
44691
44691
|
}, []);
|
|
44692
|
-
|
|
44692
|
+
Dt(
|
|
44693
44693
|
() => Ii(g, t, w.current, x),
|
|
44694
44694
|
[g]
|
|
44695
44695
|
);
|
|
44696
|
-
const
|
|
44696
|
+
const D = z(() => n.toString(), [n]), A = z(() => a.toString(), [a]), F = z(() => c.toString(), [c]), I = z(() => !!(g && g.componentFromFramework && Wo(g.componentClass)), [g]), H = z(() => s.get("reactiveCustomComponents"), []), te = z(() => s.get("enableFilterHandlers"), []), [B, ae] = M();
|
|
44697
44697
|
fe(() => {
|
|
44698
44698
|
if (g?.componentFromFramework)
|
|
44699
44699
|
if (H) {
|
|
@@ -44702,15 +44702,15 @@ var TI = 1e3, MI = class {
|
|
|
44702
44702
|
} else
|
|
44703
44703
|
fc();
|
|
44704
44704
|
}, [g]);
|
|
44705
|
-
const
|
|
44706
|
-
return /* @__PURE__ */ G.createElement("div", { ref:
|
|
44705
|
+
const X = B?.getProps(), L = g?.componentFromFramework, re = g?.componentClass;
|
|
44706
|
+
return /* @__PURE__ */ G.createElement("div", { ref: P, style: o, className: D, role: "gridcell" }, /* @__PURE__ */ G.createElement("div", { ref: w, className: A, role: "presentation" }, L ? H ? X && /* @__PURE__ */ G.createElement(
|
|
44707
44707
|
pc.Provider,
|
|
44708
44708
|
{
|
|
44709
44709
|
value: {
|
|
44710
44710
|
setMethods: (Y) => B.setMethods(Y)
|
|
44711
44711
|
}
|
|
44712
44712
|
},
|
|
44713
|
-
/* @__PURE__ */ G.createElement(re, { ...
|
|
44713
|
+
/* @__PURE__ */ G.createElement(re, { ...X })
|
|
44714
44714
|
) : /* @__PURE__ */ G.createElement(re, { ...g.params, ref: I ? () => {
|
|
44715
44715
|
} : x }) : null), /* @__PURE__ */ G.createElement(
|
|
44716
44716
|
"div",
|
|
@@ -44731,8 +44731,8 @@ var TI = 1e3, MI = class {
|
|
|
44731
44731
|
)
|
|
44732
44732
|
));
|
|
44733
44733
|
}, OI = ct(LI), NI = ({ ctrl: e }) => {
|
|
44734
|
-
const { context: t } = je(it), [s, o] = M(), [i, n] = M(() => new xt()), [r, a] = M(() => new xt()), [l, c] = M("false"), [d, u] = M(), [h, g] = M(), p = k(), f = k(null), m = k(null), v = k(null), w = k(), b = N((
|
|
44735
|
-
if (f.current =
|
|
44734
|
+
const { context: t } = je(it), [s, o] = M(), [i, n] = M(() => new xt()), [r, a] = M(() => new xt()), [l, c] = M("false"), [d, u] = M(), [h, g] = M(), p = k(), f = k(null), m = k(null), v = k(null), w = k(), b = N((D) => {
|
|
44735
|
+
if (f.current = D, !D || !e.isAlive() || t.isDestroyed()) {
|
|
44736
44736
|
p.current = t.destroyBean(p.current);
|
|
44737
44737
|
return;
|
|
44738
44738
|
}
|
|
@@ -44758,16 +44758,16 @@ var TI = 1e3, MI = class {
|
|
|
44758
44758
|
setAriaExpanded: (F) => u(F),
|
|
44759
44759
|
getUserCompInstance: () => w.current || void 0
|
|
44760
44760
|
};
|
|
44761
|
-
e.setComp(A,
|
|
44761
|
+
e.setComp(A, D, m.current, v.current, p.current);
|
|
44762
44762
|
}, []);
|
|
44763
|
-
|
|
44763
|
+
Dt(() => Ii(h, t, v.current), [h]), fe(() => {
|
|
44764
44764
|
f.current && e.setDragSource(f.current);
|
|
44765
44765
|
}, [h]);
|
|
44766
44766
|
const y = z(() => !!(h?.componentFromFramework && Wo(h.componentClass)), [h]), S = z(() => "ag-header-group-cell " + i.toString(), [i]), R = z(
|
|
44767
44767
|
() => "ag-header-cell-resize " + r.toString(),
|
|
44768
44768
|
[r]
|
|
44769
|
-
), x = h?.componentFromFramework,
|
|
44770
|
-
return /* @__PURE__ */ G.createElement("div", { ref: b, style: s, className: S, role: "columnheader", "aria-expanded": d }, /* @__PURE__ */ G.createElement("div", { ref: v, className: "ag-header-cell-comp-wrapper", role: "presentation" }, x ? y ? /* @__PURE__ */ G.createElement(
|
|
44769
|
+
), x = h?.componentFromFramework, P = h?.componentClass;
|
|
44770
|
+
return /* @__PURE__ */ G.createElement("div", { ref: b, style: s, className: S, role: "columnheader", "aria-expanded": d }, /* @__PURE__ */ G.createElement("div", { ref: v, className: "ag-header-cell-comp-wrapper", role: "presentation" }, x ? y ? /* @__PURE__ */ G.createElement(P, { ...h.params }) : /* @__PURE__ */ G.createElement(P, { ...h.params, ref: w }) : null), /* @__PURE__ */ G.createElement("div", { ref: m, "aria-hidden": l, className: R }));
|
|
44771
44771
|
}, HI = ct(NI), GI = ({ ctrl: e }) => {
|
|
44772
44772
|
const { gos: t, context: s } = je(it), { topOffset: o, rowHeight: i } = z(() => e.getTopAndHeight(), []), n = z(() => t.get("tabIndex"), []), [r, a] = M(() => e.getAriaRowIndex()), l = e.headerRowClass, [c, d] = M(() => i + "px"), [u, h] = M(() => o + "px"), g = k(null), [p, f] = M(() => e.getUpdatedHeaderCtrls()), m = k(), v = k(null), w = N((S) => {
|
|
44773
44773
|
if (v.current = S, !S || !e.isAlive() || s.isDestroyed()) {
|
|
@@ -44778,9 +44778,9 @@ var TI = 1e3, MI = class {
|
|
|
44778
44778
|
const R = {
|
|
44779
44779
|
setHeight: (x) => d(x),
|
|
44780
44780
|
setTop: (x) => h(x),
|
|
44781
|
-
setHeaderCtrls: (x,
|
|
44782
|
-
const A = g.current, F = Wn(A, x,
|
|
44783
|
-
F !== A && (g.current = F, Ri(
|
|
44781
|
+
setHeaderCtrls: (x, P, D) => {
|
|
44782
|
+
const A = g.current, F = Wn(A, x, P);
|
|
44783
|
+
F !== A && (g.current = F, Ri(D, () => f(F)));
|
|
44784
44784
|
},
|
|
44785
44785
|
setWidth: (x) => {
|
|
44786
44786
|
v.current && (v.current.style.width = x);
|
|
@@ -44960,7 +44960,7 @@ var TI = 1e3, MI = class {
|
|
|
44960
44960
|
return () => {
|
|
44961
44961
|
g?.(), i.destroyBean(p);
|
|
44962
44962
|
};
|
|
44963
|
-
}),
|
|
44963
|
+
}), Dt(() => () => {
|
|
44964
44964
|
c.isCellFocused() && t?.getGui().contains(Ne(o)) && d.focus({ preventScroll: !0 });
|
|
44965
44965
|
}, [t]), t && e.wrappedContent ? dl(e.wrappedContent, t.getGui()) : null;
|
|
44966
44966
|
}, uu = ct(jI), KI = (e, t, s) => {
|
|
@@ -45044,14 +45044,14 @@ var TI = 1e3, MI = class {
|
|
|
45044
45044
|
instanceId: r
|
|
45045
45045
|
} = e, a = k(), [l, c] = M(
|
|
45046
45046
|
() => e.isCellRenderer() ? void 0 : { compDetails: void 0, value: e.getValueToDisplay(), force: !1 }
|
|
45047
|
-
), [d, u] = M(), [h, g] = M(1), [p, f] = M(), [m, v] = M(!1), [w, b] = M(!1), [y, S] = M(!1), [R, x] = M(),
|
|
45048
|
-
L.current =
|
|
45049
|
-
}, []), $ = l != null && (m || y || w) && (d == null || !!d.popup), j =
|
|
45050
|
-
(
|
|
45051
|
-
if (te.current =
|
|
45052
|
-
const Ce =
|
|
45047
|
+
), [d, u] = M(), [h, g] = M(1), [p, f] = M(), [m, v] = M(!1), [w, b] = M(!1), [y, S] = M(!1), [R, x] = M(), P = z(() => e.isForceWrapper(), [e]), D = z(() => e.getCellAriaRole(), [e]), A = k(null), F = k(null), I = k(null), H = k(), te = k(), B = k(), ae = k([]), X = k(), L = k(), [re, Y] = M(0), K = N((Q) => {
|
|
45048
|
+
L.current = Q, Y((Ce) => Ce + 1);
|
|
45049
|
+
}, []), $ = l != null && (m || y || w) && (d == null || !!d.popup), j = P || $, ce = z(() => e.getCellValueClass(), [e]), ye = N(
|
|
45050
|
+
(Q) => {
|
|
45051
|
+
if (te.current = Q, Q) {
|
|
45052
|
+
const Ce = Q.isCancelBeforeStart && Q.isCancelBeforeStart();
|
|
45053
45053
|
setTimeout(() => {
|
|
45054
|
-
Ce ? (e.stopEditing(!0), e.focusCell(!0)) : (e.cellEditorAttached(), e.enableEditorTooltipFeature(
|
|
45054
|
+
Ce ? (e.stopEditing(!0), e.focusCell(!0)) : (e.cellEditorAttached(), e.enableEditorTooltipFeature(Q));
|
|
45055
45055
|
});
|
|
45056
45056
|
}
|
|
45057
45057
|
},
|
|
@@ -45059,16 +45059,16 @@ var TI = 1e3, MI = class {
|
|
|
45059
45059
|
), q = k();
|
|
45060
45060
|
q.current || (q.current = new Ei(() => A.current)), kf(l, j, L.current, re, H, A);
|
|
45061
45061
|
const oe = k();
|
|
45062
|
-
|
|
45063
|
-
const
|
|
45064
|
-
if (oe.current = l,
|
|
45062
|
+
Dt(() => {
|
|
45063
|
+
const Q = oe.current, Ce = l;
|
|
45064
|
+
if (oe.current = l, Q == null || Q.compDetails == null || Ce == null || Ce.compDetails == null)
|
|
45065
45065
|
return;
|
|
45066
|
-
|
|
45067
|
-
const We =
|
|
45066
|
+
X.current?.refreshVisibility();
|
|
45067
|
+
const We = Q.compDetails, qe = Ce.compDetails;
|
|
45068
45068
|
if (We.componentClass != qe.componentClass || I.current?.refresh == null)
|
|
45069
45069
|
return;
|
|
45070
45070
|
I.current.refresh(qe.params) != !0 && g((be) => be + 1);
|
|
45071
|
-
}, [l]),
|
|
45071
|
+
}, [l]), Dt(() => {
|
|
45072
45072
|
if (!(d && !d.compDetails.componentFromFramework) || i.isDestroyed())
|
|
45073
45073
|
return;
|
|
45074
45074
|
const Ce = d.compDetails, We = d.popup === !0, qe = Ce.newAgStackInstance();
|
|
@@ -45076,7 +45076,7 @@ var TI = 1e3, MI = class {
|
|
|
45076
45076
|
if (!ie)
|
|
45077
45077
|
return;
|
|
45078
45078
|
const be = ie.getGui();
|
|
45079
|
-
ye(ie), We || ((
|
|
45079
|
+
ye(ie), We || ((P ? B : A).current?.appendChild(be), ie.afterGuiAttached?.()), x(ie);
|
|
45080
45080
|
}), () => {
|
|
45081
45081
|
qe.then((ie) => {
|
|
45082
45082
|
const be = ie.getGui();
|
|
@@ -45084,9 +45084,9 @@ var TI = 1e3, MI = class {
|
|
|
45084
45084
|
});
|
|
45085
45085
|
};
|
|
45086
45086
|
}, [d]);
|
|
45087
|
-
const
|
|
45088
|
-
(
|
|
45089
|
-
if (B.current =
|
|
45087
|
+
const Pe = N(
|
|
45088
|
+
(Q) => {
|
|
45089
|
+
if (B.current = Q, !Q || i.isDestroyed() || !e.isAlive()) {
|
|
45090
45090
|
const qe = ae.current;
|
|
45091
45091
|
ae.current = [];
|
|
45092
45092
|
for (const ie of qe)
|
|
@@ -45095,16 +45095,16 @@ var TI = 1e3, MI = class {
|
|
|
45095
45095
|
}
|
|
45096
45096
|
let Ce;
|
|
45097
45097
|
const We = (qe) => {
|
|
45098
|
-
qe && (
|
|
45099
|
-
ms(qe.getGui()), i.destroyBean(qe),
|
|
45098
|
+
qe && (Q.insertAdjacentElement("afterbegin", qe.getGui()), ae.current.push(() => {
|
|
45099
|
+
ms(qe.getGui()), i.destroyBean(qe), X.current === Ce && (X.current = void 0);
|
|
45100
45100
|
}));
|
|
45101
45101
|
};
|
|
45102
|
-
m && We(e.createSelectionCheckbox()), y && We(e.createDndSource()), w && (Ce = e.createRowDragComp(),
|
|
45102
|
+
m && We(e.createSelectionCheckbox()), y && We(e.createDndSource()), w && (Ce = e.createRowDragComp(), X.current = Ce, Ce && (We(Ce), Ce.refreshVisibility()));
|
|
45103
45103
|
},
|
|
45104
45104
|
[e, i, y, w, m]
|
|
45105
45105
|
), me = N(() => {
|
|
45106
|
-
const
|
|
45107
|
-
if (!Ce || !
|
|
45106
|
+
const Q = !e.isCellSpanning() || F.current, Ce = A.current;
|
|
45107
|
+
if (!Ce || !Q || !e || !e.isAlive() || i.isDestroyed()) {
|
|
45108
45108
|
a.current = i.destroyBean(a.current);
|
|
45109
45109
|
return;
|
|
45110
45110
|
}
|
|
@@ -45128,13 +45128,13 @@ var TI = 1e3, MI = class {
|
|
|
45128
45128
|
} : Ue);
|
|
45129
45129
|
};
|
|
45130
45130
|
if (ie?.params?.deferRender && !e.rowNode.group) {
|
|
45131
|
-
const { loadingComp: Ue, onReady:
|
|
45131
|
+
const { loadingComp: Ue, onReady: De } = e.getDeferLoadingCellRenderer();
|
|
45132
45132
|
if (Ue) {
|
|
45133
45133
|
c({
|
|
45134
45134
|
value: void 0,
|
|
45135
45135
|
compDetails: Ue,
|
|
45136
45136
|
force: !1
|
|
45137
|
-
}),
|
|
45137
|
+
}), De.then(() => dI(Et));
|
|
45138
45138
|
return;
|
|
45139
45139
|
}
|
|
45140
45140
|
}
|
|
@@ -45145,7 +45145,7 @@ var TI = 1e3, MI = class {
|
|
|
45145
45145
|
let Ue;
|
|
45146
45146
|
ie.componentFromFramework && (Et ? Ue = new UI(
|
|
45147
45147
|
ie.params,
|
|
45148
|
-
() => g((
|
|
45148
|
+
() => g((De) => De + 1)
|
|
45149
45149
|
) : fc()), u({
|
|
45150
45150
|
compDetails: ie,
|
|
45151
45151
|
popup: be,
|
|
@@ -45171,36 +45171,36 @@ var TI = 1e3, MI = class {
|
|
|
45171
45171
|
s,
|
|
45172
45172
|
a.current
|
|
45173
45173
|
);
|
|
45174
|
-
}, []), he = N((
|
|
45175
|
-
A.current =
|
|
45176
|
-
}, []), Qe = N((
|
|
45177
|
-
F.current =
|
|
45174
|
+
}, []), he = N((Q) => {
|
|
45175
|
+
A.current = Q, me();
|
|
45176
|
+
}, []), Qe = N((Q) => {
|
|
45177
|
+
F.current = Q, me();
|
|
45178
45178
|
}, []), Fe = z(() => !!(l?.compDetails?.componentFromFramework && Wo(l.compDetails.componentClass)), [l]);
|
|
45179
|
-
|
|
45179
|
+
Dt(() => {
|
|
45180
45180
|
if (!A.current)
|
|
45181
45181
|
return;
|
|
45182
|
-
const { current:
|
|
45183
|
-
|
|
45182
|
+
const { current: Q } = q;
|
|
45183
|
+
Q.toggleCss("ag-cell-value", !j), Q.toggleCss("ag-cell-inline-editing", !!d && !d.popup), Q.toggleCss("ag-cell-popup-editing", !!d && !!d.popup), Q.toggleCss("ag-cell-not-inline-editing", !d || !!d.popup);
|
|
45184
45184
|
});
|
|
45185
45185
|
const W = () => {
|
|
45186
|
-
const { compDetails:
|
|
45187
|
-
if (!
|
|
45186
|
+
const { compDetails: Q, value: Ce } = l;
|
|
45187
|
+
if (!Q)
|
|
45188
45188
|
return Ce?.toString?.() ?? Ce;
|
|
45189
|
-
if (
|
|
45190
|
-
const We =
|
|
45191
|
-
return /* @__PURE__ */ G.createElement(sm, { fallback: /* @__PURE__ */ G.createElement(ZI, { cellCtrl: e, parent: A }) }, Fe ? /* @__PURE__ */ G.createElement(We, { ...
|
|
45189
|
+
if (Q.componentFromFramework) {
|
|
45190
|
+
const We = Q.componentClass;
|
|
45191
|
+
return /* @__PURE__ */ G.createElement(sm, { fallback: /* @__PURE__ */ G.createElement(ZI, { cellCtrl: e, parent: A }) }, Fe ? /* @__PURE__ */ G.createElement(We, { ...Q.params, key: h }) : /* @__PURE__ */ G.createElement(We, { ...Q.params, key: h, ref: I }));
|
|
45192
45192
|
}
|
|
45193
45193
|
}, ve = () => {
|
|
45194
|
-
const
|
|
45195
|
-
return d != null ? d.popup ? /* @__PURE__ */ G.createElement(G.Fragment, null,
|
|
45196
|
-
}, Ke = () => /* @__PURE__ */ G.createElement("div", { ref: he, style: p, role:
|
|
45194
|
+
const Q = () => l == null ? null : j ? /* @__PURE__ */ G.createElement("span", { role: "presentation", id: `cell-${r}`, className: ce, ref: K }, W()) : W(), Ce = (We) => qI(We, ye, A.current, e, R);
|
|
45195
|
+
return d != null ? d.popup ? /* @__PURE__ */ G.createElement(G.Fragment, null, Q(), Ce(d)) : Ce(d) : Q();
|
|
45196
|
+
}, Ke = () => /* @__PURE__ */ G.createElement("div", { ref: he, style: p, role: D, "col-id": n }, j ? /* @__PURE__ */ G.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: Pe }, ve()) : ve());
|
|
45197
45197
|
return e.isCellSpanning() ? /* @__PURE__ */ G.createElement("div", { ref: Qe, className: "ag-spanned-cell-wrapper", role: "presentation" }, Ke()) : Ke();
|
|
45198
45198
|
}, XI = ct(QI), JI = ({ rowCtrl: e, containerType: t }) => {
|
|
45199
45199
|
const { context: s, gos: o, editSvc: i } = je(it), n = je(Ef) === "default", r = k(), a = k(e.getDomOrder()), l = e.isFullWidth(), c = e.rowNode.displayed, [d, u] = M(
|
|
45200
45200
|
() => c ? e.rowNode.getRowIndexString() : null
|
|
45201
|
-
), [h, g] = M(() => e.rowId), [p, f] = M(() => e.businessKey), [m, v] = M(() => e.rowStyles), w = k(null), [b, y] = M(() => null), [S, R] = M(), [x,
|
|
45201
|
+
), [h, g] = M(() => e.rowId), [p, f] = M(() => e.businessKey), [m, v] = M(() => e.rowStyles), w = k(null), [b, y] = M(() => null), [S, R] = M(), [x, P] = M(
|
|
45202
45202
|
() => c ? e.getInitialRowTop(t) : void 0
|
|
45203
|
-
), [
|
|
45203
|
+
), [D, A] = M(
|
|
45204
45204
|
() => c ? e.getInitialTransform(t) : void 0
|
|
45205
45205
|
), F = k(null), I = k(), H = k(), te = k(!1), [B, ae] = M(0);
|
|
45206
45206
|
fe(() => {
|
|
@@ -45209,8 +45209,8 @@ var TI = 1e3, MI = class {
|
|
|
45209
45209
|
const he = F.current?.firstChild;
|
|
45210
45210
|
he ? (e.setupDetailRowAutoHeight(he), te.current = !0) : ae((Qe) => Qe + 1);
|
|
45211
45211
|
}, [S, B]);
|
|
45212
|
-
const
|
|
45213
|
-
|
|
45212
|
+
const X = k();
|
|
45213
|
+
X.current || (X.current = new Ei(() => F.current));
|
|
45214
45214
|
const L = k(() => {
|
|
45215
45215
|
}), re = N((he) => (L.current = he, () => {
|
|
45216
45216
|
L.current = () => {
|
|
@@ -45229,11 +45229,11 @@ var TI = 1e3, MI = class {
|
|
|
45229
45229
|
const Qe = {
|
|
45230
45230
|
// the rowTop is managed by state, instead of direct style manipulation by rowCtrl (like all the other styles)
|
|
45231
45231
|
// as we need to have an initial value when it's placed into he DOM for the first time, for animation to work.
|
|
45232
|
-
setTop:
|
|
45232
|
+
setTop: P,
|
|
45233
45233
|
setTransform: A,
|
|
45234
45234
|
// i found using React for managing classes at the row level was to slow, as modifying classes caused a lot of
|
|
45235
45235
|
// React code to execute, so avoiding React for managing CSS Classes made the grid go much faster.
|
|
45236
|
-
toggleCss: (Fe, W) =>
|
|
45236
|
+
toggleCss: (Fe, W) => X.current.toggleCss(Fe, W),
|
|
45237
45237
|
setDomOrder: (Fe) => a.current = Fe,
|
|
45238
45238
|
setRowIndex: u,
|
|
45239
45239
|
setRowId: g,
|
|
@@ -45260,18 +45260,18 @@ var TI = 1e3, MI = class {
|
|
|
45260
45260
|
};
|
|
45261
45261
|
e.setComp(Qe, he, t, r.current);
|
|
45262
45262
|
}, []);
|
|
45263
|
-
|
|
45263
|
+
Dt(
|
|
45264
45264
|
() => Ii(S, s, F.current, I),
|
|
45265
45265
|
[S]
|
|
45266
45266
|
);
|
|
45267
45267
|
const j = z(() => {
|
|
45268
|
-
const he = { top: x, transform:
|
|
45268
|
+
const he = { top: x, transform: D };
|
|
45269
45269
|
return Object.assign(he, m), he;
|
|
45270
|
-
}, [x,
|
|
45270
|
+
}, [x, D, m]), ce = l && S?.componentFromFramework, ye = !l && K != null, q = z(() => !!(S?.componentFromFramework && Wo(S.componentClass)), [S]), oe = k(!1);
|
|
45271
45271
|
fe(() => {
|
|
45272
45272
|
oe.current = q && !!S && !!o.get("reactiveCustomComponents");
|
|
45273
45273
|
}, [q, S]);
|
|
45274
|
-
const
|
|
45274
|
+
const Pe = () => K?.map((he) => /* @__PURE__ */ G.createElement(
|
|
45275
45275
|
XI,
|
|
45276
45276
|
{
|
|
45277
45277
|
cellCtrl: he,
|
|
@@ -45293,16 +45293,16 @@ var TI = 1e3, MI = class {
|
|
|
45293
45293
|
"row-id": h,
|
|
45294
45294
|
"row-business-key": p
|
|
45295
45295
|
},
|
|
45296
|
-
ye ?
|
|
45296
|
+
ye ? Pe() : ce ? me() : null
|
|
45297
45297
|
);
|
|
45298
45298
|
}, gu = ct(JI), ek = ({ name: e }) => {
|
|
45299
|
-
const { context: t, gos: s } = je(it), o = z(() =>
|
|
45299
|
+
const { context: t, gos: s } = je(it), o = z(() => Di(e), [e]), i = k(null), n = k(null), r = k(null), a = k([]), l = k([]), [c, d] = M(() => []), u = !!s.get("enableCellSpan") && !!o.getSpannedRowCtrls, h = k([]), g = k([]), [p, f] = M(() => []), m = k(!1), v = k(), w = z(() => wt("ag-viewport", Zg(e)), [e]), b = z(() => wt(an(e)), [e]), y = z(() => wt("ag-spanning-container", BR(e)), [e]), S = o.type === "center" || u, R = S ? i : n;
|
|
45300
45300
|
Ts(" AG Row Container " + e + " ", R);
|
|
45301
45301
|
const x = N(() => {
|
|
45302
|
-
const B = !S || i.current != null, ae = n.current != null,
|
|
45303
|
-
return B && ae &&
|
|
45304
|
-
}, []),
|
|
45305
|
-
if (
|
|
45302
|
+
const B = !S || i.current != null, ae = n.current != null, X = !u || r.current != null;
|
|
45303
|
+
return B && ae && X;
|
|
45304
|
+
}, []), P = N(() => i.current == null && n.current == null && r.current == null, []), D = N(() => {
|
|
45305
|
+
if (P() && (v.current = t.destroyBean(v.current)), !t.isDestroyed() && x()) {
|
|
45306
45306
|
const B = (L) => {
|
|
45307
45307
|
const re = Wn(
|
|
45308
45308
|
l.current,
|
|
@@ -45317,7 +45317,7 @@ var TI = 1e3, MI = class {
|
|
|
45317
45317
|
m.current
|
|
45318
45318
|
);
|
|
45319
45319
|
re !== g.current && (g.current = re, Ri(L, () => f(re)));
|
|
45320
|
-
},
|
|
45320
|
+
}, X = {
|
|
45321
45321
|
setHorizontalScroll: (L) => {
|
|
45322
45322
|
i.current && (i.current.scrollLeft = L);
|
|
45323
45323
|
},
|
|
@@ -45343,27 +45343,27 @@ var TI = 1e3, MI = class {
|
|
|
45343
45343
|
}
|
|
45344
45344
|
};
|
|
45345
45345
|
v.current = t.createBean(new ZR(e)), v.current.setComp(
|
|
45346
|
-
|
|
45346
|
+
X,
|
|
45347
45347
|
n.current,
|
|
45348
45348
|
r.current ?? void 0,
|
|
45349
45349
|
i.current
|
|
45350
45350
|
);
|
|
45351
45351
|
}
|
|
45352
|
-
}, [x,
|
|
45352
|
+
}, [x, P]), A = N(
|
|
45353
45353
|
(B) => {
|
|
45354
|
-
n.current = B,
|
|
45354
|
+
n.current = B, D();
|
|
45355
45355
|
},
|
|
45356
|
-
[
|
|
45356
|
+
[D]
|
|
45357
45357
|
), F = N(
|
|
45358
45358
|
(B) => {
|
|
45359
|
-
r.current = B,
|
|
45359
|
+
r.current = B, D();
|
|
45360
45360
|
},
|
|
45361
|
-
[
|
|
45361
|
+
[D]
|
|
45362
45362
|
), I = N(
|
|
45363
45363
|
(B) => {
|
|
45364
|
-
i.current = B,
|
|
45364
|
+
i.current = B, D();
|
|
45365
45365
|
},
|
|
45366
|
-
[
|
|
45366
|
+
[D]
|
|
45367
45367
|
), H = () => /* @__PURE__ */ G.createElement(
|
|
45368
45368
|
"div",
|
|
45369
45369
|
{
|
|
@@ -45378,8 +45378,8 @@ var TI = 1e3, MI = class {
|
|
|
45378
45378
|
const te = () => /* @__PURE__ */ G.createElement("div", { className: y, ref: F, role: "presentation" }, p.map((B) => /* @__PURE__ */ G.createElement(gu, { rowCtrl: B, containerType: o.type, key: B.instanceId })));
|
|
45379
45379
|
return /* @__PURE__ */ G.createElement("div", { className: w, ref: I, role: "rowgroup" }, H(), u ? te() : null);
|
|
45380
45380
|
}, tk = ct(ek), sk = () => {
|
|
45381
|
-
const e = je(it), { context: t, overlays: s } = e, [o, i] = M(""), [n, r] = M(0), [a, l] = M(0), [c, d] = M("0px"), [u, h] = M("0px"), [g, p] = M("100%"), [f, m] = M("0px"), [v, w] = M("0px"), [b, y] = M("100%"), [S, R] = M(!0), [x,
|
|
45382
|
-
|
|
45381
|
+
const e = je(it), { context: t, overlays: s } = e, [o, i] = M(""), [n, r] = M(0), [a, l] = M(0), [c, d] = M("0px"), [u, h] = M("0px"), [g, p] = M("100%"), [f, m] = M("0px"), [v, w] = M("0px"), [b, y] = M("100%"), [S, R] = M(!0), [x, P] = M(!0), [D, A] = M(null), [F, I] = M(""), [H, te] = M(null), [B, ae] = M("ag-layout-normal"), X = k();
|
|
45382
|
+
X.current || (X.current = new Ei(() => L.current));
|
|
45383
45383
|
const L = k(null), re = k(null), Y = k(null), K = k(null), $ = k(null), j = k(null), ce = k(null), ye = k([]), q = k([]);
|
|
45384
45384
|
Ts(" AG Grid Body ", L), Ts(" AG Pinned Top ", re), Ts(" AG Sticky Top ", Y), Ts(" AG Middle ", j), Ts(" AG Pinned Bottom ", ce);
|
|
45385
45385
|
const oe = N((be) => {
|
|
@@ -45399,8 +45399,8 @@ var TI = 1e3, MI = class {
|
|
|
45399
45399
|
_e(Te, document.createComment(jf)), _e(Te, Et(Xe).getGui());
|
|
45400
45400
|
};
|
|
45401
45401
|
Ue(be, o2, " AG Fake Horizontal Scroll ");
|
|
45402
|
-
const
|
|
45403
|
-
|
|
45402
|
+
const De = s?.getOverlayWrapperCompClass();
|
|
45403
|
+
De && Ue(be, De, " AG Overlay Wrapper "), $.current && Ue($.current, n2, " AG Fake Vertical Scroll ");
|
|
45404
45404
|
const cr = {
|
|
45405
45405
|
setRowAnimationCssOnBodyViewport: i,
|
|
45406
45406
|
setColumnCount: (Te) => {
|
|
@@ -45415,8 +45415,8 @@ var TI = 1e3, MI = class {
|
|
|
45415
45415
|
setStickyTopTop: h,
|
|
45416
45416
|
setStickyTopWidth: p,
|
|
45417
45417
|
setTopInvisible: R,
|
|
45418
|
-
setBottomInvisible:
|
|
45419
|
-
setColumnMovingCss: (Te, Xe) =>
|
|
45418
|
+
setBottomInvisible: P,
|
|
45419
|
+
setColumnMovingCss: (Te, Xe) => X.current.toggleCss(Te, Xe),
|
|
45420
45420
|
updateLayoutClasses: ae,
|
|
45421
45421
|
setAlwaysVerticalScrollClass: A,
|
|
45422
45422
|
setPinnedTopBottomOverflowY: I,
|
|
@@ -45444,15 +45444,15 @@ var TI = 1e3, MI = class {
|
|
|
45444
45444
|
Y.current,
|
|
45445
45445
|
K.current
|
|
45446
45446
|
);
|
|
45447
|
-
}, []),
|
|
45447
|
+
}, []), Pe = z(() => wt("ag-root", "ag-unselectable", B), [B]), me = z(
|
|
45448
45448
|
() => wt(
|
|
45449
45449
|
"ag-body-viewport",
|
|
45450
45450
|
o,
|
|
45451
45451
|
B,
|
|
45452
|
-
|
|
45452
|
+
D,
|
|
45453
45453
|
H
|
|
45454
45454
|
),
|
|
45455
|
-
[o, B,
|
|
45455
|
+
[o, B, D, H]
|
|
45456
45456
|
), he = z(() => wt("ag-body", B), [B]), Qe = z(
|
|
45457
45457
|
() => wt("ag-floating-top", S ? "ag-invisible" : null, H),
|
|
45458
45458
|
[H, S]
|
|
@@ -45469,7 +45469,7 @@ var TI = 1e3, MI = class {
|
|
|
45469
45469
|
overflowY: F
|
|
45470
45470
|
}),
|
|
45471
45471
|
[n, F]
|
|
45472
|
-
),
|
|
45472
|
+
), Q = z(
|
|
45473
45473
|
() => ({
|
|
45474
45474
|
height: c,
|
|
45475
45475
|
top: u,
|
|
@@ -45496,7 +45496,7 @@ var TI = 1e3, MI = class {
|
|
|
45496
45496
|
className: Et,
|
|
45497
45497
|
style: Ue
|
|
45498
45498
|
}) => /* @__PURE__ */ G.createElement("div", { ref: be, className: Et, role: "presentation", style: Ue }, _e.map(qe));
|
|
45499
|
-
return /* @__PURE__ */ G.createElement("div", { ref: oe, className:
|
|
45499
|
+
return /* @__PURE__ */ G.createElement("div", { ref: oe, className: Pe }, /* @__PURE__ */ G.createElement(WI, null), ie({
|
|
45500
45500
|
section: re,
|
|
45501
45501
|
className: Qe,
|
|
45502
45502
|
style: Ke,
|
|
@@ -45508,7 +45508,7 @@ var TI = 1e3, MI = class {
|
|
|
45508
45508
|
})), ie({
|
|
45509
45509
|
section: Y,
|
|
45510
45510
|
className: Fe,
|
|
45511
|
-
style:
|
|
45511
|
+
style: Q,
|
|
45512
45512
|
children: ["stickyTopLeft", "stickyTopCenter", "stickyTopRight", "stickyTopFullWidth"]
|
|
45513
45513
|
}), ie({
|
|
45514
45514
|
section: K,
|
|
@@ -45603,8 +45603,8 @@ var TI = 1e3, MI = class {
|
|
|
45603
45603
|
getFocusableContainers: () => {
|
|
45604
45604
|
const B = [], ae = p.current?.querySelector(".ag-root");
|
|
45605
45605
|
ae && B.push({ getGui: () => ae });
|
|
45606
|
-
for (const
|
|
45607
|
-
|
|
45606
|
+
for (const X of y.current)
|
|
45607
|
+
X.isDisplayed() && B.push(X);
|
|
45608
45608
|
return B;
|
|
45609
45609
|
},
|
|
45610
45610
|
setCursor: r,
|
|
@@ -45619,7 +45619,7 @@ var TI = 1e3, MI = class {
|
|
|
45619
45619
|
const te = [], {
|
|
45620
45620
|
watermarkSelector: B,
|
|
45621
45621
|
paginationSelector: ae,
|
|
45622
|
-
sideBarSelector:
|
|
45622
|
+
sideBarSelector: X,
|
|
45623
45623
|
statusBarSelector: L,
|
|
45624
45624
|
gridHeaderDropZonesSelector: re
|
|
45625
45625
|
} = I.getOptionalSelectors(), Y = [];
|
|
@@ -45627,8 +45627,8 @@ var TI = 1e3, MI = class {
|
|
|
45627
45627
|
const $ = e.createBean(new re.component()), j = $.getGui();
|
|
45628
45628
|
H.insertAdjacentElement("afterbegin", j), Y.push(j), te.push($);
|
|
45629
45629
|
}
|
|
45630
|
-
if (
|
|
45631
|
-
const $ = e.createBean(new
|
|
45630
|
+
if (X) {
|
|
45631
|
+
const $ = e.createBean(new X.component()), j = $.getGui(), ce = m.querySelector(".ag-tab-guard-bottom");
|
|
45632
45632
|
ce && (ce.insertAdjacentElement("beforebegin", j), Y.push(j)), te.push($), y.current.push($);
|
|
45633
45633
|
}
|
|
45634
45634
|
const K = ($) => {
|
|
@@ -45648,10 +45648,10 @@ var TI = 1e3, MI = class {
|
|
|
45648
45648
|
const x = z(
|
|
45649
45649
|
() => wt("ag-root-wrapper", t, o),
|
|
45650
45650
|
[t, o]
|
|
45651
|
-
),
|
|
45651
|
+
), P = z(
|
|
45652
45652
|
() => wt("ag-root-wrapper-body", "ag-focus-managed", o),
|
|
45653
45653
|
[o]
|
|
45654
|
-
),
|
|
45654
|
+
), D = z(
|
|
45655
45655
|
() => ({
|
|
45656
45656
|
userSelect: a ?? "",
|
|
45657
45657
|
WebkitUserSelect: a ?? "",
|
|
@@ -45661,7 +45661,7 @@ var TI = 1e3, MI = class {
|
|
|
45661
45661
|
), A = N((I) => {
|
|
45662
45662
|
f.current = I, h(I !== null);
|
|
45663
45663
|
}, []), F = N(() => !g.current?.isFocusable(), []);
|
|
45664
|
-
return /* @__PURE__ */ G.createElement("div", { ref: R, className: x, style:
|
|
45664
|
+
return /* @__PURE__ */ G.createElement("div", { ref: R, className: x, style: D, role: "presentation" }, /* @__PURE__ */ G.createElement("div", { className: P, ref: v, role: "presentation" }, c && m && !e.isDestroyed() && /* @__PURE__ */ G.createElement(it.Provider, { value: e.getBeans() }, /* @__PURE__ */ G.createElement(
|
|
45665
45665
|
rk,
|
|
45666
45666
|
{
|
|
45667
45667
|
ref: A,
|
|
@@ -45753,7 +45753,7 @@ var TI = 1e3, MI = class {
|
|
|
45753
45753
|
modules: w,
|
|
45754
45754
|
frameworkOverrides: S,
|
|
45755
45755
|
setThemeOnGridDiv: !0
|
|
45756
|
-
},
|
|
45756
|
+
}, P = (F) => {
|
|
45757
45757
|
u(F), F.createBean(R), i.current.push(() => {
|
|
45758
45758
|
F.destroy();
|
|
45759
45759
|
}), F.getBean("ctrlsSvc").whenReady(
|
|
@@ -45769,7 +45769,7 @@ var TI = 1e3, MI = class {
|
|
|
45769
45769
|
I && e.passGridApi?.(I);
|
|
45770
45770
|
}
|
|
45771
45771
|
);
|
|
45772
|
-
},
|
|
45772
|
+
}, D = (F) => {
|
|
45773
45773
|
F.getBean("ctrlsSvc").whenReady(
|
|
45774
45774
|
{
|
|
45775
45775
|
addDestroyFunc: (I) => {
|
|
@@ -45782,12 +45782,12 @@ var TI = 1e3, MI = class {
|
|
|
45782
45782
|
n.current.length = 0, c.current = !0;
|
|
45783
45783
|
}
|
|
45784
45784
|
);
|
|
45785
|
-
}, A = new
|
|
45785
|
+
}, A = new TD();
|
|
45786
45786
|
b.gridId ?? (b.gridId = l.current), t.current = A.create(
|
|
45787
45787
|
v,
|
|
45788
45788
|
b,
|
|
45789
|
-
D,
|
|
45790
45789
|
P,
|
|
45790
|
+
D,
|
|
45791
45791
|
x
|
|
45792
45792
|
), i.current.push(() => {
|
|
45793
45793
|
t.current = void 0;
|
|
@@ -45819,7 +45819,7 @@ function hk(e, t) {
|
|
|
45819
45819
|
}
|
|
45820
45820
|
return s;
|
|
45821
45821
|
}
|
|
45822
|
-
var gk = class extends
|
|
45822
|
+
var gk = class extends LD {
|
|
45823
45823
|
constructor(e, t) {
|
|
45824
45824
|
super(), this.parent = e, this.gridOptions = t;
|
|
45825
45825
|
}
|
|
@@ -45841,9 +45841,9 @@ var gk = class extends LP {
|
|
|
45841
45841
|
case "noRowsOverlayComponent":
|
|
45842
45842
|
return EI;
|
|
45843
45843
|
case "statusPanel":
|
|
45844
|
-
return DI;
|
|
45845
|
-
case "toolPanel":
|
|
45846
45844
|
return PI;
|
|
45845
|
+
case "toolPanel":
|
|
45846
|
+
return DI;
|
|
45847
45847
|
case "menuItem":
|
|
45848
45848
|
return FI;
|
|
45849
45849
|
case "cellRenderer":
|
|
@@ -45887,14 +45887,14 @@ var gk = class extends LP {
|
|
|
45887
45887
|
f.current = i.destroyBean(f.current), v.current?.();
|
|
45888
45888
|
return;
|
|
45889
45889
|
}
|
|
45890
|
-
const
|
|
45890
|
+
const P = {
|
|
45891
45891
|
toggleCss: (A, F) => l((I) => I.setClass(A, F)),
|
|
45892
45892
|
toggleDetailGridCss: (A, F) => d((I) => I.setClass(A, F)),
|
|
45893
45893
|
setDetailGrid: (A) => h(A),
|
|
45894
45894
|
setRowData: (A) => p(A),
|
|
45895
45895
|
getGui: () => m.current
|
|
45896
|
-
},
|
|
45897
|
-
if (
|
|
45896
|
+
}, D = o.createDynamicBean("detailCellRendererCtrl", !0);
|
|
45897
|
+
if (D && (i.createBean(D), D.init(P, e), f.current = D, n.get("detailRowAutoHeight"))) {
|
|
45898
45898
|
const A = () => {
|
|
45899
45899
|
if (m.current == null)
|
|
45900
45900
|
return;
|
|
@@ -46056,13 +46056,13 @@ const bk = ({
|
|
|
46056
46056
|
currentSelectedIds: S,
|
|
46057
46057
|
handleSelectionToggle: R,
|
|
46058
46058
|
headerCheckboxState: x,
|
|
46059
|
-
handleHeaderCheckboxChange:
|
|
46059
|
+
handleHeaderCheckboxChange: P
|
|
46060
46060
|
} = wk({
|
|
46061
46061
|
selectedRowIds: l,
|
|
46062
46062
|
onSelectionChange: c,
|
|
46063
46063
|
rowData: t,
|
|
46064
46064
|
getRowId: d
|
|
46065
|
-
}),
|
|
46065
|
+
}), D = z(
|
|
46066
46066
|
() => ({
|
|
46067
46067
|
...Xr,
|
|
46068
46068
|
oddRowBackgroundColor: u ? Xr.oddRowBackgroundColor : Xr.backgroundColor
|
|
@@ -46086,9 +46086,9 @@ const bk = ({
|
|
|
46086
46086
|
checked: x === "checked",
|
|
46087
46087
|
indeterminate: x === "indeterminate",
|
|
46088
46088
|
cssClass: `dial-header-select ${x}`,
|
|
46089
|
-
onChange:
|
|
46089
|
+
onChange: P
|
|
46090
46090
|
}
|
|
46091
|
-
) }), [x,
|
|
46091
|
+
) }), [x, P]), H = N(
|
|
46092
46092
|
(K) => {
|
|
46093
46093
|
if (K.data) {
|
|
46094
46094
|
const $ = o?.(K.data) ?? [], j = K.value == null ? "" : String(K.value);
|
|
@@ -46174,7 +46174,7 @@ const bk = ({
|
|
|
46174
46174
|
headerComponent: I
|
|
46175
46175
|
}),
|
|
46176
46176
|
[te, I]
|
|
46177
|
-
),
|
|
46177
|
+
), X = z(() => {
|
|
46178
46178
|
const K = (e ?? []).map(B);
|
|
46179
46179
|
return r ? [ae, ...K] : K;
|
|
46180
46180
|
}, [e, ae, r, B]), L = z(
|
|
@@ -46192,7 +46192,7 @@ const bk = ({
|
|
|
46192
46192
|
}),
|
|
46193
46193
|
[h]
|
|
46194
46194
|
), re = (K) => {
|
|
46195
|
-
const $ =
|
|
46195
|
+
const $ = X.map((j) => ({
|
|
46196
46196
|
...j,
|
|
46197
46197
|
sort: void 0
|
|
46198
46198
|
}));
|
|
@@ -46245,9 +46245,9 @@ const bk = ({
|
|
|
46245
46245
|
rowHeight: m,
|
|
46246
46246
|
cellSelection: !1,
|
|
46247
46247
|
getRowClass: F,
|
|
46248
|
-
theme: r3.withPart(VE).withParams({ ...
|
|
46248
|
+
theme: r3.withPart(VE).withParams({ ...D }),
|
|
46249
46249
|
autoSizeStrategy: { type: "fitGridWidth" },
|
|
46250
|
-
columnDefs:
|
|
46250
|
+
columnDefs: X,
|
|
46251
46251
|
defaultColDef: L,
|
|
46252
46252
|
onGridSizeChanged: A,
|
|
46253
46253
|
onGridReady: re,
|
|
@@ -46275,7 +46275,7 @@ const bk = ({
|
|
|
46275
46275
|
}
|
|
46276
46276
|
) });
|
|
46277
46277
|
};
|
|
46278
|
-
var qa = /* @__PURE__ */ ((e) => (e.MyFiles = "my_files", e.Shared = "shared", e.Organization = "organization", e))(qa || {}),
|
|
46278
|
+
var qa = /* @__PURE__ */ ((e) => (e.MyFiles = "my_files", e.Shared = "shared", e.Organization = "organization", e))(qa || {}), Pt = /* @__PURE__ */ ((e) => (e.Copy = "copy", e.Cut = "cut", e.Paste = "paste", e.Rename = "rename", e.Delete = "delete", e))(Pt || {});
|
|
46279
46279
|
const Nf = () => {
|
|
46280
46280
|
const [e, t] = M(Oc());
|
|
46281
46281
|
return fe(() => {
|
|
@@ -46412,7 +46412,7 @@ function Ek({
|
|
|
46412
46412
|
dependencies: n = []
|
|
46413
46413
|
}) {
|
|
46414
46414
|
const r = k(null), a = k(null), l = k(null), c = k(null), d = k([]), [u, h] = M(e.length);
|
|
46415
|
-
|
|
46415
|
+
Dt(() => {
|
|
46416
46416
|
if (!a.current) return;
|
|
46417
46417
|
const f = Array.from(a.current.children);
|
|
46418
46418
|
d.current = f.map(
|
|
@@ -46423,14 +46423,14 @@ function Ek({
|
|
|
46423
46423
|
let f = null;
|
|
46424
46424
|
const m = () => {
|
|
46425
46425
|
f && cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
46426
|
-
const w = r.current, b = l.current?.offsetWidth ?? 0, y = c.current?.offsetWidth ?? 0, S = b + y, x = w.getBoundingClientRect().width - S - s - o * 2 - i * 2,
|
|
46427
|
-
let
|
|
46426
|
+
const w = r.current, b = l.current?.offsetWidth ?? 0, y = c.current?.offsetWidth ?? 0, S = b + y, x = w.getBoundingClientRect().width - S - s - o * 2 - i * 2, P = d.current;
|
|
46427
|
+
let D = 0, A = 0;
|
|
46428
46428
|
if (t === fo.Reverse)
|
|
46429
|
-
for (let F =
|
|
46429
|
+
for (let F = P.length - 1; F >= 0 && (D += P[F] + o, !(D > x)); F--)
|
|
46430
46430
|
A++;
|
|
46431
46431
|
else
|
|
46432
|
-
for (const F of
|
|
46433
|
-
if (
|
|
46432
|
+
for (const F of P) {
|
|
46433
|
+
if (D += F + o, D > x) break;
|
|
46434
46434
|
A++;
|
|
46435
46435
|
}
|
|
46436
46436
|
h(A);
|
|
@@ -46452,7 +46452,7 @@ function Ek({
|
|
|
46452
46452
|
}
|
|
46453
46453
|
};
|
|
46454
46454
|
}
|
|
46455
|
-
const
|
|
46455
|
+
const Pk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
46456
46456
|
const o = Nf(), {
|
|
46457
46457
|
refs: { containerRef: i, leftSectionRef: n, measureRef: r },
|
|
46458
46458
|
visibleActions: a,
|
|
@@ -46539,7 +46539,7 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46539
46539
|
}
|
|
46540
46540
|
)
|
|
46541
46541
|
] });
|
|
46542
|
-
},
|
|
46542
|
+
}, Dk = (e = !1) => {
|
|
46543
46543
|
const [t, s] = M(e);
|
|
46544
46544
|
return {
|
|
46545
46545
|
areHiddenFilesVisible: t,
|
|
@@ -46618,7 +46618,7 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46618
46618
|
v,
|
|
46619
46619
|
p
|
|
46620
46620
|
);
|
|
46621
|
-
o?.(w), r(/* @__PURE__ */ new Set());
|
|
46621
|
+
o?.(w, f), r(/* @__PURE__ */ new Set());
|
|
46622
46622
|
} else if (a.size > 0) {
|
|
46623
46623
|
const w = fu(
|
|
46624
46624
|
f,
|
|
@@ -46626,8 +46626,8 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46626
46626
|
m,
|
|
46627
46627
|
v,
|
|
46628
46628
|
p
|
|
46629
|
-
);
|
|
46630
|
-
i?.(w), l(/* @__PURE__ */ new Set());
|
|
46629
|
+
), b = v.at(0)?.parentPath ?? "";
|
|
46630
|
+
i?.(w, b, f), l(/* @__PURE__ */ new Set());
|
|
46631
46631
|
}
|
|
46632
46632
|
},
|
|
46633
46633
|
[
|
|
@@ -46668,31 +46668,30 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46668
46668
|
setCurrentPath: i,
|
|
46669
46669
|
handlePathChange: n
|
|
46670
46670
|
};
|
|
46671
|
-
}, Lk = ({
|
|
46672
|
-
|
|
46673
|
-
|
|
46674
|
-
|
|
46675
|
-
|
|
46676
|
-
|
|
46677
|
-
|
|
46678
|
-
|
|
46679
|
-
}, []),
|
|
46680
|
-
|
|
46681
|
-
|
|
46682
|
-
const d = i.map((u) => ({
|
|
46671
|
+
}, Lk = ({ onDeleteFiles: e }) => {
|
|
46672
|
+
const [t, s] = M(!1), [o, i] = M([]), [n, r] = M(""), a = N(
|
|
46673
|
+
(d, u) => {
|
|
46674
|
+
i(d), r(u), s(!0);
|
|
46675
|
+
},
|
|
46676
|
+
[]
|
|
46677
|
+
), l = N(() => {
|
|
46678
|
+
s(!1), i([]);
|
|
46679
|
+
}, []), c = N(() => {
|
|
46680
|
+
if (e && o.length > 0) {
|
|
46681
|
+
const d = o.map((u) => ({
|
|
46683
46682
|
sourceUrl: u.path,
|
|
46684
46683
|
nodeType: u.nodeType
|
|
46685
46684
|
}));
|
|
46686
|
-
e(d,
|
|
46685
|
+
e(d, n);
|
|
46687
46686
|
}
|
|
46688
|
-
|
|
46689
|
-
}, [
|
|
46687
|
+
l();
|
|
46688
|
+
}, [o, e, l, n]);
|
|
46690
46689
|
return {
|
|
46691
|
-
deleteConfirmationOpen:
|
|
46692
|
-
itemsToDelete:
|
|
46693
|
-
openDeleteConfirmation:
|
|
46694
|
-
closeDeleteConfirmation:
|
|
46695
|
-
confirmDelete:
|
|
46690
|
+
deleteConfirmationOpen: t,
|
|
46691
|
+
itemsToDelete: o,
|
|
46692
|
+
openDeleteConfirmation: a,
|
|
46693
|
+
closeDeleteConfirmation: l,
|
|
46694
|
+
confirmDelete: c
|
|
46696
46695
|
};
|
|
46697
46696
|
}, Gf = _n(void 0), Ok = ({
|
|
46698
46697
|
onRename: e,
|
|
@@ -46749,17 +46748,17 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46749
46748
|
onRenameCancel: w,
|
|
46750
46749
|
onRenameValidate: b
|
|
46751
46750
|
}) => {
|
|
46752
|
-
const [y, S] = M(/* @__PURE__ */ new Set()), R = N(() => S(/* @__PURE__ */ new Set()), []), { currentPath: x, setCurrentPath:
|
|
46751
|
+
const [y, S] = M(/* @__PURE__ */ new Set()), R = N(() => S(/* @__PURE__ */ new Set()), []), { currentPath: x, setCurrentPath: P, handlePathChange: D } = Ak({
|
|
46753
46752
|
path: i,
|
|
46754
46753
|
onPathChange: u,
|
|
46755
46754
|
onSelectionClear: R
|
|
46756
|
-
}), { areHiddenFilesVisible: A, toggleHiddenFilesVisibility: F } =
|
|
46755
|
+
}), { areHiddenFilesVisible: A, toggleHiddenFilesVisibility: F } = Dk(), { isTreeCollapsed: I, toggleTreeCollapse: H, setIsTreeCollapsed: te } = Tk({
|
|
46757
46756
|
collapsed: n?.collapsed,
|
|
46758
46757
|
onCollapseChange: n?.onCollapseChange
|
|
46759
46758
|
}), {
|
|
46760
46759
|
renamedPath: B,
|
|
46761
46760
|
renameHandler: ae,
|
|
46762
|
-
renameSaveHandler:
|
|
46761
|
+
renameSaveHandler: X,
|
|
46763
46762
|
renameCancelHandler: L,
|
|
46764
46763
|
renameValidateHandler: re
|
|
46765
46764
|
} = Ok({
|
|
@@ -46789,14 +46788,13 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46789
46788
|
onCopyFiles: g,
|
|
46790
46789
|
onMoveToFiles: p
|
|
46791
46790
|
}), {
|
|
46792
|
-
deleteConfirmationOpen:
|
|
46791
|
+
deleteConfirmationOpen: Pe,
|
|
46793
46792
|
itemsToDelete: me,
|
|
46794
46793
|
openDeleteConfirmation: he,
|
|
46795
46794
|
closeDeleteConfirmation: Qe,
|
|
46796
46795
|
confirmDelete: Fe
|
|
46797
46796
|
} = Lk({
|
|
46798
|
-
onDeleteFiles: f
|
|
46799
|
-
getCurrentPath: () => j?.path ?? "/"
|
|
46797
|
+
onDeleteFiles: f
|
|
46800
46798
|
}), W = N(
|
|
46801
46799
|
(ie = !1) => {
|
|
46802
46800
|
oe(ie);
|
|
@@ -46805,35 +46803,35 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46805
46803
|
), ve = z(() => {
|
|
46806
46804
|
const ie = Zi($).trim(), be = j?.items ?? [];
|
|
46807
46805
|
let _e = ie ? ub(j) : be;
|
|
46808
|
-
A || (_e = _e.filter((
|
|
46809
|
-
const Et = _e.map((
|
|
46810
|
-
id:
|
|
46811
|
-
name:
|
|
46812
|
-
updatedAt:
|
|
46813
|
-
size:
|
|
46814
|
-
author:
|
|
46815
|
-
path:
|
|
46816
|
-
nodeType:
|
|
46817
|
-
extension:
|
|
46806
|
+
A || (_e = _e.filter((De) => !vh(De)));
|
|
46807
|
+
const Et = _e.map((De) => ({
|
|
46808
|
+
id: De.id ?? De.path,
|
|
46809
|
+
name: De.name ?? De.path.split("/").pop() ?? "",
|
|
46810
|
+
updatedAt: De.updatedAt,
|
|
46811
|
+
size: De.nodeType === ss.ITEM ? Nk(De.contentLength) : "-",
|
|
46812
|
+
author: De.author,
|
|
46813
|
+
path: De.path,
|
|
46814
|
+
nodeType: De.nodeType,
|
|
46815
|
+
extension: De.extension
|
|
46818
46816
|
}));
|
|
46819
46817
|
if (!ie) return Et;
|
|
46820
46818
|
const Ue = ie.split(/\s+/).filter(Boolean);
|
|
46821
|
-
return Et.filter((
|
|
46822
|
-
const cr = Zi(
|
|
46819
|
+
return Et.filter((De) => {
|
|
46820
|
+
const cr = Zi(De.name), ki = Zi(De.author), Te = db(De.extension);
|
|
46823
46821
|
return Ue.every(
|
|
46824
46822
|
(Xe) => cr.includes(Xe) || ki.includes(Xe) || Te.includes(Xe)
|
|
46825
46823
|
);
|
|
46826
46824
|
});
|
|
46827
46825
|
}, [j, $, A]), Ke = N(
|
|
46828
46826
|
(ie) => {
|
|
46829
|
-
|
|
46827
|
+
D(ie.path);
|
|
46830
46828
|
},
|
|
46831
|
-
[
|
|
46832
|
-
),
|
|
46829
|
+
[D]
|
|
46830
|
+
), Q = N(
|
|
46833
46831
|
(ie) => {
|
|
46834
|
-
|
|
46832
|
+
D(ie);
|
|
46835
46833
|
},
|
|
46836
|
-
[
|
|
46834
|
+
[D]
|
|
46837
46835
|
), Ce = N(
|
|
46838
46836
|
(ie) => {
|
|
46839
46837
|
const be = String(ie ?? "");
|
|
@@ -46842,9 +46840,9 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46842
46840
|
[r]
|
|
46843
46841
|
), We = N(
|
|
46844
46842
|
(ie) => {
|
|
46845
|
-
ie.nodeType === ss.FOLDER ?
|
|
46843
|
+
ie.nodeType === ss.FOLDER ? D(ie.path) : h?.(ie);
|
|
46846
46844
|
},
|
|
46847
|
-
[
|
|
46845
|
+
[D, h]
|
|
46848
46846
|
), qe = {
|
|
46849
46847
|
cssClass: t,
|
|
46850
46848
|
items: s,
|
|
@@ -46856,7 +46854,7 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46856
46854
|
bulkActionsToolbarOptions: d,
|
|
46857
46855
|
deleteConfirmationOptions: a,
|
|
46858
46856
|
currentPath: x,
|
|
46859
|
-
setCurrentPath:
|
|
46857
|
+
setCurrentPath: P,
|
|
46860
46858
|
searchValue: Y,
|
|
46861
46859
|
effectiveSearchValue: $,
|
|
46862
46860
|
setSearchValue: K,
|
|
@@ -46876,17 +46874,17 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46876
46874
|
onPaste: W,
|
|
46877
46875
|
renamedPath: B,
|
|
46878
46876
|
onRename: ae,
|
|
46879
|
-
onRenameSave:
|
|
46877
|
+
onRenameSave: X,
|
|
46880
46878
|
onRenameCancel: L,
|
|
46881
46879
|
onRenameValidate: re,
|
|
46882
46880
|
openDeleteConfirmation: he,
|
|
46883
46881
|
closeDeleteConfirmation: Qe,
|
|
46884
46882
|
confirmDelete: Fe,
|
|
46885
|
-
deleteConfirmationOpen:
|
|
46883
|
+
deleteConfirmationOpen: Pe,
|
|
46886
46884
|
itemsToDelete: me,
|
|
46887
|
-
handlePathChange:
|
|
46885
|
+
handlePathChange: D,
|
|
46888
46886
|
handleTreeItemClick: Ke,
|
|
46889
|
-
handleBreadcrumbItemClick:
|
|
46887
|
+
handleBreadcrumbItemClick: Q,
|
|
46890
46888
|
handleSearchChange: Ce,
|
|
46891
46889
|
handleTableRowClick: We,
|
|
46892
46890
|
onTableFileClick: h
|
|
@@ -46975,8 +46973,8 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46975
46973
|
handleTreeItemClick: S,
|
|
46976
46974
|
handleTableRowClick: R,
|
|
46977
46975
|
onCopy: x,
|
|
46978
|
-
onCut:
|
|
46979
|
-
onPaste:
|
|
46976
|
+
onCut: P,
|
|
46977
|
+
onPaste: D,
|
|
46980
46978
|
clipboard: A,
|
|
46981
46979
|
openDeleteConfirmation: F,
|
|
46982
46980
|
closeDeleteConfirmation: I,
|
|
@@ -46984,7 +46982,7 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46984
46982
|
deleteConfirmationOpen: te,
|
|
46985
46983
|
itemsToDelete: B,
|
|
46986
46984
|
renamedPath: ae,
|
|
46987
|
-
onRename:
|
|
46985
|
+
onRename: X,
|
|
46988
46986
|
onRenameSave: L,
|
|
46989
46987
|
onRenameCancel: re,
|
|
46990
46988
|
onRenameValidate: Y
|
|
@@ -46997,7 +46995,7 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46997
46995
|
} = o ?? {}, {
|
|
46998
46996
|
columnDefs: q,
|
|
46999
46997
|
filterable: oe = !0,
|
|
47000
|
-
dateLocale:
|
|
46998
|
+
dateLocale: Pe,
|
|
47001
46999
|
dateOptions: me,
|
|
47002
47000
|
...he
|
|
47003
47001
|
} = n ?? {}, Qe = z(() => [
|
|
@@ -47006,7 +47004,7 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
47006
47004
|
headerName: "Name",
|
|
47007
47005
|
flex: 1,
|
|
47008
47006
|
minWidth: 200,
|
|
47009
|
-
cellRenderer: (
|
|
47007
|
+
cellRenderer: (Q) => Q.data?.nodeType === ss.FOLDER ? /* @__PURE__ */ C(lh, { name: Q.data.name }) : /* @__PURE__ */ C(ah, { name: Q.data.name })
|
|
47010
47008
|
},
|
|
47011
47009
|
{
|
|
47012
47010
|
field: "updatedAt",
|
|
@@ -47015,7 +47013,7 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
47015
47013
|
suppressSizeToFit: !0,
|
|
47016
47014
|
cellRenderer: c1,
|
|
47017
47015
|
cellRendererParams: {
|
|
47018
|
-
locale:
|
|
47016
|
+
locale: Pe,
|
|
47019
47017
|
emptyPlaceholder: "—",
|
|
47020
47018
|
options: me
|
|
47021
47019
|
}
|
|
@@ -47026,25 +47024,25 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
47026
47024
|
width: 120,
|
|
47027
47025
|
suppressSizeToFit: !0
|
|
47028
47026
|
}
|
|
47029
|
-
], [
|
|
47030
|
-
...
|
|
47027
|
+
], [Pe, me]), Fe = q ?? Qe, W = z(() => oe ? Fe : Fe.map((Q) => ({
|
|
47028
|
+
...Q,
|
|
47031
47029
|
filter: !1,
|
|
47032
47030
|
floatingFilter: !1
|
|
47033
|
-
})), [Fe, oe]), ve = (
|
|
47031
|
+
})), [Fe, oe]), ve = (Q) => {
|
|
47034
47032
|
const Ce = [];
|
|
47035
|
-
return o?.actionLabels && (o.actionLabels[
|
|
47033
|
+
return o?.actionLabels && (o.actionLabels[Pt.Copy] && Ce.push({
|
|
47036
47034
|
key: "copy",
|
|
47037
|
-
label: o.actionLabels[
|
|
47035
|
+
label: o.actionLabels[Pt.Copy],
|
|
47038
47036
|
icon: /* @__PURE__ */ C(Wm, { ...Se, className: "text-secondary" }),
|
|
47039
|
-
onClick: () => x([
|
|
47040
|
-
}), o.actionLabels[
|
|
47037
|
+
onClick: () => x([Q.path])
|
|
47038
|
+
}), o.actionLabels[Pt.Cut] && Ce.push({
|
|
47041
47039
|
key: "cut",
|
|
47042
|
-
label: o.actionLabels[
|
|
47040
|
+
label: o.actionLabels[Pt.Cut],
|
|
47043
47041
|
icon: /* @__PURE__ */ C(_m, { ...Se, className: "text-secondary" }),
|
|
47044
|
-
onClick: () =>
|
|
47045
|
-
}), o.actionLabels[
|
|
47042
|
+
onClick: () => P([Q.path])
|
|
47043
|
+
}), o.actionLabels[Pt.Paste] && Ce.push({
|
|
47046
47044
|
key: "paste",
|
|
47047
|
-
label: o.actionLabels[
|
|
47045
|
+
label: o.actionLabels[Pt.Paste],
|
|
47048
47046
|
disabled: !A.hasItems,
|
|
47049
47047
|
icon: /* @__PURE__ */ C(
|
|
47050
47048
|
Um,
|
|
@@ -47053,20 +47051,20 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
47053
47051
|
className: "text-secondary"
|
|
47054
47052
|
}
|
|
47055
47053
|
),
|
|
47056
|
-
onClick: () =>
|
|
47057
|
-
}), o.actionLabels[
|
|
47054
|
+
onClick: () => D()
|
|
47055
|
+
}), o.actionLabels[Pt.Rename] && Ce.push({
|
|
47058
47056
|
key: "rename",
|
|
47059
|
-
label: o.actionLabels[
|
|
47057
|
+
label: o.actionLabels[Pt.Rename],
|
|
47060
47058
|
icon: /* @__PURE__ */ C($m, { ...Se, className: "text-secondary" }),
|
|
47061
|
-
onClick: () => Q
|
|
47062
|
-
}), o.actionLabels[
|
|
47059
|
+
onClick: () => X(Q.path)
|
|
47060
|
+
}), o.actionLabels[Pt.Delete] && Ce.push({
|
|
47063
47061
|
key: "delete",
|
|
47064
|
-
label: o.actionLabels[
|
|
47062
|
+
label: o.actionLabels[Pt.Delete],
|
|
47065
47063
|
icon: /* @__PURE__ */ C(cl, { ...Se, className: "text-secondary" }),
|
|
47066
|
-
onClick: () => F([
|
|
47064
|
+
onClick: () => F([Q], Q.parentPath ?? "")
|
|
47067
47065
|
})), Ce;
|
|
47068
|
-
}, Ke = (
|
|
47069
|
-
m(
|
|
47066
|
+
}, Ke = (Q) => {
|
|
47067
|
+
m(Q);
|
|
47070
47068
|
};
|
|
47071
47069
|
return /* @__PURE__ */ V(
|
|
47072
47070
|
"section",
|
|
@@ -47102,7 +47100,7 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
47102
47100
|
role: "toolbar",
|
|
47103
47101
|
"aria-label": "File Manager Toolbar",
|
|
47104
47102
|
children: /* @__PURE__ */ C(
|
|
47105
|
-
|
|
47103
|
+
Pk,
|
|
47106
47104
|
{
|
|
47107
47105
|
...a,
|
|
47108
47106
|
onClearSelection: v,
|
|
@@ -47153,7 +47151,7 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
47153
47151
|
...i ?? {},
|
|
47154
47152
|
path: g,
|
|
47155
47153
|
onItemClick: b,
|
|
47156
|
-
makeHref: (
|
|
47154
|
+
makeHref: (Q) => "/" + Q.join("/"),
|
|
47157
47155
|
rootItemPath: s?.path,
|
|
47158
47156
|
rootItemLabel: s?.breadcrumbLabel,
|
|
47159
47157
|
value: w,
|
|
@@ -47171,12 +47169,12 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
47171
47169
|
{
|
|
47172
47170
|
columnDefs: W,
|
|
47173
47171
|
rowData: p,
|
|
47174
|
-
getRowId: (
|
|
47172
|
+
getRowId: (Q) => Q.path,
|
|
47175
47173
|
...he,
|
|
47176
47174
|
additionalGridOptions: {
|
|
47177
47175
|
...he.additionalGridOptions,
|
|
47178
|
-
onCellClicked: (
|
|
47179
|
-
|
|
47176
|
+
onCellClicked: (Q) => {
|
|
47177
|
+
Q.colDef.colId !== "__select" && Q.data && R(Q.data);
|
|
47180
47178
|
}
|
|
47181
47179
|
},
|
|
47182
47180
|
selectedRowIds: f,
|
|
@@ -47226,7 +47224,7 @@ const Dk = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
47226
47224
|
s(i);
|
|
47227
47225
|
}, []);
|
|
47228
47226
|
return /* @__PURE__ */ C(
|
|
47229
|
-
|
|
47227
|
+
Po,
|
|
47230
47228
|
{
|
|
47231
47229
|
type: t ? "text" : "password",
|
|
47232
47230
|
...e,
|
|
@@ -47439,10 +47437,10 @@ const Yk = ({
|
|
|
47439
47437
|
onChange: S,
|
|
47440
47438
|
inlineSearch: R = !1
|
|
47441
47439
|
}) => {
|
|
47442
|
-
const [x,
|
|
47443
|
-
const W =
|
|
47440
|
+
const [x, P] = M(!1), [D, A] = M(""), F = il(), I = k(null), H = s !== void 0, [te, B] = M(o), ae = H ? s : te, X = z(() => t ? Array.isArray(ae) ? ae : [] : typeof ae == "string" ? [ae] : [], [ae, t]), L = z(() => {
|
|
47441
|
+
const W = D.trim().toLowerCase();
|
|
47444
47442
|
return W ? e.filter((ve) => ve.label.toLowerCase().includes(W)) : e;
|
|
47445
|
-
}, [e,
|
|
47443
|
+
}, [e, D]);
|
|
47446
47444
|
fe(() => {
|
|
47447
47445
|
x || A("");
|
|
47448
47446
|
}, [x]);
|
|
@@ -47453,36 +47451,36 @@ const Yk = ({
|
|
|
47453
47451
|
[H, S]
|
|
47454
47452
|
), Y = (W) => {
|
|
47455
47453
|
if (t) {
|
|
47456
|
-
const ve = new Set(
|
|
47454
|
+
const ve = new Set(X);
|
|
47457
47455
|
ve.has(W) ? ve.delete(W) : ve.add(W), re(Array.from(ve));
|
|
47458
47456
|
} else
|
|
47459
|
-
re(W),
|
|
47457
|
+
re(W), P(!1);
|
|
47460
47458
|
}, K = N(
|
|
47461
47459
|
(W, ve) => {
|
|
47462
47460
|
if (W.stopPropagation(), !t) {
|
|
47463
47461
|
re("");
|
|
47464
47462
|
return;
|
|
47465
47463
|
}
|
|
47466
|
-
const Ke =
|
|
47464
|
+
const Ke = X.filter((Q) => Q !== ve);
|
|
47467
47465
|
re(Ke);
|
|
47468
47466
|
},
|
|
47469
|
-
[t,
|
|
47467
|
+
[t, X, re]
|
|
47470
47468
|
), $ = z(
|
|
47471
47469
|
() => L.filter((W) => !W.disabled),
|
|
47472
47470
|
[L]
|
|
47473
47471
|
), j = z(
|
|
47474
|
-
() => $.filter((W) =>
|
|
47475
|
-
[$,
|
|
47472
|
+
() => $.filter((W) => X.includes(W.value)).length,
|
|
47473
|
+
[$, X]
|
|
47476
47474
|
), ce = $.length > 0 && j === $.length, ye = j > 0 && !ce, q = () => {
|
|
47477
47475
|
if (!(!t || $.length === 0))
|
|
47478
47476
|
if (ce) {
|
|
47479
|
-
const W = new Set($.map((Ke) => Ke.value)), ve =
|
|
47477
|
+
const W = new Set($.map((Ke) => Ke.value)), ve = X.filter((Ke) => !W.has(Ke));
|
|
47480
47478
|
re(ve);
|
|
47481
47479
|
} else {
|
|
47482
|
-
const W = new Set(
|
|
47480
|
+
const W = new Set(X);
|
|
47483
47481
|
$.forEach((ve) => W.add(ve.value)), re(Array.from(W));
|
|
47484
47482
|
}
|
|
47485
|
-
}, oe =
|
|
47483
|
+
}, oe = X.length > 0;
|
|
47486
47484
|
fe(() => {
|
|
47487
47485
|
x && R && !t && !f && requestAnimationFrame(() => {
|
|
47488
47486
|
const W = I.current;
|
|
@@ -47492,17 +47490,17 @@ const Yk = ({
|
|
|
47492
47490
|
W.setSelectionRange?.(ve, ve);
|
|
47493
47491
|
});
|
|
47494
47492
|
}, [x, R, t, f]);
|
|
47495
|
-
const
|
|
47496
|
-
() =>
|
|
47497
|
-
[e,
|
|
47498
|
-
), he = N(() => !t ||
|
|
47493
|
+
const Pe = !t && oe ? X[0] : void 0, me = z(
|
|
47494
|
+
() => Pe ? e.find((W) => W.value === Pe) : void 0,
|
|
47495
|
+
[e, Pe]
|
|
47496
|
+
), he = N(() => !t || X.length === 0 ? null : /* @__PURE__ */ C(
|
|
47499
47497
|
Vf,
|
|
47500
47498
|
{
|
|
47501
47499
|
options: e,
|
|
47502
|
-
selectedValues:
|
|
47500
|
+
selectedValues: X,
|
|
47503
47501
|
handleRemoveTag: K
|
|
47504
47502
|
}
|
|
47505
|
-
), [t, e,
|
|
47503
|
+
), [t, e, X, K]), Qe = N(() => t ? oe ? he() : /* @__PURE__ */ C("span", { className: "text-secondary truncate", children: a }) : me ? /* @__PURE__ */ V(Be, { children: [
|
|
47506
47504
|
me.icon && /* @__PURE__ */ C(ke, { icon: me.icon }),
|
|
47507
47505
|
/* @__PURE__ */ C(
|
|
47508
47506
|
_t,
|
|
@@ -47518,12 +47516,12 @@ const Yk = ({
|
|
|
47518
47516
|
a,
|
|
47519
47517
|
he,
|
|
47520
47518
|
me
|
|
47521
|
-
]), Fe = x ?
|
|
47519
|
+
]), Fe = x ? D : me?.label ?? "";
|
|
47522
47520
|
return /* @__PURE__ */ C(
|
|
47523
47521
|
Mt,
|
|
47524
47522
|
{
|
|
47525
47523
|
open: x,
|
|
47526
|
-
onOpenChange:
|
|
47524
|
+
onOpenChange: P,
|
|
47527
47525
|
disabled: f,
|
|
47528
47526
|
closable: v,
|
|
47529
47527
|
onClose: y,
|
|
@@ -47544,7 +47542,7 @@ const Yk = ({
|
|
|
47544
47542
|
{
|
|
47545
47543
|
placeholder: c,
|
|
47546
47544
|
onChange: A,
|
|
47547
|
-
value:
|
|
47545
|
+
value: D,
|
|
47548
47546
|
elementId: `search-${F}`
|
|
47549
47547
|
}
|
|
47550
47548
|
),
|
|
@@ -47555,7 +47553,7 @@ const Yk = ({
|
|
|
47555
47553
|
cssClass: "shrink-0",
|
|
47556
47554
|
iconBefore: /* @__PURE__ */ C(Bs, { size: 16 }),
|
|
47557
47555
|
onClick: (W) => {
|
|
47558
|
-
y?.(W),
|
|
47556
|
+
y?.(W), P(!1);
|
|
47559
47557
|
}
|
|
47560
47558
|
}
|
|
47561
47559
|
)
|
|
@@ -47579,7 +47577,7 @@ const Yk = ({
|
|
|
47579
47577
|
description: g
|
|
47580
47578
|
}
|
|
47581
47579
|
) }) : L.map((W) => {
|
|
47582
|
-
const ve =
|
|
47580
|
+
const ve = X.includes(W.value);
|
|
47583
47581
|
return t ? /* @__PURE__ */ V(
|
|
47584
47582
|
"div",
|
|
47585
47583
|
{
|
|
@@ -47656,7 +47654,7 @@ const Yk = ({
|
|
|
47656
47654
|
f || R && !t && W.preventDefault();
|
|
47657
47655
|
},
|
|
47658
47656
|
onClick: () => {
|
|
47659
|
-
f || (
|
|
47657
|
+
f || (P((W) => !W), R && !t && I.current?.focus());
|
|
47660
47658
|
},
|
|
47661
47659
|
children: [
|
|
47662
47660
|
R && !t ? /* @__PURE__ */ V("div", { className: "flex min-w-0 items-center gap-2 text-primary flex-1", children: [
|
|
@@ -47668,7 +47666,7 @@ const Yk = ({
|
|
|
47668
47666
|
placeholder: c ?? a,
|
|
47669
47667
|
value: Fe,
|
|
47670
47668
|
onChange: (W) => A(W.currentTarget.value),
|
|
47671
|
-
onFocus: () => !f &&
|
|
47669
|
+
onFocus: () => !f && P(!0),
|
|
47672
47670
|
onMouseDown: (W) => W.stopPropagation(),
|
|
47673
47671
|
onClick: (W) => W.stopPropagation(),
|
|
47674
47672
|
className: "bg-transparent outline-none w-full dial-small",
|
|
@@ -47683,7 +47681,7 @@ const Yk = ({
|
|
|
47683
47681
|
ariaLabel: "Clear selection",
|
|
47684
47682
|
iconBefore: /* @__PURE__ */ C(Bs, { size: 16 }),
|
|
47685
47683
|
onClick: (W) => {
|
|
47686
|
-
W.stopPropagation(), re(""), A(""),
|
|
47684
|
+
W.stopPropagation(), re(""), A(""), P(!0);
|
|
47687
47685
|
}
|
|
47688
47686
|
}
|
|
47689
47687
|
)
|
|
@@ -48362,11 +48360,11 @@ const cA = function(t, s, o) {
|
|
|
48362
48360
|
[m]
|
|
48363
48361
|
), x = (F) => {
|
|
48364
48362
|
(F.key === "Enter" || F.key === "Space") && (F.preventDefault(), u.current?.click());
|
|
48365
|
-
},
|
|
48363
|
+
}, P = (F) => {
|
|
48366
48364
|
F?.preventDefault();
|
|
48367
48365
|
const I = Array.from(F.dataTransfer?.items ?? []);
|
|
48368
48366
|
f(!!c?.(I)), g(I);
|
|
48369
|
-
},
|
|
48367
|
+
}, D = (F) => {
|
|
48370
48368
|
F.target === F.currentTarget && b();
|
|
48371
48369
|
}, A = Z(
|
|
48372
48370
|
"border border-dashed rounded w-full cursor-pointer relative h-full hover:border-hover",
|
|
@@ -48380,8 +48378,8 @@ const cA = function(t, s, o) {
|
|
|
48380
48378
|
{
|
|
48381
48379
|
className: A,
|
|
48382
48380
|
ref: d,
|
|
48383
|
-
onDragOver:
|
|
48384
|
-
onDragLeave:
|
|
48381
|
+
onDragOver: P,
|
|
48382
|
+
onDragLeave: D,
|
|
48385
48383
|
children: [
|
|
48386
48384
|
/* @__PURE__ */ V(
|
|
48387
48385
|
"label",
|
|
@@ -48429,7 +48427,7 @@ const cA = function(t, s, o) {
|
|
|
48429
48427
|
}) => {
|
|
48430
48428
|
const i = o.invalid;
|
|
48431
48429
|
return /* @__PURE__ */ C(
|
|
48432
|
-
|
|
48430
|
+
Po,
|
|
48433
48431
|
{
|
|
48434
48432
|
...o,
|
|
48435
48433
|
iconBefore: /* @__PURE__ */ C("div", { className: "mr-2", children: i ? /* @__PURE__ */ C(al, { ...Se, className: "text-error" }) : e }),
|
|
@@ -48451,7 +48449,7 @@ const cA = function(t, s, o) {
|
|
|
48451
48449
|
} = e, l = (u, h) => {
|
|
48452
48450
|
u.stopPropagation(), i(t?.filter((g) => g.name !== h) || []);
|
|
48453
48451
|
}, c = (u) => /* @__PURE__ */ C(
|
|
48454
|
-
|
|
48452
|
+
P1,
|
|
48455
48453
|
{
|
|
48456
48454
|
ariaLabel: a,
|
|
48457
48455
|
onClick: (h) => l(h, u)
|
|
@@ -48601,7 +48599,7 @@ export {
|
|
|
48601
48599
|
Ho as DialFieldLabel,
|
|
48602
48600
|
rh as DialFileIcon,
|
|
48603
48601
|
MA as DialFileManager,
|
|
48604
|
-
|
|
48602
|
+
Pt as DialFileManagerActions,
|
|
48605
48603
|
Q1 as DialFileManagerNavigationPanel,
|
|
48606
48604
|
qa as DialFileManagerTabs,
|
|
48607
48605
|
ah as DialFileName,
|
|
@@ -48610,11 +48608,11 @@ export {
|
|
|
48610
48608
|
nb as DialFileResourceType,
|
|
48611
48609
|
lh as DialFolderName,
|
|
48612
48610
|
hl as DialFormItem,
|
|
48613
|
-
|
|
48611
|
+
PA as DialFormPopup,
|
|
48614
48612
|
ke as DialIcon,
|
|
48615
|
-
|
|
48613
|
+
Po as DialInput,
|
|
48616
48614
|
_1 as DialInputPopup,
|
|
48617
|
-
|
|
48615
|
+
Do as DialItemType,
|
|
48618
48616
|
SA as DialLabelledText,
|
|
48619
48617
|
OA as DialLoadFileAreaField,
|
|
48620
48618
|
$n as DialLoader,
|
|
@@ -48626,7 +48624,7 @@ export {
|
|
|
48626
48624
|
WC as DialRadioButton,
|
|
48627
48625
|
qC as DialRadioGroup,
|
|
48628
48626
|
EA as DialRadioGroupPopupField,
|
|
48629
|
-
|
|
48627
|
+
P1 as DialRemoveButton,
|
|
48630
48628
|
Ch as DialSearch,
|
|
48631
48629
|
Yk as DialSelect,
|
|
48632
48630
|
LA as DialSelectField,
|
|
@@ -48638,7 +48636,7 @@ export {
|
|
|
48638
48636
|
AA as DialTagInput,
|
|
48639
48637
|
FA as DialTextAreaField,
|
|
48640
48638
|
xA as DialTextInputField,
|
|
48641
|
-
|
|
48639
|
+
D1 as DialTextarea,
|
|
48642
48640
|
Ss as DialTooltip,
|
|
48643
48641
|
dh as DropdownItemType,
|
|
48644
48642
|
Vt as DropdownTrigger,
|