@codezee/sixtify-brahma 0.2.104 → 0.2.106

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 (146) hide show
  1. package/package.json +35 -34
  2. package/packages/shared-components/dist/Actions/AddIconAction.js +1 -1
  3. package/packages/shared-components/dist/Actions/CalendarIconAction.d.ts +1 -0
  4. package/packages/shared-components/dist/Actions/CalendarIconAction.d.ts.map +1 -1
  5. package/packages/shared-components/dist/Actions/CalendarIconAction.js +1 -1
  6. package/packages/shared-components/dist/Actions/ColumnIconAction.d.ts +3 -1
  7. package/packages/shared-components/dist/Actions/ColumnIconAction.d.ts.map +1 -1
  8. package/packages/shared-components/dist/Actions/ColumnIconAction.js +1 -1
  9. package/packages/shared-components/dist/Actions/ConfigureIconAction.d.ts +3 -1
  10. package/packages/shared-components/dist/Actions/ConfigureIconAction.d.ts.map +1 -1
  11. package/packages/shared-components/dist/Actions/ConfigureIconAction.js +1 -1
  12. package/packages/shared-components/dist/Actions/DeleteIconAction.d.ts +3 -1
  13. package/packages/shared-components/dist/Actions/DeleteIconAction.d.ts.map +1 -1
  14. package/packages/shared-components/dist/Actions/DeleteIconAction.js +1 -1
  15. package/packages/shared-components/dist/Actions/DownloadIconAction.d.ts +3 -1
  16. package/packages/shared-components/dist/Actions/DownloadIconAction.d.ts.map +1 -1
  17. package/packages/shared-components/dist/Actions/DownloadIconAction.js +1 -1
  18. package/packages/shared-components/dist/Actions/DownloadPrintAction.d.ts +6 -0
  19. package/packages/shared-components/dist/Actions/DownloadPrintAction.d.ts.map +1 -0
  20. package/packages/shared-components/dist/Actions/DownloadPrintAction.js +11 -0
  21. package/packages/shared-components/dist/Actions/EditIconAction.d.ts +3 -1
  22. package/packages/shared-components/dist/Actions/EditIconAction.d.ts.map +1 -1
  23. package/packages/shared-components/dist/Actions/EditIconAction.js +1 -1
  24. package/packages/shared-components/dist/Actions/ExportIconAction.d.ts +3 -1
  25. package/packages/shared-components/dist/Actions/ExportIconAction.d.ts.map +1 -1
  26. package/packages/shared-components/dist/Actions/ExportIconAction.js +1 -1
  27. package/packages/shared-components/dist/Actions/FilterIconAction.d.ts.map +1 -1
  28. package/packages/shared-components/dist/Actions/FilterIconAction.js +1 -1
  29. package/packages/shared-components/dist/Actions/HistoryIconAction.d.ts +3 -1
  30. package/packages/shared-components/dist/Actions/HistoryIconAction.d.ts.map +1 -1
  31. package/packages/shared-components/dist/Actions/HistoryIconAction.js +1 -1
  32. package/packages/shared-components/dist/Actions/ImportIconAction.d.ts +3 -1
  33. package/packages/shared-components/dist/Actions/ImportIconAction.d.ts.map +1 -1
  34. package/packages/shared-components/dist/Actions/ImportIconAction.js +1 -1
  35. package/packages/shared-components/dist/Actions/InboxIconAction.d.ts +3 -1
  36. package/packages/shared-components/dist/Actions/InboxIconAction.d.ts.map +1 -1
  37. package/packages/shared-components/dist/Actions/InboxIconAction.js +1 -1
  38. package/packages/shared-components/dist/Actions/ProcessIconAction.d.ts +3 -1
  39. package/packages/shared-components/dist/Actions/ProcessIconAction.d.ts.map +1 -1
  40. package/packages/shared-components/dist/Actions/ProcessIconAction.js +1 -1
  41. package/packages/shared-components/dist/Actions/ViewDetailsIconAction.d.ts +3 -1
  42. package/packages/shared-components/dist/Actions/ViewDetailsIconAction.d.ts.map +1 -1
  43. package/packages/shared-components/dist/Actions/ViewDetailsIconAction.js +1 -1
  44. package/packages/shared-components/dist/Actions/ViewIconAction.d.ts +3 -1
  45. package/packages/shared-components/dist/Actions/ViewIconAction.d.ts.map +1 -1
  46. package/packages/shared-components/dist/Actions/ViewIconAction.js +1 -1
  47. package/packages/shared-components/dist/Actions/index.d.ts +1 -0
  48. package/packages/shared-components/dist/Actions/index.d.ts.map +1 -1
  49. package/packages/shared-components/dist/Actions/index.js +1 -0
  50. package/packages/shared-components/dist/FilterList/FilterListV2.d.ts.map +1 -1
  51. package/packages/shared-components/dist/FilterList/FilterListV2.js +4 -2
  52. package/packages/shared-components/dist/FormFields/Autocomplete/Autocomplete.d.ts +3 -2
  53. package/packages/shared-components/dist/FormFields/Autocomplete/Autocomplete.d.ts.map +1 -1
  54. package/packages/shared-components/dist/FormFields/Autocomplete/Autocomplete.js +2 -2
  55. package/packages/shared-components/dist/FormFields/DatePicker/DatePicker.d.ts +3 -1
  56. package/packages/shared-components/dist/FormFields/DatePicker/DatePicker.d.ts.map +1 -1
  57. package/packages/shared-components/dist/FormFields/DatePicker/DatePicker.js +2 -2
  58. package/packages/shared-components/dist/FormFields/DateTimePicker/DateTimePicker.d.ts.map +1 -1
  59. package/packages/shared-components/dist/FormFields/DateTimePicker/DateTimePicker.js +2 -2
  60. package/packages/shared-components/dist/FormFields/FileUpload/FileUpload.d.ts.map +1 -1
  61. package/packages/shared-components/dist/FormFields/FileUpload/FileUpload.js +2 -2
  62. package/packages/shared-components/dist/FormFields/FileUpload/FileUpload.styled.d.ts +1 -0
  63. package/packages/shared-components/dist/FormFields/FileUpload/FileUpload.styled.d.ts.map +1 -1
  64. package/packages/shared-components/dist/FormFields/FileUpload/FileUpload.styled.js +5 -3
  65. package/packages/shared-components/dist/FormFields/PhoneInputField/PhoneInputField.d.ts.map +1 -1
  66. package/packages/shared-components/dist/FormFields/PhoneInputField/PhoneInputField.js +2 -1
  67. package/packages/shared-components/dist/FormFields/RadioGroupField/RadioGroupField.d.ts +1 -1
  68. package/packages/shared-components/dist/FormFields/RadioGroupField/RadioGroupField.d.ts.map +1 -1
  69. package/packages/shared-components/dist/FormFields/RadioGroupField/RadioGroupField.js +6 -1
  70. package/packages/shared-components/dist/FormFields/Select/Select.d.ts.map +1 -1
  71. package/packages/shared-components/dist/FormFields/Select/Select.js +12 -5
  72. package/packages/shared-components/dist/FormFields/Select/Select.styled.js +2 -2
  73. package/packages/shared-components/dist/FormFields/TextField/TextField.d.ts.map +1 -1
  74. package/packages/shared-components/dist/FormFields/TextField/TextField.js +1 -1
  75. package/packages/shared-components/dist/FormFields/TimePicker/TimePicker.d.ts +3 -1
  76. package/packages/shared-components/dist/FormFields/TimePicker/TimePicker.d.ts.map +1 -1
  77. package/packages/shared-components/dist/FormFields/TimePicker/TimePicker.js +2 -2
  78. package/packages/shared-components/dist/PrintDownloadAction/PrintDownloadActions.d.ts +13 -0
  79. package/packages/shared-components/dist/PrintDownloadAction/PrintDownloadActions.d.ts.map +1 -0
  80. package/packages/shared-components/dist/PrintDownloadAction/PrintDownloadActions.js +25 -0
  81. package/packages/shared-components/dist/PrintDownloadAction/index.d.ts +2 -0
  82. package/packages/shared-components/dist/PrintDownloadAction/index.d.ts.map +1 -0
  83. package/packages/shared-components/dist/PrintDownloadAction/index.js +17 -0
  84. package/packages/shared-components/dist/Svgs/ArrowUpRight.d.ts +4 -1
  85. package/packages/shared-components/dist/Svgs/ArrowUpRight.d.ts.map +1 -1
  86. package/packages/shared-components/dist/Svgs/ArrowUpRight.js +3 -1
  87. package/packages/shared-components/dist/Svgs/DownloadSvg.d.ts +5 -0
  88. package/packages/shared-components/dist/Svgs/DownloadSvg.d.ts.map +1 -0
  89. package/packages/shared-components/dist/Svgs/DownloadSvg.js +8 -0
  90. package/packages/shared-components/dist/Svgs/InboxIcon.d.ts +3 -1
  91. package/packages/shared-components/dist/Svgs/InboxIcon.d.ts.map +1 -1
  92. package/packages/shared-components/dist/Svgs/InboxIcon.js +4 -1
  93. package/packages/shared-components/dist/Svgs/SvgAdd.d.ts +3 -1
  94. package/packages/shared-components/dist/Svgs/SvgAdd.d.ts.map +1 -1
  95. package/packages/shared-components/dist/Svgs/SvgAdd.js +2 -1
  96. package/packages/shared-components/dist/Svgs/SvgAddRounded.d.ts +3 -1
  97. package/packages/shared-components/dist/Svgs/SvgAddRounded.d.ts.map +1 -1
  98. package/packages/shared-components/dist/Svgs/SvgAddRounded.js +2 -1
  99. package/packages/shared-components/dist/Svgs/SvgCalendar.d.ts +3 -1
  100. package/packages/shared-components/dist/Svgs/SvgCalendar.d.ts.map +1 -1
  101. package/packages/shared-components/dist/Svgs/SvgCalendar.js +1 -1
  102. package/packages/shared-components/dist/Svgs/SvgColumn.d.ts +3 -1
  103. package/packages/shared-components/dist/Svgs/SvgColumn.d.ts.map +1 -1
  104. package/packages/shared-components/dist/Svgs/SvgColumn.js +1 -1
  105. package/packages/shared-components/dist/Svgs/SvgConfigure.d.ts +3 -1
  106. package/packages/shared-components/dist/Svgs/SvgConfigure.d.ts.map +1 -1
  107. package/packages/shared-components/dist/Svgs/SvgConfigure.js +2 -1
  108. package/packages/shared-components/dist/Svgs/SvgDelete.d.ts +3 -1
  109. package/packages/shared-components/dist/Svgs/SvgDelete.d.ts.map +1 -1
  110. package/packages/shared-components/dist/Svgs/SvgDelete.js +1 -1
  111. package/packages/shared-components/dist/Svgs/SvgDownload.d.ts +1 -0
  112. package/packages/shared-components/dist/Svgs/SvgDownload.d.ts.map +1 -1
  113. package/packages/shared-components/dist/Svgs/SvgDownload.js +2 -1
  114. package/packages/shared-components/dist/Svgs/SvgDrop.d.ts +3 -1
  115. package/packages/shared-components/dist/Svgs/SvgDrop.d.ts.map +1 -1
  116. package/packages/shared-components/dist/Svgs/SvgDrop.js +3 -2
  117. package/packages/shared-components/dist/Svgs/SvgEdit.d.ts +3 -1
  118. package/packages/shared-components/dist/Svgs/SvgEdit.d.ts.map +1 -1
  119. package/packages/shared-components/dist/Svgs/SvgEdit.js +2 -1
  120. package/packages/shared-components/dist/Svgs/SvgExport.d.ts +3 -1
  121. package/packages/shared-components/dist/Svgs/SvgExport.d.ts.map +1 -1
  122. package/packages/shared-components/dist/Svgs/SvgExport.js +1 -1
  123. package/packages/shared-components/dist/Svgs/SvgFilterList.d.ts +3 -1
  124. package/packages/shared-components/dist/Svgs/SvgFilterList.d.ts.map +1 -1
  125. package/packages/shared-components/dist/Svgs/SvgFilterList.js +4 -1
  126. package/packages/shared-components/dist/Svgs/SvgHistory.d.ts +3 -1
  127. package/packages/shared-components/dist/Svgs/SvgHistory.d.ts.map +1 -1
  128. package/packages/shared-components/dist/Svgs/SvgHistory.js +2 -1
  129. package/packages/shared-components/dist/Svgs/SvgImport.d.ts +3 -1
  130. package/packages/shared-components/dist/Svgs/SvgImport.d.ts.map +1 -1
  131. package/packages/shared-components/dist/Svgs/SvgImport.js +1 -1
  132. package/packages/shared-components/dist/Svgs/SvgReGenerate.d.ts +3 -0
  133. package/packages/shared-components/dist/Svgs/SvgReGenerate.d.ts.map +1 -0
  134. package/packages/shared-components/dist/Svgs/SvgReGenerate.js +6 -0
  135. package/packages/shared-components/dist/Svgs/SvgView.d.ts +3 -1
  136. package/packages/shared-components/dist/Svgs/SvgView.d.ts.map +1 -1
  137. package/packages/shared-components/dist/Svgs/SvgView.js +1 -1
  138. package/packages/shared-components/dist/Svgs/index.d.ts +2 -0
  139. package/packages/shared-components/dist/Svgs/index.d.ts.map +1 -1
  140. package/packages/shared-components/dist/Svgs/index.js +2 -0
  141. package/packages/shared-components/dist/index.d.ts +1 -0
  142. package/packages/shared-components/dist/index.d.ts.map +1 -1
  143. package/packages/shared-components/dist/index.js +1 -0
  144. package/packages/shared-components/dist/utils/downloadHtmlAsImageOrPdf.d.ts +2 -0
  145. package/packages/shared-components/dist/utils/downloadHtmlAsImageOrPdf.d.ts.map +1 -0
  146. package/packages/shared-components/dist/utils/downloadHtmlAsImageOrPdf.js +68 -0
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SvgCalendar = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const SvgCalendar = (props) => {
6
- return ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 29 24", ...props, children: (0, jsx_runtime_1.jsx)("path", { stroke: "currentColor", strokeWidth: 1.565, d: "M8 2v3M16 2v3M3.5 9.09h17M21 8.5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5ZM15.694 13.7h.009M15.694 16.7h.009M11.995 13.7h.009M11.995 16.7h.009M8.295 13.7h.01M8.295 16.7h.01" }) }));
6
+ return ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 29 24", ...props, children: (0, jsx_runtime_1.jsx)("path", { stroke: props.disabled ? "#afafafff" : "currentColor", strokeWidth: 1.565, d: "M8 2v3M16 2v3M3.5 9.09h17M21 8.5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5ZM15.694 13.7h.009M15.694 16.7h.009M11.995 13.7h.009M11.995 16.7h.009M8.295 13.7h.01M8.295 16.7h.01" }) }));
7
7
  };
