@blueking/ai-ui-sdk 0.5.0-beta.1 → 0.5.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/components/render-agent/agent-search.script.vue.js.js +6 -49
  2. package/dist/components/render-agent/agent-type.vue.css +3 -3
  3. package/dist/components/render-agent/agent-type.vue.js +1 -1
  4. package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
  5. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  6. package/dist/components/render-auto-refresh/index.vue.css +8 -8
  7. package/dist/components/render-auto-refresh/index.vue.js +1 -1
  8. package/dist/components/render-card/agent/prefix-info-tool.vue.css +5 -5
  9. package/dist/components/render-card/agent/prefix-info-tool.vue.js +1 -1
  10. package/dist/components/render-card/base.vue.css +12 -12
  11. package/dist/components/render-card/base.vue.js +1 -1
  12. package/dist/components/render-card/llm/corner-badge.vue.css +3 -3
  13. package/dist/components/render-card/llm/corner-badge.vue.js +1 -1
  14. package/dist/components/render-card/llm/icons.vue.css +2 -2
  15. package/dist/components/render-card/llm/icons.vue.js +1 -1
  16. package/dist/components/render-card/llm/info.vue.css +1 -1
  17. package/dist/components/render-card/llm/info.vue.js +1 -1
  18. package/dist/components/render-card/llm/tag-prefix.vue.css +3 -3
  19. package/dist/components/render-card/llm/tag-prefix.vue.js +1 -1
  20. package/dist/components/render-card/mcp/name-suffix.vue.css +2 -2
  21. package/dist/components/render-card/mcp/name-suffix.vue.js +1 -1
  22. package/dist/components/render-card/prompt/icons.vue.css +1 -1
  23. package/dist/components/render-card/prompt/icons.vue.js +1 -1
  24. package/dist/components/render-card/skill/tag-prefix.vue.css +3 -3
  25. package/dist/components/render-card/skill/tag-prefix.vue.js +1 -1
  26. package/dist/components/render-checkbox/index.vue.css +9 -9
  27. package/dist/components/render-checkbox/index.vue.js +1 -1
  28. package/dist/components/render-choose-tag/index.vue.css +7 -7
  29. package/dist/components/render-choose-tag/index.vue.js +1 -1
  30. package/dist/components/render-collapse/index.vue.css +2 -2
  31. package/dist/components/render-collapse/index.vue.js +1 -1
  32. package/dist/components/render-collection/content/index.vue.css +4 -4
  33. package/dist/components/render-collection/content/index.vue.js +1 -1
  34. package/dist/components/render-collection/search/index.script.vue.js.js +9 -52
  35. package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +3 -3
  36. package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
  37. package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.css +1 -1
  38. package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.js +1 -1
  39. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
  40. package/dist/components/render-dataset/components/dataset-data-valid/index.vue.css +1 -1
  41. package/dist/components/render-dataset/components/dataset-data-valid/index.vue.js +1 -1
  42. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  43. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  44. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  45. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  46. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  47. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  48. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  49. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  50. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +1 -1
  51. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  52. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
  53. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
  54. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  55. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  56. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +1 -1
  57. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  58. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
  59. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  60. package/dist/components/render-dataset/components/search-dataset/index.script.vue.js.js +4 -24
  61. package/dist/components/render-dataset/components/search-dataset-data/index.script.vue.js.js +1 -0
  62. package/dist/components/render-dataset/components/search-operation-record/index.script.vue.js.js +1 -0
  63. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  64. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  65. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  66. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  67. package/dist/components/render-dataset-list/index.vue.css +2 -2
  68. package/dist/components/render-dataset-list/index.vue.js +1 -1
  69. package/dist/components/render-dialog/choose-resource.vue.css +3 -3
  70. package/dist/components/render-dialog/choose-resource.vue.js +1 -1
  71. package/dist/components/render-dialog/choose-result.vue.css +14 -14
  72. package/dist/components/render-dialog/choose-result.vue.js +1 -1
  73. package/dist/components/render-dialog/choose-space.vue.css +9 -9
  74. package/dist/components/render-dialog/choose-space.vue.js +1 -1
  75. package/dist/components/render-dialog/index.vue.css +6 -6
  76. package/dist/components/render-dialog/index.vue.js +1 -1
  77. package/dist/components/render-file-card/index.vue.css +11 -11
  78. package/dist/components/render-file-card/index.vue.js +1 -1
  79. package/dist/components/render-file-type-icon/index.vue.css +6 -6
  80. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  81. package/dist/components/render-generate-tag/index.vue.css +5 -5
  82. package/dist/components/render-generate-tag/index.vue.js +1 -1
  83. package/dist/components/render-knowledge/icon/index.vue.css +1 -1
  84. package/dist/components/render-knowledge/icon/index.vue.js +1 -1
  85. package/dist/components/render-knowledge/search/index.script.vue.js.js +8 -51
  86. package/dist/components/render-knowledgebase/search/index.script.vue.js.js +9 -52
  87. package/dist/components/render-mcp/search/index.script.vue.js.js +10 -53
  88. package/dist/components/render-prompt/content/index.vue.css +1 -1
  89. package/dist/components/render-prompt/content/index.vue.js +1 -1
  90. package/dist/components/render-prompt/search/index.script.vue.js.js +6 -49
  91. package/dist/components/render-reference/index.vue.css +2 -2
  92. package/dist/components/render-reference/index.vue.js +1 -1
  93. package/dist/components/render-resource-version/index.vue.css +2 -2
  94. package/dist/components/render-resource-version/index.vue.js +1 -1
  95. package/dist/components/render-router-tab/index.vue.css +3 -3
  96. package/dist/components/render-router-tab/index.vue.js +1 -1
  97. package/dist/components/render-search-select/index.script.vue.js.js +55 -5
  98. package/dist/components/render-search-select/index.vue.d.ts +5 -1
  99. package/dist/components/render-select-plus-extension/index.vue.css +3 -3
  100. package/dist/components/render-select-plus-extension/index.vue.js +1 -1
  101. package/dist/components/render-skill/search/index.script.vue.js.js +6 -49
  102. package/dist/components/render-t-table/index.vue.css +27 -27
  103. package/dist/components/render-t-table/index.vue.js +1 -1
  104. package/dist/components/render-tag-tree/index.vue.css +7 -7
  105. package/dist/components/render-tag-tree/index.vue.js +1 -1
  106. package/dist/components/render-tags/index.vue.css +6 -6
  107. package/dist/components/render-tags/index.vue.js +1 -1
  108. package/dist/components/render-tool/search/index.script.vue.js.js +6 -49
  109. package/dist/http/fetch/index.ts.js +1 -1
  110. package/package.json +1 -1
