@blueking/ai-ui-sdk 0.1.12-beta.13 → 0.1.12-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 +97 -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-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.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.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 +13 -3
- 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 +12 -3
- 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 -5
- 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 +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 +20 -5
- 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 +16 -4
- 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.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 +12 -0
- 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-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/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 +23 -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 +8 -0
- package/package.json +2 -2
@@ -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,97 @@
|
|
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 val 待格式化时间
|
74
|
+
* @param format 格式
|
75
|
+
* @returns 格式化后的时间
|
76
|
+
*/
|
77
|
+
export declare function timeFormatter(val: string, format?: string): string;
|
78
|
+
/**
|
79
|
+
* 处理提示词模板,替换模板中的变量
|
80
|
+
* @param prompt 提示词模板
|
81
|
+
* @param selectedText 选中的文本
|
82
|
+
* @returns 处理后的提示词
|
83
|
+
*/
|
84
|
+
export declare const processPromptTemplate: (prompt: string, selectedText: string) => string;
|
85
|
+
/**
|
86
|
+
* 获取全屏的父元素
|
87
|
+
* @param target 全屏按钮
|
88
|
+
* @returns 全屏的父元素
|
89
|
+
*/
|
90
|
+
export declare const getFullScreenWrap: (target: HTMLElement) => HTMLElement;
|
91
|
+
/**
|
92
|
+
* 判断元素的父节点们有没有某个class
|
93
|
+
* @param ele 当前元素
|
94
|
+
* @param cls class名
|
95
|
+
* @returns 是否有
|
96
|
+
*/
|
97
|
+
export declare const isParentHasClass: (ele: HTMLElement, cls: string) => boolean;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
|
2
|
-
.aside-home[data-v-
|
2
|
+
.aside-home[data-v-38lvfmb6] {
|
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-38lvfmb6] .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-38lvfmb6] .aside-item.is-tab {
|
20
20
|
background: #F5F7FA;
|
21
21
|
cursor: pointer;
|
22
22
|
color: #4D4F56;
|
23
23
|
}
|
24
|
-
[data-v-
|
24
|
+
[data-v-38lvfmb6] .aside-item.is-tab:hover {
|
25
25
|
background: #F0F5FF;
|
26
26
|
}
|
27
|
-
[data-v-
|
27
|
+
[data-v-38lvfmb6] .aside-item.active {
|
28
28
|
background: #F0F5FF;
|
29
29
|
color: #3A84FF;
|
30
30
|
font-weight: 700;
|
31
31
|
}
|
32
|
-
[data-v-
|
32
|
+
[data-v-38lvfmb6] .aside-item.active .tab-num {
|
33
33
|
background: #3A84FF;
|
34
34
|
color: #fff;
|
35
35
|
}
|
36
|
-
[data-v-
|
36
|
+
[data-v-38lvfmb6] .aside-item.active .active-text {
|
37
37
|
color: #3A84FF;
|
38
38
|
}
|
39
|
-
[data-v-
|
39
|
+
[data-v-38lvfmb6] .aside-item .tab-name {
|
40
40
|
flex: 1;
|
41
41
|
}
|
42
|
-
[data-v-
|
42
|
+
[data-v-38lvfmb6] .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
|
+
} & {};
|
@@ -59,7 +59,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
59
59
|
default: _withCtx(()=>_cache[0] || (_cache[0] = [
|
60
60
|
_createTextVNode(" 去申请 ")
|
61
61
|
])),
|
62
|
-
_: 1 /* STABLE */
|
62
|
+
_: 1 /* STABLE */ ,
|
63
|
+
__: [
|
64
|
+
0
|
65
|
+
]
|
63
66
|
}),
|
64
67
|
_createVNode(_component_bk_button, {
|
65
68
|
class: "g-ml-8",
|
@@ -68,7 +71,10 @@ export default /*@__PURE__*/ _defineComponent({
|
|
68
71
|
default: _withCtx(()=>_cache[1] || (_cache[1] = [
|
69
72
|
_createTextVNode(" 取消 ")
|
70
73
|
])),
|
71
|
-
_: 1 /* STABLE */
|
74
|
+
_: 1 /* STABLE */ ,
|
75
|
+
__: [
|
76
|
+
1
|
77
|
+
]
|
72
78
|
})
|
73
79
|
])
|
74
80
|
]),
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import type { IPermissionApplyData } from '@/types/permission';
|
2
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
3
|
+
handleShow: (data: IPermissionApplyData, callback?: Function) => void;
|
4
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
5
|
+
export default _default;
|
@@ -1,40 +1,40 @@
|
|
1
1
|
|
2
|
-
.send-container[data-v-
|
2
|
+
.send-container[data-v-tu9s7l4q] {
|
3
3
|
position: relative;
|
4
4
|
}
|
5
|
-
.send-container[data-v-
|
5
|
+
.send-container[data-v-tu9s7l4q]: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-tu9s7l4q] {
|
9
9
|
display: inline-flex !important;
|
10
10
|
}
|
11
|
-
.send-input[data-v-
|
11
|
+
.send-input[data-v-tu9s7l4q] {
|
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-tu9s7l4q]:has(textarea:focus) {
|
17
17
|
height: var(--text-height);
|
18
18
|
}
|
19
|
-
.send-input[data-v-
|
19
|
+
.send-input[data-v-tu9s7l4q] 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-tu9s7l4q] textarea::-webkit-scrollbar {
|
26
26
|
width: 4px;
|
27
27
|
height: 4px;
|
28
28
|
}
|
29
|
-
.send-input[data-v-
|
29
|
+
.send-input[data-v-tu9s7l4q] 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-tu9s7l4q] textarea::placeholder {
|
35
35
|
line-height: 16px;
|
36
36
|
}
|
37
|
-
.send-clear[data-v-
|
37
|
+
.send-clear[data-v-tu9s7l4q] {
|
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-tu9s7l4q]: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,11 +1,11 @@
|
|
1
1
|
|
2
|
-
.auto-refresh[data-v-
|
2
|
+
.auto-refresh[data-v-1o1i656q] {
|
3
3
|
position: relative;
|
4
4
|
cursor: pointer;
|
5
5
|
line-height: 26px;
|
6
6
|
padding: 0 4px;
|
7
7
|
}
|
8
|
-
.auto-refresh[data-v-
|
8
|
+
.auto-refresh[data-v-1o1i656q]:after {
|
9
9
|
content: '';
|
10
10
|
position: absolute;
|
11
11
|
top: 5px;
|
@@ -15,31 +15,31 @@
|
|
15
15
|
background-color: #dcdee5;
|
16
16
|
z-index: 1;
|
17
17
|
}
|
18
|
-
.auto-refresh[data-v-
|
18
|
+
.auto-refresh[data-v-1o1i656q]:hover {
|
19
19
|
color: #3A84FF;
|
20
20
|
background-color: #E1ECFF;
|
21
21
|
}
|
22
|
-
.refresh[data-v-
|
22
|
+
.refresh[data-v-1o1i656q] {
|
23
23
|
cursor: pointer;
|
24
24
|
line-height: 26px;
|
25
25
|
padding: 0 4px;
|
26
26
|
}
|
27
|
-
.refresh[data-v-
|
27
|
+
.refresh[data-v-1o1i656q]:hover {
|
28
28
|
color: #3A84FF;
|
29
29
|
background-color: #E1ECFF;
|
30
30
|
}
|
31
|
-
.textarea-list[data-v-
|
31
|
+
.textarea-list[data-v-1o1i656q] {
|
32
32
|
padding: 4px 0;
|
33
33
|
line-height: 32px;
|
34
34
|
max-height: 300px;
|
35
35
|
position: relative;
|
36
36
|
z-index: 2;
|
37
37
|
}
|
38
|
-
.textarea-list .textarea-item[data-v-
|
38
|
+
.textarea-list .textarea-item[data-v-1o1i656q] {
|
39
39
|
padding: 0 12px;
|
40
40
|
cursor: pointer;
|
41
41
|
}
|
42
|
-
.textarea-list .textarea-item[data-v-
|
42
|
+
.textarea-list .textarea-item[data-v-1o1i656q]:hover {
|
43
43
|
background: #E1ECFF;
|
44
44
|
color: #3A84FF;
|
45
45
|
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
2
|
+
update: () => any;
|
3
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
4
|
+
onUpdate?: () => any;
|
5
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
6
|
+
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
.checkbox[data-v-
|
2
|
+
.checkbox[data-v-njfxpyuq] {
|
3
3
|
position: relative;
|
4
4
|
display: inline-block;
|
5
5
|
width: 16px;
|
@@ -8,27 +8,27 @@
|
|
8
8
|
border-radius: 2px;
|
9
9
|
cursor: pointer;
|
10
10
|
}
|
11
|
-
.checkbox.disabled[data-v-
|
11
|
+
.checkbox.disabled[data-v-njfxpyuq] {
|
12
12
|
cursor: not-allowed;
|
13
13
|
background: #fafbfd;
|
14
14
|
border-color: #dcdee5;
|
15
15
|
}
|
16
|
-
.checkbox.disabled.checked[data-v-
|
16
|
+
.checkbox.disabled.checked[data-v-njfxpyuq] {
|
17
17
|
background-color: #a3c5fd;
|
18
18
|
border-color: #a3c5fd;
|
19
19
|
}
|
20
|
-
.checkbox.disabled.indeterminate[data-v-
|
20
|
+
.checkbox.disabled.indeterminate[data-v-njfxpyuq] {
|
21
21
|
background-color: #fafbfd;
|
22
22
|
border-color: #dcdee5;
|
23
23
|
}
|
24
|
-
.checkbox.disabled.indeterminate[data-v-
|
24
|
+
.checkbox.disabled.indeterminate[data-v-njfxpyuq]:after {
|
25
25
|
background: #dcdee5;
|
26
26
|
}
|
27
|
-
.checkbox.checked[data-v-
|
27
|
+
.checkbox.checked[data-v-njfxpyuq] {
|
28
28
|
background-color: #3a84ff;
|
29
29
|
border: 1px solid #3a84ff;
|
30
30
|
}
|
31
|
-
.checkbox.checked[data-v-
|
31
|
+
.checkbox.checked[data-v-njfxpyuq]:after {
|
32
32
|
position: absolute;
|
33
33
|
top: 50%;
|
34
34
|
left: 50%;
|
@@ -41,11 +41,11 @@
|
|
41
41
|
transform: translate(-50%, -60%) rotate(45deg);
|
42
42
|
transform-origin: center;
|
43
43
|
}
|
44
|
-
.checkbox.indeterminate[data-v-
|
44
|
+
.checkbox.indeterminate[data-v-njfxpyuq] {
|
45
45
|
background-color: #3a84ff;
|
46
46
|
border: 1px solid #3a84ff;
|
47
47
|
}
|
48
|
-
.checkbox.indeterminate[data-v-
|
48
|
+
.checkbox.indeterminate[data-v-njfxpyuq]:after {
|
49
49
|
position: absolute;
|
50
50
|
top: 50%;
|
51
51
|
left: 50%;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
interface IProps {
|
2
|
+
checked: boolean;
|
3
|
+
indeterminate?: boolean;
|
4
|
+
disabled?: boolean;
|
5
|
+
}
|
6
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
7
|
+
change: (checked: boolean) => any;
|
8
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
9
|
+
onChange?: (checked: boolean) => any;
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
11
|
+
export default _default;
|
@@ -1,29 +1,29 @@
|
|
1
1
|
|
2
|
-
.plus-tag-input[data-v-
|
2
|
+
.plus-tag-input[data-v-n7kv63mm] {
|
3
3
|
padding: 7px 12px;
|
4
4
|
height: 40px;
|
5
5
|
background: #FAFBFD;
|
6
6
|
border-top: 1px solid #DCDEE5;
|
7
7
|
}
|
8
|
-
.plus-tag-input .plus-tag-done[data-v-
|
8
|
+
.plus-tag-input .plus-tag-done[data-v-n7kv63mm] {
|
9
9
|
cursor: pointer;
|
10
10
|
font-size: 22px;
|
11
11
|
color: #2DCB56;
|
12
12
|
margin: 0 5px 0 10px;
|
13
13
|
}
|
14
|
-
.plus-tag-input .plus-tag-error[data-v-
|
14
|
+
.plus-tag-input .plus-tag-error[data-v-n7kv63mm] {
|
15
15
|
cursor: pointer;
|
16
16
|
font-size: 16px;
|
17
17
|
color: #C4C6CC;
|
18
18
|
margin-right: 5px;
|
19
19
|
}
|
20
|
-
.plus-tag-input .plus-tag-form[data-v-
|
20
|
+
.plus-tag-input .plus-tag-form[data-v-n7kv63mm] {
|
21
21
|
flex: 1;
|
22
22
|
}
|
23
|
-
.plus-tag-input .plus-tag-form-item[data-v-
|
23
|
+
.plus-tag-input .plus-tag-form-item[data-v-n7kv63mm] {
|
24
24
|
margin-bottom: 0;
|
25
25
|
}
|
26
|
-
.plus-tag[data-v-
|
26
|
+
.plus-tag[data-v-n7kv63mm] {
|
27
27
|
cursor: pointer;
|
28
28
|
width: 100%;
|
29
29
|
height: 40px;
|
@@ -36,7 +36,7 @@
|
|
36
36
|
font-size: 12px;
|
37
37
|
line-height: 20px;
|
38
38
|
}
|
39
|
-
.plus-tag[data-v-
|
39
|
+
.plus-tag[data-v-n7kv63mm]:hover {
|
40
40
|
color: #3A84FF;
|
41
41
|
}
|
42
42
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
interface IProps {
|
2
|
+
modelValue: string[][];
|
3
|
+
apiPrefix: string;
|
4
|
+
spaceId?: string;
|
5
|
+
isDataset?: boolean;
|
6
|
+
popoverOptions?: Record<string, unknown>;
|
7
|
+
}
|
8
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
9
|
+
"update:modelValue": (value: string[][]) => any;
|
10
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
11
|
+
"onUpdate:modelValue"?: (value: string[][]) => any;
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
13
|
+
export default _default;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
|
2
|
-
.collapse-title[data-v-
|
2
|
+
.collapse-title[data-v-n5kl2mq1] {
|
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-n5kl2mq1] {
|
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
|
+
};
|