@blueking/ai-ui-sdk 0.3.0-beta.28 → 0.3.0-beta.29
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.
- package/dist/components/render-agent/agent-type.vue.css +3 -3
- package/dist/components/render-agent/agent-type.vue.js +1 -1
- package/dist/components/render-auth/auth-dialog.script.vue.js.js +1 -1
- package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
- package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
- package/dist/components/render-auto-refresh/index.vue.css +8 -8
- package/dist/components/render-auto-refresh/index.vue.js +1 -1
- package/dist/components/render-card/agent/actions.script.vue.js.js +1 -1
- package/dist/components/render-card/agent/prefix-info-tool.vue.css +5 -5
- package/dist/components/render-card/agent/prefix-info-tool.vue.js +1 -1
- package/dist/components/render-card/base/application-base-actions.script.vue.js.js +1 -1
- package/dist/components/render-card/base.vue.css +12 -12
- package/dist/components/render-card/base.vue.js +1 -1
- package/dist/components/render-card/llm/actions.script.vue.js.js +2 -2
- package/dist/components/render-card/llm/corner-badge.vue.css +3 -3
- package/dist/components/render-card/llm/corner-badge.vue.js +1 -1
- package/dist/components/render-card/llm/icons.vue.css +2 -2
- package/dist/components/render-card/llm/icons.vue.js +1 -1
- package/dist/components/render-card/llm/info.vue.css +1 -1
- package/dist/components/render-card/llm/info.vue.js +1 -1
- package/dist/components/render-card/llm/tag-prefix.vue.css +3 -3
- package/dist/components/render-card/llm/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/mcp/name-suffix.vue.css +2 -2
- package/dist/components/render-card/mcp/name-suffix.vue.js +1 -1
- package/dist/components/render-card/prompt/icons.vue.css +1 -1
- package/dist/components/render-card/prompt/icons.vue.js +1 -1
- package/dist/components/render-card/skill/tag-prefix.vue.css +3 -3
- package/dist/components/render-card/skill/tag-prefix.vue.js +1 -1
- package/dist/components/render-checkbox/index.vue.css +9 -9
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.vue.css +7 -7
- package/dist/components/render-choose-tag/index.vue.js +1 -1
- package/dist/components/render-collapse/index.vue.css +2 -2
- package/dist/components/render-collapse/index.vue.js +1 -1
- package/dist/components/render-collection/content/index.vue.css +4 -4
- package/dist/components/render-collection/content/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.css +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.css +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.js +1 -1
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
- package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/index.vue.css +2 -2
- package/dist/components/render-dataset-list/index.vue.js +1 -1
- package/dist/components/render-dialog/choose-resource.vue.css +3 -3
- package/dist/components/render-dialog/choose-resource.vue.js +1 -1
- package/dist/components/render-dialog/choose-result.vue.css +14 -14
- package/dist/components/render-dialog/choose-result.vue.js +1 -1
- package/dist/components/render-dialog/choose-space.vue.css +9 -9
- package/dist/components/render-dialog/choose-space.vue.js +1 -1
- package/dist/components/render-dialog/index.vue.css +6 -6
- package/dist/components/render-dialog/index.vue.js +1 -1
- package/dist/components/render-file-card/index.vue.css +11 -11
- package/dist/components/render-file-card/index.vue.js +1 -1
- package/dist/components/render-file-type-icon/index.vue.css +6 -6
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-generate-tag/index.vue.css +5 -5
- package/dist/components/render-generate-tag/index.vue.js +1 -1
- package/dist/components/render-header/index.vue.css +3 -3
- package/dist/components/render-header/index.vue.js +1 -1
- package/dist/components/render-knowledge/icon/index.vue.css +1 -1
- package/dist/components/render-knowledge/icon/index.vue.js +1 -1
- package/dist/components/render-like/index.vue.css +5 -5
- package/dist/components/render-like/index.vue.js +1 -1
- package/dist/components/render-mcp/install/index.script.vue.js.js +1 -1
- package/dist/components/render-prompt/content/index.vue.css +1 -1
- package/dist/components/render-prompt/content/index.vue.js +1 -1
- package/dist/components/render-reference/index.vue.css +2 -2
- package/dist/components/render-reference/index.vue.js +1 -1
- package/dist/components/render-relate-agent/index.script.vue.js.js +22 -9
- package/dist/components/render-relate-agent/index.vue.d.ts +1 -1
- package/dist/components/render-resource-version/index.vue.css +2 -2
- package/dist/components/render-resource-version/index.vue.js +1 -1
- package/dist/components/render-router-tab/index.vue.css +3 -3
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/components/render-select-plus-extension/index.vue.css +3 -3
- package/dist/components/render-select-plus-extension/index.vue.js +1 -1
- package/dist/components/render-skill/actions/index.script.vue.js.js +1 -1
- package/dist/components/render-t-table/index.vue.css +27 -27
- package/dist/components/render-t-table/index.vue.js +1 -1
- package/dist/components/render-tag-tree/index.vue.css +7 -7
- package/dist/components/render-tag-tree/index.vue.js +1 -1
- package/dist/components/render-tags/index.vue.css +6 -6
- package/dist/components/render-tags/index.vue.js +1 -1
- package/dist/hooks/use-dataset-http.ts.js +2 -2
- package/dist/hooks/use-space-http.d.ts +2 -3
- package/dist/hooks/use-space-http.ts.js +2 -5
- package/dist/http/helper/space.d.ts +7 -1
- package/dist/http/helper/space.ts.js +9 -0
- package/dist/types/navigate.d.ts +1 -0
- package/dist/types/space.d.ts +11 -1
- package/package.json +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
.ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-
|
|
2
|
+
.ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-9ngvgqbu] {
|
|
3
3
|
color: #EA3636;
|
|
4
4
|
}
|
|
5
|
-
.ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-
|
|
5
|
+
.ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-9ngvgqbu], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-9ngvgqbu], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-9ngvgqbu] {
|
|
6
6
|
color: #3A84FF;
|
|
7
7
|
}
|
|
8
|
-
.ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-
|
|
8
|
+
.ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-9ngvgqbu] {
|
|
9
9
|
color: #C4C6CC;
|
|
10
10
|
}
|
|
11
|
-
.ai-ui-sdk-icon.ai-ui-sdk-archive-line[data-v-
|
|
11
|
+
.ai-ui-sdk-icon.ai-ui-sdk-archive-line[data-v-9ngvgqbu] {
|
|
12
12
|
color: #979BA5;
|
|
13
13
|
}
|
|
14
|
-
.ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-
|
|
14
|
+
.ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-9ngvgqbu] {
|
|
15
15
|
color: #2DCB56;
|
|
16
16
|
}
|
|
17
|
-
.ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-
|
|
17
|
+
.ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-9ngvgqbu] {
|
|
18
18
|
color: #14A568;
|
|
19
19
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
.generate-type-tag[data-v-
|
|
2
|
+
.generate-type-tag[data-v-aqm36qvy] {
|
|
3
3
|
border-radius: 2px;
|
|
4
4
|
text-align: left;
|
|
5
5
|
white-space: nowrap;
|
|
6
6
|
}
|
|
7
|
-
.generate-type-tag.public[data-v-
|
|
7
|
+
.generate-type-tag.public[data-v-aqm36qvy] {
|
|
8
8
|
color: #2CAF5E;
|
|
9
9
|
background-color: #DAF6E5;
|
|
10
10
|
}
|
|
11
|
-
.generate-type-tag.public[data-v-
|
|
11
|
+
.generate-type-tag.public[data-v-aqm36qvy]:hover {
|
|
12
12
|
color: #299E56;
|
|
13
13
|
background-color: #CBF0DA;
|
|
14
14
|
}
|
|
15
|
-
.generate-type-tag.space[data-v-
|
|
15
|
+
.generate-type-tag.space[data-v-aqm36qvy] {
|
|
16
16
|
color: #45A0A5;
|
|
17
17
|
background-color: #D8F4F5;
|
|
18
18
|
}
|
|
19
|
-
.generate-type-tag.space[data-v-
|
|
19
|
+
.generate-type-tag.space[data-v-aqm36qvy]:hover {
|
|
20
20
|
color: #388A8E;
|
|
21
21
|
background-color: #B6E7E9;
|
|
22
22
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
.header-home[data-v-
|
|
2
|
+
.header-home[data-v-8qsvjoq1] {
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: #FFFFFF;
|
|
5
5
|
box-shadow: 0 3px 4px 0 #0000000a;
|
|
6
6
|
}
|
|
7
|
-
.render-tab[data-v-
|
|
7
|
+
.render-tab[data-v-8qsvjoq1] {
|
|
8
8
|
border-bottom: 2px solid transparent;
|
|
9
9
|
}
|
|
10
|
-
.render-tab.active[data-v-
|
|
10
|
+
.render-tab.active[data-v-8qsvjoq1] {
|
|
11
11
|
color: #3A84FF;
|
|
12
12
|
border-bottom: 2px solid #3A84FF;
|
|
13
13
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
.dislike-icon[data-v-
|
|
2
|
+
.dislike-icon[data-v-hftc4sar] {
|
|
3
3
|
transform: rotateX(180deg);
|
|
4
4
|
}
|
|
5
|
-
.option-items[data-v-
|
|
5
|
+
.option-items[data-v-hftc4sar] {
|
|
6
6
|
padding: 1px 8px;
|
|
7
7
|
background-color: #F0F1F5;
|
|
8
8
|
line-height: 22px;
|
|
9
9
|
border-radius: 2px;
|
|
10
10
|
}
|
|
11
|
-
.option-items[data-v-
|
|
11
|
+
.option-items[data-v-hftc4sar]:hover {
|
|
12
12
|
background-color: #E1ECFF;
|
|
13
13
|
color: #3A84FF;
|
|
14
14
|
}
|
|
15
|
-
.option-items-selected[data-v-
|
|
15
|
+
.option-items-selected[data-v-hftc4sar]{
|
|
16
16
|
background-color: #E1ECFF;
|
|
17
17
|
}
|
|
18
|
-
[data-v-
|
|
18
|
+
[data-v-hftc4sar] .bk-form-item {
|
|
19
19
|
margin-bottom: 17px;
|
|
20
20
|
}
|
|
@@ -40,7 +40,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
40
40
|
name: props.selectedMcp.mcpCode,
|
|
41
41
|
config: base64Config
|
|
42
42
|
});
|
|
43
|
-
window.open(`cursor://anysphere.cursor-deeplink/mcp/install?${params}`, '_blank');
|
|
43
|
+
window.open(`cursor://anysphere.cursor-deeplink/mcp/install?${params}`, '_blank', 'noopener,noreferrer');
|
|
44
44
|
};
|
|
45
45
|
const handleConfirm = ()=>{
|
|
46
46
|
if (selectedInstallTargetType.value === McpInstallTargetType.Cursor) {
|
|
@@ -132,7 +132,14 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
132
132
|
});
|
|
133
133
|
const handleGetSpacesAndSetDefaultSpace = ()=>{
|
|
134
134
|
isLoadingSpaces.value = true;
|
|
135
|
-
|
|
135
|
+
const params = {
|
|
136
|
+
resourceType: props.resourceType,
|
|
137
|
+
resourceId: props.resource.id
|
|
138
|
+
};
|
|
139
|
+
if (props.resourceType === Module.Mcp) {
|
|
140
|
+
params.mcpType = props.resource.mcpType;
|
|
141
|
+
}
|
|
142
|
+
return getResourceAuthorizedSpaces(params).then((data)=>{
|
|
136
143
|
var _data_;
|
|
137
144
|
spaces.value = data;
|
|
138
145
|
formData.value.selectedSpaceId = (_data_ = data[0]) === null || _data_ === void 0 ? void 0 : _data_.spaceId;
|
|
@@ -189,12 +196,17 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
189
196
|
const handleClickOutside = ()=>{
|
|
190
197
|
handleClose();
|
|
191
198
|
};
|
|
192
|
-
const handleShow = ()
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
199
|
+
const handleShow = function() {
|
|
200
|
+
var _ref = _async_to_generator(function*() {
|
|
201
|
+
if (isShowPopover.value) return;
|
|
202
|
+
isShowPopover.value = true;
|
|
203
|
+
yield handleGetSpacesAndSetDefaultSpace();
|
|
204
|
+
handleGetAgentsAndSetDefaultAgent();
|
|
205
|
+
});
|
|
206
|
+
return function handleShow() {
|
|
207
|
+
return _ref.apply(this, arguments);
|
|
208
|
+
};
|
|
209
|
+
}();
|
|
198
210
|
const handleRelateAgentToAgent = function() {
|
|
199
211
|
var _ref = _async_to_generator(function*(selectedAgent) {
|
|
200
212
|
var _selectedAgent_relatedAgents_agents, _selectedAgent_relatedAgents, _selectedAgent_relatedAgents1;
|
|
@@ -320,12 +332,13 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
320
332
|
[Module.Knowledgebase]: handleRelateKnowledgebaseToAgent
|
|
321
333
|
};
|
|
322
334
|
yield (_relateMap_props_resourceType = relateMap[props.resourceType]) === null || _relateMap_props_resourceType === void 0 ? void 0 : _relateMap_props_resourceType.call(relateMap, selectedAgent);
|
|
323
|
-
handleClose();
|
|
324
335
|
emits('navigate', {
|
|
325
336
|
type: SdkNavigateActionType.AgentDetailSetting,
|
|
326
337
|
id: formData.value.selectedAgentId,
|
|
327
|
-
spaceId: formData.value.selectedSpaceId
|
|
338
|
+
spaceId: formData.value.selectedSpaceId,
|
|
339
|
+
isNewTab: true
|
|
328
340
|
});
|
|
341
|
+
handleClose();
|
|
329
342
|
});
|
|
330
343
|
return function handleBindAndNavigate(selectedAgent) {
|
|
331
344
|
return _ref.apply(this, arguments);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.resource-version[data-v-
|
|
2
|
+
.resource-version[data-v-ntawcpas] {
|
|
3
3
|
border-radius: 2px;
|
|
4
4
|
text-align: left;
|
|
5
5
|
color: #4D4F56;
|
|
6
6
|
background-color: #F0F1F5;
|
|
7
7
|
white-space: nowrap;
|
|
8
8
|
}
|
|
9
|
-
.resource-version .bkaidev-rizhifenxi[data-v-
|
|
9
|
+
.resource-version .bkaidev-rizhifenxi[data-v-ntawcpas] {
|
|
10
10
|
color: #3A84FF;
|
|
11
11
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.router-tab[data-v-
|
|
2
|
+
.router-tab[data-v-e1x1ixtz] {
|
|
3
3
|
margin-top: 2px;
|
|
4
4
|
height: 42px;
|
|
5
5
|
background: #FFFFFF;
|
|
6
6
|
box-shadow: 0 2px 4px 0 #1919290d;
|
|
7
7
|
padding: 0 24px;
|
|
8
8
|
}
|
|
9
|
-
.router-tab a[data-v-
|
|
9
|
+
.router-tab a[data-v-e1x1ixtz] {
|
|
10
10
|
padding: 0 8px;
|
|
11
11
|
margin-right: 24px;
|
|
12
12
|
font-size: 14px;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
color: #4D4F56;
|
|
16
16
|
box-sizing: border-box;
|
|
17
17
|
}
|
|
18
|
-
.router-tab a.router-link-exact-active[data-v-
|
|
18
|
+
.router-tab a.router-link-exact-active[data-v-e1x1ixtz] {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.select-plus-extension[data-v-
|
|
2
|
+
.select-plus-extension[data-v-wvkxoieo] {
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
width: 100%;
|
|
5
5
|
display: flex;
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
font-size: 12px;
|
|
9
9
|
line-height: 20px;
|
|
10
10
|
}
|
|
11
|
-
.select-plus-extension .ai-ui-sdk-icon[data-v-
|
|
11
|
+
.select-plus-extension .ai-ui-sdk-icon[data-v-wvkxoieo] {
|
|
12
12
|
font-size: 14px;
|
|
13
13
|
margin-right: 6px;
|
|
14
14
|
}
|
|
15
|
-
.select-plus-extension[data-v-
|
|
15
|
+
.select-plus-extension[data-v-wvkxoieo]:hover {
|
|
16
16
|
color: #3A84FF;
|
|
17
17
|
}
|
|
@@ -108,7 +108,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
108
108
|
const executeSkillApiCall = (apiCall)=>{
|
|
109
109
|
isDownloadingSkill.value = true;
|
|
110
110
|
apiCall.then((res)=>{
|
|
111
|
-
window.open(res.url, '_blank');
|
|
111
|
+
window.open(res.url, '_blank', 'noopener,noreferrer');
|
|
112
112
|
emits('success-download', res.downloadCount);
|
|
113
113
|
}).finally(()=>{
|
|
114
114
|
isDownloadingSkill.value = false;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.t-t-pagination[data-v-
|
|
2
|
+
.t-t-pagination[data-v-jpkrsz61] {
|
|
3
3
|
position: relative;
|
|
4
4
|
padding: 16px 16px 0 16px;
|
|
5
5
|
}
|
|
6
|
-
.t-t-pagination[data-v-
|
|
6
|
+
.t-t-pagination[data-v-jpkrsz61] .bk-pagination-list.is-last {
|
|
7
7
|
margin-left: auto;
|
|
8
8
|
}
|
|
9
|
-
.pagination-loading[data-v-
|
|
9
|
+
.pagination-loading[data-v-jpkrsz61]::after {
|
|
10
10
|
content: '';
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: 0;
|
|
@@ -16,93 +16,93 @@
|
|
|
16
16
|
background-color: rgba(255, 255, 255, 0.6);
|
|
17
17
|
z-index: 72;
|
|
18
18
|
}
|
|
19
|
-
.pagination-border[data-v-
|
|
19
|
+
.pagination-border[data-v-jpkrsz61] {
|
|
20
20
|
border-right: 1px solid #dcdee5;
|
|
21
21
|
border-left: 1px solid #dcdee5;
|
|
22
22
|
border-bottom: 1px solid #dcdee5;
|
|
23
23
|
padding-bottom: 16px;
|
|
24
24
|
}
|
|
25
|
-
.t-t-table[data-v-
|
|
25
|
+
.t-t-table[data-v-jpkrsz61] {
|
|
26
26
|
display: inline;
|
|
27
27
|
font-size: 12px;
|
|
28
28
|
}
|
|
29
|
-
.t-t-table[data-v-
|
|
29
|
+
.t-t-table[data-v-jpkrsz61] .t-table__th-cell-inner {
|
|
30
30
|
color: #313238;
|
|
31
31
|
}
|
|
32
|
-
.t-t-table[data-v-
|
|
32
|
+
.t-t-table[data-v-jpkrsz61] th {
|
|
33
33
|
padding: 0 16px;
|
|
34
34
|
height: 42px;
|
|
35
35
|
background-color: #FAFBFD !important;
|
|
36
36
|
}
|
|
37
|
-
.t-t-table[data-v-
|
|
37
|
+
.t-t-table[data-v-jpkrsz61] .t-table__body tr {
|
|
38
38
|
color: #63656e;
|
|
39
39
|
font-size: 12px;
|
|
40
40
|
}
|
|
41
|
-
.t-t-table[data-v-
|
|
41
|
+
.t-t-table[data-v-jpkrsz61] .t-table__body tr td {
|
|
42
42
|
padding: 0 16px;
|
|
43
43
|
height: 40px;
|
|
44
44
|
background-color: #fff;
|
|
45
45
|
}
|
|
46
|
-
.t-t-table[data-v-
|
|
46
|
+
.t-t-table[data-v-jpkrsz61] .t-table__body tr:hover td {
|
|
47
47
|
background-color: #f5f7fa !important;
|
|
48
48
|
color: #63656E;
|
|
49
49
|
}
|
|
50
|
-
.t-t-table[data-v-
|
|
50
|
+
.t-t-table[data-v-jpkrsz61] .t-table__content .t-table__body .t-table__empty-row {
|
|
51
51
|
background-color: #fff !important;
|
|
52
52
|
}
|
|
53
|
-
.t-t-table[data-v-
|
|
53
|
+
.t-t-table[data-v-jpkrsz61] .t-table__content .t-table__body .t-table__empty-row >td {
|
|
54
54
|
border: none;
|
|
55
55
|
}
|
|
56
|
-
.t-t-table[data-v-
|
|
56
|
+
.t-t-table[data-v-jpkrsz61] th .t-table__ellipsis {
|
|
57
57
|
width: auto !important;
|
|
58
58
|
}
|
|
59
|
-
.t-t-table[data-v-
|
|
59
|
+
.t-t-table[data-v-jpkrsz61] .t-loading__gradient.t-icon-loading {
|
|
60
60
|
display: none;
|
|
61
61
|
}
|
|
62
|
-
.t-t-table[data-v-
|
|
62
|
+
.t-t-table[data-v-jpkrsz61]:first-of-type .t-table__affixed-header-elm-wrap{
|
|
63
63
|
width: calc(100% - 6px) !important;
|
|
64
64
|
}
|
|
65
|
-
.t-t-table[data-v-
|
|
65
|
+
.t-t-table[data-v-jpkrsz61] .t-table__affixed-header-elm-wrap>div {
|
|
66
66
|
width: 100% !important;
|
|
67
67
|
scrollbar-width: none;
|
|
68
68
|
}
|
|
69
|
-
.t-t-table[data-v-
|
|
69
|
+
.t-t-table[data-v-jpkrsz61] .t-table--layout-fixed{
|
|
70
70
|
width: 100% !important;
|
|
71
71
|
}
|
|
72
|
-
.t-t-table[data-v-
|
|
72
|
+
.t-t-table[data-v-jpkrsz61] .bk-exception-description{
|
|
73
73
|
margin-bottom: 0;
|
|
74
74
|
}
|
|
75
|
-
.t-t-table[data-v-
|
|
75
|
+
.t-t-table[data-v-jpkrsz61] .t-table__content{
|
|
76
76
|
z-index: 2;
|
|
77
77
|
max-height: 100%;
|
|
78
78
|
overflow: auto;
|
|
79
79
|
}
|
|
80
|
-
.t-t-table[data-v-
|
|
80
|
+
.t-t-table[data-v-jpkrsz61] .t-table__content::-webkit-scrollbar {
|
|
81
81
|
width: 6px;
|
|
82
82
|
height: 6px;
|
|
83
83
|
}
|
|
84
|
-
.t-t-table[data-v-
|
|
84
|
+
.t-t-table[data-v-jpkrsz61] .t-table__content::-webkit-scrollbar-thumb {
|
|
85
85
|
width: 6px;
|
|
86
86
|
height: 6px;
|
|
87
87
|
border-radius: 3px;
|
|
88
88
|
background-color: #dcdee5;
|
|
89
89
|
}
|
|
90
|
-
.t-t-table[data-v-
|
|
90
|
+
.t-t-table[data-v-jpkrsz61] .t-table__content::-webkit-scrollbar-thumb:hover {
|
|
91
91
|
background-color: #979ba5;
|
|
92
92
|
}
|
|
93
|
-
.t-t-table[data-v-
|
|
93
|
+
.t-t-table[data-v-jpkrsz61] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
|
|
94
94
|
line-height: 100%;
|
|
95
95
|
}
|
|
96
|
-
.t-t-table[data-v-
|
|
96
|
+
.t-t-table[data-v-jpkrsz61] .t-table__cell--sort-trigger.t-table__double-icons{
|
|
97
97
|
gap: 5px;
|
|
98
98
|
}
|
|
99
|
-
.t-t-table[data-v-
|
|
99
|
+
.t-t-table[data-v-jpkrsz61] .t-table__sort-icon--active>i{
|
|
100
100
|
color: #3a84ff !important;
|
|
101
101
|
}
|
|
102
|
-
.t-t-table[data-v-
|
|
102
|
+
.t-t-table[data-v-jpkrsz61] .t-table__cell--fixed-left:has(.checkbox){
|
|
103
103
|
line-height: 100%;
|
|
104
104
|
}
|
|
105
|
-
.t-t-table[data-v-
|
|
105
|
+
.t-t-table[data-v-jpkrsz61] .t-table__filter-icon.t-is-focus>span{
|
|
106
106
|
color: #3a84ff !important;
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-tree[data-v-
|
|
2
|
+
.tag-tree[data-v-0b7ef4io] {
|
|
3
3
|
font-size: 12px;
|
|
4
4
|
height: auto;
|
|
5
5
|
max-height: calc(100% - 44px);
|
|
6
6
|
}
|
|
7
|
-
.tag-tree .manage-tree-item[data-v-
|
|
7
|
+
.tag-tree .manage-tree-item[data-v-0b7ef4io] {
|
|
8
8
|
height: 32px;
|
|
9
9
|
flex: 1;
|
|
10
10
|
}
|
|
11
|
-
.tag-tree .quick-icon[data-v-
|
|
11
|
+
.tag-tree .quick-icon[data-v-0b7ef4io] {
|
|
12
12
|
margin-left: -24px;
|
|
13
13
|
padding-left: 8px;
|
|
14
14
|
}
|
|
15
|
-
.tag-tree[data-v-
|
|
15
|
+
.tag-tree[data-v-0b7ef4io] .tree-item:has(.bottom-line) {
|
|
16
16
|
border-bottom: 1px solid #F0F1F5;
|
|
17
17
|
}
|
|
18
|
-
.tag-tree[data-v-
|
|
18
|
+
.tag-tree[data-v-0b7ef4io] .tree-item.active .quick-icon {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
}
|
|
21
|
-
.tag-tree[data-v-
|
|
21
|
+
.tag-tree[data-v-0b7ef4io] .tree-item.active .tag-number {
|
|
22
22
|
background: #A3C5FD;
|
|
23
23
|
color: #fff;
|
|
24
24
|
}
|
|
25
|
-
.tag-number[data-v-
|
|
25
|
+
.tag-number[data-v-0b7ef4io] {
|
|
26
26
|
line-height: 16px;
|
|
27
27
|
padding: 0 4px;
|
|
28
28
|
background-color: #F0F1F5;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-container[data-v-
|
|
2
|
+
.tag-container[data-v-ivaupvh9] {
|
|
3
3
|
visibility: hidden;
|
|
4
4
|
white-space: nowrap;
|
|
5
5
|
column-gap: 4px;
|
|
6
6
|
width: calc(100% - 20px);
|
|
7
7
|
}
|
|
8
|
-
.tag-home[data-v-
|
|
8
|
+
.tag-home[data-v-ivaupvh9] {
|
|
9
9
|
vertical-align: sub;
|
|
10
10
|
flex-shrink: 0;
|
|
11
11
|
}
|
|
12
|
-
[is-show="true"][data-v-
|
|
12
|
+
[is-show="true"][data-v-ivaupvh9] {
|
|
13
13
|
visibility: visible;
|
|
14
14
|
}
|
|
15
|
-
[is-show="false"][data-v-
|
|
15
|
+
[is-show="false"][data-v-ivaupvh9] {
|
|
16
16
|
display: none !important;
|
|
17
17
|
}
|
|
18
|
-
.popover-main[data-v-
|
|
18
|
+
.popover-main[data-v-ivaupvh9] {
|
|
19
19
|
padding: 8px 8px 10px;
|
|
20
20
|
}
|
|
21
|
-
.tag-list[data-v-
|
|
21
|
+
.tag-list[data-v-ivaupvh9] {
|
|
22
22
|
border-radius: 2px;
|
|
23
23
|
background: #F0F1F5;
|
|
24
24
|
}
|
|
@@ -107,7 +107,7 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
|
|
|
107
107
|
// 导出数据集
|
|
108
108
|
const exportDataset = (id)=>{
|
|
109
109
|
const url = `${apiPrefix}/${datasetPerfix}/dataset/${id}/export/`;
|
|
110
|
-
window.open(url, '_blank');
|
|
110
|
+
window.open(url, '_blank', 'noopener,noreferrer');
|
|
111
111
|
};
|
|
112
112
|
// 获取数据集 API 指引
|
|
113
113
|
const getDatasetApiGuide = (id)=>fetch.get(`${apiPrefix}/${datasetPerfix}/dataset/${id}/api_guide/`, undefined, {
|
|
@@ -179,7 +179,7 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
|
|
|
179
179
|
// 下载数据集数据模板文件
|
|
180
180
|
const downloadDatasetDataTemplateFile = (id)=>{
|
|
181
181
|
const url = `${apiPrefix}/${datasetPerfix}/dataset/${id}/download/?responseType=arraybuffer`;
|
|
182
|
-
window.open(url, '_blank');
|
|
182
|
+
window.open(url, '_blank', 'noopener,noreferrer');
|
|
183
183
|
};
|
|
184
184
|
// 获取schema列表
|
|
185
185
|
const getSchemaList = (datasetId)=>fetch.get(`${apiPrefix}/${datasetPerfix}/schema/schema_list/`, {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { IFetchConfig } from '@/http/fetch';
|
|
3
|
-
import
|
|
4
|
-
import { IResourcesRemoveApplication, IUsableSpaceParam } from '@/types/space';
|
|
3
|
+
import { IResourceAuthorizedSpacesParam, IResourcesRemoveApplication, IUsableSpaceParam } from '@/types/space';
|
|
5
4
|
export declare const useSpaceHttp: (apiPrefix: string, spaceId?: Ref<string>) => {
|
|
6
|
-
getResourceAuthorizedSpaces: (
|
|
5
|
+
getResourceAuthorizedSpaces: (data: IResourceAuthorizedSpacesParam) => Promise<import("@/types/space").ISpace[]>;
|
|
7
6
|
removeApplyResources: (data: IResourcesRemoveApplication) => Promise<unknown>;
|
|
8
7
|
getUsableSpaces: {
|
|
9
8
|
(data: IUsableSpaceParam, config?: IFetchConfig): Promise<import("@/types/space").IUsableSpace[]>;
|
|
@@ -51,12 +51,9 @@ function _object_spread_props(target, source) {
|
|
|
51
51
|
return target;
|
|
52
52
|
}
|
|
53
53
|
import fetch, { withAbort } from '../http/fetch/index.ts.js';
|
|
54
|
-
import { transferResourcesRemoveApplication2ResourcesRemoveApplicationApi, transferSpaceApi2Space, transferUsableSpaceApi2UsableSpace, transferUsableSpaceParam2UsableSpaceParamApi } from '../http/helper/space.ts.js';
|
|
54
|
+
import { transferResourceAuthorizedSpacesParam2ResourceAuthorizedSpacesParamApi, transferResourcesRemoveApplication2ResourcesRemoveApplicationApi, transferSpaceApi2Space, transferUsableSpaceApi2UsableSpace, transferUsableSpaceParam2UsableSpaceParamApi } from '../http/helper/space.ts.js';
|
|
55
55
|
export const useSpaceHttp = (apiPrefix, spaceId)=>{
|
|
56
|
-
const getResourceAuthorizedSpaces = (
|
|
57
|
-
resource_type: resourceType,
|
|
58
|
-
resource_id: resourceId
|
|
59
|
-
}, {
|
|
56
|
+
const getResourceAuthorizedSpaces = (data)=>fetch.get(`${apiPrefix}/meta/v1/space/authorized_spaces/`, transferResourceAuthorizedSpacesParam2ResourceAuthorizedSpacesParamApi(data), {
|
|
60
57
|
headers: {
|
|
61
58
|
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
62
59
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IResourcesRemoveApplication, ISpace, ISpaceApi, IUsableSpace, IUsableSpaceApi, IUsableSpaceParam, IUsableSpaceParamApi } from '@/types/space';
|
|
1
|
+
import type { IResourceAuthorizedSpacesParam, IResourceAuthorizedSpacesParamApi, IResourcesRemoveApplication, ISpace, ISpaceApi, IUsableSpace, IUsableSpaceApi, IUsableSpaceParam, IUsableSpaceParamApi } from '@/types/space';
|
|
2
2
|
/**
|
|
3
3
|
* ui转换为接口
|
|
4
4
|
* @param data IResourcesRemoveApplication
|
|
@@ -26,3 +26,9 @@ export declare const transferUsableSpaceApi2UsableSpace: (data: IUsableSpaceApi)
|
|
|
26
26
|
* @returns ISpace
|
|
27
27
|
*/
|
|
28
28
|
export declare const transferSpaceApi2Space: (data: ISpaceApi) => ISpace;
|
|
29
|
+
/**
|
|
30
|
+
* ui转换为接口
|
|
31
|
+
* @param data IResourceAuthorizedSpacesParam
|
|
32
|
+
* @returns IResourceAuthorizedSpacesParamApi
|
|
33
|
+
*/
|
|
34
|
+
export declare const transferResourceAuthorizedSpacesParam2ResourceAuthorizedSpacesParamApi: (data: IResourceAuthorizedSpacesParam) => IResourceAuthorizedSpacesParamApi;
|