@jxsuite/studio 2.4.1 → 2.4.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/{content-source-cn9te96r.js → content-source-k9724vcv.js} +8 -8
- package/dist/chunks/{convert-to-repeater-65gjgdst.js → convert-to-repeater-k10dvcc7.js} +7 -7
- package/dist/chunks/{extension-sections-mdgmqrry.js → extension-sections-0ada0xcw.js} +11 -11
- package/dist/chunks/{files-dsh5g8j4.js → files-yew27sn9.js} +12 -12
- package/dist/chunks/{format-host-m9h45a79.js → format-host-wewba4nq.js} +2 -2
- package/dist/chunks/{git-panel-rfs8pqjj.js → git-panel-2dh1aw50.js} +7 -7
- package/dist/chunks/{layers-panel-6cj5nf6a.js → layers-panel-qnsghwwd.js} +10 -10
- package/dist/chunks/{publish-panel-b0xh7b4y.js → publish-panel-a0pdft5w.js} +5 -5
- package/dist/chunks/{quick-search-a83fhnsh.js → quick-search-9avyc4pc.js} +13 -13
- package/dist/chunks/{right-panel-hrw5kdh5.js → right-panel-kcnhtc5j.js} +9 -9
- package/dist/chunks/{studio-4m39t01b.js → studio-0b6fs05q.js} +5 -5
- package/dist/chunks/{studio-gqpbrrj5.js → studio-26sv44br.js} +8 -8
- package/dist/chunks/{studio-d1f2rqxh.js → studio-28xc8ws4.js} +4 -4
- package/dist/chunks/{studio-675v08qj.js → studio-aweyr4v1.js} +2 -2
- package/dist/chunks/{studio-0svvdm0a.js → studio-cz2j1c0g.js} +4 -4
- package/dist/chunks/{studio-qymkxbcq.js → studio-dgj7gq44.js} +3 -3
- package/dist/chunks/{studio-rkr6pm84.js → studio-ef8t53vc.js} +3 -3
- package/dist/chunks/{studio-1d6bm7eg.js → studio-f5yyvqxv.js} +7 -7
- package/dist/chunks/{studio-rz861p2b.js → studio-hb7c46jy.js} +5 -5
- package/dist/chunks/{studio-gfzyxa0m.js → studio-hyn3vhwr.js} +5 -5
- package/dist/chunks/{studio-9sxn0eaa.js → studio-jnakhg87.js} +4 -4
- package/dist/chunks/{studio-tdt7b6qb.js → studio-ke244pam.js} +6 -6
- package/dist/chunks/{studio-h6553a8h.js → studio-pyrw8h0w.js} +9 -7
- package/dist/chunks/{studio-kfq9ed73.js → studio-ra7ar50f.js} +3 -3
- package/dist/chunks/{studio-40fm3hyr.js → studio-rqemfhz6.js} +2 -2
- package/dist/chunks/{studio-91sdrn9x.js → studio-sccge2wf.js} +2 -2
- package/dist/chunks/{studio-n9k15qdg.js → studio-v1va0vhd.js} +8 -8
- package/dist/chunks/{studio-jand3kjg.js → studio-v2c5pmjj.js} +10 -10
- package/dist/chunks/{studio-qb6vy1z1.js → studio-ws6ef6js.js} +8 -8
- package/dist/iframe-entry.js +35 -3
- package/dist/studio.js +31 -31
- package/package.json +2 -2
- package/src/canvas/canvas-origin.ts +14 -2
- package/src/canvas/iframe-inline-edit.ts +79 -25
- package/src/types.ts +3 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderForm,
|
|
3
3
|
resolveContextPointer
|
|
4
|
-
} from "./studio-
|
|
4
|
+
} from "./studio-ef8t53vc.js";
|
|
5
5
|
import {
|
|
6
6
|
validateProjectConfig
|
|
7
7
|
} from "./studio-6kv3apa9.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveSecretEnvName
|
|
10
|
-
} from "./studio-
|
|
10
|
+
} from "./studio-0b6fs05q.js";
|
|
11
11
|
import {
|
|
12
12
|
paneOfContainer
|
|
13
|
-
} from "./studio-
|
|
13
|
+
} from "./studio-pyrw8h0w.js";
|
|
14
14
|
import {
|
|
15
15
|
commitProjectConfig,
|
|
16
16
|
errorMessage,
|
|
17
17
|
notify,
|
|
18
18
|
paneRegion
|
|
19
|
-
} from "./studio-
|
|
19
|
+
} from "./studio-ra7ar50f.js";
|
|
20
20
|
import {
|
|
21
21
|
html,
|
|
22
22
|
nothing,
|
|
@@ -332,4 +332,4 @@ function renderMapLayout(contribution, opts, rerender, paneId) {
|
|
|
332
332
|
export { selectContributedEntry, renderContributedSection };
|
|
333
333
|
|
|
334
334
|
//# debugId=C8B3D1846143F4B964756E2164756E21
|
|
335
|
-
//# sourceMappingURL=studio-
|
|
335
|
+
//# sourceMappingURL=studio-hb7c46jy.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseMediaEntries,
|
|
3
3
|
schemeOfQuery
|
|
4
|
-
} from "./studio-
|
|
4
|
+
} from "./studio-v1va0vhd.js";
|
|
5
5
|
import {
|
|
6
6
|
live
|
|
7
7
|
} from "./studio-c31yb4t6.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
panToStylebookTag,
|
|
12
12
|
serializeJxPath,
|
|
13
13
|
tabOfPane
|
|
14
|
-
} from "./studio-
|
|
14
|
+
} from "./studio-pyrw8h0w.js";
|
|
15
15
|
import {
|
|
16
16
|
activeTab,
|
|
17
17
|
getEffectiveMedia,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
isSpliceablePath,
|
|
20
20
|
shell,
|
|
21
21
|
varDisplayName
|
|
22
|
-
} from "./studio-
|
|
22
|
+
} from "./studio-ra7ar50f.js";
|
|
23
23
|
import {
|
|
24
24
|
classMap
|
|
25
25
|
} from "./studio-twsafr1e.js";
|
|
@@ -860,7 +860,7 @@ function defaultCommands(deps) {
|
|
|
860
860
|
description: "Turn the selected element into a repeater template, rendering it once per item of a " + "data collection the author picks in the dialog this opens."
|
|
861
861
|
},
|
|
862
862
|
run: () => {
|
|
863
|
-
import("./convert-to-repeater-
|
|
863
|
+
import("./convert-to-repeater-k10dvcc7.js").then(({ convertToRepeater }) => convertToRepeater());
|
|
864
864
|
}
|
|
865
865
|
},
|
|
866
866
|
{
|
|
@@ -1065,4 +1065,4 @@ function inspectorFocusCommands(deps) {
|
|
|
1065
1065
|
export { transposeStylebookStyle, tokenLabel, groupTokens, listTokenContexts, readTokenOverride, writeTokenOverride, addableContexts, stylebook_meta_default, renderStylebookMode, selectStylebookTag, INSPECTOR_TABS, noopCommandDeps, defaultCommands };
|
|
1066
1066
|
|
|
1067
1067
|
//# debugId=46ED955C46B01FC864756E2164756E21
|
|
1068
|
-
//# sourceMappingURL=studio-
|
|
1068
|
+
//# sourceMappingURL=studio-hyn3vhwr.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
getRecentProjects,
|
|
4
4
|
openFileInTab,
|
|
5
5
|
trackRecentFile
|
|
6
|
-
} from "./studio-
|
|
6
|
+
} from "./studio-v2c5pmjj.js";
|
|
7
7
|
import {
|
|
8
8
|
live
|
|
9
9
|
} from "./studio-c31yb4t6.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
activeRegistry,
|
|
12
12
|
activeTab,
|
|
13
13
|
getLayerSlot
|
|
14
|
-
} from "./studio-
|
|
14
|
+
} from "./studio-ra7ar50f.js";
|
|
15
15
|
import {
|
|
16
16
|
classMap
|
|
17
17
|
} from "./studio-twsafr1e.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
documentExtensions,
|
|
33
33
|
formatByExtension,
|
|
34
34
|
loadFormats
|
|
35
|
-
} from "./studio-
|
|
35
|
+
} from "./studio-rqemfhz6.js";
|
|
36
36
|
import {
|
|
37
37
|
getPlatform
|
|
38
38
|
} from "./studio-sas7mt3k.js";
|
|
@@ -656,4 +656,4 @@ function renderOverlay() {
|
|
|
656
656
|
export { PALETTE_MODES, modeSpec, resolvePaletteMode, fuzzyScore, rankBy, paletteArgs, getRecentCommands, initQuickSearch, openQuickSearch, closeQuickSearch, isQuickSearchOpen };
|
|
657
657
|
|
|
658
658
|
//# debugId=D01DE0145FC9DB1664756E2164756E21
|
|
659
|
-
//# sourceMappingURL=studio-
|
|
659
|
+
//# sourceMappingURL=studio-jnakhg87.js.map
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
activityIdleBlockers,
|
|
9
9
|
beginActivity,
|
|
10
10
|
showProgressModal
|
|
11
|
-
} from "./studio-
|
|
11
|
+
} from "./studio-28xc8ws4.js";
|
|
12
12
|
import {
|
|
13
13
|
canvasIdleBlockers,
|
|
14
14
|
canvasPointAt,
|
|
15
15
|
registerPanel,
|
|
16
16
|
renderEmptyState,
|
|
17
17
|
revealCanvasPath
|
|
18
|
-
} from "./studio-
|
|
18
|
+
} from "./studio-pyrw8h0w.js";
|
|
19
19
|
import {
|
|
20
20
|
activeTab,
|
|
21
21
|
collabState,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
showConfirmDialog,
|
|
29
29
|
showDialog,
|
|
30
30
|
showPromptDialog
|
|
31
|
-
} from "./studio-
|
|
31
|
+
} from "./studio-ra7ar50f.js";
|
|
32
32
|
import {
|
|
33
33
|
ref,
|
|
34
34
|
repeat
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
} from "./studio-cjm7fdjf.js";
|
|
47
47
|
import {
|
|
48
48
|
formatForPath
|
|
49
|
-
} from "./studio-
|
|
49
|
+
} from "./studio-rqemfhz6.js";
|
|
50
50
|
import {
|
|
51
51
|
getPlatform,
|
|
52
52
|
hasPlatform,
|
|
@@ -346,7 +346,7 @@ async function createGithubRepository({ projectName }) {
|
|
|
346
346
|
});
|
|
347
347
|
return false;
|
|
348
348
|
}
|
|
349
|
-
const { refreshGitStatus } = await import("./git-panel-
|
|
349
|
+
const { refreshGitStatus } = await import("./git-panel-2dh1aw50.js");
|
|
350
350
|
await refreshGitStatus();
|
|
351
351
|
activity.done(repo.html_url);
|
|
352
352
|
notify.success(`Repository created: ${repo.html_url}`, { key: "github.repo" });
|
|
@@ -1784,4 +1784,4 @@ function registerGitPanel() {
|
|
|
1784
1784
|
export { hydrateProjectList, getProjectList, shouldInstallAutomation, installAutomationHook, stripRange, isComparable, isUpgrade, maybePromptJxsuiteUpdate, autoSyncProjectOnOpen, githubTokenStored, githubTokenLocation, clearGithubToken, refreshGitStatus, cloneRepository, platformSupportsClone, readGitDiff, loadDiffForLens, initRepository, pushCurrentBranch, signInToGithub, renderGitPanel, relativeDate, sourceControlCommands, registerSourceControlCommands, cleanupGitPanel, registerGitPanel };
|
|
1785
1785
|
|
|
1786
1786
|
//# debugId=6DB34F497D8C14B864756E2164756E21
|
|
1787
|
-
//# sourceMappingURL=studio-
|
|
1787
|
+
//# sourceMappingURL=studio-ke244pam.js.map
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
transactDoc,
|
|
52
52
|
view,
|
|
53
53
|
workspace
|
|
54
|
-
} from "./studio-
|
|
54
|
+
} from "./studio-ra7ar50f.js";
|
|
55
55
|
import {
|
|
56
56
|
classMap,
|
|
57
57
|
ifDefined,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
import {
|
|
107
107
|
formatByName,
|
|
108
108
|
loadExtensions
|
|
109
|
-
} from "./studio-
|
|
109
|
+
} from "./studio-rqemfhz6.js";
|
|
110
110
|
import {
|
|
111
111
|
getPlatform,
|
|
112
112
|
hasPlatform
|
|
@@ -4656,12 +4656,14 @@ function canvasBaseOrigin() {
|
|
|
4656
4656
|
return location.origin;
|
|
4657
4657
|
}
|
|
4658
4658
|
function documentBase(projectRoot) {
|
|
4659
|
+
const origin = canvasBaseOrigin();
|
|
4659
4660
|
const declared = hasPlatform() ? getPlatform().documentBaseUrl : undefined;
|
|
4660
4661
|
if (declared) {
|
|
4661
|
-
|
|
4662
|
+
const withSlash = declared.endsWith("/") ? declared : `${declared}/`;
|
|
4663
|
+
return new URL(withSlash, `${origin}/`).href;
|
|
4662
4664
|
}
|
|
4663
4665
|
const root = projectRoot || "";
|
|
4664
|
-
return `${
|
|
4666
|
+
return `${origin}/${root ? `${root}/` : ""}`;
|
|
4665
4667
|
}
|
|
4666
4668
|
function loopbackAssetSrc(path) {
|
|
4667
4669
|
if (path.startsWith("data:") || path.startsWith("blob:") || path.startsWith("http") || path.startsWith("views://")) {
|
|
@@ -7611,7 +7613,7 @@ function openPageAction(label = "Open a page…") {
|
|
|
7611
7613
|
return {
|
|
7612
7614
|
label,
|
|
7613
7615
|
run: () => {
|
|
7614
|
-
import("./quick-search-
|
|
7616
|
+
import("./quick-search-9avyc4pc.js").then((m) => {
|
|
7615
7617
|
m.openQuickSearch();
|
|
7616
7618
|
});
|
|
7617
7619
|
}
|
|
@@ -7883,5 +7885,5 @@ function railPanelSet() {
|
|
|
7883
7885
|
|
|
7884
7886
|
export { KEY_SCOPES, CATEGORIES, checkRecordPlacements, intlHelpersClause, PURE_METHOD_OPS, BLESSED_OPERATORS, BLESSED_GLOBALS, isMutating, evaluateExpression, rectOf, loopbackAssetSrc, getPreviewNavigateHandler, activeCanvasSurface, tabOfPane, derivationOfPane, surfacesShowingTab, canvasModeOfTab, canvasModeOfPane, activeMediaOfPane, paneOfContainer, tabOfContainer, dynamicRouteParams, documentUrlPattern, pagePathsDef, invalidateParamValues, loadParamValues, isComponentDoc, componentPropEntries, contentMountFor, previewAssetSrc, SPAN_FULL_RENDER, SPAN_MOUNT_CANVAS, SPAN_PATCH_BATCH, canvasPerf, recordEscalation, timeSpan, timeSpanAsync, mediaDisplayName, defaultDef, parentCursorToIframe, serializeJxPath, elements_meta_default, getInlineActions, isInlineElement, isEditing, bubbleInlinePath, stageZoom, canvasPanelTemplate, observeCenterUntilStable, applyTransform, applyEditZoom, setEditZoom, requestEditZoom, fitToScreen, getFit, setFit, markExplicitZoom, setUserZoom, fitOnCanvasEntry, resetZoom, panToElement, canvasBaseViewsFor, canvasBaseViewOf, previewStateOf, setCanvasView, registerCanvasViewCommands, updateActivePanelHeaders, setDragGhost, moveDragGhost, clearDragGhost, disableNativeDragPreview, attachInstruction, extractInstruction, hasElement, enableElement, disableElement, removePackageElements, removeElementRef, setSkipServerFunctions, runScoped, buildScope, renderNode, pureSchemeOf, renderComponentPreview, registerLayersDnD, registerComponentsDnD, registerElementsDnD, applyDropInstruction, sawIframeDragOver, allowAutoRequestsOnNextRender, requestCanvasEval, flushCanvasEdits, liveDragHostAt, beginDragSession, currentDragSession, hostDragGeometry, canvasIdleBlockers, canvasPointAt, revealCanvasPath, adoptCanvasPreviewMode, postDragMessage, endDragSession, clearDropIndicator, setNativeDragEnterHandler, setInsertZoneClickHandler, setFileDropHandler, setCanvasSlashHandler, setCanvasContextMenuHandler, setStylebookHitHandler, isCaretActive, setToolbarRefresh, setCanvasPointerDownHandler, setIframePatchEscalation, postPatchToHosts, dragHostTab, releaseCanvasHosts, mountIframeCanvas, mountStylebookCanvas, postColorSchemeToLiveHosts, postLocaleToLiveHosts, postSiteStyleToLiveHosts, postStyleUpdateToStylebookHosts, panToStylebookTag, getEditSnapshot, setKeymapSource, postApplyFormat, postOpenSlash, commitActiveEditSession, getEditBarAnchorRect, clickAnythingTo, staleSelectionMessage, openPageAction, renderEmptyState, panelContext, registerPanel, getPanel, listPanels, isPanelVisible, railGroups, railPanelSet };
|
|
7885
7887
|
|
|
7886
|
-
//# debugId=
|
|
7887
|
-
//# sourceMappingURL=studio-
|
|
7888
|
+
//# debugId=CD43D5D53F29ABBB64756E2164756E21
|
|
7889
|
+
//# sourceMappingURL=studio-pyrw8h0w.js.map
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
formatByName,
|
|
27
27
|
formatForPath,
|
|
28
28
|
loadedMonaco
|
|
29
|
-
} from "./studio-
|
|
29
|
+
} from "./studio-rqemfhz6.js";
|
|
30
30
|
import {
|
|
31
31
|
getPlatform
|
|
32
32
|
} from "./studio-sas7mt3k.js";
|
|
@@ -6443,7 +6443,7 @@ function extensionsKey(config) {
|
|
|
6443
6443
|
return JSON.stringify(config.extensions ?? null);
|
|
6444
6444
|
}
|
|
6445
6445
|
async function refreshExtensionSurfaces() {
|
|
6446
|
-
const { loadFormats, refreshExtensionUi, refreshFormats } = await import("./format-host-
|
|
6446
|
+
const { loadFormats, refreshExtensionUi, refreshFormats } = await import("./format-host-wewba4nq.js");
|
|
6447
6447
|
refreshFormats();
|
|
6448
6448
|
loadFormats();
|
|
6449
6449
|
refreshExtensionUi(getPlatform());
|
|
@@ -6679,4 +6679,4 @@ async function updateSiteConfig(patch) {
|
|
|
6679
6679
|
export { errorMessage, LANGUAGE_TAG_PATTERN, canonicalizeLocale, isWellFormedLocale, localeDirection, localeLabel, resolveI18n, localeOfPath, servedLocaleOfPath, translationKeyOfPath, translationPathFor, EDITOR_KIND_LABELS, editorKindForMode, canvasViewForMode, inCanvas, hasSelection, hasElementSelection, emptyContext, makeContext, keyScopeStack, effectScope, onScopeDispose, effect, onEffectCleanup, reactive, toRaw, isRef, ref2 as ref, shallowRef, computed, now, problems, notify, dismiss, clearProblems, problemCount, view, STAGE_CLASS, nextRenderGeneration, surfaceForPane, allCanvasSurfaces, stageContaining, registerCanvasSurface, createPaneSurface, setSurfaceTeardown, disposePaneSurface, BUFFER_COMMIT, bufferWrites, commitBufferWrites, cancelBufferWrites, bufferIsLive, bufferMovedOn, commitTabBuffers, tabBufferUnsaved, PROJECT_CONFIG_PATH, editorKindOf, editorKindsOf, modeForEditorKind, primarySelection, selectionAnchor, isSelected, cloneSelection, toggleSelected, rangeSelection, isSpliceablePath, structuralBatch, uniquePaths, unifyValues, setPatchConsumer, recordDocOp, transactDoc, transact, beginBatch, endBatch2 as endBatch, isBatching, batchTab, setHistoryDelegate, canUndo, canRedo, undo, redo, mutateInsertNode, mutateRemoveNode, mutateDuplicateNode, mutateRemoveNodes, mutateDuplicateNodes, mutateWrapNode, mutateMoveNode, mutateUpdateProperty, mutateUpdateStyle, mutateUpdateAttribute, mutateUpdateMediaStyle, mutateUpdateNestedStyle, mutateUpdateMediaNestedStyle, mutateUpdateNestedStylePath, mutateUpdateMediaNestedStylePath, mutateReplaceStyle, mutateAddDef, mutateRemoveDef, mutateUpdateDef, mutateRenameDef, mutateUpdateProp, mutateAddSwitchCase, mutateRemoveSwitchCase, mutateRenameSwitchCase, mutateUpdateFrontmatter, serializeProjectConfig, commitProjectConfig, adoptProjectConfig, REGION_ATTR, resolveRegion, REGION_FOR_FOCUS, paneRegion, paneStripRegion, navigatorPanelRegion, inspectorTabRegion, NAVIGATOR_STATEMENTS_REGION, inspectorStatementsRegion, bottomPanelRegion, overlayRegion, setActiveRegistry, activeRegistry, initLayers, isModalOpen, showDialog, showConfirmDialog, showSaveDiscardDialog, showPromptDialog, openModal, renderPopover, popoverLayerFor, getLayerSlot, overlayIdleBlockers, getEffectiveMedia, getEffectiveStyle, getEffectiveImports, getEffectiveElements, getEffectiveHead, getEffectiveLocales, invalidateLayoutCache, getEffectiveLayoutPath, resolveLayoutDoc, distributePageIntoLayout, updateSiteConfig, collabState, isCollabPath, stringArg, optionalStringArg, boundedNumberArg, booleanArg, enumArg, pathArg, nullablePathArg, pathListArg, argsSchema, enumProperty, numberProperty, booleanProperty, pathProperty, pathListProperty, stringProperty, restoreSession, camelToKebab, camelToLabel, toCamelCase, kebabToLabel, propLabel, attrLabel, abbreviateValue, inferInputType, findContentTypeSchema, friendlyNameToVar, varDisplayName, parseCemType, jsonClone, configureCollabSerializer, configureCollabParser, configureCollabNotifier, collabSourceContext, collabReadOnly, collabSave, flushAllCollab, setCollabEnabled, isCollabEnabled, PRIMARY_PANE, workspace, activeTab, activePane, paneById, paneOfTab, focusPane, isPaneFocused, sidePane, receivingPane, detachTab, insertIntoPane, setWorkspaceProject, isTabActive, tabIsLive, openTab, promoteTab, promoteDirtyPreviewTabs, setTabPinned, moveTab, closeTab, closeAllTabs, replaceAllTabs, activateTab, moveTabToPane, renameTab, registerTabCommands, 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 };
|
|
6680
6680
|
|
|
6681
6681
|
//# debugId=BC232D1D1532287464756E2164756E21
|
|
6682
|
-
//# sourceMappingURL=studio-
|
|
6682
|
+
//# sourceMappingURL=studio-ra7ar50f.js.map
|
|
@@ -110,7 +110,7 @@ async function shareProjectSchemas(platform) {
|
|
|
110
110
|
}
|
|
111
111
|
function refreshExtensionUi(platform) {
|
|
112
112
|
shareProjectSchemas(platform);
|
|
113
|
-
import("./extension-sections-
|
|
113
|
+
import("./extension-sections-0ada0xcw.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-rqemfhz6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rectOf
|
|
3
|
-
} from "./studio-
|
|
3
|
+
} from "./studio-pyrw8h0w.js";
|
|
4
4
|
|
|
5
5
|
// src/ui/virtual-window.ts
|
|
6
6
|
var DEFAULT_OVERSCAN_ROWS = 3;
|
|
@@ -163,4 +163,4 @@ function watchListWindow(previous, list, spec) {
|
|
|
163
163
|
export { computeWindow, listWindow, revealListRow, measuredRowHeight, watchListWindow };
|
|
164
164
|
|
|
165
165
|
//# debugId=4C38350338F9781B64756E2164756E21
|
|
166
|
-
//# sourceMappingURL=studio-
|
|
166
|
+
//# sourceMappingURL=studio-sccge2wf.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
renderOperandEditor,
|
|
20
20
|
resolveContextPointer,
|
|
21
21
|
slotMode
|
|
22
|
-
} from "./studio-
|
|
22
|
+
} from "./studio-ef8t53vc.js";
|
|
23
23
|
import {
|
|
24
24
|
live
|
|
25
25
|
} from "./studio-c31yb4t6.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
uploadAssets,
|
|
44
44
|
usageFiles,
|
|
45
45
|
usageHeadline
|
|
46
|
-
} from "./studio-
|
|
46
|
+
} from "./studio-cz2j1c0g.js";
|
|
47
47
|
import {
|
|
48
48
|
attachInstruction,
|
|
49
49
|
canvasModeOfTab,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
requestCanvasEval,
|
|
65
65
|
staleSelectionMessage,
|
|
66
66
|
tabOfPane
|
|
67
|
-
} from "./studio-
|
|
67
|
+
} from "./studio-pyrw8h0w.js";
|
|
68
68
|
import {
|
|
69
69
|
BUFFER_COMMIT,
|
|
70
70
|
NAVIGATOR_STATEMENTS_REGION,
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
varDisplayName,
|
|
130
130
|
view,
|
|
131
131
|
workspace
|
|
132
|
-
} from "./studio-
|
|
132
|
+
} from "./studio-ra7ar50f.js";
|
|
133
133
|
import {
|
|
134
134
|
classMap,
|
|
135
135
|
ifDefined
|
|
@@ -172,7 +172,7 @@ import {
|
|
|
172
172
|
loadExtensions,
|
|
173
173
|
loadMonaco,
|
|
174
174
|
mountStillWanted
|
|
175
|
-
} from "./studio-
|
|
175
|
+
} from "./studio-rqemfhz6.js";
|
|
176
176
|
import {
|
|
177
177
|
getPlatform
|
|
178
178
|
} from "./studio-sas7mt3k.js";
|
|
@@ -5128,10 +5128,10 @@ function renderUsagesSection(tagName, componentPath) {
|
|
|
5128
5128
|
`;
|
|
5129
5129
|
}
|
|
5130
5130
|
function openUsage(path) {
|
|
5131
|
-
import("./files-
|
|
5131
|
+
import("./files-yew27sn9.js").then((m) => m.openFileInTab(path));
|
|
5132
5132
|
}
|
|
5133
5133
|
function showLogicTab() {
|
|
5134
|
-
import("./right-panel-
|
|
5134
|
+
import("./right-panel-kcnhtc5j.js").then((m) => m.setInspectorTab("events"));
|
|
5135
5135
|
}
|
|
5136
5136
|
function renderPropertiesPanelTemplate(ctx) {
|
|
5137
5137
|
const tab = activeTab.value;
|
|
@@ -7000,4 +7000,4 @@ function registerSignalsCommands(registry) {
|
|
|
7000
7000
|
export { isSchemeQuery, schemeOfQuery, parseMediaEntries, DERIVE_PRESETS, PRESET_LABELS, declaredMedia, installDerivationEffects, presetRefusal, deriveRefusal, pinRefusal, derivationCommands, invalidateMediaCache, renderMediaPicker, spTextField, spTextArea, spNumberField, unwrapSignal, dataTypeLabel, registerDataExplorerCommands, registerDataPanel, livePreviewExpression, closeFunctionEditor, logicTarget, revealLogicPanel, openLogicTarget, registerLogicPanel, registerFormulaEditorCommands, JxColorPopover, isColorPopoverOpen, css_meta_default, initCssData, getCssInitialMap, allConditionsPass, autoOpenSections, getLonghands, expandShorthand, compressShorthand, expandBorderSide, compressBorderSide, widgetForType2 as widgetForType, renderStatementEditor, mapSignalsFor, bindableSignalNames, defaultAsString, invalidatePageRouteCache, renderPropertiesPanelTemplate, isInspectorSectionOpen, setInspectorSection, inspectorCommands, registerInspectorCommands, defCategory, defBadgeLabel, isCustomElementDoc, collectCssParts, renderSignalsTemplate, registerSignalsCommands };
|
|
7001
7001
|
|
|
7002
7002
|
//# debugId=9BF36A7266D05ECB64756E2164756E21
|
|
7003
|
-
//# sourceMappingURL=studio-
|
|
7003
|
+
//# sourceMappingURL=studio-v1va0vhd.js.map
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
measuredRowHeight,
|
|
4
4
|
revealListRow,
|
|
5
5
|
watchListWindow
|
|
6
|
-
} from "./studio-
|
|
6
|
+
} from "./studio-sccge2wf.js";
|
|
7
7
|
import {
|
|
8
8
|
autoSyncProjectOnOpen,
|
|
9
9
|
cleanupGitPanel,
|
|
10
10
|
maybePromptJxsuiteUpdate,
|
|
11
11
|
shouldInstallAutomation
|
|
12
|
-
} from "./studio-
|
|
12
|
+
} from "./studio-ke244pam.js";
|
|
13
13
|
import {
|
|
14
14
|
openCsvGridTab,
|
|
15
15
|
openPagesGrid
|
|
16
|
-
} from "./studio-
|
|
16
|
+
} from "./studio-0b6fs05q.js";
|
|
17
17
|
import {
|
|
18
18
|
collectionDirs,
|
|
19
19
|
collectionInfo,
|
|
@@ -21,20 +21,20 @@ import {
|
|
|
21
21
|
markLocalMutation,
|
|
22
22
|
parseSourceForPath,
|
|
23
23
|
renamePromptMessage
|
|
24
|
-
} from "./studio-
|
|
24
|
+
} from "./studio-26sv44br.js";
|
|
25
25
|
import {
|
|
26
26
|
UPLOAD_ACCEPT,
|
|
27
27
|
invalidateUsages,
|
|
28
28
|
isImage,
|
|
29
29
|
uploadAssets
|
|
30
|
-
} from "./studio-
|
|
30
|
+
} from "./studio-cz2j1c0g.js";
|
|
31
31
|
import {
|
|
32
32
|
showProgressModal
|
|
33
|
-
} from "./studio-
|
|
33
|
+
} from "./studio-28xc8ws4.js";
|
|
34
34
|
import {
|
|
35
35
|
rectOf,
|
|
36
36
|
registerPanel
|
|
37
|
-
} from "./studio-
|
|
37
|
+
} from "./studio-pyrw8h0w.js";
|
|
38
38
|
import {
|
|
39
39
|
activateTab,
|
|
40
40
|
activeRegistry,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
setWorkspaceProject,
|
|
62
62
|
showPromptDialog,
|
|
63
63
|
workspace
|
|
64
|
-
} from "./studio-
|
|
64
|
+
} from "./studio-ra7ar50f.js";
|
|
65
65
|
import {
|
|
66
66
|
classMap
|
|
67
67
|
} from "./studio-twsafr1e.js";
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
noFormatError,
|
|
95
95
|
refreshExtensionUi,
|
|
96
96
|
refreshFormats
|
|
97
|
-
} from "./studio-
|
|
97
|
+
} from "./studio-rqemfhz6.js";
|
|
98
98
|
import {
|
|
99
99
|
getPlatform,
|
|
100
100
|
hasPlatform
|
|
@@ -1468,4 +1468,4 @@ function registerFilesPanel() {
|
|
|
1468
1468
|
export { ensureDependenciesInstalled, entryCollection, entryCollections, collectionOfPath, seedEntry, missingRequired, hydrateRecentProjects, getRecentProjects, addRecentProject, removeRecentProject, clearRecentProjects, getRecentFiles, trackRecentFile, loadDirectory, loadProject, openProject, initProjectRepo, findHomePage, openHomePage, openLastSessionOrHome, renderFilesTemplate, FILE_ROW_HEIGHT, isFileDrag, uploadFilesToDir, pickAndUploadTo, registerFileTreeDnD, createFileIn, openFileInTab, openFileInPane, reloadCleanTab, reloadFileInTab, registerFilesPanel };
|
|
1469
1469
|
|
|
1470
1470
|
//# debugId=AF54EB1634A6A49164756E2164756E21
|
|
1471
|
-
//# sourceMappingURL=studio-
|
|
1471
|
+
//# sourceMappingURL=studio-v2c5pmjj.js.map
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
noopCommandDeps,
|
|
4
4
|
selectStylebookTag,
|
|
5
5
|
stylebook_meta_default
|
|
6
|
-
} from "./studio-
|
|
6
|
+
} from "./studio-hyn3vhwr.js";
|
|
7
7
|
import {
|
|
8
8
|
dataTypeLabel,
|
|
9
9
|
defCategory,
|
|
10
10
|
inspectorCommands,
|
|
11
11
|
unwrapSignal
|
|
12
|
-
} from "./studio-
|
|
12
|
+
} from "./studio-v1va0vhd.js";
|
|
13
13
|
import {
|
|
14
14
|
listWindow,
|
|
15
15
|
measuredRowHeight,
|
|
16
16
|
revealListRow,
|
|
17
17
|
watchListWindow
|
|
18
|
-
} from "./studio-
|
|
18
|
+
} from "./studio-sccge2wf.js";
|
|
19
19
|
import {
|
|
20
20
|
VFile,
|
|
21
21
|
VFileMessage,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./studio-bw5dz6km.js";
|
|
28
28
|
import {
|
|
29
29
|
usagesSupported
|
|
30
|
-
} from "./studio-
|
|
30
|
+
} from "./studio-cz2j1c0g.js";
|
|
31
31
|
import {
|
|
32
32
|
KEY_SCOPES,
|
|
33
33
|
activeCanvasSurface,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
rectOf,
|
|
44
44
|
registerPanel,
|
|
45
45
|
renderEmptyState
|
|
46
|
-
} from "./studio-
|
|
46
|
+
} from "./studio-pyrw8h0w.js";
|
|
47
47
|
import {
|
|
48
48
|
activeRegistry,
|
|
49
49
|
activeTab,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
transactDoc,
|
|
82
82
|
view,
|
|
83
83
|
workspace
|
|
84
|
-
} from "./studio-
|
|
84
|
+
} from "./studio-ra7ar50f.js";
|
|
85
85
|
import {
|
|
86
86
|
classMap,
|
|
87
87
|
ifDefined,
|
|
@@ -14172,7 +14172,7 @@ function elementCommands(deps) {
|
|
|
14172
14172
|
if (!target?.rerender) {
|
|
14173
14173
|
return;
|
|
14174
14174
|
}
|
|
14175
|
-
const { startLayerTitleEdit } = await import("./layers-panel-
|
|
14175
|
+
const { startLayerTitleEdit } = await import("./layers-panel-qnsghwwd.js");
|
|
14176
14176
|
startLayerTitleEdit(target.path, target.rerender);
|
|
14177
14177
|
}
|
|
14178
14178
|
}
|
|
@@ -15173,4 +15173,4 @@ function registerLayersPanel() {
|
|
|
15173
15173
|
export { findEnclosingRepeater, convertToComponent, showSlashMenu, showSlashMenuAtRect, dismissSlashMenu, handleSlashMenuKey, parseChord, normalizeChord, chordFromEvent, formatChord, overlappingScopes, chordsInScopes, CommandUnavailableError, createCommandRegistry, initBlockActionBar, formatCommands, registerSelectionCommands, dismissLinkPopover, dismissBlockActionBar, suppressBlockActionBar, releaseBlockActionBar, isEditChromeTarget, renderBlockActionBar, outlineLabel, OUTLINE_ROW_MAX_ITEMS, renderRowCommands, clearHoverActions, onTreeHover, afterTreeRender, indentWidth, OUTLINE_ROW_HEIGHT, outlineRowPath, applyTreeRovingTabindex, applyRowSelection, onTreeKeydown, startLayerTitleEdit, renderLayersTemplate, registerLayersPanel, pasteNode, clipboardCommands, setContextMenuNavigate, liveElementCommands, dismissContextMenu, showContextMenu };
|
|
15174
15174
|
|
|
15175
15175
|
//# debugId=5DE335A028CC7DD364756E2164756E21
|
|
15176
|
-
//# sourceMappingURL=studio-
|
|
15176
|
+
//# sourceMappingURL=studio-ws6ef6js.js.map
|
package/dist/iframe-entry.js
CHANGED
|
@@ -6664,6 +6664,39 @@ function ownerInstanceOf(el) {
|
|
|
6664
6664
|
}
|
|
6665
6665
|
return null;
|
|
6666
6666
|
}
|
|
6667
|
+
function deliveredOutsideProps(node, prop) {
|
|
6668
|
+
if (!node) {
|
|
6669
|
+
return false;
|
|
6670
|
+
}
|
|
6671
|
+
const attrs = node.attributes;
|
|
6672
|
+
if (attrs) {
|
|
6673
|
+
if (attrs[`props.${prop}`] !== undefined) {
|
|
6674
|
+
return true;
|
|
6675
|
+
}
|
|
6676
|
+
const reflected = new Set([prop.toLowerCase(), camelToKebab(prop).toLowerCase()]);
|
|
6677
|
+
for (const [name, val] of Object.entries(attrs)) {
|
|
6678
|
+
if (val !== undefined && reflected.has(name.toLowerCase())) {
|
|
6679
|
+
return true;
|
|
6680
|
+
}
|
|
6681
|
+
}
|
|
6682
|
+
const payload = attrs["data-jx-props"];
|
|
6683
|
+
if (typeof payload === "string" && payloadNames(payload, prop)) {
|
|
6684
|
+
return true;
|
|
6685
|
+
}
|
|
6686
|
+
}
|
|
6687
|
+
if (RESERVED_KEYS.has(prop) || prop.startsWith("$")) {
|
|
6688
|
+
return false;
|
|
6689
|
+
}
|
|
6690
|
+
return node[prop] !== undefined;
|
|
6691
|
+
}
|
|
6692
|
+
function payloadNames(payload, prop) {
|
|
6693
|
+
try {
|
|
6694
|
+
const parsed = JSON.parse(payload);
|
|
6695
|
+
return typeof parsed === "object" && parsed !== null && prop in parsed;
|
|
6696
|
+
} catch {
|
|
6697
|
+
return false;
|
|
6698
|
+
}
|
|
6699
|
+
}
|
|
6667
6700
|
function elementForPath2(container, path) {
|
|
6668
6701
|
const serialized = serializeJxPath(path);
|
|
6669
6702
|
const esc = serialized.replaceAll("\\", String.raw`\\`).replaceAll("'", String.raw`\'`);
|
|
@@ -6790,8 +6823,7 @@ function startIframeInlineEdit(channel, container, opts) {
|
|
|
6790
6823
|
return true;
|
|
6791
6824
|
}
|
|
6792
6825
|
const node = getNodeAtPath(shadowDoc, hostPath);
|
|
6793
|
-
|
|
6794
|
-
if (attrs?.[`props.${prop}`] !== undefined || attrs?.[prop] !== undefined) {
|
|
6826
|
+
if (deliveredOutsideProps(node, prop)) {
|
|
6795
6827
|
return false;
|
|
6796
6828
|
}
|
|
6797
6829
|
const raw = node?.$props?.[prop];
|
|
@@ -8230,5 +8262,5 @@ export {
|
|
|
8230
8262
|
startCanvasIframe
|
|
8231
8263
|
};
|
|
8232
8264
|
|
|
8233
|
-
//# debugId=
|
|
8265
|
+
//# debugId=2229405F4A023FB664756E2164756E21
|
|
8234
8266
|
//# sourceMappingURL=iframe-entry.js.map
|