@blueking/ai-ui-sdk 0.2.0-beta.6 → 0.2.0-beta.8
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/components/render-auto-height-textarea/index.vue.css +11 -11
- 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.js +1 -1
- package/dist/components/render-checkbox/index.script.vue.js.js +23 -4
- package/dist/components/render-checkbox/index.vue.css +9 -9
- package/dist/components/render-checkbox/index.vue.d.ts +1 -0
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.script.vue.js.js +4 -2
- package/dist/components/render-choose-tag/index.vue.css +7 -7
- 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.js +1 -1
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.css +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.css +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/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.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.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.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.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.script.vue.js.js +3 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
- 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.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.js +1 -1
- 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.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.js +1 -1
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/index.vue.css +2 -2
- package/dist/components/render-dataset-list/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 +9 -5
- 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.js +1 -1
- package/dist/components/render-header/index.vue.css +3 -3
- package/dist/components/render-header/index.vue.js +1 -1
- package/dist/components/render-like/index.vue.css +5 -5
- package/dist/components/render-like/index.vue.d.ts +3 -3
- package/dist/components/render-like/index.vue.js +1 -1
- package/dist/components/render-markdown/mark-down.d.ts +9 -0
- package/dist/components/render-markdown/mark-down.postcss.css +1 -1
- package/dist/components/render-markdown/mark-down.ts.js +8 -1
- package/dist/components/render-router-tab/index.vue.css +3 -3
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/components/render-search-empty/index.vue.d.ts +9 -5
- package/dist/components/render-search-select/index.script.vue.js.js +176 -20
- package/dist/components/render-search-select/index.vue.d.ts +14 -5
- package/dist/components/render-t-table/index.vue.css +27 -27
- package/dist/components/render-t-table/index.vue.d.ts +9 -5
- package/dist/components/render-t-table/index.vue.js +1 -1
- package/dist/components/render-tag-tree/index.vue.css +7 -7
- package/dist/components/render-tag-tree/index.vue.js +1 -1
- package/dist/components/render-tree/index.script.vue.js +22 -1
- package/dist/components/render-tree/index.vue.d.ts +9 -5
- package/dist/css/tailwind.css +29 -1
- package/dist/hooks/use-chat.d.ts +20 -12
- package/dist/hooks.d.ts +1 -0
- package/dist/hooks.ts.js +1 -0
- package/dist/http/helper/agent.ts.js +2 -0
- package/dist/types/agent.d.ts +2 -0
- package/dist/types/enum.d.ts +5 -0
- package/dist/types/enum.ts.js +6 -0
- package/dist/types/tool.d.ts +2 -1
- package/package.json +2 -2
package/dist/hooks/use-chat.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
39
39
|
type: import("../types/enum").ApiValueType;
|
|
40
40
|
default: string | number | boolean;
|
|
41
41
|
description: string;
|
|
42
|
-
validate
|
|
42
|
+
validate?: {
|
|
43
43
|
enable: boolean;
|
|
44
44
|
rules: {
|
|
45
45
|
func: string;
|
|
@@ -47,6 +47,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
47
47
|
value: string;
|
|
48
48
|
}[];
|
|
49
49
|
};
|
|
50
|
+
children?: /*elided*/ any[];
|
|
50
51
|
}[];
|
|
51
52
|
query?: {
|
|
52
53
|
name: string;
|
|
@@ -54,7 +55,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
54
55
|
type: import("../types/enum").ApiValueType;
|
|
55
56
|
default: string | number | boolean;
|
|
56
57
|
description: string;
|
|
57
|
-
validate
|
|
58
|
+
validate?: {
|
|
58
59
|
enable: boolean;
|
|
59
60
|
rules: {
|
|
60
61
|
func: string;
|
|
@@ -62,6 +63,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
62
63
|
value: string;
|
|
63
64
|
}[];
|
|
64
65
|
};
|
|
66
|
+
children?: /*elided*/ any[];
|
|
65
67
|
}[];
|
|
66
68
|
body?: {
|
|
67
69
|
name: string;
|
|
@@ -69,7 +71,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
69
71
|
type: import("../types/enum").ApiValueType;
|
|
70
72
|
default: string | number | boolean;
|
|
71
73
|
description: string;
|
|
72
|
-
validate
|
|
74
|
+
validate?: {
|
|
73
75
|
enable: boolean;
|
|
74
76
|
rules: {
|
|
75
77
|
func: string;
|
|
@@ -77,6 +79,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
77
79
|
value: string;
|
|
78
80
|
}[];
|
|
79
81
|
};
|
|
82
|
+
children?: /*elided*/ any[];
|
|
80
83
|
}[];
|
|
81
84
|
path?: {
|
|
82
85
|
name: string;
|
|
@@ -84,7 +87,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
84
87
|
type: import("../types/enum").ApiValueType;
|
|
85
88
|
default: string | number | boolean;
|
|
86
89
|
description: string;
|
|
87
|
-
validate
|
|
90
|
+
validate?: {
|
|
88
91
|
enable: boolean;
|
|
89
92
|
rules: {
|
|
90
93
|
func: string;
|
|
@@ -92,6 +95,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
92
95
|
value: string;
|
|
93
96
|
}[];
|
|
94
97
|
};
|
|
98
|
+
children?: /*elided*/ any[];
|
|
95
99
|
}[];
|
|
96
100
|
isSensitive?: boolean;
|
|
97
101
|
credentialId?: number;
|
|
@@ -262,9 +266,9 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
262
266
|
readonly size: number;
|
|
263
267
|
readonly type: string;
|
|
264
268
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
265
|
-
bytes: () => Promise<Uint8Array
|
|
269
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
266
270
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
267
|
-
stream: () => ReadableStream<Uint8Array
|
|
271
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
268
272
|
text: () => Promise<string>;
|
|
269
273
|
}[];
|
|
270
274
|
loadingPercentage?: number;
|
|
@@ -542,7 +546,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
542
546
|
type: import("../types/enum").ApiValueType;
|
|
543
547
|
default: string | number | boolean;
|
|
544
548
|
description: string;
|
|
545
|
-
validate
|
|
549
|
+
validate?: {
|
|
546
550
|
enable: boolean;
|
|
547
551
|
rules: {
|
|
548
552
|
func: string;
|
|
@@ -550,6 +554,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
550
554
|
value: string;
|
|
551
555
|
}[];
|
|
552
556
|
};
|
|
557
|
+
children?: /*elided*/ any[];
|
|
553
558
|
}[];
|
|
554
559
|
query?: {
|
|
555
560
|
name: string;
|
|
@@ -557,7 +562,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
557
562
|
type: import("../types/enum").ApiValueType;
|
|
558
563
|
default: string | number | boolean;
|
|
559
564
|
description: string;
|
|
560
|
-
validate
|
|
565
|
+
validate?: {
|
|
561
566
|
enable: boolean;
|
|
562
567
|
rules: {
|
|
563
568
|
func: string;
|
|
@@ -565,6 +570,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
565
570
|
value: string;
|
|
566
571
|
}[];
|
|
567
572
|
};
|
|
573
|
+
children?: /*elided*/ any[];
|
|
568
574
|
}[];
|
|
569
575
|
body?: {
|
|
570
576
|
name: string;
|
|
@@ -572,7 +578,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
572
578
|
type: import("../types/enum").ApiValueType;
|
|
573
579
|
default: string | number | boolean;
|
|
574
580
|
description: string;
|
|
575
|
-
validate
|
|
581
|
+
validate?: {
|
|
576
582
|
enable: boolean;
|
|
577
583
|
rules: {
|
|
578
584
|
func: string;
|
|
@@ -580,6 +586,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
580
586
|
value: string;
|
|
581
587
|
}[];
|
|
582
588
|
};
|
|
589
|
+
children?: /*elided*/ any[];
|
|
583
590
|
}[];
|
|
584
591
|
path?: {
|
|
585
592
|
name: string;
|
|
@@ -587,7 +594,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
587
594
|
type: import("../types/enum").ApiValueType;
|
|
588
595
|
default: string | number | boolean;
|
|
589
596
|
description: string;
|
|
590
|
-
validate
|
|
597
|
+
validate?: {
|
|
591
598
|
enable: boolean;
|
|
592
599
|
rules: {
|
|
593
600
|
func: string;
|
|
@@ -595,6 +602,7 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
595
602
|
value: string;
|
|
596
603
|
}[];
|
|
597
604
|
};
|
|
605
|
+
children?: /*elided*/ any[];
|
|
598
606
|
}[];
|
|
599
607
|
isSensitive?: boolean;
|
|
600
608
|
credentialId?: number;
|
|
@@ -765,9 +773,9 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
765
773
|
readonly size: number;
|
|
766
774
|
readonly type: string;
|
|
767
775
|
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
768
|
-
bytes: () => Promise<Uint8Array
|
|
776
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
769
777
|
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
770
|
-
stream: () => ReadableStream<Uint8Array
|
|
778
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
771
779
|
text: () => Promise<string>;
|
|
772
780
|
}[];
|
|
773
781
|
loadingPercentage?: number;
|
package/dist/hooks.d.ts
CHANGED
package/dist/hooks.ts.js
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
id: data.id,
|
|
34
34
|
name: data.name,
|
|
35
35
|
icon: data.icon,
|
|
36
|
+
spaceId: data.space_id,
|
|
36
37
|
agentId: data.agent_id,
|
|
37
38
|
agentName: data.agent_name,
|
|
38
39
|
content: data.content,
|
|
@@ -70,6 +71,7 @@
|
|
|
70
71
|
id: data.id,
|
|
71
72
|
name: data.name,
|
|
72
73
|
icon: data.icon,
|
|
74
|
+
space_id: data.spaceId,
|
|
73
75
|
agent_id: data.agentId,
|
|
74
76
|
agent_name: data.agentName,
|
|
75
77
|
content: data.content,
|
package/dist/types/agent.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export interface IAgentCommandApi {
|
|
|
32
32
|
agent_name: string;
|
|
33
33
|
status?: ResourceStatus;
|
|
34
34
|
selectedText?: string | null;
|
|
35
|
+
space_id?: string;
|
|
35
36
|
alias?: string;
|
|
36
37
|
updated_at?: string;
|
|
37
38
|
updated_by?: string;
|
|
@@ -88,6 +89,7 @@ export interface IAgentCommand {
|
|
|
88
89
|
agentId: number;
|
|
89
90
|
agentName: string;
|
|
90
91
|
status?: ResourceStatus;
|
|
92
|
+
spaceId?: string;
|
|
91
93
|
alias?: string;
|
|
92
94
|
updatedAt?: string;
|
|
93
95
|
updatedBy?: string;
|
package/dist/types/enum.d.ts
CHANGED
package/dist/types/enum.ts.js
CHANGED
|
@@ -299,3 +299,9 @@ export var ModelSpaceAuthMode;
|
|
|
299
299
|
ModelSpaceAuthMode["Apply"] = "APPLY";
|
|
300
300
|
ModelSpaceAuthMode["Grey"] = "GREY";
|
|
301
301
|
})(ModelSpaceAuthMode || (ModelSpaceAuthMode = {}));
|
|
302
|
+
export var SkillEffectiveStatus;
|
|
303
|
+
(function(SkillEffectiveStatus) {
|
|
304
|
+
SkillEffectiveStatus["Pass"] = "pass";
|
|
305
|
+
SkillEffectiveStatus["Fail"] = "fail";
|
|
306
|
+
SkillEffectiveStatus["Error"] = "error";
|
|
307
|
+
})(SkillEffectiveStatus || (SkillEffectiveStatus = {}));
|
package/dist/types/tool.d.ts
CHANGED
|
@@ -11,10 +11,11 @@ export interface IToolParam {
|
|
|
11
11
|
type: ApiValueType;
|
|
12
12
|
default: string | number | boolean;
|
|
13
13
|
description: string;
|
|
14
|
-
validate
|
|
14
|
+
validate?: {
|
|
15
15
|
enable: boolean;
|
|
16
16
|
rules: IToolRule[];
|
|
17
17
|
};
|
|
18
|
+
children?: IToolParam[];
|
|
18
19
|
}
|
|
19
20
|
export interface IToolFormApi extends IResourceFormCommonApi {
|
|
20
21
|
tool_name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blueking/ai-ui-sdk",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.8",
|
|
4
4
|
"description": "蓝鲸AI UI SDK",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"types": "dist/main.d.ts",
|
|
@@ -95,6 +95,6 @@
|
|
|
95
95
|
"postcss-nested": "^7.0.2",
|
|
96
96
|
"postcss-nested-ancestors": "^3.0.0",
|
|
97
97
|
"typescript": "^5.5.4",
|
|
98
|
-
"vue-tsc": "^3.
|
|
98
|
+
"vue-tsc": "^3.2.6"
|
|
99
99
|
}
|
|
100
100
|
}
|