@connectif/ui-components 9.0.6 → 9.1.0

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
@@ -8342,6 +8342,7 @@ var Divider = ({
8342
8342
  variant,
8343
8343
  ...rest,
8344
8344
  sx: {
8345
+ opacity: 1,
8345
8346
  ...sx,
8346
8347
  ...color2 && { borderColor: color2 }
8347
8348
  }
@@ -20082,8 +20083,12 @@ var CalendarMonth = ({
20082
20083
  intersectionColor = white,
20083
20084
  onSelect,
20084
20085
  allowKeyboardNavigation = false,
20085
- focusedDate = null
20086
+ focusedDate = null,
20087
+ todayForegroundColor,
20088
+ hideMonthLabel = false
20086
20089
  }) => {
20090
+ const theme2 = useCustomTheme();
20091
+ const effectiveTodayForegroundColor = todayForegroundColor ?? theme2.palette.primary.main;
20087
20092
  const { timezone } = React54.useContext(IntlContext);
20088
20093
  const firstDayOfMonth = tz2({ year, month, date: 1 }, timezone);
20089
20094
  const dayOfWeek = firstDayOfMonth.day();
@@ -20199,7 +20204,7 @@ var CalendarMonth = ({
20199
20204
  color: fgColor,
20200
20205
  type: "fill"
20201
20206
  } : isToday ? {
20202
- color: primaryPalette.main,
20207
+ color: effectiveTodayForegroundColor,
20203
20208
  type: "stroke"
20204
20209
  } : void 0
20205
20210
  };
@@ -20225,7 +20230,7 @@ var CalendarMonth = ({
20225
20230
  color: s.color,
20226
20231
  type: "fill"
20227
20232
  } : isToday ? {
20228
- color: primaryPalette.main,
20233
+ color: effectiveTodayForegroundColor,
20229
20234
  type: "stroke"
20230
20235
  } : void 0
20231
20236
  };
@@ -20234,10 +20239,10 @@ var CalendarMonth = ({
20234
20239
  return {
20235
20240
  ...disabledPart,
20236
20241
  foregroundHighlight: isFocused ? {
20237
- color: primaryPalette.main,
20242
+ color: theme2.palette.primary.main,
20238
20243
  type: "fill"
20239
20244
  } : isToday ? {
20240
- color: primaryPalette.main,
20245
+ color: effectiveTodayForegroundColor,
20241
20246
  type: "stroke"
20242
20247
  } : void 0
20243
20248
  };
@@ -20249,12 +20254,12 @@ var CalendarMonth = ({
20249
20254
  sx: {
20250
20255
  display: "grid",
20251
20256
  gridTemplateColumns: "repeat(7, 1fr)",
20252
- gridTemplateRows: "repeat(6, 32px)",
20257
+ gridTemplateRows: hideMonthLabel ? "repeat(5, 32px)" : "repeat(6, 32px)",
20253
20258
  height: "100%"
20254
20259
  },
20255
20260
  "data-testid": `calendar-month-${year}-${month}`,
20256
20261
  children: [
20257
- /* @__PURE__ */ jsx107(
20262
+ !hideMonthLabel && /* @__PURE__ */ jsx107(
20258
20263
  Typography_default,
20259
20264
  {
20260
20265
  sx: {
@@ -20274,7 +20279,8 @@ var CalendarMonth = ({
20274
20279
  )
20275
20280
  }
20276
20281
  ),
20277
- isMonthInFullLine && indexOfDay > 0 && /* @__PURE__ */ jsx107("span", { style: { gridColumn: `span ${indexOfDay}` }, children: "\xA0" }),
20282
+ !hideMonthLabel && isMonthInFullLine && indexOfDay > 0 && /* @__PURE__ */ jsx107("span", { style: { gridColumn: `span ${indexOfDay}` }, children: "\xA0" }),
20283
+ hideMonthLabel && indexOfDay > 0 && /* @__PURE__ */ jsx107("span", { style: { gridColumn: `span ${indexOfDay}` }, children: "\xA0" }),
20278
20284
  dayList.map((day) => /* @__PURE__ */ jsx107(
20279
20285
  CalendarDay_default,
20280
20286
  {
@@ -20294,16 +20300,28 @@ var CalendarMonth_default = CalendarMonth;
20294
20300
  // src/components/input/DaysOfWeekRow.tsx
20295
20301
  import * as React55 from "react";
20296
20302
  import { jsx as jsx108 } from "react/jsx-runtime";
20297
- var DaysOfWeekRow = () => {
20303
+ var formatShortLowercaseDay = (day, locale) => day.replace(/[\s.]/g, "").slice(0, 3).toLocaleLowerCase(locale);
20304
+ var DaysOfWeekRow = ({
20305
+ transparentBackground = false,
20306
+ dayLabelFormat = "narrow"
20307
+ }) => {
20308
+ const theme2 = useCustomTheme();
20298
20309
  const { locale, timezone } = React55.useContext(IntlContext);
20299
20310
  const daysOfWeekLong = React55.useMemo(
20300
20311
  () => getWeekDayNamesForLocale(locale, "long", timezone),
20301
20312
  [locale, timezone]
20302
20313
  );
20303
- const daysOfWeek = React55.useMemo(
20314
+ const daysOfWeekNarrow = React55.useMemo(
20304
20315
  () => getWeekDayNamesForLocale(locale, "narrow", timezone),
20305
20316
  [locale, timezone]
20306
20317
  );
20318
+ const daysOfWeekShortLowercase = React55.useMemo(
20319
+ () => getWeekDayNamesForLocale(locale, "short", timezone).map(
20320
+ (day) => formatShortLowercaseDay(day, locale)
20321
+ ),
20322
+ [locale, timezone]
20323
+ );
20324
+ const daysOfWeek = dayLabelFormat === "short-lowercase" ? daysOfWeekShortLowercase : daysOfWeekNarrow;
20307
20325
  return /* @__PURE__ */ jsx108(
20308
20326
  Stack_default,
20309
20327
  {
@@ -20311,12 +20329,16 @@ var DaysOfWeekRow = () => {
20311
20329
  sx: {
20312
20330
  padding: "0 8px",
20313
20331
  height: "32px",
20314
- backgroundColor: grey100,
20332
+ backgroundColor: transparentBackground ? "transparent" : theme2.palette.grey[100],
20315
20333
  alignItems: "center"
20316
20334
  },
20317
20335
  children: daysOfWeek.map((day, index) => /* @__PURE__ */ jsx108(Tooltip_default, { title: daysOfWeekLong[index], children: /* @__PURE__ */ jsx108(
20318
20336
  Typography_default,
20319
20337
  {
20338
+ ...dayLabelFormat === "short-lowercase" && {
20339
+ variant: "body2",
20340
+ color: theme2.palette.grey[600]
20341
+ },
20320
20342
  sx: {
20321
20343
  flex: "1 1 0",
20322
20344
  textAlign: "center",
@@ -24603,7 +24625,7 @@ var AutocompleteList = function AutocompleteList2({
24603
24625
  anchorEl: inputContainerRef.current,
24604
24626
  open: isOpen,
24605
24627
  sx: { zIndex: 3e3 },
24606
- children: /* @__PURE__ */ jsxs66(
24628
+ children: /* @__PURE__ */ jsx136(
24607
24629
  Paper_default,
24608
24630
  {
24609
24631
  sx: {
@@ -24611,80 +24633,89 @@ var AutocompleteList = function AutocompleteList2({
24611
24633
  borderRadius: "8px",
24612
24634
  width: popoverWidth ?? "auto"
24613
24635
  },
24614
- children: [
24615
- exclusiveOption && /* @__PURE__ */ jsxs66(Fragment34, { children: [
24616
- /* @__PURE__ */ jsx136(
24617
- ListItemButton_default,
24618
- {
24619
- selected: isExclusiveSelected,
24620
- tabIndex: -1,
24621
- role: "option",
24622
- baseSx: {
24623
- color: palette2.grey[900]
24624
- },
24625
- text: exclusiveOption.label,
24626
- onClick: (event) => onAddSelectedValue(
24627
- event,
24628
- exclusiveOption
24629
- ),
24630
- "data-testid": `autocomplete-option-${exclusiveOption.id}`
24631
- }
24632
- ),
24633
- /* @__PURE__ */ jsx136(Divider_default, {})
24634
- ] }),
24635
- (!exclusiveOption || filteredOptions.length > 0 || isLoading) && /* @__PURE__ */ jsxs66(
24636
- Box_default2,
24637
- {
24638
- sx: {
24639
- maxHeight: "40vh",
24640
- height: !isLoading && filteredOptions.length ? filteredOptions.length * 44 : "auto",
24641
- width: "100%",
24642
- borderRadius: "8px"
24643
- },
24644
- className: "Slim-Vertical-Scroll",
24645
- ref: listRef,
24646
- children: [
24647
- isLoading && /* @__PURE__ */ jsx136(
24648
- ListItem_default,
24649
- {
24650
- text: loadingText ?? t("AUTOCOMPLETE.LOADING")
24651
- }
24652
- ),
24653
- !isLoading && filteredOptions.length === 0 && /* @__PURE__ */ jsx136(
24654
- ListItem_default,
24636
+ children: /* @__PURE__ */ jsxs66(
24637
+ Box_default2,
24638
+ {
24639
+ sx: {
24640
+ width: "100%",
24641
+ borderRadius: "8px",
24642
+ overflow: "hidden"
24643
+ },
24644
+ children: [
24645
+ !!exclusiveOption && /* @__PURE__ */ jsxs66(Fragment34, { children: [
24646
+ /* @__PURE__ */ jsx136(
24647
+ ListItemButton_default,
24655
24648
  {
24656
- text: noOptionsText ?? t("AUTOCOMPLETE.NO_OPTIONS")
24649
+ selected: isExclusiveSelected,
24650
+ tabIndex: -1,
24651
+ role: "option",
24652
+ baseSx: {
24653
+ color: palette2.grey[900]
24654
+ },
24655
+ text: exclusiveOption.label,
24656
+ onClick: (event) => onAddSelectedValue(
24657
+ event,
24658
+ exclusiveOption
24659
+ ),
24660
+ "data-testid": `autocomplete-option-${exclusiveOption.id}`
24657
24661
  }
24658
24662
  ),
24659
- !isLoading && filteredOptions.length > 0 && /* @__PURE__ */ jsx136(AutoSizer5, { children: ({
24660
- height: height2,
24661
- width: width2
24662
- }) => /* @__PURE__ */ jsx136(
24663
- FixedSizeList3,
24664
- {
24665
- overscanCount: 3,
24666
- height: height2,
24667
- itemCount: filteredOptions.length,
24668
- itemSize: AUTOCOMPLETE_ITEM_HEIGHT,
24669
- width: width2,
24670
- className: "Slim-Vertical-Scroll",
24671
- ref: virtualListRef,
24672
- initialScrollOffset: getInitialListScroll(
24663
+ /* @__PURE__ */ jsx136(Divider_default, {})
24664
+ ] }),
24665
+ /* @__PURE__ */ jsxs66(
24666
+ Box_default2,
24667
+ {
24668
+ sx: {
24669
+ maxHeight: !exclusiveOption ? "40vh" : "calc(40vh - 44px)",
24670
+ height: !isLoading && filteredOptions.length ? filteredOptions.length * 44 : "auto",
24671
+ width: "100%"
24672
+ },
24673
+ className: "Slim-Vertical-Scroll",
24674
+ ref: listRef,
24675
+ children: [
24676
+ isLoading && /* @__PURE__ */ jsx136(
24677
+ ListItem_default,
24673
24678
  {
24674
- itemHeight: AUTOCOMPLETE_ITEM_HEIGHT,
24675
- containerHeight: listRef.current?.clientHeight ?? 0,
24676
- highlightedIndex,
24677
- selectedIndex,
24678
- totalItems: filteredOptions.length
24679
+ text: loadingText ?? t("AUTOCOMPLETE.LOADING")
24679
24680
  }
24680
24681
  ),
24681
- children: ListItemButtonWrapper
24682
- }
24683
- ) })
24684
- ]
24685
- }
24686
- )
24687
- ]
24682
+ !isLoading && filteredOptions.length === 0 && /* @__PURE__ */ jsx136(
24683
+ ListItem_default,
24684
+ {
24685
+ text: noOptionsText ?? t("AUTOCOMPLETE.NO_OPTIONS")
24686
+ }
24687
+ ),
24688
+ !isLoading && filteredOptions.length > 0 && /* @__PURE__ */ jsx136(AutoSizer5, { children: ({
24689
+ height: height2,
24690
+ width: width2
24691
+ }) => /* @__PURE__ */ jsx136(
24692
+ FixedSizeList3,
24693
+ {
24694
+ overscanCount: 3,
24695
+ height: height2,
24696
+ itemCount: filteredOptions.length,
24697
+ itemSize: AUTOCOMPLETE_ITEM_HEIGHT,
24698
+ width: width2,
24699
+ className: "Slim-Vertical-Scroll",
24700
+ ref: virtualListRef,
24701
+ initialScrollOffset: getInitialListScroll(
24702
+ {
24703
+ itemHeight: AUTOCOMPLETE_ITEM_HEIGHT,
24704
+ containerHeight: listRef.current?.clientHeight ?? 0,
24705
+ highlightedIndex,
24706
+ selectedIndex,
24707
+ totalItems: filteredOptions.length
24708
+ }
24709
+ ),
24710
+ children: ListItemButtonWrapper
24711
+ }
24712
+ ) })
24713
+ ]
24714
+ }
24715
+ )
24716
+ ]
24717
+ }
24718
+ )
24688
24719
  }
24689
24720
  )
24690
24721
  }
@@ -26637,12 +26668,198 @@ var PageSelector = ({
26637
26668
  };
26638
26669
  var PageSelector_default = PageSelector;
26639
26670
 
26671
+ // src/components/input/DateCalendar.tsx
26672
+ import * as React87 from "react";
26673
+ import { tz as tz13 } from "moment-timezone";
26674
+ import { jsx as jsx149, jsxs as jsxs77 } from "react/jsx-runtime";
26675
+ var minYear2 = 1900;
26676
+ var maxYear2 = 2100;
26677
+ var DateCalendar = ({
26678
+ value,
26679
+ onSelect,
26680
+ minDate,
26681
+ maxDate
26682
+ }) => {
26683
+ const { timezone } = React87.useContext(IntlContext);
26684
+ const [selectedDateParts, setSelectedDateParts] = React87.useState(void 0);
26685
+ const [visibleMonth, setVisibleMonth] = React87.useState({
26686
+ year: minYear2,
26687
+ month: 0
26688
+ });
26689
+ React87.useEffect(() => {
26690
+ if (selectedDateParts) {
26691
+ setVisibleMonth({
26692
+ year: selectedDateParts.year,
26693
+ month: selectedDateParts.month
26694
+ });
26695
+ } else {
26696
+ const now = tz13(timezone);
26697
+ setVisibleMonth({
26698
+ year: now.year(),
26699
+ month: now.month()
26700
+ });
26701
+ }
26702
+ }, [selectedDateParts, timezone]);
26703
+ React87.useEffect(() => {
26704
+ if (!value || isNaN(value.getTime())) {
26705
+ setSelectedDateParts(void 0);
26706
+ return;
26707
+ }
26708
+ const valueTz = tz13(value, timezone);
26709
+ const [year, month, day] = [
26710
+ valueTz.year(),
26711
+ valueTz.month(),
26712
+ valueTz.date()
26713
+ ];
26714
+ setVisibleMonth({ year, month });
26715
+ setSelectedDateParts({ year, month, day });
26716
+ }, [timezone, value]);
26717
+ const minSimpleDate = React87.useMemo(
26718
+ () => dateToSimpleDate(minDate, timezone),
26719
+ [minDate, timezone]
26720
+ );
26721
+ const maxSimpleDate = React87.useMemo(
26722
+ () => dateToSimpleDate(maxDate, timezone),
26723
+ [maxDate, timezone]
26724
+ );
26725
+ const startYear = minSimpleDate?.year ?? minYear2;
26726
+ const endYear = maxSimpleDate?.year ?? maxYear2;
26727
+ const startMonth = minSimpleDate?.month ?? 0;
26728
+ const endMonth = maxSimpleDate?.month ?? 11;
26729
+ const navigatePreviousMonth = React87.useCallback(() => {
26730
+ setVisibleMonth((prev) => ({
26731
+ month: prev.month === 0 ? 11 : prev.month - 1,
26732
+ year: prev.month === 0 ? prev.year - 1 : prev.year
26733
+ }));
26734
+ }, []);
26735
+ const navigateNextMonth = React87.useCallback(() => {
26736
+ setVisibleMonth((prev) => ({
26737
+ month: prev.month === 11 ? 0 : prev.month + 1,
26738
+ year: prev.month === 11 ? prev.year + 1 : prev.year
26739
+ }));
26740
+ }, []);
26741
+ const isDisabledPreviousMonth = visibleMonth.year < startYear || visibleMonth.year === startYear && visibleMonth.month <= startMonth;
26742
+ const isDisabledNextMonth = visibleMonth.year > endYear || visibleMonth.year === endYear && visibleMonth.month >= endMonth;
26743
+ const firstDayOfMonth = tz13(
26744
+ { year: visibleMonth.year, month: visibleMonth.month, date: 1 },
26745
+ timezone
26746
+ ).toDate();
26747
+ return /* @__PURE__ */ jsxs77(
26748
+ Stack_default,
26749
+ {
26750
+ sx: {
26751
+ width: `${7 * 32 + 16}px`,
26752
+ maxWidth: "100%",
26753
+ boxSizing: "border-box"
26754
+ },
26755
+ children: [
26756
+ /* @__PURE__ */ jsxs77(
26757
+ Stack_default,
26758
+ {
26759
+ direction: "row",
26760
+ sx: { padding: "8px", alignItems: "center" },
26761
+ justifyContent: "space-between",
26762
+ children: [
26763
+ /* @__PURE__ */ jsx149(
26764
+ IconButton_default,
26765
+ {
26766
+ disabled: isDisabledPreviousMonth,
26767
+ iconId: "chevron-left",
26768
+ size: "L",
26769
+ "data-test": "date-calendar-prev-month",
26770
+ onClick: navigatePreviousMonth
26771
+ }
26772
+ ),
26773
+ /* @__PURE__ */ jsx149(
26774
+ Typography_default,
26775
+ {
26776
+ variant: "body1-semibold",
26777
+ sx: {
26778
+ flex: 1,
26779
+ textAlign: "center",
26780
+ "&::first-letter": {
26781
+ textTransform: "uppercase"
26782
+ }
26783
+ },
26784
+ children: /* @__PURE__ */ jsx149(
26785
+ DateFormatter_default,
26786
+ {
26787
+ date: firstDayOfMonth,
26788
+ format: "yearMonthLongFormat"
26789
+ }
26790
+ )
26791
+ }
26792
+ ),
26793
+ /* @__PURE__ */ jsx149(
26794
+ IconButton_default,
26795
+ {
26796
+ disabled: isDisabledNextMonth,
26797
+ iconId: "chevron-right",
26798
+ size: "L",
26799
+ "data-test": "date-calendar-next-month",
26800
+ onClick: navigateNextMonth
26801
+ }
26802
+ )
26803
+ ]
26804
+ }
26805
+ ),
26806
+ /* @__PURE__ */ jsx149(
26807
+ DaysOfWeekRow_default,
26808
+ {
26809
+ transparentBackground: true,
26810
+ dayLabelFormat: "short-lowercase"
26811
+ }
26812
+ ),
26813
+ /* @__PURE__ */ jsx149(Box_default2, { sx: { padding: "8px" }, children: /* @__PURE__ */ jsx149(
26814
+ CalendarMonth_default,
26815
+ {
26816
+ allowKeyboardNavigation: true,
26817
+ hideMonthLabel: true,
26818
+ todayForegroundColor: gunMetal,
26819
+ minDate: minSimpleDate,
26820
+ maxDate: maxSimpleDate,
26821
+ ...visibleMonth,
26822
+ selections: selectedDateParts ? [
26823
+ {
26824
+ color: primaryMain,
26825
+ endDate: selectedDateParts,
26826
+ startDate: selectedDateParts
26827
+ }
26828
+ ] : [],
26829
+ onSelect: (day) => {
26830
+ const selectedDate = tz13(
26831
+ [
26832
+ visibleMonth.year,
26833
+ visibleMonth.month,
26834
+ day,
26835
+ 0,
26836
+ 0,
26837
+ 0,
26838
+ 0
26839
+ ],
26840
+ timezone
26841
+ ).toDate();
26842
+ setSelectedDateParts({
26843
+ year: visibleMonth.year,
26844
+ month: visibleMonth.month,
26845
+ day
26846
+ });
26847
+ onSelect && onSelect(selectedDate);
26848
+ }
26849
+ }
26850
+ ) })
26851
+ ]
26852
+ }
26853
+ );
26854
+ };
26855
+ var DateCalendar_default = DateCalendar;
26856
+
26640
26857
  // src/components/loader/Loader.tsx
26641
26858
  import Fade from "@mui/material/Fade";
26642
26859
 
26643
26860
  // src/components/progress/LinearProgress.tsx
26644
26861
  import MuiLinearProgress from "@mui/material/LinearProgress";
26645
- import { jsx as jsx149 } from "react/jsx-runtime";
26862
+ import { jsx as jsx150 } from "react/jsx-runtime";
26646
26863
  var LinearProgress = ({
26647
26864
  color: color2,
26648
26865
  backgroundColor: backgroundColor2,
@@ -26650,7 +26867,7 @@ var LinearProgress = ({
26650
26867
  ...rest
26651
26868
  }) => {
26652
26869
  const { palette: palette2 } = useCustomTheme();
26653
- return /* @__PURE__ */ jsx149(
26870
+ return /* @__PURE__ */ jsx150(
26654
26871
  MuiLinearProgress,
26655
26872
  {
26656
26873
  ...rest,
@@ -26667,11 +26884,11 @@ var LinearProgress = ({
26667
26884
  var LinearProgress_default = LinearProgress;
26668
26885
 
26669
26886
  // src/components/progress/CircularProgress.tsx
26670
- import * as React87 from "react";
26887
+ import * as React88 from "react";
26671
26888
  import MuiCircularProgress from "@mui/material/CircularProgress";
26672
26889
  import Typography3 from "@mui/material/Typography";
26673
26890
  import Box4 from "@mui/material/Box";
26674
- import { jsx as jsx150, jsxs as jsxs77 } from "react/jsx-runtime";
26891
+ import { jsx as jsx151, jsxs as jsxs78 } from "react/jsx-runtime";
26675
26892
  var circularSizesPxMap = {
26676
26893
  XS: "20px",
26677
26894
  SM: "24px",
@@ -26693,10 +26910,10 @@ var CircularProgress = ({
26693
26910
  typographyColor = black,
26694
26911
  gradientColors
26695
26912
  }) => {
26696
- const gradientName = React87.useRef(
26913
+ const gradientName = React88.useRef(
26697
26914
  gradientColors ? crypto.randomUUID() : void 0
26698
26915
  );
26699
- return /* @__PURE__ */ jsxs77(
26916
+ return /* @__PURE__ */ jsxs78(
26700
26917
  Box4,
26701
26918
  {
26702
26919
  sx: {
@@ -26710,7 +26927,7 @@ var CircularProgress = ({
26710
26927
  }
26711
26928
  },
26712
26929
  children: [
26713
- gradientColors && /* @__PURE__ */ jsx150("svg", { width: 0, height: 0, children: /* @__PURE__ */ jsx150("defs", { children: /* @__PURE__ */ jsxs77(
26930
+ gradientColors && /* @__PURE__ */ jsx151("svg", { width: 0, height: 0, children: /* @__PURE__ */ jsx151("defs", { children: /* @__PURE__ */ jsxs78(
26714
26931
  "linearGradient",
26715
26932
  {
26716
26933
  id: gradientName.current,
@@ -26719,14 +26936,14 @@ var CircularProgress = ({
26719
26936
  x2: "0%",
26720
26937
  y2: "100%",
26721
26938
  children: [
26722
- /* @__PURE__ */ jsx150(
26939
+ /* @__PURE__ */ jsx151(
26723
26940
  "stop",
26724
26941
  {
26725
26942
  offset: "0%",
26726
26943
  stopColor: gradientColors.startColor
26727
26944
  }
26728
26945
  ),
26729
- /* @__PURE__ */ jsx150(
26946
+ /* @__PURE__ */ jsx151(
26730
26947
  "stop",
26731
26948
  {
26732
26949
  offset: "100%",
@@ -26736,7 +26953,7 @@ var CircularProgress = ({
26736
26953
  ]
26737
26954
  }
26738
26955
  ) }) }),
26739
- showCircularBackground && /* @__PURE__ */ jsx150(
26956
+ showCircularBackground && /* @__PURE__ */ jsx151(
26740
26957
  Box4,
26741
26958
  {
26742
26959
  sx: {
@@ -26749,7 +26966,7 @@ var CircularProgress = ({
26749
26966
  maxHeight: circularSizesPxMap[size]
26750
26967
  }
26751
26968
  },
26752
- children: /* @__PURE__ */ jsx150(
26969
+ children: /* @__PURE__ */ jsx151(
26753
26970
  MuiCircularProgress,
26754
26971
  {
26755
26972
  variant: "determinate",
@@ -26761,7 +26978,7 @@ var CircularProgress = ({
26761
26978
  )
26762
26979
  }
26763
26980
  ),
26764
- /* @__PURE__ */ jsx150(
26981
+ /* @__PURE__ */ jsx151(
26765
26982
  MuiCircularProgress,
26766
26983
  {
26767
26984
  variant,
@@ -26790,7 +27007,7 @@ var CircularProgress = ({
26790
27007
  thickness
26791
27008
  }
26792
27009
  ),
26793
- variant !== "indeterminate" && /* @__PURE__ */ jsx150(
27010
+ variant !== "indeterminate" && /* @__PURE__ */ jsx151(
26794
27011
  Box4,
26795
27012
  {
26796
27013
  sx: {
@@ -26805,7 +27022,7 @@ var CircularProgress = ({
26805
27022
  height: circularSizesPxMap[size],
26806
27023
  width: circularSizesPxMap[size]
26807
27024
  },
26808
- children: typeof label === "string" ? /* @__PURE__ */ jsx150(
27025
+ children: typeof label === "string" ? /* @__PURE__ */ jsx151(
26809
27026
  Typography3,
26810
27027
  {
26811
27028
  variant: typographyVariant,
@@ -26825,7 +27042,7 @@ var CircularProgress_default = CircularProgress;
26825
27042
  // src/components/progress/DonutProgress.tsx
26826
27043
  import Box5 from "@mui/material/Box";
26827
27044
  import { Stack as Stack13 } from "@mui/material";
26828
- import { jsx as jsx151, jsxs as jsxs78 } from "react/jsx-runtime";
27045
+ import { jsx as jsx152, jsxs as jsxs79 } from "react/jsx-runtime";
26829
27046
  var CIRCULAR_PROGRESS_PERCENTAGE = 85;
26830
27047
  var variants2 = {
26831
27048
  empty: {
@@ -26864,9 +27081,9 @@ var DonutProgress = ({
26864
27081
  labelChip,
26865
27082
  showPercentageSymbol
26866
27083
  }) => {
26867
- const getPercentageWithSymbol = () => /* @__PURE__ */ jsxs78(Stack13, { direction: "row", alignItems: "center", position: "relative", children: [
26868
- /* @__PURE__ */ jsx151(Typography_default, { variant: "h6", component: "div", color: grey800, children: label }),
26869
- /* @__PURE__ */ jsx151(
27084
+ const getPercentageWithSymbol = () => /* @__PURE__ */ jsxs79(Stack13, { direction: "row", alignItems: "center", position: "relative", children: [
27085
+ /* @__PURE__ */ jsx152(Typography_default, { variant: "h6", component: "div", color: grey800, children: label }),
27086
+ /* @__PURE__ */ jsx152(
26870
27087
  Typography_default,
26871
27088
  {
26872
27089
  variant: "tooltip",
@@ -26877,7 +27094,7 @@ var DonutProgress = ({
26877
27094
  }
26878
27095
  )
26879
27096
  ] });
26880
- return /* @__PURE__ */ jsxs78(
27097
+ return /* @__PURE__ */ jsxs79(
26881
27098
  Box5,
26882
27099
  {
26883
27100
  sx: {
@@ -26885,7 +27102,7 @@ var DonutProgress = ({
26885
27102
  width: "fit-content"
26886
27103
  },
26887
27104
  children: [
26888
- /* @__PURE__ */ jsx151(
27105
+ /* @__PURE__ */ jsx152(
26889
27106
  CircularProgress_default,
26890
27107
  {
26891
27108
  variant: "determinate",
@@ -26901,7 +27118,7 @@ var DonutProgress = ({
26901
27118
  color: variants2[variant].emptyColor
26902
27119
  }
26903
27120
  ),
26904
- /* @__PURE__ */ jsx151(
27121
+ /* @__PURE__ */ jsx152(
26905
27122
  Box5,
26906
27123
  {
26907
27124
  sx: {
@@ -26909,7 +27126,7 @@ var DonutProgress = ({
26909
27126
  top: 0,
26910
27127
  left: 0
26911
27128
  },
26912
- children: /* @__PURE__ */ jsx151(
27129
+ children: /* @__PURE__ */ jsx152(
26913
27130
  CircularProgress_default,
26914
27131
  {
26915
27132
  variant: "determinate",
@@ -26924,7 +27141,7 @@ var DonutProgress = ({
26924
27141
  )
26925
27142
  }
26926
27143
  ),
26927
- variant !== "empty" && labelChip && /* @__PURE__ */ jsx151(
27144
+ variant !== "empty" && labelChip && /* @__PURE__ */ jsx152(
26928
27145
  Box5,
26929
27146
  {
26930
27147
  sx: {
@@ -26941,7 +27158,7 @@ var DonutProgress = ({
26941
27158
  justifyContent: "center",
26942
27159
  boxSizing: "border-box"
26943
27160
  },
26944
- children: /* @__PURE__ */ jsx151(
27161
+ children: /* @__PURE__ */ jsx152(
26945
27162
  Typography_default,
26946
27163
  {
26947
27164
  variant: "tooltip",
@@ -26958,14 +27175,14 @@ var DonutProgress = ({
26958
27175
  var DonutProgress_default = DonutProgress;
26959
27176
 
26960
27177
  // src/components/loader/Loader.tsx
26961
- import { jsx as jsx152 } from "react/jsx-runtime";
27178
+ import { jsx as jsx153 } from "react/jsx-runtime";
26962
27179
  var Loader = ({
26963
27180
  isVisible,
26964
27181
  zIndex = 1e4,
26965
27182
  size,
26966
27183
  hideProgress = false,
26967
27184
  sx
26968
- }) => /* @__PURE__ */ jsx152(Fade, { in: isVisible, children: /* @__PURE__ */ jsx152(
27185
+ }) => /* @__PURE__ */ jsx153(Fade, { in: isVisible, children: /* @__PURE__ */ jsx153(
26969
27186
  Box_default2,
26970
27187
  {
26971
27188
  sx: {
@@ -26981,29 +27198,29 @@ var Loader = ({
26981
27198
  backgroundColor: whiteOpacity32,
26982
27199
  ...sx
26983
27200
  },
26984
- children: !hideProgress && /* @__PURE__ */ jsx152(CircularProgress_default, { size })
27201
+ children: !hideProgress && /* @__PURE__ */ jsx153(CircularProgress_default, { size })
26985
27202
  }
26986
27203
  ) });
26987
27204
  var Loader_default = Loader;
26988
27205
 
26989
27206
  // src/components/markdown/MarkdownRenderer.tsx
26990
- import React88 from "react";
27207
+ import React89 from "react";
26991
27208
  import Markdown from "markdown-to-jsx";
26992
27209
  import { styled as styled8 } from "@mui/material/styles";
26993
27210
  import "katex/dist/katex.min.css";
26994
27211
 
26995
27212
  // src/components/markdown/KatexRenderer.tsx
26996
27213
  import katex from "katex";
26997
- import { jsx as jsx153, jsxs as jsxs79 } from "react/jsx-runtime";
27214
+ import { jsx as jsx154, jsxs as jsxs80 } from "react/jsx-runtime";
26998
27215
  var KatexRenderer = ({ children, block }) => {
26999
27216
  try {
27000
27217
  const html2 = katex.renderToString(children, {
27001
27218
  throwOnError: false,
27002
27219
  displayMode: block
27003
27220
  });
27004
- return /* @__PURE__ */ jsx153("span", { dangerouslySetInnerHTML: { __html: html2 } });
27221
+ return /* @__PURE__ */ jsx154("span", { dangerouslySetInnerHTML: { __html: html2 } });
27005
27222
  } catch (err) {
27006
- return /* @__PURE__ */ jsxs79("pre", { style: { color: "red" }, children: [
27223
+ return /* @__PURE__ */ jsxs80("pre", { style: { color: "red" }, children: [
27007
27224
  "KaTeX error: $",
27008
27225
  err.message
27009
27226
  ] });
@@ -27012,7 +27229,7 @@ var KatexRenderer = ({ children, block }) => {
27012
27229
  var KatexRenderer_default = KatexRenderer;
27013
27230
 
27014
27231
  // src/components/markdown/MarkdownRenderer.tsx
27015
- import { jsx as jsx154 } from "react/jsx-runtime";
27232
+ import { jsx as jsx155 } from "react/jsx-runtime";
27016
27233
  var MarkdownContainer = styled8("div")(
27017
27234
  ({
27018
27235
  color: color2,
@@ -27116,11 +27333,11 @@ var renderWithMath = (text) => {
27116
27333
  const inline = match[2];
27117
27334
  if (block !== void 0) {
27118
27335
  parts.push(
27119
- /* @__PURE__ */ jsx154(KatexRenderer_default, { block: true, children: block.trim() }, start)
27336
+ /* @__PURE__ */ jsx155(KatexRenderer_default, { block: true, children: block.trim() }, start)
27120
27337
  );
27121
27338
  } else if (inline !== void 0) {
27122
27339
  parts.push(
27123
- /* @__PURE__ */ jsx154(KatexRenderer_default, { children: inline.trim() }, start)
27340
+ /* @__PURE__ */ jsx155(KatexRenderer_default, { children: inline.trim() }, start)
27124
27341
  );
27125
27342
  }
27126
27343
  lastIndex = regex.lastIndex;
@@ -27130,13 +27347,13 @@ var renderWithMath = (text) => {
27130
27347
  }
27131
27348
  return parts;
27132
27349
  };
27133
- var renderChildrenWithMath = (children) => React88.Children.map(children, (child) => {
27350
+ var renderChildrenWithMath = (children) => React89.Children.map(children, (child) => {
27134
27351
  if (typeof child === "string") {
27135
27352
  return renderWithMath(child);
27136
27353
  }
27137
- if (React88.isValidElement(child)) {
27354
+ if (React89.isValidElement(child)) {
27138
27355
  const element = child;
27139
- return React88.cloneElement(element, {
27356
+ return React89.cloneElement(element, {
27140
27357
  ...element.props,
27141
27358
  children: renderChildrenWithMath(element.props.children)
27142
27359
  });
@@ -27151,11 +27368,11 @@ var CodeOrMath = ({ children, ...props }) => {
27151
27368
  if (m) {
27152
27369
  const expr = m[1] || m[2] || "";
27153
27370
  const isBlock = Boolean(m[1]);
27154
- return /* @__PURE__ */ jsx154(KatexRenderer_default, { block: isBlock, children: expr.trim() });
27371
+ return /* @__PURE__ */ jsx155(KatexRenderer_default, { block: isBlock, children: expr.trim() });
27155
27372
  }
27156
27373
  const maybe = renderWithMath(s);
27157
27374
  const onlyText = maybe.length === 1 && typeof maybe[0] === "string";
27158
- return onlyText ? /* @__PURE__ */ jsx154("code", { ...props, children }) : /* @__PURE__ */ jsx154("span", { children: maybe });
27375
+ return onlyText ? /* @__PURE__ */ jsx155("code", { ...props, children }) : /* @__PURE__ */ jsx155("span", { children: maybe });
27159
27376
  };
27160
27377
  var escapeInlineUnderscores = (s) => s.replace(/(\S)_(\S)/g, "$1\\_$2");
27161
27378
  var MarkdownRenderer = ({
@@ -27165,19 +27382,19 @@ var MarkdownRenderer = ({
27165
27382
  }) => {
27166
27383
  const protectedText = escapeInlineUnderscores(text || "");
27167
27384
  const normalized = normalizeLatexDelimiters(protectedText);
27168
- return /* @__PURE__ */ jsx154(
27385
+ return /* @__PURE__ */ jsx155(
27169
27386
  MarkdownContainer,
27170
27387
  {
27171
27388
  className: `markdown-container ${className || ""}`,
27172
27389
  ...rest,
27173
- children: /* @__PURE__ */ jsx154(
27390
+ children: /* @__PURE__ */ jsx155(
27174
27391
  Markdown,
27175
27392
  {
27176
27393
  options: {
27177
27394
  forceBlock: true,
27178
27395
  overrides: {
27179
27396
  p: {
27180
- component: ({ children, ...props }) => /* @__PURE__ */ jsx154("p", { ...props, children: renderChildrenWithMath(children) })
27397
+ component: ({ children, ...props }) => /* @__PURE__ */ jsx155("p", { ...props, children: renderChildrenWithMath(children) })
27181
27398
  },
27182
27399
  code: { component: CodeOrMath }
27183
27400
  }
@@ -27192,7 +27409,7 @@ var MarkdownRenderer_default = MarkdownRenderer;
27192
27409
 
27193
27410
  // src/components/navbar/Navbar.tsx
27194
27411
  import { Drawer as Drawer2 } from "@mui/material";
27195
- import { Fragment as Fragment42, jsx as jsx155, jsxs as jsxs80 } from "react/jsx-runtime";
27412
+ import { Fragment as Fragment42, jsx as jsx156, jsxs as jsxs81 } from "react/jsx-runtime";
27196
27413
  var Navbar = ({
27197
27414
  topContent,
27198
27415
  bottomContent,
@@ -27200,8 +27417,8 @@ var Navbar = ({
27200
27417
  drawerBottomContent,
27201
27418
  onClose,
27202
27419
  isDrawerOpen = false
27203
- }) => /* @__PURE__ */ jsxs80(Fragment42, { children: [
27204
- /* @__PURE__ */ jsxs80(
27420
+ }) => /* @__PURE__ */ jsxs81(Fragment42, { children: [
27421
+ /* @__PURE__ */ jsxs81(
27205
27422
  Box_default2,
27206
27423
  {
27207
27424
  sx: {
@@ -27216,12 +27433,12 @@ var Navbar = ({
27216
27433
  },
27217
27434
  className: "Slim-Vertical-Scroll",
27218
27435
  children: [
27219
- /* @__PURE__ */ jsx155(Box_default2, { children: topContent }),
27220
- /* @__PURE__ */ jsx155(Box_default2, { children: bottomContent })
27436
+ /* @__PURE__ */ jsx156(Box_default2, { children: topContent }),
27437
+ /* @__PURE__ */ jsx156(Box_default2, { children: bottomContent })
27221
27438
  ]
27222
27439
  }
27223
27440
  ),
27224
- /* @__PURE__ */ jsxs80(
27441
+ /* @__PURE__ */ jsxs81(
27225
27442
  Drawer2,
27226
27443
  {
27227
27444
  open: isDrawerOpen,
@@ -27244,8 +27461,8 @@ var Navbar = ({
27244
27461
  },
27245
27462
  onClose,
27246
27463
  children: [
27247
- /* @__PURE__ */ jsx155("div", { children: drawerTopContent }),
27248
- /* @__PURE__ */ jsx155("div", { children: drawerBottomContent })
27464
+ /* @__PURE__ */ jsx156("div", { children: drawerTopContent }),
27465
+ /* @__PURE__ */ jsx156("div", { children: drawerBottomContent })
27249
27466
  ]
27250
27467
  }
27251
27468
  )
@@ -27253,10 +27470,10 @@ var Navbar = ({
27253
27470
  var Navbar_default = Navbar;
27254
27471
 
27255
27472
  // src/components/navbar/NavbarButton.tsx
27256
- import * as React89 from "react";
27473
+ import * as React90 from "react";
27257
27474
  import { Box as Box6, ButtonBase as ButtonBase2 } from "@mui/material";
27258
- import { jsx as jsx156, jsxs as jsxs81 } from "react/jsx-runtime";
27259
- var NavbarButton = React89.forwardRef(
27475
+ import { jsx as jsx157, jsxs as jsxs82 } from "react/jsx-runtime";
27476
+ var NavbarButton = React90.forwardRef(
27260
27477
  function NavbarButton2({
27261
27478
  iconId,
27262
27479
  srcUrl,
@@ -27271,7 +27488,7 @@ var NavbarButton = React89.forwardRef(
27271
27488
  if (!highlighted) {
27272
27489
  return element;
27273
27490
  }
27274
- return /* @__PURE__ */ jsxs81(
27491
+ return /* @__PURE__ */ jsxs82(
27275
27492
  Box6,
27276
27493
  {
27277
27494
  sx: {
@@ -27281,7 +27498,7 @@ var NavbarButton = React89.forwardRef(
27281
27498
  position: "relative"
27282
27499
  },
27283
27500
  children: [
27284
- /* @__PURE__ */ jsx156(
27501
+ /* @__PURE__ */ jsx157(
27285
27502
  Box6,
27286
27503
  {
27287
27504
  sx: {
@@ -27297,7 +27514,7 @@ var NavbarButton = React89.forwardRef(
27297
27514
  }
27298
27515
  }
27299
27516
  ),
27300
- /* @__PURE__ */ jsx156(
27517
+ /* @__PURE__ */ jsx157(
27301
27518
  Box6,
27302
27519
  {
27303
27520
  sx: {
@@ -27312,7 +27529,7 @@ var NavbarButton = React89.forwardRef(
27312
27529
  }
27313
27530
  );
27314
27531
  };
27315
- return /* @__PURE__ */ jsxs81(
27532
+ return /* @__PURE__ */ jsxs82(
27316
27533
  ButtonBase2,
27317
27534
  {
27318
27535
  className: "NavbarButton-root",
@@ -27330,7 +27547,7 @@ var NavbarButton = React89.forwardRef(
27330
27547
  },
27331
27548
  children: [
27332
27549
  srcUrl ? getButtonContent(
27333
- /* @__PURE__ */ jsx156(
27550
+ /* @__PURE__ */ jsx157(
27334
27551
  Avatar_default,
27335
27552
  {
27336
27553
  className: "NavbarButton-icon",
@@ -27340,7 +27557,7 @@ var NavbarButton = React89.forwardRef(
27340
27557
  }
27341
27558
  )
27342
27559
  ) : getButtonContent(
27343
- /* @__PURE__ */ jsx156(
27560
+ /* @__PURE__ */ jsx157(
27344
27561
  Icon_default,
27345
27562
  {
27346
27563
  id: iconId,
@@ -27356,7 +27573,7 @@ var NavbarButton = React89.forwardRef(
27356
27573
  }
27357
27574
  )
27358
27575
  ),
27359
- badgeIconProps && /* @__PURE__ */ jsx156(
27576
+ badgeIconProps && /* @__PURE__ */ jsx157(
27360
27577
  Icon_default,
27361
27578
  {
27362
27579
  ...badgeIconProps,
@@ -27378,8 +27595,8 @@ var NavbarButton = React89.forwardRef(
27378
27595
  var NavbarButton_default = NavbarButton;
27379
27596
 
27380
27597
  // src/components/navbar/NavbarHeader.tsx
27381
- import { jsx as jsx157 } from "react/jsx-runtime";
27382
- var NavbarHeader = ({ text }) => /* @__PURE__ */ jsx157(
27598
+ import { jsx as jsx158 } from "react/jsx-runtime";
27599
+ var NavbarHeader = ({ text }) => /* @__PURE__ */ jsx158(
27383
27600
  Typography_default,
27384
27601
  {
27385
27602
  sx: {
@@ -27399,12 +27616,12 @@ var NavbarHeader = ({ text }) => /* @__PURE__ */ jsx157(
27399
27616
  var NavbarHeader_default = NavbarHeader;
27400
27617
 
27401
27618
  // src/components/navbar/NavbarLogo.tsx
27402
- import * as React90 from "react";
27619
+ import * as React91 from "react";
27403
27620
  import { ButtonBase as ButtonBase3 } from "@mui/material";
27404
- import { jsx as jsx158 } from "react/jsx-runtime";
27405
- var NavbarLogo = React90.forwardRef(
27621
+ import { jsx as jsx159 } from "react/jsx-runtime";
27622
+ var NavbarLogo = React91.forwardRef(
27406
27623
  function NavbarButton3({ src, ...rest }, ref) {
27407
- return /* @__PURE__ */ jsx158(
27624
+ return /* @__PURE__ */ jsx159(
27408
27625
  ButtonBase3,
27409
27626
  {
27410
27627
  ref,
@@ -27415,7 +27632,7 @@ var NavbarLogo = React90.forwardRef(
27415
27632
  borderBottom: `1px solid ${grey200}`,
27416
27633
  boxSizing: "border-box"
27417
27634
  },
27418
- children: /* @__PURE__ */ jsx158("img", { src, width: "32px", height: "32px" })
27635
+ children: /* @__PURE__ */ jsx159("img", { src, width: "32px", height: "32px" })
27419
27636
  }
27420
27637
  );
27421
27638
  }
@@ -27423,8 +27640,8 @@ var NavbarLogo = React90.forwardRef(
27423
27640
  var NavbarLogo_default = NavbarLogo;
27424
27641
 
27425
27642
  // src/components/overlay/DonutFocusOverlay.tsx
27426
- import * as React91 from "react";
27427
- import { Fragment as Fragment43, jsx as jsx159, jsxs as jsxs82 } from "react/jsx-runtime";
27643
+ import * as React92 from "react";
27644
+ import { Fragment as Fragment43, jsx as jsx160, jsxs as jsxs83 } from "react/jsx-runtime";
27428
27645
  var DonutFocusOverlay = ({
27429
27646
  isVisible,
27430
27647
  elementRef,
@@ -27433,8 +27650,8 @@ var DonutFocusOverlay = ({
27433
27650
  chipLabel,
27434
27651
  chipPosition = "right"
27435
27652
  }) => {
27436
- const [clientRect, setClientRect] = React91.useState();
27437
- React91.useEffect(() => {
27653
+ const [clientRect, setClientRect] = React92.useState();
27654
+ React92.useEffect(() => {
27438
27655
  if (!elementRef?.current) {
27439
27656
  setClientRect(void 0);
27440
27657
  return;
@@ -27465,8 +27682,8 @@ var DonutFocusOverlay = ({
27465
27682
  const internalTopHalfCircle = `${internalCircleRadius} ${internalCircleRadius} 0 0 1 ${startPointX + donutWidth + internalCircleRadius * 2} ${startPointY}`;
27466
27683
  const externalTopHalfCircle = `${externalCircleRadius} ${externalCircleRadius} 0 0 0 ${startPointX} ${startPointY}`;
27467
27684
  const path = `path("M ${startPointX} ${startPointY} A ${externalBottomHalfCircle} m ${-donutWidth} 0 A ${internalBottomHalfCircle} A ${internalTopHalfCircle} m ${donutWidth} 0 A ${externalTopHalfCircle} Z")`;
27468
- return /* @__PURE__ */ jsxs82(Fragment43, { children: [
27469
- /* @__PURE__ */ jsx159(
27685
+ return /* @__PURE__ */ jsxs83(Fragment43, { children: [
27686
+ /* @__PURE__ */ jsx160(
27470
27687
  Box_default2,
27471
27688
  {
27472
27689
  sx: {
@@ -27483,7 +27700,7 @@ var DonutFocusOverlay = ({
27483
27700
  }
27484
27701
  }
27485
27702
  ),
27486
- chipLabel && /* @__PURE__ */ jsx159(
27703
+ chipLabel && /* @__PURE__ */ jsx160(
27487
27704
  Chip_default,
27488
27705
  {
27489
27706
  label: chipLabel,
@@ -27510,7 +27727,7 @@ var DonutFocusOverlay = ({
27510
27727
  var DonutFocusOverlay_default = DonutFocusOverlay;
27511
27728
 
27512
27729
  // src/components/pager/Pager.tsx
27513
- import { Fragment as Fragment44, jsx as jsx160, jsxs as jsxs83 } from "react/jsx-runtime";
27730
+ import { Fragment as Fragment44, jsx as jsx161, jsxs as jsxs84 } from "react/jsx-runtime";
27514
27731
  var Pager = ({
27515
27732
  page,
27516
27733
  pageSize,
@@ -27524,10 +27741,10 @@ var Pager = ({
27524
27741
  const to = Math.min(current + pageSize, total);
27525
27742
  const pages = Math.max(Math.ceil(total / pageSize), 1);
27526
27743
  const options = [...Array(pages).keys()].map((i) => ({ value: i + 1 }));
27527
- const Label = ({ children }) => /* @__PURE__ */ jsx160(Typography_default, { color: Colors_exports.grey400, sx: { padding: "0 8px" }, children });
27528
- return /* @__PURE__ */ jsxs83(Stack_default, { direction: "row", sx: { alignItems: "center" }, children: [
27529
- /* @__PURE__ */ jsx160(Label, { children: t("PAGER.PAGE") }),
27530
- /* @__PURE__ */ jsx160(
27744
+ const Label = ({ children }) => /* @__PURE__ */ jsx161(Typography_default, { color: Colors_exports.grey400, sx: { padding: "0 8px" }, children });
27745
+ return /* @__PURE__ */ jsxs84(Stack_default, { direction: "row", sx: { alignItems: "center" }, children: [
27746
+ /* @__PURE__ */ jsx161(Label, { children: t("PAGER.PAGE") }),
27747
+ /* @__PURE__ */ jsx161(
27531
27748
  Select_default,
27532
27749
  {
27533
27750
  value: page,
@@ -27536,9 +27753,9 @@ var Pager = ({
27536
27753
  sx: { minWidth: 78 }
27537
27754
  }
27538
27755
  ),
27539
- allowedPageSizes && /* @__PURE__ */ jsxs83(Fragment44, { children: [
27540
- /* @__PURE__ */ jsx160(Label, { children: t("PAGER.ROWS_PER_PAGE") }),
27541
- /* @__PURE__ */ jsx160(
27756
+ allowedPageSizes && /* @__PURE__ */ jsxs84(Fragment44, { children: [
27757
+ /* @__PURE__ */ jsx161(Label, { children: t("PAGER.ROWS_PER_PAGE") }),
27758
+ /* @__PURE__ */ jsx161(
27542
27759
  Select_default,
27543
27760
  {
27544
27761
  value: pageSize,
@@ -27552,7 +27769,7 @@ var Pager = ({
27552
27769
  }
27553
27770
  )
27554
27771
  ] }),
27555
- /* @__PURE__ */ jsxs83(Label, { children: [
27772
+ /* @__PURE__ */ jsxs84(Label, { children: [
27556
27773
  from,
27557
27774
  " - ",
27558
27775
  to,
@@ -27561,7 +27778,7 @@ var Pager = ({
27561
27778
  " ",
27562
27779
  total
27563
27780
  ] }),
27564
- /* @__PURE__ */ jsx160(
27781
+ /* @__PURE__ */ jsx161(
27565
27782
  IconButton_default,
27566
27783
  {
27567
27784
  disabled: page <= 1,
@@ -27569,7 +27786,7 @@ var Pager = ({
27569
27786
  onClick: () => onPageChange(page - 1, pageSize)
27570
27787
  }
27571
27788
  ),
27572
- /* @__PURE__ */ jsx160(
27789
+ /* @__PURE__ */ jsx161(
27573
27790
  IconButton_default,
27574
27791
  {
27575
27792
  disabled: page > total / pageSize,
@@ -27583,17 +27800,17 @@ var Pager_default = Pager;
27583
27800
 
27584
27801
  // src/components/scrollable/HorizontalScrollable.tsx
27585
27802
  import { ButtonBase as ButtonBase4 } from "@mui/material";
27586
- import * as React92 from "react";
27587
- import { jsx as jsx161, jsxs as jsxs84 } from "react/jsx-runtime";
27803
+ import * as React93 from "react";
27804
+ import { jsx as jsx162, jsxs as jsxs85 } from "react/jsx-runtime";
27588
27805
  var HorizontalScrollable = ({
27589
27806
  style: style3,
27590
27807
  children,
27591
27808
  stepDistance = 200
27592
27809
  }) => {
27593
- const horizontalContainerRef = React92.useRef(null);
27594
- const [isLeftArrowHidden, setLeftArrowHidden] = React92.useState(true);
27595
- const [isRightArrowHidden, setRightArrowHidden] = React92.useState(true);
27596
- React92.useEffect(() => {
27810
+ const horizontalContainerRef = React93.useRef(null);
27811
+ const [isLeftArrowHidden, setLeftArrowHidden] = React93.useState(true);
27812
+ const [isRightArrowHidden, setRightArrowHidden] = React93.useState(true);
27813
+ React93.useEffect(() => {
27597
27814
  if (!horizontalContainerRef.current) {
27598
27815
  return;
27599
27816
  }
@@ -27633,8 +27850,8 @@ var HorizontalScrollable = ({
27633
27850
  );
27634
27851
  current.scrollBy(stepDistance, 0);
27635
27852
  };
27636
- return /* @__PURE__ */ jsxs84(Box_default2, { sx: { position: "relative", ...style3 }, children: [
27637
- /* @__PURE__ */ jsx161(
27853
+ return /* @__PURE__ */ jsxs85(Box_default2, { sx: { position: "relative", ...style3 }, children: [
27854
+ /* @__PURE__ */ jsx162(
27638
27855
  ButtonBase4,
27639
27856
  {
27640
27857
  sx: {
@@ -27651,10 +27868,10 @@ var HorizontalScrollable = ({
27651
27868
  ...isLeftArrowHidden && { display: "none" }
27652
27869
  },
27653
27870
  onClick: () => leftScroll(),
27654
- children: /* @__PURE__ */ jsx161(Icon_default, { id: "chevron-left" })
27871
+ children: /* @__PURE__ */ jsx162(Icon_default, { id: "chevron-left" })
27655
27872
  }
27656
27873
  ),
27657
- /* @__PURE__ */ jsx161(
27874
+ /* @__PURE__ */ jsx162(
27658
27875
  Box_default2,
27659
27876
  {
27660
27877
  ref: horizontalContainerRef,
@@ -27673,7 +27890,7 @@ var HorizontalScrollable = ({
27673
27890
  children
27674
27891
  }
27675
27892
  ),
27676
- /* @__PURE__ */ jsx161(
27893
+ /* @__PURE__ */ jsx162(
27677
27894
  ButtonBase4,
27678
27895
  {
27679
27896
  sx: {
@@ -27690,7 +27907,7 @@ var HorizontalScrollable = ({
27690
27907
  ...isRightArrowHidden && { display: "none" }
27691
27908
  },
27692
27909
  onClick: () => rightScroll(),
27693
- children: /* @__PURE__ */ jsx161(Icon_default, { id: "chevron-right" })
27910
+ children: /* @__PURE__ */ jsx162(Icon_default, { id: "chevron-right" })
27694
27911
  }
27695
27912
  )
27696
27913
  ] });
@@ -27698,8 +27915,8 @@ var HorizontalScrollable = ({
27698
27915
  var HorizontalScrollable_default = HorizontalScrollable;
27699
27916
 
27700
27917
  // src/components/scrollable/Carousel.tsx
27701
- import * as React93 from "react";
27702
- import { jsx as jsx162, jsxs as jsxs85 } from "react/jsx-runtime";
27918
+ import * as React94 from "react";
27919
+ import { jsx as jsx163, jsxs as jsxs86 } from "react/jsx-runtime";
27703
27920
  var buttonStyles = {
27704
27921
  color: grey800,
27705
27922
  position: "absolute",
@@ -27718,23 +27935,23 @@ function Carousel({
27718
27935
  padding: padding2 = 8,
27719
27936
  alignment = "left"
27720
27937
  }) {
27721
- const rootRef = React93.useRef(null);
27722
- const containerRef = React93.useRef(null);
27723
- const previousClientWidth = React93.useRef(null);
27724
- const isScrolling = React93.useRef(false);
27725
- const [isLeftArrowHidden, setLeftArrowHidden] = React93.useState(true);
27726
- const [isRightArrowHidden, setRightArrowHidden] = React93.useState(true);
27727
- const [paddingElement, setPaddingElement] = React93.useState();
27728
- const [visibleCount, setVisibleCount] = React93.useState();
27729
- const showedElementsRef = React93.useRef(void 0);
27730
- const updateArrows = React93.useCallback(() => {
27938
+ const rootRef = React94.useRef(null);
27939
+ const containerRef = React94.useRef(null);
27940
+ const previousClientWidth = React94.useRef(null);
27941
+ const isScrolling = React94.useRef(false);
27942
+ const [isLeftArrowHidden, setLeftArrowHidden] = React94.useState(true);
27943
+ const [isRightArrowHidden, setRightArrowHidden] = React94.useState(true);
27944
+ const [paddingElement, setPaddingElement] = React94.useState();
27945
+ const [visibleCount, setVisibleCount] = React94.useState();
27946
+ const showedElementsRef = React94.useRef(void 0);
27947
+ const updateArrows = React94.useCallback(() => {
27731
27948
  if (!showedElementsRef.current) {
27732
27949
  return;
27733
27950
  }
27734
27951
  setLeftArrowHidden(showedElementsRef.current.start === 0);
27735
27952
  setRightArrowHidden(showedElementsRef.current.end === items.length - 1);
27736
27953
  }, [items.length]);
27737
- const getUsableWidth = React93.useCallback(
27954
+ const getUsableWidth = React94.useCallback(
27738
27955
  (el) => {
27739
27956
  let current = el;
27740
27957
  while (current) {
@@ -27748,7 +27965,7 @@ function Carousel({
27748
27965
  },
27749
27966
  []
27750
27967
  );
27751
- const resetCarousel = React93.useCallback(
27968
+ const resetCarousel = React94.useCallback(
27752
27969
  (root, container) => {
27753
27970
  root.style.width = "";
27754
27971
  showedElementsRef.current = void 0;
@@ -27756,7 +27973,7 @@ function Carousel({
27756
27973
  },
27757
27974
  []
27758
27975
  );
27759
- const setMeasures = React93.useCallback(
27976
+ const setMeasures = React94.useCallback(
27760
27977
  (root, container, nextElementsIndex) => {
27761
27978
  const children = Array.from(container.children);
27762
27979
  if (children.length === 0) {
@@ -27785,7 +28002,7 @@ function Carousel({
27785
28002
  },
27786
28003
  [alignment, gap2, getUsableWidth, items.length, padding2]
27787
28004
  );
27788
- const updateVisibleCount = React93.useCallback(() => {
28005
+ const updateVisibleCount = React94.useCallback(() => {
27789
28006
  const root = rootRef.current;
27790
28007
  const container = containerRef.current;
27791
28008
  if (!container || !parent) {
@@ -27832,7 +28049,7 @@ function Carousel({
27832
28049
  updateArrows,
27833
28050
  resetCarousel
27834
28051
  ]);
27835
- const getInitialWidth = React93.useCallback(
28052
+ const getInitialWidth = React94.useCallback(
27836
28053
  (el) => {
27837
28054
  let current = el;
27838
28055
  let width2 = 0;
@@ -27850,7 +28067,7 @@ function Carousel({
27850
28067
  },
27851
28068
  []
27852
28069
  );
27853
- const resizeObserverCallback = React93.useCallback(() => {
28070
+ const resizeObserverCallback = React94.useCallback(() => {
27854
28071
  if (!rootRef.current || !containerRef.current) {
27855
28072
  return;
27856
28073
  }
@@ -27861,7 +28078,7 @@ function Carousel({
27861
28078
  previousClientWidth.current = newClientWidth;
27862
28079
  updateVisibleCount();
27863
28080
  }, [getInitialWidth, updateVisibleCount]);
27864
- React93.useEffect(() => {
28081
+ React94.useEffect(() => {
27865
28082
  const container = containerRef.current;
27866
28083
  if (!container) {
27867
28084
  return;
@@ -27951,7 +28168,7 @@ function Carousel({
27951
28168
  }
27952
28169
  scrollHorizontal(scrollData);
27953
28170
  };
27954
- return /* @__PURE__ */ jsx162(Box_default2, { ref: rootRef, width: "100%", children: /* @__PURE__ */ jsxs85(
28171
+ return /* @__PURE__ */ jsx163(Box_default2, { ref: rootRef, width: "100%", children: /* @__PURE__ */ jsxs86(
27955
28172
  Box_default2,
27956
28173
  {
27957
28174
  sx: {
@@ -27963,7 +28180,7 @@ function Carousel({
27963
28180
  }
27964
28181
  },
27965
28182
  children: [
27966
- /* @__PURE__ */ jsx162(
28183
+ /* @__PURE__ */ jsx163(
27967
28184
  IconButton_default,
27968
28185
  {
27969
28186
  iconId: "chevron-left",
@@ -27976,7 +28193,7 @@ function Carousel({
27976
28193
  onClick: () => scrollToNext("left")
27977
28194
  }
27978
28195
  ),
27979
- /* @__PURE__ */ jsx162(
28196
+ /* @__PURE__ */ jsx163(
27980
28197
  Box_default2,
27981
28198
  {
27982
28199
  ref: containerRef,
@@ -27990,7 +28207,7 @@ function Carousel({
27990
28207
  "::-webkit-scrollbar": { display: "none" },
27991
28208
  gap: `${gap2}px`
27992
28209
  },
27993
- children: items.map((item, index) => /* @__PURE__ */ jsx162(
28210
+ children: items.map((item, index) => /* @__PURE__ */ jsx163(
27994
28211
  Box_default2,
27995
28212
  {
27996
28213
  sx: {
@@ -28002,7 +28219,7 @@ function Carousel({
28002
28219
  ))
28003
28220
  }
28004
28221
  ),
28005
- /* @__PURE__ */ jsx162(
28222
+ /* @__PURE__ */ jsx163(
28006
28223
  IconButton_default,
28007
28224
  {
28008
28225
  iconId: "chevron-right",
@@ -28025,12 +28242,12 @@ var Carousel_default = Carousel;
28025
28242
  import {
28026
28243
  SnackbarProvider as NotistackSnackbarProvider
28027
28244
  } from "notistack";
28028
- import { jsx as jsx163 } from "react/jsx-runtime";
28245
+ import { jsx as jsx164 } from "react/jsx-runtime";
28029
28246
  var SnackbarProvider = ({
28030
28247
  children,
28031
28248
  maxSnack = 3,
28032
28249
  domRoot
28033
- }) => /* @__PURE__ */ jsx163(
28250
+ }) => /* @__PURE__ */ jsx164(
28034
28251
  NotistackSnackbarProvider,
28035
28252
  {
28036
28253
  maxSnack,
@@ -28048,10 +28265,10 @@ import {
28048
28265
  } from "notistack";
28049
28266
 
28050
28267
  // src/components/snackbar/Snackbar.tsx
28051
- import * as React94 from "react";
28268
+ import * as React95 from "react";
28052
28269
  import { SnackbarContent } from "notistack";
28053
28270
  import { Typography as Typography4 } from "@mui/material";
28054
- import { jsx as jsx164, jsxs as jsxs86 } from "react/jsx-runtime";
28271
+ import { jsx as jsx165, jsxs as jsxs87 } from "react/jsx-runtime";
28055
28272
  var sizeStyles5 = {
28056
28273
  M: {
28057
28274
  width: "344px",
@@ -28076,7 +28293,7 @@ var iconColors = {
28076
28293
  error: error300,
28077
28294
  warning: complementary300
28078
28295
  };
28079
- var Snackbar = React94.forwardRef(
28296
+ var Snackbar = React95.forwardRef(
28080
28297
  function Snackbar2({
28081
28298
  severity = "info",
28082
28299
  message,
@@ -28088,13 +28305,13 @@ var Snackbar = React94.forwardRef(
28088
28305
  identifierKey: key,
28089
28306
  dataTestKey
28090
28307
  }, ref) {
28091
- const actionClickHandler = React94.useCallback(() => {
28308
+ const actionClickHandler = React95.useCallback(() => {
28092
28309
  onActionClick && onActionClick(key);
28093
28310
  }, [onActionClick, key]);
28094
- const closeClickHandler = React94.useCallback(() => {
28311
+ const closeClickHandler = React95.useCallback(() => {
28095
28312
  onCloseClick && onCloseClick(key);
28096
28313
  }, [onCloseClick, key]);
28097
- return /* @__PURE__ */ jsx164(
28314
+ return /* @__PURE__ */ jsx165(
28098
28315
  SnackbarContent,
28099
28316
  {
28100
28317
  ref,
@@ -28112,14 +28329,14 @@ var Snackbar = React94.forwardRef(
28112
28329
  ...dataTestKey && {
28113
28330
  "data-test": dataTestKey
28114
28331
  },
28115
- children: /* @__PURE__ */ jsxs86(
28332
+ children: /* @__PURE__ */ jsxs87(
28116
28333
  Stack_default,
28117
28334
  {
28118
28335
  direction: "row",
28119
28336
  spacing: 2,
28120
28337
  sx: { width: "100%", alignItems: "center" },
28121
28338
  children: [
28122
- withIcon && /* @__PURE__ */ jsx164(
28339
+ withIcon && /* @__PURE__ */ jsx165(
28123
28340
  Box_default2,
28124
28341
  {
28125
28342
  sx: {
@@ -28127,10 +28344,10 @@ var Snackbar = React94.forwardRef(
28127
28344
  flexShrink: 0,
28128
28345
  color: iconColors[severity]
28129
28346
  },
28130
- children: /* @__PURE__ */ jsx164(Icon_default, { id: severityIcons[severity] })
28347
+ children: /* @__PURE__ */ jsx165(Icon_default, { id: severityIcons[severity] })
28131
28348
  }
28132
28349
  ),
28133
- /* @__PURE__ */ jsx164(
28350
+ /* @__PURE__ */ jsx165(
28134
28351
  Typography4,
28135
28352
  {
28136
28353
  variant: "body2",
@@ -28138,7 +28355,7 @@ var Snackbar = React94.forwardRef(
28138
28355
  children: message
28139
28356
  }
28140
28357
  ),
28141
- actionText && /* @__PURE__ */ jsx164(Box_default2, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx164(
28358
+ actionText && /* @__PURE__ */ jsx165(Box_default2, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx165(
28142
28359
  Button_default,
28143
28360
  {
28144
28361
  sx: {
@@ -28153,7 +28370,7 @@ var Snackbar = React94.forwardRef(
28153
28370
  onClick: actionClickHandler
28154
28371
  }
28155
28372
  ) }),
28156
- /* @__PURE__ */ jsx164(Box_default2, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx164(
28373
+ /* @__PURE__ */ jsx165(Box_default2, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx165(
28157
28374
  IconButton_default,
28158
28375
  {
28159
28376
  iconId: "close",
@@ -28178,7 +28395,7 @@ var Snackbar_default = Snackbar;
28178
28395
 
28179
28396
  // src/components/snackbar/enqueueSnackbar.tsx
28180
28397
  import { closeSnackbar as closeSnackbar2 } from "notistack";
28181
- import { jsx as jsx165 } from "react/jsx-runtime";
28398
+ import { jsx as jsx166 } from "react/jsx-runtime";
28182
28399
  var enqueueSnackbar = (message, options = {}) => {
28183
28400
  const {
28184
28401
  persist,
@@ -28194,7 +28411,7 @@ var enqueueSnackbar = (message, options = {}) => {
28194
28411
  autoHideDuration: autoHideDurationMs ?? 1e4,
28195
28412
  persist: persist ?? false,
28196
28413
  content(key, message2) {
28197
- return /* @__PURE__ */ jsx165(
28414
+ return /* @__PURE__ */ jsx166(
28198
28415
  Snackbar_default,
28199
28416
  {
28200
28417
  identifierKey: key,
@@ -28211,7 +28428,7 @@ var enqueueSnackbar = (message, options = {}) => {
28211
28428
 
28212
28429
  // src/components/tab/TabButton.tsx
28213
28430
  import MuiTab from "@mui/material/Tab";
28214
- import { jsx as jsx166 } from "react/jsx-runtime";
28431
+ import { jsx as jsx167 } from "react/jsx-runtime";
28215
28432
  var TabButton = ({
28216
28433
  children,
28217
28434
  disabled = false,
@@ -28219,10 +28436,10 @@ var TabButton = ({
28219
28436
  marginRight = "0px",
28220
28437
  dataTestId,
28221
28438
  ...rest
28222
- }) => /* @__PURE__ */ jsx166(
28439
+ }) => /* @__PURE__ */ jsx167(
28223
28440
  MuiTab,
28224
28441
  {
28225
- label: /* @__PURE__ */ jsx166(
28442
+ label: /* @__PURE__ */ jsx167(
28226
28443
  "div",
28227
28444
  {
28228
28445
  style: {
@@ -28257,13 +28474,13 @@ var TabButton = ({
28257
28474
  var TabButton_default = TabButton;
28258
28475
 
28259
28476
  // src/components/tab/Tabs.tsx
28260
- import * as React96 from "react";
28477
+ import * as React97 from "react";
28261
28478
  import MuiTabs from "@mui/material/Tabs";
28262
28479
 
28263
28480
  // src/components/layout/SwipeableViews.tsx
28264
- import * as React95 from "react";
28265
- import { useEffect as useEffect29, useRef as useRef33, useState as useState42 } from "react";
28266
- import { jsx as jsx167 } from "react/jsx-runtime";
28481
+ import * as React96 from "react";
28482
+ import { useEffect as useEffect30, useRef as useRef33, useState as useState43 } from "react";
28483
+ import { jsx as jsx168 } from "react/jsx-runtime";
28267
28484
  var styles = {
28268
28485
  container: {
28269
28486
  maxHeight: "100%",
@@ -28299,9 +28516,9 @@ function SwipeableViews({
28299
28516
  const containerRef = useRef33(null);
28300
28517
  const scrollTimeout = useRef33(null);
28301
28518
  const scrollingMethod = useRef33("none");
28302
- const [previousIndex, setPreviousIndex] = useState42(index);
28519
+ const [previousIndex, setPreviousIndex] = useState43(index);
28303
28520
  const hideScrollAnimation = useRef33(true);
28304
- useEffect29(() => {
28521
+ useEffect30(() => {
28305
28522
  if (containerRef.current) {
28306
28523
  if (scrollingMethod.current === "manual") {
28307
28524
  scrollingMethod.current = "none";
@@ -28338,7 +28555,7 @@ function SwipeableViews({
28338
28555
  }
28339
28556
  }, [index]);
28340
28557
  const hasShowTab = (childIndex) => childIndex === index || childIndex === previousIndex;
28341
- return /* @__PURE__ */ jsx167(
28558
+ return /* @__PURE__ */ jsx168(
28342
28559
  "div",
28343
28560
  {
28344
28561
  ...rootProps,
@@ -28361,12 +28578,12 @@ function SwipeableViews({
28361
28578
  );
28362
28579
  }, 100);
28363
28580
  },
28364
- children: React95.Children.map(children, (child, childIndex) => {
28581
+ children: React96.Children.map(children, (child, childIndex) => {
28365
28582
  let mountedChild = false;
28366
- if (React95.isValidElement(child)) {
28583
+ if (React96.isValidElement(child)) {
28367
28584
  mountedChild = !!child.props.keepMounted;
28368
28585
  }
28369
- return /* @__PURE__ */ jsx167(
28586
+ return /* @__PURE__ */ jsx168(
28370
28587
  "div",
28371
28588
  {
28372
28589
  style: Object.assign(
@@ -28391,7 +28608,7 @@ function SwipeableViews({
28391
28608
  }
28392
28609
 
28393
28610
  // src/components/tab/Tabs.tsx
28394
- import { jsx as jsx168, jsxs as jsxs87 } from "react/jsx-runtime";
28611
+ import { jsx as jsx169, jsxs as jsxs88 } from "react/jsx-runtime";
28395
28612
  var Tabs = ({
28396
28613
  tabButtons,
28397
28614
  children,
@@ -28406,8 +28623,8 @@ var Tabs = ({
28406
28623
  hideLineTabs = false,
28407
28624
  backgroundScrollButtons = Colors_exports.white
28408
28625
  }) => {
28409
- const tabsRef = React96.useRef(null);
28410
- const [value, setValue] = React96.useState(0);
28626
+ const tabsRef = React97.useRef(null);
28627
+ const [value, setValue] = React97.useState(0);
28411
28628
  const measureTextWidthRange = (child) => {
28412
28629
  const walker = document.createTreeWalker(child, NodeFilter.SHOW_TEXT, {
28413
28630
  acceptNode: (node) => node.textContent?.trim() ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT
@@ -28421,7 +28638,7 @@ var Tabs = ({
28421
28638
  const rect = range.getBoundingClientRect();
28422
28639
  return Math.round(rect.width);
28423
28640
  };
28424
- const waitForSmoothScrollEnd = React96.useCallback(
28641
+ const waitForSmoothScrollEnd = React97.useCallback(
28425
28642
  (container, onEnd) => {
28426
28643
  let prev = container.scrollLeft;
28427
28644
  let idleFrames = 0;
@@ -28445,7 +28662,7 @@ var Tabs = ({
28445
28662
  },
28446
28663
  []
28447
28664
  );
28448
- const calculateIndicatorTabWidth = React96.useCallback((index) => {
28665
+ const calculateIndicatorTabWidth = React97.useCallback((index) => {
28449
28666
  if (!tabsRef.current) {
28450
28667
  return null;
28451
28668
  }
@@ -28464,7 +28681,7 @@ var Tabs = ({
28464
28681
  indicator.style.width = `${textWidth}px`;
28465
28682
  indicator.style.left = `${left}px`;
28466
28683
  }, []);
28467
- React96.useEffect(() => {
28684
+ React97.useEffect(() => {
28468
28685
  if (!tabsRef.current) {
28469
28686
  return;
28470
28687
  }
@@ -28490,7 +28707,7 @@ var Tabs = ({
28490
28707
  bottom: 0,
28491
28708
  borderRadius: "8px"
28492
28709
  };
28493
- return /* @__PURE__ */ jsxs87(
28710
+ return /* @__PURE__ */ jsxs88(
28494
28711
  Box_default2,
28495
28712
  {
28496
28713
  sx: {
@@ -28504,7 +28721,7 @@ var Tabs = ({
28504
28721
  }
28505
28722
  },
28506
28723
  children: [
28507
- /* @__PURE__ */ jsx168(
28724
+ /* @__PURE__ */ jsx169(
28508
28725
  MuiTabs,
28509
28726
  {
28510
28727
  ref: tabsRef,
@@ -28543,7 +28760,7 @@ var Tabs = ({
28543
28760
  children: tabButtons
28544
28761
  }
28545
28762
  ),
28546
- /* @__PURE__ */ jsx168(
28763
+ /* @__PURE__ */ jsx169(
28547
28764
  Box_default2,
28548
28765
  {
28549
28766
  sx: {
@@ -28552,7 +28769,7 @@ var Tabs = ({
28552
28769
  height: "100%"
28553
28770
  }
28554
28771
  },
28555
- children: /* @__PURE__ */ jsx168(
28772
+ children: /* @__PURE__ */ jsx169(
28556
28773
  SwipeableViews,
28557
28774
  {
28558
28775
  index: currentTabIndex ?? value,
@@ -28581,8 +28798,8 @@ var Tabs = ({
28581
28798
  var Tabs_default = Tabs;
28582
28799
 
28583
28800
  // src/components/tab/TabContent.tsx
28584
- import { jsx as jsx169 } from "react/jsx-runtime";
28585
- var TabContent = ({ children }) => /* @__PURE__ */ jsx169(
28801
+ import { jsx as jsx170 } from "react/jsx-runtime";
28802
+ var TabContent = ({ children }) => /* @__PURE__ */ jsx170(
28586
28803
  Box_default2,
28587
28804
  {
28588
28805
  sx: {
@@ -28599,8 +28816,8 @@ import {
28599
28816
  TableRow as MuiTableRow,
28600
28817
  TableCell as MuiTableCell
28601
28818
  } from "@mui/material";
28602
- import { jsx as jsx170 } from "react/jsx-runtime";
28603
- var TableDivider = () => /* @__PURE__ */ jsx170(MuiTableRow, { children: /* @__PURE__ */ jsx170(
28819
+ import { jsx as jsx171 } from "react/jsx-runtime";
28820
+ var TableDivider = () => /* @__PURE__ */ jsx171(MuiTableRow, { children: /* @__PURE__ */ jsx171(
28604
28821
  MuiTableCell,
28605
28822
  {
28606
28823
  colSpan: 1e3,
@@ -28613,8 +28830,8 @@ var TableDivider_default = TableDivider;
28613
28830
  import {
28614
28831
  TableSortLabel as MuiTableSortLabel
28615
28832
  } from "@mui/material";
28616
- import { jsx as jsx171 } from "react/jsx-runtime";
28617
- var TableSortLabel = ({ children, ...rest }) => /* @__PURE__ */ jsx171(MuiTableSortLabel, { ...rest, children });
28833
+ import { jsx as jsx172 } from "react/jsx-runtime";
28834
+ var TableSortLabel = ({ children, ...rest }) => /* @__PURE__ */ jsx172(MuiTableSortLabel, { ...rest, children });
28618
28835
  var TableSortLabel_default = TableSortLabel;
28619
28836
 
28620
28837
  // src/components/table/Table.tsx
@@ -28622,21 +28839,21 @@ import {
28622
28839
  TableContainer,
28623
28840
  Table as MuiTable
28624
28841
  } from "@mui/material";
28625
- import { jsx as jsx172 } from "react/jsx-runtime";
28626
- var Table = ({ children, sx, className, containerSx }) => /* @__PURE__ */ jsx172(TableContainer, { className: "Slim-Horizontal-Scroll", sx: containerSx, children: /* @__PURE__ */ jsx172(MuiTable, { sx: { backgroundColor: white, ...sx }, className, children }) });
28842
+ import { jsx as jsx173 } from "react/jsx-runtime";
28843
+ var Table = ({ children, sx, className, containerSx }) => /* @__PURE__ */ jsx173(TableContainer, { className: "Slim-Horizontal-Scroll", sx: containerSx, children: /* @__PURE__ */ jsx173(MuiTable, { sx: { backgroundColor: white, ...sx }, className, children }) });
28627
28844
  var Table_default = Table;
28628
28845
 
28629
28846
  // src/components/table/TableBody.tsx
28630
28847
  import { TableBody as MuiTableBody } from "@mui/material";
28631
- import { jsx as jsx173 } from "react/jsx-runtime";
28632
- var TableBody = ({ children }) => /* @__PURE__ */ jsx173(MuiTableBody, { children });
28848
+ import { jsx as jsx174 } from "react/jsx-runtime";
28849
+ var TableBody = ({ children }) => /* @__PURE__ */ jsx174(MuiTableBody, { children });
28633
28850
  var TableBody_default = TableBody;
28634
28851
 
28635
28852
  // src/components/table/TableCell.tsx
28636
28853
  import {
28637
28854
  TableCell as MuiTableCell2
28638
28855
  } from "@mui/material";
28639
- import { jsx as jsx174 } from "react/jsx-runtime";
28856
+ import { jsx as jsx175 } from "react/jsx-runtime";
28640
28857
  var TableCell = ({
28641
28858
  children,
28642
28859
  size = "M",
@@ -28647,7 +28864,7 @@ var TableCell = ({
28647
28864
  onClick,
28648
28865
  noBorder = false,
28649
28866
  ...rest
28650
- }) => /* @__PURE__ */ jsx174(
28867
+ }) => /* @__PURE__ */ jsx175(
28651
28868
  MuiTableCell2,
28652
28869
  {
28653
28870
  ...rest,
@@ -28671,12 +28888,12 @@ var TableCell = ({
28671
28888
  var TableCell_default = TableCell;
28672
28889
 
28673
28890
  // src/components/table/TableCellCopy.tsx
28674
- import * as React97 from "react";
28675
- import { jsx as jsx175 } from "react/jsx-runtime";
28891
+ import * as React98 from "react";
28892
+ import { jsx as jsx176 } from "react/jsx-runtime";
28676
28893
  var TableCellCopy = ({ text, textToCopy, ...rest }) => {
28677
28894
  const { t } = useTranslation();
28678
- const [isCopied, setIsCopied] = React97.useState(false);
28679
- const [showIcon, setShowIcon] = React97.useState(false);
28895
+ const [isCopied, setIsCopied] = React98.useState(false);
28896
+ const [showIcon, setShowIcon] = React98.useState(false);
28680
28897
  const manageButtonClicked = () => {
28681
28898
  void navigator.clipboard.writeText(textToCopy ?? text);
28682
28899
  if (isCopied) {
@@ -28690,7 +28907,7 @@ var TableCellCopy = ({ text, textToCopy, ...rest }) => {
28690
28907
  const getIconId = () => !isCopied ? "content-copy" : "check";
28691
28908
  const iconHiddenClass = "icon-hidden";
28692
28909
  const iconCopiedClass = "icon-copied";
28693
- return /* @__PURE__ */ jsx175(TableCell_default, { ...rest, sx: { padding: 0 }, children: /* @__PURE__ */ jsx175(
28910
+ return /* @__PURE__ */ jsx176(TableCell_default, { ...rest, sx: { padding: 0 }, children: /* @__PURE__ */ jsx176(
28694
28911
  Stack_default,
28695
28912
  {
28696
28913
  direction: "row",
@@ -28699,7 +28916,7 @@ var TableCellCopy = ({ text, textToCopy, ...rest }) => {
28699
28916
  onMouseEnter: () => setShowIcon(true),
28700
28917
  onMouseLeave: () => setShowIcon(false),
28701
28918
  onClick: manageButtonClicked,
28702
- children: /* @__PURE__ */ jsx175(Tooltip_default, { title: t(!isCopied ? "COPY" : "COPIED"), children: /* @__PURE__ */ jsx175(
28919
+ children: /* @__PURE__ */ jsx176(Tooltip_default, { title: t(!isCopied ? "COPY" : "COPIED"), children: /* @__PURE__ */ jsx176(
28703
28920
  Button_default,
28704
28921
  {
28705
28922
  className: isCopied ? iconCopiedClass : !showIcon ? iconHiddenClass : "",
@@ -28729,21 +28946,21 @@ var TableCellCopy_default = TableCellCopy;
28729
28946
 
28730
28947
  // src/components/table/TableHead.tsx
28731
28948
  import { TableHead as MuiTableHead } from "@mui/material";
28732
- import { jsx as jsx176 } from "react/jsx-runtime";
28733
- var TableHead = ({ children }) => /* @__PURE__ */ jsx176(MuiTableHead, { children });
28949
+ import { jsx as jsx177 } from "react/jsx-runtime";
28950
+ var TableHead = ({ children }) => /* @__PURE__ */ jsx177(MuiTableHead, { children });
28734
28951
  var TableHead_default = TableHead;
28735
28952
 
28736
28953
  // src/components/table/TableRow.tsx
28737
28954
  import {
28738
28955
  TableRow as MuiTableRow2
28739
28956
  } from "@mui/material";
28740
- import { jsx as jsx177 } from "react/jsx-runtime";
28957
+ import { jsx as jsx178 } from "react/jsx-runtime";
28741
28958
  var TableRow = ({
28742
28959
  children,
28743
28960
  isFollowedByNestedTable = false,
28744
28961
  fadeInLeftAnimation = false,
28745
28962
  sx
28746
- }) => /* @__PURE__ */ jsx177(
28963
+ }) => /* @__PURE__ */ jsx178(
28747
28964
  MuiTableRow2,
28748
28965
  {
28749
28966
  className: `${isFollowedByNestedTable ? "Followed-By-Nested-Table" : ""} ${fadeInLeftAnimation ? "animated fadeInLeft" : ""}`,
@@ -28755,14 +28972,14 @@ var TableRow_default = TableRow;
28755
28972
 
28756
28973
  // src/components/table/NestedTable.tsx
28757
28974
  import { Collapse as Collapse7 } from "@mui/material";
28758
- import { jsx as jsx178 } from "react/jsx-runtime";
28975
+ import { jsx as jsx179 } from "react/jsx-runtime";
28759
28976
  var NestedTable = ({
28760
28977
  colSpan,
28761
28978
  children,
28762
28979
  className = "",
28763
28980
  sx,
28764
28981
  isVisible = true
28765
- }) => /* @__PURE__ */ jsx178(TableRow_default, { children: /* @__PURE__ */ jsx178(
28982
+ }) => /* @__PURE__ */ jsx179(TableRow_default, { children: /* @__PURE__ */ jsx179(
28766
28983
  TableCell_default,
28767
28984
  {
28768
28985
  colSpan,
@@ -28771,14 +28988,14 @@ var NestedTable = ({
28771
28988
  height: "auto",
28772
28989
  ...!isVisible && { borderBottom: "none" }
28773
28990
  },
28774
- children: /* @__PURE__ */ jsx178(Collapse7, { in: isVisible, children: /* @__PURE__ */ jsx178(Box_default2, { sx: { padding: "16px", backgroundColor: grey100 }, children: /* @__PURE__ */ jsx178(Paper_default, { children: /* @__PURE__ */ jsx178(Table_default, { sx, className: `Nested-Table ${className}`, children }) }) }) })
28991
+ children: /* @__PURE__ */ jsx179(Collapse7, { in: isVisible, children: /* @__PURE__ */ jsx179(Box_default2, { sx: { padding: "16px", backgroundColor: grey100 }, children: /* @__PURE__ */ jsx179(Paper_default, { children: /* @__PURE__ */ jsx179(Table_default, { sx, className: `Nested-Table ${className}`, children }) }) }) })
28775
28992
  }
28776
28993
  ) });
28777
28994
  var NestedTable_default = NestedTable;
28778
28995
 
28779
28996
  // src/components/toolbar/ToolbarBreadcrumb.tsx
28780
- import { jsx as jsx179 } from "react/jsx-runtime";
28781
- var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx179(
28997
+ import { jsx as jsx180 } from "react/jsx-runtime";
28998
+ var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx180(
28782
28999
  Stack_default,
28783
29000
  {
28784
29001
  direction: "row",
@@ -28788,7 +29005,7 @@ var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx179(
28788
29005
  (previous, current, index) => [
28789
29006
  ...previous,
28790
29007
  ...index > 0 ? [
28791
- /* @__PURE__ */ jsx179(
29008
+ /* @__PURE__ */ jsx180(
28792
29009
  Typography_default,
28793
29010
  {
28794
29011
  color: grey500,
@@ -28811,10 +29028,10 @@ var ToolbarBreadcrumb_default = ToolbarBreadcrumb;
28811
29028
 
28812
29029
  // src/components/toolbar/ToolbarBreadcrumbButton.tsx
28813
29030
  import { ButtonBase as ButtonBase5 } from "@mui/material";
28814
- import * as React98 from "react";
28815
- import { jsx as jsx180 } from "react/jsx-runtime";
28816
- var ToolbarBreadcrumbButton = React98.forwardRef(function ToolbarBreadcrumbButton2({ text, className, ...rest }, ref) {
28817
- return /* @__PURE__ */ jsx180(
29031
+ import * as React99 from "react";
29032
+ import { jsx as jsx181 } from "react/jsx-runtime";
29033
+ var ToolbarBreadcrumbButton = React99.forwardRef(function ToolbarBreadcrumbButton2({ text, className, ...rest }, ref) {
29034
+ return /* @__PURE__ */ jsx181(
28818
29035
  ButtonBase5,
28819
29036
  {
28820
29037
  className: `Cn-ToolbarBreadcrumbButton ${className}`,
@@ -28833,14 +29050,14 @@ var ToolbarBreadcrumbButton = React98.forwardRef(function ToolbarBreadcrumbButto
28833
29050
  }
28834
29051
  },
28835
29052
  ...rest,
28836
- children: /* @__PURE__ */ jsx180(Typography_default, { color: "inherit", component: "div", variant: "h6", noWrap: true, children: text })
29053
+ children: /* @__PURE__ */ jsx181(Typography_default, { color: "inherit", component: "div", variant: "h6", noWrap: true, children: text })
28837
29054
  }
28838
29055
  );
28839
29056
  });
28840
29057
  var ToolbarBreadcrumbButton_default = ToolbarBreadcrumbButton;
28841
29058
 
28842
29059
  // src/components/toolbar/Toolbar.tsx
28843
- import { jsx as jsx181, jsxs as jsxs88 } from "react/jsx-runtime";
29060
+ import { jsx as jsx182, jsxs as jsxs89 } from "react/jsx-runtime";
28844
29061
  var Toolbar = ({
28845
29062
  children,
28846
29063
  rightActions,
@@ -28849,7 +29066,7 @@ var Toolbar = ({
28849
29066
  sx,
28850
29067
  dataTestId,
28851
29068
  onClickToolbar
28852
- }) => /* @__PURE__ */ jsxs88(
29069
+ }) => /* @__PURE__ */ jsxs89(
28853
29070
  Box_default2,
28854
29071
  {
28855
29072
  className: `Cn-Toolbar ${className}`,
@@ -28869,7 +29086,7 @@ var Toolbar = ({
28869
29086
  onClick: onClickToolbar,
28870
29087
  "data-testid": dataTestId,
28871
29088
  children: [
28872
- /* @__PURE__ */ jsxs88(
29089
+ /* @__PURE__ */ jsxs89(
28873
29090
  Box_default2,
28874
29091
  {
28875
29092
  sx: {
@@ -28881,7 +29098,7 @@ var Toolbar = ({
28881
29098
  width: "100%"
28882
29099
  },
28883
29100
  children: [
28884
- leftActions && /* @__PURE__ */ jsx181(
29101
+ leftActions && /* @__PURE__ */ jsx182(
28885
29102
  Box_default2,
28886
29103
  {
28887
29104
  className: `Cn-Toolbar-left`,
@@ -28891,7 +29108,7 @@ var Toolbar = ({
28891
29108
  children: leftActions
28892
29109
  }
28893
29110
  ),
28894
- /* @__PURE__ */ jsx181(
29111
+ /* @__PURE__ */ jsx182(
28895
29112
  Box_default2,
28896
29113
  {
28897
29114
  className: `Cn-Toolbar-children`,
@@ -28906,7 +29123,7 @@ var Toolbar = ({
28906
29123
  ]
28907
29124
  }
28908
29125
  ),
28909
- rightActions && /* @__PURE__ */ jsx181(
29126
+ rightActions && /* @__PURE__ */ jsx182(
28910
29127
  Box_default2,
28911
29128
  {
28912
29129
  className: `Cn-Toolbar-right`,
@@ -28925,26 +29142,26 @@ var Toolbar = ({
28925
29142
  var Toolbar_default = Toolbar;
28926
29143
 
28927
29144
  // src/components/toolbar/ToolbarTitle.tsx
28928
- import * as React99 from "react";
28929
- import { useState as useState45 } from "react";
28930
- import { jsx as jsx182, jsxs as jsxs89 } from "react/jsx-runtime";
28931
- var ToolbarTitle = React99.forwardRef(function ToolbarTitle2({
29145
+ import * as React100 from "react";
29146
+ import { useState as useState46 } from "react";
29147
+ import { jsx as jsx183, jsxs as jsxs90 } from "react/jsx-runtime";
29148
+ var ToolbarTitle = React100.forwardRef(function ToolbarTitle2({
28932
29149
  title,
28933
29150
  align = "left",
28934
29151
  className,
28935
29152
  hoverActions,
28936
29153
  color: color2 = grey900
28937
29154
  }, ref) {
28938
- const textElementRef = React99.useRef(
29155
+ const textElementRef = React100.useRef(
28939
29156
  null
28940
29157
  );
28941
- const [showHoverActions, setShowHoverActions] = useState45(false);
28942
- return /* @__PURE__ */ jsx182(Box_default2, { sx: { maxWidth: "100%" }, children: /* @__PURE__ */ jsx182(
29158
+ const [showHoverActions, setShowHoverActions] = useState46(false);
29159
+ return /* @__PURE__ */ jsx183(Box_default2, { sx: { maxWidth: "100%" }, children: /* @__PURE__ */ jsx183(
28943
29160
  TextEllipsisTooltip_default,
28944
29161
  {
28945
29162
  title: title ?? "\xA0",
28946
29163
  textEllipsableElement: textElementRef,
28947
- children: /* @__PURE__ */ jsxs89(
29164
+ children: /* @__PURE__ */ jsxs90(
28948
29165
  Typography_default,
28949
29166
  {
28950
29167
  color: color2,
@@ -28962,7 +29179,7 @@ var ToolbarTitle = React99.forwardRef(function ToolbarTitle2({
28962
29179
  },
28963
29180
  children: [
28964
29181
  title || "\xA0",
28965
- hoverActions && showHoverActions && /* @__PURE__ */ jsx182(
29182
+ hoverActions && showHoverActions && /* @__PURE__ */ jsx183(
28966
29183
  Box_default2,
28967
29184
  {
28968
29185
  sx: {
@@ -28991,13 +29208,13 @@ var Slide_default = Slide;
28991
29208
 
28992
29209
  // src/components/widget/WidgetLegendItem.tsx
28993
29210
  import { ButtonBase as ButtonBase6 } from "@mui/material";
28994
- import { jsx as jsx183, jsxs as jsxs90 } from "react/jsx-runtime";
29211
+ import { jsx as jsx184, jsxs as jsxs91 } from "react/jsx-runtime";
28995
29212
  var WidgetLegendItem = ({
28996
29213
  groupLabel,
28997
29214
  legendDirection = "column",
28998
29215
  items = [],
28999
29216
  onClick
29000
- }) => /* @__PURE__ */ jsx183(
29217
+ }) => /* @__PURE__ */ jsx184(
29001
29218
  ButtonBase6,
29002
29219
  {
29003
29220
  tabIndex: onClick ? 0 : -1,
@@ -29011,7 +29228,7 @@ var WidgetLegendItem = ({
29011
29228
  p: "2px 12px",
29012
29229
  cursor: onClick ? "pointer" : "default"
29013
29230
  },
29014
- children: /* @__PURE__ */ jsxs90(
29231
+ children: /* @__PURE__ */ jsxs91(
29015
29232
  Box_default2,
29016
29233
  {
29017
29234
  sx: {
@@ -29023,7 +29240,7 @@ var WidgetLegendItem = ({
29023
29240
  color: grey800
29024
29241
  },
29025
29242
  children: [
29026
- groupLabel && /* @__PURE__ */ jsx183(
29243
+ groupLabel && /* @__PURE__ */ jsx184(
29027
29244
  Typography_default,
29028
29245
  {
29029
29246
  variant: "overline",
@@ -29045,7 +29262,7 @@ var WidgetLegendItem = ({
29045
29262
  style: style3
29046
29263
  }, i) => {
29047
29264
  const incrementLabelIconId = incrementLabelType && incrementLabelStyles[incrementLabelType].icon;
29048
- return /* @__PURE__ */ jsxs90(
29265
+ return /* @__PURE__ */ jsxs91(
29049
29266
  Box_default2,
29050
29267
  {
29051
29268
  sx: {
@@ -29055,7 +29272,7 @@ var WidgetLegendItem = ({
29055
29272
  paddingRight: legendDirection === "row" ? "12px" : "inherit"
29056
29273
  },
29057
29274
  children: [
29058
- iconColor && /* @__PURE__ */ jsx183(
29275
+ iconColor && /* @__PURE__ */ jsx184(
29059
29276
  Icon_default,
29060
29277
  {
29061
29278
  id: iconId,
@@ -29066,7 +29283,7 @@ var WidgetLegendItem = ({
29066
29283
  size: iconSize
29067
29284
  }
29068
29285
  ),
29069
- label && /* @__PURE__ */ jsx183(
29286
+ label && /* @__PURE__ */ jsx184(
29070
29287
  Typography_default,
29071
29288
  {
29072
29289
  variant: "caption",
@@ -29075,7 +29292,7 @@ var WidgetLegendItem = ({
29075
29292
  children: label
29076
29293
  }
29077
29294
  ),
29078
- value && /* @__PURE__ */ jsx183(
29295
+ value && /* @__PURE__ */ jsx184(
29079
29296
  Typography_default,
29080
29297
  {
29081
29298
  sx: style3,
@@ -29084,7 +29301,7 @@ var WidgetLegendItem = ({
29084
29301
  children: value
29085
29302
  }
29086
29303
  ),
29087
- incrementLabelValue && /* @__PURE__ */ jsx183(
29304
+ incrementLabelValue && /* @__PURE__ */ jsx184(
29088
29305
  IncrementLabel_default,
29089
29306
  {
29090
29307
  label: incrementLabelValue,
@@ -29110,8 +29327,8 @@ var WidgetLegendItem_default = WidgetLegendItem;
29110
29327
 
29111
29328
  // src/components/widget/Widget.tsx
29112
29329
  import MuiCard2 from "@mui/material/Card";
29113
- import { jsx as jsx184 } from "react/jsx-runtime";
29114
- var Widget = ({ children }) => /* @__PURE__ */ jsx184(
29330
+ import { jsx as jsx185 } from "react/jsx-runtime";
29331
+ var Widget = ({ children }) => /* @__PURE__ */ jsx185(
29115
29332
  MuiCard2,
29116
29333
  {
29117
29334
  variant: "elevation",
@@ -29135,8 +29352,8 @@ var Widget = ({ children }) => /* @__PURE__ */ jsx184(
29135
29352
  var Widget_default = Widget;
29136
29353
 
29137
29354
  // src/components/widget/WidgetActions.tsx
29138
- import { jsx as jsx185 } from "react/jsx-runtime";
29139
- var WidgetActions = ({ children }) => /* @__PURE__ */ jsx185(
29355
+ import { jsx as jsx186 } from "react/jsx-runtime";
29356
+ var WidgetActions = ({ children }) => /* @__PURE__ */ jsx186(
29140
29357
  Box_default2,
29141
29358
  {
29142
29359
  sx: {
@@ -29150,8 +29367,8 @@ var WidgetActions = ({ children }) => /* @__PURE__ */ jsx185(
29150
29367
  var WidgetActions_default = WidgetActions;
29151
29368
 
29152
29369
  // src/components/widget/WidgetTitle.tsx
29153
- import { jsx as jsx186 } from "react/jsx-runtime";
29154
- var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE__ */ jsx186(
29370
+ import { jsx as jsx187 } from "react/jsx-runtime";
29371
+ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE__ */ jsx187(
29155
29372
  Box_default2,
29156
29373
  {
29157
29374
  sx: {
@@ -29161,7 +29378,7 @@ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE
29161
29378
  maxWidth: "100%",
29162
29379
  ...sx
29163
29380
  },
29164
- children: /* @__PURE__ */ jsx186(
29381
+ children: /* @__PURE__ */ jsx187(
29165
29382
  Typography_default,
29166
29383
  {
29167
29384
  variant: "subtitle2",
@@ -29175,12 +29392,12 @@ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE
29175
29392
  }
29176
29393
  )
29177
29394
  }
29178
- ) : /* @__PURE__ */ jsx186("span", {});
29395
+ ) : /* @__PURE__ */ jsx187("span", {});
29179
29396
  var WidgetTitle_default = WidgetTitle;
29180
29397
 
29181
29398
  // src/components/window/MinimizableWindow.tsx
29182
- import * as React100 from "react";
29183
- import { Fragment as Fragment45, jsx as jsx187, jsxs as jsxs91 } from "react/jsx-runtime";
29399
+ import * as React101 from "react";
29400
+ import { Fragment as Fragment45, jsx as jsx188, jsxs as jsxs92 } from "react/jsx-runtime";
29184
29401
  var sizes7 = {
29185
29402
  M: 400,
29186
29403
  L: 500,
@@ -29208,7 +29425,7 @@ var iconButtonsStyles = {
29208
29425
  backgroundColor: "rgba(255, 255, 255, 0.2)"
29209
29426
  }
29210
29427
  };
29211
- var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29428
+ var MinimizableWindow = React101.forwardRef(function MinimizableWindow2({
29212
29429
  children,
29213
29430
  title,
29214
29431
  size = "M",
@@ -29227,17 +29444,17 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29227
29444
  onBack
29228
29445
  }, ref) {
29229
29446
  const { t } = useTranslation();
29230
- const overlayRef = React100.useRef(null);
29231
- const windowRef = React100.useRef(null);
29232
- const headerRef = React100.useRef(null);
29233
- const [isDraggingState, setIsDraggingState] = React100.useState(false);
29234
- const diffRef = React100.useRef({ x: 0, y: 0 });
29235
- React100.useImperativeHandle(ref, () => ({
29447
+ const overlayRef = React101.useRef(null);
29448
+ const windowRef = React101.useRef(null);
29449
+ const headerRef = React101.useRef(null);
29450
+ const [isDraggingState, setIsDraggingState] = React101.useState(false);
29451
+ const diffRef = React101.useRef({ x: 0, y: 0 });
29452
+ React101.useImperativeHandle(ref, () => ({
29236
29453
  window: windowRef.current,
29237
29454
  header: headerRef.current,
29238
29455
  overlay: overlayRef.current
29239
29456
  }));
29240
- React100.useEffect(() => {
29457
+ React101.useEffect(() => {
29241
29458
  if (open) {
29242
29459
  overlayRef.current?.style.removeProperty("transform");
29243
29460
  overlayRef.current?.style.removeProperty("opacity");
@@ -29279,8 +29496,8 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29279
29496
  overlayRef.current.style.opacity = "0";
29280
29497
  }
29281
29498
  };
29282
- return /* @__PURE__ */ jsxs91(Fragment45, { children: [
29283
- isDraggingState && /* @__PURE__ */ jsx187(
29499
+ return /* @__PURE__ */ jsxs92(Fragment45, { children: [
29500
+ isDraggingState && /* @__PURE__ */ jsx188(
29284
29501
  Box_default2,
29285
29502
  {
29286
29503
  sx: {
@@ -29296,7 +29513,7 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29296
29513
  onMouseMove: (ev) => handleMouseMove(ev)
29297
29514
  }
29298
29515
  ),
29299
- /* @__PURE__ */ jsx187(
29516
+ /* @__PURE__ */ jsx188(
29300
29517
  Box_default2,
29301
29518
  {
29302
29519
  ref: overlayRef,
@@ -29313,7 +29530,7 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29313
29530
  ...!open && { pointerEvents: "none" },
29314
29531
  transition: "transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), left 0.4s cubic-bezier(0.4, 0, 0.2, 1)"
29315
29532
  },
29316
- children: /* @__PURE__ */ jsxs91(
29533
+ children: /* @__PURE__ */ jsxs92(
29317
29534
  Stack_default,
29318
29535
  {
29319
29536
  sx: {
@@ -29324,7 +29541,7 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29324
29541
  width: `${sizes7[size]}px`,
29325
29542
  height: contentHeight !== void 0 && headerRef.current ? `${contentHeight + contentPadding + headerRef.current.scrollHeight}px` : void 0,
29326
29543
  children: [
29327
- /* @__PURE__ */ jsxs91(
29544
+ /* @__PURE__ */ jsxs92(
29328
29545
  Stack_default,
29329
29546
  {
29330
29547
  ref: headerRef,
@@ -29338,19 +29555,19 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29338
29555
  onMouseDown: handleMouseDown,
29339
29556
  minHeight: "44px",
29340
29557
  children: [
29341
- /* @__PURE__ */ jsx187(
29558
+ /* @__PURE__ */ jsx188(
29342
29559
  Stack_default,
29343
29560
  {
29344
29561
  direction: "row",
29345
29562
  alignItems: "center",
29346
29563
  onMouseDown: (ev) => ev.stopPropagation(),
29347
- children: showBackButton && (!backButton ? /* @__PURE__ */ jsx187(
29564
+ children: showBackButton && (!backButton ? /* @__PURE__ */ jsx188(
29348
29565
  Tooltip_default,
29349
29566
  {
29350
29567
  title: t("MINIMIZABLE_WINDOW.GO_BACK"),
29351
29568
  zIndex: 999999,
29352
29569
  placement: "top",
29353
- children: /* @__PURE__ */ jsx187(
29570
+ children: /* @__PURE__ */ jsx188(
29354
29571
  IconButton_default,
29355
29572
  {
29356
29573
  size: iconSizes2,
@@ -29363,7 +29580,7 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29363
29580
  ) : backButton)
29364
29581
  }
29365
29582
  ),
29366
- /* @__PURE__ */ jsx187(
29583
+ /* @__PURE__ */ jsx188(
29367
29584
  Box_default2,
29368
29585
  {
29369
29586
  sx: {
@@ -29371,10 +29588,10 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29371
29588
  left: "50%",
29372
29589
  transform: "translateX(-50%)"
29373
29590
  },
29374
- children: typeof title === "string" ? /* @__PURE__ */ jsx187(Typography_default, { children: title }) : title
29591
+ children: typeof title === "string" ? /* @__PURE__ */ jsx188(Typography_default, { children: title }) : title
29375
29592
  }
29376
29593
  ),
29377
- /* @__PURE__ */ jsxs91(
29594
+ /* @__PURE__ */ jsxs92(
29378
29595
  Stack_default,
29379
29596
  {
29380
29597
  direction: "row",
@@ -29382,13 +29599,13 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29382
29599
  onMouseDown: (ev) => ev.stopPropagation(),
29383
29600
  children: [
29384
29601
  rightActions,
29385
- closeable && /* @__PURE__ */ jsx187(Box_default2, { children: /* @__PURE__ */ jsx187(
29602
+ closeable && /* @__PURE__ */ jsx188(Box_default2, { children: /* @__PURE__ */ jsx188(
29386
29603
  Tooltip_default,
29387
29604
  {
29388
29605
  title: t("MINIMIZABLE_WINDOW.CLOSE"),
29389
29606
  zIndex: 999999,
29390
29607
  placement: "top",
29391
- children: /* @__PURE__ */ jsx187(
29608
+ children: /* @__PURE__ */ jsx188(
29392
29609
  IconButton_default,
29393
29610
  {
29394
29611
  size: iconSizes2,
@@ -29410,7 +29627,7 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29410
29627
  ]
29411
29628
  }
29412
29629
  ),
29413
- /* @__PURE__ */ jsx187(
29630
+ /* @__PURE__ */ jsx188(
29414
29631
  Stack_default,
29415
29632
  {
29416
29633
  sx: {
@@ -29429,31 +29646,31 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29429
29646
  var MinimizableWindow_default = MinimizableWindow;
29430
29647
 
29431
29648
  // src/hooks/useFormatters.ts
29432
- import { useCallback as useCallback25, useContext as useContext20 } from "react";
29649
+ import { useCallback as useCallback26, useContext as useContext21 } from "react";
29433
29650
  var useFormatters = () => {
29434
- const { locale, currency, timezone } = useContext20(IntlContext);
29651
+ const { locale, currency, timezone } = useContext21(IntlContext);
29435
29652
  return {
29436
- formatCompactNumber: useCallback25(
29653
+ formatCompactNumber: useCallback26(
29437
29654
  (value) => formatCompactNumber(value, locale),
29438
29655
  [locale]
29439
29656
  ),
29440
- formatNumber: useCallback25(
29657
+ formatNumber: useCallback26(
29441
29658
  (value, fractionSize) => formatNumber(value, locale, fractionSize),
29442
29659
  [locale]
29443
29660
  ),
29444
- formatPercentage: useCallback25(
29661
+ formatPercentage: useCallback26(
29445
29662
  (value, fractionSize) => formatPercentage(value, locale, fractionSize),
29446
29663
  [locale]
29447
29664
  ),
29448
- formatCurrency: useCallback25(
29665
+ formatCurrency: useCallback26(
29449
29666
  (value, notation) => formatCurrency(value, locale, currency, notation),
29450
29667
  [currency, locale]
29451
29668
  ),
29452
- formatDate: useCallback25(
29669
+ formatDate: useCallback26(
29453
29670
  (date, format2) => formatDate(date, locale, timezone, format2),
29454
29671
  [locale, timezone]
29455
29672
  ),
29456
- formatPhone: useCallback25(
29673
+ formatPhone: useCallback26(
29457
29674
  (phone, format2) => formatPhone(phone, format2),
29458
29675
  []
29459
29676
  )
@@ -29500,6 +29717,7 @@ export {
29500
29717
  ConfirmationDialog_default as ConfirmationDialog,
29501
29718
  Container_default as Container,
29502
29719
  CurrencyFormatter_default as CurrencyFormatter,
29720
+ DateCalendar_default as DateCalendar,
29503
29721
  DateFormatter_default as DateFormatter,
29504
29722
  DateIntervalPicker_default as DateIntervalPicker,
29505
29723
  DatePicker_default as DatePicker,