@jxsuite/studio 4.0.0 → 4.1.0
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/{2020-xp8vnwma.js → 2020-n6tfwnda.js} +2 -2
- package/dist/chunks/{Overlay.dev-723bv0df.js → Overlay.dev-etqjwyf9.js} +4 -4
- package/dist/chunks/cf-account-picker-en86v7x7.js +163 -0
- package/dist/chunks/{content-source-t88vb2dr.js → content-source-48xg86wj.js} +17 -17
- package/dist/chunks/{convert-to-repeater-dhw1nrz9.js → convert-to-repeater-43tfn7cs.js} +24 -24
- package/dist/chunks/{entry-commands-6z6bhxg0.js → entry-commands-e63f1xc0.js} +20 -20
- package/dist/chunks/{extension-sections-3ydgjbdy.js → extension-sections-txv08xxg.js} +23 -23
- package/dist/chunks/{file-ops-rskmhxyq.js → file-ops-wbh4hhsx.js} +16 -16
- package/dist/chunks/{files-0cratsr0.js → files-3kfkwhk4.js} +25 -24
- package/dist/chunks/{focus-trap.esm-ggawf1hy.js → focus-trap.esm-9t2drp0g.js} +6 -5
- package/dist/chunks/{format-host-tgcmfs4p.js → format-host-w16q81tf.js} +2 -2
- package/dist/chunks/fs-events-hrrg328g.js +1 -1
- package/dist/chunks/{git-panel-0yywyk76.js → git-panel-532whr1y.js} +16 -15
- package/dist/chunks/{index-nj44jpzj.js → index-wcnt3r9g.js} +2 -2
- package/dist/chunks/{jx-validate-8q2g05x1.js → jx-validate-8er6gbxy.js} +3 -3
- package/dist/chunks/{layers-panel-z3tqe5cd.js → layers-panel-07hm7g5j.js} +19 -19
- package/dist/chunks/{monaco-setup-rws7k4br.js → monaco-setup-vx9bhp1d.js} +2 -2
- package/dist/chunks/{publish-panel-54jvhskq.js → publish-panel-v9st96ja.js} +11 -10
- package/dist/chunks/{quick-search-cgfmjwq5.js → quick-search-zccjp6gv.js} +26 -25
- package/dist/chunks/{right-panel-cqp8bc4v.js → right-panel-vm3b6kwy.js} +17 -17
- package/dist/chunks/{sp-overlay.dev-yztmtrs1.js → sp-overlay.dev-qgvhnxf4.js} +5 -5
- package/dist/chunks/{sp-tooltip.dev-xcvpnqr0.js → sp-tooltip.dev-4sastdnw.js} +3 -3
- package/dist/chunks/{studio-txwkm6p9.js → studio-0bq6eh7v.js} +2 -2
- package/dist/chunks/studio-1ngbejft.js +181 -0
- package/dist/chunks/{studio-gv8vvshc.js → studio-1wagb550.js} +3 -3
- package/dist/chunks/{studio-kjjsjak4.js → studio-2b946z26.js} +58 -57
- package/dist/chunks/{studio-4pqqxbrt.js → studio-3bqpr0zh.js} +16 -16
- package/dist/chunks/{studio-v38hmvx1.js → studio-4b5z1x43.js} +42 -8
- package/dist/chunks/{studio-9c4k4vhv.js → studio-4n2b5gzb.js} +4 -4
- package/dist/chunks/{studio-p8j86wag.js → studio-4r1pv6zf.js} +2 -2
- package/dist/chunks/{studio-mmv72a27.js → studio-5fx3g9jg.js} +29 -48
- package/dist/chunks/{studio-5rywrkxz.js → studio-5myknm0a.js} +42 -42
- package/dist/chunks/{studio-sf7zjgv1.js → studio-6yw4y3my.js} +3 -3
- package/dist/chunks/{studio-pdfjntbk.js → studio-950k0dx6.js} +35 -35
- package/dist/chunks/{studio-eenfkt4e.js → studio-ahn3pdgx.js} +5 -5
- package/dist/chunks/{studio-eesa1myv.js → studio-b55y6ewx.js} +9 -9
- package/dist/chunks/{studio-cb12yz9w.js → studio-cmb03bg5.js} +99 -1264
- package/dist/chunks/studio-dm19q43r.js +195 -0
- package/dist/chunks/{studio-ahjfdy6e.js → studio-ef49pnzx.js} +6 -6
- package/dist/chunks/{studio-wx5609xd.js → studio-ew0djmhg.js} +10 -10
- package/dist/chunks/{studio-9r6j5ev1.js → studio-f3wqjtk5.js} +4 -3
- package/dist/chunks/{studio-8swrjbny.js → studio-fbf92ckf.js} +14 -14
- package/dist/chunks/{studio-4q0wznzf.js → studio-gcye7qka.js} +442 -126
- package/dist/chunks/{studio-ex8zyp98.js → studio-gfgb8pe6.js} +23 -184
- package/dist/chunks/{studio-r1r7afxx.js → studio-jc994dnr.js} +24 -24
- package/dist/chunks/{studio-yxrkyv8a.js → studio-jkftxyvz.js} +52 -3416
- package/dist/chunks/{studio-hbtp0eh1.js → studio-msd847zn.js} +13 -13
- package/dist/chunks/{studio-kyk2v92a.js → studio-mtfnaqs9.js} +14 -14
- package/dist/chunks/{studio-vadzgkrz.js → studio-n6j9t10q.js} +2 -2
- package/dist/chunks/{studio-68n67094.js → studio-q9jd1a60.js} +4 -4
- package/dist/chunks/studio-qcy05dp8.js +1743 -0
- package/dist/chunks/{studio-htsf0w6m.js → studio-qjy2z9bv.js} +12 -30
- package/dist/chunks/{studio-2zkz8evn.js → studio-trxrabqf.js} +12 -12
- package/dist/chunks/{studio-5q69gfag.js → studio-x4qkdat5.js} +12 -11
- package/dist/chunks/studio-x813zp48.js +195 -0
- package/dist/chunks/{studio-1hbqnt19.js → studio-zqazsct2.js} +29 -29
- package/dist/chunks/{workspace-xpres40v.js → workspace-fjx52ryv.js} +4 -4
- package/dist/iframe-entry.js +34 -33
- package/dist/manifest.json +7 -0
- package/dist/studio.js +534 -546
- package/favicon.ico +0 -0
- package/index.html +1 -0
- package/package.json +15 -14
- package/src/about/about-modal.ts +4 -3
- package/src/files/files.ts +6 -4
- package/src/files/media-paths.ts +13 -42
- package/src/files/media-usage.ts +41 -131
- package/src/hosting/document.ts +2 -0
- package/src/hosting/layout.ts +8 -0
- package/src/new-project/import-tab.ts +37 -15
- package/src/new-project/location-fields.ts +8 -5
- package/src/panels/ai-chat/composer.ts +10 -0
- package/src/platforms/cloud.ts +241 -70
- package/src/publish/publish-panel.ts +62 -2
- package/src/services/ai-import-tools.ts +50 -12
- package/src/services/ai-models.ts +108 -1
- package/src/services/context-manager.ts +12 -1
- package/src/services/tool-executor.ts +11 -0
- package/src/settings/preferences-accounts.ts +193 -12
- package/src/settings/preferences-dialog.ts +75 -18
- package/src/types.ts +27 -3
- package/src/ui/ai-managed-connect.ts +62 -13
- package/src/ui/ai-model-picker.ts +29 -2
- package/src/ui/cf-account-picker.ts +200 -0
- package/styles/shell.css +36 -0
- package/dist/chunks/studio-bw5dz6km.js +0 -608
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
errorMessage
|
|
3
|
-
} from "./studio-9n4mrmnb.js";
|
|
4
1
|
import {
|
|
5
2
|
PRIMARY_PANE,
|
|
6
3
|
PROJECT_CONFIG_PATH,
|
|
@@ -20,7 +17,15 @@ import {
|
|
|
20
17
|
stringProperty,
|
|
21
18
|
transactDoc,
|
|
22
19
|
workspace
|
|
23
|
-
} from "./studio-
|
|
20
|
+
} from "./studio-trxrabqf.js";
|
|
21
|
+
import {
|
|
22
|
+
projectState,
|
|
23
|
+
requireProjectState,
|
|
24
|
+
setProjectState
|
|
25
|
+
} from "./studio-p4ngc046.js";
|
|
26
|
+
import {
|
|
27
|
+
errorMessage
|
|
28
|
+
} from "./studio-9n4mrmnb.js";
|
|
24
29
|
import {
|
|
25
30
|
SETTINGS,
|
|
26
31
|
readStoredSetting,
|
|
@@ -34,14 +39,9 @@ import {
|
|
|
34
39
|
reactive,
|
|
35
40
|
toRaw
|
|
36
41
|
} from "./studio-xrapxwwc.js";
|
|
37
|
-
import {
|
|
38
|
-
projectState,
|
|
39
|
-
requireProjectState,
|
|
40
|
-
setProjectState
|
|
41
|
-
} from "./studio-p4ngc046.js";
|
|
42
42
|
import {
|
|
43
43
|
loadedMonaco
|
|
44
|
-
} from "./studio-
|
|
44
|
+
} from "./studio-ahn3pdgx.js";
|
|
45
45
|
import {
|
|
46
46
|
getPlatform
|
|
47
47
|
} from "./studio-9ab8gqsm.js";
|
|
@@ -1076,7 +1076,7 @@ function extensionsKey(config) {
|
|
|
1076
1076
|
return JSON.stringify(config.extensions ?? null);
|
|
1077
1077
|
}
|
|
1078
1078
|
async function refreshExtensionSurfaces() {
|
|
1079
|
-
const { loadFormats, refreshExtensionUi, refreshFormats } = await import("./format-host-
|
|
1079
|
+
const { loadFormats, refreshExtensionUi, refreshFormats } = await import("./format-host-w16q81tf.js");
|
|
1080
1080
|
refreshFormats();
|
|
1081
1081
|
loadFormats();
|
|
1082
1082
|
refreshExtensionUi(getPlatform());
|
|
@@ -1311,5 +1311,5 @@ async function updateSiteConfig(patch) {
|
|
|
1311
1311
|
|
|
1312
1312
|
export { serializeProjectConfig, commitProjectConfig, adoptProjectConfig, getEffectiveMedia, getEffectiveStyle, getEffectiveImports, getEffectiveElements, getEffectiveHead, getEffectiveLocales, invalidateLayoutCache, getEffectiveLayoutPath, resolveLayoutDoc, distributePageIntoLayout, updateSiteConfig, restoreSession, requireNavigatorPanelId, DEFAULT_INSPECTOR_TAB, isInspectorTabId, BOTTOM_TAB_IDS, DEFAULT_BOTTOM_TAB, isBottomTabId, CHROME_THEMES, DOCK_IDS, DOCK_DEFAULT_SIZES, setPaneSplit, shell, persistDocks, persistedSession, markSessionRestored, flushSession, monacoTheme, registerShellSurface, mountShell, setDockCollapsed, setDockSize, setActivityTab, setBottomTab, setChromeTheme, toggleActivityTab, setLayoutSelection, resetProjectShell, registerShellViewCommands };
|
|
1313
1313
|
|
|
1314
|
-
//# debugId=
|
|
1315
|
-
//# sourceMappingURL=studio-
|
|
1314
|
+
//# debugId=C89D96AE2AFCDDCE64756E2164756E21
|
|
1315
|
+
//# sourceMappingURL=studio-msd847zn.js.map
|
|
@@ -3,17 +3,22 @@ import {
|
|
|
3
3
|
getRecentProjects,
|
|
4
4
|
openFileInTab,
|
|
5
5
|
trackRecentFile
|
|
6
|
-
} from "./studio-
|
|
7
|
-
import {
|
|
8
|
-
activeRegistry,
|
|
9
|
-
getLayerSlot
|
|
10
|
-
} from "./studio-t7qb9db8.js";
|
|
6
|
+
} from "./studio-5myknm0a.js";
|
|
11
7
|
import {
|
|
12
8
|
activeTab
|
|
13
|
-
} from "./studio-
|
|
9
|
+
} from "./studio-trxrabqf.js";
|
|
14
10
|
import {
|
|
15
11
|
classMap
|
|
16
12
|
} from "./studio-m3hwn7y1.js";
|
|
13
|
+
import {
|
|
14
|
+
flattenTree,
|
|
15
|
+
nodeLabel,
|
|
16
|
+
projectState
|
|
17
|
+
} from "./studio-p4ngc046.js";
|
|
18
|
+
import {
|
|
19
|
+
activeRegistry,
|
|
20
|
+
getLayerSlot
|
|
21
|
+
} from "./studio-t7qb9db8.js";
|
|
17
22
|
import {
|
|
18
23
|
live,
|
|
19
24
|
ref
|
|
@@ -23,16 +28,11 @@ import {
|
|
|
23
28
|
nothing,
|
|
24
29
|
render
|
|
25
30
|
} from "./studio-kryvsw6j.js";
|
|
26
|
-
import {
|
|
27
|
-
flattenTree,
|
|
28
|
-
nodeLabel,
|
|
29
|
-
projectState
|
|
30
|
-
} from "./studio-p4ngc046.js";
|
|
31
31
|
import {
|
|
32
32
|
documentExtensions,
|
|
33
33
|
formatByExtension,
|
|
34
34
|
loadFormats
|
|
35
|
-
} from "./studio-
|
|
35
|
+
} from "./studio-ahn3pdgx.js";
|
|
36
36
|
import {
|
|
37
37
|
getPlatform
|
|
38
38
|
} from "./studio-9ab8gqsm.js";
|
|
@@ -655,5 +655,5 @@ function renderOverlay() {
|
|
|
655
655
|
|
|
656
656
|
export { PALETTE_MODES, modeSpec, resolvePaletteMode, fuzzyScore, rankBy, paletteArgs, getRecentCommands, initQuickSearch, openQuickSearch, closeQuickSearch, isQuickSearchOpen };
|
|
657
657
|
|
|
658
|
-
//# debugId=
|
|
659
|
-
//# sourceMappingURL=studio-
|
|
658
|
+
//# debugId=444BCF8C29E5B5ED64756E2164756E21
|
|
659
|
+
//# sourceMappingURL=studio-mtfnaqs9.js.map
|
|
@@ -240,7 +240,7 @@ class Tooltip extends SpectrumElement {
|
|
|
240
240
|
`;
|
|
241
241
|
if (this.selfManaged) {
|
|
242
242
|
this.dependencyManager.add("sp-overlay");
|
|
243
|
-
import("./sp-overlay.dev-
|
|
243
|
+
import("./sp-overlay.dev-qgvhnxf4.js");
|
|
244
244
|
return html`
|
|
245
245
|
<sp-overlay
|
|
246
246
|
?open=${this.open && !this.disabled && this.dependencyManager.loaded}
|
|
@@ -315,4 +315,4 @@ defineElement("sp-tooltip", Tooltip);
|
|
|
315
315
|
export { DependencyManagerController };
|
|
316
316
|
|
|
317
317
|
//# debugId=B26C538C82CA430D64756E2164756E21
|
|
318
|
-
//# sourceMappingURL=studio-
|
|
318
|
+
//# sourceMappingURL=studio-n6j9t10q.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
project_schema_default,
|
|
3
3
|
schema_default
|
|
4
|
-
} from "./studio-
|
|
4
|
+
} from "./studio-f3wqjtk5.js";
|
|
5
5
|
import {
|
|
6
6
|
__require,
|
|
7
7
|
__toESM
|
|
@@ -21,8 +21,8 @@ var reportedFailure = false;
|
|
|
21
21
|
function getValidator(kind) {
|
|
22
22
|
compiling[kind] ??= (async () => {
|
|
23
23
|
try {
|
|
24
|
-
const { default: Ajv2020 } = await import("./2020-
|
|
25
|
-
const { default: addFormats } = await import("./index-
|
|
24
|
+
const { default: Ajv2020 } = await import("./2020-n6tfwnda.js").then((m)=>__toESM(m.default,1));
|
|
25
|
+
const { default: addFormats } = await import("./index-wcnt3r9g.js").then((m)=>__toESM(m.default,1));
|
|
26
26
|
const ajv = new Ajv2020({ allErrors: true, strict: false, allowUnionTypes: true });
|
|
27
27
|
addFormats(ajv);
|
|
28
28
|
return ajv.compile(active[kind]);
|
|
@@ -88,4 +88,4 @@ async function validateProjectConfig(config) {
|
|
|
88
88
|
export { applyProjectSchemas, resetProjectSchemas, validateDoc, validateDocOrNull, validateProjectConfig };
|
|
89
89
|
|
|
90
90
|
//# debugId=8C68AEE13E72EFF064756E2164756E21
|
|
91
|
-
//# sourceMappingURL=studio-
|
|
91
|
+
//# sourceMappingURL=studio-q9jd1a60.js.map
|