@blueking/ai-ui-sdk 0.1.12-beta.9 → 0.1.13

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 (141) hide show
  1. package/dist/common/chart-helper.d.ts +8 -1
  2. package/dist/common/chart-helper.ts.js +32 -9
  3. package/dist/common/util.d.ts +7 -0
  4. package/dist/common/util.ts.js +8 -0
  5. package/dist/components/render-aside/index.script.vue.js +1 -1
  6. package/dist/components/render-aside/index.vue.css +9 -9
  7. package/dist/components/render-aside/index.vue.js +1 -1
  8. package/dist/components/render-auto-height-textarea/index.script.vue.js.js +1 -1
  9. package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
  10. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  11. package/dist/components/render-auto-refresh/index.vue.css +8 -8
  12. package/dist/components/render-auto-refresh/index.vue.js +1 -1
  13. package/dist/components/render-checkbox/index.vue.css +9 -9
  14. package/dist/components/render-checkbox/index.vue.js +1 -1
  15. package/dist/components/render-choose-tag/index.vue.css +7 -7
  16. package/dist/components/render-choose-tag/index.vue.js +1 -1
  17. package/dist/components/render-collapse/index.script.vue.js.js +1 -1
  18. package/dist/components/render-collapse/index.vue.css +2 -2
  19. package/dist/components/render-collapse/index.vue.js +1 -1
  20. package/dist/components/render-dataset/components/batch-review-dataset-data/index.script.vue.js.js +3 -3
  21. package/dist/components/render-dataset/components/batch-review-dataset-data/index.vue.d.ts +1 -2
  22. package/dist/components/render-dataset/components/dataset-data-level/index.script.vue.js +46 -0
  23. package/dist/components/render-dataset/components/dataset-data-level/index.vue.d.ts +1 -0
  24. package/dist/components/render-dataset/components/dataset-data-level/index.vue.js +1 -1
  25. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
  26. package/dist/components/render-dataset/components/edit-dataset-data/index.script.vue.js.js +37 -12
  27. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  28. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.d.ts +2 -0
  29. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  30. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  31. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  32. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  33. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  34. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  35. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  36. package/dist/components/render-dataset/components/plus-dataset/dataset-form.script.vue.js +12 -23
  37. package/dist/components/render-dataset/components/plus-dataset/dataset-form.vue.d.ts +2 -0
  38. package/dist/components/render-dataset/components/plus-dataset/index.script.vue.js.js +17 -5
  39. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  40. package/dist/components/render-dataset/components/plus-dataset/index.vue.d.ts +2 -0
  41. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  42. package/dist/components/render-dataset/components/plus-dataset-data/form/api.script.vue.js.js +137 -0
  43. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +10 -0
  44. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.d.ts +8 -0
  45. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +5 -0
  46. package/dist/components/render-dataset/components/plus-dataset-data/form/category.script.vue.js.js +10 -1
  47. package/dist/components/render-dataset/components/plus-dataset-data/form/category.vue.d.ts +1 -0
  48. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.script.vue.js.js +7 -5
  49. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  50. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  51. package/dist/components/render-dataset/components/plus-dataset-data/form/index.script.vue.js.js +27 -14
  52. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  53. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  54. package/dist/components/render-dataset/components/plus-dataset-data/form/manual.script.vue.js.js +9 -3
  55. package/dist/components/render-dataset/components/review-dataset-data/index.script.vue.js.js +2 -2
  56. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
  57. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  58. package/dist/components/render-dataset/components/search-dataset/index.script.vue.js.js +1 -3
  59. package/dist/components/render-dataset/components/source-type-icon/index.script.vue.js.js +3 -0
  60. package/dist/components/render-dataset/index.vue.css +1 -1
  61. package/dist/components/render-dataset/index.vue.js +1 -1
  62. package/dist/components/render-dataset-detail/components/header.script.vue.js.js +81 -3
  63. package/dist/components/render-dataset-detail/components/header.vue.d.ts +6 -1
  64. package/dist/components/render-dataset-detail/index.script.vue.js.js +18 -5
  65. package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.script.vue.js.js +8 -8
  66. package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.vue.d.ts +3 -4
  67. package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +247 -87
  68. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.d.ts +6 -4
  69. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.js +0 -2
  70. package/dist/components/render-dataset-detail-origin-data/index.script.vue.js.js +37 -17
  71. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  72. package/dist/components/render-dataset-detail-origin-data/index.vue.d.ts +5 -1
  73. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  74. package/dist/components/render-dataset-list/components/main.script.vue.js.js +13 -2
  75. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  76. package/dist/components/render-dataset-list/components/main.vue.d.ts +3 -0
  77. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  78. package/dist/components/render-dataset-list/components/table.script.vue.js.js +44 -52
  79. package/dist/components/render-dataset-list/components/table.vue.d.ts +1 -0
  80. package/dist/components/render-dataset-list/index.script.vue.js.js +13 -2
  81. package/dist/components/render-dataset-list/index.vue.d.ts +3 -0
  82. package/dist/components/render-expand-collapse/index.vue.css +3 -3
  83. package/dist/components/render-expand-collapse/index.vue.js +1 -1
  84. package/dist/components/render-file-card/index.vue.css +11 -11
  85. package/dist/components/render-file-card/index.vue.js +1 -1
  86. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  87. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  88. package/dist/components/render-header/index.script.vue.js.js +3 -3
  89. package/dist/components/render-header/index.vue.css +5 -5
  90. package/dist/components/render-header/index.vue.d.ts +3 -3
  91. package/dist/components/render-header/index.vue.js +1 -1
  92. package/dist/components/render-markdown/mark-down-code.d.ts +2 -0
  93. package/dist/components/render-markdown/mark-down-code.ts.js +171 -0
  94. package/dist/components/render-markdown/mark-down-emoji.d.ts +2 -0
  95. package/dist/components/render-markdown/mark-down-emoji.ts.js +4 -0
  96. package/dist/components/render-markdown/mark-down.d.ts +49 -0
  97. package/dist/components/render-markdown/mark-down.postcss.css +153 -0
  98. package/dist/components/render-markdown/mark-down.ts.js +145 -0
  99. package/dist/components/render-router-tab/index.vue.css +3 -3
  100. package/dist/components/render-router-tab/index.vue.js +1 -1
  101. package/dist/components.d.ts +3 -1
  102. package/dist/components.ts.js +3 -1
  103. package/dist/css/fonts/iconcool.eot +0 -0
  104. package/dist/css/fonts/iconcool.svg +3 -0
  105. package/dist/css/fonts/iconcool.ttf +0 -0
  106. package/dist/css/fonts/iconcool.woff +0 -0
  107. package/dist/css/iconcool.js +2 -2
  108. package/dist/css/style.css +3 -0
  109. package/dist/hooks/use-chat.d.ts +38 -3
  110. package/dist/hooks/use-chat.ts.js +16 -3
  111. package/dist/hooks/use-dataset-http.d.ts +5 -1
  112. package/dist/hooks/use-dataset-http.ts.js +28 -1
  113. package/dist/hooks/use-form-rule.d.ts +1 -1
  114. package/dist/hooks/use-form-rule.ts.js +101 -0
  115. package/dist/hooks/use-session-http.d.ts +8 -1
  116. package/dist/hooks/use-session-http.ts.js +51 -15
  117. package/dist/http/fetch/index.d.ts +3 -0
  118. package/dist/http/fetch/index.ts.js +23 -5
  119. package/dist/http/helper/agent.ts.js +27 -3
  120. package/dist/http/helper/dataset.d.ts +7 -1
  121. package/dist/http/helper/dataset.ts.js +17 -0
  122. package/dist/http/helper/knowledge.ts.js +7 -2
  123. package/dist/http/helper/permission.ts.js +4 -1
  124. package/dist/http/helper/session.ts.js +5 -2
  125. package/dist/http/helper/tool.ts.js +4 -0
  126. package/dist/types/agent.d.ts +53 -0
  127. package/dist/types/agent.ts.js +1 -0
  128. package/dist/types/common.d.ts +6 -1
  129. package/dist/types/common.ts.js +1 -0
  130. package/dist/types/dataset.d.ts +23 -0
  131. package/dist/types/enum.d.ts +28 -3
  132. package/dist/types/enum.ts.js +28 -0
  133. package/dist/types/knowledge.d.ts +5 -1
  134. package/dist/types/permission.d.ts +6 -0
  135. package/dist/types/session.d.ts +5 -2
  136. package/dist/types/tool.d.ts +7 -3
  137. package/dist/types.d.ts +2 -0
  138. package/dist/types.ts.js +2 -0
  139. package/package.json +6 -4
  140. package/dist/components/render-dataset/components/dataset-data-level/index.script.vue.js.js +0 -19
  141. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.css +0 -10
@@ -8,4 +8,6 @@ import RenderDatasetDetail from './components/render-dataset-detail/index.vue';
8
8
  import RenderDatasetDetailOriginData from './components/render-dataset-detail-origin-data/index.vue';
9
9
  import RenderDatasetList from './components/render-dataset-list/index.vue';
10
10
  import RenderHeader from './components/render-header/index.vue';
11
- export { renderAuthDialog, RenderAutoRefresh, RenderDataset, RenderDatasetDetail, RenderDatasetList, RenderHeader, RenderAutoHeightTextarea, RenderDatasetDetailOriginData, RenderCheckbox, RenderChooseTag, };
11
+ import RenderMarkdown from './components/render-markdown/mark-down';
12
+ import RenderSearchSelect from './components/render-search-select/index.vue';
13
+ export { renderAuthDialog, RenderAutoRefresh, RenderDataset, RenderDatasetDetail, RenderDatasetList, RenderHeader, RenderAutoHeightTextarea, RenderDatasetDetailOriginData, RenderCheckbox, RenderChooseTag, RenderMarkdown, RenderSearchSelect, };
@@ -9,4 +9,6 @@ import RenderDatasetDetail from './components/render-dataset-detail/index.vue.js
9
9
  import RenderDatasetDetailOriginData from './components/render-dataset-detail-origin-data/index.vue.js';
10
10
  import RenderDatasetList from './components/render-dataset-list/index.vue.js';
11
11
  import RenderHeader from './components/render-header/index.vue.js';
12
- export { renderAuthDialog, RenderAutoRefresh, RenderDataset, RenderDatasetDetail, RenderDatasetList, RenderHeader, RenderAutoHeightTextarea, RenderDatasetDetailOriginData, RenderCheckbox, RenderChooseTag };
12
+ import RenderMarkdown from './components/render-markdown/mark-down.ts.js';
13
+ import RenderSearchSelect from './components/render-search-select/index.vue.js';
14
+ export { renderAuthDialog, RenderAutoRefresh, RenderDataset, RenderDatasetDetail, RenderDatasetList, RenderHeader, RenderAutoHeightTextarea, RenderDatasetDetailOriginData, RenderCheckbox, RenderChooseTag, RenderMarkdown, RenderSearchSelect };
Binary file
@@ -95,6 +95,9 @@
95
95
  <glyph glyph-name="uniE11A" unicode="&#xE11A;" d="M144 300L214.4 229.6 428.8 15.2 499.2 87.2 336 250.4 880 250.4 880 349.6 336 349.6 499.2 512.8 428.8 584.8 428.8 584.8 214.4 370.4Z" horiz-adv-x="1024" vert-adv-y="1024" />
96
96
 
97
97
 
98
+ <glyph glyph-name="uniE127" unicode="&#xE127;" d="M451.3721 108.0122L366.5777 108.0122 332.8708 195.2312 178.5545 195.2312 146.6861 108.0122 64 108.0122 214.3696 492 296.7983 492 451.3721 108.0122ZM307.8542 259.9322L254.6585 402.428 202.517 259.9322 307.8542 259.9322ZM492.7151 108.0122L492.7151 492 617.7984 492C665.1964 492 696.0965 490.0737 710.4985 486.2334 732.6225 480.4667 751.1429 467.9459 766.0598 448.6465 780.9766 429.3472 788.4411 404.4275 788.4411 373.863 788.4411 350.2844 784.1389 330.473 775.5345 314.4044 766.93 298.3358 756.009 285.7175 742.7468 276.5494 729.497 267.3813 716.0142 261.3098 702.3231 258.3473 683.7168 254.6776 656.7636 252.8488 621.4755 252.8488L570.6455 252.8488 570.6455 108 492.7029 108 492.7151 108.0122ZM570.6577 427.043L570.6577 318.0741 613.3123 318.0741C644.0407 318.0741 664.5713 320.0857 674.9285 324.0968 685.2857 328.1078 693.4122 334.3987 699.2833 342.9572 705.1667 351.5158 708.1084 361.4641 708.1084 372.8146 708.1084 386.7862 703.9778 398.3073 695.7288 407.39 687.4798 416.4728 677.0367 422.1419 664.3875 424.4096 655.0844 426.153 636.3801 427.0308 608.2992 427.0308L570.6455 427.0308 570.6577 427.043ZM850.0574 108.0122L850.0574 492 928 492 928 108.0122 850.0574 108.0122Z" horiz-adv-x="1024" vert-adv-y="1024" />
99
+
100
+
98
101
  <glyph glyph-name="uniE107" unicode="&#xE107;" d="M924.5501 698.6351C924.5501 698.7248 924.4617 698.7248 924.4617 698.8145 922.6054 702.4909 919.9536 705.8086 916.6829 708.4986 913.5007 711.1887 909.8765 713.1614 906.0756 714.4167 905.9872 714.4167 905.8988 714.5064 905.8104 714.5064 904.3077 715.0444 902.7165 715.3134 901.1254 715.5824 900.6835 715.6721 900.2415 715.8514 899.7111 715.8514 898.2084 716.0308 896.7941 716.0308 895.2914 715.9411 894.6726 715.9411 894.1422 716.0308 893.5235 715.9411 889.2805 715.6721 885.0376 714.4167 881.1482 712.444L113.7917 326.4227C106.2782 322.7463 100.5325 316.1108 97.8807 308.0407 97.0851 305.799 96.7315 303.3779 96.4663 301.0466 95.6708 296.2942 95.8476 291.3624 97.3503 286.6997 99.8253 278.5399 105.3942 271.8148 112.9078 267.959L307.6418 164.1233C312.3268 161.6126 317.4537 160.3572 322.7574 160.3572 334.5139 160.2676 345.2981 166.7237 351.0437 177.1252 359.4413 192.6378 353.5188 211.9164 337.9613 220.2556L195.6454 296.1148 768.0027 584.1289 418.9311 177.4839C418.6659 177.2149 418.5775 176.8562 418.3123 176.5872 409.6496 170.8484 403.9923 161.1643 403.9923 150.0454L403.9923-84.0781C404.0807-92.5966 407.5281-100.7564 413.539-106.7642 419.5498-112.7719 427.6822-116 436.0797-115.9103L436.0797-116C453.7587-116 468.0786-101.7428 468.0786-84.1678L468.0786 136.5952 849.1492 580.7215 769.9474-5.0805 569.0257 92.8371C553.203 100.5486 534.1981 94.0925 526.1541 78.3109 522.4415 70.6891 521.9112 61.9016 524.6514 53.8315 527.3916 45.7613 533.2257 39.2156 540.8277 35.6288L779.5824-80.8501C784.0021-83.0021 788.7755-84.0781 793.7256-84.0781 793.9024-84.0781 794.0792-83.9885 794.256-83.9885 794.7863-83.9885 795.4051-84.1678 795.9355-84.1678 811.8466-84.2575 825.371-72.5109 827.6692-56.55L926.6716 675.2318C928.8814 682.7639 928.4395 691.103 924.5501 698.6351Z" horiz-adv-x="1024" vert-adv-y="1024" />
