@oliasoft-open-source/react-ui-library 4.19.0-beta-2 → 4.19.0-beta-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -186,7 +186,7 @@ var InputType = /* @__PURE__ */ ((InputType2) => {
186
186
  })(InputType || {});
187
187
  const chevron = "_chevron_1kw4m_1";
188
188
  const expanded$2 = "_expanded_1kw4m_9";
189
- const styles$U = {
189
+ const styles$V = {
190
190
  chevron,
191
191
  expanded: expanded$2
192
192
  };
@@ -869,7 +869,7 @@ const wrapper$5 = "_wrapper_18jt2_1";
869
869
  const customSvg = "_customSvg_18jt2_8";
870
870
  const customPng = "_customPng_18jt2_11";
871
871
  const clickable$2 = "_clickable_18jt2_16";
872
- const styles$T = {
872
+ const styles$U = {
873
873
  wrapper: wrapper$5,
874
874
  customSvg,
875
875
  customPng,
@@ -1544,8 +1544,8 @@ const Icon = ({
1544
1544
  "div",
1545
1545
  {
1546
1546
  className: cx$2(
1547
- styles$T.wrapper,
1548
- (clickable2 || onClick) && !disabledContext ? styles$T.clickable : ""
1547
+ styles$U.wrapper,
1548
+ (clickable2 || onClick) && !disabledContext ? styles$U.clickable : ""
1549
1549
  ),
1550
1550
  style,
1551
1551
  onClick: (evt) => onClick && !disabledContext ? onClick(evt) : void 0,
@@ -1553,7 +1553,7 @@ const Icon = ({
1553
1553
  children: isValidElement(icon2) ? icon2 : typeof icon2 === "string" && (icon2.includes(".svg") || icon2.includes("image/svg")) ? /* @__PURE__ */ jsx(
1554
1554
  ReactSVG,
1555
1555
  {
1556
- className: styles$T.customSvg,
1556
+ className: styles$U.customSvg,
1557
1557
  beforeInjection: (svg) => {
1558
1558
  if (size2) {
1559
1559
  svg.setAttribute("width", String(size2));
@@ -1562,12 +1562,12 @@ const Icon = ({
1562
1562
  },
1563
1563
  src: icon2
1564
1564
  }
1565
- ) : typeof icon2 === "string" && (icon2.includes(".png") || icon2.includes("image/png")) ? /* @__PURE__ */ jsx("img", { alt: "icon", className: styles$T.customPng, src: icon2 }) : typeof icon2 === "string" ? /* @__PURE__ */ jsx(NamedIcon, { icon: icon2 }) : null
1565
+ ) : typeof icon2 === "string" && (icon2.includes(".png") || icon2.includes("image/png")) ? /* @__PURE__ */ jsx("img", { alt: "icon", className: styles$U.customPng, src: icon2 }) : typeof icon2 === "string" ? /* @__PURE__ */ jsx(NamedIcon, { icon: icon2 }) : null
1566
1566
  }
1567
1567
  );
1568
1568
  };
1569
1569
  const Chevron = ({ expanded: expanded2 }) => {
1570
- return /* @__PURE__ */ jsx("span", { className: cx$2(styles$U.chevron, expanded2 ? styles$U.expanded : ""), children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_RIGHT }) });
1570
+ return /* @__PURE__ */ jsx("span", { className: cx$2(styles$V.chevron, expanded2 ? styles$V.expanded : ""), children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_RIGHT }) });
1571
1571
  };
1572
1572
  const accordion = "_accordion_15p8j_1";
1573
1573
  const accordionHeader = "_accordionHeader_15p8j_5";
@@ -1578,7 +1578,7 @@ const accordionContent = "_accordionContent_15p8j_18";
1578
1578
  const expanded$1 = "_expanded_15p8j_36";
1579
1579
  const padding$3 = "_padding_15p8j_44";
1580
1580
  const squareBottom = "_squareBottom_15p8j_47";
1581
- const styles$S = {
1581
+ const styles$T = {
1582
1582
  accordion,
1583
1583
  accordionHeader,
1584
1584
  heading: heading$6,
@@ -1603,21 +1603,21 @@ const AccordionBase = ({
1603
1603
  "div",
1604
1604
  {
1605
1605
  className: cx$2(
1606
- styles$S.accordion,
1607
- bordered2 ? styles$S.bordered : "",
1608
- expanded2 ? styles$S.expanded : "",
1609
- squareBottom2 ? styles$S.squareBottom : ""
1606
+ styles$T.accordion,
1607
+ bordered2 ? styles$T.bordered : "",
1608
+ expanded2 ? styles$T.expanded : "",
1609
+ squareBottom2 ? styles$T.squareBottom : ""
1610
1610
  ),
1611
1611
  children: [
1612
1612
  /* @__PURE__ */ jsxs(
1613
1613
  "div",
1614
1614
  {
1615
- className: cx$2(styles$S.accordionHeader, onClick ? styles$S.clickable : ""),
1615
+ className: cx$2(styles$T.accordionHeader, onClick ? styles$T.clickable : ""),
1616
1616
  onClick,
1617
1617
  "data-testid": testId,
1618
1618
  children: [
1619
1619
  /* @__PURE__ */ jsx(Chevron, { expanded: expanded2 }),
1620
- /* @__PURE__ */ jsx("div", { className: styles$S.heading, children: heading2 })
1620
+ /* @__PURE__ */ jsx("div", { className: styles$T.heading, children: heading2 })
1621
1621
  ]
1622
1622
  }
1623
1623
  ),
@@ -1625,8 +1625,8 @@ const AccordionBase = ({
1625
1625
  "div",
1626
1626
  {
1627
1627
  className: cx$2(
1628
- styles$S.accordionContent,
1629
- bordered2 && padding2 ? styles$S.padding : ""
1628
+ styles$T.accordionContent,
1629
+ bordered2 && padding2 ? styles$T.padding : ""
1630
1630
  ),
1631
1631
  children
1632
1632
  }
@@ -1704,7 +1704,7 @@ const disabled$a = "_disabled_1ybyr_67";
1704
1704
  const noMargin$2 = "_noMargin_1ybyr_81";
1705
1705
  const isInTable$4 = "_isInTable_1ybyr_84";
1706
1706
  const helpIconEnabled$2 = "_helpIconEnabled_1ybyr_87";
1707
- const styles$R = {
1707
+ const styles$S = {
1708
1708
  checkbox,
1709
1709
  noLabel,
1710
1710
  small: small$d,
@@ -3711,7 +3711,7 @@ function useHover(_temp) {
3711
3711
  const tooltip = "_tooltip_wli9z_1";
3712
3712
  const error$2 = "_error_wli9z_15";
3713
3713
  const warning$4 = "_warning_wli9z_19";
3714
- const styles$Q = {
3714
+ const styles$R = {
3715
3715
  tooltip,
3716
3716
  error: error$2,
3717
3717
  warning: warning$4
@@ -3742,8 +3742,8 @@ const TooltipLayer = ({
3742
3742
  "div",
3743
3743
  {
3744
3744
  className: cx$2(
3745
- styles$Q.tooltip,
3746
- error2 ? styles$Q.error : warning2 ? styles$Q.warning : ""
3745
+ styles$R.tooltip,
3746
+ error2 ? styles$R.error : warning2 ? styles$R.warning : ""
3747
3747
  ),
3748
3748
  ...layerProps,
3749
3749
  children: [
@@ -3812,7 +3812,7 @@ const Tooltip = ({
3812
3812
  const helpIcon = "_helpIcon_hd0z2_1";
3813
3813
  const active$9 = "_active_hd0z2_9";
3814
3814
  const clickable = "_clickable_hd0z2_12";
3815
- const styles$P = {
3815
+ const styles$Q = {
3816
3816
  helpIcon,
3817
3817
  active: active$9,
3818
3818
  clickable
@@ -3843,9 +3843,9 @@ const HelpIcon = ({
3843
3843
  "div",
3844
3844
  {
3845
3845
  className: cx$2(
3846
- styles$P.helpIcon,
3847
- onClick ? styles$P.clickable : "",
3848
- active2 ? styles$P.active : ""
3846
+ styles$Q.helpIcon,
3847
+ onClick ? styles$Q.clickable : "",
3848
+ active2 ? styles$Q.active : ""
3849
3849
  ),
3850
3850
  onClick: onClickHelpIcon,
3851
3851
  "data-testid": testId,
@@ -3876,12 +3876,12 @@ const CheckBox = ({
3876
3876
  "div",
3877
3877
  {
3878
3878
  className: cx$2(
3879
- styles$R.checkbox,
3880
- noMargin2 && styles$R.noMargin,
3881
- isInTable2 && styles$R.isInTable,
3882
- isDisabled && styles$R.disabled,
3883
- small2 && styles$R.small,
3884
- !label2 && styles$R.noLabel
3879
+ styles$S.checkbox,
3880
+ noMargin2 && styles$S.noMargin,
3881
+ isInTable2 && styles$S.isInTable,
3882
+ isDisabled && styles$S.disabled,
3883
+ small2 && styles$S.small,
3884
+ !label2 && styles$S.noLabel
3885
3885
  ),
3886
3886
  "data-ix": dataix,
3887
3887
  onClick: (evt) => {
@@ -3913,10 +3913,10 @@ const CheckBox = ({
3913
3913
  }
3914
3914
  ),
3915
3915
  /* @__PURE__ */ jsxs("label", { htmlFor: name2, children: [
3916
- /* @__PURE__ */ jsx("span", { className: styles$R.checkmark, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHECK }) }),
3916
+ /* @__PURE__ */ jsx("span", { className: styles$S.checkmark, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHECK }) }),
3917
3917
  label2
3918
3918
  ] }),
3919
- showHelp && /* @__PURE__ */ jsx("div", { className: styles$R.helpIconEnabled, onClick: onClickHelp, children: /* @__PURE__ */ jsx(HelpIcon, { text: helpText }) })
3919
+ showHelp && /* @__PURE__ */ jsx("div", { className: styles$S.helpIconEnabled, onClick: onClickHelp, children: /* @__PURE__ */ jsx(HelpIcon, { text: helpText }) })
3920
3920
  ]
3921
3921
  }
3922
3922
  );
@@ -3925,7 +3925,7 @@ const bordered$3 = "_bordered_1cgsf_1";
3925
3925
  const checkboxWrapper = "_checkboxWrapper_1cgsf_7";
3926
3926
  const padding$2 = "_padding_1cgsf_13";
3927
3927
  const contentWrapper = "_contentWrapper_1cgsf_16";
3928
- const styles$O = {
3928
+ const styles$P = {
3929
3929
  bordered: bordered$3,
3930
3930
  checkboxWrapper,
3931
3931
  padding: padding$2,
@@ -3967,7 +3967,7 @@ const AccordionWithDefaultToggle = ({
3967
3967
  defaultEnabled
3968
3968
  });
3969
3969
  const content2 = /* @__PURE__ */ jsxs(Fragment$1, { children: [
3970
- /* @__PURE__ */ jsx("div", { className: styles$O.checkboxWrapper, children: /* @__PURE__ */ jsx(
3970
+ /* @__PURE__ */ jsx("div", { className: styles$P.checkboxWrapper, children: /* @__PURE__ */ jsx(
3971
3971
  CheckBox,
3972
3972
  {
3973
3973
  label: toggleLabel,
@@ -3978,7 +3978,7 @@ const AccordionWithDefaultToggle = ({
3978
3978
  checked: state.defaultEnabled
3979
3979
  }
3980
3980
  ) }),
3981
- state.accordionExpanded && /* @__PURE__ */ jsx("div", { className: styles$O.contentWrapper, children })
3981
+ state.accordionExpanded && /* @__PURE__ */ jsx("div", { className: styles$P.contentWrapper, children })
3982
3982
  ] });
3983
3983
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [
3984
3984
  /* @__PURE__ */ jsx(
@@ -3991,7 +3991,7 @@ const AccordionWithDefaultToggle = ({
3991
3991
  onClick: () => dispatch({ type: AccordionActionType.TOGGLE_ACCORDION })
3992
3992
  }
3993
3993
  ),
3994
- /* @__PURE__ */ jsx("div", { className: cx$2(styles$O.bordered, padding2 ? styles$O.padding : ""), children: content2 })
3994
+ /* @__PURE__ */ jsx("div", { className: cx$2(styles$P.bordered, padding2 ? styles$P.padding : ""), children: content2 })
3995
3995
  ] });
3996
3996
  };
3997
3997
  const inputInTable$b = "_inputInTable_1m45a_1";
@@ -4045,7 +4045,7 @@ const buttonStyles = {
4045
4045
  groupOrderLast: groupOrderLast$4
4046
4046
  };
4047
4047
  const spinner = "_spinner_156m4_1";
4048
- const styles$N = {
4048
+ const styles$O = {
4049
4049
  spinner
4050
4050
  };
4051
4051
  const Spinner$1 = ({
@@ -4056,7 +4056,7 @@ const Spinner$1 = ({
4056
4056
  }) => {
4057
4057
  const color2 = colored2 ? "var(--color-text-primary)" : dark2 ? "var(--color-text-muted)" : "white";
4058
4058
  const fontSize = small2 ? "var(--font-size)" : tiny ? "var(--font-size-xs)" : "var(--size)";
4059
- return /* @__PURE__ */ jsx("div", { className: styles$N.spinner, style: { color: color2, fontSize } });
4059
+ return /* @__PURE__ */ jsx("div", { className: styles$O.spinner, style: { color: color2, fontSize } });
4060
4060
  };
4061
4061
  var ButtonType = /* @__PURE__ */ ((ButtonType2) => {
4062
4062
  ButtonType2["SUBMIT"] = "submit";
@@ -4182,7 +4182,7 @@ const actions$2 = "_actions_1t7vd_1";
4182
4182
  const childComponent = "_childComponent_1t7vd_11";
4183
4183
  const actionComponentContainer = "_actionComponentContainer_1t7vd_14";
4184
4184
  const active$7 = "_active_1t7vd_36";
4185
- const styles$M = {
4185
+ const styles$N = {
4186
4186
  actions: actions$2,
4187
4187
  childComponent,
4188
4188
  actionComponentContainer,
@@ -4216,7 +4216,7 @@ const buttonCaret = "_buttonCaret_8cxhw_184";
4216
4216
  const component = "_component_8cxhw_188";
4217
4217
  const right$7 = "_right_8cxhw_194";
4218
4218
  const actions$1 = "_actions_8cxhw_199";
4219
- const styles$L = {
4219
+ const styles$M = {
4220
4220
  wrapper: wrapper$4,
4221
4221
  layer: layer$1,
4222
4222
  layerContainer: layerContainer$1,
@@ -4250,15 +4250,15 @@ const Heading$3 = ({ label: label2, onClick, icon: icon2, testId }) => /* @__PUR
4250
4250
  "div",
4251
4251
  {
4252
4252
  onClick: (evt) => evt.stopPropagation(),
4253
- className: styles$L.heading,
4253
+ className: styles$M.heading,
4254
4254
  "data-testid": testId,
4255
4255
  children: [
4256
4256
  label2,
4257
- /* @__PURE__ */ jsx("span", { className: styles$L.headingIcon, onClick, children: icon2 })
4257
+ /* @__PURE__ */ jsx("span", { className: styles$M.headingIcon, onClick, children: icon2 })
4258
4258
  ]
4259
4259
  }
4260
4260
  );
4261
- const Divider$1 = () => /* @__PURE__ */ jsx("hr", { className: styles$L.divider });
4261
+ const Divider$1 = () => /* @__PURE__ */ jsx("hr", { className: styles$M.divider });
4262
4262
  const Option$2 = ({
4263
4263
  actions: actions2,
4264
4264
  label: label2,
@@ -4311,30 +4311,30 @@ const Option$2 = ({
4311
4311
  href: url,
4312
4312
  to: url,
4313
4313
  className: cx$2(
4314
- styles$L.option,
4315
- disabled2 ? styles$L.disabled : "",
4316
- inline2 ? styles$L.inline : "",
4317
- selected2 ? styles$L == null ? void 0 : styles$L.selected : ""
4314
+ styles$M.option,
4315
+ disabled2 ? styles$M.disabled : "",
4316
+ inline2 ? styles$M.inline : "",
4317
+ selected2 ? styles$M == null ? void 0 : styles$M.selected : ""
4318
4318
  ),
4319
4319
  onClick: handleClick2,
4320
4320
  "data-testid": testId,
4321
4321
  children: [
4322
- icon2 ? /* @__PURE__ */ jsx("span", { className: styles$L.icon, children: /* @__PURE__ */ jsx(Icon, { icon: icon2 }) }) : null,
4323
- /* @__PURE__ */ jsxs("div", { className: styles$L.optionContent, children: [
4322
+ icon2 ? /* @__PURE__ */ jsx("span", { className: styles$M.icon, children: /* @__PURE__ */ jsx(Icon, { icon: icon2 }) }) : null,
4323
+ /* @__PURE__ */ jsxs("div", { className: styles$M.optionContent, children: [
4324
4324
  upload && /* @__PURE__ */ jsx(
4325
4325
  "input",
4326
4326
  {
4327
4327
  type: "file",
4328
- className: styles$L.fileInput,
4328
+ className: styles$M.fileInput,
4329
4329
  onChange: handleFileChange
4330
4330
  }
4331
4331
  ),
4332
- /* @__PURE__ */ jsx("span", { className: styles$L.label, title: `${title2 || label2}`, children: label2 }),
4333
- /* @__PURE__ */ jsx("span", { className: styles$L.description, children: description2 })
4332
+ /* @__PURE__ */ jsx("span", { className: styles$M.label, title: `${title2 || label2}`, children: label2 }),
4333
+ /* @__PURE__ */ jsx("span", { className: styles$M.description, children: description2 })
4334
4334
  ] }),
4335
- /* @__PURE__ */ jsxs("div", { className: styles$L.right, children: [
4336
- selected2 && /* @__PURE__ */ jsx("span", { className: styles$L.check, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHECK }) }),
4337
- !!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsx("div", { className: styles$L.actions, children: /* @__PURE__ */ jsx(Actions, { actions: actions2 }) })
4335
+ /* @__PURE__ */ jsxs("div", { className: styles$M.right, children: [
4336
+ selected2 && /* @__PURE__ */ jsx("span", { className: styles$M.check, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHECK }) }),
4337
+ !!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsx("div", { className: styles$M.actions, children: /* @__PURE__ */ jsx(Actions, { actions: actions2 }) })
4338
4338
  ] })
4339
4339
  ]
4340
4340
  }
@@ -4472,7 +4472,7 @@ const Layer$2 = ({
4472
4472
  return /* @__PURE__ */ jsx(
4473
4473
  "div",
4474
4474
  {
4475
- className: cx$2(styles$L.layer, isNested ? styles$L.nested : null),
4475
+ className: cx$2(styles$M.layer, isNested ? styles$M.nested : null),
4476
4476
  style: { maxWidth: width2, maxHeight },
4477
4477
  "data-testid": testId,
4478
4478
  children: /* @__PURE__ */ jsx("ul", { children: localSections.map((section2, i) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
@@ -4509,7 +4509,7 @@ const light = "_light_nwprz_26";
4509
4509
  const small$b = "_small_nwprz_29";
4510
4510
  const dot$1 = "_dot_nwprz_33";
4511
4511
  const hasChildren = "_hasChildren_nwprz_39";
4512
- const styles$K = {
4512
+ const styles$L = {
4513
4513
  wrapper: wrapper$3,
4514
4514
  badge,
4515
4515
  label: label$9,
@@ -4537,16 +4537,16 @@ const Badge = ({
4537
4537
  small: small2 = false
4538
4538
  }) => {
4539
4539
  const visible = !(title2 === null && dot2 === false);
4540
- return /* @__PURE__ */ jsxs("div", { className: styles$K.wrapper, children: [
4540
+ return /* @__PURE__ */ jsxs("div", { className: styles$L.wrapper, children: [
4541
4541
  visible && /* @__PURE__ */ jsx(
4542
4542
  "sup",
4543
4543
  {
4544
4544
  className: cx$2(
4545
- styles$K.badge,
4546
- isDark(color2) ? styles$K.dark : styles$K.light,
4547
- title2 !== null ? styles$K.label : styles$K.dot,
4548
- small2 ? styles$K.small : "",
4549
- children ? styles$K.hasChildren : ""
4545
+ styles$L.badge,
4546
+ isDark(color2) ? styles$L.dark : styles$L.light,
4547
+ title2 !== null ? styles$L.label : styles$L.dot,
4548
+ small2 ? styles$L.small : "",
4549
+ children ? styles$L.hasChildren : ""
4550
4550
  ),
4551
4551
  style: {
4552
4552
  background: color2 || void 0,
@@ -4572,16 +4572,16 @@ const Button = ({
4572
4572
  active: active2
4573
4573
  }) => {
4574
4574
  const disabledContext = useContext(DisabledContext);
4575
- const buttonLabel2 = trigger2 === TriggerType.BUTTON ? label2 : trigger2 === TriggerType.DROP_DOWN_BUTTON ? /* @__PURE__ */ jsxs("span", { className: styles$L.middleAlignedInline, children: [
4576
- /* @__PURE__ */ jsx("span", { className: styles$L.buttonLabel, children: label2 }),
4577
- /* @__PURE__ */ jsx("span", { className: styles$L.buttonCaret, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_DOWN }) })
4575
+ const buttonLabel2 = trigger2 === TriggerType.BUTTON ? label2 : trigger2 === TriggerType.DROP_DOWN_BUTTON ? /* @__PURE__ */ jsxs("span", { className: styles$M.middleAlignedInline, children: [
4576
+ /* @__PURE__ */ jsx("span", { className: styles$M.buttonLabel, children: label2 }),
4577
+ /* @__PURE__ */ jsx("span", { className: styles$M.buttonCaret, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_DOWN }) })
4578
4578
  ] }) : null;
4579
4579
  return /* @__PURE__ */ jsx(
4580
4580
  "div",
4581
4581
  {
4582
4582
  className: cx$2(
4583
- styles$L.trigger,
4584
- disabled2 || disabledContext ? styles$L.disabled : null
4583
+ styles$M.trigger,
4584
+ disabled2 || disabledContext ? styles$M.disabled : null
4585
4585
  ),
4586
4586
  style: { width: width2 },
4587
4587
  children: /* @__PURE__ */ jsx(
@@ -4622,14 +4622,14 @@ const Text$1 = ({
4622
4622
  "div",
4623
4623
  {
4624
4624
  className: cx$2(
4625
- styles$L.trigger,
4626
- disabled2 ? styles$L.disabled : null,
4627
- isOpen2 ? styles$L.active : null,
4628
- selected2 ? styles$L == null ? void 0 : styles$L.selected : null
4625
+ styles$M.trigger,
4626
+ disabled2 ? styles$M.disabled : null,
4627
+ isOpen2 ? styles$M.active : null,
4628
+ selected2 ? styles$M == null ? void 0 : styles$M.selected : null
4629
4629
  ),
4630
4630
  children: [
4631
- /* @__PURE__ */ jsx("span", { className: styles$L.label, title: titleText, children: label2 }),
4632
- carat && carat === MenuCarat.RIGHT ? /* @__PURE__ */ jsx("span", { className: styles$L.arrow, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_RIGHT }) }) : carat && carat === MenuCarat.DOWN ? /* @__PURE__ */ jsx("span", { className: styles$L.arrow, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_DOWN }) }) : null
4631
+ /* @__PURE__ */ jsx("span", { className: styles$M.label, title: titleText, children: label2 }),
4632
+ carat && carat === MenuCarat.RIGHT ? /* @__PURE__ */ jsx("span", { className: styles$M.arrow, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_RIGHT }) }) : carat && carat === MenuCarat.DOWN ? /* @__PURE__ */ jsx("span", { className: styles$M.arrow, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_DOWN }) }) : null
4633
4633
  ]
4634
4634
  }
4635
4635
  );
@@ -4642,7 +4642,7 @@ const Component = ({
4642
4642
  return /* @__PURE__ */ jsx(
4643
4643
  "div",
4644
4644
  {
4645
- className: cx$2(styles$L.component, disabled2 ? styles$L.disabled : null),
4645
+ className: cx$2(styles$M.component, disabled2 ? styles$M.disabled : null),
4646
4646
  "data-testid": testId,
4647
4647
  children: component2
4648
4648
  }
@@ -4725,7 +4725,7 @@ const Trigger$1 = React__default.forwardRef(
4725
4725
  "div",
4726
4726
  {
4727
4727
  ref,
4728
- className: styles$L.wrapper,
4728
+ className: styles$M.wrapper,
4729
4729
  style: width2 ? { width: width2 } : {
4730
4730
  ...fullHeight && {
4731
4731
  height: "100%",
@@ -4951,7 +4951,7 @@ const DropDownMenu = ({
4951
4951
  "div",
4952
4952
  {
4953
4953
  ...layerProps,
4954
- className: styles$L.layerContainer,
4954
+ className: styles$M.layerContainer,
4955
4955
  "data-testid": menu2.testId,
4956
4956
  onClick: (evt) => evt.stopPropagation(),
4957
4957
  children: /* @__PURE__ */ jsx(
@@ -5020,7 +5020,7 @@ const SubmenuActions = (props) => {
5020
5020
  const Actions = (props) => {
5021
5021
  const disabledContext = useContext(DisabledContext);
5022
5022
  const { actions: actions2 = [], closeLayer } = props;
5023
- return /* @__PURE__ */ jsx("div", { className: cx$2(styles$M.actions), children: actions2.map((action2, index2) => {
5023
+ return /* @__PURE__ */ jsx("div", { className: cx$2(styles$N.actions), children: actions2.map((action2, index2) => {
5024
5024
  const hidden2 = (action2 == null ? void 0 : action2.hidden) || !action2 || !Object.keys(action2).length;
5025
5025
  if (!hidden2) {
5026
5026
  if (action2.childComponent && React__default.isValidElement(action2.childComponent)) {
@@ -5028,7 +5028,7 @@ const Actions = (props) => {
5028
5028
  "div",
5029
5029
  {
5030
5030
  "data-testid": action2.testId,
5031
- className: styles$M.childComponent,
5031
+ className: styles$N.childComponent,
5032
5032
  children: action2.childComponent
5033
5033
  },
5034
5034
  index2
@@ -5082,7 +5082,7 @@ const labelContainer = "_labelContainer_2k0cd_7";
5082
5082
  const active$5 = "_active_2k0cd_17";
5083
5083
  const disabled$7 = "_disabled_2k0cd_22";
5084
5084
  const separator = "_separator_2k0cd_27";
5085
- const styles$J = {
5085
+ const styles$K = {
5086
5086
  breadcrumb,
5087
5087
  small: small$a,
5088
5088
  labelContainer,
@@ -5113,16 +5113,16 @@ const Link$2 = ({
5113
5113
  {
5114
5114
  onClick,
5115
5115
  className: cx$2(
5116
- styles$J.labelContainer,
5117
- active2 && styles$J.active,
5118
- (disabled2 || disabledContext) && styles$J.disabled
5116
+ styles$K.labelContainer,
5117
+ active2 && styles$K.active,
5118
+ (disabled2 || disabledContext) && styles$K.disabled
5119
5119
  ),
5120
5120
  children: isLink ? /* @__PURE__ */ jsx("a", { href: url, children: label2 }) : isCustom ? element : label2
5121
5121
  }
5122
5122
  );
5123
5123
  };
5124
5124
  const Breadcrumb = ({ links, small: small2 = false }) => {
5125
- return /* @__PURE__ */ jsx("div", { className: cx$2(styles$J.breadcrumb, small2 && styles$J.small), children: links.map((link2, i) => {
5125
+ return /* @__PURE__ */ jsx("div", { className: cx$2(styles$K.breadcrumb, small2 && styles$K.small), children: links.map((link2, i) => {
5126
5126
  const isFinal = links.length === i + 1;
5127
5127
  const { type, label: label2, url, onClick, active: active2, disabled: disabled2, element } = link2;
5128
5128
  return /* @__PURE__ */ jsxs("span", { children: [
@@ -5138,13 +5138,13 @@ const Breadcrumb = ({ links, small: small2 = false }) => {
5138
5138
  element
5139
5139
  }
5140
5140
  ),
5141
- !isFinal && /* @__PURE__ */ jsx("span", { className: styles$J.separator, children: "/" })
5141
+ !isFinal && /* @__PURE__ */ jsx("span", { className: styles$K.separator, children: "/" })
5142
5142
  ] }, i);
5143
5143
  }) });
5144
5144
  };
5145
5145
  const label$8 = "_label_iu2wi_1";
5146
5146
  const buttonGroup = "_buttonGroup_iu2wi_11";
5147
- const styles$I = {
5147
+ const styles$J = {
5148
5148
  label: label$8,
5149
5149
  buttonGroup
5150
5150
  };
@@ -5198,7 +5198,7 @@ const ButtonGroup = (props) => {
5198
5198
  };
5199
5199
  const renderHeader = () => {
5200
5200
  if (header2) {
5201
- return /* @__PURE__ */ jsx("label", { className: styles$I.label, children: header2 });
5201
+ return /* @__PURE__ */ jsx("label", { className: styles$J.label, children: header2 });
5202
5202
  }
5203
5203
  };
5204
5204
  const renderButtons = () => {
@@ -5222,7 +5222,6 @@ const ButtonGroup = (props) => {
5222
5222
  maxWidth: maxTooltipWidth,
5223
5223
  display: "block",
5224
5224
  enabled: tooltip2 && isStringNumberOrNode(tooltip2) || error2 && isStringNumberOrNode(error2) || warning2 && isStringNumberOrNode(warning2) || false,
5225
- placement: "bottom-center",
5226
5225
  children: /* @__PURE__ */ jsx(
5227
5226
  Button$1,
5228
5227
  {
@@ -5255,7 +5254,7 @@ const ButtonGroup = (props) => {
5255
5254
  };
5256
5255
  return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("div", { children: [
5257
5256
  renderHeader(),
5258
- /* @__PURE__ */ jsx("div", { className: styles$I.buttonGroup, "data-testid": testId, children: renderButtons() })
5257
+ /* @__PURE__ */ jsx("div", { className: styles$J.buttonGroup, "data-testid": testId, children: renderButtons() })
5259
5258
  ] }) });
5260
5259
  };
5261
5260
  const card = "_card_ucdeu_1";
@@ -5265,7 +5264,7 @@ const cardHeader = "_cardHeader_ucdeu_13";
5265
5264
  const cardContentBorderTop = "_cardContentBorderTop_ucdeu_19";
5266
5265
  const padding$1 = "_padding_ucdeu_22";
5267
5266
  const cardContent = "_cardContent_ucdeu_19";
5268
- const styles$H = {
5267
+ const styles$I = {
5269
5268
  card,
5270
5269
  bordered: bordered$2,
5271
5270
  raised,
@@ -5286,20 +5285,20 @@ const Card = ({
5286
5285
  "div",
5287
5286
  {
5288
5287
  className: cx$2(
5289
- styles$H.card,
5290
- bordered2 ? styles$H.bordered : "",
5291
- raised2 ? styles$H.raised : ""
5288
+ styles$I.card,
5289
+ bordered2 ? styles$I.bordered : "",
5290
+ raised2 ? styles$I.raised : ""
5292
5291
  ),
5293
5292
  style: { margin: margin2 },
5294
5293
  children: [
5295
- heading2 ? /* @__PURE__ */ jsx("div", { className: cx$2(styles$H.cardHeader), children: heading2 }) : null,
5294
+ heading2 ? /* @__PURE__ */ jsx("div", { className: cx$2(styles$I.cardHeader), children: heading2 }) : null,
5296
5295
  /* @__PURE__ */ jsx(
5297
5296
  "div",
5298
5297
  {
5299
5298
  className: cx$2(
5300
- styles$H.cardContent,
5301
- heading2 ? styles$H.cardContentBorderTop : "",
5302
- padding2 ? styles$H.padding : ""
5299
+ styles$I.cardContent,
5300
+ heading2 ? styles$I.cardContentBorderTop : "",
5301
+ padding2 ? styles$I.padding : ""
5303
5302
  ),
5304
5303
  children
5305
5304
  }
@@ -6499,7 +6498,7 @@ const Column = ({
6499
6498
  const divider = "_divider_2bfzh_1";
6500
6499
  const alignLeft = "_alignLeft_2bfzh_12";
6501
6500
  const alignRight = "_alignRight_2bfzh_15";
6502
- const styles$G = {
6501
+ const styles$H = {
6503
6502
  divider,
6504
6503
  alignLeft,
6505
6504
  alignRight
@@ -6513,7 +6512,7 @@ const warning$3 = "_warning_11ofj_16";
6513
6512
  const error$1 = "_error_11ofj_19";
6514
6513
  const small$9 = "_small_11ofj_22";
6515
6514
  const link$1 = "_link_11ofj_25";
6516
- const styles$F = {
6515
+ const styles$G = {
6517
6516
  bold: bold$1,
6518
6517
  center,
6519
6518
  muted: muted$1,
@@ -6541,16 +6540,16 @@ const Text = ({
6541
6540
  "span",
6542
6541
  {
6543
6542
  className: cx$2(
6544
- bold2 && styles$F.bold,
6545
- center2 && styles$F.center,
6546
- error2 && styles$F.error,
6547
- faint2 && styles$F.faint,
6548
- link2 && styles$F.link,
6549
- muted2 && styles$F.muted,
6550
- onClick && styles$F.clickable,
6551
- small2 && styles$F.small,
6552
- success2 && styles$F.success,
6553
- warning2 && styles$F.warning
6543
+ bold2 && styles$G.bold,
6544
+ center2 && styles$G.center,
6545
+ error2 && styles$G.error,
6546
+ faint2 && styles$G.faint,
6547
+ link2 && styles$G.link,
6548
+ muted2 && styles$G.muted,
6549
+ onClick && styles$G.clickable,
6550
+ small2 && styles$G.small,
6551
+ success2 && styles$G.success,
6552
+ warning2 && styles$G.warning
6554
6553
  ),
6555
6554
  onClick,
6556
6555
  children
@@ -6560,9 +6559,9 @@ const Text = ({
6560
6559
  const cssAlignClass = (align) => {
6561
6560
  switch (align) {
6562
6561
  case Align.LEFT:
6563
- return styles$G.alignLeft;
6562
+ return styles$H.alignLeft;
6564
6563
  case Align.RIGHT:
6565
- return styles$G.alignRight;
6564
+ return styles$H.alignRight;
6566
6565
  default:
6567
6566
  return "";
6568
6567
  }
@@ -6575,7 +6574,7 @@ const Divider = ({
6575
6574
  }) => /* @__PURE__ */ jsx(
6576
6575
  "div",
6577
6576
  {
6578
- className: `${styles$G.divider} ${cssAlignClass(align)}`,
6577
+ className: `${styles$H.divider} ${cssAlignClass(align)}`,
6579
6578
  style: {
6580
6579
  marginTop: margin2,
6581
6580
  marginBottom: margin2,
@@ -6587,7 +6586,7 @@ const Divider = ({
6587
6586
  const heading$4 = "_heading_yhdiy_1";
6588
6587
  const top$1 = "_top_yhdiy_10";
6589
6588
  const icons$2 = "_icons_yhdiy_20";
6590
- const styles$E = {
6589
+ const styles$F = {
6591
6590
  heading: heading$4,
6592
6591
  top: top$1,
6593
6592
  icons: icons$2
@@ -6608,13 +6607,13 @@ const Heading$2 = ({
6608
6607
  return /* @__PURE__ */ jsxs(
6609
6608
  "div",
6610
6609
  {
6611
- className: cx$2(styles$E.heading, top2 ? styles$E.top : ""),
6610
+ className: cx$2(styles$F.heading, top2 ? styles$F.top : ""),
6612
6611
  style: { marginBottom },
6613
6612
  onClick,
6614
6613
  "data-testid": testId,
6615
6614
  children: [
6616
6615
  children,
6617
- /* @__PURE__ */ jsxs("div", { className: styles$E.icons, children: [
6616
+ /* @__PURE__ */ jsxs("div", { className: styles$F.icons, children: [
6618
6617
  icon2 && /* @__PURE__ */ jsx(HelpIcon, { onClick: onIconClick, icon: icon2 }),
6619
6618
  isHelpIconDisplayed && /* @__PURE__ */ jsx(HelpIcon, { text: helpText, onClick: onClickHelp }),
6620
6619
  libraryIcon && /* @__PURE__ */ jsx(
@@ -6637,7 +6636,7 @@ const header$2 = "_header_18g0k_24";
6637
6636
  const dismiss$2 = "_dismiss_18g0k_33";
6638
6637
  const content$3 = "_content_18g0k_38";
6639
6638
  const footer$2 = "_footer_18g0k_47";
6640
- const styles$D = {
6639
+ const styles$E = {
6641
6640
  dialog,
6642
6641
  inline: inline$3,
6643
6642
  scroll: scroll$2,
@@ -6672,16 +6671,16 @@ const Dialog = ({ dialog: dialog2 }) => {
6672
6671
  "div",
6673
6672
  {
6674
6673
  className: cx$2(
6675
- styles$D.dialog,
6676
- width2 ? styles$D.inline : null,
6677
- scroll2 ? styles$D.scroll : null
6674
+ styles$E.dialog,
6675
+ width2 ? styles$E.inline : null,
6676
+ scroll2 ? styles$E.scroll : null
6678
6677
  ),
6679
6678
  style: { width: width2, height: height2 },
6680
6679
  "data-testid": testId ?? null,
6681
6680
  children: [
6682
- /* @__PURE__ */ jsxs("div", { className: styles$D.header, children: [
6681
+ /* @__PURE__ */ jsxs("div", { className: styles$E.header, children: [
6683
6682
  /* @__PURE__ */ jsx(Heading$2, { testId: testId && `${testId}-heading`, top: true, marginBottom: 0, children: heading2 }),
6684
- onClose ? /* @__PURE__ */ jsx("div", { className: styles$D.dismiss, children: /* @__PURE__ */ jsx(
6683
+ onClose ? /* @__PURE__ */ jsx("div", { className: styles$E.dismiss, children: /* @__PURE__ */ jsx(
6685
6684
  Button$1,
6686
6685
  {
6687
6686
  icon: IconType.CLOSE,
@@ -6699,7 +6698,7 @@ const Dialog = ({ dialog: dialog2 }) => {
6699
6698
  "div",
6700
6699
  {
6701
6700
  "data-testid": testId && `${testId}-content`,
6702
- className: styles$D.content,
6701
+ className: styles$E.content,
6703
6702
  style: { padding: contentPadding2 },
6704
6703
  children: convertStringToJsx(content2)
6705
6704
  }
@@ -6708,7 +6707,7 @@ const Dialog = ({ dialog: dialog2 }) => {
6708
6707
  "div",
6709
6708
  {
6710
6709
  "data-testid": testId && `${testId}-footer`,
6711
- className: styles$D.footer,
6710
+ className: styles$E.footer,
6712
6711
  children: footer2
6713
6712
  }
6714
6713
  )
@@ -6741,7 +6740,7 @@ const active$4 = "_active_1f40p_197";
6741
6740
  const disabled$6 = "_disabled_1f40p_222";
6742
6741
  const tabsContent = "_tabsContent_1f40p_229";
6743
6742
  const resizeHandle = "_resizeHandle_1f40p_235";
6744
- const styles$C = {
6743
+ const styles$D = {
6745
6744
  inputInTable: inputInTable$a,
6746
6745
  inputHover: inputHover$a,
6747
6746
  inputFocus: inputFocus$a,
@@ -6782,13 +6781,13 @@ const DrawerTabs = ({
6782
6781
  testId
6783
6782
  }) => {
6784
6783
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [
6785
- /* @__PURE__ */ jsx("div", { className: styles$C.tabs, children: tabs2.map((tab2, index2) => /* @__PURE__ */ jsx(
6784
+ /* @__PURE__ */ jsx("div", { className: styles$D.tabs, children: tabs2.map((tab2, index2) => /* @__PURE__ */ jsx(
6786
6785
  "div",
6787
6786
  {
6788
6787
  className: cx$2(
6789
- styles$C.tab,
6790
- activeTab === index2 && open ? styles$C.active : "",
6791
- tab2.disabled ? styles$C.disabled : ""
6788
+ styles$D.tab,
6789
+ activeTab === index2 && open ? styles$D.active : "",
6790
+ tab2.disabled ? styles$D.disabled : ""
6792
6791
  ),
6793
6792
  style: { background: background2 },
6794
6793
  onClick: !tab2.disabled ? () => handleTabClick(index2) : void 0,
@@ -6803,7 +6802,7 @@ const DrawerTabs = ({
6803
6802
  "div",
6804
6803
  {
6805
6804
  style: { width: typeof width2 === "number" ? `${width2}px` : width2 },
6806
- className: styles$C.tabsContent,
6805
+ className: styles$D.tabsContent,
6807
6806
  "data-testid": testId && `${testId}-content-${index2}`,
6808
6807
  children: active2 && open && tab2.content
6809
6808
  },
@@ -8724,7 +8723,7 @@ const MIN_OPEN_WIDTH = 240;
8724
8723
  const ResizeHandle = forwardRef(
8725
8724
  (props, ref) => {
8726
8725
  const { handleAxis, ...rest } = props;
8727
- return /* @__PURE__ */ jsx("div", { ref, className: styles$C.resizeHandle, ...rest, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.DRAG }) });
8726
+ return /* @__PURE__ */ jsx("div", { ref, className: styles$D.resizeHandle, ...rest, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.DRAG }) });
8728
8727
  }
8729
8728
  );
8730
8729
  const DrawerResizeWrapper = ({
@@ -8750,7 +8749,7 @@ const DrawerResizeWrapper = ({
8750
8749
  handle: /* @__PURE__ */ jsx(ResizeHandle, {}),
8751
8750
  resizeHandles: right2 ? ["w"] : ["e"],
8752
8751
  axis: "x",
8753
- className: isResizing2 ? styles$C.isResizing : "",
8752
+ className: isResizing2 ? styles$D.isResizing : "",
8754
8753
  onResizeStart: () => {
8755
8754
  if (setOpen) setOpen(true);
8756
8755
  if (onResize) onResize(width2);
@@ -8848,17 +8847,17 @@ const Drawer = ({
8848
8847
  "div",
8849
8848
  {
8850
8849
  className: cx$2(
8851
- styles$C.drawer,
8852
- shadow4 ? styles$C.shadow : "",
8853
- fixed2 ? styles$C.fixed : styles$C.inline,
8854
- right2 ? styles$C.right : styles$C.left
8850
+ styles$D.drawer,
8851
+ shadow4 ? styles$D.shadow : "",
8852
+ fixed2 ? styles$D.fixed : styles$D.inline,
8853
+ right2 ? styles$D.right : styles$D.left
8855
8854
  ),
8856
8855
  style: { top: top2 },
8857
8856
  children: [
8858
8857
  /* @__PURE__ */ jsx(
8859
8858
  "div",
8860
8859
  {
8861
- className: cx$2(styles$C.drawerContent, border2 && styles$C.border),
8860
+ className: cx$2(styles$D.drawerContent, border2 && styles$D.border),
8862
8861
  style: {
8863
8862
  background: background2,
8864
8863
  borderColor: typeof border2 === "string" ? border2 : void 0,
@@ -8884,9 +8883,9 @@ const Drawer = ({
8884
8883
  "span",
8885
8884
  {
8886
8885
  className: cx$2(
8887
- styles$C.toggleButton,
8888
- localOpen && (isStandardButton || isCustomButton && buttonAnimate) ? styles$C.toggleButtonOpen : "",
8889
- buttonPosition === "top" ? styles$C.top : styles$C.bottom
8886
+ styles$D.toggleButton,
8887
+ localOpen && (isStandardButton || isCustomButton && buttonAnimate) ? styles$D.toggleButtonOpen : "",
8888
+ buttonPosition === "top" ? styles$D.top : styles$D.bottom
8890
8889
  ),
8891
8890
  children: isCustomButton ? button2 : /* @__PURE__ */ jsx(
8892
8891
  Button$1,
@@ -8906,7 +8905,7 @@ const Drawer = ({
8906
8905
  };
8907
8906
  const empty$1 = "_empty_fe425_1";
8908
8907
  const text$2 = "_text_fe425_11";
8909
- const styles$B = {
8908
+ const styles$C = {
8910
8909
  empty: empty$1,
8911
8910
  text: text$2
8912
8911
  };
@@ -8920,7 +8919,7 @@ const Empty = ({
8920
8919
  return /* @__PURE__ */ jsxs(
8921
8920
  "div",
8922
8921
  {
8923
- className: styles$B.empty,
8922
+ className: styles$C.empty,
8924
8923
  style: { width: width2, height: height2 },
8925
8924
  "data-testid": testId,
8926
8925
  children: [
@@ -8952,7 +8951,7 @@ const Empty = ({
8952
8951
  )
8953
8952
  ] })
8954
8953
  ] }) }),
8955
- text2 !== "" && /* @__PURE__ */ jsx("div", { className: styles$B.text, children: /* @__PURE__ */ jsx(Text, { faint: true, children: text2 }) }),
8954
+ text2 !== "" && /* @__PURE__ */ jsx("div", { className: styles$C.text, children: /* @__PURE__ */ jsx(Text, { faint: true, children: text2 }) }),
8956
8955
  children
8957
8956
  ]
8958
8957
  }
@@ -9006,7 +9005,7 @@ const FileButton = ({
9006
9005
  ] });
9007
9006
  };
9008
9007
  const inputGroup = "_inputGroup_biuoa_1";
9009
- const styles$A = {
9008
+ const styles$B = {
9010
9009
  inputGroup
9011
9010
  };
9012
9011
  const isDOMTypeElement = (element) => {
@@ -9031,7 +9030,7 @@ const InputGroup = ({
9031
9030
  return /* @__PURE__ */ jsx(
9032
9031
  "div",
9033
9032
  {
9034
- className: cx$2(styles$A.inputGroup),
9033
+ className: cx$2(styles$B.inputGroup),
9035
9034
  style: { width: width2 },
9036
9035
  children: elements
9037
9036
  }
@@ -9051,7 +9050,7 @@ const right$5 = "_right_1285q_170";
9051
9050
  const groupOrderFirst$3 = "_groupOrderFirst_1285q_173";
9052
9051
  const groupOrderMiddle$3 = "_groupOrderMiddle_1285q_174";
9053
9052
  const groupOrderLast$3 = "_groupOrderLast_1285q_175";
9054
- const styles$z = {
9053
+ const styles$A = {
9055
9054
  inputInTable: inputInTable$9,
9056
9055
  inputHover: inputHover$9,
9057
9056
  inputFocus: inputFocus$9,
@@ -9104,11 +9103,11 @@ const Input$1 = forwardRef(
9104
9103
  if (groupOrder) {
9105
9104
  switch (groupOrder) {
9106
9105
  case "first":
9107
- return styles$z.groupOrderFirst;
9106
+ return styles$A.groupOrderFirst;
9108
9107
  case "last":
9109
- return styles$z.groupOrderLast;
9108
+ return styles$A.groupOrderLast;
9110
9109
  default:
9111
- return styles$z.groupOrderMiddle;
9110
+ return styles$A.groupOrderMiddle;
9112
9111
  }
9113
9112
  }
9114
9113
  return "";
@@ -9129,7 +9128,6 @@ const Input$1 = forwardRef(
9129
9128
  enabled: tooltip2 && isStringNumberOrNode(tooltip2) || error2 && isStringNumberOrNode(error2) || warning2 && isStringNumberOrNode(warning2) || false,
9130
9129
  maxWidth: maxTooltipWidth,
9131
9130
  display: "block",
9132
- placement: "bottom-center",
9133
9131
  children: /* @__PURE__ */ jsx(
9134
9132
  "input",
9135
9133
  {
@@ -9148,10 +9146,10 @@ const Input$1 = forwardRef(
9148
9146
  autoComplete: "off",
9149
9147
  disabled: disabled2 || disabledContext,
9150
9148
  className: cx$2(
9151
- styles$z.input,
9152
- right2 ? styles$z.right : "",
9153
- small2 ? styles$z.small : "",
9154
- isInTable2 ? styles$z.isInTable : ""
9149
+ styles$A.input,
9150
+ right2 ? styles$A.right : "",
9151
+ small2 ? styles$A.small : "",
9152
+ isInTable2 ? styles$A.isInTable : ""
9155
9153
  ),
9156
9154
  style: { width: width2 },
9157
9155
  "data-error": error2 || null,
@@ -9164,7 +9162,7 @@ const Input$1 = forwardRef(
9164
9162
  }
9165
9163
  );
9166
9164
  const fileInput = "_fileInput_1elar_1";
9167
- const styles$y = {
9165
+ const styles$z = {
9168
9166
  fileInput
9169
9167
  };
9170
9168
  var InputReaderMethods = /* @__PURE__ */ ((InputReaderMethods2) => {
@@ -9258,7 +9256,7 @@ const FileInput = ({
9258
9256
  {
9259
9257
  name: name2,
9260
9258
  ref: inputRef,
9261
- className: styles$y.fileInput,
9259
+ className: styles$z.fileInput,
9262
9260
  type: "file",
9263
9261
  accept,
9264
9262
  multiple: multi,
@@ -9271,7 +9269,7 @@ const FileInput = ({
9271
9269
  const label$7 = "_label_18pfe_1";
9272
9270
  const labelLeft$1 = "_labelLeft_18pfe_5";
9273
9271
  const icons$1 = "_icons_18pfe_13";
9274
- const styles$x = {
9272
+ const styles$y = {
9275
9273
  label: label$7,
9276
9274
  labelLeft: labelLeft$1,
9277
9275
  icons: icons$1
@@ -9294,9 +9292,9 @@ const Label$2 = ({
9294
9292
  libraryIcon,
9295
9293
  labelLeft: labelLeft2 = false
9296
9294
  }) => {
9297
- return /* @__PURE__ */ jsx("div", { className: cx$2(styles$x.label, labelLeft2 ? styles$x.labelLeft : ""), children: /* @__PURE__ */ jsxs("label", { style: { width: width2 || "" }, children: [
9295
+ return /* @__PURE__ */ jsx("div", { className: cx$2(styles$y.label, labelLeft2 ? styles$y.labelLeft : ""), children: /* @__PURE__ */ jsxs("label", { style: { width: width2 || "" }, children: [
9298
9296
  label2,
9299
- /* @__PURE__ */ jsxs("div", { className: styles$x.icons, children: [
9297
+ /* @__PURE__ */ jsxs("div", { className: styles$y.icons, children: [
9300
9298
  (helpText || onClickHelp) && /* @__PURE__ */ jsx(
9301
9299
  HelpIcon,
9302
9300
  {
@@ -9331,7 +9329,7 @@ const labelLeft = "_labelLeft_1xoss_5";
9331
9329
  const fieldInput = "_fieldInput_1xoss_9";
9332
9330
  const formRow$1 = "_formRow_1xoss_12";
9333
9331
  const button$2 = "_button_1xoss_22";
9334
- const styles$w = {
9332
+ const styles$x = {
9335
9333
  field,
9336
9334
  labelLeft,
9337
9335
  fieldInput,
@@ -9362,7 +9360,7 @@ const Field = ({
9362
9360
  return /* @__PURE__ */ jsxs(
9363
9361
  "div",
9364
9362
  {
9365
- className: cx$2(styles$w.field, labelLeft2 ? styles$w.labelLeft : ""),
9363
+ className: cx$2(styles$x.field, labelLeft2 ? styles$x.labelLeft : ""),
9366
9364
  "data-testid": testId,
9367
9365
  children: [
9368
9366
  (label2 || labelLeft2) && /* @__PURE__ */ jsx(
@@ -9379,7 +9377,7 @@ const Field = ({
9379
9377
  labelLeft: labelLeft2
9380
9378
  }
9381
9379
  ),
9382
- /* @__PURE__ */ jsx("div", { className: styles$w.fieldInput, children })
9380
+ /* @__PURE__ */ jsx("div", { className: styles$x.fieldInput, children })
9383
9381
  ]
9384
9382
  }
9385
9383
  );
@@ -9410,11 +9408,11 @@ const Flex = ({
9410
9408
  );
9411
9409
  };
9412
9410
  const formRow = "_formRow_odewu_1";
9413
- const styles$v = {
9411
+ const styles$w = {
9414
9412
  formRow
9415
9413
  };
9416
9414
  const FormRow = ({ children }) => {
9417
- return /* @__PURE__ */ jsx("div", { className: styles$v.formRow, children });
9415
+ return /* @__PURE__ */ jsx("div", { className: styles$w.formRow, children });
9418
9416
  };
9419
9417
  const getGapValue = (gap) => {
9420
9418
  if (typeof gap === "boolean") {
@@ -9474,7 +9472,7 @@ const small$7 = "_small_b4w53_12";
9474
9472
  const groupOrderFirst$2 = "_groupOrderFirst_b4w53_16";
9475
9473
  const groupOrderMiddle$2 = "_groupOrderMiddle_b4w53_17";
9476
9474
  const groupOrderLast$2 = "_groupOrderLast_b4w53_21";
9477
- const styles$u = {
9475
+ const styles$v = {
9478
9476
  addon,
9479
9477
  small: small$7,
9480
9478
  groupOrderFirst: groupOrderFirst$2,
@@ -9490,16 +9488,16 @@ const InputGroupAddon = ({
9490
9488
  if (groupOrder) {
9491
9489
  switch (groupOrder) {
9492
9490
  case GroupOrder.FIRST:
9493
- return styles$u.groupOrderFirst;
9491
+ return styles$v.groupOrderFirst;
9494
9492
  case GroupOrder.LAST:
9495
- return styles$u.groupOrderLast;
9493
+ return styles$v.groupOrderLast;
9496
9494
  default:
9497
- return styles$u.groupOrderMiddle;
9495
+ return styles$v.groupOrderMiddle;
9498
9496
  }
9499
9497
  }
9500
9498
  return "";
9501
9499
  })();
9502
- return /* @__PURE__ */ jsx("span", { className: cx$2(styles$u.addon, order2, small2 ? styles$u.small : ""), children });
9500
+ return /* @__PURE__ */ jsx("span", { className: cx$2(styles$v.addon, order2, small2 ? styles$v.small : ""), children });
9503
9501
  };
9504
9502
  const inputInTable$8 = "_inputInTable_1wss1_1";
9505
9503
  const inputHover$8 = "_inputHover_1wss1_13";
@@ -13886,7 +13884,7 @@ const ListDragWrapper = ({
13886
13884
  const { active: active2, over } = event;
13887
13885
  const from3 = active2 == null ? void 0 : active2.id;
13888
13886
  const to2 = over == null ? void 0 : over.id;
13889
- if (from3 !== to2) {
13887
+ if (to2 !== void 0 && from3 !== to2) {
13890
13888
  onListReorder({
13891
13889
  from: Number(from3),
13892
13890
  to: Number(to2)
@@ -14687,38 +14685,28 @@ const ListScrollWrapper = ({
14687
14685
  triggerScrollToActiveItem,
14688
14686
  infiniteScroll
14689
14687
  } = scrollDetails;
14690
- if (!infiniteScroll) {
14691
- return /* @__PURE__ */ jsx(
14692
- "div",
14693
- {
14694
- className: cx$2(
14695
- listStyles.listContent,
14696
- scrollable ? listStyles.scrollableList : "",
14697
- hideScrollbar2 ? listStyles.hideScrollbar : ""
14698
- ),
14699
- children: /* @__PURE__ */ jsx("div", { children: children({}) })
14700
- }
14701
- );
14702
- }
14703
14688
  const listContainerRef = useRef(null);
14704
14689
  const estimateItemHeight = () => {
14705
- let height2 = 37;
14690
+ const LINE_HEIGHT = 20;
14691
+ const PADDING2 = 8;
14692
+ const BORDER_WIDTH = 1;
14693
+ let height2 = LINE_HEIGHT + PADDING2 * 2 + BORDER_WIDTH;
14706
14694
  if (items.length > 0) {
14707
14695
  const item2 = items[items.length - 1];
14708
- if (item2.details) height2 += 20;
14709
- if (item2.metadata) height2 += 20;
14696
+ if (item2.details) height2 += LINE_HEIGHT;
14697
+ if (item2.metadata) height2 += LINE_HEIGHT;
14710
14698
  }
14711
14699
  return height2;
14712
14700
  };
14713
- const virtualizer = useVirtualizer({
14701
+ const virtualizer = infiniteScroll ? useVirtualizer({
14714
14702
  count: items.length,
14715
14703
  getScrollElement: () => listContainerRef.current,
14716
14704
  estimateSize: useCallback(estimateItemHeight, []),
14717
14705
  overscan: 5
14718
- });
14706
+ }) : void 0;
14719
14707
  const findFirstActiveItemIndex = (items2) => items2.findIndex((item2) => item2.active === true);
14720
14708
  const setScrollToActiveItem = (activeItemIndex) => {
14721
- if (activeItemIndex >= 0) {
14709
+ if (virtualizer && activeItemIndex >= 0) {
14722
14710
  virtualizer.scrollToIndex(activeItemIndex, {
14723
14711
  align: "center",
14724
14712
  behavior: "smooth"
@@ -14726,28 +14714,27 @@ const ListScrollWrapper = ({
14726
14714
  }
14727
14715
  };
14728
14716
  useEffect(() => {
14729
- if (triggerScrollToActiveItem) {
14717
+ if (triggerScrollToActiveItem && virtualizer) {
14730
14718
  const activeItemIndex = findFirstActiveItemIndex(items);
14731
14719
  setScrollToActiveItem(activeItemIndex);
14732
14720
  }
14733
14721
  }, [triggerScrollToActiveItem]);
14722
+ const getVirtualListStyle = () => {
14723
+ if (!virtualizer) return {};
14724
+ return {
14725
+ height: `${virtualizer.getTotalSize()}px`
14726
+ };
14727
+ };
14734
14728
  return /* @__PURE__ */ jsx(
14735
14729
  "div",
14736
14730
  {
14737
14731
  className: cx$2(
14738
14732
  listStyles.listContent,
14739
- listStyles.scrollableList,
14733
+ scrollable || infiniteScroll ? listStyles.scrollableList : "",
14740
14734
  hideScrollbar2 ? listStyles.hideScrollbar : ""
14741
14735
  ),
14742
14736
  ref: listContainerRef,
14743
- children: /* @__PURE__ */ jsx(
14744
- "div",
14745
- {
14746
- className: listStyles.virtualRows,
14747
- style: { height: `${virtualizer.getTotalSize()}px` },
14748
- children: children({ virtualizer })
14749
- }
14750
- )
14737
+ children: /* @__PURE__ */ jsx("div", { className: listStyles.virtualRows, style: getVirtualListStyle(), children: children({ virtualizer }) })
14751
14738
  }
14752
14739
  );
14753
14740
  };
@@ -14847,7 +14834,7 @@ const dimmer = "_dimmer_477i5_21";
14847
14834
  const content$2 = "_content_477i5_44";
14848
14835
  const text$1 = "_text_477i5_49";
14849
14836
  const details$1 = "_details_477i5_53";
14850
- const styles$t = {
14837
+ const styles$u = {
14851
14838
  loader,
14852
14839
  fullViewPortSize,
14853
14840
  cover,
@@ -14872,22 +14859,22 @@ const Loader = ({
14872
14859
  return /* @__PURE__ */ jsx(
14873
14860
  "div",
14874
14861
  {
14875
- className: cx$2(styles$t.loader, cover2 ? styles$t.cover : "", {
14876
- [styles$t.fullViewPortSize]: fullViewPortSize2
14862
+ className: cx$2(styles$u.loader, cover2 ? styles$u.cover : "", {
14863
+ [styles$u.fullViewPortSize]: fullViewPortSize2
14877
14864
  }),
14878
14865
  style: { width: width2, height: height2 },
14879
14866
  "data-testid": testId,
14880
- children: /* @__PURE__ */ jsx("div", { className: styles$t.dimmer, style: { background: background2, color: color2 }, children: /* @__PURE__ */ jsxs(
14867
+ children: /* @__PURE__ */ jsx("div", { className: styles$u.dimmer, style: { background: background2, color: color2 }, children: /* @__PURE__ */ jsxs(
14881
14868
  "div",
14882
14869
  {
14883
- className: styles$t.content,
14870
+ className: styles$u.content,
14884
14871
  "data-testid": testId && `${testId}-content`,
14885
14872
  children: [
14886
14873
  children,
14887
14874
  text2 && /* @__PURE__ */ jsx(
14888
14875
  "div",
14889
14876
  {
14890
- className: styles$t.text,
14877
+ className: styles$u.text,
14891
14878
  "data-testid": testId && `${testId}-text`,
14892
14879
  children: text2
14893
14880
  }
@@ -14895,7 +14882,7 @@ const Loader = ({
14895
14882
  details2 && /* @__PURE__ */ jsx(
14896
14883
  "div",
14897
14884
  {
14898
- className: styles$t.details,
14885
+ className: styles$u.details,
14899
14886
  "data-testid": testId && `${testId}-details`,
14900
14887
  children: details2
14901
14888
  }
@@ -14927,7 +14914,7 @@ const absolute = "_absolute_1okhq_143";
14927
14914
  const legendToggle = "_legendToggle_1okhq_155";
14928
14915
  const detailsText = "_detailsText_1okhq_165";
14929
14916
  const footer$1 = "_footer_1okhq_169";
14930
- const styles$s = {
14917
+ const styles$t = {
14931
14918
  inputInTable: inputInTable$7,
14932
14919
  inputHover: inputHover$7,
14933
14920
  inputFocus: inputFocus$7,
@@ -14971,9 +14958,9 @@ const Dismiss = ({
14971
14958
  "div",
14972
14959
  {
14973
14960
  className: cx$2(
14974
- styles$s.dismiss,
14975
- isInToast ? styles$s.absolute : "",
14976
- type === MessageType.INFO ? styles$s.info : type === MessageType.SUCCESS ? styles$s.success : type === MessageType.WARNING ? styles$s.warning : type === MessageType.ERROR ? styles$s.error : null
14961
+ styles$t.dismiss,
14962
+ isInToast ? styles$t.absolute : "",
14963
+ type === MessageType.INFO ? styles$t.info : type === MessageType.SUCCESS ? styles$t.success : type === MessageType.WARNING ? styles$t.warning : type === MessageType.ERROR ? styles$t.error : null
14977
14964
  ),
14978
14965
  children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CLOSE, onClick: onClose, testId })
14979
14966
  }
@@ -14992,8 +14979,8 @@ const reducer$1 = (state, action2) => {
14992
14979
  };
14993
14980
  const Details = ({ details: details2, visible, dispatch }) => {
14994
14981
  return /* @__PURE__ */ jsxs("div", { children: [
14995
- /* @__PURE__ */ jsx("div", { className: cx$2(styles$s.legendToggle), onClick: dispatch, children: visible ? "Hide details" : "Show details" }),
14996
- visible ? /* @__PURE__ */ jsx("div", { className: styles$s.detailsText, children: details2 }) : null
14982
+ /* @__PURE__ */ jsx("div", { className: cx$2(styles$t.legendToggle), onClick: dispatch, children: visible ? "Hide details" : "Show details" }),
14983
+ visible ? /* @__PURE__ */ jsx("div", { className: styles$t.detailsText, children: details2 }) : null
14997
14984
  ] });
14998
14985
  };
14999
14986
  const DialogIcon = ({ type }) => {
@@ -15032,15 +15019,15 @@ const Message = ({ message: message2 }) => {
15032
15019
  "div",
15033
15020
  {
15034
15021
  className: cx$2(
15035
- styles$s.container,
15036
- width2 ? styles$s.block : null,
15037
- type === MessageType.SUCCESS ? styles$s.success : type === MessageType.WARNING ? styles$s.warning : type === MessageType.ERROR ? styles$s.error : styles$s.info
15022
+ styles$t.container,
15023
+ width2 ? styles$t.block : null,
15024
+ type === MessageType.SUCCESS ? styles$t.success : type === MessageType.WARNING ? styles$t.warning : type === MessageType.ERROR ? styles$t.error : styles$t.info
15038
15025
  ),
15039
15026
  style: { width: width2, maxHeight },
15040
15027
  children: [
15041
- /* @__PURE__ */ jsx("div", { children: icon2 ? /* @__PURE__ */ jsx("div", { className: styles$s.icon, children: /* @__PURE__ */ jsx(DialogIcon, { type }) }) : null }),
15042
- /* @__PURE__ */ jsxs("div", { className: styles$s.content, children: [
15043
- heading2 ? /* @__PURE__ */ jsx("div", { className: styles$s.heading, children: heading2 }) : null,
15028
+ /* @__PURE__ */ jsx("div", { children: icon2 ? /* @__PURE__ */ jsx("div", { className: styles$t.icon, children: /* @__PURE__ */ jsx(DialogIcon, { type }) }) : null }),
15029
+ /* @__PURE__ */ jsxs("div", { className: styles$t.content, children: [
15030
+ heading2 ? /* @__PURE__ */ jsx("div", { className: styles$t.heading, children: heading2 }) : null,
15044
15031
  /* @__PURE__ */ jsx("div", { children: content2 }),
15045
15032
  details2 ? /* @__PURE__ */ jsx(
15046
15033
  Details,
@@ -15050,7 +15037,7 @@ const Message = ({ message: message2 }) => {
15050
15037
  dispatch: () => dispatch({ type: MessageToggle.TOGGLE_DETAILS })
15051
15038
  }
15052
15039
  ) : null,
15053
- !!footer2 && /* @__PURE__ */ jsx("div", { className: styles$s.footer, children: footer2 })
15040
+ !!footer2 && /* @__PURE__ */ jsx("div", { className: styles$t.footer, children: footer2 })
15054
15041
  ] }),
15055
15042
  withDismiss ? /* @__PURE__ */ jsx(Dismiss, { type, onClose }) : null
15056
15043
  ]
@@ -15082,7 +15069,7 @@ const wrapper$2 = "_wrapper_sb0hc_1";
15082
15069
  const contentContainer = "_contentContainer_sb0hc_15";
15083
15070
  const centered = "_centered_sb0hc_24";
15084
15071
  const newLine = "_newLine_sb0hc_28";
15085
- const styles$r = {
15072
+ const styles$s = {
15086
15073
  wrapper: wrapper$2,
15087
15074
  contentContainer,
15088
15075
  centered,
@@ -15102,12 +15089,12 @@ const Wrapper = ({ children }) => {
15102
15089
  }
15103
15090
  }
15104
15091
  }, []);
15105
- return /* @__PURE__ */ jsx("div", { ref: wrapperRef, tabIndex: -1, className: cx$2(styles$r.wrapper), children });
15092
+ return /* @__PURE__ */ jsx("div", { ref: wrapperRef, tabIndex: -1, className: cx$2(styles$s.wrapper), children });
15106
15093
  };
15107
15094
  const Content$2 = ({ children, width: width2, centered: centered2 }) => /* @__PURE__ */ jsx(
15108
15095
  "div",
15109
15096
  {
15110
- className: cx$2(styles$r.contentContainer, centered2 ? styles$r.centered : ""),
15097
+ className: cx$2(styles$s.contentContainer, centered2 ? styles$s.centered : ""),
15111
15098
  style: { maxWidth: width2 },
15112
15099
  children
15113
15100
  }
@@ -15156,7 +15143,7 @@ const menu$1 = "_menu_12x4u_1";
15156
15143
  const header = "_header_12x4u_11";
15157
15144
  const item$3 = "_item_12x4u_27";
15158
15145
  const heading$1 = "_heading_12x4u_32";
15159
- const styles$q = {
15146
+ const styles$r = {
15160
15147
  menu: menu$1,
15161
15148
  header,
15162
15149
  item: item$3,
@@ -15167,9 +15154,9 @@ const Option$1 = ({
15167
15154
  onChange
15168
15155
  }) => {
15169
15156
  const { key: key2, label: label2, selected: selected2 } = option2 ?? {};
15170
- return /* @__PURE__ */ jsx("div", { className: styles$q.item, children: /* @__PURE__ */ jsx(CheckBox, { label: label2, noMargin: true, checked: selected2, onChange }) }, key2);
15157
+ return /* @__PURE__ */ jsx("div", { className: styles$r.item, children: /* @__PURE__ */ jsx(CheckBox, { label: label2, noMargin: true, checked: selected2, onChange }) }, key2);
15171
15158
  };
15172
- const Heading$1 = ({ label: label2 }) => /* @__PURE__ */ jsx("div", { className: styles$q.heading, children: label2 });
15159
+ const Heading$1 = ({ label: label2 }) => /* @__PURE__ */ jsx("div", { className: styles$r.heading, children: label2 });
15173
15160
  var DropdownType = /* @__PURE__ */ ((DropdownType2) => {
15174
15161
  DropdownType2["HEADING"] = "Heading";
15175
15162
  DropdownType2["DIVIDER"] = "Divider";
@@ -15182,9 +15169,9 @@ const Layer$1 = ({
15182
15169
  showHeader,
15183
15170
  maxHeight
15184
15171
  }) => {
15185
- return /* @__PURE__ */ jsxs("div", { className: cx$2("menu", styles$q.menu), style: { maxHeight }, children: [
15172
+ return /* @__PURE__ */ jsxs("div", { className: cx$2("menu", styles$r.menu), style: { maxHeight }, children: [
15186
15173
  showHeader && /* @__PURE__ */ jsxs(Fragment$1, { children: [
15187
- /* @__PURE__ */ jsxs("div", { className: styles$q.header, children: [
15174
+ /* @__PURE__ */ jsxs("div", { className: styles$r.header, children: [
15188
15175
  /* @__PURE__ */ jsx(
15189
15176
  "a",
15190
15177
  {
@@ -15288,7 +15275,7 @@ const OptionDropdown = ({
15288
15275
  };
15289
15276
  const page = "_page_beskc_1";
15290
15277
  const scroll$1 = "_scroll_beskc_23";
15291
- const styles$p = {
15278
+ const styles$q = {
15292
15279
  page,
15293
15280
  scroll: scroll$1
15294
15281
  };
@@ -15303,7 +15290,7 @@ const Page = ({
15303
15290
  return /* @__PURE__ */ jsx(
15304
15291
  "div",
15305
15292
  {
15306
- className: cx$2(styles$p.page, scroll2 ? styles$p.scroll : ""),
15293
+ className: cx$2(styles$q.page, scroll2 ? styles$q.scroll : ""),
15307
15294
  style: { left: left2, padding: padding2, top: top2 },
15308
15295
  children
15309
15296
  }
@@ -15324,7 +15311,7 @@ const right$3 = "_right_sl2b5_182";
15324
15311
  const groupOrderFirst$1 = "_groupOrderFirst_sl2b5_193";
15325
15312
  const groupOrderMiddle$1 = "_groupOrderMiddle_sl2b5_194";
15326
15313
  const groupOrderLast$1 = "_groupOrderLast_sl2b5_198";
15327
- const styles$o = {
15314
+ const styles$p = {
15328
15315
  inputInTable: inputInTable$6,
15329
15316
  inputHover: inputHover$6,
15330
15317
  inputFocus: inputFocus$6,
@@ -15407,11 +15394,11 @@ const NativeSelect = ({
15407
15394
  if (groupOrder) {
15408
15395
  switch (groupOrder) {
15409
15396
  case GroupOrder.FIRST:
15410
- return styles$o.groupOrderFirst;
15397
+ return styles$p.groupOrderFirst;
15411
15398
  case GroupOrder.LAST:
15412
- return styles$o.groupOrderLast;
15399
+ return styles$p.groupOrderLast;
15413
15400
  default:
15414
- return styles$o.groupOrderMiddle;
15401
+ return styles$p.groupOrderMiddle;
15415
15402
  }
15416
15403
  }
15417
15404
  return "";
@@ -15424,16 +15411,15 @@ const NativeSelect = ({
15424
15411
  text: tooltip2 || error2 || warning2,
15425
15412
  enabled: tooltip2 && isStringNumberOrNode(tooltip2) || error2 && isStringNumberOrNode(error2) || warning2 && isStringNumberOrNode(warning2) || false,
15426
15413
  maxWidth: maxTooltipWidth,
15427
- placement: "bottom-center",
15428
15414
  children: /* @__PURE__ */ jsx(
15429
15415
  "select",
15430
15416
  {
15431
15417
  className: cx$2(
15432
- styles$o.select,
15433
- isUnselected ? styles$o.unSelected : "",
15434
- right2 ? styles$o.right : "",
15435
- small2 ? styles$o.small : "",
15436
- isInTable2 ? styles$o.isInTable : "",
15418
+ styles$p.select,
15419
+ isUnselected ? styles$p.unSelected : "",
15420
+ right2 ? styles$p.right : "",
15421
+ small2 ? styles$p.small : "",
15422
+ isInTable2 ? styles$p.isInTable : "",
15437
15423
  order2
15438
15424
  ),
15439
15425
  style: {
@@ -16247,7 +16233,7 @@ const optionContent = "_optionContent_dw2pp_92";
16247
16233
  const label$5 = "_label_dw2pp_97";
16248
16234
  const icon$2 = "_icon_dw2pp_104";
16249
16235
  const details = "_details_dw2pp_109";
16250
- const styles$n = {
16236
+ const styles$o = {
16251
16237
  layerContainer,
16252
16238
  layer,
16253
16239
  small: small$5,
@@ -16268,7 +16254,7 @@ const Heading = ({ label: label2 }) => {
16268
16254
  "div",
16269
16255
  {
16270
16256
  onClick: (evt) => evt.stopPropagation(),
16271
- className: styles$n.heading,
16257
+ className: styles$o.heading,
16272
16258
  children: label2
16273
16259
  }
16274
16260
  );
@@ -16289,21 +16275,21 @@ const Option = ({
16289
16275
  "div",
16290
16276
  {
16291
16277
  className: cx$2(
16292
- styles$n.option,
16293
- disabled2 ? styles$n.disabled : "",
16294
- selected2 ? styles$n == null ? void 0 : styles$n.selected : "",
16295
- focused2 ? styles$n.focused : ""
16278
+ styles$o.option,
16279
+ disabled2 ? styles$o.disabled : "",
16280
+ selected2 ? styles$o == null ? void 0 : styles$o.selected : "",
16281
+ focused2 ? styles$o.focused : ""
16296
16282
  ),
16297
16283
  onClick: !disabled2 && onSelectOption ? onSelectOption : void 0,
16298
16284
  "data-testid": testId,
16299
16285
  children: [
16300
- /* @__PURE__ */ jsx("div", { className: styles$n.optionContent, children: /* @__PURE__ */ jsxs("span", { className: styles$n.label, title: label2, children: [
16286
+ /* @__PURE__ */ jsx("div", { className: styles$o.optionContent, children: /* @__PURE__ */ jsxs("span", { className: styles$o.label, title: label2, children: [
16301
16287
  label2,
16302
- icon2 && /* @__PURE__ */ jsx("span", { className: styles$n.icon, children: icon2 })
16288
+ icon2 && /* @__PURE__ */ jsx("span", { className: styles$o.icon, children: icon2 })
16303
16289
  ] }) }),
16304
- details2 && /* @__PURE__ */ jsx("div", { className: cx$2(styles$n.details), children: /* @__PURE__ */ jsx(Text, { faint: true, children: details2 }) }),
16305
- !!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsx("div", { className: cx$2(styles$n.actions), children: /* @__PURE__ */ jsx(Actions, { actions: actions2, closeLayer }) }),
16306
- /* @__PURE__ */ jsx("span", { className: styles$n.check, children: selected2 ? /* @__PURE__ */ jsx(Icon, { icon: IconType.CHECK }) : null })
16290
+ details2 && /* @__PURE__ */ jsx("div", { className: cx$2(styles$o.details), children: /* @__PURE__ */ jsx(Text, { faint: true, children: details2 }) }),
16291
+ !!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsx("div", { className: cx$2(styles$o.actions), children: /* @__PURE__ */ jsx(Actions, { actions: actions2, closeLayer }) }),
16292
+ /* @__PURE__ */ jsx("span", { className: styles$o.check, children: selected2 ? /* @__PURE__ */ jsx(Icon, { icon: IconType.CHECK }) : null })
16307
16293
  ]
16308
16294
  }
16309
16295
  );
@@ -16415,8 +16401,8 @@ const Layer = ({
16415
16401
  "div",
16416
16402
  {
16417
16403
  "data-testid": testId,
16418
- className: cx$2(styles$n.layer, small2 && styles$n.small),
16419
- children: !sections.length ? /* @__PURE__ */ jsx("ul", { children: /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("div", { className: styles$n.message, style: { width: width2 }, children: "No matches" }) }) }) : /* @__PURE__ */ jsx(
16404
+ className: cx$2(styles$o.layer, small2 && styles$o.small),
16405
+ children: !sections.length ? /* @__PURE__ */ jsx("ul", { children: /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("div", { className: styles$o.message, style: { width: width2 }, children: "No matches" }) }) }) : /* @__PURE__ */ jsx(
16420
16406
  FixedSizeList,
16421
16407
  {
16422
16408
  ref: listRef,
@@ -16476,7 +16462,7 @@ const groupOrderFirst = "_groupOrderFirst_7uwhv_297";
16476
16462
  const groupOrderMiddle = "_groupOrderMiddle_7uwhv_298";
16477
16463
  const groupOrderLast = "_groupOrderLast_7uwhv_302";
16478
16464
  const detailedLabel = "_detailedLabel_7uwhv_307";
16479
- const styles$m = {
16465
+ const styles$n = {
16480
16466
  inputInTable: inputInTable$5,
16481
16467
  inputHover: inputHover$5,
16482
16468
  inputFocus: inputFocus$5,
@@ -16536,13 +16522,13 @@ const MultiSelectedOptions = ({
16536
16522
  return /* @__PURE__ */ jsxs(
16537
16523
  "div",
16538
16524
  {
16539
- className: styles$m.multiOptions,
16525
+ className: styles$n.multiOptions,
16540
16526
  "data-testid": testId && `${testId}-value`,
16541
16527
  children: [
16542
16528
  displayedOptions.filter((option2) => option2 && option2.label).map((option2, index2) => /* @__PURE__ */ jsx(
16543
16529
  "span",
16544
16530
  {
16545
- className: styles$m.multiOption,
16531
+ className: styles$n.multiOption,
16546
16532
  onClick: (evt) => {
16547
16533
  evt.stopPropagation();
16548
16534
  },
@@ -16555,7 +16541,7 @@ const MultiSelectedOptions = ({
16555
16541
  {
16556
16542
  text: overflowOptions.map((option2, index2) => /* @__PURE__ */ jsx("div", { children: option2.label }, index2)),
16557
16543
  display: "inline-flex",
16558
- children: /* @__PURE__ */ jsx("span", { className: styles$m.multiOption, children: displayedOptions.length ? `+${overflowOptions.length}` : `${overflowOptions.length} items` })
16544
+ children: /* @__PURE__ */ jsx("span", { className: styles$n.multiOption, children: displayedOptions.length ? `+${overflowOptions.length}` : `${overflowOptions.length} items` })
16559
16545
  }
16560
16546
  )
16561
16547
  ]
@@ -16583,8 +16569,8 @@ const Input = ({
16583
16569
  const inputWidth = ((_b = inputRef.current) == null ? void 0 : _b.offsetWidth) || 0;
16584
16570
  return containerWidth - inputWidth;
16585
16571
  };
16586
- return /* @__PURE__ */ jsxs("div", { className: styles$m.triggerInputContainer, ref: containerRef, children: [
16587
- !hasSelectedValues ? /* @__PURE__ */ jsx("span", { className: styles$m.placeHolder, children: !(searchValue == null ? void 0 : searchValue.length) ? placeholder2 : "" }) : isMulti2 ? /* @__PURE__ */ jsx(
16572
+ return /* @__PURE__ */ jsxs("div", { className: styles$n.triggerInputContainer, ref: containerRef, children: [
16573
+ !hasSelectedValues ? /* @__PURE__ */ jsx("span", { className: styles$n.placeHolder, children: !(searchValue == null ? void 0 : searchValue.length) ? placeholder2 : "" }) : isMulti2 ? /* @__PURE__ */ jsx(
16588
16574
  MultiSelectedOptions,
16589
16575
  {
16590
16576
  selectedOptions,
@@ -16595,7 +16581,7 @@ const Input = ({
16595
16581
  ) : /* @__PURE__ */ jsx(
16596
16582
  "span",
16597
16583
  {
16598
- className: styles$m.selectedSingleValue,
16584
+ className: styles$n.selectedSingleValue,
16599
16585
  "data-testid": testId && `${testId}-value`,
16600
16586
  children: !(searchValue == null ? void 0 : searchValue.length) ? selectedOptions == null ? void 0 : selectedOptions.label : ""
16601
16587
  }
@@ -16606,7 +16592,7 @@ const Input = ({
16606
16592
  tabIndex: -1,
16607
16593
  ref: inputRef,
16608
16594
  size: inputSize,
16609
- className: styles$m.input,
16595
+ className: styles$n.input,
16610
16596
  value: searchValue,
16611
16597
  onChange: (evt) => onChange(evt.target.value),
16612
16598
  "data-error": error2 || null,
@@ -16652,18 +16638,18 @@ const Trigger = ({
16652
16638
  if (groupOrder) {
16653
16639
  switch (groupOrder) {
16654
16640
  case GroupOrder.FIRST:
16655
- return styles$m.groupOrderFirst;
16641
+ return styles$n.groupOrderFirst;
16656
16642
  case GroupOrder.LAST:
16657
- return styles$m.groupOrderLast;
16643
+ return styles$n.groupOrderLast;
16658
16644
  default:
16659
- return styles$m.groupOrderMiddle;
16645
+ return styles$n.groupOrderMiddle;
16660
16646
  }
16661
16647
  }
16662
16648
  return "";
16663
16649
  })();
16664
16650
  const selectedOptionsWithDetails = !Array.isArray(selectedOptions) && (selectedOptions == null ? void 0 : selectedOptions.details) ? {
16665
16651
  ...selectedOptions,
16666
- label: /* @__PURE__ */ jsxs("div", { className: cx$2(styles$m.detailedLabel), children: [
16652
+ label: /* @__PURE__ */ jsxs("div", { className: cx$2(styles$n.detailedLabel), children: [
16667
16653
  /* @__PURE__ */ jsx(Text, { children: selectedOptions.label }),
16668
16654
  /* @__PURE__ */ jsx(Text, { muted: true, children: selectedOptions.details })
16669
16655
  ] })
@@ -16676,12 +16662,12 @@ const Trigger = ({
16676
16662
  ref: triggerRef,
16677
16663
  tabIndex,
16678
16664
  className: cx$2(
16679
- styles$m.trigger,
16680
- isOpen2 ? styles$m.isOpen : "",
16681
- disabled2 ? styles$m.disabled : "",
16682
- small2 ? styles$m.small : "",
16683
- isInTable2 ? styles$m.isInTable : "",
16684
- right2 ? styles$m.right : "",
16665
+ styles$n.trigger,
16666
+ isOpen2 ? styles$n.isOpen : "",
16667
+ disabled2 ? styles$n.disabled : "",
16668
+ small2 ? styles$n.small : "",
16669
+ isInTable2 ? styles$n.isInTable : "",
16670
+ right2 ? styles$n.right : "",
16685
16671
  order2
16686
16672
  ),
16687
16673
  onClick: (evt) => {
@@ -16713,12 +16699,12 @@ const Trigger = ({
16713
16699
  testId
16714
16700
  }
16715
16701
  ),
16716
- /* @__PURE__ */ jsx("span", { className: styles$m.icons, children: canClear ? /* @__PURE__ */ jsx(
16702
+ /* @__PURE__ */ jsx("span", { className: styles$n.icons, children: canClear ? /* @__PURE__ */ jsx(
16717
16703
  "span",
16718
16704
  {
16719
16705
  className: cx$2(
16720
- styles$m.clearAll,
16721
- clearAllIsFocused ? styles$m.focus : ""
16706
+ styles$n.clearAll,
16707
+ clearAllIsFocused ? styles$n.focus : ""
16722
16708
  ),
16723
16709
  onClick: (evt) => {
16724
16710
  evt.stopPropagation();
@@ -16729,7 +16715,7 @@ const Trigger = ({
16729
16715
  "data-testid": testId && `${testId}-clear`,
16730
16716
  children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CLOSE })
16731
16717
  }
16732
- ) : /* @__PURE__ */ jsx("span", { className: cx$2(styles$m.iconOpen), children: /* @__PURE__ */ jsx(Icon, { icon: "chevron down" }) }) })
16718
+ ) : /* @__PURE__ */ jsx("span", { className: cx$2(styles$n.iconOpen), children: /* @__PURE__ */ jsx(Icon, { icon: "chevron down" }) }) })
16733
16719
  ]
16734
16720
  }
16735
16721
  )
@@ -16742,7 +16728,6 @@ const Trigger = ({
16742
16728
  text: tooltip2 || error2 || warning2,
16743
16729
  enabled: tooltip2 && isStringNumberOrNode(tooltip2) || error2 && isStringNumberOrNode(error2) || warning2 && isStringNumberOrNode(warning2) || false,
16744
16730
  maxWidth: maxTooltipWidth,
16745
- placement: "bottom-center",
16746
16731
  children: triggerInput
16747
16732
  }
16748
16733
  ) });
@@ -17270,7 +17255,7 @@ const CustomSelect = (props) => {
17270
17255
  }
17271
17256
  ),
17272
17257
  state.isLayerOpen && renderLayer(
17273
- /* @__PURE__ */ jsx("div", { ...layerProps, className: styles$n.layerContainer, children: /* @__PURE__ */ jsx(
17258
+ /* @__PURE__ */ jsx("div", { ...layerProps, className: styles$o.layerContainer, children: /* @__PURE__ */ jsx(
17274
17259
  Layer,
17275
17260
  {
17276
17261
  listRef,
@@ -17519,7 +17504,7 @@ const validateSelectedPage = (selectedPage, numPages, errorMessageTemplate = "Se
17519
17504
  return valid;
17520
17505
  };
17521
17506
  const paginationContainer = "_paginationContainer_1tmz4_1";
17522
- const styles$l = {
17507
+ const styles$m = {
17523
17508
  paginationContainer
17524
17509
  };
17525
17510
  const Pagination = ({ pagination }) => {
@@ -17556,7 +17541,7 @@ const Pagination = ({ pagination }) => {
17556
17541
  onSelectPage(Number(value));
17557
17542
  }
17558
17543
  };
17559
- return /* @__PURE__ */ jsxs("div", { className: styles$l.paginationContainer, children: [
17544
+ return /* @__PURE__ */ jsxs("div", { className: styles$m.paginationContainer, children: [
17560
17545
  rowsPerPage && /* @__PURE__ */ jsx("div", { style: { flexShrink: 0 }, children: /* @__PURE__ */ jsx(
17561
17546
  Select,
17562
17547
  {
@@ -17641,7 +17626,7 @@ const Pagination = ({ pagination }) => {
17641
17626
  const toggleBox = "_toggleBox_lhie5_1";
17642
17627
  const fullWidthStyleFix = "_fullWidthStyleFix_lhie5_8";
17643
17628
  const dismiss = "_dismiss_lhie5_13";
17644
- const styles$k = {
17629
+ const styles$l = {
17645
17630
  toggleBox,
17646
17631
  fullWidthStyleFix,
17647
17632
  dismiss
@@ -17695,7 +17680,7 @@ const Popover = ({
17695
17680
  /* @__PURE__ */ jsxs(
17696
17681
  "div",
17697
17682
  {
17698
- className: fullWidth ? cx$2(styles$k.toggleBox, styles$k.fullWidthStyleFix) : cx$2(styles$k.toggleBox),
17683
+ className: fullWidth ? cx$2(styles$l.toggleBox, styles$l.fullWidthStyleFix) : cx$2(styles$l.toggleBox),
17699
17684
  ...layerProps,
17700
17685
  children: [
17701
17686
  /* @__PURE__ */ jsxs("div", { children: [
@@ -17703,7 +17688,7 @@ const Popover = ({
17703
17688
  content2,
17704
17689
  { close: close2 }
17705
17690
  ) : content2,
17706
- showCloseButton && /* @__PURE__ */ jsx("div", { className: styles$k.dismiss, children: /* @__PURE__ */ jsx(Button$1, { small: true, round: true, onClick: close2, icon: IconType.CLOSE }) })
17691
+ showCloseButton && /* @__PURE__ */ jsx("div", { className: styles$l.dismiss, children: /* @__PURE__ */ jsx(Button$1, { small: true, round: true, onClick: close2, icon: IconType.CLOSE }) })
17707
17692
  ] }),
17708
17693
  /* @__PURE__ */ jsx(
17709
17694
  Arrow,
@@ -17722,7 +17707,7 @@ const Popover = ({
17722
17707
  ] });
17723
17708
  };
17724
17709
  const printHeader = "_printHeader_o7xxx_1";
17725
- const styles$j = {
17710
+ const styles$k = {
17726
17711
  printHeader
17727
17712
  };
17728
17713
  const PrintHeader = ({
@@ -17734,7 +17719,7 @@ const PrintHeader = ({
17734
17719
  {
17735
17720
  src: logo2,
17736
17721
  alt,
17737
- className: styles$j.printHeader,
17722
+ className: styles$k.printHeader,
17738
17723
  style: { width: logoWidth }
17739
17724
  }
17740
17725
  );
@@ -17748,7 +17733,7 @@ const orange = "_orange_23ror_30";
17748
17733
  const yellow = "_yellow_23ror_33";
17749
17734
  const green = "_green_23ror_36";
17750
17735
  const label$3 = "_label_23ror_39";
17751
- const styles$i = {
17736
+ const styles$j = {
17752
17737
  progress: progress$1,
17753
17738
  inverted,
17754
17739
  bar,
@@ -17761,11 +17746,11 @@ const styles$i = {
17761
17746
  label: label$3
17762
17747
  };
17763
17748
  const getColor = (perct) => {
17764
- if (perct < 20) return styles$i.grey;
17765
- if (perct < 40) return styles$i.red;
17766
- if (perct < 60) return styles$i.orange;
17767
- if (perct < 80) return styles$i.yellow;
17768
- return styles$i.green;
17749
+ if (perct < 20) return styles$j.grey;
17750
+ if (perct < 40) return styles$j.red;
17751
+ if (perct < 60) return styles$j.orange;
17752
+ if (perct < 80) return styles$j.yellow;
17753
+ return styles$j.green;
17769
17754
  };
17770
17755
  const ProgressBar$1 = ({
17771
17756
  width: width2 = "auto",
@@ -17778,21 +17763,21 @@ const ProgressBar$1 = ({
17778
17763
  return /* @__PURE__ */ jsx("div", { style: { width: width2 }, "data-percent": percentage, children: /* @__PURE__ */ jsxs(
17779
17764
  "div",
17780
17765
  {
17781
- className: cx$2(styles$i.progress, inverted2 ? styles$i.inverted : ""),
17766
+ className: cx$2(styles$j.progress, inverted2 ? styles$j.inverted : ""),
17782
17767
  style: { width: width2 },
17783
17768
  children: [
17784
17769
  /* @__PURE__ */ jsx(
17785
17770
  "div",
17786
17771
  {
17787
17772
  className: cx$2(
17788
- styles$i.bar,
17789
- showProgressColors ? getColor(percentage) : colored2 ? styles$i.colored : ""
17773
+ styles$j.bar,
17774
+ showProgressColors ? getColor(percentage) : colored2 ? styles$j.colored : ""
17790
17775
  ),
17791
17776
  style: { width: `${percentage}%` },
17792
- children: /* @__PURE__ */ jsx("div", { className: styles$i.label, children: !noLabel2 && `${percentage}%` })
17777
+ children: /* @__PURE__ */ jsx("div", { className: styles$j.label, children: !noLabel2 && `${percentage}%` })
17793
17778
  }
17794
17779
  ),
17795
- /* @__PURE__ */ jsx("div", { className: styles$i.label, children: !noLabel2 && `${percentage}%` })
17780
+ /* @__PURE__ */ jsx("div", { className: styles$j.label, children: !noLabel2 && `${percentage}%` })
17796
17781
  ]
17797
17782
  }
17798
17783
  ) });
@@ -17806,7 +17791,7 @@ const noMargin$1 = "_noMargin_1fbik_32";
17806
17791
  const disabled$2 = "_disabled_1fbik_90";
17807
17792
  const isInTable = "_isInTable_1fbik_106";
17808
17793
  const helpIconEnabled$1 = "_helpIconEnabled_1fbik_111";
17809
- const styles$h = {
17794
+ const styles$i = {
17810
17795
  wrapper: wrapper$1,
17811
17796
  inline: inline$1,
17812
17797
  radio,
@@ -17835,10 +17820,10 @@ const RadioInput = ({
17835
17820
  "div",
17836
17821
  {
17837
17822
  className: cx$2(
17838
- styles$h.radio,
17839
- disabled2 ? styles$h.disabled : null,
17840
- small2 ? styles$h.small : null,
17841
- noMargin2 ? styles$h.noMargin : null
17823
+ styles$i.radio,
17824
+ disabled2 ? styles$i.disabled : null,
17825
+ small2 ? styles$i.small : null,
17826
+ noMargin2 ? styles$i.noMargin : null
17842
17827
  ),
17843
17828
  onClick: onChange,
17844
17829
  "data-testid": testId,
@@ -17855,7 +17840,7 @@ const RadioInput = ({
17855
17840
  }
17856
17841
  ),
17857
17842
  /* @__PURE__ */ jsx("label", { "data-name": name2, "data-value": value, children: label2 }),
17858
- showHelp && /* @__PURE__ */ jsx("div", { className: styles$h.helpIconEnabled, onClick: onClickHelp, children: /* @__PURE__ */ jsx(HelpIcon, { text: helpText }) })
17843
+ showHelp && /* @__PURE__ */ jsx("div", { className: styles$i.helpIconEnabled, onClick: onClickHelp, children: /* @__PURE__ */ jsx(HelpIcon, { text: helpText }) })
17859
17844
  ]
17860
17845
  }
17861
17846
  );
@@ -17895,13 +17880,13 @@ const RadioButton = ({
17895
17880
  "div",
17896
17881
  {
17897
17882
  className: cx$2(
17898
- styles$h.wrapper,
17899
- inline2 ? styles$h.inline : null,
17900
- classForContainer === "inline fields" ? styles$h.inline : null
17883
+ styles$i.wrapper,
17884
+ inline2 ? styles$i.inline : null,
17885
+ classForContainer === "inline fields" ? styles$i.inline : null
17901
17886
  //deprecated
17902
17887
  ),
17903
17888
  children: [
17904
- mainLabel && /* @__PURE__ */ jsx("label", { className: cx$2(inline2 && styles$h.labelMargin), children: label2 }),
17889
+ mainLabel && /* @__PURE__ */ jsx("label", { className: cx$2(inline2 && styles$i.labelMargin), children: label2 }),
17905
17890
  options.map(
17906
17891
  (option2, index2) => {
17907
17892
  const selected2 = (option2 == null ? void 0 : option2.checked) || (option2 == null ? void 0 : option2.value) === selectedValue || false;
@@ -48149,7 +48134,7 @@ var interopRequireDefaultExports = interopRequireDefault.exports;
48149
48134
  const require$$2 = /* @__PURE__ */ getAugmentedNamespace(_extends$5);
48150
48135
  const richTextToolbar = "_richTextToolbar_1gbkk_1";
48151
48136
  const richTextToolbarContainer = "_richTextToolbarContainer_1gbkk_5";
48152
- const styles$g = {
48137
+ const styles$h = {
48153
48138
  richTextToolbar,
48154
48139
  richTextToolbarContainer
48155
48140
  };
@@ -48201,8 +48186,8 @@ const RichTextToolbar = ({
48201
48186
  active: active2.orderedList()
48202
48187
  }
48203
48188
  ];
48204
- return /* @__PURE__ */ jsxs("div", { className: styles$g.richTextToolbarContainer, children: [
48205
- /* @__PURE__ */ jsx("div", { className: styles$g.richTextToolbar, children: items.map((item2, index2) => /* @__PURE__ */ jsx(
48189
+ return /* @__PURE__ */ jsxs("div", { className: styles$h.richTextToolbarContainer, children: [
48190
+ /* @__PURE__ */ jsx("div", { className: styles$h.richTextToolbar, children: items.map((item2, index2) => /* @__PURE__ */ jsx(
48206
48191
  Button$1,
48207
48192
  {
48208
48193
  small: true,
@@ -48230,7 +48215,7 @@ const inputWarning$4 = "_inputWarning_1fb4l_26";
48230
48215
  const inputDisabled$4 = "_inputDisabled_1fb4l_61";
48231
48216
  const hideScrollbars$4 = "_hideScrollbars_1fb4l_67";
48232
48217
  const richTextInput = "_richTextInput_1fb4l_77";
48233
- const styles$f = {
48218
+ const styles$g = {
48234
48219
  inputInTable: inputInTable$4,
48235
48220
  inputHover: inputHover$4,
48236
48221
  inputFocus: inputFocus$4,
@@ -48266,7 +48251,7 @@ const RichTextInput = forwardRef(
48266
48251
  }
48267
48252
  setState(state2);
48268
48253
  };
48269
- return /* @__PURE__ */ jsx("div", { className: styles$f.richTextInput, children: /* @__PURE__ */ jsxs(
48254
+ return /* @__PURE__ */ jsx("div", { className: styles$g.richTextInput, children: /* @__PURE__ */ jsxs(
48270
48255
  Remirror,
48271
48256
  {
48272
48257
  manager,
@@ -48289,7 +48274,7 @@ const RichTextInput = forwardRef(
48289
48274
  }
48290
48275
  );
48291
48276
  const row = "_row_n16je_1";
48292
- const styles$e = {
48277
+ const styles$f = {
48293
48278
  row
48294
48279
  };
48295
48280
  const Row$1 = ({
@@ -48310,7 +48295,7 @@ const Row$1 = ({
48310
48295
  return /* @__PURE__ */ jsx(
48311
48296
  "div",
48312
48297
  {
48313
- className: cx$2(styles$e.row),
48298
+ className: cx$2(styles$f.row),
48314
48299
  style: {
48315
48300
  alignItems,
48316
48301
  justifyContent,
@@ -48418,7 +48403,7 @@ const item$2 = "_item_1oy1z_140";
48418
48403
  const experimental = "_experimental_1oy1z_155";
48419
48404
  const active$2 = "_active_1oy1z_159";
48420
48405
  const icon$1 = "_icon_1oy1z_163";
48421
- const styles$d = {
48406
+ const styles$e = {
48422
48407
  inputInTable: inputInTable$3,
48423
48408
  inputHover: inputHover$3,
48424
48409
  inputFocus: inputFocus$3,
@@ -48451,10 +48436,10 @@ const TooltipIcon = memo$1(
48451
48436
  fontSize: 16,
48452
48437
  padding: "var(--padding-sm)",
48453
48438
  display: "block",
48454
- children: /* @__PURE__ */ jsx("span", { className: styles$d.icon, children: /* @__PURE__ */ jsx(Badge, { small: true, title: invalid ? "!" : void 0, margin: 4, children: /* @__PURE__ */ jsx(Icon, { icon: icon2 }) }) })
48439
+ children: /* @__PURE__ */ jsx("span", { className: styles$e.icon, children: /* @__PURE__ */ jsx(Badge, { small: true, title: invalid ? "!" : void 0, margin: 4, children: /* @__PURE__ */ jsx(Icon, { icon: icon2 }) }) })
48455
48440
  }
48456
48441
  ),
48457
- /* @__PURE__ */ jsx("span", { className: styles$d.label, children: label2 })
48442
+ /* @__PURE__ */ jsx("span", { className: styles$e.label, children: label2 })
48458
48443
  ] });
48459
48444
  },
48460
48445
  (prevProps, nextProps) => isEqual$1(prevProps, nextProps)
@@ -48466,16 +48451,16 @@ const Link$1 = ({
48466
48451
  onClick,
48467
48452
  testId
48468
48453
  }) => {
48469
- return /* @__PURE__ */ jsx("div", { className: styles$d.list, children: items.map((link2, i) => {
48454
+ return /* @__PURE__ */ jsx("div", { className: styles$e.list, children: items.map((link2, i) => {
48470
48455
  const key2 = `${sectionIndex}_${i}`;
48471
48456
  return /* @__PURE__ */ jsx(
48472
48457
  "a",
48473
48458
  {
48474
48459
  href: link2.value,
48475
48460
  className: cx$2(
48476
- styles$d.item,
48477
- link2.isActive ? styles$d.active : "",
48478
- link2.isExperimental ? styles$d.experimental : ""
48461
+ styles$e.item,
48462
+ link2.isActive ? styles$e.active : "",
48463
+ link2.isExperimental ? styles$e.experimental : ""
48479
48464
  ),
48480
48465
  onClick: (evt) => onClick(evt, link2.value, link2.label, link2.onClick),
48481
48466
  "data-testid": testId,
@@ -48500,7 +48485,7 @@ const Sections = ({
48500
48485
  onClick
48501
48486
  }) => {
48502
48487
  return /* @__PURE__ */ jsx(Fragment$1, { children: sections.map((section2, i) => /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
48503
- /* @__PURE__ */ jsx("h5", { className: styles$d.subtitle, children: section2.heading.toUpperCase() }),
48488
+ /* @__PURE__ */ jsx("h5", { className: styles$e.subtitle, children: section2.heading.toUpperCase() }),
48504
48489
  /* @__PURE__ */ jsx(
48505
48490
  Link$1,
48506
48491
  {
@@ -48556,8 +48541,8 @@ const SideBar = memo$1(
48556
48541
  icon: IconType.LEFT
48557
48542
  }
48558
48543
  ),
48559
- children: /* @__PURE__ */ jsx("div", { className: cx$2(styles$d.sidebar, !isOpen2 ? styles$d.collapsed : ""), children: visible && /* @__PURE__ */ jsxs("div", { className: styles$d.inner, children: [
48560
- /* @__PURE__ */ jsx("h4", { className: styles$d.title, children: options.title }),
48544
+ children: /* @__PURE__ */ jsx("div", { className: cx$2(styles$e.sidebar, !isOpen2 ? styles$e.collapsed : ""), children: visible && /* @__PURE__ */ jsxs("div", { className: styles$e.inner, children: [
48545
+ /* @__PURE__ */ jsx("h4", { className: styles$e.title, children: options.title }),
48561
48546
  /* @__PURE__ */ jsx(
48562
48547
  Sections,
48563
48548
  {
@@ -50994,7 +50979,7 @@ const hasArrows = "_hasArrows_1bhdk_14";
50994
50979
  const button$1 = "_button_1bhdk_18";
50995
50980
  const label$1 = "_label_1bhdk_21";
50996
50981
  const dot = "_dot_1bhdk_29";
50997
- const styles$c = {
50982
+ const styles$d = {
50998
50983
  container,
50999
50984
  small: small$2,
51000
50985
  vertical,
@@ -51013,7 +50998,7 @@ const formatMarkers = (marks) => {
51013
50998
  tooltip2 ? ": " : "",
51014
50999
  label2 ?? value
51015
51000
  ] }),
51016
- children: /* @__PURE__ */ jsx("div", { className: styles$c.dot })
51001
+ children: /* @__PURE__ */ jsx("div", { className: styles$d.dot })
51017
51002
  }
51018
51003
  );
51019
51004
  return acc;
@@ -51056,7 +51041,7 @@ const Slider = ({
51056
51041
  }
51057
51042
  });
51058
51043
  };
51059
- const ButtonMin = () => /* @__PURE__ */ jsx("div", { className: styles$c.button, children: /* @__PURE__ */ jsx(
51044
+ const ButtonMin = () => /* @__PURE__ */ jsx("div", { className: styles$d.button, children: /* @__PURE__ */ jsx(
51060
51045
  Button$1,
51061
51046
  {
51062
51047
  basic: true,
@@ -51067,7 +51052,7 @@ const Slider = ({
51067
51052
  icon: IconType.FAST_BACKWARD
51068
51053
  }
51069
51054
  ) });
51070
- const ButtonMax = () => /* @__PURE__ */ jsx("div", { className: styles$c.button, children: /* @__PURE__ */ jsx(
51055
+ const ButtonMax = () => /* @__PURE__ */ jsx("div", { className: styles$d.button, children: /* @__PURE__ */ jsx(
51071
51056
  Button$1,
51072
51057
  {
51073
51058
  basic: true,
@@ -51090,9 +51075,9 @@ const Slider = ({
51090
51075
  "div",
51091
51076
  {
51092
51077
  className: cx$2(
51093
- styles$c.container,
51094
- small2 ? styles$c.small : "",
51095
- vertical2.enabled ? styles$c.vertical : ""
51078
+ styles$d.container,
51079
+ small2 ? styles$d.small : "",
51080
+ vertical2.enabled ? styles$d.vertical : ""
51096
51081
  ),
51097
51082
  style: vertical2.enabled ? { width: vertical2.width, height: vertical2.height } : { width: width2 },
51098
51083
  children: [
@@ -51103,8 +51088,8 @@ const Slider = ({
51103
51088
  range: range2,
51104
51089
  allowCross: false,
51105
51090
  className: cx$2(
51106
- (disabled2 || disabledContext) && styles$c.rcSliderDisabled,
51107
- showArrows && styles$c.hasArrows
51091
+ (disabled2 || disabledContext) && styles$d.rcSliderDisabled,
51092
+ showArrows && styles$d.hasArrows
51108
51093
  ),
51109
51094
  value,
51110
51095
  max,
@@ -51118,7 +51103,7 @@ const Slider = ({
51118
51103
  }
51119
51104
  ),
51120
51105
  showArrows && (vertical2.enabled ? /* @__PURE__ */ jsx(ButtonMin, {}) : /* @__PURE__ */ jsx(ButtonMax, {})),
51121
- label2 && /* @__PURE__ */ jsx("label", { className: styles$c.label, style: { width: labelWidth }, children: label2 })
51106
+ label2 && /* @__PURE__ */ jsx("label", { className: styles$d.label, style: { width: labelWidth }, children: label2 })
51122
51107
  ]
51123
51108
  }
51124
51109
  );
@@ -51152,7 +51137,7 @@ const scroll = "_scroll_xkoxm_98";
51152
51137
  const table = "_table_xkoxm_109";
51153
51138
  const dragOverlay = "_dragOverlay_xkoxm_145";
51154
51139
  const striped = "_striped_xkoxm_194";
51155
- const styles$b = {
51140
+ const styles$c = {
51156
51141
  inputInTable: inputInTable$2,
51157
51142
  inputHover: inputHover$2,
51158
51143
  inputFocus: inputFocus$2,
@@ -51168,7 +51153,7 @@ const styles$b = {
51168
51153
  striped
51169
51154
  };
51170
51155
  const title$1 = "_title_zn5s7_1";
51171
- const styles$a = {
51156
+ const styles$b = {
51172
51157
  title: title$1
51173
51158
  };
51174
51159
  const Title$1 = ({
@@ -51192,14 +51177,14 @@ const Title$1 = ({
51192
51177
  }
51193
51178
  return /* @__PURE__ */ jsx("div", { children: actionsComponent });
51194
51179
  };
51195
- return /* @__PURE__ */ jsxs("div", { className: styles$a.title, children: [
51180
+ return /* @__PURE__ */ jsxs("div", { className: styles$b.title, children: [
51196
51181
  isNameDefined ? /* @__PURE__ */ jsx(Heading$2, { children: /* @__PURE__ */ jsx("span", { "data-testid": testId, children: name2 }) }) : null,
51197
51182
  actionsContainer()
51198
51183
  ] });
51199
51184
  };
51200
51185
  const footer = "_footer_4sumy_1";
51201
51186
  const section = "_section_4sumy_7";
51202
- const styles$9 = {
51187
+ const styles$a = {
51203
51188
  footer,
51204
51189
  section
51205
51190
  };
@@ -51225,11 +51210,11 @@ const Footer = ({
51225
51210
  return showFooter ? /* @__PURE__ */ jsxs(
51226
51211
  "div",
51227
51212
  {
51228
- className: styles$9.footer,
51213
+ className: styles$a.footer,
51229
51214
  "data-testid": `${testId ?? "pagination"}-footer`,
51230
51215
  children: [
51231
- hasContent ? /* @__PURE__ */ jsx("div", { className: styles$9.section, children: /* @__PURE__ */ jsx("div", { children: content2 }) }) : null,
51232
- hasActions2 || hasPagination() ? /* @__PURE__ */ jsxs("div", { className: styles$9.section, children: [
51216
+ hasContent ? /* @__PURE__ */ jsx("div", { className: styles$a.section, children: /* @__PURE__ */ jsx("div", { children: content2 }) }) : null,
51217
+ hasActions2 || hasPagination() ? /* @__PURE__ */ jsxs("div", { className: styles$a.section, children: [
51233
51218
  hasPagination() ? /* @__PURE__ */ jsx(Pagination, { pagination }) : /* @__PURE__ */ jsx("div", {}),
51234
51219
  hasActions2 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Actions, { actions: actions2 }) })
51235
51220
  ] }) : null
@@ -51264,7 +51249,7 @@ const expandableRow = "_expandableRow_10f34_8";
51264
51249
  const flush = "_flush_10f34_8";
51265
51250
  const dragIconCell = "_dragIconCell_10f34_34";
51266
51251
  const dragIcon = "_dragIcon_10f34_34";
51267
- const styles$8 = {
51252
+ const styles$9 = {
51268
51253
  clickableRow,
51269
51254
  hoverableRow,
51270
51255
  rowActive,
@@ -51282,7 +51267,7 @@ const ExpandedContentRow = ({
51282
51267
  "td",
51283
51268
  {
51284
51269
  colSpan,
51285
- className: cx$2(styles$8.expandableRow, flush2 ? styles$8.flush : ""),
51270
+ className: cx$2(styles$9.expandableRow, flush2 ? styles$9.flush : ""),
51286
51271
  children
51287
51272
  }
51288
51273
  ) });
@@ -51354,7 +51339,7 @@ const centerAligned = "_centerAligned_ie6ng_199";
51354
51339
  const leftAligned = "_leftAligned_ie6ng_205";
51355
51340
  const popover = "_popover_ie6ng_208";
51356
51341
  const disabledPointerEvents = "_disabledPointerEvents_ie6ng_211";
51357
- const styles$7 = {
51342
+ const styles$8 = {
51358
51343
  inputInTable: inputInTable$1,
51359
51344
  inputHover: inputHover$1,
51360
51345
  inputFocus: inputFocus$1,
@@ -51673,8 +51658,8 @@ const InputCellWrapper = ({
51673
51658
  "div",
51674
51659
  {
51675
51660
  className: cx$2(
51676
- styles$7.inputWrapper,
51677
- cell2.type === "NumberInput" ? styles$7.numberInputWrapper : ""
51661
+ styles$8.inputWrapper,
51662
+ cell2.type === "NumberInput" ? styles$8.numberInputWrapper : ""
51678
51663
  ),
51679
51664
  children: cell2.type === "Input" ? /* @__PURE__ */ jsx(
51680
51665
  InputCell,
@@ -51707,7 +51692,7 @@ const LinkCell = ({ cell: cell2, testId }) => {
51707
51692
  const isTooltipEnabled = (text2) => {
51708
51693
  return isStringNumberOrNode(text2);
51709
51694
  };
51710
- return /* @__PURE__ */ jsx("div", { className: styles$7.inputWrapper, children: /* @__PURE__ */ jsx(
51695
+ return /* @__PURE__ */ jsx("div", { className: styles$8.inputWrapper, children: /* @__PURE__ */ jsx(
51711
51696
  Tooltip,
51712
51697
  {
51713
51698
  error: !!error2,
@@ -51715,18 +51700,17 @@ const LinkCell = ({ cell: cell2, testId }) => {
51715
51700
  text: tooltip2 || error2 || warning2,
51716
51701
  enabled: isTooltipEnabled(tooltip2) || isTooltipEnabled(error2) || isTooltipEnabled(warning2) || false,
51717
51702
  maxWidth: maxTooltipWidth,
51718
- placement: "bottom-center",
51719
51703
  children: /* @__PURE__ */ jsx(
51720
51704
  "div",
51721
51705
  {
51722
- className: styles$7.staticCellContent,
51706
+ className: styles$8.staticCellContent,
51723
51707
  "data-error": error2 || null,
51724
51708
  "data-warning": warning2 || null,
51725
51709
  children: /* @__PURE__ */ jsx(
51726
51710
  "a",
51727
51711
  {
51728
51712
  className: cx$2(
51729
- (cell2.disabled || disabledContext) && styles$7.disabledLink
51713
+ (cell2.disabled || disabledContext) && styles$8.disabledLink
51730
51714
  ),
51731
51715
  onClick: cell2.disabled || disabledContext ? void 0 : (evt) => {
51732
51716
  var _a2;
@@ -51757,7 +51741,7 @@ const CheckBoxCell = ({ cell: cell2, testId }) => {
51757
51741
  );
51758
51742
  };
51759
51743
  const SliderCell = ({ cell: cell2 }) => {
51760
- return /* @__PURE__ */ jsx("div", { className: styles$7.inputWrapper, children: /* @__PURE__ */ jsx(
51744
+ return /* @__PURE__ */ jsx("div", { className: styles$8.inputWrapper, children: /* @__PURE__ */ jsx(
51761
51745
  Slider,
51762
51746
  {
51763
51747
  label: cell2.label,
@@ -51776,7 +51760,7 @@ const SliderCell = ({ cell: cell2 }) => {
51776
51760
  };
51777
51761
  const IconCell = ({ cell: cell2 }) => {
51778
51762
  const { tooltip: tooltip2, icon: icon2 } = cell2;
51779
- return /* @__PURE__ */ jsx("div", { className: styles$7.iconCellWrapper, children: /* @__PURE__ */ jsx(
51763
+ return /* @__PURE__ */ jsx("div", { className: styles$8.iconCellWrapper, children: /* @__PURE__ */ jsx(
51780
51764
  Tooltip,
51781
51765
  {
51782
51766
  text: tooltip2,
@@ -51792,11 +51776,11 @@ const ActionsCell = ({ cell: cell2 }) => {
51792
51776
  };
51793
51777
  const CellHelpIcon = ({ cell: cell2 }) => {
51794
51778
  const { helpIcon: helpIcon2 } = cell2;
51795
- return helpIcon2 ? /* @__PURE__ */ jsx("div", { className: styles$7.icon, children: /* @__PURE__ */ jsx(HelpIcon, { onClick: helpIcon2.onClick, text: helpIcon2.tooltip }) }) : null;
51779
+ return helpIcon2 ? /* @__PURE__ */ jsx("div", { className: styles$8.icon, children: /* @__PURE__ */ jsx(HelpIcon, { onClick: helpIcon2.onClick, text: helpIcon2.tooltip }) }) : null;
51796
51780
  };
51797
51781
  const CellLibraryIcon = ({ cell: cell2 }) => {
51798
51782
  const { libraryIcon } = cell2;
51799
- return libraryIcon ? /* @__PURE__ */ jsx("div", { className: styles$7.icon, children: /* @__PURE__ */ jsx(
51783
+ return libraryIcon ? /* @__PURE__ */ jsx("div", { className: styles$8.icon, children: /* @__PURE__ */ jsx(
51800
51784
  HelpIcon,
51801
51785
  {
51802
51786
  onClick: libraryIcon.onClick,
@@ -51807,7 +51791,7 @@ const CellLibraryIcon = ({ cell: cell2 }) => {
51807
51791
  };
51808
51792
  const Sort = ({ cell: cell2 }) => {
51809
51793
  const { hasSort, sort: sort2, sortPriority } = cell2;
51810
- return hasSort ? /* @__PURE__ */ jsxs("span", { className: styles$7.sortingCellIcon, children: [
51794
+ return hasSort ? /* @__PURE__ */ jsxs("span", { className: styles$8.sortingCellIcon, children: [
51811
51795
  sort2 === "down" ? /* @__PURE__ */ jsx(Text, { link: true, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.SORT_ASCENDING }) }) : sort2 === "up" ? /* @__PURE__ */ jsx(Text, { link: true, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.SORT_DESCENDING }) }) : /* @__PURE__ */ jsx(Text, { faint: true, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.SORT_DESCENDING }) }),
51812
51796
  sortPriority && sort2 ? /* @__PURE__ */ jsx("sup", { children: sortPriority }) : null
51813
51797
  ] }) : null;
@@ -51818,8 +51802,8 @@ const StaticCell = ({ cell: cell2, isHeader, testId }) => {
51818
51802
  "div",
51819
51803
  {
51820
51804
  className: cx$2(
51821
- styles$7.staticCellContent,
51822
- type === "Unit" ? styles$7.unit : ""
51805
+ styles$8.staticCellContent,
51806
+ type === "Unit" ? styles$8.unit : ""
51823
51807
  ),
51824
51808
  onClick: hasSort ? (evt) => onSort && onSort(evt) : () => {
51825
51809
  },
@@ -51836,7 +51820,7 @@ const StaticCell = ({ cell: cell2, isHeader, testId }) => {
51836
51820
  ]
51837
51821
  }
51838
51822
  );
51839
- return /* @__PURE__ */ jsx("div", { className: styles$7.inputWrapper, children: /* @__PURE__ */ jsx(
51823
+ return /* @__PURE__ */ jsx("div", { className: styles$8.inputWrapper, children: /* @__PURE__ */ jsx(
51840
51824
  Tooltip,
51841
51825
  {
51842
51826
  error: !!error2,
@@ -51845,7 +51829,6 @@ const StaticCell = ({ cell: cell2, isHeader, testId }) => {
51845
51829
  enabled: tooltip2 && isStringNumberOrNode(tooltip2) || error2 && isStringNumberOrNode(error2) || warning2 && isStringNumberOrNode(warning2) || false,
51846
51830
  maxWidth: maxTooltipWidth,
51847
51831
  display: "block",
51848
- placement: "bottom-center",
51849
51832
  children: field2
51850
51833
  }
51851
51834
  ) });
@@ -51859,7 +51842,7 @@ const PopoverCell = ({ cell: cell2, testId }) => {
51859
51842
  fullWidth,
51860
51843
  closeOnOutsideClick,
51861
51844
  disabled: disabled2,
51862
- children: /* @__PURE__ */ jsx("div", { className: styles$7.popover, children: /* @__PURE__ */ jsx(StaticCell, { cell: cell2, testId }) })
51845
+ children: /* @__PURE__ */ jsx("div", { className: styles$8.popover, children: /* @__PURE__ */ jsx(StaticCell, { cell: cell2, testId }) })
51863
51846
  }
51864
51847
  );
51865
51848
  };
@@ -51926,15 +51909,15 @@ const Cell = ({
51926
51909
  headerAlignment: columnHeaderAlignment,
51927
51910
  isHeader
51928
51911
  };
51929
- const cellAlignmentStyle = getCellAlignment(alignment, styles$7);
51930
- const cellAlignmentText = getCellAlignment(alignment, styles$7, true);
51931
- const cellTypeClassName = cell2.type === CellType.INPUT || cell2.type === CellType.NUMBER_INPUT || cell2.type === CellType.SELECT || cell2.type === CellType.POPOVER ? styles$7.inputCell : cell2.type === CellType.SLIDER ? styles$7.sliderCell : cell2.type === CellType.CHECKBOX ? styles$7.checkBoxCell : cell2.type === CellType.ACTIONS ? styles$7.actionsCell : styles$7.staticCell;
51912
+ const cellAlignmentStyle = getCellAlignment(alignment, styles$8);
51913
+ const cellAlignmentText = getCellAlignment(alignment, styles$8, true);
51914
+ const cellTypeClassName = cell2.type === CellType.INPUT || cell2.type === CellType.NUMBER_INPUT || cell2.type === CellType.SELECT || cell2.type === CellType.POPOVER ? styles$8.inputCell : cell2.type === CellType.SLIDER ? styles$8.sliderCell : cell2.type === CellType.CHECKBOX ? styles$8.checkBoxCell : cell2.type === CellType.ACTIONS ? styles$8.actionsCell : styles$8.staticCell;
51932
51915
  const className = cx$2(
51933
- styles$7.cell,
51916
+ styles$8.cell,
51934
51917
  cellTypeClassName,
51935
- cell2.hasSort ? styles$7.sortingCell : null,
51918
+ cell2.hasSort ? styles$8.sortingCell : null,
51936
51919
  cellAlignmentStyle,
51937
- cell2.breakWord ? styles$7.breakWord : ""
51920
+ cell2.breakWord ? styles$8.breakWord : ""
51938
51921
  );
51939
51922
  const width2 = cellWidthProp ?? columnWidthProp ?? void 0;
51940
51923
  const style = { width: width2, minWidth: width2, ...styleProp };
@@ -52036,7 +52019,7 @@ const Row = ({
52036
52019
  if (row2.noDrag) {
52037
52020
  return /* @__PURE__ */ jsx("td", { "aria-labelledby": "unique-label-id" });
52038
52021
  }
52039
- return /* @__PURE__ */ jsx("td", { className: styles$8.dragIconCell, children: /* @__PURE__ */ jsx("div", { className: styles$8.dragIcon, ...attributes, ...listeners, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.DRAG }) }) });
52022
+ return /* @__PURE__ */ jsx("td", { className: styles$9.dragIconCell, children: /* @__PURE__ */ jsx("div", { className: styles$9.dragIcon, ...attributes, ...listeners, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.DRAG }) }) });
52040
52023
  };
52041
52024
  return isHeader ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
52042
52025
  /* @__PURE__ */ jsxs(
@@ -52047,8 +52030,8 @@ const Row = ({
52047
52030
  onMouseLeave: onRowMouseLeave,
52048
52031
  onFocus: onRowFocus,
52049
52032
  className: cx$2(
52050
- onRowClick ? styles$8.clickableRow : null,
52051
- onRowMouseEnter ? styles$8.hoverableRow : null
52033
+ onRowClick ? styles$9.clickableRow : null,
52034
+ onRowMouseEnter ? styles$9.hoverableRow : null
52052
52035
  ),
52053
52036
  children: [
52054
52037
  draggableTable ? (
@@ -52080,9 +52063,9 @@ const Row = ({
52080
52063
  onMouseLeave: onRowMouseLeave,
52081
52064
  onFocus: onRowFocus,
52082
52065
  className: cx$2(
52083
- onRowClick && !onRowClick.noStyle ? styles$8.clickableRow : null,
52084
- onRowMouseEnter && !onRowMouseEnter.noStyle ? styles$8.hoverableRow : null,
52085
- active2 ? styles$8.rowActive : null
52066
+ onRowClick && !onRowClick.noStyle ? styles$9.clickableRow : null,
52067
+ onRowMouseEnter && !onRowMouseEnter.noStyle ? styles$9.hoverableRow : null,
52068
+ active2 ? styles$9.rowActive : null
52086
52069
  ),
52087
52070
  "data-error": error2 || null,
52088
52071
  "data-warning": warning2 || null,
@@ -52122,7 +52105,6 @@ const TableDragWrapper = (props) => {
52122
52105
  tbodyRef
52123
52106
  } = props;
52124
52107
  const [dragIndex, setDragIndex] = useState(null);
52125
- if (!draggable) return children;
52126
52108
  const itemIds = useMemo(
52127
52109
  () => rows.map((_2, index2) => index2.toString()),
52128
52110
  [rows]
@@ -52151,6 +52133,7 @@ const TableDragWrapper = (props) => {
52151
52133
  widths.shift();
52152
52134
  return widths;
52153
52135
  };
52136
+ if (!draggable) return children;
52154
52137
  return /* @__PURE__ */ jsxs(
52155
52138
  DndContext$1,
52156
52139
  {
@@ -52160,7 +52143,7 @@ const TableDragWrapper = (props) => {
52160
52143
  children: [
52161
52144
  /* @__PURE__ */ jsx(SortableContext, { items: itemIds, strategy: verticalListSortingStrategy, children }),
52162
52145
  !!dragIndex && createPortal(
52163
- /* @__PURE__ */ jsx(DragOverlay, { dropAnimation: null, children: /* @__PURE__ */ jsx("table", { className: cx$2(styles$b.table, styles$b.dragOverlay), children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsx(
52146
+ /* @__PURE__ */ jsx(DragOverlay, { dropAnimation: null, children: /* @__PURE__ */ jsx("table", { className: cx$2(styles$c.table, styles$c.dragOverlay), children: /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsx(
52164
52147
  Row,
52165
52148
  {
52166
52149
  rowIndex: Number(dragIndex),
@@ -52184,30 +52167,32 @@ const TableScrollWrapper = ({
52184
52167
  theadRef,
52185
52168
  children
52186
52169
  }) => {
52187
- var _a2, _b;
52170
+ var _a2;
52188
52171
  const { infiniteScroll = false } = table2;
52189
- if (!infiniteScroll) {
52190
- return /* @__PURE__ */ jsx("div", { id: "scrollWrapper", className: styles$b.scroll, children: children({}) });
52191
- }
52192
52172
  const containerRef = useRef(null);
52193
- const MIN_ITEM_HEIGHT = 31;
52194
- const virtualizer = useVirtualizer({
52173
+ const MIN_ITEM_HEIGHT = 30;
52174
+ const BORDER_WIDTH = 1;
52175
+ const virtualizer = infiniteScroll ? useVirtualizer({
52195
52176
  count: ((_a2 = table2.rows) == null ? void 0 : _a2.length) ?? 0,
52196
52177
  getScrollElement: () => containerRef.current,
52197
- estimateSize: () => MIN_ITEM_HEIGHT,
52178
+ estimateSize: () => MIN_ITEM_HEIGHT + BORDER_WIDTH,
52198
52179
  overscan: 10
52199
- });
52200
- const theadHeight = ((_b = theadRef.current) == null ? void 0 : _b.clientHeight) ?? 0;
52201
- const totalHeight = virtualizer.getTotalSize() + theadHeight;
52202
- const items = virtualizer.getVirtualItems();
52203
- const paddingTop = items.length > 0 ? items[0].start : 0;
52204
- const paddingBottom = items.length > 0 ? virtualizer.getTotalSize() - items[items.length - 1].end : 0;
52205
- const tableStyle = {
52206
- "--virtualPaddingTop": paddingTop + "px",
52207
- "--virtualPaddingBottom": paddingBottom + "px",
52208
- height: totalHeight
52180
+ }) : void 0;
52181
+ const getVirtualTableStyle = () => {
52182
+ var _a3;
52183
+ if (!virtualizer) return {};
52184
+ const theadHeight = ((_a3 = theadRef.current) == null ? void 0 : _a3.clientHeight) ?? 0;
52185
+ const totalHeight = virtualizer.getTotalSize() + theadHeight;
52186
+ const items = virtualizer.getVirtualItems();
52187
+ const paddingTop = items.length > 0 ? items[0].start : 0;
52188
+ const paddingBottom = items.length > 0 ? virtualizer.getTotalSize() - items[items.length - 1].end : 0;
52189
+ return {
52190
+ "--virtualPaddingTop": paddingTop + "px",
52191
+ "--virtualPaddingBottom": paddingBottom + "px",
52192
+ height: totalHeight
52193
+ };
52209
52194
  };
52210
- return /* @__PURE__ */ jsx("div", { id: "scrollWrapper", className: styles$b.scroll, ref: containerRef, children: children({ virtualizer, tableStyle }) });
52195
+ return /* @__PURE__ */ jsx("div", { id: "scrollWrapper", className: styles$c.scroll, ref: containerRef, children: children({ virtualizer, tableStyle: getVirtualTableStyle() }) });
52211
52196
  };
52212
52197
  const Table = (props) => {
52213
52198
  var _a2, _b, _c, _d, _e2, _f, _g;
@@ -52276,7 +52261,7 @@ const Table = (props) => {
52276
52261
  ...propTable,
52277
52262
  rows
52278
52263
  };
52279
- const wrapperClass = cx$2(styles$b.wrapper, bordered2 ? styles$b.bordered : "");
52264
+ const wrapperClass = cx$2(styles$c.wrapper, bordered2 ? styles$c.bordered : "");
52280
52265
  const wrapperStyles = {
52281
52266
  maxHeight,
52282
52267
  width: width2,
@@ -52308,7 +52293,7 @@ const Table = (props) => {
52308
52293
  return /* @__PURE__ */ jsxs(
52309
52294
  "table",
52310
52295
  {
52311
- className: cx$2(styles$b.table, striped2 ? styles$b.striped : ""),
52296
+ className: cx$2(styles$c.table, striped2 ? styles$c.striped : ""),
52312
52297
  "data-testid": testId,
52313
52298
  style: tableStyle,
52314
52299
  children: [
@@ -52384,7 +52369,7 @@ const hidden = "_hidden_1y79t_58";
52384
52369
  const disabled$1 = "_disabled_1y79t_61";
52385
52370
  const left$1 = "_left_1y79t_65";
52386
52371
  const right$1 = "_right_1y79t_65";
52387
- const styles$6 = {
52372
+ const styles$7 = {
52388
52373
  tabs,
52389
52374
  padding,
52390
52375
  margin,
@@ -52417,11 +52402,11 @@ const Label = ({
52417
52402
  id: label2 == null ? void 0 : label2.toString(),
52418
52403
  href: url,
52419
52404
  className: cx$2(
52420
- styles$6.item,
52421
- active2 ? styles$6.active : "",
52422
- disabled2 ? styles$6.disabled : "",
52423
- hidden2 && !active2 ? styles$6.hidden : "",
52424
- right2 ? styles$6.right : styles$6.left
52405
+ styles$7.item,
52406
+ active2 ? styles$7.active : "",
52407
+ disabled2 ? styles$7.disabled : "",
52408
+ hidden2 && !active2 ? styles$7.hidden : "",
52409
+ right2 ? styles$7.right : styles$7.left
52425
52410
  ),
52426
52411
  onClick,
52427
52412
  "data-testid": testId,
@@ -52434,7 +52419,7 @@ const Content$1 = ({
52434
52419
  activeTabIndex,
52435
52420
  contentPadding: contentPadding2
52436
52421
  }) => {
52437
- return Array.isArray(children) ? /* @__PURE__ */ jsx("div", { className: cx$2(contentPadding2 ? styles$6.contentPadding : ""), children: children.map((child, index2) => activeTabIndex === index2 && child) }) : null;
52422
+ return Array.isArray(children) ? /* @__PURE__ */ jsx("div", { className: cx$2(contentPadding2 ? styles$7.contentPadding : ""), children: children.map((child, index2) => activeTabIndex === index2 && child) }) : null;
52438
52423
  };
52439
52424
  const Tabs = ({
52440
52425
  name: name2 = void 0,
@@ -52524,9 +52509,9 @@ const Tabs = ({
52524
52509
  "div",
52525
52510
  {
52526
52511
  className: cx$2(
52527
- styles$6.tabs,
52528
- padding2 ? styles$6.padding : "",
52529
- margin2 ? styles$6.margin : ""
52512
+ styles$7.tabs,
52513
+ padding2 ? styles$7.padding : "",
52514
+ margin2 ? styles$7.margin : ""
52530
52515
  ),
52531
52516
  "data-testid": testId,
52532
52517
  children: tabs2.map(renderTab)
@@ -52574,7 +52559,7 @@ const hideScrollbars = "_hideScrollbars_q0tl0_67";
52574
52559
  const textarea = "_textarea_q0tl0_77";
52575
52560
  const small$1 = "_small_q0tl0_116";
52576
52561
  const monospace = "_monospace_q0tl0_155";
52577
- const styles$5 = {
52562
+ const styles$6 = {
52578
52563
  inputInTable,
52579
52564
  inputHover,
52580
52565
  inputFocus,
@@ -52611,10 +52596,10 @@ const TextArea = ({
52611
52596
  "textarea",
52612
52597
  {
52613
52598
  className: cx$2(
52614
- styles$5.textarea,
52615
- error2 ? styles$5.error : "",
52616
- warning2 ? styles$5.warning : "",
52617
- monospace2 ? styles$5.monospace : ""
52599
+ styles$6.textarea,
52600
+ error2 ? styles$6.error : "",
52601
+ warning2 ? styles$6.warning : "",
52602
+ monospace2 ? styles$6.monospace : ""
52618
52603
  ),
52619
52604
  name: name2,
52620
52605
  value,
@@ -52641,7 +52626,6 @@ const TextArea = ({
52641
52626
  text: tooltip2 || error2 || warning2,
52642
52627
  enabled: tooltip2 && isStringNumberOrNode(tooltip2) || error2 && isStringNumberOrNode(error2) || warning2 && isStringNumberOrNode(warning2) || false,
52643
52628
  maxWidth: maxTooltipWidth,
52644
- placement: "bottom-center",
52645
52629
  children: textarea2
52646
52630
  }
52647
52631
  );
@@ -53739,7 +53723,7 @@ const small = "_small_1mo1i_25";
53739
53723
  const disabled = "_disabled_1mo1i_102";
53740
53724
  const noMargin = "_noMargin_1mo1i_113";
53741
53725
  const helpIconEnabled = "_helpIconEnabled_1mo1i_116";
53742
- const styles$4 = {
53726
+ const styles$5 = {
53743
53727
  toggle: toggle$1,
53744
53728
  small,
53745
53729
  disabled,
@@ -53766,10 +53750,10 @@ const Toggle = ({
53766
53750
  "div",
53767
53751
  {
53768
53752
  className: cx$2(
53769
- styles$4.toggle,
53770
- isDisabled ? styles$4.disabled : null,
53771
- small2 ? styles$4.small : null,
53772
- noMargin2 ? styles$4.noMargin : null
53753
+ styles$5.toggle,
53754
+ isDisabled ? styles$5.disabled : null,
53755
+ small2 ? styles$5.small : null,
53756
+ noMargin2 ? styles$5.noMargin : null
53773
53757
  ),
53774
53758
  style: { display },
53775
53759
  onClick: (evt) => {
@@ -53795,7 +53779,7 @@ const Toggle = ({
53795
53779
  }
53796
53780
  ),
53797
53781
  /* @__PURE__ */ jsx("label", { children: label2 }),
53798
- showHelp && /* @__PURE__ */ jsx("div", { className: styles$4.helpIconEnabled, onClick: onClickHelp, children: /* @__PURE__ */ jsx(HelpIcon, { text: helpText }) })
53782
+ showHelp && /* @__PURE__ */ jsx("div", { className: styles$5.helpIconEnabled, onClick: onClickHelp, children: /* @__PURE__ */ jsx(HelpIcon, { text: helpText }) })
53799
53783
  ]
53800
53784
  }
53801
53785
  );
@@ -53816,7 +53800,7 @@ const button = "_button_oyr59_138";
53816
53800
  const menu = "_menu_oyr59_139";
53817
53801
  const active = "_active_oyr59_168";
53818
53802
  const alert = "_alert_oyr59_193";
53819
- const styles$3 = {
53803
+ const styles$4 = {
53820
53804
  topbar,
53821
53805
  fixed,
53822
53806
  appSwitcher,
@@ -53835,7 +53819,7 @@ const styles$3 = {
53835
53819
  alert
53836
53820
  };
53837
53821
  const Warning = ({ warning: warning2 }) => {
53838
- return /* @__PURE__ */ jsx("div", { className: styles$3.alert, children: warning2 });
53822
+ return /* @__PURE__ */ jsx("div", { className: styles$4.alert, children: warning2 });
53839
53823
  };
53840
53824
  const AppSwitcher = ({
53841
53825
  icon: icon2,
@@ -53843,7 +53827,7 @@ const AppSwitcher = ({
53843
53827
  onClick
53844
53828
  }) => {
53845
53829
  const content2 = /* @__PURE__ */ jsx(Icon, { icon: icon2 });
53846
- return url ? /* @__PURE__ */ jsx("a", { href: url, onClick, className: styles$3.appSwitcher, children: content2 }) : /* @__PURE__ */ jsx("div", { onClick, className: styles$3.appSwitcher, children: content2 });
53830
+ return url ? /* @__PURE__ */ jsx("a", { href: url, onClick, className: styles$4.appSwitcher, children: content2 }) : /* @__PURE__ */ jsx("div", { onClick, className: styles$4.appSwitcher, children: content2 });
53847
53831
  };
53848
53832
  const Title = ({
53849
53833
  label: label2,
@@ -53852,12 +53836,12 @@ const Title = ({
53852
53836
  version: version2,
53853
53837
  onClick
53854
53838
  }) => {
53855
- const content2 = /* @__PURE__ */ jsxs("div", { className: styles$3.title, children: [
53856
- logo2 && /* @__PURE__ */ jsx("div", { className: styles$3.logo, children: logo2 }),
53857
- label2 && /* @__PURE__ */ jsx("span", { className: styles$3.label, children: label2 }),
53858
- version2 && /* @__PURE__ */ jsx("div", { className: styles$3.version, children: version2 })
53839
+ const content2 = /* @__PURE__ */ jsxs("div", { className: styles$4.title, children: [
53840
+ logo2 && /* @__PURE__ */ jsx("div", { className: styles$4.logo, children: logo2 }),
53841
+ label2 && /* @__PURE__ */ jsx("span", { className: styles$4.label, children: label2 }),
53842
+ version2 && /* @__PURE__ */ jsx("div", { className: styles$4.version, children: version2 })
53859
53843
  ] });
53860
- return /* @__PURE__ */ jsx("div", { className: cx$2(styles$3.item, styles$3.brand), children: url ? /* @__PURE__ */ jsx("a", { href: url, onClick, children: content2 }) : /* @__PURE__ */ jsx("div", { onClick, children: content2 }) });
53844
+ return /* @__PURE__ */ jsx("div", { className: cx$2(styles$4.item, styles$4.brand), children: url ? /* @__PURE__ */ jsx("a", { href: url, onClick, children: content2 }) : /* @__PURE__ */ jsx("div", { onClick, children: content2 }) });
53861
53845
  };
53862
53846
  var ElementType = /* @__PURE__ */ ((ElementType2) => {
53863
53847
  ElementType2["LINK"] = "Link";
@@ -53886,7 +53870,7 @@ const Link = ({
53886
53870
  return /* @__PURE__ */ jsxs(
53887
53871
  Component2,
53888
53872
  {
53889
- className: cx$2(styles$3.link, active2 ? styles$3.active : ""),
53873
+ className: cx$2(styles$4.link, active2 ? styles$4.active : ""),
53890
53874
  href: url || "#",
53891
53875
  to: url,
53892
53876
  onClick: handleClick2,
@@ -53895,7 +53879,7 @@ const Link = ({
53895
53879
  role: onClick && !url ? "button" : void 0,
53896
53880
  children: [
53897
53881
  icon2,
53898
- /* @__PURE__ */ jsx("span", { className: styles$3.label, children: label2 })
53882
+ /* @__PURE__ */ jsx("span", { className: styles$4.label, children: label2 })
53899
53883
  ]
53900
53884
  }
53901
53885
  );
@@ -53903,7 +53887,7 @@ const Link = ({
53903
53887
  const Element$1 = ({ element }) => {
53904
53888
  switch (element.type) {
53905
53889
  case ElementType.LINK:
53906
- return /* @__PURE__ */ jsx("div", { className: styles$3.item, children: /* @__PURE__ */ jsx(
53890
+ return /* @__PURE__ */ jsx("div", { className: styles$4.item, children: /* @__PURE__ */ jsx(
53907
53891
  Link,
53908
53892
  {
53909
53893
  label: element.label,
@@ -53917,7 +53901,7 @@ const Element$1 = ({ element }) => {
53917
53901
  }
53918
53902
  ) });
53919
53903
  case ElementType.BUTTON:
53920
- return /* @__PURE__ */ jsx("div", { className: cx$2(styles$3.item, styles$3.button), children: /* @__PURE__ */ jsx(
53904
+ return /* @__PURE__ */ jsx("div", { className: cx$2(styles$4.item, styles$4.button), children: /* @__PURE__ */ jsx(
53921
53905
  Button$1,
53922
53906
  {
53923
53907
  label: element.label,
@@ -53930,7 +53914,7 @@ const Element$1 = ({ element }) => {
53930
53914
  }
53931
53915
  ) });
53932
53916
  case ElementType.MENU:
53933
- return /* @__PURE__ */ jsx("div", { className: cx$2(styles$3.item, styles$3.menu), children: /* @__PURE__ */ jsx(
53917
+ return /* @__PURE__ */ jsx("div", { className: cx$2(styles$4.item, styles$4.menu), children: /* @__PURE__ */ jsx(
53934
53918
  Menu,
53935
53919
  {
53936
53920
  maxHeight: "100%",
@@ -53951,7 +53935,7 @@ const Element$1 = ({ element }) => {
53951
53935
  }
53952
53936
  ) });
53953
53937
  case ElementType.COMPONENT:
53954
- return /* @__PURE__ */ jsx("div", { className: styles$3.item, children: element.component });
53938
+ return /* @__PURE__ */ jsx("div", { className: styles$4.item, children: element.component });
53955
53939
  default:
53956
53940
  return null;
53957
53941
  }
@@ -53970,7 +53954,7 @@ const TopBar = ({
53970
53954
  /* @__PURE__ */ jsxs(
53971
53955
  "div",
53972
53956
  {
53973
- className: cx$2(styles$3.topbar, fixedPosition ? styles$3.fixed : ""),
53957
+ className: cx$2(styles$4.topbar, fixedPosition ? styles$4.fixed : ""),
53974
53958
  style: { height: height2 },
53975
53959
  children: [
53976
53960
  !!appSwitcher2 && /* @__PURE__ */ jsx(
@@ -53981,7 +53965,7 @@ const TopBar = ({
53981
53965
  onClick: appSwitcher2.onClick
53982
53966
  }
53983
53967
  ),
53984
- /* @__PURE__ */ jsxs("div", { className: styles$3.left, children: [
53968
+ /* @__PURE__ */ jsxs("div", { className: styles$4.left, children: [
53985
53969
  title2 && /* @__PURE__ */ jsx(
53986
53970
  Title,
53987
53971
  {
@@ -53999,7 +53983,7 @@ const TopBar = ({
53999
53983
  return null;
54000
53984
  })
54001
53985
  ] }),
54002
- /* @__PURE__ */ jsx("div", { className: styles$3.right, children: contentRight.map((element, i) => {
53986
+ /* @__PURE__ */ jsx("div", { className: styles$4.right, children: contentRight.map((element, i) => {
54003
53987
  if (element) {
54004
53988
  return /* @__PURE__ */ jsx(Element$1, { element }, i);
54005
53989
  }
@@ -54013,7 +53997,7 @@ const TopBar = ({
54013
53997
  const popConfirm = "_popConfirm_1x6ye_1";
54014
53998
  const content = "_content_1x6ye_7";
54015
53999
  const buttons = "_buttons_1x6ye_13";
54016
- const styles$2 = {
54000
+ const styles$3 = {
54017
54001
  popConfirm,
54018
54002
  content,
54019
54003
  buttons
@@ -54027,9 +54011,9 @@ const Content = ({
54027
54011
  onClickCancel,
54028
54012
  close: close2,
54029
54013
  testId
54030
- }) => /* @__PURE__ */ jsxs("div", { className: styles$2.popConfirm, children: [
54031
- title2 && /* @__PURE__ */ jsx("div", { className: styles$2.content, children: /* @__PURE__ */ jsx(Text, { small: true, children: title2 }) }),
54032
- /* @__PURE__ */ jsxs("div", { className: styles$2.buttons, children: [
54014
+ }) => /* @__PURE__ */ jsxs("div", { className: styles$3.popConfirm, children: [
54015
+ title2 && /* @__PURE__ */ jsx("div", { className: styles$3.content, children: /* @__PURE__ */ jsx(Text, { small: true, children: title2 }) }),
54016
+ /* @__PURE__ */ jsxs("div", { className: styles$3.buttons, children: [
54033
54017
  /* @__PURE__ */ jsx(
54034
54018
  Button$1,
54035
54019
  {
@@ -65910,7 +65894,7 @@ const dropTarget = "_dropTarget_15yn1_11";
65910
65894
  const draggingSource = "_draggingSource_15yn1_26";
65911
65895
  const placeholderContainer = "_placeholderContainer_15yn1_29";
65912
65896
  const placeholder = "_placeholder_15yn1_29";
65913
- const styles$1 = {
65897
+ const styles$2 = {
65914
65898
  tree,
65915
65899
  toggle,
65916
65900
  dropTarget,
@@ -65998,7 +65982,7 @@ const TreeItem = ({
65998
65982
  isDragOver ? listStyles.noPointerEvents : ""
65999
65983
  ),
66000
65984
  children: [
66001
- hasChild && /* @__PURE__ */ jsx("div", { className: styles$1.toggle, children: /* @__PURE__ */ jsx(
65985
+ hasChild && /* @__PURE__ */ jsx("div", { className: styles$2.toggle, children: /* @__PURE__ */ jsx(
66002
65986
  Button$1,
66003
65987
  {
66004
65988
  basic: true,
@@ -66018,7 +66002,7 @@ const TreeItem = ({
66018
66002
  }
66019
66003
  );
66020
66004
  };
66021
- const TreePlaceholder = ({ depth }) => /* @__PURE__ */ jsx("div", { className: styles$1.placeholder, style: { left: depth * 24 } });
66005
+ const TreePlaceholder = ({ depth }) => /* @__PURE__ */ jsx("div", { className: styles$2.placeholder, style: { left: depth * 24 } });
66022
66006
  const Tree = ({
66023
66007
  list: list2,
66024
66008
  draggable = false,
@@ -66160,10 +66144,10 @@ const Tree = ({
66160
66144
  listComponent: "div",
66161
66145
  listItemComponent: "div",
66162
66146
  classes: {
66163
- root: styles$1.tree,
66164
- draggingSource: styles$1.draggingSource,
66165
- dropTarget: styles$1.dropTarget,
66166
- placeholder: styles$1.placeholderContainer
66147
+ root: styles$2.tree,
66148
+ draggingSource: styles$2.draggingSource,
66149
+ dropTarget: styles$2.dropTarget,
66150
+ placeholder: styles$2.placeholderContainer
66167
66151
  },
66168
66152
  initialOpen: isInitialOpen
66169
66153
  }
@@ -66344,7 +66328,7 @@ const safeRoundNumbers = (value) => {
66344
66328
  };
66345
66329
  const predefinedMenuActive = "_predefinedMenuActive_ye9w9_1";
66346
66330
  const inputWrapper = "_inputWrapper_ye9w9_4";
66347
- const styles = {
66331
+ const styles$1 = {
66348
66332
  predefinedMenuActive,
66349
66333
  inputWrapper
66350
66334
  };
@@ -66596,7 +66580,7 @@ const UnitInput = ({
66596
66580
  return /* @__PURE__ */ jsx(
66597
66581
  "div",
66598
66582
  {
66599
- className: predefinedOptionsMenuState === PredefinedOptionsMenuState.PREDEFINED ? cx$2(styles.predefinedMenuActive) : "",
66583
+ className: predefinedOptionsMenuState === PredefinedOptionsMenuState.PREDEFINED ? cx$2(styles$1.predefinedMenuActive) : "",
66600
66584
  children: /* @__PURE__ */ jsxs(InputGroup, { small: small2, width: width2, children: [
66601
66585
  predefinedOptions && /* @__PURE__ */ jsx(
66602
66586
  Tooltip,
@@ -66627,7 +66611,7 @@ const UnitInput = ({
66627
66611
  )
66628
66612
  }
66629
66613
  ),
66630
- /* @__PURE__ */ jsx("div", { className: styles.inputWrapper, children: /* @__PURE__ */ jsx(
66614
+ /* @__PURE__ */ jsx("div", { className: styles$1.inputWrapper, children: /* @__PURE__ */ jsx(
66631
66615
  NumberInput,
66632
66616
  {
66633
66617
  name: stringName,
@@ -67001,20 +66985,31 @@ const SmartUploadModal = ({
67001
66985
  }
67002
66986
  ) });
67003
66987
  };
66988
+ const settingField = "_settingField_1x02n_1";
66989
+ const styles = {
66990
+ settingField
66991
+ };
67004
66992
  const SettingField = ({
67005
66993
  helpText,
67006
- active: active2 = true,
66994
+ disabled: disabled2 = false,
67007
66995
  children,
67008
66996
  noPermission = false,
67009
66997
  selectedOption,
67010
66998
  handleSelectChange
67011
66999
  }) => {
67000
+ const renderHelpText = (text2) => {
67001
+ const textWithNewlines = text2.replace(/\\n/g, "\n");
67002
+ return textWithNewlines.split(/\n/).map((line2, index2) => /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
67003
+ line2,
67004
+ /* @__PURE__ */ jsx("br", {})
67005
+ ] }, index2));
67006
+ };
67012
67007
  const options = [
67013
67008
  { label: "All users", value: "all_users" },
67014
67009
  { label: "Admin only", value: "superusers_admin" }
67015
67010
  ];
67016
- return /* @__PURE__ */ jsxs("div", { children: [
67017
- /* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", children: [
67011
+ return /* @__PURE__ */ jsxs("div", { className: styles.settingField, children: [
67012
+ /* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", wrap: false, children: [
67018
67013
  children,
67019
67014
  !noPermission && /* @__PURE__ */ jsx(
67020
67015
  Select,
@@ -67024,7 +67019,7 @@ const SettingField = ({
67024
67019
  name: "userType",
67025
67020
  options,
67026
67021
  value: selectedOption,
67027
- disabled: !active2,
67022
+ disabled: disabled2,
67028
67023
  onChange: handleSelectChange ? (e2) => handleSelectChange(
67029
67024
  e2.target.value
67030
67025
  ) : void 0,
@@ -67033,7 +67028,7 @@ const SettingField = ({
67033
67028
  }
67034
67029
  )
67035
67030
  ] }),
67036
- /* @__PURE__ */ jsx(Text, { muted: true, children: helpText })
67031
+ helpText && /* @__PURE__ */ jsx(Text, { muted: true, children: renderHelpText(helpText) })
67037
67032
  ] });
67038
67033
  };
67039
67034
  export {