@parhelia/core 0.1.12782 → 0.1.12784
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/client-components/api.js +1 -1
- package/dist/client-components/api.js.map +1 -1
- package/dist/editor/ai/AgentTerminal.js +139 -7
- package/dist/editor/ai/AgentTerminal.js.map +1 -1
- package/dist/editor/client/EditorShell.js +4 -1
- package/dist/editor/client/EditorShell.js.map +1 -1
- package/dist/editor/commands/handlers/uiActionHandlers.js +1 -1
- package/dist/editor/commands/handlers/uiActionHandlers.js.map +1 -1
- package/dist/editor/page-viewer/PageViewerFrame.js +6 -1
- package/dist/editor/page-viewer/PageViewerFrame.js.map +1 -1
- package/dist/editor/services/agentDialogService.test.d.ts +1 -0
- package/dist/editor/services/agentDialogService.test.js +56 -0
- package/dist/editor/services/agentDialogService.test.js.map +1 -0
- package/dist/editor/services/agentService.d.ts +22 -0
- package/dist/editor/services/agentService.js +24 -0
- package/dist/editor/services/agentService.js.map +1 -1
- package/dist/editor/ui/DragPreview.js +6 -1
- package/dist/editor/ui/DragPreview.js.map +1 -1
- package/dist/editor/version-diff/versionDiffTargets.js +3 -5
- package/dist/editor/version-diff/versionDiffTargets.js.map +1 -1
- package/dist/lib/sanitize.js +1 -1
- package/dist/lib/sanitize.js.map +1 -1
- package/dist/revision.d.ts +2 -2
- package/dist/revision.js +2 -2
- package/package.json +6 -5
|
@@ -1278,7 +1278,10 @@ export function EditorShell({ configuration, className, item: loadItemDescriptor
|
|
|
1278
1278
|
}
|
|
1279
1279
|
};
|
|
1280
1280
|
const handleMessage = (event) => {
|
|
1281
|
-
if (event.
|
|
1281
|
+
if (event.origin !== window.location.origin)
|
|
1282
|
+
return;
|
|
1283
|
+
if (event.data.type === "componentsSelected" &&
|
|
1284
|
+
Array.isArray(event.data.componentIds)) {
|
|
1282
1285
|
setSelection(event.data.componentIds);
|
|
1283
1286
|
}
|
|
1284
1287
|
};
|