@blueking/ai-blueking 0.0.1 → 0.0.3
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 +10 -0
- package/dist/types/index.d.ts +4 -4
- package/dist/vue2/index.es.min.js +841 -838
- package/dist/vue2/index.iife.min.js +16 -16
- package/dist/vue2/index.umd.min.js +16 -16
- package/dist/vue2/{vue2.css → style.css} +1 -1
- package/dist/vue3/index.es.min.js +656 -659
- package/dist/vue3/index.iife.min.js +16 -16
- package/dist/vue3/index.umd.min.js +8 -8
- package/dist/vue3/style.css +1 -0
- package/package.json +1 -1
- package/dist/vue3/vue3.css +0 -1
package/README.md
CHANGED
|
@@ -21,6 +21,7 @@ npm i @blueking/ai-blueking
|
|
|
21
21
|
:position-limit="positionLimit"
|
|
22
22
|
:prompts="prompts"
|
|
23
23
|
:size-limit="sizeLimit"
|
|
24
|
+
:start-position="startPosition"
|
|
24
25
|
@choose-prompt="handleChoosePrompt"
|
|
25
26
|
@clear="handleClear"
|
|
26
27
|
@close="handleClose"
|
|
@@ -97,6 +98,10 @@ npm i @blueking/ai-blueking
|
|
|
97
98
|
height: 500,
|
|
98
99
|
width: 294,
|
|
99
100
|
};
|
|
101
|
+
const startPosition = {
|
|
102
|
+
right: 0,
|
|
103
|
+
left: window.innerWidth - sizeLimit.width,
|
|
104
|
+
};
|
|
100
105
|
|
|
101
106
|
const handleClear = () => {
|
|
102
107
|
console.log('trigger clear');
|
|
@@ -135,6 +140,7 @@ npm i @blueking/bkui-library
|
|
|
135
140
|
:position-limit="positionLimit"
|
|
136
141
|
:prompts="prompts"
|
|
137
142
|
:size-limit="sizeLimit"
|
|
143
|
+
:start-position="startPosition"
|
|
138
144
|
@choose-prompt="handleChoosePrompt"
|
|
139
145
|
@clear="handleClear"
|
|
140
146
|
@close="handleClose"
|
|
@@ -206,6 +212,10 @@ npm i @blueking/bkui-library
|
|
|
206
212
|
height: 500,
|
|
207
213
|
width: 294,
|
|
208
214
|
},
|
|
215
|
+
startPosition: {
|
|
216
|
+
right: 0,
|
|
217
|
+
left: window.innerWidth - 294,
|
|
218
|
+
},
|
|
209
219
|
};
|
|
210
220
|
},
|
|
211
221
|
method: {
|
package/dist/types/index.d.ts
CHANGED