@blueking/ai-ui-sdk 0.4.3-beta.11 → 0.4.3-beta.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 (143) hide show
  1. package/README.md +2258 -2258
  2. package/dist/assets/svg/lock.svg +43 -43
  3. package/dist/common/util.ts.js +103 -103
  4. package/dist/components/render-agent/agent-download.vue.css +2 -2
  5. package/dist/components/render-agent/agent-type.vue.css +9 -9
  6. package/dist/components/render-agent/agent-type.vue.js +1 -1
  7. package/dist/components/render-auth/auth-dialog.script.vue.js.js +6 -3
  8. package/dist/components/render-auth/auth-dialog.vue.css +2 -2
  9. package/dist/components/render-auto-height-textarea/index.vue.css +26 -26
  10. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  11. package/dist/components/render-auto-refresh/index.vue.css +30 -30
  12. package/dist/components/render-auto-refresh/index.vue.js +1 -1
  13. package/dist/components/render-card/agent/index.vue.d.ts +1 -1
  14. package/dist/components/render-card/agent/prefix-info-tool.vue.css +18 -18
  15. package/dist/components/render-card/agent/prefix-info-tool.vue.js +1 -1
  16. package/dist/components/render-card/base.vue.css +30 -30
  17. package/dist/components/render-card/base.vue.js +1 -1
  18. package/dist/components/render-card/knowledge/index.vue.d.ts +1 -1
  19. package/dist/components/render-card/knowledgebase/index.vue.d.ts +1 -1
  20. package/dist/components/render-card/llm/actions.script.vue.js.js +7 -5
  21. package/dist/components/render-card/llm/actions.vue.d.ts +1 -1
  22. package/dist/components/render-card/llm/corner-badge.vue.css +12 -12
  23. package/dist/components/render-card/llm/corner-badge.vue.js +1 -1
  24. package/dist/components/render-card/llm/icons.vue.css +3 -3
  25. package/dist/components/render-card/llm/icons.vue.js +1 -1
  26. package/dist/components/render-card/llm/index.script.vue.js.js +1 -1
  27. package/dist/components/render-card/llm/index.vue.d.ts +1 -1
  28. package/dist/components/render-card/llm/info.vue.css +8 -8
  29. package/dist/components/render-card/llm/info.vue.js +1 -1
  30. package/dist/components/render-card/llm/tag-prefix.vue.css +5 -5
  31. package/dist/components/render-card/llm/tag-prefix.vue.js +1 -1
  32. package/dist/components/render-card/mcp/index.vue.d.ts +1 -1
  33. package/dist/components/render-card/mcp/name-suffix.vue.css +7 -7
  34. package/dist/components/render-card/mcp/name-suffix.vue.js +1 -1
  35. package/dist/components/render-card/mcp/selected-tools-info.vue.d.ts +1 -1
  36. package/dist/components/render-card/prompt/icons.vue.css +2 -2
  37. package/dist/components/render-card/prompt/icons.vue.js +1 -1
  38. package/dist/components/render-card/prompt/index.vue.d.ts +1 -1
  39. package/dist/components/render-card/role/index.vue.d.ts +1 -1
  40. package/dist/components/render-card/skill/scanner.vue.css +7 -7
  41. package/dist/components/render-card/skill/scanner.vue.js +1 -1
  42. package/dist/components/render-card/tool/index.vue.d.ts +1 -1
  43. package/dist/components/render-checkbox/index.vue.css +41 -41
  44. package/dist/components/render-checkbox/index.vue.js +1 -1
  45. package/dist/components/render-choose-tag/index.vue.css +29 -29
  46. package/dist/components/render-choose-tag/index.vue.js +1 -1
  47. package/dist/components/render-collapse/index.vue.css +6 -6
  48. package/dist/components/render-collapse/index.vue.js +1 -1
  49. package/dist/components/render-collection/content/index.vue.css +15 -15
  50. package/dist/components/render-collection/content/index.vue.js +1 -1
  51. package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +10 -10
  52. package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
  53. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
  54. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +9 -9
  55. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  56. package/dist/components/render-dataset/components/operation-record/index.vue.css +10 -10
  57. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  58. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +8 -8
  59. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  60. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +8 -8
  61. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  62. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  63. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  64. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +6 -6
  65. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
  66. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +3 -3
  67. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  68. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  69. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  70. package/dist/components/render-dataset/components/plus-dataset-data/form/manual.vue.css +4 -4
  71. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +21 -21
  72. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  73. package/dist/components/render-dataset-detail-origin-data/index.vue.css +9 -9
  74. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  75. package/dist/components/render-dataset-list/components/main.vue.css +9 -9
  76. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  77. package/dist/components/render-dataset-list/index.vue.css +4 -4
  78. package/dist/components/render-dataset-list/index.vue.js +1 -1
  79. package/dist/components/render-dialog/choose-resource.vue.css +4 -4
  80. package/dist/components/render-dialog/choose-resource.vue.js +1 -1
  81. package/dist/components/render-dialog/choose-result.vue.css +31 -31
  82. package/dist/components/render-dialog/choose-result.vue.js +1 -1
  83. package/dist/components/render-dialog/choose-space.script.vue.js.js +10 -10
  84. package/dist/components/render-dialog/choose-space.vue.css +19 -19
  85. package/dist/components/render-dialog/choose-space.vue.js +1 -1
  86. package/dist/components/render-dialog/index.vue.css +12 -12
  87. package/dist/components/render-dialog/index.vue.js +1 -1
  88. package/dist/components/render-dropdown/index.vue.css +15 -15
  89. package/dist/components/render-file-card/index.vue.css +28 -28
  90. package/dist/components/render-file-card/index.vue.d.ts +1 -1
  91. package/dist/components/render-file-card/index.vue.js +1 -1
  92. package/dist/components/render-file-type-icon/index.vue.css +7 -7
  93. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  94. package/dist/components/render-generate-tag/index.vue.css +12 -12
  95. package/dist/components/render-generate-tag/index.vue.js +1 -1
  96. package/dist/components/render-knowledge/icon/index.vue.css +2 -2
  97. package/dist/components/render-knowledge/icon/index.vue.js +1 -1
  98. package/dist/components/render-markdown/edit.postcss.css +92 -92
  99. package/dist/components/render-markdown/katex.ts.js +8 -8
  100. package/dist/components/render-markdown/prism-atom-one-dark.postcss.css +192 -192
  101. package/dist/components/render-markdown/view.postcss.css +99 -99
  102. package/dist/components/render-permission-tag/index.vue.css +2 -2
  103. package/dist/components/render-prompt/content/index.vue.css +5 -5
  104. package/dist/components/render-prompt/content/index.vue.js +1 -1
  105. package/dist/components/render-reference/index.vue.css +4 -4
  106. package/dist/components/render-reference/index.vue.js +1 -1
  107. package/dist/components/render-resource-version/index.vue.css +7 -7
  108. package/dist/components/render-resource-version/index.vue.js +1 -1
  109. package/dist/components/render-router-tab/index.vue.css +15 -15
  110. package/dist/components/render-router-tab/index.vue.js +1 -1
  111. package/dist/components/render-search-empty/index.script.vue.js.js +3 -2
  112. package/dist/components/render-search-empty/index.vue.d.ts +1 -1
  113. package/dist/components/render-search-select/index.vue.d.ts +1 -1
  114. package/dist/components/render-select-plus-extension/index.vue.css +11 -11
  115. package/dist/components/render-select-plus-extension/index.vue.js +1 -1
  116. package/dist/components/render-t-table/index.script.vue.js +32 -12
  117. package/dist/components/render-t-table/index.vue.css +117 -117
  118. package/dist/components/render-t-table/index.vue.d.ts +1 -1
  119. package/dist/components/render-t-table/index.vue.js +1 -1
  120. package/dist/components/render-tag-tree/index.vue.css +17 -17
  121. package/dist/components/render-tag-tree/index.vue.js +1 -1
  122. package/dist/components/render-tags/index.vue.css +12 -12
  123. package/dist/components/render-tags/index.vue.js +1 -1
  124. package/dist/components/render-tree/index.vue.css +12 -12
  125. package/dist/components/render-tree/index.vue.d.ts +1 -1
  126. package/dist/css/fonts/iconcool.svg +268 -268
  127. package/dist/css/g-utilities.css +10 -16
  128. package/dist/css/style.css +259 -259
  129. package/dist/hooks/use-ellipsis-tooltip.ts.js +28 -28
  130. package/dist/hooks/use-loading-version.ts.js +4 -4
  131. package/dist/http/helper/agent.ts.js +44 -44
  132. package/dist/http/helper/collection.ts.js +12 -12
  133. package/dist/http/helper/common.ts.js +44 -44
  134. package/dist/http/helper/dataset.ts.js +76 -76
  135. package/dist/http/helper/knowledge.ts.js +45 -45
  136. package/dist/http/helper/mcp.ts.js +38 -36
  137. package/dist/http/helper/permission.ts.js +12 -12
  138. package/dist/http/helper/prompt.ts.js +12 -12
  139. package/dist/http/helper/skill.ts.js +24 -24
  140. package/dist/http/helper/space.ts.js +24 -24
  141. package/dist/http/helper/tool.ts.js +20 -20
  142. package/dist/types/mcp.d.ts +2 -0
  143. package/package.json +112 -112