8
8
  exports.SvgCalendar = SvgCalendar;
@@ -1,3 +1,5 @@
1
1
  import type { SvgIconProps } from "@mui/material";
2
- export declare const SvgColumn: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SvgColumn: (props: SvgIconProps & {
3
+ disabled?: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
3
5
  //# sourceMappingURL=SvgColumn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SvgColumn.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,SAAS,GAAI,OAAO,YAAY,4CAiC5C,CAAC"}
1
+ {"version":3,"file":"SvgColumn.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,SAAS,GACpB,OAAO,YAAY,GAAG;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,4CAkCF,CAAC"}
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SvgColumn = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const SvgColumn = (props) => {
6
- return ((0, jsx_runtime_1.jsxs)("svg", { width: 41, height: 45, viewBox: "0 0 44 45", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [(0, jsx_runtime_1.jsx)("rect", { x: 0.5, y: 1, width: 41, height: 41, rx: 3.5, fill: "white" }), (0, jsx_runtime_1.jsx)("rect", { x: 0.5, y: 1, width: 41, height: 41, rx: 3.5, stroke: "#BCBFC2" }), (0, jsx_runtime_1.jsx)("g", { clipPath: "url(#clip0_38460_84386)", children: (0, jsx_runtime_1.jsx)("path", { d: "M18 12.5V30.5M24 12.5V30.5M16.8 12.5H25.2C26.8802 12.5 27.7202 12.5 28.362 12.827C28.9265 13.1146 29.3854 13.5735 29.673 14.138C30 14.7798 30 15.6198 30 17.3V25.7C30 27.3802 30 28.2202 29.673 28.862C29.3854 29.4265 28.9265 29.8854 28.362 30.173C27.7202 30.5 26.8802 30.5 25.2 30.5H16.8C15.1198 30.5 14.2798 30.5 13.638 30.173C13.0735 29.8854 12.6146 29.4265 12.327 28.862C12 28.2202 12 27.3802 12 25.7V17.3C12 15.6198 12 14.7798 12.327 14.138C12.6146 13.5735 13.0735 13.1146 13.638 12.827C14.2798 12.5 15.1198 12.5 16.8 12.5Z", stroke: "#151E28", strokeWidth: 1, strokeLinecap: "round", strokeLinejoin: "round" }) }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", { id: "clip0_38460_84386", children: (0, jsx_runtime_1.jsx)("rect", { width: 20, height: 20, fill: "white", transform: "translate(11 11.5)" }) }) })] }));
6
+ return ((0, jsx_runtime_1.jsxs)("svg", { width: 41, height: 45, viewBox: "0 0 44 45", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [(0, jsx_runtime_1.jsx)("rect", { x: 0.5, y: 1, width: 41, height: 41, rx: 3.5, fill: "white" }), (0, jsx_runtime_1.jsx)("rect", { x: 0.5, y: 1, width: 41, height: 41, rx: 3.5, stroke: "#BCBFC2" }), (0, jsx_runtime_1.jsx)("g", { clipPath: "url(#clip0_38460_84386)", children: (0, jsx_runtime_1.jsx)("path", { d: "M18 12.5V30.5M24 12.5V30.5M16.8 12.5H25.2C26.8802 12.5 27.7202 12.5 28.362 12.827C28.9265 13.1146 29.3854 13.5735 29.673 14.138C30 14.7798 30 15.6198 30 17.3V25.7C30 27.3802 30 28.2202 29.673 28.862C29.3854 29.4265 28.9265 29.8854 28.362 30.173C27.7202 30.5 26.8802 30.5 25.2 30.5H16.8C15.1198 30.5 14.2798 30.5 13.638 30.173C13.0735 29.8854 12.6146 29.4265 12.327 28.862C12 28.2202 12 27.3802 12 25.7V17.3C12 15.6198 12 14.7798 12.327 14.138C12.6146 13.5735 13.0735 13.1146 13.638 12.827C14.2798 12.5 15.1198 12.5 16.8 12.5Z", stroke: props.disabled ? "#afafafff" : "#4C5D70", strokeWidth: 1, strokeLinecap: "round", strokeLinejoin: "round" }) }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", { id: "clip0_38460_84386", children: (0, jsx_runtime_1.jsx)("rect", { width: 20, height: 20, fill: "white", transform: "translate(11 11.5)" }) }) })] }));
7
7
  };
8
8
  exports.SvgColumn = SvgColumn;
@@ -1,3 +1,5 @@
1
1
  import type { SvgIconProps } from "@mui/material";
2
- export declare const SvgConfigure: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SvgConfigure: (props: SvgIconProps & {
3
+ disabled?: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
3
5
  //# sourceMappingURL=SvgConfigure.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SvgConfigure.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgConfigure.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,YAAY,GAAI,OAAO,YAAY,4CAoC/C,CAAC"}
1
+ {"version":3,"file":"SvgConfigure.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgConfigure.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,YAAY,GACvB,OAAO,YAAY,GAAG;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,4CAuCF,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SvgConfigure = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const SvgConfigure = (props) => {
6
- return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 30, height: 30, fill: "none", viewBox: "0 0 400 350", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "white", stroke: "black", strokeWidth: "14", strokeMiterlimit: "10", strokeLinecap: "round", d: "M147.33 110.248c-23.301 0-42.191 18.86-42.191 42.125 0 23.264 18.89 42.124 42.191 42.124 23.3 0 42.19-18.86 42.19-42.124 0-23.265-18.89-42.125-42.19-42.125Zm118.42 12.065-11.423 9.389c-13.031 10.71-13.031 30.631 0 41.341l11.423 9.39a10.698 10.698 0 0 1 2.471 13.623l-22.555 39.007a10.737 10.737 0 0 1-13.053 4.674l-13.856-5.183c-15.804-5.911-33.084 4.049-35.859 20.671l-2.432 14.572a10.721 10.721 0 0 1-10.58 8.949h-45.113a10.721 10.721 0 0 1-10.58-8.949l-2.433-14.572c-2.774-16.622-20.054-26.582-35.858-20.671l-13.856 5.183a10.737 10.737 0 0 1-13.053-4.674l-22.555-39.007a10.698 10.698 0 0 1 2.472-13.623l11.423-9.39c13.03-10.71 13.03-30.631 0-41.341l-11.423-9.389a10.698 10.698 0 0 1-2.472-13.623l22.555-39.007a10.735 10.735 0 0 1 13.053-4.674l13.856 5.182c15.804 5.912 33.084-4.049 35.858-20.67l2.433-14.573A10.721 10.721 0 0 1 124.773 26h45.113c5.243 0 9.718 3.785 10.58 8.948l2.432 14.572c2.775 16.622 20.055 26.583 35.859 20.67l13.856-5.181c4.91-1.837 10.43.14 13.053 4.674l22.555 39.007a10.698 10.698 0 0 1-2.471 13.623Z" }), (0, jsx_runtime_1.jsx)("rect", { width: 186.127, height: 183.396, x: 164.209, y: 180.029, fill: "#fff", rx: 50 }), (0, jsx_runtime_1.jsx)("path", { fill: "#000", d: "M312.062 248.395h-50.969c-3.98 0-7.281-3.3-7.281-7.281 0-3.98 3.301-7.281 7.281-7.281h50.969c3.98 0 7.281 3.301 7.281 7.281 0 3.981-3.203 7.281-7.281 7.281ZM210.119 255.774a7.202 7.202 0 0 1-5.145-2.136l-7.281-7.282c-2.816-2.815-2.816-7.475 0-10.291 2.815-2.815 7.475-2.815 10.29 0l2.136 2.136 16.699-16.698c2.815-2.816 7.475-2.816 10.29 0 2.816 2.815 2.816 7.475 0 10.291l-21.843 21.844a7.275 7.275 0 0 1-5.146 2.136ZM312.062 316.354h-50.969c-3.98 0-7.281-3.301-7.281-7.282 0-3.98 3.301-7.281 7.281-7.281h50.969c3.98 0 7.281 3.301 7.281 7.281 0 3.981-3.203 7.282-7.281 7.282ZM210.119 323.732a7.202 7.202 0 0 1-5.145-2.136l-7.281-7.281c-2.816-2.816-2.816-7.476 0-10.291 2.815-2.815 7.475-2.815 10.29 0l2.136 2.136 16.699-16.699c2.815-2.815 7.475-2.815 10.29 0 2.816 2.816 2.816 7.476 0 10.291l-21.843 21.844a7.275 7.275 0 0 1-5.146 2.136Z" }), (0, jsx_runtime_1.jsx)("path", { fill: "#000", d: "M286.625 375.865h-58.25c-52.716 0-75.24-22.524-75.24-75.24v-58.25c0-52.716 22.524-75.24 75.24-75.24h58.25c52.716 0 75.239 22.524 75.239 75.24v58.25c0 52.716-22.523 75.24-75.239 75.24Zm-58.25-194.167c-44.756 0-60.677 15.922-60.677 60.677v58.25c0 44.755 15.921 60.677 60.677 60.677h58.25c44.755 0 60.677-15.922 60.677-60.677v-58.25c0-44.755-15.922-60.677-60.677-60.677h-58.25Z" })] }));
6
+ const stroke = props.disabled ? "#afafafff" : "#000";
7
+ return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 30, height: 30, fill: "none", viewBox: "0 0 400 350", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "white", stroke: stroke, strokeWidth: "14", strokeMiterlimit: "10", strokeLinecap: "round", d: "M147.33 110.248c-23.301 0-42.191 18.86-42.191 42.125 0 23.264 18.89 42.124 42.191 42.124 23.3 0 42.19-18.86 42.19-42.124 0-23.265-18.89-42.125-42.19-42.125Zm118.42 12.065-11.423 9.389c-13.031 10.71-13.031 30.631 0 41.341l11.423 9.39a10.698 10.698 0 0 1 2.471 13.623l-22.555 39.007a10.737 10.737 0 0 1-13.053 4.674l-13.856-5.183c-15.804-5.911-33.084 4.049-35.859 20.671l-2.432 14.572a10.721 10.721 0 0 1-10.58 8.949h-45.113a10.721 10.721 0 0 1-10.58-8.949l-2.433-14.572c-2.774-16.622-20.054-26.582-35.858-20.671l-13.856 5.183a10.737 10.737 0 0 1-13.053-4.674l-22.555-39.007a10.698 10.698 0 0 1 2.472-13.623l11.423-9.39c13.03-10.71 13.03-30.631 0-41.341l-11.423-9.389a10.698 10.698 0 0 1-2.472-13.623l22.555-39.007a10.735 10.735 0 0 1 13.053-4.674l13.856 5.182c15.804 5.912 33.084-4.049 35.858-20.67l2.433-14.573A10.721 10.721 0 0 1 124.773 26h45.113c5.243 0 9.718 3.785 10.58 8.948l2.432 14.572c2.775 16.622 20.055 26.583 35.859 20.67l13.856-5.181c4.91-1.837 10.43.14 13.053 4.674l22.555 39.007a10.698 10.698 0 0 1-2.471 13.623Z" }), (0, jsx_runtime_1.jsx)("rect", { width: 186.127, height: 183.396, x: 164.209, y: 180.029, fill: "#fff", rx: 50 }), (0, jsx_runtime_1.jsx)("path", { fill: stroke, d: "M312.062 248.395h-50.969c-3.98 0-7.281-3.3-7.281-7.281 0-3.98 3.301-7.281 7.281-7.281h50.969c3.98 0 7.281 3.301 7.281 7.281 0 3.981-3.203 7.281-7.281 7.281ZM210.119 255.774a7.202 7.202 0 0 1-5.145-2.136l-7.281-7.282c-2.816-2.815-2.816-7.475 0-10.291 2.815-2.815 7.475-2.815 10.29 0l2.136 2.136 16.699-16.698c2.815-2.816 7.475-2.816 10.29 0 2.816 2.815 2.816 7.475 0 10.291l-21.843 21.844a7.275 7.275 0 0 1-5.146 2.136ZM312.062 316.354h-50.969c-3.98 0-7.281-3.301-7.281-7.282 0-3.98 3.301-7.281 7.281-7.281h50.969c3.98 0 7.281 3.301 7.281 7.281 0 3.981-3.203 7.282-7.281 7.282ZM210.119 323.732a7.202 7.202 0 0 1-5.145-2.136l-7.281-7.281c-2.816-2.816-2.816-7.476 0-10.291 2.815-2.815 7.475-2.815 10.29 0l2.136 2.136 16.699-16.699c2.815-2.815 7.475-2.815 10.29 0 2.816 2.816 2.816 7.476 0 10.291l-21.843 21.844a7.275 7.275 0 0 1-5.146 2.136Z" }), (0, jsx_runtime_1.jsx)("path", { fill: stroke, d: "M286.625 375.865h-58.25c-52.716 0-75.24-22.524-75.24-75.24v-58.25c0-52.716 22.524-75.24 75.24-75.24h58.25c52.716 0 75.239 22.524 75.239 75.24v58.25c0 52.716-22.523 75.24-75.239 75.24Zm-58.25-194.167c-44.756 0-60.677 15.922-60.677 60.677v58.25c0 44.755 15.921 60.677 60.677 60.677h58.25c44.755 0 60.677-15.922 60.677-60.677v-58.25c0-44.755-15.922-60.677-60.677-60.677h-58.25Z" })] }));
7
8
  };
8
9
  exports.SvgConfigure = SvgConfigure;
@@ -1,3 +1,5 @@
1
1
  import type { SvgIconProps } from "@mui/material";
2
- export declare const SvgDelete: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SvgDelete: (props: SvgIconProps & {
3
+ disabled?: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
3
5
  //# sourceMappingURL=SvgDelete.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SvgDelete.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgDelete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,SAAS,GAAI,OAAO,YAAY,4CAsB5C,CAAC"}
1
+ {"version":3,"file":"SvgDelete.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgDelete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,SAAS,GACpB,OAAO,YAAY,GAAG;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,4CAuBF,CAAC"}
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SvgDelete = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const SvgDelete = (props) => {
6
- return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 30, height: 30, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "#fff", stroke: "#DBE1E6", strokeWidth: 1.565, d: "M.5 4A3.5 3.5 0 0 1 4 .5h22A3.5 3.5 0 0 1 29.5 4v22a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 26V4Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "#4C5D70", strokeWidth: 1.565, d: "M21.75 10.484a76.276 76.276 0 0 0-7.515-.375c-1.485 0-2.97.075-4.455.225l-1.53.15M12.375 9.727l.165-.982c.12-.712.21-1.245 1.478-1.245h1.964c1.268 0 1.366.563 1.478 1.252l.165.975M20.138 12.855l-.487 7.553c-.083 1.177-.15 2.092-2.243 2.092h-4.815c-2.092 0-2.16-.915-2.242-2.092l-.488-7.553M13.746 18.375h2.498M13.125 15.375h3.75" })] }));
6
+ return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 30, height: 30, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "#fff", stroke: "#DBE1E6", strokeWidth: 1.565, d: "M.5 4A3.5 3.5 0 0 1 4 .5h22A3.5 3.5 0 0 1 29.5 4v22a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 26V4Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: props.disabled ? "#afafafff" : "#4C5D70", strokeWidth: 1.565, d: "M21.75 10.484a76.276 76.276 0 0 0-7.515-.375c-1.485 0-2.97.075-4.455.225l-1.53.15M12.375 9.727l.165-.982c.12-.712.21-1.245 1.478-1.245h1.964c1.268 0 1.366.563 1.478 1.252l.165.975M20.138 12.855l-.487 7.553c-.083 1.177-.15 2.092-2.243 2.092h-4.815c-2.092 0-2.16-.915-2.242-2.092l-.488-7.553M13.746 18.375h2.498M13.125 15.375h3.75" })] }));
7
7
  };
8
8
  exports.SvgDelete = SvgDelete;
@@ -2,6 +2,7 @@ import type { SvgIconProps } from "@mui/material";
2
2
  type SvgDownloadProps = SvgIconProps & {
3
3
  fill?: string;
4
4
  fontColor?: string;
5
+ disabled?: boolean;
5
6
  };
6
7
  export declare const SvgDownload: ({ fill, fontColor, ...props }: SvgDownloadProps) => import("react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"SvgDownload.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgDownload.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,KAAK,gBAAgB,GAAG,YAAY,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7E,eAAO,MAAM,WAAW,GAAI,+BAIzB,gBAAgB,4CAiBlB,CAAC"}
1
+ {"version":3,"file":"SvgDownload.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgDownload.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,KAAK,gBAAgB,GAAG,YAAY,GAAG;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,+BAIzB,gBAAgB,4CAwBlB,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SvgDownload = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const SvgDownload = ({ fill = "#4C5D70", fontColor = "white", ...props }) => {
6
- return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 42, height: 42, fill: "none", style: { color: "inherit" }, ...props, children: [(0, jsx_runtime_1.jsx)("rect", { width: "42", height: "42", rx: "5", fill: fill }), (0, jsx_runtime_1.jsx)("path", { d: "M26.75 21.5C26.5511 21.5 26.3603 21.579 26.2197 21.7197C26.079 21.8603 26 22.0511 26 22.25V25.25C26 25.4489 25.921 25.6397 25.7803 25.7803C25.6397 25.921 25.4489 26 25.25 26H14.75C14.5511 26 14.3603 25.921 14.2197 25.7803C14.079 25.6397 14 25.4489 14 25.25V22.25C14 22.0511 13.921 21.8603 13.7803 21.7197C13.6397 21.579 13.4489 21.5 13.25 21.5C13.0511 21.5 12.8603 21.579 12.7197 21.7197C12.579 21.8603 12.5 22.0511 12.5 22.25V25.25C12.5 25.8467 12.7371 26.419 13.159 26.841C13.581 27.2629 14.1533 27.5 14.75 27.5H25.25C25.8467 27.5 26.419 27.2629 26.841 26.841C27.2629 26.419 27.5 25.8467 27.5 25.25V22.25C27.5 22.0511 27.421 21.8603 27.2803 21.7197C27.1397 21.579 26.9489 21.5 26.75 21.5ZM19.4675 22.7825C19.5388 22.8508 19.6229 22.9043 19.715 22.94C19.8048 22.9797 19.9018 23.0002 20 23.0002C20.0982 23.0002 20.1952 22.9797 20.285 22.94C20.3771 22.9043 20.4612 22.8508 20.5325 22.7825L23.5325 19.7825C23.6737 19.6413 23.7531 19.4497 23.7531 19.25C23.7531 19.0503 23.6737 18.8587 23.5325 18.7175C23.3913 18.5763 23.1997 18.4969 23 18.4969C22.8003 18.4969 22.6087 18.5763 22.4675 18.7175L20.75 20.4425V13.25C20.75 13.0511 20.671 12.8603 20.5303 12.7197C20.3897 12.579 20.1989 12.5 20 12.5C19.8011 12.5 19.6103 12.579 19.4697 12.7197C19.329 12.8603 19.25 13.0511 19.25 13.25V20.4425L17.5325 18.7175C17.4626 18.6476 17.3796 18.5921 17.2882 18.5543C17.1968 18.5164 17.0989 18.4969 17 18.4969C16.9011 18.4969 16.8032 18.5164 16.7118 18.5543C16.6204 18.5921 16.5374 18.6476 16.4675 18.7175C16.3976 18.7874 16.3421 18.8704 16.3043 18.9618C16.2664 19.0532 16.2469 19.1511 16.2469 19.25C16.2469 19.3489 16.2664 19.4468 16.3043 19.5382C16.3421 19.6296 16.3976 19.7126 16.4675 19.7825L19.4675 22.7825Z", fill: fontColor })] }));
6
+ const { disabled } = props;
7
+ return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 42, height: 42, fill: "none", style: { color: disabled ? "#afafafff" : "inherit" }, ...props, children: [(0, jsx_runtime_1.jsx)("rect", { width: "42", height: "42", rx: "5", fill: disabled ? "#afafafff" : fill }), (0, jsx_runtime_1.jsx)("path", { d: "M26.75 21.5C26.5511 21.5 26.3603 21.579 26.2197 21.7197C26.079 21.8603 26 22.0511 26 22.25V25.25C26 25.4489 25.921 25.6397 25.7803 25.7803C25.6397 25.921 25.4489 26 25.25 26H14.75C14.5511 26 14.3603 25.921 14.2197 25.7803C14.079 25.6397 14 25.4489 14 25.25V22.25C14 22.0511 13.921 21.8603 13.7803 21.7197C13.6397 21.579 13.4489 21.5 13.25 21.5C13.0511 21.5 12.8603 21.579 12.7197 21.7197C12.579 21.8603 12.5 22.0511 12.5 22.25V25.25C12.5 25.8467 12.7371 26.419 13.159 26.841C13.581 27.2629 14.1533 27.5 14.75 27.5H25.25C25.8467 27.5 26.419 27.2629 26.841 26.841C27.2629 26.419 27.5 25.8467 27.5 25.25V22.25C27.5 22.0511 27.421 21.8603 27.2803 21.7197C27.1397 21.579 26.9489 21.5 26.75 21.5ZM19.4675 22.7825C19.5388 22.8508 19.6229 22.9043 19.715 22.94C19.8048 22.9797 19.9018 23.0002 20 23.0002C20.0982 23.0002 20.1952 22.9797 20.285 22.94C20.3771 22.9043 20.4612 22.8508 20.5325 22.7825L23.5325 19.7825C23.6737 19.6413 23.7531 19.4497 23.7531 19.25C23.7531 19.0503 23.6737 18.8587 23.5325 18.7175C23.3913 18.5763 23.1997 18.4969 23 18.4969C22.8003 18.4969 22.6087 18.5763 22.4675 18.7175L20.75 20.4425V13.25C20.75 13.0511 20.671 12.8603 20.5303 12.7197C20.3897 12.579 20.1989 12.5 20 12.5C19.8011 12.5 19.6103 12.579 19.4697 12.7197C19.329 12.8603 19.25 13.0511 19.25 13.25V20.4425L17.5325 18.7175C17.4626 18.6476 17.3796 18.5921 17.2882 18.5543C17.1968 18.5164 17.0989 18.4969 17 18.4969C16.9011 18.4969 16.8032 18.5164 16.7118 18.5543C16.6204 18.5921 16.5374 18.6476 16.4675 18.7175C16.3976 18.7874 16.3421 18.8704 16.3043 18.9618C16.2664 19.0532 16.2469 19.1511 16.2469 19.25C16.2469 19.3489 16.2664 19.4468 16.3043 19.5382C16.3421 19.6296 16.3976 19.7126 16.4675 19.7825L19.4675 22.7825Z", fill: fontColor })] }));
7
8
  };
