@connectif/ui-components 3.0.0 → 3.0.2

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;
@@ -5326,7 +5326,9 @@ var tabsTheme = {
5326
5326
  styleOverrides: {
5327
5327
  root: {
5328
5328
  borderBottom: "none",
5329
- minHeight: "40px"
5329
+ minHeight: "40px",
5330
+ marginRight: "0px",
5331
+ position: "relative"
5330
5332
  },
5331
5333
  indicator: {
5332
5334
  bottom: "0",
@@ -5334,7 +5336,26 @@ var tabsTheme = {
5334
5336
  borderRadius: "8px"
5335
5337
  },
5336
5338
  scrollButtons: {
5337
- width: "24px"
5339
+ width: "24px",
5340
+ position: "absolute",
5341
+ top: 0,
5342
+ height: "100%",
5343
+ display: "flex",
5344
+ alignItems: "center",
5345
+ zIndex: 2,
5346
+ "&:not(.Mui-disabled)": {
5347
+ opacity: 1
5348
+ },
5349
+ "&:first-of-type": {
5350
+ left: 0,
5351
+ right: "auto",
5352
+ justifyContent: "start"
5353
+ },
5354
+ "&:last-of-type": {
5355
+ right: 0,
5356
+ left: "auto",
5357
+ justifyContent: "end"
5358
+ }
5338
5359
  }
5339
5360
  }
5340
5361
  };
@@ -16078,104 +16099,138 @@ function parseDateForLocale(dateString, locale, timezone) {
16078
16099
  const m = tz({ year, month, date }, timezone);
16079
16100
  return m.isValid() ? m.toDate() : /* @__PURE__ */ new Date(NaN);
16080
16101
  }
16081
- function getDatesFromDateInterval(interval, maxSelectableDays, timezone, options) {
16102
+ function getDateRangeFromInterval(interval, maxSelectableDays, timezone) {
16082
16103
  const end = tz(timezone).startOf("day");
16083
16104
  const endDate = end.toDate();
16084
- let finalStartDate;
16085
- let finalEndDate;
16086
16105
  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
- }
16106
+ case "today":
16107
+ return {
16108
+ startDate: end.toDate(),
16109
+ endDate: end.add(1, "day").toDate()
16110
+ };
16111
+ case "yesterday":
16112
+ return {
16113
+ startDate: end.clone().subtract(1, "day").toDate(),
16114
+ endDate
16115
+ };
16116
+ case "thisWeekFromSunday":
16117
+ return {
16118
+ startDate: end.clone().day(0).toDate(),
16119
+ endDate: end.clone().add(1, "day").toDate()
16120
+ };
16121
+ case "thisWeekFromMonday":
16122
+ return {
16123
+ startDate: end.clone().day(1).toDate(),
16124
+ endDate: end.clone().add(1, "day").toDate()
16125
+ };
16126
+ case "thisMonth":
16127
+ return {
16128
+ startDate: end.clone().date(1).toDate(),
16129
+ endDate: end.clone().add(1, "day").toDate()
16130
+ };
16131
+ case "thisYear":
16132
+ return {
16133
+ startDate: end.clone().month(0).date(1).toDate(),
16134
+ endDate: end.clone().add(1, "day").toDate()
16135
+ };
16136
+ case "last7Days":
16137
+ return {
16138
+ startDate: end.clone().subtract(7, "days").toDate(),
16139
+ endDate
16140
+ };
16141
+ case "last30Days":
16142
+ return {
16143
+ startDate: end.clone().subtract(30, "day").toDate(),
16144
+ endDate
16145
+ };
16146
+ case "last90Days":
16147
+ return {
16148
+ startDate: end.clone().subtract(90, "day").toDate(),
16149
+ endDate
16150
+ };
16151
+ case "last12Months":
16152
+ return {
16153
+ startDate: end.clone().subtract(12, "month").toDate(),
16154
+ endDate
16155
+ };
16156
+ case "all":
16157
+ return {
16158
+ startDate: end.clone().subtract(maxSelectableDays - 1, "day").toDate(),
16159
+ endDate
16160
+ };
16142
16161
  }
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);
16162
+ }
16163
+ function getDateRangeWithTimeFromInterval(interval, maxSelectableDays, timezone) {
16164
+ const currentMoment = tz(timezone);
16165
+ const currentDate = currentMoment.toDate();
16153
16166
  switch (interval) {
16154
16167
  case "today":
16155
16168
  return {
16156
- startDate: finalStartDate,
16157
- endDate: endMoment.toDate()
16169
+ startDate: currentMoment.clone().startOf("day").toDate(),
16170
+ endDate: currentDate
16158
16171
  };
16159
16172
  case "yesterday":
16160
16173
  return {
16161
- startDate: finalStartDate,
16162
- endDate: tz(finalEndDate, timezone).endOf("day").toDate()
16174
+ startDate: currentMoment.clone().subtract(1, "day").startOf("day").toDate(),
16175
+ endDate: currentMoment.clone().subtract(1, "day").endOf("day").toDate()
16163
16176
  };
16164
- case "thisYear":
16165
- case "thisMonth":
16166
- case "thisWeekFromMonday":
16167
16177
  case "thisWeekFromSunday":
16168
16178
  return {
16169
- startDate: finalStartDate,
16170
- endDate: endMoment.toDate()
16179
+ startDate: currentMoment.clone().day(0).startOf("day").toDate(),
16180
+ endDate: currentDate
16171
16181
  };
16172
- default:
16182
+ case "thisWeekFromMonday":
16183
+ return {
16184
+ startDate: currentMoment.clone().day(1).startOf("day").toDate(),
16185
+ endDate: currentDate
16186
+ };
16187
+ case "thisMonth":
16188
+ return {
16189
+ startDate: currentMoment.clone().date(1).startOf("day").toDate(),
16190
+ endDate: currentDate
16191
+ };
16192
+ case "thisYear":
16193
+ return {
16194
+ startDate: currentMoment.clone().month(0).date(1).startOf("day").toDate(),
16195
+ endDate: currentDate
16196
+ };
16197
+ case "last7Days":
16198
+ return {
16199
+ startDate: currentMoment.clone().subtract(7, "days").toDate(),
16200
+ endDate: currentDate
16201
+ };
16202
+ case "last30Days":
16173
16203
  return {
16174
- startDate: startMoment.toDate(),
16175
- endDate: endMoment.toDate()
16204
+ startDate: currentMoment.clone().subtract(30, "day").toDate(),
16205
+ endDate: currentDate
16206
+ };
16207
+ case "last90Days":
16208
+ return {
16209
+ startDate: currentMoment.clone().subtract(90, "day").toDate(),
16210
+ endDate: currentDate
16211
+ };
16212
+ case "last12Months":
16213
+ return {
16214
+ startDate: currentMoment.clone().subtract(12, "month").toDate(),
16215
+ endDate: currentDate
16216
+ };
16217
+ case "all":
16218
+ return {
16219
+ startDate: currentMoment.clone().subtract(maxSelectableDays - 1, "day").toDate(),
16220
+ endDate: currentDate
16176
16221
  };
16177
16222
  }
16178
16223
  }