99
102
 
100
103
 
Binary file
Binary file
@@ -1,9 +1,9 @@
1
1
  !function() {
2
- const svgCode = '<svg xmlns="http://www.w3.org/2000/svg" data-name="ai-ui-sdk" xmlns:xlink="http://www.w3.org/1999/xlink" style="position:absolute;width:0;height:0;visibility:hidden"><symbol id="ai-ui-sdk-plus-circle" viewBox="0 0 1024 1024"><path d="M512 128c51.9 0 102.2 10.1 149.5 30.2 45.7 19.3 86.8 47 122.1 82.3s63 76.4 82.3 122.1c20 47.3 30.2 97.6 30.2 149.5S886 614.3 865.9 661.6c-19.3 45.7-47 86.8-82.3 122.1s-76.4 63-122.1 82.3c-47.3 20-97.6 30.2-149.5 30.2S409.8 886.1 362.5 866c-45.7-19.3-86.8-47-122.1-82.3s-63-76.4-82.3-122.1c-20-47.3-30.2-97.6-30.2-149.5s10.1-102.2 30.2-149.5c19.3-45.7 47-86.8 82.3-122.1s76.4-63 122.1-82.3C409.8 138.1 460.1 128 512 128m0-64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z"/><path d="M704 480H544V320h-64v160H320v64h160v160h64V544h160z"/></g></symbol><symbol id="ai-ui-sdk-warning-circle-fill" viewBox="0 0 1024 1024"><path fill="#737987" d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 640h-64v-64h64v64zm0-128h-64V320h64v256z"/></symbol><symbol id="ai-ui-sdk-delete" viewBox="0 0 64 64"><path fill="#737987" d="M58 14H42v-4c0-2.2-1.8-4-4-4H26c-2.2 0-4 1.8-4 4v4H6v4h7v36c0 2.2 1.8 4 4 4h30c2.2 0 4-1.8 4-4V18h7v-4zm-31-4h10c.6 0 1 .4 1 1v3H26v-3c0-.6.4-1 1-1zm19 44H18c-.6 0-1-.4-1-1V18h30v35c0 .6-.4 1-1 1z"/><path fill="#737987" d="M36 25h4v22h-4zM24 25h4v22h-4z"/></symbol><symbol id="ai-ui-sdk-info-line" viewBox="0 0 64 64"><path d="M32 4C16.5 4 4 16.5 4 32s12.5 28 28 28 28-12.5 28-28S47.5 4 32 4zm0 52C18.7 56 8 45.3 8 32S18.7 8 32 8s24 10.7 24 24-10.7 24-24 24z"/><path d="M30.9 25.2c-1.8.4-3.5 1.3-4.8 2.6-1.5 1.4.1 2.8 1 1.7.6-.8 1.5-1.4 2.5-1.8.7-.1 1.1.1 1.2.6.1.9 0 1.7-.3 2.6-.3 1.2-.9 3.2-1.6 5.9-1.4 4.8-2.1 7.8-1.9 8.8.2 1.1.8 2 1.8 2.6 1.1.5 2.4.6 3.6.3 1.9-.4 3.6-1.4 5-2.8 1.6-1.6-.2-2.7-1.1-1.8-.6.8-1.5 1.4-2.5 1.6-.9.2-1.4-.2-1.6-1-.1-.9.1-1.8.4-2.6 2.5-8.5 3.6-13.3 3.3-14.5-.2-.9-.8-1.7-1.6-2.1-1-.4-2.3-.4-3.4-.1z"/><circle cx="35" cy="19" r="3"/></g></symbol><symbol id="ai-ui-sdk-angle-up" viewBox="0 0 32 32"><path fill="#63656e" d="M16 11.5l7 7-1.5 1.5-5.5-5.5-5.5 5.5L9 18.5l7-7z"/></symbol><symbol id="ai-ui-sdk-copy" viewBox="0 0 64 64"><path d="M54 8H18c-1.1 0-2 .9-2 2v6h-6c-1.1 0-2 .9-2 2v36c0 1.1.9 2 2 2h36c1.1 0 2-.9 2-2v-6h6c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM44 44v8H12V20h32v24zm8 0h-4V18c0-1.1-.9-2-2-2H20v-4h32v32z"/><path d="M17.2 26.2h21v4h-21zM17 34h21v4H17zM17 42h21v4H17z"/></symbol><symbol id="ai-ui-sdk-folder-fill" viewBox="0 0 64 64"><path d="M16.93 20.47H53.5v-3.15a3.24 3.24 0 00-3.25-3.21h-19.5v-2.9A3.24 3.24 0 0027.5 8H11.25A3.24 3.24 0 008 11.21v37.58l5.68-25.12a3.23 3.23 0 013.25-3.2zm37.38 28.32A3.23 3.23 0 0151.06 52H10.44l5.68-25.92a3.22 3.22 0 013.25-3.2h37.38a3.22 3.22 0 013.25 3.2z"/></symbol><symbol id="ai-ui-sdk-un-full-screen" viewBox="0 0 64 64"><path d="M26 56h-4V42H8v-4h16c1.1 0 2 .9 2 2v16zM42 56h-4V40c0-1.1.9-2 2-2h16v4H42v14zM24 26H8v-4h14V8h4v16c0 1.1-.9 2-2 2zM56 26H40c-1.1 0-2-.9-2-2V8h4v14h14v4z"/></symbol><symbol id="ai-ui-sdk-full-screen" viewBox="0 0 64 64"><path d="M56 25h-4V12H39V8h15c1.1 0 2 .9 2 2v15zM12 25H8V10c0-1.1.9-2 2-2h15v4H12v13zM25 56H10c-1.1 0-2-.9-2-2V39h4v13h13v4zM54 56H39v-4h13V39h4v15c0 1.1-.9 2-2 2z"/></symbol><symbol id="ai-ui-sdk-sync-failed" viewBox="0 0 1024 1024"><path fill="#ffe6e6" d="M768 512a256 256 0 01-256 256 256 256 0 01-256-256 256 256 0 01512 0z"/><path fill="#ea3636" d="M512 320c108.8 0 192 83.2 192 192s-83.2 192-192 192-192-83.2-192-192 83.2-192 192-192m0-64c-140.8 0-256 115.2-256 256s115.2 256 256 256 256-115.2 256-256-115.2-256-256-256z"/></symbol><symbol id="ai-ui-sdk-sync-pending" viewBox="0 0 1024 1024"><path fill="#3a84ff" d="M332.8 243.2c25.6 25.6 25.6 64 0 89.6-25.6 25.6-64 25.6-89.6 0l-25.6-25.6-19.2-19.2c-25.6-25.6-25.6-64 0-89.6s64-25.6 89.6 0l25.6 25.6 19.2 19.2z" opacity=".1"/><path fill="#3a84ff" d="M192 448c38.4 0 64 25.6 64 64s-25.6 64-64 64h-64c-38.4 0-64-25.6-64-64s25.6-64 64-64h64z" opacity=".15"/><path fill="#3a84ff" d="M243.2 691.2c25.6-25.6 64-25.6 89.6 0 25.6 25.6 25.6 64 0 89.6l-25.6 25.6-25.6 25.6c-25.6 25.6-64 25.6-89.6 0s-25.6-64 0-89.6l25.6-25.6 25.6-25.6z" opacity=".3"/><path fill="#3a84ff" d="M448 832c0-38.4 25.6-64 64-64s64 25.6 64 64v64c0 38.4-25.6 64-64 64s-64-25.6-64-64v-64z" opacity=".45"/><path fill="#3a84ff" d="M825.6 825.6c-25.6 25.6-64 25.6-89.6 0L710.4 800l-25.6-25.6c-25.6-25.6-25.6-64 0-89.6s64-25.6 89.6 0l25.6 25.6 25.6 25.6c25.6 25.6 25.6 70.4 0 89.6z" opacity=".6"/><path fill="#3a84ff" d="M896 448l-32 128h-32c-38.4 0-64-25.6-64-64s25.6-64 64-64h64zm64 64c0 38.4-25.6 64-64 64h-32l32-128c38.4 0 64 25.6 64 64z" opacity=".75"/><path fill="#3a84ff" d="M742.4 192c25.6-19.2 64-19.2 83.2 6.4 25.6 25.6 25.6 64 0 89.6L800 313.6l-25.6 25.6c-25.6 25.6-64 25.6-89.6 0s-25.6-64 0-89.6" opacity=".9"/><path fill="#3a84ff" d="M448 160l128 32c0 38.4-25.6 64-64 64s-64-25.6-64-64v-32zm64-96c38.4 0 64 25.6 64 64v32H448v-32c0-38.4 25.6-64 64-64zm-64 96h128v32H448v-32z"/></g></symbol><symbol id="ai-ui-sdk-sync-success" viewBox="0 0 1024 1024"><path fill="#e5f6ea" d="M768 512a256 256 0 01-256 256 256 256 0 01-256-256 256 256 0 01512 0z"/><path fill="#3fc06d" d="M512 320c108.8 0 192 83.2 192 192s-83.2 192-192 192-192-83.2-192-192 83.2-192 192-192m0-64c-140.8 0-256 115.2-256 256s115.2 256 256 256 256-115.2 256-256-115.2-256-256-256z"/></symbol><symbol id="ai-ui-sdk-sync-default" viewBox="0 0 1024 1024"><path fill="#f0f1f5" d="M768 512c0 141.4-114.6 256-256 256S256 653.4 256 512s114.6-256 256-256 256 114.6 256 256z"/><path fill="#c4c6cc" d="M512 320c108.8 0 192 83.2 192 192s-83.2 192-192 192-192-83.2-192-192 83.2-192 192-192m0-64c-140.8 0-256 115.2-256 256s115.2 256 256 256 256-115.2 256-256-115.2-256-256-256z"/></symbol><symbol id="ai-ui-sdk-sync-waiting-01" viewBox="0 0 1024 1024"><path fill="#ffe8c3" d="M704 512a192 192 0 01-192 192 192 192 0 01-192-192 192 192 0 01384 0z"/><path fill="#ff9c01" d="M512 768c-141.2 0-256-114.8-256-256s114.8-256 256-256 256 114.8 256 256-114.8 256-256 256zm0-448c-105.9 0-192 86.1-192 192s86.1 192 192 192 192-86.1 192-192-86.1-192-192-192z"/></symbol><symbol id="ai-ui-sdk-wenben" viewBox="0 0 1024 1024"><path fill="#979BA5" fill-rule="evenodd" d="M616.8 64c8.5 0 16.6 3.4 22.6 9.4l215.2 215.2c6 6 9.4 14.2 9.4 22.7V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM656 704H368c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h288c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zm-64-128H368c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h224c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zM464 448h-96c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h96c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zm138-310.2V326h188.2L602 137.8z"/></symbol><symbol id="ai-ui-sdk-pdf" viewBox="0 0 1024 1024"><path fill="#EA3636" fill-rule="evenodd" d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.217 637.256c-15.174-.489-31.314.67-49.65 2.964-24.298-14.987-40.654-35.582-52.274-65.827.28-1.152.86-3.538 1.063-4.38.474-1.958.867-3.594 1.243-5.185 4.293-18.13 6.615-31.358 7.3-44.695.518-10.074-.04-19.368-1.827-27.976-3.298-18.584-16.454-29.453-33.021-30.126-15.446-.627-29.649 7.993-33.281 21.373-5.913 21.612-2.45 50.07 10.08 98.582-15.964 38.056-37.052 82.661-51.203 107.539-18.885 9.74-33.604 18.605-45.953 28.427-16.303 12.966-26.48 26.29-29.286 40.306-1.355 6.48.692 14.966 5.36 21.912 5.296 7.879 13.282 12.991 22.855 13.735 24.152 1.877 53.83-23.024 86.59-79.258 3.295-1.09 6.78-2.257 11.026-3.69 2.323-.783 10.464-3.538 11.91-4.026 7.521-2.54 12.98-4.36 18.376-6.116 23.396-7.612 41.096-12.429 57.21-15.163 27.973 14.973 60.316 24.796 82.098 24.796 17.979 0 30.126-9.319 34.515-23.985 3.857-12.886.794-27.824-7.473-36.084-8.56-8.41-24.3-12.434-45.658-13.123zm-247.985 128.42v-.36l.126-.338c1.275-3.421 3.157-7.008 5.6-10.758 4.284-6.576 10.173-13.5 17.472-20.865 3.92-3.955 8.002-7.8 12.79-12.12 1.073-.969 7.91-7.059 9.189-8.25l11.176-10.407-8.12 12.934c-12.326 19.638-23.46 33.78-33.013 43.004-3.507 3.387-6.6 5.9-9.091 7.505-1.027.662-1.916 1.144-2.613 1.424-.409.163-.771.268-1.13.302-.38.045-.765-.01-1.117-.16a2.068 2.068 0 01-1.269-1.911zm125.934-218.269l-2.26 4.007-1.39-4.385c-3.114-9.829-5.387-24.641-6.016-37.997-.716-15.197.49-24.323 5.286-24.323 6.74 0 9.831 10.808 10.076 27.053.216 14.28-2.03 29.142-5.696 35.645zm-5.81 58.464l1.534-4.05 2.088 3.795c11.69 21.245 26.858 38.967 43.538 51.315l3.595 2.662-4.38.904c-16.328 3.372-31.544 8.457-52.34 16.842 2.174-.876-21.623 8.863-27.638 11.169l-5.252 2.013 2.802-4.877c12.35-21.496 23.758-47.326 36.052-79.773h.001zm157.626 76.261c-7.864 3.104-24.777.329-54.569-12.387l-7.561-3.227 8.199-.607c23.295-1.724 39.807-.44 49.422 3.08 4.09 1.498 6.824 3.388 8.037 5.553 1.31 2.336.71 4.81-1.362 6.31-.448.427-1.155.88-2.166 1.278z"/></symbol><symbol id="ai-ui-sdk-doc-2" viewBox="0 0 1024 1024"><path fill="#3A84FF" d="M675.35 62.103a21.336 21.336 0 017.36 16.122v889.43a21.33 21.33 0 01-24.32 21.12l-536.406-76.587c-21.028-2.995-36.65-21-36.65-42.24V175.932c0-21.24 15.622-39.245 36.65-42.24l536.363-76.587a21.333 21.333 0 0117.003 4.998zm220.693 76.837c23.564 0 42.666 19.102 42.666 42.667v682.666c0 23.564-19.102 42.667-42.666 42.667H725.376v-85.333h128V224.273h-128V138.94h170.667zM298.709 352.273h-85.333v341.334h85.333l85.334-85.334 85.333 85.334h85.333V352.273h-85.333v212.864l-85.333-84.864-84.907 85.334-.427-213.334z"/></symbol><symbol id="ai-ui-sdk-excel" viewBox="0 0 1024 1024"><path fill="#2DCB56" fill-rule="evenodd" d="M675.307 51.163a21.336 21.336 0 017.36 16.122v889.43a21.33 21.33 0 01-24.32 21.12L121.94 901.248c-21.027-2.995-36.65-21-36.65-42.24V164.992c0-21.24 15.623-39.245 36.65-42.24l536.363-76.587a21.333 21.333 0 0117.003 4.998zM896 128c23.564 0 42.667 19.103 42.667 42.667v682.666C938.667 876.897 919.564 896 896 896H725.333v-85.333h128V213.333h-128V128H896zM315.733 341.333h-102.4L332.8 512 213.333 682.667h102.4L384 585.13l68.267 97.536h102.4L435.2 512l119.467-170.667h-102.4L384 438.87l-68.267-97.536z"/></symbol><symbol id="ai-ui-sdk-links" viewBox="0 0 1024 1024"><path d="M263.04 760.96a148.48 148.48 0 01-1.92-224l92.48-92.48-45.12-45.76L216 491.2a212.8 212.8 0 001.92 314.88A212.8 212.8 0 00532.8 808l92.48-92.48L579.84 672l-92.48 92.48a148.48 148.48 0 01-224.32-3.52zM491.2 216l-92.48 92.48 45.44 45.12 92.48-92.48a148.48 148.48 0 01224 1.92 148.48 148.48 0 011.92 224L672 579.84l45.12 45.44 92.48-92.48a212.8 212.8 0 00-1.92-314.88A212.8 212.8 0 00491.2 216z"/><path d="M398.786 579.888l181.019-181.02 45.255 45.255-181.02 181.02-45.254-45.255z"/></symbol><symbol id="ai-ui-sdk-arrow-left" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M144 512l70.4 70.4 214.4 214.4 70.4-72L336 561.6h544v-99.2H336l163.2-163.2-70.4-72-214.4 214.4z" clip-rule="evenodd"/></symbol><symbol id="ai-ui-sdk-fasong" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M924.55 113.365c0-.09-.088-.09-.088-.18a30.217 30.217 0 00-7.78-9.684 31.929 31.929 0 00-10.606-5.918c-.089 0-.177-.09-.266-.09-1.502-.537-3.093-.806-4.685-1.075-.442-.09-.884-.27-1.414-.27-1.503-.179-2.917-.179-4.42-.09-.618 0-1.149-.089-1.768 0-4.242.27-8.485 1.525-12.375 3.498L113.792 485.577c-7.514 3.677-13.26 10.312-15.911 18.382-.796 2.242-1.15 4.663-1.415 6.994-.795 4.753-.618 9.685.884 14.347 2.475 8.16 8.044 14.885 15.558 18.741l194.734 103.836c4.685 2.51 9.812 3.766 15.115 3.766 11.757.09 22.541-6.367 28.287-16.768 8.397-15.513 2.475-34.791-13.083-43.13l-142.316-75.86 572.358-288.014L418.93 634.516c-.265.27-.354.628-.619.897-8.662 5.739-14.32 15.423-14.32 26.542v234.123a32.598 32.598 0 009.547 22.686c6.01 6.008 14.143 9.236 22.54 9.146v.09c17.68 0 32-14.257 32-31.832V675.405l381.07-444.127-79.202 585.802-200.921-97.917c-15.823-7.712-34.828-1.255-42.872 14.526-3.712 7.622-4.243 16.41-1.503 24.48s8.575 14.615 16.177 18.202l238.754 116.48c4.42 2.151 9.193 3.227 14.144 3.227.176 0 .353-.09.53-.09.53 0 1.15.18 1.68.18 15.91.09 29.435-11.657 31.733-27.618l99.003-731.782c2.21-7.532 1.767-15.871-2.122-23.403z"/></symbol><symbol id="ai-ui-sdk-yinyong-2" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M512 64c247.424 0 448 200.576 448 448S759.424 960 512 960 64 759.424 64 512 264.576 64 512 64zm0 63.999c-212.077 0-384.001 171.924-384.001 384.001-.382 155.607 93.181 296.061 236.922 355.66C508.661 927.26 674.161 894.223 784 784a384 384 0 000-544 384.006 384.006 0 00-272-112.001zM492.622 336v62.976h78.956c98.956 0 148.422 43.35 148.422 131.093C720 613.675 671.578 656 576.844 656H375.777v-44.395H573.69c70.511 0 105.267-27.861 105.267-85.675 0-55.743-33.69-83.605-101.067-83.605h-85.267v62.955L320 420.65 492.622 336z"/></symbol><symbol id="ai-ui-sdk-dongzuo-xiazai" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M192 640v192h640V640h64v224c0 17.6-14.4 32-32 32H160c-17.6 0-32-14.4-32-32V640h64zm352-512v452.8l104-102.4 44.8 44.8-136 136L512 704 331.2 523.2l44.8-44.8 104 102.4V128h64z"/></symbol><symbol id="ai-ui-sdk-quanquan" viewBox="0 0 1024 1024"><path fill="#3A84FF" d="M512 64.129c-9.343-.661-18.345 3.338-27.005 11.998-2.666 2.667-4.831 6.165-6.495 10.495-1.664 4.33-2.496 7.498-2.496 9.503v4c0 10.004 2.997 18.003 8.991 23.997 3.328 4.01 7.327 6.847 11.999 8.511 4.671 1.664 8.34 2.496 11.006 2.496h4c68.003 0 130.993 16.83 188.97 50.49 57.978 33.66 103.807 79.49 137.489 137.488 33.681 57.999 50.511 121.16 50.49 189.483-.021 68.322-16.851 131.313-50.49 188.97-33.64 57.657-79.469 103.316-137.489 136.976-58.02 33.66-121.18 50.49-189.482 50.49-68.301 0-131.292-16.83-188.97-50.49-57.68-33.66-103.338-79.319-136.977-136.976-33.639-57.657-50.469-120.818-50.49-189.482 0-10.005-3.669-18.676-11.007-26.013-2.666-3.328-6.164-5.824-10.494-7.487-4.33-1.664-7.498-2.496-9.503-2.496h-4c-10.004 0-18.334 3.338-24.99 10.015-4.01 4.01-6.846 8.18-8.51 12.51-1.664 4.33-2.496 7.498-2.496 9.503v4c0 60.665 11.828 118.663 35.484 173.996 23.656 55.332 55.482 102.996 95.477 142.991 39.996 39.996 87.66 71.822 142.992 95.478 55.332 23.656 113.33 35.483 173.996 35.483 60.665 0 118.664-11.827 173.996-35.483 55.332-23.656 102.996-55.482 142.992-95.478 39.995-39.995 71.82-87.659 95.477-142.991 23.656-55.333 35.484-113.331 35.484-173.996 0-60.665-11.828-118.664-35.484-173.996-23.656-55.333-55.482-102.997-95.477-142.992-39.996-39.996-87.66-71.821-142.992-95.477C630.664 75.989 572.666 64.16 512 64.16v-.032z"/></symbol><symbol id="ai-ui-sdk-baocun" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M864 96c35.346 0 64 28.654 64 64v704c0 35.346-28.654 64-64 64H160c-35.346 0-64-28.654-64-64V160c0-35.346 28.654-64 64-64h704zm-608 64h-96v704h704V160h-96v224c0 35.346-28.654 64-64 64H320c-35.346 0-64-28.654-64-64V160zm448 0H320v224h384V160zm-96 64c17.673 0 32 14.327 32 32v32c0 17.673-14.327 32-32 32-17.673 0-32-14.327-32-32v-32c0-17.673 14.327-32 32-32z"/></symbol><symbol id="ai-ui-sdk-markdown" viewBox="0 0 1024 1024"><path fill="#979BA5" fill-rule="evenodd" d="M616.8 64c8.5 0 16.6 3.4 22.6 9.4l215.2 215.2c6 6 9.4 14.2 9.4 22.7V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.8zM443.562 477.562h-90V768h55.876V603.75c0-24.5-.813-48.938-2.438-73.312h1.688c4.374 21.374 7.437 34.437 9.187 39.187L490.438 768h49.312l71.625-200.25c2.25-6.25 5.25-18.688 9-37.312h1.5c-1.625 24.624-2.437 45.062-2.437 61.312V768h61.124V477.562H593l-62.812 175.126c-4.126 11.624-8.126 25.374-12 41.25h-1.313c-1.875-12.75-5.437-26.376-10.687-40.876l-62.626-175.5zM602 137.8V326h188.2L602 137.8z"/></symbol><symbol id="ai-ui-sdk-ppt-2" viewBox="0 0 1024 1024"><path fill="#979BA5" fill-rule="evenodd" d="M616.8 64c8.5 0 16.6 3.4 22.6 9.4l215.2 215.2c6 6 9.4 14.2 9.4 22.7V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM656 704H368c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h288c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zm-64-128H368c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h224c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zM464 448h-96c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h96c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zm138-310.2V326h188.2L602 137.8z"/></symbol><symbol id="ai-ui-sdk-dongzuo-shangchuan" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M192 640v192h640V640h64v224c0 17.6-14.4 32-32 32H160c-17.6 0-32-14.4-32-32V640h64zm320-512l44.8 44.8 136 136-44.8 44.8-104-102.4V704h-64V251.2L376 353.6l-44.8-44.8L512 128z"/></symbol><symbol id="ai-ui-sdk-wangye" viewBox="0 0 1024 1024"><path d="M287.802 485.456h197.767V309.4H329.1a504.602 504.602 0 00-41.297 176.055zm197.767-374.937c-52.242 39.631-96.242 89.163-129.51 145.794h129.51V110.519zm52.862 374.937h197.04A506.134 506.134 0 00694.173 309.4H538.497v176.055h-.066zm-209 230.072h156.138V538.544H287.802c3.171 62.114 17.576 121.838 41.628 176.984zm583.192 0c27.091-53.686 43.677-113.543 47.31-176.984H788.268a560.422 560.422 0 01-37.135 176.984h161.491zM751.462 309.4c21.475 55.478 34.03 114.738 36.87 176.055H960A450.637 450.637 0 00913.086 309.4H751.462zM538.43 111.05v145.196h128.717c-33.09-56.349-76.813-105.67-128.717-145.196zm189.111 145.263H882.03C808.627 149.146 692.716 79.04 564.07 64c68.492 50.626 124.433 116.436 163.473 192.313zM485.57 913.614V768.616H356.522c33.196 56.316 77.034 105.573 129.047 144.998zM271.811 309.401h-160.83a449.438 449.438 0 00-46.915 176.055H234.94A561.822 561.822 0 01271.811 309.4zm24.316 459.215H142.631c73.224 106.308 188.366 175.931 316.177 191.185-68.057-50.411-123.707-115.813-162.68-191.185zm431.019 0C688.168 844.08 632.467 909.554 564.333 960c128.183-15.038 243.717-84.768 317.102-191.384h-154.29zm-60.394 0H538.43v144.4c51.662-39.354 95.239-88.392 128.32-144.4zM234.94 538.544H64c3.7 63.44 20.22 123.298 47.377 176.984h160.699a558.557 558.557 0 01-37.136-176.984zm500.531 0h-197.04v176.984h155.412a505.266 505.266 0 0041.628-176.984zm-439.74-282.231c38.988-75.778 94.835-141.516 163.21-192.114-128.266 15.233-243.774 85.24-316.97 192.114h153.76z"/></symbol><symbol id="ai-ui-sdk-zhishiku" viewBox="0 0 1024 1024"><path d="M320.986 203.315H191.622c-17.248 0-31.622 14.503-31.622 31.905v639.542c0 17.403 14.374 31.905 31.622 31.905h129.364c17.249 0 31.623-14.502 31.623-31.905V235.22c0-17.402-14.374-31.905-31.623-31.905zm-35.934 130.52h-57.495c-15.811 0-28.748-13.053-28.748-29.005 0-15.952 12.937-29.004 28.748-29.004h57.495c15.811 0 28.747 13.052 28.747 29.004 0 15.952-12.936 29.004-28.747 29.004zM578.277 96H448.913c-17.249 0-31.622 14.502-31.622 31.905v746.857c0 17.403 14.373 31.905 31.622 31.905h129.364c17.248 0 31.622-14.502 31.622-31.905V127.905C611.337 110.502 596.963 96 578.277 96zM543.78 227.969h-57.495c-15.811 0-28.748-13.052-28.748-29.004 0-15.952 12.937-29.004 28.748-29.004h57.495c15.811 0 28.747 13.052 28.747 29.004 0 15.952-12.936 29.004-28.747 29.004zm383.78 613.438l-120.74-627.94c-4.312-15.952-17.249-26.104-33.06-26.104h-5.75l-126.488 24.654c-17.249 2.9-28.748 20.303-25.873 37.705l122.177 629.39c2.875 15.953 15.811 26.104 31.622 26.104h5.75l126.489-24.653c17.248-4.35 28.748-21.753 25.873-39.156zM762.26 312.081l-57.495 11.602h-5.75c-12.936 0-25.872-10.152-28.747-23.204-2.875-15.952 7.187-31.904 22.998-34.805l57.495-11.601c15.811-2.9 31.623 7.25 34.497 23.203 2.875 15.952-7.187 31.905-22.998 34.805z"/></symbol><symbol id="ai-ui-sdk-sikao" viewBox="0 0 1024 1024"><path d="M528 96c61.856 0 112 50.144 112 112 0 .376-.002.751-.006 1.126C774.73 260.666 870.4 391.16 870.4 544c0 22.55-2.082 44.612-6.066 66.007C883.94 630.144 896 657.663 896 688c0 61.856-50.144 112-112 112a112.7 112.7 0 01-19.49-1.69C699.754 862.65 610.519 902.4 512 902.4s-187.753-39.75-252.539-104.088A112.33 112.33 0 01240 800c-61.856 0-112-50.144-112-112 0-30.337 12.061-57.856 31.65-78.025A361.172 361.172 0 01153.6 544c0-164.845 111.29-303.696 262.836-345.518C421.232 141.079 469.35 96 528 96zm-91.48 176.633l-4.469 1.278C315.47 308.366 230.4 416.249 230.4 544c0 10.923.622 21.7 1.832 32.3l1.623-.134L240 576c61.856 0 112 50.144 112 112 0 26.132-8.95 50.173-23.95 69.226C377.36 799.817 441.67 825.6 512 825.6c70.33 0 134.639-25.783 183.99-68.412C680.95 738.173 672 714.132 672 688c0-61.856 50.144-112 112-112 2.607 0 5.194.09 7.757.264A280.989 280.989 0 00793.6 544c0-119.973-75.025-222.422-180.718-262.99C592.35 304.904 561.938 320 528 320c-37.782 0-71.195-18.708-91.48-47.367z"/></symbol><symbol id="ai-ui-sdk-wenzhang" viewBox="0 0 1024 1024"><path fill="#3D4265" d="M708.923 157.538h275.692c21.752 0 39.385 17.634 39.385 39.385v748.308c0 43.503-35.266 78.769-78.77 78.769H708.924V157.538z"/><path fill="#3A84FF" d="M0 984.615A39.385 39.385 0 0039.385 1024H945.23c-43.503 0-78.77-35.266-78.77-78.77V39.386C866.462 17.633 848.829 0 827.078 0H39.385C17.633 0 0 17.633 0 39.385v945.23z"/><path fill="#FFF" d="M196.923 288.82c-21.751 0-39.385 17.634-39.385 39.385 0 21.752 17.634 39.385 39.385 39.385h157.539c21.751 0 39.384-17.633 39.384-39.385 0-21.751-17.633-39.384-39.384-39.384H196.923zm0 236.308c-21.751 0-39.385 17.633-39.385 39.385 0 21.751 17.634 39.384 39.385 39.384h472.615c21.752 0 39.385-17.633 39.385-39.384 0-21.752-17.633-39.385-39.385-39.385H196.923zm0 236.308c-21.751 0-39.385 17.633-39.385 39.385 0 21.751 17.634 39.384 39.385 39.384h236.308c21.751 0 39.384-17.633 39.384-39.384 0-21.752-17.633-39.385-39.384-39.385H196.923z"/></g></symbol><symbol id="ai-ui-sdk-yanjing-kejian" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M512 192c247.4 0 448 143.3 448 320S759.4 832 512 832 64 688.7 64 512s200.6-320 448-320zm0 64c-54.2 0-106.6 7.5-155.9 22.4-46.6 14.1-88.3 34.1-123.7 59.4C165.1 385.9 128 447.8 128 512c0 64.2 37.1 126.1 104.4 174.2 35.4 25.3 77.1 45.3 123.7 59.4C405.4 760.5 457.8 768 512 768s106.6-7.5 155.9-22.4c46.6-14.1 88.3-34.1 123.7-59.4C858.9 638.1 896 576.2 896 512c0-64.2-37.1-126.1-104.4-174.2-35.4-25.3-77.1-45.3-123.7-59.4C618.6 263.5 566.2 256 512 256zm0 96c88.4 0 160 71.6 160 160s-71.6 160-160 160-160-71.6-160-160 71.6-160 160-160zm0 64c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96z"/></symbol><symbol id="ai-ui-sdk-gengduo-2" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M512.55 319.995c35.34-.294 63.742-29.196 63.448-64.548-.307-35.353-29.197-63.742-64.55-63.448-35.135.295-63.448 28.876-63.448 63.998v.55c.307 35.34 29.21 63.742 64.55 63.448m-1.102 112.004c-35.135.295-63.448 28.876-63.448 63.998v.55c.307 35.34 29.21 63.742 64.55 63.448 35.34-.294 63.742-29.196 63.448-64.548-.307-35.353-29.197-63.742-64.55-63.448m0 240c-35.135.295-63.448 28.876-63.448 63.998v.55c.307 35.34 29.21 63.742 64.55 63.448 35.34-.294 63.742-29.196 63.448-64.548-.307-35.353-29.197-63.742-64.55-63.448"/></symbol><symbol id="ai-ui-sdk-sync-passed" viewBox="0 0 1024 1024"><path fill="#cddffe" d="M704 512a192 192 0 01-192 192 192 192 0 01-192-192 192 192 0 01384 0z"/><path fill="#cddffe" d="M512 768c141.4 0 256-114.6 256-256 0 140.8-115.2 256-256 256zM256 512c0 141.4 114.6 256 256 256-140.8 0-256-115.2-256-256zM768 512c0-141.4-114.6-256-256-256 140.8 0 256 115.2 256 256zM512 256c-141.4 0-256 114.6-256 256 0-140.8 115.2-256 256-256z"/><path fill="#3a84ff" d="M768 512c0-140.8-115.2-256-256-256S256 371.2 256 512s115.2 256 256 256 256-115.2 256-256zM512 704c-108.8 0-192-83.2-192-192s83.2-192 192-192 192 83.2 192 192-83.2 192-192 192z"/></symbol><symbol id="ai-ui-sdk-sync-failed-2-2" viewBox="0 0 1024 1024"><path fill="#f1e4f4" d="M704 512c0 106-86 192-192 192s-192-86-192-192 86-192 192-192 192 86 192 192z"/><path fill="#cddffe" d="M512 768c141.4 0 256-114.6 256-256 0 140.8-115.2 256-256 256zM256 512c0 141.4 114.6 256 256 256-140.8 0-256-115.2-256-256zM768 512c0-141.4-114.6-256-256-256 140.8 0 256 115.2 256 256zM512 256c-141.4 0-256 114.6-256 256 0-140.8 115.2-256 256-256z"/><path fill="#cb36ea" d="M768 512c0-140.8-115.2-256-256-256S256 371.2 256 512s115.2 256 256 256 256-115.2 256-256zM512 704c-108.8 0-192-83.2-192-192s83.2-192 192-192 192 83.2 192 192-83.2 192-192 192z"/></symbol></svg>';
2
+ var svgCode = '<svg xmlns="http://www.w3.org/2000/svg" data-name="ai-ui-sdk" xmlns:xlink="http://www.w3.org/1999/xlink" style="position:absolute;width:0;height:0;visibility:hidden"><symbol id="ai-ui-sdk-plus-circle" viewBox="0 0 1024 1024"><path d="M512 128c51.9 0 102.2 10.1 149.5 30.2 45.7 19.3 86.8 47 122.1 82.3s63 76.4 82.3 122.1c20 47.3 30.2 97.6 30.2 149.5S886 614.3 865.9 661.6c-19.3 45.7-47 86.8-82.3 122.1s-76.4 63-122.1 82.3c-47.3 20-97.6 30.2-149.5 30.2S409.8 886.1 362.5 866c-45.7-19.3-86.8-47-122.1-82.3s-63-76.4-82.3-122.1c-20-47.3-30.2-97.6-30.2-149.5s10.1-102.2 30.2-149.5c19.3-45.7 47-86.8 82.3-122.1s76.4-63 122.1-82.3C409.8 138.1 460.1 128 512 128m0-64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z"/><path d="M704 480H544V320h-64v160H320v64h160v160h64V544h160z"/></g></symbol><symbol id="ai-ui-sdk-warning-circle-fill" viewBox="0 0 1024 1024"><path fill="#737987" d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 640h-64v-64h64v64zm0-128h-64V320h64v256z"/></symbol><symbol id="ai-ui-sdk-delete" viewBox="0 0 64 64"><path fill="#737987" d="M58 14H42v-4c0-2.2-1.8-4-4-4H26c-2.2 0-4 1.8-4 4v4H6v4h7v36c0 2.2 1.8 4 4 4h30c2.2 0 4-1.8 4-4V18h7v-4zm-31-4h10c.6 0 1 .4 1 1v3H26v-3c0-.6.4-1 1-1zm19 44H18c-.6 0-1-.4-1-1V18h30v35c0 .6-.4 1-1 1z"/><path fill="#737987" d="M36 25h4v22h-4zM24 25h4v22h-4z"/></symbol><symbol id="ai-ui-sdk-refresh" viewBox="0 0 64 64"><path d="M54.3 23.1C55.4 25.9 56 29 56 32c0 13.3-10.8 24-24 24-5.7 0-11.2-2-15.5-5.7h4.8v-4H10v11.2h4v-4.1c11.8 9.9 29.5 8.4 39.4-3.4 6.8-8.1 8.4-19.2 4.3-28.9l-3.4 2zM9.7 40.9C8.6 38.1 8 35 8 32 8 18.7 18.8 8 32 8c5.7 0 11.2 2 15.5 5.7h-4.8v4H54V6.5h-4v4.1C38.2.6 20.5 2.2 10.6 14c-6.8 8.1-8.4 19.2-4.3 28.9l3.4-2z"/></g></symbol><symbol id="ai-ui-sdk-info-line" viewBox="0 0 64 64"><path d="M32 4C16.5 4 4 16.5 4 32s12.5 28 28 28 28-12.5 28-28S47.5 4 32 4zm0 52C18.7 56 8 45.3 8 32S18.7 8 32 8s24 10.7 24 24-10.7 24-24 24z"/><path d="M30.9 25.2c-1.8.4-3.5 1.3-4.8 2.6-1.5 1.4.1 2.8 1 1.7.6-.8 1.5-1.4 2.5-1.8.7-.1 1.1.1 1.2.6.1.9 0 1.7-.3 2.6-.3 1.2-.9 3.2-1.6 5.9-1.4 4.8-2.1 7.8-1.9 8.8.2 1.1.8 2 1.8 2.6 1.1.5 2.4.6 3.6.3 1.9-.4 3.6-1.4 5-2.8 1.6-1.6-.2-2.7-1.1-1.8-.6.8-1.5 1.4-2.5 1.6-.9.2-1.4-.2-1.6-1-.1-.9.1-1.8.4-2.6 2.5-8.5 3.6-13.3 3.3-14.5-.2-.9-.8-1.7-1.6-2.1-1-.4-2.3-.4-3.4-.1z"/><circle cx="35" cy="19" r="3"/></g></symbol><symbol id="ai-ui-sdk-angle-up" viewBox="0 0 32 32"><path fill="#63656e" d="M16 11.5l7 7-1.5 1.5-5.5-5.5-5.5 5.5L9 18.5l7-7z"/></symbol><symbol id="ai-ui-sdk-copy" viewBox="0 0 64 64"><path d="M54 8H18c-1.1 0-2 .9-2 2v6h-6c-1.1 0-2 .9-2 2v36c0 1.1.9 2 2 2h36c1.1 0 2-.9 2-2v-6h6c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM44 44v8H12V20h32v24zm8 0h-4V18c0-1.1-.9-2-2-2H20v-4h32v32z"/><path d="M17.2 26.2h21v4h-21zM17 34h21v4H17zM17 42h21v4H17z"/></symbol><symbol id="ai-ui-sdk-folder-fill" viewBox="0 0 64 64"><path d="M16.93 20.47H53.5v-3.15a3.24 3.24 0 00-3.25-3.21h-19.5v-2.9A3.24 3.24 0 0027.5 8H11.25A3.24 3.24 0 008 11.21v37.58l5.68-25.12a3.23 3.23 0 013.25-3.2zm37.38 28.32A3.23 3.23 0 0151.06 52H10.44l5.68-25.92a3.22 3.22 0 013.25-3.2h37.38a3.22 3.22 0 013.25 3.2z"/></symbol><symbol id="ai-ui-sdk-auto-refresh-line" viewBox="0 0 64 64"><path d="M54.3 23.1l3.4-2c4.1 9.7 2.5 20.8-4.3 28.9-9.8 11.7-27.2 13.3-39 3.7l-.4-.3v4.1h-4V46.3h11.3v4h-4.8C20.8 54 26.3 56 32 56c13.2 0 24-10.7 24-24 0-2.8-.5-5.7-1.5-8.4l-.2-.5 3.4-2-3.4 2zM49.6 10.3l.4.3V6.5h4v11.2H42.7v-4h4.8C43.2 10 37.7 8 32 8 18.8 8 8 18.7 8 32c0 2.8.5 5.7 1.5 8.4l.2.5-3.4 2C2.2 33.2 3.8 22.1 10.6 14c9.8-11.7 27.2-13.4 39-3.7z"/><path d="M43.1 43.3h-5.3l-1.7-5.2h-8.2l-1.7 5.2H21l8.3-22.7H35l8.1 22.7zM35 34.4l-2.6-7.9c-.2-.5-.3-1.2-.4-2h-.1c-.1.7-.2 1.3-.4 1.9l-2.6 7.9H35z"/></symbol><symbol id="ai-ui-sdk-un-full-screen" viewBox="0 0 64 64"><path d="M26 56h-4V42H8v-4h16c1.1 0 2 .9 2 2v16zM42 56h-4V40c0-1.1.9-2 2-2h16v4H42v14zM24 26H8v-4h14V8h4v16c0 1.1-.9 2-2 2zM56 26H40c-1.1 0-2-.9-2-2V8h4v14h14v4z"/></symbol><symbol id="ai-ui-sdk-full-screen" viewBox="0 0 64 64"><path d="M56 25h-4V12H39V8h15c1.1 0 2 .9 2 2v15zM12 25H8V10c0-1.1.9-2 2-2h15v4H12v13zM25 56H10c-1.1 0-2-.9-2-2V39h4v13h13v4zM54 56H39v-4h13V39h4v15c0 1.1-.9 2-2 2z"/></symbol><symbol id="ai-ui-sdk-sync-failed" viewBox="0 0 1024 1024"><path fill="#ffe6e6" d="M768 512a256 256 0 01-256 256 256 256 0 01-256-256 256 256 0 01512 0z"/><path fill="#ea3636" d="M512 320c108.8 0 192 83.2 192 192s-83.2 192-192 192-192-83.2-192-192 83.2-192 192-192m0-64c-140.8 0-256 115.2-256 256s115.2 256 256 256 256-115.2 256-256-115.2-256-256-256z"/></symbol><symbol id="ai-ui-sdk-sync-pending" viewBox="0 0 1024 1024"><path d="M332.8 243.2c25.6 25.6 25.6 64 0 89.6-25.6 25.6-64 25.6-89.6 0l-25.6-25.6-19.2-19.2c-25.6-25.6-25.6-64 0-89.6s64-25.6 89.6 0l25.6 25.6 19.2 19.2z" opacity=".1"/><path d="M192 448c38.4 0 64 25.6 64 64s-25.6 64-64 64h-64c-38.4 0-64-25.6-64-64s25.6-64 64-64h64z" opacity=".15"/><path d="M243.2 691.2c25.6-25.6 64-25.6 89.6 0 25.6 25.6 25.6 64 0 89.6l-25.6 25.6-25.6 25.6c-25.6 25.6-64 25.6-89.6 0s-25.6-64 0-89.6l25.6-25.6 25.6-25.6z" opacity=".3"/><path d="M448 832c0-38.4 25.6-64 64-64s64 25.6 64 64v64c0 38.4-25.6 64-64 64s-64-25.6-64-64v-64z" opacity=".45"/><path d="M825.6 825.6c-25.6 25.6-64 25.6-89.6 0L710.4 800l-25.6-25.6c-25.6-25.6-25.6-64 0-89.6s64-25.6 89.6 0l25.6 25.6 25.6 25.6c25.6 25.6 25.6 70.4 0 89.6z" opacity=".6"/><path d="M896 448l-32 128h-32c-38.4 0-64-25.6-64-64s25.6-64 64-64h64zm64 64c0 38.4-25.6 64-64 64h-32l32-128c38.4 0 64 25.6 64 64z" opacity=".75"/><path d="M742.4 192c25.6-19.2 64-19.2 83.2 6.4 25.6 25.6 25.6 64 0 89.6L800 313.6l-25.6 25.6c-25.6 25.6-64 25.6-89.6 0s-25.6-64 0-89.6" opacity=".9"/><path d="M448 160l128 32c0 38.4-25.6 64-64 64s-64-25.6-64-64v-32zm64-96c38.4 0 64 25.6 64 64v32H448v-32c0-38.4 25.6-64 64-64zm-64 96h128v32H448v-32z"/></g></symbol><symbol id="ai-ui-sdk-sync-success" viewBox="0 0 1024 1024"><path fill="#e5f6ea" d="M768 512a256 256 0 01-256 256 256 256 0 01-256-256 256 256 0 01512 0z"/><path fill="#3fc06d" d="M512 320c108.8 0 192 83.2 192 192s-83.2 192-192 192-192-83.2-192-192 83.2-192 192-192m0-64c-140.8 0-256 115.2-256 256s115.2 256 256 256 256-115.2 256-256-115.2-256-256-256z"/></symbol><symbol id="ai-ui-sdk-sync-default" viewBox="0 0 1024 1024"><path fill="#f0f1f5" d="M768 512c0 141.4-114.6 256-256 256S256 653.4 256 512s114.6-256 256-256 256 114.6 256 256z"/><path fill="#c4c6cc" d="M512 320c108.8 0 192 83.2 192 192s-83.2 192-192 192-192-83.2-192-192 83.2-192 192-192m0-64c-140.8 0-256 115.2-256 256s115.2 256 256 256 256-115.2 256-256-115.2-256-256-256z"/></symbol><symbol id="ai-ui-sdk-sync-waiting-01" viewBox="0 0 1024 1024"><path fill="#ffe8c3" d="M704 512a192 192 0 01-192 192 192 192 0 01-192-192 192 192 0 01384 0z"/><path fill="#ff9c01" d="M512 768c-141.2 0-256-114.8-256-256s114.8-256 256-256 256 114.8 256 256-114.8 256-256 256zm0-448c-105.9 0-192 86.1-192 192s86.1 192 192 192 192-86.1 192-192-86.1-192-192-192z"/></symbol><symbol id="ai-ui-sdk-wenben" viewBox="0 0 1024 1024"><path fill="#979BA5" fill-rule="evenodd" d="M616.8 64c8.5 0 16.6 3.4 22.6 9.4l215.2 215.2c6 6 9.4 14.2 9.4 22.7V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM656 704H368c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h288c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zm-64-128H368c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h224c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zM464 448h-96c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h96c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zm138-310.2V326h188.2L602 137.8z"/></symbol><symbol id="ai-ui-sdk-pdf" viewBox="0 0 1024 1024"><path fill="#EA3636" fill-rule="evenodd" d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.217 637.256c-15.174-.489-31.314.67-49.65 2.964-24.298-14.987-40.654-35.582-52.274-65.827.28-1.152.86-3.538 1.063-4.38.474-1.958.867-3.594 1.243-5.185 4.293-18.13 6.615-31.358 7.3-44.695.518-10.074-.04-19.368-1.827-27.976-3.298-18.584-16.454-29.453-33.021-30.126-15.446-.627-29.649 7.993-33.281 21.373-5.913 21.612-2.45 50.07 10.08 98.582-15.964 38.056-37.052 82.661-51.203 107.539-18.885 9.74-33.604 18.605-45.953 28.427-16.303 12.966-26.48 26.29-29.286 40.306-1.355 6.48.692 14.966 5.36 21.912 5.296 7.879 13.282 12.991 22.855 13.735 24.152 1.877 53.83-23.024 86.59-79.258 3.295-1.09 6.78-2.257 11.026-3.69 2.323-.783 10.464-3.538 11.91-4.026 7.521-2.54 12.98-4.36 18.376-6.116 23.396-7.612 41.096-12.429 57.21-15.163 27.973 14.973 60.316 24.796 82.098 24.796 17.979 0 30.126-9.319 34.515-23.985 3.857-12.886.794-27.824-7.473-36.084-8.56-8.41-24.3-12.434-45.658-13.123zm-247.985 128.42v-.36l.126-.338c1.275-3.421 3.157-7.008 5.6-10.758 4.284-6.576 10.173-13.5 17.472-20.865 3.92-3.955 8.002-7.8 12.79-12.12 1.073-.969 7.91-7.059 9.189-8.25l11.176-10.407-8.12 12.934c-12.326 19.638-23.46 33.78-33.013 43.004-3.507 3.387-6.6 5.9-9.091 7.505-1.027.662-1.916 1.144-2.613 1.424-.409.163-.771.268-1.13.302-.38.045-.765-.01-1.117-.16a2.068 2.068 0 01-1.269-1.911zm125.934-218.269l-2.26 4.007-1.39-4.385c-3.114-9.829-5.387-24.641-6.016-37.997-.716-15.197.49-24.323 5.286-24.323 6.74 0 9.831 10.808 10.076 27.053.216 14.28-2.03 29.142-5.696 35.645zm-5.81 58.464l1.534-4.05 2.088 3.795c11.69 21.245 26.858 38.967 43.538 51.315l3.595 2.662-4.38.904c-16.328 3.372-31.544 8.457-52.34 16.842 2.174-.876-21.623 8.863-27.638 11.169l-5.252 2.013 2.802-4.877c12.35-21.496 23.758-47.326 36.052-79.773h.001zm157.626 76.261c-7.864 3.104-24.777.329-54.569-12.387l-7.561-3.227 8.199-.607c23.295-1.724 39.807-.44 49.422 3.08 4.09 1.498 6.824 3.388 8.037 5.553 1.31 2.336.71 4.81-1.362 6.31-.448.427-1.155.88-2.166 1.278z"/></symbol><symbol id="ai-ui-sdk-doc-2" viewBox="0 0 1024 1024"><path fill="#3A84FF" d="M675.35 62.103a21.336 21.336 0 017.36 16.122v889.43a21.33 21.33 0 01-24.32 21.12l-536.406-76.587c-21.028-2.995-36.65-21-36.65-42.24V175.932c0-21.24 15.622-39.245 36.65-42.24l536.363-76.587a21.333 21.333 0 0117.003 4.998zm220.693 76.837c23.564 0 42.666 19.102 42.666 42.667v682.666c0 23.564-19.102 42.667-42.666 42.667H725.376v-85.333h128V224.273h-128V138.94h170.667zM298.709 352.273h-85.333v341.334h85.333l85.334-85.334 85.333 85.334h85.333V352.273h-85.333v212.864l-85.333-84.864-84.907 85.334-.427-213.334z"/></symbol><symbol id="ai-ui-sdk-excel" viewBox="0 0 1024 1024"><path fill="#2DCB56" fill-rule="evenodd" d="M675.307 51.163a21.336 21.336 0 017.36 16.122v889.43a21.33 21.33 0 01-24.32 21.12L121.94 901.248c-21.027-2.995-36.65-21-36.65-42.24V164.992c0-21.24 15.623-39.245 36.65-42.24l536.363-76.587a21.333 21.333 0 0117.003 4.998zM896 128c23.564 0 42.667 19.103 42.667 42.667v682.666C938.667 876.897 919.564 896 896 896H725.333v-85.333h128V213.333h-128V128H896zM315.733 341.333h-102.4L332.8 512 213.333 682.667h102.4L384 585.13l68.267 97.536h102.4L435.2 512l119.467-170.667h-102.4L384 438.87l-68.267-97.536z"/></symbol><symbol id="ai-ui-sdk-links" viewBox="0 0 1024 1024"><path d="M263.04 760.96a148.48 148.48 0 01-1.92-224l92.48-92.48-45.12-45.76L216 491.2a212.8 212.8 0 001.92 314.88A212.8 212.8 0 00532.8 808l92.48-92.48L579.84 672l-92.48 92.48a148.48 148.48 0 01-224.32-3.52zM491.2 216l-92.48 92.48 45.44 45.12 92.48-92.48a148.48 148.48 0 01224 1.92 148.48 148.48 0 011.92 224L672 579.84l45.12 45.44 92.48-92.48a212.8 212.8 0 00-1.92-314.88A212.8 212.8 0 00491.2 216z"/><path d="M398.786 579.888l181.019-181.02 45.255 45.255-181.02 181.02-45.254-45.255z"/></symbol><symbol id="ai-ui-sdk-arrow-left" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M144 512l70.4 70.4 214.4 214.4 70.4-72L336 561.6h544v-99.2H336l163.2-163.2-70.4-72-214.4 214.4z" clip-rule="evenodd"/></symbol><symbol id="ai-ui-sdk-apijiedian" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M451.372 703.988h-84.794l-33.707-87.22H178.554l-31.868 87.22H64L214.37 320h82.428l154.574 383.988zm-143.518-151.92L254.66 409.572l-52.142 142.496h105.337zm184.861 151.92V320h125.083c47.398 0 78.298 1.926 92.7 5.767 22.124 5.766 40.645 18.287 55.562 37.586 14.917 19.3 22.381 44.22 22.381 74.784 0 23.579-4.302 43.39-12.907 59.459-8.604 16.068-19.525 28.687-32.787 37.855-13.25 9.168-26.733 15.24-40.424 18.202-18.606 3.67-45.56 5.498-80.847 5.498h-50.83V704h-77.943l.012-.012zm77.943-319.031v108.969h42.654c30.729 0 51.26-2.012 61.617-6.023 10.357-4.01 18.483-10.302 24.354-18.86 5.884-8.559 8.825-18.507 8.825-29.858 0-13.971-4.13-25.492-12.38-34.575-8.248-9.083-18.691-14.752-31.34-17.02-9.304-1.743-28.008-2.62-56.089-2.62h-37.654l.013-.013zm279.4 319.03V320H928v383.988h-77.943z"/></symbol><symbol id="ai-ui-sdk-fasong" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M924.55 113.365c0-.09-.088-.09-.088-.18a30.217 30.217 0 00-7.78-9.684 31.929 31.929 0 00-10.606-5.918c-.089 0-.177-.09-.266-.09-1.502-.537-3.093-.806-4.685-1.075-.442-.09-.884-.27-1.414-.27-1.503-.179-2.917-.179-4.42-.09-.618 0-1.149-.089-1.768 0-4.242.27-8.485 1.525-12.375 3.498L113.792 485.577c-7.514 3.677-13.26 10.312-15.911 18.382-.796 2.242-1.15 4.663-1.415 6.994-.795 4.753-.618 9.685.884 14.347 2.475 8.16 8.044 14.885 15.558 18.741l194.734 103.836c4.685 2.51 9.812 3.766 15.115 3.766 11.757.09 22.541-6.367 28.287-16.768 8.397-15.513 2.475-34.791-13.083-43.13l-142.316-75.86 572.358-288.014L418.93 634.516c-.265.27-.354.628-.619.897-8.662 5.739-14.32 15.423-14.32 26.542v234.123a32.598 32.598 0 009.547 22.686c6.01 6.008 14.143 9.236 22.54 9.146v.09c17.68 0 32-14.257 32-31.832V675.405l381.07-444.127-79.202 585.802-200.921-97.917c-15.823-7.712-34.828-1.255-42.872 14.526-3.712 7.622-4.243 16.41-1.503 24.48s8.575 14.615 16.177 18.202l238.754 116.48c4.42 2.151 9.193 3.227 14.144 3.227.176 0 .353-.09.53-.09.53 0 1.15.18 1.68.18 15.91.09 29.435-11.657 31.733-27.618l99.003-731.782c2.21-7.532 1.767-15.871-2.122-23.403z"/></symbol><symbol id="ai-ui-sdk-yinyong-2" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M512 64c247.424 0 448 200.576 448 448S759.424 960 512 960 64 759.424 64 512 264.576 64 512 64zm0 63.999c-212.077 0-384.001 171.924-384.001 384.001-.382 155.607 93.181 296.061 236.922 355.66C508.661 927.26 674.161 894.223 784 784a384 384 0 000-544 384.006 384.006 0 00-272-112.001zM492.622 336v62.976h78.956c98.956 0 148.422 43.35 148.422 131.093C720 613.675 671.578 656 576.844 656H375.777v-44.395H573.69c70.511 0 105.267-27.861 105.267-85.675 0-55.743-33.69-83.605-101.067-83.605h-85.267v62.955L320 420.65 492.622 336z"/></symbol><symbol id="ai-ui-sdk-dongzuo-xiazai" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M192 640v192h640V640h64v224c0 17.6-14.4 32-32 32H160c-17.6 0-32-14.4-32-32V640h64zm352-512v452.8l104-102.4 44.8 44.8-136 136L512 704 331.2 523.2l44.8-44.8 104 102.4V128h64z"/></symbol><symbol id="ai-ui-sdk-quanquan" viewBox="0 0 1024 1024"><path fill="#3A84FF" d="M512 64.129c-9.343-.661-18.345 3.338-27.005 11.998-2.666 2.667-4.831 6.165-6.495 10.495-1.664 4.33-2.496 7.498-2.496 9.503v4c0 10.004 2.997 18.003 8.991 23.997 3.328 4.01 7.327 6.847 11.999 8.511 4.671 1.664 8.34 2.496 11.006 2.496h4c68.003 0 130.993 16.83 188.97 50.49 57.978 33.66 103.807 79.49 137.489 137.488 33.681 57.999 50.511 121.16 50.49 189.483-.021 68.322-16.851 131.313-50.49 188.97-33.64 57.657-79.469 103.316-137.489 136.976-58.02 33.66-121.18 50.49-189.482 50.49-68.301 0-131.292-16.83-188.97-50.49-57.68-33.66-103.338-79.319-136.977-136.976-33.639-57.657-50.469-120.818-50.49-189.482 0-10.005-3.669-18.676-11.007-26.013-2.666-3.328-6.164-5.824-10.494-7.487-4.33-1.664-7.498-2.496-9.503-2.496h-4c-10.004 0-18.334 3.338-24.99 10.015-4.01 4.01-6.846 8.18-8.51 12.51-1.664 4.33-2.496 7.498-2.496 9.503v4c0 60.665 11.828 118.663 35.484 173.996 23.656 55.332 55.482 102.996 95.477 142.991 39.996 39.996 87.66 71.822 142.992 95.478 55.332 23.656 113.33 35.483 173.996 35.483 60.665 0 118.664-11.827 173.996-35.483 55.332-23.656 102.996-55.482 142.992-95.478 39.995-39.995 71.82-87.659 95.477-142.991 23.656-55.333 35.484-113.331 35.484-173.996 0-60.665-11.828-118.664-35.484-173.996-23.656-55.333-55.482-102.997-95.477-142.992-39.996-39.996-87.66-71.821-142.992-95.477C630.664 75.989 572.666 64.16 512 64.16v-.032z"/></symbol><symbol id="ai-ui-sdk-baocun" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M864 96c35.346 0 64 28.654 64 64v704c0 35.346-28.654 64-64 64H160c-35.346 0-64-28.654-64-64V160c0-35.346 28.654-64 64-64h704zm-608 64h-96v704h704V160h-96v224c0 35.346-28.654 64-64 64H320c-35.346 0-64-28.654-64-64V160zm448 0H320v224h384V160zm-96 64c17.673 0 32 14.327 32 32v32c0 17.673-14.327 32-32 32-17.673 0-32-14.327-32-32v-32c0-17.673 14.327-32 32-32z"/></symbol><symbol id="ai-ui-sdk-markdown" viewBox="0 0 1024 1024"><path fill="#979BA5" fill-rule="evenodd" d="M616.8 64c8.5 0 16.6 3.4 22.6 9.4l215.2 215.2c6 6 9.4 14.2 9.4 22.7V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.8zM443.562 477.562h-90V768h55.876V603.75c0-24.5-.813-48.938-2.438-73.312h1.688c4.374 21.374 7.437 34.437 9.187 39.187L490.438 768h49.312l71.625-200.25c2.25-6.25 5.25-18.688 9-37.312h1.5c-1.625 24.624-2.437 45.062-2.437 61.312V768h61.124V477.562H593l-62.812 175.126c-4.126 11.624-8.126 25.374-12 41.25h-1.313c-1.875-12.75-5.437-26.376-10.687-40.876l-62.626-175.5zM602 137.8V326h188.2L602 137.8z"/></symbol><symbol id="ai-ui-sdk-ppt-2" viewBox="0 0 1024 1024"><path fill="#979BA5" fill-rule="evenodd" d="M616.8 64c8.5 0 16.6 3.4 22.6 9.4l215.2 215.2c6 6 9.4 14.2 9.4 22.7V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM656 704H368c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h288c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zm-64-128H368c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h224c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zM464 448h-96c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h96c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zm138-310.2V326h188.2L602 137.8z"/></symbol><symbol id="ai-ui-sdk-dongzuo-shangchuan" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M192 640v192h640V640h64v224c0 17.6-14.4 32-32 32H160c-17.6 0-32-14.4-32-32V640h64zm320-512l44.8 44.8 136 136-44.8 44.8-104-102.4V704h-64V251.2L376 353.6l-44.8-44.8L512 128z"/></symbol><symbol id="ai-ui-sdk-wangye" viewBox="0 0 1024 1024"><path d="M287.802 485.456h197.767V309.4H329.1a504.602 504.602 0 00-41.297 176.055zm197.767-374.937c-52.242 39.631-96.242 89.163-129.51 145.794h129.51V110.519zm52.862 374.937h197.04A506.134 506.134 0 00694.173 309.4H538.497v176.055h-.066zm-209 230.072h156.138V538.544H287.802c3.171 62.114 17.576 121.838 41.628 176.984zm583.192 0c27.091-53.686 43.677-113.543 47.31-176.984H788.268a560.422 560.422 0 01-37.135 176.984h161.491zM751.462 309.4c21.475 55.478 34.03 114.738 36.87 176.055H960A450.637 450.637 0 00913.086 309.4H751.462zM538.43 111.05v145.196h128.717c-33.09-56.349-76.813-105.67-128.717-145.196zm189.111 145.263H882.03C808.627 149.146 692.716 79.04 564.07 64c68.492 50.626 124.433 116.436 163.473 192.313zM485.57 913.614V768.616H356.522c33.196 56.316 77.034 105.573 129.047 144.998zM271.811 309.401h-160.83a449.438 449.438 0 00-46.915 176.055H234.94A561.822 561.822 0 01271.811 309.4zm24.316 459.215H142.631c73.224 106.308 188.366 175.931 316.177 191.185-68.057-50.411-123.707-115.813-162.68-191.185zm431.019 0C688.168 844.08 632.467 909.554 564.333 960c128.183-15.038 243.717-84.768 317.102-191.384h-154.29zm-60.394 0H538.43v144.4c51.662-39.354 95.239-88.392 128.32-144.4zM234.94 538.544H64c3.7 63.44 20.22 123.298 47.377 176.984h160.699a558.557 558.557 0 01-37.136-176.984zm500.531 0h-197.04v176.984h155.412a505.266 505.266 0 0041.628-176.984zm-439.74-282.231c38.988-75.778 94.835-141.516 163.21-192.114-128.266 15.233-243.774 85.24-316.97 192.114h153.76z"/></symbol><symbol id="ai-ui-sdk-zhishiku" viewBox="0 0 1024 1024"><path d="M320.986 203.315H191.622c-17.248 0-31.622 14.503-31.622 31.905v639.542c0 17.403 14.374 31.905 31.622 31.905h129.364c17.249 0 31.623-14.502 31.623-31.905V235.22c0-17.402-14.374-31.905-31.623-31.905zm-35.934 130.52h-57.495c-15.811 0-28.748-13.053-28.748-29.005 0-15.952 12.937-29.004 28.748-29.004h57.495c15.811 0 28.747 13.052 28.747 29.004 0 15.952-12.936 29.004-28.747 29.004zM578.277 96H448.913c-17.249 0-31.622 14.502-31.622 31.905v746.857c0 17.403 14.373 31.905 31.622 31.905h129.364c17.248 0 31.622-14.502 31.622-31.905V127.905C611.337 110.502 596.963 96 578.277 96zM543.78 227.969h-57.495c-15.811 0-28.748-13.052-28.748-29.004 0-15.952 12.937-29.004 28.748-29.004h57.495c15.811 0 28.747 13.052 28.747 29.004 0 15.952-12.936 29.004-28.747 29.004zm383.78 613.438l-120.74-627.94c-4.312-15.952-17.249-26.104-33.06-26.104h-5.75l-126.488 24.654c-17.249 2.9-28.748 20.303-25.873 37.705l122.177 629.39c2.875 15.953 15.811 26.104 31.622 26.104h5.75l126.489-24.653c17.248-4.35 28.748-21.753 25.873-39.156zM762.26 312.081l-57.495 11.602h-5.75c-12.936 0-25.872-10.152-28.747-23.204-2.875-15.952 7.187-31.904 22.998-34.805l57.495-11.601c15.811-2.9 31.623 7.25 34.497 23.203 2.875 15.952-7.187 31.905-22.998 34.805z"/></symbol><symbol id="ai-ui-sdk-sikao" viewBox="0 0 1024 1024"><path d="M528 96c61.856 0 112 50.144 112 112 0 .376-.002.751-.006 1.126C774.73 260.666 870.4 391.16 870.4 544c0 22.55-2.082 44.612-6.066 66.007C883.94 630.144 896 657.663 896 688c0 61.856-50.144 112-112 112a112.7 112.7 0 01-19.49-1.69C699.754 862.65 610.519 902.4 512 902.4s-187.753-39.75-252.539-104.088A112.33 112.33 0 01240 800c-61.856 0-112-50.144-112-112 0-30.337 12.061-57.856 31.65-78.025A361.172 361.172 0 01153.6 544c0-164.845 111.29-303.696 262.836-345.518C421.232 141.079 469.35 96 528 96zm-91.48 176.633l-4.469 1.278C315.47 308.366 230.4 416.249 230.4 544c0 10.923.622 21.7 1.832 32.3l1.623-.134L240 576c61.856 0 112 50.144 112 112 0 26.132-8.95 50.173-23.95 69.226C377.36 799.817 441.67 825.6 512 825.6c70.33 0 134.639-25.783 183.99-68.412C680.95 738.173 672 714.132 672 688c0-61.856 50.144-112 112-112 2.607 0 5.194.09 7.757.264A280.989 280.989 0 00793.6 544c0-119.973-75.025-222.422-180.718-262.99C592.35 304.904 561.938 320 528 320c-37.782 0-71.195-18.708-91.48-47.367z"/></symbol><symbol id="ai-ui-sdk-wenzhang" viewBox="0 0 1024 1024"><path fill="#3D4265" d="M708.923 157.538h275.692c21.752 0 39.385 17.634 39.385 39.385v748.308c0 43.503-35.266 78.769-78.77 78.769H708.924V157.538z"/><path fill="#3A84FF" d="M0 984.615A39.385 39.385 0 0039.385 1024H945.23c-43.503 0-78.77-35.266-78.77-78.77V39.386C866.462 17.633 848.829 0 827.078 0H39.385C17.633 0 0 17.633 0 39.385v945.23z"/><path fill="#FFF" d="M196.923 288.82c-21.751 0-39.385 17.634-39.385 39.385 0 21.752 17.634 39.385 39.385 39.385h157.539c21.751 0 39.384-17.633 39.384-39.385 0-21.751-17.633-39.384-39.384-39.384H196.923zm0 236.308c-21.751 0-39.385 17.633-39.385 39.385 0 21.751 17.634 39.384 39.385 39.384h472.615c21.752 0 39.385-17.633 39.385-39.384 0-21.752-17.633-39.385-39.385-39.385H196.923zm0 236.308c-21.751 0-39.385 17.633-39.385 39.385 0 21.751 17.634 39.384 39.385 39.384h236.308c21.751 0 39.384-17.633 39.384-39.384 0-21.752-17.633-39.385-39.384-39.385H196.923z"/></g></symbol><symbol id="ai-ui-sdk-yanjing-kejian" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M512 192c247.4 0 448 143.3 448 320S759.4 832 512 832 64 688.7 64 512s200.6-320 448-320zm0 64c-54.2 0-106.6 7.5-155.9 22.4-46.6 14.1-88.3 34.1-123.7 59.4C165.1 385.9 128 447.8 128 512c0 64.2 37.1 126.1 104.4 174.2 35.4 25.3 77.1 45.3 123.7 59.4C405.4 760.5 457.8 768 512 768s106.6-7.5 155.9-22.4c46.6-14.1 88.3-34.1 123.7-59.4C858.9 638.1 896 576.2 896 512c0-64.2-37.1-126.1-104.4-174.2-35.4-25.3-77.1-45.3-123.7-59.4C618.6 263.5 566.2 256 512 256zm0 96c88.4 0 160 71.6 160 160s-71.6 160-160 160-160-71.6-160-160 71.6-160 160-160zm0 64c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96z"/></symbol><symbol id="ai-ui-sdk-gengduo-2" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M512.55 319.995c35.34-.294 63.742-29.196 63.448-64.548-.307-35.353-29.197-63.742-64.55-63.448-35.135.295-63.448 28.876-63.448 63.998v.55c.307 35.34 29.21 63.742 64.55 63.448m-1.102 112.004c-35.135.295-63.448 28.876-63.448 63.998v.55c.307 35.34 29.21 63.742 64.55 63.448 35.34-.294 63.742-29.196 63.448-64.548-.307-35.353-29.197-63.742-64.55-63.448m0 240c-35.135.295-63.448 28.876-63.448 63.998v.55c.307 35.34 29.21 63.742 64.55 63.448 35.34-.294 63.742-29.196 63.448-64.548-.307-35.353-29.197-63.742-64.55-63.448"/></symbol><symbol id="ai-ui-sdk-sync-passed" viewBox="0 0 1024 1024"><path fill="#cddffe" d="M704 512a192 192 0 01-192 192 192 192 0 01-192-192 192 192 0 01384 0z"/><path fill="#cddffe" d="M512 768c141.4 0 256-114.6 256-256 0 140.8-115.2 256-256 256zM256 512c0 141.4 114.6 256 256 256-140.8 0-256-115.2-256-256zM768 512c0-141.4-114.6-256-256-256 140.8 0 256 115.2 256 256zM512 256c-141.4 0-256 114.6-256 256 0-140.8 115.2-256 256-256z"/><path fill="#3a84ff" d="M768 512c0-140.8-115.2-256-256-256S256 371.2 256 512s115.2 256 256 256 256-115.2 256-256zM512 704c-108.8 0-192-83.2-192-192s83.2-192 192-192 192 83.2 192 192-83.2 192-192 192z"/></symbol><symbol id="ai-ui-sdk-sync-failed-2-2" viewBox="0 0 1024 1024"><path fill="#f1e4f4" d="M704 512c0 106-86 192-192 192s-192-86-192-192 86-192 192-192 192 86 192 192z"/><path fill="#cddffe" d="M512 768c141.4 0 256-114.6 256-256 0 140.8-115.2 256-256 256zM256 512c0 141.4 114.6 256 256 256-140.8 0-256-115.2-256-256zM768 512c0-141.4-114.6-256-256-256 140.8 0 256 115.2 256 256zM512 256c-141.4 0-256 114.6-256 256 0-140.8 115.2-256 256-256z"/><path fill="#cb36ea" d="M768 512c0-140.8-115.2-256-256-256S256 371.2 256 512s115.2 256 256 256 256-115.2 256-256zM512 704c-108.8 0-192-83.2-192-192s83.2-192 192-192 192 83.2 192 192-83.2 192-192 192z"/></symbol></svg>';
3
3
  if (document.body) {
4
4
  document.body.insertAdjacentHTML('afterbegin', svgCode);
5
5
  } else {
6
- document.addEventListener('DOMContentLoaded', ()=>{
6
+ document.addEventListener('DOMContentLoaded', function() {
7
7
  document.body.insertAdjacentHTML('afterbegin', svgCode);
8
8
  });
9
9
  }
@@ -89,6 +89,9 @@ url("fonts/iconcool.eot?#iefix") format("embedded-opentype");
89
89
  .ai-ui-sdk-arrow-left:before {
90
90
  content: "\e11a";
91
91
  }
92
+ .ai-ui-sdk-apijiedian:before {
93
+ content: "\e127";
94
+ }
92
95
  .ai-ui-sdk-fasong:before {
93
96
  content: "\e107";
94
97
  }
@@ -84,7 +84,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
84
84
  url: string;
85
85
  generateType: import("../types/enum").EnumCharacter;
86
86
  id?: number;
87
- status?: string;
87
+ status?: import("../types/enum").ResourceStatus;
88
88
  isSensitive?: boolean;
89
89
  permission?: {
90
90
  accessModel?: boolean;
@@ -111,7 +111,12 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
111
111
  manageQueryTemplate?: boolean;
112
112
  viewDataset?: boolean;
113
113
  manageDataset?: boolean;
114
+ createMcp?: boolean;
115
+ manageMcp?: boolean;
116
+ viewMcp?: boolean;
114
117
  };
118
+ credentialId?: number;
119
+ credentialType?: import("../types/enum").ToolCrdentialType;
115
120
  }[];
116
121
  anchorPathResources?: {
117
122
  knowledges?: {
@@ -161,6 +166,9 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
161
166
  manageQueryTemplate?: boolean;
162
167
  viewDataset?: boolean;
163
168
  manageDataset?: boolean;
169
+ createMcp?: boolean;
170
+ manageMcp?: boolean;
171
+ viewMcp?: boolean;
164
172
  };
165
173
  anchorPath?: string;
166
174
  linkFiles?: {
@@ -227,6 +235,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
227
235
  updatedBy?: string;
228
236
  errorMessage?: string;
229
237
  isStructured?: boolean;
238
+ credentialId?: number;
230
239
  indexConfig?: {
231
240
  vector_indexes: {
232
241
  index_name: string;
@@ -273,6 +282,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
273
282
  handleType?: string[];
274
283
  updateFrequency?: number;
275
284
  name: string;
285
+ type?: import("../types/enum").KnowledgebaseType;
276
286
  status?: import("../types/enum").ResourceStatus;
277
287
  generateType?: import("../types/enum").EnumCharacter;
278
288
  pathType?: import("../types/enum").KnowledgePathType;
@@ -339,6 +349,9 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
339
349
  manageQueryTemplate?: boolean;
340
350
  viewDataset?: boolean;
341
351
  manageDataset?: boolean;
352
+ createMcp?: boolean;
353
+ manageMcp?: boolean;
354
+ viewMcp?: boolean;
342
355
  };
343
356
  children?: /*elided*/ any[];
344
357
  }[];
@@ -355,6 +368,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
355
368
  handleType?: string[];
356
369
  updateFrequency?: number;
357
370
  name: string;
371
+ type?: import("../types/enum").KnowledgebaseType;
358
372
  status?: import("../types/enum").ResourceStatus;
359
373
  generateType?: import("../types/enum").EnumCharacter;
360
374
  pathType?: import("../types/enum").KnowledgePathType;
@@ -421,6 +435,9 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
421
435
  manageQueryTemplate?: boolean;
422
436
  viewDataset?: boolean;
423
437
  manageDataset?: boolean;
438
+ createMcp?: boolean;
439
+ manageMcp?: boolean;
440
+ viewMcp?: boolean;
424
441
  };
425
442
  children?: /*elided*/ any[];
426
443
  }[];
@@ -503,7 +520,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
503
520
  url: string;
504
521
  generateType: import("../types/enum").EnumCharacter;
505
522
  id?: number;
506
- status?: string;
523
+ status?: import("../types/enum").ResourceStatus;
507
524
  isSensitive?: boolean;
508
525
  permission?: {
509
526
  accessModel?: boolean;
@@ -530,7 +547,12 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
530
547
  manageQueryTemplate?: boolean;
531
548
  viewDataset?: boolean;
532
549
  manageDataset?: boolean;
550
+ createMcp?: boolean;
551
+ manageMcp?: boolean;
552
+ viewMcp?: boolean;
533
553
  };
554
+ credentialId?: number;
555
+ credentialType?: import("../types/enum").ToolCrdentialType;
534
556
  }[];
535
557
  anchorPathResources?: {
536
558
  knowledges?: {
@@ -580,6 +602,9 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
580
602
  manageQueryTemplate?: boolean;
581
603
  viewDataset?: boolean;
582
604
  manageDataset?: boolean;
605
+ createMcp?: boolean;
606
+ manageMcp?: boolean;
607
+ viewMcp?: boolean;
583
608
  };
584
609
  anchorPath?: string;
585
610
  linkFiles?: {
@@ -646,6 +671,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
646
671
  updatedBy?: string;
647
672
  errorMessage?: string;
648
673
  isStructured?: boolean;
674
+ credentialId?: number;
649
675
  indexConfig?: {
650
676
  vector_indexes: {
651
677
  index_name: string;
@@ -692,6 +718,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
692
718
  handleType?: string[];
693
719
  updateFrequency?: number;
694
720
  name: string;
721
+ type?: import("../types/enum").KnowledgebaseType;
695
722
  status?: import("../types/enum").ResourceStatus;
696
723
  generateType?: import("../types/enum").EnumCharacter;
697
724
  pathType?: import("../types/enum").KnowledgePathType;
@@ -758,6 +785,9 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
758
785
  manageQueryTemplate?: boolean;
759
786
  viewDataset?: boolean;
760
787
  manageDataset?: boolean;
788
+ createMcp?: boolean;
789
+ manageMcp?: boolean;
790
+ viewMcp?: boolean;
761
791
  };
762
792
  children?: /*elided*/ any[];
763
793
  }[];
@@ -774,6 +804,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
774
804
  handleType?: string[];
775
805
  updateFrequency?: number;
776
806
  name: string;
807
+ type?: import("../types/enum").KnowledgebaseType;
777
808
  status?: import("../types/enum").ResourceStatus;
778
809
  generateType?: import("../types/enum").EnumCharacter;
779
810
  pathType?: import("../types/enum").KnowledgePathType;
@@ -840,6 +871,9 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
840
871
  manageQueryTemplate?: boolean;
841
872
  viewDataset?: boolean;
842
873
  manageDataset?: boolean;
874
+ createMcp?: boolean;
875
+ manageMcp?: boolean;
876
+ viewMcp?: boolean;
843
877
  };
844
878
  children?: /*elided*/ any[];
845
879
  }[];
@@ -875,7 +909,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
875
909
  reGenerateChat: (sessionCode: string, sessionContent: ISessionContent, sessionIndex: number) => void;
876
910
  reSendChat: (sessionCode: string, sessionContent: ISessionContent, sessionIndex: number) => Promise<void>;
877
911
  deleteChat: (index: number, sessionCode: string) => void;
878
- getAgentInfoApi: () => Promise<import("../types/agent").IAgentInfo>;
912
+ getAgentInfoApi: () => Promise<import("../types").IAgentInfo>;
879
913
  clearSessionApi: (sessionCode: string) => Promise<unknown>;
880
914
  getSessionsApi: () => Promise<ISession[]>;
881
915
  plusSessionApi: (data: ISession) => Promise<ISession>;
@@ -888,6 +922,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
888
922
  modifySessionContentApi: (data: ISessionContent) => Promise<ISessionContent>;
889
923
  deleteSessionContentApi: (id: number) => Promise<ISessionContent>;
890
924
  batchDeleteSessionContentsApi: (ids: number[]) => Promise<number>;
925
+ renameSessionApi: (sessionCode: string) => Promise<ISession>;
891
926
  updateRequestOptions: (newOptions: Partial<typeof requestOptions>) => void;
892
927
  };
