@eeacms/volto-eea-map 3.0.2 → 3.0.3
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 +4 -3
- package/package.json +1 -1
- package/src/components/Blocks/EmbedEEAMap/Schema.js +1 -1
- package/src/index.js +12 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,12 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
### [3.0.
|
|
7
|
+
### [3.0.3](https://github.com/eea/volto-eea-map/compare/3.0.2...3.0.3) - 29 November 2023
|
|
8
8
|
|
|
9
|
-
#### :
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
10
|
|
|
11
|
-
-
|
|
11
|
+
- update [Miu Razvan - [`b299f0e`](https://github.com/eea/volto-eea-map/commit/b299f0e24a43c00228c605cae603f2be7bf94b3b)]
|
|
12
|
+
### [3.0.2](https://github.com/eea/volto-eea-map/compare/3.0.1...3.0.2) - 28 November 2023
|
|
12
13
|
|
|
13
14
|
### [3.0.1](https://github.com/eea/volto-eea-map/compare/3.0.0...3.0.1) - 24 November 2023
|
|
14
15
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { uniqBy } from 'lodash';
|
|
2
|
+
|
|
1
3
|
import EmbedMapView from './components/Blocks/EmbedEEAMap/View';
|
|
2
4
|
import EmbedMapEdit from './components/Blocks/EmbedEEAMap/Edit';
|
|
3
5
|
|
|
@@ -34,9 +36,9 @@ export default (config) => {
|
|
|
34
36
|
|
|
35
37
|
config.blocks.blocksConfig.embed_eea_map_block = {
|
|
36
38
|
id: 'embed_eea_map_block', // The name (id) of the block
|
|
37
|
-
title: 'Embed
|
|
39
|
+
title: 'Embed Map layers (ArcGis)', // The display name of the block
|
|
38
40
|
icon: world, // The icon used in the block chooser
|
|
39
|
-
group: '
|
|
41
|
+
group: 'data_visualizations', // The group (blocks can be grouped, displayed in the chooser)
|
|
40
42
|
view: EmbedMapView, // The view mode component
|
|
41
43
|
edit: EmbedMapEdit, // The edit mode component
|
|
42
44
|
sidebarTab: 1, // The sidebar tab you want to be selected when selecting the block
|
|
@@ -54,6 +56,14 @@ export default (config) => {
|
|
|
54
56
|
],
|
|
55
57
|
};
|
|
56
58
|
|
|
59
|
+
config.blocks.groupBlocksOrder = uniqBy(
|
|
60
|
+
[
|
|
61
|
+
...config.blocks.groupBlocksOrder,
|
|
62
|
+
{ id: 'data_visualizations', title: 'Data Visualizations' },
|
|
63
|
+
],
|
|
64
|
+
'id',
|
|
65
|
+
);
|
|
66
|
+
|
|
57
67
|
config.widgets.widget.map_layers_widget = LayerSelectWidget;
|
|
58
68
|
config.widgets.widget.data_query_widget = DataQueryWidget;
|
|
59
69
|
config.widgets.widget.simple_color_picker_widget = SimpleColorPickerWidget;
|