@@ -1,31 +1,31 @@
1
1
 
2
- .choose-result[data-v-062use8x] {
2
+ .choose-result[data-v-zuvvh995] {
3
3
  height: 100%;
4
4
  background: #F5F7FA;
5
5
  padding: 16px 24px;
6
6
  font-size: 12px;
7
7
  }
8
- .result-title[data-v-062use8x] {
8
+ .result-title[data-v-zuvvh995] {
9
9
  line-height: 28px;
10
10
  font-size: 20px;
11
11
  color: #313238;
12
12
  }
13
- .result-main[data-v-062use8x] {
13
+ .result-main[data-v-zuvvh995] {
14
14
  margin-top: 12px;
15
15
  }
16
- .result-main .result-head[data-v-062use8x] {
16
+ .result-main .result-head[data-v-zuvvh995] {
17
17
  justify-content: space-between;
18
18
  line-height: 32px;
19
19
  }
20
- .result-main .result-head .title-num[data-v-062use8x] {
20
+ .result-main .result-head .title-num[data-v-zuvvh995] {
21
21
  color: #3A84FF;
22
22
  font-weight: 700;
23
23
  }
24
- .result-main .result-head .head-clear[data-v-062use8x] {
24
+ .result-main .result-head .head-clear[data-v-zuvvh995] {
25
25
  cursor: pointer;
26
26
  color: #3A84FF;
27
27
  }
28
- .result-item[data-v-062use8x] {
28
+ .result-item[data-v-zuvvh995] {
29
29
  line-height: 32px;
30
30
  background: #FFFFFF;
31
31
  border-radius: 2px;
@@ -33,27 +33,27 @@
33
33
  margin-top: 4px;
34
34
  padding: 0 8px;
35
35
  }
36
- .result-item:hover .item-close[data-v-062use8x] {
36
+ .result-item:hover .item-close[data-v-zuvvh995] {
37
37
  display: block !important;
38
38
  }
39
- .result-item[data-v-062use8x]:hover {
39
+ .result-item[data-v-zuvvh995]:hover {
40
40
  box-shadow: 0 2px 6px 0 #1919291a;
41
41
  }
42
- .result-item .result-space-name[data-v-062use8x] {
42
+ .result-item .result-space-name[data-v-zuvvh995] {
43
43
  max-width: 40%;
44
44
  }
45
- .result-item .item-close[data-v-062use8x] {
45
+ .result-item .item-close[data-v-zuvvh995] {
46
46
  cursor: pointer;
47
47
  font-size: 16px;
48
48
  color: #C4C6CC;
49
49
  display: none !important;
50
50
  }
51
- .result-item .item-close[data-v-062use8x]:hover {
51
+ .result-item .item-close[data-v-zuvvh995]:hover {
52
52
  color: #979BA5;
53
53
  }
54
- .hover-shadow-strong[data-v-062use8x]:hover {
54
+ .hover-shadow-strong[data-v-zuvvh995]:hover {
55
55
  transition: box-shadow 0.2s;
56
56
  }
57
- .popover-main[data-v-062use8x] {
57
+ .popover-main[data-v-zuvvh995] {
58
58
  padding: 8px 8px 10px;
59
59
  }
@@ -1,5 +1,5 @@
1
1
  import script from './choose-result.script.vue.js';
2
- script.__scopeId = "data-v-062use8x";
2
+ script.__scopeId = "data-v-zuvvh995";
3
3
  script.__file = "./src/components/render-dialog/choose-result.vue";
4
4
  import './choose-result.vue.css';
5
5
  export default script;
@@ -1,35 +1,35 @@
1
1
 
2
- .choose-space[data-v-7l4l6pfq] {
2
+ .choose-space[data-v-o75s2de8] {
3
3
  padding: 0 18px 0 24px;
4
4
  height: 100%;
5
5
  font-size: 12px;
6
6
  }
7
- .space-list[data-v-7l4l6pfq] {
7
+ .space-list[data-v-o75s2de8] {
8
8
  margin-top: 12px;
9
9
  height: calc(100% - 44px);
10
10
  }
11
- .space-list .space-item[data-v-7l4l6pfq] {
11
+ .space-list .space-item[data-v-o75s2de8] {
12
12
  line-height: 32px;
13
13
  padding-left: 8px;
14
14
  }
15
- .space-list .space-item[data-v-7l4l6pfq]:hover {
15
+ .space-list .space-item[data-v-o75s2de8]:hover {
16
16
  background: #f5f7fa;
17
17
  }
18
- .space-list .space-item.space-item-active[data-v-7l4l6pfq] {
18
+ .space-list .space-item.space-item-active[data-v-o75s2de8] {
19
19
  background: #F0F5FF;
20
20
  color: #3A84FF;
21
21
  }
22
- .space-list .space-item.space-item-active .space-tool-number[data-v-7l4l6pfq] {
22
+ .space-list .space-item.space-item-active .space-tool-number[data-v-o75s2de8] {
23
23
  background: #A3C5FD;
24
24
  color: #FFFFFF;
25
25
  }
26
- .space-list .space-item.space-item-active .bkaidev-guanlikongjian-3[data-v-7l4l6pfq] {
26
+ .space-list .space-item.space-item-active .bkaidev-guanlikongjian-3[data-v-o75s2de8] {
27
27
  color: #3A84FF;
28
28
  }
29
- .space-list .space-item.space-item-active .ai-ui-sdk-icon[data-v-7l4l6pfq] {
29
+ .space-list .space-item.space-item-active .ai-ui-sdk-icon[data-v-o75s2de8] {
30
30
  color: #3A84FF;
31
31
  }
32
- .space-list .space-tool-number[data-v-7l4l6pfq] {
32
+ .space-list .space-tool-number[data-v-o75s2de8] {
33
33
  padding: 0 6px;
34
34
  border-radius: 2px;
35
35
  background: #F0F1F5;
@@ -1,5 +1,5 @@
1
1
  import script from './choose-space.script.vue.js.js';
2
- script.__scopeId = "data-v-7l4l6pfq";
2
+ script.__scopeId = "data-v-o75s2de8";
3
3
  script.__file = "./src/components/render-dialog/choose-space.vue";
4
4
  import './choose-space.vue.css';
5
5
  export default script;
@@ -1,24 +1,24 @@
1
1
 
2
- .resource-dialog[data-v-24n4yyoq] .bk-modal-wrapper {
2
+ .resource-dialog[data-v-gud7gahk] .bk-modal-wrapper {
3
3
  max-width: 1600px;
4
4
  }
5
- .resource-dialog-main[data-v-24n4yyoq] {
5
+ .resource-dialog-main[data-v-gud7gahk] {
6
6
  height: 60vh;
7
7
  }
8
- .resource-dialog-choose[data-v-24n4yyoq] {
8
+ .resource-dialog-choose[data-v-gud7gahk] {
9
9
  width: 75%;
10
10
  height: 100%;
11
11
  }
12
- .resource-dialog-title[data-v-24n4yyoq] {
12
+ .resource-dialog-title[data-v-gud7gahk] {
13
13
  font-size: 20px;
14
14
  line-height: 28px;
15
15
  color: #313238;
16
16
  padding: 15px 24px 14px;
17
17
  }
18
- .resource-dialog-layout[data-v-24n4yyoq] {
18
+ .resource-dialog-layout[data-v-gud7gahk] {
19
19
  height: calc(100% - 57px);
20
20
  }
21
- .resource-dialog-result[data-v-24n4yyoq] {
21
+ .resource-dialog-result[data-v-gud7gahk] {
22
22
  width: 25%;
23
23
  height: 100%;
24
24
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js';
2
- script.__scopeId = "data-v-24n4yyoq";
2
+ script.__scopeId = "data-v-gud7gahk";
3
3
  script.__file = "./src/components/render-dialog/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,21 +1,21 @@
1
1
 
2
- .upload-file-home[data-v-09ifup0w] {
2
+ .upload-file-home[data-v-0v37yeih] {
3
3
  position: relative;
4
4
  background: #FFFFFF;
5
5
  border: 1px solid #DCDEE5;
6
6
  border-radius: 4px;
7
7
  padding: 12px 12px 10px 12px;
8
8
  }
9
- .upload-file-home[data-v-09ifup0w]:hover {
9
+ .upload-file-home[data-v-0v37yeih]:hover {
10
10
  border: 1px solid #3A84FF;
11
11
  }
12
- .upload-file-home:hover .file-icons[data-v-09ifup0w] {
12
+ .upload-file-home:hover .file-icons[data-v-0v37yeih] {
13
13
  display: flex;
14
14
  }
15
- .upload-file-home .file-icon[data-v-09ifup0w] {
15
+ .upload-file-home .file-icon[data-v-0v37yeih] {
16
16
  font-size: 32px;
17
17
  }
18
- .upload-file-home .file-content[data-v-09ifup0w] {
18
+ .upload-file-home .file-content[data-v-0v37yeih] {
19
19
  font-size: 12px;
20
20
  flex: 1;
21
21
  align-items: flex-start;
@@ -23,28 +23,28 @@
23
23
  font-weight: normal;
24
24
  width: 0;
25
25
  }
26
- .upload-file-home .file-content .file-name[data-v-09ifup0w] {
26
+ .upload-file-home .file-content .file-name[data-v-0v37yeih] {
27
27
  width: 100%;
28
28
  font-size: 14px;
29
29
  line-height: 20px;
30
30
  }
31
- .upload-file-home .file-content .file-size[data-v-09ifup0w] {
31
+ .upload-file-home .file-content .file-size[data-v-0v37yeih] {
32
32
  font-size: 12px;
33
33
  color: #979BA5;
34
34
  line-height: 20px;
35
35
  }
36
- .upload-file-home .file-icons[data-v-09ifup0w] {
36
+ .upload-file-home .file-icons[data-v-0v37yeih] {
37
37
  display: none;
38
38
  color: #979BA5;
39
39
  }
40
- .upload-file-home .file-icons .ai-ui-sdk-icon[data-v-09ifup0w] {
40
+ .upload-file-home .file-icons .ai-ui-sdk-icon[data-v-0v37yeih] {
41
41
  cursor: pointer;
42
42
  margin-right: 15px;
43
43
  font-size: 16px;
44
44
  }
45
- .upload-file-home .file-icons .ai-ui-sdk-icon[data-v-09ifup0w]:hover {
45
+ .upload-file-home .file-icons .ai-ui-sdk-icon[data-v-0v37yeih]:hover {
46
46
  color: #3A84FF;
47
47
  }
48
- .upload-file-home .file-icons .ai-ui-sdk-delete[data-v-09ifup0w] {
48
+ .upload-file-home .file-icons .ai-ui-sdk-delete[data-v-0v37yeih] {
49
49
  margin: 0;
50
50
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-09ifup0w";
2
+ script.__scopeId = "data-v-0v37yeih";
3
3
  script.__file = "./src/components/render-file-card/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,19 +1,19 @@
1
1
 
2
- .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-2zmklgxb] {
2
+ .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-7uejpeo3] {
3
3
  color: #EA3636;
4
4
  }
5
- .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-2zmklgxb], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-2zmklgxb], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-2zmklgxb] {
5
+ .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-7uejpeo3], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-7uejpeo3], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-7uejpeo3] {
6
6
  color: #3A84FF;
7
7
  }
8
- .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-2zmklgxb] {
8
+ .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-7uejpeo3] {
9
9
  color: #C4C6CC;
10
10
  }
11
- .ai-ui-sdk-icon.ai-ui-sdk-archive-line[data-v-2zmklgxb] {
11
+ .ai-ui-sdk-icon.ai-ui-sdk-archive-line[data-v-7uejpeo3] {
12
12
  color: #979BA5;
13
13
  }
14
- .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-2zmklgxb] {
14
+ .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-7uejpeo3] {
15
15
  color: #2DCB56;
16
16
  }
17
- .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-2zmklgxb] {
17
+ .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-7uejpeo3] {
18
18
  color: #14A568;
19
19
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-2zmklgxb";
2
+ script.__scopeId = "data-v-7uejpeo3";
3
3
  script.__file = "./src/components/render-file-type-icon/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,22 +1,22 @@
1
1
 
2
- .generate-type-tag[data-v-kicqq7e6] {
2
+ .generate-type-tag[data-v-scey42hq] {
3
3
  border-radius: 2px;
4
4
  text-align: left;
5
5
  white-space: nowrap;
6
6
  }
7
- .generate-type-tag.public[data-v-kicqq7e6] {
7
+ .generate-type-tag.public[data-v-scey42hq] {
8
8
  color: #2CAF5E;
9
9
  background-color: #DAF6E5;
10
10
  }
11
- .generate-type-tag.public[data-v-kicqq7e6]:hover {
11
+ .generate-type-tag.public[data-v-scey42hq]:hover {
12
12
  color: #299E56;
13
13
  background-color: #CBF0DA;
14
14
  }
15
- .generate-type-tag.space[data-v-kicqq7e6] {
15
+ .generate-type-tag.space[data-v-scey42hq] {
16
16
  color: #45A0A5;
17
17
  background-color: #D8F4F5;
18
18
  }
19
- .generate-type-tag.space[data-v-kicqq7e6]:hover {
19
+ .generate-type-tag.space[data-v-scey42hq]:hover {
20
20
  color: #388A8E;
21
21
  background-color: #B6E7E9;
22
22
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-kicqq7e6";
2
+ script.__scopeId = "data-v-scey42hq";
3
3
  script.__file = "./src/components/render-generate-tag/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,4 +1,4 @@
1
1
 
2
- .ai-ui-sdk-icon[data-v-f8m2pqz5] {
2
+ .ai-ui-sdk-icon[data-v-xxo0uukm] {
3
3
  color: #979ba5;
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-f8m2pqz5";
2
+ script.__scopeId = "data-v-xxo0uukm";
3
3
  script.__file = "./src/components/render-knowledge/icon/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,36 +1,6 @@
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
1
  import { defineComponent as _defineComponent } from 'vue';
31
2
  import { openBlock as _openBlock, createBlock as _createBlock } from "vue";
32
3
  import { ref } from 'vue';
33
- import { isSearchMatch } from '../../../common/util.ts.js';
34
4
  import RenderSearchSelect from '../../render-search-select/index.vue.js';
35
5
  import { useMemberHttp } from '../../../hooks.ts.js';
36
6
  import { FileStatus, KnowledgeType } from '../../../types/enum.ts.js';
@@ -145,34 +115,21 @@ export default /*@__PURE__*/ _defineComponent({
145
115
  children: []
146
116
  }
147
117
  ]);
148
- const handleGetMenuList = function() {
149
- var _ref = _async_to_generator(function*(data, search) {
150
- if (!data.async) {
151
- return (data.children || []).filter((item)=>isSearchMatch(item.name, search));
152
- }
153
- if (data.id === 'updatedBy') {
154
- // 获取更新人列表
155
- const memberList = yield getMemberList(props.memberUrl, search);
156
- // 更新更新人列表(回显使用)
157
- const updatedByDataItem = searchOptions.value.find((item)=>item.id === 'updatedBy');
158
- updatedByDataItem.children = memberList;
159
- // 返回更新人列表
160
- return memberList;
161
- }
162
- });
163
- return function handleGetMenuList(data, search) {
164
- return _ref.apply(this, arguments);
165
- };
166
- }();
118
+ const handleGetMenuList = (data, search)=>{
119
+ if (data.id === 'updatedBy') {
120
+ return getMemberList(props.memberUrl, search);
121
+ }
122
+ };
167
123
  const placeholder = `搜索${searchOptions.value.map((item)=>item.name).join('、')}`;
168
124
  const handleSearchChange = (search)=>{
169
125
  emits('update:search', search);
170
126
  };
171
127
  return (_ctx, _cache)=>{
172
128
  return _openBlock(), _createBlock(RenderSearchSelect, {
129
+ data: searchOptions.value,
130
+ "onUpdate:data": _cache[0] || (_cache[0] = ($event)=>searchOptions.value = $event),
173
131
  placeholder: placeholder,
174
132
  "model-value": props.search,
175
- data: searchOptions.value,
176
133
  "is-show-tag-search": props.isShowTagSearch,
177
134
  "api-prefix": props.apiPrefix,
178
135
  "space-id": props.spaceId,
@@ -181,8 +138,8 @@ export default /*@__PURE__*/ _defineComponent({
181
138
  class: "!g-bg-white",
182
139
  "onUpdate:modelValue": handleSearchChange
183
140
  }, null, 8 /* PROPS */ , [
184
- "model-value",
185
141
  "data",
142
+ "model-value",
186
143
  "is-show-tag-search",
187
144
  "api-prefix",
188
145
  "space-id",
@@ -1,36 +1,6 @@
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
1
  import { defineComponent as _defineComponent } from 'vue';
31
2
  import { openBlock as _openBlock, createBlock as _createBlock } from "vue";
32
3
  import { ref } from 'vue';
33
- import { isSearchMatch } from '../../../common/util.ts.js';
34
4
  import RenderSearchSelect from '../../render-search-select/index.vue.js';
35
5
  import { useMemberHttp } from '../../../hooks.ts.js';
36
6
  export default /*@__PURE__*/ _defineComponent({
@@ -89,44 +59,31 @@ export default /*@__PURE__*/ _defineComponent({
89
59
  }
90
60
  ]
91
61
  ]);
92
- const handleGetMenuList = function() {
93
- var _ref = _async_to_generator(function*(data, search) {
94
- if (!data.async) {
95
- return (data.children || []).filter((item)=>isSearchMatch(item.name, search));
96
- }
97
- if (data.id === 'updatedBy') {
98
- // 获取更新人列表
99
- const memberList = yield getMemberList(props.memberUrl, search);
100
- // 更新更新人列表(回显使用)
101
- const updatedByDataItem = searchOptions.value.find((item)=>item.id === 'updatedBy');
102
- updatedByDataItem.children = memberList;
103
- // 返回更新人列表
104
- return memberList;
105
- }
106
- });
107
- return function handleGetMenuList(data, search) {
108
- return _ref.apply(this, arguments);
109
- };
110
- }();
62
+ const handleGetMenuList = (data, search)=>{
63
+ if (data.id === 'updatedBy') {
64
+ return getMemberList(props.memberUrl, search);
65
+ }
66
+ };
111
67
  const handleSearchChange = (search)=>{
112
68
  emits('update:search', search);
113
69
  };
114
70
  return (_ctx, _cache)=>{
115
71
  return _openBlock(), _createBlock(RenderSearchSelect, {
116
- class: "!g-bg-white",
72
+ data: searchOptions.value,
73
+ "onUpdate:data": _cache[0] || (_cache[0] = ($event)=>searchOptions.value = $event),
117
74
  placeholder: __props.isShowAllSearchOptions ? '搜索名称、描述、ID、更新人' : '搜索中英文名称、描述',
118
75
  "model-value": props.search,
119
- data: searchOptions.value,
120
76
  "is-show-tag-search": props.isShowTagSearch,
121
77
  "api-prefix": props.apiPrefix,
122
78
  "space-id": props.spaceId,
123
79
  module: props.module,
124
80
  "get-menu-list": handleGetMenuList,
81
+ class: "!g-bg-white",
125
82
  "onUpdate:modelValue": handleSearchChange
126
83
  }, null, 8 /* PROPS */ , [
84
+ "data",
127
85
  "placeholder",
128
86
  "model-value",
129
- "data",
130
87
  "is-show-tag-search",
131
88
  "api-prefix",
132
89
  "space-id",
@@ -1,36 +1,6 @@
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
1
  import { defineComponent as _defineComponent } from 'vue';
31
2
  import { openBlock as _openBlock, createBlock as _createBlock } from "vue";
32
3
  import { ref } from 'vue';
33
- import { isSearchMatch } from '../../../common/util.ts.js';
34
4
  import RenderSearchSelect from '../../render-search-select/index.vue.js';
35
5
  import { useMemberHttp } from '../../../hooks.ts.js';
36
6
  export default /*@__PURE__*/ _defineComponent({
@@ -74,43 +44,30 @@ export default /*@__PURE__*/ _defineComponent({
74
44
  children: []
75
45
  }
76
46
  ]);
77
- const handleGetMenuList = function() {
78
- var _ref = _async_to_generator(function*(data, search) {
79
- if (!data.async) {
80
- return (data.children || []).filter((item)=>isSearchMatch(item.name, search));
81
- }
82
- if (data.id === 'updatedBy') {
83
- // 获取更新人列表
84
- const memberList = yield getMemberList(props.memberUrl, search);
85
- // 更新更新人列表(回显使用)
86
- const updatedByDataItem = searchOptions.value.find((item)=>item.id === 'updatedBy');
87
- updatedByDataItem.children = memberList;
88
- // 返回更新人列表
89
- return memberList;
90
- }
91
- });
92
- return function handleGetMenuList(data, search) {
93
- return _ref.apply(this, arguments);
94
- };
95
- }();
47
+ const handleGetMenuList = (data, search)=>{
48
+ if (data.id === 'updatedBy') {
49
+ return getMemberList(props.memberUrl, search);
50
+ }
51
+ };
96
52
  const handleSearchChange = (search)=>{
97
53
  emits('update:search', search);
98
54
  };
99
55
  return (_ctx, _cache)=>{
100
56
  return _openBlock(), _createBlock(RenderSearchSelect, {
101
- class: "!g-bg-white",
102
- placeholder: "搜索中英文名称、描述、更新人",
103
- "model-value": props.search,
104
57
  data: searchOptions.value,
58
+ "onUpdate:data": _cache[0] || (_cache[0] = ($event)=>searchOptions.value = $event),
59
+ "model-value": props.search,
105
60
  "is-show-tag-search": props.isShowTagSearch,
106
61
  "api-prefix": props.apiPrefix,
107
62
  "space-id": props.spaceId,
108
63
  module: props.module,
109
64
  "get-menu-list": handleGetMenuList,
65
+ class: "!g-bg-white",
66
+ placeholder: "搜索中英文名称、描述、更新人",
110
67
  "onUpdate:modelValue": handleSearchChange
111
68
  }, null, 8 /* PROPS */ , [
112
- "model-value",
113
69
  "data",
70
+ "model-value",
114
71
  "is-show-tag-search",
115
72
  "api-prefix",
116
73
  "space-id",
@@ -1,5 +1,5 @@
1
1
 
2
- .resource-card-description[data-v-xoe4dd0y] {
2
+ .resource-card-description[data-v-t4ob4y8b] {
3
3
  color: #4D4F56;
4
4
  height: 120px;
5
5
  white-space: pre-wrap;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-xoe4dd0y";
2
+ script.__scopeId = "data-v-t4ob4y8b";
3
3
  script.__file = "./src/components/render-prompt/content/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;