impact-ui 4.0.6-tableV36.4 → 4.0.6-tableV36.5

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.
Files changed (122) hide show
  1. package/dist/_virtual/index13.js +2 -2
  2. package/dist/_virtual/index14.js +2 -2
  3. package/dist/_virtual/index3.js +2 -4
  4. package/dist/_virtual/index4.js +3 -3
  5. package/dist/_virtual/index5.js +4 -2
  6. package/dist/components/AccordionModern/SortableAccordionComp.d.ts.map +1 -1
  7. package/dist/components/AccordionModern/SortableAccordionComp.js +4 -2
  8. package/dist/components/Alert/index.d.ts.map +1 -1
  9. package/dist/components/Alert/index.js +5 -2
  10. package/dist/components/BottomSheet/index.d.ts.map +1 -1
  11. package/dist/components/BottomSheet/index.js +27 -21
  12. package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
  13. package/dist/components/Breadcrumbs/index.js +3 -3
  14. package/dist/components/Button/index.d.ts.map +1 -1
  15. package/dist/components/Button/index.js +4 -2
  16. package/dist/components/ButtonGroup/index.js +1 -1
  17. package/dist/components/Chart/index.d.ts +2 -2
  18. package/dist/components/Chart/index.d.ts.map +1 -1
  19. package/dist/components/Chart/index.js +18 -13
  20. package/dist/components/Checkbox/WithDropDown.d.ts.map +1 -1
  21. package/dist/components/Checkbox/WithDropDown.js +46 -30
  22. package/dist/components/Checkbox/index.js +1 -1
  23. package/dist/components/CreateItemFlow/index.d.ts.map +1 -1
  24. package/dist/components/CreateItemFlow/index.js +29 -8
  25. package/dist/components/DatePicker/showMonthYearSelect.d.ts.map +1 -1
  26. package/dist/components/DatePicker/showMonthYearSelect.js +4 -2
  27. package/dist/components/EmptyState/index.d.ts.map +1 -1
  28. package/dist/components/EmptyState/index.js +5 -2
  29. package/dist/components/FileUpload/index.d.ts.map +1 -1
  30. package/dist/components/FileUpload/index.js +7 -6
  31. package/dist/components/FilterPanel/FilterPanelHeader.d.ts.map +1 -1
  32. package/dist/components/FilterPanel/FilterPanelHeader.js +11 -1
  33. package/dist/components/FiltersStrip/FilterSlider.d.ts.map +1 -1
  34. package/dist/components/FiltersStrip/FilterSlider.js +6 -4
  35. package/dist/components/FiltersStrip/index.d.ts.map +1 -1
  36. package/dist/components/FiltersStrip/index.js +3 -2
  37. package/dist/components/Header/index.js +11 -11
  38. package/dist/components/HomePage/index.js +3 -3
  39. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
  40. package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts.map +1 -1
  41. package/dist/components/KeyboardShortCuts/ShortcutModal.js +5 -4
  42. package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
  43. package/dist/components/KeyboardShortCuts/index.js +1 -1
  44. package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
  45. package/dist/components/Loader/index.d.ts.map +1 -1
  46. package/dist/components/Loader/index.js +4 -3
  47. package/dist/components/MonthRangePicker/index.d.ts.map +1 -1
  48. package/dist/components/MonthRangePicker/index.js +0 -1
  49. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +1 -1
  50. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.js +8 -8
  51. package/dist/components/Notification/NotificationBody/index.d.ts.map +1 -1
  52. package/dist/components/Notification/NotificationBody/index.js +1 -1
  53. package/dist/components/Notification/NotificationHeader.d.ts.map +1 -1
  54. package/dist/components/Notification/NotificationHeader.js +4 -2
  55. package/dist/components/Panel/index.d.ts.map +1 -1
  56. package/dist/components/Panel/index.js +3 -1
  57. package/dist/components/Popover/index.d.ts.map +1 -1
  58. package/dist/components/Popover/index.js +3 -1
  59. package/dist/components/ProgressBar/index.d.ts.map +1 -1
  60. package/dist/components/ProgressBar/index.js +14 -7
  61. package/dist/components/Prompt/index.d.ts.map +1 -1
  62. package/dist/components/Prompt/index.js +3 -1
  63. package/dist/components/Slider/index.d.ts.map +1 -1
  64. package/dist/components/Slider/index.js +20 -10
  65. package/dist/components/Table/AdvanceSearchModalItem.js +2 -2
  66. package/dist/components/Table/AgGridHeader.js +36 -36
  67. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +2 -2
  68. package/dist/components/Table/advanceSearchModal.d.ts.map +1 -1
  69. package/dist/components/Table/advanceSearchModal.js +3 -3
  70. package/dist/components/Table/filterUtils.d.ts +2 -2
  71. package/dist/components/Table/filterUtils.d.ts.map +1 -1
  72. package/dist/components/Table/filterUtils.js +16 -16
  73. package/dist/components/Table/index.d.ts +2 -1
  74. package/dist/components/Table/index.d.ts.map +1 -1
  75. package/dist/components/Table/index.js +5 -9
  76. package/dist/components/Table/tableFunctions.d.ts.map +1 -1
  77. package/dist/components/Table/tableFunctions.js +124 -183
  78. package/dist/components/Table/tableMoreOptions.d.ts.map +1 -1
  79. package/dist/components/Table/tableMoreOptions.js +18 -12
  80. package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
  81. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +2 -2
  82. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts +1 -1
  83. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
  84. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +3 -2
  85. package/dist/components/TableOld/AgGridHeader.d.ts.map +1 -1
  86. package/dist/components/TableOld/AgGridHeader.js +12 -10
  87. package/dist/components/TableOld/index.d.ts.map +1 -1
  88. package/dist/components/TableOld/index.js +19 -8
  89. package/dist/components/TableOld/tableFunctions.d.ts.map +1 -1
  90. package/dist/components/TableOld/tableFunctions.js +123 -182
  91. package/dist/components/TableV36/index.d.ts.map +1 -1
  92. package/dist/components/TableV36/index.js +59 -14
  93. package/dist/components/TableV36/tableFunctions.js +1 -1
  94. package/dist/components/TextArea/index.d.ts.map +1 -1
  95. package/dist/components/TextArea/index.js +3 -1
  96. package/dist/components/Toast/index.d.ts.map +1 -1
  97. package/dist/components/Toast/index.js +5 -2
  98. package/dist/components/common/MentionEditor/MentionList/index.d.ts.map +1 -1
  99. package/dist/components/common/MentionEditor/MentionList/index.js +4 -2
  100. package/dist/components/common/MentionEditor/index.d.ts.map +1 -1
  101. package/dist/components/common/MentionEditor/index.js +5 -2
  102. package/dist/locales/de-DE.json.d.ts +107 -0
  103. package/dist/locales/de-DE.json.js +95 -0
  104. package/dist/locales/en-US.json.d.ts +108 -1
  105. package/dist/locales/en-US.json.js +96 -1
  106. package/dist/mcp-component-registry.json +1 -1
  107. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +173 -134
  108. package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
  109. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  110. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -1
  111. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  112. package/dist/node_modules/react-is/cjs/react-is.development.js +1 -1
  113. package/dist/node_modules/react-is/index.js +1 -1
  114. package/dist/node_modules/react-with-styles-interface-css/dist/index.js +1 -1
  115. package/dist/stories/LocaleDictionaryCollapse.d.ts +6 -0
  116. package/dist/stories/LocaleDictionaryCollapse.d.ts.map +1 -0
  117. package/dist/utils/helper.d.ts +4 -0
  118. package/dist/utils/helper.d.ts.map +1 -1
  119. package/dist/utils/helper.js +27 -0
  120. package/dist/utils/index.d.ts +1 -1
  121. package/dist/utils/index.d.ts.map +1 -1
  122. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- var reactIs = { exports: {} };
