impact-ui 4.0.1-alpha.8 → 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 (331) hide show
  1. package/dist/_virtual/North.js +4 -0
  2. package/dist/_virtual/_commonjsHelpers.js +1 -1
  3. package/dist/_virtual/index13.js +2 -2
  4. package/dist/_virtual/index14.js +2 -2
  5. package/dist/_virtual/index15.js +2 -2
  6. package/dist/_virtual/index16.js +2 -2
  7. package/dist/components/AccordionModern/index.js +5 -10
  8. package/dist/components/BottomSheet/index.js +5 -4
  9. package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
  10. package/dist/components/Breadcrumbs/index.js +3 -1
  11. package/dist/components/Chart/index.d.ts.map +1 -1
  12. package/dist/components/Chart/index.js +27 -33
  13. package/dist/components/Chatbot/bookMarkPanel.d.ts.map +1 -1
  14. package/dist/components/Chatbot/bookMarkPanel.js +8 -6
  15. package/dist/components/Chatbot/chatInput.d.ts.map +1 -1
  16. package/dist/components/Chatbot/chatInput.js +4 -2
  17. package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +1 -1
  18. package/dist/components/Chatbot/chatbotModuleMenu.js +5 -3
  19. package/dist/components/Chatbot/constant.d.ts.map +1 -1
  20. package/dist/components/Chatbot/constant.js +8 -2
  21. package/dist/components/Chatbot/conversationScreen.d.ts.map +1 -1
  22. package/dist/components/Chatbot/conversationScreen.js +5 -3
  23. package/dist/components/Chatbot/historyPanel.d.ts.map +1 -1
  24. package/dist/components/Chatbot/historyPanel.js +18 -9
  25. package/dist/components/Chatbot/index.d.ts.map +1 -1
  26. package/dist/components/Chatbot/index.js +52 -26
  27. package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
  28. package/dist/components/Chatbot/newChatComponent.js +12 -10
  29. package/dist/components/Chatbot/utils.d.ts +3 -1
  30. package/dist/components/Chatbot/utils.d.ts.map +1 -1
  31. package/dist/components/Chatbot/utils.js +4 -4
  32. package/dist/components/Checkbox/Default.js +1 -1
  33. package/dist/components/CommentsPanel/CommentsContext.d.ts.map +1 -1
  34. package/dist/components/CommentsPanel/CommentsContext.js +23 -24
  35. package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts.map +1 -1
  36. package/dist/components/CommentsPanel/CommentsPanel.impl.js +33 -36
  37. package/dist/components/CreateItemFlow/index.d.ts.map +1 -1
  38. package/dist/components/CreateItemFlow/index.js +23 -8
  39. package/dist/components/DatePicker/datePickerFooter.d.ts.map +1 -1
  40. package/dist/components/DatePicker/datePickerFooter.js +5 -3
  41. package/dist/components/DatePicker/datePickerInput.d.ts.map +1 -1
  42. package/dist/components/DatePicker/datePickerInput.js +4 -2
  43. package/dist/components/DateRangePicker/dateRangePickerCustom.d.ts.map +1 -1
  44. package/dist/components/DateRangePicker/dateRangePickerCustom.js +5 -3
  45. package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts.map +1 -1
  46. package/dist/components/DateRangePicker/dateRangePickerFooter.js +8 -8
  47. package/dist/components/DateRangePicker/dateRangePickerInput.d.ts.map +1 -1
  48. package/dist/components/DateRangePicker/dateRangePickerInput.js +4 -2
  49. package/dist/components/DateRangePicker/index.d.ts.map +1 -1
  50. package/dist/components/DateRangePicker/index.js +5 -1
  51. package/dist/components/DateRangePicker/showMonthYearSelect.d.ts.map +1 -1
  52. package/dist/components/DateRangePicker/showMonthYearSelect.js +4 -2
  53. package/dist/components/DateRangePicker/utils.d.ts +5 -0
  54. package/dist/components/DateRangePicker/utils.d.ts.map +1 -1
  55. package/dist/components/DateRangePicker/utils.js +13 -0
  56. package/dist/components/FileUpload/TemplatePreview.d.ts.map +1 -1
  57. package/dist/components/FileUpload/TemplatePreview.js +3 -1
  58. package/dist/components/FileUpload/index.d.ts.map +1 -1
  59. package/dist/components/FileUpload/index.js +30 -23
  60. package/dist/components/FiltersStrip/AppliedFilters.d.ts.map +1 -1
  61. package/dist/components/FiltersStrip/AppliedFilters.js +15 -13
  62. package/dist/components/FiltersStrip/FilterDropDown.d.ts.map +1 -1
  63. package/dist/components/FiltersStrip/FilterDropDown.js +6 -3
  64. package/dist/components/FiltersStrip/index.d.ts.map +1 -1
  65. package/dist/components/FiltersStrip/index.js +6 -3
  66. package/dist/components/Header/Header.types.d.ts +7 -0
  67. package/dist/components/Header/Header.types.d.ts.map +1 -1
  68. package/dist/components/Header/index.d.ts +1 -1
  69. package/dist/components/Header/index.d.ts.map +1 -1
  70. package/dist/components/Header/index.js +94 -6
  71. package/dist/components/HomePage/index.d.ts.map +1 -1
  72. package/dist/components/HomePage/index.js +44 -34
  73. package/dist/components/KeyboardShortCuts/Keycombo.d.ts +3 -1
  74. package/dist/components/KeyboardShortCuts/Keycombo.d.ts.map +1 -1
  75. package/dist/components/KeyboardShortCuts/Keycombo.js +11 -1
  76. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts.map +1 -1
  77. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +69 -35
  78. package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts.map +1 -1
  79. package/dist/components/KeyboardShortCuts/ShortcutModal.js +102 -43
  80. package/dist/components/KeyboardShortCuts/allSetBox.d.ts.map +1 -1
  81. package/dist/components/KeyboardShortCuts/allSetBox.js +9 -3
  82. package/dist/components/KeyboardShortCuts/index.d.ts.map +1 -1
  83. package/dist/components/KeyboardShortCuts/index.js +8 -6
  84. package/dist/components/KeyboardShortCuts/screen2.d.ts.map +1 -1
  85. package/dist/components/KeyboardShortCuts/screen2.js +4 -2
  86. package/dist/components/KeyboardShortCuts/screen3.d.ts.map +1 -1
  87. package/dist/components/KeyboardShortCuts/screen3.js +4 -2
  88. package/dist/components/KeyboardShortCuts/tutorial.d.ts.map +1 -1
  89. package/dist/components/KeyboardShortCuts/tutorial.js +20 -15
  90. package/dist/components/Loader/index.d.ts.map +1 -1
  91. package/dist/components/Loader/index.js +5 -2
  92. package/dist/components/Menu/MenuHeaderInfo.d.ts.map +1 -1
  93. package/dist/components/Menu/MenuHeaderInfo.js +10 -11
  94. package/dist/components/Menu/index.d.ts.map +1 -1
  95. package/dist/components/Menu/index.js +18 -8
  96. package/dist/components/Modal/Modal.types.d.ts +1 -1
  97. package/dist/components/Modal/Modal.types.d.ts.map +1 -1
  98. package/dist/components/Modal/index.d.ts.map +1 -1
  99. package/dist/components/Modal/index.js +7 -5
  100. package/dist/components/MonthPicker/index.d.ts.map +1 -1
  101. package/dist/components/MonthPicker/index.js +17 -14
  102. package/dist/components/MonthRangePicker/index.d.ts +1 -1
  103. package/dist/components/MonthRangePicker/index.d.ts.map +1 -1
  104. package/dist/components/MonthRangePicker/index.js +17 -14
  105. package/dist/components/Notification/Notification.types.d.ts +4 -0
  106. package/dist/components/Notification/Notification.types.d.ts.map +1 -1
  107. package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts.map +1 -1
  108. package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.js +2 -1
  109. package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts.map +1 -1
  110. package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.js +22 -13
  111. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +1 -1
  112. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.js +187 -54
  113. package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts.map +1 -1
  114. package/dist/components/Notification/NotificationBody/NotificationPanelContent.js +1 -1
  115. package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts.map +1 -1
  116. package/dist/components/Notification/NotificationBody/NotificationTaskList.js +7 -5
  117. package/dist/components/Notification/NotificationBody/index.d.ts.map +1 -1
  118. package/dist/components/Notification/NotificationBody/index.js +3 -1
  119. package/dist/components/Notification/index.d.ts.map +1 -1
  120. package/dist/components/Notification/index.js +2 -2
  121. package/dist/components/Notification/mockData.d.ts.map +1 -1
  122. package/dist/components/Select/SearchFilter.d.ts.map +1 -1
  123. package/dist/components/Select/SearchFilter.js +6 -4
  124. package/dist/components/Select/Select.types.d.ts +4 -6
  125. package/dist/components/Select/Select.types.d.ts.map +1 -1
  126. package/dist/components/Select/customGroupHeading.d.ts.map +1 -1
  127. package/dist/components/Select/customGroupHeading.js +9 -3
  128. package/dist/components/Select/dropdown.d.ts.map +1 -1
  129. package/dist/components/Select/dropdown.js +1 -1
  130. package/dist/components/Select/hooks/useMenuPosition.d.ts +1 -1
  131. package/dist/components/Select/hooks/useMenuPosition.d.ts.map +1 -1
  132. package/dist/components/Select/hooks/useMenuPosition.js +25 -39
  133. package/dist/components/Select/hooks/useScrollIntoView.d.ts +2 -1
  134. package/dist/components/Select/hooks/useScrollIntoView.d.ts.map +1 -1
  135. package/dist/components/Select/hooks/useScrollIntoView.js +4 -2
  136. package/dist/components/Select/index.d.ts.map +1 -1
  137. package/dist/components/Select/index.js +20 -23
  138. package/dist/components/Select/menuList.d.ts.map +1 -1
  139. package/dist/components/Select/menuList.js +49 -38
  140. package/dist/components/Select/utils.d.ts +1 -1
  141. package/dist/components/Select/utils.d.ts.map +1 -1
  142. package/dist/components/Select/utils.js +2 -2
  143. package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
  144. package/dist/components/Sidebar/SidebarActions.js +6 -3
  145. package/dist/components/Sidebar/SidebarMenus.d.ts.map +1 -1
  146. package/dist/components/Sidebar/SidebarMenus.js +3 -4
  147. package/dist/components/Sidebar/index.d.ts.map +1 -1
  148. package/dist/components/Sidebar/index.js +6 -4
  149. package/dist/components/Slider/index.d.ts +1 -1
  150. package/dist/components/Slider/index.d.ts.map +1 -1
  151. package/dist/components/Slider/index.js +2 -8
  152. package/dist/components/Table/AdvanceSearchModalItem.d.ts.map +1 -1
  153. package/dist/components/Table/AdvanceSearchModalItem.js +7 -5
  154. package/dist/components/Table/AdvanceSortModal.d.ts.map +1 -1
  155. package/dist/components/Table/AdvanceSortModal.js +37 -35
  156. package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
  157. package/dist/components/Table/AgGridHeader.js +67 -35
  158. package/dist/components/Table/CommentsPortal.d.ts +3 -5
  159. package/dist/components/Table/CommentsPortal.d.ts.map +1 -1
  160. package/dist/components/Table/CommentsPortal.js +14 -15
  161. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +1 -1
  162. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.js +26 -23
  163. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts +3 -2
  164. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -1
  165. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +40 -16
  166. package/dist/components/Table/NoComments.d.ts.map +1 -1
  167. package/dist/components/Table/NoComments.js +7 -6
  168. package/dist/components/Table/actionBar.d.ts.map +1 -1
  169. package/dist/components/Table/actionBar.js +5 -1
  170. package/dist/components/Table/advanceSearchModal.d.ts.map +1 -1
  171. package/dist/components/Table/advanceSearchModal.js +14 -12
  172. package/dist/components/Table/agGridLocale.d.ts +33 -0
  173. package/dist/components/Table/agGridLocale.d.ts.map +1 -0
  174. package/dist/components/Table/agGridLocale.js +59 -0
  175. package/dist/components/Table/filterUtils.d.ts +53 -0
  176. package/dist/components/Table/filterUtils.d.ts.map +1 -1
  177. package/dist/components/Table/filterUtils.js +74 -0
  178. package/dist/components/Table/filterUtils.test.d.ts +2 -0
  179. package/dist/components/Table/filterUtils.test.d.ts.map +1 -0
  180. package/dist/components/Table/index.d.ts.map +1 -1
  181. package/dist/components/Table/index.js +44 -17
  182. package/dist/components/Table/tableFunctions.d.ts +10 -12
  183. package/dist/components/Table/tableFunctions.d.ts.map +1 -1
  184. package/dist/components/Table/tableFunctions.js +233 -155
  185. package/dist/components/Table/tableHeader.d.ts +2 -1
  186. package/dist/components/Table/tableHeader.d.ts.map +1 -1
  187. package/dist/components/Table/tableHeader.js +24 -13
  188. package/dist/components/Table/tableMoreOptions.d.ts +2 -1
  189. package/dist/components/Table/tableMoreOptions.d.ts.map +1 -1
  190. package/dist/components/Table/tableMoreOptions.js +12 -9
  191. package/dist/components/Table/tablePagination.d.ts.map +1 -1
  192. package/dist/components/Table/tablePagination.js +16 -6
  193. package/dist/components/Table/tableSettings.d.ts +3 -2
  194. package/dist/components/Table/tableSettings.d.ts.map +1 -1
  195. package/dist/components/Table/tableSettings.js +19 -14
  196. package/dist/components/Table/withCommentIcon.d.ts.map +1 -1
  197. package/dist/components/Table/withCommentIcon.js +7 -4
  198. package/dist/components/TableChat/EmptyContainer.js +1 -1
  199. package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
  200. package/dist/components/TableChat/TableChatSidePanel.js +40 -44
  201. package/dist/components/TableChat/components/SkeletonList.d.ts +1 -1
  202. package/dist/components/TableChat/components/SkeletonList.d.ts.map +1 -1
  203. package/dist/components/TableChat/components/SkeletonList.js +6 -1
  204. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts.map +1 -1
  205. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +46 -41
  206. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
  207. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.js +4 -2
  208. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts.map +1 -1
  209. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.js +5 -11
  210. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts +1 -1
  211. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts.map +1 -1
  212. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.js +4 -2
  213. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.d.ts +1 -3
  214. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.d.ts.map +1 -1
  215. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.js +5 -3
  216. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts +2 -4
  217. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts.map +1 -1
  218. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +8 -10
  219. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts.map +1 -1
  220. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +14 -5
  221. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts +1 -2
  222. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
  223. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +31 -22
  224. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.d.ts.map +1 -1
  225. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +3 -1
  226. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts +0 -1
  227. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts.map +1 -1
  228. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.js +8 -5
  229. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts +1 -2
  230. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
  231. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +14 -13
  232. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
  233. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js +10 -10
  234. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts +1 -1
  235. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts.map +1 -1
  236. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.js +20 -9
  237. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts +2 -2
  238. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
  239. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +34 -31
  240. package/dist/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.d.ts.map +1 -1
  241. package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.js +1 -1
  242. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts +1 -2
  243. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
  244. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +12 -14
  245. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.d.ts.map +1 -1
  246. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +18 -20
  247. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts.map +1 -1
  248. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +6 -4
  249. package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts +1 -1
  250. package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts.map +1 -1
  251. package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.js +26 -7
  252. package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.d.ts.map +1 -1
  253. package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.js +30 -4
  254. package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts.map +1 -1
  255. package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.js +19 -25
  256. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts +2 -2
  257. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
  258. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts +1 -3
  259. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
  260. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +28 -35
  261. package/dist/components/TableChat/components/TextEditor/EditorToolbar.d.ts.map +1 -1
  262. package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +19 -17
  263. package/dist/components/TableChat/components/TextEditor/Mention.d.ts +1 -2
  264. package/dist/components/TableChat/components/TextEditor/Mention.d.ts.map +1 -1
  265. package/dist/components/TableChat/components/TextEditor/Mention.js +7 -4
  266. package/dist/components/TableChat/components/TextEditor/MentionList.d.ts +1 -2
  267. package/dist/components/TableChat/components/TextEditor/MentionList.d.ts.map +1 -1
  268. package/dist/components/TableChat/components/TextEditor/MentionList.js +5 -3
  269. package/dist/components/TableChat/utils/formatChatTimestamp.js +14 -0
  270. package/dist/components/TableOld/AgGridHeader.d.ts.map +1 -1
  271. package/dist/components/TableOld/AgGridHeader.js +15 -6
  272. package/dist/components/TableOld/actionBar.d.ts.map +1 -1
  273. package/dist/components/TableOld/actionBar.js +5 -1
  274. package/dist/components/TableOld/index.d.ts +1 -2
  275. package/dist/components/TableOld/index.d.ts.map +1 -1
  276. package/dist/components/TableOld/index.js +36 -11
  277. package/dist/components/TableOld/tableFunctions.d.ts +10 -12
  278. package/dist/components/TableOld/tableFunctions.d.ts.map +1 -1
  279. package/dist/components/TableOld/tableFunctions.js +239 -159
  280. package/dist/components/TableOld/tableHeader.d.ts +2 -1
  281. package/dist/components/TableOld/tableHeader.d.ts.map +1 -1
  282. package/dist/components/TableOld/tableHeader.js +6 -2
  283. package/dist/components/TableOld/tablePagination.d.ts.map +1 -1
  284. package/dist/components/TableOld/tablePagination.js +17 -5
  285. package/dist/components/TableOld/tableSettings.d.ts.map +1 -1
  286. package/dist/components/TextArea/index.js +1 -1
  287. package/dist/components/index.d.ts +2 -0
  288. package/dist/components/index.d.ts.map +1 -1
  289. package/dist/components/index.js +18 -1
  290. package/dist/i18n/I18nContext.d.ts +23 -0
  291. package/dist/i18n/I18nContext.d.ts.map +1 -0
  292. package/dist/i18n/I18nContext.js +58 -0
  293. package/dist/i18n/index.d.ts +9 -0
  294. package/dist/i18n/index.d.ts.map +1 -0
  295. package/dist/i18n/translate.d.ts +15 -0
  296. package/dist/i18n/translate.d.ts.map +1 -0
  297. package/dist/i18n/translate.js +22 -0
  298. package/dist/i18n/types.d.ts +18 -0
  299. package/dist/i18n/types.d.ts.map +1 -0
  300. package/dist/i18n/useI18n.d.ts +10 -0
  301. package/dist/i18n/useI18n.d.ts.map +1 -0
  302. package/dist/i18n/useI18n.js +28 -0
  303. package/dist/i18n/useTranslation.d.ts +15 -0
  304. package/dist/i18n/useTranslation.d.ts.map +1 -0
  305. package/dist/i18n/useTranslation.js +8 -0
  306. package/dist/locales/de-DE.json.d.ts +560 -0
  307. package/dist/locales/de-DE.json.js +504 -0
  308. package/dist/locales/en-US.json.d.ts +555 -0
  309. package/dist/locales/en-US.json.js +501 -0
  310. package/dist/locales/index.d.ts +24 -0
  311. package/dist/locales/index.d.ts.map +1 -0
  312. package/dist/locales/index.js +32 -0
  313. package/dist/mcp-component-registry.json +1 -1
  314. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +5195 -0
  315. package/dist/node_modules/@mui/icons-material/North.js +17 -0
  316. package/dist/node_modules/call-bind/index.js +1 -1
  317. package/dist/node_modules/global-cache/index.js +4 -5
  318. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  319. package/dist/node_modules/is-callable/index.js +1 -1
  320. package/dist/node_modules/is-symbol/index.js +1 -1
  321. package/dist/node_modules/lodash/lodash.js +1 -1
  322. package/dist/node_modules/moment/dist/locale/de.js +75 -0
  323. package/dist/node_modules/moment/dist/moment.js +3986 -0
  324. package/dist/node_modules/object-inspect/index.js +1 -2
  325. package/dist/node_modules/react-with-styles-interface-css/dist/index.js +1 -1
  326. package/dist/stories/i18nDemo.d.ts +7 -0
  327. package/dist/stories/i18nDemo.d.ts.map +1 -0
  328. package/dist/utils/helper.d.ts +4 -2
  329. package/dist/utils/helper.d.ts.map +1 -1
  330. package/dist/utils/helper.js +13 -8
  331. package/package.json +7 -5
