@epam/ai-dial-ui-kit 0.10.0-dev.28 → 0.10.0-dev.29

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.
@@ -72,7 +72,7 @@ function Rx() {
72
72
  return "StrictMode";
73
73
  case F:
74
74
  return "Suspense";
75
- case R:
75
+ case S:
76
76
  return "SuspenseList";
77
77
  case T:
78
78
  return "Activity";
@@ -90,7 +90,7 @@ function Rx() {
90
90
  case y:
91
91
  var W = I.render;
92
92
  return I = I.displayName, I || (I = W.displayName || W.name || "", I = I !== "" ? "ForwardRef(" + I + ")" : "ForwardRef"), I;
93
- case S:
93
+ case R:
94
94
  return W = I.displayName || null, W !== null ? W : e(I.type) || "Memo";
95
95
  case E:
96
96
  W = I._payload, I = I._init;
@@ -251,7 +251,7 @@ React keys must be passed directly to JSX without using spread:
251
251
  function h(I) {
252
252
  return typeof I == "object" && I !== null && I.$$typeof === f;
253
253
  }
254
- var p = Z, f = /* @__PURE__ */ Symbol.for("react.transitional.element"), m = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), C = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), b = /* @__PURE__ */ Symbol.for("react.consumer"), x = /* @__PURE__ */ Symbol.for("react.context"), y = /* @__PURE__ */ Symbol.for("react.forward_ref"), F = /* @__PURE__ */ Symbol.for("react.suspense"), R = /* @__PURE__ */ Symbol.for("react.suspense_list"), S = /* @__PURE__ */ Symbol.for("react.memo"), E = /* @__PURE__ */ Symbol.for("react.lazy"), T = /* @__PURE__ */ Symbol.for("react.activity"), P = /* @__PURE__ */ Symbol.for("react.client.reference"), A = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = Object.prototype.hasOwnProperty, Y = Array.isArray, N = console.createTask ? console.createTask : function() {
254
+ var p = Z, f = /* @__PURE__ */ Symbol.for("react.transitional.element"), m = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), C = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), b = /* @__PURE__ */ Symbol.for("react.consumer"), x = /* @__PURE__ */ Symbol.for("react.context"), y = /* @__PURE__ */ Symbol.for("react.forward_ref"), F = /* @__PURE__ */ Symbol.for("react.suspense"), S = /* @__PURE__ */ Symbol.for("react.suspense_list"), R = /* @__PURE__ */ Symbol.for("react.memo"), E = /* @__PURE__ */ Symbol.for("react.lazy"), T = /* @__PURE__ */ Symbol.for("react.activity"), P = /* @__PURE__ */ Symbol.for("react.client.reference"), A = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = Object.prototype.hasOwnProperty, Y = Array.isArray, N = console.createTask ? console.createTask : function() {
255
255
  return null;
256
256
  };
