@thatopen/services 0.37.1 → 0.37.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/package.json
CHANGED
|
@@ -113,20 +113,20 @@ async function main() {
|
|
|
113
113
|
tree: () => BUI.html`<top-model-tree></top-model-tree>`,
|
|
114
114
|
properties: () => BUI.html`<top-properties-panel></top-properties-panel>`,
|
|
115
115
|
// The project's documents, as every platform app lists them: a click opens one in the viewer.
|
|
116
|
-
files: () => BUI.html`<top-documents-panel reads-project></top-documents-panel>`,
|
|
116
|
+
files: () => BUI.html`<top-documents-panel reads-project opens-drops></top-documents-panel>`,
|
|
117
117
|
dataTable: () => BUI.html`<top-data-table-panel></top-data-table-panel>`,
|
|
118
118
|
settings: () => BUI.html`<top-settings-panel></top-settings-panel>`,
|
|
119
119
|
history: () => BUI.html`<top-git-history></top-git-history>`,
|
|
120
120
|
};
|
|
121
121
|
app.layouts = {
|
|
122
|
-
Explorer: {
|
|
123
|
-
icon: "mdi:file-tree",
|
|
124
|
-
template: `"tree viewer" 1fr "properties viewer" 1fr / 22rem 1fr`,
|
|
125
|
-
},
|
|
126
122
|
Assets: {
|
|
127
123
|
icon: "mdi:folder-multiple-outline",
|
|
128
124
|
template: `"files viewer" 1fr "properties viewer" 1fr / 22rem 1fr`,
|
|
129
125
|
},
|
|
126
|
+
Explorer: {
|
|
127
|
+
icon: "mdi:file-tree",
|
|
128
|
+
template: `"tree viewer" 1fr "properties viewer" 1fr / 22rem 1fr`,
|
|
129
|
+
},
|
|
130
130
|
Data: {
|
|
131
131
|
icon: "mdi:table",
|
|
132
132
|
template: `"dataTable viewer" 1fr / 22rem 1fr`,
|
|
@@ -122,21 +122,21 @@ async function main() {
|
|
|
122
122
|
tree: () => BUI.html`<top-model-tree></top-model-tree>`,
|
|
123
123
|
properties: () => BUI.html`<top-properties-panel></top-properties-panel>`,
|
|
124
124
|
// The project's documents, as every platform app lists them: a click opens one in the viewer.
|
|
125
|
-
files: () => BUI.html`<top-documents-panel reads-project></top-documents-panel>`,
|
|
125
|
+
files: () => BUI.html`<top-documents-panel reads-project opens-drops></top-documents-panel>`,
|
|
126
126
|
dataTable: () => BUI.html`<top-data-table-panel></top-data-table-panel>`,
|
|
127
127
|
settings: () => BUI.html`<top-settings-panel></top-settings-panel>`,
|
|
128
128
|
};
|
|
129
129
|
// No `label` → the sidebar renders icon-only activity-bar buttons (matching
|
|
130
130
|
// the pre-A2 look), background only on the active one.
|
|
131
131
|
app.layouts = {
|
|
132
|
-
Explorer: {
|
|
133
|
-
icon: "mdi:file-tree",
|
|
134
|
-
template: `"tree viewer" 1fr "properties viewer" 1fr / 22rem 1fr`,
|
|
135
|
-
},
|
|
136
132
|
Assets: {
|
|
137
133
|
icon: "mdi:folder-multiple-outline",
|
|
138
134
|
template: `"files viewer" 1fr "properties viewer" 1fr / 22rem 1fr`,
|
|
139
135
|
},
|
|
136
|
+
Explorer: {
|
|
137
|
+
icon: "mdi:file-tree",
|
|
138
|
+
template: `"tree viewer" 1fr "properties viewer" 1fr / 22rem 1fr`,
|
|
139
|
+
},
|
|
140
140
|
Data: {
|
|
141
141
|
icon: "mdi:table",
|
|
142
142
|
template: `"dataTable viewer" 1fr / 22rem 1fr`,
|
|
@@ -146,7 +146,8 @@ async function main() {
|
|
|
146
146
|
template: `"settings viewer" 1fr / 22rem 1fr`,
|
|
147
147
|
},
|
|
148
148
|
};
|
|
149
|
-
app.
|
|
149
|
+
// (The project's documents first: where a file dropped on the app goes and opens. Antonio 24-11.)
|
|
150
|
+
app.layout = "Assets";
|
|
150
151
|
app.sidebar = true;
|
|
151
152
|
|
|
152
153
|
// No auto-load: the viewer opens empty. A document clicked in the Assets panel opens in it.
|