feat: 🎨 Header formatting, moved loading store to layout, add svelte toy to layout on dev.

This commit is contained in:
Bradley Shellnut 2022-07-19 14:04:32 -07:00
parent deb7fcdb95
commit 6bb8f0ea3b
10 changed files with 246 additions and 353 deletions

View file

@ -2,6 +2,8 @@ lockfileVersion: 5.4
specifiers:
'@fontsource/fira-mono': ^4.5.8
'@leveluptuts/svelte-side-menu': ^0.0.4
'@leveluptuts/svelte-toy': ^2.0.0
'@lukeed/uuid': ^2.0.0
'@playwright/test': ^1.23.2
'@rgossiaux/svelte-headlessui': 1.0.2
@ -10,46 +12,48 @@ specifiers:
'@sveltejs/kit': next
'@types/cookie': ^0.5.1
'@types/node': ^17.0.45
'@typescript-eslint/eslint-plugin': ^5.30.6
'@typescript-eslint/parser': ^5.30.6
'@typescript-eslint/eslint-plugin': ^5.27.0
'@typescript-eslint/parser': ^5.27.0
carbon-components-svelte: ^0.63.8
carbon-icons-svelte: ^11.1.0
cookie: ^0.5.0
eslint: ^8.19.0
eslint-config-prettier: ^8.5.0
eslint-plugin-svelte3: ^3.4.1
eslint-config-prettier: ^8.1.0
eslint-plugin-svelte3: ^4.0.0
prettier: ^2.7.1
prettier-plugin-svelte: ^2.7.0
sass: ^1.53.0
svelte: ^3.49.0
svelte-check: ^2.8.0
svelte-preprocess: ^4.10.7
tslib: ^2.4.0
tslib: ^2.0.0
typescript: ^4.7.4
vite: ^2.9.14
vite: ^3.0.0
zod: ^3.17.3
dependencies:
'@fontsource/fira-mono': 4.5.8
'@leveluptuts/svelte-side-menu': 0.0.4
'@leveluptuts/svelte-toy': 2.0.0
'@lukeed/uuid': 2.0.0
cookie: 0.5.0
zod: 3.17.3
zod: 3.17.9
devDependencies:
'@playwright/test': 1.23.2
'@playwright/test': 1.23.4
'@rgossiaux/svelte-headlessui': 1.0.2_svelte@3.49.0
'@rgossiaux/svelte-heroicons': 0.1.2_svelte@3.49.0
'@sveltejs/adapter-auto': 1.0.0-next.55
'@sveltejs/kit': 1.0.0-next.369_svelte@3.49.0+vite@2.9.14
'@sveltejs/adapter-auto': 1.0.0-next.62
'@sveltejs/kit': 1.0.0-next.378_svelte@3.49.0+vite@3.0.2
'@types/cookie': 0.5.1
'@types/node': 17.0.45
'@typescript-eslint/eslint-plugin': 5.30.6_2vt5mtrqleafs33qg2bhpmbaqm
'@typescript-eslint/parser': 5.30.6_4x5o4skxv6sl53vpwefgt23khm
'@typescript-eslint/eslint-plugin': 5.30.7_6wltbjakwuqm7awqswigmiuhd4
'@typescript-eslint/parser': 5.30.7_he2ccbldppg44uulnyq4rwocfa
carbon-components-svelte: 0.63.8
carbon-icons-svelte: 11.1.0
eslint: 8.19.0
eslint-config-prettier: 8.5.0_eslint@8.19.0
eslint-plugin-svelte3: 3.4.1_jxmmfmurkts274jdspwh3cyqve
eslint: 8.20.0
eslint-config-prettier: 8.5.0_eslint@8.20.0
eslint-plugin-svelte3: 4.0.0_piwa6j2njmnknm35bh3wz5v52y
prettier: 2.7.1
prettier-plugin-svelte: 2.7.0_o3ioganyptcsrh6x4hnxvjkpqi
sass: 1.53.0
@ -58,10 +62,14 @@ devDependencies:
svelte-preprocess: 4.10.7_ti5n7ksfdoivvzciqy5qn6uyye
tslib: 2.4.0
typescript: 4.7.4
vite: 2.9.14_sass@1.53.0
vite: 3.0.2_sass@1.53.0
packages:
/@cloudflare/workers-types/3.14.1:
resolution: {integrity: sha512-B1/plF62pt+H2IJHvApK8fdOJAVsvojvacuac8x8s+JIyqbropMyqNqHTKLm3YD8ZFLGwYeFTudU+PQ7vGvBdA==}
dev: true
/@eslint/eslintrc/1.3.0:
resolution: {integrity: sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@ -69,7 +77,7 @@ packages:
ajv: 6.12.6
debug: 4.3.4
espree: 9.3.2
globals: 13.15.0
globals: 13.16.0
ignore: 5.2.0
import-fresh: 3.3.0
js-yaml: 4.1.0
@ -118,6 +126,16 @@ packages:
'@jridgewell/sourcemap-codec': 1.4.13
dev: true
/@leveluptuts/svelte-side-menu/0.0.4:
resolution: {integrity: sha512-S/+EHzMEyptmn1l3w32oDo0gKLPRj2dh36x7n9YeeBdhsziPuGGyuBiUoZp+YIgGYjXN2Dgda0rvm048xfv0SA==}
dev: false
/@leveluptuts/svelte-toy/2.0.0:
resolution: {integrity: sha512-ODRDTTo49iIDXYmTbbcRmYZ/2mQ3CYKty5wo712cClGaSVBBppddeUfDMtkbNyR7XKee4WXLSd9ZnyHnXN1ANQ==}
dependencies:
lodash.set: 4.3.2
dev: false
/@lukeed/csprng/1.0.1:
resolution: {integrity: sha512-uSvJdwQU5nK+Vdf6zxcWAY2A8r7uqe+gePwLWzJ+fsQehq18pc0I2hJKwypZ2aLM90+Er9u1xn4iLJPZ+xlL4g==}
engines: {node: '>=8'}
@ -169,13 +187,13 @@ packages:
fastq: 1.13.0
dev: true
/@playwright/test/1.23.2:
resolution: {integrity: sha512-umaEAIwQGfbezixg3raSOraqbQGSqZP988sOaMdpA2wj3Dr6ykOscrMukyK3U6edxhpS0N8kguAFZoHwCEfTig==}
/@playwright/test/1.23.4:
resolution: {integrity: sha512-iIsoMJDS/lyuhw82FtcV/B3PXikgVD3hNe5hyvOpRM0uRr1OIpN3LgPeRbBjhzBWmyf6RgRg5fqK5sVcpA03yA==}
engines: {node: '>=14'}
hasBin: true
dependencies:
'@types/node': 17.0.45
playwright-core: 1.23.2
'@types/node': 18.0.6
playwright-core: 1.23.4
dev: true
/@rgossiaux/svelte-headlessui/1.0.2_svelte@3.49.0:
@ -202,26 +220,27 @@ packages:
picomatch: 2.3.1
dev: true
/@sveltejs/adapter-auto/1.0.0-next.55:
resolution: {integrity: sha512-Z/yin8+tXwq/a8rtDXB+H2HDoVVT16fZYphXHa3WAK+Z/OXwPoEiz9ZSWZYWxBKVFpvtH+IXijAPl1CPJnosxw==}
/@sveltejs/adapter-auto/1.0.0-next.62:
resolution: {integrity: sha512-+yZZ3SzjBQEXXuIs12DfqgRmV9CQSCcEnYvaQ4R2LFyAxUOiGUJt2DtRJIELF+2dwHVxnvrR2CssqaNJ7J9bAA==}
dependencies:
'@sveltejs/adapter-cloudflare': 1.0.0-next.26
'@sveltejs/adapter-netlify': 1.0.0-next.67
'@sveltejs/adapter-vercel': 1.0.0-next.60
'@sveltejs/adapter-cloudflare': 1.0.0-next.29
'@sveltejs/adapter-netlify': 1.0.0-next.69
'@sveltejs/adapter-vercel': 1.0.0-next.64
transitivePeerDependencies:
- encoding
- supports-color
dev: true
/@sveltejs/adapter-cloudflare/1.0.0-next.26:
resolution: {integrity: sha512-70GQzX5iHedlWdvfdlBmS4qrIReocZem5TPOARF3yYQYCliMH2bd+dbcHt0sGugx73Gks11HxWj+/WpPw0LljA==}
/@sveltejs/adapter-cloudflare/1.0.0-next.29:
resolution: {integrity: sha512-bm95d2pDEExy1cSPqvWxvftHEJz57krLlW3DdGtxbXWLr8M+WZbCEe1AqsnGycaFXUsn0GZ77IWNrHqcGxwvRg==}
dependencies:
'@cloudflare/workers-types': 3.14.1
esbuild: 0.14.49
worktop: 0.8.0-next.14
dev: true
/@sveltejs/adapter-netlify/1.0.0-next.67:
resolution: {integrity: sha512-0C4TlePu1grsY/rhYUiQUwU8pFK9ImvI0u/T8KpwwXAeMjmxCfZa8B1syil389iAykBoiKlx0mxIzT7tawwFzg==}
/@sveltejs/adapter-netlify/1.0.0-next.69:
resolution: {integrity: sha512-nIMtadrsnVemVDIuuqHSDxX/7xRypk+X2ewHY+JR/ONV853lUJ1r9AaXF9+XXPIqxGMKStsWm5GzgGNmM8ID2g==}
dependencies:
'@iarna/toml': 2.2.5
esbuild: 0.14.49
@ -229,8 +248,8 @@ packages:
tiny-glob: 0.2.9
dev: true
/@sveltejs/adapter-vercel/1.0.0-next.60:
resolution: {integrity: sha512-Xq+gaxQ2iKvP9G+7C8+r4xScMOUEhBouDEFyLCOzKrwmd+JWBzCl1N0qKeKm71MbR7l4YJn8J+e7105j8x+RXA==}
/@sveltejs/adapter-vercel/1.0.0-next.64:
resolution: {integrity: sha512-UpDQAm3upsKsA6fca3+lOntHaX77EnL0OBYewOycdicJqlnoLq/DDr44xNeSjtW95Y8CVqALMxkPS6oMPipAYQ==}
dependencies:
'@vercel/nft': 0.20.1
esbuild: 0.14.49
@ -239,31 +258,31 @@ packages:
- supports-color
dev: true
/@sveltejs/kit/1.0.0-next.369_svelte@3.49.0+vite@2.9.14:
resolution: {integrity: sha512-7kSOz6RIehSgV+HgrkV7m9tFkA5Dey/j0sw7vXtSdgcKUCbEwG84Mbk0vH9C2FTLL/9mlEGvxS5AqQ6m/VSv8Q==}
/@sveltejs/kit/1.0.0-next.378_svelte@3.49.0+vite@3.0.2:
resolution: {integrity: sha512-Os8URaMJt5f29IR1mlZLE1lpwffzxc02ws/hJKNjMrOb/tgJjaIyLpGHi24uhQ/VXPv6fD2N6cQtEn+/X7nHGg==}
engines: {node: '>=16.9'}
hasBin: true
peerDependencies:
svelte: ^3.44.0
vite: ^2.9.10
vite: ^3.0.0
dependencies:
'@sveltejs/vite-plugin-svelte': 1.0.0-next.49_svelte@3.49.0+vite@2.9.14
'@sveltejs/vite-plugin-svelte': 1.0.1_svelte@3.49.0+vite@3.0.2
chokidar: 3.5.3
sade: 1.8.1
svelte: 3.49.0
vite: 2.9.14_sass@1.53.0
vite: 3.0.2_sass@1.53.0
transitivePeerDependencies:
- diff-match-patch
- supports-color
dev: true
/@sveltejs/vite-plugin-svelte/1.0.0-next.49_svelte@3.49.0+vite@2.9.14:
resolution: {integrity: sha512-AKh0Ka8EDgidnxWUs8Hh2iZLZovkETkefO99XxZ4sW4WGJ7VFeBx5kH/NIIGlaNHLcrIvK3CK0HkZwC3Cici0A==}
engines: {node: ^14.13.1 || >= 16}
/@sveltejs/vite-plugin-svelte/1.0.1_svelte@3.49.0+vite@3.0.2:
resolution: {integrity: sha512-PorCgUounn0VXcpeJu+hOweZODKmGuLHsLomwqSj+p26IwjjGffmYQfVHtiTWq+NqaUuuHWWG7vPge6UFw4Aeg==}
engines: {node: ^14.18.0 || >= 16}
peerDependencies:
diff-match-patch: ^1.0.5
svelte: ^3.44.0
vite: ^2.9.0
vite: ^3.0.0
peerDependenciesMeta:
diff-match-patch:
optional: true
@ -275,7 +294,7 @@ packages:
magic-string: 0.26.2
svelte: 3.49.0
svelte-hmr: 0.14.12_svelte@3.49.0
vite: 2.9.14_sass@1.53.0
vite: 3.0.2_sass@1.53.0
transitivePeerDependencies:
- supports-color
dev: true
@ -292,6 +311,10 @@ packages:
resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==}
dev: true
/@types/node/18.0.6:
resolution: {integrity: sha512-/xUq6H2aQm261exT6iZTMifUySEt4GR5KX8eYyY+C4MSNPqSh9oNIP7tz2GLKTlFaiBbgZNxffoR3CVRG+cljw==}
dev: true
/@types/pug/2.0.6:
resolution: {integrity: sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==}
dev: true
@ -299,11 +322,11 @@ packages:
/@types/sass/1.43.1:
resolution: {integrity: sha512-BPdoIt1lfJ6B7rw35ncdwBZrAssjcwzI5LByIrYs+tpXlj/CAkuVdRsgZDdP4lq5EjyWzwxZCqAoFyHKFwp32g==}
dependencies:
'@types/node': 17.0.45
'@types/node': 18.0.6
dev: true
/@typescript-eslint/eslint-plugin/5.30.6_2vt5mtrqleafs33qg2bhpmbaqm:
resolution: {integrity: sha512-J4zYMIhgrx4MgnZrSDD7sEnQp7FmhKNOaqaOpaoQ/SfdMfRB/0yvK74hTnvH+VQxndZynqs5/Hn4t+2/j9bADg==}
/@typescript-eslint/eslint-plugin/5.30.7_6wltbjakwuqm7awqswigmiuhd4:
resolution: {integrity: sha512-l4L6Do+tfeM2OK0GJsU7TUcM/1oN/N25xHm3Jb4z3OiDU4Lj8dIuxX9LpVMS9riSXQs42D1ieX7b85/r16H9Fw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
'@typescript-eslint/parser': ^5.0.0
@ -313,12 +336,12 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/parser': 5.30.6_4x5o4skxv6sl53vpwefgt23khm
'@typescript-eslint/scope-manager': 5.30.6
'@typescript-eslint/type-utils': 5.30.6_4x5o4skxv6sl53vpwefgt23khm
'@typescript-eslint/utils': 5.30.6_4x5o4skxv6sl53vpwefgt23khm
'@typescript-eslint/parser': 5.30.7_he2ccbldppg44uulnyq4rwocfa
'@typescript-eslint/scope-manager': 5.30.7
'@typescript-eslint/type-utils': 5.30.7_he2ccbldppg44uulnyq4rwocfa
'@typescript-eslint/utils': 5.30.7_he2ccbldppg44uulnyq4rwocfa
debug: 4.3.4
eslint: 8.19.0
eslint: 8.20.0
functional-red-black-tree: 1.0.1
ignore: 5.2.0
regexpp: 3.2.0
@ -329,8 +352,8 @@ packages:
- supports-color
dev: true
/@typescript-eslint/parser/5.30.6_4x5o4skxv6sl53vpwefgt23khm:
resolution: {integrity: sha512-gfF9lZjT0p2ZSdxO70Xbw8w9sPPJGfAdjK7WikEjB3fcUI/yr9maUVEdqigBjKincUYNKOmf7QBMiTf719kbrA==}
/@typescript-eslint/parser/5.30.7_he2ccbldppg44uulnyq4rwocfa:
resolution: {integrity: sha512-Rg5xwznHWWSy7v2o0cdho6n+xLhK2gntImp0rJroVVFkcYFYQ8C8UJTSuTw/3CnExBmPjycjmUJkxVmjXsld6A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
@ -339,26 +362,26 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/scope-manager': 5.30.6
'@typescript-eslint/types': 5.30.6
'@typescript-eslint/typescript-estree': 5.30.6_typescript@4.7.4
'@typescript-eslint/scope-manager': 5.30.7
'@typescript-eslint/types': 5.30.7
'@typescript-eslint/typescript-estree': 5.30.7_typescript@4.7.4
debug: 4.3.4
eslint: 8.19.0
eslint: 8.20.0
typescript: 4.7.4
transitivePeerDependencies:
- supports-color
dev: true
/@typescript-eslint/scope-manager/5.30.6:
resolution: {integrity: sha512-Hkq5PhLgtVoW1obkqYH0i4iELctEKixkhWLPTYs55doGUKCASvkjOXOd/pisVeLdO24ZX9D6yymJ/twqpJiG3g==}
/@typescript-eslint/scope-manager/5.30.7:
resolution: {integrity: sha512-7BM1bwvdF1UUvt+b9smhqdc/eniOnCKxQT/kj3oXtj3LqnTWCAM0qHRHfyzCzhEfWX0zrW7KqXXeE4DlchZBKw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.30.6
'@typescript-eslint/visitor-keys': 5.30.6
'@typescript-eslint/types': 5.30.7
'@typescript-eslint/visitor-keys': 5.30.7
dev: true
/@typescript-eslint/type-utils/5.30.6_4x5o4skxv6sl53vpwefgt23khm:
resolution: {integrity: sha512-GFVVzs2j0QPpM+NTDMXtNmJKlF842lkZKDSanIxf+ArJsGeZUIaeT4jGg+gAgHt7AcQSFwW7htzF/rbAh2jaVA==}
/@typescript-eslint/type-utils/5.30.7_he2ccbldppg44uulnyq4rwocfa:
resolution: {integrity: sha512-nD5qAE2aJX/YLyKMvOU5jvJyku4QN5XBVsoTynFrjQZaDgDV6i7QHFiYCx10wvn7hFvfuqIRNBtsgaLe0DbWhw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '*'
@ -367,22 +390,22 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/utils': 5.30.6_4x5o4skxv6sl53vpwefgt23khm
'@typescript-eslint/utils': 5.30.7_he2ccbldppg44uulnyq4rwocfa
debug: 4.3.4
eslint: 8.19.0
eslint: 8.20.0
tsutils: 3.21.0_typescript@4.7.4
typescript: 4.7.4
transitivePeerDependencies:
- supports-color
dev: true
/@typescript-eslint/types/5.30.6:
resolution: {integrity: sha512-HdnP8HioL1F7CwVmT4RaaMX57RrfqsOMclZc08wGMiDYJBsLGBM7JwXM4cZJmbWLzIR/pXg1kkrBBVpxTOwfUg==}
/@typescript-eslint/types/5.30.7:
resolution: {integrity: sha512-ocVkETUs82+U+HowkovV6uxf1AnVRKCmDRNUBUUo46/5SQv1owC/EBFkiu4MOHeZqhKz2ktZ3kvJJ1uFqQ8QPg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
/@typescript-eslint/typescript-estree/5.30.6_typescript@4.7.4:
resolution: {integrity: sha512-Z7TgPoeYUm06smfEfYF0RBkpF8csMyVnqQbLYiGgmUSTaSXTP57bt8f0UFXstbGxKIreTwQCujtaH0LY9w9B+A==}
/@typescript-eslint/typescript-estree/5.30.7_typescript@4.7.4:
resolution: {integrity: sha512-tNslqXI1ZdmXXrHER83TJ8OTYl4epUzJC0aj2i4DMDT4iU+UqLT3EJeGQvJ17BMbm31x5scSwo3hPM0nqQ1AEA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
typescript: '*'
@ -390,8 +413,8 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/types': 5.30.6
'@typescript-eslint/visitor-keys': 5.30.6
'@typescript-eslint/types': 5.30.7
'@typescript-eslint/visitor-keys': 5.30.7
debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
@ -402,29 +425,29 @@ packages:
- supports-color
dev: true
/@typescript-eslint/utils/5.30.6_4x5o4skxv6sl53vpwefgt23khm:
resolution: {integrity: sha512-xFBLc/esUbLOJLk9jKv0E9gD/OH966M40aY9jJ8GiqpSkP2xOV908cokJqqhVd85WoIvHVHYXxSFE4cCSDzVvA==}
/@typescript-eslint/utils/5.30.7_he2ccbldppg44uulnyq4rwocfa:
resolution: {integrity: sha512-Z3pHdbFw+ftZiGUnm1GZhkJgVqsDL5CYW2yj+TB2mfXDFOMqtbzQi2dNJIyPqPbx9mv2kUxS1gU+r2gKlKi1rQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
'@types/json-schema': 7.0.11
'@typescript-eslint/scope-manager': 5.30.6
'@typescript-eslint/types': 5.30.6
'@typescript-eslint/typescript-estree': 5.30.6_typescript@4.7.4
eslint: 8.19.0
'@typescript-eslint/scope-manager': 5.30.7
'@typescript-eslint/types': 5.30.7
'@typescript-eslint/typescript-estree': 5.30.7_typescript@4.7.4
eslint: 8.20.0
eslint-scope: 5.1.1
eslint-utils: 3.0.0_eslint@8.19.0
eslint-utils: 3.0.0_eslint@8.20.0
transitivePeerDependencies:
- supports-color
- typescript
dev: true
/@typescript-eslint/visitor-keys/5.30.6:
resolution: {integrity: sha512-41OiCjdL2mCaSDi2SvYbzFLlqqlm5v1ZW9Ym55wXKL/Rx6OOB1IbuFGo71Fj6Xy90gJDFTlgOS+vbmtGHPTQQA==}
/@typescript-eslint/visitor-keys/5.30.7:
resolution: {integrity: sha512-KrRXf8nnjvcpxDFOKej4xkD7657+PClJs5cJVSG7NNoCNnjEdc46juNAQt7AyuWctuCgs6mVRc1xGctEqrjxWw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.30.6
'@typescript-eslint/types': 5.30.7
eslint-visitor-keys: 3.3.0
dev: true
@ -695,15 +718,6 @@ packages:
resolution: {integrity: sha1-oIzd6EzNvzTQJ6FFG8kdS80ophM=}
dev: true
/esbuild-android-64/0.14.47:
resolution: {integrity: sha512-R13Bd9+tqLVFndncMHssZrPWe6/0Kpv2/dt4aA69soX4PRxlzsVpCvoJeFE8sOEoeVEiBkI0myjlkDodXlHa0g==}
engines: {node: '>=12'}
cpu: [x64]
os: [android]
requiresBuild: true
dev: true
optional: true
/esbuild-android-64/0.14.49:
resolution: {integrity: sha512-vYsdOTD+yi+kquhBiFWl3tyxnj2qZJsl4tAqwhT90ktUdnyTizgle7TjNx6Ar1bN7wcwWqZ9QInfdk2WVagSww==}
engines: {node: '>=12'}
@ -713,15 +727,6 @@ packages:
dev: true
optional: true
/esbuild-android-arm64/0.14.47:
resolution: {integrity: sha512-OkwOjj7ts4lBp/TL6hdd8HftIzOy/pdtbrNA4+0oVWgGG64HrdVzAF5gxtJufAPOsEjkyh1oIYvKAUinKKQRSQ==}
engines: {node: '>=12'}
cpu: [arm64]
os: [android]
requiresBuild: true
dev: true
optional: true
/esbuild-android-arm64/0.14.49:
resolution: {integrity: sha512-g2HGr/hjOXCgSsvQZ1nK4nW/ei8JUx04Li74qub9qWrStlysaVmadRyTVuW32FGIpLQyc5sUjjZopj49eGGM2g==}
engines: {node: '>=12'}
@ -731,15 +736,6 @@ packages:
dev: true
optional: true
/esbuild-darwin-64/0.14.47:
resolution: {integrity: sha512-R6oaW0y5/u6Eccti/TS6c/2c1xYTb1izwK3gajJwi4vIfNs1s8B1dQzI1UiC9T61YovOQVuePDcfqHLT3mUZJA==}
engines: {node: '>=12'}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: true
optional: true
/esbuild-darwin-64/0.14.49:
resolution: {integrity: sha512-3rvqnBCtX9ywso5fCHixt2GBCUsogNp9DjGmvbBohh31Ces34BVzFltMSxJpacNki96+WIcX5s/vum+ckXiLYg==}
engines: {node: '>=12'}
@ -749,15 +745,6 @@ packages:
dev: true
optional: true
/esbuild-darwin-arm64/0.14.47:
resolution: {integrity: sha512-seCmearlQyvdvM/noz1L9+qblC5vcBrhUaOoLEDDoLInF/VQ9IkobGiLlyTPYP5dW1YD4LXhtBgOyevoIHGGnw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [darwin]
requiresBuild: true
dev: true
optional: true
/esbuild-darwin-arm64/0.14.49:
resolution: {integrity: sha512-XMaqDxO846srnGlUSJnwbijV29MTKUATmOLyQSfswbK/2X5Uv28M9tTLUJcKKxzoo9lnkYPsx2o8EJcTYwCs/A==}
engines: {node: '>=12'}
@ -767,15 +754,6 @@ packages:
dev: true
optional: true
/esbuild-freebsd-64/0.14.47:
resolution: {integrity: sha512-ZH8K2Q8/Ux5kXXvQMDsJcxvkIwut69KVrYQhza/ptkW50DC089bCVrJZZ3sKzIoOx+YPTrmsZvqeZERjyYrlvQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [freebsd]
requiresBuild: true
dev: true
optional: true
/esbuild-freebsd-64/0.14.49:
resolution: {integrity: sha512-NJ5Q6AjV879mOHFri+5lZLTp5XsO2hQ+KSJYLbfY9DgCu8s6/Zl2prWXVANYTeCDLlrIlNNYw8y34xqyLDKOmQ==}
engines: {node: '>=12'}
@ -785,15 +763,6 @@ packages:
dev: true
optional: true
/esbuild-freebsd-arm64/0.14.47:
resolution: {integrity: sha512-ZJMQAJQsIOhn3XTm7MPQfCzEu5b9STNC+s90zMWe2afy9EwnHV7Ov7ohEMv2lyWlc2pjqLW8QJnz2r0KZmeAEQ==}
engines: {node: '>=12'}
cpu: [arm64]
os: [freebsd]
requiresBuild: true
dev: true
optional: true
/esbuild-freebsd-arm64/0.14.49:
resolution: {integrity: sha512-lFLtgXnAc3eXYqj5koPlBZvEbBSOSUbWO3gyY/0+4lBdRqELyz4bAuamHvmvHW5swJYL7kngzIZw6kdu25KGOA==}
engines: {node: '>=12'}
@ -803,15 +772,6 @@ packages:
dev: true
optional: true
/esbuild-linux-32/0.14.47:
resolution: {integrity: sha512-FxZOCKoEDPRYvq300lsWCTv1kcHgiiZfNrPtEhFAiqD7QZaXrad8LxyJ8fXGcWzIFzRiYZVtB3ttvITBvAFhKw==}
engines: {node: '>=12'}
cpu: [ia32]
os: [linux]
requiresBuild: true
dev: true
optional: true
/esbuild-linux-32/0.14.49:
resolution: {integrity: sha512-zTTH4gr2Kb8u4QcOpTDVn7Z8q7QEIvFl/+vHrI3cF6XOJS7iEI1FWslTo3uofB2+mn6sIJEQD9PrNZKoAAMDiA==}
engines: {node: '>=12'}
@ -821,15 +781,6 @@ packages:
dev: true
optional: true
/esbuild-linux-64/0.14.47:
resolution: {integrity: sha512-nFNOk9vWVfvWYF9YNYksZptgQAdstnDCMtR6m42l5Wfugbzu11VpMCY9XrD4yFxvPo9zmzcoUL/88y0lfJZJJw==}
engines: {node: '>=12'}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/esbuild-linux-64/0.14.49:
resolution: {integrity: sha512-hYmzRIDzFfLrB5c1SknkxzM8LdEUOusp6M2TnuQZJLRtxTgyPnZZVtyMeCLki0wKgYPXkFsAVhi8vzo2mBNeTg==}
engines: {node: '>=12'}
@ -839,15 +790,6 @@ packages:
dev: true
optional: true
/esbuild-linux-arm/0.14.47:
resolution: {integrity: sha512-ZGE1Bqg/gPRXrBpgpvH81tQHpiaGxa8c9Rx/XOylkIl2ypLuOcawXEAo8ls+5DFCcRGt/o3sV+PzpAFZobOsmA==}
engines: {node: '>=12'}
cpu: [arm]
os: [linux]
requiresBuild: true
dev: true
optional: true
/esbuild-linux-arm/0.14.49:
resolution: {integrity: sha512-iE3e+ZVv1Qz1Sy0gifIsarJMQ89Rpm9mtLSRtG3AH0FPgAzQ5Z5oU6vYzhc/3gSPi2UxdCOfRhw2onXuFw/0lg==}
engines: {node: '>=12'}
@ -857,15 +799,6 @@ packages:
dev: true
optional: true
/esbuild-linux-arm64/0.14.47:
resolution: {integrity: sha512-ywfme6HVrhWcevzmsufjd4iT3PxTfCX9HOdxA7Hd+/ZM23Y9nXeb+vG6AyA6jgq/JovkcqRHcL9XwRNpWG6XRw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/esbuild-linux-arm64/0.14.49:
resolution: {integrity: sha512-KLQ+WpeuY+7bxukxLz5VgkAAVQxUv67Ft4DmHIPIW+2w3ObBPQhqNoeQUHxopoW/aiOn3m99NSmSV+bs4BSsdA==}
engines: {node: '>=12'}
@ -875,15 +808,6 @@ packages:
dev: true
optional: true
/esbuild-linux-mips64le/0.14.47:
resolution: {integrity: sha512-mg3D8YndZ1LvUiEdDYR3OsmeyAew4MA/dvaEJxvyygahWmpv1SlEEnhEZlhPokjsUMfRagzsEF/d/2XF+kTQGg==}
engines: {node: '>=12'}
cpu: [mips64el]
os: [linux]
requiresBuild: true
dev: true
optional: true
/esbuild-linux-mips64le/0.14.49:
resolution: {integrity: sha512-n+rGODfm8RSum5pFIqFQVQpYBw+AztL8s6o9kfx7tjfK0yIGF6tm5HlG6aRjodiiKkH2xAiIM+U4xtQVZYU4rA==}
engines: {node: '>=12'}
@ -893,15 +817,6 @@ packages:
dev: true
optional: true
/esbuild-linux-ppc64le/0.14.47:
resolution: {integrity: sha512-WER+f3+szmnZiWoK6AsrTKGoJoErG2LlauSmk73LEZFQ/iWC+KhhDsOkn1xBUpzXWsxN9THmQFltLoaFEH8F8w==}
engines: {node: '>=12'}
cpu: [ppc64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/esbuild-linux-ppc64le/0.14.49:
resolution: {integrity: sha512-WP9zR4HX6iCBmMFH+XHHng2LmdoIeUmBpL4aL2TR8ruzXyT4dWrJ5BSbT8iNo6THN8lod6GOmYDLq/dgZLalGw==}
engines: {node: '>=12'}
@ -911,15 +826,6 @@ packages:
dev: true
optional: true
/esbuild-linux-riscv64/0.14.47:
resolution: {integrity: sha512-1fI6bP3A3rvI9BsaaXbMoaOjLE3lVkJtLxsgLHqlBhLlBVY7UqffWBvkrX/9zfPhhVMd9ZRFiaqXnB1T7BsL2g==}
engines: {node: '>=12'}
cpu: [riscv64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/esbuild-linux-riscv64/0.14.49:
resolution: {integrity: sha512-h66ORBz+Dg+1KgLvzTVQEA1LX4XBd1SK0Fgbhhw4akpG/YkN8pS6OzYI/7SGENiN6ao5hETRDSkVcvU9NRtkMQ==}
engines: {node: '>=12'}
@ -929,15 +835,6 @@ packages:
dev: true
optional: true
/esbuild-linux-s390x/0.14.47:
resolution: {integrity: sha512-eZrWzy0xFAhki1CWRGnhsHVz7IlSKX6yT2tj2Eg8lhAwlRE5E96Hsb0M1mPSE1dHGpt1QVwwVivXIAacF/G6mw==}
engines: {node: '>=12'}
cpu: [s390x]
os: [linux]
requiresBuild: true
dev: true
optional: true
/esbuild-linux-s390x/0.14.49:
resolution: {integrity: sha512-DhrUoFVWD+XmKO1y7e4kNCqQHPs6twz6VV6Uezl/XHYGzM60rBewBF5jlZjG0nCk5W/Xy6y1xWeopkrhFFM0sQ==}
engines: {node: '>=12'}
@ -947,15 +844,6 @@ packages:
dev: true
optional: true
/esbuild-netbsd-64/0.14.47:
resolution: {integrity: sha512-Qjdjr+KQQVH5Q2Q1r6HBYswFTToPpss3gqCiSw2Fpq/ua8+eXSQyAMG+UvULPqXceOwpnPo4smyZyHdlkcPppQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [netbsd]
requiresBuild: true
dev: true
optional: true
/esbuild-netbsd-64/0.14.49:
resolution: {integrity: sha512-BXaUwFOfCy2T+hABtiPUIpWjAeWK9P8O41gR4Pg73hpzoygVGnj0nI3YK4SJhe52ELgtdgWP/ckIkbn2XaTxjQ==}
engines: {node: '>=12'}
@ -965,15 +853,6 @@ packages:
dev: true
optional: true
/esbuild-openbsd-64/0.14.47:
resolution: {integrity: sha512-QpgN8ofL7B9z8g5zZqJE+eFvD1LehRlxr25PBkjyyasakm4599iroUpaj96rdqRlO2ShuyqwJdr+oNqWwTUmQw==}
engines: {node: '>=12'}
cpu: [x64]
os: [openbsd]
requiresBuild: true
dev: true
optional: true
/esbuild-openbsd-64/0.14.49:
resolution: {integrity: sha512-lP06UQeLDGmVPw9Rg437Btu6J9/BmyhdoefnQ4gDEJTtJvKtQaUcOQrhjTq455ouZN4EHFH1h28WOJVANK41kA==}
engines: {node: '>=12'}
@ -983,15 +862,6 @@ packages:
dev: true
optional: true
/esbuild-sunos-64/0.14.47:
resolution: {integrity: sha512-uOeSgLUwukLioAJOiGYm3kNl+1wJjgJA8R671GYgcPgCx7QR73zfvYqXFFcIO93/nBdIbt5hd8RItqbbf3HtAQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [sunos]
requiresBuild: true
dev: true
optional: true
/esbuild-sunos-64/0.14.49:
resolution: {integrity: sha512-4c8Zowp+V3zIWje329BeLbGh6XI9c/rqARNaj5yPHdC61pHI9UNdDxT3rePPJeWcEZVKjkiAS6AP6kiITp7FSw==}
engines: {node: '>=12'}
@ -1001,15 +871,6 @@ packages:
dev: true
optional: true
/esbuild-windows-32/0.14.47:
resolution: {integrity: sha512-H0fWsLTp2WBfKLBgwYT4OTfFly4Im/8B5f3ojDv1Kx//kiubVY0IQunP2Koc/fr/0wI7hj3IiBDbSrmKlrNgLQ==}
engines: {node: '>=12'}
cpu: [ia32]
os: [win32]
requiresBuild: true
dev: true
optional: true
/esbuild-windows-32/0.14.49:
resolution: {integrity: sha512-q7Rb+J9yHTeKr9QTPDYkqfkEj8/kcKz9lOabDuvEXpXuIcosWCJgo5Z7h/L4r7rbtTH4a8U2FGKb6s1eeOHmJA==}
engines: {node: '>=12'}
@ -1019,15 +880,6 @@ packages:
dev: true
optional: true
/esbuild-windows-64/0.14.47:
resolution: {integrity: sha512-/Pk5jIEH34T68r8PweKRi77W49KwanZ8X6lr3vDAtOlH5EumPE4pBHqkCUdELanvsT14yMXLQ/C/8XPi1pAtkQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [win32]
requiresBuild: true
dev: true
optional: true
/esbuild-windows-64/0.14.49:
resolution: {integrity: sha512-+Cme7Ongv0UIUTniPqfTX6mJ8Deo7VXw9xN0yJEN1lQMHDppTNmKwAM3oGbD/Vqff+07K2gN0WfNkMohmG+dVw==}
engines: {node: '>=12'}
@ -1037,15 +889,6 @@ packages:
dev: true
optional: true
/esbuild-windows-arm64/0.14.47:
resolution: {integrity: sha512-HFSW2lnp62fl86/qPQlqw6asIwCnEsEoNIL1h2uVMgakddf+vUuMcCbtUY1i8sst7KkgHrVKCJQB33YhhOweCQ==}
engines: {node: '>=12'}
cpu: [arm64]
os: [win32]
requiresBuild: true
dev: true
optional: true
/esbuild-windows-arm64/0.14.49:
resolution: {integrity: sha512-v+HYNAXzuANrCbbLFJ5nmO3m5y2PGZWLe3uloAkLt87aXiO2mZr3BTmacZdjwNkNEHuH3bNtN8cak+mzVjVPfA==}
engines: {node: '>=12'}
@ -1055,34 +898,6 @@ packages:
dev: true
optional: true
/esbuild/0.14.47:
resolution: {integrity: sha512-wI4ZiIfFxpkuxB8ju4MHrGwGLyp1+awEHAHVpx6w7a+1pmYIq8T9FGEVVwFo0iFierDoMj++Xq69GXWYn2EiwA==}
engines: {node: '>=12'}
hasBin: true
requiresBuild: true
optionalDependencies:
esbuild-android-64: 0.14.47
esbuild-android-arm64: 0.14.47
esbuild-darwin-64: 0.14.47
esbuild-darwin-arm64: 0.14.47
esbuild-freebsd-64: 0.14.47
esbuild-freebsd-arm64: 0.14.47
esbuild-linux-32: 0.14.47
esbuild-linux-64: 0.14.47
esbuild-linux-arm: 0.14.47
esbuild-linux-arm64: 0.14.47
esbuild-linux-mips64le: 0.14.47
esbuild-linux-ppc64le: 0.14.47
esbuild-linux-riscv64: 0.14.47
esbuild-linux-s390x: 0.14.47
esbuild-netbsd-64: 0.14.47
esbuild-openbsd-64: 0.14.47
esbuild-sunos-64: 0.14.47
esbuild-windows-32: 0.14.47
esbuild-windows-64: 0.14.47
esbuild-windows-arm64: 0.14.47
dev: true
/esbuild/0.14.49:
resolution: {integrity: sha512-/TlVHhOaq7Yz8N1OJrjqM3Auzo5wjvHFLk+T8pIue+fhnhIMpfAzsG6PLVMbFveVxqD2WOp3QHei+52IMUNmCw==}
engines: {node: '>=12'}
@ -1116,23 +931,22 @@ packages:
engines: {node: '>=10'}
dev: true
/eslint-config-prettier/8.5.0_eslint@8.19.0:
/eslint-config-prettier/8.5.0_eslint@8.20.0:
resolution: {integrity: sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==}
hasBin: true
peerDependencies:
eslint: '>=7.0.0'
dependencies:
eslint: 8.19.0
eslint: 8.20.0
dev: true
/eslint-plugin-svelte3/3.4.1_jxmmfmurkts274jdspwh3cyqve:
resolution: {integrity: sha512-7p59WG8qV8L6wLdl4d/c3mdjkgVglQCdv5XOTk/iNPBKXuuV+Q0eFP5Wa6iJd/G2M1qR3BkLPEzaANOqKAZczw==}
engines: {node: '>=10'}
/eslint-plugin-svelte3/4.0.0_piwa6j2njmnknm35bh3wz5v52y:
resolution: {integrity: sha512-OIx9lgaNzD02+MDFNLw0GEUbuovNcglg+wnd/UY0fbZmlQSz7GlQiQ1f+yX0XvC07XPcDOnFcichqI3xCwp71g==}
peerDependencies:
eslint: '>=6.0.0'
eslint: '>=8.0.0'
svelte: ^3.2.0
dependencies:
eslint: 8.19.0
eslint: 8.20.0
svelte: 3.49.0
dev: true
@ -1152,13 +966,13 @@ packages:
estraverse: 5.3.0
dev: true
/eslint-utils/3.0.0_eslint@8.19.0:
/eslint-utils/3.0.0_eslint@8.20.0:
resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==}
engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}
peerDependencies:
eslint: '>=5'
dependencies:
eslint: 8.19.0
eslint: 8.20.0
eslint-visitor-keys: 2.1.0
dev: true
@ -1172,8 +986,8 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
/eslint/8.19.0:
resolution: {integrity: sha512-SXOPj3x9VKvPe81TjjUJCYlV4oJjQw68Uek+AM0X4p+33dj2HY5bpTZOgnQHcG2eAm1mtCU9uNMnJi7exU/kYw==}
/eslint/8.20.0:
resolution: {integrity: sha512-d4ixhz5SKCa1D6SCPrivP7yYVi7nyD6A4vs6HIAul9ujBzcEmZVM3/0NN/yu5nKhmO1wjp5xQ46iRfmDGlOviA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
hasBin: true
dependencies:
@ -1186,7 +1000,7 @@ packages:
doctrine: 3.0.0
escape-string-regexp: 4.0.0
eslint-scope: 7.1.1
eslint-utils: 3.0.0_eslint@8.19.0
eslint-utils: 3.0.0_eslint@8.20.0
eslint-visitor-keys: 3.3.0
espree: 9.3.2
esquery: 1.4.0
@ -1195,7 +1009,7 @@ packages:
file-entry-cache: 6.0.1
functional-red-black-tree: 1.0.1
glob-parent: 6.0.2
globals: 13.15.0
globals: 13.16.0
ignore: 5.2.0
import-fresh: 3.3.0
imurmurhash: 0.1.4
@ -1282,7 +1096,7 @@ packages:
dev: true
/fast-levenshtein/2.0.6:
resolution: {integrity: sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=}
resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==}
dev: true
/fastq/1.13.0:
@ -1313,7 +1127,7 @@ packages:
resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==}
engines: {node: ^10.12.0 || >=12.0.0}
dependencies:
flatted: 3.2.5
flatted: 3.2.6
rimraf: 3.0.2
dev: true
@ -1321,8 +1135,8 @@ packages:
resolution: {integrity: sha512-F0azNNi8foVWKSF+8X+ZJzz8r9sE1G4hl06RyceIaLvyltKvDl6vqk9Lm/6AUUCi5HWaIjiUbk7UpeE/fOXOpw==}
dev: true
/flatted/3.2.5:
resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==}
/flatted/3.2.6:
resolution: {integrity: sha512-0sQoMh9s0BYsm+12Huy/rkKxVu4R1+r96YX5cG44rHV0pQ6iC3Q+mkoMFaGWObMFYQxCVT+ssG1ksneA2MI9KQ==}
dev: true
/fs-minipass/2.1.0:
@ -1349,7 +1163,7 @@ packages:
dev: true
/functional-red-black-tree/1.0.1:
resolution: {integrity: sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=}
resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==}
dev: true
/gauge/3.0.2:
@ -1403,8 +1217,8 @@ packages:
path-is-absolute: 1.0.1
dev: true
/globals/13.15.0:
resolution: {integrity: sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==}
/globals/13.16.0:
resolution: {integrity: sha512-A1lrQfpNF+McdPOnnFqY3kSN0AFTy485bTi1bkLk4mVPODIUEcSfhHgRqA+QdXPksrSTTztYXx37NFV+GpGk3Q==}
engines: {node: '>=8'}
dependencies:
type-fest: 0.20.2
@ -1478,7 +1292,7 @@ packages:
dev: true
/imurmurhash/0.1.4:
resolution: {integrity: sha1-khi5srkoojixPcT7a21XbyMUU+o=}
resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
engines: {node: '>=0.8.19'}
dev: true
@ -1507,7 +1321,7 @@ packages:
dev: true
/is-extglob/2.1.1:
resolution: {integrity: sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=}
resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
engines: {node: '>=0.10.0'}
dev: true
@ -1529,7 +1343,7 @@ packages:
dev: true
/isexe/2.0.0:
resolution: {integrity: sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=}
resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
dev: true
/js-yaml/4.1.0:
@ -1544,7 +1358,7 @@ packages:
dev: true
/json-stable-stringify-without-jsonify/1.0.1:
resolution: {integrity: sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=}
resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
dev: true
/kleur/4.1.5:
@ -1564,6 +1378,10 @@ packages:
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
dev: true
/lodash.set/4.3.2:
resolution: {integrity: sha512-4hNPN5jlm/N/HLMCO43v8BXKq9Z7QdAGc/VGrRD61w8gN9g/6jF9A4L1pbUgBLCffi0w9VsXfTOij5x8iTyFvg==}
dev: false
/lru-cache/6.0.0:
resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
engines: {node: '>=10'}
@ -1668,7 +1486,7 @@ packages:
dev: true
/natural-compare/1.4.0:
resolution: {integrity: sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=}
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
dev: true
/node-fetch/2.6.7:
@ -1768,8 +1586,8 @@ packages:
engines: {node: '>=8.6'}
dev: true
/playwright-core/1.23.2:
resolution: {integrity: sha512-UGbutIr0nBALDHWW/HcXfyK6ZdmefC99Moo4qyTr89VNIkYZuDrW8Sw554FyFUamcFSdKOgDPk6ECSkofGIZjQ==}
/playwright-core/1.23.4:
resolution: {integrity: sha512-h5V2yw7d8xIwotjyNrkLF13nV9RiiZLHdXeHo+nVJIYGVlZ8U2qV0pMxNJKNTvfQVT0N8/A4CW6/4EW2cOcTiA==}
engines: {node: '>=14'}
hasBin: true
dev: true
@ -1874,7 +1692,7 @@ packages:
resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
hasBin: true
dependencies:
glob: 7.2.0
glob: 7.2.3
dev: true
/rollup-pluginutils/2.8.2:
@ -1883,8 +1701,8 @@ packages:
estree-walker: 0.6.1
dev: true
/rollup/2.75.7:
resolution: {integrity: sha512-VSE1iy0eaAYNCxEXaleThdFXqZJ42qDBatAwrfnPlENEZ8erQ+0LYX4JXOLPceWfZpV1VtZwZ3dFCuOZiSyFtQ==}
/rollup/2.77.0:
resolution: {integrity: sha512-vL8xjY4yOQEw79DvyXLijhnhh+R/O9zpF/LEgkCebZFtb6ELeN9H3/2T0r8+mp+fFTBHZ5qGpOpW2ela2zRt3g==}
engines: {node: '>=10.0.0'}
hasBin: true
optionalDependencies:
@ -2141,7 +1959,7 @@ packages:
dev: true
/text-table/0.2.0:
resolution: {integrity: sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=}
resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}
dev: true
/tiny-glob/0.2.9:
@ -2212,14 +2030,15 @@ packages:
resolution: {integrity: sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==}
dev: true
/vite/2.9.14_sass@1.53.0:
resolution: {integrity: sha512-P/UCjSpSMcE54r4mPak55hWAZPlyfS369svib/gpmz8/01L822lMPOJ/RYW6tLCe1RPvMvOsJ17erf55bKp4Hw==}
engines: {node: '>=12.2.0'}
/vite/3.0.2_sass@1.53.0:
resolution: {integrity: sha512-TAqydxW/w0U5AoL5AsD9DApTvGb2iNbGs3sN4u2VdT1GFkQVUfgUldt+t08TZgi23uIauh1TUOQJALduo9GXqw==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
peerDependencies:
less: '*'
sass: '*'
stylus: '*'
terser: ^5.4.0
peerDependenciesMeta:
less:
optional: true
@ -2227,11 +2046,13 @@ packages:
optional: true
stylus:
optional: true
terser:
optional: true
dependencies:
esbuild: 0.14.47
esbuild: 0.14.49
postcss: 8.4.14
resolve: 1.22.1
rollup: 2.75.7
rollup: 2.77.0
sass: 1.53.0
optionalDependencies:
fsevents: 2.3.2
@ -2283,6 +2104,6 @@ packages:
resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
dev: true
/zod/3.17.3:
resolution: {integrity: sha512-4oKP5zvG6GGbMlqBkI5FESOAweldEhSOZ6LI6cG+JzUT7ofj1ZOC0PJudpQOpT1iqOFpYYtX5Pw0+o403y4bcg==}
/zod/3.17.9:
resolution: {integrity: sha512-QF1843pYoRk1jFP+/UiEySXaTSiIyFod3KyDzoO3qHKGZdX7z7RNXI4lEsiibvpnIZQwcDVU58ZrxP4pQ7BmTQ==}
dev: false

View file

@ -20,24 +20,13 @@
</div>
<nav>
<!-- <Theme
render="toggle"
toggle={{
themes: ['white','g100'],
hideLabel: true,
size: 'sm'
}}
bind:theme
persist
persistKey="__carbon-theme"
/> -->
<div><Themes /></div>
<!-- <ul>
<li class:active={$page.url.pathname === '/'}><a sveltekit:prefetch href="/">Home</a></li>
<li class:active={$page.url.pathname === '/about'}>
<a sveltekit:prefetch href="/about">About</a>
</li>
</ul> -->
<div><Themes /></div>
</nav>
</header>
@ -45,6 +34,7 @@
header {
display: flex;
justify-content: space-between;
align-items: center;
}
.corner {
@ -70,6 +60,7 @@
display: flex;
justify-content: center;
align-items: center;
margin: 1rem;
--background: rgba(255, 255, 255, 0.7);
}

View file

@ -0,0 +1,28 @@
import { writable } from 'svelte/store';
// import { BoredStore } from '$lib/types';
// Custom store
const state = () => {
const { subscribe, set, update } = writable({ loading: false });
// function remove(id: string) {
// update((store) => {
// const newStore = store.filter((item: GameType) => item.id !== id);
// return [...newStore];
// });
// }
// function removeAll() {
// update(() => {
// return [];
// });
// }
function clear() {
set({ loading: false });
}
return { subscribe, set, update, clear };
};
export const boredState = state();

View file

@ -1,3 +1,7 @@
export type BoredStore = {
loading: boolean;
}
export enum ToastType {
INFO,
ERROR,

View file

@ -1,10 +1,19 @@
<script lang="ts">
import { Toy } from '@leveluptuts/svelte-toy';
import Header from '$lib/components/header/Header.svelte';
import Loading from '$lib/components/loading.svelte';
import Transition from '$lib/components/transition/index.svelte';
import Portal from '$lib/Portal.svelte';
import { boredState } from '$lib/stores/boredState';
// import 'carbon-components-svelte/css/all.css';
import '$root/styles/styles.scss';
const dev = process.env.NODE_ENV !== 'production';
</script>
{#if dev}
<Toy register={{ boredState }} />
{/if}
<Transition transition={{ type: 'fade', duration: 250 }}>
<div class="wrapper">
<Header />
@ -16,13 +25,50 @@
<footer>
<p>Built by <a target="__blank" href="https://bradleyshellnut.com">Bradley Shellnut</a></p>
<p>
<a href="https://www.flaticon.com/free-icons/board-game" title="board game icons">Board game icons created by Freepik - Flaticon</a>
<a href="https://www.flaticon.com/free-icons/board-game" title="board game icons"
>Board game icons created by Freepik - Flaticon</a
>
</p>
</footer>
</div>
{#if $boredState?.loading}
<Portal>
<Transition transition={{ type: 'fade', duration: 0 }}>
<div class="loading">
<Loading />
<h3>Loading...</h3>
</div>
</Transition>
<div class="background" />
</Portal>
{/if}
</Transition>
<style>
<style lang="scss">
.loading {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 101;
display: grid;
place-items: center;
gap: 1rem;
h3 {
color: white;
}
}
.background {
background: black;
opacity: 0.8;
cursor: none;
inset: 0;
position: fixed;
z-index: 100;
}
.wrapper {
display: grid;
grid-template-rows: auto 1fr auto;

View file

@ -1,7 +1,7 @@
import type { RequestHandler } from '@sveltejs/kit';
import type { SearchQuery } from '$lib/types';
export const post: RequestHandler = async ({ request }) => {
export const POST: RequestHandler = async ({ request }) => {
const form = await request.formData();
console.log('form', form);
const queryParams: SearchQuery = {

View file

@ -1,7 +1,7 @@
import type { RequestHandler } from '@sveltejs/kit';
import { boardGameApi } from '../_api';
export const get: RequestHandler = async ({ params }) => {
export const GET: RequestHandler = async ({ params }) => {
// console.log('params', params);
const queryParams = {
ids: `${params?.id}`,

View file

@ -7,22 +7,25 @@
import Loading from '$lib/components/loading.svelte';
import Portal from '$lib/Portal.svelte';
import { gameStore } from '$lib/stores/gameSearchStore';
import { boredState } from '$lib/stores/boredState';
// import { enhance } from "$lib/form";
// let games: GameType[] = [];
let submitting = false;
let submitting = $boredState?.loading;
async function handleSubmit(event: SubmitEvent) {
submitting = true;
// submitting = true;
boredState.set({ loading: true });
const form = event.target as HTMLFormElement;
console.log('form', form);
const response = await fetch('/api/games', {
method: 'post',
method: 'POST',
headers: { accept: 'application/json' },
body: new FormData(form)
});
const responseData = await response.json();
submitting = false;
// submitting = false;
boredState.set({ loading: false });
gameStore.removeAll();
gameStore.addAll(responseData?.games);
// games = responseData?.games;
@ -120,7 +123,7 @@
</form>
</div>
{#if submitting}
<!-- {#if submitting}
<Portal>
<Transition transition={{ type: 'fade', duration: 0 }}>
<div class="loading">
@ -130,7 +133,7 @@
</Transition>
<div class="background" />
</Portal>
{/if}
{/if} -->
<h1>Games</h1>
<div class="games">

View file

@ -1,7 +1,7 @@
import { boardGameApi } from './_api';
import type { RequestHandler } from '@sveltejs/kit';
export const post: RequestHandler = async ({ request, locals }) => {
export const POST: RequestHandler = async ({ request, locals }) => {
const form = await request.formData();
const minAge = form.get('minAge') || 0;
console.log('minAge', minAge);

View file

@ -1,7 +1,7 @@
import { api } from './_api';
import type { RequestHandler } from '@sveltejs/kit';
export const get: RequestHandler = async ({ locals }) => {
export const GET: RequestHandler = async ({ locals }) => {
// locals.userid comes from src/hooks.js
const response = await api('get', `todos/${locals.userid}`);
@ -28,7 +28,7 @@ export const get: RequestHandler = async ({ locals }) => {
};
};
export const post: RequestHandler = async ({ request, locals }) => {
export const POST: RequestHandler = async ({ request, locals }) => {
const form = await request.formData();
await api('post', `todos/${locals.userid}`, {
@ -47,7 +47,7 @@ const redirect = {
}
};
export const patch: RequestHandler = async ({ request, locals }) => {
export const PATCH: RequestHandler = async ({ request, locals }) => {
const form = await request.formData();
await api('patch', `todos/${locals.userid}/${form.get('uid')}`, {
@ -58,7 +58,7 @@ export const patch: RequestHandler = async ({ request, locals }) => {
return redirect;
};
export const del: RequestHandler = async ({ request, locals }) => {
export const DELETE: RequestHandler = async ({ request, locals }) => {
const form = await request.formData();
await api('delete', `todos/${locals.userid}/${form.get('uid')}`);