@blueking/ai-ui-sdk 0.1.19-beta.30 → 0.1.19-beta.31
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/common/util.d.ts +7 -0
- package/dist/common/util.ts.js +8 -0
- 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.script.vue.js +1 -0
- 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/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-detail-origin-data/index.vue.css +3 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/index.vue.css +2 -2
- package/dist/components/render-dataset-list/index.vue.js +1 -1
- package/dist/components/render-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 +3 -3
- 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/components/render-t-table/index.vue.css +25 -36
- package/dist/components/render-t-table/index.vue.js +1 -1
- package/dist/components/render-tag-tree/index.script.vue.js.js +65 -1
- package/dist/components/render-tag-tree/index.vue.css +7 -7
- package/dist/components/render-tag-tree/index.vue.js +1 -1
- package/dist/css/tailwind.css +4 -0
- package/package.json +1 -1
package/dist/common/util.d.ts
CHANGED
|
@@ -119,3 +119,10 @@ export declare const random: (n?: number, str?: string) => string;
|
|
|
119
119
|
* @returns traceparent
|
|
120
120
|
*/
|
|
121
121
|
export declare const getTraceparent: () => string;
|
|
122
|
+
/**
|
|
123
|
+
* 判断搜索文本是否匹配
|
|
124
|
+
* @param text 文本
|
|
125
|
+
* @param search 搜索内容
|
|
126
|
+
* @returns 是否匹配
|
|
127
|
+
*/
|
|
128
|
+
export declare function isSearchMatch(text: string, search: string): boolean;
|
package/dist/common/util.ts.js
CHANGED
|
@@ -292,3 +292,11 @@ export const handleCopy = (text)=>{
|
|
|
292
292
|
*/ export const getTraceparent = ()=>{
|
|
293
293
|
return `00-${random(32, 'abcdef0123456789')}-${random(16, 'abcdef0123456789')}-01`;
|
|
294
294
|
};
|
|
295
|
+
/**
|
|
296
|
+
* 判断搜索文本是否匹配
|
|
297
|
+
* @param text 文本
|
|
298
|
+
* @param search 搜索内容
|
|
299
|
+
* @returns 是否匹配
|
|
300
|
+
*/ export function isSearchMatch(text, search) {
|
|
301
|
+
return !search || text.toLowerCase().includes(search.toLowerCase());
|
|
302
|
+
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
|
|
2
|
-
.send-container[data-v-
|
|
2
|
+
.send-container[data-v-eypmd3am] {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
5
|
-
.send-container[data-v-
|
|
5
|
+
.send-container[data-v-eypmd3am]: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-eypmd3am] {
|
|
9
9
|
display: inline-flex !important;
|
|
10
10
|
}
|
|
11
|
-
.send-input[data-v-
|
|
11
|
+
.send-input[data-v-eypmd3am] {
|
|
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-eypmd3am]:has(textarea:focus) {
|
|
17
17
|
height: var(--text-height);
|
|
18
18
|
}
|
|
19
|
-
.send-input[data-v-
|
|
19
|
+
.send-input[data-v-eypmd3am] 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-eypmd3am] textarea::-webkit-scrollbar {
|
|
26
26
|
width: 4px;
|
|
27
27
|
height: 4px;
|
|
28
28
|
}
|
|
29
|
-
.send-input[data-v-
|
|
29
|
+
.send-input[data-v-eypmd3am] 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-eypmd3am] textarea::placeholder {
|
|
35
35
|
line-height: 16px;
|
|
36
36
|
}
|
|
37
|
-
.send-clear[data-v-
|
|
37
|
+
.send-clear[data-v-eypmd3am] {
|
|
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-eypmd3am]:hover {
|
|
47
47
|
color: #313238;
|
|
48
48
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.auto-refresh[data-v-
|
|
2
|
+
.auto-refresh[data-v-197lluel] {
|
|
3
3
|
position: relative;
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
line-height: 26px;
|
|
6
6
|
padding: 0 4px;
|
|
7
7
|
white-space: nowrap;
|
|
8
8
|
}
|
|
9
|
-
.auto-refresh[data-v-
|
|
9
|
+
.auto-refresh[data-v-197lluel]:after {
|
|
10
10
|
content: '';
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: 5px;
|
|
@@ -16,31 +16,31 @@
|
|
|
16
16
|
background-color: #dcdee5;
|
|
17
17
|
z-index: 1;
|
|
18
18
|
}
|
|
19
|
-
.auto-refresh[data-v-
|
|
19
|
+
.auto-refresh[data-v-197lluel]:hover {
|
|
20
20
|
color: #3A84FF;
|
|
21
21
|
background-color: #E1ECFF;
|
|
22
22
|
}
|
|
23
|
-
.refresh[data-v-
|
|
23
|
+
.refresh[data-v-197lluel] {
|
|
24
24
|
cursor: pointer;
|
|
25
25
|
line-height: 26px;
|
|
26
26
|
padding: 0 4px;
|
|
27
27
|
}
|
|
28
|
-
.refresh[data-v-
|
|
28
|
+
.refresh[data-v-197lluel]:hover {
|
|
29
29
|
color: #3A84FF;
|
|
30
30
|
background-color: #E1ECFF;
|
|
31
31
|
}
|
|
32
|
-
.textarea-list[data-v-
|
|
32
|
+
.textarea-list[data-v-197lluel] {
|
|
33
33
|
padding: 4px 0;
|
|
34
34
|
line-height: 32px;
|
|
35
35
|
max-height: 300px;
|
|
36
36
|
position: relative;
|
|
37
37
|
z-index: 2;
|
|
38
38
|
}
|
|
39
|
-
.textarea-list .textarea-item[data-v-
|
|
39
|
+
.textarea-list .textarea-item[data-v-197lluel] {
|
|
40
40
|
padding: 0 12px;
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
}
|
|
43
|
-
.textarea-list .textarea-item[data-v-
|
|
43
|
+
.textarea-list .textarea-item[data-v-197lluel]:hover {
|
|
44
44
|
background: #E1ECFF;
|
|
45
45
|
color: #3A84FF;
|
|
46
46
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.checkbox[data-v-
|
|
2
|
+
.checkbox[data-v-hg8ekks3] {
|
|
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-hg8ekks3] {
|
|
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-hg8ekks3] {
|
|
17
17
|
background-color: #a3c5fd;
|
|
18
18
|
border-color: #a3c5fd;
|
|
19
19
|
}
|
|
20
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
20
|
+
.checkbox.disabled.indeterminate[data-v-hg8ekks3] {
|
|
21
21
|
background-color: #fafbfd;
|
|
22
22
|
border-color: #dcdee5;
|
|
23
23
|
}
|
|
24
|
-
.checkbox.disabled.indeterminate[data-v-
|
|
24
|
+
.checkbox.disabled.indeterminate[data-v-hg8ekks3]:after {
|
|
25
25
|
background: #dcdee5;
|
|
26
26
|
}
|
|
27
|
-
.checkbox.checked[data-v-
|
|
27
|
+
.checkbox.checked[data-v-hg8ekks3] {
|
|
28
28
|
background-color: #3a84ff;
|
|
29
29
|
border: 1px solid #3a84ff;
|
|
30
30
|
}
|
|
31
|
-
.checkbox.checked[data-v-
|
|
31
|
+
.checkbox.checked[data-v-hg8ekks3]: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-hg8ekks3] {
|
|
45
45
|
background-color: #3a84ff;
|
|
46
46
|
border: 1px solid #3a84ff;
|
|
47
47
|
}
|
|
48
|
-
.checkbox.indeterminate[data-v-
|
|
48
|
+
.checkbox.indeterminate[data-v-hg8ekks3]: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-0ioil6sp] {
|
|
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-0ioil6sp] {
|
|
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-0ioil6sp] {
|
|
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-0ioil6sp] {
|
|
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-0ioil6sp] {
|
|
24
24
|
margin-bottom: 0;
|
|
25
25
|
}
|
|
26
|
-
.plus-tag[data-v-
|
|
26
|
+
.plus-tag[data-v-0ioil6sp] {
|
|
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-0ioil6sp]: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-nctoytv1] {
|
|
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-nctoytv1] {
|
|
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-3stjni4o><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-3stjni4o></i><span class=\"g-text-12 click-full-screen\" data-v-3stjni4o>全屏</span></span><span class=\"click-un-full-screen g-cursor-pointer g-flex-row\" data-v-3stjni4o><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-3stjni4o></i><span class=\"g-text-12 click-un-full-screen\" data-v-3stjni4o>取消全屏</span></span>", 2))
|
|
43
43
|
]);
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.content[data-v-
|
|
2
|
+
.content[data-v-r6f8ai8f] {
|
|
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-r6f8ai8f] {
|
|
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-r6f8ai8f] .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-r6f8ai8f";
|
|
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-3hzzrn56] {
|
|
3
3
|
padding: 0 24px 0px 32px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.content .toolbar[data-v-
|
|
6
|
+
.content .toolbar[data-v-3hzzrn56] {
|
|
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-3hzzrn56] {
|
|
14
14
|
width: 360px;
|
|
15
15
|
}
|
|
16
|
-
.content .toolbar .record-data-picker[data-v-
|
|
16
|
+
.content .toolbar .record-data-picker[data-v-3hzzrn56] {
|
|
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-3hzzrn56";
|
|
3
3
|
script.__file = "./src/components/render-dataset/components/operation-record/index.vue";
|
|
4
4
|
import './index.vue.css';
|
|
5
5
|
export default script;
|
package/dist/components/render-dataset/components/operation-record/table/index.script.vue.js
CHANGED
|
@@ -64,6 +64,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
64
64
|
_createVNode2(_resolveComponent("bk-popover"), {
|
|
65
65
|
"arrow": false,
|
|
66
66
|
"theme": "light",
|
|
67
|
+
"placement": "left",
|
|
67
68
|
"ext-cls": "g-max-width-400 g-white-space-pre-line g-max-height-80vh g-scrollbar-page",
|
|
68
69
|
"content": _createVNode2("span", null, [
|
|
69
70
|
Object.entries(row.instanceData || {}).map(([key, value])=>_createVNode2("span", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import script from './index.script.vue.js';
|
|
2
|
-
script.__scopeId = "data-v-
|
|
2
|
+
script.__scopeId = "data-v-ysncaigs";
|
|
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-ns2vph54] {
|
|
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-ns2vph54] {
|
|
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-ns2vph54";
|
|
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-g36l3y0u] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.dataset-data-slider[data-v-
|
|
6
|
+
.dataset-data-slider[data-v-g36l3y0u] .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-wtt7723y] {
|
|
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-wtt7723y] .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-wtt7723y";
|
|
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-6c1gxacm";
|
|
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-h26fuzrs] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
}
|
|
5
|
-
.plus-dataset-sideslider[data-v-
|
|
5
|
+
.plus-dataset-sideslider[data-v-h26fuzrs] .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-h26fuzrs";
|
|
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-n2yvvb5f] {
|
|
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-n2yvvb5f] {
|
|
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-n2yvvb5f] {
|
|
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-n2yvvb5f] {
|
|
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-n2yvvb5f] {
|
|
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-n2yvvb5f] {
|
|
25
25
|
flex: 1;
|
|
26
26
|
}
|
|
27
|
-
.data-set-review-slider .bold-title[data-v-
|
|
27
|
+
.data-set-review-slider .bold-title[data-v-n2yvvb5f] .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-n2yvvb5f] .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-n2yvvb5f] .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-n2yvvb5f] .bk-modal-content >div, .data-set-review-slider[data-v-n2yvvb5f] .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-n2yvvb5f";
|
|
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-qtrdekeu] {
|
|
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-qtrdekeu] {
|
|
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-qtrdekeu] {
|
|
14
14
|
width: 6.17rem;
|
|
15
15
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.main-content[data-v-
|
|
2
|
+
.main-content[data-v-vvfnoc1b] {
|
|
3
3
|
padding: 20px 24px;
|
|
4
4
|
height: 100%;
|
|
5
5
|
}
|
|
6
|
-
.main-panel[data-v-
|
|
6
|
+
.main-panel[data-v-vvfnoc1b] {
|
|
7
7
|
height: 100%;
|
|
8
8
|
padding: 20px 24px 24px;
|
|
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-vvfnoc1b] {
|
|
14
14
|
width: 6.17rem;
|
|
15
15
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
.upload-file-home[data-v-
|
|
2
|
+
.upload-file-home[data-v-9vdv3uov] {
|
|
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-9vdv3uov]: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-9vdv3uov] {
|
|
13
13
|
display: flex;
|
|
14
14
|
}
|
|
15
|
-
.upload-file-home .file-icon[data-v-
|
|
15
|
+
.upload-file-home .file-icon[data-v-9vdv3uov] {
|
|
16
16
|
font-size: 32px;
|
|
17
17
|
}
|
|
18
|
-
.upload-file-home .file-content[data-v-
|
|
18
|
+
.upload-file-home .file-content[data-v-9vdv3uov] {
|
|
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-9vdv3uov] {
|
|
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-9vdv3uov] {
|
|
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-9vdv3uov] {
|
|
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-9vdv3uov] {
|
|
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-9vdv3uov]: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-9vdv3uov] {
|
|
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-tfcskv6w] {
|
|
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-tfcskv6w], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-tfcskv6w], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-tfcskv6w] {
|
|
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-tfcskv6w] {
|
|
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-tfcskv6w] {
|
|
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-tfcskv6w] {
|
|
15
15
|
color: #14A568;
|
|
16
16
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
.header-home[data-v-
|
|
2
|
+
.header-home[data-v-1mdim0hp] {
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: #FFFFFF;
|
|
5
5
|
box-shadow: 0 3px 4px 0 #0000000a;
|
|
6
6
|
}
|
|
7
|
-
.render-tab[data-v-
|
|
7
|
+
.render-tab[data-v-1mdim0hp] {
|
|
8
8
|
border-bottom: 2px solid transparent;
|
|
9
9
|
}
|
|
10
|
-
.render-tab.active[data-v-
|
|
10
|
+
.render-tab.active[data-v-1mdim0hp] {
|
|
11
11
|
color: #3A84FF;
|
|
12
12
|
border-bottom: 2px solid #3A84FF;
|
|
13
13
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
.dislike-icon[data-v-
|
|
2
|
+
.dislike-icon[data-v-j1rei3l3] {
|
|
3
3
|
transform: rotateX(180deg);
|
|
4
4
|
}
|
|
5
|
-
.option-items[data-v-
|
|
5
|
+
.option-items[data-v-j1rei3l3] {
|
|
6
6
|
padding: 1px 8px;
|
|
7
7
|
background-color: #F0F1F5;
|
|
8
8
|
line-height: 22px;
|
|
9
9
|
border-radius: 2px;
|
|
10
10
|
}
|
|
11
|
-
.option-items[data-v-
|
|
11
|
+
.option-items[data-v-j1rei3l3]:hover {
|
|
12
12
|
background-color: #E1ECFF;
|
|
13
13
|
color: #3A84FF;
|
|
14
14
|
}
|
|
15
|
-
.option-items-selected[data-v-
|
|
15
|
+
.option-items-selected[data-v-j1rei3l3]{
|
|
16
16
|
background-color: #E1ECFF;
|
|
17
17
|
}
|
|
18
|
-
[data-v-
|
|
18
|
+
[data-v-j1rei3l3] .bk-form-item {
|
|
19
19
|
margin-bottom: 17px;
|
|
20
20
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.router-tab[data-v-
|
|
2
|
+
.router-tab[data-v-ad6fk80h] {
|
|
3
3
|
margin-top: 2px;
|
|
4
4
|
height: 42px;
|
|
5
5
|
background: #FFFFFF;
|
|
6
6
|
box-shadow: 0 2px 4px 0 #1919290d;
|
|
7
7
|
padding: 0 24px;
|
|
8
8
|
}
|
|
9
|
-
.router-tab a[data-v-
|
|
9
|
+
.router-tab a[data-v-ad6fk80h] {
|
|
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-ad6fk80h] {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
|
21
21
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.t-t-pagination[data-v-
|
|
2
|
+
.t-t-pagination[data-v-w6nqpii5] {
|
|
3
3
|
position: relative;
|
|
4
4
|
padding: 16px 16px 0 16px;
|
|
5
5
|
}
|
|
6
|
-
.t-t-pagination[data-v-
|
|
6
|
+
.t-t-pagination[data-v-w6nqpii5] .bk-pagination-list.is-last {
|
|
7
7
|
margin-left: auto;
|
|
8
8
|
}
|
|
9
|
-
.pagination-loading[data-v-
|
|
9
|
+
.pagination-loading[data-v-w6nqpii5]::after {
|
|
10
10
|
content: '';
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: 0;
|
|
@@ -16,95 +16,84 @@
|
|
|
16
16
|
background-color: rgba(255, 255, 255, 0.6);
|
|
17
17
|
z-index: 72;
|
|
18
18
|
}
|
|
19
|
-
.t-t-table[data-v-
|
|
19
|
+
.t-t-table[data-v-w6nqpii5] {
|
|
20
20
|
display: inline;
|
|
21
21
|
font-size: 12px;
|
|
22
22
|
}
|
|
23
|
-
.t-t-table[data-v-
|
|
23
|
+
.t-t-table[data-v-w6nqpii5] .t-table__th-cell-inner {
|
|
24
24
|
color: #313238;
|
|
25
25
|
}
|
|
26
|
-
.t-t-table[data-v-
|
|
26
|
+
.t-t-table[data-v-w6nqpii5] th {
|
|
27
27
|
padding: 0 16px;
|
|
28
28
|
height: 42px;
|
|
29
29
|
background-color: #FAFBFD !important;
|
|
30
30
|
}
|
|
31
|
-
.t-t-table[data-v-
|
|
31
|
+
.t-t-table[data-v-w6nqpii5] .t-table__body tr {
|
|
32
32
|
color: #63656e;
|
|
33
33
|
font-size: 12px;
|
|
34
34
|
}
|
|
35
|
-
.t-t-table[data-v-
|
|
35
|
+
.t-t-table[data-v-w6nqpii5] .t-table__body tr td {
|
|
36
36
|
padding: 0 16px;
|
|
37
37
|
height: 40px;
|
|
38
38
|
background-color: #fff;
|
|
39
39
|
}
|
|
40
|
-
.t-t-table[data-v-
|
|
40
|
+
.t-t-table[data-v-w6nqpii5] .t-table__body tr:hover td {
|
|
41
41
|
background-color: #f5f7fa !important;
|
|
42
42
|
color: #63656E;
|
|
43
43
|
}
|
|
44
|
-
.t-t-table[data-v-
|
|
44
|
+
.t-t-table[data-v-w6nqpii5] .t-table__content .t-table__body .t-table__empty-row {
|
|
45
45
|
background-color: #fff !important;
|
|
46
46
|
}
|
|
47
|
-
.t-t-table[data-v-
|
|
47
|
+
.t-t-table[data-v-w6nqpii5] .t-table__content .t-table__body .t-table__empty-row >td {
|
|
48
48
|
border: none;
|
|
49
49
|
}
|
|
50
|
-
.t-t-table[data-v-
|
|
50
|
+
.t-t-table[data-v-w6nqpii5] th .t-table__ellipsis {
|
|
51
51
|
width: auto !important;
|
|
52
52
|
}
|
|
53
|
-
.t-t-table[data-v-
|
|
54
|
-
border: none;
|
|
55
|
-
}
|
|
56
|
-
.t-t-table[data-v-9d4dvxb4] .t-loading__gradient.t-icon-loading {
|
|
53
|
+
.t-t-table[data-v-w6nqpii5] .t-loading__gradient.t-icon-loading {
|
|
57
54
|
display: none;
|
|
58
55
|
}
|
|
59
|
-
.t-t-table[data-v-
|
|
56
|
+
.t-t-table[data-v-w6nqpii5]:first-of-type .t-table__affixed-header-elm-wrap{
|
|
60
57
|
width: calc(100% - 6px) !important;
|
|
61
58
|
}
|
|
62
|
-
.t-t-table[data-v-
|
|
63
|
-
top: -2px;
|
|
64
|
-
}
|
|
65
|
-
.t-t-table[data-v-9d4dvxb4] .t-table__affixed-header-elm-wrap>div {
|
|
59
|
+
.t-t-table[data-v-w6nqpii5] .t-table__affixed-header-elm-wrap>div {
|
|
66
60
|
width: 100% !important;
|
|
67
|
-
top: -2px;
|
|
68
61
|
scrollbar-width: none;
|
|
69
62
|
}
|
|
70
|
-
.t-t-table[data-v-
|
|
63
|
+
.t-t-table[data-v-w6nqpii5] .t-table--layout-fixed{
|
|
71
64
|
width: 100% !important;
|
|
72
65
|
}
|
|
73
|
-
.t-t-table[data-v-
|
|
66
|
+
.t-t-table[data-v-w6nqpii5] .bk-exception-description{
|
|
74
67
|
margin-bottom: 0;
|
|
75
68
|
}
|
|
76
|
-
.t-t-table[data-v-
|
|
77
|
-
position: sticky;
|
|
78
|
-
top: -4px;
|
|
79
|
-
}
|
|
80
|
-
.t-t-table[data-v-9d4dvxb4] .t-table__content{
|
|
69
|
+
.t-t-table[data-v-w6nqpii5] .t-table__content{
|
|
81
70
|
z-index: 2;
|
|
82
71
|
max-height: 100%;
|
|
83
72
|
overflow: auto;
|
|
84
73
|
}
|
|
85
|
-
.t-t-table[data-v-
|
|
74
|
+
.t-t-table[data-v-w6nqpii5] .t-table__content::-webkit-scrollbar {
|
|
86
75
|
width: 6px;
|
|
87
76
|
height: 6px;
|
|
88
77
|
}
|
|
89
|
-
.t-t-table[data-v-
|
|
78
|
+
.t-t-table[data-v-w6nqpii5] .t-table__content::-webkit-scrollbar-thumb {
|
|
90
79
|
width: 6px;
|
|
91
80
|
height: 6px;
|
|
92
81
|
border-radius: 3px;
|
|
93
82
|
background-color: #dcdee5;
|
|
94
83
|
}
|
|
95
|
-
.t-t-table[data-v-
|
|
84
|
+
.t-t-table[data-v-w6nqpii5] .t-table__content::-webkit-scrollbar-thumb:hover {
|
|
96
85
|
background-color: #979ba5;
|
|
97
86
|
}
|
|
98
|
-
.t-t-table[data-v-
|
|
87
|
+
.t-t-table[data-v-w6nqpii5] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
|
|
99
88
|
line-height: 100%;
|
|
100
89
|
}
|
|
101
|
-
.t-t-table[data-v-
|
|
90
|
+
.t-t-table[data-v-w6nqpii5] .t-table__cell--sort-trigger.t-table__double-icons{
|
|
102
91
|
gap: 5px;
|
|
103
92
|
}
|
|
104
|
-
.t-t-table[data-v-
|
|
93
|
+
.t-t-table[data-v-w6nqpii5] .t-table__sort-icon--active>i{
|
|
105
94
|
color: #3a84ff !important;
|
|
106
95
|
}
|
|
107
|
-
.t-t-table[data-v-
|
|
96
|
+
.t-t-table[data-v-w6nqpii5] .t-table__cell--fixed-left:has(.checkbox){
|
|
108
97
|
line-height: 100%;
|
|
109
98
|
}
|
|
110
99
|
|
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
2
|
+
try {
|
|
3
|
+
var info = gen[key](arg);
|
|
4
|
+
var value = info.value;
|
|
5
|
+
} catch (error) {
|
|
6
|
+
reject(error);
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
if (info.done) {
|
|
10
|
+
resolve(value);
|
|
11
|
+
} else {
|
|
12
|
+
Promise.resolve(value).then(_next, _throw);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function _async_to_generator(fn) {
|
|
16
|
+
return function() {
|
|
17
|
+
var self = this, args = arguments;
|
|
18
|
+
return new Promise(function(resolve, reject) {
|
|
19
|
+
var gen = fn.apply(self, args);
|
|
20
|
+
function _next(value) {
|
|
21
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
22
|
+
}
|
|
23
|
+
function _throw(err) {
|
|
24
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
25
|
+
}
|
|
26
|
+
_next(undefined);
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
}
|
|
1
30
|
import { defineComponent as _defineComponent } from 'vue';
|
|
2
31
|
import { resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveDirective as _resolveDirective, withCtx as _withCtx, createBlock as _createBlock, withDirectives as _withDirectives } from "vue";
|
|
3
32
|
const _hoisted_1 = {
|
|
@@ -14,6 +43,7 @@ const _hoisted_4 = {
|
|
|
14
43
|
class: "tag-number g-number-font"
|
|
15
44
|
};
|
|
16
45
|
import { ref, toRef, watch } from 'vue';
|
|
46
|
+
import { isSearchMatch } from '../../common/util.ts.js';
|
|
17
47
|
import RenderTree from '../render-tree/index.vue.js';
|
|
18
48
|
import { useCommonHttp } from '../../hooks/use-common-http.ts.js';
|
|
19
49
|
export default /*@__PURE__*/ _defineComponent({
|
|
@@ -60,6 +90,32 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
60
90
|
emit('update:tag-id', undefined);
|
|
61
91
|
}
|
|
62
92
|
};
|
|
93
|
+
// 设置搜索命中的展开节点
|
|
94
|
+
const handleSetSearchOpenedIds = (datas, search)=>{
|
|
95
|
+
if (!search) {
|
|
96
|
+
openedIds.value = [];
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
// 递归搜索
|
|
100
|
+
const recursiveSearch = (datas, search)=>{
|
|
101
|
+
let isHit = false;
|
|
102
|
+
// 直接子节点命中
|
|
103
|
+
isHit = !!(datas === null || datas === void 0 ? void 0 : datas.find((item)=>isSearchMatch(item.tagName, search)));
|
|
104
|
+
// 递归子节点
|
|
105
|
+
datas === null || datas === void 0 ? void 0 : datas.forEach((data)=>{
|
|
106
|
+
const isChildHit = recursiveSearch(data.children || [], search);
|
|
107
|
+
if (isChildHit) {
|
|
108
|
+
isHit = true;
|
|
109
|
+
const nodeId = data.tagId;
|
|
110
|
+
if (nodeId && !openedIds.value.includes(nodeId)) {
|
|
111
|
+
openedIds.value.push(nodeId);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
return isHit;
|
|
116
|
+
};
|
|
117
|
+
recursiveSearch(datas, search);
|
|
118
|
+
};
|
|
63
119
|
// 获取标签树列表
|
|
64
120
|
const handleGetTagsTree = ()=>{
|
|
65
121
|
getTagTree.abort();
|
|
@@ -76,13 +132,21 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
76
132
|
});
|
|
77
133
|
};
|
|
78
134
|
watch(()=>[
|
|
79
|
-
props.tagName,
|
|
80
135
|
props.groupType,
|
|
81
136
|
props.spaceId,
|
|
82
137
|
props.generateType
|
|
83
138
|
], handleGetTagsTree, {
|
|
84
139
|
immediate: true
|
|
85
140
|
});
|
|
141
|
+
watch(()=>props.tagName, function() {
|
|
142
|
+
var _ref = _async_to_generator(function*(val) {
|
|
143
|
+
yield handleGetTagsTree();
|
|
144
|
+
handleSetSearchOpenedIds(tags.value, val);
|
|
145
|
+
});
|
|
146
|
+
return function(val) {
|
|
147
|
+
return _ref.apply(this, arguments);
|
|
148
|
+
};
|
|
149
|
+
}());
|
|
86
150
|
__expose({
|
|
87
151
|
handleGetTagsTree
|
|
88
152
|
});
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-tree[data-v-
|
|
2
|
+
.tag-tree[data-v-2pgjlb4z] {
|
|
3
3
|
font-size: 12px;
|
|
4
4
|
height: auto;
|
|
5
5
|
}
|
|
6
|
-
.tag-tree .manage-tree-item[data-v-
|
|
6
|
+
.tag-tree .manage-tree-item[data-v-2pgjlb4z] {
|
|
7
7
|
height: 32px;
|
|
8
8
|
flex: 1;
|
|
9
9
|
}
|
|
10
|
-
.tag-tree .quick-icon[data-v-
|
|
10
|
+
.tag-tree .quick-icon[data-v-2pgjlb4z] {
|
|
11
11
|
margin-left: -24px;
|
|
12
12
|
padding-left: 8px;
|
|
13
13
|
}
|
|
14
|
-
.tag-tree[data-v-
|
|
14
|
+
.tag-tree[data-v-2pgjlb4z] .tree-item:has(.bottom-line) {
|
|
15
15
|
border-bottom: 1px solid #F0F1F5;
|
|
16
16
|
}
|
|
17
|
-
.tag-tree[data-v-
|
|
17
|
+
.tag-tree[data-v-2pgjlb4z] .tree-item.active .quick-icon {
|
|
18
18
|
color: #3A84FF;
|
|
19
19
|
}
|
|
20
|
-
.tag-tree[data-v-
|
|
20
|
+
.tag-tree[data-v-2pgjlb4z] .tree-item.active .tag-number {
|
|
21
21
|
background: #A3C5FD;
|
|
22
22
|
color: #fff;
|
|
23
23
|
}
|
|
24
|
-
.tag-number[data-v-
|
|
24
|
+
.tag-number[data-v-2pgjlb4z] {
|
|
25
25
|
line-height: 16px;
|
|
26
26
|
padding: 0 4px;
|
|
27
27
|
background-color: #F0F1F5;
|
package/dist/css/tailwind.css
CHANGED