893
928
  export {};
@@ -90,7 +90,12 @@ import { HttpErrorCode, SessionContentRole, SessionContentStatus } from '../type
90
90
  // ai 聊天
91
91
  export const useChat = ({ handleStart, handleText, handleReferenceDoc, handleThink, handleEnd, handleError, requestOptions, otherOptions })=>{
92
92
  // 创建一个变量保存当前的API实现
93
- let apiImpl = useSessionHttp(requestOptions.url, requestOptions.headers);
93
+ let apiImpl = useSessionHttp({
94
+ apiPrefix: requestOptions.url,
95
+ headers: requestOptions.headers,
96
+ beforeRequest: requestOptions.beforeRequest,
97
+ afterRequest: requestOptions.afterRequest
98
+ });
94
99
  // start message
95
100
  const startMessage = '内容正在生成中...';
96
101
  // 用 ref 存储 requestOptions,使其可更新
@@ -213,7 +218,9 @@ export const useChat = ({ handleStart, handleText, handleReferenceDoc, handleThi
213
218
  handleReferenceDoc: handleReferenceDocChat,
214
219
  handleThink: handleThinkChat,
215
220
  handleEnd: handleEndChat,
216
- handleError: handleErrorChat
221
+ handleError: handleErrorChat,
222
+ beforeRequest: requestOptions.beforeRequest,
223
+ afterRequest: requestOptions.afterRequest
217
224
  });
218
225
  // 更新 requestOptions 的方法
219
226
  function updateRequestOptions(newOptions) {
@@ -221,7 +228,12 @@ export const useChat = ({ handleStart, handleText, handleReferenceDoc, handleThi
221
228
  currentRequestOptions.value = _object_spread({}, currentRequestOptions.value, newOptions);
222
229
  // 如果 URL 变更,重新获取 API
223
230
  if (newOptions.url || newOptions.headers) {
224
- apiImpl = useSessionHttp(currentRequestOptions.value.url, currentRequestOptions.value.headers);
231
+ apiImpl = useSessionHttp({
232
+ apiPrefix: currentRequestOptions.value.url,
233
+ headers: currentRequestOptions.value.headers,
234
+ beforeRequest: currentRequestOptions.value.beforeRequest,
235
+ afterRequest: currentRequestOptions.value.afterRequest
236
+ });
225
237
  }
226
238
  }
227
239
  // 新增 db
@@ -656,6 +668,7 @@ export const useChat = ({ handleStart, handleText, handleReferenceDoc, handleThi
656
668
  modifySessionContentApi: (...args)=>apiImpl.modifySessionContent(...args),
657
669
  deleteSessionContentApi: (...args)=>apiImpl.deleteSessionContent(...args),
658
670
  batchDeleteSessionContentsApi: (...args)=>apiImpl.batchDeleteSessionContents(...args),
671
+ renameSessionApi: (...args)=>apiImpl.renameSession(...args),
659
672
  updateRequestOptions
660
673
  };
661
674
  };
@@ -1,5 +1,5 @@
1
1
  import { type Ref } from 'vue';
2
- import type { IBatchRetryReviewDatasetData, IBatchReviewDatasetData, IComponent, IDatasetApi, IDatasetDataApi, IDatasetDataForm, IDatasetDataParam, IDatasetForm, IDatasetInfo, IDatasetListParam, IOperatRecordParam, ISchema, IUserInfoForm } from '@/types/dataset';
2
+ import type { IBatchRetryReviewDatasetData, IBatchReviewDatasetData, IComponent, IDatasetApi, IDatasetDataApi, IDatasetDataForm, IDatasetDataParam, IDatasetForm, IDatasetInfo, IDatasetListParam, IDatasetStatusInfo, IOperatRecordParam, ISchema, IUserInfoForm } from '@/types/dataset';
3
3
  import type { ITagApi } from '@/types/meta';
4
4
  export declare const useDatasetHttp: (apiPrefix?: string, spaceId?: Ref<string>) => {
5
5
  getCompanyList: () => Promise<import("@/types/dataset").ICompany[]>;
@@ -10,9 +10,13 @@ export declare const useDatasetHttp: (apiPrefix?: string, spaceId?: Ref<string>)
10
10
  results: import("@/types/dataset").IDataset[];
11
11
  }>;
12
12
  getDataset: (id: number) => Promise<import("@/types/dataset").IDataset>;
13
+ getDatasetStatusInfo: (id: number) => Promise<IDatasetStatusInfo>;
13
14
  createDataset: (data: IDatasetForm) => Promise<import("@/types/dataset").IDataset>;
14
15
  updateDataset: (data: IDatasetForm, id: number) => Promise<import("@/types/dataset").IDataset>;
15
16
  deleteDataset: (id: number) => Promise<IDatasetApi>;
17
+ exportDataset: (id: number) => void;
18
+ getDatasetApiGuide: (id: number) => Promise<import("@/types/dataset").IDatasetApiGuide>;
19
+ getDatasetDataIds: (query: IDatasetDataParam) => Promise<number[]>;
16
20
  getDatasetDataList: (query: IDatasetDataParam) => Promise<{
17
21
  count: number;
18
22
  results: import("@/types/dataset").IDatasetData[];
@@ -1,5 +1,5 @@
1
1
  import fetch from '../http/fetch/index.ts.js';
2
- import { transferBatchRetryReviewDatasetData2BatchRetryReviewDatasetDataApi, transferBatchReviewDatasetData2BatchReviewDatasetDataApi, transferCompanyApi2Company, transferCompanyParticipantApi2CompanyParticipantList, transferCreateDatasetDataResultApi2CreateDatasetDataResult, transferDatasetApi2Dataset, transferDatasetDataApi2DatasetData, transferDatasetDataFileApi2DatasetDataFile, transferDatasetDataForm2DatasetDataFormApi, transferDatasetDataParam2DatasetDataParamApi, transferDatasetForm2DatasetFormApi, transferDatasetListParam2DatasetListParamApi, transferOperatRecordApi2OperatRecord, transferOperatRecordParam2OperatRecordParamApi, transferUserInfoApi2UserInfo, transferUserInfoForm2UserInfoFormApi } from '../http/helper/dataset.ts.js';
2
+ import { transferBatchRetryReviewDatasetData2BatchRetryReviewDatasetDataApi, transferBatchReviewDatasetData2BatchReviewDatasetDataApi, transferCompanyApi2Company, transferCompanyParticipantApi2CompanyParticipantList, transferCreateDatasetDataResultApi2CreateDatasetDataResult, transferDatasetApi2Dataset, transferDatasetApiGuideApi2DatasetApiGuide, transferDatasetDataApi2DatasetData, transferDatasetDataFileApi2DatasetDataFile, transferDatasetDataForm2DatasetDataFormApi, transferDatasetDataParam2DatasetDataParamApi, transferDatasetForm2DatasetFormApi, transferDatasetListParam2DatasetListParamApi, transferOperatRecordApi2OperatRecord, transferOperatRecordParam2OperatRecordParamApi, transferUserInfoApi2UserInfo, transferUserInfoForm2UserInfoFormApi } from '../http/helper/dataset.ts.js';
3
3
  import { transferTagApi2Tag } from '../http/helper/meta.ts.js';
4
4
  const datasetPerfix = 'dataset/v1';
5
5
  const metaPerfix = 'meta/v1';
@@ -80,6 +80,12 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
80
80
  noCheckPermission: true,
81
81
  globalError: false
82
82
  }).then(transferDatasetApi2Dataset);
83
+ // 获取数据集状态信息
84
+ const getDatasetStatusInfo = (id)=>fetch.get(`${apiPrefix}/${datasetPerfix}/dataset/${id}/info/`, undefined, {
85
+ headers: {
86
+ 'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
87
+ }
88
+ });
83
89
  // 创建数据集
84
90
  const createDataset = (data)=>fetch.post(`${apiPrefix}/${datasetPerfix}/dataset/`, transferDatasetForm2DatasetFormApi(data), {
85
91
  headers: {
@@ -98,6 +104,23 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
98
104
  'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
99
105
  }
100
106
  });
107
+ // 导出数据集
108
+ const exportDataset = (id)=>{
109
+ const url = `${apiPrefix}/${datasetPerfix}/dataset/${id}/export/`;
110
+ window.open(url, '_blank');
111
+ };
112
+ // 获取数据集 API 指引
113
+ const getDatasetApiGuide = (id)=>fetch.get(`${apiPrefix}/${datasetPerfix}/dataset/${id}/api_guide/`, undefined, {
114
+ headers: {
115
+ 'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
116
+ }
117
+ }).then(transferDatasetApiGuideApi2DatasetApiGuide);
118
+ // 获取数据集数据 ID 列表
119
+ const getDatasetDataIds = (query)=>fetch.post(`${apiPrefix}/${datasetPerfix}/dataset_item/ids/`, transferDatasetDataParam2DatasetDataParamApi(query), {
120
+ headers: {
121
+ 'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
122
+ }
123
+ });
101
124
  // 获取数据集数据列表
102
125
  const getDatasetDataList = (query)=>fetch.post(`${apiPrefix}/${datasetPerfix}/dataset_item/list/`, transferDatasetDataParam2DatasetDataParamApi(query), {
103
126
  headers: {
@@ -208,9 +231,13 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
208
231
  getComponentList,
209
232
  getDatasetList,
210
233
  getDataset,
234
+ getDatasetStatusInfo,
211
235
  createDataset,
212
236
  updateDataset,
213
237
  deleteDataset,
238
+ exportDataset,
239
+ getDatasetApiGuide,
240
+ getDatasetDataIds,
214
241
  getDatasetDataList,
215
242
  createDatasetData,
216
243
  updateDatasetData,
@@ -16,7 +16,7 @@ export declare const useFormRule: (apiPrefix: string, spaceId?: Ref<string>) =>
16
16
  message: () => string;
17
17
  trigger: string;
18
18
  };
19
- getCodeRule: (type: Modules, getIsEdit: () => boolean, getData?: () => Record<string, unknown>) => {
19
+ getCodeRule: (type: Modules, getIsEdit?: () => boolean, getData?: () => Record<string, unknown>) => {
20
20
  validator: (value: string) => Promise<boolean>;
21
21
  message: () => string;
22
22
  trigger: string;
@@ -0,0 +1,101 @@
1
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
2
+ try {
3
+ var info = gen[key](arg);
4
+ var value = info.value;
5
+ } catch (error) {
6
+ reject(error);
7
+ return;
8
+ }
9
+ if (info.done) {
10
+ resolve(value);
11
+ } else {
12
+ Promise.resolve(value).then(_next, _throw);
13
+ }
14
+ }
15
+ function _async_to_generator(fn) {
16
+ return function() {
17
+ var self = this, args = arguments;
18
+ return new Promise(function(resolve, reject) {
19
+ var gen = fn.apply(self, args);
20
+ function _next(value) {
21
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
22
+ }
23
+ function _throw(err) {
24
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
25
+ }
26
+ _next(undefined);
27
+ });
28
+ };
29
+ }
30
+ import { useMetaHttp } from './use-meta-http.ts.js';
31
+ export const useFormRule = (apiPrefix, spaceId)=>{
32
+ const { nameValidator, codeValidator } = useMetaHttp(apiPrefix, spaceId);
33
+ let nameErrorMessage = '';
34
+ let codeErrorMessage = '';
35
+ const codeRule = {
36
+ validator: (value)=>/^[a-zA-Z0-9-]+$/.test(value),
37
+ message: '需要是英文字符、数字、中划线',
38
+ trigger: 'change'
39
+ };
40
+ const getNameRule = (type)=>({
41
+ validator: function() {
42
+ var _ref = _async_to_generator(function*(value) {
43
+ try {
44
+ nameErrorMessage = '';
45
+ const res = yield nameValidator(value, type)();
46
+ return res.data;
47
+ } catch (error) {
48
+ nameErrorMessage = error.message;
49
+ return false;
50
+ }
51
+ });
52
+ return function(value) {
53
+ return _ref.apply(this, arguments);
54
+ };
55
+ }(),
56
+ message: ()=>nameErrorMessage,
57
+ trigger: 'change'
58
+ });
59
+ const getCodeRule = (type, getIsEdit, getData)=>({
60
+ validator: function() {
61
+ var _ref = _async_to_generator(function*(value) {
62
+ try {
63
+ codeErrorMessage = '';
64
+ // 编辑态不校验code
65
+ const isEdit = getIsEdit === null || getIsEdit === void 0 ? void 0 : getIsEdit();
66
+ if (isEdit) {
67
+ return true;
68
+ }
69
+ // 新建态校验code
70
+ const res = yield codeValidator(value, type, getData === null || getData === void 0 ? void 0 : getData())();
71
+ return res.data;
72
+ } catch (error) {
73
+ codeErrorMessage = error.message;
74
+ return false;
75
+ }
76
+ });
77
+ return function(value) {
78
+ return _ref.apply(this, arguments);
79
+ };
80
+ }(),
81
+ message: ()=>codeErrorMessage,
82
+ trigger: 'change'
83
+ });
84
+ const getLengthRule = (label, num)=>({
85
+ validator: (value)=>value.length <= num,
86
+ message: `${label}长度不能超过${num}`,
87
+ trigger: 'change'
88
+ });
89
+ const getApiUrlRule = ()=>({
90
+ validator: (value)=>/https?:\/\//.test(value),
91
+ message: '需要是http://或者https://开头的字符串',
92
+ trigger: 'change'
93
+ });
94
+ return {
95
+ codeRule,
96
+ getApiUrlRule,
97
+ getNameRule,
98
+ getCodeRule,
99
+ getLengthRule
100
+ };
101
+ };
@@ -1,5 +1,11 @@
1
+ import type { RequestHookData } from '@/types/common';
1
2
  import type { ISession, ISessionContent } from '@/types/session';
2
- export declare const useSessionHttp: (apiPrefix: string, headers?: Record<string, string>) => {
3
+ export declare const useSessionHttp: ({ apiPrefix, headers, beforeRequest, afterRequest, }: {
4
+ apiPrefix: string;
5
+ headers?: Record<string, string>;
6
+ beforeRequest?: (data: RequestHookData) => RequestHookData;
7
+ afterRequest?: (data: RequestHookData, response: Response) => void;
8
+ }) => {
3
9
  getAgentInfo: () => Promise<import("@/types/agent").IAgentInfo>;
4
10
  clearSession: (sessionCode: string) => Promise<unknown>;
5
11
  getSessions: () => Promise<ISession[]>;
@@ -13,4 +19,5 @@ export declare const useSessionHttp: (apiPrefix: string, headers?: Record<string
13
19
  modifySessionContent: (data: ISessionContent) => Promise<ISessionContent>;
14
20
  deleteSessionContent: (id: number) => Promise<ISessionContent>;
15
21
  batchDeleteSessionContents: (ids: number[]) => Promise<number>;
22
+ renameSession: (sessionCode: string) => Promise<ISession>;
16
23
  };