@connectif/ui-components 2.0.12 → 2.0.14

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
@@ -1997,6 +1997,7 @@ import {
1997
1997
  mdiHumanMale,
1998
1998
  mdiHumanMaleFemale,
1999
1999
  mdiHumanPregnant,
2000
+ mdiIdentifier,
2000
2001
  mdiImage,
2001
2002
  mdiImageAlbum,
2002
2003
  mdiImageArea,
@@ -3837,6 +3838,7 @@ var icons = {
3837
3838
  "human-male-female": mdiHumanMaleFemale,
3838
3839
  "human-pregnant": mdiHumanPregnant,
3839
3840
  image: mdiImage,
3841
+ identifier: mdiIdentifier,
3840
3842
  "image-album": mdiImageAlbum,
3841
3843
  "image-area": mdiImageArea,
3842
3844
  "image-area-close": mdiImageAreaClose,
@@ -24232,7 +24234,26 @@ var Loader_default = Loader;
24232
24234
  // src/components/markdown/MarkdownRenderer.tsx
24233
24235
  import Markdown from "markdown-to-jsx";
24234
24236
  import { styled as styled8 } from "@mui/material/styles";
24237
+ import "katex/dist/katex.min.css";
24238
+
24239
+ // src/components/markdown/KatexRenderer.tsx
24240
+ import katex from "katex";
24235
24241
  import { jsx as jsx136 } from "react/jsx-runtime";
24242
+ var KatexRenderer = ({ children, block }) => {
24243
+ try {
24244
+ const html2 = katex.renderToString(children, {
24245
+ throwOnError: false,
24246
+ displayMode: block
24247
+ });
24248
+ return /* @__PURE__ */ jsx136("span", { dangerouslySetInnerHTML: { __html: html2 } });
24249
+ } catch (err) {
24250
+ return `<pre style="color:red">KaTeX error: ${err.message}</pre>`;
24251
+ }
24252
+ };
24253
+ var KatexRenderer_default = KatexRenderer;
24254
+
24255
+ // src/components/markdown/MarkdownRenderer.tsx
24256
+ import { jsx as jsx137 } from "react/jsx-runtime";
24236
24257
  var MarkdownContainer = styled8("div")(
24237
24258
  ({ color: color2, backgroundColor: backgroundColor2 = "transparent", variant }) => ({
24238
24259
  color: color2,
@@ -24293,14 +24314,51 @@ var MarkdownContainer = styled8("div")(
24293
24314
  }
24294
24315
  })
24295
24316
  );
24317
+ var renderWithMath = (text) => {
24318
+ const parts = [];
24319
+ const regex = /\$\$([\s\S]+?)\$\$|\$([\s\S]+?)\$/g;
24320
+ let lastIndex = 0;
24321
+ let match;
24322
+ while ((match = regex.exec(text)) !== null) {
24323
+ const [full, blockExpr, inlineExpr] = match;
24324
+ const start = match.index;
24325
+ if (start > lastIndex) {
24326
+ parts.push(text.slice(lastIndex, start));
24327
+ }
24328
+ if (blockExpr) {
24329
+ parts.push(
24330
+ /* @__PURE__ */ jsx137(KatexRenderer_default, { block: true, children: blockExpr.trim() }, start)
24331
+ );
24332
+ } else if (inlineExpr) {
24333
+ parts.push(
24334
+ /* @__PURE__ */ jsx137(KatexRenderer_default, { children: inlineExpr.trim() }, start)
24335
+ );
24336
+ }
24337
+ lastIndex = regex.lastIndex;
24338
+ }
24339
+ if (lastIndex < text.length) {
24340
+ parts.push(text.slice(lastIndex));
24341
+ }
24342
+ return parts;
24343
+ };
24296
24344
  var MarkdownRenderer = ({
24297
24345
  text,
24298
24346
  ...rest
24299
- }) => /* @__PURE__ */ jsx136(MarkdownContainer, { ...rest, children: /* @__PURE__ */ jsx136(
24347
+ }) => /* @__PURE__ */ jsx137(MarkdownContainer, { ...rest, children: /* @__PURE__ */ jsx137(
24300
24348
  Markdown,
24301
24349
  {
24302
24350
  options: {
24303
- forceBlock: true
24351
+ forceBlock: true,
24352
+ overrides: {
24353
+ p: {
24354
+ component: ({ children, ...props }) => {
24355
+ const rawText = Array.isArray(children) ? children.map(
24356
+ (child) => typeof child === "string" ? child : ""
24357
+ ).join("") : typeof children === "string" ? children : "";
24358
+ return /* @__PURE__ */ jsx137("p", { ...props, children: renderWithMath(rawText) });
24359
+ }
24360
+ }
24361
+ }
24304
24362
  },
24305
24363
  children: text
24306
24364
  }
@@ -24309,7 +24367,7 @@ var MarkdownRenderer_default = MarkdownRenderer;
24309
24367
 
24310
24368
  // src/components/navbar/Navbar.tsx
24311
24369
  import { Drawer as Drawer2 } from "@mui/material";
24312
- import { Fragment as Fragment32, jsx as jsx137, jsxs as jsxs69 } from "react/jsx-runtime";
24370
+ import { Fragment as Fragment32, jsx as jsx138, jsxs as jsxs69 } from "react/jsx-runtime";
24313
24371
  var Navbar = ({
24314
24372
  topContent,
24315
24373
  bottomContent,
@@ -24333,8 +24391,8 @@ var Navbar = ({
24333
24391
  },
24334
24392
  className: "Slim-Vertical-Scroll",
24335
24393
  children: [
24336
- /* @__PURE__ */ jsx137(Box_default, { children: topContent }),
24337
- /* @__PURE__ */ jsx137(Box_default, { children: bottomContent })
24394
+ /* @__PURE__ */ jsx138(Box_default, { children: topContent }),
24395
+ /* @__PURE__ */ jsx138(Box_default, { children: bottomContent })
24338
24396
  ]
24339
24397
  }
24340
24398
  ),
@@ -24361,8 +24419,8 @@ var Navbar = ({
24361
24419
  },
24362
24420
  onClose,
24363
24421
  children: [
24364
- /* @__PURE__ */ jsx137("div", { children: drawerTopContent }),
24365
- /* @__PURE__ */ jsx137("div", { children: drawerBottomContent })
24422
+ /* @__PURE__ */ jsx138("div", { children: drawerTopContent }),
24423
+ /* @__PURE__ */ jsx138("div", { children: drawerBottomContent })
24366
24424
  ]
24367
24425
  }
24368
24426
  )
@@ -24372,7 +24430,7 @@ var Navbar_default = Navbar;
24372
24430
  // src/components/navbar/NavbarButton.tsx
24373
24431
  import * as React76 from "react";
24374
24432
  import { Box as Box6, ButtonBase as ButtonBase2 } from "@mui/material";
24375
- import { jsx as jsx138, jsxs as jsxs70 } from "react/jsx-runtime";
24433
+ import { jsx as jsx139, jsxs as jsxs70 } from "react/jsx-runtime";
24376
24434
  var NavbarButton = React76.forwardRef(
24377
24435
  function NavbarButton2({
24378
24436
  iconId,
@@ -24397,7 +24455,7 @@ var NavbarButton = React76.forwardRef(
24397
24455
  position: "relative"
24398
24456
  },
24399
24457
  children: [
24400
- /* @__PURE__ */ jsx138(
24458
+ /* @__PURE__ */ jsx139(
24401
24459
  Box6,
24402
24460
  {
24403
24461
  sx: {
@@ -24413,7 +24471,7 @@ var NavbarButton = React76.forwardRef(
24413
24471
  }
24414
24472
  }
24415
24473
  ),
24416
- /* @__PURE__ */ jsx138(
24474
+ /* @__PURE__ */ jsx139(
24417
24475
  Box6,
24418
24476
  {
24419
24477
  sx: {
@@ -24446,7 +24504,7 @@ var NavbarButton = React76.forwardRef(
24446
24504
  },
24447
24505
  children: [
24448
24506
  srcUrl ? getButtonContent(
24449
- /* @__PURE__ */ jsx138(
24507
+ /* @__PURE__ */ jsx139(
24450
24508
  Avatar_default,
24451
24509
  {
24452
24510
  className: "NavbarButton-icon",
@@ -24456,7 +24514,7 @@ var NavbarButton = React76.forwardRef(
24456
24514
  }
24457
24515
  )
24458
24516
  ) : getButtonContent(
24459
- /* @__PURE__ */ jsx138(
24517
+ /* @__PURE__ */ jsx139(
24460
24518
  Icon_default,
24461
24519
  {
24462
24520
  id: iconId,
@@ -24472,7 +24530,7 @@ var NavbarButton = React76.forwardRef(
24472
24530
  }
24473
24531
  )
24474
24532
  ),
24475
- badgeIconProps && /* @__PURE__ */ jsx138(
24533
+ badgeIconProps && /* @__PURE__ */ jsx139(
24476
24534
  Icon_default,
24477
24535
  {
24478
24536
  ...badgeIconProps,
@@ -24494,8 +24552,8 @@ var NavbarButton = React76.forwardRef(
24494
24552
  var NavbarButton_default = NavbarButton;
24495
24553
 
24496
24554
  // src/components/navbar/NavbarHeader.tsx
24497
- import { jsx as jsx139 } from "react/jsx-runtime";
24498
- var NavbarHeader = ({ text }) => /* @__PURE__ */ jsx139(
24555
+ import { jsx as jsx140 } from "react/jsx-runtime";
24556
+ var NavbarHeader = ({ text }) => /* @__PURE__ */ jsx140(
24499
24557
  Typography_default,
24500
24558
  {
24501
24559
  sx: {
@@ -24517,10 +24575,10 @@ var NavbarHeader_default = NavbarHeader;
24517
24575
  // src/components/navbar/NavbarLogo.tsx
24518
24576
  import * as React77 from "react";
24519
24577
  import { ButtonBase as ButtonBase3 } from "@mui/material";
24520
- import { jsx as jsx140 } from "react/jsx-runtime";
24578
+ import { jsx as jsx141 } from "react/jsx-runtime";
24521
24579
  var NavbarLogo = React77.forwardRef(
24522
24580
  function NavbarButton3({ src, ...rest }, ref) {
24523
- return /* @__PURE__ */ jsx140(
24581
+ return /* @__PURE__ */ jsx141(
24524
24582
  ButtonBase3,
24525
24583
  {
24526
24584
  ref,
@@ -24531,7 +24589,7 @@ var NavbarLogo = React77.forwardRef(
24531
24589
  borderBottom: `1px solid ${grey200}`,
24532
24590
  boxSizing: "border-box"
24533
24591
  },
24534
- children: /* @__PURE__ */ jsx140("img", { src, width: "32px", height: "32px" })
24592
+ children: /* @__PURE__ */ jsx141("img", { src, width: "32px", height: "32px" })
24535
24593
  }
24536
24594
  );
24537
24595
  }
@@ -24540,7 +24598,7 @@ var NavbarLogo_default = NavbarLogo;
24540
24598
 
24541
24599
  // src/components/overlay/DonutFocusOverlay.tsx
24542
24600
  import * as React78 from "react";
24543
- import { Fragment as Fragment33, jsx as jsx141, jsxs as jsxs71 } from "react/jsx-runtime";
24601
+ import { Fragment as Fragment33, jsx as jsx142, jsxs as jsxs71 } from "react/jsx-runtime";
24544
24602
  var DonutFocusOverlay = ({
24545
24603
  isVisible,
24546
24604
  elementRef,
@@ -24582,7 +24640,7 @@ var DonutFocusOverlay = ({
24582
24640
  const externalTopHalfCircle = `${externalCircleRadius} ${externalCircleRadius} 0 0 0 ${startPointX} ${startPointY}`;
24583
24641
  const path = `path("M ${startPointX} ${startPointY} A ${externalBottomHalfCircle} m ${-donutWidth} 0 A ${internalBottomHalfCircle} A ${internalTopHalfCircle} m ${donutWidth} 0 A ${externalTopHalfCircle} Z")`;
24584
24642
  return /* @__PURE__ */ jsxs71(Fragment33, { children: [
24585
- /* @__PURE__ */ jsx141(
24643
+ /* @__PURE__ */ jsx142(
24586
24644
  Box_default,
24587
24645
  {
24588
24646
  sx: {
@@ -24599,7 +24657,7 @@ var DonutFocusOverlay = ({
24599
24657
  }
24600
24658
  }
24601
24659
  ),
24602
- chipLabel && /* @__PURE__ */ jsx141(
24660
+ chipLabel && /* @__PURE__ */ jsx142(
24603
24661
  Chip_default,
24604
24662
  {
24605
24663
  label: chipLabel,
@@ -24626,7 +24684,7 @@ var DonutFocusOverlay = ({
24626
24684
  var DonutFocusOverlay_default = DonutFocusOverlay;
24627
24685
 
24628
24686
  // src/components/pager/Pager.tsx
24629
- import { Fragment as Fragment34, jsx as jsx142, jsxs as jsxs72 } from "react/jsx-runtime";
24687
+ import { Fragment as Fragment34, jsx as jsx143, jsxs as jsxs72 } from "react/jsx-runtime";
24630
24688
  var Pager = ({
24631
24689
  page,
24632
24690
  pageSize,
@@ -24640,10 +24698,10 @@ var Pager = ({
24640
24698
  const to = Math.min(current + pageSize, total);
24641
24699
  const pages = Math.max(Math.ceil(total / pageSize), 1);
24642
24700
  const options = [...Array(pages).keys()].map((i) => ({ value: i + 1 }));
24643
- const Label = ({ children }) => /* @__PURE__ */ jsx142(Typography_default, { color: Colors_exports.grey400, sx: { padding: "0 8px" }, children });
24701
+ const Label = ({ children }) => /* @__PURE__ */ jsx143(Typography_default, { color: Colors_exports.grey400, sx: { padding: "0 8px" }, children });
24644
24702
  return /* @__PURE__ */ jsxs72(Stack_default, { direction: "row", sx: { alignItems: "center" }, children: [
24645
- /* @__PURE__ */ jsx142(Label, { children: t("PAGER.PAGE") }),
24646
- /* @__PURE__ */ jsx142(
24703
+ /* @__PURE__ */ jsx143(Label, { children: t("PAGER.PAGE") }),
24704
+ /* @__PURE__ */ jsx143(
24647
24705
  Select_default,
24648
24706
  {
24649
24707
  value: page,
@@ -24653,8 +24711,8 @@ var Pager = ({
24653
24711
  }
24654
24712
  ),
24655
24713
  allowedPageSizes && /* @__PURE__ */ jsxs72(Fragment34, { children: [
24656
- /* @__PURE__ */ jsx142(Label, { children: t("PAGER.ROWS_PER_PAGE") }),
24657
- /* @__PURE__ */ jsx142(
24714
+ /* @__PURE__ */ jsx143(Label, { children: t("PAGER.ROWS_PER_PAGE") }),
24715
+ /* @__PURE__ */ jsx143(
24658
24716
  Select_default,
24659
24717
  {
24660
24718
  value: pageSize,
@@ -24677,7 +24735,7 @@ var Pager = ({
24677
24735
  " ",
24678
24736
  total
24679
24737
  ] }),
24680
- /* @__PURE__ */ jsx142(
24738
+ /* @__PURE__ */ jsx143(
24681
24739
  IconButton_default,
24682
24740
  {
24683
24741
  disabled: page <= 1,
@@ -24685,7 +24743,7 @@ var Pager = ({
24685
24743
  onClick: () => onPageChange(page - 1, pageSize)
24686
24744
  }
24687
24745
  ),
24688
- /* @__PURE__ */ jsx142(
24746
+ /* @__PURE__ */ jsx143(
24689
24747
  IconButton_default,
24690
24748
  {
24691
24749
  disabled: page > total / pageSize,
@@ -24700,7 +24758,7 @@ var Pager_default = Pager;
24700
24758
  // src/components/scrollable/HorizontalScrollable.tsx
24701
24759
  import { ButtonBase as ButtonBase4 } from "@mui/material";
24702
24760
  import * as React79 from "react";
24703
- import { jsx as jsx143, jsxs as jsxs73 } from "react/jsx-runtime";
24761
+ import { jsx as jsx144, jsxs as jsxs73 } from "react/jsx-runtime";
24704
24762
  var HorizontalScrollable = ({
24705
24763
  style: style3,
24706
24764
  children,
@@ -24750,7 +24808,7 @@ var HorizontalScrollable = ({
24750
24808
  current.scrollBy(stepDistance, 0);
24751
24809
  };
24752
24810
  return /* @__PURE__ */ jsxs73(Box_default, { sx: { position: "relative", ...style3 }, children: [
24753
- /* @__PURE__ */ jsx143(
24811
+ /* @__PURE__ */ jsx144(
24754
24812
  ButtonBase4,
24755
24813
  {
24756
24814
  sx: {
@@ -24767,10 +24825,10 @@ var HorizontalScrollable = ({
24767
24825
  ...isLeftArrowHidden && { display: "none" }
24768
24826
  },
24769
24827
  onClick: () => leftScroll(),
24770
- children: /* @__PURE__ */ jsx143(Icon_default, { id: "chevron-left" })
24828
+ children: /* @__PURE__ */ jsx144(Icon_default, { id: "chevron-left" })
24771
24829
  }
24772
24830
  ),
24773
- /* @__PURE__ */ jsx143(
24831
+ /* @__PURE__ */ jsx144(
24774
24832
  Box_default,
24775
24833
  {
24776
24834
  ref: horizontalContainerRef,
@@ -24789,7 +24847,7 @@ var HorizontalScrollable = ({
24789
24847
  children
24790
24848
  }
24791
24849
  ),
24792
- /* @__PURE__ */ jsx143(
24850
+ /* @__PURE__ */ jsx144(
24793
24851
  ButtonBase4,
24794
24852
  {
24795
24853
  sx: {
@@ -24806,7 +24864,7 @@ var HorizontalScrollable = ({
24806
24864
  ...isRightArrowHidden && { display: "none" }
24807
24865
  },
24808
24866
  onClick: () => rightScroll(),
24809
- children: /* @__PURE__ */ jsx143(Icon_default, { id: "chevron-right" })
24867
+ children: /* @__PURE__ */ jsx144(Icon_default, { id: "chevron-right" })
24810
24868
  }
24811
24869
  )
24812
24870
  ] });
@@ -24817,12 +24875,12 @@ var HorizontalScrollable_default = HorizontalScrollable;
24817
24875
  import {
24818
24876
  SnackbarProvider as NotistackSnackbarProvider
24819
24877
  } from "notistack";
24820
- import { jsx as jsx144 } from "react/jsx-runtime";
24878
+ import { jsx as jsx145 } from "react/jsx-runtime";
24821
24879
  var SnackbarProvider = ({
24822
24880
  children,
24823
24881
  maxSnack = 3,
24824
24882
  domRoot
24825
- }) => /* @__PURE__ */ jsx144(
24883
+ }) => /* @__PURE__ */ jsx145(
24826
24884
  NotistackSnackbarProvider,
24827
24885
  {
24828
24886
  maxSnack,
@@ -24843,7 +24901,7 @@ import {
24843
24901
  import * as React80 from "react";
24844
24902
  import { SnackbarContent } from "notistack";
24845
24903
  import { Typography as Typography4 } from "@mui/material";
24846
- import { jsx as jsx145, jsxs as jsxs74 } from "react/jsx-runtime";
24904
+ import { jsx as jsx146, jsxs as jsxs74 } from "react/jsx-runtime";
24847
24905
  var sizeStyles5 = {
24848
24906
  M: {
24849
24907
  width: "344px",
@@ -24886,7 +24944,7 @@ var Snackbar = React80.forwardRef(
24886
24944
  const closeClickHandler = React80.useCallback(() => {
24887
24945
  onCloseClick && onCloseClick(key);
24888
24946
  }, [onCloseClick, key]);
24889
- return /* @__PURE__ */ jsx145(
24947
+ return /* @__PURE__ */ jsx146(
24890
24948
  SnackbarContent,
24891
24949
  {
24892
24950
  ref,
@@ -24911,7 +24969,7 @@ var Snackbar = React80.forwardRef(
24911
24969
  spacing: 2,
24912
24970
  sx: { width: "100%", alignItems: "center" },
24913
24971
  children: [
24914
- withIcon && /* @__PURE__ */ jsx145(
24972
+ withIcon && /* @__PURE__ */ jsx146(
24915
24973
  Box_default,
24916
24974
  {
24917
24975
  sx: {
@@ -24919,10 +24977,10 @@ var Snackbar = React80.forwardRef(
24919
24977
  flexShrink: 0,
24920
24978
  color: iconColors[severity]
24921
24979
  },
24922
- children: /* @__PURE__ */ jsx145(Icon_default, { id: severityIcons[severity] })
24980
+ children: /* @__PURE__ */ jsx146(Icon_default, { id: severityIcons[severity] })
24923
24981
  }
24924
24982
  ),
24925
- /* @__PURE__ */ jsx145(
24983
+ /* @__PURE__ */ jsx146(
24926
24984
  Typography4,
24927
24985
  {
24928
24986
  variant: "body2",
@@ -24930,7 +24988,7 @@ var Snackbar = React80.forwardRef(
24930
24988
  children: message
24931
24989
  }
24932
24990
  ),
24933
- actionText && /* @__PURE__ */ jsx145(Box_default, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx145(
24991
+ actionText && /* @__PURE__ */ jsx146(Box_default, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx146(
24934
24992
  Button_default,
24935
24993
  {
24936
24994
  sx: {
@@ -24945,7 +25003,7 @@ var Snackbar = React80.forwardRef(
24945
25003
  onClick: actionClickHandler
24946
25004
  }
24947
25005
  ) }),
24948
- /* @__PURE__ */ jsx145(Box_default, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx145(
25006
+ /* @__PURE__ */ jsx146(Box_default, { sx: { flexGrow: 0, flexShrink: 0 }, children: /* @__PURE__ */ jsx146(
24949
25007
  IconButton_default,
24950
25008
  {
24951
25009
  iconId: "close",
@@ -24970,7 +25028,7 @@ var Snackbar_default = Snackbar;
24970
25028
 
24971
25029
  // src/components/snackbar/enqueueSnackbar.tsx
24972
25030
  import { closeSnackbar as closeSnackbar2 } from "notistack";
24973
- import { jsx as jsx146 } from "react/jsx-runtime";
25031
+ import { jsx as jsx147 } from "react/jsx-runtime";
24974
25032
  var enqueueSnackbar = (message, options = {}) => {
24975
25033
  const {
24976
25034
  persist,
@@ -24986,7 +25044,7 @@ var enqueueSnackbar = (message, options = {}) => {
24986
25044
  autoHideDuration: autoHideDurationMs ?? 1e4,
24987
25045
  persist: persist ?? false,
24988
25046
  content(key, message2) {
24989
- return /* @__PURE__ */ jsx146(
25047
+ return /* @__PURE__ */ jsx147(
24990
25048
  Snackbar_default,
24991
25049
  {
24992
25050
  identifierKey: key,
@@ -25003,7 +25061,7 @@ var enqueueSnackbar = (message, options = {}) => {
25003
25061
 
25004
25062
  // src/components/tab/TabButton.tsx
25005
25063
  import MuiTab from "@mui/material/Tab";
25006
- import { jsx as jsx147 } from "react/jsx-runtime";
25064
+ import { jsx as jsx148 } from "react/jsx-runtime";
25007
25065
  var TabButton = ({
25008
25066
  children,
25009
25067
  disabled = false,
@@ -25012,10 +25070,10 @@ var TabButton = ({
25012
25070
  dataTestId,
25013
25071
  disableUppercase = false,
25014
25072
  ...rest
25015
- }) => /* @__PURE__ */ jsx147(
25073
+ }) => /* @__PURE__ */ jsx148(
25016
25074
  MuiTab,
25017
25075
  {
25018
- label: /* @__PURE__ */ jsx147(
25076
+ label: /* @__PURE__ */ jsx148(
25019
25077
  "div",
25020
25078
  {
25021
25079
  style: {
@@ -25053,7 +25111,7 @@ import MuiTabs from "@mui/material/Tabs";
25053
25111
  // src/components/layout/SwipeableViews.tsx
25054
25112
  import * as React81 from "react";
25055
25113
  import { useEffect as useEffect21, useRef as useRef22, useState as useState31 } from "react";
25056
- import { jsx as jsx148 } from "react/jsx-runtime";
25114
+ import { jsx as jsx149 } from "react/jsx-runtime";
25057
25115
  var styles = {
25058
25116
  container: {
25059
25117
  maxHeight: "100%",
@@ -25124,7 +25182,7 @@ function SwipeableViews({
25124
25182
  return () => cancelAnimationFrame(animationFrame);
25125
25183
  }
25126
25184
  }, [index]);
25127
- return /* @__PURE__ */ jsx148(
25185
+ return /* @__PURE__ */ jsx149(
25128
25186
  "div",
25129
25187
  {
25130
25188
  ...rootProps,
@@ -25147,7 +25205,7 @@ function SwipeableViews({
25147
25205
  );
25148
25206
  }, 100);
25149
25207
  },
25150
- children: React81.Children.map(children, (child, childIndex) => /* @__PURE__ */ jsx148(
25208
+ children: React81.Children.map(children, (child, childIndex) => /* @__PURE__ */ jsx149(
25151
25209
  "div",
25152
25210
  {
25153
25211
  className: "Slim-Vertical-Scroll",
@@ -25160,7 +25218,7 @@ function SwipeableViews({
25160
25218
  }
25161
25219
 
25162
25220
  // src/components/tab/Tabs.tsx
25163
- import { jsx as jsx149, jsxs as jsxs75 } from "react/jsx-runtime";
25221
+ import { jsx as jsx150, jsxs as jsxs75 } from "react/jsx-runtime";
25164
25222
  var Tabs = ({
25165
25223
  tabButtons,
25166
25224
  children,
@@ -25196,7 +25254,7 @@ var Tabs = ({
25196
25254
  }
25197
25255
  },
25198
25256
  children: [
25199
- /* @__PURE__ */ jsx149(
25257
+ /* @__PURE__ */ jsx150(
25200
25258
  MuiTabs,
25201
25259
  {
25202
25260
  value: currentTabIndex ?? value,
@@ -25222,7 +25280,7 @@ var Tabs = ({
25222
25280
  children: tabButtons
25223
25281
  }
25224
25282
  ),
25225
- /* @__PURE__ */ jsx149(
25283
+ /* @__PURE__ */ jsx150(
25226
25284
  Box_default,
25227
25285
  {
25228
25286
  sx: {
@@ -25231,7 +25289,7 @@ var Tabs = ({
25231
25289
  height: "100%"
25232
25290
  }
25233
25291
  },
25234
- children: /* @__PURE__ */ jsx149(
25292
+ children: /* @__PURE__ */ jsx150(
25235
25293
  SwipeableViews,
25236
25294
  {
25237
25295
  index: currentTabIndex ?? value,
@@ -25259,8 +25317,8 @@ var Tabs = ({
25259
25317
  var Tabs_default = Tabs;
25260
25318
 
25261
25319
  // src/components/tab/TabContent.tsx
25262
- import { jsx as jsx150 } from "react/jsx-runtime";
25263
- var TabContent = ({ children }) => /* @__PURE__ */ jsx150(
25320
+ import { jsx as jsx151 } from "react/jsx-runtime";
25321
+ var TabContent = ({ children }) => /* @__PURE__ */ jsx151(
25264
25322
  Box_default,
25265
25323
  {
25266
25324
  sx: {
@@ -25277,8 +25335,8 @@ import {
25277
25335
  TableRow as MuiTableRow,
25278
25336
  TableCell as MuiTableCell
25279
25337
  } from "@mui/material";
25280
- import { jsx as jsx151 } from "react/jsx-runtime";
25281
- var TableDivider = () => /* @__PURE__ */ jsx151(MuiTableRow, { children: /* @__PURE__ */ jsx151(
25338
+ import { jsx as jsx152 } from "react/jsx-runtime";
25339
+ var TableDivider = () => /* @__PURE__ */ jsx152(MuiTableRow, { children: /* @__PURE__ */ jsx152(
25282
25340
  MuiTableCell,
25283
25341
  {
25284
25342
  colSpan: 1e3,
@@ -25291,8 +25349,8 @@ var TableDivider_default = TableDivider;
25291
25349
  import {
25292
25350
  TableSortLabel as MuiTableSortLabel
25293
25351
  } from "@mui/material";
25294
- import { jsx as jsx152 } from "react/jsx-runtime";
25295
- var TableSortLabel = ({ children, ...rest }) => /* @__PURE__ */ jsx152(MuiTableSortLabel, { ...rest, children });
25352
+ import { jsx as jsx153 } from "react/jsx-runtime";
25353
+ var TableSortLabel = ({ children, ...rest }) => /* @__PURE__ */ jsx153(MuiTableSortLabel, { ...rest, children });
25296
25354
  var TableSortLabel_default = TableSortLabel;
25297
25355
 
25298
25356
  // src/components/table/Table.tsx
@@ -25300,21 +25358,21 @@ import {
25300
25358
  TableContainer,
25301
25359
  Table as MuiTable
25302
25360
  } from "@mui/material";
25303
- import { jsx as jsx153 } from "react/jsx-runtime";
25304
- var Table = ({ children, sx, className }) => /* @__PURE__ */ jsx153(TableContainer, { className: "Slim-Horizontal-Scroll", children: /* @__PURE__ */ jsx153(MuiTable, { sx: { backgroundColor: white, ...sx }, className, children }) });
25361
+ import { jsx as jsx154 } from "react/jsx-runtime";
25362
+ var Table = ({ children, sx, className }) => /* @__PURE__ */ jsx154(TableContainer, { className: "Slim-Horizontal-Scroll", children: /* @__PURE__ */ jsx154(MuiTable, { sx: { backgroundColor: white, ...sx }, className, children }) });
25305
25363
  var Table_default = Table;
25306
25364
 
25307
25365
  // src/components/table/TableBody.tsx
25308
25366
  import { TableBody as MuiTableBody } from "@mui/material";
25309
- import { jsx as jsx154 } from "react/jsx-runtime";
25310
- var TableBody = ({ children }) => /* @__PURE__ */ jsx154(MuiTableBody, { children });
25367
+ import { jsx as jsx155 } from "react/jsx-runtime";
25368
+ var TableBody = ({ children }) => /* @__PURE__ */ jsx155(MuiTableBody, { children });
25311
25369
  var TableBody_default = TableBody;
25312
25370
 
25313
25371
  // src/components/table/TableCell.tsx
25314
25372
  import {
25315
25373
  TableCell as MuiTableCell2
25316
25374
  } from "@mui/material";
25317
- import { jsx as jsx155 } from "react/jsx-runtime";
25375
+ import { jsx as jsx156 } from "react/jsx-runtime";
25318
25376
  var TableCell = ({
25319
25377
  children,
25320
25378
  size = "M",
@@ -25325,7 +25383,7 @@ var TableCell = ({
25325
25383
  onClick,
25326
25384
  noBorder = false,
25327
25385
  ...rest
25328
- }) => /* @__PURE__ */ jsx155(
25386
+ }) => /* @__PURE__ */ jsx156(
25329
25387
  MuiTableCell2,
25330
25388
  {
25331
25389
  ...rest,
@@ -25350,7 +25408,7 @@ var TableCell_default = TableCell;
25350
25408
 
25351
25409
  // src/components/table/TableCellCopy.tsx
25352
25410
  import * as React83 from "react";
25353
- import { jsx as jsx156 } from "react/jsx-runtime";
25411
+ import { jsx as jsx157 } from "react/jsx-runtime";
25354
25412
  var TableCellCopy = ({ text, textToCopy, ...rest }) => {
25355
25413
  const { t } = useTranslation();
25356
25414
  const [isCopied, setIsCopied] = React83.useState(false);
@@ -25368,7 +25426,7 @@ var TableCellCopy = ({ text, textToCopy, ...rest }) => {
25368
25426
  const getIconId = () => !isCopied ? "content-copy" : "check";
25369
25427
  const iconHiddenClass = "icon-hidden";
25370
25428
  const iconCopiedClass = "icon-copied";
25371
- return /* @__PURE__ */ jsx156(TableCell_default, { ...rest, sx: { padding: 0 }, children: /* @__PURE__ */ jsx156(
25429
+ return /* @__PURE__ */ jsx157(TableCell_default, { ...rest, sx: { padding: 0 }, children: /* @__PURE__ */ jsx157(
25372
25430
  Stack_default,
25373
25431
  {
25374
25432
  direction: "row",
@@ -25377,7 +25435,7 @@ var TableCellCopy = ({ text, textToCopy, ...rest }) => {
25377
25435
  onMouseEnter: () => setShowIcon(true),
25378
25436
  onMouseLeave: () => setShowIcon(false),
25379
25437
  onClick: manageButtonClicked,
25380
- children: /* @__PURE__ */ jsx156(Tooltip_default, { title: t(!isCopied ? "COPY" : "COPIED"), children: /* @__PURE__ */ jsx156(
25438
+ children: /* @__PURE__ */ jsx157(Tooltip_default, { title: t(!isCopied ? "COPY" : "COPIED"), children: /* @__PURE__ */ jsx157(
25381
25439
  Button_default,
25382
25440
  {
25383
25441
  className: isCopied ? iconCopiedClass : !showIcon ? iconHiddenClass : "",
@@ -25407,21 +25465,21 @@ var TableCellCopy_default = TableCellCopy;
25407
25465
 
25408
25466
  // src/components/table/TableHead.tsx
25409
25467
  import { TableHead as MuiTableHead } from "@mui/material";
25410
- import { jsx as jsx157 } from "react/jsx-runtime";
25411
- var TableHead = ({ children }) => /* @__PURE__ */ jsx157(MuiTableHead, { children });
25468
+ import { jsx as jsx158 } from "react/jsx-runtime";
25469
+ var TableHead = ({ children }) => /* @__PURE__ */ jsx158(MuiTableHead, { children });
25412
25470
  var TableHead_default = TableHead;
25413
25471
 
25414
25472
  // src/components/table/TableRow.tsx
25415
25473
  import {
25416
25474
  TableRow as MuiTableRow2
25417
25475
  } from "@mui/material";
25418
- import { jsx as jsx158 } from "react/jsx-runtime";
25476
+ import { jsx as jsx159 } from "react/jsx-runtime";
25419
25477
  var TableRow = ({
25420
25478
  children,
25421
25479
  isFollowedByNestedTable = false,
25422
25480
  fadeInLeftAnimation = false,
25423
25481
  sx
25424
- }) => /* @__PURE__ */ jsx158(
25482
+ }) => /* @__PURE__ */ jsx159(
25425
25483
  MuiTableRow2,
25426
25484
  {
25427
25485
  className: `${isFollowedByNestedTable ? "Followed-By-Nested-Table" : ""} ${fadeInLeftAnimation ? "animated fadeInLeft" : ""}`,
@@ -25433,14 +25491,14 @@ var TableRow_default = TableRow;
25433
25491
 
25434
25492
  // src/components/table/NestedTable.tsx
25435
25493
  import { Collapse as Collapse7 } from "@mui/material";
25436
- import { jsx as jsx159 } from "react/jsx-runtime";
25494
+ import { jsx as jsx160 } from "react/jsx-runtime";
25437
25495
  var NestedTable = ({
25438
25496
  colSpan,
25439
25497
  children,
25440
25498
  className = "",
25441
25499
  sx,
25442
25500
  isVisible = true
25443
- }) => /* @__PURE__ */ jsx159(TableRow_default, { children: /* @__PURE__ */ jsx159(
25501
+ }) => /* @__PURE__ */ jsx160(TableRow_default, { children: /* @__PURE__ */ jsx160(
25444
25502
  TableCell_default,
25445
25503
  {
25446
25504
  colSpan,
@@ -25449,14 +25507,14 @@ var NestedTable = ({
25449
25507
  height: "auto",
25450
25508
  ...!isVisible && { borderBottom: "none" }
25451
25509
  },
25452
- children: /* @__PURE__ */ jsx159(Collapse7, { in: isVisible, children: /* @__PURE__ */ jsx159(Box_default, { sx: { padding: "16px", backgroundColor: grey100 }, children: /* @__PURE__ */ jsx159(Paper_default, { children: /* @__PURE__ */ jsx159(Table_default, { sx, className: `Nested-Table ${className}`, children }) }) }) })
25510
+ children: /* @__PURE__ */ jsx160(Collapse7, { in: isVisible, children: /* @__PURE__ */ jsx160(Box_default, { sx: { padding: "16px", backgroundColor: grey100 }, children: /* @__PURE__ */ jsx160(Paper_default, { children: /* @__PURE__ */ jsx160(Table_default, { sx, className: `Nested-Table ${className}`, children }) }) }) })
25453
25511
  }
25454
25512
  ) });
25455
25513
  var NestedTable_default = NestedTable;
25456
25514
 
25457
25515
  // src/components/toolbar/ToolbarBreadcrumb.tsx
25458
- import { jsx as jsx160 } from "react/jsx-runtime";
25459
- var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx160(
25516
+ import { jsx as jsx161 } from "react/jsx-runtime";
25517
+ var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx161(
25460
25518
  Stack_default,
25461
25519
  {
25462
25520
  direction: "row",
@@ -25466,7 +25524,7 @@ var ToolbarBreadcrumb = ({ parts = [] }) => /* @__PURE__ */ jsx160(
25466
25524
  (previous, current, index) => [
25467
25525
  ...previous,
25468
25526
  ...index > 0 ? [
25469
- /* @__PURE__ */ jsx160(
25527
+ /* @__PURE__ */ jsx161(
25470
25528
  Typography_default,
25471
25529
  {
25472
25530
  color: grey500,
@@ -25490,9 +25548,9 @@ var ToolbarBreadcrumb_default = ToolbarBreadcrumb;
25490
25548
  // src/components/toolbar/ToolbarBreadcrumbButton.tsx
25491
25549
  import { ButtonBase as ButtonBase5 } from "@mui/material";
25492
25550
  import * as React84 from "react";
25493
- import { jsx as jsx161 } from "react/jsx-runtime";
25551
+ import { jsx as jsx162 } from "react/jsx-runtime";
25494
25552
  var ToolbarBreadcrumbButton = React84.forwardRef(function ToolbarBreadcrumbButton2({ text, className, ...rest }, ref) {
25495
- return /* @__PURE__ */ jsx161(
25553
+ return /* @__PURE__ */ jsx162(
25496
25554
  ButtonBase5,
25497
25555
  {
25498
25556
  className: `Cn-ToolbarBreadcrumbButton ${className}`,
@@ -25511,14 +25569,14 @@ var ToolbarBreadcrumbButton = React84.forwardRef(function ToolbarBreadcrumbButto
25511
25569
  }
25512
25570
  },
25513
25571
  ...rest,
25514
- children: /* @__PURE__ */ jsx161(Typography_default, { color: "inherit", component: "div", variant: "h6", noWrap: true, children: text })
25572
+ children: /* @__PURE__ */ jsx162(Typography_default, { color: "inherit", component: "div", variant: "h6", noWrap: true, children: text })
25515
25573
  }
25516
25574
  );
25517
25575
  });
25518
25576
  var ToolbarBreadcrumbButton_default = ToolbarBreadcrumbButton;
25519
25577
 
25520
25578
  // src/components/toolbar/Toolbar.tsx
25521
- import { jsx as jsx162, jsxs as jsxs76 } from "react/jsx-runtime";
25579
+ import { jsx as jsx163, jsxs as jsxs76 } from "react/jsx-runtime";
25522
25580
  var Toolbar = ({
25523
25581
  children,
25524
25582
  rightActions,
@@ -25559,7 +25617,7 @@ var Toolbar = ({
25559
25617
  width: "100%"
25560
25618
  },
25561
25619
  children: [
25562
- leftActions && /* @__PURE__ */ jsx162(
25620
+ leftActions && /* @__PURE__ */ jsx163(
25563
25621
  Box_default,
25564
25622
  {
25565
25623
  className: `Cn-Toolbar-left`,
@@ -25569,7 +25627,7 @@ var Toolbar = ({
25569
25627
  children: leftActions
25570
25628
  }
25571
25629
  ),
25572
- /* @__PURE__ */ jsx162(
25630
+ /* @__PURE__ */ jsx163(
25573
25631
  Box_default,
25574
25632
  {
25575
25633
  className: `Cn-Toolbar-children`,
@@ -25584,7 +25642,7 @@ var Toolbar = ({
25584
25642
  ]
25585
25643
  }
25586
25644
  ),
25587
- rightActions && /* @__PURE__ */ jsx162(
25645
+ rightActions && /* @__PURE__ */ jsx163(
25588
25646
  Box_default,
25589
25647
  {
25590
25648
  className: `Cn-Toolbar-right`,
@@ -25605,7 +25663,7 @@ var Toolbar_default = Toolbar;
25605
25663
  // src/components/toolbar/ToolbarTitle.tsx
25606
25664
  import * as React85 from "react";
25607
25665
  import { useState as useState34 } from "react";
25608
- import { jsx as jsx163, jsxs as jsxs77 } from "react/jsx-runtime";
25666
+ import { jsx as jsx164, jsxs as jsxs77 } from "react/jsx-runtime";
25609
25667
  var ToolbarTitle = React85.forwardRef(function ToolbarTitle2({
25610
25668
  title,
25611
25669
  align = "left",
@@ -25615,7 +25673,7 @@ var ToolbarTitle = React85.forwardRef(function ToolbarTitle2({
25615
25673
  }, ref) {
25616
25674
  const textElementRef = React85.useRef(null);
25617
25675
  const [showHoverActions, setShowHoverActions] = useState34(false);
25618
- return /* @__PURE__ */ jsx163(Box_default, { sx: { maxWidth: "100%" }, children: /* @__PURE__ */ jsx163(
25676
+ return /* @__PURE__ */ jsx164(Box_default, { sx: { maxWidth: "100%" }, children: /* @__PURE__ */ jsx164(
25619
25677
  TextEllipsisTooltip_default,
25620
25678
  {
25621
25679
  title: title ?? "\xA0",
@@ -25638,7 +25696,7 @@ var ToolbarTitle = React85.forwardRef(function ToolbarTitle2({
25638
25696
  },
25639
25697
  children: [
25640
25698
  title || "\xA0",
25641
- hoverActions && showHoverActions && /* @__PURE__ */ jsx163(
25699
+ hoverActions && showHoverActions && /* @__PURE__ */ jsx164(
25642
25700
  Box_default,
25643
25701
  {
25644
25702
  sx: {
@@ -25667,13 +25725,13 @@ var Slide_default = Slide;
25667
25725
 
25668
25726
  // src/components/widget/WidgetLegendItem.tsx
25669
25727
  import { ButtonBase as ButtonBase6 } from "@mui/material";
25670
- import { jsx as jsx164, jsxs as jsxs78 } from "react/jsx-runtime";
25728
+ import { jsx as jsx165, jsxs as jsxs78 } from "react/jsx-runtime";
25671
25729
  var WidgetLegendItem = ({
25672
25730
  groupLabel,
25673
25731
  legendDirection = "column",
25674
25732
  items = [],
25675
25733
  onClick
25676
- }) => /* @__PURE__ */ jsx164(
25734
+ }) => /* @__PURE__ */ jsx165(
25677
25735
  ButtonBase6,
25678
25736
  {
25679
25737
  tabIndex: onClick ? 0 : -1,
@@ -25699,7 +25757,7 @@ var WidgetLegendItem = ({
25699
25757
  color: grey800
25700
25758
  },
25701
25759
  children: [
25702
- groupLabel && /* @__PURE__ */ jsx164(
25760
+ groupLabel && /* @__PURE__ */ jsx165(
25703
25761
  Typography_default,
25704
25762
  {
25705
25763
  variant: "overline",
@@ -25731,7 +25789,7 @@ var WidgetLegendItem = ({
25731
25789
  paddingRight: legendDirection === "row" ? "12px" : "inherit"
25732
25790
  },
25733
25791
  children: [
25734
- iconColor && /* @__PURE__ */ jsx164(
25792
+ iconColor && /* @__PURE__ */ jsx165(
25735
25793
  Icon_default,
25736
25794
  {
25737
25795
  id: iconId,
@@ -25742,7 +25800,7 @@ var WidgetLegendItem = ({
25742
25800
  size: iconSize
25743
25801
  }
25744
25802
  ),
25745
- label && /* @__PURE__ */ jsx164(
25803
+ label && /* @__PURE__ */ jsx165(
25746
25804
  Typography_default,
25747
25805
  {
25748
25806
  variant: "caption",
@@ -25751,7 +25809,7 @@ var WidgetLegendItem = ({
25751
25809
  children: label
25752
25810
  }
25753
25811
  ),
25754
- value && /* @__PURE__ */ jsx164(
25812
+ value && /* @__PURE__ */ jsx165(
25755
25813
  Typography_default,
25756
25814
  {
25757
25815
  sx: style3,
@@ -25760,7 +25818,7 @@ var WidgetLegendItem = ({
25760
25818
  children: value
25761
25819
  }
25762
25820
  ),
25763
- incrementLabelValue && /* @__PURE__ */ jsx164(
25821
+ incrementLabelValue && /* @__PURE__ */ jsx165(
25764
25822
  IncrementLabel_default,
25765
25823
  {
25766
25824
  label: incrementLabelValue,
@@ -25786,8 +25844,8 @@ var WidgetLegendItem_default = WidgetLegendItem;
25786
25844
 
25787
25845
  // src/components/widget/Widget.tsx
25788
25846
  import MuiCard2 from "@mui/material/Card";
25789
- import { jsx as jsx165 } from "react/jsx-runtime";
25790
- var Widget = ({ children }) => /* @__PURE__ */ jsx165(
25847
+ import { jsx as jsx166 } from "react/jsx-runtime";
25848
+ var Widget = ({ children }) => /* @__PURE__ */ jsx166(
25791
25849
  MuiCard2,
25792
25850
  {
25793
25851
  variant: "elevation",
@@ -25811,8 +25869,8 @@ var Widget = ({ children }) => /* @__PURE__ */ jsx165(
25811
25869
  var Widget_default = Widget;
25812
25870
 
25813
25871
  // src/components/widget/WidgetActions.tsx
25814
- import { jsx as jsx166 } from "react/jsx-runtime";
25815
- var WidgetActions = ({ children }) => /* @__PURE__ */ jsx166(
25872
+ import { jsx as jsx167 } from "react/jsx-runtime";
25873
+ var WidgetActions = ({ children }) => /* @__PURE__ */ jsx167(
25816
25874
  Box_default,
25817
25875
  {
25818
25876
  sx: {
@@ -25826,8 +25884,8 @@ var WidgetActions = ({ children }) => /* @__PURE__ */ jsx166(
25826
25884
  var WidgetActions_default = WidgetActions;
25827
25885
 
25828
25886
  // src/components/widget/WidgetTitle.tsx
25829
- import { jsx as jsx167 } from "react/jsx-runtime";
25830
- var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE__ */ jsx167(
25887
+ import { jsx as jsx168 } from "react/jsx-runtime";
25888
+ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE__ */ jsx168(
25831
25889
  Box_default,
25832
25890
  {
25833
25891
  sx: {
@@ -25837,7 +25895,7 @@ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE
25837
25895
  maxWidth: "100%",
25838
25896
  ...sx
25839
25897
  },
25840
- children: /* @__PURE__ */ jsx167(
25898
+ children: /* @__PURE__ */ jsx168(
25841
25899
  Typography_default,
25842
25900
  {
25843
25901
  variant: "subtitle2",
@@ -25851,12 +25909,12 @@ var WidgetTitle = ({ children, sx, multiline = false }) => children ? /* @__PURE
25851
25909
  }
25852
25910
  )
25853
25911
  }
25854
- ) : /* @__PURE__ */ jsx167("span", {});
25912
+ ) : /* @__PURE__ */ jsx168("span", {});
25855
25913
  var WidgetTitle_default = WidgetTitle;
25856
25914
 
25857
25915
  // src/components/window/MinimizableWindow.tsx
25858
25916
  import * as React86 from "react";
25859
- import { Fragment as Fragment35, jsx as jsx168, jsxs as jsxs79 } from "react/jsx-runtime";
25917
+ import { Fragment as Fragment35, jsx as jsx169, jsxs as jsxs79 } from "react/jsx-runtime";
25860
25918
  var sizes6 = {
25861
25919
  M: 400,
25862
25920
  L: 500,
@@ -25888,9 +25946,11 @@ var MinimizableWindow = React86.forwardRef(function MinimizableWindow2({
25888
25946
  open,
25889
25947
  closeable = true,
25890
25948
  showBackButton = false,
25949
+ backButton,
25891
25950
  sx,
25892
25951
  targetElement,
25893
25952
  contentHeight,
25953
+ iconSizes: iconSizes4 = "S",
25894
25954
  onMinimize,
25895
25955
  onClose,
25896
25956
  onBack
@@ -25969,7 +26029,7 @@ var MinimizableWindow = React86.forwardRef(function MinimizableWindow2({
25969
26029
  }, 750);
25970
26030
  };
25971
26031
  return /* @__PURE__ */ jsxs79(Fragment35, { children: [
25972
- isDraggingState && /* @__PURE__ */ jsx168(
26032
+ isDraggingState && /* @__PURE__ */ jsx169(
25973
26033
  Box_default,
25974
26034
  {
25975
26035
  sx: {
@@ -25985,7 +26045,7 @@ var MinimizableWindow = React86.forwardRef(function MinimizableWindow2({
25985
26045
  onMouseMove: (ev) => handleMouseMove(ev)
25986
26046
  }
25987
26047
  ),
25988
- /* @__PURE__ */ jsx168(
26048
+ /* @__PURE__ */ jsx169(
25989
26049
  Box_default,
25990
26050
  {
25991
26051
  ref: overlayRef,
@@ -26027,32 +26087,32 @@ var MinimizableWindow = React86.forwardRef(function MinimizableWindow2({
26027
26087
  onMouseDown: handleMouseDown,
26028
26088
  minHeight: "44px",
26029
26089
  children: [
26030
- /* @__PURE__ */ jsx168(
26090
+ /* @__PURE__ */ jsx169(
26031
26091
  Stack_default,
26032
26092
  {
26033
26093
  direction: "row",
26034
26094
  alignItems: "center",
26035
26095
  onMouseDown: (ev) => ev.stopPropagation(),
26036
- children: showBackButton && /* @__PURE__ */ jsx168(
26096
+ children: showBackButton && (!backButton ? /* @__PURE__ */ jsx169(
26037
26097
  Tooltip_default,
26038
26098
  {
26039
26099
  title: t("MINIMIZABLE_WINDOW.GO_BACK"),
26040
26100
  zIndex: 999999,
26041
26101
  placement: "top",
26042
- children: /* @__PURE__ */ jsx168(
26102
+ children: /* @__PURE__ */ jsx169(
26043
26103
  IconButton_default,
26044
26104
  {
26045
- size: "S",
26105
+ size: iconSizes4,
26046
26106
  iconId: "arrow-left",
26047
26107
  onClick: onBack,
26048
26108
  sx: iconButtonsStyles
26049
26109
  }
26050
26110
  )
26051
26111
  }
26052
- )
26112
+ ) : backButton)
26053
26113
  }
26054
26114
  ),
26055
- /* @__PURE__ */ jsx168(
26115
+ /* @__PURE__ */ jsx169(
26056
26116
  Box_default,
26057
26117
  {
26058
26118
  sx: {
@@ -26060,7 +26120,7 @@ var MinimizableWindow = React86.forwardRef(function MinimizableWindow2({
26060
26120
  left: "50%",
26061
26121
  transform: "translateX(-50%)"
26062
26122
  },
26063
- children: typeof title === "string" ? /* @__PURE__ */ jsx168(Typography_default, { children: title }) : title
26123
+ children: typeof title === "string" ? /* @__PURE__ */ jsx169(Typography_default, { children: title }) : title
26064
26124
  }
26065
26125
  ),
26066
26126
  /* @__PURE__ */ jsxs79(
@@ -26070,16 +26130,16 @@ var MinimizableWindow = React86.forwardRef(function MinimizableWindow2({
26070
26130
  alignItems: "center",
26071
26131
  onMouseDown: (ev) => ev.stopPropagation(),
26072
26132
  children: [
26073
- /* @__PURE__ */ jsx168(Box_default, { children: /* @__PURE__ */ jsx168(
26133
+ /* @__PURE__ */ jsx169(Box_default, { children: /* @__PURE__ */ jsx169(
26074
26134
  Tooltip_default,
26075
26135
  {
26076
26136
  title: t("MINIMIZABLE_WINDOW.MINIMIZE"),
26077
26137
  zIndex: 999999,
26078
26138
  placement: "top",
26079
- children: /* @__PURE__ */ jsx168(
26139
+ children: /* @__PURE__ */ jsx169(
26080
26140
  IconButton_default,
26081
26141
  {
26082
- size: "S",
26142
+ size: iconSizes4,
26083
26143
  iconId: "minus",
26084
26144
  onClick: () => {
26085
26145
  applyMinimizeTransition();
@@ -26092,16 +26152,16 @@ var MinimizableWindow = React86.forwardRef(function MinimizableWindow2({
26092
26152
  )
26093
26153
  }
26094
26154
  ) }),
26095
- closeable && /* @__PURE__ */ jsx168(Box_default, { sx: { padding: "0 8px" }, children: /* @__PURE__ */ jsx168(
26155
+ closeable && /* @__PURE__ */ jsx169(Box_default, { sx: { padding: "0 8px" }, children: /* @__PURE__ */ jsx169(
26096
26156
  Tooltip_default,
26097
26157
  {
26098
26158
  title: t("MINIMIZABLE_WINDOW.CLOSE"),
26099
26159
  zIndex: 999999,
26100
26160
  placement: "top",
26101
- children: /* @__PURE__ */ jsx168(
26161
+ children: /* @__PURE__ */ jsx169(
26102
26162
  IconButton_default,
26103
26163
  {
26104
- size: "S",
26164
+ size: iconSizes4,
26105
26165
  iconId: "close",
26106
26166
  onClick: onCloseModal,
26107
26167
  sx: iconButtonsStyles
@@ -26115,7 +26175,7 @@ var MinimizableWindow = React86.forwardRef(function MinimizableWindow2({
26115
26175
  ]
26116
26176
  }
26117
26177
  ),
26118
- /* @__PURE__ */ jsx168(
26178
+ /* @__PURE__ */ jsx169(
26119
26179
  Stack_default,
26120
26180
  {
26121
26181
  sx: {