@blueking/ai-ui-sdk 0.1.19-beta.3 → 0.1.19-beta.30
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 +17 -0
- package/dist/common/util.ts.js +33 -0
- package/dist/components/render-auth/auth-dialog.script.vue.js.js +26 -25
- package/dist/components/render-auth/auth-dialog.vue.d.ts +2 -1
- package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
- package/dist/components/render-auto-height-textarea/index.vue.d.ts +2 -1
- package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
- package/dist/components/render-auto-refresh/index.vue.css +9 -8
- package/dist/components/render-auto-refresh/index.vue.d.ts +2 -1
- 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.d.ts +2 -1
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.script.vue.js.js +129 -92
- package/dist/components/render-choose-tag/index.vue.css +7 -7
- package/dist/components/render-choose-tag/index.vue.d.ts +6 -1
- 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.d.ts +3 -2
- package/dist/components/render-collapse/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-review-dataset-data/index.vue.d.ts +2 -1
- package/dist/components/render-dataset/components/dataset-data-level/index.vue.d.ts +2 -1
- package/dist/components/render-dataset/components/dataset-data-status/index.script.vue.js.js +6 -8
- package/dist/components/render-dataset/components/dataset-data-status/index.vue.d.ts +2 -1
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.vue.d.ts +2 -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.d.ts +2 -1
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/index.script.vue.js.js +36 -1
- package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
- package/dist/components/render-dataset/components/operation-record/index.vue.d.ts +2 -1
- 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 +173 -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.d.ts +6 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.js +2 -2
- 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.d.ts +2 -1
- 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.vue.d.ts +2 -1
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.script.vue.js +39 -44
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.vue.d.ts +4 -2
- package/dist/components/render-dataset/components/plus-dataset/index.script.vue.js.js +26 -8
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset/index.vue.d.ts +4 -3
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.script.vue.js.js +21 -29
- 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.d.ts +2 -1
- 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/category.vue.d.ts +2 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/dataset.script.vue.js.js +4 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/dataset.vue.d.ts +4 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/file.vue.d.ts +4 -2
- 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.d.ts +2 -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.d.ts +2 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/manual.vue.d.ts +4 -2
- package/dist/components/render-dataset/components/plus-dataset-data/index.script.vue.js.js +8 -3
- package/dist/components/render-dataset/components/plus-dataset-data/index.vue.d.ts +5 -3
- 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.d.ts +2 -1
- 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 +21 -31
- package/dist/components/render-dataset/components/search-dataset/index.vue.d.ts +3 -1
- package/dist/components/render-dataset/components/search-dataset-data/index.vue.d.ts +2 -1
- package/dist/components/render-dataset/components/search-operation-record/index.vue.d.ts +2 -1
- package/dist/components/render-dataset/components/source-type-icon/index.vue.d.ts +2 -1
- package/dist/components/render-dataset/index.script.vue.js +5 -0
- package/dist/components/render-dataset/index.vue.d.ts +2 -6
- package/dist/components/render-dataset/index.vue.js +2 -3
- package/dist/components/render-dataset-detail/components/header.script.vue.js.js +1 -1
- package/dist/components/render-dataset-detail/components/header.vue.d.ts +4 -2
- package/dist/components/render-dataset-detail/components/tab.vue.d.ts +2 -1
- package/dist/components/render-dataset-detail/index.vue.d.ts +2 -1
- package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.vue.d.ts +2 -1
- package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +245 -388
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.d.ts +7 -3
- package/dist/components/render-dataset-detail-origin-data/index.script.vue.js.js +8 -7
- package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.d.ts +2 -1
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
- package/dist/components/render-dataset-list/components/header.script.vue.js.js +68 -0
- package/dist/components/render-dataset-list/components/header.vue.d.ts +17 -0
- package/dist/components/render-dataset-list/components/header.vue.js +3 -0
- package/dist/components/render-dataset-list/components/main.script.vue.js.js +46 -16
- package/dist/components/render-dataset-list/components/main.vue.css +5 -5
- package/dist/components/render-dataset-list/components/main.vue.d.ts +16 -6
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/components/table.script.vue.js +408 -0
- package/dist/components/render-dataset-list/components/table.vue.d.ts +17 -3
- package/dist/components/render-dataset-list/components/table.vue.js +1 -1
- package/dist/components/render-dataset-list/index.script.vue.js.js +117 -20
- package/dist/components/render-dataset-list/index.vue.css +8 -0
- package/dist/components/render-dataset-list/index.vue.d.ts +3 -8
- package/dist/components/render-dataset-list/index.vue.js +2 -0
- package/dist/components/render-file-card/index.script.vue.js.js +5 -15
- package/dist/components/render-file-card/index.vue.css +11 -11
- package/dist/components/render-file-card/index.vue.d.ts +8 -7
- 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.d.ts +2 -1
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-header/index.script.vue.js.js +32 -4
- package/dist/components/render-header/index.vue.css +3 -3
- package/dist/components/render-header/index.vue.d.ts +5 -3
- package/dist/components/render-header/index.vue.js +1 -1
- package/dist/components/render-like/index.script.vue.js.js +3 -3
- package/dist/components/render-like/index.vue.css +14 -13
- package/dist/components/render-like/index.vue.d.ts +6 -5
- package/dist/components/render-like/index.vue.js +1 -1
- package/dist/components/render-router-tab/index.vue.css +4 -4
- package/dist/components/render-router-tab/index.vue.d.ts +2 -1
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/components/render-search-empty/index.script.vue.js.js +61 -0
- package/dist/components/render-search-empty/index.vue.d.ts +20 -0
- package/dist/components/render-search-empty/index.vue.js +3 -0
- package/dist/components/render-search-select/index.vue.d.ts +8 -7
- package/dist/components/render-t-table/index.script.vue.js +316 -0
- package/dist/components/render-t-table/index.vue.css +207 -0
- package/dist/components/render-t-table/index.vue.d.ts +58 -0
- package/dist/components/render-t-table/index.vue.js +5 -0
- package/dist/components/render-tag-tree/index.script.vue.js.js +156 -0
- package/dist/components/render-tag-tree/index.vue.css +30 -0
- package/dist/components/render-tag-tree/index.vue.d.ts +23 -0
- package/dist/components/render-tag-tree/index.vue.js +5 -0
- package/dist/components/render-tree/index.script.vue.js +171 -0
- package/dist/components/render-tree/index.vue.css +24 -0
- package/dist/components/render-tree/index.vue.d.ts +46 -0
- package/dist/components/render-tree/index.vue.js +4 -0
- package/dist/components.d.ts +5 -1
- package/dist/components.ts.js +5 -1
- package/dist/css/fonts/iconcool.eot +0 -0
- package/dist/css/fonts/iconcool.svg +9 -0
- package/dist/css/fonts/iconcool.ttf +0 -0
- package/dist/css/fonts/iconcool.woff +0 -0
- package/dist/css/iconcool.js +1 -1
- package/dist/css/style.css +9 -0
- package/dist/css/tailwind.css +85 -11
- package/dist/hooks/use-chat.d.ts +14 -4
- package/dist/hooks/use-common-http.d.ts +8 -0
- package/dist/hooks/use-common-http.ts.js +18 -0
- package/dist/hooks/use-dataset-http.d.ts +4 -3
- package/dist/hooks/use-dataset-http.ts.js +9 -5
- package/dist/hooks/use-ellipsis-tooltip.d.ts +4 -0
- package/dist/hooks/use-ellipsis-tooltip.ts.js +87 -0
- package/dist/hooks/use-member-http.d.ts +8 -0
- package/dist/hooks/use-member-http.ts.js +30 -0
- package/dist/hooks/use-meta-http.d.ts +3 -3
- package/dist/hooks/use-meta-http.ts.js +9 -5
- package/dist/hooks/use-t-table.d.ts +39 -0
- package/dist/hooks/use-t-table.ts.js +86 -0
- package/dist/hooks/use-table.d.ts +2 -7
- package/dist/hooks/use-table.ts.js +3 -3
- package/dist/hooks.d.ts +3 -0
- package/dist/hooks.ts.js +3 -0
- package/dist/http/fetch/index.ts.js +3 -2
- package/dist/http/helper/common.d.ts +25 -0
- package/dist/http/helper/common.ts.js +45 -0
- package/dist/http/helper/dataset.ts.js +14 -19
- package/dist/http/helper/knowledge.ts.js +9 -3
- package/dist/http/helper/tool.ts.js +7 -4
- package/dist/images/market.png +0 -0
- package/dist/transforms.d.ts +1 -0
- package/dist/transforms.ts.js +1 -0
- package/dist/types/common.d.ts +60 -4
- package/dist/types/dataset.d.ts +14 -10
- package/dist/types/enum.d.ts +8 -2
- package/dist/types/enum.ts.js +8 -1
- package/dist/types/knowledge.d.ts +6 -0
- package/dist/types/model.d.ts +4 -4
- package/dist/types/tool.d.ts +5 -3
- package/dist/util.d.ts +1 -0
- package/dist/util.ts.js +1 -0
- package/package.json +12 -3
- package/dist/components/render-aside/index.script.vue.js +0 -69
- package/dist/components/render-aside/index.vue.css +0 -49
- package/dist/components/render-aside/index.vue.d.ts +0 -26
- package/dist/components/render-aside/index.vue.js +0 -5
- package/dist/components/render-dataset/components/operation-record/table/index.script.vue.js.js +0 -226
- package/dist/components/render-dataset/index.script.vue.js.js +0 -126
- package/dist/components/render-dataset/index.vue.css +0 -6
- package/dist/components/render-dataset-list/components/table.script.vue.js.js +0 -559
- package/dist/components/render-expand-collapse/index.script.vue.js.js +0 -33
- package/dist/components/render-expand-collapse/index.vue.css +0 -23
- package/dist/components/render-expand-collapse/index.vue.d.ts +0 -12
- package/dist/components/render-expand-collapse/index.vue.js +0 -5
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
-
import { createVNode as _createVNode, toDisplayString as _toDisplayString,
|
|
2
|
+
import { createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, renderSlot as _renderSlot, withModifiers as _withModifiers, resolveDirective as _resolveDirective, withDirectives as _withDirectives, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
class: "upload-file-home g-flex-row"
|
|
5
5
|
};
|
|
6
6
|
const _hoisted_2 = {
|
|
7
|
-
class: "file-content g-flex-column"
|
|
7
|
+
class: "file-content g-flex-column g-align-center"
|
|
8
8
|
};
|
|
9
9
|
const _hoisted_3 = {
|
|
10
|
-
class: "file-name g-truncate"
|
|
10
|
+
class: "file-name g-truncate",
|
|
11
|
+
"data-ellipsis-tooltip": ""
|
|
11
12
|
};
|
|
12
13
|
const _hoisted_4 = {
|
|
13
14
|
class: "file-size"
|
|
@@ -32,7 +33,6 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
32
33
|
};
|
|
33
34
|
return (_ctx, _cache)=>{
|
|
34
35
|
const _component_bk_pop_confirm = _resolveComponent("bk-pop-confirm");
|
|
35
|
-
const _directive_overflow_title = _resolveDirective("overflow-title");
|
|
36
36
|
const _directive_bk_tooltips = _resolveDirective("bk-tooltips");
|
|
37
37
|
return _openBlock(), _createElementBlock("section", _hoisted_1, [
|
|
38
38
|
_createVNode(RenderFileTypeIcon, {
|
|
@@ -42,17 +42,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
42
42
|
"type"
|
|
43
43
|
]),
|
|
44
44
|
_createElementVNode("p", _hoisted_2, [
|
|
45
|
-
|
|
46
|
-
_createTextVNode(_toDisplayString(_ctx.file.fileName), 1 /* TEXT */ )
|
|
47
|
-
])), [
|
|
48
|
-
[
|
|
49
|
-
_directive_overflow_title,
|
|
50
|
-
{
|
|
51
|
-
type: 'tips',
|
|
52
|
-
content: _ctx.file.fileName
|
|
53
|
-
}
|
|
54
|
-
]
|
|
55
|
-
]),
|
|
45
|
+
_createElementVNode("span", _hoisted_3, _toDisplayString(_ctx.file.fileName), 1 /* TEXT */ ),
|
|
56
46
|
_createElementVNode("span", _hoisted_4, _toDisplayString(_unref(getFileSizeTxt)(_ctx.file.fileSize)), 1 /* TEXT */ )
|
|
57
47
|
]),
|
|
58
48
|
_createElementVNode("span", _hoisted_5, [
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
.upload-file-home[data-v-
|
|
2
|
+
.upload-file-home[data-v-yfth5vti] {
|
|
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-yfth5vti]: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-yfth5vti] {
|
|
13
13
|
display: flex;
|
|
14
14
|
}
|
|
15
|
-
.upload-file-home .file-icon[data-v-
|
|
15
|
+
.upload-file-home .file-icon[data-v-yfth5vti] {
|
|
16
16
|
font-size: 32px;
|
|
17
17
|
}
|
|
18
|
-
.upload-file-home .file-content[data-v-
|
|
18
|
+
.upload-file-home .file-content[data-v-yfth5vti] {
|
|
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-yfth5vti] {
|
|
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-yfth5vti] {
|
|
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-yfth5vti] {
|
|
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-yfth5vti] {
|
|
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-yfth5vti]: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-yfth5vti] {
|
|
49
49
|
margin: 0;
|
|
50
50
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { IFileInfo } from '@/types/file';
|
|
2
|
-
declare const
|
|
3
|
-
props: __VLS_PrettifyLocal<
|
|
4
|
-
readonly onDelete?: (file: T) => any;
|
|
5
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onDelete"> & {
|
|
2
|
+
declare const __VLS_export: <T extends IFileInfo>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<{
|
|
6
4
|
file: T;
|
|
7
|
-
} &
|
|
8
|
-
|
|
5
|
+
} & {
|
|
6
|
+
onDelete?: (file: T) => any;
|
|
7
|
+
}> & import("vue").PublicProps;
|
|
8
|
+
expose: (exposed: {}) => void;
|
|
9
9
|
attrs: any;
|
|
10
10
|
slots: {
|
|
11
11
|
tool?: (props: {}) => any;
|
|
@@ -14,7 +14,8 @@ declare const _default: <T extends IFileInfo>(__VLS_props: NonNullable<Awaited<t
|
|
|
14
14
|
}>) => import("vue").VNode & {
|
|
15
15
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
16
16
|
};
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
18
19
|
type __VLS_PrettifyLocal<T> = {
|
|
19
|
-
[K in keyof T]: T[K];
|
|
20
|
+
[K in keyof T as K]: T[K];
|
|
20
21
|
} & {};
|
|
@@ -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-oy4g0ayc] {
|
|
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-oy4g0ayc], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-oy4g0ayc], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-oy4g0ayc] {
|
|
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-oy4g0ayc] {
|
|
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-oy4g0ayc] {
|
|
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-oy4g0ayc] {
|
|
15
15
|
color: #14A568;
|
|
16
16
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
type: string;
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
5
6
|
export default _default;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
-
import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock,
|
|
2
|
+
import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, unref as _unref, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass } from "vue";
|
|
3
|
+
import _imports_0 from '../../images/market.png';
|
|
3
4
|
const _hoisted_1 = {
|
|
4
|
-
class: "header-home g-pl-24"
|
|
5
|
+
class: "header-home g-pl-24 g-pr-24"
|
|
5
6
|
};
|
|
6
7
|
const _hoisted_2 = {
|
|
7
8
|
class: "g-learning-24 g-text-black g-text-16 g-pt-14 g-pb-14"
|
|
@@ -13,10 +14,19 @@ const _hoisted_3 = {
|
|
|
13
14
|
const _hoisted_4 = [
|
|
14
15
|
"onClick"
|
|
15
16
|
];
|
|
17
|
+
const _hoisted_5 = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "g-mr-8 g-height-16",
|
|
20
|
+
src: _imports_0
|
|
21
|
+
};
|
|
22
|
+
import { GroupType } from '../../types/enum.ts.js';
|
|
16
23
|
export default /*@__PURE__*/ _defineComponent({
|
|
17
24
|
props: {
|
|
18
25
|
title: {},
|
|
19
26
|
groupType: {},
|
|
27
|
+
loading: {
|
|
28
|
+
type: Boolean
|
|
29
|
+
},
|
|
20
30
|
tabs: {}
|
|
21
31
|
},
|
|
22
32
|
emits: [
|
|
@@ -30,6 +40,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
30
40
|
};
|
|
31
41
|
return (_ctx, _cache)=>{
|
|
32
42
|
var _props_tabs;
|
|
43
|
+
const _component_bk_loading = _resolveComponent("bk-loading");
|
|
33
44
|
return _openBlock(), _createElementBlock("section", _hoisted_1, [
|
|
34
45
|
_renderSlot(_ctx.$slots, "title", {}, ()=>[
|
|
35
46
|
_createElementVNode("section", _hoisted_2, _toDisplayString(props.title), 1 /* TEXT */ )
|
|
@@ -39,11 +50,28 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
39
50
|
return _openBlock(), _createElementBlock("li", {
|
|
40
51
|
key: tab.id,
|
|
41
52
|
class: _normalizeClass({
|
|
42
|
-
'render-tab g-pl-8 g-pr-8 g-pb-8 g-learning-22 g-mr-24 g-text-14 g-cursor-pointer': true,
|
|
53
|
+
'render-tab g-flex-row g-pl-8 g-pr-8 g-pb-8 g-learning-22 g-mr-24 g-text-14 g-cursor-pointer': true,
|
|
43
54
|
active: props.groupType === tab.id
|
|
44
55
|
}),
|
|
45
56
|
onClick: ($event)=>handleChoose(tab.id)
|
|
46
|
-
},
|
|
57
|
+
}, [
|
|
58
|
+
tab.id === _unref(GroupType).All ? (_openBlock(), _createElementBlock("img", _hoisted_5)) : _createCommentVNode("v-if", true),
|
|
59
|
+
_createTextVNode(" " + _toDisplayString(tab.name) + " ", 1 /* TEXT */ ),
|
|
60
|
+
_createVNode(_component_bk_loading, {
|
|
61
|
+
class: "g-number-font",
|
|
62
|
+
mode: "spin",
|
|
63
|
+
size: "mini",
|
|
64
|
+
theme: "primary",
|
|
65
|
+
loading: props.loading
|
|
66
|
+
}, {
|
|
67
|
+
default: _withCtx(()=>[
|
|
68
|
+
_createTextVNode(" (" + _toDisplayString(tab.number) + ") ", 1 /* TEXT */ )
|
|
69
|
+
]),
|
|
70
|
+
_: 2 /* DYNAMIC */
|
|
71
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
|
72
|
+
"loading"
|
|
73
|
+
])
|
|
74
|
+
], 10 /* CLASS, PROPS */ , _hoisted_4);
|
|
47
75
|
}), 128 /* KEYED_FRAGMENT */ ))
|
|
48
76
|
])) : _createCommentVNode("v-if", true)
|
|
49
77
|
]);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
.header-home[data-v-
|
|
2
|
+
.header-home[data-v-yomamf2v] {
|
|
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-yomamf2v] {
|
|
8
8
|
border-bottom: 2px solid transparent;
|
|
9
9
|
}
|
|
10
|
-
.render-tab.active[data-v-
|
|
10
|
+
.render-tab.active[data-v-yomamf2v] {
|
|
11
11
|
color: #3A84FF;
|
|
12
12
|
border-bottom: 2px solid #3A84FF;
|
|
13
13
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { GroupType } from '@/types/enum';
|
|
2
2
|
interface IProps {
|
|
3
3
|
title?: string;
|
|
4
4
|
groupType?: GroupType;
|
|
5
|
+
loading?: boolean;
|
|
5
6
|
tabs?: {
|
|
6
7
|
id: GroupType;
|
|
7
8
|
name: string;
|
|
@@ -12,12 +13,13 @@ declare var __VLS_1: {};
|
|
|
12
13
|
type __VLS_Slots = {} & {
|
|
13
14
|
title?: (props: typeof __VLS_1) => any;
|
|
14
15
|
};
|
|
15
|
-
declare const
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
17
|
"update:groupType": (val: GroupType) => any;
|
|
17
18
|
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
18
19
|
"onUpdate:groupType"?: (val: GroupType) => any;
|
|
19
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
-
declare const
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
21
23
|
export default _default;
|
|
22
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
23
25
|
new (): {
|
|
@@ -32,7 +32,7 @@ const _hoisted_1 = {
|
|
|
32
32
|
class: "select-options"
|
|
33
33
|
};
|
|
34
34
|
const _hoisted_2 = {
|
|
35
|
-
class: "g-text-16 g-mb-16"
|
|
35
|
+
class: "g-text-16 g-mb-16 g-text-black"
|
|
36
36
|
};
|
|
37
37
|
const _hoisted_3 = [
|
|
38
38
|
"onClick"
|
|
@@ -270,7 +270,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
270
270
|
_renderSlot(_ctx.$slots, "like", {}, ()=>[
|
|
271
271
|
_withDirectives(_createElementVNode("i", {
|
|
272
272
|
class: _normalizeClass([
|
|
273
|
-
'ai-ui-sdk-icon g-hover-text-blue g-cursor-pointer g-mr-8',
|
|
273
|
+
'ai-ui-sdk-icon g-hover-text-blue g-cursor-pointer g-mr-8 g-text-18',
|
|
274
274
|
formData.value.rate === 5 ? 'g-text-blue ai-ui-sdk-like' : 'g-text-gray ai-ui-sdk-unlike'
|
|
275
275
|
])
|
|
276
276
|
}, null, 2 /* CLASS */ ), [
|
|
@@ -293,7 +293,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
293
293
|
_renderSlot(_ctx.$slots, "dislike", {}, ()=>[
|
|
294
294
|
_withDirectives(_createElementVNode("i", {
|
|
295
295
|
class: _normalizeClass([
|
|
296
|
-
'ai-ui-sdk-icon dislike-icon g-inline-block g-cursor-pointer g-hover-text-red',
|
|
296
|
+
'ai-ui-sdk-icon dislike-icon g-inline-block g-cursor-pointer g-hover-text-red g-text-18',
|
|
297
297
|
formData.value.rate === 1 ? 'g-text-red ai-ui-sdk-like' : 'g-text-gray ai-ui-sdk-unlike'
|
|
298
298
|
])
|
|
299
299
|
}, null, 2 /* CLASS */ ), [
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
.dislike-icon[data-v-
|
|
3
|
-
|
|
2
|
+
.dislike-icon[data-v-0uutbiap] {
|
|
3
|
+
transform: rotateX(180deg);
|
|
4
4
|
}
|
|
5
|
-
.option-items[data-v-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
.option-items[data-v-0uutbiap] {
|
|
6
|
+
padding: 1px 8px;
|
|
7
|
+
background-color: #F0F1F5;
|
|
8
|
+
line-height: 22px;
|
|
9
|
+
border-radius: 2px;
|
|
9
10
|
}
|
|
10
|
-
.option-items[data-v-
|
|
11
|
-
background-color: #E1ECFF;
|
|
12
|
-
color: #3A84FF;
|
|
13
|
-
}
|
|
14
|
-
.option-items-selected[data-v-y4pikz1x]{
|
|
11
|
+
.option-items[data-v-0uutbiap]:hover {
|
|
15
12
|
background-color: #E1ECFF;
|
|
13
|
+
color: #3A84FF;
|
|
14
|
+
}
|
|
15
|
+
.option-items-selected[data-v-0uutbiap]{
|
|
16
|
+
background-color: #E1ECFF;
|
|
16
17
|
}
|
|
17
|
-
[data-v-
|
|
18
|
-
|
|
18
|
+
[data-v-0uutbiap] .bk-form-item {
|
|
19
|
+
margin-bottom: 17px;
|
|
19
20
|
}
|
|
@@ -10,18 +10,19 @@ interface IProps {
|
|
|
10
10
|
popoverOptions?: Record<string, unknown>;
|
|
11
11
|
tooltipOptions?: Record<string, unknown>;
|
|
12
12
|
}
|
|
13
|
-
declare var
|
|
13
|
+
declare var __VLS_7: {}, __VLS_9: {};
|
|
14
14
|
type __VLS_Slots = {} & {
|
|
15
|
-
like?: (props: typeof
|
|
15
|
+
like?: (props: typeof __VLS_7) => any;
|
|
16
16
|
} & {
|
|
17
|
-
dislike?: (props: typeof
|
|
17
|
+
dislike?: (props: typeof __VLS_9) => any;
|
|
18
18
|
};
|
|
19
|
-
declare const
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
20
20
|
"update-session-content-list": (data: ISessionFeedback) => any;
|
|
21
21
|
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
22
22
|
"onUpdate-session-content-list"?: (data: ISessionFeedback) => any;
|
|
23
23
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
-
declare const
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
25
26
|
export default _default;
|
|
26
27
|
type __VLS_WithSlots<T, S> = T & {
|
|
27
28
|
new (): {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.router-tab[data-v-
|
|
2
|
+
.router-tab[data-v-wt79dxwz] {
|
|
3
3
|
margin-top: 2px;
|
|
4
4
|
height: 42px;
|
|
5
5
|
background: #FFFFFF;
|
|
6
6
|
box-shadow: 0 2px 4px 0 #1919290d;
|
|
7
|
-
padding: 0
|
|
7
|
+
padding: 0 24px;
|
|
8
8
|
}
|
|
9
|
-
.router-tab a[data-v-
|
|
9
|
+
.router-tab a[data-v-wt79dxwz] {
|
|
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-wt79dxwz] {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
|
21
21
|
}
|
|
@@ -4,5 +4,6 @@ interface IProps {
|
|
|
4
4
|
name: string;
|
|
5
5
|
}>;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
8
9
|
export default _default;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
+
import { unref as _unref, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from "vue";
|
|
3
|
+
const _hoisted_1 = {
|
|
4
|
+
class: "g-flex-column g-align-center g-mb-40"
|
|
5
|
+
};
|
|
6
|
+
const _hoisted_2 = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "g-text-12 g-text-gray g-flex-row g-justify-center g-flex-wrap g-items-center g-ml-8 g-mr-8"
|
|
9
|
+
};
|
|
10
|
+
import { isEmpty } from '../../common/util.ts.js';
|
|
11
|
+
export default /*@__PURE__*/ _defineComponent({
|
|
12
|
+
props: {
|
|
13
|
+
search: {},
|
|
14
|
+
scene: {},
|
|
15
|
+
description: {}
|
|
16
|
+
},
|
|
17
|
+
emits: [
|
|
18
|
+
"update:search"
|
|
19
|
+
],
|
|
20
|
+
setup (__props, { emit: __emit }) {
|
|
21
|
+
const props = __props;
|
|
22
|
+
const emit = __emit;
|
|
23
|
+
const getDescription = ()=>{
|
|
24
|
+
return isEmpty(props.description) ? '暂无数据' : props.description;
|
|
25
|
+
};
|
|
26
|
+
const handleClearSearch = ()=>{
|
|
27
|
+
if (typeof props.search === 'string') {
|
|
28
|
+
emit('update:search', '');
|
|
29
|
+
}
|
|
30
|
+
if (typeof props.search === 'object') {
|
|
31
|
+
emit('update:search', {});
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
return (_ctx, _cache)=>{
|
|
35
|
+
const _component_bk_exception = _resolveComponent("bk-exception");
|
|
36
|
+
return _openBlock(), _createElementBlock("section", _hoisted_1, [
|
|
37
|
+
_createVNode(_component_bk_exception, {
|
|
38
|
+
class: _normalizeClass([
|
|
39
|
+
'g-exception',
|
|
40
|
+
props.scene === 'page' ? 'g-mt-100' : 'g-mt-30'
|
|
41
|
+
]),
|
|
42
|
+
scene: props.scene,
|
|
43
|
+
type: _unref(isEmpty)(props.search) ? 'empty' : 'search-empty',
|
|
44
|
+
description: _unref(isEmpty)(props.search) ? getDescription() : '搜索结果为空'
|
|
45
|
+
}, null, 8 /* PROPS */ , [
|
|
46
|
+
"class",
|
|
47
|
+
"scene",
|
|
48
|
+
"type",
|
|
49
|
+
"description"
|
|
50
|
+
]),
|
|
51
|
+
!_unref(isEmpty)(props.search) ? (_openBlock(), _createElementBlock("div", _hoisted_2, [
|
|
52
|
+
_cache[0] || (_cache[0] = _createTextVNode(" 可以尝试调整筛选条件或 ")),
|
|
53
|
+
_createElementVNode("button", {
|
|
54
|
+
class: "g-text-blue g-cursor-pointer g-ml-4",
|
|
55
|
+
onClick: handleClearSearch
|
|
56
|
+
}, " 清空筛选条件 ")
|
|
57
|
+
])) : _createCommentVNode("v-if", true)
|
|
58
|
+
]);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
props: __VLS_PrettifyLocal<{
|
|
3
|
+
search?: T;
|
|
4
|
+
scene?: "page" | "part";
|
|
5
|
+
description?: string;
|
|
6
|
+
} & {
|
|
7
|
+
"onUpdate:search"?: (data: T) => any;
|
|
8
|
+
}> & import("vue").PublicProps;
|
|
9
|
+
expose: (exposed: {}) => void;
|
|
10
|
+
attrs: any;
|
|
11
|
+
slots: {};
|
|
12
|
+
emit: (e: "update:search", data: T) => void;
|
|
13
|
+
}>) => import("vue").VNode & {
|
|
14
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
15
|
+
};
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_PrettifyLocal<T> = {
|
|
19
|
+
[K in keyof T as K]: T[K];
|
|
20
|
+
} & {};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { ISearchSelectItem } from '@/types/common';
|
|
2
|
-
declare const
|
|
3
|
-
props: __VLS_PrettifyLocal<
|
|
4
|
-
readonly "onUpdate:modelValue"?: (value: T) => any;
|
|
5
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & {
|
|
2
|
+
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<{
|
|
6
4
|
data: ISearchSelectItem[];
|
|
7
5
|
modelValue: T;
|
|
8
6
|
placeholder?: string;
|
|
@@ -14,15 +12,18 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
14
12
|
id: number;
|
|
15
13
|
}[]) => Promise<boolean | string> | boolean | string;
|
|
16
14
|
getMenuList?: Function;
|
|
17
|
-
} &
|
|
18
|
-
|
|
15
|
+
} & {
|
|
16
|
+
"onUpdate:modelValue"?: (value: T) => any;
|
|
17
|
+
}> & import("vue").PublicProps;
|
|
18
|
+
expose: (exposed: {}) => void;
|
|
19
19
|
attrs: any;
|
|
20
20
|
slots: {};
|
|
21
21
|
emit: (event: "update:modelValue", value: T) => void;
|
|
22
22
|
}>) => import("vue").VNode & {
|
|
23
23
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
24
|
};
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
25
26
|
export default _default;
|
|
26
27
|
type __VLS_PrettifyLocal<T> = {
|
|
27
|
-
[K in keyof T]: T[K];
|
|
28
|
+
[K in keyof T as K]: T[K];
|
|
28
29
|
} & {};
|