257
257
  p = {
@@ -531,8 +531,8 @@ const Ex = (e, t) => {
531
531
  r.push(x);
532
532
  const y = n(C, v);
533
533
  for (let F = 0; F < y.length; ++F) {
534
- const R = y[F];
535
- r.push(b + R);
534
+ const S = y[F];
535
+ r.push(b + S);
536
536
  }
537
537
  l = d + (l.length > 0 ? " " + l : l);
538
538
  }
@@ -595,9 +595,9 @@ const Ex = (e, t) => {
595
595
  "bottom-left",
596
596
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
597
597
  "left-bottom"
598
- ], y = () => [...x(), ve, me], F = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], S = () => [ve, me, l], E = () => [hs, "full", "auto", ...S()], T = () => [ps, "none", "subgrid", ve, me], P = () => ["auto", {
598
+ ], y = () => [...x(), ve, me], F = () => ["auto", "hidden", "clip", "visible", "scroll"], S = () => ["auto", "contain", "none"], R = () => [ve, me, l], E = () => [hs, "full", "auto", ...R()], T = () => [ps, "none", "subgrid", ve, me], P = () => ["auto", {
599
599
  span: ["full", ps, ve, me]
600
- }, ps, ve, me], A = () => [ps, "auto", ve, me], H = () => ["auto", "min", "max", "fr", ve, me], Y = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], N = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], V = () => ["auto", ...S()], _ = () => [hs, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...S()], U = () => [hs, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...S()], ne = () => [hs, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...S()], L = () => [e, ve, me], I = () => [...x(), Bg, Gg, {
600
+ }, ps, ve, me], A = () => [ps, "auto", ve, me], H = () => ["auto", "min", "max", "fr", ve, me], Y = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], N = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], V = () => ["auto", ...R()], _ = () => [hs, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...R()], U = () => [hs, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...R()], ne = () => [hs, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...R()], L = () => [e, ve, me], I = () => [...x(), Bg, Gg, {
601
601
  position: [ve, me]
602
602
  }], W = () => ["no-repeat", {
603
603
  repeat: ["", "x", "y", "space", "round"]
@@ -618,7 +618,7 @@ const Ex = (e, t) => {
618
618
  f,
619
619
  ve,
620
620
  me
621
- ], ye = () => ["none", He, ve, me], Ae = () => ["none", He, ve, me], k = () => [He, ve, me], ee = () => [hs, "full", ...S()];
621
+ ], ye = () => ["none", He, ve, me], Ae = () => ["none", He, ve, me], k = () => [He, ve, me], ee = () => [hs, "full", ...R()];
622
622
  return {
623
623
  cacheSize: 500,
624
624
  theme: {
@@ -770,21 +770,21 @@ const Ex = (e, t) => {
770
770
  * @see https://tailwindcss.com/docs/overscroll-behavior
771
771
  */
772
772
  overscroll: [{
773
- overscroll: R()
773
+ overscroll: S()
774
774
  }],
775
775
  /**
776
776
  * Overscroll Behavior X
777
777
  * @see https://tailwindcss.com/docs/overscroll-behavior
778
778
  */
779
779
  "overscroll-x": [{
780
- "overscroll-x": R()
780
+ "overscroll-x": S()
781
781
  }],
782
782
  /**
783
783
  * Overscroll Behavior Y
784
784
  * @see https://tailwindcss.com/docs/overscroll-behavior
785
785
  */
786
786
  "overscroll-y": [{
787
- "overscroll-y": R()
787
+ "overscroll-y": S()
788
788
  }],
789
789
  /**
790
790
  * Position
@@ -900,7 +900,7 @@ const Ex = (e, t) => {
900
900
  * @see https://tailwindcss.com/docs/flex-basis
901
901
  */
902
902
  basis: [{
903
- basis: [hs, "full", "auto", a, ...S()]
903
+ basis: [hs, "full", "auto", a, ...R()]
904
904
  }],
905
905
  /**
906
906
  * Flex Direction
@@ -1026,21 +1026,21 @@ const Ex = (e, t) => {
1026
1026
  * @see https://tailwindcss.com/docs/gap
1027
1027
  */
1028
1028
  gap: [{
1029
- gap: S()
1029
+ gap: R()
1030
1030
  }],
1031
1031
  /**
1032
1032
  * Gap X
1033
1033
  * @see https://tailwindcss.com/docs/gap
1034
1034
  */
1035
1035
  "gap-x": [{
1036
- "gap-x": S()
1036
+ "gap-x": R()
1037
1037
  }],
1038
1038
  /**
1039
1039
  * Gap Y
1040
1040
  * @see https://tailwindcss.com/docs/gap
1041
1041
  */
1042
1042
  "gap-y": [{
1043
- "gap-y": S()
1043
+ "gap-y": R()
1044
1044
  }],
1045
1045
  /**
1046
1046
  * Justify Content
@@ -1115,77 +1115,77 @@ const Ex = (e, t) => {
1115
1115
  * @see https://tailwindcss.com/docs/padding
1116
1116
  */
1117
1117
  p: [{
1118
- p: S()
1118
+ p: R()
1119
1119
  }],
1120
1120
  /**
1121
1121
  * Padding Inline
1122
1122
  * @see https://tailwindcss.com/docs/padding
1123
1123
  */
1124
1124
  px: [{
1125
- px: S()
1125
+ px: R()
1126
1126
  }],
1127
1127
  /**
1128
1128
  * Padding Block
1129
1129
  * @see https://tailwindcss.com/docs/padding
1130
1130
  */
1131
1131
  py: [{
1132
- py: S()
1132
+ py: R()
1133
1133
  }],
1134
1134
  /**
1135
1135
  * Padding Inline Start
1136
1136
  * @see https://tailwindcss.com/docs/padding
1137
1137
  */
1138
1138
  ps: [{
1139
- ps: S()
1139
+ ps: R()
1140
1140
  }],
1141
1141
  /**
1142
1142
  * Padding Inline End
1143
1143
  * @see https://tailwindcss.com/docs/padding
1144
1144
  */
1145
1145
  pe: [{
1146
- pe: S()
1146
+ pe: R()
1147
1147
  }],
1148
1148
  /**
1149
1149
  * Padding Block Start
1150
1150
  * @see https://tailwindcss.com/docs/padding
1151
1151
  */
1152
1152
  pbs: [{
1153
- pbs: S()
1153
+ pbs: R()
1154
1154
  }],
1155
1155
  /**
1156
1156
  * Padding Block End
1157
1157
  * @see https://tailwindcss.com/docs/padding
1158
1158
  */
1159
1159
  pbe: [{
1160
- pbe: S()
1160
+ pbe: R()
1161
1161
  }],
1162
1162
  /**
1163
1163
  * Padding Top
1164
1164
  * @see https://tailwindcss.com/docs/padding
1165
1165
  */
1166
1166
  pt: [{
1167
- pt: S()
1167
+ pt: R()
1168
1168
  }],
1169
1169
  /**
1170
1170
  * Padding Right
1171
1171
  * @see https://tailwindcss.com/docs/padding
1172
1172
  */
1173
1173
  pr: [{
1174
- pr: S()
1174
+ pr: R()
1175
1175
  }],
1176
1176
  /**
1177
1177
  * Padding Bottom
1178
1178
  * @see https://tailwindcss.com/docs/padding
1179
1179
  */
1180
1180
  pb: [{
1181
- pb: S()
1181
+ pb: R()
1182
1182
  }],
1183
1183
  /**
1184
1184
  * Padding Left
1185
1185
  * @see https://tailwindcss.com/docs/padding
1186
1186
  */
1187
1187
  pl: [{
1188
- pl: S()
1188
+ pl: R()
1189
1189
  }],
1190
1190
  /**
1191
1191
  * Margin
@@ -1269,7 +1269,7 @@ const Ex = (e, t) => {
1269
1269
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1270
1270
  */
1271
1271
  "space-x": [{
1272
- "space-x": S()
1272
+ "space-x": R()
1273
1273
  }],
1274
1274
  /**
1275
1275
  * Space Between X Reverse
@@ -1281,7 +1281,7 @@ const Ex = (e, t) => {
1281
1281
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1282
1282
  */
1283
1283
  "space-y": [{
1284
- "space-y": S()
1284
+ "space-y": R()
1285
1285
  }],
1286
1286
  /**
1287
1287
  * Space Between Y Reverse
@@ -1499,7 +1499,7 @@ const Ex = (e, t) => {
1499
1499
  leading: [
1500
1500
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1501
1501
  o,
1502
- ...S()
1502
+ ...R()
1503
1503
  ]
1504
1504
  }],
1505
1505
  /**
@@ -1600,7 +1600,7 @@ const Ex = (e, t) => {
1600
1600
  * @see https://tailwindcss.com/docs/text-indent
1601
1601
  */
1602
1602
  indent: [{
1603
- indent: S()
1603
+ indent: R()
1604
1604
  }],
1605
1605
  /**
1606
1606
  * Vertical Alignment
@@ -2592,21 +2592,21 @@ const Ex = (e, t) => {
2592
2592
  * @see https://tailwindcss.com/docs/border-spacing
2593
2593
  */
2594
2594
  "border-spacing": [{
2595
- "border-spacing": S()
2595
+ "border-spacing": R()
2596
2596
  }],
2597
2597
  /**
2598
2598
  * Border Spacing X
2599
2599
  * @see https://tailwindcss.com/docs/border-spacing
2600
2600
  */
2601
2601
  "border-spacing-x": [{
2602
- "border-spacing-x": S()
2602
+ "border-spacing-x": R()
2603
2603
  }],
2604
2604
  /**
2605
2605
  * Border Spacing Y
2606
2606
  * @see https://tailwindcss.com/docs/border-spacing
2607
2607
  */
2608
2608
  "border-spacing-y": [{
2609
- "border-spacing-y": S()
2609
+ "border-spacing-y": R()
2610
2610
  }],
2611
2611
  /**
2612
2612
  * Table Layout
@@ -2898,154 +2898,154 @@ const Ex = (e, t) => {
2898
2898
  * @see https://tailwindcss.com/docs/scroll-margin
2899
2899
  */
2900
2900
  "scroll-m": [{
2901
- "scroll-m": S()
2901
+ "scroll-m": R()
2902
2902
  }],
2903
2903
  /**
2904
2904
  * Scroll Margin Inline
2905
2905
  * @see https://tailwindcss.com/docs/scroll-margin
2906
2906
  */
2907
2907
  "scroll-mx": [{
2908
- "scroll-mx": S()
2908
+ "scroll-mx": R()
2909
2909
  }],
2910
2910
  /**
2911
2911
  * Scroll Margin Block
2912
2912
  * @see https://tailwindcss.com/docs/scroll-margin
2913
2913
  */
2914
2914
  "scroll-my": [{
2915
- "scroll-my": S()
2915
+ "scroll-my": R()
2916
2916
  }],
2917
2917
  /**
2918
2918
  * Scroll Margin Inline Start
2919
2919
  * @see https://tailwindcss.com/docs/scroll-margin
2920
2920
  */
2921
2921
  "scroll-ms": [{
2922
- "scroll-ms": S()
2922
+ "scroll-ms": R()
2923
2923
  }],
2924
2924
  /**
2925
2925
  * Scroll Margin Inline End
2926
2926
  * @see https://tailwindcss.com/docs/scroll-margin
2927
2927
  */
2928
2928
  "scroll-me": [{
2929
- "scroll-me": S()
2929
+ "scroll-me": R()
2930
2930
  }],
2931
2931
  /**
2932
2932
  * Scroll Margin Block Start
2933
2933
  * @see https://tailwindcss.com/docs/scroll-margin
2934
2934
  */
2935
2935
  "scroll-mbs": [{
2936
- "scroll-mbs": S()
2936
+ "scroll-mbs": R()
2937
2937
  }],
2938
2938
  /**
2939
2939
  * Scroll Margin Block End
2940
2940
  * @see https://tailwindcss.com/docs/scroll-margin
2941
2941
  */
2942
2942
  "scroll-mbe": [{
2943
- "scroll-mbe": S()
2943
+ "scroll-mbe": R()
2944
2944
  }],
2945
2945
  /**
2946
2946
  * Scroll Margin Top
2947
2947
  * @see https://tailwindcss.com/docs/scroll-margin
2948
2948
  */
2949
2949
  "scroll-mt": [{
2950
- "scroll-mt": S()
2950
+ "scroll-mt": R()
2951
2951
  }],
2952
2952
  /**
2953
2953
  * Scroll Margin Right
2954
2954
  * @see https://tailwindcss.com/docs/scroll-margin
2955
2955
  */
2956
2956
  "scroll-mr": [{
2957
- "scroll-mr": S()
2957
+ "scroll-mr": R()
2958
2958
  }],
2959
2959
  /**
2960
2960
  * Scroll Margin Bottom
2961
2961
  * @see https://tailwindcss.com/docs/scroll-margin
2962
2962
  */
2963
2963
  "scroll-mb": [{
2964
- "scroll-mb": S()
2964
+ "scroll-mb": R()
2965
2965
  }],
2966
2966
  /**
2967
2967
  * Scroll Margin Left
2968
2968
  * @see https://tailwindcss.com/docs/scroll-margin
2969
2969
  */
2970
2970
  "scroll-ml": [{
2971
- "scroll-ml": S()
2971
+ "scroll-ml": R()
2972
2972
  }],
2973
2973
  /**
2974
2974
  * Scroll Padding
2975
2975
  * @see https://tailwindcss.com/docs/scroll-padding
2976
2976
  */
2977
2977
  "scroll-p": [{
2978
- "scroll-p": S()
2978
+ "scroll-p": R()
2979
2979
  }],
2980
2980
  /**
2981
2981
  * Scroll Padding Inline
2982
2982
  * @see https://tailwindcss.com/docs/scroll-padding
2983
2983
  */
2984
2984
  "scroll-px": [{
2985
- "scroll-px": S()
2985
+ "scroll-px": R()
2986
2986
  }],
2987
2987
  /**
2988
2988
  * Scroll Padding Block
2989
2989
  * @see https://tailwindcss.com/docs/scroll-padding
2990
2990
  */
2991
2991
  "scroll-py": [{
2992
- "scroll-py": S()
2992
+ "scroll-py": R()
2993
2993
  }],
2994
2994
  /**
2995
2995
  * Scroll Padding Inline Start
2996
2996
  * @see https://tailwindcss.com/docs/scroll-padding
2997
2997
  */
2998
2998
  "scroll-ps": [{
2999
- "scroll-ps": S()
2999
+ "scroll-ps": R()
3000
3000
  }],
3001
3001
  /**
3002
3002
  * Scroll Padding Inline End
3003
3003
  * @see https://tailwindcss.com/docs/scroll-padding
3004
3004
  */
3005
3005
  "scroll-pe": [{
3006
- "scroll-pe": S()
3006
+ "scroll-pe": R()
3007
3007
  }],
3008
3008
  /**
3009
3009
  * Scroll Padding Block Start
3010
3010
  * @see https://tailwindcss.com/docs/scroll-padding
3011
3011
  */
3012
3012
  "scroll-pbs": [{
3013
- "scroll-pbs": S()
3013
+ "scroll-pbs": R()
3014
3014
  }],
3015
3015
  /**
3016
3016
  * Scroll Padding Block End
3017
3017
  * @see https://tailwindcss.com/docs/scroll-padding
3018
3018
  */
3019
3019
  "scroll-pbe": [{
3020
- "scroll-pbe": S()
3020
+ "scroll-pbe": R()
3021
3021
  }],
3022
3022
  /**
3023
3023
  * Scroll Padding Top
3024
3024
  * @see https://tailwindcss.com/docs/scroll-padding
3025
3025
  */
3026
3026
  "scroll-pt": [{
3027
- "scroll-pt": S()
3027
+ "scroll-pt": R()
3028
3028
  }],
3029
3029
  /**
3030
3030
  * Scroll Padding Right
3031
3031
  * @see https://tailwindcss.com/docs/scroll-padding
3032
3032
  */
3033
3033
  "scroll-pr": [{
3034
- "scroll-pr": S()
3034
+ "scroll-pr": R()
3035
3035
  }],
3036
3036
  /**
3037
3037
  * Scroll Padding Bottom
3038
3038
  * @see https://tailwindcss.com/docs/scroll-padding
3039
3039
  */
3040
3040
  "scroll-pb": [{
3041
- "scroll-pb": S()
3041
+ "scroll-pb": R()
3042
3042
  }],
3043
3043
  /**
3044
3044
  * Scroll Padding Left
3045
3045
  * @see https://tailwindcss.com/docs/scroll-padding
3046
3046
  */
3047
3047
  "scroll-pl": [{
3048
- "scroll-pl": S()
3048
+ "scroll-pl": R()
3049
3049
  }],
3050
3050
  /**
3051
3051
  * Scroll Snap Align
@@ -3473,7 +3473,7 @@ const oi = 18, ie = {
3473
3473
  /* @__PURE__ */ g.jsx(Nv, { caption: s })
3474
3474
  ]
3475
3475
  }
3476
- ) : null, _e = ({ icon: e, className: t }) => e ? /* @__PURE__ */ g.jsx("span", { className: ce("flex-shrink-0", t), children: e }) : null, Ei = ({
3476
+ ) : null, Ue = ({ icon: e, className: t }) => e ? /* @__PURE__ */ g.jsx("span", { className: ce("flex-shrink-0", t), children: e }) : null, Ei = ({
3477
3477
  label: e,
3478
3478
  variant: t,
3479
3479
  appearance: i = Ge.Solid,
@@ -3504,9 +3504,9 @@ const oi = 18, ie = {
3504
3504
  className: p,
3505
3505
  "aria-label": typeof e == "string" && e || u["aria-label"],
3506
3506
  children: [
3507
- /* @__PURE__ */ g.jsx(_e, { icon: a }),
3507
+ /* @__PURE__ */ g.jsx(Ue, { icon: a }),
3508
3508
  e && /* @__PURE__ */ g.jsx("span", { className: h, children: e }),
3509
- /* @__PURE__ */ g.jsx(_e, { icon: r })
3509
+ /* @__PURE__ */ g.jsx(Ue, { icon: r })
3510
3510
  ]
3511
3511
  }
3512
3512
  );
@@ -3547,7 +3547,7 @@ const wy = (e) => ({
3547
3547
  ),
3548
3548
  children: [
3549
3549
  /* @__PURE__ */ g.jsxs("div", { className: "flex items-center gap-2", children: [
3550
- /* @__PURE__ */ g.jsx(_e, { icon: c }),
3550
+ /* @__PURE__ */ g.jsx(Ue, { icon: c }),
3551
3551
  /* @__PURE__ */ g.jsx("div", { className: "text-primary", children: t })
3552
3552
  ] }),
3553
3553
  a,
@@ -3579,7 +3579,7 @@ const wy = (e) => ({
3579
3579
  [t || ""]: !!t
3580
3580
  }),
3581
3581
  children: /* @__PURE__ */ g.jsx(
3582
- _e,
3582
+ Ue,
3583
3583
  {
3584
3584
  icon: /* @__PURE__ */ g.jsx(
3585
3585
  Fy,
@@ -4192,7 +4192,7 @@ const Ny = {
4192
4192
  t
4193
4193
  );
4194
4194
  return /* @__PURE__ */ g.jsxs("div", { className: a, children: [
4195
- /* @__PURE__ */ g.jsx(_e, { icon: n }),
4195
+ /* @__PURE__ */ g.jsx(Ue, { icon: n }),
4196
4196
  /* @__PURE__ */ g.jsx(bt, { text: e }),
4197
4197
  i && /* @__PURE__ */ g.jsx(
4198
4198
  Ei,
@@ -6053,7 +6053,7 @@ const Jg = "column", N2 = "flex items-center", H2 = "mr-3 cursor-move text-secon
6053
6053
  className: ce("inline-flex relative", s),
6054
6054
  ...n ? { "aria-hidden": !0 } : { role: "img", "aria-label": d },
6055
6055
  children: [
6056
- /* @__PURE__ */ g.jsx(_e, { icon: c, className: "inline-block align-middle" }),
6056
+ /* @__PURE__ */ g.jsx(Ue, { icon: c, className: "inline-block align-middle" }),
6057
6057
  r && /* @__PURE__ */ g.jsx("span", { className: "absolute -bottom-0.5 -left-0.5", children: r })
6058
6058
  ]
6059
6059
  }
@@ -6066,7 +6066,7 @@ const Jg = "column", N2 = "flex items-center", H2 = "mr-3 cursor-move text-secon
6066
6066
  stroke: n = 1.5,
6067
6067
  sharedIndicatorTooltip: o
6068
6068
  }) => /* @__PURE__ */ g.jsx(Xt, { tooltip: o || "Shared", children: /* @__PURE__ */ g.jsx(
6069
- _e,
6069
+ Ue,
6070
6070
  {
6071
6071
  className: oe(
6072
6072
  "text-accent-primary flex bg-layer-3",
@@ -6153,7 +6153,7 @@ const Jg = "column", N2 = "flex items-center", H2 = "mr-3 cursor-move text-secon
6153
6153
  tooltipContent: c
6154
6154
  }) => {
6155
6155
  const d = () => s ? /* @__PURE__ */ g.jsx(dc, { size: n }) : /* @__PURE__ */ g.jsx(
6156
- _e,
6156
+ Ue,
6157
6157
  {
6158
6158
  icon: /* @__PURE__ */ g.jsx(Ph, { ...ie, size: n }),
6159
6159
  className: "inline-block align-middle"
@@ -6475,8 +6475,8 @@ var yl = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(yl ||
6475
6475
  }, t.prototype.calculateNewSizeFromAspectRatio = function(i, s, n, o) {
6476
6476
  var r = this.props, a = r.lockAspectRatio, l = r.lockAspectRatioExtraHeight, c = r.lockAspectRatioExtraWidth, d = typeof o.width > "u" ? 10 : o.width, u = typeof n.width > "u" || n.width < 0 ? i : n.width, h = typeof o.height > "u" ? 10 : o.height, p = typeof n.height > "u" || n.height < 0 ? s : n.height, f = l || 0, m = c || 0;
6477
6477
  if (a) {
6478
- var v = (h - f) * this.ratio + m, C = (p - f) * this.ratio + m, w = (d - m) / this.ratio + f, b = (u - m) / this.ratio + f, x = Math.max(d, v), y = Math.min(u, C), F = Math.max(h, w), R = Math.min(p, b);
6479
- i = ka(i, x, y), s = ka(s, F, R);
6478
+ var v = (h - f) * this.ratio + m, C = (p - f) * this.ratio + m, w = (d - m) / this.ratio + f, b = (u - m) / this.ratio + f, x = Math.max(d, v), y = Math.min(u, C), F = Math.max(h, w), S = Math.min(p, b);
6479
+ i = ka(i, x, y), s = ka(s, F, S);
6480
6480
  } else
6481
6481
  i = ka(i, d, u), s = ka(s, h, p);
6482
6482
  return { newWidth: i, newHeight: s };
@@ -6543,7 +6543,7 @@ var yl = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(yl ||
6543
6543
  this.props.snap && this.props.snap.x && (x = of(x, this.props.snap.x, this.props.snapGap)), this.props.snap && this.props.snap.y && (b = of(b, this.props.snap.y, this.props.snapGap));
6544
6544
  var F = this.calculateNewSizeFromAspectRatio(x, b, { width: y.maxWidth, height: y.maxHeight }, { width: a, height: l });
6545
6545
  if (x = F.newWidth, b = F.newHeight, this.props.grid) {
6546
- var R = nf(x, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), S = nf(b, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), E = this.props.snapGap || 0, T = E === 0 || Math.abs(R - x) <= E ? R : x, P = E === 0 || Math.abs(S - b) <= E ? S : b;
6546
+ var S = nf(x, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), R = nf(b, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), E = this.props.snapGap || 0, T = E === 0 || Math.abs(S - x) <= E ? S : x, P = E === 0 || Math.abs(R - b) <= E ? R : b;
6547
6547
  x = T, b = P;
6548
6548
  }
6549
6549
  var A = {
@@ -6710,8 +6710,8 @@ const eR = ({ side: e, className: t }) => {
6710
6710
  right: x ? void 0 : y
6711
6711
  },
6712
6712
  onResizeStart: C,
6713
- onResize: (F, R, S) => {
6714
- const E = Math.round(S.offsetWidth);
6713
+ onResize: (F, S, R) => {
6714
+ const E = Math.round(R.offsetWidth);
6715
6715
  r?.(E);
6716
6716
  },
6717
6717
  onResizeStop: w
@@ -6764,15 +6764,15 @@ const nR = (e) => {
6764
6764
  c
6765
6765
  );
6766
6766
  if (r !== bi.Default) {
6767
- const S = oe(
6767
+ const R = oe(
6768
6768
  u,
6769
6769
  r === bi.Circular && "rounded-full",
6770
6770
  r === bi.Rectangular && "rounded",
6771
6771
  r === bi.Text && "rounded"
6772
6772
  ), E = {};
6773
- return a && (E.width = typeof a == "number" ? `${a}px` : a), l && (E.height = typeof l == "number" ? `${l}px` : l), /* @__PURE__ */ g.jsx("div", { className: S, style: E, ...d });
6773
+ return a && (E.width = typeof a == "number" ? `${a}px` : a), l && (E.height = typeof l == "number" ? `${l}px` : l), /* @__PURE__ */ g.jsx("div", { className: R, style: E, ...d });
6774
6774
  }
6775
- const h = !!i, p = !!s, f = !!t, m = typeof i == "object" ? i : {}, v = typeof s == "object" ? s : {}, C = typeof t == "object" ? t : {}, w = nR(m.size), b = m.shape ?? Pu.Circle, x = v.width ?? "38%", y = C.rows ?? 3, F = C.width, R = (S) => F ? Array.isArray(F) ? F[S] ?? "100%" : F : S === y - 1 ? "61%" : "100%";
6775
+ const h = !!i, p = !!s, f = !!t, m = typeof i == "object" ? i : {}, v = typeof s == "object" ? s : {}, C = typeof t == "object" ? t : {}, w = nR(m.size), b = m.shape ?? Pu.Circle, x = v.width ?? "38%", y = C.rows ?? 3, F = C.width, S = (R) => F ? Array.isArray(F) ? F[R] ?? "100%" : F : R === y - 1 ? "61%" : "100%";
6776
6776
  return /* @__PURE__ */ g.jsxs("div", { ...d, className: oe("flex gap-4", c), children: [
6777
6777
  h && /* @__PURE__ */ g.jsx(
6778
6778
  "div",
@@ -6793,11 +6793,11 @@ const nR = (e) => {
6793
6793
  style: { width: x }
6794
6794
  }
6795
6795
  ),
6796
- f && /* @__PURE__ */ g.jsx("div", { className: "flex flex-col gap-3", children: Array.from({ length: y }).map((S, E) => /* @__PURE__ */ g.jsx(
6796
+ f && /* @__PURE__ */ g.jsx("div", { className: "flex flex-col gap-3", children: Array.from({ length: y }).map((R, E) => /* @__PURE__ */ g.jsx(
6797
6797
  "div",
6798
6798
  {
6799
6799
  className: oe(u, "h-4 rounded"),
6800
- style: { width: R(E) }
6800
+ style: { width: S(E) }
6801
6801
  },
6802
6802
  E
6803
6803
  )) })
@@ -13737,7 +13737,7 @@ var NE = 0, kd = class extends j {
13737
13737
  let u, h, p = 0;
13738
13738
  this.invalidateVerticalScroll();
13739
13739
  do {
13740
- const { stickyTopHeight: f, stickyBottomHeight: m } = c, v = d.rowTop, C = d.rowHeight, w = r.getPixelOffset(), b = d.rowTop - w, x = b + d.rowHeight, y = this.getVScrollPosition(), F = a.divStretchOffset, R = y.top + F, S = y.bottom + F, E = S - R, T = a.getScrollPositionForPixel(b), P = a.getScrollPositionForPixel(x - E), A = Math.min((T + P) / 2, b), H = R + f > b, Y = S - m < x;
13740
+ const { stickyTopHeight: f, stickyBottomHeight: m } = c, v = d.rowTop, C = d.rowHeight, w = r.getPixelOffset(), b = d.rowTop - w, x = b + d.rowHeight, y = this.getVScrollPosition(), F = a.divStretchOffset, S = y.top + F, R = y.bottom + F, E = R - S, T = a.getScrollPositionForPixel(b), P = a.getScrollPositionForPixel(x - E), A = Math.min((T + P) / 2, b), H = S + f > b, Y = R - m < x;
13741
13741
  let N = null;
13742
13742
  t === "top" ? N = T - f : t === "bottom" ? N = P + m : t === "middle" ? N = A : H ? N = T - f : Y && (P - T > E ? N = T - f : N = P + m), N !== null && (this.setVerticalScrollPosition(N), l.redraw({ afterScroll: !0 })), u = v !== d.rowTop || C !== d.rowHeight, h = f !== c.stickyTopHeight || m !== c.stickyBottomHeight, p++;
13743
13743
  } while ((u || h) && p < 10);
@@ -17818,20 +17818,20 @@ var TD = class extends j {
17818
17818
  v = !1;
17819
17819
  const w = [];
17820
17820
  let b = 0, x = u;
17821
- h.forEach((F, R) => {
17821
+ h.forEach((F, S) => {
17822
17822
  if (m[F.getId()])
17823
17823
  x -= f[F.getId()];
17824
17824
  else {
17825
17825
  w.push(F);
17826
- const E = p[R];
17826
+ const E = p[S];
17827
17827
  b += E;
17828
17828
  }
17829
17829
  });
17830
17830
  const y = 1 / b;
17831
- w.forEach((F, R) => {
17832
- const S = R === w.length - 1;
17831
+ w.forEach((F, S) => {
17832
+ const R = S === w.length - 1;
17833
17833
  let E;
17834
- S ? E = x : (E = Math.round(p[R] * u * y), x -= E);
17834
+ R ? E = x : (E = Math.round(p[S] * u * y), x -= E);
17835
17835
  const T = F.getMinWidth(), P = F.getMaxWidth();
17836
17836
  E < T ? (E = T, m[F.getId()] = !0, v = !0) : P > 0 && E > P && (E = P, m[F.getId()] = !0, v = !0), f[F.getId()] = E;
17837
17837
  });
@@ -18683,7 +18683,7 @@ function Ri(e, t, i) {
18683
18683
  return !1;
18684
18684
  if (t?.state && !t.state.forEach)
18685
18685
  return q(32), !1;
18686
- const C = (y, F, R, S, E) => {
18686
+ const C = (y, F, S, R, E) => {
18687
18687
  if (!y)
18688
18688
  return;
18689
18689
  const T = K3(F, t.defaultState), P = T("flex").value1, A = T("sort").value1, H = T("sortType").value1, Y = Es(A) || gp(H), N = ns(H), V = wc(A), _ = Y ? { type: N, direction: V } : void 0;
@@ -18703,9 +18703,9 @@ function Ri(e, t, i) {
18703
18703
  ne != null && U >= ne && y.setActualWidth(U, i);
18704
18704
  }
18705
18705
  }
18706
- E || !y.isPrimary() || (h?.syncColumnWithState(y, i, T), n?.syncColumnWithState(y, i, T, R), o?.syncColumnWithState(y, i, T, S));
18707
- }, w = (y, F, R) => {
18708
- const S = Ow(e, i), E = F.slice(), T = {}, P = {}, A = [], H = [], Y = [];
18706
+ E || !y.isPrimary() || (h?.syncColumnWithState(y, i, T), n?.syncColumnWithState(y, i, T, S), o?.syncColumnWithState(y, i, T, R));
18707
+ }, w = (y, F, S) => {
18708
+ const R = Ow(e, i), E = F.slice(), T = {}, P = {}, A = [], H = [], Y = [];
18709
18709
  let N = 0;
18710
18710
  const V = n?.columns.slice() ?? [], _ = o?.columns.slice() ?? [];
18711
18711
  for (const L of y) {
@@ -18718,7 +18718,7 @@ function Ri(e, t, i) {
18718
18718
  H.push(L), Y.push(L);
18719
18719
  continue;
18720
18720
  }
18721
- const K = R(I);
18721
+ const K = S(I);
18722
18722
  K ? (C(K, L, T, P, !1), zi(E, K)) : (Y.push(L), N += 1);
18723
18723
  }
18724
18724
  const U = (L) => C(L, null, T, P, !1);
@@ -18741,7 +18741,7 @@ function Ri(e, t, i) {
18741
18741
  ), XD(t, s, f), c.refresh(i), p.dispatchEvent({
18742
18742
  type: "columnEverythingChanged",
18743
18743
  source: i
18744
- }), S(), { unmatchedAndAutoStates: Y, unmatchedCount: N };
18744
+ }), R(), { unmatchedAndAutoStates: Y, unmatchedCount: N };
18745
18745
  };
18746
18746
  l?.start();
18747
18747
  let { unmatchedAndAutoStates: b, unmatchedCount: x } = w(
@@ -18782,12 +18782,12 @@ function Ow(e, t) {
18782
18782
  for (const u of c)
18783
18783
  d[u.colId] = u;
18784
18784
  return () => {
18785
- const u = (F, R, S, E) => {
18786
- const T = R.map(E), P = S.map(E);
18785
+ const u = (F, S, R, E) => {
18786
+ const T = S.map(E), P = R.map(E);
18787
18787
  if (Ns(T, P))
18788
18788
  return;
18789
- const H = new Set(R);
18790
- for (const N of S)
18789
+ const H = new Set(S);
18790
+ for (const N of R)
18791
18791
  H.delete(N) || H.add(N);
18792
18792
  const Y = [...H];
18793
18793
  a.dispatchEvent({
@@ -18797,11 +18797,11 @@ function Ow(e, t) {
18797
18797
  source: t
18798
18798
  });
18799
18799
  }, h = (F) => {
18800
- const R = [];
18801
- return o.forAllCols((S) => {
18802
- const E = d[S.getColId()];
18803
- E && F(E, S) && R.push(S);
18804
- }), R;
18800
+ const S = [];
18801
+ return o.forAllCols((R) => {
18802
+ const E = d[R.getColId()];
18803
+ E && F(E, R) && S.push(R);
18804
+ }), S;
18805
18805
  }, p = (F) => F.getColId();
18806
18806
  u(
18807
18807
  "columnRowGroupChanged",
@@ -18814,15 +18814,15 @@ function Ow(e, t) {
18814
18814
  s?.columns ?? [],
18815
18815
  p
18816
18816
  );
18817
- const m = h((F, R) => {
18818
- const S = F.aggFunc != null, E = S != R.isValueActive(), T = S && F.aggFunc != R.getAggFunc();
18817
+ const m = h((F, S) => {
18818
+ const R = F.aggFunc != null, E = R != S.isValueActive(), T = R && F.aggFunc != S.getAggFunc();
18819
18819
  return E || T;
18820
18820
  });
18821
- m.length > 0 && PD(a, "columnValueChanged", m, t), yo(a, h((F, R) => F.width != R.getActualWidth()), !0, t), Aw(a, h((F, R) => F.pinned != R.getPinned()), t), DD(a, h((F, R) => F.hide == R.isVisible()), t);
18822
- const x = h((F, R) => !rl(R.getSortDef(), {
18821
+ m.length > 0 && PD(a, "columnValueChanged", m, t), yo(a, h((F, S) => F.width != S.getActualWidth()), !0, t), Aw(a, h((F, S) => F.pinned != S.getPinned()), t), DD(a, h((F, S) => F.hide == S.isVisible()), t);
18822
+ const x = h((F, S) => !rl(S.getSortDef(), {
18823
18823
  type: ns(F.sortType),
18824
18824
  direction: wc(F.sort)
18825
- }) || F.sortIndex != R.getSortIndex());
18825
+ }) || F.sortIndex != S.getSortIndex());
18826
18826
  x.length > 0 && r?.dispatchSortChangedEvents(t, x);
18827
18827
  const y = Wl(e);
18828
18828
  eP(c, y, t, o, a);
@@ -19777,16 +19777,16 @@ var AP = class extends j {
19777
19777
  if (p(y))
19778
19778
  continue;
19779
19779
  v = y, w += m * (y.flex / d);
19780
- const F = w - C, R = Math.round(F);
19781
- y.targetSize = R, C += R;
19780
+ const F = w - C, S = Math.round(F);
19781
+ y.targetSize = S, C += S;
19782
19782
  }
19783
19783
  v && (v.targetSize += m - C);
19784
19784
  let b = 0;
19785
19785
  for (const y of l) {
19786
19786
  if (p(y))
19787
19787
  continue;
19788
- const F = y.targetSize, R = Math.min(Math.max(F, y.min), y.max);
19789
- b += R - F, y.violationType = R === F ? void 0 : R < F ? "max" : "min", y.targetSize = R;
19788
+ const F = y.targetSize, S = Math.min(Math.max(F, y.min), y.max);
19789
+ b += S - F, y.violationType = S === F ? void 0 : S < F ? "max" : "min", y.targetSize = S;
19790
19790
  }
19791
19791
  const x = b === 0 ? "all" : b > 0 ? "min" : "max";
19792
19792
  for (const y of l)
@@ -25258,7 +25258,7 @@ function _l(e, t = {}) {
25258
25258
  let { rowNode: l } = t;
25259
25259
  return l || (s ? l = mE(e, s, o) : i != null && (l = r.getRow(i))), l ? a.getRowCtrlByNode(l) : void 0;
25260
25260
  }
25261
- function We(e, t = {}) {
25261
+ function je(e, t = {}) {
25262
25262
  const { cellCtrl: i, colId: s, columnId: n, column: o } = t;
25263
25263
  if (i)
25264
25264
  return i;
@@ -25310,7 +25310,7 @@ function PT(e, t, i, s, n, o) {
25310
25310
  t.length === 0 && i?.rowNode && i?.column && wn(e, i, { key: s, event: n, cellStartedEdit: o });
25311
25311
  const { valueSvc: r, editSvc: a, editModelSvc: l } = e, { rowNode: c, column: d } = i ?? {};
25312
25312
  for (const u of t) {
25313
- const { rowNode: h, column: p } = u, f = We(e, u);
25313
+ const { rowNode: h, column: p } = u, f = je(e, u);
25314
25314
  if (!f) {
25315
25315
  if (h && p) {
25316
25316
  const v = r.getValue(p, h, "data"), b = (i?.rowNode === h && i?.column === p && s || void 0) ?? a?.getCellDataValue(u) ?? r.getValueForDisplay({
@@ -25355,7 +25355,7 @@ function TT(e) {
25355
25355
  return t;
25356
25356
  }
25357
25357
  function wn(e, t, i) {
25358
- const { key: s, event: n, cellStartedEdit: o, silent: r } = i ?? {}, { editModelSvc: a, gos: l, userCompFactory: c } = e, d = We(e, t), u = d?.comp?.getCellEditor(), h = u1(e, t, s, o && !r), p = a?.getEdit(t), f = h.value ?? p?.sourceValue;
25358
+ const { key: s, event: n, cellStartedEdit: o, silent: r } = i ?? {}, { editModelSvc: a, gos: l, userCompFactory: c } = e, d = je(e, t), u = d?.comp?.getCellEditor(), h = u1(e, t, s, o && !r), p = a?.getEdit(t), f = h.value ?? p?.sourceValue;
25359
25359
  if (u) {
25360
25360
  a?.setEdit(t, {
25361
25361
  editorValue: So(e, f, !0, t.column),
@@ -25369,14 +25369,14 @@ function wn(e, t, i) {
25369
25369
  const { popupFromSelector: C, popupPositionFromSelector: w } = v, b = C ?? !!m.cellEditorPopup, x = w ?? m.cellEditorPopupPosition;
25370
25370
  if (h1(v.params, n), !d)
25371
25371
  return;
25372
- const { rangeFeature: y, rowCtrl: F, comp: R, onEditorAttachedFuncs: S } = d;
25372
+ const { rangeFeature: y, rowCtrl: F, comp: S, onEditorAttachedFuncs: R } = d;
25373
25373
  a?.setEdit(t, {
25374
25374
  editorValue: So(e, f, !0, t.column),
25375
25375
  state: "editing",
25376
25376
  // Reset lifecycle flags for this new editor session. Previous sessions may have left
25377
25377
  // cellStartedEditing/cellStoppedEditing set on a reused row node.
25378
25378
  editorState: { cellStartedEditing: void 0, cellStoppedEditing: void 0 }
25379
- }), d.editCompDetails = v, S.push(() => y?.unsetComp()), R?.setEditDetails(v, b, x, l.get("reactiveCustomComponents")), F?.refreshRow({ suppressFlash: !0 }), IT(e, t, n, f, r);
25379
+ }), d.editCompDetails = v, R.push(() => y?.unsetComp()), S?.setEditDetails(v, b, x, l.get("reactiveCustomComponents")), F?.refreshRow({ suppressFlash: !0 }), IT(e, t, n, f, r);
25380
25380
  }
25381
25381
  function IT(e, t, i, s, n) {
25382
25382
  const { editSvc: o, editModelSvc: r } = e, a = r?.getEdit(t);
@@ -25397,7 +25397,7 @@ function d1(e, t, i) {
25397
25397
  };
25398
25398
  }
25399
25399
  function u1(e, t, i, s) {
25400
- const { valueSvc: n, gos: o, editSvc: r } = e, a = e.gos.get("enableGroupEdit"), l = We(e, t), c = t.rowNode?.rowIndex ?? void 0, d = r?.isBatchEditing(), u = e.colModel.getCol(t.column.getId()), { rowNode: h, column: p } = t, f = l.comp?.getCellEditor(), m = r?.getCellDataValue(t), v = m === void 0 ? f ? d1(e, f)?.editorValue : void 0 : m, C = v === xt ? n.getValueForDisplay({ column: u, node: h, from: "edit" })?.value : v;
25400
+ const { valueSvc: n, gos: o, editSvc: r } = e, a = e.gos.get("enableGroupEdit"), l = je(e, t), c = t.rowNode?.rowIndex ?? void 0, d = r?.isBatchEditing(), u = e.colModel.getCol(t.column.getId()), { rowNode: h, column: p } = t, f = l.comp?.getCellEditor(), m = r?.getCellDataValue(t), v = m === void 0 ? f ? d1(e, f)?.editorValue : void 0 : m, C = v === xt ? n.getValueForDisplay({ column: u, node: h, from: "edit" })?.value : v;
25401
25401
  let w = a ? v : C;
25402
25402
  return p.isAllowFormula() && e.formula?.isFormula(w) && (w = e.formula?.normaliseFormula(w, !0) ?? w), Re(o, {
25403
25403
  value: w,
@@ -25440,7 +25440,7 @@ function h1(e, t) {
25440
25440
  }
25441
25441
  function Ss(e, t) {
25442
25442
  for (const i of e.editModelSvc?.getEditPositions() ?? []) {
25443
- const s = We(e, i);
25443
+ const s = je(e, i);
25444
25444
  if (!s)
25445
25445
  continue;
25446
25446
  const n = s.comp?.getCellEditor();
@@ -25488,7 +25488,7 @@ function bs(e, t, i = {}) {
25488
25488
  for (const s of t)
25489
25489
  Or(e, s, i);
25490
25490
  }
25491
- function Or(e, t, i, s = We(e, t)) {
25491
+ function Or(e, t, i, s = je(e, t)) {
25492
25492
  const n = e.editModelSvc, o = n?.getEdit(t);
25493
25493
  let r;
25494
25494
  if (o && o.state !== "editing" && o.editorState?.cellStoppedEditing ? r = o.state : r = "changed", !s) {
@@ -25935,8 +25935,8 @@ var VT = class extends j {
25935
25935
  e.preventDefault();
25936
25936
  const b = l.getFocusedCell();
25937
25937
  if (b) {
25938
- const { column: x, rowIndex: y, rowPinned: F } = b, R = !!d?.isRangeSelectionEnabledWhileEditing?.();
25939
- d?.isEditing(b) && !R && d?.stopEditing(b), R || l.setFocusedCell({
25938
+ const { column: x, rowIndex: y, rowPinned: F } = b, S = !!d?.isRangeSelectionEnabledWhileEditing?.();
25939
+ d?.isEditing(b) && !S && d?.stopEditing(b), S || l.setFocusedCell({
25940
25940
  column: x,
25941
25941
  rowIndex: y,
25942
25942
  rowPinned: F,
@@ -29350,8 +29350,8 @@ var FI = ".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.a
29350
29350
  const d = this.getRowBufferInPixels(), u = this.ctrlsSvc.getScrollFeature(), h = this.gos.get("suppressRowVirtualisation");
29351
29351
  let p = !1, f, m;
29352
29352
  do {
29353
- const x = t.getPixelOffset(), { pageFirstPixel: y, pageLastPixel: F } = t.getCurrentPagePixelRange(), R = e.divStretchOffset, S = u.getVScrollPosition(), E = S.top, T = S.bottom;
29354
- h ? (f = y + R, m = F + R) : (f = Math.max(E + x - d, y) + R, m = Math.min(T + x + d, F) + R), this.firstVisibleVPixel = Math.max(E + x, y) + R, this.lastVisibleVPixel = Math.min(T + x, F) + R, p = this.ensureAllRowsInRangeHaveHeightsCalculated(f, m);
29353
+ const x = t.getPixelOffset(), { pageFirstPixel: y, pageLastPixel: F } = t.getCurrentPagePixelRange(), S = e.divStretchOffset, R = u.getVScrollPosition(), E = R.top, T = R.bottom;
29354
+ h ? (f = y + S, m = F + S) : (f = Math.max(E + x - d, y) + S, m = Math.min(T + x + d, F) + S), this.firstVisibleVPixel = Math.max(E + x, y) + S, this.lastVisibleVPixel = Math.min(T + x, F) + S, p = this.ensureAllRowsInRangeHaveHeightsCalculated(f, m);
29355
29355
  } while (p);
29356
29356
  let v = i.getRowIndexAtPixel(f), C = i.getRowIndexAtPixel(m);
29357
29357
  const w = t.getFirstRow(), b = t.getLastRow();
@@ -31327,11 +31327,11 @@ function g8(e, t = !1) {
31327
31327
  pivot: x,
31328
31328
  pivotIndex: y,
31329
31329
  pinned: F,
31330
- hide: R,
31331
- width: S,
31330
+ hide: S,
31331
+ width: R,
31332
31332
  flex: E
31333
31333
  } = e[h];
31334
- d.push(p), f && (i[v ?? u++] = { colId: p, sort: f, type: m }), C && (s[w ?? 0] = p), typeof b == "string" && n.push({ colId: p, aggFunc: b }), x && (o[y ?? 0] = p), F && (F === "right" ? a : r).push(p), R && l.push(p), (E != null || S) && c.push({ colId: p, flex: E ?? void 0, width: S === null ? void 0 : S });
31334
+ d.push(p), f && (i[v ?? u++] = { colId: p, sort: f, type: m }), C && (s[w ?? 0] = p), typeof b == "string" && n.push({ colId: p, aggFunc: b }), x && (o[y ?? 0] = p), F && (F === "right" ? a : r).push(p), S && l.push(p), (E != null || R) && c.push({ colId: p, flex: E ?? void 0, width: R === null ? void 0 : R });
31335
31335
  }
31336
31336
  return {
31337
31337
  sort: i.length ? { sortModel: Qd(i) } : void 0,
@@ -31715,14 +31715,14 @@ var G8 = {
31715
31715
  const F = w[x];
31716
31716
  if (!F)
31717
31717
  continue;
31718
- let R = this.getRowNode(n({ data: F, level: b }));
31719
- if (R ? (f(R, F), p || (p = !!d && R.treeParent !== C)) : (R = this.createRowNode(F, b), r.add(R)), !d || l.has(R)) {
31720
- l.add(R);
31718
+ let S = this.getRowNode(n({ data: F, level: b }));
31719
+ if (S ? (f(S, F), p || (p = !!d && S.treeParent !== C)) : (S = this.createRowNode(F, b), r.add(S)), !d || l.has(S)) {
31720
+ l.add(S);
31721
31721
  continue;
31722
31722
  }
31723
- l.add(R), R.treeParent = C;
31724
- const S = d(F);
31725
- S && m(R, S, b + 1);
31723
+ l.add(S), S.treeParent = C;
31724
+ const R = d(F);
31725
+ R && m(S, R, b + 1);
31726
31726
  }
31727
31727
  };
31728
31728
  m(i, t, 0);
@@ -32016,8 +32016,8 @@ var q8 = class extends j {
32016
32016
  if (x) {
32017
32017
  let F = !1;
32018
32018
  if (h) {
32019
- const R = w.level + 1;
32020
- R < h.length && (F = h[R].wasSortExplicitlyRemoved);
32019
+ const S = w.level + 1;
32020
+ S < h.length && (F = h[S].wasSortExplicitlyRemoved);
32021
32021
  }
32022
32022
  F || (y = J8(w));
32023
32023
  } else !i.length || b || (s && t ? y = Y8(a, w, t, e, i) : y = a.doFullSortInPlace(
@@ -32810,17 +32810,17 @@ var mM = class extends j {
32810
32810
  for (const F of s) {
32811
32811
  if (!F || U3(F))
32812
32812
  continue;
32813
- const R = p.getCol(F);
32814
- if (!R || v.has(R) || R.getColDef().suppressAutoSize)
32813
+ const S = p.getCol(F);
32814
+ if (!S || v.has(S) || S.getColDef().suppressAutoSize)
32815
32815
  continue;
32816
- const S = f.getPreferredWidthForColumn(R, b);
32817
- if (S > 0) {
32818
- const E = w[R.colId] ?? {};
32816
+ const R = f.getPreferredWidthForColumn(S, b);
32817
+ if (R > 0) {
32818
+ const E = w[S.colId] ?? {};
32819
32819
  E.minWidth ?? (E.minWidth = l), E.maxWidth ?? (E.maxWidth = a);
32820
- const T = vM(R, S, E);
32821
- R.setActualWidth(T, d), v.add(R), C++;
32820
+ const T = vM(S, R, E);
32821
+ S.setActualWidth(T, d), v.add(S), C++;
32822
32822
  }
32823
- y.push(R);
32823
+ y.push(S);
32824
32824
  }
32825
32825
  y.length && m.refresh(d);
32826
32826
  }
@@ -32943,7 +32943,7 @@ var mM = class extends j {
32943
32943
  const w = C / Zi(d);
32944
32944
  let b = C;
32945
32945
  for (let x = d.length - 1; x >= 0; x--) {
32946
- const y = d[x], F = y.getColId(), R = m[F], S = r?.[F], E = S?.minWidth ?? s?.defaultMinWidth ?? R, T = S?.maxWidth ?? s?.defaultMaxWidth, P = Math.max(E ?? -1 / 0, y.getMinWidth()), A = Math.min(T ?? 1 / 0, y.getMaxWidth());
32946
+ const y = d[x], F = y.getColId(), S = m[F], R = r?.[F], E = R?.minWidth ?? s?.defaultMinWidth ?? S, T = R?.maxWidth ?? s?.defaultMaxWidth, P = Math.max(E ?? -1 / 0, y.getMinWidth()), A = Math.min(T ?? 1 / 0, y.getMaxWidth());
32947
32947
  let H = Math.round(y.getActualWidth() * w);
32948
32948
  H < P ? (H = P, f(y), p = !1) : H > A ? (H = A, f(y), p = !1) : x === 0 && (H = b), y.setActualWidth(H, t, !0), b -= H;
32949
32949
  }
@@ -35778,7 +35778,7 @@ function Ak(e, t = !1) {
35778
35778
  i?.stopEditing(void 0, { cancel: t, source: "edit", forceStop: !t, forceCancel: t });
35779
35779
  }
35780
35780
  function Lk(e, t) {
35781
- const i = We(e, t);
35781
+ const i = je(e, t);
35782
35782
  return !!e.editSvc?.isEditing(i);
35783
35783
  }
35784
35784
  function Ok(e, t) {
@@ -36038,7 +36038,7 @@ var _k = class extends j {
36038
36038
  const { startedEdit: i = !0, event: s = null, source: n = "ui", ignoreEventKey: o = !1, silent: r } = t;
36039
36039
  if (this.strategy ?? (this.strategy = this.createStrategy()), !(t.editable ?? this.isCellEditable(e, "api")))
36040
36040
  return;
36041
- const l = We(this.beans, e);
36041
+ const l = je(this.beans, e);
36042
36042
  if (l && !l.comp) {
36043
36043
  t.editable = void 0, l.onCompAttachedFuncs.push(() => this.startEditing(e, t));
36044
36044
  return;
@@ -36090,7 +36090,7 @@ var _k = class extends j {
36090
36090
  const l = this.committing ? O1[n] : n;
36091
36091
  if (!(this.committing || this.isEditing(e) || this.batch && this.model.hasEdits(e, Ks)) || !this.strategy || this.stopping)
36092
36092
  return null;
36093
- const d = We(this.beans, e);
36093
+ const d = je(this.beans, e);
36094
36094
  d && (d.onEditorAttachedFuncs = []);
36095
36095
  const u = !s && (!!this.shouldStopEditing(e, i, l) || (this.committing || n === "paste") && !this.batch) || r, h = s && !!this.shouldCancelEditing(e, i, l) || o;
36096
36096
  return {
@@ -36124,7 +36124,7 @@ var _k = class extends j {
36124
36124
  i.clearEditValue(f);
36125
36125
  this.bulkRefreshMap(o);
36126
36126
  for (const f of i.getEditPositions(u)) {
36127
- const m = We(t, f), v = yi(f);
36127
+ const m = je(t, f), v = yi(f);
36128
36128
  m?.refreshCell({ force: !0, suppressFlash: !v });
36129
36129
  }
36130
36130
  return { res: c, edits: u };
@@ -36141,7 +36141,7 @@ var _k = class extends j {
36141
36141
  const { rowNode: u, column: h } = o;
36142
36142
  if (this.batch && u && h) {
36143
36143
  const p = { rowNode: u, column: h };
36144
- bs(s, [p], { silent: !0 }), this.model.stop(p, !0, !0), We(s, p)?.refreshCell(vs);
36144
+ bs(s, [p], { silent: !0 }), this.model.stop(p, !0, !0), je(s, p)?.refreshCell(vs);
36145
36145
  } else
36146
36146
  this.revertSingleCellEdit(o);
36147
36147
  }
@@ -36198,7 +36198,7 @@ var _k = class extends j {
36198
36198
  for (const l of a.keys()) {
36199
36199
  const c = a.get(l), d = { rowNode: r, column: l };
36200
36200
  if (yi(c) && !s) {
36201
- const u = We(this.beans, d);
36201
+ const u = je(this.beans, d);
36202
36202
  this.setNodeDataValue(
36203
36203
  r,
36204
36204
  l,
@@ -36297,9 +36297,9 @@ var _k = class extends j {
36297
36297
  for (const u of r)
36298
36298
  this.dispatchEditValuesChanged({ rowNode: u, column: t }, i);
36299
36299
  for (const u of r)
36300
- We(n, { rowNode: u, column: t })?.refreshCell(s);
36300
+ je(n, { rowNode: u, column: t })?.refreshCell(s);
36301
36301
  for (const u of a) {
36302
- const h = We(n, { rowNode: u, column: t });
36302
+ const h = je(n, { rowNode: u, column: t });
36303
36303
  h && (h.refreshCell(s), !s.force && this.batch && h.editStyleFeature?.applyCellStyles?.());
36304
36304
  }
36305
36305
  }
@@ -36323,18 +36323,18 @@ var _k = class extends j {
36323
36323
  }
36324
36324
  checkNavWithValidation(e, t, i = !0) {
36325
36325
  if (this.hasValidationErrors(e)) {
36326
- const s = We(this.beans, e);
36326
+ const s = je(this.beans, e);
36327
36327
  return this.cellEditingInvalidCommitBlocks() ? (t?.preventDefault?.(), i && (s && !s.hasBrowserFocus() && s.focusCell(), s?.comp?.getCellEditor()?.focusIn?.()), "block-stop") : (s && this.revertSingleCellEdit(s), "revert-continue");
36328
36328
  }
36329
36329
  return "continue";
36330
36330
  }
36331
36331
  revertSingleCellEdit(e, t = !1) {
36332
- const i = We(this.beans, e);
36332
+ const i = je(this.beans, e);
36333
36333
  i?.comp?.getCellEditor() && (bs(this.beans, [e], { silent: !0 }), this.model.clearEditValue(e), wn(this.beans, e, { silent: !0 }), Ds(this.beans), i?.refreshCell(vs), t && (i?.focusCell(), i?.comp?.getCellEditor()?.focusIn?.()));
36334
36334
  }
36335
36335
  hasValidationErrors(e) {
36336
36336
  Ds(this.beans);
36337
- const t = We(this.beans, e);
36337
+ const t = je(this.beans, e);
36338
36338
  t && (t.refreshCell(vs), t.rowCtrl.rowEditStyleFeature?.applyRowStyles());
36339
36339
  let i = !1;
36340
36340
  return e?.rowNode ? (i || (i = this.model.getRowValidationModel().hasRowValidation({ rowNode: e.rowNode })), e.column && (i || (i = this.model.getCellValidationModel().hasCellValidation({ rowNode: e.rowNode, column: e.column })))) : (i || (i = this.model.getCellValidationModel().getCellValidationMap().size > 0), i || (i = this.model.getRowValidationModel().getRowValidationMap().size > 0)), i;
@@ -36388,7 +36388,7 @@ var _k = class extends j {
36388
36388
  if (!t)
36389
36389
  return !1;
36390
36390
  const { pendingValue: i, sourceValue: s, state: n } = t;
36391
- return i === s || n === "editing" ? !1 : (this.dispatchEditValuesChanged(e, { ...t, pendingValue: s }), this.beans.editModelSvc?.removeEdits(e), We(this.beans, e)?.refreshCell(vs), !0);
36391
+ return i === s || n === "editing" ? !1 : (this.dispatchEditValuesChanged(e, { ...t, pendingValue: s }), this.beans.editModelSvc?.removeEdits(e), je(this.beans, e)?.refreshCell(vs), !0);
36392
36392
  }
36393
36393
  /**
36394
36394
  * Applies a data value change to a cell, handling batch editing, undo/redo, paste, and range operations.
@@ -36437,17 +36437,17 @@ var _k = class extends j {
36437
36437
  * Returns true if an editor was open and updated, false otherwise.
36438
36438
  */
36439
36439
  applyEditorValue(e, t) {
36440
- const i = this.beans, s = We(i, e), n = s?.comp?.getCellEditor();
36440
+ const i = this.beans, s = je(i, e), n = s?.comp?.getCellEditor();
36441
36441
  return !s || !n ? !1 : (qn(i, e, t, "edit", void 0, { persist: !0 }), s.editStyleFeature?.applyCellStyles?.(), "agSetEditValue" in n ? (n.agSetEditValue(t), !0) : n.refresh && s.editCompDetails ? (n.refresh({ ...s.editCompDetails.params, value: t }), !0) : (s.hasBrowserFocus() && s.onEditorAttachedFuncs.push(() => {
36442
- const r = We(this.beans, e);
36442
+ const r = je(this.beans, e);
36443
36443
  r?.focusCell(!0), r?.comp?.getCellEditor()?.focusIn?.();
36444
- }), bs(i, [e], { silent: !0, cancel: !0 }), wn(i, e, { silent: !0 }), Ds(i), We(i, e)?.refreshCell(vs), !0));
36444
+ }), bs(i, [e], { silent: !0, cancel: !0 }), wn(i, e, { silent: !0 }), Ds(i), je(i, e)?.refreshCell(vs), !0));
36445
36445
  }
36446
36446
  /** editApi or undoRedoApi apply change without involving the editor. */
36447
36447
  applyDirectValue(e, t, i) {
36448
36448
  const s = this.beans;
36449
36449
  if (this.batch) {
36450
- if (i === "batch" && We(s, e)?.comp?.getCellEditor()) {
36450
+ if (i === "batch" && je(s, e)?.comp?.getCellEditor()) {
36451
36451
  const { editModelSvc: r, valueSvc: a } = s, { rowNode: l, column: c } = e;
36452
36452
  r?.getEdit(e)?.sourceValue === void 0 && r?.setEdit(e, {
36453
36453
  sourceValue: a.getValue(c, l, "data")
@@ -36457,8 +36457,8 @@ var _k = class extends j {
36457
36457
  return hr(s), this.ensureBatchStarted(), this.bulkRefreshCell(e), !0;
36458
36458
  }
36459
36459
  qn(s, e, t, i, void 0, { persist: !0 });
36460
- const n = We(s, e), o = this.setNodeDataValue(e.rowNode, e.column, t, n, i);
36461
- return this.syncEditAfterCommit(e, o), hr(s), We(s, e)?.refreshCell(o ? e7 : vs), o;
36460
+ const n = je(s, e), o = this.setNodeDataValue(e.rowNode, e.column, t, n, i);
36461
+ return this.syncEditAfterCommit(e, o), hr(s), je(s, e)?.refreshCell(o ? e7 : vs), o;
36462
36462
  }
36463
36463
  handleColDefChanged(e) {
36464
36464
  MT(this.beans, e);
@@ -36557,7 +36557,7 @@ var _k = class extends j {
36557
36557
  this.committing = !1, c && this.eventSvc.dispatchEvent({ type: "bulkEditingStopped", changes: this.toEventChangeList(a) });
36558
36558
  }
36559
36559
  });
36560
- const u = We(s, { rowNode: e, column: t });
36560
+ const u = je(s, { rowNode: e, column: t });
36561
36561
  u && u.focusCell(!0);
36562
36562
  }
36563
36563
  createCellStyleFeature(e) {
@@ -36593,7 +36593,7 @@ var _k = class extends j {
36593
36593
  this.setEditMap(o, t);
36594
36594
  }
36595
36595
  onCellFocused(e) {
36596
- const t = We(this.beans, e);
36596
+ const t = je(this.beans, e);
36597
36597
  if (!t || !this.isEditing(t, Ks))
36598
36598
  return;
36599
36599
  const i = this.model.getEdit(t);
@@ -36603,7 +36603,7 @@ var _k = class extends j {
36603
36603
  this.beans.ariaAnnounce?.announceValue(n, "pendingChange");
36604
36604
  }
36605
36605
  allowedFocusTargetOnValidation(e) {
36606
- return We(this.beans, e);
36606
+ return je(this.beans, e);
36607
36607
  }
36608
36608
  };
36609
36609
  function i7(e) {
@@ -36628,7 +36628,7 @@ var N1 = class extends j {
36628
36628
  onCellFocusChanged(e) {
36629
36629
  let t;
36630
36630
  const i = e.previousParams, { editSvc: s, beans: n } = this, o = e.type === "cellFocused" ? e.sourceEvent : null;
36631
- i && (t = We(n, i));
36631
+ i && (t = je(n, i));
36632
36632
  const { gos: r, editModelSvc: a } = n, l = e.type === "cellFocusCleared";
36633
36633
  if (s.isEditing(void 0, { withOpenEditor: !0 })) {
36634
36634
  const { column: c, rowIndex: d, rowPinned: u } = e, h = {
@@ -36649,7 +36649,7 @@ var N1 = class extends j {
36649
36649
  stopCancelled(e) {
36650
36650
  const t = this.editSvc.isBatchEditing() && !e;
36651
36651
  for (const i of this.model.getEditPositions())
36652
- Or(this.beans, i, { cancel: !0 }, We(this.beans, i)), this.model.stop(i, t, !0);
36652
+ Or(this.beans, i, { cancel: !0 }, je(this.beans, i)), this.model.stop(i, t, !0);
36653
36653
  return !0;
36654
36654
  }
36655
36655
  stopCommitted(e, t) {
@@ -36658,9 +36658,9 @@ var N1 = class extends j {
36658
36658
  s.all.push(r), (this.model.getCellValidationModel().getCellValidation(r)?.errorMessages?.length ?? 0) > 0 ? s.fail.push(r) : s.pass.push(r);
36659
36659
  const n = this.processValidationResults(s), o = this.editSvc.isBatchEditing() && !t;
36660
36660
  for (const r of n.destroy)
36661
- Or(this.beans, r, { event: e }, We(this.beans, r)), this.model.stop(r, o, !1);
36661
+ Or(this.beans, r, { event: e }, je(this.beans, r)), this.model.stop(r, o, !1);
36662
36662
  for (const r of n.keep) {
36663
- const a = We(this.beans, r);
36663
+ const a = je(this.beans, r);
36664
36664
  !this.editSvc.cellEditingInvalidCommitBlocks() && a && this.editSvc.revertSingleCellEdit(a);
36665
36665
  }
36666
36666
  return !0;
@@ -36693,7 +36693,7 @@ var N1 = class extends j {
36693
36693
  PT(this.beans, o, n, r, t, s);
36694
36694
  }
36695
36695
  dispatchCellEvent(e, t, i, s) {
36696
- const n = We(this.beans, e);
36696
+ const n = je(this.beans, e);
36697
36697
  n && this.eventSvc.dispatchEvent({ ...n.createEvent(t ?? null, i), ...s });
36698
36698
  }
36699
36699
  dispatchRowEvent(e, t, i) {
@@ -36720,7 +36720,7 @@ var N1 = class extends j {
36720
36720
  }), t?.update && (e = new Map([...this.model.getEditMap(), ...e])), this.model?.setEditMap(e), i.length > 0) {
36721
36721
  const s = i.at(-1), n = s.pendingValue === xt ? void 0 : s.pendingValue;
36722
36722
  this.start({ position: s, event: new KeyboardEvent("keydown", { key: n }), source: "api" });
36723
- const o = We(this.beans, s);
36723
+ const o = je(this.beans, s);
36724
36724
  o && this.setFocusInOnEditor(o);
36725
36725
  }
36726
36726
  }
@@ -36802,7 +36802,7 @@ var N1 = class extends j {
36802
36802
  const { beans: s, gos: n, model: o } = this;
36803
36803
  if (s.editSvc?.isRangeSelectionEnabledWhileEditing())
36804
36804
  return;
36805
- const r = We(s, i);
36805
+ const r = je(s, i);
36806
36806
  n.get("invalidEditValueMode") === "block" && r && (o.getCellValidationModel().getCellValidation(r) || o.getRowValidationModel().getRowValidation(r)) || super.onCellFocusChanged(e);
36807
36807
  }
36808
36808
  cleanupEditors(e = {}, t) {
@@ -36864,7 +36864,7 @@ var N1 = class extends j {
36864
36864
  (i, s) => i.forEach(({ state: n }, o) => {
36865
36865
  if (n !== "editing")
36866
36866
  return;
36867
- const r = We(e, {
36867
+ const r = je(e, {
36868
36868
  rowNode: s,
36869
36869
  column: o
36870
36870
  });
@@ -42242,14 +42242,14 @@ var M9 = class extends j {
42242
42242
  for (const P of c?.hiddenColIds ?? [])
42243
42243
  m(P).hide = !0;
42244
42244
  (F || !i) && (v.hide = null);
42245
- const R = p("columnSizing", d);
42246
- if (R)
42245
+ const S = p("columnSizing", d);
42246
+ if (S)
42247
42247
  for (const { colId: P, flex: A, width: H } of d?.columnSizingModel ?? []) {
42248
42248
  const Y = m(P);
42249
42249
  Y.flex = A ?? null, Y.width = H;
42250
42250
  }
42251
- (R || !i) && (v.flex = null);
42252
- const S = u?.orderedColIds, E = !!S?.length && !s?.has("columnOrder"), T = E ? S.map((P) => m(P)) : Object.values(f);
42251
+ (S || !i) && (v.flex = null);
42252
+ const R = u?.orderedColIds, E = !!R?.length && !s?.has("columnOrder"), T = E ? R.map((P) => m(P)) : Object.values(f);
42253
42253
  (T.length || h) && (this.columnStates = T, Ri(
42254
42254
  this.beans,
42255
42255
  {
@@ -46278,14 +46278,14 @@ function Zl(e, t, i) {
46278
46278
  return s.length === e.length && n.length === 0 ? e : s.length === 0 && n.length === t.length ? t : s.length === 0 ? n : n.length === 0 ? s : [...s, ...n];
46279
46279
  }
46280
46280
  var cb = Sh((e, t) => {
46281
- const { registry: i, context: s } = rt(At), n = B(null), o = B(null), r = B(null), a = B(null), l = B(null), c = B(), [d, u] = M(), [h, p] = M(), [f, m] = M(), [v, C] = M(() => new ui()), [w, b] = M(() => new ui("ag-hidden")), [x, y] = M(() => new ui("ag-hidden")), [F, R] = M(() => new ui("ag-invisible"));
46281
+ const { registry: i, context: s } = rt(At), n = B(null), o = B(null), r = B(null), a = B(null), l = B(null), c = B(), [d, u] = M(), [h, p] = M(), [f, m] = M(), [v, C] = M(() => new ui()), [w, b] = M(() => new ui("ag-hidden")), [x, y] = M(() => new ui("ag-hidden")), [F, S] = M(() => new ui("ag-invisible"));
46282
46282
  zr(t, () => ({
46283
46283
  // force new instance when grid tries to refresh
46284
46284
  refresh() {
46285
46285
  return !1;
46286
46286
  }
46287
46287
  })), hi(() => Xr(d, s, o.current), [d]);
46288
- const S = D((_) => {
46288
+ const R = D((_) => {
46289
46289
  if (n.current = _, !_ || s.isDestroyed()) {
46290
46290
  c.current = s.destroyBean(c.current);
46291
46291
  return;
@@ -46298,8 +46298,8 @@ var cb = Sh((e, t) => {
46298
46298
  toggleCss: (L, I) => C((W) => W.setClass(L, I)),
46299
46299
  setContractedDisplayed: (L) => y((I) => I.setClass("ag-hidden", !L)),
46300
46300
  setExpandedDisplayed: (L) => b((I) => I.setClass("ag-hidden", !L)),
46301
- setCheckboxVisible: (L) => R((I) => I.setClass("ag-invisible", !L)),
46302
- setCheckboxSpacing: (L) => R((I) => I.setClass("ag-group-checkbox-spacing", L))
46301
+ setCheckboxVisible: (L) => S((I) => I.setClass("ag-invisible", !L)),
46302
+ setCheckboxSpacing: (L) => S((I) => I.setClass("ag-group-checkbox-spacing", L))
46303
46303
  }, ne = i.createDynamicBean("groupCellRendererCtrl", !0);
46304
46304
  ne && (c.current = s.createBean(ne), c.current.init(
46305
46305
  U,
@@ -46318,7 +46318,7 @@ var cb = Sh((e, t) => {
46318
46318
  "span",
46319
46319
  {
46320
46320
  className: E,
46321
- ref: S,
46321
+ ref: R,
46322
46322
  ...e.colDef ? {} : { role: c.current?.getCellAriaRole() }
46323
46323
  },
46324
46324
  /* @__PURE__ */ Z.createElement("span", { className: T, ref: a }),
@@ -46828,9 +46828,9 @@ var $O = 1e3, qO = class {
46828
46828
  () => new ui("ag-header-cell", "ag-floating-filter")
46829
46829
  ), [a, l] = M(() => new ui()), [c, d] = M(
46830
46830
  () => new ui("ag-floating-filter-button", "ag-hidden")
46831
- ), [u, h] = M("false"), [p, f] = M(), [, m] = M(1), v = B(), C = B(null), w = B(null), b = B(null), x = B(null), y = B(), F = B(), R = (L) => {
46831
+ ), [u, h] = M("false"), [p, f] = M(), [, m] = M(1), v = B(), C = B(null), w = B(null), b = B(null), x = B(null), y = B(), F = B(), S = (L) => {
46832
46832
  L != null && y.current?.(L);
46833
- }, S = D((L) => {
46833
+ }, R = D((L) => {
46834
46834
  if (C.current = L, !L || !e.isAlive() || t.isDestroyed()) {
46835
46835
  v.current = t.destroyBean(v.current);
46836
46836
  return;
@@ -46855,7 +46855,7 @@ var $O = 1e3, qO = class {
46855
46855
  e.setComp(I, L, x.current, w.current, v.current);
46856
46856
  }, []);
46857
46857
  hi(
46858
- () => Xr(p, t, w.current, R),
46858
+ () => Xr(p, t, w.current, S),
46859
46859
  [p]
46860
46860
  );
46861
46861
  const E = z(() => o.toString(), [o]), T = z(() => a.toString(), [a]), P = z(() => c.toString(), [c]), A = z(() => !!(p && p.componentFromFramework && Lo(p.componentClass)), [p]), H = z(() => i.get("reactiveCustomComponents"), []), Y = z(() => i.get("enableFilterHandlers"), []), [N, V] = M();
@@ -46863,12 +46863,12 @@ var $O = 1e3, qO = class {
46863
46863
  if (p?.componentFromFramework)
46864
46864
  if (H) {
46865
46865
  const L = Y ? XO : BO, I = new L(p.params, () => m((W) => W + 1));
46866
- R(I), V(I);
46866
+ S(I), V(I);
46867
46867
  } else
46868
46868
  hg();
46869
46869
  }, [p]);
46870
46870
  const _ = N?.getProps(), U = p?.componentFromFramework, ne = p?.componentClass;
46871
- return /* @__PURE__ */ Z.createElement("div", { ref: S, style: s, className: E, role: "gridcell" }, /* @__PURE__ */ Z.createElement("div", { ref: w, className: T, role: "presentation" }, U ? H ? _ && /* @__PURE__ */ Z.createElement(
46871
+ return /* @__PURE__ */ Z.createElement("div", { ref: R, style: s, className: E, role: "gridcell" }, /* @__PURE__ */ Z.createElement("div", { ref: w, className: T, role: "presentation" }, U ? H ? _ && /* @__PURE__ */ Z.createElement(
46872
46872
  ug.Provider,
46873
46873
  {
46874
46874
  value: {
@@ -46877,7 +46877,7 @@ var $O = 1e3, qO = class {
46877
46877
  },
46878
46878
  /* @__PURE__ */ Z.createElement(ne, { ..._ })
46879
46879
  ) : /* @__PURE__ */ Z.createElement(ne, { ...p.params, ref: A ? () => {
46880
- } : R }) : null), /* @__PURE__ */ Z.createElement(
46880
+ } : S }) : null), /* @__PURE__ */ Z.createElement(
46881
46881
  "div",
46882
46882
  {
46883
46883
  ref: b,
@@ -46931,8 +46931,8 @@ var $O = 1e3, qO = class {
46931
46931
  const x = z(() => !!(h?.componentFromFramework && Lo(h.componentClass)), [h]), y = z(() => "ag-header-group-cell " + n.toString(), [n]), F = z(
46932
46932
  () => "ag-header-cell-resize " + r.toString(),
46933
46933
  [r]
46934
- ), R = h?.componentFromFramework, S = h?.componentClass;
46935
- return /* @__PURE__ */ Z.createElement("div", { ref: b, style: i, className: y, role: "columnheader", "aria-expanded": d }, /* @__PURE__ */ Z.createElement("div", { ref: C, className: "ag-header-cell-comp-wrapper", role: "presentation" }, R ? x ? /* @__PURE__ */ Z.createElement(S, { ...h.params }) : /* @__PURE__ */ Z.createElement(S, { ...h.params, ref: w }) : null), /* @__PURE__ */ Z.createElement("div", { ref: v, "aria-hidden": l, className: F }));
46934
+ ), S = h?.componentFromFramework, R = h?.componentClass;
46935
+ return /* @__PURE__ */ Z.createElement("div", { ref: b, style: i, className: y, role: "columnheader", "aria-expanded": d }, /* @__PURE__ */ Z.createElement("div", { ref: C, className: "ag-header-cell-comp-wrapper", role: "presentation" }, S ? x ? /* @__PURE__ */ Z.createElement(R, { ...h.params }) : /* @__PURE__ */ Z.createElement(R, { ...h.params, ref: w }) : null), /* @__PURE__ */ Z.createElement("div", { ref: v, "aria-hidden": l, className: F }));
46936
46936
  }, iN = kt(tN), sN = ({ ctrl: e }) => {
46937
46937
  const { gos: t, context: i } = rt(At), { topOffset: s, rowHeight: n } = z(() => e.getTopAndHeight(), []), o = z(() => t.get("tabIndex"), []), [r, a] = M(() => e.getAriaRowIndex()), l = e.headerRowClass, [c, d] = M(() => n + "px"), [u, h] = M(() => s + "px"), p = B(null), [f, m] = M(() => e.getUpdatedHeaderCtrls()), v = B(), C = B(null), w = D((y) => {
46938
46938
  if (C.current = y, !y || !e.isAlive() || i.isDestroyed()) {
@@ -46941,17 +46941,17 @@ var $O = 1e3, qO = class {
46941
46941
  }
46942
46942
  v.current = i.createBean(new Ao());
46943
46943
  const F = {
46944
- setHeight: (R) => d(R),
46945
- setTop: (R) => h(R),
46946
- setHeaderCtrls: (R, S, E) => {
46947
- const T = p.current, P = Zl(T, R, S);
46944
+ setHeight: (S) => d(S),
46945
+ setTop: (S) => h(S),
46946
+ setHeaderCtrls: (S, R, E) => {
46947
+ const T = p.current, P = Zl(T, S, R);
46948
46948
  P !== T && (p.current = P, Nr(E, () => m(P)));
46949
46949
  },
46950
- setWidth: (R) => {
46951
- C.current && (C.current.style.width = R);
46950
+ setWidth: (S) => {
46951
+ C.current && (C.current.style.width = S);
46952
46952
  },
46953
- setRowIndex: (R) => {
46954
- a(R);
46953
+ setRowIndex: (S) => {
46954
+ a(S);
46955
46955
  }
46956
46956
  };
46957
46957
  e.setComp(F, v.current, !1);
@@ -47209,7 +47209,7 @@ var $O = 1e3, qO = class {
47209
47209
  instanceId: r
47210
47210
  } = e, a = B(), [l, c] = M(
47211
47211
  () => e.isCellRenderer() ? void 0 : { compDetails: void 0, value: e.getValueToDisplay(), force: !1 }
47212
- ), [d, u] = M(), [h, p] = M(1), [f, m] = M(), [v, C] = M(!1), [w, b] = M(!1), [x, y] = M(!1), F = B(null), [R, S] = M(), E = z(() => e.isForceWrapper(), [e]), T = z(() => e.getCellAriaRole(), [e]), P = B(null), A = B(null), H = B(null), Y = B(), N = B(), V = B(), _ = B([]), U = B(), ne = B(), [L, I] = M(0), W = D((he) => {
47212
+ ), [d, u] = M(), [h, p] = M(1), [f, m] = M(), [v, C] = M(!1), [w, b] = M(!1), [x, y] = M(!1), F = B(null), [S, R] = M(), E = z(() => e.isForceWrapper(), [e]), T = z(() => e.getCellAriaRole(), [e]), P = B(null), A = B(null), H = B(null), Y = B(), N = B(), V = B(), _ = B([]), U = B(), ne = B(), [L, I] = M(0), W = D((he) => {
47213
47213
  ne.current = he, I((Te) => Te + 1);
47214
47214
  }, []), K = l != null && (v || x || w) && (d == null || !!d.popup), re = E || K, Ce = z(() => e.getCellValueClass(), [e]), G = D(
47215
47215
  (he) => {
@@ -47251,11 +47251,11 @@ var $O = 1e3, qO = class {
47251
47251
  if (!xe)
47252
47252
  return;
47253
47253
  const Ne = xe.getGui();
47254
- G(xe), Me || ((E ? V : P).current?.appendChild(Ne), xe.afterGuiAttached?.()), S(xe);
47254
+ G(xe), Me || ((E ? V : P).current?.appendChild(Ne), xe.afterGuiAttached?.()), R(xe);
47255
47255
  }), () => {
47256
47256
  Pe.then((xe) => {
47257
47257
  const Ne = xe.getGui();
47258
- e.disableEditorTooltipFeature(), n.destroyBean(xe), G(void 0), S(void 0), Ne?.remove();
47258
+ e.disableEditorTooltipFeature(), n.destroyBean(xe), G(void 0), R(void 0), Ne?.remove();
47259
47259
  });
47260
47260
  };
47261
47261
  }, [d]);
@@ -47297,12 +47297,12 @@ var $O = 1e3, qO = class {
47297
47297
  getCellEditor: () => N.current ?? null,
47298
47298
  getCellRenderer: () => H.current ?? Y.current,
47299
47299
  getParentOfValue: () => ne.current ?? V.current ?? P.current,
47300
- setRenderDetails: (xe, Ne, ze) => {
47300
+ setRenderDetails: (xe, Ne, We) => {
47301
47301
  const Vt = () => {
47302
- c((Xe) => Xe?.compDetails !== xe || Xe?.value !== Ne || Xe?.force !== ze ? {
47302
+ c((Xe) => Xe?.compDetails !== xe || Xe?.value !== Ne || Xe?.force !== We ? {
47303
47303
  value: Ne,
47304
47304
  compDetails: xe,
47305
- force: ze
47305
+ force: We
47306
47306
  } : Xe);
47307
47307
  };
47308
47308
  if (xe?.params?.deferRender && !e.rowNode.group) {
@@ -47318,7 +47318,7 @@ var $O = 1e3, qO = class {
47318
47318
  }
47319
47319
  Vt();
47320
47320
  },
47321
- setEditDetails: (xe, Ne, ze, Vt) => {
47321
+ setEditDetails: (xe, Ne, We, Vt) => {
47322
47322
  if (xe) {
47323
47323
  let Xe;
47324
47324
  xe.componentFromFramework && (Vt ? Xe = new cN(
@@ -47327,7 +47327,7 @@ var $O = 1e3, qO = class {
47327
47327
  ) : hg()), u({
47328
47328
  compDetails: xe,
47329
47329
  popup: Ne,
47330
- popupPosition: ze,
47330
+ popupPosition: We,
47331
47331
  compProxy: Xe
47332
47332
  }), Ne || c(void 0);
47333
47333
  } else
@@ -47336,8 +47336,8 @@ var $O = 1e3, qO = class {
47336
47336
  refreshEditStyles: (xe, Ne) => {
47337
47337
  if (!P.current)
47338
47338
  return;
47339
- const { current: ze } = ae;
47340
- ze.toggleCss("ag-cell-value", !re), ze.toggleCss("ag-cell-inline-editing", !!xe && !Ne), ze.toggleCss("ag-cell-popup-editing", !!xe && !!Ne), ze.toggleCss("ag-cell-not-inline-editing", !xe || !!Ne);
47339
+ const { current: We } = ae;
47340
+ We.toggleCss("ag-cell-value", !re), We.toggleCss("ag-cell-inline-editing", !!xe && !Ne), We.toggleCss("ag-cell-popup-editing", !!xe && !!Ne), We.toggleCss("ag-cell-not-inline-editing", !xe || !!Ne);
47341
47341
  }
47342
47342
  }, Pe = V.current || void 0;
47343
47343
  e.setComp(
@@ -47369,14 +47369,14 @@ var $O = 1e3, qO = class {
47369
47369
  return /* @__PURE__ */ Z.createElement(y0, { fallback: /* @__PURE__ */ Z.createElement(fN, { cellCtrl: e, parent: P }) }, ee ? /* @__PURE__ */ Z.createElement(Me, { ...he.params, key: h }) : /* @__PURE__ */ Z.createElement(Me, { ...he.params, key: h, ref: H }));
47370
47370
  }
47371
47371
  }, Fe = () => {
47372
- const he = () => l == null ? null : re ? /* @__PURE__ */ Z.createElement("span", { role: "presentation", id: `cell-${r}`, className: Ce, ref: W }, ue()) : ue(), Te = (Me) => pN(Me, G, P.current, e, R);
47372
+ const he = () => l == null ? null : re ? /* @__PURE__ */ Z.createElement("span", { role: "presentation", id: `cell-${r}`, className: Ce, ref: W }, ue()) : ue(), Te = (Me) => pN(Me, G, P.current, e, S);
47373
47373
  return d != null ? d.popup ? /* @__PURE__ */ Z.createElement(Z.Fragment, null, he(), Te(d)) : Te(d) : he();
47374
47374
  }, be = () => /* @__PURE__ */ Z.createElement("div", { ref: Ae, style: f, role: T, "col-id": o }, re ? /* @__PURE__ */ Z.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: de }, Fe()) : Fe());
47375
47375
  return e.isCellSpanning() ? /* @__PURE__ */ Z.createElement("div", { ref: k, className: "ag-spanned-cell-wrapper", role: "presentation" }, be()) : be();
47376
47376
  }, vN = kt(mN), CN = ({ rowCtrl: e, containerType: t }) => {
47377
47377
  const { context: i, gos: s, editSvc: n } = rt(At), o = rt(rb) === "default", r = B(), a = B(e.getDomOrder()), l = e.isFullWidth(), c = e.rowNode.displayed, [d, u] = M(
47378
47378
  () => c ? e.rowNode.getRowIndexString() : null
47379
- ), [h, p] = M(() => e.rowId), [f, m] = M(() => e.businessKey), [v, C] = M(() => e.rowStyles), w = B(null), [b, x] = M(() => null), [y, F] = M(), [R, S] = M(
47379
+ ), [h, p] = M(() => e.rowId), [f, m] = M(() => e.businessKey), [v, C] = M(() => e.rowStyles), w = B(null), [b, x] = M(() => null), [y, F] = M(), [S, R] = M(
47380
47380
  () => c ? e.getInitialRowTop(t) : void 0
47381
47381
  ), [E, T] = M(
47382
47382
  () => c ? e.getInitialTransform(t) : void 0
@@ -47407,7 +47407,7 @@ var $O = 1e3, qO = class {
47407
47407
  const ye = {
47408
47408
  // the rowTop is managed by state, instead of direct style manipulation by rowCtrl (like all the other styles)
47409
47409
  // as we need to have an initial value when it's placed into he DOM for the first time, for animation to work.
47410
- setTop: S,
47410
+ setTop: R,
47411
47411
  setTransform: T,
47412
47412
  // i found using React for managing classes at the row level was to slow, as modifying classes caused a lot of
47413
47413
  // React code to execute, so avoiding React for managing CSS Classes made the grid go much faster.
@@ -47443,9 +47443,9 @@ var $O = 1e3, qO = class {
47443
47443
  [y]
47444
47444
  );
47445
47445
  const K = z(() => {
47446
- const de = { top: R, transform: E };
47446
+ const de = { top: S, transform: E };
47447
47447
  return Object.assign(de, v), de;
47448
- }, [R, E, v]), re = l && y?.componentFromFramework, Ce = !l && I != null, G = z(() => !!(y?.componentFromFramework && Lo(y.componentClass)), [y]), ae = B(!1);
47448
+ }, [S, E, v]), re = l && y?.componentFromFramework, Ce = !l && I != null, G = z(() => !!(y?.componentFromFramework && Lo(y.componentClass)), [y]), ae = B(!1);
47449
47449
  we(() => {
47450
47450
  ae.current = G && !!y && !!s.get("reactiveCustomComponents");
47451
47451
  }, [G, y]);
@@ -47476,11 +47476,11 @@ var $O = 1e3, qO = class {
47476
47476
  }, qm = kt(CN), wN = ({ name: e }) => {
47477
47477
  const { context: t, gos: i } = rt(At), s = z(() => Yr(e), [e]), n = B(null), o = B(null), r = B(null), a = B([]), l = B([]), [c, d] = M(() => []), u = !!i.get("enableCellSpan") && !!s.getSpannedRowCtrls, h = B([]), p = B([]), [f, m] = M(() => []), v = B(!1), C = B(), w = z(() => ni("ag-viewport", fw(e)), [e]), b = z(() => ni(mw(e)), [e]), x = z(() => ni("ag-spanning-container", XE(e)), [e]), y = s.type === "center" || u, F = y ? n : o;
47478
47478
  Xs(" AG Row Container " + e + " ", F);
47479
- const R = D(() => {
47479
+ const S = D(() => {
47480
47480
  const N = !y || n.current != null, V = o.current != null, _ = !u || r.current != null;
47481
47481
  return N && V && _;
47482
- }, []), S = D(() => n.current == null && o.current == null && r.current == null, []), E = D(() => {
47483
- if (S() && (C.current = t.destroyBean(C.current)), !t.isDestroyed() && R()) {
47482
+ }, []), R = D(() => n.current == null && o.current == null && r.current == null, []), E = D(() => {
47483
+ if (R() && (C.current = t.destroyBean(C.current)), !t.isDestroyed() && S()) {
47484
47484
  const N = (U) => {
47485
47485
  const ne = Zl(
47486
47486
  l.current,
@@ -47527,7 +47527,7 @@ var $O = 1e3, qO = class {
47527
47527
  n.current
47528
47528
  );
47529
47529
  }
47530
- }, [R, S]), T = D(
47530
+ }, [S, R]), T = D(
47531
47531
  (N) => {
47532
47532
  o.current = N, E();
47533
47533
  },
@@ -47556,7 +47556,7 @@ var $O = 1e3, qO = class {
47556
47556
  const Y = () => /* @__PURE__ */ Z.createElement("div", { className: x, ref: P, role: "presentation" }, f.map((N) => /* @__PURE__ */ Z.createElement(qm, { rowCtrl: N, containerType: s.type, key: N.instanceId })));
47557
47557
  return /* @__PURE__ */ Z.createElement("div", { className: w, ref: A, role: "rowgroup" }, H(), u ? Y() : null);
47558
47558
  }, bN = kt(wN), xN = () => {
47559
- const e = rt(At), { context: t, overlays: i } = e, [s, n] = M(""), [o, r] = M(0), [a, l] = M(0), [c, d] = M("0px"), [u, h] = M("0px"), [p, f] = M("100%"), [m, v] = M("0px"), [C, w] = M("0px"), [b, x] = M("100%"), [y, F] = M(!0), [R, S] = M(!0), [E, T] = M(null), [P, A] = M(""), [H, Y] = M(null), [N, V] = M("ag-layout-normal"), _ = B();
47559
+ const e = rt(At), { context: t, overlays: i } = e, [s, n] = M(""), [o, r] = M(0), [a, l] = M(0), [c, d] = M("0px"), [u, h] = M("0px"), [p, f] = M("100%"), [m, v] = M("0px"), [C, w] = M("0px"), [b, x] = M("100%"), [y, F] = M(!0), [S, R] = M(!0), [E, T] = M(null), [P, A] = M(""), [H, Y] = M(null), [N, V] = M("ag-layout-normal"), _ = B();
47560
47560
  _.current || (_.current = new Ur(() => U.current));
47561
47561
  const U = B(null), ne = B(null), L = B(null), I = B(null), W = B(null), K = B(null), re = B(null), Ce = B([]), G = B([]);
47562
47562
  Xs(" AG Grid Body ", U), Xs(" AG Pinned Top ", ne), Xs(" AG Sticky Top ", L), Xs(" AG Middle ", K), Xs(" AG Pinned Bottom ", re);
@@ -47573,12 +47573,12 @@ var $O = 1e3, qO = class {
47573
47573
  }, Ne = ($) => {
47574
47574
  const ke = t.createBean(new $());
47575
47575
  return Ce.current.push(ke), ke;
47576
- }, ze = ($, ke, Yt) => {
47576
+ }, We = ($, ke, Yt) => {
47577
47577
  xe($, document.createComment(Yt)), xe($, Ne(ke).getGui());
47578
47578
  };
47579
- ze(Pe, BE, " AG Fake Horizontal Scroll ");
47579
+ We(Pe, BE, " AG Fake Horizontal Scroll ");
47580
47580
  const Vt = i?.getOverlayWrapperCompClass();
47581
- Vt && ze(Pe, Vt, " AG Overlay Wrapper "), W.current && ze(W.current, zE, " AG Fake Vertical Scroll ");
47581
+ Vt && We(Pe, Vt, " AG Overlay Wrapper "), W.current && We(W.current, zE, " AG Fake Vertical Scroll ");
47582
47582
  const Xe = {
47583
47583
  setRowAnimationCssOnBodyViewport: n,
47584
47584
  setColumnCount: ($) => {
@@ -47593,7 +47593,7 @@ var $O = 1e3, qO = class {
47593
47593
  setStickyTopTop: h,
47594
47594
  setStickyTopWidth: f,
47595
47595
  setTopInvisible: F,
47596
- setBottomInvisible: S,
47596
+ setBottomInvisible: R,
47597
47597
  setColumnMovingCss: ($, ke) => _.current.toggleCss($, ke),
47598
47598
  updateLayoutClasses: V,
47599
47599
  setAlwaysVerticalScrollClass: T,
@@ -47638,8 +47638,8 @@ var $O = 1e3, qO = class {
47638
47638
  () => ni("ag-sticky-bottom", m === "0px" ? "ag-invisible" : null, H),
47639
47639
  [H, m]
47640
47640
  ), ee = z(
47641
- () => ni("ag-floating-bottom", R ? "ag-invisible" : null, H),
47642
- [H, R]
47641
+ () => ni("ag-floating-bottom", S ? "ag-invisible" : null, H),
47642
+ [H, S]
47643
47643
  ), ue = z(
47644
47644
  () => ({
47645
47645
  height: o,
@@ -47672,8 +47672,8 @@ var $O = 1e3, qO = class {
47672
47672
  section: Pe,
47673
47673
  children: xe,
47674
47674
  className: Ne,
47675
- style: ze
47676
- }) => /* @__PURE__ */ Z.createElement("div", { ref: Pe, className: Ne, role: "presentation", style: ze }, xe.map(Te));
47675
+ style: We
47676
+ }) => /* @__PURE__ */ Z.createElement("div", { ref: Pe, className: Ne, role: "presentation", style: We }, xe.map(Te));
47677
47677
  return /* @__PURE__ */ Z.createElement("div", { ref: ae, className: Oe }, /* @__PURE__ */ Z.createElement(aN, null), Me({
47678
47678
  section: ne,
47679
47679
  className: ye,
@@ -47842,10 +47842,10 @@ var $O = 1e3, qO = class {
47842
47842
  W.remove();
47843
47843
  };
47844
47844
  }, [u, v, e]);
47845
- const R = z(
47845
+ const S = z(
47846
47846
  () => ni("ag-root-wrapper", t, s),
47847
47847
  [t, s]
47848
- ), S = z(
47848
+ ), R = z(
47849
47849
  () => ni("ag-root-wrapper-body", "ag-focus-managed", s),
47850
47850
  [s]
47851
47851
  ), E = z(
@@ -47858,7 +47858,7 @@ var $O = 1e3, qO = class {
47858
47858
  ), T = D((A) => {
47859
47859
  m.current = A, h(A !== null);
47860
47860
  }, []), P = D(() => !p.current?.isFocusable(), []);
47861
- return /* @__PURE__ */ Z.createElement("div", { ref: F, className: R, style: E, role: "presentation" }, /* @__PURE__ */ Z.createElement("div", { className: S, ref: C, role: "presentation" }, c && v && !e.isDestroyed() && /* @__PURE__ */ Z.createElement(At.Provider, { value: e.getBeans() }, /* @__PURE__ */ Z.createElement(
47861
+ return /* @__PURE__ */ Z.createElement("div", { ref: F, className: S, style: E, role: "presentation" }, /* @__PURE__ */ Z.createElement("div", { className: R, ref: C, role: "presentation" }, c && v && !e.isDestroyed() && /* @__PURE__ */ Z.createElement(At.Provider, { value: e.getBeans() }, /* @__PURE__ */ Z.createElement(
47862
47862
  FN,
47863
47863
  {
47864
47864
  ref: T,
@@ -47915,12 +47915,12 @@ var $O = 1e3, qO = class {
47915
47915
  ...pb
47916
47916
  }, gb = new Set(Object.keys(IN)), MN = new Set(Object.keys(pb)), fb = (e) => {
47917
47917
  const t = rt(KO), i = rt(YO), s = B(), n = B(null), o = B(null), r = B([]), a = B([]), l = B(e), c = B(), d = B(), u = B(!1), [h, p] = M(void 0), [, f] = M(0), m = B(), v = (y) => {
47918
- const F = n.current?.classList, R = (S = "") => S.trim().split(/\s+/g).filter(Boolean);
47918
+ const F = n.current?.classList, S = (R = "") => R.trim().split(/\s+/g).filter(Boolean);
47919
47919
  if (m.current !== y) {
47920
- for (const S of R(m.current))
47921
- F?.contains(S) && F.remove(S);
47922
- for (const S of R(y))
47923
- F?.contains(S) || F?.add(S);
47920
+ for (const R of S(m.current))
47921
+ F?.contains(R) && F.remove(R);
47922
+ for (const R of S(y))
47923
+ F?.contains(R) || F?.add(R);
47924
47924
  m.current = y;
47925
47925
  }
47926
47926
  };
@@ -47942,22 +47942,22 @@ var $O = 1e3, qO = class {
47942
47942
  ), r.current.push(() => {
47943
47943
  o.current?.destroy(), o.current = null;
47944
47944
  }));
47945
- const R = E3(
47945
+ const S = E3(
47946
47946
  e.gridOptions,
47947
47947
  e,
47948
47948
  Object.keys(e).filter((N) => !gb.has(N))
47949
- ), S = () => {
47949
+ ), R = () => {
47950
47950
  if (u.current) {
47951
47951
  const N = () => c.current?.shouldQueueUpdates() ? void 0 : a.current.shift();
47952
47952
  let V = N();
47953
47953
  for (; V; )
47954
47954
  V(), V = N();
47955
47955
  }
47956
- }, E = new ON(S);
47956
+ }, E = new ON(R);
47957
47957
  c.current = E;
47958
47958
  const T = new PN(), P = {
47959
47959
  providedBeanInstances: {
47960
- frameworkCompWrapper: new AN(o.current, R),
47960
+ frameworkCompWrapper: new AN(o.current, S),
47961
47961
  renderStatus: T
47962
47962
  },
47963
47963
  modules: F,
@@ -47993,9 +47993,9 @@ var $O = 1e3, qO = class {
47993
47993
  }
47994
47994
  );
47995
47995
  }, Y = new p8();
47996
- R.gridId ?? (R.gridId = d.current), s.current = Y.create(
47996
+ S.gridId ?? (S.gridId = d.current), s.current = Y.create(
47997
47997
  y,
47998
- R,
47998
+ S,
47999
47999
  A,
48000
48000
  H,
48001
48001
  P
@@ -48097,19 +48097,19 @@ var AN = class extends RO {
48097
48097
  return m.current?.refresh() ?? !1;
48098
48098
  }
48099
48099
  })), e.template && q(230);
48100
- const y = D((R) => {
48101
- if (v.current = R, !R || n.isDestroyed()) {
48100
+ const y = D((S) => {
48101
+ if (v.current = S, !S || n.isDestroyed()) {
48102
48102
  m.current = n.destroyBean(m.current), C.current?.();
48103
48103
  return;
48104
48104
  }
48105
- const S = {
48105
+ const R = {
48106
48106
  toggleCss: (T, P) => l((A) => A.setClass(T, P)),
48107
48107
  toggleDetailGridCss: (T, P) => d((A) => A.setClass(T, P)),
48108
48108
  setDetailGrid: (T) => h(T),
48109
48109
  setRowData: (T) => f(T),
48110
48110
  getGui: () => v.current
48111
48111
  }, E = s.createDynamicBean("detailCellRendererCtrl", !0);
48112
- if (E && (n.createBean(E), E.init(S, e), m.current = E, o.get("detailRowAutoHeight"))) {
48112
+ if (E && (n.createBean(E), E.init(R, e), m.current = E, o.get("detailRowAutoHeight"))) {
48113
48113
  const T = () => {
48114
48114
  if (v.current == null)
48115
48115
  return;
@@ -48118,10 +48118,10 @@ var AN = class extends RO {
48118
48118
  e.node.setRowHeight(P), (ot(o) || Mo(o)) && r.onRowHeightChanged();
48119
48119
  }, 0);
48120
48120
  };
48121
- C.current = as(i, R, T), T();
48121
+ C.current = as(i, S, T), T();
48122
48122
  }
48123
- }, []), F = D((R) => {
48124
- m.current?.registerDetailWithMaster(R);
48123
+ }, []), F = D((S) => {
48124
+ m.current?.registerDetailWithMaster(S);
48125
48125
  }, []);
48126
48126
  return /* @__PURE__ */ Z.createElement("div", { className: b, ref: y }, u && /* @__PURE__ */ Z.createElement(
48127
48127
  fb,
@@ -48305,7 +48305,7 @@ const wb = ({
48305
48305
  ),
48306
48306
  ...r(),
48307
48307
  children: [
48308
- e.icon && /* @__PURE__ */ g.jsx("span", { className: ce(e.disabled && "text-secondary"), children: /* @__PURE__ */ g.jsx(_e, { icon: e.icon }) }),
48308
+ e.icon && /* @__PURE__ */ g.jsx("span", { className: ce(e.disabled && "text-secondary"), children: /* @__PURE__ */ g.jsx(Ue, { icon: e.icon }) }),
48309
48309
  /* @__PURE__ */ g.jsx(
48310
48310
  "span",
48311
48311
  {
@@ -48360,7 +48360,7 @@ const wb = ({
48360
48360
  c.danger && "text-error",
48361
48361
  c.disabled && "text-secondary"
48362
48362
  ),
48363
- children: /* @__PURE__ */ g.jsx(_e, { icon: c.icon })
48363
+ children: /* @__PURE__ */ g.jsx(Ue, { icon: c.icon })
48364
48364
  }
48365
48365
  ),
48366
48366
  /* @__PURE__ */ g.jsx(
@@ -48402,7 +48402,7 @@ const wb = ({
48402
48402
  matchReferenceWidth: C = !0,
48403
48403
  maxDropdownHeight: w
48404
48404
  }) => {
48405
- const [b, x] = M(a), y = r !== void 0, F = y ? !!r : b, R = B(null), S = D(
48405
+ const [b, x] = M(a), y = r !== void 0, F = y ? !!r : b, S = B(null), R = D(
48406
48406
  (G) => {
48407
48407
  y || x(G), l?.(G);
48408
48408
  },
@@ -48410,7 +48410,7 @@ const wb = ({
48410
48410
  ), E = Wr(), T = n === void 0, { refs: P, floatingStyles: A, context: H } = sc({
48411
48411
  placement: n,
48412
48412
  open: F,
48413
- onOpenChange: S,
48413
+ onOpenChange: R,
48414
48414
  whileElementsMounted: kh,
48415
48415
  middleware: [
48416
48416
  Ah({ mainAxis: Yn, crossAxis: 0 }),
@@ -48475,29 +48475,29 @@ const wb = ({
48475
48475
  [P]
48476
48476
  ), I = D(
48477
48477
  (G) => {
48478
- !s.includes(ci.ContextMenu) || o || (G.preventDefault(), v && (L(G.clientX, G.clientY), R.current = document.elementFromPoint(
48478
+ !s.includes(ci.ContextMenu) || o || (G.preventDefault(), v && (L(G.clientX, G.clientY), S.current = document.elementFromPoint(
48479
48479
  G.clientX,
48480
48480
  G.clientY
48481
- )), S(!0));
48481
+ )), R(!0));
48482
48482
  },
48483
- [v, o, S, L, s]
48483
+ [v, o, R, L, s]
48484
48484
  ), W = D(
48485
48485
  (G) => {
48486
- !v || o || (s.includes(ci.ContextMenu) && F && S(!1), L(G.clientX, G.clientY), R.current = document.elementFromPoint(
48486
+ !v || o || (s.includes(ci.ContextMenu) && F && R(!1), L(G.clientX, G.clientY), S.current = document.elementFromPoint(
48487
48487
  G.clientX,
48488
48488
  G.clientY
48489
48489
  ));
48490
48490
  },
48491
- [v, o, L, F, s, S]
48491
+ [v, o, L, F, s, R]
48492
48492
  );
48493
48493
  we(() => {
48494
- o && F && S(!1);
48495
- }, [o, F, S]);
48494
+ o && F && R(!1);
48495
+ }, [o, F, R]);
48496
48496
  const K = D(
48497
48497
  (G) => (ae) => {
48498
- G.disabled || (G.onClick?.({ key: G.key, domEvent: ae }), t?.onClick?.({ key: G.key, domEvent: ae }), S(!1));
48498
+ G.disabled || (G.onClick?.({ key: G.key, domEvent: ae }), t?.onClick?.({ key: G.key, domEvent: ae }), R(!1));
48499
48499
  },
48500
- [t, S]
48500
+ [t, R]
48501
48501
  ), re = z(() => i ? i() : t ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
48502
48502
  t.header && /* @__PURE__ */ g.jsx(g.Fragment, { children: typeof t.header == "function" ? t.header() : t.header }),
48503
48503
  /* @__PURE__ */ g.jsx("div", { role: "none", className: "py-1", "aria-label": "dropdown", children: t.items.map((G) => G.type === Hr.Divider ? /* @__PURE__ */ g.jsx(
@@ -48521,7 +48521,7 @@ const wb = ({
48521
48521
  WN,
48522
48522
  {
48523
48523
  item: G,
48524
- onRootClose: () => S(!1)
48524
+ onRootClose: () => R(!1)
48525
48525
  },
48526
48526
  G.key
48527
48527
  ) : /* @__PURE__ */ g.jsxs(
@@ -48546,7 +48546,7 @@ const wb = ({
48546
48546
  G.danger && "text-error",
48547
48547
  G.disabled && "text-secondary"
48548
48548
  ),
48549
- children: /* @__PURE__ */ g.jsx(_e, { icon: G.icon })
48549
+ children: /* @__PURE__ */ g.jsx(Ue, { icon: G.icon })
48550
48550
  }
48551
48551
  ),
48552
48552
  /* @__PURE__ */ g.jsx(
@@ -48566,7 +48566,7 @@ const wb = ({
48566
48566
  G.key
48567
48567
  )) }),
48568
48568
  t.footer && /* @__PURE__ */ g.jsx(g.Fragment, { children: typeof t.footer == "function" ? t.footer() : t.footer })
48569
- ] }) : null, [K, t, i, S]), Ce = U({
48569
+ ] }) : null, [K, t, i, R]), Ce = U({
48570
48570
  onContextMenu: I,
48571
48571
  onMouseDown: W
48572
48572
  });
@@ -48574,15 +48574,15 @@ const wb = ({
48574
48574
  if (!F) return;
48575
48575
  const G = P.reference.current;
48576
48576
  let ae = null;
48577
- if (G instanceof Element ? ae = G : R.current instanceof Element && (ae = R.current), !ae) return;
48577
+ if (G instanceof Element ? ae = G : S.current instanceof Element && (ae = S.current), !ae) return;
48578
48578
  const Oe = new IntersectionObserver(
48579
48579
  ([J]) => {
48580
- J.isIntersecting || S(!1);
48580
+ J.isIntersecting || R(!1);
48581
48581
  },
48582
48582
  { root: null, threshold: 0 }
48583
48583
  );
48584
48584
  return Oe.observe(ae), () => Oe.disconnect();
48585
- }, [F, P.reference, S]), /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
48585
+ }, [F, P.reference, R]), /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
48586
48586
  /* @__PURE__ */ g.jsx(
48587
48587
  "span",
48588
48588
  {
@@ -48624,7 +48624,7 @@ const wb = ({
48624
48624
  {
48625
48625
  ariaLabel: "Close dropdown",
48626
48626
  onClose: (G) => {
48627
- d?.(G), S(!1);
48627
+ d?.(G), R(!1);
48628
48628
  }
48629
48629
  }
48630
48630
  ) }),
@@ -48728,7 +48728,7 @@ const Sb = ({
48728
48728
  allowDisabledContextMenu: x = !1,
48729
48729
  selectionMode: y
48730
48730
  }) => {
48731
- const [F, R] = M(su), [S, E] = M(), T = Wr(), P = Oc(), A = ZN(), H = B(/* @__PURE__ */ new Set()), Y = B(
48731
+ const [F, S] = M(su), [R, E] = M(), T = Wr(), P = Oc(), A = ZN(), H = B(/* @__PURE__ */ new Set()), Y = B(
48732
48732
  void 0
48733
48733
  ), N = z(
48734
48734
  () => ({
@@ -48738,7 +48738,7 @@ const Sb = ({
48738
48738
  }),
48739
48739
  [h, w]
48740
48740
  ), V = D((k) => {
48741
- k.api.sizeColumnsToFit(), R(su);
48741
+ k.api.sizeColumnsToFit(), S(su);
48742
48742
  }, []), _ = D(
48743
48743
  (k) => {
48744
48744
  if (k.data) {
@@ -48770,12 +48770,12 @@ const Sb = ({
48770
48770
  []
48771
48771
  ), ne = D(
48772
48772
  (k) => {
48773
- if (!S)
48773
+ if (!R)
48774
48774
  return;
48775
48775
  const ue = (k.selectedNodes || []).map((be) => be.data), Fe = new Set(ue.map(u));
48776
48776
  H.current = Fe, Y.current = k.source, U(k.source) || c?.(Fe, ue);
48777
48777
  },
48778
- [S, u, U, c]
48778
+ [R, u, U, c]
48779
48779
  ), L = z(() => YN(
48780
48780
  (k) => ne?.(k),
48781
48781
  100
@@ -48904,8 +48904,8 @@ const Sb = ({
48904
48904
  k.api.updateGridOptions({ columnDefs: ue, rowData: t }), k.api.sizeColumnsToFit(), E(k.api), i?.onGridReady?.(k), d?.(k.api);
48905
48905
  };
48906
48906
  we(() => {
48907
- S && t && S.setGridOption("rowData", t);
48908
- }, [S, t]);
48907
+ R && t && R.setGridOption("rowData", t);
48908
+ }, [R, t]);
48909
48909
  const J = D(
48910
48910
  () => /* @__PURE__ */ g.jsx(
48911
48911
  uc,
@@ -48936,16 +48936,16 @@ const Sb = ({
48936
48936
  };
48937
48937
  }, [a, u, y]);
48938
48938
  we(() => {
48939
- S && t && H.current.size && H.current.forEach((k) => {
48940
- const ee = S.getRowNode(k);
48939
+ R && t && H.current.size && H.current.forEach((k) => {
48940
+ const ee = R.getRowNode(k);
48941
48941
  ee && !ee.isSelected() && ee.setSelected(!0, !1, Zs.API);
48942
48942
  });
48943
- }, [S, t]), we(() => {
48944
- S && l && (S.deselectAll("all", Zs.API), l.forEach((k) => {
48945
- const ee = S.getRowNode(k);
48943
+ }, [R, t]), we(() => {
48944
+ R && l && (R.deselectAll("all", Zs.API), l.forEach((k) => {
48945
+ const ee = R.getRowNode(k);
48946
48946
  ee && !ee.isSelected() && ee.setSelected(!0, !1, Zs.API);
48947
48947
  }));
48948
- }, [S, l]);
48948
+ }, [R, l]);
48949
48949
  const ye = D(
48950
48950
  (k) => k.data ? u(k.data) : "",
48951
48951
  [u]
@@ -48958,14 +48958,14 @@ const Sb = ({
48958
48958
  const k = U(
48959
48959
  Y.current
48960
48960
  );
48961
- if (S && l?.size && k) {
48961
+ if (R && l?.size && k) {
48962
48962
  const ee = Array.from(l)[0];
48963
48963
  if (ee) {
48964
- const ue = S.getRowNode(ee);
48965
- ue && S.ensureNodeVisible(ue);
48964
+ const ue = R.getRowNode(ee);
48965
+ ue && R.ensureNodeVisible(ue);
48966
48966
  }
48967
48967
  }
48968
- }, [S, U, l]), /* @__PURE__ */ g.jsx(
48968
+ }, [R, U, l]), /* @__PURE__ */ g.jsx(
48969
48969
  "div",
48970
48970
  {
48971
48971
  className: ce(
@@ -49085,10 +49085,10 @@ const Ka = ({
49085
49085
  C ? "flex-row flex-nowrap overflow-x-auto" : "flex-col flex-wrap w-full"
49086
49086
  ),
49087
49087
  [C]
49088
- ), R = D(() => {
49088
+ ), S = D(() => {
49089
49089
  const T = b.current;
49090
49090
  T && f(T.scrollWidth > T.clientWidth);
49091
- }, []), S = D(() => {
49091
+ }, []), R = D(() => {
49092
49092
  const T = x.current, P = b.current;
49093
49093
  if (!T || !P) return;
49094
49094
  const A = T.getBoundingClientRect(), H = P.getBoundingClientRect();
@@ -49111,17 +49111,17 @@ const Ka = ({
49111
49111
  });
49112
49112
  }, []), E = D(
49113
49113
  (T) => {
49114
- i(T), T === t && S();
49114
+ i(T), T === t && R();
49115
49115
  },
49116
- [i, t, S]
49116
+ [i, t, R]
49117
49117
  );
49118
49118
  return we(() => {
49119
- R();
49120
- const T = new ResizeObserver(() => R()), P = b.current;
49121
- return P && T.observe(P), () => T.disconnect();
49122
- }, [e, R]), we(() => {
49123
49119
  S();
49124
- }, [t, S]), v ? /* @__PURE__ */ g.jsx(
49120
+ const T = new ResizeObserver(() => S()), P = b.current;
49121
+ return P && T.observe(P), () => T.disconnect();
49122
+ }, [e, S]), we(() => {
49123
+ R();
49124
+ }, [t, R]), v ? /* @__PURE__ */ g.jsx(
49125
49125
  "div",
49126
49126
  {
49127
49127
  role: "tablist",
@@ -49164,7 +49164,7 @@ const Ka = ({
49164
49164
  t
49165
49165
  ),
49166
49166
  /* @__PURE__ */ g.jsx(
49167
- _e,
49167
+ Ue,
49168
49168
  {
49169
49169
  icon: /* @__PURE__ */ g.jsx(_r, { size: It.SM }),
49170
49170
  className: ce(
@@ -49626,12 +49626,12 @@ const uH = "z-[52] flex items-center justify-center bg-blackout md:p-4", Xm = "d
49626
49626
  }) => {
49627
49627
  const v = B(null), { refs: C, context: w } = sc({
49628
49628
  open: e,
49629
- onOpenChange: (S) => {
49630
- S || u?.(null);
49629
+ onOpenChange: (R) => {
49630
+ R || u?.(null);
49631
49631
  }
49632
49632
  }), b = oc(w, { role: "dialog" }), x = nc(w, { outsidePress: f }), { getFloatingProps: y } = rc([b, x]);
49633
49633
  if (!e) return null;
49634
- const F = typeof t == "string" ? "dial-popup-heading" : void 0, R = (S) => S ? typeof S == "string" ? /* @__PURE__ */ g.jsx(
49634
+ const F = typeof t == "string" ? "dial-popup-heading" : void 0, S = (R) => R ? typeof R == "string" ? /* @__PURE__ */ g.jsx(
49635
49635
  "h3",
49636
49636
  {
49637
49637
  id: F,
@@ -49639,9 +49639,9 @@ const uH = "z-[52] flex items-center justify-center bg-blackout md:p-4", Xm = "d
49639
49639
  "flex-1 min-w-0 mr-3 truncate dial-h3 text-primary",
49640
49640
  o
49641
49641
  ),
49642
- children: /* @__PURE__ */ g.jsx(Xt, { tooltip: S, children: S })
49642
+ children: /* @__PURE__ */ g.jsx(Xt, { tooltip: R, children: R })
49643
49643
  }
49644
- ) : S : /* @__PURE__ */ g.jsx("span", {});
49644
+ ) : R : /* @__PURE__ */ g.jsx("span", {});
49645
49645
  return /* @__PURE__ */ g.jsx(ac, { id: i, children: /* @__PURE__ */ g.jsx(
49646
49646
  Cx,
49647
49647
  {
@@ -49680,12 +49680,12 @@ const uH = "z-[52] flex items-center justify-center bg-blackout md:p-4", Xm = "d
49680
49680
  {
49681
49681
  className: oe(hH, r),
49682
49682
  children: [
49683
- R(t),
49683
+ S(t),
49684
49684
  !p && /* @__PURE__ */ g.jsx(
49685
49685
  vb,
49686
49686
  {
49687
49687
  ariaLabel: "Close dialog",
49688
- onClose: (S) => u?.(S)
49688
+ onClose: (R) => u?.(R)
49689
49689
  }
49690
49690
  )
49691
49691
  ]
@@ -49801,7 +49801,7 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
49801
49801
  tagClassName: h,
49802
49802
  onChange: p
49803
49803
  }) => {
49804
- const f = B(null), m = B([]), v = B(null), [C, w] = M(e), [b, x] = M(""), [y, F] = M(!1), [R, S] = M(e.length), E = D((_) => (U) => {
49804
+ const f = B(null), m = B([]), v = B(null), [C, w] = M(e), [b, x] = M(""), [y, F] = M(!1), [S, R] = M(e.length), E = D((_) => (U) => {
49805
49805
  m.current[_] = U;
49806
49806
  }, []), T = D(() => {
49807
49807
  if (!c) return;
@@ -49824,7 +49824,7 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
49824
49824
  const re = m.current[K]?.offsetWidth ?? 0;
49825
49825
  W -= re + au;
49826
49826
  }
49827
- S(K);
49827
+ R(K);
49828
49828
  }, [c, d, C.length]), P = (_) => {
49829
49829
  const U = _.trim().replace(/,$/, "");
49830
49830
  if (U && !C.includes(U)) {
@@ -49850,10 +49850,10 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
49850
49850
  return f.current && _.observe(f.current), () => _.disconnect();
49851
49851
  }, [C, c]), we(() => {
49852
49852
  if (!c) {
49853
- S(C.length);
49853
+ R(C.length);
49854
49854
  return;
49855
49855
  }
49856
- S(C.length);
49856
+ R(C.length);
49857
49857
  const _ = new ResizeObserver(() => {
49858
49858
  T();
49859
49859
  }), U = f.current;
@@ -49871,7 +49871,7 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
49871
49871
  u
49872
49872
  ),
49873
49873
  children: [
49874
- (c ? C.slice(0, R) : C).map(
49874
+ (c ? C.slice(0, S) : C).map(
49875
49875
  (_, U) => /* @__PURE__ */ g.jsx(
49876
49876
  cr,
49877
49877
  {
@@ -49882,12 +49882,12 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
49882
49882
  _ + U
49883
49883
  )
49884
49884
  ),
49885
- c && R < C.length && /* @__PURE__ */ g.jsx(
49885
+ c && S < C.length && /* @__PURE__ */ g.jsx(
49886
49886
  Xt,
49887
49887
  {
49888
- tooltip: C.slice(R).join(", "),
49888
+ tooltip: C.slice(S).join(", "),
49889
49889
  triggerClassName: "inline-flex shrink-0 cursor-pointer",
49890
- children: /* @__PURE__ */ g.jsx(cr, { tag: `+${C.length - R}` })
49890
+ children: /* @__PURE__ */ g.jsx(cr, { tag: `+${C.length - S}` })
49891
49891
  }
49892
49892
  ),
49893
49893
  !d && /* @__PURE__ */ g.jsx(
@@ -49985,8 +49985,8 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
49985
49985
  iconBefore: m
49986
49986
  }) => {
49987
49987
  const v = Array.isArray(s) && s.length > 0, C = typeof s == "string" && !!s.trim(), w = v || C ? s : u ? void 0 : d, b = i ? void 0 : r, x = D(
49988
- (S) => {
49989
- p?.(S.target.value);
49988
+ (R) => {
49989
+ p?.(R.target.value);
49990
49990
  },
49991
49991
  [p]
49992
49992
  ), y = () => /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
@@ -50001,7 +50001,7 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
50001
50001
  ),
50002
50002
  children: [
50003
50003
  /* @__PURE__ */ g.jsxs("div", { className: "flex flex-row items-center gap-x-2 flex-1 min-w-0", children: [
50004
- m && /* @__PURE__ */ g.jsx(_e, { icon: m }),
50004
+ m && /* @__PURE__ */ g.jsx(Ue, { icon: m }),
50005
50005
  /* @__PURE__ */ g.jsx(
50006
50006
  "input",
50007
50007
  {
@@ -50027,7 +50027,7 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
50027
50027
  onClick: r,
50028
50028
  "aria-label": "open-popup",
50029
50029
  children: /* @__PURE__ */ g.jsx(
50030
- _e,
50030
+ Ue,
50031
50031
  {
50032
50032
  icon: /* @__PURE__ */ g.jsx(
50033
50033
  lu,
@@ -50065,11 +50065,11 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
50065
50065
  ),
50066
50066
  children: [
50067
50067
  /* @__PURE__ */ g.jsxs("div", { className: "flex flex-row items-center gap-x-2 flex-1 min-w-0", children: [
50068
- m && /* @__PURE__ */ g.jsx(_e, { icon: m }),
50068
+ m && /* @__PURE__ */ g.jsx(Ue, { icon: m }),
50069
50069
  /* @__PURE__ */ g.jsx(Xt, { tooltip: w == null ? void 0 : String(w), children: w || !u ? /* @__PURE__ */ g.jsx("span", { className: n, children: w }) : /* @__PURE__ */ g.jsx("span", { className: "text-secondary", children: u }) })
50070
50070
  ] }),
50071
50071
  !i && /* @__PURE__ */ g.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ g.jsx(
50072
- _e,
50072
+ Ue,
50073
50073
  {
50074
50074
  icon: /* @__PURE__ */ g.jsx(
50075
50075
  lu,
@@ -50087,7 +50087,7 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
50087
50087
  }
50088
50088
  ),
50089
50089
  /* @__PURE__ */ g.jsx(Si, { text: l })
50090
- ] }), R = () => /* @__PURE__ */ g.jsx("div", { className: "w-full", onClick: b, children: /* @__PURE__ */ g.jsxs(
50090
+ ] }), S = () => /* @__PURE__ */ g.jsx("div", { className: "w-full", onClick: b, children: /* @__PURE__ */ g.jsxs(
50091
50091
  "div",
50092
50092
  {
50093
50093
  className: ce(
@@ -50096,7 +50096,7 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
50096
50096
  ),
50097
50097
  children: [
50098
50098
  /* @__PURE__ */ g.jsxs("div", { className: "flex flex-row items-center gap-x-2 flex-1 min-w-0", children: [
50099
- m && /* @__PURE__ */ g.jsx(_e, { icon: m }),
50099
+ m && /* @__PURE__ */ g.jsx(Ue, { icon: m }),
50100
50100
  /* @__PURE__ */ g.jsx(
50101
50101
  xH,
50102
50102
  {
@@ -50107,7 +50107,7 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
50107
50107
  )
50108
50108
  ] }),
50109
50109
  !i && /* @__PURE__ */ g.jsx("div", { className: "ml-1", children: /* @__PURE__ */ g.jsx(
50110
- _e,
50110
+ Ue,
50111
50111
  {
50112
50112
  icon: /* @__PURE__ */ g.jsx(
50113
50113
  lu,
@@ -50123,7 +50123,7 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
50123
50123
  }
50124
50124
  ) });
50125
50125
  return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
50126
- v ? R() : h ? y() : F(),
50126
+ v ? S() : h ? y() : F(),
50127
50127
  t && lc(e, document.body)
50128
50128
  ] });
50129
50129
  }, CV = ({
@@ -50149,15 +50149,15 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
50149
50149
  id: b,
50150
50150
  size: x = pi.Md
50151
50151
  }) => {
50152
- const [y, F] = M(!1), R = D(() => {
50152
+ const [y, F] = M(!1), S = D(() => {
50153
50153
  i || F(!0);
50154
- }, [i]), S = D(() => {
50154
+ }, [i]), R = D(() => {
50155
50155
  F(!1), c?.();
50156
50156
  }, [c]), E = D(() => {
50157
- p?.(), S();
50158
- }, [p, S]), T = D(() => {
50159
- h(), S();
50160
- }, [h, S]);
50157
+ p?.(), R();
50158
+ }, [p, R]), T = D(() => {
50159
+ h(), R();
50160
+ }, [h, R]);
50161
50161
  return /* @__PURE__ */ g.jsxs("div", { className: "flex flex-col gap-1", children: [
50162
50162
  /* @__PURE__ */ g.jsx(Po, { label: e, htmlFor: t }),
50163
50163
  /* @__PURE__ */ g.jsx(
@@ -50169,7 +50169,7 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
50169
50169
  valueClassName: r,
50170
50170
  inputClassName: ce(a, "py-2", "px-3"),
50171
50171
  emptyValueText: l,
50172
- onOpen: R,
50172
+ onOpen: S,
50173
50173
  children: /* @__PURE__ */ g.jsx(
50174
50174
  No,
50175
50175
  {
@@ -50351,25 +50351,25 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
50351
50351
  }) => {
50352
50352
  const C = B(null), w = Hh([c, C]);
50353
50353
  we(() => {
50354
- const R = C.current;
50355
- if (!R) return;
50356
- const S = (E) => {
50354
+ const S = C.current;
50355
+ if (!S) return;
50356
+ const R = (E) => {
50357
50357
  E.preventDefault();
50358
50358
  };
50359
- return R.addEventListener("wheel", S, { passive: !1 }), () => {
50360
- R.removeEventListener("wheel", S);
50359
+ return S.addEventListener("wheel", R, { passive: !1 }), () => {
50360
+ S.removeEventListener("wheel", R);
50361
50361
  };
50362
50362
  }, []);
50363
- const b = l === "number" || h !== void 0 || f !== void 0, x = (R) => {
50364
- Tb(R, l, h, f);
50365
- }, y = (R) => {
50366
- const S = R.currentTarget.value;
50367
- if (b && S !== "") {
50368
- const E = parseFloat(S);
50369
- if (isNaN(E) && S !== "-" && S !== "." || !isNaN(E) && (h !== void 0 && E < +h || f !== void 0 && E > +f))
50363
+ const b = l === "number" || h !== void 0 || f !== void 0, x = (S) => {
50364
+ Tb(S, l, h, f);
50365
+ }, y = (S) => {
50366
+ const R = S.currentTarget.value;
50367
+ if (b && R !== "") {
50368
+ const E = parseFloat(R);
50369
+ if (isNaN(E) && R !== "-" && R !== "." || !isNaN(E) && (h !== void 0 && E < +h || f !== void 0 && E > +f))
50370
50370
  return;
50371
50371
  }
50372
- p?.(S || void 0);
50372
+ p?.(R || void 0);
50373
50373
  }, F = () => /* @__PURE__ */ g.jsxs(
50374
50374
  "div",
50375
50375
  {
@@ -50393,7 +50393,7 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
50393
50393
  id: `${i}_textBefore`
50394
50394
  }
50395
50395
  ) }),
50396
- /* @__PURE__ */ g.jsx(_e, { icon: o }),
50396
+ /* @__PURE__ */ g.jsx(Ue, { icon: o }),
50397
50397
  /* @__PURE__ */ g.jsx(
50398
50398
  "input",
50399
50399
  {
@@ -50418,7 +50418,7 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
50418
50418
  " ",
50419
50419
  n
50420
50420
  ] }),
50421
- /* @__PURE__ */ g.jsx(_e, { icon: r }),
50421
+ /* @__PURE__ */ g.jsx(Ue, { icon: r }),
50422
50422
  m && /* @__PURE__ */ g.jsx(DH, { ...m, disabled: t })
50423
50423
  ]
50424
50424
  }
@@ -50561,7 +50561,7 @@ const gH = "flex justify-end gap-2 px-6 py-4", fH = "text-secondary dial-small-1
50561
50561
  {
50562
50562
  tag: n,
50563
50563
  remove: (r) => i?.(r, s),
50564
- iconBefore: o ? /* @__PURE__ */ g.jsx(_e, { icon: o }) : null,
50564
+ iconBefore: o ? /* @__PURE__ */ g.jsx(Ue, { icon: o }) : null,
50565
50565
  className: "max-w-full"
50566
50566
  },
50567
50567
  s
@@ -50603,7 +50603,7 @@ const OH = "dial-input flex w-full items-center justify-between gap-2 dial-small
50603
50603
  ...a(),
50604
50604
  children: [
50605
50605
  /* @__PURE__ */ g.jsxs("div", { className: "flex items-center gap-2 w-full min-w-0", children: [
50606
- e.icon && /* @__PURE__ */ g.jsx(_e, { icon: e.icon }),
50606
+ e.icon && /* @__PURE__ */ g.jsx(Ue, { icon: e.icon }),
50607
50607
  /* @__PURE__ */ g.jsx(bt, { text: e.label })
50608
50608
  ] }),
50609
50609
  /* @__PURE__ */ g.jsx(jr, { size: 14, className: "shrink-0" })
@@ -50636,7 +50636,7 @@ const OH = "dial-input flex w-full items-center justify-between gap-2 dial-small
50636
50636
  ),
50637
50637
  onClick: () => !d.disabled && i(d.value),
50638
50638
  children: /* @__PURE__ */ g.jsxs("div", { className: "flex items-center gap-2 w-full", children: [
50639
- d.icon && /* @__PURE__ */ g.jsx(_e, { icon: d.icon }),
50639
+ d.icon && /* @__PURE__ */ g.jsx(Ue, { icon: d.icon }),
50640
50640
  /* @__PURE__ */ g.jsx(bt, { text: d.label })
50641
50641
  ] })
50642
50642
  },
@@ -50670,8 +50670,8 @@ const OH = "dial-input flex w-full items-center justify-between gap-2 dial-small
50670
50670
  listClassName: x,
50671
50671
  closable: y = !1,
50672
50672
  header: F,
50673
- footer: R,
50674
- onClose: S,
50673
+ footer: S,
50674
+ onClose: R,
50675
50675
  onChange: E,
50676
50676
  inlineSearch: T = !1,
50677
50677
  dismissRef: P,
@@ -50782,7 +50782,7 @@ const OH = "dial-input flex w-full items-center justify-between gap-2 dial-small
50782
50782
  $.setSelectionRange?.(ke, ke);
50783
50783
  });
50784
50784
  }, [I, T, t, w]);
50785
- const Ne = !t && xe ? ye[0] : void 0, ze = z(
50785
+ const Ne = !t && xe ? ye[0] : void 0, We = z(
50786
50786
  () => Ne ? e.find(($) => $.value === Ne) ?? e.flatMap(($) => $.children ?? []).find(($) => $.value === Ne) : void 0,
50787
50787
  [e, Ne]
50788
50788
  ), Vt = D(() => t ? xe ? V?.(
@@ -50796,15 +50796,15 @@ const OH = "dial-input flex w-full items-center justify-between gap-2 dial-small
50796
50796
  selectedValues: ye,
50797
50797
  handleRemoveTag: ue
50798
50798
  }
50799
- ) : /* @__PURE__ */ g.jsx("span", { className: "text-secondary truncate", children: c }) : ze ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
50800
- ze.icon && /* @__PURE__ */ g.jsx(_e, { icon: ze.icon }),
50799
+ ) : /* @__PURE__ */ g.jsx("span", { className: "text-secondary truncate", children: c }) : We ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
50800
+ We.icon && /* @__PURE__ */ g.jsx(Ue, { icon: We.icon }),
50801
50801
  /* @__PURE__ */ g.jsx(
50802
50802
  bt,
50803
50803
  {
50804
- text: a ? `${a} ${ze.label}` : ze.label
50804
+ text: a ? `${a} ${We.label}` : We.label
50805
50805
  }
50806
50806
  ),
50807
- ze?.description && /* @__PURE__ */ g.jsx("div", { className: "text-secondary dial-small-text", children: ze.description })
50807
+ We?.description && /* @__PURE__ */ g.jsx("div", { className: "text-secondary dial-small-text", children: We.description })
50808
50808
  ] }) : l && s ? l : /* @__PURE__ */ g.jsx("span", { className: "text-secondary truncate", children: c }), [
50809
50809
  xe,
50810
50810
  t,
@@ -50812,7 +50812,7 @@ const OH = "dial-input flex w-full items-center justify-between gap-2 dial-small
50812
50812
  a,
50813
50813
  s,
50814
50814
  c,
50815
- ze,
50815
+ We,
50816
50816
  e,
50817
50817
  ye,
50818
50818
  ue,
@@ -50825,9 +50825,9 @@ const OH = "dial-input flex w-full items-center justify-between gap-2 dial-small
50825
50825
  }));
50826
50826
  const Xe = D(() => {
50827
50827
  G(
50828
- ye.length === 1 ? ze?.label ?? K : ""
50828
+ ye.length === 1 ? We?.label ?? K : ""
50829
50829
  );
50830
- }, [K, ye.length, G, ze?.label]), Rt = D(() => {
50830
+ }, [K, ye.length, G, We?.label]), Rt = D(() => {
50831
50831
  w || (W(!I), T && !t && (Xe(), Ce.current?.focus()));
50832
50832
  }, [w, T, I, t, Xe, W]);
50833
50833
  return /* @__PURE__ */ g.jsx(
@@ -50837,7 +50837,7 @@ const OH = "dial-input flex w-full items-center justify-between gap-2 dial-small
50837
50837
  onOpenChange: he,
50838
50838
  disabled: w,
50839
50839
  closable: y,
50840
- onClose: S,
50840
+ onClose: R,
50841
50841
  placement: "bottom-start",
50842
50842
  allowedPlacements: ["bottom-start", "top-start"],
50843
50843
  maxDropdownHeight: d ? null : GH,
@@ -50869,7 +50869,7 @@ const OH = "dial-input flex w-full items-center justify-between gap-2 dial-small
50869
50869
  className: "shrink-0",
50870
50870
  iconBefore: /* @__PURE__ */ g.jsx(Eo, { size: It.SM }),
50871
50871
  onClick: ($) => {
50872
- S?.($), W(!1);
50872
+ R?.($), W(!1);
50873
50873
  }
50874
50874
  }
50875
50875
  )
@@ -50925,7 +50925,7 @@ const OH = "dial-input flex w-full items-center justify-between gap-2 dial-small
50925
50925
  {
50926
50926
  id: `${i || _}-${$.value}`,
50927
50927
  label: /* @__PURE__ */ g.jsxs("span", { className: "flex w-full flex-1 pl-2 min-w-0 items-center gap-2 text-primary", children: [
50928
- $.icon && /* @__PURE__ */ g.jsx(_e, { icon: $.icon }),
50928
+ $.icon && /* @__PURE__ */ g.jsx(Ue, { icon: $.icon }),
50929
50929
  /* @__PURE__ */ g.jsx("span", { className: "truncate", children: $.label })
50930
50930
  ] }),
50931
50931
  checked: ke,
@@ -50961,7 +50961,7 @@ const OH = "dial-input flex w-full items-center justify-between gap-2 dial-small
50961
50961
  ),
50962
50962
  onClick: () => !$.disabled && ee($.value),
50963
50963
  children: /* @__PURE__ */ g.jsxs("div", { className: "flex items-center gap-2 w-full", children: [
50964
- $.icon && /* @__PURE__ */ g.jsx(_e, { icon: $.icon }),
50964
+ $.icon && /* @__PURE__ */ g.jsx(Ue, { icon: $.icon }),
50965
50965
  /* @__PURE__ */ g.jsx(bt, { text: $.label }),
50966
50966
  $.description && /* @__PURE__ */ g.jsx("div", { className: "text-secondary dial-small-text", children: $.description })
50967
50967
  ] })
@@ -50971,13 +50971,13 @@ const OH = "dial-input flex w-full items-center justify-between gap-2 dial-small
50971
50971
  })
50972
50972
  }
50973
50973
  ),
50974
- R && /* @__PURE__ */ g.jsx(
50974
+ S && /* @__PURE__ */ g.jsx(
50975
50975
  "div",
50976
50976
  {
50977
50977
  onClick: ($) => {
50978
50978
  A?.($), A && W(!1);
50979
50979
  },
50980
- children: typeof R == "function" ? R() : R
50980
+ children: typeof S == "function" ? S() : S
50981
50981
  }
50982
50982
  )
50983
50983
  ]
@@ -51036,7 +51036,7 @@ const OH = "dial-input flex w-full items-center justify-between gap-2 dial-small
51036
51036
  }
51037
51037
  ) }) : /* @__PURE__ */ g.jsx("div", { className: "flex w-full min-w-0 items-center gap-2 text-primary", children: Vt() }),
51038
51038
  !T && /* @__PURE__ */ g.jsx(
51039
- _e,
51039
+ Ue,
51040
51040
  {
51041
51041
  icon: VH,
51042
51042
  className: ce("text-primary", I && "rotate-180")
@@ -51692,9 +51692,9 @@ const tG = function(t, i, s) {
51692
51692
  ), y = D(
51693
51693
  (V) => o && V?.length > o,
51694
51694
  [o]
51695
- ), F = z(() => v || w || y(f), [v, w, y, f]), R = () => {
51695
+ ), F = z(() => v || w || y(f), [v, w, y, f]), S = () => {
51696
51696
  m([]), C(!1), b(!1);
51697
- }, S = z(() => v ? /* @__PURE__ */ g.jsx(Si, { text: a }) : w ? /* @__PURE__ */ g.jsx(Si, { text: c }) : y(f) ? /* @__PURE__ */ g.jsx(Si, { text: l }) : null, [
51697
+ }, R = z(() => v ? /* @__PURE__ */ g.jsx(Si, { text: a }) : w ? /* @__PURE__ */ g.jsx(Si, { text: c }) : y(f) ? /* @__PURE__ */ g.jsx(Si, { text: l }) : null, [
51698
51698
  l,
51699
51699
  a,
51700
51700
  c,
@@ -51704,14 +51704,14 @@ const tG = function(t, i, s) {
51704
51704
  w
51705
51705
  ]);
51706
51706
  we(() => {
51707
- R();
51707
+ S();
51708
51708
  }, [n]);
51709
51709
  const [{ isOver: E, canDrop: T }, P] = Kv(
51710
51710
  () => ({
51711
51711
  accept: [mg],
51712
51712
  drop(V) {
51713
51713
  const _ = V.files;
51714
- !d?.(_) && !u?.(_) && !y(_) && e(_), R();
51714
+ !d?.(_) && !u?.(_) && !y(_) && e(_), S();
51715
51715
  },
51716
51716
  collect: (V) => ({
51717
51717
  isOver: V.isOver(),
@@ -51726,7 +51726,7 @@ const tG = function(t, i, s) {
51726
51726
  const _ = Array.from(V.dataTransfer?.items ?? []);
51727
51727
  C(!!d?.(_)), b(!!u?.(_)), m(_);
51728
51728
  }, Y = (V) => {
51729
- V.target === V.currentTarget && R();
51729
+ V.target === V.currentTarget && S();
51730
51730
  }, N = ce(
51731
51731
  "border border-dashed rounded w-full cursor-pointer relative h-full hover:border-hover",
51732
51732
  !T && !F && "border-primary",
@@ -51778,7 +51778,7 @@ const tG = function(t, i, s) {
51778
51778
  ]
51779
51779
  }
51780
51780
  ),
51781
- /* @__PURE__ */ g.jsx(g.Fragment, { children: S })
51781
+ /* @__PURE__ */ g.jsx(g.Fragment, { children: R })
51782
51782
  ] });
51783
51783
  }, sG = ({
51784
51784
  iconBefore: e,
@@ -51858,32 +51858,32 @@ const tG = function(t, i, s) {
51858
51858
  const C = B(null), w = () => C.current?.click(), b = () => {
51859
51859
  e([]);
51860
51860
  }, x = D(
51861
- (S) => S?.some(
51861
+ (R) => R?.some(
51862
51862
  (E) => !(h === "/" || h?.toLowerCase()?.includes(E?.type?.toLowerCase()))
51863
51863
  ),
51864
51864
  [h]
51865
51865
  ), y = D(
51866
- (S) => {
51866
+ (R) => {
51867
51867
  if (!o)
51868
51868
  return !1;
51869
51869
  const E = o * (1024 * 1024);
51870
- return S?.some((T) => {
51870
+ return R?.some((T) => {
51871
51871
  const P = T.size;
51872
51872
  return !!P && P > E;
51873
51873
  });
51874
51874
  },
51875
51875
  [o]
51876
51876
  ), F = D(
51877
- (S) => {
51877
+ (R) => {
51878
51878
  if (!r || !u)
51879
51879
  return !1;
51880
51880
  const E = r * 1024 * 1024;
51881
- return S.reduce((P, A) => P + A.size, 0) > E;
51881
+ return R.reduce((P, A) => P + A.size, 0) > E;
51882
51882
  },
51883
51883
  [r, u]
51884
- ), R = D(
51885
- (S) => {
51886
- const E = S.target.files;
51884
+ ), S = D(
51885
+ (R) => {
51886
+ const E = R.target.files;
51887
51887
  if (E && E.length > 0) {
51888
51888
  const T = Array.from(E), P = x(T), A = y(T);
51889
51889
  !P && !A && e([...s || [], ...T]);
@@ -51930,7 +51930,7 @@ const tG = function(t, i, s) {
51930
51930
  ref: C,
51931
51931
  hidden: !0,
51932
51932
  accept: h,
51933
- onChange: R
51933
+ onChange: S
51934
51934
  }
51935
51935
  ),
51936
51936
  /* @__PURE__ */ g.jsx(
@@ -52004,7 +52004,7 @@ const ov = ({
52004
52004
  nameColumnLabel: p = "Name",
52005
52005
  actionColumnLabel: f = "Action"
52006
52006
  }) => {
52007
- const m = o.length === 1, v = m ? o[0]?.name : "", C = c?.[ft.Replace] ?? "Replace", w = c?.[ft.Duplicate] ?? "Duplicate", b = c?.[ft.Cancel] ?? "Cancel", x = d?.[Zt.ReplaceAll] ?? "Replace all", y = d?.[Zt.DuplicateAll] ?? "Duplicate all", F = d?.[Zt.DecideForEach] ?? "Decide for each", [R, S] = M(
52007
+ const m = o.length === 1, v = m ? o[0]?.name : "", C = c?.[ft.Replace] ?? "Replace", w = c?.[ft.Duplicate] ?? "Duplicate", b = c?.[ft.Cancel] ?? "Cancel", x = d?.[Zt.ReplaceAll] ?? "Replace all", y = d?.[Zt.DuplicateAll] ?? "Duplicate all", F = d?.[Zt.DecideForEach] ?? "Decide for each", [S, R] = M(
52008
52008
  ft.Replace
52009
52009
  ), [E, T] = M(
52010
52010
  Zt.ReplaceAll
@@ -52184,7 +52184,7 @@ const ov = ({
52184
52184
  L
52185
52185
  ]
52186
52186
  ), K = D(() => {
52187
- S(ft.Replace), T(Zt.ReplaceAll), A(
52187
+ R(ft.Replace), T(Zt.ReplaceAll), A(
52188
52188
  new Map(
52189
52189
  o.map((G) => [
52190
52190
  G.path,
@@ -52196,7 +52196,7 @@ const ov = ({
52196
52196
  K(), t();
52197
52197
  }, [K, t]), Ce = D(() => {
52198
52198
  if (K(), m)
52199
- R === ft.Replace ? i() : s();
52199
+ S === ft.Replace ? i() : s();
52200
52200
  else if (E === Zt.ReplaceAll)
52201
52201
  i();
52202
52202
  else if (E === Zt.DuplicateAll)
@@ -52213,7 +52213,7 @@ const ov = ({
52213
52213
  }, [
52214
52214
  K,
52215
52215
  m,
52216
- R,
52216
+ S,
52217
52217
  i,
52218
52218
  s,
52219
52219
  E,
@@ -52242,9 +52242,9 @@ const ov = ({
52242
52242
  {
52243
52243
  elementId: "single-file-conflict",
52244
52244
  radioButtons: ne,
52245
- activeRadioButton: R,
52245
+ activeRadioButton: S,
52246
52246
  orientation: vo.Column,
52247
- onChange: (G) => S(G)
52247
+ onChange: (G) => R(G)
52248
52248
  }
52249
52249
  ) : /* @__PURE__ */ g.jsx(
52250
52250
  Su,
@@ -52287,7 +52287,7 @@ const ov = ({
52287
52287
  menu: { items: d },
52288
52288
  className: oe("sticky right-0", n),
52289
52289
  children: /* @__PURE__ */ g.jsx(
52290
- _e,
52290
+ Ue,
52291
52291
  {
52292
52292
  className: "text-secondary mx-2 flex flex-row gap-2 hover:text-accent-primary cursor-default",
52293
52293
  icon: /* @__PURE__ */ g.jsx(Do, { ...ie })
@@ -55111,19 +55111,19 @@ const NG = (e, t, i, s, n) => {
55111
55111
  l.current = !1, o(!1), s([]), a(null);
55112
55112
  }, []), u = D(
55113
55113
  (b, x) => {
55114
- const y = e(b), F = new Set(y.map(vu)), R = x.filter((S) => F.has(S.name));
55114
+ const y = e(b), F = new Set(y.map(vu)), S = x.filter((R) => F.has(R.name));
55115
55115
  return {
55116
- hasConflicts: R.length > 0,
55117
- conflicts: R
55116
+ hasConflicts: S.length > 0,
55117
+ conflicts: S
55118
55118
  };
55119
55119
  },
55120
55120
  [e]
55121
55121
  ), h = D(
55122
55122
  (b, x, y, F) => {
55123
- const R = e(b), S = new Set(R.map(vu));
55123
+ const S = e(b), R = new Set(S.map(vu));
55124
55124
  return x.map((E) => {
55125
- const T = E.name, P = S.has(T), A = y && P ? T : dv(T, S, E.nodeType);
55126
- return (!y || !P) && S.add(A), {
55125
+ const T = E.name, P = R.has(T), A = y && P ? T : dv(T, R, E.nodeType);
55126
+ return (!y || !P) && R.add(A), {
55127
55127
  sourceUrl: E.path,
55128
55128
  destinationUrl: `${b}/${A}`,
55129
55129
  overwrite: y && P,
@@ -55135,10 +55135,10 @@ const NG = (e, t, i, s, n) => {
55135
55135
  [e]
55136
55136
  ), p = D(
55137
55137
  (b, x, y, F) => {
55138
- const R = e(b), S = new Set(R.map(vu));
55138
+ const S = e(b), R = new Set(S.map(vu));
55139
55139
  return x.filter((T) => y.get(T.path) !== ft.Cancel).map((T) => {
55140
- const P = y.get(T.path), A = S.has(T.name), H = P === ft.Replace && A, Y = H ? T.name : dv(T.name, S, T.nodeType);
55141
- return H || S.add(Y), {
55140
+ const P = y.get(T.path), A = R.has(T.name), H = P === ft.Replace && A, Y = H ? T.name : dv(T.name, R, T.nodeType);
55141
+ return H || R.add(Y), {
55142
55142
  sourceUrl: T.path,
55143
55143
  destinationUrl: `${b}/${Y}`,
55144
55144
  overwrite: H,
@@ -55192,8 +55192,8 @@ const NG = (e, t, i, s, n) => {
55192
55192
  x,
55193
55193
  b,
55194
55194
  new Map(
55195
- i.map((R) => [
55196
- R.path,
55195
+ i.map((S) => [
55196
+ S.path,
55197
55197
  ft.Cancel
55198
55198
  ])
55199
55199
  ),
@@ -55209,15 +55209,15 @@ const NG = (e, t, i, s, n) => {
55209
55209
  ]), w = D(
55210
55210
  (b) => {
55211
55211
  if (!r) return;
55212
- const { files: x, destinationFolder: y, metadata: F } = r, R = new Map(
55212
+ const { files: x, destinationFolder: y, metadata: F } = r, S = new Map(
55213
55213
  b.map((E) => [E.file.path, E.action])
55214
- ), S = p(
55214
+ ), R = p(
55215
55215
  y,
55216
55216
  x,
55217
- R,
55217
+ S,
55218
55218
  F
55219
55219
  );
55220
- t?.(S, y), d();
55220
+ t?.(R, y), d();
55221
55221
  },
55222
55222
  [
55223
55223
  r,
@@ -55255,8 +55255,8 @@ const NG = (e, t, i, s, n) => {
55255
55255
  conflictingFiles: x,
55256
55256
  conflictResolutionOpen: y,
55257
55257
  hasActiveConflictRef: F,
55258
- startConflictResolution: R,
55259
- resolveConflictsWithStrategy: S,
55258
+ startConflictResolution: S,
55259
+ resolveConflictsWithStrategy: R,
55260
55260
  closeConflictResolution: E,
55261
55261
  openConflictResolution: T,
55262
55262
  handleReplaceAll: P,
@@ -55276,11 +55276,11 @@ const NG = (e, t, i, s, n) => {
55276
55276
  u([]), p([]), b(null), C(void 0);
55277
55277
  }, []), V = D(
55278
55278
  (J) => {
55279
- const de = R(J, d, {
55279
+ const de = S(J, d, {
55280
55280
  type: mt.Copy
55281
55281
  });
55282
55282
  if (b({ type: mt.Copy }), !de.hasConflicts) {
55283
- const ye = S(
55283
+ const ye = R(
55284
55284
  J,
55285
55285
  d,
55286
55286
  !1
@@ -55290,8 +55290,8 @@ const NG = (e, t, i, s, n) => {
55290
55290
  },
55291
55291
  [
55292
55292
  d,
55293
- R,
55294
55293
  S,
55294
+ R,
55295
55295
  t,
55296
55296
  s,
55297
55297
  N
@@ -55299,11 +55299,11 @@ const NG = (e, t, i, s, n) => {
55299
55299
  ), _ = D(
55300
55300
  (J, de) => {
55301
55301
  const ye = de || (w?.sourceFolder ?? "/");
55302
- if (!R(J, h, {
55302
+ if (!S(J, h, {
55303
55303
  type: mt.Move,
55304
55304
  sourceFolderPath: ye
55305
55305
  }).hasConflicts) {
55306
- const k = S(
55306
+ const k = R(
55307
55307
  J,
55308
55308
  h,
55309
55309
  !0
@@ -55313,8 +55313,8 @@ const NG = (e, t, i, s, n) => {
55313
55313
  },
55314
55314
  [
55315
55315
  h,
55316
- R,
55317
55316
  S,
55317
+ R,
55318
55318
  i,
55319
55319
  n,
55320
55320
  N,
@@ -55333,14 +55333,14 @@ const NG = (e, t, i, s, n) => {
55333
55333
  [Y, N]
55334
55334
  ), W = D(
55335
55335
  (J) => {
55336
- const de = J.at(0)?.parentPath ?? "/", ye = S(
55336
+ const de = J.at(0)?.parentPath ?? "/", ye = R(
55337
55337
  de,
55338
55338
  J,
55339
55339
  !1
55340
55340
  );
55341
55341
  t?.(ye, de), o?.();
55342
55342
  },
55343
- [t, o, S]
55343
+ [t, o, R]
55344
55344
  ), K = D(
55345
55345
  (J) => {
55346
55346
  m(J), c(!0);
@@ -55472,10 +55472,10 @@ const NG = (e, t, i, s, n) => {
55472
55472
  ({ fileContent: ee, name: ue }) => jb(s, ee.type, ue)
55473
55473
  ),
55474
55474
  [s]
55475
- ), R = D(() => {
55475
+ ), S = D(() => {
55476
55476
  b(/* @__PURE__ */ new Map()), y(null);
55477
55477
  }, []), {
55478
- conflictingFiles: S,
55478
+ conflictingFiles: R,
55479
55479
  conflictResolutionOpen: E,
55480
55480
  hasActiveConflictRef: T,
55481
55481
  startConflictResolution: P,
@@ -55489,7 +55489,7 @@ const NG = (e, t, i, s, n) => {
55489
55489
  getDestinationFiles: () => v.current,
55490
55490
  onResolve: (k, ee) => {
55491
55491
  if (!r || !C) {
55492
- R();
55492
+ S();
55493
55493
  return;
55494
55494
  }
55495
55495
  if (!x) return;
@@ -55507,15 +55507,15 @@ const NG = (e, t, i, s, n) => {
55507
55507
  const { fileContent: Fe, name: be } = ue[0];
55508
55508
  o?.(Fe, be, ee);
55509
55509
  } else ue.length > 0 && e?.(ue, ee);
55510
- R();
55510
+ S();
55511
55511
  }
55512
55512
  });
55513
55513
  we(() => {
55514
- r && C || (c(!1), u(!1), p(void 0), A(), R());
55514
+ r && C || (c(!1), u(!1), p(void 0), A(), S());
55515
55515
  }, [
55516
55516
  r,
55517
55517
  A,
55518
- R,
55518
+ S,
55519
55519
  C
55520
55520
  ]), we(() => {
55521
55521
  if (!r || !C) return;
@@ -55577,7 +55577,7 @@ const NG = (e, t, i, s, n) => {
55577
55577
  const he = ne(k, ee);
55578
55578
  return y({ destinationFolder: ee }), P(ee, he, {
55579
55579
  destinationFolder: ee
55580
- }).hasConflicts ? !1 : (e?.(k, ee), R(), !0);
55580
+ }).hasConflicts ? !1 : (e?.(k, ee), S(), !0);
55581
55581
  },
55582
55582
  [
55583
55583
  r,
@@ -55588,23 +55588,23 @@ const NG = (e, t, i, s, n) => {
55588
55588
  n,
55589
55589
  ne,
55590
55590
  P,
55591
- R,
55591
+ S,
55592
55592
  C
55593
55593
  ]
55594
55594
  ), I = D(() => {
55595
- Y(), R();
55596
- }, [Y, R]), W = D(() => {
55597
- N(), R();
55598
- }, [N, R]), K = D(() => {
55599
- V(), R();
55600
- }, [V, R]), re = D(
55595
+ Y(), S();
55596
+ }, [Y, S]), W = D(() => {
55597
+ N(), S();
55598
+ }, [N, S]), K = D(() => {
55599
+ V(), S();
55600
+ }, [V, S]), re = D(
55601
55601
  (k) => {
55602
- _(k), R();
55602
+ _(k), S();
55603
55603
  },
55604
- [_, R]
55604
+ [_, S]
55605
55605
  ), Ce = D(() => {
55606
- A(), T.current || R();
55607
- }, [A, T, R]), G = D(
55606
+ A(), T.current || S();
55607
+ }, [A, T, S]), G = D(
55608
55608
  (k) => {
55609
55609
  !r || !C || (k.preventDefault(), k.stopPropagation(), k.dataTransfer.types.includes("Files") && c(!0));
55610
55610
  },
@@ -55758,7 +55758,7 @@ const NG = (e, t, i, s, n) => {
55758
55758
  openFileDialog: de,
55759
55759
  openArchiveDialog: ye,
55760
55760
  fileInputRef: f,
55761
- uploadConflictingFiles: S,
55761
+ uploadConflictingFiles: R,
55762
55762
  uploadConflictResolutionOpen: E,
55763
55763
  hasActiveUploadConflictRef: T,
55764
55764
  openUploadConflictResolution: H,
@@ -56131,20 +56131,20 @@ function iB({
56131
56131
  o ?? c ?? ""
56132
56132
  ).trim(), C = h.current && (n || s.length > 0 || v !== ""), w = D(
56133
56133
  (F) => {
56134
- const R = F.trim();
56135
- if (!R) {
56134
+ const S = F.trim();
56135
+ if (!S) {
56136
56136
  h.current = !1, u.current = !1;
56137
56137
  return;
56138
56138
  }
56139
- h.current = !0, e && i && !u.current && (u.current = !0, e(i, R));
56139
+ h.current = !0, e && i && !u.current && (u.current = !0, e(i, S));
56140
56140
  },
56141
56141
  [e, i]
56142
56142
  ), b = D(() => {
56143
56143
  u.current = !1, h.current = !1, p.current = [], d(""), r?.(""), t?.();
56144
56144
  }, [t, r]), x = D(
56145
56145
  (F) => {
56146
- const R = String(F ?? "");
56147
- d(R), r?.(R), R.trim() ? w(R) : b();
56146
+ const S = String(F ?? "");
56147
+ d(S), r?.(S), S.trim() ? w(S) : b();
56148
56148
  },
56149
56149
  [r, w, b]
56150
56150
  );
@@ -56160,8 +56160,8 @@ function iB({
56160
56160
  }, [s, n]);
56161
56161
  const y = z(() => {
56162
56162
  if (e) {
56163
- const R = n ? p.current : s;
56164
- return !v || R.length === 0 ? R : hv(R, v);
56163
+ const S = n ? p.current : s;
56164
+ return !v || S.length === 0 ? S : hv(S, v);
56165
56165
  }
56166
56166
  if (!v || !a.length)
56167
56167
  return [];
@@ -56237,8 +56237,8 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56237
56237
  destinationFolderPopupOptions: x,
56238
56238
  conflictResolutionPopupOptions: y,
56239
56239
  onPathChange: F,
56240
- onTableFileClick: R,
56241
- handleSelectionClick: S,
56240
+ onTableFileClick: S,
56241
+ handleSelectionClick: R,
56242
56242
  onGridApiChange: E,
56243
56243
  onCopyFiles: T,
56244
56244
  onMoveToFiles: P,
@@ -56274,7 +56274,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56274
56274
  getDisabledTooltip: Pe,
56275
56275
  fileTooLargeTooltip: xe,
56276
56276
  unsupportedFileTypeTooltip: Ne,
56277
- emptyStateIcon: ze,
56277
+ emptyStateIcon: We,
56278
56278
  emptyStateTitle: Vt,
56279
56279
  emptyStateDescription: Xe,
56280
56280
  sharedWithMeIds: Rt,
@@ -56306,53 +56306,53 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56306
56306
  defaultSelectedPaths: c,
56307
56307
  onSelectedPathsChange: d
56308
56308
  }), ds = B(null), jc = D(
56309
- (Ie, je, Ke) => {
56309
+ (Ie, _e, Ke) => {
56310
56310
  if (cs) {
56311
- const vi = je.lastIndexOf("/"), pd = vi >= 0 ? je.slice(vi + 1) : je, Be = vi >= 0 ? je.slice(0, vi) : "";
56311
+ const vi = _e.lastIndexOf("/"), pd = vi >= 0 ? _e.slice(vi + 1) : _e, Be = vi >= 0 ? _e.slice(0, vi) : "";
56312
56312
  ds.current = {
56313
56313
  fileNames: /* @__PURE__ */ new Set([pd]),
56314
56314
  destinationFolder: Be
56315
56315
  };
56316
56316
  }
56317
- G?.(Ie, je, Ke);
56317
+ G?.(Ie, _e, Ke);
56318
56318
  },
56319
56319
  [G, cs]
56320
56320
  ), _c = D(
56321
- (Ie, je) => {
56321
+ (Ie, _e) => {
56322
56322
  cs && (ds.current = {
56323
56323
  fileNames: new Set(Ie.map((Ke) => Ke.name)),
56324
- destinationFolder: je
56325
- }), L?.(Ie, je);
56324
+ destinationFolder: _e
56325
+ }), L?.(Ie, _e);
56326
56326
  },
56327
56327
  [L, cs]
56328
56328
  ), Uc = D(
56329
- (Ie, je, Ke) => {
56329
+ (Ie, _e, Ke) => {
56330
56330
  cs && (ds.current = {
56331
- fileNames: /* @__PURE__ */ new Set([je]),
56331
+ fileNames: /* @__PURE__ */ new Set([_e]),
56332
56332
  destinationFolder: Ke
56333
- }), Ce?.(Ie, je, Ke);
56333
+ }), Ce?.(Ie, _e, Ke);
56334
56334
  },
56335
56335
  [Ce, cs]
56336
56336
  ), $c = z(() => {
56337
56337
  const Ie = /* @__PURE__ */ new Map();
56338
- return Ui.forEach((je) => {
56339
- const Ke = is(s, je);
56340
- Ke && Ie.set(je, Ke);
56338
+ return Ui.forEach((_e) => {
56339
+ const Ke = is(s, _e);
56340
+ Ke && Ie.set(_e, Ke);
56341
56341
  }), Ie;
56342
56342
  }, [Ui, s]);
56343
56343
  we(() => {
56344
56344
  if (Ui.size === 0) return;
56345
56345
  let Ie = !1;
56346
- for (const je of Ui)
56347
- if (!is(s, je)) {
56346
+ for (const _e of Ui)
56347
+ if (!is(s, _e)) {
56348
56348
  Ie = !0;
56349
56349
  break;
56350
56350
  }
56351
56351
  if (Ie) {
56352
- const je = /* @__PURE__ */ new Set();
56352
+ const _e = /* @__PURE__ */ new Set();
56353
56353
  for (const Ke of Ui)
56354
- is(s, Ke) && je.add(Ke);
56355
- js(je);
56354
+ is(s, Ke) && _e.add(Ke);
56355
+ js(_e);
56356
56356
  }
56357
56357
  }, [s, Ui, js]);
56358
56358
  const { currentPath: lt, setCurrentPath: qc, handlePathChange: Ft } = VG({
@@ -56363,10 +56363,10 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56363
56363
  }), zo = z(() => {
56364
56364
  const {
56365
56365
  showFiles: Ie = !0,
56366
- showFolders: je = !0,
56366
+ showFolders: _e = !0,
56367
56367
  ...Ke
56368
56368
  } = C || {};
56369
- return { showFiles: Ie, showFolders: je, ...Ke };
56369
+ return { showFiles: Ie, showFolders: _e, ...Ke };
56370
56370
  }, [C]), Wo = zo.showFiles, jo = zo.showFolders, [Tn, In] = M(), Kc = x?.destinationFolderPath ?? Tn, Mn = D(
56371
56371
  (Ie) => {
56372
56372
  x?.setDestinationFolderPath ? x.setDestinationFolderPath(Ie) : In(Ie);
@@ -56488,18 +56488,18 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56488
56488
  }), Ea = D(
56489
56489
  (Ie) => {
56490
56490
  Et();
56491
- const je = lt ?? "", Ke = pt?.items ?? [];
56492
- Ko(Ie, je, Ke);
56491
+ const _e = lt ?? "", Ke = pt?.items ?? [];
56492
+ Ko(Ie, _e, Ke);
56493
56493
  },
56494
56494
  [lt, pt, Ko, Et]
56495
56495
  ), Da = D(() => {
56496
56496
  Et();
56497
- const Ie = lt ?? "", je = pt?.items ?? [];
56498
- ba(Ie, je);
56497
+ const Ie = lt ?? "", _e = pt?.items ?? [];
56498
+ ba(Ie, _e);
56499
56499
  }, [lt, pt, ba, Et]), Q = D(() => {
56500
56500
  Et();
56501
- const Ie = lt ?? "", je = pt?.items ?? [];
56502
- Vn(Ie, je);
56501
+ const Ie = lt ?? "", _e = pt?.items ?? [];
56502
+ Vn(Ie, _e);
56503
56503
  }, [lt, pt, Vn, Et]), Je = D(() => {
56504
56504
  Et(), Ws?.(lt, pt);
56505
56505
  }, [Ws, lt, pt, Et]), st = D(() => {
@@ -56573,8 +56573,8 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56573
56573
  owner: void 0
56574
56574
  }), Zo;
56575
56575
  }
56576
- const Ie = fo(Ln).trim(), je = pt?.items ?? [];
56577
- let Ke = Ie ? kG(pt) : je;
56576
+ const Ie = fo(Ln).trim(), _e = pt?.items ?? [];
56577
+ let Ke = Ie ? kG(pt) : _e;
56578
56578
  Wo || (Ke = Ke.filter((Be) => Be.nodeType !== Se.ITEM)), jo || (Ke = Ke.filter(
56579
56579
  (Be) => Be.nodeType !== Se.FOLDER
56580
56580
  )), qi || (Ke = Ke.filter((Be) => Ie ? !Be.path.split("/").filter(Boolean).some((et) => et.startsWith(".")) : !Wb(Be)));
@@ -56632,10 +56632,10 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56632
56632
  ds.current = null;
56633
56633
  return;
56634
56634
  }
56635
- const je = mu(s, Ie.destinationFolder);
56636
- if (!je?.items) return;
56635
+ const _e = mu(s, Ie.destinationFolder);
56636
+ if (!_e?.items) return;
56637
56637
  const Ke = /* @__PURE__ */ new Set();
56638
- for (const vi of je.items)
56638
+ for (const vi of _e.items)
56639
56639
  Ie.fileNames.has(vi.name) && Ke.add(vi.path);
56640
56640
  Ke.size > 0 && (js(Ke), ds.current = null);
56641
56641
  }, [s, lt, js]);
@@ -56651,9 +56651,9 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56651
56651
  [Ft]
56652
56652
  ), d0 = D(
56653
56653
  (Ie) => {
56654
- Ie.nodeType === Se.FOLDER ? Ft(Ie.path) : R?.(Ie);
56654
+ Ie.nodeType === Se.FOLDER ? Ft(Ie.path) : S?.(Ie);
56655
56655
  },
56656
- [Ft, R]
56656
+ [Ft, S]
56657
56657
  ), { expandedPaths: Dg, setExpandedPaths: u0, collapseAll: h0 } = qb({
56658
56658
  expandedPaths: p?.expandedPaths,
56659
56659
  onExpandedPathsChange: p?.onExpandedPathsChange
@@ -56748,8 +56748,8 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56748
56748
  handleBreadcrumbItemClick: c0,
56749
56749
  handleSearchChange: Uo,
56750
56750
  handleTableRowClick: d0,
56751
- onTableFileClick: R,
56752
- handleSelectionClick: S,
56751
+ onTableFileClick: S,
56752
+ handleSelectionClick: R,
56753
56753
  onGridApiChange: E,
56754
56754
  isDragging: Bn,
56755
56755
  uploadError: ma,
@@ -56803,7 +56803,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56803
56803
  searchResults: Fe,
56804
56804
  clearSearchResults: he,
56805
56805
  isSearchMode: _o,
56806
- emptyStateIcon: ze,
56806
+ emptyStateIcon: We,
56807
56807
  emptyStateTitle: Vt,
56808
56808
  emptyStateDescription: Xe,
56809
56809
  gridClassName: ta,
@@ -56924,7 +56924,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56924
56924
  alertProps: b,
56925
56925
  ...x
56926
56926
  }) => {
56927
- const [y, F] = M(!1), [R, S] = M(!1), E = B(null), T = Oc(), P = D((V) => {
56927
+ const [y, F] = M(!1), [S, R] = M(!1), E = B(null), T = Oc(), P = D((V) => {
56928
56928
  F(V);
56929
56929
  }, []), A = z(() => {
56930
56930
  const V = [
@@ -56933,7 +56933,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56933
56933
  label: a,
56934
56934
  icon: /* @__PURE__ */ g.jsx(Ig, { ...ie, className: "text-secondary" }),
56935
56935
  onClick: () => {
56936
- E.current?.createFolder(), S(!1);
56936
+ E.current?.createFolder(), R(!1);
56937
56937
  }
56938
56938
  }
56939
56939
  ];
@@ -56942,7 +56942,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56942
56942
  label: c,
56943
56943
  icon: /* @__PURE__ */ g.jsx(tc, { ...ie, className: "text-secondary" }),
56944
56944
  onClick: () => {
56945
- F((_) => !_), S(!1);
56945
+ F((_) => !_), R(!1);
56946
56946
  }
56947
56947
  }), V;
56948
56948
  }, [a, c, d]), H = D(
@@ -56967,8 +56967,8 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56967
56967
  Kt,
56968
56968
  {
56969
56969
  menu: { items: A },
56970
- open: R,
56971
- onOpenChange: S,
56970
+ open: S,
56971
+ onOpenChange: R,
56972
56972
  children: /* @__PURE__ */ g.jsx(
56973
56973
  Ei,
56974
56974
  {
@@ -57077,16 +57077,16 @@ function hB({
57077
57077
  const r = B(null), a = B(null), l = B(null), c = B(null), d = B([]), [u, h] = M(e.length), p = D(
57078
57078
  (v, C) => {
57079
57079
  const w = l.current?.offsetWidth ?? 0, b = c.current?.offsetWidth ?? 0, x = w + b, F = C.getBoundingClientRect().width - x - i - s * 2 - n * 2;
57080
- let R = 0, S = 0;
57080
+ let S = 0, R = 0;
57081
57081
  if (t === eo.Reverse)
57082
- for (let E = v.length - 1; E >= 0 && (R += v[E] + s, !(R > F)); E--)
57083
- S++;
57082
+ for (let E = v.length - 1; E >= 0 && (S += v[E] + s, !(S > F)); E--)
57083
+ R++;
57084
57084
  else
57085
57085
  for (const E of v) {
57086
- if (R += E + s, R > F) break;
57087
- S++;
57086
+ if (S += E + s, S > F) break;
57087
+ R++;
57088
57088
  }
57089
- h(S);
57089
+ h(R);
57090
57090
  },
57091
57091
  [s, n, t, i]
57092
57092
  );
@@ -57349,9 +57349,9 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
57349
57349
  const E = document.getElementById(h);
57350
57350
  E && E.focus();
57351
57351
  }
57352
- }, [h, x, w]), R = D(() => {
57352
+ }, [h, x, w]), S = D(() => {
57353
57353
  (!u || String(u).trim() === "") && m?.("");
57354
- }, [u, m]), S = D(() => w && x ? /* @__PURE__ */ g.jsx(
57354
+ }, [u, m]), R = D(() => w && x ? /* @__PURE__ */ g.jsx(
57355
57355
  rs,
57356
57356
  {
57357
57357
  className: "!p-[9px]",
@@ -57389,7 +57389,7 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
57389
57389
  ),
57390
57390
  "aria-label": "navigation-panel",
57391
57391
  children: [
57392
- S(),
57392
+ R(),
57393
57393
  d && /* @__PURE__ */ g.jsx(
57394
57394
  "div",
57395
57395
  {
@@ -57407,7 +57407,7 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
57407
57407
  value: u ?? "",
57408
57408
  onChange: m,
57409
57409
  disabled: p,
57410
- onBlur: R,
57410
+ onBlur: S,
57411
57411
  invalid: f,
57412
57412
  className: v,
57413
57413
  wrapperClassName: w && !x ? "pl-2.5" : "",
@@ -57681,7 +57681,7 @@ const FB = ({
57681
57681
  }
57682
57682
  return t === gi.Folder ? l(
57683
57683
  /* @__PURE__ */ g.jsx(
57684
- _e,
57684
+ Ue,
57685
57685
  {
57686
57686
  icon: /* @__PURE__ */ g.jsx(
57687
57687
  Ph,
@@ -57857,14 +57857,14 @@ const Jl = ({
57857
57857
  onSave: l
57858
57858
  });
57859
57859
  if (!s) {
57860
- const R = bg(
57860
+ const S = bg(
57861
57861
  {
57862
57862
  name: e,
57863
57863
  isFolder: t === gi.Folder
57864
57864
  },
57865
57865
  m,
57866
57866
  v
57867
- ), S = !!R;
57867
+ ), R = !!S;
57868
57868
  return t === gi.Folder ? /* @__PURE__ */ g.jsx(
57869
57869
  Jh,
57870
57870
  {
@@ -57875,8 +57875,8 @@ const Jl = ({
57875
57875
  className: "max-w-[428px] truncate",
57876
57876
  sharedIndicatorClassName: h,
57877
57877
  hideTooltip: f,
57878
- isInvalidName: S,
57879
- tooltipContent: R
57878
+ isInvalidName: R,
57879
+ tooltipContent: S
57880
57880
  }
57881
57881
  ) : /* @__PURE__ */ g.jsx(
57882
57882
  Xh,
@@ -57888,8 +57888,8 @@ const Jl = ({
57888
57888
  iconSize: r,
57889
57889
  sharedIndicatorClassName: h,
57890
57890
  hideTooltip: f,
57891
- isInvalidName: S,
57892
- tooltipContent: R
57891
+ isInvalidName: R,
57892
+ tooltipContent: S
57893
57893
  }
57894
57894
  );
57895
57895
  }
@@ -57934,11 +57934,11 @@ const Jl = ({
57934
57934
  forbiddenSymbolsRegExp: x,
57935
57935
  forbiddenSymbolsTooltip: y
57936
57936
  }) => {
57937
- const { expandedPaths: F, togglePath: R } = qb({
57937
+ const { expandedPaths: F, togglePath: S } = qb({
57938
57938
  expandedPaths: i ?? /* @__PURE__ */ new Set(),
57939
57939
  onExpandedPathsChange: b
57940
- }), S = (T) => {
57941
- f?.(T), R(T.path);
57940
+ }), R = (T) => {
57941
+ f?.(T), S(T.path);
57942
57942
  }, E = (T, P) => T.map((A) => {
57943
57943
  const { path: H, nodeType: Y, name: N, items: V } = A, _ = Y === Se.FOLDER;
57944
57944
  if (!d && Wb(A)) return null;
@@ -57970,14 +57970,14 @@ const Jl = ({
57970
57970
  "div",
57971
57971
  {
57972
57972
  className: "absolute size-full left-0 top-0 z-0",
57973
- onClick: () => S(A)
57973
+ onClick: () => R(A)
57974
57974
  }
57975
57975
  ),
57976
57976
  /* @__PURE__ */ g.jsx(
57977
57977
  "div",
57978
57978
  {
57979
57979
  className: "relative flex flex-row truncate items-center w-fit h-6 gap-x-1 pl-1",
57980
- onClick: () => !W && S(A),
57980
+ onClick: () => !W && R(A),
57981
57981
  children: /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
57982
57982
  _ && /* @__PURE__ */ g.jsx(
57983
57983
  dx,
@@ -58024,7 +58024,7 @@ const Jl = ({
58024
58024
  menu: { items: Oe },
58025
58025
  className: "sticky right-0",
58026
58026
  children: /* @__PURE__ */ g.jsx(
58027
- _e,
58027
+ Ue,
58028
58028
  {
58029
58029
  className: "invisible group-hover/item:visible text-secondary mx-2 flex flex-row gap-2 hover:text-accent-primary",
58030
58030
  icon: /* @__PURE__ */ g.jsx(Do, { ...ie })
@@ -58300,7 +58300,7 @@ const Yb = ({
58300
58300
  getDisplayName: x,
58301
58301
  onRenameValidate: y,
58302
58302
  onRenameSave: F,
58303
- onRenameCancel: R
58303
+ onRenameCancel: S
58304
58304
  } = n.context;
58305
58305
  if (C === go.Grid && w === n.data?.path && b && n.data) {
58306
58306
  const T = x(b);
@@ -58317,7 +58317,7 @@ const Yb = ({
58317
58317
  iconSize: Fs,
58318
58318
  validate: (P) => y(P, b),
58319
58319
  onSave: F,
58320
- onCancel: R,
58320
+ onCancel: S,
58321
58321
  inputContainerClassName: oe([
58322
58322
  "!h-9",
58323
58323
  s && o === Se.ITEM && "!h-10"
@@ -58536,7 +58536,7 @@ const NB = () => {
58536
58536
  const F = [];
58537
58537
  if (!e)
58538
58538
  return F;
58539
- const R = Nc(
58539
+ const S = Nc(
58540
58540
  x
58541
58541
  )?.test(y.name);
58542
58542
  e[X.AddSibling] && typeof h == "function" && y.nodeType === Se.FOLDER && F.push({
@@ -58551,7 +58551,7 @@ const NB = () => {
58551
58551
  }
58552
58552
  ),
58553
58553
  onClick: () => h(y)
58554
- }), e[X.AddChild] && typeof p == "function" && y.nodeType === Se.FOLDER && !R && F.push(
58554
+ }), e[X.AddChild] && typeof p == "function" && y.nodeType === Se.FOLDER && !S && F.push(
58555
58555
  {
58556
58556
  key: "addChild",
58557
58557
  label: e[X.AddChild],
@@ -58569,19 +58569,19 @@ const NB = () => {
58569
58569
  key: "divider",
58570
58570
  type: Hr.Divider
58571
58571
  }
58572
- ), e[X.OpenInNewTab] && typeof v == "function" && y.nodeType === Se.ITEM && !R && F.push({
58572
+ ), e[X.OpenInNewTab] && typeof v == "function" && y.nodeType === Se.ITEM && !S && F.push({
58573
58573
  key: X.OpenInNewTab,
58574
58574
  label: e[X.OpenInNewTab],
58575
58575
  icon: /* @__PURE__ */ g.jsx(bu, { ...ie, className: "text-secondary" }),
58576
58576
  onClick: () => v?.(y)
58577
58577
  });
58578
- const S = y.nodeType === Se.ITEM || y.nodeType === Se.FOLDER && b;
58579
- e[X.Duplicate] && S && !R && F.push({
58578
+ const R = y.nodeType === Se.ITEM || y.nodeType === Se.FOLDER && b;
58579
+ e[X.Duplicate] && R && !S && F.push({
58580
58580
  key: X.Duplicate,
58581
58581
  label: e[X.Duplicate],
58582
58582
  icon: /* @__PURE__ */ g.jsx(Ih, { ...ie, className: "text-secondary" }),
58583
58583
  onClick: () => t(y)
58584
- }), e[X.Copy] && !R && F.push({
58584
+ }), e[X.Copy] && !S && F.push({
58585
58585
  key: X.Copy,
58586
58586
  label: e[X.Copy],
58587
58587
  icon: /* @__PURE__ */ g.jsx(
@@ -58593,7 +58593,7 @@ const NB = () => {
58593
58593
  }
58594
58594
  ),
58595
58595
  onClick: () => i(y)
58596
- }), e[X.Move] && !R && F.push({
58596
+ }), e[X.Move] && !S && F.push({
58597
58597
  key: X.Move,
58598
58598
  label: e[X.Move],
58599
58599
  icon: /* @__PURE__ */ g.jsx(
@@ -58605,19 +58605,19 @@ const NB = () => {
58605
58605
  }
58606
58606
  ),
58607
58607
  onClick: () => s(y)
58608
- }), e[X.Download] && !R && F.push({
58608
+ }), e[X.Download] && !S && F.push({
58609
58609
  key: X.Download,
58610
58610
  label: e[X.Download],
58611
58611
  icon: /* @__PURE__ */ g.jsx(Mh, { ...ie, className: "text-secondary" }),
58612
58612
  onClick: () => n(y)
58613
- }), e[X.ManagePermissions] && typeof f == "function" && y.nodeType === Se.FOLDER && !R && F.push({
58613
+ }), e[X.ManagePermissions] && typeof f == "function" && y.nodeType === Se.FOLDER && !S && F.push({
58614
58614
  key: X.ManagePermissions,
58615
58615
  label: e[X.ManagePermissions],
58616
58616
  icon: /* @__PURE__ */ g.jsx(bu, { ...ie, className: "text-secondary" }),
58617
58617
  onClick: () => f?.(y.path)
58618
58618
  });
58619
58619
  const E = y.name.split("."), T = E.length > 1 ? E[E.length - 1] : "", P = T && C?.includes(`.${T}`);
58620
- e[X.Preview] && typeof m == "function" && y.nodeType === Se.ITEM && P && !R && F.push({
58620
+ e[X.Preview] && typeof m == "function" && y.nodeType === Se.ITEM && P && !S && F.push({
58621
58621
  key: X.Preview,
58622
58622
  label: e[X.Preview],
58623
58623
  icon: /* @__PURE__ */ g.jsx(tc, { ...ie, className: "text-secondary" }),
@@ -58636,7 +58636,7 @@ const NB = () => {
58636
58636
  label: e[X.Rename],
58637
58637
  icon: /* @__PURE__ */ g.jsx(Cv, { ...ie, className: "text-secondary" }),
58638
58638
  onClick: () => o(y.path)
58639
- }), e[X.Info] && y.nodeType === Se.ITEM && !R && F.push({
58639
+ }), e[X.Info] && y.nodeType === Se.ITEM && !S && F.push({
58640
58640
  key: X.Info,
58641
58641
  label: e[X.Info],
58642
58642
  icon: /* @__PURE__ */ g.jsx(Rh, { ...ie, className: "text-secondary" }),
@@ -58706,8 +58706,8 @@ const NB = () => {
58706
58706
  toggleHiddenFilesVisibility: x,
58707
58707
  isTreeCollapsed: y,
58708
58708
  toggleTreeCollapse: F,
58709
- currentPath: R,
58710
- gridRows: S,
58709
+ currentPath: S,
58710
+ gridRows: R,
58711
58711
  selectedPaths: E,
58712
58712
  selectedFiles: T,
58713
58713
  clearSelection: P,
@@ -58743,7 +58743,7 @@ const NB = () => {
58743
58743
  onRenameCancel: Pe,
58744
58744
  onRenameValidate: xe,
58745
58745
  forbiddenSymbolsRegExp: Ne,
58746
- forbiddenSymbolsTooltip: ze,
58746
+ forbiddenSymbolsTooltip: We,
58747
58747
  getDisplayName: Vt,
58748
58748
  isDragging: Xe,
58749
58749
  isDraggingOverWindow: Rt,
@@ -58847,10 +58847,10 @@ const NB = () => {
58847
58847
  [qo]
58848
58848
  ), _s = z(() => {
58849
58849
  const Q = /* @__PURE__ */ new Set();
58850
- for (const Je of S)
58850
+ for (const Je of R)
58851
58851
  Bn(Je, C, w) && Q.add(Je.path);
58852
58852
  return Q;
58853
- }, [C, w, S, Bn]), ma = D(
58853
+ }, [C, w, R, Bn]), ma = D(
58854
58854
  (Q) => {
58855
58855
  const Je = [], st = [], ti = !Q.parentPath, Ti = Ne?.test(
58856
58856
  Q.name
@@ -59013,7 +59013,7 @@ const NB = () => {
59013
59013
  onDelete: Ae,
59014
59014
  onUnshare: Tn,
59015
59015
  onRemoveAccess: In,
59016
- getCurrentFolderPath: () => R ?? "/",
59016
+ getCurrentFolderPath: () => S ?? "/",
59017
59017
  sharedWithMeIds: kn,
59018
59018
  sharedByMePaths: v,
59019
59019
  onClearSelection: P,
@@ -59115,10 +59115,10 @@ const NB = () => {
59115
59115
  items: i,
59116
59116
  rootItemPath: s?.path,
59117
59117
  rootItemLabel: s?.label,
59118
- selectedPath: R,
59118
+ selectedPath: S,
59119
59119
  sharedByMePaths: v,
59120
59120
  forbiddenSymbolsRegExp: Ne,
59121
- forbiddenSymbolsTooltip: ze,
59121
+ forbiddenSymbolsTooltip: We,
59122
59122
  onItemClick: V,
59123
59123
  areHiddenFilesVisible: b,
59124
59124
  getContextMenuItems: ma,
@@ -59145,10 +59145,10 @@ const NB = () => {
59145
59145
  i,
59146
59146
  s?.path,
59147
59147
  s?.label,
59148
- R,
59148
+ S,
59149
59149
  v,
59150
59150
  Ne,
59151
- ze,
59151
+ We,
59152
59152
  V,
59153
59153
  b,
59154
59154
  ma,
@@ -59272,7 +59272,7 @@ const NB = () => {
59272
59272
  selectedPaths: E,
59273
59273
  disabledRowIds: _s,
59274
59274
  forbiddenSymbolsRegExp: Ne,
59275
- forbiddenSymbolsTooltip: ze,
59275
+ forbiddenSymbolsTooltip: We,
59276
59276
  hideSearchPathItemName: Et
59277
59277
  }
59278
59278
  }),
@@ -59296,15 +59296,15 @@ const NB = () => {
59296
59296
  E,
59297
59297
  _s,
59298
59298
  Ne,
59299
- ze,
59299
+ We,
59300
59300
  Et
59301
59301
  ]
59302
59302
  ), Da = z(
59303
- () => S.length === 0 && !qi && !n ? Sa() : /* @__PURE__ */ g.jsx(
59303
+ () => R.length === 0 && !qi && !n ? Sa() : /* @__PURE__ */ g.jsx(
59304
59304
  Sb,
59305
59305
  {
59306
59306
  columnDefs: Yo,
59307
- rowData: S,
59307
+ rowData: R,
59308
59308
  getRowId: Ra,
59309
59309
  loading: n || Mn,
59310
59310
  getContextMenuItems: Vn,
@@ -59323,7 +59323,7 @@ const NB = () => {
59323
59323
  }
59324
59324
  ),
59325
59325
  [
59326
- S,
59326
+ R,
59327
59327
  qi,
59328
59328
  n,
59329
59329
  Sa,
@@ -59374,7 +59374,7 @@ const NB = () => {
59374
59374
  {
59375
59375
  ...a ?? {},
59376
59376
  makeHref: (Q) => Q.join("/"),
59377
- path: R,
59377
+ path: S,
59378
59378
  onItemClick: Y,
59379
59379
  rootItemPath: s?.path,
59380
59380
  rootItemLabel: s?.label,
@@ -59400,7 +59400,7 @@ const NB = () => {
59400
59400
  lB,
59401
59401
  {
59402
59402
  disabledGridRowIds: _s,
59403
- gridRows: S,
59403
+ gridRows: R,
59404
59404
  getDisabledTooltip: _o,
59405
59405
  getRowDisabledTooltip: qo,
59406
59406
  allowedFileTypes: C,
@@ -59446,11 +59446,11 @@ const NB = () => {
59446
59446
  onUploadFiles: Gc,
59447
59447
  onValidateUpload: Bc,
59448
59448
  maxFileSize: Vc,
59449
- path: h?.destinationFolderPath ?? h?.sourceFolder ?? R,
59449
+ path: h?.destinationFolderPath ?? h?.sourceFolder ?? S,
59450
59450
  onPathChange: (Q) => {
59451
59451
  h?.setDestinationFolderPath?.(Q);
59452
59452
  },
59453
- sourceFolder: h?.sourceFolder ?? R,
59453
+ sourceFolder: h?.sourceFolder ?? S,
59454
59454
  treeOptions: { header: o?.header },
59455
59455
  onFolderPopupPathChange: Yc,
59456
59456
  showHiddenFileSwitcher: aa,
@@ -59624,7 +59624,7 @@ function zs() {
59624
59624
  throw new Error("useSchemaContext must be used inside DialSchemaRenderer");
59625
59625
  return e;
59626
59626
  }
59627
- function Ue(e, t, i = 0) {
59627
+ function ze(e, t, i = 0) {
59628
59628
  if (!e.$ref || i > 10) return e;
59629
59629
  const s = e.$ref.replace(/^#\//, "").split("/");
59630
59630
  let n = t;
@@ -59632,7 +59632,7 @@ function Ue(e, t, i = 0) {
59632
59632
  n = n?.[c];
59633
59633
  if (!n || typeof n != "object") return e;
59634
59634
  const { $ref: o, ...r } = e, a = n;
59635
- return { ...a.$ref ? Ue(a, t, i + 1) : a, ...r };
59635
+ return { ...a.$ref ? ze(a, t, i + 1) : a, ...r };
59636
59636
  }
59637
59637
  function Hc(e) {
59638
59638
  return e == null || e === "";
@@ -59644,11 +59644,11 @@ function Sg(e) {
59644
59644
  return e.replace(/_/g, " ").replace(/([a-z])([A-Z])/g, "$1 $2").replace(/\b\w/g, (t) => t.toUpperCase());
59645
59645
  }
59646
59646
  function Qb(e, t) {
59647
- return e.type === Ze.Null ? "null" : e.$ref ? Ue(e, t).title ?? e.$ref.split("/").pop() ?? "Option" : e.title ? e.title : e.type ? Array.isArray(e.type) ? e.type.join(" | ") : e.type : e.discriminator ? Object.keys(e.discriminator.mapping).join(" | ") : e.const != null ? String(e.const) : e.oneOf ? "One of options" : "Option";
59647
+ return e.type === Ze.Null ? "null" : e.$ref ? ze(e, t).title ?? e.$ref.split("/").pop() ?? "Option" : e.title ? e.title : e.type ? Array.isArray(e.type) ? e.type.join(" | ") : e.type : e.discriminator ? Object.keys(e.discriminator.mapping).join(" | ") : e.const != null ? String(e.const) : e.oneOf ? "One of options" : "Option";
59648
59648
  }
59649
59649
  function xn(e, t, i = 0) {
59650
59650
  if (i > 15) return;
59651
- const s = Ue(e, t);
59651
+ const s = ze(e, t);
59652
59652
  if ("default" in s)
59653
59653
  return s.default;
59654
59654
  if (Go(s) && s.properties) {
@@ -59663,7 +59663,7 @@ function xn(e, t, i = 0) {
59663
59663
  }
59664
59664
  function en(e, t, i, s = "", n = 0) {
59665
59665
  if (n > 15) return [];
59666
- const o = [], r = Ue(t, i);
59666
+ const o = [], r = ze(t, i);
59667
59667
  if (r.anyOf) {
59668
59668
  const c = r.anyOf.filter(
59669
59669
  (d) => d.type !== Ze.Null
@@ -59679,7 +59679,7 @@ function en(e, t, i, s = "", n = 0) {
59679
59679
  if (r.oneOf && r.discriminator) {
59680
59680
  const c = r.discriminator.propertyName, d = e?.[c];
59681
59681
  if (d && r.discriminator.mapping[d]) {
59682
- const u = { $ref: r.discriminator.mapping[d] }, h = Ue(u, i);
59682
+ const u = { $ref: r.discriminator.mapping[d] }, h = ze(u, i);
59683
59683
  return en(
59684
59684
  e,
59685
59685
  h,
@@ -59707,14 +59707,19 @@ function en(e, t, i, s = "", n = 0) {
59707
59707
  if (!Go(r)) return o;
59708
59708
  const a = r.required ?? [], l = e;
59709
59709
  for (const c of a) {
59710
- const d = s ? `${s}.${c}` : c, u = l?.[c];
59711
- if (Hc(u)) {
59712
- const p = r.properties?.[c]?.title ?? Sg(c);
59713
- o.push({ path: d, message: `${p} is required` });
59710
+ const d = r.properties?.[c];
59711
+ if (d && ze(d, i).isHidden)
59712
+ continue;
59713
+ const u = s ? `${s}.${c}` : c, h = l?.[c];
59714
+ if (Hc(h)) {
59715
+ const p = d?.title ?? Sg(c);
59716
+ o.push({ path: u, message: `${p} is required` });
59714
59717
  }
59715
59718
  }
59716
59719
  if (l && r.properties)
59717
59720
  for (const [c, d] of Object.entries(r.properties)) {
59721
+ if (ze(d, i).isHidden)
59722
+ continue;
59718
59723
  const u = s ? `${s}.${c}` : c, h = l[c];
59719
59724
  if (h != null) {
59720
59725
  const p = en(
@@ -59730,15 +59735,17 @@ function en(e, t, i, s = "", n = 0) {
59730
59735
  return o;
59731
59736
  }
59732
59737
  function Xb(e, t, i) {
59733
- const s = Ue(t, i);
59738
+ const s = ze(t, i);
59734
59739
  if (Array.isArray(e))
59735
59740
  return `${e.length} item${e.length !== 1 ? "s" : ""}`;
59736
59741
  if (Go(s) && s.properties) {
59737
- const n = Object.keys(s.properties).length, o = e;
59738
- return `${Object.keys(s.properties).filter((a) => {
59739
- const l = o?.[a];
59740
- return l != null && l !== "";
59741
- }).length}/${n} fields`;
59742
+ const n = Object.entries(s.properties).filter(
59743
+ ([, l]) => !ze(l, i).isHidden
59744
+ ), o = n.length, r = e;
59745
+ return `${n.filter(([l]) => {
59746
+ const c = r?.[l];
59747
+ return c != null && c !== "";
59748
+ }).length}/${o} fields`;
59742
59749
  }
59743
59750
  return "";
59744
59751
  }
@@ -59748,33 +59755,33 @@ function $B(e, t, i) {
59748
59755
  return s >= 0 ? s : 0;
59749
59756
  }
59750
59757
  if (Array.isArray(e)) {
59751
- const s = t.findIndex((n) => Ue(n, i).type === Ze.Array);
59758
+ const s = t.findIndex((n) => ze(n, i).type === Ze.Array);
59752
59759
  return s >= 0 ? s : 0;
59753
59760
  }
59754
59761
  if (typeof e == "boolean") {
59755
- const s = t.findIndex((n) => Ue(n, i).type === Ze.Boolean);
59762
+ const s = t.findIndex((n) => ze(n, i).type === Ze.Boolean);
59756
59763
  return s >= 0 ? s : 0;
59757
59764
  }
59758
59765
  if (typeof e == "number") {
59759
59766
  const s = t.findIndex((n) => {
59760
- const o = Ue(n, i);
59767
+ const o = ze(n, i);
59761
59768
  return o.type === Ze.Number || o.type === Ze.Integer;
59762
59769
  });
59763
59770
  return s >= 0 ? s : 0;
59764
59771
  }
59765
59772
  if (typeof e == "string") {
59766
- const s = t.findIndex((n) => Ue(n, i).type === Ze.String);
59773
+ const s = t.findIndex((n) => ze(n, i).type === Ze.String);
59767
59774
  return s >= 0 ? s : 0;
59768
59775
  }
59769
59776
  if (typeof e == "object") {
59770
59777
  const s = e;
59771
59778
  for (let n = 0; n < t.length; n++) {
59772
- const o = Ue(t[n], i);
59779
+ const o = ze(t[n], i);
59773
59780
  if (o.discriminator && o.discriminator.propertyName in s)
59774
59781
  return n;
59775
59782
  }
59776
59783
  for (let n = 0; n < t.length; n++) {
59777
- const o = Ue(t[n], i);
59784
+ const o = ze(t[n], i);
59778
59785
  if (Go(o) || o.oneOf) return n;
59779
59786
  }
59780
59787
  return 0;
@@ -59849,12 +59856,12 @@ const Rg = ({
59849
59856
  t && /* @__PURE__ */ g.jsx(Nv, { caption: t }),
59850
59857
  i && /* @__PURE__ */ g.jsx("span", { className: "dial-tiny-text text-secondary whitespace-nowrap ml-2", children: i }),
59851
59858
  s > 0 ? /* @__PURE__ */ g.jsxs("span", { className: "flex items-center gap-1 dial-tiny-text text-error whitespace-nowrap", children: [
59852
- /* @__PURE__ */ g.jsx(_e, { icon: /* @__PURE__ */ g.jsx(Fh, { size: 13, stroke: 2 }) }),
59859
+ /* @__PURE__ */ g.jsx(Ue, { icon: /* @__PURE__ */ g.jsx(Fh, { size: 13, stroke: 2 }) }),
59853
59860
  s,
59854
59861
  " error",
59855
59862
  s > 1 ? "s" : ""
59856
59863
  ] }) : /* @__PURE__ */ g.jsx(
59857
- _e,
59864
+ Ue,
59858
59865
  {
59859
59866
  icon: /* @__PURE__ */ g.jsx(Eh, { size: 13, stroke: 2 }),
59860
59867
  className: "text-success shrink-0"
@@ -59890,7 +59897,7 @@ const Rg = ({
59890
59897
  defaultExpanded: l = !0,
59891
59898
  touchedPaths: c = /* @__PURE__ */ new Set(),
59892
59899
  skipUntouched: d = !1
59893
- } = zs(), u = Ue(e, a), h = Go(u), p = u.type === Ze.Array;
59900
+ } = zs(), u = ze(e, a), h = Go(u), p = u.type === Ze.Array;
59894
59901
  if (h || p) {
59895
59902
  const v = Xb(t, u, a), C = en(
59896
59903
  t,
@@ -59950,9 +59957,11 @@ const Rg = ({
59950
59957
  path: s,
59951
59958
  level: n
59952
59959
  }) => {
59953
- const { rootSchema: o, texts: r } = zs(), a = Ue(e, o), l = Object.entries(a.properties ?? {}), c = a.required ?? [], d = t ?? {};
59960
+ const { rootSchema: o, texts: r } = zs(), a = ze(e, o), l = Object.entries(a.properties ?? {}).filter(
59961
+ ([, u]) => !ze(u, o).isHidden
59962
+ ), c = a.required ?? [], d = t ?? {};
59954
59963
  return l.length === 0 ? /* @__PURE__ */ g.jsx("p", { className: "dial-tiny-text text-secondary italic", children: r.noConfigurableProperties }) : /* @__PURE__ */ g.jsx("div", { className: "flex flex-col gap-4", children: l.map(([u, h]) => {
59955
- const f = Ue(h, o).title ?? h.title ?? Sg(u), m = c.includes(u);
59964
+ const f = ze(h, o).title ?? h.title ?? Sg(u), m = c.includes(u);
59956
59965
  return /* @__PURE__ */ g.jsx(
59957
59966
  Jb,
59958
59967
  {
@@ -59985,7 +59994,7 @@ const Rg = ({
59985
59994
  if (!d)
59986
59995
  return /* @__PURE__ */ g.jsx("p", { className: "dial-tiny-text text-secondary italic", children: r.noItemSchema });
59987
59996
  const p = z(
59988
- () => Ue(d, o),
59997
+ () => ze(d, o),
59989
59998
  [d, o]
59990
59999
  ), f = z(
59991
60000
  () => p.discriminator,
@@ -60003,7 +60012,7 @@ const Rg = ({
60003
60012
  const x = u ?? v[0]?.value;
60004
60013
  let y;
60005
60014
  if (f && x) {
60006
- const F = Ue(
60015
+ const F = ze(
60007
60016
  { $ref: f.mapping[x] },
60008
60017
  o
60009
60018
  );
@@ -60014,12 +60023,12 @@ const Rg = ({
60014
60023
  }, w = (x) => {
60015
60024
  i(c.filter((y, F) => F !== x));
60016
60025
  }, b = (x, y) => {
60017
- i(c.map((F, R) => R === x ? y : F));
60026
+ i(c.map((F, S) => S === x ? y : F));
60018
60027
  };
60019
60028
  return /* @__PURE__ */ g.jsxs("div", { className: "flex flex-col gap-3", children: [
60020
60029
  c.length === 0 && /* @__PURE__ */ g.jsx("p", { className: "dial-tiny-text text-secondary italic", children: r.noItemsYet }),
60021
60030
  c.map((x, y) => {
60022
- const F = qB(x, m, y), R = Xb(x, p, o), S = en(
60031
+ const F = qB(x, m, y), S = Xb(x, p, o), R = en(
60023
60032
  x,
60024
60033
  p,
60025
60034
  o,
@@ -60030,8 +60039,8 @@ const Rg = ({
60030
60039
  {
60031
60040
  title: F,
60032
60041
  level: n,
60033
- summary: R,
60034
- errorCount: S.length,
60042
+ summary: S,
60043
+ errorCount: R.length,
60035
60044
  onRemove: a ? void 0 : () => w(y),
60036
60045
  defaultExpanded: l,
60037
60046
  removeItemAriaLabel: r.removeItemAriaLabel,
@@ -60084,50 +60093,50 @@ const Rg = ({
60084
60093
  const v = c.propertyName, C = c.mapping, w = Object.keys(C).map((F) => ({
60085
60094
  value: F,
60086
60095
  label: F
60087
- })), b = typeof t == "object" && t !== null ? t[v] : void 0, x = b ? Ue({ $ref: C[b] }, o) : void 0, y = (F) => {
60088
- const R = Ue({ $ref: C[F] }, o), S = xn(R, o) ?? {};
60089
- i({ ...S, [v]: F });
60096
+ })), b = typeof t == "object" && t !== null ? t[v] : void 0, x = b ? ze({ $ref: C[b] }, o) : void 0, y = (F) => {
60097
+ const S = ze({ $ref: C[F] }, o), R = xn(S, o) ?? {};
60098
+ i({ ...R, [v]: F });
60090
60099
  };
60091
60100
  if (e.discriminatorDisplay === ec.Radio) {
60092
- const F = e.discriminatorOrientation === yg.Row, R = b ? (() => {
60093
- const S = Ue(
60101
+ const F = e.discriminatorOrientation === yg.Row, S = b ? (() => {
60102
+ const R = ze(
60094
60103
  { $ref: C[b] },
60095
60104
  o
60096
- ), { [v]: E, ...T } = S.properties ?? {};
60097
- return { ...S, properties: T };
60105
+ ), { [v]: E, ...T } = R.properties ?? {};
60106
+ return { ...R, properties: T };
60098
60107
  })() : void 0;
60099
60108
  return F ? /* @__PURE__ */ g.jsxs("div", { className: "flex flex-col gap-3", children: [
60100
- /* @__PURE__ */ g.jsx("div", { role: "radiogroup", className: "flex flex-row flex-wrap gap-4", children: Object.keys(C).map((S) => {
60101
- const E = Ue(
60102
- { $ref: C[S] },
60109
+ /* @__PURE__ */ g.jsx("div", { role: "radiogroup", className: "flex flex-row flex-wrap gap-4", children: Object.keys(C).map((R) => {
60110
+ const E = ze(
60111
+ { $ref: C[R] },
60103
60112
  o
60104
60113
  );
60105
60114
  return /* @__PURE__ */ g.jsx(
60106
60115
  to,
60107
60116
  {
60108
60117
  name: l,
60109
- value: S,
60110
- inputId: `${l}-${S}`,
60111
- label: E.title ?? S,
60112
- checked: b === S,
60118
+ value: R,
60119
+ inputId: `${l}-${R}`,
60120
+ label: E.title ?? R,
60121
+ checked: b === R,
60113
60122
  disabled: a,
60114
- onChange: () => y(S)
60123
+ onChange: () => y(R)
60115
60124
  },
60116
- S
60125
+ R
60117
60126
  );
60118
60127
  }) }),
60119
- R && /* @__PURE__ */ g.jsx(
60128
+ S && /* @__PURE__ */ g.jsx(
60120
60129
  vl,
60121
60130
  {
60122
- schema: R,
60131
+ schema: S,
60123
60132
  value: t,
60124
60133
  onChange: i,
60125
60134
  path: s,
60126
60135
  level: n
60127
60136
  }
60128
60137
  )
60129
- ] }) : /* @__PURE__ */ g.jsx("div", { role: "radiogroup", className: "flex flex-col gap-2", children: Object.keys(C).map((S) => {
60130
- const E = Ue({ $ref: C[S] }, o), T = b === S, { [v]: P, ...A } = E.properties ?? {}, H = {
60138
+ ] }) : /* @__PURE__ */ g.jsx("div", { role: "radiogroup", className: "flex flex-col gap-2", children: Object.keys(C).map((R) => {
60139
+ const E = ze({ $ref: C[R] }, o), T = b === R, { [v]: P, ...A } = E.properties ?? {}, H = {
60131
60140
  ...E,
60132
60141
  properties: A
60133
60142
  };
@@ -60136,12 +60145,12 @@ const Rg = ({
60136
60145
  to,
60137
60146
  {
60138
60147
  name: l,
60139
- value: S,
60140
- inputId: `${l}-${S}`,
60141
- label: E.title ?? S,
60148
+ value: R,
60149
+ inputId: `${l}-${R}`,
60150
+ label: E.title ?? R,
60142
60151
  checked: T,
60143
60152
  disabled: a,
60144
- onChange: () => y(S)
60153
+ onChange: () => y(R)
60145
60154
  }
60146
60155
  ),
60147
60156
  T && /* @__PURE__ */ g.jsx("div", { className: "ml-6 mt-2", children: /* @__PURE__ */ g.jsx(
@@ -60154,7 +60163,7 @@ const Rg = ({
60154
60163
  level: n
60155
60164
  }
60156
60165
  ) })
60157
- ] }, S);
60166
+ ] }, R);
60158
60167
  }) });
60159
60168
  }
60160
60169
  return /* @__PURE__ */ g.jsxs("div", { className: "flex flex-col gap-3", children: [
@@ -60166,8 +60175,8 @@ const Rg = ({
60166
60175
  placeholder: r.selectTypePlaceholder,
60167
60176
  disabled: a,
60168
60177
  onChange: (F) => {
60169
- const R = typeof F == "string" ? F : F[0];
60170
- R && y(R);
60178
+ const S = typeof F == "string" ? F : F[0];
60179
+ S && y(S);
60171
60180
  }
60172
60181
  }
60173
60182
  ) }),
@@ -60187,17 +60196,17 @@ const Rg = ({
60187
60196
  if (t == null) return 0;
60188
60197
  if (typeof t == "object" && !Array.isArray(t)) {
60189
60198
  for (let v = 0; v < d.length; v++)
60190
- if (Ue(d[v], o).required?.every((w) => w in t))
60199
+ if (ze(d[v], o).required?.every((w) => w in t))
60191
60200
  return v;
60192
60201
  }
60193
60202
  return 0;
60194
60203
  })(), p = (v) => {
60195
- const C = Ue(d[v], o), w = xn(C, o);
60204
+ const C = ze(d[v], o), w = xn(C, o);
60196
60205
  i(w ?? null);
60197
60206
  }, f = d[h];
60198
60207
  if (e.discriminatorDisplay === ec.Radio)
60199
60208
  return /* @__PURE__ */ g.jsx("div", { role: "radiogroup", className: "flex flex-col gap-2", children: d.map((v, C) => {
60200
- const w = Ue(v, o), b = Qb(v, o) ?? `Option ${C + 1}`, x = h === C;
60209
+ const w = ze(v, o), b = Qb(v, o) ?? `Option ${C + 1}`, x = h === C;
60201
60210
  return /* @__PURE__ */ g.jsxs("div", { className: "flex flex-col", children: [
60202
60211
  /* @__PURE__ */ g.jsx(
60203
60212
  to,
@@ -60224,7 +60233,7 @@ const Rg = ({
60224
60233
  ] }, C);
60225
60234
  }) });
60226
60235
  const m = d.map((v, C) => {
60227
- const w = Ue(v, o);
60236
+ const w = ze(v, o);
60228
60237
  return { value: String(C), label: w.title ?? `Option ${C + 1}` };
60229
60238
  });
60230
60239
  return /* @__PURE__ */ g.jsxs("div", { className: "flex flex-col gap-3", children: [
@@ -60261,8 +60270,8 @@ const Rg = ({
60261
60270
  const { rootSchema: o, readonly: r = !1 } = zs(), a = e.anyOf ?? [], l = a.map((f, m) => ({
60262
60271
  value: String(m),
60263
60272
  label: Qb(f, o)
60264
- })), c = $B(t, a, o), d = a[c], h = Ue(d, o).type === Ze.Null, p = (f) => {
60265
- const m = Ue(a[f], o);
60273
+ })), c = $B(t, a, o), d = a[c], h = ze(d, o).type === Ze.Null, p = (f) => {
60274
+ const m = ze(a[f], o);
60266
60275
  if (m.type === Ze.Null) {
60267
60276
  i(null);
60268
60277
  return;
@@ -60557,7 +60566,7 @@ const Rg = ({
60557
60566
  },
60558
60567
  touchedPaths: d = /* @__PURE__ */ new Set(),
60559
60568
  skipUntouched: u = !1
60560
- } = zs(), h = Ue(e, a), p = (v) => {
60569
+ } = zs(), h = ze(e, a), p = (v) => {
60561
60570
  c(s.join(".")), i(v);
60562
60571
  }, f = !u || d.has(s.join("."));
60563
60572
  let m;
@@ -60649,16 +60658,18 @@ const Rg = ({
60649
60658
  [i]
60650
60659
  ), f = z(() => t || (xn(e, e) ?? {}), []), [m, v] = M(f), [C, w] = M(
60651
60660
  /* @__PURE__ */ new Set()
60652
- ), b = D((R) => {
60653
- w((S) => S.has(R) ? S : /* @__PURE__ */ new Set([...S, R]));
60661
+ ), b = D((S) => {
60662
+ w((R) => R.has(S) ? R : /* @__PURE__ */ new Set([...R, S]));
60654
60663
  }, []);
60655
60664
  we(() => {
60656
60665
  d?.(f);
60657
60666
  }, []);
60658
- const x = (R, S) => {
60659
- const E = { ...m, [R]: S };
60660
- v(E), l?.(E), c?.(R, S);
60661
- }, y = Object.entries(e.properties ?? {}), F = e.required ?? [];
60667
+ const x = (S, R) => {
60668
+ const E = { ...m, [S]: R };
60669
+ v(E), l?.(E), c?.(S, R);
60670
+ }, y = Object.entries(e.properties ?? {}).filter(
60671
+ ([, S]) => !ze(S, e).isHidden
60672
+ ), F = e.required ?? [];
60662
60673
  return /* @__PURE__ */ g.jsx(
60663
60674
  Zb.Provider,
60664
60675
  {
@@ -60673,21 +60684,21 @@ const Rg = ({
60673
60684
  markTouched: b,
60674
60685
  skipUntouched: h
60675
60686
  },
60676
- children: /* @__PURE__ */ g.jsx("div", { className: oe("flex flex-col gap-4", s), children: y.map(([R, S]) => {
60677
- const E = Ue(S, e), T = E.title ?? S.title ?? Sg(R), P = F.includes(R), A = m[R];
60687
+ children: /* @__PURE__ */ g.jsx("div", { className: oe("flex flex-col gap-4", s), children: y.map(([S, R]) => {
60688
+ const E = ze(R, e), T = E.title ?? R.title ?? Sg(S), P = F.includes(S), A = m[S];
60678
60689
  if (a === ml.Flat)
60679
60690
  return /* @__PURE__ */ g.jsx(
60680
60691
  Jb,
60681
60692
  {
60682
- schema: S,
60693
+ schema: R,
60683
60694
  value: A,
60684
- onChange: (V) => x(R, V),
60685
- path: [R],
60695
+ onChange: (V) => x(S, V),
60696
+ path: [S],
60686
60697
  level: 0,
60687
60698
  required: P,
60688
60699
  label: T
60689
60700
  },
60690
- R
60701
+ S
60691
60702
  );
60692
60703
  if (a === ml.FlatSections)
60693
60704
  return /* @__PURE__ */ g.jsxs("div", { className: "flex flex-col gap-3", children: [
@@ -60695,16 +60706,16 @@ const Rg = ({
60695
60706
  /* @__PURE__ */ g.jsx(
60696
60707
  Ls,
60697
60708
  {
60698
- schema: S,
60709
+ schema: R,
60699
60710
  value: A,
60700
- onChange: (V) => x(R, V),
60701
- path: [R],
60711
+ onChange: (V) => x(S, V),
60712
+ path: [S],
60702
60713
  level: 0,
60703
60714
  required: P
60704
60715
  }
60705
60716
  )
60706
- ] }, R);
60707
- const H = en(A, E, e, R), Y = R + ".", N = !h || C.has(R) || [...C].some((V) => V.startsWith(Y));
60717
+ ] }, S);
60718
+ const H = en(A, E, e, S), Y = S + ".", N = !h || C.has(S) || [...C].some((V) => V.startsWith(Y));
60708
60719
  return /* @__PURE__ */ g.jsx(
60709
60720
  Rg,
60710
60721
  {
@@ -60716,16 +60727,16 @@ const Rg = ({
60716
60727
  children: /* @__PURE__ */ g.jsx(
60717
60728
  Ls,
60718
60729
  {
60719
- schema: S,
60730
+ schema: R,
60720
60731
  value: A,
60721
- onChange: (V) => x(R, V),
60722
- path: [R],
60732
+ onChange: (V) => x(S, V),
60733
+ path: [S],
60723
60734
  level: 1,
60724
60735
  required: P
60725
60736
  }
60726
60737
  )
60727
60738
  },
60728
- R
60739
+ S
60729
60740
  );
60730
60741
  }) })
60731
60742
  }
@@ -60772,7 +60783,7 @@ export {
60772
60783
  Pb as DialGhostButton,
60773
60784
  mV as DialGhostIconButton,
60774
60785
  Sb as DialGrid,
60775
- _e as DialIcon,
60786
+ Ue as DialIcon,
60776
60787
  Sn as DialIconButton,
60777
60788
  As as DialInput,
60778
60789
  yH as DialInputPopup,