react-core-ts 3.0.0 → 4.0.1

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 (1107) hide show
  1. package/README.md +59 -0
  2. package/dist/AutoComplete.d.ts +1 -1
  3. package/dist/AutoComplete.js +141 -150
  4. package/dist/AutoComplete.js.map +1 -1
  5. package/dist/AutoCompleteWithSelectedList.d.ts +1 -1
  6. package/dist/AutoCompleteWithSelectedList.js +294 -338
  7. package/dist/AutoCompleteWithSelectedList.js.map +1 -1
  8. package/dist/AutoCompleteWithTabFilter.d.ts +1 -1
  9. package/dist/AutoCompleteWithTabFilter.js +313 -345
  10. package/dist/AutoCompleteWithTabFilter.js.map +1 -1
  11. package/dist/AutoCompleteWithTreeStructure.d.ts +1 -1
  12. package/dist/AutoCompleteWithTreeStructure.js +213 -253
  13. package/dist/AutoCompleteWithTreeStructure.js.map +1 -1
  14. package/dist/ExpandableAutoComplete.d.ts +1 -1
  15. package/dist/ExpandableAutoComplete.js +266 -261
  16. package/dist/ExpandableAutoComplete.js.map +1 -1
  17. package/dist/ReactAutoComplete.js +323 -254
  18. package/dist/ReactAutoComplete.js.map +1 -1
  19. package/dist/ReactAutoCompleteDropdown.js +312 -250
  20. package/dist/ReactAutoCompleteDropdown.js.map +1 -1
  21. package/dist/ReactAutoCompleteSuggections.d.ts +1 -0
  22. package/dist/ReactAutoCompleteSuggections.js +245 -181
  23. package/dist/ReactAutoCompleteSuggections.js.map +1 -1
  24. package/dist/ReactAutoCompleteTableView.d.ts +23 -0
  25. package/dist/ReactAutoCompleteTableView.js +460 -329
  26. package/dist/ReactAutoCompleteTableView.js.map +1 -1
  27. package/dist/ReactCheckbox.js +5 -17
  28. package/dist/ReactCheckbox.js.map +1 -1
  29. package/dist/ReactOTPInput.js +35 -54
  30. package/dist/ReactOTPInput.js.map +1 -1
  31. package/dist/ReactRadioButton.js +7 -19
  32. package/dist/ReactRadioButton.js.map +1 -1
  33. package/dist/ReactTextArea.js +31 -41
  34. package/dist/ReactTextArea.js.map +1 -1
  35. package/dist/ReactTextField.js +68 -76
  36. package/dist/ReactTextField.js.map +1 -1
  37. package/dist/commontypes.d.ts +2 -2
  38. package/dist/components/DropdownList.js +5 -15
  39. package/dist/components/DropdownList.js.map +1 -1
  40. package/dist/components/Icons.js +5 -16
  41. package/dist/components/Icons.js.map +1 -1
  42. package/dist/components/InputActions.js +7 -19
  43. package/dist/components/InputActions.js.map +1 -1
  44. package/dist/components/TreeNode.js +10 -22
  45. package/dist/components/TreeNode.js.map +1 -1
  46. package/dist/components/customIcons/Attachments.js +2 -3
  47. package/dist/components/customIcons/Attachments.js.map +1 -1
  48. package/dist/components/customIcons/CommentIcon.js +2 -3
  49. package/dist/components/customIcons/CommentIcon.js.map +1 -1
  50. package/dist/components/customIcons/IconList.js +230 -241
  51. package/dist/components/customIcons/IconList.js.map +1 -1
  52. package/dist/components/customIcons/QuestionIcon.js +3 -15
  53. package/dist/components/customIcons/QuestionIcon.js.map +1 -1
  54. package/dist/components/customIcons/Settings.js +3 -15
  55. package/dist/components/customIcons/Settings.js.map +1 -1
  56. package/dist/components/customIcons/Ship.js +2 -3
  57. package/dist/components/customIcons/Ship.js.map +1 -1
  58. package/dist/components/customIcons/ShipIconList.js +16 -16
  59. package/dist/components/customIcons/ShipIconList.js.map +1 -1
  60. package/dist/components/customIcons/ToolIcon.d.ts +1 -1
  61. package/dist/components/customIcons/ToolIcon.js +2 -2
  62. package/dist/components/customIcons/ToolIcon.js.map +1 -1
  63. package/dist/components/customIcons/closeRoundedIcon.d.ts +1 -1
  64. package/dist/components/customIcons/closeRoundedIcon.js +2 -2
  65. package/dist/components/customIcons/closeRoundedIcon.js.map +1 -1
  66. package/dist/components/customIcons/downTreeArrowIcon.d.ts +1 -1
  67. package/dist/components/customIcons/downTreeArrowIcon.js +2 -2
  68. package/dist/components/customIcons/downTreeArrowIcon.js.map +1 -1
  69. package/dist/components/customIcons/iconslibrary/ActionRoleIcon.d.ts +1 -1
  70. package/dist/components/customIcons/iconslibrary/ActionRoleIcon.js +2 -2
  71. package/dist/components/customIcons/iconslibrary/ActionRoleIcon.js.map +1 -1
  72. package/dist/components/customIcons/iconslibrary/ActionRoleRoleIcon.d.ts +1 -1
  73. package/dist/components/customIcons/iconslibrary/ActionRoleRoleIcon.js +2 -2
  74. package/dist/components/customIcons/iconslibrary/ActionRoleRoleIcon.js.map +1 -1
  75. package/dist/components/customIcons/iconslibrary/Activate.d.ts +1 -1
  76. package/dist/components/customIcons/iconslibrary/Activate.js +2 -2
  77. package/dist/components/customIcons/iconslibrary/Activate.js.map +1 -1
  78. package/dist/components/customIcons/iconslibrary/Alert2.d.ts +2 -1
  79. package/dist/components/customIcons/iconslibrary/Alert2.js +2 -2
  80. package/dist/components/customIcons/iconslibrary/Alert2.js.map +1 -1
  81. package/dist/components/customIcons/iconslibrary/AlertIcon.js +3 -14
  82. package/dist/components/customIcons/iconslibrary/AlertIcon.js.map +1 -1
  83. package/dist/components/customIcons/iconslibrary/ApprovedIcon.d.ts +1 -1
  84. package/dist/components/customIcons/iconslibrary/ApprovedIcon.js +3 -14
  85. package/dist/components/customIcons/iconslibrary/ApprovedIcon.js.map +1 -1
  86. package/dist/components/customIcons/iconslibrary/Archieve.d.ts +1 -1
  87. package/dist/components/customIcons/iconslibrary/Archieve.js +2 -2
  88. package/dist/components/customIcons/iconslibrary/Archieve.js.map +1 -1
  89. package/dist/components/customIcons/iconslibrary/ArchieveList.d.ts +1 -1
  90. package/dist/components/customIcons/iconslibrary/ArchieveList.js +2 -2
  91. package/dist/components/customIcons/iconslibrary/ArchieveList.js.map +1 -1
  92. package/dist/components/customIcons/iconslibrary/Audit.d.ts +1 -1
  93. package/dist/components/customIcons/iconslibrary/Audit.js +2 -2
  94. package/dist/components/customIcons/iconslibrary/Audit.js.map +1 -1
  95. package/dist/components/customIcons/iconslibrary/Authorize.d.ts +2 -1
  96. package/dist/components/customIcons/iconslibrary/Authorize.js +2 -2
  97. package/dist/components/customIcons/iconslibrary/Authorize.js.map +1 -1
  98. package/dist/components/customIcons/iconslibrary/AwardIcon.d.ts +1 -1
  99. package/dist/components/customIcons/iconslibrary/AwardIcon.js +2 -2
  100. package/dist/components/customIcons/iconslibrary/AwardIcon.js.map +1 -1
  101. package/dist/components/customIcons/iconslibrary/Back.d.ts +1 -1
  102. package/dist/components/customIcons/iconslibrary/Back.js +2 -2
  103. package/dist/components/customIcons/iconslibrary/Back.js.map +1 -1
  104. package/dist/components/customIcons/iconslibrary/BackToSearch.d.ts +1 -1
  105. package/dist/components/customIcons/iconslibrary/BackToSearch.js +2 -2
  106. package/dist/components/customIcons/iconslibrary/BackToSearch.js.map +1 -1
  107. package/dist/components/customIcons/iconslibrary/Bank.d.ts +1 -1
  108. package/dist/components/customIcons/iconslibrary/Bank.js +2 -2
  109. package/dist/components/customIcons/iconslibrary/Bank.js.map +1 -1
  110. package/dist/components/customIcons/iconslibrary/BankIcon.d.ts +1 -1
  111. package/dist/components/customIcons/iconslibrary/BankIcon.js +2 -2
  112. package/dist/components/customIcons/iconslibrary/BankIcon.js.map +1 -1
  113. package/dist/components/customIcons/iconslibrary/BellIcon.d.ts +1 -1
  114. package/dist/components/customIcons/iconslibrary/BellIcon.js +2 -2
  115. package/dist/components/customIcons/iconslibrary/BellIcon.js.map +1 -1
  116. package/dist/components/customIcons/iconslibrary/BookmarkCheck.d.ts +2 -1
  117. package/dist/components/customIcons/iconslibrary/BookmarkCheck.js +2 -2
  118. package/dist/components/customIcons/iconslibrary/BookmarkCheck.js.map +1 -1
  119. package/dist/components/customIcons/iconslibrary/BudgetChart.d.ts +1 -1
  120. package/dist/components/customIcons/iconslibrary/BudgetChart.js +3 -14
  121. package/dist/components/customIcons/iconslibrary/BudgetChart.js.map +1 -1
  122. package/dist/components/customIcons/iconslibrary/BudgetCustom.d.ts +1 -1
  123. package/dist/components/customIcons/iconslibrary/BudgetCustom.js +3 -14
  124. package/dist/components/customIcons/iconslibrary/BudgetCustom.js.map +1 -1
  125. package/dist/components/customIcons/iconslibrary/BudgetExisting.d.ts +1 -1
  126. package/dist/components/customIcons/iconslibrary/BudgetExisting.js +3 -14
  127. package/dist/components/customIcons/iconslibrary/BudgetExisting.js.map +1 -1
  128. package/dist/components/customIcons/iconslibrary/BudgetItemIcon.js +2 -2
  129. package/dist/components/customIcons/iconslibrary/BudgetItemIcon.js.map +1 -1
  130. package/dist/components/customIcons/iconslibrary/BusinessUnitIcon.js +3 -14
  131. package/dist/components/customIcons/iconslibrary/BusinessUnitIcon.js.map +1 -1
  132. package/dist/components/customIcons/iconslibrary/CalendarIcon.d.ts +1 -1
  133. package/dist/components/customIcons/iconslibrary/CalendarIcon.js +2 -2
  134. package/dist/components/customIcons/iconslibrary/CalendarIcon.js.map +1 -1
  135. package/dist/components/customIcons/iconslibrary/CalenderUserIcon.d.ts +1 -1
  136. package/dist/components/customIcons/iconslibrary/CalenderUserIcon.js +2 -2
  137. package/dist/components/customIcons/iconslibrary/CalenderUserIcon.js.map +1 -1
  138. package/dist/components/customIcons/iconslibrary/CapacityIcon.d.ts +1 -1
  139. package/dist/components/customIcons/iconslibrary/CapacityIcon.js +3 -14
  140. package/dist/components/customIcons/iconslibrary/CapacityIcon.js.map +1 -1
  141. package/dist/components/customIcons/iconslibrary/CaptionIcon.d.ts +1 -1
  142. package/dist/components/customIcons/iconslibrary/CaptionIcon.js +2 -2
  143. package/dist/components/customIcons/iconslibrary/CaptionIcon.js.map +1 -1
  144. package/dist/components/customIcons/iconslibrary/CardCheck.d.ts +1 -1
  145. package/dist/components/customIcons/iconslibrary/CardCheck.js +3 -14
  146. package/dist/components/customIcons/iconslibrary/CardCheck.js.map +1 -1
  147. package/dist/components/customIcons/iconslibrary/CardListIcon.d.ts +1 -1
  148. package/dist/components/customIcons/iconslibrary/CardListIcon.js +2 -2
  149. package/dist/components/customIcons/iconslibrary/CardListIcon.js.map +1 -1
  150. package/dist/components/customIcons/iconslibrary/Certificate.d.ts +1 -1
  151. package/dist/components/customIcons/iconslibrary/Certificate.js +2 -2
  152. package/dist/components/customIcons/iconslibrary/Certificate.js.map +1 -1
  153. package/dist/components/customIcons/iconslibrary/Check.d.ts +1 -1
  154. package/dist/components/customIcons/iconslibrary/Check.js +2 -2
  155. package/dist/components/customIcons/iconslibrary/Check.js.map +1 -1
  156. package/dist/components/customIcons/iconslibrary/CheckBoxCheck.d.ts +1 -1
  157. package/dist/components/customIcons/iconslibrary/CheckBoxCheck.js +3 -14
  158. package/dist/components/customIcons/iconslibrary/CheckBoxCheck.js.map +1 -1
  159. package/dist/components/customIcons/iconslibrary/CheckBoxCheckDisabled.d.ts +1 -1
  160. package/dist/components/customIcons/iconslibrary/CheckBoxCheckDisabled.js +3 -14
  161. package/dist/components/customIcons/iconslibrary/CheckBoxCheckDisabled.js.map +1 -1
  162. package/dist/components/customIcons/iconslibrary/CheckBoxInterMediate.d.ts +1 -1
  163. package/dist/components/customIcons/iconslibrary/CheckBoxInterMediate.js +3 -14
  164. package/dist/components/customIcons/iconslibrary/CheckBoxInterMediate.js.map +1 -1
  165. package/dist/components/customIcons/iconslibrary/CheckBoxInterMediateDisabled.d.ts +1 -1
  166. package/dist/components/customIcons/iconslibrary/CheckBoxInterMediateDisabled.js +3 -14
  167. package/dist/components/customIcons/iconslibrary/CheckBoxInterMediateDisabled.js.map +1 -1
  168. package/dist/components/customIcons/iconslibrary/CheckBoxUnchecked.d.ts +1 -1
  169. package/dist/components/customIcons/iconslibrary/CheckBoxUnchecked.js +3 -14
  170. package/dist/components/customIcons/iconslibrary/CheckBoxUnchecked.js.map +1 -1
  171. package/dist/components/customIcons/iconslibrary/CheckBoxUncheckedDisabled.d.ts +1 -1
  172. package/dist/components/customIcons/iconslibrary/CheckBoxUncheckedDisabled.js +3 -14
  173. package/dist/components/customIcons/iconslibrary/CheckBoxUncheckedDisabled.js.map +1 -1
  174. package/dist/components/customIcons/iconslibrary/CheckCircleIcon.d.ts +1 -1
  175. package/dist/components/customIcons/iconslibrary/CheckCircleIcon.js +2 -2
  176. package/dist/components/customIcons/iconslibrary/CheckCircleIcon.js.map +1 -1
  177. package/dist/components/customIcons/iconslibrary/CheckFilledIcon.d.ts +1 -1
  178. package/dist/components/customIcons/iconslibrary/CheckFilledIcon.js +2 -2
  179. package/dist/components/customIcons/iconslibrary/CheckFilledIcon.js.map +1 -1
  180. package/dist/components/customIcons/iconslibrary/CheckIcon.d.ts +1 -1
  181. package/dist/components/customIcons/iconslibrary/CheckIcon.js +2 -2
  182. package/dist/components/customIcons/iconslibrary/CheckIcon.js.map +1 -1
  183. package/dist/components/customIcons/iconslibrary/CheckIndeterminateIcon.d.ts +1 -1
  184. package/dist/components/customIcons/iconslibrary/CheckIndeterminateIcon.js +2 -2
  185. package/dist/components/customIcons/iconslibrary/CheckIndeterminateIcon.js.map +1 -1
  186. package/dist/components/customIcons/iconslibrary/CheckMenu.d.ts +1 -1
  187. package/dist/components/customIcons/iconslibrary/CheckMenu.js +2 -2
  188. package/dist/components/customIcons/iconslibrary/CheckMenu.js.map +1 -1
  189. package/dist/components/customIcons/iconslibrary/CheckSwitchIcon.js +6 -18
  190. package/dist/components/customIcons/iconslibrary/CheckSwitchIcon.js.map +1 -1
  191. package/dist/components/customIcons/iconslibrary/Clock.d.ts +2 -1
  192. package/dist/components/customIcons/iconslibrary/Clock.js +2 -2
  193. package/dist/components/customIcons/iconslibrary/Clock.js.map +1 -1
  194. package/dist/components/customIcons/iconslibrary/CloseIcon.js +2 -2
  195. package/dist/components/customIcons/iconslibrary/CloseIcon.js.map +1 -1
  196. package/dist/components/customIcons/iconslibrary/ConfigIcon.d.ts +1 -1
  197. package/dist/components/customIcons/iconslibrary/ConfigIcon.js +3 -14
  198. package/dist/components/customIcons/iconslibrary/ConfigIcon.js.map +1 -1
  199. package/dist/components/customIcons/iconslibrary/ConfirmCancel.js +3 -14
  200. package/dist/components/customIcons/iconslibrary/ConfirmCancel.js.map +1 -1
  201. package/dist/components/customIcons/iconslibrary/ConfirmInfo.js +3 -14
  202. package/dist/components/customIcons/iconslibrary/ConfirmInfo.js.map +1 -1
  203. package/dist/components/customIcons/iconslibrary/ConfirmSuccess.js +3 -14
  204. package/dist/components/customIcons/iconslibrary/ConfirmSuccess.js.map +1 -1
  205. package/dist/components/customIcons/iconslibrary/ConfirmVerify.js +3 -14
  206. package/dist/components/customIcons/iconslibrary/ConfirmVerify.js.map +1 -1
  207. package/dist/components/customIcons/iconslibrary/ConfirmWarning.js +3 -14
  208. package/dist/components/customIcons/iconslibrary/ConfirmWarning.js.map +1 -1
  209. package/dist/components/customIcons/iconslibrary/Copy.d.ts +1 -1
  210. package/dist/components/customIcons/iconslibrary/Copy.js +2 -2
  211. package/dist/components/customIcons/iconslibrary/Copy.js.map +1 -1
  212. package/dist/components/customIcons/iconslibrary/CostCenterIcon.js +2 -2
  213. package/dist/components/customIcons/iconslibrary/CostCenterIcon.js.map +1 -1
  214. package/dist/components/customIcons/iconslibrary/CsvIcon.d.ts +1 -1
  215. package/dist/components/customIcons/iconslibrary/CsvIcon.js +2 -2
  216. package/dist/components/customIcons/iconslibrary/CsvIcon.js.map +1 -1
  217. package/dist/components/customIcons/iconslibrary/DashFolderIcon.d.ts +1 -1
  218. package/dist/components/customIcons/iconslibrary/DashFolderIcon.js +2 -2
  219. package/dist/components/customIcons/iconslibrary/DashFolderIcon.js.map +1 -1
  220. package/dist/components/customIcons/iconslibrary/DashTileIcon.d.ts +1 -1
  221. package/dist/components/customIcons/iconslibrary/DashTileIcon.js +2 -2
  222. package/dist/components/customIcons/iconslibrary/DashTileIcon.js.map +1 -1
  223. package/dist/components/customIcons/iconslibrary/Default.d.ts +1 -1
  224. package/dist/components/customIcons/iconslibrary/Default.js +2 -2
  225. package/dist/components/customIcons/iconslibrary/Default.js.map +1 -1
  226. package/dist/components/customIcons/iconslibrary/DeleteIcon.d.ts +1 -1
  227. package/dist/components/customIcons/iconslibrary/DeleteIcon.js +2 -2
  228. package/dist/components/customIcons/iconslibrary/DeleteIcon.js.map +1 -1
  229. package/dist/components/customIcons/iconslibrary/Details.d.ts +2 -1
  230. package/dist/components/customIcons/iconslibrary/Details.js +2 -2
  231. package/dist/components/customIcons/iconslibrary/Details.js.map +1 -1
  232. package/dist/components/customIcons/iconslibrary/DimentionIcon.d.ts +1 -1
  233. package/dist/components/customIcons/iconslibrary/DimentionIcon.js +2 -2
  234. package/dist/components/customIcons/iconslibrary/DimentionIcon.js.map +1 -1
  235. package/dist/components/customIcons/iconslibrary/DivisionIcon.d.ts +1 -1
  236. package/dist/components/customIcons/iconslibrary/DivisionIcon.js +2 -2
  237. package/dist/components/customIcons/iconslibrary/DivisionIcon.js.map +1 -1
  238. package/dist/components/customIcons/iconslibrary/DivisonIcon.js +3 -14
  239. package/dist/components/customIcons/iconslibrary/DivisonIcon.js.map +1 -1
  240. package/dist/components/customIcons/iconslibrary/DocxDoc.js +2 -2
  241. package/dist/components/customIcons/iconslibrary/DocxDoc.js.map +1 -1
  242. package/dist/components/customIcons/iconslibrary/Doller.d.ts +1 -1
  243. package/dist/components/customIcons/iconslibrary/Doller.js +2 -2
  244. package/dist/components/customIcons/iconslibrary/Doller.js.map +1 -1
  245. package/dist/components/customIcons/iconslibrary/DownArrow.d.ts +1 -1
  246. package/dist/components/customIcons/iconslibrary/DownArrow.js +2 -2
  247. package/dist/components/customIcons/iconslibrary/DownArrow.js.map +1 -1
  248. package/dist/components/customIcons/iconslibrary/DownArrowRounded.d.ts +1 -1
  249. package/dist/components/customIcons/iconslibrary/DownArrowRounded.js +3 -14
  250. package/dist/components/customIcons/iconslibrary/DownArrowRounded.js.map +1 -1
  251. package/dist/components/customIcons/iconslibrary/DownloadIcon.js +2 -2
  252. package/dist/components/customIcons/iconslibrary/DownloadIcon.js.map +1 -1
  253. package/dist/components/customIcons/iconslibrary/DraftIcon.d.ts +1 -1
  254. package/dist/components/customIcons/iconslibrary/DraftIcon.js +3 -14
  255. package/dist/components/customIcons/iconslibrary/DraftIcon.js.map +1 -1
  256. package/dist/components/customIcons/iconslibrary/DueIcon.d.ts +1 -1
  257. package/dist/components/customIcons/iconslibrary/DueIcon.js +2 -2
  258. package/dist/components/customIcons/iconslibrary/DueIcon.js.map +1 -1
  259. package/dist/components/customIcons/iconslibrary/EditIcon.js +2 -2
  260. package/dist/components/customIcons/iconslibrary/EditIcon.js.map +1 -1
  261. package/dist/components/customIcons/iconslibrary/EmpListIcon.d.ts +1 -1
  262. package/dist/components/customIcons/iconslibrary/EmpListIcon.js +3 -14
  263. package/dist/components/customIcons/iconslibrary/EmpListIcon.js.map +1 -1
  264. package/dist/components/customIcons/iconslibrary/Employee.d.ts +1 -1
  265. package/dist/components/customIcons/iconslibrary/Employee.js +2 -2
  266. package/dist/components/customIcons/iconslibrary/Employee.js.map +1 -1
  267. package/dist/components/customIcons/iconslibrary/Employment.d.ts +1 -1
  268. package/dist/components/customIcons/iconslibrary/Employment.js +2 -2
  269. package/dist/components/customIcons/iconslibrary/Employment.js.map +1 -1
  270. package/dist/components/customIcons/iconslibrary/ErrorCircle.d.ts +1 -1
  271. package/dist/components/customIcons/iconslibrary/ErrorCircle.js +2 -2
  272. package/dist/components/customIcons/iconslibrary/ErrorCircle.js.map +1 -1
  273. package/dist/components/customIcons/iconslibrary/Excel.js +2 -2
  274. package/dist/components/customIcons/iconslibrary/Excel.js.map +1 -1
  275. package/dist/components/customIcons/iconslibrary/Expand.js +2 -3
  276. package/dist/components/customIcons/iconslibrary/Expand.js.map +1 -1
  277. package/dist/components/customIcons/iconslibrary/ExpandFileIcon.d.ts +1 -1
  278. package/dist/components/customIcons/iconslibrary/ExpandFileIcon.js +2 -2
  279. package/dist/components/customIcons/iconslibrary/ExpandFileIcon.js.map +1 -1
  280. package/dist/components/customIcons/iconslibrary/ExpandIconDash.d.ts +1 -1
  281. package/dist/components/customIcons/iconslibrary/ExpandIconDash.js +2 -2
  282. package/dist/components/customIcons/iconslibrary/ExpandIconDash.js.map +1 -1
  283. package/dist/components/customIcons/iconslibrary/Expired.d.ts +1 -1
  284. package/dist/components/customIcons/iconslibrary/Expired.js +3 -14
  285. package/dist/components/customIcons/iconslibrary/Expired.js.map +1 -1
  286. package/dist/components/customIcons/iconslibrary/ExplorerIcon.d.ts +1 -1
  287. package/dist/components/customIcons/iconslibrary/ExplorerIcon.js +2 -2
  288. package/dist/components/customIcons/iconslibrary/ExplorerIcon.js.map +1 -1
  289. package/dist/components/customIcons/iconslibrary/Export.d.ts +2 -1
  290. package/dist/components/customIcons/iconslibrary/Export.js +2 -2
  291. package/dist/components/customIcons/iconslibrary/Export.js.map +1 -1
  292. package/dist/components/customIcons/iconslibrary/ExternalLinkIcon.d.ts +1 -1
  293. package/dist/components/customIcons/iconslibrary/ExternalLinkIcon.js +2 -2
  294. package/dist/components/customIcons/iconslibrary/ExternalLinkIcon.js.map +1 -1
  295. package/dist/components/customIcons/iconslibrary/Eye.js +2 -2
  296. package/dist/components/customIcons/iconslibrary/Eye.js.map +1 -1
  297. package/dist/components/customIcons/iconslibrary/EyeClose.js +2 -3
  298. package/dist/components/customIcons/iconslibrary/EyeClose.js.map +1 -1
  299. package/dist/components/customIcons/iconslibrary/FavouriteIcon.d.ts +1 -1
  300. package/dist/components/customIcons/iconslibrary/FavouriteIcon.js +2 -2
  301. package/dist/components/customIcons/iconslibrary/FavouriteIcon.js.map +1 -1
  302. package/dist/components/customIcons/iconslibrary/FavouriteIconFilled.d.ts +1 -1
  303. package/dist/components/customIcons/iconslibrary/FavouriteIconFilled.js +2 -2
  304. package/dist/components/customIcons/iconslibrary/FavouriteIconFilled.js.map +1 -1
  305. package/dist/components/customIcons/iconslibrary/FavouritedIcon.d.ts +1 -1
  306. package/dist/components/customIcons/iconslibrary/FavouritedIcon.js +2 -2
  307. package/dist/components/customIcons/iconslibrary/FavouritedIcon.js.map +1 -1
  308. package/dist/components/customIcons/iconslibrary/FileIcon.js +3 -14
  309. package/dist/components/customIcons/iconslibrary/FileIcon.js.map +1 -1
  310. package/dist/components/customIcons/iconslibrary/FileReport.d.ts +2 -1
  311. package/dist/components/customIcons/iconslibrary/FileReport.js +2 -2
  312. package/dist/components/customIcons/iconslibrary/FileReport.js.map +1 -1
  313. package/dist/components/customIcons/iconslibrary/Fill-Info-Icon.d.ts +1 -1
  314. package/dist/components/customIcons/iconslibrary/Fill-Info-Icon.js +2 -2
  315. package/dist/components/customIcons/iconslibrary/Fill-Info-Icon.js.map +1 -1
  316. package/dist/components/customIcons/iconslibrary/FilterIcon.d.ts +1 -1
  317. package/dist/components/customIcons/iconslibrary/FilterIcon.js +3 -14
  318. package/dist/components/customIcons/iconslibrary/FilterIcon.js.map +1 -1
  319. package/dist/components/customIcons/iconslibrary/Finalise.d.ts +1 -1
  320. package/dist/components/customIcons/iconslibrary/Finalise.js +2 -2
  321. package/dist/components/customIcons/iconslibrary/Finalise.js.map +1 -1
  322. package/dist/components/customIcons/iconslibrary/FindFile.d.ts +2 -1
  323. package/dist/components/customIcons/iconslibrary/FindFile.js +2 -2
  324. package/dist/components/customIcons/iconslibrary/FindFile.js.map +1 -1
  325. package/dist/components/customIcons/iconslibrary/FleetIcon.js +3 -14
  326. package/dist/components/customIcons/iconslibrary/FleetIcon.js.map +1 -1
  327. package/dist/components/customIcons/iconslibrary/FolderIcon.d.ts +1 -1
  328. package/dist/components/customIcons/iconslibrary/FolderIcon.js +2 -2
  329. package/dist/components/customIcons/iconslibrary/FolderIcon.js.map +1 -1
  330. package/dist/components/customIcons/iconslibrary/ForwardArrowIcon.d.ts +1 -1
  331. package/dist/components/customIcons/iconslibrary/ForwardArrowIcon.js +2 -2
  332. package/dist/components/customIcons/iconslibrary/ForwardArrowIcon.js.map +1 -1
  333. package/dist/components/customIcons/iconslibrary/FunctionIcon.d.ts +1 -1
  334. package/dist/components/customIcons/iconslibrary/FunctionIcon.js +2 -2
  335. package/dist/components/customIcons/iconslibrary/FunctionIcon.js.map +1 -1
  336. package/dist/components/customIcons/iconslibrary/GmailIcon.d.ts +1 -1
  337. package/dist/components/customIcons/iconslibrary/GmailIcon.js +2 -2
  338. package/dist/components/customIcons/iconslibrary/GmailIcon.js.map +1 -1
  339. package/dist/components/customIcons/iconslibrary/GraphViewDash.d.ts +1 -1
  340. package/dist/components/customIcons/iconslibrary/GraphViewDash.js +2 -2
  341. package/dist/components/customIcons/iconslibrary/GraphViewDash.js.map +1 -1
  342. package/dist/components/customIcons/iconslibrary/GroupIcon.js +3 -14
  343. package/dist/components/customIcons/iconslibrary/GroupIcon.js.map +1 -1
  344. package/dist/components/customIcons/iconslibrary/HamburgerIcon.js +2 -2
  345. package/dist/components/customIcons/iconslibrary/HamburgerIcon.js.map +1 -1
  346. package/dist/components/customIcons/iconslibrary/HeadOffice.d.ts +1 -1
  347. package/dist/components/customIcons/iconslibrary/HeadOffice.js +2 -2
  348. package/dist/components/customIcons/iconslibrary/HeadOffice.js.map +1 -1
  349. package/dist/components/customIcons/iconslibrary/HelpDocument.d.ts +2 -1
  350. package/dist/components/customIcons/iconslibrary/HelpDocument.js +2 -2
  351. package/dist/components/customIcons/iconslibrary/HelpDocument.js.map +1 -1
  352. package/dist/components/customIcons/iconslibrary/HelpIcon.d.ts +1 -1
  353. package/dist/components/customIcons/iconslibrary/HelpIcon.js +2 -2
  354. package/dist/components/customIcons/iconslibrary/HelpIcon.js.map +1 -1
  355. package/dist/components/customIcons/iconslibrary/HistoryIcon.js +2 -2
  356. package/dist/components/customIcons/iconslibrary/HistoryIcon.js.map +1 -1
  357. package/dist/components/customIcons/iconslibrary/HomeIcon.d.ts +1 -1
  358. package/dist/components/customIcons/iconslibrary/HomeIcon.js +2 -2
  359. package/dist/components/customIcons/iconslibrary/HomeIcon.js.map +1 -1
  360. package/dist/components/customIcons/iconslibrary/IdleIcon.d.ts +2 -1
  361. package/dist/components/customIcons/iconslibrary/IdleIcon.js +3 -14
  362. package/dist/components/customIcons/iconslibrary/IdleIcon.js.map +1 -1
  363. package/dist/components/customIcons/iconslibrary/InfoCircle.d.ts +2 -1
  364. package/dist/components/customIcons/iconslibrary/InfoCircle.js +2 -2
  365. package/dist/components/customIcons/iconslibrary/InfoCircle.js.map +1 -1
  366. package/dist/components/customIcons/iconslibrary/InfoIcon.d.ts +1 -1
  367. package/dist/components/customIcons/iconslibrary/InfoIcon.js +2 -2
  368. package/dist/components/customIcons/iconslibrary/InfoIcon.js.map +1 -1
  369. package/dist/components/customIcons/iconslibrary/Inspection.d.ts +2 -1
  370. package/dist/components/customIcons/iconslibrary/Inspection.js +2 -2
  371. package/dist/components/customIcons/iconslibrary/Inspection.js.map +1 -1
  372. package/dist/components/customIcons/iconslibrary/JpgDoc.js +2 -2
  373. package/dist/components/customIcons/iconslibrary/JpgDoc.js.map +1 -1
  374. package/dist/components/customIcons/iconslibrary/Layer.d.ts +2 -1
  375. package/dist/components/customIcons/iconslibrary/Layer.js +2 -2
  376. package/dist/components/customIcons/iconslibrary/Layer.js.map +1 -1
  377. package/dist/components/customIcons/iconslibrary/LayerIcon.d.ts +1 -1
  378. package/dist/components/customIcons/iconslibrary/LayerIcon.js +2 -2
  379. package/dist/components/customIcons/iconslibrary/LayerIcon.js.map +1 -1
  380. package/dist/components/customIcons/iconslibrary/LeftBackArrow.d.ts +1 -1
  381. package/dist/components/customIcons/iconslibrary/LeftBackArrow.js +2 -2
  382. package/dist/components/customIcons/iconslibrary/LeftBackArrow.js.map +1 -1
  383. package/dist/components/customIcons/iconslibrary/LeftDouble.d.ts +1 -1
  384. package/dist/components/customIcons/iconslibrary/LeftDouble.js +2 -2
  385. package/dist/components/customIcons/iconslibrary/LeftDouble.js.map +1 -1
  386. package/dist/components/customIcons/iconslibrary/LiveFeetIcon.d.ts +1 -1
  387. package/dist/components/customIcons/iconslibrary/LiveFeetIcon.js +2 -2
  388. package/dist/components/customIcons/iconslibrary/LiveFeetIcon.js.map +1 -1
  389. package/dist/components/customIcons/iconslibrary/LoadLineIcon.d.ts +1 -1
  390. package/dist/components/customIcons/iconslibrary/LoadLineIcon.js +2 -2
  391. package/dist/components/customIcons/iconslibrary/LoadLineIcon.js.map +1 -1
  392. package/dist/components/customIcons/iconslibrary/LogoutIcon.d.ts +1 -1
  393. package/dist/components/customIcons/iconslibrary/LogoutIcon.js +2 -2
  394. package/dist/components/customIcons/iconslibrary/LogoutIcon.js.map +1 -1
  395. package/dist/components/customIcons/iconslibrary/ManningAgentIcon.d.ts +1 -1
  396. package/dist/components/customIcons/iconslibrary/ManningAgentIcon.js +2 -2
  397. package/dist/components/customIcons/iconslibrary/ManningAgentIcon.js.map +1 -1
  398. package/dist/components/customIcons/iconslibrary/Menu.d.ts +2 -1
  399. package/dist/components/customIcons/iconslibrary/Menu.js +2 -2
  400. package/dist/components/customIcons/iconslibrary/Menu.js.map +1 -1
  401. package/dist/components/customIcons/iconslibrary/MenuDownArrow.d.ts +1 -1
  402. package/dist/components/customIcons/iconslibrary/MenuDownArrow.js +2 -2
  403. package/dist/components/customIcons/iconslibrary/MenuDownArrow.js.map +1 -1
  404. package/dist/components/customIcons/iconslibrary/MenuFavouriteFilled.js +2 -2
  405. package/dist/components/customIcons/iconslibrary/MenuFavouriteFilled.js.map +1 -1
  406. package/dist/components/customIcons/iconslibrary/MenuFavouriteIcon.d.ts +1 -1
  407. package/dist/components/customIcons/iconslibrary/MenuFavouriteIcon.js +2 -2
  408. package/dist/components/customIcons/iconslibrary/MenuFavouriteIcon.js.map +1 -1
  409. package/dist/components/customIcons/iconslibrary/MenuList.d.ts +1 -1
  410. package/dist/components/customIcons/iconslibrary/MenuList.js +2 -2
  411. package/dist/components/customIcons/iconslibrary/MenuList.js.map +1 -1
  412. package/dist/components/customIcons/iconslibrary/MenuSectionIcon.d.ts +1 -1
  413. package/dist/components/customIcons/iconslibrary/MenuSectionIcon.js +2 -2
  414. package/dist/components/customIcons/iconslibrary/MenuSectionIcon.js.map +1 -1
  415. package/dist/components/customIcons/iconslibrary/MenuUpArrow.d.ts +1 -1
  416. package/dist/components/customIcons/iconslibrary/MenuUpArrow.js +2 -2
  417. package/dist/components/customIcons/iconslibrary/MenuUpArrow.js.map +1 -1
  418. package/dist/components/customIcons/iconslibrary/Minus.d.ts +1 -1
  419. package/dist/components/customIcons/iconslibrary/Minus.js +2 -2
  420. package/dist/components/customIcons/iconslibrary/Minus.js.map +1 -1
  421. package/dist/components/customIcons/iconslibrary/ModuleIcon.d.ts +1 -1
  422. package/dist/components/customIcons/iconslibrary/ModuleIcon.js +2 -2
  423. package/dist/components/customIcons/iconslibrary/ModuleIcon.js.map +1 -1
  424. package/dist/components/customIcons/iconslibrary/NextArrowicon.d.ts +1 -1
  425. package/dist/components/customIcons/iconslibrary/NextArrowicon.js +2 -2
  426. package/dist/components/customIcons/iconslibrary/NextArrowicon.js.map +1 -1
  427. package/dist/components/customIcons/iconslibrary/NextMostIcon.d.ts +1 -1
  428. package/dist/components/customIcons/iconslibrary/NextMostIcon.js +2 -2
  429. package/dist/components/customIcons/iconslibrary/NextMostIcon.js.map +1 -1
  430. package/dist/components/customIcons/iconslibrary/NoAction.d.ts +2 -1
  431. package/dist/components/customIcons/iconslibrary/NoAction.js +2 -2
  432. package/dist/components/customIcons/iconslibrary/NoAction.js.map +1 -1
  433. package/dist/components/customIcons/iconslibrary/NoActionForYou.d.ts +2 -1
  434. package/dist/components/customIcons/iconslibrary/NoActionForYou.js +2 -2
  435. package/dist/components/customIcons/iconslibrary/NoActionForYou.js.map +1 -1
  436. package/dist/components/customIcons/iconslibrary/Notes.d.ts +1 -1
  437. package/dist/components/customIcons/iconslibrary/Notes.js +2 -2
  438. package/dist/components/customIcons/iconslibrary/Notes.js.map +1 -1
  439. package/dist/components/customIcons/iconslibrary/Others.d.ts +2 -1
  440. package/dist/components/customIcons/iconslibrary/Others.js +2 -2
  441. package/dist/components/customIcons/iconslibrary/Others.js.map +1 -1
  442. package/dist/components/customIcons/iconslibrary/Overview.d.ts +1 -1
  443. package/dist/components/customIcons/iconslibrary/Overview.js +3 -14
  444. package/dist/components/customIcons/iconslibrary/Overview.js.map +1 -1
  445. package/dist/components/customIcons/iconslibrary/Page.d.ts +1 -1
  446. package/dist/components/customIcons/iconslibrary/Page.js +3 -14
  447. package/dist/components/customIcons/iconslibrary/Page.js.map +1 -1
  448. package/dist/components/customIcons/iconslibrary/PaperClip.js +2 -2
  449. package/dist/components/customIcons/iconslibrary/PaperClip.js.map +1 -1
  450. package/dist/components/customIcons/iconslibrary/PassKey.js +2 -2
  451. package/dist/components/customIcons/iconslibrary/PassKey.js.map +1 -1
  452. package/dist/components/customIcons/iconslibrary/Payroll.d.ts +1 -1
  453. package/dist/components/customIcons/iconslibrary/Payroll.js +2 -2
  454. package/dist/components/customIcons/iconslibrary/Payroll.js.map +1 -1
  455. package/dist/components/customIcons/iconslibrary/Pdf.js +2 -2
  456. package/dist/components/customIcons/iconslibrary/Pdf.js.map +1 -1
  457. package/dist/components/customIcons/iconslibrary/PdfDoc.js +2 -2
  458. package/dist/components/customIcons/iconslibrary/PdfDoc.js.map +1 -1
  459. package/dist/components/customIcons/iconslibrary/Person.d.ts +1 -1
  460. package/dist/components/customIcons/iconslibrary/Person.js +2 -2
  461. package/dist/components/customIcons/iconslibrary/Person.js.map +1 -1
  462. package/dist/components/customIcons/iconslibrary/Plane.d.ts +1 -1
  463. package/dist/components/customIcons/iconslibrary/Plane.js +2 -2
  464. package/dist/components/customIcons/iconslibrary/Plane.js.map +1 -1
  465. package/dist/components/customIcons/iconslibrary/PlusIcon.js +3 -4
  466. package/dist/components/customIcons/iconslibrary/PlusIcon.js.map +1 -1
  467. package/dist/components/customIcons/iconslibrary/PngDoc.js +2 -2
  468. package/dist/components/customIcons/iconslibrary/PngDoc.js.map +1 -1
  469. package/dist/components/customIcons/iconslibrary/Power.d.ts +1 -1
  470. package/dist/components/customIcons/iconslibrary/Power.js +2 -2
  471. package/dist/components/customIcons/iconslibrary/Power.js.map +1 -1
  472. package/dist/components/customIcons/iconslibrary/PreviousArrowIcon.d.ts +1 -1
  473. package/dist/components/customIcons/iconslibrary/PreviousArrowIcon.js +2 -2
  474. package/dist/components/customIcons/iconslibrary/PreviousArrowIcon.js.map +1 -1
  475. package/dist/components/customIcons/iconslibrary/PreviousMostIcon.d.ts +1 -1
  476. package/dist/components/customIcons/iconslibrary/PreviousMostIcon.js +2 -2
  477. package/dist/components/customIcons/iconslibrary/PreviousMostIcon.js.map +1 -1
  478. package/dist/components/customIcons/iconslibrary/PrinterIcon.js +2 -2
  479. package/dist/components/customIcons/iconslibrary/PrinterIcon.js.map +1 -1
  480. package/dist/components/customIcons/iconslibrary/PrivilegeGroupIcon.d.ts +1 -1
  481. package/dist/components/customIcons/iconslibrary/PrivilegeGroupIcon.js +2 -2
  482. package/dist/components/customIcons/iconslibrary/PrivilegeGroupIcon.js.map +1 -1
  483. package/dist/components/customIcons/iconslibrary/PrivilegeIcon.d.ts +1 -1
  484. package/dist/components/customIcons/iconslibrary/PrivilegeIcon.js +2 -2
  485. package/dist/components/customIcons/iconslibrary/PrivilegeIcon.js.map +1 -1
  486. package/dist/components/customIcons/iconslibrary/ProfileIcon.d.ts +1 -1
  487. package/dist/components/customIcons/iconslibrary/ProfileIcon.js +2 -2
  488. package/dist/components/customIcons/iconslibrary/ProfileIcon.js.map +1 -1
  489. package/dist/components/customIcons/iconslibrary/Rank.d.ts +1 -1
  490. package/dist/components/customIcons/iconslibrary/Rank.js +2 -2
  491. package/dist/components/customIcons/iconslibrary/Rank.js.map +1 -1
  492. package/dist/components/customIcons/iconslibrary/RatedPowerIcon.d.ts +1 -1
  493. package/dist/components/customIcons/iconslibrary/RatedPowerIcon.js +2 -2
  494. package/dist/components/customIcons/iconslibrary/RatedPowerIcon.js.map +1 -1
  495. package/dist/components/customIcons/iconslibrary/RejectedIcon.d.ts +1 -1
  496. package/dist/components/customIcons/iconslibrary/RejectedIcon.js +3 -14
  497. package/dist/components/customIcons/iconslibrary/RejectedIcon.js.map +1 -1
  498. package/dist/components/customIcons/iconslibrary/ReloadIconDash.d.ts +1 -1
  499. package/dist/components/customIcons/iconslibrary/ReloadIconDash.js +2 -2
  500. package/dist/components/customIcons/iconslibrary/ReloadIconDash.js.map +1 -1
  501. package/dist/components/customIcons/iconslibrary/Remove.d.ts +1 -1
  502. package/dist/components/customIcons/iconslibrary/Remove.js +2 -2
  503. package/dist/components/customIcons/iconslibrary/Remove.js.map +1 -1
  504. package/dist/components/customIcons/iconslibrary/Repeat.d.ts +2 -1
  505. package/dist/components/customIcons/iconslibrary/Repeat.js +2 -2
  506. package/dist/components/customIcons/iconslibrary/Repeat.js.map +1 -1
  507. package/dist/components/customIcons/iconslibrary/ReportGroupIcon.d.ts +1 -1
  508. package/dist/components/customIcons/iconslibrary/ReportGroupIcon.js +3 -14
  509. package/dist/components/customIcons/iconslibrary/ReportGroupIcon.js.map +1 -1
  510. package/dist/components/customIcons/iconslibrary/RetrayIcon.d.ts +1 -1
  511. package/dist/components/customIcons/iconslibrary/RetrayIcon.js +2 -2
  512. package/dist/components/customIcons/iconslibrary/RetrayIcon.js.map +1 -1
  513. package/dist/components/customIcons/iconslibrary/Revert.d.ts +1 -1
  514. package/dist/components/customIcons/iconslibrary/Revert.js +2 -2
  515. package/dist/components/customIcons/iconslibrary/Revert.js.map +1 -1
  516. package/dist/components/customIcons/iconslibrary/RevertStatusIcon.d.ts +1 -1
  517. package/dist/components/customIcons/iconslibrary/RevertStatusIcon.js +2 -2
  518. package/dist/components/customIcons/iconslibrary/RevertStatusIcon.js.map +1 -1
  519. package/dist/components/customIcons/iconslibrary/RevertedIcon.d.ts +1 -1
  520. package/dist/components/customIcons/iconslibrary/RevertedIcon.js +3 -14
  521. package/dist/components/customIcons/iconslibrary/RevertedIcon.js.map +1 -1
  522. package/dist/components/customIcons/iconslibrary/RightArrow.d.ts +1 -1
  523. package/dist/components/customIcons/iconslibrary/RightArrow.js +2 -2
  524. package/dist/components/customIcons/iconslibrary/RightArrow.js.map +1 -1
  525. package/dist/components/customIcons/iconslibrary/RightDouble.d.ts +1 -1
  526. package/dist/components/customIcons/iconslibrary/RightDouble.js +2 -2
  527. package/dist/components/customIcons/iconslibrary/RightDouble.js.map +1 -1
  528. package/dist/components/customIcons/iconslibrary/SeaRecord.d.ts +1 -1
  529. package/dist/components/customIcons/iconslibrary/SeaRecord.js +3 -14
  530. package/dist/components/customIcons/iconslibrary/SeaRecord.js.map +1 -1
  531. package/dist/components/customIcons/iconslibrary/SeaServiceIcon.js +2 -3
  532. package/dist/components/customIcons/iconslibrary/SeaServiceIcon.js.map +1 -1
  533. package/dist/components/customIcons/iconslibrary/SeafarerIcon.d.ts +1 -1
  534. package/dist/components/customIcons/iconslibrary/SeafarerIcon.js +2 -2
  535. package/dist/components/customIcons/iconslibrary/SeafarerIcon.js.map +1 -1
  536. package/dist/components/customIcons/iconslibrary/SearchIcon.d.ts +1 -1
  537. package/dist/components/customIcons/iconslibrary/SearchIcon.js +2 -2
  538. package/dist/components/customIcons/iconslibrary/SearchIcon.js.map +1 -1
  539. package/dist/components/customIcons/iconslibrary/Section.d.ts +1 -1
  540. package/dist/components/customIcons/iconslibrary/Section.js +3 -14
  541. package/dist/components/customIcons/iconslibrary/Section.js.map +1 -1
  542. package/dist/components/customIcons/iconslibrary/SendIcon.js +2 -2
  543. package/dist/components/customIcons/iconslibrary/SendIcon.js.map +1 -1
  544. package/dist/components/customIcons/iconslibrary/SettingIcon.js +2 -3
  545. package/dist/components/customIcons/iconslibrary/SettingIcon.js.map +1 -1
  546. package/dist/components/customIcons/iconslibrary/SettingsSpanner.d.ts +1 -1
  547. package/dist/components/customIcons/iconslibrary/SettingsSpanner.js +2 -2
  548. package/dist/components/customIcons/iconslibrary/SettingsSpanner.js.map +1 -1
  549. package/dist/components/customIcons/iconslibrary/ShpIcon.d.ts +1 -1
  550. package/dist/components/customIcons/iconslibrary/ShpIcon.js +2 -2
  551. package/dist/components/customIcons/iconslibrary/ShpIcon.js.map +1 -1
  552. package/dist/components/customIcons/iconslibrary/ShpSmallIcon.d.ts +1 -1
  553. package/dist/components/customIcons/iconslibrary/ShpSmallIcon.js +2 -2
  554. package/dist/components/customIcons/iconslibrary/ShpSmallIcon.js.map +1 -1
  555. package/dist/components/customIcons/iconslibrary/SideMenuLogoutIcon.d.ts +1 -1
  556. package/dist/components/customIcons/iconslibrary/SideMenuLogoutIcon.js +2 -2
  557. package/dist/components/customIcons/iconslibrary/SideMenuLogoutIcon.js.map +1 -1
  558. package/dist/components/customIcons/iconslibrary/SignOffIcon.js +2 -3
  559. package/dist/components/customIcons/iconslibrary/SignOffIcon.js.map +1 -1
  560. package/dist/components/customIcons/iconslibrary/SignOnIcon.js +2 -3
  561. package/dist/components/customIcons/iconslibrary/SignOnIcon.js.map +1 -1
  562. package/dist/components/customIcons/iconslibrary/Slash.d.ts +2 -1
  563. package/dist/components/customIcons/iconslibrary/Slash.js +2 -2
  564. package/dist/components/customIcons/iconslibrary/Slash.js.map +1 -1
  565. package/dist/components/customIcons/iconslibrary/SortArrow.d.ts +1 -1
  566. package/dist/components/customIcons/iconslibrary/SortArrow.js +2 -2
  567. package/dist/components/customIcons/iconslibrary/SortArrow.js.map +1 -1
  568. package/dist/components/customIcons/iconslibrary/SortAscIcon.d.ts +1 -1
  569. package/dist/components/customIcons/iconslibrary/SortAscIcon.js +2 -2
  570. package/dist/components/customIcons/iconslibrary/SortAscIcon.js.map +1 -1
  571. package/dist/components/customIcons/iconslibrary/SortDescIcon.d.ts +1 -1
  572. package/dist/components/customIcons/iconslibrary/SortDescIcon.js +2 -2
  573. package/dist/components/customIcons/iconslibrary/SortDescIcon.js.map +1 -1
  574. package/dist/components/customIcons/iconslibrary/SortDown.d.ts +1 -1
  575. package/dist/components/customIcons/iconslibrary/SortDown.js +2 -2
  576. package/dist/components/customIcons/iconslibrary/SortDown.js.map +1 -1
  577. package/dist/components/customIcons/iconslibrary/StaredVerifiedIcon.d.ts +1 -1
  578. package/dist/components/customIcons/iconslibrary/StaredVerifiedIcon.js +2 -2
  579. package/dist/components/customIcons/iconslibrary/StaredVerifiedIcon.js.map +1 -1
  580. package/dist/components/customIcons/iconslibrary/StepperCheckIcon.d.ts +1 -1
  581. package/dist/components/customIcons/iconslibrary/StepperCheckIcon.js +2 -2
  582. package/dist/components/customIcons/iconslibrary/StepperCheckIcon.js.map +1 -1
  583. package/dist/components/customIcons/iconslibrary/StepperCheckSmall.js +3 -14
  584. package/dist/components/customIcons/iconslibrary/StepperCheckSmall.js.map +1 -1
  585. package/dist/components/customIcons/iconslibrary/StepperSuccess.js +3 -14
  586. package/dist/components/customIcons/iconslibrary/StepperSuccess.js.map +1 -1
  587. package/dist/components/customIcons/iconslibrary/SubFunctionsIcon.d.ts +1 -1
  588. package/dist/components/customIcons/iconslibrary/SubFunctionsIcon.js +2 -2
  589. package/dist/components/customIcons/iconslibrary/SubFunctionsIcon.js.map +1 -1
  590. package/dist/components/customIcons/iconslibrary/SubMenuList.d.ts +1 -1
  591. package/dist/components/customIcons/iconslibrary/SubMenuList.js +2 -2
  592. package/dist/components/customIcons/iconslibrary/SubMenuList.js.map +1 -1
  593. package/dist/components/customIcons/iconslibrary/SuccessIcon.d.ts +1 -1
  594. package/dist/components/customIcons/iconslibrary/SuccessIcon.js +3 -14
  595. package/dist/components/customIcons/iconslibrary/SuccessIcon.js.map +1 -1
  596. package/dist/components/customIcons/iconslibrary/SwitchVertical.d.ts +2 -1
  597. package/dist/components/customIcons/iconslibrary/SwitchVertical.js +2 -2
  598. package/dist/components/customIcons/iconslibrary/SwitchVertical.js.map +1 -1
  599. package/dist/components/customIcons/iconslibrary/TableViewDash.d.ts +1 -1
  600. package/dist/components/customIcons/iconslibrary/TableViewDash.js +2 -2
  601. package/dist/components/customIcons/iconslibrary/TableViewDash.js.map +1 -1
  602. package/dist/components/customIcons/iconslibrary/ThreeDotIcon.d.ts +1 -1
  603. package/dist/components/customIcons/iconslibrary/ThreeDotIcon.js +2 -2
  604. package/dist/components/customIcons/iconslibrary/ThreeDotIcon.js.map +1 -1
  605. package/dist/components/customIcons/iconslibrary/ThreeDotIconHorizontal.d.ts +1 -1
  606. package/dist/components/customIcons/iconslibrary/ThreeDotIconHorizontal.js +2 -2
  607. package/dist/components/customIcons/iconslibrary/ThreeDotIconHorizontal.js.map +1 -1
  608. package/dist/components/customIcons/iconslibrary/ThreeDotLineIcon.d.ts +1 -1
  609. package/dist/components/customIcons/iconslibrary/ThreeDotLineIcon.js +2 -2
  610. package/dist/components/customIcons/iconslibrary/ThreeDotLineIcon.js.map +1 -1
  611. package/dist/components/customIcons/iconslibrary/Tonnage.d.ts +2 -1
  612. package/dist/components/customIcons/iconslibrary/Tonnage.js +2 -2
  613. package/dist/components/customIcons/iconslibrary/Tonnage.js.map +1 -1
  614. package/dist/components/customIcons/iconslibrary/TreeColapseicon.d.ts +1 -1
  615. package/dist/components/customIcons/iconslibrary/TreeColapseicon.js +2 -2
  616. package/dist/components/customIcons/iconslibrary/TreeColapseicon.js.map +1 -1
  617. package/dist/components/customIcons/iconslibrary/TreeExpandIcon.d.ts +1 -1
  618. package/dist/components/customIcons/iconslibrary/TreeExpandIcon.js +2 -2
  619. package/dist/components/customIcons/iconslibrary/TreeExpandIcon.js.map +1 -1
  620. package/dist/components/customIcons/iconslibrary/Unlock.js +3 -4
  621. package/dist/components/customIcons/iconslibrary/Unlock.js.map +1 -1
  622. package/dist/components/customIcons/iconslibrary/UpArrow.d.ts +1 -1
  623. package/dist/components/customIcons/iconslibrary/UpArrow.js +2 -2
  624. package/dist/components/customIcons/iconslibrary/UpArrow.js.map +1 -1
  625. package/dist/components/customIcons/iconslibrary/UpArrowRounded.d.ts +1 -1
  626. package/dist/components/customIcons/iconslibrary/UpArrowRounded.js +3 -14
  627. package/dist/components/customIcons/iconslibrary/UpArrowRounded.js.map +1 -1
  628. package/dist/components/customIcons/iconslibrary/UploadPhoto.d.ts +1 -1
  629. package/dist/components/customIcons/iconslibrary/UploadPhoto.js +2 -2
  630. package/dist/components/customIcons/iconslibrary/UploadPhoto.js.map +1 -1
  631. package/dist/components/customIcons/iconslibrary/User.js +2 -2
  632. package/dist/components/customIcons/iconslibrary/User.js.map +1 -1
  633. package/dist/components/customIcons/iconslibrary/UserCheck.js +3 -4
  634. package/dist/components/customIcons/iconslibrary/UserCheck.js.map +1 -1
  635. package/dist/components/customIcons/iconslibrary/UserClose.js +3 -4
  636. package/dist/components/customIcons/iconslibrary/UserClose.js.map +1 -1
  637. package/dist/components/customIcons/iconslibrary/UserEdit.d.ts +1 -1
  638. package/dist/components/customIcons/iconslibrary/UserEdit.js +2 -2
  639. package/dist/components/customIcons/iconslibrary/UserEdit.js.map +1 -1
  640. package/dist/components/customIcons/iconslibrary/ValidationRuleIcon.d.ts +2 -1
  641. package/dist/components/customIcons/iconslibrary/ValidationRuleIcon.js +3 -14
  642. package/dist/components/customIcons/iconslibrary/ValidationRuleIcon.js.map +1 -1
  643. package/dist/components/customIcons/iconslibrary/VendorIcon.d.ts +1 -1
  644. package/dist/components/customIcons/iconslibrary/VendorIcon.js +2 -2
  645. package/dist/components/customIcons/iconslibrary/VendorIcon.js.map +1 -1
  646. package/dist/components/customIcons/iconslibrary/Verified.d.ts +1 -1
  647. package/dist/components/customIcons/iconslibrary/Verified.js +2 -2
  648. package/dist/components/customIcons/iconslibrary/Verified.js.map +1 -1
  649. package/dist/components/customIcons/iconslibrary/VerifiedIcon.d.ts +1 -1
  650. package/dist/components/customIcons/iconslibrary/VerifiedIcon.js +3 -14
  651. package/dist/components/customIcons/iconslibrary/VerifiedIcon.js.map +1 -1
  652. package/dist/components/customIcons/iconslibrary/Verify.js +2 -2
  653. package/dist/components/customIcons/iconslibrary/Verify.js.map +1 -1
  654. package/dist/components/customIcons/iconslibrary/VesselIcon.js +2 -2
  655. package/dist/components/customIcons/iconslibrary/VesselIcon.js.map +1 -1
  656. package/dist/components/customIcons/iconslibrary/VesselScheduleShip.d.ts +1 -1
  657. package/dist/components/customIcons/iconslibrary/VesselScheduleShip.js +2 -2
  658. package/dist/components/customIcons/iconslibrary/VesselScheduleShip.js.map +1 -1
  659. package/dist/components/customIcons/iconslibrary/VesselWheel.js +2 -2
  660. package/dist/components/customIcons/iconslibrary/VesselWheel.js.map +1 -1
  661. package/dist/components/customIcons/iconslibrary/ViewLargeIcon.js +2 -3
  662. package/dist/components/customIcons/iconslibrary/ViewLargeIcon.js.map +1 -1
  663. package/dist/components/customIcons/iconslibrary/VolumeIcon.d.ts +1 -1
  664. package/dist/components/customIcons/iconslibrary/VolumeIcon.js +2 -2
  665. package/dist/components/customIcons/iconslibrary/VolumeIcon.js.map +1 -1
  666. package/dist/components/customIcons/iconslibrary/Wallet.d.ts +2 -1
  667. package/dist/components/customIcons/iconslibrary/Wallet.js +2 -2
  668. package/dist/components/customIcons/iconslibrary/Wallet.js.map +1 -1
  669. package/dist/components/customIcons/iconslibrary/Warning.d.ts +1 -1
  670. package/dist/components/customIcons/iconslibrary/Warning.js +2 -2
  671. package/dist/components/customIcons/iconslibrary/Warning.js.map +1 -1
  672. package/dist/components/customIcons/iconslibrary/WarningFilledIcon.js +3 -14
  673. package/dist/components/customIcons/iconslibrary/WarningFilledIcon.js.map +1 -1
  674. package/dist/components/customIcons/iconslibrary/WorkflowIcon.d.ts +1 -1
  675. package/dist/components/customIcons/iconslibrary/WorkflowIcon.js +2 -2
  676. package/dist/components/customIcons/iconslibrary/WorkflowIcon.js.map +1 -1
  677. package/dist/components/customIcons/iconslibrary/WorkflowStatusIcon.d.ts +1 -1
  678. package/dist/components/customIcons/iconslibrary/WorkflowStatusIcon.js +2 -2
  679. package/dist/components/customIcons/iconslibrary/WorkflowStatusIcon.js.map +1 -1
  680. package/dist/components/customIcons/iconslibrary/collapseIconDash.d.ts +1 -1
  681. package/dist/components/customIcons/iconslibrary/collapseIconDash.js +2 -2
  682. package/dist/components/customIcons/iconslibrary/collapseIconDash.js.map +1 -1
  683. package/dist/components/customIcons/iconslibrary/ship/Icon1.d.ts +1 -1
  684. package/dist/components/customIcons/iconslibrary/ship/Icon1.js +2 -2
  685. package/dist/components/customIcons/iconslibrary/ship/Icon1.js.map +1 -1
  686. package/dist/components/customIcons/iconslibrary/ship/Icon10.d.ts +1 -1
  687. package/dist/components/customIcons/iconslibrary/ship/Icon10.js +2 -2
  688. package/dist/components/customIcons/iconslibrary/ship/Icon10.js.map +1 -1
  689. package/dist/components/customIcons/iconslibrary/ship/Icon11.d.ts +1 -1
  690. package/dist/components/customIcons/iconslibrary/ship/Icon11.js +3 -14
  691. package/dist/components/customIcons/iconslibrary/ship/Icon11.js.map +1 -1
  692. package/dist/components/customIcons/iconslibrary/ship/Icon12.d.ts +1 -1
  693. package/dist/components/customIcons/iconslibrary/ship/Icon12.js +2 -2
  694. package/dist/components/customIcons/iconslibrary/ship/Icon12.js.map +1 -1
  695. package/dist/components/customIcons/iconslibrary/ship/Icon13.d.ts +1 -1
  696. package/dist/components/customIcons/iconslibrary/ship/Icon13.js +2 -2
  697. package/dist/components/customIcons/iconslibrary/ship/Icon13.js.map +1 -1
  698. package/dist/components/customIcons/iconslibrary/ship/Icon14.d.ts +1 -1
  699. package/dist/components/customIcons/iconslibrary/ship/Icon14.js +2 -2
  700. package/dist/components/customIcons/iconslibrary/ship/Icon14.js.map +1 -1
  701. package/dist/components/customIcons/iconslibrary/ship/Icon15.d.ts +1 -1
  702. package/dist/components/customIcons/iconslibrary/ship/Icon15.js +3 -14
  703. package/dist/components/customIcons/iconslibrary/ship/Icon15.js.map +1 -1
  704. package/dist/components/customIcons/iconslibrary/ship/Icon16.d.ts +1 -1
  705. package/dist/components/customIcons/iconslibrary/ship/Icon16.js +2 -2
  706. package/dist/components/customIcons/iconslibrary/ship/Icon16.js.map +1 -1
  707. package/dist/components/customIcons/iconslibrary/ship/Icon2.d.ts +1 -1
  708. package/dist/components/customIcons/iconslibrary/ship/Icon2.js +2 -2
  709. package/dist/components/customIcons/iconslibrary/ship/Icon2.js.map +1 -1
  710. package/dist/components/customIcons/iconslibrary/ship/Icon3.d.ts +1 -1
  711. package/dist/components/customIcons/iconslibrary/ship/Icon3.js +2 -2
  712. package/dist/components/customIcons/iconslibrary/ship/Icon3.js.map +1 -1
  713. package/dist/components/customIcons/iconslibrary/ship/Icon4.d.ts +1 -1
  714. package/dist/components/customIcons/iconslibrary/ship/Icon4.js +2 -2
  715. package/dist/components/customIcons/iconslibrary/ship/Icon4.js.map +1 -1
  716. package/dist/components/customIcons/iconslibrary/ship/Icon5.d.ts +1 -1
  717. package/dist/components/customIcons/iconslibrary/ship/Icon5.js +2 -2
  718. package/dist/components/customIcons/iconslibrary/ship/Icon5.js.map +1 -1
  719. package/dist/components/customIcons/iconslibrary/ship/Icon6.d.ts +1 -1
  720. package/dist/components/customIcons/iconslibrary/ship/Icon6.js +2 -2
  721. package/dist/components/customIcons/iconslibrary/ship/Icon6.js.map +1 -1
  722. package/dist/components/customIcons/iconslibrary/ship/Icon7.d.ts +1 -1
  723. package/dist/components/customIcons/iconslibrary/ship/Icon7.js +2 -2
  724. package/dist/components/customIcons/iconslibrary/ship/Icon7.js.map +1 -1
  725. package/dist/components/customIcons/iconslibrary/ship/Icon8.d.ts +1 -1
  726. package/dist/components/customIcons/iconslibrary/ship/Icon8.js +2 -2
  727. package/dist/components/customIcons/iconslibrary/ship/Icon8.js.map +1 -1
  728. package/dist/components/customIcons/iconslibrary/ship/Icon9.d.ts +1 -1
  729. package/dist/components/customIcons/iconslibrary/ship/Icon9.js +2 -2
  730. package/dist/components/customIcons/iconslibrary/ship/Icon9.js.map +1 -1
  731. package/dist/components/customIcons/iconslibrary/uploadButtonIcon.d.ts +1 -1
  732. package/dist/components/customIcons/iconslibrary/uploadButtonIcon.js +2 -2
  733. package/dist/components/customIcons/iconslibrary/uploadButtonIcon.js.map +1 -1
  734. package/dist/components/customIcons/iconslibrary/verify-icon.js +2 -2
  735. package/dist/components/customIcons/iconslibrary/verify-icon.js.map +1 -1
  736. package/dist/components/customIcons/index.js +8 -20
  737. package/dist/components/customIcons/index.js.map +1 -1
  738. package/dist/components/customIcons/lock-button.js +2 -3
  739. package/dist/components/customIcons/lock-button.js.map +1 -1
  740. package/dist/components/customIcons/upTreeArrowIcon.d.ts +1 -1
  741. package/dist/components/customIcons/upTreeArrowIcon.js +2 -2
  742. package/dist/components/customIcons/upTreeArrowIcon.js.map +1 -1
  743. package/dist/components/loader/Spinner.js +3 -15
  744. package/dist/components/loader/Spinner.js.map +1 -1
  745. package/dist/components/portal/index.d.ts +2 -10
  746. package/dist/components/portal/index.js +16 -24
  747. package/dist/components/portal/index.js.map +1 -1
  748. package/dist/dropdownFilterTabs.d.ts +2 -2
  749. package/dist/dropdownFilterTabs.js +265 -325
  750. package/dist/dropdownFilterTabs.js.map +1 -1
  751. package/dist/dummyAutoCompleteWithSelectedList.d.ts +1 -1
  752. package/dist/dummyAutoCompleteWithSelectedList.js +144 -203
  753. package/dist/dummyAutoCompleteWithSelectedList.js.map +1 -1
  754. package/dist/generated/stylesContent.d.ts +2 -0
  755. package/dist/generated/stylesContent.js +6 -0
  756. package/dist/generated/stylesContent.js.map +1 -0
  757. package/dist/index.d.ts +2 -1
  758. package/dist/index.js +1 -1
  759. package/dist/index.js.map +1 -1
  760. package/dist/injectStyles.d.ts +1 -0
  761. package/dist/injectStyles.js +16 -0
  762. package/dist/injectStyles.js.map +1 -0
  763. package/dist/react-core-ts.css +2486 -0
  764. package/dist/styles/components/autocomplete.css +95 -3
  765. package/dist/styles/components/tooltip.css +59 -0
  766. package/{src/styles/global.css → dist/styles/library-entry.css} +1 -2
  767. package/dist/utilities/NewTooltip.js +53 -65
  768. package/dist/utilities/NewTooltip.js.map +1 -1
  769. package/dist/utilities/autosuggestions.d.ts +4 -2
  770. package/dist/utilities/autosuggestions.js +41 -102
  771. package/dist/utilities/autosuggestions.js.map +1 -1
  772. package/dist/utilities/convertFlatArraytoTreeStructure.js +15 -30
  773. package/dist/utilities/convertFlatArraytoTreeStructure.js.map +1 -1
  774. package/dist/utilities/debounce.js +5 -10
  775. package/dist/utilities/debounce.js.map +1 -1
  776. package/dist/utilities/deepDebounce.js +5 -10
  777. package/dist/utilities/deepDebounce.js.map +1 -1
  778. package/dist/utilities/deepEqual.js +5 -7
  779. package/dist/utilities/deepEqual.js.map +1 -1
  780. package/dist/utilities/expandableTootltip.js +44 -54
  781. package/dist/utilities/expandableTootltip.js.map +1 -1
  782. package/dist/utilities/filterSuggestions.d.ts +4 -1
  783. package/dist/utilities/filterSuggestions.js +11 -22
  784. package/dist/utilities/filterSuggestions.js.map +1 -1
  785. package/dist/utilities/generateInnerWidth.js +2 -3
  786. package/dist/utilities/generateInnerWidth.js.map +1 -1
  787. package/dist/utilities/getKeyValue.d.ts +4 -0
  788. package/dist/utilities/getKeyValue.js +24 -5
  789. package/dist/utilities/getKeyValue.js.map +1 -1
  790. package/dist/utilities/getPosition.js +14 -14
  791. package/dist/utilities/getPosition.js.map +1 -1
  792. package/dist/utilities/icons.js +13 -30
  793. package/dist/utilities/icons.js.map +1 -1
  794. package/dist/utilities/measureTabListNaturalWidth.js +28 -28
  795. package/dist/utilities/measureTabListNaturalWidth.js.map +1 -1
  796. package/dist/utilities/tooltip.js +13 -25
  797. package/dist/utilities/tooltip.js.map +1 -1
  798. package/dist/utilities/useDynamicHeight.js +13 -13
  799. package/dist/utilities/useDynamicHeight.js.map +1 -1
  800. package/package.json +37 -8
  801. package/.babel.config.js +0 -7
  802. package/.npmingnore +0 -3
  803. package/docs/App.tsx +0 -750
  804. package/docs/index.html +0 -40
  805. package/docs/index.tsx +0 -12
  806. package/docs/store.ts +0 -67
  807. package/docs/style.css +0 -4
  808. package/postcss.config.js +0 -6
  809. package/src/AutoComplete.tsx +0 -500
  810. package/src/AutoCompleteWithSelectedList.tsx +0 -1331
  811. package/src/AutoCompleteWithTabFilter.tsx +0 -1499
  812. package/src/AutoCompleteWithTreeStructure.tsx +0 -819
  813. package/src/ExpandableAutoComplete.tsx +0 -834
  814. package/src/ReactAutoComplete.tsx +0 -913
  815. package/src/ReactAutoCompleteDropdown.tsx +0 -953
  816. package/src/ReactAutoCompleteSuggections.tsx +0 -559
  817. package/src/ReactAutoCompleteTableView.tsx +0 -1145
  818. package/src/ReactCheckbox.tsx +0 -71
  819. package/src/ReactOTPInput.tsx +0 -199
  820. package/src/ReactRadioButton.tsx +0 -65
  821. package/src/ReactTextArea.tsx +0 -238
  822. package/src/ReactTextField.tsx +0 -477
  823. package/src/commontypes.ts +0 -242
  824. package/src/components/DropdownList.tsx +0 -85
  825. package/src/components/Icons.tsx +0 -38
  826. package/src/components/InputActions.tsx +0 -89
  827. package/src/components/TreeNode.tsx +0 -136
  828. package/src/components/customIcons/Attachments.tsx +0 -17
  829. package/src/components/customIcons/CommentIcon.tsx +0 -14
  830. package/src/components/customIcons/IconList.tsx +0 -469
  831. package/src/components/customIcons/QuestionIcon.tsx +0 -28
  832. package/src/components/customIcons/Settings.tsx +0 -59
  833. package/src/components/customIcons/Ship.tsx +0 -17
  834. package/src/components/customIcons/ShipIconList.tsx +0 -35
  835. package/src/components/customIcons/ToolIcon.tsx +0 -12
  836. package/src/components/customIcons/closeRoundedIcon.tsx +0 -11
  837. package/src/components/customIcons/downTreeArrowIcon.tsx +0 -9
  838. package/src/components/customIcons/iconslibrary/ActionRoleIcon.tsx +0 -12
  839. package/src/components/customIcons/iconslibrary/ActionRoleRoleIcon.tsx +0 -12
  840. package/src/components/customIcons/iconslibrary/Activate.tsx +0 -12
  841. package/src/components/customIcons/iconslibrary/Alert2.tsx +0 -17
  842. package/src/components/customIcons/iconslibrary/AlertIcon.tsx +0 -22
  843. package/src/components/customIcons/iconslibrary/ApprovedIcon.tsx +0 -34
  844. package/src/components/customIcons/iconslibrary/Archieve.tsx +0 -26
  845. package/src/components/customIcons/iconslibrary/ArchieveList.tsx +0 -18
  846. package/src/components/customIcons/iconslibrary/Audit.tsx +0 -20
  847. package/src/components/customIcons/iconslibrary/Authorize.tsx +0 -17
  848. package/src/components/customIcons/iconslibrary/AwardIcon.tsx +0 -12
  849. package/src/components/customIcons/iconslibrary/Back.tsx +0 -15
  850. package/src/components/customIcons/iconslibrary/BackToSearch.tsx +0 -16
  851. package/src/components/customIcons/iconslibrary/Bank.tsx +0 -12
  852. package/src/components/customIcons/iconslibrary/BankIcon.tsx +0 -12
  853. package/src/components/customIcons/iconslibrary/BellIcon.tsx +0 -15
  854. package/src/components/customIcons/iconslibrary/BookmarkCheck.tsx +0 -17
  855. package/src/components/customIcons/iconslibrary/BudgetChart.tsx +0 -36
  856. package/src/components/customIcons/iconslibrary/BudgetCustom.tsx +0 -47
  857. package/src/components/customIcons/iconslibrary/BudgetExisting.tsx +0 -33
  858. package/src/components/customIcons/iconslibrary/BudgetItemIcon.tsx +0 -13
  859. package/src/components/customIcons/iconslibrary/BusinessUnitIcon.tsx +0 -19
  860. package/src/components/customIcons/iconslibrary/CalendarIcon.tsx +0 -13
  861. package/src/components/customIcons/iconslibrary/CalenderUserIcon.tsx +0 -10
  862. package/src/components/customIcons/iconslibrary/CapacityIcon.tsx +0 -20
  863. package/src/components/customIcons/iconslibrary/CaptionIcon.tsx +0 -27
  864. package/src/components/customIcons/iconslibrary/CardCheck.tsx +0 -20
  865. package/src/components/customIcons/iconslibrary/CardListIcon.tsx +0 -9
  866. package/src/components/customIcons/iconslibrary/Certificate.tsx +0 -12
  867. package/src/components/customIcons/iconslibrary/Check.tsx +0 -12
  868. package/src/components/customIcons/iconslibrary/CheckBoxCheck.tsx +0 -21
  869. package/src/components/customIcons/iconslibrary/CheckBoxCheckDisabled.tsx +0 -29
  870. package/src/components/customIcons/iconslibrary/CheckBoxInterMediate.tsx +0 -21
  871. package/src/components/customIcons/iconslibrary/CheckBoxInterMediateDisabled.tsx +0 -29
  872. package/src/components/customIcons/iconslibrary/CheckBoxUnchecked.tsx +0 -22
  873. package/src/components/customIcons/iconslibrary/CheckBoxUncheckedDisabled.tsx +0 -15
  874. package/src/components/customIcons/iconslibrary/CheckCircleIcon.tsx +0 -12
  875. package/src/components/customIcons/iconslibrary/CheckFilledIcon.tsx +0 -21
  876. package/src/components/customIcons/iconslibrary/CheckIcon.tsx +0 -12
  877. package/src/components/customIcons/iconslibrary/CheckIndeterminateIcon.tsx +0 -19
  878. package/src/components/customIcons/iconslibrary/CheckMenu.tsx +0 -15
  879. package/src/components/customIcons/iconslibrary/CheckSwitchIcon.tsx +0 -87
  880. package/src/components/customIcons/iconslibrary/Clock.tsx +0 -17
  881. package/src/components/customIcons/iconslibrary/CloseIcon.tsx +0 -14
  882. package/src/components/customIcons/iconslibrary/ConfigIcon.tsx +0 -23
  883. package/src/components/customIcons/iconslibrary/ConfirmCancel.tsx +0 -20
  884. package/src/components/customIcons/iconslibrary/ConfirmInfo.tsx +0 -20
  885. package/src/components/customIcons/iconslibrary/ConfirmSuccess.tsx +0 -50
  886. package/src/components/customIcons/iconslibrary/ConfirmVerify.tsx +0 -23
  887. package/src/components/customIcons/iconslibrary/ConfirmWarning.tsx +0 -24
  888. package/src/components/customIcons/iconslibrary/Copy.tsx +0 -13
  889. package/src/components/customIcons/iconslibrary/CostCenterIcon.tsx +0 -13
  890. package/src/components/customIcons/iconslibrary/CsvIcon.tsx +0 -15
  891. package/src/components/customIcons/iconslibrary/DashFolderIcon.tsx +0 -11
  892. package/src/components/customIcons/iconslibrary/DashTileIcon.tsx +0 -12
  893. package/src/components/customIcons/iconslibrary/Default.tsx +0 -13
  894. package/src/components/customIcons/iconslibrary/DeleteIcon.tsx +0 -12
  895. package/src/components/customIcons/iconslibrary/Details.tsx +0 -17
  896. package/src/components/customIcons/iconslibrary/DimentionIcon.tsx +0 -15
  897. package/src/components/customIcons/iconslibrary/DivisionIcon.tsx +0 -12
  898. package/src/components/customIcons/iconslibrary/DivisonIcon.tsx +0 -21
  899. package/src/components/customIcons/iconslibrary/DocxDoc.tsx +0 -35
  900. package/src/components/customIcons/iconslibrary/Doller.tsx +0 -12
  901. package/src/components/customIcons/iconslibrary/DownArrow.tsx +0 -12
  902. package/src/components/customIcons/iconslibrary/DownArrowRounded.tsx +0 -21
  903. package/src/components/customIcons/iconslibrary/DownloadIcon.tsx +0 -13
  904. package/src/components/customIcons/iconslibrary/DraftIcon.tsx +0 -35
  905. package/src/components/customIcons/iconslibrary/DueIcon.tsx +0 -11
  906. package/src/components/customIcons/iconslibrary/EditIcon.tsx +0 -13
  907. package/src/components/customIcons/iconslibrary/EmpListIcon.tsx +0 -20
  908. package/src/components/customIcons/iconslibrary/Employee.tsx +0 -13
  909. package/src/components/customIcons/iconslibrary/Employment.tsx +0 -9
  910. package/src/components/customIcons/iconslibrary/ErrorCircle.tsx +0 -10
  911. package/src/components/customIcons/iconslibrary/Excel.tsx +0 -13
  912. package/src/components/customIcons/iconslibrary/Expand.tsx +0 -14
  913. package/src/components/customIcons/iconslibrary/ExpandFileIcon.tsx +0 -12
  914. package/src/components/customIcons/iconslibrary/ExpandIconDash.tsx +0 -12
  915. package/src/components/customIcons/iconslibrary/Expired.tsx +0 -17
  916. package/src/components/customIcons/iconslibrary/ExplorerIcon.tsx +0 -40
  917. package/src/components/customIcons/iconslibrary/Export.tsx +0 -17
  918. package/src/components/customIcons/iconslibrary/ExternalLinkIcon.tsx +0 -13
  919. package/src/components/customIcons/iconslibrary/Eye.tsx +0 -22
  920. package/src/components/customIcons/iconslibrary/EyeClose.tsx +0 -17
  921. package/src/components/customIcons/iconslibrary/FavouriteIcon.tsx +0 -13
  922. package/src/components/customIcons/iconslibrary/FavouriteIconFilled.tsx +0 -14
  923. package/src/components/customIcons/iconslibrary/FavouritedIcon.tsx +0 -10
  924. package/src/components/customIcons/iconslibrary/FileIcon.tsx +0 -21
  925. package/src/components/customIcons/iconslibrary/FileReport.tsx +0 -17
  926. package/src/components/customIcons/iconslibrary/Fill-Info-Icon.tsx +0 -9
  927. package/src/components/customIcons/iconslibrary/FilterIcon.tsx +0 -20
  928. package/src/components/customIcons/iconslibrary/Finalise.tsx +0 -12
  929. package/src/components/customIcons/iconslibrary/FindFile.tsx +0 -17
  930. package/src/components/customIcons/iconslibrary/FleetIcon.tsx +0 -19
  931. package/src/components/customIcons/iconslibrary/FolderIcon.tsx +0 -12
  932. package/src/components/customIcons/iconslibrary/ForwardArrowIcon.tsx +0 -13
  933. package/src/components/customIcons/iconslibrary/FunctionIcon.tsx +0 -21
  934. package/src/components/customIcons/iconslibrary/GmailIcon.tsx +0 -9
  935. package/src/components/customIcons/iconslibrary/GraphViewDash.tsx +0 -9
  936. package/src/components/customIcons/iconslibrary/GroupIcon.tsx +0 -30
  937. package/src/components/customIcons/iconslibrary/HamburgerIcon.tsx +0 -14
  938. package/src/components/customIcons/iconslibrary/HeadOffice.tsx +0 -13
  939. package/src/components/customIcons/iconslibrary/HelpDocument.tsx +0 -22
  940. package/src/components/customIcons/iconslibrary/HelpIcon.tsx +0 -14
  941. package/src/components/customIcons/iconslibrary/HistoryIcon.tsx +0 -13
  942. package/src/components/customIcons/iconslibrary/HomeIcon.tsx +0 -12
  943. package/src/components/customIcons/iconslibrary/IdleIcon.tsx +0 -30
  944. package/src/components/customIcons/iconslibrary/InfoCircle.tsx +0 -17
  945. package/src/components/customIcons/iconslibrary/InfoIcon.tsx +0 -13
  946. package/src/components/customIcons/iconslibrary/Inspection.tsx +0 -41
  947. package/src/components/customIcons/iconslibrary/JpgDoc.tsx +0 -35
  948. package/src/components/customIcons/iconslibrary/Layer.tsx +0 -17
  949. package/src/components/customIcons/iconslibrary/LayerIcon.tsx +0 -13
  950. package/src/components/customIcons/iconslibrary/LeftBackArrow.tsx +0 -15
  951. package/src/components/customIcons/iconslibrary/LeftDouble.tsx +0 -12
  952. package/src/components/customIcons/iconslibrary/LiveFeetIcon.tsx +0 -22
  953. package/src/components/customIcons/iconslibrary/LoadLineIcon.tsx +0 -13
  954. package/src/components/customIcons/iconslibrary/LogoutIcon.tsx +0 -13
  955. package/src/components/customIcons/iconslibrary/ManningAgentIcon.tsx +0 -9
  956. package/src/components/customIcons/iconslibrary/Menu.tsx +0 -42
  957. package/src/components/customIcons/iconslibrary/MenuDownArrow.tsx +0 -13
  958. package/src/components/customIcons/iconslibrary/MenuFavouriteFilled.tsx +0 -16
  959. package/src/components/customIcons/iconslibrary/MenuFavouriteIcon.tsx +0 -13
  960. package/src/components/customIcons/iconslibrary/MenuList.tsx +0 -26
  961. package/src/components/customIcons/iconslibrary/MenuSectionIcon.tsx +0 -13
  962. package/src/components/customIcons/iconslibrary/MenuUpArrow.tsx +0 -13
  963. package/src/components/customIcons/iconslibrary/Minus.tsx +0 -12
  964. package/src/components/customIcons/iconslibrary/ModuleIcon.tsx +0 -25
  965. package/src/components/customIcons/iconslibrary/NextArrowicon.tsx +0 -13
  966. package/src/components/customIcons/iconslibrary/NextMostIcon.tsx +0 -13
  967. package/src/components/customIcons/iconslibrary/NoAction.tsx +0 -17
  968. package/src/components/customIcons/iconslibrary/NoActionForYou.tsx +0 -17
  969. package/src/components/customIcons/iconslibrary/Notes.tsx +0 -12
  970. package/src/components/customIcons/iconslibrary/Others.tsx +0 -15
  971. package/src/components/customIcons/iconslibrary/Overview.tsx +0 -21
  972. package/src/components/customIcons/iconslibrary/Page.tsx +0 -22
  973. package/src/components/customIcons/iconslibrary/PaperClip.tsx +0 -14
  974. package/src/components/customIcons/iconslibrary/PassKey.tsx +0 -14
  975. package/src/components/customIcons/iconslibrary/Payroll.tsx +0 -12
  976. package/src/components/customIcons/iconslibrary/Pdf.tsx +0 -11
  977. package/src/components/customIcons/iconslibrary/PdfDoc.tsx +0 -35
  978. package/src/components/customIcons/iconslibrary/Person.tsx +0 -12
  979. package/src/components/customIcons/iconslibrary/Plane.tsx +0 -12
  980. package/src/components/customIcons/iconslibrary/PlusIcon.tsx +0 -41
  981. package/src/components/customIcons/iconslibrary/PngDoc.tsx +0 -35
  982. package/src/components/customIcons/iconslibrary/Power.tsx +0 -12
  983. package/src/components/customIcons/iconslibrary/PreviousArrowIcon.tsx +0 -13
  984. package/src/components/customIcons/iconslibrary/PreviousMostIcon.tsx +0 -13
  985. package/src/components/customIcons/iconslibrary/PrinterIcon.tsx +0 -15
  986. package/src/components/customIcons/iconslibrary/PrivilegeGroupIcon.tsx +0 -11
  987. package/src/components/customIcons/iconslibrary/PrivilegeIcon.tsx +0 -11
  988. package/src/components/customIcons/iconslibrary/ProfileIcon.tsx +0 -15
  989. package/src/components/customIcons/iconslibrary/Rank.tsx +0 -26
  990. package/src/components/customIcons/iconslibrary/RatedPowerIcon.tsx +0 -13
  991. package/src/components/customIcons/iconslibrary/RejectedIcon.tsx +0 -34
  992. package/src/components/customIcons/iconslibrary/ReloadIconDash.tsx +0 -9
  993. package/src/components/customIcons/iconslibrary/Remove.tsx +0 -13
  994. package/src/components/customIcons/iconslibrary/Repeat.tsx +0 -24
  995. package/src/components/customIcons/iconslibrary/ReportGroupIcon.tsx +0 -33
  996. package/src/components/customIcons/iconslibrary/RetrayIcon.tsx +0 -9
  997. package/src/components/customIcons/iconslibrary/Revert.tsx +0 -12
  998. package/src/components/customIcons/iconslibrary/RevertStatusIcon.tsx +0 -12
  999. package/src/components/customIcons/iconslibrary/RevertedIcon.tsx +0 -34
  1000. package/src/components/customIcons/iconslibrary/RightArrow.tsx +0 -12
  1001. package/src/components/customIcons/iconslibrary/RightDouble.tsx +0 -12
  1002. package/src/components/customIcons/iconslibrary/SeaRecord.tsx +0 -18
  1003. package/src/components/customIcons/iconslibrary/SeaServiceIcon.tsx +0 -18
  1004. package/src/components/customIcons/iconslibrary/SeafarerIcon.tsx +0 -12
  1005. package/src/components/customIcons/iconslibrary/SearchIcon.tsx +0 -12
  1006. package/src/components/customIcons/iconslibrary/Section.tsx +0 -31
  1007. package/src/components/customIcons/iconslibrary/SendIcon.tsx +0 -15
  1008. package/src/components/customIcons/iconslibrary/SettingIcon.tsx +0 -26
  1009. package/src/components/customIcons/iconslibrary/SettingsSpanner.tsx +0 -12
  1010. package/src/components/customIcons/iconslibrary/ShpIcon.tsx +0 -13
  1011. package/src/components/customIcons/iconslibrary/ShpSmallIcon.tsx +0 -10
  1012. package/src/components/customIcons/iconslibrary/SideMenuLogoutIcon.tsx +0 -13
  1013. package/src/components/customIcons/iconslibrary/SignOffIcon.tsx +0 -16
  1014. package/src/components/customIcons/iconslibrary/SignOnIcon.tsx +0 -16
  1015. package/src/components/customIcons/iconslibrary/Slash.tsx +0 -15
  1016. package/src/components/customIcons/iconslibrary/SortArrow.tsx +0 -15
  1017. package/src/components/customIcons/iconslibrary/SortAscIcon.tsx +0 -10
  1018. package/src/components/customIcons/iconslibrary/SortDescIcon.tsx +0 -10
  1019. package/src/components/customIcons/iconslibrary/SortDown.tsx +0 -15
  1020. package/src/components/customIcons/iconslibrary/StaredVerifiedIcon.tsx +0 -11
  1021. package/src/components/customIcons/iconslibrary/StepperCheckIcon.tsx +0 -13
  1022. package/src/components/customIcons/iconslibrary/StepperCheckSmall.tsx +0 -23
  1023. package/src/components/customIcons/iconslibrary/StepperSuccess.tsx +0 -43
  1024. package/src/components/customIcons/iconslibrary/SubFunctionsIcon.tsx +0 -12
  1025. package/src/components/customIcons/iconslibrary/SubMenuList.tsx +0 -22
  1026. package/src/components/customIcons/iconslibrary/SuccessIcon.tsx +0 -42
  1027. package/src/components/customIcons/iconslibrary/SwitchVertical.tsx +0 -17
  1028. package/src/components/customIcons/iconslibrary/TableViewDash.tsx +0 -12
  1029. package/src/components/customIcons/iconslibrary/ThreeDotIcon.tsx +0 -40
  1030. package/src/components/customIcons/iconslibrary/ThreeDotIconHorizontal.tsx +0 -28
  1031. package/src/components/customIcons/iconslibrary/ThreeDotLineIcon.tsx +0 -28
  1032. package/src/components/customIcons/iconslibrary/Tonnage.tsx +0 -15
  1033. package/src/components/customIcons/iconslibrary/TreeColapseicon.tsx +0 -10
  1034. package/src/components/customIcons/iconslibrary/TreeExpandIcon.tsx +0 -9
  1035. package/src/components/customIcons/iconslibrary/Unlock.tsx +0 -41
  1036. package/src/components/customIcons/iconslibrary/UpArrow.tsx +0 -12
  1037. package/src/components/customIcons/iconslibrary/UpArrowRounded.tsx +0 -21
  1038. package/src/components/customIcons/iconslibrary/UploadPhoto.tsx +0 -21
  1039. package/src/components/customIcons/iconslibrary/User.tsx +0 -13
  1040. package/src/components/customIcons/iconslibrary/UserCheck.tsx +0 -41
  1041. package/src/components/customIcons/iconslibrary/UserClose.tsx +0 -41
  1042. package/src/components/customIcons/iconslibrary/UserEdit.tsx +0 -12
  1043. package/src/components/customIcons/iconslibrary/ValidationRuleIcon.tsx +0 -23
  1044. package/src/components/customIcons/iconslibrary/VendorIcon.tsx +0 -9
  1045. package/src/components/customIcons/iconslibrary/Verified.tsx +0 -16
  1046. package/src/components/customIcons/iconslibrary/VerifiedIcon.tsx +0 -19
  1047. package/src/components/customIcons/iconslibrary/Verify.tsx +0 -17
  1048. package/src/components/customIcons/iconslibrary/VesselIcon.tsx +0 -56
  1049. package/src/components/customIcons/iconslibrary/VesselScheduleShip.tsx +0 -9
  1050. package/src/components/customIcons/iconslibrary/VesselWheel.tsx +0 -31
  1051. package/src/components/customIcons/iconslibrary/ViewLargeIcon.tsx +0 -18
  1052. package/src/components/customIcons/iconslibrary/VolumeIcon.tsx +0 -9
  1053. package/src/components/customIcons/iconslibrary/Wallet.tsx +0 -17
  1054. package/src/components/customIcons/iconslibrary/Warning.tsx +0 -12
  1055. package/src/components/customIcons/iconslibrary/WarningFilledIcon.tsx +0 -21
  1056. package/src/components/customIcons/iconslibrary/WorkflowIcon.tsx +0 -12
  1057. package/src/components/customIcons/iconslibrary/WorkflowStatusIcon.tsx +0 -12
  1058. package/src/components/customIcons/iconslibrary/collapseIconDash.tsx +0 -23
  1059. package/src/components/customIcons/iconslibrary/ship/Icon1.tsx +0 -12
  1060. package/src/components/customIcons/iconslibrary/ship/Icon10.tsx +0 -14
  1061. package/src/components/customIcons/iconslibrary/ship/Icon11.tsx +0 -21
  1062. package/src/components/customIcons/iconslibrary/ship/Icon12.tsx +0 -27
  1063. package/src/components/customIcons/iconslibrary/ship/Icon13.tsx +0 -11
  1064. package/src/components/customIcons/iconslibrary/ship/Icon14.tsx +0 -20
  1065. package/src/components/customIcons/iconslibrary/ship/Icon15.tsx +0 -37
  1066. package/src/components/customIcons/iconslibrary/ship/Icon16.tsx +0 -11
  1067. package/src/components/customIcons/iconslibrary/ship/Icon2.tsx +0 -14
  1068. package/src/components/customIcons/iconslibrary/ship/Icon3.tsx +0 -11
  1069. package/src/components/customIcons/iconslibrary/ship/Icon4.tsx +0 -11
  1070. package/src/components/customIcons/iconslibrary/ship/Icon5.tsx +0 -28
  1071. package/src/components/customIcons/iconslibrary/ship/Icon6.tsx +0 -28
  1072. package/src/components/customIcons/iconslibrary/ship/Icon7.tsx +0 -11
  1073. package/src/components/customIcons/iconslibrary/ship/Icon8.tsx +0 -11
  1074. package/src/components/customIcons/iconslibrary/ship/Icon9.tsx +0 -11
  1075. package/src/components/customIcons/iconslibrary/uploadButtonIcon.tsx +0 -12
  1076. package/src/components/customIcons/iconslibrary/verify-icon.tsx +0 -14
  1077. package/src/components/customIcons/index.tsx +0 -76
  1078. package/src/components/customIcons/lock-button.tsx +0 -16
  1079. package/src/components/customIcons/upTreeArrowIcon.tsx +0 -9
  1080. package/src/components/loader/Spinner.tsx +0 -27
  1081. package/src/components/portal/index.tsx +0 -38
  1082. package/src/dropdownFilterTabs.tsx +0 -1275
  1083. package/src/dummyAutoCompleteWithSelectedList.tsx +0 -772
  1084. package/src/index.html +0 -1
  1085. package/src/index.tsx +0 -23
  1086. package/src/styles/components/autocomplete.css +0 -744
  1087. package/src/styles/components/selectedautocomplete.css +0 -221
  1088. package/src/styles/components/tooltip.css +0 -497
  1089. package/src/styles/components/treedropdown.css +0 -97
  1090. package/src/utilities/NewTooltip.tsx +0 -185
  1091. package/src/utilities/autosuggestions.ts +0 -99
  1092. package/src/utilities/convertFlatArraytoTreeStructure.ts +0 -27
  1093. package/src/utilities/debounce.ts +0 -15
  1094. package/src/utilities/deepDebounce.ts +0 -15
  1095. package/src/utilities/deepEqual.ts +0 -54
  1096. package/src/utilities/expandableTootltip.tsx +0 -147
  1097. package/src/utilities/filterSuggestions.ts +0 -54
  1098. package/src/utilities/generateInnerWidth.ts +0 -5
  1099. package/src/utilities/getKeyValue.ts +0 -14
  1100. package/src/utilities/getPosition.ts +0 -61
  1101. package/src/utilities/icons.tsx +0 -189
  1102. package/src/utilities/measureTabListNaturalWidth.ts +0 -117
  1103. package/src/utilities/tooltip.tsx +0 -51
  1104. package/src/utilities/useDynamicHeight.ts +0 -72
  1105. package/tailwind.config.js +0 -16
  1106. package/tsconfig.json +0 -14
  1107. package/webpack.config.js +0 -80
