@gientech/modual 2.2.14 → 2.2.16
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/README.md +32 -7
- package/assistantConfig.d.ts +4 -32
- package/chat.d.ts +0 -9
- package/chatCompare.d.ts +0 -9
- package/database.d.ts +0 -9
- package/databaseId.d.ts +0 -9
- package/databaseTable.d.ts +0 -9
- package/index.d.ts +0 -9
- package/init.d.ts +1 -0
- package/init.js +1 -0
- package/modelManage.d.ts +0 -9
- package/package.json +6 -1
- package/prism-setup.d.ts +1 -10
- package/prism-setup.js +2 -2
- package/sensitive.d.ts +6 -161
- package/sensitiveWords.d.ts +6 -161
- package/src/examples/ConversationAssistantPage/index.d.ts +1 -0
- package/src/examples/LoginPage/index.d.ts +2 -0
- package/src/examples/chat/components/DrawerGraphPreview.d.ts +5 -0
- package/src/examples/chat/index.d.ts +1 -0
- package/src/examples/chatCompare/index.d.ts +2 -0
- package/src/examples/gientechStreamFilesReader/index.d.ts +5 -0
- package/src/examples/headlessChat/index.d.ts +1 -0
- package/src/examples/knowledgebaseDetails/index.d.ts +1 -0
- package/src/examples/ragDatabaseDataPage/index.d.ts +1 -0
- package/src/examples/ragDatabaseIdPage/index.d.ts +1 -0
- package/src/examples/ragDatabasePage/index.d.ts +2 -0
- package/src/examples/ragModelManagePage/index.d.ts +1 -0
- package/src/examples/ragSearchPage/index.d.ts +1 -0
- package/src/examples/ragSensitiveWordsPage/index.d.ts +1 -0
- package/src/examples/streamFiles/index.d.ts +3 -0
- package/src/examples/utils/demo_setting_pannel.d.ts +1 -0
- package/src/init.d.ts +0 -0
- package/src/lib_enter.d.ts +14 -0
- package/src/main.d.ts +1 -0
- package/src/modules/assistantConfig/components/Database.d.ts +2 -0
- package/src/modules/assistantConfig/components/Graph.d.ts +2 -0
- package/src/modules/assistantConfig/components/Knowledge.d.ts +3 -0
- package/src/modules/assistantConfig/components/NotFoundContent.d.ts +2 -0
- package/src/modules/assistantConfig/components/Paragraph.d.ts +8 -0
- package/src/modules/assistantConfig/components/ParamsItem.d.ts +2 -0
- package/src/modules/assistantConfig/components/ResourceBinderItem.d.ts +11 -0
- package/src/modules/assistantConfig/components/SearchableSelector.d.ts +44 -0
- package/src/modules/assistantConfig/components/Sensitive.d.ts +2 -0
- package/src/modules/assistantConfig/components/SliderInput.d.ts +14 -0
- package/src/modules/assistantConfig/constants.d.ts +70 -0
- package/src/modules/assistantConfig/index.d.ts +19 -0
- package/src/modules/assistantConfig/server.d.ts +20 -0
- package/src/modules/chat/AllFiles.d.ts +1 -0
- package/src/modules/chat/Conversations/Item.d.ts +11 -0
- package/src/modules/chat/Conversations/List.d.ts +20 -0
- package/src/modules/chat/Conversations/groupByTime.d.ts +17 -0
- package/src/modules/chat/Conversations/index.d.ts +20 -0
- package/src/modules/chat/ReferenceBar.d.ts +9 -0
- package/src/modules/chat/constants.d.ts +17 -0
- package/src/modules/chat/i18n.d.ts +44 -0
- package/src/modules/chat/index.d.ts +70 -0
- package/src/modules/chat/referenceCom/DeleteModal.d.ts +1 -0
- package/src/modules/chat/referenceCom/DrawerContent.d.ts +15 -0
- package/src/modules/chat/referenceCom/DrawerDatabase.d.ts +2 -0
- package/src/modules/chat/referenceCom/DrawerGraphPreview.d.ts +6 -0
- package/src/modules/chat/referenceCom/DrawerPreview.d.ts +6 -0
- package/src/modules/chat/referenceCom/DrawerTitle.d.ts +5 -0
- package/src/modules/chat/referenceCom/RenameModal.d.ts +1 -0
- package/src/modules/chat/referenceCom/TagCom.d.ts +2 -0
- package/src/modules/chat/types.d.ts +14 -0
- package/src/modules/chat/utils/index.d.ts +54 -0
- package/src/modules/chatCompare/UseChatCompareHooks.d.ts +11 -0
- package/src/modules/chatCompare/components/AichatCompareUseController.d.ts +46 -0
- package/src/modules/chatCompare/components/AssistantSelector.d.ts +12 -0
- package/src/modules/chatCompare/components/ChatInputer.d.ts +2 -0
- package/src/modules/chatCompare/components/ChatInstance.d.ts +2 -0
- package/src/modules/chatCompare/components/ChatItem.d.ts +21 -0
- package/src/modules/chatCompare/components/Sender/FileCardCommon.d.ts +19 -0
- package/src/modules/chatCompare/components/Sender/FileUpload.d.ts +13 -0
- package/src/modules/chatCompare/components/Sender/FilesDisplay.d.ts +16 -0
- package/src/modules/chatCompare/components/Sender/VoiceInput.d.ts +6 -0
- package/src/modules/chatCompare/components/Sender/contexts/BadgeContext.d.ts +10 -0
- package/src/modules/chatCompare/components/Sender/fileIcon.d.ts +13 -0
- package/src/modules/chatCompare/components/Sender/index.d.ts +58 -0
- package/src/modules/chatCompare/components/UseChatInstanceHooks.d.ts +8 -0
- package/src/modules/chatCompare/components/UseScrollHooks.d.ts +6 -0
- package/src/modules/chatCompare/components/components/AllFiles.d.ts +1 -0
- package/src/modules/chatCompare/components/components/DeleteModal.d.ts +1 -0
- package/src/modules/chatCompare/components/components/DrawerContent.d.ts +15 -0
- package/src/modules/chatCompare/components/components/DrawerDatabase.d.ts +2 -0
- package/src/modules/chatCompare/components/components/DrawerGraphPreview.d.ts +6 -0
- package/src/modules/chatCompare/components/components/DrawerPreview.d.ts +6 -0
- package/src/modules/chatCompare/components/components/DrawerTitle.d.ts +5 -0
- package/src/modules/chatCompare/components/components/DrawerVideo.d.ts +2 -0
- package/src/modules/chatCompare/components/components/ReferenceBar.d.ts +10 -0
- package/src/modules/chatCompare/components/components/RenameModal.d.ts +1 -0
- package/src/modules/chatCompare/components/components/TagCom.d.ts +2 -0
- package/src/modules/chatCompare/components/defaultStyleSet.d.ts +94 -0
- package/src/modules/chatCompare/components/server.d.ts +59 -0
- package/src/modules/chatCompare/components/serverFn.d.ts +52 -0
- package/src/modules/chatCompare/components/useFileManager.d.ts +37 -0
- package/src/modules/chatCompare/components/utils.d.ts +8 -0
- package/src/modules/chatCompare/data.d.ts +290 -0
- package/src/modules/chatCompare/index.d.ts +9 -0
- package/src/modules/chatCompare/utils/AiChat.types.d.ts +111 -0
- package/src/modules/chatCompare/utils/constants.d.ts +22 -0
- package/src/modules/chatCompare/utils/fileUploadValidator.d.ts +27 -0
- package/src/modules/chatCompare/utils/index.d.ts +1 -0
- package/src/modules/database/CreateModal.d.ts +11 -0
- package/src/modules/database/index.d.ts +27 -0
- package/src/modules/database/server.d.ts +16 -0
- package/src/modules/databaseId/CustomCom.d.ts +32 -0
- package/src/modules/databaseId/EditConfig.d.ts +10 -0
- package/src/modules/databaseId/UploadDrawer.d.ts +13 -0
- package/src/modules/databaseId/i18n.d.ts +94 -0
- package/src/modules/databaseId/index.d.ts +27 -0
- package/src/modules/databaseId/server.d.ts +22 -0
- package/src/modules/databaseTable/EditRowDrawer.d.ts +8 -0
- package/src/modules/databaseTable/index.d.ts +31 -0
- package/src/modules/databaseTable/server.d.ts +17 -0
- package/src/modules/headlessChat/ReferenceBar.d.ts +8 -0
- package/src/modules/headlessChat/constants.d.ts +16 -0
- package/src/modules/headlessChat/index.d.ts +37 -0
- package/src/modules/headlessChat/referenceCom/DeleteModal.d.ts +1 -0
- package/src/modules/headlessChat/referenceCom/DrawerContent.d.ts +15 -0
- package/src/modules/headlessChat/referenceCom/DrawerDatabase.d.ts +2 -0
- package/src/modules/headlessChat/referenceCom/DrawerGraphPreview.d.ts +6 -0
- package/src/modules/headlessChat/referenceCom/DrawerPreview.d.ts +6 -0
- package/src/modules/headlessChat/referenceCom/DrawerTitle.d.ts +5 -0
- package/src/modules/headlessChat/referenceCom/RenameModal.d.ts +1 -0
- package/src/modules/headlessChat/referenceCom/TagCom.d.ts +2 -0
- package/src/modules/headlessChat/types.d.ts +21 -0
- package/src/modules/headlessChat/utils/index.d.ts +54 -0
- package/src/modules/knowledgeBase/index.d.ts +18 -0
- package/src/modules/knowledgeBase/server.d.ts +16 -0
- package/src/modules/knowledgebaseDetails/KnowledgeBaseDetails.d.ts +32 -0
- package/src/modules/knowledgebaseDetails/components/AddFileContent.d.ts +10 -0
- package/src/modules/knowledgebaseDetails/components/BatchOption.d.ts +52 -0
- package/src/modules/knowledgebaseDetails/components/BreadcrumbTruncated.d.ts +33 -0
- package/src/modules/knowledgebaseDetails/components/Card.d.ts +20 -0
- package/src/modules/knowledgebaseDetails/components/ContentDuplicate.d.ts +10 -0
- package/src/modules/knowledgebaseDetails/components/CreateForm.d.ts +14 -0
- package/src/modules/knowledgebaseDetails/components/DownloadBtn.d.ts +10 -0
- package/src/modules/knowledgebaseDetails/components/DuplicateCheck.d.ts +2 -0
- package/src/modules/knowledgebaseDetails/components/Empty.d.ts +6 -0
- package/src/modules/knowledgebaseDetails/components/FaqExtractionMoreDropdown.d.ts +22 -0
- package/src/modules/knowledgebaseDetails/components/FaqFolderItem.d.ts +14 -0
- package/src/modules/knowledgebaseDetails/components/FaqManagementMoreDropdown.d.ts +26 -0
- package/src/modules/knowledgebaseDetails/components/FaqQaItem.d.ts +14 -0
- package/src/modules/knowledgebaseDetails/components/FileFolderTransferContent .d.ts +12 -0
- package/src/modules/knowledgebaseDetails/components/FileViewCom.d.ts +2 -0
- package/src/modules/knowledgebaseDetails/components/KnowledgeBaseCard.d.ts +20 -0
- package/src/modules/knowledgebaseDetails/components/KnowledgeBaseSummaryCard.d.ts +17 -0
- package/src/modules/knowledgebaseDetails/components/LabelCom.d.ts +6 -0
- package/src/modules/knowledgebaseDetails/components/ModifyReviseDate.d.ts +7 -0
- package/src/modules/knowledgebaseDetails/components/NavBar.d.ts +22 -0
- package/src/modules/knowledgebaseDetails/components/SearchableSelector.d.ts +22 -0
- package/src/modules/knowledgebaseDetails/components/SynLogModal.d.ts +5 -0
- package/src/modules/knowledgebaseDetails/components/TagDrawerContent.d.ts +2 -0
- package/src/modules/knowledgebaseDetails/components/TagsInputer.d.ts +7 -0
- package/src/modules/knowledgebaseDetails/components/TitleCom.d.ts +7 -0
- package/src/modules/knowledgebaseDetails/components/TransferContent.d.ts +11 -0
- package/src/modules/knowledgebaseDetails/components/UploadBox.d.ts +34 -0
- package/src/modules/knowledgebaseDetails/components/fileManagementParts.d.ts +161 -0
- package/src/modules/knowledgebaseDetails/components/index.d.ts +7 -0
- package/src/modules/knowledgebaseDetails/components/nameDuplicate.d.ts +2 -0
- package/src/modules/knowledgebaseDetails/consts/knowledgebase.d.ts +105 -0
- package/src/modules/knowledgebaseDetails/index.d.ts +2 -0
- package/src/modules/knowledgebaseDetails/modules/ConfigModule.d.ts +8 -0
- package/src/modules/knowledgebaseDetails/modules/FaqModule.d.ts +7 -0
- package/src/modules/knowledgebaseDetails/modules/KnowledgeParseModule.d.ts +12 -0
- package/src/modules/knowledgebaseDetails/modules/RetrievalTestModule.d.ts +8 -0
- package/src/modules/knowledgebaseDetails/modules/UploadManagementModule.d.ts +10 -0
- package/src/modules/knowledgebaseDetails/modules/types.d.ts +36 -0
- package/src/modules/knowledgebaseDetails/servers/analysis.d.ts +1 -0
- package/src/modules/knowledgebaseDetails/servers/index.d.ts +250 -0
- package/src/modules/knowledgebaseDetails/servers/service.d.ts +63 -0
- package/src/modules/login/components/Login/LoginBox/index.d.ts +18 -0
- package/src/modules/login/components/Login/RegisterBox/index.d.ts +15 -0
- package/src/modules/login/components/Login/index.d.ts +17 -0
- package/src/modules/login/i18n.d.ts +60 -0
- package/src/modules/login/index.d.ts +10 -0
- package/src/modules/login/useServices.d.ts +9 -0
- package/src/modules/login/utils.d.ts +2 -0
- package/src/modules/modelManage/ConfigDrawer.d.ts +17 -0
- package/src/modules/modelManage/ReplaceModal.d.ts +8 -0
- package/src/modules/modelManage/const.d.ts +35 -0
- package/src/modules/modelManage/i18n.d.ts +115 -0
- package/src/modules/modelManage/index.d.ts +19 -0
- package/src/modules/modelManage/server.d.ts +19 -0
- package/src/modules/nodegraph/index.d.ts +1 -0
- package/src/modules/search/components/AssisSelect.d.ts +14 -0
- package/src/modules/search/components/Editor/ChatViewEditor.d.ts +2 -0
- package/src/modules/search/components/Editor/constant.d.ts +6 -0
- package/src/modules/search/components/Editor/index.d.ts +15 -0
- package/src/modules/search/components/Editor/plugins/autofomatRules.d.ts +10 -0
- package/src/modules/search/components/Editor/plugins/convertImgPlugins.d.ts +3 -0
- package/src/modules/search/components/Editor/plugins/createIndexes.d.ts +3 -0
- package/src/modules/search/components/Editor/plugins/displayer.d.ts +22 -0
- package/src/modules/search/components/Editor/plugins/imageClick.d.ts +3 -0
- package/src/modules/search/components/Editor/plugins/myplugin.d.ts +4 -0
- package/src/modules/search/components/Editor/ui/avatar.d.ts +3 -0
- package/src/modules/search/components/Editor/ui/blockquote-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/button.d.ts +6 -0
- package/src/modules/search/components/Editor/ui/calendar.d.ts +8 -0
- package/src/modules/search/components/Editor/ui/caption.d.ts +3 -0
- package/src/modules/search/components/Editor/ui/checkbox.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/code-block-combobox.d.ts +3 -0
- package/src/modules/search/components/Editor/ui/code-block-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/code-leaf.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/code-line-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/code-syntax-leaf.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/column-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/column-group-element.d.ts +3 -0
- package/src/modules/search/components/Editor/ui/command.d.ts +10 -0
- package/src/modules/search/components/Editor/ui/comment-avatar.d.ts +3 -0
- package/src/modules/search/components/Editor/ui/comment-create-form.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/comment-item.d.ts +5 -0
- package/src/modules/search/components/Editor/ui/comment-leaf.d.ts +3 -0
- package/src/modules/search/components/Editor/ui/comment-more-dropdown.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/comment-reply-items.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/comment-resolve-button.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/comment-value.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/comments-popover.d.ts +5 -0
- package/src/modules/search/components/Editor/ui/date-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/dialog.d.ts +10 -0
- package/src/modules/search/components/Editor/ui/draggable.d.ts +39 -0
- package/src/modules/search/components/Editor/ui/dropdown-menu.d.ts +19 -0
- package/src/modules/search/components/Editor/ui/emoji-input-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/excalidraw-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/fixed-toolbar-buttons.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/fixed-toolbar.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/floating-toolbar-buttons.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/floating-toolbar.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/heading-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/highlight-leaf.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/hr-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/icons.d.ts +82 -0
- package/src/modules/search/components/Editor/ui/image-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/inline-combobox.d.ts +27 -0
- package/src/modules/search/components/Editor/ui/input.d.ts +5 -0
- package/src/modules/search/components/Editor/ui/insert-dropdown-menu.d.ts +2 -0
- package/src/modules/search/components/Editor/ui/kbd-leaf.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/link-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/link-floating-toolbar.d.ts +5 -0
- package/src/modules/search/components/Editor/ui/list-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/mark-toolbar-button.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/media-embed-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/media-popover.d.ts +7 -0
- package/src/modules/search/components/Editor/ui/mention-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/mention-input-element.d.ts +5 -0
- package/src/modules/search/components/Editor/ui/mode-dropdown-menu.d.ts +2 -0
- package/src/modules/search/components/Editor/ui/more-dropdown-menu.d.ts +2 -0
- package/src/modules/search/components/Editor/ui/paragraph-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/placeholder.d.ts +5 -0
- package/src/modules/search/components/Editor/ui/popover.d.ts +5 -0
- package/src/modules/search/components/Editor/ui/resizable.d.ts +5 -0
- package/src/modules/search/components/Editor/ui/separator.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/table-cell-element.d.ts +2 -0
- package/src/modules/search/components/Editor/ui/table-element.d.ts +3 -0
- package/src/modules/search/components/Editor/ui/table-row-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/tableValue.d.ts +3 -0
- package/src/modules/search/components/Editor/ui/todo-list-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/toggle-element.d.ts +1 -0
- package/src/modules/search/components/Editor/ui/toolbar.d.ts +21 -0
- package/src/modules/search/components/Editor/ui/tooltip.d.ts +12 -0
- package/src/modules/search/components/Editor/ui/turn-into-dropdown-menu.d.ts +2 -0
- package/src/modules/search/components/Editor/ui/with-draggables.d.ts +6 -0
- package/src/modules/search/components/FileList.d.ts +11 -0
- package/src/modules/search/components/ImageGroupView/index.d.ts +2 -0
- package/src/modules/search/components/ResultContent.d.ts +14 -0
- package/src/modules/search/components/SearchInput.d.ts +22 -0
- package/src/modules/search/components/SearchLanding.d.ts +2 -0
- package/src/modules/search/components/SearchView.d.ts +2 -0
- package/src/modules/search/components/SimpleEditor.d.ts +10 -0
- package/src/modules/search/components/SimpleFileList.d.ts +11 -0
- package/src/modules/search/index.d.ts +3 -0
- package/src/modules/search/servers/apis.d.ts +22 -0
- package/src/modules/search/servers/index.d.ts +50 -0
- package/src/modules/search/type.d.ts +20 -0
- package/src/modules/search/utils.d.ts +4 -0
- package/src/modules/sensitive/i18n.d.ts +103 -0
- package/src/modules/sensitive/index.d.ts +26 -0
- package/src/modules/sensitive/sensitiveEditor.d.ts +28 -0
- package/src/modules/sensitive/server.d.ts +26 -0
- package/src/modules/sensitiveId/AutoTag.d.ts +10 -0
- package/src/modules/sensitiveId/UploadModal.d.ts +16 -0
- package/src/modules/sensitiveId/VirtualWrap.d.ts +18 -0
- package/src/modules/sensitiveId/index.d.ts +13 -0
- package/src/modules/sensitiveId/server.d.ts +12 -0
- package/src/modules/streamFilesReader/GientechStreamReader.d.ts +45 -0
- package/src/modules/streamFilesReader/components/Header/Toolbar.d.ts +1 -0
- package/src/modules/streamFilesReader/components/Header/index.d.ts +32 -0
- package/src/modules/streamFilesReader/index.d.ts +2 -0
- package/src/prism-setup.d.ts +0 -0
- package/src/utils/commonFn.d.ts +4 -0
- package/src/utils/decryptApiKey.d.ts +9 -0
- package/src/utils/gientechCommon/components/AppError.d.ts +4 -0
- package/src/utils/gientechCommon/components/AppLoading.d.ts +4 -0
- package/src/utils/gientechCommon/components/DeleteModal.d.ts +1 -0
- package/src/utils/gientechCommon/components/DisplayError.d.ts +1 -0
- package/src/utils/gientechCommon/components/DisplayLoading.d.ts +1 -0
- package/src/utils/gientechCommon/components/FeedBackModal.d.ts +2 -0
- package/src/utils/gientechCommon/components/FileCardCommon.d.ts +19 -0
- package/src/utils/gientechCommon/components/FileManager/index.d.ts +21 -0
- package/src/utils/gientechCommon/components/Messages/GientechNewChatWelcome.d.ts +11 -0
- package/src/utils/gientechCommon/components/Messages/ReferenceCard.d.ts +17 -0
- package/src/utils/gientechCommon/components/Messages/RetriveItem.d.ts +28 -0
- package/src/utils/gientechCommon/components/Messages/WebRetriveItem.d.ts +3 -0
- package/src/utils/gientechCommon/components/Messages/defaultStyleSet.d.ts +94 -0
- package/src/utils/gientechCommon/components/RenameModal.d.ts +1 -0
- package/src/utils/gientechCommon/configs/commonConfig.d.ts +2 -0
- package/src/utils/gientechCommon/configs/senderConfig.d.ts +1 -0
- package/src/utils/gientechCommon/configs/stylesConfig.d.ts +88 -0
- package/src/utils/gientechCommon/hooks/AichatUseController.d.ts +47 -0
- package/src/utils/gientechCommon/hooks/useFileDisplayTools.d.ts +17 -0
- package/src/utils/gientechCommon/hooks/useFileManager.d.ts +35 -0
- package/src/utils/gientechCommon/slate/converters/deserializers.d.ts +5 -0
- package/src/utils/gientechCommon/slate/converters/mockData.d.ts +72 -0
- package/src/utils/gientechCommon/slate/converters/slateConverters.d.ts +66 -0
- package/src/utils/gientechCommon/slate/richElements/index.d.ts +4 -0
- package/src/utils/gientechCommon/utils/fileUtils.d.ts +32 -0
- package/src/utils/gientechCommon/utils/index.d.ts +59 -0
- package/src/utils/gientechCommon/utils/request.d.ts +2 -0
- package/src/utils/gientechCommon/utils/serverFn.d.ts +52 -0
- package/src/utils/index.d.ts +24 -0
- package/src/utils/testconfigs/demologin/index.d.ts +1 -0
- package/src/utils/testconfigs/index.d.ts +57 -0
- package/streamFilesReader.d.ts +2 -60
- package/assets/graph.svg +0 -4
- package/assets/knowledge.svg +0 -4
- package/assets/sensitive.svg +0 -5
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Styles } from '@mxmweb/zui';
|
|
2
|
+
import { CustomComponents } from '@mxmweb/xviewer';
|
|
3
|
+
import { OPT_BTN } from './const';
|
|
4
|
+
import { ModelManageLocale, ModelManageMessages } from './i18n';
|
|
5
|
+
interface ModelManageViewProps {
|
|
6
|
+
url?: string;
|
|
7
|
+
token?: string;
|
|
8
|
+
role?: string;
|
|
9
|
+
styles?: Styles;
|
|
10
|
+
CustomComponents?: CustomComponents;
|
|
11
|
+
eventsEmit?: (name: string, data: any) => void;
|
|
12
|
+
showModelReplace?: boolean;
|
|
13
|
+
getBtnDisabled?: (type: OPT_BTN, permission: number) => boolean;
|
|
14
|
+
locale?: ModelManageLocale;
|
|
15
|
+
messages?: Partial<ModelManageMessages>;
|
|
16
|
+
}
|
|
17
|
+
export default function ModelManageView(props: ModelManageViewProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export type { ModelManageLocale, ModelManageMessages } from './i18n';
|
|
19
|
+
export { getModelManageMessages, interpolateModelManage, useModelManageI18n, ModelManageI18nProvider, ModelManageI18nContext, } from './i18n';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface DatabaseApiProps {
|
|
2
|
+
url?: string;
|
|
3
|
+
token?: string;
|
|
4
|
+
role?: string;
|
|
5
|
+
eventsEmit?: (name: string, data: any) => void;
|
|
6
|
+
getMessage?: (key: string) => string;
|
|
7
|
+
}
|
|
8
|
+
declare const AxiosInstance: ({ url, token, role, eventsEmit, getMessage }: DatabaseApiProps) => {
|
|
9
|
+
getModelList: (params: any) => Promise<any>;
|
|
10
|
+
delModelById: (id: string | number) => Promise<any>;
|
|
11
|
+
createModel: (params: any) => Promise<any>;
|
|
12
|
+
updateModelById: (params: any) => Promise<any>;
|
|
13
|
+
getUseTypeList: () => Promise<any>;
|
|
14
|
+
getModelProtocolsList: () => Promise<any>;
|
|
15
|
+
testStatus: () => Promise<any>;
|
|
16
|
+
replaceModel: (sourceModelId: string | number, targetModelId: string | number) => Promise<any>;
|
|
17
|
+
checkModel: (name: string) => Promise<any>;
|
|
18
|
+
};
|
|
19
|
+
export default AxiosInstance;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IAssistant } from '../type.ts';
|
|
3
|
+
interface AssistantSelectorProps {
|
|
4
|
+
assistList: IAssistant[];
|
|
5
|
+
value: string;
|
|
6
|
+
loading: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
defaultValue?: string;
|
|
10
|
+
onChange?: (value: string) => void;
|
|
11
|
+
onBlurHandler?: () => void;
|
|
12
|
+
}
|
|
13
|
+
declare const AssisSelect: React.FC<AssistantSelectorProps>;
|
|
14
|
+
export default AssisSelect;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const contentARegex: RegExp;
|
|
2
|
+
export declare const modelRegex: RegExp;
|
|
3
|
+
export declare const startARegex: RegExp;
|
|
4
|
+
export declare const replaceRetriveReg: RegExp;
|
|
5
|
+
export declare const replacedRetrive = "<retrive-tag $1>$2[$3]</retrive-tag>";
|
|
6
|
+
export declare const RETRIVE_TAG = "[retrive-tag";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PlateContentProps } from '@udecode/plate-common/react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
declare const editorVariants: (props?: ({
|
|
5
|
+
disabled?: boolean | null | undefined;
|
|
6
|
+
focusRing?: boolean | null | undefined;
|
|
7
|
+
focused?: boolean | null | undefined;
|
|
8
|
+
size?: "md" | "sm" | null | undefined;
|
|
9
|
+
variant?: "outline" | "ghost" | null | undefined;
|
|
10
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
|
+
export type EditorProps = PlateContentProps & VariantProps<typeof editorVariants> & {
|
|
12
|
+
curText?: any;
|
|
13
|
+
};
|
|
14
|
+
declare const Editor: React.ForwardRefExoticComponent<any>;
|
|
15
|
+
export { Editor };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AutoformatBlockRule, AutoformatRule } from '@udecode/plate-autoformat';
|
|
2
|
+
import { SlateEditor } from '@udecode/plate-common';
|
|
3
|
+
export declare const preFormat: AutoformatBlockRule["preFormat"];
|
|
4
|
+
export declare const format: (editor: SlateEditor, customFormatting: any) => void;
|
|
5
|
+
export declare const formatList: (editor: SlateEditor, elementType: string) => void;
|
|
6
|
+
export declare const autoformatMarks: AutoformatRule[];
|
|
7
|
+
export declare const autoformatBlocks: AutoformatRule[];
|
|
8
|
+
export declare const autoformatLists: AutoformatRule[];
|
|
9
|
+
export declare const autoformatIndentLists: AutoformatRule[];
|
|
10
|
+
export declare const autoformatRules: AutoformatRule[];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ImagePlugin } from '@udecode/plate-media/react';
|
|
2
|
+
import { TablePlugin } from '@udecode/plate-table/react';
|
|
3
|
+
export declare const displayerEditor: ({ clickIndexes, imgClassName }: any) => {
|
|
4
|
+
plugins: any[];
|
|
5
|
+
override: {
|
|
6
|
+
components: any;
|
|
7
|
+
plugins: {
|
|
8
|
+
[TablePlugin.key]: {
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
};
|
|
11
|
+
[ImagePlugin.key]: {
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const fileEditor: () => {
|
|
18
|
+
plugins: any[];
|
|
19
|
+
override: {
|
|
20
|
+
components: any;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PlateElementProps } from '@udecode/plate-common/react';
|
|
2
|
+
import { TLinkElement } from '@udecode/plate-link';
|
|
3
|
+
export declare function LinkElement({ attributes, children, element, editor }: PlateElementProps<TLinkElement>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const MyPlugin: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BlockquoteElement: any;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const buttonVariants: (props?: ({
|
|
2
|
+
isMenu?: boolean | null | undefined;
|
|
3
|
+
size?: "icon" | "default" | "none" | "lg" | "sm" | "xs" | "sms" | null | undefined;
|
|
4
|
+
variant?: "link" | "default" | "outline" | "secondary" | "destructive" | "ghost" | "inlineLink" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
export declare const Button: any;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DayPicker } from 'react-day-picker';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export type CalendarProps = React.ComponentProps<typeof DayPicker>;
|
|
4
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare namespace Calendar {
|
|
6
|
+
var displayName: string;
|
|
7
|
+
}
|
|
8
|
+
export { Calendar };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Checkbox: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CodeBlockElement: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CodeLeaf: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CodeLineElement: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CodeSyntaxLeaf: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ColumnElement: any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
2
|
+
export declare const Command: any;
|
|
3
|
+
export declare function CommandDialog({ children, ...props }: DialogProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const CommandInput: any;
|
|
5
|
+
export declare const CommandList: any;
|
|
6
|
+
export declare const CommandEmpty: any;
|
|
7
|
+
export declare const CommandGroup: any;
|
|
8
|
+
export declare const CommandSeparator: any;
|
|
9
|
+
export declare const CommandItem: any;
|
|
10
|
+
export declare const CommandShortcut: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CommentCreateForm(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CommentMoreDropdown(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CommentReplyItems(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CommentResolveButton(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CommentValue(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type FloatingCommentsContentProps = {
|
|
2
|
+
disableForm?: boolean;
|
|
3
|
+
};
|
|
4
|
+
export declare function CommentsPopoverContent(props: FloatingCommentsContentProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function CommentsPopover(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DateElement: any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const Dialog: any;
|
|
2
|
+
export declare const DialogTrigger: any;
|
|
3
|
+
export declare const DialogPortal: any;
|
|
4
|
+
export declare const DialogClose: any;
|
|
5
|
+
export declare const DialogOverlay: any;
|
|
6
|
+
export declare const DialogContent: any;
|
|
7
|
+
export declare const DialogHeader: any;
|
|
8
|
+
export declare const DialogFooter: any;
|
|
9
|
+
export declare const DialogTitle: any;
|
|
10
|
+
export declare const DialogDescription: any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ClassNames, TEditor } from '@udecode/plate-common';
|
|
2
|
+
import { DropTargetMonitor } from 'react-dnd';
|
|
3
|
+
import { PlateElementProps } from '@udecode/plate-common/react';
|
|
4
|
+
import { DragItemNode } from '@udecode/plate-dnd';
|
|
5
|
+
export interface DraggableProps extends PlateElementProps, ClassNames<{
|
|
6
|
+
/** Block. */
|
|
7
|
+
block: string;
|
|
8
|
+
/** Block and gutter. */
|
|
9
|
+
blockAndGutter: string;
|
|
10
|
+
/** Block toolbar in the gutter. */
|
|
11
|
+
blockToolbar: string;
|
|
12
|
+
/**
|
|
13
|
+
* Block toolbar wrapper in the gutter left. It has the height of a line
|
|
14
|
+
* of the block.
|
|
15
|
+
*/
|
|
16
|
+
blockToolbarWrapper: string;
|
|
17
|
+
blockWrapper: string;
|
|
18
|
+
/** Button to dnd the block, in the block toolbar. */
|
|
19
|
+
dragHandle: string;
|
|
20
|
+
/** Icon of the drag button, in the drag icon. */
|
|
21
|
+
dragIcon: string;
|
|
22
|
+
/** Show a dropline above or below the block when dragging a block. */
|
|
23
|
+
dropLine: string;
|
|
24
|
+
/** Gutter at the left side of the editor. It has the height of the block */
|
|
25
|
+
gutterLeft: string;
|
|
26
|
+
}> {
|
|
27
|
+
/**
|
|
28
|
+
* Intercepts the drop handling. If `false` is returned, the default drop
|
|
29
|
+
* behavior is called after. If `true` is returned, the default behavior is
|
|
30
|
+
* not called.
|
|
31
|
+
*/
|
|
32
|
+
onDropHandler?: (editor: TEditor, props: {
|
|
33
|
+
dragItem: DragItemNode;
|
|
34
|
+
id: string;
|
|
35
|
+
monitor: DropTargetMonitor<DragItemNode, unknown>;
|
|
36
|
+
nodeRef: any;
|
|
37
|
+
}) => boolean;
|
|
38
|
+
}
|
|
39
|
+
export declare const Draggable: any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const DropdownMenu: any;
|
|
2
|
+
export declare const DropdownMenuTrigger: any;
|
|
3
|
+
export declare const DropdownMenuGroup: any;
|
|
4
|
+
export declare const DropdownMenuPortal: any;
|
|
5
|
+
export declare const DropdownMenuSub: any;
|
|
6
|
+
export declare const DropdownMenuRadioGroup: any;
|
|
7
|
+
export declare const DropdownMenuSubTrigger: any;
|
|
8
|
+
export declare const DropdownMenuSubContent: any;
|
|
9
|
+
export declare const DropdownMenuContent: any;
|
|
10
|
+
export declare const DropdownMenuItem: any;
|
|
11
|
+
export declare const DropdownMenuCheckboxItem: any;
|
|
12
|
+
export declare const DropdownMenuRadioItem: any;
|
|
13
|
+
export declare const DropdownMenuLabel: any;
|
|
14
|
+
export declare const DropdownMenuSeparator: any;
|
|
15
|
+
export declare const DropdownMenuShortcut: any;
|
|
16
|
+
export declare const useOpenState: () => {
|
|
17
|
+
onOpenChange: (_value?: boolean) => void;
|
|
18
|
+
open: boolean;
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const EmojiInputElement: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ExcalidrawElement: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function FixedToolbarButtons(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FixedToolbar: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function FloatingToolbarButtons(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FloatingToolbar: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const HeadingElement: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const HighlightLeaf: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const HrElement: any;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { LucideProps, LucideIcon } from 'lucide-react';
|
|
3
|
+
export type Icon = LucideIcon;
|
|
4
|
+
export declare const Icons: {
|
|
5
|
+
add: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
6
|
+
chevronDown: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
alignCenter: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
8
|
+
alignJustify: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
alignLeft: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
10
|
+
alignRight: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
11
|
+
download: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
12
|
+
arrowLeft: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
13
|
+
arrowRight: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
14
|
+
arrowDown: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
15
|
+
bg: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
16
|
+
blockquote: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
17
|
+
bold: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
18
|
+
borderAll: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
borderBottom: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
borderLeft: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
borderNone: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
borderRight: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
borderTop: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
check: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
25
|
+
chevronRight: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
26
|
+
chevronsUpDown: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
27
|
+
clear: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
28
|
+
close: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
29
|
+
code: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
30
|
+
codeblock: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
31
|
+
color: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
32
|
+
column: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
33
|
+
combine: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
34
|
+
ungroup: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
35
|
+
comment: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
36
|
+
commentAdd: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
37
|
+
delete: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
38
|
+
dragHandle: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
39
|
+
editing: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
40
|
+
emoji: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
41
|
+
externalLink: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
42
|
+
h1: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
43
|
+
h2: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
44
|
+
h3: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
45
|
+
h4: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
46
|
+
h5: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
47
|
+
h6: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
48
|
+
image: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
49
|
+
indent: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
50
|
+
italic: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
51
|
+
kbd: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
52
|
+
lineHeight: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
53
|
+
link: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
54
|
+
minus: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
55
|
+
more: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
56
|
+
ol: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
57
|
+
outdent: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
58
|
+
paragraph: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
59
|
+
refresh: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
60
|
+
row: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
61
|
+
search: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
62
|
+
settings: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
63
|
+
strikethrough: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
64
|
+
subscript: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
65
|
+
superscript: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
66
|
+
table: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
67
|
+
text: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
68
|
+
trash: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
69
|
+
ul: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
70
|
+
underline: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
71
|
+
unlink: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
72
|
+
viewing: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
73
|
+
gitHub: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
74
|
+
logo: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
75
|
+
moon: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
76
|
+
sun: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
77
|
+
twitter: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
78
|
+
};
|
|
79
|
+
export declare const iconVariants: (props?: ({
|
|
80
|
+
variant?: "toolbar" | "menuItem" | null | undefined;
|
|
81
|
+
size?: "md" | "sm" | null | undefined;
|
|
82
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ImageElement: any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { default as React, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { ComboboxItemProps, ComboboxPopover } from '@ariakit/react';
|
|
3
|
+
import { TElement } from '@udecode/plate-common';
|
|
4
|
+
type FilterFn = (item: {
|
|
5
|
+
keywords?: string[];
|
|
6
|
+
value: string;
|
|
7
|
+
}, search: string) => boolean;
|
|
8
|
+
export declare const defaultFilter: FilterFn;
|
|
9
|
+
interface InlineComboboxProps {
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
element: TElement;
|
|
12
|
+
trigger: string;
|
|
13
|
+
filter?: FilterFn | false;
|
|
14
|
+
hideWhenNoValue?: boolean;
|
|
15
|
+
setValue?: (value: string) => void;
|
|
16
|
+
showTrigger?: boolean;
|
|
17
|
+
value?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const InlineCombobox: ({ children, element, filter, hideWhenNoValue, setValue: setValueProp, showTrigger, trigger, value: valueProp, }: InlineComboboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare const InlineComboboxInput: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
|
|
21
|
+
declare const InlineComboboxContent: typeof ComboboxPopover;
|
|
22
|
+
export type InlineComboboxItemProps = {
|
|
23
|
+
keywords?: string[];
|
|
24
|
+
} & ComboboxItemProps & Required<Pick<ComboboxItemProps, 'value'>>;
|
|
25
|
+
declare const InlineComboboxItem: ({ className, keywords, onClick, ...props }: InlineComboboxItemProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
26
|
+
declare const InlineComboboxEmpty: ({ children, className, }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element | null;
|
|
27
|
+
export { InlineCombobox, InlineComboboxContent, InlineComboboxEmpty, InlineComboboxInput, InlineComboboxItem, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const KbdLeaf: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LinkElement: any;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { LinkFloatingToolbarState } from '@udecode/plate-link/react';
|
|
2
|
+
export interface LinkFloatingToolbarProps {
|
|
3
|
+
state?: LinkFloatingToolbarState;
|
|
4
|
+
}
|
|
5
|
+
export declare function LinkFloatingToolbar({ state }: LinkFloatingToolbarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ListElement: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MarkToolbarButton: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MediaEmbedElement: any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { WithRequiredKey } from '@udecode/plate-common';
|
|
3
|
+
export interface MediaPopoverProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
plugin: WithRequiredKey;
|
|
6
|
+
}
|
|
7
|
+
export declare function MediaPopover({ children, plugin }: MediaPopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MentionElement: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ParagraphElement: any;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PlaceholderProps } from '@udecode/plate-common/react';
|
|
2
|
+
export declare const Placeholder: (props: PlaceholderProps) => any;
|
|
3
|
+
export declare const withPlaceholder: any;
|
|
4
|
+
export declare const withPlaceholdersPrimitive: any;
|
|
5
|
+
export declare const withPlaceholders: (components: any) => any;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const Popover: any;
|
|
2
|
+
export declare const PopoverTrigger: any;
|
|
3
|
+
export declare const PopoverAnchor: any;
|
|
4
|
+
export declare const popoverVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
5
|
+
export declare const PopoverContent: any;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const mediaResizeHandleVariants: (props?: ({
|
|
2
|
+
direction?: "left" | "right" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
+
export declare const ResizeHandle: any;
|
|
5
|
+
export declare const Resizable: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Separator: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TableRowElement: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TodoListElement: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ToggleElement: any;
|