@blueking/ai-ui-sdk 0.1.12-beta.13 → 0.1.12-beta.15

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.
Files changed (161) hide show
  1. package/dist/common/chart-helper.d.ts +32 -0
  2. package/dist/common/util.d.ts +97 -0
  3. package/dist/components/render-aside/index.vue.css +9 -9
  4. package/dist/components/render-aside/index.vue.d.ts +26 -0
  5. package/dist/components/render-aside/index.vue.js +1 -1
  6. package/dist/components/render-auth/auth-dialog-fn.d.ts +2 -0
  7. package/dist/components/render-auth/auth-dialog.script.vue.js.js +8 -2
  8. package/dist/components/render-auth/auth-dialog.vue.d.ts +5 -0
  9. package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
  10. package/dist/components/render-auto-height-textarea/index.vue.d.ts +19 -0
  11. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  12. package/dist/components/render-auto-refresh/index.vue.css +8 -8
  13. package/dist/components/render-auto-refresh/index.vue.d.ts +6 -0
  14. package/dist/components/render-auto-refresh/index.vue.js +1 -1
  15. package/dist/components/render-checkbox/index.vue.css +9 -9
  16. package/dist/components/render-checkbox/index.vue.d.ts +11 -0
  17. package/dist/components/render-checkbox/index.vue.js +1 -1
  18. package/dist/components/render-choose-tag/index.vue.css +7 -7
  19. package/dist/components/render-choose-tag/index.vue.d.ts +13 -0
  20. package/dist/components/render-choose-tag/index.vue.js +1 -1
  21. package/dist/components/render-collapse/index.vue.css +2 -2
  22. package/dist/components/render-collapse/index.vue.d.ts +18 -0
  23. package/dist/components/render-collapse/index.vue.js +1 -1
  24. package/dist/components/render-dataset/components/batch-review-dataset-data/index.script.vue.js.js +24 -6
  25. package/dist/components/render-dataset/components/batch-review-dataset-data/index.vue.d.ts +16 -0
  26. package/dist/components/render-dataset/components/dataset-data-level/index.vue.d.ts +6 -0
  27. package/dist/components/render-dataset/components/dataset-data-status/index.vue.d.ts +7 -0
  28. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
  29. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.vue.d.ts +5 -0
  30. package/dist/components/render-dataset/components/edit-dataset-data/index.script.vue.js.js +13 -3
  31. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  32. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.d.ts +18 -0
  33. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  34. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  35. package/dist/components/render-dataset/components/operation-record/index.vue.d.ts +13 -0
  36. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  37. package/dist/components/render-dataset/components/operation-record/table/index.script.vue.js.js +4 -1
  38. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  39. package/dist/components/render-dataset/components/operation-record/table/index.vue.d.ts +8 -0
  40. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  41. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  42. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.d.ts +11 -0
  43. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  44. package/dist/components/render-dataset/components/plus-dataset/dataset-footer.script.vue.js.js +8 -2
  45. package/dist/components/render-dataset/components/plus-dataset/dataset-footer.vue.d.ts +16 -0
  46. package/dist/components/render-dataset/components/plus-dataset/dataset-form.vue.d.ts +17 -0
  47. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  48. package/dist/components/render-dataset/components/plus-dataset/index.vue.d.ts +16 -0
  49. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  50. package/dist/components/render-dataset/components/plus-dataset-data/form/category.vue.d.ts +10 -0
  51. package/dist/components/render-dataset/components/plus-dataset-data/form/dataset.vue.d.ts +17 -0
  52. package/dist/components/render-dataset/components/plus-dataset-data/form/file.script.vue.js.js +12 -3
  53. package/dist/components/render-dataset/components/plus-dataset-data/form/file.vue.d.ts +15 -0
  54. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.script.vue.js.js +8 -2
  55. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  56. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.d.ts +15 -0
  57. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  58. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  59. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.d.ts +17 -0
  60. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  61. package/dist/components/render-dataset/components/plus-dataset-data/form/manual.vue.d.ts +15 -0
  62. package/dist/components/render-dataset/components/plus-dataset-data/index.script.vue.js.js +4 -1
  63. package/dist/components/render-dataset/components/plus-dataset-data/index.vue.d.ts +15 -0
  64. package/dist/components/render-dataset/components/review-dataset-data/index.script.vue.js.js +21 -5
  65. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
  66. package/dist/components/render-dataset/components/review-dataset-data/index.vue.d.ts +17 -0
  67. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  68. package/dist/components/render-dataset/components/search-dataset/index.vue.d.ts +13 -0
  69. package/dist/components/render-dataset/components/search-dataset-data/index.vue.d.ts +12 -0
  70. package/dist/components/render-dataset/components/search-operation-record/index.vue.d.ts +11 -0
  71. package/dist/components/render-dataset/components/source-type-icon/index.vue.d.ts +6 -0
  72. package/dist/components/render-dataset/index.vue.css +1 -1
  73. package/dist/components/render-dataset/index.vue.d.ts +7 -0
  74. package/dist/components/render-dataset/index.vue.js +1 -1
  75. package/dist/components/render-dataset-detail/components/header.vue.d.ts +5 -0
  76. package/dist/components/render-dataset-detail/components/tab.vue.d.ts +2 -0
  77. package/dist/components/render-dataset-detail/index.vue.d.ts +8 -0
  78. package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.script.vue.js.js +4 -1
  79. package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.vue.d.ts +18 -0
  80. package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +20 -5
  81. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.css +1 -1
  82. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.d.ts +20 -0
  83. package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.js +1 -1
  84. package/dist/components/render-dataset-detail-origin-data/index.script.vue.js.js +4 -1
  85. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  86. package/dist/components/render-dataset-detail-origin-data/index.vue.d.ts +10 -0
  87. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  88. package/dist/components/render-dataset-list/components/header.vue.d.ts +2 -0
  89. package/dist/components/render-dataset-list/components/main.script.vue.js.js +4 -1
  90. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  91. package/dist/components/render-dataset-list/components/main.vue.d.ts +14 -0
  92. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  93. package/dist/components/render-dataset-list/components/table.script.vue.js.js +16 -4
  94. package/dist/components/render-dataset-list/components/table.vue.d.ts +11 -0
  95. package/dist/components/render-dataset-list/index.vue.d.ts +14 -0
  96. package/dist/components/render-expand-collapse/index.vue.css +3 -3
  97. package/dist/components/render-expand-collapse/index.vue.d.ts +12 -0
  98. package/dist/components/render-expand-collapse/index.vue.js +1 -1
  99. package/dist/components/render-file-card/index.vue.css +11 -11
  100. package/dist/components/render-file-card/index.vue.d.ts +20 -0
  101. package/dist/components/render-file-card/index.vue.js +1 -1
  102. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  103. package/dist/components/render-file-type-icon/index.vue.d.ts +5 -0
  104. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  105. package/dist/components/render-header/index.vue.css +5 -5
  106. package/dist/components/render-header/index.vue.d.ts +58 -0
  107. package/dist/components/render-header/index.vue.js +1 -1
  108. package/dist/components/render-router-tab/index.vue.css +3 -3
  109. package/dist/components/render-router-tab/index.vue.d.ts +8 -0
  110. package/dist/components/render-router-tab/index.vue.js +1 -1
  111. package/dist/components/render-search-select/index.vue.d.ts +28 -0
  112. package/dist/components.d.ts +12 -0
  113. package/dist/enums.d.ts +1 -0
  114. package/dist/event/index.d.ts +4 -0
  115. package/dist/events.d.ts +1 -0
  116. package/dist/helpers.d.ts +1 -0
  117. package/dist/hooks/use-chat.d.ts +893 -0
  118. package/dist/hooks/use-click-proxy.d.ts +1 -0
  119. package/dist/hooks/use-dataset-http.d.ts +47 -0
  120. package/dist/hooks/use-form-leave-confirm.d.ts +4 -0
  121. package/dist/hooks/use-form-rule.d.ts +29 -0
  122. package/dist/hooks/use-meta-http.d.ts +16 -0
  123. package/dist/hooks/use-mouse-drag.d.ts +13 -0
  124. package/dist/hooks/use-permission-http.d.ts +7 -0
  125. package/dist/hooks/use-permission.d.ts +9 -0
  126. package/dist/hooks/use-reference-doc.d.ts +14 -0
  127. package/dist/hooks/use-session-http.d.ts +16 -0
  128. package/dist/hooks/use-style.d.ts +3 -0
  129. package/dist/hooks/use-summary.d.ts +9 -0
  130. package/dist/hooks/use-table.d.ts +27 -0
  131. package/dist/hooks/use-think.d.ts +21 -0
  132. package/dist/hooks.d.ts +9 -0
  133. package/dist/http/fetch/error-interceptor.d.ts +3 -0
  134. package/dist/http/fetch/index.d.ts +25 -0
  135. package/dist/http/fetch/request-error.d.ts +6 -0
  136. package/dist/http/fetch/success-interceptor.d.ts +3 -0
  137. package/dist/http/helper/agent.d.ts +7 -0
  138. package/dist/http/helper/dataset.d.ts +117 -0
  139. package/dist/http/helper/knowledge.d.ts +43 -0
  140. package/dist/http/helper/meta.d.ts +2 -0
  141. package/dist/http/helper/model.d.ts +2 -0
  142. package/dist/http/helper/permission.d.ts +13 -0
  143. package/dist/http/helper/session.d.ts +41 -0
  144. package/dist/http/helper/session.ts.js +2 -0
  145. package/dist/http/helper/tool.d.ts +13 -0
  146. package/dist/https.d.ts +2 -0
  147. package/dist/transforms.d.ts +5 -0
  148. package/dist/types/agent.d.ts +19 -0
  149. package/dist/types/common.d.ts +23 -0
  150. package/dist/types/dataset.d.ts +297 -0
  151. package/dist/types/enum.d.ts +202 -0
  152. package/dist/types/enum.ts.js +2 -0
  153. package/dist/types/file.d.ts +23 -0
  154. package/dist/types/knowledge.d.ts +137 -0
  155. package/dist/types/meta.d.ts +8 -0
  156. package/dist/types/model.d.ts +31 -0
  157. package/dist/types/permission.d.ts +92 -0
  158. package/dist/types/session.d.ts +157 -0
  159. package/dist/types/tool.d.ts +60 -0
  160. package/dist/types.d.ts +8 -0
  161. 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-cwisunam] {
2
+ .aside-home[data-v-6o3nu3fg] {
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-cwisunam] .aside-item {
9
+ [data-v-6o3nu3fg] .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-cwisunam] .aside-item.is-tab {
19
+ [data-v-6o3nu3fg] .aside-item.is-tab {
20
20
  background: #F5F7FA;
21
21
  cursor: pointer;
22
22
  color: #4D4F56;
23
23
  }
24
- [data-v-cwisunam] .aside-item.is-tab:hover {
24
+ [data-v-6o3nu3fg] .aside-item.is-tab:hover {
25
25
  background: #F0F5FF;
26
26
  }
27
- [data-v-cwisunam] .aside-item.active {
27
+ [data-v-6o3nu3fg] .aside-item.active {
28
28
  background: #F0F5FF;
29
29
  color: #3A84FF;
30
30
  font-weight: 700;
31
31
  }
32
- [data-v-cwisunam] .aside-item.active .tab-num {
32
+ [data-v-6o3nu3fg] .aside-item.active .tab-num {
33
33
  background: #3A84FF;
34
34
  color: #fff;
35
35
  }
36
- [data-v-cwisunam] .aside-item.active .active-text {
36
+ [data-v-6o3nu3fg] .aside-item.active .active-text {
37
37
  color: #3A84FF;
38
38
  }
39
- [data-v-cwisunam] .aside-item .tab-name {
39
+ [data-v-6o3nu3fg] .aside-item .tab-name {
40
40
  flex: 1;
41
41
  }
42
- [data-v-cwisunam] .aside-item .tab-num {
42
+ [data-v-6o3nu3fg] .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,5 +1,5 @@
1
1
  import script from './index.script.vue.js';
2
- script.__scopeId = "data-v-cwisunam";
2
+ script.__scopeId = "data-v-6o3nu3fg";
3
3
  script.__file = "./src/components/render-aside/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -0,0 +1,2 @@
1
+ import type { IPermissionApplyData } from '@/types/permission';
2
+ export declare const renderAuthDialog: (perm: IPermissionApplyData, cancelCallback?: Function) => void;
@@ -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-n1t3q383] {
2
+ .send-container[data-v-30lwg7lc] {
3
3
  position: relative;
4
4
  }
5
- .send-container[data-v-n1t3q383]:has(textarea:focus) {
5
+ .send-container[data-v-30lwg7lc]:has(textarea:focus) {
6
6
  z-index: 2;
7
7
  }
8
- .send-container:hover .send-clear[data-v-n1t3q383] {
8
+ .send-container:hover .send-clear[data-v-30lwg7lc] {
9
9
  display: inline-flex !important;
10
10
  }
11
- .send-input[data-v-n1t3q383] {
11
+ .send-input[data-v-30lwg7lc] {
12
12
  width: 100%;
13
13
  flex-direction: row;
14
14
  height: var(--origin-height);
15
15
  }
16
- .send-input[data-v-n1t3q383]:has(textarea:focus) {
16
+ .send-input[data-v-30lwg7lc]:has(textarea:focus) {
17
17
  height: var(--text-height);
18
18
  }
19
- .send-input[data-v-n1t3q383] textarea {
19
+ .send-input[data-v-30lwg7lc] 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-n1t3q383] textarea::-webkit-scrollbar {
25
+ .send-input[data-v-30lwg7lc] textarea::-webkit-scrollbar {
26
26
  width: 4px;
27
27
  height: 4px;
28
28
  }
29
- .send-input[data-v-n1t3q383] textarea::-webkit-scrollbar-thumb {
29
+ .send-input[data-v-30lwg7lc] 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-n1t3q383] textarea::placeholder {
34
+ .send-input[data-v-30lwg7lc] textarea::placeholder {
35
35
  line-height: 16px;
36
36
  }
37
- .send-clear[data-v-n1t3q383] {
37
+ .send-clear[data-v-30lwg7lc] {
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-n1t3q383]:hover {
46
+ .send-clear[data-v-30lwg7lc]: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,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-n1t3q383";
2
+ script.__scopeId = "data-v-30lwg7lc";
3
3
  script.__file = "./src/components/render-auto-height-textarea/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,11 +1,11 @@
1
1
 
2
- .auto-refresh[data-v-o4zaualp] {
2
+ .auto-refresh[data-v-su08mml1] {
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-o4zaualp]:after {
8
+ .auto-refresh[data-v-su08mml1]: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-o4zaualp]:hover {
18
+ .auto-refresh[data-v-su08mml1]:hover {
19
19
  color: #3A84FF;
20
20
  background-color: #E1ECFF;
21
21
  }
22
- .refresh[data-v-o4zaualp] {
22
+ .refresh[data-v-su08mml1] {
23
23
  cursor: pointer;
24
24
  line-height: 26px;
25
25
  padding: 0 4px;
26
26
  }
27
- .refresh[data-v-o4zaualp]:hover {
27
+ .refresh[data-v-su08mml1]:hover {
28
28
  color: #3A84FF;
29
29
  background-color: #E1ECFF;
30
30
  }
31
- .textarea-list[data-v-o4zaualp] {
31
+ .textarea-list[data-v-su08mml1] {
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-o4zaualp] {
38
+ .textarea-list .textarea-item[data-v-su08mml1] {
39
39
  padding: 0 12px;
40
40
  cursor: pointer;
41
41
  }
42
- .textarea-list .textarea-item[data-v-o4zaualp]:hover {
42
+ .textarea-list .textarea-item[data-v-su08mml1]: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
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-o4zaualp";
2
+ script.__scopeId = "data-v-su08mml1";
3
3
  script.__file = "./src/components/render-auto-refresh/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,5 +1,5 @@
1
1
 
2
- .checkbox[data-v-jq70c34q] {
2
+ .checkbox[data-v-d7kxffix] {
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-jq70c34q] {
11
+ .checkbox.disabled[data-v-d7kxffix] {
12
12
  cursor: not-allowed;
13
13
  background: #fafbfd;
14
14
  border-color: #dcdee5;
15
15
  }
16
- .checkbox.disabled.checked[data-v-jq70c34q] {
16
+ .checkbox.disabled.checked[data-v-d7kxffix] {
17
17
  background-color: #a3c5fd;
18
18
  border-color: #a3c5fd;
19
19
  }
20
- .checkbox.disabled.indeterminate[data-v-jq70c34q] {
20
+ .checkbox.disabled.indeterminate[data-v-d7kxffix] {
21
21
  background-color: #fafbfd;
22
22
  border-color: #dcdee5;
23
23
  }
24
- .checkbox.disabled.indeterminate[data-v-jq70c34q]:after {
24
+ .checkbox.disabled.indeterminate[data-v-d7kxffix]:after {
25
25
  background: #dcdee5;
26
26
  }
27
- .checkbox.checked[data-v-jq70c34q] {
27
+ .checkbox.checked[data-v-d7kxffix] {
28
28
  background-color: #3a84ff;
29
29
  border: 1px solid #3a84ff;
30
30
  }
31
- .checkbox.checked[data-v-jq70c34q]:after {
31
+ .checkbox.checked[data-v-d7kxffix]: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-jq70c34q] {
44
+ .checkbox.indeterminate[data-v-d7kxffix] {
45
45
  background-color: #3a84ff;
46
46
  border: 1px solid #3a84ff;
47
47
  }
48
- .checkbox.indeterminate[data-v-jq70c34q]:after {
48
+ .checkbox.indeterminate[data-v-d7kxffix]: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,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-jq70c34q";
2
+ script.__scopeId = "data-v-d7kxffix";
3
3
  script.__file = "./src/components/render-checkbox/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,29 +1,29 @@
1
1
 
2
- .plus-tag-input[data-v-p0s7w4qe] {
2
+ .plus-tag-input[data-v-lyl0xhr6] {
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-p0s7w4qe] {
8
+ .plus-tag-input .plus-tag-done[data-v-lyl0xhr6] {
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-p0s7w4qe] {
14
+ .plus-tag-input .plus-tag-error[data-v-lyl0xhr6] {
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-p0s7w4qe] {
20
+ .plus-tag-input .plus-tag-form[data-v-lyl0xhr6] {
21
21
  flex: 1;
22
22
  }
23
- .plus-tag-input .plus-tag-form-item[data-v-p0s7w4qe] {
23
+ .plus-tag-input .plus-tag-form-item[data-v-lyl0xhr6] {
24
24
  margin-bottom: 0;
25
25
  }
26
- .plus-tag[data-v-p0s7w4qe] {
26
+ .plus-tag[data-v-lyl0xhr6] {
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-p0s7w4qe]:hover {
39
+ .plus-tag[data-v-lyl0xhr6]: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,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-p0s7w4qe";
2
+ script.__scopeId = "data-v-lyl0xhr6";
3
3
  script.__file = "./src/components/render-choose-tag/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,10 +1,10 @@
1
1
 
2
- .collapse-title[data-v-wrlmxpj7] {
2
+ .collapse-title[data-v-qk1ghih2] {
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-wrlmxpj7] {
8
+ .collapse-title .is-hidden[data-v-qk1ghih2] {
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,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-wrlmxpj7";
2
+ script.__scopeId = "data-v-qk1ghih2";
3
3
  script.__file = "./src/components/render-collapse/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;