@@ -1,15 +1,4 @@
1
1
  "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
3
  if (k2 === undefined) k2 = k;
15
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -26,172 +15,137 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
26
15
  }) : function(o, v) {
27
16
  o["default"] = v;
28
17
  });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
- return new (P || (P = Promise))(function (resolve, reject) {
39
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
- step((generator = generator.apply(thisArg, _arguments || [])).next());
43
- });
44
- };
45
- var __generator = (this && this.__generator) || function (thisArg, body) {
46
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
47
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
48
- function verb(n) { return function (v) { return step([n, v]); }; }
49
- function step(op) {
50
- if (f) throw new TypeError("Generator is already executing.");
51
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
52
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
53
- if (y = 0, t) op = [op[0] & 2, t.value];
54
- switch (op[0]) {
55
- case 0: case 1: t = op; break;
56
- case 4: _.label++; return { value: op[1], done: false };
57
- case 5: _.label++; y = op[1]; op = [0]; continue;
58
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
59
- default:
60
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
61
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
62
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
63
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
64
- if (t[2]) _.ops.pop();
65
- _.trys.pop(); continue;
66
- }
67
- op = body.call(thisArg, _);
68
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
69
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
70
- }
71
- };
72
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
73
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
74
- if (ar || !(i in from)) {
75
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
76
- ar[i] = from[i];
77
- }
78
- }
79
- return to.concat(ar || Array.prototype.slice.call(from));
80
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
81
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
82
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
83
37
  };