@@ -1,99 +1,99 @@
1
- .aidev-markdown-preview .toastui-editor-contents,
2
- .toastui-editor .toastui-editor-contents,
3
- .toastui-editor-md-preview .toastui-editor-contents {
4
- font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
5
- }
6
-
7
- .aidev-markdown-preview .toastui-editor-contents pre, .toastui-editor .toastui-editor-contents pre, .toastui-editor-md-preview .toastui-editor-contents pre {
8
- max-height: 500px;
9
- overflow-y: auto;
10
- }
11
-
12
- .aidev-markdown-preview .toastui-editor-contents pre::-webkit-scrollbar, .toastui-editor .toastui-editor-contents pre::-webkit-scrollbar, .toastui-editor-md-preview .toastui-editor-contents pre::-webkit-scrollbar {
13
- width: 6px;
14
- height: 6px;
15
- }
16
-
17
- .aidev-markdown-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb, .toastui-editor .toastui-editor-contents pre::-webkit-scrollbar-thumb, .toastui-editor-md-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb {
18
- width: 6px;
19
- height: 6px;
20
- border-radius: 3px;
21
- background-color: #dcdee5;
22
- }
23
-
24
- .aidev-markdown-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb:hover, .toastui-editor .toastui-editor-contents pre::-webkit-scrollbar-thumb:hover, .toastui-editor-md-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb:hover {
25
- background-color: #979ba5;
26
- }
27
-
28
- .aidev-markdown-preview .toastui-editor-contents p,
29
- .aidev-markdown-preview .toastui-editor-contents td,
30
- .toastui-editor .toastui-editor-contents p,
31
- .toastui-editor .toastui-editor-contents td,
32
- .toastui-editor-md-preview .toastui-editor-contents p,
33
- .toastui-editor-md-preview .toastui-editor-contents td {
34
- color: #4d4f56;
35
- }
36
-
37
- .aidev-markdown-preview .toastui-editor-contents h1, .toastui-editor .toastui-editor-contents h1, .toastui-editor-md-preview .toastui-editor-contents h1 {
38
- margin: 36px 0 20px;
39
- border-bottom: 2px solid #eaecef;
40
- }
41
-
42
- .aidev-markdown-preview .toastui-editor-contents h2, .toastui-editor .toastui-editor-contents h2, .toastui-editor-md-preview .toastui-editor-contents h2 {
43
- margin: 32px 0 16px;
44
- border-bottom: 1px solid #eaecef;
45
- }
46
-
47
- .aidev-markdown-preview .toastui-editor-contents h3, .toastui-editor .toastui-editor-contents h3, .toastui-editor-md-preview .toastui-editor-contents h3 {
48
- margin: 24px 0 12px;
49
- }
50
-
51
- .aidev-markdown-preview .toastui-editor-contents h4, .toastui-editor .toastui-editor-contents h4, .toastui-editor-md-preview .toastui-editor-contents h4 {
52
- margin: 18px 0 8px;
53
- }
54
-
55
- .aidev-markdown-preview .toastui-editor-contents h5,
56
- .aidev-markdown-preview .toastui-editor-contents h6,
57
- .toastui-editor .toastui-editor-contents h5,
58
- .toastui-editor .toastui-editor-contents h6,
59
- .toastui-editor-md-preview .toastui-editor-contents h5,
60
- .toastui-editor-md-preview .toastui-editor-contents h6 {
61
- margin: 14px 0 4px;
62
- }
63
-
64
- .aidev-markdown-preview .toastui-editor-contents i, .toastui-editor .toastui-editor-contents i, .toastui-editor-md-preview .toastui-editor-contents i {
65
- font-style: normal;
66
- }
67
-
68
- .aidev-markdown-preview .toastui-editor-contents table th, .toastui-editor .toastui-editor-contents table th, .toastui-editor-md-preview .toastui-editor-contents table th {
69
- background-color: #fff;
70
- color: #4d4f56;
71
- font-weight: bold;
72
- }
73
-
74
- .aidev-markdown-preview .toastui-editor-contents table tr:nth-of-type(odd), .toastui-editor .toastui-editor-contents table tr:nth-of-type(odd), .toastui-editor-md-preview .toastui-editor-contents table tr:nth-of-type(odd) {
75
- background-color: #f6f8fa;
76
- }
77
-
78
- .aidev-markdown-preview .toastui-editor-contents table tr:nth-of-type(even), .toastui-editor .toastui-editor-contents table tr:nth-of-type(even), .toastui-editor-md-preview .toastui-editor-contents table tr:nth-of-type(even) {
79
- background-color: #fff;
80
- }
81
-
82
- .aidev-markdown-preview .toastui-editor-contents .markdown-code-copy-wrap, .toastui-editor .toastui-editor-contents .markdown-code-copy-wrap, .toastui-editor-md-preview .toastui-editor-contents .markdown-code-copy-wrap {
83
- position: relative;
84
- }
85
-
86
- .aidev-markdown-preview .toastui-editor-contents .markdown-code-copy-button, .toastui-editor .toastui-editor-contents .markdown-code-copy-button, .toastui-editor-md-preview .toastui-editor-contents .markdown-code-copy-button {
87
- position: sticky;
88
- top: -16px;
89
- float: right;
90
- margin: -25px -12px 0 0;
91
- font-size: 14px;
92
- color: #979ba5;
93
- cursor: pointer;
94
- user-select: none;
95
- }
96
-
97
- .aidev-markdown-preview .toastui-editor-contents .markdown-code-copy-button:hover, .toastui-editor .toastui-editor-contents .markdown-code-copy-button:hover, .toastui-editor-md-preview .toastui-editor-contents .markdown-code-copy-button:hover {
98
- color: #3a84ff;
99
- }
1
+ .aidev-markdown-preview .toastui-editor-contents,
2
+ .toastui-editor .toastui-editor-contents,
3
+ .toastui-editor-md-preview .toastui-editor-contents {
4
+ font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
5
+ }
6
+
7
+ .aidev-markdown-preview .toastui-editor-contents pre, .toastui-editor .toastui-editor-contents pre, .toastui-editor-md-preview .toastui-editor-contents pre {
8
+ max-height: 500px;
9
+ overflow-y: auto;
10
+ }
11
+
12
+ .aidev-markdown-preview .toastui-editor-contents pre::-webkit-scrollbar, .toastui-editor .toastui-editor-contents pre::-webkit-scrollbar, .toastui-editor-md-preview .toastui-editor-contents pre::-webkit-scrollbar {
13
+ width: 6px;
14
+ height: 6px;
15
+ }
16
+
17
+ .aidev-markdown-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb, .toastui-editor .toastui-editor-contents pre::-webkit-scrollbar-thumb, .toastui-editor-md-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb {
18
+ width: 6px;
19
+ height: 6px;
20
+ border-radius: 3px;
21
+ background-color: #dcdee5;
22
+ }
23
+
24
+ .aidev-markdown-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb:hover, .toastui-editor .toastui-editor-contents pre::-webkit-scrollbar-thumb:hover, .toastui-editor-md-preview .toastui-editor-contents pre::-webkit-scrollbar-thumb:hover {
25
+ background-color: #979ba5;
26
+ }
27
+
28
+ .aidev-markdown-preview .toastui-editor-contents p,
29
+ .aidev-markdown-preview .toastui-editor-contents td,
30
+ .toastui-editor .toastui-editor-contents p,
31
+ .toastui-editor .toastui-editor-contents td,
32
+ .toastui-editor-md-preview .toastui-editor-contents p,
33
+ .toastui-editor-md-preview .toastui-editor-contents td {
34
+ color: #4d4f56;
35
+ }
36
+
37
+ .aidev-markdown-preview .toastui-editor-contents h1, .toastui-editor .toastui-editor-contents h1, .toastui-editor-md-preview .toastui-editor-contents h1 {
38
+ margin: 36px 0 20px;
39
+ border-bottom: 2px solid #eaecef;
40
+ }
41
+
42
+ .aidev-markdown-preview .toastui-editor-contents h2, .toastui-editor .toastui-editor-contents h2, .toastui-editor-md-preview .toastui-editor-contents h2 {
43
+ margin: 32px 0 16px;
44
+ border-bottom: 1px solid #eaecef;
45
+ }
46
+
47
+ .aidev-markdown-preview .toastui-editor-contents h3, .toastui-editor .toastui-editor-contents h3, .toastui-editor-md-preview .toastui-editor-contents h3 {
48
+ margin: 24px 0 12px;
49
+ }
50
+
51
+ .aidev-markdown-preview .toastui-editor-contents h4, .toastui-editor .toastui-editor-contents h4, .toastui-editor-md-preview .toastui-editor-contents h4 {
52
+ margin: 18px 0 8px;
53
+ }
54
+
55
+ .aidev-markdown-preview .toastui-editor-contents h5,
56
+ .aidev-markdown-preview .toastui-editor-contents h6,
57
+ .toastui-editor .toastui-editor-contents h5,
58
+ .toastui-editor .toastui-editor-contents h6,
59
+ .toastui-editor-md-preview .toastui-editor-contents h5,
60
+ .toastui-editor-md-preview .toastui-editor-contents h6 {
61
+ margin: 14px 0 4px;
62
+ }
63
+
64
+ .aidev-markdown-preview .toastui-editor-contents i, .toastui-editor .toastui-editor-contents i, .toastui-editor-md-preview .toastui-editor-contents i {
65
+ font-style: normal;
66
+ }
67
+
68
+ .aidev-markdown-preview .toastui-editor-contents table th, .toastui-editor .toastui-editor-contents table th, .toastui-editor-md-preview .toastui-editor-contents table th {
69
+ background-color: #fff;
70
+ color: #4d4f56;
71
+ font-weight: bold;
72
+ }
73
+
74
+ .aidev-markdown-preview .toastui-editor-contents table tr:nth-of-type(odd), .toastui-editor .toastui-editor-contents table tr:nth-of-type(odd), .toastui-editor-md-preview .toastui-editor-contents table tr:nth-of-type(odd) {
75
+ background-color: #f6f8fa;
76
+ }
77
+
78
+ .aidev-markdown-preview .toastui-editor-contents table tr:nth-of-type(even), .toastui-editor .toastui-editor-contents table tr:nth-of-type(even), .toastui-editor-md-preview .toastui-editor-contents table tr:nth-of-type(even) {
79
+ background-color: #fff;
80
+ }
81
+
82
+ .aidev-markdown-preview .toastui-editor-contents .markdown-code-copy-wrap, .toastui-editor .toastui-editor-contents .markdown-code-copy-wrap, .toastui-editor-md-preview .toastui-editor-contents .markdown-code-copy-wrap {
83
+ position: relative;
84
+ }
85
+
86
+ .aidev-markdown-preview .toastui-editor-contents .markdown-code-copy-button, .toastui-editor .toastui-editor-contents .markdown-code-copy-button, .toastui-editor-md-preview .toastui-editor-contents .markdown-code-copy-button {
87
+ position: sticky;
88
+ top: -16px;
89
+ float: right;
90
+ margin: -25px -12px 0 0;
91
+ font-size: 14px;
92
+ color: #979ba5;
93
+ cursor: pointer;
94
+ user-select: none;
95
+ }
96
+
97
+ .aidev-markdown-preview .toastui-editor-contents .markdown-code-copy-button:hover, .toastui-editor .toastui-editor-contents .markdown-code-copy-button:hover, .toastui-editor-md-preview .toastui-editor-contents .markdown-code-copy-button:hover {
98
+ color: #3a84ff;
99
+ }
@@ -1,4 +1,4 @@
1
1
 
