pixel-priya 0.0.61 → 0.0.62

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 (489) hide show
  1. package/lib/ThirdPartyPackages/Adapter.js +3 -6
  2. package/lib/ThirdPartyPackages/Adapter.js.map +1 -1
  3. package/lib/ThirdPartyPackages/JanusGateway.js +3 -6
  4. package/lib/ThirdPartyPackages/JanusGateway.js.map +1 -1
  5. package/lib/assets/utils/functionUtils.js +63 -61
  6. package/lib/assets/utils/functionUtils.js.map +1 -1
  7. package/lib/components/Accordion/Accordion.js +25 -76
  8. package/lib/components/Accordion/Accordion.js.map +1 -1
  9. package/lib/components/AddContentButton/AddContentButton.js +10 -53
  10. package/lib/components/AddContentButton/AddContentButton.js.map +1 -1
  11. package/lib/components/AddResourceButton/AddResourceButton.js +70 -116
  12. package/lib/components/AddResourceButton/AddResourceButton.js.map +1 -1
  13. package/lib/components/AddResourceButton/ArrowsButton/ArrowsButton.js +13 -41
  14. package/lib/components/AddResourceButton/ArrowsButton/ArrowsButton.js.map +1 -1
  15. package/lib/components/AddResourceButton/type.js +19 -18
  16. package/lib/components/AddResourceButton/type.js.map +1 -1
  17. package/lib/components/AiToggle/AiToggle.js +20 -56
  18. package/lib/components/AiToggle/AiToggle.js.map +1 -1
  19. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.js +92 -189
  20. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.js.map +1 -1
  21. package/lib/components/AnimatedSetting/AnimatedSetting.js +32 -55
  22. package/lib/components/AnimatedSetting/AnimatedSetting.js.map +1 -1
  23. package/lib/components/AppHeader/AppHeader.js +184 -298
  24. package/lib/components/AppHeader/AppHeader.js.map +1 -1
  25. package/lib/components/AttachMedia/AttachMedia.js +14 -92
  26. package/lib/components/AttachMedia/AttachMedia.js.map +1 -1
  27. package/lib/components/AttachmentButton/AttachmentButton.js +96 -169
  28. package/lib/components/AttachmentButton/AttachmentButton.js.map +1 -1
  29. package/lib/components/Avatar/Avatar.js +8 -38
  30. package/lib/components/Avatar/Avatar.js.map +1 -1
  31. package/lib/components/Box/Box.js +19 -50
  32. package/lib/components/Box/Box.js.map +1 -1
  33. package/lib/components/BrowserTabs/BrowserTabs.js +59 -120
  34. package/lib/components/BrowserTabs/BrowserTabs.js.map +1 -1
  35. package/lib/components/Button/Button.js +31 -80
  36. package/lib/components/Button/Button.js.map +1 -1
  37. package/lib/components/Charts/BarChart/BarChart.js +158 -321
  38. package/lib/components/Charts/BarChart/BarChart.js.map +1 -1
  39. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js +462 -811
  40. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js.map +1 -1
  41. package/lib/components/Charts/DonutChart/DonutChart.js +88 -169
  42. package/lib/components/Charts/DonutChart/DonutChart.js.map +1 -1
  43. package/lib/components/Charts/IconRadialChart/IconRadialChart.js +67 -165
  44. package/lib/components/Charts/IconRadialChart/IconRadialChart.js.map +1 -1
  45. package/lib/components/Charts/LineChart/LineChart.js +203 -464
  46. package/lib/components/Charts/LineChart/LineChart.js.map +1 -1
  47. package/lib/components/Charts/MultiRadialChart/MultiRadialChart.js +176 -344
  48. package/lib/components/Charts/MultiRadialChart/MultiRadialChart.js.map +1 -1
  49. package/lib/components/Charts/PieChart/PieChart.js +123 -253
  50. package/lib/components/Charts/PieChart/PieChart.js.map +1 -1
  51. package/lib/components/Charts/RadialChart/RadialChart.js +74 -138
  52. package/lib/components/Charts/RadialChart/RadialChart.js.map +1 -1
  53. package/lib/components/ChatModal/ChatModal.js +41 -148
  54. package/lib/components/ChatModal/ChatModal.js.map +1 -1
  55. package/lib/components/Checkbox/Checkbox.js +21 -55
  56. package/lib/components/Checkbox/Checkbox.js.map +1 -1
  57. package/lib/components/Chip/Chip.js +23 -48
  58. package/lib/components/Chip/Chip.js.map +1 -1
  59. package/lib/components/ChipWithCount/ChipWithCount.js +11 -45
  60. package/lib/components/ChipWithCount/ChipWithCount.js.map +1 -1
  61. package/lib/components/ChooseFile/ChooseFile.js +6 -41
  62. package/lib/components/ChooseFile/ChooseFile.js.map +1 -1
  63. package/lib/components/Comments/Comments.js +246 -309
  64. package/lib/components/Comments/Comments.js.map +1 -1
  65. package/lib/components/Comments/childComment/ChildComment.js +249 -442
  66. package/lib/components/Comments/childComment/ChildComment.js.map +1 -1
  67. package/lib/components/Comments/childComment/useNode.js +47 -48
  68. package/lib/components/Comments/childComment/useNode.js.map +1 -1
  69. package/lib/components/Comments/commentCommonUtils.js +13 -17
  70. package/lib/components/Comments/commentCommonUtils.js.map +1 -1
  71. package/lib/components/Comments/mentionUser/MentionUser.js +56 -79
  72. package/lib/components/Comments/mentionUser/MentionUser.js.map +1 -1
  73. package/lib/components/ConditionalDropdown/ConditionalDropdown.js +194 -255
  74. package/lib/components/ConditionalDropdown/ConditionalDropdown.js.map +1 -1
  75. package/lib/components/ConditionalDropdown/OptionsDropdown.js +17 -38
  76. package/lib/components/ConditionalDropdown/OptionsDropdown.js.map +1 -1
  77. package/lib/components/ConnectingBranch/BranchComponents/MachineInstances.js +36 -128
  78. package/lib/components/ConnectingBranch/BranchComponents/MachineInstances.js.map +1 -1
  79. package/lib/components/ConnectingBranch/ConnectingBranch.js +101 -165
  80. package/lib/components/ConnectingBranch/ConnectingBranch.js.map +1 -1
  81. package/lib/components/CreateVariable/CreateVariableSlider.js +62 -156
  82. package/lib/components/CreateVariable/CreateVariableSlider.js.map +1 -1
  83. package/lib/components/DatePicker/DatePicker.js +279 -428
  84. package/lib/components/DatePicker/DatePicker.js.map +1 -1
  85. package/lib/components/DatePicker/Timepicker.js +224 -290
  86. package/lib/components/DatePicker/Timepicker.js.map +1 -1
  87. package/lib/components/DownloadClient/DownloadClient.js +22 -83
  88. package/lib/components/DownloadClient/DownloadClient.js.map +1 -1
  89. package/lib/components/DragAndDrop/DragAndDrop.js +6 -12
  90. package/lib/components/DragAndDrop/DragAndDrop.js.map +1 -1
  91. package/lib/components/Drawer/Drawer.js +88 -237
  92. package/lib/components/Drawer/Drawer.js.map +1 -1
  93. package/lib/components/EditLabel/EditLabel.js +161 -294
  94. package/lib/components/EditLabel/EditLabel.js.map +1 -1
  95. package/lib/components/EditTextField/EditTextField.js +79 -176
  96. package/lib/components/EditTextField/EditTextField.js.map +1 -1
  97. package/lib/components/Editor/Editor.js +297 -316
  98. package/lib/components/Editor/Editor.js.map +1 -1
  99. package/lib/components/Editor/VariableDropdown.js +42 -71
  100. package/lib/components/Editor/VariableDropdown.js.map +1 -1
  101. package/lib/components/ErrorBoundary/ErrorBoundary.js +18 -24
  102. package/lib/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  103. package/lib/components/Excel/ColorBarSelector/ColorBarSelector.js +21 -39
  104. package/lib/components/Excel/ColorBarSelector/ColorBarSelector.js.map +1 -1
  105. package/lib/components/Excel/ExcelContextMenu/ExcelContextMenu.js +24 -47
  106. package/lib/components/Excel/ExcelContextMenu/ExcelContextMenu.js.map +1 -1
  107. package/lib/components/Excel/ExcelFile/ExcelFile.js +427 -518
  108. package/lib/components/Excel/ExcelFile/ExcelFile.js.map +1 -1
  109. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js +199 -249
  110. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
  111. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Cell.js +66 -114
  112. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Cell.js.map +1 -1
  113. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js +96 -141
  114. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js.map +1 -1
  115. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Copied.js +11 -17
  116. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Copied.js.map +1 -1
  117. package/lib/components/Excel/ExcelFile/ExcelFileComponents/CornerIndicator.js +23 -44
  118. package/lib/components/Excel/ExcelFile/ExcelFileComponents/CornerIndicator.js.map +1 -1
  119. package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.js +21 -41
  120. package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.js.map +1 -1
  121. package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataViewer.js +30 -59
  122. package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataViewer.js.map +1 -1
  123. package/lib/components/Excel/ExcelFile/ExcelFileComponents/FloatingRect.js +36 -48
  124. package/lib/components/Excel/ExcelFile/ExcelFileComponents/FloatingRect.js.map +1 -1
  125. package/lib/components/Excel/ExcelFile/ExcelFileComponents/HeaderRow.js +4 -9
  126. package/lib/components/Excel/ExcelFile/ExcelFileComponents/HeaderRow.js.map +1 -1
  127. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Row.js +4 -8
  128. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Row.js.map +1 -1
  129. package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js +88 -133
  130. package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js.map +1 -1
  131. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.js +12 -18
  132. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.js.map +1 -1
  133. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +281 -374
  134. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
  135. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Table.js +15 -30
  136. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Table.js.map +1 -1
  137. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.js +266 -353
  138. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.js.map +1 -1
  139. package/lib/components/Excel/ExcelFile/ExcelFileComponents/context.js +5 -7
  140. package/lib/components/Excel/ExcelFile/ExcelFileComponents/context.js.map +1 -1
  141. package/lib/components/Excel/ExcelFile/ExcelFileComponents/engine/engine.js +79 -92
  142. package/lib/components/Excel/ExcelFile/ExcelFileComponents/engine/engine.js.map +1 -1
  143. package/lib/components/Excel/ExcelFile/ExcelFileComponents/engine/formula.js +20 -8
  144. package/lib/components/Excel/ExcelFile/ExcelFileComponents/engine/formula.js.map +1 -1
  145. package/lib/components/Excel/ExcelFile/ExcelFileComponents/engine/point-graph.js +112 -114
  146. package/lib/components/Excel/ExcelFile/ExcelFileComponents/engine/point-graph.js.map +1 -1
  147. package/lib/components/Excel/ExcelFile/ExcelFileComponents/engine/point-hash.js +6 -11
  148. package/lib/components/Excel/ExcelFile/ExcelFileComponents/engine/point-hash.js.map +1 -1
  149. package/lib/components/Excel/ExcelFile/ExcelFileComponents/engine/point-set.js +54 -57
  150. package/lib/components/Excel/ExcelFile/ExcelFileComponents/engine/point-set.js.map +1 -1
  151. package/lib/components/Excel/ExcelFile/ExcelFileComponents/index.js +10 -10
  152. package/lib/components/Excel/ExcelFile/ExcelFileComponents/index.js.map +1 -1
  153. package/lib/components/Excel/ExcelFile/ExcelFileComponents/matrix.js +233 -197
  154. package/lib/components/Excel/ExcelFile/ExcelFileComponents/matrix.js.map +1 -1
  155. package/lib/components/Excel/ExcelFile/ExcelFileComponents/point-range.js +54 -51
  156. package/lib/components/Excel/ExcelFile/ExcelFileComponents/point-range.js.map +1 -1
  157. package/lib/components/Excel/ExcelFile/ExcelFileComponents/point.js +4 -9
  158. package/lib/components/Excel/ExcelFile/ExcelFileComponents/point.js.map +1 -1
  159. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js +605 -812
  160. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js.map +1 -1
  161. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js +659 -771
  162. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js.map +1 -1
  163. package/lib/components/Excel/ExcelFile/ExcelFileComponents/selection.js +169 -179
  164. package/lib/components/Excel/ExcelFile/ExcelFileComponents/selection.js.map +1 -1
  165. package/lib/components/Excel/ExcelFile/ExcelFileComponents/use-dispatch.js +5 -7
  166. package/lib/components/Excel/ExcelFile/ExcelFileComponents/use-dispatch.js.map +1 -1
  167. package/lib/components/Excel/ExcelFile/ExcelFileComponents/use-selector.js +5 -7
  168. package/lib/components/Excel/ExcelFile/ExcelFileComponents/use-selector.js.map +1 -1
  169. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.js +189 -173
  170. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.js.map +1 -1
  171. package/lib/components/Excel/ExcelToolBar/ExcelToolBar.js +105 -346
  172. package/lib/components/Excel/ExcelToolBar/ExcelToolBar.js.map +1 -1
  173. package/lib/components/Excel/dataConversion.js +130 -108
  174. package/lib/components/Excel/dataConversion.js.map +1 -1
  175. package/lib/components/ExpandableMenu/ExpandableMenu.js +40 -74
  176. package/lib/components/ExpandableMenu/ExpandableMenu.js.map +1 -1
  177. package/lib/components/FF_Captcha/Recaptcha.js +22 -43
  178. package/lib/components/FF_Captcha/Recaptcha.js.map +1 -1
  179. package/lib/components/FieldSet/FieldSet.js +7 -34
  180. package/lib/components/FieldSet/FieldSet.js.map +1 -1
  181. package/lib/components/FileDropzone/Dropzone.js +21 -100
  182. package/lib/components/FileDropzone/Dropzone.js.map +1 -1
  183. package/lib/components/FileDropzone/FileDropzone.js +52 -151
  184. package/lib/components/FileDropzone/FileDropzone.js.map +1 -1
  185. package/lib/components/FileDropzone/FilePreview.js +11 -96
  186. package/lib/components/FileDropzone/FilePreview.js.map +1 -1
  187. package/lib/components/FileDropzone/RadioFilePreview.js +38 -90
  188. package/lib/components/FileDropzone/RadioFilePreview.js.map +1 -1
  189. package/lib/components/Form/Form.js +3 -6
  190. package/lib/components/Form/Form.js.map +1 -1
  191. package/lib/components/Form/Forms.js +17 -30
  192. package/lib/components/Form/Forms.js.map +1 -1
  193. package/lib/components/GridLayout/GridLayout.js +12 -42
  194. package/lib/components/GridLayout/GridLayout.js.map +1 -1
  195. package/lib/components/HighlightText/HighlightText.js +17 -31
  196. package/lib/components/HighlightText/HighlightText.js.map +1 -1
  197. package/lib/components/HistoryCard/HistoryCard.js +8 -49
  198. package/lib/components/HistoryCard/HistoryCard.js.map +1 -1
  199. package/lib/components/Icon/Icon.js +43 -81
  200. package/lib/components/Icon/Icon.js.map +1 -1
  201. package/lib/components/Icon/iconList.js +807 -807
  202. package/lib/components/Icon/iconList.js.map +1 -1
  203. package/lib/components/IconButton/IconButton.js +12 -41
  204. package/lib/components/IconButton/IconButton.js.map +1 -1
  205. package/lib/components/IconRadioGroup/IconRadioGroup.js +32 -55
  206. package/lib/components/IconRadioGroup/IconRadioGroup.js.map +1 -1
  207. package/lib/components/Input/Input.js +133 -233
  208. package/lib/components/Input/Input.js.map +1 -1
  209. package/lib/components/InputWithDropdown/InputWithDropdown.js +35 -124
  210. package/lib/components/InputWithDropdown/InputWithDropdown.js.map +1 -1
  211. package/lib/components/LabelEditTextField/LabelEditTextField.js +156 -249
  212. package/lib/components/LabelEditTextField/LabelEditTextField.js.map +1 -1
  213. package/lib/components/LazyLoad/LazyLoad.js +3 -6
  214. package/lib/components/LazyLoad/LazyLoad.js.map +1 -1
  215. package/lib/components/LineLoader/LineLoader.js +6 -18
  216. package/lib/components/LineLoader/LineLoader.js.map +1 -1
  217. package/lib/components/Link/Link.js +36 -114
  218. package/lib/components/Link/Link.js.map +1 -1
  219. package/lib/components/MachineInputField/MachineInputField.js +41 -86
  220. package/lib/components/MachineInputField/MachineInputField.js.map +1 -1
  221. package/lib/components/MediaPreview/MediaPreview.js +28 -93
  222. package/lib/components/MediaPreview/MediaPreview.js.map +1 -1
  223. package/lib/components/MenuOption/MenuOption.js +177 -275
  224. package/lib/components/MenuOption/MenuOption.js.map +1 -1
  225. package/lib/components/MessageBox/MessageBox.js +18 -36
  226. package/lib/components/MessageBox/MessageBox.js.map +1 -1
  227. package/lib/components/MiniModal/MiniModal.js +245 -325
  228. package/lib/components/MiniModal/MiniModal.js.map +1 -1
  229. package/lib/components/MobileSkin/MobileSkin.js +25 -66
  230. package/lib/components/MobileSkin/MobileSkin.js.map +1 -1
  231. package/lib/components/Modal/Modal.js +40 -79
  232. package/lib/components/Modal/Modal.js.map +1 -1
  233. package/lib/components/Modal/types.d.ts +1 -0
  234. package/lib/components/ModulesChip/ModuleChip.js +13 -27
  235. package/lib/components/ModulesChip/ModuleChip.js.map +1 -1
  236. package/lib/components/MultiSelect/Dropdown.js +142 -204
  237. package/lib/components/MultiSelect/Dropdown.js.map +1 -1
  238. package/lib/components/MultiSelect/MultiSelect.js +281 -430
  239. package/lib/components/MultiSelect/MultiSelect.js.map +1 -1
  240. package/lib/components/MultiSelect/dropdownTypes.js +5 -7
  241. package/lib/components/MultiSelect/dropdownTypes.js.map +1 -1
  242. package/lib/components/NLPInput/NlpInput.js +208 -345
  243. package/lib/components/NLPInput/NlpInput.js.map +1 -1
  244. package/lib/components/NLPInput/components/ChipsFolder/ChipsAccordion.js +50 -98
  245. package/lib/components/NLPInput/components/ChipsFolder/ChipsAccordion.js.map +1 -1
  246. package/lib/components/NLPInput/components/NlpDropDown/NlpDropDownType.js +6 -8
  247. package/lib/components/NLPInput/components/NlpDropDown/NlpDropDownType.js.map +1 -1
  248. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.js +162 -350
  249. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.js.map +1 -1
  250. package/lib/components/NoDataContent/NoDataContent.js +8 -28
  251. package/lib/components/NoDataContent/NoDataContent.js.map +1 -1
  252. package/lib/components/OsTree/OsTree.d.ts +5 -0
  253. package/lib/components/OsTree/OsTree.js +11 -0
  254. package/lib/components/OsTree/OsTree.js.map +1 -0
  255. package/lib/components/OsTree/index.d.ts +1 -0
  256. package/lib/components/OsTree/index.js +2 -0
  257. package/lib/components/OsTree/index.js.map +1 -0
  258. package/lib/components/OsTree/type.d.ts +26 -0
  259. package/lib/components/OsTree/type.js +2 -0
  260. package/lib/components/OsTree/type.js.map +1 -0
  261. package/lib/components/OtpVerification/OtpVerification.js +71 -125
  262. package/lib/components/OtpVerification/OtpVerification.js.map +1 -1
  263. package/lib/components/OverviewModal/overviewModal.js +44 -120
  264. package/lib/components/OverviewModal/overviewModal.js.map +1 -1
  265. package/lib/components/Paper/Paper.js +8 -18
  266. package/lib/components/Paper/Paper.js.map +1 -1
  267. package/lib/components/PhoneInput/PhoneInput.js +51 -80
  268. package/lib/components/PhoneInput/PhoneInput.js.map +1 -1
  269. package/lib/components/PopUpModal/PopUpModal.js +10 -90
  270. package/lib/components/PopUpModal/PopUpModal.js.map +1 -1
  271. package/lib/components/PrePostTable/PrePostTable.js +127 -244
  272. package/lib/components/PrePostTable/PrePostTable.js.map +1 -1
  273. package/lib/components/PrePostTable/components/DraggableTableRow.js +38 -121
  274. package/lib/components/PrePostTable/components/DraggableTableRow.js.map +1 -1
  275. package/lib/components/PrePostTable/components/PrePostStepAccordions.js +17 -87
  276. package/lib/components/PrePostTable/components/PrePostStepAccordions.js.map +1 -1
  277. package/lib/components/ProgressBar/ProgressBar.js +54 -84
  278. package/lib/components/ProgressBar/ProgressBar.js.map +1 -1
  279. package/lib/components/Prompt/Prompt.js +27 -74
  280. package/lib/components/Prompt/Prompt.js.map +1 -1
  281. package/lib/components/PromptContainer/PromptContainer.js +68 -151
  282. package/lib/components/PromptContainer/PromptContainer.js.map +1 -1
  283. package/lib/components/RadioButton/RadioButton.js +8 -49
  284. package/lib/components/RadioButton/RadioButton.js.map +1 -1
  285. package/lib/components/RadioGroup/RadioGroup.js +9 -56
  286. package/lib/components/RadioGroup/RadioGroup.js.map +1 -1
  287. package/lib/components/ScriptSwitchButton/ScriptSwitchButton.js +15 -40
  288. package/lib/components/ScriptSwitchButton/ScriptSwitchButton.js.map +1 -1
  289. package/lib/components/Search/Search.js +117 -200
  290. package/lib/components/Search/Search.js.map +1 -1
  291. package/lib/components/Select/Select.js +182 -315
  292. package/lib/components/Select/Select.js.map +1 -1
  293. package/lib/components/Select/components/Dropdown.js +103 -171
  294. package/lib/components/Select/components/Dropdown.js.map +1 -1
  295. package/lib/components/Select/components/types.js +6 -8
  296. package/lib/components/Select/components/types.js.map +1 -1
  297. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js +62 -188
  298. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js.map +1 -1
  299. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js +163 -283
  300. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js.map +1 -1
  301. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.js +22 -58
  302. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.js.map +1 -1
  303. package/lib/components/SequentialConnectingBranch/components/DatasetTooltip/DataSetTooltip.js +12 -38
  304. package/lib/components/SequentialConnectingBranch/components/DatasetTooltip/DataSetTooltip.js.map +1 -1
  305. package/lib/components/SequentialConnectingBranch/context/EnvironmentVariableMapsContext.js +3 -6
  306. package/lib/components/SequentialConnectingBranch/context/EnvironmentVariableMapsContext.js.map +1 -1
  307. package/lib/components/StateDropdown/StateDropdown.js +75 -114
  308. package/lib/components/StateDropdown/StateDropdown.js.map +1 -1
  309. package/lib/components/StatusButton/StatusButton.js +8 -31
  310. package/lib/components/StatusButton/StatusButton.js.map +1 -1
  311. package/lib/components/StatusCard/StatusCard.js +40 -104
  312. package/lib/components/StatusCard/StatusCard.js.map +1 -1
  313. package/lib/components/StatusIndicator/StatusIndicator.d.ts +4 -0
  314. package/lib/components/StatusIndicator/StatusIndicator.js +26 -0
  315. package/lib/components/StatusIndicator/StatusIndicator.js.map +1 -0
  316. package/lib/components/StatusIndicator/index.d.ts +1 -0
  317. package/lib/components/StatusIndicator/index.js +2 -0
  318. package/lib/components/StatusIndicator/index.js.map +1 -0
  319. package/lib/components/StatusIndicator/types.d.ts +9 -0
  320. package/lib/components/StatusIndicator/types.js +2 -0
  321. package/lib/components/StatusIndicator/types.js.map +1 -0
  322. package/lib/components/StepsLandingTable/Components/StepGroupAccordions.js +25 -96
  323. package/lib/components/StepsLandingTable/Components/StepGroupAccordions.js.map +1 -1
  324. package/lib/components/StepsLandingTable/Components/StepInnerTable.js +79 -187
  325. package/lib/components/StepsLandingTable/Components/StepInnerTable.js.map +1 -1
  326. package/lib/components/StepsLandingTable/Components/StepResultStats.js +48 -53
  327. package/lib/components/StepsLandingTable/Components/StepResultStats.js.map +1 -1
  328. package/lib/components/StepsLandingTable/Components/StepTableMainRow.js +61 -150
  329. package/lib/components/StepsLandingTable/Components/StepTableMainRow.js.map +1 -1
  330. package/lib/components/StepsLandingTable/Components/StepsTitle.js +20 -113
  331. package/lib/components/StepsLandingTable/Components/StepsTitle.js.map +1 -1
  332. package/lib/components/StepsLandingTable/Components/handleStepCheckBox.js +267 -270
  333. package/lib/components/StepsLandingTable/Components/handleStepCheckBox.js.map +1 -1
  334. package/lib/components/StepsLandingTable/StepLandingTable.js +163 -266
  335. package/lib/components/StepsLandingTable/StepLandingTable.js.map +1 -1
  336. package/lib/components/SwitchButton/SwitchButton.js +10 -27
  337. package/lib/components/SwitchButton/SwitchButton.js.map +1 -1
  338. package/lib/components/Table/Table.js +130 -313
  339. package/lib/components/Table/Table.js.map +1 -1
  340. package/lib/components/TableTree/Components/TableBody.js +11 -65
  341. package/lib/components/TableTree/Components/TableBody.js.map +1 -1
  342. package/lib/components/TableTree/Components/TableCell.js +79 -152
  343. package/lib/components/TableTree/Components/TableCell.js.map +1 -1
  344. package/lib/components/TableTree/Components/TableHead.js +26 -79
  345. package/lib/components/TableTree/Components/TableHead.js.map +1 -1
  346. package/lib/components/TableTree/Components/TableRow.js +8 -51
  347. package/lib/components/TableTree/Components/TableRow.js.map +1 -1
  348. package/lib/components/TableTree/TableTree.js +153 -197
  349. package/lib/components/TableTree/TableTree.js.map +1 -1
  350. package/lib/components/TableTree/Utils/addLastChild.js +19 -23
  351. package/lib/components/TableTree/Utils/addLastChild.js.map +1 -1
  352. package/lib/components/TableTree/Utils/addNewRow.js +56 -67
  353. package/lib/components/TableTree/Utils/addNewRow.js.map +1 -1
  354. package/lib/components/TableTree/Utils/formatDataCell.js +14 -17
  355. package/lib/components/TableTree/Utils/formatDataCell.js.map +1 -1
  356. package/lib/components/TableWithAccordion/TableWithAccordion.js +54 -153
  357. package/lib/components/TableWithAccordion/TableWithAccordion.js.map +1 -1
  358. package/lib/components/Tabs/Tabs.js +27 -60
  359. package/lib/components/Tabs/Tabs.js.map +1 -1
  360. package/lib/components/TabsWithSilder/TabsWithSilder.js +50 -100
  361. package/lib/components/TabsWithSilder/TabsWithSilder.js.map +1 -1
  362. package/lib/components/TextArea/Textarea.js +79 -146
  363. package/lib/components/TextArea/Textarea.js.map +1 -1
  364. package/lib/components/TextEditor/TextEditor.js +120 -130
  365. package/lib/components/TextEditor/TextEditor.js.map +1 -1
  366. package/lib/components/ThemeProvider/ThemeProvider.js +16 -26
  367. package/lib/components/ThemeProvider/ThemeProvider.js.map +1 -1
  368. package/lib/components/Toast/Toast.js +51 -115
  369. package/lib/components/Toast/Toast.js.map +1 -1
  370. package/lib/components/Toastify/Toastify.js +66 -78
  371. package/lib/components/Toastify/Toastify.js.map +1 -1
  372. package/lib/components/Toggle/Toggle.js +39 -81
  373. package/lib/components/Toggle/Toggle.js.map +1 -1
  374. package/lib/components/ToggleSwitch/ToggleSwitch.js +6 -23
  375. package/lib/components/ToggleSwitch/ToggleSwitch.js.map +1 -1
  376. package/lib/components/Tooltip/Tooltip.js +133 -156
  377. package/lib/components/Tooltip/Tooltip.js.map +1 -1
  378. package/lib/components/Typography/Typography.js +15 -44
  379. package/lib/components/Typography/Typography.js.map +1 -1
  380. package/lib/components/VariableInput/VariableInput.js +234 -279
  381. package/lib/components/VariableInput/VariableInput.js.map +1 -1
  382. package/lib/components/variableSuggestionInputDropDown/OptionsDropdown.js +19 -48
  383. package/lib/components/variableSuggestionInputDropDown/OptionsDropdown.js.map +1 -1
  384. package/lib/components/variableSuggestionInputDropDown/VariableSuggestionInputDropDown.js +144 -241
  385. package/lib/components/variableSuggestionInputDropDown/VariableSuggestionInputDropDown.js.map +1 -1
  386. package/lib/hooks/keyboardevents/useEscKeyEvent.js +14 -16
  387. package/lib/hooks/keyboardevents/useEscKeyEvent.js.map +1 -1
  388. package/lib/hooks/useClickOutside.js +16 -15
  389. package/lib/hooks/useClickOutside.js.map +1 -1
  390. package/lib/hooks/useFileDropzone.js +176 -160
  391. package/lib/hooks/useFileDropzone.js.map +1 -1
  392. package/lib/hooks/useIntersectionObserver.js +24 -34
  393. package/lib/hooks/useIntersectionObserver.js.map +1 -1
  394. package/lib/hooks/useMergeRefs.js +14 -15
  395. package/lib/hooks/useMergeRefs.js.map +1 -1
  396. package/lib/hooks/usePortalPosition.js +32 -34
  397. package/lib/hooks/usePortalPosition.js.map +1 -1
  398. package/lib/hooks/useTheme.js +8 -10
  399. package/lib/hooks/useTheme.js.map +1 -1
  400. package/lib/index.d.ts +151 -5071
  401. package/lib/index.js +157 -150
  402. package/lib/index.js.map +1 -1
  403. package/lib/tsconfig.tsbuildinfo +1 -1
  404. package/lib/utils/AddStepGroup/AddStepGroup.js +32 -38
  405. package/lib/utils/AddStepGroup/AddStepGroup.js.map +1 -1
  406. package/lib/utils/AppendNewRow/AppendNewRow.js +33 -41
  407. package/lib/utils/AppendNewRow/AppendNewRow.js.map +1 -1
  408. package/lib/utils/FormatString/FormatString.js +28 -25
  409. package/lib/utils/FormatString/FormatString.js.map +1 -1
  410. package/lib/utils/ScrollToview/ScrollToView.js +7 -12
  411. package/lib/utils/ScrollToview/ScrollToView.js.map +1 -1
  412. package/lib/utils/TableCell/TableCell.js +23 -24
  413. package/lib/utils/TableCell/TableCell.js.map +1 -1
  414. package/lib/utils/autoScrollToTableLastRow/autoScrollToTableLastRow.js +17 -22
  415. package/lib/utils/autoScrollToTableLastRow/autoScrollToTableLastRow.js.map +1 -1
  416. package/lib/utils/capitalize/capitalize.js +5 -6
  417. package/lib/utils/capitalize/capitalize.js.map +1 -1
  418. package/lib/utils/checkDuplicates/checkDuplicates.js +10 -12
  419. package/lib/utils/checkDuplicates/checkDuplicates.js.map +1 -1
  420. package/lib/utils/checkEmpty/checkEmpty.js +21 -19
  421. package/lib/utils/checkEmpty/checkEmpty.js.map +1 -1
  422. package/lib/utils/compareArrays/compareArrays.js +15 -16
  423. package/lib/utils/compareArrays/compareArrays.js.map +1 -1
  424. package/lib/utils/compareObjects/compareObjects.js +40 -34
  425. package/lib/utils/compareObjects/compareObjects.js.map +1 -1
  426. package/lib/utils/convertToBytes/convertToBytes.js +17 -19
  427. package/lib/utils/convertToBytes/convertToBytes.js.map +1 -1
  428. package/lib/utils/convertToGB/convertToGB.js +17 -19
  429. package/lib/utils/convertToGB/convertToGB.js.map +1 -1
  430. package/lib/utils/convertToISO/convertToISO.js +17 -18
  431. package/lib/utils/convertToISO/convertToISO.js.map +1 -1
  432. package/lib/utils/dateFormatter/dateFormatUtils.js +33 -21
  433. package/lib/utils/dateFormatter/dateFormatUtils.js.map +1 -1
  434. package/lib/utils/debounce/debounce.js +19 -19
  435. package/lib/utils/debounce/debounce.js.map +1 -1
  436. package/lib/utils/downloadFile/saveFileFromBlob.js +25 -26
  437. package/lib/utils/downloadFile/saveFileFromBlob.js.map +1 -1
  438. package/lib/utils/ffID/ffid.js +3 -4
  439. package/lib/utils/ffID/ffid.js.map +1 -1
  440. package/lib/utils/findAndInsert/findAndInsert.js +28 -34
  441. package/lib/utils/findAndInsert/findAndInsert.js.map +1 -1
  442. package/lib/utils/formData/ConvertFormDataToObject.js +15 -14
  443. package/lib/utils/formData/ConvertFormDataToObject.js.map +1 -1
  444. package/lib/utils/formatDate/formatDate.js +6 -8
  445. package/lib/utils/formatDate/formatDate.js.map +1 -1
  446. package/lib/utils/getAnchorElement/getAnchorElement.js +6 -8
  447. package/lib/utils/getAnchorElement/getAnchorElement.js.map +1 -1
  448. package/lib/utils/getEncryptedData/getEncryptedData.js +7 -10
  449. package/lib/utils/getEncryptedData/getEncryptedData.js.map +1 -1
  450. package/lib/utils/getExtension/getExtension.js +20 -22
  451. package/lib/utils/getExtension/getExtension.js.map +1 -1
  452. package/lib/utils/getSelectOptionValue/getSelectOptionValue.js +13 -15
  453. package/lib/utils/getSelectOptionValue/getSelectOptionValue.js.map +1 -1
  454. package/lib/utils/getSequentialPayload/getSequentialPayload.js +10 -15
  455. package/lib/utils/getSequentialPayload/getSequentialPayload.js.map +1 -1
  456. package/lib/utils/getStatusColor/getStatusColor.js +48 -50
  457. package/lib/utils/getStatusColor/getStatusColor.js.map +1 -1
  458. package/lib/utils/getTopVisibleNodeKey/getTopVisibleNodeKey.d.ts +2 -0
  459. package/lib/utils/getTopVisibleNodeKey/getTopVisibleNodeKey.js +26 -0
  460. package/lib/utils/getTopVisibleNodeKey/getTopVisibleNodeKey.js.map +1 -0
  461. package/lib/utils/getTreeDetails/getTreeDetails.js +107 -101
  462. package/lib/utils/getTreeDetails/getTreeDetails.js.map +1 -1
  463. package/lib/utils/handleBeforeUnload/UseBeforeUnload.js +13 -16
  464. package/lib/utils/handleBeforeUnload/UseBeforeUnload.js.map +1 -1
  465. package/lib/utils/handleTreeExpandAllCollapseAll/handleTreeExpandAllCollapseAll.js +72 -75
  466. package/lib/utils/handleTreeExpandAllCollapseAll/handleTreeExpandAllCollapseAll.js.map +1 -1
  467. package/lib/utils/handleTreeNodeExpandCollapse/handleTreeNodeExpandCollapse.js +56 -60
  468. package/lib/utils/handleTreeNodeExpandCollapse/handleTreeNodeExpandCollapse.js.map +1 -1
  469. package/lib/utils/handleTreeNodeSelect/handleTreeNodeSelect.js +91 -92
  470. package/lib/utils/handleTreeNodeSelect/handleTreeNodeSelect.js.map +1 -1
  471. package/lib/utils/indexDBStore/indexDB.js +67 -62
  472. package/lib/utils/indexDBStore/indexDB.js.map +1 -1
  473. package/lib/utils/isEmptyObject/isEmptyObject.js +2 -4
  474. package/lib/utils/isEmptyObject/isEmptyObject.js.map +1 -1
  475. package/lib/utils/keyBoardActionUtil/UseKeyboardActions.js +20 -26
  476. package/lib/utils/keyBoardActionUtil/UseKeyboardActions.js.map +1 -1
  477. package/lib/utils/swapArrayItem/dragAndDropUtils.js +32 -27
  478. package/lib/utils/swapArrayItem/dragAndDropUtils.js.map +1 -1
  479. package/lib/utils/throttle/throttle.js +27 -26
  480. package/lib/utils/throttle/throttle.js.map +1 -1
  481. package/lib/utils/toCamelCase/toCamelCase.js +11 -10
  482. package/lib/utils/toCamelCase/toCamelCase.js.map +1 -1
  483. package/lib/utils/togglePrePostCondition/togglePrePostCondition.js +6 -11
  484. package/lib/utils/togglePrePostCondition/togglePrePostCondition.js.map +1 -1
  485. package/lib/utils/truncateText/truncateText.js +5 -6
  486. package/lib/utils/truncateText/truncateText.js.map +1 -1
  487. package/lib/validations/regex.js +8 -3
  488. package/lib/validations/regex.js.map +1 -1
  489. package/package.json +1 -2
