@jxsuite/studio 3.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/README.md +5 -5
- package/dist/chunks/{2020-xp8vnwma.js → 2020-n6tfwnda.js} +2 -2
- package/dist/chunks/Overlay.dev-etqjwyf9.js +23 -0
- package/dist/chunks/cf-account-picker-en86v7x7.js +163 -0
- package/dist/chunks/{cf-settings-zj2cj1ar.js → cf-settings-45fgyx8y.js} +6 -5
- package/dist/chunks/{components-z6cnkyy1.js → components-zmx10t62.js} +6 -5
- package/dist/chunks/content-source-48xg86wj.js +49 -0
- package/dist/chunks/{convert-to-repeater-6vvx96n2.js → convert-to-repeater-43tfn7cs.js} +33 -25
- package/dist/chunks/entry-commands-e63f1xc0.js +46 -0
- package/dist/chunks/{extension-sections-kwzvpemr.js → extension-sections-txv08xxg.js} +34 -26
- package/dist/chunks/file-ops-wbh4hhsx.js +48 -0
- package/dist/chunks/files-3kfkwhk4.js +93 -0
- package/dist/chunks/{focus-trap.esm-ggawf1hy.js → focus-trap.esm-9t2drp0g.js} +6 -5
- package/dist/chunks/{format-host-8fr3545e.js → format-host-w16q81tf.js} +3 -3
- package/dist/chunks/fs-events-hrrg328g.js +21 -0
- package/dist/chunks/{git-panel-g01d93vc.js → git-panel-532whr1y.js} +22 -16
- package/dist/chunks/{index-nj44jpzj.js → index-wcnt3r9g.js} +2 -2
- package/dist/chunks/{jx-validate-jj9rnt4n.js → jx-validate-8er6gbxy.js} +6 -4
- package/dist/chunks/layers-panel-07hm7g5j.js +67 -0
- package/dist/chunks/layers-q75tj2mf.js +45 -0
- package/dist/chunks/lit-html-j055mkh8.js +22 -0
- package/dist/chunks/monaco-buffer-dqw0xxpx.js +25 -0
- package/dist/chunks/{monaco-setup-a5wkmbgh.js → monaco-setup-vx9bhp1d.js} +4 -4
- package/dist/chunks/notify-yjm79n4s.js +30 -0
- package/dist/chunks/parse-24d0gay3.js +19 -0
- package/dist/chunks/platform-ba1j1gbh.js +16 -0
- package/dist/chunks/publish-panel-v9st96ja.js +29 -0
- package/dist/chunks/quick-search-zccjp6gv.js +66 -0
- package/dist/chunks/references-3qx8fkyp.js +29 -0
- package/dist/chunks/right-panel-vm3b6kwy.js +46 -0
- package/dist/chunks/sp-overlay.dev-qgvhnxf4.js +18 -0
- package/dist/chunks/sp-popover.dev-n2etmqdp.js +9 -0
- package/dist/chunks/sp-progress-circle.dev-hryhj0es.js +15 -0
- package/dist/chunks/sp-tooltip.dev-4sastdnw.js +15 -0
- package/dist/chunks/{sp-tray.dev-64v4pxw8.js → sp-tray.dev-tkbscm06.js} +5 -5
- package/dist/chunks/{studio-wdt9y92a.js → studio-0bq6eh7v.js} +2 -2
- package/dist/chunks/studio-1ngbejft.js +181 -0
- package/dist/chunks/studio-1wagb550.js +118 -0
- package/dist/chunks/{studio-j595e748.js → studio-2b946z26.js} +172 -95
- package/dist/chunks/{studio-pkp61mh8.js → studio-3bqpr0zh.js} +25 -17
- package/dist/chunks/{studio-k4jvjcfx.js → studio-4b5z1x43.js} +46 -12
- package/dist/chunks/{studio-ry1vz5sv.js → studio-4n2b5gzb.js} +15 -13
- package/dist/chunks/{studio-p5dja96s.js → studio-4r1pv6zf.js} +2 -2
- package/dist/chunks/{studio-kvfx9z2c.js → studio-4rzyrtjz.js} +70 -31
- package/dist/chunks/{studio-tzx3xmvx.js → studio-5fx3g9jg.js} +33 -52
- package/dist/chunks/{studio-rh1cnamv.js → studio-5myknm0a.js} +565 -135
- package/dist/chunks/studio-6yw4y3my.js +91 -0
- package/dist/chunks/{studio-0rqqhrdy.js → studio-7nte2hj4.js} +2 -2
- package/dist/chunks/studio-92ab2jqe.js +282 -0
- package/dist/chunks/{studio-6z5eyjwn.js → studio-950k0dx6.js} +72 -135
- package/dist/chunks/{studio-sas7mt3k.js → studio-9ab8gqsm.js} +2 -2
- package/dist/chunks/studio-9n4mrmnb.js +184 -0
- package/dist/chunks/{studio-hcxzyk3x.js → studio-ahn3pdgx.js} +6 -6
- package/dist/chunks/studio-b55y6ewx.js +498 -0
- package/dist/chunks/{studio-s519zc99.js → studio-bgxt93ga.js} +3 -3
- package/dist/chunks/studio-cft9r4r7.js +119 -0
- package/dist/chunks/{studio-dc8s8heb.js → studio-cmb03bg5.js} +6904 -8321
- package/dist/chunks/studio-dm19q43r.js +195 -0
- package/dist/chunks/{studio-2x9zbxmx.js → studio-ef49pnzx.js} +11 -9
- package/dist/chunks/{studio-ay8wcr2b.js → studio-eqq1w638.js} +7 -9
- package/dist/chunks/{studio-5efrtn1m.js → studio-ew0djmhg.js} +23 -19
- package/dist/chunks/{studio-tr20m8g8.js → studio-f3wqjtk5.js} +39 -3
- package/dist/chunks/{studio-xntfdy1x.js → studio-fbf92ckf.js} +36 -23
- package/dist/chunks/{studio-4q0wznzf.js → studio-gcye7qka.js} +442 -126
- package/dist/chunks/{studio-7p35254k.js → studio-gfgb8pe6.js} +36 -193
- package/dist/chunks/studio-jc994dnr.js +1066 -0
- package/dist/chunks/{studio-hj2se583.js → studio-jkftxyvz.js} +69 -3423
- package/dist/chunks/{studio-5x5774ak.js → studio-kryvsw6j.js} +3 -3
- package/dist/chunks/{studio-kfpek536.js → studio-kyh9avvv.js} +2 -2
- package/dist/chunks/{studio-twsafr1e.js → studio-m3hwn7y1.js} +3 -3
- package/dist/chunks/studio-msd847zn.js +1315 -0
- package/dist/chunks/{studio-g5gdqnyd.js → studio-mtfnaqs9.js} +19 -19
- package/dist/chunks/{studio-7ejemhej.js → studio-n6j9t10q.js} +6 -6
- package/dist/chunks/{studio-vhk5fmfv.js → studio-n8b9wqwy.js} +5 -5
- package/dist/chunks/{studio-cjm7fdjf.js → studio-p4ngc046.js} +8 -104
- package/dist/chunks/studio-q43a5y9h.js +394 -0
- package/dist/chunks/studio-q7v10cg2.js +106 -0
- package/dist/chunks/{studio-6kv3apa9.js → studio-q9jd1a60.js} +27 -11
- package/dist/chunks/studio-qcy05dp8.js +1743 -0
- package/dist/chunks/{studio-a0yp7syn.js → studio-qjy2z9bv.js} +29 -132
- package/dist/chunks/{studio-2w11grav.js → studio-qq6jym04.js} +3 -3
- package/dist/chunks/{studio-3fk1ac9z.js → studio-rdx8jcxy.js} +4 -4
- package/dist/chunks/{studio-4mqb9a0j.js → studio-rn9ta2mz.js} +4 -4
- package/dist/chunks/studio-t7qb9db8.js +665 -0
- package/dist/chunks/studio-tmc5emrw.js +8 -0
- package/dist/chunks/{studio-r5xbtctf.js → studio-trxrabqf.js} +292 -2297
- package/dist/chunks/studio-wcy8trfx.js +263 -0
- package/dist/chunks/{studio-3dkcd4c5.js → studio-x4qkdat5.js} +62 -57
- package/dist/chunks/studio-x813zp48.js +195 -0
- package/dist/chunks/{studio-qpfq7xhm.js → studio-xrapxwwc.js} +22 -285
- package/dist/chunks/{studio-xm3dbxvn.js → studio-zczps70q.js} +2 -2
- package/dist/chunks/{studio-8ezdegcx.js → studio-zqazsct2.js} +40 -36
- package/dist/chunks/workspace-fjx52ryv.js +89 -0
- package/dist/iframe-entry.js +141 -56
- package/dist/manifest.json +7 -0
- package/dist/studio.js +2605 -1950
- package/favicon.ico +0 -0
- package/index.html +1 -0
- package/package.json +20 -18
- package/src/about/about-modal.ts +4 -3
- package/src/browse/library-pane.ts +57 -3
- package/src/canvas/canvas-render.ts +23 -1
- package/src/canvas/iframe-patch.ts +47 -21
- package/src/canvas/iframe-render.ts +22 -6
- package/src/commands/app-commands.ts +4 -0
- package/src/commands/command-args.ts +29 -0
- package/src/commands/context.ts +15 -1
- package/src/commands/defaults.ts +29 -1
- package/src/commands/levels.ts +16 -0
- package/src/commands/live-context.ts +3 -0
- package/src/content/collection-match.ts +267 -0
- package/src/content/entry-commands.ts +38 -29
- package/src/content/entry-fields.ts +6 -0
- package/src/editor/shortcuts.ts +5 -0
- package/src/files/file-ops.ts +10 -42
- package/src/files/files.ts +487 -59
- package/src/files/fs-events.ts +9 -0
- package/src/files/gitignore.ts +432 -0
- package/src/files/media-paths.ts +13 -42
- package/src/files/media-usage.ts +41 -131
- package/src/files/serialize-document.ts +60 -0
- package/src/format/convert-file.ts +511 -0
- package/src/format/format-choices.ts +199 -0
- package/src/grid/grid-view.ts +16 -2
- package/src/hosting/document.ts +2 -0
- package/src/hosting/layout.ts +8 -0
- package/src/media/media-open.ts +58 -0
- package/src/media/media-pane.ts +310 -0
- package/src/new-project/import-tab.ts +357 -163
- package/src/new-project/location-fields.ts +8 -5
- package/src/new-project/new-project-modal.ts +27 -34
- package/src/packages/ensure-deps.ts +14 -7
- package/src/packages/jxsuite-update.ts +11 -11
- package/src/page-params.ts +10 -46
- package/src/panels/activity-bar.ts +45 -16
- package/src/panels/ai-chat/attached-context.ts +6 -1
- package/src/panels/ai-chat/chat-view.ts +255 -13
- package/src/panels/ai-chat/composer.ts +31 -97
- package/src/panels/ai-panel.ts +116 -2
- package/src/panels/navigator-panels.ts +7 -6
- package/src/panels/settings-menu.ts +799 -0
- package/src/panels/toolbar.ts +135 -15
- package/src/platforms/cloud.ts +261 -70
- package/src/platforms/devserver.ts +67 -33
- package/src/preview/preview-overlay.ts +226 -0
- package/src/publish/publish-panel.ts +62 -2
- package/src/services/ai-ask.ts +247 -0
- package/src/services/ai-import-tools.ts +532 -0
- package/src/services/ai-models.ts +108 -1
- package/src/services/ai-project-tools.ts +20 -26
- package/src/services/ai-system-prompt.ts +88 -2
- package/src/services/ai-turn-signal.ts +70 -0
- package/src/services/connection.ts +74 -0
- package/src/services/context-manager.ts +101 -1
- package/src/services/document-assistant.ts +45 -4
- package/src/services/import-client.ts +33 -6
- package/src/services/import-run.ts +158 -0
- package/src/services/import-seed.ts +120 -0
- package/src/services/jx-validate.ts +58 -6
- package/src/services/project-adoption.ts +71 -0
- package/src/services/references.ts +0 -0
- package/src/services/settings/definitions.ts +17 -0
- package/src/services/tool-executor.ts +45 -2
- package/src/settings/contexts-section.ts +45 -3
- package/src/settings/dependencies-editor.ts +43 -23
- package/src/settings/general-settings.ts +30 -12
- package/src/settings/preferences-accounts.ts +193 -12
- package/src/settings/preferences-dialog.ts +93 -59
- package/src/settings/preferences-sections.ts +57 -0
- package/src/settings/settings-document.ts +65 -9
- package/src/studio.ts +33 -6
- package/src/tabs/transact.ts +42 -19
- package/src/types.ts +129 -7
- package/src/ui/ai-managed-connect.ts +62 -13
- package/src/ui/ai-model-picker.ts +189 -0
- package/src/ui/cf-account-picker.ts +200 -0
- package/src/ui/choice-field.ts +72 -0
- package/src/ui/layers.ts +83 -5
- package/src/utils/studio-utils.ts +22 -52
- package/styles/forced-colors.css +7 -0
- package/styles/overlays.css +256 -0
- package/styles/panels.css +13 -1
- package/styles/shell.css +147 -0
- package/dist/chunks/Overlay.dev-d2ajy6sj.js +0 -23
- package/dist/chunks/content-source-7fy9qrm0.js +0 -40
- package/dist/chunks/files-xcybanxe.js +0 -70
- package/dist/chunks/layers-panel-27essgkc.js +0 -60
- package/dist/chunks/publish-panel-09sy2bab.js +0 -22
- package/dist/chunks/quick-search-sefb61v8.js +0 -55
- package/dist/chunks/right-panel-9r32jd5j.js +0 -39
- package/dist/chunks/sp-overlay.dev-s18hymn9.js +0 -18
- package/dist/chunks/sp-popover.dev-dj9x7e7a.js +0 -9
- package/dist/chunks/sp-progress-circle.dev-0zxcyz3r.js +0 -15
- package/dist/chunks/sp-tooltip.dev-5c6d1kjz.js +0 -15
- package/dist/chunks/studio-bw5dz6km.js +0 -608
- package/dist/chunks/studio-c31yb4t6.js +0 -55
- package/src/canvas/site-style-css.ts +0 -117
|
@@ -71,5 +71,5 @@ function hasPlatform() {
|
|
|
71
71
|
|
|
72
72
|
export { registerPlatform, platformInFlight, getPlatform, hasPlatform };
|
|
73
73
|
|
|
74
|
-
//# debugId=
|
|
75
|
-
//# sourceMappingURL=studio-
|
|
74
|
+
//# debugId=48AA6894A0BB2F0464756E2164756E21
|
|
75
|
+
//# sourceMappingURL=studio-9ab8gqsm.js.map
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isJsonObject
|
|
3
|
+
} from "./studio-q7v10cg2.js";
|
|
4
|
+
|
|
5
|
+
// ../schema/src/ijson.ts
|
|
6
|
+
var WHITESPACE = new Set([" ", "\t", `
|
|
7
|
+
`, "\r"]);
|
|
8
|
+
function findIJsonProblems(text) {
|
|
9
|
+
const problems = [];
|
|
10
|
+
const stack = [];
|
|
11
|
+
let pendingKey = null;
|
|
12
|
+
let index = 0;
|
|
13
|
+
const currentPath = () => stack.at(-1)?.path ?? "";
|
|
14
|
+
const childPath = () => pendingKey === null ? currentPath() : joinPath(currentPath(), pendingKey);
|
|
15
|
+
const readString = () => {
|
|
16
|
+
index += 1;
|
|
17
|
+
let out = "";
|
|
18
|
+
while (index < text.length) {
|
|
19
|
+
const char = text[index];
|
|
20
|
+
if (char === "\\") {
|
|
21
|
+
const next = text[index + 1] ?? "";
|
|
22
|
+
if (next === "u") {
|
|
23
|
+
out += String.fromCodePoint(Number.parseInt(text.slice(index + 2, index + 6), 16));
|
|
24
|
+
index += 6;
|
|
25
|
+
} else {
|
|
26
|
+
out += ESCAPES[next] ?? next;
|
|
27
|
+
index += 2;
|
|
28
|
+
}
|
|
29
|
+
continue;
|
|
30
|
+
}
|
|
31
|
+
if (char === '"') {
|
|
32
|
+
index += 1;
|
|
33
|
+
return out;
|
|
34
|
+
}
|
|
35
|
+
out += char;
|
|
36
|
+
index += 1;
|
|
37
|
+
}
|
|
38
|
+
return out;
|
|
39
|
+
};
|
|
40
|
+
while (index < text.length) {
|
|
41
|
+
const char = text[index];
|
|
42
|
+
if (WHITESPACE.has(char) || char === "," || char === ":") {
|
|
43
|
+
index += 1;
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
if (char === "{" || char === "[") {
|
|
47
|
+
stack.push(char === "{" ? { keys: new Set, kind: "object", path: childPath() } : { kind: "array", path: childPath() });
|
|
48
|
+
pendingKey = null;
|
|
49
|
+
index += 1;
|
|
50
|
+
continue;
|
|
51
|
+
}
|
|
52
|
+
if (char === "}" || char === "]") {
|
|
53
|
+
stack.pop();
|
|
54
|
+
pendingKey = null;
|
|
55
|
+
index += 1;
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
if (char === '"') {
|
|
59
|
+
const value = readString();
|
|
60
|
+
const frame = stack.at(-1);
|
|
61
|
+
if (frame?.kind === "object" && nextMeaningful(text, index) === ":") {
|
|
62
|
+
if (frame.keys.has(value)) {
|
|
63
|
+
problems.push({ detail: value, kind: "duplicate-key", path: frame.path });
|
|
64
|
+
}
|
|
65
|
+
frame.keys.add(value);
|
|
66
|
+
pendingKey = value;
|
|
67
|
+
} else {
|
|
68
|
+
pendingKey = null;
|
|
69
|
+
}
|
|
70
|
+
continue;
|
|
71
|
+
}
|
|
72
|
+
if (char === "-" || char >= "0" && char <= "9") {
|
|
73
|
+
const start = index;
|
|
74
|
+
while (index < text.length && /[\d+.eE-]/.test(text[index])) {
|
|
75
|
+
index += 1;
|
|
76
|
+
}
|
|
77
|
+
const literal = text.slice(start, index);
|
|
78
|
+
if (!isSafeJsonNumber(literal)) {
|
|
79
|
+
problems.push({ detail: literal, kind: "unsafe-number", path: childPath() });
|
|
80
|
+
}
|
|
81
|
+
pendingKey = null;
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
const before = index;
|
|
85
|
+
while (index < text.length && /[A-Za-z]/.test(text[index])) {
|
|
86
|
+
index += 1;
|
|
87
|
+
}
|
|
88
|
+
if (index === before) {
|
|
89
|
+
index += 1;
|
|
90
|
+
}
|
|
91
|
+
pendingKey = null;
|
|
92
|
+
}
|
|
93
|
+
return problems;
|
|
94
|
+
}
|
|
95
|
+
var ESCAPES = {
|
|
96
|
+
b: "\b",
|
|
97
|
+
f: "\f",
|
|
98
|
+
n: `
|
|
99
|
+
`,
|
|
100
|
+
r: "\r",
|
|
101
|
+
t: "\t"
|
|
102
|
+
};
|
|
103
|
+
function nextMeaningful(text, from) {
|
|
104
|
+
let index = from;
|
|
105
|
+
while (index < text.length && WHITESPACE.has(text[index])) {
|
|
106
|
+
index += 1;
|
|
107
|
+
}
|
|
108
|
+
return text[index] ?? "";
|
|
109
|
+
}
|
|
110
|
+
function joinPath(parent, key) {
|
|
111
|
+
return parent === "" ? key : `${parent}.${key}`;
|
|
112
|
+
}
|
|
113
|
+
function isSafeJsonNumber(literal) {
|
|
114
|
+
if (/[.eE]/.test(literal)) {
|
|
115
|
+
return true;
|
|
116
|
+
}
|
|
117
|
+
const value = Number(literal);
|
|
118
|
+
if (!Number.isFinite(value)) {
|
|
119
|
+
return false;
|
|
120
|
+
}
|
|
121
|
+
return String(value) === literal.replace(/^\+/, "");
|
|
122
|
+
}
|
|
123
|
+
function describeIJsonProblem(problem) {
|
|
124
|
+
const where = problem.path === "" ? "the document root" : `"${problem.path}"`;
|
|
125
|
+
return problem.kind === "duplicate-key" ? `duplicate key "${problem.detail}" in ${where} — JSON.parse keeps the last one and ` + "silently discards the first (RFC 7493 §2.3)" : `number ${problem.detail} in ${where} cannot be represented exactly and will change when ` + "the document is written back (RFC 7493 §2.2)";
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// ../schema/src/parse.ts
|
|
129
|
+
function errorMessage(e) {
|
|
130
|
+
return e instanceof Error ? e.message : String(e);
|
|
131
|
+
}
|
|
132
|
+
function toError(e) {
|
|
133
|
+
return e instanceof Error ? e : new Error(String(e));
|
|
134
|
+
}
|
|
135
|
+
var NON_ASCII = /[^\p{ASCII}]/u;
|
|
136
|
+
function normalizeIdentifiers(value) {
|
|
137
|
+
if (typeof value === "string") {
|
|
138
|
+
return NON_ASCII.test(value) ? value.normalize("NFC") : value;
|
|
139
|
+
}
|
|
140
|
+
if (Array.isArray(value)) {
|
|
141
|
+
return value.map((item) => normalizeIdentifiers(item));
|
|
142
|
+
}
|
|
143
|
+
if (isJsonObject(value)) {
|
|
144
|
+
const out = {};
|
|
145
|
+
for (const [key, entry] of Object.entries(value)) {
|
|
146
|
+
out[NON_ASCII.test(key) ? key.normalize("NFC") : key] = normalizeIdentifiers(entry);
|
|
147
|
+
}
|
|
148
|
+
return out;
|
|
149
|
+
}
|
|
150
|
+
return value;
|
|
151
|
+
}
|
|
152
|
+
function parseObject(text, sourcePath, what) {
|
|
153
|
+
let parsed;
|
|
154
|
+
try {
|
|
155
|
+
parsed = JSON.parse(text);
|
|
156
|
+
} catch (error) {
|
|
157
|
+
throw new Error(`Failed to parse ${what} at ${sourcePath}: ${errorMessage(error)}`, {
|
|
158
|
+
cause: error
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
if (!isJsonObject(parsed)) {
|
|
162
|
+
throw new Error(`Invalid ${what} at ${sourcePath}: expected a JSON object`);
|
|
163
|
+
}
|
|
164
|
+
const problems = findIJsonProblems(text);
|
|
165
|
+
if (problems.length > 0) {
|
|
166
|
+
const described = problems.map((problem) => describeIJsonProblem(problem)).join("; ");
|
|
167
|
+
throw new Error(`Invalid ${what} at ${sourcePath}: ${described}`);
|
|
168
|
+
}
|
|
169
|
+
return normalizeIdentifiers(parsed);
|
|
170
|
+
}
|
|
171
|
+
function parseJxDocument(text, sourcePath) {
|
|
172
|
+
return parseObject(text, sourcePath, "Jx document");
|
|
173
|
+
}
|
|
174
|
+
function parseProjectConfig(text, sourcePath) {
|
|
175
|
+
return parseObject(text, sourcePath, "project config");
|
|
176
|
+
}
|
|
177
|
+
function parseClassDef(text, sourcePath) {
|
|
178
|
+
return parseObject(text, sourcePath, "class definition");
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export { errorMessage, toError, parseJxDocument, parseProjectConfig, parseClassDef };
|
|
182
|
+
|
|
183
|
+
//# debugId=917546FD026A0EA464756E2164756E21
|
|
184
|
+
//# sourceMappingURL=studio-9n4mrmnb.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getPlatform
|
|
3
|
-
} from "./studio-
|
|
3
|
+
} from "./studio-9ab8gqsm.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
6
|
} from "./studio-a0tswy0w.js";
|
|
@@ -21,7 +21,7 @@ async function applyPendingSchemas() {
|
|
|
21
21
|
}
|
|
22
22
|
_pendingSchemasDirty = false;
|
|
23
23
|
try {
|
|
24
|
-
const { applyProjectSchemas } = await import("./monaco-setup-
|
|
24
|
+
const { applyProjectSchemas } = await import("./monaco-setup-vx9bhp1d.js");
|
|
25
25
|
applyProjectSchemas(_pendingSchemas);
|
|
26
26
|
} catch {}
|
|
27
27
|
}
|
|
@@ -32,7 +32,7 @@ function loadMonaco() {
|
|
|
32
32
|
_loading ??= (async () => {
|
|
33
33
|
const [monaco] = await Promise.all([
|
|
34
34
|
import("./editor-cptq5jp1.js"),
|
|
35
|
-
import("./monaco-setup-
|
|
35
|
+
import("./monaco-setup-vx9bhp1d.js")
|
|
36
36
|
]);
|
|
37
37
|
_monaco = monaco;
|
|
38
38
|
await applyPendingSchemas();
|
|
@@ -106,11 +106,11 @@ async function shareProjectSchemas(platform) {
|
|
|
106
106
|
schemas = await platform.fetchProjectSchemas?.() ?? null;
|
|
107
107
|
} catch {}
|
|
108
108
|
setProjectSchemasForMonaco(schemas);
|
|
109
|
-
await import("./jx-validate-
|
|
109
|
+
await import("./jx-validate-8er6gbxy.js").then(({ applyProjectSchemas }) => applyProjectSchemas(schemas)).catch(() => false);
|
|
110
110
|
}
|
|
111
111
|
function refreshExtensionUi(platform) {
|
|
112
112
|
shareProjectSchemas(platform);
|
|
113
|
-
import("./extension-sections-
|
|
113
|
+
import("./extension-sections-txv08xxg.js").then(({ syncExtensionSettingsSections }) => syncExtensionSettingsSections()).catch(() => {});
|
|
114
114
|
}
|
|
115
115
|
function getFormats() {
|
|
116
116
|
return _formats;
|
|
@@ -225,4 +225,4 @@ function splitFormatDocument(format, doc) {
|
|
|
225
225
|
export { loadMonaco, loadedMonaco, mountStillWanted, loadFormats, refreshFormats, setFormats, loadExtensions, getExtensions, setExtensions, refreshExtensionUi, getFormats, formatByExtension, formatByName, noFormatError, formatForPath, documentExtensions, defaultContentFormat, formatParse, formatSerialize, splitFormatDocument };
|
|
226
226
|
|
|
227
227
|
//# debugId=7A0A51B7AA10806664756E2164756E21
|
|
228
|
-
//# sourceMappingURL=studio-
|
|
228
|
+
//# sourceMappingURL=studio-ahn3pdgx.js.map
|