impact-ui 4.0.1-alpha.9 → 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.
- package/dist/_virtual/North.js +4 -0
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.js +2 -2
- package/dist/_virtual/index2.js +2 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/components/AccordionModern/index.js +5 -10
- package/dist/components/BottomSheet/index.js +5 -4
- package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/index.js +3 -1
- package/dist/components/Chart/index.d.ts.map +1 -1
- package/dist/components/Chart/index.js +27 -33
- package/dist/components/Chatbot/bookMarkPanel.d.ts.map +1 -1
- package/dist/components/Chatbot/bookMarkPanel.js +8 -6
- package/dist/components/Chatbot/chatInput.d.ts.map +1 -1
- package/dist/components/Chatbot/chatInput.js +4 -2
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotModuleMenu.js +5 -3
- package/dist/components/Chatbot/constant.d.ts.map +1 -1
- package/dist/components/Chatbot/constant.js +8 -2
- package/dist/components/Chatbot/conversationScreen.d.ts.map +1 -1
- package/dist/components/Chatbot/conversationScreen.js +5 -3
- package/dist/components/Chatbot/historyPanel.d.ts.map +1 -1
- package/dist/components/Chatbot/historyPanel.js +18 -9
- package/dist/components/Chatbot/index.d.ts.map +1 -1
- package/dist/components/Chatbot/index.js +52 -26
- package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
- package/dist/components/Chatbot/newChatComponent.js +12 -10
- package/dist/components/Chatbot/utils.d.ts +3 -1
- package/dist/components/Chatbot/utils.d.ts.map +1 -1
- package/dist/components/Chatbot/utils.js +4 -4
- package/dist/components/Checkbox/Default.js +1 -1
- package/dist/components/CommentsPanel/CommentsContext.d.ts.map +1 -1
- package/dist/components/CommentsPanel/CommentsContext.js +23 -24
- package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts.map +1 -1
- package/dist/components/CommentsPanel/CommentsPanel.impl.js +33 -36
- package/dist/components/CreateItemFlow/index.d.ts.map +1 -1
- package/dist/components/CreateItemFlow/index.js +23 -8
- package/dist/components/DatePicker/datePickerFooter.d.ts.map +1 -1
- package/dist/components/DatePicker/datePickerFooter.js +5 -3
- package/dist/components/DatePicker/datePickerInput.d.ts.map +1 -1
- package/dist/components/DatePicker/datePickerInput.js +4 -2
- package/dist/components/DateRangePicker/dateRangePickerCustom.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerCustom.js +5 -3
- package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerFooter.js +8 -8
- package/dist/components/DateRangePicker/dateRangePickerInput.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerInput.js +4 -2
- package/dist/components/DateRangePicker/index.d.ts.map +1 -1
- package/dist/components/DateRangePicker/index.js +5 -1
- package/dist/components/DateRangePicker/showMonthYearSelect.d.ts.map +1 -1
- package/dist/components/DateRangePicker/showMonthYearSelect.js +4 -2
- package/dist/components/DateRangePicker/utils.d.ts +5 -0
- package/dist/components/DateRangePicker/utils.d.ts.map +1 -1
- package/dist/components/DateRangePicker/utils.js +13 -0
- package/dist/components/FileUpload/TemplatePreview.d.ts.map +1 -1
- package/dist/components/FileUpload/TemplatePreview.js +3 -1
- package/dist/components/FileUpload/index.d.ts.map +1 -1
- package/dist/components/FileUpload/index.js +30 -23
- package/dist/components/FiltersStrip/AppliedFilters.d.ts.map +1 -1
- package/dist/components/FiltersStrip/AppliedFilters.js +15 -13
- package/dist/components/FiltersStrip/FilterDropDown.d.ts.map +1 -1
- package/dist/components/FiltersStrip/FilterDropDown.js +6 -3
- package/dist/components/FiltersStrip/index.d.ts.map +1 -1
- package/dist/components/FiltersStrip/index.js +6 -3
- package/dist/components/Header/Header.types.d.ts +7 -0
- package/dist/components/Header/Header.types.d.ts.map +1 -1
- package/dist/components/Header/index.d.ts +1 -1
- package/dist/components/Header/index.d.ts.map +1 -1
- package/dist/components/Header/index.js +94 -6
- package/dist/components/HomePage/index.d.ts.map +1 -1
- package/dist/components/HomePage/index.js +44 -34
- package/dist/components/KeyboardShortCuts/Keycombo.d.ts +3 -1
- package/dist/components/KeyboardShortCuts/Keycombo.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/Keycombo.js +11 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +69 -35
- package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.js +102 -43
- package/dist/components/KeyboardShortCuts/allSetBox.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.js +9 -3
- package/dist/components/KeyboardShortCuts/index.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/index.js +8 -6
- package/dist/components/KeyboardShortCuts/screen2.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/screen2.js +4 -2
- package/dist/components/KeyboardShortCuts/screen3.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/screen3.js +4 -2
- package/dist/components/KeyboardShortCuts/tutorial.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/tutorial.js +20 -15
- package/dist/components/Loader/index.d.ts.map +1 -1
- package/dist/components/Loader/index.js +5 -2
- package/dist/components/Menu/MenuHeaderInfo.d.ts.map +1 -1
- package/dist/components/Menu/MenuHeaderInfo.js +10 -11
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/index.js +18 -8
- package/dist/components/Modal/Modal.types.d.ts +1 -1
- package/dist/components/Modal/Modal.types.d.ts.map +1 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.js +7 -5
- package/dist/components/MonthPicker/index.d.ts.map +1 -1
- package/dist/components/MonthPicker/index.js +17 -14
- package/dist/components/MonthRangePicker/index.d.ts +1 -1
- package/dist/components/MonthRangePicker/index.d.ts.map +1 -1
- package/dist/components/MonthRangePicker/index.js +17 -14
- package/dist/components/Notification/Notification.types.d.ts +4 -0
- package/dist/components/Notification/Notification.types.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.js +2 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.js +22 -13
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.js +187 -54
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.js +1 -1
- package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationTaskList.js +7 -5
- package/dist/components/Notification/NotificationBody/index.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/index.js +3 -1
- package/dist/components/Notification/index.d.ts.map +1 -1
- package/dist/components/Notification/index.js +2 -2
- package/dist/components/Notification/mockData.d.ts.map +1 -1
- package/dist/components/Select/SearchFilter.d.ts.map +1 -1
- package/dist/components/Select/SearchFilter.js +6 -4
- package/dist/components/Select/Select.types.d.ts +4 -6
- package/dist/components/Select/Select.types.d.ts.map +1 -1
- package/dist/components/Select/customGroupHeading.d.ts.map +1 -1
- package/dist/components/Select/customGroupHeading.js +9 -3
- package/dist/components/Select/dropdown.d.ts.map +1 -1
- package/dist/components/Select/dropdown.js +1 -1
- package/dist/components/Select/hooks/useMenuPosition.d.ts +1 -1
- package/dist/components/Select/hooks/useMenuPosition.d.ts.map +1 -1
- package/dist/components/Select/hooks/useMenuPosition.js +25 -39
- package/dist/components/Select/hooks/useScrollIntoView.d.ts +2 -1
- package/dist/components/Select/hooks/useScrollIntoView.d.ts.map +1 -1
- package/dist/components/Select/hooks/useScrollIntoView.js +4 -2
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +20 -23
- package/dist/components/Select/menuList.d.ts.map +1 -1
- package/dist/components/Select/menuList.js +49 -38
- package/dist/components/Select/utils.d.ts +1 -1
- package/dist/components/Select/utils.d.ts.map +1 -1
- package/dist/components/Select/utils.js +2 -2
- package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarActions.js +6 -3
- package/dist/components/Sidebar/SidebarMenus.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarMenus.js +3 -4
- package/dist/components/Sidebar/index.d.ts.map +1 -1
- package/dist/components/Sidebar/index.js +6 -4
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Slider/index.js +2 -8
- package/dist/components/Table/AdvanceSearchModalItem.d.ts.map +1 -1
- package/dist/components/Table/AdvanceSearchModalItem.js +7 -5
- package/dist/components/Table/AdvanceSortModal.d.ts.map +1 -1
- package/dist/components/Table/AdvanceSortModal.js +37 -35
- package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
- package/dist/components/Table/AgGridHeader.js +67 -35
- package/dist/components/Table/CommentsPortal.d.ts +3 -5
- package/dist/components/Table/CommentsPortal.d.ts.map +1 -1
- package/dist/components/Table/CommentsPortal.js +14 -15
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +1 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.js +26 -23
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts +3 -2
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +40 -16
- package/dist/components/Table/NoComments.d.ts.map +1 -1
- package/dist/components/Table/NoComments.js +7 -6
- package/dist/components/Table/actionBar.d.ts.map +1 -1
- package/dist/components/Table/actionBar.js +5 -1
- package/dist/components/Table/advanceSearchModal.d.ts.map +1 -1
- package/dist/components/Table/advanceSearchModal.js +14 -12
- package/dist/components/Table/agGridLocale.d.ts +33 -0
- package/dist/components/Table/agGridLocale.d.ts.map +1 -0
- package/dist/components/Table/agGridLocale.js +59 -0
- package/dist/components/Table/filterUtils.d.ts +53 -0
- package/dist/components/Table/filterUtils.d.ts.map +1 -1
- package/dist/components/Table/filterUtils.js +74 -0
- package/dist/components/Table/filterUtils.test.d.ts +2 -0
- package/dist/components/Table/filterUtils.test.d.ts.map +1 -0
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +44 -17
- package/dist/components/Table/tableFunctions.d.ts +10 -12
- package/dist/components/Table/tableFunctions.d.ts.map +1 -1
- package/dist/components/Table/tableFunctions.js +233 -155
- package/dist/components/Table/tableHeader.d.ts +2 -1
- package/dist/components/Table/tableHeader.d.ts.map +1 -1
- package/dist/components/Table/tableHeader.js +24 -13
- package/dist/components/Table/tableMoreOptions.d.ts +2 -1
- package/dist/components/Table/tableMoreOptions.d.ts.map +1 -1
- package/dist/components/Table/tableMoreOptions.js +12 -9
- package/dist/components/Table/tablePagination.d.ts.map +1 -1
- package/dist/components/Table/tablePagination.js +16 -6
- package/dist/components/Table/tableSettings.d.ts +3 -2
- package/dist/components/Table/tableSettings.d.ts.map +1 -1
- package/dist/components/Table/tableSettings.js +19 -14
- package/dist/components/Table/withCommentIcon.d.ts.map +1 -1
- package/dist/components/Table/withCommentIcon.js +7 -4
- package/dist/components/TableChat/EmptyContainer.js +1 -1
- package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
- package/dist/components/TableChat/TableChatSidePanel.js +40 -44
- package/dist/components/TableChat/components/SkeletonList.d.ts +1 -1
- package/dist/components/TableChat/components/SkeletonList.d.ts.map +1 -1
- package/dist/components/TableChat/components/SkeletonList.js +6 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +46 -41
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.js +4 -2
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.js +5 -11
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.js +4 -2
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.d.ts +1 -3
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.js +5 -3
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts +2 -4
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +8 -10
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +14 -5
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts +1 -2
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +31 -22
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +3 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.js +8 -5
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts +1 -2
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +14 -13
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js +10 -10
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.js +20 -9
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts +2 -2
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +34 -31
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts +1 -2
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +12 -14
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +18 -20
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +6 -4
- package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.js +26 -7
- package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.js +30 -4
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.js +19 -25
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts +2 -2
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts +1 -3
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +28 -35
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.d.ts.map +1 -1
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +19 -17
- package/dist/components/TableChat/components/TextEditor/Mention.d.ts +1 -2
- package/dist/components/TableChat/components/TextEditor/Mention.d.ts.map +1 -1
- package/dist/components/TableChat/components/TextEditor/Mention.js +7 -4
- package/dist/components/TableChat/components/TextEditor/MentionList.d.ts +1 -2
- package/dist/components/TableChat/components/TextEditor/MentionList.d.ts.map +1 -1
- package/dist/components/TableChat/components/TextEditor/MentionList.js +5 -3
- package/dist/components/TableChat/utils/formatChatTimestamp.js +14 -0
- package/dist/components/TableOld/AgGridHeader.d.ts.map +1 -1
- package/dist/components/TableOld/AgGridHeader.js +15 -6
- package/dist/components/TableOld/actionBar.d.ts.map +1 -1
- package/dist/components/TableOld/actionBar.js +5 -1
- package/dist/components/TableOld/index.d.ts +1 -2
- package/dist/components/TableOld/index.d.ts.map +1 -1
- package/dist/components/TableOld/index.js +36 -11
- package/dist/components/TableOld/tableFunctions.d.ts +10 -12
- package/dist/components/TableOld/tableFunctions.d.ts.map +1 -1
- package/dist/components/TableOld/tableFunctions.js +239 -159
- package/dist/components/TableOld/tableHeader.d.ts +2 -1
- package/dist/components/TableOld/tableHeader.d.ts.map +1 -1
- package/dist/components/TableOld/tableHeader.js +6 -2
- package/dist/components/TableOld/tablePagination.d.ts.map +1 -1
- package/dist/components/TableOld/tablePagination.js +17 -5
- package/dist/components/TableOld/tableSettings.d.ts.map +1 -1
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +18 -1
- package/dist/i18n/I18nContext.d.ts +23 -0
- package/dist/i18n/I18nContext.d.ts.map +1 -0
- package/dist/i18n/I18nContext.js +58 -0
- package/dist/i18n/index.d.ts +9 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/translate.d.ts +15 -0
- package/dist/i18n/translate.d.ts.map +1 -0
- package/dist/i18n/translate.js +22 -0
- package/dist/i18n/types.d.ts +18 -0
- package/dist/i18n/types.d.ts.map +1 -0
- package/dist/i18n/useI18n.d.ts +10 -0
- package/dist/i18n/useI18n.d.ts.map +1 -0
- package/dist/i18n/useI18n.js +28 -0
- package/dist/i18n/useTranslation.d.ts +15 -0
- package/dist/i18n/useTranslation.d.ts.map +1 -0
- package/dist/i18n/useTranslation.js +8 -0
- package/dist/locales/de-DE.json.d.ts +560 -0
- package/dist/locales/de-DE.json.js +504 -0
- package/dist/locales/en-US.json.d.ts +555 -0
- package/dist/locales/en-US.json.js +501 -0
- package/dist/locales/index.d.ts +24 -0
- package/dist/locales/index.d.ts.map +1 -0
- package/dist/locales/index.js +32 -0
- package/dist/mcp-component-registry.json +1 -1
- package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +5195 -0
- package/dist/node_modules/@mui/icons-material/North.js +17 -0
- package/dist/node_modules/call-bind/index.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/is-symbol/index.js +1 -1
- package/dist/node_modules/moment/dist/locale/de.js +75 -0
- package/dist/node_modules/moment/dist/moment.js +3986 -0
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-with-styles-interface-css/dist/index.js +1 -1
- package/dist/stories/i18nDemo.d.ts +7 -0
- package/dist/stories/i18nDemo.d.ts.map +1 -0
- package/dist/utils/helper.d.ts +4 -2
- package/dist/utils/helper.d.ts.map +1 -1
- package/dist/utils/helper.js +13 -8
- package/package.json +7 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
-
import { __module as propTypes } from "../../_virtual/
|
|
2
|
+
import { __module as propTypes } from "../../_virtual/index2.js";
|
|
3
3
|
import { __require as requireReactIs } from "./node_modules/react-is/index.js";
|
|
4
4
|
import { __require as requireFactoryWithTypeCheckers } from "./factoryWithTypeCheckers.js";
|
|
5
5
|
import { __require as requireFactoryWithThrowingShims } from "./factoryWithThrowingShims.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as reactIs } from "../../_virtual/
|
|
1
|
+
import { __module as reactIs } from "../../_virtual/index3.js";
|
|
2
2
|
import { __require as requireReactIs_production } from "./cjs/react-is.production.js";
|
|
3
3
|
import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
|
|
4
4
|
if (process.env.NODE_ENV === "production") {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as dist } from "../../../_virtual/
|
|
1
|
+
import { __exports as dist } from "../../../_virtual/index14.js";
|
|
2
2
|
import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
|
|
3
3
|
import { __require as requireArray_prototype_flat } from "../../array.prototype.flat/index.js";
|
|
4
4
|
import { __require as requireGlobalCache } from "../../global-cache/index.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { TFunction } from '../i18n';
|
|
3
|
+
|
|
4
|
+
export declare const I18nDemo: ({ children }: {
|
|
5
|
+
children: ((t: TFunction) => ReactNode) | ReactNode;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=i18nDemo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18nDemo.d.ts","sourceRoot":"","sources":["../../src/stories/i18nDemo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAoBzC,eAAO,MAAM,QAAQ,GAAI,cAAc;IAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,KAAK,SAAS,CAAC,GAAG,SAAS,CAAA;CAAE,4CAG7F,CAAC"}
|
package/dist/utils/helper.d.ts
CHANGED
|
@@ -78,9 +78,11 @@ export declare function hasDuplicateColumns(listOfColumns: string[]): boolean;
|
|
|
78
78
|
*/
|
|
79
79
|
export declare function isColumnSelectionDuplicate(formValues: FormValues, currentValue: string, pendingDeletions: string[], fields: FilterField[]): boolean;
|
|
80
80
|
/**
|
|
81
|
-
* Check if a view name is unique among saved views
|
|
81
|
+
* Check if a view name is unique among saved views.
|
|
82
|
+
* When `isViewNameUniqueAcrossTypes` is true, names must be unique across all
|
|
83
|
+
* view types; otherwise uniqueness is only within the selected type.
|
|
82
84
|
*/
|
|
83
|
-
export declare function isViewNameUnique(inputValue: string, selectedViewType: string | null | undefined,
|
|
85
|
+
export declare function isViewNameUnique(inputValue: string, selectedViewType: string | null | undefined, _isDefaultView: boolean | null | undefined, savedViewsOptions: SavedView[], excludeView?: Pick<SavedView, 'viewName' | 'viewType'> | null, isViewNameUniqueAcrossTypes?: boolean): boolean;
|
|
84
86
|
/**
|
|
85
87
|
* Convert a string to camelCase: lowercase first word, capitalize subsequent words,
|
|
86
88
|
* strip non-alphanumeric characters.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../src/utils/helper.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,YAAa,SAAQ,YAAY;IAChD,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;CAClC;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,2BAA2B,CAAC,EAAE,MAAM,EAAE,CAAC;IACvC,oCAAoC,CAAC,EAAE,OAAO,CAAC;IAC/C,YAAY,CAAC,EAAE;QACb,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,EAAE,CAAC;CACL;AAED,MAAM,WAAW,UAAU;IACzB,MA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zD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;CAClC;AAiDD;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,SAAS,gBAAgB,EAAE,KAAG,YAAY,EAS1E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,SAAS,gBAAgB,EAAE,KAAG,wBAAwB,EAGvF,CAAC;AAEF;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,MAAM,EAAE,GAAG,OAAO,CAUpE;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,MAAM,EAAE,EAC1B,MAAM,EAAE,WAAW,EAAE,GACpB,OAAO,CAgBT;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,EAClB,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC3C,cAAc,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,EAC1C,iBAAiB,EAAE,SAAS,EAAE,EAC9B,WAAW,GAAE,IAAI,CAAC,SAAS,EAAE,UAAU,GAAG,UAAU,CAAC,GAAG,IAAW,EACnE,2BAA2B,UAAQ,GAClC,OAAO,CAwBT;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,KAAK,MAAM,KAAG,MAM7B,CAAC;AAEd;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CASvE"}
|
package/dist/utils/helper.js
CHANGED
|
@@ -116,15 +116,20 @@ function isColumnSelectionDuplicate(formValues, currentValue, pendingDeletions,
|
|
|
116
116
|
return ((_a = filter.column) == null ? void 0 : _a.value) === currentValue;
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
|
-
function isViewNameUnique(inputValue, selectedViewType,
|
|
120
|
-
const
|
|
121
|
-
const
|
|
122
|
-
const
|
|
119
|
+
function isViewNameUnique(inputValue, selectedViewType, _isDefaultView, savedViewsOptions, excludeView = null, isViewNameUniqueAcrossTypes = false) {
|
|
120
|
+
const normalizeName = (value) => (value || "").replace(/\s+/g, "").toLowerCase();
|
|
121
|
+
const normalizeType = (value) => (value || "").replace(/\s+/g, "");
|
|
122
|
+
const normalizedInputName = normalizeName(inputValue);
|
|
123
|
+
const normalizedInputType = normalizeType(selectedViewType);
|
|
124
|
+
if (!normalizedInputName) return true;
|
|
125
|
+
const isExcluded = (view) => Boolean(
|
|
126
|
+
excludeView && normalizeName(view.viewName) === normalizeName(excludeView.viewName) && normalizeType(view.viewType) === normalizeType(excludeView.viewType)
|
|
127
|
+
);
|
|
123
128
|
return !savedViewsOptions.find((view) => {
|
|
124
|
-
|
|
125
|
-
const
|
|
126
|
-
|
|
127
|
-
return
|
|
129
|
+
if (isExcluded(view)) return false;
|
|
130
|
+
const nameMatches = normalizeName(view.viewName) === normalizedInputName;
|
|
131
|
+
if (!nameMatches) return false;
|
|
132
|
+
return isViewNameUniqueAcrossTypes || normalizeType(view.viewType) === normalizedInputType;
|
|
128
133
|
});
|
|
129
134
|
}
|
|
130
135
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "impact-ui",
|
|
3
|
-
"version": "4.0.1
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "Impact Analytics UI library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/components/index.js",
|
|
@@ -107,6 +107,7 @@
|
|
|
107
107
|
"@chromatic-com/storybook": "^5.0.1",
|
|
108
108
|
"@emotion/react": "^11.14.0",
|
|
109
109
|
"@emotion/styled": "^11.14.1",
|
|
110
|
+
"@impactsmartsuite/impact-icons": "^0.1.2",
|
|
110
111
|
"@mui/base": "^5.0.0-alpha.82",
|
|
111
112
|
"@mui/docs": "^5.8.0",
|
|
112
113
|
"@mui/envinfo": "^2.0.6",
|
|
@@ -121,7 +122,7 @@
|
|
|
121
122
|
"@mui/types": "^7.1.3",
|
|
122
123
|
"@mui/x-date-pickers": "^5.0.0-alpha.4",
|
|
123
124
|
"@storybook/addon-a11y": "^10.2.15",
|
|
124
|
-
"@storybook/addon-docs": "
|
|
125
|
+
"@storybook/addon-docs": "10.2.15",
|
|
125
126
|
"@storybook/addon-vitest": "^10.2.15",
|
|
126
127
|
"@storybook/react-vite": "^10.2.15",
|
|
127
128
|
"@storybook/test": "^8.6.15",
|
|
@@ -176,7 +177,7 @@
|
|
|
176
177
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
177
178
|
"sass": "^1.72.0",
|
|
178
179
|
"sharp": "^0.34.5",
|
|
179
|
-
"storybook": "
|
|
180
|
+
"storybook": "10.2.15",
|
|
180
181
|
"svgo": "^4.0.1",
|
|
181
182
|
"terser": "^5.46.0",
|
|
182
183
|
"typescript": "^5.3.3",
|
|
@@ -222,6 +223,7 @@
|
|
|
222
223
|
}
|
|
223
224
|
},
|
|
224
225
|
"dependencies": {
|
|
226
|
+
"@ag-grid-community/locale": "^32.3.2",
|
|
225
227
|
"@dnd-kit/core": "^6.2.0",
|
|
226
228
|
"@dnd-kit/sortable": "^9.0.0",
|
|
227
229
|
"@dnd-kit/utilities": "^3.2.2",
|
|
@@ -236,6 +238,7 @@
|
|
|
236
238
|
"@tiptap/suggestion": "^2.26.1",
|
|
237
239
|
"dompurify": "^3.2.7",
|
|
238
240
|
"emoji-picker-react": "^4.14.0",
|
|
241
|
+
"highcharts-border-radius": "^0.0.4",
|
|
239
242
|
"prosemirror-model": "^1.25.3",
|
|
240
243
|
"prosemirror-state": "^1.4.3",
|
|
241
244
|
"prosemirror-view": "^1.40.1",
|
|
@@ -244,8 +247,7 @@
|
|
|
244
247
|
"react-select": "^5.7.0",
|
|
245
248
|
"react-textarea-autosize": "^8.5.9",
|
|
246
249
|
"react-window": "^1.8.11",
|
|
247
|
-
"tippy.js": "^6.3.7"
|
|
248
|
-
"highcharts-border-radius": "^0.0.4"
|
|
250
|
+
"tippy.js": "^6.3.7"
|
|
249
251
|
},
|
|
250
252
|
"browserslist": {
|
|
251
253
|
"production": [
|