@blueking/ai-ui-sdk 0.1.12-beta.30 → 0.1.12-beta.32
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-aside/index.vue.css +9 -9
- package/dist/components/render-aside/index.vue.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-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-dataset/components/dataset-data-tool-icons/index.script.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 +2 -2
- package/dist/components/render-dataset/components/plus-dataset/index.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 +2 -2
- 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/index.vue.css +1 -1
- package/dist/components/render-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset-detail/components/header.script.vue.js.js +4 -1
- package/dist/components/render-dataset-detail/components/header.vue.d.ts +3 -1
- package/dist/components/render-dataset-detail/index.script.vue.js.js +11 -4
- package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +12 -9
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.d.ts +2 -0
- package/dist/components/render-dataset-detail-origin-data/index.script.vue.js.js +11 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.d.ts +5 -1
- 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-expand-collapse/index.vue.css +3 -3
- package/dist/components/render-expand-collapse/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 +5 -5
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-header/index.vue.css +5 -5
- package/dist/components/render-header/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/hooks/use-chat.d.ts +0 -2
- package/dist/http/helper/tool.ts.js +0 -2
- package/dist/types/tool.d.ts +1 -3
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.aside-home[data-v-
|
|
2
|
+
.aside-home[data-v-mhia9krm] {
|
|
3
3
|
width: 300px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
background: #FFFFFF;
|
|
6
6
|
padding: 16px;
|
|
7
7
|
border-right: 1px solid #eaebf0;
|
|
8
8
|
}
|
|
9
|
-
[data-v-
|
|
9
|
+
[data-v-mhia9krm] .aside-item {
|
|
10
10
|
width: 268px;
|
|
11
11
|
line-height: 36px;
|
|
12
12
|
border-radius: 2px;
|
|
@@ -16,30 +16,30 @@
|
|
|
16
16
|
justify-content: space-between;
|
|
17
17
|
color: #979BA5;
|
|
18
18
|
}
|
|
19
|
-
[data-v-
|
|
19
|
+
[data-v-mhia9krm] .aside-item.is-tab {
|
|
20
20
|
background: #F5F7FA;
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
color: #4D4F56;
|
|
23
23
|
}
|
|
24
|
-
[data-v-
|
|
24
|
+
[data-v-mhia9krm] .aside-item.is-tab:hover {
|
|
25
25
|
background: #F0F5FF;
|
|
26
26
|
}
|
|
27
|
-
[data-v-
|
|
27
|
+
[data-v-mhia9krm] .aside-item.active {
|
|
28
28
|
background: #F0F5FF;
|
|
29
29
|
color: #3A84FF;
|
|
30
30
|
font-weight: 700;
|
|
31
31
|
}
|
|
32
|
-
[data-v-
|
|
32
|
+
[data-v-mhia9krm] .aside-item.active .tab-num {
|
|
33
33
|
background: #3A84FF;
|
|
34
34
|
color: #fff;
|
|
35
35
|
}
|
|
36
|
-
[data-v-
|
|
36
|
+
[data-v-mhia9krm] .aside-item.active .active-text {
|
|
37
37
|
color: #3A84FF;
|
|
38
38
|
}
|
|
39
|
-
[data-v-
|
|
39
|
+
[data-v-mhia9krm] .aside-item .tab-name {
|
|
40
40
|
flex: 1;
|
|
41
41
|
}
|
|
42
|
-
[data-v-
|
|
42
|
+
[data-v-mhia9krm] .aside-item .tab-num {
|
|
43
43
|
background: #EAEBF0;
|
|
44
44
|
border-radius: 2px;
|
|
45
45
|
margin-left: 5px;
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
|
|
2
|
-
.send-container[data-v-
|
|
2
|
+
.send-container[data-v-yx3iqbwz] {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
5
|
-
.send-container[data-v-
|
|
5
|
+
.send-container[data-v-yx3iqbwz]:has(textarea:focus) {
|
|
6
6
|
z-index: 2;
|
|
7
7
|
}
|
|
8
|
-
.send-container:hover .send-clear[data-v-
|
|
8
|
+
.send-container:hover .send-clear[data-v-yx3iqbwz] {
|
|
9
9
|
display: inline-flex !important;
|
|
10
10
|
}
|
|
11
|
-
.send-input[data-v-
|
|
11
|
+
.send-input[data-v-yx3iqbwz] {
|
|
12
12
|
width: 100%;
|
|
13
13
|
flex-direction: row;
|
|
14
14
|
height: var(--origin-height);
|
|
15
15
|
}
|
|
16
|
-
.send-input[data-v-
|
|
16
|
+
.send-input[data-v-yx3iqbwz]:has(textarea:focus) {
|
|
17
17
|
height: var(--text-height);
|
|
18
18
|
}
|
|
19
|
-
.send-input[data-v-
|
|
19
|
+
.send-input[data-v-yx3iqbwz] textarea {
|
|
20
20
|
font-size: 12px;
|
|
21
21
|
line-height: 16px;
|
|
22
22
|
padding: 7px;
|
|
23
23
|
resize: none !important;
|
|
24
24
|
}
|
|
25
|
-
.send-input[data-v-
|
|
25
|
+
.send-input[data-v-yx3iqbwz] textarea::-webkit-scrollbar {
|
|
26
26
|
width: 4px;
|
|
27
27
|
height: 4px;
|
|
28
28
|
}
|
|
29
|
-
.send-input[data-v-
|
|
29
|
+
.send-input[data-v-yx3iqbwz] textarea::-webkit-scrollbar-thumb {
|
|
30
30
|
height: 5px;
|
|
31
31
|
border-radius: 3px;
|
|
32
32
|
background-color: #dcdee5;
|
|
33
33
|
}
|
|
34
|
-
.send-input[data-v-
|
|
34
|
+
.send-input[data-v-yx3iqbwz] textarea::placeholder {
|
|
35
35
|
line-height: 16px;
|
|
36
36
|
}
|
|
37
|
-
.send-clear[data-v-
|
|
37
|
+
.send-clear[data-v-yx3iqbwz] {
|
|
38
38
|
display: none !important;
|
|
39
39
|
position: absolute;
|
|
40
40
|
right: 10px;
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
font-size: 14px;
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
}
|
|
46
|
-
.send-clear[data-v-
|
|
46
|
+
.send-clear[data-v-yx3iqbwz]:hover {
|
|
47
47
|
color: #313238;
|
|
48
48
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.auto-refresh[data-v-
|
|
2
|
+
.auto-refresh[data-v-74sproha] {
|
|
3
3
|
position: relative;
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
line-height: 26px;
|
|
6
6
|
padding: 0 4px;
|
|
7
7
|
}
|
|
8
|
-
.auto-refresh[data-v-
|
|
8
|
+
.auto-refresh[data-v-74sproha]:after {
|
|
9
9
|
content: '';
|
|
10
10
|
position: absolute;
|
|
11
11
|
top: 5px;
|
|
@@ -15,31 +15,31 @@
|
|
|
15
15
|
background-color: #dcdee5;
|
|
16
16
|
z-index: 1;
|
|
17
17
|
}
|
|
18
|
-
.auto-refresh[data-v-
|
|
18
|
+
.auto-refresh[data-v-74sproha]:hover {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
background-color: #E1ECFF;
|
|
21
21
|
}
|
|
22
|
-
.refresh[data-v-
|
|
22
|
+
.refresh[data-v-74sproha] {
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
line-height: 26px;
|
|
25
25
|
padding: 0 4px;
|
|
26
26
|
}
|
|
27
|
-
.refresh[data-v-
|
|
27
|
+
.refresh[data-v-74sproha]:hover {
|
|
28
28
|
color: #3A84FF;
|
|
29
29
|
background-color: #E1ECFF;
|
|
30
30
|
}
|
|
31
|
-
.textarea-list[data-v-
|
|
31
|
+
.textarea-list[data-v-74sproha] {
|
|
32
32
|
padding: 4px 0;
|
|
33
33
|
line-height: 32px;
|
|
34
34
|
max-height: 300px;
|
|
35
35
|
position: relative;
|
|
36
36
|
z-index: 2;
|
|
37
37
|
}
|
|
38
|
-
.textarea-list .textarea-item[data-v-
|
|
38
|
+
.textarea-list .textarea-item[data-v-74sproha] {
|
|
39
39
|
padding: 0 12px;
|
|
40
40
|
cursor: pointer;
|
|
41
41
|
}
|
|
42
|
-
.textarea-list .textarea-item[data-v-
|
|
42
|
+
.textarea-list .textarea-item[data-v-74sproha]:hover {
|
|
43
43
|
background: #E1ECFF;
|
|
44
44
|
color: #3A84FF;
|
|
45
45
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.checkbox[data-v-
|
|
2
|
+
.checkbox[data-v-rswh4q4f] {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-block;
|
|
5
5
|
width: 16px;
|
|
@@ -8,27 +8,27 @@
|
|
|
8
8
|
border-radius: 2px;
|
|
9
9
|
cursor: pointer;
|
|
10
10
|
}
|
|
11
|
-
.checkbox.disabled[data-v-
|
|
11
|
+
.checkbox.disabled[data-v-rswh4q4f] {
|
|
12
12
|
cursor: not-allowed;
|
|
13
13
|
background: #fafbfd;
|
|
14
14
|
border-color: #dcdee5;
|
|
15
15
|
}
|
|
16
|
-
.checkbox.disabled.checked[data-v-
|
|
16
|
+
.checkbox.disabled.checked[data-v-rswh4q4f] {
|
|
17
17
|
background-color: #a3c5fd;
|
|
18
18
|
border-color: #a3c5fd;
|
|
19
19
|
}
|
|
20
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
20
|
+
.checkbox.disabled.indeterminate[data-v-rswh4q4f] {
|
|
21
21
|
background-color: #fafbfd;
|
|
22
22
|
border-color: #dcdee5;
|
|
23
23
|
}
|
|
24
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
24
|
+
.checkbox.disabled.indeterminate[data-v-rswh4q4f]:after {
|
|
25
25
|
background: #dcdee5;
|
|
26
26
|
}
|
|
27
|
-
.checkbox.checked[data-v-
|
|
27
|
+
.checkbox.checked[data-v-rswh4q4f] {
|
|
28
28
|
background-color: #3a84ff;
|
|
29
29
|
border: 1px solid #3a84ff;
|
|
30
30
|
}
|
|
31
|
-
.checkbox.checked[data-v-
|
|
31
|
+
.checkbox.checked[data-v-rswh4q4f]:after {
|
|
32
32
|
position: absolute;
|
|
33
33
|
top: 50%;
|
|
34
34
|
left: 50%;
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
transform: translate(-50%, -60%) rotate(45deg);
|
|
42
42
|
transform-origin: center;
|
|
43
43
|
}
|
|
44
|
-
.checkbox.indeterminate[data-v-
|
|
44
|
+
.checkbox.indeterminate[data-v-rswh4q4f] {
|
|
45
45
|
background-color: #3a84ff;
|
|
46
46
|
border: 1px solid #3a84ff;
|
|
47
47
|
}
|
|
48
|
-
.checkbox.indeterminate[data-v-
|
|
48
|
+
.checkbox.indeterminate[data-v-rswh4q4f]:after {
|
|
49
49
|
position: absolute;
|
|
50
50
|
top: 50%;
|
|
51
51
|
left: 50%;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
|
|
2
|
-
.plus-tag-input[data-v-
|
|
2
|
+
.plus-tag-input[data-v-f0psqjnw] {
|
|
3
3
|
padding: 7px 12px;
|
|
4
4
|
height: 40px;
|
|
5
5
|
background: #FAFBFD;
|
|
6
6
|
border-top: 1px solid #DCDEE5;
|
|
7
7
|
}
|
|
8
|
-
.plus-tag-input .plus-tag-done[data-v-
|
|
8
|
+
.plus-tag-input .plus-tag-done[data-v-f0psqjnw] {
|
|
9
9
|
cursor: pointer;
|
|
10
10
|
font-size: 22px;
|
|
11
11
|
color: #2DCB56;
|
|
12
12
|
margin: 0 5px 0 10px;
|
|
13
13
|
}
|
|
14
|
-
.plus-tag-input .plus-tag-error[data-v-
|
|
14
|
+
.plus-tag-input .plus-tag-error[data-v-f0psqjnw] {
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
font-size: 16px;
|
|
17
17
|
color: #C4C6CC;
|
|
18
18
|
margin-right: 5px;
|
|
19
19
|
}
|
|
20
|
-
.plus-tag-input .plus-tag-form[data-v-
|
|
20
|
+
.plus-tag-input .plus-tag-form[data-v-f0psqjnw] {
|
|
21
21
|
flex: 1;
|
|
22
22
|
}
|
|
23
|
-
.plus-tag-input .plus-tag-form-item[data-v-
|
|
23
|
+
.plus-tag-input .plus-tag-form-item[data-v-f0psqjnw] {
|
|
24
24
|
margin-bottom: 0;
|
|
25
25
|
}
|
|
26
|
-
.plus-tag[data-v-
|
|
26
|
+
.plus-tag[data-v-f0psqjnw] {
|
|
27
27
|
cursor: pointer;
|
|
28
28
|
width: 100%;
|
|
29
29
|
height: 40px;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
font-size: 12px;
|
|
37
37
|
line-height: 20px;
|
|
38
38
|
}
|
|
39
|
-
.plus-tag[data-v-
|
|
39
|
+
.plus-tag[data-v-f0psqjnw]:hover {
|
|
40
40
|
color: #3A84FF;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
.collapse-title[data-v-
|
|
2
|
+
.collapse-title[data-v-a1ki8n3q] {
|
|
3
3
|
height: 28px;
|
|
4
4
|
background: #F0F1F5;
|
|
5
5
|
border-radius: 2px;
|
|
6
6
|
padding: 0 12px;
|
|
7
7
|
}
|
|
8
|
-
.collapse-title .is-hidden[data-v-
|
|
8
|
+
.collapse-title .is-hidden[data-v-a1ki8n3q] {
|
|
9
9
|
transform: rotate(-90deg);
|
|
10
10
|
}
|
package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js
CHANGED
|
@@ -39,7 +39,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
39
39
|
}
|
|
40
40
|
]
|
|
41
41
|
]),
|
|
42
|
-
_cache[1] || (_cache[1] = _createStaticVNode("<span class=\"click-full-screen g-cursor-pointer g-flex-row\" data-v-
|
|
42
|
+
_cache[1] || (_cache[1] = _createStaticVNode("<span class=\"click-full-screen g-cursor-pointer g-flex-row\" data-v-3t8iod4l><i class=\"ai-ui-sdk-icon ai-ui-sdk-full-screen click-full-screen g-text-14 g-ml-24 g-mr-2\" data-v-3t8iod4l></i><span class=\"g-text-12 click-full-screen\" data-v-3t8iod4l>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-3t8iod4l><i class=\"ai-ui-sdk-icon ai-ui-sdk-un-full-screen click-un-full-screen g-text-14 g-ml-24 g-mr-2\" data-v-3t8iod4l></i><span class=\"g-text-12 click-un-full-screen\" data-v-3t8iod4l>取消全屏</span></span>", 2))
|
|
43
43
|
]);
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.content[data-v-
|
|
2
|
+
.content[data-v-nyq1mzt3] {
|
|
3
3
|
padding: 18px 24px 0;
|
|
4
4
|
height: 100%;
|
|
5
5
|
overflow: auto;
|
|
6
6
|
}
|
|
7
|
-
.data-set-edit-slider .value-content[data-v-
|
|
7
|
+
.data-set-edit-slider .value-content[data-v-nyq1mzt3] {
|
|
8
8
|
padding: 16px;
|
|
9
9
|
border: 1px solid #DCDEE5;
|
|
10
10
|
line-height: 22px;
|
|
11
11
|
}
|
|
12
|
-
.data-set-edit-slider[data-v-
|
|
12
|
+
.data-set-edit-slider[data-v-nyq1mzt3] .bk-sideslider-title {
|
|
13
13
|
justify-content: space-between;
|
|
14
14
|
width: 100%;
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './index.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-nyq1mzt3";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/edit-dataset-data/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
.content[data-v-
|
|
2
|
+
.content[data-v-thpf1qel] {
|
|
3
3
|
padding: 0 24px 0px 32px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.content .toolbar[data-v-
|
|
6
|
+
.content .toolbar[data-v-thpf1qel] {
|
|
7
7
|
margin: 16px 0;
|
|
8
8
|
display: flex;
|
|
9
9
|
align-items: center;
|
|
10
10
|
justify-content: right;
|
|
11
11
|
gap: 8px;
|
|
12
12
|
}
|
|
13
|
-
.content .toolbar .record-search[data-v-
|
|
13
|
+
.content .toolbar .record-search[data-v-thpf1qel] {
|
|
14
14
|
width: 360px;
|
|
15
15
|
}
|
|
16
|
-
.content .toolbar .record-data-picker[data-v-
|
|
16
|
+
.content .toolbar .record-data-picker[data-v-thpf1qel] {
|
|
17
17
|
width: 260px;
|
|
18
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './index.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-thpf1qel";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/operation-record/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './index.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-ar0ffrbq";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/operation-record/table/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|
package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
.content[data-v-
|
|
2
|
+
.content[data-v-nzwkgtat] {
|
|
3
3
|
padding: 18px 24px 0;
|
|
4
4
|
height: 100%;
|
|
5
5
|
overflow: auto;
|
|
6
6
|
}
|
|
7
|
-
.content .value-content[data-v-
|
|
7
|
+
.content .value-content[data-v-nzwkgtat] {
|
|
8
8
|
margin-top: 8px;
|
|
9
9
|
padding: 16px;
|
|
10
10
|
border: 1px solid #DCDEE5;
|
package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './index.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-nzwkgtat";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/operation-record/view-op-result/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
.dataset-data-content[data-v-
|
|
2
|
+
.dataset-data-content[data-v-klg2sp8e] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.dataset-data-slider[data-v-
|
|
6
|
+
.dataset-data-slider[data-v-klg2sp8e] .bk-modal-content {
|
|
7
7
|
scrollbar-gutter: inherit !important;
|
|
8
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './footer.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-uito8jwl";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/plus-dataset-data/form/footer.vue";
|
|
4
4
|
import './footer.vue.css';
|
|
5
5
|
export default script;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
.plus-dataset-data[data-v-
|
|
2
|
+
.plus-dataset-data[data-v-w74a27dt] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
}
|
|
5
|
-
.plus-dataset-sideslider[data-v-
|
|
5
|
+
.plus-dataset-sideslider[data-v-w74a27dt] .bk-modal-content {
|
|
6
6
|
scrollbar-gutter: inherit !important;
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './index.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-w74a27dt";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/plus-dataset-data/form/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
|
|
2
|
-
.content[data-v-
|
|
2
|
+
.content[data-v-fyrae9nv] {
|
|
3
3
|
padding: 18px 24px 0;
|
|
4
4
|
height: 100%;
|
|
5
5
|
overflow: auto;
|
|
6
6
|
}
|
|
7
|
-
.data-set-review-slider .value-content[data-v-
|
|
7
|
+
.data-set-review-slider .value-content[data-v-fyrae9nv] {
|
|
8
8
|
padding: 16px;
|
|
9
9
|
border: 1px solid #DCDEE5;
|
|
10
10
|
line-height: 22px;
|
|
11
11
|
}
|
|
12
|
-
.data-set-review-slider .review-data[data-v-
|
|
12
|
+
.data-set-review-slider .review-data[data-v-fyrae9nv] {
|
|
13
13
|
height: calc(100% - 337px);
|
|
14
14
|
padding: 18px 24px;
|
|
15
15
|
}
|
|
16
|
-
.data-set-review-slider .review-level[data-v-
|
|
16
|
+
.data-set-review-slider .review-level[data-v-fyrae9nv] {
|
|
17
17
|
box-shadow: 0 -2px 4px 0 #1919291f;
|
|
18
18
|
height: 337px;
|
|
19
19
|
padding: 16px 24px 24px;
|
|
20
20
|
}
|
|
21
|
-
.data-set-review-slider .review-level .level-score[data-v-
|
|
21
|
+
.data-set-review-slider .review-level .level-score[data-v-fyrae9nv] {
|
|
22
22
|
gap: 50px;
|
|
23
23
|
}
|
|
24
|
-
.data-set-review-slider .review-level .level-score .bk-form-item[data-v-
|
|
24
|
+
.data-set-review-slider .review-level .level-score .bk-form-item[data-v-fyrae9nv] {
|
|
25
25
|
flex: 1;
|
|
26
26
|
}
|
|
27
|
-
.data-set-review-slider .bold-title[data-v-
|
|
27
|
+
.data-set-review-slider .bold-title[data-v-fyrae9nv] .bk-form-label {
|
|
28
28
|
font-weight: bold;
|
|
29
29
|
font-size: 14px;
|
|
30
30
|
}
|
|
31
|
-
.data-set-review-slider[data-v-
|
|
31
|
+
.data-set-review-slider[data-v-fyrae9nv] .bk-sideslider-title {
|
|
32
32
|
justify-content: space-between;
|
|
33
33
|
width: 100%;
|
|
34
34
|
}
|
|
35
|
-
.data-set-review-slider[data-v-
|
|
35
|
+
.data-set-review-slider[data-v-fyrae9nv] .bk-modal-content {
|
|
36
36
|
height: calc(100% - 100px) !important;
|
|
37
37
|
scrollbar-gutter: inherit !important;
|
|
38
38
|
}
|
|
39
|
-
.data-set-review-slider[data-v-
|
|
39
|
+
.data-set-review-slider[data-v-fyrae9nv] .bk-modal-content >div, .data-set-review-slider[data-v-fyrae9nv] .bk-modal-content .bk-sideslider-content {
|
|
40
40
|
height: 100%;
|
|
41
41
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './index.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-fyrae9nv";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/review-dataset-data/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|
|
@@ -18,7 +18,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
18
18
|
spaceId: {},
|
|
19
19
|
datasetName: {}
|
|
20
20
|
},
|
|
21
|
-
setup (__props) {
|
|
21
|
+
setup (__props, { expose: __expose }) {
|
|
22
22
|
const props = __props;
|
|
23
23
|
const router = useRouter();
|
|
24
24
|
const loading = ref(false);
|
|
@@ -54,6 +54,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
54
54
|
});
|
|
55
55
|
};
|
|
56
56
|
onBeforeMount(handleGetDatasetStatusInfo);
|
|
57
|
+
__expose({
|
|
58
|
+
handleGetDatasetStatusInfo
|
|
59
|
+
});
|
|
57
60
|
return (_ctx, _cache)=>{
|
|
58
61
|
const _component_bk_loading = _resolveComponent("bk-loading");
|
|
59
62
|
return _openBlock(), _createBlock(RenderHeader, {
|
|
@@ -4,5 +4,7 @@ interface IProps {
|
|
|
4
4
|
spaceId?: string;
|
|
5
5
|
datasetName: string;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: import("vue").DefineComponent<IProps, {
|
|
7
|
+
declare const _default: import("vue").DefineComponent<IProps, {
|
|
8
|
+
handleGetDatasetStatusInfo: () => void;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
10
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as _defineComponent } from 'vue';
|
|
2
2
|
import { createVNode as _createVNode, resolveDynamicComponent as _resolveDynamicComponent, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, withCtx as _withCtx, Fragment as _Fragment, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from "vue";
|
|
3
3
|
import { Message } from 'bkui-vue';
|
|
4
|
-
import { onBeforeMount, ref, toRef } from 'vue';
|
|
4
|
+
import { onBeforeMount, ref, toRef, useTemplateRef } from 'vue';
|
|
5
5
|
import { useRouter } from 'vue-router';
|
|
6
6
|
import RenderHeader from './components/header.vue.js';
|
|
7
7
|
import RenderTab from './components/tab.vue.js';
|
|
@@ -19,9 +19,13 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
19
19
|
setup (__props) {
|
|
20
20
|
const props = __props;
|
|
21
21
|
const router = useRouter();
|
|
22
|
+
const headerRef = useTemplateRef('headerRef');
|
|
22
23
|
const loading = ref(false);
|
|
23
24
|
const dataset = ref();
|
|
24
25
|
const { getDataset } = useDatasetHttp(props.apiPrefix, toRef(props, 'spaceId'));
|
|
26
|
+
const handleUpdate = ()=>{
|
|
27
|
+
headerRef.value.handleGetDatasetStatusInfo();
|
|
28
|
+
};
|
|
25
29
|
const handleGoToNotFound = ()=>{
|
|
26
30
|
router.push({
|
|
27
31
|
name: 'dataset-detail-not-found'
|
|
@@ -85,7 +89,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
85
89
|
"dataset-name": dataset.value.datasetName,
|
|
86
90
|
"api-prefix": _ctx.apiPrefix,
|
|
87
91
|
"dataset-id": _ctx.datasetId,
|
|
88
|
-
"space-id": _ctx.spaceId
|
|
92
|
+
"space-id": _ctx.spaceId,
|
|
93
|
+
ref_key: "headerRef",
|
|
94
|
+
ref: headerRef
|
|
89
95
|
}, null, 8 /* PROPS */ , [
|
|
90
96
|
"dataset-name",
|
|
91
97
|
"api-prefix",
|
|
@@ -98,8 +104,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
98
104
|
var _dataset_value_permission;
|
|
99
105
|
return [
|
|
100
106
|
(_openBlock(), _createBlock(_resolveDynamicComponent(Component), {
|
|
101
|
-
"manage-dataset": ((_dataset_value_permission = dataset.value.permission) === null || _dataset_value_permission === void 0 ? void 0 : _dataset_value_permission.manageDataset) || !_ctx.isInternal
|
|
102
|
-
|
|
107
|
+
"manage-dataset": ((_dataset_value_permission = dataset.value.permission) === null || _dataset_value_permission === void 0 ? void 0 : _dataset_value_permission.manageDataset) || !_ctx.isInternal,
|
|
108
|
+
onUpdate: handleUpdate
|
|
109
|
+
}, null, 40 /* PROPS, NEED_HYDRATION */ , [
|
|
103
110
|
"manage-dataset"
|
|
104
111
|
]))
|
|
105
112
|
];
|
package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js
CHANGED
|
@@ -66,7 +66,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
emits: [
|
|
69
|
-
"update:selectedDatasetDataIds"
|
|
69
|
+
"update:selectedDatasetDataIds",
|
|
70
|
+
"update"
|
|
70
71
|
],
|
|
71
72
|
setup (__props, { expose: __expose, emit: __emit }) {
|
|
72
73
|
const props = __props;
|
|
@@ -156,6 +157,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
156
157
|
isShowReviewDatasetData.value = true;
|
|
157
158
|
tempDatasetDataIndex.value = index + (pagination.value.current - 1) * pagination.value.limit;
|
|
158
159
|
};
|
|
160
|
+
const handleUpdate = ()=>{
|
|
161
|
+
// 通知父元素进行更新
|
|
162
|
+
emits('update');
|
|
163
|
+
};
|
|
159
164
|
const handleRetryReviewDatasetData = (row)=>{
|
|
160
165
|
const data = {
|
|
161
166
|
datasetId: props.datasetId,
|
|
@@ -163,7 +168,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
163
168
|
row.id
|
|
164
169
|
]
|
|
165
170
|
};
|
|
166
|
-
batchRetryReviewDatasetData(data).then(
|
|
171
|
+
batchRetryReviewDatasetData(data).then(handleUpdate);
|
|
167
172
|
};
|
|
168
173
|
const handleHidePopover = (row)=>{
|
|
169
174
|
popoverRef.value[row.id].hide();
|
|
@@ -180,7 +185,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
180
185
|
};
|
|
181
186
|
const handleDeleteDatasetData = (row)=>{
|
|
182
187
|
handleHidePopover(row);
|
|
183
|
-
deleteDatasetData(row.id).then(
|
|
188
|
+
deleteDatasetData(row.id).then(handleUpdate);
|
|
184
189
|
};
|
|
185
190
|
const isDatasetDataSelected = (data)=>{
|
|
186
191
|
return props.selectedDatasetDataIds.some((selectedDatasetDataId)=>data.id === selectedDatasetDataId);
|
|
@@ -629,7 +634,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
629
634
|
schema: _ctx.schema,
|
|
630
635
|
"manage-dataset": _ctx.manageDataset,
|
|
631
636
|
"is-internal": _ctx.isInternal,
|
|
632
|
-
onSuccessEdit:
|
|
637
|
+
onSuccessEdit: handleUpdate
|
|
633
638
|
}, null, 8 /* PROPS */ , [
|
|
634
639
|
"modelValue",
|
|
635
640
|
"index",
|
|
@@ -639,8 +644,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
639
644
|
"space-id",
|
|
640
645
|
"schema",
|
|
641
646
|
"manage-dataset",
|
|
642
|
-
"is-internal"
|
|
643
|
-
"onSuccessEdit"
|
|
647
|
+
"is-internal"
|
|
644
648
|
]),
|
|
645
649
|
_createVNode(ReviewDatasetData, {
|
|
646
650
|
modelValue: isShowReviewDatasetData.value,
|
|
@@ -650,15 +654,14 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
650
654
|
search: _ctx.search,
|
|
651
655
|
"api-prefix": _ctx.apiPrefix,
|
|
652
656
|
"space-id": _ctx.spaceId,
|
|
653
|
-
onSuccessReview:
|
|
657
|
+
onSuccessReview: handleUpdate
|
|
654
658
|
}, null, 8 /* PROPS */ , [
|
|
655
659
|
"modelValue",
|
|
656
660
|
"index",
|
|
657
661
|
"dataset-id",
|
|
658
662
|
"search",
|
|
659
663
|
"api-prefix",
|
|
660
|
-
"space-id"
|
|
661
|
-
"onSuccessReview"
|
|
664
|
+
"space-id"
|
|
662
665
|
])
|
|
663
666
|
], 64 /* STABLE_FRAGMENT */ );
|
|
664
667
|
};
|
|
@@ -13,8 +13,10 @@ interface IProps {
|
|
|
13
13
|
declare const _default: import("vue").DefineComponent<IProps, {
|
|
14
14
|
triggerApi: () => Promise<unknown>;
|
|
15
15
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
update: () => any;
|
|
16
17
|
"update:selectedDatasetDataIds": (selectedDatasetDataIds: number[]) => any;
|
|
17
18
|
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
19
|
+
onUpdate?: () => any;
|
|
18
20
|
"onUpdate:selectedDatasetDataIds"?: (selectedDatasetDataIds: number[]) => any;
|
|
19
21
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
22
|
export default _default;
|
|
@@ -35,8 +35,12 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
35
35
|
type: Boolean
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
|
|
38
|
+
emits: [
|
|
39
|
+
"update"
|
|
40
|
+
],
|
|
41
|
+
setup (__props, { emit: __emit }) {
|
|
39
42
|
const props = __props;
|
|
43
|
+
const emits = __emit;
|
|
40
44
|
const { getSchemaList, batchRetryReviewDatasetData, exportDataset } = useDatasetHttp(props.apiPrefix, toRef(props, 'spaceId'));
|
|
41
45
|
const tableRef = useTemplateRef('tableRef');
|
|
42
46
|
const search = ref({});
|
|
@@ -48,7 +52,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
48
52
|
datasetId: props.datasetId
|
|
49
53
|
};
|
|
50
54
|
const handleUpdate = ()=>{
|
|
55
|
+
// 更新表格
|
|
51
56
|
tableRef.value.triggerApi();
|
|
57
|
+
// 通知父组件更新
|
|
58
|
+
emits('update');
|
|
52
59
|
};
|
|
53
60
|
const handleRetryReviewAll = ()=>{
|
|
54
61
|
isRetryReviewingAll.value = true;
|
|
@@ -178,6 +185,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
178
185
|
_createVNode(RenderTable, {
|
|
179
186
|
"selected-dataset-data-ids": selectedDatasetDataIds.value,
|
|
180
187
|
"onUpdate:selectedDatasetDataIds": _cache[3] || (_cache[3] = ($event)=>selectedDatasetDataIds.value = $event),
|
|
188
|
+
ref_key: "tableRef",
|
|
189
|
+
ref: tableRef,
|
|
181
190
|
"api-prefix": _ctx.apiPrefix,
|
|
182
191
|
"space-id": _ctx.spaceId,
|
|
183
192
|
"dataset-id": _ctx.datasetId,
|
|
@@ -186,8 +195,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
186
195
|
"manage-dataset": _ctx.manageDataset,
|
|
187
196
|
"review-dataset": _ctx.reviewDataset,
|
|
188
197
|
"is-internal": _ctx.isInternal,
|
|
189
|
-
|
|
190
|
-
ref: tableRef
|
|
198
|
+
onUpdate: handleUpdate
|
|
191
199
|
}, null, 8 /* PROPS */ , [
|
|
192
200
|
"selected-dataset-data-ids",
|
|
193
201
|
"api-prefix",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.origin-data-content[data-v-
|
|
2
|
+
.origin-data-content[data-v-5kutxhhc] {
|
|
3
3
|
padding: 24px;
|
|
4
4
|
height: calc(100% - 52px - 44px);
|
|
5
5
|
}
|
|
6
|
-
.origin-data-panel[data-v-
|
|
6
|
+
.origin-data-panel[data-v-5kutxhhc] {
|
|
7
7
|
height: 100%;
|
|
8
8
|
padding: 20px;
|
|
9
9
|
background: #ffffff;
|
|
10
10
|
box-shadow: 0 2px 4px 0 #1919290d;
|
|
11
11
|
border-radius: 2px;
|
|
12
12
|
}
|
|
13
|
-
.origin-data-panel .toolbar-search[data-v-
|
|
13
|
+
.origin-data-panel .toolbar-search[data-v-5kutxhhc] {
|
|
14
14
|
width: 6.17rem;
|
|
15
15
|
}
|
|
@@ -6,5 +6,9 @@ interface IProps {
|
|
|
6
6
|
reviewDataset?: boolean;
|
|
7
7
|
isInternal?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
update: () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
12
|
+
onUpdate?: () => any;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
14
|
export default _default;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.main-content[data-v-
|
|
2
|
+
.main-content[data-v-icepm8zf] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
height: calc(100% - 52px);
|
|
5
5
|
}
|
|
6
|
-
.main-panel[data-v-
|
|
6
|
+
.main-panel[data-v-icepm8zf] {
|
|
7
7
|
height: 100%;
|
|
8
8
|
padding: 20px 24px 0;
|
|
9
9
|
background: #ffffff;
|
|
10
10
|
box-shadow: 0 2px 4px 0 #1919290d;
|
|
11
11
|
border-radius: 2px;
|
|
12
12
|
}
|
|
13
|
-
.main-search[data-v-
|
|
13
|
+
.main-search[data-v-icepm8zf] {
|
|
14
14
|
width: 6.17rem;
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.expend-collapse-home[data-v-
|
|
2
|
+
.expend-collapse-home[data-v-g2oef1o5] {
|
|
3
3
|
width: 16px;
|
|
4
4
|
height: 64px;
|
|
5
5
|
background: #DCDEE5;
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
z-index: 1550;
|
|
17
17
|
}
|
|
18
|
-
.expend-collapse-home[data-v-
|
|
18
|
+
.expend-collapse-home[data-v-g2oef1o5]:hover {
|
|
19
19
|
background: #979BA5;
|
|
20
20
|
}
|
|
21
|
-
.expend-collapse-home.is-close[data-v-
|
|
21
|
+
.expend-collapse-home.is-close[data-v-g2oef1o5] {
|
|
22
22
|
left: 0;
|
|
23
23
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
.upload-file-home[data-v-
|
|
2
|
+
.upload-file-home[data-v-dj16k3tk] {
|
|
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-
|
|
9
|
+
.upload-file-home[data-v-dj16k3tk]:hover {
|
|
10
10
|
border: 1px solid #3A84FF;
|
|
11
11
|
}
|
|
12
|
-
.upload-file-home:hover .file-icons[data-v-
|
|
12
|
+
.upload-file-home:hover .file-icons[data-v-dj16k3tk] {
|
|
13
13
|
display: flex;
|
|
14
14
|
}
|
|
15
|
-
.upload-file-home .file-icon[data-v-
|
|
15
|
+
.upload-file-home .file-icon[data-v-dj16k3tk] {
|
|
16
16
|
font-size: 32px;
|
|
17
17
|
}
|
|
18
|
-
.upload-file-home .file-content[data-v-
|
|
18
|
+
.upload-file-home .file-content[data-v-dj16k3tk] {
|
|
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-
|
|
26
|
+
.upload-file-home .file-content .file-name[data-v-dj16k3tk] {
|
|
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-
|
|
31
|
+
.upload-file-home .file-content .file-size[data-v-dj16k3tk] {
|
|
32
32
|
font-size: 12px;
|
|
33
33
|
color: #979BA5;
|
|
34
34
|
line-height: 20px;
|
|
35
35
|
}
|
|
36
|
-
.upload-file-home .file-icons[data-v-
|
|
36
|
+
.upload-file-home .file-icons[data-v-dj16k3tk] {
|
|
37
37
|
display: none;
|
|
38
38
|
color: #979BA5;
|
|
39
39
|
}
|
|
40
|
-
.upload-file-home .file-icons .bkaidev-icon[data-v-
|
|
40
|
+
.upload-file-home .file-icons .bkaidev-icon[data-v-dj16k3tk] {
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
margin-right: 15px;
|
|
43
43
|
font-size: 16px;
|
|
44
44
|
}
|
|
45
|
-
.upload-file-home .file-icons .bkaidev-icon[data-v-
|
|
45
|
+
.upload-file-home .file-icons .bkaidev-icon[data-v-dj16k3tk]:hover {
|
|
46
46
|
color: #3A84FF;
|
|
47
47
|
}
|
|
48
|
-
.upload-file-home .file-icons .bkaidev-delete[data-v-
|
|
48
|
+
.upload-file-home .file-icons .bkaidev-delete[data-v-dj16k3tk] {
|
|
49
49
|
margin: 0;
|
|
50
50
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
.ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-
|
|
2
|
+
.ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-jrstl7mj] {
|
|
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-jrstl7mj], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-jrstl7mj], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-jrstl7mj] {
|
|
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-jrstl7mj] {
|
|
9
9
|
color: #C4C6CC;
|
|
10
10
|
}
|
|
11
|
-
.ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-
|
|
11
|
+
.ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-jrstl7mj] {
|
|
12
12
|
color: #2DCB56;
|
|
13
13
|
}
|
|
14
|
-
.ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-
|
|
14
|
+
.ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-jrstl7mj] {
|
|
15
15
|
color: #14A568;
|
|
16
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.header-home[data-v-
|
|
2
|
+
.header-home[data-v-yickaeva] {
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 52px;
|
|
5
5
|
background: #FFFFFF;
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
position: relative;
|
|
8
8
|
z-index: 2;
|
|
9
9
|
}
|
|
10
|
-
.header-title[data-v-
|
|
10
|
+
.header-title[data-v-yickaeva] {
|
|
11
11
|
position: absolute;
|
|
12
12
|
left: 24px;
|
|
13
13
|
top: 14px;
|
|
14
14
|
font-size: 16px;
|
|
15
15
|
color: #313238;
|
|
16
16
|
}
|
|
17
|
-
.header-main[data-v-
|
|
17
|
+
.header-main[data-v-yickaeva] {
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: center;
|
|
20
20
|
justify-content: flex-end;
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
height: 100%;
|
|
23
23
|
margin: 0 auto;
|
|
24
24
|
}
|
|
25
|
-
.header-select[data-v-
|
|
25
|
+
.header-select[data-v-yickaeva] {
|
|
26
26
|
width: 300px;
|
|
27
27
|
margin-right: 8px;
|
|
28
28
|
z-index: 9;
|
|
29
29
|
font-size: 12px;
|
|
30
30
|
}
|
|
31
|
-
.header-input[data-v-
|
|
31
|
+
.header-input[data-v-yickaeva] {
|
|
32
32
|
width: 300px;
|
|
33
33
|
font-size: 12px;
|
|
34
34
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.router-tab[data-v-
|
|
2
|
+
.router-tab[data-v-fyvcd8l7] {
|
|
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 45px;
|
|
8
8
|
}
|
|
9
|
-
.router-tab a[data-v-
|
|
9
|
+
.router-tab a[data-v-fyvcd8l7] {
|
|
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-fyvcd8l7] {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
|
21
21
|
}
|
package/dist/hooks/use-chat.d.ts
CHANGED
|
@@ -114,7 +114,6 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
114
114
|
};
|
|
115
115
|
credentialId?: number;
|
|
116
116
|
credentialType?: import("../types/enum").ToolCrdentialType;
|
|
117
|
-
credentialLocation?: import("../types/enum").CrdentialLocation;
|
|
118
117
|
}[];
|
|
119
118
|
anchorPathResources?: {
|
|
120
119
|
knowledges?: {
|
|
@@ -537,7 +536,6 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
537
536
|
};
|
|
538
537
|
credentialId?: number;
|
|
539
538
|
credentialType?: import("../types/enum").ToolCrdentialType;
|
|
540
|
-
credentialLocation?: import("../types/enum").CrdentialLocation;
|
|
541
539
|
}[];
|
|
542
540
|
anchorPathResources?: {
|
|
543
541
|
knowledges?: {
|
|
@@ -23,7 +23,6 @@ import { transferResourcePermission } from './permission.ts.js';
|
|
|
23
23
|
isSensitive: data.is_sensitive,
|
|
24
24
|
credentialId: data.credential_id,
|
|
25
25
|
credentialType: data.credential_type,
|
|
26
|
-
credentialLocation: data.credential_location,
|
|
27
26
|
permission: transferResourcePermission(data.permission)
|
|
28
27
|
});
|
|
29
28
|
/**
|
|
@@ -45,7 +44,6 @@ import { transferResourcePermission } from './permission.ts.js';
|
|
|
45
44
|
status: data.status,
|
|
46
45
|
is_sensitive: data.isSensitive,
|
|
47
46
|
credential_id: data.credentialId,
|
|
48
|
-
credential_location: data.credentialLocation,
|
|
49
47
|
credential_type: data.credentialType,
|
|
50
48
|
property: {
|
|
51
49
|
header: data.header,
|
package/dist/types/tool.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiValueType,
|
|
1
|
+
import { ApiValueType, EnumCharacter, ResourceStatus, ToolCrdentialType } from './enum';
|
|
2
2
|
import type { IResourcePermission, IResourcePermissionApi } from './permission';
|
|
3
3
|
export interface IToolRule {
|
|
4
4
|
func: string;
|
|
@@ -39,7 +39,6 @@ export interface IToolApi {
|
|
|
39
39
|
permission?: IResourcePermissionApi;
|
|
40
40
|
credential_id?: number;
|
|
41
41
|
credential_type?: ToolCrdentialType;
|
|
42
|
-
credential_location?: CrdentialLocation;
|
|
43
42
|
}
|
|
44
43
|
export interface ITool {
|
|
45
44
|
spaceId?: string;
|
|
@@ -62,5 +61,4 @@ export interface ITool {
|
|
|
62
61
|
permission?: IResourcePermission;
|
|
63
62
|
credentialId?: number;
|
|
64
63
|
credentialType?: ToolCrdentialType;
|
|
65
|
-
credentialLocation?: CrdentialLocation;
|
|
66
64
|
}
|