1
+ var dist = {};
2
2
  export {
3
- reactIs as __module
3
+ dist as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var dist = {};
1
+ var reactIs = { exports: {} };
2
2
  export {
3
- dist as __exports
3
+ reactIs as __module
4
4
  };
@@ -1,6 +1,4 @@
1
- import { getAugmentedNamespace } from "./_commonjsHelpers.js";
2
- import * as index from "../node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js";
3
- const require$$1 = /* @__PURE__ */ getAugmentedNamespace(index);
1
+ var reactIs = { exports: {} };
4
2
  export {
5
- require$$1 as default
3
+ reactIs as __module
6
4
  };
@@ -1,6 +1,6 @@
1
1
  import { getAugmentedNamespace } from "./_commonjsHelpers.js";
2
- import * as index from "../node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/index.js";
3
- const require$$2 = /* @__PURE__ */ getAugmentedNamespace(index);
2
+ import * as index from "../node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js";
3
+ const require$$1 = /* @__PURE__ */ getAugmentedNamespace(index);
4
4
  export {
5
- require$$2 as default
5
+ require$$1 as default
6
6
  };
@@ -1,4 +1,6 @@
1
- var reactIs = { exports: {} };
1
+ import { getAugmentedNamespace } from "./_commonjsHelpers.js";
2
+ import * as index from "../node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/index.js";
3
+ const require$$2 = /* @__PURE__ */ getAugmentedNamespace(index);
2
4
  export {
3
- reactIs as __module
5
+ require$$2 as default
4
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SortableAccordionComp.d.ts","sourceRoot":"","sources":["../../../src/components/AccordionModern/SortableAccordionComp.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,KAAK,aAAa,GAAG,CAAC,IAAI,EAAE,mBAAmB,KAAK,MAAM,CAAC;AAE3D,UAAU,0BAA0B;IAClC,IAAI,EAAE,mBAAmB,EAAE,CAAC;IAC5B,0BAA0B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,WAAW,EAAE,aAAa,CAAC;CAC5B;AAED,UAAU,0BAA0B;IAClC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,0BAA0B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,WAAW,EAAE,aAAa,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,0BAA0B,EAC1B,WAAW,EACX,UAAkB,EAClB,SAAiB,GAClB,EAAE,0BAA0B,2CAwE5B;AAED,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,0BAA0B,EAC1B,WAAW,GACZ,EAAE,0BAA0B,2CA6D5B"}
1
+ {"version":3,"file":"SortableAccordionComp.d.ts","sourceRoot":"","sources":["../../../src/components/AccordionModern/SortableAccordionComp.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,KAAK,aAAa,GAAG,CAAC,IAAI,EAAE,mBAAmB,KAAK,MAAM,CAAC;AAE3D,UAAU,0BAA0B;IAClC,IAAI,EAAE,mBAAmB,EAAE,CAAC;IAC5B,0BAA0B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,WAAW,EAAE,aAAa,CAAC;CAC5B;AAED,UAAU,0BAA0B;IAClC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,0BAA0B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,WAAW,EAAE,aAAa,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,0BAA0B,EAC1B,WAAW,EACX,UAAkB,EAClB,SAAiB,GAClB,EAAE,0BAA0B,2CA2E5B;AAED,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,0BAA0B,EAC1B,WAAW,GACZ,EAAE,0BAA0B,2CA6D5B"}
@@ -5,6 +5,7 @@ import { arrayMove, SortableContext, useSortable } from "@dnd-kit/sortable";
5
5
  import { CSS } from "@dnd-kit/utilities";
6
6
  import default_1 from "../../node_modules/@mui/icons-material/DragIndicator.js";
7
7
  import default_1$1 from "../../node_modules/@mui/icons-material/KeyboardArrowRight.js";
8
+ import { useTranslation } from "../../i18n/useTranslation.js";
8
9
  function SortableAccordionComp({
9
10
  item,
10
11
  handleMultiAccordionChange,
@@ -12,6 +13,7 @@ function SortableAccordionComp({
12
13
  isDragging = false,
13
14
  isOverlay = false
14
15
  }) {
16
+ const { t } = useTranslation();
15
17
  const { attributes, listeners, setNodeRef, transform, transition } = useSortable({
16
18
  id: item.id
17
19
  });
@@ -40,7 +42,7 @@ function SortableAccordionComp({
40
42
  {
41
43
  className: "impact-modern-accordion-drag-icon",
42
44
  ...isOverlay ? {} : { ...attributes, ...listeners },
43
- "aria-label": "Drag to reorder",
45
+ "aria-label": t("accordion.dragToReorder"),
44
46
  children: /* @__PURE__ */ jsx(default_1, {})
45
47
  }
46
48
  ),
@@ -49,7 +51,7 @@ function SortableAccordionComp({
49
51
  {
50
52
  "aria-controls": `${item.value}-content`,
51
53
  "aria-expanded": expandClass === "expand-content",
52
- "aria-label": expandClass === "expand-content" ? "Collapse" : "Expand",
54
+ "aria-label": expandClass === "expand-content" ? t("common.collapse") : t("common.expand"),
53
55
  className: `impact-modern-accordion-expand-icon ${expandClass}-icon`,
54
56
  role: "button",
55
57
  tabIndex: 0,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/index.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,qBAAqB,CAAC;AAE7B;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,KAAK,oHAgEjB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/index.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,qBAAqB,CAAC;AAE7B;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,KAAK,oHAkEjB,CAAC"}
@@ -8,6 +8,7 @@ import default_1$3 from "../../node_modules/@mui/icons-material/Info.js";
8
8
  import default_1$2 from "../../node_modules/@mui/icons-material/Warning.js";
9
9
  import { Button } from "../Button/index.js";
10
10
 
11
+ import { useTranslation } from "../../i18n/useTranslation.js";
11
12
  import Alert$1 from "../../node_modules/@mui/material/Alert/Alert.js";
12
13
  import AlertTitle from "../../node_modules/@mui/material/AlertTitle/AlertTitle.js";
13
14
  const Alert = forwardRef(
@@ -24,6 +25,8 @@ const Alert = forwardRef(
24
25
  className = "",
25
26
  ...args
26
27
  }, ref) => {
28
+ const { t } = useTranslation();
29
+ const severityTitleKey = `alert.severity.${severity}`;
27
30
  const classStr = `ia-styles ia-alert ${subtleBackground ? "ia-subtleBackground" : ""} ${className}`.trim();
28
31
  return /* @__PURE__ */ jsxs(
29
32
  Alert$1,
@@ -42,7 +45,7 @@ const Alert = forwardRef(
42
45
  ...args,
43
46
  children: [
44
47
  /* @__PURE__ */ jsxs("div", { className: "ia-alert-body", children: [
45
- /* @__PURE__ */ jsx(AlertTitle, { children: title || severity }),
48
+ /* @__PURE__ */ jsx(AlertTitle, { children: title || t(severityTitleKey) }),
46
49
  actionName && onAction ? /* @__PURE__ */ jsx(
47
50
  Button,
48
51
  {
@@ -57,7 +60,7 @@ const Alert = forwardRef(
57
60
  onClose ? /* @__PURE__ */ jsx(
58
61
  Button,
59
62
  {
60
- "aria-label": "Close alert",
63
+ "aria-label": t("alert.closeAria"),
61
64
  className: "close_btn_alert",
62
65
  size: "small",
63
66
  variant: "text",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheet/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,2BAA2B,CAAC;AAEnC,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,SAAS,EACT,aAAa,EACb,SAAgC,EAChC,cAAsB,EACtB,QAAQ,EACR,kBAAkB,EAClB,oBAAoB,EACpB,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAiElB;yBA9Ee,WAAW"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheet/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,2BAA2B,CAAC;AAEnC,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,SAAS,EACT,aAAa,EACb,SAAgC,EAChC,cAAsB,EACtB,QAAQ,EACR,kBAAkB,EAClB,oBAAoB,EACpB,GAAG,KAAK,EACT,EAAE,gBAAgB,2CA0FlB;yBAvGe,WAAW"}
@@ -1,6 +1,6 @@
1
1
  !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode(".bottom-sheet{bottom:0;left:0;position:fixed;right:0;transition:height .3s ease-in-out}.bottom-sheet .MuiDialog-container{align-items:flex-end}.bottom-sheet .MuiDialog-paper{border-radius:16px 16px 0 0;margin:0;max-width:100%}.bottom-sheet .MuiDialog-paper,.bottom-sheet .ia_modalPopover.ia_modal_medium{transition:height .3s ease-in-out;width:100%}.bottom-sheet .ia_modalPopover{background:#fff;border-radius:16px 16px 0 0;bottom:0;left:0;margin:auto;position:absolute;right:0}.bottom-sheet .ia_modalBody{bottom:0}.bottom-sheet.with-footer .ia_modalBody{bottom:56px}.ia_modalHeader{padding:12px 16px 24px}.modal-actions{gap:25px!important}")),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { useState, useEffect } from "react";
3
+ import { useState, useCallback, useEffect } from "react";
4
4
  import { Modal } from "../Modal/index.js";
5
5
 
6
6
  function BottomSheet({
@@ -19,34 +19,40 @@ function BottomSheet({
19
19
  }) {
20
20
  const [isExpanded, setIsExpanded] = useState(false);
21
21
  const [contentHeight, setContentHeight] = useState("auto");
22
+ const [contentNode, setContentNode] = useState(null);
22
23
  const hasFooterOptions = footerOptions != null && footerOptions !== false;
23
24
  const hasFooterButtons = Boolean(primaryButtonLabel || secondaryButtonLabel);
24
25
  const hasFooter = hasFooterOptions || hasFooterButtons;
26
+ const autoHeight = !withExpandIcon;
25
27
  const handleExpandClick = () => {
26
28
  const next = !isExpanded;
27
29
  setIsExpanded(next);
28
30
  onExpand == null ? void 0 : onExpand(next);
29
31
  };
32
+ const measure = useCallback(() => {
33
+ const body = contentNode == null ? void 0 : contentNode.parentElement;
34
+ if (!contentNode || !body) return;
35
+ const styles = window.getComputedStyle(body);
36
+ const chrome = (parseFloat(styles.top) || 0) + (parseFloat(styles.bottom) || 0) + (parseFloat(styles.paddingTop) || 0) + (parseFloat(styles.paddingBottom) || 0);
37
+ const next = contentNode.scrollHeight + chrome;
38
+ setContentHeight((prev) => {
39
+ const capped = typeof maxHeight === "number" ? Math.min(next, maxHeight) : next;
40
+ return typeof prev === "number" && Math.abs(prev - capped) < 1 ? prev : capped;
41
+ });
42
+ }, [contentNode, maxHeight]);
30
43
  useEffect(() => {
31
- if (!open) return;
32
- const timeout = setTimeout(() => {
33
- const modalPopover = document.querySelector(".ia_modalPopover");
34
- const modalBody = document.querySelector(".ia_modalBody");
35
- if (!(modalBody instanceof HTMLElement) || !(modalPopover instanceof HTMLElement)) {
36
- return;
37
- }
38
- const prevHeight = modalPopover.style.height;
39
- modalPopover.style.height = "auto";
40
- const buffer = hasFooter ? 105 : 48;
41
- const height = modalBody.scrollHeight + buffer;
42
- modalPopover.style.height = prevHeight;
43
- const cappedHeight = typeof maxHeight === "number" && height > maxHeight ? maxHeight : `${height}px`;
44
- setContentHeight(cappedHeight);
45
- }, 0);
44
+ if (!open) {
45
+ setContentHeight("auto");
46
+ return void 0;
47
+ }
48
+ if (!autoHeight || !contentNode) return void 0;
49
+ measure();
50
+ const observer = new ResizeObserver(measure);
51
+ observer.observe(contentNode);
46
52
  return () => {
47
- clearTimeout(timeout);
53
+ observer.disconnect();
48
54
  };
49
- }, [open, children, maxHeight, hasFooter]);
55
+ }, [open, autoHeight, contentNode, measure]);
50
56
  const mergedClassName = [
51
57
  "bottom-sheet",
52
58
  isExpanded ? "expanded" : "",
@@ -59,9 +65,9 @@ function BottomSheet({
59
65
  isBottomSheet: true,
60
66
  className: mergedClassName,
61
67
  footerOptions,
62
- height: !withExpandIcon ? contentHeight : void 0,
68
+ height: autoHeight ? contentHeight : void 0,
63
69
  isExpanded,
64
- maxHeight: !withExpandIcon ? maxHeight : void 0,
70
+ maxHeight: autoHeight ? maxHeight : void 0,
65
71
  open,
66
72
  primaryButtonLabel,
67
73
  secondaryButtonLabel,
@@ -70,7 +76,7 @@ function BottomSheet({
70
76
  onClose,
71
77
  onExpand: handleExpandClick,
72
78
  ...props,
73
- children
79
+ children: /* @__PURE__ */ jsx("div", { ref: setContentNode, className: "bottom-sheet-content", children })
74
80
  }
75
81
  );
76
82
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,2BAA2B,CAAC;AAEnC,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE5E;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,SAAc,EACd,EAAE,EACF,aAAa,EAAE,UAAU,EACzB,GAAG,IAAI,EACR,EAAE,gBAAgB,2CA+ElB;yBArFe,WAAW"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,2BAA2B,CAAC;AAEnC,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE5E;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,SAAc,EACd,EAAE,EACF,aAAa,EAAE,UAAU,EACzB,GAAG,IAAI,EACR,EAAE,gBAAgB,2CAyFlB;yBA/Fe,WAAW"}
@@ -33,12 +33,12 @@ function Breadcrumbs({
33
33
  return /* @__PURE__ */ jsx(
34
34
  Link,
35
35
  {
36
- "aria-label": item.label === "Home" ? "Home" : void 0,
37
- className: `ia-styles ia-breadcrumb ${item.label === "Home" ? "ia-breadcrumb-home" : ""} ${item.disabled ? "ia-breadcrumb-disabled" : ""}`,
36
+ "aria-label": item.label === "Home" || item.label === t("breadcrumbs.home") ? t("breadcrumbs.home") : void 0,
37
+ className: `ia-styles ia-breadcrumb ${item.label === "Home" || item.label === t("breadcrumbs.home") ? "ia-breadcrumb-home" : ""} ${item.disabled ? "ia-breadcrumb-disabled" : ""}`,
38
38
  href: !item.disabled && item.to || void 0,
39
39
  underline: "none",
40
40
  onClick: !item.disabled && item.onClick || void 0,
41
- children: item.label === "Home" ? /* @__PURE__ */ jsx(HomeIcon, {}) : item.label
41
+ children: item.label === "Home" || item.label === t("breadcrumbs.home") ? /* @__PURE__ */ jsx(HomeIcon, {}) : item.label
42
42
  },
43
43
  item.label
44
44
  );
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAoB,MAAM,gBAAgB,CAAC;AACpE,OAAO,sBAAsB,CAAC;AAG9B,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,MAAM,wHA0JlB,CAAC;AAIF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,WAAW,EAAoB,MAAM,gBAAgB,CAAC;AACpE,OAAO,sBAAsB,CAAC;AAG9B,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,MAAM,wHA2JlB,CAAC;AAIF,eAAe,MAAM,CAAC"}
@@ -2,6 +2,7 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { forwardRef, useMemo } from "react";
4
4
 
5
+ import { useTranslation } from "../../i18n/useTranslation.js";
5
6
  import Button$1 from "../../node_modules/@mui/material/Button/Button.js";
6
7
  const Button = forwardRef(
7
8
  ({
@@ -18,6 +19,7 @@ const Button = forwardRef(
18
19
  "aria-label": ariaLabel,
19
20
  ...args
20
21
  }, ref) => {
22
+ const { t } = useTranslation();
21
23
  const convertedVariant = useMemo(() => {
22
24
  switch (variant) {
23
25
  case "secondary":
@@ -81,10 +83,10 @@ const Button = forwardRef(
81
83
  }, [children, convertedVariant, size, disabled, icon, type, className]);
82
84
  const finalLabel = useMemo(() => {
83
85
  if (variant === "url" && !disabled && loading && children) {
84
- return "Loading...";
86
+ return t("common.loading");
85
87
  }
86
88
  return children;
87
- }, [variant, disabled, loading, children]);
89
+ }, [variant, disabled, loading, children, t]);
88
90
  const finalIcon = useMemo(() => {
89
91
  if (!icon && !loading) {
90
92
  return null;
@@ -1,4 +1,4 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(270deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--circular{background-color:#e8edf5;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#eceef4 0deg,#e8edf5 80deg,#d5dbe8 160deg,#e8edf5 260deg,#eceef4 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#eceef4,#e8edf5,#d5dbe8,#e8edf5 1turn)}}.ia-styles.ia-buttonGroup{color:#505c75;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;height:32px;text-transform:none}.ia-styles.ia-buttonGroup.ia-buttonGroup-disabled{background-color:#f8f9fb;border-color:#d9dde7;color:#b4bac7}.ia-styles.ia-buttonGroupButton{background:#fff;border-radius:0;border-right:0;font-family:Manrope,sans-serif;padding:0 12px;text-transform:none}.ia-styles.ia-buttonGroupButton:first-child{border-bottom-left-radius:8px;border-top-left-radius:8px}.ia-styles.ia-buttonGroupButton:last-child{border-bottom-right-radius:8px;border-right:1px solid #c3c8d4;border-top-right-radius:8px}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-withIcon{display:flex;gap:2px}.ia-styles.ia-buttonGroupButton:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.ia-styles.ia-buttonGroupButton:focus:not(:focus-visible){box-shadow:none;outline:none}.ia-styles.ia-buttonGroupButton.Mui-disabled:focus-visible,.ia-styles.ia-buttonGroupButton.ia-btn-disabled:focus-visible,.ia-styles.ia-buttonGroupButton.ia-switch-disabled:focus-visible,.ia-styles.ia-buttonGroupButton.impact-select-disabled:focus-visible,.ia-styles.ia-buttonGroupButton.impact_input_disabled:focus-visible,.ia-styles.ia-buttonGroupButton.route-disabled:focus-visible,.ia-styles.ia-buttonGroupButton:disabled:focus-visible,.ia-styles.ia-buttonGroupButton[aria-disabled=true]:focus-visible{box-shadow:none;outline:none}.ia-styles.ia-buttonGroupButton:focus-visible{z-index:3}.ia-styles.ia-buttonGroupButton.Mui-focusVisible{background-color:#fff}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected.Mui-focusVisible{background-color:#eceefd}.ia-styles.ia-buttonGroupButton:hover{background:#fff;color:#4259ee}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-disabled{background:#f8f9fb;border-color:#d9dde7;color:#b4bac7}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-disabled:last-child{border-right:1px solid #d9dde7}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected{background:#eceefd;border:1px solid #4259ee;color:#4259ee;margin-left:-1px;position:relative;z-index:1}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected:first-child{margin-left:0}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected+.ia-buttonGroupButton{border-left:#0000!important}.ia-buttonGroupButton-selected.ia-buttonGroupButton,.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected:last-child{border-right-color:#4259ee!important}.ia-buttonGroup-disabled .ia-buttonGroupButton-selected{background:#f8f9fb!important;border-color:#d9dde7!important;color:#b4bac7!important}.ia-styles.ia-buttonGroupButton{border:1px solid #c3c8d4;margin-left:-1px;position:relative;z-index:1}.ia-styles.ia-buttonGroupButton:first-child{margin-left:0}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected{z-index:2}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(270deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--circular{background-color:#e8edf5;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#eceef4 0deg,#e8edf5 80deg,#d5dbe8 160deg,#e8edf5 260deg,#eceef4 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#eceef4,#e8edf5,#d5dbe8,#e8edf5 1turn)}}.ia-styles.ia-buttonGroup{color:#505c75;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;height:32px;text-transform:none}.ia-styles.ia-buttonGroup.ia-buttonGroup-disabled{background-color:#f8f9fb;border-color:#d9dde7;color:#b4bac7}.ia-styles.ia-buttonGroupButton{background:#fff;border-radius:0;border-right:0;font-family:Manrope,sans-serif;padding:0 12px;text-transform:none}.ia-styles.ia-buttonGroupButton:first-child{border-bottom-left-radius:8px;border-top-left-radius:8px}.ia-styles.ia-buttonGroupButton:last-child{border-bottom-right-radius:8px;border-right:1px solid #c3c8d4;border-top-right-radius:8px}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-withIcon{display:flex;gap:2px}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-withIcon:hover svg,.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-withIcon:hover svg path{fill:#4259ee}.ia-styles.ia-buttonGroupButton:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.ia-styles.ia-buttonGroupButton:focus:not(:focus-visible){box-shadow:none;outline:none}.ia-styles.ia-buttonGroupButton.Mui-disabled:focus-visible,.ia-styles.ia-buttonGroupButton.ia-btn-disabled:focus-visible,.ia-styles.ia-buttonGroupButton.ia-switch-disabled:focus-visible,.ia-styles.ia-buttonGroupButton.impact-select-disabled:focus-visible,.ia-styles.ia-buttonGroupButton.impact_input_disabled:focus-visible,.ia-styles.ia-buttonGroupButton.route-disabled:focus-visible,.ia-styles.ia-buttonGroupButton:disabled:focus-visible,.ia-styles.ia-buttonGroupButton[aria-disabled=true]:focus-visible{box-shadow:none;outline:none}.ia-styles.ia-buttonGroupButton:focus-visible{z-index:3}.ia-styles.ia-buttonGroupButton.Mui-focusVisible{background-color:#fff}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected.Mui-focusVisible{background-color:#eceefd}.ia-styles.ia-buttonGroupButton:hover{background:#fff;color:#4259ee}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-disabled{background:#f8f9fb;border-color:#d9dde7;color:#b4bac7}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-disabled:last-child{border-right:1px solid #d9dde7}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected{background:#eceefd;border:1px solid #4259ee;color:#4259ee;margin-left:-1px;position:relative;z-index:1}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected:first-child{margin-left:0}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected svg,.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected svg path{fill:#4259ee}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected+.ia-buttonGroupButton{border-left:#0000!important}.ia-buttonGroupButton-selected.ia-buttonGroupButton,.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected:last-child{border-right-color:#4259ee!important}.ia-buttonGroup-disabled .ia-buttonGroupButton-selected{background:#f8f9fb!important;border-color:#d9dde7!important;color:#b4bac7!important}.ia-styles.ia-buttonGroupButton{border:1px solid #c3c8d4;margin-left:-1px;position:relative;z-index:1}.ia-styles.ia-buttonGroupButton:first-child{margin-left:0}.ia-styles.ia-buttonGroupButton.ia-buttonGroupButton-selected{z-index:2}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { useMemo } from "react";
4
4
 
@@ -2,8 +2,8 @@
2
2
  export declare const Chart: ({ graphType, xAxisCategories, xAxisTitle, yAxisTitle, seriesData, graphTitle, stackedColumn, is3D, showSubTitle, onChartDownload, fallbackContent, topRightOptions, showSwitchButton, showChartTypeDropdown, showDownloadButton, chartTypesOptions, selectedChart, chartMenuProps, showScrollX, topLeftOptions, cardContainer, subtitleText, legendXPosition, legendYPosition, xAxisTitlePositionY, customTooltipFormatter, sharedTooltip, showchart, setShowChart, plotOptionsEvents, customSystemButton, handleChartExpand, chartMarginBottom, showHeader, height, width, showExpandButton, showDownloadMenu, showBuiltInDownloadOptions, downloadMenuOptions, customLegend, customLegendStyle, yAxisTitleRight, chartOptions, titleOptions, xAxisOptions, yAxisOptions, yAxisLeftOptions, yAxisRightOptions, zAxisOptions, tooltipOptions, plotOptionsOptions, subtitleOptions, creditsOptions, legendOptions, colorAxisOptions, seriesOptions, additionalOptions, hoveredXAxisIndex, exportingOptions, aboveChartComponent, isEmpty, isLoading, shimmerDirection, topSubHeader, }: {
3
3
  graphType?: string | undefined;
4
4
  xAxisCategories: any;
5
- xAxisTitle?: string | undefined;
6
- yAxisTitle?: string | undefined;
5
+ xAxisTitle: any;
6
+ yAxisTitle: any;
7
7
  seriesData: any;
8
8
  graphTitle: any;
9
9
  stackedColumn?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chart/index.tsx"],"names":[],"mappings":"AAQA,OAAO,iCAAiC,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,iCAAiC,CAAC;AACzC,OAAO,gCAAgC,CAAC;AACxC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,qCAAqC,CAAC;AAC7C,OAAO,uCAAuC,CAAC;AAC/C,OAAO,6CAA6C,CAAC;AASrD,OAAO,qBAAqB,CAAC;AAoC7B,eAAO,MAAM,KAAK,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkErB,4CAmoBA,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chart/index.tsx"],"names":[],"mappings":"AAQA,OAAO,iCAAiC,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,iCAAiC,CAAC;AACzC,OAAO,gCAAgC,CAAC;AACxC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,qCAAqC,CAAC;AAC7C,OAAO,uCAAuC,CAAC;AAC/C,OAAO,6CAA6C,CAAC;AAUrD,OAAO,qBAAqB,CAAC;AAoC7B,eAAO,MAAM,KAAK,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkErB,4CAuoBA,CAAC"}
@@ -22,6 +22,7 @@ import { Menu } from "../Menu/index.js";
22
22
  import { Tooltip } from "../Tooltip/index.js";
23
23
  import default_1$1 from "../../node_modules/@mui/icons-material/FileDownloadOutlined.js";
24
24
  import { ChartSkeleton } from "./ChartSkeleton.js";
25
+ import { useTranslation } from "../../i18n/useTranslation.js";
25
26
  const EmptyStateImage = (props) => /* @__PURE__ */ jsx("img", { alt: "", src: getAssetUrl("icons/emptyStateImage.svg"), ...props });
26
27
  const interopDefault = (mod) => {
27
28
  let value = mod;
@@ -38,8 +39,8 @@ if (typeof Highcharts === "object" && typeof borderRadius === "function") {
38
39
  const Chart = ({
39
40
  graphType = "column",
40
41
  xAxisCategories,
41
- xAxisTitle = "X Axis",
42
- yAxisTitle = "Y Axis",
42
+ xAxisTitle,
43
+ yAxisTitle,
43
44
  seriesData,
44
45
  graphTitle,
45
46
  stackedColumn = false,
@@ -106,6 +107,9 @@ const Chart = ({
106
107
  topSubHeader = null
107
108
  }) => {
108
109
  var _a;
110
+ const { t } = useTranslation();
111
+ const resolvedXAxisTitle = xAxisTitle ?? t("chart.xAxisTitle");
112
+ const resolvedYAxisTitle = yAxisTitle ?? t("chart.yAxisTitle");
109
113
  const [isExpanded, setIsExpanded] = useState(false);
110
114
  const [isAnimating, setIsAnimating] = useState(false);
111
115
  const [showChartList, setShowChartList] = useState(false);
@@ -273,7 +277,7 @@ const Chart = ({
273
277
  crosshair: true,
274
278
  lineColor: "#D9DDE7",
275
279
  title: {
276
- text: xAxisTitle,
280
+ text: resolvedXAxisTitle,
277
281
  align: "middle",
278
282
  reserveSpace: true,
279
283
  y: xAxisTitlePositionY ? xAxisTitlePositionY : showScrollX ? graphType === "scatter3d" ? 130 : 40 : 3
@@ -292,7 +296,7 @@ const Chart = ({
292
296
  {
293
297
  // Left axis
294
298
  title: {
295
- text: yAxisTitle,
299
+ text: resolvedYAxisTitle,
296
300
  x: -12,
297
301
  align: "middle",
298
302
  margin: 16
@@ -378,8 +382,8 @@ const Chart = ({
378
382
  return customTooltipFormatter(this);
379
383
  } else if (this.point.value !== void 0) {
380
384
  return `
381
- <span class="tooltip-key">X: ${this.point.x} Y: ${this.point.y}</span><br/>
382
- <b class="tooltip-value">Value: ${this.point.value}</b>`;
385
+ <span class="tooltip-key">${t("chart.tooltipX")} ${this.point.x} ${t("chart.tooltipY")} ${this.point.y}</span><br/>
386
+ <b class="tooltip-value">${t("chart.tooltipValue")} ${this.point.value}</b>`;
383
387
  } else {
384
388
  return `
385
389
  <span style="color:${this.color};"">●</span>
@@ -476,8 +480,9 @@ const Chart = ({
476
480
  [
477
481
  graphType,
478
482
  xAxisCategories,
479
- xAxisTitle,
480
- yAxisTitle,
483
+ resolvedXAxisTitle,
484
+ resolvedYAxisTitle,
485
+ t,
481
486
  seriesData,
482
487
  stackedColumn,
483
488
  is3D,
@@ -518,7 +523,7 @@ const Chart = ({
518
523
  /* @__PURE__ */ jsxs("div", { className: "chart-container-header-actions", children: [
519
524
  topRightOptions && /* @__PURE__ */ jsx("div", { className: "chart-custom-actions", children: React__default.isValidElement(topRightOptions) ? topRightOptions : null }),
520
525
  !!topRightOptions && topRightOptions !== null && /* @__PURE__ */ jsx("div", { className: "divider-line" }),
521
- showSwitchButton && !isExpanded && /* @__PURE__ */ jsx(Tooltip, { title: "Switch to Table", variant: "tertiary", children: /* @__PURE__ */ jsx(
526
+ showSwitchButton && !isExpanded && /* @__PURE__ */ jsx(Tooltip, { title: t("chart.switchToTable"), variant: "tertiary", children: /* @__PURE__ */ jsx(
522
527
  Button,
523
528
  {
524
529
  icon: /* @__PURE__ */ jsx(default_1, {}),
@@ -528,7 +533,7 @@ const Chart = ({
528
533
  }
529
534
  }
530
535
  ) }),
531
- showChartTypeDropdown && /* @__PURE__ */ jsx(Tooltip, { title: "Change chart type", variant: "tertiary", children: /* @__PURE__ */ jsx(
536
+ showChartTypeDropdown && /* @__PURE__ */ jsx(Tooltip, { title: t("chart.changeType"), variant: "tertiary", children: /* @__PURE__ */ jsx(
532
537
  Button,
533
538
  {
534
539
  icon: /* @__PURE__ */ jsx(ChartDropdown_default, {}),
@@ -539,7 +544,7 @@ const Chart = ({
539
544
  }
540
545
  }
541
546
  ) }),
542
- showDownloadButton && /* @__PURE__ */ jsx(Tooltip, { title: "Download", variant: "tertiary", children: /* @__PURE__ */ jsx(
547
+ showDownloadButton && /* @__PURE__ */ jsx(Tooltip, { title: t("chart.download"), variant: "tertiary", children: /* @__PURE__ */ jsx(
543
548
  Button,
544
549
  {
545
550
  icon: /* @__PURE__ */ jsx(default_1$1, {}),
@@ -555,7 +560,7 @@ const Chart = ({
555
560
  }
556
561
  ) }),
557
562
  customSystemButton && customSystemButton,
558
- showExpandButton && /* @__PURE__ */ jsx(Tooltip, { title: "Expand", variant: "tertiary", children: /* @__PURE__ */ jsx(
563
+ showExpandButton && /* @__PURE__ */ jsx(Tooltip, { title: t("chart.expand"), variant: "tertiary", children: /* @__PURE__ */ jsx(
559
564
  Button,
560
565
  {
561
566
  icon: isExpanded ? /* @__PURE__ */ jsx(CollapseNew_default, {}) : /* @__PURE__ */ jsx(ExpandIcon_default, {}),
@@ -616,7 +621,7 @@ const Chart = ({
616
621
  }
617
622
  ) : isEmpty ? /* @__PURE__ */ jsxs("div", { className: "chart-empty-state", children: [
618
623
  /* @__PURE__ */ jsx(EmptyStateImage, {}),
619
- /* @__PURE__ */ jsx("span", { children: "No data to display" })
624
+ /* @__PURE__ */ jsx("span", { children: t("table.noData") })
620
625
  ] }) : /* @__PURE__ */ jsx(
621
626
  HighchartsReact,
622
627
  {
@@ -1 +1 @@
1
- {"version":3,"file":"WithDropDown.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/WithDropDown.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,cAAc,EACd,OAAO,EACP,QAAQ,EACR,UAAkB,EAClB,UAAkB,EAClB,KAAK,EACL,YAAY,EACZ,uBAAuB,EACvB,GAAG,IAAI,EACR,EAAE,iBAAiB,2CA+EnB"}
1
+ {"version":3,"file":"WithDropDown.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/WithDropDown.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,cAAc,EACd,OAAO,EACP,QAAQ,EACR,UAAkB,EAClB,UAAkB,EAClB,KAAK,EACL,YAAY,EACZ,uBAAuB,EACvB,GAAG,IAAI,EACR,EAAE,iBAAiB,2CAwFnB"}
@@ -22,46 +22,62 @@ function WithDropDown({
22
22
  const isOpen = Boolean(anchorEl);
23
23
  const onClose = () => {
24
24
  setAnchorEl(null);
25
- setOpenDropDown((prev) => !prev);
25
+ setOpenDropDown(false);
26
26
  };
27
27
  const handleClick = (event) => {
28
+ if (isDisabled) return;
28
29
  setOpenDropDown((prev) => !prev);
29
30
  setAnchorEl(event.currentTarget);
30
31
  onDropDownCheckBoxClick == null ? void 0 : onDropDownCheckBoxClick(event);
31
32
  };
32
33
  const isChecked = checked ?? defaultChecked;
33
- return /* @__PURE__ */ jsxs("div", { className: "impact-form-checkbox", children: [
34
- /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center" }, onClick: handleClick, children: [
35
- /* @__PURE__ */ jsx(
36
- FormControlLabel,
37
- {
38
- className: `impact-form-checkbox-container ${isChecked ? "checked" : ""}`,
39
- control: /* @__PURE__ */ jsx(
40
- Checkbox,
34
+ return /* @__PURE__ */ jsxs("div", { className: `impact-form-checkbox${isDisabled ? " disabled" : ""}`, children: [
35
+ /* @__PURE__ */ jsxs(
36
+ "div",
37
+ {
38
+ "aria-disabled": isDisabled || void 0,
39
+ className: `impact-form-checkbox-dropdown-trigger${isDisabled ? " disabled" : ""}`,
40
+ onClick: handleClick,
41
+ children: [
42
+ /* @__PURE__ */ jsx(
43
+ FormControlLabel,
41
44
  {
42
- ...args,
43
- disableRipple: true,
44
- checked,
45
- className: "impact-checkbox-container default-variant",
46
- defaultChecked,
47
- disabled: isDisabled,
48
- onChange,
49
- onKeyDown: (e) => {
50
- if (e.key === "Enter") {
51
- e.preventDefault();
52
- e.currentTarget.click();
53
- setOpenDropDown(true);
45
+ className: `impact-form-checkbox-container ${isChecked ? "checked" : ""}`,
46
+ control: /* @__PURE__ */ jsx(
47
+ Checkbox,
48
+ {
49
+ ...args,
50
+ disableRipple: true,
51
+ checked,
52
+ className: "impact-checkbox-container default-variant",
53
+ defaultChecked,
54
+ disabled: isDisabled,
55
+ onChange,
56
+ onKeyDown: (e) => {
57
+ if (isDisabled) return;
58
+ if (e.key === "Enter") {
59
+ e.preventDefault();
60
+ e.currentTarget.click();
61
+ setOpenDropDown(true);
62
+ }
63
+ }
54
64
  }
55
- }
65
+ ),
66
+ disabled: isDisabled,
67
+ label,
68
+ required: isRequired
56
69
  }
57
70
  ),
58
- disabled: isDisabled,
59
- label,
60
- required: isRequired
61
- }
62
- ),
63
- /* @__PURE__ */ jsx(KeyboardArrowDown, { className: `impact-arrow-button ${openDropDown ? "up" : "down"}` })
64
- ] }),
71
+ /* @__PURE__ */ jsx(
72
+ KeyboardArrowDown,
73
+ {
74
+ "aria-hidden": true,
75
+ className: `impact-arrow-button ${openDropDown ? "up" : "down"}${isDisabled ? " disabled" : ""}`
76
+ }
77
+ )
78
+ ]
79
+ }
80
+ ),
65
81
  /* @__PURE__ */ jsx(
66
82
  Menu,
67
83
  {
@@ -73,7 +89,7 @@ function WithDropDown({
73
89
  "aria-labelledby": "basic-button",
74
90
  autoFocusItem: isOpen
75
91
  },
76
- open: isOpen,
92
+ open: isOpen && !isDisabled,
77
93
  onClose,
78
94
  children: dropDownData.map((opt) => /* @__PURE__ */ jsx(
79
95
  MenuItem,
@@ -1,4 +1,4 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode(".impact-form-checkbox-container{align-items:center;display:flex;flex-direction:row;margin:0!important}.impact-form-checkbox-container .MuiCheckbox-root.impact-checkbox-container{background:#fff;border:1px solid #c3c8d4;border-radius:4px;height:16px;margin-right:7px;padding:4px!important;width:16px}.impact-form-checkbox-container .MuiCheckbox-root.impact-checkbox-container.Mui-focusVisible{background-color:#fff;box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.impact-form-checkbox-container .MuiCheckbox-root.impact-checkbox-container.Mui-disabled.Mui-focusVisible,.impact-form-checkbox-container .MuiCheckbox-root.impact-checkbox-container:focus:not(.Mui-focusVisible){box-shadow:none;outline:none}.impact-form-checkbox-container .MuiCheckbox-root.impact-checkbox-container:hover{border:1px solid #4259ee}.impact-form-checkbox-container .MuiCheckbox-root.impact-checkbox-container>svg{fill:#0000;height:21px;width:21px}.impact-form-checkbox-container .MuiCheckbox-root.default-variant.Mui-checked{background:#eceefd url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/tick.svg) no-repeat;background-position:50%;background-size:10px;border:1px solid #4259ee}.impact-form-checkbox-container .MuiCheckbox-root.default-variant.Mui-checked.Mui-disabled{background:#f8f9fb url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/tick-disabled.svg) no-repeat;background-position:50%;background-size:cover;background-size:10px;border:1px solid #d9dde7}.impact-form-checkbox-container .MuiCheckbox-root.dashed-variant.Mui-checked{background:#eceefd url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/checkbox-dash.svg) no-repeat!important;background-position:50%!important;background-size:10px!important;border:1px solid #4259ee!important}.impact-form-checkbox-container .MuiCheckbox-root.dashed-variant.Mui-checked.Mui-disabled{background:#f8f9fb url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/checkbox-dash-disabled.svg) no-repeat!important;background-position:50%!important;background-size:cover!important;background-size:10px!important;border:1px solid #d9dde7!important}.impact-form-checkbox-container .MuiFormControlLabel-root{margin-left:0}.impact-form-checkbox-container .MuiCheckbox-colorPrimary.impact_checkbox_custom.Mui-checked>svg{display:none;fill:#eceefd}.impact-form-checkbox-container .MuiCheckbox-root.Mui-disabled{background-color:#f8f9fb;border:1px solid #d9dde7;pointer-events:none}.impact-form-checkbox-container .MuiCheckbox-root.MuiTypography-root{font-family:Manrope,sans-serif;font-weight:500}.impact-form-checkbox-container .MuiCheckbox-root.impact_checkbox_custom:hover,.impact-form-checkbox-container .MuiFormControlLabel-root:hover .impact_checkbox_custom{border:1px solid #4259ee!important}.impact-form-checkbox-container .MuiCheckbox-root.checkbox_custom:hover:after{background:#fff}.impact-form-checkbox-container .MuiCheckbox-root.MuiCheckbox-colorPrimary.impact_checkbox_custom.Mui-checked:after{display:none}.impact-form-checkbox-container .MuiCheckbox-root.impact_checkbox_custom.Mui-checked.Mui-disabled>svg,.impact-form-checkbox-container .MuiCheckbox-root.impact_checkbox_custom.impact_checkbox_dash.Mui-checked.Mui-disabled>svg{fill:#efefef}.impact-form-checkbox-container .MuiCheckbox-root.impact_checkbox_custom.Mui-disabled:after{background:#efefef;border:1px solid #d4d4d4}.impact-form-checkbox-container .MuiCheckbox-root.impact_checkbox_custom:hover{background-color:#fff0!important}.impact-form-checkbox-container .MuiTypography-root:hover .impact_checkbox_custom{display:none!important}.impact-form-checkbox-container .MuiFormControlLabel-asterisk{color:#da1e28}.impact-form-checkbox-container .impact-checkbox-label-with-required{align-items:flex-start;display:flex;gap:4px}.impact-form-checkbox-container .impact-checkbox-label-with-required span{color:#ec4c5c}.impact-form-checkbox-container .MuiFormControlLabel-label{align-items:center;color:#7a8294;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px}.impact-form-checkbox-container .impact-checkbox-label{color:#7a8294;display:inline-block;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.impact-form-checkbox-container .impact-checkbox-label.checked{color:#0d152c}.impact-form-checkbox-container .impact-checkbox-label.disabled{color:#b4bac7}.impact-form-checkbox-container.checked .MuiFormControlLabel-label{color:#0d152c}.MuiFormControlLabel-label.Mui-disabled{color:#b4bac7!important}.impact-form-checkbox{align-items:center;display:flex}.impact-form-checkbox .MuiCheckbox-root.impact-checkbox-container{cursor:pointer;margin-right:2px}.impact-arrow-button{color:#60697d;cursor:pointer;font-size:16px!important}.impact-arrow-button.up{transform:rotate(180deg)}.ia-styles.ia-checkbox-menu .MuiPaper-root{background:#fff;border:1px solid #f0f0f0;border-radius:12px;box-shadow:0 1px 6px #1a277c24;margin-left:7px;margin-top:4px;max-height:180px;min-width:240px;padding:0 6px}.ia-styles.ia-checkbox-menu .MuiList-root{display:flex;flex-direction:column;gap:4px}.ia-styles.ia-checkbox-menu .MuiButtonBase-root{align-items:center;border:2px solid #0000;color:#1f2b4d;display:flex;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;gap:8px;height:35px;line-height:20px;padding:0 12px}.ia-styles.ia-checkbox-menu .MuiButtonBase-root.Mui-focusVisible{background:#fff;border:2px solid #4259ee;border-radius:8px}.ia-styles.ia-checkbox-menu .MuiButtonBase-root:hover{background:#f5f6fa;border-radius:8px;color:#1f2b4d}.ia-styles.ia-checkbox-menu .css-kk1bwy-MuiButtonBase-root-MuiMenuItem-root.Mui-selected{background-color:#eceefd;border-radius:8px}")),document.head.appendChild(o)}}catch(c){console.error("vite-plugin-css-injected-by-js",c)}}();
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode(".impact-form-checkbox-container{align-items:center;display:flex;flex-direction:row;gap:0;margin:0!important}.impact-form-checkbox-container .MuiCheckbox-root.impact-checkbox-container{background:#fff;border:1px solid #c3c8d4;border-radius:4px;box-sizing:border-box;height:16px;margin-right:6px;padding:0!important;width:16px}.impact-form-checkbox-container .MuiCheckbox-root.impact-checkbox-container.Mui-focusVisible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.impact-form-checkbox-container .MuiCheckbox-root.impact-checkbox-container.Mui-disabled.Mui-focusVisible,.impact-form-checkbox-container .MuiCheckbox-root.impact-checkbox-container:focus:not(.Mui-focusVisible){box-shadow:none;outline:none}.impact-form-checkbox-container .MuiCheckbox-root.impact-checkbox-container:hover:not(.Mui-disabled){border:1px solid #4259ee}.impact-form-checkbox-container .MuiCheckbox-root.impact-checkbox-container>svg{fill:#0000;height:16px;width:16px}.impact-form-checkbox-container .MuiCheckbox-root.dashed-variant.Mui-checked>svg,.impact-form-checkbox-container .MuiCheckbox-root.default-variant.Mui-checked>svg{display:none}.impact-form-checkbox-container .MuiCheckbox-root.default-variant.Mui-checked{background:#eceefd url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/tick.svg) no-repeat;background-position:50%;background-size:10px;border:1px solid #4259ee}.impact-form-checkbox-container .MuiCheckbox-root.default-variant.Mui-checked.Mui-focusVisible{background-color:#eceefd}.impact-form-checkbox-container .MuiCheckbox-root.default-variant.Mui-checked.Mui-disabled{background:#f8f9fb url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/selectedTickDisabled.svg) no-repeat;background-position:50%;background-size:10px;border:1px solid #b3bdf8}.impact-form-checkbox-container .MuiCheckbox-root.dashed-variant.Mui-checked{background:#eceefd url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/checkbox-dash.svg) no-repeat!important;background-position:50%!important;background-size:10px!important;border:1px solid #4259ee!important}.impact-form-checkbox-container .MuiCheckbox-root.dashed-variant.Mui-checked.Mui-focusVisible{background-color:#eceefd!important}.impact-form-checkbox-container .MuiCheckbox-root.dashed-variant.Mui-checked.Mui-disabled{background:#f8f9fb url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/selectedDashDisable.svg) no-repeat!important;background-position:50%!important;background-size:10px!important;border:1px solid #b3bdf8!important}.impact-form-checkbox-container .MuiFormControlLabel-root{margin-left:0}.impact-form-checkbox-container .MuiCheckbox-colorPrimary.impact_checkbox_custom.Mui-checked>svg{display:none;fill:#eceefd}.impact-form-checkbox-container .MuiCheckbox-root.Mui-disabled:not(.Mui-checked){background-color:#f8f9fb;border:1px solid #d9dde7;pointer-events:none}.impact-form-checkbox-container .MuiCheckbox-root.Mui-disabled{pointer-events:none}.impact-form-checkbox-container .MuiCheckbox-root.MuiTypography-root{font-family:Manrope,sans-serif;font-weight:500}.impact-form-checkbox-container .MuiCheckbox-root.impact_checkbox_custom:hover:not(.Mui-disabled),.impact-form-checkbox-container .MuiFormControlLabel-root:hover .impact_checkbox_custom:not(.Mui-disabled){border:1px solid #4259ee!important}.impact-form-checkbox-container .MuiCheckbox-root.checkbox_custom:hover:after{background:#fff}.impact-form-checkbox-container .MuiCheckbox-root.MuiCheckbox-colorPrimary.impact_checkbox_custom.Mui-checked:after{display:none}.impact-form-checkbox-container .MuiCheckbox-root.impact_checkbox_custom.Mui-checked.Mui-disabled>svg,.impact-form-checkbox-container .MuiCheckbox-root.impact_checkbox_custom.impact_checkbox_dash.Mui-checked.Mui-disabled>svg{fill:#0000}.impact-form-checkbox-container .MuiCheckbox-root.impact_checkbox_custom.Mui-disabled:after{background:#f8f9fb;border:1px solid #d9dde7}.impact-form-checkbox-container .MuiCheckbox-root.impact_checkbox_custom:hover:not(.Mui-disabled){background-color:#fff0!important}.impact-form-checkbox-container .MuiTypography-root:hover .impact_checkbox_custom{display:none!important}.impact-form-checkbox-container .MuiFormControlLabel-asterisk{color:#da1e28}.impact-form-checkbox-container .impact-checkbox-label-with-required{align-items:flex-start;display:flex;gap:4px}.impact-form-checkbox-container .impact-checkbox-label-with-required span{color:#ec4c5c}.impact-form-checkbox-container .MuiFormControlLabel-label{align-items:center;color:#60697d;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px}.impact-form-checkbox-container .impact-checkbox-label{color:#60697d;display:inline-block;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.impact-form-checkbox-container .impact-checkbox-label.checked{color:#0d152c}.impact-form-checkbox-container .impact-checkbox-label.disabled{color:#b4bac7}.impact-form-checkbox-container.checked .MuiFormControlLabel-label{color:#0d152c}.MuiFormControlLabel-label.Mui-disabled{color:#b4bac7!important}.impact-form-checkbox{align-items:center;display:flex}.impact-form-checkbox .impact-form-checkbox-dropdown-trigger{align-items:center;display:flex;gap:4px}.impact-form-checkbox .MuiCheckbox-root.impact-checkbox-container{cursor:pointer;margin-right:0}.impact-arrow-button{color:#60697d;cursor:pointer;font-size:12px!important;height:12px!important;width:12px!important}.impact-arrow-button.disabled{color:#b4bac7;cursor:not-allowed;pointer-events:none}.impact-arrow-button.up{transform:rotate(180deg)}.impact-form-checkbox-dropdown-trigger.disabled{cursor:not-allowed;pointer-events:none}.ia-styles.ia-checkbox-menu .MuiPaper-root{background:#fff;border:1px solid #f0f0f0;border-radius:12px;box-shadow:0 0 4px #0000001f;margin-left:0;margin-top:4px;max-height:180px;max-width:240px;min-width:180px;padding:8px 6px;width:240px}.ia-styles.ia-checkbox-menu .MuiList-root{display:flex;flex-direction:column;gap:2px;padding:0}.ia-styles.ia-checkbox-menu .MuiButtonBase-root{align-items:center;border:2px solid #0000;border-radius:8px;color:#1f2b4d;display:flex;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;gap:8px;height:35px;line-height:20px;padding:8px 12px 8px 16px}.ia-styles.ia-checkbox-menu .MuiButtonBase-root.Mui-focusVisible{background:#fff;border:2px solid #4259ee;border-radius:8px}.ia-styles.ia-checkbox-menu .MuiButtonBase-root:hover{background:#f5f6fa;border-radius:8px;color:#1f2b4d}.ia-styles.ia-checkbox-menu .MuiButtonBase-root.Mui-selected{background-color:#eceefd;border-radius:8px}.ia-styles.ia-checkbox-menu .MuiButtonBase-root.Mui-selected:hover{background-color:#eceefd}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { forwardRef } from "react";
4
4
  import Dashed from "./Dashed.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CreateItemFlow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAKpC,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,8BAA8B,CAAC;AA+BtC,MAAM,WAAW,mBAAmB;IAClC,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACvC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,+LAatB,mBAAmB,6CAwCvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CreateItemFlow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAMpC,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,8BAA8B,CAAC;AAsCtC,MAAM,WAAW,mBAAmB;IAClC,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACvC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,+LAatB,mBAAmB,6CAkDvB,CAAC"}