@oliasoft-open-source/react-ui-library 4.19.0-beta-3 → 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";
@@ -14687,19 +14685,6 @@ 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
14690
  const LINE_HEIGHT = 20;
@@ -14713,15 +14698,15 @@ const ListScrollWrapper = ({
14713
14698
  }
14714
14699
  return height2;
14715
14700
  };
14716
- const virtualizer = useVirtualizer({
14701
+ const virtualizer = infiniteScroll ? useVirtualizer({
14717
14702
  count: items.length,
14718
14703
  getScrollElement: () => listContainerRef.current,
14719
14704
  estimateSize: useCallback(estimateItemHeight, []),
14720
14705
  overscan: 5
14721
- });
14706
+ }) : void 0;
14722
14707
  const findFirstActiveItemIndex = (items2) => items2.findIndex((item2) => item2.active === true);
14723
14708
  const setScrollToActiveItem = (activeItemIndex) => {
14724
- if (activeItemIndex >= 0) {
14709
+ if (virtualizer && activeItemIndex >= 0) {
14725
14710
  virtualizer.scrollToIndex(activeItemIndex, {
14726
14711
  align: "center",
14727
14712
  behavior: "smooth"
@@ -14729,28 +14714,27 @@ const ListScrollWrapper = ({
14729
14714
  }
14730
14715
  };
14731
14716
  useEffect(() => {
14732
- if (triggerScrollToActiveItem) {
14717
+ if (triggerScrollToActiveItem && virtualizer) {
14733
14718
  const activeItemIndex = findFirstActiveItemIndex(items);
14734
14719
  setScrollToActiveItem(activeItemIndex);
14735
14720
  }
14736
14721
  }, [triggerScrollToActiveItem]);
14722
+ const getVirtualListStyle = () => {
14723
+ if (!virtualizer) return {};
14724
+ return {
14725
+ height: `${virtualizer.getTotalSize()}px`
14726
+ };
14727
+ };
14737
14728
  return /* @__PURE__ */ jsx(
14738
14729
  "div",
14739
14730
  {
14740
14731
  className: cx$2(
14741
14732
  listStyles.listContent,
14742
- listStyles.scrollableList,
14733
+ scrollable || infiniteScroll ? listStyles.scrollableList : "",
14743
14734
  hideScrollbar2 ? listStyles.hideScrollbar : ""
14744
14735
  ),
14745
14736
  ref: listContainerRef,
14746
- children: /* @__PURE__ */ jsx(
14747
- "div",
14748
- {
14749
- className: listStyles.virtualRows,
14750
- style: { height: `${virtualizer.getTotalSize()}px` },
14751
- children: children({ virtualizer })
14752
- }
14753
- )
14737
+ children: /* @__PURE__ */ jsx("div", { className: listStyles.virtualRows, style: getVirtualListStyle(), children: children({ virtualizer }) })
14754
14738
  }
14755
14739
  );
14756
14740
  };
@@ -14850,7 +14834,7 @@ const dimmer = "_dimmer_477i5_21";
14850
14834
  const content$2 = "_content_477i5_44";
14851
14835
  const text$1 = "_text_477i5_49";
14852
14836
  const details$1 = "_details_477i5_53";
14853
- const styles$t = {
14837
+ const styles$u = {
14854
14838
  loader,
14855
14839
  fullViewPortSize,
14856
14840
  cover,
@@ -14875,22 +14859,22 @@ const Loader = ({
14875
14859
  return /* @__PURE__ */ jsx(
14876
14860
  "div",
14877
14861
  {
14878
- className: cx$2(styles$t.loader, cover2 ? styles$t.cover : "", {
14879
- [styles$t.fullViewPortSize]: fullViewPortSize2
14862
+ className: cx$2(styles$u.loader, cover2 ? styles$u.cover : "", {
14863
+ [styles$u.fullViewPortSize]: fullViewPortSize2
14880
14864
  }),
14881
14865
  style: { width: width2, height: height2 },
14882
14866
  "data-testid": testId,
14883
- 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(
14884
14868
  "div",
14885
14869
  {
14886
- className: styles$t.content,
14870
+ className: styles$u.content,
14887
14871
  "data-testid": testId && `${testId}-content`,
14888
14872
  children: [
14889
14873
  children,
14890
14874
  text2 && /* @__PURE__ */ jsx(
14891
14875
  "div",
14892
14876
  {
14893
- className: styles$t.text,
14877
+ className: styles$u.text,
14894
14878
  "data-testid": testId && `${testId}-text`,
14895
14879
  children: text2
14896
14880
  }
@@ -14898,7 +14882,7 @@ const Loader = ({
14898
14882
  details2 && /* @__PURE__ */ jsx(
14899
14883
  "div",
14900
14884
  {
14901
- className: styles$t.details,
14885
+ className: styles$u.details,
14902
14886
  "data-testid": testId && `${testId}-details`,
14903
14887
  children: details2
14904
14888
  }
@@ -14930,7 +14914,7 @@ const absolute = "_absolute_1okhq_143";
14930
14914
  const legendToggle = "_legendToggle_1okhq_155";
14931
14915
  const detailsText = "_detailsText_1okhq_165";
14932
14916
  const footer$1 = "_footer_1okhq_169";
14933
- const styles$s = {
14917
+ const styles$t = {
14934
14918
  inputInTable: inputInTable$7,
14935
14919
  inputHover: inputHover$7,
14936
14920
  inputFocus: inputFocus$7,
@@ -14974,9 +14958,9 @@ const Dismiss = ({
14974
14958
  "div",
14975
14959
  {
14976
14960
  className: cx$2(
14977
- styles$s.dismiss,
14978
- isInToast ? styles$s.absolute : "",
14979
- 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
14980
14964
  ),
14981
14965
  children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CLOSE, onClick: onClose, testId })
14982
14966
  }
@@ -14995,8 +14979,8 @@ const reducer$1 = (state, action2) => {
14995
14979
  };
14996
14980
  const Details = ({ details: details2, visible, dispatch }) => {
14997
14981
  return /* @__PURE__ */ jsxs("div", { children: [
14998
- /* @__PURE__ */ jsx("div", { className: cx$2(styles$s.legendToggle), onClick: dispatch, children: visible ? "Hide details" : "Show details" }),
14999
- 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
15000
14984
  ] });
15001
14985
  };
15002
14986
  const DialogIcon = ({ type }) => {
@@ -15035,15 +15019,15 @@ const Message = ({ message: message2 }) => {
15035
15019
  "div",
15036
15020
  {
15037
15021
  className: cx$2(
15038
- styles$s.container,
15039
- width2 ? styles$s.block : null,
15040
- 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
15041
15025
  ),
15042
15026
  style: { width: width2, maxHeight },
15043
15027
  children: [
15044
- /* @__PURE__ */ jsx("div", { children: icon2 ? /* @__PURE__ */ jsx("div", { className: styles$s.icon, children: /* @__PURE__ */ jsx(DialogIcon, { type }) }) : null }),
15045
- /* @__PURE__ */ jsxs("div", { className: styles$s.content, children: [
15046
- 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,
15047
15031
  /* @__PURE__ */ jsx("div", { children: content2 }),
15048
15032
  details2 ? /* @__PURE__ */ jsx(
15049
15033
  Details,
@@ -15053,7 +15037,7 @@ const Message = ({ message: message2 }) => {
15053
15037
  dispatch: () => dispatch({ type: MessageToggle.TOGGLE_DETAILS })
15054
15038
  }
15055
15039
  ) : null,
15056
- !!footer2 && /* @__PURE__ */ jsx("div", { className: styles$s.footer, children: footer2 })
15040
+ !!footer2 && /* @__PURE__ */ jsx("div", { className: styles$t.footer, children: footer2 })
15057
15041
  ] }),
15058
15042
  withDismiss ? /* @__PURE__ */ jsx(Dismiss, { type, onClose }) : null
15059
15043
  ]
@@ -15085,7 +15069,7 @@ const wrapper$2 = "_wrapper_sb0hc_1";
15085
15069
  const contentContainer = "_contentContainer_sb0hc_15";
15086
15070
  const centered = "_centered_sb0hc_24";
15087
15071
  const newLine = "_newLine_sb0hc_28";
15088
- const styles$r = {
15072
+ const styles$s = {
15089
15073
  wrapper: wrapper$2,
15090
15074
  contentContainer,
15091
15075
  centered,
@@ -15105,12 +15089,12 @@ const Wrapper = ({ children }) => {
15105
15089
  }
15106
15090
  }
15107
15091
  }, []);
15108
- 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 });
15109
15093
  };
15110
15094
  const Content$2 = ({ children, width: width2, centered: centered2 }) => /* @__PURE__ */ jsx(
15111
15095
  "div",
15112
15096
  {
15113
- className: cx$2(styles$r.contentContainer, centered2 ? styles$r.centered : ""),
15097
+ className: cx$2(styles$s.contentContainer, centered2 ? styles$s.centered : ""),
15114
15098
  style: { maxWidth: width2 },
15115
15099
  children
15116
15100
  }
@@ -15159,7 +15143,7 @@ const menu$1 = "_menu_12x4u_1";
15159
15143
  const header = "_header_12x4u_11";
15160
15144
  const item$3 = "_item_12x4u_27";
15161
15145
  const heading$1 = "_heading_12x4u_32";
15162
- const styles$q = {
15146
+ const styles$r = {
15163
15147
  menu: menu$1,
15164
15148
  header,
15165
15149
  item: item$3,
@@ -15170,9 +15154,9 @@ const Option$1 = ({
15170
15154
  onChange
15171
15155
  }) => {
15172
15156
  const { key: key2, label: label2, selected: selected2 } = option2 ?? {};
15173
- 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);
15174
15158
  };
15175
- 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 });
15176
15160
  var DropdownType = /* @__PURE__ */ ((DropdownType2) => {
15177
15161
  DropdownType2["HEADING"] = "Heading";
15178
15162
  DropdownType2["DIVIDER"] = "Divider";
@@ -15185,9 +15169,9 @@ const Layer$1 = ({
15185
15169
  showHeader,
15186
15170
  maxHeight
15187
15171
  }) => {
15188
- 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: [
15189
15173
  showHeader && /* @__PURE__ */ jsxs(Fragment$1, { children: [
15190
- /* @__PURE__ */ jsxs("div", { className: styles$q.header, children: [
15174
+ /* @__PURE__ */ jsxs("div", { className: styles$r.header, children: [
15191
15175
  /* @__PURE__ */ jsx(
15192
15176
  "a",
15193
15177
  {
@@ -15291,7 +15275,7 @@ const OptionDropdown = ({
15291
15275
  };
15292
15276
  const page = "_page_beskc_1";
15293
15277
  const scroll$1 = "_scroll_beskc_23";
15294
- const styles$p = {
15278
+ const styles$q = {
15295
15279
  page,
15296
15280
  scroll: scroll$1
15297
15281
  };
@@ -15306,7 +15290,7 @@ const Page = ({
15306
15290
  return /* @__PURE__ */ jsx(
15307
15291
  "div",
15308
15292
  {
15309
- className: cx$2(styles$p.page, scroll2 ? styles$p.scroll : ""),
15293
+ className: cx$2(styles$q.page, scroll2 ? styles$q.scroll : ""),
15310
15294
  style: { left: left2, padding: padding2, top: top2 },
15311
15295
  children
15312
15296
  }
@@ -15327,7 +15311,7 @@ const right$3 = "_right_sl2b5_182";
15327
15311
  const groupOrderFirst$1 = "_groupOrderFirst_sl2b5_193";
15328
15312
  const groupOrderMiddle$1 = "_groupOrderMiddle_sl2b5_194";
15329
15313
  const groupOrderLast$1 = "_groupOrderLast_sl2b5_198";
15330
- const styles$o = {
15314
+ const styles$p = {
15331
15315
  inputInTable: inputInTable$6,
15332
15316
  inputHover: inputHover$6,
15333
15317
  inputFocus: inputFocus$6,
@@ -15410,11 +15394,11 @@ const NativeSelect = ({
15410
15394
  if (groupOrder) {
15411
15395
  switch (groupOrder) {
15412
15396
  case GroupOrder.FIRST:
15413
- return styles$o.groupOrderFirst;
15397
+ return styles$p.groupOrderFirst;
15414
15398
  case GroupOrder.LAST:
15415
- return styles$o.groupOrderLast;
15399
+ return styles$p.groupOrderLast;
15416
15400
  default:
15417
- return styles$o.groupOrderMiddle;
15401
+ return styles$p.groupOrderMiddle;
15418
15402
  }
15419
15403
  }
15420
15404
  return "";
@@ -15427,16 +15411,15 @@ const NativeSelect = ({
15427
15411
  text: tooltip2 || error2 || warning2,
15428
15412
  enabled: tooltip2 && isStringNumberOrNode(tooltip2) || error2 && isStringNumberOrNode(error2) || warning2 && isStringNumberOrNode(warning2) || false,
15429
15413
  maxWidth: maxTooltipWidth,
15430
- placement: "bottom-center",
15431
15414
  children: /* @__PURE__ */ jsx(
15432
15415
  "select",
15433
15416
  {
15434
15417
  className: cx$2(
15435
- styles$o.select,
15436
- isUnselected ? styles$o.unSelected : "",
15437
- right2 ? styles$o.right : "",
15438
- small2 ? styles$o.small : "",
15439
- 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 : "",
15440
15423
  order2
15441
15424
  ),
15442
15425
  style: {
@@ -16250,7 +16233,7 @@ const optionContent = "_optionContent_dw2pp_92";
16250
16233
  const label$5 = "_label_dw2pp_97";
16251
16234
  const icon$2 = "_icon_dw2pp_104";
16252
16235
  const details = "_details_dw2pp_109";
16253
- const styles$n = {
16236
+ const styles$o = {
16254
16237
  layerContainer,
16255
16238
  layer,
16256
16239
  small: small$5,
@@ -16271,7 +16254,7 @@ const Heading = ({ label: label2 }) => {
16271
16254
  "div",
16272
16255
  {
16273
16256
  onClick: (evt) => evt.stopPropagation(),
16274
- className: styles$n.heading,
16257
+ className: styles$o.heading,
16275
16258
  children: label2
16276
16259
  }
16277
16260
  );
@@ -16292,21 +16275,21 @@ const Option = ({
16292
16275
  "div",
16293
16276
  {
16294
16277
  className: cx$2(
16295
- styles$n.option,
16296
- disabled2 ? styles$n.disabled : "",
16297
- selected2 ? styles$n == null ? void 0 : styles$n.selected : "",
16298
- 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 : ""
16299
16282
  ),
16300
16283
  onClick: !disabled2 && onSelectOption ? onSelectOption : void 0,
16301
16284
  "data-testid": testId,
16302
16285
  children: [
16303
- /* @__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: [
16304
16287
  label2,
16305
- icon2 && /* @__PURE__ */ jsx("span", { className: styles$n.icon, children: icon2 })
16288
+ icon2 && /* @__PURE__ */ jsx("span", { className: styles$o.icon, children: icon2 })
16306
16289
  ] }) }),
16307
- details2 && /* @__PURE__ */ jsx("div", { className: cx$2(styles$n.details), children: /* @__PURE__ */ jsx(Text, { faint: true, children: details2 }) }),
16308
- !!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsx("div", { className: cx$2(styles$n.actions), children: /* @__PURE__ */ jsx(Actions, { actions: actions2, closeLayer }) }),
16309
- /* @__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 })
16310
16293
  ]
16311
16294
  }
16312
16295
  );
@@ -16418,8 +16401,8 @@ const Layer = ({
16418
16401
  "div",
16419
16402
  {
16420
16403
  "data-testid": testId,
16421
- className: cx$2(styles$n.layer, small2 && styles$n.small),
16422
- 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(
16423
16406
  FixedSizeList,
16424
16407
  {
16425
16408
  ref: listRef,
@@ -16479,7 +16462,7 @@ const groupOrderFirst = "_groupOrderFirst_7uwhv_297";
16479
16462
  const groupOrderMiddle = "_groupOrderMiddle_7uwhv_298";
16480
16463
  const groupOrderLast = "_groupOrderLast_7uwhv_302";
16481
16464
  const detailedLabel = "_detailedLabel_7uwhv_307";
16482
- const styles$m = {
16465
+ const styles$n = {
16483
16466
  inputInTable: inputInTable$5,
16484
16467
  inputHover: inputHover$5,
16485
16468
  inputFocus: inputFocus$5,
@@ -16539,13 +16522,13 @@ const MultiSelectedOptions = ({
16539
16522
  return /* @__PURE__ */ jsxs(
16540
16523
  "div",
16541
16524
  {
16542
- className: styles$m.multiOptions,
16525
+ className: styles$n.multiOptions,
16543
16526
  "data-testid": testId && `${testId}-value`,
16544
16527
  children: [
16545
16528
  displayedOptions.filter((option2) => option2 && option2.label).map((option2, index2) => /* @__PURE__ */ jsx(
16546
16529
  "span",
16547
16530
  {
16548
- className: styles$m.multiOption,
16531
+ className: styles$n.multiOption,
16549
16532
  onClick: (evt) => {
16550
16533
  evt.stopPropagation();
16551
16534
  },
@@ -16558,7 +16541,7 @@ const MultiSelectedOptions = ({
16558
16541
  {
16559
16542
  text: overflowOptions.map((option2, index2) => /* @__PURE__ */ jsx("div", { children: option2.label }, index2)),
16560
16543
  display: "inline-flex",
16561
- 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` })
16562
16545
  }
16563
16546
  )
16564
16547
  ]
@@ -16586,8 +16569,8 @@ const Input = ({
16586
16569
  const inputWidth = ((_b = inputRef.current) == null ? void 0 : _b.offsetWidth) || 0;
16587
16570
  return containerWidth - inputWidth;
16588
16571
  };
16589
- return /* @__PURE__ */ jsxs("div", { className: styles$m.triggerInputContainer, ref: containerRef, children: [
16590
- !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(
16591
16574
  MultiSelectedOptions,
16592
16575
  {
16593
16576
  selectedOptions,
@@ -16598,7 +16581,7 @@ const Input = ({
16598
16581
  ) : /* @__PURE__ */ jsx(
16599
16582
  "span",
16600
16583
  {
16601
- className: styles$m.selectedSingleValue,
16584
+ className: styles$n.selectedSingleValue,
16602
16585
  "data-testid": testId && `${testId}-value`,
16603
16586
  children: !(searchValue == null ? void 0 : searchValue.length) ? selectedOptions == null ? void 0 : selectedOptions.label : ""
16604
16587
  }
@@ -16609,7 +16592,7 @@ const Input = ({
16609
16592
  tabIndex: -1,
16610
16593
  ref: inputRef,
16611
16594
  size: inputSize,
16612
- className: styles$m.input,
16595
+ className: styles$n.input,
16613
16596
  value: searchValue,
16614
16597
  onChange: (evt) => onChange(evt.target.value),
16615
16598
  "data-error": error2 || null,
@@ -16655,18 +16638,18 @@ const Trigger = ({
16655
16638
  if (groupOrder) {
16656
16639
  switch (groupOrder) {
16657
16640
  case GroupOrder.FIRST:
16658
- return styles$m.groupOrderFirst;
16641
+ return styles$n.groupOrderFirst;
16659
16642
  case GroupOrder.LAST:
16660
- return styles$m.groupOrderLast;
16643
+ return styles$n.groupOrderLast;
16661
16644
  default:
16662
- return styles$m.groupOrderMiddle;
16645
+ return styles$n.groupOrderMiddle;
16663
16646
  }
16664
16647
  }
16665
16648
  return "";
16666
16649
  })();
16667
16650
  const selectedOptionsWithDetails = !Array.isArray(selectedOptions) && (selectedOptions == null ? void 0 : selectedOptions.details) ? {
16668
16651
  ...selectedOptions,
16669
- label: /* @__PURE__ */ jsxs("div", { className: cx$2(styles$m.detailedLabel), children: [
16652
+ label: /* @__PURE__ */ jsxs("div", { className: cx$2(styles$n.detailedLabel), children: [
16670
16653
  /* @__PURE__ */ jsx(Text, { children: selectedOptions.label }),
16671
16654
  /* @__PURE__ */ jsx(Text, { muted: true, children: selectedOptions.details })
16672
16655
  ] })
@@ -16679,12 +16662,12 @@ const Trigger = ({
16679
16662
  ref: triggerRef,
16680
16663
  tabIndex,
16681
16664
  className: cx$2(
16682
- styles$m.trigger,
16683
- isOpen2 ? styles$m.isOpen : "",
16684
- disabled2 ? styles$m.disabled : "",
16685
- small2 ? styles$m.small : "",
16686
- isInTable2 ? styles$m.isInTable : "",
16687
- 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 : "",
16688
16671
  order2
16689
16672
  ),
16690
16673
  onClick: (evt) => {
@@ -16716,12 +16699,12 @@ const Trigger = ({
16716
16699
  testId
16717
16700
  }
16718
16701
  ),
16719
- /* @__PURE__ */ jsx("span", { className: styles$m.icons, children: canClear ? /* @__PURE__ */ jsx(
16702
+ /* @__PURE__ */ jsx("span", { className: styles$n.icons, children: canClear ? /* @__PURE__ */ jsx(
16720
16703
  "span",
16721
16704
  {
16722
16705
  className: cx$2(
16723
- styles$m.clearAll,
16724
- clearAllIsFocused ? styles$m.focus : ""
16706
+ styles$n.clearAll,
16707
+ clearAllIsFocused ? styles$n.focus : ""
16725
16708
  ),
16726
16709
  onClick: (evt) => {
16727
16710
  evt.stopPropagation();
@@ -16732,7 +16715,7 @@ const Trigger = ({
16732
16715
  "data-testid": testId && `${testId}-clear`,
16733
16716
  children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CLOSE })
16734
16717
  }
16735
- ) : /* @__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" }) }) })
16736
16719
  ]
16737
16720
  }
16738
16721
  )
@@ -16745,7 +16728,6 @@ const Trigger = ({
16745
16728
  text: tooltip2 || error2 || warning2,
16746
16729
  enabled: tooltip2 && isStringNumberOrNode(tooltip2) || error2 && isStringNumberOrNode(error2) || warning2 && isStringNumberOrNode(warning2) || false,
16747
16730
  maxWidth: maxTooltipWidth,
16748
- placement: "bottom-center",
16749
16731
  children: triggerInput
16750
16732
  }
16751
16733
  ) });
@@ -17273,7 +17255,7 @@ const CustomSelect = (props) => {
17273
17255
  }
17274
17256
  ),
17275
17257
  state.isLayerOpen && renderLayer(
17276
- /* @__PURE__ */ jsx("div", { ...layerProps, className: styles$n.layerContainer, children: /* @__PURE__ */ jsx(
17258
+ /* @__PURE__ */ jsx("div", { ...layerProps, className: styles$o.layerContainer, children: /* @__PURE__ */ jsx(
17277
17259
  Layer,
17278
17260
  {
17279
17261
  listRef,
@@ -17522,7 +17504,7 @@ const validateSelectedPage = (selectedPage, numPages, errorMessageTemplate = "Se
17522
17504
  return valid;
17523
17505
  };
17524
17506
  const paginationContainer = "_paginationContainer_1tmz4_1";
17525
- const styles$l = {
17507
+ const styles$m = {
17526
17508
  paginationContainer
17527
17509
  };
17528
17510
  const Pagination = ({ pagination }) => {
@@ -17559,7 +17541,7 @@ const Pagination = ({ pagination }) => {
17559
17541
  onSelectPage(Number(value));
17560
17542
  }
17561
17543
  };
17562
- return /* @__PURE__ */ jsxs("div", { className: styles$l.paginationContainer, children: [
17544
+ return /* @__PURE__ */ jsxs("div", { className: styles$m.paginationContainer, children: [
17563
17545
  rowsPerPage && /* @__PURE__ */ jsx("div", { style: { flexShrink: 0 }, children: /* @__PURE__ */ jsx(
17564
17546
  Select,
17565
17547
  {
@@ -17644,7 +17626,7 @@ const Pagination = ({ pagination }) => {
17644
17626
  const toggleBox = "_toggleBox_lhie5_1";
17645
17627
  const fullWidthStyleFix = "_fullWidthStyleFix_lhie5_8";
17646
17628
  const dismiss = "_dismiss_lhie5_13";
17647
- const styles$k = {
17629
+ const styles$l = {
17648
17630
  toggleBox,
17649
17631
  fullWidthStyleFix,
17650
17632
  dismiss
@@ -17698,7 +17680,7 @@ const Popover = ({
17698
17680
  /* @__PURE__ */ jsxs(
17699
17681
  "div",
17700
17682
  {
17701
- 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),
17702
17684
  ...layerProps,
17703
17685
  children: [
17704
17686
  /* @__PURE__ */ jsxs("div", { children: [
@@ -17706,7 +17688,7 @@ const Popover = ({
17706
17688
  content2,
17707
17689
  { close: close2 }
17708
17690
  ) : content2,
17709
- 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 }) })
17710
17692
  ] }),
17711
17693
  /* @__PURE__ */ jsx(
17712
17694
  Arrow,
@@ -17725,7 +17707,7 @@ const Popover = ({
17725
17707
  ] });
17726
17708
  };
17727
17709
  const printHeader = "_printHeader_o7xxx_1";
17728
- const styles$j = {
17710
+ const styles$k = {
17729
17711
  printHeader
17730
17712
  };
17731
17713
  const PrintHeader = ({
@@ -17737,7 +17719,7 @@ const PrintHeader = ({
17737
17719
  {
17738
17720
  src: logo2,
17739
17721
  alt,
17740
- className: styles$j.printHeader,
17722
+ className: styles$k.printHeader,
17741
17723
  style: { width: logoWidth }
17742
17724
  }
17743
17725
  );
@@ -17751,7 +17733,7 @@ const orange = "_orange_23ror_30";
17751
17733
  const yellow = "_yellow_23ror_33";
17752
17734
  const green = "_green_23ror_36";
17753
17735
  const label$3 = "_label_23ror_39";
17754
- const styles$i = {
17736
+ const styles$j = {
17755
17737
  progress: progress$1,
17756
17738
  inverted,
17757
17739
  bar,
@@ -17764,11 +17746,11 @@ const styles$i = {
17764
17746
  label: label$3
17765
17747
  };
17766
17748
  const getColor = (perct) => {
17767
- if (perct < 20) return styles$i.grey;
17768
- if (perct < 40) return styles$i.red;
17769
- if (perct < 60) return styles$i.orange;
17770
- if (perct < 80) return styles$i.yellow;
17771
- 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;
17772
17754
  };
17773
17755
  const ProgressBar$1 = ({
17774
17756
  width: width2 = "auto",
@@ -17781,21 +17763,21 @@ const ProgressBar$1 = ({
17781
17763
  return /* @__PURE__ */ jsx("div", { style: { width: width2 }, "data-percent": percentage, children: /* @__PURE__ */ jsxs(
17782
17764
  "div",
17783
17765
  {
17784
- className: cx$2(styles$i.progress, inverted2 ? styles$i.inverted : ""),
17766
+ className: cx$2(styles$j.progress, inverted2 ? styles$j.inverted : ""),
17785
17767
  style: { width: width2 },
17786
17768
  children: [
17787
17769
  /* @__PURE__ */ jsx(
17788
17770
  "div",
17789
17771
  {
17790
17772
  className: cx$2(
17791
- styles$i.bar,
17792
- showProgressColors ? getColor(percentage) : colored2 ? styles$i.colored : ""
17773
+ styles$j.bar,
17774
+ showProgressColors ? getColor(percentage) : colored2 ? styles$j.colored : ""
17793
17775
  ),
17794
17776
  style: { width: `${percentage}%` },
17795
- children: /* @__PURE__ */ jsx("div", { className: styles$i.label, children: !noLabel2 && `${percentage}%` })
17777
+ children: /* @__PURE__ */ jsx("div", { className: styles$j.label, children: !noLabel2 && `${percentage}%` })
17796
17778
  }
17797
17779
  ),
17798
- /* @__PURE__ */ jsx("div", { className: styles$i.label, children: !noLabel2 && `${percentage}%` })
17780
+ /* @__PURE__ */ jsx("div", { className: styles$j.label, children: !noLabel2 && `${percentage}%` })
17799
17781
  ]
17800
17782
  }
17801
17783
  ) });
@@ -17809,7 +17791,7 @@ const noMargin$1 = "_noMargin_1fbik_32";
17809
17791
  const disabled$2 = "_disabled_1fbik_90";
17810
17792
  const isInTable = "_isInTable_1fbik_106";
17811
17793
  const helpIconEnabled$1 = "_helpIconEnabled_1fbik_111";
17812
- const styles$h = {
17794
+ const styles$i = {
17813
17795
  wrapper: wrapper$1,
17814
17796
  inline: inline$1,
17815
17797
  radio,
@@ -17838,10 +17820,10 @@ const RadioInput = ({
17838
17820
  "div",
17839
17821
  {
17840
17822
  className: cx$2(
17841
- styles$h.radio,
17842
- disabled2 ? styles$h.disabled : null,
17843
- small2 ? styles$h.small : null,
17844
- 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
17845
17827
  ),
17846
17828
  onClick: onChange,
17847
17829
  "data-testid": testId,
@@ -17858,7 +17840,7 @@ const RadioInput = ({
17858
17840
  }
17859
17841
  ),
17860
17842
  /* @__PURE__ */ jsx("label", { "data-name": name2, "data-value": value, children: label2 }),
17861
- 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 }) })
17862
17844
  ]
17863
17845
  }
17864
17846
  );
@@ -17898,13 +17880,13 @@ const RadioButton = ({
17898
17880
  "div",
17899
17881
  {
17900
17882
  className: cx$2(
17901
- styles$h.wrapper,
17902
- inline2 ? styles$h.inline : null,
17903
- 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
17904
17886
  //deprecated
17905
17887
  ),
17906
17888
  children: [
17907
- 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 }),
17908
17890
  options.map(
17909
17891
  (option2, index2) => {
17910
17892
  const selected2 = (option2 == null ? void 0 : option2.checked) || (option2 == null ? void 0 : option2.value) === selectedValue || false;
@@ -48152,7 +48134,7 @@ var interopRequireDefaultExports = interopRequireDefault.exports;
48152
48134
  const require$$2 = /* @__PURE__ */ getAugmentedNamespace(_extends$5);
48153
48135
  const richTextToolbar = "_richTextToolbar_1gbkk_1";
48154
48136
  const richTextToolbarContainer = "_richTextToolbarContainer_1gbkk_5";
48155
- const styles$g = {
48137
+ const styles$h = {
48156
48138
  richTextToolbar,
48157
48139
  richTextToolbarContainer
48158
48140
  };
@@ -48204,8 +48186,8 @@ const RichTextToolbar = ({
48204
48186
  active: active2.orderedList()
48205
48187
  }
48206
48188
  ];
48207
- return /* @__PURE__ */ jsxs("div", { className: styles$g.richTextToolbarContainer, children: [
48208
- /* @__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(
48209
48191
  Button$1,
48210
48192
  {
48211
48193
  small: true,
@@ -48233,7 +48215,7 @@ const inputWarning$4 = "_inputWarning_1fb4l_26";
48233
48215
  const inputDisabled$4 = "_inputDisabled_1fb4l_61";
48234
48216
  const hideScrollbars$4 = "_hideScrollbars_1fb4l_67";
48235
48217
  const richTextInput = "_richTextInput_1fb4l_77";
48236
- const styles$f = {
48218
+ const styles$g = {
48237
48219
  inputInTable: inputInTable$4,
48238
48220
  inputHover: inputHover$4,
48239
48221
  inputFocus: inputFocus$4,
@@ -48269,7 +48251,7 @@ const RichTextInput = forwardRef(
48269
48251
  }
48270
48252
  setState(state2);
48271
48253
  };
48272
- return /* @__PURE__ */ jsx("div", { className: styles$f.richTextInput, children: /* @__PURE__ */ jsxs(
48254
+ return /* @__PURE__ */ jsx("div", { className: styles$g.richTextInput, children: /* @__PURE__ */ jsxs(
48273
48255
  Remirror,
48274
48256
  {
48275
48257
  manager,
@@ -48292,7 +48274,7 @@ const RichTextInput = forwardRef(
48292
48274
  }
48293
48275
  );
48294
48276
  const row = "_row_n16je_1";
48295
- const styles$e = {
48277
+ const styles$f = {
48296
48278
  row
48297
48279
  };
48298
48280
  const Row$1 = ({
@@ -48313,7 +48295,7 @@ const Row$1 = ({
48313
48295
  return /* @__PURE__ */ jsx(
48314
48296
  "div",
48315
48297
  {
48316
- className: cx$2(styles$e.row),
48298
+ className: cx$2(styles$f.row),
48317
48299
  style: {
48318
48300
  alignItems,
48319
48301
  justifyContent,
@@ -48421,7 +48403,7 @@ const item$2 = "_item_1oy1z_140";
48421
48403
  const experimental = "_experimental_1oy1z_155";
48422
48404
  const active$2 = "_active_1oy1z_159";
48423
48405
  const icon$1 = "_icon_1oy1z_163";
48424
- const styles$d = {
48406
+ const styles$e = {
48425
48407
  inputInTable: inputInTable$3,
48426
48408
  inputHover: inputHover$3,
48427
48409
  inputFocus: inputFocus$3,
@@ -48454,10 +48436,10 @@ const TooltipIcon = memo$1(
48454
48436
  fontSize: 16,
48455
48437
  padding: "var(--padding-sm)",
48456
48438
  display: "block",
48457
- 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 }) }) })
48458
48440
  }
48459
48441
  ),
48460
- /* @__PURE__ */ jsx("span", { className: styles$d.label, children: label2 })
48442
+ /* @__PURE__ */ jsx("span", { className: styles$e.label, children: label2 })
48461
48443
  ] });
48462
48444
  },
48463
48445
  (prevProps, nextProps) => isEqual$1(prevProps, nextProps)
@@ -48469,16 +48451,16 @@ const Link$1 = ({
48469
48451
  onClick,
48470
48452
  testId
48471
48453
  }) => {
48472
- 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) => {
48473
48455
  const key2 = `${sectionIndex}_${i}`;
48474
48456
  return /* @__PURE__ */ jsx(
48475
48457
  "a",
48476
48458
  {
48477
48459
  href: link2.value,
48478
48460
  className: cx$2(
48479
- styles$d.item,
48480
- link2.isActive ? styles$d.active : "",
48481
- link2.isExperimental ? styles$d.experimental : ""
48461
+ styles$e.item,
48462
+ link2.isActive ? styles$e.active : "",
48463
+ link2.isExperimental ? styles$e.experimental : ""
48482
48464
  ),
48483
48465
  onClick: (evt) => onClick(evt, link2.value, link2.label, link2.onClick),
48484
48466
  "data-testid": testId,
@@ -48503,7 +48485,7 @@ const Sections = ({
48503
48485
  onClick
48504
48486
  }) => {
48505
48487
  return /* @__PURE__ */ jsx(Fragment$1, { children: sections.map((section2, i) => /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
48506
- /* @__PURE__ */ jsx("h5", { className: styles$d.subtitle, children: section2.heading.toUpperCase() }),
48488
+ /* @__PURE__ */ jsx("h5", { className: styles$e.subtitle, children: section2.heading.toUpperCase() }),
48507
48489
  /* @__PURE__ */ jsx(
48508
48490
  Link$1,
48509
48491
  {
@@ -48559,8 +48541,8 @@ const SideBar = memo$1(
48559
48541
  icon: IconType.LEFT
48560
48542
  }
48561
48543
  ),
48562
- children: /* @__PURE__ */ jsx("div", { className: cx$2(styles$d.sidebar, !isOpen2 ? styles$d.collapsed : ""), children: visible && /* @__PURE__ */ jsxs("div", { className: styles$d.inner, children: [
48563
- /* @__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 }),
48564
48546
  /* @__PURE__ */ jsx(
48565
48547
  Sections,
48566
48548
  {
@@ -50997,7 +50979,7 @@ const hasArrows = "_hasArrows_1bhdk_14";
50997
50979
  const button$1 = "_button_1bhdk_18";
50998
50980
  const label$1 = "_label_1bhdk_21";
50999
50981
  const dot = "_dot_1bhdk_29";
51000
- const styles$c = {
50982
+ const styles$d = {
51001
50983
  container,
51002
50984
  small: small$2,
51003
50985
  vertical,
@@ -51016,7 +50998,7 @@ const formatMarkers = (marks) => {
51016
50998
  tooltip2 ? ": " : "",
51017
50999
  label2 ?? value
51018
51000
  ] }),
51019
- children: /* @__PURE__ */ jsx("div", { className: styles$c.dot })
51001
+ children: /* @__PURE__ */ jsx("div", { className: styles$d.dot })
51020
51002
  }
51021
51003
  );
51022
51004
  return acc;
@@ -51059,7 +51041,7 @@ const Slider = ({
51059
51041
  }
51060
51042
  });
51061
51043
  };
51062
- 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(
51063
51045
  Button$1,
51064
51046
  {
51065
51047
  basic: true,
@@ -51070,7 +51052,7 @@ const Slider = ({
51070
51052
  icon: IconType.FAST_BACKWARD
51071
51053
  }
51072
51054
  ) });
51073
- 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(
51074
51056
  Button$1,
51075
51057
  {
51076
51058
  basic: true,
@@ -51093,9 +51075,9 @@ const Slider = ({
51093
51075
  "div",
51094
51076
  {
51095
51077
  className: cx$2(
51096
- styles$c.container,
51097
- small2 ? styles$c.small : "",
51098
- vertical2.enabled ? styles$c.vertical : ""
51078
+ styles$d.container,
51079
+ small2 ? styles$d.small : "",
51080
+ vertical2.enabled ? styles$d.vertical : ""
51099
51081
  ),
51100
51082
  style: vertical2.enabled ? { width: vertical2.width, height: vertical2.height } : { width: width2 },
51101
51083
  children: [
@@ -51106,8 +51088,8 @@ const Slider = ({
51106
51088
  range: range2,
51107
51089
  allowCross: false,
51108
51090
  className: cx$2(
51109
- (disabled2 || disabledContext) && styles$c.rcSliderDisabled,
51110
- showArrows && styles$c.hasArrows
51091
+ (disabled2 || disabledContext) && styles$d.rcSliderDisabled,
51092
+ showArrows && styles$d.hasArrows
51111
51093
  ),
51112
51094
  value,
51113
51095
  max,
@@ -51121,7 +51103,7 @@ const Slider = ({
51121
51103
  }
51122
51104
  ),
51123
51105
  showArrows && (vertical2.enabled ? /* @__PURE__ */ jsx(ButtonMin, {}) : /* @__PURE__ */ jsx(ButtonMax, {})),
51124
- 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 })
51125
51107
  ]
51126
51108
  }
51127
51109
  );
@@ -51155,7 +51137,7 @@ const scroll = "_scroll_xkoxm_98";
51155
51137
  const table = "_table_xkoxm_109";
51156
51138
  const dragOverlay = "_dragOverlay_xkoxm_145";
51157
51139
  const striped = "_striped_xkoxm_194";
51158
- const styles$b = {
51140
+ const styles$c = {
51159
51141
  inputInTable: inputInTable$2,
51160
51142
  inputHover: inputHover$2,
51161
51143
  inputFocus: inputFocus$2,
@@ -51171,7 +51153,7 @@ const styles$b = {
51171
51153
  striped
51172
51154
  };
51173
51155
  const title$1 = "_title_zn5s7_1";
51174
- const styles$a = {
51156
+ const styles$b = {
51175
51157
  title: title$1
51176
51158
  };
51177
51159
  const Title$1 = ({
@@ -51195,14 +51177,14 @@ const Title$1 = ({
51195
51177
  }
51196
51178
  return /* @__PURE__ */ jsx("div", { children: actionsComponent });
51197
51179
  };
51198
- return /* @__PURE__ */ jsxs("div", { className: styles$a.title, children: [
51180
+ return /* @__PURE__ */ jsxs("div", { className: styles$b.title, children: [
51199
51181
  isNameDefined ? /* @__PURE__ */ jsx(Heading$2, { children: /* @__PURE__ */ jsx("span", { "data-testid": testId, children: name2 }) }) : null,
51200
51182
  actionsContainer()
51201
51183
  ] });
51202
51184
  };
51203
51185
  const footer = "_footer_4sumy_1";
51204
51186
  const section = "_section_4sumy_7";
51205
- const styles$9 = {
51187
+ const styles$a = {
51206
51188
  footer,
51207
51189
  section
51208
51190
  };
@@ -51228,11 +51210,11 @@ const Footer = ({
51228
51210
  return showFooter ? /* @__PURE__ */ jsxs(
51229
51211
  "div",
51230
51212
  {
51231
- className: styles$9.footer,
51213
+ className: styles$a.footer,
51232
51214
  "data-testid": `${testId ?? "pagination"}-footer`,
51233
51215
  children: [
51234
- hasContent ? /* @__PURE__ */ jsx("div", { className: styles$9.section, children: /* @__PURE__ */ jsx("div", { children: content2 }) }) : null,
51235
- 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: [
51236
51218
  hasPagination() ? /* @__PURE__ */ jsx(Pagination, { pagination }) : /* @__PURE__ */ jsx("div", {}),
51237
51219
  hasActions2 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Actions, { actions: actions2 }) })
51238
51220
  ] }) : null
@@ -51267,7 +51249,7 @@ const expandableRow = "_expandableRow_10f34_8";
51267
51249
  const flush = "_flush_10f34_8";
51268
51250
  const dragIconCell = "_dragIconCell_10f34_34";
51269
51251
  const dragIcon = "_dragIcon_10f34_34";
51270
- const styles$8 = {
51252
+ const styles$9 = {
51271
51253
  clickableRow,
51272
51254
  hoverableRow,
51273
51255
  rowActive,
@@ -51285,7 +51267,7 @@ const ExpandedContentRow = ({
51285
51267
  "td",
51286
51268
  {
51287
51269
  colSpan,
51288
- className: cx$2(styles$8.expandableRow, flush2 ? styles$8.flush : ""),
51270
+ className: cx$2(styles$9.expandableRow, flush2 ? styles$9.flush : ""),
51289
51271
  children
51290
51272
  }
51291
51273
  ) });
@@ -51357,7 +51339,7 @@ const centerAligned = "_centerAligned_ie6ng_199";
51357
51339
  const leftAligned = "_leftAligned_ie6ng_205";
51358
51340
  const popover = "_popover_ie6ng_208";
51359
51341
  const disabledPointerEvents = "_disabledPointerEvents_ie6ng_211";
51360
- const styles$7 = {
51342
+ const styles$8 = {
51361
51343
  inputInTable: inputInTable$1,
51362
51344
  inputHover: inputHover$1,
51363
51345
  inputFocus: inputFocus$1,
@@ -51676,8 +51658,8 @@ const InputCellWrapper = ({
51676
51658
  "div",
51677
51659
  {
51678
51660
  className: cx$2(
51679
- styles$7.inputWrapper,
51680
- cell2.type === "NumberInput" ? styles$7.numberInputWrapper : ""
51661
+ styles$8.inputWrapper,
51662
+ cell2.type === "NumberInput" ? styles$8.numberInputWrapper : ""
51681
51663
  ),
51682
51664
  children: cell2.type === "Input" ? /* @__PURE__ */ jsx(
51683
51665
  InputCell,
@@ -51710,7 +51692,7 @@ const LinkCell = ({ cell: cell2, testId }) => {
51710
51692
  const isTooltipEnabled = (text2) => {
51711
51693
  return isStringNumberOrNode(text2);
51712
51694
  };
51713
- return /* @__PURE__ */ jsx("div", { className: styles$7.inputWrapper, children: /* @__PURE__ */ jsx(
51695
+ return /* @__PURE__ */ jsx("div", { className: styles$8.inputWrapper, children: /* @__PURE__ */ jsx(
51714
51696
  Tooltip,
51715
51697
  {
51716
51698
  error: !!error2,
@@ -51718,18 +51700,17 @@ const LinkCell = ({ cell: cell2, testId }) => {
51718
51700
  text: tooltip2 || error2 || warning2,
51719
51701
  enabled: isTooltipEnabled(tooltip2) || isTooltipEnabled(error2) || isTooltipEnabled(warning2) || false,
51720
51702
  maxWidth: maxTooltipWidth,
51721
- placement: "bottom-center",
51722
51703
  children: /* @__PURE__ */ jsx(
51723
51704
  "div",
51724
51705
  {
51725
- className: styles$7.staticCellContent,
51706
+ className: styles$8.staticCellContent,
51726
51707
  "data-error": error2 || null,
51727
51708
  "data-warning": warning2 || null,
51728
51709
  children: /* @__PURE__ */ jsx(
51729
51710
  "a",
51730
51711
  {
51731
51712
  className: cx$2(
51732
- (cell2.disabled || disabledContext) && styles$7.disabledLink
51713
+ (cell2.disabled || disabledContext) && styles$8.disabledLink
51733
51714
  ),
51734
51715
  onClick: cell2.disabled || disabledContext ? void 0 : (evt) => {
51735
51716
  var _a2;
@@ -51760,7 +51741,7 @@ const CheckBoxCell = ({ cell: cell2, testId }) => {
51760
51741
  );
51761
51742
  };
51762
51743
  const SliderCell = ({ cell: cell2 }) => {
51763
- return /* @__PURE__ */ jsx("div", { className: styles$7.inputWrapper, children: /* @__PURE__ */ jsx(
51744
+ return /* @__PURE__ */ jsx("div", { className: styles$8.inputWrapper, children: /* @__PURE__ */ jsx(
51764
51745
  Slider,
51765
51746
  {
51766
51747
  label: cell2.label,
@@ -51779,7 +51760,7 @@ const SliderCell = ({ cell: cell2 }) => {
51779
51760
  };
51780
51761
  const IconCell = ({ cell: cell2 }) => {
51781
51762
  const { tooltip: tooltip2, icon: icon2 } = cell2;
51782
- return /* @__PURE__ */ jsx("div", { className: styles$7.iconCellWrapper, children: /* @__PURE__ */ jsx(
51763
+ return /* @__PURE__ */ jsx("div", { className: styles$8.iconCellWrapper, children: /* @__PURE__ */ jsx(
51783
51764
  Tooltip,
51784
51765
  {
51785
51766
  text: tooltip2,
@@ -51795,11 +51776,11 @@ const ActionsCell = ({ cell: cell2 }) => {
51795
51776
  };
51796
51777
  const CellHelpIcon = ({ cell: cell2 }) => {
51797
51778
  const { helpIcon: helpIcon2 } = cell2;
51798
- 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;
51799
51780
  };
51800
51781
  const CellLibraryIcon = ({ cell: cell2 }) => {
51801
51782
  const { libraryIcon } = cell2;
51802
- 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(
51803
51784
  HelpIcon,
51804
51785
  {
51805
51786
  onClick: libraryIcon.onClick,
@@ -51810,7 +51791,7 @@ const CellLibraryIcon = ({ cell: cell2 }) => {
51810
51791
  };
51811
51792
  const Sort = ({ cell: cell2 }) => {
51812
51793
  const { hasSort, sort: sort2, sortPriority } = cell2;
51813
- return hasSort ? /* @__PURE__ */ jsxs("span", { className: styles$7.sortingCellIcon, children: [
51794
+ return hasSort ? /* @__PURE__ */ jsxs("span", { className: styles$8.sortingCellIcon, children: [
51814
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 }) }),
51815
51796
  sortPriority && sort2 ? /* @__PURE__ */ jsx("sup", { children: sortPriority }) : null
51816
51797
  ] }) : null;
@@ -51821,8 +51802,8 @@ const StaticCell = ({ cell: cell2, isHeader, testId }) => {
51821
51802
  "div",
51822
51803
  {
51823
51804
  className: cx$2(
51824
- styles$7.staticCellContent,
51825
- type === "Unit" ? styles$7.unit : ""
51805
+ styles$8.staticCellContent,
51806
+ type === "Unit" ? styles$8.unit : ""
51826
51807
  ),
51827
51808
  onClick: hasSort ? (evt) => onSort && onSort(evt) : () => {
51828
51809
  },
@@ -51839,7 +51820,7 @@ const StaticCell = ({ cell: cell2, isHeader, testId }) => {
51839
51820
  ]
51840
51821
  }
51841
51822
  );
51842
- return /* @__PURE__ */ jsx("div", { className: styles$7.inputWrapper, children: /* @__PURE__ */ jsx(
51823
+ return /* @__PURE__ */ jsx("div", { className: styles$8.inputWrapper, children: /* @__PURE__ */ jsx(
51843
51824
  Tooltip,
51844
51825
  {
51845
51826
  error: !!error2,
@@ -51848,7 +51829,6 @@ const StaticCell = ({ cell: cell2, isHeader, testId }) => {
51848
51829
  enabled: tooltip2 && isStringNumberOrNode(tooltip2) || error2 && isStringNumberOrNode(error2) || warning2 && isStringNumberOrNode(warning2) || false,
51849
51830
  maxWidth: maxTooltipWidth,
51850
51831
  display: "block",
51851
- placement: "bottom-center",
51852
51832
  children: field2
51853
51833
  }
51854
51834
  ) });
@@ -51862,7 +51842,7 @@ const PopoverCell = ({ cell: cell2, testId }) => {
51862
51842
  fullWidth,
51863
51843
  closeOnOutsideClick,
51864
51844
  disabled: disabled2,
51865
- 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 }) })
51866
51846
  }
51867
51847
  );
51868
51848
  };
@@ -51929,15 +51909,15 @@ const Cell = ({
51929
51909
  headerAlignment: columnHeaderAlignment,
51930
51910
  isHeader
51931
51911
  };
51932
- const cellAlignmentStyle = getCellAlignment(alignment, styles$7);
51933
- const cellAlignmentText = getCellAlignment(alignment, styles$7, true);
51934
- 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;
51935
51915
  const className = cx$2(
51936
- styles$7.cell,
51916
+ styles$8.cell,
51937
51917
  cellTypeClassName,
51938
- cell2.hasSort ? styles$7.sortingCell : null,
51918
+ cell2.hasSort ? styles$8.sortingCell : null,
51939
51919
  cellAlignmentStyle,
51940
- cell2.breakWord ? styles$7.breakWord : ""
51920
+ cell2.breakWord ? styles$8.breakWord : ""
51941
51921
  );
51942
51922
  const width2 = cellWidthProp ?? columnWidthProp ?? void 0;
51943
51923
  const style = { width: width2, minWidth: width2, ...styleProp };
@@ -52039,7 +52019,7 @@ const Row = ({
52039
52019
  if (row2.noDrag) {
52040
52020
  return /* @__PURE__ */ jsx("td", { "aria-labelledby": "unique-label-id" });
52041
52021
  }
52042
- 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 }) }) });
52043
52023
  };
52044
52024
  return isHeader ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
52045
52025
  /* @__PURE__ */ jsxs(
@@ -52050,8 +52030,8 @@ const Row = ({
52050
52030
  onMouseLeave: onRowMouseLeave,
52051
52031
  onFocus: onRowFocus,
52052
52032
  className: cx$2(
52053
- onRowClick ? styles$8.clickableRow : null,
52054
- onRowMouseEnter ? styles$8.hoverableRow : null
52033
+ onRowClick ? styles$9.clickableRow : null,
52034
+ onRowMouseEnter ? styles$9.hoverableRow : null
52055
52035
  ),
52056
52036
  children: [
52057
52037
  draggableTable ? (
@@ -52083,9 +52063,9 @@ const Row = ({
52083
52063
  onMouseLeave: onRowMouseLeave,
52084
52064
  onFocus: onRowFocus,
52085
52065
  className: cx$2(
52086
- onRowClick && !onRowClick.noStyle ? styles$8.clickableRow : null,
52087
- onRowMouseEnter && !onRowMouseEnter.noStyle ? styles$8.hoverableRow : null,
52088
- 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
52089
52069
  ),
52090
52070
  "data-error": error2 || null,
52091
52071
  "data-warning": warning2 || null,
@@ -52125,7 +52105,6 @@ const TableDragWrapper = (props) => {
52125
52105
  tbodyRef
52126
52106
  } = props;
52127
52107
  const [dragIndex, setDragIndex] = useState(null);
52128
- if (!draggable) return children;
52129
52108
  const itemIds = useMemo(
52130
52109
  () => rows.map((_2, index2) => index2.toString()),
52131
52110
  [rows]
@@ -52154,6 +52133,7 @@ const TableDragWrapper = (props) => {
52154
52133
  widths.shift();
52155
52134
  return widths;
52156
52135
  };
52136
+ if (!draggable) return children;
52157
52137
  return /* @__PURE__ */ jsxs(
52158
52138
  DndContext$1,
52159
52139
  {
@@ -52163,7 +52143,7 @@ const TableDragWrapper = (props) => {
52163
52143
  children: [
52164
52144
  /* @__PURE__ */ jsx(SortableContext, { items: itemIds, strategy: verticalListSortingStrategy, children }),
52165
52145
  !!dragIndex && createPortal(
52166
- /* @__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(
52167
52147
  Row,
52168
52148
  {
52169
52149
  rowIndex: Number(dragIndex),
@@ -52187,30 +52167,32 @@ const TableScrollWrapper = ({
52187
52167
  theadRef,
52188
52168
  children
52189
52169
  }) => {
52190
- var _a2, _b;
52170
+ var _a2;
52191
52171
  const { infiniteScroll = false } = table2;
52192
- if (!infiniteScroll) {
52193
- return /* @__PURE__ */ jsx("div", { id: "scrollWrapper", className: styles$b.scroll, children: children({}) });
52194
- }
52195
52172
  const containerRef = useRef(null);
52196
- const MIN_ITEM_HEIGHT = 31;
52197
- const virtualizer = useVirtualizer({
52173
+ const MIN_ITEM_HEIGHT = 30;
52174
+ const BORDER_WIDTH = 1;
52175
+ const virtualizer = infiniteScroll ? useVirtualizer({
52198
52176
  count: ((_a2 = table2.rows) == null ? void 0 : _a2.length) ?? 0,
52199
52177
  getScrollElement: () => containerRef.current,
52200
- estimateSize: () => MIN_ITEM_HEIGHT,
52178
+ estimateSize: () => MIN_ITEM_HEIGHT + BORDER_WIDTH,
52201
52179
  overscan: 10
52202
- });
52203
- const theadHeight = ((_b = theadRef.current) == null ? void 0 : _b.clientHeight) ?? 0;
52204
- const totalHeight = virtualizer.getTotalSize() + theadHeight;
52205
- const items = virtualizer.getVirtualItems();
52206
- const paddingTop = items.length > 0 ? items[0].start : 0;
52207
- const paddingBottom = items.length > 0 ? virtualizer.getTotalSize() - items[items.length - 1].end : 0;
52208
- const tableStyle = {
52209
- "--virtualPaddingTop": paddingTop + "px",
52210
- "--virtualPaddingBottom": paddingBottom + "px",
52211
- 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
+ };
52212
52194
  };
52213
- 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() }) });
52214
52196
  };
52215
52197
  const Table = (props) => {
52216
52198
  var _a2, _b, _c, _d, _e2, _f, _g;
@@ -52279,7 +52261,7 @@ const Table = (props) => {
52279
52261
  ...propTable,
52280
52262
  rows
52281
52263
  };
52282
- const wrapperClass = cx$2(styles$b.wrapper, bordered2 ? styles$b.bordered : "");
52264
+ const wrapperClass = cx$2(styles$c.wrapper, bordered2 ? styles$c.bordered : "");
52283
52265
  const wrapperStyles = {
52284
52266
  maxHeight,
52285
52267
  width: width2,
@@ -52311,7 +52293,7 @@ const Table = (props) => {
52311
52293
  return /* @__PURE__ */ jsxs(
52312
52294
  "table",
52313
52295
  {
52314
- className: cx$2(styles$b.table, striped2 ? styles$b.striped : ""),
52296
+ className: cx$2(styles$c.table, striped2 ? styles$c.striped : ""),
52315
52297
  "data-testid": testId,
52316
52298
  style: tableStyle,
52317
52299
  children: [
@@ -52387,7 +52369,7 @@ const hidden = "_hidden_1y79t_58";
52387
52369
  const disabled$1 = "_disabled_1y79t_61";
52388
52370
  const left$1 = "_left_1y79t_65";
52389
52371
  const right$1 = "_right_1y79t_65";
52390
- const styles$6 = {
52372
+ const styles$7 = {
52391
52373
  tabs,
52392
52374
  padding,
52393
52375
  margin,
@@ -52420,11 +52402,11 @@ const Label = ({
52420
52402
  id: label2 == null ? void 0 : label2.toString(),
52421
52403
  href: url,
52422
52404
  className: cx$2(
52423
- styles$6.item,
52424
- active2 ? styles$6.active : "",
52425
- disabled2 ? styles$6.disabled : "",
52426
- hidden2 && !active2 ? styles$6.hidden : "",
52427
- 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
52428
52410
  ),
52429
52411
  onClick,
52430
52412
  "data-testid": testId,
@@ -52437,7 +52419,7 @@ const Content$1 = ({
52437
52419
  activeTabIndex,
52438
52420
  contentPadding: contentPadding2
52439
52421
  }) => {
52440
- 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;
52441
52423
  };
52442
52424
  const Tabs = ({
52443
52425
  name: name2 = void 0,
@@ -52527,9 +52509,9 @@ const Tabs = ({
52527
52509
  "div",
52528
52510
  {
52529
52511
  className: cx$2(
52530
- styles$6.tabs,
52531
- padding2 ? styles$6.padding : "",
52532
- margin2 ? styles$6.margin : ""
52512
+ styles$7.tabs,
52513
+ padding2 ? styles$7.padding : "",
52514
+ margin2 ? styles$7.margin : ""
52533
52515
  ),
52534
52516
  "data-testid": testId,
52535
52517
  children: tabs2.map(renderTab)
@@ -52577,7 +52559,7 @@ const hideScrollbars = "_hideScrollbars_q0tl0_67";
52577
52559
  const textarea = "_textarea_q0tl0_77";
52578
52560
  const small$1 = "_small_q0tl0_116";
52579
52561
  const monospace = "_monospace_q0tl0_155";
52580
- const styles$5 = {
52562
+ const styles$6 = {
52581
52563
  inputInTable,
52582
52564
  inputHover,
52583
52565
  inputFocus,
@@ -52614,10 +52596,10 @@ const TextArea = ({
52614
52596
  "textarea",
52615
52597
  {
52616
52598
  className: cx$2(
52617
- styles$5.textarea,
52618
- error2 ? styles$5.error : "",
52619
- warning2 ? styles$5.warning : "",
52620
- monospace2 ? styles$5.monospace : ""
52599
+ styles$6.textarea,
52600
+ error2 ? styles$6.error : "",
52601
+ warning2 ? styles$6.warning : "",
52602
+ monospace2 ? styles$6.monospace : ""
52621
52603
  ),
52622
52604
  name: name2,
52623
52605
  value,
@@ -52644,7 +52626,6 @@ const TextArea = ({
52644
52626
  text: tooltip2 || error2 || warning2,
52645
52627
  enabled: tooltip2 && isStringNumberOrNode(tooltip2) || error2 && isStringNumberOrNode(error2) || warning2 && isStringNumberOrNode(warning2) || false,
52646
52628
  maxWidth: maxTooltipWidth,
52647
- placement: "bottom-center",
52648
52629
  children: textarea2
52649
52630
  }
52650
52631
  );
@@ -53742,7 +53723,7 @@ const small = "_small_1mo1i_25";
53742
53723
  const disabled = "_disabled_1mo1i_102";
53743
53724
  const noMargin = "_noMargin_1mo1i_113";
53744
53725
  const helpIconEnabled = "_helpIconEnabled_1mo1i_116";
53745
- const styles$4 = {
53726
+ const styles$5 = {
53746
53727
  toggle: toggle$1,
53747
53728
  small,
53748
53729
  disabled,
@@ -53769,10 +53750,10 @@ const Toggle = ({
53769
53750
  "div",
53770
53751
  {
53771
53752
  className: cx$2(
53772
- styles$4.toggle,
53773
- isDisabled ? styles$4.disabled : null,
53774
- small2 ? styles$4.small : null,
53775
- 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
53776
53757
  ),
53777
53758
  style: { display },
53778
53759
  onClick: (evt) => {
@@ -53798,7 +53779,7 @@ const Toggle = ({
53798
53779
  }
53799
53780
  ),
53800
53781
  /* @__PURE__ */ jsx("label", { children: label2 }),
53801
- 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 }) })
53802
53783
  ]
53803
53784
  }
53804
53785
  );
@@ -53819,7 +53800,7 @@ const button = "_button_oyr59_138";
53819
53800
  const menu = "_menu_oyr59_139";
53820
53801
  const active = "_active_oyr59_168";
53821
53802
  const alert = "_alert_oyr59_193";
53822
- const styles$3 = {
53803
+ const styles$4 = {
53823
53804
  topbar,
53824
53805
  fixed,
53825
53806
  appSwitcher,
@@ -53838,7 +53819,7 @@ const styles$3 = {
53838
53819
  alert
53839
53820
  };
53840
53821
  const Warning = ({ warning: warning2 }) => {
53841
- return /* @__PURE__ */ jsx("div", { className: styles$3.alert, children: warning2 });
53822
+ return /* @__PURE__ */ jsx("div", { className: styles$4.alert, children: warning2 });
53842
53823
  };
53843
53824
  const AppSwitcher = ({
53844
53825
  icon: icon2,
@@ -53846,7 +53827,7 @@ const AppSwitcher = ({
53846
53827
  onClick
53847
53828
  }) => {
53848
53829
  const content2 = /* @__PURE__ */ jsx(Icon, { icon: icon2 });
53849
- 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 });
53850
53831
  };
53851
53832
  const Title = ({
53852
53833
  label: label2,
@@ -53855,12 +53836,12 @@ const Title = ({
53855
53836
  version: version2,
53856
53837
  onClick
53857
53838
  }) => {
53858
- const content2 = /* @__PURE__ */ jsxs("div", { className: styles$3.title, children: [
53859
- logo2 && /* @__PURE__ */ jsx("div", { className: styles$3.logo, children: logo2 }),
53860
- label2 && /* @__PURE__ */ jsx("span", { className: styles$3.label, children: label2 }),
53861
- 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 })
53862
53843
  ] });
53863
- 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 }) });
53864
53845
  };
53865
53846
  var ElementType = /* @__PURE__ */ ((ElementType2) => {
53866
53847
  ElementType2["LINK"] = "Link";
@@ -53889,7 +53870,7 @@ const Link = ({
53889
53870
  return /* @__PURE__ */ jsxs(
53890
53871
  Component2,
53891
53872
  {
53892
- className: cx$2(styles$3.link, active2 ? styles$3.active : ""),
53873
+ className: cx$2(styles$4.link, active2 ? styles$4.active : ""),
53893
53874
  href: url || "#",
53894
53875
  to: url,
53895
53876
  onClick: handleClick2,
@@ -53898,7 +53879,7 @@ const Link = ({
53898
53879
  role: onClick && !url ? "button" : void 0,
53899
53880
  children: [
53900
53881
  icon2,
53901
- /* @__PURE__ */ jsx("span", { className: styles$3.label, children: label2 })
53882
+ /* @__PURE__ */ jsx("span", { className: styles$4.label, children: label2 })
53902
53883
  ]
53903
53884
  }
53904
53885
  );
@@ -53906,7 +53887,7 @@ const Link = ({
53906
53887
  const Element$1 = ({ element }) => {
53907
53888
  switch (element.type) {
53908
53889
  case ElementType.LINK:
53909
- return /* @__PURE__ */ jsx("div", { className: styles$3.item, children: /* @__PURE__ */ jsx(
53890
+ return /* @__PURE__ */ jsx("div", { className: styles$4.item, children: /* @__PURE__ */ jsx(
53910
53891
  Link,
53911
53892
  {
53912
53893
  label: element.label,
@@ -53920,7 +53901,7 @@ const Element$1 = ({ element }) => {
53920
53901
  }
53921
53902
  ) });
53922
53903
  case ElementType.BUTTON:
53923
- 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(
53924
53905
  Button$1,
53925
53906
  {
53926
53907
  label: element.label,
@@ -53933,7 +53914,7 @@ const Element$1 = ({ element }) => {
53933
53914
  }
53934
53915
  ) });
53935
53916
  case ElementType.MENU:
53936
- 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(
53937
53918
  Menu,
53938
53919
  {
53939
53920
  maxHeight: "100%",
@@ -53954,7 +53935,7 @@ const Element$1 = ({ element }) => {
53954
53935
  }
53955
53936
  ) });
53956
53937
  case ElementType.COMPONENT:
53957
- return /* @__PURE__ */ jsx("div", { className: styles$3.item, children: element.component });
53938
+ return /* @__PURE__ */ jsx("div", { className: styles$4.item, children: element.component });
53958
53939
  default:
53959
53940
  return null;
53960
53941
  }
@@ -53973,7 +53954,7 @@ const TopBar = ({
53973
53954
  /* @__PURE__ */ jsxs(
53974
53955
  "div",
53975
53956
  {
53976
- className: cx$2(styles$3.topbar, fixedPosition ? styles$3.fixed : ""),
53957
+ className: cx$2(styles$4.topbar, fixedPosition ? styles$4.fixed : ""),
53977
53958
  style: { height: height2 },
53978
53959
  children: [
53979
53960
  !!appSwitcher2 && /* @__PURE__ */ jsx(
@@ -53984,7 +53965,7 @@ const TopBar = ({
53984
53965
  onClick: appSwitcher2.onClick
53985
53966
  }
53986
53967
  ),
53987
- /* @__PURE__ */ jsxs("div", { className: styles$3.left, children: [
53968
+ /* @__PURE__ */ jsxs("div", { className: styles$4.left, children: [
53988
53969
  title2 && /* @__PURE__ */ jsx(
53989
53970
  Title,
53990
53971
  {
@@ -54002,7 +53983,7 @@ const TopBar = ({
54002
53983
  return null;
54003
53984
  })
54004
53985
  ] }),
54005
- /* @__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) => {
54006
53987
  if (element) {
54007
53988
  return /* @__PURE__ */ jsx(Element$1, { element }, i);
54008
53989
  }
@@ -54016,7 +53997,7 @@ const TopBar = ({
54016
53997
  const popConfirm = "_popConfirm_1x6ye_1";
54017
53998
  const content = "_content_1x6ye_7";
54018
53999
  const buttons = "_buttons_1x6ye_13";
54019
- const styles$2 = {
54000
+ const styles$3 = {
54020
54001
  popConfirm,
54021
54002
  content,
54022
54003
  buttons
@@ -54030,9 +54011,9 @@ const Content = ({
54030
54011
  onClickCancel,
54031
54012
  close: close2,
54032
54013
  testId
54033
- }) => /* @__PURE__ */ jsxs("div", { className: styles$2.popConfirm, children: [
54034
- title2 && /* @__PURE__ */ jsx("div", { className: styles$2.content, children: /* @__PURE__ */ jsx(Text, { small: true, children: title2 }) }),
54035
- /* @__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: [
54036
54017
  /* @__PURE__ */ jsx(
54037
54018
  Button$1,
54038
54019
  {
@@ -65913,7 +65894,7 @@ const dropTarget = "_dropTarget_15yn1_11";
65913
65894
  const draggingSource = "_draggingSource_15yn1_26";
65914
65895
  const placeholderContainer = "_placeholderContainer_15yn1_29";
65915
65896
  const placeholder = "_placeholder_15yn1_29";
65916
- const styles$1 = {
65897
+ const styles$2 = {
65917
65898
  tree,
65918
65899
  toggle,
65919
65900
  dropTarget,
@@ -66001,7 +65982,7 @@ const TreeItem = ({
66001
65982
  isDragOver ? listStyles.noPointerEvents : ""
66002
65983
  ),
66003
65984
  children: [
66004
- hasChild && /* @__PURE__ */ jsx("div", { className: styles$1.toggle, children: /* @__PURE__ */ jsx(
65985
+ hasChild && /* @__PURE__ */ jsx("div", { className: styles$2.toggle, children: /* @__PURE__ */ jsx(
66005
65986
  Button$1,
66006
65987
  {
66007
65988
  basic: true,
@@ -66021,7 +66002,7 @@ const TreeItem = ({
66021
66002
  }
66022
66003
  );
66023
66004
  };
66024
- 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 } });
66025
66006
  const Tree = ({
66026
66007
  list: list2,
66027
66008
  draggable = false,
@@ -66163,10 +66144,10 @@ const Tree = ({
66163
66144
  listComponent: "div",
66164
66145
  listItemComponent: "div",
66165
66146
  classes: {
66166
- root: styles$1.tree,
66167
- draggingSource: styles$1.draggingSource,
66168
- dropTarget: styles$1.dropTarget,
66169
- placeholder: styles$1.placeholderContainer
66147
+ root: styles$2.tree,
66148
+ draggingSource: styles$2.draggingSource,
66149
+ dropTarget: styles$2.dropTarget,
66150
+ placeholder: styles$2.placeholderContainer
66170
66151
  },
66171
66152
  initialOpen: isInitialOpen
66172
66153
  }
@@ -66347,7 +66328,7 @@ const safeRoundNumbers = (value) => {
66347
66328
  };
66348
66329
  const predefinedMenuActive = "_predefinedMenuActive_ye9w9_1";
66349
66330
  const inputWrapper = "_inputWrapper_ye9w9_4";
66350
- const styles = {
66331
+ const styles$1 = {
66351
66332
  predefinedMenuActive,
66352
66333
  inputWrapper
66353
66334
  };
@@ -66599,7 +66580,7 @@ const UnitInput = ({
66599
66580
  return /* @__PURE__ */ jsx(
66600
66581
  "div",
66601
66582
  {
66602
- className: predefinedOptionsMenuState === PredefinedOptionsMenuState.PREDEFINED ? cx$2(styles.predefinedMenuActive) : "",
66583
+ className: predefinedOptionsMenuState === PredefinedOptionsMenuState.PREDEFINED ? cx$2(styles$1.predefinedMenuActive) : "",
66603
66584
  children: /* @__PURE__ */ jsxs(InputGroup, { small: small2, width: width2, children: [
66604
66585
  predefinedOptions && /* @__PURE__ */ jsx(
66605
66586
  Tooltip,
@@ -66630,7 +66611,7 @@ const UnitInput = ({
66630
66611
  )
66631
66612
  }
66632
66613
  ),
66633
- /* @__PURE__ */ jsx("div", { className: styles.inputWrapper, children: /* @__PURE__ */ jsx(
66614
+ /* @__PURE__ */ jsx("div", { className: styles$1.inputWrapper, children: /* @__PURE__ */ jsx(
66634
66615
  NumberInput,
66635
66616
  {
66636
66617
  name: stringName,
@@ -67004,19 +66985,30 @@ const SmartUploadModal = ({
67004
66985
  }
67005
66986
  ) });
67006
66987
  };
66988
+ const settingField = "_settingField_1x02n_1";
66989
+ const styles = {
66990
+ settingField
66991
+ };
67007
66992
  const SettingField = ({
67008
66993
  helpText,
67009
- active: active2 = true,
66994
+ disabled: disabled2 = false,
67010
66995
  children,
67011
66996
  noPermission = false,
67012
66997
  selectedOption,
67013
66998
  handleSelectChange
67014
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
+ };
67015
67007
  const options = [
67016
67008
  { label: "All users", value: "all_users" },
67017
67009
  { label: "Admin only", value: "superusers_admin" }
67018
67010
  ];
67019
- return /* @__PURE__ */ jsxs("div", { children: [
67011
+ return /* @__PURE__ */ jsxs("div", { className: styles.settingField, children: [
67020
67012
  /* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", wrap: false, children: [
67021
67013
  children,
67022
67014
  !noPermission && /* @__PURE__ */ jsx(
@@ -67027,7 +67019,7 @@ const SettingField = ({
67027
67019
  name: "userType",
67028
67020
  options,
67029
67021
  value: selectedOption,
67030
- disabled: !active2,
67022
+ disabled: disabled2,
67031
67023
  onChange: handleSelectChange ? (e2) => handleSelectChange(
67032
67024
  e2.target.value
67033
67025
  ) : void 0,
@@ -67036,7 +67028,7 @@ const SettingField = ({
67036
67028
  }
67037
67029
  )
67038
67030
  ] }),
67039
- /* @__PURE__ */ jsx(Text, { muted: true, children: helpText })
67031
+ helpText && /* @__PURE__ */ jsx(Text, { muted: true, children: renderHelpText(helpText) })
67040
67032
  ] });
67041
67033
  };
67042
67034
  export {