@@ -19,70 +19,71 @@ import default_1$7 from "../../../../node_modules/@mui/icons-material/LooksTwo.j
19
19
  import default_1$a from "../../../../node_modules/@mui/icons-material/StrikethroughS.js";
20
20
  import { ChatIconButton } from "../TableChatLeftSection/ChatIconButton/ChatIconButton.js";
21
21
 
22
+ import { useTranslation } from "../../../../i18n/useTranslation.js";
22
23
  const TOOLBAR_ITEMS = {
23
24
  bold: {
24
25
  icon: default_1$f,
25
- ariaLabel: "Bold text",
26
+ ariaLabel: "tableChat.toolbar.bold",
26
27
  command: "toggleBold"
27
28
  },
28
29
  italic: {
29
30
  icon: default_1$e,
30
- ariaLabel: "Italic text",
31
+ ariaLabel: "tableChat.toolbar.italic",
31
32
  command: "toggleItalic"
32
33
  },
33
34
  link: {
34
35
  icon: default_1$d,
35
- ariaLabel: "Add link",
36
+ ariaLabel: "tableChat.toolbar.addLink",
36
37
  command: "toggleLink"
37
38
  },
38
39
  bulletList: {
39
40
  icon: default_1$c,
40
- ariaLabel: "Bullet list",
41
+ ariaLabel: "tableChat.toolbar.bulletList",
41
42
  command: "toggleBulletList"
42
43
  },
43
44
  orderedList: {
44
45
  icon: default_1$b,
45
- ariaLabel: "Numbered list",
46
+ ariaLabel: "tableChat.toolbar.numberedList",
46
47
  command: "toggleOrderedList"
47
48
  },
48
49
  strike: {
49
50
  icon: default_1$a,
50
- ariaLabel: "Strike through",
51
+ ariaLabel: "tableChat.toolbar.strikeThrough",
51
52
  command: "toggleStrike"
52
53
  },
53
54
  highlight: {
54
55
  icon: default_1$9,
55
- ariaLabel: "Highlight text",
56
+ ariaLabel: "tableChat.toolbar.highlight",
56
57
  command: "toggleHighlight"
57
58
  },
58
59
  h1: {
59
60
  icon: default_1$8,
60
- ariaLabel: "Heading 1",
61
+ ariaLabel: "tableChat.toolbar.heading1",
61
62
  command: "toggleH1"
62
63
  },
63
64
  h2: {
64
65
  icon: default_1$7,
65
- ariaLabel: "Heading 2",
66
+ ariaLabel: "tableChat.toolbar.heading2",
66
67
  command: "toggleH2"
67
68
  },
68
69
  h3: {
69
70
  icon: default_1$6,
70
- ariaLabel: "Heading 3",
71
+ ariaLabel: "tableChat.toolbar.heading3",
71
72
  command: "toggleH3"
72
73
  },
73
74
  h4: {
74
75
  icon: default_1$5,
75
- ariaLabel: "Heading 4",
76
+ ariaLabel: "tableChat.toolbar.heading4",
76
77
  command: "toggleH4"
77
78
  },
78
79
  h5: {
79
80
  icon: default_1$4,
80
- ariaLabel: "Heading 5",
81
+ ariaLabel: "tableChat.toolbar.heading5",
81
82
  command: "toggleH5"
82
83
  },
83
84
  h6: {
84
85
  icon: default_1$3,
85
- ariaLabel: "Heading 6",
86
+ ariaLabel: "tableChat.toolbar.heading6",
86
87
  command: "toggleH6"
87
88
  }
88
89
  };
