@opengeoweb/workspace 21.2.0 → 21.3.0-nightly-20261128
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/README.md +28 -0
- package/dist/README.md +28 -0
- package/dist/index.esm.js +2391 -1953
- package/dist/src/index.d.ts +1 -0
- package/dist/src/lib/components/DataExplorerTimeseriesConnect/DataExplorerTimeseriesConnect.d.ts +5 -0
- package/dist/src/lib/components/WorkspaceDataExplorerPanelConnect/WorkspaceDataExplorerPanelConnect.d.ts +5 -0
- package/dist/src/lib/store/store.d.ts +2 -1
- package/dist/src/lib/store/viewPresets/reducer.d.ts +3 -0
- package/dist/src/lib/store/viewPresets/types.d.ts +2 -2
- package/dist/src/lib/store/workspace/restoreSyncGroupViews.d.ts +8 -0
- package/package.json +21 -21
package/README.md
CHANGED
|
@@ -27,3 +27,31 @@ Run `nx test workspace` to execute the unit tests via [Jest](https://jestjs.io).
|
|
|
27
27
|
### TypeScript Documentation
|
|
28
28
|
|
|
29
29
|
- [TypeScript Docs](https://opengeoweb.gitlab.io/opengeoweb/typescript-docs/workspace/)
|
|
30
|
+
|
|
31
|
+
### Data Explorer view
|
|
32
|
+
|
|
33
|
+
A view preset with `componentType: "DataExplorer"` opens the explorer inside a
|
|
34
|
+
workspace tile. The application must configure
|
|
35
|
+
`GW_DATA_EXPLORER_CONFIGURATION_FILENAME`, as for the floating explorer.
|
|
36
|
+
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"title": "Browse datasets",
|
|
40
|
+
"componentType": "DataExplorer",
|
|
41
|
+
"initialProps": {
|
|
42
|
+
"dataExplorerPreset": {}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
`dataExplorerPreset` is currently always empty. Each tile keeps its own search
|
|
48
|
+
and filters while it is open, but they are not saved with the preset.
|
|
49
|
+
|
|
50
|
+
When a dataset is added to a map, the target map is:
|
|
51
|
+
|
|
52
|
+
- the map linked to the tile, if there is one;
|
|
53
|
+
- otherwise the only map in the workspace;
|
|
54
|
+
- otherwise the map chosen when clicking Add, if there are several maps;
|
|
55
|
+
- otherwise a new map view, created with the layer, if there are no maps.
|
|
56
|
+
|
|
57
|
+
Browsing, dataset information, and adding Timeseries also work without a map.
|
package/dist/README.md
CHANGED
|
@@ -27,3 +27,31 @@ Run `nx test workspace` to execute the unit tests via [Jest](https://jestjs.io).
|
|
|
27
27
|
### TypeScript Documentation
|
|
28
28
|
|
|
29
29
|
- [TypeScript Docs](https://opengeoweb.gitlab.io/opengeoweb/typescript-docs/workspace/)
|
|
30
|
+
|
|
31
|
+
### Data Explorer view
|
|
32
|
+
|
|
33
|
+
A view preset with `componentType: "DataExplorer"` opens the explorer inside a
|
|
34
|
+
workspace tile. The application must configure
|
|
35
|
+
`GW_DATA_EXPLORER_CONFIGURATION_FILENAME`, as for the floating explorer.
|
|
36
|
+
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"title": "Browse datasets",
|
|
40
|
+
"componentType": "DataExplorer",
|
|
41
|
+
"initialProps": {
|
|
42
|
+
"dataExplorerPreset": {}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
`dataExplorerPreset` is currently always empty. Each tile keeps its own search
|
|
48
|
+
and filters while it is open, but they are not saved with the preset.
|
|
49
|
+
|
|
50
|
+
When a dataset is added to a map, the target map is:
|
|
51
|
+
|
|
52
|
+
- the map linked to the tile, if there is one;
|
|
53
|
+
- otherwise the only map in the workspace;
|
|
54
|
+
- otherwise the map chosen when clicking Add, if there are several maps;
|
|
55
|
+
- otherwise a new map view, created with the layer, if there are no maps.
|
|
56
|
+
|
|
57
|
+
Browsing, dataset information, and adding Timeseries also work without a map.
|