@blueking/ai-ui-sdk 0.1.0-beta.13 → 0.1.0-beta.14
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 +83 -0
- package/dist/component.d.ts +6 -0
- 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-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-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/edit-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.d.ts +11 -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 +7 -0
- package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.d.ts +7 -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.vue.d.ts +14 -0
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.vue.d.ts +14 -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 +10 -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 +15 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/file.vue.d.ts +14 -0
- 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 +14 -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 +15 -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 +14 -0
- package/dist/components/render-dataset/components/plus-dataset-data/index.vue.d.ts +12 -0
- package/dist/components/render-dataset/components/search-dataset/index.vue.d.ts +11 -0
- package/dist/components/render-dataset/components/search-dataset-data/index.vue.d.ts +11 -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.css +3 -3
- package/dist/components/render-dataset/components/source-type-icon/index.vue.d.ts +6 -0
- package/dist/components/render-dataset/components/source-type-icon/index.vue.js +1 -1
- package/dist/components/render-dataset/index.vue.css +1 -1
- package/dist/components/render-dataset/index.vue.d.ts +5 -0
- package/dist/components/render-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset-detail/components/header.vue.d.ts +6 -0
- package/dist/components/render-dataset-detail/components/tab.vue.d.ts +2 -0
- package/dist/components/render-dataset-detail/index.vue.d.ts +6 -0
- package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.vue.d.ts +13 -0
- 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 +16 -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.vue.css +3 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.d.ts +6 -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.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.d.ts +10 -0
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/components/table.vue.d.ts +7 -0
- package/dist/components/render-dataset-list/index.vue.d.ts +10 -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.vue.css +5 -5
- package/dist/components/render-header/index.vue.d.ts +53 -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/event/index.d.ts +4 -0
- package/dist/hooks/use-chat.d.ts +866 -0
- package/dist/hooks/use-click-proxy.d.ts +1 -0
- package/dist/hooks/use-dataset-http.d.ts +40 -0
- package/dist/hooks/use-form-leave-confirm.d.ts +4 -0
- package/dist/hooks/use-mouse-drag.d.ts +13 -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/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 +94 -0
- package/dist/http/helper/knowledge.d.ts +43 -0
- package/dist/http/helper/permission.d.ts +7 -0
- package/dist/http/helper/session.d.ts +31 -0
- package/dist/http/helper/tool.d.ts +13 -0
- package/dist/main.d.ts +22 -0
- package/dist/types/agent.d.ts +12 -0
- package/dist/types/common.d.ts +19 -0
- package/dist/types/dataset.d.ts +232 -0
- package/dist/types/enum.d.ts +127 -0
- package/dist/types/file.d.ts +23 -0
- package/dist/types/knowledge.d.ts +133 -0
- package/dist/types/model.d.ts +14 -0
- package/dist/types/permission.d.ts +48 -0
- package/dist/types/session.d.ts +149 -0
- package/dist/types/tag.d.ts +7 -0
- package/dist/types/tool.d.ts +60 -0
- package/package.json +1 -1
@@ -0,0 +1,32 @@
|
|
1
|
+
import type { Document } from '../types/session';
|
2
|
+
type HandleStart = (sessionCode: string) => any;
|
3
|
+
type HandleText = (sessionCode: string, message: string, cover?: boolean) => void;
|
4
|
+
type HandleReferenceDoc = (sessionCode: string, documents: Document[], cover?: boolean) => void;
|
5
|
+
type HandleThink = (sessionCode: string, content: string, cover?: boolean, elapsed_time?: number) => void;
|
6
|
+
type HandleEnd = (sessionCode: string, message?: string) => void;
|
7
|
+
type HandleError = (sessionCode: string, message: string, code: string) => any;
|
8
|
+
export declare class ChatHelper {
|
9
|
+
handleStart: HandleStart;
|
10
|
+
handleText: HandleText;
|
11
|
+
handleReferenceDoc?: HandleReferenceDoc;
|
12
|
+
handleThink?: HandleThink;
|
13
|
+
handleEnd: HandleEnd;
|
14
|
+
handleError: HandleError;
|
15
|
+
controllerMap: Record<string, AbortController>;
|
16
|
+
constructor({ handleStart, handleText, handleReferenceDoc, handleThink, handleEnd, handleError, }: {
|
17
|
+
handleStart: HandleStart;
|
18
|
+
handleText: HandleText;
|
19
|
+
handleReferenceDoc?: HandleReferenceDoc;
|
20
|
+
handleThink?: HandleThink;
|
21
|
+
handleEnd: HandleEnd;
|
22
|
+
handleError: HandleError;
|
23
|
+
});
|
24
|
+
stream({ sessionCode, url, headers, data, }: {
|
25
|
+
sessionCode: string;
|
26
|
+
url: string;
|
27
|
+
headers?: Record<string, string>;
|
28
|
+
data?: Record<string, any>;
|
29
|
+
}): Promise<void>;
|
30
|
+
stop(sessionCode: string): void;
|
31
|
+
}
|
32
|
+
export {};
|
@@ -0,0 +1,83 @@
|
|
1
|
+
/**
|
2
|
+
* 选择要上传的文件
|
3
|
+
* @param accept 可接受的类型
|
4
|
+
* @param size 大小限制
|
5
|
+
* @param multiple 是否多选
|
6
|
+
* @param number 限制数量
|
7
|
+
* @param allowFolder 是否允许选择文件夹
|
8
|
+
* @returns Promise
|
9
|
+
*/
|
10
|
+
export declare function chooseFile(accept: string, size: number, multiple: boolean, allowFolder: boolean): Promise<File[]>;
|
11
|
+
/**
|
12
|
+
* 将大小转换成需要展示的文本
|
13
|
+
* @param size 大小
|
14
|
+
* @returns 展示的文本
|
15
|
+
*/
|
16
|
+
export declare const getFileSizeTxt: (size: number) => string;
|
17
|
+
/**
|
18
|
+
* 数据格式转换
|
19
|
+
* @param val 值
|
20
|
+
* @param fixed 位数
|
21
|
+
* @param locales 语言
|
22
|
+
* @returns 格式化后的字符串
|
23
|
+
*/
|
24
|
+
export declare const numberFormatter: (val?: number, fixed?: number, locales?: string) => string;
|
25
|
+
/**
|
26
|
+
* 节流,每隔一段时间执行
|
27
|
+
* @param {*} fn 需要执行的函数
|
28
|
+
* @param {*} delay 延迟时间,默认200
|
29
|
+
* @returns
|
30
|
+
*/
|
31
|
+
export declare const throttle: <T1, T2, R>(fn: (p1?: T1, p2?: T2) => R, delay?: number) => (p1?: T1, p2?: T2) => boolean;
|
32
|
+
/**
|
33
|
+
* 判断是否是 JSON 字符串
|
34
|
+
* @param str 字符串
|
35
|
+
* @returns 是否是 JSON 字符串
|
36
|
+
*/
|
37
|
+
export declare const isJSON: (str: string) => boolean;
|
38
|
+
/**
|
39
|
+
* 检查是不是 object 类型
|
40
|
+
* @param item
|
41
|
+
* @returns {boolean}
|
42
|
+
*/
|
43
|
+
export declare function isObject(item: any): boolean;
|
44
|
+
/**
|
45
|
+
* 获取 cookie
|
46
|
+
* @param key cookie key
|
47
|
+
* @returns cookie value
|
48
|
+
*/
|
49
|
+
export declare function getCookies(key: string): string;
|
50
|
+
/**
|
51
|
+
* 深度合并多个对象
|
52
|
+
* @param objectArray 待合并列表
|
53
|
+
* @returns {object} 合并后的对象
|
54
|
+
*/
|
55
|
+
export declare function deepMerge(...objectArray: object[]): any;
|
56
|
+
export declare const mergeStringWithoutLeadingSlash: (str1?: string, str2?: string) => string;
|
57
|
+
export declare const mergeStringWithoutLastSlash: (str1?: string, str2?: string) => string;
|
58
|
+
/**
|
59
|
+
* 响应时间格式化
|
60
|
+
* @param val 待格式化时间,xxms
|
61
|
+
* @returns 格式化后的时间,xx小时xx分钟xx秒
|
62
|
+
*/
|
63
|
+
export declare function durationFormatter(val: number): string;
|
64
|
+
/**
|
65
|
+
* 前端下载文件
|
66
|
+
* @param {*} source 文件内容
|
67
|
+
* @param {*} filename 文件名
|
68
|
+
*/
|
69
|
+
export declare function handleDownLoad(source: string, filename?: string): void;
|
70
|
+
export declare const handleCopy: (text: string) => void;
|
71
|
+
/**
|
72
|
+
* 处理提示词模板,替换模板中的变量
|
73
|
+
* @param prompt 提示词模板
|
74
|
+
* @param selectedText 选中的文本
|
75
|
+
* @returns 处理后的提示词
|
76
|
+
*/
|
77
|
+
export declare const processPromptTemplate: (prompt: string, selectedText: string) => string;
|
78
|
+
/**
|
79
|
+
* 获取全屏的父元素
|
80
|
+
* @param target 全屏按钮
|
81
|
+
* @returns 全屏的父元素
|
82
|
+
*/
|
83
|
+
export declare const getFullScreenWrap: (target: HTMLElement) => HTMLElement;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import RenderAutoHeightTextarea from './components/render-auto-height-textarea/index.vue';
|
2
|
+
import RenderDataset from './components/render-dataset/index.vue';
|
3
|
+
import RenderDatasetDetail from './components/render-dataset-detail/index.vue';
|
4
|
+
import RenderDatasetDetailOriginData from './components/render-dataset-detail-origin-data/index.vue';
|
5
|
+
import RenderDatasetList from './components/render-dataset-list/index.vue';
|
6
|
+
export { RenderDataset, RenderDatasetDetail, RenderDatasetList, RenderAutoHeightTextarea, RenderDatasetDetailOriginData, };
|
@@ -1,12 +1,12 @@
|
|
1
1
|
|
2
|
-
.aside-home[data-v-
|
2
|
+
.aside-home[data-v-qfd87uv0] {
|
3
3
|
width: 300px;
|
4
4
|
height: 100%;
|
5
5
|
background: #FFFFFF;
|
6
6
|
padding: 16px;
|
7
7
|
border-right: 1px solid #eaebf0;
|
8
8
|
}
|
9
|
-
[data-v-
|
9
|
+
[data-v-qfd87uv0] .aside-item {
|
10
10
|
width: 268px;
|
11
11
|
line-height: 36px;
|
12
12
|
border-radius: 2px;
|
@@ -16,30 +16,30 @@
|
|
16
16
|
justify-content: space-between;
|
17
17
|
color: #979BA5;
|
18
18
|
}
|
19
|
-
[data-v-
|
19
|
+
[data-v-qfd87uv0] .aside-item.is-tab {
|
20
20
|
background: #F5F7FA;
|
21
21
|
cursor: pointer;
|
22
22
|
color: #4D4F56;
|
23
23
|
}
|
24
|
-
[data-v-
|
24
|
+
[data-v-qfd87uv0] .aside-item.is-tab:hover {
|
25
25
|
background: #F0F5FF;
|
26
26
|
}
|
27
|
-
[data-v-
|
27
|
+
[data-v-qfd87uv0] .aside-item.active {
|
28
28
|
background: #F0F5FF;
|
29
29
|
color: #3A84FF;
|
30
30
|
font-weight: 700;
|
31
31
|
}
|
32
|
-
[data-v-
|
32
|
+
[data-v-qfd87uv0] .aside-item.active .tab-num {
|
33
33
|
background: #3A84FF;
|
34
34
|
color: #fff;
|
35
35
|
}
|
36
|
-
[data-v-
|
36
|
+
[data-v-qfd87uv0] .aside-item.active .active-text {
|
37
37
|
color: #3A84FF;
|
38
38
|
}
|
39
|
-
[data-v-
|
39
|
+
[data-v-qfd87uv0] .aside-item .tab-name {
|
40
40
|
flex: 1;
|
41
41
|
}
|
42
|
-
[data-v-
|
42
|
+
[data-v-qfd87uv0] .aside-item .tab-num {
|
43
43
|
background: #EAEBF0;
|
44
44
|
border-radius: 2px;
|
45
45
|
margin-left: 5px;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import type { ITab } from '@/types/common';
|
2
|
+
declare const _default: <T extends ITab>(__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 onCreate?: () => any;
|
5
|
+
readonly "onUpdate:tabId"?: (val: string | number) => any;
|
6
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onCreate" | "onUpdate:tabId"> & {
|
7
|
+
buttonText?: string;
|
8
|
+
tabId?: string | number;
|
9
|
+
tabs: T[];
|
10
|
+
} & Partial<{}>> & import("vue").PublicProps;
|
11
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
12
|
+
attrs: any;
|
13
|
+
slots: {
|
14
|
+
suffix?: (props: {}) => any;
|
15
|
+
};
|
16
|
+
emit: {
|
17
|
+
(event: "create"): void;
|
18
|
+
(event: "update:tabId", val: string | number): void;
|
19
|
+
};
|
20
|
+
}>) => import("vue").VNode & {
|
21
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
22
|
+
};
|
23
|
+
export default _default;
|
24
|
+
type __VLS_PrettifyLocal<T> = {
|
25
|
+
[K in keyof T]: T[K];
|
26
|
+
} & {};
|
@@ -1,40 +1,40 @@
|
|
1
1
|
|
2
|
-
.send-container[data-v-
|
2
|
+
.send-container[data-v-hem20k2r] {
|
3
3
|
position: relative;
|
4
4
|
}
|
5
|
-
.send-container[data-v-
|
5
|
+
.send-container[data-v-hem20k2r]: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-hem20k2r] {
|
9
9
|
display: inline-flex !important;
|
10
10
|
}
|
11
|
-
.send-input[data-v-
|
11
|
+
.send-input[data-v-hem20k2r] {
|
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-hem20k2r]:has(textarea:focus) {
|
17
17
|
height: var(--text-height);
|
18
18
|
}
|
19
|
-
.send-input[data-v-
|
19
|
+
.send-input[data-v-hem20k2r] 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-hem20k2r] textarea::-webkit-scrollbar {
|
26
26
|
width: 4px;
|
27
27
|
height: 4px;
|
28
28
|
}
|
29
|
-
.send-input[data-v-
|
29
|
+
.send-input[data-v-hem20k2r] 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-hem20k2r] textarea::placeholder {
|
35
35
|
line-height: 16px;
|
36
36
|
}
|
37
|
-
.send-clear[data-v-
|
37
|
+
.send-clear[data-v-hem20k2r] {
|
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-hem20k2r]:hover {
|
47
47
|
color: #313238;
|
48
48
|
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
interface IProps {
|
2
|
+
modelValue?: string;
|
3
|
+
placeholder?: string;
|
4
|
+
height: number;
|
5
|
+
maxHeight?: number;
|
6
|
+
focusShowHeight?: boolean;
|
7
|
+
disabled?: boolean;
|
8
|
+
}
|
9
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
|
+
input: (...args: any[]) => void;
|
11
|
+
"update:modelValue": (...args: any[]) => void;
|
12
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
13
|
+
onInput?: (...args: any[]) => any;
|
14
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
15
|
+
}>, {
|
16
|
+
maxHeight: number;
|
17
|
+
focusShowHeight: boolean;
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
19
|
+
export default _default;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
|
2
|
-
.collapse-title[data-v-
|
2
|
+
.collapse-title[data-v-b0ozszfj] {
|
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-b0ozszfj] {
|
9
9
|
transform: rotate(-90deg);
|
10
10
|
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
interface IProps {
|
2
|
+
title: string;
|
3
|
+
tips?: string;
|
4
|
+
}
|
5
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
6
|
+
type __VLS_Slots = {} & {
|
7
|
+
suffix?: (props: typeof __VLS_1) => any;
|
8
|
+
} & {
|
9
|
+
default?: (props: typeof __VLS_3) => any;
|
10
|
+
};
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
13
|
+
export default _default;
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
15
|
+
new (): {
|
16
|
+
$slots: S;
|
17
|
+
};
|
18
|
+
};
|
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
|
-
.content[data-v-
|
2
|
+
.content[data-v-q8dy2swx] {
|
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-q8dy2swx] {
|
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-q8dy2swx] .bk-sideslider-title {
|
13
13
|
justify-content: space-between;
|
14
14
|
width: 100%;
|
15
15
|
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
interface IProps {
|
2
|
+
index: number;
|
3
|
+
datasetId: number;
|
4
|
+
apiPrefix: string;
|
5
|
+
}
|
6
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
7
|
+
"success-edit": () => any;
|
8
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
9
|
+
"onSuccess-edit"?: () => any;
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
11
|
+
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import script from './index.script.vue.js.js';
|
2
|
-
script.__scopeId = "data-v-
|
2
|
+
script.__scopeId = "data-v-q8dy2swx";
|
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-gjeo55w2] {
|
3
3
|
padding: 0 24px 0px 32px;
|
4
4
|
height: 100%;
|
5
5
|
}
|
6
|
-
.content .toolbar[data-v-
|
6
|
+
.content .toolbar[data-v-gjeo55w2] {
|
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-gjeo55w2] {
|
14
14
|
width: 360px;
|
15
15
|
}
|
16
|
-
.content .toolbar .record-data-picker[data-v-
|
16
|
+
.content .toolbar .record-data-picker[data-v-gjeo55w2] {
|
17
17
|
width: 260px;
|
18
18
|
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
interface IProps {
|
2
|
+
apiPrefix: string;
|
3
|
+
datasetId: number;
|
4
|
+
datasetDataId?: number;
|
5
|
+
}
|
6
|
+
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>;
|
7
|
+
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import script from './index.script.vue.js.js';
|
2
|
-
script.__scopeId = "data-v-
|
2
|
+
script.__scopeId = "data-v-gjeo55w2";
|
3
3
|
script.__file = "./src/components/render-dataset/components/operation-record/index.vue";
|
4
4
|
import './index.vue.css';
|
5
5
|
export default script;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { IOperatRecordParam } from '@/types/dataset';
|
2
|
+
interface IProps {
|
3
|
+
search: IOperatRecordParam;
|
4
|
+
apiPrefix: string;
|
5
|
+
}
|
6
|
+
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>;
|
7
|
+
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import script from './index.script.vue.js.js';
|
2
|
-
script.__scopeId = "data-v-
|
2
|
+
script.__scopeId = "data-v-kntgnhzl";
|
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-lgz4v8jt] {
|
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-lgz4v8jt] {
|
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.d.ts
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { IOperatRecord } from '@/types/dataset';
|
2
|
+
interface IProps {
|
3
|
+
isShow: boolean;
|
4
|
+
data: IOperatRecord;
|
5
|
+
}
|
6
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
7
|
+
"update:isShow": (value: boolean) => any;
|
8
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
9
|
+
"onUpdate:isShow"?: (value: boolean) => any;
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
11
|
+
export default _default;
|
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-lgz4v8jt";
|
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;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { IDataset, IDatasetForm } from '@/types/dataset';
|
2
|
+
interface IProps {
|
3
|
+
validate: () => Promise<boolean>;
|
4
|
+
formData: IDatasetForm;
|
5
|
+
apiPrefix: string;
|
6
|
+
}
|
7
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
8
|
+
cancel: () => any;
|
9
|
+
success: (data: IDataset) => any;
|
10
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
11
|
+
onCancel?: () => any;
|
12
|
+
onSuccess?: (data: IDataset) => any;
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
14
|
+
export default _default;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { IDatasetForm } from '@/types/dataset';
|
2
|
+
interface IProps {
|
3
|
+
formData: IDatasetForm;
|
4
|
+
apiPrefix: string;
|
5
|
+
}
|
6
|
+
declare const _default: import("vue").DefineComponent<IProps, {
|
7
|
+
validate: () => Promise<boolean>;
|
8
|
+
clearValidate: () => Promise<boolean>;
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
10
|
+
"update:formData": (data: IDatasetForm) => any;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
12
|
+
"onUpdate:formData"?: (data: IDatasetForm) => any;
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
14
|
+
export default _default;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
|
-
.dataset-data-content[data-v-
|
2
|
+
.dataset-data-content[data-v-k0wfxo4f] {
|
3
3
|
padding: 20px 24px;
|
4
4
|
height: 100%;
|
5
5
|
}
|
6
|
-
.dataset-data-slider[data-v-
|
6
|
+
.dataset-data-slider[data-v-k0wfxo4f] .bk-modal-content {
|
7
7
|
scrollbar-gutter: inherit !important;
|
8
8
|
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { IDataset } from '@/types/dataset';
|
2
|
+
interface IProps {
|
3
|
+
apiPrefix: string;
|
4
|
+
}
|
5
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
6
|
+
"success-plus": (data: IDataset) => any;
|
7
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
8
|
+
"onSuccess-plus"?: (data: IDataset) => any;
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
10
|
+
export default _default;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { IDatasetDataForm } from '@/types/dataset';
|
2
|
+
interface IProps {
|
3
|
+
modelValue: IDatasetDataForm;
|
4
|
+
}
|
5
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
6
|
+
"update:modelValue": (data: IDatasetDataForm) => any;
|
7
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
8
|
+
"onUpdate:modelValue"?: (data: IDatasetDataForm) => any;
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
10
|
+
export default _default;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import type { IDatasetDataForm } from '@/types/dataset';
|
2
|
+
interface IProps {
|
3
|
+
modelValue: IDatasetDataForm;
|
4
|
+
apiPrefix: string;
|
5
|
+
disabledChooseDataset?: boolean;
|
6
|
+
}
|
7
|
+
declare const _default: import("vue").DefineComponent<IProps, {
|
8
|
+
validate: () => Promise<unknown>;
|
9
|
+
clearValidate: () => void;
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
11
|
+
"update:modelValue": (val: IDatasetDataForm) => any;
|
12
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
13
|
+
"onUpdate:modelValue"?: (val: IDatasetDataForm) => any;
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
15
|
+
export default _default;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { IDatasetDataForm } from '@/types/dataset';
|
2
|
+
interface IProps {
|
3
|
+
modelValue: IDatasetDataForm;
|
4
|
+
apiPrefix: string;
|
5
|
+
}
|
6
|
+
declare const _default: import("vue").DefineComponent<IProps, {
|
7
|
+
validate: () => Promise<unknown>;
|
8
|
+
clearValidate: () => void;
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
10
|
+
"update:modelValue": (val: IDatasetDataForm) => any;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
12
|
+
"onUpdate:modelValue"?: (val: IDatasetDataForm) => any;
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
14
|
+
export default _default;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { IDatasetDataForm } from '@/types/dataset';
|
2
|
+
interface IProps {
|
3
|
+
validate: () => Promise<unknown>;
|
4
|
+
datasetData: IDatasetDataForm;
|
5
|
+
apiPrefix: string;
|
6
|
+
}
|
7
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
8
|
+
close: (noValidate?: boolean) => any;
|
9
|
+
"success-confirm": () => any;
|
10
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
11
|
+
onClose?: (noValidate?: boolean) => any;
|
12
|
+
"onSuccess-confirm"?: () => any;
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
14
|
+
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import script from './footer.script.vue.js.js';
|
2
|
-
script.__scopeId = "data-v-
|
2
|
+
script.__scopeId = "data-v-ojkcw7ha";
|
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-j1t1svi5] {
|
3
3
|
padding: 20px 24px;
|
4
4
|
}
|
5
|
-
.plus-dataset-sideslider[data-v-
|
5
|
+
.plus-dataset-sideslider[data-v-j1t1svi5] .bk-modal-content {
|
6
6
|
scrollbar-gutter: inherit !important;
|
7
7
|
}
|