WIP Migrate to stimulus.js

This commit is contained in:
Björn Fromme
2021-08-15 19:10:32 +02:00
parent eed8af3bd4
commit f2b6f89633
72 changed files with 1680 additions and 1284 deletions
+124 -1
View File
@@ -17,6 +17,7 @@
"bourbon": "^4.3.2",
"cookieconsent": "^3.1.0",
"dayjs": "^1.10.6",
"es6-slide-up-down": "^1.0.0",
"flatpickr": "^4.6.9",
"font-awesome": "^4.7.0",
"glightbox": "^3.0.9",
@@ -28,11 +29,14 @@
"picturefill": "^3.0.3",
"slick-carousel": "^1.8.1",
"sticky-js": "^1.3.0",
"stimulus": "^2.0.0",
"stimulus-use": "^0.25.4",
"vue": "^2.6.14",
"vue-router": "^3.5.2",
"vue-scrollto": "^2.20.0",
"vue-session": "^1.0.0",
"vuex": "^3.6.2"
"vuex": "^3.6.2",
"whatwg-fetch": "^3.6.2"
},
"devDependencies": {
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
@@ -1650,6 +1654,32 @@
"resolved": "https://registry.npmjs.org/@splidejs/splide/-/splide-2.4.21.tgz",
"integrity": "sha512-LdIwSnmNsGybCCnA3QG2dOeRv/rQl46jf7FflXxMGX0ADYWyL6UJHWJbMZvHBi5I67uRJY1ga/W+CvJ39nH26A=="
},
"node_modules/@stimulus/core": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@stimulus/core/-/core-2.0.0.tgz",
"integrity": "sha512-ff70GafKtzc8zQ1/cG+UvL06GcifPWovf2wBEdjLMh9xO2GOYURO3y2RYgzIGYUIBefQwyfX2CLfJdZFJrEPTw==",
"dependencies": {
"@stimulus/mutation-observers": "^2.0.0"
}
},
"node_modules/@stimulus/multimap": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@stimulus/multimap/-/multimap-2.0.0.tgz",
"integrity": "sha512-pMBCewkZCFVB3e5mEMoyO9+9aKzHDITmf3OnPun51YWxlcPdHcwbjqm1ylK63fsoduIE+RowBpFwFqd3poEz4w=="
},
"node_modules/@stimulus/mutation-observers": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@stimulus/mutation-observers/-/mutation-observers-2.0.0.tgz",
"integrity": "sha512-kx4VAJdPhIGBQKGIoUDC2tupEKorG3A+ckc2b1UiwInKTMAC1axOHU8ebcwhaJIxRqIrs8//4SJo9YAAOx6FEg==",
"dependencies": {
"@stimulus/multimap": "^2.0.0"
}
},
"node_modules/@stimulus/webpack-helpers": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@stimulus/webpack-helpers/-/webpack-helpers-2.0.0.tgz",
"integrity": "sha512-D6tJWsAC024MwGEIKlUVYU8Ln87mlrmiwHvYAjipg+s8H4eLxUMQ3PZkWyPevfipH+oR3leuHsjYsK1gN5ViQA=="
},
"node_modules/@symfony/webpack-encore": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@symfony/webpack-encore/-/webpack-encore-1.5.0.tgz",
@@ -4305,6 +4335,11 @@
"es6-symbol": "^3.1.1"
}
},
"node_modules/es6-slide-up-down": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/es6-slide-up-down/-/es6-slide-up-down-1.0.0.tgz",
"integrity": "sha1-RTBJFkFvRliBBk6Q7t8SHTZmT14="
},
"node_modules/es6-symbol": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
@@ -5242,6 +5277,11 @@
"integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
"dev": true
},
"node_modules/hotkeys-js": {
"version": "3.8.7",
"resolved": "https://registry.npmjs.org/hotkeys-js/-/hotkeys-js-3.8.7.tgz",
"integrity": "sha512-ckAx3EkUr5XjDwjEHDorHxRO2Kb7z6Z2Sxul4MbBkN8Nho7XDslQsgMJT+CiJ5Z4TgRxxvKHEpuLE3imzqy4Lg=="
},
"node_modules/hpack.js": {
"version": "2.1.6",
"resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz",
@@ -9394,6 +9434,26 @@
"resolved": "https://registry.npmjs.org/sticky-js/-/sticky-js-1.3.0.tgz",
"integrity": "sha512-X5zWjFrw7c2xE4tUtSeK7I+1o252JOyZOlzxsu1Q9qZ6hlk2NCd9Sr/AFxf8hfGkLnE1Pak+iLaDyd883LFRgw=="
},
"node_modules/stimulus": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/stimulus/-/stimulus-2.0.0.tgz",
"integrity": "sha512-xipy7BS5TVpg4fX6S8LhrYZp7cmHGjmk09WSAiVx1gF5S5g43IWsuetfUhIk8HfHUG+4MQ9nY0FQz4dRFLs/8w==",
"dependencies": {
"@stimulus/core": "^2.0.0",
"@stimulus/webpack-helpers": "^2.0.0"
}
},
"node_modules/stimulus-use": {
"version": "0.25.4",
"resolved": "https://registry.npmjs.org/stimulus-use/-/stimulus-use-0.25.4.tgz",
"integrity": "sha512-Rr4m4PpcOni7y4KiwUMdCuUJ5IPE2LEELwoz8e+VB3jbfPb9DNjrurCTKCWT5BiPBrn9OEfhnWJIRPcbxUpQvQ==",
"dependencies": {
"hotkeys-js": ">=3"
},
"peerDependencies": {
"stimulus": ">=1.1.1 <3"
}
},
"node_modules/string_decoder": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
@@ -10835,6 +10895,11 @@
"node": ">=0.8.0"
}
},
"node_modules/whatwg-fetch": {
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz",
"integrity": "sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA=="
},
"node_modules/which": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
@@ -12236,6 +12301,32 @@
"resolved": "https://registry.npmjs.org/@splidejs/splide/-/splide-2.4.21.tgz",
"integrity": "sha512-LdIwSnmNsGybCCnA3QG2dOeRv/rQl46jf7FflXxMGX0ADYWyL6UJHWJbMZvHBi5I67uRJY1ga/W+CvJ39nH26A=="
},
"@stimulus/core": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@stimulus/core/-/core-2.0.0.tgz",
"integrity": "sha512-ff70GafKtzc8zQ1/cG+UvL06GcifPWovf2wBEdjLMh9xO2GOYURO3y2RYgzIGYUIBefQwyfX2CLfJdZFJrEPTw==",
"requires": {
"@stimulus/mutation-observers": "^2.0.0"
}
},
"@stimulus/multimap": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@stimulus/multimap/-/multimap-2.0.0.tgz",
"integrity": "sha512-pMBCewkZCFVB3e5mEMoyO9+9aKzHDITmf3OnPun51YWxlcPdHcwbjqm1ylK63fsoduIE+RowBpFwFqd3poEz4w=="
},
"@stimulus/mutation-observers": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@stimulus/mutation-observers/-/mutation-observers-2.0.0.tgz",
"integrity": "sha512-kx4VAJdPhIGBQKGIoUDC2tupEKorG3A+ckc2b1UiwInKTMAC1axOHU8ebcwhaJIxRqIrs8//4SJo9YAAOx6FEg==",
"requires": {
"@stimulus/multimap": "^2.0.0"
}
},
"@stimulus/webpack-helpers": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@stimulus/webpack-helpers/-/webpack-helpers-2.0.0.tgz",
"integrity": "sha512-D6tJWsAC024MwGEIKlUVYU8Ln87mlrmiwHvYAjipg+s8H4eLxUMQ3PZkWyPevfipH+oR3leuHsjYsK1gN5ViQA=="
},
"@symfony/webpack-encore": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@symfony/webpack-encore/-/webpack-encore-1.5.0.tgz",
@@ -14384,6 +14475,11 @@
"es6-symbol": "^3.1.1"
}
},
"es6-slide-up-down": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/es6-slide-up-down/-/es6-slide-up-down-1.0.0.tgz",
"integrity": "sha1-RTBJFkFvRliBBk6Q7t8SHTZmT14="
},
"es6-symbol": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
@@ -15116,6 +15212,11 @@
"integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
"dev": true
},
"hotkeys-js": {
"version": "3.8.7",
"resolved": "https://registry.npmjs.org/hotkeys-js/-/hotkeys-js-3.8.7.tgz",
"integrity": "sha512-ckAx3EkUr5XjDwjEHDorHxRO2Kb7z6Z2Sxul4MbBkN8Nho7XDslQsgMJT+CiJ5Z4TgRxxvKHEpuLE3imzqy4Lg=="
},
"hpack.js": {
"version": "2.1.6",
"resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz",
@@ -18251,6 +18352,23 @@
"resolved": "https://registry.npmjs.org/sticky-js/-/sticky-js-1.3.0.tgz",
"integrity": "sha512-X5zWjFrw7c2xE4tUtSeK7I+1o252JOyZOlzxsu1Q9qZ6hlk2NCd9Sr/AFxf8hfGkLnE1Pak+iLaDyd883LFRgw=="
},
"stimulus": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/stimulus/-/stimulus-2.0.0.tgz",
"integrity": "sha512-xipy7BS5TVpg4fX6S8LhrYZp7cmHGjmk09WSAiVx1gF5S5g43IWsuetfUhIk8HfHUG+4MQ9nY0FQz4dRFLs/8w==",
"requires": {
"@stimulus/core": "^2.0.0",
"@stimulus/webpack-helpers": "^2.0.0"
}
},
"stimulus-use": {
"version": "0.25.4",
"resolved": "https://registry.npmjs.org/stimulus-use/-/stimulus-use-0.25.4.tgz",
"integrity": "sha512-Rr4m4PpcOni7y4KiwUMdCuUJ5IPE2LEELwoz8e+VB3jbfPb9DNjrurCTKCWT5BiPBrn9OEfhnWJIRPcbxUpQvQ==",
"requires": {
"hotkeys-js": ">=3"
}
},
"string_decoder": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
@@ -19317,6 +19435,11 @@
"integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==",
"dev": true
},
"whatwg-fetch": {
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz",
"integrity": "sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA=="
},
"which": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",