@mosetta/editor 0.0.0-stage → 0.0.29
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/CHANGELOG.md +190 -0
- package/LICENSE +21 -0
- package/README.md +10 -2
- package/mosetta.json +6 -0
- package/package.json +35 -3
- package/prefabs/workbench/prefab.json +11 -0
- package/prefabs/workbench/versions/1.json +120 -0
- package/prefabs/workbench/versions/2.json +13 -0
- package/prefabs/workbench/versions/3.json +19 -0
- package/prefabs/workbench/versions/4.json +29 -0
- package/prefabs/workbench/versions/5.json +29 -0
- package/tiles/canvas/canvas.component.tsx +2038 -0
- package/tiles/canvas/canvas.css +973 -0
- package/tiles/canvas/canvasTools.ts +66 -0
- package/tiles/canvas/chromeNodes.ts +35 -0
- package/tiles/canvas/ghosts.ts +33 -0
- package/tiles/canvas/insertPopover.tsx +56 -0
- package/tiles/canvas/popoverPlacement.ts +104 -0
- package/tiles/canvas/popoverSize.ts +87 -0
- package/tiles/canvas/providerChrome.tsx +191 -0
- package/tiles/canvas/scrollWatch.ts +43 -0
- package/tiles/canvas/settingsPopover.tsx +257 -0
- package/tiles/canvas/settingsTabs.ts +78 -0
- package/tiles/canvas/toolPanel.tsx +86 -0
- package/tiles/content/autoBind.ts +61 -0
- package/tiles/content/blockPage.css +390 -0
- package/tiles/content/blockPage.tsx +379 -0
- package/tiles/content/blockPicker.css +215 -0
- package/tiles/content/blockPicker.tsx +501 -0
- package/tiles/content/blockUpgrades.ts +145 -0
- package/tiles/content/blockVariants.ts +185 -0
- package/tiles/content/blockVocabulary.ts +77 -0
- package/tiles/content/catalogVersions.ts +106 -0
- package/tiles/content/componentPreview.css +82 -0
- package/tiles/content/componentPreview.tsx +249 -0
- package/tiles/content/content.server.ts +593 -0
- package/tiles/content/contentCommon.ts +133 -0
- package/tiles/content/disconnected.ts +56 -0
- package/tiles/content/distributions.css +256 -0
- package/tiles/content/distributions.tsx +271 -0
- package/tiles/content/editingAutosave.ts +125 -0
- package/tiles/content/editingClipboard.ts +185 -0
- package/tiles/content/editingConflicts.ts +223 -0
- package/tiles/content/editingHotkeys.ts +59 -0
- package/tiles/content/editingNotices.ts +105 -0
- package/tiles/content/formRoot.ts +18 -0
- package/tiles/content/fuzzySearch.ts +121 -0
- package/tiles/content/mediaUpload.ts +55 -0
- package/tiles/content/moduleSiblings.ts +9 -0
- package/tiles/content/mountedTree.ts +136 -0
- package/tiles/content/nodeSettings.css +483 -0
- package/tiles/content/nodeSettings.tsx +963 -0
- package/tiles/content/pasteText.ts +131 -0
- package/tiles/content/prefabFields.tsx +158 -0
- package/tiles/content/prefabParts.ts +105 -0
- package/tiles/content/previewEnvironment.ts +46 -0
- package/tiles/content/projectConfig.ts +46 -0
- package/tiles/content/projectPrefabs.ts +57 -0
- package/tiles/content/publishModal.css +109 -0
- package/tiles/content/publishModal.tsx +92 -0
- package/tiles/content/refsEditing.ts +412 -0
- package/tiles/content/scaledStage.ts +63 -0
- package/tiles/content/searchField.css +32 -0
- package/tiles/content/searchField.tsx +32 -0
- package/tiles/content/settingsDraft.ts +178 -0
- package/tiles/content/settingsIssues.tsx +124 -0
- package/tiles/content/themeScope.ts +72 -0
- package/tiles/content/themeVariables.ts +47 -0
- package/tiles/content/tooltipPlacement.ts +17 -0
- package/tiles/content/tooltips.tsx +131 -0
- package/tiles/content/treeMounter.ts +33 -0
- package/tiles/content/updatesModal.css +124 -0
- package/tiles/content/updatesModal.tsx +110 -0
- package/tiles/content/useCtrlHeld.ts +24 -0
- package/tiles/content/useEditingSession.ts +115 -0
- package/tiles/content/useMountedTree.ts +47 -0
- package/tiles/content/workbenchScale.css +27 -0
- package/tiles/hostFallback/hostFallback.component.tsx +32 -0
- package/tiles/hostFallback/hostFallback.css +12 -0
- package/tiles/hostFallback/hostFallback.editor.tsx +10 -0
- package/tiles/page/page.component.tsx +7 -0
- package/tiles/page/page.script.tsx +5 -0
- package/tiles/pageModules/pageModules.component.tsx +740 -0
- package/tiles/pageModules/pageModules.css +383 -0
- package/tiles/pageModules/pageModules.icon.svg +1 -0
- package/tiles/pageModules/servedPage.ts +465 -0
- package/tiles/pagesPanel/pagesPanel.component.tsx +1645 -0
- package/tiles/pagesPanel/pagesPanel.css +713 -0
- package/tiles/pagesPanel/pagesPanel.editor.tsx +23 -0
- package/tiles/pagesPanel/pagesSearch.ts +194 -0
- package/tiles/pagesPanel/routeTree.ts +98 -0
- package/tiles/previewBridge/landing.ts +66 -0
- package/tiles/previewBridge/previewAgent.ts +457 -0
- package/tiles/previewBridge/previewBridge.component.tsx +137 -0
- package/tiles/previewBridge/previewBridge.editor.tsx +10 -0
- package/tiles/previewBridge/previewBridgeCommon.ts +172 -0
- package/tiles/previewBridge/standIn.ts +22 -0
- package/tiles/treeView/treeView.component.tsx +514 -0
- package/tiles/treeView/treeView.css +303 -0
- package/tiles/treeView/treeView.editor.tsx +12 -0
- package/tiles/workbench/assistant.css +401 -0
- package/tiles/workbench/assistant.tsx +516 -0
- package/tiles/workbench/assistantChat.ts +165 -0
- package/tiles/workbench/dictation.ts +354 -0
- package/tiles/workbench/projectInfo.ts +72 -0
- package/tiles/workbench/recent.ts +67 -0
- package/tiles/workbench/workbench.component.tsx +476 -0
- package/tiles/workbench/workbench.css +376 -0
- package/tiles/workbench/workbenchAddress.ts +202 -0
- package/tiles/workbench/workspace.ts +775 -0
- package/tiles/workbenchEditor/workbenchEditor.component.tsx +461 -0
- package/tiles/workbenchEditor/workbenchEditor.css +370 -0
- package/tiles/workbenchHome/workbenchHome.component.tsx +196 -0
- package/tiles/workbenchHome/workbenchHome.css +271 -0
- package/tsconfig.json +3 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
# @mosetta/editor
|
|
2
|
+
|
|
3
|
+
## 0.0.29
|
|
4
|
+
|
|
5
|
+
- Built with the framework 0.0.10: the platform's pages run the framework a new project's tile
|
|
6
|
+
palette starts on.
|
|
7
|
+
|
|
8
|
+
## 0.0.28
|
|
9
|
+
|
|
10
|
+
- Built with the framework 0.0.9: a block of a project's own tile palette loads the platform's
|
|
11
|
+
packages from the platform, where they lie.
|
|
12
|
+
|
|
13
|
+
## 0.0.27
|
|
14
|
+
|
|
15
|
+
- The block picker offers the blocks of every tile palette the site takes tiles from — a project's
|
|
16
|
+
own palette beside the platform's — by the factory's rule: a brand comes from one palette, a
|
|
17
|
+
palette's tile only with its integrity.
|
|
18
|
+
- Words of the vocabulary: the **Tile palettes** tab (at `/workbench/palettes`), **Tiles of this
|
|
19
|
+
page** on the canvas bar, "block" for a placed tile.
|
|
20
|
+
|
|
21
|
+
## 0.0.26
|
|
22
|
+
|
|
23
|
+
- Built with the framework 0.0.7 and its vocabulary (tiles, blueprints, the factory, mosaics): the
|
|
24
|
+
editor's own tiles live under `tiles/` and are defined with `define<Side>Side`. Nothing the editor
|
|
25
|
+
shows changed.
|
|
26
|
+
|
|
27
|
+
## 0.0.25
|
|
28
|
+
|
|
29
|
+
- Built with the framework 0.0.6: a page's code may come from several sources — the site's renderer
|
|
30
|
+
links each block, package and stylesheet at the base of the source that holds it, and the page
|
|
31
|
+
tells the browser where each source lies. Nothing the editor shows changed.
|
|
32
|
+
|
|
33
|
+
## 0.0.24
|
|
34
|
+
|
|
35
|
+
- Every content action says who may call it: the site's editors only, as the host vouches for them
|
|
36
|
+
(`roles` holds `editor`). The platform's gate no longer guards the editor's actions for it; a
|
|
37
|
+
call from anybody else is refused by the action itself.
|
|
38
|
+
|
|
39
|
+
## 0.0.23
|
|
40
|
+
|
|
41
|
+
- Built with the framework 0.0.4: its server module carries the framework's code inside it, and that
|
|
42
|
+
code moved (an action may now ask for the project's secrets and read its request). Nothing the
|
|
43
|
+
editor does changed.
|
|
44
|
+
|
|
45
|
+
## 0.0.22
|
|
46
|
+
|
|
47
|
+
- A block's settings are checked against what the block describes (its settings schema): the
|
|
48
|
+
settings form shows what does not fit — a plaque above the form names each issue, a click puts
|
|
49
|
+
the caret in its field, and the field wears a red border; a setting the block does not have can
|
|
50
|
+
be removed from there. The draft keeps saving as before.
|
|
51
|
+
- Publishing refuses a page whose blocks hold settings that do not fit, and says which.
|
|
52
|
+
|
|
53
|
+
## 0.0.21
|
|
54
|
+
|
|
55
|
+
- Dictation is written out by the platform where it offers that: the microphone records until it
|
|
56
|
+
is pressed again (a clock shows how long), and the words appear a moment later — in whatever
|
|
57
|
+
language was spoken, a phrase in another one included, with no language to choose. Sending while
|
|
58
|
+
dictating sends what was said. Where the platform does not, the browser's own recognition stays.
|
|
59
|
+
- The assistant's conversation shows what it looked at: the screenshots a tool took appear under
|
|
60
|
+
it, small, each opening whole.
|
|
61
|
+
|
|
62
|
+
## 0.0.20
|
|
63
|
+
|
|
64
|
+
- Switching the dictation's language while dictating goes on in the new language at once — it
|
|
65
|
+
used to keep the old one, and a start that went wrong left the microphone unable to start again
|
|
66
|
+
until the page was reloaded.
|
|
67
|
+
|
|
68
|
+
## 0.0.19
|
|
69
|
+
|
|
70
|
+
- Dictation works where the browser has no on-device recognition for the language: it asks first
|
|
71
|
+
and goes to the browser's own service at once (a language the device can fetch is fetched for
|
|
72
|
+
next time), and an on-device try that fails is retried there by itself. The microphone shows
|
|
73
|
+
"listening" only while the browser hears.
|
|
74
|
+
|
|
75
|
+
## 0.0.18
|
|
76
|
+
|
|
77
|
+
- In the editor the Assistant's island sits exactly where the tree is: the tree's column takes the
|
|
78
|
+
island's width while it is open, so the canvas beside it stays whole.
|
|
79
|
+
|
|
80
|
+
## 0.0.17
|
|
81
|
+
|
|
82
|
+
- The Assistant is an island over the workbench instead of a column beside it: at the bottom over
|
|
83
|
+
Home and the lists (it folds to its input when you want the page back), over the tree in the
|
|
84
|
+
editor — the canvas stays free. ⌘J / Ctrl+J opens and closes it.
|
|
85
|
+
- Its input grows with what you write, and you can dictate: the microphone writes what you say into
|
|
86
|
+
it (your browser's own speech recognition, on the device where it can); the language you dictate
|
|
87
|
+
in sits beside it.
|
|
88
|
+
- It shows what it works on: the block it is about to change is selected in the canvas, a draft it
|
|
89
|
+
changes is opened if it was not, and the block it touched stays selected. It knows what you look
|
|
90
|
+
at — the page in front, its draft, the block selected — so "this block" means that one.
|
|
91
|
+
|
|
92
|
+
## 0.0.16
|
|
93
|
+
|
|
94
|
+
- The Assistant's answers show a link by its address cut short (a signed preview link is long),
|
|
95
|
+
and understand the little markdown a model writes: `[words](link)`, **bold**, `code`.
|
|
96
|
+
|
|
97
|
+
## 0.0.15
|
|
98
|
+
|
|
99
|
+
- A page the Assistant makes opens from anywhere in the workbench — from Home and the lists too,
|
|
100
|
+
where there were no tabs to open it in.
|
|
101
|
+
- The Assistant's column stays above the canvas's bar when a narrow window lets the bar spill.
|
|
102
|
+
|
|
103
|
+
## 0.0.14
|
|
104
|
+
|
|
105
|
+
- An Assistant in the workbench: a column on the right where you ask for what you want on the
|
|
106
|
+
site — it reads the pages, opens a draft, changes it and shows it to you; it publishes only when
|
|
107
|
+
you say so. A draft it changes is read again into the canvas that holds it, a draft it makes is
|
|
108
|
+
opened; the workbench is frozen while it works. Offered where the platform runs one.
|
|
109
|
+
|
|
110
|
+
## 0.0.13
|
|
111
|
+
|
|
112
|
+
- Built with the framework 0.0.3. Nothing of the editor itself changed: its server modules carry
|
|
113
|
+
the framework's code inside them, and that code moved (a store write may now name a condition).
|
|
114
|
+
|
|
115
|
+
## 0.0.12
|
|
116
|
+
|
|
117
|
+
- Modules of this page waits up to half a minute for the preview's fonts — on a cold workbench the
|
|
118
|
+
preview comes in later than the five seconds 0.0.11 gave it.
|
|
119
|
+
|
|
120
|
+
## 0.0.11
|
|
121
|
+
|
|
122
|
+
- Modules of this page opened from the address waits for the preview's document and its fonts
|
|
123
|
+
before telling the fonts the text uses — it came before them and counted every face.
|
|
124
|
+
|
|
125
|
+
## 0.0.10
|
|
126
|
+
|
|
127
|
+
- Modules of this page folds the packages under one Packages row that still says what all of them
|
|
128
|
+
weigh, and ends the list with a Total — the page's files, the HTML aside.
|
|
129
|
+
- What is open of it — the tool itself, the rows, the order — rides the address of the document
|
|
130
|
+
in front (`?tool=…&tool-state=…`): a reload or a shared link opens the same, a tab coming to
|
|
131
|
+
the front brings its own.
|
|
132
|
+
|
|
133
|
+
## 0.0.9
|
|
134
|
+
|
|
135
|
+
- The page root's server render writes the loader's script with CORS (`crossorigin`), like the
|
|
136
|
+
stylesheets: the last file a page fetched without it.
|
|
137
|
+
|
|
138
|
+
## 0.0.8
|
|
139
|
+
|
|
140
|
+
- Modules of this page measures a file once per window — an address names one content for good —
|
|
141
|
+
so opening it again asks for the page alone; a font the text does not use is no longer fetched
|
|
142
|
+
to be weighed, only listed. The refresh button reads the catalog anew.
|
|
143
|
+
- The page root's server render declares every stylesheet with CORS (`crossorigin`), so the copy
|
|
144
|
+
a browser keeps can be read by the tool.
|
|
145
|
+
|
|
146
|
+
## 0.0.7
|
|
147
|
+
|
|
148
|
+
- Modules of this page orders every level of its tree by the column clicked — name, size or gzip,
|
|
149
|
+
a second click the other way — and draws behind each row the share of the first visit it weighs:
|
|
150
|
+
green for a crumb, through yellow, red for a third of the page.
|
|
151
|
+
|
|
152
|
+
## 0.0.6
|
|
153
|
+
|
|
154
|
+
- Modules of this page reads as a tree by package: a distribution or a package with what it weighs
|
|
155
|
+
on the page, opening on its blocks or entries, each opening on its dependencies — and a
|
|
156
|
+
dependency on its own. The rules fold behind a row; the first visit and the repeat one open
|
|
157
|
+
into their kinds; sizes stand in aligned columns.
|
|
158
|
+
|
|
159
|
+
## 0.0.5
|
|
160
|
+
|
|
161
|
+
- Modules of this page: a file the page loaded without CORS (a stylesheet's link, a script) is
|
|
162
|
+
measured past the browser's cache, where its copy lacks the CDN's CORS headers; the fonts are
|
|
163
|
+
counted by the faces the preview loaded — the ones its text uses — and a file that could not be
|
|
164
|
+
read is said in the head.
|
|
165
|
+
|
|
166
|
+
## 0.0.4
|
|
167
|
+
|
|
168
|
+
- Editor tools: a block in the workbench shell's `tools` slot gets a button on the canvas bar and
|
|
169
|
+
opens over the canvas, the tree still in sight; it loads when first opened.
|
|
170
|
+
- Modules of this page, the first tool: what the page makes a reader's browser fetch — its blocks
|
|
171
|
+
and packages with their versions and sizes, the versions a rule took over crossed out, images and
|
|
172
|
+
the fonts the text uses; the weight by kind, gzipped, for a first visit and a repeat one; the
|
|
173
|
+
page's version rules, the built-in one and its own, added and removed as steps of the draft.
|
|
174
|
+
- The preview gets the editor's own blocks (the page root) at their latest, the way the server
|
|
175
|
+
renders them, instead of the version the page was made with.
|
|
176
|
+
|
|
177
|
+
## 0.0.3
|
|
178
|
+
|
|
179
|
+
- A block's settings name where it comes from in their head — its distribution and the version the
|
|
180
|
+
page uses (`mosetta-ui@0.0.1`), with a mark when a newer version is out.
|
|
181
|
+
|
|
182
|
+
## 0.0.2
|
|
183
|
+
|
|
184
|
+
- Versions: the picker offers each distribution at its latest version, with a choice of the others;
|
|
185
|
+
outdated blocks are marked in the tree and above their settings; the toolbar's Updates window
|
|
186
|
+
updates a page's blocks in one step, their settings moved through the block's own `upgrade`.
|
|
187
|
+
- The Distributions tab: a card per distribution, a version choice, what a version changed.
|
|
188
|
+
- A block's page: its playground, its variants, Copy block and Copy as JSON.
|
|
189
|
+
- A disconnected distribution's blocks stand as placeholders in the editor's preview.
|
|
190
|
+
- Library prefabs are offered live in their distribution's branch.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 mosetta contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @mosetta/editor
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The visual editor of mosetta, itself an ordinary tile palette: the workbench (pages, prefabs, tile
|
|
4
|
+
palettes), the canvas with an isolated preview of the draft, the block picker, the page tree, the
|
|
5
|
+
settings inspector, undo, publishing — and the content API behind them, a server side of its own.
|
|
6
|
+
|
|
7
|
+
A site names it among its development libraries; the editor's pages are served at `/workbench`:
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
{ "brand": "shop", "type": "library", "libraries": ["@mosetta/ui-kit-react"], "devLibraries": ["@mosetta/editor"] }
|
|
11
|
+
```
|
package/mosetta.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mosetta/editor",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
3
|
+
"version": "0.0.29",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"description": "mosetta visual editor tile palette: block picker, page tree, inspector, isolated draft preview and the content API behind them.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/mosetta/mosetta.git",
|
|
9
|
+
"directory": "packages/editor"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": "./mosetta.json"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"react": "*",
|
|
16
|
+
"react-dom": "*",
|
|
17
|
+
"@mosetta/content": "0.0.10",
|
|
18
|
+
"@mosetta/core": "0.0.10",
|
|
19
|
+
"@mosetta/di": "0.0.10",
|
|
20
|
+
"@mosetta/stores": "0.0.10",
|
|
21
|
+
"@mosetta/react": "0.0.10",
|
|
22
|
+
"@mosetta/settings": "0.0.10",
|
|
23
|
+
"@mosetta/ui": "0.0.10",
|
|
24
|
+
"@mosetta/server-action": "0.0.10",
|
|
25
|
+
"@mosetta/runtime": "0.0.10"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@types/react": "*",
|
|
29
|
+
"@types/react-dom": "*",
|
|
30
|
+
"zod": "^3"
|
|
31
|
+
},
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"typecheck": "tsc --noEmit"
|
|
37
|
+
}
|
|
6
38
|
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root": {
|
|
3
|
+
"id": "workbench",
|
|
4
|
+
"reference": "_ns_mosetta-editor_t_component_n_page_v_0_0_1",
|
|
5
|
+
"children": [
|
|
6
|
+
{
|
|
7
|
+
"id": "workbench-dock",
|
|
8
|
+
"reference": "_ns_mosetta-ui_t_component_n_dock_v_0_0_1",
|
|
9
|
+
"children": [
|
|
10
|
+
{
|
|
11
|
+
"id": "wb-canvas",
|
|
12
|
+
"reference": "_ns_mosetta-editor_t_component_n_canvas_v_0_0_1",
|
|
13
|
+
"children": []
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "wb-palette",
|
|
17
|
+
"reference": "_ns_mosetta-editor_t_component_n_palette_v_0_0_1",
|
|
18
|
+
"children": []
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "wb-tree",
|
|
22
|
+
"reference": "_ns_mosetta-editor_t_component_n_treeView_v_0_0_1",
|
|
23
|
+
"children": []
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "wb-settings",
|
|
27
|
+
"reference": "_ns_mosetta-ui_t_component_n_card_v_0_0_1",
|
|
28
|
+
"children": [
|
|
29
|
+
{
|
|
30
|
+
"id": "wb-settings-form",
|
|
31
|
+
"reference": "_ns_mosetta-editor_t_component_n_settings_v_0_0_1",
|
|
32
|
+
"children": []
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"settings": {
|
|
36
|
+
"title": "Node settings",
|
|
37
|
+
"description": ""
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "wb-pages",
|
|
42
|
+
"reference": "_ns_mosetta-editor_t_component_n_pagesPanel_v_0_0_1",
|
|
43
|
+
"children": []
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "wb-prefabs",
|
|
47
|
+
"reference": "_ns_mosetta-editor_t_component_n_pagesPanel_v_0_0_1",
|
|
48
|
+
"settings": {
|
|
49
|
+
"kind": "prefabs"
|
|
50
|
+
},
|
|
51
|
+
"children": []
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "wb-empty",
|
|
55
|
+
"reference": "_ns_mosetta-editor_t_component_n_workbenchEmpty_v_0_0_1",
|
|
56
|
+
"settings": {
|
|
57
|
+
"pagesSlot": "pages",
|
|
58
|
+
"prefabsSlot": "prefabs"
|
|
59
|
+
},
|
|
60
|
+
"children": []
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "wb-newtab",
|
|
64
|
+
"reference": "_ns_mosetta-editor_t_component_n_newTabButton_v_0_0_1",
|
|
65
|
+
"settings": {},
|
|
66
|
+
"children": []
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"settings": {
|
|
70
|
+
"storageKey": "workbench",
|
|
71
|
+
"panels": [
|
|
72
|
+
{
|
|
73
|
+
"id": "canvas",
|
|
74
|
+
"child": "wb-canvas",
|
|
75
|
+
"title": "Canvas",
|
|
76
|
+
"dock": "center",
|
|
77
|
+
"onDemand": true
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "tree",
|
|
81
|
+
"child": "wb-tree",
|
|
82
|
+
"title": "Tree",
|
|
83
|
+
"dock": "left",
|
|
84
|
+
"onDemand": true
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "palette",
|
|
88
|
+
"child": "wb-palette",
|
|
89
|
+
"title": "Palette",
|
|
90
|
+
"dock": "left",
|
|
91
|
+
"onDemand": true
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "settings",
|
|
95
|
+
"child": "wb-settings",
|
|
96
|
+
"title": "Settings",
|
|
97
|
+
"dock": "right",
|
|
98
|
+
"onDemand": true
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "pages",
|
|
102
|
+
"child": "wb-pages",
|
|
103
|
+
"title": "Pages",
|
|
104
|
+
"dock": "bottom"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "prefabs",
|
|
108
|
+
"child": "wb-prefabs",
|
|
109
|
+
"title": "Prefabs",
|
|
110
|
+
"dock": "bottom",
|
|
111
|
+
"tabWith": "pages"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"emptyChild": "wb-empty",
|
|
115
|
+
"tabActionsChild": "wb-newtab"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root": {
|
|
3
|
+
"id": "workbench",
|
|
4
|
+
"reference": "_ns_mosetta-editor_t_component_n_page_v_0_0_1",
|
|
5
|
+
"children": [
|
|
6
|
+
{
|
|
7
|
+
"id": "workbench-shell",
|
|
8
|
+
"reference": "_ns_mosetta-editor_t_component_n_workbench_v_0_0_1",
|
|
9
|
+
"children": [
|
|
10
|
+
{
|
|
11
|
+
"id": "workbench-outlet",
|
|
12
|
+
"reference": "_ns_mosetta-ui_t_component_n_outlet_v_0_0_1",
|
|
13
|
+
"children": []
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root": {
|
|
3
|
+
"id": "workbench",
|
|
4
|
+
"reference": "_ns_mosetta-editor_t_component_n_page_v_0_0_1",
|
|
5
|
+
"children": [
|
|
6
|
+
{
|
|
7
|
+
"id": "workbench-shell",
|
|
8
|
+
"reference": "_ns_mosetta-editor_t_component_n_workbench_v_0_0_1",
|
|
9
|
+
"children": [
|
|
10
|
+
{
|
|
11
|
+
"id": "workbench-outlet",
|
|
12
|
+
"reference": "_ns_mosetta-ui_t_component_n_outlet_v_0_0_1",
|
|
13
|
+
"children": []
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "workbench-tool-modules",
|
|
17
|
+
"reference": "_ns_mosetta-editor_t_component_n_pageModules_v_0_0_1",
|
|
18
|
+
"slot": "tools",
|
|
19
|
+
"lazy": true,
|
|
20
|
+
"settings": {
|
|
21
|
+
"label": "Modules of this page"
|
|
22
|
+
},
|
|
23
|
+
"children": []
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root": {
|
|
3
|
+
"id": "workbench",
|
|
4
|
+
"reference": "_ns_mosetta-editor_t_component_n_page_v_0_0_1",
|
|
5
|
+
"children": [
|
|
6
|
+
{
|
|
7
|
+
"id": "workbench-shell",
|
|
8
|
+
"reference": "_ns_mosetta-editor_t_component_n_workbench_v_0_0_1",
|
|
9
|
+
"children": [
|
|
10
|
+
{
|
|
11
|
+
"id": "workbench-outlet",
|
|
12
|
+
"reference": "_ns_mosetta-ui_t_component_n_outlet_v_0_0_1",
|
|
13
|
+
"children": []
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "workbench-tool-modules",
|
|
17
|
+
"reference": "_ns_mosetta-editor_t_component_n_pageModules_v_0_0_1",
|
|
18
|
+
"slot": "tools",
|
|
19
|
+
"lazy": true,
|
|
20
|
+
"settings": {
|
|
21
|
+
"label": "Tiles of this page"
|
|
22
|
+
},
|
|
23
|
+
"children": []
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
}
|