@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.
Files changed (117) hide show
  1. package/dist/chunks/{cf-account-picker-qwkm9zrf.js → cf-account-picker-nwnwdm6p.js} +10 -10
  2. package/dist/chunks/{cf-settings-71bv5zn9.js → cf-settings-adg74qsk.js} +4 -4
  3. package/dist/chunks/{components-vj72gqtq.js → components-5y78e05d.js} +4 -4
  4. package/dist/chunks/content-source-4rzvmp0m.js +46 -0
  5. package/dist/chunks/{convert-to-repeater-n64h8znc.js → convert-to-repeater-jxsv62v7.js} +22 -22
  6. package/dist/chunks/entry-commands-1wnsqn5d.js +42 -0
  7. package/dist/chunks/{extension-sections-3hpcambp.js → extension-sections-2mrptyek.js} +27 -27
  8. package/dist/chunks/{file-ops-8yhd83xr.js → file-ops-knfqshrm.js} +22 -22
  9. package/dist/chunks/{files-hnxqxtsg.js → files-y6fr4he9.js} +32 -30
  10. package/dist/chunks/{format-host-779sfp2n.js → format-host-1k4qrcqd.js} +2 -2
  11. package/dist/chunks/{fs-events-b88z7g4h.js → fs-events-3y6y0nrm.js} +4 -4
  12. package/dist/chunks/{git-panel-xwj8fpab.js → git-panel-2rkrsjva.js} +23 -22
  13. package/dist/chunks/grid-view-1p6hsyjx.css +8406 -0
  14. package/dist/chunks/grid-view-a7b87n2c.js +15322 -0
  15. package/dist/chunks/{iframe-host-syr0f9sb.js → iframe-host-scpw01h8.js} +13 -13
  16. package/dist/chunks/{jx-validate-j0wxk72w.js → jx-validate-epp2z3s3.js} +2 -2
  17. package/dist/chunks/{layers-ff81wthn.js → layers-jnvdbqva.js} +5 -5
  18. package/dist/chunks/layers-panel-73gfkcga.js +41 -0
  19. package/dist/chunks/{listbox-6v2ac08j.js → listbox-b7jxnhq1.js} +19 -3
  20. package/dist/chunks/{media-picker-cqhhxhhe.js → media-picker-f66nav16.js} +13 -13
  21. package/dist/chunks/menu-1dfhry4s.js +15 -0
  22. package/dist/chunks/{monaco-buffer-bhy3hb6m.js → monaco-buffer-pykwbm92.js} +3 -3
  23. package/dist/chunks/{monaco-setup-8r62fj6y.js → monaco-setup-km6abc6q.js} +2 -2
  24. package/dist/chunks/{notify-628t0anh.js → notify-42gk8ha1.js} +2 -2
  25. package/dist/chunks/{parse-0zx14y15.js → parse-reg9eevt.js} +2 -2
  26. package/dist/chunks/publish-panel-z1zd2da1.js +27 -0
  27. package/dist/chunks/quick-search-zdv7h8ht.js +47 -0
  28. package/dist/chunks/{references-qvvxej7h.js → references-h69xp9zz.js} +2 -2
  29. package/dist/chunks/right-panel-889vbnm5.js +45 -0
  30. package/dist/chunks/{split-g7nm1rgb.js → split-4cz4b6ef.js} +14 -3
  31. package/dist/chunks/{studio-vfq8qpjt.js → studio-0j7r7s9g.js} +3 -3
  32. package/dist/chunks/{studio-b4s9eykd.js → studio-151w0xnh.js} +15 -15
  33. package/dist/chunks/studio-1tbjfqv4.js +146 -0
  34. package/dist/chunks/{studio-8scdew0e.js → studio-27q131j3.js} +4 -4
  35. package/dist/chunks/{studio-7r42c6ca.js → studio-3ntvq6cg.js} +5 -5
  36. package/dist/chunks/{studio-g3jevyjt.js → studio-4c041r8y.js} +2 -2
  37. package/dist/chunks/{studio-js8nv53n.js → studio-4f3psrk1.js} +14 -14
  38. package/dist/chunks/{studio-pxbgypmg.js → studio-50wfwy44.js} +17 -14
  39. package/dist/chunks/{studio-vw7mzp6z.js → studio-6gryj0sg.js} +5 -5
  40. package/dist/chunks/{studio-e1pgga3k.js → studio-6kvgrkrp.js} +7 -7
  41. package/dist/chunks/{studio-wqz6dggm.js → studio-7144epdr.js} +9 -9
  42. package/dist/chunks/{studio-b0k5tqgp.js → studio-7rrb1esn.js} +32 -28
  43. package/dist/chunks/{studio-38emantv.js → studio-a5h5j33a.js} +19 -5
  44. package/dist/chunks/{studio-3773086z.js → studio-a65w20ex.js} +4 -4
  45. package/dist/chunks/{studio-nzzpvzx9.js → studio-ab87phj1.js} +4 -4
  46. package/dist/chunks/{studio-r6nvacqs.js → studio-b66rsh78.js} +20 -20
  47. package/dist/chunks/{studio-jxp12rnj.js → studio-b7xacrwe.js} +6 -6
  48. package/dist/chunks/{studio-6xa21ej9.js → studio-c04nzbby.js} +2 -2
  49. package/dist/chunks/{studio-try13h8c.js → studio-c0qgc3tn.js} +18 -18
  50. package/dist/chunks/{studio-tqgryxwg.js → studio-cgprcdxn.js} +7 -7
  51. package/dist/chunks/{studio-kkqkcp3d.js → studio-d1n2bykn.js} +40 -13
  52. package/dist/chunks/{studio-p1dw8wfw.js → studio-d8z5bajd.js} +14 -10
  53. package/dist/chunks/{studio-3rz5md06.js → studio-dd1qqkry.js} +6 -6
  54. package/dist/chunks/{studio-1z1kcjv4.js → studio-drg8qj9k.js} +11 -11
  55. package/dist/chunks/{studio-kcgff4r0.js → studio-fgmfksz8.js} +2 -2
  56. package/dist/chunks/{studio-qk90fgqm.js → studio-fzjx96t2.js} +7 -7
  57. package/dist/chunks/{studio-a79k90n9.js → studio-g33v4fe9.js} +17 -16
  58. package/dist/chunks/{studio-k75n7vhp.js → studio-gk2twyh4.js} +74 -36
  59. package/dist/chunks/{studio-syg2tadj.js → studio-gtfq1dkz.js} +3 -3
  60. package/dist/chunks/{studio-1knfqgy7.js → studio-j0w60gft.js} +8 -8
  61. package/dist/chunks/{studio-aj37eer3.js → studio-jt27ta6x.js} +4 -4
  62. package/dist/chunks/{studio-gb13095a.js → studio-ke09tn9k.js} +59 -20
  63. package/dist/chunks/{studio-d0300636.js → studio-ks2zzth2.js} +17 -2
  64. package/dist/chunks/{studio-6ewqv390.js → studio-m1p9b6c3.js} +5 -5
  65. package/dist/chunks/{studio-qk4bfsq2.js → studio-msc1ee1m.js} +4 -4
  66. package/dist/chunks/{studio-93zafjcm.js → studio-nfx354t1.js} +10 -10
  67. package/dist/chunks/{studio-mhhyamxf.js → studio-nsgw7dbk.js} +6 -6
  68. package/dist/chunks/{studio-qhhm6hbt.js → studio-rtskkm43.js} +4 -4
  69. package/dist/chunks/studio-t171hxhe.js +23 -0
  70. package/dist/chunks/{studio-hhvs4sdg.js → studio-vn5hske5.js} +10 -4
  71. package/dist/chunks/{studio-q3x06vmj.js → studio-wnsyffg1.js} +2 -2
  72. package/dist/chunks/{studio-5wt9nvhd.js → studio-xajk70w0.js} +29 -42
  73. package/dist/chunks/{studio-7xnmgv66.js → studio-ye9drbk8.js} +45 -44
  74. package/dist/chunks/{studio-y9zedyjn.js → studio-z2smx5ce.js} +2 -2
  75. package/dist/chunks/{studio-sbjyc8bt.js → studio-ze46gzjh.js} +9 -9
  76. package/dist/chunks/{studio-zdn2g6dt.js → studio-zjjde71a.js} +2 -2
  77. package/dist/chunks/{workspace-t55jdjbx.js → workspace-np10mayv.js} +18 -10
  78. package/dist/iframe-entry.js +9 -5
  79. package/dist/studio.css +1 -2
  80. package/dist/studio.js +910 -15705
  81. package/package.json +10 -10
  82. package/src/files/files.ts +38 -15
  83. package/src/grid/grid-lazy.ts +59 -0
  84. package/src/grid/grid-open.ts +20 -3
  85. package/src/grid/grid-panel.ts +43 -9
  86. package/src/media/media-open.ts +14 -2
  87. package/src/panels/chat-panel.ts +40 -5
  88. package/src/panels/pane-context.ts +5 -4
  89. package/src/panels/pane-grid.ts +100 -10
  90. package/src/panels/tab-drop.ts +220 -0
  91. package/src/panels/tab-strip.ts +235 -30
  92. package/src/services/ai-models.ts +13 -0
  93. package/src/services/module-preloads.ts +67 -0
  94. package/src/studio.ts +16 -6
  95. package/src/surfaces/commandbar.json +26 -16
  96. package/src/surfaces/formula-palette.json +8 -7
  97. package/src/surfaces/formula-palette.ts +10 -6
  98. package/src/surfaces/palette.json +8 -7
  99. package/src/surfaces/pane-grid.json +35 -3
  100. package/src/surfaces/pane-grid.ts +26 -4
  101. package/src/surfaces/tab-strip.json +16 -39
  102. package/src/surfaces/tab-strip.ts +76 -12
  103. package/src/ui/ai-credentials-form.ts +12 -1
  104. package/src/ui/panel-resize.ts +3 -23
  105. package/src/ui/virtual-window.ts +57 -4
  106. package/src/workspace/pane-derive.ts +7 -5
  107. package/src/workspace/session.ts +3 -3
  108. package/src/workspace/workspace.ts +160 -43
  109. package/styles/shell-frame.css +8 -0
  110. package/styles/shell-frame.json +4 -0
  111. package/dist/chunks/content-source-5mex4x1h.js +0 -46
  112. package/dist/chunks/entry-commands-234hjnqw.js +0 -42
  113. package/dist/chunks/layers-panel-pnnghw12.js +0 -40
  114. package/dist/chunks/menu-9p2w46gj.js +0 -15
  115. package/dist/chunks/publish-panel-5zt840sy.js +0 -27
  116. package/dist/chunks/quick-search-3748564r.js +0 -45
  117. package/dist/chunks/right-panel-eccz92qt.js +0 -45
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonObject,
3
- isRef2,
3
+ isRef,
4
4
  isFunctionDef,
