@connectif/ui-components 9.0.7 → 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
@@ -20083,8 +20083,12 @@ var CalendarMonth = ({
20083
20083
  intersectionColor = white,
20084
20084
  onSelect,
20085
20085
  allowKeyboardNavigation = false,
20086
- focusedDate = null
20086
+ focusedDate = null,
20087
+ todayForegroundColor,
20088
+ hideMonthLabel = false
20087
20089
  }) => {
20090
+ const theme2 = useCustomTheme();
20091
+ const effectiveTodayForegroundColor = todayForegroundColor ?? theme2.palette.primary.main;
20088
20092
  const { timezone } = React54.useContext(IntlContext);
20089
20093
  const firstDayOfMonth = tz2({ year, month, date: 1 }, timezone);
20090
20094
  const dayOfWeek = firstDayOfMonth.day();
@@ -20200,7 +20204,7 @@ var CalendarMonth = ({
20200
20204
  color: fgColor,
20201
20205
  type: "fill"
20202
20206
  } : isToday ? {
20203
- color: primaryPalette.main,
20207
+ color: effectiveTodayForegroundColor,
20204
20208
  type: "stroke"
20205
20209
  } : void 0
20206
20210
  };
@@ -20226,7 +20230,7 @@ var CalendarMonth = ({
20226
20230
  color: s.color,
20227
20231
  type: "fill"
20228
20232
  } : isToday ? {
20229
- color: primaryPalette.main,
20233
+ color: effectiveTodayForegroundColor,
20230
20234
  type: "stroke"
20231
20235
  } : void 0
20232
20236
  };
@@ -20235,10 +20239,10 @@ var CalendarMonth = ({
20235
20239
  return {
20236
20240
  ...disabledPart,
20237
20241
  foregroundHighlight: isFocused ? {
20238
- color: primaryPalette.main,
20242
+ color: theme2.palette.primary.main,
20239
20243
  type: "fill"
20240
20244
  } : isToday ? {
20241
- color: primaryPalette.main,
20245
+ color: effectiveTodayForegroundColor,
20242
20246
  type: "stroke"
20243
20247
  } : void 0
20244
20248
  };
@@ -20250,12 +20254,12 @@ var CalendarMonth = ({
20250
20254
  sx: {
20251
20255
  display: "grid",
20252
20256
  gridTemplateColumns: "repeat(7, 1fr)",
20253
- gridTemplateRows: "repeat(6, 32px)",
20257
+ gridTemplateRows: hideMonthLabel ? "repeat(5, 32px)" : "repeat(6, 32px)",
20254
20258
  height: "100%"
20255
20259
  },
20256
20260
  "data-testid": `calendar-month-${year}-${month}`,
20257
20261
  children: [
20258
- /* @__PURE__ */ jsx107(
20262
+ !hideMonthLabel && /* @__PURE__ */ jsx107(
20259
20263
  Typography_default,
20260
20264
  {
20261
20265
  sx: {
@@ -20275,7 +20279,8 @@ var CalendarMonth = ({
20275
20279
  )
20276
20280
  }
20277
20281
  ),
20278
- 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" }),
20279
20284
  dayList.map((day) => /* @__PURE__ */ jsx107(
20280
20285
  CalendarDay_default,
20281
20286
  {
@@ -20295,16 +20300,28 @@ var CalendarMonth_default = CalendarMonth;
20295
20300
  // src/components/input/DaysOfWeekRow.tsx
20296
20301
  import * as React55 from "react";
20297
20302
  import { jsx as jsx108 } from "react/jsx-runtime";
20298
- 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();
20299
20309
  const { locale, timezone } = React55.useContext(IntlContext);
20300
20310
  const daysOfWeekLong = React55.useMemo(
20301
20311
  () => getWeekDayNamesForLocale(locale, "long", timezone),
20302
20312
  [locale, timezone]
20303
20313
  );
20304
- const daysOfWeek = React55.useMemo(
20314
+ const daysOfWeekNarrow = React55.useMemo(
20305
20315
  () => getWeekDayNamesForLocale(locale, "narrow", timezone),
20306
20316
  [locale, timezone]
20307
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;
20308
20325
  return /* @__PURE__ */ jsx108(
20309
20326
  Stack_default,
20310
20327
  {
@@ -20312,12 +20329,16 @@ var DaysOfWeekRow = () => {
20312
20329
  sx: {
20313
20330
  padding: "0 8px",
20314
20331
  height: "32px",
20315
- backgroundColor: grey100,
20332
+ backgroundColor: transparentBackground ? "transparent" : theme2.palette.grey[100],
20316
20333
  alignItems: "center"
20317
20334
  },
20318
20335
  children: daysOfWeek.map((day, index) => /* @__PURE__ */ jsx108(Tooltip_default, { title: daysOfWeekLong[index], children: /* @__PURE__ */ jsx108(
20319
20336
  Typography_default,
20320
20337
  {
20338
+ ...dayLabelFormat === "short-lowercase" && {
20339
+ variant: "body2",
20340
+ color: theme2.palette.grey[600]
20341
+ },
20321
20342
  sx: {
20322
20343
  flex: "1 1 0",
20323
20344
  textAlign: "center",
@@ -26647,12 +26668,198 @@ var PageSelector = ({
26647
26668
  };
26648
26669
  var PageSelector_default = PageSelector;
26649
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
+
26650
26857
  // src/components/loader/Loader.tsx
26651
26858
  import Fade from "@mui/material/Fade";
26652
26859
 
26653
26860
  // src/components/progress/LinearProgress.tsx
26654
26861
  import MuiLinearProgress from "@mui/material/LinearProgress";
26655
- import { jsx as jsx149 } from "react/jsx-runtime";
26862
+ import { jsx as jsx150 } from "react/jsx-runtime";
26656
26863
  var LinearProgress = ({
26657
26864
  color: color2,
26658
26865
  backgroundColor: backgroundColor2,
@@ -26660,7 +26867,7 @@ var LinearProgress = ({
26660
26867
  ...rest
26661
26868
  }) => {
26662
26869
  const { palette: palette2 } = useCustomTheme();
26663
- return /* @__PURE__ */ jsx149(
26870
+ return /* @__PURE__ */ jsx150(
26664
26871
  MuiLinearProgress,
26665
26872
  {
26666
26873
  ...rest,
@@ -26677,11 +26884,11 @@ var LinearProgress = ({
26677
26884
  var LinearProgress_default = LinearProgress;
26678
26885
 
26679
26886
  // src/components/progress/CircularProgress.tsx
26680
- import * as React87 from "react";
26887
+ import * as React88 from "react";
26681
26888
  import MuiCircularProgress from "@mui/material/CircularProgress";
26682
26889
  import Typography3 from "@mui/material/Typography";
26683
26890
  import Box4 from "@mui/material/Box";
26684
- import { jsx as jsx150, jsxs as jsxs77 } from "react/jsx-runtime";
26891
+ import { jsx as jsx151, jsxs as jsxs78 } from "react/jsx-runtime";
26685
26892
  var circularSizesPxMap = {
26686
26893
  XS: "20px",
26687
26894
  SM: "24px",
@@ -26703,10 +26910,10 @@ var CircularProgress = ({
26703
26910
  typographyColor = black,
26704
26911
  gradientColors
26705
26912
  }) => {
26706
- const gradientName = React87.useRef(
26913
+ const gradientName = React88.useRef(
26707
26914
  gradientColors ? crypto.randomUUID() : void 0
26708
26915
  );
26709
- return /* @__PURE__ */ jsxs77(
26916
+ return /* @__PURE__ */ jsxs78(
26710
26917
  Box4,
26711
26918
  {
26712
26919
  sx: {
@@ -26720,7 +26927,7 @@ var CircularProgress = ({
26720
26927
  }
26721
26928
  },
26722
26929
  children: [
26723
- 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(
26724
26931
  "linearGradient",
26725
26932
  {
26726
26933
  id: gradientName.current,
@@ -26729,14 +26936,14 @@ var CircularProgress = ({
26729
26936
  x2: "0%",
26730
26937
  y2: "100%",
26731
26938
  children: [
26732
- /* @__PURE__ */ jsx150(
26939
+ /* @__PURE__ */ jsx151(
26733
26940
  "stop",
26734
26941
  {
26735
26942
  offset: "0%",
26736
26943
  stopColor: gradientColors.startColor
26737
26944
  }
26738
26945
  ),
26739
- /* @__PURE__ */ jsx150(
26946
+ /* @__PURE__ */ jsx151(
26740
26947
  "stop",
26741
26948
  {
26742
26949
  offset: "100%",
@@ -26746,7 +26953,7 @@ var CircularProgress = ({
26746
26953
  ]
26747
26954
  }
26748
26955
  ) }) }),
26749
- showCircularBackground && /* @__PURE__ */ jsx150(
26956
+ showCircularBackground && /* @__PURE__ */ jsx151(
26750
26957
  Box4,
26751
26958
  {
26752
26959
  sx: {
@@ -26759,7 +26966,7 @@ var CircularProgress = ({
26759
26966
  maxHeight: circularSizesPxMap[size]
26760
26967
  }
26761
26968
  },
26762
- children: /* @__PURE__ */ jsx150(
26969
+ children: /* @__PURE__ */ jsx151(
26763
26970
  MuiCircularProgress,
26764
26971
  {
26765
26972
  variant: "determinate",
@@ -26771,7 +26978,7 @@ var CircularProgress = ({
26771
26978
  )
26772
26979
  }
26773
26980
  ),
26774
- /* @__PURE__ */ jsx150(
26981
+ /* @__PURE__ */ jsx151(
26775
26982
  MuiCircularProgress,
26776
26983
  {
26777
26984
  variant,
@@ -26800,7 +27007,7 @@ var CircularProgress = ({
26800
27007
  thickness
26801
27008
  }
26802
27009
  ),
26803
- variant !== "indeterminate" && /* @__PURE__ */ jsx150(
27010
+ variant !== "indeterminate" && /* @__PURE__ */ jsx151(
26804
27011
  Box4,
26805
27012
  {
26806
27013
  sx: {
@@ -26815,7 +27022,7 @@ var CircularProgress = ({
26815
27022
  height: circularSizesPxMap[size],
26816
27023
  width: circularSizesPxMap[size]
26817
27024
  },
26818
- children: typeof label === "string" ? /* @__PURE__ */ jsx150(
27025
+ children: typeof label === "string" ? /* @__PURE__ */ jsx151(
26819
27026
  Typography3,
26820
27027
  {
26821
27028
  variant: typographyVariant,
@@ -26835,7 +27042,7 @@ var CircularProgress_default = CircularProgress;
26835
27042
  // src/components/progress/DonutProgress.tsx
26836
27043
  import Box5 from "@mui/material/Box";
26837
27044
  import { Stack as Stack13 } from "@mui/material";
26838
- import { jsx as jsx151, jsxs as jsxs78 } from "react/jsx-runtime";
27045
+ import { jsx as jsx152, jsxs as jsxs79 } from "react/jsx-runtime";
26839
27046
  var CIRCULAR_PROGRESS_PERCENTAGE = 85;
26840
27047
  var variants2 = {
26841
27048
  empty: {
@@ -26874,9 +27081,9 @@ var DonutProgress = ({
26874
27081
  labelChip,
26875
27082
  showPercentageSymbol
26876
27083
  }) => {
26877
- const getPercentageWithSymbol = () => /* @__PURE__ */ jsxs78(Stack13, { direction: "row", alignItems: "center", position: "relative", children: [
26878
- /* @__PURE__ */ jsx151(Typography_default, { variant: "h6", component: "div", color: grey800, children: label }),
26879
- /* @__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(
26880
27087
  Typography_default,
26881
27088
  {
26882
27089
  variant: "tooltip",
@@ -26887,7 +27094,7 @@ var DonutProgress = ({
26887
27094
  }
26888
27095
  )
26889
27096
  ] });
26890
- return /* @__PURE__ */ jsxs78(
27097
+ return /* @__PURE__ */ jsxs79(
26891
27098
  Box5,
26892
27099
  {
26893
27100
  sx: {
@@ -26895,7 +27102,7 @@ var DonutProgress = ({
26895
27102
  width: "fit-content"
26896
27103
  },
26897
27104
  children: [
26898
- /* @__PURE__ */ jsx151(
27105
+ /* @__PURE__ */ jsx152(
26899
27106
  CircularProgress_default,
26900
27107
  {
26901
27108
  variant: "determinate",
@@ -26911,7 +27118,7 @@ var DonutProgress = ({
26911
27118
  color: variants2[variant].emptyColor
26912
27119
  }
26913
27120
  ),
26914
- /* @__PURE__ */ jsx151(
27121
+ /* @__PURE__ */ jsx152(
26915
27122
  Box5,
26916
27123
  {
26917
27124
  sx: {
@@ -26919,7 +27126,7 @@ var DonutProgress = ({
26919
27126
  top: 0,
26920
27127
  left: 0
26921
27128
  },
26922
- children: /* @__PURE__ */ jsx151(
27129
+ children: /* @__PURE__ */ jsx152(
26923
27130
  CircularProgress_default,
26924
27131
  {
26925
27132
  variant: "determinate",
@@ -26934,7 +27141,7 @@ var DonutProgress = ({
26934
27141
  )
26935
27142
  }
26936
27143
  ),
26937
- variant !== "empty" && labelChip && /* @__PURE__ */ jsx151(
27144
+ variant !== "empty" && labelChip && /* @__PURE__ */ jsx152(
26938
27145
  Box5,
26939
27146
  {
26940
27147
  sx: {
@@ -26951,7 +27158,7 @@ var DonutProgress = ({
26951
27158
  justifyContent: "center",
26952
27159
  boxSizing: "border-box"
26953
27160
  },
26954
- children: /* @__PURE__ */ jsx151(
27161
+ children: /* @__PURE__ */ jsx152(
26955
27162
  Typography_default,
26956
27163
  {
26957
27164
  variant: "tooltip",
@@ -26968,14 +27175,14 @@ var DonutProgress = ({
26968
27175
  var DonutProgress_default = DonutProgress;
26969
27176
 
26970
27177
  // src/components/loader/Loader.tsx
26971
- import { jsx as jsx152 } from "react/jsx-runtime";
27178
+ import { jsx as jsx153 } from "react/jsx-runtime";
26972
27179
  var Loader = ({
26973
27180
  isVisible,
26974
27181
  zIndex = 1e4,
26975
27182
  size,
26976
27183
  hideProgress = false,
26977
27184
  sx
26978
- }) => /* @__PURE__ */ jsx152(Fade, { in: isVisible, children: /* @__PURE__ */ jsx152(
27185
+ }) => /* @__PURE__ */ jsx153(Fade, { in: isVisible, children: /* @__PURE__ */ jsx153(
26979
27186
  Box_default2,
26980
27187
  {
26981
27188
  sx: {
@@ -26991,29 +27198,29 @@ var Loader = ({
26991
27198
  backgroundColor: whiteOpacity32,
26992
27199
  ...sx
26993
27200
  },
26994
- children: !hideProgress && /* @__PURE__ */ jsx152(CircularProgress_default, { size })
27201
+ children: !hideProgress && /* @__PURE__ */ jsx153(CircularProgress_default, { size })
26995
27202
  }
26996
27203
  ) });
26997
27204
  var Loader_default = Loader;
26998
27205
 
26999
27206
  // src/components/markdown/MarkdownRenderer.tsx
27000
- import React88 from "react";
27207
+ import React89 from "react";
27001
27208
  import Markdown from "markdown-to-jsx";
27002
27209
  import { styled as styled8 } from "@mui/material/styles";
27003
27210
  import "katex/dist/katex.min.css";
27004
27211
 
27005
27212
  // src/components/markdown/KatexRenderer.tsx
27006
27213
  import katex from "katex";
27007
- import { jsx as jsx153, jsxs as jsxs79 } from "react/jsx-runtime";
27214
+ import { jsx as jsx154, jsxs as jsxs80 } from "react/jsx-runtime";
27008
27215
  var KatexRenderer = ({ children, block }) => {
27009
27216
  try {
27010
27217
  const html2 = katex.renderToString(children, {
27011
27218
  throwOnError: false,
27012
27219
  displayMode: block
27013
27220
  });
27014
- return /* @__PURE__ */ jsx153("span", { dangerouslySetInnerHTML: { __html: html2 } });
27221
+ return /* @__PURE__ */ jsx154("span", { dangerouslySetInnerHTML: { __html: html2 } });
27015
27222
  } catch (err) {
27016
- return /* @__PURE__ */ jsxs79("pre", { style: { color: "red" }, children: [
27223
+ return /* @__PURE__ */ jsxs80("pre", { style: { color: "red" }, children: [
27017
27224
  "KaTeX error: $",
27018
27225
  err.message
27019
27226
  ] });
@@ -27022,7 +27229,7 @@ var KatexRenderer = ({ children, block }) => {
27022
27229
  var KatexRenderer_default = KatexRenderer;
27023
27230
 
27024
27231
  // src/components/markdown/MarkdownRenderer.tsx
27025
- import { jsx as jsx154 } from "react/jsx-runtime";
27232
+ import { jsx as jsx155 } from "react/jsx-runtime";
27026
27233
  var MarkdownContainer = styled8("div")(
27027
27234
  ({
27028
27235
  color: color2,
@@ -27126,11 +27333,11 @@ var renderWithMath = (text) => {
27126
27333
  const inline = match[2];
27127
27334
  if (block !== void 0) {
27128
27335
  parts.push(
27129
- /* @__PURE__ */ jsx154(KatexRenderer_default, { block: true, children: block.trim() }, start)
27336
+ /* @__PURE__ */ jsx155(KatexRenderer_default, { block: true, children: block.trim() }, start)
27130
27337
  );
27131
27338
  } else if (inline !== void 0) {
27132
27339
  parts.push(
27133
- /* @__PURE__ */ jsx154(KatexRenderer_default, { children: inline.trim() }, start)
27340
+ /* @__PURE__ */ jsx155(KatexRenderer_default, { children: inline.trim() }, start)
27134
27341
  );
27135
27342
  }
27136
27343
  lastIndex = regex.lastIndex;
@@ -27140,13 +27347,13 @@ var renderWithMath = (text) => {
27140
27347
  }
27141
27348
  return parts;
27142
27349
  };
27143
- var renderChildrenWithMath = (children) => React88.Children.map(children, (child) => {
27350
+ var renderChildrenWithMath = (children) => React89.Children.map(children, (child) => {
27144
27351
  if (typeof child === "string") {
27145
27352
  return renderWithMath(child);
27146
27353
  }
27147
- if (React88.isValidElement(child)) {
27354
+ if (React89.isValidElement(child)) {
27148
27355
  const element = child;
27149
- return React88.cloneElement(element, {
27356
+ return React89.cloneElement(element, {
27150
27357
  ...element.props,
27151
27358
  children: renderChildrenWithMath(element.props.children)
27152
27359
  });
@@ -27161,11 +27368,11 @@ var CodeOrMath = ({ children, ...props }) => {
27161
27368
  if (m) {
27162
27369
  const expr = m[1] || m[2] || "";
27163
27370
  const isBlock = Boolean(m[1]);
27164
- return /* @__PURE__ */ jsx154(KatexRenderer_default, { block: isBlock, children: expr.trim() });
27371
+ return /* @__PURE__ */ jsx155(KatexRenderer_default, { block: isBlock, children: expr.trim() });
27165
27372
  }
27166
27373
  const maybe = renderWithMath(s);
27167
27374
  const onlyText = maybe.length === 1 && typeof maybe[0] === "string";
27168
- 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 });
27169
27376
  };
27170
27377
  var escapeInlineUnderscores = (s) => s.replace(/(\S)_(\S)/g, "$1\\_$2");
27171
27378
  var MarkdownRenderer = ({
@@ -27175,19 +27382,19 @@ var MarkdownRenderer = ({
27175
27382
  }) => {
27176
27383
  const protectedText = escapeInlineUnderscores(text || "");
27177
27384
  const normalized = normalizeLatexDelimiters(protectedText);
27178
- return /* @__PURE__ */ jsx154(
27385
+ return /* @__PURE__ */ jsx155(
27179
27386
  MarkdownContainer,
27180
27387
  {
27181
27388
  className: `markdown-container ${className || ""}`,
27182
27389
  ...rest,
27183
- children: /* @__PURE__ */ jsx154(
27390
+ children: /* @__PURE__ */ jsx155(
27184
27391
  Markdown,
27185
27392
  {
27186
27393
  options: {
27187
27394
  forceBlock: true,
27188
27395
  overrides: {
27189
27396
  p: {
27190
- component: ({ children, ...props }) => /* @__PURE__ */ jsx154("p", { ...props, children: renderChildrenWithMath(children) })
27397
+ component: ({ children, ...props }) => /* @__PURE__ */ jsx155("p", { ...props, children: renderChildrenWithMath(children) })
27191
27398
  },
27192
27399
  code: { component: CodeOrMath }
27193
27400
  }
@@ -27202,7 +27409,7 @@ var MarkdownRenderer_default = MarkdownRenderer;
27202
27409
 
27203
27410
  // src/components/navbar/Navbar.tsx
27204
27411
  import { Drawer as Drawer2 } from "@mui/material";
27205
- 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";
27206
27413
  var Navbar = ({
27207
27414
  topContent,
27208
27415
  bottomContent,
@@ -27210,8 +27417,8 @@ var Navbar = ({
27210
27417
  drawerBottomContent,
27211
27418
  onClose,
27212
27419
  isDrawerOpen = false
27213
- }) => /* @__PURE__ */ jsxs80(Fragment42, { children: [
27214
- /* @__PURE__ */ jsxs80(
27420
+ }) => /* @__PURE__ */ jsxs81(Fragment42, { children: [
27421
+ /* @__PURE__ */ jsxs81(
27215
27422
  Box_default2,
27216
27423
  {
27217
27424
  sx: {
@@ -27226,12 +27433,12 @@ var Navbar = ({
27226
27433
  },
27227
27434
  className: "Slim-Vertical-Scroll",
27228
27435
  children: [
27229
- /* @__PURE__ */ jsx155(Box_default2, { children: topContent }),
27230
- /* @__PURE__ */ jsx155(Box_default2, { children: bottomContent })
27436
+ /* @__PURE__ */ jsx156(Box_default2, { children: topContent }),
27437
+ /* @__PURE__ */ jsx156(Box_default2, { children: bottomContent })
27231
27438
  ]
27232
27439
  }
27233
27440
  ),
27234
- /* @__PURE__ */ jsxs80(
27441
+ /* @__PURE__ */ jsxs81(
27235
27442
  Drawer2,
27236
27443
  {
27237
27444
  open: isDrawerOpen,
@@ -27254,8 +27461,8 @@ var Navbar = ({
27254
27461
  },
27255
27462
  onClose,
27256
27463
  children: [
27257
- /* @__PURE__ */ jsx155("div", { children: drawerTopContent }),
27258
- /* @__PURE__ */ jsx155("div", { children: drawerBottomContent })
27464
+ /* @__PURE__ */ jsx156("div", { children: drawerTopContent }),
27465
+ /* @__PURE__ */ jsx156("div", { children: drawerBottomContent })
27259
27466
  ]
27260
27467
  }
27261
27468
  )
@@ -27263,10 +27470,10 @@ var Navbar = ({
27263
27470
  var Navbar_default = Navbar;
27264
27471
 
27265
27472
  // src/components/navbar/NavbarButton.tsx
27266
- import * as React89 from "react";
27473
+ import * as React90 from "react";
27267
27474
  import { Box as Box6, ButtonBase as ButtonBase2 } from "@mui/material";
27268
- import { jsx as jsx156, jsxs as jsxs81 } from "react/jsx-runtime";
27269
- var NavbarButton = React89.forwardRef(
27475
+ import { jsx as jsx157, jsxs as jsxs82 } from "react/jsx-runtime";
27476
+ var NavbarButton = React90.forwardRef(
27270
27477
  function NavbarButton2({
27271
27478
  iconId,
27272
27479
  srcUrl,
@@ -27281,7 +27488,7 @@ var NavbarButton = React89.forwardRef(
27281
27488
  if (!highlighted) {
27282
27489
  return element;
27283
27490
  }
27284
- return /* @__PURE__ */ jsxs81(
27491
+ return /* @__PURE__ */ jsxs82(
27285
27492
  Box6,
27286
27493
  {
27287
27494
  sx: {
@@ -27291,7 +27498,7 @@ var NavbarButton = React89.forwardRef(
27291
27498
  position: "relative"
27292
27499
  },
27293
27500
  children: [
27294
- /* @__PURE__ */ jsx156(
27501
+ /* @__PURE__ */ jsx157(
27295
27502
  Box6,
27296
27503
  {
27297
27504
  sx: {
@@ -27307,7 +27514,7 @@ var NavbarButton = React89.forwardRef(
27307
27514
  }
27308
27515
  }
27309
27516
  ),
27310
- /* @__PURE__ */ jsx156(
27517
+ /* @__PURE__ */ jsx157(
27311
27518
  Box6,
27312
27519
  {
27313
27520
  sx: {
@@ -27322,7 +27529,7 @@ var NavbarButton = React89.forwardRef(
27322
27529
  }
27323
27530
  );
27324
27531
  };
27325
- return /* @__PURE__ */ jsxs81(
27532
+ return /* @__PURE__ */ jsxs82(
27326
27533
  ButtonBase2,
27327
27534
  {
27328
27535
  className: "NavbarButton-root",
@@ -27340,7 +27547,7 @@ var NavbarButton = React89.forwardRef(
27340
27547
  },
27341
27548
  children: [
27342
27549
  srcUrl ? getButtonContent(
27343
- /* @__PURE__ */ jsx156(
27550
+ /* @__PURE__ */ jsx157(
27344
27551
  Avatar_default,
27345
27552
  {
27346
27553
  className: "NavbarButton-icon",
@@ -27350,7 +27557,7 @@ var NavbarButton = React89.forwardRef(
27350
27557
  }
27351
27558
  )
27352
27559
  ) : getButtonContent(
27353
- /* @__PURE__ */ jsx156(
27560
+ /* @__PURE__ */ jsx157(
27354
27561
  Icon_default,
27355
27562
  {
27356
27563
  id: iconId,
@@ -27366,7 +27573,7 @@ var NavbarButton = React89.forwardRef(
27366
27573
  }
27367
27574
  )
27368
27575
  ),
27369
- badgeIconProps && /* @__PURE__ */ jsx156(
27576
+ badgeIconProps && /* @__PURE__ */ jsx157(
27370
27577
  Icon_default,
27371
27578
  {
27372
27579
  ...badgeIconProps,
@@ -27388,8 +27595,8 @@ var NavbarButton = React89.forwardRef(
27388
27595
  var NavbarButton_default = NavbarButton;
27389
27596
 
27390
27597
  // src/components/navbar/NavbarHeader.tsx
27391
- import { jsx as jsx157 } from "react/jsx-runtime";
27392
- var NavbarHeader = ({ text }) => /* @__PURE__ */ jsx157(
27598
+ import { jsx as jsx158 } from "react/jsx-runtime";
27599
+ var NavbarHeader = ({ text }) => /* @__PURE__ */ jsx158(
27393
27600
  Typography_default,
27394
27601
  {
27395
27602
  sx: {
@@ -27409,12 +27616,12 @@ var NavbarHeader = ({ text }) => /* @__PURE__ */ jsx157(
27409
27616
  var NavbarHeader_default = NavbarHeader;
27410
27617
 
27411
27618
  // src/components/navbar/NavbarLogo.tsx
27412
- import * as React90 from "react";
27619
+ import * as React91 from "react";
27413
27620
  import { ButtonBase as ButtonBase3 } from "@mui/material";
27414
- import { jsx as jsx158 } from "react/jsx-runtime";
27415
- var NavbarLogo = React90.forwardRef(
27621
+ import { jsx as jsx159 } from "react/jsx-runtime";
27622
+ var NavbarLogo = React91.forwardRef(
27416
27623
  function NavbarButton3({ src, ...rest }, ref) {
27417
- return /* @__PURE__ */ jsx158(
27624
+ return /* @__PURE__ */ jsx159(
27418
27625
  ButtonBase3,
27419
27626
  {
27420
27627
  ref,
@@ -27425,7 +27632,7 @@ var NavbarLogo = React90.forwardRef(
27425
27632
  borderBottom: `1px solid ${grey200}`,
27426
27633
  boxSizing: "border-box"
27427
27634
  },
27428
- children: /* @__PURE__ */ jsx158("img", { src, width: "32px", height: "32px" })
27635
+ children: /* @__PURE__ */ jsx159("img", { src, width: "32px", height: "32px" })
27429
27636
  }
27430
27637
  );
27431
27638
  }
@@ -27433,8 +27640,8 @@ var NavbarLogo = React90.forwardRef(
27433
27640
  var NavbarLogo_default = NavbarLogo;
27434
27641
 
27435
27642
  // src/components/overlay/DonutFocusOverlay.tsx
27436
- import * as React91 from "react";
27437
- 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";
27438
27645
  var DonutFocusOverlay = ({
27439
27646
  isVisible,
27440
27647
  elementRef,
@@ -27443,8 +27650,8 @@ var DonutFocusOverlay = ({
27443
27650
  chipLabel,
27444
27651
  chipPosition = "right"
27445
27652
  }) => {
27446
- const [clientRect, setClientRect] = React91.useState();
27447
- React91.useEffect(() => {
27653
+ const [clientRect, setClientRect] = React92.useState();
27654
+ React92.useEffect(() => {
27448
27655
  if (!elementRef?.current) {
27449
27656
  setClientRect(void 0);
27450
27657
  return;
@@ -27475,8 +27682,8 @@ var DonutFocusOverlay = ({
27475
27682
  const internalTopHalfCircle = `${internalCircleRadius} ${internalCircleRadius} 0 0 1 ${startPointX + donutWidth + internalCircleRadius * 2} ${startPointY}`;
27476
27683
  const externalTopHalfCircle = `${externalCircleRadius} ${externalCircleRadius} 0 0 0 ${startPointX} ${startPointY}`;
27477
27684
  const path = `path("M ${startPointX} ${startPointY} A ${externalBottomHalfCircle} m ${-donutWidth} 0 A ${internalBottomHalfCircle} A ${internalTopHalfCircle} m ${donutWidth} 0 A ${externalTopHalfCircle} Z")`;
27478
- return /* @__PURE__ */ jsxs82(Fragment43, { children: [
27479
- /* @__PURE__ */ jsx159(
27685
+ return /* @__PURE__ */ jsxs83(Fragment43, { children: [
27686
+ /* @__PURE__ */ jsx160(
27480
27687
  Box_default2,
27481
27688
  {
27482
27689
  sx: {
@@ -27493,7 +27700,7 @@ var DonutFocusOverlay = ({
27493
27700
  }
27494
27701
  }
27495
27702
  ),
27496
- chipLabel && /* @__PURE__ */ jsx159(
27703
+ chipLabel && /* @__PURE__ */ jsx160(
27497
27704
  Chip_default,
27498
27705
  {
27499
27706
  label: chipLabel,
@@ -27520,7 +27727,7 @@ var DonutFocusOverlay = ({
27520
27727
  var DonutFocusOverlay_default = DonutFocusOverlay;
27521
27728
 
27522
27729
  // src/components/pager/Pager.tsx
27523
- 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";
27524
27731
  var Pager = ({
27525
27732
  page,
27526
27733
  pageSize,
@@ -27534,10 +27741,10 @@ var Pager = ({
27534
27741
  const to = Math.min(current + pageSize, total);
27535
27742
  const pages = Math.max(Math.ceil(total / pageSize), 1);
27536
27743
  const options = [...Array(pages).keys()].map((i) => ({ value: i + 1 }));
27537
- const Label = ({ children }) => /* @__PURE__ */ jsx160(Typography_default, { color: Colors_exports.grey400, sx: { padding: "0 8px" }, children });
27538
- return /* @__PURE__ */ jsxs83(Stack_default, { direction: "row", sx: { alignItems: "center" }, children: [
27539
- /* @__PURE__ */ jsx160(Label, { children: t("PAGER.PAGE") }),
27540
- /* @__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(
27541
27748
  Select_default,
27542
27749
  {
27543
27750
  value: page,
@@ -27546,9 +27753,9 @@ var Pager = ({
27546
27753
  sx: { minWidth: 78 }
27547
27754
  }
27548
27755
  ),
27549
- allowedPageSizes && /* @__PURE__ */ jsxs83(Fragment44, { children: [
27550
- /* @__PURE__ */ jsx160(Label, { children: t("PAGER.ROWS_PER_PAGE") }),
27551
- /* @__PURE__ */ jsx160(
27756
+ allowedPageSizes && /* @__PURE__ */ jsxs84(Fragment44, { children: [
27757
+ /* @__PURE__ */ jsx161(Label, { children: t("PAGER.ROWS_PER_PAGE") }),
27758
+ /* @__PURE__ */ jsx161(
27552
27759
  Select_default,
27553
27760
  {
27554
27761
  value: pageSize,
@@ -27562,7 +27769,7 @@ var Pager = ({
27562
27769
  }
27563
27770
  )
27564
27771
  ] }),
27565
- /* @__PURE__ */ jsxs83(Label, { children: [
27772
+ /* @__PURE__ */ jsxs84(Label, { children: [
27566
27773
  from,
27567
27774
  " - ",
27568
27775
  to,
@@ -27571,7 +27778,7 @@ var Pager = ({
27571
27778
  " ",
27572
27779
  total
27573
27780
  ] }),
27574
- /* @__PURE__ */ jsx160(
27781
+ /* @__PURE__ */ jsx161(
27575
27782
  IconButton_default,
27576
27783
  {
27577
27784
  disabled: page <= 1,
@@ -27579,7 +27786,7 @@ var Pager = ({
27579
27786
  onClick: () => onPageChange(page - 1, pageSize)
27580
27787
  }
27581
27788
  ),
27582
- /* @__PURE__ */ jsx160(
27789
+ /* @__PURE__ */ jsx161(
27583
27790
  IconButton_default,
27584
27791
  {
27585
27792
  disabled: page > total / pageSize,
@@ -27593,17 +27800,17 @@ var Pager_default = Pager;
27593
27800
 
27594
27801
  // src/components/scrollable/HorizontalScrollable.tsx
27595
27802
  import { ButtonBase as ButtonBase4 } from "@mui/material";
27596
- import * as React92 from "react";
27597
- 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";
27598
27805
  var HorizontalScrollable = ({
27599
27806
  style: style3,
27600
27807
  children,
27601
27808
  stepDistance = 200
27602
27809
  }) => {
27603
- const horizontalContainerRef = React92.useRef(null);
27604
- const [isLeftArrowHidden, setLeftArrowHidden] = React92.useState(true);
27605
- const [isRightArrowHidden, setRightArrowHidden] = React92.useState(true);
27606
- 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(() => {
27607
27814
  if (!horizontalContainerRef.current) {
27608
27815
  return;
27609
27816
  }
@@ -27643,8 +27850,8 @@ var HorizontalScrollable = ({
27643
27850
  );
27644
27851
  current.scrollBy(stepDistance, 0);
27645
27852
  };
27646
- return /* @__PURE__ */ jsxs84(Box_default2, { sx: { position: "relative", ...style3 }, children: [
27647
- /* @__PURE__ */ jsx161(
27853
+ return /* @__PURE__ */ jsxs85(Box_default2, { sx: { position: "relative", ...style3 }, children: [
27854
+ /* @__PURE__ */ jsx162(
27648
27855
  ButtonBase4,
27649
27856
  {
27650
27857
  sx: {
@@ -27661,10 +27868,10 @@ var HorizontalScrollable = ({
27661
27868
  ...isLeftArrowHidden && { display: "none" }
27662
27869
  },
27663
27870
  onClick: () => leftScroll(),
27664
- children: /* @__PURE__ */ jsx161(Icon_default, { id: "chevron-left" })
27871
+ children: /* @__PURE__ */ jsx162(Icon_default, { id: "chevron-left" })
27665
27872
  }
27666
27873
  ),
27667
- /* @__PURE__ */ jsx161(
27874
+ /* @__PURE__ */ jsx162(
27668
27875
  Box_default2,
27669
27876
  {
27670
27877
  ref: horizontalContainerRef,
@@ -27683,7 +27890,7 @@ var HorizontalScrollable = ({
27683
27890
  children
27684
27891
  }
27685
27892
  ),
27686
- /* @__PURE__ */ jsx161(
27893
+ /* @__PURE__ */ jsx162(
27687
27894
  ButtonBase4,
27688
27895
  {
27689
27896
  sx: {
@@ -27700,7 +27907,7 @@ var HorizontalScrollable = ({
27700
27907
  ...isRightArrowHidden && { display: "none" }
27701
27908
  },
27702
27909
  onClick: () => rightScroll(),
27703
- children: /* @__PURE__ */ jsx161(Icon_default, { id: "chevron-right" })
27910
+ children: /* @__PURE__ */ jsx162(Icon_default, { id: "chevron-right" })
27704
27911
  }
27705
27912
  )
27706
27913
  ] });
@@ -27708,8 +27915,8 @@ var HorizontalScrollable = ({
27708
27915
  var HorizontalScrollable_default = HorizontalScrollable;
27709
27916
 
27710
27917
  // src/components/scrollable/Carousel.tsx
27711
- import * as React93 from "react";
27712
- 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";
27713
27920
  var buttonStyles = {
27714
27921
  color: grey800,
27715
27922
  position: "absolute",
@@ -27728,23 +27935,23 @@ function Carousel({
27728
27935
  padding: padding2 = 8,
27729
27936
  alignment = "left"
27730
27937
  }) {
27731
- const rootRef = React93.useRef(null);
27732
- const containerRef = React93.useRef(null);
27733
- const previousClientWidth = React93.useRef(null);
27734
- const isScrolling = React93.useRef(false);
27735
- const [isLeftArrowHidden, setLeftArrowHidden] = React93.useState(true);
27736
- const [isRightArrowHidden, setRightArrowHidden] = React93.useState(true);
27737
- const [paddingElement, setPaddingElement] = React93.useState();
27738
- const [visibleCount, setVisibleCount] = React93.useState();
27739
- const showedElementsRef = React93.useRef(void 0);
27740
- 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(() => {
27741
27948
  if (!showedElementsRef.current) {
27742
27949
  return;
27743
27950
  }
27744
27951
  setLeftArrowHidden(showedElementsRef.current.start === 0);
27745
27952
  setRightArrowHidden(showedElementsRef.current.end === items.length - 1);
27746
27953
  }, [items.length]);
27747
- const getUsableWidth = React93.useCallback(
27954
+ const getUsableWidth = React94.useCallback(
27748
27955
  (el) => {
27749
27956
  let current = el;
27750
27957
  while (current) {
@@ -27758,7 +27965,7 @@ function Carousel({
27758
27965
  },
27759
27966
  []
27760
27967
  );
27761
- const resetCarousel = React93.useCallback(
27968
+ const resetCarousel = React94.useCallback(
27762
27969
  (root, container) => {
27763
27970
  root.style.width = "";
27764
27971
  showedElementsRef.current = void 0;
@@ -27766,7 +27973,7 @@ function Carousel({
27766
27973
  },
27767
27974
  []
27768
27975
  );
27769
- const setMeasures = React93.useCallback(
27976
+ const setMeasures = React94.useCallback(
27770
27977
  (root, container, nextElementsIndex) => {
27771
27978
  const children = Array.from(container.children);
27772
27979
  if (children.length === 0) {
@@ -27795,7 +28002,7 @@ function Carousel({
27795
28002
  },
27796
28003
  [alignment, gap2, getUsableWidth, items.length, padding2]
27797
28004
  );
27798
- const updateVisibleCount = React93.useCallback(() => {
28005
+ const updateVisibleCount = React94.useCallback(() => {
27799
28006
  const root = rootRef.current;
27800
28007
  const container = containerRef.current;
27801
28008
  if (!container || !parent) {
@@ -27842,7 +28049,7 @@ function Carousel({
27842
28049
  updateArrows,
27843
28050
  resetCarousel
27844
28051
  ]);
27845
- const getInitialWidth = React93.useCallback(
28052
+ const getInitialWidth = React94.useCallback(
27846
28053
  (el) => {
27847
28054
  let current = el;
27848
28055
  let width2 = 0;
@@ -27860,7 +28067,7 @@ function Carousel({
27860
28067
  },
27861
28068
  []
27862
28069
  );
27863
- const resizeObserverCallback = React93.useCallback(() => {
28070
+ const resizeObserverCallback = React94.useCallback(() => {
27864
28071
  if (!rootRef.current || !containerRef.current) {
27865
28072
  return;
27866
28073
  }
@@ -27871,7 +28078,7 @@ function Carousel({
27871
28078
  previousClientWidth.current = newClientWidth;
27872
28079
  updateVisibleCount();
27873
28080
  }, [getInitialWidth, updateVisibleCount]);
27874
- React93.useEffect(() => {
28081
+ React94.useEffect(() => {
27875
28082
  const container = containerRef.current;
27876
28083
  if (!container) {
27877
28084
  return;
@@ -27961,7 +28168,7 @@ function Carousel({
27961
28168
  }
27962
28169
  scrollHorizontal(scrollData);
27963
28170
  };
27964
- 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(
27965
28172
  Box_default2,
27966
28173
  {
27967
28174
  sx: {
@@ -27973,7 +28180,7 @@ function Carousel({
27973
28180
  }
27974
28181
  },
27975
28182
  children: [
27976
- /* @__PURE__ */ jsx162(
28183
+ /* @__PURE__ */ jsx163(
27977
28184
  IconButton_default,
27978
28185
  {
27979
28186
  iconId: "chevron-left",
@@ -27986,7 +28193,7 @@ function Carousel({
27986
28193
  onClick: () => scrollToNext("left")
27987
28194
  }
27988
28195
  ),
27989
- /* @__PURE__ */ jsx162(
28196
+ /* @__PURE__ */ jsx163(
27990
28197
  Box_default2,
27991
28198
  {
27992
28199
  ref: containerRef,
@@ -28000,7 +28207,7 @@ function Carousel({
28000
28207
  "::-webkit-scrollbar": { display: "none" },
28001
28208
  gap: `${gap2}px`
28002
28209
  },
28003
- children: items.map((item, index) => /* @__PURE__ */ jsx162(
28210
+ children: items.map((item, index) => /* @__PURE__ */ jsx163(
28004
28211
  Box_default2,
28005
28212
  {
28006
28213
  sx: {
@@ -28012,7 +28219,7 @@ function Carousel({
28012
28219
  ))
28013
28220
  }
28014
28221
  ),
28015
- /* @__PURE__ */ jsx162(
28222
+ /* @__PURE__ */ jsx163(
28016
28223
  IconButton_default,
28017
28224
  {
28018
28225
  iconId: "chevron-right",
@@ -28035,12 +28242,12 @@ var Carousel_default = Carousel;
28035
28242
  import {
28036
28243
  SnackbarProvider as NotistackSnackbarProvider
28037
28244
  } from "notistack";
28038
- import { jsx as jsx163 } from "react/jsx-runtime";
28245
+ import { jsx as jsx164 } from "react/jsx-runtime";
28039
28246
  var SnackbarProvider = ({
28040
28247
  children,
28041
28248
  maxSnack = 3,
28042
28249
  domRoot
28043
- }) => /* @__PURE__ */ jsx163(
28250
+ }) => /* @__PURE__ */ jsx164(
28044
28251
  NotistackSnackbarProvider,
28045
28252
  {
28046
28253
  maxSnack,
@@ -28058,10 +28265,10 @@ import {
28058
28265
  } from "notistack";
28059
28266
 
28060
28267
  // src/components/snackbar/Snackbar.tsx
28061
- import * as React94 from "react";
28268
+ import * as React95 from "react";
28062
28269
  import { SnackbarContent } from "notistack";
28063
28270
  import { Typography as Typography4 } from "@mui/material";
28064
- import { jsx as jsx164, jsxs as jsxs86 } from "react/jsx-runtime";
28271
+ import { jsx as jsx165, jsxs as jsxs87 } from "react/jsx-runtime";
28065
28272
  var sizeStyles5 = {
28066
28273
  M: {
28067
28274
  width: "344px",
@@ -28086,7 +28293,7 @@ var iconColors = {
28086
28293
  error: error300,
28087
28294
  warning: complementary300
28088
28295
  };
28089
- var Snackbar = React94.forwardRef(
28296
+ var Snackbar = React95.forwardRef(
28090
28297
  function Snackbar2({
28091
28298
  severity = "info",
28092
28299
  message,
@@ -28098,13 +28305,13 @@ var Snackbar = React94.forwardRef(
28098
28305
  identifierKey: key,
28099
28306
  dataTestKey
28100
28307
  }, ref) {
28101
- const actionClickHandler = React94.useCallback(() => {
28308
+ const actionClickHandler = React95.useCallback(() => {
28102
28309
  onActionClick && onActionClick(key);
28103
28310
  }, [onActionClick, key]);
28104
- const closeClickHandler = React94.useCallback(() => {
28311
+ const closeClickHandler = React95.useCallback(() => {
28105
28312
  onCloseClick && onCloseClick(key);
28106
28313
  }, [onCloseClick, key]);
28107
- return /* @__PURE__ */ jsx164(
28314
+ return /* @__PURE__ */ jsx165(
28108
28315
  SnackbarContent,
28109
28316
  {
28110
28317
  ref,
@@ -28122,14 +28329,14 @@ var Snackbar = React94.forwardRef(
28122
28329
  ...dataTestKey && {
28123
28330
  "data-test": dataTestKey
28124
28331
  },
28125
- children: /* @__PURE__ */ jsxs86(
28332
+ children: /* @__PURE__ */ jsxs87(
28126
28333
  Stack_default,
28127
28334
  {
28128
28335
  direction: "row",
28129
28336
  spacing: 2,
28130
28337
  sx: { width: "100%", alignItems: "center" },
28131
28338
  children: [
28132
- withIcon && /* @__PURE__ */ jsx164(
28339
+ withIcon && /* @__PURE__ */ jsx165(
28133
28340
  Box_default2,
28134
28341
  {
28135
28342
  sx: {
@@ -28137,10 +28344,10 @@ var Snackbar = React94.forwardRef(
28137
28344
  flexShrink: 0,
28138
28345
  color: iconColors[severity]
28139
28346
  },
28140
- children: /* @__PURE__ */ jsx164(Icon_default, { id: severityIcons[severity] })
28347
+ children: /* @__PURE__ */ jsx165(Icon_default, { id: severityIcons[severity] })
28141
28348
  }
28142
28349
  ),
28143
- /* @__PURE__ */ jsx164(
28350
+ /* @__PURE__ */ jsx165(
28144
28351
  Typography4,
28145
28352
  {
28146
28353
  variant: "body2",
@@ -28148,7 +28355,7 @@ var Snackbar = React94.forwardRef(
28148
28355
  children: message
28149
28356
  }
28150
28357
  ),
28151
- 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(
28152
28359
  Button_default,
28153
28360
  {
28154
28361
  sx: {
@@ -28163,7 +28370,7 @@ var Snackbar = React94.forwardRef(
28163
28370
  onClick: actionClickHandler
28164
28371
  }
28165
28372
  ) }),
28166
- /* @__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(
28167
28374
  IconButton_default,
28168
28375
  {
28169
28376
  iconId: "close",
@@ -28188,7 +28395,7 @@ var Snackbar_default = Snackbar;
28188
28395
 
28189
28396
  // src/components/snackbar/enqueueSnackbar.tsx
28190
28397
  import { closeSnackbar as closeSnackbar2 } from "notistack";
28191
- import { jsx as jsx165 } from "react/jsx-runtime";
28398
+ import { jsx as jsx166 } from "react/jsx-runtime";
28192
28399
  var enqueueSnackbar = (message, options = {}) => {
28193
28400
  const {
28194
28401
  persist,
@@ -28204,7 +28411,7 @@ var enqueueSnackbar = (message, options = {}) => {
28204
28411
  autoHideDuration: autoHideDurationMs ?? 1e4,
28205
28412
  persist: persist ?? false,
28206
28413
  content(key, message2) {
28207
- return /* @__PURE__ */ jsx165(
28414
+ return /* @__PURE__ */ jsx166(
28208
28415
  Snackbar_default,
28209
28416
  {
28210
28417
  identifierKey: key,
@@ -28221,7 +28428,7 @@ var enqueueSnackbar = (message, options = {}) => {
28221
28428
 
28222
28429
  // src/components/tab/TabButton.tsx
28223
28430
  import MuiTab from "@mui/material/Tab";
28224
- import { jsx as jsx166 } from "react/jsx-runtime";
28431
+ import { jsx as jsx167 } from "react/jsx-runtime";
28225
28432
  var TabButton = ({
28226
28433
  children,
28227
28434
  disabled = false,
@@ -28229,10 +28436,10 @@ var TabButton = ({
28229
28436
  marginRight = "0px",
28230
28437
  dataTestId,
28231
28438
  ...rest
28232
- }) => /* @__PURE__ */ jsx166(
28439
+ }) => /* @__PURE__ */ jsx167(
28233
28440
  MuiTab,
28234
28441
  {
28235
- label: /* @__PURE__ */ jsx166(
28442
+ label: /* @__PURE__ */ jsx167(
28236
28443
  "div",
28237
28444
  {
28238
28445
  style: {
@@ -28267,13 +28474,13 @@ var TabButton = ({
28267
28474
  var TabButton_default = TabButton;
28268
28475
 
28269
28476
  // src/components/tab/Tabs.tsx
28270
- import * as React96 from "react";
28477
+ import * as React97 from "react";
28271
28478
  import MuiTabs from "@mui/material/Tabs";
28272
28479
 
28273
28480
  // src/components/layout/SwipeableViews.tsx
28274
- import * as React95 from "react";
28275
- import { useEffect as useEffect29, useRef as useRef33, useState as useState42 } from "react";
28276
- 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";
28277
28484
  var styles = {
28278
28485
  container: {
28279
28486
  maxHeight: "100%",
@@ -28309,9 +28516,9 @@ function SwipeableViews({
28309
28516
  const containerRef = useRef33(null);
28310
28517
  const scrollTimeout = useRef33(null);
28311
28518
  const scrollingMethod = useRef33("none");
28312
- const [previousIndex, setPreviousIndex] = useState42(index);
28519
+ const [previousIndex, setPreviousIndex] = useState43(index);
28313
28520
  const hideScrollAnimation = useRef33(true);
28314
- useEffect29(() => {
28521
+ useEffect30(() => {
28315
28522
  if (containerRef.current) {
28316
28523
  if (scrollingMethod.current === "manual") {
28317
28524
  scrollingMethod.current = "none";
@@ -28348,7 +28555,7 @@ function SwipeableViews({
28348
28555
  }
28349
28556
  }, [index]);
28350
28557
  const hasShowTab = (childIndex) => childIndex === index || childIndex === previousIndex;
28351
- return /* @__PURE__ */ jsx167(
28558
+ return /* @__PURE__ */ jsx168(
28352
28559
  "div",
28353
28560
  {
28354
28561
  ...rootProps,
@@ -28371,12 +28578,12 @@ function SwipeableViews({
28371
28578
  );
28372
28579
  }, 100);
28373
28580
  },
28374
- children: React95.Children.map(children, (child, childIndex) => {
28581
+ children: React96.Children.map(children, (child, childIndex) => {
28375
28582
  let mountedChild = false;
28376
- if (React95.isValidElement(child)) {
28583
+ if (React96.isValidElement(child)) {
28377
28584
  mountedChild = !!child.props.keepMounted;
28378
28585
  }
28379
- return /* @__PURE__ */ jsx167(
28586
+ return /* @__PURE__ */ jsx168(
28380
28587
  "div",
28381
28588
  {
28382
28589
  style: Object.assign(
@@ -28401,7 +28608,7 @@ function SwipeableViews({
28401
28608
  }
28402
28609
 
28403
28610
  // src/components/tab/Tabs.tsx
28404
- import { jsx as jsx168, jsxs as jsxs87 } from "react/jsx-runtime";
28611
+ import { jsx as jsx169, jsxs as jsxs88 } from "react/jsx-runtime";
28405
28612
  var Tabs = ({
28406
28613
  tabButtons,
28407
28614
  children,
@@ -28416,8 +28623,8 @@ var Tabs = ({
28416
28623
  hideLineTabs = false,
28417
28624
  backgroundScrollButtons = Colors_exports.white
28418
28625
  }) => {
28419
- const tabsRef = React96.useRef(null);
28420
- const [value, setValue] = React96.useState(0);
28626
+ const tabsRef = React97.useRef(null);
28627
+ const [value, setValue] = React97.useState(0);
28421
28628
  const measureTextWidthRange = (child) => {
28422
28629
  const walker = document.createTreeWalker(child, NodeFilter.SHOW_TEXT, {
28423
28630
  acceptNode: (node) => node.textContent?.trim() ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT
@@ -28431,7 +28638,7 @@ var Tabs = ({
28431
28638
  const rect = range.getBoundingClientRect();
28432
28639
  return Math.round(rect.width);
28433
28640
  };
28434
- const waitForSmoothScrollEnd = React96.useCallback(
28641
+ const waitForSmoothScrollEnd = React97.useCallback(
28435
28642
  (container, onEnd) => {
28436
28643
  let prev = container.scrollLeft;
28437
28644
  let idleFrames = 0;
@@ -28455,7 +28662,7 @@ var Tabs = ({
28455
28662
  },
28456
28663
  []
28457
28664
  );
28458
- const calculateIndicatorTabWidth = React96.useCallback((index) => {
28665
+ const calculateIndicatorTabWidth = React97.useCallback((index) => {
28459
28666
  if (!tabsRef.current) {
28460
28667
  return null;
28461
28668
  }
@@ -28474,7 +28681,7 @@ var Tabs = ({
28474
28681
  indicator.style.width = `${textWidth}px`;
28475
28682
  indicator.style.left = `${left}px`;
28476
28683
  }, []);
28477
- React96.useEffect(() => {
28684
+ React97.useEffect(() => {
28478
28685
  if (!tabsRef.current) {
28479
28686
  return;
28480
28687
  }
@@ -28500,7 +28707,7 @@ var Tabs = ({
28500
28707
  bottom: 0,
28501
28708
  borderRadius: "8px"
28502
28709
  };
28503
- return /* @__PURE__ */ jsxs87(
28710
+ return /* @__PURE__ */ jsxs88(
28504
28711
  Box_default2,
28505
28712
  {
28506
28713
  sx: {
@@ -28514,7 +28721,7 @@ var Tabs = ({
28514
28721
  }
28515
28722
  },
28516
28723
  children: [
28517
- /* @__PURE__ */ jsx168(
28724
+ /* @__PURE__ */ jsx169(
28518
28725
  MuiTabs,
28519
28726
  {
28520
28727
  ref: tabsRef,
@@ -28553,7 +28760,7 @@ var Tabs = ({
28553
28760
  children: tabButtons
28554
28761
  }
28555
28762
  ),
28556
- /* @__PURE__ */ jsx168(
28763
+ /* @__PURE__ */ jsx169(
28557
28764
  Box_default2,
28558
28765
  {
28559
28766
  sx: {
@@ -28562,7 +28769,7 @@ var Tabs = ({
28562
28769
  height: "100%"
28563
28770
  }
28564
28771
  },
28565
- children: /* @__PURE__ */ jsx168(
28772
+ children: /* @__PURE__ */ jsx169(
28566
28773
  SwipeableViews,
28567
28774
  {
28568
28775
  index: currentTabIndex ?? value,
@@ -28591,8 +28798,8 @@ var Tabs = ({
28591
28798
  var Tabs_default = Tabs;
28592
28799
 
28593
28800
  // src/components/tab/TabContent.tsx
28594
- import { jsx as jsx169 } from "react/jsx-runtime";
28595
- var TabContent = ({ children }) => /* @__PURE__ */ jsx169(
28801
+ import { jsx as jsx170 } from "react/jsx-runtime";
28802
+ var TabContent = ({ children }) => /* @__PURE__ */ jsx170(
28596
28803
  Box_default2,
28597
28804
  {
28598
28805
  sx: {
@@ -28609,8 +28816,8 @@ import {
28609
28816
  TableRow as MuiTableRow,
28610
28817
  TableCell as MuiTableCell
28611
28818
  } from "@mui/material";
28612
- import { jsx as jsx170 } from "react/jsx-runtime";
28613
- 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(
28614
28821
  MuiTableCell,
28615
28822
  {
28616
28823
  colSpan: 1e3,
@@ -28623,8 +28830,8 @@ var TableDivider_default = TableDivider;
28623
28830
  import {
28624
28831
  TableSortLabel as MuiTableSortLabel
28625
28832
  } from "@mui/material";
28626
- import { jsx as jsx171 } from "react/jsx-runtime";
28627
- 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 });
28628
28835
  var TableSortLabel_default = TableSortLabel;
28629
28836
 
28630
28837
  // src/components/table/Table.tsx
@@ -28632,21 +28839,21 @@ import {
28632
28839
  TableContainer,
28633
28840
  Table as MuiTable
28634
28841
  } from "@mui/material";
28635
- import { jsx as jsx172 } from "react/jsx-runtime";
28636
- 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 }) });
28637
28844
  var Table_default = Table;
28638
28845
 
28639
28846
  // src/components/table/TableBody.tsx
28640
28847
  import { TableBody as MuiTableBody } from "@mui/material";
28641
- import { jsx as jsx173 } from "react/jsx-runtime";
28642
- var TableBody = ({ children }) => /* @__PURE__ */ jsx173(MuiTableBody, { children });
28848
+ import { jsx as jsx174 } from "react/jsx-runtime";
28849
+ var TableBody = ({ children }) => /* @__PURE__ */ jsx174(MuiTableBody, { children });
28643
28850
  var TableBody_default = TableBody;
28644
28851
 
28645
28852
  // src/components/table/TableCell.tsx
28646
28853
  import {
28647
28854
  TableCell as MuiTableCell2
28648
28855
  } from "@mui/material";
28649
- import { jsx as jsx174 } from "react/jsx-runtime";
28856
+ import { jsx as jsx175 } from "react/jsx-runtime";
28650
28857
  var TableCell = ({
28651
28858
  children,
28652
28859
  size = "M",
@@ -28657,7 +28864,7 @@ var TableCell = ({
28657
28864
  onClick,
28658
28865
  noBorder = false,
28659
28866
  ...rest
28660
- }) => /* @__PURE__ */ jsx174(
28867
+ }) => /* @__PURE__ */ jsx175(
28661
28868
  MuiTableCell2,
28662
28869
  {
28663
28870
  ...rest,
@@ -28681,12 +28888,12 @@ var TableCell = ({
28681
28888
  var TableCell_default = TableCell;
28682
28889
 
28683
28890
  // src/components/table/TableCellCopy.tsx
28684
- import * as React97 from "react";
28685
- import { jsx as jsx175 } from "react/jsx-runtime";
28891
+ import * as React98 from "react";
28892
+ import { jsx as jsx176 } from "react/jsx-runtime";
28686
28893
  var TableCellCopy = ({ text, textToCopy, ...rest }) => {
28687
28894
  const { t } = useTranslation();
28688
- const [isCopied, setIsCopied] = React97.useState(false);
28689
- const [showIcon, setShowIcon] = React97.useState(false);
28895
+ const [isCopied, setIsCopied] = React98.useState(false);
28896
+ const [showIcon, setShowIcon] = React98.useState(false);
28690
28897
  const manageButtonClicked = () => {
28691
28898
  void navigator.clipboard.writeText(textToCopy ?? text);
28692
28899
  if (isCopied) {
@@ -28700,7 +28907,7 @@ var TableCellCopy = ({ text, textToCopy, ...rest }) => {
28700
28907
  const getIconId = () => !isCopied ? "content-copy" : "check";
28701
28908
  const iconHiddenClass = "icon-hidden";
28702
28909
  const iconCopiedClass = "icon-copied";
28703
- 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(
28704
28911
  Stack_default,
28705
28912
  {
28706
28913
  direction: "row",
@@ -28709,7 +28916,7 @@ var TableCellCopy = ({ text, textToCopy, ...rest }) => {
28709
28916
  onMouseEnter: () => setShowIcon(true),
28710
28917
  onMouseLeave: () => setShowIcon(false),
28711
28918
  onClick: manageButtonClicked,
28712
- 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(
28713
28920
  Button_default,
28714
28921
  {
28715
28922
  className: isCopied ? iconCopiedClass : !showIcon ? iconHiddenClass : "",
@@ -28739,21 +28946,21 @@ var TableCellCopy_default = TableCellCopy;
28739
28946
 
28740
28947
  // src/components/table/TableHead.tsx
28741
28948
  import { TableHead as MuiTableHead } from "@mui/material";
28742
- import { jsx as jsx176 } from "react/jsx-runtime";
28743
- var TableHead = ({ children }) => /* @__PURE__ */ jsx176(MuiTableHead, { children });
28949
+ import { jsx as jsx177 } from "react/jsx-runtime";
28950
+ var TableHead = ({ children }) => /* @__PURE__ */ jsx177(MuiTableHead, { children });
28744
28951
  var TableHead_default = TableHead;
28745
28952
 
28746
28953
  // src/components/table/TableRow.tsx
28747
28954
  import {
28748
28955
  TableRow as MuiTableRow2
28749
28956
  } from "@mui/material";
28750
- import { jsx as jsx177 } from "react/jsx-runtime";
28957
+ import { jsx as jsx178 } from "react/jsx-runtime";
28751
28958
  var TableRow = ({
28752
28959
  children,
28753
28960
  isFollowedByNestedTable = false,
28754
28961
  fadeInLeftAnimation = false,
28755
28962
  sx
28756
- }) => /* @__PURE__ */ jsx177(
28963
+ }) => /* @__PURE__ */ jsx178(
28757
28964
  MuiTableRow2,
28758
28965
  {
28759
28966
  className: `${isFollowedByNestedTable ? "Followed-By-Nested-Table" : ""} ${fadeInLeftAnimation ? "animated fadeInLeft" : ""}`,
@@ -28765,14 +28972,14 @@ var TableRow_default = TableRow;
28765
28972
 
28766
28973
  // src/components/table/NestedTable.tsx
28767
28974
  import { Collapse as Collapse7 } from "@mui/material";
28768
- import { jsx as jsx178 } from "react/jsx-runtime";
28975
+ import { jsx as jsx179 } from "react/jsx-runtime";
28769
28976
  var NestedTable = ({
28770
28977
  colSpan,
28771
28978
  children,
28772
28979
  className = "",
28773
28980
  sx,
28774
28981
  isVisible = true
28775
- }) => /* @__PURE__ */ jsx178(TableRow_default, { children: /* @__PURE__ */ jsx178(
28982
+ }) => /* @__PURE__ */ jsx179(TableRow_default, { children: /* @__PURE__ */ jsx179(
28776
28983
  TableCell_default,
28777
28984
  {
28778
28985
  colSpan,
@@ -28781,14 +28988,14 @@ var NestedTable = ({
28781
28988
  height: "auto",
28782
28989
  ...!isVisible && { borderBottom: "none" }
28783
28990
  },
28784
- 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 }) }) }) })
28785
28992
  }
28786
28993
  ) });
28787
28994
  var NestedTable_default = NestedTable;
28788
28995
 
28789
28996
  // src/components/toolbar/ToolbarBreadcrumb.tsx
28790
- import { jsx as jsx179 } from "react/jsx-runtime";
28791
- var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx179(
28997
+ import { jsx as jsx180 } from "react/jsx-runtime";
28998
+ var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx180(
28792
28999
  Stack_default,
28793
29000
  {
28794
29001
  direction: "row",
@@ -28798,7 +29005,7 @@ var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx179(
28798
29005
  (previous, current, index) => [
28799
29006
  ...previous,
28800
29007
  ...index > 0 ? [
28801
- /* @__PURE__ */ jsx179(
29008
+ /* @__PURE__ */ jsx180(
28802
29009
  Typography_default,
28803
29010
  {
28804
29011
  color: grey500,
@@ -28821,10 +29028,10 @@ var ToolbarBreadcrumb_default = ToolbarBreadcrumb;
28821
29028
 
28822
29029
  // src/components/toolbar/ToolbarBreadcrumbButton.tsx
28823
29030
  import { ButtonBase as ButtonBase5 } from "@mui/material";
28824
- import * as React98 from "react";
28825
- import { jsx as jsx180 } from "react/jsx-runtime";
28826
- var ToolbarBreadcrumbButton = React98.forwardRef(function ToolbarBreadcrumbButton2({ text, className, ...rest }, ref) {
28827
- 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(
28828
29035
  ButtonBase5,
28829
29036
  {
28830
29037
  className: `Cn-ToolbarBreadcrumbButton ${className}`,
@@ -28843,14 +29050,14 @@ var ToolbarBreadcrumbButton = React98.forwardRef(function ToolbarBreadcrumbButto
28843
29050
  }
28844
29051
  },
28845
29052
  ...rest,
28846
- 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 })
28847
29054
  }
28848
29055
  );
28849
29056
  });
28850
29057
  var ToolbarBreadcrumbButton_default = ToolbarBreadcrumbButton;
28851
29058
 
28852
29059
  // src/components/toolbar/Toolbar.tsx
28853
- import { jsx as jsx181, jsxs as jsxs88 } from "react/jsx-runtime";
29060
+ import { jsx as jsx182, jsxs as jsxs89 } from "react/jsx-runtime";
28854
29061
  var Toolbar = ({
28855
29062
  children,
28856
29063
  rightActions,
@@ -28859,7 +29066,7 @@ var Toolbar = ({
28859
29066
  sx,
28860
29067
  dataTestId,
28861
29068
  onClickToolbar
28862
- }) => /* @__PURE__ */ jsxs88(
29069
+ }) => /* @__PURE__ */ jsxs89(
28863
29070
  Box_default2,
28864
29071
  {
28865
29072
  className: `Cn-Toolbar ${className}`,
@@ -28879,7 +29086,7 @@ var Toolbar = ({
28879
29086
  onClick: onClickToolbar,
28880
29087
  "data-testid": dataTestId,
28881
29088
  children: [
28882
- /* @__PURE__ */ jsxs88(
29089
+ /* @__PURE__ */ jsxs89(
28883
29090
  Box_default2,
28884
29091
  {
28885
29092
  sx: {
@@ -28891,7 +29098,7 @@ var Toolbar = ({
28891
29098
  width: "100%"
28892
29099
  },
28893
29100
  children: [
28894
- leftActions && /* @__PURE__ */ jsx181(
29101
+ leftActions && /* @__PURE__ */ jsx182(
28895
29102
  Box_default2,
28896
29103
  {
28897
29104
  className: `Cn-Toolbar-left`,
@@ -28901,7 +29108,7 @@ var Toolbar = ({
28901
29108
  children: leftActions
28902
29109
  }
28903
29110
  ),
28904
- /* @__PURE__ */ jsx181(
29111
+ /* @__PURE__ */ jsx182(
28905
29112
  Box_default2,
28906
29113
  {
28907
29114
  className: `Cn-Toolbar-children`,
@@ -28916,7 +29123,7 @@ var Toolbar = ({
28916
29123
  ]
28917
29124
  }
28918
29125
  ),
28919
- rightActions && /* @__PURE__ */ jsx181(
29126
+ rightActions && /* @__PURE__ */ jsx182(
28920
29127
  Box_default2,
28921
29128
  {
28922
29129
  className: `Cn-Toolbar-right`,
@@ -28935,26 +29142,26 @@ var Toolbar = ({
28935
29142
  var Toolbar_default = Toolbar;
28936
29143
 
28937
29144
  // src/components/toolbar/ToolbarTitle.tsx
28938
- import * as React99 from "react";
28939
- import { useState as useState45 } from "react";
28940
- import { jsx as jsx182, jsxs as jsxs89 } from "react/jsx-runtime";
28941
- 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({
28942
29149
  title,
28943
29150
  align = "left",
28944
29151
  className,
28945
29152
  hoverActions,
28946
29153
  color: color2 = grey900
28947
29154
  }, ref) {
28948
- const textElementRef = React99.useRef(
29155
+ const textElementRef = React100.useRef(
28949
29156
  null
28950
29157
  );
28951
- const [showHoverActions, setShowHoverActions] = useState45(false);
28952
- 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(
28953
29160
  TextEllipsisTooltip_default,
28954
29161
  {
28955
29162
  title: title ?? "\xA0",
28956
29163
  textEllipsableElement: textElementRef,
28957
- children: /* @__PURE__ */ jsxs89(
29164
+ children: /* @__PURE__ */ jsxs90(
28958
29165
  Typography_default,
28959
29166
  {
28960
29167
  color: color2,
@@ -28972,7 +29179,7 @@ var ToolbarTitle = React99.forwardRef(function ToolbarTitle2({
28972
29179
  },
28973
29180
  children: [
28974
29181
  title || "\xA0",
28975
- hoverActions && showHoverActions && /* @__PURE__ */ jsx182(
29182
+ hoverActions && showHoverActions && /* @__PURE__ */ jsx183(
28976
29183
  Box_default2,
28977
29184
  {
28978
29185
  sx: {
@@ -29001,13 +29208,13 @@ var Slide_default = Slide;
29001
29208
 
29002
29209
  // src/components/widget/WidgetLegendItem.tsx
29003
29210
  import { ButtonBase as ButtonBase6 } from "@mui/material";
29004
- import { jsx as jsx183, jsxs as jsxs90 } from "react/jsx-runtime";
29211
+ import { jsx as jsx184, jsxs as jsxs91 } from "react/jsx-runtime";
29005
29212
  var WidgetLegendItem = ({
29006
29213
  groupLabel,
29007
29214
  legendDirection = "column",
29008
29215
  items = [],
29009
29216
  onClick
29010
- }) => /* @__PURE__ */ jsx183(
29217
+ }) => /* @__PURE__ */ jsx184(
29011
29218
  ButtonBase6,
29012
29219
  {
29013
29220
  tabIndex: onClick ? 0 : -1,
@@ -29021,7 +29228,7 @@ var WidgetLegendItem = ({
29021
29228
  p: "2px 12px",
29022
29229
  cursor: onClick ? "pointer" : "default"
29023
29230
  },
29024
- children: /* @__PURE__ */ jsxs90(
29231
+ children: /* @__PURE__ */ jsxs91(
29025
29232
  Box_default2,
29026
29233
  {
29027
29234
  sx: {
@@ -29033,7 +29240,7 @@ var WidgetLegendItem = ({
29033
29240
  color: grey800
29034
29241
  },
29035
29242
  children: [
29036
- groupLabel && /* @__PURE__ */ jsx183(
29243
+ groupLabel && /* @__PURE__ */ jsx184(
29037
29244
  Typography_default,
29038
29245
  {
29039
29246
  variant: "overline",
@@ -29055,7 +29262,7 @@ var WidgetLegendItem = ({
29055
29262
  style: style3
29056
29263
  }, i) => {
29057
29264
  const incrementLabelIconId = incrementLabelType && incrementLabelStyles[incrementLabelType].icon;
29058
- return /* @__PURE__ */ jsxs90(
29265
+ return /* @__PURE__ */ jsxs91(
29059
29266
  Box_default2,
29060
29267
  {
29061
29268
  sx: {
@@ -29065,7 +29272,7 @@ var WidgetLegendItem = ({
29065
29272
  paddingRight: legendDirection === "row" ? "12px" : "inherit"
29066
29273
  },
29067
29274
  children: [
29068
- iconColor && /* @__PURE__ */ jsx183(
29275
+ iconColor && /* @__PURE__ */ jsx184(
29069
29276
  Icon_default,
29070
29277
  {
29071
29278
  id: iconId,
@@ -29076,7 +29283,7 @@ var WidgetLegendItem = ({
29076
29283
  size: iconSize
29077
29284
  }
29078
29285
  ),
29079
- label && /* @__PURE__ */ jsx183(
29286
+ label && /* @__PURE__ */ jsx184(
29080
29287
  Typography_default,
29081
29288
  {
29082
29289
  variant: "caption",
@@ -29085,7 +29292,7 @@ var WidgetLegendItem = ({
29085
29292
  children: label
29086
29293
  }
29087
29294
  ),
29088
- value && /* @__PURE__ */ jsx183(
29295
+ value && /* @__PURE__ */ jsx184(
29089
29296
  Typography_default,
29090
29297
  {
29091
29298
  sx: style3,
@@ -29094,7 +29301,7 @@ var WidgetLegendItem = ({
29094
29301
  children: value
29095
29302
  }
29096
29303
  ),
29097
- incrementLabelValue && /* @__PURE__ */ jsx183(
29304
+ incrementLabelValue && /* @__PURE__ */ jsx184(
29098
29305
  IncrementLabel_default,
29099
29306
  {
29100
29307
  label: incrementLabelValue,
@@ -29120,8 +29327,8 @@ var WidgetLegendItem_default = WidgetLegendItem;
29120
29327
 
29121
29328
  // src/components/widget/Widget.tsx
29122
29329
  import MuiCard2 from "@mui/material/Card";
29123
- import { jsx as jsx184 } from "react/jsx-runtime";
29124
- var Widget = ({ children }) => /* @__PURE__ */ jsx184(
29330
+ import { jsx as jsx185 } from "react/jsx-runtime";
29331
+ var Widget = ({ children }) => /* @__PURE__ */ jsx185(
29125
29332
  MuiCard2,
29126
29333
  {
29127
29334
  variant: "elevation",
@@ -29145,8 +29352,8 @@ var Widget = ({ children }) => /* @__PURE__ */ jsx184(
29145
29352
  var Widget_default = Widget;
29146
29353
 
29147
29354
  // src/components/widget/WidgetActions.tsx
29148
- import { jsx as jsx185 } from "react/jsx-runtime";
29149
- var WidgetActions = ({ children }) => /* @__PURE__ */ jsx185(
29355
+ import { jsx as jsx186 } from "react/jsx-runtime";
29356
+ var WidgetActions = ({ children }) => /* @__PURE__ */ jsx186(
29150
29357
  Box_default2,
29151
29358
  {
29152
29359
  sx: {
@@ -29160,8 +29367,8 @@ var WidgetActions = ({ children }) => /* @__PURE__ */ jsx185(
29160
29367
  var WidgetActions_default = WidgetActions;
29161
29368
 
29162
29369
  // src/components/widget/WidgetTitle.tsx
29163
- import { jsx as jsx186 } from "react/jsx-runtime";
29164
- 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(
29165
29372
  Box_default2,
29166
29373
  {
29167
29374
  sx: {
@@ -29171,7 +29378,7 @@ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE
29171
29378
  maxWidth: "100%",
29172
29379
  ...sx
29173
29380
  },
29174
- children: /* @__PURE__ */ jsx186(
29381
+ children: /* @__PURE__ */ jsx187(
29175
29382
  Typography_default,
29176
29383
  {
29177
29384
  variant: "subtitle2",
@@ -29185,12 +29392,12 @@ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE
29185
29392
  }
29186
29393
  )
29187
29394
  }
29188
- ) : /* @__PURE__ */ jsx186("span", {});
29395
+ ) : /* @__PURE__ */ jsx187("span", {});
29189
29396
  var WidgetTitle_default = WidgetTitle;
29190
29397
 
29191
29398
  // src/components/window/MinimizableWindow.tsx
29192
- import * as React100 from "react";
29193
- 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";
29194
29401
  var sizes7 = {
29195
29402
  M: 400,
29196
29403
  L: 500,
@@ -29218,7 +29425,7 @@ var iconButtonsStyles = {
29218
29425
  backgroundColor: "rgba(255, 255, 255, 0.2)"
29219
29426
  }
29220
29427
  };
29221
- var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29428
+ var MinimizableWindow = React101.forwardRef(function MinimizableWindow2({
29222
29429
  children,
29223
29430
  title,
29224
29431
  size = "M",
@@ -29237,17 +29444,17 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29237
29444
  onBack
29238
29445
  }, ref) {
29239
29446
  const { t } = useTranslation();
29240
- const overlayRef = React100.useRef(null);
29241
- const windowRef = React100.useRef(null);
29242
- const headerRef = React100.useRef(null);
29243
- const [isDraggingState, setIsDraggingState] = React100.useState(false);
29244
- const diffRef = React100.useRef({ x: 0, y: 0 });
29245
- 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, () => ({
29246
29453
  window: windowRef.current,
29247
29454
  header: headerRef.current,
29248
29455
  overlay: overlayRef.current
29249
29456
  }));
29250
- React100.useEffect(() => {
29457
+ React101.useEffect(() => {
29251
29458
  if (open) {
29252
29459
  overlayRef.current?.style.removeProperty("transform");
29253
29460
  overlayRef.current?.style.removeProperty("opacity");
@@ -29289,8 +29496,8 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29289
29496
  overlayRef.current.style.opacity = "0";
29290
29497
  }
29291
29498
  };
29292
- return /* @__PURE__ */ jsxs91(Fragment45, { children: [
29293
- isDraggingState && /* @__PURE__ */ jsx187(
29499
+ return /* @__PURE__ */ jsxs92(Fragment45, { children: [
29500
+ isDraggingState && /* @__PURE__ */ jsx188(
29294
29501
  Box_default2,
29295
29502
  {
29296
29503
  sx: {
@@ -29306,7 +29513,7 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29306
29513
  onMouseMove: (ev) => handleMouseMove(ev)
29307
29514
  }
29308
29515
  ),
29309
- /* @__PURE__ */ jsx187(
29516
+ /* @__PURE__ */ jsx188(
29310
29517
  Box_default2,
29311
29518
  {
29312
29519
  ref: overlayRef,
@@ -29323,7 +29530,7 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29323
29530
  ...!open && { pointerEvents: "none" },
29324
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)"
29325
29532
  },
29326
- children: /* @__PURE__ */ jsxs91(
29533
+ children: /* @__PURE__ */ jsxs92(
29327
29534
  Stack_default,
29328
29535
  {
29329
29536
  sx: {
@@ -29334,7 +29541,7 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29334
29541
  width: `${sizes7[size]}px`,
29335
29542
  height: contentHeight !== void 0 && headerRef.current ? `${contentHeight + contentPadding + headerRef.current.scrollHeight}px` : void 0,
29336
29543
  children: [
29337
- /* @__PURE__ */ jsxs91(
29544
+ /* @__PURE__ */ jsxs92(
29338
29545
  Stack_default,
29339
29546
  {
29340
29547
  ref: headerRef,
@@ -29348,19 +29555,19 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29348
29555
  onMouseDown: handleMouseDown,
29349
29556
  minHeight: "44px",
29350
29557
  children: [
29351
- /* @__PURE__ */ jsx187(
29558
+ /* @__PURE__ */ jsx188(
29352
29559
  Stack_default,
29353
29560
  {
29354
29561
  direction: "row",
29355
29562
  alignItems: "center",
29356
29563
  onMouseDown: (ev) => ev.stopPropagation(),
29357
- children: showBackButton && (!backButton ? /* @__PURE__ */ jsx187(
29564
+ children: showBackButton && (!backButton ? /* @__PURE__ */ jsx188(
29358
29565
  Tooltip_default,
29359
29566
  {
29360
29567
  title: t("MINIMIZABLE_WINDOW.GO_BACK"),
29361
29568
  zIndex: 999999,
29362
29569
  placement: "top",
29363
- children: /* @__PURE__ */ jsx187(
29570
+ children: /* @__PURE__ */ jsx188(
29364
29571
  IconButton_default,
29365
29572
  {
29366
29573
  size: iconSizes2,
@@ -29373,7 +29580,7 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29373
29580
  ) : backButton)
29374
29581
  }
29375
29582
  ),
29376
- /* @__PURE__ */ jsx187(
29583
+ /* @__PURE__ */ jsx188(
29377
29584
  Box_default2,
29378
29585
  {
29379
29586
  sx: {
@@ -29381,10 +29588,10 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29381
29588
  left: "50%",
29382
29589
  transform: "translateX(-50%)"
29383
29590
  },
29384
- children: typeof title === "string" ? /* @__PURE__ */ jsx187(Typography_default, { children: title }) : title
29591
+ children: typeof title === "string" ? /* @__PURE__ */ jsx188(Typography_default, { children: title }) : title
29385
29592
  }
29386
29593
  ),
29387
- /* @__PURE__ */ jsxs91(
29594
+ /* @__PURE__ */ jsxs92(
29388
29595
  Stack_default,
29389
29596
  {
29390
29597
  direction: "row",
@@ -29392,13 +29599,13 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29392
29599
  onMouseDown: (ev) => ev.stopPropagation(),
29393
29600
  children: [
29394
29601
  rightActions,
29395
- closeable && /* @__PURE__ */ jsx187(Box_default2, { children: /* @__PURE__ */ jsx187(
29602
+ closeable && /* @__PURE__ */ jsx188(Box_default2, { children: /* @__PURE__ */ jsx188(
29396
29603
  Tooltip_default,
29397
29604
  {
29398
29605
  title: t("MINIMIZABLE_WINDOW.CLOSE"),
29399
29606
  zIndex: 999999,
29400
29607
  placement: "top",
29401
- children: /* @__PURE__ */ jsx187(
29608
+ children: /* @__PURE__ */ jsx188(
29402
29609
  IconButton_default,
29403
29610
  {
29404
29611
  size: iconSizes2,
@@ -29420,7 +29627,7 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29420
29627
  ]
29421
29628
  }
29422
29629
  ),
29423
- /* @__PURE__ */ jsx187(
29630
+ /* @__PURE__ */ jsx188(
29424
29631
  Stack_default,
29425
29632
  {
29426
29633
  sx: {
@@ -29439,31 +29646,31 @@ var MinimizableWindow = React100.forwardRef(function MinimizableWindow2({
29439
29646
  var MinimizableWindow_default = MinimizableWindow;
29440
29647
 
29441
29648
  // src/hooks/useFormatters.ts
29442
- import { useCallback as useCallback25, useContext as useContext20 } from "react";
29649
+ import { useCallback as useCallback26, useContext as useContext21 } from "react";
29443
29650
  var useFormatters = () => {
29444
- const { locale, currency, timezone } = useContext20(IntlContext);
29651
+ const { locale, currency, timezone } = useContext21(IntlContext);
29445
29652
  return {
29446
- formatCompactNumber: useCallback25(
29653
+ formatCompactNumber: useCallback26(
29447
29654
  (value) => formatCompactNumber(value, locale),
29448
29655
  [locale]
29449
29656
  ),
29450
- formatNumber: useCallback25(
29657
+ formatNumber: useCallback26(
29451
29658
  (value, fractionSize) => formatNumber(value, locale, fractionSize),
29452
29659
  [locale]
29453
29660
  ),
29454
- formatPercentage: useCallback25(
29661
+ formatPercentage: useCallback26(
29455
29662
  (value, fractionSize) => formatPercentage(value, locale, fractionSize),
29456
29663
  [locale]
29457
29664
  ),
29458
- formatCurrency: useCallback25(
29665
+ formatCurrency: useCallback26(
29459
29666
  (value, notation) => formatCurrency(value, locale, currency, notation),
29460
29667
  [currency, locale]
29461
29668
  ),
29462
- formatDate: useCallback25(
29669
+ formatDate: useCallback26(
29463
29670
  (date, format2) => formatDate(date, locale, timezone, format2),
29464
29671
  [locale, timezone]
29465
29672
  ),
29466
- formatPhone: useCallback25(
29673
+ formatPhone: useCallback26(
29467
29674
  (phone, format2) => formatPhone(phone, format2),
29468
29675
  []
29469
29676
  )
@@ -29510,6 +29717,7 @@ export {
29510
29717
  ConfirmationDialog_default as ConfirmationDialog,
29511
29718
  Container_default as Container,
29512
29719
  CurrencyFormatter_default as CurrencyFormatter,
29720
+ DateCalendar_default as DateCalendar,
29513
29721
  DateFormatter_default as DateFormatter,
29514
29722
  DateIntervalPicker_default as DateIntervalPicker,
29515
29723
  DatePicker_default as DatePicker,