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,91 +1,48 @@
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
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
14
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
15
- return new (P || (P = Promise))(function (resolve, reject) {
16
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
17
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
18
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
19
- step((generator = generator.apply(thisArg, _arguments || [])).next());
20
- });
21
- };
22
- var __generator = (this && this.__generator) || function (thisArg, body) {
23
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
24
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
25
- function verb(n) { return function (v) { return step([n, v]); }; }
26
- function step(op) {
27
- if (f) throw new TypeError("Generator is already executing.");
28
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
29
- 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;
30
- if (y = 0, t) op = [op[0] & 2, t.value];
31
- switch (op[0]) {
32
- case 0: case 1: t = op; break;
33
- case 4: _.label++; return { value: op[1], done: false };
34
- case 5: _.label++; y = op[1]; op = [0]; continue;
35
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
36
- default:
37
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
38
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
39
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
40
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
41
- if (t[2]) _.ops.pop();
42
- _.trys.pop(); continue;
43
- }
44
- op = body.call(thisArg, _);
45
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
46
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
47
- }
48
- };
49
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
50
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
51
4
  };
52
5
  Object.defineProperty(exports, "__esModule", { value: true });
53
- var jsx_runtime_1 = require("react/jsx-runtime");
54
- var react_1 = require("react");
55
- var customIcons_1 = __importDefault(require("./components/customIcons"));
56
- var Spinner_1 = __importDefault(require("./components/loader/Spinner"));
57
- var portal_1 = __importDefault(require("./components/portal"));
58
- var debounce_1 = require("./utilities/debounce");
59
- var getPosition_1 = require("./utilities/getPosition");
60
- var icons_1 = require("./utilities/icons");
61
- var ModernAutoComplete = function (_a) {
62
- var _b;
63
- var label = _a.label, onChange = _a.onChange, getData = _a.getData, data = _a.data, errors = _a.errors, _c = _a.required, required = _c === void 0 ? false : _c, autoFocus = _a.autoFocus, name = _a.name, _d = _a.shortCode, shortCode = _d === void 0 ? '' : _d, _e = _a.labelCode, labelCode = _e === void 0 ? '' : _e, fullWidth = _a.fullWidth, placeholder = _a.placeholder, id = _a.id, propsClassName = _a.className, _f = _a.type, type = _f === void 0 ? 'custom_select' : _f, readOnly = _a.readOnly, _g = _a.disabled, disabled = _g === void 0 ? false : _g, value = _a.value, _h = _a.autoFilter, autoFilter = _h === void 0 ? false : _h, _j = _a.insideOpen, insideOpen = _j === void 0 ? false : _j, _k = _a.isClose, isClose = _k === void 0 ? true : _k, _l = _a.noLocalFilter, noLocalFilter = _l === void 0 ? false : _l, _m = _a.isStaticList, isStaticList = _m === void 0 ? false : _m, _o = _a.isCustomPlaceholder, isCustomPlaceholder = _o === void 0 ? false : _o, checkParams = _a.checkParams, width = _a.width, hasParentError = _a.hasParentError, fromPrefix = _a.fromPrefix, labelTitle = _a.labelTitle, _p = _a.isModern, isModern = _p === void 0 ? true : _p, _q = _a.size, size = _q === void 0 ? 'md' : _q;
64
- var _r = (0, react_1.useState)((_b = value === null || value === void 0 ? void 0 : value.name) !== null && _b !== void 0 ? _b : ''), inputValue = _r[0], setInputValue = _r[1];
65
- var _s = (0, react_1.useState)(false), isHovered = _s[0], setIsHovered = _s[1];
66
- var _t = (0, react_1.useState)(false), isLoading = _t[0], setIsLoading = _t[1];
67
- var _u = (0, react_1.useState)(false), dropOpen = _u[0], setDropOpen = _u[1];
68
- var _v = (0, react_1.useState)(disabled), isDisabled = _v[0], setIsDisabled = _v[1];
69
- var _w = (0, react_1.useState)(false), showClose = _w[0], setShowClose = _w[1];
70
- var _x = (0, react_1.useState)(false), showToolTip = _x[0], setShowTooltip = _x[1];
71
- var _y = (0, react_1.useState)(false), tooltipIsHovered = _y[0], setTooltipIsHovered = _y[1];
72
- var _z = (0, react_1.useState)([]), suggestions = _z[0], setSuggestions = _z[1];
73
- var inputRef = (0, react_1.useRef)(null);
74
- var adorementRef = (0, react_1.useRef)(null);
75
- var dropdownref = (0, react_1.useRef)(null);
76
- var dropBtnRef = (0, react_1.useRef)(null);
77
- var timerRef = (0, react_1.useRef)(0); // To fix the no results found issue on second type
78
- var _0 = (0, react_1.useState)(0), selectedIndex = _0[0], setSelectedIndex = _0[1];
79
- var itemRefs = (0, react_1.useRef)([]);
80
- var scrollContainerRef = (0, react_1.useRef)(null);
81
- var _1 = (0, react_1.useState)({
6
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
+ const react_1 = require("react");
8
+ const customIcons_1 = __importDefault(require("./components/customIcons"));
9
+ const Spinner_1 = __importDefault(require("./components/loader/Spinner"));
10
+ const portal_1 = __importDefault(require("./components/portal"));
11
+ const debounce_1 = require("./utilities/debounce");
12
+ const getPosition_1 = require("./utilities/getPosition");
13
+ const icons_1 = require("./utilities/icons");
14
+ const ModernAutoComplete = ({ label, onChange, getData, data, errors, required = false, autoFocus, name, shortCode = '', labelCode = '', fullWidth, placeholder, id, className: propsClassName, type = 'custom_select', readOnly, disabled = false, value, autoFilter = false, insideOpen = false, isClose = true, noLocalFilter = false, isStaticList = false, isCustomPlaceholder = false, checkParams, width, hasParentError, fromPrefix, labelTitle, isModern = true, size = 'md', }) => {
15
+ var _a;
16
+ const [inputValue, setInputValue] = (0, react_1.useState)((_a = value === null || value === void 0 ? void 0 : value.name) !== null && _a !== void 0 ? _a : '');
17
+ const [isHovered, setIsHovered] = (0, react_1.useState)(false);
18
+ const [isLoading, setIsLoading] = (0, react_1.useState)(false);
19
+ const [dropOpen, setDropOpen] = (0, react_1.useState)(false);
20
+ const [isDisabled, setIsDisabled] = (0, react_1.useState)(disabled);
21
+ const [showClose, setShowClose] = (0, react_1.useState)(false);
22
+ const [showToolTip, setShowTooltip] = (0, react_1.useState)(false);
23
+ const [tooltipIsHovered, setTooltipIsHovered] = (0, react_1.useState)(false);
24
+ const [suggestions, setSuggestions] = (0, react_1.useState)([]);
25
+ const [hasFetchedSuggestions, setHasFetchedSuggestions] = (0, react_1.useState)(false);
26
+ const inputRef = (0, react_1.useRef)(null);
27
+ const adorementRef = (0, react_1.useRef)(null);
28
+ const dropdownref = (0, react_1.useRef)(null);
29
+ const dropdownContentRef = (0, react_1.useRef)(null);
30
+ const dropBtnRef = (0, react_1.useRef)(null);
31
+ const timerRef = (0, react_1.useRef)(0); // To fix the no results found issue on second type
32
+ const [selectedIndex, setSelectedIndex] = (0, react_1.useState)(0);
33
+ const itemRefs = (0, react_1.useRef)([]);
34
+ const scrollContainerRef = (0, react_1.useRef)(null);
35
+ const isSelectingRef = (0, react_1.useRef)(false);
36
+ const hasUserChangedInputRef = (0, react_1.useRef)(false); // Track if user has actually typed/changed input
37
+ const [dropPosition, setDropPosition] = (0, react_1.useState)({
82
38
  top: 0,
83
39
  left: 0,
84
40
  bottom: 0,
85
41
  right: 0,
86
- }), dropPosition = _1[0], setDropPosition = _1[1];
87
- var checkIncludes = function (mainString, subString, param1, param2, param3, param4) {
88
- var checkIncludesIfExists = function (mainString, substring) {
42
+ });
43
+ const [isPositionReady, setIsPositionReady] = (0, react_1.useState)(false);
44
+ const checkIncludes = (mainString, subString, param1, param2, param3, param4) => {
45
+ const checkIncludesIfExists = (mainString, substring) => {
89
46
  return substring &&
90
47
  mainString &&
91
48
  typeof mainString === 'string' &&
@@ -96,7 +53,7 @@ var ModernAutoComplete = function (_a) {
96
53
  .startsWith(substring.toString().toLowerCase())
97
54
  : false;
98
55
  };
99
- var checkArrayContains = function (strArray, param) { var _a; return (_a = strArray === null || strArray === void 0 ? void 0 : strArray.includes(param)) !== null && _a !== void 0 ? _a : false; };
56
+ const checkArrayContains = (strArray, param) => { var _a; return (_a = strArray === null || strArray === void 0 ? void 0 : strArray.includes(param)) !== null && _a !== void 0 ? _a : false; };
100
57
  return (checkIncludesIfExists(mainString, subString) ||
101
58
  (!!checkParams &&
102
59
  ((checkArrayContains(checkParams, 'param1') &&
@@ -108,7 +65,7 @@ var ModernAutoComplete = function (_a) {
108
65
  (checkArrayContains(checkParams, 'param4') &&
109
66
  checkIncludesIfExists(param4, subString)))));
110
67
  };
111
- var getHeight = function () {
68
+ const getHeight = () => {
112
69
  switch (size) {
113
70
  case 'sm':
114
71
  return ' h-[34px] ';
@@ -116,9 +73,10 @@ var ModernAutoComplete = function (_a) {
116
73
  return ' ';
117
74
  }
118
75
  };
119
- var handleChange = function (event) {
120
- var value = event.target.value;
76
+ const handleChange = (event) => {
77
+ const { value } = event.target;
121
78
  timerRef.current = 0;
79
+ hasUserChangedInputRef.current = true; // Mark that user has changed the input
122
80
  setInputValue(value);
123
81
  handleValChange(value);
124
82
  if (!value) {
@@ -126,7 +84,7 @@ var ModernAutoComplete = function (_a) {
126
84
  onChange({ id: undefined, name: '', from: 2 });
127
85
  }
128
86
  };
129
- var handleValChange = (0, react_1.useCallback)((0, debounce_1.debounce)(function (value) {
87
+ const handleValChange = (0, react_1.useCallback)((0, debounce_1.debounce)((value) => {
130
88
  setDropOpen(true);
131
89
  onChange({ id: undefined, name: '', from: 1 });
132
90
  if (value.trim() === '' && type === 'auto_complete') {
@@ -141,20 +99,18 @@ var ModernAutoComplete = function (_a) {
141
99
  else {
142
100
  handleDropData(value);
143
101
  }
144
- setTimeout(function () {
102
+ setTimeout(() => {
145
103
  timerRef.current = 1;
146
104
  }, 200);
147
105
  }, isStaticList ? 0 : 1000), []);
148
- var handleDropData = function (value) {
106
+ const handleDropData = (value) => {
149
107
  if (type === 'auto_complete') {
150
108
  if (isStaticList) {
151
109
  loadStaticData();
152
- var filteredData_1 = value && value !== '*'
153
- ? data === null || data === void 0 ? void 0 : data.filter(function (item) {
154
- return checkIncludes(item.name, value, item.param1, item.param2, item.param3);
155
- })
110
+ const filteredData = value && value !== '*'
111
+ ? data === null || data === void 0 ? void 0 : data.filter((item) => checkIncludes(item.name, value, item.param1, item.param2, item.param3))
156
112
  : data;
157
- setSuggestions(filteredData_1);
113
+ setSuggestions(filteredData);
158
114
  }
159
115
  else
160
116
  handlePickSuggestions(value);
@@ -164,44 +120,34 @@ var ModernAutoComplete = function (_a) {
164
120
  handlePickSuggestions();
165
121
  }
166
122
  else if (type === 'custom_search_select' && data && (data === null || data === void 0 ? void 0 : data.length) > 0) {
167
- var filteredData_2 = value && value !== '*'
168
- ? data.filter(function (item) {
169
- return checkIncludes(item.name, value, item.param1, item.param2, item.param3);
170
- })
123
+ const filteredData = value && value !== '*'
124
+ ? data.filter((item) => checkIncludes(item.name, value, item.param1, item.param2, item.param3))
171
125
  : data;
172
- setSuggestions(filteredData_2);
126
+ setSuggestions(filteredData);
173
127
  }
174
128
  };
175
- var handlePickSuggestions = function (value) { return __awaiter(void 0, void 0, void 0, function () {
176
- var fetchedSuggestions, error_1;
177
- return __generator(this, function (_a) {
178
- switch (_a.label) {
179
- case 0:
180
- if (!getData) return [3 /*break*/, 4];
181
- setIsLoading(true);
182
- _a.label = 1;
183
- case 1:
184
- _a.trys.push([1, 3, , 4]);
185
- return [4 /*yield*/, (getData === null || getData === void 0 ? void 0 : getData(value))];
186
- case 2:
187
- fetchedSuggestions = _a.sent();
188
- setSuggestions(fetchedSuggestions);
189
- setIsLoading(false);
190
- setTimeout(function () {
191
- if (type === 'custom_select') {
192
- setDropOpen(true);
193
- }
194
- }, 100);
195
- return [3 /*break*/, 4];
196
- case 3:
197
- error_1 = _a.sent();
198
- setIsLoading(false);
199
- return [3 /*break*/, 4];
200
- case 4: return [2 /*return*/];
129
+ const handlePickSuggestions = async (value) => {
130
+ if (getData) {
131
+ setHasFetchedSuggestions(false);
132
+ setIsLoading(true);
133
+ try {
134
+ const fetchedSuggestions = await (getData === null || getData === void 0 ? void 0 : getData(value));
135
+ setSuggestions(Array.isArray(fetchedSuggestions) ? fetchedSuggestions : []);
136
+ setHasFetchedSuggestions(true);
137
+ setIsLoading(false);
138
+ setTimeout(() => {
139
+ if (type === 'custom_select') {
140
+ setDropOpen(true);
141
+ }
142
+ }, 100);
201
143
  }
202
- });
203
- }); };
204
- var onLabelClick = function () {
144
+ catch (error) {
145
+ setHasFetchedSuggestions(false);
146
+ setIsLoading(false);
147
+ }
148
+ }
149
+ };
150
+ const onLabelClick = () => {
205
151
  var _a;
206
152
  if (!isDisabled) {
207
153
  (_a = inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
@@ -216,60 +162,50 @@ var ModernAutoComplete = function (_a) {
216
162
  }
217
163
  }
218
164
  };
219
- var handleClickOutside = function (event) {
165
+ const handleClickOutside = (event) => {
220
166
  if (dropdownref.current &&
221
167
  !dropdownref.current.contains(event.target)) {
222
168
  setDropOpen(false);
223
169
  }
224
170
  };
225
- var checkIsEmptyField = function () {
171
+ const checkIsEmptyField = () => {
226
172
  var _a;
227
173
  if (inputValue === undefined)
228
174
  return true;
229
175
  else
230
176
  return ((_a = inputValue === null || inputValue === void 0 ? void 0 : inputValue.toString().length) !== null && _a !== void 0 ? _a : 0) <= 0 ? true : false;
231
177
  };
232
- var loadStaticData = function () { return __awaiter(void 0, void 0, void 0, function () {
233
- var fetchedSuggestions, error_2;
234
- return __generator(this, function (_a) {
235
- switch (_a.label) {
236
- case 0:
237
- if (!!data) return [3 /*break*/, 4];
238
- data = [];
239
- if (!getData) return [3 /*break*/, 4];
240
- _a.label = 1;
241
- case 1:
242
- _a.trys.push([1, 3, , 4]);
178
+ const loadStaticData = async () => {
179
+ if (!data) {
180
+ data = [];
181
+ if (getData) {
182
+ try {
243
183
  setIsLoading(true);
244
184
  handlePickSuggestions('*');
245
- return [4 /*yield*/, (getData === null || getData === void 0 ? void 0 : getData('*'))];
246
- case 2:
247
- fetchedSuggestions = _a.sent();
248
- fetchedSuggestions === null || fetchedSuggestions === void 0 ? void 0 : fetchedSuggestions.forEach(function (element) {
185
+ const fetchedSuggestions = await (getData === null || getData === void 0 ? void 0 : getData('*'));
186
+ fetchedSuggestions === null || fetchedSuggestions === void 0 ? void 0 : fetchedSuggestions.forEach((element) => {
249
187
  data === null || data === void 0 ? void 0 : data.push(element);
250
188
  });
251
189
  setIsLoading(false);
252
- return [3 /*break*/, 4];
253
- case 3:
254
- error_2 = _a.sent();
190
+ }
191
+ catch (error) {
255
192
  setIsLoading(false);
256
- return [3 /*break*/, 4];
257
- case 4: return [2 /*return*/];
193
+ }
258
194
  }
259
- });
260
- }); };
261
- (0, react_1.useEffect)(function () {
195
+ }
196
+ };
197
+ (0, react_1.useEffect)(() => {
262
198
  document.addEventListener('click', handleClickOutside);
263
- return function () {
199
+ return () => {
264
200
  document.removeEventListener('click', handleClickOutside);
265
201
  };
266
202
  }, []);
267
- (0, react_1.useEffect)(function () {
203
+ (0, react_1.useEffect)(() => {
268
204
  if (autoFocus) {
269
205
  onLabelClick();
270
206
  }
271
207
  }, [autoFocus]);
272
- var onInputFocus = function () {
208
+ const onInputFocus = () => {
273
209
  if (!isDisabled) {
274
210
  if (autoFilter && inputValue === '') {
275
211
  handleValChange('*');
@@ -282,17 +218,23 @@ var ModernAutoComplete = function (_a) {
282
218
  }
283
219
  }
284
220
  };
285
- (0, react_1.useEffect)(function () {
221
+ (0, react_1.useEffect)(() => {
286
222
  setIsDisabled(disabled);
287
223
  }, [disabled]);
288
- var handleSuggestionClick = function (suggestion, index) {
289
- onChange(__assign(__assign(__assign({}, suggestion), { id: suggestion === null || suggestion === void 0 ? void 0 : suggestion.id, name: suggestion.name }), ((suggestion === null || suggestion === void 0 ? void 0 : suggestion.label) ? { label: suggestion === null || suggestion === void 0 ? void 0 : suggestion.label } : {})));
224
+ const handleSuggestionClick = (suggestion, index) => {
225
+ isSelectingRef.current = true;
226
+ hasUserChangedInputRef.current = false; // Reset flag when selecting from dropdown
227
+ onChange(Object.assign(Object.assign(Object.assign({}, suggestion), { id: suggestion === null || suggestion === void 0 ? void 0 : suggestion.id, name: suggestion.name }), ((suggestion === null || suggestion === void 0 ? void 0 : suggestion.label) ? { label: suggestion === null || suggestion === void 0 ? void 0 : suggestion.label } : {})));
290
228
  if (type !== 'custom_select')
291
229
  setInputValue(suggestion.name);
292
230
  setDropOpen(false);
293
231
  setSelectedIndex(index);
232
+ // Reset flag after a short delay to allow blur handler to check it
233
+ setTimeout(() => {
234
+ isSelectingRef.current = false;
235
+ }, 100);
294
236
  };
295
- var handleOpen = function (e) {
237
+ const handleOpen = (e) => {
296
238
  if (!suggestions || (suggestions === null || suggestions === void 0 ? void 0 : suggestions.length) === 0) {
297
239
  handleDropData();
298
240
  return;
@@ -303,49 +245,64 @@ var ModernAutoComplete = function (_a) {
303
245
  setInputValue('');
304
246
  }
305
247
  };
306
- var handleScroll = function () {
307
- setDropOpen(false);
248
+ const handleScroll = (event) => {
249
+ const scrollTarget = event.target;
250
+ // Ignore scrolls inside the main autocomplete container or dropdown content
251
+ if (scrollTarget &&
252
+ ((dropdownref.current && dropdownref.current.contains(scrollTarget)) ||
253
+ (dropdownContentRef.current &&
254
+ dropdownContentRef.current.contains(scrollTarget)))) {
255
+ return;
256
+ }
257
+ if (dropOpen) {
258
+ setDropOpen(false);
259
+ }
308
260
  };
309
- (0, react_1.useEffect)(function () {
310
- if (!insideOpen) {
311
- setSelectedIndex(0);
312
- window.addEventListener('scroll', handleScroll);
313
- var mainElement = document.querySelector('main');
314
- mainElement === null || mainElement === void 0 ? void 0 : mainElement.addEventListener('scroll', handleScroll);
315
- var gridElements = document.querySelectorAll('.k-grid-content, .overflow-auto, .overflow-y-auto, .overflow-x-auto');
316
- gridElements.forEach(function (gridElement) {
317
- gridElement.addEventListener('scroll', handleScroll);
318
- });
319
- window.addEventListener('resize', getDropPosition);
320
- getDropPosition();
321
- return function () {
322
- window.removeEventListener('scroll', handleScroll);
323
- var mainElement = document.querySelector('main');
324
- mainElement === null || mainElement === void 0 ? void 0 : mainElement.removeEventListener('scroll', handleScroll);
325
- window.addEventListener('resize', getDropPosition);
326
- var gridElements = document.querySelectorAll('.k-grid-content');
327
- gridElements.forEach(function (gridElement) {
328
- gridElement.removeEventListener('scroll', handleScroll);
329
- });
330
- };
261
+ (0, react_1.useEffect)(() => {
262
+ // Only attach scroll listeners when dropdown is open and rendered in portal
263
+ if (insideOpen || !dropOpen) {
264
+ // Reset positioning flag when dropdown is closed
265
+ if (!dropOpen && isPositionReady) {
266
+ setIsPositionReady(false);
267
+ }
268
+ return;
331
269
  }
332
- }, [dropOpen]);
333
- var handleClear = function () {
270
+ setSelectedIndex(0);
271
+ const scrollableDivs = document.querySelectorAll('div[style*="overflow"], .overflow-auto, .overflow-y-auto, .overflow-x-auto');
272
+ window.addEventListener('scroll', handleScroll);
273
+ document.addEventListener('scroll', handleScroll, true);
274
+ scrollableDivs.forEach((div) => {
275
+ div.addEventListener('scroll', handleScroll);
276
+ });
277
+ window.addEventListener('resize', getDropPosition);
278
+ getDropPosition();
279
+ return () => {
280
+ window.removeEventListener('scroll', handleScroll);
281
+ document.removeEventListener('scroll', handleScroll, true);
282
+ scrollableDivs.forEach((div) => {
283
+ div.removeEventListener('scroll', handleScroll);
284
+ });
285
+ window.removeEventListener('resize', getDropPosition);
286
+ };
287
+ }, [dropOpen, insideOpen]);
288
+ const handleClear = () => {
334
289
  setDropOpen(false);
335
290
  setInputValue('');
336
291
  onChange({ id: undefined, name: '', from: 3 });
292
+ hasUserChangedInputRef.current = false; // Reset flag when clearing
337
293
  onLabelClick();
338
294
  };
339
- (0, react_1.useEffect)(function () {
295
+ (0, react_1.useEffect)(() => {
340
296
  var _a;
341
297
  setInputValue((_a = value === null || value === void 0 ? void 0 : value.name) !== null && _a !== void 0 ? _a : '');
298
+ hasUserChangedInputRef.current = false; // Reset flag when value prop changes (e.g., coming back to page)
342
299
  }, [value === null || value === void 0 ? void 0 : value.name]);
343
- (0, react_1.useEffect)(function () {
300
+ (0, react_1.useEffect)(() => {
344
301
  setSuggestions(data);
345
302
  }, [data]);
346
- var getErrors = function (err) {
303
+ const getErrors = (err) => {
347
304
  var _a, _b, _c, _d;
348
- var errMsg = '';
305
+ let errMsg = '';
349
306
  if (err.message) {
350
307
  errMsg = err === null || err === void 0 ? void 0 : err.message;
351
308
  }
@@ -357,13 +314,13 @@ var ModernAutoComplete = function (_a) {
357
314
  }
358
315
  return errMsg;
359
316
  };
360
- var generateClassName = function (type) {
361
- var className = propsClassName;
317
+ const generateClassName = (type) => {
318
+ let className = propsClassName;
362
319
  switch (type) {
363
320
  case 'input':
364
- className += " block text-common text-input-text font-normal px-3.5 w-full text-sm text-gray-900 bg-transparent border appearance-none peer h-10 rounded-[4px] disabled:text-input-disabled bg-white disabled:bg-disabled ".concat(label && isModern
321
+ className += ` block text-common text-input-text font-normal px-3.5 w-full text-sm text-gray-900 bg-transparent border appearance-none peer h-10 rounded-[4px] disabled:text-input-disabled bg-white disabled:bg-disabled ${label && isModern
365
322
  ? 'placeholder-transparent'
366
- : 'focus:placeholder-grey-secondary placeholder-input-label', " focus:placeholder-grey-secondary");
323
+ : 'focus:placeholder-grey-secondary placeholder-input-label'} focus:placeholder-grey-secondary`;
367
324
  if (errors && errors[name]) {
368
325
  className +=
369
326
  ' border-[#FDA29B] focus:border-error-[#FDA29B] focus:ring-[#FDA29B] focus:ring-3 focus:outline-[#FDA29B] input-outline';
@@ -375,17 +332,19 @@ var ModernAutoComplete = function (_a) {
375
332
  className += getHeight();
376
333
  break;
377
334
  case 'label':
378
- className += " flex modern-input-label-truncate peer-focus:modern-input-peer-focus-label-size \n ".concat(isDisabled
335
+ className += ` flex modern-input-label-truncate peer-focus:modern-input-peer-focus-label-size
336
+ ${isDisabled
379
337
  ? 'cursor-pointer'
380
- : 'cursor-text peer-focus:cursor-pointer', " ").concat(isDisabled && !checkIsEmptyField()
338
+ : 'cursor-text peer-focus:cursor-pointer'} ${isDisabled && !checkIsEmptyField()
381
339
  ? 'disabled-input-label-bg'
382
340
  : !isDisabled || !checkIsEmptyField()
383
341
  ? 'active-input-label-bg'
384
- : '', " absolute duration-300 transform -translate-y-4 top-2 z-1 origin-[0] px-0 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:-translate-y-4 start-[14px] rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto ").concat(isDisabled
342
+ : ''} absolute duration-300 transform -translate-y-4 top-2 z-1 origin-[0] px-0 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:-translate-y-4 start-[14px] rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto ${isDisabled
385
343
  ? 'cursor-pointer'
386
- : 'cursor-text peer-focus:cursor-pointer', "\n ").concat(checkIsEmptyField()
344
+ : 'cursor-text peer-focus:cursor-pointer'}
345
+ ${checkIsEmptyField()
387
346
  ? 'modern-input-label-size'
388
- : 'modern-input-peer-focus-label-size');
347
+ : 'modern-input-peer-focus-label-size'}`;
389
348
  if (errors && errors[name]) {
390
349
  className += ' text-error-light ';
391
350
  }
@@ -404,16 +363,16 @@ var ModernAutoComplete = function (_a) {
404
363
  }
405
364
  return className;
406
365
  };
407
- var handleClose = function () {
408
- setTimeout(function () {
366
+ const handleClose = () => {
367
+ setTimeout(() => {
409
368
  setDropOpen(false);
410
369
  }, 500);
411
370
  };
412
- var handleClearInputValue = function () {
371
+ const handleClearInputValue = () => {
413
372
  // setInputValue(value?.name ?? '')
414
373
  };
415
- var getInnerWidth = function () {
416
- var innerwidth = adorementRef.current
374
+ const getInnerWidth = () => {
375
+ const innerwidth = adorementRef.current
417
376
  ? adorementRef.current.offsetWidth
418
377
  : 0;
419
378
  return innerwidth;
@@ -421,67 +380,146 @@ var ModernAutoComplete = function (_a) {
421
380
  // const getPosition = () => {
422
381
  // return 'bottom'
423
382
  // }
424
- var filteredData = inputValue !== '*' &&
383
+ const selectExactMatchFromSuggestions = () => {
384
+ // If user is clicking on dropdown, don't execute exact match logic
385
+ if (isSelectingRef.current) {
386
+ isSelectingRef.current = false;
387
+ hasUserChangedInputRef.current = false; // Reset flag
388
+ return;
389
+ }
390
+ // Only proceed if user has actually changed the input value
391
+ if (!hasUserChangedInputRef.current) {
392
+ return;
393
+ }
394
+ if (!inputValue) {
395
+ hasUserChangedInputRef.current = false; // Reset flag
396
+ return;
397
+ }
398
+ if (!filteredData || filteredData.length === 0) {
399
+ // No suggestions to match against – notify parent with raw value
400
+ onChange({ id: undefined, name: inputValue, from: 4 });
401
+ hasUserChangedInputRef.current = false; // Reset flag
402
+ return;
403
+ }
404
+ const normalizedInput = inputValue.toString().trim().toLowerCase();
405
+ const matchIndex = filteredData.findIndex((item) => {
406
+ var _a, _b;
407
+ const name = (_a = item === null || item === void 0 ? void 0 : item.name) === null || _a === void 0 ? void 0 : _a.toString().trim().toLowerCase();
408
+ const label = (_b = item === null || item === void 0 ? void 0 : item.label) === null || _b === void 0 ? void 0 : _b.toString().trim().toLowerCase();
409
+ return name === normalizedInput || label === normalizedInput;
410
+ });
411
+ if (matchIndex >= 0) {
412
+ const match = filteredData[matchIndex];
413
+ handleSuggestionClick(match, matchIndex);
414
+ }
415
+ else {
416
+ // No exact match – notify parent with typed value
417
+ onChange({ id: undefined, name: inputValue, from: 4 });
418
+ setInputValue('');
419
+ }
420
+ hasUserChangedInputRef.current = false; // Reset flag after handling
421
+ };
422
+ // Handle Tab key on input - works even when dropdown is closed or loading
423
+ const handleTabKey = (e) => {
424
+ if (e.key !== 'Tab')
425
+ return;
426
+ // Check for exact match first, then select highlighted item if no exact match
427
+ if (inputValue && filteredData && filteredData.length > 0) {
428
+ const normalizedInput = inputValue.toString().trim().toLowerCase();
429
+ const exactMatchIndex = filteredData.findIndex((item) => {
430
+ var _a, _b;
431
+ const name = (_a = item === null || item === void 0 ? void 0 : item.name) === null || _a === void 0 ? void 0 : _a.toString().trim().toLowerCase();
432
+ const label = (_b = item === null || item === void 0 ? void 0 : item.label) === null || _b === void 0 ? void 0 : _b.toString().trim().toLowerCase();
433
+ return name === normalizedInput || label === normalizedInput;
434
+ });
435
+ if (exactMatchIndex >= 0) {
436
+ // Exact match found - select it
437
+ isSelectingRef.current = true;
438
+ handleSuggestionClick(filteredData[exactMatchIndex], exactMatchIndex);
439
+ }
440
+ else if (dropOpen && filteredData[selectedIndex]) {
441
+ // No exact match but dropdown is open and has highlighted item - select highlighted item
442
+ isSelectingRef.current = true;
443
+ handleSuggestionClick(filteredData[selectedIndex], selectedIndex);
444
+ }
445
+ else {
446
+ // No exact match and no highlighted item - trigger invalid value action
447
+ onChange({ id: undefined, name: inputValue, from: 4 });
448
+ setInputValue('');
449
+ hasUserChangedInputRef.current = false; // Reset flag
450
+ }
451
+ }
452
+ else if (inputValue && (!filteredData || filteredData.length === 0) && hasUserChangedInputRef.current) {
453
+ // No suggestions available - trigger invalid value action
454
+ onChange({ id: undefined, name: inputValue, from: 4 });
455
+ setInputValue('');
456
+ hasUserChangedInputRef.current = false; // Reset flag
457
+ }
458
+ // Don't prevent default - allow Tab to move focus
459
+ };
460
+ const filteredData = inputValue !== '*' &&
425
461
  inputValue !== '' &&
426
462
  type !== 'custom_select' &&
427
463
  !noLocalFilter
428
- ? suggestions === null || suggestions === void 0 ? void 0 : suggestions.filter(function (item) {
464
+ ? suggestions === null || suggestions === void 0 ? void 0 : suggestions.filter((item) => {
429
465
  var _a, _b, _c, _d;
430
466
  return checkIncludes(item.name, inputValue, (_a = item.param1) !== null && _a !== void 0 ? _a : '', (_b = item.param2) !== null && _b !== void 0 ? _b : '', (_c = item.param3) !== null && _c !== void 0 ? _c : '', (_d = item.param4) !== null && _d !== void 0 ? _d : '');
431
467
  })
432
468
  : suggestions;
433
- var handleError = function (data) {
469
+ const handleError = (data) => {
434
470
  var _a;
435
471
  if (getErrors(data[name]) === 'required' ||
436
472
  getErrors(data[name]) === 'Required') {
437
- return "".concat(label !== null && label !== void 0 ? label : labelTitle, " is ").concat(getErrors(data[name]));
473
+ return `${label !== null && label !== void 0 ? label : labelTitle} is ${getErrors(data[name])}`;
438
474
  }
439
475
  else {
440
476
  return (_a = getErrors(data[name])) !== null && _a !== void 0 ? _a : '';
441
477
  }
442
478
  };
443
- var getDropPosition = function () {
479
+ const getDropPosition = () => {
444
480
  if (!insideOpen && (inputRef === null || inputRef === void 0 ? void 0 : inputRef.current)) {
445
- var dropdownHeight = 200; // Assume the height of the dropdown is 200px, adjust as needed
446
- var inputRect = inputRef.current.getBoundingClientRect();
447
- var spaceBelow = window.innerHeight - (inputRect.bottom + window.scrollY);
448
- var spaceAbove = inputRect.top + window.scrollY;
449
- var top_1;
450
- var bottom = void 0;
481
+ const dropdownHeight = 200; // Assume the height of the dropdown is 200px, adjust as needed
482
+ const inputRect = inputRef.current.getBoundingClientRect();
483
+ const spaceBelow = window.innerHeight - (inputRect.bottom + window.scrollY);
484
+ const spaceAbove = inputRect.top + window.scrollY;
485
+ let top;
486
+ let bottom;
451
487
  if (spaceBelow < dropdownHeight && spaceAbove > dropdownHeight) {
452
488
  bottom = spaceBelow + 43;
453
489
  }
454
490
  else {
455
- top_1 = inputRect.top + window.scrollY + inputRect.height + 2;
491
+ top = inputRect.top + window.scrollY + inputRect.height + 2;
456
492
  }
457
493
  setDropPosition({
458
494
  left: inputRect.left + window.scrollX,
459
- top: top_1,
460
- bottom: bottom,
495
+ top,
496
+ bottom,
461
497
  width: inputRect.width,
462
498
  });
499
+ setIsPositionReady(true);
463
500
  }
464
501
  return undefined;
465
502
  };
466
- var _2 = (0, react_1.useState)(false), showNoResults = _2[0], setShowNoResults = _2[1];
467
- (0, react_1.useEffect)(function () {
468
- if (inputValue &&
503
+ const [showNoResults, setShowNoResults] = (0, react_1.useState)(false);
504
+ (0, react_1.useEffect)(() => {
505
+ const customSelectRequestCompleted = type === 'custom_select' && hasFetchedSuggestions && dropOpen;
506
+ const autocompleteSearchCompleted = Boolean(inputValue) && timerRef.current === 1;
507
+ if ((customSelectRequestCompleted || autocompleteSearchCompleted) &&
469
508
  (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) === 0 &&
470
- !isLoading &&
471
- timerRef.current === 1) {
472
- var timer_1 = setTimeout(function () {
509
+ !isLoading) {
510
+ const timer = setTimeout(() => {
473
511
  setShowNoResults(true);
474
- }, 500); // Delay in milliseconds
475
- return function () { return clearTimeout(timer_1); };
512
+ }, customSelectRequestCompleted ? 0 : 500);
513
+ return () => clearTimeout(timer);
476
514
  }
477
515
  else {
478
516
  setShowNoResults(false);
479
517
  }
480
518
  // Handle keyboard navigation
481
- var handleKeyDown = function (e) {
519
+ const handleKeyDown = (e) => {
482
520
  if (!dropOpen)
483
521
  return;
484
- var nextIndex = e.key === 'ArrowDown'
522
+ const nextIndex = e.key === 'ArrowDown'
485
523
  ? (selectedIndex + 1) % filteredData.length
486
524
  : e.key === 'ArrowUp'
487
525
  ? (selectedIndex - 1 + filteredData.length) % filteredData.length
@@ -493,14 +531,14 @@ var ModernAutoComplete = function (_a) {
493
531
  // Update index first
494
532
  setSelectedIndex(nextIndex);
495
533
  // Wait for DOM update before scrolling
496
- requestAnimationFrame(function () {
497
- var el = itemRefs.current[nextIndex];
498
- var container = scrollContainerRef.current;
534
+ requestAnimationFrame(() => {
535
+ const el = itemRefs.current[nextIndex];
536
+ const container = scrollContainerRef.current;
499
537
  if (el && container) {
500
- var elTop = el.offsetTop;
501
- var elBottom = elTop + el.offsetHeight;
502
- var containerTop = container.scrollTop;
503
- var containerBottom = containerTop + container.clientHeight;
538
+ const elTop = el.offsetTop;
539
+ const elBottom = elTop + el.offsetHeight;
540
+ const containerTop = container.scrollTop;
541
+ const containerBottom = containerTop + container.clientHeight;
504
542
  if (elBottom > containerBottom) {
505
543
  container.scrollTop = elBottom - container.clientHeight;
506
544
  }
@@ -512,7 +550,14 @@ var ModernAutoComplete = function (_a) {
512
550
  break;
513
551
  case 'Enter':
514
552
  e.preventDefault();
515
- handleSuggestionClick(filteredData[selectedIndex], selectedIndex);
553
+ if (filteredData[selectedIndex]) {
554
+ handleSuggestionClick(filteredData[selectedIndex], selectedIndex);
555
+ }
556
+ break;
557
+ case 'Tab':
558
+ // Tab is handled by input's onKeyDown handler (handleTabKey)
559
+ // This case is kept as fallback but input handler takes precedence
560
+ // Don't prevent default - allow Tab to move focus
516
561
  break;
517
562
  case 'Escape':
518
563
  e.preventDefault();
@@ -524,7 +569,7 @@ var ModernAutoComplete = function (_a) {
524
569
  };
525
570
  if ((filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 && !isLoading) {
526
571
  window.addEventListener('keydown', handleKeyDown);
527
- return function () {
572
+ return () => {
528
573
  window.removeEventListener('keydown', handleKeyDown);
529
574
  };
530
575
  }
@@ -535,15 +580,21 @@ var ModernAutoComplete = function (_a) {
535
580
  timerRef.current,
536
581
  selectedIndex,
537
582
  dropOpen,
583
+ hasFetchedSuggestions,
584
+ type,
538
585
  ]);
539
- var setDropDown = function () {
540
- return (((filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 || showNoResults) && ((0, jsx_runtime_1.jsx)("div", __assign({ className: "autocomplete-suggections absolute bg-white shadow-gray-300 shadow-md border border-grey-light z-50 mt-9", style: dropPosition }, { children: (0, jsx_runtime_1.jsx)("ul", __assign({ className: "h-auto max-h-40 overflow-auto w-full py-1.5", ref: scrollContainerRef }, { children: (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: filteredData.map(function (suggestion, index) { return ((0, jsx_runtime_1.jsxs)("li", __assign({ className: "".concat((value === null || value === void 0 ? void 0 : value.id) === (suggestion === null || suggestion === void 0 ? void 0 : suggestion.id)
586
+ const setDropDown = () => {
587
+ return (((filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 || showNoResults) && ((0, jsx_runtime_1.jsx)("div", { ref: dropdownContentRef, className: "autocomplete-suggections absolute bg-white shadow-gray-300 shadow-md border border-grey-light z-50 mt-9", style: dropPosition, children: (0, jsx_runtime_1.jsx)("ul", { className: "h-auto max-h-40 overflow-auto w-full py-1.5", ref: scrollContainerRef, children: (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0 ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: filteredData.map((suggestion, index) => ((0, jsx_runtime_1.jsxs)("li", { className: `${(value === null || value === void 0 ? void 0 : value.id) === (suggestion === null || suggestion === void 0 ? void 0 : suggestion.id)
541
588
  ? 'bg-blue-navy text-white'
542
- : "".concat(index === selectedIndex ? 'is-selected' : '', " hover:bg-table-hover"), " cursor-pointer p-1 text-xxs ps-3.5 pl-[10px] qbs-autocomplete-suggections-items"), "data-testid": suggestion.name, onClick: function () { return handleSuggestionClick(suggestion, index); }, tabIndex: index, ref: function (el) { return (itemRefs.current[index] = el); } }, { children: [(0, jsx_runtime_1.jsx)("span", { children: (suggestion === null || suggestion === void 0 ? void 0 : suggestion.label) ? suggestion === null || suggestion === void 0 ? void 0 : suggestion.label : suggestion.name }), labelCode && (suggestion === null || suggestion === void 0 ? void 0 : suggestion[labelCode]) && ((0, jsx_runtime_1.jsx)("span", __assign({ className: "label-code" }, { children: suggestion === null || suggestion === void 0 ? void 0 : suggestion[labelCode] }))), shortCode && (suggestion === null || suggestion === void 0 ? void 0 : suggestion[shortCode]) && ((0, jsx_runtime_1.jsx)("span", __assign({ className: "short-code" }, { children: suggestion === null || suggestion === void 0 ? void 0 : suggestion[shortCode] })))] }), suggestion === null || suggestion === void 0 ? void 0 : suggestion.id)); }) })) : (showNoResults &&
543
- !isLoading &&
544
- timerRef.current === 1 && ((0, jsx_runtime_1.jsx)("li", __assign({ className: "$ cursor-pointer p-1 rounded-sm text-xxs", onClick: handleClose }, { children: "No Results Found" })))) })) }))));
589
+ : `${index === selectedIndex ? 'is-selected' : ''} hover:bg-table-hover`} cursor-pointer p-1 text-xxs ps-3.5 pl-[10px] qbs-autocomplete-suggections-items`, "data-testid": suggestion.name, onMouseDown: (e) => {
590
+ e.preventDefault(); // Prevent input blur before click
591
+ isSelectingRef.current = true;
592
+ }, onClick: () => handleSuggestionClick(suggestion, index), tabIndex: index, ref: (el) => {
593
+ itemRefs.current[index] = el;
594
+ }, children: [(0, jsx_runtime_1.jsx)("span", { children: (suggestion === null || suggestion === void 0 ? void 0 : suggestion.label) ? suggestion === null || suggestion === void 0 ? void 0 : suggestion.label : suggestion.name }), labelCode && (suggestion === null || suggestion === void 0 ? void 0 : suggestion[labelCode]) && ((0, jsx_runtime_1.jsx)("span", { className: "label-code", children: suggestion === null || suggestion === void 0 ? void 0 : suggestion[labelCode] })), shortCode && (suggestion === null || suggestion === void 0 ? void 0 : suggestion[shortCode]) && ((0, jsx_runtime_1.jsx)("span", { className: "short-code", children: suggestion === null || suggestion === void 0 ? void 0 : suggestion[shortCode] }))] }, suggestion === null || suggestion === void 0 ? void 0 : suggestion.id))) })) : (showNoResults &&
595
+ !isLoading && ((0, jsx_runtime_1.jsx)("li", { className: "qbs-autocomplete-notfound cursor-default p-1 rounded-sm text-xxs", "aria-disabled": "true", children: "No Results Found" }))) }) })));
545
596
  };
546
- var getBorderRight = function () {
597
+ const getBorderRight = () => {
547
598
  if (fromPrefix) {
548
599
  if ((hasParentError && Boolean(errors && errors[name])) ||
549
600
  hasParentError) {
@@ -555,12 +606,12 @@ var ModernAutoComplete = function (_a) {
555
606
  }
556
607
  return 0;
557
608
  };
558
- (0, react_1.useEffect)(function () {
609
+ (0, react_1.useEffect)(() => {
559
610
  (0, getPosition_1.applyPositionClass)(dropdownref, isHovered);
560
611
  setDropOpen(false);
561
612
  }, [isHovered]);
562
- (0, react_1.useEffect)(function () {
563
- var shouldShowClose = (value === null || value === void 0 ? void 0 : value.name) &&
613
+ (0, react_1.useEffect)(() => {
614
+ const shouldShowClose = (value === null || value === void 0 ? void 0 : value.name) &&
564
615
  ((value === null || value === void 0 ? void 0 : value.id) || String(value === null || value === void 0 ? void 0 : value.id) === '0') &&
565
616
  !disabled &&
566
617
  !readOnly &&
@@ -569,13 +620,13 @@ var ModernAutoComplete = function (_a) {
569
620
  setShowClose(shouldShowClose);
570
621
  }
571
622
  }, [value, disabled, readOnly]);
572
- (0, react_1.useEffect)(function () {
623
+ (0, react_1.useEffect)(() => {
573
624
  // Check if input content overflows
574
- var checkOverflow = function () {
625
+ const checkOverflow = () => {
575
626
  if (inputRef.current) {
576
- var _a = inputRef.current, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth, value_1 = _a.value;
627
+ const { scrollWidth, clientWidth, value } = inputRef.current;
577
628
  // Check for overflow only when there's content
578
- if (value_1.trim() !== '') {
629
+ if (value.trim() !== '') {
579
630
  setShowTooltip(scrollWidth > clientWidth + 2);
580
631
  }
581
632
  else {
@@ -587,29 +638,45 @@ var ModernAutoComplete = function (_a) {
587
638
  inputRef.current.addEventListener('input', checkOverflow);
588
639
  checkOverflow(); // Initial check
589
640
  }
590
- return function () {
641
+ return () => {
591
642
  if (inputRef.current) {
592
643
  inputRef.current.removeEventListener('input', checkOverflow);
593
644
  }
594
645
  };
595
646
  }, [inputValue]);
596
- var handleMouseEnter = function () {
647
+ const handleMouseEnter = () => {
597
648
  setTooltipIsHovered(true);
598
649
  };
599
- var handleMouseLeave = function () {
650
+ const handleMouseLeave = () => {
600
651
  setTooltipIsHovered(false);
601
652
  };
602
- return ((0, jsx_runtime_1.jsxs)("div", __assign({ id: id ? "autocomplete-container-".concat(id) : "autocomplete-container-".concat(name), className: " flex-grow ".concat(fullWidth ? 'w-full' : 'w-auto'), ref: dropdownref }, { children: [label && !isModern && ((0, jsx_runtime_1.jsx)("div", __assign({ className: "mb-3" }, { children: (0, jsx_runtime_1.jsxs)("label", __assign({ className: "text-xs font-medium" }, { children: [label, required ? (0, jsx_runtime_1.jsx)("span", __assign({ className: "text-error" }, { children: " *" })) : (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {})] })) }))), (0, jsx_runtime_1.jsxs)("div", __assign({ className: "tooltip-container" }, { children: [isHovered && errors && errors[name] && ((0, jsx_runtime_1.jsxs)("span", __assign({ className: "tooltip" }, { children: [handleError(errors), " "] }))), tooltipIsHovered && showToolTip && !dropOpen && inputValue && ((0, jsx_runtime_1.jsx)("div", __assign({ className: "tooltip-info" }, { children: inputValue }))), (0, jsx_runtime_1.jsxs)("div", __assign({ className: "flex relative ".concat(fullWidth ? 'w-full' : 'w-auto'), style: { width: width } }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: "relative w-full", onMouseEnter: function () { return handleMouseEnter(); }, onMouseLeave: function () { return handleMouseLeave(); } }, { children: [(0, jsx_runtime_1.jsx)("input", { type: "text", readOnly: readOnly !== null && readOnly !== void 0 ? readOnly : type === 'custom_select', value: inputValue ? inputValue : '', onBlur: handleClearInputValue, autoComplete: "off", disabled: disabled, ref: inputRef, id: id ? "custom-autocomplete-".concat(id) : "custom-autocomplete-".concat(name), "data-testid": "custom-autocomplete", "aria-describedby": id, style: __assign({ paddingRight: getInnerWidth() }, (fromPrefix
653
+ return ((0, jsx_runtime_1.jsxs)("div", { id: id ? `autocomplete-container-${id}` : `autocomplete-container-${name}`, className: ` flex-grow ${fullWidth ? 'w-full' : 'w-auto'}`, ref: dropdownref, children: [label && !isModern && ((0, jsx_runtime_1.jsx)("div", { className: "mb-3", children: (0, jsx_runtime_1.jsxs)("label", { className: `text-xs font-medium`, children: [label, required ? (0, jsx_runtime_1.jsx)("span", { className: "text-error", children: " *" }) : (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {})] }) })), (0, jsx_runtime_1.jsxs)("div", { className: "tooltip-container", children: [isHovered && errors && errors[name] && ((0, jsx_runtime_1.jsxs)("span", { className: "tooltip", children: [handleError(errors), " "] })), tooltipIsHovered && showToolTip && !dropOpen && inputValue && ((0, jsx_runtime_1.jsx)("div", { className: `tooltip-info`, children: inputValue })), (0, jsx_runtime_1.jsxs)("div", { className: `flex relative ${fullWidth ? 'w-full' : 'w-auto'}`, style: { width: width }, children: [(0, jsx_runtime_1.jsxs)("div", { className: "relative w-full", onMouseEnter: () => handleMouseEnter(), onMouseLeave: () => handleMouseLeave(), children: [(0, jsx_runtime_1.jsx)("input", { type: "text", readOnly: readOnly !== null && readOnly !== void 0 ? readOnly : type === 'custom_select', value: inputValue ? inputValue : '', onKeyDown: handleTabKey, onBlur: (e) => {
654
+ // Check immediately if user is selecting (Tab or click)
655
+ const wasSelecting = isSelectingRef.current;
656
+ // Delay to allow click events on dropdown to process first
657
+ setTimeout(() => {
658
+ // Check if focus moved to dropdown or if user is selecting
659
+ const relatedTarget = e.relatedTarget;
660
+ if (wasSelecting ||
661
+ (dropdownref.current &&
662
+ relatedTarget &&
663
+ dropdownref.current.contains(relatedTarget))) {
664
+ return; // User selected an item or focus moved to dropdown, don't execute exact match
665
+ }
666
+ handleClearInputValue();
667
+ selectExactMatchFromSuggestions();
668
+ }, 200);
669
+ }, autoComplete: "off", disabled: disabled, ref: inputRef, id: id ? `custom-autocomplete-${id}` : `custom-autocomplete-${name}`, "data-testid": "custom-autocomplete", "aria-describedby": id, style: Object.assign({ paddingRight: getInnerWidth() }, (fromPrefix
603
670
  ? {
604
671
  borderRight: getBorderRight(),
605
672
  borderTopRightRadius: 0,
606
673
  borderBottomRightRadius: 0,
607
674
  }
608
- : {})), className: " ".concat(generateClassName('input')), onChange: handleChange, placeholder: type === 'auto_complete'
675
+ : {})), className: ` ${generateClassName('input')}`, onChange: handleChange, placeholder: type === 'auto_complete'
609
676
  ? placeholder && isCustomPlaceholder
610
677
  ? placeholder
611
678
  : 'Type to search'
612
- : placeholder !== null && placeholder !== void 0 ? placeholder : '--Select--', onFocus: onInputFocus, onClick: function (e) {
679
+ : (placeholder !== null && placeholder !== void 0 ? placeholder : '--Select--'), onFocus: onInputFocus, onClick: (e) => {
613
680
  if (type === 'custom_select') {
614
681
  setDropOpen(!dropOpen);
615
682
  handleOpen(e);
@@ -617,7 +684,9 @@ var ModernAutoComplete = function (_a) {
617
684
  else {
618
685
  setDropOpen(!dropOpen);
619
686
  }
620
- } }), isModern && ((0, jsx_runtime_1.jsxs)("label", __assign({ htmlFor: id, onClick: function () { return onLabelClick(); }, className: generateClassName('label') }, { children: [label ? (0, jsx_runtime_1.jsx)("span", __assign({ className: "truncate" }, { children: label })) : '', required ? (0, jsx_runtime_1.jsx)("span", __assign({ className: "text-error" }, { children: " *" })) : (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {})] })))] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: "flex items-center justify-center " }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ ref: adorementRef, className: "".concat(generateClassName('adorement'), " qbs-autocomplete-adorement custom-dorpdown-adorement mr-[1px] ").concat(isLoading ? 'bg-white' : '') }, { children: [showClose && ((0, jsx_runtime_1.jsx)("button", __assign({ onClick: function () { return handleClear(); }, className: " text-table-bodyColor text-[#667085]", "aria-label": "close", type: "button", id: "autocomplete-close-icon" }, { children: (0, jsx_runtime_1.jsx)(customIcons_1.default, { name: "close", type: "large-m" }) }))), isLoading && (0, jsx_runtime_1.jsx)(Spinner_1.default, {}), type !== 'auto_complete' && !disabled && !readOnly && ((0, jsx_runtime_1.jsx)("button", __assign({ disabled: disabled !== null && disabled !== void 0 ? disabled : readOnly, onClick: function (e) { return handleOpen(e); }, onBlur: handleClose, className: " text-[#667085] focus-visible:outline-slate-100", "data-testid": "drop-arrow", type: "button", id: "autocomplete-drop-icon", ref: dropBtnRef }, { children: !dropOpen ? ((0, jsx_runtime_1.jsx)(icons_1.DropArrow, { uniqueDropArrowId: "drop-arrow-icon" })) : ((0, jsx_runtime_1.jsx)(icons_1.DropArrow, { className: "rotate-180", uniqueDropArrowId: "drop-arrow-icon" })) }))), errors && errors[name] && ((0, jsx_runtime_1.jsx)("div", __assign({ className: " text-error-label relative cursor-pointer ".concat(generateClassName('message')), onMouseEnter: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); } }, { children: (0, jsx_runtime_1.jsx)(customIcons_1.default, { name: "alert", type: "medium" }) })))] })) })), dropOpen && (!isLoading || (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0) && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: insideOpen ? setDropDown() : (0, jsx_runtime_1.jsx)(portal_1.default, { children: setDropDown() }) }))] }))] }))] })));
687
+ } }), isModern && ((0, jsx_runtime_1.jsxs)("label", { htmlFor: id, onClick: () => onLabelClick(), className: generateClassName('label'), children: [label ? (0, jsx_runtime_1.jsx)("span", { className: "truncate", children: label }) : '', required ? (0, jsx_runtime_1.jsx)("span", { className: "text-error", children: " *" }) : (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {})] }))] }), (0, jsx_runtime_1.jsx)("div", { className: "flex items-center justify-center ", children: (0, jsx_runtime_1.jsxs)("div", { ref: adorementRef, className: `${generateClassName('adorement')} qbs-autocomplete-adorement custom-dorpdown-adorement mr-[1px] ${isLoading ? 'bg-white' : ''}`, children: [showClose && ((0, jsx_runtime_1.jsx)("button", { onClick: () => handleClear(), className: " text-table-bodyColor text-[#667085]", "aria-label": "close", type: "button", id: "autocomplete-close-icon", children: (0, jsx_runtime_1.jsx)(customIcons_1.default, { name: "close", type: "large-m" }) })), isLoading && (0, jsx_runtime_1.jsx)(Spinner_1.default, {}), type !== 'auto_complete' && !disabled && !readOnly && ((0, jsx_runtime_1.jsx)("button", { disabled: disabled !== null && disabled !== void 0 ? disabled : readOnly, onClick: (e) => handleOpen(e), onBlur: handleClose, className: " text-[#667085] focus-visible:outline-slate-100", "data-testid": "drop-arrow", type: "button", id: "autocomplete-drop-icon", ref: dropBtnRef, children: !dropOpen ? ((0, jsx_runtime_1.jsx)(icons_1.DropArrow, { uniqueDropArrowId: "drop-arrow-icon" })) : ((0, jsx_runtime_1.jsx)(icons_1.DropArrow, { className: "rotate-180", uniqueDropArrowId: "drop-arrow-icon" })) })), errors && errors[name] && ((0, jsx_runtime_1.jsx)("div", { className: ` text-error-label relative cursor-pointer ${generateClassName('message')}`, onMouseEnter: () => setIsHovered(true), onMouseLeave: () => setIsHovered(false), children: (0, jsx_runtime_1.jsx)(customIcons_1.default, { name: "alert", type: "medium" }) }))] }) }), dropOpen &&
688
+ (!insideOpen ? isPositionReady : true) &&
689
+ (!isLoading || (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) > 0) && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: insideOpen ? setDropDown() : (0, jsx_runtime_1.jsx)(portal_1.default, { children: setDropDown() }) }))] })] })] }));
621
690
  };
622
691
  exports.default = ModernAutoComplete;
623
692
  //# sourceMappingURL=ReactAutoComplete.js.map