@eeacms/volto-bise-policy 1.2.28 → 1.2.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 +14 -0
- package/package.json +1 -1
- package/src/components/Widgets/EUNISObjectListWidget.jsx +605 -0
- package/src/components/Widgets/styles.less +9 -0
- package/src/components/Widgets/vocabularies.js +1057 -0
- package/src/index.js +34 -0
- package/theme/globals/eunismarinehabitat.less +7 -0
package/src/index.js
CHANGED
|
@@ -10,6 +10,21 @@ import biseLogo from '@eeacms/volto-bise-policy/../theme/assets/images/Header/bi
|
|
|
10
10
|
import biseWhiteLogo from '@eeacms/volto-bise-policy/../theme/assets/images/Header/bise-logo-white.svg';
|
|
11
11
|
import ecLogo from '@eeacms/volto-bise-policy/../theme/assets/logos/logo-ec.svg';
|
|
12
12
|
|
|
13
|
+
import {
|
|
14
|
+
EUNISMSFDWidget,
|
|
15
|
+
EUNISMSFDView,
|
|
16
|
+
EUNISHDWidget,
|
|
17
|
+
EUNISHDView,
|
|
18
|
+
EUNISEuropeanRedListView,
|
|
19
|
+
EUNISEuropeanRedListWidget,
|
|
20
|
+
EUNISLinksToFinerEUNISHabitatsWidget,
|
|
21
|
+
EUNISLinksToFinerEUNISHabitatsView,
|
|
22
|
+
EUNISRegionalSeaConventionValueView,
|
|
23
|
+
EUNISRegionalSeaConventionValueWidget,
|
|
24
|
+
EUNISCountryCodeView,
|
|
25
|
+
EUNISCountryCodeWidget,
|
|
26
|
+
} from './components/Widgets/EUNISObjectListWidget';
|
|
27
|
+
|
|
13
28
|
const restrictedBlocks = ['imagecards', 'embed_eea_tableau_block'];
|
|
14
29
|
|
|
15
30
|
const customBlocks = [
|
|
@@ -221,6 +236,25 @@ const applyConfig = (config) => {
|
|
|
221
236
|
}
|
|
222
237
|
});
|
|
223
238
|
|
|
239
|
+
config.widgets.id.eunis_national_json = EUNISCountryCodeWidget;
|
|
240
|
+
config.widgets.views.id.eunis_national_json = EUNISCountryCodeView;
|
|
241
|
+
config.widgets.id.eunis_regional_sea_convention_value_json =
|
|
242
|
+
EUNISRegionalSeaConventionValueWidget;
|
|
243
|
+
config.widgets.views.id.eunis_regional_sea_convention_value_json =
|
|
244
|
+
EUNISRegionalSeaConventionValueView;
|
|
245
|
+
config.widgets.id.eunis_links_to_finer_eunis_habitats_json =
|
|
246
|
+
EUNISLinksToFinerEUNISHabitatsWidget;
|
|
247
|
+
config.widgets.views.id.eunis_links_to_finer_eunis_habitats_json =
|
|
248
|
+
EUNISLinksToFinerEUNISHabitatsView;
|
|
249
|
+
config.widgets.id.eunis_european_red_list_json = EUNISEuropeanRedListWidget;
|
|
250
|
+
config.widgets.views.id.eunis_european_red_list_json =
|
|
251
|
+
EUNISEuropeanRedListView;
|
|
252
|
+
config.widgets.id.eunis_hd_relevant_classification_json = EUNISHDWidget;
|
|
253
|
+
config.widgets.views.id.eunis_hd_relevant_classification_json = EUNISHDView;
|
|
254
|
+
config.widgets.id.eunis_msfd_relevant_classification_json = EUNISMSFDWidget;
|
|
255
|
+
config.widgets.views.id.eunis_msfd_relevant_classification_json =
|
|
256
|
+
EUNISMSFDView;
|
|
257
|
+
|
|
224
258
|
return config;
|
|
225
259
|
};
|
|
226
260
|
|
|
@@ -17,4 +17,11 @@
|
|
|
17
17
|
|
|
18
18
|
.contenttype-marine_eunis_habitat .help.slate_wysiwyg p.help {
|
|
19
19
|
white-space: break-spaces;
|
|
20
|
+
}
|
|
21
|
+
.contenttype-marine_eunis_habitat .bise-objectlist-widget p.help {
|
|
22
|
+
white-space: break-spaces;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.bise-objectlist-widget .inline.field > .ui.grid {
|
|
26
|
+
margin: 0;
|
|
20
27
|
}
|