@connectif/ui-components 6.0.4 → 6.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 Fragment44 = REACT_FRAGMENT_TYPE;
100
+ var Fragment45 = 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 = Fragment44;
159
+ exports.Fragment = Fragment45;
160
160
  exports.Lazy = Lazy;
161
161
  exports.Memo = Memo2;
162
162
  exports.Portal = Portal;
@@ -9471,7 +9471,7 @@ var TooltipMenu_default = TooltipMenu;
9471
9471
 
9472
9472
  // src/components/tooltip/TextEllipsis.tsx
9473
9473
  import * as React17 from "react";
9474
- import { jsx as jsx32 } from "react/jsx-runtime";
9474
+ import { Fragment as Fragment4, jsx as jsx32 } from "react/jsx-runtime";
9475
9475
  var TextEllipsis = ({
9476
9476
  text,
9477
9477
  typographyVariant,
@@ -9481,47 +9481,49 @@ var TextEllipsis = ({
9481
9481
  maxWidth: maxWidth2,
9482
9482
  "data-test": dataTest,
9483
9483
  sx,
9484
- zIndex
9484
+ zIndex,
9485
+ disableTooltip = false
9485
9486
  }) => {
9486
9487
  const textElementRef = React17.useRef(
9487
9488
  null
9488
9489
  );
9489
- return /* @__PURE__ */ jsx32(
9490
+ const getTypography = () => /* @__PURE__ */ jsx32(
9491
+ Typography_default,
9492
+ {
9493
+ color: color2,
9494
+ ref: textElementRef,
9495
+ component: "div",
9496
+ variant: typographyVariant,
9497
+ noWrap: lines <= 1,
9498
+ sx: {
9499
+ width: width2 || void 0,
9500
+ cursor: "inherit",
9501
+ maxWidth: maxWidth2 || void 0,
9502
+ ...lines > 1 && {
9503
+ WebkitLineClamp: lines,
9504
+ textOverflow: "ellipsis",
9505
+ overflow: "hidden",
9506
+ WebkitBoxOrient: "vertical",
9507
+ wordWrap: "break-word",
9508
+ display: "-webkit-box",
9509
+ whiteSpace: "unset"
9510
+ },
9511
+ ...sx
9512
+ },
9513
+ "data-test": dataTest,
9514
+ children: text || "\xA0"
9515
+ }
9516
+ );
9517
+ return /* @__PURE__ */ jsx32(Fragment4, { children: !disableTooltip ? /* @__PURE__ */ jsx32(
9490
9518
  TextEllipsisTooltip_default,
9491
9519
  {
9492
9520
  title: text ?? "\xA0",
9493
9521
  textEllipsableElement: textElementRef,
9494
9522
  lines,
9495
9523
  zIndex,
9496
- children: /* @__PURE__ */ jsx32(
9497
- Typography_default,
9498
- {
9499
- color: color2,
9500
- ref: textElementRef,
9501
- component: "div",
9502
- variant: typographyVariant,
9503
- noWrap: lines <= 1,
9504
- sx: {
9505
- width: width2 || void 0,
9506
- cursor: "inherit",
9507
- maxWidth: maxWidth2 || void 0,
9508
- ...lines > 1 && {
9509
- WebkitLineClamp: lines,
9510
- textOverflow: "ellipsis",
9511
- overflow: "hidden",
9512
- WebkitBoxOrient: "vertical",
9513
- wordWrap: "break-word",
9514
- display: "-webkit-box",
9515
- whiteSpace: "unset"
9516
- },
9517
- ...sx
9518
- },
9519
- "data-test": dataTest,
9520
- children: text || "\xA0"
9521
- }
9522
- )
9524
+ children: getTypography()
9523
9525
  }
9524
- );
9526
+ ) : getTypography() });
9525
9527
  };
9526
9528
  var TextEllipsis_default = TextEllipsis;
9527
9529
 
@@ -9594,7 +9596,7 @@ var AvatarCard_default = AvatarCard;
9594
9596
  // src/components/button/MenuIconButton.tsx
9595
9597
  import * as React19 from "react";
9596
9598
  import MuiMenu from "@mui/material/Menu";
9597
- import { Fragment as Fragment4, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
9599
+ import { Fragment as Fragment5, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
9598
9600
  var MenuIconButton = React19.forwardRef(function MenuIconButton2({
9599
9601
  children,
9600
9602
  isOpen: managedIsOpen,
@@ -9639,7 +9641,7 @@ var MenuIconButton = React19.forwardRef(function MenuIconButton2({
9639
9641
  setAnchorEl(element);
9640
9642
  };
9641
9643
  const isOpen = typeof managedIsOpen === "boolean" ? managedIsOpen : internalIsOpen;
9642
- return /* @__PURE__ */ jsxs13(Fragment4, { children: [
9644
+ return /* @__PURE__ */ jsxs13(Fragment5, { children: [
9643
9645
  /* @__PURE__ */ jsx34(
9644
9646
  IconButton_default,
9645
9647
  {
@@ -10374,7 +10376,7 @@ var ButtonWithActions_default = ButtonWithActions;
10374
10376
  // src/components/button/MenuButton.tsx
10375
10377
  import * as React24 from "react";
10376
10378
  import MuiMenu3 from "@mui/material/Menu";
10377
- import { Fragment as Fragment5, jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
10379
+ import { Fragment as Fragment6, jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
10378
10380
  var MenuButton = React24.forwardRef(function MenuButton2({
10379
10381
  children,
10380
10382
  isOpen: managedIsOpen,
@@ -10419,7 +10421,7 @@ var MenuButton = React24.forwardRef(function MenuButton2({
10419
10421
  setAnchorEl(element);
10420
10422
  };
10421
10423
  const isOpen = typeof managedIsOpen === "boolean" ? managedIsOpen : internalIsOpen;
10422
- return /* @__PURE__ */ jsxs18(Fragment5, { children: [
10424
+ return /* @__PURE__ */ jsxs18(Fragment6, { children: [
10423
10425
  /* @__PURE__ */ jsx43(
10424
10426
  Button_default,
10425
10427
  {
@@ -11371,7 +11373,7 @@ import * as React32 from "react";
11371
11373
  // src/components/chip/MenuChip.tsx
11372
11374
  import * as React29 from "react";
11373
11375
  import MuiMenu4 from "@mui/material/Menu";
11374
- import { Fragment as Fragment6, jsx as jsx61, jsxs as jsxs23 } from "react/jsx-runtime";
11376
+ import { Fragment as Fragment7, jsx as jsx61, jsxs as jsxs23 } from "react/jsx-runtime";
11375
11377
  var MenuChip = React29.forwardRef(function MenuChip2({
11376
11378
  children,
11377
11379
  isOpen: managedIsOpen,
@@ -11413,7 +11415,7 @@ var MenuChip = React29.forwardRef(function MenuChip2({
11413
11415
  setAnchorEl(element);
11414
11416
  };
11415
11417
  const isOpen = typeof managedIsOpen === "boolean" ? managedIsOpen : internalIsOpen;
11416
- return /* @__PURE__ */ jsxs23(Fragment6, { children: [
11418
+ return /* @__PURE__ */ jsxs23(Fragment7, { children: [
11417
11419
  /* @__PURE__ */ jsx61(
11418
11420
  Chip_default,
11419
11421
  {
@@ -11550,7 +11552,7 @@ var GlobalStyles_default = globalStyles;
11550
11552
  // src/components/chip/ChipHiddenCounter.tsx
11551
11553
  import * as React30 from "react";
11552
11554
  import { Popper } from "@mui/material";
11553
- import { Fragment as Fragment7, jsx as jsx62, jsxs as jsxs24 } from "react/jsx-runtime";
11555
+ import { Fragment as Fragment8, jsx as jsx62, jsxs as jsxs24 } from "react/jsx-runtime";
11554
11556
  var TOOLTIP_DATA_TEST_ID = "chip-container-tooltip";
11555
11557
  var COUNTER_LABEL_DATA_TEST_ID = "chip-counter-label";
11556
11558
  var MAX_TOOLTIP_WIDTH = 362;
@@ -11584,7 +11586,7 @@ var ChipHiddenCounter = ({
11584
11586
  const alertButtonWidth = !warningTooltip ? 0 : WIDTH_ALERT_BUTTON;
11585
11587
  return !isDeletable ? `${MAX_TOOLTIP_WIDTH - alertButtonWidth}px` : `${MAX_TOOLTIP_WIDTH - WIDTH_DELETABLE_BUTTON - alertButtonWidth}px`;
11586
11588
  };
11587
- return /* @__PURE__ */ jsx62(Fragment7, { children: hiddenChips.length > 0 && /* @__PURE__ */ jsxs24(Fragment7, { children: [
11589
+ return /* @__PURE__ */ jsx62(Fragment8, { children: hiddenChips.length > 0 && /* @__PURE__ */ jsxs24(Fragment8, { children: [
11588
11590
  /* @__PURE__ */ jsx62(
11589
11591
  Box_default2,
11590
11592
  {
@@ -12050,7 +12052,7 @@ var ChipViewer = ({
12050
12052
  var ChipViewer_default = ChipViewer;
12051
12053
 
12052
12054
  // src/components/card/EnhancedCard.tsx
12053
- import { Fragment as Fragment8, jsx as jsx65, jsxs as jsxs26 } from "react/jsx-runtime";
12055
+ import { Fragment as Fragment9, jsx as jsx65, jsxs as jsxs26 } from "react/jsx-runtime";
12054
12056
  var cardWidthBySize = {
12055
12057
  S: 110,
12056
12058
  M: 110,
@@ -12411,7 +12413,7 @@ var EnhancedCard = React32.forwardRef(
12411
12413
  )
12412
12414
  }
12413
12415
  ),
12414
- isHovered && hoverComponent && /* @__PURE__ */ jsxs26(Fragment8, { children: [
12416
+ isHovered && hoverComponent && /* @__PURE__ */ jsxs26(Fragment9, { children: [
12415
12417
  /* @__PURE__ */ jsx65(
12416
12418
  Box_default2,
12417
12419
  {
@@ -12609,7 +12611,7 @@ var incrementLabelStyles = {
12609
12611
  };
12610
12612
 
12611
12613
  // src/utils/ChartUtils.tsx
12612
- import { Fragment as Fragment10, jsx as jsx68, jsxs as jsxs28 } from "react/jsx-runtime";
12614
+ import { Fragment as Fragment11, jsx as jsx68, jsxs as jsxs28 } from "react/jsx-runtime";
12613
12615
  function useTooltipFormatter(chartTooltipEntryFormatter = ({
12614
12616
  seriesName,
12615
12617
  value
@@ -12627,7 +12629,7 @@ function useTooltipFormatter(chartTooltipEntryFormatter = ({
12627
12629
  return tooltipOrder;
12628
12630
  };
12629
12631
  params.sort((a, b) => getOrder(a) - getOrder(b));
12630
- const tooltip = /* @__PURE__ */ jsxs28(Fragment10, { children: [
12632
+ const tooltip = /* @__PURE__ */ jsxs28(Fragment11, { children: [
12631
12633
  !getTooltip && /* @__PURE__ */ jsx68(Typography_default, { variant: "tooltip", children: params[0].name }),
12632
12634
  params.map((p) => {
12633
12635
  const entry = chartTooltipEntryFormatter({
@@ -13648,7 +13650,7 @@ var DonutChartLegendItem_default = DonutChartLegendItem;
13648
13650
 
13649
13651
  // src/components/chart/DonutChart.tsx
13650
13652
  import { alpha as alpha4 } from "@mui/material/styles";
13651
- import { Fragment as Fragment13, jsx as jsx75, jsxs as jsxs33 } from "react/jsx-runtime";
13653
+ import { Fragment as Fragment14, jsx as jsx75, jsxs as jsxs33 } from "react/jsx-runtime";
13652
13654
  var DonutChart = ({
13653
13655
  style: style3,
13654
13656
  isLoading,
@@ -13814,7 +13816,7 @@ var DonutChart = ({
13814
13816
  flexDirection: "column",
13815
13817
  ...style3
13816
13818
  },
13817
- children: isLoading ? /* @__PURE__ */ jsx75(Skeleton_default, { variant: "rectangular", height: "100%", width: "100%" }) : /* @__PURE__ */ jsxs33(Fragment13, { children: [
13819
+ children: isLoading ? /* @__PURE__ */ jsx75(Skeleton_default, { variant: "rectangular", height: "100%", width: "100%" }) : /* @__PURE__ */ jsxs33(Fragment14, { children: [
13818
13820
  /* @__PURE__ */ jsxs33(Box_default2, { sx: { flexGrow: 1, position: "relative" }, children: [
13819
13821
  showIcon && /* @__PURE__ */ jsx75(
13820
13822
  Icon_default,
@@ -16269,7 +16271,7 @@ var useTranslation = () => {
16269
16271
  import {
16270
16272
  Dialog as MuiDialog
16271
16273
  } from "@mui/material";
16272
- import { Fragment as Fragment15, jsx as jsx83, jsxs as jsxs39 } from "react/jsx-runtime";
16274
+ import { Fragment as Fragment16, jsx as jsx83, jsxs as jsxs39 } from "react/jsx-runtime";
16273
16275
  var sizes5 = {
16274
16276
  S: "480px",
16275
16277
  M: "640px",
@@ -16292,7 +16294,7 @@ var Dialog = ({
16292
16294
  ...rest
16293
16295
  }) => {
16294
16296
  const { palette: palette2 } = useCustomTheme();
16295
- const getDialogContent = () => /* @__PURE__ */ jsxs39(Fragment15, { children: [
16297
+ const getDialogContent = () => /* @__PURE__ */ jsxs39(Fragment16, { children: [
16296
16298
  /* @__PURE__ */ jsxs39(
16297
16299
  Stack_default,
16298
16300
  {
@@ -18399,23 +18401,23 @@ function formatPhone(phone, format2) {
18399
18401
  }
18400
18402
 
18401
18403
  // src/components/formatter/CompactNumberFormatter.tsx
18402
- import { Fragment as Fragment16, jsx as jsx87 } from "react/jsx-runtime";
18404
+ import { Fragment as Fragment17, jsx as jsx87 } from "react/jsx-runtime";
18403
18405
  var CompactNumberFormatter = ({ value }) => {
18404
18406
  const { locale } = React40.useContext(IntlContext);
18405
- return /* @__PURE__ */ jsx87(Fragment16, { children: formatCompactNumber(value, locale) });
18407
+ return /* @__PURE__ */ jsx87(Fragment17, { children: formatCompactNumber(value, locale) });
18406
18408
  };
18407
18409
  var CompactNumberFormatter_default = CompactNumberFormatter;
18408
18410
 
18409
18411
  // src/components/formatter/CurrencyFormatter.tsx
18410
18412
  import * as React41 from "react";
18411
- import { Fragment as Fragment17, jsx as jsx88 } from "react/jsx-runtime";
18413
+ import { Fragment as Fragment18, jsx as jsx88 } from "react/jsx-runtime";
18412
18414
  var CurrencyFormatter = ({
18413
18415
  value,
18414
18416
  notation,
18415
18417
  currency
18416
18418
  }) => {
18417
18419
  const { locale, currency: contextCurrency } = React41.useContext(IntlContext);
18418
- return /* @__PURE__ */ jsx88(Fragment17, { children: formatCurrency(
18420
+ return /* @__PURE__ */ jsx88(Fragment18, { children: formatCurrency(
18419
18421
  value,
18420
18422
  locale,
18421
18423
  currency ?? contextCurrency,
@@ -18426,37 +18428,37 @@ var CurrencyFormatter_default = CurrencyFormatter;
18426
18428
 
18427
18429
  // src/components/formatter/NumberFormatter.tsx
18428
18430
  import * as React42 from "react";
18429
- import { Fragment as Fragment18, jsx as jsx89 } from "react/jsx-runtime";
18431
+ import { Fragment as Fragment19, jsx as jsx89 } from "react/jsx-runtime";
18430
18432
  var NumberFormatter = ({ value, fractionSize }) => {
18431
18433
  const { locale } = React42.useContext(IntlContext);
18432
- return /* @__PURE__ */ jsx89(Fragment18, { children: formatNumber(value, locale, fractionSize) });
18434
+ return /* @__PURE__ */ jsx89(Fragment19, { children: formatNumber(value, locale, fractionSize) });
18433
18435
  };
18434
18436
  var NumberFormatter_default = NumberFormatter;
18435
18437
 
18436
18438
  // src/components/formatter/PercentageFormatter.tsx
18437
18439
  import * as React43 from "react";
18438
- import { Fragment as Fragment19, jsx as jsx90 } from "react/jsx-runtime";
18440
+ import { Fragment as Fragment20, jsx as jsx90 } from "react/jsx-runtime";
18439
18441
  var PercentageFormatter = ({
18440
18442
  value,
18441
18443
  fractionSize
18442
18444
  }) => {
18443
18445
  const { locale } = React43.useContext(IntlContext);
18444
- return /* @__PURE__ */ jsx90(Fragment19, { children: formatPercentage(value, locale, fractionSize) });
18446
+ return /* @__PURE__ */ jsx90(Fragment20, { children: formatPercentage(value, locale, fractionSize) });
18445
18447
  };
18446
18448
  var PercentageFormatter_default = PercentageFormatter;
18447
18449
 
18448
18450
  // src/components/formatter/DateFormatter.tsx
18449
18451
  import * as React44 from "react";
18450
- import { Fragment as Fragment20, jsx as jsx91 } from "react/jsx-runtime";
18452
+ import { Fragment as Fragment21, jsx as jsx91 } from "react/jsx-runtime";
18451
18453
  var DateFormatter = ({ date, format: format2 }) => {
18452
18454
  const { locale, timezone } = React44.useContext(IntlContext);
18453
- return /* @__PURE__ */ jsx91(Fragment20, { children: formatDate(date, locale, timezone, format2) });
18455
+ return /* @__PURE__ */ jsx91(Fragment21, { children: formatDate(date, locale, timezone, format2) });
18454
18456
  };
18455
18457
  var DateFormatter_default = DateFormatter;
18456
18458
 
18457
18459
  // src/components/formatter/PhoneFormatter.tsx
18458
- import { Fragment as Fragment21, jsx as jsx92 } from "react/jsx-runtime";
18459
- var PhoneFormatter = ({ phone, format: format2 }) => /* @__PURE__ */ jsx92(Fragment21, { children: formatPhone(phone, format2) });
18460
+ import { Fragment as Fragment22, jsx as jsx92 } from "react/jsx-runtime";
18461
+ var PhoneFormatter = ({ phone, format: format2 }) => /* @__PURE__ */ jsx92(Fragment22, { children: formatPhone(phone, format2) });
18460
18462
  var PhoneFormatter_default = PhoneFormatter;
18461
18463
 
18462
18464
  // src/components/header/HeaderTitle.tsx
@@ -19288,7 +19290,7 @@ var InputHelperText = React51.forwardRef(
19288
19290
  var InputHelperText_default = InputHelperText;
19289
19291
 
19290
19292
  // src/components/input/TextField.tsx
19291
- import { Fragment as Fragment22, jsx as jsx101, jsxs as jsxs45 } from "react/jsx-runtime";
19293
+ import { Fragment as Fragment23, jsx as jsx101, jsxs as jsxs45 } from "react/jsx-runtime";
19292
19294
  var commonInputStylesOptions = {
19293
19295
  shouldForwardProp: (prop) => prop !== "variant" && prop !== "typographyVariant"
19294
19296
  };
@@ -19550,7 +19552,7 @@ var TextField = React52.forwardRef(function TextField2({
19550
19552
  ]
19551
19553
  }
19552
19554
  );
19553
- return /* @__PURE__ */ jsxs45(Fragment22, { children: [
19555
+ return /* @__PURE__ */ jsxs45(Fragment23, { children: [
19554
19556
  label && /* @__PURE__ */ jsx101(
19555
19557
  InputLabel_default,
19556
19558
  {
@@ -20445,7 +20447,7 @@ var DateIntervalPickerInputs = ({
20445
20447
  var DateIntervalPickerInputs_default = DateIntervalPickerInputs;
20446
20448
 
20447
20449
  // src/components/input/date-interval-picker/DateIntervalRangeSelector.tsx
20448
- import { Fragment as Fragment23, jsx as jsx112, jsxs as jsxs51 } from "react/jsx-runtime";
20450
+ import { Fragment as Fragment24, jsx as jsx112, jsxs as jsxs51 } from "react/jsx-runtime";
20449
20451
  var DateIntervalRangeSelector = ({
20450
20452
  state,
20451
20453
  color: color2,
@@ -20761,7 +20763,7 @@ var DateIntervalRangeSelector = ({
20761
20763
  }
20762
20764
  return newState;
20763
20765
  };
20764
- return /* @__PURE__ */ jsxs51(Fragment23, { children: [
20766
+ return /* @__PURE__ */ jsxs51(Fragment24, { children: [
20765
20767
  /* @__PURE__ */ jsx112(
20766
20768
  Box_default2,
20767
20769
  {
@@ -21353,7 +21355,9 @@ var DateIntervalPickerInputButton = ({
21353
21355
  }
21354
21356
  ),
21355
21357
  value: dateText,
21356
- disabled
21358
+ disabled,
21359
+ onChange: () => {
21360
+ }
21357
21361
  }
21358
21362
  )
21359
21363
  }
@@ -21463,7 +21467,7 @@ var DateIntervalPicker_default = DateIntervalPicker;
21463
21467
  // src/components/input/SelectPopoverItem.tsx
21464
21468
  import { Grid as Grid2, Stack as Stack9 } from "@mui/material";
21465
21469
  import { lighten as lighten3 } from "@mui/material";
21466
- import { Fragment as Fragment24, jsx as jsx117, jsxs as jsxs55 } from "react/jsx-runtime";
21470
+ import { Fragment as Fragment25, jsx as jsx117, jsxs as jsxs55 } from "react/jsx-runtime";
21467
21471
  var bgColorLightCoefficient2 = 0.9;
21468
21472
  var SelectPopoverItem = ({
21469
21473
  onClick,
@@ -21509,7 +21513,7 @@ var SelectPopoverItem = ({
21509
21513
  },
21510
21514
  onClick: () => !disabled && typeof onClick === "function" && onClick(),
21511
21515
  children: [
21512
- !selectableItemComponent && /* @__PURE__ */ jsxs55(Fragment24, { children: [
21516
+ !selectableItemComponent && /* @__PURE__ */ jsxs55(Fragment25, { children: [
21513
21517
  /* @__PURE__ */ jsxs55(
21514
21518
  Box_default2,
21515
21519
  {
@@ -21529,7 +21533,7 @@ var SelectPopoverItem = ({
21529
21533
  cursor: disabled ? "default" : "pointer"
21530
21534
  },
21531
21535
  typographyVariant: "body1",
21532
- text: /* @__PURE__ */ jsxs55(Fragment24, { children: [
21536
+ text: /* @__PURE__ */ jsxs55(Fragment25, { children: [
21533
21537
  iconId && /* @__PURE__ */ jsx117(
21534
21538
  Icon_default,
21535
21539
  {
@@ -22116,7 +22120,7 @@ var DaysOfWeekPicker_default = DaysOfWeekPicker;
22116
22120
  // src/components/input/ColorPicker.tsx
22117
22121
  import * as React65 from "react";
22118
22122
  import GradientColorPicker from "react-best-gradient-color-picker";
22119
- import { Fragment as Fragment25, jsx as jsx121, jsxs as jsxs56 } from "react/jsx-runtime";
22123
+ import { Fragment as Fragment26, jsx as jsx121, jsxs as jsxs56 } from "react/jsx-runtime";
22120
22124
  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+))?\)$/;
22121
22125
  var isValidColor = (color2) => colorRegex.test(color2);
22122
22126
  var colorPickerDefaultColors = [
@@ -22255,7 +22259,7 @@ var ColorPicker = React65.forwardRef(function ColorPickerWrapper({
22255
22259
  };
22256
22260
  }
22257
22261
  }, [anchorEl]);
22258
- return /* @__PURE__ */ jsxs56(Fragment25, { children: [
22262
+ return /* @__PURE__ */ jsxs56(Fragment26, { children: [
22259
22263
  /* @__PURE__ */ jsx121(
22260
22264
  TextField_default,
22261
22265
  {
@@ -22644,7 +22648,7 @@ var CategorizedPickerGroupItem = function CategorizedPickerGroupItem2({
22644
22648
  var CategorizedPickerGroupItem_default = CategorizedPickerGroupItem;
22645
22649
 
22646
22650
  // src/components/input/categorized-picker/CategorizedPickerItem.tsx
22647
- import { Fragment as Fragment26, jsx as jsx126, jsxs as jsxs58 } from "react/jsx-runtime";
22651
+ import { Fragment as Fragment27, jsx as jsx126, jsxs as jsxs58 } from "react/jsx-runtime";
22648
22652
  var CategorizedPickerItem = function CategorizedPickerItem2({
22649
22653
  option,
22650
22654
  selectedId,
@@ -22662,7 +22666,7 @@ var CategorizedPickerItem = function CategorizedPickerItem2({
22662
22666
  behavior: "smooth"
22663
22667
  });
22664
22668
  };
22665
- return /* @__PURE__ */ jsxs58(Fragment26, { children: [
22669
+ return /* @__PURE__ */ jsxs58(Fragment27, { children: [
22666
22670
  option.categorizedPickerItemType === "option" && /* @__PURE__ */ jsx126(
22667
22671
  CategorizedPickerOptionItem_default,
22668
22672
  {
@@ -22702,18 +22706,18 @@ var CategorizedPickerItem_default = CategorizedPickerItem;
22702
22706
 
22703
22707
  // src/components/input/categorized-picker/CategorizedPickerEmptyCategoryPanel.tsx
22704
22708
  import { Stack as Stack10 } from "@mui/material";
22705
- import { Fragment as Fragment27, jsx as jsx127 } from "react/jsx-runtime";
22709
+ import { Fragment as Fragment28, jsx as jsx127 } from "react/jsx-runtime";
22706
22710
  var CategorizedPickerEmptyCategoryPanel = function CategorizedPickerEmptyCategoryPanel2({
22707
22711
  selectedCategory,
22708
22712
  isEmptyCategories
22709
22713
  }) {
22710
22714
  const { t } = useTranslation();
22711
- return /* @__PURE__ */ jsx127(Fragment27, { children: !selectedCategory?.emptyData ? /* @__PURE__ */ jsx127(Stack10, { padding: "12px", alignItems: "center", children: /* @__PURE__ */ jsx127(Typography_default, { variant: "body2", color: grey600, children: isEmptyCategories ? t("CATEGORIZED_PICKER.NO_RESULTS") : t("CATEGORIZED_PICKER.NO_OPTIONS") }) }) : selectedCategory.emptyData });
22715
+ return /* @__PURE__ */ jsx127(Fragment28, { children: !selectedCategory?.emptyData ? /* @__PURE__ */ jsx127(Stack10, { padding: "12px", alignItems: "center", children: /* @__PURE__ */ jsx127(Typography_default, { variant: "body2", color: grey600, children: isEmptyCategories ? t("CATEGORIZED_PICKER.NO_RESULTS") : t("CATEGORIZED_PICKER.NO_OPTIONS") }) }) : selectedCategory.emptyData });
22712
22716
  };
22713
22717
  var CategorizedPickerEmptyCategoryPanel_default = CategorizedPickerEmptyCategoryPanel;
22714
22718
 
22715
22719
  // src/components/input/categorized-picker/CategorizedPickerCategoryPanel.tsx
22716
- import { Fragment as Fragment28, jsx as jsx128 } from "react/jsx-runtime";
22720
+ import { Fragment as Fragment29, jsx as jsx128 } from "react/jsx-runtime";
22717
22721
  var CategorizedPickerCategoryPanel = function CategorizedPickerCategoryPanel2({
22718
22722
  value,
22719
22723
  selectedCategory,
@@ -22800,7 +22804,7 @@ var CategorizedPickerCategoryPanel = function CategorizedPickerCategoryPanel2({
22800
22804
  result.push(...getGroups(withGroup));
22801
22805
  return result;
22802
22806
  };
22803
- return /* @__PURE__ */ jsx128(Fragment28, { children: !selectedCategory || !categoryOptions?.length ? /* @__PURE__ */ jsx128(
22807
+ return /* @__PURE__ */ jsx128(Fragment29, { children: !selectedCategory || !categoryOptions?.length ? /* @__PURE__ */ jsx128(
22804
22808
  CategorizedPickerEmptyCategoryPanel_default,
22805
22809
  {
22806
22810
  selectedCategory,
@@ -22832,7 +22836,7 @@ function orderOptions(a, b) {
22832
22836
  var CategorizedPickerCategoryPanel_default = CategorizedPickerCategoryPanel;
22833
22837
 
22834
22838
  // src/components/input/categorized-picker/CategorizedPicker.tsx
22835
- import { Fragment as Fragment29, jsx as jsx129, jsxs as jsxs59 } from "react/jsx-runtime";
22839
+ import { Fragment as Fragment30, jsx as jsx129, jsxs as jsxs59 } from "react/jsx-runtime";
22836
22840
  var ChevronIcon2 = ({ disabled }) => /* @__PURE__ */ jsx129(
22837
22841
  Icon_default,
22838
22842
  {
@@ -22936,7 +22940,7 @@ var CategorizedPicker = function CategorizedPicker2({
22936
22940
  setSelectedCategory(filteredSelectedCategory);
22937
22941
  }
22938
22942
  }, [filteredCategories, selectedCategory]);
22939
- return /* @__PURE__ */ jsxs59(Fragment29, { children: [
22943
+ return /* @__PURE__ */ jsxs59(Fragment30, { children: [
22940
22944
  /* @__PURE__ */ jsx129(
22941
22945
  Select3,
22942
22946
  {
@@ -23148,6 +23152,7 @@ var SelectPopover = function SelectPopover2({
23148
23152
  onCancel,
23149
23153
  onLoadMore,
23150
23154
  onSearch,
23155
+ onPendingSelectionChange,
23151
23156
  debounce = 500,
23152
23157
  multiple = false,
23153
23158
  hasMore = false,
@@ -23258,25 +23263,31 @@ var SelectPopover = function SelectPopover2({
23258
23263
  updatedCurrentItems[previousSelectedIndex].color = originalColor2;
23259
23264
  }
23260
23265
  setCurrentItems(updatedCurrentItems);
23266
+ let newCurrentSelectedItems;
23261
23267
  if (updatedItem.selected) {
23262
23268
  if (multiple) {
23263
- setCurrentSelectedItems(
23264
- currentSelectedItems.concat(updatedItem.id)
23269
+ newCurrentSelectedItems = currentSelectedItems.concat(
23270
+ updatedItem.id
23265
23271
  );
23266
23272
  } else {
23267
- setCurrentSelectedItems([updatedItem.id]);
23273
+ newCurrentSelectedItems = [updatedItem.id];
23268
23274
  }
23269
23275
  } else {
23270
23276
  if (multiple) {
23271
- setCurrentSelectedItems(
23272
- currentSelectedItems.filter(
23273
- (selectedItemId) => selectedItemId !== item.id
23274
- )
23277
+ newCurrentSelectedItems = currentSelectedItems.filter(
23278
+ (selectedItemId) => selectedItemId !== item.id
23275
23279
  );
23276
23280
  } else {
23277
- setCurrentSelectedItems([]);
23281
+ newCurrentSelectedItems = [];
23278
23282
  }
23279
23283
  }
23284
+ setCurrentSelectedItems(newCurrentSelectedItems);
23285
+ if (onPendingSelectionChange) {
23286
+ onPendingSelectionChange(
23287
+ newCurrentSelectedItems,
23288
+ updatedCurrentItems.map((item2) => item2.id)
23289
+ );
23290
+ }
23280
23291
  };
23281
23292
  return /* @__PURE__ */ jsxs60(
23282
23293
  Popover_default,
@@ -23470,7 +23481,7 @@ var arraysEqual = (a, b) => {
23470
23481
  var SelectPopover_default = SelectPopover;
23471
23482
 
23472
23483
  // src/components/input/ItemSelector.tsx
23473
- import { Fragment as Fragment30, jsx as jsx131, jsxs as jsxs61 } from "react/jsx-runtime";
23484
+ import { Fragment as Fragment31, jsx as jsx131, jsxs as jsxs61 } from "react/jsx-runtime";
23474
23485
  var ItemSelector = function ItemSelector2({
23475
23486
  items,
23476
23487
  selectedItems,
@@ -23503,7 +23514,9 @@ var ItemSelector = function ItemSelector2({
23503
23514
  onLoadMore,
23504
23515
  onSearch,
23505
23516
  onClose,
23506
- getWarningTooltip
23517
+ onOpen,
23518
+ getWarningTooltip,
23519
+ onPendingSelectionChange
23507
23520
  }) {
23508
23521
  const [anchorEl, setAnchorEl] = React71.useState();
23509
23522
  const [searchText, setSearchText] = React71.useState("");
@@ -23533,155 +23546,157 @@ var ItemSelector = function ItemSelector2({
23533
23546
  const selectedItem = selectedItems[0]?.id;
23534
23547
  return selectedItem ? [selectedItem] : "";
23535
23548
  };
23536
- return /* @__PURE__ */ jsxs61(Fragment30, { children: [
23537
- /* @__PURE__ */ jsx131(
23538
- Stack_default,
23549
+ const onOpenSelector = () => {
23550
+ if (selectRef.current) {
23551
+ onOpen && onOpen();
23552
+ setAnchorEl(selectRef.current);
23553
+ }
23554
+ };
23555
+ return /* @__PURE__ */ jsxs61(Fragment31, { children: [
23556
+ /* @__PURE__ */ jsx131(Stack_default, { onClick: onOpenSelector, children: /* @__PURE__ */ jsx131(
23557
+ Select_default,
23539
23558
  {
23540
- onClick: () => selectRef.current && setAnchorEl(selectRef.current),
23541
- children: /* @__PURE__ */ jsx131(
23542
- Select_default,
23543
- {
23544
- ref: selectRef,
23545
- open: false,
23546
- multiple: isMultiple(),
23547
- variant,
23548
- disabled,
23549
- options: selectedItems.map((item) => ({
23550
- value: item.id,
23551
- label: renderChipLabel(item)
23552
- })),
23553
- value: getSelectedValue(),
23554
- renderValue: (value) => {
23555
- let component;
23556
- if (!value || !Array.isArray(value) || value.length === 0) {
23557
- component = /* @__PURE__ */ jsx131(Fragment30, { children: /* @__PURE__ */ jsx131(
23558
- Stack_default,
23559
+ ref: selectRef,
23560
+ open: false,
23561
+ multiple: isMultiple(),
23562
+ variant,
23563
+ disabled,
23564
+ options: selectedItems.map((item) => ({
23565
+ value: item.id,
23566
+ label: renderChipLabel(item)
23567
+ })),
23568
+ value: getSelectedValue(),
23569
+ renderValue: (value) => {
23570
+ let component;
23571
+ if (!value || !Array.isArray(value) || value.length === 0) {
23572
+ component = /* @__PURE__ */ jsx131(Fragment31, { children: /* @__PURE__ */ jsx131(
23573
+ Stack_default,
23574
+ {
23575
+ direction: "row",
23576
+ flexWrap: "wrap",
23577
+ padding: "6px 0",
23578
+ children: /* @__PURE__ */ jsx131(
23579
+ Typography_default,
23559
23580
  {
23560
- direction: "row",
23561
- flexWrap: "wrap",
23562
- padding: "6px 0",
23563
- children: /* @__PURE__ */ jsx131(
23564
- Typography_default,
23565
- {
23566
- variant: "body2",
23567
- color: grey600,
23568
- children: placeholder
23569
- }
23570
- )
23581
+ variant: "body2",
23582
+ color: grey600,
23583
+ children: placeholder
23571
23584
  }
23572
- ) });
23573
- } else {
23574
- component = /* @__PURE__ */ jsxs61(
23575
- Stack_default,
23576
- {
23577
- direction: "row",
23578
- alignItems: "center",
23579
- gap: "8px",
23580
- width: "100%",
23581
- justifyContent: "space-between",
23582
- children: [
23583
- /* @__PURE__ */ jsx131(Stack_default, { flex: 1, children: /* @__PURE__ */ jsx131(
23584
- ChipViewer_default,
23585
- {
23586
- chipSx: {
23587
- alignSelf: "center"
23588
- },
23589
- chipVariant: "dark",
23590
- values: value,
23591
- ...!disabled && {
23592
- onRemoveChip: (event, id) => {
23593
- onChange(
23594
- selectedItems.filter(
23595
- (i) => i.id !== id
23596
- )
23597
- );
23598
- event.stopPropagation();
23599
- }
23600
- },
23601
- numberLines: 1,
23602
- renderChipLabel: (id) => {
23603
- const item = selectedItems.find(
23604
- (i) => i.id === id
23585
+ )
23586
+ }
23587
+ ) });
23588
+ } else {
23589
+ component = /* @__PURE__ */ jsxs61(
23590
+ Stack_default,
23591
+ {
23592
+ direction: "row",
23593
+ alignItems: "center",
23594
+ gap: "8px",
23595
+ width: "100%",
23596
+ justifyContent: "space-between",
23597
+ children: [
23598
+ /* @__PURE__ */ jsx131(Stack_default, { flex: 1, minWidth: 0, children: /* @__PURE__ */ jsx131(
23599
+ ChipViewer_default,
23600
+ {
23601
+ chipSx: {
23602
+ alignSelf: "center"
23603
+ },
23604
+ chipVariant: "dark",
23605
+ values: value,
23606
+ ...!disabled && {
23607
+ onRemoveChip: (event, id) => {
23608
+ onChange(
23609
+ selectedItems.filter(
23610
+ (i) => i.id !== id
23611
+ )
23612
+ );
23613
+ event.stopPropagation();
23614
+ }
23615
+ },
23616
+ numberLines: 1,
23617
+ renderChipLabel: (id) => {
23618
+ const item = selectedItems.find(
23619
+ (i) => i.id === id
23620
+ );
23621
+ return item ? renderChipLabel(item) : "";
23622
+ },
23623
+ getWarningTooltip: (chipId) => {
23624
+ if (getWarningTooltip) {
23625
+ const selectedItem = selectedItems.find(
23626
+ (selectedItem2) => selectedItem2.id === chipId
23627
+ );
23628
+ if (selectedItem) {
23629
+ return getWarningTooltip(
23630
+ selectedItem
23605
23631
  );
23606
- return item ? renderChipLabel(item) : "";
23607
- },
23608
- getWarningTooltip: (chipId) => {
23609
- if (getWarningTooltip) {
23610
- const selectedItem = selectedItems.find(
23611
- (selectedItem2) => selectedItem2.id === chipId
23612
- );
23613
- if (selectedItem) {
23614
- return getWarningTooltip(
23615
- selectedItem
23616
- );
23617
- }
23618
- }
23619
- return "";
23620
- },
23621
- forceRecalculate: disabled
23632
+ }
23622
23633
  }
23623
- ) }),
23624
- !disabled && isMultiple() && value.length > 1 && /* @__PURE__ */ jsx131(
23625
- Tooltip_default,
23634
+ return "";
23635
+ },
23636
+ forceRecalculate: disabled
23637
+ }
23638
+ ) }),
23639
+ !disabled && isMultiple() && /* @__PURE__ */ jsx131(Stack_default, { minWidth: "32px", children: value.length > 1 && /* @__PURE__ */ jsx131(
23640
+ Tooltip_default,
23641
+ {
23642
+ title: t(
23643
+ "AUTOCOMPLETE.CLEAR"
23644
+ ),
23645
+ children: /* @__PURE__ */ jsx131(
23646
+ IconButton_default,
23626
23647
  {
23627
- title: t("AUTOCOMPLETE.CLEAR"),
23628
- children: /* @__PURE__ */ jsx131(
23629
- IconButton_default,
23630
- {
23631
- iconId: "close",
23632
- size: "M",
23633
- sx: {
23634
- padding: 0
23635
- },
23636
- onClick: (event) => {
23637
- onChange([]);
23638
- event.stopPropagation();
23639
- event.preventDefault();
23640
- },
23641
- "data-test": "clear-autocomplete"
23642
- }
23643
- )
23648
+ iconId: "close",
23649
+ size: "M",
23650
+ sx: {
23651
+ padding: 0
23652
+ },
23653
+ onClick: (event) => {
23654
+ onChange([]);
23655
+ event.stopPropagation();
23656
+ event.preventDefault();
23657
+ },
23658
+ "data-test": "clear-autocomplete"
23644
23659
  }
23645
23660
  )
23646
- ]
23647
- }
23648
- );
23661
+ }
23662
+ ) })
23663
+ ]
23649
23664
  }
23650
- return /* @__PURE__ */ jsxs61(
23651
- Stack_default,
23652
- {
23653
- direction: "row",
23654
- justifyContent: "space-between",
23655
- alignItems: "center",
23656
- height: "100%",
23657
- children: [
23658
- component,
23659
- /* @__PURE__ */ jsx131(
23660
- Divider_default,
23661
- {
23662
- variant: "middle",
23663
- orientation: "vertical",
23664
- flexItem: true
23665
- }
23666
- )
23667
- ]
23668
- }
23669
- );
23670
- },
23671
- sx: {
23672
- "& .MuiInputBase-input.MuiSelect-select": {
23673
- height: "34px",
23674
- lineHeight: "24px"
23675
- },
23676
- width: "100%",
23677
- ...isError ? {
23678
- borderColor: errorMain
23679
- } : {}
23680
- }
23665
+ );
23681
23666
  }
23682
- )
23667
+ return /* @__PURE__ */ jsxs61(
23668
+ Stack_default,
23669
+ {
23670
+ direction: "row",
23671
+ justifyContent: "space-between",
23672
+ alignItems: "center",
23673
+ height: "100%",
23674
+ children: [
23675
+ component,
23676
+ /* @__PURE__ */ jsx131(
23677
+ Divider_default,
23678
+ {
23679
+ variant: "middle",
23680
+ orientation: "vertical",
23681
+ flexItem: true
23682
+ }
23683
+ )
23684
+ ]
23685
+ }
23686
+ );
23687
+ },
23688
+ sx: {
23689
+ "& .MuiInputBase-input.MuiSelect-select": {
23690
+ height: "34px",
23691
+ lineHeight: "24px"
23692
+ },
23693
+ width: "100%",
23694
+ ...isError ? {
23695
+ borderColor: errorMain
23696
+ } : {}
23697
+ }
23683
23698
  }
23684
- ),
23699
+ ) }),
23685
23700
  helperText && /* @__PURE__ */ jsx131(InputHelperText_default, { severity: isError ? "error" : "info", children: helperText }),
23686
23701
  /* @__PURE__ */ jsx131(
23687
23702
  SelectPopover_default,
@@ -23735,7 +23750,8 @@ var ItemSelector = function ItemSelector2({
23735
23750
  itemsPerRow,
23736
23751
  itemsTitle,
23737
23752
  selectableItemComponent,
23738
- paddingContent
23753
+ paddingContent,
23754
+ onPendingSelectionChange
23739
23755
  }
23740
23756
  )
23741
23757
  ] });
@@ -23847,7 +23863,7 @@ var AutocompleteInputSelection = function AutocompleteInputSelection2({
23847
23863
  var AutocompleteInputSelection_default = AutocompleteInputSelection;
23848
23864
 
23849
23865
  // src/components/input/autocomplete/AutocompleteInput.tsx
23850
- import { Fragment as Fragment31, jsx as jsx133, jsxs as jsxs63 } from "react/jsx-runtime";
23866
+ import { Fragment as Fragment32, jsx as jsx133, jsxs as jsxs63 } from "react/jsx-runtime";
23851
23867
  var CLEAR_BUTTON_WIDTH = 36;
23852
23868
  var sizes6 = {
23853
23869
  XS: {
@@ -23890,7 +23906,7 @@ var AutocompleteInput = function AutocompleteInput2({
23890
23906
  const [isHover, setIsHover] = React73.useState(false);
23891
23907
  const dirty = !!inputValue || Array.isArray(value) && value.length > 0 || !Array.isArray(value) && !!value;
23892
23908
  const showClearButton = !disabled && dirty && !disableClear && (isOpenPopover || isHover);
23893
- return /* @__PURE__ */ jsx133(Fragment31, { children: /* @__PURE__ */ jsx133(
23909
+ return /* @__PURE__ */ jsx133(Fragment32, { children: /* @__PURE__ */ jsx133(
23894
23910
  DebouncedTextField_default,
23895
23911
  {
23896
23912
  ref: inputRef,
@@ -24086,7 +24102,7 @@ function getInitialListScroll({
24086
24102
  }
24087
24103
 
24088
24104
  // src/components/input/autocomplete/AutocompleteList.tsx
24089
- import { Fragment as Fragment32, jsx as jsx134, jsxs as jsxs64 } from "react/jsx-runtime";
24105
+ import { Fragment as Fragment33, jsx as jsx134, jsxs as jsxs64 } from "react/jsx-runtime";
24090
24106
  var AUTOCOMPLETE_ITEM_HEIGHT = 44;
24091
24107
  var AutocompleteList = function AutocompleteList2({
24092
24108
  options,
@@ -24149,7 +24165,7 @@ var AutocompleteList = function AutocompleteList2({
24149
24165
  option.id
24150
24166
  );
24151
24167
  };
24152
- return /* @__PURE__ */ jsx134(Fragment32, { children: /* @__PURE__ */ jsx134(
24168
+ return /* @__PURE__ */ jsx134(Fragment33, { children: /* @__PURE__ */ jsx134(
24153
24169
  ClickAwayListener,
24154
24170
  {
24155
24171
  onClickAway: (event) => onClickAwayPopover(
@@ -24222,7 +24238,7 @@ var AutocompleteList = function AutocompleteList2({
24222
24238
  var AutocompleteList_default = AutocompleteList;
24223
24239
 
24224
24240
  // src/components/input/autocomplete/Autocomplete.tsx
24225
- import { Fragment as Fragment33, jsx as jsx135, jsxs as jsxs65 } from "react/jsx-runtime";
24241
+ import { Fragment as Fragment34, jsx as jsx135, jsxs as jsxs65 } from "react/jsx-runtime";
24226
24242
  var MIN_AUTOCOMPLETE_WIDTH = "328px";
24227
24243
  var Autocomplete = function Autocomplete2({
24228
24244
  variant = "default",
@@ -24539,7 +24555,7 @@ var Autocomplete = function Autocomplete2({
24539
24555
  setNextIndexByValue(value2);
24540
24556
  onChange && onChange(event, value2);
24541
24557
  };
24542
- return /* @__PURE__ */ jsxs65(Fragment33, { children: [
24558
+ return /* @__PURE__ */ jsxs65(Fragment34, { children: [
24543
24559
  /* @__PURE__ */ jsx135(
24544
24560
  AutocompleteInput_default,
24545
24561
  {
@@ -24681,7 +24697,7 @@ var CodeEditor_default = React76.forwardRef(CodeEditor);
24681
24697
 
24682
24698
  // src/components/input/CodeEditorPopup.tsx
24683
24699
  import format from "html-format";
24684
- import { Fragment as Fragment34, jsx as jsx137, jsxs as jsxs66 } from "react/jsx-runtime";
24700
+ import { Fragment as Fragment35, jsx as jsx137, jsxs as jsxs66 } from "react/jsx-runtime";
24685
24701
  var FORMAT_CHARACTERS_LINE = 120;
24686
24702
  var FORMAT_NUMBER_SPACES_INDENTATION = 2;
24687
24703
  var CodeEditorPopup = ({
@@ -24724,7 +24740,7 @@ var CodeEditorPopup = ({
24724
24740
  " ".repeat(FORMAT_NUMBER_SPACES_INDENTATION),
24725
24741
  FORMAT_CHARACTERS_LINE
24726
24742
  );
24727
- return /* @__PURE__ */ jsxs66(Fragment34, { children: [
24743
+ return /* @__PURE__ */ jsxs66(Fragment35, { children: [
24728
24744
  readonly && /* @__PURE__ */ jsx137(
24729
24745
  Dialog_default,
24730
24746
  {
@@ -24890,7 +24906,7 @@ var CodeEditorPopup = ({
24890
24906
  var CodeEditorPopup_default = CodeEditorPopup;
24891
24907
 
24892
24908
  // src/components/input/TextEditor.tsx
24893
- import { Fragment as Fragment35, jsx as jsx138, jsxs as jsxs67 } from "react/jsx-runtime";
24909
+ import { Fragment as Fragment36, jsx as jsx138, jsxs as jsxs67 } from "react/jsx-runtime";
24894
24910
  var DEFAULT_TOOLBAR_INSERT_MENU_ITEMS = [
24895
24911
  "link",
24896
24912
  "image",
@@ -25176,7 +25192,7 @@ var TextEditor = function TextEditor2({
25176
25192
  };
25177
25193
  }
25178
25194
  };
25179
- return /* @__PURE__ */ jsxs67(Fragment35, { children: [
25195
+ return /* @__PURE__ */ jsxs67(Fragment36, { children: [
25180
25196
  /* @__PURE__ */ jsx138(
25181
25197
  Editor,
25182
25198
  {
@@ -25233,7 +25249,7 @@ var TextEditor_default = TextEditor;
25233
25249
 
25234
25250
  // src/components/input/PhoneField.tsx
25235
25251
  import * as React79 from "react";
25236
- import { Fragment as Fragment36, jsx as jsx139, jsxs as jsxs68 } from "react/jsx-runtime";
25252
+ import { Fragment as Fragment37, jsx as jsx139, jsxs as jsxs68 } from "react/jsx-runtime";
25237
25253
  var maxPhoneLengthWithPrefix = 16;
25238
25254
  var PhoneField = React79.forwardRef(function PhoneField2({
25239
25255
  value,
@@ -25319,7 +25335,7 @@ var PhoneField = React79.forwardRef(function PhoneField2({
25319
25335
  groupElements: true,
25320
25336
  ...rest,
25321
25337
  className: `Cn-PhoneField ${className}`,
25322
- startAdornment: /* @__PURE__ */ jsxs68(Fragment36, { children: [
25338
+ startAdornment: /* @__PURE__ */ jsxs68(Fragment37, { children: [
25323
25339
  rest.startAdornment,
25324
25340
  select
25325
25341
  ] }),
@@ -25754,7 +25770,7 @@ var DatePickerPopover = ({
25754
25770
  var DatePickerPopover_default = DatePickerPopover;
25755
25771
 
25756
25772
  // src/components/input/DatePicker.tsx
25757
- import { Fragment as Fragment37, jsx as jsx143, jsxs as jsxs71 } from "react/jsx-runtime";
25773
+ import { Fragment as Fragment38, jsx as jsx143, jsxs as jsxs71 } from "react/jsx-runtime";
25758
25774
  var DatePicker = React82.forwardRef(
25759
25775
  function DatePicker2({ value, onChange, onBlur, onKeyDown, minDate, maxDate, ...rest }, ref) {
25760
25776
  const { locale, timezone } = React82.useContext(IntlContext);
@@ -25830,7 +25846,7 @@ var DatePicker = React82.forwardRef(
25830
25846
  const text = value && !isNaN(value.getTime()) ? tz10(value, timezone).format(dateInputFormat) : "";
25831
25847
  setTextValue(text);
25832
25848
  }, [dateInputFormat, timezone, value]);
25833
- return /* @__PURE__ */ jsxs71(Fragment37, { children: [
25849
+ return /* @__PURE__ */ jsxs71(Fragment38, { children: [
25834
25850
  /* @__PURE__ */ jsx143(
25835
25851
  TextField_default,
25836
25852
  {
@@ -25873,7 +25889,7 @@ var DatePicker_default = DatePicker;
25873
25889
  // src/components/input/Checkbox.tsx
25874
25890
  import MuiCheckbox from "@mui/material/Checkbox";
25875
25891
  import { FormControlLabel, FormGroup } from "@mui/material";
25876
- import { Fragment as Fragment38, jsx as jsx144, jsxs as jsxs72 } from "react/jsx-runtime";
25892
+ import { Fragment as Fragment39, jsx as jsx144, jsxs as jsxs72 } from "react/jsx-runtime";
25877
25893
  var MaterialCheckbox = ({
25878
25894
  checked,
25879
25895
  disabled,
@@ -25906,7 +25922,7 @@ var Checkbox = ({
25906
25922
  inputClass,
25907
25923
  onChange,
25908
25924
  tabIndex
25909
- }) => /* @__PURE__ */ jsxs72(Fragment38, { children: [
25925
+ }) => /* @__PURE__ */ jsxs72(Fragment39, { children: [
25910
25926
  !label && /* @__PURE__ */ jsx144(
25911
25927
  MaterialCheckbox,
25912
25928
  {
@@ -25948,7 +25964,7 @@ var Checkbox_default = Checkbox;
25948
25964
  import * as React83 from "react";
25949
25965
  import MuiRadio from "@mui/material/Radio";
25950
25966
  import { FormControlLabel as FormControlLabel2 } from "@mui/material";
25951
- import { Fragment as Fragment39, jsx as jsx145, jsxs as jsxs73 } from "react/jsx-runtime";
25967
+ import { Fragment as Fragment40, jsx as jsx145, jsxs as jsxs73 } from "react/jsx-runtime";
25952
25968
  var Radio = React83.forwardRef(function Radio2({
25953
25969
  label,
25954
25970
  labelPlacement = "end",
@@ -25985,7 +26001,7 @@ var Radio = React83.forwardRef(function Radio2({
25985
26001
  size: size === "S" ? "small" : "medium"
25986
26002
  }
25987
26003
  );
25988
- return /* @__PURE__ */ jsxs73(Fragment39, { children: [
26004
+ return /* @__PURE__ */ jsxs73(Fragment40, { children: [
25989
26005
  !label && radio,
25990
26006
  label && /* @__PURE__ */ jsx145(
25991
26007
  FormControlLabel2,
@@ -26638,7 +26654,7 @@ var MarkdownRenderer_default = MarkdownRenderer;
26638
26654
 
26639
26655
  // src/components/navbar/Navbar.tsx
26640
26656
  import { Drawer as Drawer2 } from "@mui/material";
26641
- import { Fragment as Fragment40, jsx as jsx153, jsxs as jsxs78 } from "react/jsx-runtime";
26657
+ import { Fragment as Fragment41, jsx as jsx153, jsxs as jsxs78 } from "react/jsx-runtime";
26642
26658
  var Navbar = ({
26643
26659
  topContent,
26644
26660
  bottomContent,
@@ -26646,7 +26662,7 @@ var Navbar = ({
26646
26662
  drawerBottomContent,
26647
26663
  onClose,
26648
26664
  isDrawerOpen = false
26649
- }) => /* @__PURE__ */ jsxs78(Fragment40, { children: [
26665
+ }) => /* @__PURE__ */ jsxs78(Fragment41, { children: [
26650
26666
  /* @__PURE__ */ jsxs78(
26651
26667
  Box_default2,
26652
26668
  {
@@ -26870,7 +26886,7 @@ var NavbarLogo_default = NavbarLogo;
26870
26886
 
26871
26887
  // src/components/overlay/DonutFocusOverlay.tsx
26872
26888
  import * as React89 from "react";
26873
- import { Fragment as Fragment41, jsx as jsx157, jsxs as jsxs80 } from "react/jsx-runtime";
26889
+ import { Fragment as Fragment42, jsx as jsx157, jsxs as jsxs80 } from "react/jsx-runtime";
26874
26890
  var DonutFocusOverlay = ({
26875
26891
  isVisible,
26876
26892
  elementRef,
@@ -26911,7 +26927,7 @@ var DonutFocusOverlay = ({
26911
26927
  const internalTopHalfCircle = `${internalCircleRadius} ${internalCircleRadius} 0 0 1 ${startPointX + donutWidth + internalCircleRadius * 2} ${startPointY}`;
26912
26928
  const externalTopHalfCircle = `${externalCircleRadius} ${externalCircleRadius} 0 0 0 ${startPointX} ${startPointY}`;
26913
26929
  const path = `path("M ${startPointX} ${startPointY} A ${externalBottomHalfCircle} m ${-donutWidth} 0 A ${internalBottomHalfCircle} A ${internalTopHalfCircle} m ${donutWidth} 0 A ${externalTopHalfCircle} Z")`;
26914
- return /* @__PURE__ */ jsxs80(Fragment41, { children: [
26930
+ return /* @__PURE__ */ jsxs80(Fragment42, { children: [
26915
26931
  /* @__PURE__ */ jsx157(
26916
26932
  Box_default2,
26917
26933
  {
@@ -26956,7 +26972,7 @@ var DonutFocusOverlay = ({
26956
26972
  var DonutFocusOverlay_default = DonutFocusOverlay;
26957
26973
 
26958
26974
  // src/components/pager/Pager.tsx
26959
- import { Fragment as Fragment42, jsx as jsx158, jsxs as jsxs81 } from "react/jsx-runtime";
26975
+ import { Fragment as Fragment43, jsx as jsx158, jsxs as jsxs81 } from "react/jsx-runtime";
26960
26976
  var Pager = ({
26961
26977
  page,
26962
26978
  pageSize,
@@ -26982,7 +26998,7 @@ var Pager = ({
26982
26998
  sx: { minWidth: 78 }
26983
26999
  }
26984
27000
  ),
26985
- allowedPageSizes && /* @__PURE__ */ jsxs81(Fragment42, { children: [
27001
+ allowedPageSizes && /* @__PURE__ */ jsxs81(Fragment43, { children: [
26986
27002
  /* @__PURE__ */ jsx158(Label, { children: t("PAGER.ROWS_PER_PAGE") }),
26987
27003
  /* @__PURE__ */ jsx158(
26988
27004
  Select_default,
@@ -28626,7 +28642,7 @@ var WidgetTitle_default = WidgetTitle;
28626
28642
 
28627
28643
  // src/components/window/MinimizableWindow.tsx
28628
28644
  import * as React98 from "react";
28629
- import { Fragment as Fragment43, jsx as jsx185, jsxs as jsxs89 } from "react/jsx-runtime";
28645
+ import { Fragment as Fragment44, jsx as jsx185, jsxs as jsxs89 } from "react/jsx-runtime";
28630
28646
  var sizes7 = {
28631
28647
  M: 400,
28632
28648
  L: 500,
@@ -28744,7 +28760,7 @@ var MinimizableWindow = React98.forwardRef(function MinimizableWindow2({
28744
28760
  }
28745
28761
  }, 750);
28746
28762
  };
28747
- return /* @__PURE__ */ jsxs89(Fragment43, { children: [
28763
+ return /* @__PURE__ */ jsxs89(Fragment44, { children: [
28748
28764
  isDraggingState && /* @__PURE__ */ jsx185(
28749
28765
  Box_default2,
28750
28766
  {