@connectif/ui-components 3.0.0 → 3.0.1

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 Fragment36 = REACT_FRAGMENT_TYPE;
100
+ var Fragment37 = 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 = Fragment36;
159
+ exports.Fragment = Fragment37;
160
160
  exports.Lazy = Lazy;
161
161
  exports.Memo = Memo2;
162
162
  exports.Portal = Portal;
@@ -16078,104 +16078,138 @@ function parseDateForLocale(dateString, locale, timezone) {
16078
16078
  const m = tz({ year, month, date }, timezone);
16079
16079
  return m.isValid() ? m.toDate() : /* @__PURE__ */ new Date(NaN);
16080
16080
  }
16081
- function getDatesFromDateInterval(interval, maxSelectableDays, timezone, options) {
16081
+ function getDateRangeFromInterval(interval, maxSelectableDays, timezone) {
16082
16082
  const end = tz(timezone).startOf("day");
16083
16083
  const endDate = end.toDate();
16084
- let finalStartDate;
16085
- let finalEndDate;
16086
16084
  switch (interval) {
16087
- case "today": {
16088
- finalStartDate = end.toDate();
16089
- finalEndDate = end.add(1, "day").toDate();
16090
- break;
16091
- }
16092
- case "yesterday": {
16093
- finalStartDate = end.subtract(1, "day").toDate();
16094
- finalEndDate = endDate;
16095
- break;
16096
- }
16097
- case "thisWeekFromSunday": {
16098
- finalStartDate = end.clone().day(0).toDate();
16099
- finalEndDate = end.add(1, "day").toDate();
16100
- break;
16101
- }
16102
- case "thisWeekFromMonday": {
16103
- finalStartDate = end.clone().day(1).toDate();
16104
- finalEndDate = end.add(1, "day").toDate();
16105
- break;
16106
- }
16107
- case "thisMonth": {
16108
- finalStartDate = end.clone().date(1).toDate();
16109
- finalEndDate = end.add(1, "day").toDate();
16110
- break;
16111
- }
16112
- case "thisYear": {
16113
- finalStartDate = end.clone().month(0).date(1).toDate();
16114
- finalEndDate = end.add(1, "day").toDate();
16115
- break;
16116
- }
16117
- case "last7Days": {
16118
- finalStartDate = end.subtract(7, "days").toDate();
16119
- finalEndDate = endDate;
16120
- break;
16121
- }
16122
- case "last30Days": {
16123
- finalStartDate = end.subtract(30, "day").toDate();
16124
- finalEndDate = endDate;
16125
- break;
16126
- }
16127
- case "last90Days": {
16128
- finalStartDate = end.subtract(90, "day").toDate();
16129
- finalEndDate = endDate;
16130
- break;
16131
- }
16132
- case "last12Months": {
16133
- finalStartDate = end.subtract(12, "month").toDate();
16134
- finalEndDate = endDate;
16135
- break;
16136
- }
16137
- case "all": {
16138
- finalStartDate = end.subtract(maxSelectableDays - 1, "day").toDate();
16139
- finalEndDate = endDate;
16140
- break;
16141
- }
16085
+ case "today":
16086
+ return {
16087
+ startDate: end.toDate(),
16088
+ endDate: end.add(1, "day").toDate()
16089
+ };
16090
+ case "yesterday":
16091
+ return {
16092
+ startDate: end.clone().subtract(1, "day").toDate(),
16093
+ endDate
16094
+ };
16095
+ case "thisWeekFromSunday":
16096
+ return {
16097
+ startDate: end.clone().day(0).toDate(),
16098
+ endDate: end.clone().add(1, "day").toDate()
16099
+ };
16100
+ case "thisWeekFromMonday":
16101
+ return {
16102
+ startDate: end.clone().day(1).toDate(),
16103
+ endDate: end.clone().add(1, "day").toDate()
16104
+ };
16105
+ case "thisMonth":
16106
+ return {
16107
+ startDate: end.clone().date(1).toDate(),
16108
+ endDate: end.clone().add(1, "day").toDate()
16109
+ };
16110
+ case "thisYear":
16111
+ return {
16112
+ startDate: end.clone().month(0).date(1).toDate(),
16113
+ endDate: end.clone().add(1, "day").toDate()
16114
+ };
16115
+ case "last7Days":
16116
+ return {
16117
+ startDate: end.clone().subtract(7, "days").toDate(),
16118
+ endDate
16119
+ };
16120
+ case "last30Days":
16121
+ return {
16122
+ startDate: end.clone().subtract(30, "day").toDate(),
16123
+ endDate
16124
+ };
16125
+ case "last90Days":
16126
+ return {
16127
+ startDate: end.clone().subtract(90, "day").toDate(),
16128
+ endDate
16129
+ };
16130
+ case "last12Months":
16131
+ return {
16132
+ startDate: end.clone().subtract(12, "month").toDate(),
16133
+ endDate
16134
+ };
16135
+ case "all":
16136
+ return {
16137
+ startDate: end.clone().subtract(maxSelectableDays - 1, "day").toDate(),
16138
+ endDate
16139
+ };
16142
16140
  }
16143
- if (!options?.includeTime) {
16144
- return { startDate: finalStartDate, endDate: finalEndDate };
16145
- }
16146
- const now = tz(timezone);
16147
- const hour = now.hour();
16148
- const minute = now.minute();
16149
- const second = now.second();
16150
- const millisecond = now.millisecond();
16151
- const startMoment = tz(finalStartDate, timezone).hour(hour).minute(minute).second(second).millisecond(millisecond);
16152
- const endMoment = tz(finalEndDate, timezone).hour(hour).minute(minute).second(second).millisecond(millisecond);
16141
+ }
16142
+ function getDateRangeWithTimeFromInterval(interval, maxSelectableDays, timezone) {
16143
+ const currentMoment = tz(timezone);
16144
+ const currentDate = currentMoment.toDate();
16153
16145
  switch (interval) {
16154
16146
  case "today":
16155
16147
  return {
16156
- startDate: finalStartDate,
16157
- endDate: endMoment.toDate()
16148
+ startDate: currentMoment.clone().startOf("day").toDate(),
16149
+ endDate: currentDate
16158
16150
  };
16159
16151
  case "yesterday":
16160
16152
  return {
16161
- startDate: finalStartDate,
16162
- endDate: tz(finalEndDate, timezone).endOf("day").toDate()
16153
+ startDate: currentMoment.clone().subtract(1, "day").startOf("day").toDate(),
16154
+ endDate: currentMoment.clone().subtract(1, "day").endOf("day").toDate()
16163
16155
  };
16164
- case "thisYear":
16165
- case "thisMonth":
16166
- case "thisWeekFromMonday":
16167
16156
  case "thisWeekFromSunday":
16168
16157
  return {
16169
- startDate: finalStartDate,
16170
- endDate: endMoment.toDate()
16158
+ startDate: currentMoment.clone().day(0).startOf("day").toDate(),
16159
+ endDate: currentDate
16171
16160
  };
16172
- default:
16161
+ case "thisWeekFromMonday":
16173
16162
  return {
16174
- startDate: startMoment.toDate(),
16175
- endDate: endMoment.toDate()
16163
+ startDate: currentMoment.clone().day(1).startOf("day").toDate(),
16164
+ endDate: currentDate
16165
+ };
16166
+ case "thisMonth":
16167
+ return {
16168
+ startDate: currentMoment.clone().date(1).startOf("day").toDate(),
16169
+ endDate: currentDate
16170
+ };
16171
+ case "thisYear":
16172
+ return {
16173
+ startDate: currentMoment.clone().month(0).date(1).startOf("day").toDate(),
16174
+ endDate: currentDate
16175
+ };
16176
+ case "last7Days":
16177
+ return {
16178
+ startDate: currentMoment.clone().subtract(7, "days").toDate(),
16179
+ endDate: currentDate
16180
+ };
16181
+ case "last30Days":
16182
+ return {
16183
+ startDate: currentMoment.clone().subtract(30, "day").toDate(),
16184
+ endDate: currentDate
16185
+ };
16186
+ case "last90Days":
16187
+ return {
16188
+ startDate: currentMoment.clone().subtract(90, "day").toDate(),
16189
+ endDate: currentDate
16190
+ };
16191
+ case "last12Months":
16192
+ return {
16193
+ startDate: currentMoment.clone().subtract(12, "month").toDate(),
16194
+ endDate: currentDate
16195
+ };
16196
+ case "all":
16197
+ return {
16198
+ startDate: currentMoment.clone().subtract(maxSelectableDays - 1, "day").toDate(),
16199
+ endDate: currentDate
16176
16200
  };
16177
16201
  }
16178
16202
  }
16203
+ function getDatesFromDateInterval(interval, maxSelectableDays, timezone, options) {
16204
+ if (!options?.includeTime) {
16205
+ return getDateRangeFromInterval(interval, maxSelectableDays, timezone);
16206
+ }
16207
+ return getDateRangeWithTimeFromInterval(
16208
+ interval,
16209
+ maxSelectableDays,
16210
+ timezone
16211
+ );
16212
+ }
16179
16213
  function getComparisonInterval(comparisonInterval, startSimpleDate, endSimpleDate, timezone, minDate) {
16180
16214
  const startMoment = tz(
16181
16215
  {
@@ -16239,7 +16273,10 @@ function dateToSimpleDate(date, timezone) {
16239
16273
  day: momentDate.date()
16240
16274
  };
16241
16275
  }
16242
- function getDisplayEndDate(date, timezone) {
16276
+ function getDisplayEndDate(date, timezone, includeTime) {
16277
+ if (includeTime) {
16278
+ return tz(date, timezone).toDate();
16279
+ }
16243
16280
  return tz(date, timezone).subtract(1, "day").toDate();
16244
16281
  }
16245
16282
  function applyTimeToDate(date, time) {
@@ -17706,6 +17743,32 @@ function isValidPhoneNumber(phone) {
17706
17743
  const phoneRegex = /^\+[1-9]\d{6,14}$/;
17707
17744
  return phoneRegex.test(phone) && getCountryCode(phone) !== "";
17708
17745
  }
17746
+ function getPhoneNumber(phone) {
17747
+ const countryCode = getCountryCode(phone);
17748
+ if (!countryCode) {
17749
+ return phone;
17750
+ }
17751
+ return phone.substring(countryCode.length + 1);
17752
+ }
17753
+ function getCountryCodeWithPlus(phone) {
17754
+ const countryCode = getCountryCode(phone);
17755
+ if (!countryCode) {
17756
+ return "";
17757
+ }
17758
+ return `+${countryCode}`;
17759
+ }
17760
+ function formatPhone(phone, format2) {
17761
+ switch (format2) {
17762
+ case "country":
17763
+ return getCountryCodeWithPlus(phone);
17764
+ case "phone": {
17765
+ return getPhoneNumber(phone);
17766
+ }
17767
+ default: {
17768
+ return `${getCountryCodeWithPlus(phone)} ${getPhoneNumber(phone)}`.trim();
17769
+ }
17770
+ }
17771
+ }
17709
17772
 
17710
17773
  // src/components/formatter/CompactNumberFormatter.tsx
17711
17774
  import { Fragment as Fragment15, jsx as jsx84 } from "react/jsx-runtime";
@@ -17763,17 +17826,22 @@ var DateFormatter = ({ date, format: format2 }) => {
17763
17826
  };
17764
17827
  var DateFormatter_default = DateFormatter;
17765
17828
 
17829
+ // src/components/formatter/PhoneFormatter.tsx
17830
+ import { Fragment as Fragment20, jsx as jsx89 } from "react/jsx-runtime";
17831
+ var PhoneFormatter = ({ phone, format: format2 }) => /* @__PURE__ */ jsx89(Fragment20, { children: formatPhone(phone, format2) });
17832
+ var PhoneFormatter_default = PhoneFormatter;
17833
+
17766
17834
  // src/components/header/HeaderTitle.tsx
17767
17835
  import * as React43 from "react";
17768
- import { jsx as jsx89 } from "react/jsx-runtime";
17836
+ import { jsx as jsx90 } from "react/jsx-runtime";
17769
17837
  var HeaderTitle = ({ text }) => {
17770
17838
  const textElementRef = React43.useRef(null);
17771
- return /* @__PURE__ */ jsx89(
17839
+ return /* @__PURE__ */ jsx90(
17772
17840
  TextEllipsisTooltip_default,
17773
17841
  {
17774
17842
  title: text ?? "\xA0",
17775
17843
  textEllipsableElement: textElementRef,
17776
- children: /* @__PURE__ */ jsx89(
17844
+ children: /* @__PURE__ */ jsx90(
17777
17845
  Typography_default,
17778
17846
  {
17779
17847
  color: grey800,
@@ -17791,15 +17859,15 @@ var HeaderTitle_default = HeaderTitle;
17791
17859
 
17792
17860
  // src/components/header/HeaderSubtitle.tsx
17793
17861
  import * as React44 from "react";
17794
- import { jsx as jsx90 } from "react/jsx-runtime";
17862
+ import { jsx as jsx91 } from "react/jsx-runtime";
17795
17863
  var HeaderSubtitle = ({ text }) => {
17796
17864
  const textElementRef = React44.useRef(null);
17797
- return typeof text === "string" ? /* @__PURE__ */ jsx90(
17865
+ return typeof text === "string" ? /* @__PURE__ */ jsx91(
17798
17866
  TextEllipsisTooltip_default,
17799
17867
  {
17800
17868
  title: text ?? "\xA0",
17801
17869
  textEllipsableElement: textElementRef,
17802
- children: /* @__PURE__ */ jsx90(
17870
+ children: /* @__PURE__ */ jsx91(
17803
17871
  Typography_default,
17804
17872
  {
17805
17873
  color: grey800,
@@ -17811,12 +17879,12 @@ var HeaderSubtitle = ({ text }) => {
17811
17879
  }
17812
17880
  )
17813
17881
  }
17814
- ) : /* @__PURE__ */ jsx90(Typography_default, { color: grey800, component: "div", variant: "body1", noWrap: true, children: text });
17882
+ ) : /* @__PURE__ */ jsx91(Typography_default, { color: grey800, component: "div", variant: "body1", noWrap: true, children: text });
17815
17883
  };
17816
17884
  var HeaderSubtitle_default = HeaderSubtitle;
17817
17885
 
17818
17886
  // src/components/header/Header.tsx
17819
- import { jsx as jsx91, jsxs as jsxs40 } from "react/jsx-runtime";
17887
+ import { jsx as jsx92, jsxs as jsxs40 } from "react/jsx-runtime";
17820
17888
  var Header = ({
17821
17889
  title,
17822
17890
  subtitle,
@@ -17824,7 +17892,7 @@ var Header = ({
17824
17892
  isElevated = false,
17825
17893
  actions,
17826
17894
  children
17827
- }) => /* @__PURE__ */ jsx91(PageScrollContext.Consumer, { children: (value) => /* @__PURE__ */ jsx91(
17895
+ }) => /* @__PURE__ */ jsx92(PageScrollContext.Consumer, { children: (value) => /* @__PURE__ */ jsx92(
17828
17896
  Box_default2,
17829
17897
  {
17830
17898
  sx: {
@@ -17864,12 +17932,12 @@ var Header = ({
17864
17932
  overflow: "clip"
17865
17933
  },
17866
17934
  children: [
17867
- iconId && /* @__PURE__ */ jsx91(Avatar_default, { iconId, size: "L" }),
17868
- /* @__PURE__ */ jsx91(HeaderTitle_default, { text: title })
17935
+ iconId && /* @__PURE__ */ jsx92(Avatar_default, { iconId, size: "L" }),
17936
+ /* @__PURE__ */ jsx92(HeaderTitle_default, { text: title })
17869
17937
  ]
17870
17938
  }
17871
17939
  ),
17872
- /* @__PURE__ */ jsx91(
17940
+ /* @__PURE__ */ jsx92(
17873
17941
  Box_default2,
17874
17942
  {
17875
17943
  sx: {
@@ -17885,7 +17953,7 @@ var Header = ({
17885
17953
  ]
17886
17954
  }
17887
17955
  ),
17888
- subtitle && /* @__PURE__ */ jsx91(
17956
+ subtitle && /* @__PURE__ */ jsx92(
17889
17957
  Box_default2,
17890
17958
  {
17891
17959
  sx: {
@@ -17893,10 +17961,10 @@ var Header = ({
17893
17961
  ...iconId && { paddingLeft: "56px" },
17894
17962
  paddingBottom: "8px"
17895
17963
  },
17896
- children: /* @__PURE__ */ jsx91(HeaderSubtitle_default, { text: subtitle })
17964
+ children: /* @__PURE__ */ jsx92(HeaderSubtitle_default, { text: subtitle })
17897
17965
  }
17898
17966
  ),
17899
- children && /* @__PURE__ */ jsx91(Box_default2, { children })
17967
+ children && /* @__PURE__ */ jsx92(Box_default2, { children })
17900
17968
  ] })
17901
17969
  }
17902
17970
  ) });
@@ -17908,7 +17976,7 @@ import FilerobotImageEditor, {
17908
17976
  TABS,
17909
17977
  TOOLS
17910
17978
  } from "react-filerobot-image-editor";
17911
- import { jsx as jsx92 } from "react/jsx-runtime";
17979
+ import { jsx as jsx93 } from "react/jsx-runtime";
17912
17980
  var ImageEditor = ({
17913
17981
  imageUrl,
17914
17982
  maxWidth: maxWidth2,
@@ -18147,7 +18215,7 @@ var ImageEditor = ({
18147
18215
  document.head.removeChild(style3);
18148
18216
  };
18149
18217
  }, []);
18150
- return /* @__PURE__ */ jsx92(
18218
+ return /* @__PURE__ */ jsx93(
18151
18219
  Box_default2,
18152
18220
  {
18153
18221
  sx: {
@@ -18214,7 +18282,7 @@ var ImageEditor = ({
18214
18282
  },
18215
18283
  height: "100%"
18216
18284
  },
18217
- children: /* @__PURE__ */ jsx92(
18285
+ children: /* @__PURE__ */ jsx93(
18218
18286
  FilerobotImageEditor,
18219
18287
  {
18220
18288
  source: imageUrl,
@@ -18334,7 +18402,7 @@ function useResizeObserver() {
18334
18402
  }
18335
18403
 
18336
18404
  // src/components/info/InfoBox.tsx
18337
- import { jsx as jsx93, jsxs as jsxs41 } from "react/jsx-runtime";
18405
+ import { jsx as jsx94, jsxs as jsxs41 } from "react/jsx-runtime";
18338
18406
  var variantStyles2 = {
18339
18407
  default: {
18340
18408
  borderLeft: `2px solid ${electricLavender}`,
@@ -18379,7 +18447,7 @@ var InfoBox = ({
18379
18447
  ...sx && { sx }
18380
18448
  },
18381
18449
  children: [
18382
- /* @__PURE__ */ jsx93(
18450
+ /* @__PURE__ */ jsx94(
18383
18451
  Box_default2,
18384
18452
  {
18385
18453
  sx: !expanded && showExpandButton ? {
@@ -18397,7 +18465,7 @@ var InfoBox = ({
18397
18465
  children
18398
18466
  }
18399
18467
  ),
18400
- showExpandButton && /* @__PURE__ */ jsx93(
18468
+ showExpandButton && /* @__PURE__ */ jsx94(
18401
18469
  IconButton_default,
18402
18470
  {
18403
18471
  iconId: expanded ? "chevron-up" : "chevron-down",
@@ -18416,7 +18484,7 @@ var InfoBox_default = InfoBox;
18416
18484
  // src/components/input/TextFieldContainer.tsx
18417
18485
  import * as React47 from "react";
18418
18486
  import { lighten } from "@mui/material";
18419
- import { jsx as jsx94 } from "react/jsx-runtime";
18487
+ import { jsx as jsx95 } from "react/jsx-runtime";
18420
18488
  var TextFieldContainer = React47.forwardRef(function TextFieldContainer2({
18421
18489
  children,
18422
18490
  variant = "default",
@@ -18431,7 +18499,7 @@ var TextFieldContainer = React47.forwardRef(function TextFieldContainer2({
18431
18499
  sx,
18432
18500
  "data-test": dataTest
18433
18501
  }, ref) {
18434
- return /* @__PURE__ */ jsx94(
18502
+ return /* @__PURE__ */ jsx95(
18435
18503
  Box_default2,
18436
18504
  {
18437
18505
  className: `Cn-TextFieldContainer ${className}`,
@@ -18521,7 +18589,7 @@ import { styled as styled6 } from "@mui/material";
18521
18589
  // src/components/input/InputLabel.tsx
18522
18590
  import * as React48 from "react";
18523
18591
  import { styled as styled4 } from "@mui/material";
18524
- import { jsx as jsx95, jsxs as jsxs42 } from "react/jsx-runtime";
18592
+ import { jsx as jsx96, jsxs as jsxs42 } from "react/jsx-runtime";
18525
18593
  var severityColors = {
18526
18594
  info: grey900,
18527
18595
  error: errorMain
@@ -18547,7 +18615,7 @@ var InputLabel = React48.forwardRef(
18547
18615
  ref,
18548
18616
  children: [
18549
18617
  children,
18550
- infoText && /* @__PURE__ */ jsx95(Tooltip_default, { textVariant: "caption", title: infoText, children: /* @__PURE__ */ jsx95(
18618
+ infoText && /* @__PURE__ */ jsx96(Tooltip_default, { textVariant: "caption", title: infoText, children: /* @__PURE__ */ jsx96(
18551
18619
  Icon_default,
18552
18620
  {
18553
18621
  id: "information-outline",
@@ -18569,7 +18637,7 @@ var InputLabel_default = InputLabel;
18569
18637
  // src/components/input/InputHelperText.tsx
18570
18638
  import { styled as styled5 } from "@mui/material";
18571
18639
  import * as React49 from "react";
18572
- import { jsx as jsx96 } from "react/jsx-runtime";
18640
+ import { jsx as jsx97 } from "react/jsx-runtime";
18573
18641
  var severityColors2 = {
18574
18642
  info: grey800,
18575
18643
  error: errorMain
@@ -18585,13 +18653,13 @@ var StyledDiv = styled5("div", {
18585
18653
  );
18586
18654
  var InputHelperText = React49.forwardRef(
18587
18655
  function InputLabel3({ severity = "info", ...rest }, ref) {
18588
- return /* @__PURE__ */ jsx96(StyledDiv, { ...rest, ref, severity });
18656
+ return /* @__PURE__ */ jsx97(StyledDiv, { ...rest, ref, severity });
18589
18657
  }
18590
18658
  );
18591
18659
  var InputHelperText_default = InputHelperText;
18592
18660
 
18593
18661
  // src/components/input/TextField.tsx
18594
- import { Fragment as Fragment20, jsx as jsx97, jsxs as jsxs43 } from "react/jsx-runtime";
18662
+ import { Fragment as Fragment21, jsx as jsx98, jsxs as jsxs43 } from "react/jsx-runtime";
18595
18663
  var commonInputStylesOptions = {
18596
18664
  shouldForwardProp: (prop) => prop !== "variant" && prop !== "typographyVariant"
18597
18665
  };
@@ -18732,7 +18800,7 @@ var TextField = React50.forwardRef(function TextField2({
18732
18800
  gap: "8px"
18733
18801
  },
18734
18802
  children: [
18735
- iconId && /* @__PURE__ */ jsx97(
18803
+ iconId && /* @__PURE__ */ jsx98(
18736
18804
  Icon_default,
18737
18805
  {
18738
18806
  id: iconId,
@@ -18745,7 +18813,7 @@ var TextField = React50.forwardRef(function TextField2({
18745
18813
  }
18746
18814
  ),
18747
18815
  !groupElements && startAdornment,
18748
- multiline && /* @__PURE__ */ jsx97(
18816
+ multiline && /* @__PURE__ */ jsx98(
18749
18817
  StyledTextarea,
18750
18818
  {
18751
18819
  ref: ref || inputRef,
@@ -18779,7 +18847,7 @@ var TextField = React50.forwardRef(function TextField2({
18779
18847
  ...restProps
18780
18848
  }
18781
18849
  ),
18782
- !multiline && /* @__PURE__ */ jsx97(
18850
+ !multiline && /* @__PURE__ */ jsx98(
18783
18851
  StyledInput,
18784
18852
  {
18785
18853
  type,
@@ -18817,7 +18885,7 @@ var TextField = React50.forwardRef(function TextField2({
18817
18885
  gap: "8px"
18818
18886
  },
18819
18887
  children: [
18820
- existsClearButton && /* @__PURE__ */ jsx97(
18888
+ existsClearButton && /* @__PURE__ */ jsx98(
18821
18889
  IconButton_default,
18822
18890
  {
18823
18891
  size: "M",
@@ -18847,8 +18915,8 @@ var TextField = React50.forwardRef(function TextField2({
18847
18915
  ]
18848
18916
  }
18849
18917
  );
18850
- return /* @__PURE__ */ jsxs43(Fragment20, { children: [
18851
- label && /* @__PURE__ */ jsx97(
18918
+ return /* @__PURE__ */ jsxs43(Fragment21, { children: [
18919
+ label && /* @__PURE__ */ jsx98(
18852
18920
  InputLabel_default,
18853
18921
  {
18854
18922
  htmlFor: customId ?? id,
@@ -18901,7 +18969,7 @@ var TextField = React50.forwardRef(function TextField2({
18901
18969
  }
18902
18970
  ),
18903
18971
  !groupElements && getTextFieldContainer(),
18904
- helperText && /* @__PURE__ */ jsx97(
18972
+ helperText && /* @__PURE__ */ jsx98(
18905
18973
  InputHelperText_default,
18906
18974
  {
18907
18975
  severity: isError ? "error" : "info",
@@ -18916,7 +18984,7 @@ var TextField = React50.forwardRef(function TextField2({
18916
18984
  var TextField_default = TextField;
18917
18985
 
18918
18986
  // src/components/input/DebouncedTextField.tsx
18919
- import { jsx as jsx98 } from "react/jsx-runtime";
18987
+ import { jsx as jsx99 } from "react/jsx-runtime";
18920
18988
  var DebouncedTextField = React51.forwardRef(function DebouncedTextField2({ value, onChange, debounce = 100, ...rest }, ref) {
18921
18989
  const [text, setText] = useState15(value);
18922
18990
  const onChangeDebounced = useDebouncedCallback(
@@ -18930,7 +18998,7 @@ var DebouncedTextField = React51.forwardRef(function DebouncedTextField2({ value
18930
18998
  useEffect10(() => {
18931
18999
  setText(value);
18932
19000
  }, [value]);
18933
- return /* @__PURE__ */ jsx98(
19001
+ return /* @__PURE__ */ jsx99(
18934
19002
  TextField_default,
18935
19003
  {
18936
19004
  value: text,
@@ -18955,7 +19023,7 @@ import { tz as tz4 } from "moment-timezone";
18955
19023
 
18956
19024
  // src/components/popover/Popover.tsx
18957
19025
  import MuiPopover from "@mui/material/Popover";
18958
- import { jsx as jsx99 } from "react/jsx-runtime";
19026
+ import { jsx as jsx100 } from "react/jsx-runtime";
18959
19027
  var Popover = ({
18960
19028
  horizontalAlign = "center",
18961
19029
  anchorHorizontalOrigin = "center",
@@ -18963,7 +19031,7 @@ var Popover = ({
18963
19031
  anchorVerticalAlign = "bottom",
18964
19032
  centeredInScreen = false,
18965
19033
  ...props
18966
- }) => /* @__PURE__ */ jsx99(
19034
+ }) => /* @__PURE__ */ jsx100(
18967
19035
  MuiPopover,
18968
19036
  {
18969
19037
  disableRestoreFocus: props.disableRestoreFocus,
@@ -18996,7 +19064,7 @@ var Popover_default = Popover;
18996
19064
 
18997
19065
  // src/components/popover/PopoverActions.tsx
18998
19066
  import { Stack as Stack6 } from "@mui/material";
18999
- import { jsx as jsx100, jsxs as jsxs44 } from "react/jsx-runtime";
19067
+ import { jsx as jsx101, jsxs as jsxs44 } from "react/jsx-runtime";
19000
19068
  var PopoverActions = ({
19001
19069
  leftContent,
19002
19070
  rightContent,
@@ -19015,8 +19083,8 @@ var PopoverActions = ({
19015
19083
  ...sx
19016
19084
  },
19017
19085
  children: [
19018
- /* @__PURE__ */ jsx100("div", { children: leftContent }),
19019
- /* @__PURE__ */ jsx100("div", { children: rightContent })
19086
+ /* @__PURE__ */ jsx101("div", { children: leftContent }),
19087
+ /* @__PURE__ */ jsx101("div", { children: rightContent })
19020
19088
  ]
19021
19089
  }
19022
19090
  );
@@ -19034,7 +19102,7 @@ import { lighten as lighten2 } from "@mui/material";
19034
19102
 
19035
19103
  // src/components/input/CalendarDay.tsx
19036
19104
  import { useTheme as useTheme5 } from "@mui/material/styles";
19037
- import { jsx as jsx101 } from "react/jsx-runtime";
19105
+ import { jsx as jsx102 } from "react/jsx-runtime";
19038
19106
  var calendarDayButtonSize = 32;
19039
19107
  var CalendarDayButton = styled_default("button")({});
19040
19108
  var CalendarDay = ({
@@ -19052,7 +19120,7 @@ var CalendarDay = ({
19052
19120
  allowKeyboardNavigation = false
19053
19121
  }) => {
19054
19122
  const theme2 = useTheme5();
19055
- return /* @__PURE__ */ jsx101(
19123
+ return /* @__PURE__ */ jsx102(
19056
19124
  CalendarDayButton,
19057
19125
  {
19058
19126
  "data-testid": `calendar-day-${children}`,
@@ -19095,7 +19163,7 @@ var CalendarDay = ({
19095
19163
  },
19096
19164
  role: "button",
19097
19165
  onClick,
19098
- children: /* @__PURE__ */ jsx101(
19166
+ children: /* @__PURE__ */ jsx102(
19099
19167
  Typography_default,
19100
19168
  {
19101
19169
  sx: {
@@ -19123,7 +19191,7 @@ var CalendarDay = ({
19123
19191
  var CalendarDay_default = CalendarDay;
19124
19192
 
19125
19193
  // src/components/input/CalendarMonth.tsx
19126
- import { jsx as jsx102, jsxs as jsxs45 } from "react/jsx-runtime";
19194
+ import { jsx as jsx103, jsxs as jsxs45 } from "react/jsx-runtime";
19127
19195
  var bgColorLightCoefficient = 0.6;
19128
19196
  var CalendarMonth = ({
19129
19197
  minDate = null,
@@ -19301,7 +19369,7 @@ var CalendarMonth = ({
19301
19369
  },
19302
19370
  "data-testid": `calendar-month-${year}-${month}`,
19303
19371
  children: [
19304
- /* @__PURE__ */ jsx102(
19372
+ /* @__PURE__ */ jsx103(
19305
19373
  Typography_default,
19306
19374
  {
19307
19375
  sx: {
@@ -19312,7 +19380,7 @@ var CalendarMonth = ({
19312
19380
  textTransform: "uppercase"
19313
19381
  }
19314
19382
  },
19315
- children: /* @__PURE__ */ jsx102(
19383
+ children: /* @__PURE__ */ jsx103(
19316
19384
  DateFormatter_default,
19317
19385
  {
19318
19386
  date: firstDayOfMonth.toDate(),
@@ -19321,8 +19389,8 @@ var CalendarMonth = ({
19321
19389
  )
19322
19390
  }
19323
19391
  ),
19324
- isMonthInFullLine && indexOfDay > 0 && /* @__PURE__ */ jsx102("span", { style: { gridColumn: `span ${indexOfDay}` }, children: "\xA0" }),
19325
- dayList.map((day) => /* @__PURE__ */ jsx102(
19392
+ isMonthInFullLine && indexOfDay > 0 && /* @__PURE__ */ jsx103("span", { style: { gridColumn: `span ${indexOfDay}` }, children: "\xA0" }),
19393
+ dayList.map((day) => /* @__PURE__ */ jsx103(
19326
19394
  CalendarDay_default,
19327
19395
  {
19328
19396
  allowKeyboardNavigation,
@@ -19340,7 +19408,7 @@ var CalendarMonth_default = CalendarMonth;
19340
19408
 
19341
19409
  // src/components/input/DaysOfWeekRow.tsx
19342
19410
  import * as React53 from "react";
19343
- import { jsx as jsx103 } from "react/jsx-runtime";
19411
+ import { jsx as jsx104 } from "react/jsx-runtime";
19344
19412
  var DaysOfWeekRow = () => {
19345
19413
  const { locale, timezone } = React53.useContext(IntlContext);
19346
19414
  const daysOfWeekLong = React53.useMemo(
@@ -19351,7 +19419,7 @@ var DaysOfWeekRow = () => {
19351
19419
  () => getWeekDayNamesForLocale(locale, "narrow", timezone),
19352
19420
  [locale, timezone]
19353
19421
  );
19354
- return /* @__PURE__ */ jsx103(
19422
+ return /* @__PURE__ */ jsx104(
19355
19423
  Stack_default,
19356
19424
  {
19357
19425
  direction: "row",
@@ -19361,7 +19429,7 @@ var DaysOfWeekRow = () => {
19361
19429
  backgroundColor: grey100,
19362
19430
  alignItems: "center"
19363
19431
  },
19364
- children: daysOfWeek.map((day, index) => /* @__PURE__ */ jsx103(Tooltip_default, { title: daysOfWeekLong[index], children: /* @__PURE__ */ jsx103(
19432
+ children: daysOfWeek.map((day, index) => /* @__PURE__ */ jsx104(Tooltip_default, { title: daysOfWeekLong[index], children: /* @__PURE__ */ jsx104(
19365
19433
  Typography_default,
19366
19434
  {
19367
19435
  sx: {
@@ -19378,7 +19446,7 @@ var DaysOfWeekRow = () => {
19378
19446
  var DaysOfWeekRow_default = DaysOfWeekRow;
19379
19447
 
19380
19448
  // src/components/input/CalendarScrollPicker.tsx
19381
- import { jsx as jsx104, jsxs as jsxs46 } from "react/jsx-runtime";
19449
+ import { jsx as jsx105, jsxs as jsxs46 } from "react/jsx-runtime";
19382
19450
  var CalendarScrollPicker = ({
19383
19451
  minDate,
19384
19452
  maxDate,
@@ -19403,7 +19471,7 @@ var CalendarScrollPicker = ({
19403
19471
  }) => {
19404
19472
  const month = (minDate.month + index) % 12;
19405
19473
  const year = Math.floor((minDate.month + index) / 12) + minDate.year;
19406
- return /* @__PURE__ */ jsx104(Box_default2, { sx: { ...style3, paddingLeft: "8px", boxSizing: "border-box" }, children: /* @__PURE__ */ jsx104(
19474
+ return /* @__PURE__ */ jsx105(Box_default2, { sx: { ...style3, paddingLeft: "8px", boxSizing: "border-box" }, children: /* @__PURE__ */ jsx105(
19407
19475
  CalendarMonth_default,
19408
19476
  {
19409
19477
  minDate,
@@ -19428,14 +19496,14 @@ var CalendarScrollPicker = ({
19428
19496
  flexDirection: "column"
19429
19497
  },
19430
19498
  children: [
19431
- /* @__PURE__ */ jsx104(DaysOfWeekRow_default, {}),
19432
- /* @__PURE__ */ jsx104(
19499
+ /* @__PURE__ */ jsx105(DaysOfWeekRow_default, {}),
19500
+ /* @__PURE__ */ jsx105(
19433
19501
  Box_default2,
19434
19502
  {
19435
19503
  sx: {
19436
19504
  flex: "1 1 0"
19437
19505
  },
19438
- children: /* @__PURE__ */ jsx104(AutoSizer3, { children: ({ height: height2, width: width2 }) => /* @__PURE__ */ jsx104(
19506
+ children: /* @__PURE__ */ jsx105(AutoSizer3, { children: ({ height: height2, width: width2 }) => /* @__PURE__ */ jsx105(
19439
19507
  FixedSizeList,
19440
19508
  {
19441
19509
  ref: listRefCallback,
@@ -19457,7 +19525,7 @@ var CalendarScrollPicker = ({
19457
19525
  var CalendarScrollPicker_default = CalendarScrollPicker;
19458
19526
 
19459
19527
  // src/components/input/DateIntervalPickerList.tsx
19460
- import { jsx as jsx105, jsxs as jsxs47 } from "react/jsx-runtime";
19528
+ import { jsx as jsx106, jsxs as jsxs47 } from "react/jsx-runtime";
19461
19529
  var dateIntervals = {
19462
19530
  today: "TODAY",
19463
19531
  yesterday: "YESTERDAY",
@@ -19492,7 +19560,7 @@ var DateIntervalPickerList = ({
19492
19560
  }) => {
19493
19561
  const { t } = useTranslation();
19494
19562
  return /* @__PURE__ */ jsxs47(List_default, { children: [
19495
- Object.keys(dateIntervals).filter((i) => maxSelectableDays > 90 || !isLongInterval(i)).filter((i) => !allowedIntervals || allowedIntervals.includes(i)).map((key) => /* @__PURE__ */ jsx105(
19563
+ Object.keys(dateIntervals).filter((i) => maxSelectableDays > 90 || !isLongInterval(i)).filter((i) => !allowedIntervals || allowedIntervals.includes(i)).map((key) => /* @__PURE__ */ jsx106(
19496
19564
  ListItemButton_default,
19497
19565
  {
19498
19566
  text: t(
@@ -19504,13 +19572,13 @@ var DateIntervalPickerList = ({
19504
19572
  },
19505
19573
  key
19506
19574
  )),
19507
- allowCompare && /* @__PURE__ */ jsx105(Divider_default, {}),
19508
- allowCompare && /* @__PURE__ */ jsx105(
19575
+ allowCompare && /* @__PURE__ */ jsx106(Divider_default, {}),
19576
+ allowCompare && /* @__PURE__ */ jsx106(
19509
19577
  ListItem_default,
19510
19578
  {
19511
19579
  text: t("DATE_INTERVAL_PICKER.COMPARE"),
19512
19580
  typographyVariant: "body1",
19513
- endAdornment: /* @__PURE__ */ jsx105(
19581
+ endAdornment: /* @__PURE__ */ jsx106(
19514
19582
  Switch_default,
19515
19583
  {
19516
19584
  checked: isComparing,
@@ -19521,7 +19589,7 @@ var DateIntervalPickerList = ({
19521
19589
  ),
19522
19590
  allowCompare && Object.keys(comparisonIntervals).filter(
19523
19591
  (i) => maxSelectableDays > 90 || !isLongComparisonInterval(i)
19524
- ).map((key) => /* @__PURE__ */ jsx105(
19592
+ ).map((key) => /* @__PURE__ */ jsx106(
19525
19593
  ListItemButton_default,
19526
19594
  {
19527
19595
  disabled: !isComparing,
@@ -19547,14 +19615,14 @@ import { TimeField as MuiTimeField } from "@mui/x-date-pickers";
19547
19615
  import { LocalizationProvider } from "@mui/x-date-pickers/LocalizationProvider";
19548
19616
  import { AdapterMoment } from "@mui/x-date-pickers/AdapterMoment";
19549
19617
  import { tz as tz3 } from "moment-timezone";
19550
- import { jsx as jsx106 } from "react/jsx-runtime";
19618
+ import { jsx as jsx107 } from "react/jsx-runtime";
19551
19619
  var ExtendedTextField = ({
19552
19620
  inputProps,
19553
19621
  ownerState,
19554
19622
  InputProps,
19555
19623
  error,
19556
19624
  ...rest
19557
- }) => /* @__PURE__ */ jsx106(TextField_default, { ...inputProps, ...rest });
19625
+ }) => /* @__PURE__ */ jsx107(TextField_default, { ...inputProps, ...rest });
19558
19626
  var TimeField = function TimeField2({
19559
19627
  onChange,
19560
19628
  value,
@@ -19583,7 +19651,7 @@ var TimeField = function TimeField2({
19583
19651
  },
19584
19652
  [onChange]
19585
19653
  );
19586
- return /* @__PURE__ */ jsx106(LocalizationProvider, { dateAdapter: AdapterMoment, children: /* @__PURE__ */ jsx106(
19654
+ return /* @__PURE__ */ jsx107(LocalizationProvider, { dateAdapter: AdapterMoment, children: /* @__PURE__ */ jsx107(
19587
19655
  MuiTimeField,
19588
19656
  {
19589
19657
  onChange: _onChange,
@@ -19602,7 +19670,7 @@ var TimeField = function TimeField2({
19602
19670
  var TimeField_default = TimeField;
19603
19671
 
19604
19672
  // src/components/input/DateIntervalPickerInputs.tsx
19605
- import { jsx as jsx107, jsxs as jsxs48 } from "react/jsx-runtime";
19673
+ import { jsx as jsx108, jsxs as jsxs48 } from "react/jsx-runtime";
19606
19674
  var DateIntervalPickerInputs = ({
19607
19675
  startDate,
19608
19676
  startTime,
@@ -19633,7 +19701,7 @@ var DateIntervalPickerInputs = ({
19633
19701
  hourLabel,
19634
19702
  color: color3
19635
19703
  }) => /* @__PURE__ */ jsxs48(Stack7, { children: [
19636
- /* @__PURE__ */ jsx107(
19704
+ /* @__PURE__ */ jsx108(
19637
19705
  TextField_default,
19638
19706
  {
19639
19707
  "data-testid": dataTestId,
@@ -19647,7 +19715,7 @@ var DateIntervalPickerInputs = ({
19647
19715
  activeColor: color3
19648
19716
  }
19649
19717
  ),
19650
- showTime && /* @__PURE__ */ jsx107(
19718
+ showTime && /* @__PURE__ */ jsx108(
19651
19719
  TimeField_default,
19652
19720
  {
19653
19721
  activeColor: color3,
@@ -19691,7 +19759,7 @@ var DateIntervalPickerInputs = ({
19691
19759
  ]
19692
19760
  }
19693
19761
  ),
19694
- /* @__PURE__ */ jsx107(Collapse6, { in: isComparing, children: /* @__PURE__ */ jsxs48(
19762
+ /* @__PURE__ */ jsx108(Collapse6, { in: isComparing, children: /* @__PURE__ */ jsxs48(
19695
19763
  Box_default2,
19696
19764
  {
19697
19765
  sx: {
@@ -19723,7 +19791,7 @@ var DateIntervalPickerInputs = ({
19723
19791
  var DateIntervalPickerInputs_default = DateIntervalPickerInputs;
19724
19792
 
19725
19793
  // src/components/input/DateIntervalPickerPopover.tsx
19726
- import { jsx as jsx108, jsxs as jsxs49 } from "react/jsx-runtime";
19794
+ import { jsx as jsx109, jsxs as jsxs49 } from "react/jsx-runtime";
19727
19795
  var DateIntervalPickerPopover = ({
19728
19796
  interval,
19729
19797
  startDate,
@@ -19771,7 +19839,11 @@ var DateIntervalPickerPopover = ({
19771
19839
  timezone,
19772
19840
  { includeTime: !!showTime }
19773
19841
  );
19774
- const displayEndDate2 = getDisplayEndDate(result.endDate, timezone);
19842
+ const displayEndDate2 = getDisplayEndDate(
19843
+ result.endDate,
19844
+ timezone,
19845
+ !!showTime
19846
+ );
19775
19847
  return {
19776
19848
  startDate: dateInputFormatter(result.startDate),
19777
19849
  endDate: dateInputFormatter(displayEndDate2),
@@ -19825,8 +19897,8 @@ var DateIntervalPickerPopover = ({
19825
19897
  )
19826
19898
  };
19827
19899
  };
19828
- const displayEndDate = getDisplayEndDate(endDate, timezone);
19829
- const displayComparisonEndDate = comparisonEndDate && getDisplayEndDate(comparisonEndDate, timezone);
19900
+ const displayEndDate = getDisplayEndDate(endDate, timezone, !!showTime);
19901
+ const displayComparisonEndDate = comparisonEndDate && getDisplayEndDate(comparisonEndDate, timezone, !!showTime);
19830
19902
  const initialState = {
19831
19903
  interval,
19832
19904
  highlightedInput: "startDate",
@@ -19862,7 +19934,7 @@ var DateIntervalPickerPopover = ({
19862
19934
  });
19863
19935
  };
19864
19936
  const handleApply = () => {
19865
- const parseEndDate = (dateString) => tz4(parseDate(dateString), timezone).add(1, "day").toDate();
19937
+ const parseEndDate = (dateString) => showTime ? new Date(dateString) : tz4(parseDate(dateString), timezone).add(1, "day").toDate();
19866
19938
  onApply({
19867
19939
  interval: state.interval,
19868
19940
  startDate: applyTimeToDate(
@@ -20135,7 +20207,7 @@ var DateIntervalPickerPopover = ({
20135
20207
  maxWidth: `${250 + 8 * 2 + 32 * 7}px`
20136
20208
  },
20137
20209
  children: [
20138
- /* @__PURE__ */ jsx108(
20210
+ /* @__PURE__ */ jsx109(
20139
20211
  Box_default2,
20140
20212
  {
20141
20213
  sx: {
@@ -20147,7 +20219,7 @@ var DateIntervalPickerPopover = ({
20147
20219
  overflowY: "auto"
20148
20220
  },
20149
20221
  className: "Slim-Vertical-Scroll",
20150
- children: /* @__PURE__ */ jsx108(
20222
+ children: /* @__PURE__ */ jsx109(
20151
20223
  DateIntervalPickerList_default,
20152
20224
  {
20153
20225
  allowCompare,
@@ -20163,13 +20235,13 @@ var DateIntervalPickerPopover = ({
20163
20235
  )
20164
20236
  }
20165
20237
  ),
20166
- /* @__PURE__ */ jsx108(
20238
+ /* @__PURE__ */ jsx109(
20167
20239
  Box_default2,
20168
20240
  {
20169
20241
  sx: {
20170
20242
  gridArea: "inputs"
20171
20243
  },
20172
- children: /* @__PURE__ */ jsx108(
20244
+ children: /* @__PURE__ */ jsx109(
20173
20245
  DateIntervalPickerInputs_default,
20174
20246
  {
20175
20247
  color: color2,
@@ -20194,13 +20266,13 @@ var DateIntervalPickerPopover = ({
20194
20266
  )
20195
20267
  }
20196
20268
  ),
20197
- /* @__PURE__ */ jsx108(
20269
+ /* @__PURE__ */ jsx109(
20198
20270
  Box_default2,
20199
20271
  {
20200
20272
  sx: {
20201
20273
  gridArea: "calendar"
20202
20274
  },
20203
- children: /* @__PURE__ */ jsx108(
20275
+ children: /* @__PURE__ */ jsx109(
20204
20276
  CalendarScrollPicker_default,
20205
20277
  {
20206
20278
  minDate: {
@@ -20239,11 +20311,11 @@ var DateIntervalPickerPopover = ({
20239
20311
  ]
20240
20312
  }
20241
20313
  ),
20242
- /* @__PURE__ */ jsx108(
20314
+ /* @__PURE__ */ jsx109(
20243
20315
  PopoverActions_default,
20244
20316
  {
20245
20317
  sx: { padding: "16px 24px" },
20246
- leftContent: /* @__PURE__ */ jsx108(
20318
+ leftContent: /* @__PURE__ */ jsx109(
20247
20319
  Button_default,
20248
20320
  {
20249
20321
  variant: "contained",
@@ -20252,7 +20324,7 @@ var DateIntervalPickerPopover = ({
20252
20324
  text: t("DATE_INTERVAL_PICKER.CANCEL")
20253
20325
  }
20254
20326
  ),
20255
- rightContent: /* @__PURE__ */ jsx108(
20327
+ rightContent: /* @__PURE__ */ jsx109(
20256
20328
  Button_default,
20257
20329
  {
20258
20330
  variant: "contained",
@@ -20269,7 +20341,7 @@ var DateIntervalPickerPopover_default = DateIntervalPickerPopover;
20269
20341
 
20270
20342
  // src/components/input/DateIntervalPicker.tsx
20271
20343
  import { tz as tz5 } from "moment-timezone";
20272
- import { jsx as jsx109, jsxs as jsxs50 } from "react/jsx-runtime";
20344
+ import { jsx as jsx110, jsxs as jsxs50 } from "react/jsx-runtime";
20273
20345
  var DateIntervalPicker = ({
20274
20346
  interval,
20275
20347
  startDate,
@@ -20307,7 +20379,7 @@ var DateIntervalPicker = ({
20307
20379
  }
20308
20380
  setAnchorEl(null);
20309
20381
  };
20310
- const displayEndDate = getDisplayEndDate(endDate, timezone);
20382
+ const displayEndDate = getDisplayEndDate(endDate, timezone, !!showTime);
20311
20383
  const isEndDateVisible = !isSameDate(startDate, displayEndDate);
20312
20384
  const internalMaxDate = maxDate ?? tz5(timezone).toDate();
20313
20385
  const internalMinDate = minDate ?? tz5(internalMaxDate, timezone).subtract(maxSelectableDays - 1, "days").toDate();
@@ -20327,7 +20399,7 @@ var DateIntervalPicker = ({
20327
20399
  disabled,
20328
20400
  onClick: handleButtonClick,
20329
20401
  children: [
20330
- /* @__PURE__ */ jsx109(
20402
+ /* @__PURE__ */ jsx110(
20331
20403
  "span",
20332
20404
  {
20333
20405
  style: {
@@ -20337,7 +20409,7 @@ var DateIntervalPicker = ({
20337
20409
  borderRadius: "2px",
20338
20410
  alignSelf: "center"
20339
20411
  },
20340
- children: /* @__PURE__ */ jsx109(Typography_default, { variant: "body2", children: t(
20412
+ children: /* @__PURE__ */ jsx110(Typography_default, { variant: "body2", children: t(
20341
20413
  `DATE_INTERVAL_PICKER.DATE_INTERVALS.${dateIntervals[interval]}`
20342
20414
  ) })
20343
20415
  }
@@ -20352,7 +20424,7 @@ var DateIntervalPicker = ({
20352
20424
  },
20353
20425
  children: [
20354
20426
  /* @__PURE__ */ jsxs50("div", { children: [
20355
- /* @__PURE__ */ jsx109(
20427
+ /* @__PURE__ */ jsx110(
20356
20428
  DateFormatter_default,
20357
20429
  {
20358
20430
  date: startDate,
@@ -20362,7 +20434,7 @@ var DateIntervalPicker = ({
20362
20434
  }
20363
20435
  ),
20364
20436
  isEndDateVisible && " - ",
20365
- isEndDateVisible && /* @__PURE__ */ jsx109(
20437
+ isEndDateVisible && /* @__PURE__ */ jsx110(
20366
20438
  DateFormatter_default,
20367
20439
  {
20368
20440
  date: displayEndDate,
@@ -20383,7 +20455,7 @@ var DateIntervalPicker = ({
20383
20455
  children: [
20384
20456
  t("DATE_INTERVAL_PICKER.COMPARE"),
20385
20457
  ": ",
20386
- /* @__PURE__ */ jsx109(
20458
+ /* @__PURE__ */ jsx110(
20387
20459
  DateFormatter_default,
20388
20460
  {
20389
20461
  date: comparisonStartDate,
@@ -20393,7 +20465,7 @@ var DateIntervalPicker = ({
20393
20465
  }
20394
20466
  ),
20395
20467
  " - ",
20396
- /* @__PURE__ */ jsx109(
20468
+ /* @__PURE__ */ jsx110(
20397
20469
  DateFormatter_default,
20398
20470
  {
20399
20471
  date: comparisonEndDate,
@@ -20408,11 +20480,11 @@ var DateIntervalPicker = ({
20408
20480
  ]
20409
20481
  }
20410
20482
  ),
20411
- /* @__PURE__ */ jsx109(Icon_default, { id: "menu-down", sx: { color: grey400 } })
20483
+ /* @__PURE__ */ jsx110(Icon_default, { id: "menu-down", sx: { color: grey400 } })
20412
20484
  ]
20413
20485
  }
20414
20486
  ),
20415
- anchorEl !== null && /* @__PURE__ */ jsx109(
20487
+ anchorEl !== null && /* @__PURE__ */ jsx110(
20416
20488
  DateIntervalPickerPopover_default,
20417
20489
  {
20418
20490
  ...{
@@ -20445,7 +20517,7 @@ var DateIntervalPicker_default = DateIntervalPicker;
20445
20517
  // src/components/input/SelectPopoverItem.tsx
20446
20518
  import { Grid as Grid2, Stack as Stack8 } from "@mui/material";
20447
20519
  import { lighten as lighten3 } from "@mui/material";
20448
- import { Fragment as Fragment21, jsx as jsx110, jsxs as jsxs51 } from "react/jsx-runtime";
20520
+ import { Fragment as Fragment22, jsx as jsx111, jsxs as jsxs51 } from "react/jsx-runtime";
20449
20521
  var bgColorLightCoefficient2 = 0.9;
20450
20522
  var SelectPopoverItem = ({
20451
20523
  id,
@@ -20459,7 +20531,7 @@ var SelectPopoverItem = ({
20459
20531
  tooltip,
20460
20532
  isLoadingSubtitle2,
20461
20533
  onClick
20462
- }) => /* @__PURE__ */ jsx110(Tooltip_default, { title: tooltip || "", children: /* @__PURE__ */ jsx110(
20534
+ }) => /* @__PURE__ */ jsx111(Tooltip_default, { title: tooltip || "", children: /* @__PURE__ */ jsx111(
20463
20535
  Grid2,
20464
20536
  {
20465
20537
  size: {
@@ -20493,7 +20565,7 @@ var SelectPopoverItem = ({
20493
20565
  boxSizing: "border-box"
20494
20566
  },
20495
20567
  children: [
20496
- /* @__PURE__ */ jsx110(
20568
+ /* @__PURE__ */ jsx111(
20497
20569
  TextEllipsis_default,
20498
20570
  {
20499
20571
  color: Colors_exports.grey800,
@@ -20502,8 +20574,8 @@ var SelectPopoverItem = ({
20502
20574
  cursor: disabled ? "default" : "pointer"
20503
20575
  },
20504
20576
  typographyVariant: "body1",
20505
- text: /* @__PURE__ */ jsxs51(Fragment21, { children: [
20506
- iconId && /* @__PURE__ */ jsx110(
20577
+ text: /* @__PURE__ */ jsxs51(Fragment22, { children: [
20578
+ iconId && /* @__PURE__ */ jsx111(
20507
20579
  Icon_default,
20508
20580
  {
20509
20581
  id: iconId,
@@ -20521,7 +20593,7 @@ var SelectPopoverItem = ({
20521
20593
  ] })
20522
20594
  }
20523
20595
  ),
20524
- subtitle1 && /* @__PURE__ */ jsx110(
20596
+ subtitle1 && /* @__PURE__ */ jsx111(
20525
20597
  Typography_default,
20526
20598
  {
20527
20599
  variant: "body2",
@@ -20531,7 +20603,7 @@ var SelectPopoverItem = ({
20531
20603
  children: subtitle1
20532
20604
  }
20533
20605
  ),
20534
- isLoadingSubtitle2 && /* @__PURE__ */ jsx110(
20606
+ isLoadingSubtitle2 && /* @__PURE__ */ jsx111(
20535
20607
  Skeleton_default,
20536
20608
  {
20537
20609
  variant: "text",
@@ -20543,7 +20615,7 @@ var SelectPopoverItem = ({
20543
20615
  }
20544
20616
  }
20545
20617
  ),
20546
- subtitle2 && !isLoadingSubtitle2 && /* @__PURE__ */ jsx110(
20618
+ subtitle2 && !isLoadingSubtitle2 && /* @__PURE__ */ jsx111(
20547
20619
  Typography_default,
20548
20620
  {
20549
20621
  variant: "body2",
@@ -20556,7 +20628,7 @@ var SelectPopoverItem = ({
20556
20628
  ]
20557
20629
  }
20558
20630
  ),
20559
- chipText && /* @__PURE__ */ jsx110(Box_default2, { sx: { minWidth: "72px", flexShrink: 0 }, children: /* @__PURE__ */ jsx110(
20631
+ chipText && /* @__PURE__ */ jsx111(Box_default2, { sx: { minWidth: "72px", flexShrink: 0 }, children: /* @__PURE__ */ jsx111(
20560
20632
  Chip_default,
20561
20633
  {
20562
20634
  label: chipText,
@@ -20587,7 +20659,7 @@ import MuiSelect from "@mui/material/Select";
20587
20659
  import InputBase from "@mui/material/InputBase";
20588
20660
  import { FixedSizeList as FixedSizeList2 } from "react-window";
20589
20661
  import AutoSizer4 from "react-virtualized-auto-sizer";
20590
- import { jsx as jsx111 } from "react/jsx-runtime";
20662
+ import { jsx as jsx112 } from "react/jsx-runtime";
20591
20663
  var BootstrapInput = styled7(InputBase)(() => ({
20592
20664
  boxShadow: shadows[0],
20593
20665
  borderRadius: "16px",
@@ -20618,7 +20690,7 @@ var BootstrapInput = styled7(InputBase)(() => ({
20618
20690
  borderColor: grey800
20619
20691
  }
20620
20692
  }));
20621
- var ChevronIcon = ({ disabled = false }) => /* @__PURE__ */ jsx111(
20693
+ var ChevronIcon = ({ disabled = false }) => /* @__PURE__ */ jsx112(
20622
20694
  Icon_default,
20623
20695
  {
20624
20696
  id: "chevron-down",
@@ -20636,7 +20708,7 @@ var SelectOption = ({
20636
20708
  selected,
20637
20709
  colors,
20638
20710
  ...rest
20639
- }) => /* @__PURE__ */ jsx111(
20711
+ }) => /* @__PURE__ */ jsx112(
20640
20712
  ListItemButton_default,
20641
20713
  {
20642
20714
  role: "option",
@@ -20703,7 +20775,7 @@ var Select = function Select2({
20703
20775
  }) => {
20704
20776
  const { value: currentValue, label, ...rest2 } = options[index];
20705
20777
  const isSelected = value === currentValue;
20706
- return /* @__PURE__ */ jsx111(
20778
+ return /* @__PURE__ */ jsx112(
20707
20779
  ListItemButton_default,
20708
20780
  {
20709
20781
  text: label ?? currentValue?.toString() ?? "",
@@ -20734,7 +20806,7 @@ var Select = function Select2({
20734
20806
  currentValue ?? ""
20735
20807
  );
20736
20808
  };
20737
- const getVirtualizedSelect = () => /* @__PURE__ */ jsx111(
20809
+ const getVirtualizedSelect = () => /* @__PURE__ */ jsx112(
20738
20810
  MuiSelect,
20739
20811
  {
20740
20812
  className: `Cn-Select ${className}`,
@@ -20770,8 +20842,8 @@ var Select = function Select2({
20770
20842
  displayEmpty: true,
20771
20843
  variant: "standard",
20772
20844
  value,
20773
- IconComponent: () => /* @__PURE__ */ jsx111(ChevronIcon, { disabled: rest.disabled }),
20774
- input: /* @__PURE__ */ jsx111(BootstrapInput, { placeholder }),
20845
+ IconComponent: () => /* @__PURE__ */ jsx112(ChevronIcon, { disabled: rest.disabled }),
20846
+ input: /* @__PURE__ */ jsx112(BootstrapInput, { placeholder }),
20775
20847
  onOpen: () => {
20776
20848
  setOpen(true);
20777
20849
  onOpen && onOpen();
@@ -20787,7 +20859,7 @@ var Select = function Select2({
20787
20859
  return renderValue(value2, options);
20788
20860
  }
20789
20861
  if (!value2) {
20790
- return /* @__PURE__ */ jsx111("span", { style: { color: grey900 }, children: placeholder });
20862
+ return /* @__PURE__ */ jsx112("span", { style: { color: grey900 }, children: placeholder });
20791
20863
  }
20792
20864
  return options.find((o) => o.value === value2)?.label ?? value2;
20793
20865
  },
@@ -20820,7 +20892,7 @@ var Select = function Select2({
20820
20892
  }
20821
20893
  }
20822
20894
  },
20823
- children: /* @__PURE__ */ jsx111(AutoSizer4, { disableWidth: true, children: ({ height: height2 }) => /* @__PURE__ */ jsx111(
20895
+ children: /* @__PURE__ */ jsx112(AutoSizer4, { disableWidth: true, children: ({ height: height2 }) => /* @__PURE__ */ jsx112(
20824
20896
  FixedSizeList2,
20825
20897
  {
20826
20898
  height: height2,
@@ -20834,7 +20906,7 @@ var Select = function Select2({
20834
20906
  ) })
20835
20907
  }
20836
20908
  );
20837
- const getNotVirtualizedSelect = () => /* @__PURE__ */ jsx111(
20909
+ const getNotVirtualizedSelect = () => /* @__PURE__ */ jsx112(
20838
20910
  MuiSelect,
20839
20911
  {
20840
20912
  className: `Cn-Select ${className}`,
@@ -20874,9 +20946,9 @@ var Select = function Select2({
20874
20946
  },
20875
20947
  multiple,
20876
20948
  value,
20877
- IconComponent: () => /* @__PURE__ */ jsx111(ChevronIcon, { disabled: rest.disabled }),
20949
+ IconComponent: () => /* @__PURE__ */ jsx112(ChevronIcon, { disabled: rest.disabled }),
20878
20950
  open,
20879
- input: /* @__PURE__ */ jsx111(BootstrapInput, { placeholder }),
20951
+ input: /* @__PURE__ */ jsx112(BootstrapInput, { placeholder }),
20880
20952
  onOpen: () => {
20881
20953
  setOpen(true);
20882
20954
  onOpen && onOpen();
@@ -20892,7 +20964,7 @@ var Select = function Select2({
20892
20964
  }
20893
20965
  if (Array.isArray(value2)) {
20894
20966
  if (value2.length === 0) {
20895
- return /* @__PURE__ */ jsx111("span", { style: { color: grey900 }, children: placeholder });
20967
+ return /* @__PURE__ */ jsx112("span", { style: { color: grey900 }, children: placeholder });
20896
20968
  } else {
20897
20969
  return value2.map((v) => {
20898
20970
  const option = options.find((o) => o.value === v);
@@ -20901,7 +20973,7 @@ var Select = function Select2({
20901
20973
  }
20902
20974
  } else {
20903
20975
  if (!value2) {
20904
- return /* @__PURE__ */ jsx111("span", { style: { color: grey900 }, children: placeholder });
20976
+ return /* @__PURE__ */ jsx112("span", { style: { color: grey900 }, children: placeholder });
20905
20977
  }
20906
20978
  return options.find((o) => o.value === value2)?.label ?? value2;
20907
20979
  }
@@ -20926,7 +20998,7 @@ var Select = function Select2({
20926
20998
  }
20927
20999
  },
20928
21000
  ...rest,
20929
- children: children ?? options.map(({ label, value: value2, ...rest2 }) => /* @__PURE__ */ jsx111(
21001
+ children: children ?? options.map(({ label, value: value2, ...rest2 }) => /* @__PURE__ */ jsx112(
20930
21002
  SelectOption,
20931
21003
  {
20932
21004
  label: label ?? value2?.toString() ?? "",
@@ -20943,7 +21015,7 @@ var Select = function Select2({
20943
21015
  var Select_default = React58.forwardRef(Select);
20944
21016
 
20945
21017
  // src/components/input/TimezoneSelector.tsx
20946
- import { jsx as jsx112 } from "react/jsx-runtime";
21018
+ import { jsx as jsx113 } from "react/jsx-runtime";
20947
21019
  var TimezoneSelector = ({
20948
21020
  initialTimezone,
20949
21021
  onTimezoneChange
@@ -20954,7 +21026,7 @@ var TimezoneSelector = ({
20954
21026
  onTimezoneChange(timezone);
20955
21027
  };
20956
21028
  const timeZones = moment2.tz.names();
20957
- return /* @__PURE__ */ jsx112(
21029
+ return /* @__PURE__ */ jsx113(
20958
21030
  Select_default,
20959
21031
  {
20960
21032
  value: selectedTimezone,
@@ -20968,7 +21040,7 @@ var TimezoneSelector_default = TimezoneSelector;
20968
21040
 
20969
21041
  // src/components/input/DaysOfWeekPicker.tsx
20970
21042
  import * as React60 from "react";
20971
- import { jsx as jsx113 } from "react/jsx-runtime";
21043
+ import { jsx as jsx114 } from "react/jsx-runtime";
20972
21044
  var DaysOfWeekPicker = ({ value, onChange }) => {
20973
21045
  const { locale, timezone } = React60.useContext(IntlContext);
20974
21046
  const daysOfWeekLong = React60.useMemo(
@@ -20988,7 +21060,7 @@ var DaysOfWeekPicker = ({ value, onChange }) => {
20988
21060
  "saturday",
20989
21061
  "sunday"
20990
21062
  ];
20991
- return /* @__PURE__ */ jsx113(
21063
+ return /* @__PURE__ */ jsx114(
20992
21064
  Stack_default,
20993
21065
  {
20994
21066
  direction: "row",
@@ -20997,7 +21069,7 @@ var DaysOfWeekPicker = ({ value, onChange }) => {
20997
21069
  height: "34px",
20998
21070
  alignItems: "center"
20999
21071
  },
21000
- children: daysOfWeek.map((day, index) => /* @__PURE__ */ jsx113("div", { style: { margin: "0 2px" }, children: /* @__PURE__ */ jsx113(
21072
+ children: daysOfWeek.map((day, index) => /* @__PURE__ */ jsx114("div", { style: { margin: "0 2px" }, children: /* @__PURE__ */ jsx114(
21001
21073
  ToggleButton_default,
21002
21074
  {
21003
21075
  sx: {
@@ -21020,7 +21092,7 @@ var DaysOfWeekPicker = ({ value, onChange }) => {
21020
21092
  onChange(value.concat([currentValue]));
21021
21093
  }
21022
21094
  },
21023
- children: /* @__PURE__ */ jsx113(Tooltip_default, { title: daysOfWeekLong[index], children: /* @__PURE__ */ jsx113("span", { children: day }) }, index)
21095
+ children: /* @__PURE__ */ jsx114(Tooltip_default, { title: daysOfWeekLong[index], children: /* @__PURE__ */ jsx114("span", { children: day }) }, index)
21024
21096
  }
21025
21097
  ) }, index))
21026
21098
  }
@@ -21033,7 +21105,7 @@ import * as React61 from "react";
21033
21105
  import GradientColorPicker, {
21034
21106
  useColorPicker
21035
21107
  } from "react-best-gradient-color-picker";
21036
- import { Fragment as Fragment22, jsx as jsx114, jsxs as jsxs52 } from "react/jsx-runtime";
21108
+ import { Fragment as Fragment23, jsx as jsx115, jsxs as jsxs52 } from "react/jsx-runtime";
21037
21109
  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+))?\)$/;
21038
21110
  var isValidColor = (color2) => colorRegex.test(color2);
21039
21111
  var colorPickerDefaultColors = [
@@ -21104,7 +21176,7 @@ var ColorPicker = React61.forwardRef(function ColorPickerWrapper({
21104
21176
  return hex.length === 1 ? "0" + hex : hex;
21105
21177
  }).join("");
21106
21178
  };
21107
- const iconColor = /* @__PURE__ */ jsx114(
21179
+ const iconColor = /* @__PURE__ */ jsx115(
21108
21180
  IconButton_default,
21109
21181
  {
21110
21182
  iconId: value ? "color-square" : "transparent",
@@ -21126,8 +21198,8 @@ var ColorPicker = React61.forwardRef(function ColorPickerWrapper({
21126
21198
  handleColorChange(internalPickerValue);
21127
21199
  }
21128
21200
  }, [value, internalPickerValue, onChange, isValidPickerChange, valueToHex]);
21129
- return /* @__PURE__ */ jsxs52(Fragment22, { children: [
21130
- /* @__PURE__ */ jsx114(
21201
+ return /* @__PURE__ */ jsxs52(Fragment23, { children: [
21202
+ /* @__PURE__ */ jsx115(
21131
21203
  TextField_default,
21132
21204
  {
21133
21205
  value: textFieldValue,
@@ -21152,7 +21224,7 @@ var ColorPicker = React61.forwardRef(function ColorPickerWrapper({
21152
21224
  ref
21153
21225
  }
21154
21226
  ),
21155
- /* @__PURE__ */ jsx114(
21227
+ /* @__PURE__ */ jsx115(
21156
21228
  Popover_default,
21157
21229
  {
21158
21230
  anchorEl,
@@ -21161,7 +21233,7 @@ var ColorPicker = React61.forwardRef(function ColorPickerWrapper({
21161
21233
  onMouseUp: () => {
21162
21234
  setValidPickerChange(true);
21163
21235
  },
21164
- children: /* @__PURE__ */ jsx114(
21236
+ children: /* @__PURE__ */ jsx115(
21165
21237
  Box_default2,
21166
21238
  {
21167
21239
  className: "Cn-Color-Gradient-Box",
@@ -21205,7 +21277,7 @@ var ColorPicker = React61.forwardRef(function ColorPickerWrapper({
21205
21277
  fontFamily: "Source Sans Pro, sans-serif"
21206
21278
  }
21207
21279
  },
21208
- children: /* @__PURE__ */ jsx114(
21280
+ children: /* @__PURE__ */ jsx115(
21209
21281
  GradientColorPicker,
21210
21282
  {
21211
21283
  className: "Cn-Color-Gradient-Picker",
@@ -21236,7 +21308,7 @@ var ColorPicker_default = ColorPicker;
21236
21308
 
21237
21309
  // src/components/input/UploadClickableArea.tsx
21238
21310
  import { Box as Box3 } from "@mui/material";
21239
- import { jsx as jsx115, jsxs as jsxs53 } from "react/jsx-runtime";
21311
+ import { jsx as jsx116, jsxs as jsxs53 } from "react/jsx-runtime";
21240
21312
  var UploadClickableArea = ({
21241
21313
  accept,
21242
21314
  onFilesChanged,
@@ -21250,7 +21322,7 @@ var UploadClickableArea = ({
21250
21322
  display: "inline-block"
21251
21323
  },
21252
21324
  children: [
21253
- /* @__PURE__ */ jsx115(
21325
+ /* @__PURE__ */ jsx116(
21254
21326
  "input",
21255
21327
  {
21256
21328
  type: "file",
@@ -21268,8 +21340,8 @@ var UploadClickableArea_default = UploadClickableArea;
21268
21340
  // src/components/input/CategorizedPicker.tsx
21269
21341
  import React62 from "react";
21270
21342
  import { Grid as Grid3, Popover as Popover2, Select as Select3, Stack as Stack9 } from "@mui/material";
21271
- import { Fragment as Fragment23, jsx as jsx116, jsxs as jsxs54 } from "react/jsx-runtime";
21272
- var ChevronIcon2 = ({ disabled }) => /* @__PURE__ */ jsx116(
21343
+ import { Fragment as Fragment24, jsx as jsx117, jsxs as jsxs54 } from "react/jsx-runtime";
21344
+ var ChevronIcon2 = ({ disabled }) => /* @__PURE__ */ jsx117(
21273
21345
  Icon_default,
21274
21346
  {
21275
21347
  id: "chevron-down",
@@ -21364,8 +21436,8 @@ var CategorizedPicker = function CategorizedPicker2({
21364
21436
  setSelectedCategory(filteredSelectedCategory);
21365
21437
  }
21366
21438
  }, [filteredCategories, selectedCategory]);
21367
- return /* @__PURE__ */ jsxs54(Fragment23, { children: [
21368
- /* @__PURE__ */ jsx116(
21439
+ return /* @__PURE__ */ jsxs54(Fragment24, { children: [
21440
+ /* @__PURE__ */ jsx117(
21369
21441
  Select3,
21370
21442
  {
21371
21443
  ref: anchorRef,
@@ -21380,7 +21452,7 @@ var CategorizedPicker = function CategorizedPicker2({
21380
21452
  value: value?.name || "",
21381
21453
  displayEmpty: true,
21382
21454
  disabled,
21383
- input: /* @__PURE__ */ jsx116(
21455
+ input: /* @__PURE__ */ jsx117(
21384
21456
  BootstrapInput,
21385
21457
  {
21386
21458
  sx: {
@@ -21389,7 +21461,7 @@ var CategorizedPicker = function CategorizedPicker2({
21389
21461
  }
21390
21462
  ),
21391
21463
  renderValue: (value2) => value2 || placeholder,
21392
- IconComponent: () => /* @__PURE__ */ jsx116(ChevronIcon2, { disabled }),
21464
+ IconComponent: () => /* @__PURE__ */ jsx117(ChevronIcon2, { disabled }),
21393
21465
  onClick: !disabled ? (e) => {
21394
21466
  e.preventDefault();
21395
21467
  e.stopPropagation();
@@ -21397,10 +21469,10 @@ var CategorizedPicker = function CategorizedPicker2({
21397
21469
  } : void 0,
21398
21470
  open: false,
21399
21471
  "data-testid": dataTestId,
21400
- children: options.map((option) => /* @__PURE__ */ jsx116("option", { value: option.name }, option.id))
21472
+ children: options.map((option) => /* @__PURE__ */ jsx117("option", { value: option.name }, option.id))
21401
21473
  }
21402
21474
  ),
21403
- /* @__PURE__ */ jsx116(
21475
+ /* @__PURE__ */ jsx117(
21404
21476
  Popover2,
21405
21477
  {
21406
21478
  anchorEl: anchorRef.current,
@@ -21422,7 +21494,7 @@ var CategorizedPicker = function CategorizedPicker2({
21422
21494
  }
21423
21495
  },
21424
21496
  children: /* @__PURE__ */ jsxs54(Grid3, { container: true, children: [
21425
- /* @__PURE__ */ jsx116(
21497
+ /* @__PURE__ */ jsx117(
21426
21498
  Grid3,
21427
21499
  {
21428
21500
  size: {
@@ -21430,7 +21502,7 @@ var CategorizedPicker = function CategorizedPicker2({
21430
21502
  },
21431
21503
  padding: "8px",
21432
21504
  borderBottom: `1px solid ${grey200}`,
21433
- children: /* @__PURE__ */ jsx116(
21505
+ children: /* @__PURE__ */ jsx117(
21434
21506
  DebouncedTextField_default,
21435
21507
  {
21436
21508
  placeholder: t(
@@ -21438,12 +21510,12 @@ var CategorizedPicker = function CategorizedPicker2({
21438
21510
  ),
21439
21511
  value: search,
21440
21512
  onChange: onTypeSearch,
21441
- startAdornment: /* @__PURE__ */ jsx116(Icon_default, { id: "magnify" })
21513
+ startAdornment: /* @__PURE__ */ jsx117(Icon_default, { id: "magnify" })
21442
21514
  }
21443
21515
  )
21444
21516
  }
21445
21517
  ),
21446
- /* @__PURE__ */ jsx116(
21518
+ /* @__PURE__ */ jsx117(
21447
21519
  Grid3,
21448
21520
  {
21449
21521
  size: {
@@ -21452,14 +21524,14 @@ var CategorizedPicker = function CategorizedPicker2({
21452
21524
  sx: { borderRight: `1px solid ${grey200}` },
21453
21525
  height: "316px",
21454
21526
  className: "Slim-Vertical-Scroll",
21455
- children: /* @__PURE__ */ jsx116(Stack9, { children: filteredCategories.map((category, idx) => /* @__PURE__ */ jsx116(
21527
+ children: /* @__PURE__ */ jsx117(Stack9, { children: filteredCategories.map((category, idx) => /* @__PURE__ */ jsx117(
21456
21528
  ListItemButton_default,
21457
21529
  {
21458
21530
  selected: selectedCategory === category,
21459
21531
  onClick: () => {
21460
21532
  setSelectedCategory(category);
21461
21533
  },
21462
- endAdornment: selectedCategory === category ? /* @__PURE__ */ jsx116(
21534
+ endAdornment: selectedCategory === category ? /* @__PURE__ */ jsx117(
21463
21535
  Icon_default,
21464
21536
  {
21465
21537
  id: "menu-right",
@@ -21467,10 +21539,10 @@ var CategorizedPicker = function CategorizedPicker2({
21467
21539
  }
21468
21540
  ) : void 0,
21469
21541
  buttonDataTest: dataTestId ? dataTestId + "-category-" + idx : void 0,
21470
- children: /* @__PURE__ */ jsx116(
21542
+ children: /* @__PURE__ */ jsx117(
21471
21543
  TextEllipsis_default,
21472
21544
  {
21473
- text: /* @__PURE__ */ jsx116(
21545
+ text: /* @__PURE__ */ jsx117(
21474
21546
  TextMarker_default,
21475
21547
  {
21476
21548
  searchText: search,
@@ -21488,7 +21560,7 @@ var CategorizedPicker = function CategorizedPicker2({
21488
21560
  )) })
21489
21561
  }
21490
21562
  ),
21491
- /* @__PURE__ */ jsx116(
21563
+ /* @__PURE__ */ jsx117(
21492
21564
  Grid3,
21493
21565
  {
21494
21566
  size: {
@@ -21496,7 +21568,7 @@ var CategorizedPicker = function CategorizedPicker2({
21496
21568
  },
21497
21569
  height: "316px",
21498
21570
  className: "Slim-Vertical-Scroll",
21499
- children: /* @__PURE__ */ jsx116(Stack9, { children: /* @__PURE__ */ jsx116(Stack9, { children: !selectedCategory ? /* @__PURE__ */ jsx116(Stack9, { padding: "12px", alignItems: "center", children: /* @__PURE__ */ jsx116(
21571
+ children: /* @__PURE__ */ jsx117(Stack9, { children: /* @__PURE__ */ jsx117(Stack9, { children: !selectedCategory ? /* @__PURE__ */ jsx117(Stack9, { padding: "12px", alignItems: "center", children: /* @__PURE__ */ jsx117(
21500
21572
  Typography_default,
21501
21573
  {
21502
21574
  variant: "body2",
@@ -21508,7 +21580,7 @@ var CategorizedPicker = function CategorizedPicker2({
21508
21580
  )
21509
21581
  }
21510
21582
  ) }) : selectedCategory.categoryOptions.map(
21511
- (option, idx) => /* @__PURE__ */ jsx116(
21583
+ (option, idx) => /* @__PURE__ */ jsx117(
21512
21584
  ListItemButton_default,
21513
21585
  {
21514
21586
  selected: value?.id === option.id,
@@ -21517,10 +21589,10 @@ var CategorizedPicker = function CategorizedPicker2({
21517
21589
  closePopover();
21518
21590
  },
21519
21591
  buttonDataTest: dataTestId ? dataTestId + "-option-" + idx : void 0,
21520
- children: /* @__PURE__ */ jsx116(
21592
+ children: /* @__PURE__ */ jsx117(
21521
21593
  TextEllipsis_default,
21522
21594
  {
21523
- text: /* @__PURE__ */ jsx116(
21595
+ text: /* @__PURE__ */ jsx117(
21524
21596
  TextMarker_default,
21525
21597
  {
21526
21598
  searchText: search,
@@ -21553,7 +21625,7 @@ import * as React63 from "react";
21553
21625
  import { Grid as Grid4, Stack as Stack10 } from "@mui/material";
21554
21626
  import { useState as useState22 } from "react";
21555
21627
  import InfiniteScroll from "react-infinite-scroll-component";
21556
- import { jsx as jsx117, jsxs as jsxs55 } from "react/jsx-runtime";
21628
+ import { jsx as jsx118, jsxs as jsxs55 } from "react/jsx-runtime";
21557
21629
  var defaultItemsColorStyles = {
21558
21630
  selectedColor: Colors_exports.primaryMain,
21559
21631
  disabledColor: ""
@@ -21698,14 +21770,14 @@ var SelectPopover = function SelectPopover2({
21698
21770
  anchorEl,
21699
21771
  disableRestoreFocus,
21700
21772
  children: [
21701
- /* @__PURE__ */ jsx117(
21773
+ /* @__PURE__ */ jsx118(
21702
21774
  Box_default2,
21703
21775
  {
21704
21776
  sx: {
21705
21777
  borderBottom: `1px solid ${Colors_exports.grey200}`,
21706
21778
  padding: "8px"
21707
21779
  },
21708
- children: /* @__PURE__ */ jsx117(
21780
+ children: /* @__PURE__ */ jsx118(
21709
21781
  DebouncedTextField_default,
21710
21782
  {
21711
21783
  iconId: "magnify",
@@ -21720,7 +21792,7 @@ var SelectPopover = function SelectPopover2({
21720
21792
  )
21721
21793
  }
21722
21794
  ),
21723
- /* @__PURE__ */ jsx117(
21795
+ /* @__PURE__ */ jsx118(
21724
21796
  InfiniteScroll,
21725
21797
  {
21726
21798
  height: 300,
@@ -21782,7 +21854,7 @@ var SelectPopover = function SelectPopover2({
21782
21854
  onItemSelected
21783
21855
  ) : getItemElement(item, onItemSelected)
21784
21856
  ),
21785
- isLoading && /* @__PURE__ */ jsx117(
21857
+ isLoading && /* @__PURE__ */ jsx118(
21786
21858
  Skeleton_default,
21787
21859
  {
21788
21860
  variant: "text",
@@ -21795,13 +21867,13 @@ var SelectPopover = function SelectPopover2({
21795
21867
  }
21796
21868
  }
21797
21869
  ),
21798
- !isLoading && currentItems.length === 0 ? typeof emptyListPlaceholder === "string" ? /* @__PURE__ */ jsx117(
21870
+ !isLoading && currentItems.length === 0 ? typeof emptyListPlaceholder === "string" ? /* @__PURE__ */ jsx118(
21799
21871
  Stack10,
21800
21872
  {
21801
21873
  alignItems: "center",
21802
21874
  justifyContent: "center",
21803
21875
  width: "100%",
21804
- children: /* @__PURE__ */ jsx117(Typography_default, { variant: "body2", color: grey600, children: emptyListPlaceholder })
21876
+ children: /* @__PURE__ */ jsx118(Typography_default, { variant: "body2", color: grey600, children: emptyListPlaceholder })
21805
21877
  }
21806
21878
  ) : emptyListPlaceholder : ""
21807
21879
  ]
@@ -21809,11 +21881,11 @@ var SelectPopover = function SelectPopover2({
21809
21881
  )
21810
21882
  }
21811
21883
  ),
21812
- /* @__PURE__ */ jsx117(
21884
+ /* @__PURE__ */ jsx118(
21813
21885
  PopoverActions_default,
21814
21886
  {
21815
21887
  sx: { padding: "16px 24px" },
21816
- leftContent: /* @__PURE__ */ jsx117(
21888
+ leftContent: /* @__PURE__ */ jsx118(
21817
21889
  Button_default,
21818
21890
  {
21819
21891
  variant: "contained",
@@ -21823,7 +21895,7 @@ var SelectPopover = function SelectPopover2({
21823
21895
  onClick: closePopover
21824
21896
  }
21825
21897
  ),
21826
- rightContent: /* @__PURE__ */ jsx117(
21898
+ rightContent: /* @__PURE__ */ jsx118(
21827
21899
  Button_default,
21828
21900
  {
21829
21901
  variant: "contained",
@@ -21847,7 +21919,7 @@ var SelectPopover = function SelectPopover2({
21847
21919
  );
21848
21920
  };
21849
21921
  function getItemElement(item, onItemClick) {
21850
- return /* @__PURE__ */ jsx117(
21922
+ return /* @__PURE__ */ jsx118(
21851
21923
  SelectPopoverItem_default,
21852
21924
  {
21853
21925
  id: item.id,
@@ -21876,7 +21948,7 @@ var arraysEqual = (a, b) => {
21876
21948
  var SelectPopover_default = SelectPopover;
21877
21949
 
21878
21950
  // src/components/input/ItemSelector.tsx
21879
- import { Fragment as Fragment24, jsx as jsx118, jsxs as jsxs56 } from "react/jsx-runtime";
21951
+ import { Fragment as Fragment25, jsx as jsx119, jsxs as jsxs56 } from "react/jsx-runtime";
21880
21952
  var ItemSelector = function ItemSelector2({
21881
21953
  items,
21882
21954
  selectedItems,
@@ -21930,7 +22002,7 @@ var ItemSelector = function ItemSelector2({
21930
22002
  item
21931
22003
  }) => {
21932
22004
  const [ref, { contentWidth: width2 }] = useResizeObserver();
21933
- return /* @__PURE__ */ jsx118(
22005
+ return /* @__PURE__ */ jsx119(
21934
22006
  Chip_default,
21935
22007
  {
21936
22008
  ref,
@@ -21960,8 +22032,8 @@ var ItemSelector = function ItemSelector2({
21960
22032
  const selectedItem = selectedItems[0]?.id;
21961
22033
  return selectedItem ? [selectedItem] : "";
21962
22034
  };
21963
- return /* @__PURE__ */ jsxs56(Fragment24, { children: [
21964
- /* @__PURE__ */ jsx118(
22035
+ return /* @__PURE__ */ jsxs56(Fragment25, { children: [
22036
+ /* @__PURE__ */ jsx119(
21965
22037
  Select_default,
21966
22038
  {
21967
22039
  ref: selectRef,
@@ -21977,17 +22049,17 @@ var ItemSelector = function ItemSelector2({
21977
22049
  renderValue: (value) => {
21978
22050
  let component;
21979
22051
  if (!value || !Array.isArray(value) || value.length === 0) {
21980
- component = /* @__PURE__ */ jsxs56(Fragment24, { children: [
21981
- /* @__PURE__ */ jsx118(
22052
+ component = /* @__PURE__ */ jsxs56(Fragment25, { children: [
22053
+ /* @__PURE__ */ jsx119(
21982
22054
  Stack_default,
21983
22055
  {
21984
22056
  direction: "row",
21985
22057
  flexWrap: "wrap",
21986
22058
  padding: "6px 0",
21987
- children: /* @__PURE__ */ jsx118(Typography_default, { variant: "body2", color: grey600, children: placeholder })
22059
+ children: /* @__PURE__ */ jsx119(Typography_default, { variant: "body2", color: grey600, children: placeholder })
21988
22060
  }
21989
22061
  ),
21990
- /* @__PURE__ */ jsx118(
22062
+ /* @__PURE__ */ jsx119(
21991
22063
  Divider_default,
21992
22064
  {
21993
22065
  variant: "middle",
@@ -21997,7 +22069,7 @@ var ItemSelector = function ItemSelector2({
21997
22069
  )
21998
22070
  ] });
21999
22071
  } else {
22000
- component = /* @__PURE__ */ jsxs56(Fragment24, { children: [
22072
+ component = /* @__PURE__ */ jsxs56(Fragment25, { children: [
22001
22073
  /* @__PURE__ */ jsxs56(
22002
22074
  Stack_default,
22003
22075
  {
@@ -22012,7 +22084,7 @@ var ItemSelector = function ItemSelector2({
22012
22084
  const item = selectedItems.find(
22013
22085
  (i) => i.id === id
22014
22086
  );
22015
- return item ? /* @__PURE__ */ jsx118(
22087
+ return item ? /* @__PURE__ */ jsx119(
22016
22088
  ItemChip,
22017
22089
  {
22018
22090
  item: {
@@ -22021,14 +22093,14 @@ var ItemSelector = function ItemSelector2({
22021
22093
  }
22022
22094
  },
22023
22095
  id
22024
- ) : /* @__PURE__ */ jsx118(Fragment24, {});
22096
+ ) : /* @__PURE__ */ jsx119(Fragment25, {});
22025
22097
  }),
22026
- value.length - limitItemChips > 0 ? /* @__PURE__ */ jsx118(
22098
+ value.length - limitItemChips > 0 ? /* @__PURE__ */ jsx119(
22027
22099
  Tooltip_default,
22028
22100
  {
22029
22101
  interactive: true,
22030
22102
  variant: "white",
22031
- title: /* @__PURE__ */ jsx118(
22103
+ title: /* @__PURE__ */ jsx119(
22032
22104
  Stack_default,
22033
22105
  {
22034
22106
  direction: "row",
@@ -22045,24 +22117,24 @@ var ItemSelector = function ItemSelector2({
22045
22117
  const item = selectedItems.find(
22046
22118
  (i) => i.id === id
22047
22119
  );
22048
- return item ? /* @__PURE__ */ jsx118(
22120
+ return item ? /* @__PURE__ */ jsx119(
22049
22121
  ItemChip,
22050
22122
  {
22051
22123
  item
22052
22124
  },
22053
22125
  id
22054
- ) : /* @__PURE__ */ jsx118(Fragment24, {});
22126
+ ) : /* @__PURE__ */ jsx119(Fragment25, {});
22055
22127
  })
22056
22128
  }
22057
22129
  ),
22058
- children: /* @__PURE__ */ jsx118(Typography_default, { variant: "body2", children: `+${value.length - limitItemChips}` })
22130
+ children: /* @__PURE__ */ jsx119(Typography_default, { variant: "body2", children: `+${value.length - limitItemChips}` })
22059
22131
  }
22060
22132
  ) : void 0
22061
22133
  ]
22062
22134
  }
22063
22135
  ),
22064
22136
  !disabled && /* @__PURE__ */ jsxs56(Stack_default, { direction: "row", children: [
22065
- /* @__PURE__ */ jsx118(
22137
+ /* @__PURE__ */ jsx119(
22066
22138
  IconButton_default,
22067
22139
  {
22068
22140
  iconId: "close",
@@ -22080,7 +22152,7 @@ var ItemSelector = function ItemSelector2({
22080
22152
  }
22081
22153
  }
22082
22154
  ),
22083
- /* @__PURE__ */ jsx118(
22155
+ /* @__PURE__ */ jsx119(
22084
22156
  Divider_default,
22085
22157
  {
22086
22158
  variant: "middle",
@@ -22091,7 +22163,7 @@ var ItemSelector = function ItemSelector2({
22091
22163
  ] })
22092
22164
  ] });
22093
22165
  }
22094
- return /* @__PURE__ */ jsx118(
22166
+ return /* @__PURE__ */ jsx119(
22095
22167
  Stack_default,
22096
22168
  {
22097
22169
  direction: "row",
@@ -22113,8 +22185,8 @@ var ItemSelector = function ItemSelector2({
22113
22185
  }
22114
22186
  }
22115
22187
  ),
22116
- helperText && /* @__PURE__ */ jsx118(InputHelperText_default, { severity: isError ? "error" : "info", children: helperText }),
22117
- /* @__PURE__ */ jsx118(
22188
+ helperText && /* @__PURE__ */ jsx119(InputHelperText_default, { severity: isError ? "error" : "info", children: helperText }),
22189
+ /* @__PURE__ */ jsx119(
22118
22190
  SelectPopover_default,
22119
22191
  {
22120
22192
  items: items.map((item) => {
@@ -22179,7 +22251,7 @@ var map = {
22179
22251
  var toDiacriticInsensitiveString = (input) => Array.from(input).map((char) => map[char] ? `[${map[char]}]` : char).join("");
22180
22252
 
22181
22253
  // src/components/input/Autocomplete.tsx
22182
- import { Fragment as Fragment25, jsx as jsx119, jsxs as jsxs57 } from "react/jsx-runtime";
22254
+ import { Fragment as Fragment26, jsx as jsx120, jsxs as jsxs57 } from "react/jsx-runtime";
22183
22255
  var AUTOCOMPLETE_ITEM_HEIGHT = 44;
22184
22256
  var Autocomplete = function Autocomplete2({
22185
22257
  variant = "default",
@@ -22375,7 +22447,7 @@ var Autocomplete = function Autocomplete2({
22375
22447
  style: style3
22376
22448
  }) => {
22377
22449
  const option = filteredOptions[index];
22378
- return /* @__PURE__ */ jsx119(
22450
+ return /* @__PURE__ */ jsx120(
22379
22451
  ListItemButton_default,
22380
22452
  {
22381
22453
  selected: index === selectedIndex,
@@ -22384,7 +22456,7 @@ var Autocomplete = function Autocomplete2({
22384
22456
  sx: style3,
22385
22457
  color: Array.isArray(value) && value.includes(option.id) ? "primary" : void 0,
22386
22458
  text: getText(option),
22387
- endAdornment: multiple && (options.some((elem) => elem.id === option.id) ? Array.isArray(value) && value.includes(option.id) && /* @__PURE__ */ jsx119(Icon_default, { sx: { color: primaryMain }, id: "check" }) : /* @__PURE__ */ jsx119(
22459
+ endAdornment: multiple && (options.some((elem) => elem.id === option.id) ? Array.isArray(value) && value.includes(option.id) && /* @__PURE__ */ jsx120(Icon_default, { sx: { color: primaryMain }, id: "check" }) : /* @__PURE__ */ jsx120(
22388
22460
  Icon_default,
22389
22461
  {
22390
22462
  id: Array.isArray(value) && value.includes(option.id) ? "close" : "plus"
@@ -22396,8 +22468,8 @@ var Autocomplete = function Autocomplete2({
22396
22468
  option.id
22397
22469
  );
22398
22470
  };
22399
- return /* @__PURE__ */ jsxs57(Fragment25, { children: [
22400
- /* @__PURE__ */ jsx119(
22471
+ return /* @__PURE__ */ jsxs57(Fragment26, { children: [
22472
+ /* @__PURE__ */ jsx120(
22401
22473
  DebouncedTextField_default,
22402
22474
  {
22403
22475
  ref: ref ?? inputRef,
@@ -22487,7 +22559,7 @@ var Autocomplete = function Autocomplete2({
22487
22559
  alignItems: "center"
22488
22560
  },
22489
22561
  children: [
22490
- value.slice(0, limitValueTags || value.length).map((id) => /* @__PURE__ */ jsx119(
22562
+ value.slice(0, limitValueTags || value.length).map((id) => /* @__PURE__ */ jsx120(
22491
22563
  Chip_default,
22492
22564
  {
22493
22565
  label: (renderLabel ?? _renderLabel)(
@@ -22507,12 +22579,12 @@ var Autocomplete = function Autocomplete2({
22507
22579
  },
22508
22580
  id
22509
22581
  )),
22510
- limitValueTags && value.length - limitValueTags > 0 ? /* @__PURE__ */ jsx119(
22582
+ limitValueTags && value.length - limitValueTags > 0 ? /* @__PURE__ */ jsx120(
22511
22583
  Tooltip_default,
22512
22584
  {
22513
22585
  interactive: true,
22514
22586
  variant: "white",
22515
- title: /* @__PURE__ */ jsx119(
22587
+ title: /* @__PURE__ */ jsx120(
22516
22588
  Stack_default,
22517
22589
  {
22518
22590
  direction: "row",
@@ -22525,7 +22597,7 @@ var Autocomplete = function Autocomplete2({
22525
22597
  children: value.slice(
22526
22598
  limitValueTags,
22527
22599
  value.length
22528
- ).map((id) => /* @__PURE__ */ jsx119(
22600
+ ).map((id) => /* @__PURE__ */ jsx120(
22529
22601
  Chip_default,
22530
22602
  {
22531
22603
  label: (renderLabel ?? _renderLabel)(id),
@@ -22545,7 +22617,7 @@ var Autocomplete = function Autocomplete2({
22545
22617
  ))
22546
22618
  }
22547
22619
  ),
22548
- children: /* @__PURE__ */ jsx119(Typography_default, { variant: "body2", children: `+${value.length - limitValueTags}` })
22620
+ children: /* @__PURE__ */ jsx120(Typography_default, { variant: "body2", children: `+${value.length - limitValueTags}` })
22549
22621
  }
22550
22622
  ) : ""
22551
22623
  ]
@@ -22562,7 +22634,7 @@ var Autocomplete = function Autocomplete2({
22562
22634
  spacing: 1,
22563
22635
  children: [
22564
22636
  textFieldProps?.endAdornment,
22565
- !disabled && dirty && showClearButton && /* @__PURE__ */ jsx119(Tooltip_default, { title: t("AUTOCOMPLETE.CLEAR"), children: /* @__PURE__ */ jsx119(
22637
+ !disabled && dirty && showClearButton && /* @__PURE__ */ jsx120(Tooltip_default, { title: t("AUTOCOMPLETE.CLEAR"), children: /* @__PURE__ */ jsx120(
22566
22638
  IconButton_default,
22567
22639
  {
22568
22640
  iconId: "close",
@@ -22585,7 +22657,7 @@ var Autocomplete = function Autocomplete2({
22585
22657
  "data-test": "clear-autocomplete"
22586
22658
  }
22587
22659
  ) }),
22588
- !disabled && dirty && showClearButton && /* @__PURE__ */ jsx119(
22660
+ !disabled && dirty && showClearButton && /* @__PURE__ */ jsx120(
22589
22661
  Divider_default,
22590
22662
  {
22591
22663
  variant: "middle",
@@ -22593,11 +22665,11 @@ var Autocomplete = function Autocomplete2({
22593
22665
  flexItem: true
22594
22666
  }
22595
22667
  ),
22596
- !disabled && variant !== "text" && /* @__PURE__ */ jsx119(
22668
+ !disabled && variant !== "text" && /* @__PURE__ */ jsx120(
22597
22669
  Tooltip_default,
22598
22670
  {
22599
22671
  title: isOpen ? t("AUTOCOMPLETE.COLLAPSE") : t("AUTOCOMPLETE.EXPAND"),
22600
- children: /* @__PURE__ */ jsx119(
22672
+ children: /* @__PURE__ */ jsx120(
22601
22673
  IconButton_default,
22602
22674
  {
22603
22675
  ref: expandSelectButtonRef,
@@ -22619,7 +22691,7 @@ var Autocomplete = function Autocomplete2({
22619
22691
  autoComplete: "off"
22620
22692
  }
22621
22693
  ),
22622
- /* @__PURE__ */ jsx119(
22694
+ /* @__PURE__ */ jsx120(
22623
22695
  ClickAwayListener,
22624
22696
  {
22625
22697
  onClickAway: (event) => {
@@ -22644,13 +22716,13 @@ var Autocomplete = function Autocomplete2({
22644
22716
  }
22645
22717
  },
22646
22718
  mouseEvent: "onMouseDown",
22647
- children: /* @__PURE__ */ jsx119(
22719
+ children: /* @__PURE__ */ jsx120(
22648
22720
  Popper,
22649
22721
  {
22650
22722
  anchorEl: anchorRef.current,
22651
22723
  open: isOpen,
22652
22724
  sx: { zIndex: 3e3 },
22653
- children: /* @__PURE__ */ jsx119(Paper_default, { sx: { boxShadow: shadows[1], borderRadius: "8px" }, children: /* @__PURE__ */ jsxs57(
22725
+ children: /* @__PURE__ */ jsx120(Paper_default, { sx: { boxShadow: shadows[1], borderRadius: "8px" }, children: /* @__PURE__ */ jsxs57(
22654
22726
  Box_default2,
22655
22727
  {
22656
22728
  sx: {
@@ -22662,22 +22734,22 @@ var Autocomplete = function Autocomplete2({
22662
22734
  className: "Slim-Vertical-Scroll",
22663
22735
  ref: listRef,
22664
22736
  children: [
22665
- isLoading && /* @__PURE__ */ jsx119(
22737
+ isLoading && /* @__PURE__ */ jsx120(
22666
22738
  ListItem_default,
22667
22739
  {
22668
22740
  text: loadingText ?? t("AUTOCOMPLETE.LOADING")
22669
22741
  }
22670
22742
  ),
22671
- !isLoading && filteredOptions.length === 0 && /* @__PURE__ */ jsx119(
22743
+ !isLoading && filteredOptions.length === 0 && /* @__PURE__ */ jsx120(
22672
22744
  ListItem_default,
22673
22745
  {
22674
22746
  text: noOptionsText ?? t("AUTOCOMPLETE.NO_OPTIONS")
22675
22747
  }
22676
22748
  ),
22677
- !isLoading && filteredOptions.length > 0 && /* @__PURE__ */ jsx119(AutoSizer5, { children: ({
22749
+ !isLoading && filteredOptions.length > 0 && /* @__PURE__ */ jsx120(AutoSizer5, { children: ({
22678
22750
  height: height2,
22679
22751
  width: width2
22680
- }) => /* @__PURE__ */ jsx119(
22752
+ }) => /* @__PURE__ */ jsx120(
22681
22753
  FixedSizeList3,
22682
22754
  {
22683
22755
  overscanCount: 3,
@@ -22745,7 +22817,7 @@ import CodeMirror, {
22745
22817
  } from "@uiw/react-codemirror";
22746
22818
  import { html } from "@codemirror/lang-html";
22747
22819
  import { linter, lintGutter } from "@codemirror/lint";
22748
- import { jsx as jsx120 } from "react/jsx-runtime";
22820
+ import { jsx as jsx121 } from "react/jsx-runtime";
22749
22821
  var removeFocusOutline = EditorView.baseTheme({
22750
22822
  "&.cm-focused": {
22751
22823
  outline: "none"
@@ -22767,7 +22839,7 @@ var CodeEditor = function CodeEditor2({
22767
22839
  linter(linterOptions?.source || null, linterOptions?.config),
22768
22840
  ...extensions
22769
22841
  ] : extensions;
22770
- return /* @__PURE__ */ jsx120(
22842
+ return /* @__PURE__ */ jsx121(
22771
22843
  CodeMirror,
22772
22844
  {
22773
22845
  ...rest,
@@ -22786,7 +22858,7 @@ var CodeEditor_default = React66.forwardRef(CodeEditor);
22786
22858
 
22787
22859
  // src/components/input/CodeEditorPopup.tsx
22788
22860
  import format from "html-format";
22789
- import { Fragment as Fragment26, jsx as jsx121, jsxs as jsxs58 } from "react/jsx-runtime";
22861
+ import { Fragment as Fragment27, jsx as jsx122, jsxs as jsxs58 } from "react/jsx-runtime";
22790
22862
  var FORMAT_CHARACTERS_LINE = 120;
22791
22863
  var FORMAT_NUMBER_SPACES_INDENTATION = 2;
22792
22864
  var CodeEditorPopup = ({
@@ -22829,8 +22901,8 @@ var CodeEditorPopup = ({
22829
22901
  " ".repeat(FORMAT_NUMBER_SPACES_INDENTATION),
22830
22902
  FORMAT_CHARACTERS_LINE
22831
22903
  );
22832
- return /* @__PURE__ */ jsxs58(Fragment26, { children: [
22833
- readonly && /* @__PURE__ */ jsx121(
22904
+ return /* @__PURE__ */ jsxs58(Fragment27, { children: [
22905
+ readonly && /* @__PURE__ */ jsx122(
22834
22906
  Dialog_default,
22835
22907
  {
22836
22908
  open,
@@ -22849,7 +22921,7 @@ var CodeEditorPopup = ({
22849
22921
  justifyContent: "space-between",
22850
22922
  paddingTop: "20px",
22851
22923
  children: [
22852
- /* @__PURE__ */ jsx121(
22924
+ /* @__PURE__ */ jsx122(
22853
22925
  Box_default2,
22854
22926
  {
22855
22927
  flexGrow: 1,
@@ -22866,7 +22938,7 @@ var CodeEditorPopup = ({
22866
22938
  }
22867
22939
  },
22868
22940
  children: [
22869
- /* @__PURE__ */ jsx121(Box_default2, { flexGrow: 1, minHeight: 0, children: /* @__PURE__ */ jsx121(
22941
+ /* @__PURE__ */ jsx122(Box_default2, { flexGrow: 1, minHeight: 0, children: /* @__PURE__ */ jsx122(
22870
22942
  CodeEditor_default,
22871
22943
  {
22872
22944
  autoFocus: true,
@@ -22895,7 +22967,7 @@ var CodeEditorPopup = ({
22895
22967
  }
22896
22968
  ) }),
22897
22969
  messageNode,
22898
- hasErrors && /* @__PURE__ */ jsx121(Alert_default, { severity: "info", children: t(
22970
+ hasErrors && /* @__PURE__ */ jsx122(Alert_default, { severity: "info", children: t(
22899
22971
  "TEXT_EDITOR.SOURCE_CODE.VALIDATION_ERRORS_FOUND"
22900
22972
  ) })
22901
22973
  ]
@@ -22903,13 +22975,13 @@ var CodeEditorPopup = ({
22903
22975
  )
22904
22976
  }
22905
22977
  ),
22906
- /* @__PURE__ */ jsx121(
22978
+ /* @__PURE__ */ jsx122(
22907
22979
  Box_default2,
22908
22980
  {
22909
22981
  sx: {
22910
22982
  padding: "16px 24px 16px 24px"
22911
22983
  },
22912
- children: /* @__PURE__ */ jsx121(
22984
+ children: /* @__PURE__ */ jsx122(
22913
22985
  Button_default,
22914
22986
  {
22915
22987
  text: t(
@@ -22926,7 +22998,7 @@ var CodeEditorPopup = ({
22926
22998
  )
22927
22999
  }
22928
23000
  ),
22929
- !readonly && /* @__PURE__ */ jsx121(
23001
+ !readonly && /* @__PURE__ */ jsx122(
22930
23002
  ConfirmationDialog_default,
22931
23003
  {
22932
23004
  fullScreen: true,
@@ -22945,7 +23017,7 @@ var CodeEditorPopup = ({
22945
23017
  }
22946
23018
  },
22947
23019
  children: [
22948
- codeEditorSubtitle && /* @__PURE__ */ jsx121(Box_default2, { sx: { marginTop: "4px", marginBottom: "8px" }, children: /* @__PURE__ */ jsx121(
23020
+ codeEditorSubtitle && /* @__PURE__ */ jsx122(Box_default2, { sx: { marginTop: "4px", marginBottom: "8px" }, children: /* @__PURE__ */ jsx122(
22949
23021
  Typography_default,
22950
23022
  {
22951
23023
  variant: "body2",
@@ -22953,7 +23025,7 @@ var CodeEditorPopup = ({
22953
23025
  children: codeEditorSubtitle
22954
23026
  }
22955
23027
  ) }),
22956
- /* @__PURE__ */ jsx121(Box_default2, { flexGrow: 1, minHeight: 0, children: /* @__PURE__ */ jsx121(
23028
+ /* @__PURE__ */ jsx122(Box_default2, { flexGrow: 1, minHeight: 0, children: /* @__PURE__ */ jsx122(
22957
23029
  CodeEditor_default,
22958
23030
  {
22959
23031
  autoFocus: true,
@@ -22982,7 +23054,7 @@ var CodeEditorPopup = ({
22982
23054
  }
22983
23055
  ) }),
22984
23056
  messageNode,
22985
- hasErrors && /* @__PURE__ */ jsx121(Alert_default, { severity: "info", children: t(
23057
+ hasErrors && /* @__PURE__ */ jsx122(Alert_default, { severity: "info", children: t(
22986
23058
  "TEXT_EDITOR.SOURCE_CODE.VALIDATION_ERRORS_FOUND"
22987
23059
  ) })
22988
23060
  ]
@@ -22995,7 +23067,7 @@ var CodeEditorPopup = ({
22995
23067
  var CodeEditorPopup_default = CodeEditorPopup;
22996
23068
 
22997
23069
  // src/components/input/TextEditor.tsx
22998
- import { Fragment as Fragment27, jsx as jsx122, jsxs as jsxs59 } from "react/jsx-runtime";
23070
+ import { Fragment as Fragment28, jsx as jsx123, jsxs as jsxs59 } from "react/jsx-runtime";
22999
23071
  var DEFAULT_TOOLBAR_INSERT_MENU_ITEMS = [
23000
23072
  "link",
23001
23073
  "image",
@@ -23281,8 +23353,8 @@ var TextEditor = function TextEditor2({
23281
23353
  };
23282
23354
  }
23283
23355
  };
23284
- return /* @__PURE__ */ jsxs59(Fragment27, { children: [
23285
- /* @__PURE__ */ jsx122(
23356
+ return /* @__PURE__ */ jsxs59(Fragment28, { children: [
23357
+ /* @__PURE__ */ jsx123(
23286
23358
  Editor,
23287
23359
  {
23288
23360
  id,
@@ -23302,7 +23374,7 @@ var TextEditor = function TextEditor2({
23302
23374
  ...rest
23303
23375
  }
23304
23376
  ),
23305
- /* @__PURE__ */ jsx122(
23377
+ /* @__PURE__ */ jsx123(
23306
23378
  CodeEditorPopup_default,
23307
23379
  {
23308
23380
  value: contentValue,
@@ -23338,7 +23410,7 @@ var TextEditor_default = TextEditor;
23338
23410
 
23339
23411
  // src/components/input/PhoneField.tsx
23340
23412
  import * as React69 from "react";
23341
- import { Fragment as Fragment28, jsx as jsx123, jsxs as jsxs60 } from "react/jsx-runtime";
23413
+ import { Fragment as Fragment29, jsx as jsx124, jsxs as jsxs60 } from "react/jsx-runtime";
23342
23414
  var maxPhoneLengthWithPrefix = 16;
23343
23415
  var PhoneField = React69.forwardRef(function PhoneField2({
23344
23416
  value,
@@ -23401,7 +23473,7 @@ var PhoneField = React69.forwardRef(function PhoneField2({
23401
23473
  setCountryCode(countryCode2);
23402
23474
  setTextValue(phone);
23403
23475
  }, [value]);
23404
- const select = /* @__PURE__ */ jsx123(
23476
+ const select = /* @__PURE__ */ jsx124(
23405
23477
  Select_default,
23406
23478
  {
23407
23479
  className: "Cn-PhoneField-countryCodeSelector",
@@ -23417,13 +23489,13 @@ var PhoneField = React69.forwardRef(function PhoneField2({
23417
23489
  }
23418
23490
  }
23419
23491
  );
23420
- return /* @__PURE__ */ jsx123(
23492
+ return /* @__PURE__ */ jsx124(
23421
23493
  TextField_default,
23422
23494
  {
23423
23495
  groupElements: true,
23424
23496
  ...rest,
23425
23497
  className: `Cn-PhoneField ${className}`,
23426
- startAdornment: /* @__PURE__ */ jsxs60(Fragment28, { children: [
23498
+ startAdornment: /* @__PURE__ */ jsxs60(Fragment29, { children: [
23427
23499
  rest.startAdornment,
23428
23500
  select
23429
23501
  ] }),
@@ -23437,7 +23509,7 @@ var PhoneField_default = PhoneField;
23437
23509
 
23438
23510
  // src/components/input/NumberField.tsx
23439
23511
  import * as React70 from "react";
23440
- import { jsx as jsx124, jsxs as jsxs61 } from "react/jsx-runtime";
23512
+ import { jsx as jsx125, jsxs as jsxs61 } from "react/jsx-runtime";
23441
23513
  var setValueAndTriggerChangeEvent = (r2, value) => {
23442
23514
  const propDescriptor = Object.getOwnPropertyDescriptor(
23443
23515
  window["HTMLInputElement"].prototype,
@@ -23600,12 +23672,12 @@ var NumberField = React70.forwardRef(function NumberField2({
23600
23672
  }
23601
23673
  },
23602
23674
  children: [
23603
- /* @__PURE__ */ jsx124(
23675
+ /* @__PURE__ */ jsx125(
23604
23676
  Tooltip_default,
23605
23677
  {
23606
23678
  title: stepUpDisabledTooltip && stepUpDisabled ? stepUpDisabledTooltip : "",
23607
23679
  allowDisabled: true,
23608
- children: /* @__PURE__ */ jsx124(
23680
+ children: /* @__PURE__ */ jsx125(
23609
23681
  IconButton_default,
23610
23682
  {
23611
23683
  disabled: stepUpDisabled,
@@ -23616,12 +23688,12 @@ var NumberField = React70.forwardRef(function NumberField2({
23616
23688
  )
23617
23689
  }
23618
23690
  ),
23619
- /* @__PURE__ */ jsx124(
23691
+ /* @__PURE__ */ jsx125(
23620
23692
  Tooltip_default,
23621
23693
  {
23622
23694
  title: stepDownDisabledTooltip && stepDownDisabled ? stepDownDisabledTooltip : "",
23623
23695
  allowDisabled: true,
23624
- children: /* @__PURE__ */ jsx124(
23696
+ children: /* @__PURE__ */ jsx125(
23625
23697
  IconButton_default,
23626
23698
  {
23627
23699
  disabled: stepDownDisabled,
@@ -23641,7 +23713,7 @@ var NumberField = React70.forwardRef(function NumberField2({
23641
23713
  setTextValue(numberToString(value));
23642
23714
  }
23643
23715
  }, [numberToString, stringToNumber, textValue, value]);
23644
- return /* @__PURE__ */ jsx124(
23716
+ return /* @__PURE__ */ jsx125(
23645
23717
  TextField_default,
23646
23718
  {
23647
23719
  ...rest,
@@ -23663,7 +23735,7 @@ import { tz as tz8 } from "moment-timezone";
23663
23735
  // src/components/input/DatePickerStatic.tsx
23664
23736
  import * as React71 from "react";
23665
23737
  import { tz as tz7 } from "moment-timezone";
23666
- import { jsx as jsx125, jsxs as jsxs62 } from "react/jsx-runtime";
23738
+ import { jsx as jsx126, jsxs as jsxs62 } from "react/jsx-runtime";
23667
23739
  var minYear = 1900;
23668
23740
  var maxYear = 2100;
23669
23741
  var DatePickerStatic = ({
@@ -23771,7 +23843,7 @@ var DatePickerStatic = ({
23771
23843
  spacing: 2,
23772
23844
  justifyContent: "space-between",
23773
23845
  children: [
23774
- /* @__PURE__ */ jsx125(
23846
+ /* @__PURE__ */ jsx126(
23775
23847
  Select_default,
23776
23848
  {
23777
23849
  value: visibleMonth.year,
@@ -23780,7 +23852,7 @@ var DatePickerStatic = ({
23780
23852
  }
23781
23853
  ),
23782
23854
  /* @__PURE__ */ jsxs62(Stack_default, { direction: "row", spacing: 2, children: [
23783
- /* @__PURE__ */ jsx125(
23855
+ /* @__PURE__ */ jsx126(
23784
23856
  IconButton_default,
23785
23857
  {
23786
23858
  disabled: isDisabledPreviousMonth,
@@ -23788,7 +23860,7 @@ var DatePickerStatic = ({
23788
23860
  onClick: navigatePreviousMonth
23789
23861
  }
23790
23862
  ),
23791
- /* @__PURE__ */ jsx125(
23863
+ /* @__PURE__ */ jsx126(
23792
23864
  IconButton_default,
23793
23865
  {
23794
23866
  disabled: isDisabledNextMonth,
@@ -23800,8 +23872,8 @@ var DatePickerStatic = ({
23800
23872
  ]
23801
23873
  }
23802
23874
  ),
23803
- /* @__PURE__ */ jsx125(DaysOfWeekRow_default, {}),
23804
- /* @__PURE__ */ jsx125(Box_default2, { sx: { padding: "8px" }, children: /* @__PURE__ */ jsx125(
23875
+ /* @__PURE__ */ jsx126(DaysOfWeekRow_default, {}),
23876
+ /* @__PURE__ */ jsx126(Box_default2, { sx: { padding: "8px" }, children: /* @__PURE__ */ jsx126(
23805
23877
  CalendarMonth_default,
23806
23878
  {
23807
23879
  allowKeyboardNavigation: true,
@@ -23838,14 +23910,14 @@ var DatePickerStatic = ({
23838
23910
  var DatePickerStatic_default = DatePickerStatic;
23839
23911
 
23840
23912
  // src/components/input/DatePickerPopover.tsx
23841
- import { jsx as jsx126 } from "react/jsx-runtime";
23913
+ import { jsx as jsx127 } from "react/jsx-runtime";
23842
23914
  var DatePickerPopover = ({
23843
23915
  value,
23844
23916
  onSelect,
23845
23917
  minDate,
23846
23918
  maxDate,
23847
23919
  ...rest
23848
- }) => /* @__PURE__ */ jsx126(Popover_default, { anchorHorizontalOrigin: "right", horizontalAlign: "right", ...rest, children: /* @__PURE__ */ jsx126(
23920
+ }) => /* @__PURE__ */ jsx127(Popover_default, { anchorHorizontalOrigin: "right", horizontalAlign: "right", ...rest, children: /* @__PURE__ */ jsx127(
23849
23921
  DatePickerStatic_default,
23850
23922
  {
23851
23923
  value,
@@ -23857,7 +23929,7 @@ var DatePickerPopover = ({
23857
23929
  var DatePickerPopover_default = DatePickerPopover;
23858
23930
 
23859
23931
  // src/components/input/DatePicker.tsx
23860
- import { Fragment as Fragment29, jsx as jsx127, jsxs as jsxs63 } from "react/jsx-runtime";
23932
+ import { Fragment as Fragment30, jsx as jsx128, jsxs as jsxs63 } from "react/jsx-runtime";
23861
23933
  var DatePicker = React72.forwardRef(
23862
23934
  function DatePicker2({ value, onChange, onBlur, onKeyDown, minDate, maxDate, ...rest }, ref) {
23863
23935
  const { locale, timezone } = React72.useContext(IntlContext);
@@ -23933,8 +24005,8 @@ var DatePicker = React72.forwardRef(
23933
24005
  const text = value && !isNaN(value.getTime()) ? tz8(value, timezone).format(dateInputFormat) : "";
23934
24006
  setTextValue(text);
23935
24007
  }, [dateInputFormat, timezone, value]);
23936
- return /* @__PURE__ */ jsxs63(Fragment29, { children: [
23937
- /* @__PURE__ */ jsx127(
24008
+ return /* @__PURE__ */ jsxs63(Fragment30, { children: [
24009
+ /* @__PURE__ */ jsx128(
23938
24010
  TextField_default,
23939
24011
  {
23940
24012
  ref,
@@ -23945,7 +24017,7 @@ var DatePicker = React72.forwardRef(
23945
24017
  onChange: onChangeTextField,
23946
24018
  onBlur: onBlurTextField,
23947
24019
  onKeyDown: onKeyDownTextField,
23948
- endAdornment: /* @__PURE__ */ jsx127(
24020
+ endAdornment: /* @__PURE__ */ jsx128(
23949
24021
  IconButton_default,
23950
24022
  {
23951
24023
  "data-testid": "date-picker-open-button",
@@ -23957,7 +24029,7 @@ var DatePicker = React72.forwardRef(
23957
24029
  )
23958
24030
  }
23959
24031
  ),
23960
- /* @__PURE__ */ jsx127(
24032
+ /* @__PURE__ */ jsx128(
23961
24033
  DatePickerPopover_default,
23962
24034
  {
23963
24035
  anchorEl,
@@ -23976,14 +24048,14 @@ var DatePicker_default = DatePicker;
23976
24048
  // src/components/input/Checkbox.tsx
23977
24049
  import MuiCheckbox from "@mui/material/Checkbox";
23978
24050
  import { FormControlLabel, FormGroup } from "@mui/material";
23979
- import { Fragment as Fragment30, jsx as jsx128, jsxs as jsxs64 } from "react/jsx-runtime";
24051
+ import { Fragment as Fragment31, jsx as jsx129, jsxs as jsxs64 } from "react/jsx-runtime";
23980
24052
  var MaterialCheckbox = ({
23981
24053
  checked,
23982
24054
  disabled,
23983
24055
  inputClass,
23984
24056
  indeterminate,
23985
24057
  onChange
23986
- }) => /* @__PURE__ */ jsx128(
24058
+ }) => /* @__PURE__ */ jsx129(
23987
24059
  MuiCheckbox,
23988
24060
  {
23989
24061
  disabled,
@@ -24009,8 +24081,8 @@ var Checkbox = ({
24009
24081
  inputClass,
24010
24082
  onChange,
24011
24083
  tabIndex
24012
- }) => /* @__PURE__ */ jsxs64(Fragment30, { children: [
24013
- !label && /* @__PURE__ */ jsx128(
24084
+ }) => /* @__PURE__ */ jsxs64(Fragment31, { children: [
24085
+ !label && /* @__PURE__ */ jsx129(
24014
24086
  MaterialCheckbox,
24015
24087
  {
24016
24088
  disabled,
@@ -24021,11 +24093,11 @@ var Checkbox = ({
24021
24093
  inputClass
24022
24094
  }
24023
24095
  ),
24024
- label && /* @__PURE__ */ jsx128(FormGroup, { children: /* @__PURE__ */ jsx128(
24096
+ label && /* @__PURE__ */ jsx129(FormGroup, { children: /* @__PURE__ */ jsx129(
24025
24097
  FormControlLabel,
24026
24098
  {
24027
24099
  value: label,
24028
- control: /* @__PURE__ */ jsx128(
24100
+ control: /* @__PURE__ */ jsx129(
24029
24101
  MaterialCheckbox,
24030
24102
  {
24031
24103
  disabled,
@@ -24036,7 +24108,7 @@ var Checkbox = ({
24036
24108
  inputClass
24037
24109
  }
24038
24110
  ),
24039
- label: /* @__PURE__ */ jsx128(Typography_default, { variant: "body2", children: label }),
24111
+ label: /* @__PURE__ */ jsx129(Typography_default, { variant: "body2", children: label }),
24040
24112
  labelPlacement,
24041
24113
  sx: {
24042
24114
  margin: 0,
@@ -24051,7 +24123,7 @@ var Checkbox_default = Checkbox;
24051
24123
  import * as React73 from "react";
24052
24124
  import MuiRadio from "@mui/material/Radio";
24053
24125
  import { FormControlLabel as FormControlLabel2 } from "@mui/material";
24054
- import { Fragment as Fragment31, jsx as jsx129, jsxs as jsxs65 } from "react/jsx-runtime";
24126
+ import { Fragment as Fragment32, jsx as jsx130, jsxs as jsxs65 } from "react/jsx-runtime";
24055
24127
  var Radio = React73.forwardRef(function Radio2({
24056
24128
  label,
24057
24129
  labelPlacement = "end",
@@ -24069,7 +24141,7 @@ var Radio = React73.forwardRef(function Radio2({
24069
24141
  },
24070
24142
  [onChange]
24071
24143
  );
24072
- const radio = /* @__PURE__ */ jsx129(
24144
+ const radio = /* @__PURE__ */ jsx130(
24073
24145
  MuiRadio,
24074
24146
  {
24075
24147
  className: `Cn-Radio ${className}`,
@@ -24088,13 +24160,13 @@ var Radio = React73.forwardRef(function Radio2({
24088
24160
  size: size === "S" ? "small" : "medium"
24089
24161
  }
24090
24162
  );
24091
- return /* @__PURE__ */ jsxs65(Fragment31, { children: [
24163
+ return /* @__PURE__ */ jsxs65(Fragment32, { children: [
24092
24164
  !label && radio,
24093
- label && /* @__PURE__ */ jsx129(
24165
+ label && /* @__PURE__ */ jsx130(
24094
24166
  FormControlLabel2,
24095
24167
  {
24096
24168
  control: radio,
24097
- label: /* @__PURE__ */ jsx129(Typography_default, { variant: "body2", children: label }),
24169
+ label: /* @__PURE__ */ jsx130(Typography_default, { variant: "body2", children: label }),
24098
24170
  labelPlacement,
24099
24171
  sx: {
24100
24172
  margin: 0,
@@ -24108,7 +24180,7 @@ var Radio_default = Radio;
24108
24180
 
24109
24181
  // src/components/input/PageSelector.tsx
24110
24182
  import * as React74 from "react";
24111
- import { jsx as jsx130, jsxs as jsxs66 } from "react/jsx-runtime";
24183
+ import { jsx as jsx131, jsxs as jsxs66 } from "react/jsx-runtime";
24112
24184
  var PageSelector = ({
24113
24185
  currentPage,
24114
24186
  pageSize,
@@ -24135,7 +24207,7 @@ var PageSelector = ({
24135
24207
  justifyContent: "flex-end",
24136
24208
  flexGrow: 1,
24137
24209
  children: [
24138
- text && /* @__PURE__ */ jsx130(Typography_default, { variant: "body2", children: /* @__PURE__ */ jsx130(
24210
+ text && /* @__PURE__ */ jsx131(Typography_default, { variant: "body2", children: /* @__PURE__ */ jsx131(
24139
24211
  "div",
24140
24212
  {
24141
24213
  dangerouslySetInnerHTML: {
@@ -24144,7 +24216,7 @@ var PageSelector = ({
24144
24216
  }
24145
24217
  ) }),
24146
24218
  /* @__PURE__ */ jsxs66(Stack_default, { direction: "row", alignItems: "center", children: [
24147
- /* @__PURE__ */ jsx130(
24219
+ /* @__PURE__ */ jsx131(
24148
24220
  IconButton_default,
24149
24221
  {
24150
24222
  iconId: "chevron-left",
@@ -24152,7 +24224,7 @@ var PageSelector = ({
24152
24224
  disabled: currentPage <= 1
24153
24225
  }
24154
24226
  ),
24155
- /* @__PURE__ */ jsx130(
24227
+ /* @__PURE__ */ jsx131(
24156
24228
  NumberField_default,
24157
24229
  {
24158
24230
  value: currentPage,
@@ -24170,7 +24242,7 @@ var PageSelector = ({
24170
24242
  }
24171
24243
  }
24172
24244
  ),
24173
- /* @__PURE__ */ jsx130(
24245
+ /* @__PURE__ */ jsx131(
24174
24246
  IconButton_default,
24175
24247
  {
24176
24248
  iconId: "chevron-right",
@@ -24190,13 +24262,13 @@ import Fade from "@mui/material/Fade";
24190
24262
 
24191
24263
  // src/components/progress/LinearProgress.tsx
24192
24264
  import MuiLinearProgress from "@mui/material/LinearProgress";
24193
- import { jsx as jsx131 } from "react/jsx-runtime";
24265
+ import { jsx as jsx132 } from "react/jsx-runtime";
24194
24266
  var LinearProgress = ({
24195
24267
  color: color2,
24196
24268
  backgroundColor: backgroundColor2,
24197
24269
  variant = "indeterminate",
24198
24270
  ...rest
24199
- }) => /* @__PURE__ */ jsx131(
24271
+ }) => /* @__PURE__ */ jsx132(
24200
24272
  MuiLinearProgress,
24201
24273
  {
24202
24274
  ...rest,
@@ -24223,7 +24295,7 @@ import * as React75 from "react";
24223
24295
  import MuiCircularProgress from "@mui/material/CircularProgress";
24224
24296
  import Typography3 from "@mui/material/Typography";
24225
24297
  import Box4 from "@mui/material/Box";
24226
- import { jsx as jsx132, jsxs as jsxs67 } from "react/jsx-runtime";
24298
+ import { jsx as jsx133, jsxs as jsxs67 } from "react/jsx-runtime";
24227
24299
  var circularSizes = {
24228
24300
  XS: "20px",
24229
24301
  SM: "24px",
@@ -24262,7 +24334,7 @@ var CircularProgress = ({
24262
24334
  }
24263
24335
  },
24264
24336
  children: [
24265
- gradientColors && /* @__PURE__ */ jsx132("svg", { width: 0, height: 0, children: /* @__PURE__ */ jsx132("defs", { children: /* @__PURE__ */ jsxs67(
24337
+ gradientColors && /* @__PURE__ */ jsx133("svg", { width: 0, height: 0, children: /* @__PURE__ */ jsx133("defs", { children: /* @__PURE__ */ jsxs67(
24266
24338
  "linearGradient",
24267
24339
  {
24268
24340
  id: gradientName.current,
@@ -24271,14 +24343,14 @@ var CircularProgress = ({
24271
24343
  x2: "0%",
24272
24344
  y2: "100%",
24273
24345
  children: [
24274
- /* @__PURE__ */ jsx132(
24346
+ /* @__PURE__ */ jsx133(
24275
24347
  "stop",
24276
24348
  {
24277
24349
  offset: "0%",
24278
24350
  stopColor: gradientColors.startColor
24279
24351
  }
24280
24352
  ),
24281
- /* @__PURE__ */ jsx132(
24353
+ /* @__PURE__ */ jsx133(
24282
24354
  "stop",
24283
24355
  {
24284
24356
  offset: "100%",
@@ -24288,7 +24360,7 @@ var CircularProgress = ({
24288
24360
  ]
24289
24361
  }
24290
24362
  ) }) }),
24291
- showCircularBackground && /* @__PURE__ */ jsx132(
24363
+ showCircularBackground && /* @__PURE__ */ jsx133(
24292
24364
  Box4,
24293
24365
  {
24294
24366
  sx: {
@@ -24301,7 +24373,7 @@ var CircularProgress = ({
24301
24373
  maxHeight: circularSizes[size]
24302
24374
  }
24303
24375
  },
24304
- children: /* @__PURE__ */ jsx132(
24376
+ children: /* @__PURE__ */ jsx133(
24305
24377
  MuiCircularProgress,
24306
24378
  {
24307
24379
  variant: "determinate",
@@ -24313,7 +24385,7 @@ var CircularProgress = ({
24313
24385
  )
24314
24386
  }
24315
24387
  ),
24316
- /* @__PURE__ */ jsx132(
24388
+ /* @__PURE__ */ jsx133(
24317
24389
  MuiCircularProgress,
24318
24390
  {
24319
24391
  variant,
@@ -24342,7 +24414,7 @@ var CircularProgress = ({
24342
24414
  thickness
24343
24415
  }
24344
24416
  ),
24345
- variant !== "indeterminate" && /* @__PURE__ */ jsx132(
24417
+ variant !== "indeterminate" && /* @__PURE__ */ jsx133(
24346
24418
  Box4,
24347
24419
  {
24348
24420
  sx: {
@@ -24357,7 +24429,7 @@ var CircularProgress = ({
24357
24429
  height: circularSizes[size],
24358
24430
  width: circularSizes[size]
24359
24431
  },
24360
- children: typeof label === "string" ? /* @__PURE__ */ jsx132(
24432
+ children: typeof label === "string" ? /* @__PURE__ */ jsx133(
24361
24433
  Typography3,
24362
24434
  {
24363
24435
  variant: typographyVariant,
@@ -24377,7 +24449,7 @@ var CircularProgress_default = CircularProgress;
24377
24449
  // src/components/progress/DonutProgress.tsx
24378
24450
  import Box5 from "@mui/material/Box";
24379
24451
  import { Stack as Stack11 } from "@mui/material";
24380
- import { jsx as jsx133, jsxs as jsxs68 } from "react/jsx-runtime";
24452
+ import { jsx as jsx134, jsxs as jsxs68 } from "react/jsx-runtime";
24381
24453
  var CIRCULAR_PROGRESS_PERCENTAGE = 85;
24382
24454
  var variants2 = {
24383
24455
  empty: {
@@ -24414,8 +24486,8 @@ var DonutProgress = ({
24414
24486
  showPercentageSymbol
24415
24487
  }) => {
24416
24488
  const getPercentageWithSymbol = () => /* @__PURE__ */ jsxs68(Stack11, { direction: "row", alignItems: "center", position: "relative", children: [
24417
- /* @__PURE__ */ jsx133(Typography_default, { variant: "h6", component: "div", color: grey800, children: label }),
24418
- /* @__PURE__ */ jsx133(
24489
+ /* @__PURE__ */ jsx134(Typography_default, { variant: "h6", component: "div", color: grey800, children: label }),
24490
+ /* @__PURE__ */ jsx134(
24419
24491
  Typography_default,
24420
24492
  {
24421
24493
  variant: "tooltip",
@@ -24434,7 +24506,7 @@ var DonutProgress = ({
24434
24506
  width: "fit-content"
24435
24507
  },
24436
24508
  children: [
24437
- /* @__PURE__ */ jsx133(
24509
+ /* @__PURE__ */ jsx134(
24438
24510
  CircularProgress_default,
24439
24511
  {
24440
24512
  variant: "determinate",
@@ -24450,7 +24522,7 @@ var DonutProgress = ({
24450
24522
  color: variants2[variant].emptyColor
24451
24523
  }
24452
24524
  ),
24453
- /* @__PURE__ */ jsx133(
24525
+ /* @__PURE__ */ jsx134(
24454
24526
  Box5,
24455
24527
  {
24456
24528
  sx: {
@@ -24458,7 +24530,7 @@ var DonutProgress = ({
24458
24530
  top: 0,
24459
24531
  left: 0
24460
24532
  },
24461
- children: /* @__PURE__ */ jsx133(
24533
+ children: /* @__PURE__ */ jsx134(
24462
24534
  CircularProgress_default,
24463
24535
  {
24464
24536
  variant: "determinate",
@@ -24473,7 +24545,7 @@ var DonutProgress = ({
24473
24545
  )
24474
24546
  }
24475
24547
  ),
24476
- variant !== "empty" && labelChip && /* @__PURE__ */ jsx133(
24548
+ variant !== "empty" && labelChip && /* @__PURE__ */ jsx134(
24477
24549
  Box5,
24478
24550
  {
24479
24551
  sx: {
@@ -24490,7 +24562,7 @@ var DonutProgress = ({
24490
24562
  justifyContent: "center",
24491
24563
  boxSizing: "border-box"
24492
24564
  },
24493
- children: /* @__PURE__ */ jsx133(
24565
+ children: /* @__PURE__ */ jsx134(
24494
24566
  Typography_default,
24495
24567
  {
24496
24568
  variant: "tooltip",
@@ -24507,14 +24579,14 @@ var DonutProgress = ({
24507
24579
  var DonutProgress_default = DonutProgress;
24508
24580
 
24509
24581
  // src/components/loader/Loader.tsx
24510
- import { jsx as jsx134 } from "react/jsx-runtime";
24582
+ import { jsx as jsx135 } from "react/jsx-runtime";
24511
24583
  var Loader = ({
24512
24584
  isVisible,
24513
24585
  zIndex = 1e4,
24514
24586
  size,
24515
24587
  hideProgress = false,
24516
24588
  sx
24517
- }) => /* @__PURE__ */ jsx134(Fade, { in: isVisible, children: /* @__PURE__ */ jsx134(
24589
+ }) => /* @__PURE__ */ jsx135(Fade, { in: isVisible, children: /* @__PURE__ */ jsx135(
24518
24590
  Box_default2,
24519
24591
  {
24520
24592
  sx: {
@@ -24530,7 +24602,7 @@ var Loader = ({
24530
24602
  backgroundColor: whiteOpacity32,
24531
24603
  ...sx
24532
24604
  },
24533
- children: !hideProgress && /* @__PURE__ */ jsx134(CircularProgress_default, { size })
24605
+ children: !hideProgress && /* @__PURE__ */ jsx135(CircularProgress_default, { size })
24534
24606
  }
24535
24607
  ) });
24536
24608
  var Loader_default = Loader;
@@ -24543,14 +24615,14 @@ import "katex/dist/katex.min.css";
24543
24615
 
24544
24616
  // src/components/markdown/KatexRenderer.tsx
24545
24617
  import katex from "katex";
24546
- import { jsx as jsx135, jsxs as jsxs69 } from "react/jsx-runtime";
24618
+ import { jsx as jsx136, jsxs as jsxs69 } from "react/jsx-runtime";
24547
24619
  var KatexRenderer = ({ children, block }) => {
24548
24620
  try {
24549
24621
  const html2 = katex.renderToString(children, {
24550
24622
  throwOnError: false,
24551
24623
  displayMode: block
24552
24624
  });
24553
- return /* @__PURE__ */ jsx135("span", { dangerouslySetInnerHTML: { __html: html2 } });
24625
+ return /* @__PURE__ */ jsx136("span", { dangerouslySetInnerHTML: { __html: html2 } });
24554
24626
  } catch (err) {
24555
24627
  return /* @__PURE__ */ jsxs69("pre", { style: { color: "red" }, children: [
24556
24628
  "KaTeX error: $",
@@ -24561,7 +24633,7 @@ var KatexRenderer = ({ children, block }) => {
24561
24633
  var KatexRenderer_default = KatexRenderer;
24562
24634
 
24563
24635
  // src/components/markdown/MarkdownRenderer.tsx
24564
- import { jsx as jsx136 } from "react/jsx-runtime";
24636
+ import { jsx as jsx137 } from "react/jsx-runtime";
24565
24637
  var MarkdownContainer = styled8("div")(
24566
24638
  ({
24567
24639
  color: color2,
@@ -24665,11 +24737,11 @@ var renderWithMath = (text) => {
24665
24737
  const inline = match[2];
24666
24738
  if (block !== void 0) {
24667
24739
  parts.push(
24668
- /* @__PURE__ */ jsx136(KatexRenderer_default, { block: true, children: block.trim() }, start)
24740
+ /* @__PURE__ */ jsx137(KatexRenderer_default, { block: true, children: block.trim() }, start)
24669
24741
  );
24670
24742
  } else if (inline !== void 0) {
24671
24743
  parts.push(
24672
- /* @__PURE__ */ jsx136(KatexRenderer_default, { children: inline.trim() }, start)
24744
+ /* @__PURE__ */ jsx137(KatexRenderer_default, { children: inline.trim() }, start)
24673
24745
  );
24674
24746
  }
24675
24747
  lastIndex = regex.lastIndex;
@@ -24699,11 +24771,11 @@ var CodeOrMath = ({ children, ...props }) => {
24699
24771
  if (m) {
24700
24772
  const expr = m[1] || m[2] || "";
24701
24773
  const isBlock = Boolean(m[1]);
24702
- return /* @__PURE__ */ jsx136(KatexRenderer_default, { block: isBlock, children: expr.trim() });
24774
+ return /* @__PURE__ */ jsx137(KatexRenderer_default, { block: isBlock, children: expr.trim() });
24703
24775
  }
24704
24776
  const maybe = renderWithMath(s);
24705
24777
  const onlyText = maybe.length === 1 && typeof maybe[0] === "string";
24706
- return onlyText ? /* @__PURE__ */ jsx136("code", { ...props, children }) : /* @__PURE__ */ jsx136("span", { children: maybe });
24778
+ return onlyText ? /* @__PURE__ */ jsx137("code", { ...props, children }) : /* @__PURE__ */ jsx137("span", { children: maybe });
24707
24779
  };
24708
24780
  var escapeInlineUnderscores = (s) => s.replace(/(\S)_(\S)/g, "$1\\_$2");
24709
24781
  var MarkdownRenderer = ({
@@ -24713,19 +24785,19 @@ var MarkdownRenderer = ({
24713
24785
  }) => {
24714
24786
  const protectedText = escapeInlineUnderscores(text || "");
24715
24787
  const normalized = normalizeLatexDelimiters(protectedText);
24716
- return /* @__PURE__ */ jsx136(
24788
+ return /* @__PURE__ */ jsx137(
24717
24789
  MarkdownContainer,
24718
24790
  {
24719
24791
  className: `markdown-container ${className || ""}`,
24720
24792
  ...rest,
24721
- children: /* @__PURE__ */ jsx136(
24793
+ children: /* @__PURE__ */ jsx137(
24722
24794
  Markdown,
24723
24795
  {
24724
24796
  options: {
24725
24797
  forceBlock: true,
24726
24798
  overrides: {
24727
24799
  p: {
24728
- component: ({ children, ...props }) => /* @__PURE__ */ jsx136("p", { ...props, children: renderChildrenWithMath(children) })
24800
+ component: ({ children, ...props }) => /* @__PURE__ */ jsx137("p", { ...props, children: renderChildrenWithMath(children) })
24729
24801
  },
24730
24802
  code: { component: CodeOrMath }
24731
24803
  }
@@ -24740,7 +24812,7 @@ var MarkdownRenderer_default = MarkdownRenderer;
24740
24812
 
24741
24813
  // src/components/navbar/Navbar.tsx
24742
24814
  import { Drawer as Drawer2 } from "@mui/material";
24743
- import { Fragment as Fragment32, jsx as jsx137, jsxs as jsxs70 } from "react/jsx-runtime";
24815
+ import { Fragment as Fragment33, jsx as jsx138, jsxs as jsxs70 } from "react/jsx-runtime";
24744
24816
  var Navbar = ({
24745
24817
  topContent,
24746
24818
  bottomContent,
@@ -24748,7 +24820,7 @@ var Navbar = ({
24748
24820
  drawerBottomContent,
24749
24821
  onClose,
24750
24822
  isDrawerOpen = false
24751
- }) => /* @__PURE__ */ jsxs70(Fragment32, { children: [
24823
+ }) => /* @__PURE__ */ jsxs70(Fragment33, { children: [
24752
24824
  /* @__PURE__ */ jsxs70(
24753
24825
  Box_default2,
24754
24826
  {
@@ -24764,8 +24836,8 @@ var Navbar = ({
24764
24836
  },
24765
24837
  className: "Slim-Vertical-Scroll",
24766
24838
  children: [
24767
- /* @__PURE__ */ jsx137(Box_default2, { children: topContent }),
24768
- /* @__PURE__ */ jsx137(Box_default2, { children: bottomContent })
24839
+ /* @__PURE__ */ jsx138(Box_default2, { children: topContent }),
24840
+ /* @__PURE__ */ jsx138(Box_default2, { children: bottomContent })
24769
24841
  ]
24770
24842
  }
24771
24843
  ),
@@ -24792,8 +24864,8 @@ var Navbar = ({
24792
24864
  },
24793
24865
  onClose,
24794
24866
  children: [
24795
- /* @__PURE__ */ jsx137("div", { children: drawerTopContent }),
24796
- /* @__PURE__ */ jsx137("div", { children: drawerBottomContent })
24867
+ /* @__PURE__ */ jsx138("div", { children: drawerTopContent }),
24868
+ /* @__PURE__ */ jsx138("div", { children: drawerBottomContent })
24797
24869
  ]
24798
24870
  }
24799
24871
  )
@@ -24803,7 +24875,7 @@ var Navbar_default = Navbar;
24803
24875
  // src/components/navbar/NavbarButton.tsx
24804
24876
  import * as React77 from "react";
24805
24877
  import { Box as Box6, ButtonBase as ButtonBase2 } from "@mui/material";
24806
- import { jsx as jsx138, jsxs as jsxs71 } from "react/jsx-runtime";
24878
+ import { jsx as jsx139, jsxs as jsxs71 } from "react/jsx-runtime";
24807
24879
  var NavbarButton = React77.forwardRef(
24808
24880
  function NavbarButton2({
24809
24881
  iconId,
@@ -24828,7 +24900,7 @@ var NavbarButton = React77.forwardRef(
24828
24900
  position: "relative"
24829
24901
  },
24830
24902
  children: [
24831
- /* @__PURE__ */ jsx138(
24903
+ /* @__PURE__ */ jsx139(
24832
24904
  Box6,
24833
24905
  {
24834
24906
  sx: {
@@ -24844,7 +24916,7 @@ var NavbarButton = React77.forwardRef(
24844
24916
  }
24845
24917
  }
24846
24918
  ),
24847
- /* @__PURE__ */ jsx138(
24919
+ /* @__PURE__ */ jsx139(
24848
24920
  Box6,
24849
24921
  {
24850
24922
  sx: {
@@ -24877,7 +24949,7 @@ var NavbarButton = React77.forwardRef(
24877
24949
  },
24878
24950
  children: [
24879
24951
  srcUrl ? getButtonContent(
24880
- /* @__PURE__ */ jsx138(
24952
+ /* @__PURE__ */ jsx139(
24881
24953
  Avatar_default,
24882
24954
  {
24883
24955
  className: "NavbarButton-icon",
@@ -24887,7 +24959,7 @@ var NavbarButton = React77.forwardRef(
24887
24959
  }
24888
24960
  )
24889
24961
  ) : getButtonContent(
24890
- /* @__PURE__ */ jsx138(
24962
+ /* @__PURE__ */ jsx139(
24891
24963
  Icon_default,
24892
24964
  {
24893
24965
  id: iconId,
@@ -24903,7 +24975,7 @@ var NavbarButton = React77.forwardRef(
24903
24975
  }
24904
24976
  )
24905
24977
  ),
24906
- badgeIconProps && /* @__PURE__ */ jsx138(
24978
+ badgeIconProps && /* @__PURE__ */ jsx139(
24907
24979
  Icon_default,
24908
24980
  {
24909
24981
  ...badgeIconProps,
@@ -24925,8 +24997,8 @@ var NavbarButton = React77.forwardRef(
24925
24997
  var NavbarButton_default = NavbarButton;
24926
24998
 
24927
24999
  // src/components/navbar/NavbarHeader.tsx
24928
- import { jsx as jsx139 } from "react/jsx-runtime";
24929
- var NavbarHeader = ({ text }) => /* @__PURE__ */ jsx139(
25000
+ import { jsx as jsx140 } from "react/jsx-runtime";
25001
+ var NavbarHeader = ({ text }) => /* @__PURE__ */ jsx140(
24930
25002
  Typography_default,
24931
25003
  {
24932
25004
  sx: {
@@ -24948,10 +25020,10 @@ var NavbarHeader_default = NavbarHeader;
24948
25020
  // src/components/navbar/NavbarLogo.tsx
24949
25021
  import * as React78 from "react";
24950
25022
  import { ButtonBase as ButtonBase3 } from "@mui/material";
24951
- import { jsx as jsx140 } from "react/jsx-runtime";
25023
+ import { jsx as jsx141 } from "react/jsx-runtime";
24952
25024
  var NavbarLogo = React78.forwardRef(
24953
25025
  function NavbarButton3({ src, ...rest }, ref) {
24954
- return /* @__PURE__ */ jsx140(
25026
+ return /* @__PURE__ */ jsx141(
24955
25027
  ButtonBase3,
24956
25028
  {
24957
25029
  ref,
@@ -24962,7 +25034,7 @@ var NavbarLogo = React78.forwardRef(
24962
25034
  borderBottom: `1px solid ${grey200}`,
24963
25035
  boxSizing: "border-box"
24964
25036
  },
24965
- children: /* @__PURE__ */ jsx140("img", { src, width: "32px", height: "32px" })
25037
+ children: /* @__PURE__ */ jsx141("img", { src, width: "32px", height: "32px" })
24966
25038
  }
24967
25039
  );
24968
25040
  }
@@ -24971,7 +25043,7 @@ var NavbarLogo_default = NavbarLogo;
24971
25043
 
24972
25044
  // src/components/overlay/DonutFocusOverlay.tsx
24973
25045
  import * as React79 from "react";
24974
- import { Fragment as Fragment33, jsx as jsx141, jsxs as jsxs72 } from "react/jsx-runtime";
25046
+ import { Fragment as Fragment34, jsx as jsx142, jsxs as jsxs72 } from "react/jsx-runtime";
24975
25047
  var DonutFocusOverlay = ({
24976
25048
  isVisible,
24977
25049
  elementRef,
@@ -25012,8 +25084,8 @@ var DonutFocusOverlay = ({
25012
25084
  const internalTopHalfCircle = `${internalCircleRadius} ${internalCircleRadius} 0 0 1 ${startPointX + donutWidth + internalCircleRadius * 2} ${startPointY}`;
25013
25085
  const externalTopHalfCircle = `${externalCircleRadius} ${externalCircleRadius} 0 0 0 ${startPointX} ${startPointY}`;
25014
25086
  const path = `path("M ${startPointX} ${startPointY} A ${externalBottomHalfCircle} m ${-donutWidth} 0 A ${internalBottomHalfCircle} A ${internalTopHalfCircle} m ${donutWidth} 0 A ${externalTopHalfCircle} Z")`;
25015
- return /* @__PURE__ */ jsxs72(Fragment33, { children: [
25016
- /* @__PURE__ */ jsx141(
25087
+ return /* @__PURE__ */ jsxs72(Fragment34, { children: [
25088
+ /* @__PURE__ */ jsx142(
25017
25089
  Box_default2,
25018
25090
  {
25019
25091
  sx: {
@@ -25030,7 +25102,7 @@ var DonutFocusOverlay = ({
25030
25102
  }
25031
25103
  }
25032
25104
  ),
25033
- chipLabel && /* @__PURE__ */ jsx141(
25105
+ chipLabel && /* @__PURE__ */ jsx142(
25034
25106
  Chip_default,
25035
25107
  {
25036
25108
  label: chipLabel,
@@ -25057,7 +25129,7 @@ var DonutFocusOverlay = ({
25057
25129
  var DonutFocusOverlay_default = DonutFocusOverlay;
25058
25130
 
25059
25131
  // src/components/pager/Pager.tsx
25060
- import { Fragment as Fragment34, jsx as jsx142, jsxs as jsxs73 } from "react/jsx-runtime";
25132
+ import { Fragment as Fragment35, jsx as jsx143, jsxs as jsxs73 } from "react/jsx-runtime";
25061
25133
  var Pager = ({
25062
25134
  page,
25063
25135
  pageSize,
@@ -25071,10 +25143,10 @@ var Pager = ({
25071
25143
  const to = Math.min(current + pageSize, total);
25072
25144
  const pages = Math.max(Math.ceil(total / pageSize), 1);
25073
25145
  const options = [...Array(pages).keys()].map((i) => ({ value: i + 1 }));
25074
- const Label = ({ children }) => /* @__PURE__ */ jsx142(Typography_default, { color: Colors_exports.grey400, sx: { padding: "0 8px" }, children });
25146
+ const Label = ({ children }) => /* @__PURE__ */ jsx143(Typography_default, { color: Colors_exports.grey400, sx: { padding: "0 8px" }, children });
25075
25147
  return /* @__PURE__ */ jsxs73(Stack_default, { direction: "row", sx: { alignItems: "center" }, children: [
25076
- /* @__PURE__ */ jsx142(Label, { children: t("PAGER.PAGE") }),
25077
- /* @__PURE__ */ jsx142(
25148
+ /* @__PURE__ */ jsx143(Label, { children: t("PAGER.PAGE") }),
25149
+ /* @__PURE__ */ jsx143(
25078
25150
  Select_default,
25079
25151
  {
25080
25152
  value: page,
@@ -25083,9 +25155,9 @@ var Pager = ({
25083
25155
  sx: { minWidth: 78 }
25084
25156
  }
25085
25157
  ),
25086
- allowedPageSizes && /* @__PURE__ */ jsxs73(Fragment34, { children: [
25087
- /* @__PURE__ */ jsx142(Label, { children: t("PAGER.ROWS_PER_PAGE") }),
25088
- /* @__PURE__ */ jsx142(
25158
+ allowedPageSizes && /* @__PURE__ */ jsxs73(Fragment35, { children: [
25159
+ /* @__PURE__ */ jsx143(Label, { children: t("PAGER.ROWS_PER_PAGE") }),
25160
+ /* @__PURE__ */ jsx143(
25089
25161
  Select_default,
25090
25162
  {
25091
25163
  value: pageSize,
@@ -25108,7 +25180,7 @@ var Pager = ({
25108
25180
  " ",
25109
25181
  total
25110
25182
  ] }),
25111
- /* @__PURE__ */ jsx142(
25183
+ /* @__PURE__ */ jsx143(
25112
25184
  IconButton_default,
25113
25185
  {
25114
25186
  disabled: page <= 1,
@@ -25116,7 +25188,7 @@ var Pager = ({
25116
25188
  onClick: () => onPageChange(page - 1, pageSize)
25117
25189
  }
25118
25190
  ),
25119
- /* @__PURE__ */ jsx142(
25191
+ /* @__PURE__ */ jsx143(
25120
25192
  IconButton_default,
25121
25193
  {
25122
25194
  disabled: page > total / pageSize,
@@ -25131,7 +25203,7 @@ var Pager_default = Pager;
25131
25203
  // src/components/scrollable/HorizontalScrollable.tsx
25132
25204
  import { ButtonBase as ButtonBase4 } from "@mui/material";
25133
25205
  import * as React80 from "react";
25134
- import { jsx as jsx143, jsxs as jsxs74 } from "react/jsx-runtime";
25206
+ import { jsx as jsx144, jsxs as jsxs74 } from "react/jsx-runtime";
25135
25207
  var HorizontalScrollable = ({
25136
25208
  style: style3,
25137
25209
  children,
@@ -25181,7 +25253,7 @@ var HorizontalScrollable = ({
25181
25253
  current.scrollBy(stepDistance, 0);
25182
25254
  };
25183
25255
  return /* @__PURE__ */ jsxs74(Box_default2, { sx: { position: "relative", ...style3 }, children: [
25184
- /* @__PURE__ */ jsx143(
25256
+ /* @__PURE__ */ jsx144(
25185
25257
  ButtonBase4,
25186
25258
  {
25187
25259
  sx: {
@@ -25198,10 +25270,10 @@ var HorizontalScrollable = ({
25198
25270
  ...isLeftArrowHidden && { display: "none" }
25199
25271
  },
25200
25272
  onClick: () => leftScroll(),
25201
- children: /* @__PURE__ */ jsx143(Icon_default, { id: "chevron-left" })
25273
+ children: /* @__PURE__ */ jsx144(Icon_default, { id: "chevron-left" })
25202
25274
  }
25203
25275
  ),
25204
- /* @__PURE__ */ jsx143(
25276
+ /* @__PURE__ */ jsx144(
25205
25277
  Box_default2,
25206
25278
  {
25207
25279
  ref: horizontalContainerRef,
@@ -25220,7 +25292,7 @@ var HorizontalScrollable = ({
25220
25292
  children
25221
25293
  }
25222
25294
  ),
25223
- /* @__PURE__ */ jsx143(
25295
+ /* @__PURE__ */ jsx144(
25224
25296
  ButtonBase4,
25225
25297
  {
25226
25298
  sx: {
@@ -25237,7 +25309,7 @@ var HorizontalScrollable = ({
25237
25309
  ...isRightArrowHidden && { display: "none" }
25238
25310
  },
25239
25311
  onClick: () => rightScroll(),
25240
- children: /* @__PURE__ */ jsx143(Icon_default, { id: "chevron-right" })
25312
+ children: /* @__PURE__ */ jsx144(Icon_default, { id: "chevron-right" })
25241
25313
  }
25242
25314
  )
25243
25315
  ] });
@@ -25246,7 +25318,7 @@ var HorizontalScrollable_default = HorizontalScrollable;
25246
25318
 
25247
25319
  // src/components/scrollable/Carousel.tsx
25248
25320
  import * as React81 from "react";
25249
- import { jsx as jsx144, jsxs as jsxs75 } from "react/jsx-runtime";
25321
+ import { jsx as jsx145, jsxs as jsxs75 } from "react/jsx-runtime";
25250
25322
  var buttonStyles = {
25251
25323
  color: grey800,
25252
25324
  position: "absolute",
@@ -25502,7 +25574,7 @@ function Carousel({
25502
25574
  }
25503
25575
  scrollHorizontal(scrollData, direction);
25504
25576
  };
25505
- return /* @__PURE__ */ jsx144(Box_default2, { ref: rootRef, width: "100%", children: /* @__PURE__ */ jsxs75(
25577
+ return /* @__PURE__ */ jsx145(Box_default2, { ref: rootRef, width: "100%", children: /* @__PURE__ */ jsxs75(
25506
25578
  Box_default2,
25507
25579
  {
25508
25580
  sx: {
@@ -25514,7 +25586,7 @@ function Carousel({
25514
25586
  }
25515
25587
  },
25516
25588
  children: [
25517
- /* @__PURE__ */ jsx144(
25589
+ /* @__PURE__ */ jsx145(
25518
25590
  IconButton_default,
25519
25591
  {
25520
25592
  iconId: "chevron-left",
@@ -25527,7 +25599,7 @@ function Carousel({
25527
25599
  onClick: () => scrollToNext("left")
25528
25600
  }
25529
25601
  ),
25530
- /* @__PURE__ */ jsx144(
25602
+ /* @__PURE__ */ jsx145(
25531
25603
  Box_default2,
25532
25604
  {
25533
25605
  ref: containerRef,
@@ -25540,7 +25612,7 @@ function Carousel({
25540
25612
  "::-webkit-scrollbar": { display: "none" },
25541
25613
  gap: `${gap2}px`
25542
25614
  },
25543
- children: items.map((item, index) => /* @__PURE__ */ jsx144(
25615
+ children: items.map((item, index) => /* @__PURE__ */ jsx145(
25544
25616
  Box_default2,
25545
25617
  {
25546
25618
  sx: {
@@ -25555,7 +25627,7 @@ function Carousel({
25555
25627
  ))
25556
25628
  }
25557
25629
  ),
25558
- /* @__PURE__ */ jsx144(
25630
+ /* @__PURE__ */ jsx145(
25559
25631
  IconButton_default,
25560
25632
  {
25561
25633
  iconId: "chevron-right",
@@ -25578,12 +25650,12 @@ var Carousel_default = Carousel;
25578
25650
  import {
25579
25651
  SnackbarProvider as NotistackSnackbarProvider
25580
25652
  } from "notistack";
25581
- import { jsx as jsx145 } from "react/jsx-runtime";
25653
+ import { jsx as jsx146 } from "react/jsx-runtime";
25582
25654
  var SnackbarProvider = ({
25583
25655
  children,
25584
25656
  maxSnack = 3,
25585
25657
  domRoot
25586
- }) => /* @__PURE__ */ jsx145(
25658
+ }) => /* @__PURE__ */ jsx146(
25587
25659
  NotistackSnackbarProvider,
25588
25660
  {
25589
25661
  maxSnack,
@@ -25604,7 +25676,7 @@ import {
25604
25676
  import * as React82 from "react";
25605
25677
  import { SnackbarContent } from "notistack";
25606
25678
  import { Typography as Typography4 } from "@mui/material";
25607
- import { jsx as jsx146, jsxs as jsxs76 } from "react/jsx-runtime";
25679
+ import { jsx as jsx147, jsxs as jsxs76 } from "react/jsx-runtime";
25608
25680
  var sizeStyles5 = {
25609
25681
  M: {
25610
25682
  width: "344px",
@@ -25647,7 +25719,7 @@ var Snackbar = React82.forwardRef(
25647
25719
  const closeClickHandler = React82.useCallback(() => {
25648
25720
  onCloseClick && onCloseClick(key);
25649
25721
  }, [onCloseClick, key]);
25650
- return /* @__PURE__ */ jsx146(
25722
+ return /* @__PURE__ */ jsx147(
25651
25723
  SnackbarContent,
25652
25724
  {
25653
25725
  ref,
@@ -25672,7 +25744,7 @@ var Snackbar = React82.forwardRef(
25672
25744
  spacing: 2,
25673
25745
  sx: { width: "100%", alignItems: "center" },
25674
25746
  children: [
25675
- withIcon && /* @__PURE__ */ jsx146(
25747
+ withIcon && /* @__PURE__ */ jsx147(
25676
25748
  Box_default2,
25677
25749
  {
25678
25750
  sx: {
@@ -25680,10 +25752,10 @@ var Snackbar = React82.forwardRef(
25680
25752
  flexShrink: 0,
25681
25753
  color: iconColors[severity]
25682
25754
  },
25683
- children: /* @__PURE__ */ jsx146(Icon_default, { id: severityIcons[severity] })
25755
+ children: /* @__PURE__ */ jsx147(Icon_default, { id: severityIcons[severity] })
25684
25756
  }
25685
25757
  ),
25686
- /* @__PURE__ */ jsx146(
25758
+ /* @__PURE__ */ jsx147(
25687
25759
  Typography4,
25688
25760
  {
25689
25761
  variant: "body2",
@@ -25691,7 +25763,7 @@ var Snackbar = React82.forwardRef(
25691
25763
  children: message
25692
25764
  }
25693
25765
  ),
25694
- actionText && /* @__PURE__ */ jsx146(Box_default2, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx146(
25766
+ actionText && /* @__PURE__ */ jsx147(Box_default2, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx147(
25695
25767
  Button_default,
25696
25768
  {
25697
25769
  sx: {
@@ -25706,7 +25778,7 @@ var Snackbar = React82.forwardRef(
25706
25778
  onClick: actionClickHandler
25707
25779
  }
25708
25780
  ) }),
25709
- /* @__PURE__ */ jsx146(Box_default2, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx146(
25781
+ /* @__PURE__ */ jsx147(Box_default2, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx147(
25710
25782
  IconButton_default,
25711
25783
  {
25712
25784
  iconId: "close",
@@ -25731,7 +25803,7 @@ var Snackbar_default = Snackbar;
25731
25803
 
25732
25804
  // src/components/snackbar/enqueueSnackbar.tsx
25733
25805
  import { closeSnackbar as closeSnackbar2 } from "notistack";
25734
- import { jsx as jsx147 } from "react/jsx-runtime";
25806
+ import { jsx as jsx148 } from "react/jsx-runtime";
25735
25807
  var enqueueSnackbar = (message, options = {}) => {
25736
25808
  const {
25737
25809
  persist,
@@ -25747,7 +25819,7 @@ var enqueueSnackbar = (message, options = {}) => {
25747
25819
  autoHideDuration: autoHideDurationMs ?? 1e4,
25748
25820
  persist: persist ?? false,
25749
25821
  content(key, message2) {
25750
- return /* @__PURE__ */ jsx147(
25822
+ return /* @__PURE__ */ jsx148(
25751
25823
  Snackbar_default,
25752
25824
  {
25753
25825
  identifierKey: key,
@@ -25764,7 +25836,7 @@ var enqueueSnackbar = (message, options = {}) => {
25764
25836
 
25765
25837
  // src/components/tab/TabButton.tsx
25766
25838
  import MuiTab from "@mui/material/Tab";
25767
- import { jsx as jsx148 } from "react/jsx-runtime";
25839
+ import { jsx as jsx149 } from "react/jsx-runtime";
25768
25840
  var TabButton = ({
25769
25841
  children,
25770
25842
  disabled = false,
@@ -25772,10 +25844,10 @@ var TabButton = ({
25772
25844
  marginRight = "24px",
25773
25845
  dataTestId,
25774
25846
  ...rest
25775
- }) => /* @__PURE__ */ jsx148(
25847
+ }) => /* @__PURE__ */ jsx149(
25776
25848
  MuiTab,
25777
25849
  {
25778
- label: /* @__PURE__ */ jsx148(
25850
+ label: /* @__PURE__ */ jsx149(
25779
25851
  "div",
25780
25852
  {
25781
25853
  style: {
@@ -25817,7 +25889,7 @@ import MuiTabs from "@mui/material/Tabs";
25817
25889
  // src/components/layout/SwipeableViews.tsx
25818
25890
  import * as React83 from "react";
25819
25891
  import { useEffect as useEffect22, useRef as useRef23, useState as useState32 } from "react";
25820
- import { jsx as jsx149 } from "react/jsx-runtime";
25892
+ import { jsx as jsx150 } from "react/jsx-runtime";
25821
25893
  var styles = {
25822
25894
  container: {
25823
25895
  maxHeight: "100%",
@@ -25892,7 +25964,7 @@ function SwipeableViews({
25892
25964
  }
25893
25965
  }, [index]);
25894
25966
  const hasShowTab = (childIndex) => childIndex === index || childIndex === previousIndex;
25895
- return /* @__PURE__ */ jsx149(
25967
+ return /* @__PURE__ */ jsx150(
25896
25968
  "div",
25897
25969
  {
25898
25970
  ...rootProps,
@@ -25920,7 +25992,7 @@ function SwipeableViews({
25920
25992
  if (React83.isValidElement(child)) {
25921
25993
  mountedChild = !!child.props.keepMounted;
25922
25994
  }
25923
- return /* @__PURE__ */ jsx149(
25995
+ return /* @__PURE__ */ jsx150(
25924
25996
  "div",
25925
25997
  {
25926
25998
  style: Object.assign(
@@ -25945,7 +26017,7 @@ function SwipeableViews({
25945
26017
  }
25946
26018
 
25947
26019
  // src/components/tab/Tabs.tsx
25948
- import { jsx as jsx150, jsxs as jsxs77 } from "react/jsx-runtime";
26020
+ import { jsx as jsx151, jsxs as jsxs77 } from "react/jsx-runtime";
25949
26021
  var Tabs = ({
25950
26022
  tabButtons,
25951
26023
  children,
@@ -26057,7 +26129,7 @@ var Tabs = ({
26057
26129
  }
26058
26130
  },
26059
26131
  children: [
26060
- /* @__PURE__ */ jsx150(
26132
+ /* @__PURE__ */ jsx151(
26061
26133
  MuiTabs,
26062
26134
  {
26063
26135
  ref: tabsRef,
@@ -26090,7 +26162,7 @@ var Tabs = ({
26090
26162
  children: tabButtons
26091
26163
  }
26092
26164
  ),
26093
- /* @__PURE__ */ jsx150(
26165
+ /* @__PURE__ */ jsx151(
26094
26166
  Box_default2,
26095
26167
  {
26096
26168
  sx: {
@@ -26099,7 +26171,7 @@ var Tabs = ({
26099
26171
  height: "100%"
26100
26172
  }
26101
26173
  },
26102
- children: /* @__PURE__ */ jsx150(
26174
+ children: /* @__PURE__ */ jsx151(
26103
26175
  SwipeableViews,
26104
26176
  {
26105
26177
  index: currentTabIndex ?? value,
@@ -26128,8 +26200,8 @@ var Tabs = ({
26128
26200
  var Tabs_default = Tabs;
26129
26201
 
26130
26202
  // src/components/tab/TabContent.tsx
26131
- import { jsx as jsx151 } from "react/jsx-runtime";
26132
- var TabContent = ({ children }) => /* @__PURE__ */ jsx151(
26203
+ import { jsx as jsx152 } from "react/jsx-runtime";
26204
+ var TabContent = ({ children }) => /* @__PURE__ */ jsx152(
26133
26205
  Box_default2,
26134
26206
  {
26135
26207
  sx: {
@@ -26146,8 +26218,8 @@ import {
26146
26218
  TableRow as MuiTableRow,
26147
26219
  TableCell as MuiTableCell
26148
26220
  } from "@mui/material";
26149
- import { jsx as jsx152 } from "react/jsx-runtime";
26150
- var TableDivider = () => /* @__PURE__ */ jsx152(MuiTableRow, { children: /* @__PURE__ */ jsx152(
26221
+ import { jsx as jsx153 } from "react/jsx-runtime";
26222
+ var TableDivider = () => /* @__PURE__ */ jsx153(MuiTableRow, { children: /* @__PURE__ */ jsx153(
26151
26223
  MuiTableCell,
26152
26224
  {
26153
26225
  colSpan: 1e3,
@@ -26160,8 +26232,8 @@ var TableDivider_default = TableDivider;
26160
26232
  import {
26161
26233
  TableSortLabel as MuiTableSortLabel
26162
26234
  } from "@mui/material";
26163
- import { jsx as jsx153 } from "react/jsx-runtime";
26164
- var TableSortLabel = ({ children, ...rest }) => /* @__PURE__ */ jsx153(MuiTableSortLabel, { ...rest, children });
26235
+ import { jsx as jsx154 } from "react/jsx-runtime";
26236
+ var TableSortLabel = ({ children, ...rest }) => /* @__PURE__ */ jsx154(MuiTableSortLabel, { ...rest, children });
26165
26237
  var TableSortLabel_default = TableSortLabel;
26166
26238
 
26167
26239
  // src/components/table/Table.tsx
@@ -26169,21 +26241,21 @@ import {
26169
26241
  TableContainer,
26170
26242
  Table as MuiTable
26171
26243
  } from "@mui/material";
26172
- import { jsx as jsx154 } from "react/jsx-runtime";
26173
- var Table = ({ children, sx, className }) => /* @__PURE__ */ jsx154(TableContainer, { className: "Slim-Horizontal-Scroll", children: /* @__PURE__ */ jsx154(MuiTable, { sx: { backgroundColor: white, ...sx }, className, children }) });
26244
+ import { jsx as jsx155 } from "react/jsx-runtime";
26245
+ var Table = ({ children, sx, className }) => /* @__PURE__ */ jsx155(TableContainer, { className: "Slim-Horizontal-Scroll", children: /* @__PURE__ */ jsx155(MuiTable, { sx: { backgroundColor: white, ...sx }, className, children }) });
26174
26246
  var Table_default = Table;
26175
26247
 
26176
26248
  // src/components/table/TableBody.tsx
26177
26249
  import { TableBody as MuiTableBody } from "@mui/material";
26178
- import { jsx as jsx155 } from "react/jsx-runtime";
26179
- var TableBody = ({ children }) => /* @__PURE__ */ jsx155(MuiTableBody, { children });
26250
+ import { jsx as jsx156 } from "react/jsx-runtime";
26251
+ var TableBody = ({ children }) => /* @__PURE__ */ jsx156(MuiTableBody, { children });
26180
26252
  var TableBody_default = TableBody;
26181
26253
 
26182
26254
  // src/components/table/TableCell.tsx
26183
26255
  import {
26184
26256
  TableCell as MuiTableCell2
26185
26257
  } from "@mui/material";
26186
- import { jsx as jsx156 } from "react/jsx-runtime";
26258
+ import { jsx as jsx157 } from "react/jsx-runtime";
26187
26259
  var TableCell = ({
26188
26260
  children,
26189
26261
  size = "M",
@@ -26194,7 +26266,7 @@ var TableCell = ({
26194
26266
  onClick,
26195
26267
  noBorder = false,
26196
26268
  ...rest
26197
- }) => /* @__PURE__ */ jsx156(
26269
+ }) => /* @__PURE__ */ jsx157(
26198
26270
  MuiTableCell2,
26199
26271
  {
26200
26272
  ...rest,
@@ -26219,7 +26291,7 @@ var TableCell_default = TableCell;
26219
26291
 
26220
26292
  // src/components/table/TableCellCopy.tsx
26221
26293
  import * as React85 from "react";
26222
- import { jsx as jsx157 } from "react/jsx-runtime";
26294
+ import { jsx as jsx158 } from "react/jsx-runtime";
26223
26295
  var TableCellCopy = ({ text, textToCopy, ...rest }) => {
26224
26296
  const { t } = useTranslation();
26225
26297
  const [isCopied, setIsCopied] = React85.useState(false);
@@ -26237,7 +26309,7 @@ var TableCellCopy = ({ text, textToCopy, ...rest }) => {
26237
26309
  const getIconId = () => !isCopied ? "content-copy" : "check";
26238
26310
  const iconHiddenClass = "icon-hidden";
26239
26311
  const iconCopiedClass = "icon-copied";
26240
- return /* @__PURE__ */ jsx157(TableCell_default, { ...rest, sx: { padding: 0 }, children: /* @__PURE__ */ jsx157(
26312
+ return /* @__PURE__ */ jsx158(TableCell_default, { ...rest, sx: { padding: 0 }, children: /* @__PURE__ */ jsx158(
26241
26313
  Stack_default,
26242
26314
  {
26243
26315
  direction: "row",
@@ -26246,7 +26318,7 @@ var TableCellCopy = ({ text, textToCopy, ...rest }) => {
26246
26318
  onMouseEnter: () => setShowIcon(true),
26247
26319
  onMouseLeave: () => setShowIcon(false),
26248
26320
  onClick: manageButtonClicked,
26249
- children: /* @__PURE__ */ jsx157(Tooltip_default, { title: t(!isCopied ? "COPY" : "COPIED"), children: /* @__PURE__ */ jsx157(
26321
+ children: /* @__PURE__ */ jsx158(Tooltip_default, { title: t(!isCopied ? "COPY" : "COPIED"), children: /* @__PURE__ */ jsx158(
26250
26322
  Button_default,
26251
26323
  {
26252
26324
  className: isCopied ? iconCopiedClass : !showIcon ? iconHiddenClass : "",
@@ -26276,21 +26348,21 @@ var TableCellCopy_default = TableCellCopy;
26276
26348
 
26277
26349
  // src/components/table/TableHead.tsx
26278
26350
  import { TableHead as MuiTableHead } from "@mui/material";
26279
- import { jsx as jsx158 } from "react/jsx-runtime";
26280
- var TableHead = ({ children }) => /* @__PURE__ */ jsx158(MuiTableHead, { children });
26351
+ import { jsx as jsx159 } from "react/jsx-runtime";
26352
+ var TableHead = ({ children }) => /* @__PURE__ */ jsx159(MuiTableHead, { children });
26281
26353
  var TableHead_default = TableHead;
26282
26354
 
26283
26355
  // src/components/table/TableRow.tsx
26284
26356
  import {
26285
26357
  TableRow as MuiTableRow2
26286
26358
  } from "@mui/material";
26287
- import { jsx as jsx159 } from "react/jsx-runtime";
26359
+ import { jsx as jsx160 } from "react/jsx-runtime";
26288
26360
  var TableRow = ({
26289
26361
  children,
26290
26362
  isFollowedByNestedTable = false,
26291
26363
  fadeInLeftAnimation = false,
26292
26364
  sx
26293
- }) => /* @__PURE__ */ jsx159(
26365
+ }) => /* @__PURE__ */ jsx160(
26294
26366
  MuiTableRow2,
26295
26367
  {
26296
26368
  className: `${isFollowedByNestedTable ? "Followed-By-Nested-Table" : ""} ${fadeInLeftAnimation ? "animated fadeInLeft" : ""}`,
@@ -26302,14 +26374,14 @@ var TableRow_default = TableRow;
26302
26374
 
26303
26375
  // src/components/table/NestedTable.tsx
26304
26376
  import { Collapse as Collapse7 } from "@mui/material";
26305
- import { jsx as jsx160 } from "react/jsx-runtime";
26377
+ import { jsx as jsx161 } from "react/jsx-runtime";
26306
26378
  var NestedTable = ({
26307
26379
  colSpan,
26308
26380
  children,
26309
26381
  className = "",
26310
26382
  sx,
26311
26383
  isVisible = true
26312
- }) => /* @__PURE__ */ jsx160(TableRow_default, { children: /* @__PURE__ */ jsx160(
26384
+ }) => /* @__PURE__ */ jsx161(TableRow_default, { children: /* @__PURE__ */ jsx161(
26313
26385
  TableCell_default,
26314
26386
  {
26315
26387
  colSpan,
@@ -26318,14 +26390,14 @@ var NestedTable = ({
26318
26390
  height: "auto",
26319
26391
  ...!isVisible && { borderBottom: "none" }
26320
26392
  },
26321
- children: /* @__PURE__ */ jsx160(Collapse7, { in: isVisible, children: /* @__PURE__ */ jsx160(Box_default2, { sx: { padding: "16px", backgroundColor: grey100 }, children: /* @__PURE__ */ jsx160(Paper_default, { children: /* @__PURE__ */ jsx160(Table_default, { sx, className: `Nested-Table ${className}`, children }) }) }) })
26393
+ children: /* @__PURE__ */ jsx161(Collapse7, { in: isVisible, children: /* @__PURE__ */ jsx161(Box_default2, { sx: { padding: "16px", backgroundColor: grey100 }, children: /* @__PURE__ */ jsx161(Paper_default, { children: /* @__PURE__ */ jsx161(Table_default, { sx, className: `Nested-Table ${className}`, children }) }) }) })
26322
26394
  }
26323
26395
  ) });
26324
26396
  var NestedTable_default = NestedTable;
26325
26397
 
26326
26398
  // src/components/toolbar/ToolbarBreadcrumb.tsx
26327
- import { jsx as jsx161 } from "react/jsx-runtime";
26328
- var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx161(
26399
+ import { jsx as jsx162 } from "react/jsx-runtime";
26400
+ var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx162(
26329
26401
  Stack_default,
26330
26402
  {
26331
26403
  direction: "row",
@@ -26335,7 +26407,7 @@ var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx161(
26335
26407
  (previous, current, index) => [
26336
26408
  ...previous,
26337
26409
  ...index > 0 ? [
26338
- /* @__PURE__ */ jsx161(
26410
+ /* @__PURE__ */ jsx162(
26339
26411
  Typography_default,
26340
26412
  {
26341
26413
  color: grey500,
@@ -26359,9 +26431,9 @@ var ToolbarBreadcrumb_default = ToolbarBreadcrumb;
26359
26431
  // src/components/toolbar/ToolbarBreadcrumbButton.tsx
26360
26432
  import { ButtonBase as ButtonBase5 } from "@mui/material";
26361
26433
  import * as React86 from "react";
26362
- import { jsx as jsx162 } from "react/jsx-runtime";
26434
+ import { jsx as jsx163 } from "react/jsx-runtime";
26363
26435
  var ToolbarBreadcrumbButton = React86.forwardRef(function ToolbarBreadcrumbButton2({ text, className, ...rest }, ref) {
26364
- return /* @__PURE__ */ jsx162(
26436
+ return /* @__PURE__ */ jsx163(
26365
26437
  ButtonBase5,
26366
26438
  {
26367
26439
  className: `Cn-ToolbarBreadcrumbButton ${className}`,
@@ -26380,14 +26452,14 @@ var ToolbarBreadcrumbButton = React86.forwardRef(function ToolbarBreadcrumbButto
26380
26452
  }
26381
26453
  },
26382
26454
  ...rest,
26383
- children: /* @__PURE__ */ jsx162(Typography_default, { color: "inherit", component: "div", variant: "h6", noWrap: true, children: text })
26455
+ children: /* @__PURE__ */ jsx163(Typography_default, { color: "inherit", component: "div", variant: "h6", noWrap: true, children: text })
26384
26456
  }
26385
26457
  );
26386
26458
  });
26387
26459
  var ToolbarBreadcrumbButton_default = ToolbarBreadcrumbButton;
26388
26460
 
26389
26461
  // src/components/toolbar/Toolbar.tsx
26390
- import { jsx as jsx163, jsxs as jsxs78 } from "react/jsx-runtime";
26462
+ import { jsx as jsx164, jsxs as jsxs78 } from "react/jsx-runtime";
26391
26463
  var Toolbar = ({
26392
26464
  children,
26393
26465
  rightActions,
@@ -26428,7 +26500,7 @@ var Toolbar = ({
26428
26500
  width: "100%"
26429
26501
  },
26430
26502
  children: [
26431
- leftActions && /* @__PURE__ */ jsx163(
26503
+ leftActions && /* @__PURE__ */ jsx164(
26432
26504
  Box_default2,
26433
26505
  {
26434
26506
  className: `Cn-Toolbar-left`,
@@ -26438,7 +26510,7 @@ var Toolbar = ({
26438
26510
  children: leftActions
26439
26511
  }
26440
26512
  ),
26441
- /* @__PURE__ */ jsx163(
26513
+ /* @__PURE__ */ jsx164(
26442
26514
  Box_default2,
26443
26515
  {
26444
26516
  className: `Cn-Toolbar-children`,
@@ -26453,7 +26525,7 @@ var Toolbar = ({
26453
26525
  ]
26454
26526
  }
26455
26527
  ),
26456
- rightActions && /* @__PURE__ */ jsx163(
26528
+ rightActions && /* @__PURE__ */ jsx164(
26457
26529
  Box_default2,
26458
26530
  {
26459
26531
  className: `Cn-Toolbar-right`,
@@ -26474,7 +26546,7 @@ var Toolbar_default = Toolbar;
26474
26546
  // src/components/toolbar/ToolbarTitle.tsx
26475
26547
  import * as React87 from "react";
26476
26548
  import { useState as useState35 } from "react";
26477
- import { jsx as jsx164, jsxs as jsxs79 } from "react/jsx-runtime";
26549
+ import { jsx as jsx165, jsxs as jsxs79 } from "react/jsx-runtime";
26478
26550
  var ToolbarTitle = React87.forwardRef(function ToolbarTitle2({
26479
26551
  title,
26480
26552
  align = "left",
@@ -26484,7 +26556,7 @@ var ToolbarTitle = React87.forwardRef(function ToolbarTitle2({
26484
26556
  }, ref) {
26485
26557
  const textElementRef = React87.useRef(null);
26486
26558
  const [showHoverActions, setShowHoverActions] = useState35(false);
26487
- return /* @__PURE__ */ jsx164(Box_default2, { sx: { maxWidth: "100%" }, children: /* @__PURE__ */ jsx164(
26559
+ return /* @__PURE__ */ jsx165(Box_default2, { sx: { maxWidth: "100%" }, children: /* @__PURE__ */ jsx165(
26488
26560
  TextEllipsisTooltip_default,
26489
26561
  {
26490
26562
  title: title ?? "\xA0",
@@ -26507,7 +26579,7 @@ var ToolbarTitle = React87.forwardRef(function ToolbarTitle2({
26507
26579
  },
26508
26580
  children: [
26509
26581
  title || "\xA0",
26510
- hoverActions && showHoverActions && /* @__PURE__ */ jsx164(
26582
+ hoverActions && showHoverActions && /* @__PURE__ */ jsx165(
26511
26583
  Box_default2,
26512
26584
  {
26513
26585
  sx: {
@@ -26536,13 +26608,13 @@ var Slide_default = Slide;
26536
26608
 
26537
26609
  // src/components/widget/WidgetLegendItem.tsx
26538
26610
  import { ButtonBase as ButtonBase6 } from "@mui/material";
26539
- import { jsx as jsx165, jsxs as jsxs80 } from "react/jsx-runtime";
26611
+ import { jsx as jsx166, jsxs as jsxs80 } from "react/jsx-runtime";
26540
26612
  var WidgetLegendItem = ({
26541
26613
  groupLabel,
26542
26614
  legendDirection = "column",
26543
26615
  items = [],
26544
26616
  onClick
26545
- }) => /* @__PURE__ */ jsx165(
26617
+ }) => /* @__PURE__ */ jsx166(
26546
26618
  ButtonBase6,
26547
26619
  {
26548
26620
  tabIndex: onClick ? 0 : -1,
@@ -26568,7 +26640,7 @@ var WidgetLegendItem = ({
26568
26640
  color: grey800
26569
26641
  },
26570
26642
  children: [
26571
- groupLabel && /* @__PURE__ */ jsx165(
26643
+ groupLabel && /* @__PURE__ */ jsx166(
26572
26644
  Typography_default,
26573
26645
  {
26574
26646
  variant: "overline",
@@ -26600,7 +26672,7 @@ var WidgetLegendItem = ({
26600
26672
  paddingRight: legendDirection === "row" ? "12px" : "inherit"
26601
26673
  },
26602
26674
  children: [
26603
- iconColor && /* @__PURE__ */ jsx165(
26675
+ iconColor && /* @__PURE__ */ jsx166(
26604
26676
  Icon_default,
26605
26677
  {
26606
26678
  id: iconId,
@@ -26611,7 +26683,7 @@ var WidgetLegendItem = ({
26611
26683
  size: iconSize
26612
26684
  }
26613
26685
  ),
26614
- label && /* @__PURE__ */ jsx165(
26686
+ label && /* @__PURE__ */ jsx166(
26615
26687
  Typography_default,
26616
26688
  {
26617
26689
  variant: "caption",
@@ -26620,7 +26692,7 @@ var WidgetLegendItem = ({
26620
26692
  children: label
26621
26693
  }
26622
26694
  ),
26623
- value && /* @__PURE__ */ jsx165(
26695
+ value && /* @__PURE__ */ jsx166(
26624
26696
  Typography_default,
26625
26697
  {
26626
26698
  sx: style3,
@@ -26629,7 +26701,7 @@ var WidgetLegendItem = ({
26629
26701
  children: value
26630
26702
  }
26631
26703
  ),
26632
- incrementLabelValue && /* @__PURE__ */ jsx165(
26704
+ incrementLabelValue && /* @__PURE__ */ jsx166(
26633
26705
  IncrementLabel_default,
26634
26706
  {
26635
26707
  label: incrementLabelValue,
@@ -26655,8 +26727,8 @@ var WidgetLegendItem_default = WidgetLegendItem;
26655
26727
 
26656
26728
  // src/components/widget/Widget.tsx
26657
26729
  import MuiCard2 from "@mui/material/Card";
26658
- import { jsx as jsx166 } from "react/jsx-runtime";
26659
- var Widget = ({ children }) => /* @__PURE__ */ jsx166(
26730
+ import { jsx as jsx167 } from "react/jsx-runtime";
26731
+ var Widget = ({ children }) => /* @__PURE__ */ jsx167(
26660
26732
  MuiCard2,
26661
26733
  {
26662
26734
  variant: "elevation",
@@ -26680,8 +26752,8 @@ var Widget = ({ children }) => /* @__PURE__ */ jsx166(
26680
26752
  var Widget_default = Widget;
26681
26753
 
26682
26754
  // src/components/widget/WidgetActions.tsx
26683
- import { jsx as jsx167 } from "react/jsx-runtime";
26684
- var WidgetActions = ({ children }) => /* @__PURE__ */ jsx167(
26755
+ import { jsx as jsx168 } from "react/jsx-runtime";
26756
+ var WidgetActions = ({ children }) => /* @__PURE__ */ jsx168(
26685
26757
  Box_default2,
26686
26758
  {
26687
26759
  sx: {
@@ -26695,8 +26767,8 @@ var WidgetActions = ({ children }) => /* @__PURE__ */ jsx167(
26695
26767
  var WidgetActions_default = WidgetActions;
26696
26768
 
26697
26769
  // src/components/widget/WidgetTitle.tsx
26698
- import { jsx as jsx168 } from "react/jsx-runtime";
26699
- var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE__ */ jsx168(
26770
+ import { jsx as jsx169 } from "react/jsx-runtime";
26771
+ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE__ */ jsx169(
26700
26772
  Box_default2,
26701
26773
  {
26702
26774
  sx: {
@@ -26706,7 +26778,7 @@ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE
26706
26778
  maxWidth: "100%",
26707
26779
  ...sx
26708
26780
  },
26709
- children: /* @__PURE__ */ jsx168(
26781
+ children: /* @__PURE__ */ jsx169(
26710
26782
  Typography_default,
26711
26783
  {
26712
26784
  variant: "subtitle2",
@@ -26720,12 +26792,12 @@ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE
26720
26792
  }
26721
26793
  )
26722
26794
  }
26723
- ) : /* @__PURE__ */ jsx168("span", {});
26795
+ ) : /* @__PURE__ */ jsx169("span", {});
26724
26796
  var WidgetTitle_default = WidgetTitle;
26725
26797
 
26726
26798
  // src/components/window/MinimizableWindow.tsx
26727
26799
  import * as React88 from "react";
26728
- import { Fragment as Fragment35, jsx as jsx169, jsxs as jsxs81 } from "react/jsx-runtime";
26800
+ import { Fragment as Fragment36, jsx as jsx170, jsxs as jsxs81 } from "react/jsx-runtime";
26729
26801
  var sizes6 = {
26730
26802
  M: 400,
26731
26803
  L: 500,
@@ -26839,8 +26911,8 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26839
26911
  }
26840
26912
  }, 750);
26841
26913
  };
26842
- return /* @__PURE__ */ jsxs81(Fragment35, { children: [
26843
- isDraggingState && /* @__PURE__ */ jsx169(
26914
+ return /* @__PURE__ */ jsxs81(Fragment36, { children: [
26915
+ isDraggingState && /* @__PURE__ */ jsx170(
26844
26916
  Box_default2,
26845
26917
  {
26846
26918
  sx: {
@@ -26856,7 +26928,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26856
26928
  onMouseMove: (ev) => handleMouseMove(ev)
26857
26929
  }
26858
26930
  ),
26859
- /* @__PURE__ */ jsx169(
26931
+ /* @__PURE__ */ jsx170(
26860
26932
  Box_default2,
26861
26933
  {
26862
26934
  ref: overlayRef,
@@ -26898,19 +26970,19 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26898
26970
  onMouseDown: handleMouseDown,
26899
26971
  minHeight: "44px",
26900
26972
  children: [
26901
- /* @__PURE__ */ jsx169(
26973
+ /* @__PURE__ */ jsx170(
26902
26974
  Stack_default,
26903
26975
  {
26904
26976
  direction: "row",
26905
26977
  alignItems: "center",
26906
26978
  onMouseDown: (ev) => ev.stopPropagation(),
26907
- children: showBackButton && (!backButton ? /* @__PURE__ */ jsx169(
26979
+ children: showBackButton && (!backButton ? /* @__PURE__ */ jsx170(
26908
26980
  Tooltip_default,
26909
26981
  {
26910
26982
  title: t("MINIMIZABLE_WINDOW.GO_BACK"),
26911
26983
  zIndex: 999999,
26912
26984
  placement: "top",
26913
- children: /* @__PURE__ */ jsx169(
26985
+ children: /* @__PURE__ */ jsx170(
26914
26986
  IconButton_default,
26915
26987
  {
26916
26988
  size: iconSizes4,
@@ -26923,7 +26995,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26923
26995
  ) : backButton)
26924
26996
  }
26925
26997
  ),
26926
- /* @__PURE__ */ jsx169(
26998
+ /* @__PURE__ */ jsx170(
26927
26999
  Box_default2,
26928
27000
  {
26929
27001
  sx: {
@@ -26931,7 +27003,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26931
27003
  left: "50%",
26932
27004
  transform: "translateX(-50%)"
26933
27005
  },
26934
- children: typeof title === "string" ? /* @__PURE__ */ jsx169(Typography_default, { children: title }) : title
27006
+ children: typeof title === "string" ? /* @__PURE__ */ jsx170(Typography_default, { children: title }) : title
26935
27007
  }
26936
27008
  ),
26937
27009
  /* @__PURE__ */ jsxs81(
@@ -26941,13 +27013,13 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26941
27013
  alignItems: "center",
26942
27014
  onMouseDown: (ev) => ev.stopPropagation(),
26943
27015
  children: [
26944
- /* @__PURE__ */ jsx169(Box_default2, { children: /* @__PURE__ */ jsx169(
27016
+ /* @__PURE__ */ jsx170(Box_default2, { children: /* @__PURE__ */ jsx170(
26945
27017
  Tooltip_default,
26946
27018
  {
26947
27019
  title: t("MINIMIZABLE_WINDOW.MINIMIZE"),
26948
27020
  zIndex: 999999,
26949
27021
  placement: "top",
26950
- children: /* @__PURE__ */ jsx169(
27022
+ children: /* @__PURE__ */ jsx170(
26951
27023
  IconButton_default,
26952
27024
  {
26953
27025
  size: iconSizes4,
@@ -26963,13 +27035,13 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26963
27035
  )
26964
27036
  }
26965
27037
  ) }),
26966
- closeable && /* @__PURE__ */ jsx169(Box_default2, { sx: { padding: "0 8px" }, children: /* @__PURE__ */ jsx169(
27038
+ closeable && /* @__PURE__ */ jsx170(Box_default2, { sx: { padding: "0 8px" }, children: /* @__PURE__ */ jsx170(
26967
27039
  Tooltip_default,
26968
27040
  {
26969
27041
  title: t("MINIMIZABLE_WINDOW.CLOSE"),
26970
27042
  zIndex: 999999,
26971
27043
  placement: "top",
26972
- children: /* @__PURE__ */ jsx169(
27044
+ children: /* @__PURE__ */ jsx170(
26973
27045
  IconButton_default,
26974
27046
  {
26975
27047
  size: iconSizes4,
@@ -26986,7 +27058,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26986
27058
  ]
26987
27059
  }
26988
27060
  ),
26989
- /* @__PURE__ */ jsx169(
27061
+ /* @__PURE__ */ jsx170(
26990
27062
  Stack_default,
26991
27063
  {
26992
27064
  sx: {
@@ -27028,6 +27100,10 @@ var useFormatters = () => {
27028
27100
  formatDate: useCallback21(
27029
27101
  (date, format2) => formatDate(date, locale, timezone, format2),
27030
27102
  [locale, timezone]
27103
+ ),
27104
+ formatPhone: useCallback21(
27105
+ (phone, format2) => formatPhone(phone, format2),
27106
+ []
27031
27107
  )
27032
27108
  };
27033
27109
  };
@@ -27136,6 +27212,7 @@ export {
27136
27212
  Paper_default as Paper,
27137
27213
  PercentageFormatter_default as PercentageFormatter,
27138
27214
  PhoneField_default as PhoneField,
27215
+ PhoneFormatter_default as PhoneFormatter,
27139
27216
  Popover_default as Popover,
27140
27217
  PopoverActions_default as PopoverActions,
27141
27218
  Radio_default as Radio,
@@ -27207,6 +27284,7 @@ export {
27207
27284
  formatDate,
27208
27285
  formatNumber,
27209
27286
  formatPercentage,
27287
+ formatPhone,
27210
27288
  getComparisonInterval,
27211
27289
  getCountryCode,
27212
27290
  getDateInputFormatForLocale,