@@ -96,6 +97,7 @@ const EditorToolbar = React__default.forwardRef(
96
97
  onEmojiSelect,
97
98
  className = ""
98
99
  }, ref) => {
100
+ const { t } = useTranslation();
99
101
  const fileInputRef = React__default.useRef(null);
100
102
  const imageInputRef = React__default.useRef(null);
101
103
  React__default.useImperativeHandle(ref, () => ({
@@ -128,7 +130,7 @@ const EditorToolbar = React__default.forwardRef(
128
130
  /* @__PURE__ */ jsx(
129
131
  ChatIconButton,
130
132
  {
131
- ariaLabel: "Attach file",
133
+ ariaLabel: t("tableChat.toolbar.attachFile"),
132
134
  className: "format-button",
133
135
  icon: /* @__PURE__ */ jsx(default_1, { fontSize: "small", style: { width: "16px", height: "16px" } }),
134
136
  onClick: () => {
@@ -152,7 +154,7 @@ const EditorToolbar = React__default.forwardRef(
152
154
  /* @__PURE__ */ jsx(
153
155
  ChatIconButton,
154
156
  {
155
- ariaLabel: "Upload image",
157
+ ariaLabel: t("tableChat.toolbar.uploadImage"),
156
158
  className: "format-button",
157
159
  icon: /* @__PURE__ */ jsx(default_1$1, { fontSize: "small", style: { width: "16px", height: "16px" } }),
158
160
  onClick: () => {
@@ -165,7 +167,7 @@ const EditorToolbar = React__default.forwardRef(
165
167
  onEmojiSelect && /* @__PURE__ */ jsx(
166
168
  ChatIconButton,
167
169
  {
168
- ariaLabel: "Add emoji",
170
+ ariaLabel: t("tableChat.toolbar.addEmoji"),
169
171
  className: "format-button",
170
172
  icon: /* @__PURE__ */ jsx(default_1$2, { fontSize: "small", style: { width: "16px", height: "16px" } }),
171
173
  onClick: onEmojiSelect
@@ -178,7 +180,7 @@ const EditorToolbar = React__default.forwardRef(
178
180
  return /* @__PURE__ */ jsx(
179
181
  ChatIconButton,
180
182
  {
181
- ariaLabel: item.ariaLabel,
183
+ ariaLabel: t(item.ariaLabel),
182
184
  className: `format-button ${activeStates[itemKey] ? "is-active" : ""}`,
183
185
  icon: /* @__PURE__ */ jsx(Icon, { fontSize: "small", style: { width: "16px", height: "16px" } }),
184
186
  onClick: () => {
@@ -1,4 +1,3 @@
1
- import { default as React } from 'react';
2
1
 
3
- export declare const MentionEditor: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
2
+ export declare const MentionEditor: import('react').ForwardRefExoticComponent<import('react').RefAttributes<unknown>>;
4
3
  //# sourceMappingURL=Mention.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Mention.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableChat/components/TextEditor/Mention.tsx"],"names":[],"mappings":"AACA,OAAO,eAAe,CAAC;AAEvB,OAAO,KAAqD,MAAM,OAAO,CAAC;AAW1E,eAAO,MAAM,aAAa,+DAgNzB,CAAC"}
1
+ {"version":3,"file":"Mention.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableChat/components/TextEditor/Mention.tsx"],"names":[],"mappings":"AACA,OAAO,eAAe,CAAC;AAcvB,eAAO,MAAM,aAAa,mFAkNzB,CAAC"}
@@ -1,4 +1,4 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode(':root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.ProseMirror-focused{outline:none}.tiptap :first-child{margin-top:0}.tiptap p{margin:.5em 0;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}.tiptap h1{font-size:2em;margin:1em 0 .5em}.tiptap h1,.tiptap h2{color:#1a202c;font-weight:600}.tiptap h2{font-size:1.5em;margin:.83em 0 .5em}.tiptap h3{color:#1a202c;font-size:1.17em;font-weight:600;margin:.67em 0 .5em}.tiptap h4{font-size:1em}.tiptap h4,.tiptap h5{color:#1a202c;font-weight:600;margin:.5em 0}.tiptap h5{font-size:.83em}.tiptap h6{color:#1a202c;font-size:.67em;margin:.5em 0}.tiptap h6,.tiptap strong{font-weight:600}.tiptap em{font-style:italic}.tiptap s{color:#666;text-decoration:line-through;text-decoration-thickness:.1em}.tiptap .highlight{background-color:#fef3c7!important}.tiptap .highlight,.tiptap mark{border-radius:4px;margin:0 2px;padding:2px 4px}.tiptap mark{background-color:#fef3c7}.tiptap a{border-bottom:1px solid #2b6cb0;color:#2b6cb0;text-decoration:none;transition:all .2s ease}.tiptap a:hover{border-bottom-color:#1a4971;color:#1a4971}.tiptap img{border-radius:4px;height:auto;margin:.5em 0;max-width:100%}.tiptap .mention{background-color:#f0f4f8;border-radius:4px;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#2b6cb0;font-weight:500;padding:2px 6px;text-decoration:none;transition:background-color .2s ease;white-space:nowrap}.tiptap .mention:hover{background-color:#e2e8f0;cursor:pointer}.tiptap .is-active{background-color:#f0f4f8}.tiptap ol,.tiptap ul{margin:.5em 0;padding-left:1.2em}.tiptap ol li,.tiptap ul li{line-height:1.2;margin:.2em 0;padding-left:0}.tiptap ol li p,.tiptap ul li p{display:inline-block;margin:0}.tiptap ul li{list-style-type:disc}.tiptap ol li{list-style-type:decimal}.tiptap ol ol,.tiptap ol ul,.tiptap ul ol,.tiptap ul ul{margin:.2em 0 .2em .5em}.tiptap ul ul li{list-style-type:circle}.tiptap ul ul ul li{list-style-type:square}.tiptap ol ol li{list-style-type:lower-alpha}.tiptap ol ol ol li{list-style-type:lower-roman}.tiptap ol[data-type=orderedList] li,.tiptap ul[data-type=bulletList] li{position:relative}.tiptap ol[data-type=orderedList] li:before,.tiptap ul[data-type=bulletList] li:before{border-radius:50%;content:"";height:4px;left:-1em;position:absolute;top:50%;transform:translateY(-50%);width:4px}.tiptap .highlight{background-color:#fef3c7;border-radius:2px;padding:0 2px}.tiptap code{background-color:#f7fafc;border-radius:4px;font-family:monospace;padding:.2em .4em}.tiptap blockquote{border-left:3px solid #e2e8f0;color:#4a5568;margin:.5em 0;padding-left:1em}.character-count{align-items:center;color:var(--gray-5);display:flex;font-size:.75rem;gap:.5rem;margin:1.5rem}.character-count svg{color:var(--purple)}.character-count--warning,.character-count--warning svg{color:var(--red)}.tiptap-editor{margin-right:10px;max-height:100px;overflow-y:auto;width:88%}.tiptap-editor .ProseMirror{max-height:100px;min-height:40px;outline:none;overflow-y:auto;padding:8px 12px;word-wrap:break-word}.tiptap-editor .ProseMirror::-webkit-scrollbar{width:4px}.tiptap-editor .ProseMirror::-webkit-scrollbar-track{background:#0000}.tiptap-editor .ProseMirror::-webkit-scrollbar-thumb{background:#0003;border-radius:2px}.tiptap-editor .ProseMirror::-webkit-scrollbar-thumb:hover{background:#0000004d}')),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode(':root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.ProseMirror-focused{outline:none}.tiptap :first-child{margin-top:0}.tiptap p{margin:.5em 0;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}.tiptap h1{font-size:2em;margin:1em 0 .5em}.tiptap h1,.tiptap h2{color:#1a202c;font-weight:600}.tiptap h2{font-size:1.5em;margin:.83em 0 .5em}.tiptap h3{color:#1a202c;font-size:1.17em;font-weight:600;margin:.67em 0 .5em}.tiptap h4{font-size:1em}.tiptap h4,.tiptap h5{color:#1a202c;font-weight:600;margin:.5em 0}.tiptap h5{font-size:.83em}.tiptap h6{color:#1a202c;font-size:.67em;margin:.5em 0}.tiptap h6,.tiptap strong{font-weight:600}.tiptap em{font-style:italic}.tiptap s{color:#666;text-decoration:line-through;text-decoration-thickness:.1em}.tiptap .highlight{background-color:#fef3c7!important}.tiptap .highlight,.tiptap mark{border-radius:4px;margin:0 2px;padding:2px 4px}.tiptap mark{background-color:#fef3c7}.tiptap a{border-bottom:1px solid #2b6cb0;color:#2b6cb0;text-decoration:none;transition:all .2s ease}.tiptap a:hover{border-bottom-color:#1a4971;color:#1a4971}.tiptap img{border-radius:4px;height:auto;margin:.5em 0;max-width:100%}.tiptap .mention{background-color:#f0f4f8;border-radius:4px;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#2b6cb0;font-weight:500;padding:2px 6px;text-decoration:none;transition:background-color .2s ease;white-space:nowrap}.tiptap .mention:hover{background-color:#e2e8f0;cursor:pointer}.tiptap .is-active{background-color:#f0f4f8}.tiptap ol,.tiptap ul{margin:.5em 0;padding-left:1.2em}.tiptap ol li,.tiptap ul li{line-height:1.2;margin:.2em 0;padding-left:0}.tiptap ol li p,.tiptap ul li p{display:inline-block;margin:0}.tiptap ul li{list-style-type:disc}.tiptap ol li{list-style-type:decimal}.tiptap ol ol,.tiptap ol ul,.tiptap ul ol,.tiptap ul ul{margin:.2em 0 .2em .5em}.tiptap ul ul li{list-style-type:circle}.tiptap ul ul ul li{list-style-type:square}.tiptap ol ol li{list-style-type:lower-alpha}.tiptap ol ol ol li{list-style-type:lower-roman}.tiptap ol[data-type=orderedList] li,.tiptap ul[data-type=bulletList] li{position:relative}.tiptap ol[data-type=orderedList] li:before,.tiptap ul[data-type=bulletList] li:before{border-radius:50%;content:"";height:4px;left:-1em;position:absolute;top:50%;transform:translateY(-50%);width:4px}.tiptap .highlight{background-color:#fef3c7;border-radius:2px;padding:0 2px}.tiptap code{background-color:#f7fafc;border-radius:4px;font-family:monospace;padding:.2em .4em}.tiptap blockquote{border-left:3px solid #e2e8f0;color:#4a5568;margin:.5em 0;padding-left:1em}.character-count{align-items:center;color:var(--gray-5);display:flex;font-size:.75rem;gap:.5rem;margin:1.5rem}.character-count svg{color:var(--purple)}.character-count--warning,.character-count--warning svg{color:var(--red)}.tiptap-editor{margin-right:10px;max-height:100px;overflow-y:auto;width:88%}.tiptap-editor .ProseMirror{max-height:100px;min-height:40px;outline:none;overflow-y:auto;padding:8px 0 0!important;word-wrap:break-word}.tiptap-editor .ProseMirror::-webkit-scrollbar{width:4px}.tiptap-editor .ProseMirror::-webkit-scrollbar-track{background:#0000}.tiptap-editor .ProseMirror::-webkit-scrollbar-thumb{background:#0003;border-radius:2px}.tiptap-editor .ProseMirror::-webkit-scrollbar-thumb:hover{background:#0000004d}')),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
2
2
  import { jsx } from "react/jsx-runtime";
3
3
 
4
4
  import { forwardRef, useEffect, useImperativeHandle } from "react";
@@ -10,6 +10,7 @@ import { Placeholder } from "@tiptap/extension-placeholder";
10
10
  import { useEditor, EditorContent } from "@tiptap/react";
11
11
  import StarterKit from "@tiptap/starter-kit";
12
12
  import suggestion from "./suggestion.js";
13
+ import { useTranslation } from "../../../../i18n/useTranslation.js";
13
14
  const MentionEditor = forwardRef(
14
15
  ({
15
16
  value,
@@ -17,18 +18,20 @@ const MentionEditor = forwardRef(
17
18
  onSend,
18
19
  disabled = false,
19
20
  maxLength = 5e3,
20
- placeholder = "Type message...",
21
+ placeholder,
21
22
  chatId,
22
23
  loadParticipantsAvatar,
23
24
  isMultiLine = false,
24
25
  ...restConfig
25
26
  }, ref) => {
27
+ const { t } = useTranslation();
28
+ const resolvedPlaceholder = placeholder ?? t("table.comments.typeMessage");
26
29
  const editor = useEditor({
27
30
  ...restConfig,
28
31
  extensions: [
29
32
  StarterKit,
30
33
  Placeholder.configure({
31
- placeholder
34
+ placeholder: resolvedPlaceholder
32
35
  }),
33
36
  Mention.configure({
34
37
  HTMLAttributes: {
@@ -115,7 +118,7 @@ const MentionEditor = forwardRef(
115
118
  toggleItalic: () => editor == null ? void 0 : editor.chain().focus().toggleItalic().run(),
116
119
  toggleLink: () => {
117
120
  const previousUrl = editor == null ? void 0 : editor.getAttributes("link").href;
118
- const url = window.prompt("URL", previousUrl);
121
+ const url = window.prompt(t("tableChat.editor.urlPrompt"), previousUrl);
119
122
  if (url === null) return;
120
123
  if (url === "") {
121
124
  editor == null ? void 0 : editor.chain().focus().extendMarkRange("link").unsetLink().run();
@@ -1,4 +1,3 @@
1
- import { default as React } from 'react';
2
1
 
3
- export declare const MentionList: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
2
+ export declare const MentionList: import('react').ForwardRefExoticComponent<import('react').RefAttributes<unknown>>;
4
3
  //# sourceMappingURL=MentionList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MentionList.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableChat/components/TextEditor/MentionList.tsx"],"names":[],"mappings":"AACA,OAAO,oBAAoB,CAAC;AAE5B,OAAO,KAA+D,MAAM,OAAO,CAAC;AAGpF,eAAO,MAAM,WAAW,+DAuGtB,CAAC"}
1
+ {"version":3,"file":"MentionList.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableChat/components/TextEditor/MentionList.tsx"],"names":[],"mappings":"AACA,OAAO,oBAAoB,CAAC;AAM5B,eAAO,MAAM,WAAW,mFAwGtB,CAAC"}
@@ -1,10 +1,12 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode(':root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.dropdown-menu{background:#fff;border-radius:8px;box-shadow:0 4px 12px #0000001a;display:flex;flex-direction:column;max-height:250px;min-width:180px;overflow:auto;padding:8px;position:relative}.dropdown-menu .mention-item{align-items:center;background-color:initial;border:none;border-radius:4px;color:#0d152c;cursor:pointer;display:flex;font-size:14px;gap:12px;padding:8px 12px;text-align:left;transition:all .2s ease;width:100%}.dropdown-menu .mention-item .mention-avatar{align-items:center;display:flex;justify-content:center}.dropdown-menu .mention-item .mention-info{display:flex;flex:1;flex-direction:column;gap:2px}.dropdown-menu .mention-item .mention-name{font-weight:400;line-height:1.2}.dropdown-menu .mention-item .mention-status{font-size:11px;font-weight:400;line-height:1;opacity:.7;text-transform:capitalize}.dropdown-menu .mention-item .mention-status.online{color:#22c55e}.dropdown-menu .mention-item .mention-status.offline{color:#b4bac7}.dropdown-menu .mention-item:hover,.dropdown-menu .mention-item:hover.is-selected{background-color:#f5f5f5}.dropdown-menu .mention-item.is-selected{background-color:#f0f0f0;font-weight:500}.dropdown-menu .mention-item:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.dropdown-menu .mention-item:focus:not(:focus-visible){box-shadow:none;outline:none}.dropdown-menu .mention-item:focus{outline:none}.dropdown-menu .item{color:#b4bac7;font-size:14px;padding:8px 12px;text-align:center}.dropdown-menu .mention-loading{align-items:center;color:#b4bac7;display:flex;font-size:14px;gap:8px;padding:12px;text-align:center}.dropdown-menu .mention-loading .loading-spinner{animation:spin 1s linear infinite;border:2px solid #f5f5f5;border-radius:50%;border-top-color:#4259ee;height:16px;width:16px}.dropdown-menu .mention-error{color:#ef4444;font-size:14px;padding:12px;text-align:center}.dropdown-menu .mention-no-result{color:#b4bac7;font-size:14px;padding:12px;text-align:center}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.dropdown-menu::-webkit-scrollbar{width:6px}.dropdown-menu::-webkit-scrollbar-track{background:#f5f5f5;border-radius:3px}.dropdown-menu::-webkit-scrollbar-thumb{background:#d4d4d4;border-radius:3px}.dropdown-menu::-webkit-scrollbar-thumb:hover{background:#c7c7c7}')),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(':root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.dropdown-menu{background:#fff;border-radius:8px;box-shadow:0 4px 12px #0000001a;display:flex;flex-direction:column;max-height:250px;min-width:180px;overflow:auto;padding:8px;position:relative}.dropdown-menu .mention-item{align-items:center;background-color:initial;border:none;border-radius:4px;color:#0d152c;cursor:pointer;display:flex;font-size:14px;gap:12px;padding:8px 12px;text-align:left;transition:all .2s ease;width:100%}.dropdown-menu .mention-item .mention-avatar{align-items:center;display:flex;justify-content:center}.dropdown-menu .mention-item .mention-info{display:flex;flex:1;flex-direction:column;gap:2px}.dropdown-menu .mention-item .mention-name{font-weight:400;line-height:1.2}.dropdown-menu .mention-item .mention-status{font-size:11px;font-weight:400;line-height:1;opacity:.7;text-transform:capitalize}.dropdown-menu .mention-item .mention-status.online{color:#22c55e}.dropdown-menu .mention-item .mention-status.offline{color:#b4bac7}.dropdown-menu .mention-item:hover,.dropdown-menu .mention-item:hover.is-selected{background-color:#f5f5f5}.dropdown-menu .mention-item.is-selected{background-color:#f0f0f0;font-weight:500}.dropdown-menu .mention-item:focus{box-shadow:0 0 0 2px #4259ee33;outline:none}.dropdown-menu .item{color:#b4bac7;font-size:14px;padding:8px 12px;text-align:center}.dropdown-menu .mention-loading{align-items:center;color:#b4bac7;display:flex;font-size:14px;gap:8px;padding:12px;text-align:center}.dropdown-menu .mention-loading .loading-spinner{animation:spin 1s linear infinite;border:2px solid #f5f5f5;border-radius:50%;border-top-color:#4259ee;height:16px;width:16px}.dropdown-menu .mention-error{color:#ef4444;font-size:14px;padding:12px;text-align:center}.dropdown-menu .mention-no-result{color:#b4bac7;font-size:14px;padding:12px;text-align:center}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.dropdown-menu::-webkit-scrollbar{width:6px}.dropdown-menu::-webkit-scrollbar-track{background:#f5f5f5;border-radius:3px}.dropdown-menu::-webkit-scrollbar-thumb{background:#d4d4d4;border-radius:3px}.dropdown-menu::-webkit-scrollbar-thumb:hover{background:#c7c7c7}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
 
4
4
  import { forwardRef, useState, useEffect, useImperativeHandle } from "react";
5
5
  import { ChatAvatar } from "../TableChatRightSection/AvatarGroup/AvatarGroup.js";
6
+ import { useTranslation } from "../../../../i18n/useTranslation.js";
6
7
  const MentionList = forwardRef((props, ref) => {
7
8
  var _a;
9
+ const { t } = useTranslation();
8
10
  const [selectedIndex, setSelectedIndex] = useState(0);
9
11
  const [isLoading, setIsLoading] = useState(false);
10
12
  const selectItem = (index) => {
@@ -58,7 +60,7 @@ const MentionList = forwardRef((props, ref) => {
58
60
  if (isLoading) {
59
61
  return /* @__PURE__ */ jsx("div", { className: "dropdown-menu", children: /* @__PURE__ */ jsxs("div", { className: "mention-loading", children: [
60
62
  /* @__PURE__ */ jsx("div", { className: "loading-spinner" }),
61
- /* @__PURE__ */ jsx("span", { children: "Loading users..." })
63
+ /* @__PURE__ */ jsx("span", { children: t("tableChat.mention.loadingUsers") })
62
64
  ] }) });
63
65
  }
64
66
  return /* @__PURE__ */ jsx("div", { className: "dropdown-menu", children: ((_a = props.items) == null ? void 0 : _a.length) ? props.items.map((item, index) => /* @__PURE__ */ jsxs(
@@ -77,7 +79,7 @@ const MentionList = forwardRef((props, ref) => {
77
79
  ]
78
80
  },
79
81
  item.id || index
80
- )) : /* @__PURE__ */ jsx("div", { className: "mention-no-result", children: "No users found" }) });
82
+ )) : /* @__PURE__ */ jsx("div", { className: "mention-no-result", children: t("tableChat.mention.noUsersFound") }) });
81
83
  });
82
84
  export {
83
85
  MentionList
@@ -0,0 +1,14 @@
1
+ import moment from "moment";
2
+ const toLocalMoment = (timestamp) => {
3
+ if (!timestamp) return null;
4
+ const localTime = moment.utc(timestamp).local();
5
+ return localTime.isValid() ? localTime : null;
6
+ };
7
+ const formatChatHeaderTimestamp = (timestamp) => {
8
+ const localTime = toLocalMoment(timestamp);
9
+ if (!localTime) return "";
10
+ return localTime.format("MMM D, YYYY [at] hh:mm A");
11
+ };
12
+ export {
13
+ formatChatHeaderTimestamp
14
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"AgGridHeader.d.ts","sourceRoot":"","sources":["../../../src/components/TableOld/AgGridHeader.tsx"],"names":[],"mappings":"AAgBA,iBAAS,YAAY,CAAC,EACpB,QAAQ,EACR,SAAS,EACT,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACrB,YAAY,EACZ,oBAA2B,EAC3B,GAAG,IAAI,EACR;;;;;;;;;CAAA,2CA4eA;AAED,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"AgGridHeader.d.ts","sourceRoot":"","sources":["../../../src/components/TableOld/AgGridHeader.tsx"],"names":[],"mappings":"AAkBA,iBAAS,YAAY,CAAC,EACpB,QAAQ,EACR,SAAS,EACT,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACrB,YAAY,EACZ,oBAA2B,EAC3B,GAAG,IAAI,EACR;;;;;;;;;CAAA,2CAyfA;AAED,eAAe,YAAY,CAAC"}
@@ -9,8 +9,9 @@ import { debounce } from "../../utils/debounce.js";
9
9
  import { DatePicker } from "../DatePicker/index.js";
10
10
  import { Input } from "../Input/index.js";
11
11
  import { Tooltip } from "../Tooltip/index.js";
12
+ import { useTranslation } from "../../i18n/useTranslation.js";
12
13
  import Badge from "../../node_modules/@mui/material/Badge/Badge.js";
13
- const TableSortIcon = getAssetUrl("icons/tableSortIcon.svg");
14
+ const TableSortIconUrl = getAssetUrl("icons/tableSortIcon.svg");
14
15
  const TableSortAscIcon = getAssetUrl("icons/Up.svg");
15
16
  const TableSortDescIcon = getAssetUrl("icons/Down.svg");
16
17
  function AgGridHeader({
@@ -24,6 +25,7 @@ function AgGridHeader({
24
25
  ...rest
25
26
  }) {
26
27
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P;
28
+ const { t } = useTranslation();
27
29
  const menuRef = useRef();
28
30
  useRef();
29
31
  const [showInputField, setShowInputField] = useState(false);
@@ -64,7 +66,7 @@ function AgGridHeader({
64
66
  }
65
67
  }, [rest.api, (_f = rest.column) == null ? void 0 : _f.colId]);
66
68
  useEffect(() => {
67
- var _a2, _b2, _c2, _d2;
69
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
68
70
  const filterModel = rest.api.getFilterModel();
69
71
  if (filterModel[(_a2 = rest.column) == null ? void 0 : _a2.colId]) {
70
72
  const columnFilter = filterModel[(_b2 = rest.column) == null ? void 0 : _b2.colId];
@@ -80,6 +82,13 @@ function AgGridHeader({
80
82
  setSearchText(filterValue);
81
83
  }
82
84
  setHasActiveSearch(!!filterValue);
85
+ if (filterValue && ((_f2 = (_e2 = rest.column) == null ? void 0 : _e2.colDef) == null ? void 0 : _f2.isSearchable)) {
86
+ if (((_h2 = (_g2 = rest.column) == null ? void 0 : _g2.colDef) == null ? void 0 : _h2.filter) === "agDateColumnFilter") {
87
+ setShowDatePicker(true);
88
+ } else {
89
+ setShowInputField(true);
90
+ }
91
+ }
83
92
  } else {
84
93
  setSearchText("");
85
94
  setHasActiveSearch(false);
@@ -292,10 +301,10 @@ function AgGridHeader({
292
301
  }
293
302
  }
294
303
  ),
295
- displayFormat: ((_s = (_r = rest.column) == null ? void 0 : _r.colDef) == null ? void 0 : _s.displayFormat) || "MM-DD-YYYY",
304
+ displayFormat: ((_s = (_r = rest.column) == null ? void 0 : _r.colDef) == null ? void 0 : _s.displayFormat) || t("table.filter.dateFormat"),
296
305
  maxDate: /* @__PURE__ */ new Date("2100-12-31"),
297
306
  minDate: /* @__PURE__ */ new Date("2000-01-01"),
298
- placeholder: "Select Date",
307
+ placeholder: t("table.filter.selectDate"),
299
308
  selectedDate,
300
309
  setSelectedDate,
301
310
  onPrimaryButtonClick: () => {
@@ -332,7 +341,7 @@ function AgGridHeader({
332
341
  /* @__PURE__ */ jsx(
333
342
  Input,
334
343
  {
335
- placeholder: "Search",
344
+ placeholder: t("common.search"),
336
345
  rightIcon: /* @__PURE__ */ jsxs(Fragment, { children: [
337
346
  searchText.toString().length > 0 && (columnWidth[(_v = rest.column) == null ? void 0 : _v.colId] ?? ((_w = rest.column) == null ? void 0 : _w.actualWidth)) >= 200 && /* @__PURE__ */ jsx(
338
347
  default_1$1,
@@ -420,7 +429,7 @@ function AgGridHeader({
420
429
  {
421
430
  alt: "TableSortIcon",
422
431
  className: "ia-table-sort-icon",
423
- src: currentSort === "asc" ? TableSortAscIcon : currentSort === "desc" ? TableSortDescIcon : TableSortIcon,
432
+ src: currentSort === "asc" ? TableSortAscIcon : currentSort === "desc" ? TableSortDescIcon : TableSortIconUrl,
424
433
  onClick: onHeaderClick
425
434
  }
426
435
  )
@@ -1 +1 @@
1
- {"version":3,"file":"actionBar.d.ts","sourceRoot":"","sources":["../../../src/components/TableOld/actionBar.tsx"],"names":[],"mappings":"AAKA,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,GACjB;;;;;CAAA,2CA2BA"}
1
+ {"version":3,"file":"actionBar.d.ts","sourceRoot":"","sources":["../../../src/components/TableOld/actionBar.tsx"],"names":[],"mappings":"AAKA,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,GACjB;;;;;CAAA,2CA8BA"}
@@ -1,12 +1,14 @@
1
1
  import { jsx, Fragment, jsxs } from "react/jsx-runtime";
2
2
  import default_1$1 from "../../node_modules/@mui/icons-material/CheckCircle.js";
3
3
  import default_1 from "../../node_modules/@mui/icons-material/Info.js";
4
+ import { useTranslation } from "../../i18n/useTranslation.js";
4
5
  function BulkActionBar({
5
6
  showBulkActionBar,
6
7
  bulkActionBarProps,
7
8
  onSelectAllRows,
8
9
  onClearSelection
9
10
  }) {
11
+ const { t } = useTranslation();
10
12
  return /* @__PURE__ */ jsx(Fragment, { children: showBulkActionBar && /* @__PURE__ */ jsxs("div", { className: "ia-bulk-action-bar", children: [
11
13
  /* @__PURE__ */ jsx("span", { className: "icon", children: (bulkActionBarProps == null ? void 0 : bulkActionBarProps.enableSelectAll) ? /* @__PURE__ */ jsx(default_1, {}) : /* @__PURE__ */ jsx(default_1$1, {}) }),
12
14
  /* @__PURE__ */ jsx("span", { className: "ia-bulk-action-bar-text", children: bulkActionBarProps == null ? void 0 : bulkActionBarProps.actionBarLabel }),
@@ -21,7 +23,9 @@ function BulkActionBar({
21
23
  onClearSelection == null ? void 0 : onClearSelection();
22
24
  }
23
25
  },
24
- children: (bulkActionBarProps == null ? void 0 : bulkActionBarProps.enableSelectAll) ? `Select all ${bulkActionBarProps.totalRowCount} rows across all pages` : "Clear selection"
26
+ children: (bulkActionBarProps == null ? void 0 : bulkActionBarProps.enableSelectAll) ? t("table.selectAllRows", {
27
+ count: bulkActionBarProps.totalRowCount
28
+ }) : t("table.clearSelection")
25
29
  }
26
30
  )
27
31
  ] }) });
@@ -1,4 +1,3 @@
1
- import { default as React } from 'react';
2
1
 
3
- export declare const OldTable: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
2
+ export declare const OldTable: import('react').ForwardRefExoticComponent<import('react').RefAttributes<unknown>>;
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TableOld/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAwE,MAAM,OAAO,CAAC;AAW7F,OAAO,sCAAsC,CAAC;AAC9C,OAAO,8CAA8C,CAAC;AACtD,OAAO,qBAAqB,CAAC;AAK7B,eAAO,MAAM,QAAQ,+DAknBpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TableOld/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,sCAAsC,CAAC;AAC9C,OAAO,8CAA8C,CAAC;AACtD,OAAO,qBAAqB,CAAC;AAK7B,eAAO,MAAM,QAAQ,mFA6oBpB,CAAC"}