@gientech/modual 2.2.15 → 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.
Files changed (325) hide show
  1. package/assistantConfig.d.ts +4 -32
  2. package/chat.d.ts +0 -9
  3. package/chatCompare.d.ts +0 -9
  4. package/database.d.ts +0 -9
  5. package/databaseId.d.ts +0 -9
  6. package/databaseTable.d.ts +0 -9
  7. package/index.d.ts +0 -9
  8. package/init.d.ts +1 -10
  9. package/modelManage.d.ts +0 -9
  10. package/package.json +1 -1
  11. package/prism-setup.d.ts +1 -10
  12. package/sensitive.d.ts +6 -161
  13. package/sensitiveWords.d.ts +6 -161
  14. package/src/examples/ConversationAssistantPage/index.d.ts +1 -0
  15. package/src/examples/LoginPage/index.d.ts +2 -0
  16. package/src/examples/chat/components/DrawerGraphPreview.d.ts +5 -0
  17. package/src/examples/chat/index.d.ts +1 -0
  18. package/src/examples/chatCompare/index.d.ts +2 -0
  19. package/src/examples/gientechStreamFilesReader/index.d.ts +5 -0
  20. package/src/examples/headlessChat/index.d.ts +1 -0
  21. package/src/examples/knowledgebaseDetails/index.d.ts +1 -0
  22. package/src/examples/ragDatabaseDataPage/index.d.ts +1 -0
  23. package/src/examples/ragDatabaseIdPage/index.d.ts +1 -0
  24. package/src/examples/ragDatabasePage/index.d.ts +2 -0
  25. package/src/examples/ragModelManagePage/index.d.ts +1 -0
  26. package/src/examples/ragSearchPage/index.d.ts +1 -0
  27. package/src/examples/ragSensitiveWordsPage/index.d.ts +1 -0
  28. package/src/examples/streamFiles/index.d.ts +3 -0
  29. package/src/examples/utils/demo_setting_pannel.d.ts +1 -0
  30. package/src/init.d.ts +0 -0
  31. package/src/lib_enter.d.ts +14 -0
  32. package/src/main.d.ts +1 -0
  33. package/src/modules/assistantConfig/components/Database.d.ts +2 -0
  34. package/src/modules/assistantConfig/components/Graph.d.ts +2 -0
  35. package/src/modules/assistantConfig/components/Knowledge.d.ts +3 -0
  36. package/src/modules/assistantConfig/components/NotFoundContent.d.ts +2 -0
  37. package/src/modules/assistantConfig/components/Paragraph.d.ts +8 -0
  38. package/src/modules/assistantConfig/components/ParamsItem.d.ts +2 -0
  39. package/src/modules/assistantConfig/components/ResourceBinderItem.d.ts +11 -0
  40. package/src/modules/assistantConfig/components/SearchableSelector.d.ts +44 -0
  41. package/src/modules/assistantConfig/components/Sensitive.d.ts +2 -0
  42. package/src/modules/assistantConfig/components/SliderInput.d.ts +14 -0
  43. package/src/modules/assistantConfig/constants.d.ts +70 -0
  44. package/src/modules/assistantConfig/index.d.ts +19 -0
  45. package/src/modules/assistantConfig/server.d.ts +20 -0
  46. package/src/modules/chat/AllFiles.d.ts +1 -0
  47. package/src/modules/chat/Conversations/Item.d.ts +11 -0
  48. package/src/modules/chat/Conversations/List.d.ts +20 -0
  49. package/src/modules/chat/Conversations/groupByTime.d.ts +17 -0
  50. package/src/modules/chat/Conversations/index.d.ts +20 -0
  51. package/src/modules/chat/ReferenceBar.d.ts +9 -0
  52. package/src/modules/chat/constants.d.ts +17 -0
  53. package/src/modules/chat/i18n.d.ts +44 -0
  54. package/src/modules/chat/index.d.ts +70 -0
  55. package/src/modules/chat/referenceCom/DeleteModal.d.ts +1 -0
  56. package/src/modules/chat/referenceCom/DrawerContent.d.ts +15 -0
  57. package/src/modules/chat/referenceCom/DrawerDatabase.d.ts +2 -0
  58. package/src/modules/chat/referenceCom/DrawerGraphPreview.d.ts +6 -0
  59. package/src/modules/chat/referenceCom/DrawerPreview.d.ts +6 -0
  60. package/src/modules/chat/referenceCom/DrawerTitle.d.ts +5 -0
  61. package/src/modules/chat/referenceCom/RenameModal.d.ts +1 -0
  62. package/src/modules/chat/referenceCom/TagCom.d.ts +2 -0
  63. package/src/modules/chat/types.d.ts +14 -0
  64. package/src/modules/chat/utils/index.d.ts +54 -0
  65. package/src/modules/chatCompare/UseChatCompareHooks.d.ts +11 -0
  66. package/src/modules/chatCompare/components/AichatCompareUseController.d.ts +46 -0
  67. package/src/modules/chatCompare/components/AssistantSelector.d.ts +12 -0
  68. package/src/modules/chatCompare/components/ChatInputer.d.ts +2 -0
  69. package/src/modules/chatCompare/components/ChatInstance.d.ts +2 -0
  70. package/src/modules/chatCompare/components/ChatItem.d.ts +21 -0
  71. package/src/modules/chatCompare/components/Sender/FileCardCommon.d.ts +19 -0
  72. package/src/modules/chatCompare/components/Sender/FileUpload.d.ts +13 -0
  73. package/src/modules/chatCompare/components/Sender/FilesDisplay.d.ts +16 -0
  74. package/src/modules/chatCompare/components/Sender/VoiceInput.d.ts +6 -0
  75. package/src/modules/chatCompare/components/Sender/contexts/BadgeContext.d.ts +10 -0
  76. package/src/modules/chatCompare/components/Sender/fileIcon.d.ts +13 -0
  77. package/src/modules/chatCompare/components/Sender/index.d.ts +58 -0
  78. package/src/modules/chatCompare/components/UseChatInstanceHooks.d.ts +8 -0
  79. package/src/modules/chatCompare/components/UseScrollHooks.d.ts +6 -0
  80. package/src/modules/chatCompare/components/components/AllFiles.d.ts +1 -0
  81. package/src/modules/chatCompare/components/components/DeleteModal.d.ts +1 -0
  82. package/src/modules/chatCompare/components/components/DrawerContent.d.ts +15 -0
  83. package/src/modules/chatCompare/components/components/DrawerDatabase.d.ts +2 -0
  84. package/src/modules/chatCompare/components/components/DrawerGraphPreview.d.ts +6 -0
  85. package/src/modules/chatCompare/components/components/DrawerPreview.d.ts +6 -0
  86. package/src/modules/chatCompare/components/components/DrawerTitle.d.ts +5 -0
  87. package/src/modules/chatCompare/components/components/DrawerVideo.d.ts +2 -0
  88. package/src/modules/chatCompare/components/components/ReferenceBar.d.ts +10 -0
  89. package/src/modules/chatCompare/components/components/RenameModal.d.ts +1 -0
  90. package/src/modules/chatCompare/components/components/TagCom.d.ts +2 -0
  91. package/src/modules/chatCompare/components/defaultStyleSet.d.ts +94 -0
  92. package/src/modules/chatCompare/components/server.d.ts +59 -0
  93. package/src/modules/chatCompare/components/serverFn.d.ts +52 -0
  94. package/src/modules/chatCompare/components/useFileManager.d.ts +37 -0
  95. package/src/modules/chatCompare/components/utils.d.ts +8 -0
  96. package/src/modules/chatCompare/data.d.ts +290 -0
  97. package/src/modules/chatCompare/index.d.ts +9 -0
  98. package/src/modules/chatCompare/utils/AiChat.types.d.ts +111 -0
  99. package/src/modules/chatCompare/utils/constants.d.ts +22 -0
  100. package/src/modules/chatCompare/utils/fileUploadValidator.d.ts +27 -0
  101. package/src/modules/chatCompare/utils/index.d.ts +1 -0
  102. package/src/modules/database/CreateModal.d.ts +11 -0
  103. package/src/modules/database/index.d.ts +27 -0
  104. package/src/modules/database/server.d.ts +16 -0
  105. package/src/modules/databaseId/CustomCom.d.ts +32 -0
  106. package/src/modules/databaseId/EditConfig.d.ts +10 -0
  107. package/src/modules/databaseId/UploadDrawer.d.ts +13 -0
  108. package/src/modules/databaseId/i18n.d.ts +94 -0
  109. package/src/modules/databaseId/index.d.ts +27 -0
  110. package/src/modules/databaseId/server.d.ts +22 -0
  111. package/src/modules/databaseTable/EditRowDrawer.d.ts +8 -0
  112. package/src/modules/databaseTable/index.d.ts +31 -0
  113. package/src/modules/databaseTable/server.d.ts +17 -0
  114. package/src/modules/headlessChat/ReferenceBar.d.ts +8 -0
  115. package/src/modules/headlessChat/constants.d.ts +16 -0
  116. package/src/modules/headlessChat/index.d.ts +37 -0
  117. package/src/modules/headlessChat/referenceCom/DeleteModal.d.ts +1 -0
  118. package/src/modules/headlessChat/referenceCom/DrawerContent.d.ts +15 -0
  119. package/src/modules/headlessChat/referenceCom/DrawerDatabase.d.ts +2 -0
  120. package/src/modules/headlessChat/referenceCom/DrawerGraphPreview.d.ts +6 -0
  121. package/src/modules/headlessChat/referenceCom/DrawerPreview.d.ts +6 -0
  122. package/src/modules/headlessChat/referenceCom/DrawerTitle.d.ts +5 -0
  123. package/src/modules/headlessChat/referenceCom/RenameModal.d.ts +1 -0
  124. package/src/modules/headlessChat/referenceCom/TagCom.d.ts +2 -0
  125. package/src/modules/headlessChat/types.d.ts +21 -0
  126. package/src/modules/headlessChat/utils/index.d.ts +54 -0
  127. package/src/modules/knowledgeBase/index.d.ts +18 -0
  128. package/src/modules/knowledgeBase/server.d.ts +16 -0
  129. package/src/modules/knowledgebaseDetails/KnowledgeBaseDetails.d.ts +32 -0
  130. package/src/modules/knowledgebaseDetails/components/AddFileContent.d.ts +10 -0
  131. package/src/modules/knowledgebaseDetails/components/BatchOption.d.ts +52 -0
  132. package/src/modules/knowledgebaseDetails/components/BreadcrumbTruncated.d.ts +33 -0
  133. package/src/modules/knowledgebaseDetails/components/Card.d.ts +20 -0
  134. package/src/modules/knowledgebaseDetails/components/ContentDuplicate.d.ts +10 -0
  135. package/src/modules/knowledgebaseDetails/components/CreateForm.d.ts +14 -0
  136. package/src/modules/knowledgebaseDetails/components/DownloadBtn.d.ts +10 -0
  137. package/src/modules/knowledgebaseDetails/components/DuplicateCheck.d.ts +2 -0
  138. package/src/modules/knowledgebaseDetails/components/Empty.d.ts +6 -0
  139. package/src/modules/knowledgebaseDetails/components/FaqExtractionMoreDropdown.d.ts +22 -0
  140. package/src/modules/knowledgebaseDetails/components/FaqFolderItem.d.ts +14 -0
  141. package/src/modules/knowledgebaseDetails/components/FaqManagementMoreDropdown.d.ts +26 -0
  142. package/src/modules/knowledgebaseDetails/components/FaqQaItem.d.ts +14 -0
  143. package/src/modules/knowledgebaseDetails/components/FileFolderTransferContent .d.ts +12 -0
  144. package/src/modules/knowledgebaseDetails/components/FileViewCom.d.ts +2 -0
  145. package/src/modules/knowledgebaseDetails/components/KnowledgeBaseCard.d.ts +20 -0
  146. package/src/modules/knowledgebaseDetails/components/KnowledgeBaseSummaryCard.d.ts +17 -0
  147. package/src/modules/knowledgebaseDetails/components/LabelCom.d.ts +6 -0
  148. package/src/modules/knowledgebaseDetails/components/ModifyReviseDate.d.ts +7 -0
  149. package/src/modules/knowledgebaseDetails/components/NavBar.d.ts +22 -0
  150. package/src/modules/knowledgebaseDetails/components/SearchableSelector.d.ts +22 -0
  151. package/src/modules/knowledgebaseDetails/components/SynLogModal.d.ts +5 -0
  152. package/src/modules/knowledgebaseDetails/components/TagDrawerContent.d.ts +2 -0
  153. package/src/modules/knowledgebaseDetails/components/TagsInputer.d.ts +7 -0
  154. package/src/modules/knowledgebaseDetails/components/TitleCom.d.ts +7 -0
  155. package/src/modules/knowledgebaseDetails/components/TransferContent.d.ts +11 -0
  156. package/src/modules/knowledgebaseDetails/components/UploadBox.d.ts +34 -0
  157. package/src/modules/knowledgebaseDetails/components/fileManagementParts.d.ts +161 -0
  158. package/src/modules/knowledgebaseDetails/components/index.d.ts +7 -0
  159. package/src/modules/knowledgebaseDetails/components/nameDuplicate.d.ts +2 -0
  160. package/src/modules/knowledgebaseDetails/consts/knowledgebase.d.ts +105 -0
  161. package/src/modules/knowledgebaseDetails/index.d.ts +2 -0
  162. package/src/modules/knowledgebaseDetails/modules/ConfigModule.d.ts +8 -0
  163. package/src/modules/knowledgebaseDetails/modules/FaqModule.d.ts +7 -0
  164. package/src/modules/knowledgebaseDetails/modules/KnowledgeParseModule.d.ts +12 -0
  165. package/src/modules/knowledgebaseDetails/modules/RetrievalTestModule.d.ts +8 -0
  166. package/src/modules/knowledgebaseDetails/modules/UploadManagementModule.d.ts +10 -0
  167. package/src/modules/knowledgebaseDetails/modules/types.d.ts +36 -0
  168. package/src/modules/knowledgebaseDetails/servers/analysis.d.ts +1 -0
  169. package/src/modules/knowledgebaseDetails/servers/index.d.ts +250 -0
  170. package/src/modules/knowledgebaseDetails/servers/service.d.ts +63 -0
  171. package/src/modules/login/components/Login/LoginBox/index.d.ts +18 -0
  172. package/src/modules/login/components/Login/RegisterBox/index.d.ts +15 -0
  173. package/src/modules/login/components/Login/index.d.ts +17 -0
  174. package/src/modules/login/i18n.d.ts +60 -0
  175. package/src/modules/login/index.d.ts +10 -0
  176. package/src/modules/login/useServices.d.ts +9 -0
  177. package/src/modules/login/utils.d.ts +2 -0
  178. package/src/modules/modelManage/ConfigDrawer.d.ts +17 -0
  179. package/src/modules/modelManage/ReplaceModal.d.ts +8 -0
  180. package/src/modules/modelManage/const.d.ts +35 -0
  181. package/src/modules/modelManage/i18n.d.ts +115 -0
  182. package/src/modules/modelManage/index.d.ts +19 -0
  183. package/src/modules/modelManage/server.d.ts +19 -0
  184. package/src/modules/nodegraph/index.d.ts +1 -0
  185. package/src/modules/search/components/AssisSelect.d.ts +14 -0
  186. package/src/modules/search/components/Editor/ChatViewEditor.d.ts +2 -0
  187. package/src/modules/search/components/Editor/constant.d.ts +6 -0
  188. package/src/modules/search/components/Editor/index.d.ts +15 -0
  189. package/src/modules/search/components/Editor/plugins/autofomatRules.d.ts +10 -0
  190. package/src/modules/search/components/Editor/plugins/convertImgPlugins.d.ts +3 -0
  191. package/src/modules/search/components/Editor/plugins/createIndexes.d.ts +3 -0
  192. package/src/modules/search/components/Editor/plugins/displayer.d.ts +22 -0
  193. package/src/modules/search/components/Editor/plugins/imageClick.d.ts +3 -0
  194. package/src/modules/search/components/Editor/plugins/myplugin.d.ts +4 -0
  195. package/src/modules/search/components/Editor/ui/avatar.d.ts +3 -0
  196. package/src/modules/search/components/Editor/ui/blockquote-element.d.ts +1 -0
  197. package/src/modules/search/components/Editor/ui/button.d.ts +6 -0
  198. package/src/modules/search/components/Editor/ui/calendar.d.ts +8 -0
  199. package/src/modules/search/components/Editor/ui/caption.d.ts +3 -0
  200. package/src/modules/search/components/Editor/ui/checkbox.d.ts +1 -0
  201. package/src/modules/search/components/Editor/ui/code-block-combobox.d.ts +3 -0
  202. package/src/modules/search/components/Editor/ui/code-block-element.d.ts +1 -0
  203. package/src/modules/search/components/Editor/ui/code-leaf.d.ts +1 -0
  204. package/src/modules/search/components/Editor/ui/code-line-element.d.ts +1 -0
  205. package/src/modules/search/components/Editor/ui/code-syntax-leaf.d.ts +1 -0
  206. package/src/modules/search/components/Editor/ui/column-element.d.ts +1 -0
  207. package/src/modules/search/components/Editor/ui/column-group-element.d.ts +3 -0
  208. package/src/modules/search/components/Editor/ui/command.d.ts +10 -0
  209. package/src/modules/search/components/Editor/ui/comment-avatar.d.ts +3 -0
  210. package/src/modules/search/components/Editor/ui/comment-create-form.d.ts +1 -0
  211. package/src/modules/search/components/Editor/ui/comment-item.d.ts +5 -0
  212. package/src/modules/search/components/Editor/ui/comment-leaf.d.ts +3 -0
  213. package/src/modules/search/components/Editor/ui/comment-more-dropdown.d.ts +1 -0
  214. package/src/modules/search/components/Editor/ui/comment-reply-items.d.ts +1 -0
  215. package/src/modules/search/components/Editor/ui/comment-resolve-button.d.ts +1 -0
  216. package/src/modules/search/components/Editor/ui/comment-value.d.ts +1 -0
  217. package/src/modules/search/components/Editor/ui/comments-popover.d.ts +5 -0
  218. package/src/modules/search/components/Editor/ui/date-element.d.ts +1 -0
  219. package/src/modules/search/components/Editor/ui/dialog.d.ts +10 -0
  220. package/src/modules/search/components/Editor/ui/draggable.d.ts +39 -0
  221. package/src/modules/search/components/Editor/ui/dropdown-menu.d.ts +19 -0
  222. package/src/modules/search/components/Editor/ui/emoji-input-element.d.ts +1 -0
  223. package/src/modules/search/components/Editor/ui/excalidraw-element.d.ts +1 -0
  224. package/src/modules/search/components/Editor/ui/fixed-toolbar-buttons.d.ts +1 -0
  225. package/src/modules/search/components/Editor/ui/fixed-toolbar.d.ts +1 -0
  226. package/src/modules/search/components/Editor/ui/floating-toolbar-buttons.d.ts +1 -0
  227. package/src/modules/search/components/Editor/ui/floating-toolbar.d.ts +1 -0
  228. package/src/modules/search/components/Editor/ui/heading-element.d.ts +1 -0
  229. package/src/modules/search/components/Editor/ui/highlight-leaf.d.ts +1 -0
  230. package/src/modules/search/components/Editor/ui/hr-element.d.ts +1 -0
  231. package/src/modules/search/components/Editor/ui/icons.d.ts +82 -0
  232. package/src/modules/search/components/Editor/ui/image-element.d.ts +1 -0
  233. package/src/modules/search/components/Editor/ui/inline-combobox.d.ts +27 -0
  234. package/src/modules/search/components/Editor/ui/input.d.ts +5 -0
  235. package/src/modules/search/components/Editor/ui/insert-dropdown-menu.d.ts +2 -0
  236. package/src/modules/search/components/Editor/ui/kbd-leaf.d.ts +1 -0
  237. package/src/modules/search/components/Editor/ui/link-element.d.ts +1 -0
  238. package/src/modules/search/components/Editor/ui/link-floating-toolbar.d.ts +5 -0
  239. package/src/modules/search/components/Editor/ui/list-element.d.ts +1 -0
  240. package/src/modules/search/components/Editor/ui/mark-toolbar-button.d.ts +1 -0
  241. package/src/modules/search/components/Editor/ui/media-embed-element.d.ts +1 -0
  242. package/src/modules/search/components/Editor/ui/media-popover.d.ts +7 -0
  243. package/src/modules/search/components/Editor/ui/mention-element.d.ts +1 -0
  244. package/src/modules/search/components/Editor/ui/mention-input-element.d.ts +5 -0
  245. package/src/modules/search/components/Editor/ui/mode-dropdown-menu.d.ts +2 -0
  246. package/src/modules/search/components/Editor/ui/more-dropdown-menu.d.ts +2 -0
  247. package/src/modules/search/components/Editor/ui/paragraph-element.d.ts +1 -0
  248. package/src/modules/search/components/Editor/ui/placeholder.d.ts +5 -0
  249. package/src/modules/search/components/Editor/ui/popover.d.ts +5 -0
  250. package/src/modules/search/components/Editor/ui/resizable.d.ts +5 -0
  251. package/src/modules/search/components/Editor/ui/separator.d.ts +1 -0
  252. package/src/modules/search/components/Editor/ui/table-cell-element.d.ts +2 -0
  253. package/src/modules/search/components/Editor/ui/table-element.d.ts +3 -0
  254. package/src/modules/search/components/Editor/ui/table-row-element.d.ts +1 -0
  255. package/src/modules/search/components/Editor/ui/tableValue.d.ts +3 -0
  256. package/src/modules/search/components/Editor/ui/todo-list-element.d.ts +1 -0
  257. package/src/modules/search/components/Editor/ui/toggle-element.d.ts +1 -0
  258. package/src/modules/search/components/Editor/ui/toolbar.d.ts +21 -0
  259. package/src/modules/search/components/Editor/ui/tooltip.d.ts +12 -0
  260. package/src/modules/search/components/Editor/ui/turn-into-dropdown-menu.d.ts +2 -0
  261. package/src/modules/search/components/Editor/ui/with-draggables.d.ts +6 -0
  262. package/src/modules/search/components/FileList.d.ts +11 -0
  263. package/src/modules/search/components/ImageGroupView/index.d.ts +2 -0
  264. package/src/modules/search/components/ResultContent.d.ts +14 -0
  265. package/src/modules/search/components/SearchInput.d.ts +22 -0
  266. package/src/modules/search/components/SearchLanding.d.ts +2 -0
  267. package/src/modules/search/components/SearchView.d.ts +2 -0
  268. package/src/modules/search/components/SimpleEditor.d.ts +10 -0
  269. package/src/modules/search/components/SimpleFileList.d.ts +11 -0
  270. package/src/modules/search/index.d.ts +3 -0
  271. package/src/modules/search/servers/apis.d.ts +22 -0
  272. package/src/modules/search/servers/index.d.ts +50 -0
  273. package/src/modules/search/type.d.ts +20 -0
  274. package/src/modules/search/utils.d.ts +4 -0
  275. package/src/modules/sensitive/i18n.d.ts +103 -0
  276. package/src/modules/sensitive/index.d.ts +26 -0
  277. package/src/modules/sensitive/sensitiveEditor.d.ts +28 -0
  278. package/src/modules/sensitive/server.d.ts +26 -0
  279. package/src/modules/sensitiveId/AutoTag.d.ts +10 -0
  280. package/src/modules/sensitiveId/UploadModal.d.ts +16 -0
  281. package/src/modules/sensitiveId/VirtualWrap.d.ts +18 -0
  282. package/src/modules/sensitiveId/index.d.ts +13 -0
  283. package/src/modules/sensitiveId/server.d.ts +12 -0
  284. package/src/modules/streamFilesReader/GientechStreamReader.d.ts +45 -0
  285. package/src/modules/streamFilesReader/components/Header/Toolbar.d.ts +1 -0
  286. package/src/modules/streamFilesReader/components/Header/index.d.ts +32 -0
  287. package/src/modules/streamFilesReader/index.d.ts +2 -0
  288. package/src/prism-setup.d.ts +0 -0
  289. package/src/utils/commonFn.d.ts +4 -0
  290. package/src/utils/decryptApiKey.d.ts +9 -0
  291. package/src/utils/gientechCommon/components/AppError.d.ts +4 -0
  292. package/src/utils/gientechCommon/components/AppLoading.d.ts +4 -0
  293. package/src/utils/gientechCommon/components/DeleteModal.d.ts +1 -0
  294. package/src/utils/gientechCommon/components/DisplayError.d.ts +1 -0
  295. package/src/utils/gientechCommon/components/DisplayLoading.d.ts +1 -0
  296. package/src/utils/gientechCommon/components/FeedBackModal.d.ts +2 -0
  297. package/src/utils/gientechCommon/components/FileCardCommon.d.ts +19 -0
  298. package/src/utils/gientechCommon/components/FileManager/index.d.ts +21 -0
  299. package/src/utils/gientechCommon/components/Messages/GientechNewChatWelcome.d.ts +11 -0
  300. package/src/utils/gientechCommon/components/Messages/ReferenceCard.d.ts +17 -0
  301. package/src/utils/gientechCommon/components/Messages/RetriveItem.d.ts +28 -0
  302. package/src/utils/gientechCommon/components/Messages/WebRetriveItem.d.ts +3 -0
  303. package/src/utils/gientechCommon/components/Messages/defaultStyleSet.d.ts +94 -0
  304. package/src/utils/gientechCommon/components/RenameModal.d.ts +1 -0
  305. package/src/utils/gientechCommon/configs/commonConfig.d.ts +2 -0
  306. package/src/utils/gientechCommon/configs/senderConfig.d.ts +1 -0
  307. package/src/utils/gientechCommon/configs/stylesConfig.d.ts +88 -0
  308. package/src/utils/gientechCommon/hooks/AichatUseController.d.ts +47 -0
  309. package/src/utils/gientechCommon/hooks/useFileDisplayTools.d.ts +17 -0
  310. package/src/utils/gientechCommon/hooks/useFileManager.d.ts +35 -0
  311. package/src/utils/gientechCommon/slate/converters/deserializers.d.ts +5 -0
  312. package/src/utils/gientechCommon/slate/converters/mockData.d.ts +72 -0
  313. package/src/utils/gientechCommon/slate/converters/slateConverters.d.ts +66 -0
  314. package/src/utils/gientechCommon/slate/richElements/index.d.ts +4 -0
  315. package/src/utils/gientechCommon/utils/fileUtils.d.ts +32 -0
  316. package/src/utils/gientechCommon/utils/index.d.ts +59 -0
  317. package/src/utils/gientechCommon/utils/request.d.ts +2 -0
  318. package/src/utils/gientechCommon/utils/serverFn.d.ts +52 -0
  319. package/src/utils/index.d.ts +24 -0
  320. package/src/utils/testconfigs/demologin/index.d.ts +1 -0
  321. package/src/utils/testconfigs/index.d.ts +57 -0
  322. package/streamFilesReader.d.ts +2 -60
  323. package/assets/graph.svg +0 -4
  324. package/assets/knowledge.svg +0 -4
  325. package/assets/sensitive.svg +0 -5
