@gientech/modual 2.2.16 → 2.2.18

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 (395) hide show
  1. package/README.md +761 -800
  2. package/assets/{GientechStreamReader-Cw7qAuh1.js → GientechStreamReader-BAakXMV9.js} +2 -2
  3. package/assets/{LeftOutlined-e0IEJaBy.js → LeftOutlined-DbVWaJal.js} +1 -1
  4. package/assets/{circle-plus-D-3IlJj0.js → circle-plus-Bqwlq2UM.js} +1 -1
  5. package/assets/database.svg +11 -11
  6. package/assets/database_add.svg +53 -53
  7. package/assets/database_connect.svg +66 -66
  8. package/assets/database_upload.svg +29 -29
  9. package/assets/databse.svg +6 -6
  10. package/assets/defaultWeLogo.svg +14 -14
  11. package/assets/graph.svg +4 -0
  12. package/assets/index-B6dVYi-P.js +2177 -0
  13. package/assets/{index-BtIbpTbT.js → index-BB-K4Uv2.js} +1 -1
  14. package/assets/{index-CJSVtVuI.js → index-BbQ5_tfg.js} +20 -20
  15. package/assets/{index-D3P9OTJx.js → index-CQChY5LV.js} +1 -1
  16. package/assets/{index-BL0njpis.js → index-CaKTISxy.js} +8 -8
  17. package/assets/{index-DfjY9fMd.js → index-DCnYE71u.js} +18 -18
  18. package/assets/{index-DhiJUMaM.js → index-DIaywdNt.js} +1 -1
  19. package/assets/{index-BmxlskIi.js → index-DiTGnLML.js} +1 -1
  20. package/assets/{index-MhFum9cd.js → index-Ds13bhV-.js} +57 -57
  21. package/assets/{index-BzdLAhNN.js → index-O8MDfMV6.js} +1 -1
  22. package/assets/{index-B1tZE4X5.js → index-zCzB-56N.js} +1 -1
  23. package/assets/knowledge.svg +4 -0
  24. package/assets/mysql.svg +14 -14
  25. package/assets/{plus-CmPO6ys9.js → plus-B4_cWXV7.js} +1 -1
  26. package/assets/{search-DH1utHsY.js → search-B5sYxJby.js} +1 -1
  27. package/assets/sensitive.svg +5 -0
  28. package/assets/{style-DolEdtxM.js → style-lplyebrk.js} +7 -7
  29. package/assets/style4.css +1 -1
  30. package/assets/style5.css +1 -1
  31. package/assets/style6.css +1 -1
  32. package/assets/style7.css +1 -0
  33. package/assets/{triangle-alert-BjbZI8PD.js → triangle-alert-DMLBtHZo.js} +1 -1
  34. package/assets/{x-BUKpZUhr.js → x-BHe7G4Ln.js} +1 -1
  35. package/assistantConfig.d.ts +32 -4
  36. package/assistantConfig.js +20 -20
  37. package/chat.d.ts +9 -0
  38. package/chat.js +1 -1
  39. package/chatCompare.d.ts +9 -0
  40. package/chatCompare.js +1 -1
  41. package/database.d.ts +9 -0
  42. package/database.js +2 -2
  43. package/databaseId.d.ts +9 -0
  44. package/databaseId.js +1 -1
  45. package/databaseTable.d.ts +9 -0
  46. package/databaseTable.js +2 -2
  47. package/index.d.ts +9 -0
  48. package/index.js +1 -1
  49. package/modelManage.d.ts +9 -0
  50. package/modelManage.js +2 -2
  51. package/package.json +6 -16
  52. package/sensitive.d.ts +161 -6
  53. package/sensitive.js +6 -6
  54. package/sensitiveWords.d.ts +161 -6
  55. package/sensitiveWords.js +1 -1
  56. package/streamFilesReader.d.ts +60 -2
  57. package/streamFilesReader.js +1 -1
  58. package/worker/pdf.worker.min.js +21 -21
  59. package/assets/_commonjsHelpers-_d1bhYXs.js +0 -1
  60. package/assets/iconAi.svg +0 -9
  61. package/assets/lib_enter-e1LoilHd-DrO8w6Nj.js +0 -2177
  62. package/assets/prism-bash-zSjFhtUz-cl4oq_rS.js +0 -1
  63. package/assets/prism-c-CXS5tkeN-BI05wwL9.js +0 -1
  64. package/assets/prism-cpp-DTm5qrps-DEcnTKnd.js +0 -1
  65. package/assets/prism-css-3Jya3wSQ-B-W7RKWG.js +0 -1
  66. package/assets/prism-diff-Apx1lkH_-b-nTbU2H.js +0 -3
  67. package/assets/prism-go-CHuRSSd--CyY0RbE6.js +0 -1
  68. package/assets/prism-java-l04-K_JR-DTIQeGI0.js +0 -1
  69. package/assets/prism-javascript-CLux6jF8-2LMHe_9g.js +0 -1
  70. package/assets/prism-json-iVb7He6L-xwnKirkR.js +0 -1
  71. package/assets/prism-jsx-yfun9EDN-BfrbuX8i.js +0 -1
  72. package/assets/prism-kotlin-QHMLy1lI-BxfM_G_h.js +0 -1
  73. package/assets/prism-markdown-tjNeCMi3-mpwv5EuF.js +0 -1
  74. package/assets/prism-markup-BNGj0Tvm-LX0ylPSt.js +0 -1
  75. package/assets/prism-php-Cq3Hq1Wv-BQ6y6LDZ.js +0 -1
  76. package/assets/prism-python-CP37PFZv-BvLoHz-u.js +0 -1
  77. package/assets/prism-ruby-DcAmdHPZ-CavK5dyy.js +0 -1
  78. package/assets/prism-rust-CuWIv8B8-D_BYGjS-.js +0 -1
  79. package/assets/prism-sql-8Y2-THrf-AgAyy5H_.js +0 -1
  80. package/assets/prism-swift-CeDyTyXT--kriB360.js +0 -1
  81. package/assets/prism-tsx-D_jjxt3I-DTNho6I-.js +0 -1
  82. package/assets/prism-typescript-DSWPRTnC-CeVC8Yup.js +0 -1
  83. package/assets/prism-yaml-DwdKlmeG-Dm3L3oXv.js +0 -1
  84. package/init.d.ts +0 -1
  85. package/init.js +0 -1
  86. package/prism-setup.d.ts +0 -1
  87. package/prism-setup.js +0 -9
  88. package/src/examples/ConversationAssistantPage/index.d.ts +0 -1
  89. package/src/examples/LoginPage/index.d.ts +0 -2
  90. package/src/examples/chat/components/DrawerGraphPreview.d.ts +0 -5
  91. package/src/examples/chat/index.d.ts +0 -1
  92. package/src/examples/chatCompare/index.d.ts +0 -2
  93. package/src/examples/gientechStreamFilesReader/index.d.ts +0 -5
  94. package/src/examples/headlessChat/index.d.ts +0 -1
  95. package/src/examples/knowledgebaseDetails/index.d.ts +0 -1
  96. package/src/examples/ragDatabaseDataPage/index.d.ts +0 -1
  97. package/src/examples/ragDatabaseIdPage/index.d.ts +0 -1
  98. package/src/examples/ragDatabasePage/index.d.ts +0 -2
  99. package/src/examples/ragModelManagePage/index.d.ts +0 -1
  100. package/src/examples/ragSearchPage/index.d.ts +0 -1
  101. package/src/examples/ragSensitiveWordsPage/index.d.ts +0 -1
  102. package/src/examples/streamFiles/index.d.ts +0 -3
  103. package/src/examples/utils/demo_setting_pannel.d.ts +0 -1
  104. package/src/init.d.ts +0 -0
  105. package/src/lib_enter.d.ts +0 -14
  106. package/src/main.d.ts +0 -1
  107. package/src/modules/assistantConfig/components/Database.d.ts +0 -2
  108. package/src/modules/assistantConfig/components/Graph.d.ts +0 -2
  109. package/src/modules/assistantConfig/components/Knowledge.d.ts +0 -3
  110. package/src/modules/assistantConfig/components/NotFoundContent.d.ts +0 -2
  111. package/src/modules/assistantConfig/components/Paragraph.d.ts +0 -8
  112. package/src/modules/assistantConfig/components/ParamsItem.d.ts +0 -2
  113. package/src/modules/assistantConfig/components/ResourceBinderItem.d.ts +0 -11
  114. package/src/modules/assistantConfig/components/SearchableSelector.d.ts +0 -44
  115. package/src/modules/assistantConfig/components/Sensitive.d.ts +0 -2
  116. package/src/modules/assistantConfig/components/SliderInput.d.ts +0 -14
  117. package/src/modules/assistantConfig/constants.d.ts +0 -70
  118. package/src/modules/assistantConfig/index.d.ts +0 -19
  119. package/src/modules/assistantConfig/server.d.ts +0 -20
  120. package/src/modules/chat/AllFiles.d.ts +0 -1
  121. package/src/modules/chat/Conversations/Item.d.ts +0 -11
  122. package/src/modules/chat/Conversations/List.d.ts +0 -20
  123. package/src/modules/chat/Conversations/groupByTime.d.ts +0 -17
  124. package/src/modules/chat/Conversations/index.d.ts +0 -20
  125. package/src/modules/chat/ReferenceBar.d.ts +0 -9
  126. package/src/modules/chat/constants.d.ts +0 -17
  127. package/src/modules/chat/i18n.d.ts +0 -44
  128. package/src/modules/chat/index.d.ts +0 -70
  129. package/src/modules/chat/referenceCom/DeleteModal.d.ts +0 -1
  130. package/src/modules/chat/referenceCom/DrawerContent.d.ts +0 -15
  131. package/src/modules/chat/referenceCom/DrawerDatabase.d.ts +0 -2
  132. package/src/modules/chat/referenceCom/DrawerGraphPreview.d.ts +0 -6
  133. package/src/modules/chat/referenceCom/DrawerPreview.d.ts +0 -6
  134. package/src/modules/chat/referenceCom/DrawerTitle.d.ts +0 -5
  135. package/src/modules/chat/referenceCom/RenameModal.d.ts +0 -1
  136. package/src/modules/chat/referenceCom/TagCom.d.ts +0 -2
  137. package/src/modules/chat/types.d.ts +0 -14
  138. package/src/modules/chat/utils/index.d.ts +0 -54
  139. package/src/modules/chatCompare/UseChatCompareHooks.d.ts +0 -11
  140. package/src/modules/chatCompare/components/AichatCompareUseController.d.ts +0 -46
  141. package/src/modules/chatCompare/components/AssistantSelector.d.ts +0 -12
  142. package/src/modules/chatCompare/components/ChatInputer.d.ts +0 -2
  143. package/src/modules/chatCompare/components/ChatInstance.d.ts +0 -2
  144. package/src/modules/chatCompare/components/ChatItem.d.ts +0 -21
  145. package/src/modules/chatCompare/components/Sender/FileCardCommon.d.ts +0 -19
  146. package/src/modules/chatCompare/components/Sender/FileUpload.d.ts +0 -13
  147. package/src/modules/chatCompare/components/Sender/FilesDisplay.d.ts +0 -16
  148. package/src/modules/chatCompare/components/Sender/VoiceInput.d.ts +0 -6
  149. package/src/modules/chatCompare/components/Sender/contexts/BadgeContext.d.ts +0 -10
  150. package/src/modules/chatCompare/components/Sender/fileIcon.d.ts +0 -13
  151. package/src/modules/chatCompare/components/Sender/index.d.ts +0 -58
  152. package/src/modules/chatCompare/components/UseChatInstanceHooks.d.ts +0 -8
  153. package/src/modules/chatCompare/components/UseScrollHooks.d.ts +0 -6
  154. package/src/modules/chatCompare/components/components/AllFiles.d.ts +0 -1
  155. package/src/modules/chatCompare/components/components/DeleteModal.d.ts +0 -1
  156. package/src/modules/chatCompare/components/components/DrawerContent.d.ts +0 -15
  157. package/src/modules/chatCompare/components/components/DrawerDatabase.d.ts +0 -2
  158. package/src/modules/chatCompare/components/components/DrawerGraphPreview.d.ts +0 -6
  159. package/src/modules/chatCompare/components/components/DrawerPreview.d.ts +0 -6
  160. package/src/modules/chatCompare/components/components/DrawerTitle.d.ts +0 -5
  161. package/src/modules/chatCompare/components/components/DrawerVideo.d.ts +0 -2
  162. package/src/modules/chatCompare/components/components/ReferenceBar.d.ts +0 -10
  163. package/src/modules/chatCompare/components/components/RenameModal.d.ts +0 -1
  164. package/src/modules/chatCompare/components/components/TagCom.d.ts +0 -2
  165. package/src/modules/chatCompare/components/defaultStyleSet.d.ts +0 -94
  166. package/src/modules/chatCompare/components/server.d.ts +0 -59
  167. package/src/modules/chatCompare/components/serverFn.d.ts +0 -52
  168. package/src/modules/chatCompare/components/useFileManager.d.ts +0 -37
  169. package/src/modules/chatCompare/components/utils.d.ts +0 -8
  170. package/src/modules/chatCompare/data.d.ts +0 -290
  171. package/src/modules/chatCompare/index.d.ts +0 -9
  172. package/src/modules/chatCompare/utils/AiChat.types.d.ts +0 -111
  173. package/src/modules/chatCompare/utils/constants.d.ts +0 -22
  174. package/src/modules/chatCompare/utils/fileUploadValidator.d.ts +0 -27
  175. package/src/modules/chatCompare/utils/index.d.ts +0 -1
  176. package/src/modules/database/CreateModal.d.ts +0 -11
  177. package/src/modules/database/index.d.ts +0 -27
  178. package/src/modules/database/server.d.ts +0 -16
  179. package/src/modules/databaseId/CustomCom.d.ts +0 -32
  180. package/src/modules/databaseId/EditConfig.d.ts +0 -10
  181. package/src/modules/databaseId/UploadDrawer.d.ts +0 -13
  182. package/src/modules/databaseId/i18n.d.ts +0 -94
  183. package/src/modules/databaseId/index.d.ts +0 -27
  184. package/src/modules/databaseId/server.d.ts +0 -22
  185. package/src/modules/databaseTable/EditRowDrawer.d.ts +0 -8
  186. package/src/modules/databaseTable/index.d.ts +0 -31
  187. package/src/modules/databaseTable/server.d.ts +0 -17
  188. package/src/modules/headlessChat/ReferenceBar.d.ts +0 -8
  189. package/src/modules/headlessChat/constants.d.ts +0 -16
  190. package/src/modules/headlessChat/index.d.ts +0 -37
  191. package/src/modules/headlessChat/referenceCom/DeleteModal.d.ts +0 -1
  192. package/src/modules/headlessChat/referenceCom/DrawerContent.d.ts +0 -15
  193. package/src/modules/headlessChat/referenceCom/DrawerDatabase.d.ts +0 -2
  194. package/src/modules/headlessChat/referenceCom/DrawerGraphPreview.d.ts +0 -6
  195. package/src/modules/headlessChat/referenceCom/DrawerPreview.d.ts +0 -6
  196. package/src/modules/headlessChat/referenceCom/DrawerTitle.d.ts +0 -5
  197. package/src/modules/headlessChat/referenceCom/RenameModal.d.ts +0 -1
  198. package/src/modules/headlessChat/referenceCom/TagCom.d.ts +0 -2
  199. package/src/modules/headlessChat/types.d.ts +0 -21
  200. package/src/modules/headlessChat/utils/index.d.ts +0 -54
  201. package/src/modules/knowledgeBase/index.d.ts +0 -18
  202. package/src/modules/knowledgeBase/server.d.ts +0 -16
  203. package/src/modules/knowledgebaseDetails/KnowledgeBaseDetails.d.ts +0 -32
  204. package/src/modules/knowledgebaseDetails/components/AddFileContent.d.ts +0 -10
  205. package/src/modules/knowledgebaseDetails/components/BatchOption.d.ts +0 -52
  206. package/src/modules/knowledgebaseDetails/components/BreadcrumbTruncated.d.ts +0 -33
  207. package/src/modules/knowledgebaseDetails/components/Card.d.ts +0 -20
  208. package/src/modules/knowledgebaseDetails/components/ContentDuplicate.d.ts +0 -10
  209. package/src/modules/knowledgebaseDetails/components/CreateForm.d.ts +0 -14
  210. package/src/modules/knowledgebaseDetails/components/DownloadBtn.d.ts +0 -10
  211. package/src/modules/knowledgebaseDetails/components/DuplicateCheck.d.ts +0 -2
  212. package/src/modules/knowledgebaseDetails/components/Empty.d.ts +0 -6
  213. package/src/modules/knowledgebaseDetails/components/FaqExtractionMoreDropdown.d.ts +0 -22
  214. package/src/modules/knowledgebaseDetails/components/FaqFolderItem.d.ts +0 -14
  215. package/src/modules/knowledgebaseDetails/components/FaqManagementMoreDropdown.d.ts +0 -26
  216. package/src/modules/knowledgebaseDetails/components/FaqQaItem.d.ts +0 -14
  217. package/src/modules/knowledgebaseDetails/components/FileFolderTransferContent .d.ts +0 -12
  218. package/src/modules/knowledgebaseDetails/components/FileViewCom.d.ts +0 -2
  219. package/src/modules/knowledgebaseDetails/components/KnowledgeBaseCard.d.ts +0 -20
  220. package/src/modules/knowledgebaseDetails/components/KnowledgeBaseSummaryCard.d.ts +0 -17
  221. package/src/modules/knowledgebaseDetails/components/LabelCom.d.ts +0 -6
  222. package/src/modules/knowledgebaseDetails/components/ModifyReviseDate.d.ts +0 -7
  223. package/src/modules/knowledgebaseDetails/components/NavBar.d.ts +0 -22
  224. package/src/modules/knowledgebaseDetails/components/SearchableSelector.d.ts +0 -22
  225. package/src/modules/knowledgebaseDetails/components/SynLogModal.d.ts +0 -5
  226. package/src/modules/knowledgebaseDetails/components/TagDrawerContent.d.ts +0 -2
  227. package/src/modules/knowledgebaseDetails/components/TagsInputer.d.ts +0 -7
  228. package/src/modules/knowledgebaseDetails/components/TitleCom.d.ts +0 -7
  229. package/src/modules/knowledgebaseDetails/components/TransferContent.d.ts +0 -11
  230. package/src/modules/knowledgebaseDetails/components/UploadBox.d.ts +0 -34
  231. package/src/modules/knowledgebaseDetails/components/fileManagementParts.d.ts +0 -161
  232. package/src/modules/knowledgebaseDetails/components/index.d.ts +0 -7
  233. package/src/modules/knowledgebaseDetails/components/nameDuplicate.d.ts +0 -2
  234. package/src/modules/knowledgebaseDetails/consts/knowledgebase.d.ts +0 -105
  235. package/src/modules/knowledgebaseDetails/index.d.ts +0 -2
  236. package/src/modules/knowledgebaseDetails/modules/ConfigModule.d.ts +0 -8
  237. package/src/modules/knowledgebaseDetails/modules/FaqModule.d.ts +0 -7
  238. package/src/modules/knowledgebaseDetails/modules/KnowledgeParseModule.d.ts +0 -12
  239. package/src/modules/knowledgebaseDetails/modules/RetrievalTestModule.d.ts +0 -8
  240. package/src/modules/knowledgebaseDetails/modules/UploadManagementModule.d.ts +0 -10
  241. package/src/modules/knowledgebaseDetails/modules/types.d.ts +0 -36
  242. package/src/modules/knowledgebaseDetails/servers/analysis.d.ts +0 -1
  243. package/src/modules/knowledgebaseDetails/servers/index.d.ts +0 -250
  244. package/src/modules/knowledgebaseDetails/servers/service.d.ts +0 -63
  245. package/src/modules/login/components/Login/LoginBox/index.d.ts +0 -18
  246. package/src/modules/login/components/Login/RegisterBox/index.d.ts +0 -15
  247. package/src/modules/login/components/Login/index.d.ts +0 -17
  248. package/src/modules/login/i18n.d.ts +0 -60
  249. package/src/modules/login/index.d.ts +0 -10
  250. package/src/modules/login/useServices.d.ts +0 -9
  251. package/src/modules/login/utils.d.ts +0 -2
  252. package/src/modules/modelManage/ConfigDrawer.d.ts +0 -17
  253. package/src/modules/modelManage/ReplaceModal.d.ts +0 -8
  254. package/src/modules/modelManage/const.d.ts +0 -35
  255. package/src/modules/modelManage/i18n.d.ts +0 -115
  256. package/src/modules/modelManage/index.d.ts +0 -19
  257. package/src/modules/modelManage/server.d.ts +0 -19
  258. package/src/modules/nodegraph/index.d.ts +0 -1
  259. package/src/modules/search/components/AssisSelect.d.ts +0 -14
  260. package/src/modules/search/components/Editor/ChatViewEditor.d.ts +0 -2
  261. package/src/modules/search/components/Editor/constant.d.ts +0 -6
  262. package/src/modules/search/components/Editor/index.d.ts +0 -15
  263. package/src/modules/search/components/Editor/plugins/autofomatRules.d.ts +0 -10
  264. package/src/modules/search/components/Editor/plugins/convertImgPlugins.d.ts +0 -3
  265. package/src/modules/search/components/Editor/plugins/createIndexes.d.ts +0 -3
  266. package/src/modules/search/components/Editor/plugins/displayer.d.ts +0 -22
  267. package/src/modules/search/components/Editor/plugins/imageClick.d.ts +0 -3
  268. package/src/modules/search/components/Editor/plugins/myplugin.d.ts +0 -4
  269. package/src/modules/search/components/Editor/ui/avatar.d.ts +0 -3
  270. package/src/modules/search/components/Editor/ui/blockquote-element.d.ts +0 -1
  271. package/src/modules/search/components/Editor/ui/button.d.ts +0 -6
  272. package/src/modules/search/components/Editor/ui/calendar.d.ts +0 -8
  273. package/src/modules/search/components/Editor/ui/caption.d.ts +0 -3
  274. package/src/modules/search/components/Editor/ui/checkbox.d.ts +0 -1
  275. package/src/modules/search/components/Editor/ui/code-block-combobox.d.ts +0 -3
  276. package/src/modules/search/components/Editor/ui/code-block-element.d.ts +0 -1
  277. package/src/modules/search/components/Editor/ui/code-leaf.d.ts +0 -1
  278. package/src/modules/search/components/Editor/ui/code-line-element.d.ts +0 -1
  279. package/src/modules/search/components/Editor/ui/code-syntax-leaf.d.ts +0 -1
  280. package/src/modules/search/components/Editor/ui/column-element.d.ts +0 -1
  281. package/src/modules/search/components/Editor/ui/column-group-element.d.ts +0 -3
  282. package/src/modules/search/components/Editor/ui/command.d.ts +0 -10
  283. package/src/modules/search/components/Editor/ui/comment-avatar.d.ts +0 -3
  284. package/src/modules/search/components/Editor/ui/comment-create-form.d.ts +0 -1
  285. package/src/modules/search/components/Editor/ui/comment-item.d.ts +0 -5
  286. package/src/modules/search/components/Editor/ui/comment-leaf.d.ts +0 -3
  287. package/src/modules/search/components/Editor/ui/comment-more-dropdown.d.ts +0 -1
  288. package/src/modules/search/components/Editor/ui/comment-reply-items.d.ts +0 -1
  289. package/src/modules/search/components/Editor/ui/comment-resolve-button.d.ts +0 -1
  290. package/src/modules/search/components/Editor/ui/comment-value.d.ts +0 -1
  291. package/src/modules/search/components/Editor/ui/comments-popover.d.ts +0 -5
  292. package/src/modules/search/components/Editor/ui/date-element.d.ts +0 -1
  293. package/src/modules/search/components/Editor/ui/dialog.d.ts +0 -10
  294. package/src/modules/search/components/Editor/ui/draggable.d.ts +0 -39
  295. package/src/modules/search/components/Editor/ui/dropdown-menu.d.ts +0 -19
  296. package/src/modules/search/components/Editor/ui/emoji-input-element.d.ts +0 -1
  297. package/src/modules/search/components/Editor/ui/excalidraw-element.d.ts +0 -1
  298. package/src/modules/search/components/Editor/ui/fixed-toolbar-buttons.d.ts +0 -1
  299. package/src/modules/search/components/Editor/ui/fixed-toolbar.d.ts +0 -1
  300. package/src/modules/search/components/Editor/ui/floating-toolbar-buttons.d.ts +0 -1
  301. package/src/modules/search/components/Editor/ui/floating-toolbar.d.ts +0 -1
  302. package/src/modules/search/components/Editor/ui/heading-element.d.ts +0 -1
  303. package/src/modules/search/components/Editor/ui/highlight-leaf.d.ts +0 -1
  304. package/src/modules/search/components/Editor/ui/hr-element.d.ts +0 -1
  305. package/src/modules/search/components/Editor/ui/icons.d.ts +0 -82
  306. package/src/modules/search/components/Editor/ui/image-element.d.ts +0 -1
  307. package/src/modules/search/components/Editor/ui/inline-combobox.d.ts +0 -27
  308. package/src/modules/search/components/Editor/ui/input.d.ts +0 -5
  309. package/src/modules/search/components/Editor/ui/insert-dropdown-menu.d.ts +0 -2
  310. package/src/modules/search/components/Editor/ui/kbd-leaf.d.ts +0 -1
  311. package/src/modules/search/components/Editor/ui/link-element.d.ts +0 -1
  312. package/src/modules/search/components/Editor/ui/link-floating-toolbar.d.ts +0 -5
  313. package/src/modules/search/components/Editor/ui/list-element.d.ts +0 -1
  314. package/src/modules/search/components/Editor/ui/mark-toolbar-button.d.ts +0 -1
  315. package/src/modules/search/components/Editor/ui/media-embed-element.d.ts +0 -1
  316. package/src/modules/search/components/Editor/ui/media-popover.d.ts +0 -7
  317. package/src/modules/search/components/Editor/ui/mention-element.d.ts +0 -1
  318. package/src/modules/search/components/Editor/ui/mention-input-element.d.ts +0 -5
  319. package/src/modules/search/components/Editor/ui/mode-dropdown-menu.d.ts +0 -2
  320. package/src/modules/search/components/Editor/ui/more-dropdown-menu.d.ts +0 -2
  321. package/src/modules/search/components/Editor/ui/paragraph-element.d.ts +0 -1
  322. package/src/modules/search/components/Editor/ui/placeholder.d.ts +0 -5
  323. package/src/modules/search/components/Editor/ui/popover.d.ts +0 -5
  324. package/src/modules/search/components/Editor/ui/resizable.d.ts +0 -5
  325. package/src/modules/search/components/Editor/ui/separator.d.ts +0 -1
  326. package/src/modules/search/components/Editor/ui/table-cell-element.d.ts +0 -2
  327. package/src/modules/search/components/Editor/ui/table-element.d.ts +0 -3
  328. package/src/modules/search/components/Editor/ui/table-row-element.d.ts +0 -1
  329. package/src/modules/search/components/Editor/ui/tableValue.d.ts +0 -3
  330. package/src/modules/search/components/Editor/ui/todo-list-element.d.ts +0 -1
  331. package/src/modules/search/components/Editor/ui/toggle-element.d.ts +0 -1
  332. package/src/modules/search/components/Editor/ui/toolbar.d.ts +0 -21
  333. package/src/modules/search/components/Editor/ui/tooltip.d.ts +0 -12
  334. package/src/modules/search/components/Editor/ui/turn-into-dropdown-menu.d.ts +0 -2
  335. package/src/modules/search/components/Editor/ui/with-draggables.d.ts +0 -6
  336. package/src/modules/search/components/FileList.d.ts +0 -11
  337. package/src/modules/search/components/ImageGroupView/index.d.ts +0 -2
  338. package/src/modules/search/components/ResultContent.d.ts +0 -14
  339. package/src/modules/search/components/SearchInput.d.ts +0 -22
  340. package/src/modules/search/components/SearchLanding.d.ts +0 -2
  341. package/src/modules/search/components/SearchView.d.ts +0 -2
  342. package/src/modules/search/components/SimpleEditor.d.ts +0 -10
  343. package/src/modules/search/components/SimpleFileList.d.ts +0 -11
  344. package/src/modules/search/index.d.ts +0 -3
  345. package/src/modules/search/servers/apis.d.ts +0 -22
  346. package/src/modules/search/servers/index.d.ts +0 -50
  347. package/src/modules/search/type.d.ts +0 -20
  348. package/src/modules/search/utils.d.ts +0 -4
  349. package/src/modules/sensitive/i18n.d.ts +0 -103
  350. package/src/modules/sensitive/index.d.ts +0 -26
  351. package/src/modules/sensitive/sensitiveEditor.d.ts +0 -28
  352. package/src/modules/sensitive/server.d.ts +0 -26
  353. package/src/modules/sensitiveId/AutoTag.d.ts +0 -10
  354. package/src/modules/sensitiveId/UploadModal.d.ts +0 -16
  355. package/src/modules/sensitiveId/VirtualWrap.d.ts +0 -18
  356. package/src/modules/sensitiveId/index.d.ts +0 -13
  357. package/src/modules/sensitiveId/server.d.ts +0 -12
  358. package/src/modules/streamFilesReader/GientechStreamReader.d.ts +0 -45
  359. package/src/modules/streamFilesReader/components/Header/Toolbar.d.ts +0 -1
  360. package/src/modules/streamFilesReader/components/Header/index.d.ts +0 -32
  361. package/src/modules/streamFilesReader/index.d.ts +0 -2
  362. package/src/prism-setup.d.ts +0 -0
  363. package/src/utils/commonFn.d.ts +0 -4
  364. package/src/utils/decryptApiKey.d.ts +0 -9
  365. package/src/utils/gientechCommon/components/AppError.d.ts +0 -4
  366. package/src/utils/gientechCommon/components/AppLoading.d.ts +0 -4
  367. package/src/utils/gientechCommon/components/DeleteModal.d.ts +0 -1
  368. package/src/utils/gientechCommon/components/DisplayError.d.ts +0 -1
  369. package/src/utils/gientechCommon/components/DisplayLoading.d.ts +0 -1
  370. package/src/utils/gientechCommon/components/FeedBackModal.d.ts +0 -2
  371. package/src/utils/gientechCommon/components/FileCardCommon.d.ts +0 -19
  372. package/src/utils/gientechCommon/components/FileManager/index.d.ts +0 -21
  373. package/src/utils/gientechCommon/components/Messages/GientechNewChatWelcome.d.ts +0 -11
  374. package/src/utils/gientechCommon/components/Messages/ReferenceCard.d.ts +0 -17
  375. package/src/utils/gientechCommon/components/Messages/RetriveItem.d.ts +0 -28
  376. package/src/utils/gientechCommon/components/Messages/WebRetriveItem.d.ts +0 -3
  377. package/src/utils/gientechCommon/components/Messages/defaultStyleSet.d.ts +0 -94
  378. package/src/utils/gientechCommon/components/RenameModal.d.ts +0 -1
  379. package/src/utils/gientechCommon/configs/commonConfig.d.ts +0 -2
  380. package/src/utils/gientechCommon/configs/senderConfig.d.ts +0 -1
  381. package/src/utils/gientechCommon/configs/stylesConfig.d.ts +0 -88
  382. package/src/utils/gientechCommon/hooks/AichatUseController.d.ts +0 -47
  383. package/src/utils/gientechCommon/hooks/useFileDisplayTools.d.ts +0 -17
  384. package/src/utils/gientechCommon/hooks/useFileManager.d.ts +0 -35
  385. package/src/utils/gientechCommon/slate/converters/deserializers.d.ts +0 -5
  386. package/src/utils/gientechCommon/slate/converters/mockData.d.ts +0 -72
  387. package/src/utils/gientechCommon/slate/converters/slateConverters.d.ts +0 -66
  388. package/src/utils/gientechCommon/slate/richElements/index.d.ts +0 -4
  389. package/src/utils/gientechCommon/utils/fileUtils.d.ts +0 -32
  390. package/src/utils/gientechCommon/utils/index.d.ts +0 -59
  391. package/src/utils/gientechCommon/utils/request.d.ts +0 -2
  392. package/src/utils/gientechCommon/utils/serverFn.d.ts +0 -52
  393. package/src/utils/index.d.ts +0 -24
  394. package/src/utils/testconfigs/demologin/index.d.ts +0 -1
  395. package/src/utils/testconfigs/index.d.ts +0 -57