84
38
  Object.defineProperty(exports, "__esModule", { value: true });
85
- var jsx_runtime_1 = require("react/jsx-runtime");
86
- var react_1 = __importStar(require("react"));
87
- var react_dom_1 = __importDefault(require("react-dom"));
88
- var DropdownList_1 = __importDefault(require("./components/DropdownList"));
89
- var autosuggestions_1 = require("./utilities/autosuggestions");
90
- var debounce_1 = require("./utilities/debounce");
91
- var deepEqual_1 = require("./utilities/deepEqual");
92
- var filterSuggestions_1 = require("./utilities/filterSuggestions");
93
- var icons_1 = require("./utilities/icons");
94
- var NewTooltip_1 = __importDefault(require("./utilities/NewTooltip"));
95
- var getKeyValue_1 = require("./utilities/getKeyValue");
96
- var measureTabListNaturalWidth_1 = require("./utilities/measureTabListNaturalWidth");
97
- var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
98
- var label = _a.label, onChange = _a.onChange, _b = _a.getData, getData = _b === void 0 ? function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
99
- return [2 /*return*/, []];
100
- }); }); } : _b, _c = _a.data, data = _c === void 0 ? [] : _c, errors = _a.errors, _d = _a.required, required = _d === void 0 ? false : _d, name = _a.name, _e = _a.fullWidth, fullWidth = _e === void 0 ? false : _e, placeholder = _a.placeholder, id = _a.id, _f = _a.type, type = _f === void 0 ? 'custom_select' : _f, _g = _a.selectedItems, propsSeelctedItems = _g === void 0 ? [] : _g, _h = _a.readOnly, readOnly = _h === void 0 ? false : _h, _j = _a.disabled, disabled = _j === void 0 ? false : _j, value = _a.value, _k = _a.searchValue, propsSearchValue = _k === void 0 ? '' : _k, _l = _a.isMultiple, isMultiple = _l === void 0 ? false : _l, _m = _a.desc, desc = _m === void 0 ? 'name' : _m, _o = _a.descId, descId = _o === void 0 ? 'id' : _o, singleSelect = _a.singleSelect, className = _a.className, _p = _a.async, async = _p === void 0 ? false : _p, paginationEnabled = _a.paginationEnabled, _q = _a.initialLoad, initialLoad = _q === void 0 ? false : _q, actionLabel = _a.actionLabel, handleAction = _a.handleAction, nextBlock = _a.nextBlock, notDataMessage = _a.notDataMessage, initialDataMessage = _a.initialDataMessage, onFocus = _a.onFocus, onSearchValueChange = _a.onSearchValueChange, _r = _a.expandable, expandable = _r === void 0 ? false : _r, _s = _a.textCount, textCount = _s === void 0 ? 10 : _s, _t = _a.itemCount, itemCount = _t === void 0 ? 1 : _t, scrollRef = _a.scrollRef, _u = _a.countOnly, countOnly = _u === void 0 ? true : _u, _v = _a.typeOnlyFetch, typeOnlyFetch = _v === void 0 ? false : _v, _w = _a.tab, tab = _w === void 0 ? [] : _w, _x = _a.clearTabSwitch, clearTabSwitch = _x === void 0 ? false : _x, _y = _a.selectedRowLimit, selectedRowLimit = _y === void 0 ? 2 : _y, _z = _a.topMargin, topMargin = _z === void 0 ? 0 : _z, _0 = _a.currentTab, currentTab = _0 === void 0 ? 0 : _0, _1 = _a.selectedLabel, selectedLabel = _1 === void 0 ? '' : _1, _2 = _a.viewMode, viewMode = _2 === void 0 ? false : _2, handleUpdateParent = _a.handleUpdateParent, _3 = _a.shortCode, shortCode = _3 === void 0 ? '' : _3, _4 = _a.labelCode, labelCode = _4 === void 0 ? '' : _4, _5 = _a.tabInlineSearch, tabInlineSearch = _5 === void 0 ? true : _5, _6 = _a.matchFromStart, matchFromStart = _6 === void 0 ? false : _6, _7 = _a.autoDropdown, autoDropdown = _7 === void 0 ? false : _7, _8 = _a.enableSelectAll, enableSelectAll = _8 === void 0 ? false : _8, dropdownRef = _a.dropdownRef, _9 = _a.open, open = _9 === void 0 ? false : _9, applyTabFilter = _a.applyTabFilter, onToolClose = _a.onToolClose, moreOptionTab = _a.moreOptionTab, _10 = _a.moreOptionTabLabel, moreOptionTabLabel = _10 === void 0 ? 'More Options' : _10, moreOptionTabIcon = _a.moreOptionTabIcon, onMoreOptionChange = _a.onMoreOptionChange, externalResetKey = _a.moreOptionResetKey;
101
- var selItemRef = (0, react_1.useRef)(null);
102
- var itemsRef = (0, react_1.useRef)(null);
103
- var dropdownSelectedRef = (0, react_1.useRef)(null);
104
- var tabRef = (0, react_1.useRef)(null);
105
- var dropLevelRef = (0, react_1.useRef)('bottom');
39
+ const jsx_runtime_1 = require("react/jsx-runtime");
40
+ const react_1 = __importStar(require("react"));
41
+ const react_dom_1 = __importDefault(require("react-dom"));
42
+ const DropdownList_1 = __importDefault(require("./components/DropdownList"));
43
+ const autosuggestions_1 = require("./utilities/autosuggestions");
44
+ const debounce_1 = require("./utilities/debounce");
45
+ const deepEqual_1 = require("./utilities/deepEqual");
46
+ const filterSuggestions_1 = require("./utilities/filterSuggestions");
47
+ const icons_1 = require("./utilities/icons");
48
+ const NewTooltip_1 = __importDefault(require("./utilities/NewTooltip"));
49
+ const getKeyValue_1 = require("./utilities/getKeyValue");
50
+ const measureTabListNaturalWidth_1 = require("./utilities/measureTabListNaturalWidth");
51
+ const DropdownFilterTabs = (0, react_1.forwardRef)(({ label, onChange, getData = async () => [], data = [], errors, required = false, name, fullWidth = false, placeholder, id, type = 'custom_select', selectedItems: propsSeelctedItems = [], readOnly = false, disabled = false, value, searchValue: propsSearchValue = '', isMultiple = false, desc = 'name', descId = 'id', singleSelect, className, async = false, paginationEnabled, initialLoad = false, actionLabel, handleAction, nextBlock, notDataMessage, initialDataMessage, onFocus, onSearchValueChange, expandable = false, textCount = 10, itemCount = 1, scrollRef, countOnly = true, typeOnlyFetch = false, tab = [], clearTabSwitch = false, selectedRowLimit = 2, topMargin = 0, currentTab = 0, selectedLabel = '', viewMode = false, handleUpdateParent, shortCode = '', labelCode = '', tabInlineSearch = true, matchFromStart = false, autoDropdown = false, enableSelectAll = false, dropdownRef, open = false, applyTabFilter, onToolClose, moreOptionTab, moreOptionTabLabel = 'More Options', moreOptionTabIcon, onMoreOptionChange, moreOptionResetKey: externalResetKey }, ref) => {
52
+ const selItemRef = (0, react_1.useRef)(null);
53
+ const itemsRef = (0, react_1.useRef)(null);
54
+ const dropdownSelectedRef = (0, react_1.useRef)(null);
55
+ const tabRef = (0, react_1.useRef)(null);
56
+ const dropLevelRef = (0, react_1.useRef)('bottom');
106
57
  // State Hooks Section
107
- var _11 = (0, react_1.useState)(true), isInitialRender = _11[0], setIsInitialRender = _11[1];
108
- var _12 = (0, react_1.useState)(value), inputValue = _12[0], setInputValue = _12[1];
109
- var _13 = (0, react_1.useState)(propsSearchValue), searchValue = _13[0], setSearchValue = _13[1];
110
- var _14 = (0, react_1.useState)(''), searchOldValue = _14[0], setSearchOldValue = _14[1];
111
- var _15 = (0, react_1.useState)(1), nextPage = _15[0], setNextPage = _15[1];
112
- var _16 = (0, react_1.useState)(open), dropOpen = _16[0], setDropOpen = _16[1];
113
- var _17 = (0, react_1.useState)([]), selectedItems = _17[0], setSelectedItems = _17[1];
114
- var _18 = (0, react_1.useState)(false), showAllSelected = _18[0], setShowAllSelected = _18[1];
115
- var _19 = (0, react_1.useState)(184), selHeight = _19[0], setSelHeight = _19[1];
116
- var _20 = (0, react_1.useState)(1), expandArrowClick = _20[0], setExpandArrowClick = _20[1];
117
- var _21 = (0, react_1.useState)(true), visible = _21[0], setVisible = _21[1];
118
- var _22 = (0, react_1.useState)(currentTab), activeTab = _22[0], setActiveTab = _22[1];
119
- var _23 = (0, react_1.useState)(0), focusedIndex = _23[0], setFocusedIndex = _23[1];
120
- var itemRefs = (0, react_1.useRef)([]);
58
+ const [isInitialRender, setIsInitialRender] = (0, react_1.useState)(true);
59
+ const [inputValue, setInputValue] = (0, react_1.useState)(value);
60
+ const [searchValue, setSearchValue] = (0, react_1.useState)(propsSearchValue);
61
+ const [searchOldValue, setSearchOldValue] = (0, react_1.useState)('');
62
+ const [nextPage, setNextPage] = (0, react_1.useState)(1);
63
+ const [dropOpen, setDropOpen] = (0, react_1.useState)(open);
64
+ const [selectedItems, setSelectedItems] = (0, react_1.useState)([]);
65
+ const [showAllSelected, setShowAllSelected] = (0, react_1.useState)(false);
66
+ const [selHeight, setSelHeight] = (0, react_1.useState)(184);
67
+ const [expandArrowClick, setExpandArrowClick] = (0, react_1.useState)(1);
68
+ const [visible, setVisible] = (0, react_1.useState)(true);
69
+ const [activeTab, setActiveTab] = (0, react_1.useState)(currentTab);
70
+ const [focusedIndex, setFocusedIndex] = (0, react_1.useState)(0);
71
+ const itemRefs = (0, react_1.useRef)([]);
121
72
  // API call for suggestions through a custom hook
122
- var inputRef = (0, react_1.useRef)(null);
123
- var dropRef = (0, react_1.useRef)(null);
124
- var inputSearchRef = (0, react_1.useRef)(null);
125
- var dropBtnRef = (0, react_1.useRef)(null);
126
- (0, react_1.useImperativeHandle)(ref, function () { return inputRef.current; });
127
- var _24 = (0, react_1.useState)({
73
+ const inputRef = (0, react_1.useRef)(null);
74
+ const dropRef = (0, react_1.useRef)(null);
75
+ const inputSearchRef = (0, react_1.useRef)(null);
76
+ const dropBtnRef = (0, react_1.useRef)(null);
77
+ (0, react_1.useImperativeHandle)(ref, () => inputRef.current);
78
+ const [dropdownStyle, setDropdownStyle] = (0, react_1.useState)({
128
79
  top: 0,
129
80
  left: 0,
130
81
  width: 200,
131
- }), dropdownStyle = _24[0], setDropdownStyle = _24[1];
132
- var _25 = (0, react_1.useState)(false), selectAll = _25[0], setSelectAll = _25[1];
133
- var _26 = (0, react_1.useState)(false), refetchData = _26[0], setRefetchData = _26[1];
134
- var _27 = (0, react_1.useState)(false), allDataLoaded = _27[0], setAllDataLoaded = _27[1];
135
- var _28 = (0, react_1.useState)(false), isKeyboardOpen = _28[0], setIsKeyboardOpen = _28[1];
136
- var _29 = (0, react_1.useState)(false), hasMoreOptionValues = _29[0], setHasMoreOptionValues = _29[1];
137
- var _30 = (0, react_1.useState)(false), tabsScrollable = _30[0], setTabsScrollable = _30[1];
138
- var scrollableDivsRef = (0, react_1.useRef)(null);
139
- // Use external reset key if provided, otherwise default to 0
140
- var currentResetKey = externalResetKey !== undefined ? externalResetKey : 0;
82
+ });
83
+ const [selectAll, setSelectAll] = (0, react_1.useState)(false);
84
+ const [refetchData, setRefetchData] = (0, react_1.useState)(false);
85
+ const [allDataLoaded, setAllDataLoaded] = (0, react_1.useState)(false);
86
+ const [isKeyboardOpen, setIsKeyboardOpen] = (0, react_1.useState)(false);
87
+ const [hasMoreOptionValues, setHasMoreOptionValues] = (0, react_1.useState)(false);
88
+ const [tabsScrollable, setTabsScrollable] = (0, react_1.useState)(false);
89
+ const scrollableDivsRef = (0, react_1.useRef)(null);
90
+ const [localResetKey, setLocalResetKey] = (0, react_1.useState)(0);
91
+ // Use external reset key if provided, otherwise use local reset key
92
+ const currentResetKey = externalResetKey !== undefined ? externalResetKey : localResetKey;
141
93
  // Reset hasMoreOptionValues when reset key changes
142
- (0, react_1.useEffect)(function () {
94
+ (0, react_1.useEffect)(() => {
143
95
  if (externalResetKey !== undefined && externalResetKey > 0) {
144
96
  setHasMoreOptionValues(false);
97
+ // Reset local reset key when external reset happens
98
+ setLocalResetKey(0);
145
99
  }
146
100
  }, [externalResetKey]);
147
101
  // Filter selected items based on current active tab
148
- var currentTabId = tab.length > 0 && activeTab < tab.length ? tab[activeTab].id : undefined;
149
- var filteredSelectedItems = (0, react_1.useMemo)(function () {
150
- return selectedItems.filter(function (item) { return item.tabId === currentTabId; });
102
+ const currentTabId = tab.length > 0 && activeTab < tab.length ? tab[activeTab].id : undefined;
103
+ const filteredSelectedItems = (0, react_1.useMemo)(() => {
104
+ return selectedItems.filter(item => item.tabId === currentTabId);
151
105
  }, [selectedItems, currentTabId]);
152
- (0, react_1.useEffect)(function () {
106
+ (0, react_1.useEffect)(() => {
153
107
  setDropOpen(open);
154
108
  }, [open]);
155
- (0, react_1.useEffect)(function () {
109
+ (0, react_1.useEffect)(() => {
156
110
  setActiveTab(currentTab);
157
111
  }, [currentTab]);
158
112
  // Reset focused index when active tab changes
159
- (0, react_1.useEffect)(function () {
113
+ (0, react_1.useEffect)(() => {
160
114
  setFocusedIndex(0);
161
115
  }, [activeTab]);
162
- var adjustDropdownPosition = function () {
116
+ const adjustDropdownPosition = () => {
163
117
  // Use requestAnimationFrame to ensure DOM is ready
164
- requestAnimationFrame(function () {
118
+ requestAnimationFrame(() => {
165
119
  var _a, _b, _c;
166
120
  if (dropdownRef === null || dropdownRef === void 0 ? void 0 : dropdownRef.current) {
167
- var inputRect = (_a = dropdownRef === null || dropdownRef === void 0 ? void 0 : dropdownRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
168
- var dropdownPosition_1 = {
121
+ const inputRect = (_a = dropdownRef === null || dropdownRef === void 0 ? void 0 : dropdownRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
122
+ const dropdownPosition = {
169
123
  left: inputRect.left + window.scrollX,
170
124
  width: inputRect.width,
171
125
  top: 0,
172
126
  };
173
- var hasTabs_1 = tab.length > 0 || !!moreOptionTab;
174
- var tabsNaturalWidth_1 = tabRef.current
127
+ const hasTabs = tab.length > 0 || !!moreOptionTab;
128
+ const tabsNaturalWidth = tabRef.current
175
129
  ? (0, measureTabListNaturalWidth_1.measureTabListNaturalWidth)(tabRef.current)
176
130
  : null;
177
- var maxWidthCap = hasTabs_1
178
- ? Math.max(measureTabListNaturalWidth_1.MAX_DROPDOWN_WIDTH_WITH_TABS_PX, dropdownPosition_1.width)
131
+ const maxWidthCap = hasTabs
132
+ ? Math.max(measureTabListNaturalWidth_1.MAX_DROPDOWN_WIDTH_WITH_TABS_PX, dropdownPosition.width)
179
133
  : Number.POSITIVE_INFINITY;
180
- var widthBeforeClamp = Math.min(Math.max(dropdownPosition_1.width, tabsNaturalWidth_1 !== null && tabsNaturalWidth_1 !== void 0 ? tabsNaturalWidth_1 : 0, measureTabListNaturalWidth_1.MIN_DROPDOWN_WIDTH_PX), maxWidthCap);
181
- var _d = (0, measureTabListNaturalWidth_1.clampDropdownToViewportPreferRightAlign)({
134
+ const widthBeforeClamp = Math.min(Math.max(dropdownPosition.width, tabsNaturalWidth !== null && tabsNaturalWidth !== void 0 ? tabsNaturalWidth : 0, measureTabListNaturalWidth_1.MIN_DROPDOWN_WIDTH_PX), maxWidthCap);
135
+ const { width: desiredWidth, left: desiredLeft } = (0, measureTabListNaturalWidth_1.clampDropdownToViewportPreferRightAlign)({
182
136
  desiredWidth: widthBeforeClamp,
183
- desiredLeft: dropdownPosition_1.left,
137
+ desiredLeft: dropdownPosition.left,
184
138
  anchorRight: inputRect.right + window.scrollX,
185
- }), desiredWidth_1 = _d.width, desiredLeft_1 = _d.left;
186
- setTabsScrollable(function (prev) {
187
- var next = hasTabs_1 && (tabsNaturalWidth_1 !== null && tabsNaturalWidth_1 !== void 0 ? tabsNaturalWidth_1 : 0) > desiredWidth_1;
139
+ });
140
+ setTabsScrollable((prev) => {
141
+ const next = hasTabs && (tabsNaturalWidth !== null && tabsNaturalWidth !== void 0 ? tabsNaturalWidth : 0) > desiredWidth;
188
142
  return prev === next ? prev : next;
189
143
  });
190
144
  // Check if there's enough space below the input for the dropdown
191
- var spaceBelow = window.innerHeight - inputRect.bottom;
192
- var spaceAbove = inputRect.top + window.scrollY;
193
- var dropdownHeight = viewMode ? 160 : 300; // Assume a fixed height or calculate based on content
194
- var defaultHeight = 184;
145
+ const spaceBelow = window.innerHeight - inputRect.bottom;
146
+ const spaceAbove = inputRect.top + window.scrollY;
147
+ let dropdownHeight = viewMode ? 160 : 300; // Assume a fixed height or calculate based on content
148
+ const defaultHeight = 184;
195
149
  if (countOnly) {
196
150
  if (dropdownSelectedRef === null || dropdownSelectedRef === void 0 ? void 0 : dropdownSelectedRef.current)
197
151
  dropdownHeight += (_b = dropdownSelectedRef === null || dropdownSelectedRef === void 0 ? void 0 : dropdownSelectedRef.current) === null || _b === void 0 ? void 0 : _b.clientHeight;
@@ -202,19 +156,19 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
202
156
  }
203
157
  if (spaceBelow >= dropdownHeight) {
204
158
  dropLevelRef.current = 'bottom';
205
- dropdownPosition_1.top =
159
+ dropdownPosition.top =
206
160
  inputRect.top + window.scrollY + inputRect.height;
207
161
  setSelHeight(defaultHeight);
208
162
  }
209
163
  else if (spaceAbove >= dropdownHeight) {
210
- var sHeight = tabInlineSearch ? 73 : 113;
164
+ let sHeight = tabInlineSearch ? 73 : 113;
211
165
  sHeight =
212
166
  sHeight -
213
167
  ((filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 && enableSelectAll && isMultiple
214
168
  ? 32
215
169
  : 0);
216
170
  dropLevelRef.current = 'top';
217
- dropdownPosition_1.top =
171
+ dropdownPosition.top =
218
172
  inputRect.top +
219
173
  window.scrollY -
220
174
  dropdownHeight +
@@ -224,39 +178,39 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
224
178
  }
225
179
  else {
226
180
  dropLevelRef.current = 'bottom';
227
- dropdownPosition_1.top =
181
+ dropdownPosition.top =
228
182
  inputRect.top + window.scrollY + inputRect.height;
229
183
  if (itemsRef === null || itemsRef === void 0 ? void 0 : itemsRef.current) {
230
- var totalH = showAllSelected ? 148 : defaultHeight;
231
- var selH = totalH - (dropdownHeight - spaceBelow);
184
+ const totalH = showAllSelected ? 148 : defaultHeight;
185
+ const selH = totalH - (dropdownHeight - spaceBelow);
232
186
  setSelHeight(selH < 50 ? 50 : selH);
233
187
  }
234
188
  }
235
189
  // setDropdownStyle({
236
190
  // ...dropdownPosition,
237
191
  // });
238
- setDropdownStyle(function (prevStyle) { return (__assign(__assign({}, prevStyle), { transform: "translateY(".concat(dropdownPosition_1.top, "px)"), left: desiredLeft_1, width: desiredWidth_1 })); });
192
+ setDropdownStyle((prevStyle) => (Object.assign(Object.assign({}, prevStyle), { transform: `translateY(${dropdownPosition.top}px)`, left: desiredLeft, width: desiredWidth })));
239
193
  }
240
194
  });
241
195
  };
242
- (0, react_1.useEffect)(function () {
196
+ (0, react_1.useEffect)(() => {
243
197
  window.addEventListener('resize', adjustDropdownPosition);
244
198
  adjustDropdownPosition();
245
- return function () {
199
+ return () => {
246
200
  window.removeEventListener('resize', adjustDropdownPosition);
247
201
  };
248
202
  }, [dropOpen, expandArrowClick]);
249
- var _31 = (0, autosuggestions_1.useSuggestions)(getData, data, dropOpen, async, paginationEnabled, initialLoad, inputValue, isMultiple, setNextPage, selectedItems, typeOnlyFetch
203
+ const { suggestions, isLoading, handlePickSuggestions, resetSuggections } = (0, autosuggestions_1.useSuggestions)(getData, data, dropOpen, async, paginationEnabled, initialLoad, String(searchValue || inputValue || ''), isMultiple, setNextPage, selectedItems, typeOnlyFetch
250
204
  // nextBlock
251
- ), suggestions = _31.suggestions, isLoading = _31.isLoading, handlePickSuggestions = _31.handlePickSuggestions, resetSuggections = _31.resetSuggections;
205
+ );
252
206
  // Handling the selection of a suggestion
253
- var handleSuggestionClick = (0, react_1.useCallback)(function (suggestion, idx) {
207
+ const handleSuggestionClick = (0, react_1.useCallback)((suggestion, idx) => {
254
208
  if (isMultiple) {
255
209
  setFocusedIndex(idx);
256
- setSelectedItems(function (prev) {
257
- var isAdded = prev && prev.length > 0
258
- ? prev.some(function (item) {
259
- var sameId = (0, getKeyValue_1.getKeyValue)(item, descId, 'id') ===
210
+ setSelectedItems((prev) => {
211
+ const isAdded = prev && prev.length > 0
212
+ ? prev.some((item) => {
213
+ const sameId = (0, getKeyValue_1.getKeyValue)(item, descId, 'id') ===
260
214
  (0, getKeyValue_1.getKeyValue)(suggestion, descId, 'id');
261
215
  if (!sameId)
262
216
  return false;
@@ -271,8 +225,8 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
271
225
  : false;
272
226
  if (isAdded) {
273
227
  // Remove only the item for the current tab (if tabId is used)
274
- return prev.filter(function (item) {
275
- var sameId = (0, getKeyValue_1.getKeyValue)(item, descId, 'id') ===
228
+ return prev.filter((item) => {
229
+ const sameId = (0, getKeyValue_1.getKeyValue)(item, descId, 'id') ===
276
230
  (0, getKeyValue_1.getKeyValue)(suggestion, descId, 'id');
277
231
  if (!sameId)
278
232
  return true;
@@ -284,8 +238,8 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
284
238
  }
285
239
  else {
286
240
  // Include tab ID when adding suggestion
287
- var suggestionWithTabId = __assign(__assign({}, suggestion), { tabId: tab.length > 0 ? tab[activeTab].id : undefined });
288
- return __spreadArray(__spreadArray([], prev, true), [suggestionWithTabId], false);
241
+ const suggestionWithTabId = Object.assign(Object.assign({}, suggestion), { tabId: tab.length > 0 ? tab[activeTab].id : undefined });
242
+ return [...prev, suggestionWithTabId];
289
243
  }
290
244
  });
291
245
  }
@@ -298,29 +252,29 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
298
252
  }
299
253
  }, [activeTab, tab, descId, desc, onChange, isMultiple]);
300
254
  // Adding debounce to avoid making API calls on every keystroke
301
- var debouncedUpdate = (0, react_1.useCallback)((0, debounce_1.debounce)(function (value, tabVal) {
255
+ const debouncedUpdate = (0, react_1.useCallback)((0, debounce_1.debounce)((value, tabVal) => {
302
256
  setSearchOldValue(value);
303
257
  handlePickSuggestions(value, 1, false, tabVal);
304
258
  }, 500), []);
305
- var handleChangeWithDebounce = function (value) {
259
+ const handleChangeWithDebounce = (value) => {
306
260
  if ((type === 'auto_complete' || type === 'auto_suggestion') && async) {
307
- var activeTabVal = tab.length > 0 ? tab === null || tab === void 0 ? void 0 : tab[activeTab].id : undefined;
261
+ const activeTabVal = tab.length > 0 ? tab === null || tab === void 0 ? void 0 : tab[activeTab].id : undefined;
308
262
  debouncedUpdate(value, activeTabVal);
309
263
  }
310
264
  };
311
- var handleMultiSelect = function (e, suggestion) {
312
- var checked = e.target.checked;
265
+ const handleMultiSelect = (e, suggestion) => {
266
+ const { checked } = e.target;
313
267
  if (isMultiple) {
314
268
  if (checked) {
315
269
  // Include tab ID when adding suggestion
316
- var suggestionWithTabId_1 = __assign(__assign({}, suggestion), { tabId: tab.length > 0 ? tab[activeTab].id : undefined });
317
- setSelectedItems(function (prev) { return __spreadArray(__spreadArray([], prev, true), [suggestionWithTabId_1], false); });
270
+ const suggestionWithTabId = Object.assign(Object.assign({}, suggestion), { tabId: tab.length > 0 ? tab[activeTab].id : undefined });
271
+ setSelectedItems((prev) => [...prev, suggestionWithTabId]);
318
272
  }
319
273
  else {
320
274
  // When unchecking, only remove the item for the current tab (if tabId is used)
321
- setSelectedItems(function (prev) {
322
- return prev.filter(function (item) {
323
- var sameId = (0, getKeyValue_1.getKeyValue)(item, descId, 'id') ===
275
+ setSelectedItems((prev) => {
276
+ return prev.filter((item) => {
277
+ const sameId = (0, getKeyValue_1.getKeyValue)(item, descId, 'id') ===
324
278
  (0, getKeyValue_1.getKeyValue)(suggestion, descId, 'id');
325
279
  if (!sameId)
326
280
  return true;
@@ -344,7 +298,7 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
344
298
  }
345
299
  }
346
300
  };
347
- (0, react_1.useEffect)(function () {
301
+ (0, react_1.useEffect)(() => {
348
302
  // Only update if different
349
303
  if (!(0, deepEqual_1.deepEqual)(selectedItems, propsSeelctedItems)) {
350
304
  setSelectedItems(propsSeelctedItems);
@@ -352,21 +306,21 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
352
306
  // eslint-disable-next-line react-hooks/exhaustive-deps
353
307
  }, [propsSeelctedItems]);
354
308
  // Effect to set the input value whenever `value` prop changes
355
- (0, react_1.useEffect)(function () {
309
+ (0, react_1.useEffect)(() => {
356
310
  setInputValue(value !== null && value !== void 0 ? value : '');
357
311
  }, [value]);
358
- var handleSuggestionChange = function (e) {
359
- var value = e.target.value;
312
+ const handleSuggestionChange = (e) => {
313
+ const { value } = e.target;
360
314
  //setVisibleDrop();
361
- var trimStart = value.trimStart();
315
+ const trimStart = value.trimStart();
362
316
  setSearchValue(trimStart);
363
317
  handleChangeWithDebounce(trimStart);
364
318
  setAllDataLoaded(false);
365
319
  };
366
- var handleClearSelected = function () {
320
+ const handleClearSelected = () => {
367
321
  // Only clear items from current tab
368
- setSelectedItems(function (prev) {
369
- var remainingItems = prev.filter(function (item) { return item.tabId !== currentTabId; });
322
+ setSelectedItems((prev) => {
323
+ const remainingItems = prev.filter(item => item.tabId !== currentTabId);
370
324
  return remainingItems;
371
325
  });
372
326
  setShowAllSelected(false);
@@ -376,43 +330,41 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
376
330
  if (async && type === 'auto_suggestion' && tabInlineSearch)
377
331
  resetSuggections === null || resetSuggections === void 0 ? void 0 : resetSuggections();
378
332
  };
379
- var handleRemoveSelectedItem = (0, react_1.useCallback)(function (index) {
380
- var itemToRemove = filteredSelectedItems[index];
381
- setSelectedItems(function (prev) {
382
- return prev.filter(function (item) {
383
- return (0, getKeyValue_1.getKeyValue)(item, descId, 'id') !== (0, getKeyValue_1.getKeyValue)(itemToRemove, descId, 'id');
384
- });
333
+ const handleRemoveSelectedItem = (0, react_1.useCallback)((index) => {
334
+ const itemToRemove = filteredSelectedItems[index];
335
+ setSelectedItems((prev) => {
336
+ return prev.filter((item) => (0, getKeyValue_1.getKeyValue)(item, descId, 'id') !== (0, getKeyValue_1.getKeyValue)(itemToRemove, descId, 'id'));
385
337
  });
386
338
  }, [filteredSelectedItems, descId]);
387
- var uniqueDropArrowId = "".concat(name, "-drop-arrow-selected-list-icon");
388
- var isKeyboardOpenRef = (0, react_1.useRef)(false);
389
- var closeOnScrollTimeoutRef = (0, react_1.useRef)(null);
339
+ const uniqueDropArrowId = `${name}-drop-arrow-selected-list-icon`;
340
+ const isKeyboardOpenRef = (0, react_1.useRef)(false);
341
+ const closeOnScrollTimeoutRef = (0, react_1.useRef)(null);
390
342
  // Keep ref in sync with state for use in event handlers
391
- (0, react_1.useEffect)(function () {
343
+ (0, react_1.useEffect)(() => {
392
344
  isKeyboardOpenRef.current = isKeyboardOpen;
393
345
  }, [isKeyboardOpen]);
394
346
  // Detect keyboard open on mobile using Visual Viewport API
395
- (0, react_1.useEffect)(function () {
396
- var vv = window.visualViewport;
347
+ (0, react_1.useEffect)(() => {
348
+ const vv = window.visualViewport;
397
349
  if (!vv)
398
350
  return;
399
- var onResize = function () {
351
+ const onResize = () => {
400
352
  // Heuristic: if visual viewport height shrinks a lot, keyboard is likely open
401
- var open = vv.height < window.innerHeight - 100;
353
+ const open = vv.height < window.innerHeight - 100;
402
354
  setIsKeyboardOpen(open);
403
355
  };
404
356
  vv.addEventListener("resize", onResize);
405
357
  vv.addEventListener("scroll", onResize); // iOS sometimes fires scroll instead
406
358
  onResize();
407
- return function () {
359
+ return () => {
408
360
  vv.removeEventListener("resize", onResize);
409
361
  vv.removeEventListener("scroll", onResize);
410
362
  };
411
363
  }, []);
412
- (0, react_1.useEffect)(function () {
413
- var handleScroll = function (event) {
364
+ (0, react_1.useEffect)(() => {
365
+ const handleScroll = (event) => {
414
366
  // Don't close if the user is scrolling inside the dropdown itself.
415
- var scrollTarget = event.target;
367
+ const scrollTarget = event.target;
416
368
  if (dropRef.current && scrollTarget instanceof Node && dropRef.current.contains(scrollTarget)) {
417
369
  return;
418
370
  }
@@ -421,7 +373,7 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
421
373
  if (isKeyboardOpenRef.current) {
422
374
  // Only prevent closing if keyboard is actually open (mobile scenario)
423
375
  // Also check if input is focused to avoid closing while typing
424
- var activeElement = document.activeElement;
376
+ const activeElement = document.activeElement;
425
377
  if (activeElement && (activeElement === inputRef.current ||
426
378
  activeElement === inputSearchRef.current ||
427
379
  (dropRef.current && dropRef.current.contains(activeElement)))) {
@@ -433,16 +385,16 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
433
385
  if (closeOnScrollTimeoutRef.current) {
434
386
  window.clearTimeout(closeOnScrollTimeoutRef.current);
435
387
  }
436
- closeOnScrollTimeoutRef.current = window.setTimeout(function () {
388
+ closeOnScrollTimeoutRef.current = window.setTimeout(() => {
437
389
  setDropOpen(false);
438
390
  onToolClose === null || onToolClose === void 0 ? void 0 : onToolClose();
439
391
  if (!typeOnlyFetch)
440
392
  setSearchValue('');
441
- }, 200);
393
+ }, 0);
442
394
  }
443
395
  };
444
- var handleClickOutside = function (event) {
445
- var target = event.target;
396
+ const handleClickOutside = (event) => {
397
+ const target = event.target;
446
398
  // When keyboard is open, be more lenient - only close on clear outside clicks
447
399
  if (isKeyboardOpenRef.current) {
448
400
  // Only close if it's a clear click outside, not on input/textarea elements
@@ -454,12 +406,12 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
454
406
  target.closest &&
455
407
  !target.closest('input') &&
456
408
  !target.closest('textarea')) {
457
- setTimeout(function () {
409
+ setTimeout(() => {
458
410
  setDropOpen(false);
459
411
  onToolClose === null || onToolClose === void 0 ? void 0 : onToolClose();
460
412
  if (!typeOnlyFetch)
461
413
  setSearchValue('');
462
- }, 200);
414
+ }, 0);
463
415
  }
464
416
  return;
465
417
  }
@@ -468,12 +420,12 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
468
420
  target instanceof Node &&
469
421
  !dropRef.current.contains(target) &&
470
422
  (target === null || target === void 0 ? void 0 : target.id) !== uniqueDropArrowId) {
471
- setTimeout(function () {
423
+ setTimeout(() => {
472
424
  setDropOpen(false);
473
425
  onToolClose === null || onToolClose === void 0 ? void 0 : onToolClose();
474
426
  if (!typeOnlyFetch)
475
427
  setSearchValue('');
476
- }, 200);
428
+ }, 0);
477
429
  }
478
430
  };
479
431
  document.addEventListener('mousedown', handleClickOutside);
@@ -482,32 +434,26 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
482
434
  document.addEventListener('scroll', handleScroll, true);
483
435
  // Query scrollable divs and store in ref for cleanup
484
436
  // Re-query when dropdown opens to catch dynamically added containers
485
- var queryScrollableDivs = function () {
437
+ const queryScrollableDivs = () => {
486
438
  return document.querySelectorAll('div[style*="overflow"], .overflow-auto, .overflow-y-auto, .overflow-x-auto');
487
439
  };
488
440
  // Clean up previous listeners if any
489
441
  if (scrollableDivsRef.current) {
490
- scrollableDivsRef.current.forEach(function (div) {
491
- return div.removeEventListener('scroll', handleScroll);
492
- });
442
+ scrollableDivsRef.current.forEach((div) => div.removeEventListener('scroll', handleScroll));
493
443
  }
494
444
  // Query and attach listeners to scrollable divs
495
445
  scrollableDivsRef.current = queryScrollableDivs();
496
- scrollableDivsRef.current.forEach(function (div) {
497
- return div.addEventListener('scroll', handleScroll);
498
- });
446
+ scrollableDivsRef.current.forEach((div) => div.addEventListener('scroll', handleScroll));
499
447
  if (scrollRef && scrollRef.current && scrollRef.current !== null) {
500
448
  scrollRef.current.addEventListener('scroll', handleScroll);
501
449
  }
502
- return function () {
450
+ return () => {
503
451
  document.removeEventListener('mousedown', handleClickOutside);
504
452
  window.removeEventListener('scroll', handleScroll);
505
453
  document.removeEventListener('scroll', handleScroll, true);
506
454
  // Clean up scrollable divs listeners
507
455
  if (scrollableDivsRef.current) {
508
- scrollableDivsRef.current.forEach(function (div) {
509
- return div.removeEventListener('scroll', handleScroll);
510
- });
456
+ scrollableDivsRef.current.forEach((div) => div.removeEventListener('scroll', handleScroll));
511
457
  scrollableDivsRef.current = null;
512
458
  }
513
459
  if (closeOnScrollTimeoutRef.current) {
@@ -521,12 +467,12 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
521
467
  }, [dropOpen, typeOnlyFetch, uniqueDropArrowId, onToolClose]);
522
468
  // Filtering suggestions based on type and search value
523
469
  // Use filteredSelectedItems when tabs are present, otherwise use selectedItems
524
- var selected = isMultiple
470
+ const selected = isMultiple
525
471
  ? (tab.length > 0 ? filteredSelectedItems : selectedItems)
526
472
  : inputValue;
527
- var filteredData = (0, filterSuggestions_1.filterSuggestions)(suggestions, searchValue, type, desc, selected, async, false, true, matchFromStart);
528
- var prevSelectedItemsRef = (0, react_1.useRef)([]);
529
- (0, react_1.useEffect)(function () {
473
+ const filteredData = (0, filterSuggestions_1.filterSuggestions)(suggestions, searchValue, type, desc, selected, async, false, true, matchFromStart);
474
+ const prevSelectedItemsRef = (0, react_1.useRef)([]);
475
+ (0, react_1.useEffect)(() => {
530
476
  if (isInitialRender) {
531
477
  setIsInitialRender(false);
532
478
  }
@@ -538,30 +484,30 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
538
484
  }
539
485
  }
540
486
  // Use double requestAnimationFrame to ensure DOM updates are complete
541
- requestAnimationFrame(function () {
542
- requestAnimationFrame(function () {
487
+ requestAnimationFrame(() => {
488
+ requestAnimationFrame(() => {
543
489
  adjustDropdownPosition();
544
490
  });
545
491
  });
546
492
  // eslint-disable-next-line react-hooks/exhaustive-deps
547
493
  }, [selectedItems]);
548
- (0, react_1.useEffect)(function () {
494
+ (0, react_1.useEffect)(() => {
549
495
  // Use double requestAnimationFrame to ensure DOM updates are complete
550
- requestAnimationFrame(function () {
551
- requestAnimationFrame(function () {
496
+ requestAnimationFrame(() => {
497
+ requestAnimationFrame(() => {
552
498
  adjustDropdownPosition();
553
499
  });
554
500
  });
555
501
  // eslint-disable-next-line react-hooks/exhaustive-deps
556
502
  }, [filteredData]);
557
- (0, react_1.useEffect)(function () {
503
+ (0, react_1.useEffect)(() => {
558
504
  // Handle keyboard navigation
559
- var handleKeyDown = function (e) {
505
+ const handleKeyDown = (e) => {
560
506
  var _a, _b;
561
507
  if (!dropOpen)
562
508
  return;
563
- var atBottom = focusedIndex === filteredData.length - 1;
564
- var atTop = focusedIndex === 0;
509
+ const atBottom = focusedIndex === filteredData.length - 1;
510
+ const atTop = focusedIndex === 0;
565
511
  switch (e.key) {
566
512
  case 'ArrowDown':
567
513
  e.preventDefault();
@@ -574,7 +520,7 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
574
520
  itemsRef.current.scrollTop = 0;
575
521
  }
576
522
  }
577
- setFocusedIndex(function (prev) { return (prev + 1) % (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length); });
523
+ setFocusedIndex((prev) => (prev + 1) % (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length));
578
524
  break;
579
525
  case 'ArrowUp':
580
526
  e.preventDefault();
@@ -587,7 +533,7 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
587
533
  itemsRef.current.scrollTop = 0;
588
534
  }
589
535
  }
590
- setFocusedIndex(function (prev) { return (prev - 1 + (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length)) % (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length); });
536
+ setFocusedIndex((prev) => (prev - 1 + (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length)) % (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length));
591
537
  break;
592
538
  case 'Enter':
593
539
  e.preventDefault();
@@ -603,13 +549,13 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
603
549
  }
604
550
  };
605
551
  window.addEventListener('keydown', handleKeyDown);
606
- return function () {
552
+ return () => {
607
553
  window.removeEventListener('keydown', handleKeyDown);
608
554
  };
609
555
  }, [filteredData, dropOpen, isLoading, focusedIndex]);
610
- var isSelected = (0, react_1.useCallback)(function (item, selectedItems) {
556
+ const isSelected = (0, react_1.useCallback)((item, selectedItems) => {
611
557
  if (Array.isArray(selectedItems)) {
612
- return selectedItems.some(function (selectedItem) {
558
+ return selectedItems.some((selectedItem) => {
613
559
  // When tabs are present, ensure the selected item belongs to the current tab
614
560
  if (tab.length > 0 && currentTabId !== undefined) {
615
561
  // Only match if the selectedItem's tabId matches the current tab
@@ -618,24 +564,18 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
618
564
  return false;
619
565
  }
620
566
  }
621
- return ((0, getKeyValue_1.getKeyValue)(selectedItem, desc, 'name') ===
622
- (0, getKeyValue_1.getKeyValue)(item, desc, 'name') ||
623
- (0, getKeyValue_1.getKeyValue)(selectedItem, descId, 'id') ===
624
- (0, getKeyValue_1.getKeyValue)(item, descId, 'id'));
567
+ return (0, getKeyValue_1.isSelectionMatch)(selectedItem, item, desc, descId);
625
568
  });
626
569
  }
627
- else {
628
- return ((0, getKeyValue_1.getKeyValue)(item, desc, 'name') === (0, getKeyValue_1.safeToLowerString)(selectedItems) ||
629
- (0, getKeyValue_1.getKeyValue)(item, descId, 'id') === (0, getKeyValue_1.safeToLowerString)(selectedItems));
630
- }
570
+ return (0, getKeyValue_1.isSelectionMatchValue)(item, selectedItems, desc, descId);
631
571
  }, [tab, currentTabId, desc, descId]);
632
- var handleLoadMore = function () {
572
+ const handleLoadMore = () => {
633
573
  if (paginationEnabled) {
634
574
  handlePickSuggestions(searchValue, nextPage + 1, true);
635
575
  setNextPage(nextPage + 1);
636
576
  }
637
577
  };
638
- var handleShowAllSelected = (0, react_1.useCallback)(function (enabled) {
578
+ const handleShowAllSelected = (0, react_1.useCallback)((enabled) => {
639
579
  setExpandArrowClick(expandArrowClick + 1);
640
580
  if (enabled) {
641
581
  setShowAllSelected(true);
@@ -644,14 +584,14 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
644
584
  setShowAllSelected(false);
645
585
  }
646
586
  }, [expandArrowClick]);
647
- var handleCollapseArrowClick = (0, react_1.useCallback)(function () {
587
+ const handleCollapseArrowClick = (0, react_1.useCallback)(() => {
648
588
  setExpandArrowClick(expandArrowClick + 1);
649
589
  setShowAllSelected(false);
650
590
  }, [expandArrowClick]);
651
- var tooltipContent = (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) > itemCount
652
- ? filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.slice(itemCount).map(function (item) { return item[desc]; }).join(', ')
591
+ const tooltipContent = (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) > itemCount
592
+ ? filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.slice(itemCount).map((item) => item[desc]).join(', ')
653
593
  : '';
654
- var handleTabClick = (0, react_1.useCallback)(function (index) {
594
+ const handleTabClick = (0, react_1.useCallback)((index) => {
655
595
  if (activeTab !== index) {
656
596
  if (clearTabSwitch) {
657
597
  handleClearSelected();
@@ -659,105 +599,105 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
659
599
  setSearchValue('');
660
600
  setInputValue('');
661
601
  handlePickSuggestions('', 1);
602
+ setAllDataLoaded(false);
662
603
  }
663
604
  else {
664
605
  resetSuggections === null || resetSuggections === void 0 ? void 0 : resetSuggections();
665
- var activeTabVal = tab.length > 0 ? tab === null || tab === void 0 ? void 0 : tab[index].id : undefined;
666
- handlePickSuggestions(searchValue, 1, false, activeTabVal);
606
+ const activeTabVal = tab.length > 0 ? tab === null || tab === void 0 ? void 0 : tab[index].id : undefined;
607
+ const normalizedSearchValue = searchValue === null || searchValue === void 0 ? void 0 : searchValue.trim();
608
+ const tabSearchValue = !tabInlineSearch && allDataLoaded && !normalizedSearchValue
609
+ ? '*'
610
+ : searchValue;
611
+ handlePickSuggestions(tabSearchValue, 1, false, activeTabVal);
667
612
  }
668
- setAllDataLoaded(false);
669
613
  }
670
614
  else {
671
615
  resetSuggections === null || resetSuggections === void 0 ? void 0 : resetSuggections();
672
- var activeTabVal = tab.length > 0 ? tab === null || tab === void 0 ? void 0 : tab[index].id : undefined;
673
- handlePickSuggestions(searchValue, 1, false, activeTabVal);
616
+ const activeTabVal = tab.length > 0 ? tab === null || tab === void 0 ? void 0 : tab[index].id : undefined;
617
+ const normalizedSearchValue = searchValue === null || searchValue === void 0 ? void 0 : searchValue.trim();
618
+ const tabSearchValue = !tabInlineSearch && allDataLoaded && !normalizedSearchValue
619
+ ? '*'
620
+ : searchValue;
621
+ handlePickSuggestions(tabSearchValue, 1, false, activeTabVal);
674
622
  }
675
623
  setActiveTab(index);
676
624
  setFocusedIndex(0); // Reset focused index when switching tabs
677
625
  }
678
- }, [activeTab, clearTabSwitch, handleClearSelected, tabInlineSearch, tab, searchValue, handlePickSuggestions, resetSuggections]);
679
- var getSelectedRowLimit = (0, react_1.useCallback)(function () {
680
- var maxHeight = 36;
626
+ }, [activeTab, clearTabSwitch, handleClearSelected, tabInlineSearch, tab, searchValue, handlePickSuggestions, resetSuggections, allDataLoaded]);
627
+ const getSelectedRowLimit = (0, react_1.useCallback)(() => {
628
+ let maxHeight = 36;
681
629
  if ((selItemRef === null || selItemRef === void 0 ? void 0 : selItemRef.current) && (selItemRef === null || selItemRef === void 0 ? void 0 : selItemRef.current.clientWidth) < 300) {
682
630
  maxHeight = 24;
683
631
  }
684
632
  return selectedRowLimit * maxHeight + 5;
685
633
  }, [selectedRowLimit]);
686
- var getSelectedItems = (0, react_1.useCallback)(function (dropdown) {
687
- return ((0, jsx_runtime_1.jsxs)("div", __assign({ ref: selItemRef, className: "selected-items-outer-container", style: { maxHeight: "".concat(getSelectedRowLimit(), "px") } }, { children: [filteredSelectedItems
634
+ const getSelectedItems = (0, react_1.useCallback)((dropdown) => {
635
+ return ((0, jsx_runtime_1.jsxs)("div", { ref: selItemRef, className: "selected-items-outer-container", style: { maxHeight: `${getSelectedRowLimit()}px` }, children: [filteredSelectedItems
688
636
  .slice(0, (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) > itemCount
689
637
  ? showAllSelected
690
638
  ? filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length
691
639
  : itemCount
692
640
  : filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length)
693
- .map(function (item, index) {
641
+ .map((item, index) => {
694
642
  var _a, _b;
695
- return ((0, jsx_runtime_1.jsx)("div", __assign({ className: "selected-items-container" }, { children: (0, jsx_runtime_1.jsx)(NewTooltip_1.default, __assign({ title: item === null || item === void 0 ? void 0 : item[desc], enabled: ((_a = String(item === null || item === void 0 ? void 0 : item[desc])) === null || _a === void 0 ? void 0 : _a.length) > textCount }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ className: "selected-item" }, { children: [((_b = String(item === null || item === void 0 ? void 0 : item[desc])) === null || _b === void 0 ? void 0 : _b.length) > textCount
696
- ? "".concat(String(item === null || item === void 0 ? void 0 : item[desc]).substring(0, textCount), "...")
697
- : item === null || item === void 0 ? void 0 : item[desc], !viewMode && ((0, jsx_runtime_1.jsx)("button", __assign({ onClick: function () { return handleRemoveSelectedItem(index); }, className: "remove-item-btn", "aria-label": "Remove ".concat(item === null || item === void 0 ? void 0 : item[desc]) }, { children: "X" })))] }), item.id) })) }), index));
698
- }), (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) > itemCount && !showAllSelected && ((0, jsx_runtime_1.jsx)("div", __assign({ className: "selected-items-container" }, { children: (0, jsx_runtime_1.jsx)(NewTooltip_1.default, __assign({ title: tooltipContent, enabled: true }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ className: "selected-item-more qbs-rounded-full qbs-min-h-6 qbs-min-w-6 qbs-p-1 ".concat(dropdown ? 'qbs-cursor-pointer' : ''), onClick: function () {
643
+ return ((0, jsx_runtime_1.jsx)("div", { className: "selected-items-container", children: (0, jsx_runtime_1.jsx)(NewTooltip_1.default, { title: item === null || item === void 0 ? void 0 : item[desc], enabled: ((_a = String(item === null || item === void 0 ? void 0 : item[desc])) === null || _a === void 0 ? void 0 : _a.length) > textCount, children: (0, jsx_runtime_1.jsxs)("div", { className: "selected-item", children: [((_b = String(item === null || item === void 0 ? void 0 : item[desc])) === null || _b === void 0 ? void 0 : _b.length) > textCount
644
+ ? `${String(item === null || item === void 0 ? void 0 : item[desc]).substring(0, textCount)}...`
645
+ : item === null || item === void 0 ? void 0 : item[desc], !viewMode && ((0, jsx_runtime_1.jsx)("button", { onClick: () => handleRemoveSelectedItem(index), className: "remove-item-btn", "aria-label": `Remove ${item === null || item === void 0 ? void 0 : item[desc]}`, children: "X" }))] }, item.id) }) }, index));
646
+ }), (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) > itemCount && !showAllSelected && ((0, jsx_runtime_1.jsx)("div", { className: "selected-items-container", children: (0, jsx_runtime_1.jsx)(NewTooltip_1.default, { title: tooltipContent, enabled: true, children: (0, jsx_runtime_1.jsxs)("div", { className: `selected-item-more qbs-rounded-full qbs-min-h-6 qbs-min-w-6 qbs-p-1 ${dropdown ? 'qbs-cursor-pointer' : ''}`, onClick: () => {
699
647
  handleShowAllSelected(dropdown);
700
- } }, { children: ["+", (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) - itemCount, ' ', (0, jsx_runtime_1.jsx)("span", __assign({ className: "qbs-hidden" }, { children: "more" }))] })) })) })))] })));
648
+ }, children: ["+", (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) - itemCount, ' ', (0, jsx_runtime_1.jsx)("span", { className: "qbs-hidden", children: "more" })] }) }) }))] }));
701
649
  }, [filteredSelectedItems, getSelectedRowLimit, itemCount, showAllSelected, desc, textCount, viewMode, handleRemoveSelectedItem, tooltipContent, handleShowAllSelected]);
702
650
  // Check if any items are selected under a specific tab
703
- var hasSelectedItemsInTab = (0, react_1.useCallback)(function (tabIndex) {
704
- var tabId = tab.length > 0 ? tab[tabIndex].id : undefined;
705
- return selectedItems.some(function (item) { return item.tabId === tabId; });
651
+ const hasSelectedItemsInTab = (0, react_1.useCallback)((tabIndex) => {
652
+ const tabId = tab.length > 0 ? tab[tabIndex].id : undefined;
653
+ return selectedItems.some(item => item.tabId === tabId);
706
654
  }, [selectedItems, tab]);
707
- var getTabItems = (0, react_1.useCallback)(function () {
708
- var allTabs = moreOptionTab ? __spreadArray(__spreadArray([], tab, true), [{ id: 'more-options', label: moreOptionTabLabel }], false) : tab;
709
- return ((0, jsx_runtime_1.jsx)("ul", __assign({ className: "qbs-flex qbs-flex-wrap qbs-w-full qbs-tab qbs-mb-2 -qbs-mt-2 ".concat(tabsScrollable ? 'qbs-tab-scroll' : ''), ref: tabRef }, { children: allTabs.map(function (item, idx) {
710
- var isMoreOptionsTab = item.id === 'more-options';
711
- var hasSelectedItems = isMoreOptionsTab ? hasMoreOptionValues : hasSelectedItemsInTab(idx);
712
- return ((0, jsx_runtime_1.jsx)("li", __assign({ className: "qbs-flex-1 qbs-tab-items ".concat(hasSelectedItems ? 'qbs-tab-has-selected-items' : '') }, { children: (0, jsx_runtime_1.jsx)("span", __assign({ className: "qbs-inline-block qbs-tab-item qbs-text-sm qbs-cursor-pointer qbs-w-full qbs-text-center qbs-p-1 qbs-border-b-2 ".concat(activeTab === idx ? 'qbs-tab-active-item' : ''), onClick: function () {
655
+ const getTabItems = (0, react_1.useCallback)(() => {
656
+ const allTabs = moreOptionTab ? [...tab, { id: 'more-options', label: moreOptionTabLabel }] : tab;
657
+ return ((0, jsx_runtime_1.jsx)("ul", { className: `qbs-flex qbs-flex-wrap qbs-w-full qbs-tab qbs-mb-2 -qbs-mt-2 ${tabsScrollable ? 'qbs-tab-scroll' : ''}`, ref: tabRef, children: allTabs.map((item, idx) => {
658
+ const isMoreOptionsTab = item.id === 'more-options';
659
+ const hasSelectedItems = isMoreOptionsTab ? hasMoreOptionValues : hasSelectedItemsInTab(idx);
660
+ return ((0, jsx_runtime_1.jsx)("li", { className: `qbs-flex-1 qbs-tab-items ${hasSelectedItems ? 'qbs-tab-has-selected-items' : ''}`, children: (0, jsx_runtime_1.jsx)("span", { className: `qbs-inline-block qbs-tab-item qbs-text-sm qbs-cursor-pointer qbs-w-full qbs-text-center qbs-p-1 qbs-border-b-2 ${activeTab === idx ? 'qbs-tab-active-item' : ''}`, onClick: () => {
713
661
  if (isMoreOptionsTab) {
714
662
  setActiveTab(idx);
715
663
  }
716
664
  else {
717
665
  handleTabClick(idx);
718
666
  }
719
- } }, { children: (0, jsx_runtime_1.jsxs)("span", __assign({ className: "qbs-flex qbs-items-center qbs-justify-center qbs-gap-1" }, { children: [isMoreOptionsTab && moreOptionTabIcon && ((0, jsx_runtime_1.jsx)("span", __assign({ className: "qbs-inline-flex qbs-items-center" }, { children: moreOptionTabIcon }))), item.label] })) })) }), "tab-".concat(idx)));
720
- }) })));
667
+ }, children: (0, jsx_runtime_1.jsxs)("span", { className: "qbs-flex qbs-items-center qbs-justify-center qbs-gap-1", children: [isMoreOptionsTab && moreOptionTabIcon && ((0, jsx_runtime_1.jsx)("span", { className: "qbs-inline-flex qbs-items-center", children: moreOptionTabIcon })), item.label] }) }) }, `tab-${idx}`));
668
+ }) }));
721
669
  }, [tab, hasSelectedItemsInTab, activeTab, handleTabClick, moreOptionTab, moreOptionTabLabel, moreOptionTabIcon, tabsScrollable]);
722
- var handleSelectAll = (0, react_1.useCallback)(function () {
670
+ const handleSelectAll = (0, react_1.useCallback)(() => {
723
671
  if (isMultiple) {
724
672
  if (selectAll) {
725
673
  // Remove only items from current tab
726
- setSelectedItems(function (prev) {
727
- return prev.filter(function (item) {
728
- return item.tabId !== currentTabId ||
729
- !filteredData.some(function (f) {
730
- return (0, getKeyValue_1.getKeyValue)(f, descId, 'id') === (0, getKeyValue_1.getKeyValue)(item, descId, 'id');
731
- });
732
- });
733
- });
674
+ setSelectedItems((prev) => prev.filter((item) => item.tabId !== currentTabId ||
675
+ !filteredData.some((f) => (0, getKeyValue_1.getKeyValue)(f, descId, 'id') === (0, getKeyValue_1.getKeyValue)(item, descId, 'id'))));
734
676
  }
735
677
  else {
736
678
  // Add only items from current tab - batch all updates in single setState
737
- setSelectedItems(function (prev) {
738
- var newItems = [];
739
- var currentTabId = tab.length > 0 ? tab[activeTab].id : undefined;
740
- filteredData.forEach(function (suggestion) {
741
- var isAdded = prev.some(function (item) {
742
- return (0, getKeyValue_1.getKeyValue)(item, descId, 'id') ===
743
- (0, getKeyValue_1.getKeyValue)(suggestion, descId, 'id');
744
- });
679
+ setSelectedItems((prev) => {
680
+ const newItems = [];
681
+ const currentTabId = tab.length > 0 ? tab[activeTab].id : undefined;
682
+ filteredData.forEach((suggestion) => {
683
+ const isAdded = prev.some((item) => (0, getKeyValue_1.getKeyValue)(item, descId, 'id') ===
684
+ (0, getKeyValue_1.getKeyValue)(suggestion, descId, 'id'));
745
685
  if (!isAdded) {
746
686
  // Include tab ID when adding suggestion
747
- var suggestionWithTabId = __assign(__assign({}, suggestion), { tabId: currentTabId });
687
+ const suggestionWithTabId = Object.assign(Object.assign({}, suggestion), { tabId: currentTabId });
748
688
  newItems.push(suggestionWithTabId);
749
689
  }
750
690
  });
751
- return __spreadArray(__spreadArray([], prev, true), newItems, true);
691
+ return [...prev, ...newItems];
752
692
  });
753
693
  }
754
694
  }
755
695
  }, [isMultiple, selectAll, currentTabId, filteredData, descId, tab, activeTab]);
756
- var handleOpenDropdown = function (e) {
696
+ const handleOpenDropdown = (e) => {
757
697
  if (!suggestions || (suggestions === null || suggestions === void 0 ? void 0 : suggestions.length) === 0 || refetchData) {
758
698
  if (autoDropdown && (inputValue === '' || inputValue.trim() === '')) {
759
699
  if (tabInlineSearch && tab.length > 0) {
760
- var activeTabVal = tab.length > 0 ? tab === null || tab === void 0 ? void 0 : tab[activeTab].id : undefined;
700
+ const activeTabVal = tab.length > 0 ? tab === null || tab === void 0 ? void 0 : tab[activeTab].id : undefined;
761
701
  handlePickSuggestions('*', 1, false, activeTabVal);
762
702
  }
763
703
  else {
@@ -768,7 +708,7 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
768
708
  }
769
709
  else if (!refetchData && inputValue !== '') {
770
710
  if (tabInlineSearch && tab.length > 0) {
771
- var activeTabVal = tab.length > 0 ? tab === null || tab === void 0 ? void 0 : tab[activeTab].id : undefined;
711
+ const activeTabVal = tab.length > 0 ? tab === null || tab === void 0 ? void 0 : tab[activeTab].id : undefined;
772
712
  handlePickSuggestions(inputValue, 1, false, activeTabVal);
773
713
  }
774
714
  else {
@@ -779,29 +719,30 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
779
719
  }
780
720
  }
781
721
  };
782
- var handleApplySelected = function (values) {
722
+ const handleApplySelected = (values) => {
783
723
  setDropOpen(false);
784
724
  setSearchValue('');
785
725
  resetSuggections === null || resetSuggections === void 0 ? void 0 : resetSuggections();
726
+ // Reset moreOption data
727
+ setHasMoreOptionValues(false);
728
+ onMoreOptionChange === null || onMoreOptionChange === void 0 ? void 0 : onMoreOptionChange(undefined);
729
+ // Trigger reset on moreOption component by incrementing reset key
730
+ setLocalResetKey(prev => prev + 1);
786
731
  applyTabFilter === null || applyTabFilter === void 0 ? void 0 : applyTabFilter(values);
787
732
  };
788
- (0, react_1.useEffect)(function () {
789
- var allSelected = (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 && (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) > 0 &&
790
- filteredData.every(function (item) {
791
- return filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.some(function (s) {
792
- return (0, getKeyValue_1.getKeyValue)(s, descId, 'id') === (0, getKeyValue_1.getKeyValue)(item, descId, 'id');
793
- });
794
- });
733
+ (0, react_1.useEffect)(() => {
734
+ const allSelected = (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 && (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) > 0 &&
735
+ filteredData.every((item) => filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.some((s) => (0, getKeyValue_1.getKeyValue)(s, descId, 'id') === (0, getKeyValue_1.getKeyValue)(item, descId, 'id')));
795
736
  setSelectAll(allSelected);
796
737
  }, [filteredData, filteredSelectedItems, descId]);
797
- (0, react_1.useEffect)(function () {
738
+ (0, react_1.useEffect)(() => {
798
739
  handleUpdateParent === null || handleUpdateParent === void 0 ? void 0 : handleUpdateParent(dropOpen, dropLevelRef.current);
799
740
  }, [dropOpen, dropLevelRef.current]);
800
741
  // Auto-focus search input when dropdown opens with tabInlineSearch
801
- (0, react_1.useEffect)(function () {
742
+ (0, react_1.useEffect)(() => {
802
743
  if (dropOpen && visible && tabInlineSearch && type === 'auto_suggestion' && !expandable) {
803
744
  // Small delay to ensure the dropdown is fully rendered
804
- setTimeout(function () {
745
+ setTimeout(() => {
805
746
  if (inputSearchRef.current) {
806
747
  inputSearchRef.current.focus();
807
748
  }
@@ -809,41 +750,40 @@ var DropdownFilterTabs = (0, react_1.forwardRef)(function (_a, ref) {
809
750
  }
810
751
  }, [dropOpen, visible, tabInlineSearch, type, expandable]);
811
752
  return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: dropOpen &&
812
- react_dom_1.default.createPortal((0, jsx_runtime_1.jsxs)("div", __assign({ ref: dropRef, style: __assign(__assign({}, dropdownStyle), { minHeight: viewMode ? 100 : 192, visibility: visible ? 'visible' : 'hidden', opacity: visible ? 1 : 0, transition: 'opacity 0.2s ease-in-out' }), className: "qbs-autocomplete-suggestions qbs-autocomplete-selected-suggestions ".concat(viewMode ? 'qbs-dropdown-selected-preview' : '', " ").concat(viewMode && (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) === 0 ? 'hidden' : '') }, { children: [!viewMode && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: tab.length > 0 && getTabItems() }), moreOptionTab && activeTab === tab.length && ((0, jsx_runtime_1.jsx)("div", __assign({ style: { position: 'relative' }, className: "qbs-autocomplete-moreoption-container" }, { children: react_1.default.isValidElement(moreOptionTab)
753
+ react_dom_1.default.createPortal((0, jsx_runtime_1.jsxs)("div", { ref: dropRef, style: Object.assign(Object.assign({}, dropdownStyle), { minHeight: viewMode ? 100 : 192, visibility: visible ? 'visible' : 'hidden', opacity: visible ? 1 : 0, transition: 'opacity 0.2s ease-in-out' }), className: `qbs-autocomplete-suggestions qbs-autocomplete-selected-suggestions ${viewMode ? 'qbs-dropdown-selected-preview' : ''} ${viewMode && (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) === 0 ? 'hidden' : ''}`, children: [!viewMode && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: tab.length > 0 && getTabItems() }), moreOptionTab && activeTab === tab.length && ((0, jsx_runtime_1.jsx)("div", { style: { position: 'relative' }, className: `qbs-autocomplete-moreoption-container`, children: react_1.default.isValidElement(moreOptionTab)
813
754
  ? react_1.default.cloneElement(moreOptionTab, {
814
- onApply: function (values) { return handleApplySelected(values); },
815
- onValueChange: function (values) {
755
+ onApply: (values) => handleApplySelected(values),
756
+ onValueChange: (values) => {
816
757
  // Check if values exist and update state
817
- var hasValues = values !== undefined && values !== null &&
758
+ const hasValues = values !== undefined && values !== null &&
818
759
  (typeof values === 'object' ? Object.keys(values).length > 0 : true);
819
760
  setHasMoreOptionValues(hasValues);
820
761
  onMoreOptionChange === null || onMoreOptionChange === void 0 ? void 0 : onMoreOptionChange(values);
821
762
  },
763
+ resetKey: currentResetKey,
822
764
  })
823
- : moreOptionTab }), "more-option-".concat(currentResetKey))), type === 'auto_suggestion' &&
765
+ : moreOptionTab }, `more-option-${currentResetKey}`)), type === 'auto_suggestion' &&
824
766
  !expandable &&
825
767
  tabInlineSearch &&
826
- !(moreOptionTab && activeTab === tab.length) && ((0, jsx_runtime_1.jsxs)("div", __assign({ style: { position: 'relative' }, className: "react-core-ts-search-container qbs-autocomplete-selected-suggestions-outer" }, { children: [(0, jsx_runtime_1.jsx)("span", __assign({ className: "dropdown-search-icon" }, { children: (0, jsx_runtime_1.jsx)(icons_1.Search, {}) })), (0, jsx_runtime_1.jsx)("input", { className: "dropdown-search-input", onChange: handleSuggestionChange, value: searchValue, placeholder: "Type to search", autoComplete: "off", ref: inputSearchRef }), (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: autoDropdown && !disabled && !readOnly && ((0, jsx_runtime_1.jsx)("button", __assign({ disabled: disabled !== null && disabled !== void 0 ? disabled : readOnly, onClick: function (e) { return handleOpenDropdown(e); }, className: "text-[#667085] focus-visible:outline-slate-100 absolute right-2 qbs-all-dropdown-btn", "data-testid": "drop-arrow", type: "button", id: "autocomplete-drop-icon", ref: dropBtnRef }, { children: (0, jsx_runtime_1.jsx)(icons_1.AllDropArrow, { type: !allDataLoaded ? 'down' : 'up', uniqueId: "all-dropdow-arrow-icon", className: "all-dropdow-arrow-icon" }) }))) })] })))] })), !(moreOptionTab && activeTab === tab.length) && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 && enableSelectAll && isMultiple && ((0, jsx_runtime_1.jsx)("div", __assign({ id: "select-all", className: "qbs-select-all-link qbs-cursor-pointer qbs-text-xs", onClick: handleSelectAll }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ className: "qbs-autocomplete-listitem-container qbs-autocomplete-checkbox-container" }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: "qbs-autocomplete-checkbox" }, { children: [(0, jsx_runtime_1.jsx)("input", { type: "checkbox", checked: selectAll, onChange: handleSelectAll, id: "qbs-checkbox-all" }), (0, jsx_runtime_1.jsx)("label", __assign({ htmlFor: "qbs-checkbox-all" }, { children: (0, jsx_runtime_1.jsx)("svg", __assign({ width: "8", height: "6", viewBox: "0 0 8 6", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { d: "M0 3.21739L2.89883 6L8 1.06994L6.89494 0L2.89883 3.86768L1.09728 2.14745L0 3.21739Z", fill: "white" }) })) }))] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: "qbs-autocomplete-suggestions-item" }, { children: "Select All" }))] })) }))), (0, jsx_runtime_1.jsxs)("div", __assign({ className: "qbs-autocomplete-suggestions-sub qbs-autocomplete-selected-suggestions-outer ".concat(viewMode ? 'hidden' : ''), ref: itemsRef, style: {
827
- maxHeight: "".concat(selHeight, "px"),
828
- minHeight: "".concat(selHeight, "px"),
829
- } }, { children: [(filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 ? (filteredData.map(function (suggestion, idx) { return ((0, jsx_runtime_1.jsx)(DropdownList_1.default, { idx: idx, suggestion: suggestion, isSelected: isSelected, handleSuggestionClick: function () {
830
- return handleSuggestionClick(suggestion, idx);
831
- }, handleMultiSelect: handleMultiSelect, selected: selected, isMultiple: isMultiple, singleSelect: singleSelect, desc: desc, shortCode: shortCode, labelCode: labelCode, focusedIndex: focusedIndex, setItemRef: function (index, ref) {
768
+ !(moreOptionTab && activeTab === tab.length) && ((0, jsx_runtime_1.jsxs)("div", { style: { position: 'relative' }, className: "react-core-ts-search-container qbs-autocomplete-selected-suggestions-outer", children: [(0, jsx_runtime_1.jsx)("span", { className: "dropdown-search-icon", children: (0, jsx_runtime_1.jsx)(icons_1.Search, {}) }), (0, jsx_runtime_1.jsx)("input", { className: "dropdown-search-input", onChange: handleSuggestionChange, value: searchValue, placeholder: "Type to search", autoComplete: "off", ref: inputSearchRef }), (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: autoDropdown && !disabled && !readOnly && ((0, jsx_runtime_1.jsx)("button", { disabled: disabled !== null && disabled !== void 0 ? disabled : readOnly, onClick: (e) => handleOpenDropdown(e), className: "text-[#667085] focus-visible:outline-slate-100 absolute right-2 qbs-all-dropdown-btn", "data-testid": "drop-arrow", type: "button", id: "autocomplete-drop-icon", ref: dropBtnRef, children: (0, jsx_runtime_1.jsx)(icons_1.AllDropArrow, { type: !allDataLoaded ? 'down' : 'up', uniqueId: "all-dropdow-arrow-icon", className: "all-dropdow-arrow-icon" }) })) })] }))] })), !(moreOptionTab && activeTab === tab.length) && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 && enableSelectAll && isMultiple && ((0, jsx_runtime_1.jsx)("div", { id: "select-all", className: `qbs-select-all-link qbs-cursor-pointer qbs-text-xs`, onClick: handleSelectAll, children: (0, jsx_runtime_1.jsxs)("div", { className: `qbs-autocomplete-listitem-container qbs-autocomplete-checkbox-container`, children: [(0, jsx_runtime_1.jsxs)("div", { className: "qbs-autocomplete-checkbox", children: [(0, jsx_runtime_1.jsx)("input", { type: "checkbox", checked: selectAll, onChange: handleSelectAll, id: `qbs-checkbox-all` }), (0, jsx_runtime_1.jsx)("label", { htmlFor: `qbs-checkbox-all`, children: (0, jsx_runtime_1.jsx)("svg", { width: "8", height: "6", viewBox: "0 0 8 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M0 3.21739L2.89883 6L8 1.06994L6.89494 0L2.89883 3.86768L1.09728 2.14745L0 3.21739Z", fill: "white" }) }) })] }), (0, jsx_runtime_1.jsx)("div", { className: `qbs-autocomplete-suggestions-item`, children: "Select All" })] }) })), (0, jsx_runtime_1.jsxs)("div", { className: `qbs-autocomplete-suggestions-sub qbs-autocomplete-selected-suggestions-outer ${viewMode ? 'hidden' : ''}`, ref: itemsRef, style: {
769
+ maxHeight: `${selHeight}px`,
770
+ minHeight: `${selHeight}px`,
771
+ }, children: [(filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 ? (filteredData.map((suggestion, idx) => ((0, jsx_runtime_1.jsx)(DropdownList_1.default, { idx: idx, suggestion: suggestion, isSelected: isSelected, handleSuggestionClick: () => handleSuggestionClick(suggestion, idx), handleMultiSelect: handleMultiSelect, selected: selected, isMultiple: isMultiple, singleSelect: singleSelect, desc: desc, shortCode: shortCode, labelCode: labelCode, focusedIndex: focusedIndex, setItemRef: (index, ref) => {
832
772
  itemRefs.current[index] = ref; // Store each ref properly
833
- } }, suggestion[descId])); })) : ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: isLoading ||
773
+ } }, suggestion[descId])))) : ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: isLoading ||
834
774
  (searchValue !== searchOldValue &&
835
775
  searchValue !== '' &&
836
- async) ? ((0, jsx_runtime_1.jsx)("div", __assign({ className: "qbs-flex qbs-align-middle qbs-justify-center qbs-min-emp-h" }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "qbs-pt-16 qbs-autocomplete-loader" }, { children: (0, jsx_runtime_1.jsx)(icons_1.Spinner, {}) })) }))) : ((0, jsx_runtime_1.jsx)("div", __assign({ className: "qbs-autocomplete-notfound qbs-text-center qbs-justify-center qbs-align-middle qbs-min-emp-h" }, { children: searchValue !== ''
776
+ async) ? ((0, jsx_runtime_1.jsx)("div", { className: "qbs-flex qbs-align-middle qbs-justify-center qbs-min-emp-h", children: (0, jsx_runtime_1.jsx)("div", { className: "qbs-pt-16 qbs-autocomplete-loader", children: (0, jsx_runtime_1.jsx)(icons_1.Spinner, {}) }) })) : ((0, jsx_runtime_1.jsx)("div", { className: "qbs-autocomplete-notfound qbs-text-center qbs-justify-center qbs-align-middle qbs-min-emp-h", children: searchValue !== ''
837
777
  ? notDataMessage !== null && notDataMessage !== void 0 ? notDataMessage : 'No Results Found'
838
- : initialDataMessage !== null && initialDataMessage !== void 0 ? initialDataMessage : 'Type to search' }))) })), paginationEnabled &&
778
+ : initialDataMessage !== null && initialDataMessage !== void 0 ? initialDataMessage : 'Type to search' })) })), paginationEnabled &&
839
779
  nextBlock !== 0 &&
840
780
  nextBlock !== undefined &&
841
- (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 && ((0, jsx_runtime_1.jsx)("div", __assign({ className: "loadMoreSection", onClick: function () { return handleLoadMore(); } }, { children: (0, jsx_runtime_1.jsx)("p", __assign({ style: { margin: 2 } }, { children: "Load More" })) })))] }))] })), (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: countOnly && (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) > 0 && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ className: "qbs-expandable-container qbs-dropdown-selected-container", ref: dropdownSelectedRef }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: "qbs-flex qbs-w-full qbs-text-xs" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: "qbs-selected-lbs qbs-flex-grow" }, { children: "Selected Items" })), (0, jsx_runtime_1.jsx)("div", __assign({ className: "qbs-clear-link qbs-text-right qbs-cursor-pointer ".concat(viewMode ? 'hidden' : ''), onClick: handleClearSelected }, { children: "Clear all" })), (0, jsx_runtime_1.jsx)("div", __assign({ className: "qbs-done-link qbs-text-right qbs-cursor-pointer ".concat(viewMode ? 'hidden' : ''), onClick: function () {
781
+ (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 && ((0, jsx_runtime_1.jsx)("div", { className: "loadMoreSection", onClick: () => handleLoadMore(), children: (0, jsx_runtime_1.jsx)("p", { style: { margin: 2 }, children: "Load More" }) }))] })] })), (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: countOnly && (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) > 0 && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)("div", { className: `qbs-expandable-container qbs-dropdown-selected-container`, ref: dropdownSelectedRef, children: [(0, jsx_runtime_1.jsxs)("div", { className: `qbs-flex qbs-w-full qbs-text-xs`, children: [(0, jsx_runtime_1.jsx)("div", { className: "qbs-selected-lbs qbs-flex-grow", children: "Selected Items" }), (0, jsx_runtime_1.jsx)("div", { className: `qbs-clear-link qbs-text-right qbs-cursor-pointer ${viewMode ? 'hidden' : ''}`, onClick: handleClearSelected, children: "Clear all" }), (0, jsx_runtime_1.jsx)("div", { className: `qbs-done-link qbs-text-right qbs-cursor-pointer ${viewMode ? 'hidden' : ''}`, onClick: () => {
842
782
  handleApplySelected();
843
- } }, { children: "Apply" }))] })), getSelectedItems(true), (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) > itemCount &&
844
- showAllSelected && ((0, jsx_runtime_1.jsx)("div", __assign({ className: "qbs-readmore-collapse" }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "qbs-more-collapse", onClick: function () {
783
+ }, children: "Apply" })] }), getSelectedItems(true), (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (filteredSelectedItems === null || filteredSelectedItems === void 0 ? void 0 : filteredSelectedItems.length) > itemCount &&
784
+ showAllSelected && ((0, jsx_runtime_1.jsx)("div", { className: "qbs-readmore-collapse", children: (0, jsx_runtime_1.jsx)("div", { className: "qbs-more-collapse", onClick: () => {
845
785
  handleCollapseArrowClick();
846
- } }, { children: (0, jsx_runtime_1.jsx)(icons_1.DropArrow, { className: "icon-button-rotate", uniqueDropArrowId: uniqueDropArrowId }) })) }))) })] })) })) })] })), document.body) }));
786
+ }, children: (0, jsx_runtime_1.jsx)(icons_1.DropArrow, { className: `icon-button-rotate`, uniqueDropArrowId: uniqueDropArrowId }) }) })) })] }) })) })] }), document.body) }));
847
787
  });
848
788
  exports.default = react_1.default.memo(DropdownFilterTabs);
849
789
  //# sourceMappingURL=dropdownFilterTabs.js.map