@blueking/ai-blueking 0.0.4 → 0.0.5
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/README.md +6 -13
- package/dist/ai-blueking.vue.d.ts +0 -2
- package/dist/components/render-modal.vue.d.ts +11 -9
- package/dist/vue2/index.es.min.js +4121 -4119
- package/dist/vue2/index.iife.min.js +38 -38
- package/dist/vue2/index.umd.min.js +27 -27
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/index.es.min.js +692 -693
- package/dist/vue3/index.iife.min.js +2 -2
- package/dist/vue3/index.umd.min.js +6 -6
- package/dist/vue3/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,6 @@ npm i @blueking/ai-blueking
|
|
|
22
22
|
:prompts="prompts"
|
|
23
23
|
:size-limit="sizeLimit"
|
|
24
24
|
:start-position="startPosition"
|
|
25
|
-
:start-size="startSize"
|
|
26
25
|
@choose-prompt="handleChoosePrompt"
|
|
27
26
|
@clear="handleClear"
|
|
28
27
|
@close="handleClose"
|
|
@@ -101,13 +100,10 @@ npm i @blueking/ai-blueking
|
|
|
101
100
|
};
|
|
102
101
|
// 初始位置
|
|
103
102
|
const startPosition = {
|
|
103
|
+
top: window.innerHeight - 560,
|
|
104
|
+
bottom: 0,
|
|
105
|
+
left: window.innerWidth - 400,
|
|
104
106
|
right: 0,
|
|
105
|
-
left: window.innerWidth - sizeLimit.width,
|
|
106
|
-
};
|
|
107
|
-
// 初始大小
|
|
108
|
-
const startSize = {
|
|
109
|
-
height: 560,
|
|
110
|
-
width: 400,
|
|
111
107
|
};
|
|
112
108
|
|
|
113
109
|
const handleClear = () => {
|
|
@@ -148,7 +144,6 @@ npm i @blueking/bkui-library
|
|
|
148
144
|
:prompts="prompts"
|
|
149
145
|
:size-limit="sizeLimit"
|
|
150
146
|
:start-position="startPosition"
|
|
151
|
-
:start-size="startSize"
|
|
152
147
|
@choose-prompt="handleChoosePrompt"
|
|
153
148
|
@clear="handleClear"
|
|
154
149
|
@close="handleClose"
|
|
@@ -221,12 +216,10 @@ npm i @blueking/bkui-library
|
|
|
221
216
|
width: 400,
|
|
222
217
|
},
|
|
223
218
|
startPosition: {
|
|
224
|
-
|
|
219
|
+
top: window.innerHeight - 560,
|
|
220
|
+
bottom: 0,
|
|
225
221
|
left: window.innerWidth - 400,
|
|
226
|
-
|
|
227
|
-
startSize: {
|
|
228
|
-
height: 560,
|
|
229
|
-
width: 400,
|
|
222
|
+
right: 0,
|
|
230
223
|
},
|
|
231
224
|
};
|
|
232
225
|
},
|
|
@@ -8,7 +8,6 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
|
8
8
|
positionLimit?: IPositionLimit | undefined;
|
|
9
9
|
sizeLimit?: ISize | undefined;
|
|
10
10
|
startPosition?: IStartPosition | undefined;
|
|
11
|
-
startSize?: ISize | undefined;
|
|
12
11
|
userPhoto?: string | undefined;
|
|
13
12
|
logo?: string | undefined;
|
|
14
13
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -25,7 +24,6 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
|
25
24
|
positionLimit?: IPositionLimit | undefined;
|
|
26
25
|
sizeLimit?: ISize | undefined;
|
|
27
26
|
startPosition?: IStartPosition | undefined;
|
|
28
|
-
startSize?: ISize | undefined;
|
|
29
27
|
userPhoto?: string | undefined;
|
|
30
28
|
logo?: string | undefined;
|
|
31
29
|
}>>> & {
|
|
@@ -5,7 +5,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
5
5
|
sizeLimit?: ISize | undefined;
|
|
6
6
|
logo?: string | undefined;
|
|
7
7
|
startPosition?: IStartPosition | undefined;
|
|
8
|
-
startSize?: ISize | undefined;
|
|
9
8
|
}>, {
|
|
10
9
|
headBackground: string;
|
|
11
10
|
positionLimit: () => {
|
|
@@ -18,9 +17,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
18
17
|
height: number;
|
|
19
18
|
width: number;
|
|
20
19
|
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
startPosition: () => {
|
|
21
|
+
top: number;
|
|
22
|
+
bottom: number;
|
|
23
|
+
left: number;
|
|
24
|
+
right: number;
|
|
24
25
|
};
|
|
25
26
|
logo: string;
|
|
26
27
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -32,7 +33,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
32
33
|
sizeLimit?: ISize | undefined;
|
|
33
34
|
logo?: string | undefined;
|
|
34
35
|
startPosition?: IStartPosition | undefined;
|
|
35
|
-
startSize?: ISize | undefined;
|
|
36
36
|
}>, {
|
|
37
37
|
headBackground: string;
|
|
38
38
|
positionLimit: () => {
|
|
@@ -45,9 +45,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
45
45
|
height: number;
|
|
46
46
|
width: number;
|
|
47
47
|
};
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
startPosition: () => {
|
|
49
|
+
top: number;
|
|
50
|
+
bottom: number;
|
|
51
|
+
left: number;
|
|
52
|
+
right: number;
|
|
51
53
|
};
|
|
52
54
|
logo: string;
|
|
53
55
|
}>>> & {
|
|
@@ -58,7 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
58
60
|
positionLimit: IPositionLimit;
|
|
59
61
|
sizeLimit: ISize;
|
|
60
62
|
logo: string;
|
|
61
|
-
|
|
63
|
+
startPosition: IStartPosition;
|
|
62
64
|
}, {}>, {
|
|
63
65
|
default?(_: {}): any;
|
|
64
66
|
}>;
|