@blueking/ai-ui-sdk 0.1.12-beta.23 → 0.1.12-beta.24
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-auth/auth-dialog.script.vue.js.js +2 -8
- 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/batch-review-dataset-data/index.script.vue.js.js +9 -27
- 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.script.vue.js.js +11 -46
- 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.script.vue.js.js +1 -4
- 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/dataset-footer.script.vue.js.js +2 -8
- 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/file.script.vue.js.js +3 -12
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.script.vue.js.js +2 -8
- 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/plus-dataset-data/index.script.vue.js.js +1 -4
- package/dist/components/render-dataset/components/review-dataset-data/index.script.vue.js.js +5 -21
- 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 +2 -77
- package/dist/components/render-dataset-detail/index.script.vue.js.js +2 -8
- package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.script.vue.js.js +9 -12
- package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +37 -203
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.css +10 -0
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.js +2 -0
- package/dist/components/render-dataset-detail-origin-data/index.script.vue.js.js +14 -29
- 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.script.vue.js.js +1 -4
- 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/components/table.script.vue.js.js +21 -21
- 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-dataset-http.ts.js +0 -20
- package/dist/http/helper/agent.ts.js +2 -1
- package/dist/http/helper/knowledge.ts.js +2 -4
- package/dist/http/helper/session.ts.js +0 -2
- package/dist/types/enum.ts.js +0 -2
- package/dist/types.ts.js +0 -1
- package/package.json +1 -1
- package/dist/common/chart-helper.d.ts +0 -32
- package/dist/common/util.d.ts +0 -97
- package/dist/components/render-aside/index.vue.d.ts +0 -26
- package/dist/components/render-auth/auth-dialog-fn.d.ts +0 -2
- package/dist/components/render-auth/auth-dialog.vue.d.ts +0 -5
- package/dist/components/render-auto-height-textarea/index.vue.d.ts +0 -19
- package/dist/components/render-auto-refresh/index.vue.d.ts +0 -6
- package/dist/components/render-checkbox/index.vue.d.ts +0 -11
- package/dist/components/render-choose-tag/index.vue.d.ts +0 -13
- package/dist/components/render-collapse/index.vue.d.ts +0 -18
- package/dist/components/render-dataset/components/batch-review-dataset-data/index.vue.d.ts +0 -15
- package/dist/components/render-dataset/components/dataset-data-level/index.vue.d.ts +0 -6
- package/dist/components/render-dataset/components/dataset-data-status/index.vue.d.ts +0 -7
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.vue.d.ts +0 -5
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.d.ts +0 -20
- package/dist/components/render-dataset/components/operation-record/index.vue.d.ts +0 -13
- package/dist/components/render-dataset/components/operation-record/table/index.vue.d.ts +0 -8
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.d.ts +0 -11
- package/dist/components/render-dataset/components/plus-dataset/dataset-footer.vue.d.ts +0 -16
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.vue.d.ts +0 -17
- package/dist/components/render-dataset/components/plus-dataset/index.vue.d.ts +0 -16
- package/dist/components/render-dataset/components/plus-dataset-data/form/category.vue.d.ts +0 -10
- package/dist/components/render-dataset/components/plus-dataset-data/form/dataset.vue.d.ts +0 -17
- package/dist/components/render-dataset/components/plus-dataset-data/form/file.vue.d.ts +0 -15
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.d.ts +0 -15
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.d.ts +0 -17
- package/dist/components/render-dataset/components/plus-dataset-data/form/manual.vue.d.ts +0 -15
- package/dist/components/render-dataset/components/plus-dataset-data/index.vue.d.ts +0 -15
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.d.ts +0 -17
- package/dist/components/render-dataset/components/search-dataset/index.vue.d.ts +0 -13
- package/dist/components/render-dataset/components/search-dataset-data/index.vue.d.ts +0 -12
- package/dist/components/render-dataset/components/search-operation-record/index.vue.d.ts +0 -11
- package/dist/components/render-dataset/components/source-type-icon/index.vue.d.ts +0 -6
- package/dist/components/render-dataset/index.vue.d.ts +0 -7
- package/dist/components/render-dataset-detail/components/header.vue.d.ts +0 -8
- package/dist/components/render-dataset-detail/components/tab.vue.d.ts +0 -2
- package/dist/components/render-dataset-detail/index.vue.d.ts +0 -8
- package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.vue.d.ts +0 -17
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.d.ts +0 -20
- package/dist/components/render-dataset-detail-origin-data/index.vue.d.ts +0 -10
- package/dist/components/render-dataset-list/components/header.vue.d.ts +0 -2
- package/dist/components/render-dataset-list/components/main.vue.d.ts +0 -14
- package/dist/components/render-dataset-list/components/table.vue.d.ts +0 -11
- package/dist/components/render-dataset-list/index.vue.d.ts +0 -14
- package/dist/components/render-expand-collapse/index.vue.d.ts +0 -12
- package/dist/components/render-file-card/index.vue.d.ts +0 -20
- package/dist/components/render-file-type-icon/index.vue.d.ts +0 -5
- package/dist/components/render-header/index.vue.d.ts +0 -58
- package/dist/components/render-router-tab/index.vue.d.ts +0 -8
- package/dist/components/render-search-select/index.vue.d.ts +0 -28
- package/dist/components.d.ts +0 -12
- package/dist/enums.d.ts +0 -1
- package/dist/event/index.d.ts +0 -4
- package/dist/events.d.ts +0 -1
- package/dist/helpers.d.ts +0 -1
- package/dist/hooks/use-chat.d.ts +0 -895
- package/dist/hooks/use-click-proxy.d.ts +0 -1
- package/dist/hooks/use-dataset-http.d.ts +0 -50
- package/dist/hooks/use-form-leave-confirm.d.ts +0 -4
- package/dist/hooks/use-form-rule.d.ts +0 -29
- package/dist/hooks/use-meta-http.d.ts +0 -16
- package/dist/hooks/use-mouse-drag.d.ts +0 -13
- package/dist/hooks/use-permission-http.d.ts +0 -7
- package/dist/hooks/use-permission.d.ts +0 -9
- package/dist/hooks/use-reference-doc.d.ts +0 -14
- package/dist/hooks/use-session-http.d.ts +0 -16
- package/dist/hooks/use-style.d.ts +0 -3
- package/dist/hooks/use-summary.d.ts +0 -9
- package/dist/hooks/use-table.d.ts +0 -27
- package/dist/hooks/use-think.d.ts +0 -21
- package/dist/hooks.d.ts +0 -9
- package/dist/http/fetch/error-interceptor.d.ts +0 -3
- package/dist/http/fetch/index.d.ts +0 -25
- package/dist/http/fetch/request-error.d.ts +0 -6
- package/dist/http/fetch/success-interceptor.d.ts +0 -3
- package/dist/http/helper/agent.d.ts +0 -7
- package/dist/http/helper/dataset.d.ts +0 -117
- package/dist/http/helper/knowledge.d.ts +0 -43
- package/dist/http/helper/meta.d.ts +0 -2
- package/dist/http/helper/model.d.ts +0 -2
- package/dist/http/helper/permission.d.ts +0 -13
- package/dist/http/helper/session.d.ts +0 -41
- package/dist/http/helper/tool.d.ts +0 -13
- package/dist/https.d.ts +0 -2
- package/dist/transforms.d.ts +0 -5
- package/dist/types/agent.d.ts +0 -19
- package/dist/types/common.d.ts +0 -23
- package/dist/types/common.ts.js +0 -1
- package/dist/types/dataset.d.ts +0 -298
- package/dist/types/enum.d.ts +0 -202
- package/dist/types/file.d.ts +0 -23
- package/dist/types/knowledge.d.ts +0 -139
- package/dist/types/meta.d.ts +0 -8
- package/dist/types/model.d.ts +0 -31
- package/dist/types/permission.d.ts +0 -92
- package/dist/types/session.d.ts +0 -157
- package/dist/types/tool.d.ts +0 -60
- package/dist/types.d.ts +0 -9
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.aside-home[data-v-
|
|
2
|
+
.aside-home[data-v-0hrvwshs] {
|
|
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-0hrvwshs] .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-0hrvwshs] .aside-item.is-tab {
|
|
20
20
|
background: #F5F7FA;
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
color: #4D4F56;
|
|
23
23
|
}
|
|
24
|
-
[data-v-
|
|
24
|
+
[data-v-0hrvwshs] .aside-item.is-tab:hover {
|
|
25
25
|
background: #F0F5FF;
|
|
26
26
|
}
|
|
27
|
-
[data-v-
|
|
27
|
+
[data-v-0hrvwshs] .aside-item.active {
|
|
28
28
|
background: #F0F5FF;
|
|
29
29
|
color: #3A84FF;
|
|
30
30
|
font-weight: 700;
|
|
31
31
|
}
|
|
32
|
-
[data-v-
|
|
32
|
+
[data-v-0hrvwshs] .aside-item.active .tab-num {
|
|
33
33
|
background: #3A84FF;
|
|
34
34
|
color: #fff;
|
|
35
35
|
}
|
|
36
|
-
[data-v-
|
|
36
|
+
[data-v-0hrvwshs] .aside-item.active .active-text {
|
|
37
37
|
color: #3A84FF;
|
|
38
38
|
}
|
|
39
|
-
[data-v-
|
|
39
|
+
[data-v-0hrvwshs] .aside-item .tab-name {
|
|
40
40
|
flex: 1;
|
|
41
41
|
}
|
|
42
|
-
[data-v-
|
|
42
|
+
[data-v-0hrvwshs] .aside-item .tab-num {
|
|
43
43
|
background: #EAEBF0;
|
|
44
44
|
border-radius: 2px;
|
|
45
45
|
margin-left: 5px;
|
|
@@ -59,10 +59,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
59
59
|
default: _withCtx(()=>_cache[0] || (_cache[0] = [
|
|
60
60
|
_createTextVNode(" 去申请 ")
|
|
61
61
|
])),
|
|
62
|
-
_: 1 /* STABLE */
|
|
63
|
-
__: [
|
|
64
|
-
0
|
|
65
|
-
]
|
|
62
|
+
_: 1 /* STABLE */
|
|
66
63
|
}),
|
|
67
64
|
_createVNode(_component_bk_button, {
|
|
68
65
|
class: "g-ml-8",
|
|
@@ -71,10 +68,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
71
68
|
default: _withCtx(()=>_cache[1] || (_cache[1] = [
|
|
72
69
|
_createTextVNode(" 取消 ")
|
|
73
70
|
])),
|
|
74
|
-
_: 1 /* STABLE */
|
|
75
|
-
__: [
|
|
76
|
-
1
|
|
77
|
-
]
|
|
71
|
+
_: 1 /* STABLE */
|
|
78
72
|
})
|
|
79
73
|
])
|
|
80
74
|
]),
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
|
|
2
|
-
.send-container[data-v-
|
|
2
|
+
.send-container[data-v-6y2tcap5] {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
5
|
-
.send-container[data-v-
|
|
5
|
+
.send-container[data-v-6y2tcap5]: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-6y2tcap5] {
|
|
9
9
|
display: inline-flex !important;
|
|
10
10
|
}
|
|
11
|
-
.send-input[data-v-
|
|
11
|
+
.send-input[data-v-6y2tcap5] {
|
|
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-6y2tcap5]:has(textarea:focus) {
|
|
17
17
|
height: var(--text-height);
|
|
18
18
|
}
|
|
19
|
-
.send-input[data-v-
|
|
19
|
+
.send-input[data-v-6y2tcap5] 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-6y2tcap5] textarea::-webkit-scrollbar {
|
|
26
26
|
width: 4px;
|
|
27
27
|
height: 4px;
|
|
28
28
|
}
|
|
29
|
-
.send-input[data-v-
|
|
29
|
+
.send-input[data-v-6y2tcap5] 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-6y2tcap5] textarea::placeholder {
|
|
35
35
|
line-height: 16px;
|
|
36
36
|
}
|
|
37
|
-
.send-clear[data-v-
|
|
37
|
+
.send-clear[data-v-6y2tcap5] {
|
|
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-6y2tcap5]:hover {
|
|
47
47
|
color: #313238;
|
|
48
48
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.auto-refresh[data-v-
|
|
2
|
+
.auto-refresh[data-v-lvlt4sxq] {
|
|
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-lvlt4sxq]: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-lvlt4sxq]:hover {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
background-color: #E1ECFF;
|
|
21
21
|
}
|
|
22
|
-
.refresh[data-v-
|
|
22
|
+
.refresh[data-v-lvlt4sxq] {
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
line-height: 26px;
|
|
25
25
|
padding: 0 4px;
|
|
26
26
|
}
|
|
27
|
-
.refresh[data-v-
|
|
27
|
+
.refresh[data-v-lvlt4sxq]:hover {
|
|
28
28
|
color: #3A84FF;
|
|
29
29
|
background-color: #E1ECFF;
|
|
30
30
|
}
|
|
31
|
-
.textarea-list[data-v-
|
|
31
|
+
.textarea-list[data-v-lvlt4sxq] {
|
|
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-lvlt4sxq] {
|
|
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-lvlt4sxq]: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-h0gw9k7o] {
|
|
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-h0gw9k7o] {
|
|
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-h0gw9k7o] {
|
|
17
17
|
background-color: #a3c5fd;
|
|
18
18
|
border-color: #a3c5fd;
|
|
19
19
|
}
|
|
20
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
20
|
+
.checkbox.disabled.indeterminate[data-v-h0gw9k7o] {
|
|
21
21
|
background-color: #fafbfd;
|
|
22
22
|
border-color: #dcdee5;
|
|
23
23
|
}
|
|
24
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
24
|
+
.checkbox.disabled.indeterminate[data-v-h0gw9k7o]:after {
|
|
25
25
|
background: #dcdee5;
|
|
26
26
|
}
|
|
27
|
-
.checkbox.checked[data-v-
|
|
27
|
+
.checkbox.checked[data-v-h0gw9k7o] {
|
|
28
28
|
background-color: #3a84ff;
|
|
29
29
|
border: 1px solid #3a84ff;
|
|
30
30
|
}
|
|
31
|
-
.checkbox.checked[data-v-
|
|
31
|
+
.checkbox.checked[data-v-h0gw9k7o]: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-h0gw9k7o] {
|
|
45
45
|
background-color: #3a84ff;
|
|
46
46
|
border: 1px solid #3a84ff;
|
|
47
47
|
}
|
|
48
|
-
.checkbox.indeterminate[data-v-
|
|
48
|
+
.checkbox.indeterminate[data-v-h0gw9k7o]: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-6hj9mads] {
|
|
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-6hj9mads] {
|
|
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-6hj9mads] {
|
|
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-6hj9mads] {
|
|
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-6hj9mads] {
|
|
24
24
|
margin-bottom: 0;
|
|
25
25
|
}
|
|
26
|
-
.plus-tag[data-v-
|
|
26
|
+
.plus-tag[data-v-6hj9mads] {
|
|
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-6hj9mads]: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-mi97k39u] {
|
|
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-mi97k39u] {
|
|
9
9
|
transform: rotate(-90deg);
|
|
10
10
|
}
|
package/dist/components/render-dataset/components/batch-review-dataset-data/index.script.vue.js.js
CHANGED
|
@@ -44,7 +44,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
44
44
|
modelValue: {
|
|
45
45
|
type: Boolean
|
|
46
46
|
},
|
|
47
|
-
|
|
47
|
+
datasetDatas: {},
|
|
48
48
|
datasetId: {},
|
|
49
49
|
apiPrefix: {},
|
|
50
50
|
spaceId: {}
|
|
@@ -96,7 +96,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
96
96
|
watch(()=>props.modelValue, (newVal)=>{
|
|
97
97
|
if (newVal) {
|
|
98
98
|
formData.value = {
|
|
99
|
-
datasetItemIds: props.
|
|
99
|
+
datasetItemIds: props.datasetDatas.map((datasetData)=>datasetData.id),
|
|
100
100
|
datasetId: props.datasetId,
|
|
101
101
|
acceptAi: true,
|
|
102
102
|
accept: true,
|
|
@@ -128,7 +128,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
128
128
|
_cache[5] || (_cache[5] = _createElementVNode("span", {
|
|
129
129
|
class: "g-gap g-ml-8 g-mr-8"
|
|
130
130
|
}, null, -1 /* HOISTED */ )),
|
|
131
|
-
_createElementVNode("span", _hoisted_2, "已选 " + _toDisplayString(_ctx.
|
|
131
|
+
_createElementVNode("span", _hoisted_2, "已选 " + _toDisplayString(_ctx.datasetDatas.length) + " 条数据", 1 /* TEXT */ )
|
|
132
132
|
])
|
|
133
133
|
]),
|
|
134
134
|
footer: _withCtx(()=>[
|
|
@@ -140,10 +140,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
140
140
|
default: _withCtx(()=>_cache[10] || (_cache[10] = [
|
|
141
141
|
_createTextVNode(" 确认 ")
|
|
142
142
|
])),
|
|
143
|
-
_: 1 /* STABLE */
|
|
144
|
-
__: [
|
|
145
|
-
10
|
|
146
|
-
]
|
|
143
|
+
_: 1 /* STABLE */
|
|
147
144
|
}, 8 /* PROPS */ , [
|
|
148
145
|
"loading"
|
|
149
146
|
]),
|
|
@@ -155,10 +152,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
155
152
|
default: _withCtx(()=>_cache[11] || (_cache[11] = [
|
|
156
153
|
_createTextVNode(" 取消 ")
|
|
157
154
|
])),
|
|
158
|
-
_: 1 /* STABLE */
|
|
159
|
-
__: [
|
|
160
|
-
11
|
|
161
|
-
]
|
|
155
|
+
_: 1 /* STABLE */
|
|
162
156
|
}, 8 /* PROPS */ , [
|
|
163
157
|
"disabled"
|
|
164
158
|
])
|
|
@@ -187,10 +181,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
187
181
|
default: _withCtx(()=>_cache[6] || (_cache[6] = [
|
|
188
182
|
_createTextVNode(" 维持当前审核结果 ")
|
|
189
183
|
])),
|
|
190
|
-
_: 1 /* STABLE */
|
|
191
|
-
__: [
|
|
192
|
-
6
|
|
193
|
-
]
|
|
184
|
+
_: 1 /* STABLE */
|
|
194
185
|
}),
|
|
195
186
|
_createVNode(_component_bk_radio_button, {
|
|
196
187
|
label: false
|
|
@@ -198,10 +189,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
198
189
|
default: _withCtx(()=>_cache[7] || (_cache[7] = [
|
|
199
190
|
_createTextVNode(" 统一修改预审结果 ")
|
|
200
191
|
])),
|
|
201
|
-
_: 1 /* STABLE */
|
|
202
|
-
__: [
|
|
203
|
-
7
|
|
204
|
-
]
|
|
192
|
+
_: 1 /* STABLE */
|
|
205
193
|
})
|
|
206
194
|
]),
|
|
207
195
|
_: 1 /* STABLE */
|
|
@@ -264,10 +252,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
264
252
|
default: _withCtx(()=>_cache[8] || (_cache[8] = [
|
|
265
253
|
_createTextVNode(" 采纳 ")
|
|
266
254
|
])),
|
|
267
|
-
_: 1 /* STABLE */
|
|
268
|
-
__: [
|
|
269
|
-
8
|
|
270
|
-
]
|
|
255
|
+
_: 1 /* STABLE */
|
|
271
256
|
}),
|
|
272
257
|
_createVNode(_component_bk_radio_button, {
|
|
273
258
|
label: false
|
|
@@ -275,10 +260,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
275
260
|
default: _withCtx(()=>_cache[9] || (_cache[9] = [
|
|
276
261
|
_createTextVNode(" 拒绝 ")
|
|
277
262
|
])),
|
|
278
|
-
_: 1 /* STABLE */
|
|
279
|
-
__: [
|
|
280
|
-
9
|
|
281
|
-
]
|
|
263
|
+
_: 1 /* STABLE */
|
|
282
264
|
})
|
|
283
265
|
]),
|
|
284
266
|
_: 1 /* STABLE */
|
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-2stymk9g><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-2stymk9g></i><span class=\"g-text-12 click-full-screen\" data-v-2stymk9g>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-2stymk9g><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-2stymk9g></i><span class=\"g-text-12 click-un-full-screen\" data-v-2stymk9g>取消全屏</span></span>", 2))
|
|
43
43
|
]);
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -80,7 +80,7 @@ function _object_spread_props(target, source) {
|
|
|
80
80
|
return target;
|
|
81
81
|
}
|
|
82
82
|
import { defineComponent as _defineComponent } from 'vue';
|
|
83
|
-
import { unref as _unref, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment,
|
|
83
|
+
import { unref as _unref, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, createSlots as _createSlots } from "vue";
|
|
84
84
|
const _hoisted_1 = {
|
|
85
85
|
key: 0,
|
|
86
86
|
class: "g-text-14"
|
|
@@ -98,9 +98,7 @@ import RenderAutoHeightTextarea from '../../../render-auto-height-textarea/index
|
|
|
98
98
|
import Collapse from '../../../render-collapse/index.vue.js';
|
|
99
99
|
import DatasetDataToolIcons from '../dataset-data-tool-icons/index.vue.js';
|
|
100
100
|
import { useDatasetHttp } from '../../../../hooks/use-dataset-http.ts.js';
|
|
101
|
-
import { usePermission } from '../../../../hooks/use-permission.ts.js';
|
|
102
101
|
import useTable from '../../../../hooks/use-table.ts.js';
|
|
103
|
-
import { ResourcePermissionAction } from '../../../../types/enum.ts.js';
|
|
104
102
|
export default /*@__PURE__*/ _defineComponent({
|
|
105
103
|
props: {
|
|
106
104
|
modelValue: {
|
|
@@ -111,13 +109,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
111
109
|
apiPrefix: {},
|
|
112
110
|
schema: {},
|
|
113
111
|
spaceId: {},
|
|
114
|
-
search: {}
|
|
115
|
-
manageDataset: {
|
|
116
|
-
type: Boolean
|
|
117
|
-
},
|
|
118
|
-
isInternal: {
|
|
119
|
-
type: Boolean
|
|
120
|
-
}
|
|
112
|
+
search: {}
|
|
121
113
|
},
|
|
122
114
|
emits: [
|
|
123
115
|
"success-edit",
|
|
@@ -127,20 +119,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
127
119
|
const props = __props;
|
|
128
120
|
const emits = __emit;
|
|
129
121
|
const { updateDatasetData, getDatasetDataList } = useDatasetHttp(props.apiPrefix, toRef(props, 'spaceId'));
|
|
130
|
-
const { handleMouseEnter, handleMouseMove, handleMouseLeave, handleMouseClick } = usePermission(props.apiPrefix, toRef(props, 'spaceId'), '#4d4f56');
|
|
131
122
|
const renderFormData = ref();
|
|
132
123
|
const editFormData = ref();
|
|
133
124
|
const loading = ref(false);
|
|
134
125
|
const showEditKeys = ref([]);
|
|
135
126
|
const formRef = ref();
|
|
136
|
-
const handleCalcHasManagePermission = ()=>{
|
|
137
|
-
return !props.isInternal || props.manageDataset;
|
|
138
|
-
};
|
|
139
|
-
const handlePermissionMouseClick = (callBack)=>{
|
|
140
|
-
handleMouseClick(callBack, handleCalcHasManagePermission(), [
|
|
141
|
-
ResourcePermissionAction.ManageDataset
|
|
142
|
-
], props.datasetId);
|
|
143
|
-
};
|
|
144
127
|
const handleGetDatasetDataList = (params)=>{
|
|
145
128
|
return getDatasetDataList(_object_spread({
|
|
146
129
|
datasetId: props.datasetId
|
|
@@ -236,17 +219,13 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
236
219
|
loading: _unref(isLoading)
|
|
237
220
|
}, {
|
|
238
221
|
default: _withCtx(()=>[
|
|
239
|
-
_cache[
|
|
240
|
-
_cache[
|
|
222
|
+
_cache[0] || (_cache[0] = _createElementVNode("span", null, "编辑数据", -1 /* HOISTED */ )),
|
|
223
|
+
_cache[1] || (_cache[1] = _createElementVNode("span", {
|
|
241
224
|
class: "g-gap g-ml-14 g-mr-8"
|
|
242
225
|
}, null, -1 /* HOISTED */ )),
|
|
243
226
|
_unref(tableData)[0] ? (_openBlock(), _createElementBlock("span", _hoisted_1, _toDisplayString(`#${_unref(tableData)[0].id}`), 1 /* TEXT */ )) : _createCommentVNode("v-if", true)
|
|
244
227
|
]),
|
|
245
|
-
_: 1 /* STABLE */
|
|
246
|
-
__: [
|
|
247
|
-
2,
|
|
248
|
-
3
|
|
249
|
-
]
|
|
228
|
+
_: 1 /* STABLE */
|
|
250
229
|
}, 8 /* PROPS */ , [
|
|
251
230
|
"loading"
|
|
252
231
|
]),
|
|
@@ -293,17 +272,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
293
272
|
suffix: _withCtx(()=>[
|
|
294
273
|
_createElementVNode("span", _hoisted_2, [
|
|
295
274
|
_createVNode(_unref(EditLine), {
|
|
296
|
-
class:
|
|
297
|
-
|
|
298
|
-
'g-ml-10 g-text-blue g-cursor-pointer disable-click-toggle': true
|
|
299
|
-
}),
|
|
300
|
-
onMouseenter: _cache[0] || (_cache[0] = ($event)=>_unref(handleMouseEnter)(handleCalcHasManagePermission())),
|
|
301
|
-
onMousemove: _cache[1] || (_cache[1] = (event)=>_unref(handleMouseMove)(event, handleCalcHasManagePermission())),
|
|
302
|
-
onMouseleave: _unref(handleMouseLeave),
|
|
303
|
-
onClick: ($event)=>handlePermissionMouseClick(()=>handleEdit(key))
|
|
275
|
+
class: "g-ml-10 g-text-blue g-cursor-pointer disable-click-toggle",
|
|
276
|
+
onClick: ($event)=>handleEdit(key)
|
|
304
277
|
}, null, 8 /* PROPS */ , [
|
|
305
|
-
"class",
|
|
306
|
-
"onMouseleave",
|
|
307
278
|
"onClick"
|
|
308
279
|
]),
|
|
309
280
|
_createVNode(DatasetDataToolIcons, {
|
|
@@ -365,13 +336,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
365
336
|
loading: loading.value,
|
|
366
337
|
onClick: handleConfirm
|
|
367
338
|
}, {
|
|
368
|
-
default: _withCtx(()=>_cache[
|
|
339
|
+
default: _withCtx(()=>_cache[2] || (_cache[2] = [
|
|
369
340
|
_createTextVNode(" 保存 ")
|
|
370
341
|
])),
|
|
371
|
-
_: 1 /* STABLE */
|
|
372
|
-
__: [
|
|
373
|
-
4
|
|
374
|
-
]
|
|
342
|
+
_: 1 /* STABLE */
|
|
375
343
|
}, 8 /* PROPS */ , [
|
|
376
344
|
"loading"
|
|
377
345
|
])), [
|
|
@@ -388,13 +356,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
388
356
|
disabled: loading.value,
|
|
389
357
|
onClick: handleCancel
|
|
390
358
|
}, {
|
|
391
|
-
default: _withCtx(()=>_cache[
|
|
359
|
+
default: _withCtx(()=>_cache[3] || (_cache[3] = [
|
|
392
360
|
_createTextVNode(" 取消 ")
|
|
393
361
|
])),
|
|
394
|
-
_: 1 /* STABLE */
|
|
395
|
-
__: [
|
|
396
|
-
5
|
|
397
|
-
]
|
|
362
|
+
_: 1 /* STABLE */
|
|
398
363
|
}, 8 /* PROPS */ , [
|
|
399
364
|
"disabled"
|
|
400
365
|
])
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.content[data-v-
|
|
2
|
+
.content[data-v-rnxj8sev] {
|
|
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-rnxj8sev] {
|
|
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-rnxj8sev] .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-rnxj8sev";
|
|
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-6fng5ii8] {
|
|
3
3
|
padding: 0 24px 0px 32px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.content .toolbar[data-v-
|
|
6
|
+
.content .toolbar[data-v-6fng5ii8] {
|
|
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-6fng5ii8] {
|
|
14
14
|
width: 360px;
|
|
15
15
|
}
|
|
16
|
-
.content .toolbar .record-data-picker[data-v-
|
|
16
|
+
.content .toolbar .record-data-picker[data-v-6fng5ii8] {
|
|
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-6fng5ii8";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/operation-record/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|