invenio-app-rdm 13.0.0b2.dev6__py2.py3-none-any.whl → 13.0.0b2.dev7__py2.py3-none-any.whl

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.
@@ -0,0 +1,48 @@
1
+ // This file is part of InvenioRDM
2
+ // Copyright (C) 2025 CERN.
3
+ //
4
+ // Invenio APP RDM is free software; you can redistribute it and/or modify it
5
+ // under the terms of the MIT License; see LICENSE file for more details.
6
+ import { i18next } from "@translations/invenio_app_rdm/i18next";
7
+
8
+ const depositFormSectionsConfig = {
9
+ "files-section": ["files.enabled"],
10
+ "basic-information-section": [
11
+ "pids.doi",
12
+ "metadata.resource_type",
13
+ "metadata.title",
14
+ "metadata.additional_titles",
15
+ "metadata.publication_date",
16
+ "metadata.creators",
17
+ "metadata.description",
18
+ "metadata.additional_descriptions",
19
+ "metadata.rights",
20
+ ],
21
+ "recommended-information-section": [
22
+ "metadata.contributors",
23
+ "metadata.subjects",
24
+ "metadata.languages",
25
+ "metadata.dates",
26
+ "metadata.version",
27
+ "metadata.publisher",
28
+ ],
29
+ "funding-section": ["metadata.funding"],
30
+ "alternate-identifiers-section": ["metadata.identifiers"],
31
+ "related-works-section": ["metadata.related_identifiers"],
32
+ "visibility-section": ["access.files", "access.embargo.until"],
33
+ };
34
+
35
+ const severityChecksConfig = {
36
+ info: {
37
+ label: i18next.t("Recommended"),
38
+ description: i18next.t("This check is recommended but not mandatory."),
39
+ },
40
+ error: {
41
+ label: i18next.t("Error"),
42
+ description: i18next.t(
43
+ "This check indicates a critical issue that must be addressed."
44
+ ),
45
+ },
46
+ };
47
+
48
+ export { depositFormSectionsConfig, severityChecksConfig };
@@ -155,7 +155,6 @@
155
155
 
156
156
  .generate-ck-editor-heights(30);
157
157
 
158
-
159
158
  .ui.form .success.message,
160
159
  .ui.form .warning.message,
161
160
  .ui.form .error.message {
@@ -3,3 +3,5 @@
3
3
  ***********************************************/
4
4
 
5
5
  @infoTextColor: #0e576c;
6
+ @infoBackgroundColor: #f8ffff;
7
+ @infoBorderColor: #a9d5de;
@@ -28,6 +28,18 @@
28
28
  &.transparent {
29
29
  background-color: transparent;
30
30
  }
31
+
32
+ &.info {
33
+ border: 1px solid @infoBorderColor;
34
+ background-color: @infoBackgroundColor;
35
+ color: @infoTextColor;
36
+ }
37
+
38
+ &.warning {
39
+ border: 1px solid @warningColor;
40
+ background-color: @warningBackgroundColor;
41
+ color: @warningColor;
42
+ }
31
43
  }
32
44
 
33
45
  .subject {
@@ -84,3 +96,21 @@ label.mobile-hidden {
84
96
  display: none;
85
97
  }
86
98
  }
