@parhelia/core 0.1.12781 → 0.1.12782
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/InlineAiDialog.js +1 -1
- package/dist/editor/client/EditorShell.js +1 -4
- 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 +1 -6
- package/dist/editor/page-viewer/PageViewerFrame.js.map +1 -1
- package/dist/editor/ui/DragPreview.js +1 -6
- package/dist/editor/ui/DragPreview.js.map +1 -1
- package/dist/editor/version-diff/versionDiffTargets.js +5 -3
- 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 +5 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export function selectComponents(componentIds) {
|
|
2
|
-
window.top?.window.postMessage({ componentIds, type: "componentsSelected" },
|
|
2
|
+
window.top?.window.postMessage({ componentIds, type: "componentsSelected" }, "*");
|
|
3
3
|
}
|
|
4
4
|
//# sourceMappingURL=api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/client-components/api.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,gBAAgB,CAAC,YAAsB;IACrD,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,CAC5B,EAAE,YAAY,EAAE,IAAI,EAAE,oBAAoB,EAAE,EAC5C,
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/client-components/api.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,gBAAgB,CAAC,YAAsB;IACrD,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,CAC5B,EAAE,YAAY,EAAE,IAAI,EAAE,oBAAoB,EAAE,EAC5C,GAAG,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -15,7 +15,7 @@ import { getAiTextEditPrompts, getEditorSettings } from "../services/systemServi
|
|
|
15
15
|
import { loadAiProfiles } from "../services/aiService";
|
|
16
16
|
import { localStorageService } from "../services/localStorageService";
|
|
17
17
|
// Default Profile ID for the Inline Text Editor profile
|
|
18
|
-
const DEFAULT_INLINE_TEXT_EDITOR_PROFILE_ID = "
|
|
18
|
+
const DEFAULT_INLINE_TEXT_EDITOR_PROFILE_ID = "8e53c90c-2eac-476b-b03d-d0c2cfbbcd8a";
|
|
19
19
|
const AI_TEXT_EDIT_MODELS_STORAGE_KEY = "aiTextEdit.selectedModelIds";
|
|
20
20
|
/** Normalize profile ID to a stable key (lowercase, no braces) so storage works regardless of API casing. */
|
|
21
21
|
function normalizeProfileIdForStorage(profileId) {
|
|
@@ -1278,10 +1278,7 @@ export function EditorShell({ configuration, className, item: loadItemDescriptor
|
|
|
1278
1278
|
}
|
|
1279
1279
|
};
|
|
1280
1280
|
const handleMessage = (event) => {
|
|
1281
|
-
if (event.
|
|
1282
|
-
return;
|
|
1283
|
-
if (event.data.type === "componentsSelected" &&
|
|
1284
|
-
Array.isArray(event.data.componentIds)) {
|
|
1281
|
+
if (event.data.type === "componentsSelected") {
|
|
1285
1282
|
setSelection(event.data.componentIds);
|
|
1286
1283
|
}
|
|
1287
1284
|
};
|