@@ -1,6 +1,3 @@
1
- import adapter from '../node_modules/webrtc-adapter/src/js/adapter_core.js';
2
-
3
-
4
-
5
- export { adapter as default };
6
- //# sourceMappingURL=Adapter.js.map
1
+ import adapter from 'webrtc-adapter';
2
+ export default adapter;
3
+ //# sourceMappingURL=Adapter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Adapter.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"Adapter.js","sourceRoot":"","sources":["../../src/ThirdPartyPackages/Adapter.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAErC,eAAe,OAAO,CAAC"}
@@ -1,6 +1,3 @@
1
- import Janus from '../node_modules/janus-gateway/npm/dist/janus.es.js';
2
-
3
-
4
-
5
- export { Janus as default };
6
- //# sourceMappingURL=JanusGateway.js.map
1
+ import Janus from 'janus-gateway';
2
+ export default Janus;
3
+ //# sourceMappingURL=JanusGateway.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"JanusGateway.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"JanusGateway.js","sourceRoot":"","sources":["../../src/ThirdPartyPackages/JanusGateway.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,eAAe,CAAC;AAElC,eAAe,KAAK,CAAC"}
@@ -1,72 +1,74 @@
1
- const isFunction = functionToCheck => {
2
- return functionToCheck && {}.toString.call(functionToCheck) === '[object Function]';
1
+ export const isFunction = (functionToCheck) => {
2
+ return (functionToCheck && {}.toString.call(functionToCheck) === '[object Function]');
3
3
  };
4
- const convertTo24Hour = time12h => {
5
- const [time, modifier] = time12h.split(' ');
6
- if (!time || !modifier) return '00:00';
7
- let [hours, minutes] = time.split(':');
8
- if (!hours || !minutes) return '00:00';
9
- if (hours === '12') {
10
- hours = '00';
11
- }
12
- if (modifier.toUpperCase() === 'PM') {
13
- hours = (parseInt(hours, 10) + 12).toString();
14
- }
15
- return `${hours.padStart(2, '0')}:${minutes.padStart(2, '0')}`;
4
+ export const convertTo24Hour = (time12h) => {
5
+ const [time, modifier] = time12h.split(' ');
6
+ if (!time || !modifier)
7
+ return '00:00';
8
+ let [hours, minutes] = time.split(':');
9
+ if (!hours || !minutes)
10
+ return '00:00';
11
+ if (hours === '12') {
12
+ hours = '00';
13
+ }
14
+ if (modifier.toUpperCase() === 'PM') {
15
+ hours = (parseInt(hours, 10) + 12).toString();
16
+ }
17
+ return `${hours.padStart(2, '0')}:${minutes.padStart(2, '0')}`;
16
18
  };
17
- const convertTo12Hour = time24 => {
18
- const [hoursStr, minutesStr] = time24.split(':');
19
- const hours = parseInt(hoursStr ?? '0', 10);
20
- const minutes = parseInt(minutesStr ?? '0', 10);
21
- const ampm = hours >= 12 ? 'PM' : 'AM';
22
- const hours12 = hours % 12 || 12;
23
- return `${hours12.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')} ${ampm}`;
19
+ export const convertTo12Hour = (time24) => {
20
+ const [hoursStr, minutesStr] = time24.split(':');
21
+ const hours = parseInt(hoursStr ?? '0', 10);
22
+ const minutes = parseInt(minutesStr ?? '0', 10);
23
+ const ampm = hours >= 12 ? 'PM' : 'AM';
24
+ const hours12 = hours % 12 || 12;
25
+ return `${hours12.toString().padStart(2, '0')}:${minutes
26
+ .toString()
27
+ .padStart(2, '0')} ${ampm}`;
24
28
  };
25
- const isValid12HourTime = timeString => {
26
- const regex = /^(0[1-9]|1[0-2]):([0-5][0-9])(?:\s?(AM|PM))?$/i;
27
- return regex.test(timeString);
29
+ export const isValid12HourTime = (timeString) => {
30
+ const regex = /^(0[1-9]|1[0-2]):([0-5][0-9])(?:\s?(AM|PM))?$/i;
31
+ return regex.test(timeString);
28
32
  };
29
33
  // Utility to normalize memory values to bytes
30
- const UNIT_MULTIPLIERS = {
31
- B: 1,
32
- KB: 1024,
33
- MB: 1024 * 1024,
34
- GB: 1024 * 1024 * 1024
34
+ export const UNIT_MULTIPLIERS = {
35
+ B: 1,
36
+ KB: 1024,
37
+ MB: 1024 * 1024,
38
+ GB: 1024 * 1024 * 1024,
35
39
  };
36
40
  // Parses a storage value string and converts it into a normalized value in bytes along with its unit.
37
- function normalizeStorageValue(value) {
38
- const match = value.match(/^(\d+(?:\.\d+)?)\s*(B|KB|MB|GB)$/i);
39
- if (!match) {
40
- throw new Error(`Invalid storage value format: ${value}`);
41
- }
42
- const [, numericPart, unit] = match;
43
- // Ensure numericPart and unit are defined
44
- if (!numericPart || !unit) {
45
- throw new Error(`Invalid storage value format: ${value}`);
46
- }
47
- const normalizedValue = parseFloat(numericPart) * (UNIT_MULTIPLIERS[unit.toUpperCase()] || 1);
48
- return {
49
- normalizedValue,
50
- unit: unit.toUpperCase(),
51
- value: parseFloat(numericPart)
52
- };
41
+ export function normalizeStorageValue(value) {
42
+ const match = value.match(/^(\d+(?:\.\d+)?)\s*(B|KB|MB|GB)$/i);
43
+ if (!match) {
44
+ throw new Error(`Invalid storage value format: ${value}`);
45
+ }
46
+ const [, numericPart, unit] = match;
47
+ // Ensure numericPart and unit are defined
48
+ if (!numericPart || !unit) {
49
+ throw new Error(`Invalid storage value format: ${value}`);
50
+ }
51
+ const normalizedValue = parseFloat(numericPart) * (UNIT_MULTIPLIERS[unit.toUpperCase()] || 1);
52
+ return {
53
+ normalizedValue,
54
+ unit: unit.toUpperCase(),
55
+ value: parseFloat(numericPart),
56
+ };
53
57
  }
54
58
  // Converts a byte value into a readable string with the largest appropriate unit (GB, MB, KB, B).
55
- function formatMemoryValue(valueInBytes) {
56
- const units = ['GB', 'MB', 'KB', 'B'];
57
- for (const unit of units) {
58
- const factor = UNIT_MULTIPLIERS[unit];
59
- if (factor === undefined) {
60
- throw new Error(`Missing factor for unit: ${unit}`);
61
- }
62
- if (valueInBytes >= factor || unit === 'B') {
63
- const normalizedValue = valueInBytes / factor;
64
- const formattedValue = normalizedValue % 1 === 0 ? `${normalizedValue.toFixed(0)}` : `${normalizedValue.toFixed(2)}`;
65
- return `${formattedValue} ${unit}`;
59
+ export function formatMemoryValue(valueInBytes) {
60
+ const units = ['GB', 'MB', 'KB', 'B'];
61
+ for (const unit of units) {
62
+ const factor = UNIT_MULTIPLIERS[unit];
63
+ if (factor === undefined) {
64
+ throw new Error(`Missing factor for unit: ${unit}`);
65
+ }
66
+ if (valueInBytes >= factor || unit === 'B') {
67
+ const normalizedValue = valueInBytes / factor;
68
+ const formattedValue = normalizedValue % 1 === 0 ? `${normalizedValue.toFixed(0)}` : `${normalizedValue.toFixed(2)}`;
69
+ return `${formattedValue} ${unit}`;
70
+ }
66
71
  }
67
- }
68
- return `${valueInBytes} B`;
72
+ return `${valueInBytes} B`;
69
73
  }
70
-
71
- export { UNIT_MULTIPLIERS, convertTo12Hour, convertTo24Hour, formatMemoryValue, isFunction, isValid12HourTime, normalizeStorageValue };
72
- //# sourceMappingURL=functionUtils.js.map
74
+ //# sourceMappingURL=functionUtils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"functionUtils.js","sources":["../../../src/assets/utils/functionUtils.ts"],"sourcesContent":[null],"names":["isFunction","functionToCheck","toString","call","convertTo24Hour","time12h","time","modifier","split","hours","minutes","toUpperCase","parseInt","padStart","convertTo12Hour","time24","hoursStr","minutesStr","ampm","hours12","isValid12HourTime","timeString","regex","test","UNIT_MULTIPLIERS","B","KB","MB","GB","normalizeStorageValue","value","match","Error","numericPart","unit","normalizedValue","parseFloat","formatMemoryValue","valueInBytes","units","factor","undefined","formattedValue","toFixed"],"mappings":"AAAaA,MAAAA,UAAU,GAAIC,eAAoB,IAAI;AACjD,EAAA,OACEA,eAAe,IAAI,EAAE,CAACC,QAAQ,CAACC,IAAI,CAACF,eAAe,CAAC,KAAK,mBAAmB;AAEhF;AAEaG,MAAAA,eAAe,GAAIC,OAAe,IAAY;EACzD,MAAM,CAACC,IAAI,EAAEC,QAAQ,CAAC,GAAGF,OAAO,CAACG,KAAK,CAAC,GAAG,CAAC;AAC3C,EAAA,IAAI,CAACF,IAAI,IAAI,CAACC,QAAQ,EAAE,OAAO,OAAO;EAEtC,IAAI,CAACE,KAAK,EAAEC,OAAO,CAAC,GAAGJ,IAAI,CAACE,KAAK,CAAC,GAAG,CAAC;AACtC,EAAA,IAAI,CAACC,KAAK,IAAI,CAACC,OAAO,EAAE,OAAO,OAAO;EAEtC,IAAID,KAAK,KAAK,IAAI,EAAE;AAClBA,IAAAA,KAAK,GAAG,IAAI;AACd;AAEA,EAAA,IAAIF,QAAQ,CAACI,WAAW,EAAE,KAAK,IAAI,EAAE;AACnCF,IAAAA,KAAK,GAAG,CAACG,QAAQ,CAACH,KAAK,EAAE,EAAE,CAAC,GAAG,EAAE,EAAEP,QAAQ,EAAE;AAC/C;AAEA,EAAA,OAAO,GAAGO,KAAK,CAACI,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAIH,CAAAA,EAAAA,OAAO,CAACG,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAE,CAAA;AAChE;AAEaC,MAAAA,eAAe,GAAIC,MAAc,IAAY;EACxD,MAAM,CAACC,QAAQ,EAAEC,UAAU,CAAC,GAAGF,MAAM,CAACP,KAAK,CAAC,GAAG,CAAC;EAChD,MAAMC,KAAK,GAAGG,QAAQ,CAACI,QAAQ,IAAI,GAA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G,CAAC,gBAAgB,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IAExE,OAAO;QACL,eAAe;QACf,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE;QACxB,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC;KAC/B,CAAC;AACJ,CAAC;AAED,kGAAkG;AAClG,MAAM,UAAU,iBAAiB,CAAC,YAAoB;IACpD,MAAM,KAAK,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;IAEtC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,MAAM,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;QACtC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,MAAM,IAAI,KAAK,CAAC,4BAA4B,IAAI,EAAE,CAAC,CAAC;QACtD,CAAC;QAED,IAAI,YAAY,IAAI,MAAM,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC;YAC3C,MAAM,eAAe,GAAG,YAAY,GAAG,MAAM,CAAC;YAC9C,MAAM,cAAc,GAAG,eAAe,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;YACrH,OAAO,GAAG,cAAc,IAAI,IAAI,EAAE,CAAC;QACrC,CAAC;IACH,CAAC;IACD,OAAO,GAAG,YAAY,IAAI,CAAC;AAC7B,CAAC"}
@@ -1,81 +1,30 @@
1
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from 'react';
3
- import Icon from '../Icon/Icon.js';
4
- import Tooltip from '../Tooltip/Tooltip.js';
5
- import Typography from '../Typography/Typography.js';
6
- import classNames from '../../_virtual/index.js';
7
- import HighlightText from '../HighlightText/HighlightText.js';
8
-
3
+ import './Accordion.scss';
4
+ import Icon from '../Icon';
5
+ import '../../../index.scss';
6
+ import Tooltip from '../Tooltip';
7
+ import Typography from '../Typography';
8
+ import classNames from 'classnames';
9
+ import HighlightText from '../HighlightText';
9
10
  /**
10
11
  * Accordion UI component
11
12
  */
12
- const Accordion = ({
13
- highlightText = '',
14
- headerTitle = '',
15
- color,
16
- minHeight = '32px',
17
- // Default min-height for accordion content
18
- accordionContent = jsx(Fragment, {
19
- children: "This is accordion content"
20
- }),
21
- disable = false,
22
- disableInfoMessage = '',
23
- accordionStateIconName = 'arrow_down',
24
- AccordionStateIconWidth = 12,
25
- AccordionStateIconHeight = 8,
26
- isExpand,
27
- onClick,
28
- className = '',
29
- iconColor = 'var(--brand-color)'
30
- }) => {
31
- const [isAccordionExpanded, setIsAccordionExpanded] = useState(isExpand ?? true);
32
- const onAccordionClick = () => {
33
- if (onClick) {
34
- onClick();
35
- }
36
- if (!disable) {
37
- setIsAccordionExpanded(!isAccordionExpanded);
38
- }
39
- };
40
- return jsxs("div", {
41
- className: `ff-accordion ${className}`,
42
- children: [jsxs("div", {
43
- className: `accordion-header ${disable && 'ff-disabled'} ${isAccordionExpanded && 'expanded'} `,
44
- style: {
45
- color: color || '--tooltip-bg-color'
46
- },
47
- onClick: onAccordionClick,
48
- children: [jsx(Tooltip, {
49
- title: disableInfoMessage,
50
- children: jsx(Typography, {
51
- as: "div",
52
- className: "header-title",
53
- fontWeight: "semi-bold",
54
- lineHeight: "18px",
55
- children: typeof headerTitle === "string" ? jsx(HighlightText, {
56
- text: headerTitle,
57
- highlight: highlightText
58
- }) : headerTitle
59
- })
60
- }), jsx(Icon, {
61
- name: accordionStateIconName,
62
- hoverEffect: false,
63
- className: classNames('accordion-arrow', {
64
- expanded: isAccordionExpanded
65
- }),
66
- width: AccordionStateIconWidth,
67
- height: AccordionStateIconHeight,
68
- color: iconColor
69
- })]
70
- }), !disable && isAccordionExpanded && jsx("div", {
71
- style: {
72
- minHeight
73
- },
74
- className: "accordion-content",
75
- children: accordionContent
76
- })]
77
- });
13
+ const Accordion = ({ highlightText = '', headerTitle = '', color, minHeight = '32px', // Default min-height for accordion content
14
+ accordionContent = _jsx(_Fragment, { children: "This is accordion content" }), disable = false, disableInfoMessage = '', accordionStateIconName = 'arrow_down', AccordionStateIconWidth = 12, AccordionStateIconHeight = 8, isExpand, onClick, className = '', iconColor = 'var(--brand-color)', }) => {
15
+ const [isAccordionExpanded, setIsAccordionExpanded] = useState(isExpand ?? true);
16
+ const onAccordionClick = () => {
17
+ if (onClick) {
18
+ onClick();
19
+ }
20
+ if (!disable) {
21
+ setIsAccordionExpanded(!isAccordionExpanded);
22
+ }
23
+ };
24
+ return (_jsxs("div", { className: `ff-accordion ${className}`, children: [_jsxs("div", { className: `accordion-header ${disable && 'ff-disabled'} ${isAccordionExpanded && 'expanded'} `, style: { color: color || '--tooltip-bg-color' }, onClick: onAccordionClick, children: [_jsx(Tooltip, { title: disableInfoMessage, children: _jsx(Typography, { as: "div", className: "header-title", fontWeight: "semi-bold", lineHeight: "18px", children: typeof headerTitle === "string" ?
25
+ _jsx(HighlightText, { text: headerTitle, highlight: highlightText }) : headerTitle }) }), _jsx(Icon, { name: accordionStateIconName, hoverEffect: false, className: classNames('accordion-arrow', {
26
+ expanded: isAccordionExpanded,
27
+ }), width: AccordionStateIconWidth, height: AccordionStateIconHeight, color: iconColor })] }), !disable && isAccordionExpanded && (_jsx("div", { style: { minHeight }, className: "accordion-content", children: accordionContent }))] }));
78
28
  };
79
-
80
- export { Accordion as default };
81
- //# sourceMappingURL=Accordion.js.map
29
+ export default Accordion;
30
+ //# sourceMappingURL=Accordion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.js","sources":["../../../src/components/Accordion/Accordion.tsx"],"sourcesContent":[null],"names":["Accordion","highlightText","headerTitle","color","minHeight","accordionContent","_jsx","_Fragment","children","disable","disableInfoMessage","accordionStateIconName","AccordionStateIconWidth","AccordionStateIconHeight","isExpand","onClick","className","iconColor","isAccordionExpanded","setIsAccordionExpanded","useState","onAccordionClick","_jsxs","style","Tooltip","title","Typography","as","fontWeight","lineHeight","HighlightText","text","highlight","Icon","name","hoverEffect","classNames","expanded","width","height"],"mappings":";;;;;;;;AAUA;;AAEG;AACGA,MAAAA,SAAS,GAAGA,CAAC;AACjBC,EAAAA,aAAa,GAAG,EAAE;AAClBC,EAAAA,WAAW,GAAG,EAAE;EAChBC,KAAK;AACLC,EAAAA,SAAS,GAAG,MAAM;AAAE;AACpBC,EAAAA,gBAAgB,GAAGC,GAA8B,CAAAC,QAAA,EAAA;AAAAC,IAAAA,QAAA,EAAA;AAAA,GAAA,CAAA;AACjDC,EAAAA,OAAO,GAAG,KAAK;AACfC,EAAAA,kBAAkB,GAAG,EAAE;AACvBC,EAAAA,sBAAsB,GAAG,YAAY;AACrCC,EAAAA,uBAAuB,GAAG,EAAE;AAC5BC,EAAAA,wBAAwB,GAAG,CAAC;EAC5BC,QAAQ;EACRC,OAAO;AACPC,EAAAA,SAAS,GAAG,EAAE;AACdC,EAAAA,SAAS,GAAG;AAAoB,CACjB,KAAI;EACnB,MAAM,CAACC,mBAAmB,EAAEC,sBAAsB,CAAC,GAAGC,QAAQ,CAC5DN,QAAQ,IAAI,IAAI,CACjB;EAED,MAAMO,gBAAgB,GAAGA,MAAK;AAC5B,IAAA,IAAIN,OAAO,EAAE;AACXA,MAAAA,OAAO,EAAE;AACX;IACA,IAAI,CAACN,OAAO,EAAE;MACZU,sBAAsB,CAAC,CAACD,mBAAmB,CAAC;AAC9C;GACD;EAED,OACEI,IAAA,CAAA,KAAA,EAAA;IAAKN,SAAS,EAAE,CAAgBA,aAAAA,EAAAA,SAAS,CAAE,CAAA;AAAAR,IAAAA,QAAA,EAAA,CACzCc,IACE,CAAA,KAAA,EAAA;MAAAN,SAAS,EAAE,oBAAoBP,OAAO,IAAI,aAAa,CACrDS,CAAAA,EAAAA,mBAAmB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aAEzB,KAAC,OAAO,IAAC,KAAK,EAAE,kBAAkB,YAChC,KAAC,UAAU,IACT,EAAE,EAAC,KAAK,EACR,SAAS,EAAC,cAAc,EACxB,UAAU,EAAC,WAAW,EACtB,UAAU,EAAC,MAAM,YAEhB,OAAO,WAAW,KAAK,QAAQ,CAAA,CAAC;gCACjC,KAAC,aAAa,IAAC,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,GAAI,CAAC,CAAC,CAAC,WAAW,GACjE,GACL,EAEV,KAAC,IAAI,IACH,IAAI,EAAE,sBAAsB,EAC5B,WAAW,EAAE,KAAK,EAClB,SAAS,EAAE,UAAU,CAAC,iBAAiB,EAAE;4BACvC,QAAQ,EAAE,mBAAmB;yBAC9B,CAAC,EACF,KAAK,EAAE,uBAAuB,EAC9B,MAAM,EAAE,wBAAwB,EAChC,KAAK,EAAE,SAAS,GAChB,IACE,EACL,CAAC,OAAO,IAAI,mBAAmB,IAAI,CAClC,cAAK,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,SAAS,EAAC,mBAAmB,YACrD,gBAAgB,GACb,CACP,IACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,54 +1,11 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import Icon from '../Icon/Icon.js';
3
- import Typography from '../Typography/Typography.js';
4
- import IconButton from '../IconButton/IconButton.js';
5
- import { checkEmpty } from '../../utils/checkEmpty/checkEmpty.js';
6
-
7
- const AddContentButton = ({
8
- iconName = '',
9
- onButtonClick,
10
- buttonLabel = 'Label',
11
- buttonText = 'To Add Group',
12
- disableButton = false,
13
- stepCount = 1,
14
- iconWidth = 120,
15
- iconHeight = 120
16
- }) => {
17
- return jsxs("div", {
18
- className: `add-content-button ${disableButton ? 'disabled' : ''}`,
19
- children: [!checkEmpty(iconName) && jsx("div", {
20
- className: "icon-container",
21
- children: jsx(Icon, {
22
- name: iconName,
23
- width: iconWidth,
24
- height: iconHeight
25
- })
26
- }), jsxs("div", {
27
- className: "typography-label-button",
28
- children: [jsxs(Typography, {
29
- fontSize: "12px",
30
- fontWeight: "regular",
31
- lineHeight: "18px",
32
- children: ["step ", stepCount, " :"]
33
- }), jsx(Typography, {
34
- fontSize: "12px",
35
- fontWeight: "semi-bold",
36
- lineHeight: "18px",
37
- children: "Click"
38
- }), jsx(IconButton, {
39
- label: buttonLabel,
40
- onClick: onButtonClick,
41
- iconName: "plus_user_icon",
42
- isDisable: disableButton
43
- }), jsx(Typography, {
44
- fontSize: "12px",
45
- fontWeight: "semi-bold",
46
- lineHeight: "18px",
47
- children: buttonText
48
- })]
49
- })]
50
- });
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import './AddContentButton.scss';
3
+ import Icon from '../Icon';
4
+ import Typography from '../Typography';
5
+ import IconButton from '../IconButton';
6
+ import { checkEmpty } from '../../utils/checkEmpty/checkEmpty';
7
+ const AddContentButton = ({ iconName = '', onButtonClick, buttonLabel = 'Label', buttonText = 'To Add Group', disableButton = false, stepCount = 1, iconWidth = 120, iconHeight = 120, }) => {
8
+ return (_jsxs("div", { className: `add-content-button ${disableButton ? 'disabled' : ''}`, children: [!checkEmpty(iconName) && (_jsx("div", { className: "icon-container", children: _jsx(Icon, { name: iconName, width: iconWidth, height: iconHeight }) })), _jsxs("div", { className: "typography-label-button", children: [_jsxs(Typography, { fontSize: "12px", fontWeight: "regular", lineHeight: "18px", children: ["step ", stepCount, " :"] }), _jsx(Typography, { fontSize: "12px", fontWeight: "semi-bold", lineHeight: "18px", children: "Click" }), _jsx(IconButton, { label: buttonLabel, onClick: onButtonClick, iconName: "plus_user_icon", isDisable: disableButton }), _jsx(Typography, { fontSize: "12px", fontWeight: "semi-bold", lineHeight: "18px", children: buttonText })] })] }));
51
9
  };
52
-
53
- export { AddContentButton as default };
54
- //# sourceMappingURL=AddContentButton.js.map
10
+ export default AddContentButton;
11
+ //# sourceMappingURL=AddContentButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AddContentButton.js","sources":["../../../src/components/AddContentButton/AddContentButton.tsx"],"sourcesContent":[null],"names":["AddContentButton","iconName","onButtonClick","buttonLabel","buttonText","disableButton","stepCount","iconWidth","iconHeight","_jsxs","className","children","checkEmpty","_jsx","Icon","name","width","height","Typography","fontSize","fontWeight","lineHeight","IconButton","label","onClick","isDisable"],"mappings":";;;;;;AAQMA,MAAAA,gBAAgB,GAAoCA,CAAC;AACzDC,EAAAA,QAAQ,GAAG,EAAE;EACbC,aAAa;AACbC,EAAAA,WAAW,GAAG,OAAO;AACrBC,EAAAA,UAAU,GAAG,cAAc;AAC3BC,EAAAA,aAAa,GAAG,KAAK;AACrBC,EAAAA,SAAS,GAAG,CAAC;AACbC,EAAAA,SAAS,GAAG,GAAG;AACfC,EAAAA,UAAU,GAAG;AAAG,CACjB,KAAI;EACH,OACEC,IAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAE,CAAsBL,mBAAAA,EAAAA,aAAa,GAAG,UAAU,GAAG,EAAE,CAAE,CAAA;IAAAM,QAAA,EAAA,CACpE,CAACC,UAAU,CAACX,QAAQ,CAAC,IACpBY,GAAA,CAAA,KAAA,EAAA;AAAKH,MAAAA,SAAS,EAAC,gBAAgB;AAAAC,MAAAA,QAAA,EAC7BE,GAAC,CAAAC,IAAI,EAAC;AAAAC,QAAAA,IAAI,EAAEd,QAAQ;AAAEe,QAAAA,KAAK,EAAET,SAAS;AAAEU,QAAAA,MAAM,EAAET;OAAc;AAAA,KAAA,CAEjE,EACDC,IAAK,CAAA,KAAA,EAAA;AAAAC,MAAAA,SAAS,EAAC,yBAAyB;AACtCC,MAAAA,QAAA,EAAA,CAAAF,IAAA,CAACS,UAAU,EAAA;AAACC,QAAAA,QAAQ,EAAC,MAAM;AAACC,QAAAA,UAAU,EAAC,SAAS;AAACC,QAAAA,UAAU,EAAC,MAAM;AAAAV,QAAAA,QAAA,EAAA,CAAA,OAAA,EAC1DL,SAAS,EAAA,IAAA;AAAA,OAAA,CACJ,EACbO,GAAA,CAACK,UAAU,EAAA;AAACC,QAAAA,QAAQ,EAAC,MAAM;AAACC,QAAAA,UAAU,EAAC,WAAW;AAACC,QAAAA,UAAU,EAAC,MAAM;AAAAV,QAAAA,QAAA,EAAA;AAAA,OAAA,CAEvD,EACbE,GAAA,CAACS,UAAU,EAAA;AACTC,QAAAA,KAAK,EAAEpB,WAAW;AAClBqB,QAAAA,OAAO,EAAEtB,aAAa;AACtBD,QAAAA,QAAQ,EAAC,gBAAgB;AACzBwB,QAAAA,SAAS,EAAEpB;AAAa,OAAA,CACxB,EACFQ,GAAA,CAACK,UAAU,EAAA;AAACC,QAAAA,QAAQ,EAAC,MAAM;AAACC,QAAAA,UAAU,EAAC,WAAW;AAACC,QAAAA,UAAU,EAAC,MAAM;AAAAV,QAAAA,QAAA,EACjEP;AAAU,OAAA,CACA;AACT,KAAA,CAAA;AAAA,GAAA,CACF;AAEV;;;;"}
1
+ {"version":3,"file":"AddContentButton.js","sourceRoot":"","sources":["../../../src/components/AddContentButton/AddContentButton.tsx"],"names":[],"mappings":";AACA,OAAO,yBAAyB,CAAC;AACjC,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAG/D,MAAM,gBAAgB,GAAoC,CAAC,EACzD,QAAQ,GAAG,EAAE,EACb,aAAa,EACb,WAAW,GAAG,OAAO,EACrB,UAAU,GAAG,cAAc,EAC3B,aAAa,GAAG,KAAK,EACrB,SAAS,GAAG,CAAC,EACb,SAAS,GAAG,GAAG,EACf,UAAU,GAAG,GAAG,GACjB,EAAE,EAAE;IACH,OAAO,CACL,eAAK,SAAS,EAAE,sBAAsB,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE,aACpE,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CACxB,cAAK,SAAS,EAAC,gBAAgB,YAC7B,KAAC,IAAI,IAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,GAAI,GAC1D,CACP,EACD,eAAK,SAAS,EAAC,yBAAyB,aACtC,MAAC,UAAU,IAAC,QAAQ,EAAC,MAAM,EAAC,UAAU,EAAC,SAAS,EAAC,UAAU,EAAC,MAAM,sBAC1D,SAAS,UACJ,EACb,KAAC,UAAU,IAAC,QAAQ,EAAC,MAAM,EAAC,UAAU,EAAC,WAAW,EAAC,UAAU,EAAC,MAAM,sBAEvD,EACb,KAAC,UAAU,IACT,KAAK,EAAE,WAAW,EAClB,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAC,gBAAgB,EACzB,SAAS,EAAE,aAAa,GACxB,EACF,KAAC,UAAU,IAAC,QAAQ,EAAC,MAAM,EAAC,UAAU,EAAC,WAAW,EAAC,UAAU,EAAC,MAAM,YACjE,UAAU,GACA,IACT,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,118 +1,72 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import ArrowsButton from './ArrowsButton/ArrowsButton.js';
3
- import Icon from '../Icon/Icon.js';
4
- import { useState, useRef } from 'react';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import './AddResourceButton.scss';
3
+ import ArrowsButton from './ArrowsButton/ArrowsButton';
4
+ import Icon from '../Icon';
5
+ import { useRef, useState } from 'react';
5
6
  import { createPortal } from 'react-dom';
6
- import { validateArrows } from './type.js';
7
- import usePortalPosition from '../../hooks/usePortalPosition.js';
8
-
9
- const AddResourceButton = ({
10
- id = 'AddModule',
11
- variant = 'primary',
12
- directionalArrow = [{
13
- direction: 'right',
14
- menuOptions: [{
15
- label: 'Sub Module',
16
- value: 'sub_module',
17
- icon: '',
18
- disable: false
19
- }]
20
- }],
21
- zIndex = 1400,
22
- menuOptionZIndex = 1400,
23
- treeRowRef,
24
- onMenuOptionClick
25
- }) => {
26
- const [isHovered, setIsHovered] = useState(false);
27
- const [positionArrowContainer, setPositionArrowContainer] = useState({
28
- left: 0,
29
- top: 0
30
- });
31
- const [activeArrow, setActiveArrow] = useState('');
32
- const arrowContainerRef = useRef(null);
33
- const validArrows = validateArrows(directionalArrow);
34
- const portalPosition = usePortalPosition(arrowContainerRef, isHovered);
35
- const handleHover = () => {
36
- if (!activeArrow) {
37
- setIsHovered(true);
38
- }
39
- const {
40
- positionX,
41
- positionY
42
- } = portalPosition(arrowContainerRef);
43
- setPositionArrowContainer({
44
- left: positionX,
45
- top: positionY
46
- });
47
- const parentNode = arrowContainerRef.current?.parentNode;
48
- if (treeRowRef !== null && parentNode) {
49
- const actionContainer = treeRowRef?.current?.querySelector('.table-tree-row-action');
50
- actionContainer?.classList.add('table-row-add-button');
51
- }
52
- };
53
- const handleLeave = () => {
54
- setIsHovered(false);
55
- setActiveArrow('');
56
- const parentNode = arrowContainerRef.current?.parentNode;
57
- if (treeRowRef !== null && parentNode) {
58
- const actionContainer = treeRowRef?.current?.querySelector('.table-tree-row-action');
59
- actionContainer?.classList.remove('table-row-add-button');
60
- }
61
- };
62
- const handleArrowClick = direction => {
63
- if (activeArrow === direction) {
64
- setActiveArrow('');
65
- setIsHovered(false);
66
- } else {
67
- setActiveArrow(direction);
68
- setIsHovered(true);
69
- }
70
- };
71
- const getArrowButtonClass = () => {
72
- const directions = validArrows.map(arrow => arrow.direction).sort().join('-');
73
- const arrowCountClass = validArrows.length === 2 ? 'ff-two-arrows' : '';
74
- return `ff-${directions} ${arrowCountClass}`;
75
- };
76
- return jsxs("div", {
77
- className: `ff-add-button-container ${isHovered && !activeArrow ? `ff-hovered-add-button--${variant}` : ''}`,
78
- id: id,
79
- onMouseEnter: handleHover,
80
- onMouseLeave: handleLeave,
81
- ref: arrowContainerRef,
82
- children: [jsx("span", {
83
- className: "ff-add-button",
84
- children: jsx(Icon, {
85
- name: "plus_icon",
86
- width: 16,
87
- height: 16,
88
- className: isHovered ? `ff-hovered-add-icon--${variant}` : `ff-add-icon--${variant}`
89
- })
90
- }), isHovered && /*#__PURE__*/createPortal(jsx("div", {
91
- id: `portal-123`,
92
- className: `ff-arrow-buttons-container ${getArrowButtonClass()}`,
93
- onMouseEnter: handleHover,
94
- onMouseLeave: handleLeave,
95
- style: {
96
- left: positionArrowContainer.left,
97
- top: positionArrowContainer.top,
98
- zIndex: zIndex
99
- },
100
- children: directionalArrow.map(({
101
- direction,
102
- menuOptions
103
- }, index) => jsx(ArrowsButton, {
104
- direction: direction,
105
- onArrowClick: () => handleArrowClick(direction),
106
- menuOptions: menuOptions,
107
- isActive: activeArrow === direction,
108
- variant: variant,
109
- treeRowRef: treeRowRef,
110
- onMenuOptionClick: onMenuOptionClick,
111
- menuOptionZIndex: menuOptionZIndex
112
- }, index))
113
- }), document.body)]
114
- });
7
+ import { validateArrows, } from './type';
8
+ import usePortalPosition from '../../hooks/usePortalPosition';
9
+ const AddResourceButton = ({ id = 'AddModule', variant = 'primary', directionalArrow = [
10
+ {
11
+ direction: 'right',
12
+ menuOptions: [
13
+ { label: 'Sub Module', value: 'sub_module', icon: '', disable: false },
14
+ ],
15
+ },
16
+ ], zIndex = 1400, menuOptionZIndex = 1400, treeRowRef, onMenuOptionClick, }) => {
17
+ const [isHovered, setIsHovered] = useState(false);
18
+ const [positionArrowContainer, setPositionArrowContainer] = useState({ left: 0, top: 0 });
19
+ const [activeArrow, setActiveArrow] = useState('');
20
+ const arrowContainerRef = useRef(null);
21
+ const validArrows = validateArrows(directionalArrow);
22
+ const portalPosition = usePortalPosition(arrowContainerRef, isHovered);
23
+ const handleHover = () => {
24
+ if (!activeArrow) {
25
+ setIsHovered(true);
26
+ }
27
+ const { positionX, positionY } = portalPosition(arrowContainerRef);
28
+ setPositionArrowContainer({ left: positionX, top: positionY });
29
+ const parentNode = arrowContainerRef.current?.parentNode;
30
+ if (treeRowRef !== null && parentNode) {
31
+ const actionContainer = treeRowRef?.current?.querySelector('.table-tree-row-action');
32
+ actionContainer?.classList.add('table-row-add-button');
33
+ }
34
+ };
35
+ const handleLeave = () => {
36
+ setIsHovered(false);
37
+ setActiveArrow('');
38
+ const parentNode = arrowContainerRef.current?.parentNode;
39
+ if (treeRowRef !== null && parentNode) {
40
+ const actionContainer = treeRowRef?.current?.querySelector('.table-tree-row-action');
41
+ actionContainer?.classList.remove('table-row-add-button');
42
+ }
43
+ };
44
+ const handleArrowClick = (direction) => {
45
+ if (activeArrow === direction) {
46
+ setActiveArrow('');
47
+ setIsHovered(false);
48
+ }
49
+ else {
50
+ setActiveArrow(direction);
51
+ setIsHovered(true);
52
+ }
53
+ };
54
+ const getArrowButtonClass = () => {
55
+ const directions = validArrows
56
+ .map((arrow) => arrow.direction)
57
+ .sort()
58
+ .join('-');
59
+ const arrowCountClass = validArrows.length === 2 ? 'ff-two-arrows' : '';
60
+ return `ff-${directions} ${arrowCountClass}`;
61
+ };
62
+ return (_jsxs("div", { className: `ff-add-button-container ${isHovered && !activeArrow ? `ff-hovered-add-button--${variant}` : ''}`, id: id, onMouseEnter: handleHover, onMouseLeave: handleLeave, ref: arrowContainerRef, children: [_jsx("span", { className: "ff-add-button", children: _jsx(Icon, { name: "plus_icon", width: 16, height: 16, className: isHovered
63
+ ? `ff-hovered-add-icon--${variant}`
64
+ : `ff-add-icon--${variant}` }) }), isHovered &&
65
+ createPortal(_jsx("div", { id: `portal-123`, className: `ff-arrow-buttons-container ${getArrowButtonClass()}`, onMouseEnter: handleHover, onMouseLeave: handleLeave, style: {
66
+ left: positionArrowContainer.left,
67
+ top: positionArrowContainer.top,
68
+ zIndex: zIndex,
69
+ }, children: directionalArrow.map(({ direction, menuOptions }, index) => (_jsx(ArrowsButton, { direction: direction, onArrowClick: () => handleArrowClick(direction), menuOptions: menuOptions, isActive: activeArrow === direction, variant: variant, treeRowRef: treeRowRef, onMenuOptionClick: onMenuOptionClick, menuOptionZIndex: menuOptionZIndex }, index))) }), document.body)] }));
115
70
  };
116
-
117
- export { AddResourceButton as default };
118
- //# sourceMappingURL=AddResourceButton.js.map
71
+ export default AddResourceButton;
72
+ //# sourceMappingURL=AddResourceButton.js.map