99
+
100
+
101
+ .ui.form .accordion-label {
102
+ padding: 0.5rem 0.7rem !important;
103
+ margin-left: 1rem;
104
+ &.error {
105
+ background-color: @errorTextColor;
106
+ color: white;
107
+ }
108
+ &.info {
109
+ background-color: @infoBackgroundColor;
110
+ color: @infoTextColor;
111
+ }
112
+ &.warning {
113
+ background-color: @warningBackgroundColor;
114
+ color: @warningTextColor;
115
+ }
116
+ }
@@ -47,13 +47,13 @@ div.affiliations.accordion div.title button.down {
47
47
 
48
48
  &.error {
49
49
  .title {
50
- background-color: @red;
50
+ background-color: @red !important;
51
51
  }
52
52
 
53
53
  &.secondary.inverted {
54
54
  .title {
55
- background: @secondaryInvertedRedBackground;
56
- color: @secondaryInvertedColor;
55
+ background: @secondaryInvertedRedBackground !important;
56
+ color: @secondaryInvertedColor !important;
57
57
  }
58
58
 
59
59
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: invenio-app-rdm
3
- Version: 13.0.0b2.dev6
3
+ Version: 13.0.0b2.dev7
4
4
  Summary: Invenio Research Data Management.
5
5
  Home-page: https://github.com/inveniosoftware/invenio-app-rdm
6
6
  Author: CERN
@@ -96,6 +96,15 @@ https://inveniordm.docs.cern.ch
96
96
  Changes
97
97
  =======
98
98
 
99
+ Version v13.0.0b2.dev7 (released 2025-03-18)
100
+
101
+ - deposit: refactor section config in RDMDepositForm
102
+ - added anchor ids, made form overridable
103
+ - added section path in config
104
+ - added styling for error messages
105
+ - added severity checks config
106
+ - added css for accordion labels
107
+
99
108
  Version v13.0.0b2.dev6 (released 2025-03-12)
100
109
 
101
110
  - dashboard: enable shared filters for requests
@@ -1,4 +1,4 @@
1
- invenio_app_rdm/__init__.py,sha256=TJi13KcwlGI8UhKWeMD53CLEFZMVqNHud-e9kwA0pq0,699
1
+ invenio_app_rdm/__init__.py,sha256=Vfk8HhoOlPLDVgMvc_RkFWbWwRKxA2b49Lq29tx2sp0,699
2
2
  invenio_app_rdm/cli.py,sha256=G6QqNU2W6n6ICtTMnpeKFXIsdorncDmVXwwwsGH5F2k,2746
3
3
  invenio_app_rdm/config.py,sha256=aQHeG7QxiKx01eDi1Xo7hsOfyAfe_yb8SNrq-CDOYag,50448
4
4
  invenio_app_rdm/ext.py,sha256=PkZhATGJDgYqBJQh41NdvBZWR83mgI3Eej6rj10UVJE,5278
@@ -159,8 +159,9 @@ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/CopyButto
159
159
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/DisplayPartOfCommunities.js,sha256=bSmhuwSWk4CW80mqa4ZZbjfa-_NsiJ1IxQ9veDy6sAM,2751
160
160
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/DisplayVerifiedCommunity.js,sha256=m3rT8jJ3440ZX22zZog8bHatWltYXwvmw_tu6tJUM9k,1506
161
161
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/RecordsResultsListItem.js,sha256=HebeMbQhYrQh4KYBYklD_mF6VzbhiRKd8677laAKVtw,6582
162
- invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/RDMDepositForm.js,sha256=7Sotq28SBmJE6j59Z7K786LRQxld-dVSmebaFKwhaok,29139
162
+ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/RDMDepositForm.js,sha256=j-doumLFHe_zWKuYgc2S0e4I7aJmbdXwjd44T5y31Zc,31588
163
163
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/ShareDraftButton.js,sha256=ICMV4Ixe-nTe6q7COZ0oyAQf2nVp2cez_-iUZobwUD0,1998
164
+ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/config.js,sha256=SXjTqsFsOt4yKsyobuPpCs4zDKb2EDqgoGY2-EbNRgQ,1453
164
165
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/index.js,sha256=gA0BaUFpaJr9nkmHSWoxuwKDfSD3JUTPcadj2TKHN24,1587
165
166
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/frontpage/RecordsList.js,sha256=PkLpiCl7sNSlQoCo7xxZ_H6QvWqK_TydoseIiKvtuMw,4176
166
167
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/frontpage/index.js,sha256=X0tsSvLwGPzSFQEf4J1zPZbFRCiYeJq5CnEXr_J5LsU,900
@@ -221,14 +222,14 @@ invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/landing_page/creat
221
222
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/landing_page/licenses.less,sha256=SumVdXtD3IBMvOBUk3JiW-wD4Xy5ASEG1v4wwrsPrBI,1352
222
223
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/previewer/iiif_simple.less,sha256=EH1nrWuEFjfcrXrsbC82pTQqWQ2xAELSTtIkpRpar8I,326
223
224
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/theme.less,sha256=Qf4srjQoY4uAw___JDsrMhLRHTY39e5DEFyE5QlfBTg,1959
224
- invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/form.overrides,sha256=E_QqScAyDrrNj-LnRZWTeSPPh6JVTFZfbZpX8h5XhOw,3292
225
+ invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/form.overrides,sha256=KQ4zXjP5z9-WAq4vn_lSQ6QunZf0jApC5GqU6-Mi2tY,3291
225
226
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/form.variables,sha256=GO_q0qcm7zp3CD8FWAhmRItZE2X5oXh44REfeZRiK8s,138
226
227
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/grid.overrides,sha256=P6H7CwpBhbO3BFN-G-cNkm5TM2rpZlFcoj0XvHTF6UQ,2497
227
228
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/grid.variables,sha256=E_bmQXqxqXc-hGMQcjPEe5cf2TiKbigXZE6rHWD25Rg,138
228
229
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/menu.overrides,sha256=lz4PhpPS70FiC98Jzd9hTaZK2d8--Ibkwtb8EJ6n0ss,7005
229
230
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/menu.variables,sha256=PFeBxa0v967OzZmbh0wQDjraWqO2J0y4W2wOg0zKXts,138
230
231
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/message.overrides,sha256=jbRxKT6bPKXWBtJd_DkqeQ5ycS6Zrw2_qGFZ7OwKat4,770
231
- invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/message.variables,sha256=B838Oi88VKx7GGl24FBAqyA_G7zr8oJW1JXZz5tgqhY,167
232
+ invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/message.variables,sha256=mDRGjqL2avCh326NEin4h0z7bTP9QiE0nQxV_c9X40k,224
232
233
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/table.overrides,sha256=x26vg15BUVB4OjSbIol0EGY2XF9NlPDMvfRIsYl-ots,4104
233
234
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/table.variables,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
234
235
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/elements/button.overrides,sha256=QestyL7BrYQVskNiPIk3YEJKXVzJJLn4UbNnTV7N-aA,1388
@@ -243,7 +244,7 @@ invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/elements/ima
243
244
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/elements/image.variables,sha256=gXCKQed591RpTt0kwb3OhfbwgW-cqH7NCITrI4nwTFs,140
244
245
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/elements/input.overrides,sha256=B04R2Po_-cresBpAkb0uU8z1wFRMsKl6qgn7A8H0zdw,1162
245
246
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/elements/input.variables,sha256=E7q0cXRjNsXTs-sDQg4qiaQNoKzAoyZf_XOqnUkdGRI,188
246
- invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/elements/label.overrides,sha256=BmEftl64xqPFnEEBhQ_BgcfPT_HeuNT29pzLYuQHDtU,1653
247
+ invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/elements/label.overrides,sha256=g3RxH4Q4bEBOkYw6i2A5NFoOfZfupErPR9swOJbf1P0,2252
247
248
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/elements/label.variables,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
248
249
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/elements/list.overrides,sha256=RKN6Af9Z-6Pcr35BAsLVgGsffvVY7gRSCQNcXiWoaeA,1230
249
250
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/elements/list.variables,sha256=L0zqf9xGuTv8-KIjV1k43hiC397Z-4fbj2yKHCAq8HE,138
@@ -253,7 +254,7 @@ invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/rese
253
254
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/reset.variables,sha256=Luyh-V1w5wDFv2j77bYmTxfn22Cp7h1vLjRsqhf207Y,139
254
255
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/site.overrides,sha256=Okd5gBx3clt63UUmvSOb1PlHwDEB7-Th9DUJ4LNAXmw,9010
255
256
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/site.variables,sha256=j59x9AQ5p4omynVitye2tIM3h0GCXSqcajNYJElKxjI,3043
256
- invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/accordion.overrides,sha256=7SK2kGZU-KMda2SVbuLfP-6hk0vTe_4gFk6O_RvU_hs,3306
257
+ invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/accordion.overrides,sha256=l579RQL56DrLyWEG2Tahm-355u6ESWqOf-hZpJrcS8E,3339
257
258
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/accordion.variables,sha256=JFUnfiL_Xve48EwxRjYq0T-QJA8jboC606L08IjrBXg,322
258
259
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/checkbox.overrides,sha256=VV-V1ez1AT-2ULq8kh9akUZncGOx6ESGnEUqDlvRihY,137
259
260
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/checkbox.variables,sha256=fknu9A-l5L6-tH7KOYKK6cHhxx8cKMlig7EGYI7zIU0,137
@@ -555,9 +556,9 @@ tests/ui/test_filters.py,sha256=Q90wsJffjMVir7wNX8taGf2KZleLtPbXZXHLTkBpzLA,284
555
556
  tests/ui/test_signposting_ui.py,sha256=KCSjQlMD2VKlwQCyZYDwYjtVNL35x3u-ZC4ceD5y21w,3847
556
557
  tests/ui/test_static.py,sha256=vO3OQAOhrQESJifnQfM1pw7JYz3J874O8BAb7Cc_PPA,868
557
558
  tests/ui/test_stats_ui.py,sha256=LHa_0hjvpYvliSk_jknWy-90CO82jVElUfK5Ua_ZmfA,3554
558
- invenio_app_rdm-13.0.0b2.dev6.dist-info/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
559
- invenio_app_rdm-13.0.0b2.dev6.dist-info/METADATA,sha256=L76gftPXKG7ha0IMI00JfISLwgsHYNj2eas-v41V4_g,11065
560
- invenio_app_rdm-13.0.0b2.dev6.dist-info/WHEEL,sha256=SrDKpSbFN1G94qcmBqS9nyHcDMp9cUS9OC06hC0G3G0,109
561
- invenio_app_rdm-13.0.0b2.dev6.dist-info/entry_points.txt,sha256=r1vTqYNABeWqRMWitzyR9FnBsAy-KYZKZCp95IziyLY,2070
562
- invenio_app_rdm-13.0.0b2.dev6.dist-info/top_level.txt,sha256=NqTqrntInEAci7EXcNBvouXFMqwyjVQhEI0b7izYRBY,22
563
- invenio_app_rdm-13.0.0b2.dev6.dist-info/RECORD,,
559
+ invenio_app_rdm-13.0.0b2.dev7.dist-info/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
560
+ invenio_app_rdm-13.0.0b2.dev7.dist-info/METADATA,sha256=M8jSpZCEXYAD96o9Y4sDHgmBou1If8tWmJtOF_2DRNo,11357
561
+ invenio_app_rdm-13.0.0b2.dev7.dist-info/WHEEL,sha256=Kol19cahXavY536r5Aj6aAgK_6CmctrOu3bgNJMSNJA,109
562
+ invenio_app_rdm-13.0.0b2.dev7.dist-info/entry_points.txt,sha256=r1vTqYNABeWqRMWitzyR9FnBsAy-KYZKZCp95IziyLY,2070
563
+ invenio_app_rdm-13.0.0b2.dev7.dist-info/top_level.txt,sha256=NqTqrntInEAci7EXcNBvouXFMqwyjVQhEI0b7izYRBY,22
564
+ invenio_app_rdm-13.0.0b2.dev7.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (76.0.0)
2
+ Generator: setuptools (76.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any