@jxsuite/studio 2.4.3 → 3.0.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 (82) hide show
  1. package/dist/chunks/{cf-settings-g5fbf2zp.js → cf-settings-zj2cj1ar.js} +6 -3
  2. package/dist/chunks/{content-source-k9724vcv.js → content-source-7fy9qrm0.js} +10 -9
  3. package/dist/chunks/{convert-to-repeater-k10dvcc7.js → convert-to-repeater-6vvx96n2.js} +9 -8
  4. package/dist/chunks/{extension-sections-0ada0xcw.js → extension-sections-kwzvpemr.js} +13 -12
  5. package/dist/chunks/{files-yew27sn9.js → files-xcybanxe.js} +14 -13
  6. package/dist/chunks/{format-host-wewba4nq.js → format-host-8fr3545e.js} +2 -2
  7. package/dist/chunks/{git-panel-2dh1aw50.js → git-panel-g01d93vc.js} +9 -8
  8. package/dist/chunks/{layers-panel-qnsghwwd.js → layers-panel-27essgkc.js} +12 -11
  9. package/dist/chunks/{publish-panel-a0pdft5w.js → publish-panel-09sy2bab.js} +8 -7
  10. package/dist/chunks/{quick-search-9avyc4pc.js → quick-search-sefb61v8.js} +15 -14
  11. package/dist/chunks/{right-panel-kcnhtc5j.js → right-panel-9r32jd5j.js} +11 -10
  12. package/dist/chunks/{studio-aweyr4v1.js → studio-2x9zbxmx.js} +2 -2
  13. package/dist/chunks/{studio-ef8t53vc.js → studio-3dkcd4c5.js} +3 -3
  14. package/dist/chunks/{studio-hb7c46jy.js → studio-5efrtn1m.js} +9 -7
  15. package/dist/chunks/{studio-v1va0vhd.js → studio-6z5eyjwn.js} +24 -25
  16. package/dist/chunks/{studio-ke244pam.js → studio-7p35254k.js} +33 -11
  17. package/dist/chunks/{studio-f5yyvqxv.js → studio-8ezdegcx.js} +13 -11
  18. package/dist/chunks/{studio-cz2j1c0g.js → studio-a0yp7syn.js} +55 -18
  19. package/dist/chunks/{studio-26sv44br.js → studio-dc8s8heb.js} +34 -23
  20. package/dist/chunks/{studio-jnakhg87.js → studio-g5gdqnyd.js} +4 -4
  21. package/dist/chunks/{studio-rqemfhz6.js → studio-hcxzyk3x.js} +2 -2
  22. package/dist/chunks/{studio-ws6ef6js.js → studio-hj2se583.js} +12 -10
  23. package/dist/chunks/{studio-pyrw8h0w.js → studio-j595e748.js} +407 -167
  24. package/dist/chunks/{studio-dgj7gq44.js → studio-k4jvjcfx.js} +4 -4
  25. package/dist/chunks/studio-kfpek536.js +28 -0
  26. package/dist/chunks/{studio-sccge2wf.js → studio-p5dja96s.js} +2 -2
  27. package/dist/chunks/{studio-0b6fs05q.js → studio-pkp61mh8.js} +5 -5
  28. package/dist/chunks/studio-qpfq7xhm.js +1802 -0
  29. package/dist/chunks/{studio-ra7ar50f.js → studio-r5xbtctf.js} +51 -1565
  30. package/dist/chunks/{studio-v2c5pmjj.js → studio-rh1cnamv.js} +17 -15
  31. package/dist/chunks/{studio-28xc8ws4.js → studio-ry1vz5sv.js} +10 -8
  32. package/dist/chunks/{studio-hyn3vhwr.js → studio-xntfdy1x.js} +5 -5
  33. package/dist/iframe-entry.js +344 -26
  34. package/dist/studio.js +274 -247
  35. package/package.json +9 -9
  36. package/src/browse/library-layouts.ts +3 -3
  37. package/src/browse/library-pane.ts +2 -2
  38. package/src/browse/library-preview.ts +19 -3
  39. package/src/canvas/asset-refs.ts +119 -0
  40. package/src/canvas/asset-resolve.ts +256 -0
  41. package/src/canvas/canvas-live-render.ts +23 -15
  42. package/src/canvas/iframe-entry.ts +1 -0
  43. package/src/canvas/iframe-host.ts +4 -0
  44. package/src/canvas/iframe-protocol.ts +9 -0
  45. package/src/canvas/iframe-render.ts +28 -10
  46. package/src/canvas/site-style-css.ts +2 -6
  47. package/src/editor/file-drop-action.ts +2 -1
  48. package/src/files/files.ts +2 -2
  49. package/src/files/media-paths.ts +37 -14
  50. package/src/files/media-upload.ts +47 -6
  51. package/src/grid/grid-idle.ts +45 -0
  52. package/src/grid/grid-view.ts +21 -0
  53. package/src/grid/schema-columns.ts +2 -1
  54. package/src/grid/sources/content-source.ts +24 -3
  55. package/src/new-project/import-tab.ts +3 -2
  56. package/src/panels/ai-chat/composer.ts +30 -13
  57. package/src/panels/frontmatter-fields.ts +6 -2
  58. package/src/panels/properties-panel.ts +8 -2
  59. package/src/panels/seo-modal.ts +5 -6
  60. package/src/panels/signals-panel.ts +2 -1
  61. package/src/platforms/cloud.ts +14 -3
  62. package/src/platforms/devserver.ts +5 -1
  63. package/src/services/ai-models.ts +101 -11
  64. package/src/services/ai-settings.ts +69 -71
  65. package/src/services/cf-settings.ts +19 -37
  66. package/src/services/document-assistant.ts +4 -3
  67. package/src/services/idle.ts +6 -1
  68. package/src/services/settings/definitions.ts +164 -0
  69. package/src/services/settings/kernel.ts +335 -0
  70. package/src/services/settings/write-queue.ts +116 -0
  71. package/src/settings/preferences-accounts.ts +6 -19
  72. package/src/settings/preferences-keymap.ts +8 -18
  73. package/src/settings/schema-field-ui.ts +2 -2
  74. package/src/shell.ts +6 -14
  75. package/src/studio.ts +32 -1
  76. package/src/types.ts +61 -3
  77. package/src/ui/ai-credentials-form.ts +52 -27
  78. package/src/ui/media-picker.ts +6 -11
  79. package/src/utils/studio-utils.ts +45 -3
  80. package/dist/chunks/studio-a7pzveq1.js +0 -110
  81. package/src/canvas/content-assets.ts +0 -263
  82. package/src/services/settings-store.ts +0 -99
