@blueking/ai-ui-sdk 0.1.12-beta.13 → 0.1.12-beta.2
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/chart-helper.d.ts +32 -0
- package/dist/common/util.d.ts +90 -0
- package/dist/common/util.ts.js +0 -18
- package/dist/components/render-aside/index.vue.css +9 -9
- package/dist/components/render-aside/index.vue.d.ts +26 -0
- package/dist/components/render-aside/index.vue.js +1 -1
- package/dist/components/render-auth/auth-dialog-fn.d.ts +2 -0
- package/dist/components/render-auth/auth-dialog.script.vue.js.js +8 -2
- package/dist/components/render-auth/auth-dialog.vue.d.ts +5 -0
- package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
- package/dist/components/render-auto-height-textarea/index.vue.d.ts +19 -0
- 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.d.ts +6 -0
- 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 +11 -0
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.script.vue.js.js +9 -22
- package/dist/components/render-choose-tag/index.vue.css +7 -7
- package/dist/components/render-choose-tag/index.vue.d.ts +13 -0
- package/dist/components/render-choose-tag/index.vue.js +1 -1
- package/dist/components/render-collapse/index.script.vue.js.js +1 -3
- package/dist/components/render-collapse/index.vue.css +2 -2
- package/dist/components/render-collapse/index.vue.d.ts +18 -0
- package/dist/components/render-collapse/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-review-dataset-data/index.script.vue.js.js +24 -6
- package/dist/components/render-dataset/components/batch-review-dataset-data/index.vue.d.ts +16 -0
- package/dist/components/render-dataset/components/dataset-data-level/index.vue.d.ts +6 -0
- package/dist/components/render-dataset/components/dataset-data-status/index.vue.d.ts +7 -0
- 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 +5 -0
- package/dist/components/render-dataset/components/edit-dataset-data/index.script.vue.js.js +19 -10
- 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 +18 -0
- 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.d.ts +13 -0
- package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.script.vue.js.js +4 -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.d.ts +8 -0
- 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.d.ts +11 -0
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset/dataset-footer.script.vue.js.js +8 -2
- package/dist/components/render-dataset/components/plus-dataset/dataset-footer.vue.d.ts +16 -0
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.vue.d.ts +17 -0
- 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 +16 -0
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/category.vue.d.ts +10 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/dataset.vue.d.ts +17 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/file.script.vue.js.js +13 -7
- package/dist/components/render-dataset/components/plus-dataset-data/form/file.vue.d.ts +15 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.script.vue.js.js +8 -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 +15 -0
- 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 +17 -0
- 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 +15 -0
- package/dist/components/render-dataset/components/plus-dataset-data/index.script.vue.js.js +4 -1
- package/dist/components/render-dataset/components/plus-dataset-data/index.vue.d.ts +15 -0
- package/dist/components/render-dataset/components/review-dataset-data/index.script.vue.js.js +21 -6
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +11 -11
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.d.ts +17 -0
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/search-dataset/index.vue.d.ts +13 -0
- package/dist/components/render-dataset/components/search-dataset-data/index.vue.d.ts +12 -0
- package/dist/components/render-dataset/components/search-operation-record/index.vue.d.ts +11 -0
- package/dist/components/render-dataset/components/source-type-icon/index.vue.d.ts +6 -0
- package/dist/components/render-dataset/index.vue.css +1 -1
- package/dist/components/render-dataset/index.vue.d.ts +7 -0
- package/dist/components/render-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset-detail/components/header.vue.d.ts +5 -0
- package/dist/components/render-dataset-detail/components/tab.vue.d.ts +2 -0
- package/dist/components/render-dataset-detail/index.vue.d.ts +8 -0
- package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.script.vue.js.js +4 -1
- package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.vue.d.ts +18 -0
- package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +26 -19
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.css +1 -1
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.d.ts +20 -0
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.js +1 -1
- package/dist/components/render-dataset-detail-origin-data/index.script.vue.js.js +4 -1
- 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 +10 -0
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
- package/dist/components/render-dataset-list/components/header.vue.d.ts +2 -0
- package/dist/components/render-dataset-list/components/main.script.vue.js.js +4 -1
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.d.ts +14 -0
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/components/table.script.vue.js.js +20 -17
- package/dist/components/render-dataset-list/components/table.vue.d.ts +11 -0
- package/dist/components/render-dataset-list/index.vue.d.ts +14 -0
- package/dist/components/render-expand-collapse/index.vue.css +3 -3
- package/dist/components/render-expand-collapse/index.vue.d.ts +12 -0
- 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.d.ts +20 -0
- 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 +5 -0
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-header/index.script.vue.js.js +3 -3
- package/dist/components/render-header/index.vue.css +5 -5
- package/dist/components/render-header/index.vue.d.ts +58 -0
- package/dist/components/render-header/index.vue.js +1 -1
- package/dist/components/render-router-tab/index.vue.css +3 -3
- package/dist/components/render-router-tab/index.vue.d.ts +8 -0
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/components/render-search-select/index.vue.d.ts +28 -0
- package/dist/components.d.ts +11 -0
- package/dist/components.ts.js +1 -2
- package/dist/enums.d.ts +1 -0
- package/dist/event/index.d.ts +4 -0
- package/dist/events.d.ts +1 -0
- package/dist/helpers.d.ts +1 -0
- package/dist/hooks/use-chat.d.ts +893 -0
- package/dist/hooks/use-click-proxy.d.ts +1 -0
- package/dist/hooks/use-dataset-http.d.ts +47 -0
- package/dist/hooks/use-form-leave-confirm.d.ts +4 -0
- package/dist/hooks/use-form-rule.d.ts +29 -0
- package/dist/hooks/use-form-rule.ts.js +101 -0
- package/dist/hooks/use-meta-http.d.ts +16 -0
- package/dist/hooks/use-mouse-drag.d.ts +13 -0
- package/dist/hooks/use-permission-http.d.ts +7 -0
- package/dist/hooks/use-permission.d.ts +9 -0
- package/dist/hooks/use-reference-doc.d.ts +14 -0
- package/dist/hooks/use-session-http.d.ts +16 -0
- package/dist/hooks/use-style.d.ts +3 -0
- package/dist/hooks/use-summary.d.ts +9 -0
- package/dist/hooks/use-table.d.ts +27 -0
- package/dist/hooks/use-think.d.ts +21 -0
- package/dist/hooks.d.ts +9 -0
- package/dist/http/fetch/error-interceptor.d.ts +3 -0
- package/dist/http/fetch/index.d.ts +25 -0
- package/dist/http/fetch/request-error.d.ts +6 -0
- package/dist/http/fetch/success-interceptor.d.ts +3 -0
- package/dist/http/helper/agent.d.ts +7 -0
- package/dist/http/helper/dataset.d.ts +117 -0
- package/dist/http/helper/dataset.ts.js +1 -3
- package/dist/http/helper/knowledge.d.ts +43 -0
- package/dist/http/helper/meta.d.ts +2 -0
- package/dist/http/helper/model.d.ts +2 -0
- package/dist/http/helper/permission.d.ts +13 -0
- package/dist/http/helper/session.d.ts +41 -0
- package/dist/http/helper/tool.d.ts +13 -0
- package/dist/https.d.ts +2 -0
- package/dist/transforms.d.ts +5 -0
- package/dist/types/agent.d.ts +19 -0
- package/dist/types/common.d.ts +19 -0
- package/dist/types/dataset.d.ts +297 -0
- package/dist/types/enum.d.ts +200 -0
- package/dist/types/file.d.ts +23 -0
- package/dist/types/knowledge.d.ts +137 -0
- package/dist/types/meta.d.ts +8 -0
- package/dist/types/model.d.ts +31 -0
- package/dist/types/permission.d.ts +92 -0
- package/dist/types/session.d.ts +157 -0
- package/dist/types/tool.d.ts +60 -0
- package/dist/types.d.ts +7 -0
- package/dist/types.ts.js +0 -1
- package/package.json +1 -1
- package/dist/types/agent.ts.js +0 -1
@@ -62,7 +62,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
62
62
|
default: _withCtx(()=>_cache[2] || (_cache[2] = [
|
63
63
|
_createTextVNode(" 创建数据集 ")
|
64
64
|
])),
|
65
|
-
_: 1 /* STABLE */
|
65
|
+
_: 1 /* STABLE */ ,
|
66
|
+
__: [
|
67
|
+
2
|
68
|
+
]
|
66
69
|
})
|
67
70
|
]),
|
68
71
|
_createVNode(RenderSearchDataset, {
|
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
|
-
.main-content[data-v-
|
2
|
+
.main-content[data-v-egtttes0] {
|
3
3
|
padding: 20px 24px;
|
4
4
|
height: calc(100% - 52px);
|
5
5
|
}
|
6
|
-
.main-panel[data-v-
|
6
|
+
.main-panel[data-v-egtttes0] {
|
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-egtttes0] {
|
14
14
|
width: 6.17rem;
|
15
15
|
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { IDataset } from '@/types/dataset';
|
2
|
+
import { EnumCharacter } from '@/types/enum';
|
3
|
+
interface IProps {
|
4
|
+
apiPrefix: string;
|
5
|
+
isInternal?: boolean;
|
6
|
+
spaceId?: string;
|
7
|
+
tabId: EnumCharacter;
|
8
|
+
}
|
9
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
10
|
+
"success-plus-dataset": (data: IDataset) => any;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
12
|
+
"onSuccess-plus-dataset"?: (data: IDataset) => any;
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
14
|
+
export default _default;
|
@@ -188,7 +188,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
188
188
|
generateType: props.tabId
|
189
189
|
}));
|
190
190
|
};
|
191
|
-
const { tableData, pagination, isLoading, handlePageChange,
|
191
|
+
const { tableData, pagination, isLoading, handlePageChange, handlePageSizeChange, resetPagination, triggerApi } = useTable(handleGetDatasetList, 'results', {
|
192
192
|
current: 1,
|
193
193
|
limit: 20,
|
194
194
|
count: 0
|
@@ -256,8 +256,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
256
256
|
pagination: _unref(pagination),
|
257
257
|
data: _unref(tableData),
|
258
258
|
onPageLimitChange: _unref(handlePageSizeChange),
|
259
|
-
onPageValueChange: _unref(handlePageChange)
|
260
|
-
onColumnSort: _unref(handleSort)
|
259
|
+
onPageValueChange: _unref(handlePageChange)
|
261
260
|
}, {
|
262
261
|
default: _withCtx(()=>[
|
263
262
|
_createVNode(_component_bk_table_column, {
|
@@ -345,14 +344,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
345
344
|
}),
|
346
345
|
_createVNode(_component_bk_table_column, {
|
347
346
|
label: "创建时间",
|
348
|
-
field: "
|
349
|
-
"min-width": "180",
|
350
|
-
sort: true
|
351
|
-
}, {
|
352
|
-
default: _withCtx(({ row })=>[
|
353
|
-
_createTextVNode(_toDisplayString(row.createdAt), 1 /* TEXT */ )
|
354
|
-
]),
|
355
|
-
_: 1 /* STABLE */
|
347
|
+
field: "createdAt"
|
356
348
|
}),
|
357
349
|
_createVNode(_component_bk_table_column, {
|
358
350
|
label: "操作",
|
@@ -391,7 +383,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
391
383
|
default: _withCtx(()=>_cache[3] || (_cache[3] = [
|
392
384
|
_createTextVNode(" 查看详情 ")
|
393
385
|
])),
|
394
|
-
_: 2 /* DYNAMIC */
|
386
|
+
_: 2 /* DYNAMIC */ ,
|
387
|
+
__: [
|
388
|
+
3
|
389
|
+
]
|
395
390
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
396
391
|
"class",
|
397
392
|
"onMouseenter",
|
@@ -425,7 +420,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
425
420
|
default: _withCtx(()=>_cache[4] || (_cache[4] = [
|
426
421
|
_createTextVNode(" 编辑数据集 ")
|
427
422
|
])),
|
428
|
-
_: 2 /* DYNAMIC */
|
423
|
+
_: 2 /* DYNAMIC */ ,
|
424
|
+
__: [
|
425
|
+
4
|
426
|
+
]
|
429
427
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
430
428
|
"class",
|
431
429
|
"onMouseenter",
|
@@ -450,7 +448,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
450
448
|
default: _withCtx(()=>_cache[5] || (_cache[5] = [
|
451
449
|
_createTextVNode(" 操作记录 ")
|
452
450
|
])),
|
453
|
-
_: 2 /* DYNAMIC */
|
451
|
+
_: 2 /* DYNAMIC */ ,
|
452
|
+
__: [
|
453
|
+
5
|
454
|
+
]
|
454
455
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
455
456
|
"class",
|
456
457
|
"onMouseenter",
|
@@ -501,7 +502,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
501
502
|
class: "ai-ui-sdk-icon ai-ui-sdk-gengduo-2 g-text-16 g-ml-12 g-cursor-pointer"
|
502
503
|
}, null, -1 /* HOISTED */ ))
|
503
504
|
]),
|
504
|
-
_: 2 /* DYNAMIC */
|
505
|
+
_: 2 /* DYNAMIC */ ,
|
506
|
+
__: [
|
507
|
+
7
|
508
|
+
]
|
505
509
|
}, 1536 /* NEED_PATCH, DYNAMIC_SLOTS */ )
|
506
510
|
]),
|
507
511
|
_: 1 /* STABLE */
|
@@ -512,8 +516,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
512
516
|
"pagination",
|
513
517
|
"data",
|
514
518
|
"onPageLimitChange",
|
515
|
-
"onPageValueChange"
|
516
|
-
"onColumnSort"
|
519
|
+
"onPageValueChange"
|
517
520
|
])), [
|
518
521
|
[
|
519
522
|
_directive_bkloading,
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { IDatasetListParam } from '@/types/dataset';
|
2
|
+
import { EnumCharacter } from '@/types/enum';
|
3
|
+
interface IProps {
|
4
|
+
apiPrefix: string;
|
5
|
+
isInternal?: boolean;
|
6
|
+
search: IDatasetListParam;
|
7
|
+
spaceId?: string;
|
8
|
+
tabId: EnumCharacter;
|
9
|
+
}
|
10
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
11
|
+
export default _default;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { IDataset } from '@/types/dataset';
|
2
|
+
import { EnumCharacter } from '@/types/enum';
|
3
|
+
interface IProps {
|
4
|
+
apiPrefix: string;
|
5
|
+
spaceId?: string;
|
6
|
+
isInternal?: boolean;
|
7
|
+
tabId: EnumCharacter;
|
8
|
+
}
|
9
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
10
|
+
"success-plus-dataset": (data: IDataset) => any;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
12
|
+
"onSuccess-plus-dataset"?: (data: IDataset) => any;
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
14
|
+
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
.expend-collapse-home[data-v-
|
2
|
+
.expend-collapse-home[data-v-itme77st] {
|
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-itme77st]:hover {
|
19
19
|
background: #979BA5;
|
20
20
|
}
|
21
|
-
.expend-collapse-home.is-close[data-v-
|
21
|
+
.expend-collapse-home.is-close[data-v-itme77st] {
|
22
22
|
left: 0;
|
23
23
|
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
|
+
isOpen: BooleanConstructor;
|
3
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
4
|
+
"update:isOpen": (isOpen: boolean) => any;
|
5
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
6
|
+
isOpen: BooleanConstructor;
|
7
|
+
}>> & Readonly<{
|
8
|
+
"onUpdate:isOpen"?: (isOpen: boolean) => any;
|
9
|
+
}>, {
|
10
|
+
isOpen: boolean;
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
12
|
+
export default _default;
|
@@ -1,21 +1,21 @@
|
|
1
1
|
|
2
|
-
.upload-file-home[data-v-
|
2
|
+
.upload-file-home[data-v-grjqxprv] {
|
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-grjqxprv]: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-grjqxprv] {
|
13
13
|
display: flex;
|
14
14
|
}
|
15
|
-
.upload-file-home .file-icon[data-v-
|
15
|
+
.upload-file-home .file-icon[data-v-grjqxprv] {
|
16
16
|
font-size: 32px;
|
17
17
|
}
|
18
|
-
.upload-file-home .file-content[data-v-
|
18
|
+
.upload-file-home .file-content[data-v-grjqxprv] {
|
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-grjqxprv] {
|
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-grjqxprv] {
|
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-grjqxprv] {
|
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-grjqxprv] {
|
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-grjqxprv]: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-grjqxprv] {
|
49
49
|
margin: 0;
|
50
50
|
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import type { IFileInfo } from '@/types/file';
|
2
|
+
declare const _default: <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<Pick<Partial<{}> & Omit<{
|
4
|
+
readonly onDelete?: (file: T) => any;
|
5
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onDelete"> & {
|
6
|
+
file: T;
|
7
|
+
} & Partial<{}>> & import("vue").PublicProps;
|
8
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
9
|
+
attrs: any;
|
10
|
+
slots: {
|
11
|
+
tool?: (props: {}) => any;
|
12
|
+
};
|
13
|
+
emit: (event: "delete", file: T) => void;
|
14
|
+
}>) => import("vue").VNode & {
|
15
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
16
|
+
};
|
17
|
+
export default _default;
|
18
|
+
type __VLS_PrettifyLocal<T> = {
|
19
|
+
[K in keyof T]: T[K];
|
20
|
+
} & {};
|
@@ -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-p9obll1z] {
|
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-p9obll1z], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-p9obll1z], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-p9obll1z] {
|
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-p9obll1z] {
|
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-p9obll1z] {
|
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-p9obll1z] {
|
15
15
|
color: #14A568;
|
16
16
|
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
type __VLS_Props = {
|
2
|
+
type: string;
|
3
|
+
};
|
4
|
+
declare const _default: 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
|
+
export default _default;
|
@@ -23,9 +23,9 @@ export default /*@__PURE__*/ _defineComponent({
|
|
23
23
|
type: Boolean,
|
24
24
|
default: true
|
25
25
|
},
|
26
|
-
|
26
|
+
isCodeReviewHistory: {
|
27
27
|
type: Boolean,
|
28
|
-
default:
|
28
|
+
default: false
|
29
29
|
}
|
30
30
|
},
|
31
31
|
emits: [
|
@@ -46,7 +46,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
46
46
|
_renderSlot(_ctx.$slots, "title", {}, ()=>[
|
47
47
|
_createElementVNode("span", _hoisted_2, _toDisplayString(__props.title), 1 /* TEXT */ )
|
48
48
|
], true),
|
49
|
-
__props.
|
49
|
+
!__props.isCodeReviewHistory ? (_openBlock(), _createElementBlock("section", _hoisted_3, [
|
50
50
|
_renderSlot(_ctx.$slots, "search", {}, undefined, true),
|
51
51
|
__props.showTag ? (_openBlock(), _createBlock(_component_bk_input, {
|
52
52
|
key: 0,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
.header-home[data-v-
|
2
|
+
.header-home[data-v-7flgbr8d] {
|
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-7flgbr8d] {
|
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-7flgbr8d] {
|
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-7flgbr8d] {
|
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-7flgbr8d] {
|
32
32
|
width: 300px;
|
33
33
|
font-size: 12px;
|
34
34
|
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_23: {};
|
2
|
+
type __VLS_Slots = {} & {
|
3
|
+
title?: (props: typeof __VLS_1) => any;
|
4
|
+
} & {
|
5
|
+
search?: (props: typeof __VLS_3) => any;
|
6
|
+
} & {
|
7
|
+
default?: (props: typeof __VLS_23) => any;
|
8
|
+
};
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
10
|
+
title: StringConstructor;
|
11
|
+
tagName: StringConstructor;
|
12
|
+
search: StringConstructor;
|
13
|
+
showTag: {
|
14
|
+
type: BooleanConstructor;
|
15
|
+
default: boolean;
|
16
|
+
};
|
17
|
+
showSearch: {
|
18
|
+
type: BooleanConstructor;
|
19
|
+
default: boolean;
|
20
|
+
};
|
21
|
+
isCodeReviewHistory: {
|
22
|
+
type: BooleanConstructor;
|
23
|
+
default: boolean;
|
24
|
+
};
|
25
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
26
|
+
"update:tagName": (...args: any[]) => void;
|
27
|
+
"update:search": (...args: any[]) => void;
|
28
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
29
|
+
title: StringConstructor;
|
30
|
+
tagName: StringConstructor;
|
31
|
+
search: StringConstructor;
|
32
|
+
showTag: {
|
33
|
+
type: BooleanConstructor;
|
34
|
+
default: boolean;
|
35
|
+
};
|
36
|
+
showSearch: {
|
37
|
+
type: BooleanConstructor;
|
38
|
+
default: boolean;
|
39
|
+
};
|
40
|
+
isCodeReviewHistory: {
|
41
|
+
type: BooleanConstructor;
|
42
|
+
default: boolean;
|
43
|
+
};
|
44
|
+
}>> & Readonly<{
|
45
|
+
"onUpdate:tagName"?: (...args: any[]) => any;
|
46
|
+
"onUpdate:search"?: (...args: any[]) => any;
|
47
|
+
}>, {
|
48
|
+
showTag: boolean;
|
49
|
+
showSearch: boolean;
|
50
|
+
isCodeReviewHistory: boolean;
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
52
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
53
|
+
export default _default;
|
54
|
+
type __VLS_WithSlots<T, S> = T & {
|
55
|
+
new (): {
|
56
|
+
$slots: S;
|
57
|
+
};
|
58
|
+
};
|
@@ -1,12 +1,12 @@
|
|
1
1
|
|
2
|
-
.router-tab[data-v-
|
2
|
+
.router-tab[data-v-w1bli7by] {
|
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-w1bli7by] {
|
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-w1bli7by] {
|
19
19
|
color: #3A84FF;
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
21
21
|
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
interface IProps {
|
2
|
+
routers: Array<{
|
3
|
+
to: string;
|
4
|
+
name: string;
|
5
|
+
}>;
|
6
|
+
}
|
7
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
8
|
+
export default _default;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import type { ISearchSelectItem } from '@/types/common';
|
2
|
+
declare const _default: <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<Pick<Partial<{}> & Omit<{
|
4
|
+
readonly "onUpdate:modelValue"?: (value: T) => any;
|
5
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & {
|
6
|
+
data: ISearchSelectItem[];
|
7
|
+
modelValue: T;
|
8
|
+
placeholder?: string;
|
9
|
+
validateValues?: (item: {
|
10
|
+
name: string;
|
11
|
+
id: number;
|
12
|
+
}, values: {
|
13
|
+
name: string;
|
14
|
+
id: number;
|
15
|
+
}[]) => Promise<boolean | string> | boolean | string;
|
16
|
+
getMenuList?: Function;
|
17
|
+
} & Partial<{}>> & import("vue").PublicProps;
|
18
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
19
|
+
attrs: any;
|
20
|
+
slots: {};
|
21
|
+
emit: (event: "update:modelValue", value: T) => void;
|
22
|
+
}>) => import("vue").VNode & {
|
23
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
24
|
+
};
|
25
|
+
export default _default;
|
26
|
+
type __VLS_PrettifyLocal<T> = {
|
27
|
+
[K in keyof T]: T[K];
|
28
|
+
} & {};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { renderAuthDialog } from './components/render-auth/auth-dialog-fn';
|
2
|
+
import RenderAutoHeightTextarea from './components/render-auto-height-textarea/index.vue';
|
3
|
+
import RenderAutoRefresh from './components/render-auto-refresh/index.vue';
|
4
|
+
import RenderCheckbox from './components/render-checkbox/index.vue';
|
5
|
+
import RenderChooseTag from './components/render-choose-tag/index.vue';
|
6
|
+
import RenderDataset from './components/render-dataset/index.vue';
|
7
|
+
import RenderDatasetDetail from './components/render-dataset-detail/index.vue';
|
8
|
+
import RenderDatasetDetailOriginData from './components/render-dataset-detail-origin-data/index.vue';
|
9
|
+
import RenderDatasetList from './components/render-dataset-list/index.vue';
|
10
|
+
import RenderHeader from './components/render-header/index.vue';
|
11
|
+
export { renderAuthDialog, RenderAutoRefresh, RenderDataset, RenderDatasetDetail, RenderDatasetList, RenderHeader, RenderAutoHeightTextarea, RenderDatasetDetailOriginData, RenderCheckbox, RenderChooseTag, };
|
package/dist/components.ts.js
CHANGED
@@ -9,5 +9,4 @@ import RenderDatasetDetail from './components/render-dataset-detail/index.vue.js
|
|
9
9
|
import RenderDatasetDetailOriginData from './components/render-dataset-detail-origin-data/index.vue.js';
|
10
10
|
import RenderDatasetList from './components/render-dataset-list/index.vue.js';
|
11
11
|
import RenderHeader from './components/render-header/index.vue.js';
|
12
|
-
|
13
|
-
export { renderAuthDialog, RenderAutoRefresh, RenderDataset, RenderDatasetDetail, RenderDatasetList, RenderHeader, RenderAutoHeightTextarea, RenderDatasetDetailOriginData, RenderCheckbox, RenderChooseTag, RenderSearchSelect };
|
12
|
+
export { renderAuthDialog, RenderAutoRefresh, RenderDataset, RenderDatasetDetail, RenderDatasetList, RenderHeader, RenderAutoHeightTextarea, RenderDatasetDetailOriginData, RenderCheckbox, RenderChooseTag };
|
package/dist/enums.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './types/enum';
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { EventType } from '../types/enum';
|
2
|
+
export declare const addEventListener: <T>(event: EventType, callback: (data: T) => void) => void;
|
3
|
+
export declare const removeEventListener: <T>(event: EventType, callback: (data: T) => void) => void;
|
4
|
+
export declare const emitEvent: <T>(event: EventType, data: T) => void;
|
package/dist/events.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './event';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './common/chart-helper';
|