8
9
  exports.SvgDownload = SvgDownload;
@@ -1,3 +1,5 @@
1
1
  import type { SvgIconProps } from "@mui/material";
2
- export declare const SvgDrop: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SvgDrop: (props: SvgIconProps & {
3
+ disabled?: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
3
5
  //# sourceMappingURL=SvgDrop.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SvgDrop.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgDrop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAGlD,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,4CAwC1C,CAAC"}
1
+ {"version":3,"file":"SvgDrop.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgDrop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAGlD,eAAO,MAAM,OAAO,GAClB,OAAO,YAAY,GAAG;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,4CA2CF,CAAC"}
@@ -5,8 +5,9 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const material_1 = require("@mui/material");
6
6
  const SvgDrop = (props) => {
7
7
  const theme = (0, material_1.useTheme)();
8
- const { butterflyBlue } = theme.palette.app.color;
9
- const fill = props.fill ?? butterflyBlue[900];
8
+ const { butterflyBlue, iron } = theme.palette.app.color;
9
+ const disabledColor = props.disabled ? iron[800] : butterflyBlue[900];
10
+ const fill = props.fill ?? disabledColor;
10
11
  return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 57, height: 49, fill: "none", ...props, style: { color: "inherit" }, children: [(0, jsx_runtime_1.jsx)("path", { fill: fill ?? "currentColor", d: "M29.399 12.005a.602.602 0 0 1-.401-.748c1.096-3.718 4.511-6.448 8.575-6.448a.6.6 0 0 1 .596.602.6.6 0 0 1-.596.602c-3.406 0-6.462 2.297-7.432 5.587a.595.595 0 0 1-.742.405Z" }), (0, jsx_runtime_1.jsx)("path", { fill: fill ?? "currentColor", d: "M45.923 34.898h-3.578a.6.6 0 0 1-.597-.602.6.6 0 0 1 .597-.602h3.578c4.932 0 8.946-4.049 8.946-9.025 0-4.977-4.014-9.026-8.946-9.026h-.086a.594.594 0 0 1-.45-.208.605.605 0 0 1-.14-.48c.053-.374.08-.75.08-1.117 0-4.313-3.479-7.823-7.754-7.823-1.663 0-3.249.525-4.586 1.517a.594.594 0 0 1-.882-.205C28.317.05 18.422-.928 13.292 5.403a11.475 11.475 0 0 0-2.33 9.519.6.6 0 0 1-.584.721h-.24c-4.932 0-8.945 4.05-8.945 9.026 0 4.977 4.013 9.026 8.946 9.026h3.578a.6.6 0 0 1 .596.601.6.6 0 0 1-.596.602H10.14C4.549 34.898 0 30.31 0 24.67c0-5.482 4.297-9.97 9.67-10.218a12.672 12.672 0 0 1 2.698-9.81c5.493-6.779 16.019-6.019 20.468 1.54a8.81 8.81 0 0 1 4.737-1.368c5.18 0 9.283 4.447 8.924 9.643 5.325.302 9.565 4.767 9.565 10.213 0 5.64-4.549 10.229-10.14 10.229h.001Z" }), (0, jsx_runtime_1.jsx)("path", { fill: fill ?? "currentColor", d: "M27.95 49c-8.222 0-14.91-6.748-14.91-15.043 0-8.295 6.688-15.043 14.91-15.043 8.22 0 14.91 6.748 14.91 15.043C42.86 42.252 36.17 49 27.95 49Zm0-28.882c-7.564 0-13.718 6.208-13.718 13.839s6.154 13.84 13.717 13.84c7.564 0 13.717-6.21 13.717-13.84s-6.153-13.84-13.717-13.84Z" }), (0, jsx_runtime_1.jsx)("path", { fill: fill ?? "currentColor", stroke: fill ?? "currentColor", d: "M27.29 40.013c0 .516.414.94.936.94a.938.938 0 0 0 .936-.94V28.56a.939.939 0 0 0-.936-.94.939.939 0 0 0-.937.94v11.453Z" }), (0, jsx_runtime_1.jsx)("path", { fill: fill ?? "currentColor", stroke: fill ?? "currentColor", d: "m32.028 31.772.355-.352a.943.943 0 0 1 0 1.327.933.933 0 0 1-.663.277l.308-1.252Zm0 0 .355-.352-3.493-3.524a.934.934 0 0 0-1.328 0l.356.352-.356-.351 4.466 3.875Zm-3.801-1.879-2.83 2.854 2.83-2.854Zm0 0 2.829 2.854a.934.934 0 0 0 .664.277l-3.493-3.131Z" })] }));