2
- .permission-popover {
2
+ .permission-popover {
3
3
  padding: 7px 14px !important;
4
- }
4
+ }
@@ -1,7 +1,7 @@
1
1
 
2
- .resource-card-description[data-v-h5ktmycf] {
3
- color: #4D4F56;
4
- height: 120px;
5
- white-space: pre-wrap;
2
+ .resource-card-description[data-v-mhxw7fjx] {
3
+ color: #4D4F56;
4
+ height: 120px;
5
+ white-space: pre-wrap;
6
6
  word-break: break-all;
7
- }
7
+ }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-h5ktmycf";
2
+ script.__scopeId = "data-v-mhxw7fjx";
3
3
  script.__file = "./src/components/render-prompt/content/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,8 +1,8 @@
1
1
 
2
- .reference-table[data-v-ysvq24xd]{
2
+ .reference-table[data-v-8q4s3s9j]{
3
3
  padding: 18px 24px;
4
4
  }
5
- .bk-radio-button[data-v-ysvq24xd]{
6
- flex: 1;
5
+ .bk-radio-button[data-v-8q4s3s9j]{
6
+ flex: 1;
7
7
  text-align: center;
8
- }
8
+ }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js';
2
- script.__scopeId = "data-v-ysvq24xd";
2
+ script.__scopeId = "data-v-8q4s3s9j";
3
3
  script.__file = "./src/components/render-reference/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,11 +1,11 @@
1
1
 
2
- .resource-version[data-v-agwt94ue] {
3
- border-radius: 2px;
4
- text-align: left;
5
- color: #4D4F56;
6
- background-color: #F0F1F5;
2
+ .resource-version[data-v-m1ajtmgv] {
3
+ border-radius: 2px;
4
+ text-align: left;
5
+ color: #4D4F56;
6
+ background-color: #F0F1F5;
7
7
  white-space: nowrap;
8
8
  }
9
- .resource-version .bkaidev-rizhifenxi[data-v-agwt94ue] {
9
+ .resource-version .bkaidev-rizhifenxi[data-v-m1ajtmgv] {
10
10
  color: #3A84FF;
11
- }
11
+ }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-agwt94ue";
2
+ script.__scopeId = "data-v-m1ajtmgv";
3
3
  script.__file = "./src/components/render-resource-version/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,21 +1,21 @@
1
1
 
2
- .router-tab[data-v-g6ivrc1o] {
3
- margin-top: 2px;
4
- height: 42px;
5
- background: #FFFFFF;
6
- box-shadow: 0 2px 4px 0 #1919290d;
2
+ .router-tab[data-v-zcabdf5m] {
3
+ margin-top: 2px;
4
+ height: 42px;
5
+ background: #FFFFFF;
6
+ box-shadow: 0 2px 4px 0 #1919290d;
7
7
  padding: 0 24px;
8
8
  }
9
- .router-tab a[data-v-g6ivrc1o] {
10
- padding: 0 8px;
11
- margin-right: 24px;
12
- font-size: 14px;
13
- line-height: 42px;
14
- height: 42px;
15
- color: #4D4F56;
9
+ .router-tab a[data-v-zcabdf5m] {
10
+ padding: 0 8px;
11
+ margin-right: 24px;
12
+ font-size: 14px;
13
+ line-height: 42px;
14
+ height: 42px;
15
+ color: #4D4F56;
16
16
  box-sizing: border-box;
17
17
  }
18
- .router-tab a.router-link-exact-active[data-v-g6ivrc1o] {
19
- color: #3A84FF;
18
+ .router-tab a.router-link-exact-active[data-v-zcabdf5m] {
19
+ color: #3A84FF;
20
20
  border-bottom: 2px solid #3A84FF;
21
- }
21
+ }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-g6ivrc1o";
2
+ script.__scopeId = "data-v-zcabdf5m";
3
3
  script.__file = "./src/components/render-router-tab/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -48,12 +48,13 @@ export default /*@__PURE__*/ _defineComponent({
48
48
  "type",
49
49
  "description"
50
50
  ]),
51
+ _cache[1] || (_cache[1] = _createTextVNode()),
51
52
  !_unref(isEmpty)(props.search) ? (_openBlock(), _createElementBlock("div", _hoisted_2, [
52
- _cache[0] || (_cache[0] = _createTextVNode(" 可以尝试调整筛选条件或 ", -1 /* CACHED */ )),
53
+ _cache[0] || (_cache[0] = _createTextVNode("\r\n 可以尝试调整筛选条件或\r\n ", -1 /* CACHED */ )),
53
54
  _createElementVNode("button", {
54
55
  class: "g-text-blue !g-cursor-pointer g-ml-4",
55
56
  onClick: handleClearSearch
56
- }, " 清空筛选条件 ")
57
+ }, "\r\n 清空筛选条件\r\n ")
57
58
  ])) : _createCommentVNode("v-if", true)
