@blueking/ai-ui-sdk 0.1.18-beta.4 → 0.1.18-beta.6
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/dataset-form.script.vue.js +4 -4
- 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/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 +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/components/search-dataset/index.script.vue.js.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-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/components/table.script.vue.js.js +9 -11
- 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-like/index.vue.css +5 -5
- package/dist/components/render-like/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-form-rule.d.ts +3 -3
- package/dist/hooks/use-meta-http.d.ts +3 -3
- package/dist/http/helper/dataset.ts.js +5 -1
- package/dist/types/enum.d.ts +1 -1
- package/dist/types/enum.ts.js +16 -16
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.aside-home[data-v-
|
|
2
|
+
.aside-home[data-v-s5u34qiv] {
|
|
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-s5u34qiv] .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-s5u34qiv] .aside-item.is-tab {
|
|
20
20
|
background: #F5F7FA;
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
color: #4D4F56;
|
|
23
23
|
}
|
|
24
|
-
[data-v-
|
|
24
|
+
[data-v-s5u34qiv] .aside-item.is-tab:hover {
|
|
25
25
|
background: #F0F5FF;
|
|
26
26
|
}
|
|
27
|
-
[data-v-
|
|
27
|
+
[data-v-s5u34qiv] .aside-item.active {
|
|
28
28
|
background: #F0F5FF;
|
|
29
29
|
color: #3A84FF;
|
|
30
30
|
font-weight: 700;
|
|
31
31
|
}
|
|
32
|
-
[data-v-
|
|
32
|
+
[data-v-s5u34qiv] .aside-item.active .tab-num {
|
|
33
33
|
background: #3A84FF;
|
|
34
34
|
color: #fff;
|
|
35
35
|
}
|
|
36
|
-
[data-v-
|
|
36
|
+
[data-v-s5u34qiv] .aside-item.active .active-text {
|
|
37
37
|
color: #3A84FF;
|
|
38
38
|
}
|
|
39
|
-
[data-v-
|
|
39
|
+
[data-v-s5u34qiv] .aside-item .tab-name {
|
|
40
40
|
flex: 1;
|
|
41
41
|
}
|
|
42
|
-
[data-v-
|
|
42
|
+
[data-v-s5u34qiv] .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-16s1fwyv] {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
5
|
-
.send-container[data-v-
|
|
5
|
+
.send-container[data-v-16s1fwyv]: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-16s1fwyv] {
|
|
9
9
|
display: inline-flex !important;
|
|
10
10
|
}
|
|
11
|
-
.send-input[data-v-
|
|
11
|
+
.send-input[data-v-16s1fwyv] {
|
|
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-16s1fwyv]:has(textarea:focus) {
|
|
17
17
|
height: var(--text-height);
|
|
18
18
|
}
|
|
19
|
-
.send-input[data-v-
|
|
19
|
+
.send-input[data-v-16s1fwyv] 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-16s1fwyv] textarea::-webkit-scrollbar {
|
|
26
26
|
width: 4px;
|
|
27
27
|
height: 4px;
|
|
28
28
|
}
|
|
29
|
-
.send-input[data-v-
|
|
29
|
+
.send-input[data-v-16s1fwyv] 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-16s1fwyv] textarea::placeholder {
|
|
35
35
|
line-height: 16px;
|
|
36
36
|
}
|
|
37
|
-
.send-clear[data-v-
|
|
37
|
+
.send-clear[data-v-16s1fwyv] {
|
|
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-16s1fwyv]:hover {
|
|
47
47
|
color: #313238;
|
|
48
48
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.auto-refresh[data-v-
|
|
2
|
+
.auto-refresh[data-v-syuylbmh] {
|
|
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-syuylbmh]: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-syuylbmh]:hover {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
background-color: #E1ECFF;
|
|
21
21
|
}
|
|
22
|
-
.refresh[data-v-
|
|
22
|
+
.refresh[data-v-syuylbmh] {
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
line-height: 26px;
|
|
25
25
|
padding: 0 4px;
|
|
26
26
|
}
|
|
27
|
-
.refresh[data-v-
|
|
27
|
+
.refresh[data-v-syuylbmh]:hover {
|
|
28
28
|
color: #3A84FF;
|
|
29
29
|
background-color: #E1ECFF;
|
|
30
30
|
}
|
|
31
|
-
.textarea-list[data-v-
|
|
31
|
+
.textarea-list[data-v-syuylbmh] {
|
|
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-syuylbmh] {
|
|
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-syuylbmh]: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-7fjg3u0g] {
|
|
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-7fjg3u0g] {
|
|
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-7fjg3u0g] {
|
|
17
17
|
background-color: #a3c5fd;
|
|
18
18
|
border-color: #a3c5fd;
|
|
19
19
|
}
|
|
20
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
20
|
+
.checkbox.disabled.indeterminate[data-v-7fjg3u0g] {
|
|
21
21
|
background-color: #fafbfd;
|
|
22
22
|
border-color: #dcdee5;
|
|
23
23
|
}
|
|
24
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
24
|
+
.checkbox.disabled.indeterminate[data-v-7fjg3u0g]:after {
|
|
25
25
|
background: #dcdee5;
|
|
26
26
|
}
|
|
27
|
-
.checkbox.checked[data-v-
|
|
27
|
+
.checkbox.checked[data-v-7fjg3u0g] {
|
|
28
28
|
background-color: #3a84ff;
|
|
29
29
|
border: 1px solid #3a84ff;
|
|
30
30
|
}
|
|
31
|
-
.checkbox.checked[data-v-
|
|
31
|
+
.checkbox.checked[data-v-7fjg3u0g]: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-7fjg3u0g] {
|
|
45
45
|
background-color: #3a84ff;
|
|
46
46
|
border: 1px solid #3a84ff;
|
|
47
47
|
}
|
|
48
|
-
.checkbox.indeterminate[data-v-
|
|
48
|
+
.checkbox.indeterminate[data-v-7fjg3u0g]: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-cci32vnb] {
|
|
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-cci32vnb] {
|
|
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-cci32vnb] {
|
|
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-cci32vnb] {
|
|
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-cci32vnb] {
|
|
24
24
|
margin-bottom: 0;
|
|
25
25
|
}
|
|
26
|
-
.plus-tag[data-v-
|
|
26
|
+
.plus-tag[data-v-cci32vnb] {
|
|
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-cci32vnb]: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-64kk864i] {
|
|
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-64kk864i] {
|
|
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-tj577ul5><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-tj577ul5></i><span class=\"g-text-12 click-full-screen\" data-v-tj577ul5>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-tj577ul5><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-tj577ul5></i><span class=\"g-text-12 click-un-full-screen\" data-v-tj577ul5>取消全屏</span></span>", 2))
|
|
43
43
|
]);
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.content[data-v-
|
|
2
|
+
.content[data-v-1w1h0vxx] {
|
|
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-1w1h0vxx] {
|
|
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-1w1h0vxx] .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-1w1h0vxx";
|
|
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-knpmz41z] {
|
|
3
3
|
padding: 0 24px 0px 32px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.content .toolbar[data-v-
|
|
6
|
+
.content .toolbar[data-v-knpmz41z] {
|
|
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-knpmz41z] {
|
|
14
14
|
width: 360px;
|
|
15
15
|
}
|
|
16
|
-
.content .toolbar .record-data-picker[data-v-
|
|
16
|
+
.content .toolbar .record-data-picker[data-v-knpmz41z] {
|
|
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-knpmz41z";
|
|
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-7wl7rcn5";
|
|
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-ks8u3i0b] {
|
|
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-ks8u3i0b] {
|
|
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-ks8u3i0b";
|
|
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;
|
|
@@ -9,7 +9,7 @@ const _hoisted_2 = {
|
|
|
9
9
|
import { onBeforeMount, ref, toRef } from 'vue';
|
|
10
10
|
import RenderAutoHeightTextarea from '../../../render-auto-height-textarea/index.vue.js';
|
|
11
11
|
import RenderChooseTag from '../../../render-choose-tag/index.vue.js';
|
|
12
|
-
import {
|
|
12
|
+
import { Module } from '../../../../enums.ts.js';
|
|
13
13
|
import { useDatasetHttp } from '../../../../hooks/use-dataset-http.ts.js';
|
|
14
14
|
import { useFormRule } from '../../../../hooks/use-form-rule.ts.js';
|
|
15
15
|
export default /*@__PURE__*/ _defineComponent({
|
|
@@ -34,10 +34,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
34
34
|
const { getNameRule, getCodeRule } = useFormRule(props.apiPrefix, toRef(props, 'spaceId'));
|
|
35
35
|
const rules = {
|
|
36
36
|
datasetName: [
|
|
37
|
-
getNameRule(
|
|
37
|
+
getNameRule(Module.Default)
|
|
38
38
|
],
|
|
39
39
|
datasetCode: [
|
|
40
|
-
getCodeRule(
|
|
40
|
+
getCodeRule(Module.Default)
|
|
41
41
|
]
|
|
42
42
|
};
|
|
43
43
|
const isLoadingComponentList = ref(false);
|
|
@@ -132,7 +132,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
132
132
|
_: 1 /* STABLE */
|
|
133
133
|
}),
|
|
134
134
|
_createVNode(_component_bk_form_item, {
|
|
135
|
-
label: "
|
|
135
|
+
label: "英文名",
|
|
136
136
|
property: "datasetCode",
|
|
137
137
|
required: ""
|
|
138
138
|
}, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
.dataset-data-content[data-v-
|
|
2
|
+
.dataset-data-content[data-v-7w2hxrmj] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.dataset-data-slider[data-v-
|
|
6
|
+
.dataset-data-slider[data-v-7w2hxrmj] .bk-modal-content {
|
|
7
7
|
scrollbar-gutter: inherit !important;
|
|
8
8
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
.dataset-data-api-endpoint[data-v-
|
|
2
|
+
.dataset-data-api-endpoint[data-v-pkht9ojk] {
|
|
3
3
|
line-height: 44px;
|
|
4
4
|
background: #F5F7FA;
|
|
5
5
|
border-radius: 2px;
|
|
6
6
|
padding: 0 12px;
|
|
7
7
|
}
|
|
8
|
-
[data-v-
|
|
8
|
+
[data-v-pkht9ojk] .dataset-data-api-demo .v-show-content {
|
|
9
9
|
padding: 0 !important;
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './api.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-pkht9ojk";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/plus-dataset-data/form/api.vue";
|
|
4
4
|
import './api.vue.css';
|
|
5
5
|
export default script;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './footer.script.vue.js.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-vrrm9yrt";
|
|
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-1s84fg11] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
}
|
|
5
|
-
.plus-dataset-sideslider[data-v-
|
|
5
|
+
.plus-dataset-sideslider[data-v-1s84fg11] .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-1s84fg11";
|
|
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-zf7njy88] {
|
|
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-zf7njy88] {
|
|
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-zf7njy88] {
|
|
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-zf7njy88] {
|
|
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-zf7njy88] {
|
|
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-zf7njy88] {
|
|
25
25
|
flex: 1;
|
|
26
26
|
}
|
|
27
|
-
.data-set-review-slider .bold-title[data-v-
|
|
27
|
+
.data-set-review-slider .bold-title[data-v-zf7njy88] .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-zf7njy88] .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-zf7njy88] .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-zf7njy88] .bk-modal-content >div, .data-set-review-slider[data-v-zf7njy88] .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-zf7njy88";
|
|
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;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.origin-data-content[data-v-
|
|
2
|
+
.origin-data-content[data-v-qwogfp4u] {
|
|
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-qwogfp4u] {
|
|
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-qwogfp4u] {
|
|
14
14
|
width: 6.17rem;
|
|
15
15
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.main-content[data-v-
|
|
2
|
+
.main-content[data-v-5uwd1iec] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
height: calc(100% - 52px);
|
|
5
5
|
}
|
|
6
|
-
.main-panel[data-v-
|
|
6
|
+
.main-panel[data-v-5uwd1iec] {
|
|
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-5uwd1iec] {
|
|
14
14
|
width: 6.17rem;
|
|
15
15
|
}
|
|
@@ -102,7 +102,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
102
102
|
field: 'datasetName'
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
|
-
label: '
|
|
105
|
+
label: '英文名',
|
|
106
106
|
field: 'datasetCode'
|
|
107
107
|
},
|
|
108
108
|
{
|
|
@@ -152,7 +152,8 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
152
152
|
'companyName',
|
|
153
153
|
'componentName'
|
|
154
154
|
],
|
|
155
|
-
'description'
|
|
155
|
+
'description',
|
|
156
|
+
'createdAt'
|
|
156
157
|
],
|
|
157
158
|
trigger: 'manual'
|
|
158
159
|
};
|
|
@@ -281,19 +282,21 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
281
282
|
_: 1 /* STABLE */
|
|
282
283
|
}),
|
|
283
284
|
_createVNode(_component_bk_table_column, {
|
|
284
|
-
label: "
|
|
285
|
+
label: "英文名",
|
|
285
286
|
field: "datasetCode"
|
|
286
287
|
}),
|
|
287
288
|
_createVNode(_component_bk_table_column, {
|
|
288
289
|
label: "数据量",
|
|
289
290
|
field: "datasetItemCount",
|
|
290
|
-
width: "80"
|
|
291
|
+
width: "80",
|
|
292
|
+
sort: true
|
|
291
293
|
}),
|
|
292
294
|
_ctx.reviewDataset ? (_openBlock(), _createBlock(_component_bk_table_column, {
|
|
293
295
|
key: 0,
|
|
294
296
|
label: "待审核数据量",
|
|
295
297
|
field: "datasetItemUnreviewedCount",
|
|
296
|
-
width: "120"
|
|
298
|
+
width: "120",
|
|
299
|
+
sort: true
|
|
297
300
|
})) : _createCommentVNode("v-if", true),
|
|
298
301
|
_createVNode(_component_bk_table_column, {
|
|
299
302
|
label: "类型",
|
|
@@ -337,14 +340,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
337
340
|
}),
|
|
338
341
|
_createVNode(_component_bk_table_column, {
|
|
339
342
|
label: "创建时间",
|
|
340
|
-
field: "
|
|
343
|
+
field: "createdAt",
|
|
341
344
|
"min-width": "180",
|
|
342
345
|
sort: true
|
|
343
|
-
}, {
|
|
344
|
-
default: _withCtx(({ row })=>[
|
|
345
|
-
_createTextVNode(_toDisplayString(row.createdAt), 1 /* TEXT */ )
|
|
346
|
-
]),
|
|
347
|
-
_: 1 /* STABLE */
|
|
348
346
|
}),
|
|
349
347
|
_createVNode(_component_bk_table_column, {
|
|
350
348
|
label: "操作",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.expend-collapse-home[data-v-
|
|
2
|
+
.expend-collapse-home[data-v-sryqxjw5] {
|
|
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-sryqxjw5]:hover {
|
|
19
19
|
background: #979BA5;
|
|
20
20
|
}
|
|
21
|
-
.expend-collapse-home.is-close[data-v-
|
|
21
|
+
.expend-collapse-home.is-close[data-v-sryqxjw5] {
|
|
22
22
|
left: 0;
|
|
23
23
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
.upload-file-home[data-v-
|
|
2
|
+
.upload-file-home[data-v-8j1ly1k9] {
|
|
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-8j1ly1k9]: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-8j1ly1k9] {
|
|
13
13
|
display: flex;
|
|
14
14
|
}
|
|
15
|
-
.upload-file-home .file-icon[data-v-
|
|
15
|
+
.upload-file-home .file-icon[data-v-8j1ly1k9] {
|
|
16
16
|
font-size: 32px;
|
|
17
17
|
}
|
|
18
|
-
.upload-file-home .file-content[data-v-
|
|
18
|
+
.upload-file-home .file-content[data-v-8j1ly1k9] {
|
|
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-8j1ly1k9] {
|
|
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-8j1ly1k9] {
|
|
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-8j1ly1k9] {
|
|
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-8j1ly1k9] {
|
|
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-8j1ly1k9]: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-8j1ly1k9] {
|
|
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-o2syjqez] {
|
|
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-o2syjqez], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-o2syjqez], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-o2syjqez] {
|
|
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-o2syjqez] {
|
|
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-o2syjqez] {
|
|
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-o2syjqez] {
|
|
15
15
|
color: #14A568;
|
|
16
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.header-home[data-v-
|
|
2
|
+
.header-home[data-v-ngz13itt] {
|
|
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-ngz13itt] {
|
|
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-ngz13itt] {
|
|
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-ngz13itt] {
|
|
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-ngz13itt] {
|
|
32
32
|
width: 300px;
|
|
33
33
|
font-size: 12px;
|
|
34
34
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
.dislike-icon[data-v-
|
|
2
|
+
.dislike-icon[data-v-zddi4lho] {
|
|
3
3
|
transform: rotateX(180deg);
|
|
4
4
|
}
|
|
5
|
-
.option-items[data-v-
|
|
5
|
+
.option-items[data-v-zddi4lho] {
|
|
6
6
|
padding: 1px 8px;
|
|
7
7
|
background-color: #F0F1F5;
|
|
8
8
|
border-radius: 2px;
|
|
9
9
|
}
|
|
10
|
-
.option-items[data-v-
|
|
10
|
+
.option-items[data-v-zddi4lho]:hover {
|
|
11
11
|
background-color: #E1ECFF;
|
|
12
12
|
color: #3A84FF;
|
|
13
13
|
}
|
|
14
|
-
.option-items-selected[data-v-
|
|
14
|
+
.option-items-selected[data-v-zddi4lho]{
|
|
15
15
|
background-color: #E1ECFF;
|
|
16
16
|
}
|
|
17
|
-
[data-v-
|
|
17
|
+
[data-v-zddi4lho] .bk-form-item {
|
|
18
18
|
margin-bottom: 17px;
|
|
19
19
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.router-tab[data-v-
|
|
2
|
+
.router-tab[data-v-pihyzsfs] {
|
|
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-pihyzsfs] {
|
|
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-pihyzsfs] {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { Module } from '@/types/enum';
|
|
3
3
|
export declare const useFormRule: (apiPrefix: string, spaceId?: Ref<string>) => {
|
|
4
4
|
codeRule: {
|
|
5
5
|
validator: (value: string) => boolean;
|
|
@@ -11,12 +11,12 @@ export declare const useFormRule: (apiPrefix: string, spaceId?: Ref<string>) =>
|
|
|
11
11
|
message: string;
|
|
12
12
|
trigger: string;
|
|
13
13
|
};
|
|
14
|
-
getNameRule: (type:
|
|
14
|
+
getNameRule: (type: Module) => {
|
|
15
15
|
validator: (value: string) => Promise<boolean>;
|
|
16
16
|
message: () => string;
|
|
17
17
|
trigger: string;
|
|
18
18
|
};
|
|
19
|
-
getCodeRule: (type:
|
|
19
|
+
getCodeRule: (type: Module, getIsEdit?: () => boolean, getData?: () => Record<string, unknown>) => {
|
|
20
20
|
validator: (value: string) => Promise<boolean>;
|
|
21
21
|
message: () => string;
|
|
22
22
|
trigger: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { Module } from '@/types/enum';
|
|
3
3
|
import type { ITagApi } from '@/types/meta';
|
|
4
4
|
export declare const useMetaHttp: (apiPrefix: string, spaceId?: Ref<string>) => {
|
|
5
|
-
nameValidator: (name: string, type:
|
|
5
|
+
nameValidator: (name: string, type: Module) => () => Promise<{
|
|
6
6
|
data: boolean;
|
|
7
7
|
message: string;
|
|
8
8
|
}>;
|
|
9
|
-
codeValidator: (code: string, type:
|
|
9
|
+
codeValidator: (code: string, type: Module, data?: Record<string, unknown>) => () => Promise<{
|
|
10
10
|
data: boolean;
|
|
11
11
|
message: string;
|
|
12
12
|
}>;
|
|
@@ -181,7 +181,11 @@ import { transferResourcePermission } from './permission.ts.js';
|
|
|
181
181
|
generate_type: data === null || data === void 0 ? void 0 : data.generateType,
|
|
182
182
|
page: data === null || data === void 0 ? void 0 : data.page,
|
|
183
183
|
limit: data === null || data === void 0 ? void 0 : data.limit,
|
|
184
|
-
order_by: data === null || data === void 0 ? void 0 : data.order_by
|
|
184
|
+
order_by: (data === null || data === void 0 ? void 0 : data.order_by) ? ({
|
|
185
|
+
datasetItemCount: 'dataset_item_count',
|
|
186
|
+
datasetItemUnreviewedCount: 'dataset_item_unreviewed_count',
|
|
187
|
+
createdAt: 'created_at'
|
|
188
|
+
})[data.order_by] : undefined,
|
|
185
189
|
order_method: data === null || data === void 0 ? void 0 : data.order_method
|
|
186
190
|
};
|
|
187
191
|
};
|
package/dist/types/enum.d.ts
CHANGED
package/dist/types/enum.ts.js
CHANGED
|
@@ -154,22 +154,22 @@ export var DatasetDataOperatRecordResultCode;
|
|
|
154
154
|
DatasetDataOperatRecordResultCode[DatasetDataOperatRecordResultCode["Success"] = 0] = "Success";
|
|
155
155
|
DatasetDataOperatRecordResultCode[DatasetDataOperatRecordResultCode["Failed"] = 1] = "Failed";
|
|
156
156
|
})(DatasetDataOperatRecordResultCode || (DatasetDataOperatRecordResultCode = {}));
|
|
157
|
-
export var
|
|
158
|
-
(function(
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
})(
|
|
157
|
+
export var Module;
|
|
158
|
+
(function(Module) {
|
|
159
|
+
Module["Knowledgebase"] = "knowledgebase";
|
|
160
|
+
Module["Knowledge"] = "knowledge";
|
|
161
|
+
Module["Prompt"] = "prompt";
|
|
162
|
+
Module["Tool"] = "tool";
|
|
163
|
+
Module["Collection"] = "collection";
|
|
164
|
+
Module["Agent"] = "agent";
|
|
165
|
+
Module["AgentCommand"] = "agent_command";
|
|
166
|
+
Module["AgentCommandComponent"] = "agent_command_component";
|
|
167
|
+
Module["LLM"] = "llm";
|
|
168
|
+
Module["Tag"] = "tag";
|
|
169
|
+
Module["Mcp"] = "mcp";
|
|
170
|
+
Module["Default"] = "default";
|
|
171
|
+
Module["PromptVariables"] = "prompt_variables";
|
|
172
|
+
})(Module || (Module = {}));
|
|
173
173
|
export var ResourcePermissionAction;
|
|
174
174
|
(function(ResourcePermissionAction) {
|
|
175
175
|
ResourcePermissionAction["AccessModel"] = "access_model";
|