@@ -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,2 @@
1
+ export declare const validateAndFixNodes: (nodes: any) => any;
2
+ export declare function WithPlate(props: any): import("react/jsx-runtime").JSX.Element;
@@ -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,3 @@
1
+ export declare const CONVERT_IMG_PLUGINS = "convertImgPlugins";
2
+ export declare const ConvertImgElements: any;
3
+ export declare const ConvertImgPlugins: any;
@@ -0,0 +1,3 @@
1
+ export declare const CREATEINDEXES = "createIndexes";
2
+ export declare const IndexesElement: any;
3
+ export declare const CreateIndexes: any;
@@ -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,3 @@
1
+ export declare const IMAGE_CLICK = "imageClick";
2
+ export declare const ImageClickElement: any;
3
+ export declare const ImageClickPlugin: any;
@@ -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,3 @@
1
+ export declare const Avatar: any;
2
+ export declare const AvatarImage: any;
3
+ export declare const AvatarFallback: 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,3 @@
1
+ export declare const Caption: any;
2
+ export declare const CaptionTextarea: any;
3
+ export declare const CaptionButton: any;
@@ -0,0 +1 @@
1
+ export declare const Checkbox: any;
@@ -0,0 +1,3 @@
1
+ import { default as Prism } from 'prismjs';
2
+ export { Prism };
3
+ export declare function CodeBlockCombobox(): import("react/jsx-runtime").JSX.Element | null;
@@ -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,3 @@
1
+ import { default as React } from 'react';
2
+ export declare const ColumnGroupElement: any;
3
+ export declare function ColumnFloatingToolbar({ children }: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
@@ -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,3 @@
1
+ export declare function CommentAvatar({ userId }: {
2
+ userId: null | string;
3
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1 @@
1
+ export declare function CommentCreateForm(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ type PlateCommentProps = {
2
+ commentId: string;
3
+ };
4
+ export declare function CommentItem({ commentId }: PlateCommentProps): import("react/jsx-runtime").JSX.Element | null;
5
+ export {};
@@ -0,0 +1,3 @@
1
+ import { TCommentText } from '@udecode/plate-comments';
2
+ import { PlateLeafProps } from '@udecode/plate-common/react';
3
+ export declare function CommentLeaf({ className, ...props }: PlateLeafProps<TCommentText>): 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,5 @@
1
+ export declare const inputVariants: (props?: ({
2
+ h?: "md" | "sm" | null | undefined;
3
+ variant?: "default" | "ghost" | null | undefined;
4
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
+ export declare const Input: any;
@@ -0,0 +1,2 @@
1
+ import { DropdownMenuProps } from '@radix-ui/react-dropdown-menu';
2
+ export declare function InsertDropdownMenu(props: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
@@ -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,5 @@
1
+ export declare const MentionInputElement: any;
2
+ export declare const MENTIONABLES: {
3
+ key: string;
4
+ text: string;
5
+ }[];
@@ -0,0 +1,2 @@
1
+ import { DropdownMenuProps } from '@radix-ui/react-dropdown-menu';
2
+ export declare function ModeDropdownMenu(props: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { DropdownMenuProps } from '@radix-ui/react-dropdown-menu';
2
+ export declare function MoreDropdownMenu(props: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
@@ -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,2 @@
1
+ export declare const TableCellElement: any;
2
+ export declare const TableCellHeaderElement: any;
@@ -0,0 +1,3 @@
1
+ export declare const TableBordersDropdownMenuContent: any;
2
+ export declare const TableFloatingToolbar: any;
3
+ export declare const TableElement: any;
@@ -0,0 +1 @@
1
+ export declare const TableRowElement: any;
@@ -0,0 +1,3 @@
1
+ export declare const isMarkdownTableData: (str: string) => boolean;
2
+ export declare const createTable: (data: any) => any;
3
+ export declare const tableValue: any;
@@ -0,0 +1 @@
1
+ export declare const TodoListElement: any;
@@ -0,0 +1 @@
1
+ export declare const ToggleElement: any;
@@ -0,0 +1,21 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from 'react';
3
+ import * as ToolbarPrimitive from '@radix-ui/react-toolbar';
4
+ export declare const Toolbar: any;
5
+ export declare const ToolbarToggleGroup: any;
6
+ export declare const ToolbarLink: any;
7
+ export declare const ToolbarSeparator: any;
8
+ declare const ToolbarButton: React.ForwardRefExoticComponent<Omit<{
9
+ tooltip?: React.ReactNode;
10
+ tooltipContentProps?: Omit<React.ComponentPropsWithoutRef<typeof ToolbarPrimitive>, "children">;
11
+ tooltipProps?: Omit<React.ComponentPropsWithoutRef<typeof ToolbarPrimitive>, "children">;
12
+ } & Omit<Omit<{
13
+ isDropdown?: boolean;
14
+ pressed?: boolean;
15
+ } & Omit<any, "value" | "asChild"> & VariantProps<(props?: ({
16
+ size?: "default" | "lg" | "sm" | null | undefined;
17
+ variant?: "default" | "outline" | null | undefined;
18
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string>, "ref"> & React.RefAttributes<any>, "ref">, "ref"> & React.RefAttributes<any>>;
19
+ export { ToolbarButton };
20
+ export declare const ToolbarToggleItem: any;
21
+ export declare const ToolbarGroup: any;
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
3
+ export declare const TooltipProvider: any;
4
+ export declare const Tooltip: any;
5
+ export declare const TooltipTrigger: any;
6
+ export declare const TooltipPortal: any;
7
+ export declare const TooltipContent: any;
8
+ export declare function withTooltip<T extends React.ComponentType<any> | keyof HTMLElementTagNameMap>(Component: T): React.ForwardRefExoticComponent<React.PropsWithoutRef<{
9
+ tooltip?: React.ReactNode;
10
+ tooltipContentProps?: Omit<React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>, "children">;
11
+ tooltipProps?: Omit<React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root>, "children">;
12
+ } & React.PropsWithoutRef<React.ComponentProps<T>>> & React.RefAttributes<React.ElementRef<T>>>;
@@ -0,0 +1,2 @@
1
+ import { DropdownMenuProps } from '@radix-ui/react-dropdown-menu';
2
+ export declare function TurnIntoDropdownMenu(props: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;