@epam/ai-dial-ui-kit 0.7.0-rc.2 → 0.7.0-rc.3

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.
@@ -204,8 +204,8 @@ const Td = "-", Qw = (e) => {
204
204
  continue;
205
205
  r.push(S);
206
206
  const y = o(C, v);
207
- for (let F = 0; F < y.length; ++F) {
208
- const R = y[F];
207
+ for (let x = 0; x < y.length; ++x) {
208
+ const R = y[x];
209
209
  r.push(b + R);
210
210
  }
211
211
  l = d + (l.length > 0 ? " " + l : l);
@@ -276,9 +276,9 @@ const ot = (e) => {
276
276
  "bottom-left",
277
277
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
278
278
  "left-bottom"
279
- ], y = () => [...S(), he, ue], F = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], x = () => [he, ue, l], P = () => [Hi, "full", "auto", ...x()], T = () => [Bs, "none", "subgrid", he, ue], E = () => ["auto", {
279
+ ], y = () => [...S(), he, ue], x = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], F = () => [he, ue, l], P = () => [Hi, "full", "auto", ...F()], T = () => [Bs, "none", "subgrid", he, ue], E = () => ["auto", {
280
280
  span: ["full", Bs, he, ue]
281
- }, Bs, he, ue], A = () => [Bs, "auto", he, ue], U = () => ["auto", "min", "max", "fr", he, ue], B = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], H = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], X = () => ["auto", ...x()], se = () => [Hi, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...x()], N = () => [e, he, ue], de = () => [...S(), $u, Uu, {
281
+ }, Bs, he, ue], A = () => [Bs, "auto", he, ue], U = () => ["auto", "min", "max", "fr", he, ue], B = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], H = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], X = () => ["auto", ...F()], se = () => [Hi, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...F()], N = () => [e, he, ue], de = () => [...S(), $u, Uu, {
282
282
  position: [he, ue]
283
283
  }], j = () => ["no-repeat", {
284
284
  repeat: ["", "x", "y", "space", "round"]
@@ -299,7 +299,7 @@ const ot = (e) => {
299
299
  p,
300
300
  he,
301
301
  ue
302
- ], Re = () => ["none", Me, he, ue], $ = () => ["none", Me, he, ue], V = () => [Me, he, ue], Y = () => [Hi, "full", ...x()];
302
+ ], Re = () => ["none", Me, he, ue], $ = () => ["none", Me, he, ue], V = () => [Me, he, ue], Y = () => [Hi, "full", ...F()];
303
303
  return {
304
304
  cacheSize: 500,
305
305
  theme: {
@@ -430,21 +430,21 @@ const ot = (e) => {
430
430
  * @see https://tailwindcss.com/docs/overflow
431
431
  */
432
432
  overflow: [{
433
- overflow: F()
433
+ overflow: x()
434
434
  }],
435
435
  /**
436
436
  * Overflow X
437
437
  * @see https://tailwindcss.com/docs/overflow
438
438
  */
439
439
  "overflow-x": [{
440
- "overflow-x": F()
440
+ "overflow-x": x()
441
441
  }],
442
442
  /**
443
443
  * Overflow Y
444
444
  * @see https://tailwindcss.com/docs/overflow
445
445
  */
446
446
  "overflow-y": [{
447
- "overflow-y": F()
447
+ "overflow-y": x()
448
448
  }],
449
449
  /**
450
450
  * Overscroll Behavior
@@ -555,7 +555,7 @@ const ot = (e) => {
555
555
  * @see https://tailwindcss.com/docs/flex-basis
556
556
  */
557
557
  basis: [{
558
- basis: [Hi, "full", "auto", a, ...x()]
558
+ basis: [Hi, "full", "auto", a, ...F()]
559
559
  }],
560
560
  /**
561
561
  * Flex Direction
@@ -681,21 +681,21 @@ const ot = (e) => {
681
681
  * @see https://tailwindcss.com/docs/gap
682
682
  */
683
683
  gap: [{
684
- gap: x()
684
+ gap: F()
685
685
  }],
686
686
  /**
687
687
  * Gap X
688
688
  * @see https://tailwindcss.com/docs/gap
689
689
  */
690
690
  "gap-x": [{
691
- "gap-x": x()
691
+ "gap-x": F()
692
692
  }],
693
693
  /**
694
694
  * Gap Y
695
695
  * @see https://tailwindcss.com/docs/gap
696
696
  */
697
697
  "gap-y": [{
698
- "gap-y": x()
698
+ "gap-y": F()
699
699
  }],
700
700
  /**
701
701
  * Justify Content
@@ -770,63 +770,63 @@ const ot = (e) => {
770
770
  * @see https://tailwindcss.com/docs/padding
771
771
  */
772
772
  p: [{
773
- p: x()
773
+ p: F()
774
774
  }],
775
775
  /**
776
776
  * Padding X
777
777
  * @see https://tailwindcss.com/docs/padding
778
778
  */
779
779
  px: [{
780
- px: x()
780
+ px: F()
781
781
  }],
782
782
  /**
783
783
  * Padding Y
784
784
  * @see https://tailwindcss.com/docs/padding
785
785
  */
786
786
  py: [{
787
- py: x()
787
+ py: F()
788
788
  }],
789
789
  /**
790
790
  * Padding Start
791
791
  * @see https://tailwindcss.com/docs/padding
792
792
  */
793
793
  ps: [{
794
- ps: x()
794
+ ps: F()
795
795
  }],
796
796
  /**
797
797
  * Padding End
798
798
  * @see https://tailwindcss.com/docs/padding
799
799
  */
800
800
  pe: [{
801
- pe: x()
801
+ pe: F()
802
802
  }],
803
803
  /**
804
804
  * Padding Top
805
805
  * @see https://tailwindcss.com/docs/padding
806
806
  */
807
807
  pt: [{
808
- pt: x()
808
+ pt: F()
809
809
  }],
810
810
  /**
811
811
  * Padding Right
812
812
  * @see https://tailwindcss.com/docs/padding
813
813
  */
814
814
  pr: [{
815
- pr: x()
815
+ pr: F()
816
816
  }],
817
817
  /**
818
818
  * Padding Bottom
819
819
  * @see https://tailwindcss.com/docs/padding
820
820
  */
821
821
  pb: [{
822
- pb: x()
822
+ pb: F()
823
823
  }],
824
824
  /**
825
825
  * Padding Left
826
826
  * @see https://tailwindcss.com/docs/padding
827
827
  */
828
828
  pl: [{
829
- pl: x()
829
+ pl: F()
830
830
  }],
831
831
  /**
832
832
  * Margin
@@ -896,7 +896,7 @@ const ot = (e) => {
896
896
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
897
897
  */
898
898
  "space-x": [{
899
- "space-x": x()
899
+ "space-x": F()
900
900
  }],
901
901
  /**
902
902
  * Space Between X Reverse
@@ -908,7 +908,7 @@ const ot = (e) => {
908
908
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
909
909
  */
910
910
  "space-y": [{
911
- "space-y": x()
911
+ "space-y": F()
912
912
  }],
913
913
  /**
914
914
  * Space Between Y Reverse
@@ -1077,7 +1077,7 @@ const ot = (e) => {
1077
1077
  leading: [
1078
1078
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1079
1079
  n,
1080
- ...x()
1080
+ ...F()
1081
1081
  ]
1082
1082
  }],
1083
1083
  /**
@@ -1178,7 +1178,7 @@ const ot = (e) => {
1178
1178
  * @see https://tailwindcss.com/docs/text-indent
1179
1179
  */
1180
1180
  indent: [{
1181
- indent: x()
1181
+ indent: F()
1182
1182
  }],
1183
1183
  /**
1184
1184
  * Vertical Alignment
@@ -2142,21 +2142,21 @@ const ot = (e) => {
2142
2142
  * @see https://tailwindcss.com/docs/border-spacing
2143
2143
  */
2144
2144
  "border-spacing": [{
2145
- "border-spacing": x()
2145
+ "border-spacing": F()
2146
2146
  }],
2147
2147
  /**
2148
2148
  * Border Spacing X
2149
2149
  * @see https://tailwindcss.com/docs/border-spacing
2150
2150
  */
2151
2151
  "border-spacing-x": [{
2152
- "border-spacing-x": x()
2152
+ "border-spacing-x": F()
2153
2153
  }],
2154
2154
  /**
2155
2155
  * Border Spacing Y
2156
2156
  * @see https://tailwindcss.com/docs/border-spacing
2157
2157
  */
2158
2158
  "border-spacing-y": [{
2159
- "border-spacing-y": x()
2159
+ "border-spacing-y": F()
2160
2160
  }],
2161
2161
  /**
2162
2162
  * Table Layout
@@ -2448,126 +2448,126 @@ const ot = (e) => {
2448
2448
  * @see https://tailwindcss.com/docs/scroll-margin
2449
2449
  */
2450
2450
  "scroll-m": [{
2451
- "scroll-m": x()
2451
+ "scroll-m": F()
2452
2452
  }],
2453
2453
  /**
2454
2454
  * Scroll Margin X
2455
2455
  * @see https://tailwindcss.com/docs/scroll-margin
2456
2456
  */
2457
2457
  "scroll-mx": [{
2458
- "scroll-mx": x()
2458
+ "scroll-mx": F()
2459
2459
  }],
2460
2460
  /**
2461
2461
  * Scroll Margin Y
2462
2462
  * @see https://tailwindcss.com/docs/scroll-margin
2463
2463
  */
2464
2464
  "scroll-my": [{
2465
- "scroll-my": x()
2465
+ "scroll-my": F()
2466
2466
  }],
2467
2467
  /**
2468
2468
  * Scroll Margin Start
2469
2469
  * @see https://tailwindcss.com/docs/scroll-margin
2470
2470
  */
2471
2471
  "scroll-ms": [{
2472
- "scroll-ms": x()
2472
+ "scroll-ms": F()
2473
2473
  }],
2474
2474
  /**
2475
2475
  * Scroll Margin End
2476
2476
  * @see https://tailwindcss.com/docs/scroll-margin
2477
2477
  */
2478
2478
  "scroll-me": [{
2479
- "scroll-me": x()
2479
+ "scroll-me": F()
2480
2480
  }],
2481
2481
  /**
2482
2482
  * Scroll Margin Top
2483
2483
  * @see https://tailwindcss.com/docs/scroll-margin
2484
2484
  */
2485
2485
  "scroll-mt": [{
2486
- "scroll-mt": x()
2486
+ "scroll-mt": F()
2487
2487
  }],
2488
2488
  /**
2489
2489
  * Scroll Margin Right
2490
2490
  * @see https://tailwindcss.com/docs/scroll-margin
2491
2491
  */
2492
2492
  "scroll-mr": [{
2493
- "scroll-mr": x()
2493
+ "scroll-mr": F()
2494
2494
  }],
2495
2495
  /**
2496
2496
  * Scroll Margin Bottom
2497
2497
  * @see https://tailwindcss.com/docs/scroll-margin
2498
2498
  */
2499
2499
  "scroll-mb": [{
2500
- "scroll-mb": x()
2500
+ "scroll-mb": F()
2501
2501
  }],
2502
2502
  /**
2503
2503
  * Scroll Margin Left
2504
2504
  * @see https://tailwindcss.com/docs/scroll-margin
2505
2505
  */
2506
2506
  "scroll-ml": [{
2507
- "scroll-ml": x()
2507
+ "scroll-ml": F()
2508
2508
  }],
2509
2509
  /**
2510
2510
  * Scroll Padding
2511
2511
  * @see https://tailwindcss.com/docs/scroll-padding
2512
2512
  */
2513
2513
  "scroll-p": [{
2514
- "scroll-p": x()
2514
+ "scroll-p": F()
2515
2515
  }],
2516
2516
  /**
2517
2517
  * Scroll Padding X
2518
2518
  * @see https://tailwindcss.com/docs/scroll-padding
2519
2519
  */
2520
2520
  "scroll-px": [{
2521
- "scroll-px": x()
2521
+ "scroll-px": F()
2522
2522
  }],
2523
2523
  /**
2524
2524
  * Scroll Padding Y
2525
2525
  * @see https://tailwindcss.com/docs/scroll-padding
2526
2526
  */
2527
2527
  "scroll-py": [{
2528
- "scroll-py": x()
2528
+ "scroll-py": F()
2529
2529
  }],
2530
2530
  /**
2531
2531
  * Scroll Padding Start
2532
2532
  * @see https://tailwindcss.com/docs/scroll-padding
2533
2533
  */
2534
2534
  "scroll-ps": [{
2535
- "scroll-ps": x()
2535
+ "scroll-ps": F()
2536
2536
  }],
2537
2537
  /**
2538
2538
  * Scroll Padding End
2539
2539
  * @see https://tailwindcss.com/docs/scroll-padding
2540
2540
  */
2541
2541
  "scroll-pe": [{
2542
- "scroll-pe": x()
2542
+ "scroll-pe": F()
2543
2543
  }],
2544
2544
  /**
2545
2545
  * Scroll Padding Top
2546
2546
  * @see https://tailwindcss.com/docs/scroll-padding
2547
2547
  */
2548
2548
  "scroll-pt": [{
2549
- "scroll-pt": x()
2549
+ "scroll-pt": F()
2550
2550
  }],
2551
2551
  /**
2552
2552
  * Scroll Padding Right
2553
2553
  * @see https://tailwindcss.com/docs/scroll-padding
2554
2554
  */
2555
2555
  "scroll-pr": [{
2556
- "scroll-pr": x()
2556
+ "scroll-pr": F()
2557
2557
  }],
2558
2558
  /**
2559
2559
  * Scroll Padding Bottom
2560
2560
  * @see https://tailwindcss.com/docs/scroll-padding
2561
2561
  */
2562
2562
  "scroll-pb": [{
2563
- "scroll-pb": x()
2563
+ "scroll-pb": F()
2564
2564
  }],
2565
2565
  /**
2566
2566
  * Scroll Padding Left
2567
2567
  * @see https://tailwindcss.com/docs/scroll-padding
2568
2568
  */
2569
2569
  "scroll-pl": [{
2570
- "scroll-pl": x()
2570
+ "scroll-pl": F()
2571
2571
  }],
2572
2572
  /**
2573
2573
  * Scroll Snap Align
@@ -3333,7 +3333,7 @@ const $1 = "w-full flex", j1 = {
3333
3333
  defaultEmptyText: f,
3334
3334
  children: v
3335
3335
  }) => {
3336
- const C = `${e}-label`, w = o ? `${e}-desc` : void 0, b = n ? `${e}-err` : void 0, S = `${e}-caption-desc`, y = [w, b].filter(Boolean).join(" ") || void 0, F = D(() => typeof n == "boolean" ? null : typeof n == "string" || typeof n > "u" ? n ? /* @__PURE__ */ m(
3336
+ const C = `${e}-label`, w = o ? `${e}-desc` : void 0, b = n ? `${e}-err` : void 0, S = `${e}-caption-desc`, y = [w, b].filter(Boolean).join(" ") || void 0, x = D(() => typeof n == "boolean" ? null : typeof n == "string" || typeof n > "u" ? n ? /* @__PURE__ */ m(
3337
3337
  "div",
3338
3338
  {
3339
3339
  id: b,
@@ -3398,7 +3398,7 @@ const $1 = "w-full flex", j1 = {
3398
3398
  children: h
3399
3399
  }
3400
3400
  ),
3401
- F()
3401
+ x()
3402
3402
  ] })
3403
3403
  ]
3404
3404
  }
@@ -5898,8 +5898,8 @@ var $r = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))($r ||
5898
5898
  }, t.prototype.calculateNewSizeFromAspectRatio = function(s, i, o, n) {
5899
5899
  var r = this.props, a = r.lockAspectRatio, l = r.lockAspectRatioExtraHeight, c = r.lockAspectRatioExtraWidth, d = typeof n.width > "u" ? 10 : n.width, u = typeof o.width > "u" || o.width < 0 ? s : o.width, h = typeof n.height > "u" ? 10 : n.height, g = typeof o.height > "u" || o.height < 0 ? i : o.height, p = l || 0, f = c || 0;
5900
5900
  if (a) {
5901
- var v = (h - p) * this.ratio + f, C = (g - p) * this.ratio + f, w = (d - f) / this.ratio + p, b = (u - f) / this.ratio + p, S = Math.max(d, v), y = Math.min(u, C), F = Math.max(h, w), R = Math.min(g, b);
5902
- s = rr(s, S, y), i = rr(i, F, R);
5901
+ var v = (h - p) * this.ratio + f, C = (g - p) * this.ratio + f, w = (d - f) / this.ratio + p, b = (u - f) / this.ratio + p, S = Math.max(d, v), y = Math.min(u, C), x = Math.max(h, w), R = Math.min(g, b);
5902
+ s = rr(s, S, y), i = rr(i, x, R);
5903
5903
  } else
5904
5904
  s = rr(s, d, u), i = rr(i, h, g);
5905
5905
  return { newWidth: s, newHeight: i };
@@ -5964,9 +5964,9 @@ var $r = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))($r ||
5964
5964
  n = C.maxWidth, r = C.maxHeight, a = C.minWidth, l = C.minHeight;
5965
5965
  var w = this.calculateNewSizeFromDirection(c, d), b = w.newHeight, S = w.newWidth, y = this.calculateNewMaxFromBoundary(n, r);
5966
5966
  this.props.snap && this.props.snap.x && (S = ch(S, this.props.snap.x, this.props.snapGap)), this.props.snap && this.props.snap.y && (b = ch(b, this.props.snap.y, this.props.snapGap));
5967
- var F = this.calculateNewSizeFromAspectRatio(S, b, { width: y.maxWidth, height: y.maxHeight }, { width: a, height: l });
5968
- if (S = F.newWidth, b = F.newHeight, this.props.grid) {
5969
- var R = lh(S, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), x = lh(b, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), P = this.props.snapGap || 0, T = P === 0 || Math.abs(R - S) <= P ? R : S, E = P === 0 || Math.abs(x - b) <= P ? x : b;
5967
+ var x = this.calculateNewSizeFromAspectRatio(S, b, { width: y.maxWidth, height: y.maxHeight }, { width: a, height: l });
5968
+ if (S = x.newWidth, b = x.newHeight, this.props.grid) {
5969
+ var R = lh(S, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), F = lh(b, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), P = this.props.snapGap || 0, T = P === 0 || Math.abs(R - S) <= P ? R : S, E = P === 0 || Math.abs(F - b) <= P ? F : b;
5970
5970
  S = T, b = E;
5971
5971
  }
5972
5972
  var A = {
@@ -6133,8 +6133,8 @@ const mS = ({ side: e, className: t }) => {
6133
6133
  right: S ? void 0 : y
6134
6134
  },
6135
6135
  onResizeStart: C,
6136
- onResize: (F, R, x) => {
6137
- const P = Math.round(x.offsetWidth);
6136
+ onResize: (x, R, F) => {
6137
+ const P = Math.round(F.offsetWidth);
6138
6138
  r?.(P);
6139
6139
  },
6140
6140
  onResizeStop: w
@@ -6187,15 +6187,15 @@ const bS = (e) => {
6187
6187
  c
6188
6188
  );
6189
6189
  if (r !== Zt.Default) {
6190
- const x = ce(
6190
+ const F = ce(
6191
6191
  u,
6192
6192
  r === Zt.Circular && "rounded-full",
6193
6193
  r === Zt.Rectangular && "rounded",
6194
6194
  r === Zt.Text && "rounded"
6195
6195
  ), P = {};
6196
- return a && (P.width = typeof a == "number" ? `${a}px` : a), l && (P.height = typeof l == "number" ? `${l}px` : l), /* @__PURE__ */ m("div", { className: x, style: P, ...d });
6196
+ return a && (P.width = typeof a == "number" ? `${a}px` : a), l && (P.height = typeof l == "number" ? `${l}px` : l), /* @__PURE__ */ m("div", { className: F, style: P, ...d });
6197
6197
  }
6198
- const h = !!s, g = !!i, p = !!t, f = typeof s == "object" ? s : {}, v = typeof i == "object" ? i : {}, C = typeof t == "object" ? t : {}, w = bS(f.size), b = f.shape ?? Dc.Circle, S = v.width ?? "38%", y = C.rows ?? 3, F = C.width, R = (x) => F ? Array.isArray(F) ? F[x] ?? "100%" : F : x === y - 1 ? "61%" : "100%";
6198
+ const h = !!s, g = !!i, p = !!t, f = typeof s == "object" ? s : {}, v = typeof i == "object" ? i : {}, C = typeof t == "object" ? t : {}, w = bS(f.size), b = f.shape ?? Dc.Circle, S = v.width ?? "38%", y = C.rows ?? 3, x = C.width, R = (F) => x ? Array.isArray(x) ? x[F] ?? "100%" : x : F === y - 1 ? "61%" : "100%";
6199
6199
  return /* @__PURE__ */ W("div", { ...d, className: ce("flex gap-4", c), children: [
6200
6200
  h && /* @__PURE__ */ m(
6201
6201
  "div",
@@ -6216,7 +6216,7 @@ const bS = (e) => {
6216
6216
  style: { width: S }
6217
6217
  }
6218
6218
  ),
6219
- p && /* @__PURE__ */ m("div", { className: "flex flex-col gap-3", children: Array.from({ length: y }).map((x, P) => /* @__PURE__ */ m(
6219
+ p && /* @__PURE__ */ m("div", { className: "flex flex-col gap-3", children: Array.from({ length: y }).map((F, P) => /* @__PURE__ */ m(
6220
6220
  "div",
6221
6221
  {
6222
6222
  className: ce(u, "h-4 rounded"),
@@ -8499,10 +8499,10 @@ function Xt(e, t, s) {
8499
8499
  return !1;
8500
8500
  if (t?.state && !t.state.forEach)
8501
8501
  return _(32), !1;
8502
- const C = (y, F, R, x, P) => {
8502
+ const C = (y, x, R, F, P) => {
8503
8503
  if (!y)
8504
8504
  return;
8505
- const T = jy(F, t.defaultState), E = T("flex").value1;
8505
+ const T = jy(x, t.defaultState), E = T("flex").value1;
8506
8506
  if (kf(
8507
8507
  e,
8508
8508
  y,
@@ -8519,9 +8519,9 @@ function Xt(e, t, s) {
8519
8519
  U != null && A >= U && y.setActualWidth(A, s);
8520
8520
  }
8521
8521
  }
8522
- P || !y.isPrimary() || (h?.syncColumnWithState(y, s, T), o?.syncColumnWithState(y, s, T, R), n?.syncColumnWithState(y, s, T, x));
8523
- }, w = (y, F, R) => {
8524
- const x = Gf(e, s), P = F.slice(), T = {}, E = {}, A = [], U = [], B = [];
8522
+ P || !y.isPrimary() || (h?.syncColumnWithState(y, s, T), o?.syncColumnWithState(y, s, T, R), n?.syncColumnWithState(y, s, T, F));
8523
+ }, w = (y, x, R) => {
8524
+ const F = Gf(e, s), P = x.slice(), T = {}, E = {}, A = [], U = [], B = [];
8525
8525
  let H = 0;
8526
8526
  const X = o?.columns.slice() ?? [], se = n?.columns.slice() ?? [];
8527
8527
  for (const j of y) {
@@ -8557,7 +8557,7 @@ function Xt(e, t, s) {
8557
8557
  ), nR(t, i, p), c.refresh(s), g.dispatchEvent({
8558
8558
  type: "columnEverythingChanged",
8559
8559
  source: s
8560
- }), x(), { unmatchedAndAutoStates: B, unmatchedCount: H };
8560
+ }), F(), { unmatchedAndAutoStates: B, unmatchedCount: H };
8561
8561
  };
8562
8562
  l?.start();
8563
8563
  let { unmatchedAndAutoStates: b, unmatchedCount: S } = w(
@@ -8570,7 +8570,7 @@ function Xt(e, t, s) {
8570
8570
  S = w(
8571
8571
  b,
8572
8572
  y,
8573
- (F) => d?.getPivotResultCol(F) ?? null
8573
+ (x) => d?.getPivotResultCol(x) ?? null
8574
8574
  ).unmatchedCount;
8575
8575
  }
8576
8576
  return l?.finish(), S === 0;
@@ -8598,27 +8598,27 @@ function Gf(e, t) {
8598
8598
  for (const u of c)
8599
8599
  d[u.colId] = u;
8600
8600
  return () => {
8601
- const u = (F, R, x, P) => {
8602
- const T = R.map(P), E = x.map(P);
8601
+ const u = (x, R, F, P) => {
8602
+ const T = R.map(P), E = F.map(P);
8603
8603
  if (ei(T, E))
8604
8604
  return;
8605
8605
  const U = new Set(R);
8606
- for (const H of x)
8606
+ for (const H of F)
8607
8607
  U.delete(H) || U.add(H);
8608
8608
  const B = [...U];
8609
8609
  a.dispatchEvent({
8610
- type: F,
8610
+ type: x,
8611
8611
  columns: B,
8612
8612
  column: B.length === 1 ? B[0] : null,
8613
8613
  source: t
8614
8614
  });
8615
- }, h = (F) => {
8615
+ }, h = (x) => {
8616
8616
  const R = [];
8617
- return n.forAllCols((x) => {
8618
- const P = d[x.getColId()];
8619
- P && F(P, x) && R.push(x);
8617
+ return n.forAllCols((F) => {
8618
+ const P = d[F.getColId()];
8619
+ P && x(P, F) && R.push(F);
8620
8620
  }), R;
8621
- }, g = (F) => F.getColId();
8621
+ }, g = (x) => x.getColId();
8622
8622
  u(
8623
8623
  "columnRowGroupChanged",
8624
8624
  l.rowGroupColumns,
@@ -8630,12 +8630,12 @@ function Gf(e, t) {
8630
8630
  i?.columns ?? [],
8631
8631
  g
8632
8632
  );
8633
- const f = h((F, R) => {
8634
- const x = F.aggFunc != null, P = x != R.isValueActive(), T = x && F.aggFunc != R.getAggFunc();
8633
+ const f = h((x, R) => {
8634
+ const F = x.aggFunc != null, P = F != R.isValueActive(), T = F && x.aggFunc != R.getAggFunc();
8635
8635
  return P || T;
8636
8636
  });
8637
- f.length > 0 && iR(a, "columnValueChanged", f, t), fo(a, h((F, R) => F.width != R.getActualWidth()), !0, t), Hf(a, h((F, R) => F.pinned != R.getPinned()), t), sR(a, h((F, R) => F.hide == R.isVisible()), t);
8638
- const S = h((F, R) => F.sort != R.getSort() || F.sortIndex != R.getSortIndex());
8637
+ f.length > 0 && iR(a, "columnValueChanged", f, t), fo(a, h((x, R) => x.width != R.getActualWidth()), !0, t), Hf(a, h((x, R) => x.pinned != R.getPinned()), t), sR(a, h((x, R) => x.hide == R.isVisible()), t);
8638
+ const S = h((x, R) => x.sort != R.getSort() || x.sortIndex != R.getSortIndex());
8639
8639
  S.length > 0 && r?.dispatchSortChangedEvents(t, S);
8640
8640
  const y = oa(e);
8641
8641
  aR(c, y, t, n, a);
@@ -14228,7 +14228,7 @@ var Lr = {
14228
14228
  let u, h, g = 0;
14229
14229
  this.invalidateVerticalScroll();
14230
14230
  do {
14231
- const { stickyTopHeight: p, stickyBottomHeight: f } = c, v = d.rowTop, C = d.rowHeight, w = r.getPixelOffset(), b = d.rowTop - w, S = b + d.rowHeight, y = this.getVScrollPosition(), F = a.divStretchOffset, R = y.top + F, x = y.bottom + F, P = x - R, T = a.getScrollPositionForPixel(b), E = a.getScrollPositionForPixel(S - P), A = Math.min((T + E) / 2, b), U = R + p > b, B = x - f < S;
14231
+ const { stickyTopHeight: p, stickyBottomHeight: f } = c, v = d.rowTop, C = d.rowHeight, w = r.getPixelOffset(), b = d.rowTop - w, S = b + d.rowHeight, y = this.getVScrollPosition(), x = a.divStretchOffset, R = y.top + x, F = y.bottom + x, P = F - R, T = a.getScrollPositionForPixel(b), E = a.getScrollPositionForPixel(S - P), A = Math.min((T + E) / 2, b), U = R + p > b, B = F - f < S;
14232
14232
  let H = null;
14233
14233
  t === "top" ? H = T - p : t === "bottom" ? H = E + f : t === "middle" ? H = A : U ? H = T - p : B && (E - T > P ? H = T - p : H = E + f), H !== null && (this.setVerticalScrollPosition(H), l.redraw({ afterScroll: !0 })), u = v !== d.rowTop || C !== d.rowHeight, h = p !== c.stickyTopHeight || f !== c.stickyBottomHeight, g++;
14234
14234
  } while ((u || h) && g < 10);
@@ -19868,8 +19868,8 @@ function tE(e) {
19868
19868
  for (; b <= S && c.indexOf(y) < 0; )
19869
19869
  b++, C.push(b), y = d[b];
19870
19870
  b = v - 1;
19871
- const F = 0;
19872
- for (; b >= F; )
19871
+ const x = 0;
19872
+ for (; b >= x; )
19873
19873
  C.push(b), b--;
19874
19874
  C.sort(w).reverse();
19875
19875
  }
@@ -20743,22 +20743,22 @@ var pE = class extends O {
20743
20743
  v = !1;
20744
20744
  const w = [];
20745
20745
  let b = 0, S = u;
20746
- h.forEach((F, R) => {
20747
- if (f[F.getId()])
20748
- S -= p[F.getId()];
20746
+ h.forEach((x, R) => {
20747
+ if (f[x.getId()])
20748
+ S -= p[x.getId()];
20749
20749
  else {
20750
- w.push(F);
20750
+ w.push(x);
20751
20751
  const P = g[R];
20752
20752
  b += P;
20753
20753
  }
20754
20754
  });
20755
20755
  const y = 1 / b;
20756
- w.forEach((F, R) => {
20757
- const x = R === w.length - 1;
20756
+ w.forEach((x, R) => {
20757
+ const F = R === w.length - 1;
20758
20758
  let P;
20759
- x ? P = S : (P = Math.round(g[R] * u * y), S -= P);
20760
- const T = F.getMinWidth(), E = F.getMaxWidth();
20761
- P < T ? (P = T, f[F.getId()] = !0, v = !0) : E > 0 && P > E && (P = E, f[F.getId()] = !0, v = !0), p[F.getId()] = P;
20759
+ F ? P = S : (P = Math.round(g[R] * u * y), S -= P);
20760
+ const T = x.getMinWidth(), E = x.getMaxWidth();
20761
+ P < T ? (P = T, f[x.getId()] = !0, v = !0) : E > 0 && P > E && (P = E, f[x.getId()] = !0, v = !0), p[x.getId()] = P;
20762
20762
  });
20763
20763
  }
20764
20764
  for (const w of h) {
@@ -21763,7 +21763,7 @@ var aD = class extends O {
21763
21763
  if (g(y))
21764
21764
  continue;
21765
21765
  v = y, w += f * (y.flex / d);
21766
- const F = w - C, R = Math.round(F);
21766
+ const x = w - C, R = Math.round(x);
21767
21767
  y.targetSize = R, C += R;
21768
21768
  }
21769
21769
  v && (v.targetSize += f - C);
@@ -21771,8 +21771,8 @@ var aD = class extends O {
21771
21771
  for (const y of l) {
21772
21772
  if (g(y))
21773
21773
  continue;
21774
- const F = y.targetSize, R = Math.min(Math.max(F, y.min), y.max);
21775
- b += R - F, y.violationType = R === F ? void 0 : R < F ? "max" : "min", y.targetSize = R;
21774
+ const x = y.targetSize, R = Math.min(Math.max(x, y.min), y.max);
21775
+ b += R - x, y.violationType = R === x ? void 0 : R < x ? "max" : "min", y.targetSize = R;
21776
21776
  }
21777
21777
  const S = b === 0 ? "all" : b > 0 ? "min" : "max";
21778
21778
  for (const y of l)
@@ -27170,18 +27170,18 @@ var R5 = class extends O {
27170
27170
  return;
27171
27171
  }
27172
27172
  if (!i || !w) {
27173
- const y = h?.isEditing(n), R = u.get("enableCellTextSelection") && e.defaultPrevented, x = (ti() || R) && !y && !nn(o) && !b;
27174
- n.focusCell(x, e);
27173
+ const y = h?.isEditing(n), R = u.get("enableCellTextSelection") && e.defaultPrevented, F = (ti() || R) && !y && !nn(o) && !b;
27174
+ n.focusCell(F, e);
27175
27175
  }
27176
27176
  if (i && w && !d.isCellFocused(f)) {
27177
27177
  e.preventDefault();
27178
27178
  const y = d.getFocusedCell();
27179
27179
  if (y) {
27180
- const { column: F, rowIndex: R, rowPinned: x } = y;
27180
+ const { column: x, rowIndex: R, rowPinned: F } = y;
27181
27181
  h?.isEditing(y) && h?.stopEditing(y), d.setFocusedCell({
27182
- column: F,
27182
+ column: x,
27183
27183
  rowIndex: R,
27184
- rowPinned: x,
27184
+ rowPinned: F,
27185
27185
  forceBrowserFocus: !0,
27186
27186
  preventScrollOnBrowserFocus: !0,
27187
27187
  sourceEvent: e
@@ -27195,8 +27195,8 @@ var R5 = class extends O {
27195
27195
  if (i)
27196
27196
  l.extendLatestRangeToCell(f);
27197
27197
  else if (!y) {
27198
- const F = t || s;
27199
- l.setRangeToCell(f, F);
27198
+ const x = t || s;
27199
+ l.setRangeToCell(f, x);
27200
27200
  }
27201
27201
  }
27202
27202
  C();
@@ -30291,8 +30291,8 @@ var J5 = (
30291
30291
  const d = this.getRowBufferInPixels(), u = this.ctrlsSvc.getScrollFeature(), h = this.gos.get("suppressRowVirtualisation");
30292
30292
  let g = !1, p, f;
30293
30293
  do {
30294
- const S = t.getPixelOffset(), { pageFirstPixel: y, pageLastPixel: F } = t.getCurrentPagePixelRange(), R = e.divStretchOffset, x = u.getVScrollPosition(), P = x.top, T = x.bottom;
30295
- h ? (p = y + R, f = F + R) : (p = Math.max(P + S - d, y) + R, f = Math.min(T + S + d, F) + R), this.firstVisibleVPixel = Math.max(P + S, y) + R, this.lastVisibleVPixel = Math.min(T + S, F) + R, g = this.ensureAllRowsInRangeHaveHeightsCalculated(p, f);
30294
+ const S = t.getPixelOffset(), { pageFirstPixel: y, pageLastPixel: x } = t.getCurrentPagePixelRange(), R = e.divStretchOffset, F = u.getVScrollPosition(), P = F.top, T = F.bottom;
30295
+ h ? (p = y + R, f = x + R) : (p = Math.max(P + S - d, y) + R, f = Math.min(T + S + d, x) + R), this.firstVisibleVPixel = Math.max(P + S, y) + R, this.lastVisibleVPixel = Math.min(T + S, x) + R, g = this.ensureAllRowsInRangeHaveHeightsCalculated(p, f);
30296
30296
  } while (g);
30297
30297
  let v = s.getRowIndexAtPixel(p), C = s.getRowIndexAtPixel(f);
30298
30298
  const w = t.getFirstRow(), b = t.getLastRow();
@@ -31754,11 +31754,11 @@ function N4(e, t = !1) {
31754
31754
  pivot: b,
31755
31755
  pivotIndex: S,
31756
31756
  pinned: y,
31757
- hide: F,
31757
+ hide: x,
31758
31758
  width: R,
31759
- flex: x
31759
+ flex: F
31760
31760
  } = e[h];
31761
- d.push(g), p && (s[f ?? u++] = { colId: g, sort: p }), v && (i[C ?? 0] = g), typeof w == "string" && o.push({ colId: g, aggFunc: w }), b && (n[S ?? 0] = g), y && (y === "right" ? a : r).push(g), F && l.push(g), (x != null || R) && c.push({ colId: g, flex: x ?? void 0, width: R });
31761
+ d.push(g), p && (s[f ?? u++] = { colId: g, sort: p }), v && (i[C ?? 0] = g), typeof w == "string" && o.push({ colId: g, aggFunc: w }), b && (n[S ?? 0] = g), y && (y === "right" ? a : r).push(g), x && l.push(g), (F != null || R) && c.push({ colId: g, flex: F ?? void 0, width: R });
31762
31762
  }
31763
31763
  return {
31764
31764
  sort: s.length ? { sortModel: ic(s) } : void 0,
@@ -32449,7 +32449,7 @@ var J4 = /* @__PURE__ */ new Set([
32449
32449
  "firstChildChanged",
32450
32450
  "lastChildChanged",
32451
32451
  "childIndexChanged"
32452
- ]), eT = {
32452
+ ]), e6 = {
32453
32453
  moduleName: "Validation",
32454
32454
  version: Z,
32455
32455
  beans: [Q4]
@@ -32458,7 +32458,7 @@ function vC(e) {
32458
32458
  const t = e.sibling;
32459
32459
  t && (t.childrenAfterFilter = e.childrenAfterFilter);
32460
32460
  }
32461
- var tT = class extends O {
32461
+ var t6 = class extends O {
32462
32462
  constructor() {
32463
32463
  super(...arguments), this.beanName = "filterStage", this.step = "filter", this.refreshProps = ["excludeChildrenWhenTreeDataFiltering"];
32464
32464
  }
@@ -32498,7 +32498,7 @@ var tT = class extends O {
32498
32498
  doingTreeDataFiltering() {
32499
32499
  return this.gos.get("treeData") && !this.gos.get("excludeChildrenWhenTreeDataFiltering");
32500
32500
  }
32501
- }, sT = class extends vu {
32501
+ }, s6 = class extends vu {
32502
32502
  constructor() {
32503
32503
  super(...arguments), this.iconCreated = !1;
32504
32504
  }
@@ -32721,7 +32721,7 @@ var tT = class extends O {
32721
32721
  super.destroy(), this.destroySyncListener = null, this.destroyFilterChangedListener = null;
32722
32722
  }
32723
32723
  };
32724
- function iT(e, t) {
32724
+ function i6(e, t) {
32725
32725
  const s = e.colModel.getCol(t);
32726
32726
  if (!s) {
32727
32727
  Ne(12, { colKey: t });
@@ -32732,18 +32732,18 @@ function iT(e, t) {
32732
32732
  positionBy: "auto"
32733
32733
  });
32734
32734
  }
32735
- function oT(e) {
32735
+ function o6(e) {
32736
32736
  e.menuSvc?.hidePopupMenu();
32737
32737
  }
32738
- var nT = {
32738
+ var n6 = {
32739
32739
  moduleName: "SharedMenu",
32740
32740
  version: Z,
32741
32741
  beans: [FF],
32742
32742
  apiFunctions: {
32743
- showColumnMenu: iT,
32744
- hidePopupMenu: oT
32743
+ showColumnMenu: i6,
32744
+ hidePopupMenu: o6
32745
32745
  }
32746
- }, rT = class extends ex {
32746
+ }, r6 = class extends ex {
32747
32747
  postConstruct() {
32748
32748
  this.beans.ctrlsSvc.whenReady(this, (e) => {
32749
32749
  this.gridCtrl = e.gridCtrl;
@@ -32820,39 +32820,39 @@ var nT = {
32820
32820
  }, Na = {
32821
32821
  moduleName: "Popup",
32822
32822
  version: Z,
32823
- beans: [rT]
32824
- }, aT = (
32823
+ beans: [r6]
32824
+ }, a6 = (
32825
32825
  /*css*/
32826
32826
  ".ag-set-filter{--ag-indentation-level:0}.ag-set-filter-item{align-items:center;display:flex;height:100%}:where(.ag-ltr) .ag-set-filter-item{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-indentation-level)*var(--ag-set-filter-indent-size))}:where(.ag-rtl) .ag-set-filter-item{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-indentation-level)*var(--ag-set-filter-indent-size))}.ag-set-filter-item-checkbox{display:flex;height:100%;width:100%}.ag-set-filter-group-icons{display:block;>*{cursor:pointer}}:where(.ag-ltr) .ag-set-filter-group-icons{margin-right:var(--ag-widget-container-horizontal-padding)}:where(.ag-rtl) .ag-set-filter-group-icons{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-filter-body-wrapper{display:flex;flex-direction:column}:where(.ag-menu:not(.ag-tabs) .ag-filter) .ag-filter-body-wrapper,:where(.ag-menu:not(.ag-tabs) .ag-filter)>:not(.ag-filter-wrapper){min-width:180px}.ag-filter-filter{flex:1 1 0px}.ag-filter-condition{display:flex;justify-content:center}.ag-floating-filter-body{display:flex;flex:1 1 auto;height:100%;position:relative}.ag-floating-filter-full-body{align-items:center;display:flex;flex:1 1 auto;height:100%;overflow:hidden;width:100%}:where(.ag-floating-filter-full-body)>div{flex:1 1 auto}.ag-floating-filter-input{align-items:center;display:flex;width:100%;>*{flex:1 1 auto}:where(.ag-input-field-input[type=date]),:where(.ag-input-field-input[type=datetime-local]){width:1px}}.ag-floating-filter-button{display:flex;flex:none}.ag-date-floating-filter-wrapper{display:flex}.ag-set-floating-filter-input :where(input)[disabled]{pointer-events:none}.ag-floating-filter-button-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;height:var(--ag-icon-size);width:var(--ag-icon-size)}.ag-filter-loading{align-items:unset;background-color:var(--ag-chrome-background-color);height:100%;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;width:100%;z-index:1;:where(.ag-menu) &{background-color:var(--ag-menu-background-color)}}.ag-filter-separator{border-top:solid var(--ag-border-width) var(--menu-separator-color)}:where(.ag-filter-select) .ag-picker-field-wrapper{width:0}.ag-filter-condition-operator{height:17px}:where(.ag-ltr) .ag-filter-condition-operator-or{margin-left:calc(var(--ag-spacing)*2)}:where(.ag-rtl) .ag-filter-condition-operator-or{margin-right:calc(var(--ag-spacing)*2)}.ag-set-filter-select-all{padding-top:var(--ag-widget-container-vertical-padding)}.ag-filter-no-matches,.ag-set-filter-list{height:calc(var(--ag-list-item-height)*6)}.ag-filter-no-matches{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-set-filter-tree-list{height:calc(var(--ag-list-item-height)*10)}.ag-set-filter-filter{margin-left:var(--ag-widget-container-horizontal-padding);margin-right:var(--ag-widget-container-horizontal-padding);margin-top:var(--ag-widget-container-vertical-padding)}.ag-filter-to{margin-top:var(--ag-widget-vertical-spacing)}.ag-mini-filter{margin:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}:where(.ag-ltr) .ag-set-filter-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding))}:where(.ag-rtl) .ag-set-filter-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding))}:where(.ag-filter-menu) .ag-set-filter-list{min-width:200px}.ag-filter-virtual-list-item:focus-visible{box-shadow:inset var(--ag-focus-shadow)}.ag-filter-apply-panel{display:flex;justify-content:flex-end;overflow:hidden;padding:var(--ag-widget-vertical-spacing) var(--ag-widget-container-horizontal-padding) var(--ag-widget-container-vertical-padding)}.ag-filter-apply-panel-button{line-height:1.5}:where(.ag-ltr) .ag-filter-apply-panel-button{margin-left:calc(var(--ag-spacing)*2)}:where(.ag-rtl) .ag-filter-apply-panel-button{margin-right:calc(var(--ag-spacing)*2)}.ag-simple-filter-body-wrapper{display:flex;flex-direction:column;min-height:calc(var(--ag-list-item-height) + var(--ag-widget-container-vertical-padding) + var(--ag-widget-vertical-spacing));overflow-y:auto;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing));&>*{margin-bottom:var(--ag-widget-vertical-spacing)}:where(.ag-resizer-wrapper){margin:0}}.ag-multi-filter-menu-item{margin:var(--ag-spacing) 0}.ag-multi-filter-group-title-bar{background-color:transparent;color:var(--ag-header-text-color);font-weight:500;padding:calc(var(--ag-spacing)*1.5) var(--ag-spacing)}.ag-group-filter-field-select-wrapper{display:flex;flex-direction:column;gap:var(--ag-widget-vertical-spacing);padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}"
32827
32827
  );
32828
- function lT(e) {
32828
+ function l6(e) {
32829
32829
  const t = e.filterManager;
32830
32830
  return !!t?.isColumnFilterPresent() || !!t?.isAggregateFilterPresent();
32831
32831
  }
32832
- function cT(e, t) {
32832
+ function c6(e, t) {
32833
32833
  return e.filterManager?.getColumnFilterInstance(t) ?? Promise.resolve(void 0);
32834
32834
  }
32835
- function dT(e, t) {
32835
+ function d6(e, t) {
32836
32836
  const s = e.colModel.getColDefCol(t);
32837
32837
  if (s)
32838
32838
  return e.colFilter?.destroyFilter(s, "api");
32839
32839
  }
32840
- function uT(e, t) {
32840
+ function u6(e, t) {
32841
32841
  e.frameworkOverrides.wrapIncoming(() => e.filterManager?.setFilterModel(t));
32842
32842
  }
32843
- function hT(e) {
32843
+ function h6(e) {
32844
32844
  return e.filterManager?.getFilterModel() ?? {};
32845
32845
  }
32846
- function gT(e, t, s) {
32846
+ function g6(e, t, s) {
32847
32847
  const { gos: i, colModel: o, colFilter: n } = e;
32848
32848
  s && !i.get("enableFilterHandlers") && (_(288), s = !1);
32849
32849
  const r = o.getColDefCol(t);
32850
32850
  return r ? n?.getModelForColumn(r, s) ?? null : null;
32851
32851
  }
32852
- function pT(e, t, s) {
32852
+ function p6(e, t, s) {
32853
32853
  return e.filterManager?.setColumnFilterModel(t, s) ?? Promise.resolve();
32854
32854
  }
32855
- function fT(e, t) {
32855
+ function f6(e, t) {
32856
32856
  const s = e.colModel.getCol(t);
32857
32857
  if (!s) {
32858
32858
  Ne(12, { colKey: t });
@@ -32864,10 +32864,10 @@ function fT(e, t) {
32864
32864
  positionBy: "auto"
32865
32865
  });
32866
32866
  }
32867
- function mT(e) {
32867
+ function m6(e) {
32868
32868
  e.menuSvc?.hideFilterMenu();
32869
32869
  }
32870
- function CT(e, t) {
32870
+ function C6(e, t) {
32871
32871
  const s = e.colModel.getCol(t);
32872
32872
  if (!s) {
32873
32873
  Ne(12, { colKey: t });
@@ -32875,7 +32875,7 @@ function CT(e, t) {
32875
32875
  }
32876
32876
  return e.colFilter?.getHandler(s, !0);
32877
32877
  }
32878
- function vT(e, t) {
32878
+ function v6(e, t) {
32879
32879
  const { colModel: s, colFilter: i, gos: o } = e;
32880
32880
  if (!o.get("enableFilterHandlers")) {
32881
32881
  _(287);
@@ -32888,11 +32888,11 @@ function vT(e, t) {
32888
32888
  } else
32889
32889
  i?.updateAllModels(r);
32890
32890
  }
32891
- var wT = {
32891
+ var w6 = {
32892
32892
  filterHandler: () => ({
32893
32893
  doesFilterPass: () => !0
32894
32894
  })
32895
- }, bT = class extends O {
32895
+ }, b6 = class extends O {
32896
32896
  constructor() {
32897
32897
  super(...arguments), this.beanName = "colFilter", this.allColumnFilters = /* @__PURE__ */ new Map(), this.allColumnListeners = /* @__PURE__ */ new Map(), this.activeAggregateFilters = [], this.activeColumnFilters = [], this.processingFilterChange = !1, this.modelUpdates = [], this.columnModelUpdates = [], this.state = /* @__PURE__ */ new Map(), this.handlerMap = {
32898
32898
  ...hm
@@ -33367,7 +33367,7 @@ var wT = {
33367
33367
  const { compName: p, jsComp: f, fwComp: v } = Uf(o, t);
33368
33368
  p ? g = p : f == null && v == null && t.filter === !0 && (g = s), h = this.handlerMap[g], h && (u = d(h));
33369
33369
  }
33370
- return u ? { filterHandler: u, handlerNameOrCallback: r ?? h } : l ? (Xe(i) && _(277, { colId: e.getColId() }), wT) : void 0;
33370
+ return u ? { filterHandler: u, handlerNameOrCallback: r ?? h } : l ? (Xe(i) && _(277, { colId: e.getColId() }), w6) : void 0;
33371
33371
  }
33372
33372
  createHandler(e, t, s) {
33373
33373
  const i = this.createHandlerFunc(e, t, s);
@@ -33819,13 +33819,13 @@ var wT = {
33819
33819
  super.destroy(), this.allColumnFilters.forEach((e) => this.disposeFilterWrapper(e, "gridDestroyed")), this.allColumnListeners.clear(), this.state.clear(), this.activeFilterComps.clear();
33820
33820
  }
33821
33821
  };
33822
- function ST(e) {
33822
+ function S6(e) {
33823
33823
  return !!e.filterManager?.isAnyFilterPresent();
33824
33824
  }
33825
- function yT(e, t = "api") {
33825
+ function y6(e, t = "api") {
33826
33826
  e.filterManager?.onFilterChanged({ source: t });
33827
33827
  }
33828
- var RT = class extends O {
33828
+ var R6 = class extends O {
33829
33829
  constructor() {
33830
33830
  super(...arguments), this.beanName = "filterManager", this.advFilterModelUpdateQueue = [];
33831
33831
  }
@@ -33993,7 +33993,7 @@ var RT = class extends O {
33993
33993
  setColumnFilterModel(e, t) {
33994
33994
  return this.isAdvFilterEnabled() ? (this.warnAdvFilters(), Promise.resolve()) : this.colFilter?.setModelForColumn(e, t) ?? Promise.resolve();
33995
33995
  }
33996
- }, xT = class extends O {
33996
+ }, x6 = class extends O {
33997
33997
  constructor() {
33998
33998
  super(...arguments), this.beanName = "filterMenuFactory";
33999
33999
  }
@@ -34101,7 +34101,7 @@ var RT = class extends O {
34101
34101
  destroy() {
34102
34102
  this.destroyBean(this.activeMenu), super.destroy();
34103
34103
  }
34104
- }, FT = class extends O {
34104
+ }, F6 = class extends O {
34105
34105
  constructor() {
34106
34106
  super(...arguments), this.beanName = "filterValueSvc";
34107
34107
  }
@@ -34121,7 +34121,7 @@ var RT = class extends O {
34121
34121
  });
34122
34122
  return typeof e == "function" ? e(a) : n?.evaluate(e, a);
34123
34123
  }
34124
- }, ET = {
34124
+ }, E6 = {
34125
34125
  tag: "div",
34126
34126
  cls: "ag-floating-filter-input",
34127
34127
  role: "presentation",
@@ -34131,9 +34131,9 @@ var RT = class extends O {
34131
34131
  ref: "eFloatingFilterText"
34132
34132
  }
34133
34133
  ]
34134
- }, DT = class extends Qe {
34134
+ }, D6 = class extends Qe {
34135
34135
  constructor() {
34136
- super(ET, [Ma]), this.eFloatingFilterText = pe;
34136
+ super(E6, [Ma]), this.eFloatingFilterText = pe;
34137
34137
  }
34138
34138
  init(e) {
34139
34139
  this.params = e;
@@ -34210,17 +34210,17 @@ function gn(e, t, s) {
34210
34210
  function ga(e) {
34211
34211
  return e == null || typeof e == "string" && e.trim().length === 0;
34212
34212
  }
34213
- function PT(e) {
34213
+ function P6(e) {
34214
34214
  return e === "AND" || e === "OR" ? e : "AND";
34215
34215
  }
34216
- function TT(e, t, s) {
34216
+ function T6(e, t, s) {
34217
34217
  if (e == null)
34218
34218
  return;
34219
34219
  const { predicate: i } = e;
34220
34220
  if (i != null && !t.some((o) => o == null))
34221
34221
  return i(t, s);
34222
34222
  }
34223
- function MT(e, t) {
34223
+ function M6(e, t) {
34224
34224
  let s = e.length;
34225
34225
  return s > t && (e.splice(t), _(78), s = t), s;
34226
34226
  }
@@ -34245,7 +34245,7 @@ var Eu = class extends Px {
34245
34245
  this.optionsFactory.refresh(e, this.defaultOptions), super.updateParams(e, t), this.commonUpdateSimpleParams(e);
34246
34246
  }
34247
34247
  commonUpdateSimpleParams(e) {
34248
- this.setNumConditions(e), this.defaultJoinOperator = PT(e.defaultJoinOperator), this.filterPlaceholder = e.filterPlaceholder, this.createFilterListOptions();
34248
+ this.setNumConditions(e), this.defaultJoinOperator = P6(e.defaultJoinOperator), this.filterPlaceholder = e.filterPlaceholder, this.createFilterListOptions();
34249
34249
  const t = this.getGui();
34250
34250
  this.isReadOnly() ? t.setAttribute("tabindex", "-1") : t.removeAttribute("tabindex");
34251
34251
  }
@@ -34302,7 +34302,7 @@ var Eu = class extends Px {
34302
34302
  const i = e;
34303
34303
  let o = i.conditions;
34304
34304
  o == null && (o = [], _(77));
34305
- const n = MT(o, this.maxNumConditions), r = this.getNumConditions();
34305
+ const n = M6(o, this.maxNumConditions), r = this.getNumConditions();
34306
34306
  if (n < r)
34307
34307
  this.removeConditionsAndOperators(n);
34308
34308
  else if (n > r)
@@ -34677,7 +34677,7 @@ function bC(e, t) {
34677
34677
  i && Tt(i, void 0, !0) || null
34678
34678
  ].slice(0, Fn(o, t));
34679
34679
  }
34680
- var Rg = 1e3, xg = 1 / 0, IT = class extends Eu {
34680
+ var Rg = 1e3, xg = 1 / 0, I6 = class extends Eu {
34681
34681
  constructor() {
34682
34682
  super("dateFilter", bC, Du), this.eConditionPanelsFrom = [], this.eConditionPanelsTo = [], this.dateConditionFromComps = [], this.dateConditionToComps = [], this.minValidYear = Rg, this.maxValidYear = xg, this.minValidDate = null, this.maxValidDate = null, this.filterType = "date";
34683
34683
  }
@@ -34870,7 +34870,7 @@ var Rg = 1e3, xg = 1 / 0, IT = class extends Eu {
34870
34870
  }
34871
34871
  /** returns true if the row passes the said condition */
34872
34872
  individualConditionPasses(e, t, s) {
34873
- const i = this.optionsFactory, o = this.mapValuesFromModel(t, i), n = i.getCustomOption(t.type), r = TT(n, o, s);
34873
+ const i = this.optionsFactory, o = this.mapValuesFromModel(t, i), n = i.getCustomOption(t.type), r = T6(n, o, s);
34874
34874
  return r ?? (s == null ? this.evaluateNullValue(t.type) : this.evaluateNonNullValue(o, s, t, e));
34875
34875
  }
34876
34876
  }, yC = class extends SC {
@@ -34950,7 +34950,7 @@ var Rg = 1e3, xg = 1 / 0, IT = class extends Eu {
34950
34950
  lessThan: "LessThan",
34951
34951
  lessThanOrEqual: "LessThanOrEqual",
34952
34952
  inRange: "InRange"
34953
- }, AT = {
34953
+ }, A6 = {
34954
34954
  contains: "Contains",
34955
34955
  notContains: "NotContains",
34956
34956
  equals: "TextEquals",
@@ -35028,16 +35028,16 @@ var Rg = 1e3, xg = 1 / 0, IT = class extends Eu {
35028
35028
  return s ? `${d()}-${u()}` : r != null ? c(r) : `${n}`;
35029
35029
  }
35030
35030
  };
35031
- function kT(e, t) {
35031
+ function k6(e, t) {
35032
35032
  const s = t;
35033
35033
  return s < e ? -1 : s > e ? 1 : 0;
35034
35034
  }
35035
- var LT = class extends yC {
35035
+ var L6 = class extends yC {
35036
35036
  constructor() {
35037
35037
  super(bC, Du), this.filterType = "date", this.FilterModelFormatterClass = xC;
35038
35038
  }
35039
35039
  comparator() {
35040
- return this.params.filterParams.comparator ?? kT;
35040
+ return this.params.filterParams.comparator ?? k6;
35041
35041
  }
35042
35042
  isValid(e) {
35043
35043
  const t = this.params.filterParams.isValidDate;
@@ -35115,7 +35115,7 @@ var LT = class extends yC {
35115
35115
  getAriaLabel(e) {
35116
35116
  return `${this.beans.colNames.getDisplayNameForColumn(e.column, "header", !0)} ${this.getLocaleTextFunc()("ariaFilterInput", "Filter Input")}`;
35117
35117
  }
35118
- }, OT = {
35118
+ }, O6 = {
35119
35119
  tag: "div",
35120
35120
  cls: "ag-floating-filter-input",
35121
35121
  role: "presentation",
@@ -35126,9 +35126,9 @@ var LT = class extends yC {
35126
35126
  },
35127
35127
  { tag: "div", ref: "eDateWrapper", cls: "ag-date-floating-filter-wrapper" }
35128
35128
  ]
35129
- }, NT = class extends FC {
35129
+ }, N6 = class extends FC {
35130
35130
  constructor() {
35131
- super(OT, [Ma]), this.eReadOnlyText = pe, this.eDateWrapper = pe, this.FilterModelFormatterClass = xC, this.filterType = "date", this.defaultOptions = Du;
35131
+ super(O6, [Ma]), this.eReadOnlyText = pe, this.eDateWrapper = pe, this.FilterModelFormatterClass = xC, this.filterType = "date", this.defaultOptions = Du;
35132
35132
  }
35133
35133
  setParams(e) {
35134
35134
  super.setParams(e), this.createDateComponent();
@@ -35195,7 +35195,7 @@ var LT = class extends yC {
35195
35195
  }
35196
35196
  ), this.addDestroyFunc(() => this.dateComp.destroy());
35197
35197
  }
35198
- }, HT = {
35198
+ }, H6 = {
35199
35199
  tag: "div",
35200
35200
  cls: "ag-filter-filter",
35201
35201
  children: [
@@ -35205,9 +35205,9 @@ var LT = class extends yC {
35205
35205
  cls: "ag-date-filter"
35206
35206
  }
35207
35207
  ]
35208
- }, GT = class extends Qe {
35208
+ }, G6 = class extends Qe {
35209
35209
  constructor() {
35210
- super(HT, [Ma]), this.eDateInput = pe, this.isApply = !1, this.applyOnFocusOut = !1;
35210
+ super(H6, [Ma]), this.eDateInput = pe, this.isApply = !1, this.applyOnFocusOut = !1;
35211
35211
  }
35212
35212
  init(e) {
35213
35213
  this.params = e, this.setParams(e);
@@ -35297,7 +35297,7 @@ function EC(e, t) {
35297
35297
  Fn(o, t)
35298
35298
  );
35299
35299
  }
35300
- var BT = class extends Eu {
35300
+ var B6 = class extends Eu {
35301
35301
  constructor() {
35302
35302
  super("numberFilter", EC, Tu), this.eValuesFrom = [], this.eValuesTo = [], this.filterType = "number", this.defaultDebounceMs = 500;
35303
35303
  }
@@ -35373,7 +35373,7 @@ var BT = class extends Eu {
35373
35373
  }
35374
35374
  return s ? `${l(n)}-${l(r)}` : n != null ? l(n) : `${a}`;
35375
35375
  }
35376
- }, VT = class extends yC {
35376
+ }, V6 = class extends yC {
35377
35377
  constructor() {
35378
35378
  super(EC, Tu), this.filterType = "number", this.FilterModelFormatterClass = DC;
35379
35379
  }
@@ -35423,7 +35423,7 @@ function TC(e, t) {
35423
35423
  const { filter: s, filterTo: i, type: o } = e || {};
35424
35424
  return [s || null, i || null].slice(0, Fn(o, t));
35425
35425
  }
35426
- var zT = {
35426
+ var z6 = {
35427
35427
  tag: "div",
35428
35428
  ref: "eFloatingFilterInputContainer",
35429
35429
  cls: "ag-floating-filter-input",
@@ -35433,7 +35433,7 @@ var zT = {
35433
35433
  super(...arguments), this.eFloatingFilterInputContainer = pe, this.defaultDebounceMs = 500;
35434
35434
  }
35435
35435
  postConstruct() {
35436
- this.setTemplate(zT);
35436
+ this.setTemplate(z6);
35437
35437
  }
35438
35438
  onModelUpdated(e) {
35439
35439
  this.setLastTypeFromModel(e), this.setEditable(this.canWeEditAfterModelFromParentFilter(e)), this.inputSvc.setValue(this.filterModelFormatter.getModelAsString(e));
@@ -35491,7 +35491,7 @@ var zT = {
35491
35491
  setEditable(e) {
35492
35492
  this.inputSvc.setEditable(e);
35493
35493
  }
35494
- }, WT = class extends O {
35494
+ }, W6 = class extends O {
35495
35495
  constructor() {
35496
35496
  super(...arguments), this.onValueChanged = () => {
35497
35497
  }, this.numberInputActive = !0;
@@ -35531,7 +35531,7 @@ var zT = {
35531
35531
  setAriaLabel(e) {
35532
35532
  this.eNumberInput.setInputAriaLabel(e), this.eTextInput.setInputAriaLabel(e);
35533
35533
  }
35534
- }, _T = class extends MC {
35534
+ }, _6 = class extends MC {
35535
35535
  constructor() {
35536
35536
  super(...arguments), this.FilterModelFormatterClass = DC, this.filterType = "number", this.defaultOptions = Tu;
35537
35537
  }
@@ -35543,7 +35543,7 @@ var zT = {
35543
35543
  new PC({
35544
35544
  config: { allowedCharPattern: this.allowedCharPattern }
35545
35545
  })
35546
- ) : this.createManagedBean(new WT());
35546
+ ) : this.createManagedBean(new W6());
35547
35547
  }
35548
35548
  convertValue(e) {
35549
35549
  return e ? Number(e) : null;
@@ -35557,7 +35557,7 @@ var zT = {
35557
35557
  "endsWith",
35558
35558
  "blank",
35559
35559
  "notBlank"
35560
- ], UT = class extends Eu {
35560
+ ], U6 = class extends Eu {
35561
35561
  constructor() {
35562
35562
  super("textFilter", TC, Mu), this.filterType = "text", this.eValuesFrom = [], this.eValuesTo = [], this.defaultDebounceMs = 500;
35563
35563
  }
@@ -35595,7 +35595,7 @@ var zT = {
35595
35595
  }
35596
35596
  }, IC = class extends Pu {
35597
35597
  constructor() {
35598
- super(...arguments), this.filterTypeKeys = AT;
35598
+ super(...arguments), this.filterTypeKeys = A6;
35599
35599
  }
35600
35600
  conditionToString(e, t, s, i, o) {
35601
35601
  const { filter: n, filterTo: r, type: a } = e;
@@ -35613,7 +35613,7 @@ var zT = {
35613
35613
  }
35614
35614
  return s ? `${n}-${r}` : n != null ? `${n}` : `${a}`;
35615
35615
  }
35616
- }, $T = ({ filterOption: e, value: t, filterText: s }) => {
35616
+ }, $6 = ({ filterOption: e, value: t, filterText: s }) => {
35617
35617
  if (s == null)
35618
35618
  return !1;
35619
35619
  switch (e) {
@@ -35634,14 +35634,14 @@ var zT = {
35634
35634
  default:
35635
35635
  return !1;
35636
35636
  }
35637
- }, jT = (e) => e, KT = (e) => e == null ? null : e.toString().toLowerCase(), qT = class extends SC {
35637
+ }, j6 = (e) => e, K6 = (e) => e == null ? null : e.toString().toLowerCase(), q6 = class extends SC {
35638
35638
  constructor() {
35639
35639
  super(TC, Mu), this.filterType = "text", this.FilterModelFormatterClass = IC;
35640
35640
  }
35641
35641
  updateParams(e) {
35642
35642
  super.updateParams(e);
35643
35643
  const t = e.filterParams;
35644
- this.matcher = t.textMatcher ?? $T, this.formatter = t.textFormatter ?? (t.caseSensitive ? jT : KT);
35644
+ this.matcher = t.textMatcher ?? $6, this.formatter = t.textFormatter ?? (t.caseSensitive ? j6 : K6);
35645
35645
  }
35646
35646
  evaluateNullValue(e) {
35647
35647
  return e ? ["notEqual", "notContains", "blank"].indexOf(e) >= 0 : !1;
@@ -35686,7 +35686,7 @@ var zT = {
35686
35686
  }
35687
35687
  return e;
35688
35688
  }
35689
- }, YT = class extends MC {
35689
+ }, Y6 = class extends MC {
35690
35690
  constructor() {
35691
35691
  super(...arguments), this.FilterModelFormatterClass = IC, this.filterType = "text", this.defaultOptions = Mu;
35692
35692
  }
@@ -35694,16 +35694,16 @@ var zT = {
35694
35694
  return this.createManagedBean(new PC());
35695
35695
  }
35696
35696
  };
35697
- function ZT(e) {
35697
+ function Z6(e) {
35698
35698
  return !!e.quickFilter?.isFilterPresent();
35699
35699
  }
35700
- function QT(e) {
35700
+ function Q6(e) {
35701
35701
  return e.quickFilter?.getText();
35702
35702
  }
35703
- function XT(e) {
35703
+ function X6(e) {
35704
35704
  e.quickFilter?.resetCache();
35705
35705
  }
35706
- var JT = class extends O {
35706
+ var J6 = class extends O {
35707
35707
  constructor() {
35708
35708
  super(...arguments), this.beanName = "quickFilter", this.quickFilter = null, this.quickFilterParts = null;
35709
35709
  }
@@ -35810,30 +35810,30 @@ var JT = class extends O {
35810
35810
  return t.join(`
35811
35811
  `);
35812
35812
  }
35813
- }, e6 = {
35813
+ }, eT = {
35814
35814
  moduleName: "ClientSideRowModelFilter",
35815
35815
  version: Z,
35816
35816
  rowModels: ["clientSide"],
35817
- beans: [tT]
35817
+ beans: [t6]
35818
35818
  }, Iu = {
35819
35819
  moduleName: "FilterCore",
35820
35820
  version: Z,
35821
- beans: [RT],
35821
+ beans: [R6],
35822
35822
  apiFunctions: {
35823
- isAnyFilterPresent: ST,
35824
- onFilterChanged: yT
35823
+ isAnyFilterPresent: S6,
35824
+ onFilterChanged: y6
35825
35825
  },
35826
- css: [aT],
35827
- dependsOn: [e6]
35826
+ css: [a6],
35827
+ dependsOn: [eT]
35828
35828
  }, AC = {
35829
35829
  moduleName: "FilterValue",
35830
35830
  version: Z,
35831
- beans: [FT]
35831
+ beans: [F6]
35832
35832
  }, Ha = {
35833
35833
  moduleName: "ColumnFilter",
35834
35834
  version: Z,
35835
- beans: [bT, xT],
35836
- dynamicBeans: { headerFilterCellCtrl: sT },
35835
+ beans: [b6, x6],
35836
+ dynamicBeans: { headerFilterCellCtrl: s6 },
35837
35837
  icons: {
35838
35838
  // open filter button - header, floating filter, menu
35839
35839
  filter: "filter",
@@ -35841,99 +35841,99 @@ var JT = class extends O {
35841
35841
  filterActive: "filter"
35842
35842
  },
35843
35843
  apiFunctions: {
35844
- isColumnFilterPresent: lT,
35845
- getColumnFilterInstance: cT,
35846
- destroyFilter: dT,
35847
- setFilterModel: uT,
35848
- getFilterModel: hT,
35849
- getColumnFilterModel: gT,
35850
- setColumnFilterModel: pT,
35851
- showColumnFilter: fT,
35852
- hideColumnFilter: mT,
35853
- getColumnFilterHandler: CT,
35854
- doFilterAction: vT
35844
+ isColumnFilterPresent: l6,
35845
+ getColumnFilterInstance: c6,
35846
+ destroyFilter: d6,
35847
+ setFilterModel: u6,
35848
+ getFilterModel: h6,
35849
+ getColumnFilterModel: g6,
35850
+ setColumnFilterModel: p6,
35851
+ showColumnFilter: f6,
35852
+ hideColumnFilter: m6,
35853
+ getColumnFilterHandler: C6,
35854
+ doFilterAction: v6
35855
35855
  },
35856
- dependsOn: [Iu, Na, AC, nT]
35857
- }, t6 = {
35856
+ dependsOn: [Iu, Na, AC, n6]
35857
+ }, tT = {
35858
35858
  moduleName: "CustomFilter",
35859
35859
  version: Z,
35860
- userComponents: { agReadOnlyFloatingFilter: DT },
35860
+ userComponents: { agReadOnlyFloatingFilter: D6 },
35861
35861
  dependsOn: [Ha]
35862
- }, s6 = {
35862
+ }, sT = {
35863
35863
  moduleName: "TextFilter",
35864
35864
  version: Z,
35865
35865
  dependsOn: [Ha],
35866
35866
  userComponents: {
35867
35867
  agTextColumnFilter: {
35868
- classImp: UT,
35868
+ classImp: U6,
35869
35869
  params: {
35870
35870
  useForm: !0
35871
35871
  }
35872
35872
  },
35873
- agTextColumnFloatingFilter: YT
35873
+ agTextColumnFloatingFilter: Y6
35874
35874
  },
35875
35875
  dynamicBeans: {
35876
- agTextColumnFilterHandler: qT
35876
+ agTextColumnFilterHandler: q6
35877
35877
  }
35878
- }, i6 = {
35878
+ }, iT = {
35879
35879
  moduleName: "NumberFilter",
35880
35880
  version: Z,
35881
35881
  dependsOn: [Ha],
35882
35882
  userComponents: {
35883
35883
  agNumberColumnFilter: {
35884
- classImp: BT,
35884
+ classImp: B6,
35885
35885
  params: {
35886
35886
  useForm: !0
35887
35887
  }
35888
35888
  },
35889
- agNumberColumnFloatingFilter: _T
35889
+ agNumberColumnFloatingFilter: _6
35890
35890
  },
35891
35891
  dynamicBeans: {
35892
- agNumberColumnFilterHandler: VT
35892
+ agNumberColumnFilterHandler: V6
35893
35893
  }
35894
- }, o6 = {
35894
+ }, oT = {
35895
35895
  moduleName: "DateFilter",
35896
35896
  version: Z,
35897
35897
  dependsOn: [Ha],
35898
35898
  userComponents: {
35899
35899
  agDateColumnFilter: {
35900
- classImp: IT,
35900
+ classImp: I6,
35901
35901
  params: {
35902
35902
  useForm: !0
35903
35903
  }
35904
35904
  },
35905
- agDateInput: GT,
35906
- agDateColumnFloatingFilter: NT
35905
+ agDateInput: G6,
35906
+ agDateColumnFloatingFilter: N6
35907
35907
  },
35908
35908
  dynamicBeans: {
35909
- agDateColumnFilterHandler: LT
35909
+ agDateColumnFilterHandler: L6
35910
35910
  }
35911
- }, n6 = {
35911
+ }, nT = {
35912
35912
  moduleName: "QuickFilterCore",
35913
35913
  version: Z,
35914
35914
  rowModels: ["clientSide"],
35915
- beans: [JT],
35915
+ beans: [J6],
35916
35916
  dependsOn: [Iu, AC]
35917
- }, r6 = {
35917
+ }, rT = {
35918
35918
  moduleName: "QuickFilter",
35919
35919
  version: Z,
35920
35920
  apiFunctions: {
35921
- isQuickFilterPresent: ZT,
35922
- getQuickFilter: QT,
35923
- resetQuickFilter: XT
35921
+ isQuickFilterPresent: Z6,
35922
+ getQuickFilter: Q6,
35923
+ resetQuickFilter: X6
35924
35924
  },
35925
- dependsOn: [n6]
35926
- }, a6 = {
35925
+ dependsOn: [nT]
35926
+ }, aT = {
35927
35927
  moduleName: "ExternalFilter",
35928
35928
  version: Z,
35929
35929
  dependsOn: [Iu]
35930
- }, l6 = (
35930
+ }, lT = (
35931
35931
  /*css*/
35932
35932
  ".ag-tooltip{background-color:var(--ag-tooltip-background-color);border:var(--ag-tooltip-border);border-radius:var(--ag-border-radius);color:var(--ag-tooltip-text-color);padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;white-space:normal;z-index:99999;&:where(.ag-cell-editor-tooltip){background-color:var(--ag-tooltip-error-background-color);border:var(--ag-tooltip-error-border);color:var(--ag-tooltip-error-text-color);font-weight:500}}.ag-tooltip-custom{position:absolute;z-index:99999}.ag-tooltip-custom:where(:not(.ag-tooltip-interactive)),.ag-tooltip:where(:not(.ag-tooltip-interactive)){pointer-events:none}.ag-tooltip-animate{transition:opacity 1s;&:where(.ag-tooltip-hiding){opacity:0}}"
35933
35933
  ), nc = (e, t, s) => {
35934
35934
  const { editModelSvc: i } = e, o = i?.getCellValidationModel()?.getCellValidation(t)?.errorMessages, n = i?.getRowValidationModel().getRowValidation(t)?.errorMessages, r = o || n;
35935
35935
  return r?.length ? r.join(s("tooltipValidationErrorSeparator", ". ")) : void 0;
35936
- }, c6 = class extends O {
35936
+ }, cT = class extends O {
35937
35937
  constructor() {
35938
35938
  super(...arguments), this.beanName = "tooltipSvc";
35939
35939
  }
@@ -36068,7 +36068,7 @@ var JT = class extends O {
36068
36068
  createTooltipFeature(e, t) {
36069
36069
  return this.beans.registry.createDynamicBean("tooltipFeature", !1, e, t);
36070
36070
  }
36071
- }, d6 = class extends Q2 {
36071
+ }, dT = class extends Q2 {
36072
36072
  createTooltipComp(e, t) {
36073
36073
  _R(this.beans.userCompFactory, e)?.newAgStackInstance().then(t);
36074
36074
  }
@@ -36083,17 +36083,17 @@ var JT = class extends O {
36083
36083
  }, kC = {
36084
36084
  moduleName: "Tooltip",
36085
36085
  version: Z,
36086
- beans: [c6],
36086
+ beans: [cT],
36087
36087
  dynamicBeans: {
36088
36088
  tooltipFeature: am,
36089
36089
  highlightTooltipFeature: X2,
36090
- tooltipStateManager: d6
36090
+ tooltipStateManager: dT
36091
36091
  },
36092
36092
  userComponents: {
36093
36093
  agTooltipComponent: tx
36094
36094
  },
36095
36095
  dependsOn: [Na],
36096
- css: [l6]
36096
+ css: [lT]
36097
36097
  }, $i = class {
36098
36098
  constructor(e) {
36099
36099
  this.cellValueChanges = e;
@@ -36102,9 +36102,9 @@ var JT = class extends O {
36102
36102
  constructor(e, t, s, i) {
36103
36103
  super(e), this.initialRange = t, this.finalRange = s, this.ranges = i;
36104
36104
  }
36105
- }, u6 = 10, Fg = class {
36105
+ }, uT = 10, Fg = class {
36106
36106
  constructor(e) {
36107
- this.actionStack = [], this.maxStackSize = e || u6, this.actionStack = new Array(this.maxStackSize);
36107
+ this.actionStack = [], this.maxStackSize = e || uT, this.actionStack = new Array(this.maxStackSize);
36108
36108
  }
36109
36109
  pop() {
36110
36110
  return this.actionStack.pop();
@@ -36118,7 +36118,7 @@ var JT = class extends O {
36118
36118
  getCurrentStackSize() {
36119
36119
  return this.actionStack.length;
36120
36120
  }
36121
- }, h6 = class extends O {
36121
+ }, hT = class extends O {
36122
36122
  constructor() {
36123
36123
  super(...arguments), this.beanName = "undoRedo", this.cellValueChanges = [], this.activeCellEdit = null, this.activeRowEdit = null, this.isPasting = !1, this.isRangeInAction = !1, this.batchEditing = !1, this.bulkEditing = !1, this.onCellValueChanged = (e) => {
36124
36124
  const t = { column: e.column, rowIndex: e.rowIndex, rowPinned: e.rowPinned }, s = this.activeCellEdit !== null && Hm(this.activeCellEdit, t), i = this.activeRowEdit !== null && P3(this.activeRowEdit, t);
@@ -36315,10 +36315,10 @@ var JT = class extends O {
36315
36315
  pushActionsToUndoStack(e) {
36316
36316
  this.undoStack.push(e), this.cellValueChanges = [], this.redoStack.clear();
36317
36317
  }
36318
- }, g6 = (
36318
+ }, gT = (
36319
36319
  /*css*/
36320
36320
  ".ag-cell-inline-editing{border:var(--ag-cell-editing-border)!important;border-radius:var(--ag-border-radius);box-shadow:var(--ag-cell-editing-shadow);padding:0;z-index:1;.ag-cell-edit-wrapper,.ag-cell-editor,.ag-cell-wrapper,:where(.ag-cell-editor) .ag-input-field-input,:where(.ag-cell-editor) .ag-wrapper{height:100%;line-height:normal;min-height:100%;width:100%}&.ag-cell-editing-error{border-color:var(--ag-invalid-color)!important}}:where(.ag-popup-editor) .ag-large-text{background-color:var(--ag-background-color);border-radius:var(--ag-border-radius);box-shadow:var(--ag-dropdown-shadow);padding:0}.ag-large-text-input{display:block;height:auto;padding:var(--ag-cell-horizontal-padding)}:where(.ag-rtl .ag-large-text-input) textarea{resize:none}:where(.ag-ltr) .ag-checkbox-edit{padding-left:var(--ag-cell-horizontal-padding)}:where(.ag-rtl) .ag-checkbox-edit{padding-right:var(--ag-cell-horizontal-padding)}:where(.ag-row.ag-row-editing-invalid .ag-cell-inline-editing){opacity:.8}.ag-popup-editor{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}"
36321
- ), p6 = {
36321
+ ), pT = {
36322
36322
  tag: "div",
36323
36323
  cls: "ag-cell-wrapper ag-cell-edit-wrapper ag-checkbox-edit",
36324
36324
  children: [
@@ -36328,9 +36328,9 @@ var JT = class extends O {
36328
36328
  role: "presentation"
36329
36329
  }
36330
36330
  ]
36331
- }, f6 = class extends La {
36331
+ }, fT = class extends La {
36332
36332
  constructor() {
36333
- super(p6, [ou]), this.eEditor = pe;
36333
+ super(pT, [ou]), this.eEditor = pe;
36334
36334
  }
36335
36335
  initialiseEditor(e) {
36336
36336
  const t = e.value ?? void 0, s = this.eEditor;
@@ -36408,16 +36408,16 @@ var JT = class extends O {
36408
36408
  getValidationErrors() {
36409
36409
  return this.cellEditorInput.getValidationErrors();
36410
36410
  }
36411
- }, m6 = {
36411
+ }, mT = {
36412
36412
  tag: "ag-input-date-field",
36413
36413
  ref: "eEditor",
36414
36414
  cls: "ag-cell-editor"
36415
- }, C6 = class {
36415
+ }, CT = class {
36416
36416
  constructor(e, t) {
36417
36417
  this.getDataTypeService = e, this.getLocaleTextFunc = t;
36418
36418
  }
36419
36419
  getTemplate() {
36420
- return m6;
36420
+ return mT;
36421
36421
  }
36422
36422
  getAgComponents() {
36423
36423
  return [Xf];
@@ -36462,25 +36462,25 @@ var JT = class extends O {
36462
36462
  if (e instanceof Date)
36463
36463
  return At(e, this.includeTime ?? !1);
36464
36464
  }
36465
- }, v6 = class extends Ga {
36465
+ }, vT = class extends Ga {
36466
36466
  constructor() {
36467
36467
  super(
36468
- new C6(
36468
+ new CT(
36469
36469
  () => this.beans.dataTypeSvc,
36470
36470
  () => this.getLocaleTextFunc()
36471
36471
  )
36472
36472
  );
36473
36473
  }
36474
- }, w6 = {
36474
+ }, wT = {
36475
36475
  tag: "ag-input-date-field",
36476
36476
  ref: "eEditor",
36477
36477
  cls: "ag-cell-editor"
36478
- }, b6 = class {
36478
+ }, bT = class {
36479
36479
  constructor(e, t) {
36480
36480
  this.getDataTypeService = e, this.getLocaleTextFunc = t;
36481
36481
  }
36482
36482
  getTemplate() {
36483
- return w6;
36483
+ return wT;
36484
36484
  }
36485
36485
  getAgComponents() {
36486
36486
  return [Xf];
@@ -36535,16 +36535,16 @@ var JT = class extends O {
36535
36535
  const t = this.getDataTypeService();
36536
36536
  return t ? t.getDateFormatterFunction(this.params.column)(e) : At(e ?? null, this.includeTime ?? !1) ?? void 0;
36537
36537
  }
36538
- }, S6 = class extends Ga {
36538
+ }, ST = class extends Ga {
36539
36539
  constructor() {
36540
36540
  super(
36541
- new b6(
36541
+ new bT(
36542
36542
  () => this.beans.dataTypeSvc,
36543
36543
  () => this.getLocaleTextFunc()
36544
36544
  )
36545
36545
  );
36546
36546
  }
36547
- }, y6 = {
36547
+ }, yT = {
36548
36548
  tag: "div",
36549
36549
  cls: "ag-large-text",
36550
36550
  children: [
@@ -36554,9 +36554,9 @@ var JT = class extends O {
36554
36554
  cls: "ag-large-text-input"
36555
36555
  }
36556
36556
  ]
36557
- }, R6 = class extends La {
36557
+ }, RT = class extends La {
36558
36558
  constructor() {
36559
- super(y6, [a2]), this.eEditor = pe;
36559
+ super(yT, [a2]), this.eEditor = pe;
36560
36560
  }
36561
36561
  initialiseEditor(e) {
36562
36562
  const { eEditor: t } = this, { cellStartedEdit: s, eventKey: i, maxLength: o, cols: n, rows: r } = e;
@@ -36594,16 +36594,16 @@ var JT = class extends O {
36594
36594
  cellEditorParams: e
36595
36595
  }) : n;
36596
36596
  }
36597
- }, x6 = {
36597
+ }, xT = {
36598
36598
  tag: "ag-input-number-field",
36599
36599
  ref: "eEditor",
36600
36600
  cls: "ag-cell-editor"
36601
- }, F6 = class {
36601
+ }, FT = class {
36602
36602
  constructor(e) {
36603
36603
  this.getLocaleTextFunc = e;
36604
36604
  }
36605
36605
  getTemplate() {
36606
- return x6;
36606
+ return xT;
36607
36607
  }
36608
36608
  getAgComponents() {
36609
36609
  return [l2];
@@ -36651,11 +36651,11 @@ var JT = class extends O {
36651
36651
  setCaret() {
36652
36652
  ti() && this.eEditor.getInputElement().focus({ preventScroll: !0 });
36653
36653
  }
36654
- }, E6 = class extends Ga {
36654
+ }, ET = class extends Ga {
36655
36655
  constructor() {
36656
- super(new F6(() => this.getLocaleTextFunc()));
36656
+ super(new FT(() => this.getLocaleTextFunc()));
36657
36657
  }
36658
- }, D6 = {
36658
+ }, DT = {
36659
36659
  tag: "div",
36660
36660
  cls: "ag-cell-edit-wrapper",
36661
36661
  children: [
@@ -36665,9 +36665,9 @@ var JT = class extends O {
36665
36665
  cls: "ag-cell-editor"
36666
36666
  }
36667
36667
  ]
36668
- }, P6 = class extends La {
36668
+ }, PT = class extends La {
36669
36669
  constructor() {
36670
- super(D6, [w2]), this.eEditor = pe, this.startedByEnter = !1;
36670
+ super(DT, [w2]), this.eEditor = pe, this.startedByEnter = !1;
36671
36671
  }
36672
36672
  wireBeans(e) {
36673
36673
  this.valueSvc = e.valueSvc;
@@ -36719,16 +36719,16 @@ var JT = class extends O {
36719
36719
  cellEditorParams: e
36720
36720
  }) : o;
36721
36721
  }
36722
- }, T6 = {
36722
+ }, TT = {
36723
36723
  tag: "ag-input-text-field",
36724
36724
  ref: "eEditor",
36725
36725
  cls: "ag-cell-editor"
36726
- }, M6 = class {
36726
+ }, MT = class {
36727
36727
  constructor(e) {
36728
36728
  this.getLocaleTextFunc = e;
36729
36729
  }
36730
36730
  getTemplate() {
36731
- return T6;
36731
+ return TT;
36732
36732
  }
36733
36733
  getAgComponents() {
36734
36734
  return [Ma];
@@ -36760,13 +36760,13 @@ var JT = class extends O {
36760
36760
  }
36761
36761
  }, Eg = class extends Ga {
36762
36762
  constructor() {
36763
- super(new M6(() => this.getLocaleTextFunc()));
36763
+ super(new MT(() => this.getLocaleTextFunc()));
36764
36764
  }
36765
36765
  };
36766
- function I6(e) {
36766
+ function IT(e) {
36767
36767
  return e.ctrlsSvc.getScrollFeature().getVScrollPosition();
36768
36768
  }
36769
- function A6(e) {
36769
+ function AT(e) {
36770
36770
  return e.ctrlsSvc.getScrollFeature().getHScrollPosition();
36771
36771
  }
36772
36772
  function LC(e, t, s = "auto") {
@@ -36781,22 +36781,22 @@ function OC(e, t, s) {
36781
36781
  "ensureVisible"
36782
36782
  );
36783
36783
  }
36784
- function k6(e, t, s = null) {
36784
+ function kT(e, t, s = null) {
36785
36785
  e.frameworkOverrides.wrapIncoming(
36786
36786
  () => e.ctrlsSvc.getScrollFeature().ensureNodeVisible(t, s),
36787
36787
  "ensureVisible"
36788
36788
  );
36789
36789
  }
36790
- function L6(e) {
36790
+ function LT(e) {
36791
36791
  e.undoRedo?.undo("api");
36792
36792
  }
36793
- function O6(e) {
36793
+ function OT(e) {
36794
36794
  e.undoRedo?.redo("api");
36795
36795
  }
36796
- function N6(e, t) {
36796
+ function NT(e, t) {
36797
36797
  return e.editModelSvc?.getEditRowDataValue(t, { checkSiblings: !0 });
36798
36798
  }
36799
- function H6(e) {
36799
+ function HT(e) {
36800
36800
  const t = e.editModelSvc?.getEditMap(), s = [];
36801
36801
  return t?.forEach((i, o) => {
36802
36802
  const { rowIndex: n, rowPinned: r } = o;
@@ -36818,7 +36818,7 @@ function H6(e) {
36818
36818
  });
36819
36819
  }), s;
36820
36820
  }
36821
- function G6(e, t = !1) {
36821
+ function GT(e, t = !1) {
36822
36822
  const { editSvc: s } = e;
36823
36823
  if (s?.isBatchEditing()) {
36824
36824
  if (t)
@@ -36830,11 +36830,11 @@ function G6(e, t = !1) {
36830
36830
  } else
36831
36831
  s?.stopEditing(void 0, { cancel: t, source: "edit", forceStop: !t, forceCancel: t });
36832
36832
  }
36833
- function B6(e, t) {
36833
+ function BT(e, t) {
36834
36834
  const s = je(e, t);
36835
36835
  return e.editSvc?.isEditing(s) ?? !1;
36836
36836
  }
36837
- function V6(e, t) {
36837
+ function VT(e, t) {
36838
36838
  const { key: s, colKey: i, rowIndex: o, rowPinned: n } = t, { editSvc: r, colModel: a } = e, l = a.getCol(i);
36839
36839
  if (!l) {
36840
36840
  _(12, { colKey: i });
@@ -36861,18 +36861,18 @@ function V6(e, t) {
36861
36861
  }
36862
36862
  );
36863
36863
  }
36864
- function z6(e) {
36864
+ function zT(e) {
36865
36865
  return e.editSvc?.validateEdit() || null;
36866
36866
  }
36867
- function W6(e) {
36867
+ function WT(e) {
36868
36868
  return e.undoRedo?.getCurrentUndoStackSize() ?? 0;
36869
36869
  }
36870
- function _6(e) {
36870
+ function _T(e) {
36871
36871
  return e.undoRedo?.getCurrentRedoStackSize() ?? 0;
36872
36872
  }
36873
- var U6 = { tag: "div", cls: "ag-popup-editor", attrs: { tabindex: "-1" } }, $6 = class extends tu {
36873
+ var UT = { tag: "div", cls: "ag-popup-editor", attrs: { tabindex: "-1" } }, $T = class extends tu {
36874
36874
  constructor(e) {
36875
- super(U6), this.params = e;
36875
+ super(UT), this.params = e;
36876
36876
  }
36877
36877
  postConstruct() {
36878
36878
  Ri(this.gos, this.getGui(), "popupEditorWrapper", !0), this.addKeyDownListener();
@@ -36884,22 +36884,22 @@ var U6 = { tag: "div", cls: "ag-popup-editor", attrs: { tabindex: "-1" } }, $6 =
36884
36884
  this.addManagedElementListeners(e, { keydown: s });
36885
36885
  }
36886
36886
  };
36887
- function j6(e, { column: t }, s, i, o = "ui") {
36887
+ function jT(e, { column: t }, s, i, o = "ui") {
36888
36888
  if (s instanceof KeyboardEvent && (s.key === M.TAB || s.key === M.ENTER || s.key === M.F2 || s.key === M.BACKSPACE && i))
36889
36889
  return !0;
36890
36890
  if (s?.shiftKey && e.rangeSvc?.getCellRanges().length != 0)
36891
36891
  return !1;
36892
- const r = t?.getColDef(), a = K6(e.gos, r), l = s?.type;
36892
+ const r = t?.getColDef(), a = KT(e.gos, r), l = s?.type;
36893
36893
  return l === "click" && s?.detail === 1 && a === 1 || l === "dblclick" && s?.detail === 2 && a === 2 ? !0 : o === "api" ? i ?? !1 : !1;
36894
36894
  }
36895
- function K6(e, t) {
36895
+ function KT(e, t) {
36896
36896
  return e.get("suppressClickEdit") === !0 ? 0 : e.get("singleClickEdit") === !0 || t?.singleClickEdit ? 1 : 2;
36897
36897
  }
36898
36898
  function ad(e, { rowNode: t, column: s }, i = "ui") {
36899
36899
  const o = s.getColDef().editable, n = e.editModelSvc;
36900
36900
  return s.isColumnFunc(t, o) || !!n && n.hasEdits({ rowNode: t, column: s }, { withOpenEditor: !0 });
36901
36901
  }
36902
- function q6(e, t, s = "ui") {
36902
+ function qT(e, t, s = "ui") {
36903
36903
  const i = ad(e, t, s);
36904
36904
  return i === !0 || s === "ui" ? i : e.colModel.getCols().some((n) => ad(e, { rowNode: t.rowNode, column: n }, s));
36905
36905
  }
@@ -36931,7 +36931,7 @@ function BC(e, { rowNode: t, column: s }) {
36931
36931
  })
36932
36932
  );
36933
36933
  }
36934
- var Y6 = class extends O {
36934
+ var YT = class extends O {
36935
36935
  constructor(e, t) {
36936
36936
  super(), this.cellCtrl = e, this.beans = t, this.editSvc = t.editSvc, this.editModelSvc = t.editModelSvc;
36937
36937
  }
@@ -36951,7 +36951,7 @@ var Y6 = class extends O {
36951
36951
  applyBatchingStyle(e) {
36952
36952
  this.cellComp.toggleCss("ag-cell-editing", e ?? !1), this.cellComp.toggleCss("ag-cell-batch-edit", (e && this.editSvc?.isBatchEditing()) ?? !1);
36953
36953
  }
36954
- }, Z6 = class extends O {
36954
+ }, ZT = class extends O {
36955
36955
  constructor(e, t) {
36956
36956
  super(), this.rowCtrl = e, this.beans = t, this.gos = t.gos, this.editSvc = t.editSvc, this.editModelSvc = t.editModelSvc;
36957
36957
  }
@@ -36975,18 +36975,18 @@ var Y6 = class extends O {
36975
36975
  o.toggleCss("ag-row-editing", i && t), o.toggleCss("ag-row-batch-edit", i && t && s), o.toggleCss("ag-row-inline-editing", t), o.toggleCss("ag-row-not-inline-editing", !t), o.toggleCss("ag-row-editing-invalid", i && t && e);
36976
36976
  });
36977
36977
  }
36978
- }, Q6 = ({ rowModel: e, pinnedRowModel: t, editModelSvc: s }, i) => {
36978
+ }, QT = ({ rowModel: e, pinnedRowModel: t, editModelSvc: s }, i) => {
36979
36979
  const o = /* @__PURE__ */ new Set();
36980
36980
  e.forEachNode((n) => i.has(n) && o.add(n)), t?.forEachPinnedRow("top", (n) => i.has(n) && o.add(n)), t?.forEachPinnedRow("bottom", (n) => i.has(n) && o.add(n));
36981
36981
  for (const n of i)
36982
36982
  o.has(n) || s.removeEdits({ rowNode: n });
36983
36983
  return o;
36984
- }, X6 = ({ editModelSvc: e }, t, s) => {
36984
+ }, XT = ({ editModelSvc: e }, t, s) => {
36985
36985
  for (const i of t)
36986
36986
  e?.getEditRow(i)?.forEach((o, n) => !s.has(n) && e.removeEdits({ rowNode: i, column: n }));
36987
- }, J6 = (e) => () => {
36987
+ }, JT = (e) => () => {
36988
36988
  const t = new Set(e.colModel.getCols()), s = e.editModelSvc.getEditMap(!0), i = new Set(s.keys());
36989
- X6(e, Q6(e, i), t);
36989
+ XT(e, QT(e, i), t);
36990
36990
  }, eM = /* @__PURE__ */ new Set(["undo", "redo", "paste", "bulk", "rangeSvc"]), tM = /* @__PURE__ */ new Set(["ui", "api"]), VC = {
36991
36991
  paste: "api",
36992
36992
  rangeSvc: "api",
@@ -37009,7 +37009,7 @@ var Y6 = class extends O {
37009
37009
  this.model = e.editModelSvc, this.valueSvc = e.valueSvc, this.rangeSvc = e.rangeSvc, this.addManagedPropertyListener("editType", ({ currentValue: i }) => {
37010
37010
  this.stopEditing(void 0, wr), this.createStrategy(i);
37011
37011
  });
37012
- const t = J6(e), s = () => {
37012
+ const t = JT(e), s = () => {
37013
37013
  const i = this.model.getCellValidationModel().getCellValidationMap().size > 0, o = this.model.getRowValidationModel().getRowValidationMap().size > 0;
37014
37014
  return i || o ? this.stopEditing(void 0, wr) : this.isEditing() && (this.isBatchEditing() ? ao(e, this.model.getEditPositions()) : this.stopEditing(void 0, oM)), !1;
37015
37015
  };
@@ -37046,7 +37046,7 @@ var Y6 = class extends O {
37046
37046
  this.strategy && (this.strategy.destroy(), this.strategy = this.destroyBean(this.strategy));
37047
37047
  }
37048
37048
  shouldStartEditing(e, t, s, i = "ui") {
37049
- const o = j6(this.beans, e, t, s, i);
37049
+ const o = jT(this.beans, e, t, s, i);
37050
37050
  return o && (this.strategy ?? (this.strategy = this.createStrategy())), o;
37051
37051
  }
37052
37052
  shouldStopEditing(e, t, s = "ui") {
@@ -37208,7 +37208,7 @@ var Y6 = class extends O {
37208
37208
  } else if (!i.get("enableGroupEdit"))
37209
37209
  return !1;
37210
37210
  }
37211
- const n = Dg(i) === "fullRow" ? q6(o, e, t) : ad(o, e, t);
37211
+ const n = Dg(i) === "fullRow" ? qT(o, e, t) : ad(o, e, t);
37212
37212
  return n && (this.strategy ?? (this.strategy = this.createStrategy())), n;
37213
37213
  }
37214
37214
  cellEditingInvalidCommitBlocks() {
@@ -37253,7 +37253,7 @@ var Y6 = class extends O {
37253
37253
  p5(this, this.beans, e);
37254
37254
  }
37255
37255
  createPopupEditorWrapper(e) {
37256
- return new $6(e);
37256
+ return new $T(e);
37257
37257
  }
37258
37258
  commitNextEdit() {
37259
37259
  this.committing = !0;
@@ -37371,10 +37371,10 @@ var Y6 = class extends O {
37371
37371
  l && l.focusCell(!0);
37372
37372
  }
37373
37373
  createCellStyleFeature(e, t) {
37374
- return new Y6(e, t);
37374
+ return new YT(e, t);
37375
37375
  }
37376
37376
  createRowStyleFeature(e, t) {
37377
- return new Z6(e, t);
37377
+ return new ZT(e, t);
37378
37378
  }
37379
37379
  setEditingCells(e, t) {
37380
37380
  const { beans: s } = this, { colModel: i, valueSvc: o } = s, n = /* @__PURE__ */ new Map();
@@ -37752,29 +37752,29 @@ var zC = class extends O {
37752
37752
  version: Z,
37753
37753
  beans: [g5, nM],
37754
37754
  apiFunctions: {
37755
- getEditingCells: H6,
37756
- getEditRowValues: N6,
37755
+ getEditingCells: HT,
37756
+ getEditRowValues: NT,
37757
37757
  getCellEditorInstances: f5,
37758
- startEditingCell: V6,
37759
- stopEditing: G6,
37760
- isEditing: B6,
37761
- validateEdit: z6
37758
+ startEditingCell: VT,
37759
+ stopEditing: GT,
37760
+ isEditing: BT,
37761
+ validateEdit: zT
37762
37762
  },
37763
37763
  dynamicBeans: {
37764
37764
  singleCell: lM,
37765
37765
  fullRow: aM
37766
37766
  },
37767
37767
  dependsOn: [Na, kC],
37768
- css: [g6]
37768
+ css: [gT]
37769
37769
  }, cM = {
37770
37770
  moduleName: "UndoRedoEdit",
37771
37771
  version: Z,
37772
- beans: [h6],
37772
+ beans: [hT],
37773
37773
  apiFunctions: {
37774
- undoCellEditing: L6,
37775
- redoCellEditing: O6,
37776
- getCurrentUndoSize: W6,
37777
- getCurrentRedoSize: _6
37774
+ undoCellEditing: LT,
37775
+ redoCellEditing: OT,
37776
+ getCurrentUndoSize: WT,
37777
+ getCurrentRedoSize: _T
37778
37778
  },
37779
37779
  dependsOn: [ii]
37780
37780
  }, dM = {
@@ -37787,7 +37787,7 @@ var zC = class extends O {
37787
37787
  version: Z,
37788
37788
  userComponents: {
37789
37789
  agNumberCellEditor: {
37790
- classImp: E6
37790
+ classImp: ET
37791
37791
  }
37792
37792
  },
37793
37793
  dependsOn: [ii]
@@ -37795,26 +37795,26 @@ var zC = class extends O {
37795
37795
  moduleName: "DateEditor",
37796
37796
  version: Z,
37797
37797
  userComponents: {
37798
- agDateCellEditor: v6,
37799
- agDateStringCellEditor: S6
37798
+ agDateCellEditor: vT,
37799
+ agDateStringCellEditor: ST
37800
37800
  },
37801
37801
  dependsOn: [ii]
37802
37802
  }, gM = {
37803
37803
  moduleName: "CheckboxEditor",
37804
37804
  version: Z,
37805
37805
  userComponents: {
37806
- agCheckboxCellEditor: f6
37806
+ agCheckboxCellEditor: fT
37807
37807
  },
37808
37808
  dependsOn: [ii]
37809
37809
  }, pM = {
37810
37810
  moduleName: "SelectEditor",
37811
37811
  version: Z,
37812
- userComponents: { agSelectCellEditor: P6 },
37812
+ userComponents: { agSelectCellEditor: PT },
37813
37813
  dependsOn: [ii]
37814
37814
  }, fM = {
37815
37815
  moduleName: "LargeTextEditor",
37816
37816
  version: Z,
37817
- userComponents: { agLargeTextCellEditor: R6 },
37817
+ userComponents: { agLargeTextCellEditor: RT },
37818
37818
  dependsOn: [ii]
37819
37819
  }, mM = {
37820
37820
  moduleName: "CustomEditor",
@@ -38697,17 +38697,17 @@ var HM = {
38697
38697
  C.data !== w && (C.updateData(w), r.has(C) || a.add(C), !C.selectable && C.isSelected() && c.push(C));
38698
38698
  }, f = (C, w, b) => {
38699
38699
  for (let S = 0, y = w.length; S < y; ++S) {
38700
- const F = w[S];
38701
- if (!F)
38700
+ const x = w[S];
38701
+ if (!x)
38702
38702
  continue;
38703
- let R = this.getRowNode(o({ data: F, level: b }));
38704
- if (R ? (p(R, F), g || (g = !!d && R.treeParent !== C)) : (R = this.createRowNode(F, b), r.add(R)), !d || l.has(R)) {
38703
+ let R = this.getRowNode(o({ data: x, level: b }));
38704
+ if (R ? (p(R, x), g || (g = !!d && R.treeParent !== C)) : (R = this.createRowNode(x, b), r.add(R)), !d || l.has(R)) {
38705
38705
  l.add(R);
38706
38706
  continue;
38707
38707
  }
38708
38708
  l.add(R), R.treeParent = C;
38709
- const x = d(F);
38710
- x && f(R, x, b + 1);
38709
+ const F = d(x);
38710
+ F && f(R, F, b + 1);
38711
38711
  }
38712
38712
  };
38713
38713
  f(s, t, 0);
@@ -38895,16 +38895,16 @@ var HM = {
38895
38895
  S && (v ?? (v = this.shouldSortContainsGroupCols(e)), S && (S = !v));
38896
38896
  let y = null;
38897
38897
  if (S) {
38898
- let F = !1;
38898
+ let x = !1;
38899
38899
  if (h) {
38900
38900
  const R = w.level + 1;
38901
- R < h.length && (F = h[R].getSort() === null);
38901
+ R < h.length && (x = h[R].getSort() === null);
38902
38902
  }
38903
- F || (y = QM(w));
38903
+ x || (y = QM(w));
38904
38904
  } else !e.length || b || (t && s ? y = YM(a, w, s, i, e) : y = a.doFullSort(w.childrenAfterAggFilter, e));
38905
38905
  if (y || (y = w.childrenAfterAggFilter?.slice(0) ?? []), f || (f = w.childrenAfterSort?.[0] !== y[0]), w.childrenAfterSort = y, jC(w), p) {
38906
- const F = { nodes: w.childrenAfterSort };
38907
- p(F);
38906
+ const x = { nodes: w.childrenAfterSort };
38907
+ p(x);
38908
38908
  }
38909
38909
  };
38910
38910
  if (i?.forEachChangedNodeDepthFirst(C), f && o.get("groupHideOpenParents")) {
@@ -40754,11 +40754,11 @@ var WI = class extends O {
40754
40754
  f(E).pinned = "right";
40755
40755
  }
40756
40756
  (y || !s) && (v.pinned = null);
40757
- const F = g("columnVisibility", c);
40758
- if (F)
40757
+ const x = g("columnVisibility", c);
40758
+ if (x)
40759
40759
  for (const E of c?.hiddenColIds ?? [])
40760
40760
  f(E).hide = !0;
40761
- (F || !s) && (v.hide = null);
40761
+ (x || !s) && (v.hide = null);
40762
40762
  const R = g("columnSizing", d);
40763
40763
  if (R)
40764
40764
  for (const { colId: E, flex: A, width: U } of d?.columnSizingModel ?? []) {
@@ -40766,7 +40766,7 @@ var WI = class extends O {
40766
40766
  B.flex = A ?? null, B.width = U;
40767
40767
  }
40768
40768
  (R || !s) && (v.flex = null);
40769
- const x = u?.orderedColIds, P = !!x?.length && !i?.has("columnOrder"), T = P ? x.map((E) => f(E)) : Object.values(p);
40769
+ const F = u?.orderedColIds, P = !!F?.length && !i?.has("columnOrder"), T = P ? F.map((E) => f(E)) : Object.values(p);
40770
40770
  (T.length || h) && (this.columnStates = T, Xt(
40771
40771
  this.beans,
40772
40772
  {
@@ -41609,11 +41609,11 @@ var v8 = {
41609
41609
  moduleName: "ScrollApi",
41610
41610
  version: Z,
41611
41611
  apiFunctions: {
41612
- getVerticalPixelRange: I6,
41613
- getHorizontalPixelRange: A6,
41612
+ getVerticalPixelRange: IT,
41613
+ getHorizontalPixelRange: AT,
41614
41614
  ensureColumnVisible: LC,
41615
41615
  ensureIndexVisible: OC,
41616
- ensureNodeVisible: k6
41616
+ ensureNodeVisible: kT
41617
41617
  }
41618
41618
  };
41619
41619
  function b8(e, t, s) {
@@ -41750,22 +41750,22 @@ var M8 = class extends O {
41750
41750
  const v = /* @__PURE__ */ new Set();
41751
41751
  let C = -1;
41752
41752
  const w = Object.fromEntries(
41753
- c.map(({ colId: y, ...F }) => [y, F])
41753
+ c.map(({ colId: y, ...x }) => [y, x])
41754
41754
  ), b = o ?? this.gos.get("skipHeaderOnAutoSize"), S = n ?? b;
41755
41755
  for (; C !== 0; ) {
41756
41756
  C = 0;
41757
41757
  const y = [];
41758
- for (const F of i) {
41759
- if (!F || _y(F))
41758
+ for (const x of i) {
41759
+ if (!x || _y(x))
41760
41760
  continue;
41761
- const R = g.getCol(F);
41761
+ const R = g.getCol(x);
41762
41762
  if (!R || v.has(R))
41763
41763
  continue;
41764
- const x = p.getPreferredWidthForColumn(R, b);
41765
- if (x > 0) {
41764
+ const F = p.getPreferredWidthForColumn(R, b);
41765
+ if (F > 0) {
41766
41766
  const P = w[R.colId] ?? {};
41767
41767
  P.minWidth ?? (P.minWidth = l), P.maxWidth ?? (P.maxWidth = a);
41768
- const T = I8(R, x, P);
41768
+ const T = I8(R, F, P);
41769
41769
  R.setActualWidth(T, d), v.add(R), C++;
41770
41770
  }
41771
41771
  y.push(R);
@@ -41889,9 +41889,9 @@ var M8 = class extends O {
41889
41889
  const f = p / ys(l);
41890
41890
  let v = p;
41891
41891
  for (let C = l.length - 1; C >= 0; C--) {
41892
- const w = l[C], b = o?.[w.getId()], S = b?.minWidth ?? i?.defaultMinWidth, y = b?.maxWidth ?? i?.defaultMaxWidth, F = w.getMinWidth(), R = w.getMaxWidth(), x = typeof S == "number" && S > F ? S : F, P = typeof y == "number" && y < R ? y : R;
41892
+ const w = l[C], b = o?.[w.getId()], S = b?.minWidth ?? i?.defaultMinWidth, y = b?.maxWidth ?? i?.defaultMaxWidth, x = w.getMinWidth(), R = w.getMaxWidth(), F = typeof S == "number" && S > x ? S : x, P = typeof y == "number" && y < R ? y : R;
41893
41893
  let T = Math.round(w.getActualWidth() * f);
41894
- T < x ? (T = x, h(w), u = !1) : T > P ? (T = P, h(w), u = !1) : C === 0 && (T = v), w.setActualWidth(T, t, !0), v -= T;
41894
+ T < F ? (T = F, h(w), u = !1) : T > P ? (T = P, h(w), u = !1) : C === 0 && (T = v), w.setActualWidth(T, t, !0), v -= T;
41895
41895
  }
41896
41896
  }
41897
41897
  }
@@ -42062,7 +42062,7 @@ var B8 = {
42062
42062
  }
42063
42063
  const y = n.getValue(t, b);
42064
42064
  if (g) {
42065
- const F = fe(s, {
42065
+ const x = fe(s, {
42066
42066
  valueA: v,
42067
42067
  nodeA: p,
42068
42068
  valueB: y,
@@ -42070,7 +42070,7 @@ var B8 = {
42070
42070
  column: t,
42071
42071
  colDef: a
42072
42072
  });
42073
- if (!h(F)) {
42073
+ if (!h(x)) {
42074
42074
  C(b, y);
42075
42075
  return;
42076
42076
  }
@@ -42079,8 +42079,8 @@ var B8 = {
42079
42079
  return;
42080
42080
  }
42081
42081
  if (!f) {
42082
- const F = l?.get(p);
42083
- F?.firstNode === p ? (F.reset(), f = F) : f = new V8(t, p), c.set(p, f);
42082
+ const x = l?.get(p);
42083
+ x?.firstNode === p ? (x.reset(), f = x) : f = new V8(t, p), c.set(p, f);
42084
42084
  }
42085
42085
  f.addSpannedNode(b), c.set(b, f);
42086
42086
  };
@@ -42804,7 +42804,7 @@ var aA = {
42804
42804
  cI,
42805
42805
  CI,
42806
42806
  DI,
42807
- eT,
42807
+ e6,
42808
42808
  dM,
42809
42809
  uM,
42810
42810
  hM,
@@ -42813,12 +42813,12 @@ var aA = {
42813
42813
  fM,
42814
42814
  mM,
42815
42815
  cM,
42816
- s6,
42817
- i6,
42818
- o6,
42819
- t6,
42820
- r6,
42821
- a6,
42816
+ sT,
42817
+ iT,
42818
+ oT,
42819
+ tT,
42820
+ rT,
42821
+ aT,
42822
42822
  _I,
42823
42823
  zM,
42824
42824
  l8,
@@ -42923,14 +42923,14 @@ function fa(e, t, s) {
42923
42923
  return i.length === e.length && o.length === 0 ? e : i.length === 0 && o.length === t.length ? t : i.length === 0 ? o : o.length === 0 ? i : [...i, ...o];
42924
42924
  }
42925
42925
  var JC = Sd((e, t) => {
42926
- const { registry: s, context: i } = rt(vt), o = L(null), n = L(null), r = L(null), a = L(null), l = L(null), c = L(), [d, u] = I(), [h, g] = I(), [p, f] = I(), [v, C] = I(() => new $t()), [w, b] = I(() => new $t("ag-hidden")), [S, y] = I(() => new $t("ag-hidden")), [F, R] = I(() => new $t("ag-invisible"));
42926
+ const { registry: s, context: i } = rt(vt), o = L(null), n = L(null), r = L(null), a = L(null), l = L(null), c = L(), [d, u] = I(), [h, g] = I(), [p, f] = I(), [v, C] = I(() => new $t()), [w, b] = I(() => new $t("ag-hidden")), [S, y] = I(() => new $t("ag-hidden")), [x, R] = I(() => new $t("ag-invisible"));
42927
42927
  Tn(t, () => ({
42928
42928
  // force new instance when grid tries to refresh
42929
42929
  refresh() {
42930
42930
  return !1;
42931
42931
  }
42932
42932
  })), Qt(() => Bn(d, i, n.current), [d]);
42933
- const x = D((se) => {
42933
+ const F = D((se) => {
42934
42934
  if (o.current = se, !se || i.isDestroyed()) {
42935
42935
  c.current = i.destroyBean(c.current);
42936
42936
  return;
@@ -42958,12 +42958,12 @@ var JC = Sd((e, t) => {
42958
42958
  }, []), P = G(() => `ag-cell-wrapper ${v.toString()}`, [v]), T = G(() => `ag-group-expanded ${w.toString()}`, [w]), E = G(
42959
42959
  () => `ag-group-contracted ${S.toString()}`,
42960
42960
  [S]
42961
- ), A = G(() => `ag-group-checkbox ${F.toString()}`, [F]), U = d?.componentFromFramework, B = U ? d.componentClass : void 0, H = d == null && p != null, X = Fo(p);
42961
+ ), A = G(() => `ag-group-checkbox ${x.toString()}`, [x]), U = d?.componentFromFramework, B = U ? d.componentClass : void 0, H = d == null && p != null, X = Fo(p);
42962
42962
  return /* @__PURE__ */ K.createElement(
42963
42963
  "span",
42964
42964
  {
42965
42965
  className: P,
42966
- ref: x,
42966
+ ref: F,
42967
42967
  ...e.colDef ? {} : { role: c.current?.getCellAriaRole() }
42968
42968
  },
42969
42969
  /* @__PURE__ */ K.createElement("span", { className: T, ref: a }),
@@ -43477,14 +43477,14 @@ var kA = 1e3, LA = class {
43477
43477
  () => new $t("ag-header-cell", "ag-floating-filter")
43478
43478
  ), [a, l] = I(() => new $t()), [c, d] = I(
43479
43479
  () => new $t("ag-floating-filter-button", "ag-hidden")
43480
- ), [u, h] = I("false"), [g, p] = I(), [, f] = I(1), v = L(), C = L(null), w = L(null), b = L(null), S = L(null), y = L(), F = L(), R = (j) => {
43480
+ ), [u, h] = I("false"), [g, p] = I(), [, f] = I(1), v = L(), C = L(null), w = L(null), b = L(null), S = L(null), y = L(), x = L(), R = (j) => {
43481
43481
  j != null && y.current && y.current(j);
43482
- }, x = D((j) => {
43482
+ }, F = D((j) => {
43483
43483
  if (C.current = j, !j || !e.isAlive() || t.isDestroyed()) {
43484
43484
  v.current = t.destroyBean(v.current);
43485
43485
  return;
43486
43486
  }
43487
- v.current = t.createBean(new Eo()), F.current = new Ae((J) => {
43487
+ v.current = t.createBean(new Eo()), x.current = new Ae((J) => {
43488
43488
  y.current = J;
43489
43489
  });
43490
43490
  const oe = {
@@ -43498,7 +43498,7 @@ var kA = 1e3, LA = class {
43498
43498
  C.current && (C.current.style.width = J);
43499
43499
  },
43500
43500
  setCompDetails: (J) => p(J),
43501
- getFloatingFilterComp: () => F.current ? F.current : null,
43501
+ getFloatingFilterComp: () => x.current ? x.current : null,
43502
43502
  setMenuIcon: (J) => S.current?.appendChild(J)
43503
43503
  };
43504
43504
  e.setComp(oe, j, S.current, w.current, v.current);
@@ -43517,7 +43517,7 @@ var kA = 1e3, LA = class {
43517
43517
  ku();
43518
43518
  }, [g]);
43519
43519
  const se = H?.getProps(), N = g?.componentFromFramework, de = g?.componentClass;
43520
- return /* @__PURE__ */ K.createElement("div", { ref: x, style: i, className: P, role: "gridcell" }, /* @__PURE__ */ K.createElement("div", { ref: w, className: T, role: "presentation" }, N ? U ? se && /* @__PURE__ */ K.createElement(
43520
+ return /* @__PURE__ */ K.createElement("div", { ref: F, style: i, className: P, role: "gridcell" }, /* @__PURE__ */ K.createElement("div", { ref: w, className: T, role: "presentation" }, N ? U ? se && /* @__PURE__ */ K.createElement(
43521
43521
  Au.Provider,
43522
43522
  {
43523
43523
  value: {
@@ -43577,11 +43577,11 @@ var kA = 1e3, LA = class {
43577
43577
  Qt(() => Bn(h, t, C.current), [h]), be(() => {
43578
43578
  f.current && e.setDragSource(f.current);
43579
43579
  }, [h]);
43580
- const S = G(() => !!(h?.componentFromFramework && Po(h.componentClass)), [h]), y = G(() => "ag-header-group-cell " + o.toString(), [o]), F = G(
43580
+ const S = G(() => !!(h?.componentFromFramework && Po(h.componentClass)), [h]), y = G(() => "ag-header-group-cell " + o.toString(), [o]), x = G(
43581
43581
  () => "ag-header-cell-resize " + r.toString(),
43582
43582
  [r]
43583
- ), R = h?.componentFromFramework, x = h?.componentClass;
43584
- return /* @__PURE__ */ K.createElement("div", { ref: b, style: s, className: y, role: "columnheader", "aria-expanded": d }, /* @__PURE__ */ K.createElement("div", { ref: C, className: "ag-header-cell-comp-wrapper", role: "presentation" }, R ? S ? /* @__PURE__ */ K.createElement(x, { ...h.params }) : /* @__PURE__ */ K.createElement(x, { ...h.params, ref: w }) : null), /* @__PURE__ */ K.createElement("div", { ref: v, "aria-hidden": l, className: F }));
43583
+ ), R = h?.componentFromFramework, F = h?.componentClass;
43584
+ return /* @__PURE__ */ K.createElement("div", { ref: b, style: s, className: y, role: "columnheader", "aria-expanded": d }, /* @__PURE__ */ K.createElement("div", { ref: C, className: "ag-header-cell-comp-wrapper", role: "presentation" }, R ? S ? /* @__PURE__ */ K.createElement(F, { ...h.params }) : /* @__PURE__ */ K.createElement(F, { ...h.params, ref: w }) : null), /* @__PURE__ */ K.createElement("div", { ref: v, "aria-hidden": l, className: x }));
43585
43585
  }, zA = Ct(VA), WA = ({ ctrl: e }) => {
43586
43586
  const { gos: t, context: s } = rt(vt), { topOffset: i, rowHeight: o } = G(() => e.getTopAndHeight(), []), n = G(() => t.get("tabIndex"), []), [r, a] = I(() => e.getAriaRowIndex()), l = e.headerRowClass, [c, d] = I(() => o + "px"), [u, h] = I(() => i + "px"), g = L(null), [p, f] = I(() => e.getUpdatedHeaderCtrls()), v = L(), C = L(null), w = D((y) => {
43587
43587
  if (C.current = y, !y || !e.isAlive() || s.isDestroyed()) {
@@ -43589,11 +43589,11 @@ var kA = 1e3, LA = class {
43589
43589
  return;
43590
43590
  }
43591
43591
  v.current = s.createBean(new Eo());
43592
- const F = {
43592
+ const x = {
43593
43593
  setHeight: (R) => d(R),
43594
43594
  setTop: (R) => h(R),
43595
- setHeaderCtrls: (R, x, P) => {
43596
- const T = g.current, E = fa(T, R, x);
43595
+ setHeaderCtrls: (R, F, P) => {
43596
+ const T = g.current, E = fa(T, R, F);
43597
43597
  E !== T && (g.current = E, En(P, () => f(E)));
43598
43598
  },
43599
43599
  setWidth: (R) => {
@@ -43603,7 +43603,7 @@ var kA = 1e3, LA = class {
43603
43603
  a(R);
43604
43604
  }
43605
43605
  };
43606
- e.setComp(F, v.current, !1);
43606
+ e.setComp(x, v.current, !1);
43607
43607
  }, []), b = G(
43608
43608
  () => ({
43609
43609
  height: c,
@@ -43858,9 +43858,9 @@ var kA = 1e3, LA = class {
43858
43858
  instanceId: r
43859
43859
  } = e, a = L(), [l, c] = I(
43860
43860
  () => e.isCellRenderer() ? void 0 : { compDetails: void 0, value: e.getValueToDisplay(), force: !1 }
43861
- ), [d, u] = I(), [h, g] = I(1), [p, f] = I(), [v, C] = I(!1), [w, b] = I(!1), [S, y] = I(!1), [F, R] = I(), x = G(() => e.isForceWrapper(), [e]), P = G(() => e.getCellAriaRole(), [e]), T = L(null), E = L(null), A = L(null), U = L(), B = L(), H = L(), X = L([]), se = L(), N = L(), [de, j] = I(0), oe = D((ae) => {
43861
+ ), [d, u] = I(), [h, g] = I(1), [p, f] = I(), [v, C] = I(!1), [w, b] = I(!1), [S, y] = I(!1), [x, R] = I(), F = G(() => e.isForceWrapper(), [e]), P = G(() => e.getCellAriaRole(), [e]), T = L(null), E = L(null), A = L(null), U = L(), B = L(), H = L(), X = L([]), se = L(), N = L(), [de, j] = I(0), oe = D((ae) => {
43862
43862
  N.current = ae, j((Fe) => Fe + 1);
43863
- }, []), J = l != null && (v || S || w) && (d == null || !!d.popup), ee = x || J, q = G(() => e.getCellValueClass(), [e]), we = D(
43863
+ }, []), J = l != null && (v || S || w) && (d == null || !!d.popup), ee = F || J, q = G(() => e.getCellValueClass(), [e]), we = D(
43864
43864
  (ae) => {
43865
43865
  if (B.current = ae, ae) {
43866
43866
  const Fe = ae.isCancelBeforeStart && ae.isCancelBeforeStart();
@@ -43890,7 +43890,7 @@ var kA = 1e3, LA = class {
43890
43890
  if (!ye)
43891
43891
  return;
43892
43892
  const Pe = ye.getGui();
43893
- we(ye), Te || ((x ? H : T).current?.appendChild(Pe), ye.afterGuiAttached?.()), R(ye);
43893
+ we(ye), Te || ((F ? H : T).current?.appendChild(Pe), ye.afterGuiAttached?.()), R(ye);
43894
43894
  }), () => {
43895
43895
  Ge.then((ye) => {
43896
43896
  const Pe = ye.getGui();
@@ -44005,14 +44005,14 @@ var kA = 1e3, LA = class {
44005
44005
  return /* @__PURE__ */ K.createElement(iw, { fallback: /* @__PURE__ */ K.createElement(ek, { cellCtrl: e, parent: T }) }, Y ? /* @__PURE__ */ K.createElement(Te, { ...ae.params, key: h }) : /* @__PURE__ */ K.createElement(Te, { ...ae.params, key: h, ref: A }));
44006
44006
  }
44007
44007
  }, me = () => {
44008
- const ae = () => l == null ? null : ee ? /* @__PURE__ */ K.createElement("span", { role: "presentation", id: `cell-${r}`, className: q, ref: oe }, le()) : le(), Fe = (Te) => XA(Te, we, T.current, e, F);
44008
+ const ae = () => l == null ? null : ee ? /* @__PURE__ */ K.createElement("span", { role: "presentation", id: `cell-${r}`, className: q, ref: oe }, le()) : le(), Fe = (Te) => XA(Te, we, T.current, e, x);
44009
44009
  return d != null ? d.popup ? /* @__PURE__ */ K.createElement(K.Fragment, null, ae(), Fe(d)) : Fe(d) : ae();
44010
44010
  }, xe = () => /* @__PURE__ */ K.createElement("div", { ref: $, style: p, role: P, "col-id": n }, ee ? /* @__PURE__ */ K.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: ge }, me()) : me());
44011
44011
  return e.isCellSpanning() ? /* @__PURE__ */ K.createElement("div", { ref: V, className: "ag-spanned-cell-wrapper", role: "presentation" }, xe()) : xe();
44012
44012
  }, sk = Ct(tk), ik = ({ rowCtrl: e, containerType: t }) => {
44013
44013
  const { context: s, gos: i, editSvc: o } = rt(vt), n = rt(ZC) === "default", r = L(), a = L(e.getDomOrder()), l = e.isFullWidth(), c = e.rowNode.displayed, [d, u] = I(
44014
44014
  () => c ? e.rowNode.getRowIndexString() : null
44015
- ), [h, g] = I(() => e.rowId), [p, f] = I(() => e.businessKey), [v, C] = I(() => e.rowStyles), w = L(null), [b, S] = I(() => null), [y, F] = I(), [R, x] = I(
44015
+ ), [h, g] = I(() => e.rowId), [p, f] = I(() => e.businessKey), [v, C] = I(() => e.rowStyles), w = L(null), [b, S] = I(() => null), [y, x] = I(), [R, F] = I(
44016
44016
  () => c ? e.getInitialRowTop(t) : void 0
44017
44017
  ), [P, T] = I(
44018
44018
  () => c ? e.getInitialTransform(t) : void 0
@@ -44043,7 +44043,7 @@ var kA = 1e3, LA = class {
44043
44043
  const V = {
44044
44044
  // the rowTop is managed by state, instead of direct style manipulation by rowCtrl (like all the other styles)
44045
44045
  // as we need to have an initial value when it's placed into he DOM for the first time, for animation to work.
44046
- setTop: x,
44046
+ setTop: F,
44047
44047
  setTransform: T,
44048
44048
  // i found using React for managing classes at the row level was to slow, as modifying classes caused a lot of
44049
44049
  // React code to execute, so avoiding React for managing CSS Classes made the grid go much faster.
@@ -44060,13 +44060,13 @@ var kA = 1e3, LA = class {
44060
44060
  xe !== me && (w.current = xe, n ? N.current() : En(le, () => S(xe)));
44061
44061
  },
44062
44062
  showFullWidth: (Y) => {
44063
- U.current = Y.params, F(Y);
44063
+ U.current = Y.params, x(Y);
44064
44064
  },
44065
44065
  getFullWidthCellRenderer: () => A.current,
44066
44066
  getFullWidthCellRendererParams: () => U.current,
44067
44067
  refreshFullWidth: (Y) => {
44068
44068
  const le = Y();
44069
- return U.current = le, k.current ? (F((me) => ({
44069
+ return U.current = le, k.current ? (x((me) => ({
44070
44070
  ...me,
44071
44071
  params: le
44072
44072
  })), !0) : !A.current || !A.current.refresh ? !1 : A.current.refresh(le);
@@ -44110,13 +44110,13 @@ var kA = 1e3, LA = class {
44110
44110
  we ? ge() : q ? Re() : null
44111
44111
  );
44112
44112
  }, Hg = Ct(ik), ok = ({ name: e }) => {
44113
- const { context: t, gos: s } = rt(vt), i = G(() => Nn(e), [e]), o = L(null), n = L(null), r = L(null), a = L([]), l = L([]), [c, d] = I(() => []), u = !!s.get("enableCellSpan") && !!i.getSpannedRowCtrls, h = L([]), g = L([]), [p, f] = I(() => []), v = L(!1), C = L(), w = G(() => Bt("ag-viewport", Sm(e)), [e]), b = G(() => Bt(Nr(e)), [e]), S = G(() => Bt("ag-spanning-container", Ux(e)), [e]), y = i.type === "center" || u, F = y ? o : n;
44114
- li(" AG Row Container " + e + " ", F);
44113
+ const { context: t, gos: s } = rt(vt), i = G(() => Nn(e), [e]), o = L(null), n = L(null), r = L(null), a = L([]), l = L([]), [c, d] = I(() => []), u = !!s.get("enableCellSpan") && !!i.getSpannedRowCtrls, h = L([]), g = L([]), [p, f] = I(() => []), v = L(!1), C = L(), w = G(() => Bt("ag-viewport", Sm(e)), [e]), b = G(() => Bt(Nr(e)), [e]), S = G(() => Bt("ag-spanning-container", Ux(e)), [e]), y = i.type === "center" || u, x = y ? o : n;
44114
+ li(" AG Row Container " + e + " ", x);
44115
44115
  const R = D(() => {
44116
44116
  const H = !y || o.current != null, X = n.current != null, se = !u || r.current != null;
44117
44117
  return H && X && se;
44118
- }, []), x = D(() => o.current == null && n.current == null && r.current == null, []), P = D(() => {
44119
- if (x() && (C.current = t.destroyBean(C.current)), !t.isDestroyed() && R()) {
44118
+ }, []), F = D(() => o.current == null && n.current == null && r.current == null, []), P = D(() => {
44119
+ if (F() && (C.current = t.destroyBean(C.current)), !t.isDestroyed() && R()) {
44120
44120
  const H = (N) => {
44121
44121
  const de = fa(
44122
44122
  l.current,
@@ -44163,7 +44163,7 @@ var kA = 1e3, LA = class {
44163
44163
  o.current
44164
44164
  );
44165
44165
  }
44166
- }, [R, x]), T = D(
44166
+ }, [R, F]), T = D(
44167
44167
  (H) => {
44168
44168
  n.current = H, P();
44169
44169
  },
@@ -44192,7 +44192,7 @@ var kA = 1e3, LA = class {
44192
44192
  const B = () => /* @__PURE__ */ K.createElement("div", { className: S, ref: E, role: "presentation" }, p.map((H) => /* @__PURE__ */ K.createElement(Hg, { rowCtrl: H, containerType: i.type, key: H.instanceId })));
44193
44193
  return /* @__PURE__ */ K.createElement("div", { className: w, ref: A, role: "rowgroup" }, U(), u ? B() : null);
44194
44194
  }, nk = Ct(ok), rk = () => {
44195
- const e = rt(vt), { context: t, overlays: s } = e, [i, o] = I(""), [n, r] = I(0), [a, l] = I(0), [c, d] = I("0px"), [u, h] = I("0px"), [g, p] = I("100%"), [f, v] = I("0px"), [C, w] = I("0px"), [b, S] = I("100%"), [y, F] = I(!0), [R, x] = I(!0), [P, T] = I(null), [E, A] = I(""), [U, B] = I(null), [H, X] = I("ag-layout-normal"), se = L();
44195
+ const e = rt(vt), { context: t, overlays: s } = e, [i, o] = I(""), [n, r] = I(0), [a, l] = I(0), [c, d] = I("0px"), [u, h] = I("0px"), [g, p] = I("100%"), [f, v] = I("0px"), [C, w] = I("0px"), [b, S] = I("100%"), [y, x] = I(!0), [R, F] = I(!0), [P, T] = I(null), [E, A] = I(""), [U, B] = I(null), [H, X] = I("ag-layout-normal"), se = L();
44196
44196
  se.current || (se.current = new Ln(() => N.current));
44197
44197
  const N = L(null), de = L(null), j = L(null), oe = L(null), J = L(null), ee = L(null), q = L(null), we = L([]), Se = L([]);
44198
44198
  li(" AG Grid Body ", N), li(" AG Pinned Top ", de), li(" AG Sticky Top ", j), li(" AG Middle ", ee), li(" AG Pinned Bottom ", q);
@@ -44228,8 +44228,8 @@ var kA = 1e3, LA = class {
44228
44228
  setStickyTopHeight: d,
44229
44229
  setStickyTopTop: h,
44230
44230
  setStickyTopWidth: p,
44231
- setTopInvisible: F,
44232
- setBottomInvisible: x,
44231
+ setTopInvisible: x,
44232
+ setBottomInvisible: F,
44233
44233
  setColumnMovingCss: (z, Ee) => se.current.toggleCss(z, Ee),
44234
44234
  updateLayoutClasses: X,
44235
44235
  setAlwaysVerticalScrollClass: T,
@@ -44396,7 +44396,7 @@ var kA = 1e3, LA = class {
44396
44396
  }), b = L(), S = L([]), y = D(() => {
44397
44397
  }, []);
44398
44398
  li(" AG Grid ", p);
44399
- const F = D((A) => {
44399
+ const x = D((A) => {
44400
44400
  if (p.current = A, g.current = A ? e.createBean(new r3()) : e.destroyBean(g.current), !A || e.isDestroyed())
44401
44401
  return;
44402
44402
  const U = g.current;
@@ -44462,7 +44462,7 @@ var kA = 1e3, LA = class {
44462
44462
  const R = G(
44463
44463
  () => Bt("ag-root-wrapper", t, i),
44464
44464
  [t, i]
44465
- ), x = G(
44465
+ ), F = G(
44466
44466
  () => Bt("ag-root-wrapper-body", "ag-focus-managed", i),
44467
44467
  [i]
44468
44468
  ), P = G(
@@ -44475,7 +44475,7 @@ var kA = 1e3, LA = class {
44475
44475
  ), T = D((A) => {
44476
44476
  f.current = A, h(A !== null);
44477
44477
  }, []), E = D(() => !g.current?.isFocusable(), []);
44478
- return /* @__PURE__ */ K.createElement("div", { ref: F, className: R, style: P, role: "presentation" }, /* @__PURE__ */ K.createElement("div", { className: x, ref: C, role: "presentation" }, c && v && !e.isDestroyed() && /* @__PURE__ */ K.createElement(vt.Provider, { value: e.getBeans() }, /* @__PURE__ */ K.createElement(
44478
+ return /* @__PURE__ */ K.createElement("div", { ref: x, className: R, style: P, role: "presentation" }, /* @__PURE__ */ K.createElement("div", { className: F, ref: C, role: "presentation" }, c && v && !e.isDestroyed() && /* @__PURE__ */ K.createElement(vt.Provider, { value: e.getBeans() }, /* @__PURE__ */ K.createElement(
44479
44479
  dk,
44480
44480
  {
44481
44481
  ref: T,
@@ -44559,16 +44559,16 @@ var kA = 1e3, LA = class {
44559
44559
  }
44560
44560
  }, y = new wk(S);
44561
44561
  a.current = y;
44562
- const F = new gk(), R = {
44562
+ const x = new gk(), R = {
44563
44563
  providedBeanInstances: {
44564
44564
  frameworkCompWrapper: new Ck(i.current, b),
44565
- renderStatus: F
44565
+ renderStatus: x
44566
44566
  },
44567
44567
  modules: w,
44568
44568
  frameworkOverrides: y,
44569
44569
  setThemeOnGridDiv: !0
44570
- }, x = (E) => {
44571
- u(E), E.createBean(F), o.current.push(() => {
44570
+ }, F = (E) => {
44571
+ u(E), E.createBean(x), o.current.push(() => {
44572
44572
  E.destroy();
44573
44573
  }), E.getBean("ctrlsSvc").whenReady(
44574
44574
  {
@@ -44600,7 +44600,7 @@ var kA = 1e3, LA = class {
44600
44600
  b.gridId ?? (b.gridId = l.current), t.current = T.create(
44601
44601
  C,
44602
44602
  b,
44603
- x,
44603
+ F,
44604
44604
  P,
44605
44605
  R
44606
44606
  ), o.current.push(() => {
@@ -44701,14 +44701,14 @@ var Ck = class extends G4 {
44701
44701
  f.current = o.destroyBean(f.current), C.current?.();
44702
44702
  return;
44703
44703
  }
44704
- const x = {
44704
+ const F = {
44705
44705
  toggleCss: (T, E) => l((A) => A.setClass(T, E)),
44706
44706
  toggleDetailGridCss: (T, E) => d((A) => A.setClass(T, E)),
44707
44707
  setDetailGrid: (T) => h(T),
44708
44708
  setRowData: (T) => p(T),
44709
44709
  getGui: () => v.current
44710
44710
  }, P = i.createDynamicBean("detailCellRendererCtrl", !0);
44711
- if (P && (o.createBean(P), P.init(x, e), f.current = P, n.get("detailRowAutoHeight"))) {
44711
+ if (P && (o.createBean(P), P.init(F, e), f.current = P, n.get("detailRowAutoHeight"))) {
44712
44712
  const T = () => {
44713
44713
  if (v.current == null)
44714
44714
  return;
@@ -44719,7 +44719,7 @@ var Ck = class extends G4 {
44719
44719
  };
44720
44720
  C.current = As(s, R, T), T();
44721
44721
  }
44722
- }, []), F = D((R) => {
44722
+ }, []), x = D((R) => {
44723
44723
  f.current?.registerDetailWithMaster(R);
44724
44724
  }, []);
44725
44725
  return /* @__PURE__ */ K.createElement("div", { className: b, ref: y }, u && /* @__PURE__ */ K.createElement(
@@ -44729,7 +44729,7 @@ var Ck = class extends G4 {
44729
44729
  ...u,
44730
44730
  modules: w,
44731
44731
  rowData: g,
44732
- passGridApi: F
44732
+ passGridApi: x
44733
44733
  }
44734
44734
  ));
44735
44735
  }), wk = class extends Lm {
@@ -44825,15 +44825,15 @@ const yk = te(
44825
44825
  matchReferenceWidth: C = !0,
44826
44826
  maxDropdownHeight: w
44827
44827
  }) => {
44828
- const [b, S] = I(a), y = r !== void 0, F = y ? !!r : b, R = L(null), x = D(
44828
+ const [b, S] = I(a), y = r !== void 0, x = y ? !!r : b, R = L(null), F = D(
44829
44829
  (k) => {
44830
44830
  y || S(k), l?.(k);
44831
44831
  },
44832
44832
  [y, l]
44833
44833
  ), P = yd(), T = o === void 0, E = (k) => "clientWidth" in k ? k.clientWidth : k.getBoundingClientRect?.()?.width ?? 0, { refs: A, floatingStyles: U, context: B } = pd({
44834
44834
  placement: o,
44835
- open: F,
44836
- onOpenChange: x,
44835
+ open: x,
44836
+ onOpenChange: F,
44837
44837
  whileElementsMounted: ip,
44838
44838
  middleware: [
44839
44839
  ep({ mainAxis: qo, crossAxis: 0 }),
@@ -44901,26 +44901,26 @@ const yk = te(
44901
44901
  !i.includes(Wt.ContextMenu) || n || (k.preventDefault(), v && (oe(k.clientX, k.clientY), R.current = document.elementFromPoint(
44902
44902
  k.clientX,
44903
44903
  k.clientY
44904
- )), x(!0));
44904
+ )), F(!0));
44905
44905
  },
44906
- [v, n, x, oe, i]
44906
+ [v, n, F, oe, i]
44907
44907
  ), ee = D(
44908
44908
  (k) => {
44909
- !v || n || (i.includes(Wt.ContextMenu) && F && x(!1), oe(k.clientX, k.clientY), R.current = document.elementFromPoint(
44909
+ !v || n || (i.includes(Wt.ContextMenu) && x && F(!1), oe(k.clientX, k.clientY), R.current = document.elementFromPoint(
44910
44910
  k.clientX,
44911
44911
  k.clientY
44912
44912
  ));
44913
44913
  },
44914
- [v, n, oe, F, i, x]
44914
+ [v, n, oe, x, i, F]
44915
44915
  );
44916
44916
  be(() => {
44917
- n && F && x(!1);
44918
- }, [n, F, x]);
44917
+ n && x && F(!1);
44918
+ }, [n, x, F]);
44919
44919
  const q = D(
44920
44920
  (k) => (ge) => {
44921
- k.disabled || (k.onClick?.({ key: k.key, domEvent: ge }), t?.onClick?.({ key: k.key, domEvent: ge }), x(!1));
44921
+ k.disabled || (k.onClick?.({ key: k.key, domEvent: ge }), t?.onClick?.({ key: k.key, domEvent: ge }), F(!1));
44922
44922
  },
44923
- [t, x]
44923
+ [t, F]
44924
44924
  ), we = G(() => s ? s() : t ? /* @__PURE__ */ W(_e, { children: [
44925
44925
  t.header && /* @__PURE__ */ m(_e, { children: typeof t.header == "function" ? t.header() : t.header }),
44926
44926
  /* @__PURE__ */ m("div", { role: "none", className: "py-1", "aria-label": "dropdown", children: t.items.map((k) => k.type === Dn.Divider ? /* @__PURE__ */ m(
@@ -44987,18 +44987,18 @@ const yk = te(
44987
44987
  onMouseDown: ee
44988
44988
  });
44989
44989
  return be(() => {
44990
- if (!F) return;
44990
+ if (!x) return;
44991
44991
  const k = A.reference.current;
44992
44992
  let ge = null;
44993
44993
  if (k instanceof Element ? ge = k : R.current instanceof Element && (ge = R.current), !ge) return;
44994
44994
  const Re = new IntersectionObserver(
44995
44995
  ([$]) => {
44996
- $.isIntersecting || x(!1);
44996
+ $.isIntersecting || F(!1);
44997
44997
  },
44998
44998
  { root: null, threshold: 0 }
44999
44999
  );
45000
45000
  return Re.observe(ge), () => Re.disconnect();
45001
- }, [F, A.reference, x]), /* @__PURE__ */ W(_e, { children: [
45001
+ }, [x, A.reference, F]), /* @__PURE__ */ W(_e, { children: [
45002
45002
  /* @__PURE__ */ m(
45003
45003
  "span",
45004
45004
  {
@@ -45009,13 +45009,13 @@ const yk = te(
45009
45009
  u
45010
45010
  ),
45011
45011
  "aria-haspopup": "menu",
45012
- "aria-expanded": F,
45012
+ "aria-expanded": x,
45013
45013
  "aria-controls": P,
45014
45014
  ...Se,
45015
45015
  children: e
45016
45016
  }
45017
45017
  ),
45018
- F && /* @__PURE__ */ m(wd, { children: /* @__PURE__ */ m(
45018
+ x && /* @__PURE__ */ m(wd, { children: /* @__PURE__ */ m(
45019
45019
  np,
45020
45020
  {
45021
45021
  context: B,
@@ -45040,7 +45040,7 @@ const yk = te(
45040
45040
  {
45041
45041
  ariaLabel: "Close dropdown",
45042
45042
  onClose: (k) => {
45043
- d?.(k), x(!1);
45043
+ d?.(k), F(!1);
45044
45044
  }
45045
45045
  }
45046
45046
  ) }),
@@ -45184,9 +45184,9 @@ const av = ({
45184
45184
  emptyStateTitle: b = "No results found",
45185
45185
  emptyStateDescription: S = "Sorry, we couldn't find any results for your search.",
45186
45186
  loading: y = !1,
45187
- wrapperBorder: F = !0,
45187
+ wrapperBorder: x = !0,
45188
45188
  withoutHeaderBorders: R = !1,
45189
- selectionMode: x = en.CHECKBOX
45189
+ selectionMode: F = en.CHECKBOX
45190
45190
  }) => {
45191
45191
  const [P, T] = I(cc), [E, A] = I(), U = yd(), {
45192
45192
  currentSelectedIds: B,
@@ -45205,9 +45205,9 @@ const av = ({
45205
45205
  () => ({
45206
45206
  ...lc,
45207
45207
  oddRowBackgroundColor: v ? lc.oddRowBackgroundColor : lc.backgroundColor,
45208
- wrapperBorder: F
45208
+ wrapperBorder: x
45209
45209
  }),
45210
- [v, F]
45210
+ [v, x]
45211
45211
  ), de = D(($) => {
45212
45212
  $.api.sizeColumnsToFit(), T(cc);
45213
45213
  }, []), j = D(
@@ -45221,7 +45221,7 @@ const av = ({
45221
45221
  },
45222
45222
  [B, l, f]
45223
45223
  ), oe = D(() => {
45224
- if (x !== en.CHECKBOX) return null;
45224
+ if (F !== en.CHECKBOX) return null;
45225
45225
  const $ = X === "checked", V = X === "indeterminate", Y = "header-select-all", le = t?.some((me) => !l?.has(f(me))) ?? !1;
45226
45226
  return /* @__PURE__ */ m("div", { className: "flex items-center justify-center h-full header-checkbox-container", children: /* @__PURE__ */ m(
45227
45227
  Wr,
@@ -45246,7 +45246,7 @@ const av = ({
45246
45246
  se,
45247
45247
  l,
45248
45248
  f,
45249
- x
45249
+ F
45250
45250
  ]), J = D(
45251
45251
  ($) => {
45252
45252
  if ($.data) {
@@ -45276,7 +45276,7 @@ const av = ({
45276
45276
  ($) => {
45277
45277
  if (!$.data) return null;
45278
45278
  const V = f($.data), Y = B.has(V), le = l?.has(V), me = `row-select-${V}`;
45279
- return x === en.RADIO_BUTTON ? /* @__PURE__ */ m("div", { className: "h-6 w-6 flex items-center justify-center", children: /* @__PURE__ */ m(
45279
+ return F === en.RADIO_BUTTON ? /* @__PURE__ */ m("div", { className: "h-6 w-6 flex items-center justify-center", children: /* @__PURE__ */ m(
45280
45280
  Tp,
45281
45281
  {
45282
45282
  className: "w-[18px] h-[18px]",
@@ -45315,7 +45315,7 @@ const av = ({
45315
45315
  f,
45316
45316
  H,
45317
45317
  u,
45318
- x
45318
+ F
45319
45319
  ]
45320
45320
  ), q = D(
45321
45321
  ($) => {
@@ -45364,9 +45364,9 @@ const av = ({
45364
45364
  filter: !1,
45365
45365
  floatingFilter: !1,
45366
45366
  cellRenderer: ee,
45367
- headerComponent: x === en.CHECKBOX ? oe : void 0
45367
+ headerComponent: F === en.CHECKBOX ? oe : void 0
45368
45368
  }),
45369
- [ee, oe, x]
45369
+ [ee, oe, F]
45370
45370
  ), Se = G(() => {
45371
45371
  const $ = (e ?? []).map(q);
45372
45372
  return r ? [we, ...$] : $;
@@ -45527,24 +45527,24 @@ const Bg = () => typeof window < "u" && window.innerWidth < 640, dc = () => {
45527
45527
  desktopDropdownClassName: a,
45528
45528
  desktopTabClassName: l
45529
45529
  }) => {
45530
- const [c, d] = I(!1), [u, h] = I(!1), [g, p] = I(!1), f = Ik(), v = f === js.Mobile || o === ma.Tablet && f === js.Tablet, C = i === cd.Horizontal, w = L(null), b = L(null), S = L(null), y = e.find((x) => x.id === t), F = G(
45530
+ const [c, d] = I(!1), [u, h] = I(!1), [g, p] = I(!1), f = Ik(), v = f === js.Mobile || o === ma.Tablet && f === js.Tablet, C = i === cd.Horizontal, w = L(null), b = L(null), S = L(null), y = e.find((F) => F.id === t), x = G(
45531
45531
  () => te(
45532
45532
  "flex gap-2",
45533
45533
  C ? "flex-row flex-nowrap overflow-x-auto" : "flex-col flex-wrap w-full"
45534
45534
  ),
45535
45535
  [C]
45536
45536
  ), R = D(() => {
45537
- const x = b.current;
45538
- x && p(x.scrollWidth > x.clientWidth);
45537
+ const F = b.current;
45538
+ F && p(F.scrollWidth > F.clientWidth);
45539
45539
  }, []);
45540
45540
  return be(() => {
45541
45541
  R();
45542
- const x = new ResizeObserver(() => R()), P = b.current;
45543
- return P && x.observe(P), () => x.disconnect();
45542
+ const F = new ResizeObserver(() => R()), P = b.current;
45543
+ return P && F.observe(P), () => F.disconnect();
45544
45544
  }, [e, R]), be(() => {
45545
- const x = S.current, P = b.current;
45546
- if (!x || !P) return;
45547
- const T = x.offsetLeft, E = T + x.offsetWidth, A = P.scrollLeft, U = A + P.clientWidth;
45545
+ const F = S.current, P = b.current;
45546
+ if (!F || !P) return;
45547
+ const T = F.offsetLeft, E = T + F.offsetWidth, A = P.scrollLeft, U = A + P.clientWidth;
45548
45548
  T < A ? P.scrollTo({
45549
45549
  left: T - Gg,
45550
45550
  behavior: "smooth"
@@ -45568,11 +45568,11 @@ const Bg = () => typeof window < "u" && window.innerWidth < 640, dc = () => {
45568
45568
  onOpenChange: d,
45569
45569
  placement: "bottom-start",
45570
45570
  allowedPlacements: ["bottom-start", "top-start"],
45571
- renderOverlay: () => e.map((x) => /* @__PURE__ */ m(
45571
+ renderOverlay: () => e.map((F) => /* @__PURE__ */ m(
45572
45572
  br,
45573
45573
  {
45574
- tab: x,
45575
- active: x.id === t,
45574
+ tab: F,
45575
+ active: F.id === t,
45576
45576
  onClick: (P) => {
45577
45577
  s(P), d(!1);
45578
45578
  },
@@ -45581,7 +45581,7 @@ const Bg = () => typeof window < "u" && window.innerWidth < 640, dc = () => {
45581
45581
  r
45582
45582
  )
45583
45583
  },
45584
- x.id
45584
+ F.id
45585
45585
  )),
45586
45586
  children: /* @__PURE__ */ W("div", { className: "flex gap-2 items-center h-11 cursor-pointer", children: [
45587
45587
  /* @__PURE__ */ m(
@@ -45611,23 +45611,23 @@ const Bg = () => typeof window < "u" && window.innerWidth < 640, dc = () => {
45611
45611
  ) : (
45612
45612
  // Desktop
45613
45613
  /* @__PURE__ */ W("div", { ref: w, className: "flex w-full items-start", children: [
45614
- /* @__PURE__ */ m("div", { ref: b, role: "tablist", className: F, children: e.map((x) => /* @__PURE__ */ m(
45614
+ /* @__PURE__ */ m("div", { ref: b, role: "tablist", className: x, children: e.map((F) => /* @__PURE__ */ m(
45615
45615
  "div",
45616
45616
  {
45617
- ref: t === x.id ? S : void 0,
45617
+ ref: t === F.id ? S : void 0,
45618
45618
  className: "w-full",
45619
45619
  children: /* @__PURE__ */ m(
45620
45620
  br,
45621
45621
  {
45622
- tab: x,
45623
- active: t === x.id,
45622
+ tab: F,
45623
+ active: t === F.id,
45624
45624
  onClick: s,
45625
45625
  horizontal: C,
45626
45626
  className: ce("w-full", l)
45627
45627
  }
45628
45628
  )
45629
45629
  },
45630
- x.id
45630
+ F.id
45631
45631
  )) }),
45632
45632
  g && /* @__PURE__ */ m("div", { className: "flex items-center ml-2", children: /* @__PURE__ */ m(
45633
45633
  kt,
@@ -45636,17 +45636,17 @@ const Bg = () => typeof window < "u" && window.innerWidth < 640, dc = () => {
45636
45636
  open: u,
45637
45637
  onOpenChange: h,
45638
45638
  placement: "bottom-end",
45639
- renderOverlay: () => e.map((x) => /* @__PURE__ */ m(
45639
+ renderOverlay: () => e.map((F) => /* @__PURE__ */ m(
45640
45640
  br,
45641
45641
  {
45642
- tab: x,
45643
- active: x.id === t,
45642
+ tab: F,
45643
+ active: F.id === t,
45644
45644
  onClick: (P) => {
45645
45645
  s(P), h(!1);
45646
45646
  },
45647
45647
  className: "w-full rounded-none h-8 items-center px-3 py-2"
45648
45648
  },
45649
- x.id
45649
+ F.id
45650
45650
  )),
45651
45651
  children: /* @__PURE__ */ m(
45652
45652
  Lt,
@@ -46041,11 +46041,11 @@ const Bg = () => typeof window < "u" && window.innerWidth < 640, dc = () => {
46041
46041
  textAfterInput: b,
46042
46042
  onBlur: S,
46043
46043
  defaultValue: y,
46044
- tooltipText: F,
46044
+ tooltipText: x,
46045
46045
  hideTooltip: R = !1,
46046
- inputRef: x
46046
+ inputRef: F
46047
46047
  }) => {
46048
- const P = L(null), T = vd([x, P]);
46048
+ const P = L(null), T = vd([F, P]);
46049
46049
  be(() => {
46050
46050
  const B = P.current;
46051
46051
  if (!B) return;
@@ -46107,7 +46107,7 @@ const Bg = () => typeof window < "u" && window.innerWidth < 640, dc = () => {
46107
46107
  /* @__PURE__ */ m(
46108
46108
  Kt,
46109
46109
  {
46110
- tooltip: R ? void 0 : F || i,
46110
+ tooltip: R ? void 0 : x || i,
46111
46111
  triggerClassName: te(l, "flex-1"),
46112
46112
  children: /* @__PURE__ */ m(
46113
46113
  "input",
@@ -46603,11 +46603,11 @@ const Jk = "flex justify-end gap-2 px-6 py-4", eL = "text-secondary dial-small-1
46603
46603
  id: w,
46604
46604
  size: b = jt.Md
46605
46605
  }) => {
46606
- const [S, y] = I(!1), F = D(() => {
46606
+ const [S, y] = I(!1), x = D(() => {
46607
46607
  s || y(!0);
46608
46608
  }, [s]), R = D(() => {
46609
46609
  y(!1), c?.();
46610
- }, [c]), x = D(() => {
46610
+ }, [c]), F = D(() => {
46611
46611
  h(), R();
46612
46612
  }, [h, R]);
46613
46613
  return /* @__PURE__ */ W("div", { className: "flex flex-col", children: [
@@ -46621,7 +46621,7 @@ const Jk = "flex justify-end gap-2 px-6 py-4", eL = "text-secondary dial-small-1
46621
46621
  valueClassName: r,
46622
46622
  inputClassName: te(a, "py-2", "px-3"),
46623
46623
  emptyValueText: l,
46624
- onOpen: F,
46624
+ onOpen: x,
46625
46625
  children: /* @__PURE__ */ m(
46626
46626
  Mo,
46627
46627
  {
@@ -46642,7 +46642,7 @@ const Jk = "flex justify-end gap-2 px-6 py-4", eL = "text-secondary dial-small-1
46642
46642
  ms,
46643
46643
  {
46644
46644
  label: p,
46645
- onClick: x,
46645
+ onClick: F,
46646
46646
  disabled: !f
46647
46647
  }
46648
46648
  )
@@ -46928,32 +46928,35 @@ const uL = {
46928
46928
  optional: s,
46929
46929
  elementId: i,
46930
46930
  placeholder: o,
46931
- errorText: n,
46932
- invalid: r,
46933
- disabled: a,
46934
- onChange: l
46931
+ captionDescription: n,
46932
+ errorText: r,
46933
+ invalid: a,
46934
+ disabled: l,
46935
+ onChange: c
46935
46936
  }) => {
46936
- const c = L(null), [d, u] = I(e), [h, g] = I(""), [p, f] = I(!1), v = (b) => {
46937
- const S = b.trim().replace(/,$/, "");
46938
- if (S && !d.includes(S)) {
46939
- const y = [S, ...d];
46940
- u(y), l?.(y);
46941
- }
46942
- }, C = (b) => {
46943
- (b.key === "," || b.key === "Enter") && (b.preventDefault(), v(h), g(""));
46944
- }, w = (b) => {
46945
- const S = d.filter((y, F) => F !== b);
46946
- u(S), l?.(S);
46947
- };
46937
+ const d = L(null), [u, h] = I(e), [g, p] = I(""), [f, v] = I(!1), C = (x) => {
46938
+ const R = x.trim().replace(/,$/, "");
46939
+ if (R && !u.includes(R)) {
46940
+ const F = [R, ...u];
46941
+ h(F), c?.(F);
46942
+ }
46943
+ }, w = (x) => {
46944
+ (x.key === "," || x.key === "Enter") && (x.preventDefault(), C(g), p(""));
46945
+ }, b = () => {
46946
+ g.trim() && (C(g), p(""));
46947
+ }, S = (x) => {
46948
+ const R = u.filter((F, P) => P !== x);
46949
+ h(R), c?.(R);
46950
+ }, y = () => r ? /* @__PURE__ */ m(vi, { errorText: r }) : n ? /* @__PURE__ */ m("div", { className: "dial-tiny text-secondary mt-1", children: n }) : null;
46948
46951
  return be(() => {
46949
- const b = new ResizeObserver(() => {
46950
- if (c.current) {
46951
- const S = c.current.scrollHeight > c.current.clientHeight + 10;
46952
- f(S);
46952
+ const x = new ResizeObserver(() => {
46953
+ if (d.current) {
46954
+ const R = d.current.scrollHeight > d.current.clientHeight + 10;
46955
+ v(R);
46953
46956
  }
46954
46957
  });
46955
- return c.current && b.observe(c.current), () => b.disconnect();
46956
- }, [d]), /* @__PURE__ */ W("div", { className: te("flex flex-col w-full"), children: [
46958
+ return d.current && x.observe(d.current), () => x.disconnect();
46959
+ }, [u]), /* @__PURE__ */ W("div", { className: te("flex flex-col w-full"), children: [
46957
46960
  /* @__PURE__ */ m(
46958
46961
  Ro,
46959
46962
  {
@@ -46967,38 +46970,39 @@ const uL = {
46967
46970
  {
46968
46971
  className: te(
46969
46972
  "dial-input min-h-[38px] p-[6px]",
46970
- r && "dial-input-error",
46971
- a && "dial-input-disable"
46973
+ a && "dial-input-error",
46974
+ l && "dial-input-disable"
46972
46975
  ),
46973
46976
  children: /* @__PURE__ */ W(
46974
46977
  "div",
46975
46978
  {
46976
- ref: c,
46979
+ ref: d,
46977
46980
  className: te(
46978
46981
  "flex flex-wrap gap-2 items-center",
46979
- p ? "flex-col-reverse" : "flex-row"
46982
+ f ? "flex-col-reverse" : "flex-row"
46980
46983
  ),
46981
46984
  children: [
46982
- d.map((b, S) => /* @__PURE__ */ m(
46985
+ u.map((x, R) => /* @__PURE__ */ m(
46983
46986
  Ad,
46984
46987
  {
46985
- tag: b,
46986
- remove: a ? void 0 : () => w(S)
46988
+ tag: x,
46989
+ remove: l ? void 0 : () => S(R)
46987
46990
  },
46988
- b + S
46991
+ x + R
46989
46992
  )),
46990
46993
  /* @__PURE__ */ m(
46991
46994
  "input",
46992
46995
  {
46993
46996
  type: "text",
46994
- value: h,
46995
- onChange: (b) => g(b.target.value),
46996
- onKeyDown: C,
46997
+ value: g,
46998
+ onChange: (x) => p(x.target.value),
46999
+ onKeyDown: w,
47000
+ onBlur: b,
46997
47001
  className: te(
46998
47002
  "dial-input-no-border outline-none border-none w-full min-w-[100px] flex-1 p-1"
46999
47003
  ),
47000
47004
  placeholder: o,
47001
- disabled: a
47005
+ disabled: l
47002
47006
  }
47003
47007
  )
47004
47008
  ]
@@ -47006,7 +47010,7 @@ const uL = {
47006
47010
  )
47007
47011
  }
47008
47012
  ),
47009
- /* @__PURE__ */ m(vi, { errorText: n })
47013
+ y()
47010
47014
  ] });
47011
47015
  }, hL = "dial-input flex w-full items-center justify-between gap-2 dial-small cursor-pointer", gL = "w-full rounded flex flex-col", hc = "flex w-full items-center justify-between gap-2 px-3 h-[34px] dial-small text-primary truncate hover:bg-accent-primary-alpha focus:bg-accent-primary-alpha focus:outline-none", pL = "bg-accent-primary-alpha", fL = "bg-accent-primary-alpha border-l border-accent-primary border-1", Wg = "opacity-75", mL = 352, CL = /* @__PURE__ */ m(ba, { size: 16 }), Cv = ({
47012
47016
  options: e,
@@ -47049,9 +47053,9 @@ const vL = ({
47049
47053
  className: b,
47050
47054
  listClassName: S,
47051
47055
  closable: y = !1,
47052
- header: F,
47056
+ header: x,
47053
47057
  footer: R,
47054
- onClose: x,
47058
+ onClose: F,
47055
47059
  onChange: P,
47056
47060
  inlineSearch: T = !1,
47057
47061
  dismissRef: E,
@@ -47194,7 +47198,7 @@ const vL = ({
47194
47198
  onOpenChange: Fe,
47195
47199
  disabled: w,
47196
47200
  closable: y,
47197
- onClose: x,
47201
+ onClose: F,
47198
47202
  placement: "bottom-start",
47199
47203
  allowedPlacements: ["bottom-start", "top-start"],
47200
47204
  maxDropdownHeight: d ? null : mL,
@@ -47207,7 +47211,7 @@ const vL = ({
47207
47211
  "aria-multiselectable": t || void 0,
47208
47212
  className: gL,
47209
47213
  children: [
47210
- F && /* @__PURE__ */ m(_e, { children: typeof F == "function" ? F() : F }),
47214
+ x && /* @__PURE__ */ m(_e, { children: typeof x == "function" ? x() : x }),
47211
47215
  (d || y) && e.length > 8 && /* @__PURE__ */ W("div", { className: "flex items-center gap-2 px-2 pt-2", children: [
47212
47216
  d && /* @__PURE__ */ m(
47213
47217
  mv,
@@ -47225,7 +47229,7 @@ const vL = ({
47225
47229
  className: "shrink-0",
47226
47230
  iconBefore: /* @__PURE__ */ m(bo, { size: 16 }),
47227
47231
  onClick: (z) => {
47228
- x?.(z), oe(!1);
47232
+ F?.(z), oe(!1);
47229
47233
  }
47230
47234
  }
47231
47235
  )
@@ -47691,7 +47695,7 @@ function PL(e, t, s, i, o) {
47691
47695
  x: s.x - a.x,
47692
47696
  y: s.y - a.y
47693
47697
  }, { offsetWidth: c, offsetHeight: d } = e, { anchorX: u, anchorY: h } = i, { dragPreviewWidth: g, dragPreviewHeight: p } = DL(n, t, c, d), f = () => {
47694
- let F = new Ug([
47698
+ let x = new Ug([
47695
47699
  0,
47696
47700
  0.5,
47697
47701
  1
@@ -47703,7 +47707,7 @@ function PL(e, t, s, i, o) {
47703
47707
  // Dock to the bottom
47704
47708
  l.y + p - d
47705
47709
  ]).interpolate(h);
47706
- return yv() && n && (F += (window.devicePixelRatio - 1) * p), F;
47710
+ return yv() && n && (x += (window.devicePixelRatio - 1) * p), x;
47707
47711
  }, v = () => new Ug([
47708
47712
  0,
47709
47713
  0.5,
@@ -48038,7 +48042,7 @@ const AL = function(t, s, i) {
48038
48042
  be(() => {
48039
48043
  b();
48040
48044
  }, [o]);
48041
- const [{ isOver: S, canDrop: y }, F] = zp(
48045
+ const [{ isOver: S, canDrop: y }, x] = zp(
48042
48046
  () => ({
48043
48047
  accept: [Ou],
48044
48048
  drop(E) {
@@ -48053,7 +48057,7 @@ const AL = function(t, s, i) {
48053
48057
  [v]
48054
48058
  ), R = (E) => {
48055
48059
  (E.key === "Enter" || E.key === "Space") && (E.preventDefault(), u.current?.click());
48056
- }, x = (E) => {
48060
+ }, F = (E) => {
48057
48061
  E?.preventDefault();
48058
48062
  const A = Array.from(E.dataTransfer?.items ?? []);
48059
48063
  f(!!c?.(A)), g(A);
@@ -48065,13 +48069,13 @@ const AL = function(t, s, i) {
48065
48069
  y && (S ? "border-accent-primary" : "border-hover"),
48066
48070
  w && "border-error"
48067
48071
  );
48068
- return F(d), /* @__PURE__ */ W(_e, { children: [
48072
+ return x(d), /* @__PURE__ */ W(_e, { children: [
48069
48073
  /* @__PURE__ */ W(
48070
48074
  "div",
48071
48075
  {
48072
48076
  className: T,
48073
48077
  ref: d,
48074
- onDragOver: x,
48078
+ onDragOver: F,
48075
48079
  onDragLeave: P,
48076
48080
  children: [
48077
48081
  /* @__PURE__ */ W(
@@ -48623,9 +48627,9 @@ const va = ({
48623
48627
  const { expandedPaths: S, togglePath: y } = Fv({
48624
48628
  expandedPaths: s ?? /* @__PURE__ */ new Set(),
48625
48629
  onExpandedPathsChange: b
48626
- }), F = (x) => {
48627
- p?.(x), y(x.path);
48628
- }, R = (x, P) => x.map((T) => {
48630
+ }), x = (F) => {
48631
+ p?.(F), y(F.path);
48632
+ }, R = (F, P) => F.map((T) => {
48629
48633
  const { path: E, nodeType: A, name: U, items: B } = T, H = A === ke.FOLDER;
48630
48634
  if (!d && gd(T)) return null;
48631
48635
  if (!H && !t) return;
@@ -48652,14 +48656,14 @@ const va = ({
48652
48656
  "div",
48653
48657
  {
48654
48658
  className: "absolute size-full left-0 top-0 z-0",
48655
- onClick: () => F(T)
48659
+ onClick: () => x(T)
48656
48660
  }
48657
48661
  ),
48658
48662
  /* @__PURE__ */ m(
48659
48663
  "div",
48660
48664
  {
48661
48665
  className: "relative flex flex-row truncate items-center w-fit h-6 gap-x-1 pl-1",
48662
- onClick: () => !j && F(T),
48666
+ onClick: () => !j && x(T),
48663
48667
  children: /* @__PURE__ */ W(_e, { children: [
48664
48668
  H && /* @__PURE__ */ m(
48665
48669
  _w,
@@ -48811,13 +48815,13 @@ const va = ({
48811
48815
  r,
48812
48816
  o,
48813
48817
  s
48814
- ]), [y, F] = I(!1), R = D(() => {
48818
+ ]), [y, x] = I(!1), R = D(() => {
48815
48819
  if (b && !y) {
48816
- F(!0);
48820
+ x(!0);
48817
48821
  const T = document.getElementById(h);
48818
48822
  T && T.focus();
48819
48823
  }
48820
- }, [h, y, b]), x = D(() => {
48824
+ }, [h, y, b]), F = D(() => {
48821
48825
  (!u || String(u).trim() === "") && v?.("");
48822
48826
  }, [u, v]), P = D(() => b && y ? /* @__PURE__ */ m(
48823
48827
  Js,
@@ -48825,7 +48829,7 @@ const va = ({
48825
48829
  className: "!p-[9px]",
48826
48830
  iconBefore: /* @__PURE__ */ m(Uw, { ...re }),
48827
48831
  onClick: () => {
48828
- F(!1), v?.("");
48832
+ x(!1), v?.("");
48829
48833
  }
48830
48834
  }
48831
48835
  ) : /* @__PURE__ */ m("div", { className: l7, children: /* @__PURE__ */ m(
@@ -48876,7 +48880,7 @@ const va = ({
48876
48880
  onChange: v,
48877
48881
  disabled: g,
48878
48882
  readonly: p,
48879
- onBlur: x,
48883
+ onBlur: F,
48880
48884
  invalid: f,
48881
48885
  className: C,
48882
48886
  containerClassName: ce(w, {
@@ -49027,13 +49031,13 @@ function p7({
49027
49031
  let f = null;
49028
49032
  const v = () => {
49029
49033
  f && cancelAnimationFrame(f), f = requestAnimationFrame(() => {
49030
- const w = r.current, b = l.current?.offsetWidth ?? 0, S = c.current?.offsetWidth ?? 0, y = b + S, R = w.getBoundingClientRect().width - y - s - i * 2 - o * 2, x = d.current;
49034
+ const w = r.current, b = l.current?.offsetWidth ?? 0, S = c.current?.offsetWidth ?? 0, y = b + S, R = w.getBoundingClientRect().width - y - s - i * 2 - o * 2, F = d.current;
49031
49035
  let P = 0, T = 0;
49032
49036
  if (t === Zi.Reverse)
49033
- for (let E = x.length - 1; E >= 0 && (P += x[E] + i, !(P > R)); E--)
49037
+ for (let E = F.length - 1; E >= 0 && (P += F[E] + i, !(P > R)); E--)
49034
49038
  T++;
49035
49039
  else
49036
- for (const E of x) {
49040
+ for (const E of F) {
49037
49041
  if (P += E + i, P > R) break;
49038
49042
  T++;
49039
49043
  }
@@ -49194,23 +49198,23 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49194
49198
  l.current = !1, n(!1), i([]), a(null);
49195
49199
  }, []), u = D(
49196
49200
  (w, b) => {
49197
- const S = e(w), y = new Set(S.map(Cc)), F = b.filter((R) => y.has(R.name));
49201
+ const S = e(w), y = new Set(S.map(Cc)), x = b.filter((R) => y.has(R.name));
49198
49202
  return {
49199
- hasConflicts: F.length > 0,
49200
- conflicts: F
49203
+ hasConflicts: x.length > 0,
49204
+ conflicts: x
49201
49205
  };
49202
49206
  },
49203
49207
  [e]
49204
49208
  ), h = D(
49205
49209
  (w, b, S, y) => {
49206
- const F = e(w), R = new Set(F.map(Cc));
49207
- return b.map((x) => {
49208
- const P = x.name, T = R.has(P), E = S && T ? P : Zg(P, R, x.nodeType);
49210
+ const x = e(w), R = new Set(x.map(Cc));
49211
+ return b.map((F) => {
49212
+ const P = F.name, T = R.has(P), E = S && T ? P : Zg(P, R, F.nodeType);
49209
49213
  return (!S || !T) && R.add(E), {
49210
- sourceUrl: x.path,
49214
+ sourceUrl: F.path,
49211
49215
  destinationUrl: `${w}/${E}`,
49212
49216
  overwrite: S && T,
49213
- nodeType: x.nodeType ?? ke.ITEM,
49217
+ nodeType: F.nodeType ?? ke.ITEM,
49214
49218
  ...y ?? {}
49215
49219
  };
49216
49220
  });
@@ -49218,7 +49222,7 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49218
49222
  [e]
49219
49223
  ), g = D(
49220
49224
  (w, b, S, y) => {
49221
- const F = e(w), R = new Set(F.map(Cc));
49225
+ const x = e(w), R = new Set(x.map(Cc));
49222
49226
  return b.filter((P) => S.get(P.path) !== pt.Cancel).map((P) => {
49223
49227
  const T = S.get(P.path), E = R.has(P.name), A = T === pt.Replace && E, U = A ? P.name : Zg(P.name, R, P.nodeType);
49224
49228
  return A || R.add(U), {
@@ -49272,12 +49276,12 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49272
49276
  ]), C = D(
49273
49277
  (w) => {
49274
49278
  if (!r) return;
49275
- const { files: b, destinationFolder: S, metadata: y } = r, F = new Map(
49276
- w.map((x) => [x.file.path, x.action])
49279
+ const { files: b, destinationFolder: S, metadata: y } = r, x = new Map(
49280
+ w.map((F) => [F.file.path, F.action])
49277
49281
  ), R = g(
49278
49282
  S,
49279
49283
  b,
49280
- F,
49284
+ x,
49281
49285
  y
49282
49286
  );
49283
49287
  t?.(R, S), d();
@@ -49316,9 +49320,9 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49316
49320
  const [l, c] = I(!1), [d, u] = I([]), [h, g] = I([]), [p, f] = I(nt.Copy), [v, C] = I(), [w, b] = I(null), {
49317
49321
  conflictingFiles: S,
49318
49322
  conflictResolutionOpen: y,
49319
- hasActiveConflictRef: F,
49323
+ hasActiveConflictRef: x,
49320
49324
  startConflictResolution: R,
49321
- resolveConflictsWithStrategy: x,
49325
+ resolveConflictsWithStrategy: F,
49322
49326
  closeConflictResolution: P,
49323
49327
  openConflictResolution: T,
49324
49328
  handleReplaceAll: E,
@@ -49341,7 +49345,7 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49341
49345
  type: nt.Copy
49342
49346
  });
49343
49347
  if (b({ type: nt.Copy }), !ge.hasConflicts) {
49344
- const Re = x(
49348
+ const Re = F(
49345
49349
  k,
49346
49350
  d,
49347
49351
  !1
@@ -49352,7 +49356,7 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49352
49356
  [
49353
49357
  d,
49354
49358
  R,
49355
- x,
49359
+ F,
49356
49360
  t,
49357
49361
  i,
49358
49362
  B
@@ -49364,7 +49368,7 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49364
49368
  type: nt.Move,
49365
49369
  sourceFolderPath: Re
49366
49370
  }).hasConflicts) {
49367
- const V = x(
49371
+ const V = F(
49368
49372
  k,
49369
49373
  h,
49370
49374
  !0
@@ -49375,7 +49379,7 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49375
49379
  [
49376
49380
  h,
49377
49381
  R,
49378
- x,
49382
+ F,
49379
49383
  s,
49380
49384
  o,
49381
49385
  B,
@@ -49392,22 +49396,22 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49392
49396
  [U, B]
49393
49397
  ), j = D(
49394
49398
  (k) => {
49395
- const ge = k.at(0)?.parentPath ?? "/", Re = x(
49399
+ const ge = k.at(0)?.parentPath ?? "/", Re = F(
49396
49400
  ge,
49397
49401
  k,
49398
49402
  !1
49399
49403
  );
49400
49404
  t?.(Re, ge), n?.();
49401
49405
  },
49402
- [t, n, x]
49406
+ [t, n, F]
49403
49407
  ), oe = D(
49404
49408
  (k) => {
49405
49409
  f(k), c(!0);
49406
49410
  },
49407
49411
  []
49408
49412
  ), J = D(() => {
49409
- c(!1), F.current || B();
49410
- }, [B, F]), [ee, q] = I(), we = D(
49413
+ c(!1), x.current || B();
49414
+ }, [B, x]), [ee, q] = I(), we = D(
49411
49415
  (k) => {
49412
49416
  u(k);
49413
49417
  const ge = k[0]?.parentPath ?? k[0]?.folderId;
@@ -49524,7 +49528,7 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49524
49528
  uploadEnabled: r = !0,
49525
49529
  currentFolder: a
49526
49530
  } = {}) => {
49527
- const [l, c] = I(!1), [d, u] = I(!1), [h, g] = I(), p = L(null), f = L(""), v = L([]), C = G(() => !!a?.permissions?.includes(Io.WRITE), [a]), [w, b] = I(/* @__PURE__ */ new Map()), [S, y] = I(null), F = D(
49531
+ const [l, c] = I(!1), [d, u] = I(!1), [h, g] = I(), p = L(null), f = L(""), v = L([]), C = G(() => !!a?.permissions?.includes(Io.WRITE), [a]), [w, b] = I(/* @__PURE__ */ new Map()), [S, y] = I(null), x = D(
49528
49532
  (V) => !i || i.includes("*/*") ? V : V.filter(
49529
49533
  ({ fileContent: Y, name: le }) => xv(i, Y.type, le)
49530
49534
  ),
@@ -49532,7 +49536,7 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49532
49536
  ), R = D(() => {
49533
49537
  b(/* @__PURE__ */ new Map()), y(null);
49534
49538
  }, []), {
49535
- conflictingFiles: x,
49539
+ conflictingFiles: F,
49536
49540
  conflictResolutionOpen: P,
49537
49541
  hasActiveConflictRef: T,
49538
49542
  startConflictResolution: E,
@@ -49682,7 +49686,7 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49682
49686
  const xe = me.map((Fe) => ({
49683
49687
  fileContent: Fe,
49684
49688
  name: Fe.name
49685
- })), ae = F(xe);
49689
+ })), ae = x(xe);
49686
49690
  if (ae.length === 0) {
49687
49691
  g(
49688
49692
  o.unsupportedFiles || "Selected files are not supported"
@@ -49693,7 +49697,7 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49693
49697
  },
49694
49698
  [
49695
49699
  r,
49696
- F,
49700
+ x,
49697
49701
  de,
49698
49702
  o,
49699
49703
  C
@@ -49711,7 +49715,7 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49711
49715
  const me = Array.from(V.files).map((ae) => ({
49712
49716
  fileContent: ae,
49713
49717
  name: ae.name
49714
- })), xe = F(me);
49718
+ })), xe = x(me);
49715
49719
  if (xe.length === 0) {
49716
49720
  g(
49717
49721
  o.unsupportedFiles || "Selected files are not supported"
@@ -49730,7 +49734,7 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49730
49734
  }, [
49731
49735
  r,
49732
49736
  i,
49733
- F,
49737
+ x,
49734
49738
  de,
49735
49739
  o,
49736
49740
  C
@@ -49785,7 +49789,7 @@ const f7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49785
49789
  openFileDialog: ge,
49786
49790
  openArchiveDialog: Re,
49787
49791
  fileInputRef: p,
49788
- uploadConflictingFiles: x,
49792
+ uploadConflictingFiles: F,
49789
49793
  uploadConflictResolutionOpen: P,
49790
49794
  hasActiveUploadConflictRef: T,
49791
49795
  openUploadConflictResolution: U,
@@ -50086,8 +50090,8 @@ function O7({
50086
50090
  const v = String(
50087
50091
  n ?? c ?? ""
50088
50092
  ).trim(), C = h.current && (o || i.length > 0 || v !== ""), w = D(
50089
- (F) => {
50090
- const R = F.trim();
50093
+ (x) => {
50094
+ const R = x.trim();
50091
50095
  if (!R) {
50092
50096
  h.current = !1, u.current = !1;
50093
50097
  return;
@@ -50098,8 +50102,8 @@ function O7({
50098
50102
  ), b = D(() => {
50099
50103
  u.current = !1, h.current = !1, g.current = [], d(""), r?.(""), t?.();
50100
50104
  }, [t, r]), S = D(
50101
- (F) => {
50102
- const R = String(F ?? "");
50105
+ (x) => {
50106
+ const R = String(x ?? "");
50103
50107
  d(R), r?.(R), R.trim() ? w(R) : b();
50104
50108
  },
50105
50109
  [r, w, b]
@@ -50121,8 +50125,8 @@ function O7({
50121
50125
  }
50122
50126
  if (!v || !a.length)
50123
50127
  return [];
50124
- const F = L7(a);
50125
- return Xg(F, v);
50128
+ const x = L7(a);
50129
+ return Xg(x, v);
50126
50130
  }, [e, i, v, a]);
50127
50131
  return {
50128
50132
  isSearchMode: C,
@@ -50181,9 +50185,9 @@ const H7 = ({
50181
50185
  bulkActionsToolbarOptions: b,
50182
50186
  destinationFolderPopupOptions: S,
50183
50187
  conflictResolutionPopupOptions: y,
50184
- onPathChange: F,
50188
+ onPathChange: x,
50185
50189
  onTableFileClick: R,
50186
- onGridApiChange: x,
50190
+ onGridApiChange: F,
50187
50191
  onCopyFiles: P,
50188
50192
  onMoveToFiles: T,
50189
50193
  onDeleteFiles: E,
@@ -50234,7 +50238,7 @@ const H7 = ({
50234
50238
  }, [Pe, s]), { currentPath: Je, setCurrentPath: is, handlePathChange: wt } = w7({
50235
50239
  path: o,
50236
50240
  defaultPath: n,
50237
- onPathChange: F,
50241
+ onPathChange: x,
50238
50242
  onSelectionClear: Le
50239
50243
  }), [z, Ee] = I(), Ft = S?.destinationFolderPath ?? z, Os = D(
50240
50244
  (ze) => {
@@ -50553,7 +50557,7 @@ const H7 = ({
50553
50557
  handleSearchChange: Xa,
50554
50558
  handleTableRowClick: Nv,
50555
50559
  onTableFileClick: R,
50556
- onGridApiChange: x,
50560
+ onGridApiChange: F,
50557
50561
  isDragging: nl,
50558
50562
  uploadError: al,
50559
50563
  handleDragEnter: ll,
@@ -50684,9 +50688,9 @@ const H7 = ({
50684
50688
  alertProps: v,
50685
50689
  ...C
50686
50690
  }) => {
50687
- const [w, b] = I(!1), S = L(null), y = D((x) => {
50688
- b(x);
50689
- }, []), F = r === nt.Copy ? "Copy to" : "Move to", R = G(() => !p || !h ? !1 : h === p, [p, h]);
50691
+ const [w, b] = I(!1), S = L(null), y = D((F) => {
50692
+ b(F);
50693
+ }, []), x = r === nt.Copy ? "Copy to" : "Move to", R = G(() => !p || !h ? !1 : h === p, [p, h]);
50690
50694
  return /* @__PURE__ */ m(
50691
50695
  Mo,
50692
50696
  {
@@ -50739,7 +50743,7 @@ const H7 = ({
50739
50743
  )
50740
50744
  ] })
50741
50745
  ] }),
50742
- header: u ?? F,
50746
+ header: u ?? x,
50743
50747
  children: /* @__PURE__ */ W("div", { className: "bg-layer-2 h-full flex flex-col", children: [
50744
50748
  v && /* @__PURE__ */ m("div", { className: "px-4 pt-4", children: /* @__PURE__ */ m(H1, { ...v }) }),
50745
50749
  /* @__PURE__ */ m("div", { className: "flex-1 min-h-0", children: /* @__PURE__ */ m(
@@ -51019,7 +51023,7 @@ const H7 = ({
51019
51023
  nameColumnLabel: g = "Name",
51020
51024
  actionColumnLabel: p = "Action"
51021
51025
  }) => {
51022
- const f = n.length === 1, v = f ? n[0]?.name : "", C = c?.[pt.Replace] ?? "Replace", w = c?.[pt.Duplicate] ?? "Duplicate", b = c?.[pt.Cancel] ?? "Cancel", S = d?.[Ht.ReplaceAll] ?? "Replace all", y = d?.[Ht.DuplicateAll] ?? "Duplicate all", F = d?.[Ht.DecideForEach] ?? "Decide for each", [R, x] = I(
51026
+ const f = n.length === 1, v = f ? n[0]?.name : "", C = c?.[pt.Replace] ?? "Replace", w = c?.[pt.Duplicate] ?? "Duplicate", b = c?.[pt.Cancel] ?? "Cancel", S = d?.[Ht.ReplaceAll] ?? "Replace all", y = d?.[Ht.DuplicateAll] ?? "Duplicate all", x = d?.[Ht.DecideForEach] ?? "Decide for each", [R, F] = I(
51023
51027
  pt.Replace
51024
51028
  ), [P, T] = I(
51025
51029
  Ht.ReplaceAll
@@ -51174,7 +51178,7 @@ const H7 = ({
51174
51178
  },
51175
51179
  {
51176
51180
  id: Ht.DecideForEach,
51177
- name: F,
51181
+ name: x,
51178
51182
  content: P === Ht.DecideForEach ? /* @__PURE__ */ m("div", { className: "mt-4", children: /* @__PURE__ */ m(
51179
51183
  av,
51180
51184
  {
@@ -51194,7 +51198,7 @@ const H7 = ({
51194
51198
  [
51195
51199
  S,
51196
51200
  y,
51197
- F,
51201
+ x,
51198
51202
  P,
51199
51203
  oe,
51200
51204
  j
@@ -51247,7 +51251,7 @@ const H7 = ({
51247
51251
  radioButtons: de,
51248
51252
  activeRadioButton: R,
51249
51253
  orientation: ho.Column,
51250
- onChange: (q) => x(q)
51254
+ onChange: (q) => F(q)
51251
51255
  }
51252
51256
  ) : /* @__PURE__ */ m(
51253
51257
  yc,
@@ -51590,7 +51594,7 @@ const Av = ({
51590
51594
  shared: h,
51591
51595
  sharedIndicatorClassName: p,
51592
51596
  iconSize: Ks,
51593
- validate: (x) => b(x, C),
51597
+ validate: (F) => b(F, C),
51594
51598
  onSave: S,
51595
51599
  onCancel: y,
51596
51600
  inputContainerClassName: ce([
@@ -51763,9 +51767,9 @@ const o9 = (e) => /* @__PURE__ */ m(H7, { ...e, children: /* @__PURE__ */ m(n9,
51763
51767
  isTreeCollapsed: b,
51764
51768
  toggleTreeCollapse: S,
51765
51769
  currentPath: y,
51766
- gridRows: F,
51770
+ gridRows: x,
51767
51771
  selectedPaths: R,
51768
- selectedFiles: x,
51772
+ selectedFiles: F,
51769
51773
  clearSelection: P,
51770
51774
  setSelectedPaths: T,
51771
51775
  effectiveSearchValue: E,
@@ -51992,23 +51996,23 @@ const o9 = (e) => /* @__PURE__ */ m(H7, { ...e, children: /* @__PURE__ */ m(n9,
51992
51996
  ]
51993
51997
  ), hl = G(() => {
51994
51998
  const ie = /* @__PURE__ */ new Map();
51995
- return x.forEach((Be, Hs) => {
51996
- const Gs = F.find((sr) => sr.path === Hs);
51999
+ return F.forEach((Be, Hs) => {
52000
+ const Gs = x.find((sr) => sr.path === Hs);
51997
52001
  Gs && ie.set(Hs, Gs);
51998
52002
  }), ie;
51999
- }, [x, F]), gl = G(() => {
52003
+ }, [F, x]), gl = G(() => {
52000
52004
  const ie = /* @__PURE__ */ new Set();
52001
- return F.filter(
52005
+ return x.filter(
52002
52006
  (Be) => Ni(Be, f, v)
52003
52007
  ).forEach((Be) => ie.add(Be.path)), ie;
52004
- }, [f, v, F, Ni]), pl = D(
52008
+ }, [f, v, x, Ni]), pl = D(
52005
52009
  (ie) => {
52006
52010
  const Be = /* @__PURE__ */ new Set();
52007
52011
  ie.forEach((Hs, Gs) => Be.add(Gs)), T(Be);
52008
52012
  },
52009
52013
  [T]
52010
52014
  ), Jn = z7({
52011
- selectedFiles: x,
52015
+ selectedFiles: F,
52012
52016
  actionLabels: c?.actionLabels,
52013
52017
  onDuplicate: ee,
52014
52018
  onCopy: (ie) => {
@@ -52260,11 +52264,11 @@ const o9 = (e) => /* @__PURE__ */ m(H7, { ...e, children: /* @__PURE__ */ m(n9,
52260
52264
  onDragLeave: Ue,
52261
52265
  onDragOver: Je,
52262
52266
  onDrop: is,
52263
- children: F.length === 0 && !Oo && !i ? Cl() : /* @__PURE__ */ m(
52267
+ children: x.length === 0 && !Oo && !i ? Cl() : /* @__PURE__ */ m(
52264
52268
  av,
52265
52269
  {
52266
52270
  columnDefs: Ns,
52267
- rowData: F,
52271
+ rowData: x,
52268
52272
  getRowId: (ie) => ie.path,
52269
52273
  loading: i || sl,
52270
52274
  getContextMenuItems: er,