@@ -1,10 +0,0 @@
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;
@@ -1,39 +0,0 @@
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;
@@ -1,19 +0,0 @@
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
- };
@@ -1 +0,0 @@
1
- export declare const EmojiInputElement: any;
@@ -1 +0,0 @@
1
- export declare const ExcalidrawElement: any;
@@ -1 +0,0 @@
1
- export declare function FixedToolbarButtons(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const FixedToolbar: any;
@@ -1 +0,0 @@
1
- export declare function FloatingToolbarButtons(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const FloatingToolbar: any;
@@ -1 +0,0 @@
1
- export declare const HeadingElement: any;
@@ -1 +0,0 @@
1
- export declare const HighlightLeaf: any;
@@ -1 +0,0 @@
1
- export declare const HrElement: any;
@@ -1,82 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export declare const ImageElement: any;
@@ -1,27 +0,0 @@
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, };
@@ -1,5 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- import { DropdownMenuProps } from '@radix-ui/react-dropdown-menu';
2
- export declare function InsertDropdownMenu(props: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const KbdLeaf: any;
@@ -1 +0,0 @@
1
- export declare const LinkElement: any;
@@ -1,5 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export declare const ListElement: any;
@@ -1 +0,0 @@
1
- export declare const MarkToolbarButton: any;
@@ -1 +0,0 @@
1
- export declare const MediaEmbedElement: any;
@@ -1,7 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export declare const MentionElement: any;
@@ -1,5 +0,0 @@
1
- export declare const MentionInputElement: any;
2
- export declare const MENTIONABLES: {
3
- key: string;
4
- text: string;
5
- }[];
@@ -1,2 +0,0 @@
1
- import { DropdownMenuProps } from '@radix-ui/react-dropdown-menu';
2
- export declare function ModeDropdownMenu(props: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { DropdownMenuProps } from '@radix-ui/react-dropdown-menu';
2
- export declare function MoreDropdownMenu(props: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const ParagraphElement: any;
@@ -1,5 +0,0 @@
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;
@@ -1,5 +0,0 @@
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;
@@ -1,5 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export declare const Separator: any;
@@ -1,2 +0,0 @@
1
- export declare const TableCellElement: any;
2
- export declare const TableCellHeaderElement: any;
@@ -1,3 +0,0 @@
1
- export declare const TableBordersDropdownMenuContent: any;
2
- export declare const TableFloatingToolbar: any;
3
- export declare const TableElement: any;
@@ -1 +0,0 @@
1
- export declare const TableRowElement: any;
@@ -1,3 +0,0 @@
1
- export declare const isMarkdownTableData: (str: string) => boolean;
2
- export declare const createTable: (data: any) => any;
3
- export declare const tableValue: any;
@@ -1 +0,0 @@
1
- export declare const TodoListElement: any;
@@ -1 +0,0 @@
1
- export declare const ToggleElement: any;
@@ -1,21 +0,0 @@
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;
@@ -1,12 +0,0 @@
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>>>;
@@ -1,2 +0,0 @@
1
- import { DropdownMenuProps } from '@radix-ui/react-dropdown-menu';
2
- export declare function TurnIntoDropdownMenu(props: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- import { WithDraggableOptions } from '@udecode/plate-dnd';
3
- import { DraggableProps } from './draggable';
4
- export declare const withDraggable: (Component: FC, options?: WithDraggableOptions<Partial<Omit<DraggableProps, "children" | "editor" | "element">>>) => any;
5
- export declare const withDraggablesPrimitive: any;
6
- export declare const withDraggables: (components: any) => any;
@@ -1,11 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const FILEIMG: any;
3
- interface FileListProps {
4
- selectFile: string;
5
- selectBlock: string;
6
- fileList: Array<any>;
7
- selectFileHandler: (fileId: string) => void;
8
- selectBlockHandler: (blockId: string) => void;
9
- }
10
- declare const FileListNew: React.FC<FileListProps>;
11
- export default FileListNew;
@@ -1,2 +0,0 @@
1
- declare const ImageGroupView: ({ imageList, h }: any) => import("react/jsx-runtime").JSX.Element;
2
- export default ImageGroupView;
@@ -1,14 +0,0 @@
1
- import { default as React } from 'react';
2
- import { StatusType } from '../type.ts';
3
- interface ResultContentProps {
4
- answer: any;
5
- status: StatusType;
6
- selectFile: string;
7
- selectBlock: string;
8
- isHistoryHide: boolean;
9
- fileList: Array<any>;
10
- historyHideHandler: (sta: boolean) => void;
11
- clearSelect: () => void;
12
- }
13
- declare const ResultContentNew: React.FC<ResultContentProps>;
14
- export default ResultContentNew;
@@ -1,22 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare enum searchInputype {
3
- NORMAL = "normal",
4
- LARGE = "large"
5
- }
6
- interface SearchInputProps {
7
- type?: searchInputype;
8
- placeholder?: string;
9
- loading: boolean;
10
- keyWord: string;
11
- historyList: Array<any>;
12
- historyLoading: boolean;
13
- isSearch: boolean;
14
- isHistoryHide: boolean;
15
- clickPosition?: any;
16
- keyOnChange: (val: string, isSearch?: boolean) => void;
17
- keyOnSearch: () => void;
18
- deleteHistory: (content: string) => void;
19
- resetClickPosition?: (data: any) => void;
20
- }
21
- declare const SearchInput: React.FC<SearchInputProps>;
22
- export default SearchInput;
@@ -1,2 +0,0 @@
1
- declare const SearchLanding: ({ keyWord, historyList, isSearch, isHistoryHide, historyLoading, clickPosition, setKeyWord, keyOnChange, keyOnSearch, deleteHistory, resetClickPosition }: any) => import("react/jsx-runtime").JSX.Element;
2
- export default SearchLanding;
@@ -1,2 +0,0 @@
1
- declare const KnowledgeSearch: () => import("react/jsx-runtime").JSX.Element;
2
- export default KnowledgeSearch;
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- interface SimpleEditorProps {
3
- value?: string;
4
- onChange?: (value: string) => void;
5
- placeholder?: string;
6
- readOnly?: boolean;
7
- className?: string;
8
- }
9
- declare const SimpleEditor: React.FC<SimpleEditorProps>;
10
- export default SimpleEditor;
@@ -1,11 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const FILEIMG: any;
3
- interface FileListProps {
4
- selectFile: string;
5
- selectBlock: string;
6
- fileList: Array<any>;
7
- selectFileHandler: (fileId: string) => void;
8
- selectBlockHandler: (blockId: string) => void;
9
- }
10
- declare const SimpleFileList: React.FC<FileListProps>;
11
- export default SimpleFileList;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const SearchModule: React.FC;
3
- export default SearchModule;
@@ -1,22 +0,0 @@
1
- export declare const apis: {
2
- dialog_create: {
3
- url: string;
4
- method: string;
5
- };
6
- kb_search_start: {
7
- url: string;
8
- method: string;
9
- };
10
- kb_search_history_list: {
11
- url: string;
12
- method: string;
13
- };
14
- kb_search_history_add: {
15
- url: string;
16
- method: string;
17
- };
18
- kb_search_history_delete: {
19
- url: string;
20
- method: string;
21
- };
22
- };
@@ -1,50 +0,0 @@
1
- import { EventSourceMessage } from '@microsoft/fetch-event-source';
2
- import { ChatSystemType } from '../type';
3
- interface ServerBase<D> {
4
- data: D;
5
- config: {
6
- url: string;
7
- token?: string;
8
- enableMock?: boolean;
9
- };
10
- }
11
- interface TYPE_api_createDialogue extends ServerBase<{
12
- label: string;
13
- sessionId: string;
14
- assist_id: string;
15
- sysType?: ChatSystemType;
16
- }> {
17
- }
18
- export declare const api_createDialogue: (props: TYPE_api_createDialogue) => Promise<any>;
19
- interface TYPE_api_startChat_re extends ServerBase<{
20
- sessionId: string;
21
- queryId: string;
22
- name: string;
23
- lastDate: string;
24
- type: string;
25
- content: string;
26
- configId: string;
27
- audioUrl: string;
28
- onMessage: (ev: EventSourceMessage) => void;
29
- onError: (err: any) => number | null | undefined | void;
30
- onClose: () => void;
31
- signal?: AbortSignal;
32
- }> {
33
- }
34
- export declare const api_start_kb_search: (props: TYPE_api_startChat_re) => void;
35
- interface TYPE_api_kbSearchHistoryList extends ServerBase<{}> {
36
- }
37
- export declare const api_kbSearchHistoryList: (props: TYPE_api_kbSearchHistoryList) => Promise<any>;
38
- interface TYPE_api_kbSearchHistoryAdd extends ServerBase<{}> {
39
- data: {
40
- queryContent: string;
41
- };
42
- }
43
- export declare const api_kbSearchHistoryAdd: (props: TYPE_api_kbSearchHistoryAdd) => Promise<any>;
44
- interface TYPE_api_kbSearcHistoryDelete extends ServerBase<{}> {
45
- data: {
46
- queryContent: string;
47
- };
48
- }
49
- export declare const api_kbSearcHistoryDelete: (props: TYPE_api_kbSearcHistoryDelete) => Promise<any>;
50
- export {};
@@ -1,20 +0,0 @@
1
- export interface IAssistant {
2
- details: {
3
- model_name: string;
4
- temperature: string;
5
- max_tokens: number;
6
- };
7
- label: string;
8
- value: string;
9
- }
10
- export declare enum StatusType {
11
- Pending = 0,
12
- Process = 1,
13
- Done = 2,
14
- Error = 3
15
- }
16
- export declare enum ChatSystemType {
17
- Chat = "KNO_INDEX",// 知识索引
18
- Retrieval = "INT_SESSION",// 智能问答
19
- TEMPORARY = "TEMPORARY"
20
- }
@@ -1,4 +0,0 @@
1
- export declare const dealMinioUrl: (url: string | undefined | string[]) => string | string[];
2
- export declare const getMinioUrlPrefix: () => any;
3
- export declare const getUrlPrefix: () => any;
4
- export declare const fileViewTypes: string[];