@popcraft/kit 0.56.1 → 0.56.2
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/chunks/{agent-FJAHWWFZ.js → agent-O5LTHAXG.js} +1 -1
- package/dist/chunks/{builtin-4ZDUQFZL.js → builtin-3ESQBJNQ.js} +3 -3
- package/dist/chunks/{buy-credits-TMRXF7A2.js → buy-credits-UVRE2LDY.js} +2 -2
- package/dist/chunks/{check-template-4UA7P5HO.js → check-template-254KIQ3E.js} +2 -2
- package/dist/chunks/{chunk-CSBP73YD.js → chunk-6T3CRUF5.js} +2 -2
- package/dist/chunks/{chunk-KJOUBU7D.js → chunk-ALY5NGHL.js} +4 -4
- package/dist/chunks/{chunk-IS5PCC56.js → chunk-B3ZWIXEZ.js} +3 -3
- package/dist/chunks/{chunk-3BLJB6YE.js → chunk-G6CIICXQ.js} +4 -4
- package/dist/chunks/{chunk-XSLJ5YFT.js → chunk-GKAHHNES.js} +2 -2
- package/dist/chunks/{chunk-WTBZLPFO.js → chunk-HVKRHMW4.js} +9 -9
- package/dist/chunks/{chunk-TTWURO2B.js → chunk-I4UBDIRW.js} +1 -1
- package/dist/chunks/{chunk-GUAEBDQE.js → chunk-KPOW42JL.js} +6 -6
- package/dist/chunks/{chunk-ZDYM7NMN.js → chunk-L2AJAPZV.js} +5 -5
- package/dist/chunks/{chunk-TID2Q3IO.js → chunk-NOFFZQUF.js} +42 -42
- package/dist/chunks/{chunk-LN55WZRD.js → chunk-Q37INPZT.js} +3 -3
- package/dist/chunks/{chunk-QQPRSLOE.js → chunk-QVFGIXBJ.js} +5 -5
- package/dist/chunks/{chunk-J53KVKHW.js → chunk-SOD3KFYZ.js} +11 -11
- package/dist/chunks/{chunk-2YXJVA4K.js → chunk-THQAMUIM.js} +1 -1
- package/dist/chunks/{chunk-PAINLP2Z.js → chunk-TV2OO2DJ.js} +2 -2
- package/dist/chunks/{chunk-HUEXATAZ.js → chunk-USFL7XZU.js} +1 -1
- package/dist/chunks/{chunk-FU6WZBAH.js → chunk-VZUVQB74.js} +1 -1
- package/dist/chunks/{chunk-D24EBG4P.js → chunk-XOSNYDGA.js} +1 -1
- package/dist/chunks/{chunk-WYLZGKQK.js → chunk-ZCHJ6R44.js} +2 -2
- package/dist/chunks/{client-EB3NNJWL.js → client-2TNQ5FY5.js} +2 -2
- package/dist/chunks/{client-5KRARYXB.js → client-2Y3ADCAS.js} +1 -1
- package/dist/chunks/{client-OOWJTD2A.js → client-Z2E3RZYE.js} +3 -3
- package/dist/chunks/{client-actions-QQGCMIGO.js → client-actions-PQBYEWPL.js} +5 -5
- package/dist/chunks/{dangerous-WSFBXONS.js → dangerous-JW5XNINQ.js} +3 -3
- package/dist/chunks/{delete-current-file-UZYKXBRB.js → delete-current-file-EY2OEHLI.js} +5 -5
- package/dist/chunks/{editor-seams-L6T3VMNP.js → editor-seams-PFNAG6PO.js} +12 -12
- package/dist/chunks/{editor-store-3M6NBXYE.js → editor-store-PFQYP2Q3.js} +1 -1
- package/dist/chunks/{export-watermark-TT4U4WFS.js → export-watermark-LZ4NJAJE.js} +5 -5
- package/dist/chunks/{eyedropper-6FGWIOZQ.js → eyedropper-657KWNBB.js} +1 -1
- package/dist/chunks/{generate-media-NMMIZJ2Y.js → generate-media-CI57W6MQ.js} +3 -3
- package/dist/chunks/{host-6WSNDWNB.js → host-UXF6J4CZ.js} +6 -6
- package/dist/chunks/{integrations-BXVLXW43.js → integrations-Z6WJBMQG.js} +1 -1
- package/dist/chunks/{libraries-HZTBKDMY.js → libraries-4PM6UBGF.js} +5 -5
- package/dist/chunks/{live-YKABFNRO.js → live-KHYICLVT.js} +1 -1
- package/dist/chunks/{media-tool-VAPW6M2E.js → media-tool-WCQAZCNP.js} +1 -1
- package/dist/chunks/{new-file-RT6OZKTR.js → new-file-OPPUX56W.js} +3 -3
- package/dist/chunks/{plugin-M47AU56O.js → plugin-6HLB7QEU.js} +2 -2
- package/dist/chunks/{plugin-import-D4RCBOR3.js → plugin-import-K4OJEXKU.js} +16 -16
- package/dist/chunks/{presence-B7YQC5OG.js → presence-7TLRJDYN.js} +2 -2
- package/dist/chunks/{project-VVRR4PTF.js → project-IO7WV3QN.js} +1 -1
- package/dist/chunks/{publish-site-JW5GEKTM.js → publish-site-DQ22N6EK.js} +6 -6
- package/dist/chunks/{publish-store-L7PZB57F.js → publish-store-YQSFOGDX.js} +4 -4
- package/dist/chunks/{raster-actions-DGRCM466.js → raster-actions-NQPWTS3H.js} +1 -1
- package/dist/chunks/{runner-7WPDBIIR.js → runner-FJ6SEHM4.js} +18 -18
- package/dist/chunks/{store-BEHJ6VAN.js → store-QNH7E4TF.js} +6 -6
- package/dist/chunks/{sync-RCTFLRNH.js → sync-SX5IRGFV.js} +5 -5
- package/dist/chunks/{tabs-6OWMXIMZ.js → tabs-VPEFV4LM.js} +8 -8
- package/dist/chunks/{team-QCE4TVGZ.js → team-ZOCPKKQK.js} +1 -1
- package/dist/chunks/{team-client-7ERMHL3K.js → team-client-4KMJWZHB.js} +1 -1
- package/dist/chunks/{tools-WJRH2SSO.js → tools-ATBI3QPP.js} +2 -2
- package/dist/chunks/{ui-commands-ULT4O23I.js → ui-commands-E36DU73T.js} +12 -12
- package/dist/chunks/{versions-UXNLBT7T.js → versions-M52RYRCL.js} +5 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -7,8 +7,8 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
builtinTools,
|
|
9
9
|
registerBuiltinTools
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-ZCHJ6R44.js";
|
|
11
|
+
import "./chunk-NOFFZQUF.js";
|
|
12
12
|
import "./chunk-22VKIAMI.js";
|
|
13
13
|
import "./chunk-5SUPV4QJ.js";
|
|
14
14
|
import "./chunk-4QE7MM2H.js";
|
|
@@ -17,7 +17,7 @@ import "./chunk-UQ6WPYQA.js";
|
|
|
17
17
|
import "./chunk-25NRQMDZ.js";
|
|
18
18
|
import "./chunk-OLSM4TUX.js";
|
|
19
19
|
import "./chunk-5GG3V6NR.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-Q37INPZT.js";
|
|
21
21
|
import "./chunk-O5EVXXD4.js";
|
|
22
22
|
import "./chunk-V2QM5NM7.js";
|
|
23
23
|
import "./chunk-VUEWRNTS.js";
|
|
@@ -7,11 +7,11 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
HYPERY_TEAM_HEADER,
|
|
9
9
|
hyperyRequestHeaders
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VZUVQB74.js";
|
|
11
11
|
import "./chunk-BSR2R43F.js";
|
|
12
12
|
import {
|
|
13
13
|
useHyperyTeam
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XOSNYDGA.js";
|
|
15
15
|
import {
|
|
16
16
|
openLink
|
|
17
17
|
} from "./chunk-IQE2HE25.js";
|
|
@@ -6,10 +6,10 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
appCommands
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HVKRHMW4.js";
|
|
10
10
|
import {
|
|
11
11
|
builtinCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NOFFZQUF.js";
|
|
13
13
|
import "./chunk-22VKIAMI.js";
|
|
14
14
|
import "./chunk-5SUPV4QJ.js";
|
|
15
15
|
import "./chunk-4QE7MM2H.js";
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
requestImageAction,
|
|
29
29
|
sizeForAspect,
|
|
30
30
|
vectorSupport
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-THQAMUIM.js";
|
|
32
32
|
import {
|
|
33
33
|
useEditorStore
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-L2AJAPZV.js";
|
|
35
35
|
import {
|
|
36
36
|
withHistoryGroup
|
|
37
37
|
} from "./chunk-QRVZD2BS.js";
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
reportOpenStage,
|
|
14
14
|
setCloudLink,
|
|
15
15
|
trackOpen
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GKAHHNES.js";
|
|
17
17
|
import {
|
|
18
18
|
parseDeepLink,
|
|
19
19
|
withDeepLink
|
|
20
20
|
} from "./chunk-E4I4KH24.js";
|
|
21
21
|
import {
|
|
22
22
|
activeTeamWorkspaceId
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XOSNYDGA.js";
|
|
24
24
|
import {
|
|
25
25
|
attachPresence
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-USFL7XZU.js";
|
|
27
27
|
import {
|
|
28
28
|
fileOpeningMode,
|
|
29
29
|
isAppleMobile,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
setCollabHistory,
|
|
37
37
|
storedDocument,
|
|
38
38
|
useEditorStore
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-L2AJAPZV.js";
|
|
40
40
|
import {
|
|
41
41
|
currentHistoryGroup
|
|
42
42
|
} from "./chunk-QRVZD2BS.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
hostEnv,
|
|
13
13
|
plain,
|
|
14
14
|
registerBuiltinCommands
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NOFFZQUF.js";
|
|
16
16
|
import {
|
|
17
17
|
external_exports
|
|
18
18
|
} from "./chunk-5GG3V6NR.js";
|
|
@@ -618,7 +618,7 @@ var commands = [
|
|
|
618
618
|
const [{ storefrontInputs }, { STOREFRONT_TARGETS }, { bytesOf }, { zipFiles }, { EXPORT_NODE_CAP }] = await Promise.all([
|
|
619
619
|
import("./storefront-prepare-7SE72SAZ.js"),
|
|
620
620
|
import("./storefront-K3QL5A3K.js"),
|
|
621
|
-
import("./project-
|
|
621
|
+
import("./project-IO7WV3QN.js"),
|
|
622
622
|
import("./zip-export-SBADSOLA.js"),
|
|
623
623
|
import("./tree-QWHKZB22.js")
|
|
624
624
|
]);
|
|
@@ -815,7 +815,7 @@ var pluginRun = defineCommand({
|
|
|
815
815
|
}
|
|
816
816
|
},
|
|
817
817
|
run: async (p, ctx) => {
|
|
818
|
-
const { runPlugin } = await import("./host-
|
|
818
|
+
const { runPlugin } = await import("./host-UXF6J4CZ.js");
|
|
819
819
|
await runPlugin(p.pluginId, p.commandId);
|
|
820
820
|
ctx.notice(`Started ${p.pluginId}.`);
|
|
821
821
|
return {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-LZH7QSLX.js";
|
|
10
10
|
import {
|
|
11
11
|
notice
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6T3CRUF5.js";
|
|
13
13
|
import {
|
|
14
14
|
effectiveChatModel,
|
|
15
15
|
setModelPref,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-7LJKKD3D.js";
|
|
18
18
|
import {
|
|
19
19
|
useEditorStore
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-L2AJAPZV.js";
|
|
21
21
|
import {
|
|
22
22
|
create
|
|
23
23
|
} from "./chunk-KN6RX7L6.js";
|
|
@@ -1797,7 +1797,7 @@ async function sendMessage(text) {
|
|
|
1797
1797
|
if (!useAgentStore.getState().activeThreadId) newThread();
|
|
1798
1798
|
const mentions = pruneMentions(body, useAgentStore.getState().draftMentions);
|
|
1799
1799
|
useAgentStore.setState({ draft: "", draftMentions: [], error: null });
|
|
1800
|
-
const { runTurn } = await import("./runner-
|
|
1800
|
+
const { runTurn } = await import("./runner-FJ6SEHM4.js");
|
|
1801
1801
|
await runTurn(body, mentions);
|
|
1802
1802
|
}
|
|
1803
1803
|
function stop() {
|
|
@@ -1900,7 +1900,7 @@ var clearTaskChildren = () => useAgentStore.setState({ taskChildren: {} });
|
|
|
1900
1900
|
function subscribeChildTools() {
|
|
1901
1901
|
let dispose;
|
|
1902
1902
|
let cancelled = false;
|
|
1903
|
-
void import("./runner-
|
|
1903
|
+
void import("./runner-FJ6SEHM4.js").then(({ onChildTool }) => {
|
|
1904
1904
|
const off = onChildTool((report) => {
|
|
1905
1905
|
if (report?.status !== "running" || report.jobId) return;
|
|
1906
1906
|
recordChildTool(report.toolCallId ?? "", report.name);
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./chunk-BSR2R43F.js";
|
|
10
10
|
import {
|
|
11
11
|
activeTeamWorkspaceId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XOSNYDGA.js";
|
|
13
13
|
import {
|
|
14
14
|
prepareTemplate
|
|
15
15
|
} from "./chunk-2N6BDHYV.js";
|
|
16
16
|
import {
|
|
17
17
|
markLibraryDocument
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-L2AJAPZV.js";
|
|
19
19
|
import {
|
|
20
20
|
listDocMetas,
|
|
21
21
|
saveDocSnapshot
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
needsSelection,
|
|
9
9
|
pageGo,
|
|
10
10
|
selectionIsPicture
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NOFFZQUF.js";
|
|
12
12
|
import {
|
|
13
13
|
external_exports
|
|
14
14
|
} from "./chunk-5GG3V6NR.js";
|
|
@@ -31,7 +31,7 @@ var none = external_exports.object({});
|
|
|
31
31
|
var emit = (name, detail) => {
|
|
32
32
|
if (typeof window !== "undefined") window.dispatchEvent(new CustomEvent(name, { detail }));
|
|
33
33
|
};
|
|
34
|
-
var store = () => import("./editor-store-
|
|
34
|
+
var store = () => import("./editor-store-PFQYP2Q3.js").then((m) => m.useEditorStore.getState());
|
|
35
35
|
var MODE_IDS = MODE_LIST.map((m) => m.id);
|
|
36
36
|
var MODE_ALIASES = { JAM: "POPCORN", DEV: "VIEW" };
|
|
37
37
|
var modeSet = defineCommand({
|
|
@@ -167,7 +167,7 @@ var dialogOpen = defineCommand({
|
|
|
167
167
|
(await import("./plan-limit-5GXFT2G6.js")).openPlanDialog();
|
|
168
168
|
break;
|
|
169
169
|
case "credits":
|
|
170
|
-
await (await import("./buy-credits-
|
|
170
|
+
await (await import("./buy-credits-UVRE2LDY.js")).buyAiCredits();
|
|
171
171
|
break;
|
|
172
172
|
case "tokens":
|
|
173
173
|
emit("popcraft-open-tokens");
|
|
@@ -213,7 +213,7 @@ var aiOpen = defineCommand({
|
|
|
213
213
|
] } },
|
|
214
214
|
run: async ({ dialog, skillId }) => {
|
|
215
215
|
if (dialog) (await import("./client-store-EDTSS7WR.js")).openAiDialog(dialog);
|
|
216
|
-
else (await import("./store-
|
|
216
|
+
else (await import("./store-QNH7E4TF.js")).openAgentPanel({ skillId: skillId ?? null });
|
|
217
217
|
return { summary: dialog ? `Opened AI ${dialog}` : "Opened the agent" };
|
|
218
218
|
}
|
|
219
219
|
});
|
|
@@ -226,7 +226,7 @@ var agentContinue = defineCommand({
|
|
|
226
226
|
params: external_exports.object({}),
|
|
227
227
|
expose: { ui: { label: "AI: Continue the agent\u2019s last turn", keywords: ["ai", "agent", "continue", "resume", "retry", "keep going"] } },
|
|
228
228
|
run: async () => {
|
|
229
|
-
const resumed = await (await import("./runner-
|
|
229
|
+
const resumed = await (await import("./runner-FJ6SEHM4.js")).continueTurn();
|
|
230
230
|
return { summary: resumed ? "Continued the agent" : "Nothing to continue" };
|
|
231
231
|
}
|
|
232
232
|
});
|
|
@@ -305,11 +305,11 @@ var toolPlace = defineCommand({
|
|
|
305
305
|
run: async ({ what }) => {
|
|
306
306
|
if (what === "media") {
|
|
307
307
|
const s = await store();
|
|
308
|
-
const { placeMediaFromPicker } = await import("./media-tool-
|
|
308
|
+
const { placeMediaFromPicker } = await import("./media-tool-WCQAZCNP.js");
|
|
309
309
|
await placeMediaFromPicker({ kind: "point", x: s.camera.x, y: s.camera.y });
|
|
310
310
|
return { summary: "Placing media" };
|
|
311
311
|
}
|
|
312
|
-
const { beginEyedrop } = await import("./eyedropper-
|
|
312
|
+
const { beginEyedrop } = await import("./eyedropper-657KWNBB.js");
|
|
313
313
|
void beginEyedrop();
|
|
314
314
|
return { summary: "Pick a color" };
|
|
315
315
|
}
|
|
@@ -327,7 +327,7 @@ var nodeRasterize = defineCommand({
|
|
|
327
327
|
keywords: ["rasterize", "raster", "flatten", "pixels", "paint layer", "erase", "bitmap"]
|
|
328
328
|
} },
|
|
329
329
|
run: async () => {
|
|
330
|
-
const { flattenSelectionToPaintLayer } = await import("./raster-actions-
|
|
330
|
+
const { flattenSelectionToPaintLayer } = await import("./raster-actions-NQPWTS3H.js");
|
|
331
331
|
await flattenSelectionToPaintLayer();
|
|
332
332
|
return { summary: "Rasterized" };
|
|
333
333
|
}
|
|
@@ -438,7 +438,7 @@ function pluginCommand(plugins) {
|
|
|
438
438
|
params: external_exports.object({ pluginId: external_exports.string(), commandId: external_exports.string() }),
|
|
439
439
|
expose: { ui: { label: "Run plugin", keywords: ["plugin", "extension", "run"], variants, palette: variants.length ? void 0 : false } },
|
|
440
440
|
run: async ({ pluginId, commandId }) => {
|
|
441
|
-
await (await import("./host-
|
|
441
|
+
await (await import("./host-UXF6J4CZ.js")).runPlugin(pluginId, commandId);
|
|
442
442
|
return { summary: "Plugin started" };
|
|
443
443
|
}
|
|
444
444
|
});
|
|
@@ -6,7 +6,7 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
registerAppCommands
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HVKRHMW4.js";
|
|
10
10
|
import {
|
|
11
11
|
storeOpsSeam
|
|
12
12
|
} from "./chunk-7IVZPY43.js";
|
|
@@ -23,17 +23,17 @@ import {
|
|
|
23
23
|
sameResolution,
|
|
24
24
|
surfaceSize,
|
|
25
25
|
windowCssSize
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NOFFZQUF.js";
|
|
27
27
|
import {
|
|
28
28
|
notice
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-6T3CRUF5.js";
|
|
30
30
|
import {
|
|
31
31
|
agentContext
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-Q37INPZT.js";
|
|
33
33
|
import {
|
|
34
34
|
collabSession,
|
|
35
35
|
syncStatus
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ALY5NGHL.js";
|
|
37
37
|
import {
|
|
38
38
|
loadEntitlements
|
|
39
39
|
} from "./chunk-BSR2R43F.js";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
import {
|
|
45
45
|
persist,
|
|
46
46
|
useEditorStore
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-L2AJAPZV.js";
|
|
48
48
|
import {
|
|
49
49
|
cloudApi
|
|
50
50
|
} from "./chunk-5CWDKADM.js";
|
|
@@ -4839,7 +4839,7 @@ function createPopcornSlice(set2, get2) {
|
|
|
4839
4839
|
privateMode: false,
|
|
4840
4840
|
setPrivateMode: (on) => {
|
|
4841
4841
|
set2({ privateMode: on });
|
|
4842
|
-
void import("./presence-
|
|
4842
|
+
void import("./presence-7TLRJDYN.js").then((m) => m.setPresencePrivate(on)).catch(() => {
|
|
4843
4843
|
});
|
|
4844
4844
|
},
|
|
4845
4845
|
/** Reveal every private item THIS user created (they sync to collaborators). Others' stay theirs. */
|
|
@@ -6905,7 +6905,7 @@ var useEditorStore = create()(
|
|
|
6905
6905
|
// A copy is a new file, so it is cloud-backed like any other (see lib/client/cloud/new-file.ts).
|
|
6906
6906
|
// Returns '' when it was refused (offline, signed out, plan full) or failed; nothing is left behind.
|
|
6907
6907
|
duplicateDocument: async (id) => {
|
|
6908
|
-
const { duplicateDocumentToCloud } = await import("./sync-
|
|
6908
|
+
const { duplicateDocumentToCloud } = await import("./sync-SX5IRGFV.js");
|
|
6909
6909
|
return duplicateDocumentToCloud(id);
|
|
6910
6910
|
},
|
|
6911
6911
|
deleteDocument: async (id) => {
|
|
@@ -10409,9 +10409,9 @@ if (typeof window !== "undefined") {
|
|
|
10409
10409
|
if (typeof window !== "undefined" && navigator.webdriver) {
|
|
10410
10410
|
window.__vpDesign = async (script, o = {}) => {
|
|
10411
10411
|
const [{ registerBuiltinTools, runTool }, { editorToolContext }, { createDesignPreview }] = await Promise.all([
|
|
10412
|
-
import("./tools-
|
|
10413
|
-
import("./editor-seams-
|
|
10414
|
-
import("./live-
|
|
10412
|
+
import("./tools-ATBI3QPP.js").then(async (m) => ({ ...m, registerBuiltinTools: (await import("./builtin-3ESQBJNQ.js")).registerBuiltinTools })),
|
|
10413
|
+
import("./editor-seams-PFNAG6PO.js"),
|
|
10414
|
+
import("./live-KHYICLVT.js")
|
|
10415
10415
|
]);
|
|
10416
10416
|
registerBuiltinTools();
|
|
10417
10417
|
const args = JSON.stringify({ ...o.name ? { name: o.name } : {}, ...o.size ? { size: o.size } : {}, ...o.frame ? { frame: o.frame } : {}, script });
|