@jxsuite/studio 5.1.0 → 5.3.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/{cf-account-picker-qwkm9zrf.js → cf-account-picker-nwnwdm6p.js} +10 -10
- package/dist/chunks/{cf-settings-71bv5zn9.js → cf-settings-adg74qsk.js} +4 -4
- package/dist/chunks/{components-vj72gqtq.js → components-5y78e05d.js} +4 -4
- package/dist/chunks/content-source-4rzvmp0m.js +46 -0
- package/dist/chunks/{convert-to-repeater-n64h8znc.js → convert-to-repeater-jxsv62v7.js} +22 -22
- package/dist/chunks/entry-commands-1wnsqn5d.js +42 -0
- package/dist/chunks/{extension-sections-3hpcambp.js → extension-sections-2mrptyek.js} +27 -27
- package/dist/chunks/{file-ops-8yhd83xr.js → file-ops-knfqshrm.js} +22 -22
- package/dist/chunks/{files-hnxqxtsg.js → files-y6fr4he9.js} +32 -30
- package/dist/chunks/{format-host-779sfp2n.js → format-host-1k4qrcqd.js} +2 -2
- package/dist/chunks/{fs-events-b88z7g4h.js → fs-events-3y6y0nrm.js} +4 -4
- package/dist/chunks/{git-panel-xwj8fpab.js → git-panel-2rkrsjva.js} +23 -22
- package/dist/chunks/grid-view-1p6hsyjx.css +8406 -0
- package/dist/chunks/grid-view-a7b87n2c.js +15322 -0
- package/dist/chunks/{iframe-host-syr0f9sb.js → iframe-host-scpw01h8.js} +13 -13
- package/dist/chunks/{jx-validate-j0wxk72w.js → jx-validate-epp2z3s3.js} +2 -2
- package/dist/chunks/{layers-ff81wthn.js → layers-jnvdbqva.js} +5 -5
- package/dist/chunks/layers-panel-73gfkcga.js +41 -0
- package/dist/chunks/{listbox-6v2ac08j.js → listbox-b7jxnhq1.js} +19 -3
- package/dist/chunks/{media-picker-cqhhxhhe.js → media-picker-f66nav16.js} +13 -13
- package/dist/chunks/menu-1dfhry4s.js +15 -0
- package/dist/chunks/{monaco-buffer-bhy3hb6m.js → monaco-buffer-pykwbm92.js} +3 -3
- package/dist/chunks/{monaco-setup-8r62fj6y.js → monaco-setup-km6abc6q.js} +2 -2
- package/dist/chunks/{notify-628t0anh.js → notify-42gk8ha1.js} +2 -2
- package/dist/chunks/{parse-0zx14y15.js → parse-reg9eevt.js} +2 -2
- package/dist/chunks/publish-panel-z1zd2da1.js +27 -0
- package/dist/chunks/quick-search-zdv7h8ht.js +47 -0
- package/dist/chunks/{references-qvvxej7h.js → references-h69xp9zz.js} +2 -2
- package/dist/chunks/right-panel-889vbnm5.js +45 -0
- package/dist/chunks/{split-g7nm1rgb.js → split-4cz4b6ef.js} +14 -3
- package/dist/chunks/{studio-vfq8qpjt.js → studio-0j7r7s9g.js} +3 -3
- package/dist/chunks/{studio-b4s9eykd.js → studio-151w0xnh.js} +15 -15
- package/dist/chunks/studio-1tbjfqv4.js +146 -0
- package/dist/chunks/{studio-8scdew0e.js → studio-27q131j3.js} +4 -4
- package/dist/chunks/{studio-7r42c6ca.js → studio-3ntvq6cg.js} +5 -5
- package/dist/chunks/{studio-g3jevyjt.js → studio-4c041r8y.js} +2 -2
- package/dist/chunks/{studio-js8nv53n.js → studio-4f3psrk1.js} +14 -14
- package/dist/chunks/{studio-pxbgypmg.js → studio-50wfwy44.js} +17 -14
- package/dist/chunks/{studio-vw7mzp6z.js → studio-6gryj0sg.js} +5 -5
- package/dist/chunks/{studio-e1pgga3k.js → studio-6kvgrkrp.js} +7 -7
- package/dist/chunks/{studio-wqz6dggm.js → studio-7144epdr.js} +9 -9
- package/dist/chunks/{studio-b0k5tqgp.js → studio-7rrb1esn.js} +32 -28
- package/dist/chunks/{studio-38emantv.js → studio-a5h5j33a.js} +19 -5
- package/dist/chunks/{studio-3773086z.js → studio-a65w20ex.js} +4 -4
- package/dist/chunks/{studio-nzzpvzx9.js → studio-ab87phj1.js} +4 -4
- package/dist/chunks/{studio-r6nvacqs.js → studio-b66rsh78.js} +20 -20
- package/dist/chunks/{studio-jxp12rnj.js → studio-b7xacrwe.js} +6 -6
- package/dist/chunks/{studio-6xa21ej9.js → studio-c04nzbby.js} +2 -2
- package/dist/chunks/{studio-try13h8c.js → studio-c0qgc3tn.js} +18 -18
- package/dist/chunks/{studio-tqgryxwg.js → studio-cgprcdxn.js} +7 -7
- package/dist/chunks/{studio-kkqkcp3d.js → studio-d1n2bykn.js} +40 -13
- package/dist/chunks/{studio-p1dw8wfw.js → studio-d8z5bajd.js} +14 -10
- package/dist/chunks/{studio-3rz5md06.js → studio-dd1qqkry.js} +6 -6
- package/dist/chunks/{studio-1z1kcjv4.js → studio-drg8qj9k.js} +11 -11
- package/dist/chunks/{studio-kcgff4r0.js → studio-fgmfksz8.js} +2 -2
- package/dist/chunks/{studio-qk90fgqm.js → studio-fzjx96t2.js} +7 -7
- package/dist/chunks/{studio-a79k90n9.js → studio-g33v4fe9.js} +17 -16
- package/dist/chunks/{studio-k75n7vhp.js → studio-gk2twyh4.js} +74 -36
- package/dist/chunks/{studio-syg2tadj.js → studio-gtfq1dkz.js} +3 -3
- package/dist/chunks/{studio-1knfqgy7.js → studio-j0w60gft.js} +8 -8
- package/dist/chunks/{studio-aj37eer3.js → studio-jt27ta6x.js} +4 -4
- package/dist/chunks/{studio-gb13095a.js → studio-ke09tn9k.js} +59 -20
- package/dist/chunks/{studio-d0300636.js → studio-ks2zzth2.js} +17 -2
- package/dist/chunks/{studio-6ewqv390.js → studio-m1p9b6c3.js} +5 -5
- package/dist/chunks/{studio-qk4bfsq2.js → studio-msc1ee1m.js} +4 -4
- package/dist/chunks/{studio-93zafjcm.js → studio-nfx354t1.js} +10 -10
- package/dist/chunks/{studio-mhhyamxf.js → studio-nsgw7dbk.js} +6 -6
- package/dist/chunks/{studio-qhhm6hbt.js → studio-rtskkm43.js} +4 -4
- package/dist/chunks/studio-t171hxhe.js +23 -0
- package/dist/chunks/{studio-hhvs4sdg.js → studio-vn5hske5.js} +10 -4
- package/dist/chunks/{studio-q3x06vmj.js → studio-wnsyffg1.js} +2 -2
- package/dist/chunks/{studio-5wt9nvhd.js → studio-xajk70w0.js} +29 -42
- package/dist/chunks/{studio-7xnmgv66.js → studio-ye9drbk8.js} +45 -44
- package/dist/chunks/{studio-y9zedyjn.js → studio-z2smx5ce.js} +2 -2
- package/dist/chunks/{studio-sbjyc8bt.js → studio-ze46gzjh.js} +9 -9
- package/dist/chunks/{studio-zdn2g6dt.js → studio-zjjde71a.js} +2 -2
- package/dist/chunks/{workspace-t55jdjbx.js → workspace-np10mayv.js} +18 -10
- package/dist/iframe-entry.js +9 -5
- package/dist/studio.css +1 -2
- package/dist/studio.js +910 -15705
- package/package.json +10 -10
- package/src/files/files.ts +38 -15
- package/src/grid/grid-lazy.ts +59 -0
- package/src/grid/grid-open.ts +20 -3
- package/src/grid/grid-panel.ts +43 -9
- package/src/media/media-open.ts +14 -2
- package/src/panels/chat-panel.ts +40 -5
- package/src/panels/pane-context.ts +5 -4
- package/src/panels/pane-grid.ts +100 -10
- package/src/panels/tab-drop.ts +220 -0
- package/src/panels/tab-strip.ts +235 -30
- package/src/services/ai-models.ts +13 -0
- package/src/services/module-preloads.ts +67 -0
- package/src/studio.ts +16 -6
- package/src/surfaces/commandbar.json +26 -16
- package/src/surfaces/formula-palette.json +8 -7
- package/src/surfaces/formula-palette.ts +10 -6
- package/src/surfaces/palette.json +8 -7
- package/src/surfaces/pane-grid.json +35 -3
- package/src/surfaces/pane-grid.ts +26 -4
- package/src/surfaces/tab-strip.json +16 -39
- package/src/surfaces/tab-strip.ts +76 -12
- package/src/ui/ai-credentials-form.ts +12 -1
- package/src/ui/panel-resize.ts +3 -23
- package/src/ui/virtual-window.ts +57 -4
- package/src/workspace/pane-derive.ts +7 -5
- package/src/workspace/session.ts +3 -3
- package/src/workspace/workspace.ts +160 -43
- package/styles/shell-frame.css +8 -0
- package/styles/shell-frame.json +4 -0
- package/dist/chunks/content-source-5mex4x1h.js +0 -46
- package/dist/chunks/entry-commands-234hjnqw.js +0 -42
- package/dist/chunks/layers-panel-pnnghw12.js +0 -40
- package/dist/chunks/menu-9p2w46gj.js +0 -15
- package/dist/chunks/publish-panel-5zt840sy.js +0 -27
- package/dist/chunks/quick-search-3748564r.js +0 -45
- package/dist/chunks/right-panel-eccz92qt.js +0 -45
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
isCollabPath,
|
|
12
12
|
collectionForDirectory,
|
|
13
13
|
collectionForFile,
|
|
14
|
+
PRIMARY_PANE2,
|
|
14
15
|
workspace2,
|
|
15
16
|
paneOfTab2,
|
|
16
17
|
receivingPane2,
|
|
@@ -20,27 +21,27 @@ import {
|
|
|
20
21
|
activateTab2,
|
|
21
22
|
moveTabToPane2,
|
|
22
23
|
renameTab2
|
|
23
|
-
} from "./studio-
|
|
24
|
+
} from "./studio-gk2twyh4.js";
|
|
24
25
|
import {
|
|
25
26
|
registerSurface,
|
|
26
27
|
mountSurface,
|
|
27
28
|
runReported,
|
|
28
29
|
runActiveReported,
|
|
29
30
|
showPromptDialog2
|
|
30
|
-
} from "./studio-
|
|
31
|
+
} from "./studio-0j7r7s9g.js";
|
|
31
32
|
import {
|
|
32
33
|
activeRegistry
|
|
33
|
-
} from "./studio-
|
|
34
|
+
} from "./studio-d1n2bykn.js";
|
|
34
35
|
import {
|
|
35
36
|
reactive,
|
|
36
37
|
now,
|
|
37
38
|
notify2
|
|
38
|
-
} from "./studio-
|
|
39
|
+
} from "./studio-d8z5bajd.js";
|
|
39
40
|
import {
|
|
40
41
|
projectState,
|
|
41
42
|
setProjectState,
|
|
42
43
|
requireProjectState
|
|
43
|
-
} from "./studio-
|
|
44
|
+
} from "./studio-m1p9b6c3.js";
|
|
44
45
|
import {
|
|
45
46
|
getPlatform2,
|
|
46
47
|
hasPlatform2
|
|
@@ -54,13 +55,13 @@ import {
|
|
|
54
55
|
noFormatError2,
|
|
55
56
|
formatForPath2,
|
|
56
57
|
documentExtensions2
|
|
57
|
-
} from "./studio-
|
|
58
|
+
} from "./studio-6gryj0sg.js";
|
|
58
59
|
import {
|
|
59
60
|
resetIgnoreCache,
|
|
60
61
|
ensureIgnoreLayers,
|
|
61
62
|
isIgnoredEntry,
|
|
62
63
|
markLocalMutation2
|
|
63
|
-
} from "./studio-
|
|
64
|
+
} from "./studio-4c041r8y.js";
|
|
64
65
|
import {
|
|
65
66
|
invalidateUsages2
|
|
66
67
|
} from "./studio-nq5yf5mp.js";
|
|
@@ -71,27 +72,27 @@ import {
|
|
|
71
72
|
markSessionRestored,
|
|
72
73
|
setActivityTab,
|
|
73
74
|
resetProjectShell
|
|
74
|
-
} from "./studio-
|
|
75
|
+
} from "./studio-fzjx96t2.js";
|
|
75
76
|
import {
|
|
76
77
|
SETTINGS,
|
|
77
78
|
readStoredSetting,
|
|
78
79
|
setSetting
|
|
79
|
-
} from "./studio-
|
|
80
|
+
} from "./studio-z2smx5ce.js";
|
|
80
81
|
import {
|
|
81
82
|
showProgressModal
|
|
82
|
-
} from "./studio-
|
|
83
|
+
} from "./studio-cgprcdxn.js";
|
|
83
84
|
import {
|
|
84
85
|
registerPanel
|
|
85
|
-
} from "./studio-
|
|
86
|
+
} from "./studio-27q131j3.js";
|
|
86
87
|
import {
|
|
87
88
|
disarmPreviewOverlay,
|
|
88
89
|
parseSourceForPath2,
|
|
89
90
|
confirmFileDelete2,
|
|
90
91
|
renamePromptMessage2
|
|
91
|
-
} from "./studio-
|
|
92
|
+
} from "./studio-ke09tn9k.js";
|
|
92
93
|
import {
|
|
93
94
|
loadComponentRegistry2
|
|
94
|
-
} from "./studio-
|
|
95
|
+
} from "./studio-zjjde71a.js";
|
|
95
96
|
import {
|
|
96
97
|
combine,
|
|
97
98
|
dropTargetForElements2,
|
|
@@ -105,27 +106,27 @@ import {
|
|
|
105
106
|
isViewableMedia,
|
|
106
107
|
openMediaTab,
|
|
107
108
|
cleanupGitPanel2
|
|
108
|
-
} from "./studio-
|
|
109
|
+
} from "./studio-xajk70w0.js";
|
|
109
110
|
import {
|
|
110
111
|
uploadAccept,
|
|
111
112
|
isImage,
|
|
112
113
|
uploadAssets
|
|
113
|
-
} from "./studio-
|
|
114
|
+
} from "./studio-b7xacrwe.js";
|
|
114
115
|
import {
|
|
115
116
|
openCsvGridTab,
|
|
116
117
|
openPagesGrid
|
|
117
|
-
} from "./studio-
|
|
118
|
+
} from "./studio-50wfwy44.js";
|
|
118
119
|
import {
|
|
119
120
|
openMenu2
|
|
120
|
-
} from "./studio-
|
|
121
|
+
} from "./studio-jt27ta6x.js";
|
|
121
122
|
import {
|
|
122
123
|
listWindow,
|
|
123
124
|
revealListRow,
|
|
124
125
|
watchListWindow
|
|
125
|
-
} from "./studio-
|
|
126
|
+
} from "./studio-a5h5j33a.js";
|
|
126
127
|
import {
|
|
127
128
|
collectionOfPath
|
|
128
|
-
} from "./studio-
|
|
129
|
+
} from "./studio-rtskkm43.js";
|
|
129
130
|
import {
|
|
130
131
|
__preload
|
|
131
132
|
} from "./studio-5te5tqng.js";
|
|
@@ -1222,7 +1223,7 @@ async function openLastSessionOrHome2() {
|
|
|
1222
1223
|
if (session) {
|
|
1223
1224
|
const opened = await restoreSession(session, {
|
|
1224
1225
|
ensureSecondPane: () => {
|
|
1225
|
-
receivingPane2();
|
|
1226
|
+
receivingPane2(PRIMARY_PANE2);
|
|
1226
1227
|
},
|
|
1227
1228
|
openFile: (path, paneId) => openFileInTab2(path, { focus: false, paneId })
|
|
1228
1229
|
});
|
|
@@ -1847,6 +1848,7 @@ function fileRowFacts(entry) {
|
|
|
1847
1848
|
}
|
|
1848
1849
|
return facts;
|
|
1849
1850
|
}
|
|
1851
|
+
facts.file = entry.path;
|
|
1850
1852
|
if (collectionOfPath(entry.path)) {
|
|
1851
1853
|
facts.path = entry.path;
|
|
1852
1854
|
}
|
|
@@ -2081,7 +2083,7 @@ async function createNewFile(dirPath, renderLeftPanel) {
|
|
|
2081
2083
|
const seedable = constrained && collection.isSourceRoot && collection.def.schema !== undefined;
|
|
2082
2084
|
let created;
|
|
2083
2085
|
if (seedable) {
|
|
2084
|
-
const { createEntry } = await (__preload("
|
|
2086
|
+
const { createEntry } = await (__preload("1wnsqn5d"), import("./entry-commands-1wnsqn5d.js"));
|
|
2085
2087
|
created = await createEntry(collection.name, { dir: dirPath });
|
|
2086
2088
|
} else {
|
|
2087
2089
|
created = await createFileIn2({
|
|
@@ -2211,8 +2213,8 @@ async function deleteFile(entry, renderLeftPanel) {
|
|
|
2211
2213
|
function revealOpenTab(tabId, opts) {
|
|
2212
2214
|
const wanted = opts.paneId;
|
|
2213
2215
|
const holder = paneOfTab2(tabId);
|
|
2214
|
-
if (wanted !== undefined && holder
|
|
2215
|
-
if (holder.activeTabId === tabId) {
|
|
2216
|
+
if (wanted !== undefined && holder) {
|
|
2217
|
+
if (holder.activeTabId === tabId && opts.focus === false) {
|
|
2216
2218
|
return;
|
|
2217
2219
|
}
|
|
2218
2220
|
moveTabToPane2(tabId, wanted);
|
|
@@ -2231,7 +2233,7 @@ async function openFileInTab2(path, opts = {}) {
|
|
|
2231
2233
|
}
|
|
2232
2234
|
}
|
|
2233
2235
|
if (isViewableMedia(path)) {
|
|
2234
|
-
openMediaTab(path);
|
|
2236
|
+
openMediaTab(path, opts);
|
|
2235
2237
|
if (follows) {
|
|
2236
2238
|
requireProjectState().selectedPath = path;
|
|
2237
2239
|
}
|
|
@@ -2244,8 +2246,10 @@ async function openFileInTab2(path, opts = {}) {
|
|
|
2244
2246
|
}
|
|
2245
2247
|
if (path.toLowerCase().endsWith(".csv")) {
|
|
2246
2248
|
try {
|
|
2247
|
-
await openCsvGridTab(path);
|
|
2248
|
-
|
|
2249
|
+
await openCsvGridTab(path, opts);
|
|
2250
|
+
if (follows) {
|
|
2251
|
+
requireProjectState().selectedPath = path;
|
|
2252
|
+
}
|
|
2249
2253
|
trackRecentFile({
|
|
2250
2254
|
name: path.split("/").pop() || path,
|
|
2251
2255
|
path,
|
|
@@ -2428,5 +2432,5 @@ function unmountFilesPanel() {
|
|
|
2428
2432
|
|
|
2429
2433
|
export { ensureDependenciesInstalled, convertTargets, convertTargetExtensions, hydrateRecentProjects, getRecentProjects, addRecentProject, removeRecentProject, clearRecentProjects, getRecentFiles, trackRecentFile, loadDirectory2, loadProject2, openProject2, initProjectRepo2, findHomePage2, openLastSessionOrHome2, renderFilesTemplate2, registerFileTreeDnD2, createFileIn2, notifyMoveOutcome2, settleRename2, openFileInTab2, openFileInPane2, reloadCleanTab2, reloadFileInTab2, registerFilesPanel2 };
|
|
2430
2434
|
|
|
2431
|
-
//# debugId=
|
|
2432
|
-
//# sourceMappingURL=studio-
|
|
2435
|
+
//# debugId=7C9C999E902E1E2C64756E2164756E21
|
|
2436
|
+
//# sourceMappingURL=studio-7rrb1esn.js.map
|
|
@@ -100,6 +100,19 @@ function nearestScroller(el) {
|
|
|
100
100
|
}
|
|
101
101
|
return null;
|
|
102
102
|
}
|
|
103
|
+
function scrollerFor(list) {
|
|
104
|
+
const cached = scrollerCache.get(list);
|
|
105
|
+
if (cached && cached.isConnected && list.isConnected && cached.contains(list)) {
|
|
106
|
+
return cached;
|
|
107
|
+
}
|
|
108
|
+
const found = nearestScroller(list);
|
|
109
|
+
if (found) {
|
|
110
|
+
scrollerCache.set(list, found);
|
|
111
|
+
} else {
|
|
112
|
+
scrollerCache.delete(list);
|
|
113
|
+
}
|
|
114
|
+
return found;
|
|
115
|
+
}
|
|
103
116
|
function listScrollTop(scroller, list) {
|
|
104
117
|
if (scroller === list) {
|
|
105
118
|
return Math.max(0, scroller.scrollTop);
|
|
@@ -107,7 +120,7 @@ function listScrollTop(scroller, list) {
|
|
|
107
120
|
return Math.max(0, rectOf(scroller).top - rectOf(list).top);
|
|
108
121
|
}
|
|
109
122
|
function listWindow(list, spec) {
|
|
110
|
-
const scroller = list?.isConnected === true ?
|
|
123
|
+
const scroller = list?.isConnected === true ? scrollerFor(list) : null;
|
|
111
124
|
if (!scroller || !list) {
|
|
112
125
|
const count = Math.max(0, Math.trunc(spec.count));
|
|
113
126
|
return { end: count, padBottom: 0, padTop: 0, start: 0, totalRows: count };
|
|
@@ -133,7 +146,7 @@ function scrollTopToReveal(spec) {
|
|
|
133
146
|
return null;
|
|
134
147
|
}
|
|
135
148
|
function revealListRow(list, index, rowHeight) {
|
|
136
|
-
const scroller = list?.isConnected === true ?
|
|
149
|
+
const scroller = list?.isConnected === true ? scrollerFor(list) : null;
|
|
137
150
|
if (!scroller || !list || index < 0 || !(rowHeight > 0)) {
|
|
138
151
|
return false;
|
|
139
152
|
}
|
|
@@ -155,8 +168,9 @@ function measuredRowHeight(list, selector, declared) {
|
|
|
155
168
|
const row = list?.querySelector(selector);
|
|
156
169
|
return row && row.offsetHeight > 0 ? row.offsetHeight : declared;
|
|
157
170
|
}
|
|
171
|
+
var scrollerCache = new WeakMap;
|
|
158
172
|
function watchListWindow(previous, list, spec) {
|
|
159
|
-
const scroller =
|
|
173
|
+
const scroller = scrollerFor(list);
|
|
160
174
|
if (previous && previous.list === list && previous.scroller === scroller) {
|
|
161
175
|
return previous;
|
|
162
176
|
}
|
|
@@ -179,5 +193,5 @@ function watchListWindow(previous, list, spec) {
|
|
|
179
193
|
|
|
180
194
|
export { computeWindow, listWindow, revealListRow, measuredRowHeight, watchListWindow };
|
|
181
195
|
|
|
182
|
-
//# debugId=
|
|
183
|
-
//# sourceMappingURL=studio-
|
|
196
|
+
//# debugId=E03093CC18BA73A564756E2164756E21
|
|
197
|
+
//# sourceMappingURL=studio-a5h5j33a.js.map
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
isJsonObject,
|
|
6
6
|
paramNames
|
|
7
|
-
} from "./studio-
|
|
7
|
+
} from "./studio-3ntvq6cg.js";
|
|
8
8
|
import {
|
|
9
9
|
getNodeAtPath2,
|
|
10
10
|
projectState
|
|
11
|
-
} from "./studio-
|
|
11
|
+
} from "./studio-m1p9b6c3.js";
|
|
12
12
|
import {
|
|
13
13
|
loadedMonaco
|
|
14
|
-
} from "./studio-
|
|
14
|
+
} from "./studio-6gryj0sg.js";
|
|
15
15
|
|
|
16
16
|
// src/services/code-services.ts
|
|
17
17
|
async function codeService(action, payload) {
|
|
@@ -108,4 +108,4 @@ function getFunctionArgs(editing, document) {
|
|
|
108
108
|
export { codeService, pluginSchemaCache, fetchPluginSchema, setLintMarkers, getFunctionArgs };
|
|
109
109
|
|
|
110
110
|
//# debugId=267FFB64A2BBCD1564756E2164756E21
|
|
111
|
-
//# sourceMappingURL=studio-
|
|
111
|
+
//# sourceMappingURL=studio-a65w20ex.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
resolveI18n,
|
|
7
7
|
activeTab2
|
|
8
|
-
} from "./studio-
|
|
8
|
+
} from "./studio-gk2twyh4.js";
|
|
9
9
|
import {
|
|
10
10
|
assetUrlFor,
|
|
11
11
|
BUILD_LANES,
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
joinProjectPath,
|
|
16
16
|
projectPathForRef,
|
|
17
17
|
encodeProjectPath
|
|
18
|
-
} from "./studio-
|
|
18
|
+
} from "./studio-d1n2bykn.js";
|
|
19
19
|
import {
|
|
20
20
|
projectState
|
|
21
|
-
} from "./studio-
|
|
21
|
+
} from "./studio-m1p9b6c3.js";
|
|
22
22
|
|
|
23
23
|
// src/canvas/canvas-origin.ts
|
|
24
24
|
function canvasBaseOrigin() {
|
|
@@ -182,4 +182,4 @@ function hostAssetDeclarations() {
|
|
|
182
182
|
export { contentMountFor, resolveAssetRef, canvasBaseOrigin, documentBase, loopbackAssetSrc, projectLocales2, assetContextFor, previewAssetSrc, hostAssetDeclarations };
|
|
183
183
|
|
|
184
184
|
//# debugId=AC177B7F9545734164756E2164756E21
|
|
185
|
-
//# sourceMappingURL=studio-
|
|
185
|
+
//# sourceMappingURL=studio-ab87phj1.js.map
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
nothing2
|
|
3
3
|
} from "./studio-1k325pwf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
isRef,
|
|
6
6
|
isTagExpression,
|
|
7
7
|
tagNameCandidates,
|
|
8
8
|
displayTagName
|
|
9
|
-
} from "./studio-
|
|
9
|
+
} from "./studio-3ntvq6cg.js";
|
|
10
10
|
import {
|
|
11
11
|
getNodeAtPath2,
|
|
12
12
|
childList,
|
|
@@ -19,18 +19,18 @@ import {
|
|
|
19
19
|
projectState,
|
|
20
20
|
VOID_ELEMENTS,
|
|
21
21
|
updateSession
|
|
22
|
-
} from "./studio-
|
|
22
|
+
} from "./studio-m1p9b6c3.js";
|
|
23
23
|
import {
|
|
24
24
|
effect,
|
|
25
25
|
pauseTracking,
|
|
26
26
|
resetTracking,
|
|
27
27
|
reactive,
|
|
28
28
|
notify2
|
|
29
|
-
} from "./studio-
|
|
29
|
+
} from "./studio-d8z5bajd.js";
|
|
30
30
|
import {
|
|
31
31
|
view,
|
|
32
32
|
stageContaining
|
|
33
|
-
} from "./studio-
|
|
33
|
+
} from "./studio-wnsyffg1.js";
|
|
34
34
|
import {
|
|
35
35
|
getPlatform2
|
|
36
36
|
} from "./studio-6nzaktvy.js";
|
|
@@ -61,26 +61,26 @@ import {
|
|
|
61
61
|
jsonClone,
|
|
62
62
|
workspace2,
|
|
63
63
|
activeTab2
|
|
64
|
-
} from "./studio-
|
|
64
|
+
} from "./studio-gk2twyh4.js";
|
|
65
65
|
import {
|
|
66
66
|
serializeJson,
|
|
67
67
|
shell,
|
|
68
68
|
setActivityTab
|
|
69
|
-
} from "./studio-
|
|
69
|
+
} from "./studio-fzjx96t2.js";
|
|
70
70
|
import {
|
|
71
71
|
KEY_SCOPES,
|
|
72
72
|
checkRecordPlacements,
|
|
73
73
|
registerPanel
|
|
74
|
-
} from "./studio-
|
|
74
|
+
} from "./studio-27q131j3.js";
|
|
75
75
|
import {
|
|
76
76
|
componentRegistry2,
|
|
77
77
|
loadComponentRegistry2,
|
|
78
78
|
computeRelativePath2
|
|
79
|
-
} from "./studio-
|
|
79
|
+
} from "./studio-zjjde71a.js";
|
|
80
80
|
import {
|
|
81
81
|
focusItem,
|
|
82
82
|
activeRegistry
|
|
83
|
-
} from "./studio-
|
|
83
|
+
} from "./studio-d1n2bykn.js";
|
|
84
84
|
import {
|
|
85
85
|
REGION_ATTR,
|
|
86
86
|
overlayRegion,
|
|
@@ -91,13 +91,13 @@ import {
|
|
|
91
91
|
showPromptDialog2,
|
|
92
92
|
getLayerSlot2,
|
|
93
93
|
clearLayerSlot2
|
|
94
|
-
} from "./studio-
|
|
94
|
+
} from "./studio-0j7r7s9g.js";
|
|
95
95
|
import {
|
|
96
96
|
stylebook_meta_default,
|
|
97
97
|
selectStylebookTag,
|
|
98
98
|
noopCommandDeps,
|
|
99
99
|
defaultCommands
|
|
100
|
-
} from "./studio-
|
|
100
|
+
} from "./studio-nfx354t1.js";
|
|
101
101
|
import {
|
|
102
102
|
errorMessage2
|
|
103
103
|
} from "./studio-yxa81f45.js";
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
getEditSnapshot2,
|
|
116
116
|
postApplyFormat2,
|
|
117
117
|
getEditBarAnchorRect2
|
|
118
|
-
} from "./studio-
|
|
118
|
+
} from "./studio-drg8qj9k.js";
|
|
119
119
|
import {
|
|
120
120
|
draggable2
|
|
121
121
|
} from "./studio-esrxgwh6.js";
|
|
@@ -124,10 +124,10 @@ import {
|
|
|
124
124
|
dataTypeLabel,
|
|
125
125
|
inspectorCommands,
|
|
126
126
|
defCategory
|
|
127
|
-
} from "./studio-
|
|
127
|
+
} from "./studio-ye9drbk8.js";
|
|
128
128
|
import {
|
|
129
129
|
openMenu2
|
|
130
|
-
} from "./studio-
|
|
130
|
+
} from "./studio-jt27ta6x.js";
|
|
131
131
|
import {
|
|
132
132
|
usagesSupported2
|
|
133
133
|
} from "./studio-nq5yf5mp.js";
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
revealListRow,
|
|
137
137
|
measuredRowHeight,
|
|
138
138
|
watchListWindow
|
|
139
|
-
} from "./studio-
|
|
139
|
+
} from "./studio-a5h5j33a.js";
|
|
140
140
|
import {
|
|
141
141
|
validateComponentSlots
|
|
142
142
|
} from "./studio-q0a3yk4n.js";
|
|
@@ -11194,7 +11194,7 @@ function findEnclosingRepeater(doc, path) {
|
|
|
11194
11194
|
return node && node.$prototype === "Array" ? node : null;
|
|
11195
11195
|
}
|
|
11196
11196
|
function refToStateName(ref) {
|
|
11197
|
-
if (!
|
|
11197
|
+
if (!isRef(ref)) {
|
|
11198
11198
|
return null;
|
|
11199
11199
|
}
|
|
11200
11200
|
const { $ref: target } = ref;
|
|
@@ -13738,7 +13738,7 @@ function elementCommands(deps) {
|
|
|
13738
13738
|
if (!target?.rerender) {
|
|
13739
13739
|
return;
|
|
13740
13740
|
}
|
|
13741
|
-
const { startLayerTitleEdit } = await (__preload("
|
|
13741
|
+
const { startLayerTitleEdit } = await (__preload("73gfkcga"), import("./layers-panel-73gfkcga.js"));
|
|
13742
13742
|
startLayerTitleEdit(target.path, target.rerender);
|
|
13743
13743
|
}
|
|
13744
13744
|
}
|
|
@@ -15527,5 +15527,5 @@ function registerLayersPanel2() {
|
|
|
15527
15527
|
|
|
15528
15528
|
export { findEnclosingRepeater, convertToComponent, showSlashMenu, showSlashMenuAtRect, dismissSlashMenu, handleSlashMenuKey, parseChord, normalizeChord, chordFromEvent, formatChord, overlappingScopes, chordsInScopes, createCommandRegistry, initBlockActionBar, formatCommands, registerSelectionCommands, dismissLinkPopover, dismissBlockActionBar, suppressBlockActionBar, releaseBlockActionBar, isEditChromeTarget, renderBlockActionBar, ok, find, html2, svg, stringify, stringify2, stringifyPosition, VFile, whitespace, setOpenDialog, setOpenPopover, ensurePopoverRevealWatch, startLayerTitleEdit2, registerLayersPanel2, pasteNode, clipboardCommands, setContextMenuNavigate, liveElementCommands, dismissContextMenu, showContextMenu };
|
|
15529
15529
|
|
|
15530
|
-
//# debugId=
|
|
15531
|
-
//# sourceMappingURL=studio-
|
|
15530
|
+
//# debugId=7893C37B2DF2B56864756E2164756E21
|
|
15531
|
+
//# sourceMappingURL=studio-b66rsh78.js.map
|
|
@@ -7,24 +7,24 @@ import {
|
|
|
7
7
|
} from "./studio-6nzaktvy.js";
|
|
8
8
|
import {
|
|
9
9
|
notify2
|
|
10
|
-
} from "./studio-
|
|
10
|
+
} from "./studio-d8z5bajd.js";
|
|
11
11
|
import {
|
|
12
12
|
projectState
|
|
13
|
-
} from "./studio-
|
|
13
|
+
} from "./studio-m1p9b6c3.js";
|
|
14
14
|
import {
|
|
15
15
|
activeTab2
|
|
16
|
-
} from "./studio-
|
|
16
|
+
} from "./studio-gk2twyh4.js";
|
|
17
17
|
import {
|
|
18
18
|
PUBLIC_DIR,
|
|
19
19
|
normalizeProjectPath,
|
|
20
20
|
encodeProjectPath
|
|
21
|
-
} from "./studio-
|
|
21
|
+
} from "./studio-d1n2bykn.js";
|
|
22
22
|
import {
|
|
23
23
|
contentMountFor,
|
|
24
24
|
loopbackAssetSrc,
|
|
25
25
|
projectLocales2,
|
|
26
26
|
hostAssetDeclarations
|
|
27
|
-
} from "./studio-
|
|
27
|
+
} from "./studio-ab87phj1.js";
|
|
28
28
|
|
|
29
29
|
// src/files/media-upload.ts
|
|
30
30
|
var IMAGE_EXTENSIONS = new Set([
|
|
@@ -237,4 +237,4 @@ function previewFileSrc(path) {
|
|
|
237
237
|
export { IMAGE_EXTENSIONS, MEDIA_EXTENSIONS, uploadAccept, extensionOf, isImage, isMediaFile, mediaKind, setMediaChangedHandler, uploadAssets, baseName, dirName, mediaSiteUrl, previewFileSrc };
|
|
238
238
|
|
|
239
239
|
//# debugId=4C51950010FE40AA64756E2164756E21
|
|
240
|
-
//# sourceMappingURL=studio-
|
|
240
|
+
//# sourceMappingURL=studio-b7xacrwe.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
readStoredSetting,
|
|
4
4
|
setSetting,
|
|
5
5
|
clearSettings
|
|
6
|
-
} from "./studio-
|
|
6
|
+
} from "./studio-z2smx5ce.js";
|
|
7
7
|
|
|
8
8
|
// src/services/cf-settings.ts
|
|
9
9
|
function getCfToken2() {
|
|
@@ -25,4 +25,4 @@ function clearCfConnection2() {
|
|
|
25
25
|
export { getCfToken2, setCfToken2, getCfAccountId2, setCfAccountId2, clearCfConnection2 };
|
|
26
26
|
|
|
27
27
|
//# debugId=C98948D2A82DEEE164756E2164756E21
|
|
28
|
-
//# sourceMappingURL=studio-
|
|
28
|
+
//# sourceMappingURL=studio-c04nzbby.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isJsonObject,
|
|
3
|
-
|
|
3
|
+
isRef,
|
|
4
4
|
isFunctionDef,
|
|
5
5
|
isExpressionDef,
|
|
6
6
|
getNestedStyle,
|
|
7
7
|
getEventBinding,
|
|
8
8
|
displayTagName
|
|
9
|
-
} from "./studio-
|
|
9
|
+
} from "./studio-3ntvq6cg.js";
|
|
10
10
|
import {
|
|
11
11
|
getNodeAtPath2,
|
|
12
12
|
nodeLabel,
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
cancelStyleDebounce,
|
|
18
18
|
renderOnly,
|
|
19
19
|
updateUi
|
|
20
|
-
} from "./studio-
|
|
20
|
+
} from "./studio-m1p9b6c3.js";
|
|
21
21
|
import {
|
|
22
22
|
effectScope,
|
|
23
23
|
effect,
|
|
24
24
|
reactive
|
|
25
|
-
} from "./studio-
|
|
25
|
+
} from "./studio-d8z5bajd.js";
|
|
26
26
|
import {
|
|
27
27
|
primarySelection,
|
|
28
28
|
unifyValues,
|
|
@@ -46,11 +46,11 @@ import {
|
|
|
46
46
|
friendlyNameToVar,
|
|
47
47
|
varDisplayName,
|
|
48
48
|
activeTab2
|
|
49
|
-
} from "./studio-
|
|
49
|
+
} from "./studio-gk2twyh4.js";
|
|
50
50
|
import {
|
|
51
51
|
isPopover,
|
|
52
52
|
activeRegistry
|
|
53
|
-
} from "./studio-
|
|
53
|
+
} from "./studio-d1n2bykn.js";
|
|
54
54
|
import {
|
|
55
55
|
mountExpressionEditor,
|
|
56
56
|
livePreviewExpression,
|
|
@@ -76,14 +76,14 @@ import {
|
|
|
76
76
|
bindContentHost,
|
|
77
77
|
isCustomElementDoc,
|
|
78
78
|
collectCssParts
|
|
79
|
-
} from "./studio-
|
|
79
|
+
} from "./studio-ye9drbk8.js";
|
|
80
80
|
import {
|
|
81
81
|
inspectorTabRegion,
|
|
82
82
|
inspectorStatementsRegion,
|
|
83
83
|
registerSurface,
|
|
84
84
|
mountSurface,
|
|
85
85
|
showPromptDialog2
|
|
86
|
-
} from "./studio-
|
|
86
|
+
} from "./studio-0j7r7s9g.js";
|
|
87
87
|
import {
|
|
88
88
|
VALUE_SOURCE_LABELS,
|
|
89
89
|
VALUE_SOURCE_HINTS,
|
|
@@ -95,23 +95,23 @@ import {
|
|
|
95
95
|
effectiveSlotMode,
|
|
96
96
|
slotModeSeed,
|
|
97
97
|
switchSlotMode
|
|
98
|
-
} from "./studio-
|
|
98
|
+
} from "./studio-4f3psrk1.js";
|
|
99
99
|
import {
|
|
100
100
|
mediaDisplayName,
|
|
101
101
|
schemeOfQuery,
|
|
102
102
|
parseMediaEntries,
|
|
103
103
|
dialogPathFor
|
|
104
|
-
} from "./studio-
|
|
104
|
+
} from "./studio-drg8qj9k.js";
|
|
105
105
|
import {
|
|
106
106
|
openMenu2
|
|
107
|
-
} from "./studio-
|
|
107
|
+
} from "./studio-jt27ta6x.js";
|
|
108
108
|
import {
|
|
109
109
|
getEffectiveMedia,
|
|
110
110
|
getEffectiveStyle,
|
|
111
111
|
DEFAULT_INSPECTOR_TAB,
|
|
112
112
|
isInspectorTabId,
|
|
113
113
|
shell
|
|
114
|
-
} from "./studio-
|
|
114
|
+
} from "./studio-fzjx96t2.js";
|
|
115
115
|
import {
|
|
116
116
|
peekUsages2,
|
|
117
117
|
loadUsages2,
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
import {
|
|
121
121
|
selectStylebookTag,
|
|
122
122
|
INSPECTOR_TABS
|
|
123
|
-
} from "./studio-
|
|
123
|
+
} from "./studio-nfx354t1.js";
|
|
124
124
|
import {
|
|
125
125
|
cloneValue2
|
|
126
126
|
} from "./studio-727xh0e3.js";
|
|
@@ -2255,7 +2255,7 @@ function fieldView(key, prop, plan) {
|
|
|
2255
2255
|
sourceLabel: VALUE_SOURCE_LABELS[plan.mode],
|
|
2256
2256
|
sourceLocked: !canMove(plan.mode, plan.offered),
|
|
2257
2257
|
tone: "",
|
|
2258
|
-
value: literal ? String(plan.value ?? "") : plan.mode === "ref" ?
|
|
2258
|
+
value: literal ? String(plan.value ?? "") : plan.mode === "ref" ? isRef(plan.value) ? plan.value.$ref : "" : String(plan.value ?? "")
|
|
2259
2259
|
};
|
|
2260
2260
|
}
|
|
2261
2261
|
function addField(fields, key, prop, spec) {
|
|
@@ -2317,7 +2317,7 @@ function projectLogicPanel() {
|
|
|
2317
2317
|
const stateDefs = bindableSignalNames(doc);
|
|
2318
2318
|
const key = selection.join("/");
|
|
2319
2319
|
const literalDefaultOf = (raw) => {
|
|
2320
|
-
const bound =
|
|
2320
|
+
const bound = isRef(raw) ? raw.$ref : null;
|
|
2321
2321
|
if (!bound) {
|
|
2322
2322
|
return;
|
|
2323
2323
|
}
|
|
@@ -2492,7 +2492,7 @@ function bindingView(bindings, evKey, evVal, defs) {
|
|
|
2492
2492
|
{ label: "— none —", value: "" },
|
|
2493
2493
|
...functionDefs.map(([fName]) => ({ label: fName, value: `#/state/${fName}` }))
|
|
2494
2494
|
],
|
|
2495
|
-
refValue:
|
|
2495
|
+
refValue: isRef(evVal) ? evVal.$ref : "",
|
|
2496
2496
|
showToggle: Boolean(fn),
|
|
2497
2497
|
source: mode,
|
|
2498
2498
|
sourceHint: sourceHint(mode, HANDLER_MODES),
|
|
@@ -8444,5 +8444,5 @@ function inspectorTarget() {
|
|
|
8444
8444
|
|
|
8445
8445
|
export { initCssData, registerStyleCommands, mount2, unmount2, render2, inspectorTab2, setInspectorTab2 };
|
|
8446
8446
|
|
|
8447
|
-
//# debugId=
|
|
8448
|
-
//# sourceMappingURL=studio-
|
|
8447
|
+
//# debugId=674E8D1C61241CA264756E2164756E21
|
|
8448
|
+
//# sourceMappingURL=studio-c0qgc3tn.js.map
|
|
@@ -5,20 +5,20 @@ import {
|
|
|
5
5
|
normalizeProjectPath,
|
|
6
6
|
showModal,
|
|
7
7
|
close2
|
|
8
|
-
} from "./studio-
|
|
8
|
+
} from "./studio-d1n2bykn.js";
|
|
9
9
|
import {
|
|
10
10
|
syncDeployChecklist
|
|
11
|
-
} from "./studio-
|
|
11
|
+
} from "./studio-nsgw7dbk.js";
|
|
12
12
|
import {
|
|
13
13
|
effectScope,
|
|
14
14
|
effect,
|
|
15
15
|
reactive,
|
|
16
16
|
now,
|
|
17
17
|
notify2
|
|
18
|
-
} from "./studio-
|
|
18
|
+
} from "./studio-d8z5bajd.js";
|
|
19
19
|
import {
|
|
20
20
|
setBottomTab
|
|
21
|
-
} from "./studio-
|
|
21
|
+
} from "./studio-fzjx96t2.js";
|
|
22
22
|
import {
|
|
23
23
|
REGION_ATTR,
|
|
24
24
|
overlayRegion,
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
mountSurface,
|
|
27
27
|
whenReady,
|
|
28
28
|
layerHost2
|
|
29
|
-
} from "./studio-
|
|
29
|
+
} from "./studio-0j7r7s9g.js";
|
|
30
30
|
import {
|
|
31
31
|
registerPanel
|
|
32
|
-
} from "./studio-
|
|
32
|
+
} from "./studio-27q131j3.js";
|
|
33
33
|
import {
|
|
34
34
|
peekUsages2,
|
|
35
35
|
loadUsages2,
|
|
@@ -1168,4 +1168,4 @@ function showProgressModal(opts) {
|
|
|
1168
1168
|
export { beginActivity, activityIdleBlockers, registerActivityPanel, showProgressModal, peekMediaUsages, loadMediaUsages, mediaUsageHeadline };
|
|
1169
1169
|
|
|
1170
1170
|
//# debugId=0FE9D80FF9C2142764756E2164756E21
|
|
1171
|
-
//# sourceMappingURL=studio-
|
|
1171
|
+
//# sourceMappingURL=studio-cgprcdxn.js.map
|