5
5
  isExpressionDef,
6
6
  isNamedFormulaDef,
@@ -15,7 +15,7 @@ import {
15
15
  paramNames,
16
16
  isTagExpression,
17
17
  isPrivateStateKey
18
- } from "./studio-7r42c6ca.js";
18
+ } from "./studio-3ntvq6cg.js";
19
19
  import {
20
20
  effectScope,
21
21
  onScopeDispose,
@@ -27,11 +27,11 @@ import {
27
27
  shallowReactive,
28
28
  isReactive,
29
29
  toRaw,
30
- isRef,
30
+ isRef2,
31
31
  ref,
32
32
  shallowRef,
33
33
  computed
34
- } from "./studio-p1dw8wfw.js";
34
+ } from "./studio-d8z5bajd.js";
35
35
  import {
36
36
  __export
37
37
  } from "./studio-5te5tqng.js";
@@ -1063,7 +1063,7 @@ function buildStyleRules(style, options = {}) {
1063
1063
  resolveValue
1064
1064
  } = options;
1065
1065
  const rules = [];
1066
- const isBlock = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && !isRef2(value);
1066
+ const isBlock = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && !isRef(value);
1067
1067
  const blocksOf = (key, value) => {
1068
1068
  if (isBlock(value)) {
1069
1069
  return [value];
@@ -1077,7 +1077,7 @@ function buildStyleRules(style, options = {}) {
1077
1077
  if (value === undefined || value === null) {
1078
1078
  return null;
1079
1079
  }
1080
- if (isRef2(value)) {
1080
+ if (isRef(value)) {
1081
1081
  return reactive ? resolveValue?.(property, value, target) ?? null : null;
1082
1082
  }
1083
1083
  if (typeof value === "object") {
@@ -2369,7 +2369,7 @@ function boundPropKey(key, val, state) {
2369
2369
  return null;
2370
2370
  }
2371
2371
  const stored = toRaw(state)[sub];
2372
- if (isRef(stored) || typeof stored === "function") {
2372
+ if (isRef2(stored) || typeof stored === "function") {
2373
2373
  return null;
2374
2374
  }
2375
2375
  if (typeof stored === "object" && stored !== null) {
@@ -3918,7 +3918,7 @@ function resolveRef(refPath, state) {
3918
3918
  return readPath(state, refPath) ?? null;
3919
3919
  }
3920
3920
  function isRefObj(v) {
3921
- return isRef2(v);
3921
+ return isRef(v);
3922
3922
  }
3923
3923
  function getPath2(obj, path) {
3924
3924
  return readPath(obj, path);
@@ -4577,7 +4577,8 @@ __export(exports_split, {
4577
4577
  onSplitPointerDown: () => onSplitPointerDown,
4578
4578
  onSplitPointerMove: () => onSplitPointerMove,
4579
4579
  onSplitPointerUp: () => onSplitPointerUp,
4580
- splitModifiersOf: () => splitModifiersOf
4580
+ splitModifiersOf: () => splitModifiersOf,
4581
+ trackOf: () => trackOf
4581
4582
  });
4582
4583
  var HOST = "jx-split";
4583
4584
  var EPSILON = 0.000001;
@@ -4624,7 +4625,16 @@ function isVertical(state) {
4624
4625
  function coordOf(vertical, event) {
4625
4626
  return vertical ? event.clientX : event.clientY;
4626
4627
  }
4628
+ var trackCache = new WeakMap;
4627
4629
  function trackOf(host, vertical) {
4630
+ const cached = trackCache.get(host);
4631
+ if (cached && cached.vertical === vertical && cached.element.isConnected && host.isConnected && cached.element.contains(host)) {
4632
+ const box = cached.element.getBoundingClientRect();
4633
+ const length = vertical ? box.width : box.height;
4634
+ if (length > 0) {
4635
+ return length;
4636
+ }
4637
+ }
4628
4638
  for (let node = host.parentElement;node; node = node.parentElement) {
4629
4639
  if (globalThis.getComputedStyle(node).display === "contents") {
4630
4640
  continue;
@@ -4632,6 +4642,7 @@ function trackOf(host, vertical) {
4632
4642
  const box = node.getBoundingClientRect();
4633
4643
  const length = vertical ? box.width : box.height;
4634
4644
  if (length > 0) {
4645
+ trackCache.set(host, { element: node, vertical });
4635
4646
  return length;
4636
4647
  }
4637
4648
  }
@@ -15431,8 +15442,24 @@ function syncListbox(host, active) {
15431
15442
  }
15432
15443
  function mountListbox(state, host) {
15433
15444
  syncListbox(host, String(state.active ?? ""));
15445
+ let frameId = null;
15446
+ const scheduleSync = () => {
15447
+ if (frameId !== null) {
15448
+ return;
15449
+ }
15450
+ frameId = requestAnimationFrame(() => {
15451
+ frameId = null;
15452
+ if (host.isConnected) {
15453
+ syncListbox(host, String(state.active ?? ""));
15454
+ }
15455
+ });
15456
+ };
15434
15457
  const observer = new MutationObserver(() => {
15435
- syncListbox(host, String(state.active ?? ""));
15458
+ if (typeof requestAnimationFrame === "function") {
15459
+ scheduleSync();
15460
+ } else {
15461
+ syncListbox(host, String(state.active ?? ""));
15462
+ }
15436
15463
  });
15437
15464
  observer.observe(host, {
15438
15465
  attributeFilter: ["data-active"],
@@ -17662,7 +17689,7 @@ function registerUi(options = {}) {
17662
17689
  return registration;
17663
17690
  }
17664
17691
 
17665
- export { isKeyframesAtRule, pureSchemeOf, intlHelpersClause, PURE_METHOD_OPS, BLESSED_OPERATORS, BLESSED_GLOBALS, isMutating, evaluateExpression, assetUrlFor, PUBLIC_DIR, BUILD_LANES, splitRefSuffix, isNonRelativeRef, normalizeProjectPath, dirOfPath, joinProjectPath, projectPathForRef, encodeProjectPath, mount3, preloadDocument, setSkipServerFunctions, runScoped, setCanvasAssetResolver, buildScope, renderNode, redefineElement, defineElement, openAt, close, showModal, close2, ensureCaret, focusItem, splitModifiersOf, selectValue, POPOVER_DEFAULT_MODE, attrs, literalAttr, tagOf, labelOf, isPopover, idOf, walk, popoverIdsIn, documentHasPopover, scalar, findPopoverDefects, popoverDisplayRepair, POPOVER_TAGS, INVOKER_TAGS, KIT_BASE, registerUi, setActiveRegistry, activeRegistry };
17692
+ export { isKeyframesAtRule, pureSchemeOf, intlHelpersClause, PURE_METHOD_OPS, BLESSED_OPERATORS, BLESSED_GLOBALS, isMutating, evaluateExpression, assetUrlFor, PUBLIC_DIR, BUILD_LANES, splitRefSuffix, isNonRelativeRef, normalizeProjectPath, dirOfPath, joinProjectPath, projectPathForRef, encodeProjectPath, mount3, preloadDocument, setSkipServerFunctions, runScoped, setCanvasAssetResolver, buildScope, renderNode, redefineElement, defineElement, openAt, close, showModal, close2, ensureCaret, focusItem, splitModifiersOf, trackOf, selectValue, POPOVER_DEFAULT_MODE, attrs, literalAttr, tagOf, labelOf, isPopover, idOf, walk, popoverIdsIn, documentHasPopover, scalar, findPopoverDefects, popoverDisplayRepair, POPOVER_TAGS, INVOKER_TAGS, KIT_BASE, registerUi, setActiveRegistry, activeRegistry };
17666
17693
 
17667
- //# debugId=FA9BCD95DF486F2164756E2164756E21
17668
- //# sourceMappingURL=studio-kkqkcp3d.js.map
17694
+ //# debugId=1CA7B04A8FCB779F64756E2164756E21
17695
+ //# sourceMappingURL=studio-d1n2bykn.js.map
@@ -700,7 +700,11 @@ function reactiveReadArray(array) {
700
700
  if (raw === array)
701
701
  return raw;
702
702
  track(raw, "iterate", ARRAY_ITERATE_KEY);
703
- return isShallow(array) ? raw : raw.map(toReactive);
703
+ if (isShallow(array))
704
+ return raw;
705
+ if (!isReadonly(array))
706
+ return raw.map(toReactive);
707
+ return isReactive(array) ? raw.map((item) => toReadonly(toReactive(item))) : raw.map(toReadonly);
704
708
  }
705
709
  function shallowReadArray(arr) {
706
710
  track(arr = toRaw(arr), "iterate", ARRAY_ITERATE_KEY);
@@ -921,7 +925,7 @@ class BaseReactiveHandler {
921
925
  return hasOwnProperty2;
922
926
  }
923
927
  }
924
- const res = Reflect.get(target, key, isRef(target) ? target : receiver);
928
+ const res = Reflect.get(target, key, isRef2(target) ? target : receiver);
925
929
  if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
926
930
  return res;
927
931
  }
@@ -931,7 +935,7 @@ class BaseReactiveHandler {
931
935
  if (isShallow2) {
932
936
  return res;
933
937
  }
934
- if (isRef(res)) {
938
+ if (isRef2(res)) {
935
939
  const value = targetIsArray && isIntegerKey(key) ? res : res.value;
936
940
  return isReadonly2 && isObject(value) ? readonly(value) : value;
937
941
  }
@@ -955,7 +959,7 @@ class MutableReactiveHandler extends BaseReactiveHandler {
955
959
  oldValue = toRaw(oldValue);
956
960
  value = toRaw(value);
957
961
  }
958
- if (!isArrayWithIntegerKey && isRef(oldValue) && !isRef(value)) {
962
+ if (!isArrayWithIntegerKey && isRef2(oldValue) && !isRef2(value)) {
959
963
  if (isOldValueReadonly) {
960
964
  if (true) {
961
965
  warn(`Set operation on key "${String(key)}" failed: target is readonly.`, target[key]);
@@ -968,7 +972,7 @@ class MutableReactiveHandler extends BaseReactiveHandler {
968
972
  }
969
973
  }
970
974
  const hadKey = isArrayWithIntegerKey ? Number(key) < target.length : hasOwn(target, key);
971
- const result = Reflect.set(target, key, value, isRef(target) ? target : receiver);
975
+ const result = Reflect.set(target, key, value, isRef2(target) ? target : receiver);
972
976
  if (target === toRaw(receiver) && result) {
973
977
  if (!hadKey) {
974
978
  trigger(target, "add", key, value);
@@ -1286,7 +1290,7 @@ function toRaw(observed) {
1286
1290
  }
1287
1291
  var toReactive = (value) => isObject(value) ? /* @__PURE__ */ reactive(value) : value;
1288
1292
  var toReadonly = (value) => isObject(value) ? /* @__PURE__ */ readonly(value) : value;
1289
- function isRef(r) {
1293
+ function isRef2(r) {
1290
1294
  return r ? r["__v_isRef"] === true : false;
1291
1295
  }
1292
1296
  function ref(value) {
@@ -1296,7 +1300,7 @@ function shallowRef(value) {
1296
1300
  return createRef(value, true);
1297
1301
  }
1298
1302
  function createRef(rawValue, shallow) {
1299
- if (/* @__PURE__ */ isRef(rawValue)) {
1303
+ if (/* @__PURE__ */ isRef2(rawValue)) {
1300
1304
  return rawValue;
1301
1305
  }
1302
1306
  return new RefImpl(rawValue, shallow);
@@ -1559,7 +1563,7 @@ function problemFindings2(source) {
1559
1563
  function problemCount2(severity) {
1560
1564
  return severity === undefined ? problems2.length : problems2.filter((record) => record.severity === severity).length;
1561
1565
  }
1562
- export { effectScope, onScopeDispose, effect, pauseTracking, resetTracking, onEffectCleanup, reactive, shallowReactive, isReactive, toRaw, isRef, ref, shallowRef, computed, announce, now, pinClock, toasts2, problems2, notify2, dismiss2, clearProblems2, problemFindings2, problemCount2 };
1566
+ export { effectScope, onScopeDispose, effect, pauseTracking, resetTracking, onEffectCleanup, reactive, shallowReactive, isReactive, toRaw, isRef2, ref, shallowRef, computed, announce, now, pinClock, toasts2, problems2, notify2, dismiss2, clearProblems2, problemFindings2, problemCount2 };
1563
1567
 
1564
- //# debugId=38C812A39B55E29E64756E2164756E21
1565
- //# sourceMappingURL=studio-p1dw8wfw.js.map
1568
+ //# debugId=F249290D0F37435164756E2164756E21
1569
+ //# sourceMappingURL=studio-d8z5bajd.js.map
@@ -2,7 +2,7 @@ import {
2
2
  githubTokenStored,
3
3
  githubTokenLocation,
4
4
  clearGithubToken
5
- } from "./studio-qk4bfsq2.js";
5
+ } from "./studio-msc1ee1m.js";
6
6
  import {
7
7
  getPlatform2,
8
8
  hasPlatform2
@@ -11,14 +11,14 @@ import {
11
11
  getCfToken2,
12
12
  getCfAccountId2,
13
13
  clearCfConnection2
14
- } from "./studio-6xa21ej9.js";
14
+ } from "./studio-c04nzbby.js";
15
15
  import {
16
16
  hasOpenAiKey,
17
17
  getBaseUrl,
18
18
  clearAiProvider,
19
19
  resetModelCache,
20
20
  preferredModel
21
- } from "./studio-hhvs4sdg.js";
21
+ } from "./studio-vn5hske5.js";
22
22
  import {
23
23
  __preload
24
24
  } from "./studio-5te5tqng.js";
@@ -56,7 +56,7 @@ function resetCfConnectionCache() {
56
56
  async function hostedConnect() {
57
57
  const outcome = await getPlatform2().cfConnect?.();
58
58
  if (outcome?.status === "connected" && !outcome.connection.accountId) {
59
- const { openCfAccountPicker } = await (__preload("qwkm9zrf"), import("./cf-account-picker-qwkm9zrf.js"));
59
+ const { openCfAccountPicker } = await (__preload("nwnwdm6p"), import("./cf-account-picker-nwnwdm6p.js"));
60
60
  await openCfAccountPicker();
61
61
  }
62
62
  resetModelCache();
@@ -111,7 +111,7 @@ function brokeredCloudflareRecord() {
111
111
  id: "choose-account",
112
112
  label: "Choose account",
113
113
  run: async () => {
114
- const { openCfAccountPicker } = await (__preload("qwkm9zrf"), import("./cf-account-picker-qwkm9zrf.js"));
114
+ const { openCfAccountPicker } = await (__preload("nwnwdm6p"), import("./cf-account-picker-nwnwdm6p.js"));
115
115
  if (await openCfAccountPicker()) {
116
116
  resetModelCache();
117
117
  await refreshCfConnection();
@@ -192,4 +192,4 @@ function notifyCredentialsChanged() {
192
192
  export { platformBrokersCf, refreshCfConnection, ensureCfConnection, resetCfConnectionCache, listAccounts, revokeAccount, onCredentialsChanged, notifyCredentialsChanged };
193
193
 
194
194
  //# debugId=5A4E8AE3D8A598C464756E2164756E21
195
- //# sourceMappingURL=studio-3rz5md06.js.map
195
+ //# sourceMappingURL=studio-dd1qqkry.js.map
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  displayTagName,
7
7
  isPrivateStateKey
8
- } from "./studio-7r42c6ca.js";
8
+ } from "./studio-3ntvq6cg.js";
9
9
  import {
10
10
  getNodeAtPath2,
11
11
  childList,
@@ -17,23 +17,23 @@ import {
17
17
  stripEventHandlers,
18
18
  leftPanel,
19
19
  renderOnly
20
- } from "./studio-6ewqv390.js";
20
+ } from "./studio-m1p9b6c3.js";
21
21
  import {
22
22
  effectScope,
23
23
  effect,
24
24
  toRaw,
25
25
  notify2
26
- } from "./studio-p1dw8wfw.js";
26
+ } from "./studio-d8z5bajd.js";
27
27
  import {
28
28
  view,
29
29
  surfaceForPane,
30
30
  allCanvasSurfaces,
31
31
  stageContaining
32
- } from "./studio-q3x06vmj.js";
32
+ } from "./studio-wnsyffg1.js";
33
33
  import {
34
34
  loadExtensions2,
35
35
  formatByName2
36
- } from "./studio-vw7mzp6z.js";
36
+ } from "./studio-6gryj0sg.js";
37
37
  import {
38
38
  localeDirection,
39
39
  primarySelection,
@@ -62,7 +62,7 @@ import {
62
62
  paneById2,
63
63
  focusPane2,
64
64
  isTabActive2
65
- } from "./studio-k75n7vhp.js";
65
+ } from "./studio-gk2twyh4.js";
66
66
  import {
67
67
  getEffectiveMedia,
68
68
  getEffectiveImports,
@@ -74,12 +74,12 @@ import {
74
74
  distributePageIntoLayout,
75
75
  shell,
76
76
  setLayoutSelection
77
- } from "./studio-qk90fgqm.js";
77
+ } from "./studio-fzjx96t2.js";
78
78
  import {
79
79
  componentRegistry2,
80
80
  buildComponentInstance2,
81
81
  computeRelativePath2
82
- } from "./studio-zdn2g6dt.js";
82
+ } from "./studio-zjjde71a.js";
83
83
  import {
84
84
  pureSchemeOf,
85
85
  setSkipServerFunctions,
@@ -97,7 +97,7 @@ import {
97
97
  POPOVER_TAGS,
98
98
  INVOKER_TAGS,
99
99
  activeRegistry
100
- } from "./studio-kkqkcp3d.js";
100
+ } from "./studio-d1n2bykn.js";
101
101
  import {
102
102
  _defineProperty,
103
103
  combine,
@@ -109,7 +109,7 @@ import {
109
109
  canvasBaseOrigin,
110
110
  documentBase,
111
111
  assetContextFor
112
- } from "./studio-nzzpvzx9.js";
112
+ } from "./studio-ab87phj1.js";
113
113
  import {
114
114
  rectOf,
115
115
  elementAtPoint
@@ -5736,4 +5736,4 @@ function getEditBarAnchorRect2() {
5736
5736
  export { activeCanvasSurface, tabOfPane, derivationOfPane, surfacesShowingTab, canvasModeOfTab, canvasModeOfPane, activeMediaOfPane, paneOfContainer, tabOfContainer, findDialogDefects, getPreviewNavigateHandler, documentUrlPattern, dynamicRouteParams, pagePathsDef, invalidateParamValues, loadParamValues, isComponentDoc, componentPropEntries, SPAN_FULL_RENDER, SPAN_MOUNT_CANVAS, SPAN_PATCH_BATCH, canvasPerf, recordEscalation, timeSpan, timeSpanAsync, mediaDisplayName, defaultDef, parentCursorToIframe, serializeJxPath, elements_meta_default, getInlineActions, isInlineElement, isEditing, bubbleInlinePath, isSchemeQuery, schemeOfQuery, parseMediaEntries, snapEditWidth, EDIT_WIDTH_MIN, EDIT_WIDTH_SNAP_TOLERANCE, EDIT_CANVAS_GUTTER, declaredWidthOfTab, resolveEditColumnWidth, clearEditWidth, snapTargetsOfTab, setEditWidth, ancestorPopoverPath, ancestorDialogPath, dialogPathFor, stageZoom, canvasPanelEntry, bindCanvasPanels, activateCanvasPanel, observeCenterUntilStable, applyTransform, applyEditZoom, setEditZoom, requestEditZoom, fitToScreen, getFit, setFit, markExplicitZoom, setUserZoom, fitOnCanvasEntry, resetZoom, panToParentRect, canvasBaseViewsFor, canvasBaseViewOf, previewStateOf, setCanvasView, registerCanvasViewCommands, updateActivePanelHeaders, setDragGhost, moveDragGhost, clearDragGhost, disableNativeDragPreview, attachInstruction, extractInstruction, hasElement, enableElement, disableElement, removePackageElements, removeElementRef, renderComponentPreview, registerLayersDnD, registerComponentsDnD, registerElementsDnD, applyDropInstruction, sawIframeDragOver2, allowAutoRequestsOnNextRender2, requestCanvasEval2, flushCanvasEdits2, hostForCanvas2, liveDragHostAt2, beginDragSession2, currentDragSession2, hostDragGeometry2, canvasIdleBlockers2, canvasPointAt2, revealCanvasPath2, revealCanvasPathIn2, measureInCanvas2, adoptCanvasPreviewMode2, postDragMessage2, endDragSession2, clearDropIndicator2, setNativeDragEnterHandler2, setInsertZoneClickHandler2, setFileDropHandler2, setCanvasSlashHandler2, setCanvasContextMenuHandler2, setStylebookHitHandler2, isCaretActive2, setToolbarRefresh2, setCanvasPointerDownHandler2, setIframePatchEscalation2, postPopoverOpen2, postDialogOpen2, postPatchToHosts2, dragHostTab2, releaseCanvasHosts2, mountIframeCanvas2, mountStylebookCanvas2, postColorSchemeToLiveHosts2, postLocaleToLiveHosts2, postRedefineElementToLiveHosts2, postSiteStyleToLiveHosts2, postStyleUpdateToStylebookHosts2, panToStylebookTag2, getEditSnapshot2, setKeymapSource2, postApplyFormat2, postOpenSlash2, commitActiveEditSession2, getEditBarAnchorRect2 };
5737
5737
 
5738
5738
  //# debugId=138206C03AA4653064756E2164756E21
5739
- //# sourceMappingURL=studio-1z1kcjv4.js.map
5739
+ //# sourceMappingURL=studio-drg8qj9k.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  schema_default,
3
3
  project_schema_default
4
- } from "./studio-d0300636.js";
4
+ } from "./studio-ks2zzth2.js";
5
5
  import {
6
6
  __toESM,
7
7
  __preload
@@ -85,4 +85,4 @@ async function validateProjectConfig2(config) {
85
85
  export { applyProjectSchemas2, validateDoc2, validateDocOrNull2, validateProjectConfig2 };
86
86
 
87
87
  //# debugId=EC74C1A0E86832FC64756E2164756E21
88
- //# sourceMappingURL=studio-kcgff4r0.js.map
88
+ //# sourceMappingURL=studio-fgmfksz8.js.map
@@ -5,18 +5,18 @@ import {
5
5
  toRaw,
6
6
  pinClock,
7
7
  notify2
8
- } from "./studio-p1dw8wfw.js";
8
+ } from "./studio-d8z5bajd.js";
9
9
  import {
10
10
  getPlatform2
11
11
  } from "./studio-6nzaktvy.js";
12
12
  import {
13
13
  loadedMonaco
14
- } from "./studio-vw7mzp6z.js";
14
+ } from "./studio-6gryj0sg.js";
15
15
  import {
16
16
  projectState,
17
17
  setProjectState,
18
18
  requireProjectState
19
- } from "./studio-6ewqv390.js";
19
+ } from "./studio-m1p9b6c3.js";
20
20
  import {
21
21
  isWellFormedLocale,
22
22
  resolveI18n,
@@ -36,12 +36,12 @@ import {
36
36
  workspace2,
37
37
  focusPane2,
38
38
  setWorkspaceProject2
39
- } from "./studio-k75n7vhp.js";
39
+ } from "./studio-gk2twyh4.js";
40
40
  import {
41
41
  SETTINGS,
42
42
  readStoredSetting,
43
43
  setSetting
44
- } from "./studio-y9zedyjn.js";
44
+ } from "./studio-z2smx5ce.js";
45
45
  import {
46
46
  errorMessage2
47
47
  } from "./studio-yxa81f45.js";
@@ -1345,7 +1345,7 @@ function extensionsKey(config) {
1345
1345
  return JSON.stringify(config.extensions ?? null);
1346
1346
  }
1347
1347
  async function refreshExtensionSurfaces() {
1348
- const { loadFormats, refreshExtensionUi, refreshFormats } = await (__preload("779sfp2n"), import("./format-host-779sfp2n.js"));
1348
+ const { loadFormats, refreshExtensionUi, refreshFormats } = await (__preload("1k4qrcqd"), import("./format-host-1k4qrcqd.js"));
1349
1349
  refreshFormats();
1350
1350
  loadFormats();
1351
1351
  refreshExtensionUi(getPlatform2());
@@ -1583,4 +1583,4 @@ async function updateSiteConfig(patch) {
1583
1583
  export { parseJsonDocument, serializeJson, serializeProjectConfig, lendProjectConfigLayout, 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, DEFAULT_PANE_SPLIT, PANE_SPLIT_MIN, PANE_SPLIT_MAX, setPaneSplit, shell, persistDocks, persistedSession, markSessionRestored, flushSession, monacoTheme, registerShellSurface, mountShell, setDockCollapsed, setDockSize, setActivityTab, setBottomTab, setChromeTheme, toggleActivityTab, setLayoutSelection, resetProjectShell, registerShellViewCommands };
1584
1584
 
1585
1585
  //# debugId=41F1C61D2E957DBB64756E2164756E21
1586
- //# sourceMappingURL=studio-qk90fgqm.js.map
1586
+ //# sourceMappingURL=studio-fzjx96t2.js.map
@@ -5,34 +5,34 @@ import {
5
5
  flattenTree,
6
6
  nodeLabel,
7
7
  projectState
8
- } from "./studio-6ewqv390.js";
8
+ } from "./studio-m1p9b6c3.js";
9
9
  import {
10
10
  loadFormats2,
11
11
  formatByExtension2,
12
12
  documentExtensions2
13
- } from "./studio-vw7mzp6z.js";
13
+ } from "./studio-6gryj0sg.js";
14
14
  import {
15
15
  activeTab2
16
- } from "./studio-k75n7vhp.js";
16
+ } from "./studio-gk2twyh4.js";
17
17
  import {
18
18
  registerSurface,
19
19
  mountSurface,
20
20
  runReported,
21
21
  runActiveReported,
22
22
  getLayerSlot2
23
- } from "./studio-vfq8qpjt.js";
23
+ } from "./studio-0j7r7s9g.js";
24
24
  import {
25
25
  activeRegistry
26
- } from "./studio-kkqkcp3d.js";
26
+ } from "./studio-d1n2bykn.js";
27
27
  import {
28
28
  reactive
29
- } from "./studio-p1dw8wfw.js";
29
+ } from "./studio-d8z5bajd.js";
30
30
  import {
31
31
  getRecentProjects,
32
32
  getRecentFiles,
33
33
  trackRecentFile,
34
34
  openFileInTab2
35
- } from "./studio-b0k5tqgp.js";
35
+ } from "./studio-7rrb1esn.js";
36
36
  // src/surfaces/palette.json
37
37
  var palette_default = {
38
38
  $schema: "https://jxsuite.com/schema/v1",
@@ -53,6 +53,9 @@ var palette_default = {
53
53
  paddingTop: "60px",
54
54
  background: "rgba(0, 0, 0, 0.4)"
55
55
  },
56
+ '& [part="overlay"][hidden]': {
57
+ display: "none"
58
+ },
56
59
  '& [part="panel"]': {
57
60
  width: "560px",
58
61
  maxWidth: "calc(100vw - 32px)",
@@ -169,14 +172,12 @@ var palette_default = {
169
172
  color: "var(--jx-fg-dim)"
170
173
  }
171
174
  },
172
- $switch: {
173
- $ref: "#/state/open"
174
- },
175
- cases: {
176
- true: {
175
+ children: [
176
+ {
177
177
  tagName: "div",
178
178
  attributes: {
179
- part: "overlay"
179
+ part: "overlay",
180
+ hidden: "${state.open ? null : ''}"
180
181
  },
181
182
  onclick: {
182
183
  $prototype: "Function",
@@ -567,7 +568,7 @@ var palette_default = {
567
568
  }
568
569
  ]
569
570
  }
570
- }
571
+ ]
571
572
  };
572
573
 
573
574
  // src/panels/quick-search.ts
@@ -1158,5 +1159,5 @@ function renderOverlay() {
1158
1159
 
1159
1160
  export { initQuickSearch2, openQuickSearch2 };
1160
1161
 
1161
- //# debugId=EFFDF77A3587A37264756E2164756E21
1162
- //# sourceMappingURL=studio-a79k90n9.js.map
1162
+ //# debugId=501BF2683AE15AEE64756E2164756E21
1163
+ //# sourceMappingURL=studio-g33v4fe9.js.map