@@ -3,17 +3,17 @@ import {
3
3
  measuredRowHeight,
4
4
  revealListRow,
5
5
  watchListWindow
6
- } from "./studio-sccge2wf.js";
6
+ } from "./studio-p5dja96s.js";
7
7
  import {
8
8
  autoSyncProjectOnOpen,
9
9
  cleanupGitPanel,
10
10
  maybePromptJxsuiteUpdate,
11
11
  shouldInstallAutomation
12
- } from "./studio-ke244pam.js";
12
+ } from "./studio-7p35254k.js";
13
13
  import {
14
14
  openCsvGridTab,
15
15
  openPagesGrid
16
- } from "./studio-0b6fs05q.js";
16
+ } from "./studio-pkp61mh8.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-26sv44br.js";
24
+ } from "./studio-dc8s8heb.js";
25
25
  import {
26
- UPLOAD_ACCEPT,
27
26
  invalidateUsages,
28
27
  isImage,
28
+ uploadAccept,
29
29
  uploadAssets
30
- } from "./studio-cz2j1c0g.js";
30
+ } from "./studio-a0yp7syn.js";
31
31
  import {
32
32
  showProgressModal
33
- } from "./studio-28xc8ws4.js";
33
+ } from "./studio-ry1vz5sv.js";
34
34
  import {
35
35
  rectOf,
36
36
  registerPanel
37
- } from "./studio-pyrw8h0w.js";
37
+ } from "./studio-j595e748.js";
38
38
  import {
39
39
  activateTab,
40
40
  activeRegistry,
@@ -45,8 +45,6 @@ import {
45
45
  localeOfPath,
46
46
  markSessionRestored,
47
47
  moveTabToPane,
48
- notify,
49
- now,
50
48
  openTab,
51
49
  paneOfTab,
52
50
  persistedSession,
@@ -61,7 +59,7 @@ import {
61
59
  setWorkspaceProject,
62
60
  showPromptDialog,
63
61
  workspace
64
- } from "./studio-ra7ar50f.js";
62
+ } from "./studio-r5xbtctf.js";
65
63
  import {
66
64
  classMap
67
65
  } from "./studio-twsafr1e.js";
@@ -87,6 +85,10 @@ import {
87
85
  requireProjectState,
88
86
  setProjectState
89
87
  } from "./studio-cjm7fdjf.js";
88
+ import {
89
+ notify,
90
+ now
91
+ } from "./studio-qpfq7xhm.js";
90
92
  import {
91
93
  documentExtensions,
92
94
  formatForPath,
@@ -94,7 +96,7 @@ import {
94
96
  noFormatError,
95
97
  refreshExtensionUi,
96
98
  refreshFormats
97
- } from "./studio-rqemfhz6.js";
99
+ } from "./studio-hcxzyk3x.js";
98
100
  import {
99
101
  getPlatform,
100
102
  hasPlatform
@@ -889,7 +891,7 @@ function pickAndUploadTo(dir, renderLeftPanel) {
889
891
  const input = document.createElement("input");
890
892
  input.type = "file";
891
893
  input.multiple = true;
892
- input.accept = UPLOAD_ACCEPT;
894
+ input.accept = uploadAccept();
893
895
  input.addEventListener("change", () => {
894
896
  if (input.files?.length) {
895
897
  uploadFilesToDir(input.files, dir, renderLeftPanel);
@@ -1467,5 +1469,5 @@ function registerFilesPanel() {
1467
1469
 
1468
1470
  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
1471
 
1470
- //# debugId=AF54EB1634A6A49164756E2164756E21
1471
- //# sourceMappingURL=studio-v2c5pmjj.js.map
1472
+ //# debugId=C29DF2691E1E87E064756E2164756E21
1473
+ //# sourceMappingURL=studio-rh1cnamv.js.map
@@ -1,17 +1,14 @@
1
1
  import {
2
2
  renderDeployChecklist
3
- } from "./studio-aweyr4v1.js";
3
+ } from "./studio-2x9zbxmx.js";
4
4
  import {
5
5
  registerPanel,
6
6
  renderEmptyState
7
- } from "./studio-pyrw8h0w.js";
7
+ } from "./studio-j595e748.js";
8
8
  import {
9
- notify,
10
- now,
11
9
  openModal,
12
- reactive,
13
10
  setBottomTab
14
- } from "./studio-ra7ar50f.js";
11
+ } from "./studio-r5xbtctf.js";
15
12
  import {
16
13
  repeat
17
14
  } from "./studio-kvfx9z2c.js";
@@ -19,6 +16,11 @@ import {
19
16
  html,
20
17
  nothing
21
18
  } from "./studio-5x5774ak.js";
19
+ import {
20
+ notify,
21
+ now,
22
+ reactive
23
+ } from "./studio-qpfq7xhm.js";
22
24
 
23
25
  // src/panels/activity-panel.ts
24
26
  var activities = reactive([]);
@@ -349,5 +351,5 @@ function showProgressModal(opts) {
349
351
 
350
352
  export { beginActivity, activityIdleBlockers, registerActivityPanel, showProgressModal };
351
353
 
352
- //# debugId=E5DF930C7E1AD2C064756E2164756E21
353
- //# sourceMappingURL=studio-28xc8ws4.js.map
354
+ //# debugId=9B0932D5C517D62864756E2164756E21
355
+ //# sourceMappingURL=studio-ry1vz5sv.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  parseMediaEntries,
3
3
  schemeOfQuery
4
- } from "./studio-v1va0vhd.js";
4
+ } from "./studio-6z5eyjwn.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-pyrw8h0w.js";
14
+ } from "./studio-j595e748.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-ra7ar50f.js";
22
+ } from "./studio-r5xbtctf.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-k10dvcc7.js").then(({ convertToRepeater }) => convertToRepeater());
863
+ import("./convert-to-repeater-6vvx96n2.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-hyn3vhwr.js.map
1068
+ //# sourceMappingURL=studio-xntfdy1x.js.map