camox 0.48.0 → 0.52.1
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/core/createApp.d.ts +1 -0
- package/dist/core/createApp.js +1 -0
- package/dist/core/editing/contentEdits.js +78 -0
- package/dist/core/editing/createEditableBlock.js +277 -311
- package/dist/core/layoutContext.d.ts +1 -0
- package/dist/core/lib/contentType.js +2 -2
- package/dist/core/recordItem.js +3 -3
- package/dist/features/canvas/CamoxCanvas.js +15 -15
- package/dist/features/canvas/CanvasLoadingScreen.js +15 -11
- package/dist/features/canvas/CanvasPageFrame.js +81 -87
- package/dist/features/canvas/CanvasPreviewPageSlot.js +1 -1
- package/dist/features/canvas/DerivedPagePathInput.js +12 -12
- package/dist/features/canvas/canvasOverlayGeometry.js +1 -1
- package/dist/features/canvas/canvasStore.js +2 -2
- package/dist/features/canvas/sidebar/CanvasInspector.js +1 -1
- package/dist/features/canvas/sidebar/CuratedPageInspector.js +1 -1
- package/dist/features/canvas/sidebar/LayoutPageBlocks.js +23 -31
- package/dist/features/canvas/useCanvasCamera.js +1 -1
- package/dist/features/canvas/useDiscoveredPreviewPaths.js +16 -9
- package/dist/features/content/ContentAssets.js +84 -88
- package/dist/features/page/CuratedPageContent.js +1 -1
- package/dist/features/preview/CamoxPreview.d.ts +8 -4
- package/dist/features/preview/CamoxPreview.js +258 -443
- package/dist/features/preview/EditablePageContent.js +244 -2
- package/dist/features/preview/EditablePageExperience.js +19 -13
- package/dist/features/preview/components/AddBlockSheet.js +55 -15
- package/dist/features/preview/components/BlockActionsPopover.js +23 -51
- package/dist/features/preview/components/BlockPeek.js +66 -0
- package/dist/features/preview/components/BlockThumbnail.js +134 -119
- package/dist/features/preview/components/CanvasPreview.js +1 -1
- package/dist/features/preview/components/CreatePageModal.js +150 -156
- package/dist/features/preview/components/FieldToolbar.js +1 -1
- package/dist/features/preview/components/Frame.js +27 -4
- package/dist/features/preview/components/MobilePreviewDrawer.js +6 -9
- package/dist/features/preview/components/PageInfo.js +161 -126
- package/dist/features/preview/components/PagePicker.js +2 -2
- package/dist/features/preview/components/PageTree.js +174 -190
- package/dist/features/preview/components/PreviewPanel.js +13 -67
- package/dist/features/preview/components/PreviewToolbar.js +1 -1
- package/dist/features/preview/components/ReferenceFieldEditor.js +4 -4
- package/dist/features/preview/components/ReferenceListFieldEditor.js +4 -4
- package/dist/features/preview/components/RemovedBlockPlaceholder.js +37 -70
- package/dist/features/preview/components/RepeatableItemsList.js +1 -1
- package/dist/features/preview/components/SelectionEditor.js +248 -256
- package/dist/features/preview/components/StudioEditingFallback.js +22 -26
- package/dist/features/preview/components/useFieldWriter.js +19 -19
- package/dist/features/preview/components/useRecordView.js +105 -147
- package/dist/features/preview/components/useRepeatableItemActions.js +0 -2
- package/dist/features/preview/pageRecord.js +30 -24
- package/dist/features/preview/previewConstants.js +2 -8
- package/dist/features/preview/previewStore.js +2 -0
- package/dist/features/preview/studioNotice.js +20 -0
- package/dist/features/preview/usePreviewViewportActions.js +1 -1
- package/dist/features/provider/AuthenticatedCamoxProvider.js +47 -31
- package/dist/features/provider/components/CommandPalette.js +2 -5
- package/dist/features/provider/signInShortcut.js +1 -2
- package/dist/features/provider/useAdminShortcuts.js +47 -53
- package/dist/features/renderer/RendererApp.js +542 -0
- package/dist/features/renderer/RendererFrames.js +450 -0
- package/dist/features/renderer/definitionAnswers.js +26 -0
- package/dist/features/renderer/protocol.js +35 -0
- package/dist/features/renderer/rendererHost.js +249 -0
- package/dist/features/renderer/studioConnection.js +186 -0
- package/dist/features/routes/pageRuntime.d.ts +2 -1
- package/dist/features/routes/pageRuntime.js +34 -22
- package/dist/features/runtime/RuntimeChrome.js +2 -5
- package/dist/features/runtime/assetPrefix.js +14 -0
- package/dist/features/runtime/breadcrumbs.js +1 -1
- package/dist/features/runtime/editingFallback.js +4 -8
- package/dist/features/runtime/livePages.js +1 -1
- package/dist/features/runtime/pageApp.js +57 -83
- package/dist/features/runtime/pageClient.js +1 -1
- package/dist/features/runtime/pageNavigation.js +3 -2
- package/dist/features/runtime/publicCache.js +95 -0
- package/dist/features/runtime/publishingDraft.js +23 -0
- package/dist/features/runtime/rendererClient.d.ts +8 -0
- package/dist/features/runtime/rendererClient.js +77 -0
- package/dist/features/runtime/runtime.d.ts +22 -3
- package/dist/features/runtime/runtime.js +209 -96
- package/dist/features/runtime/runtimeRoutes.d.ts +2 -0
- package/dist/features/runtime/runtimeRoutes.js +2 -0
- package/dist/features/runtime/worker.d.ts +14 -1
- package/dist/features/runtime/worker.js +34 -4
- package/dist/features/settings/AnalyticsSettings.js +622 -0
- package/dist/features/settings/CamoxSettings.js +95 -0
- package/dist/features/settings/FaviconSettings.js +254 -0
- package/dist/features/settings/ProjectNameSettings.js +145 -0
- package/dist/features/settings/SettingsPart.js +73 -0
- package/dist/features/settings/SocialProfilesSettings.js +245 -0
- package/dist/features/settings/useProjectMutation.js +61 -0
- package/dist/features/studio/FollowAgentProvider.js +10 -10
- package/dist/features/studio/components/DraftsControl.js +136 -131
- package/dist/features/studio/components/LocalePicker.js +178 -174
- package/dist/features/studio/components/Navbar.js +107 -66
- package/dist/features/studio/components/ProjectMenu.js +119 -171
- package/dist/features/studio/components/ReviewDraftSheet.js +1151 -991
- package/dist/features/studio/components/ThreadMessages.js +100 -65
- package/dist/features/studio/components/UserButton.js +2 -2
- package/dist/features/studio/routes.js +3 -1
- package/dist/features/studio/showInCanvas.js +129 -0
- package/dist/features/vite/definitionsSync.js +5 -6
- package/dist/features/vite/hostedChecks.js +127 -0
- package/dist/features/vite/runtimeDev.js +58 -17
- package/dist/features/vite/staticAssetHeaders.js +52 -0
- package/dist/features/vite/vite.d.ts +1 -1
- package/dist/features/vite/vite.js +49 -9
- package/dist/hooks/use-page-destinations.js +10 -10
- package/dist/lib/api-client-server.d.ts +1 -1
- package/dist/lib/api-client.d.ts +2 -1
- package/dist/lib/draft-scope.d.ts +1 -0
- package/dist/lib/locale-path.d.ts +3 -11
- package/dist/lib/locale-path.js +3 -27
- package/dist/lib/queries.js +7 -1
- package/dist/lib/revisions.js +20 -0
- package/dist/lib/shortcuts.js +29 -0
- package/dist/lib/studio-definitions.js +160 -0
- package/dist/lib/studio-reads.d.ts +1 -0
- package/dist/lib/studio-reads.js +65 -21
- package/dist/lib/use-project-room.js +16 -10
- package/dist/lib/utils.js +1 -104
- package/dist/package.js +1 -1
- package/dist/studio.css +1 -1
- package/package.json +9 -4
- package/skills/camox/SKILL.md +4 -0
- package/skills/camox/references/artifacts.md +1 -1
- package/dist/features/studio/components/FaviconDialog.js +0 -318
- package/dist/features/studio/components/SocialProfilesDialog.js +0 -342
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { NormalizedDataProvider } from "../../../lib/normalized-data.js";
|
|
2
|
-
import { BlockErrorBoundary } from "./BlockErrorBoundary.js";
|
|
3
1
|
import { cn } from "../../../lib/utils.js";
|
|
2
|
+
import { useRendererHost } from "../../renderer/RendererFrames.js";
|
|
4
3
|
import { useEditingFrame } from "../editingFrame.js";
|
|
5
4
|
import { EMPTY_PREVIEW_DOCUMENT, isSiteStyle } from "./previewStyles.js";
|
|
6
5
|
import { FrameContext } from "./Frame.js";
|
|
@@ -13,24 +12,17 @@ import { createPortal } from "react-dom";
|
|
|
13
12
|
const VIEWPORT_WIDTH = 1200;
|
|
14
13
|
const VIEWPORT_HEIGHT = 800;
|
|
15
14
|
const ThumbnailFrame = (t0) => {
|
|
16
|
-
const $ = c(
|
|
17
|
-
const {
|
|
15
|
+
const $ = c(26);
|
|
16
|
+
const { blockType, title, width } = t0;
|
|
18
17
|
const sourceDocument = useEditingFrame().document;
|
|
19
18
|
const [frame, setFrame] = React.useState(null);
|
|
20
19
|
const [root, setRoot] = React.useState(null);
|
|
21
20
|
const [content, setContent] = React.useState(null);
|
|
22
21
|
const [contentHeight, setContentHeight] = React.useState(VIEWPORT_HEIGHT);
|
|
23
|
-
let t1;
|
|
24
|
-
if ($[0] !== block._internal) {
|
|
25
|
-
t1 = block._internal.getPeekBundle();
|
|
26
|
-
$[0] = block._internal;
|
|
27
|
-
$[1] = t1;
|
|
28
|
-
} else t1 = $[1];
|
|
29
|
-
const bundle = t1;
|
|
30
22
|
const initialization = React.useRef(0);
|
|
31
|
-
let
|
|
32
|
-
if ($[
|
|
33
|
-
|
|
23
|
+
let t1;
|
|
24
|
+
if ($[0] !== frame?.contentDocument || $[1] !== sourceDocument) {
|
|
25
|
+
t1 = () => {
|
|
34
26
|
const doc = frame?.contentDocument;
|
|
35
27
|
const mount = doc?.querySelector("[data-camox-preview-root]");
|
|
36
28
|
if (!doc || !mount) return;
|
|
@@ -66,30 +58,30 @@ const ThumbnailFrame = (t0) => {
|
|
|
66
58
|
if (initialization.current === generation) setRoot(mount);
|
|
67
59
|
});
|
|
68
60
|
};
|
|
69
|
-
$[
|
|
70
|
-
$[
|
|
71
|
-
$[
|
|
72
|
-
} else
|
|
73
|
-
const initialize =
|
|
61
|
+
$[0] = frame?.contentDocument;
|
|
62
|
+
$[1] = sourceDocument;
|
|
63
|
+
$[2] = t1;
|
|
64
|
+
} else t1 = $[2];
|
|
65
|
+
const initialize = t1;
|
|
66
|
+
let t2;
|
|
74
67
|
let t3;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
t3 = () => {
|
|
68
|
+
if ($[3] !== initialize) {
|
|
69
|
+
t2 = () => {
|
|
78
70
|
initialize();
|
|
79
71
|
};
|
|
80
|
-
|
|
81
|
-
$[
|
|
82
|
-
$[
|
|
83
|
-
$[
|
|
72
|
+
t3 = [initialize];
|
|
73
|
+
$[3] = initialize;
|
|
74
|
+
$[4] = t2;
|
|
75
|
+
$[5] = t3;
|
|
84
76
|
} else {
|
|
85
|
-
|
|
86
|
-
|
|
77
|
+
t2 = $[4];
|
|
78
|
+
t3 = $[5];
|
|
87
79
|
}
|
|
88
|
-
React.useEffect(
|
|
80
|
+
React.useEffect(t2, t3);
|
|
81
|
+
let t4;
|
|
89
82
|
let t5;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
t5 = () => {
|
|
83
|
+
if ($[6] !== content) {
|
|
84
|
+
t4 = () => {
|
|
93
85
|
if (!content) return;
|
|
94
86
|
const observer = new ResizeObserver(() => {
|
|
95
87
|
setContentHeight(content.getBoundingClientRect().height);
|
|
@@ -97,53 +89,53 @@ const ThumbnailFrame = (t0) => {
|
|
|
97
89
|
observer.observe(content);
|
|
98
90
|
return () => observer.disconnect();
|
|
99
91
|
};
|
|
100
|
-
|
|
101
|
-
$[
|
|
102
|
-
$[
|
|
103
|
-
$[
|
|
92
|
+
t5 = [content];
|
|
93
|
+
$[6] = content;
|
|
94
|
+
$[7] = t4;
|
|
95
|
+
$[8] = t5;
|
|
104
96
|
} else {
|
|
105
|
-
|
|
106
|
-
|
|
97
|
+
t4 = $[7];
|
|
98
|
+
t5 = $[8];
|
|
107
99
|
}
|
|
108
|
-
React.useEffect(
|
|
109
|
-
const
|
|
110
|
-
let
|
|
111
|
-
if ($[
|
|
112
|
-
|
|
113
|
-
$[
|
|
114
|
-
$[
|
|
115
|
-
} else
|
|
116
|
-
const
|
|
117
|
-
const
|
|
118
|
-
let
|
|
119
|
-
if ($[
|
|
120
|
-
|
|
100
|
+
React.useEffect(t4, t5);
|
|
101
|
+
const t6 = contentHeight * width / VIEWPORT_WIDTH;
|
|
102
|
+
let t7;
|
|
103
|
+
if ($[9] !== t6) {
|
|
104
|
+
t7 = { height: t6 };
|
|
105
|
+
$[9] = t6;
|
|
106
|
+
$[10] = t7;
|
|
107
|
+
} else t7 = $[10];
|
|
108
|
+
const t8 = `${title} preview`;
|
|
109
|
+
const t9 = `scale(${width / VIEWPORT_WIDTH})`;
|
|
110
|
+
let t10;
|
|
111
|
+
if ($[11] !== t9) {
|
|
112
|
+
t10 = {
|
|
121
113
|
width: VIEWPORT_WIDTH,
|
|
122
114
|
height: VIEWPORT_HEIGHT,
|
|
123
|
-
transform:
|
|
115
|
+
transform: t9
|
|
124
116
|
};
|
|
125
|
-
$[
|
|
126
|
-
$[
|
|
127
|
-
} else
|
|
128
|
-
let
|
|
129
|
-
if ($[
|
|
130
|
-
|
|
117
|
+
$[11] = t9;
|
|
118
|
+
$[12] = t10;
|
|
119
|
+
} else t10 = $[12];
|
|
120
|
+
let t11;
|
|
121
|
+
if ($[13] !== initialize || $[14] !== t10 || $[15] !== t8) {
|
|
122
|
+
t11 = /* @__PURE__ */ jsx("iframe", {
|
|
131
123
|
ref: setFrame,
|
|
132
|
-
title:
|
|
124
|
+
title: t8,
|
|
133
125
|
srcDoc: EMPTY_PREVIEW_DOCUMENT,
|
|
134
126
|
onLoad: initialize,
|
|
135
127
|
tabIndex: -1,
|
|
136
128
|
className: "pointer-events-none absolute top-0 left-0 origin-top-left border-0",
|
|
137
|
-
style:
|
|
129
|
+
style: t10
|
|
138
130
|
});
|
|
139
|
-
$[
|
|
131
|
+
$[13] = initialize;
|
|
132
|
+
$[14] = t10;
|
|
133
|
+
$[15] = t8;
|
|
140
134
|
$[16] = t11;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
if ($[19] !== block._internal.Component || $[20] !== block._internal.id || $[21] !== bundle || $[22] !== frame || $[23] !== root) {
|
|
146
|
-
t13 = root && createPortal(/* @__PURE__ */ jsx(FrameContext.Provider, {
|
|
135
|
+
} else t11 = $[16];
|
|
136
|
+
let t12;
|
|
137
|
+
if ($[17] !== blockType || $[18] !== content || $[19] !== frame || $[20] !== root) {
|
|
138
|
+
t12 = root && createPortal(/* @__PURE__ */ jsx(FrameContext.Provider, {
|
|
147
139
|
value: {
|
|
148
140
|
window: frame?.contentWindow ?? null,
|
|
149
141
|
iframeElement: frame
|
|
@@ -151,56 +143,76 @@ const ThumbnailFrame = (t0) => {
|
|
|
151
143
|
children: /* @__PURE__ */ jsx("div", {
|
|
152
144
|
ref: setContent,
|
|
153
145
|
style: { display: "flow-root" },
|
|
154
|
-
children: /* @__PURE__ */ jsx(
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
children: /* @__PURE__ */ jsx(React.Suspense, {
|
|
158
|
-
fallback: null,
|
|
159
|
-
children: /* @__PURE__ */ jsx(NormalizedDataProvider, {
|
|
160
|
-
files: bundle.files,
|
|
161
|
-
repeatableItems: bundle.repeatableItems,
|
|
162
|
-
children: /* @__PURE__ */ jsx(block._internal.Component, {
|
|
163
|
-
blockData: {
|
|
164
|
-
_id: "thumbnail",
|
|
165
|
-
type: block._internal.id,
|
|
166
|
-
content: bundle.block.content,
|
|
167
|
-
settings: bundle.block.settings,
|
|
168
|
-
position: ""
|
|
169
|
-
},
|
|
170
|
-
mode: "peek"
|
|
171
|
-
})
|
|
172
|
-
})
|
|
173
|
-
})
|
|
146
|
+
children: content && /* @__PURE__ */ jsx(ThumbnailContent, {
|
|
147
|
+
blockType,
|
|
148
|
+
slot: content
|
|
174
149
|
})
|
|
175
150
|
})
|
|
176
151
|
}), root);
|
|
177
|
-
$[
|
|
178
|
-
$[
|
|
179
|
-
$[
|
|
180
|
-
$[
|
|
181
|
-
$[
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
t14 = /* @__PURE__ */ jsxs("div", {
|
|
152
|
+
$[17] = blockType;
|
|
153
|
+
$[18] = content;
|
|
154
|
+
$[19] = frame;
|
|
155
|
+
$[20] = root;
|
|
156
|
+
$[21] = t12;
|
|
157
|
+
} else t12 = $[21];
|
|
158
|
+
let t13;
|
|
159
|
+
if ($[22] !== t11 || $[23] !== t12 || $[24] !== t7) {
|
|
160
|
+
t13 = /* @__PURE__ */ jsxs("div", {
|
|
187
161
|
className: "relative max-h-full w-full shrink-0 overflow-hidden",
|
|
188
|
-
style:
|
|
189
|
-
children: [
|
|
162
|
+
style: t7,
|
|
163
|
+
children: [t11, t12]
|
|
190
164
|
});
|
|
191
|
-
$[
|
|
192
|
-
$[
|
|
193
|
-
$[
|
|
194
|
-
$[
|
|
195
|
-
} else
|
|
196
|
-
return
|
|
165
|
+
$[22] = t11;
|
|
166
|
+
$[23] = t12;
|
|
167
|
+
$[24] = t7;
|
|
168
|
+
$[25] = t13;
|
|
169
|
+
} else t13 = $[25];
|
|
170
|
+
return t13;
|
|
197
171
|
};
|
|
172
|
+
/**
|
|
173
|
+
* What the thumbnail shows: the block rendered into `slot` by the renderer frame, which runs the
|
|
174
|
+
* draft's code.
|
|
175
|
+
*/
|
|
176
|
+
const ThumbnailContent = (t0) => {
|
|
177
|
+
const $ = c(6);
|
|
178
|
+
const { blockType, slot } = t0;
|
|
179
|
+
const host = useRendererHost();
|
|
180
|
+
const thumbnailId = React.useId();
|
|
181
|
+
let t1;
|
|
182
|
+
let t2;
|
|
183
|
+
if ($[0] !== blockType || $[1] !== host || $[2] !== slot || $[3] !== thumbnailId) {
|
|
184
|
+
t1 = () => {
|
|
185
|
+
if (!host) return;
|
|
186
|
+
host.showThumbnail(thumbnailId, slot, blockType);
|
|
187
|
+
return () => host.hideThumbnail(thumbnailId);
|
|
188
|
+
};
|
|
189
|
+
t2 = [
|
|
190
|
+
host,
|
|
191
|
+
thumbnailId,
|
|
192
|
+
slot,
|
|
193
|
+
blockType
|
|
194
|
+
];
|
|
195
|
+
$[0] = blockType;
|
|
196
|
+
$[1] = host;
|
|
197
|
+
$[2] = slot;
|
|
198
|
+
$[3] = thumbnailId;
|
|
199
|
+
$[4] = t1;
|
|
200
|
+
$[5] = t2;
|
|
201
|
+
} else {
|
|
202
|
+
t1 = $[4];
|
|
203
|
+
t2 = $[5];
|
|
204
|
+
}
|
|
205
|
+
React.useLayoutEffect(t1, t2);
|
|
206
|
+
return null;
|
|
207
|
+
};
|
|
208
|
+
/** A block's thumbnail, rendered by the renderer frame with the draft's code. */
|
|
198
209
|
const BlockThumbnail = (t0) => {
|
|
199
|
-
const $ = c(
|
|
200
|
-
const {
|
|
210
|
+
const $ = c(13);
|
|
211
|
+
const { blockType, title, className } = t0;
|
|
201
212
|
const ref = React.useRef(null);
|
|
202
213
|
const [isVisible, setIsVisible] = React.useState(false);
|
|
203
214
|
const [width, setWidth] = React.useState(0);
|
|
215
|
+
const renderable = !!useRendererHost();
|
|
204
216
|
let t1;
|
|
205
217
|
let t2;
|
|
206
218
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -237,28 +249,31 @@ const BlockThumbnail = (t0) => {
|
|
|
237
249
|
$[3] = t3;
|
|
238
250
|
} else t3 = $[3];
|
|
239
251
|
let t4;
|
|
240
|
-
if ($[4] !==
|
|
241
|
-
t4 = isVisible && width > 0 && /* @__PURE__ */ jsx(ThumbnailFrame, {
|
|
242
|
-
|
|
252
|
+
if ($[4] !== blockType || $[5] !== isVisible || $[6] !== renderable || $[7] !== title || $[8] !== width) {
|
|
253
|
+
t4 = renderable && isVisible && width > 0 && /* @__PURE__ */ jsx(ThumbnailFrame, {
|
|
254
|
+
blockType,
|
|
255
|
+
title,
|
|
243
256
|
width
|
|
244
257
|
});
|
|
245
|
-
$[4] =
|
|
258
|
+
$[4] = blockType;
|
|
246
259
|
$[5] = isVisible;
|
|
247
|
-
$[6] =
|
|
248
|
-
$[7] =
|
|
249
|
-
|
|
260
|
+
$[6] = renderable;
|
|
261
|
+
$[7] = title;
|
|
262
|
+
$[8] = width;
|
|
263
|
+
$[9] = t4;
|
|
264
|
+
} else t4 = $[9];
|
|
250
265
|
let t5;
|
|
251
|
-
if ($[
|
|
266
|
+
if ($[10] !== t3 || $[11] !== t4) {
|
|
252
267
|
t5 = /* @__PURE__ */ jsx("div", {
|
|
253
268
|
ref,
|
|
254
269
|
className: t3,
|
|
255
270
|
"aria-hidden": "true",
|
|
256
271
|
children: t4
|
|
257
272
|
});
|
|
258
|
-
$[
|
|
259
|
-
$[
|
|
260
|
-
$[
|
|
261
|
-
} else t5 = $[
|
|
273
|
+
$[10] = t3;
|
|
274
|
+
$[11] = t4;
|
|
275
|
+
$[12] = t5;
|
|
276
|
+
} else t5 = $[12];
|
|
262
277
|
return t5;
|
|
263
278
|
};
|
|
264
279
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { CanvasLoadingScreen } from "../../canvas/CanvasLoadingScreen.js";
|
|
1
2
|
import { ViewportContinuity, ViewportContinuityContext } from "../viewportContinuity.js";
|
|
2
3
|
import { PreviewActivationContext } from "./PreviewActivation.js";
|
|
3
|
-
import { CanvasLoadingScreen } from "../../canvas/CanvasLoadingScreen.js";
|
|
4
4
|
import { PreviewPageFrame, PreviewPageFrameContext } from "../previewPageFrame.js";
|
|
5
5
|
import { PreviewPreparationContext } from "../previewPreparation.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|