@ck-ui/component-library 0.2.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (376) hide show
  1. package/dist/DropdownFooter-CYkg2g5d.js +89 -0
  2. package/dist/Grow-D08Iq1uH.js +794 -0
  3. package/dist/IconSlot-CFKmSU2_.js +33 -0
  4. package/dist/OptionList-DN1xZbnV.js +951 -0
  5. package/dist/Select-Cw96VEHD.js +6411 -0
  6. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  7. package/dist/assets/DateRangePicker-BKND6jiD.css +1 -0
  8. package/dist/assets/DropdownFooter-DjdPf69A.css +1 -0
  9. package/dist/assets/IconSlot-CLpdZgmb.css +1 -0
  10. package/dist/assets/ReactToastify-tlSLHgLC.css +1 -0
  11. package/dist/assets/{ToastContent-DpF5zCks.css → ToastContent-PGkBxPUW.css} +1 -1
  12. package/dist/assets/index-B81zpOpq.css +1 -0
  13. package/dist/assets/index-BLz-9Nuk.css +1 -0
  14. package/dist/assets/index-BkNXS5fR.css +1 -0
  15. package/dist/assets/index-BmQOtMhS.css +1 -0
  16. package/dist/assets/index-BoQKDmZt.css +1 -0
  17. package/dist/assets/index-Cdmws__2.css +1 -0
  18. package/dist/assets/index-CiQd_iRw.css +1 -0
  19. package/dist/assets/index-CtR-jzNi.css +1 -0
  20. package/dist/assets/index-DNhNBxL9.css +1 -0
  21. package/dist/assets/index-DvlnFLG-.css +1 -0
  22. package/dist/assets/index-PKpDB4Cl.css +1 -0
  23. package/dist/assets/index-YHUWVH17.css +1 -0
  24. package/dist/assets/index-_Kh8p9R0.css +1 -0
  25. package/dist/assets/index-i-aBFBOq.css +1 -0
  26. package/dist/assets/index-nXJu3Pq0.css +1 -0
  27. package/dist/assets/index-rrYSS2rl.css +1 -0
  28. package/dist/assets/{main-3OqLSdPm.css → main-Dv8QUU_o.css} +1 -1
  29. package/dist/assets/styles-BTZL03H2.css +1 -0
  30. package/dist/assets/styles-Be-tqCP9.css +1 -0
  31. package/dist/assets/styles-Bqfs9eXV.css +1 -0
  32. package/dist/assets/styles-CYxKrBqL.css +1 -0
  33. package/dist/assets/styles-CZCmGNUn.css +1 -0
  34. package/dist/assets/{styles-C5uYY4fL.css → styles-Chhklrps.css} +1 -1
  35. package/dist/assets/styles-D8sahtFb.css +1 -0
  36. package/dist/components/Breadcrumb/index.d.ts.map +1 -1
  37. package/dist/components/Breadcrumb/index.js +53 -47
  38. package/dist/components/CKButton/_helper/ComboLayout.js +1 -1
  39. package/dist/components/CKButton/_helper/IconSlot.js +1 -1
  40. package/dist/components/CKButton/_helper/StandardLayout.js +1 -1
  41. package/dist/components/CKButton/_types/button.types.d.ts +2 -0
  42. package/dist/components/CKButton/_types/button.types.d.ts.map +1 -1
  43. package/dist/components/CKButton/index.d.ts.map +1 -1
  44. package/dist/components/CKButton/index.js +32 -30
  45. package/dist/components/CKCheckbox/_types/type.d.ts +4 -0
  46. package/dist/components/CKCheckbox/_types/type.d.ts.map +1 -1
  47. package/dist/components/CKCheckbox/index.d.ts +1 -1
  48. package/dist/components/CKCheckbox/index.d.ts.map +1 -1
  49. package/dist/components/CKCheckbox/index.js +40 -24
  50. package/dist/components/CKTag/_types/type.d.ts +1 -1
  51. package/dist/components/CKTag/_types/type.d.ts.map +1 -1
  52. package/dist/components/CKTag/index.d.ts +1 -1
  53. package/dist/components/CKTag/index.d.ts.map +1 -1
  54. package/dist/components/CKTag/index.js +33 -24
  55. package/dist/components/CostComparatorTable/_helpers/CostCell.d.ts +38 -0
  56. package/dist/components/CostComparatorTable/_helpers/CostCell.d.ts.map +1 -0
  57. package/dist/components/CostComparatorTable/_helpers/CostCell.js +54 -0
  58. package/dist/components/CostComparatorTable/_helpers/HeaderCheckbox.d.ts +14 -0
  59. package/dist/components/CostComparatorTable/_helpers/HeaderCheckbox.d.ts.map +1 -0
  60. package/dist/components/CostComparatorTable/_helpers/HeaderCheckbox.js +19 -0
  61. package/dist/components/CostComparatorTable/_types/costComparatorTable.types.d.ts +90 -0
  62. package/dist/components/CostComparatorTable/_types/costComparatorTable.types.d.ts.map +1 -0
  63. package/dist/components/CostComparatorTable/_types/costComparatorTable.types.js +1 -0
  64. package/dist/components/CostComparatorTable/_utils/costComparator.utils.d.ts +22 -0
  65. package/dist/components/CostComparatorTable/_utils/costComparator.utils.d.ts.map +1 -0
  66. package/dist/components/CostComparatorTable/_utils/costComparator.utils.js +50 -0
  67. package/dist/components/CostComparatorTable/index.d.ts +23 -0
  68. package/dist/components/CostComparatorTable/index.d.ts.map +1 -0
  69. package/dist/components/CostComparatorTable/index.js +185 -0
  70. package/dist/components/DateRangePicker/DateRangePicker.d.ts +5 -0
  71. package/dist/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
  72. package/dist/components/DateRangePicker/DateRangePicker.js +6061 -0
  73. package/dist/components/DateRangePicker/_types/dateRangePicker.types.d.ts +51 -0
  74. package/dist/components/DateRangePicker/_types/dateRangePicker.types.d.ts.map +1 -0
  75. package/dist/components/DateRangePicker/_types/dateRangePicker.types.js +1 -0
  76. package/dist/components/DateRangePicker/helper/util.d.ts +26 -0
  77. package/dist/components/DateRangePicker/helper/util.d.ts.map +1 -0
  78. package/dist/components/DateRangePicker/helper/util.js +54 -0
  79. package/dist/components/DeviationTag/index.d.ts.map +1 -1
  80. package/dist/components/DeviationTag/index.js +42 -29
  81. package/dist/components/EmptyState/index.js +7 -7
  82. package/dist/components/FusionChart/_config/builders.d.ts +10 -0
  83. package/dist/components/FusionChart/_config/builders.d.ts.map +1 -0
  84. package/dist/components/FusionChart/_config/builders.js +573 -0
  85. package/dist/components/FusionChart/_config/events.d.ts +7 -0
  86. package/dist/components/FusionChart/_config/events.d.ts.map +1 -0
  87. package/dist/components/FusionChart/_config/events.js +40 -0
  88. package/dist/components/FusionChart/_config/helpers.d.ts +288 -0
  89. package/dist/components/FusionChart/_config/helpers.d.ts.map +1 -0
  90. package/dist/components/FusionChart/_config/helpers.js +452 -0
  91. package/dist/components/FusionChart/_constant/chartTestData.d.ts +33 -0
  92. package/dist/components/FusionChart/_constant/chartTestData.d.ts.map +1 -0
  93. package/dist/components/FusionChart/_constant/chartTestData.js +460 -0
  94. package/dist/components/FusionChart/_constant/constants.d.ts +16 -0
  95. package/dist/components/FusionChart/_constant/constants.d.ts.map +1 -0
  96. package/dist/components/FusionChart/_constant/constants.js +18 -0
  97. package/dist/components/FusionChart/_helpers/doughnutHelper.d.ts +17 -0
  98. package/dist/components/FusionChart/_helpers/doughnutHelper.d.ts.map +1 -0
  99. package/dist/components/FusionChart/_helpers/doughnutHelper.js +70 -0
  100. package/dist/components/FusionChart/_helpers/multiAxisHelper.d.ts +8 -0
  101. package/dist/components/FusionChart/_helpers/multiAxisHelper.d.ts.map +1 -0
  102. package/dist/components/FusionChart/_helpers/multiAxisHelper.js +21 -0
  103. package/dist/components/FusionChart/_helpers/multiLineHelper.d.ts +8 -0
  104. package/dist/components/FusionChart/_helpers/multiLineHelper.d.ts.map +1 -0
  105. package/dist/components/FusionChart/_helpers/multiLineHelper.js +23 -0
  106. package/dist/components/FusionChart/_types/fusionChart.types.d.ts +128 -0
  107. package/dist/components/FusionChart/_types/fusionChart.types.d.ts.map +1 -0
  108. package/dist/components/FusionChart/_types/fusionChart.types.js +1 -0
  109. package/dist/components/FusionChart/_utils/chartHelpers.d.ts +45 -0
  110. package/dist/components/FusionChart/_utils/chartHelpers.d.ts.map +1 -0
  111. package/dist/components/FusionChart/_utils/chartHelpers.js +25 -0
  112. package/dist/components/FusionChart/index.d.ts +7 -0
  113. package/dist/components/FusionChart/index.d.ts.map +1 -0
  114. package/dist/components/FusionChart/index.js +1059 -0
  115. package/dist/components/GroupedMultiSelect/_helpers/DropdownFooter.d.ts.map +1 -1
  116. package/dist/components/GroupedMultiSelect/_helpers/DropdownFooter.js +20 -11
  117. package/dist/components/GroupedMultiSelect/_helpers/MenuItem.d.ts +4 -0
  118. package/dist/components/GroupedMultiSelect/_helpers/MenuItem.d.ts.map +1 -0
  119. package/dist/components/GroupedMultiSelect/_helpers/MenuItem.js +28 -0
  120. package/dist/components/GroupedMultiSelect/_helpers/MenuList.d.ts +2 -9
  121. package/dist/components/GroupedMultiSelect/_helpers/MenuList.d.ts.map +1 -1
  122. package/dist/components/GroupedMultiSelect/_helpers/MenuList.js +5 -14
  123. package/dist/components/GroupedMultiSelect/_helpers/OptionRow.d.ts.map +1 -1
  124. package/dist/components/GroupedMultiSelect/_helpers/OptionRow.js +21 -14
  125. package/dist/components/GroupedMultiSelect/_helpers/OptionsList.d.ts.map +1 -1
  126. package/dist/components/GroupedMultiSelect/_helpers/OptionsList.js +46 -26
  127. package/dist/components/GroupedMultiSelect/_helpers/SearchResult.d.ts +1 -1
  128. package/dist/components/GroupedMultiSelect/_helpers/SearchResult.d.ts.map +1 -1
  129. package/dist/components/GroupedMultiSelect/_helpers/SearchResult.js +20 -12
  130. package/dist/components/GroupedMultiSelect/_helpers/TagContent.d.ts.map +1 -1
  131. package/dist/components/GroupedMultiSelect/_helpers/TagContent.js +33 -30
  132. package/dist/components/GroupedMultiSelect/_helpers/TriggerButton.d.ts.map +1 -1
  133. package/dist/components/GroupedMultiSelect/_helpers/TriggerButton.js +41 -32
  134. package/dist/components/GroupedMultiSelect/_types/type.d.ts +23 -16
  135. package/dist/components/GroupedMultiSelect/_types/type.d.ts.map +1 -1
  136. package/dist/components/GroupedMultiSelect/_utils/computeApplyDisabled.d.ts +7 -0
  137. package/dist/components/GroupedMultiSelect/_utils/computeApplyDisabled.d.ts.map +1 -0
  138. package/dist/components/GroupedMultiSelect/_utils/computeApplyDisabled.js +8 -0
  139. package/dist/components/GroupedMultiSelect/_utils/filterSeachedGroups.d.ts +1 -1
  140. package/dist/components/GroupedMultiSelect/_utils/filterSeachedGroups.d.ts.map +1 -1
  141. package/dist/components/GroupedMultiSelect/_utils/filterSeachedGroups.js +2 -2
  142. package/dist/components/GroupedMultiSelect/_utils/getDefaultSelected.d.ts +1 -1
  143. package/dist/components/GroupedMultiSelect/_utils/getDefaultSelected.d.ts.map +1 -1
  144. package/dist/components/GroupedMultiSelect/_utils/getDefaultSelected.js +1 -1
  145. package/dist/components/GroupedMultiSelect/_utils/getResponsePayload.d.ts +1 -1
  146. package/dist/components/GroupedMultiSelect/_utils/getResponsePayload.d.ts.map +1 -1
  147. package/dist/components/GroupedMultiSelect/_utils/selectAllOptions.d.ts +1 -1
  148. package/dist/components/GroupedMultiSelect/_utils/selectAllOptions.d.ts.map +1 -1
  149. package/dist/components/GroupedMultiSelect/index.d.ts +1 -1
  150. package/dist/components/GroupedMultiSelect/index.d.ts.map +1 -1
  151. package/dist/components/GroupedMultiSelect/index.js +122 -112
  152. package/dist/components/GroupedSingleSelect/_helpers/DropdownFooter.d.ts.map +1 -1
  153. package/dist/components/GroupedSingleSelect/_helpers/DropdownFooter.js +28 -19
  154. package/dist/components/GroupedSingleSelect/_helpers/OptionRow.d.ts.map +1 -1
  155. package/dist/components/GroupedSingleSelect/_helpers/OptionRow.js +22 -12
  156. package/dist/components/GroupedSingleSelect/_helpers/OptionsList.d.ts.map +1 -1
  157. package/dist/components/GroupedSingleSelect/_helpers/OptionsList.js +35 -24
  158. package/dist/components/GroupedSingleSelect/_helpers/TriggerButton.d.ts.map +1 -1
  159. package/dist/components/GroupedSingleSelect/_helpers/TriggerButton.js +42 -24
  160. package/dist/components/GroupedSingleSelect/index.d.ts.map +1 -1
  161. package/dist/components/GroupedSingleSelect/index.js +61 -51
  162. package/dist/components/Loader/_types/loader.types.d.ts +10 -0
  163. package/dist/components/Loader/_types/loader.types.d.ts.map +1 -0
  164. package/dist/components/Loader/_types/loader.types.js +1 -0
  165. package/dist/components/Loader/index.d.ts +6 -0
  166. package/dist/components/Loader/index.d.ts.map +1 -0
  167. package/dist/components/Loader/index.js +37 -0
  168. package/dist/components/MAVDropdown/_types/mavDropdown.types.d.ts +27 -0
  169. package/dist/components/MAVDropdown/_types/mavDropdown.types.d.ts.map +1 -0
  170. package/dist/components/MAVDropdown/_types/mavDropdown.types.js +1 -0
  171. package/dist/components/MAVDropdown/index.d.ts +6 -0
  172. package/dist/components/MAVDropdown/index.d.ts.map +1 -0
  173. package/dist/components/MAVDropdown/index.js +162 -0
  174. package/dist/components/MenuOptions/_types/menuOptions.types.d.ts +1 -7
  175. package/dist/components/MenuOptions/_types/menuOptions.types.d.ts.map +1 -1
  176. package/dist/components/MenuOptions/_utils/computeMenuPosition.js +1 -1
  177. package/dist/components/MenuOptions/_utils/computeSubmenuPosition.js +1 -1
  178. package/dist/components/MenuOptions/index.d.ts +1 -1
  179. package/dist/components/MenuOptions/index.d.ts.map +1 -1
  180. package/dist/components/MenuOptions/index.js +41 -35
  181. package/dist/components/MetricCards/Component/CardWithIconAndForecast/index.js +43 -43
  182. package/dist/components/MultiSelect/SimpleMultiSelect.d.ts +22 -0
  183. package/dist/components/MultiSelect/SimpleMultiSelect.d.ts.map +1 -0
  184. package/dist/components/MultiSelect/SimpleMultiSelect.js +221 -0
  185. package/dist/components/MultiSelect/_helpers/DropdownFooter.d.ts +4 -0
  186. package/dist/components/MultiSelect/_helpers/DropdownFooter.d.ts.map +1 -0
  187. package/dist/components/MultiSelect/_helpers/DropdownFooter.js +72 -0
  188. package/dist/components/MultiSelect/_helpers/OptionRow.d.ts +4 -0
  189. package/dist/components/MultiSelect/_helpers/OptionRow.d.ts.map +1 -0
  190. package/dist/components/MultiSelect/_helpers/OptionRow.js +40 -0
  191. package/dist/components/MultiSelect/_helpers/OverflowMenu.d.ts +4 -0
  192. package/dist/components/MultiSelect/_helpers/OverflowMenu.d.ts.map +1 -0
  193. package/dist/components/MultiSelect/_helpers/OverflowMenu.js +7 -0
  194. package/dist/components/MultiSelect/_helpers/OverflowMenuItem.d.ts +4 -0
  195. package/dist/components/MultiSelect/_helpers/OverflowMenuItem.d.ts.map +1 -0
  196. package/dist/components/MultiSelect/_helpers/OverflowMenuItem.js +30 -0
  197. package/dist/components/MultiSelect/_helpers/SearchResult.d.ts +4 -0
  198. package/dist/components/MultiSelect/_helpers/SearchResult.d.ts.map +1 -0
  199. package/dist/components/MultiSelect/_helpers/SearchResult.js +33 -0
  200. package/dist/components/MultiSelect/_helpers/TagContent.d.ts +5 -0
  201. package/dist/components/MultiSelect/_helpers/TagContent.d.ts.map +1 -0
  202. package/dist/components/MultiSelect/_helpers/TagContent.js +48 -0
  203. package/dist/components/MultiSelect/_helpers/TriggerButton.d.ts +4 -0
  204. package/dist/components/MultiSelect/_helpers/TriggerButton.d.ts.map +1 -0
  205. package/dist/components/MultiSelect/_helpers/TriggerButton.js +82 -0
  206. package/dist/components/MultiSelect/_types/type.d.ts +106 -0
  207. package/dist/components/MultiSelect/_types/type.d.ts.map +1 -0
  208. package/dist/components/MultiSelect/_types/type.js +1 -0
  209. package/dist/components/MultiSelect/_utils/computeApplyDisabled.d.ts +9 -0
  210. package/dist/components/MultiSelect/_utils/computeApplyDisabled.d.ts.map +1 -0
  211. package/dist/components/MultiSelect/_utils/computeApplyDisabled.js +9 -0
  212. package/dist/components/MultiSelect/_utils/filterOptions.d.ts +6 -0
  213. package/dist/components/MultiSelect/_utils/filterOptions.d.ts.map +1 -0
  214. package/dist/components/MultiSelect/_utils/filterOptions.js +7 -0
  215. package/dist/components/MultiSelect/_utils/getInitialSelected.d.ts +6 -0
  216. package/dist/components/MultiSelect/_utils/getInitialSelected.d.ts.map +1 -0
  217. package/dist/components/MultiSelect/_utils/getInitialSelected.js +6 -0
  218. package/dist/components/MultiSelect/index.d.ts +4 -0
  219. package/dist/components/MultiSelect/index.d.ts.map +1 -0
  220. package/dist/components/MultiSelect/index.js +234 -0
  221. package/dist/components/Pagination/_types/pagination.types.d.ts +21 -0
  222. package/dist/components/Pagination/_types/pagination.types.d.ts.map +1 -0
  223. package/dist/components/Pagination/_types/pagination.types.js +1 -0
  224. package/dist/components/Pagination/_utils/computePageSizeOptions.d.ts +5 -0
  225. package/dist/components/Pagination/_utils/computePageSizeOptions.d.ts.map +1 -0
  226. package/dist/components/Pagination/_utils/computePageSizeOptions.js +10 -0
  227. package/dist/components/Pagination/_utils/generatePageNumbers.d.ts +4 -0
  228. package/dist/components/Pagination/_utils/generatePageNumbers.d.ts.map +1 -0
  229. package/dist/components/Pagination/_utils/generatePageNumbers.js +18 -0
  230. package/dist/components/Pagination/index.d.ts +6 -0
  231. package/dist/components/Pagination/index.d.ts.map +1 -0
  232. package/dist/components/Pagination/index.js +164 -0
  233. package/dist/components/Popover/_types/popover.types.d.ts +13 -0
  234. package/dist/components/Popover/_types/popover.types.d.ts.map +1 -0
  235. package/dist/components/Popover/_types/popover.types.js +1 -0
  236. package/dist/components/Popover/index.d.ts +4 -0
  237. package/dist/components/Popover/index.d.ts.map +1 -0
  238. package/dist/components/Popover/index.js +91 -0
  239. package/dist/components/PopupAndDialogBox/components/DialogContent.js +1 -1
  240. package/dist/components/PopupAndDialogBox/components/DialogFooter.js +1 -1
  241. package/dist/components/PopupAndDialogBox/components/DialogHeader.js +1 -1
  242. package/dist/components/PopupAndDialogBox/index.js +1 -1
  243. package/dist/components/ProfileDropdown/_types/profileDropdown.types.d.ts +28 -0
  244. package/dist/components/ProfileDropdown/_types/profileDropdown.types.d.ts.map +1 -0
  245. package/dist/components/ProfileDropdown/_types/profileDropdown.types.js +13 -0
  246. package/dist/components/ProfileDropdown/constants.d.ts +3 -0
  247. package/dist/components/ProfileDropdown/constants.d.ts.map +1 -0
  248. package/dist/components/ProfileDropdown/constants.js +8 -0
  249. package/dist/components/ProfileDropdown/index.d.ts +6 -0
  250. package/dist/components/ProfileDropdown/index.d.ts.map +1 -0
  251. package/dist/components/ProfileDropdown/index.js +154 -0
  252. package/dist/components/ProgressBar/_types/progressBar.types.d.ts +34 -0
  253. package/dist/components/ProgressBar/_types/progressBar.types.d.ts.map +1 -0
  254. package/dist/components/ProgressBar/_types/progressBar.types.js +1 -0
  255. package/dist/components/ProgressBar/index.d.ts +3 -0
  256. package/dist/components/ProgressBar/index.d.ts.map +1 -0
  257. package/dist/components/ProgressBar/index.js +48 -0
  258. package/dist/components/RadioButton/index.js +24 -24
  259. package/dist/components/RadioGroup/_types/radioGroup.types.d.ts +15 -0
  260. package/dist/components/RadioGroup/_types/radioGroup.types.d.ts.map +1 -0
  261. package/dist/components/RadioGroup/_types/radioGroup.types.js +1 -0
  262. package/dist/components/RadioGroup/index.d.ts +3 -0
  263. package/dist/components/RadioGroup/index.d.ts.map +1 -0
  264. package/dist/components/RadioGroup/index.js +44 -0
  265. package/dist/components/Search/index.d.ts.map +1 -1
  266. package/dist/components/Search/index.js +72 -62
  267. package/dist/components/SingleSelectDropdown/_helpers/DropdownFooter.d.ts +2 -1
  268. package/dist/components/SingleSelectDropdown/_helpers/DropdownFooter.d.ts.map +1 -1
  269. package/dist/components/SingleSelectDropdown/_helpers/DropdownFooter.js +15 -4
  270. package/dist/components/SingleSelectDropdown/_types/singleSelectDropdown.types.d.ts +2 -2
  271. package/dist/components/SingleSelectDropdown/_types/singleSelectDropdown.types.d.ts.map +1 -1
  272. package/dist/components/SingleSelectDropdown/index.d.ts +1 -1
  273. package/dist/components/SingleSelectDropdown/index.d.ts.map +1 -1
  274. package/dist/components/SingleSelectDropdown/index.js +81 -70
  275. package/dist/components/Switch/index.js +3 -3
  276. package/dist/components/Table/_helpers/ColumnManager/ColumnConfig.d.ts +5 -0
  277. package/dist/components/Table/_helpers/ColumnManager/ColumnConfig.d.ts.map +1 -0
  278. package/dist/components/Table/_helpers/ColumnManager/ColumnConfig.js +84 -0
  279. package/dist/components/Table/_helpers/ColumnManager/index.d.ts +4 -0
  280. package/dist/components/Table/_helpers/ColumnManager/index.d.ts.map +1 -0
  281. package/dist/components/Table/_helpers/ColumnManager/index.js +2456 -0
  282. package/dist/components/Table/_helpers/ExpandableRow/index.d.ts +16 -0
  283. package/dist/components/Table/_helpers/ExpandableRow/index.d.ts.map +1 -0
  284. package/dist/components/Table/_helpers/ExpandableRow/index.js +54 -0
  285. package/dist/components/Table/_helpers/FilterColumnToolbar.d.ts +14 -0
  286. package/dist/components/Table/_helpers/FilterColumnToolbar.d.ts.map +1 -0
  287. package/dist/components/Table/_helpers/FilterColumnToolbar.js +121 -0
  288. package/dist/components/Table/_helpers/GroupedHeader/index.d.ts +24 -0
  289. package/dist/components/Table/_helpers/GroupedHeader/index.d.ts.map +1 -0
  290. package/dist/components/Table/_helpers/GroupedHeader/index.js +193 -0
  291. package/dist/components/Table/_helpers/SelectionCell/index.d.ts +19 -0
  292. package/dist/components/Table/_helpers/SelectionCell/index.d.ts.map +1 -0
  293. package/dist/components/Table/_helpers/SelectionCell/index.js +50 -0
  294. package/dist/components/Table/_helpers/TableFilterModal/OptionList.d.ts +3 -0
  295. package/dist/components/Table/_helpers/TableFilterModal/OptionList.d.ts.map +1 -0
  296. package/dist/components/Table/_helpers/TableFilterModal/OptionList.js +11 -0
  297. package/dist/components/Table/_helpers/TableFilterModal/OptionListItems.d.ts +3 -0
  298. package/dist/components/Table/_helpers/TableFilterModal/OptionListItems.d.ts.map +1 -0
  299. package/dist/components/Table/_helpers/TableFilterModal/OptionListItems.js +75 -0
  300. package/dist/components/Table/_helpers/TableFilterModal/RangeSelector.d.ts +3 -0
  301. package/dist/components/Table/_helpers/TableFilterModal/RangeSelector.d.ts.map +1 -0
  302. package/dist/components/Table/_helpers/TableFilterModal/RangeSelector.js +1544 -0
  303. package/dist/components/Table/_helpers/TableFilterModal/index.d.ts +4 -0
  304. package/dist/components/Table/_helpers/TableFilterModal/index.d.ts.map +1 -0
  305. package/dist/components/Table/_helpers/TableFilterModal/index.js +115 -0
  306. package/dist/components/Table/_helpers/TableRows.d.ts +3 -0
  307. package/dist/components/Table/_helpers/TableRows.d.ts.map +1 -0
  308. package/dist/components/Table/_helpers/TableRows.js +408 -0
  309. package/dist/components/Table/_hooks/useExpansion.d.ts +20 -0
  310. package/dist/components/Table/_hooks/useExpansion.d.ts.map +1 -0
  311. package/dist/components/Table/_hooks/useExpansion.js +46 -0
  312. package/dist/components/Table/_hooks/useFilterColumnState.d.ts +17 -0
  313. package/dist/components/Table/_hooks/useFilterColumnState.d.ts.map +1 -0
  314. package/dist/components/Table/_hooks/useFilterColumnState.js +94 -0
  315. package/dist/components/Table/_hooks/useSelection.d.ts +12 -0
  316. package/dist/components/Table/_hooks/useSelection.d.ts.map +1 -0
  317. package/dist/components/Table/_hooks/useSelection.js +45 -0
  318. package/dist/components/Table/_types/table.types.d.ts +286 -0
  319. package/dist/components/Table/_types/table.types.d.ts.map +1 -0
  320. package/dist/components/Table/_types/table.types.js +1 -0
  321. package/dist/components/Table/_utils/formatCellValue.d.ts +13 -0
  322. package/dist/components/Table/_utils/formatCellValue.d.ts.map +1 -0
  323. package/dist/components/Table/_utils/formatCellValue.js +17 -0
  324. package/dist/components/Table/_utils/table.utils.d.ts +10 -0
  325. package/dist/components/Table/_utils/table.utils.d.ts.map +1 -0
  326. package/dist/components/Table/_utils/table.utils.js +87 -0
  327. package/dist/components/Table/constants.d.ts +6 -0
  328. package/dist/components/Table/constants.d.ts.map +1 -0
  329. package/dist/components/Table/constants.js +13 -0
  330. package/dist/components/Table/index.d.ts +4 -0
  331. package/dist/components/Table/index.d.ts.map +1 -0
  332. package/dist/components/Table/index.js +543 -0
  333. package/dist/components/TextField/index.js +685 -6956
  334. package/dist/components/Toast/_helper/ToastContent.js +25 -25
  335. package/dist/components/Toast/_helper/ToastProvider.js +9 -9
  336. package/dist/components/Toast/_hooks/useToast.js +1 -1
  337. package/dist/components/Tooltip/index.js +699 -781
  338. package/dist/components/Typography/_types/typography.types.d.ts +28 -0
  339. package/dist/components/Typography/_types/typography.types.d.ts.map +1 -0
  340. package/dist/components/Typography/_types/typography.types.js +1 -0
  341. package/dist/components/Typography/index.d.ts +3 -0
  342. package/dist/components/Typography/index.d.ts.map +1 -0
  343. package/dist/components/Typography/index.js +45 -0
  344. package/dist/contains-kLLEGdNH.js +41 -0
  345. package/dist/index-C8cPPHJD.js +1196 -0
  346. package/dist/index-f7TB87Mf.js +1846 -0
  347. package/dist/isFocusVisible-BzX3wEi7.js +12 -0
  348. package/dist/main.d.ts +17 -0
  349. package/dist/main.d.ts.map +1 -1
  350. package/dist/main.js +128 -96
  351. package/dist/reset-icon-YxMt3Ozp.js +5 -0
  352. package/dist/search-B_cup-NN.js +5 -0
  353. package/dist/styles.module-BXby6f8d.js +16 -0
  354. package/dist/styles.module-BZaUJMlf.js +14 -0
  355. package/dist/styles.module-Dojg5FTS.js +41 -0
  356. package/dist/styles.module-ZyeVE7KZ.js +39 -0
  357. package/dist/table-filter-C0zetUfo.js +6 -0
  358. package/dist/useSlot-ylt7_lTY.js +4698 -0
  359. package/package.json +17 -3
  360. package/dist/DropdownFooter-De6BYlLK.js +0 -77
  361. package/dist/Grow-Bsrwqfek.js +0 -5468
  362. package/dist/IconSlot-CbpGCbaA.js +0 -32
  363. package/dist/assets/DropdownFooter-C7Cml53c.css +0 -1
  364. package/dist/assets/IconSlot-Ct_SZh2X.css +0 -1
  365. package/dist/assets/ReactToastify-GNLSjkBZ.css +0 -1
  366. package/dist/assets/index-0R9p-l95.css +0 -1
  367. package/dist/assets/index-BbJZjGLb.css +0 -1
  368. package/dist/assets/index-Bu-eyi44.css +0 -1
  369. package/dist/assets/index-DAtOlGx5.css +0 -1
  370. package/dist/assets/index-Dudb2XKF.css +0 -1
  371. package/dist/assets/index-fvceox3b.css +0 -1
  372. package/dist/assets/index-w7AdSPwF.css +0 -1
  373. package/dist/assets/styles-CGTFG68B.css +0 -1
  374. package/dist/index-BR6M9zUI.js +0 -382
  375. package/dist/styles.module-BpAF4ufQ.js +0 -38
  376. package/dist/styles.module-yNDMDNO-.js +0 -14
