impact-ui 4.0.0-alpha.2 → 4.0.0-alpha.3
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/MIGRATION_GUIDE.md +37 -7
- package/README.md +6 -6
- package/bin/migrate.js +5 -5
- package/codemods/transform.js +17 -23
- package/dist/components/Accordion/index.js +8 -8
- package/dist/components/AccordionModern/SortableAccordionComp.js +7 -7
- package/dist/components/AccordionModern/index.js +2 -2
- package/dist/components/Alert/index.js +14 -14
- package/dist/components/Avatar/index.js +2 -2
- package/dist/components/Badge/filled/filledIconLabelBadges/index.js +1 -1
- package/dist/components/Badge/filled/filledOnlyIconBadges/index.js +1 -1
- package/dist/components/Badge/filled/filledOnlyLabelBadges/index.js +1 -1
- package/dist/components/Badge/stroke/strokeIconLabelBadges/index.js +1 -1
- package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.js +1 -1
- package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.js +1 -1
- package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.js +1 -1
- package/dist/components/Badge/subtle/subtleIconLabelBadges/index.js +1 -1
- package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.js +1 -1
- package/dist/components/Breadcrumbs/index.js +10 -10
- package/dist/components/Button/index.js +3 -3
- package/dist/components/ButtonGroup/index.js +4 -4
- package/dist/components/Card/index.js +2 -2
- package/dist/components/Chart/index.d.ts.map +1 -1
- package/dist/components/Chart/index.js +20 -19
- package/dist/components/Chatbot/bookMarkPanel.d.ts.map +1 -1
- package/dist/components/Chatbot/bookMarkPanel.js +9 -8
- package/dist/components/Chatbot/chatBotLandingScreen.js +2 -2
- package/dist/components/Chatbot/chatInput.d.ts.map +1 -1
- package/dist/components/Chatbot/chatInput.js +11 -11
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotModuleMenu.js +13 -12
- package/dist/components/Chatbot/constant.d.ts.map +1 -1
- package/dist/components/Chatbot/constant.js +6 -5
- package/dist/components/Chatbot/customScreen.js +2 -2
- package/dist/components/Chatbot/historyPanel.d.ts.map +1 -1
- package/dist/components/Chatbot/historyPanel.js +2 -1
- package/dist/components/Chatbot/index.d.ts.map +1 -1
- package/dist/components/Chatbot/index.js +2 -1
- package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
- package/dist/components/Chatbot/newChatComponent.js +3 -2
- package/dist/components/Checkbox/Dashed.js +3 -3
- package/dist/components/Checkbox/Default.js +3 -3
- package/dist/components/Checkbox/WithDropDown.js +7 -7
- package/dist/components/Checkbox/WithoutFormLabel.js +2 -2
- package/dist/components/Chips/index.js +1 -1
- package/dist/components/CreateItemFlow/index.d.ts.map +1 -1
- package/dist/components/CreateItemFlow/index.js +4 -3
- package/dist/components/DatePicker/showMonthYearSelect.js +3 -3
- package/dist/components/DateRangePicker/dateRangePickerInput.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerInput.js +2 -1
- package/dist/components/DynamicLayout/index.js +2 -2
- package/dist/components/EmptyState/EmptyStateImage.d.ts +0 -1
- package/dist/components/EmptyState/EmptyStateImage.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyStateImage.js +17 -36
- package/dist/components/FileUpload/fileUploadAssets.loader.d.ts +1 -3
- package/dist/components/FileUpload/fileUploadAssets.loader.d.ts.map +1 -1
- package/dist/components/FileUpload/fileUploadAssets.loader.js +17 -48
- package/dist/components/FileUpload/index.js +2 -2
- package/dist/components/FilterPanel/FilterPanelHeader.js +2 -2
- package/dist/components/FilterPanel/PanelSidebar.js +4 -4
- package/dist/components/FilterPanel/index.js +1 -1
- package/dist/components/FiltersStrip/AppliedFilters.js +2 -2
- package/dist/components/FiltersStrip/FilterDropDown.js +2 -2
- package/dist/components/FiltersStrip/FilterSlider.js +8 -8
- package/dist/components/FiltersStrip/index.js +2 -2
- package/dist/components/Header/index.d.ts.map +1 -1
- package/dist/components/Header/index.js +7 -6
- package/dist/components/HomePage/constants.d.ts.map +1 -1
- package/dist/components/HomePage/constants.js +67 -66
- package/dist/components/HomePage/index.d.ts.map +1 -1
- package/dist/components/HomePage/index.js +64 -9
- package/dist/components/Input/HelperText.js +2 -2
- package/dist/components/Input/InputWithIcon.js +2 -2
- package/dist/components/Input/VanillaInput.js +2 -2
- package/dist/components/Loader/index.js +2 -2
- package/dist/components/Menu/IconMenuItem.js +4 -4
- package/dist/components/Menu/MenuHeaderInfo.d.ts.map +1 -1
- package/dist/components/Menu/MenuHeaderInfo.js +3 -2
- package/dist/components/Menu/NestedMenuItem.js +2 -2
- package/dist/components/Menu/index.js +2 -2
- package/dist/components/Menu/nestedMenuItemsFromObject.js +2 -3
- package/dist/components/Modal/index.js +4 -4
- package/dist/components/Notification/NotificationBody/index.js +2 -2
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/Panel/index.js +1 -1
- package/dist/components/Popover/index.js +4 -4
- package/dist/components/ProgressBar/index.js +1 -1
- package/dist/components/Prompt/index.js +7 -7
- package/dist/components/RadioButtonGroup/index.js +3 -3
- package/dist/components/Select/customGroupHeading.js +1 -1
- package/dist/components/Select/index.js +4 -4
- package/dist/components/Select/menuList.js +2 -2
- package/dist/components/Select/optionList.js +3 -3
- package/dist/components/Sidebar/ChildMenu.js +1 -1
- package/dist/components/Sidebar/ParentMenu.js +6 -6
- package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarActions.js +2 -1
- package/dist/components/Sidebar/SidebarMenus.js +2 -2
- package/dist/components/Sidebar/index.d.ts.map +1 -1
- package/dist/components/Sidebar/index.js +4 -3
- package/dist/components/Slider/index.js +4 -4
- package/dist/components/Stepper/index.js +5 -5
- package/dist/components/Switch/index.js +2 -2
- package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
- package/dist/components/Table/AgGridHeader.js +18 -17
- package/dist/components/Table/CommentsPortal.d.ts.map +1 -1
- package/dist/components/Table/CommentsPortal.js +5 -4
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.js +4 -4
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +3 -3
- package/dist/components/Table/NoComments.js +2 -2
- package/dist/components/Table/TableImpl.d.ts +1 -2
- package/dist/components/Table/TableImpl.d.ts.map +1 -1
- package/dist/components/Table/TableImpl.js +7 -6
- package/dist/components/Table/commentPanel.d.ts.map +1 -1
- package/dist/components/Table/commentPanel.js +8 -7
- package/dist/components/Table/tableFunctions.d.ts +1 -3
- package/dist/components/Table/tableFunctions.d.ts.map +1 -1
- package/dist/components/Table/tableFunctions.js +26 -25
- package/dist/components/Table/tableHeader.d.ts.map +1 -1
- package/dist/components/Table/tableHeader.js +3 -2
- package/dist/components/Table/tableMoreOptions.d.ts.map +1 -1
- package/dist/components/Table/tableMoreOptions.js +3 -1
- package/dist/components/Table/tablePagination.js +2 -2
- package/dist/components/Table/tableSettings.js +6 -6
- package/dist/components/Table/withCommentIcon.d.ts.map +1 -1
- package/dist/components/Table/withCommentIcon.js +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.js +1 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.js +1 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.js +5 -4
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.js +2 -2
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.js +11 -11
- package/dist/components/TableChat/components/TableChatLeftSection/ChatIconButton/ChatIconButton.js +2 -2
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +13 -12
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +2 -2
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType /ChatEditedMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType /ChatEditedMessageType.js +5 -4
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js +7 -6
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.js +2 -0
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +19 -16
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +5 -2
- package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.js +3 -3
- package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.js +8 -14
- package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.js +5 -8
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.js +10 -22
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +4 -3
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +38 -38
- package/dist/components/TableChat/components/TextEditor/Mention.js +8 -8
- package/dist/components/TableChat/components/TextEditor/suggestion.js +2 -2
- package/dist/components/Tabs/TabPanel.js +1 -1
- package/dist/components/Tabs/index.js +4 -4
- package/dist/components/Tag/filled.js +3 -3
- package/dist/components/Tag/solid.js +3 -3
- package/dist/components/Tag/stroke.js +3 -3
- package/dist/components/TextArea/index.js +2 -2
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Tooltip/index.js +2 -2
- package/dist/components/common/HelperText/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -1
- package/dist/mcp-component-registry.json +3614 -0
- package/dist/node_modules/react-dates/lib/initialize.js +2 -2
- package/dist/node_modules/react-dates/lib/utils/registerCSSInterfaceWithDefaultTheme.js +4 -4
- package/dist/node_modules/react-dates/lib/utils/registerInterfaceWithDefaultTheme.js +2 -2
- package/dist/styles/style.css +1 -1
- package/dist/utils/assetBase.d.ts +7 -0
- package/dist/utils/assetBase.d.ts.map +1 -0
- package/dist/utils/assetBase.js +14 -0
- package/eslint-plugin/rules/no-barrel-import.js +21 -9
- package/package.json +6 -6
- package/dist/_virtual/Add.js +0 -4
- package/dist/_virtual/AttachFile.js +0 -4
- package/dist/_virtual/AutoFixHigh.js +0 -4
- package/dist/_virtual/Block.js +0 -4
- package/dist/_virtual/Brush.js +0 -4
- package/dist/_virtual/Cancel.js +0 -4
- package/dist/_virtual/CheckCircle.js +0 -4
- package/dist/_virtual/ChevronLeft.js +0 -4
- package/dist/_virtual/ChevronRight.js +0 -4
- package/dist/_virtual/ChevronRightOutlined.js +0 -4
- package/dist/_virtual/Clear.js +0 -4
- package/dist/_virtual/Close.js +0 -4
- package/dist/_virtual/CloseOutlined.js +0 -4
- package/dist/_virtual/DeleteOutlineOutlined.js +0 -4
- package/dist/_virtual/DeleteOutlined.js +0 -4
- package/dist/_virtual/DragIndicator.js +0 -4
- package/dist/_virtual/ErrorOutline.js +0 -4
- package/dist/_virtual/ExpandLess.js +0 -4
- package/dist/_virtual/ExpandMore.js +0 -4
- package/dist/_virtual/FileDownloadOutlined.js +0 -4
- package/dist/_virtual/FilterList.js +0 -4
- package/dist/_virtual/FormatBold.js +0 -4
- package/dist/_virtual/FormatColorTextOutlined.js +0 -4
- package/dist/_virtual/FormatItalic.js +0 -4
- package/dist/_virtual/FormatListBulleted.js +0 -4
- package/dist/_virtual/FormatListNumbered.js +0 -4
- package/dist/_virtual/Image.js +0 -4
- package/dist/_virtual/Info.js +0 -4
- package/dist/_virtual/InsertEmoticon.js +0 -4
- package/dist/_virtual/IsConstructor.js +0 -4
- package/dist/_virtual/KeyboardArrowDown.js +0 -4
- package/dist/_virtual/KeyboardArrowDownOutlined.js +0 -4
- package/dist/_virtual/KeyboardArrowLeft.js +0 -4
- package/dist/_virtual/KeyboardArrowRight.js +0 -4
- package/dist/_virtual/KeyboardArrowRightOutlined.js +0 -4
- package/dist/_virtual/KeyboardArrowUp.js +0 -4
- package/dist/_virtual/Link.js +0 -4
- package/dist/_virtual/Looks3.js +0 -4
- package/dist/_virtual/Looks4.js +0 -4
- package/dist/_virtual/Looks5.js +0 -4
- package/dist/_virtual/Looks6.js +0 -4
- package/dist/_virtual/LooksOne.js +0 -4
- package/dist/_virtual/LooksTwo.js +0 -4
- package/dist/_virtual/MoreHoriz.js +0 -4
- package/dist/_virtual/MoreVert.js +0 -4
- package/dist/_virtual/North.js +0 -4
- package/dist/_virtual/NotificationsOff.js +0 -4
- package/dist/_virtual/SaveOutlined.js +0 -4
- package/dist/_virtual/Search.js +0 -4
- package/dist/_virtual/SearchOutlined.js +0 -4
- package/dist/_virtual/SettingsOutlined.js +0 -4
- package/dist/_virtual/StrikethroughS.js +0 -4
- package/dist/_virtual/TableChartOutlined.js +0 -4
- package/dist/_virtual/Tune.js +0 -4
- package/dist/_virtual/ViewColumnOutlined.js +0 -4
- package/dist/_virtual/Warning.js +0 -4
- package/dist/_virtual/___vite-browser-external.js +0 -6
- package/dist/_virtual/__vite-browser-external.js +0 -4
- package/dist/_virtual/_commonjsHelpers.js +0 -33
- package/dist/_virtual/colorManipulator.js +0 -4
- package/dist/_virtual/constants.js +0 -4
- package/dist/_virtual/createStyled.js +0 -4
- package/dist/_virtual/createSvgIcon.js +0 -4
- package/dist/_virtual/extends.js +0 -6
- package/dist/_virtual/getClassName.js +0 -4
- package/dist/_virtual/heatmap.js +0 -4
- package/dist/_virtual/highcharts-3d.js +0 -4
- package/dist/_virtual/highcharts-more.js +0 -4
- package/dist/_virtual/highcharts-react.min.js +0 -4
- package/dist/_virtual/highcharts.js +0 -4
- package/dist/_virtual/index.js +0 -4
- package/dist/_virtual/index10.js +0 -6
- package/dist/_virtual/index11.js +0 -6
- package/dist/_virtual/index12.js +0 -6
- package/dist/_virtual/index13.js +0 -6
- package/dist/_virtual/index14.js +0 -4
- package/dist/_virtual/index15.js +0 -4
- package/dist/_virtual/index16.js +0 -4
- package/dist/_virtual/index17.js +0 -4
- package/dist/_virtual/index2.js +0 -6
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/index4.js +0 -4
- package/dist/_virtual/index5.js +0 -6
- package/dist/_virtual/index6.js +0 -6
- package/dist/_virtual/index7.js +0 -4
- package/dist/_virtual/index8.js +0 -6
- package/dist/_virtual/index9.js +0 -6
- package/dist/_virtual/interopRequireDefault.js +0 -4
- package/dist/_virtual/objectWithoutPropertiesLoose.js +0 -4
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.development2.js +0 -4
- package/dist/_virtual/react-is.development3.js +0 -4
- package/dist/_virtual/react-is.production.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/_virtual/react-is.production.min2.js +0 -4
- package/dist/_virtual/separateStyles.js +0 -4
- package/dist/_virtual/stock.js +0 -4
- package/dist/_virtual/treemap.js +0 -4
- package/dist/_virtual/useThemeWithoutDefault.js +0 -4
- package/dist/_virtual/venn.js +0 -4
- package/dist/assets/Chart-dropdown.svg.js +0 -4
- package/dist/assets/CheckTickAll.svg.js +0 -4
- package/dist/assets/Collapse.svg.js +0 -4
- package/dist/assets/Comment.svg.js +0 -4
- package/dist/assets/Down.svg.js +0 -4
- package/dist/assets/IA_Logo.svg.js +0 -4
- package/dist/assets/MoreHorizontal.svg.js +0 -4
- package/dist/assets/Up.svg.js +0 -4
- package/dist/assets/active-notificationIcon.svg.js +0 -4
- package/dist/assets/activeModuleIcon.svg.js +0 -4
- package/dist/assets/bell.svg.js +0 -4
- package/dist/assets/bookmarkIcon.svg.js +0 -4
- package/dist/assets/calendar.svg.js +0 -4
- package/dist/assets/chat-home-icon.svg.js +0 -4
- package/dist/assets/chatBotMicIcon.svg.js +0 -4
- package/dist/assets/chatBotRefreshIcon.svg.js +0 -4
- package/dist/assets/chatBotSendIcon.svg.js +0 -4
- package/dist/assets/chatIcon.svg.js +0 -4
- package/dist/assets/chatbotBannerIcon.svg.js +0 -4
- package/dist/assets/chatbotStopIcon.svg.js +0 -4
- package/dist/assets/checkBlueIcon.svg.js +0 -4
- package/dist/assets/checkGreeIcon.svg.js +0 -4
- package/dist/assets/checkIcon.svg.js +0 -4
- package/dist/assets/clientLogos/Balsam.svg.js +0 -4
- package/dist/assets/clientLogos/Starboard.svg.js +0 -4
- package/dist/assets/clientLogos/figs.svg.js +0 -4
- package/dist/assets/close.svg.js +0 -4
- package/dist/assets/collapse-icon.svg.js +0 -4
- package/dist/assets/comment-indicator.svg.js +0 -4
- package/dist/assets/commentEmptyStateIcon.svg.js +0 -4
- package/dist/assets/createFlowImage.svg.js +0 -4
- package/dist/assets/csv-icon.svg.js +0 -4
- package/dist/assets/defaultViewIcon.svg.js +0 -4
- package/dist/assets/defaultViewIconActive.svg.js +0 -4
- package/dist/assets/delete-black.svg.js +0 -4
- package/dist/assets/deleteIcon.svg.js +0 -4
- package/dist/assets/deleteRedIcon.svg.js +0 -4
- package/dist/assets/downArrow.svg.js +0 -4
- package/dist/assets/edit-black.svg.js +0 -4
- package/dist/assets/editYellowIcon.svg.js +0 -4
- package/dist/assets/excel-icon.svg.js +0 -4
- package/dist/assets/expand-icon.svg.js +0 -4
- package/dist/assets/failed-csv-icon.svg.js +0 -4
- package/dist/assets/failed-excel-icon.svg.js +0 -4
- package/dist/assets/file-upload-error.svg.js +0 -4
- package/dist/assets/file-upload.svg.js +0 -4
- package/dist/assets/fileUploadDownloadIcon.svg.js +0 -4
- package/dist/assets/fileUploadRetryIcon.svg.js +0 -4
- package/dist/assets/hamburger-close.svg.js +0 -4
- package/dist/assets/help-icon.svg.js +0 -4
- package/dist/assets/historyIcon.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon1.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon2.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon3.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon4.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon5.svg.js +0 -4
- package/dist/assets/landingPageAssets/book-demo.svg.js +0 -4
- package/dist/assets/landingPageAssets/configuration_icon.svg.js +0 -4
- package/dist/assets/landingPageAssets/launch.svg.js +0 -4
- package/dist/assets/listIcon.svg.js +0 -4
- package/dist/assets/logout-icon.svg.js +0 -4
- package/dist/assets/material-symbols_sort.svg.js +0 -4
- package/dist/assets/message-icon-disabled.svg.js +0 -4
- package/dist/assets/message-icon.svg.js +0 -4
- package/dist/assets/newChatIcon.svg.js +0 -4
- package/dist/assets/no-filter-results.svg.js +0 -4
- package/dist/assets/notAllowedGreenIcon.svg.js +0 -4
- package/dist/assets/notification-dnd.svg.js +0 -4
- package/dist/assets/pageIcon.svg.js +0 -4
- package/dist/assets/pencilIcon.svg.js +0 -4
- package/dist/assets/pinedIcon.svg.js +0 -4
- package/dist/assets/pinnedIcon.svg.js +0 -4
- package/dist/assets/saveViewDeleteIcon.svg.js +0 -4
- package/dist/assets/saveViewEditIcon.svg.js +0 -4
- package/dist/assets/saveViewIcon.svg.js +0 -4
- package/dist/assets/search.svg.js +0 -4
- package/dist/assets/searchIcon.svg.js +0 -4
- package/dist/assets/searchIconTable.svg.js +0 -4
- package/dist/assets/sendIcon.svg.js +0 -4
- package/dist/assets/smartBotAlan.svg.js +0 -4
- package/dist/assets/success-fill.svg.js +0 -4
- package/dist/assets/success-gray.svg.js +0 -4
- package/dist/assets/sun.png.js +0 -4
- package/dist/assets/tableSettingIcon.svg.js +0 -4
- package/dist/assets/tableSortIcon.svg.js +0 -4
- package/dist/assets/text-icon.svg.js +0 -4
- package/dist/assets/thumbsUpYellowIcon.svg.js +0 -4
- package/dist/assets/thumbsupBlueIcon.svg.js +0 -4
- package/dist/assets/treadChatIcon.svg.js +0 -4
- package/dist/assets/treedotIcon.svg.js +0 -4
- package/dist/assets/unpinedIcon.svg.js +0 -4
- package/dist/assets/upload-close-icon.svg.js +0 -4
- package/dist/assets/upload-pause-icon.svg.js +0 -4
- package/dist/assets/uploadDownloadIcon.svg.js +0 -4
- package/dist/assets/userPlusIcon1.svg.js +0 -4
- package/dist/assets/warningRedIcon.svg.js +0 -4
- package/dist/assets/webp/clientLogos/PACSUN.webp.js +0 -4
- package/dist/assets/webp/clientLogos/aaa.webp.js +0 -4
- package/dist/assets/webp/clientLogos/al-futtaim.webp.js +0 -4
- package/dist/assets/webp/clientLogos/arhaus.webp.js +0 -4
- package/dist/assets/webp/clientLogos/asley-stewart.webp.js +0 -4
- package/dist/assets/webp/clientLogos/briscoe.webp.js +0 -4
- package/dist/assets/webp/clientLogos/carters.webp.js +0 -4
- package/dist/assets/webp/clientLogos/cb.webp.js +0 -4
- package/dist/assets/webp/clientLogos/coach.webp.js +0 -4
- package/dist/assets/webp/clientLogos/dollargeneral.webp.js +0 -4
- package/dist/assets/webp/clientLogos/fossil.webp.js +0 -4
- package/dist/assets/webp/clientLogos/jared.webp.js +0 -4
- package/dist/assets/webp/clientLogos/katespade.webp.js +0 -4
- package/dist/assets/webp/clientLogos/kay.webp.js +0 -4
- package/dist/assets/webp/clientLogos/kik.webp.js +0 -4
- package/dist/assets/webp/clientLogos/leslies.webp.js +0 -4
- package/dist/assets/webp/clientLogos/lovisa_1.webp.js +0 -4
- package/dist/assets/webp/clientLogos/lsco_logo_red.webp.js +0 -4
- package/dist/assets/webp/clientLogos/m-s.webp.js +0 -4
- package/dist/assets/webp/clientLogos/oshkosh.webp.js +0 -4
- package/dist/assets/webp/clientLogos/pantagonia.webp.js +0 -4
- package/dist/assets/webp/clientLogos/pink.webp.js +0 -4
- package/dist/assets/webp/clientLogos/pitta-roso.webp.js +0 -4
- package/dist/assets/webp/clientLogos/psp.webp.js +0 -4
- package/dist/assets/webp/clientLogos/ralphlauren.webp.js +0 -4
- package/dist/assets/webp/clientLogos/rebel.webp.js +0 -4
- package/dist/assets/webp/clientLogos/scarpe.webp.js +0 -4
- package/dist/assets/webp/clientLogos/signet.webp.js +0 -4
- package/dist/assets/webp/clientLogos/so5.webp.js +0 -4
- package/dist/assets/webp/clientLogos/spanx.webp.js +0 -4
- package/dist/assets/webp/clientLogos/stevemadden.webp.js +0 -4
- package/dist/assets/webp/clientLogos/stuart.webp.js +0 -4
- package/dist/assets/webp/clientLogos/tillys.webp.js +0 -4
- package/dist/assets/webp/clientLogos/tommy-bahama.webp.js +0 -4
- package/dist/assets/webp/clientLogos/vs.webp.js +0 -4
- package/dist/assets/webp/clientLogos/zales.webp.js +0 -4
- package/dist/assets/webp/emptyState1.webp.js +0 -4
- package/dist/assets/webp/emptyState2.webp.js +0 -4
- package/dist/assets/webp/emptyState3.webp.js +0 -4
- package/dist/assets/webp/emptyState4.webp.js +0 -4
- package/dist/assets/webp/emptyState5.webp.js +0 -4
- package/dist/assets/webp/emptyState6.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/1.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/10.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/11.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/12.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/13.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/14.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/15.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/17.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/19.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/2.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/20.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/21.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/22.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/23.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/24.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/3.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/4.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/5.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/6.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/7.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/8.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/carouselImages/image-2.webp.js +0 -4
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -17
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -16
- package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -24
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -25
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -11
- package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -22
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +0 -59
- package/dist/node_modules/@dnd-kit/core/dist/core.esm.js +0 -3405
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +0 -418
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +0 -301
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -311
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -31
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +0 -11
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -10
- package/dist/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +0 -85
- package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +0 -100
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -173
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -83
- package/dist/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js +0 -130
- package/dist/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js +0 -146
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -53
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +0 -11
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -45
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -257
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -122
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -34
- package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize.js +0 -195
- package/dist/node_modules/@mui/icons-material/Add.js +0 -17
- package/dist/node_modules/@mui/icons-material/AttachFile.js +0 -17
- package/dist/node_modules/@mui/icons-material/AutoFixHigh.js +0 -17
- package/dist/node_modules/@mui/icons-material/Block.js +0 -17
- package/dist/node_modules/@mui/icons-material/Brush.js +0 -17
- package/dist/node_modules/@mui/icons-material/Cancel.js +0 -17
- package/dist/node_modules/@mui/icons-material/CheckCircle.js +0 -17
- package/dist/node_modules/@mui/icons-material/ChevronLeft.js +0 -17
- package/dist/node_modules/@mui/icons-material/ChevronRight.js +0 -17
- package/dist/node_modules/@mui/icons-material/ChevronRightOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/Clear.js +0 -17
- package/dist/node_modules/@mui/icons-material/Close.js +0 -17
- package/dist/node_modules/@mui/icons-material/CloseOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/DeleteOutlineOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/DeleteOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/DragIndicator.js +0 -17
- package/dist/node_modules/@mui/icons-material/ErrorOutline.js +0 -17
- package/dist/node_modules/@mui/icons-material/ExpandLess.js +0 -17
- package/dist/node_modules/@mui/icons-material/ExpandMore.js +0 -17
- package/dist/node_modules/@mui/icons-material/FileDownloadOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/FilterList.js +0 -17
- package/dist/node_modules/@mui/icons-material/FormatBold.js +0 -17
- package/dist/node_modules/@mui/icons-material/FormatColorTextOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/FormatItalic.js +0 -17
- package/dist/node_modules/@mui/icons-material/FormatListBulleted.js +0 -17
- package/dist/node_modules/@mui/icons-material/FormatListNumbered.js +0 -17
- package/dist/node_modules/@mui/icons-material/Image.js +0 -17
- package/dist/node_modules/@mui/icons-material/Info.js +0 -17
- package/dist/node_modules/@mui/icons-material/InsertEmoticon.js +0 -17
- package/dist/node_modules/@mui/icons-material/KeyboardArrowDown.js +0 -17
- package/dist/node_modules/@mui/icons-material/KeyboardArrowDownOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/KeyboardArrowLeft.js +0 -17
- package/dist/node_modules/@mui/icons-material/KeyboardArrowRight.js +0 -17
- package/dist/node_modules/@mui/icons-material/KeyboardArrowRightOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/KeyboardArrowUp.js +0 -17
- package/dist/node_modules/@mui/icons-material/Link.js +0 -17
- package/dist/node_modules/@mui/icons-material/Looks3.js +0 -17
- package/dist/node_modules/@mui/icons-material/Looks4.js +0 -17
- package/dist/node_modules/@mui/icons-material/Looks5.js +0 -17
- package/dist/node_modules/@mui/icons-material/Looks6.js +0 -17
- package/dist/node_modules/@mui/icons-material/LooksOne.js +0 -17
- package/dist/node_modules/@mui/icons-material/LooksTwo.js +0 -17
- package/dist/node_modules/@mui/icons-material/MoreHoriz.js +0 -17
- package/dist/node_modules/@mui/icons-material/MoreVert.js +0 -17
- package/dist/node_modules/@mui/icons-material/North.js +0 -17
- package/dist/node_modules/@mui/icons-material/NotificationsOff.js +0 -17
- package/dist/node_modules/@mui/icons-material/SaveOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/Search.js +0 -17
- package/dist/node_modules/@mui/icons-material/SearchOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/SettingsOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/StrikethroughS.js +0 -17
- package/dist/node_modules/@mui/icons-material/TableChartOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/Tune.js +0 -17
- package/dist/node_modules/@mui/icons-material/ViewColumnOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/Warning.js +0 -17
- package/dist/node_modules/@mui/icons-material/esm/AddOutlined.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/ChevronRight.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/Close.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/DragIndicator.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/FileDownload.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/HighlightOff.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/Replay.js +0 -8
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon.js +0 -24
- package/dist/node_modules/@mui/material/Accordion/Accordion.js +0 -294
- package/dist/node_modules/@mui/material/Accordion/AccordionContext.js +0 -8
- package/dist/node_modules/@mui/material/Accordion/accordionClasses.js +0 -10
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +0 -70
- package/dist/node_modules/@mui/material/AccordionDetails/accordionDetailsClasses.js +0 -9
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +0 -198
- package/dist/node_modules/@mui/material/AccordionSummary/accordionSummaryClasses.js +0 -10
- package/dist/node_modules/@mui/material/Alert/Alert.js +0 -346
- package/dist/node_modules/@mui/material/Alert/alertClasses.js +0 -10
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js +0 -76
- package/dist/node_modules/@mui/material/AlertTitle/alertTitleClasses.js +0 -9
- package/dist/node_modules/@mui/material/Avatar/Avatar.js +0 -284
- package/dist/node_modules/@mui/material/Avatar/avatarClasses.js +0 -9
- package/dist/node_modules/@mui/material/Backdrop/Backdrop.js +0 -187
- package/dist/node_modules/@mui/material/Backdrop/backdropClasses.js +0 -9
- package/dist/node_modules/@mui/material/Badge/Badge.js +0 -427
- package/dist/node_modules/@mui/material/Badge/badgeClasses.js +0 -37
- package/dist/node_modules/@mui/material/Badge/useBadge.js +0 -31
- package/dist/node_modules/@mui/material/Box/Box.js +0 -35
- package/dist/node_modules/@mui/material/Box/boxClasses.js +0 -5
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +0 -85
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +0 -233
- package/dist/node_modules/@mui/material/Breadcrumbs/breadcrumbsClasses.js +0 -10
- package/dist/node_modules/@mui/material/Button/Button.js +0 -378
- package/dist/node_modules/@mui/material/Button/buttonClasses.js +0 -10
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js +0 -458
- package/dist/node_modules/@mui/material/ButtonBase/Ripple.js +0 -83
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js +0 -303
- package/dist/node_modules/@mui/material/ButtonBase/buttonBaseClasses.js +0 -10
- package/dist/node_modules/@mui/material/ButtonBase/touchRippleClasses.js +0 -5
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js +0 -8
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext.js +0 -8
- package/dist/node_modules/@mui/material/Card/Card.js +0 -86
- package/dist/node_modules/@mui/material/Card/cardClasses.js +0 -9
- package/dist/node_modules/@mui/material/Checkbox/Checkbox.js +0 -212
- package/dist/node_modules/@mui/material/Checkbox/checkboxClasses.js +0 -10
- package/dist/node_modules/@mui/material/Chip/Chip.js +0 -496
- package/dist/node_modules/@mui/material/Chip/chipClasses.js +0 -10
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js +0 -240
- package/dist/node_modules/@mui/material/CircularProgress/circularProgressClasses.js +0 -9
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +0 -146
- package/dist/node_modules/@mui/material/Collapse/Collapse.js +0 -363
- package/dist/node_modules/@mui/material/Collapse/collapseClasses.js +0 -9
- package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +0 -24
- package/dist/node_modules/@mui/material/Dialog/Dialog.js +0 -393
- package/dist/node_modules/@mui/material/Dialog/DialogContext.js +0 -8
- package/dist/node_modules/@mui/material/Dialog/dialogClasses.js +0 -10
- package/dist/node_modules/@mui/material/DialogActions/DialogActions.js +0 -92
- package/dist/node_modules/@mui/material/DialogActions/dialogActionsClasses.js +0 -9
- package/dist/node_modules/@mui/material/DialogContent/DialogContent.js +0 -98
- package/dist/node_modules/@mui/material/DialogContent/dialogContentClasses.js +0 -9
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js +0 -74
- package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses.js +0 -9
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js +0 -82
- package/dist/node_modules/@mui/material/DialogTitle/dialogTitleClasses.js +0 -10
- package/dist/node_modules/@mui/material/Divider/dividerClasses.js +0 -5
- package/dist/node_modules/@mui/material/Drawer/Drawer.js +0 -309
- package/dist/node_modules/@mui/material/Drawer/drawerClasses.js +0 -9
- package/dist/node_modules/@mui/material/Fade/Fade.js +0 -195
- package/dist/node_modules/@mui/material/FilledInput/FilledInput.js +0 -430
- package/dist/node_modules/@mui/material/FilledInput/filledInputClasses.js +0 -12
- package/dist/node_modules/@mui/material/FormControl/FormControl.js +0 -259
- package/dist/node_modules/@mui/material/FormControl/FormControlContext.js +0 -8
- package/dist/node_modules/@mui/material/FormControl/formControlClasses.js +0 -9
- package/dist/node_modules/@mui/material/FormControl/formControlState.js +0 -18
- package/dist/node_modules/@mui/material/FormControl/useFormControl.js +0 -8
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +0 -239
- package/dist/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js +0 -10
- package/dist/node_modules/@mui/material/FormGroup/FormGroup.js +0 -98
- package/dist/node_modules/@mui/material/FormGroup/formGroupClasses.js +0 -9
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js +0 -167
- package/dist/node_modules/@mui/material/FormHelperText/formHelperTextClasses.js +0 -10
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +0 -26
- package/dist/node_modules/@mui/material/Grow/Grow.js +0 -240
- package/dist/node_modules/@mui/material/IconButton/IconButton.js +0 -199
- package/dist/node_modules/@mui/material/IconButton/iconButtonClasses.js +0 -10
- package/dist/node_modules/@mui/material/Input/Input.js +0 -343
- package/dist/node_modules/@mui/material/Input/inputClasses.js +0 -12
- package/dist/node_modules/@mui/material/InputBase/InputBase.js +0 -695
- package/dist/node_modules/@mui/material/InputBase/inputBaseClasses.js +0 -10
- package/dist/node_modules/@mui/material/InputBase/utils.js +0 -14
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js +0 -335
- package/dist/node_modules/@mui/material/LinearProgress/linearProgressClasses.js +0 -9
- package/dist/node_modules/@mui/material/Link/Link.js +0 -211
- package/dist/node_modules/@mui/material/Link/getTextDecoration.js +0 -28
- package/dist/node_modules/@mui/material/Link/linkClasses.js +0 -10
- package/dist/node_modules/@mui/material/List/List.js +0 -126
- package/dist/node_modules/@mui/material/List/ListContext.js +0 -8
- package/dist/node_modules/@mui/material/List/listClasses.js +0 -9
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +0 -87
- package/dist/node_modules/@mui/material/ListItemIcon/listItemIconClasses.js +0 -10
- package/dist/node_modules/@mui/material/ListItemText/listItemTextClasses.js +0 -5
- package/dist/node_modules/@mui/material/Menu/Menu.js +0 -297
- package/dist/node_modules/@mui/material/Menu/menuClasses.js +0 -9
- package/dist/node_modules/@mui/material/MenuItem/MenuItem.js +0 -261
- package/dist/node_modules/@mui/material/MenuItem/menuItemClasses.js +0 -10
- package/dist/node_modules/@mui/material/MenuList/MenuList.js +0 -250
- package/dist/node_modules/@mui/material/Modal/Modal.js +0 -367
- package/dist/node_modules/@mui/material/Modal/ModalManager.js +0 -189
- package/dist/node_modules/@mui/material/Modal/modalClasses.js +0 -9
- package/dist/node_modules/@mui/material/Modal/useModal.js +0 -168
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +0 -217
- package/dist/node_modules/@mui/material/NativeSelect/nativeSelectClasses.js +0 -10
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +0 -136
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +0 -349
- package/dist/node_modules/@mui/material/OutlinedInput/outlinedInputClasses.js +0 -12
- package/dist/node_modules/@mui/material/Paper/Paper.js +0 -145
- package/dist/node_modules/@mui/material/Paper/paperClasses.js +0 -9
- package/dist/node_modules/@mui/material/Popover/Popover.js +0 -510
- package/dist/node_modules/@mui/material/Popover/popoverClasses.js +0 -9
- package/dist/node_modules/@mui/material/Popper/BasePopper.js +0 -362
- package/dist/node_modules/@mui/material/Popper/Popper.js +0 -195
- package/dist/node_modules/@mui/material/Popper/popperClasses.js +0 -9
- package/dist/node_modules/@mui/material/Portal/Portal.js +0 -82
- package/dist/node_modules/@mui/material/Radio/Radio.js +0 -212
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js +0 -82
- package/dist/node_modules/@mui/material/Radio/radioClasses.js +0 -10
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js +0 -116
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext.js +0 -8
- package/dist/node_modules/@mui/material/RadioGroup/radioGroupClasses.js +0 -9
- package/dist/node_modules/@mui/material/RadioGroup/useRadioGroup.js +0 -8
- package/dist/node_modules/@mui/material/Select/Select.js +0 -283
- package/dist/node_modules/@mui/material/Select/SelectInput.js +0 -631
- package/dist/node_modules/@mui/material/Select/selectClasses.js +0 -10
- package/dist/node_modules/@mui/material/Skeleton/Skeleton.js +0 -218
- package/dist/node_modules/@mui/material/Skeleton/skeletonClasses.js +0 -9
- package/dist/node_modules/@mui/material/Slide/Slide.js +0 -315
- package/dist/node_modules/@mui/material/Slider/Slider.js +0 -1045
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel.js +0 -50
- package/dist/node_modules/@mui/material/Slider/sliderClasses.js +0 -10
- package/dist/node_modules/@mui/material/Slider/useSlider.js +0 -605
- package/dist/node_modules/@mui/material/Snackbar/Snackbar.js +0 -304
- package/dist/node_modules/@mui/material/Snackbar/snackbarClasses.js +0 -9
- package/dist/node_modules/@mui/material/Snackbar/useSnackbar.js +0 -108
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +0 -132
- package/dist/node_modules/@mui/material/SnackbarContent/snackbarContentClasses.js +0 -9
- package/dist/node_modules/@mui/material/Stack/Stack.js +0 -62
- package/dist/node_modules/@mui/material/Step/Step.js +0 -167
- package/dist/node_modules/@mui/material/Step/StepContext.js +0 -8
- package/dist/node_modules/@mui/material/Step/stepClasses.js +0 -9
- package/dist/node_modules/@mui/material/StepConnector/StepConnector.js +0 -134
- package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses.js +0 -9
- package/dist/node_modules/@mui/material/StepIcon/StepIcon.js +0 -159
- package/dist/node_modules/@mui/material/StepIcon/stepIconClasses.js +0 -10
- package/dist/node_modules/@mui/material/StepLabel/StepLabel.js +0 -237
- package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses.js +0 -10
- package/dist/node_modules/@mui/material/Stepper/Stepper.js +0 -153
- package/dist/node_modules/@mui/material/Stepper/StepperContext.js +0 -8
- package/dist/node_modules/@mui/material/Stepper/stepperClasses.js +0 -9
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js +0 -185
- package/dist/node_modules/@mui/material/SvgIcon/svgIconClasses.js +0 -9
- package/dist/node_modules/@mui/material/Switch/Switch.js +0 -335
- package/dist/node_modules/@mui/material/Switch/switchClasses.js +0 -10
- package/dist/node_modules/@mui/material/Tab/Tab.js +0 -263
- package/dist/node_modules/@mui/material/Tab/tabClasses.js +0 -10
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +0 -153
- package/dist/node_modules/@mui/material/TabScrollButton/tabScrollButtonClasses.js +0 -10
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js +0 -56
- package/dist/node_modules/@mui/material/Tabs/Tabs.js +0 -801
- package/dist/node_modules/@mui/material/Tabs/tabsClasses.js +0 -10
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +0 -216
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js +0 -233
- package/dist/node_modules/@mui/material/ToggleButton/toggleButtonClasses.js +0 -10
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +0 -269
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +0 -8
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext.js +0 -8
- package/dist/node_modules/@mui/material/ToggleButtonGroup/isValueSelected.js +0 -12
- package/dist/node_modules/@mui/material/ToggleButtonGroup/toggleButtonGroupClasses.js +0 -10
- package/dist/node_modules/@mui/material/Tooltip/Tooltip.js +0 -737
- package/dist/node_modules/@mui/material/Tooltip/tooltipClasses.js +0 -10
- package/dist/node_modules/@mui/material/Typography/Typography.js +0 -196
- package/dist/node_modules/@mui/material/Typography/typographyClasses.js +0 -9
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js +0 -280
- package/dist/node_modules/@mui/material/colors/blue.js +0 -10
- package/dist/node_modules/@mui/material/colors/common.js +0 -7
- package/dist/node_modules/@mui/material/colors/green.js +0 -11
- package/dist/node_modules/@mui/material/colors/grey.js +0 -19
- package/dist/node_modules/@mui/material/colors/lightBlue.js +0 -10
- package/dist/node_modules/@mui/material/colors/orange.js +0 -10
- package/dist/node_modules/@mui/material/colors/purple.js +0 -11
- package/dist/node_modules/@mui/material/colors/red.js +0 -10
- package/dist/node_modules/@mui/material/internal/SwitchBase.js +0 -266
- package/dist/node_modules/@mui/material/internal/animate.js +0 -44
- package/dist/node_modules/@mui/material/internal/svg-icons/ArrowDropDown.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/Cancel.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckBox.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckBoxOutlineBlank.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/Close.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/ErrorOutline.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/IndeterminateCheckBox.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/InfoOutlined.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/KeyboardArrowLeft.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/KeyboardArrowRight.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/MoreHoriz.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/Person.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/RadioButtonChecked.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/RadioButtonUnchecked.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/ReportProblemOutlined.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/SuccessOutlined.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/Warning.js +0 -9
- package/dist/node_modules/@mui/material/internal/switchBaseClasses.js +0 -9
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +0 -19
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js +0 -17
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js +0 -13
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/capitalize/capitalize.js +0 -10
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js +0 -11
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/clamp/clamp.js +0 -6
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +0 -25
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/createChainedFunction/createChainedFunction.js +0 -15
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/debounce/debounce.js +0 -17
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +0 -43
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType.js +0 -16
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +0 -33
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +0 -31
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/exactProp/exactProp.js +0 -19
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js +0 -13
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +0 -10
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +0 -23
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js +0 -11
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js +0 -11
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/getScrollbarSize/getScrollbarSize.js +0 -7
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/getValidReactChildren/getValidReactChildren.js +0 -7
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/integerPropType/integerPropType.js +0 -52
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js +0 -6
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js +0 -13
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js +0 -48
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js +0 -13
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +0 -6
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js +0 -8
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/refType/refType.js +0 -5
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory.js +0 -25
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js +0 -9
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +0 -29
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/scrollLeft/scrollLeft.js +0 -49
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/setRef/setRef.js +0 -10
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp.js +0 -13
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useControlled/useControlled.js +0 -37
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +0 -5
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js +0 -15
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +0 -17
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useId/useId.js +0 -24
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useIsFocusVisible/useIsFocusVisible.js +0 -104
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js +0 -12
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useOnMount/useOnMount.js +0 -8
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/usePreviousProps/usePreviousProps.js +0 -11
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js +0 -31
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useTimeout/useTimeout.js +0 -38
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/visuallyHidden/visuallyHidden.js +0 -14
- package/dist/node_modules/@mui/material/styles/createMixins.js +0 -19
- package/dist/node_modules/@mui/material/styles/createPalette.js +0 -305
- package/dist/node_modules/@mui/material/styles/createTheme.js +0 -79
- package/dist/node_modules/@mui/material/styles/createTransitions.js +0 -83
- package/dist/node_modules/@mui/material/styles/createTypography.js +0 -87
- package/dist/node_modules/@mui/material/styles/cssUtils.js +0 -10
- package/dist/node_modules/@mui/material/styles/defaultTheme.js +0 -5
- package/dist/node_modules/@mui/material/styles/getOverlayAlpha.js +0 -12
- package/dist/node_modules/@mui/material/styles/identifier.js +0 -4
- package/dist/node_modules/@mui/material/styles/rootShouldForwardProp.js +0 -5
- package/dist/node_modules/@mui/material/styles/shadows.js +0 -10
- package/dist/node_modules/@mui/material/styles/slotShouldForwardProp.js +0 -6
- package/dist/node_modules/@mui/material/styles/styled.js +0 -13
- package/dist/node_modules/@mui/material/styles/useTheme.js +0 -14
- package/dist/node_modules/@mui/material/styles/zIndex.js +0 -13
- package/dist/node_modules/@mui/material/transitions/utils.js +0 -18
- package/dist/node_modules/@mui/material/utils/areArraysEqual.js +0 -6
- package/dist/node_modules/@mui/material/utils/capitalize.js +0 -4
- package/dist/node_modules/@mui/material/utils/createChainedFunction.js +0 -4
- package/dist/node_modules/@mui/material/utils/createSvgIcon.js +0 -22
- package/dist/node_modules/@mui/material/utils/debounce.js +0 -4
- package/dist/node_modules/@mui/material/utils/deprecatedPropType.js +0 -4
- package/dist/node_modules/@mui/material/utils/getScrollbarSize.js +0 -4
- package/dist/node_modules/@mui/material/utils/index.js +0 -46
- package/dist/node_modules/@mui/material/utils/isMuiElement.js +0 -4
- package/dist/node_modules/@mui/material/utils/ownerDocument.js +0 -4
- package/dist/node_modules/@mui/material/utils/ownerWindow.js +0 -4
- package/dist/node_modules/@mui/material/utils/requirePropFactory.js +0 -4
- package/dist/node_modules/@mui/material/utils/setRef.js +0 -4
- package/dist/node_modules/@mui/material/utils/shouldSpreadAdditionalProps.js +0 -7
- package/dist/node_modules/@mui/material/utils/unsupportedProp.js +0 -4
- package/dist/node_modules/@mui/material/utils/useControlled.js +0 -4
- package/dist/node_modules/@mui/material/utils/useEnhancedEffect.js +0 -4
- package/dist/node_modules/@mui/material/utils/useEventCallback.js +0 -4
- package/dist/node_modules/@mui/material/utils/useForkRef.js +0 -4
- package/dist/node_modules/@mui/material/utils/useId.js +0 -4
- package/dist/node_modules/@mui/material/utils/useIsFocusVisible.js +0 -4
- package/dist/node_modules/@mui/material/utils/useSlot.js +0 -55
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js +0 -24
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +0 -65
- package/dist/node_modules/@mui/styled-engine/index.js +0 -48
- package/dist/node_modules/@mui/system/colorManipulator.js +0 -271
- package/dist/node_modules/@mui/system/createStyled.js +0 -265
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -53
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +0 -61
- package/dist/node_modules/@mui/system/esm/RtlProvider/index.js +0 -15
- package/dist/node_modules/@mui/system/esm/Stack/createStack.js +0 -167
- package/dist/node_modules/@mui/system/esm/borders.js +0 -61
- package/dist/node_modules/@mui/system/esm/breakpoints.js +0 -122
- package/dist/node_modules/@mui/system/esm/colorManipulator.js +0 -96
- package/dist/node_modules/@mui/system/esm/compose.js +0 -23
- package/dist/node_modules/@mui/system/esm/createBox.js +0 -38
- package/dist/node_modules/@mui/system/esm/createStyled.js +0 -231
- package/dist/node_modules/@mui/system/esm/createTheme/applyStyles.js +0 -16
- package/dist/node_modules/@mui/system/esm/createTheme/createBreakpoints.js +0 -78
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing.js +0 -26
- package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js +0 -44
- package/dist/node_modules/@mui/system/esm/createTheme/index.js +0 -8
- package/dist/node_modules/@mui/system/esm/createTheme/shape.js +0 -6
- package/dist/node_modules/@mui/system/esm/cssGrid.js +0 -89
- package/dist/node_modules/@mui/system/esm/memoize.js +0 -12
- package/dist/node_modules/@mui/system/esm/merge.js +0 -13
- package/dist/node_modules/@mui/system/esm/palette.js +0 -31
- package/dist/node_modules/@mui/system/esm/responsivePropType.js +0 -5
- package/dist/node_modules/@mui/system/esm/sizing.js +0 -74
- package/dist/node_modules/@mui/system/esm/spacing.js +0 -144
- package/dist/node_modules/@mui/system/esm/style.js +0 -73
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +0 -293
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js +0 -50
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/index.js +0 -9
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +0 -125
- package/dist/node_modules/@mui/system/esm/styled.js +0 -5
- package/dist/node_modules/@mui/system/esm/useTheme.js +0 -10
- package/dist/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js +0 -15
- package/dist/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js +0 -22
- package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault.js +0 -12
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +0 -19
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/capitalize/capitalize.js +0 -10
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/capitalize/index.js +0 -4
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/clamp.js +0 -6
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/index.js +0 -4
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +0 -25
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +0 -43
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/deepmerge/index.js +0 -5
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +0 -10
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js +0 -4
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +0 -23
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +0 -40
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/getDisplayName/index.js +0 -5
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +0 -29
- package/dist/node_modules/@mui/system/useThemeWithoutDefault.js +0 -39
- package/dist/node_modules/@mui/utils/esm/debounce/debounce.js +0 -17
- package/dist/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +0 -6
- package/dist/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js +0 -8
- package/dist/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +0 -5
- package/dist/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +0 -42
- package/dist/node_modules/@popperjs/core/lib/createPopper.js +0 -149
- package/dist/node_modules/@popperjs/core/lib/dom-utils/contains.js +0 -19
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +0 -38
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +0 -61
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js +0 -53
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js +0 -10
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js +0 -27
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js +0 -21
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js +0 -14
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js +0 -51
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js +0 -21
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js +0 -16
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js +0 -31
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindow.js +0 -13
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js +0 -13
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js +0 -21
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js +0 -8
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js +0 -22
- package/dist/node_modules/@popperjs/core/lib/enums.js +0 -54
- package/dist/node_modules/@popperjs/core/lib/modifiers/applyStyles.js +0 -71
- package/dist/node_modules/@popperjs/core/lib/modifiers/arrow.js +0 -72
- package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +0 -131
- package/dist/node_modules/@popperjs/core/lib/modifiers/eventListeners.js +0 -40
- package/dist/node_modules/@popperjs/core/lib/modifiers/flip.js +0 -113
- package/dist/node_modules/@popperjs/core/lib/modifiers/hide.js +0 -57
- package/dist/node_modules/@popperjs/core/lib/modifiers/offset.js +0 -43
- package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +0 -19
- package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js +0 -105
- package/dist/node_modules/@popperjs/core/lib/popper.js +0 -28
- package/dist/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +0 -35
- package/dist/node_modules/@popperjs/core/lib/utils/computeOffsets.js +0 -59
- package/dist/node_modules/@popperjs/core/lib/utils/debounce.js +0 -17
- package/dist/node_modules/@popperjs/core/lib/utils/detectOverflow.js +0 -47
- package/dist/node_modules/@popperjs/core/lib/utils/expandToHashMap.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/utils/getAltAxis.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getBasePlacement.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js +0 -14
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +0 -12
- package/dist/node_modules/@popperjs/core/lib/utils/getVariation.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/math.js +0 -8
- package/dist/node_modules/@popperjs/core/lib/utils/mergeByName.js +0 -16
- package/dist/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/utils/orderModifiers.js +0 -39
- package/dist/node_modules/@popperjs/core/lib/utils/rectToClientRect.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/utils/userAgent.js +0 -12
- package/dist/node_modules/@popperjs/core/lib/utils/within.js +0 -12
- package/dist/node_modules/@remix-run/router/dist/router.js +0 -400
- package/dist/node_modules/@tiptap/core/dist/index.js +0 -4252
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -52
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -86
- package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +0 -68
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -62
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -196
- package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -10
- package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +0 -21
- package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +0 -25
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -60
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -71
- package/dist/node_modules/@tiptap/extension-highlight/dist/index.js +0 -82
- package/dist/node_modules/@tiptap/extension-history/dist/index.js +0 -40
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -79
- package/dist/node_modules/@tiptap/extension-image/dist/index.js +0 -69
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -85
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -360
- package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +0 -34
- package/dist/node_modules/@tiptap/extension-mention/dist/index.js +0 -213
- package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +0 -86
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -36
- package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +0 -60
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -72
- package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -9
- package/dist/node_modules/@tiptap/react/dist/index.js +0 -1077
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -84
- package/dist/node_modules/@tiptap/suggestion/dist/index.js +0 -224
- package/dist/node_modules/array.prototype.flat/implementation.js +0 -33
- package/dist/node_modules/array.prototype.flat/index.js +0 -28
- package/dist/node_modules/array.prototype.flat/polyfill.js +0 -15
- package/dist/node_modules/array.prototype.flat/shim.js +0 -28
- package/dist/node_modules/call-bind/index.js +0 -34
- package/dist/node_modules/call-bind-apply-helpers/actualApply.js +0 -19
- package/dist/node_modules/call-bind-apply-helpers/applyBind.js +0 -19
- package/dist/node_modules/call-bind-apply-helpers/functionApply.js +0 -11
- package/dist/node_modules/call-bind-apply-helpers/functionCall.js +0 -11
- package/dist/node_modules/call-bind-apply-helpers/index.js +0 -24
- package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +0 -11
- package/dist/node_modules/call-bound/index.js +0 -28
- package/dist/node_modules/clsx/dist/clsx.js +0 -17
- package/dist/node_modules/define-data-property/index.js +0 -55
- package/dist/node_modules/define-properties/index.js +0 -50
- package/dist/node_modules/dompurify/dist/purify.es.js +0 -1012
- package/dist/node_modules/dunder-proto/get.js +0 -36
- package/dist/node_modules/dunder-proto/set.js +0 -40
- package/dist/node_modules/emoji-picker-react/dist/emoji-picker-react.esm.js +0 -25708
- package/dist/node_modules/es-abstract/2024/ArrayCreate.js +0 -45
- package/dist/node_modules/es-abstract/2024/ArraySpeciesCreate.js +0 -50
- package/dist/node_modules/es-abstract/2024/Call.js +0 -26
- package/dist/node_modules/es-abstract/2024/CreateDataProperty.js +0 -33
- package/dist/node_modules/es-abstract/2024/CreateDataPropertyOrThrow.js +0 -30
- package/dist/node_modules/es-abstract/2024/DefinePropertyOrThrow.js +0 -48
- package/dist/node_modules/es-abstract/2024/FlattenIntoArray.js +0 -65
- package/dist/node_modules/es-abstract/2024/FromPropertyDescriptor.js +0 -22
- package/dist/node_modules/es-abstract/2024/Get.js +0 -27
- package/dist/node_modules/es-abstract/2024/HasProperty.js +0 -25
- package/dist/node_modules/es-abstract/2024/IsAccessorDescriptor.js +0 -28
- package/dist/node_modules/es-abstract/2024/IsArray.js +0 -12
- package/dist/node_modules/es-abstract/2024/IsCallable.js +0 -12
- package/dist/node_modules/es-abstract/2024/IsConstructor.js +0 -42
- package/dist/node_modules/es-abstract/2024/IsDataDescriptor.js +0 -28
- package/dist/node_modules/es-abstract/2024/IsExtensible.js +0 -21
- package/dist/node_modules/es-abstract/2024/IsGenericDescriptor.js +0 -30
- package/dist/node_modules/es-abstract/2024/LengthOfArrayLike.js +0 -24
- package/dist/node_modules/es-abstract/2024/OrdinaryDefineOwnProperty.js +0 -59
- package/dist/node_modules/es-abstract/2024/SameValue.js +0 -21
- package/dist/node_modules/es-abstract/2024/StringToNumber.js +0 -48
- package/dist/node_modules/es-abstract/2024/ToBoolean.js +0 -13
- package/dist/node_modules/es-abstract/2024/ToIntegerOrInfinity.js +0 -28
- package/dist/node_modules/es-abstract/2024/ToLength.js +0 -24
- package/dist/node_modules/es-abstract/2024/ToNumber.js +0 -34
- package/dist/node_modules/es-abstract/2024/ToObject.js +0 -12
- package/dist/node_modules/es-abstract/2024/ToPrimitive.js +0 -18
- package/dist/node_modules/es-abstract/2024/ToPropertyDescriptor.js +0 -56
- package/dist/node_modules/es-abstract/2024/ToString.js +0 -21
- package/dist/node_modules/es-abstract/2024/ValidateAndApplyPropertyDescriptor.js +0 -161
- package/dist/node_modules/es-abstract/2024/floor.js +0 -18
- package/dist/node_modules/es-abstract/2024/truncate.js +0 -21
- package/dist/node_modules/es-abstract/GetIntrinsic.js +0 -12
- package/dist/node_modules/es-abstract/helpers/DefineOwnProperty.js +0 -42
- package/dist/node_modules/es-abstract/helpers/IsArray.js +0 -18
- package/dist/node_modules/es-abstract/helpers/fromPropertyDescriptor.js +0 -35
- package/dist/node_modules/es-abstract/helpers/isFullyPopulatedPropertyDescriptor.js +0 -15
- package/dist/node_modules/es-abstract/helpers/isPrimitive.js +0 -13
- package/dist/node_modules/es-abstract/helpers/isPropertyKey.js +0 -13
- package/dist/node_modules/es-abstract/helpers/records/property-descriptor.js +0 -39
- package/dist/node_modules/es-define-property/index.js +0 -19
- package/dist/node_modules/es-errors/eval.js +0 -11
- package/dist/node_modules/es-errors/index.js +0 -11
- package/dist/node_modules/es-errors/range.js +0 -11
- package/dist/node_modules/es-errors/ref.js +0 -11
- package/dist/node_modules/es-errors/syntax.js +0 -11
- package/dist/node_modules/es-errors/type.js +0 -11
- package/dist/node_modules/es-errors/uri.js +0 -11
- package/dist/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -18
- package/dist/node_modules/es-object-atoms/ToObject.js +0 -18
- package/dist/node_modules/es-object-atoms/index.js +0 -11
- package/dist/node_modules/es-object-atoms/isObject.js +0 -13
- package/dist/node_modules/es-shim-unscopables/index.js +0 -26
- package/dist/node_modules/es-to-primitive/es2015.js +0 -89
- package/dist/node_modules/es-to-primitive/helpers/isPrimitive.js +0 -13
- package/dist/node_modules/flairup/dist/esm/index.js +0 -334
- package/dist/node_modules/function-bind/implementation.js +0 -79
- package/dist/node_modules/function-bind/index.js +0 -13
- package/dist/node_modules/get-intrinsic/index.js +0 -358
- package/dist/node_modules/get-proto/Object.getPrototypeOf.js +0 -13
- package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -11
- package/dist/node_modules/get-proto/index.js +0 -26
- package/dist/node_modules/global-cache/index.js +0 -85
- package/dist/node_modules/gopd/gOPD.js +0 -11
- package/dist/node_modules/gopd/index.js +0 -20
- package/dist/node_modules/has-property-descriptors/index.js +0 -26
- package/dist/node_modules/has-symbols/index.js +0 -28
- package/dist/node_modules/has-symbols/shams.js +0 -58
- package/dist/node_modules/has-tostringtag/shams.js +0 -15
- package/dist/node_modules/hasown/index.js +0 -15
- package/dist/node_modules/highcharts/highcharts-3d.js +0 -768
- package/dist/node_modules/highcharts/highcharts-more.js +0 -1814
- package/dist/node_modules/highcharts/highcharts.js +0 -5153
- package/dist/node_modules/highcharts/modules/heatmap.js +0 -416
- package/dist/node_modules/highcharts/modules/stock.js +0 -2095
- package/dist/node_modules/highcharts/modules/treemap.js +0 -558
- package/dist/node_modules/highcharts/modules/venn.js +0 -434
- package/dist/node_modules/highcharts-border-radius/index.js +0 -92
- package/dist/node_modules/highcharts-react-official/dist/highcharts-react.min.js +0 -106
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -20
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -165
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -106
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -12
- package/dist/node_modules/is-callable/index.js +0 -120
- package/dist/node_modules/is-date-object/index.js +0 -31
- package/dist/node_modules/is-regex/index.js +0 -70
- package/dist/node_modules/is-symbol/index.js +0 -44
- package/dist/node_modules/linkifyjs/dist/linkify.js +0 -1158
- package/dist/node_modules/math-intrinsics/abs.js +0 -11
- package/dist/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -11
- package/dist/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -12
- package/dist/node_modules/math-intrinsics/floor.js +0 -11
- package/dist/node_modules/math-intrinsics/isFinite.js +0 -15
- package/dist/node_modules/math-intrinsics/isInteger.js +0 -25
- package/dist/node_modules/math-intrinsics/isNaN.js +0 -13
- package/dist/node_modules/math-intrinsics/max.js +0 -11
- package/dist/node_modules/math-intrinsics/min.js +0 -11
- package/dist/node_modules/math-intrinsics/pow.js +0 -11
- package/dist/node_modules/math-intrinsics/round.js +0 -11
- package/dist/node_modules/math-intrinsics/sign.js +0 -18
- package/dist/node_modules/memoize-one/dist/memoize-one.esm.js +0 -52
- package/dist/node_modules/object-assign/index.js +0 -78
- package/dist/node_modules/object-inspect/index.js +0 -537
- package/dist/node_modules/object-keys/implementation.js +0 -125
- package/dist/node_modules/object-keys/index.js +0 -39
- package/dist/node_modules/object-keys/isArguments.js +0 -19
- package/dist/node_modules/orderedmap/dist/index.js +0 -119
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -68
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -58
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -451
- package/dist/node_modules/prop-types/index.js +0 -17
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
- package/dist/node_modules/prop-types/lib/has.js +0 -11
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -165
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -106
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -17
- package/dist/node_modules/prosemirror-commands/dist/index.js +0 -526
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -136
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -220
- package/dist/node_modules/prosemirror-history/dist/index.js +0 -356
- package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -83
- package/dist/node_modules/prosemirror-model/dist/index.js +0 -3208
- package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -130
- package/dist/node_modules/prosemirror-state/dist/index.js +0 -935
- package/dist/node_modules/prosemirror-transform/dist/index.js +0 -1861
- package/dist/node_modules/prosemirror-view/dist/index.js +0 -5223
- package/dist/node_modules/react-hook-form/dist/index.esm.js +0 -2089
- package/dist/node_modules/react-is/cjs/react-is.development.js +0 -105
- package/dist/node_modules/react-is/cjs/react-is.production.js +0 -103
- package/dist/node_modules/react-is/index.js +0 -12
- package/dist/node_modules/react-router/dist/index.js +0 -375
- package/dist/node_modules/react-router-dom/dist/index.js +0 -521
- package/dist/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2317
- package/dist/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1071
- package/dist/node_modules/react-select/dist/react-select.esm.js +0 -20
- package/dist/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -51
- package/dist/node_modules/react-textarea-autosize/dist/react-textarea-autosize.browser.esm.js +0 -213
- package/dist/node_modules/react-transition-group/esm/Transition.js +0 -439
- package/dist/node_modules/react-transition-group/esm/TransitionGroup.js +0 -144
- package/dist/node_modules/react-transition-group/esm/TransitionGroupContext.js +0 -5
- package/dist/node_modules/react-transition-group/esm/config.js +0 -6
- package/dist/node_modules/react-transition-group/esm/utils/ChildMapping.js +0 -99
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +0 -21
- package/dist/node_modules/react-transition-group/esm/utils/reflow.js +0 -6
- package/dist/node_modules/react-window/dist/index.esm.js +0 -505
- package/dist/node_modules/react-window/node_modules/memoize-one/dist/memoize-one.esm.js +0 -50
- package/dist/node_modules/react-with-styles-interface-css/dist/index.js +0 -57
- package/dist/node_modules/react-with-styles-interface-css/dist/utils/constants.js +0 -18
- package/dist/node_modules/react-with-styles-interface-css/dist/utils/getClassName.js +0 -20
- package/dist/node_modules/react-with-styles-interface-css/dist/utils/separateStyles.js +0 -39
- package/dist/node_modules/react-with-styles-interface-css/index.js +0 -12
- package/dist/node_modules/rope-sequence/dist/index.js +0 -183
- package/dist/node_modules/safe-regex-test/index.js +0 -25
- package/dist/node_modules/set-function-length/index.js +0 -61
- package/dist/node_modules/set-proto/Object.setPrototypeOf.js +0 -13
- package/dist/node_modules/set-proto/Reflect.setPrototypeOf.js +0 -11
- package/dist/node_modules/set-proto/index.js +0 -27
- package/dist/node_modules/string.prototype.trim/implementation.js +0 -24
- package/dist/node_modules/string.prototype.trim/index.js +0 -33
- package/dist/node_modules/string.prototype.trim/polyfill.js +0 -20
- package/dist/node_modules/string.prototype.trim/shim.js +0 -27
- package/dist/node_modules/stylis/src/Enum.js +0 -20
- package/dist/node_modules/stylis/src/Middleware.js +0 -22
- package/dist/node_modules/stylis/src/Parser.js +0 -140
- package/dist/node_modules/stylis/src/Serializer.js +0 -29
- package/dist/node_modules/stylis/src/Tokenizer.js +0 -150
- package/dist/node_modules/stylis/src/Utility.js +0 -52
- package/dist/node_modules/tippy.js/dist/tippy.esm.js +0 -1283
- package/dist/node_modules/use-composed-ref/dist/use-composed-ref.esm.js +0 -25
- package/dist/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -5
- package/dist/node_modules/use-latest/dist/use-latest.esm.js +0 -12
- package/dist/node_modules/w3c-keyname/index.js +0 -105
- package/dist/stats.html +0 -4950
|
@@ -1,1077 +0,0 @@
|
|
|
1
|
-
import React__default, { useRef, useState, useDebugValue, useEffect, forwardRef, useLayoutEffect, version, createContext, useContext } from "react";
|
|
2
|
-
import ReactDOM__default, { flushSync } from "react-dom";
|
|
3
|
-
import { Editor } from "../../core/dist/index.js";
|
|
4
|
-
import { CommandManager, Extension, InputRule, Mark, Node, NodePos, PasteRule, callOrReturn, canInsertNode, combineTransactionSteps, createChainableState, createDocument, createNodeFromContent, createStyleTag, defaultBlockAt, deleteProps, elementFromString, escapeForRegEx, findChildrenInRange, findDuplicates, findParentNode, findParentNodeClosestToPos, fromString, getAttributes, getAttributesFromExtensions, getChangedRanges, getExtensionField, getHTMLFromFragment, getMarkAttributes, getMarkRange, getMarkType, getMarksBetween, getNodeAttributes, getNodeType, getRenderedAttributes, getSchemaByResolvedExtensions, getSchemaTypeByName, getSchemaTypeNameByName, getSplittedAttributes, getText, getTextBetween, getTextContentFromNodes, getTextSerializersFromSchema, injectExtensionAttributesToParseRule, inputRulesPlugin, isActive, isEmptyObject, isExtensionRulesEnabled, isFunction, isList, isMacOS, isMarkActive, isNodeActive, isNodeEmpty, isNodeSelection, isNumber, isPlainObject, isRegExp, isSafari, isTextSelection, isiOS, markInputRule, markPasteRule, mergeAttributes, mergeDeep, minMax, nodeInputRule, objectIncludes, pasteRulesPlugin, removeDuplicates, resolveFocusPosition, selectionToInsertionEnd, splitExtensions, textblockTypeInputRule, wrappingInputRule } from "../../core/dist/index.js";
|
|
5
|
-
function getDefaultExportFromCjs(x) {
|
|
6
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
7
|
-
}
|
|
8
|
-
var shim = { exports: {} };
|
|
9
|
-
var useSyncExternalStoreShim_production_min = {};
|
|
10
|
-
/**
|
|
11
|
-
* @license React
|
|
12
|
-
* use-sync-external-store-shim.production.min.js
|
|
13
|
-
*
|
|
14
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the MIT license found in the
|
|
17
|
-
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/
|
|
19
|
-
var hasRequiredUseSyncExternalStoreShim_production_min;
|
|
20
|
-
function requireUseSyncExternalStoreShim_production_min() {
|
|
21
|
-
if (hasRequiredUseSyncExternalStoreShim_production_min) return useSyncExternalStoreShim_production_min;
|
|
22
|
-
hasRequiredUseSyncExternalStoreShim_production_min = 1;
|
|
23
|
-
var e = React__default;
|
|
24
|
-
function h(a, b) {
|
|
25
|
-
return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
|
|
26
|
-
}
|
|
27
|
-
var k = "function" === typeof Object.is ? Object.is : h, l = e.useState, m = e.useEffect, n = e.useLayoutEffect, p = e.useDebugValue;
|
|
28
|
-
function q(a, b) {
|
|
29
|
-
var d = b(), f = l({ inst: { value: d, getSnapshot: b } }), c = f[0].inst, g = f[1];
|
|
30
|
-
n(function() {
|
|
31
|
-
c.value = d;
|
|
32
|
-
c.getSnapshot = b;
|
|
33
|
-
r(c) && g({ inst: c });
|
|
34
|
-
}, [a, d, b]);
|
|
35
|
-
m(function() {
|
|
36
|
-
r(c) && g({ inst: c });
|
|
37
|
-
return a(function() {
|
|
38
|
-
r(c) && g({ inst: c });
|
|
39
|
-
});
|
|
40
|
-
}, [a]);
|
|
41
|
-
p(d);
|
|
42
|
-
return d;
|
|
43
|
-
}
|
|
44
|
-
function r(a) {
|
|
45
|
-
var b = a.getSnapshot;
|
|
46
|
-
a = a.value;
|
|
47
|
-
try {
|
|
48
|
-
var d = b();
|
|
49
|
-
return !k(a, d);
|
|
50
|
-
} catch (f) {
|
|
51
|
-
return true;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
function t(a, b) {
|
|
55
|
-
return b();
|
|
56
|
-
}
|
|
57
|
-
var u = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? t : q;
|
|
58
|
-
useSyncExternalStoreShim_production_min.useSyncExternalStore = void 0 !== e.useSyncExternalStore ? e.useSyncExternalStore : u;
|
|
59
|
-
return useSyncExternalStoreShim_production_min;
|
|
60
|
-
}
|
|
61
|
-
var useSyncExternalStoreShim_development = {};
|
|
62
|
-
/**
|
|
63
|
-
* @license React
|
|
64
|
-
* use-sync-external-store-shim.development.js
|
|
65
|
-
*
|
|
66
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
67
|
-
*
|
|
68
|
-
* This source code is licensed under the MIT license found in the
|
|
69
|
-
* LICENSE file in the root directory of this source tree.
|
|
70
|
-
*/
|
|
71
|
-
var hasRequiredUseSyncExternalStoreShim_development;
|
|
72
|
-
function requireUseSyncExternalStoreShim_development() {
|
|
73
|
-
if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
|
|
74
|
-
hasRequiredUseSyncExternalStoreShim_development = 1;
|
|
75
|
-
if (process.env.NODE_ENV !== "production") {
|
|
76
|
-
(function() {
|
|
77
|
-
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
|
|
78
|
-
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
79
|
-
}
|
|
80
|
-
var React$1 = React__default;
|
|
81
|
-
var ReactSharedInternals = React$1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
82
|
-
function error(format) {
|
|
83
|
-
{
|
|
84
|
-
{
|
|
85
|
-
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
86
|
-
args[_key2 - 1] = arguments[_key2];
|
|
87
|
-
}
|
|
88
|
-
printWarning("error", format, args);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
function printWarning(level, format, args) {
|
|
93
|
-
{
|
|
94
|
-
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
95
|
-
var stack = ReactDebugCurrentFrame.getStackAddendum();
|
|
96
|
-
if (stack !== "") {
|
|
97
|
-
format += "%s";
|
|
98
|
-
args = args.concat([stack]);
|
|
99
|
-
}
|
|
100
|
-
var argsWithFormat = args.map(function(item) {
|
|
101
|
-
return String(item);
|
|
102
|
-
});
|
|
103
|
-
argsWithFormat.unshift("Warning: " + format);
|
|
104
|
-
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
function is(x, y) {
|
|
108
|
-
return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
|
|
109
|
-
}
|
|
110
|
-
var objectIs = typeof Object.is === "function" ? Object.is : is;
|
|
111
|
-
var useState2 = React$1.useState, useEffect2 = React$1.useEffect, useLayoutEffect2 = React$1.useLayoutEffect, useDebugValue2 = React$1.useDebugValue;
|
|
112
|
-
var didWarnOld18Alpha = false;
|
|
113
|
-
var didWarnUncachedGetSnapshot = false;
|
|
114
|
-
function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
|
|
115
|
-
{
|
|
116
|
-
if (!didWarnOld18Alpha) {
|
|
117
|
-
if (React$1.startTransition !== void 0) {
|
|
118
|
-
didWarnOld18Alpha = true;
|
|
119
|
-
error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.");
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
var value = getSnapshot();
|
|
124
|
-
{
|
|
125
|
-
if (!didWarnUncachedGetSnapshot) {
|
|
126
|
-
var cachedValue = getSnapshot();
|
|
127
|
-
if (!objectIs(value, cachedValue)) {
|
|
128
|
-
error("The result of getSnapshot should be cached to avoid an infinite loop");
|
|
129
|
-
didWarnUncachedGetSnapshot = true;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
var _useState = useState2({
|
|
134
|
-
inst: {
|
|
135
|
-
value,
|
|
136
|
-
getSnapshot
|
|
137
|
-
}
|
|
138
|
-
}), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
139
|
-
useLayoutEffect2(function() {
|
|
140
|
-
inst.value = value;
|
|
141
|
-
inst.getSnapshot = getSnapshot;
|
|
142
|
-
if (checkIfSnapshotChanged(inst)) {
|
|
143
|
-
forceUpdate({
|
|
144
|
-
inst
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
}, [subscribe, value, getSnapshot]);
|
|
148
|
-
useEffect2(function() {
|
|
149
|
-
if (checkIfSnapshotChanged(inst)) {
|
|
150
|
-
forceUpdate({
|
|
151
|
-
inst
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
var handleStoreChange = function() {
|
|
155
|
-
if (checkIfSnapshotChanged(inst)) {
|
|
156
|
-
forceUpdate({
|
|
157
|
-
inst
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
return subscribe(handleStoreChange);
|
|
162
|
-
}, [subscribe]);
|
|
163
|
-
useDebugValue2(value);
|
|
164
|
-
return value;
|
|
165
|
-
}
|
|
166
|
-
function checkIfSnapshotChanged(inst) {
|
|
167
|
-
var latestGetSnapshot = inst.getSnapshot;
|
|
168
|
-
var prevValue = inst.value;
|
|
169
|
-
try {
|
|
170
|
-
var nextValue = latestGetSnapshot();
|
|
171
|
-
return !objectIs(prevValue, nextValue);
|
|
172
|
-
} catch (error2) {
|
|
173
|
-
return true;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
function useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {
|
|
177
|
-
return getSnapshot();
|
|
178
|
-
}
|
|
179
|
-
var canUseDOM = !!(typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined");
|
|
180
|
-
var isServerEnvironment = !canUseDOM;
|
|
181
|
-
var shim2 = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;
|
|
182
|
-
var useSyncExternalStore$2 = React$1.useSyncExternalStore !== void 0 ? React$1.useSyncExternalStore : shim2;
|
|
183
|
-
useSyncExternalStoreShim_development.useSyncExternalStore = useSyncExternalStore$2;
|
|
184
|
-
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
|
|
185
|
-
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
186
|
-
}
|
|
187
|
-
})();
|
|
188
|
-
}
|
|
189
|
-
return useSyncExternalStoreShim_development;
|
|
190
|
-
}
|
|
191
|
-
if (process.env.NODE_ENV === "production") {
|
|
192
|
-
shim.exports = requireUseSyncExternalStoreShim_production_min();
|
|
193
|
-
} else {
|
|
194
|
-
shim.exports = requireUseSyncExternalStoreShim_development();
|
|
195
|
-
}
|
|
196
|
-
var shimExports = shim.exports;
|
|
197
|
-
const mergeRefs = (...refs) => {
|
|
198
|
-
return (node) => {
|
|
199
|
-
refs.forEach((ref) => {
|
|
200
|
-
if (typeof ref === "function") {
|
|
201
|
-
ref(node);
|
|
202
|
-
} else if (ref) {
|
|
203
|
-
ref.current = node;
|
|
204
|
-
}
|
|
205
|
-
});
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
const Portals = ({ contentComponent }) => {
|
|
209
|
-
const renderers = shimExports.useSyncExternalStore(contentComponent.subscribe, contentComponent.getSnapshot, contentComponent.getServerSnapshot);
|
|
210
|
-
return React__default.createElement(React__default.Fragment, null, Object.values(renderers));
|
|
211
|
-
};
|
|
212
|
-
function getInstance() {
|
|
213
|
-
const subscribers = /* @__PURE__ */ new Set();
|
|
214
|
-
let renderers = {};
|
|
215
|
-
return {
|
|
216
|
-
/**
|
|
217
|
-
* Subscribe to the editor instance's changes.
|
|
218
|
-
*/
|
|
219
|
-
subscribe(callback) {
|
|
220
|
-
subscribers.add(callback);
|
|
221
|
-
return () => {
|
|
222
|
-
subscribers.delete(callback);
|
|
223
|
-
};
|
|
224
|
-
},
|
|
225
|
-
getSnapshot() {
|
|
226
|
-
return renderers;
|
|
227
|
-
},
|
|
228
|
-
getServerSnapshot() {
|
|
229
|
-
return renderers;
|
|
230
|
-
},
|
|
231
|
-
/**
|
|
232
|
-
* Adds a new NodeView Renderer to the editor.
|
|
233
|
-
*/
|
|
234
|
-
setRenderer(id, renderer) {
|
|
235
|
-
renderers = {
|
|
236
|
-
...renderers,
|
|
237
|
-
[id]: ReactDOM__default.createPortal(renderer.reactElement, renderer.element, id)
|
|
238
|
-
};
|
|
239
|
-
subscribers.forEach((subscriber) => subscriber());
|
|
240
|
-
},
|
|
241
|
-
/**
|
|
242
|
-
* Removes a NodeView Renderer from the editor.
|
|
243
|
-
*/
|
|
244
|
-
removeRenderer(id) {
|
|
245
|
-
const nextRenderers = { ...renderers };
|
|
246
|
-
delete nextRenderers[id];
|
|
247
|
-
renderers = nextRenderers;
|
|
248
|
-
subscribers.forEach((subscriber) => subscriber());
|
|
249
|
-
}
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
class PureEditorContent extends React__default.Component {
|
|
253
|
-
constructor(props) {
|
|
254
|
-
var _a;
|
|
255
|
-
super(props);
|
|
256
|
-
this.editorContentRef = React__default.createRef();
|
|
257
|
-
this.initialized = false;
|
|
258
|
-
this.state = {
|
|
259
|
-
hasContentComponentInitialized: Boolean((_a = props.editor) === null || _a === void 0 ? void 0 : _a.contentComponent)
|
|
260
|
-
};
|
|
261
|
-
}
|
|
262
|
-
componentDidMount() {
|
|
263
|
-
this.init();
|
|
264
|
-
}
|
|
265
|
-
componentDidUpdate() {
|
|
266
|
-
this.init();
|
|
267
|
-
}
|
|
268
|
-
init() {
|
|
269
|
-
const editor = this.props.editor;
|
|
270
|
-
if (editor && !editor.isDestroyed && editor.options.element) {
|
|
271
|
-
if (editor.contentComponent) {
|
|
272
|
-
return;
|
|
273
|
-
}
|
|
274
|
-
const element = this.editorContentRef.current;
|
|
275
|
-
element.append(...editor.options.element.childNodes);
|
|
276
|
-
editor.setOptions({
|
|
277
|
-
element
|
|
278
|
-
});
|
|
279
|
-
editor.contentComponent = getInstance();
|
|
280
|
-
if (!this.state.hasContentComponentInitialized) {
|
|
281
|
-
this.unsubscribeToContentComponent = editor.contentComponent.subscribe(() => {
|
|
282
|
-
this.setState((prevState) => {
|
|
283
|
-
if (!prevState.hasContentComponentInitialized) {
|
|
284
|
-
return {
|
|
285
|
-
hasContentComponentInitialized: true
|
|
286
|
-
};
|
|
287
|
-
}
|
|
288
|
-
return prevState;
|
|
289
|
-
});
|
|
290
|
-
if (this.unsubscribeToContentComponent) {
|
|
291
|
-
this.unsubscribeToContentComponent();
|
|
292
|
-
}
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
editor.createNodeViews();
|
|
296
|
-
this.initialized = true;
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
componentWillUnmount() {
|
|
300
|
-
const editor = this.props.editor;
|
|
301
|
-
if (!editor) {
|
|
302
|
-
return;
|
|
303
|
-
}
|
|
304
|
-
this.initialized = false;
|
|
305
|
-
if (!editor.isDestroyed) {
|
|
306
|
-
editor.view.setProps({
|
|
307
|
-
nodeViews: {}
|
|
308
|
-
});
|
|
309
|
-
}
|
|
310
|
-
if (this.unsubscribeToContentComponent) {
|
|
311
|
-
this.unsubscribeToContentComponent();
|
|
312
|
-
}
|
|
313
|
-
editor.contentComponent = null;
|
|
314
|
-
if (!editor.options.element.firstChild) {
|
|
315
|
-
return;
|
|
316
|
-
}
|
|
317
|
-
const newElement = document.createElement("div");
|
|
318
|
-
newElement.append(...editor.options.element.childNodes);
|
|
319
|
-
editor.setOptions({
|
|
320
|
-
element: newElement
|
|
321
|
-
});
|
|
322
|
-
}
|
|
323
|
-
render() {
|
|
324
|
-
const { editor, innerRef, ...rest } = this.props;
|
|
325
|
-
return React__default.createElement(
|
|
326
|
-
React__default.Fragment,
|
|
327
|
-
null,
|
|
328
|
-
React__default.createElement("div", { ref: mergeRefs(innerRef, this.editorContentRef), ...rest }),
|
|
329
|
-
(editor === null || editor === void 0 ? void 0 : editor.contentComponent) && React__default.createElement(Portals, { contentComponent: editor.contentComponent })
|
|
330
|
-
);
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
const EditorContentWithKey = forwardRef((props, ref) => {
|
|
334
|
-
const key = React__default.useMemo(() => {
|
|
335
|
-
return Math.floor(Math.random() * 4294967295).toString();
|
|
336
|
-
}, [props.editor]);
|
|
337
|
-
return React__default.createElement(PureEditorContent, {
|
|
338
|
-
key,
|
|
339
|
-
innerRef: ref,
|
|
340
|
-
...props
|
|
341
|
-
});
|
|
342
|
-
});
|
|
343
|
-
const EditorContent = React__default.memo(EditorContentWithKey);
|
|
344
|
-
var react = function equal(a, b) {
|
|
345
|
-
if (a === b) return true;
|
|
346
|
-
if (a && b && typeof a == "object" && typeof b == "object") {
|
|
347
|
-
if (a.constructor !== b.constructor) return false;
|
|
348
|
-
var length, i, keys;
|
|
349
|
-
if (Array.isArray(a)) {
|
|
350
|
-
length = a.length;
|
|
351
|
-
if (length != b.length) return false;
|
|
352
|
-
for (i = length; i-- !== 0; )
|
|
353
|
-
if (!equal(a[i], b[i])) return false;
|
|
354
|
-
return true;
|
|
355
|
-
}
|
|
356
|
-
if (a instanceof Map && b instanceof Map) {
|
|
357
|
-
if (a.size !== b.size) return false;
|
|
358
|
-
for (i of a.entries())
|
|
359
|
-
if (!b.has(i[0])) return false;
|
|
360
|
-
for (i of a.entries())
|
|
361
|
-
if (!equal(i[1], b.get(i[0]))) return false;
|
|
362
|
-
return true;
|
|
363
|
-
}
|
|
364
|
-
if (a instanceof Set && b instanceof Set) {
|
|
365
|
-
if (a.size !== b.size) return false;
|
|
366
|
-
for (i of a.entries())
|
|
367
|
-
if (!b.has(i[0])) return false;
|
|
368
|
-
return true;
|
|
369
|
-
}
|
|
370
|
-
if (ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
371
|
-
length = a.length;
|
|
372
|
-
if (length != b.length) return false;
|
|
373
|
-
for (i = length; i-- !== 0; )
|
|
374
|
-
if (a[i] !== b[i]) return false;
|
|
375
|
-
return true;
|
|
376
|
-
}
|
|
377
|
-
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
378
|
-
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
379
|
-
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
380
|
-
keys = Object.keys(a);
|
|
381
|
-
length = keys.length;
|
|
382
|
-
if (length !== Object.keys(b).length) return false;
|
|
383
|
-
for (i = length; i-- !== 0; )
|
|
384
|
-
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
385
|
-
for (i = length; i-- !== 0; ) {
|
|
386
|
-
var key = keys[i];
|
|
387
|
-
if (key === "_owner" && a.$$typeof) {
|
|
388
|
-
continue;
|
|
389
|
-
}
|
|
390
|
-
if (!equal(a[key], b[key])) return false;
|
|
391
|
-
}
|
|
392
|
-
return true;
|
|
393
|
-
}
|
|
394
|
-
return a !== a && b !== b;
|
|
395
|
-
};
|
|
396
|
-
var deepEqual = /* @__PURE__ */ getDefaultExportFromCjs(react);
|
|
397
|
-
var withSelector = { exports: {} };
|
|
398
|
-
var withSelector_production_min = {};
|
|
399
|
-
/**
|
|
400
|
-
* @license React
|
|
401
|
-
* use-sync-external-store-shim/with-selector.production.min.js
|
|
402
|
-
*
|
|
403
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
404
|
-
*
|
|
405
|
-
* This source code is licensed under the MIT license found in the
|
|
406
|
-
* LICENSE file in the root directory of this source tree.
|
|
407
|
-
*/
|
|
408
|
-
var hasRequiredWithSelector_production_min;
|
|
409
|
-
function requireWithSelector_production_min() {
|
|
410
|
-
if (hasRequiredWithSelector_production_min) return withSelector_production_min;
|
|
411
|
-
hasRequiredWithSelector_production_min = 1;
|
|
412
|
-
var h = React__default, n = shimExports;
|
|
413
|
-
function p(a, b) {
|
|
414
|
-
return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
|
|
415
|
-
}
|
|
416
|
-
var q = "function" === typeof Object.is ? Object.is : p, r = n.useSyncExternalStore, t = h.useRef, u = h.useEffect, v = h.useMemo, w = h.useDebugValue;
|
|
417
|
-
withSelector_production_min.useSyncExternalStoreWithSelector = function(a, b, e, l, g) {
|
|
418
|
-
var c = t(null);
|
|
419
|
-
if (null === c.current) {
|
|
420
|
-
var f = { hasValue: false, value: null };
|
|
421
|
-
c.current = f;
|
|
422
|
-
} else f = c.current;
|
|
423
|
-
c = v(function() {
|
|
424
|
-
function a2(a3) {
|
|
425
|
-
if (!c2) {
|
|
426
|
-
c2 = true;
|
|
427
|
-
d2 = a3;
|
|
428
|
-
a3 = l(a3);
|
|
429
|
-
if (void 0 !== g && f.hasValue) {
|
|
430
|
-
var b2 = f.value;
|
|
431
|
-
if (g(b2, a3)) return k = b2;
|
|
432
|
-
}
|
|
433
|
-
return k = a3;
|
|
434
|
-
}
|
|
435
|
-
b2 = k;
|
|
436
|
-
if (q(d2, a3)) return b2;
|
|
437
|
-
var e2 = l(a3);
|
|
438
|
-
if (void 0 !== g && g(b2, e2)) return b2;
|
|
439
|
-
d2 = a3;
|
|
440
|
-
return k = e2;
|
|
441
|
-
}
|
|
442
|
-
var c2 = false, d2, k, m = void 0 === e ? null : e;
|
|
443
|
-
return [function() {
|
|
444
|
-
return a2(b());
|
|
445
|
-
}, null === m ? void 0 : function() {
|
|
446
|
-
return a2(m());
|
|
447
|
-
}];
|
|
448
|
-
}, [b, e, l, g]);
|
|
449
|
-
var d = r(a, c[0], c[1]);
|
|
450
|
-
u(function() {
|
|
451
|
-
f.hasValue = true;
|
|
452
|
-
f.value = d;
|
|
453
|
-
}, [d]);
|
|
454
|
-
w(d);
|
|
455
|
-
return d;
|
|
456
|
-
};
|
|
457
|
-
return withSelector_production_min;
|
|
458
|
-
}
|
|
459
|
-
var withSelector_development = {};
|
|
460
|
-
/**
|
|
461
|
-
* @license React
|
|
462
|
-
* use-sync-external-store-shim/with-selector.development.js
|
|
463
|
-
*
|
|
464
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
465
|
-
*
|
|
466
|
-
* This source code is licensed under the MIT license found in the
|
|
467
|
-
* LICENSE file in the root directory of this source tree.
|
|
468
|
-
*/
|
|
469
|
-
var hasRequiredWithSelector_development;
|
|
470
|
-
function requireWithSelector_development() {
|
|
471
|
-
if (hasRequiredWithSelector_development) return withSelector_development;
|
|
472
|
-
hasRequiredWithSelector_development = 1;
|
|
473
|
-
if (process.env.NODE_ENV !== "production") {
|
|
474
|
-
(function() {
|
|
475
|
-
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
|
|
476
|
-
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
477
|
-
}
|
|
478
|
-
var React$1 = React__default;
|
|
479
|
-
var shim2 = shimExports;
|
|
480
|
-
function is(x, y) {
|
|
481
|
-
return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
|
|
482
|
-
}
|
|
483
|
-
var objectIs = typeof Object.is === "function" ? Object.is : is;
|
|
484
|
-
var useSyncExternalStore = shim2.useSyncExternalStore;
|
|
485
|
-
var useRef2 = React$1.useRef, useEffect2 = React$1.useEffect, useMemo = React$1.useMemo, useDebugValue2 = React$1.useDebugValue;
|
|
486
|
-
function useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
|
|
487
|
-
var instRef = useRef2(null);
|
|
488
|
-
var inst;
|
|
489
|
-
if (instRef.current === null) {
|
|
490
|
-
inst = {
|
|
491
|
-
hasValue: false,
|
|
492
|
-
value: null
|
|
493
|
-
};
|
|
494
|
-
instRef.current = inst;
|
|
495
|
-
} else {
|
|
496
|
-
inst = instRef.current;
|
|
497
|
-
}
|
|
498
|
-
var _useMemo = useMemo(function() {
|
|
499
|
-
var hasMemo = false;
|
|
500
|
-
var memoizedSnapshot;
|
|
501
|
-
var memoizedSelection;
|
|
502
|
-
var memoizedSelector = function(nextSnapshot) {
|
|
503
|
-
if (!hasMemo) {
|
|
504
|
-
hasMemo = true;
|
|
505
|
-
memoizedSnapshot = nextSnapshot;
|
|
506
|
-
var _nextSelection = selector(nextSnapshot);
|
|
507
|
-
if (isEqual !== void 0) {
|
|
508
|
-
if (inst.hasValue) {
|
|
509
|
-
var currentSelection = inst.value;
|
|
510
|
-
if (isEqual(currentSelection, _nextSelection)) {
|
|
511
|
-
memoizedSelection = currentSelection;
|
|
512
|
-
return currentSelection;
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
memoizedSelection = _nextSelection;
|
|
517
|
-
return _nextSelection;
|
|
518
|
-
}
|
|
519
|
-
var prevSnapshot = memoizedSnapshot;
|
|
520
|
-
var prevSelection = memoizedSelection;
|
|
521
|
-
if (objectIs(prevSnapshot, nextSnapshot)) {
|
|
522
|
-
return prevSelection;
|
|
523
|
-
}
|
|
524
|
-
var nextSelection = selector(nextSnapshot);
|
|
525
|
-
if (isEqual !== void 0 && isEqual(prevSelection, nextSelection)) {
|
|
526
|
-
return prevSelection;
|
|
527
|
-
}
|
|
528
|
-
memoizedSnapshot = nextSnapshot;
|
|
529
|
-
memoizedSelection = nextSelection;
|
|
530
|
-
return nextSelection;
|
|
531
|
-
};
|
|
532
|
-
var maybeGetServerSnapshot = getServerSnapshot === void 0 ? null : getServerSnapshot;
|
|
533
|
-
var getSnapshotWithSelector = function() {
|
|
534
|
-
return memoizedSelector(getSnapshot());
|
|
535
|
-
};
|
|
536
|
-
var getServerSnapshotWithSelector = maybeGetServerSnapshot === null ? void 0 : function() {
|
|
537
|
-
return memoizedSelector(maybeGetServerSnapshot());
|
|
538
|
-
};
|
|
539
|
-
return [getSnapshotWithSelector, getServerSnapshotWithSelector];
|
|
540
|
-
}, [getSnapshot, getServerSnapshot, selector, isEqual]), getSelection = _useMemo[0], getServerSelection = _useMemo[1];
|
|
541
|
-
var value = useSyncExternalStore(subscribe, getSelection, getServerSelection);
|
|
542
|
-
useEffect2(function() {
|
|
543
|
-
inst.hasValue = true;
|
|
544
|
-
inst.value = value;
|
|
545
|
-
}, [value]);
|
|
546
|
-
useDebugValue2(value);
|
|
547
|
-
return value;
|
|
548
|
-
}
|
|
549
|
-
withSelector_development.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector;
|
|
550
|
-
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
|
|
551
|
-
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
552
|
-
}
|
|
553
|
-
})();
|
|
554
|
-
}
|
|
555
|
-
return withSelector_development;
|
|
556
|
-
}
|
|
557
|
-
if (process.env.NODE_ENV === "production") {
|
|
558
|
-
withSelector.exports = requireWithSelector_production_min();
|
|
559
|
-
} else {
|
|
560
|
-
withSelector.exports = requireWithSelector_development();
|
|
561
|
-
}
|
|
562
|
-
var withSelectorExports = withSelector.exports;
|
|
563
|
-
const useIsomorphicLayoutEffect = typeof window !== "undefined" ? useLayoutEffect : useEffect;
|
|
564
|
-
class EditorStateManager {
|
|
565
|
-
constructor(initialEditor) {
|
|
566
|
-
this.transactionNumber = 0;
|
|
567
|
-
this.lastTransactionNumber = 0;
|
|
568
|
-
this.subscribers = /* @__PURE__ */ new Set();
|
|
569
|
-
this.editor = initialEditor;
|
|
570
|
-
this.lastSnapshot = { editor: initialEditor, transactionNumber: 0 };
|
|
571
|
-
this.getSnapshot = this.getSnapshot.bind(this);
|
|
572
|
-
this.getServerSnapshot = this.getServerSnapshot.bind(this);
|
|
573
|
-
this.watch = this.watch.bind(this);
|
|
574
|
-
this.subscribe = this.subscribe.bind(this);
|
|
575
|
-
}
|
|
576
|
-
/**
|
|
577
|
-
* Get the current editor instance.
|
|
578
|
-
*/
|
|
579
|
-
getSnapshot() {
|
|
580
|
-
if (this.transactionNumber === this.lastTransactionNumber) {
|
|
581
|
-
return this.lastSnapshot;
|
|
582
|
-
}
|
|
583
|
-
this.lastTransactionNumber = this.transactionNumber;
|
|
584
|
-
this.lastSnapshot = { editor: this.editor, transactionNumber: this.transactionNumber };
|
|
585
|
-
return this.lastSnapshot;
|
|
586
|
-
}
|
|
587
|
-
/**
|
|
588
|
-
* Always disable the editor on the server-side.
|
|
589
|
-
*/
|
|
590
|
-
getServerSnapshot() {
|
|
591
|
-
return { editor: null, transactionNumber: 0 };
|
|
592
|
-
}
|
|
593
|
-
/**
|
|
594
|
-
* Subscribe to the editor instance's changes.
|
|
595
|
-
*/
|
|
596
|
-
subscribe(callback) {
|
|
597
|
-
this.subscribers.add(callback);
|
|
598
|
-
return () => {
|
|
599
|
-
this.subscribers.delete(callback);
|
|
600
|
-
};
|
|
601
|
-
}
|
|
602
|
-
/**
|
|
603
|
-
* Watch the editor instance for changes.
|
|
604
|
-
*/
|
|
605
|
-
watch(nextEditor) {
|
|
606
|
-
this.editor = nextEditor;
|
|
607
|
-
if (this.editor) {
|
|
608
|
-
const fn = () => {
|
|
609
|
-
this.transactionNumber += 1;
|
|
610
|
-
this.subscribers.forEach((callback) => callback());
|
|
611
|
-
};
|
|
612
|
-
const currentEditor = this.editor;
|
|
613
|
-
currentEditor.on("transaction", fn);
|
|
614
|
-
return () => {
|
|
615
|
-
currentEditor.off("transaction", fn);
|
|
616
|
-
};
|
|
617
|
-
}
|
|
618
|
-
return void 0;
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
function useEditorState(options) {
|
|
622
|
-
var _a;
|
|
623
|
-
const [editorStateManager] = useState(() => new EditorStateManager(options.editor));
|
|
624
|
-
const selectedState = withSelectorExports.useSyncExternalStoreWithSelector(editorStateManager.subscribe, editorStateManager.getSnapshot, editorStateManager.getServerSnapshot, options.selector, (_a = options.equalityFn) !== null && _a !== void 0 ? _a : deepEqual);
|
|
625
|
-
useIsomorphicLayoutEffect(() => {
|
|
626
|
-
return editorStateManager.watch(options.editor);
|
|
627
|
-
}, [options.editor, editorStateManager]);
|
|
628
|
-
useDebugValue(selectedState);
|
|
629
|
-
return selectedState;
|
|
630
|
-
}
|
|
631
|
-
const isDev = process.env.NODE_ENV !== "production";
|
|
632
|
-
const isSSR = typeof window === "undefined";
|
|
633
|
-
const isNext = isSSR || Boolean(typeof window !== "undefined" && window.next);
|
|
634
|
-
class EditorInstanceManager {
|
|
635
|
-
constructor(options) {
|
|
636
|
-
this.editor = null;
|
|
637
|
-
this.subscriptions = /* @__PURE__ */ new Set();
|
|
638
|
-
this.isComponentMounted = false;
|
|
639
|
-
this.previousDeps = null;
|
|
640
|
-
this.instanceId = "";
|
|
641
|
-
this.options = options;
|
|
642
|
-
this.subscriptions = /* @__PURE__ */ new Set();
|
|
643
|
-
this.setEditor(this.getInitialEditor());
|
|
644
|
-
this.scheduleDestroy();
|
|
645
|
-
this.getEditor = this.getEditor.bind(this);
|
|
646
|
-
this.getServerSnapshot = this.getServerSnapshot.bind(this);
|
|
647
|
-
this.subscribe = this.subscribe.bind(this);
|
|
648
|
-
this.refreshEditorInstance = this.refreshEditorInstance.bind(this);
|
|
649
|
-
this.scheduleDestroy = this.scheduleDestroy.bind(this);
|
|
650
|
-
this.onRender = this.onRender.bind(this);
|
|
651
|
-
this.createEditor = this.createEditor.bind(this);
|
|
652
|
-
}
|
|
653
|
-
setEditor(editor) {
|
|
654
|
-
this.editor = editor;
|
|
655
|
-
this.instanceId = Math.random().toString(36).slice(2, 9);
|
|
656
|
-
this.subscriptions.forEach((cb) => cb());
|
|
657
|
-
}
|
|
658
|
-
getInitialEditor() {
|
|
659
|
-
if (this.options.current.immediatelyRender === void 0) {
|
|
660
|
-
if (isSSR || isNext) {
|
|
661
|
-
if (isDev) {
|
|
662
|
-
console.warn("Tiptap Error: SSR has been detected, please set `immediatelyRender` explicitly to `false` to avoid hydration mismatches.");
|
|
663
|
-
}
|
|
664
|
-
return null;
|
|
665
|
-
}
|
|
666
|
-
return this.createEditor();
|
|
667
|
-
}
|
|
668
|
-
if (this.options.current.immediatelyRender && isSSR && isDev) {
|
|
669
|
-
throw new Error("Tiptap Error: SSR has been detected, and `immediatelyRender` has been set to `true` this is an unsupported configuration that may result in errors, explicitly set `immediatelyRender` to `false` to avoid hydration mismatches.");
|
|
670
|
-
}
|
|
671
|
-
if (this.options.current.immediatelyRender) {
|
|
672
|
-
return this.createEditor();
|
|
673
|
-
}
|
|
674
|
-
return null;
|
|
675
|
-
}
|
|
676
|
-
/**
|
|
677
|
-
* Create a new editor instance. And attach event listeners.
|
|
678
|
-
*/
|
|
679
|
-
createEditor() {
|
|
680
|
-
const optionsToApply = {
|
|
681
|
-
...this.options.current,
|
|
682
|
-
// Always call the most recent version of the callback function by default
|
|
683
|
-
onBeforeCreate: (...args) => {
|
|
684
|
-
var _a, _b;
|
|
685
|
-
return (_b = (_a = this.options.current).onBeforeCreate) === null || _b === void 0 ? void 0 : _b.call(_a, ...args);
|
|
686
|
-
},
|
|
687
|
-
onBlur: (...args) => {
|
|
688
|
-
var _a, _b;
|
|
689
|
-
return (_b = (_a = this.options.current).onBlur) === null || _b === void 0 ? void 0 : _b.call(_a, ...args);
|
|
690
|
-
},
|
|
691
|
-
onCreate: (...args) => {
|
|
692
|
-
var _a, _b;
|
|
693
|
-
return (_b = (_a = this.options.current).onCreate) === null || _b === void 0 ? void 0 : _b.call(_a, ...args);
|
|
694
|
-
},
|
|
695
|
-
onDestroy: (...args) => {
|
|
696
|
-
var _a, _b;
|
|
697
|
-
return (_b = (_a = this.options.current).onDestroy) === null || _b === void 0 ? void 0 : _b.call(_a, ...args);
|
|
698
|
-
},
|
|
699
|
-
onFocus: (...args) => {
|
|
700
|
-
var _a, _b;
|
|
701
|
-
return (_b = (_a = this.options.current).onFocus) === null || _b === void 0 ? void 0 : _b.call(_a, ...args);
|
|
702
|
-
},
|
|
703
|
-
onSelectionUpdate: (...args) => {
|
|
704
|
-
var _a, _b;
|
|
705
|
-
return (_b = (_a = this.options.current).onSelectionUpdate) === null || _b === void 0 ? void 0 : _b.call(_a, ...args);
|
|
706
|
-
},
|
|
707
|
-
onTransaction: (...args) => {
|
|
708
|
-
var _a, _b;
|
|
709
|
-
return (_b = (_a = this.options.current).onTransaction) === null || _b === void 0 ? void 0 : _b.call(_a, ...args);
|
|
710
|
-
},
|
|
711
|
-
onUpdate: (...args) => {
|
|
712
|
-
var _a, _b;
|
|
713
|
-
return (_b = (_a = this.options.current).onUpdate) === null || _b === void 0 ? void 0 : _b.call(_a, ...args);
|
|
714
|
-
},
|
|
715
|
-
onContentError: (...args) => {
|
|
716
|
-
var _a, _b;
|
|
717
|
-
return (_b = (_a = this.options.current).onContentError) === null || _b === void 0 ? void 0 : _b.call(_a, ...args);
|
|
718
|
-
},
|
|
719
|
-
onDrop: (...args) => {
|
|
720
|
-
var _a, _b;
|
|
721
|
-
return (_b = (_a = this.options.current).onDrop) === null || _b === void 0 ? void 0 : _b.call(_a, ...args);
|
|
722
|
-
},
|
|
723
|
-
onPaste: (...args) => {
|
|
724
|
-
var _a, _b;
|
|
725
|
-
return (_b = (_a = this.options.current).onPaste) === null || _b === void 0 ? void 0 : _b.call(_a, ...args);
|
|
726
|
-
}
|
|
727
|
-
};
|
|
728
|
-
const editor = new Editor(optionsToApply);
|
|
729
|
-
return editor;
|
|
730
|
-
}
|
|
731
|
-
/**
|
|
732
|
-
* Get the current editor instance.
|
|
733
|
-
*/
|
|
734
|
-
getEditor() {
|
|
735
|
-
return this.editor;
|
|
736
|
-
}
|
|
737
|
-
/**
|
|
738
|
-
* Always disable the editor on the server-side.
|
|
739
|
-
*/
|
|
740
|
-
getServerSnapshot() {
|
|
741
|
-
return null;
|
|
742
|
-
}
|
|
743
|
-
/**
|
|
744
|
-
* Subscribe to the editor instance's changes.
|
|
745
|
-
*/
|
|
746
|
-
subscribe(onStoreChange) {
|
|
747
|
-
this.subscriptions.add(onStoreChange);
|
|
748
|
-
return () => {
|
|
749
|
-
this.subscriptions.delete(onStoreChange);
|
|
750
|
-
};
|
|
751
|
-
}
|
|
752
|
-
static compareOptions(a, b) {
|
|
753
|
-
return Object.keys(a).every((key) => {
|
|
754
|
-
if (["onCreate", "onBeforeCreate", "onDestroy", "onUpdate", "onTransaction", "onFocus", "onBlur", "onSelectionUpdate", "onContentError", "onDrop", "onPaste"].includes(key)) {
|
|
755
|
-
return true;
|
|
756
|
-
}
|
|
757
|
-
if (key === "extensions" && a.extensions && b.extensions) {
|
|
758
|
-
if (a.extensions.length !== b.extensions.length) {
|
|
759
|
-
return false;
|
|
760
|
-
}
|
|
761
|
-
return a.extensions.every((extension, index) => {
|
|
762
|
-
var _a;
|
|
763
|
-
if (extension !== ((_a = b.extensions) === null || _a === void 0 ? void 0 : _a[index])) {
|
|
764
|
-
return false;
|
|
765
|
-
}
|
|
766
|
-
return true;
|
|
767
|
-
});
|
|
768
|
-
}
|
|
769
|
-
if (a[key] !== b[key]) {
|
|
770
|
-
return false;
|
|
771
|
-
}
|
|
772
|
-
return true;
|
|
773
|
-
});
|
|
774
|
-
}
|
|
775
|
-
/**
|
|
776
|
-
* On each render, we will create, update, or destroy the editor instance.
|
|
777
|
-
* @param deps The dependencies to watch for changes
|
|
778
|
-
* @returns A cleanup function
|
|
779
|
-
*/
|
|
780
|
-
onRender(deps) {
|
|
781
|
-
return () => {
|
|
782
|
-
this.isComponentMounted = true;
|
|
783
|
-
clearTimeout(this.scheduledDestructionTimeout);
|
|
784
|
-
if (this.editor && !this.editor.isDestroyed && deps.length === 0) {
|
|
785
|
-
if (!EditorInstanceManager.compareOptions(this.options.current, this.editor.options)) {
|
|
786
|
-
this.editor.setOptions({
|
|
787
|
-
...this.options.current,
|
|
788
|
-
editable: this.editor.isEditable
|
|
789
|
-
});
|
|
790
|
-
}
|
|
791
|
-
} else {
|
|
792
|
-
this.refreshEditorInstance(deps);
|
|
793
|
-
}
|
|
794
|
-
return () => {
|
|
795
|
-
this.isComponentMounted = false;
|
|
796
|
-
this.scheduleDestroy();
|
|
797
|
-
};
|
|
798
|
-
};
|
|
799
|
-
}
|
|
800
|
-
/**
|
|
801
|
-
* Recreate the editor instance if the dependencies have changed.
|
|
802
|
-
*/
|
|
803
|
-
refreshEditorInstance(deps) {
|
|
804
|
-
if (this.editor && !this.editor.isDestroyed) {
|
|
805
|
-
if (this.previousDeps === null) {
|
|
806
|
-
this.previousDeps = deps;
|
|
807
|
-
return;
|
|
808
|
-
}
|
|
809
|
-
const depsAreEqual = this.previousDeps.length === deps.length && this.previousDeps.every((dep, index) => dep === deps[index]);
|
|
810
|
-
if (depsAreEqual) {
|
|
811
|
-
return;
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
if (this.editor && !this.editor.isDestroyed) {
|
|
815
|
-
this.editor.destroy();
|
|
816
|
-
}
|
|
817
|
-
this.setEditor(this.createEditor());
|
|
818
|
-
this.previousDeps = deps;
|
|
819
|
-
}
|
|
820
|
-
/**
|
|
821
|
-
* Schedule the destruction of the editor instance.
|
|
822
|
-
* This will only destroy the editor if it was not mounted on the next tick.
|
|
823
|
-
* This is to avoid destroying the editor instance when it's actually still mounted.
|
|
824
|
-
*/
|
|
825
|
-
scheduleDestroy() {
|
|
826
|
-
const currentInstanceId = this.instanceId;
|
|
827
|
-
const currentEditor = this.editor;
|
|
828
|
-
this.scheduledDestructionTimeout = setTimeout(() => {
|
|
829
|
-
if (this.isComponentMounted && this.instanceId === currentInstanceId) {
|
|
830
|
-
if (currentEditor) {
|
|
831
|
-
currentEditor.setOptions(this.options.current);
|
|
832
|
-
}
|
|
833
|
-
return;
|
|
834
|
-
}
|
|
835
|
-
if (currentEditor && !currentEditor.isDestroyed) {
|
|
836
|
-
currentEditor.destroy();
|
|
837
|
-
if (this.instanceId === currentInstanceId) {
|
|
838
|
-
this.setEditor(null);
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
}, 1);
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
function useEditor(options = {}, deps = []) {
|
|
845
|
-
const mostRecentOptions = useRef(options);
|
|
846
|
-
mostRecentOptions.current = options;
|
|
847
|
-
const [instanceManager] = useState(() => new EditorInstanceManager(mostRecentOptions));
|
|
848
|
-
const editor = shimExports.useSyncExternalStore(instanceManager.subscribe, instanceManager.getEditor, instanceManager.getServerSnapshot);
|
|
849
|
-
useDebugValue(editor);
|
|
850
|
-
useEffect(instanceManager.onRender(deps));
|
|
851
|
-
useEditorState({
|
|
852
|
-
editor,
|
|
853
|
-
selector: ({ transactionNumber }) => {
|
|
854
|
-
if (options.shouldRerenderOnTransaction === false) {
|
|
855
|
-
return null;
|
|
856
|
-
}
|
|
857
|
-
if (options.immediatelyRender && transactionNumber === 0) {
|
|
858
|
-
return 0;
|
|
859
|
-
}
|
|
860
|
-
return transactionNumber + 1;
|
|
861
|
-
}
|
|
862
|
-
});
|
|
863
|
-
return editor;
|
|
864
|
-
}
|
|
865
|
-
const EditorContext = createContext({
|
|
866
|
-
editor: null
|
|
867
|
-
});
|
|
868
|
-
EditorContext.Consumer;
|
|
869
|
-
const ReactNodeViewContext = createContext({
|
|
870
|
-
onDragStart: void 0
|
|
871
|
-
});
|
|
872
|
-
const useReactNodeView = () => useContext(ReactNodeViewContext);
|
|
873
|
-
React__default.forwardRef((props, ref) => {
|
|
874
|
-
const { onDragStart } = useReactNodeView();
|
|
875
|
-
const Tag = props.as || "div";
|
|
876
|
-
return (
|
|
877
|
-
// @ts-ignore
|
|
878
|
-
React__default.createElement(Tag, { ...props, ref, "data-node-view-wrapper": "", onDragStart, style: {
|
|
879
|
-
whiteSpace: "normal",
|
|
880
|
-
...props.style
|
|
881
|
-
} })
|
|
882
|
-
);
|
|
883
|
-
});
|
|
884
|
-
function isClassComponent(Component) {
|
|
885
|
-
return !!(typeof Component === "function" && Component.prototype && Component.prototype.isReactComponent);
|
|
886
|
-
}
|
|
887
|
-
function isForwardRefComponent(Component) {
|
|
888
|
-
return !!(typeof Component === "object" && Component.$$typeof && (Component.$$typeof.toString() === "Symbol(react.forward_ref)" || Component.$$typeof.description === "react.forward_ref"));
|
|
889
|
-
}
|
|
890
|
-
function isMemoComponent(Component) {
|
|
891
|
-
return !!(typeof Component === "object" && Component.$$typeof && (Component.$$typeof.toString() === "Symbol(react.memo)" || Component.$$typeof.description === "react.memo"));
|
|
892
|
-
}
|
|
893
|
-
function canReceiveRef(Component) {
|
|
894
|
-
if (isClassComponent(Component)) {
|
|
895
|
-
return true;
|
|
896
|
-
}
|
|
897
|
-
if (isForwardRefComponent(Component)) {
|
|
898
|
-
return true;
|
|
899
|
-
}
|
|
900
|
-
if (isMemoComponent(Component)) {
|
|
901
|
-
const wrappedComponent = Component.type;
|
|
902
|
-
if (wrappedComponent) {
|
|
903
|
-
return isClassComponent(wrappedComponent) || isForwardRefComponent(wrappedComponent);
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
return false;
|
|
907
|
-
}
|
|
908
|
-
function isReact19Plus() {
|
|
909
|
-
try {
|
|
910
|
-
if (version) {
|
|
911
|
-
const majorVersion = parseInt(version.split(".")[0], 10);
|
|
912
|
-
return majorVersion >= 19;
|
|
913
|
-
}
|
|
914
|
-
} catch {
|
|
915
|
-
}
|
|
916
|
-
return false;
|
|
917
|
-
}
|
|
918
|
-
class ReactRenderer {
|
|
919
|
-
/**
|
|
920
|
-
* Immediately creates element and renders the provided React component.
|
|
921
|
-
*/
|
|
922
|
-
constructor(component, { editor, props = {}, as = "div", className = "" }) {
|
|
923
|
-
this.ref = null;
|
|
924
|
-
this.id = Math.floor(Math.random() * 4294967295).toString();
|
|
925
|
-
this.component = component;
|
|
926
|
-
this.editor = editor;
|
|
927
|
-
this.props = props;
|
|
928
|
-
this.element = document.createElement(as);
|
|
929
|
-
this.element.classList.add("react-renderer");
|
|
930
|
-
if (className) {
|
|
931
|
-
this.element.classList.add(...className.split(" "));
|
|
932
|
-
}
|
|
933
|
-
if (this.editor.isInitialized) {
|
|
934
|
-
flushSync(() => {
|
|
935
|
-
this.render();
|
|
936
|
-
});
|
|
937
|
-
} else {
|
|
938
|
-
queueMicrotask(() => {
|
|
939
|
-
this.render();
|
|
940
|
-
});
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
/**
|
|
944
|
-
* Render the React component.
|
|
945
|
-
*/
|
|
946
|
-
render() {
|
|
947
|
-
var _a;
|
|
948
|
-
const Component = this.component;
|
|
949
|
-
const props = this.props;
|
|
950
|
-
const editor = this.editor;
|
|
951
|
-
const isReact19 = isReact19Plus();
|
|
952
|
-
const componentCanReceiveRef = canReceiveRef(Component);
|
|
953
|
-
const elementProps = { ...props };
|
|
954
|
-
if (elementProps.ref && !(isReact19 || componentCanReceiveRef)) {
|
|
955
|
-
delete elementProps.ref;
|
|
956
|
-
}
|
|
957
|
-
if (!elementProps.ref && (isReact19 || componentCanReceiveRef)) {
|
|
958
|
-
elementProps.ref = (ref) => {
|
|
959
|
-
this.ref = ref;
|
|
960
|
-
};
|
|
961
|
-
}
|
|
962
|
-
this.reactElement = React__default.createElement(Component, { ...elementProps });
|
|
963
|
-
(_a = editor === null || editor === void 0 ? void 0 : editor.contentComponent) === null || _a === void 0 ? void 0 : _a.setRenderer(this.id, this);
|
|
964
|
-
}
|
|
965
|
-
/**
|
|
966
|
-
* Re-renders the React component with new props.
|
|
967
|
-
*/
|
|
968
|
-
updateProps(props = {}) {
|
|
969
|
-
this.props = {
|
|
970
|
-
...this.props,
|
|
971
|
-
...props
|
|
972
|
-
};
|
|
973
|
-
this.render();
|
|
974
|
-
}
|
|
975
|
-
/**
|
|
976
|
-
* Destroy the React component.
|
|
977
|
-
*/
|
|
978
|
-
destroy() {
|
|
979
|
-
var _a;
|
|
980
|
-
const editor = this.editor;
|
|
981
|
-
(_a = editor === null || editor === void 0 ? void 0 : editor.contentComponent) === null || _a === void 0 ? void 0 : _a.removeRenderer(this.id);
|
|
982
|
-
}
|
|
983
|
-
/**
|
|
984
|
-
* Update the attributes of the element that holds the React component.
|
|
985
|
-
*/
|
|
986
|
-
updateAttributes(attributes) {
|
|
987
|
-
Object.keys(attributes).forEach((key) => {
|
|
988
|
-
this.element.setAttribute(key, attributes[key]);
|
|
989
|
-
});
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
export {
|
|
993
|
-
CommandManager,
|
|
994
|
-
Editor,
|
|
995
|
-
EditorContent,
|
|
996
|
-
EditorContext,
|
|
997
|
-
Extension,
|
|
998
|
-
InputRule,
|
|
999
|
-
Mark,
|
|
1000
|
-
Node,
|
|
1001
|
-
NodePos,
|
|
1002
|
-
PasteRule,
|
|
1003
|
-
PureEditorContent,
|
|
1004
|
-
ReactNodeViewContext,
|
|
1005
|
-
ReactRenderer,
|
|
1006
|
-
callOrReturn,
|
|
1007
|
-
canInsertNode,
|
|
1008
|
-
combineTransactionSteps,
|
|
1009
|
-
createChainableState,
|
|
1010
|
-
createDocument,
|
|
1011
|
-
createNodeFromContent,
|
|
1012
|
-
createStyleTag,
|
|
1013
|
-
defaultBlockAt,
|
|
1014
|
-
deleteProps,
|
|
1015
|
-
elementFromString,
|
|
1016
|
-
escapeForRegEx,
|
|
1017
|
-
findChildrenInRange,
|
|
1018
|
-
findDuplicates,
|
|
1019
|
-
findParentNode,
|
|
1020
|
-
findParentNodeClosestToPos,
|
|
1021
|
-
fromString,
|
|
1022
|
-
getAttributes,
|
|
1023
|
-
getAttributesFromExtensions,
|
|
1024
|
-
getChangedRanges,
|
|
1025
|
-
getExtensionField,
|
|
1026
|
-
getHTMLFromFragment,
|
|
1027
|
-
getMarkAttributes,
|
|
1028
|
-
getMarkRange,
|
|
1029
|
-
getMarkType,
|
|
1030
|
-
getMarksBetween,
|
|
1031
|
-
getNodeAttributes,
|
|
1032
|
-
getNodeType,
|
|
1033
|
-
getRenderedAttributes,
|
|
1034
|
-
getSchemaByResolvedExtensions,
|
|
1035
|
-
getSchemaTypeByName,
|
|
1036
|
-
getSchemaTypeNameByName,
|
|
1037
|
-
getSplittedAttributes,
|
|
1038
|
-
getText,
|
|
1039
|
-
getTextBetween,
|
|
1040
|
-
getTextContentFromNodes,
|
|
1041
|
-
getTextSerializersFromSchema,
|
|
1042
|
-
injectExtensionAttributesToParseRule,
|
|
1043
|
-
inputRulesPlugin,
|
|
1044
|
-
isActive,
|
|
1045
|
-
isEmptyObject,
|
|
1046
|
-
isExtensionRulesEnabled,
|
|
1047
|
-
isFunction,
|
|
1048
|
-
isList,
|
|
1049
|
-
isMacOS,
|
|
1050
|
-
isMarkActive,
|
|
1051
|
-
isNodeActive,
|
|
1052
|
-
isNodeEmpty,
|
|
1053
|
-
isNodeSelection,
|
|
1054
|
-
isNumber,
|
|
1055
|
-
isPlainObject,
|
|
1056
|
-
isRegExp,
|
|
1057
|
-
isSafari,
|
|
1058
|
-
isTextSelection,
|
|
1059
|
-
isiOS,
|
|
1060
|
-
markInputRule,
|
|
1061
|
-
markPasteRule,
|
|
1062
|
-
mergeAttributes,
|
|
1063
|
-
mergeDeep,
|
|
1064
|
-
minMax,
|
|
1065
|
-
nodeInputRule,
|
|
1066
|
-
objectIncludes,
|
|
1067
|
-
pasteRulesPlugin,
|
|
1068
|
-
removeDuplicates,
|
|
1069
|
-
resolveFocusPosition,
|
|
1070
|
-
selectionToInsertionEnd,
|
|
1071
|
-
splitExtensions,
|
|
1072
|
-
textblockTypeInputRule,
|
|
1073
|
-
useEditor,
|
|
1074
|
-
useEditorState,
|
|
1075
|
-
useReactNodeView,
|
|
1076
|
-
wrappingInputRule
|
|
1077
|
-
};
|