11
12
  };
12
13
  exports.SvgDrop = SvgDrop;
@@ -1,3 +1,5 @@
1
1
  import type { SvgIconProps } from "@mui/material";
2
- export declare const SvgEdit: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SvgEdit: (props: SvgIconProps & {
3
+ disabled?: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
3
5
  //# sourceMappingURL=SvgEdit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SvgEdit.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgEdit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,4CAuC1C,CAAC"}
1
+ {"version":3,"file":"SvgEdit.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgEdit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,OAAO,GAClB,OAAO,YAAY,GAAG;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,4CA0CF,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SvgEdit = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const SvgEdit = (props) => {
6
- return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 30, height: 30, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "#fff", stroke: "#DBE1E6", d: "M.5 4A3.5 3.5 0 0 1 4 .5h22A3.5 3.5 0 0 1 29.5 4v22a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 26V4Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "#4C5D70", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.565, d: "M14.457 8.836h-1.25c-3.125 0-4.375 1.25-4.375 4.375v3.75c0 3.125 1.25 4.375 4.375 4.375h3.75c3.125 0 4.375-1.25 4.375-4.375v-1.25" }), (0, jsx_runtime_1.jsx)("path", { stroke: "#4C5D70", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 1.565, d: "M17.608 9.474 12.683 14.4a1.695 1.695 0 0 0-.413.825l-.269 1.881c-.1.682.382 1.157 1.063 1.063l1.881-.269a1.75 1.75 0 0 0 .825-.412l4.925-4.925c.85-.85 1.25-1.838 0-3.088s-2.237-.85-3.087 0Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "#4C5D70", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 1.565, d: "M16.898 10.18a4.465 4.465 0 0 0 3.088 3.087" })] }));
6
+ const stroke = props.disabled ? "#afafafff" : "#4C5D70";
7
+ return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 30, height: 30, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "#fff", stroke: "#DBE1E6", d: "M.5 4A3.5 3.5 0 0 1 4 .5h22A3.5 3.5 0 0 1 29.5 4v22a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 26V4Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: stroke, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.565, d: "M14.457 8.836h-1.25c-3.125 0-4.375 1.25-4.375 4.375v3.75c0 3.125 1.25 4.375 4.375 4.375h3.75c3.125 0 4.375-1.25 4.375-4.375v-1.25" }), (0, jsx_runtime_1.jsx)("path", { stroke: stroke, strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 1.565, d: "M17.608 9.474 12.683 14.4a1.695 1.695 0 0 0-.413.825l-.269 1.881c-.1.682.382 1.157 1.063 1.063l1.881-.269a1.75 1.75 0 0 0 .825-.412l4.925-4.925c.85-.85 1.25-1.838 0-3.088s-2.237-.85-3.087 0Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: stroke, strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 1.565, d: "M16.898 10.18a4.465 4.465 0 0 0 3.088 3.087" })] }));
7
8
  };
