@eeacms/volto-widget-toggle 3.1.1 → 3.1.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/.husky/pre-commit +2 -0
- package/CHANGELOG.md +20 -0
- package/DEVELOP.md +66 -12
- package/README.md +27 -10
- package/cypress.config.js +2 -2
- package/docker-compose.yml +32 -0
- package/locales/de/LC_MESSAGES/volto.po +14 -0
- package/locales/en/LC_MESSAGES/volto.po +14 -0
- package/locales/it/LC_MESSAGES/volto.po +14 -0
- package/locales/ro/LC_MESSAGES/volto.po +14 -0
- package/locales/volto.pot +16 -0
- package/package.json +38 -10
- package/src/components/index.js +1 -1
- package/src/components/manage/Widgets/CheckboxWidget.test.jsx +65 -0
- package/.i18n.babel.config.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,26 @@ 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.1.3](https://github.com/eea/volto-widget-toggle/compare/3.1.2...3.1.3) - 29 September 2023
|
|
8
|
+
|
|
9
|
+
#### :house: Internal changes
|
|
10
|
+
|
|
11
|
+
- style: lint-staged reorder in package.json [Alin Voinea - [`e76a014`](https://github.com/eea/volto-widget-toggle/commit/e76a0149a1b5fb842e0c4f9f1cff8c2628faa75a)]
|
|
12
|
+
|
|
13
|
+
#### :house: Documentation changes
|
|
14
|
+
|
|
15
|
+
- docs: Update README and DEVELOP [Alin Voinea - [`3a26f66`](https://github.com/eea/volto-widget-toggle/commit/3a26f66d8abf5f4dcd9f963e2671f64009d5e0d6)]
|
|
16
|
+
- docs: Cleanup Makefile, update DEVELOP documentation, i18n - refs #254894 [valentinab25 - [`01571f4`](https://github.com/eea/volto-widget-toggle/commit/01571f44314839c25a206d0991f2b079c704ffcb)]
|
|
17
|
+
|
|
18
|
+
#### :hammer_and_wrench: Others
|
|
19
|
+
|
|
20
|
+
- test: EN locales, pre-commit fix, feature PRs checks Refs #257193 [valentinab25 - [`b2f509e`](https://github.com/eea/volto-widget-toggle/commit/b2f509eb236e0beeccfc8bc89f4c6527a3fca223)]
|
|
21
|
+
- test: Fix package.json scripts to use makefile [Alin Voinea - [`72e8245`](https://github.com/eea/volto-widget-toggle/commit/72e8245a4741988849eaa73e5fd238ff6d340fa9)]
|
|
22
|
+
- test: Fix eslint and yarn i18n [Alin Voinea - [`034eaf8`](https://github.com/eea/volto-widget-toggle/commit/034eaf890faa3a9c09aa6f4ddca1bc04e46782a8)]
|
|
23
|
+
- i18n: Add en [Alin Voinea - [`e60d799`](https://github.com/eea/volto-widget-toggle/commit/e60d799a64230544e37e1f4796dc73bbc0e674c6)]
|
|
24
|
+
- test: Update Makefile and docker-compose to align it with Jenkinsfile [valentinab25 - [`f86b2f7`](https://github.com/eea/volto-widget-toggle/commit/f86b2f7119f24b637e8bc8101effc2c2c3416a65)]
|
|
25
|
+
### [3.1.2](https://github.com/eea/volto-widget-toggle/compare/3.1.1...3.1.2) - 24 July 2023
|
|
26
|
+
|
|
7
27
|
### [3.1.1](https://github.com/eea/volto-widget-toggle/compare/3.1.0...3.1.1) - 12 June 2023
|
|
8
28
|
|
|
9
29
|
#### :hammer_and_wrench: Others
|
package/DEVELOP.md
CHANGED
|
@@ -2,18 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
## Develop
|
|
4
4
|
|
|
5
|
+
1. Make sure you have `docker` and `docker compose` installed and running on your machine:
|
|
6
|
+
|
|
7
|
+
```Bash
|
|
8
|
+
git clone https://github.com/eea/volto-widget-toggle.git
|
|
9
|
+
cd volto-widget-toggle
|
|
10
|
+
git checkout -b bugfix-123456 develop
|
|
11
|
+
make
|
|
12
|
+
make start
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
1. Wait for `Volto started at 0.0.0.0:3000` meesage
|
|
16
|
+
|
|
17
|
+
1. Go to http://localhost:3000
|
|
18
|
+
|
|
19
|
+
1. Initialize git hooks
|
|
20
|
+
|
|
21
|
+
```Bash
|
|
22
|
+
yarn prepare
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
1. Happy hacking!
|
|
26
|
+
|
|
27
|
+
### Or add @eeacms/volto-widget-toggle to your Volto project
|
|
28
|
+
|
|
5
29
|
Before starting make sure your development environment is properly set. See [Volto Developer Documentation](https://docs.voltocms.com/getting-started/install/)
|
|
6
30
|
|
|
7
31
|
1. Make sure you have installed `yo`, `@plone/generator-volto` and `mrs-developer`
|
|
8
32
|
|
|
9
|
-
|
|
10
|
-
$ npm install -g @plone/generator-volto
|
|
11
|
-
$ npm install -g mrs-developer
|
|
33
|
+
npm install -g yo @plone/generator-volto mrs-developer
|
|
12
34
|
|
|
13
35
|
1. Create new volto app
|
|
14
36
|
|
|
15
|
-
|
|
16
|
-
|
|
37
|
+
yo @plone/volto my-volto-project --addon @eeacms/volto-widget-toggle --skip-install
|
|
38
|
+
cd my-volto-project
|
|
17
39
|
|
|
18
40
|
1. Add the following to `mrs.developer.json`:
|
|
19
41
|
|
|
@@ -28,25 +50,57 @@ Before starting make sure your development environment is properly set. See [Vol
|
|
|
28
50
|
|
|
29
51
|
1. Install
|
|
30
52
|
|
|
31
|
-
|
|
32
|
-
|
|
53
|
+
make develop
|
|
54
|
+
yarn
|
|
33
55
|
|
|
34
56
|
1. Start backend
|
|
35
57
|
|
|
36
|
-
|
|
58
|
+
docker run --pull always -it --rm --name plone -p 8080:8080 -e SITE=Plone plone/plone-backend
|
|
37
59
|
|
|
38
60
|
...wait for backend to setup and start - `Ready to handle requests`:
|
|
39
61
|
|
|
40
|
-
$ docker logs -f plone
|
|
41
|
-
|
|
42
62
|
...you can also check http://localhost:8080/Plone
|
|
43
63
|
|
|
44
64
|
1. Start frontend
|
|
45
65
|
|
|
46
|
-
|
|
66
|
+
yarn start
|
|
47
67
|
|
|
48
68
|
1. Go to http://localhost:3000
|
|
49
69
|
|
|
50
70
|
1. Happy hacking!
|
|
51
71
|
|
|
52
|
-
|
|
72
|
+
cd src/addons/volto-widget-toggle/
|
|
73
|
+
|
|
74
|
+
## Cypress
|
|
75
|
+
|
|
76
|
+
To run cypress locally, first make sure you don't have any Volto/Plone running on ports `8080` and `3000`.
|
|
77
|
+
|
|
78
|
+
You don't have to be in a `clean-volto-project`, you can be in any Volto Frontend
|
|
79
|
+
project where you added `volto-widget-toggle` to `mrs.developer.json`
|
|
80
|
+
|
|
81
|
+
Go to:
|
|
82
|
+
|
|
83
|
+
```BASH
|
|
84
|
+
cd src/addons/volto-widget-toggle/
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Start:
|
|
88
|
+
|
|
89
|
+
```Bash
|
|
90
|
+
make
|
|
91
|
+
make start
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
This will build and start with Docker a clean `Plone backend` and `Volto Frontend` with `volto-widget-toggle` block installed.
|
|
95
|
+
|
|
96
|
+
Open Cypress Interface:
|
|
97
|
+
|
|
98
|
+
```Bash
|
|
99
|
+
make cypress-open
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Or run it:
|
|
103
|
+
|
|
104
|
+
```Bash
|
|
105
|
+
make cypress-run
|
|
106
|
+
```
|
package/README.md
CHANGED
|
@@ -22,17 +22,26 @@
|
|
|
22
22
|
|
|
23
23
|
## Getting started
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
### Try volto-widget-toggle with Docker
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
git clone https://github.com/eea/volto-widget-toggle.git
|
|
28
|
+
cd volto-widget-toggle
|
|
29
|
+
make
|
|
30
|
+
make start
|
|
31
|
+
|
|
32
|
+
Go to http://localhost:3000
|
|
33
|
+
|
|
34
|
+
### Add volto-widget-toggle to your Volto project
|
|
30
35
|
|
|
31
|
-
|
|
32
|
-
|
|
36
|
+
1. Make sure you have a [Plone backend](https://plone.org/download) up-and-running at http://localhost:8080/Plone
|
|
37
|
+
|
|
38
|
+
```Bash
|
|
39
|
+
docker compose up backend
|
|
33
40
|
```
|
|
34
41
|
|
|
35
|
-
1.
|
|
42
|
+
1. Start Volto frontend
|
|
43
|
+
|
|
44
|
+
* If you already have a volto project, just update `package.json`:
|
|
36
45
|
|
|
37
46
|
```JSON
|
|
38
47
|
"addons": [
|
|
@@ -40,15 +49,23 @@
|
|
|
40
49
|
],
|
|
41
50
|
|
|
42
51
|
"dependencies": {
|
|
43
|
-
"@eeacms/volto-widget-toggle": "
|
|
52
|
+
"@eeacms/volto-widget-toggle": "*"
|
|
44
53
|
}
|
|
45
54
|
```
|
|
46
55
|
|
|
56
|
+
* If not, create one:
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
npm install -g yo @plone/generator-volto
|
|
60
|
+
yo @plone/volto my-volto-project --canary --addon @eeacms/volto-widget-toggle
|
|
61
|
+
cd my-volto-project
|
|
62
|
+
```
|
|
63
|
+
|
|
47
64
|
1. Install new add-ons and restart Volto:
|
|
48
65
|
|
|
49
66
|
```
|
|
50
|
-
|
|
51
|
-
|
|
67
|
+
yarn
|
|
68
|
+
yarn start
|
|
52
69
|
```
|
|
53
70
|
|
|
54
71
|
1. Go to http://localhost:3000
|
package/cypress.config.js
CHANGED
|
@@ -2,12 +2,12 @@ const { defineConfig } = require('cypress');
|
|
|
2
2
|
|
|
3
3
|
module.exports = defineConfig({
|
|
4
4
|
viewportWidth: 1280,
|
|
5
|
-
defaultCommandTimeout:
|
|
5
|
+
defaultCommandTimeout: 5000,
|
|
6
6
|
chromeWebSecurity: false,
|
|
7
7
|
reporter: 'junit',
|
|
8
8
|
video: true,
|
|
9
9
|
retries: {
|
|
10
|
-
runMode:
|
|
10
|
+
runMode: 1,
|
|
11
11
|
openMode: 0,
|
|
12
12
|
},
|
|
13
13
|
reporterOptions: {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
version: "3"
|
|
2
|
+
services:
|
|
3
|
+
backend:
|
|
4
|
+
image: eeacms/plone-backend
|
|
5
|
+
ports:
|
|
6
|
+
- "8080:8080"
|
|
7
|
+
environment:
|
|
8
|
+
SITE: "Plone"
|
|
9
|
+
PROFILES: "eea.kitkat:testing"
|
|
10
|
+
|
|
11
|
+
frontend:
|
|
12
|
+
build:
|
|
13
|
+
context: ./
|
|
14
|
+
dockerfile: ./Dockerfile
|
|
15
|
+
args:
|
|
16
|
+
ADDON_NAME: "${ADDON_NAME}"
|
|
17
|
+
ADDON_PATH: "${ADDON_PATH}"
|
|
18
|
+
VOLTO_VERSION: ${VOLTO_VERSION:-16}
|
|
19
|
+
ports:
|
|
20
|
+
- "3000:3000"
|
|
21
|
+
- "3001:3001"
|
|
22
|
+
depends_on:
|
|
23
|
+
- backend
|
|
24
|
+
volumes:
|
|
25
|
+
- ./:/app/src/addons/${ADDON_PATH}
|
|
26
|
+
environment:
|
|
27
|
+
CI: "true"
|
|
28
|
+
NODE_ENV: "development"
|
|
29
|
+
RAZZLE_JEST_CONFIG: "src/addons/${ADDON_PATH}/jest-addon.config.js"
|
|
30
|
+
RAZZLE_INTERNAL_API_PATH: "http://backend:8080/Plone"
|
|
31
|
+
RAZZLE_DEV_PROXY_API_PATH: "http://backend:8080/Plone"
|
|
32
|
+
HOST: "0.0.0.0"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
msgid ""
|
|
2
|
+
msgstr ""
|
|
3
|
+
"Project-Id-Version: \n"
|
|
4
|
+
"Report-Msgid-Bugs-To: \n"
|
|
5
|
+
"POT-Creation-Date: \n"
|
|
6
|
+
"PO-Revision-Date: \n"
|
|
7
|
+
"Last-Translator: \n"
|
|
8
|
+
"Language: \n"
|
|
9
|
+
"Language-Team: \n"
|
|
10
|
+
"Content-Type: \n"
|
|
11
|
+
"Content-Transfer-Encoding: \n"
|
|
12
|
+
"Plural-Forms: \n"
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
msgid ""
|
|
2
|
+
msgstr ""
|
|
3
|
+
"Project-Id-Version: \n"
|
|
4
|
+
"Report-Msgid-Bugs-To: \n"
|
|
5
|
+
"POT-Creation-Date: \n"
|
|
6
|
+
"PO-Revision-Date: \n"
|
|
7
|
+
"Last-Translator: \n"
|
|
8
|
+
"Language: \n"
|
|
9
|
+
"Language-Team: \n"
|
|
10
|
+
"Content-Type: \n"
|
|
11
|
+
"Content-Transfer-Encoding: \n"
|
|
12
|
+
"Plural-Forms: \n"
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
msgid ""
|
|
2
|
+
msgstr ""
|
|
3
|
+
"Project-Id-Version: \n"
|
|
4
|
+
"Report-Msgid-Bugs-To: \n"
|
|
5
|
+
"POT-Creation-Date: \n"
|
|
6
|
+
"PO-Revision-Date: \n"
|
|
7
|
+
"Last-Translator: \n"
|
|
8
|
+
"Language: \n"
|
|
9
|
+
"Language-Team: \n"
|
|
10
|
+
"Content-Type: \n"
|
|
11
|
+
"Content-Transfer-Encoding: \n"
|
|
12
|
+
"Plural-Forms: \n"
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
msgid ""
|
|
2
|
+
msgstr ""
|
|
3
|
+
"Project-Id-Version: \n"
|
|
4
|
+
"Report-Msgid-Bugs-To: \n"
|
|
5
|
+
"POT-Creation-Date: \n"
|
|
6
|
+
"PO-Revision-Date: \n"
|
|
7
|
+
"Last-Translator: \n"
|
|
8
|
+
"Language: \n"
|
|
9
|
+
"Language-Team: \n"
|
|
10
|
+
"Content-Type: \n"
|
|
11
|
+
"Content-Transfer-Encoding: \n"
|
|
12
|
+
"Plural-Forms: \n"
|
|
13
|
+
|
|
14
|
+
|
package/locales/volto.pot
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
msgid ""
|
|
2
|
+
msgstr ""
|
|
3
|
+
"Project-Id-Version: Plone\n"
|
|
4
|
+
"POT-Creation-Date: 2023-06-28T10:48:22.678Z\n"
|
|
5
|
+
"Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
6
|
+
"Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
7
|
+
"MIME-Version: 1.0\n"
|
|
8
|
+
"Content-Type: text/plain; charset=utf-8\n"
|
|
9
|
+
"Content-Transfer-Encoding: 8bit\n"
|
|
10
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
11
|
+
"Language-Code: en\n"
|
|
12
|
+
"Language-Name: English\n"
|
|
13
|
+
"Preferred-Encodings: utf-8\n"
|
|
14
|
+
"Domain: volto\n"
|
|
15
|
+
|
|
16
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-widget-toggle",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "volto-widget-toggle: Volto add-on to replace checkboxes with toggle buttons",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": "European Environment Agency: IDM2 A-Team",
|
|
@@ -22,21 +22,49 @@
|
|
|
22
22
|
"@cypress/code-coverage": "^3.10.0",
|
|
23
23
|
"@plone/scripts": "*",
|
|
24
24
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
25
|
+
"husky": "*",
|
|
26
|
+
"lint-staged": "*",
|
|
25
27
|
"md5": "^2.3.0"
|
|
26
28
|
},
|
|
29
|
+
"lint-staged": {
|
|
30
|
+
"src/**/*.{js,jsx,ts,tsx,json}": [
|
|
31
|
+
"make lint-fix",
|
|
32
|
+
"make prettier-fix"
|
|
33
|
+
],
|
|
34
|
+
"src/**/*.{jsx}": [
|
|
35
|
+
"make i18n"
|
|
36
|
+
],
|
|
37
|
+
"theme/**/*.{css,less}": [
|
|
38
|
+
"make stylelint-fix"
|
|
39
|
+
],
|
|
40
|
+
"src/**/*.{css,less}": [
|
|
41
|
+
"make stylelint-fix"
|
|
42
|
+
],
|
|
43
|
+
"theme/**/*.overrides": [
|
|
44
|
+
"make stylelint-fix"
|
|
45
|
+
],
|
|
46
|
+
"src/**/*.overrides": [
|
|
47
|
+
"make stylelint-fix"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
27
50
|
"scripts": {
|
|
28
51
|
"release": "release-it",
|
|
29
52
|
"release-major-beta": "release-it major --preRelease=beta",
|
|
30
53
|
"release-beta": "release-it --preRelease=beta",
|
|
31
54
|
"bootstrap": "npm install -g ejs; npm link ejs; node bootstrap",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
55
|
+
"test": "make test",
|
|
56
|
+
"test:fix": "make test-update",
|
|
57
|
+
"pre-commit": "yarn stylelint:fix && yarn prettier:fix && yarn lint:fix",
|
|
58
|
+
"stylelint": "make stylelint",
|
|
59
|
+
"stylelint:overrides": "make stylelint-overrides",
|
|
60
|
+
"stylelint:fix": "make stylelint-fix",
|
|
61
|
+
"prettier": "make prettier",
|
|
62
|
+
"prettier:fix": "make prettier-fix",
|
|
63
|
+
"lint": "make lint",
|
|
64
|
+
"lint:fix": "make lint-fix",
|
|
65
|
+
"i18n": "make i18n",
|
|
66
|
+
"cypress:run": "make cypress-run",
|
|
67
|
+
"cypress:open": "make cypress-open",
|
|
68
|
+
"prepare": "husky install"
|
|
41
69
|
}
|
|
42
70
|
}
|
package/src/components/index.js
CHANGED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { render } from '@testing-library/react';
|
|
3
|
+
import { Provider } from 'react-intl-redux';
|
|
4
|
+
import CheckboxWidget from './CheckboxWidget';
|
|
5
|
+
import configureStore from 'redux-mock-store';
|
|
6
|
+
import '@testing-library/jest-dom/extend-expect';
|
|
7
|
+
|
|
8
|
+
const mockStore = configureStore([]);
|
|
9
|
+
const store = mockStore({
|
|
10
|
+
intl: {
|
|
11
|
+
locale: 'en',
|
|
12
|
+
messages: {},
|
|
13
|
+
formatMessage: jest.fn(),
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
const mockOnChange = jest.fn();
|
|
18
|
+
|
|
19
|
+
describe('CheckboxWidget', () => {
|
|
20
|
+
beforeEach(() => {
|
|
21
|
+
jest.clearAllMocks();
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
it('renders a checkbox', () => {
|
|
25
|
+
const { getByText } = render(
|
|
26
|
+
<Provider store={store} locale="en">
|
|
27
|
+
<CheckboxWidget
|
|
28
|
+
id="test"
|
|
29
|
+
title="Test Checkbox"
|
|
30
|
+
onChange={mockOnChange}
|
|
31
|
+
/>
|
|
32
|
+
</Provider>,
|
|
33
|
+
);
|
|
34
|
+
expect(getByText('Test Checkbox')).toBeInTheDocument();
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
it('sets a default value if given', () => {
|
|
38
|
+
render(
|
|
39
|
+
<Provider store={store} locale="en">
|
|
40
|
+
<CheckboxWidget
|
|
41
|
+
id="test"
|
|
42
|
+
title="Test Checkbox"
|
|
43
|
+
onChange={mockOnChange}
|
|
44
|
+
defaultValue={true}
|
|
45
|
+
/>
|
|
46
|
+
</Provider>,
|
|
47
|
+
);
|
|
48
|
+
expect(mockOnChange).toHaveBeenCalledWith('test', true);
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
it('does not set a default value if already having a value', () => {
|
|
52
|
+
render(
|
|
53
|
+
<Provider store={store} locale="en">
|
|
54
|
+
<CheckboxWidget
|
|
55
|
+
id="test"
|
|
56
|
+
title="Test Checkbox"
|
|
57
|
+
onChange={mockOnChange}
|
|
58
|
+
value={false}
|
|
59
|
+
defaultValue={true}
|
|
60
|
+
/>
|
|
61
|
+
</Provider>,
|
|
62
|
+
);
|
|
63
|
+
expect(mockOnChange).not.toHaveBeenCalled();
|
|
64
|
+
});
|
|
65
|
+
});
|
package/.i18n.babel.config.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('@plone/volto/babel');
|