16224
+ function getDatesFromDateInterval(interval, maxSelectableDays, timezone, options) {
16225
+ if (!options?.includeTime) {
16226
+ return getDateRangeFromInterval(interval, maxSelectableDays, timezone);
16227
+ }
16228
+ return getDateRangeWithTimeFromInterval(
16229
+ interval,
16230
+ maxSelectableDays,
16231
+ timezone
16232
+ );
16233
+ }
16179
16234
  function getComparisonInterval(comparisonInterval, startSimpleDate, endSimpleDate, timezone, minDate) {
16180
16235
  const startMoment = tz(
16181
16236
  {
@@ -16239,7 +16294,10 @@ function dateToSimpleDate(date, timezone) {
16239
16294
  day: momentDate.date()
16240
16295
  };
16241
16296
  }
16242
- function getDisplayEndDate(date, timezone) {
16297
+ function getDisplayEndDate(date, timezone, includeTime) {
16298
+ if (includeTime) {
16299
+ return tz(date, timezone).toDate();
16300
+ }
16243
16301
  return tz(date, timezone).subtract(1, "day").toDate();
16244
16302
  }
16245
16303
  function applyTimeToDate(date, time) {
@@ -17706,6 +17764,32 @@ function isValidPhoneNumber(phone) {
17706
17764
  const phoneRegex = /^\+[1-9]\d{6,14}$/;
17707
17765
  return phoneRegex.test(phone) && getCountryCode(phone) !== "";
17708
17766
  }
17767
+ function getPhoneNumber(phone) {
17768
+ const countryCode = getCountryCode(phone);
17769
+ if (!countryCode) {
17770
+ return phone;
17771
+ }
17772
+ return phone.substring(countryCode.length + 1);
17773
+ }
17774
+ function getCountryCodeWithPlus(phone) {
17775
+ const countryCode = getCountryCode(phone);
17776
+ if (!countryCode) {
17777
+ return "";
17778
+ }
17779
+ return `+${countryCode}`;
17780
+ }
17781
+ function formatPhone(phone, format2) {
17782
+ switch (format2) {
17783
+ case "country":
17784
+ return getCountryCodeWithPlus(phone);
17785
+ case "phone": {
17786
+ return getPhoneNumber(phone);
17787
+ }
17788
+ default: {
17789
+ return `${getCountryCodeWithPlus(phone)} ${getPhoneNumber(phone)}`.trim();
17790
+ }
17791
+ }
17792
+ }
17709
17793
 
17710
17794
  // src/components/formatter/CompactNumberFormatter.tsx
17711
17795
  import { Fragment as Fragment15, jsx as jsx84 } from "react/jsx-runtime";
@@ -17763,17 +17847,22 @@ var DateFormatter = ({ date, format: format2 }) => {
17763
17847
  };
17764
17848
  var DateFormatter_default = DateFormatter;
17765
17849
 
17850
+ // src/components/formatter/PhoneFormatter.tsx
17851
+ import { Fragment as Fragment20, jsx as jsx89 } from "react/jsx-runtime";
17852
+ var PhoneFormatter = ({ phone, format: format2 }) => /* @__PURE__ */ jsx89(Fragment20, { children: formatPhone(phone, format2) });
17853
+ var PhoneFormatter_default = PhoneFormatter;
17854
+
17766
17855
  // src/components/header/HeaderTitle.tsx
17767
17856
  import * as React43 from "react";
17768
- import { jsx as jsx89 } from "react/jsx-runtime";
17857
+ import { jsx as jsx90 } from "react/jsx-runtime";
17769
17858
  var HeaderTitle = ({ text }) => {
17770
17859
  const textElementRef = React43.useRef(null);
17771
- return /* @__PURE__ */ jsx89(
17860
+ return /* @__PURE__ */ jsx90(
17772
17861
  TextEllipsisTooltip_default,
17773
17862
  {
17774
17863
  title: text ?? "\xA0",
17775
17864
  textEllipsableElement: textElementRef,
17776
- children: /* @__PURE__ */ jsx89(
17865
+ children: /* @__PURE__ */ jsx90(
17777
17866
  Typography_default,
17778
17867
  {
17779
17868
  color: grey800,
@@ -17791,15 +17880,15 @@ var HeaderTitle_default = HeaderTitle;
17791
17880
 
17792
17881
  // src/components/header/HeaderSubtitle.tsx
17793
17882
  import * as React44 from "react";
17794
- import { jsx as jsx90 } from "react/jsx-runtime";
17883
+ import { jsx as jsx91 } from "react/jsx-runtime";
17795
17884
  var HeaderSubtitle = ({ text }) => {
17796
17885
  const textElementRef = React44.useRef(null);
17797
- return typeof text === "string" ? /* @__PURE__ */ jsx90(
17886
+ return typeof text === "string" ? /* @__PURE__ */ jsx91(
17798
17887
  TextEllipsisTooltip_default,
17799
17888
  {
17800
17889
  title: text ?? "\xA0",
17801
17890
  textEllipsableElement: textElementRef,
17802
- children: /* @__PURE__ */ jsx90(
17891
+ children: /* @__PURE__ */ jsx91(
17803
17892
  Typography_default,
17804
17893
  {
17805
17894
  color: grey800,
@@ -17811,12 +17900,12 @@ var HeaderSubtitle = ({ text }) => {
17811
17900
  }
17812
17901
  )
17813
17902
  }
17814
- ) : /* @__PURE__ */ jsx90(Typography_default, { color: grey800, component: "div", variant: "body1", noWrap: true, children: text });
17903
+ ) : /* @__PURE__ */ jsx91(Typography_default, { color: grey800, component: "div", variant: "body1", noWrap: true, children: text });
17815
17904
  };
17816
17905
  var HeaderSubtitle_default = HeaderSubtitle;
17817
17906
 
17818
17907
  // src/components/header/Header.tsx
17819
- import { jsx as jsx91, jsxs as jsxs40 } from "react/jsx-runtime";
17908
+ import { jsx as jsx92, jsxs as jsxs40 } from "react/jsx-runtime";
17820
17909
  var Header = ({
17821
17910
  title,
17822
17911
  subtitle,
@@ -17824,7 +17913,7 @@ var Header = ({
17824
17913
  isElevated = false,
17825
17914
  actions,
17826
17915
  children
17827
- }) => /* @__PURE__ */ jsx91(PageScrollContext.Consumer, { children: (value) => /* @__PURE__ */ jsx91(
17916
+ }) => /* @__PURE__ */ jsx92(PageScrollContext.Consumer, { children: (value) => /* @__PURE__ */ jsx92(
17828
17917
  Box_default2,
17829
17918
  {
17830
17919
  sx: {
@@ -17864,12 +17953,12 @@ var Header = ({
17864
17953
  overflow: "clip"
17865
17954
  },
17866
17955
  children: [
17867
- iconId && /* @__PURE__ */ jsx91(Avatar_default, { iconId, size: "L" }),
17868
- /* @__PURE__ */ jsx91(HeaderTitle_default, { text: title })
17956
+ iconId && /* @__PURE__ */ jsx92(Avatar_default, { iconId, size: "L" }),
17957
+ /* @__PURE__ */ jsx92(HeaderTitle_default, { text: title })
17869
17958
  ]
17870
17959
  }
17871
17960
  ),
17872
- /* @__PURE__ */ jsx91(
17961
+ /* @__PURE__ */ jsx92(
17873
17962
  Box_default2,
17874
17963
  {
17875
17964
  sx: {
@@ -17885,7 +17974,7 @@ var Header = ({
17885
17974
  ]
17886
17975
  }
17887
17976
  ),
17888
- subtitle && /* @__PURE__ */ jsx91(
17977
+ subtitle && /* @__PURE__ */ jsx92(
17889
17978
  Box_default2,
17890
17979
  {
17891
17980
  sx: {
@@ -17893,10 +17982,10 @@ var Header = ({
17893
17982
  ...iconId && { paddingLeft: "56px" },
17894
17983
  paddingBottom: "8px"
17895
17984
  },
17896
- children: /* @__PURE__ */ jsx91(HeaderSubtitle_default, { text: subtitle })
17985
+ children: /* @__PURE__ */ jsx92(HeaderSubtitle_default, { text: subtitle })
17897
17986
  }
17898
17987
  ),
17899
- children && /* @__PURE__ */ jsx91(Box_default2, { children })
17988
+ children && /* @__PURE__ */ jsx92(Box_default2, { children })
17900
17989
  ] })
17901
17990
  }
17902
17991
  ) });
@@ -17908,7 +17997,7 @@ import FilerobotImageEditor, {
17908
17997
  TABS,
17909
17998
  TOOLS
17910
17999
  } from "react-filerobot-image-editor";
17911
- import { jsx as jsx92 } from "react/jsx-runtime";
18000
+ import { jsx as jsx93 } from "react/jsx-runtime";
17912
18001
  var ImageEditor = ({
17913
18002
  imageUrl,
17914
18003
  maxWidth: maxWidth2,
@@ -18147,7 +18236,7 @@ var ImageEditor = ({
18147
18236
  document.head.removeChild(style3);
18148
18237
  };
18149
18238
  }, []);
18150
- return /* @__PURE__ */ jsx92(
18239
+ return /* @__PURE__ */ jsx93(
18151
18240
  Box_default2,
18152
18241
  {
18153
18242
  sx: {
@@ -18214,7 +18303,7 @@ var ImageEditor = ({
18214
18303
  },
18215
18304
  height: "100%"
18216
18305
  },
18217
- children: /* @__PURE__ */ jsx92(
18306
+ children: /* @__PURE__ */ jsx93(
18218
18307
  FilerobotImageEditor,
18219
18308
  {
18220
18309
  source: imageUrl,
@@ -18334,7 +18423,7 @@ function useResizeObserver() {
18334
18423
  }
18335
18424
 
18336
18425
  // src/components/info/InfoBox.tsx
18337
- import { jsx as jsx93, jsxs as jsxs41 } from "react/jsx-runtime";
18426
+ import { jsx as jsx94, jsxs as jsxs41 } from "react/jsx-runtime";
18338
18427
  var variantStyles2 = {
18339
18428
  default: {
18340
18429
  borderLeft: `2px solid ${electricLavender}`,
@@ -18379,7 +18468,7 @@ var InfoBox = ({
18379
18468
  ...sx && { sx }
18380
18469
  },
18381
18470
  children: [
18382
- /* @__PURE__ */ jsx93(
18471
+ /* @__PURE__ */ jsx94(
18383
18472
  Box_default2,
18384
18473
  {
18385
18474
  sx: !expanded && showExpandButton ? {
@@ -18397,7 +18486,7 @@ var InfoBox = ({
18397
18486
  children
18398
18487
  }
18399
18488
  ),
18400
- showExpandButton && /* @__PURE__ */ jsx93(
18489
+ showExpandButton && /* @__PURE__ */ jsx94(
18401
18490
  IconButton_default,
18402
18491
  {
18403
18492
  iconId: expanded ? "chevron-up" : "chevron-down",
@@ -18416,7 +18505,7 @@ var InfoBox_default = InfoBox;
18416
18505
  // src/components/input/TextFieldContainer.tsx
18417
18506
  import * as React47 from "react";
18418
18507
  import { lighten } from "@mui/material";
18419
- import { jsx as jsx94 } from "react/jsx-runtime";
18508
+ import { jsx as jsx95 } from "react/jsx-runtime";
18420
18509
  var TextFieldContainer = React47.forwardRef(function TextFieldContainer2({
18421
18510
  children,
18422
18511
  variant = "default",
@@ -18431,7 +18520,7 @@ var TextFieldContainer = React47.forwardRef(function TextFieldContainer2({
18431
18520
  sx,
18432
18521
  "data-test": dataTest
18433
18522
  }, ref) {
18434
- return /* @__PURE__ */ jsx94(
18523
+ return /* @__PURE__ */ jsx95(
18435
18524
  Box_default2,
18436
18525
  {
18437
18526
  className: `Cn-TextFieldContainer ${className}`,
@@ -18521,7 +18610,7 @@ import { styled as styled6 } from "@mui/material";
18521
18610
  // src/components/input/InputLabel.tsx
18522
18611
  import * as React48 from "react";
18523
18612
  import { styled as styled4 } from "@mui/material";
18524
- import { jsx as jsx95, jsxs as jsxs42 } from "react/jsx-runtime";
18613
+ import { jsx as jsx96, jsxs as jsxs42 } from "react/jsx-runtime";
18525
18614
  var severityColors = {
18526
18615
  info: grey900,
18527
18616
  error: errorMain
@@ -18547,7 +18636,7 @@ var InputLabel = React48.forwardRef(
18547
18636
  ref,
18548
18637
  children: [
18549
18638
  children,
18550
- infoText && /* @__PURE__ */ jsx95(Tooltip_default, { textVariant: "caption", title: infoText, children: /* @__PURE__ */ jsx95(
18639
+ infoText && /* @__PURE__ */ jsx96(Tooltip_default, { textVariant: "caption", title: infoText, children: /* @__PURE__ */ jsx96(
18551
18640
  Icon_default,
18552
18641
  {
18553
18642
  id: "information-outline",
@@ -18569,7 +18658,7 @@ var InputLabel_default = InputLabel;
18569
18658
  // src/components/input/InputHelperText.tsx
18570
18659
  import { styled as styled5 } from "@mui/material";
18571
18660
  import * as React49 from "react";
18572
- import { jsx as jsx96 } from "react/jsx-runtime";
18661
+ import { jsx as jsx97 } from "react/jsx-runtime";
18573
18662
  var severityColors2 = {
18574
18663
  info: grey800,
18575
18664
  error: errorMain
@@ -18585,13 +18674,13 @@ var StyledDiv = styled5("div", {
18585
18674
  );
18586
18675
  var InputHelperText = React49.forwardRef(
18587
18676
  function InputLabel3({ severity = "info", ...rest }, ref) {
18588
- return /* @__PURE__ */ jsx96(StyledDiv, { ...rest, ref, severity });
18677
+ return /* @__PURE__ */ jsx97(StyledDiv, { ...rest, ref, severity });
18589
18678
  }
18590
18679
  );
18591
18680
  var InputHelperText_default = InputHelperText;
18592
18681
 
18593
18682
  // src/components/input/TextField.tsx
18594
- import { Fragment as Fragment20, jsx as jsx97, jsxs as jsxs43 } from "react/jsx-runtime";
18683
+ import { Fragment as Fragment21, jsx as jsx98, jsxs as jsxs43 } from "react/jsx-runtime";
18595
18684
  var commonInputStylesOptions = {
18596
18685
  shouldForwardProp: (prop) => prop !== "variant" && prop !== "typographyVariant"
18597
18686
  };
@@ -18732,7 +18821,7 @@ var TextField = React50.forwardRef(function TextField2({
18732
18821
  gap: "8px"
18733
18822
  },
18734
18823
  children: [
18735
- iconId && /* @__PURE__ */ jsx97(
18824
+ iconId && /* @__PURE__ */ jsx98(
18736
18825
  Icon_default,
18737
18826
  {
18738
18827
  id: iconId,
@@ -18745,7 +18834,7 @@ var TextField = React50.forwardRef(function TextField2({
18745
18834
  }
18746
18835
  ),
18747
18836
  !groupElements && startAdornment,
18748
- multiline && /* @__PURE__ */ jsx97(
18837
+ multiline && /* @__PURE__ */ jsx98(
18749
18838
  StyledTextarea,
18750
18839
  {
18751
18840
  ref: ref || inputRef,
@@ -18779,7 +18868,7 @@ var TextField = React50.forwardRef(function TextField2({
18779
18868
  ...restProps
18780
18869
  }
18781
18870
  ),
18782
- !multiline && /* @__PURE__ */ jsx97(
18871
+ !multiline && /* @__PURE__ */ jsx98(
18783
18872
  StyledInput,
18784
18873
  {
18785
18874
  type,
@@ -18817,7 +18906,7 @@ var TextField = React50.forwardRef(function TextField2({
18817
18906
  gap: "8px"
18818
18907
  },
18819
18908
  children: [
18820
- existsClearButton && /* @__PURE__ */ jsx97(
18909
+ existsClearButton && /* @__PURE__ */ jsx98(
18821
18910
  IconButton_default,
18822
18911
  {
18823
18912
  size: "M",
@@ -18847,8 +18936,8 @@ var TextField = React50.forwardRef(function TextField2({
18847
18936
  ]
18848
18937
  }
18849
18938
  );
18850
- return /* @__PURE__ */ jsxs43(Fragment20, { children: [
18851
- label && /* @__PURE__ */ jsx97(
18939
+ return /* @__PURE__ */ jsxs43(Fragment21, { children: [
18940
+ label && /* @__PURE__ */ jsx98(
18852
18941
  InputLabel_default,
18853
18942
  {
18854
18943
  htmlFor: customId ?? id,
@@ -18901,7 +18990,7 @@ var TextField = React50.forwardRef(function TextField2({
18901
18990
  }
18902
18991
  ),
18903
18992
  !groupElements && getTextFieldContainer(),
18904
- helperText && /* @__PURE__ */ jsx97(
18993
+ helperText && /* @__PURE__ */ jsx98(
18905
18994
  InputHelperText_default,
18906
18995
  {
18907
18996
  severity: isError ? "error" : "info",
@@ -18916,7 +19005,7 @@ var TextField = React50.forwardRef(function TextField2({
18916
19005
  var TextField_default = TextField;
18917
19006
 
18918
19007
  // src/components/input/DebouncedTextField.tsx
18919
- import { jsx as jsx98 } from "react/jsx-runtime";
19008
+ import { jsx as jsx99 } from "react/jsx-runtime";
18920
19009
  var DebouncedTextField = React51.forwardRef(function DebouncedTextField2({ value, onChange, debounce = 100, ...rest }, ref) {
18921
19010
  const [text, setText] = useState15(value);
18922
19011
  const onChangeDebounced = useDebouncedCallback(
@@ -18930,7 +19019,7 @@ var DebouncedTextField = React51.forwardRef(function DebouncedTextField2({ value
18930
19019
  useEffect10(() => {
18931
19020
  setText(value);
18932
19021
  }, [value]);
18933
- return /* @__PURE__ */ jsx98(
19022
+ return /* @__PURE__ */ jsx99(
18934
19023
  TextField_default,
18935
19024
  {
18936
19025
  value: text,
@@ -18955,7 +19044,7 @@ import { tz as tz4 } from "moment-timezone";
18955
19044
 
18956
19045
  // src/components/popover/Popover.tsx
18957
19046
  import MuiPopover from "@mui/material/Popover";
18958
- import { jsx as jsx99 } from "react/jsx-runtime";
19047
+ import { jsx as jsx100 } from "react/jsx-runtime";
18959
19048
  var Popover = ({
18960
19049
  horizontalAlign = "center",
18961
19050
  anchorHorizontalOrigin = "center",
@@ -18963,7 +19052,7 @@ var Popover = ({
18963
19052
  anchorVerticalAlign = "bottom",
18964
19053
  centeredInScreen = false,
18965
19054
  ...props
18966
- }) => /* @__PURE__ */ jsx99(
19055
+ }) => /* @__PURE__ */ jsx100(
18967
19056
  MuiPopover,
18968
19057
  {
18969
19058
  disableRestoreFocus: props.disableRestoreFocus,
@@ -18996,7 +19085,7 @@ var Popover_default = Popover;
18996
19085
 
18997
19086
  // src/components/popover/PopoverActions.tsx
18998
19087
  import { Stack as Stack6 } from "@mui/material";
18999
- import { jsx as jsx100, jsxs as jsxs44 } from "react/jsx-runtime";
19088
+ import { jsx as jsx101, jsxs as jsxs44 } from "react/jsx-runtime";
19000
19089
  var PopoverActions = ({
19001
19090
  leftContent,
19002
19091
  rightContent,
@@ -19015,8 +19104,8 @@ var PopoverActions = ({
19015
19104
  ...sx
19016
19105
  },
19017
19106
  children: [
19018
- /* @__PURE__ */ jsx100("div", { children: leftContent }),
19019
- /* @__PURE__ */ jsx100("div", { children: rightContent })
19107
+ /* @__PURE__ */ jsx101("div", { children: leftContent }),
19108
+ /* @__PURE__ */ jsx101("div", { children: rightContent })
19020
19109
  ]
19021
19110
  }
19022
19111
  );
@@ -19034,7 +19123,7 @@ import { lighten as lighten2 } from "@mui/material";
19034
19123
 
19035
19124
  // src/components/input/CalendarDay.tsx
19036
19125
  import { useTheme as useTheme5 } from "@mui/material/styles";
19037
- import { jsx as jsx101 } from "react/jsx-runtime";
19126
+ import { jsx as jsx102 } from "react/jsx-runtime";
19038
19127
  var calendarDayButtonSize = 32;
19039
19128
  var CalendarDayButton = styled_default("button")({});
19040
19129
  var CalendarDay = ({
@@ -19052,7 +19141,7 @@ var CalendarDay = ({
19052
19141
  allowKeyboardNavigation = false
19053
19142
  }) => {
19054
19143
  const theme2 = useTheme5();
19055
- return /* @__PURE__ */ jsx101(
19144
+ return /* @__PURE__ */ jsx102(
19056
19145
  CalendarDayButton,
19057
19146
  {
19058
19147
  "data-testid": `calendar-day-${children}`,
@@ -19095,7 +19184,7 @@ var CalendarDay = ({
19095
19184
  },
19096
19185
  role: "button",
19097
19186
  onClick,
19098
- children: /* @__PURE__ */ jsx101(
19187
+ children: /* @__PURE__ */ jsx102(
19099
19188
  Typography_default,
19100
19189
  {
19101
19190
  sx: {
@@ -19123,7 +19212,7 @@ var CalendarDay = ({
19123
19212
  var CalendarDay_default = CalendarDay;
19124
19213
 
19125
19214
  // src/components/input/CalendarMonth.tsx
19126
- import { jsx as jsx102, jsxs as jsxs45 } from "react/jsx-runtime";
19215
+ import { jsx as jsx103, jsxs as jsxs45 } from "react/jsx-runtime";
19127
19216
  var bgColorLightCoefficient = 0.6;
19128
19217
  var CalendarMonth = ({
19129
19218
  minDate = null,
@@ -19301,7 +19390,7 @@ var CalendarMonth = ({
19301
19390
  },
19302
19391
  "data-testid": `calendar-month-${year}-${month}`,
19303
19392
  children: [
19304
- /* @__PURE__ */ jsx102(
19393
+ /* @__PURE__ */ jsx103(
19305
19394
  Typography_default,
19306
19395
  {
19307
19396
  sx: {
@@ -19312,7 +19401,7 @@ var CalendarMonth = ({
19312
19401
  textTransform: "uppercase"
19313
19402
  }
19314
19403
  },
19315
- children: /* @__PURE__ */ jsx102(
19404
+ children: /* @__PURE__ */ jsx103(
19316
19405
  DateFormatter_default,
19317
19406
  {
19318
19407
  date: firstDayOfMonth.toDate(),
@@ -19321,8 +19410,8 @@ var CalendarMonth = ({
19321
19410
  )
19322
19411
  }
19323
19412
  ),
19324
- isMonthInFullLine && indexOfDay > 0 && /* @__PURE__ */ jsx102("span", { style: { gridColumn: `span ${indexOfDay}` }, children: "\xA0" }),
19325
- dayList.map((day) => /* @__PURE__ */ jsx102(
19413
+ isMonthInFullLine && indexOfDay > 0 && /* @__PURE__ */ jsx103("span", { style: { gridColumn: `span ${indexOfDay}` }, children: "\xA0" }),
19414
+ dayList.map((day) => /* @__PURE__ */ jsx103(
19326
19415
  CalendarDay_default,
19327
19416
  {
19328
19417
  allowKeyboardNavigation,
@@ -19340,7 +19429,7 @@ var CalendarMonth_default = CalendarMonth;
19340
19429
 
19341
19430
  // src/components/input/DaysOfWeekRow.tsx
19342
19431
  import * as React53 from "react";
19343
- import { jsx as jsx103 } from "react/jsx-runtime";
19432
+ import { jsx as jsx104 } from "react/jsx-runtime";
19344
19433
  var DaysOfWeekRow = () => {
19345
19434
  const { locale, timezone } = React53.useContext(IntlContext);
19346
19435
  const daysOfWeekLong = React53.useMemo(
@@ -19351,7 +19440,7 @@ var DaysOfWeekRow = () => {
19351
19440
  () => getWeekDayNamesForLocale(locale, "narrow", timezone),
19352
19441
  [locale, timezone]
19353
19442
  );
19354
- return /* @__PURE__ */ jsx103(
19443
+ return /* @__PURE__ */ jsx104(
19355
19444
  Stack_default,
19356
19445
  {
19357
19446
  direction: "row",
@@ -19361,7 +19450,7 @@ var DaysOfWeekRow = () => {
19361
19450
  backgroundColor: grey100,
19362
19451
  alignItems: "center"
19363
19452
  },
19364
- children: daysOfWeek.map((day, index) => /* @__PURE__ */ jsx103(Tooltip_default, { title: daysOfWeekLong[index], children: /* @__PURE__ */ jsx103(
19453
+ children: daysOfWeek.map((day, index) => /* @__PURE__ */ jsx104(Tooltip_default, { title: daysOfWeekLong[index], children: /* @__PURE__ */ jsx104(
19365
19454
  Typography_default,
19366
19455
  {
19367
19456
  sx: {
@@ -19378,7 +19467,7 @@ var DaysOfWeekRow = () => {
19378
19467
  var DaysOfWeekRow_default = DaysOfWeekRow;
19379
19468
 
19380
19469
  // src/components/input/CalendarScrollPicker.tsx
19381
- import { jsx as jsx104, jsxs as jsxs46 } from "react/jsx-runtime";
19470
+ import { jsx as jsx105, jsxs as jsxs46 } from "react/jsx-runtime";
19382
19471
  var CalendarScrollPicker = ({
19383
19472
  minDate,
19384
19473
  maxDate,
@@ -19403,7 +19492,7 @@ var CalendarScrollPicker = ({
19403
19492
  }) => {
19404
19493
  const month = (minDate.month + index) % 12;
19405
19494
  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(
19495
+ return /* @__PURE__ */ jsx105(Box_default2, { sx: { ...style3, paddingLeft: "8px", boxSizing: "border-box" }, children: /* @__PURE__ */ jsx105(
19407
19496
  CalendarMonth_default,
19408
19497
  {
19409
19498
  minDate,
@@ -19428,14 +19517,14 @@ var CalendarScrollPicker = ({
19428
19517
  flexDirection: "column"
19429
19518
  },
19430
19519
  children: [
19431
- /* @__PURE__ */ jsx104(DaysOfWeekRow_default, {}),
19432
- /* @__PURE__ */ jsx104(
19520
+ /* @__PURE__ */ jsx105(DaysOfWeekRow_default, {}),
19521
+ /* @__PURE__ */ jsx105(
19433
19522
  Box_default2,
19434
19523
  {
19435
19524
  sx: {
19436
19525
  flex: "1 1 0"
19437
19526
  },
19438
- children: /* @__PURE__ */ jsx104(AutoSizer3, { children: ({ height: height2, width: width2 }) => /* @__PURE__ */ jsx104(
19527
+ children: /* @__PURE__ */ jsx105(AutoSizer3, { children: ({ height: height2, width: width2 }) => /* @__PURE__ */ jsx105(
19439
19528
  FixedSizeList,
19440
19529
  {
19441
19530
  ref: listRefCallback,
@@ -19457,7 +19546,7 @@ var CalendarScrollPicker = ({
19457
19546
  var CalendarScrollPicker_default = CalendarScrollPicker;
19458
19547
 
19459
19548
  // src/components/input/DateIntervalPickerList.tsx
19460
- import { jsx as jsx105, jsxs as jsxs47 } from "react/jsx-runtime";
19549
+ import { jsx as jsx106, jsxs as jsxs47 } from "react/jsx-runtime";
19461
19550
  var dateIntervals = {
19462
19551
  today: "TODAY",
19463
19552
  yesterday: "YESTERDAY",
@@ -19492,7 +19581,7 @@ var DateIntervalPickerList = ({
19492
19581
  }) => {
19493
19582
  const { t } = useTranslation();
19494
19583
  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(
19584
+ Object.keys(dateIntervals).filter((i) => maxSelectableDays > 90 || !isLongInterval(i)).filter((i) => !allowedIntervals || allowedIntervals.includes(i)).map((key) => /* @__PURE__ */ jsx106(
19496
19585
  ListItemButton_default,
19497
19586
  {
19498
19587
  text: t(
@@ -19504,13 +19593,13 @@ var DateIntervalPickerList = ({
19504
19593
  },
19505
19594
  key
19506
19595
  )),
19507
- allowCompare && /* @__PURE__ */ jsx105(Divider_default, {}),
19508
- allowCompare && /* @__PURE__ */ jsx105(
19596
+ allowCompare && /* @__PURE__ */ jsx106(Divider_default, {}),
19597
+ allowCompare && /* @__PURE__ */ jsx106(
19509
19598
  ListItem_default,
19510
19599
  {
19511
19600
  text: t("DATE_INTERVAL_PICKER.COMPARE"),
19512
19601
  typographyVariant: "body1",
19513
- endAdornment: /* @__PURE__ */ jsx105(
19602
+ endAdornment: /* @__PURE__ */ jsx106(
19514
19603
  Switch_default,
19515
19604
  {
19516
19605
  checked: isComparing,
@@ -19521,7 +19610,7 @@ var DateIntervalPickerList = ({
19521
19610
  ),
19522
19611
  allowCompare && Object.keys(comparisonIntervals).filter(
19523
19612
  (i) => maxSelectableDays > 90 || !isLongComparisonInterval(i)
19524
- ).map((key) => /* @__PURE__ */ jsx105(
19613
+ ).map((key) => /* @__PURE__ */ jsx106(
19525
19614
  ListItemButton_default,
19526
19615
  {
19527
19616
  disabled: !isComparing,
@@ -19547,14 +19636,14 @@ import { TimeField as MuiTimeField } from "@mui/x-date-pickers";
19547
19636
  import { LocalizationProvider } from "@mui/x-date-pickers/LocalizationProvider";
19548
19637
  import { AdapterMoment } from "@mui/x-date-pickers/AdapterMoment";
19549
19638
  import { tz as tz3 } from "moment-timezone";
19550
- import { jsx as jsx106 } from "react/jsx-runtime";
19639
+ import { jsx as jsx107 } from "react/jsx-runtime";
19551
19640
  var ExtendedTextField = ({
19552
19641
  inputProps,
19553
19642
  ownerState,
19554
19643
  InputProps,
19555
19644
  error,
19556
19645
  ...rest
19557
- }) => /* @__PURE__ */ jsx106(TextField_default, { ...inputProps, ...rest });
19646
+ }) => /* @__PURE__ */ jsx107(TextField_default, { ...inputProps, ...rest });
19558
19647
  var TimeField = function TimeField2({
19559
19648
  onChange,
19560
19649
  value,
@@ -19583,7 +19672,7 @@ var TimeField = function TimeField2({
19583
19672
  },
19584
19673
  [onChange]
19585
19674
  );
19586
- return /* @__PURE__ */ jsx106(LocalizationProvider, { dateAdapter: AdapterMoment, children: /* @__PURE__ */ jsx106(
19675
+ return /* @__PURE__ */ jsx107(LocalizationProvider, { dateAdapter: AdapterMoment, children: /* @__PURE__ */ jsx107(
19587
19676
  MuiTimeField,
19588
19677
  {
19589
19678
  onChange: _onChange,
@@ -19602,7 +19691,7 @@ var TimeField = function TimeField2({
19602
19691
  var TimeField_default = TimeField;
19603
19692
 
19604
19693
  // src/components/input/DateIntervalPickerInputs.tsx
19605
- import { jsx as jsx107, jsxs as jsxs48 } from "react/jsx-runtime";
19694
+ import { jsx as jsx108, jsxs as jsxs48 } from "react/jsx-runtime";
19606
19695
  var DateIntervalPickerInputs = ({
19607
19696
  startDate,
19608
19697
  startTime,
@@ -19633,7 +19722,7 @@ var DateIntervalPickerInputs = ({
19633
19722
  hourLabel,
19634
19723
  color: color3
19635
19724
  }) => /* @__PURE__ */ jsxs48(Stack7, { children: [
19636
- /* @__PURE__ */ jsx107(
19725
+ /* @__PURE__ */ jsx108(
19637
19726
  TextField_default,
19638
19727
  {
19639
19728
  "data-testid": dataTestId,
@@ -19647,7 +19736,7 @@ var DateIntervalPickerInputs = ({
19647
19736
  activeColor: color3
19648
19737
  }
19649
19738
  ),
19650
- showTime && /* @__PURE__ */ jsx107(
19739
+ showTime && /* @__PURE__ */ jsx108(
19651
19740
  TimeField_default,
19652
19741
  {
19653
19742
  activeColor: color3,
@@ -19691,7 +19780,7 @@ var DateIntervalPickerInputs = ({
19691
19780
  ]
19692
19781
  }
19693
19782
  ),
19694
- /* @__PURE__ */ jsx107(Collapse6, { in: isComparing, children: /* @__PURE__ */ jsxs48(
19783
+ /* @__PURE__ */ jsx108(Collapse6, { in: isComparing, children: /* @__PURE__ */ jsxs48(
19695
19784
  Box_default2,
19696
19785
  {
19697
19786
  sx: {
@@ -19723,7 +19812,7 @@ var DateIntervalPickerInputs = ({
19723
19812
  var DateIntervalPickerInputs_default = DateIntervalPickerInputs;
19724
19813
 
19725
19814
  // src/components/input/DateIntervalPickerPopover.tsx
19726
- import { jsx as jsx108, jsxs as jsxs49 } from "react/jsx-runtime";
19815
+ import { jsx as jsx109, jsxs as jsxs49 } from "react/jsx-runtime";
19727
19816
  var DateIntervalPickerPopover = ({
19728
19817
  interval,
19729
19818
  startDate,
@@ -19771,7 +19860,11 @@ var DateIntervalPickerPopover = ({
19771
19860
  timezone,
19772
19861
  { includeTime: !!showTime }
19773
19862
  );
19774
- const displayEndDate2 = getDisplayEndDate(result.endDate, timezone);
19863
+ const displayEndDate2 = getDisplayEndDate(
19864
+ result.endDate,
19865
+ timezone,
19866
+ !!showTime
19867
+ );
19775
19868
  return {
19776
19869
  startDate: dateInputFormatter(result.startDate),
19777
19870
  endDate: dateInputFormatter(displayEndDate2),
@@ -19825,8 +19918,8 @@ var DateIntervalPickerPopover = ({
19825
19918
  )
19826
19919
  };
19827
19920
  };
19828
- const displayEndDate = getDisplayEndDate(endDate, timezone);
19829
- const displayComparisonEndDate = comparisonEndDate && getDisplayEndDate(comparisonEndDate, timezone);
19921
+ const displayEndDate = getDisplayEndDate(endDate, timezone, !!showTime);
19922
+ const displayComparisonEndDate = comparisonEndDate && getDisplayEndDate(comparisonEndDate, timezone, !!showTime);
19830
19923
  const initialState = {
19831
19924
  interval,
19832
19925
  highlightedInput: "startDate",
@@ -19862,7 +19955,7 @@ var DateIntervalPickerPopover = ({
19862
19955
  });
19863
19956
  };
19864
19957
  const handleApply = () => {
19865
- const parseEndDate = (dateString) => tz4(parseDate(dateString), timezone).add(1, "day").toDate();
19958
+ const parseEndDate = (dateString) => !showTime ? tz4(parseDate(dateString), timezone).add(1, "day").toDate() : tz4(parseDate(dateString), timezone).toDate();
19866
19959
  onApply({
19867
19960
  interval: state.interval,
19868
19961
  startDate: applyTimeToDate(
@@ -20135,7 +20228,7 @@ var DateIntervalPickerPopover = ({
20135
20228
  maxWidth: `${250 + 8 * 2 + 32 * 7}px`
20136
20229
  },
20137
20230
  children: [
20138
- /* @__PURE__ */ jsx108(
20231
+ /* @__PURE__ */ jsx109(
20139
20232
  Box_default2,
20140
20233
  {
20141
20234
  sx: {
@@ -20147,7 +20240,7 @@ var DateIntervalPickerPopover = ({
20147
20240
  overflowY: "auto"
20148
20241
  },
20149
20242
  className: "Slim-Vertical-Scroll",
20150
- children: /* @__PURE__ */ jsx108(
20243
+ children: /* @__PURE__ */ jsx109(
20151
20244
  DateIntervalPickerList_default,
20152
20245
  {
20153
20246
  allowCompare,
@@ -20163,13 +20256,13 @@ var DateIntervalPickerPopover = ({
20163
20256
  )
20164
20257
  }
20165
20258
  ),
20166
- /* @__PURE__ */ jsx108(
20259
+ /* @__PURE__ */ jsx109(
20167
20260
  Box_default2,
20168
20261
  {
20169
20262
  sx: {
20170
20263
  gridArea: "inputs"
20171
20264
  },
20172
- children: /* @__PURE__ */ jsx108(
20265
+ children: /* @__PURE__ */ jsx109(
20173
20266
  DateIntervalPickerInputs_default,
20174
20267
  {
20175
20268
  color: color2,
@@ -20194,13 +20287,13 @@ var DateIntervalPickerPopover = ({
20194
20287
  )
20195
20288
  }
20196
20289
  ),
20197
- /* @__PURE__ */ jsx108(
20290
+ /* @__PURE__ */ jsx109(
20198
20291
  Box_default2,
20199
20292
  {
20200
20293
  sx: {
20201
20294
  gridArea: "calendar"
20202
20295
  },
20203
- children: /* @__PURE__ */ jsx108(
20296
+ children: /* @__PURE__ */ jsx109(
20204
20297
  CalendarScrollPicker_default,
20205
20298
  {
20206
20299
  minDate: {
@@ -20239,11 +20332,11 @@ var DateIntervalPickerPopover = ({
20239
20332
  ]
20240
20333
  }
20241
20334
  ),
20242
- /* @__PURE__ */ jsx108(
20335
+ /* @__PURE__ */ jsx109(
20243
20336
  PopoverActions_default,
20244
20337
  {
20245
20338
  sx: { padding: "16px 24px" },
20246
- leftContent: /* @__PURE__ */ jsx108(
20339
+ leftContent: /* @__PURE__ */ jsx109(
20247
20340
  Button_default,
20248
20341
  {
20249
20342
  variant: "contained",
@@ -20252,7 +20345,7 @@ var DateIntervalPickerPopover = ({
20252
20345
  text: t("DATE_INTERVAL_PICKER.CANCEL")
20253
20346
  }
20254
20347
  ),
20255
- rightContent: /* @__PURE__ */ jsx108(
20348
+ rightContent: /* @__PURE__ */ jsx109(
20256
20349
  Button_default,
20257
20350
  {
20258
20351
  variant: "contained",
@@ -20269,7 +20362,7 @@ var DateIntervalPickerPopover_default = DateIntervalPickerPopover;
20269
20362
 
20270
20363
  // src/components/input/DateIntervalPicker.tsx
20271
20364
  import { tz as tz5 } from "moment-timezone";
20272
- import { jsx as jsx109, jsxs as jsxs50 } from "react/jsx-runtime";
20365
+ import { jsx as jsx110, jsxs as jsxs50 } from "react/jsx-runtime";
20273
20366
  var DateIntervalPicker = ({
20274
20367
  interval,
20275
20368
  startDate,
@@ -20307,7 +20400,7 @@ var DateIntervalPicker = ({
20307
20400
  }
20308
20401
  setAnchorEl(null);
20309
20402
  };
20310
- const displayEndDate = getDisplayEndDate(endDate, timezone);
20403
+ const displayEndDate = getDisplayEndDate(endDate, timezone, !!showTime);
20311
20404
  const isEndDateVisible = !isSameDate(startDate, displayEndDate);
20312
20405
  const internalMaxDate = maxDate ?? tz5(timezone).toDate();
20313
20406
  const internalMinDate = minDate ?? tz5(internalMaxDate, timezone).subtract(maxSelectableDays - 1, "days").toDate();
@@ -20327,7 +20420,7 @@ var DateIntervalPicker = ({
20327
20420
  disabled,
20328
20421
  onClick: handleButtonClick,
20329
20422
  children: [
20330
- /* @__PURE__ */ jsx109(
20423
+ /* @__PURE__ */ jsx110(
20331
20424
  "span",
20332
20425
  {
20333
20426
  style: {
@@ -20337,7 +20430,7 @@ var DateIntervalPicker = ({
20337
20430
  borderRadius: "2px",
20338
20431
  alignSelf: "center"
20339
20432
  },
20340
- children: /* @__PURE__ */ jsx109(Typography_default, { variant: "body2", children: t(
20433
+ children: /* @__PURE__ */ jsx110(Typography_default, { variant: "body2", children: t(
20341
20434
  `DATE_INTERVAL_PICKER.DATE_INTERVALS.${dateIntervals[interval]}`
20342
20435
  ) })
20343
20436
  }
@@ -20352,7 +20445,7 @@ var DateIntervalPicker = ({
20352
20445
  },
20353
20446
  children: [
20354
20447
  /* @__PURE__ */ jsxs50("div", { children: [
20355
- /* @__PURE__ */ jsx109(
20448
+ /* @__PURE__ */ jsx110(
20356
20449
  DateFormatter_default,
20357
20450
  {
20358
20451
  date: startDate,
@@ -20362,7 +20455,7 @@ var DateIntervalPicker = ({
20362
20455
  }
20363
20456
  ),
20364
20457
  isEndDateVisible && " - ",
20365
- isEndDateVisible && /* @__PURE__ */ jsx109(
20458
+ isEndDateVisible && /* @__PURE__ */ jsx110(
20366
20459
  DateFormatter_default,
20367
20460
  {
20368
20461
  date: displayEndDate,
@@ -20383,7 +20476,7 @@ var DateIntervalPicker = ({
20383
20476
  children: [
20384
20477
  t("DATE_INTERVAL_PICKER.COMPARE"),
20385
20478
  ": ",
20386
- /* @__PURE__ */ jsx109(
20479
+ /* @__PURE__ */ jsx110(
20387
20480
  DateFormatter_default,
20388
20481
  {
20389
20482
  date: comparisonStartDate,
@@ -20393,7 +20486,7 @@ var DateIntervalPicker = ({
20393
20486
  }
20394
20487
  ),
20395
20488
  " - ",
20396
- /* @__PURE__ */ jsx109(
20489
+ /* @__PURE__ */ jsx110(
20397
20490
  DateFormatter_default,
20398
20491
  {
20399
20492
  date: comparisonEndDate,
@@ -20408,11 +20501,11 @@ var DateIntervalPicker = ({
20408
20501
  ]
20409
20502
  }
20410
20503
  ),
20411
- /* @__PURE__ */ jsx109(Icon_default, { id: "menu-down", sx: { color: grey400 } })
20504
+ /* @__PURE__ */ jsx110(Icon_default, { id: "menu-down", sx: { color: grey400 } })
20412
20505
  ]
20413
20506
  }
20414
20507
  ),
20415
- anchorEl !== null && /* @__PURE__ */ jsx109(
20508
+ anchorEl !== null && /* @__PURE__ */ jsx110(
20416
20509
  DateIntervalPickerPopover_default,
20417
20510
  {
20418
20511
  ...{
@@ -20445,7 +20538,7 @@ var DateIntervalPicker_default = DateIntervalPicker;
20445
20538
  // src/components/input/SelectPopoverItem.tsx
20446
20539
  import { Grid as Grid2, Stack as Stack8 } from "@mui/material";
20447
20540
  import { lighten as lighten3 } from "@mui/material";
20448
- import { Fragment as Fragment21, jsx as jsx110, jsxs as jsxs51 } from "react/jsx-runtime";
20541
+ import { Fragment as Fragment22, jsx as jsx111, jsxs as jsxs51 } from "react/jsx-runtime";
20449
20542
  var bgColorLightCoefficient2 = 0.9;
20450
20543
  var SelectPopoverItem = ({
20451
20544
  id,
@@ -20459,7 +20552,7 @@ var SelectPopoverItem = ({
20459
20552
  tooltip,
20460
20553
  isLoadingSubtitle2,
20461
20554
  onClick
20462
- }) => /* @__PURE__ */ jsx110(Tooltip_default, { title: tooltip || "", children: /* @__PURE__ */ jsx110(
20555
+ }) => /* @__PURE__ */ jsx111(Tooltip_default, { title: tooltip || "", children: /* @__PURE__ */ jsx111(
20463
20556
  Grid2,
20464
20557
  {
20465
20558
  size: {
@@ -20493,7 +20586,7 @@ var SelectPopoverItem = ({
20493
20586
  boxSizing: "border-box"
20494
20587
  },
20495
20588
  children: [
20496
- /* @__PURE__ */ jsx110(
20589
+ /* @__PURE__ */ jsx111(
20497
20590
  TextEllipsis_default,
20498
20591
  {
20499
20592
  color: Colors_exports.grey800,
@@ -20502,8 +20595,8 @@ var SelectPopoverItem = ({
20502
20595
  cursor: disabled ? "default" : "pointer"
20503
20596
  },
20504
20597
  typographyVariant: "body1",
20505
- text: /* @__PURE__ */ jsxs51(Fragment21, { children: [
20506
- iconId && /* @__PURE__ */ jsx110(
20598
+ text: /* @__PURE__ */ jsxs51(Fragment22, { children: [
20599
+ iconId && /* @__PURE__ */ jsx111(
20507
20600
  Icon_default,
20508
20601
  {
20509
20602
  id: iconId,
@@ -20521,7 +20614,7 @@ var SelectPopoverItem = ({
20521
20614
  ] })
20522
20615
  }
20523
20616
  ),
20524
- subtitle1 && /* @__PURE__ */ jsx110(
20617
+ subtitle1 && /* @__PURE__ */ jsx111(
20525
20618
  Typography_default,
20526
20619
  {
20527
20620
  variant: "body2",
@@ -20531,7 +20624,7 @@ var SelectPopoverItem = ({
20531
20624
  children: subtitle1
20532
20625
  }
20533
20626
  ),
20534
- isLoadingSubtitle2 && /* @__PURE__ */ jsx110(
20627
+ isLoadingSubtitle2 && /* @__PURE__ */ jsx111(
20535
20628
  Skeleton_default,
20536
20629
  {
20537
20630
  variant: "text",
@@ -20543,7 +20636,7 @@ var SelectPopoverItem = ({
20543
20636
  }
20544
20637
  }
20545
20638
  ),
20546
- subtitle2 && !isLoadingSubtitle2 && /* @__PURE__ */ jsx110(
20639
+ subtitle2 && !isLoadingSubtitle2 && /* @__PURE__ */ jsx111(
20547
20640
  Typography_default,
20548
20641
  {
20549
20642
  variant: "body2",
@@ -20556,7 +20649,7 @@ var SelectPopoverItem = ({
20556
20649
  ]
20557
20650
  }
20558
20651
  ),
20559
- chipText && /* @__PURE__ */ jsx110(Box_default2, { sx: { minWidth: "72px", flexShrink: 0 }, children: /* @__PURE__ */ jsx110(
20652
+ chipText && /* @__PURE__ */ jsx111(Box_default2, { sx: { minWidth: "72px", flexShrink: 0 }, children: /* @__PURE__ */ jsx111(
20560
20653
  Chip_default,
20561
20654
  {
20562
20655
  label: chipText,
@@ -20587,7 +20680,7 @@ import MuiSelect from "@mui/material/Select";
20587
20680
  import InputBase from "@mui/material/InputBase";
20588
20681
  import { FixedSizeList as FixedSizeList2 } from "react-window";
20589
20682
  import AutoSizer4 from "react-virtualized-auto-sizer";
20590
- import { jsx as jsx111 } from "react/jsx-runtime";
20683
+ import { jsx as jsx112 } from "react/jsx-runtime";
20591
20684
  var BootstrapInput = styled7(InputBase)(() => ({
20592
20685
  boxShadow: shadows[0],
20593
20686
  borderRadius: "16px",
@@ -20618,7 +20711,7 @@ var BootstrapInput = styled7(InputBase)(() => ({
20618
20711
  borderColor: grey800
20619
20712
  }
20620
20713
  }));
20621
- var ChevronIcon = ({ disabled = false }) => /* @__PURE__ */ jsx111(
20714
+ var ChevronIcon = ({ disabled = false }) => /* @__PURE__ */ jsx112(
20622
20715
  Icon_default,
20623
20716
  {
20624
20717
  id: "chevron-down",
@@ -20636,7 +20729,7 @@ var SelectOption = ({
20636
20729
  selected,
20637
20730
  colors,
20638
20731
  ...rest
20639
- }) => /* @__PURE__ */ jsx111(
20732
+ }) => /* @__PURE__ */ jsx112(
20640
20733
  ListItemButton_default,
20641
20734
  {
20642
20735
  role: "option",
@@ -20703,7 +20796,7 @@ var Select = function Select2({
20703
20796
  }) => {
20704
20797
  const { value: currentValue, label, ...rest2 } = options[index];
20705
20798
  const isSelected = value === currentValue;
20706
- return /* @__PURE__ */ jsx111(
20799
+ return /* @__PURE__ */ jsx112(
20707
20800
  ListItemButton_default,
20708
20801
  {
20709
20802
  text: label ?? currentValue?.toString() ?? "",
@@ -20734,7 +20827,7 @@ var Select = function Select2({
20734
20827
  currentValue ?? ""
20735
20828
  );
20736
20829
  };
20737
- const getVirtualizedSelect = () => /* @__PURE__ */ jsx111(
20830
+ const getVirtualizedSelect = () => /* @__PURE__ */ jsx112(
20738
20831
  MuiSelect,
20739
20832
  {
20740
20833
  className: `Cn-Select ${className}`,
@@ -20770,8 +20863,8 @@ var Select = function Select2({
20770
20863
  displayEmpty: true,
20771
20864
  variant: "standard",
20772
20865
  value,
20773
- IconComponent: () => /* @__PURE__ */ jsx111(ChevronIcon, { disabled: rest.disabled }),
20774
- input: /* @__PURE__ */ jsx111(BootstrapInput, { placeholder }),
20866
+ IconComponent: () => /* @__PURE__ */ jsx112(ChevronIcon, { disabled: rest.disabled }),
20867
+ input: /* @__PURE__ */ jsx112(BootstrapInput, { placeholder }),
20775
20868
  onOpen: () => {
20776
20869
  setOpen(true);
20777
20870
  onOpen && onOpen();
@@ -20787,7 +20880,7 @@ var Select = function Select2({
20787
20880
  return renderValue(value2, options);
20788
20881
  }
20789
20882
  if (!value2) {
20790
- return /* @__PURE__ */ jsx111("span", { style: { color: grey900 }, children: placeholder });
20883
+ return /* @__PURE__ */ jsx112("span", { style: { color: grey900 }, children: placeholder });
20791
20884
  }
20792
20885
  return options.find((o) => o.value === value2)?.label ?? value2;
20793
20886
  },
@@ -20820,7 +20913,7 @@ var Select = function Select2({
20820
20913
  }
20821
20914
  }
20822
20915
  },
20823
- children: /* @__PURE__ */ jsx111(AutoSizer4, { disableWidth: true, children: ({ height: height2 }) => /* @__PURE__ */ jsx111(
20916
+ children: /* @__PURE__ */ jsx112(AutoSizer4, { disableWidth: true, children: ({ height: height2 }) => /* @__PURE__ */ jsx112(
20824
20917
  FixedSizeList2,
20825
20918
  {
20826
20919
  height: height2,
@@ -20834,7 +20927,7 @@ var Select = function Select2({
20834
20927
  ) })
20835
20928
  }
20836
20929
  );
20837
- const getNotVirtualizedSelect = () => /* @__PURE__ */ jsx111(
20930
+ const getNotVirtualizedSelect = () => /* @__PURE__ */ jsx112(
20838
20931
  MuiSelect,
20839
20932
  {
20840
20933
  className: `Cn-Select ${className}`,
@@ -20874,9 +20967,9 @@ var Select = function Select2({
20874
20967
  },
20875
20968
  multiple,
20876
20969
  value,
20877
- IconComponent: () => /* @__PURE__ */ jsx111(ChevronIcon, { disabled: rest.disabled }),
20970
+ IconComponent: () => /* @__PURE__ */ jsx112(ChevronIcon, { disabled: rest.disabled }),
20878
20971
  open,
20879
- input: /* @__PURE__ */ jsx111(BootstrapInput, { placeholder }),
20972
+ input: /* @__PURE__ */ jsx112(BootstrapInput, { placeholder }),
20880
20973
  onOpen: () => {
20881
20974
  setOpen(true);
20882
20975
  onOpen && onOpen();
@@ -20892,7 +20985,7 @@ var Select = function Select2({
20892
20985
  }
20893
20986
  if (Array.isArray(value2)) {
20894
20987
  if (value2.length === 0) {
20895
- return /* @__PURE__ */ jsx111("span", { style: { color: grey900 }, children: placeholder });
20988
+ return /* @__PURE__ */ jsx112("span", { style: { color: grey900 }, children: placeholder });
20896
20989
  } else {
20897
20990
  return value2.map((v) => {
20898
20991
  const option = options.find((o) => o.value === v);
@@ -20901,7 +20994,7 @@ var Select = function Select2({
20901
20994
  }
20902
20995
  } else {
20903
20996
  if (!value2) {
20904
- return /* @__PURE__ */ jsx111("span", { style: { color: grey900 }, children: placeholder });
20997
+ return /* @__PURE__ */ jsx112("span", { style: { color: grey900 }, children: placeholder });
20905
20998
  }
20906
20999
  return options.find((o) => o.value === value2)?.label ?? value2;
20907
21000
  }
@@ -20926,7 +21019,7 @@ var Select = function Select2({
20926
21019
  }
20927
21020
  },
20928
21021
  ...rest,
20929
- children: children ?? options.map(({ label, value: value2, ...rest2 }) => /* @__PURE__ */ jsx111(
21022
+ children: children ?? options.map(({ label, value: value2, ...rest2 }) => /* @__PURE__ */ jsx112(
20930
21023
  SelectOption,
20931
21024
  {
20932
21025
  label: label ?? value2?.toString() ?? "",
@@ -20943,7 +21036,7 @@ var Select = function Select2({
20943
21036
  var Select_default = React58.forwardRef(Select);
20944
21037
 
20945
21038
  // src/components/input/TimezoneSelector.tsx
20946
- import { jsx as jsx112 } from "react/jsx-runtime";
21039
+ import { jsx as jsx113 } from "react/jsx-runtime";
20947
21040
  var TimezoneSelector = ({
20948
21041
  initialTimezone,
20949
21042
  onTimezoneChange
@@ -20954,7 +21047,7 @@ var TimezoneSelector = ({
20954
21047
  onTimezoneChange(timezone);
20955
21048
  };
20956
21049
  const timeZones = moment2.tz.names();
20957
- return /* @__PURE__ */ jsx112(
21050
+ return /* @__PURE__ */ jsx113(
20958
21051
  Select_default,
20959
21052
  {
20960
21053
  value: selectedTimezone,
@@ -20968,7 +21061,7 @@ var TimezoneSelector_default = TimezoneSelector;
20968
21061
 
20969
21062
  // src/components/input/DaysOfWeekPicker.tsx
20970
21063
  import * as React60 from "react";
20971
- import { jsx as jsx113 } from "react/jsx-runtime";
21064
+ import { jsx as jsx114 } from "react/jsx-runtime";
20972
21065
  var DaysOfWeekPicker = ({ value, onChange }) => {
20973
21066
  const { locale, timezone } = React60.useContext(IntlContext);
20974
21067
  const daysOfWeekLong = React60.useMemo(
@@ -20988,7 +21081,7 @@ var DaysOfWeekPicker = ({ value, onChange }) => {
20988
21081
  "saturday",
20989
21082
  "sunday"
20990
21083
  ];
20991
- return /* @__PURE__ */ jsx113(
21084
+ return /* @__PURE__ */ jsx114(
20992
21085
  Stack_default,
20993
21086
  {
20994
21087
  direction: "row",
@@ -20997,7 +21090,7 @@ var DaysOfWeekPicker = ({ value, onChange }) => {
20997
21090
  height: "34px",
20998
21091
  alignItems: "center"
20999
21092
  },
21000
- children: daysOfWeek.map((day, index) => /* @__PURE__ */ jsx113("div", { style: { margin: "0 2px" }, children: /* @__PURE__ */ jsx113(
21093
+ children: daysOfWeek.map((day, index) => /* @__PURE__ */ jsx114("div", { style: { margin: "0 2px" }, children: /* @__PURE__ */ jsx114(
21001
21094
  ToggleButton_default,
21002
21095
  {
21003
21096
  sx: {
@@ -21020,7 +21113,7 @@ var DaysOfWeekPicker = ({ value, onChange }) => {
21020
21113
  onChange(value.concat([currentValue]));
21021
21114
  }
21022
21115
  },
21023
- children: /* @__PURE__ */ jsx113(Tooltip_default, { title: daysOfWeekLong[index], children: /* @__PURE__ */ jsx113("span", { children: day }) }, index)
21116
+ children: /* @__PURE__ */ jsx114(Tooltip_default, { title: daysOfWeekLong[index], children: /* @__PURE__ */ jsx114("span", { children: day }) }, index)
21024
21117
  }
21025
21118
  ) }, index))
21026
21119
  }
@@ -21033,7 +21126,7 @@ import * as React61 from "react";
21033
21126
  import GradientColorPicker, {
21034
21127
  useColorPicker
21035
21128
  } from "react-best-gradient-color-picker";
21036
- import { Fragment as Fragment22, jsx as jsx114, jsxs as jsxs52 } from "react/jsx-runtime";
21129
+ import { Fragment as Fragment23, jsx as jsx115, jsxs as jsxs52 } from "react/jsx-runtime";
21037
21130
  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
21131
  var isValidColor = (color2) => colorRegex.test(color2);
21039
21132
  var colorPickerDefaultColors = [
@@ -21104,7 +21197,7 @@ var ColorPicker = React61.forwardRef(function ColorPickerWrapper({
21104
21197
  return hex.length === 1 ? "0" + hex : hex;
21105
21198
  }).join("");
21106
21199
  };
21107
- const iconColor = /* @__PURE__ */ jsx114(
21200
+ const iconColor = /* @__PURE__ */ jsx115(
21108
21201
  IconButton_default,
21109
21202
  {
21110
21203
  iconId: value ? "color-square" : "transparent",
@@ -21126,8 +21219,8 @@ var ColorPicker = React61.forwardRef(function ColorPickerWrapper({
21126
21219
  handleColorChange(internalPickerValue);
21127
21220
  }
21128
21221
  }, [value, internalPickerValue, onChange, isValidPickerChange, valueToHex]);
21129
- return /* @__PURE__ */ jsxs52(Fragment22, { children: [
21130
- /* @__PURE__ */ jsx114(
21222
+ return /* @__PURE__ */ jsxs52(Fragment23, { children: [
21223
+ /* @__PURE__ */ jsx115(
21131
21224
  TextField_default,
21132
21225
  {
21133
21226
  value: textFieldValue,
@@ -21152,7 +21245,7 @@ var ColorPicker = React61.forwardRef(function ColorPickerWrapper({
21152
21245
  ref
21153
21246
  }
21154
21247
  ),
21155
- /* @__PURE__ */ jsx114(
21248
+ /* @__PURE__ */ jsx115(
21156
21249
  Popover_default,
21157
21250
  {
21158
21251
  anchorEl,
@@ -21161,7 +21254,7 @@ var ColorPicker = React61.forwardRef(function ColorPickerWrapper({
21161
21254
  onMouseUp: () => {
21162
21255
  setValidPickerChange(true);
21163
21256
  },
21164
- children: /* @__PURE__ */ jsx114(
21257
+ children: /* @__PURE__ */ jsx115(
21165
21258
  Box_default2,
21166
21259
  {
21167
21260
  className: "Cn-Color-Gradient-Box",
@@ -21205,7 +21298,7 @@ var ColorPicker = React61.forwardRef(function ColorPickerWrapper({
21205
21298
  fontFamily: "Source Sans Pro, sans-serif"
21206
21299
  }
21207
21300
  },
21208
- children: /* @__PURE__ */ jsx114(
21301
+ children: /* @__PURE__ */ jsx115(
21209
21302
  GradientColorPicker,
21210
21303
  {
21211
21304
  className: "Cn-Color-Gradient-Picker",
@@ -21236,7 +21329,7 @@ var ColorPicker_default = ColorPicker;
21236
21329
 
21237
21330
  // src/components/input/UploadClickableArea.tsx
21238
21331
  import { Box as Box3 } from "@mui/material";
21239
- import { jsx as jsx115, jsxs as jsxs53 } from "react/jsx-runtime";
21332
+ import { jsx as jsx116, jsxs as jsxs53 } from "react/jsx-runtime";
21240
21333
  var UploadClickableArea = ({
21241
21334
  accept,
21242
21335
  onFilesChanged,
@@ -21250,7 +21343,7 @@ var UploadClickableArea = ({
21250
21343
  display: "inline-block"
21251
21344
  },
21252
21345
  children: [
21253
- /* @__PURE__ */ jsx115(
21346
+ /* @__PURE__ */ jsx116(
21254
21347
  "input",
21255
21348
  {
21256
21349
  type: "file",
@@ -21268,8 +21361,8 @@ var UploadClickableArea_default = UploadClickableArea;
21268
21361
  // src/components/input/CategorizedPicker.tsx
21269
21362
  import React62 from "react";
21270
21363
  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(
21364
+ import { Fragment as Fragment24, jsx as jsx117, jsxs as jsxs54 } from "react/jsx-runtime";
21365
+ var ChevronIcon2 = ({ disabled }) => /* @__PURE__ */ jsx117(
21273
21366
  Icon_default,
21274
21367
  {
21275
21368
  id: "chevron-down",
@@ -21364,8 +21457,8 @@ var CategorizedPicker = function CategorizedPicker2({
21364
21457
  setSelectedCategory(filteredSelectedCategory);
21365
21458
  }
21366
21459
  }, [filteredCategories, selectedCategory]);
21367
- return /* @__PURE__ */ jsxs54(Fragment23, { children: [
21368
- /* @__PURE__ */ jsx116(
21460
+ return /* @__PURE__ */ jsxs54(Fragment24, { children: [
21461
+ /* @__PURE__ */ jsx117(
21369
21462
  Select3,
21370
21463
  {
21371
21464
  ref: anchorRef,
@@ -21380,7 +21473,7 @@ var CategorizedPicker = function CategorizedPicker2({
21380
21473
  value: value?.name || "",
21381
21474
  displayEmpty: true,
21382
21475
  disabled,
21383
- input: /* @__PURE__ */ jsx116(
21476
+ input: /* @__PURE__ */ jsx117(
21384
21477
  BootstrapInput,
21385
21478
  {
21386
21479
  sx: {
@@ -21389,7 +21482,7 @@ var CategorizedPicker = function CategorizedPicker2({
21389
21482
  }
21390
21483
  ),
21391
21484
  renderValue: (value2) => value2 || placeholder,
21392
- IconComponent: () => /* @__PURE__ */ jsx116(ChevronIcon2, { disabled }),
21485
+ IconComponent: () => /* @__PURE__ */ jsx117(ChevronIcon2, { disabled }),
21393
21486
  onClick: !disabled ? (e) => {
21394
21487
  e.preventDefault();
21395
21488
  e.stopPropagation();
@@ -21397,10 +21490,10 @@ var CategorizedPicker = function CategorizedPicker2({
21397
21490
  } : void 0,
21398
21491
  open: false,
21399
21492
  "data-testid": dataTestId,
21400
- children: options.map((option) => /* @__PURE__ */ jsx116("option", { value: option.name }, option.id))
21493
+ children: options.map((option) => /* @__PURE__ */ jsx117("option", { value: option.name }, option.id))
21401
21494
  }
21402
21495
  ),
21403
- /* @__PURE__ */ jsx116(
21496
+ /* @__PURE__ */ jsx117(
21404
21497
  Popover2,
21405
21498
  {
21406
21499
  anchorEl: anchorRef.current,
@@ -21422,7 +21515,7 @@ var CategorizedPicker = function CategorizedPicker2({
21422
21515
  }
21423
21516
  },
21424
21517
  children: /* @__PURE__ */ jsxs54(Grid3, { container: true, children: [
21425
- /* @__PURE__ */ jsx116(
21518
+ /* @__PURE__ */ jsx117(
21426
21519
  Grid3,
21427
21520
  {
21428
21521
  size: {
@@ -21430,7 +21523,7 @@ var CategorizedPicker = function CategorizedPicker2({
21430
21523
  },
21431
21524
  padding: "8px",
21432
21525
  borderBottom: `1px solid ${grey200}`,
21433
- children: /* @__PURE__ */ jsx116(
21526
+ children: /* @__PURE__ */ jsx117(
21434
21527
  DebouncedTextField_default,
21435
21528
  {
21436
21529
  placeholder: t(
@@ -21438,12 +21531,12 @@ var CategorizedPicker = function CategorizedPicker2({
21438
21531
  ),
21439
21532
  value: search,
21440
21533
  onChange: onTypeSearch,
21441
- startAdornment: /* @__PURE__ */ jsx116(Icon_default, { id: "magnify" })
21534
+ startAdornment: /* @__PURE__ */ jsx117(Icon_default, { id: "magnify" })
21442
21535
  }
21443
21536
  )
21444
21537
  }
21445
21538
  ),
21446
- /* @__PURE__ */ jsx116(
21539
+ /* @__PURE__ */ jsx117(
21447
21540
  Grid3,
21448
21541
  {
21449
21542
  size: {
@@ -21452,14 +21545,14 @@ var CategorizedPicker = function CategorizedPicker2({
21452
21545
  sx: { borderRight: `1px solid ${grey200}` },
21453
21546
  height: "316px",
21454
21547
  className: "Slim-Vertical-Scroll",
21455
- children: /* @__PURE__ */ jsx116(Stack9, { children: filteredCategories.map((category, idx) => /* @__PURE__ */ jsx116(
21548
+ children: /* @__PURE__ */ jsx117(Stack9, { children: filteredCategories.map((category, idx) => /* @__PURE__ */ jsx117(
21456
21549
  ListItemButton_default,
21457
21550
  {
21458
21551
  selected: selectedCategory === category,
21459
21552
  onClick: () => {
21460
21553
  setSelectedCategory(category);
21461
21554
  },
21462
- endAdornment: selectedCategory === category ? /* @__PURE__ */ jsx116(
21555
+ endAdornment: selectedCategory === category ? /* @__PURE__ */ jsx117(
21463
21556
  Icon_default,
21464
21557
  {
21465
21558
  id: "menu-right",
@@ -21467,10 +21560,10 @@ var CategorizedPicker = function CategorizedPicker2({
21467
21560
  }
21468
21561
  ) : void 0,
21469
21562
  buttonDataTest: dataTestId ? dataTestId + "-category-" + idx : void 0,
21470
- children: /* @__PURE__ */ jsx116(
21563
+ children: /* @__PURE__ */ jsx117(
21471
21564
  TextEllipsis_default,
21472
21565
  {
21473
- text: /* @__PURE__ */ jsx116(
21566
+ text: /* @__PURE__ */ jsx117(
21474
21567
  TextMarker_default,
21475
21568
  {
21476
21569
  searchText: search,
@@ -21488,7 +21581,7 @@ var CategorizedPicker = function CategorizedPicker2({
21488
21581
  )) })
21489
21582
  }
21490
21583
  ),
21491
- /* @__PURE__ */ jsx116(
21584
+ /* @__PURE__ */ jsx117(
21492
21585
  Grid3,
21493
21586
  {
21494
21587
  size: {
@@ -21496,7 +21589,7 @@ var CategorizedPicker = function CategorizedPicker2({
21496
21589
  },
21497
21590
  height: "316px",
21498
21591
  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(
21592
+ children: /* @__PURE__ */ jsx117(Stack9, { children: /* @__PURE__ */ jsx117(Stack9, { children: !selectedCategory ? /* @__PURE__ */ jsx117(Stack9, { padding: "12px", alignItems: "center", children: /* @__PURE__ */ jsx117(
21500
21593
  Typography_default,
21501
21594
  {
21502
21595
  variant: "body2",
@@ -21508,7 +21601,7 @@ var CategorizedPicker = function CategorizedPicker2({
21508
21601
  )
21509
21602
  }
21510
21603
  ) }) : selectedCategory.categoryOptions.map(
21511
- (option, idx) => /* @__PURE__ */ jsx116(
21604
+ (option, idx) => /* @__PURE__ */ jsx117(
21512
21605
  ListItemButton_default,
21513
21606
  {
21514
21607
  selected: value?.id === option.id,
@@ -21517,10 +21610,10 @@ var CategorizedPicker = function CategorizedPicker2({
21517
21610
  closePopover();
21518
21611
  },
21519
21612
  buttonDataTest: dataTestId ? dataTestId + "-option-" + idx : void 0,
21520
- children: /* @__PURE__ */ jsx116(
21613
+ children: /* @__PURE__ */ jsx117(
21521
21614
  TextEllipsis_default,
21522
21615
  {
21523
- text: /* @__PURE__ */ jsx116(
21616
+ text: /* @__PURE__ */ jsx117(
21524
21617
  TextMarker_default,
21525
21618
  {
21526
21619
  searchText: search,
@@ -21553,7 +21646,7 @@ import * as React63 from "react";
21553
21646
  import { Grid as Grid4, Stack as Stack10 } from "@mui/material";
21554
21647
  import { useState as useState22 } from "react";
21555
21648
  import InfiniteScroll from "react-infinite-scroll-component";
21556
- import { jsx as jsx117, jsxs as jsxs55 } from "react/jsx-runtime";
21649
+ import { jsx as jsx118, jsxs as jsxs55 } from "react/jsx-runtime";
21557
21650
  var defaultItemsColorStyles = {
21558
21651
  selectedColor: Colors_exports.primaryMain,
21559
21652
  disabledColor: ""
@@ -21698,14 +21791,14 @@ var SelectPopover = function SelectPopover2({
21698
21791
  anchorEl,
21699
21792
  disableRestoreFocus,
21700
21793
  children: [
21701
- /* @__PURE__ */ jsx117(
21794
+ /* @__PURE__ */ jsx118(
21702
21795
  Box_default2,
21703
21796
  {
21704
21797
  sx: {
21705
21798
  borderBottom: `1px solid ${Colors_exports.grey200}`,
21706
21799
  padding: "8px"
21707
21800
  },
21708
- children: /* @__PURE__ */ jsx117(
21801
+ children: /* @__PURE__ */ jsx118(
21709
21802
  DebouncedTextField_default,
21710
21803
  {
21711
21804
  iconId: "magnify",
@@ -21720,7 +21813,7 @@ var SelectPopover = function SelectPopover2({
21720
21813
  )
21721
21814
  }
21722
21815
  ),
21723
- /* @__PURE__ */ jsx117(
21816
+ /* @__PURE__ */ jsx118(
21724
21817
  InfiniteScroll,
21725
21818
  {
21726
21819
  height: 300,
@@ -21782,7 +21875,7 @@ var SelectPopover = function SelectPopover2({
21782
21875
  onItemSelected
21783
21876
  ) : getItemElement(item, onItemSelected)
21784
21877
  ),
21785
- isLoading && /* @__PURE__ */ jsx117(
21878
+ isLoading && /* @__PURE__ */ jsx118(
21786
21879
  Skeleton_default,
21787
21880
  {
21788
21881
  variant: "text",
@@ -21795,13 +21888,13 @@ var SelectPopover = function SelectPopover2({
21795
21888
  }
21796
21889
  }
21797
21890
  ),
21798
- !isLoading && currentItems.length === 0 ? typeof emptyListPlaceholder === "string" ? /* @__PURE__ */ jsx117(
21891
+ !isLoading && currentItems.length === 0 ? typeof emptyListPlaceholder === "string" ? /* @__PURE__ */ jsx118(
21799
21892
  Stack10,
21800
21893
  {
21801
21894
  alignItems: "center",
21802
21895
  justifyContent: "center",
21803
21896
  width: "100%",
21804
- children: /* @__PURE__ */ jsx117(Typography_default, { variant: "body2", color: grey600, children: emptyListPlaceholder })
21897
+ children: /* @__PURE__ */ jsx118(Typography_default, { variant: "body2", color: grey600, children: emptyListPlaceholder })
21805
21898
  }
21806
21899
  ) : emptyListPlaceholder : ""
21807
21900
  ]
@@ -21809,11 +21902,11 @@ var SelectPopover = function SelectPopover2({
21809
21902
  )
21810
21903
  }
21811
21904
  ),
21812
- /* @__PURE__ */ jsx117(
21905
+ /* @__PURE__ */ jsx118(
21813
21906
  PopoverActions_default,
21814
21907
  {
21815
21908
  sx: { padding: "16px 24px" },
21816
- leftContent: /* @__PURE__ */ jsx117(
21909
+ leftContent: /* @__PURE__ */ jsx118(
21817
21910
  Button_default,
21818
21911
  {
21819
21912
  variant: "contained",
@@ -21823,7 +21916,7 @@ var SelectPopover = function SelectPopover2({
21823
21916
  onClick: closePopover
21824
21917
  }
21825
21918
  ),
21826
- rightContent: /* @__PURE__ */ jsx117(
21919
+ rightContent: /* @__PURE__ */ jsx118(
21827
21920
  Button_default,
21828
21921
  {
21829
21922
  variant: "contained",
@@ -21847,7 +21940,7 @@ var SelectPopover = function SelectPopover2({
21847
21940
  );
21848
21941
  };
21849
21942
  function getItemElement(item, onItemClick) {
21850
- return /* @__PURE__ */ jsx117(
21943
+ return /* @__PURE__ */ jsx118(
21851
21944
  SelectPopoverItem_default,
21852
21945
  {
21853
21946
  id: item.id,
@@ -21876,7 +21969,7 @@ var arraysEqual = (a, b) => {
21876
21969
  var SelectPopover_default = SelectPopover;
21877
21970
 
21878
21971
  // src/components/input/ItemSelector.tsx
21879
- import { Fragment as Fragment24, jsx as jsx118, jsxs as jsxs56 } from "react/jsx-runtime";
21972
+ import { Fragment as Fragment25, jsx as jsx119, jsxs as jsxs56 } from "react/jsx-runtime";
21880
21973
  var ItemSelector = function ItemSelector2({
21881
21974
  items,
21882
21975
  selectedItems,
@@ -21930,7 +22023,7 @@ var ItemSelector = function ItemSelector2({
21930
22023
  item
21931
22024
  }) => {
21932
22025
  const [ref, { contentWidth: width2 }] = useResizeObserver();
21933
- return /* @__PURE__ */ jsx118(
22026
+ return /* @__PURE__ */ jsx119(
21934
22027
  Chip_default,
21935
22028
  {
21936
22029
  ref,
@@ -21960,8 +22053,8 @@ var ItemSelector = function ItemSelector2({
21960
22053
  const selectedItem = selectedItems[0]?.id;
21961
22054
  return selectedItem ? [selectedItem] : "";
21962
22055
  };
21963
- return /* @__PURE__ */ jsxs56(Fragment24, { children: [
21964
- /* @__PURE__ */ jsx118(
22056
+ return /* @__PURE__ */ jsxs56(Fragment25, { children: [
22057
+ /* @__PURE__ */ jsx119(
21965
22058
  Select_default,
21966
22059
  {
21967
22060
  ref: selectRef,
@@ -21977,17 +22070,17 @@ var ItemSelector = function ItemSelector2({
21977
22070
  renderValue: (value) => {
21978
22071
  let component;
21979
22072
  if (!value || !Array.isArray(value) || value.length === 0) {
21980
- component = /* @__PURE__ */ jsxs56(Fragment24, { children: [
21981
- /* @__PURE__ */ jsx118(
22073
+ component = /* @__PURE__ */ jsxs56(Fragment25, { children: [
22074
+ /* @__PURE__ */ jsx119(
21982
22075
  Stack_default,
21983
22076
  {
21984
22077
  direction: "row",
21985
22078
  flexWrap: "wrap",
21986
22079
  padding: "6px 0",
21987
- children: /* @__PURE__ */ jsx118(Typography_default, { variant: "body2", color: grey600, children: placeholder })
22080
+ children: /* @__PURE__ */ jsx119(Typography_default, { variant: "body2", color: grey600, children: placeholder })
21988
22081
  }
21989
22082
  ),
21990
- /* @__PURE__ */ jsx118(
22083
+ /* @__PURE__ */ jsx119(
21991
22084
  Divider_default,
21992
22085
  {
21993
22086
  variant: "middle",
@@ -21997,7 +22090,7 @@ var ItemSelector = function ItemSelector2({
21997
22090
  )
21998
22091
  ] });
21999
22092
  } else {
22000
- component = /* @__PURE__ */ jsxs56(Fragment24, { children: [
22093
+ component = /* @__PURE__ */ jsxs56(Fragment25, { children: [
22001
22094
  /* @__PURE__ */ jsxs56(
22002
22095
  Stack_default,
22003
22096
  {
@@ -22012,7 +22105,7 @@ var ItemSelector = function ItemSelector2({
22012
22105
  const item = selectedItems.find(
22013
22106
  (i) => i.id === id
22014
22107
  );
22015
- return item ? /* @__PURE__ */ jsx118(
22108
+ return item ? /* @__PURE__ */ jsx119(
22016
22109
  ItemChip,
22017
22110
  {
22018
22111
  item: {
@@ -22021,14 +22114,14 @@ var ItemSelector = function ItemSelector2({
22021
22114
  }
22022
22115
  },
22023
22116
  id
22024
- ) : /* @__PURE__ */ jsx118(Fragment24, {});
22117
+ ) : /* @__PURE__ */ jsx119(Fragment25, {});
22025
22118
  }),
22026
- value.length - limitItemChips > 0 ? /* @__PURE__ */ jsx118(
22119
+ value.length - limitItemChips > 0 ? /* @__PURE__ */ jsx119(
22027
22120
  Tooltip_default,
22028
22121
  {
22029
22122
  interactive: true,
22030
22123
  variant: "white",
22031
- title: /* @__PURE__ */ jsx118(
22124
+ title: /* @__PURE__ */ jsx119(
22032
22125
  Stack_default,
22033
22126
  {
22034
22127
  direction: "row",
@@ -22045,24 +22138,24 @@ var ItemSelector = function ItemSelector2({
22045
22138
  const item = selectedItems.find(
22046
22139
  (i) => i.id === id
22047
22140
  );
22048
- return item ? /* @__PURE__ */ jsx118(
22141
+ return item ? /* @__PURE__ */ jsx119(
22049
22142
  ItemChip,
22050
22143
  {
22051
22144
  item
22052
22145
  },
22053
22146
  id
22054
- ) : /* @__PURE__ */ jsx118(Fragment24, {});
22147
+ ) : /* @__PURE__ */ jsx119(Fragment25, {});
22055
22148
  })
22056
22149
  }
22057
22150
  ),
22058
- children: /* @__PURE__ */ jsx118(Typography_default, { variant: "body2", children: `+${value.length - limitItemChips}` })
22151
+ children: /* @__PURE__ */ jsx119(Typography_default, { variant: "body2", children: `+${value.length - limitItemChips}` })
22059
22152
  }
22060
22153
  ) : void 0
22061
22154
  ]
22062
22155
  }
22063
22156
  ),
22064
22157
  !disabled && /* @__PURE__ */ jsxs56(Stack_default, { direction: "row", children: [
22065
- /* @__PURE__ */ jsx118(
22158
+ /* @__PURE__ */ jsx119(
22066
22159
  IconButton_default,
22067
22160
  {
22068
22161
  iconId: "close",
@@ -22080,7 +22173,7 @@ var ItemSelector = function ItemSelector2({
22080
22173
  }
22081
22174
  }
22082
22175
  ),
22083
- /* @__PURE__ */ jsx118(
22176
+ /* @__PURE__ */ jsx119(
22084
22177
  Divider_default,
22085
22178
  {
22086
22179
  variant: "middle",
@@ -22091,7 +22184,7 @@ var ItemSelector = function ItemSelector2({
22091
22184
  ] })
22092
22185
  ] });
22093
22186
  }
22094
- return /* @__PURE__ */ jsx118(
22187
+ return /* @__PURE__ */ jsx119(
22095
22188
  Stack_default,
22096
22189
  {
22097
22190
  direction: "row",
@@ -22113,8 +22206,8 @@ var ItemSelector = function ItemSelector2({
22113
22206
  }
22114
22207
  }
22115
22208
  ),
22116
- helperText && /* @__PURE__ */ jsx118(InputHelperText_default, { severity: isError ? "error" : "info", children: helperText }),
22117
- /* @__PURE__ */ jsx118(
22209
+ helperText && /* @__PURE__ */ jsx119(InputHelperText_default, { severity: isError ? "error" : "info", children: helperText }),
22210
+ /* @__PURE__ */ jsx119(
22118
22211
  SelectPopover_default,
22119
22212
  {
22120
22213
  items: items.map((item) => {
@@ -22179,7 +22272,7 @@ var map = {
22179
22272
  var toDiacriticInsensitiveString = (input) => Array.from(input).map((char) => map[char] ? `[${map[char]}]` : char).join("");
22180
22273
 
22181
22274
  // src/components/input/Autocomplete.tsx
22182
- import { Fragment as Fragment25, jsx as jsx119, jsxs as jsxs57 } from "react/jsx-runtime";
22275
+ import { Fragment as Fragment26, jsx as jsx120, jsxs as jsxs57 } from "react/jsx-runtime";
22183
22276
  var AUTOCOMPLETE_ITEM_HEIGHT = 44;
22184
22277
  var Autocomplete = function Autocomplete2({
22185
22278
  variant = "default",
@@ -22375,7 +22468,7 @@ var Autocomplete = function Autocomplete2({
22375
22468
  style: style3
22376
22469
  }) => {
22377
22470
  const option = filteredOptions[index];
22378
- return /* @__PURE__ */ jsx119(
22471
+ return /* @__PURE__ */ jsx120(
22379
22472
  ListItemButton_default,
22380
22473
  {
22381
22474
  selected: index === selectedIndex,
@@ -22384,7 +22477,7 @@ var Autocomplete = function Autocomplete2({
22384
22477
  sx: style3,
22385
22478
  color: Array.isArray(value) && value.includes(option.id) ? "primary" : void 0,
22386
22479
  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(
22480
+ 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
22481
  Icon_default,
22389
22482
  {
22390
22483
  id: Array.isArray(value) && value.includes(option.id) ? "close" : "plus"
@@ -22396,8 +22489,8 @@ var Autocomplete = function Autocomplete2({
22396
22489
  option.id
22397
22490
  );
22398
22491
  };
22399
- return /* @__PURE__ */ jsxs57(Fragment25, { children: [
22400
- /* @__PURE__ */ jsx119(
22492
+ return /* @__PURE__ */ jsxs57(Fragment26, { children: [
22493
+ /* @__PURE__ */ jsx120(
22401
22494
  DebouncedTextField_default,
22402
22495
  {
22403
22496
  ref: ref ?? inputRef,
@@ -22487,7 +22580,7 @@ var Autocomplete = function Autocomplete2({
22487
22580
  alignItems: "center"
22488
22581
  },
22489
22582
  children: [
22490
- value.slice(0, limitValueTags || value.length).map((id) => /* @__PURE__ */ jsx119(
22583
+ value.slice(0, limitValueTags || value.length).map((id) => /* @__PURE__ */ jsx120(
22491
22584
  Chip_default,
22492
22585
  {
22493
22586
  label: (renderLabel ?? _renderLabel)(
@@ -22507,12 +22600,12 @@ var Autocomplete = function Autocomplete2({
22507
22600
  },
22508
22601
  id
22509
22602
  )),
22510
- limitValueTags && value.length - limitValueTags > 0 ? /* @__PURE__ */ jsx119(
22603
+ limitValueTags && value.length - limitValueTags > 0 ? /* @__PURE__ */ jsx120(
22511
22604
  Tooltip_default,
22512
22605
  {
22513
22606
  interactive: true,
22514
22607
  variant: "white",
22515
- title: /* @__PURE__ */ jsx119(
22608
+ title: /* @__PURE__ */ jsx120(
22516
22609
  Stack_default,
22517
22610
  {
22518
22611
  direction: "row",
@@ -22525,7 +22618,7 @@ var Autocomplete = function Autocomplete2({
22525
22618
  children: value.slice(
22526
22619
  limitValueTags,
22527
22620
  value.length
22528
- ).map((id) => /* @__PURE__ */ jsx119(
22621
+ ).map((id) => /* @__PURE__ */ jsx120(
22529
22622
  Chip_default,
22530
22623
  {
22531
22624
  label: (renderLabel ?? _renderLabel)(id),
@@ -22545,7 +22638,7 @@ var Autocomplete = function Autocomplete2({
22545
22638
  ))
22546
22639
  }
22547
22640
  ),
22548
- children: /* @__PURE__ */ jsx119(Typography_default, { variant: "body2", children: `+${value.length - limitValueTags}` })
22641
+ children: /* @__PURE__ */ jsx120(Typography_default, { variant: "body2", children: `+${value.length - limitValueTags}` })
22549
22642
  }
22550
22643
  ) : ""
22551
22644
  ]
@@ -22562,7 +22655,7 @@ var Autocomplete = function Autocomplete2({
22562
22655
  spacing: 1,
22563
22656
  children: [
22564
22657
  textFieldProps?.endAdornment,
22565
- !disabled && dirty && showClearButton && /* @__PURE__ */ jsx119(Tooltip_default, { title: t("AUTOCOMPLETE.CLEAR"), children: /* @__PURE__ */ jsx119(
22658
+ !disabled && dirty && showClearButton && /* @__PURE__ */ jsx120(Tooltip_default, { title: t("AUTOCOMPLETE.CLEAR"), children: /* @__PURE__ */ jsx120(
22566
22659
  IconButton_default,
22567
22660
  {
22568
22661
  iconId: "close",
@@ -22585,7 +22678,7 @@ var Autocomplete = function Autocomplete2({
22585
22678
  "data-test": "clear-autocomplete"
22586
22679
  }
22587
22680
  ) }),
22588
- !disabled && dirty && showClearButton && /* @__PURE__ */ jsx119(
22681
+ !disabled && dirty && showClearButton && /* @__PURE__ */ jsx120(
22589
22682
  Divider_default,
22590
22683
  {
22591
22684
  variant: "middle",
@@ -22593,11 +22686,11 @@ var Autocomplete = function Autocomplete2({
22593
22686
  flexItem: true
22594
22687
  }
22595
22688
  ),
22596
- !disabled && variant !== "text" && /* @__PURE__ */ jsx119(
22689
+ !disabled && variant !== "text" && /* @__PURE__ */ jsx120(
22597
22690
  Tooltip_default,
22598
22691
  {
22599
22692
  title: isOpen ? t("AUTOCOMPLETE.COLLAPSE") : t("AUTOCOMPLETE.EXPAND"),
22600
- children: /* @__PURE__ */ jsx119(
22693
+ children: /* @__PURE__ */ jsx120(
22601
22694
  IconButton_default,
22602
22695
  {
22603
22696
  ref: expandSelectButtonRef,
@@ -22619,7 +22712,7 @@ var Autocomplete = function Autocomplete2({
22619
22712
  autoComplete: "off"
22620
22713
  }
22621
22714
  ),
22622
- /* @__PURE__ */ jsx119(
22715
+ /* @__PURE__ */ jsx120(
22623
22716
  ClickAwayListener,
22624
22717
  {
22625
22718
  onClickAway: (event) => {
@@ -22644,13 +22737,13 @@ var Autocomplete = function Autocomplete2({
22644
22737
  }
22645
22738
  },
22646
22739
  mouseEvent: "onMouseDown",
22647
- children: /* @__PURE__ */ jsx119(
22740
+ children: /* @__PURE__ */ jsx120(
22648
22741
  Popper,
22649
22742
  {
22650
22743
  anchorEl: anchorRef.current,
22651
22744
  open: isOpen,
22652
22745
  sx: { zIndex: 3e3 },
22653
- children: /* @__PURE__ */ jsx119(Paper_default, { sx: { boxShadow: shadows[1], borderRadius: "8px" }, children: /* @__PURE__ */ jsxs57(
22746
+ children: /* @__PURE__ */ jsx120(Paper_default, { sx: { boxShadow: shadows[1], borderRadius: "8px" }, children: /* @__PURE__ */ jsxs57(
22654
22747
  Box_default2,
22655
22748
  {
22656
22749
  sx: {
@@ -22662,22 +22755,22 @@ var Autocomplete = function Autocomplete2({
22662
22755
  className: "Slim-Vertical-Scroll",
22663
22756
  ref: listRef,
22664
22757
  children: [
22665
- isLoading && /* @__PURE__ */ jsx119(
22758
+ isLoading && /* @__PURE__ */ jsx120(
22666
22759
  ListItem_default,
22667
22760
  {
22668
22761
  text: loadingText ?? t("AUTOCOMPLETE.LOADING")
22669
22762
  }
22670
22763
  ),
22671
- !isLoading && filteredOptions.length === 0 && /* @__PURE__ */ jsx119(
22764
+ !isLoading && filteredOptions.length === 0 && /* @__PURE__ */ jsx120(
22672
22765
  ListItem_default,
22673
22766
  {
22674
22767
  text: noOptionsText ?? t("AUTOCOMPLETE.NO_OPTIONS")
22675
22768
  }
22676
22769
  ),
22677
- !isLoading && filteredOptions.length > 0 && /* @__PURE__ */ jsx119(AutoSizer5, { children: ({
22770
+ !isLoading && filteredOptions.length > 0 && /* @__PURE__ */ jsx120(AutoSizer5, { children: ({
22678
22771
  height: height2,
22679
22772
  width: width2
22680
- }) => /* @__PURE__ */ jsx119(
22773
+ }) => /* @__PURE__ */ jsx120(
22681
22774
  FixedSizeList3,
22682
22775
  {
22683
22776
  overscanCount: 3,
@@ -22745,7 +22838,7 @@ import CodeMirror, {
22745
22838
  } from "@uiw/react-codemirror";
22746
22839
  import { html } from "@codemirror/lang-html";
22747
22840
  import { linter, lintGutter } from "@codemirror/lint";
22748
- import { jsx as jsx120 } from "react/jsx-runtime";
22841
+ import { jsx as jsx121 } from "react/jsx-runtime";
22749
22842
  var removeFocusOutline = EditorView.baseTheme({
22750
22843
  "&.cm-focused": {
22751
22844
  outline: "none"
@@ -22767,7 +22860,7 @@ var CodeEditor = function CodeEditor2({
22767
22860
  linter(linterOptions?.source || null, linterOptions?.config),
22768
22861
  ...extensions
22769
22862
  ] : extensions;
22770
- return /* @__PURE__ */ jsx120(
22863
+ return /* @__PURE__ */ jsx121(
22771
22864
  CodeMirror,
22772
22865
  {
22773
22866
  ...rest,
@@ -22786,7 +22879,7 @@ var CodeEditor_default = React66.forwardRef(CodeEditor);
22786
22879
 
22787
22880
  // src/components/input/CodeEditorPopup.tsx
22788
22881
  import format from "html-format";
22789
- import { Fragment as Fragment26, jsx as jsx121, jsxs as jsxs58 } from "react/jsx-runtime";
22882
+ import { Fragment as Fragment27, jsx as jsx122, jsxs as jsxs58 } from "react/jsx-runtime";
22790
22883
  var FORMAT_CHARACTERS_LINE = 120;
22791
22884
  var FORMAT_NUMBER_SPACES_INDENTATION = 2;
22792
22885
  var CodeEditorPopup = ({
@@ -22829,8 +22922,8 @@ var CodeEditorPopup = ({
22829
22922
  " ".repeat(FORMAT_NUMBER_SPACES_INDENTATION),
22830
22923
  FORMAT_CHARACTERS_LINE
22831
22924
  );
22832
- return /* @__PURE__ */ jsxs58(Fragment26, { children: [
22833
- readonly && /* @__PURE__ */ jsx121(
22925
+ return /* @__PURE__ */ jsxs58(Fragment27, { children: [
22926
+ readonly && /* @__PURE__ */ jsx122(
22834
22927
  Dialog_default,
22835
22928
  {
22836
22929
  open,
@@ -22849,7 +22942,7 @@ var CodeEditorPopup = ({
22849
22942
  justifyContent: "space-between",
22850
22943
  paddingTop: "20px",
22851
22944
  children: [
22852
- /* @__PURE__ */ jsx121(
22945
+ /* @__PURE__ */ jsx122(
22853
22946
  Box_default2,
22854
22947
  {
22855
22948
  flexGrow: 1,
@@ -22866,7 +22959,7 @@ var CodeEditorPopup = ({
22866
22959
  }
22867
22960
  },
22868
22961
  children: [
22869
- /* @__PURE__ */ jsx121(Box_default2, { flexGrow: 1, minHeight: 0, children: /* @__PURE__ */ jsx121(
22962
+ /* @__PURE__ */ jsx122(Box_default2, { flexGrow: 1, minHeight: 0, children: /* @__PURE__ */ jsx122(
22870
22963
  CodeEditor_default,
22871
22964
  {
22872
22965
  autoFocus: true,
@@ -22895,7 +22988,7 @@ var CodeEditorPopup = ({
22895
22988
  }
22896
22989
  ) }),
22897
22990
  messageNode,
22898
- hasErrors && /* @__PURE__ */ jsx121(Alert_default, { severity: "info", children: t(
22991
+ hasErrors && /* @__PURE__ */ jsx122(Alert_default, { severity: "info", children: t(
22899
22992
  "TEXT_EDITOR.SOURCE_CODE.VALIDATION_ERRORS_FOUND"
22900
22993
  ) })
22901
22994
  ]
@@ -22903,13 +22996,13 @@ var CodeEditorPopup = ({
22903
22996
  )
22904
22997
  }
22905
22998
  ),
22906
- /* @__PURE__ */ jsx121(
22999
+ /* @__PURE__ */ jsx122(
22907
23000
  Box_default2,
22908
23001
  {
22909
23002
  sx: {
22910
23003
  padding: "16px 24px 16px 24px"
22911
23004
  },
22912
- children: /* @__PURE__ */ jsx121(
23005
+ children: /* @__PURE__ */ jsx122(
22913
23006
  Button_default,
22914
23007
  {
22915
23008
  text: t(
@@ -22926,7 +23019,7 @@ var CodeEditorPopup = ({
22926
23019
  )
22927
23020
  }
22928
23021
  ),
22929
- !readonly && /* @__PURE__ */ jsx121(
23022
+ !readonly && /* @__PURE__ */ jsx122(
22930
23023
  ConfirmationDialog_default,
22931
23024
  {
22932
23025
  fullScreen: true,
@@ -22945,7 +23038,7 @@ var CodeEditorPopup = ({
22945
23038
  }
22946
23039
  },
22947
23040
  children: [
22948
- codeEditorSubtitle && /* @__PURE__ */ jsx121(Box_default2, { sx: { marginTop: "4px", marginBottom: "8px" }, children: /* @__PURE__ */ jsx121(
23041
+ codeEditorSubtitle && /* @__PURE__ */ jsx122(Box_default2, { sx: { marginTop: "4px", marginBottom: "8px" }, children: /* @__PURE__ */ jsx122(
22949
23042
  Typography_default,
22950
23043
  {
22951
23044
  variant: "body2",
@@ -22953,7 +23046,7 @@ var CodeEditorPopup = ({
22953
23046
  children: codeEditorSubtitle
22954
23047
  }
22955
23048
  ) }),
22956
- /* @__PURE__ */ jsx121(Box_default2, { flexGrow: 1, minHeight: 0, children: /* @__PURE__ */ jsx121(
23049
+ /* @__PURE__ */ jsx122(Box_default2, { flexGrow: 1, minHeight: 0, children: /* @__PURE__ */ jsx122(
22957
23050
  CodeEditor_default,
22958
23051
  {
22959
23052
  autoFocus: true,
@@ -22982,7 +23075,7 @@ var CodeEditorPopup = ({
22982
23075
  }
22983
23076
  ) }),
22984
23077
  messageNode,
22985
- hasErrors && /* @__PURE__ */ jsx121(Alert_default, { severity: "info", children: t(
23078
+ hasErrors && /* @__PURE__ */ jsx122(Alert_default, { severity: "info", children: t(
22986
23079
  "TEXT_EDITOR.SOURCE_CODE.VALIDATION_ERRORS_FOUND"
22987
23080
  ) })
22988
23081
  ]
@@ -22995,7 +23088,7 @@ var CodeEditorPopup = ({
22995
23088
  var CodeEditorPopup_default = CodeEditorPopup;
22996
23089
 
22997
23090
  // src/components/input/TextEditor.tsx
22998
- import { Fragment as Fragment27, jsx as jsx122, jsxs as jsxs59 } from "react/jsx-runtime";
23091
+ import { Fragment as Fragment28, jsx as jsx123, jsxs as jsxs59 } from "react/jsx-runtime";
22999
23092
  var DEFAULT_TOOLBAR_INSERT_MENU_ITEMS = [
23000
23093
  "link",
23001
23094
  "image",
@@ -23281,8 +23374,8 @@ var TextEditor = function TextEditor2({
23281
23374
  };
23282
23375
  }
23283
23376
  };
23284
- return /* @__PURE__ */ jsxs59(Fragment27, { children: [
23285
- /* @__PURE__ */ jsx122(
23377
+ return /* @__PURE__ */ jsxs59(Fragment28, { children: [
23378
+ /* @__PURE__ */ jsx123(
23286
23379
  Editor,
23287
23380
  {
23288
23381
  id,
@@ -23302,7 +23395,7 @@ var TextEditor = function TextEditor2({
23302
23395
  ...rest
23303
23396
  }
23304
23397
  ),
23305
- /* @__PURE__ */ jsx122(
23398
+ /* @__PURE__ */ jsx123(
23306
23399
  CodeEditorPopup_default,
23307
23400
  {
23308
23401
  value: contentValue,
@@ -23338,7 +23431,7 @@ var TextEditor_default = TextEditor;
23338
23431
 
23339
23432
  // src/components/input/PhoneField.tsx
23340
23433
  import * as React69 from "react";
23341
- import { Fragment as Fragment28, jsx as jsx123, jsxs as jsxs60 } from "react/jsx-runtime";
23434
+ import { Fragment as Fragment29, jsx as jsx124, jsxs as jsxs60 } from "react/jsx-runtime";
23342
23435
  var maxPhoneLengthWithPrefix = 16;
23343
23436
  var PhoneField = React69.forwardRef(function PhoneField2({
23344
23437
  value,
@@ -23401,7 +23494,7 @@ var PhoneField = React69.forwardRef(function PhoneField2({
23401
23494
  setCountryCode(countryCode2);
23402
23495
  setTextValue(phone);
23403
23496
  }, [value]);
23404
- const select = /* @__PURE__ */ jsx123(
23497
+ const select = /* @__PURE__ */ jsx124(
23405
23498
  Select_default,
23406
23499
  {
23407
23500
  className: "Cn-PhoneField-countryCodeSelector",
@@ -23417,13 +23510,13 @@ var PhoneField = React69.forwardRef(function PhoneField2({
23417
23510
  }
23418
23511
  }
23419
23512
  );
23420
- return /* @__PURE__ */ jsx123(
23513
+ return /* @__PURE__ */ jsx124(
23421
23514
  TextField_default,
23422
23515
  {
23423
23516
  groupElements: true,
23424
23517
  ...rest,
23425
23518
  className: `Cn-PhoneField ${className}`,
23426
- startAdornment: /* @__PURE__ */ jsxs60(Fragment28, { children: [
23519
+ startAdornment: /* @__PURE__ */ jsxs60(Fragment29, { children: [
23427
23520
  rest.startAdornment,
23428
23521
  select
23429
23522
  ] }),
@@ -23437,7 +23530,7 @@ var PhoneField_default = PhoneField;
23437
23530
 
23438
23531
  // src/components/input/NumberField.tsx
23439
23532
  import * as React70 from "react";
23440
- import { jsx as jsx124, jsxs as jsxs61 } from "react/jsx-runtime";
23533
+ import { jsx as jsx125, jsxs as jsxs61 } from "react/jsx-runtime";
23441
23534
  var setValueAndTriggerChangeEvent = (r2, value) => {
23442
23535
  const propDescriptor = Object.getOwnPropertyDescriptor(
23443
23536
  window["HTMLInputElement"].prototype,
@@ -23600,12 +23693,12 @@ var NumberField = React70.forwardRef(function NumberField2({
23600
23693
  }
23601
23694
  },
23602
23695
  children: [
23603
- /* @__PURE__ */ jsx124(
23696
+ /* @__PURE__ */ jsx125(
23604
23697
  Tooltip_default,
23605
23698
  {
23606
23699
  title: stepUpDisabledTooltip && stepUpDisabled ? stepUpDisabledTooltip : "",
23607
23700
  allowDisabled: true,
23608
- children: /* @__PURE__ */ jsx124(
23701
+ children: /* @__PURE__ */ jsx125(
23609
23702
  IconButton_default,
23610
23703
  {
23611
23704
  disabled: stepUpDisabled,
@@ -23616,12 +23709,12 @@ var NumberField = React70.forwardRef(function NumberField2({
23616
23709
  )
23617
23710
  }
23618
23711
  ),
23619
- /* @__PURE__ */ jsx124(
23712
+ /* @__PURE__ */ jsx125(
23620
23713
  Tooltip_default,
23621
23714
  {
23622
23715
  title: stepDownDisabledTooltip && stepDownDisabled ? stepDownDisabledTooltip : "",
23623
23716
  allowDisabled: true,
23624
- children: /* @__PURE__ */ jsx124(
23717
+ children: /* @__PURE__ */ jsx125(
23625
23718
  IconButton_default,
23626
23719
  {
23627
23720
  disabled: stepDownDisabled,
@@ -23641,7 +23734,7 @@ var NumberField = React70.forwardRef(function NumberField2({
23641
23734
  setTextValue(numberToString(value));
23642
23735
  }
23643
23736
  }, [numberToString, stringToNumber, textValue, value]);
23644
- return /* @__PURE__ */ jsx124(
23737
+ return /* @__PURE__ */ jsx125(
23645
23738
  TextField_default,
23646
23739
  {
23647
23740
  ...rest,
@@ -23663,7 +23756,7 @@ import { tz as tz8 } from "moment-timezone";
23663
23756
  // src/components/input/DatePickerStatic.tsx
23664
23757
  import * as React71 from "react";
23665
23758
  import { tz as tz7 } from "moment-timezone";
23666
- import { jsx as jsx125, jsxs as jsxs62 } from "react/jsx-runtime";
23759
+ import { jsx as jsx126, jsxs as jsxs62 } from "react/jsx-runtime";
23667
23760
  var minYear = 1900;
23668
23761
  var maxYear = 2100;
23669
23762
  var DatePickerStatic = ({
@@ -23771,7 +23864,7 @@ var DatePickerStatic = ({
23771
23864
  spacing: 2,
23772
23865
  justifyContent: "space-between",
23773
23866
  children: [
23774
- /* @__PURE__ */ jsx125(
23867
+ /* @__PURE__ */ jsx126(
23775
23868
  Select_default,
23776
23869
  {
23777
23870
  value: visibleMonth.year,
@@ -23780,7 +23873,7 @@ var DatePickerStatic = ({
23780
23873
  }
23781
23874
  ),
23782
23875
  /* @__PURE__ */ jsxs62(Stack_default, { direction: "row", spacing: 2, children: [
23783
- /* @__PURE__ */ jsx125(
23876
+ /* @__PURE__ */ jsx126(
23784
23877
  IconButton_default,
23785
23878
  {
23786
23879
  disabled: isDisabledPreviousMonth,
@@ -23788,7 +23881,7 @@ var DatePickerStatic = ({
23788
23881
  onClick: navigatePreviousMonth
23789
23882
  }
23790
23883
  ),
23791
- /* @__PURE__ */ jsx125(
23884
+ /* @__PURE__ */ jsx126(
23792
23885
  IconButton_default,
23793
23886
  {
23794
23887
  disabled: isDisabledNextMonth,
@@ -23800,8 +23893,8 @@ var DatePickerStatic = ({
23800
23893
  ]
23801
23894
  }
23802
23895
  ),
23803
- /* @__PURE__ */ jsx125(DaysOfWeekRow_default, {}),
23804
- /* @__PURE__ */ jsx125(Box_default2, { sx: { padding: "8px" }, children: /* @__PURE__ */ jsx125(
23896
+ /* @__PURE__ */ jsx126(DaysOfWeekRow_default, {}),
23897
+ /* @__PURE__ */ jsx126(Box_default2, { sx: { padding: "8px" }, children: /* @__PURE__ */ jsx126(
23805
23898
  CalendarMonth_default,
23806
23899
  {
23807
23900
  allowKeyboardNavigation: true,
@@ -23838,14 +23931,14 @@ var DatePickerStatic = ({
23838
23931
  var DatePickerStatic_default = DatePickerStatic;
23839
23932
 
23840
23933
  // src/components/input/DatePickerPopover.tsx
23841
- import { jsx as jsx126 } from "react/jsx-runtime";
23934
+ import { jsx as jsx127 } from "react/jsx-runtime";
23842
23935
  var DatePickerPopover = ({
23843
23936
  value,
23844
23937
  onSelect,
23845
23938
  minDate,
23846
23939
  maxDate,
23847
23940
  ...rest
23848
- }) => /* @__PURE__ */ jsx126(Popover_default, { anchorHorizontalOrigin: "right", horizontalAlign: "right", ...rest, children: /* @__PURE__ */ jsx126(
23941
+ }) => /* @__PURE__ */ jsx127(Popover_default, { anchorHorizontalOrigin: "right", horizontalAlign: "right", ...rest, children: /* @__PURE__ */ jsx127(
23849
23942
  DatePickerStatic_default,
23850
23943
  {
23851
23944
  value,
@@ -23857,7 +23950,7 @@ var DatePickerPopover = ({
23857
23950
  var DatePickerPopover_default = DatePickerPopover;
23858
23951
 
23859
23952
  // src/components/input/DatePicker.tsx
23860
- import { Fragment as Fragment29, jsx as jsx127, jsxs as jsxs63 } from "react/jsx-runtime";
23953
+ import { Fragment as Fragment30, jsx as jsx128, jsxs as jsxs63 } from "react/jsx-runtime";
23861
23954
  var DatePicker = React72.forwardRef(
23862
23955
  function DatePicker2({ value, onChange, onBlur, onKeyDown, minDate, maxDate, ...rest }, ref) {
23863
23956
  const { locale, timezone } = React72.useContext(IntlContext);
@@ -23933,8 +24026,8 @@ var DatePicker = React72.forwardRef(
23933
24026
  const text = value && !isNaN(value.getTime()) ? tz8(value, timezone).format(dateInputFormat) : "";
23934
24027
  setTextValue(text);
23935
24028
  }, [dateInputFormat, timezone, value]);
23936
- return /* @__PURE__ */ jsxs63(Fragment29, { children: [
23937
- /* @__PURE__ */ jsx127(
24029
+ return /* @__PURE__ */ jsxs63(Fragment30, { children: [
24030
+ /* @__PURE__ */ jsx128(
23938
24031
  TextField_default,
23939
24032
  {
23940
24033
  ref,
@@ -23945,7 +24038,7 @@ var DatePicker = React72.forwardRef(
23945
24038
  onChange: onChangeTextField,
23946
24039
  onBlur: onBlurTextField,
23947
24040
  onKeyDown: onKeyDownTextField,
23948
- endAdornment: /* @__PURE__ */ jsx127(
24041
+ endAdornment: /* @__PURE__ */ jsx128(
23949
24042
  IconButton_default,
23950
24043
  {
23951
24044
  "data-testid": "date-picker-open-button",
@@ -23957,7 +24050,7 @@ var DatePicker = React72.forwardRef(
23957
24050
  )
23958
24051
  }
23959
24052
  ),
23960
- /* @__PURE__ */ jsx127(
24053
+ /* @__PURE__ */ jsx128(
23961
24054
  DatePickerPopover_default,
23962
24055
  {
23963
24056
  anchorEl,
@@ -23976,14 +24069,14 @@ var DatePicker_default = DatePicker;
23976
24069
  // src/components/input/Checkbox.tsx
23977
24070
  import MuiCheckbox from "@mui/material/Checkbox";
23978
24071
  import { FormControlLabel, FormGroup } from "@mui/material";
23979
- import { Fragment as Fragment30, jsx as jsx128, jsxs as jsxs64 } from "react/jsx-runtime";
24072
+ import { Fragment as Fragment31, jsx as jsx129, jsxs as jsxs64 } from "react/jsx-runtime";
23980
24073
  var MaterialCheckbox = ({
23981
24074
  checked,
23982
24075
  disabled,
23983
24076
  inputClass,
23984
24077
  indeterminate,
23985
24078
  onChange
23986
- }) => /* @__PURE__ */ jsx128(
24079
+ }) => /* @__PURE__ */ jsx129(
23987
24080
  MuiCheckbox,
23988
24081
  {
23989
24082
  disabled,
@@ -24009,8 +24102,8 @@ var Checkbox = ({
24009
24102
  inputClass,
24010
24103
  onChange,
24011
24104
  tabIndex
24012
- }) => /* @__PURE__ */ jsxs64(Fragment30, { children: [
24013
- !label && /* @__PURE__ */ jsx128(
24105
+ }) => /* @__PURE__ */ jsxs64(Fragment31, { children: [
24106
+ !label && /* @__PURE__ */ jsx129(
24014
24107
  MaterialCheckbox,
24015
24108
  {
24016
24109
  disabled,
@@ -24021,11 +24114,11 @@ var Checkbox = ({
24021
24114
  inputClass
24022
24115
  }
24023
24116
  ),
24024
- label && /* @__PURE__ */ jsx128(FormGroup, { children: /* @__PURE__ */ jsx128(
24117
+ label && /* @__PURE__ */ jsx129(FormGroup, { children: /* @__PURE__ */ jsx129(
24025
24118
  FormControlLabel,
24026
24119
  {
24027
24120
  value: label,
24028
- control: /* @__PURE__ */ jsx128(
24121
+ control: /* @__PURE__ */ jsx129(
24029
24122
  MaterialCheckbox,
24030
24123
  {
24031
24124
  disabled,
@@ -24036,7 +24129,7 @@ var Checkbox = ({
24036
24129
  inputClass
24037
24130
  }
24038
24131
  ),
24039
- label: /* @__PURE__ */ jsx128(Typography_default, { variant: "body2", children: label }),
24132
+ label: /* @__PURE__ */ jsx129(Typography_default, { variant: "body2", children: label }),
24040
24133
  labelPlacement,
24041
24134
  sx: {
24042
24135
  margin: 0,
@@ -24051,7 +24144,7 @@ var Checkbox_default = Checkbox;
24051
24144
  import * as React73 from "react";
24052
24145
  import MuiRadio from "@mui/material/Radio";
24053
24146
  import { FormControlLabel as FormControlLabel2 } from "@mui/material";
24054
- import { Fragment as Fragment31, jsx as jsx129, jsxs as jsxs65 } from "react/jsx-runtime";
24147
+ import { Fragment as Fragment32, jsx as jsx130, jsxs as jsxs65 } from "react/jsx-runtime";
24055
24148
  var Radio = React73.forwardRef(function Radio2({
24056
24149
  label,
24057
24150
  labelPlacement = "end",
@@ -24069,7 +24162,7 @@ var Radio = React73.forwardRef(function Radio2({
24069
24162
  },
24070
24163
  [onChange]
24071
24164
  );
24072
- const radio = /* @__PURE__ */ jsx129(
24165
+ const radio = /* @__PURE__ */ jsx130(
24073
24166
  MuiRadio,
24074
24167
  {
24075
24168
  className: `Cn-Radio ${className}`,
@@ -24088,13 +24181,13 @@ var Radio = React73.forwardRef(function Radio2({
24088
24181
  size: size === "S" ? "small" : "medium"
24089
24182
  }
24090
24183
  );
24091
- return /* @__PURE__ */ jsxs65(Fragment31, { children: [
24184
+ return /* @__PURE__ */ jsxs65(Fragment32, { children: [
24092
24185
  !label && radio,
24093
- label && /* @__PURE__ */ jsx129(
24186
+ label && /* @__PURE__ */ jsx130(
24094
24187
  FormControlLabel2,
24095
24188
  {
24096
24189
  control: radio,
24097
- label: /* @__PURE__ */ jsx129(Typography_default, { variant: "body2", children: label }),
24190
+ label: /* @__PURE__ */ jsx130(Typography_default, { variant: "body2", children: label }),
24098
24191
  labelPlacement,
24099
24192
  sx: {
24100
24193
  margin: 0,
@@ -24108,7 +24201,7 @@ var Radio_default = Radio;
24108
24201
 
24109
24202
  // src/components/input/PageSelector.tsx
24110
24203
  import * as React74 from "react";
24111
- import { jsx as jsx130, jsxs as jsxs66 } from "react/jsx-runtime";
24204
+ import { jsx as jsx131, jsxs as jsxs66 } from "react/jsx-runtime";
24112
24205
  var PageSelector = ({
24113
24206
  currentPage,
24114
24207
  pageSize,
@@ -24135,7 +24228,7 @@ var PageSelector = ({
24135
24228
  justifyContent: "flex-end",
24136
24229
  flexGrow: 1,
24137
24230
  children: [
24138
- text && /* @__PURE__ */ jsx130(Typography_default, { variant: "body2", children: /* @__PURE__ */ jsx130(
24231
+ text && /* @__PURE__ */ jsx131(Typography_default, { variant: "body2", children: /* @__PURE__ */ jsx131(
24139
24232
  "div",
24140
24233
  {
24141
24234
  dangerouslySetInnerHTML: {
@@ -24144,7 +24237,7 @@ var PageSelector = ({
24144
24237
  }
24145
24238
  ) }),
24146
24239
  /* @__PURE__ */ jsxs66(Stack_default, { direction: "row", alignItems: "center", children: [
24147
- /* @__PURE__ */ jsx130(
24240
+ /* @__PURE__ */ jsx131(
24148
24241
  IconButton_default,
24149
24242
  {
24150
24243
  iconId: "chevron-left",
@@ -24152,7 +24245,7 @@ var PageSelector = ({
24152
24245
  disabled: currentPage <= 1
24153
24246
  }
24154
24247
  ),
24155
- /* @__PURE__ */ jsx130(
24248
+ /* @__PURE__ */ jsx131(
24156
24249
  NumberField_default,
24157
24250
  {
24158
24251
  value: currentPage,
@@ -24170,7 +24263,7 @@ var PageSelector = ({
24170
24263
  }
24171
24264
  }
24172
24265
  ),
24173
- /* @__PURE__ */ jsx130(
24266
+ /* @__PURE__ */ jsx131(
24174
24267
  IconButton_default,
24175
24268
  {
24176
24269
  iconId: "chevron-right",
@@ -24190,13 +24283,13 @@ import Fade from "@mui/material/Fade";
24190
24283
 
24191
24284
  // src/components/progress/LinearProgress.tsx
24192
24285
  import MuiLinearProgress from "@mui/material/LinearProgress";
24193
- import { jsx as jsx131 } from "react/jsx-runtime";
24286
+ import { jsx as jsx132 } from "react/jsx-runtime";
24194
24287
  var LinearProgress = ({
24195
24288
  color: color2,
24196
24289
  backgroundColor: backgroundColor2,
24197
24290
  variant = "indeterminate",
24198
24291
  ...rest
24199
- }) => /* @__PURE__ */ jsx131(
24292
+ }) => /* @__PURE__ */ jsx132(
24200
24293
  MuiLinearProgress,
24201
24294
  {
24202
24295
  ...rest,
@@ -24223,7 +24316,7 @@ import * as React75 from "react";
24223
24316
  import MuiCircularProgress from "@mui/material/CircularProgress";
24224
24317
  import Typography3 from "@mui/material/Typography";
24225
24318
  import Box4 from "@mui/material/Box";
24226
- import { jsx as jsx132, jsxs as jsxs67 } from "react/jsx-runtime";
24319
+ import { jsx as jsx133, jsxs as jsxs67 } from "react/jsx-runtime";
24227
24320
  var circularSizes = {
24228
24321
  XS: "20px",
24229
24322
  SM: "24px",
@@ -24262,7 +24355,7 @@ var CircularProgress = ({
24262
24355
  }
24263
24356
  },
24264
24357
  children: [
24265
- gradientColors && /* @__PURE__ */ jsx132("svg", { width: 0, height: 0, children: /* @__PURE__ */ jsx132("defs", { children: /* @__PURE__ */ jsxs67(
24358
+ gradientColors && /* @__PURE__ */ jsx133("svg", { width: 0, height: 0, children: /* @__PURE__ */ jsx133("defs", { children: /* @__PURE__ */ jsxs67(
24266
24359
  "linearGradient",
24267
24360
  {
24268
24361
  id: gradientName.current,
@@ -24271,14 +24364,14 @@ var CircularProgress = ({
24271
24364
  x2: "0%",
24272
24365
  y2: "100%",
24273
24366
  children: [
24274
- /* @__PURE__ */ jsx132(
24367
+ /* @__PURE__ */ jsx133(
24275
24368
  "stop",
24276
24369
  {
24277
24370
  offset: "0%",
24278
24371
  stopColor: gradientColors.startColor
24279
24372
  }
24280
24373
  ),
24281
- /* @__PURE__ */ jsx132(
24374
+ /* @__PURE__ */ jsx133(
24282
24375
  "stop",
24283
24376
  {
24284
24377
  offset: "100%",
@@ -24288,7 +24381,7 @@ var CircularProgress = ({
24288
24381
  ]
24289
24382
  }
24290
24383
  ) }) }),
24291
- showCircularBackground && /* @__PURE__ */ jsx132(
24384
+ showCircularBackground && /* @__PURE__ */ jsx133(
24292
24385
  Box4,
24293
24386
  {
24294
24387
  sx: {
@@ -24301,7 +24394,7 @@ var CircularProgress = ({
24301
24394
  maxHeight: circularSizes[size]
24302
24395
  }
24303
24396
  },
24304
- children: /* @__PURE__ */ jsx132(
24397
+ children: /* @__PURE__ */ jsx133(
24305
24398
  MuiCircularProgress,
24306
24399
  {
24307
24400
  variant: "determinate",
@@ -24313,7 +24406,7 @@ var CircularProgress = ({
24313
24406
  )
24314
24407
  }
24315
24408
  ),
24316
- /* @__PURE__ */ jsx132(
24409
+ /* @__PURE__ */ jsx133(
24317
24410
  MuiCircularProgress,
24318
24411
  {
24319
24412
  variant,
@@ -24342,7 +24435,7 @@ var CircularProgress = ({
24342
24435
  thickness
24343
24436
  }
24344
24437
  ),
24345
- variant !== "indeterminate" && /* @__PURE__ */ jsx132(
24438
+ variant !== "indeterminate" && /* @__PURE__ */ jsx133(
24346
24439
  Box4,
24347
24440
  {
24348
24441
  sx: {
@@ -24357,7 +24450,7 @@ var CircularProgress = ({
24357
24450
  height: circularSizes[size],
24358
24451
  width: circularSizes[size]
24359
24452
  },
24360
- children: typeof label === "string" ? /* @__PURE__ */ jsx132(
24453
+ children: typeof label === "string" ? /* @__PURE__ */ jsx133(
24361
24454
  Typography3,
24362
24455
  {
24363
24456
  variant: typographyVariant,
@@ -24377,7 +24470,7 @@ var CircularProgress_default = CircularProgress;
24377
24470
  // src/components/progress/DonutProgress.tsx
24378
24471
  import Box5 from "@mui/material/Box";
24379
24472
  import { Stack as Stack11 } from "@mui/material";
24380
- import { jsx as jsx133, jsxs as jsxs68 } from "react/jsx-runtime";
24473
+ import { jsx as jsx134, jsxs as jsxs68 } from "react/jsx-runtime";
24381
24474
  var CIRCULAR_PROGRESS_PERCENTAGE = 85;
24382
24475
  var variants2 = {
24383
24476
  empty: {
@@ -24414,8 +24507,8 @@ var DonutProgress = ({
24414
24507
  showPercentageSymbol
24415
24508
  }) => {
24416
24509
  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(
24510
+ /* @__PURE__ */ jsx134(Typography_default, { variant: "h6", component: "div", color: grey800, children: label }),
24511
+ /* @__PURE__ */ jsx134(
24419
24512
  Typography_default,
24420
24513
  {
24421
24514
  variant: "tooltip",
@@ -24434,7 +24527,7 @@ var DonutProgress = ({
24434
24527
  width: "fit-content"
24435
24528
  },
24436
24529
  children: [
24437
- /* @__PURE__ */ jsx133(
24530
+ /* @__PURE__ */ jsx134(
24438
24531
  CircularProgress_default,
24439
24532
  {
24440
24533
  variant: "determinate",
@@ -24450,7 +24543,7 @@ var DonutProgress = ({
24450
24543
  color: variants2[variant].emptyColor
24451
24544
  }
24452
24545
  ),
24453
- /* @__PURE__ */ jsx133(
24546
+ /* @__PURE__ */ jsx134(
24454
24547
  Box5,
24455
24548
  {
24456
24549
  sx: {
@@ -24458,7 +24551,7 @@ var DonutProgress = ({
24458
24551
  top: 0,
24459
24552
  left: 0
24460
24553
  },
24461
- children: /* @__PURE__ */ jsx133(
24554
+ children: /* @__PURE__ */ jsx134(
24462
24555
  CircularProgress_default,
24463
24556
  {
24464
24557
  variant: "determinate",
@@ -24473,7 +24566,7 @@ var DonutProgress = ({
24473
24566
  )
24474
24567
  }
24475
24568
  ),
24476
- variant !== "empty" && labelChip && /* @__PURE__ */ jsx133(
24569
+ variant !== "empty" && labelChip && /* @__PURE__ */ jsx134(
24477
24570
  Box5,
24478
24571
  {
24479
24572
  sx: {
@@ -24490,7 +24583,7 @@ var DonutProgress = ({
24490
24583
  justifyContent: "center",
24491
24584
  boxSizing: "border-box"
24492
24585
  },
24493
- children: /* @__PURE__ */ jsx133(
24586
+ children: /* @__PURE__ */ jsx134(
24494
24587
  Typography_default,
24495
24588
  {
24496
24589
  variant: "tooltip",
@@ -24507,14 +24600,14 @@ var DonutProgress = ({
24507
24600
  var DonutProgress_default = DonutProgress;
24508
24601
 
24509
24602
  // src/components/loader/Loader.tsx
24510
- import { jsx as jsx134 } from "react/jsx-runtime";
24603
+ import { jsx as jsx135 } from "react/jsx-runtime";
24511
24604
  var Loader = ({
24512
24605
  isVisible,
24513
24606
  zIndex = 1e4,
24514
24607
  size,
24515
24608
  hideProgress = false,
24516
24609
  sx
24517
- }) => /* @__PURE__ */ jsx134(Fade, { in: isVisible, children: /* @__PURE__ */ jsx134(
24610
+ }) => /* @__PURE__ */ jsx135(Fade, { in: isVisible, children: /* @__PURE__ */ jsx135(
24518
24611
  Box_default2,
24519
24612
  {
24520
24613
  sx: {
@@ -24530,7 +24623,7 @@ var Loader = ({
24530
24623
  backgroundColor: whiteOpacity32,
24531
24624
  ...sx
24532
24625
  },
24533
- children: !hideProgress && /* @__PURE__ */ jsx134(CircularProgress_default, { size })
24626
+ children: !hideProgress && /* @__PURE__ */ jsx135(CircularProgress_default, { size })
24534
24627
  }
24535
24628
  ) });
24536
24629
  var Loader_default = Loader;
@@ -24543,14 +24636,14 @@ import "katex/dist/katex.min.css";
24543
24636
 
24544
24637
  // src/components/markdown/KatexRenderer.tsx
24545
24638
  import katex from "katex";
24546
- import { jsx as jsx135, jsxs as jsxs69 } from "react/jsx-runtime";
24639
+ import { jsx as jsx136, jsxs as jsxs69 } from "react/jsx-runtime";
24547
24640
  var KatexRenderer = ({ children, block }) => {
24548
24641
  try {
24549
24642
  const html2 = katex.renderToString(children, {
24550
24643
  throwOnError: false,
24551
24644
  displayMode: block
24552
24645
  });
24553
- return /* @__PURE__ */ jsx135("span", { dangerouslySetInnerHTML: { __html: html2 } });
24646
+ return /* @__PURE__ */ jsx136("span", { dangerouslySetInnerHTML: { __html: html2 } });
24554
24647
  } catch (err) {
24555
24648
  return /* @__PURE__ */ jsxs69("pre", { style: { color: "red" }, children: [
24556
24649
  "KaTeX error: $",
@@ -24561,7 +24654,7 @@ var KatexRenderer = ({ children, block }) => {
24561
24654
  var KatexRenderer_default = KatexRenderer;
24562
24655
 
24563
24656
  // src/components/markdown/MarkdownRenderer.tsx
24564
- import { jsx as jsx136 } from "react/jsx-runtime";
24657
+ import { jsx as jsx137 } from "react/jsx-runtime";
24565
24658
  var MarkdownContainer = styled8("div")(
24566
24659
  ({
24567
24660
  color: color2,
@@ -24665,11 +24758,11 @@ var renderWithMath = (text) => {
24665
24758
  const inline = match[2];
24666
24759
  if (block !== void 0) {
24667
24760
  parts.push(
24668
- /* @__PURE__ */ jsx136(KatexRenderer_default, { block: true, children: block.trim() }, start)
24761
+ /* @__PURE__ */ jsx137(KatexRenderer_default, { block: true, children: block.trim() }, start)
24669
24762
  );
24670
24763
  } else if (inline !== void 0) {
24671
24764
  parts.push(
24672
- /* @__PURE__ */ jsx136(KatexRenderer_default, { children: inline.trim() }, start)
24765
+ /* @__PURE__ */ jsx137(KatexRenderer_default, { children: inline.trim() }, start)
24673
24766
  );
24674
24767
  }
24675
24768
  lastIndex = regex.lastIndex;
@@ -24699,11 +24792,11 @@ var CodeOrMath = ({ children, ...props }) => {
24699
24792
  if (m) {
24700
24793
  const expr = m[1] || m[2] || "";
24701
24794
  const isBlock = Boolean(m[1]);
24702
- return /* @__PURE__ */ jsx136(KatexRenderer_default, { block: isBlock, children: expr.trim() });
24795
+ return /* @__PURE__ */ jsx137(KatexRenderer_default, { block: isBlock, children: expr.trim() });
24703
24796
  }
24704
24797
  const maybe = renderWithMath(s);
24705
24798
  const onlyText = maybe.length === 1 && typeof maybe[0] === "string";
24706
- return onlyText ? /* @__PURE__ */ jsx136("code", { ...props, children }) : /* @__PURE__ */ jsx136("span", { children: maybe });
24799
+ return onlyText ? /* @__PURE__ */ jsx137("code", { ...props, children }) : /* @__PURE__ */ jsx137("span", { children: maybe });
24707
24800
  };
24708
24801
  var escapeInlineUnderscores = (s) => s.replace(/(\S)_(\S)/g, "$1\\_$2");
24709
24802
  var MarkdownRenderer = ({
@@ -24713,19 +24806,19 @@ var MarkdownRenderer = ({
24713
24806
  }) => {
24714
24807
  const protectedText = escapeInlineUnderscores(text || "");
24715
24808
  const normalized = normalizeLatexDelimiters(protectedText);
24716
- return /* @__PURE__ */ jsx136(
24809
+ return /* @__PURE__ */ jsx137(
24717
24810
  MarkdownContainer,
24718
24811
  {
24719
24812
  className: `markdown-container ${className || ""}`,
24720
24813
  ...rest,
24721
- children: /* @__PURE__ */ jsx136(
24814
+ children: /* @__PURE__ */ jsx137(
24722
24815
  Markdown,
24723
24816
  {
24724
24817
  options: {
24725
24818
  forceBlock: true,
24726
24819
  overrides: {
24727
24820
  p: {
24728
- component: ({ children, ...props }) => /* @__PURE__ */ jsx136("p", { ...props, children: renderChildrenWithMath(children) })
24821
+ component: ({ children, ...props }) => /* @__PURE__ */ jsx137("p", { ...props, children: renderChildrenWithMath(children) })
24729
24822
  },
24730
24823
  code: { component: CodeOrMath }
24731
24824
  }
@@ -24740,7 +24833,7 @@ var MarkdownRenderer_default = MarkdownRenderer;
24740
24833
 
24741
24834
  // src/components/navbar/Navbar.tsx
24742
24835
  import { Drawer as Drawer2 } from "@mui/material";
24743
- import { Fragment as Fragment32, jsx as jsx137, jsxs as jsxs70 } from "react/jsx-runtime";
24836
+ import { Fragment as Fragment33, jsx as jsx138, jsxs as jsxs70 } from "react/jsx-runtime";
24744
24837
  var Navbar = ({
24745
24838
  topContent,
24746
24839
  bottomContent,
@@ -24748,7 +24841,7 @@ var Navbar = ({
24748
24841
  drawerBottomContent,
24749
24842
  onClose,
24750
24843
  isDrawerOpen = false
24751
- }) => /* @__PURE__ */ jsxs70(Fragment32, { children: [
24844
+ }) => /* @__PURE__ */ jsxs70(Fragment33, { children: [
24752
24845
  /* @__PURE__ */ jsxs70(
24753
24846
  Box_default2,
24754
24847
  {
@@ -24764,8 +24857,8 @@ var Navbar = ({
24764
24857
  },
24765
24858
  className: "Slim-Vertical-Scroll",
24766
24859
  children: [
24767
- /* @__PURE__ */ jsx137(Box_default2, { children: topContent }),
24768
- /* @__PURE__ */ jsx137(Box_default2, { children: bottomContent })
24860
+ /* @__PURE__ */ jsx138(Box_default2, { children: topContent }),
24861
+ /* @__PURE__ */ jsx138(Box_default2, { children: bottomContent })
24769
24862
  ]
24770
24863
  }
24771
24864
  ),
@@ -24792,8 +24885,8 @@ var Navbar = ({
24792
24885
  },
24793
24886
  onClose,
24794
24887
  children: [
24795
- /* @__PURE__ */ jsx137("div", { children: drawerTopContent }),
24796
- /* @__PURE__ */ jsx137("div", { children: drawerBottomContent })
24888
+ /* @__PURE__ */ jsx138("div", { children: drawerTopContent }),
24889
+ /* @__PURE__ */ jsx138("div", { children: drawerBottomContent })
24797
24890
  ]
24798
24891
  }
24799
24892
  )
@@ -24803,7 +24896,7 @@ var Navbar_default = Navbar;
24803
24896
  // src/components/navbar/NavbarButton.tsx
24804
24897
  import * as React77 from "react";
24805
24898
  import { Box as Box6, ButtonBase as ButtonBase2 } from "@mui/material";
24806
- import { jsx as jsx138, jsxs as jsxs71 } from "react/jsx-runtime";
24899
+ import { jsx as jsx139, jsxs as jsxs71 } from "react/jsx-runtime";
24807
24900
  var NavbarButton = React77.forwardRef(
24808
24901
  function NavbarButton2({
24809
24902
  iconId,
@@ -24828,7 +24921,7 @@ var NavbarButton = React77.forwardRef(
24828
24921
  position: "relative"
24829
24922
  },
24830
24923
  children: [
24831
- /* @__PURE__ */ jsx138(
24924
+ /* @__PURE__ */ jsx139(
24832
24925
  Box6,
24833
24926
  {
24834
24927
  sx: {
@@ -24844,7 +24937,7 @@ var NavbarButton = React77.forwardRef(
24844
24937
  }
24845
24938
  }
24846
24939
  ),
24847
- /* @__PURE__ */ jsx138(
24940
+ /* @__PURE__ */ jsx139(
24848
24941
  Box6,
24849
24942
  {
24850
24943
  sx: {
@@ -24877,7 +24970,7 @@ var NavbarButton = React77.forwardRef(
24877
24970
  },
24878
24971
  children: [
24879
24972
  srcUrl ? getButtonContent(
24880
- /* @__PURE__ */ jsx138(
24973
+ /* @__PURE__ */ jsx139(
24881
24974
  Avatar_default,
24882
24975
  {
24883
24976
  className: "NavbarButton-icon",
@@ -24887,7 +24980,7 @@ var NavbarButton = React77.forwardRef(
24887
24980
  }
24888
24981
  )
24889
24982
  ) : getButtonContent(
24890
- /* @__PURE__ */ jsx138(
24983
+ /* @__PURE__ */ jsx139(
24891
24984
  Icon_default,
24892
24985
  {
24893
24986
  id: iconId,
@@ -24903,7 +24996,7 @@ var NavbarButton = React77.forwardRef(
24903
24996
  }
24904
24997
  )
24905
24998
  ),
24906
- badgeIconProps && /* @__PURE__ */ jsx138(
24999
+ badgeIconProps && /* @__PURE__ */ jsx139(
24907
25000
  Icon_default,
24908
25001
  {
24909
25002
  ...badgeIconProps,
@@ -24925,8 +25018,8 @@ var NavbarButton = React77.forwardRef(
24925
25018
  var NavbarButton_default = NavbarButton;
24926
25019
 
24927
25020
  // src/components/navbar/NavbarHeader.tsx
24928
- import { jsx as jsx139 } from "react/jsx-runtime";
24929
- var NavbarHeader = ({ text }) => /* @__PURE__ */ jsx139(
25021
+ import { jsx as jsx140 } from "react/jsx-runtime";
25022
+ var NavbarHeader = ({ text }) => /* @__PURE__ */ jsx140(
24930
25023
  Typography_default,
24931
25024
  {
24932
25025
  sx: {
@@ -24948,10 +25041,10 @@ var NavbarHeader_default = NavbarHeader;
24948
25041
  // src/components/navbar/NavbarLogo.tsx
24949
25042
  import * as React78 from "react";
24950
25043
  import { ButtonBase as ButtonBase3 } from "@mui/material";
24951
- import { jsx as jsx140 } from "react/jsx-runtime";
25044
+ import { jsx as jsx141 } from "react/jsx-runtime";
24952
25045
  var NavbarLogo = React78.forwardRef(
24953
25046
  function NavbarButton3({ src, ...rest }, ref) {
24954
- return /* @__PURE__ */ jsx140(
25047
+ return /* @__PURE__ */ jsx141(
24955
25048
  ButtonBase3,
24956
25049
  {
24957
25050
  ref,
@@ -24962,7 +25055,7 @@ var NavbarLogo = React78.forwardRef(
24962
25055
  borderBottom: `1px solid ${grey200}`,
24963
25056
  boxSizing: "border-box"
24964
25057
  },
24965
- children: /* @__PURE__ */ jsx140("img", { src, width: "32px", height: "32px" })
25058
+ children: /* @__PURE__ */ jsx141("img", { src, width: "32px", height: "32px" })
24966
25059
  }
24967
25060
  );
24968
25061
  }
@@ -24971,7 +25064,7 @@ var NavbarLogo_default = NavbarLogo;
24971
25064
 
24972
25065
  // src/components/overlay/DonutFocusOverlay.tsx
24973
25066
  import * as React79 from "react";
24974
- import { Fragment as Fragment33, jsx as jsx141, jsxs as jsxs72 } from "react/jsx-runtime";
25067
+ import { Fragment as Fragment34, jsx as jsx142, jsxs as jsxs72 } from "react/jsx-runtime";
24975
25068
  var DonutFocusOverlay = ({
24976
25069
  isVisible,
24977
25070
  elementRef,
@@ -25012,8 +25105,8 @@ var DonutFocusOverlay = ({
25012
25105
  const internalTopHalfCircle = `${internalCircleRadius} ${internalCircleRadius} 0 0 1 ${startPointX + donutWidth + internalCircleRadius * 2} ${startPointY}`;
25013
25106
  const externalTopHalfCircle = `${externalCircleRadius} ${externalCircleRadius} 0 0 0 ${startPointX} ${startPointY}`;
25014
25107
  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(
25108
+ return /* @__PURE__ */ jsxs72(Fragment34, { children: [
25109
+ /* @__PURE__ */ jsx142(
25017
25110
  Box_default2,
25018
25111
  {
25019
25112
  sx: {
@@ -25030,7 +25123,7 @@ var DonutFocusOverlay = ({
25030
25123
  }
25031
25124
  }
25032
25125
  ),
25033
- chipLabel && /* @__PURE__ */ jsx141(
25126
+ chipLabel && /* @__PURE__ */ jsx142(
25034
25127
  Chip_default,
25035
25128
  {
25036
25129
  label: chipLabel,
@@ -25057,7 +25150,7 @@ var DonutFocusOverlay = ({
25057
25150
  var DonutFocusOverlay_default = DonutFocusOverlay;
25058
25151
 
25059
25152
  // src/components/pager/Pager.tsx
25060
- import { Fragment as Fragment34, jsx as jsx142, jsxs as jsxs73 } from "react/jsx-runtime";
25153
+ import { Fragment as Fragment35, jsx as jsx143, jsxs as jsxs73 } from "react/jsx-runtime";
25061
25154
  var Pager = ({
25062
25155
  page,
25063
25156
  pageSize,
@@ -25071,10 +25164,10 @@ var Pager = ({
25071
25164
  const to = Math.min(current + pageSize, total);
25072
25165
  const pages = Math.max(Math.ceil(total / pageSize), 1);
25073
25166
  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 });
25167
+ const Label = ({ children }) => /* @__PURE__ */ jsx143(Typography_default, { color: Colors_exports.grey400, sx: { padding: "0 8px" }, children });
25075
25168
  return /* @__PURE__ */ jsxs73(Stack_default, { direction: "row", sx: { alignItems: "center" }, children: [
25076
- /* @__PURE__ */ jsx142(Label, { children: t("PAGER.PAGE") }),
25077
- /* @__PURE__ */ jsx142(
25169
+ /* @__PURE__ */ jsx143(Label, { children: t("PAGER.PAGE") }),
25170
+ /* @__PURE__ */ jsx143(
25078
25171
  Select_default,
25079
25172
  {
25080
25173
  value: page,
@@ -25083,9 +25176,9 @@ var Pager = ({
25083
25176
  sx: { minWidth: 78 }
25084
25177
  }
25085
25178
  ),
25086
- allowedPageSizes && /* @__PURE__ */ jsxs73(Fragment34, { children: [
25087
- /* @__PURE__ */ jsx142(Label, { children: t("PAGER.ROWS_PER_PAGE") }),
25088
- /* @__PURE__ */ jsx142(
25179
+ allowedPageSizes && /* @__PURE__ */ jsxs73(Fragment35, { children: [
25180
+ /* @__PURE__ */ jsx143(Label, { children: t("PAGER.ROWS_PER_PAGE") }),
25181
+ /* @__PURE__ */ jsx143(
25089
25182
  Select_default,
25090
25183
  {
25091
25184
  value: pageSize,
@@ -25108,7 +25201,7 @@ var Pager = ({
25108
25201
  " ",
25109
25202
  total
25110
25203
  ] }),
25111
- /* @__PURE__ */ jsx142(
25204
+ /* @__PURE__ */ jsx143(
25112
25205
  IconButton_default,
25113
25206
  {
25114
25207
  disabled: page <= 1,
@@ -25116,7 +25209,7 @@ var Pager = ({
25116
25209
  onClick: () => onPageChange(page - 1, pageSize)
25117
25210
  }
25118
25211
  ),
25119
- /* @__PURE__ */ jsx142(
25212
+ /* @__PURE__ */ jsx143(
25120
25213
  IconButton_default,
25121
25214
  {
25122
25215
  disabled: page > total / pageSize,
@@ -25131,7 +25224,7 @@ var Pager_default = Pager;
25131
25224
  // src/components/scrollable/HorizontalScrollable.tsx
25132
25225
  import { ButtonBase as ButtonBase4 } from "@mui/material";
25133
25226
  import * as React80 from "react";
25134
- import { jsx as jsx143, jsxs as jsxs74 } from "react/jsx-runtime";
25227
+ import { jsx as jsx144, jsxs as jsxs74 } from "react/jsx-runtime";
25135
25228
  var HorizontalScrollable = ({
25136
25229
  style: style3,
25137
25230
  children,
@@ -25181,7 +25274,7 @@ var HorizontalScrollable = ({
25181
25274
  current.scrollBy(stepDistance, 0);
25182
25275
  };
25183
25276
  return /* @__PURE__ */ jsxs74(Box_default2, { sx: { position: "relative", ...style3 }, children: [
25184
- /* @__PURE__ */ jsx143(
25277
+ /* @__PURE__ */ jsx144(
25185
25278
  ButtonBase4,
25186
25279
  {
25187
25280
  sx: {
@@ -25198,10 +25291,10 @@ var HorizontalScrollable = ({
25198
25291
  ...isLeftArrowHidden && { display: "none" }
25199
25292
  },
25200
25293
  onClick: () => leftScroll(),
25201
- children: /* @__PURE__ */ jsx143(Icon_default, { id: "chevron-left" })
25294
+ children: /* @__PURE__ */ jsx144(Icon_default, { id: "chevron-left" })
25202
25295
  }
25203
25296
  ),
25204
- /* @__PURE__ */ jsx143(
25297
+ /* @__PURE__ */ jsx144(
25205
25298
  Box_default2,
25206
25299
  {
25207
25300
  ref: horizontalContainerRef,
@@ -25220,7 +25313,7 @@ var HorizontalScrollable = ({
25220
25313
  children
25221
25314
  }
25222
25315
  ),
25223
- /* @__PURE__ */ jsx143(
25316
+ /* @__PURE__ */ jsx144(
25224
25317
  ButtonBase4,
25225
25318
  {
25226
25319
  sx: {
@@ -25237,7 +25330,7 @@ var HorizontalScrollable = ({
25237
25330
  ...isRightArrowHidden && { display: "none" }
25238
25331
  },
25239
25332
  onClick: () => rightScroll(),
25240
- children: /* @__PURE__ */ jsx143(Icon_default, { id: "chevron-right" })
25333
+ children: /* @__PURE__ */ jsx144(Icon_default, { id: "chevron-right" })
25241
25334
  }
25242
25335
  )
25243
25336
  ] });
@@ -25246,7 +25339,7 @@ var HorizontalScrollable_default = HorizontalScrollable;
25246
25339
 
25247
25340
  // src/components/scrollable/Carousel.tsx
25248
25341
  import * as React81 from "react";
25249
- import { jsx as jsx144, jsxs as jsxs75 } from "react/jsx-runtime";
25342
+ import { jsx as jsx145, jsxs as jsxs75 } from "react/jsx-runtime";
25250
25343
  var buttonStyles = {
25251
25344
  color: grey800,
25252
25345
  position: "absolute",
@@ -25502,7 +25595,7 @@ function Carousel({
25502
25595
  }
25503
25596
  scrollHorizontal(scrollData, direction);
25504
25597
  };
25505
- return /* @__PURE__ */ jsx144(Box_default2, { ref: rootRef, width: "100%", children: /* @__PURE__ */ jsxs75(
25598
+ return /* @__PURE__ */ jsx145(Box_default2, { ref: rootRef, width: "100%", children: /* @__PURE__ */ jsxs75(
25506
25599
  Box_default2,
25507
25600
  {
25508
25601
  sx: {
@@ -25514,7 +25607,7 @@ function Carousel({
25514
25607
  }
25515
25608
  },
25516
25609
  children: [
25517
- /* @__PURE__ */ jsx144(
25610
+ /* @__PURE__ */ jsx145(
25518
25611
  IconButton_default,
25519
25612
  {
25520
25613
  iconId: "chevron-left",
@@ -25527,7 +25620,7 @@ function Carousel({
25527
25620
  onClick: () => scrollToNext("left")
25528
25621
  }
25529
25622
  ),
25530
- /* @__PURE__ */ jsx144(
25623
+ /* @__PURE__ */ jsx145(
25531
25624
  Box_default2,
25532
25625
  {
25533
25626
  ref: containerRef,
@@ -25540,7 +25633,7 @@ function Carousel({
25540
25633
  "::-webkit-scrollbar": { display: "none" },
25541
25634
  gap: `${gap2}px`
25542
25635
  },
25543
- children: items.map((item, index) => /* @__PURE__ */ jsx144(
25636
+ children: items.map((item, index) => /* @__PURE__ */ jsx145(
25544
25637
  Box_default2,
25545
25638
  {
25546
25639
  sx: {
@@ -25555,7 +25648,7 @@ function Carousel({
25555
25648
  ))
25556
25649
  }
25557
25650
  ),
25558
- /* @__PURE__ */ jsx144(
25651
+ /* @__PURE__ */ jsx145(
25559
25652
  IconButton_default,
25560
25653
  {
25561
25654
  iconId: "chevron-right",
@@ -25578,12 +25671,12 @@ var Carousel_default = Carousel;
25578
25671
  import {
25579
25672
  SnackbarProvider as NotistackSnackbarProvider
25580
25673
  } from "notistack";
25581
- import { jsx as jsx145 } from "react/jsx-runtime";
25674
+ import { jsx as jsx146 } from "react/jsx-runtime";
25582
25675
  var SnackbarProvider = ({
25583
25676
  children,
25584
25677
  maxSnack = 3,
25585
25678
  domRoot
25586
- }) => /* @__PURE__ */ jsx145(
25679
+ }) => /* @__PURE__ */ jsx146(
25587
25680
  NotistackSnackbarProvider,
25588
25681
  {
25589
25682
  maxSnack,
@@ -25604,7 +25697,7 @@ import {
25604
25697
  import * as React82 from "react";
25605
25698
  import { SnackbarContent } from "notistack";
25606
25699
  import { Typography as Typography4 } from "@mui/material";
25607
- import { jsx as jsx146, jsxs as jsxs76 } from "react/jsx-runtime";
25700
+ import { jsx as jsx147, jsxs as jsxs76 } from "react/jsx-runtime";
25608
25701
  var sizeStyles5 = {
25609
25702
  M: {
25610
25703
  width: "344px",
@@ -25647,7 +25740,7 @@ var Snackbar = React82.forwardRef(
25647
25740
  const closeClickHandler = React82.useCallback(() => {
25648
25741
  onCloseClick && onCloseClick(key);
25649
25742
  }, [onCloseClick, key]);
25650
- return /* @__PURE__ */ jsx146(
25743
+ return /* @__PURE__ */ jsx147(
25651
25744
  SnackbarContent,
25652
25745
  {
25653
25746
  ref,
@@ -25672,7 +25765,7 @@ var Snackbar = React82.forwardRef(
25672
25765
  spacing: 2,
25673
25766
  sx: { width: "100%", alignItems: "center" },
25674
25767
  children: [
25675
- withIcon && /* @__PURE__ */ jsx146(
25768
+ withIcon && /* @__PURE__ */ jsx147(
25676
25769
  Box_default2,
25677
25770
  {
25678
25771
  sx: {
@@ -25680,10 +25773,10 @@ var Snackbar = React82.forwardRef(
25680
25773
  flexShrink: 0,
25681
25774
  color: iconColors[severity]
25682
25775
  },
25683
- children: /* @__PURE__ */ jsx146(Icon_default, { id: severityIcons[severity] })
25776
+ children: /* @__PURE__ */ jsx147(Icon_default, { id: severityIcons[severity] })
25684
25777
  }
25685
25778
  ),
25686
- /* @__PURE__ */ jsx146(
25779
+ /* @__PURE__ */ jsx147(
25687
25780
  Typography4,
25688
25781
  {
25689
25782
  variant: "body2",
@@ -25691,7 +25784,7 @@ var Snackbar = React82.forwardRef(
25691
25784
  children: message
25692
25785
  }
25693
25786
  ),
25694
- actionText && /* @__PURE__ */ jsx146(Box_default2, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx146(
25787
+ actionText && /* @__PURE__ */ jsx147(Box_default2, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx147(
25695
25788
  Button_default,
25696
25789
  {
25697
25790
  sx: {
@@ -25706,7 +25799,7 @@ var Snackbar = React82.forwardRef(
25706
25799
  onClick: actionClickHandler
25707
25800
  }
25708
25801
  ) }),
25709
- /* @__PURE__ */ jsx146(Box_default2, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx146(
25802
+ /* @__PURE__ */ jsx147(Box_default2, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx147(
25710
25803
  IconButton_default,
25711
25804
  {
25712
25805
  iconId: "close",
@@ -25731,7 +25824,7 @@ var Snackbar_default = Snackbar;
25731
25824
 
25732
25825
  // src/components/snackbar/enqueueSnackbar.tsx
25733
25826
  import { closeSnackbar as closeSnackbar2 } from "notistack";
25734
- import { jsx as jsx147 } from "react/jsx-runtime";
25827
+ import { jsx as jsx148 } from "react/jsx-runtime";
25735
25828
  var enqueueSnackbar = (message, options = {}) => {
25736
25829
  const {
25737
25830
  persist,
@@ -25747,7 +25840,7 @@ var enqueueSnackbar = (message, options = {}) => {
25747
25840
  autoHideDuration: autoHideDurationMs ?? 1e4,
25748
25841
  persist: persist ?? false,
25749
25842
  content(key, message2) {
25750
- return /* @__PURE__ */ jsx147(
25843
+ return /* @__PURE__ */ jsx148(
25751
25844
  Snackbar_default,
25752
25845
  {
25753
25846
  identifierKey: key,
@@ -25764,18 +25857,18 @@ var enqueueSnackbar = (message, options = {}) => {
25764
25857
 
25765
25858
  // src/components/tab/TabButton.tsx
25766
25859
  import MuiTab from "@mui/material/Tab";
25767
- import { jsx as jsx148 } from "react/jsx-runtime";
25860
+ import { jsx as jsx149 } from "react/jsx-runtime";
25768
25861
  var TabButton = ({
25769
25862
  children,
25770
25863
  disabled = false,
25771
25864
  textAlign = "center",
25772
- marginRight = "24px",
25865
+ marginRight = "0px",
25773
25866
  dataTestId,
25774
25867
  ...rest
25775
- }) => /* @__PURE__ */ jsx148(
25868
+ }) => /* @__PURE__ */ jsx149(
25776
25869
  MuiTab,
25777
25870
  {
25778
- label: /* @__PURE__ */ jsx148(
25871
+ label: /* @__PURE__ */ jsx149(
25779
25872
  "div",
25780
25873
  {
25781
25874
  style: {
@@ -25783,7 +25876,6 @@ var TabButton = ({
25783
25876
  flexDirection: "column",
25784
25877
  alignItems: textAlign === "left" ? "start" : "center",
25785
25878
  width: textAlign === "center" ? "100%" : void 0,
25786
- marginRight: "24px",
25787
25879
  textTransform: "none",
25788
25880
  ...variants["body1-semibold"]
25789
25881
  },
@@ -25794,7 +25886,7 @@ var TabButton = ({
25794
25886
  minHeight: "36px",
25795
25887
  alignItems: "start",
25796
25888
  justifyContent: "center",
25797
- padding: "10px 0",
25889
+ padding: "8px 12px",
25798
25890
  marginRight,
25799
25891
  borderRadius: "8px",
25800
25892
  transition: "background 0.2s",
@@ -25817,7 +25909,7 @@ import MuiTabs from "@mui/material/Tabs";
25817
25909
  // src/components/layout/SwipeableViews.tsx
25818
25910
  import * as React83 from "react";
25819
25911
  import { useEffect as useEffect22, useRef as useRef23, useState as useState32 } from "react";
25820
- import { jsx as jsx149 } from "react/jsx-runtime";
25912
+ import { jsx as jsx150 } from "react/jsx-runtime";
25821
25913
  var styles = {
25822
25914
  container: {
25823
25915
  maxHeight: "100%",
@@ -25892,7 +25984,7 @@ function SwipeableViews({
25892
25984
  }
25893
25985
  }, [index]);
25894
25986
  const hasShowTab = (childIndex) => childIndex === index || childIndex === previousIndex;
25895
- return /* @__PURE__ */ jsx149(
25987
+ return /* @__PURE__ */ jsx150(
25896
25988
  "div",
25897
25989
  {
25898
25990
  ...rootProps,
@@ -25920,7 +26012,7 @@ function SwipeableViews({
25920
26012
  if (React83.isValidElement(child)) {
25921
26013
  mountedChild = !!child.props.keepMounted;
25922
26014
  }
25923
- return /* @__PURE__ */ jsx149(
26015
+ return /* @__PURE__ */ jsx150(
25924
26016
  "div",
25925
26017
  {
25926
26018
  style: Object.assign(
@@ -25945,7 +26037,7 @@ function SwipeableViews({
25945
26037
  }
25946
26038
 
25947
26039
  // src/components/tab/Tabs.tsx
25948
- import { jsx as jsx150, jsxs as jsxs77 } from "react/jsx-runtime";
26040
+ import { jsx as jsx151, jsxs as jsxs77 } from "react/jsx-runtime";
25949
26041
  var Tabs = ({
25950
26042
  tabButtons,
25951
26043
  children,
@@ -25957,7 +26049,8 @@ var Tabs = ({
25957
26049
  scrollbarGutter,
25958
26050
  disableContentScroll = false,
25959
26051
  hideScrollButtons = false,
25960
- hideLineTabs = false
26052
+ hideLineTabs = false,
26053
+ backgroundScrollButtons = Colors_exports.white
25961
26054
  }) => {
25962
26055
  const tabsRef = React84.useRef(null);
25963
26056
  const [value, setValue] = React84.useState(0);
@@ -26057,7 +26150,7 @@ var Tabs = ({
26057
26150
  }
26058
26151
  },
26059
26152
  children: [
26060
- /* @__PURE__ */ jsx150(
26153
+ /* @__PURE__ */ jsx151(
26061
26154
  MuiTabs,
26062
26155
  {
26063
26156
  ref: tabsRef,
@@ -26079,6 +26172,12 @@ var Tabs = ({
26079
26172
  sx: {
26080
26173
  "&.Mui-disabled": {
26081
26174
  display: contained ? "none" : void 0
26175
+ },
26176
+ "&:first-of-type": {
26177
+ background: `linear-gradient(to left, transparent 0%, transparent 5%, ${backgroundScrollButtons} 28%, ${backgroundScrollButtons} 100%);`
26178
+ },
26179
+ "&:last-of-type": {
26180
+ background: `linear-gradient(to right, transparent 0%, transparent 5%, ${backgroundScrollButtons} 28%, ${backgroundScrollButtons} 100%);`
26082
26181
  }
26083
26182
  }
26084
26183
  }
@@ -26090,7 +26189,7 @@ var Tabs = ({
26090
26189
  children: tabButtons
26091
26190
  }
26092
26191
  ),
26093
- /* @__PURE__ */ jsx150(
26192
+ /* @__PURE__ */ jsx151(
26094
26193
  Box_default2,
26095
26194
  {
26096
26195
  sx: {
@@ -26099,7 +26198,7 @@ var Tabs = ({
26099
26198
  height: "100%"
26100
26199
  }
26101
26200
  },
26102
- children: /* @__PURE__ */ jsx150(
26201
+ children: /* @__PURE__ */ jsx151(
26103
26202
  SwipeableViews,
26104
26203
  {
26105
26204
  index: currentTabIndex ?? value,
@@ -26128,8 +26227,8 @@ var Tabs = ({
26128
26227
  var Tabs_default = Tabs;
26129
26228
 
26130
26229
  // src/components/tab/TabContent.tsx
26131
- import { jsx as jsx151 } from "react/jsx-runtime";
26132
- var TabContent = ({ children }) => /* @__PURE__ */ jsx151(
26230
+ import { jsx as jsx152 } from "react/jsx-runtime";
26231
+ var TabContent = ({ children }) => /* @__PURE__ */ jsx152(
26133
26232
  Box_default2,
26134
26233
  {
26135
26234
  sx: {
@@ -26146,8 +26245,8 @@ import {
26146
26245
  TableRow as MuiTableRow,
26147
26246
  TableCell as MuiTableCell
26148
26247
  } from "@mui/material";
26149
- import { jsx as jsx152 } from "react/jsx-runtime";
26150
- var TableDivider = () => /* @__PURE__ */ jsx152(MuiTableRow, { children: /* @__PURE__ */ jsx152(
26248
+ import { jsx as jsx153 } from "react/jsx-runtime";
26249
+ var TableDivider = () => /* @__PURE__ */ jsx153(MuiTableRow, { children: /* @__PURE__ */ jsx153(
26151
26250
  MuiTableCell,
26152
26251
  {
26153
26252
  colSpan: 1e3,
@@ -26160,8 +26259,8 @@ var TableDivider_default = TableDivider;
26160
26259
  import {
26161
26260
  TableSortLabel as MuiTableSortLabel
26162
26261
  } from "@mui/material";
26163
- import { jsx as jsx153 } from "react/jsx-runtime";
26164
- var TableSortLabel = ({ children, ...rest }) => /* @__PURE__ */ jsx153(MuiTableSortLabel, { ...rest, children });
26262
+ import { jsx as jsx154 } from "react/jsx-runtime";
26263
+ var TableSortLabel = ({ children, ...rest }) => /* @__PURE__ */ jsx154(MuiTableSortLabel, { ...rest, children });
26165
26264
  var TableSortLabel_default = TableSortLabel;
26166
26265
 
26167
26266
  // src/components/table/Table.tsx
@@ -26169,21 +26268,21 @@ import {
26169
26268
  TableContainer,
26170
26269
  Table as MuiTable
26171
26270
  } 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 }) });
26271
+ import { jsx as jsx155 } from "react/jsx-runtime";
26272
+ var Table = ({ children, sx, className }) => /* @__PURE__ */ jsx155(TableContainer, { className: "Slim-Horizontal-Scroll", children: /* @__PURE__ */ jsx155(MuiTable, { sx: { backgroundColor: white, ...sx }, className, children }) });
26174
26273
  var Table_default = Table;
26175
26274
 
26176
26275
  // src/components/table/TableBody.tsx
26177
26276
  import { TableBody as MuiTableBody } from "@mui/material";
26178
- import { jsx as jsx155 } from "react/jsx-runtime";
26179
- var TableBody = ({ children }) => /* @__PURE__ */ jsx155(MuiTableBody, { children });
26277
+ import { jsx as jsx156 } from "react/jsx-runtime";
26278
+ var TableBody = ({ children }) => /* @__PURE__ */ jsx156(MuiTableBody, { children });
26180
26279
  var TableBody_default = TableBody;
26181
26280
 
26182
26281
  // src/components/table/TableCell.tsx
26183
26282
  import {
26184
26283
  TableCell as MuiTableCell2
26185
26284
  } from "@mui/material";
26186
- import { jsx as jsx156 } from "react/jsx-runtime";
26285
+ import { jsx as jsx157 } from "react/jsx-runtime";
26187
26286
  var TableCell = ({
26188
26287
  children,
26189
26288
  size = "M",
@@ -26194,7 +26293,7 @@ var TableCell = ({
26194
26293
  onClick,
26195
26294
  noBorder = false,
26196
26295
  ...rest
26197
- }) => /* @__PURE__ */ jsx156(
26296
+ }) => /* @__PURE__ */ jsx157(
26198
26297
  MuiTableCell2,
26199
26298
  {
26200
26299
  ...rest,
@@ -26219,7 +26318,7 @@ var TableCell_default = TableCell;
26219
26318
 
26220
26319
  // src/components/table/TableCellCopy.tsx
26221
26320
  import * as React85 from "react";
26222
- import { jsx as jsx157 } from "react/jsx-runtime";
26321
+ import { jsx as jsx158 } from "react/jsx-runtime";
26223
26322
  var TableCellCopy = ({ text, textToCopy, ...rest }) => {
26224
26323
  const { t } = useTranslation();
26225
26324
  const [isCopied, setIsCopied] = React85.useState(false);
@@ -26237,7 +26336,7 @@ var TableCellCopy = ({ text, textToCopy, ...rest }) => {
26237
26336
  const getIconId = () => !isCopied ? "content-copy" : "check";
26238
26337
  const iconHiddenClass = "icon-hidden";
26239
26338
  const iconCopiedClass = "icon-copied";
26240
- return /* @__PURE__ */ jsx157(TableCell_default, { ...rest, sx: { padding: 0 }, children: /* @__PURE__ */ jsx157(
26339
+ return /* @__PURE__ */ jsx158(TableCell_default, { ...rest, sx: { padding: 0 }, children: /* @__PURE__ */ jsx158(
26241
26340
  Stack_default,
26242
26341
  {
26243
26342
  direction: "row",
@@ -26246,7 +26345,7 @@ var TableCellCopy = ({ text, textToCopy, ...rest }) => {
26246
26345
  onMouseEnter: () => setShowIcon(true),
26247
26346
  onMouseLeave: () => setShowIcon(false),
26248
26347
  onClick: manageButtonClicked,
26249
- children: /* @__PURE__ */ jsx157(Tooltip_default, { title: t(!isCopied ? "COPY" : "COPIED"), children: /* @__PURE__ */ jsx157(
26348
+ children: /* @__PURE__ */ jsx158(Tooltip_default, { title: t(!isCopied ? "COPY" : "COPIED"), children: /* @__PURE__ */ jsx158(
26250
26349
  Button_default,
26251
26350
  {
26252
26351
  className: isCopied ? iconCopiedClass : !showIcon ? iconHiddenClass : "",
@@ -26276,21 +26375,21 @@ var TableCellCopy_default = TableCellCopy;
26276
26375
 
26277
26376
  // src/components/table/TableHead.tsx
26278
26377
  import { TableHead as MuiTableHead } from "@mui/material";
26279
- import { jsx as jsx158 } from "react/jsx-runtime";
26280
- var TableHead = ({ children }) => /* @__PURE__ */ jsx158(MuiTableHead, { children });
26378
+ import { jsx as jsx159 } from "react/jsx-runtime";
26379
+ var TableHead = ({ children }) => /* @__PURE__ */ jsx159(MuiTableHead, { children });
26281
26380
  var TableHead_default = TableHead;
26282
26381
 
26283
26382
  // src/components/table/TableRow.tsx
26284
26383
  import {
26285
26384
  TableRow as MuiTableRow2
26286
26385
  } from "@mui/material";
26287
- import { jsx as jsx159 } from "react/jsx-runtime";
26386
+ import { jsx as jsx160 } from "react/jsx-runtime";
26288
26387
  var TableRow = ({
26289
26388
  children,
26290
26389
  isFollowedByNestedTable = false,
26291
26390
  fadeInLeftAnimation = false,
26292
26391
  sx
26293
- }) => /* @__PURE__ */ jsx159(
26392
+ }) => /* @__PURE__ */ jsx160(
26294
26393
  MuiTableRow2,
26295
26394
  {
26296
26395
  className: `${isFollowedByNestedTable ? "Followed-By-Nested-Table" : ""} ${fadeInLeftAnimation ? "animated fadeInLeft" : ""}`,
@@ -26302,14 +26401,14 @@ var TableRow_default = TableRow;
26302
26401
 
26303
26402
  // src/components/table/NestedTable.tsx
26304
26403
  import { Collapse as Collapse7 } from "@mui/material";
26305
- import { jsx as jsx160 } from "react/jsx-runtime";
26404
+ import { jsx as jsx161 } from "react/jsx-runtime";
26306
26405
  var NestedTable = ({
26307
26406
  colSpan,
26308
26407
  children,
26309
26408
  className = "",
26310
26409
  sx,
26311
26410
  isVisible = true
26312
- }) => /* @__PURE__ */ jsx160(TableRow_default, { children: /* @__PURE__ */ jsx160(
26411
+ }) => /* @__PURE__ */ jsx161(TableRow_default, { children: /* @__PURE__ */ jsx161(
26313
26412
  TableCell_default,
26314
26413
  {
26315
26414
  colSpan,
@@ -26318,14 +26417,14 @@ var NestedTable = ({
26318
26417
  height: "auto",
26319
26418
  ...!isVisible && { borderBottom: "none" }
26320
26419
  },
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 }) }) }) })
26420
+ 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
26421
  }
26323
26422
  ) });
26324
26423
  var NestedTable_default = NestedTable;
26325
26424
 
26326
26425
  // src/components/toolbar/ToolbarBreadcrumb.tsx
26327
- import { jsx as jsx161 } from "react/jsx-runtime";
26328
- var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx161(
26426
+ import { jsx as jsx162 } from "react/jsx-runtime";
26427
+ var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx162(
26329
26428
  Stack_default,
26330
26429
  {
26331
26430
  direction: "row",
@@ -26335,7 +26434,7 @@ var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx161(
26335
26434
  (previous, current, index) => [
26336
26435
  ...previous,
26337
26436
  ...index > 0 ? [
26338
- /* @__PURE__ */ jsx161(
26437
+ /* @__PURE__ */ jsx162(
26339
26438
  Typography_default,
26340
26439
  {
26341
26440
  color: grey500,
@@ -26359,9 +26458,9 @@ var ToolbarBreadcrumb_default = ToolbarBreadcrumb;
26359
26458
  // src/components/toolbar/ToolbarBreadcrumbButton.tsx
26360
26459
  import { ButtonBase as ButtonBase5 } from "@mui/material";
26361
26460
  import * as React86 from "react";
26362
- import { jsx as jsx162 } from "react/jsx-runtime";
26461
+ import { jsx as jsx163 } from "react/jsx-runtime";
26363
26462
  var ToolbarBreadcrumbButton = React86.forwardRef(function ToolbarBreadcrumbButton2({ text, className, ...rest }, ref) {
26364
- return /* @__PURE__ */ jsx162(
26463
+ return /* @__PURE__ */ jsx163(
26365
26464
  ButtonBase5,
26366
26465
  {
26367
26466
  className: `Cn-ToolbarBreadcrumbButton ${className}`,
@@ -26380,14 +26479,14 @@ var ToolbarBreadcrumbButton = React86.forwardRef(function ToolbarBreadcrumbButto
26380
26479
  }
26381
26480
  },
26382
26481
  ...rest,
26383
- children: /* @__PURE__ */ jsx162(Typography_default, { color: "inherit", component: "div", variant: "h6", noWrap: true, children: text })
26482
+ children: /* @__PURE__ */ jsx163(Typography_default, { color: "inherit", component: "div", variant: "h6", noWrap: true, children: text })
26384
26483
  }
26385
26484
  );
26386
26485
  });
26387
26486
  var ToolbarBreadcrumbButton_default = ToolbarBreadcrumbButton;
26388
26487
 
26389
26488
  // src/components/toolbar/Toolbar.tsx
26390
- import { jsx as jsx163, jsxs as jsxs78 } from "react/jsx-runtime";
26489
+ import { jsx as jsx164, jsxs as jsxs78 } from "react/jsx-runtime";
26391
26490
  var Toolbar = ({
26392
26491
  children,
26393
26492
  rightActions,
@@ -26428,7 +26527,7 @@ var Toolbar = ({
26428
26527
  width: "100%"
26429
26528
  },
26430
26529
  children: [
26431
- leftActions && /* @__PURE__ */ jsx163(
26530
+ leftActions && /* @__PURE__ */ jsx164(
26432
26531
  Box_default2,
26433
26532
  {
26434
26533
  className: `Cn-Toolbar-left`,
@@ -26438,7 +26537,7 @@ var Toolbar = ({
26438
26537
  children: leftActions
26439
26538
  }
26440
26539
  ),
26441
- /* @__PURE__ */ jsx163(
26540
+ /* @__PURE__ */ jsx164(
26442
26541
  Box_default2,
26443
26542
  {
26444
26543
  className: `Cn-Toolbar-children`,
@@ -26453,7 +26552,7 @@ var Toolbar = ({
26453
26552
  ]
26454
26553
  }
26455
26554
  ),
26456
- rightActions && /* @__PURE__ */ jsx163(
26555
+ rightActions && /* @__PURE__ */ jsx164(
26457
26556
  Box_default2,
26458
26557
  {
26459
26558
  className: `Cn-Toolbar-right`,
@@ -26474,7 +26573,7 @@ var Toolbar_default = Toolbar;
26474
26573
  // src/components/toolbar/ToolbarTitle.tsx
26475
26574
  import * as React87 from "react";
26476
26575
  import { useState as useState35 } from "react";
26477
- import { jsx as jsx164, jsxs as jsxs79 } from "react/jsx-runtime";
26576
+ import { jsx as jsx165, jsxs as jsxs79 } from "react/jsx-runtime";
26478
26577
  var ToolbarTitle = React87.forwardRef(function ToolbarTitle2({
26479
26578
  title,
26480
26579
  align = "left",
@@ -26484,7 +26583,7 @@ var ToolbarTitle = React87.forwardRef(function ToolbarTitle2({
26484
26583
  }, ref) {
26485
26584
  const textElementRef = React87.useRef(null);
26486
26585
  const [showHoverActions, setShowHoverActions] = useState35(false);
26487
- return /* @__PURE__ */ jsx164(Box_default2, { sx: { maxWidth: "100%" }, children: /* @__PURE__ */ jsx164(
26586
+ return /* @__PURE__ */ jsx165(Box_default2, { sx: { maxWidth: "100%" }, children: /* @__PURE__ */ jsx165(
26488
26587
  TextEllipsisTooltip_default,
26489
26588
  {
26490
26589
  title: title ?? "\xA0",
@@ -26507,7 +26606,7 @@ var ToolbarTitle = React87.forwardRef(function ToolbarTitle2({
26507
26606
  },
26508
26607
  children: [
26509
26608
  title || "\xA0",
26510
- hoverActions && showHoverActions && /* @__PURE__ */ jsx164(
26609
+ hoverActions && showHoverActions && /* @__PURE__ */ jsx165(
26511
26610
  Box_default2,
26512
26611
  {
26513
26612
  sx: {
@@ -26536,13 +26635,13 @@ var Slide_default = Slide;
26536
26635
 
26537
26636
  // src/components/widget/WidgetLegendItem.tsx
26538
26637
  import { ButtonBase as ButtonBase6 } from "@mui/material";
26539
- import { jsx as jsx165, jsxs as jsxs80 } from "react/jsx-runtime";
26638
+ import { jsx as jsx166, jsxs as jsxs80 } from "react/jsx-runtime";
26540
26639
  var WidgetLegendItem = ({
26541
26640
  groupLabel,
26542
26641
  legendDirection = "column",
26543
26642
  items = [],
26544
26643
  onClick
26545
- }) => /* @__PURE__ */ jsx165(
26644
+ }) => /* @__PURE__ */ jsx166(
26546
26645
  ButtonBase6,
26547
26646
  {
26548
26647
  tabIndex: onClick ? 0 : -1,
@@ -26568,7 +26667,7 @@ var WidgetLegendItem = ({
26568
26667
  color: grey800
26569
26668
  },
26570
26669
  children: [
26571
- groupLabel && /* @__PURE__ */ jsx165(
26670
+ groupLabel && /* @__PURE__ */ jsx166(
26572
26671
  Typography_default,
26573
26672
  {
26574
26673
  variant: "overline",
@@ -26600,7 +26699,7 @@ var WidgetLegendItem = ({
26600
26699
  paddingRight: legendDirection === "row" ? "12px" : "inherit"
26601
26700
  },
26602
26701
  children: [
26603
- iconColor && /* @__PURE__ */ jsx165(
26702
+ iconColor && /* @__PURE__ */ jsx166(
26604
26703
  Icon_default,
26605
26704
  {
26606
26705
  id: iconId,
@@ -26611,7 +26710,7 @@ var WidgetLegendItem = ({
26611
26710
  size: iconSize
26612
26711
  }
26613
26712
  ),
26614
- label && /* @__PURE__ */ jsx165(
26713
+ label && /* @__PURE__ */ jsx166(
26615
26714
  Typography_default,
26616
26715
  {
26617
26716
  variant: "caption",
@@ -26620,7 +26719,7 @@ var WidgetLegendItem = ({
26620
26719
  children: label
26621
26720
  }
26622
26721
  ),
26623
- value && /* @__PURE__ */ jsx165(
26722
+ value && /* @__PURE__ */ jsx166(
26624
26723
  Typography_default,
26625
26724
  {
26626
26725
  sx: style3,
@@ -26629,7 +26728,7 @@ var WidgetLegendItem = ({
26629
26728
  children: value
26630
26729
  }
26631
26730
  ),
26632
- incrementLabelValue && /* @__PURE__ */ jsx165(
26731
+ incrementLabelValue && /* @__PURE__ */ jsx166(
26633
26732
  IncrementLabel_default,
26634
26733
  {
26635
26734
  label: incrementLabelValue,
@@ -26655,8 +26754,8 @@ var WidgetLegendItem_default = WidgetLegendItem;
26655
26754
 
26656
26755
  // src/components/widget/Widget.tsx
26657
26756
  import MuiCard2 from "@mui/material/Card";
26658
- import { jsx as jsx166 } from "react/jsx-runtime";
26659
- var Widget = ({ children }) => /* @__PURE__ */ jsx166(
26757
+ import { jsx as jsx167 } from "react/jsx-runtime";
26758
+ var Widget = ({ children }) => /* @__PURE__ */ jsx167(
26660
26759
  MuiCard2,
26661
26760
  {
26662
26761
  variant: "elevation",
@@ -26680,8 +26779,8 @@ var Widget = ({ children }) => /* @__PURE__ */ jsx166(
26680
26779
  var Widget_default = Widget;
26681
26780
 
26682
26781
  // src/components/widget/WidgetActions.tsx
26683
- import { jsx as jsx167 } from "react/jsx-runtime";
26684
- var WidgetActions = ({ children }) => /* @__PURE__ */ jsx167(
26782
+ import { jsx as jsx168 } from "react/jsx-runtime";
26783
+ var WidgetActions = ({ children }) => /* @__PURE__ */ jsx168(
26685
26784
  Box_default2,
26686
26785
  {
26687
26786
  sx: {
@@ -26695,8 +26794,8 @@ var WidgetActions = ({ children }) => /* @__PURE__ */ jsx167(
26695
26794
  var WidgetActions_default = WidgetActions;
26696
26795
 
26697
26796
  // src/components/widget/WidgetTitle.tsx
26698
- import { jsx as jsx168 } from "react/jsx-runtime";
26699
- var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE__ */ jsx168(
26797
+ import { jsx as jsx169 } from "react/jsx-runtime";
26798
+ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE__ */ jsx169(
26700
26799
  Box_default2,
26701
26800
  {
26702
26801
  sx: {
@@ -26706,7 +26805,7 @@ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE
26706
26805
  maxWidth: "100%",
26707
26806
  ...sx
26708
26807
  },
26709
- children: /* @__PURE__ */ jsx168(
26808
+ children: /* @__PURE__ */ jsx169(
26710
26809
  Typography_default,
26711
26810
  {
26712
26811
  variant: "subtitle2",
@@ -26720,12 +26819,12 @@ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE
26720
26819
  }
26721
26820
  )
26722
26821
  }
26723
- ) : /* @__PURE__ */ jsx168("span", {});
26822
+ ) : /* @__PURE__ */ jsx169("span", {});
26724
26823
  var WidgetTitle_default = WidgetTitle;
26725
26824
 
26726
26825
  // src/components/window/MinimizableWindow.tsx
26727
26826
  import * as React88 from "react";
26728
- import { Fragment as Fragment35, jsx as jsx169, jsxs as jsxs81 } from "react/jsx-runtime";
26827
+ import { Fragment as Fragment36, jsx as jsx170, jsxs as jsxs81 } from "react/jsx-runtime";
26729
26828
  var sizes6 = {
26730
26829
  M: 400,
26731
26830
  L: 500,
@@ -26839,8 +26938,8 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26839
26938
  }
26840
26939
  }, 750);
26841
26940
  };
26842
- return /* @__PURE__ */ jsxs81(Fragment35, { children: [
26843
- isDraggingState && /* @__PURE__ */ jsx169(
26941
+ return /* @__PURE__ */ jsxs81(Fragment36, { children: [
26942
+ isDraggingState && /* @__PURE__ */ jsx170(
26844
26943
  Box_default2,
26845
26944
  {
26846
26945
  sx: {
@@ -26856,7 +26955,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26856
26955
  onMouseMove: (ev) => handleMouseMove(ev)
26857
26956
  }
26858
26957
  ),
26859
- /* @__PURE__ */ jsx169(
26958
+ /* @__PURE__ */ jsx170(
26860
26959
  Box_default2,
26861
26960
  {
26862
26961
  ref: overlayRef,
@@ -26898,19 +26997,19 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26898
26997
  onMouseDown: handleMouseDown,
26899
26998
  minHeight: "44px",
26900
26999
  children: [
26901
- /* @__PURE__ */ jsx169(
27000
+ /* @__PURE__ */ jsx170(
26902
27001
  Stack_default,
26903
27002
  {
26904
27003
  direction: "row",
26905
27004
  alignItems: "center",
26906
27005
  onMouseDown: (ev) => ev.stopPropagation(),
26907
- children: showBackButton && (!backButton ? /* @__PURE__ */ jsx169(
27006
+ children: showBackButton && (!backButton ? /* @__PURE__ */ jsx170(
26908
27007
  Tooltip_default,
26909
27008
  {
26910
27009
  title: t("MINIMIZABLE_WINDOW.GO_BACK"),
26911
27010
  zIndex: 999999,
26912
27011
  placement: "top",
26913
- children: /* @__PURE__ */ jsx169(
27012
+ children: /* @__PURE__ */ jsx170(
26914
27013
  IconButton_default,
26915
27014
  {
26916
27015
  size: iconSizes4,
@@ -26923,7 +27022,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26923
27022
  ) : backButton)
26924
27023
  }
26925
27024
  ),
26926
- /* @__PURE__ */ jsx169(
27025
+ /* @__PURE__ */ jsx170(
26927
27026
  Box_default2,
26928
27027
  {
26929
27028
  sx: {
@@ -26931,7 +27030,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26931
27030
  left: "50%",
26932
27031
  transform: "translateX(-50%)"
26933
27032
  },
26934
- children: typeof title === "string" ? /* @__PURE__ */ jsx169(Typography_default, { children: title }) : title
27033
+ children: typeof title === "string" ? /* @__PURE__ */ jsx170(Typography_default, { children: title }) : title
26935
27034
  }
26936
27035
  ),
26937
27036
  /* @__PURE__ */ jsxs81(
@@ -26941,13 +27040,13 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26941
27040
  alignItems: "center",
26942
27041
  onMouseDown: (ev) => ev.stopPropagation(),
26943
27042
  children: [
26944
- /* @__PURE__ */ jsx169(Box_default2, { children: /* @__PURE__ */ jsx169(
27043
+ /* @__PURE__ */ jsx170(Box_default2, { children: /* @__PURE__ */ jsx170(
26945
27044
  Tooltip_default,
26946
27045
  {
26947
27046
  title: t("MINIMIZABLE_WINDOW.MINIMIZE"),
26948
27047
  zIndex: 999999,
26949
27048
  placement: "top",
26950
- children: /* @__PURE__ */ jsx169(
27049
+ children: /* @__PURE__ */ jsx170(
26951
27050
  IconButton_default,
26952
27051
  {
26953
27052
  size: iconSizes4,
@@ -26963,13 +27062,13 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26963
27062
  )
26964
27063
  }
26965
27064
  ) }),
26966
- closeable && /* @__PURE__ */ jsx169(Box_default2, { sx: { padding: "0 8px" }, children: /* @__PURE__ */ jsx169(
27065
+ closeable && /* @__PURE__ */ jsx170(Box_default2, { sx: { padding: "0 8px" }, children: /* @__PURE__ */ jsx170(
26967
27066
  Tooltip_default,
26968
27067
  {
26969
27068
  title: t("MINIMIZABLE_WINDOW.CLOSE"),
26970
27069
  zIndex: 999999,
26971
27070
  placement: "top",
26972
- children: /* @__PURE__ */ jsx169(
27071
+ children: /* @__PURE__ */ jsx170(
26973
27072
  IconButton_default,
26974
27073
  {
26975
27074
  size: iconSizes4,
@@ -26986,7 +27085,7 @@ var MinimizableWindow = React88.forwardRef(function MinimizableWindow2({
26986
27085
  ]
26987
27086
  }
26988
27087
  ),
26989
- /* @__PURE__ */ jsx169(
27088
+ /* @__PURE__ */ jsx170(
26990
27089
  Stack_default,
26991
27090
  {
26992
27091
  sx: {
@@ -27028,6 +27127,10 @@ var useFormatters = () => {
27028
27127
  formatDate: useCallback21(
27029
27128
  (date, format2) => formatDate(date, locale, timezone, format2),
27030
27129
  [locale, timezone]
27130
+ ),
27131
+ formatPhone: useCallback21(
27132
+ (phone, format2) => formatPhone(phone, format2),
27133
+ []
27031
27134
  )
27032
27135
  };
27033
27136
  };
@@ -27136,6 +27239,7 @@ export {
27136
27239
  Paper_default as Paper,
27137
27240
  PercentageFormatter_default as PercentageFormatter,
27138
27241
  PhoneField_default as PhoneField,
27242
+ PhoneFormatter_default as PhoneFormatter,
27139
27243
  Popover_default as Popover,
27140
27244
  PopoverActions_default as PopoverActions,
27141
27245
  Radio_default as Radio,
@@ -27207,6 +27311,7 @@ export {
27207
27311
  formatDate,
27208
27312
  formatNumber,
27209
27313
  formatPercentage,
27314
+ formatPhone,
27210
27315
  getComparisonInterval,
27211
27316
  getCountryCode,
27212
27317
  getDateInputFormatForLocale,