8
9
  exports.SvgEdit = SvgEdit;
@@ -1,3 +1,5 @@
1
1
  import type { SvgIconProps } from "@mui/material";
2
- export declare const SvgExport: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SvgExport: (props: SvgIconProps & {
3
+ disabled?: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
3
5
  //# sourceMappingURL=SvgExport.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SvgExport.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgExport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,SAAS,GAAI,OAAO,YAAY,4CA8B5C,CAAC"}
1
+ {"version":3,"file":"SvgExport.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgExport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,SAAS,GACpB,OAAO,YAAY,GAAG;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,4CA+BF,CAAC"}
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SvgExport = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const SvgExport = (props) => {
6
- return ((0, jsx_runtime_1.jsx)("svg", { width: "42", height: "42", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: (0, jsx_runtime_1.jsxs)("g", { id: "Communication / Share_iOS_Export", children: [(0, jsx_runtime_1.jsx)("rect", { x: "0.5", y: "0.5", width: "33", height: "33", rx: "3.5", stroke: "#BCBFC2" }), (0, jsx_runtime_1.jsx)("path", { id: "Vector", d: "M14 11L17 8M17 8L20 11M17 8V18M12.0002 15C11.0683 15 10.6024 15 10.2349 15.1522C9.74481 15.3552 9.35523 15.7448 9.15224 16.2349C9 16.6024 9 17.0681 9 18V22.8C9 23.9201 9 24.4798 9.21799 24.9076C9.40973 25.2839 9.71547 25.5905 10.0918 25.7822C10.5192 26 11.079 26 12.1969 26H21.8036C22.9215 26 23.4805 26 23.9079 25.7822C24.2842 25.5905 24.5905 25.2839 24.7822 24.9076C25 24.4802 25 23.921 25 22.8031V18C25 17.0681 24.9999 16.6024 24.8477 16.2349C24.6447 15.7448 24.2554 15.3552 23.7654 15.1522C23.3978 15 22.9319 15 22 15", stroke: "#151E28", strokeWidth: "1", strokeLinecap: "round", strokeLinejoin: "round" })] }) }));
6
+ return ((0, jsx_runtime_1.jsx)("svg", { width: "42", height: "42", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: (0, jsx_runtime_1.jsxs)("g", { id: "Communication / Share_iOS_Export", children: [(0, jsx_runtime_1.jsx)("rect", { x: "0.5", y: "0.5", width: "33", height: "33", rx: "3.5", stroke: "#BCBFC2" }), (0, jsx_runtime_1.jsx)("path", { id: "Vector", d: "M14 11L17 8M17 8L20 11M17 8V18M12.0002 15C11.0683 15 10.6024 15 10.2349 15.1522C9.74481 15.3552 9.35523 15.7448 9.15224 16.2349C9 16.6024 9 17.0681 9 18V22.8C9 23.9201 9 24.4798 9.21799 24.9076C9.40973 25.2839 9.71547 25.5905 10.0918 25.7822C10.5192 26 11.079 26 12.1969 26H21.8036C22.9215 26 23.4805 26 23.9079 25.7822C24.2842 25.5905 24.5905 25.2839 24.7822 24.9076C25 24.4802 25 23.921 25 22.8031V18C25 17.0681 24.9999 16.6024 24.8477 16.2349C24.6447 15.7448 24.2554 15.3552 23.7654 15.1522C23.3978 15 22.9319 15 22 15", stroke: props.disabled ? "#afafafff" : "#4C5D70", strokeWidth: "1", strokeLinecap: "round", strokeLinejoin: "round" })] }) }));
7
7
  };
8
8
  exports.SvgExport = SvgExport;
@@ -1,3 +1,5 @@
1
1
  import type { SvgIconProps } from "@mui/material";
2
- export declare const SvgFilterList: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SvgFilterList: (props: SvgIconProps & {
3
+ disabled?: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
3
5
  //# sourceMappingURL=SvgFilterList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SvgFilterList.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgFilterList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,aAAa,GAAI,OAAO,YAAY,4CAkBhD,CAAC"}
1
+ {"version":3,"file":"SvgFilterList.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgFilterList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,aAAa,GACxB,OAAO,YAAY,GAAG;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,4CAuBF,CAAC"}
@@ -2,5 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SvgFilterList = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const SvgFilterList = (props) => ((0, jsx_runtime_1.jsxs)("svg", { width: "42", height: "42", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [(0, jsx_runtime_1.jsx)("rect", { x: "0.5", y: "0.5", width: "33", height: "33", rx: "3.5", stroke: "#BCBFC2" }), (0, jsx_runtime_1.jsx)("path", { d: "M10.5 13.8333V11.5C10.5 10.9477 10.9478 10.5 11.5 10.5H24.5001C25.0524 10.5 25.5001 10.9477 25.5001 11.4999L25.5004 13.8333M10.5 13.8333L15.9842 18.534C16.2058 18.724 16.3334 19.0013 16.3334 19.2933V24.2192C16.3334 24.8698 16.9448 25.3472 17.5759 25.1894L18.9092 24.856C19.3544 24.7447 19.6667 24.3448 19.6667 23.8859V19.2933C19.6667 19.0014 19.7943 18.724 20.0159 18.534L25.5004 13.8333M10.5 13.8333H25.5004", stroke: "#151E28", strokeWidth: "1", strokeLinecap: "round", strokeLinejoin: "round" })] }));
5
+ const SvgFilterList = (props) => {
6
+ const stroke = props.disabled ? "#afafafff" : "#4C5D70";
7
+ return ((0, jsx_runtime_1.jsxs)("svg", { width: "42", height: "42", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [(0, jsx_runtime_1.jsx)("rect", { x: "0.5", y: "0.5", width: "33", height: "33", rx: "3.5", stroke: "#BCBFC2" }), (0, jsx_runtime_1.jsx)("path", { d: "M10.5 13.8333V11.5C10.5 10.9477 10.9478 10.5 11.5 10.5H24.5001C25.0524 10.5 25.5001 10.9477 25.5001 11.4999L25.5004 13.8333M10.5 13.8333L15.9842 18.534C16.2058 18.724 16.3334 19.0013 16.3334 19.2933V24.2192C16.3334 24.8698 16.9448 25.3472 17.5759 25.1894L18.9092 24.856C19.3544 24.7447 19.6667 24.3448 19.6667 23.8859V19.2933C19.6667 19.0014 19.7943 18.724 20.0159 18.534L25.5004 13.8333M10.5 13.8333H25.5004", stroke: stroke, strokeWidth: "1", strokeLinecap: "round", strokeLinejoin: "round" })] }));
8
+ };
6
9
  exports.SvgFilterList = SvgFilterList;
@@ -1,3 +1,5 @@
1
1
  import type { SvgIconProps } from "@mui/material";
2
- export declare const SvgHistory: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SvgHistory: (props: SvgIconProps & {
3
+ disabled?: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
3
5
  //# sourceMappingURL=SvgHistory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SvgHistory.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgHistory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,UAAU,GAAI,OAAO,YAAY,4CAsC7C,CAAC"}
1
+ {"version":3,"file":"SvgHistory.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgHistory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,UAAU,GACrB,OAAO,YAAY,GAAG;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,4CAyCF,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SvgHistory = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const SvgHistory = (props) => {
6
- return ((0, jsx_runtime_1.jsxs)("svg", { width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [(0, jsx_runtime_1.jsx)("path", { d: "M0.5 4C0.5 2.067 2.067 0.5 4 0.5H26C27.933 0.5 29.5 2.067 29.5 4V26C29.5 27.933 27.933 29.5 26 29.5H4C2.067 29.5 0.5 27.933 0.5 26V4Z", fill: "white", stroke: "#DBE1E6", strokeWidth: 1.565 }), (0, jsx_runtime_1.jsxs)("g", { clipPath: "url(#clip0_22174_76909)", children: [(0, jsx_runtime_1.jsx)("path", { d: "M15.687 8.125C14.1756 8.13236 12.7094 8.64089 11.5179 9.57092C10.3265 10.501 9.4773 11.7999 9.1033 13.2644L8.6458 12.5725C8.60248 12.5001 8.54495 12.4372 8.47667 12.3876C8.40838 12.338 8.33076 12.3027 8.24848 12.2839C8.1662 12.2651 8.08097 12.2632 7.99792 12.2783C7.91488 12.2933 7.83575 12.325 7.76529 12.3715C7.69484 12.418 7.63452 12.4782 7.58798 12.5486C7.54144 12.619 7.50965 12.6981 7.49451 12.7811C7.47937 12.8642 7.48121 12.9494 7.4999 13.0317C7.5186 13.114 7.55377 13.1917 7.6033 13.26L8.9783 15.3438C9.07381 15.4774 9.21463 15.5718 9.37455 15.6094C9.53784 15.6418 9.70733 15.6093 9.84705 15.5188L11.9095 14.1294C11.9807 14.085 12.0421 14.0267 12.0902 13.9581C12.1384 13.8894 12.1722 13.8118 12.1897 13.7298C12.2072 13.6478 12.2081 13.5631 12.1922 13.4808C12.1763 13.3985 12.144 13.3202 12.0972 13.2506C12.0505 13.181 11.9902 13.1216 11.9199 13.0758C11.8497 13.03 11.771 12.9988 11.6885 12.984C11.6059 12.9693 11.5213 12.9713 11.4395 12.9899C11.3578 13.0085 11.2806 13.0434 11.2127 13.0925L10.2745 13.725C10.5242 12.7115 11.0538 11.7886 11.8027 11.0615C12.5517 10.3345 13.4899 9.83264 14.5104 9.6132C15.5309 9.39375 16.5925 9.46557 17.5741 9.82045C18.5558 10.1753 19.4179 10.799 20.0621 11.6203C20.7063 12.4416 21.1067 13.4274 21.2176 14.4653C21.3285 15.5032 21.1455 16.5514 20.6893 17.4902C20.2332 18.4291 19.5223 19.2208 18.6378 19.7751C17.7533 20.3294 16.7309 20.6239 15.687 20.625C14.7923 20.6226 13.9113 20.4042 13.119 19.9883C12.3267 19.5724 11.6466 18.9713 11.1364 18.2363C11.0907 18.1661 11.0314 18.1058 10.962 18.059C10.8925 18.0122 10.8144 17.9799 10.7322 17.9639C10.65 17.9478 10.5655 17.9485 10.4836 17.9658C10.4016 17.9831 10.324 18.0167 10.2553 18.0646C10.1866 18.1124 10.1283 18.1736 10.0837 18.2445C10.0391 18.3154 10.0092 18.3945 9.99577 18.4771C9.98235 18.5598 9.98567 18.6443 10.0055 18.7256C10.0254 18.807 10.0614 18.8835 10.1114 18.9506C10.9408 20.1464 12.1319 21.0445 13.5097 21.513C14.8874 21.9816 16.3791 21.9959 17.7656 21.5537C19.152 21.1116 20.36 20.2364 21.2122 19.0567C22.0643 17.877 22.5155 16.4551 22.4995 15C22.5057 13.1856 21.7919 11.4428 20.5148 10.1539C19.2377 8.86508 17.5015 8.13542 15.687 8.125Z", fill: "#4C5D70" }), (0, jsx_runtime_1.jsx)("path", { d: "M15.625 11.2188C15.4592 11.2188 15.3003 11.2846 15.1831 11.4018C15.0658 11.519 15 11.678 15 11.8438V15C15.0027 15.1652 15.0681 15.3232 15.1831 15.4419L17.0581 17.3338C17.1758 17.4496 17.334 17.5148 17.4991 17.5156C17.6642 17.5165 17.8231 17.4528 17.9419 17.3381C18.0595 17.2214 18.126 17.0628 18.1267 16.897C18.1274 16.7313 18.0623 16.5721 17.9456 16.4544L16.25 14.7431V11.8438C16.25 11.678 16.1842 11.519 16.0669 11.4018C15.9497 11.2846 15.7908 11.2188 15.625 11.2188Z", fill: "#4C5D70" })] }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", { id: "clip0_22174_76909", children: (0, jsx_runtime_1.jsx)("rect", { width: "15", height: "15", fill: "white", transform: "translate(7.5 7.5)" }) }) })] }));
6
+ const fill = props.disabled ? "#afafafff" : "#4C5D70";
7
+ return ((0, jsx_runtime_1.jsxs)("svg", { width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [(0, jsx_runtime_1.jsx)("path", { d: "M0.5 4C0.5 2.067 2.067 0.5 4 0.5H26C27.933 0.5 29.5 2.067 29.5 4V26C29.5 27.933 27.933 29.5 26 29.5H4C2.067 29.5 0.5 27.933 0.5 26V4Z", fill: "white", stroke: "#DBE1E6", strokeWidth: 1.565 }), (0, jsx_runtime_1.jsxs)("g", { clipPath: "url(#clip0_22174_76909)", children: [(0, jsx_runtime_1.jsx)("path", { d: "M15.687 8.125C14.1756 8.13236 12.7094 8.64089 11.5179 9.57092C10.3265 10.501 9.4773 11.7999 9.1033 13.2644L8.6458 12.5725C8.60248 12.5001 8.54495 12.4372 8.47667 12.3876C8.40838 12.338 8.33076 12.3027 8.24848 12.2839C8.1662 12.2651 8.08097 12.2632 7.99792 12.2783C7.91488 12.2933 7.83575 12.325 7.76529 12.3715C7.69484 12.418 7.63452 12.4782 7.58798 12.5486C7.54144 12.619 7.50965 12.6981 7.49451 12.7811C7.47937 12.8642 7.48121 12.9494 7.4999 13.0317C7.5186 13.114 7.55377 13.1917 7.6033 13.26L8.9783 15.3438C9.07381 15.4774 9.21463 15.5718 9.37455 15.6094C9.53784 15.6418 9.70733 15.6093 9.84705 15.5188L11.9095 14.1294C11.9807 14.085 12.0421 14.0267 12.0902 13.9581C12.1384 13.8894 12.1722 13.8118 12.1897 13.7298C12.2072 13.6478 12.2081 13.5631 12.1922 13.4808C12.1763 13.3985 12.144 13.3202 12.0972 13.2506C12.0505 13.181 11.9902 13.1216 11.9199 13.0758C11.8497 13.03 11.771 12.9988 11.6885 12.984C11.6059 12.9693 11.5213 12.9713 11.4395 12.9899C11.3578 13.0085 11.2806 13.0434 11.2127 13.0925L10.2745 13.725C10.5242 12.7115 11.0538 11.7886 11.8027 11.0615C12.5517 10.3345 13.4899 9.83264 14.5104 9.6132C15.5309 9.39375 16.5925 9.46557 17.5741 9.82045C18.5558 10.1753 19.4179 10.799 20.0621 11.6203C20.7063 12.4416 21.1067 13.4274 21.2176 14.4653C21.3285 15.5032 21.1455 16.5514 20.6893 17.4902C20.2332 18.4291 19.5223 19.2208 18.6378 19.7751C17.7533 20.3294 16.7309 20.6239 15.687 20.625C14.7923 20.6226 13.9113 20.4042 13.119 19.9883C12.3267 19.5724 11.6466 18.9713 11.1364 18.2363C11.0907 18.1661 11.0314 18.1058 10.962 18.059C10.8925 18.0122 10.8144 17.9799 10.7322 17.9639C10.65 17.9478 10.5655 17.9485 10.4836 17.9658C10.4016 17.9831 10.324 18.0167 10.2553 18.0646C10.1866 18.1124 10.1283 18.1736 10.0837 18.2445C10.0391 18.3154 10.0092 18.3945 9.99577 18.4771C9.98235 18.5598 9.98567 18.6443 10.0055 18.7256C10.0254 18.807 10.0614 18.8835 10.1114 18.9506C10.9408 20.1464 12.1319 21.0445 13.5097 21.513C14.8874 21.9816 16.3791 21.9959 17.7656 21.5537C19.152 21.1116 20.36 20.2364 21.2122 19.0567C22.0643 17.877 22.5155 16.4551 22.4995 15C22.5057 13.1856 21.7919 11.4428 20.5148 10.1539C19.2377 8.86508 17.5015 8.13542 15.687 8.125Z", fill: fill }), (0, jsx_runtime_1.jsx)("path", { d: "M15.625 11.2188C15.4592 11.2188 15.3003 11.2846 15.1831 11.4018C15.0658 11.519 15 11.678 15 11.8438V15C15.0027 15.1652 15.0681 15.3232 15.1831 15.4419L17.0581 17.3338C17.1758 17.4496 17.334 17.5148 17.4991 17.5156C17.6642 17.5165 17.8231 17.4528 17.9419 17.3381C18.0595 17.2214 18.126 17.0628 18.1267 16.897C18.1274 16.7313 18.0623 16.5721 17.9456 16.4544L16.25 14.7431V11.8438C16.25 11.678 16.1842 11.519 16.0669 11.4018C15.9497 11.2846 15.7908 11.2188 15.625 11.2188Z", fill: fill })] }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", { id: "clip0_22174_76909", children: (0, jsx_runtime_1.jsx)("rect", { width: "15", height: "15", fill: "white", transform: "translate(7.5 7.5)" }) }) })] }));
7
8
  };
8
9
  exports.SvgHistory = SvgHistory;
@@ -1,3 +1,5 @@
1
1
  import type { SvgIconProps } from "@mui/material";
2
- export declare const SvgImport: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SvgImport: (props: SvgIconProps & {
3
+ disabled?: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
3
5
  //# sourceMappingURL=SvgImport.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SvgImport.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgImport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,SAAS,GAAI,OAAO,YAAY,4CAgB5C,CAAC"}
1
+ {"version":3,"file":"SvgImport.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgImport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,SAAS,GACpB,OAAO,YAAY,GAAG;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,4CAiBF,CAAC"}
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SvgImport = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const SvgImport = (props) => {
6
- return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 42, height: 42, fill: "none", viewBox: "0 0 36 36", ...props, children: [(0, jsx_runtime_1.jsx)("rect", { width: 33, height: 33, x: 0.5, y: 0.5, stroke: "#BCBFC2", rx: 3.5 }), (0, jsx_runtime_1.jsx)("g", { stroke: "#151E28", children: (0, jsx_runtime_1.jsx)("path", { d: "M12 12.75c-.932 0-1.398 0-1.765.152a2 2 0 0 0-1.083 1.083C9 14.352 9 14.818 9 15.75v5.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.427.218.987.218 2.105.218h9.607c1.118 0 1.677 0 2.104-.218.376-.192.682-.498.874-.874.218-.428.218-.987.218-2.105V15.75c0-.932 0-1.398-.152-1.765a2 2 0 0 0-1.083-1.083c-.367-.152-.833-.152-1.765-.152M20 16.25l-3 3m0 0-3-3m3 3v-10" }) })] }));
6
+ return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 42, height: 42, fill: "none", viewBox: "0 0 36 36", ...props, children: [(0, jsx_runtime_1.jsx)("rect", { width: 33, height: 33, x: 0.5, y: 0.5, stroke: "#BCBFC2", rx: 3.5 }), (0, jsx_runtime_1.jsx)("g", { stroke: props.disabled ? "#afafafff" : "#4C5D70", children: (0, jsx_runtime_1.jsx)("path", { d: "M12 12.75c-.932 0-1.398 0-1.765.152a2 2 0 0 0-1.083 1.083C9 14.352 9 14.818 9 15.75v5.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.427.218.987.218 2.105.218h9.607c1.118 0 1.677 0 2.104-.218.376-.192.682-.498.874-.874.218-.428.218-.987.218-2.105V15.75c0-.932 0-1.398-.152-1.765a2 2 0 0 0-1.083-1.083c-.367-.152-.833-.152-1.765-.152M20 16.25l-3 3m0 0-3-3m3 3v-10" }) })] }));
7
7
  };
8
8
  exports.SvgImport = SvgImport;
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ export declare const SvgReGenerate: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=SvgReGenerate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SvgReGenerate.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgReGenerate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,aAAa,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CAU3D,CAAC"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SvgReGenerate = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const SvgReGenerate = (props) => ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: props.color ?? "currentColor", viewBox: "0 0 32 32", ...props, children: [(0, jsx_runtime_1.jsx)("path", { d: "m21.697 14.924-1.396-.501a4.515 4.515 0 0 1-2.724-2.725l-.502-1.396-.002-.004c-.163-.448-.594-.751-1.073-.751s-.91.303-1.076.756l-.501 1.396a4.515 4.515 0 0 1-2.725 2.724l-1.399.504c-.449.163-.752.595-.752 1.073s.303.91.756 1.076l1.396.501a4.515 4.515 0 0 1 2.724 2.725l.504 1.399c.164.449.596.752 1.074.752s.91-.303 1.076-.756l.501-1.396a4.515 4.515 0 0 1 2.725-2.724l1.399-.504c.449-.164.752-.596.752-1.074s-.304-.909-.757-1.075zM16 18.914A6.501 6.501 0 0 0 13.086 16 6.501 6.501 0 0 0 16 13.086 6.501 6.501 0 0 0 18.914 16 6.501 6.501 0 0 0 16 18.914z" }), (0, jsx_runtime_1.jsx)("path", { d: "M27.401 9.132a1 1 0 0 0-1.711 1.037 11.247 11.247 0 0 1 1.623 5.832c0 6.237-5.075 11.313-11.313 11.313a11.27 11.27 0 0 1-3.118-.445l.993-.477a1.001 1.001 0 0 0-.867-1.803l-3.125 1.503a1.002 1.002 0 0 0-.433 1.398l1.728 3.008a.997.997 0 0 0 1.365.369.999.999 0 0 0 .369-1.365l-.38-.662c1.123.304 2.282.473 3.469.473 7.341 0 13.313-5.972 13.313-13.313a13.259 13.259 0 0 0-1.913-6.868zM15.999 4.687c1.069 0 2.112.156 3.118.445l-.993.477a1.001 1.001 0 0 0 .434 1.901.985.985 0 0 0 .433-.099l3.125-1.503a1.002 1.002 0 0 0 .433-1.399l-1.728-3.008a1 1 0 1 0-1.734.996l.38.662a13.244 13.244 0 0 0-3.469-.473c-7.341 0-13.313 5.972-13.313 13.313 0 2.429.661 4.805 1.912 6.869a1 1 0 0 0 1.711-1.038 11.247 11.247 0 0 1-1.623-5.832C4.687 9.762 9.762 4.687 15.999 4.687z" })] }));
6
+ exports.SvgReGenerate = SvgReGenerate;
@@ -1,3 +1,5 @@
1
1
  import type { SVGProps } from "react";
2
- export declare const SvgView: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SvgView: (props: SVGProps<SVGSVGElement> & {
3
+ disabled?: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
3
5
  //# sourceMappingURL=SvgView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SvgView.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,eAAO,MAAM,OAAO,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CAcrD,CAAC"}
1
+ {"version":3,"file":"SvgView.d.ts","sourceRoot":"","sources":["../../src/Svgs/SvgView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,eAAO,MAAM,OAAO,GAClB,OAAO,QAAQ,CAAC,aAAa,CAAC,GAAG;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,4CAeF,CAAC"}
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SvgView = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const SvgView = (props) => ((0, jsx_runtime_1.jsx)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: (0, jsx_runtime_1.jsx)("path", { d: "M12.0002 6.7728C14.7546 6.7728 17.0888 8.029 18.5584 9.0828C20.3008 10.3324 21.1984 11.538 21.4316 12C21.1984 12.4598 20.303 13.6676 18.5584 14.9172C17.0866 15.971 14.7546 17.2272 12.0002 17.2272C9.24582 17.2272 6.91381 15.971 5.44201 14.9172C3.69741 13.6676 2.80201 12.4598 2.56881 12C2.80201 11.5402 3.69741 10.3324 5.44201 9.0828C6.91161 8.029 9.24582 6.7728 12.0002 6.7728ZM12.0002 5.466C6.04701 5.466 1.22021 10.6932 1.22021 12C1.22021 13.3068 6.04701 18.534 12.0002 18.534C17.9534 18.534 22.7802 13.3068 22.7802 12C22.7802 10.6932 17.9534 5.466 12.0002 5.466ZM12.0002 8.0796C9.83541 8.0796 8.07981 9.8352 8.07981 12C8.07981 14.1648 9.83541 15.9204 12.0002 15.9204C14.165 15.9204 15.9206 14.1648 15.9206 12C15.9206 9.8352 14.165 8.0796 12.0002 8.0796ZM10.9442 12C10.029 12 9.28541 11.2564 9.28541 10.3412C9.28541 9.426 10.029 8.6824 10.9442 8.6824C11.8594 8.6824 12.603 9.426 12.603 10.3412C12.603 11.2564 11.8616 12 10.9442 12Z", fill: "#4C5D70" }) }));
5
+ const SvgView = (props) => ((0, jsx_runtime_1.jsx)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: (0, jsx_runtime_1.jsx)("path", { d: "M12.0002 6.7728C14.7546 6.7728 17.0888 8.029 18.5584 9.0828C20.3008 10.3324 21.1984 11.538 21.4316 12C21.1984 12.4598 20.303 13.6676 18.5584 14.9172C17.0866 15.971 14.7546 17.2272 12.0002 17.2272C9.24582 17.2272 6.91381 15.971 5.44201 14.9172C3.69741 13.6676 2.80201 12.4598 2.56881 12C2.80201 11.5402 3.69741 10.3324 5.44201 9.0828C6.91161 8.029 9.24582 6.7728 12.0002 6.7728ZM12.0002 5.466C6.04701 5.466 1.22021 10.6932 1.22021 12C1.22021 13.3068 6.04701 18.534 12.0002 18.534C17.9534 18.534 22.7802 13.3068 22.7802 12C22.7802 10.6932 17.9534 5.466 12.0002 5.466ZM12.0002 8.0796C9.83541 8.0796 8.07981 9.8352 8.07981 12C8.07981 14.1648 9.83541 15.9204 12.0002 15.9204C14.165 15.9204 15.9206 14.1648 15.9206 12C15.9206 9.8352 14.165 8.0796 12.0002 8.0796ZM10.9442 12C10.029 12 9.28541 11.2564 9.28541 10.3412C9.28541 9.426 10.029 8.6824 10.9442 8.6824C11.8594 8.6824 12.603 9.426 12.603 10.3412C12.603 11.2564 11.8616 12 10.9442 12Z", fill: props.disabled ? "#afafafff" : "#4C5D70" }) }));
6
6
  exports.SvgView = SvgView;
@@ -1,6 +1,7 @@
1
1
  export * from "./ArrowUpRight";
2
2
  export * from "./AttendanceDashboard";
3
3
  export * from "./Company";
4
+ export * from "./DownloadSvg";
4
5
  export * from "./Drawer";
5
6
  export * from "./FormAction";
6
7
  export * from "./ImportExcelSuccessIcon";
@@ -24,5 +25,6 @@ export * from "./SvgNoLogo";
24
25
  export * from "./SvgNoSign";
25
26
  export * from "./SvgPageNotFound";
26
27
  export * from "./SvgProfile";
28
+ export * from "./SvgReGenerate";
27
29
  export * from "./SvgView";
28
30
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Svgs/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Svgs/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC"}
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ArrowUpRight"), exports);
18
18
  __exportStar(require("./AttendanceDashboard"), exports);
19
19
  __exportStar(require("./Company"), exports);
20
+ __exportStar(require("./DownloadSvg"), exports);
20
21
  __exportStar(require("./Drawer"), exports);
21
22
  __exportStar(require("./FormAction"), exports);
22
23
  __exportStar(require("./ImportExcelSuccessIcon"), exports);
@@ -40,4 +41,5 @@ __exportStar(require("./SvgNoLogo"), exports);
40
41
  __exportStar(require("./SvgNoSign"), exports);
41
42
  __exportStar(require("./SvgPageNotFound"), exports);
42
43
  __exportStar(require("./SvgProfile"), exports);
44
+ __exportStar(require("./SvgReGenerate"), exports);
43
45
  __exportStar(require("./SvgView"), exports);
@@ -20,6 +20,7 @@ export * from "./Layouts";
20
20
  export * from "./Loader";
21
21
  export * from "./PadBox";
22
22
  export * from "./Pagination";
23
+ export * from "./PrintDownloadAction";
23
24
  export * from "./RichTextEditor";
24
25
  export * from "./Stepper";
25
26
  export * from "./Svgs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC"}
@@ -36,6 +36,7 @@ __exportStar(require("./Layouts"), exports);
36
36
  __exportStar(require("./Loader"), exports);
37
37
  __exportStar(require("./PadBox"), exports);
38
38
  __exportStar(require("./Pagination"), exports);
39
+ __exportStar(require("./PrintDownloadAction"), exports);
39
40
  __exportStar(require("./RichTextEditor"), exports);
40
41
  __exportStar(require("./Stepper"), exports);
41
42
  __exportStar(require("./Svgs"), exports);
@@ -0,0 +1,2 @@
1
+ export declare const downloadOrPrintSection: (element: HTMLElement | null, action: "image" | "print", filename?: string) => Promise<void>;
2
+ //# sourceMappingURL=downloadHtmlAsImageOrPdf.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"downloadHtmlAsImageOrPdf.d.ts","sourceRoot":"","sources":["../../src/utils/downloadHtmlAsImageOrPdf.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,GACjC,SAAS,WAAW,GAAG,IAAI,EAC3B,QAAQ,OAAO,GAAG,OAAO,EACzB,iBAAoB,kBA8ErB,CAAC"}
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.downloadOrPrintSection = void 0;
7
+ const html2canvas_1 = __importDefault(require("html2canvas"));
8
+ let isPrinting = false;
9
+ const downloadOrPrintSection = async (element, action, filename = "section") => {
10
+ if (!element) {
11
+ return;
12
+ }
13
+ const canvas = await (0, html2canvas_1.default)(element, { scale: 2 });
14
+ const imgData = canvas.toDataURL("image/png");
15
+ if (action === "image") {
16
+ const link = document.createElement("a");
17
+ link.href = imgData;
18
+ link.download = `${filename}.png`;
19
+ link.click();
20
+ }
21
+ else {
22
+ if (isPrinting) {
23
+ return;
24
+ }
25
+ isPrinting = true;
26
+ const iframe = document.createElement("iframe");
27
+ iframe.style.position = "absolute";
28
+ iframe.style.width = "0";
29
+ iframe.style.height = "0";
30
+ iframe.style.border = "0";
31
+ document.body.appendChild(iframe);
32
+ const doc = iframe.contentWindow?.document;
33
+ if (!doc) {
34
+ isPrinting = false;
35
+ return;
36
+ }
37
+ doc.body.innerHTML = "";
38
+ doc.body.style.margin = "0";
39
+ doc.body.style.display = "flex";
40
+ doc.body.style.justifyContent = "center";
41
+ doc.body.style.alignItems = "center";
42
+ const style = document.createElement("style");
43
+ style.innerHTML = "@page { margin: 0; }";
44
+ doc.head.appendChild(style);
45
+ const img = new Image();
46
+ img.src = imgData;
47
+ img.style.maxWidth = "100%";
48
+ img.style.maxHeight = "100%";
49
+ img.onload = () => {
50
+ doc.body.appendChild(img);
51
+ const printWindow = iframe.contentWindow;
52
+ if (!printWindow) {
53
+ return;
54
+ }
55
+ const afterPrint = () => {
56
+ if (iframe.parentNode) {
57
+ document.body.removeChild(iframe);
58
+ }
59
+ isPrinting = false;
60
+ printWindow.removeEventListener("afterprint", afterPrint);
61
+ };
62
+ printWindow.addEventListener("afterprint", afterPrint);
63
+ printWindow.focus();
64
+ printWindow.print();
65
+ };
66
+ }
67
+ };
68
+ exports.downloadOrPrintSection = downloadOrPrintSection;