58
59
  ]);
59
60
  };
@@ -13,7 +13,7 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
13
13
  slots: {};
14
14
  emit: (e: "update:search", data: T) => void;
15
15
  }>) => import("vue").VNode & {
16
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
16
+ __ctx?: Awaited<typeof __VLS_setup>;
17
17
  };
18
18
  declare const _default: typeof __VLS_export;
19
19
  export default _default;
@@ -29,7 +29,7 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
29
29
  slots: {};
30
30
  emit: (event: "update:modelValue", value: T) => void;
31
31
  }>) => import("vue").VNode & {
32
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
32
+ __ctx?: Awaited<typeof __VLS_setup>;
33
33
  };
34
34
  declare const _default: typeof __VLS_export;
35
35
  export default _default;
@@ -1,17 +1,17 @@
1
1
 
2
- .select-plus-extension[data-v-gdfzb21h] {
3
- cursor: pointer;
4
- width: 100%;
5
- display: flex;
6
- justify-content: center;
7
- align-items: center;
8
- font-size: 12px;
2
+ .select-plus-extension[data-v-nn1rjffr] {
3
+ cursor: pointer;
4
+ width: 100%;
5
+ display: flex;
6
+ justify-content: center;
7
+ align-items: center;
8
+ font-size: 12px;
9
9
  line-height: 20px;
10
10
  }
11
- .select-plus-extension .ai-ui-sdk-icon[data-v-gdfzb21h] {
12
- font-size: 14px;
11
+ .select-plus-extension .ai-ui-sdk-icon[data-v-nn1rjffr] {
12
+ font-size: 14px;
13
13
  margin-right: 6px;
14
14
  }
15
- .select-plus-extension[data-v-gdfzb21h]:hover {
15
+ .select-plus-extension[data-v-nn1rjffr]:hover {
16
16
  color: #3A84FF;
17
- }
17
+ }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-gdfzb21h";
2
+ script.__scopeId = "data-v-nn1rjffr";
3
3
  script.__file = "./src/components/render-select-plus-extension/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,13 +1,23 @@
1
+ var __rest = this && this.__rest || function(s, e) {
2
+ var t = {};
3
+ for(var p in s)if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
4
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for(var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++){
5
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
6
+ }
7
+ return t;
8
+ };
1
9
  import { defineComponent as _defineComponent, Fragment as _Fragment, createVNode as _createVNode2, createTextVNode as _createTextVNode2 } from 'vue';
2
10
  import { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, unref as _unref, mergeProps as _mergeProps, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, createElementBlock as _createElementBlock } from "vue";
3
11
  const _hoisted_1 = {
4
12
  class: "t-table-row-height"
5
13
  };
6
14
  import { Funnel } from 'bkui-vue/lib/icon';
7
- import { ref, watch } from 'vue';
15
+ import { ref, useAttrs, watch } from 'vue';
8
16
  import RenderSearchEmpty from '../render-search-empty/index.vue.js';
9
17
  import { isEmpty, isObject } from '../../util.ts.js';
10
- export default /*@__PURE__*/ _defineComponent({
18
+ export default /*@__PURE__*/ _defineComponent(Object.assign({
19
+ inheritAttrs: false
20
+ }, {
11
21
  props: {
12
22
  columns: {},
13
23
  isLoading: {
@@ -44,8 +54,15 @@ export default /*@__PURE__*/ _defineComponent({
44
54
  setup (__props, { emit: __emit }) {
45
55
  const props = __props;
46
56
  const emits = __emit;
57
+ const attrs = useAttrs();
47
58
  const rowHeight = ref();
48
59
  const columnControllerVisible = ref(false);
60
+ const getTableAttrs = ()=>{
61
+ const _a = attrs, { class: _class } = _a, rest = __rest(_a, [
62
+ "class"
63
+ ]);
64
+ return rest;
65
+ };
49
66
  const getMaxHeight = ()=>{
50
67
  return props.pagination ? 'calc(100% - 48px)' : '100%';
51
68
  };
@@ -206,11 +223,12 @@ export default /*@__PURE__*/ _defineComponent({
206
223
  const _component_t_enhanced_table = _resolveComponent("t-enhanced-table");
207
224
  const _component_bk_pagination = _resolveComponent("bk-pagination");
208
225
  return _openBlock(), _createElementBlock("section", {
226
+ class: _normalizeClass(_ctx.$attrs.class),
209
227
  style: _normalizeStyle({
210
228
  height: __props.height
211
229
  })
212
230
  }, [
213
- _createVNode(_component_t_enhanced_table, _mergeProps(_ctx.$attrs, {
231
+ _createVNode(_component_t_enhanced_table, _mergeProps(getTableAttrs(), {
214
232
  "column-controller-visible": columnControllerVisible.value,
215
233
  "onUpdate:columnControllerVisible": _cache[1] || (_cache[1] = ($event)=>columnControllerVisible.value = $event),
216
234
  "filter-value": {},
@@ -219,13 +237,13 @@ export default /*@__PURE__*/ _defineComponent({
219
237
  "row-key": __props.rowKey,
220
238
  "header-affixed-top": !!((_a = __props.tableData) === null || _a === void 0 ? void 0 : _a.length),
221
239
  "display-columns": displayColumns.value,
222
- class: `t-t-table ${_ctx.$attrs.class}`,
223
240
  data: __props.tableData,
224
241
  "column-controller": getColumnControllerConfig(),
225
242
  columns: getSettingColumns(),
226
243
  "row-class-name": getRowClassName,
227
244
  "expand-icon": false,
228
245
  resizable: true,
246
+ class: "t-t-table",
229
247
  "cell-empty-content": "--",
230
248
  onSortChange: handleSortChange,
231
249
  onFilterChange: handleFilterChange,
@@ -237,7 +255,7 @@ export default /*@__PURE__*/ _defineComponent({
237
255
  }), {
238
256
  columnControllerBottomContent: _withCtx(()=>[
239
257
  _createElementVNode("section", _hoisted_1, [
240
- _cache[5] || (_cache[5] = _createTextVNode(" 表格行高: ", -1 /* CACHED */ )),
258
+ _cache[7] || (_cache[7] = _createTextVNode("\r\n 表格行高:\r\n ", -1 /* CACHED */ )),
241
259
  _createVNode(_component_bk_radio_group, {
242
260
  modelValue: rowHeight.value,
243
261
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event)=>rowHeight.value = $event)
@@ -248,27 +266,29 @@ export default /*@__PURE__*/ _defineComponent({
248
266
  }, {
249
267
  default: _withCtx(()=>[
250
268
  ..._cache[2] || (_cache[2] = [
251
- _createTextVNode("", -1 /* CACHED */ )
269
+ _createTextVNode("\r\n 小\r\n ", -1 /* CACHED */ )
252
270
  ])
253
271
  ]),
254
272
  _: 1 /* STABLE */
255
273
  }),
274
+ _cache[5] || (_cache[5] = _createTextVNode()),
256
275
  _createVNode(_component_bk_radio_button, {
257
276
  label: "g-h-60"
258
277
  }, {
259
278
  default: _withCtx(()=>[
260
279
  ..._cache[3] || (_cache[3] = [
261
- _createTextVNode("", -1 /* CACHED */ )
280
+ _createTextVNode("\r\n 中\r\n ", -1 /* CACHED */ )
262
281
  ])
263
282
  ]),
264
283
  _: 1 /* STABLE */
265
284
  }),
285
+ _cache[6] || (_cache[6] = _createTextVNode()),
266
286
  _createVNode(_component_bk_radio_button, {
267
287
  label: "g-h-78"
268
288
  }, {
269
289
  default: _withCtx(()=>[
270
290
  ..._cache[4] || (_cache[4] = [
271
- _createTextVNode("", -1 /* CACHED */ )
291
+ _createTextVNode("\r\n 大\r\n ", -1 /* CACHED */ )
272
292
  ])
273
293
  ]),
274
294
  _: 1 /* STABLE */
@@ -295,7 +315,7 @@ export default /*@__PURE__*/ _defineComponent({
295
315
  }, undefined, true)
296
316
  ]),
297
317
  sortIcon: _withCtx(()=>[
298
- ..._cache[6] || (_cache[6] = [
318
+ ..._cache[8] || (_cache[8] = [
299
319
  _createElementVNode("i", {
300
320
  class: "ai-ui-sdk-icon ai-ui-sdk-angle-up-fill-3 g-text-light-gray"
301
321
  }, null, -1 /* CACHED */ )
@@ -319,11 +339,11 @@ export default /*@__PURE__*/ _defineComponent({
319
339
  "row-key",
320
340
  "header-affixed-top",
321
341
  "display-columns",
322
- "class",
323
342
  "data",
324
343
  "column-controller",
325
344
  "columns"
326
345
  ]),
346
+ _cache[14] || (_cache[14] = _createTextVNode()),
327
347
  __props.pagination ? (_openBlock(), _createBlock(_component_bk_pagination, {
328
348
  key: 0,
329
349
  class: _normalizeClass({
@@ -345,7 +365,7 @@ export default /*@__PURE__*/ _defineComponent({
345
365
  "limit",
346
366
  "layout"
347
367
  ])) : _createCommentVNode("v-if", true)
348
- ], 4 /* STYLE */ );
368
+ ], 6 /* CLASS, STYLE */ );
349
369
  };
350
370
  }
351
- });
371
+ }));