plain-design 1.0.0-beta.163 → 1.0.0-beta.165
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/plain-design.commonjs.min.js +1 -1
- package/dist/plain-design.min.js +1 -1
- package/dist/report.html +2 -2
- package/package.json +1 -1
- package/src/packages/components/$ai/index.tsx +1 -0
- package/src/packages/components/AiChatBox/index.tsx +0 -1
- package/src/packages/components/AutoTable/use/useTableOption.ai.tsx +0 -3
- package/src/packages/components/Cascade/createMultipleCascadeRender.tsx +1 -1
- package/src/packages/components/Cascade/createSingleCascadeRender.tsx +1 -1
- package/src/packages/components/ImageSelector/index.tsx +1 -0
- package/src/packages/components/usePopup/PopupItem.tsx +1 -0
package/package.json
CHANGED
|
@@ -146,6 +146,7 @@ export const $ai = (() => {
|
|
|
146
146
|
if (message.slice(0, 7) === '```json' && message.slice(-3) === '```') {
|
|
147
147
|
message = message.slice(7, -3).trim();
|
|
148
148
|
}
|
|
149
|
+
onReceiving({ fullText: fullText, chunkText: '' });
|
|
149
150
|
onFinish?.(message);
|
|
150
151
|
}
|
|
151
152
|
if (!value?.length) {
|
|
@@ -145,7 +145,6 @@ export const useTableOptionAi = AutoModule.createRegistration((option) => {
|
|
|
145
145
|
await scrollEnd();
|
|
146
146
|
},
|
|
147
147
|
onFinish: (fullText) => {
|
|
148
|
-
history.content = fullText;
|
|
149
148
|
console.log('search', history.content);
|
|
150
149
|
operateItems.push({ type: "search", data: JSON.parse(fullText) });
|
|
151
150
|
},
|
|
@@ -163,7 +162,6 @@ export const useTableOptionAi = AutoModule.createRegistration((option) => {
|
|
|
163
162
|
await scrollEnd();
|
|
164
163
|
},
|
|
165
164
|
onFinish: (fullText) => {
|
|
166
|
-
history.content = fullText;
|
|
167
165
|
console.log('sort', history.content);
|
|
168
166
|
operateItems.push({ type: "sort", data: JSON.parse(fullText) });
|
|
169
167
|
},
|
|
@@ -181,7 +179,6 @@ export const useTableOptionAi = AutoModule.createRegistration((option) => {
|
|
|
181
179
|
await scrollEnd();
|
|
182
180
|
},
|
|
183
181
|
onFinish: (fullText) => {
|
|
184
|
-
history.content = fullText;
|
|
185
182
|
console.log('config', history.content);
|
|
186
183
|
operateItems.push({ type: "config", data: JSON.parse(fullText) });
|
|
187
184
|
},
|