@connectif/ui-components 9.0.3 → 9.0.5

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
@@ -97,7 +97,7 @@ var require_react_is_development = __commonJS({
97
97
  var ContextProvider = REACT_PROVIDER_TYPE;
98
98
  var Element2 = REACT_ELEMENT_TYPE;
99
99
  var ForwardRef2 = REACT_FORWARD_REF_TYPE;
100
- var Fragment45 = REACT_FRAGMENT_TYPE;
100
+ var Fragment46 = REACT_FRAGMENT_TYPE;
101
101
  var Lazy = REACT_LAZY_TYPE;
102
102
  var Memo2 = REACT_MEMO_TYPE;
103
103
  var Portal = REACT_PORTAL_TYPE;
@@ -156,7 +156,7 @@ var require_react_is_development = __commonJS({
156
156
  exports.ContextProvider = ContextProvider;
157
157
  exports.Element = Element2;
158
158
  exports.ForwardRef = ForwardRef2;
159
- exports.Fragment = Fragment45;
159
+ exports.Fragment = Fragment46;
160
160
  exports.Lazy = Lazy;
161
161
  exports.Memo = Memo2;
162
162
  exports.Portal = Portal;
@@ -9174,7 +9174,7 @@ function escapeRegExp(source) {
9174
9174
  var TextMarker_default = TextMarker;
9175
9175
 
9176
9176
  // src/components/layout/Stepper.tsx
9177
- import { jsx as jsx27, jsxs as jsxs11 } from "react/jsx-runtime";
9177
+ import { Fragment as Fragment4, jsx as jsx27, jsxs as jsxs11 } from "react/jsx-runtime";
9178
9178
  var Stepper = React14.forwardRef(function Stepper2({ activeStep, orientation = "vertical", steps }, ref) {
9179
9179
  const containerRef = React14.useRef(null);
9180
9180
  React14.useEffect(() => {
@@ -9230,7 +9230,7 @@ var Stepper = React14.forwardRef(function Stepper2({ activeStep, orientation = "
9230
9230
  }
9231
9231
  );
9232
9232
  };
9233
- const getDescription = (step, index) => /* @__PURE__ */ jsxs11(
9233
+ const getDescription = (step, index) => !step.placeholder && !step.description && !step.descriptionNode ? /* @__PURE__ */ jsx27(Fragment4, {}) : /* @__PURE__ */ jsxs11(
9234
9234
  Box_default2,
9235
9235
  {
9236
9236
  style: {
@@ -9502,7 +9502,7 @@ var TooltipMenu_default = TooltipMenu;
9502
9502
 
9503
9503
  // src/components/tooltip/TextEllipsis.tsx
9504
9504
  import * as React17 from "react";
9505
- import { Fragment as Fragment4, jsx as jsx32 } from "react/jsx-runtime";
9505
+ import { Fragment as Fragment5, jsx as jsx32 } from "react/jsx-runtime";
9506
9506
  var TextEllipsis = ({
9507
9507
  text,
9508
9508
  typographyVariant,
@@ -9545,7 +9545,7 @@ var TextEllipsis = ({
9545
9545
  children: text || "\xA0"
9546
9546
  }
9547
9547
  );
9548
- return /* @__PURE__ */ jsx32(Fragment4, { children: !disableTooltip ? /* @__PURE__ */ jsx32(
9548
+ return /* @__PURE__ */ jsx32(Fragment5, { children: !disableTooltip ? /* @__PURE__ */ jsx32(
9549
9549
  TextEllipsisTooltip_default,
9550
9550
  {
9551
9551
  title: text ?? "\xA0",
@@ -9627,7 +9627,7 @@ var AvatarCard_default = AvatarCard;
9627
9627
  // src/components/button/MenuIconButton.tsx
9628
9628
  import * as React19 from "react";
9629
9629
  import MuiMenu from "@mui/material/Menu";
9630
- import { Fragment as Fragment5, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
9630
+ import { Fragment as Fragment6, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
9631
9631
  var MenuIconButton = React19.forwardRef(function MenuIconButton2({
9632
9632
  children,
9633
9633
  isOpen: managedIsOpen,
@@ -9672,7 +9672,7 @@ var MenuIconButton = React19.forwardRef(function MenuIconButton2({
9672
9672
  setAnchorEl(element);
9673
9673
  };
9674
9674
  const isOpen = typeof managedIsOpen === "boolean" ? managedIsOpen : internalIsOpen;
9675
- return /* @__PURE__ */ jsxs13(Fragment5, { children: [
9675
+ return /* @__PURE__ */ jsxs13(Fragment6, { children: [
9676
9676
  /* @__PURE__ */ jsx34(
9677
9677
  IconButton_default,
9678
9678
  {
@@ -10410,7 +10410,7 @@ var ButtonWithActions_default = ButtonWithActions;
10410
10410
  // src/components/button/MenuButton.tsx
10411
10411
  import * as React24 from "react";
10412
10412
  import MuiMenu3 from "@mui/material/Menu";
10413
- import { Fragment as Fragment6, jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
10413
+ import { Fragment as Fragment7, jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
10414
10414
  var MenuButton = React24.forwardRef(function MenuButton2({
10415
10415
  children,
10416
10416
  isOpen: managedIsOpen,
@@ -10455,7 +10455,7 @@ var MenuButton = React24.forwardRef(function MenuButton2({
10455
10455
  setAnchorEl(element);
10456
10456
  };
10457
10457
  const isOpen = typeof managedIsOpen === "boolean" ? managedIsOpen : internalIsOpen;
10458
- return /* @__PURE__ */ jsxs18(Fragment6, { children: [
10458
+ return /* @__PURE__ */ jsxs18(Fragment7, { children: [
10459
10459
  /* @__PURE__ */ jsx43(
10460
10460
  Button_default,
10461
10461
  {
@@ -11298,7 +11298,7 @@ var ChipList_default = ChipList;
11298
11298
  // src/components/chip/MenuChip.tsx
11299
11299
  import * as React29 from "react";
11300
11300
  import MuiMenu4 from "@mui/material/Menu";
11301
- import { Fragment as Fragment7, jsx as jsx57, jsxs as jsxs22 } from "react/jsx-runtime";
11301
+ import { Fragment as Fragment8, jsx as jsx57, jsxs as jsxs22 } from "react/jsx-runtime";
11302
11302
  var MenuChip = React29.forwardRef(function MenuChip2({
11303
11303
  children,
11304
11304
  isOpen: managedIsOpen,
@@ -11340,7 +11340,7 @@ var MenuChip = React29.forwardRef(function MenuChip2({
11340
11340
  setAnchorEl(element);
11341
11341
  };
11342
11342
  const isOpen = typeof managedIsOpen === "boolean" ? managedIsOpen : internalIsOpen;
11343
- return /* @__PURE__ */ jsxs22(Fragment7, { children: [
11343
+ return /* @__PURE__ */ jsxs22(Fragment8, { children: [
11344
11344
  /* @__PURE__ */ jsx57(
11345
11345
  Chip_default,
11346
11346
  {
@@ -11536,7 +11536,7 @@ var GlobalStyles_default = globalStyles;
11536
11536
  // src/components/chip/ChipHiddenCounter.tsx
11537
11537
  import * as React30 from "react";
11538
11538
  import { Popper } from "@mui/material";
11539
- import { Fragment as Fragment8, jsx as jsx58, jsxs as jsxs23 } from "react/jsx-runtime";
11539
+ import { Fragment as Fragment9, jsx as jsx58, jsxs as jsxs23 } from "react/jsx-runtime";
11540
11540
  var TOOLTIP_DATA_TEST_ID = "chip-container-tooltip";
11541
11541
  var COUNTER_LABEL_DATA_TEST_ID = "chip-counter-label";
11542
11542
  var MAX_TOOLTIP_WIDTH = 362;
@@ -11570,7 +11570,7 @@ var ChipHiddenCounter = ({
11570
11570
  const alertButtonWidth = !warningTooltip ? 0 : WIDTH_ALERT_BUTTON;
11571
11571
  return !isDeletable ? `${MAX_TOOLTIP_WIDTH - alertButtonWidth}px` : `${MAX_TOOLTIP_WIDTH - WIDTH_DELETABLE_BUTTON - alertButtonWidth}px`;
11572
11572
  };
11573
- return /* @__PURE__ */ jsx58(Fragment8, { children: hiddenChips.length > 0 && /* @__PURE__ */ jsxs23(Fragment8, { children: [
11573
+ return /* @__PURE__ */ jsx58(Fragment9, { children: hiddenChips.length > 0 && /* @__PURE__ */ jsxs23(Fragment9, { children: [
11574
11574
  /* @__PURE__ */ jsx58(
11575
11575
  Box_default2,
11576
11576
  {
@@ -12139,7 +12139,7 @@ var CardTable_default = CardTable;
12139
12139
  // src/components/card/EnhancedCard.tsx
12140
12140
  import { Stack as Stack5 } from "@mui/material";
12141
12141
  import * as React32 from "react";
12142
- import { Fragment as Fragment9, jsx as jsx65, jsxs as jsxs26 } from "react/jsx-runtime";
12142
+ import { Fragment as Fragment10, jsx as jsx65, jsxs as jsxs26 } from "react/jsx-runtime";
12143
12143
  var cardWidthBySize = {
12144
12144
  S: 110,
12145
12145
  M: 110,
@@ -12500,7 +12500,7 @@ var EnhancedCard = React32.forwardRef(
12500
12500
  )
12501
12501
  }
12502
12502
  ),
12503
- isHovered && hoverComponent && /* @__PURE__ */ jsxs26(Fragment9, { children: [
12503
+ isHovered && hoverComponent && /* @__PURE__ */ jsxs26(Fragment10, { children: [
12504
12504
  /* @__PURE__ */ jsx65(
12505
12505
  Box_default2,
12506
12506
  {
@@ -12698,7 +12698,7 @@ var incrementLabelStyles = {
12698
12698
  };
12699
12699
 
12700
12700
  // src/utils/ChartUtils.tsx
12701
- import { Fragment as Fragment11, jsx as jsx68, jsxs as jsxs28 } from "react/jsx-runtime";
12701
+ import { Fragment as Fragment12, jsx as jsx68, jsxs as jsxs28 } from "react/jsx-runtime";
12702
12702
  function useTooltipFormatter(chartTooltipEntryFormatter = ({
12703
12703
  seriesName,
12704
12704
  value
@@ -12716,7 +12716,7 @@ function useTooltipFormatter(chartTooltipEntryFormatter = ({
12716
12716
  return tooltipOrder;
12717
12717
  };
12718
12718
  params.sort((a, b) => getOrder(a) - getOrder(b));
12719
- const tooltip = /* @__PURE__ */ jsxs28(Fragment11, { children: [
12719
+ const tooltip = /* @__PURE__ */ jsxs28(Fragment12, { children: [
12720
12720
  !getTooltip && /* @__PURE__ */ jsx68(Typography_default, { variant: "tooltip", children: params[0].name }),
12721
12721
  params.map((p) => {
12722
12722
  const entry = chartTooltipEntryFormatter({
@@ -13317,7 +13317,7 @@ var LineChart2 = ({
13317
13317
  },
13318
13318
  {
13319
13319
  type: "value",
13320
- position: "right",
13320
+ position: "left",
13321
13321
  splitLine: {
13322
13322
  show: false
13323
13323
  },
@@ -13737,7 +13737,7 @@ var DonutChartLegendItem_default = DonutChartLegendItem;
13737
13737
 
13738
13738
  // src/components/chart/DonutChart.tsx
13739
13739
  import { alpha as alpha4 } from "@mui/material/styles";
13740
- import { Fragment as Fragment14, jsx as jsx75, jsxs as jsxs33 } from "react/jsx-runtime";
13740
+ import { Fragment as Fragment15, jsx as jsx75, jsxs as jsxs33 } from "react/jsx-runtime";
13741
13741
  var DonutChart = ({
13742
13742
  style: style3,
13743
13743
  isLoading,
@@ -13903,7 +13903,7 @@ var DonutChart = ({
13903
13903
  flexDirection: "column",
13904
13904
  ...style3
13905
13905
  },
13906
- children: isLoading ? /* @__PURE__ */ jsx75(Skeleton_default, { variant: "rectangular", height: "100%", width: "100%" }) : /* @__PURE__ */ jsxs33(Fragment14, { children: [
13906
+ children: isLoading ? /* @__PURE__ */ jsx75(Skeleton_default, { variant: "rectangular", height: "100%", width: "100%" }) : /* @__PURE__ */ jsxs33(Fragment15, { children: [
13907
13907
  /* @__PURE__ */ jsxs33(Box_default2, { sx: { flexGrow: 1, position: "relative" }, children: [
13908
13908
  showIcon && /* @__PURE__ */ jsx75(
13909
13909
  Icon_default,
@@ -16383,7 +16383,7 @@ var useTranslation = () => {
16383
16383
  import {
16384
16384
  Dialog as MuiDialog
16385
16385
  } from "@mui/material";
16386
- import { Fragment as Fragment16, jsx as jsx83, jsxs as jsxs39 } from "react/jsx-runtime";
16386
+ import { Fragment as Fragment17, jsx as jsx83, jsxs as jsxs39 } from "react/jsx-runtime";
16387
16387
  var sizes5 = {
16388
16388
  S: "480px",
16389
16389
  M: "640px",
@@ -16406,7 +16406,7 @@ var Dialog = ({
16406
16406
  ...rest
16407
16407
  }) => {
16408
16408
  const { palette: palette2 } = useCustomTheme();
16409
- const getDialogContent = () => /* @__PURE__ */ jsxs39(Fragment16, { children: [
16409
+ const getDialogContent = () => /* @__PURE__ */ jsxs39(Fragment17, { children: [
16410
16410
  /* @__PURE__ */ jsxs39(
16411
16411
  Stack_default,
16412
16412
  {
@@ -18527,23 +18527,23 @@ function formatPhone(phone, format2) {
18527
18527
  }
18528
18528
 
18529
18529
  // src/components/formatter/CompactNumberFormatter.tsx
18530
- import { Fragment as Fragment17, jsx as jsx87 } from "react/jsx-runtime";
18530
+ import { Fragment as Fragment18, jsx as jsx87 } from "react/jsx-runtime";
18531
18531
  var CompactNumberFormatter = ({ value }) => {
18532
18532
  const { locale } = React40.useContext(IntlContext);
18533
- return /* @__PURE__ */ jsx87(Fragment17, { children: formatCompactNumber(value, locale) });
18533
+ return /* @__PURE__ */ jsx87(Fragment18, { children: formatCompactNumber(value, locale) });
18534
18534
  };
18535
18535
  var CompactNumberFormatter_default = CompactNumberFormatter;
18536
18536
 
18537
18537
  // src/components/formatter/CurrencyFormatter.tsx
18538
18538
  import * as React41 from "react";
18539
- import { Fragment as Fragment18, jsx as jsx88 } from "react/jsx-runtime";
18539
+ import { Fragment as Fragment19, jsx as jsx88 } from "react/jsx-runtime";
18540
18540
  var CurrencyFormatter = ({
18541
18541
  value,
18542
18542
  notation,
18543
18543
  currency
18544
18544
  }) => {
18545
18545
  const { locale, currency: contextCurrency } = React41.useContext(IntlContext);
18546
- return /* @__PURE__ */ jsx88(Fragment18, { children: formatCurrency(
18546
+ return /* @__PURE__ */ jsx88(Fragment19, { children: formatCurrency(
18547
18547
  value,
18548
18548
  locale,
18549
18549
  currency ?? contextCurrency,
@@ -18554,37 +18554,37 @@ var CurrencyFormatter_default = CurrencyFormatter;
18554
18554
 
18555
18555
  // src/components/formatter/NumberFormatter.tsx
18556
18556
  import * as React42 from "react";
18557
- import { Fragment as Fragment19, jsx as jsx89 } from "react/jsx-runtime";
18557
+ import { Fragment as Fragment20, jsx as jsx89 } from "react/jsx-runtime";
18558
18558
  var NumberFormatter = ({ value, fractionSize }) => {
18559
18559
  const { locale } = React42.useContext(IntlContext);
18560
- return /* @__PURE__ */ jsx89(Fragment19, { children: formatNumber(value, locale, fractionSize) });
18560
+ return /* @__PURE__ */ jsx89(Fragment20, { children: formatNumber(value, locale, fractionSize) });
18561
18561
  };
18562
18562
  var NumberFormatter_default = NumberFormatter;
18563
18563
 
18564
18564
  // src/components/formatter/PercentageFormatter.tsx
18565
18565
  import * as React43 from "react";
18566
- import { Fragment as Fragment20, jsx as jsx90 } from "react/jsx-runtime";
18566
+ import { Fragment as Fragment21, jsx as jsx90 } from "react/jsx-runtime";
18567
18567
  var PercentageFormatter = ({
18568
18568
  value,
18569
18569
  fractionSize
18570
18570
  }) => {
18571
18571
  const { locale } = React43.useContext(IntlContext);
18572
- return /* @__PURE__ */ jsx90(Fragment20, { children: formatPercentage(value, locale, fractionSize) });
18572
+ return /* @__PURE__ */ jsx90(Fragment21, { children: formatPercentage(value, locale, fractionSize) });
18573
18573
  };
18574
18574
  var PercentageFormatter_default = PercentageFormatter;
18575
18575
 
18576
18576
  // src/components/formatter/DateFormatter.tsx
18577
18577
  import * as React44 from "react";
18578
- import { Fragment as Fragment21, jsx as jsx91 } from "react/jsx-runtime";
18578
+ import { Fragment as Fragment22, jsx as jsx91 } from "react/jsx-runtime";
18579
18579
  var DateFormatter = ({ date, format: format2 }) => {
18580
18580
  const { locale, timezone } = React44.useContext(IntlContext);
18581
- return /* @__PURE__ */ jsx91(Fragment21, { children: formatDate(date, locale, timezone, format2) });
18581
+ return /* @__PURE__ */ jsx91(Fragment22, { children: formatDate(date, locale, timezone, format2) });
18582
18582
  };
18583
18583
  var DateFormatter_default = DateFormatter;
18584
18584
 
18585
18585
  // src/components/formatter/PhoneFormatter.tsx
18586
- import { Fragment as Fragment22, jsx as jsx92 } from "react/jsx-runtime";
18587
- var PhoneFormatter = ({ phone, format: format2 }) => /* @__PURE__ */ jsx92(Fragment22, { children: formatPhone(phone, format2) });
18586
+ import { Fragment as Fragment23, jsx as jsx92 } from "react/jsx-runtime";
18587
+ var PhoneFormatter = ({ phone, format: format2 }) => /* @__PURE__ */ jsx92(Fragment23, { children: formatPhone(phone, format2) });
18588
18588
  var PhoneFormatter_default = PhoneFormatter;
18589
18589
 
18590
18590
  // src/components/header/HeaderTitle.tsx
@@ -19343,7 +19343,7 @@ function useDebouncedCallback(callback, wait) {
19343
19343
  }
19344
19344
 
19345
19345
  // src/components/input/DebouncedTextField.tsx
19346
- import { useEffect as useEffect12, useState as useState17 } from "react";
19346
+ import { useEffect as useEffect13, useState as useState18 } from "react";
19347
19347
 
19348
19348
  // src/components/input/TextField.tsx
19349
19349
  import * as React52 from "react";
@@ -19355,23 +19355,49 @@ import { styled as styled4 } from "@mui/material";
19355
19355
  import { jsx as jsx99, jsxs as jsxs44 } from "react/jsx-runtime";
19356
19356
  var getSeverityColor = ({ palette: palette2 }, severity) => severity === "error" ? palette2.error.main : palette2.grey[900];
19357
19357
  var StyledLabel = styled4("label", {
19358
- shouldForwardProp: (prop) => prop !== "severity"
19358
+ shouldForwardProp: (prop) => prop !== "severity" && prop !== "focused"
19359
19359
  })(
19360
- ({ severity, theme: theme2 }) => theme2.unstable_sx({
19360
+ ({ severity, focused, theme: theme2 }) => theme2.unstable_sx({
19361
19361
  display: "block",
19362
19362
  padding: "4px 0",
19363
19363
  ...variants["caption"],
19364
- color: getSeverityColor(theme2, severity)
19364
+ color: focused && severity !== "error" ? theme2.palette.primary.main : getSeverityColor(theme2, severity)
19365
19365
  })
19366
19366
  );
19367
19367
  var InputLabel = React50.forwardRef(
19368
- function InputLabel2({ htmlFor, sx, children, severity = "info", infoText }, ref) {
19368
+ function InputLabel2({
19369
+ htmlFor,
19370
+ sx,
19371
+ children,
19372
+ severity = "info",
19373
+ infoText,
19374
+ focused: focusedProp,
19375
+ onClick
19376
+ }, ref) {
19377
+ const [internalFocused, setInternalFocused] = React50.useState(false);
19378
+ const focused = focusedProp ?? internalFocused;
19379
+ React50.useEffect(() => {
19380
+ const input = htmlFor ? document.getElementById(htmlFor) : null;
19381
+ if (!input) {
19382
+ return;
19383
+ }
19384
+ const handleFocus = () => setInternalFocused(true);
19385
+ const handleBlur = () => setInternalFocused(false);
19386
+ input.addEventListener("focus", handleFocus);
19387
+ input.addEventListener("blur", handleBlur);
19388
+ return () => {
19389
+ input.removeEventListener("focus", handleFocus);
19390
+ input.removeEventListener("blur", handleBlur);
19391
+ };
19392
+ }, [htmlFor]);
19369
19393
  return /* @__PURE__ */ jsxs44(
19370
19394
  StyledLabel,
19371
19395
  {
19372
19396
  htmlFor,
19373
19397
  sx,
19374
19398
  severity,
19399
+ focused,
19400
+ onClick,
19375
19401
  ref,
19376
19402
  children: [
19377
19403
  children,
@@ -19416,7 +19442,7 @@ var InputHelperText = React51.forwardRef(
19416
19442
  var InputHelperText_default = InputHelperText;
19417
19443
 
19418
19444
  // src/components/input/TextField.tsx
19419
- import { Fragment as Fragment23, jsx as jsx101, jsxs as jsxs45 } from "react/jsx-runtime";
19445
+ import { Fragment as Fragment24, jsx as jsx101, jsxs as jsxs45 } from "react/jsx-runtime";
19420
19446
  var commonInputStylesOptions = {
19421
19447
  shouldForwardProp: (prop) => prop !== "variant" && prop !== "typographyVariant"
19422
19448
  };
@@ -19678,7 +19704,7 @@ var TextField = React52.forwardRef(function TextField2({
19678
19704
  ]
19679
19705
  }
19680
19706
  );
19681
- return /* @__PURE__ */ jsxs45(Fragment23, { children: [
19707
+ return /* @__PURE__ */ jsxs45(Fragment24, { children: [
19682
19708
  label && /* @__PURE__ */ jsx101(
19683
19709
  InputLabel_default,
19684
19710
  {
@@ -19749,7 +19775,7 @@ var TextField_default = TextField;
19749
19775
  // src/components/input/DebouncedTextField.tsx
19750
19776
  import { jsx as jsx102 } from "react/jsx-runtime";
19751
19777
  var DebouncedTextField = React53.forwardRef(function DebouncedTextField2({ value, onChange, debounce = 100, ...rest }, ref) {
19752
- const [text, setText] = useState17(value ?? "");
19778
+ const [text, setText] = useState18(value ?? "");
19753
19779
  const expectedChangeRef = React53.useRef(void 0);
19754
19780
  const onChangeDebounced = useDebouncedCallback(
19755
19781
  (e) => {
@@ -19760,7 +19786,7 @@ var DebouncedTextField = React53.forwardRef(function DebouncedTextField2({ value
19760
19786
  },
19761
19787
  debounce
19762
19788
  );
19763
- useEffect12(() => {
19789
+ useEffect13(() => {
19764
19790
  if (expectedChangeRef.current === value) {
19765
19791
  expectedChangeRef.current = void 0;
19766
19792
  } else {
@@ -20573,7 +20599,7 @@ var DateIntervalPickerInputs = ({
20573
20599
  var DateIntervalPickerInputs_default = DateIntervalPickerInputs;
20574
20600
 
20575
20601
  // src/components/input/date-interval-picker/DateIntervalRangeSelector.tsx
20576
- import { Fragment as Fragment24, jsx as jsx112, jsxs as jsxs51 } from "react/jsx-runtime";
20602
+ import { Fragment as Fragment25, jsx as jsx112, jsxs as jsxs51 } from "react/jsx-runtime";
20577
20603
  var DateIntervalRangeSelector = ({
20578
20604
  state,
20579
20605
  color: color2,
@@ -20915,7 +20941,7 @@ var DateIntervalRangeSelector = ({
20915
20941
  }
20916
20942
  return newState;
20917
20943
  };
20918
- return /* @__PURE__ */ jsxs51(Fragment24, { children: [
20944
+ return /* @__PURE__ */ jsxs51(Fragment25, { children: [
20919
20945
  /* @__PURE__ */ jsx112(
20920
20946
  Box_default2,
20921
20947
  {
@@ -21791,7 +21817,7 @@ var DateRangePicker_default = DateRangePicker;
21791
21817
  // src/components/input/SelectPopoverItem.tsx
21792
21818
  import { Grid as Grid2, Stack as Stack9 } from "@mui/material";
21793
21819
  import { lighten as lighten3 } from "@mui/material";
21794
- import { Fragment as Fragment25, jsx as jsx119, jsxs as jsxs57 } from "react/jsx-runtime";
21820
+ import { Fragment as Fragment26, jsx as jsx119, jsxs as jsxs57 } from "react/jsx-runtime";
21795
21821
  var bgColorLightCoefficient2 = 0.9;
21796
21822
  var SelectPopoverItem = ({
21797
21823
  onClick,
@@ -21837,7 +21863,7 @@ var SelectPopoverItem = ({
21837
21863
  },
21838
21864
  onClick: () => !disabled && typeof onClick === "function" && onClick(),
21839
21865
  children: [
21840
- !selectableItemComponent && /* @__PURE__ */ jsxs57(Fragment25, { children: [
21866
+ !selectableItemComponent && /* @__PURE__ */ jsxs57(Fragment26, { children: [
21841
21867
  /* @__PURE__ */ jsxs57(
21842
21868
  Box_default2,
21843
21869
  {
@@ -21857,7 +21883,7 @@ var SelectPopoverItem = ({
21857
21883
  cursor: disabled ? "default" : "pointer"
21858
21884
  },
21859
21885
  typographyVariant: "body1",
21860
- text: /* @__PURE__ */ jsxs57(Fragment25, { children: [
21886
+ text: /* @__PURE__ */ jsxs57(Fragment26, { children: [
21861
21887
  iconId && /* @__PURE__ */ jsx119(
21862
21888
  Icon_default,
21863
21889
  {
@@ -22518,7 +22544,7 @@ var DaysOfWeekPicker_default = DaysOfWeekPicker;
22518
22544
  // src/components/input/ColorPicker.tsx
22519
22545
  import * as React67 from "react";
22520
22546
  import GradientColorPicker from "react-best-gradient-color-picker";
22521
- import { Fragment as Fragment26, jsx as jsx123, jsxs as jsxs58 } from "react/jsx-runtime";
22547
+ import { Fragment as Fragment27, jsx as jsx123, jsxs as jsxs58 } from "react/jsx-runtime";
22522
22548
  var colorRegex = /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$|^rgba?\((\d{1,3}), {0,1}(\d{1,3}), {0,1}(\d{1,3})(, {0,1}([01]|0?\.\d+))?\)$/;
22523
22549
  var isValidColor = (color2) => colorRegex.test(color2);
22524
22550
  var colorPickerDefaultColors = [
@@ -22552,6 +22578,7 @@ var ColorPicker = React67.forwardRef(function ColorPickerWrapper({
22552
22578
  popoverZIndex,
22553
22579
  inputWidthStyle = "150px",
22554
22580
  mode = "auto",
22581
+ disabled = false,
22555
22582
  onChange
22556
22583
  }, ref) {
22557
22584
  const { t } = useTranslation();
@@ -22584,6 +22611,7 @@ var ColorPicker = React67.forwardRef(function ColorPickerWrapper({
22584
22611
  {
22585
22612
  iconId: value ? "color-square" : "transparent",
22586
22613
  size: "M",
22614
+ disabled,
22587
22615
  onClick: (event) => {
22588
22616
  setAnchorEl(event.currentTarget);
22589
22617
  },
@@ -22626,6 +22654,11 @@ var ColorPicker = React67.forwardRef(function ColorPickerWrapper({
22626
22654
  );
22627
22655
  }
22628
22656
  }, [value, internalPickerValue, colorChangeOccurred, allowEmpty, mode]);
22657
+ React67.useEffect(() => {
22658
+ if (disabled) {
22659
+ setAnchorEl(void 0);
22660
+ }
22661
+ }, [disabled]);
22629
22662
  React67.useEffect(() => {
22630
22663
  if (anchorEl) {
22631
22664
  const handleFocus = () => {
@@ -22657,20 +22690,20 @@ var ColorPicker = React67.forwardRef(function ColorPickerWrapper({
22657
22690
  };
22658
22691
  }
22659
22692
  }, [anchorEl]);
22660
- return /* @__PURE__ */ jsxs58(Fragment26, { children: [
22693
+ return /* @__PURE__ */ jsxs58(Fragment27, { children: [
22661
22694
  /* @__PURE__ */ jsx123(
22662
22695
  TextField_default,
22663
22696
  {
22664
22697
  value: textFieldValue,
22665
22698
  label,
22699
+ disabled,
22666
22700
  sx: {
22667
22701
  width: inputWidthStyle,
22668
22702
  height: "36px !important"
22669
22703
  },
22670
22704
  inputSx: {
22671
22705
  fontFamily: "Source Sans Pro, sans-serif",
22672
- fontWeight: "400",
22673
- color: grey900
22706
+ fontWeight: "400"
22674
22707
  },
22675
22708
  placeholder: t("COLOR_PICKER.VALUE_NOT_DEFINED"),
22676
22709
  onChange: handleTextFieldChange,
@@ -23046,7 +23079,7 @@ var CategorizedPickerGroupItem = function CategorizedPickerGroupItem2({
23046
23079
  var CategorizedPickerGroupItem_default = CategorizedPickerGroupItem;
23047
23080
 
23048
23081
  // src/components/input/categorized-picker/CategorizedPickerItem.tsx
23049
- import { Fragment as Fragment27, jsx as jsx128, jsxs as jsxs60 } from "react/jsx-runtime";
23082
+ import { Fragment as Fragment28, jsx as jsx128, jsxs as jsxs60 } from "react/jsx-runtime";
23050
23083
  var CategorizedPickerItem = function CategorizedPickerItem2({
23051
23084
  option,
23052
23085
  selectedId,
@@ -23064,7 +23097,7 @@ var CategorizedPickerItem = function CategorizedPickerItem2({
23064
23097
  behavior: "smooth"
23065
23098
  });
23066
23099
  };
23067
- return /* @__PURE__ */ jsxs60(Fragment27, { children: [
23100
+ return /* @__PURE__ */ jsxs60(Fragment28, { children: [
23068
23101
  option.categorizedPickerItemType === "option" && /* @__PURE__ */ jsx128(
23069
23102
  CategorizedPickerOptionItem_default,
23070
23103
  {
@@ -23104,18 +23137,18 @@ var CategorizedPickerItem_default = CategorizedPickerItem;
23104
23137
 
23105
23138
  // src/components/input/categorized-picker/CategorizedPickerEmptyCategoryPanel.tsx
23106
23139
  import { Stack as Stack10 } from "@mui/material";
23107
- import { Fragment as Fragment28, jsx as jsx129 } from "react/jsx-runtime";
23140
+ import { Fragment as Fragment29, jsx as jsx129 } from "react/jsx-runtime";
23108
23141
  var CategorizedPickerEmptyCategoryPanel = function CategorizedPickerEmptyCategoryPanel2({
23109
23142
  selectedCategory,
23110
23143
  isEmptyCategories
23111
23144
  }) {
23112
23145
  const { t } = useTranslation();
23113
- return /* @__PURE__ */ jsx129(Fragment28, { children: !selectedCategory?.emptyData ? /* @__PURE__ */ jsx129(Stack10, { padding: "12px", alignItems: "center", children: /* @__PURE__ */ jsx129(Typography_default, { variant: "body2", color: grey600, children: isEmptyCategories ? t("CATEGORIZED_PICKER.NO_RESULTS") : t("CATEGORIZED_PICKER.NO_OPTIONS") }) }) : selectedCategory.emptyData });
23146
+ return /* @__PURE__ */ jsx129(Fragment29, { children: !selectedCategory?.emptyData ? /* @__PURE__ */ jsx129(Stack10, { padding: "12px", alignItems: "center", children: /* @__PURE__ */ jsx129(Typography_default, { variant: "body2", color: grey600, children: isEmptyCategories ? t("CATEGORIZED_PICKER.NO_RESULTS") : t("CATEGORIZED_PICKER.NO_OPTIONS") }) }) : selectedCategory.emptyData });
23114
23147
  };
23115
23148
  var CategorizedPickerEmptyCategoryPanel_default = CategorizedPickerEmptyCategoryPanel;
23116
23149
 
23117
23150
  // src/components/input/categorized-picker/CategorizedPickerCategoryPanel.tsx
23118
- import { Fragment as Fragment29, jsx as jsx130 } from "react/jsx-runtime";
23151
+ import { Fragment as Fragment30, jsx as jsx130 } from "react/jsx-runtime";
23119
23152
  var CategorizedPickerCategoryPanel = function CategorizedPickerCategoryPanel2({
23120
23153
  value,
23121
23154
  selectedCategory,
@@ -23202,7 +23235,7 @@ var CategorizedPickerCategoryPanel = function CategorizedPickerCategoryPanel2({
23202
23235
  result.push(...getGroups(withGroup));
23203
23236
  return result;
23204
23237
  };
23205
- return /* @__PURE__ */ jsx130(Fragment29, { children: !selectedCategory || !categoryOptions?.length ? /* @__PURE__ */ jsx130(
23238
+ return /* @__PURE__ */ jsx130(Fragment30, { children: !selectedCategory || !categoryOptions?.length ? /* @__PURE__ */ jsx130(
23206
23239
  CategorizedPickerEmptyCategoryPanel_default,
23207
23240
  {
23208
23241
  selectedCategory,
@@ -23234,7 +23267,7 @@ function orderOptions(a, b) {
23234
23267
  var CategorizedPickerCategoryPanel_default = CategorizedPickerCategoryPanel;
23235
23268
 
23236
23269
  // src/components/input/categorized-picker/CategorizedPicker.tsx
23237
- import { Fragment as Fragment30, jsx as jsx131, jsxs as jsxs61 } from "react/jsx-runtime";
23270
+ import { Fragment as Fragment31, jsx as jsx131, jsxs as jsxs61 } from "react/jsx-runtime";
23238
23271
  var ChevronIcon2 = ({ disabled }) => /* @__PURE__ */ jsx131(
23239
23272
  Icon_default,
23240
23273
  {
@@ -23338,7 +23371,7 @@ var CategorizedPicker = function CategorizedPicker2({
23338
23371
  setSelectedCategory(filteredSelectedCategory);
23339
23372
  }
23340
23373
  }, [filteredCategories, selectedCategory]);
23341
- return /* @__PURE__ */ jsxs61(Fragment30, { children: [
23374
+ return /* @__PURE__ */ jsxs61(Fragment31, { children: [
23342
23375
  /* @__PURE__ */ jsx131(
23343
23376
  Select3,
23344
23377
  {
@@ -23538,7 +23571,7 @@ import * as React73 from "react";
23538
23571
  // src/components/input/SelectPopover.tsx
23539
23572
  import * as React72 from "react";
23540
23573
  import { Grid as Grid4, Stack as Stack12 } from "@mui/material";
23541
- import { useState as useState30 } from "react";
23574
+ import { useState as useState31 } from "react";
23542
23575
  import InfiniteScroll from "react-infinite-scroll-component";
23543
23576
  import { jsx as jsx132, jsxs as jsxs62 } from "react/jsx-runtime";
23544
23577
  var defaultItemsColorStyles = {
@@ -23576,9 +23609,9 @@ var SelectPopover = function SelectPopover2({
23576
23609
  itemsTitle
23577
23610
  }) {
23578
23611
  const { t } = useTranslation();
23579
- const [searchText, setSearchText] = useState30("");
23580
- const [isScrollBottom, setIsScrollBottom] = useState30(false);
23581
- const [currentItems, setCurrentItems] = useState30([]);
23612
+ const [searchText, setSearchText] = useState31("");
23613
+ const [isScrollBottom, setIsScrollBottom] = useState31(false);
23614
+ const [currentItems, setCurrentItems] = useState31([]);
23582
23615
  const [currentSelectedItems, setCurrentSelectedItems] = React72.useState([]);
23583
23616
  const prevSelectedItemsIdsRef = React72.useRef([]);
23584
23617
  const onSearchTextChanged = (text) => {
@@ -23879,7 +23912,7 @@ var arraysEqual = (a, b) => {
23879
23912
  var SelectPopover_default = SelectPopover;
23880
23913
 
23881
23914
  // src/components/input/ItemSelector.tsx
23882
- import { Fragment as Fragment31, jsx as jsx133, jsxs as jsxs63 } from "react/jsx-runtime";
23915
+ import { Fragment as Fragment32, jsx as jsx133, jsxs as jsxs63 } from "react/jsx-runtime";
23883
23916
  var ItemSelector = function ItemSelector2({
23884
23917
  items,
23885
23918
  selectedItems,
@@ -23950,7 +23983,7 @@ var ItemSelector = function ItemSelector2({
23950
23983
  setAnchorEl(selectRef.current);
23951
23984
  }
23952
23985
  };
23953
- return /* @__PURE__ */ jsxs63(Fragment31, { children: [
23986
+ return /* @__PURE__ */ jsxs63(Fragment32, { children: [
23954
23987
  /* @__PURE__ */ jsx133(Stack_default, { onClick: onOpenSelector, children: /* @__PURE__ */ jsx133(
23955
23988
  Select_default,
23956
23989
  {
@@ -23967,7 +24000,7 @@ var ItemSelector = function ItemSelector2({
23967
24000
  renderValue: (value) => {
23968
24001
  let component;
23969
24002
  if (!value || !Array.isArray(value) || value.length === 0) {
23970
- component = /* @__PURE__ */ jsx133(Fragment31, { children: /* @__PURE__ */ jsx133(
24003
+ component = /* @__PURE__ */ jsx133(Fragment32, { children: /* @__PURE__ */ jsx133(
23971
24004
  Stack_default,
23972
24005
  {
23973
24006
  direction: "row",
@@ -24252,7 +24285,7 @@ var AutocompleteInputSelection = function AutocompleteInputSelection2({
24252
24285
  var AutocompleteInputSelection_default = AutocompleteInputSelection;
24253
24286
 
24254
24287
  // src/components/input/autocomplete/AutocompleteInput.tsx
24255
- import { Fragment as Fragment32, jsx as jsx135, jsxs as jsxs65 } from "react/jsx-runtime";
24288
+ import { Fragment as Fragment33, jsx as jsx135, jsxs as jsxs65 } from "react/jsx-runtime";
24256
24289
  var CLEAR_BUTTON_WIDTH = 36;
24257
24290
  var sizes6 = {
24258
24291
  XS: {
@@ -24295,7 +24328,7 @@ var AutocompleteInput = function AutocompleteInput2({
24295
24328
  const [isHover, setIsHover] = React75.useState(false);
24296
24329
  const dirty = !!inputValue || Array.isArray(value) && value.length > 0 || !Array.isArray(value) && !!value;
24297
24330
  const showClearButton = !disabled && dirty && !disableClear && (isOpenPopover || isHover);
24298
- return /* @__PURE__ */ jsx135(Fragment32, { children: /* @__PURE__ */ jsx135(
24331
+ return /* @__PURE__ */ jsx135(Fragment33, { children: /* @__PURE__ */ jsx135(
24299
24332
  DebouncedTextField_default,
24300
24333
  {
24301
24334
  ref: inputRef,
@@ -24489,7 +24522,7 @@ function getInitialListScroll({
24489
24522
  }
24490
24523
 
24491
24524
  // src/components/input/autocomplete/AutocompleteList.tsx
24492
- import { Fragment as Fragment33, jsx as jsx136, jsxs as jsxs66 } from "react/jsx-runtime";
24525
+ import { Fragment as Fragment34, jsx as jsx136, jsxs as jsxs66 } from "react/jsx-runtime";
24493
24526
  var AUTOCOMPLETE_ITEM_HEIGHT = 44;
24494
24527
  var AutocompleteList = function AutocompleteList2({
24495
24528
  options,
@@ -24552,7 +24585,7 @@ var AutocompleteList = function AutocompleteList2({
24552
24585
  option.id
24553
24586
  );
24554
24587
  };
24555
- return /* @__PURE__ */ jsx136(Fragment33, { children: /* @__PURE__ */ jsx136(
24588
+ return /* @__PURE__ */ jsx136(Fragment34, { children: /* @__PURE__ */ jsx136(
24556
24589
  ClickAwayListener,
24557
24590
  {
24558
24591
  onClickAway: (event) => onClickAwayPopover(
@@ -24625,7 +24658,7 @@ var AutocompleteList = function AutocompleteList2({
24625
24658
  var AutocompleteList_default = AutocompleteList;
24626
24659
 
24627
24660
  // src/components/input/autocomplete/Autocomplete.tsx
24628
- import { Fragment as Fragment34, jsx as jsx137, jsxs as jsxs67 } from "react/jsx-runtime";
24661
+ import { Fragment as Fragment35, jsx as jsx137, jsxs as jsxs67 } from "react/jsx-runtime";
24629
24662
  var MIN_AUTOCOMPLETE_WIDTH = "328px";
24630
24663
  var Autocomplete = function Autocomplete2({
24631
24664
  variant = "default",
@@ -24947,7 +24980,7 @@ var Autocomplete = function Autocomplete2({
24947
24980
  setNextIndexByValue(value2);
24948
24981
  onChange && onChange(event, value2);
24949
24982
  };
24950
- return /* @__PURE__ */ jsxs67(Fragment34, { children: [
24983
+ return /* @__PURE__ */ jsxs67(Fragment35, { children: [
24951
24984
  /* @__PURE__ */ jsx137(
24952
24985
  AutocompleteInput_default,
24953
24986
  {
@@ -25089,7 +25122,7 @@ var CodeEditor_default = React78.forwardRef(CodeEditor);
25089
25122
 
25090
25123
  // src/components/input/CodeEditorPopup.tsx
25091
25124
  import format from "html-format";
25092
- import { Fragment as Fragment35, jsx as jsx139, jsxs as jsxs68 } from "react/jsx-runtime";
25125
+ import { Fragment as Fragment36, jsx as jsx139, jsxs as jsxs68 } from "react/jsx-runtime";
25093
25126
  var FORMAT_CHARACTERS_LINE = 120;
25094
25127
  var FORMAT_NUMBER_SPACES_INDENTATION = 2;
25095
25128
  var CodeEditorPopup = ({
@@ -25132,7 +25165,7 @@ var CodeEditorPopup = ({
25132
25165
  " ".repeat(FORMAT_NUMBER_SPACES_INDENTATION),
25133
25166
  FORMAT_CHARACTERS_LINE
25134
25167
  );
25135
- return /* @__PURE__ */ jsxs68(Fragment35, { children: [
25168
+ return /* @__PURE__ */ jsxs68(Fragment36, { children: [
25136
25169
  readonly && /* @__PURE__ */ jsx139(
25137
25170
  Dialog_default,
25138
25171
  {
@@ -25298,7 +25331,7 @@ var CodeEditorPopup = ({
25298
25331
  var CodeEditorPopup_default = CodeEditorPopup;
25299
25332
 
25300
25333
  // src/components/input/TextEditor.tsx
25301
- import { Fragment as Fragment36, jsx as jsx140, jsxs as jsxs69 } from "react/jsx-runtime";
25334
+ import { Fragment as Fragment37, jsx as jsx140, jsxs as jsxs69 } from "react/jsx-runtime";
25302
25335
  var DEFAULT_TOOLBAR_INSERT_MENU_ITEMS = [
25303
25336
  "link",
25304
25337
  "image",
@@ -25584,7 +25617,7 @@ var TextEditor = function TextEditor2({
25584
25617
  };
25585
25618
  }
25586
25619
  };
25587
- return /* @__PURE__ */ jsxs69(Fragment36, { children: [
25620
+ return /* @__PURE__ */ jsxs69(Fragment37, { children: [
25588
25621
  /* @__PURE__ */ jsx140(
25589
25622
  Editor,
25590
25623
  {
@@ -25641,7 +25674,7 @@ var TextEditor_default = TextEditor;
25641
25674
 
25642
25675
  // src/components/input/PhoneField.tsx
25643
25676
  import * as React81 from "react";
25644
- import { Fragment as Fragment37, jsx as jsx141, jsxs as jsxs70 } from "react/jsx-runtime";
25677
+ import { Fragment as Fragment38, jsx as jsx141, jsxs as jsxs70 } from "react/jsx-runtime";
25645
25678
  var maxPhoneLengthWithPrefix = 16;
25646
25679
  var PhoneField = React81.forwardRef(function PhoneField2({
25647
25680
  value,
@@ -25727,7 +25760,7 @@ var PhoneField = React81.forwardRef(function PhoneField2({
25727
25760
  groupElements: true,
25728
25761
  ...rest,
25729
25762
  className: `Cn-PhoneField ${className}`,
25730
- startAdornment: /* @__PURE__ */ jsxs70(Fragment37, { children: [
25763
+ startAdornment: /* @__PURE__ */ jsxs70(Fragment38, { children: [
25731
25764
  rest.startAdornment,
25732
25765
  select
25733
25766
  ] }),
@@ -26162,7 +26195,7 @@ var DatePickerPopover = ({
26162
26195
  var DatePickerPopover_default = DatePickerPopover;
26163
26196
 
26164
26197
  // src/components/input/DatePicker.tsx
26165
- import { Fragment as Fragment38, jsx as jsx145, jsxs as jsxs73 } from "react/jsx-runtime";
26198
+ import { Fragment as Fragment39, jsx as jsx145, jsxs as jsxs73 } from "react/jsx-runtime";
26166
26199
  var DatePicker = React84.forwardRef(
26167
26200
  function DatePicker2({ value, onChange, onBlur, onKeyDown, minDate, maxDate, ...rest }, ref) {
26168
26201
  const { locale, timezone } = React84.useContext(IntlContext);
@@ -26238,7 +26271,7 @@ var DatePicker = React84.forwardRef(
26238
26271
  const text = value && !isNaN(value.getTime()) ? tz12(value, timezone).format(dateInputFormat) : "";
26239
26272
  setTextValue(text);
26240
26273
  }, [dateInputFormat, timezone, value]);
26241
- return /* @__PURE__ */ jsxs73(Fragment38, { children: [
26274
+ return /* @__PURE__ */ jsxs73(Fragment39, { children: [
26242
26275
  /* @__PURE__ */ jsx145(
26243
26276
  TextField_default,
26244
26277
  {
@@ -26281,7 +26314,7 @@ var DatePicker_default = DatePicker;
26281
26314
  // src/components/input/Checkbox.tsx
26282
26315
  import MuiCheckbox from "@mui/material/Checkbox";
26283
26316
  import { FormControlLabel, FormGroup } from "@mui/material";
26284
- import { Fragment as Fragment39, jsx as jsx146, jsxs as jsxs74 } from "react/jsx-runtime";
26317
+ import { Fragment as Fragment40, jsx as jsx146, jsxs as jsxs74 } from "react/jsx-runtime";
26285
26318
  var MaterialCheckbox = ({
26286
26319
  checked,
26287
26320
  disabled,
@@ -26314,7 +26347,7 @@ var Checkbox = ({
26314
26347
  inputClass,
26315
26348
  onChange,
26316
26349
  tabIndex
26317
- }) => /* @__PURE__ */ jsxs74(Fragment39, { children: [
26350
+ }) => /* @__PURE__ */ jsxs74(Fragment40, { children: [
26318
26351
  !label && /* @__PURE__ */ jsx146(
26319
26352
  MaterialCheckbox,
26320
26353
  {
@@ -26356,7 +26389,7 @@ var Checkbox_default = Checkbox;
26356
26389
  import * as React85 from "react";
26357
26390
  import MuiRadio from "@mui/material/Radio";
26358
26391
  import { FormControlLabel as FormControlLabel2 } from "@mui/material";
26359
- import { Fragment as Fragment40, jsx as jsx147, jsxs as jsxs75 } from "react/jsx-runtime";
26392
+ import { Fragment as Fragment41, jsx as jsx147, jsxs as jsxs75 } from "react/jsx-runtime";
26360
26393
  var Radio = React85.forwardRef(function Radio2({
26361
26394
  label,
26362
26395
  labelPlacement = "end",
@@ -26393,7 +26426,7 @@ var Radio = React85.forwardRef(function Radio2({
26393
26426
  size: size === "S" ? "small" : "medium"
26394
26427
  }
26395
26428
  );
26396
- return /* @__PURE__ */ jsxs75(Fragment40, { children: [
26429
+ return /* @__PURE__ */ jsxs75(Fragment41, { children: [
26397
26430
  !label && radio,
26398
26431
  label && /* @__PURE__ */ jsx147(
26399
26432
  FormControlLabel2,
@@ -27072,7 +27105,7 @@ var MarkdownRenderer_default = MarkdownRenderer;
27072
27105
 
27073
27106
  // src/components/navbar/Navbar.tsx
27074
27107
  import { Drawer as Drawer2 } from "@mui/material";
27075
- import { Fragment as Fragment41, jsx as jsx155, jsxs as jsxs80 } from "react/jsx-runtime";
27108
+ import { Fragment as Fragment42, jsx as jsx155, jsxs as jsxs80 } from "react/jsx-runtime";
27076
27109
  var Navbar = ({
27077
27110
  topContent,
27078
27111
  bottomContent,
@@ -27080,7 +27113,7 @@ var Navbar = ({
27080
27113
  drawerBottomContent,
27081
27114
  onClose,
27082
27115
  isDrawerOpen = false
27083
- }) => /* @__PURE__ */ jsxs80(Fragment41, { children: [
27116
+ }) => /* @__PURE__ */ jsxs80(Fragment42, { children: [
27084
27117
  /* @__PURE__ */ jsxs80(
27085
27118
  Box_default2,
27086
27119
  {
@@ -27304,7 +27337,7 @@ var NavbarLogo_default = NavbarLogo;
27304
27337
 
27305
27338
  // src/components/overlay/DonutFocusOverlay.tsx
27306
27339
  import * as React91 from "react";
27307
- import { Fragment as Fragment42, jsx as jsx159, jsxs as jsxs82 } from "react/jsx-runtime";
27340
+ import { Fragment as Fragment43, jsx as jsx159, jsxs as jsxs82 } from "react/jsx-runtime";
27308
27341
  var DonutFocusOverlay = ({
27309
27342
  isVisible,
27310
27343
  elementRef,
@@ -27345,7 +27378,7 @@ var DonutFocusOverlay = ({
27345
27378
  const internalTopHalfCircle = `${internalCircleRadius} ${internalCircleRadius} 0 0 1 ${startPointX + donutWidth + internalCircleRadius * 2} ${startPointY}`;
27346
27379
  const externalTopHalfCircle = `${externalCircleRadius} ${externalCircleRadius} 0 0 0 ${startPointX} ${startPointY}`;
27347
27380
  const path = `path("M ${startPointX} ${startPointY} A ${externalBottomHalfCircle} m ${-donutWidth} 0 A ${internalBottomHalfCircle} A ${internalTopHalfCircle} m ${donutWidth} 0 A ${externalTopHalfCircle} Z")`;
27348
- return /* @__PURE__ */ jsxs82(Fragment42, { children: [
27381
+ return /* @__PURE__ */ jsxs82(Fragment43, { children: [
27349
27382
  /* @__PURE__ */ jsx159(
27350
27383
  Box_default2,
27351
27384
  {
@@ -27390,7 +27423,7 @@ var DonutFocusOverlay = ({
27390
27423
  var DonutFocusOverlay_default = DonutFocusOverlay;
27391
27424
 
27392
27425
  // src/components/pager/Pager.tsx
27393
- import { Fragment as Fragment43, jsx as jsx160, jsxs as jsxs83 } from "react/jsx-runtime";
27426
+ import { Fragment as Fragment44, jsx as jsx160, jsxs as jsxs83 } from "react/jsx-runtime";
27394
27427
  var Pager = ({
27395
27428
  page,
27396
27429
  pageSize,
@@ -27416,7 +27449,7 @@ var Pager = ({
27416
27449
  sx: { minWidth: 78 }
27417
27450
  }
27418
27451
  ),
27419
- allowedPageSizes && /* @__PURE__ */ jsxs83(Fragment43, { children: [
27452
+ allowedPageSizes && /* @__PURE__ */ jsxs83(Fragment44, { children: [
27420
27453
  /* @__PURE__ */ jsx160(Label, { children: t("PAGER.ROWS_PER_PAGE") }),
27421
27454
  /* @__PURE__ */ jsx160(
27422
27455
  Select_default,
@@ -28142,7 +28175,7 @@ import MuiTabs from "@mui/material/Tabs";
28142
28175
 
28143
28176
  // src/components/layout/SwipeableViews.tsx
28144
28177
  import * as React95 from "react";
28145
- import { useEffect as useEffect28, useRef as useRef33, useState as useState41 } from "react";
28178
+ import { useEffect as useEffect29, useRef as useRef33, useState as useState42 } from "react";
28146
28179
  import { jsx as jsx167 } from "react/jsx-runtime";
28147
28180
  var styles = {
28148
28181
  container: {
@@ -28179,9 +28212,9 @@ function SwipeableViews({
28179
28212
  const containerRef = useRef33(null);
28180
28213
  const scrollTimeout = useRef33(null);
28181
28214
  const scrollingMethod = useRef33("none");
28182
- const [previousIndex, setPreviousIndex] = useState41(index);
28215
+ const [previousIndex, setPreviousIndex] = useState42(index);
28183
28216
  const hideScrollAnimation = useRef33(true);
28184
- useEffect28(() => {
28217
+ useEffect29(() => {
28185
28218
  if (containerRef.current) {
28186
28219
  if (scrollingMethod.current === "manual") {
28187
28220
  scrollingMethod.current = "none";
@@ -28806,7 +28839,7 @@ var Toolbar_default = Toolbar;
28806
28839
 
28807
28840
  // src/components/toolbar/ToolbarTitle.tsx
28808
28841
  import * as React99 from "react";
28809
- import { useState as useState44 } from "react";
28842
+ import { useState as useState45 } from "react";
28810
28843
  import { jsx as jsx182, jsxs as jsxs89 } from "react/jsx-runtime";
28811
28844
  var ToolbarTitle = React99.forwardRef(function ToolbarTitle2({
28812
28845
  title,
@@ -28818,7 +28851,7 @@ var ToolbarTitle = React99.forwardRef(function ToolbarTitle2({
28818
28851
  const textElementRef = React99.useRef(
28819
28852
  null
28820
28853
  );
28821
- const [showHoverActions, setShowHoverActions] = useState44(false);
28854
+ const [showHoverActions, setShowHoverActions] = useState45(false);
28822
28855
  return /* @__PURE__ */ jsx182(Box_default2, { sx: { maxWidth: "100%" }, children: /* @__PURE__ */ jsx182(
28823
28856
  TextEllipsisTooltip_default,
28824
28857
  {
@@ -29060,7 +29093,7 @@ var WidgetTitle_default = WidgetTitle;
29060
29093
 
29061
29094
  // src/components/window/MinimizableWindow.tsx
29062
29095
  import * as React100 from "react";
29063
- import { Fragment as Fragment44, jsx as jsx187, jsxs as jsxs91 } from "react/jsx-runtime";
29096
+ import { Fragment as Fragment45, jsx as jsx187, jsxs as jsxs91 } from "react/jsx-runtime";
29064
29097
  var sizes7 = {
29065
29098
  M: 400,
29066
29099
  L: 500,
@@ -29159,7 +29192,7 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29159
29192
  overlayRef.current.style.opacity = "0";
29160
29193
  }
29161
29194
  };
29162
- return /* @__PURE__ */ jsxs91(Fragment44, { children: [
29195
+ return /* @__PURE__ */ jsxs91(Fragment45, { children: [
29163
29196
  isDraggingState && /* @__PURE__ */ jsx187(
29164
29197
  Box_default2,
29165
29198
  {