@eeacms/volto-bise-policy 1.2.28 → 1.2.30
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 +24 -0
- package/package.json +1 -1
- package/src/components/Widgets/EUNISObjectListWidget.jsx +683 -0
- package/src/components/Widgets/styles.less +9 -0
- package/src/components/Widgets/vocabularies.js +1057 -0
- package/src/index.js +36 -0
- package/theme/globals/eunismarinehabitat.less +7 -0
package/src/index.js
CHANGED
|
@@ -10,6 +10,22 @@ 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
|
+
EUNISCodeView,
|
|
15
|
+
EUNISMSFDWidget,
|
|
16
|
+
EUNISMSFDView,
|
|
17
|
+
EUNISHDWidget,
|
|
18
|
+
EUNISHDView,
|
|
19
|
+
EUNISEuropeanRedListView,
|
|
20
|
+
EUNISEuropeanRedListWidget,
|
|
21
|
+
EUNISLinksToFinerEUNISHabitatsWidget,
|
|
22
|
+
EUNISLinksToFinerEUNISHabitatsView,
|
|
23
|
+
EUNISRegionalSeaConventionValueView,
|
|
24
|
+
EUNISRegionalSeaConventionValueWidget,
|
|
25
|
+
EUNISCountryCodeView,
|
|
26
|
+
EUNISCountryCodeWidget,
|
|
27
|
+
} from './components/Widgets/EUNISObjectListWidget';
|
|
28
|
+
|
|
13
29
|
const restrictedBlocks = ['imagecards', 'embed_eea_tableau_block'];
|
|
14
30
|
|
|
15
31
|
const customBlocks = [
|
|
@@ -221,6 +237,26 @@ const applyConfig = (config) => {
|
|
|
221
237
|
}
|
|
222
238
|
});
|
|
223
239
|
|
|
240
|
+
config.widgets.id.eunis_national_json = EUNISCountryCodeWidget;
|
|
241
|
+
config.widgets.views.id.eunis_national_json = EUNISCountryCodeView;
|
|
242
|
+
config.widgets.id.eunis_regional_sea_convention_value_json =
|
|
243
|
+
EUNISRegionalSeaConventionValueWidget;
|
|
244
|
+
config.widgets.views.id.eunis_regional_sea_convention_value_json =
|
|
245
|
+
EUNISRegionalSeaConventionValueView;
|
|
246
|
+
config.widgets.id.eunis_links_to_finer_eunis_habitats_json =
|
|
247
|
+
EUNISLinksToFinerEUNISHabitatsWidget;
|
|
248
|
+
config.widgets.views.id.eunis_links_to_finer_eunis_habitats_json =
|
|
249
|
+
EUNISLinksToFinerEUNISHabitatsView;
|
|
250
|
+
config.widgets.id.eunis_european_red_list_json = EUNISEuropeanRedListWidget;
|
|
251
|
+
config.widgets.views.id.eunis_european_red_list_json =
|
|
252
|
+
EUNISEuropeanRedListView;
|
|
253
|
+
config.widgets.id.eunis_hd_relevant_classification_json = EUNISHDWidget;
|
|
254
|
+
config.widgets.views.id.eunis_hd_relevant_classification_json = EUNISHDView;
|
|
255
|
+
config.widgets.id.eunis_msfd_relevant_classification_json = EUNISMSFDWidget;
|
|
256
|
+
config.widgets.views.id.eunis_msfd_relevant_classification_json =
|
|
257
|
+
EUNISMSFDView;
|
|
258
|
+
config.widgets.views.id.eunis_code = EUNISCodeView;
|
|
259
|
+
|
|
224
260
|
return config;
|
|
225
261
|
};
|
|
226
262
|
|
|
@@ -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
|
}
|