@@ -0,0 +1,1059 @@
1
+ import { jsxs as Fe, jsx as $ } from "react/jsx-runtime";
2
+ import Je, { useState as de, useRef as Qe, useCallback as he, useMemo as ge, useEffect as ve } from "react";
3
+ import { g as Ge } from "../../_commonjsHelpers-C6fGbg64.js";
4
+ import { buildChartConfig as Xe } from "./_config/builders.js";
5
+ import { getOnRender as ze, getChartEvents as Ze } from "./_config/events.js";
6
+ import { EXTENDED_PALETTE as ee, STACKED_AREA_PALETTE as Ne } from "./_constant/constants.js";
7
+ import { mergeClasses as xe } from "../../utils/mergeClasses.js";
8
+ import '../../assets/index-B81zpOpq.css';var ae = {}, ie = {}, F = {}, me;
9
+ function Ye() {
10
+ return me || (me = 1, Object.defineProperty(F, "__esModule", { value: !0 }), F.default = "ffffffff-ffff-ffff-ffff-ffffffffffff"), F;
11
+ }
12
+ var N = {}, pe;
13
+ function Be() {
14
+ return pe || (pe = 1, Object.defineProperty(N, "__esModule", { value: !0 }), N.default = "00000000-0000-0000-0000-000000000000"), N;
15
+ }
16
+ var x = {}, H = {}, W = {}, ye;
17
+ function et() {
18
+ return ye || (ye = 1, Object.defineProperty(W, "__esModule", { value: !0 }), W.default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i), W;
19
+ }
20
+ var _e;
21
+ function re() {
22
+ if (_e) return H;
23
+ _e = 1, Object.defineProperty(H, "__esModule", { value: !0 });
24
+ const r = et();
25
+ function l(v) {
26
+ return typeof v == "string" && r.default.test(v);
27
+ }
28
+ return H.default = l, H;
29
+ }
30
+ var be;
31
+ function ne() {
32
+ if (be) return x;
33
+ be = 1, Object.defineProperty(x, "__esModule", { value: !0 });
34
+ const r = re();
35
+ function l(v) {
36
+ if (!(0, r.default)(v))
37
+ throw TypeError("Invalid UUID");
38
+ let g;
39
+ return Uint8Array.of((g = parseInt(v.slice(0, 8), 16)) >>> 24, g >>> 16 & 255, g >>> 8 & 255, g & 255, (g = parseInt(v.slice(9, 13), 16)) >>> 8, g & 255, (g = parseInt(v.slice(14, 18), 16)) >>> 8, g & 255, (g = parseInt(v.slice(19, 23), 16)) >>> 8, g & 255, (g = parseInt(v.slice(24, 36), 16)) / 1099511627776 & 255, g / 4294967296 & 255, g >>> 24 & 255, g >>> 16 & 255, g >>> 8 & 255, g & 255);
40
+ }
41
+ return x.default = l, x;
42
+ }
43
+ var L = {}, Ce;
44
+ function P() {
45
+ if (Ce) return L;
46
+ Ce = 1, Object.defineProperty(L, "__esModule", { value: !0 }), L.unsafeStringify = void 0;
47
+ const r = re(), l = [];
48
+ for (let e = 0; e < 256; ++e)
49
+ l.push((e + 256).toString(16).slice(1));
50
+ function v(e, i = 0) {
51
+ return (l[e[i + 0]] + l[e[i + 1]] + l[e[i + 2]] + l[e[i + 3]] + "-" + l[e[i + 4]] + l[e[i + 5]] + "-" + l[e[i + 6]] + l[e[i + 7]] + "-" + l[e[i + 8]] + l[e[i + 9]] + "-" + l[e[i + 10]] + l[e[i + 11]] + l[e[i + 12]] + l[e[i + 13]] + l[e[i + 14]] + l[e[i + 15]]).toLowerCase();
52
+ }
53
+ L.unsafeStringify = v;
54
+ function g(e, i = 0) {
55
+ const a = v(e, i);
56
+ if (!(0, r.default)(a))
57
+ throw TypeError("Stringified UUID is invalid");
58
+ return a;
59
+ }
60
+ return L.default = g, L;
61
+ }
62
+ var q = {}, K = {}, Oe;
63
+ function ce() {
64
+ if (Oe) return K;
65
+ Oe = 1, Object.defineProperty(K, "__esModule", { value: !0 });
66
+ let r;
67
+ const l = new Uint8Array(16);
68
+ function v() {
69
+ if (!r) {
70
+ if (typeof crypto > "u" || !crypto.getRandomValues)
71
+ throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
72
+ r = crypto.getRandomValues.bind(crypto);
73
+ }
74
+ return r(l);
75
+ }
76
+ return K.default = v, K;
77
+ }
78
+ var Se;
79
+ function He() {
80
+ if (Se) return q;
81
+ Se = 1, Object.defineProperty(q, "__esModule", { value: !0 }), q.updateV1State = void 0;
82
+ const r = ce(), l = P(), v = {};
83
+ function g(a, y, u) {
84
+ let f;
85
+ const m = a?._v6 ?? !1;
86
+ if (a) {
87
+ const O = Object.keys(a);
88
+ O.length === 1 && O[0] === "_v6" && (a = void 0);
89
+ }
90
+ if (a)
91
+ f = i(a.random ?? a.rng?.() ?? (0, r.default)(), a.msecs, a.nsecs, a.clockseq, a.node, y, u);
92
+ else {
93
+ const O = Date.now(), t = (0, r.default)();
94
+ e(v, O, t), f = i(t, v.msecs, v.nsecs, m ? void 0 : v.clockseq, m ? void 0 : v.node, y, u);
95
+ }
96
+ return y ?? (0, l.unsafeStringify)(f);
97
+ }
98
+ function e(a, y, u) {
99
+ return a.msecs ??= -1 / 0, a.nsecs ??= 0, y === a.msecs ? (a.nsecs++, a.nsecs >= 1e4 && (a.node = void 0, a.nsecs = 0)) : y > a.msecs ? a.nsecs = 0 : y < a.msecs && (a.node = void 0), a.node || (a.node = u.slice(10, 16), a.node[0] |= 1, a.clockseq = (u[8] << 8 | u[9]) & 16383), a.msecs = y, a;
100
+ }
101
+ q.updateV1State = e;
102
+ function i(a, y, u, f, m, O, t = 0) {
103
+ if (a.length < 16)
104
+ throw new Error("Random bytes length must be >= 16");
105
+ if (!O)
106
+ O = new Uint8Array(16), t = 0;
107
+ else if (t < 0 || t + 16 > O.length)
108
+ throw new RangeError(`UUID byte range ${t}:${t + 15} is out of buffer bounds`);
109
+ y ??= Date.now(), u ??= 0, f ??= (a[8] << 8 | a[9]) & 16383, m ??= a.slice(10, 16), y += 122192928e5;
110
+ const S = ((y & 268435455) * 1e4 + u) % 4294967296;
111
+ O[t++] = S >>> 24 & 255, O[t++] = S >>> 16 & 255, O[t++] = S >>> 8 & 255, O[t++] = S & 255;
112
+ const A = y / 4294967296 * 1e4 & 268435455;
113
+ O[t++] = A >>> 8 & 255, O[t++] = A & 255, O[t++] = A >>> 24 & 15 | 16, O[t++] = A >>> 16 & 255, O[t++] = f >>> 8 | 128, O[t++] = f & 255;
114
+ for (let s = 0; s < 6; ++s)
115
+ O[t++] = m[s];
116
+ return O;
117
+ }
118
+ return q.default = g, q;
119
+ }
120
+ var J = {}, je;
121
+ function We() {
122
+ if (je) return J;
123
+ je = 1, Object.defineProperty(J, "__esModule", { value: !0 });
124
+ const r = ne(), l = P();
125
+ function v(e) {
126
+ const i = typeof e == "string" ? (0, r.default)(e) : e, a = g(i);
127
+ return typeof e == "string" ? (0, l.unsafeStringify)(a) : a;
128
+ }
129
+ J.default = v;
130
+ function g(e) {
131
+ return Uint8Array.of((e[6] & 15) << 4 | e[7] >> 4 & 15, (e[7] & 15) << 4 | (e[4] & 240) >> 4, (e[4] & 15) << 4 | (e[5] & 240) >> 4, (e[5] & 15) << 4 | (e[0] & 240) >> 4, (e[0] & 15) << 4 | (e[1] & 240) >> 4, (e[1] & 15) << 4 | (e[2] & 240) >> 4, 96 | e[2] & 15, e[3], e[8], e[9], e[10], e[11], e[12], e[13], e[14], e[15]);
132
+ }
133
+ return J;
134
+ }
135
+ var oe = {}, Q = {}, Ae;
136
+ function tt() {
137
+ if (Ae) return Q;
138
+ Ae = 1, Object.defineProperty(Q, "__esModule", { value: !0 });
139
+ function r(t) {
140
+ const S = e(t), A = g(S, t.length * 8);
141
+ return l(A);
142
+ }
143
+ function l(t) {
144
+ const S = new Uint8Array(t.length * 4);
145
+ for (let A = 0; A < t.length * 4; A++)
146
+ S[A] = t[A >> 2] >>> A % 4 * 8 & 255;
147
+ return S;
148
+ }
149
+ function v(t) {
150
+ return (t + 64 >>> 9 << 4) + 14 + 1;
151
+ }
152
+ function g(t, S) {
153
+ const A = new Uint32Array(v(S)).fill(0);
154
+ A.set(t), A[S >> 5] |= 128 << S % 32, A[A.length - 1] = S, t = A;
155
+ let s = 1732584193, o = -271733879, n = -1732584194, c = 271733878;
156
+ for (let p = 0; p < t.length; p += 16) {
157
+ const I = s, _ = o, b = n, w = c;
158
+ s = u(s, o, n, c, t[p], 7, -680876936), c = u(c, s, o, n, t[p + 1], 12, -389564586), n = u(n, c, s, o, t[p + 2], 17, 606105819), o = u(o, n, c, s, t[p + 3], 22, -1044525330), s = u(s, o, n, c, t[p + 4], 7, -176418897), c = u(c, s, o, n, t[p + 5], 12, 1200080426), n = u(n, c, s, o, t[p + 6], 17, -1473231341), o = u(o, n, c, s, t[p + 7], 22, -45705983), s = u(s, o, n, c, t[p + 8], 7, 1770035416), c = u(c, s, o, n, t[p + 9], 12, -1958414417), n = u(n, c, s, o, t[p + 10], 17, -42063), o = u(o, n, c, s, t[p + 11], 22, -1990404162), s = u(s, o, n, c, t[p + 12], 7, 1804603682), c = u(c, s, o, n, t[p + 13], 12, -40341101), n = u(n, c, s, o, t[p + 14], 17, -1502002290), o = u(o, n, c, s, t[p + 15], 22, 1236535329), s = f(s, o, n, c, t[p + 1], 5, -165796510), c = f(c, s, o, n, t[p + 6], 9, -1069501632), n = f(n, c, s, o, t[p + 11], 14, 643717713), o = f(o, n, c, s, t[p], 20, -373897302), s = f(s, o, n, c, t[p + 5], 5, -701558691), c = f(c, s, o, n, t[p + 10], 9, 38016083), n = f(n, c, s, o, t[p + 15], 14, -660478335), o = f(o, n, c, s, t[p + 4], 20, -405537848), s = f(s, o, n, c, t[p + 9], 5, 568446438), c = f(c, s, o, n, t[p + 14], 9, -1019803690), n = f(n, c, s, o, t[p + 3], 14, -187363961), o = f(o, n, c, s, t[p + 8], 20, 1163531501), s = f(s, o, n, c, t[p + 13], 5, -1444681467), c = f(c, s, o, n, t[p + 2], 9, -51403784), n = f(n, c, s, o, t[p + 7], 14, 1735328473), o = f(o, n, c, s, t[p + 12], 20, -1926607734), s = m(s, o, n, c, t[p + 5], 4, -378558), c = m(c, s, o, n, t[p + 8], 11, -2022574463), n = m(n, c, s, o, t[p + 11], 16, 1839030562), o = m(o, n, c, s, t[p + 14], 23, -35309556), s = m(s, o, n, c, t[p + 1], 4, -1530992060), c = m(c, s, o, n, t[p + 4], 11, 1272893353), n = m(n, c, s, o, t[p + 7], 16, -155497632), o = m(o, n, c, s, t[p + 10], 23, -1094730640), s = m(s, o, n, c, t[p + 13], 4, 681279174), c = m(c, s, o, n, t[p], 11, -358537222), n = m(n, c, s, o, t[p + 3], 16, -722521979), o = m(o, n, c, s, t[p + 6], 23, 76029189), s = m(s, o, n, c, t[p + 9], 4, -640364487), c = m(c, s, o, n, t[p + 12], 11, -421815835), n = m(n, c, s, o, t[p + 15], 16, 530742520), o = m(o, n, c, s, t[p + 2], 23, -995338651), s = O(s, o, n, c, t[p], 6, -198630844), c = O(c, s, o, n, t[p + 7], 10, 1126891415), n = O(n, c, s, o, t[p + 14], 15, -1416354905), o = O(o, n, c, s, t[p + 5], 21, -57434055), s = O(s, o, n, c, t[p + 12], 6, 1700485571), c = O(c, s, o, n, t[p + 3], 10, -1894986606), n = O(n, c, s, o, t[p + 10], 15, -1051523), o = O(o, n, c, s, t[p + 1], 21, -2054922799), s = O(s, o, n, c, t[p + 8], 6, 1873313359), c = O(c, s, o, n, t[p + 15], 10, -30611744), n = O(n, c, s, o, t[p + 6], 15, -1560198380), o = O(o, n, c, s, t[p + 13], 21, 1309151649), s = O(s, o, n, c, t[p + 4], 6, -145523070), c = O(c, s, o, n, t[p + 11], 10, -1120210379), n = O(n, c, s, o, t[p + 2], 15, 718787259), o = O(o, n, c, s, t[p + 9], 21, -343485551), s = i(s, I), o = i(o, _), n = i(n, b), c = i(c, w);
159
+ }
160
+ return Uint32Array.of(s, o, n, c);
161
+ }
162
+ function e(t) {
163
+ if (t.length === 0)
164
+ return new Uint32Array();
165
+ const S = new Uint32Array(v(t.length * 8)).fill(0);
166
+ for (let A = 0; A < t.length; A++)
167
+ S[A >> 2] |= (t[A] & 255) << A % 4 * 8;
168
+ return S;
169
+ }
170
+ function i(t, S) {
171
+ const A = (t & 65535) + (S & 65535);
172
+ return (t >> 16) + (S >> 16) + (A >> 16) << 16 | A & 65535;
173
+ }
174
+ function a(t, S) {
175
+ return t << S | t >>> 32 - S;
176
+ }
177
+ function y(t, S, A, s, o, n) {
178
+ return i(a(i(i(S, t), i(s, n)), o), A);
179
+ }
180
+ function u(t, S, A, s, o, n, c) {
181
+ return y(S & A | ~S & s, t, S, o, n, c);
182
+ }
183
+ function f(t, S, A, s, o, n, c) {
184
+ return y(S & s | A & ~s, t, S, o, n, c);
185
+ }
186
+ function m(t, S, A, s, o, n, c) {
187
+ return y(S ^ A ^ s, t, S, o, n, c);
188
+ }
189
+ function O(t, S, A, s, o, n, c) {
190
+ return y(A ^ (S | ~s), t, S, o, n, c);
191
+ }
192
+ return Q.default = r, Q;
193
+ }
194
+ var E = {}, we;
195
+ function te() {
196
+ if (we) return E;
197
+ we = 1, Object.defineProperty(E, "__esModule", { value: !0 }), E.URL = E.DNS = E.stringToBytes = void 0;
198
+ const r = ne(), l = P();
199
+ function v(e) {
200
+ e = unescape(encodeURIComponent(e));
201
+ const i = new Uint8Array(e.length);
202
+ for (let a = 0; a < e.length; ++a)
203
+ i[a] = e.charCodeAt(a);
204
+ return i;
205
+ }
206
+ E.stringToBytes = v, E.DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", E.URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
207
+ function g(e, i, a, y, u, f) {
208
+ const m = typeof a == "string" ? v(a) : a, O = typeof y == "string" ? (0, r.default)(y) : y;
209
+ if (typeof y == "string" && (y = (0, r.default)(y)), y?.length !== 16)
210
+ throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
211
+ let t = new Uint8Array(16 + m.length);
212
+ if (t.set(O), t.set(m, O.length), t = i(t), t[6] = t[6] & 15 | e, t[8] = t[8] & 63 | 128, u) {
213
+ if (f = f || 0, f < 0 || f + 16 > u.length)
214
+ throw new RangeError(`UUID byte range ${f}:${f + 15} is out of buffer bounds`);
215
+ for (let S = 0; S < 16; ++S)
216
+ u[f + S] = t[S];
217
+ return u;
218
+ }
219
+ return (0, l.unsafeStringify)(t);
220
+ }
221
+ return E.default = g, E;
222
+ }
223
+ var ke;
224
+ function rt() {
225
+ return ke || (ke = 1, (function(r) {
226
+ Object.defineProperty(r, "__esModule", { value: !0 }), r.URL = r.DNS = void 0;
227
+ const l = tt(), v = te();
228
+ var g = te();
229
+ Object.defineProperty(r, "DNS", { enumerable: !0, get: function() {
230
+ return g.DNS;
231
+ } }), Object.defineProperty(r, "URL", { enumerable: !0, get: function() {
232
+ return g.URL;
233
+ } });
234
+ function e(i, a, y, u) {
235
+ return (0, v.default)(48, l.default, i, a, y, u);
236
+ }
237
+ e.DNS = v.DNS, e.URL = v.URL, r.default = e;
238
+ })(oe)), oe;
239
+ }
240
+ var G = {}, X = {}, Re;
241
+ function nt() {
242
+ if (Re) return X;
243
+ Re = 1, Object.defineProperty(X, "__esModule", { value: !0 });
244
+ const r = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
245
+ return X.default = { randomUUID: r }, X;
246
+ }
247
+ var Ue;
248
+ function at() {
249
+ if (Ue) return G;
250
+ Ue = 1, Object.defineProperty(G, "__esModule", { value: !0 });
251
+ const r = nt(), l = ce(), v = P();
252
+ function g(e, i, a) {
253
+ if (r.default.randomUUID && !i && !e)
254
+ return r.default.randomUUID();
255
+ e = e || {};
256
+ const y = e.random ?? e.rng?.() ?? (0, l.default)();
257
+ if (y.length < 16)
258
+ throw new Error("Random bytes length must be >= 16");
259
+ if (y[6] = y[6] & 15 | 64, y[8] = y[8] & 63 | 128, i) {
260
+ if (a = a || 0, a < 0 || a + 16 > i.length)
261
+ throw new RangeError(`UUID byte range ${a}:${a + 15} is out of buffer bounds`);
262
+ for (let u = 0; u < 16; ++u)
263
+ i[a + u] = y[u];
264
+ return i;
265
+ }
266
+ return (0, v.unsafeStringify)(y);
267
+ }
268
+ return G.default = g, G;
269
+ }
270
+ var ue = {}, z = {}, Me;
271
+ function it() {
272
+ if (Me) return z;
273
+ Me = 1, Object.defineProperty(z, "__esModule", { value: !0 });
274
+ function r(g, e, i, a) {
275
+ switch (g) {
276
+ case 0:
277
+ return e & i ^ ~e & a;
278
+ case 1:
279
+ return e ^ i ^ a;
280
+ case 2:
281
+ return e & i ^ e & a ^ i & a;
282
+ case 3:
283
+ return e ^ i ^ a;
284
+ }
285
+ }
286
+ function l(g, e) {
287
+ return g << e | g >>> 32 - e;
288
+ }
289
+ function v(g) {
290
+ const e = [1518500249, 1859775393, 2400959708, 3395469782], i = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], a = new Uint8Array(g.length + 1);
291
+ a.set(g), a[g.length] = 128, g = a;
292
+ const y = g.length / 4 + 2, u = Math.ceil(y / 16), f = new Array(u);
293
+ for (let m = 0; m < u; ++m) {
294
+ const O = new Uint32Array(16);
295
+ for (let t = 0; t < 16; ++t)
296
+ O[t] = g[m * 64 + t * 4] << 24 | g[m * 64 + t * 4 + 1] << 16 | g[m * 64 + t * 4 + 2] << 8 | g[m * 64 + t * 4 + 3];
297
+ f[m] = O;
298
+ }
299
+ f[u - 1][14] = (g.length - 1) * 8 / Math.pow(2, 32), f[u - 1][14] = Math.floor(f[u - 1][14]), f[u - 1][15] = (g.length - 1) * 8 & 4294967295;
300
+ for (let m = 0; m < u; ++m) {
301
+ const O = new Uint32Array(80);
302
+ for (let n = 0; n < 16; ++n)
303
+ O[n] = f[m][n];
304
+ for (let n = 16; n < 80; ++n)
305
+ O[n] = l(O[n - 3] ^ O[n - 8] ^ O[n - 14] ^ O[n - 16], 1);
306
+ let t = i[0], S = i[1], A = i[2], s = i[3], o = i[4];
307
+ for (let n = 0; n < 80; ++n) {
308
+ const c = Math.floor(n / 20), p = l(t, 5) + r(c, S, A, s) + o + e[c] + O[n] >>> 0;
309
+ o = s, s = A, A = l(S, 30) >>> 0, S = t, t = p;
310
+ }
311
+ i[0] = i[0] + t >>> 0, i[1] = i[1] + S >>> 0, i[2] = i[2] + A >>> 0, i[3] = i[3] + s >>> 0, i[4] = i[4] + o >>> 0;
312
+ }
313
+ return Uint8Array.of(i[0] >> 24, i[0] >> 16, i[0] >> 8, i[0], i[1] >> 24, i[1] >> 16, i[1] >> 8, i[1], i[2] >> 24, i[2] >> 16, i[2] >> 8, i[2], i[3] >> 24, i[3] >> 16, i[3] >> 8, i[3], i[4] >> 24, i[4] >> 16, i[4] >> 8, i[4]);
314
+ }
315
+ return z.default = v, z;
316
+ }
317
+ var De;
318
+ function ot() {
319
+ return De || (De = 1, (function(r) {
320
+ Object.defineProperty(r, "__esModule", { value: !0 }), r.URL = r.DNS = void 0;
321
+ const l = it(), v = te();
322
+ var g = te();
323
+ Object.defineProperty(r, "DNS", { enumerable: !0, get: function() {
324
+ return g.DNS;
325
+ } }), Object.defineProperty(r, "URL", { enumerable: !0, get: function() {
326
+ return g.URL;
327
+ } });
328
+ function e(i, a, y, u) {
329
+ return (0, v.default)(80, l.default, i, a, y, u);
330
+ }
331
+ e.DNS = v.DNS, e.URL = v.URL, r.default = e;
332
+ })(ue)), ue;
333
+ }
334
+ var Z = {}, Ie;
335
+ function ut() {
336
+ if (Ie) return Z;
337
+ Ie = 1, Object.defineProperty(Z, "__esModule", { value: !0 });
338
+ const r = P(), l = He(), v = We();
339
+ function g(e, i, a) {
340
+ e ??= {}, a ??= 0;
341
+ let y = (0, l.default)({ ...e, _v6: !0 }, new Uint8Array(16));
342
+ if (y = (0, v.default)(y), i) {
343
+ if (a < 0 || a + 16 > i.length)
344
+ throw new RangeError(`UUID byte range ${a}:${a + 15} is out of buffer bounds`);
345
+ for (let u = 0; u < 16; u++)
346
+ i[a + u] = y[u];
347
+ return i;
348
+ }
349
+ return (0, r.unsafeStringify)(y);
350
+ }
351
+ return Z.default = g, Z;
352
+ }
353
+ var Y = {}, Ee;
354
+ function st() {
355
+ if (Ee) return Y;
356
+ Ee = 1, Object.defineProperty(Y, "__esModule", { value: !0 });
357
+ const r = ne(), l = P();
358
+ function v(e) {
359
+ const i = typeof e == "string" ? (0, r.default)(e) : e, a = g(i);
360
+ return typeof e == "string" ? (0, l.unsafeStringify)(a) : a;
361
+ }
362
+ Y.default = v;
363
+ function g(e) {
364
+ return Uint8Array.of((e[3] & 15) << 4 | e[4] >> 4 & 15, (e[4] & 15) << 4 | (e[5] & 240) >> 4, (e[5] & 15) << 4 | e[6] & 15, e[7], (e[1] & 15) << 4 | (e[2] & 240) >> 4, (e[2] & 15) << 4 | (e[3] & 240) >> 4, 16 | (e[0] & 240) >> 4, (e[0] & 15) << 4 | (e[1] & 240) >> 4, e[8], e[9], e[10], e[11], e[12], e[13], e[14], e[15]);
365
+ }
366
+ return Y;
367
+ }
368
+ var V = {}, Te;
369
+ function ct() {
370
+ if (Te) return V;
371
+ Te = 1, Object.defineProperty(V, "__esModule", { value: !0 }), V.updateV7State = void 0;
372
+ const r = ce(), l = P(), v = {};
373
+ function g(a, y, u) {
374
+ let f;
375
+ if (a)
376
+ f = i(a.random ?? a.rng?.() ?? (0, r.default)(), a.msecs, a.seq, y, u);
377
+ else {
378
+ const m = Date.now(), O = (0, r.default)();
379
+ e(v, m, O), f = i(O, v.msecs, v.seq, y, u);
380
+ }
381
+ return y ?? (0, l.unsafeStringify)(f);
382
+ }
383
+ function e(a, y, u) {
384
+ return a.msecs ??= -1 / 0, a.seq ??= 0, y > a.msecs ? (a.seq = u[6] << 23 | u[7] << 16 | u[8] << 8 | u[9], a.msecs = y) : (a.seq = a.seq + 1 | 0, a.seq === 0 && a.msecs++), a;
385
+ }
386
+ V.updateV7State = e;
387
+ function i(a, y, u, f, m = 0) {
388
+ if (a.length < 16)
389
+ throw new Error("Random bytes length must be >= 16");
390
+ if (!f)
391
+ f = new Uint8Array(16), m = 0;
392
+ else if (m < 0 || m + 16 > f.length)
393
+ throw new RangeError(`UUID byte range ${m}:${m + 15} is out of buffer bounds`);
394
+ return y ??= Date.now(), u ??= a[6] * 127 << 24 | a[7] << 16 | a[8] << 8 | a[9], f[m++] = y / 1099511627776 & 255, f[m++] = y / 4294967296 & 255, f[m++] = y / 16777216 & 255, f[m++] = y / 65536 & 255, f[m++] = y / 256 & 255, f[m++] = y & 255, f[m++] = 112 | u >>> 28 & 15, f[m++] = u >>> 20 & 255, f[m++] = 128 | u >>> 14 & 63, f[m++] = u >>> 6 & 255, f[m++] = u << 2 & 255 | a[10] & 3, f[m++] = a[11], f[m++] = a[12], f[m++] = a[13], f[m++] = a[14], f[m++] = a[15], f;
395
+ }
396
+ return V.default = g, V;
397
+ }
398
+ var B = {}, Pe;
399
+ function ft() {
400
+ if (Pe) return B;
401
+ Pe = 1, Object.defineProperty(B, "__esModule", { value: !0 });
402
+ const r = re();
403
+ function l(v) {
404
+ if (!(0, r.default)(v))
405
+ throw TypeError("Invalid UUID");
406
+ return parseInt(v.slice(14, 15), 16);
407
+ }
408
+ return B.default = l, B;
409
+ }
410
+ var Le;
411
+ function lt() {
412
+ return Le || (Le = 1, (function(r) {
413
+ Object.defineProperty(r, "__esModule", { value: !0 }), r.version = r.validate = r.v7 = r.v6ToV1 = r.v6 = r.v5 = r.v4 = r.v3 = r.v1ToV6 = r.v1 = r.stringify = r.parse = r.NIL = r.MAX = void 0;
414
+ var l = Ye();
415
+ Object.defineProperty(r, "MAX", { enumerable: !0, get: function() {
416
+ return l.default;
417
+ } });
418
+ var v = Be();
419
+ Object.defineProperty(r, "NIL", { enumerable: !0, get: function() {
420
+ return v.default;
421
+ } });
422
+ var g = ne();
423
+ Object.defineProperty(r, "parse", { enumerable: !0, get: function() {
424
+ return g.default;
425
+ } });
426
+ var e = P();
427
+ Object.defineProperty(r, "stringify", { enumerable: !0, get: function() {
428
+ return e.default;
429
+ } });
430
+ var i = He();
431
+ Object.defineProperty(r, "v1", { enumerable: !0, get: function() {
432
+ return i.default;
433
+ } });
434
+ var a = We();
435
+ Object.defineProperty(r, "v1ToV6", { enumerable: !0, get: function() {
436
+ return a.default;
437
+ } });
438
+ var y = rt();
439
+ Object.defineProperty(r, "v3", { enumerable: !0, get: function() {
440
+ return y.default;
441
+ } });
442
+ var u = at();
443
+ Object.defineProperty(r, "v4", { enumerable: !0, get: function() {
444
+ return u.default;
445
+ } });
446
+ var f = ot();
447
+ Object.defineProperty(r, "v5", { enumerable: !0, get: function() {
448
+ return f.default;
449
+ } });
450
+ var m = ut();
451
+ Object.defineProperty(r, "v6", { enumerable: !0, get: function() {
452
+ return m.default;
453
+ } });
454
+ var O = st();
455
+ Object.defineProperty(r, "v6ToV1", { enumerable: !0, get: function() {
456
+ return O.default;
457
+ } });
458
+ var t = ct();
459
+ Object.defineProperty(r, "v7", { enumerable: !0, get: function() {
460
+ return t.default;
461
+ } });
462
+ var S = re();
463
+ Object.defineProperty(r, "validate", { enumerable: !0, get: function() {
464
+ return S.default;
465
+ } });
466
+ var A = ft();
467
+ Object.defineProperty(r, "version", { enumerable: !0, get: function() {
468
+ return A.default;
469
+ } });
470
+ })(ie)), ie;
471
+ }
472
+ var T = {}, qe;
473
+ function dt() {
474
+ if (qe) return T;
475
+ qe = 1, Object.defineProperty(T, "__esModule", {
476
+ value: !0
477
+ }), T.checkIfDataTableExists = a, T.cloneDataSource = y, T.deepCopyOf = i, T.isCallable = v, T.isObject = l, T.isSameObjectContent = g, T.isUndefined = e;
478
+ function r(u) {
479
+ "@babel/helpers - typeof";
480
+ return r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(f) {
481
+ return typeof f;
482
+ } : function(f) {
483
+ return f && typeof Symbol == "function" && f.constructor === Symbol && f !== Symbol.prototype ? "symbol" : typeof f;
484
+ }, r(u);
485
+ }
486
+ function l(u) {
487
+ return u !== null && r(u) === "object";
488
+ }
489
+ function v(u) {
490
+ return typeof u == "function";
491
+ }
492
+ function g(u, f) {
493
+ if (Object.keys(u).length !== Object.keys(f).length)
494
+ return !1;
495
+ for (var m = Object.keys(u), O = 0; O < m.length; O += 1) {
496
+ var t = m[O];
497
+ if (l(u[t]) && l(f[t])) {
498
+ if (!g(u[t], f[t]))
499
+ return !1;
500
+ } else if (u[t] !== f[t])
501
+ return !1;
502
+ }
503
+ return !0;
504
+ }
505
+ function e(u) {
506
+ var f = void 0;
507
+ return u === f;
508
+ }
509
+ function i(u) {
510
+ return JSON.parse(JSON.stringify(u));
511
+ }
512
+ function a(u) {
513
+ return !!(u && u.data && u.data._dataStore);
514
+ }
515
+ function y(u) {
516
+ var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "clone", m = r(u);
517
+ if (m === "string" || m === "number" || m === "function" || m === "boolean" || u == null)
518
+ return u;
519
+ if (Array.isArray(u)) {
520
+ for (var O = [], t = 0; t < u.length; t++)
521
+ O.push(this.cloneDataSource(u[t]));
522
+ return O;
523
+ }
524
+ if (r(u) === "object") {
525
+ var S = {};
526
+ for (var A in u) {
527
+ if (A === "data") {
528
+ u[A]._dataStore && f === "clone" ? S[A] = u[A] : u[A]._dataStore && f === "diff" ? S[A] = "-" : S[A] = this.cloneDataSource(u[A]);
529
+ continue;
530
+ }
531
+ S[A] = this.cloneDataSource(u[A]);
532
+ }
533
+ return S;
534
+ }
535
+ }
536
+ return T;
537
+ }
538
+ var se = {}, Ve;
539
+ function ht() {
540
+ return Ve || (Ve = 1, (function(r) {
541
+ Object.defineProperty(r, "__esModule", {
542
+ value: !0
543
+ }), r.default = void 0, r.default = ["type", "id", "width", "height", "dataFormat", "dataSource", "events", "link", "showDataLoadingMessage", "showChartLoadingMessage", "baseChartMessageFont", "baseChartMessageFontSize", "baseChartMessageColor", "dataLoadStartMessage", "dataLoadErrorMessage", "dataInvalidMessage", "dataEmptyMessage", "typeNotSupportedMessage", "loadMessage", "renderErrorMessage", "containerBackgroundColor", "containerBackgroundOpacity", "containerClassName", "baseChartMessageImageHAlign", "baseChartMessageImageVAlign", "baseChartMessageImageAlpha", "baseChartMessageImageScale", "typeNotSupportedMessageImageHAalign", "typeNotSupportedMessageImageVAlign", "typeNotSupportedMessageImageAlpha", "typeNotSupportedMessageImageScale", "dataLoadErrorMessageImageHAlign", "dataLoadErrorMessageImageVAlign", "dataLoadErrorMessageImageAlpha", "dataLoadErrorMessageImageScale", "dataLoadStartMessageImageHAlign", "dataLoadStartMessageImageVAlign", "dataLoadStartMessageImageAlpha", "dataLoadStartMessageImageScale", "dataInvalidMessageImageHAlign", "dataInvalidMessageImageVAlign", "dataInvalidMessageImageAlpha", "dataInvalidMessageImageScale", "dataEmptyMessageImageHAlign", "dataEmptyMessageImageVAlign", "dataEmptyMessageImageAlpha", "dataEmptyMessageImageScale", "renderErrorMessageImageHAlign", "renderErrorMessageImageVAlign", "renderErrorMessageImageAlpha", "renderErrorMessageImageScale", "loadMessageImageHAlign", "loadMessageImageVAlign", "loadMessageImageAlpha", "loadMessageImageScale"];
544
+ })(se)), se;
545
+ }
546
+ var $e;
547
+ function gt() {
548
+ return $e || ($e = 1, (function(r) {
549
+ function l(_) {
550
+ "@babel/helpers - typeof";
551
+ return l = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(b) {
552
+ return typeof b;
553
+ } : function(b) {
554
+ return b && typeof Symbol == "function" && b.constructor === Symbol && b !== Symbol.prototype ? "symbol" : typeof b;
555
+ }, l(_);
556
+ }
557
+ Object.defineProperty(r, "__esModule", {
558
+ value: !0
559
+ }), r.default = void 0;
560
+ var v = y(Je), g = /* @__PURE__ */ lt(), e = a(dt()), i = y(ht());
561
+ function a(_, b) {
562
+ if (typeof WeakMap == "function") var w = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap();
563
+ return (a = function(h, j) {
564
+ if (!j && h && h.__esModule) return h;
565
+ var k, R, M = { __proto__: null, default: h };
566
+ if (h === null || l(h) != "object" && typeof h != "function") return M;
567
+ if (k = j ? d : w) {
568
+ if (k.has(h)) return k.get(h);
569
+ k.set(h, M);
570
+ }
571
+ for (var U in h) U !== "default" && {}.hasOwnProperty.call(h, U) && ((R = (k = Object.defineProperty) && Object.getOwnPropertyDescriptor(h, U)) && (R.get || R.set) ? k(M, U, R) : M[U] = h[U]);
572
+ return M;
573
+ })(_, b);
574
+ }
575
+ function y(_) {
576
+ return _ && _.__esModule ? _ : { default: _ };
577
+ }
578
+ function u(_, b) {
579
+ if (!(_ instanceof b)) throw new TypeError("Cannot call a class as a function");
580
+ }
581
+ function f(_, b) {
582
+ for (var w = 0; w < b.length; w++) {
583
+ var d = b[w];
584
+ d.enumerable = d.enumerable || !1, d.configurable = !0, "value" in d && (d.writable = !0), Object.defineProperty(_, O(d.key), d);
585
+ }
586
+ }
587
+ function m(_, b, w) {
588
+ return b && f(_.prototype, b), w && f(_, w), Object.defineProperty(_, "prototype", { writable: !1 }), _;
589
+ }
590
+ function O(_) {
591
+ var b = t(_, "string");
592
+ return l(b) == "symbol" ? b : b + "";
593
+ }
594
+ function t(_, b) {
595
+ if (l(_) != "object" || !_) return _;
596
+ var w = _[Symbol.toPrimitive];
597
+ if (w !== void 0) {
598
+ var d = w.call(_, b);
599
+ if (l(d) != "object") return d;
600
+ throw new TypeError("@@toPrimitive must return a primitive value.");
601
+ }
602
+ return String(_);
603
+ }
604
+ function S(_, b, w) {
605
+ return b = n(b), A(_, o() ? Reflect.construct(b, w || [], n(_).constructor) : b.apply(_, w));
606
+ }
607
+ function A(_, b) {
608
+ if (b && (l(b) == "object" || typeof b == "function")) return b;
609
+ if (b !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
610
+ return s(_);
611
+ }
612
+ function s(_) {
613
+ if (_ === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
614
+ return _;
615
+ }
616
+ function o() {
617
+ try {
618
+ var _ = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
619
+ }));
620
+ } catch {
621
+ }
622
+ return (o = function() {
623
+ return !!_;
624
+ })();
625
+ }
626
+ function n(_) {
627
+ return n = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(b) {
628
+ return b.__proto__ || Object.getPrototypeOf(b);
629
+ }, n(_);
630
+ }
631
+ function c(_, b) {
632
+ if (typeof b != "function" && b !== null) throw new TypeError("Super expression must either be null or a function");
633
+ _.prototype = Object.create(b && b.prototype, { constructor: { value: _, writable: !0, configurable: !0 } }), Object.defineProperty(_, "prototype", { writable: !1 }), b && p(_, b);
634
+ }
635
+ function p(_, b) {
636
+ return p = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(w, d) {
637
+ return w.__proto__ = d, w;
638
+ }, p(_, b);
639
+ }
640
+ var I = /* @__PURE__ */ (function(_) {
641
+ function b(w) {
642
+ var d;
643
+ return u(this, b), d = S(this, b, [w]), d.initialUnmount = !1, d.containerRef = /* @__PURE__ */ v.default.createRef(), d.containerId = (0, g.v4)(), d.oldOptions = null, d.FusionCharts = w.fcLibrary || b.fusionChartsCore || window.FusionCharts, d;
644
+ }
645
+ return c(b, _), m(b, [{
646
+ key: "componentDidMount",
647
+ value: function() {
648
+ this.renderChart();
649
+ }
650
+ }, {
651
+ key: "componentDidUpdate",
652
+ value: function(d) {
653
+ d !== this.props && this.detectChanges(this.props);
654
+ }
655
+ }, {
656
+ key: "componentWillUnmount",
657
+ value: function() {
658
+ if (this.initialUnmount)
659
+ this.chartObj.dispose();
660
+ else {
661
+ var d;
662
+ this.initialUnmount = !0;
663
+ var C = (d = this.props.type) === null || d === void 0 ? void 0 : d.toLowerCase().includes("map");
664
+ C || this.chartObj.dispose();
665
+ }
666
+ }
667
+ }, {
668
+ key: "detectChanges",
669
+ value: function(d) {
670
+ var C = this.resolveChartOptions(d), h = this.oldOptions, j = ["width", "height", "type", "dataFormat", "dataSource", "events"];
671
+ this.checkAndUpdateChartDimensions(C, h), this.checkAndUpdateChartType(C, h), this.checkAndUpdateChartData(C, h), this.checkAndUpdateEvents(C, h), this.checkAndUpdateRestOptions(i.default.filter(function(k) {
672
+ return j.indexOf(k) === -1;
673
+ }), C, h), this.oldOptions = C;
674
+ }
675
+ }, {
676
+ key: "checkAndUpdateChartDimensions",
677
+ value: function(d, C) {
678
+ var h = d.width, j = d.height, k = C.width, R = C.height;
679
+ (String(h) !== String(k) || String(j) !== String(R)) && (!e.isUndefined(h) && !e.isUndefined(j) ? this.chartObj.resizeTo(h, j) : (e.isUndefined(h) || this.chartObj.resizeTo({
680
+ w: h
681
+ }), e.isUndefined(j) || this.chartObj.resizeTo({
682
+ h: j
683
+ })));
684
+ }
685
+ }, {
686
+ key: "checkAndUpdateChartType",
687
+ value: function(d, C) {
688
+ var h = d.type, j = C.type;
689
+ String(h).toLowerCase() !== String(j).toLowerCase() && (e.isUndefined(h) || this.chartObj.chartType(String(h).toLowerCase()));
690
+ }
691
+ }, {
692
+ key: "checkAndUpdateChartData",
693
+ value: function(d, C) {
694
+ var h = d.dataFormat, j = d.dataSource, k = C.dataFormat, R = C.dataSource;
695
+ if (String(h).toLowerCase() !== String(k).toLowerCase() && !e.isUndefined(h) && !e.isUndefined(j)) {
696
+ this.chartObj.setChartData(j, String(h).toLowerCase()), this.chartObj.render();
697
+ return;
698
+ }
699
+ this.isSameChartData(j, R) || e.isUndefined(j) || this.chartObj.setChartData(
700
+ j,
701
+ // When dataFormat is not given, but data is changed,
702
+ // then use 'json' as default dataFormat
703
+ h ? String(h).toLowerCase() : "json"
704
+ );
705
+ }
706
+ }, {
707
+ key: "isSameChartData",
708
+ value: function(d, C) {
709
+ if (e.checkIfDataTableExists(d) && !e.checkIfDataTableExists(C) || !e.checkIfDataTableExists(d) && e.checkIfDataTableExists(C) || e.checkIfDataTableExists(d) && e.checkIfDataTableExists(C) && d.data !== C.data)
710
+ return !1;
711
+ var h = JSON.stringify(e.cloneDataSource(C, "diff")), j = JSON.stringify(e.cloneDataSource(d, "diff"));
712
+ return h === j;
713
+ }
714
+ }, {
715
+ key: "checkAndUpdateEvents",
716
+ value: function(d, C) {
717
+ var h = this, j = d.events, k = C.events, R, M;
718
+ this.detectChartEventsChange(j, k) && (e.isUndefined(j) || (R = Object.assign({}, j), M = e.isUndefined(k) ? {} : Object.assign({}, k), Object.keys(M).forEach(function(U) {
719
+ M[U] === R[U] ? R[U] = void 0 : h.chartObj.removeEventListener(U, M[U]);
720
+ }), Object.keys(R).forEach(function(U) {
721
+ R[U] && h.chartObj.addEventListener(U, R[U]);
722
+ })));
723
+ }
724
+ }, {
725
+ key: "detectChartEventsChange",
726
+ value: function(d, C) {
727
+ return e.isObject(d) && e.isObject(C) ? !this.isSameChartEvents(d, C) : d !== C;
728
+ }
729
+ }, {
730
+ key: "isSameChartEvents",
731
+ value: function(d, C) {
732
+ if (Object.keys(d).length !== Object.keys(C).length)
733
+ return !1;
734
+ for (var h = Object.keys(d), j = 0; j < h.length; ++j) {
735
+ var k = h[j];
736
+ if (d[k] !== C[k])
737
+ return !1;
738
+ }
739
+ return !0;
740
+ }
741
+ }, {
742
+ key: "checkAndUpdateRestOptions",
743
+ value: function(d, C, h) {
744
+ var j = this, k = !1;
745
+ d.forEach(function(R) {
746
+ var M = C[R], U = h[R];
747
+ j.isSameOptionValue(M, U) || e.isUndefined(M) || j.chartObj.options && j.chartObj.options.hasOwnProperty(R) && (j.chartObj.options[R] = M, k = !0);
748
+ }), k && this.chartObj.render();
749
+ }
750
+ }, {
751
+ key: "isSameOptionValue",
752
+ value: function(d, C) {
753
+ return e.isObject(d) && e.isObject(C) ? e.isSameObjectContent(d, C) : String(d) === String(C);
754
+ }
755
+ }, {
756
+ key: "renderChart",
757
+ value: function() {
758
+ var d = this, C = this.resolveChartOptions(this.props), h = {};
759
+ this.containerRef.current && this.props.renderInShadowDom ? C.renderAt = this.containerRef.current : C.renderAt = this.containerId, Object.keys(this.props).forEach(function(j) {
760
+ var k = j.match(/^fcEvent-.*/i);
761
+ if (k && typeof d.props[j] == "function") {
762
+ var R = j.replace(/^fcEvent-/i, "");
763
+ h[R] = d.props[j];
764
+ }
765
+ }), Object.keys(h).length > 0 && (C.events === void 0 ? C.events = h : C.events = Object.assign(C.events, h)), this.chartObj = new this.FusionCharts(C), this.chartObj.render(), this.oldOptions = C, this.props.onRender && typeof this.props.onRender == "function" && this.props.onRender(this.chartObj);
766
+ }
767
+ }, {
768
+ key: "resolveChartOptions",
769
+ value: function(d) {
770
+ var C = d.chartConfig ? d.chartConfig : {}, h = i.default.reduce(function(j, k) {
771
+ return j[k] = d[k], j;
772
+ }, {});
773
+ return Object.assign(h, C), e.isObject(h.dataSource) && !e.checkIfDataTableExists(h.dataSource) ? h.dataSource = e.deepCopyOf(h.dataSource) : e.isObject(h.dataSource) && e.checkIfDataTableExists(h.dataSource) && (h.dataSource = e.cloneDataSource(h.dataSource, "clone")), e.isObject(h.link) && (h.link = e.deepCopyOf(h.link)), e.isObject(h.events) && (h.events = Object.assign({}, h.events)), h;
774
+ }
775
+ }, {
776
+ key: "render",
777
+ value: function() {
778
+ return /* @__PURE__ */ v.default.createElement("div", {
779
+ ref: this.containerRef,
780
+ className: this.props.className,
781
+ id: this.containerId
782
+ });
783
+ }
784
+ }], [{
785
+ key: "fcRoot",
786
+ value: function(d) {
787
+ for (var C = arguments.length, h = new Array(C > 1 ? C - 1 : 0), j = 1; j < C; j++)
788
+ h[j - 1] = arguments[j];
789
+ h.forEach(function(k) {
790
+ k.getName && k.getType || k.name && k.type ? d.addDep(k) : k(d);
791
+ }), b.fusionChartsCore = d;
792
+ }
793
+ }]);
794
+ })(v.default.Component);
795
+ r.default = I;
796
+ })(ae)), ae;
797
+ }
798
+ var vt = gt();
799
+ const mt = /* @__PURE__ */ Ge(vt), pt = "_sankey_xb921_1", yt = "_scrollArea_xb921_32", _t = "_stackedArea_xb921_32", bt = "_msCombiDy2d_xb921_32", Ct = "_stackedcolumn2d_xb921_44", Ot = "_scrollStackedColumn2d_xb921_44", St = "_fusion_chart_wrapper_xb921_179", D = {
800
+ "ckds-finops-charts": "_ckds-finops-charts_xb921_1",
801
+ sankey: pt,
802
+ scrollArea: yt,
803
+ stackedArea: _t,
804
+ msCombiDy2d: bt,
805
+ stackedcolumn2d: Ct,
806
+ scrollStackedColumn2d: Ot,
807
+ fusion_chart_wrapper: St,
808
+ "doughnut-legend": "_doughnut-legend_xb921_183",
809
+ "doughnut-legend-item": "_doughnut-legend-item_xb921_192",
810
+ "doughnut-legend-item--hidden": "_doughnut-legend-item--hidden_xb921_204",
811
+ "doughnut-legend-text": "_doughnut-legend-text_xb921_207",
812
+ "doughnut-legend-icon": "_doughnut-legend-icon_xb921_211"
813
+ }, jt = mt;
814
+ function At(r) {
815
+ return r.chartType === "stackedArea" ? (r.palettecolors || Ne).split(",").map((g) => g.trim()) : r.chartType === "scrollArea" || r.chartType === "line" ? (r.palettecolors || "#8ECFFF").split(",").map((g) => g.trim()) : (r.palettecolors || ee).split(",").map((v) => v.trim());
816
+ }
817
+ function wt({ items: r, colors: l, hiddenSeries: v, onToggle: g }) {
818
+ return r.length === 0 ? null : /* @__PURE__ */ $("div", { className: D["doughnut-legend"], children: r.map((e, i) => {
819
+ const a = !!v[e];
820
+ return /* @__PURE__ */ Fe(
821
+ "button",
822
+ {
823
+ type: "button",
824
+ className: xe(
825
+ D["doughnut-legend-item"],
826
+ a && D["doughnut-legend-item--hidden"]
827
+ ),
828
+ onClick: () => g(e),
829
+ "aria-pressed": !a,
830
+ "aria-label": `Toggle ${e} series`,
831
+ children: [
832
+ /* @__PURE__ */ $(
833
+ "span",
834
+ {
835
+ className: D["doughnut-legend-icon"],
836
+ style: {
837
+ backgroundColor: a ? "#C2C2C2" : l[i % l.length]
838
+ }
839
+ }
840
+ ),
841
+ /* @__PURE__ */ $("span", { className: D["doughnut-legend-text"], children: e })
842
+ ]
843
+ },
844
+ e || i
845
+ );
846
+ }) });
847
+ }
848
+ function kt(r) {
849
+ const { chartType: l, showLegend: v } = r;
850
+ if (v === "0") return null;
851
+ if (l === "doughnutChart")
852
+ return (r.graphData?.data || []).map((i) => i.legendItemName || i.label || "");
853
+ if (l === "multipleLineChart" || l === "groupChart" || l === "stackedcolumn2d" || l === "stackedArea" || l === "stackBarChart" || l === "scrollColumn2d" || l === "scrollStackedColumn2d" || l === "msCombiDy2d") {
854
+ if (l === "scrollColumn2d" && !(!Array.isArray(r.graphData) && r.graphData?.dataset))
855
+ return null;
856
+ const e = r.graphData?.dataset || [];
857
+ if (e.length > 0)
858
+ return e.map((i) => i.seriesname || "");
859
+ }
860
+ if (l === "scrollArea") {
861
+ if (!Array.isArray(r.graphData) && r.graphData?.dataset) {
862
+ const i = r.graphData?.dataset || [];
863
+ if (i.length > 0)
864
+ return i.map((a) => a.seriesname || "");
865
+ }
866
+ return [r.legendLabel || "Spend"];
867
+ }
868
+ if (l === "line")
869
+ return [r.legendLabel || "Series 1"];
870
+ if ((l === "column2d" || l === "bar2d" || l === "area") && Array.isArray(r.graphData)) {
871
+ const g = r.graphData;
872
+ if (g.length > 0)
873
+ return g.map((e) => e.label || "");
874
+ }
875
+ return r.legendLabel && v === "1" ? [r.legendLabel] : null;
876
+ }
877
+ function Rt(r) {
878
+ return [
879
+ "multipleLineChart",
880
+ "groupChart",
881
+ "stackedcolumn2d",
882
+ "stackedArea",
883
+ "stackBarChart",
884
+ "scrollArea",
885
+ "scrollColumn2d",
886
+ "scrollStackedColumn2d",
887
+ "msCombiDy2d"
888
+ ].includes(r);
889
+ }
890
+ function Ut(r, l, v, g) {
891
+ if (!Object.values(l).some(Boolean)) return r;
892
+ if (v === "doughnutChart") {
893
+ const f = r;
894
+ if (!f?.data) return r;
895
+ const m = (g || ee).split(",").map((S) => S.trim()), t = f.data.map((S, A) => ({
896
+ ...S,
897
+ color: S.color || m[A % m.length]
898
+ })).filter(
899
+ (S) => !l[S.legendItemName || S.label || ""]
900
+ );
901
+ return { ...f, data: t };
902
+ }
903
+ if ((v === "scrollArea" || v === "line") && Array.isArray(r))
904
+ return Object.values(l).some(Boolean) ? [] : r;
905
+ if (v === "column2d" || v === "bar2d" || v === "area") {
906
+ if (Array.isArray(r)) {
907
+ const f = (g || ee).split(",").map((t) => t.trim());
908
+ return r.map((t, S) => ({
909
+ ...t,
910
+ color: t.color || f[S % f.length]
911
+ })).filter((t) => !l[t.label || ""]);
912
+ }
913
+ return r;
914
+ }
915
+ if (!Rt(v)) return r;
916
+ const i = r;
917
+ if (!i?.dataset) return r;
918
+ const a = (v === "stackedArea" ? g || Ne : g || ee).split(",").map((f) => f.trim()), u = i.dataset.map((f, m) => ({
919
+ ...f,
920
+ color: f.color || a[m % a.length]
921
+ })).filter(
922
+ (f) => !l[f.seriesname || ""]
923
+ );
924
+ return { ...i, dataset: u };
925
+ }
926
+ function Mt(r) {
927
+ const { chartType: l, applyRoundedBarsOnRender: v } = r, [g, e] = de({}), [i, a] = de(!1), y = Qe(null), u = he((o) => {
928
+ e((n) => ({
929
+ ...n,
930
+ [o]: !n[o]
931
+ }));
932
+ }, []), f = ge(
933
+ () => Ut(r.graphData, g, l, r.palettecolors),
934
+ [r.graphData, g, l, r.palettecolors]
935
+ ), m = Xe({ ...r, graphData: f }), O = ge(
936
+ () => Object.entries(g).filter(([, o]) => o).map(([o]) => o).join("|") || "all",
937
+ [g]
938
+ ), t = he(() => {
939
+ if (!v || !y.current) return;
940
+ const o = y.current;
941
+ if (o.getAttribute("data-rounded-applied") === "true") return;
942
+ const n = o.querySelector("svg");
943
+ if (!n) return;
944
+ const c = Array.from(n.querySelectorAll("rect")), p = l === "bar2d", I = c.filter((_) => {
945
+ const b = parseFloat(_.getAttribute("height") || "0"), w = parseFloat(_.getAttribute("width") || "0"), d = _.getAttribute("fill") || "", C = d === "#ffffff" || d === "none" || d === "transparent" || d === "#FFFFFF";
946
+ return b > 10 && w > 2 && !C;
947
+ });
948
+ if (I.length !== 0) {
949
+ if (p)
950
+ I.forEach((_) => {
951
+ const b = parseFloat(_.getAttribute("x") || "0"), w = parseFloat(_.getAttribute("y") || "0"), d = parseFloat(_.getAttribute("width") || "0"), C = parseFloat(_.getAttribute("height") || "0"), h = 4, j = document.createElementNS("http://www.w3.org/2000/svg", "path"), k = `M${b},${w} L${b + d - h},${w} Q${b + d},${w} ${b + d},${w + h} L${b + d},${w + C - h} Q${b + d},${w + C} ${b + d - h},${w + C} L${b},${w + C} Z`;
952
+ j.setAttribute("d", k), ["fill", "fill-opacity", "stroke", "stroke-width", "opacity", "class"].forEach((M) => {
953
+ const U = _.getAttribute(M);
954
+ U && j.setAttribute(M, U);
955
+ }), _.getAttribute("style") && j.setAttribute("style", _.getAttribute("style") || ""), _.parentNode?.replaceChild(j, _);
956
+ });
957
+ else {
958
+ const _ = {};
959
+ I.forEach((b) => {
960
+ const d = `${Math.round(parseFloat(b.getAttribute("x") || "0"))}`;
961
+ _[d] || (_[d] = []), _[d].push(b);
962
+ }), Object.values(_).forEach((b) => {
963
+ let w = null, d = 1 / 0;
964
+ b.forEach((h) => {
965
+ const j = parseFloat(h.getAttribute("y") || "0");
966
+ j < d && (d = j, w = h);
967
+ });
968
+ const C = w;
969
+ if (C) {
970
+ const h = parseFloat(C.getAttribute("x") || "0"), j = parseFloat(C.getAttribute("y") || "0"), k = parseFloat(C.getAttribute("width") || "0"), R = parseFloat(C.getAttribute("height") || "0"), M = 4, U = document.createElementNS("http://www.w3.org/2000/svg", "path"), Ke = `M${h},${j + R} L${h},${j + M} Q${h},${j} ${h + M},${j} L${h + k - M},${j} Q${h + k},${j} ${h + k},${j + M} L${h + k},${j + R} Z`;
971
+ U.setAttribute("d", Ke), ["fill", "fill-opacity", "stroke", "stroke-width", "opacity", "class"].forEach((fe) => {
972
+ const le = C.getAttribute(fe);
973
+ le && U.setAttribute(fe, le);
974
+ }), C.getAttribute("style") && U.setAttribute("style", C.getAttribute("style") || ""), C.parentNode?.replaceChild(U, C);
975
+ }
976
+ });
977
+ }
978
+ o.setAttribute("data-rounded-applied", "true");
979
+ }
980
+ }, [v, l]);
981
+ ve(() => {
982
+ if (!v) return;
983
+ y.current && y.current.removeAttribute("data-rounded-applied");
984
+ const o = y.current;
985
+ if (!o) return;
986
+ const n = () => {
987
+ const _ = o.querySelector("svg")?.querySelectorAll("rect");
988
+ return _ && _.length > 5 ? (t(), !0) : !1;
989
+ };
990
+ if (n()) return;
991
+ const c = new MutationObserver(() => {
992
+ n() && c.disconnect();
993
+ });
994
+ c.observe(o, { childList: !0, subtree: !0 });
995
+ const p = [
996
+ setTimeout(() => n(), 500),
997
+ setTimeout(() => n(), 1500),
998
+ setTimeout(() => n(), 3e3)
999
+ ];
1000
+ return () => {
1001
+ c.disconnect(), p.forEach(clearTimeout);
1002
+ };
1003
+ }, [v, f, t]), ve(() => {
1004
+ a(!1);
1005
+ const o = y.current;
1006
+ if (!o) return;
1007
+ const n = () => {
1008
+ const I = o.querySelector("svg");
1009
+ return I && I.getBoundingClientRect().height > 0 ? (a(!0), !0) : !1;
1010
+ };
1011
+ if (n()) return;
1012
+ const c = new MutationObserver(() => {
1013
+ n() && c.disconnect();
1014
+ });
1015
+ c.observe(o, { childList: !0, subtree: !0 });
1016
+ const p = setTimeout(() => {
1017
+ n(), c.disconnect();
1018
+ }, 2e3);
1019
+ return () => {
1020
+ c.disconnect(), clearTimeout(p);
1021
+ };
1022
+ }, [f, O]);
1023
+ const S = xe(
1024
+ D["ckds-finops-charts"],
1025
+ l === "sankey" && D.sankey,
1026
+ l === "stackedArea" && D.stackedArea,
1027
+ l === "scrollArea" && D.scrollArea,
1028
+ l === "msCombiDy2d" && D.msCombiDy2d,
1029
+ l === "stackedcolumn2d" && D.stackedcolumn2d,
1030
+ l === "scrollStackedColumn2d" && D.scrollStackedColumn2d
1031
+ );
1032
+ if (!m)
1033
+ return null;
1034
+ const A = kt(r), s = At(r);
1035
+ return /* @__PURE__ */ Fe("div", { className: S, children: [
1036
+ /* @__PURE__ */ $("div", { className: D.fusion_chart_wrapper, ref: y, children: /* @__PURE__ */ $(
1037
+ jt,
1038
+ {
1039
+ ...m,
1040
+ events: Ze(r),
1041
+ onRender: ze(r)
1042
+ },
1043
+ O
1044
+ ) }),
1045
+ A && i && /* @__PURE__ */ $(
1046
+ wt,
1047
+ {
1048
+ items: A,
1049
+ colors: s,
1050
+ hiddenSeries: g,
1051
+ onToggle: u
1052
+ }
1053
+ )
1054
+ ] });
1055
+ }
1056
+ Mt.displayName = "FusionChart";
1057
+ export {
1058
+ Mt as FusionChart
1059
+ };