18 Commits

Author SHA1 Message Date
42d6fa1bb8 🚀Bumped version to 1.0.3 2023-04-15 19:23:31 +02:00
318408add8 Moved padding to div 2023-04-15 19:23:22 +02:00
fc147d0f58 Added X top padding 2023-04-15 19:22:42 +02:00
9181ac5443 Enable push on release 2023-04-15 19:21:39 +02:00
cb922e9ce9 🚀Bumped version to 1.0.2 2023-04-15 19:21:10 +02:00
36ca85ebf7 🚀Bumped version to 1.0.1 2023-04-15 19:15:44 +02:00
d96f32cc84 reload on language change 2023-04-15 19:15:33 +02:00
bd4fc7a2f4 🚀Bumped version to 1.0.0 2023-04-15 19:04:14 +02:00
add0cb14c6 No more space 2023-04-15 19:03:13 +02:00
38a91f730b Removed svg padding 2023-04-15 19:00:38 +02:00
3f98268967 Automargin 2023-04-15 18:53:52 +02:00
a8a0d0018e New checkmark and lower padding 2023-04-15 18:53:05 +02:00
4ce0eeffea deps: node@19.9.0 2023-04-15 18:43:32 +02:00
0edf31a9ec Pinned deependencies 2023-04-15 18:38:12 +02:00
38d80b4371 update license exporter 2023-04-15 18:24:09 +02:00
c6700a9153 drop html-minifier 2023-04-15 18:23:57 +02:00
60d51f39bf drop husky precommit hook 2023-04-15 18:23:01 +02:00
076849221a feat(Scanner): move clock to monospace font 2023-04-15 18:20:21 +02:00
9 changed files with 6620 additions and 1621 deletions

1
.husky/.gitignore vendored
View File

@@ -1 +0,0 @@
_

View File

@@ -1,5 +0,0 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
yarn format
yarn license:export

View File

@@ -2,11 +2,54 @@
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
#### [v0.2.0](https://git.odit.services/lfk/scanclient/compare/0.1.6...v0.2.0)
#### [1.0.3](https://git.odit.services/lfk/scanclient/compare/1.0.2...1.0.3)
- Moved padding to div [`318408a`](https://git.odit.services/lfk/scanclient/commit/318408add82bcc71804d43f44e437bd38a553c0a)
- Added X top padding [`fc147d0`](https://git.odit.services/lfk/scanclient/commit/fc147d0f5813241a868abeeafc83ce0167a9513a)
- Enable push on release [`9181ac5`](https://git.odit.services/lfk/scanclient/commit/9181ac54434e4650099631e32a6351b9c5da0d13)
#### [1.0.2](https://git.odit.services/lfk/scanclient/compare/1.0.1...1.0.2)
> 15 April 2023
- 🚀Bumped version to 1.0.2 [`cb922e9`](https://git.odit.services/lfk/scanclient/commit/cb922e9ce9da5dd17b4ff9416053a34daf9e4edf)
#### [1.0.1](https://git.odit.services/lfk/scanclient/compare/1.0.0...1.0.1)
> 15 April 2023
- 🚀Bumped version to 1.0.1 [`36ca85e`](https://git.odit.services/lfk/scanclient/commit/36ca85ebf76ee5696875922eec633a864d323fde)
- reload on language change [`d96f32c`](https://git.odit.services/lfk/scanclient/commit/d96f32cc8499f7a4b1e6458bb68132394c41f782)
### [1.0.0](https://git.odit.services/lfk/scanclient/compare/0.2.0...1.0.0)
> 15 April 2023
- feat(Scanner): move clock to monospace font [`0768492`](https://git.odit.services/lfk/scanclient/commit/076849221a9c6353ec752d4f2213ae2e10b6480b)
- Lockfile [`5f86508`](https://git.odit.services/lfk/scanclient/commit/5f865081a64e2f59a1541a6166e85da3d7cfdbfa)
- Pinned deependencies [`0edf31a`](https://git.odit.services/lfk/scanclient/commit/0edf31a9ec228d3a027c4ef0d61d31318ded8d9e)
- deps: node@19.9.0 [`4ce0eef`](https://git.odit.services/lfk/scanclient/commit/4ce0eeffea6eee4d8af3ba130d2244669e905ed9)
- New checkmark and lower padding [`a8a0d00`](https://git.odit.services/lfk/scanclient/commit/a8a0d0018ee27588eede9bb0456d1b41060f35cd)
- 🚀Bumped version to 1.0.0 [`bd4fc7a`](https://git.odit.services/lfk/scanclient/commit/bd4fc7a2f46b2c6f84c0881242e099d64ca4d695)
- drop html-minifier [`c6700a9`](https://git.odit.services/lfk/scanclient/commit/c6700a9153f96d330f0a6636adaa616b03d232ee)
- Moved ci to pnpm w/ cache [`8610e0b`](https://git.odit.services/lfk/scanclient/commit/8610e0b285939f118fab952ca00e76b1ff659a16)
- Removed svg padding [`38a91f7`](https://git.odit.services/lfk/scanclient/commit/38a91f730b46206eac714cae69be26212c01af6f)
- drop husky precommit hook [`60d51f3`](https://git.odit.services/lfk/scanclient/commit/60d51f39bffa3e947b220a1e5644e0246cf21350)
- Switched dockerfile over to pnpm 8 and cache [`90c1413`](https://git.odit.services/lfk/scanclient/commit/90c1413fa1e6fbe41227296083636568c562da65)
- added webserver to docker build [`f78365f`](https://git.odit.services/lfk/scanclient/commit/f78365f062b1b0eae06b9af02e32573ef6e9bbc9)
- Automargin [`3f98268`](https://git.odit.services/lfk/scanclient/commit/3f982689673fb07e19beaf0765f5552834ec9922)
- No more space [`add0cb1`](https://git.odit.services/lfk/scanclient/commit/add0cb14c68580d7da6a0408fc76995f7a7e4808)
- update license exporter [`38d80b4`](https://git.odit.services/lfk/scanclient/commit/38d80b4371c4d01e717846eff831068dc18a453c)
- Added missing copy [`02b31f2`](https://git.odit.services/lfk/scanclient/commit/02b31f277f7cc0d97aad061f46540e16f55e13c6)
#### [0.2.0](https://git.odit.services/lfk/scanclient/compare/0.1.6...0.2.0)
> 14 April 2021
- Merge pull request 'add 'rst' to Login component' (#20) from feature/18-add-rst-login into dev [`#18`](https://git.odit.services/lfk/scanclient/issues/18)
- Merge pull request 'replace unsplash with kaya_bg' (#19) from feature/17-remote-background-image into dev [`#17`](https://git.odit.services/lfk/scanclient/issues/17)
- add 'rst' to Login component [`e6d8861`](https://git.odit.services/lfk/scanclient/commit/e6d8861340f6998234d8b2446b918ab01738cf63)
- 🚀Bumped version to 0.2.0 [`6df7b51`](https://git.odit.services/lfk/scanclient/commit/6df7b516aa09f937c23ab19494767867e1ebf8da)
- replace unsplash with kaya_bg [`37c384a`](https://git.odit.services/lfk/scanclient/commit/37c384aa3688a66bc31673048e718fc04bc7bf0d)
#### [0.1.6](https://git.odit.services/lfk/scanclient/compare/0.1.5...0.1.6)

File diff suppressed because it is too large Load Diff

View File

@@ -1,50 +1,49 @@
{
"name": "@lfk/scanclient",
"version": "0.2.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"format": "prettier --write --plugin-search-dir=. ./**/*.html ./**/*.svelte",
"prepare": "husky install",
"license:export": "license-exporter --markdown && git stage licenses.md",
"release": "release-it --only-version"
},
"devDependencies": {
"@odit/license-exporter": "^0.0.11",
"@svitejs/vite-plugin-svelte": "^0.11.1",
"@tsconfig/svelte": "^1.0.10",
"@types/html-minifier": "^4.0.0",
"axios": "^0.21.1",
"html-minifier": "^4.0.0",
"husky": "^5.1.3",
"prettier": "^2.2.1",
"prettier-plugin-svelte": "^2.2.0",
"release-it": "^14.5.1",
"svelte": "^3.35.0",
"svelte-i18n": "^3.3.7",
"svelte-preprocess": "^4.6.9",
"vite": "^2.1.2",
"vite-plugin-windicss": "^0.9.2"
},
"dependencies": {
"validator": "^13.5.2"
},
"release-it": {
"git": {
"commit": true,
"requireCleanWorkingDir": false,
"commitMessage": "🚀Bumped version to ${version}",
"requireBranch": "dev",
"push": false,
"tag": true,
"tagName": null,
"tagAnnotation": "${version}"
},
"npm": {
"publish": false
},
"hooks": {
"after:bump": "npx auto-changelog --commit-limit false -p -u --hide-credit && git add CHANGELOG.md && node order.js && git add src/locales"
}
}
}
{
"name": "@lfk/scanclient",
"version": "1.0.3",
"scripts": {
"dev": "vite",
"build": "vite build",
"format": "prettier --write --plugin-search-dir=. ./**/*.html ./**/*.svelte",
"license:export": "license-exporter --markdown && git stage licenses.md",
"release": "release-it --only-version"
},
"devDependencies": {
"@odit/license-exporter": "0.0.12",
"@svitejs/vite-plugin-svelte": "0.11.1",
"@tsconfig/svelte": "1.0.10",
"axios": "0.21.1",
"prettier": "2.2.1",
"prettier-plugin-svelte": "2.2.0",
"release-it": "14.5.1",
"svelte": "3.35.0",
"svelte-i18n": "3.3.7",
"svelte-preprocess": "4.6.9",
"vite": "2.1.2",
"vite-plugin-windicss": "0.9.2"
},
"dependencies": {
"validator": "13.5.2"
},
"release-it": {
"git": {
"commit": true,
"requireCleanWorkingDir": false,
"commitMessage": "🚀Bumped version to ${version}",
"requireBranch": "dev",
"push": true,
"tag": true,
"tagName": null,
"tagAnnotation": "${version}"
},
"npm": {
"publish": false
},
"hooks": {
"after:bump": "npx auto-changelog --commit-limit false -p -u --hide-credit && git add CHANGELOG.md && node order.js && git add src/locales"
}
},
"volta": {
"node": "19.9.0"
}
}

180
pnpm-lock.yaml generated
View File

@@ -2,54 +2,45 @@ lockfileVersion: '6.0'
dependencies:
validator:
specifier: ^13.5.2
specifier: 13.5.2
version: 13.5.2
devDependencies:
'@odit/license-exporter':
specifier: ^0.0.11
version: 0.0.11
specifier: 0.0.12
version: 0.0.12
'@svitejs/vite-plugin-svelte':
specifier: ^0.11.1
specifier: 0.11.1
version: 0.11.1(svelte@3.35.0)(vite@2.1.2)
'@tsconfig/svelte':
specifier: ^1.0.10
specifier: 1.0.10
version: 1.0.10
'@types/html-minifier':
specifier: ^4.0.0
version: 4.0.0
axios:
specifier: ^0.21.1
specifier: 0.21.1
version: 0.21.1
html-minifier:
specifier: ^4.0.0
version: 4.0.0
husky:
specifier: ^5.1.3
version: 5.1.3
prettier:
specifier: ^2.2.1
specifier: 2.2.1
version: 2.2.1
prettier-plugin-svelte:
specifier: ^2.2.0
specifier: 2.2.0
version: 2.2.0(prettier@2.2.1)(svelte@3.35.0)
release-it:
specifier: ^14.5.1
specifier: 14.5.1
version: 14.5.1
svelte:
specifier: ^3.35.0
specifier: 3.35.0
version: 3.35.0
svelte-i18n:
specifier: ^3.3.7
specifier: 3.3.7
version: 3.3.7(svelte@3.35.0)
svelte-preprocess:
specifier: ^4.6.9
specifier: 4.6.9
version: 4.6.9(svelte@3.35.0)
vite:
specifier: ^2.1.2
specifier: 2.1.2
version: 2.1.2
vite-plugin-windicss:
specifier: ^0.9.2
specifier: 0.9.2
version: 0.9.2(vite@2.1.2)
packages:
@@ -241,11 +232,11 @@ packages:
'@octokit/openapi-types': 12.11.0
dev: true
/@odit/license-exporter@0.0.11:
resolution: {integrity: sha512-jB5XQF913xaRSF0Hjoqaei/qcTGwBEUc2IZ68OcFShwL/fLfBhI4yhlc9nm9gHgWDEKOInI7mVE8xgpHuiGasA==}
/@odit/license-exporter@0.0.12:
resolution: {integrity: sha512-k5KxyTOk3Qz/OzId5VNXKjYOz1C4cMVfRHbq3X0VS4BM2rRuIgabrg/lbmZXDM1ExJkdBXi9sqiQ4h7N5bVbLQ==}
hasBin: true
dependencies:
yargs: 16.2.0
yargs: 17.7.1
dev: true
/@rollup/pluginutils@4.2.1:
@@ -315,21 +306,6 @@ packages:
'@types/responselike': 1.0.0
dev: true
/@types/clean-css@4.2.6:
resolution: {integrity: sha512-Ze1tf+LnGPmG6hBFMi0B4TEB0mhF7EiMM5oyjLDNPE9hxrPU0W+5+bHvO+eFPA+bt0iC1zkQMoU/iGdRVjcRbw==}
dependencies:
'@types/node': 18.15.11
source-map: 0.6.1
dev: true
/@types/html-minifier@4.0.0:
resolution: {integrity: sha512-eFnGhrKmjWBlnSGNtunetE3UU2Tc/LUl92htFslSSTmpp9EKHQVcYQadCyYfnzUEFB5G/3wLWo/USQS/mEPKrA==}
dependencies:
'@types/clean-css': 4.2.6
'@types/relateurl': 0.2.29
'@types/uglify-js': 3.17.1
dev: true
/@types/http-cache-semantics@4.0.1:
resolution: {integrity: sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==}
dev: true
@@ -352,10 +328,6 @@ packages:
resolution: {integrity: sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==}
dev: true
/@types/relateurl@0.2.29:
resolution: {integrity: sha512-QSvevZ+IRww2ldtfv1QskYsqVVVwCKQf1XbwtcyyoRvLIQzfyPhj/C+3+PKzSDRdiyejaiLgnq//XTkleorpLg==}
dev: true
/@types/responselike@1.0.0:
resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==}
dependencies:
@@ -369,12 +341,6 @@ packages:
sass: 1.60.0
dev: true
/@types/uglify-js@3.17.1:
resolution: {integrity: sha512-GkewRA4i5oXacU/n4MA9+bLgt5/L3F1mKrYvFGm7r2ouLXhRKjuWwo9XHNnbx6WF3vlGW21S3fCvgqxvxXXc5g==}
dependencies:
source-map: 0.6.1
dev: true
/@windicss/plugin-utils@0.9.2:
resolution: {integrity: sha512-mYKqjRVc2NYHp5uA5cDyHtqHFNK1pBC6RYYLywuUPTxsUVszYGnRbUXSeZwisGrHqD5dlHtpcefM5QOuTm53KA==}
dependencies:
@@ -502,7 +468,7 @@ packages:
dependencies:
ansi-align: 3.0.1
camelcase: 6.3.0
chalk: 4.1.0
chalk: 4.1.2
cli-boxes: 2.2.1
string-width: 4.2.3
type-fest: 0.20.2
@@ -579,13 +545,6 @@ packages:
engines: {node: '>=6'}
dev: true
/camel-case@3.0.0:
resolution: {integrity: sha512-+MbKztAYHXPr1jNTSKQF52VpcFjwY5RkR7fxksV8Doo4KAYc5Fl4UJRgthBbTmEx8C54DqahhbLJkDwjI3PI/w==}
dependencies:
no-case: 2.3.2
upper-case: 1.1.3
dev: true
/camelcase@6.3.0:
resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==}
engines: {node: '>=10'}
@@ -644,13 +603,6 @@ packages:
engines: {node: '>=8'}
dev: true
/clean-css@4.2.4:
resolution: {integrity: sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A==}
engines: {node: '>= 4.0'}
dependencies:
source-map: 0.6.1
dev: true
/cli-boxes@2.2.1:
resolution: {integrity: sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==}
engines: {node: '>=6'}
@@ -673,8 +625,9 @@ packages:
engines: {node: '>= 10'}
dev: true
/cliui@7.0.4:
resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==}
/cliui@8.0.1:
resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==}
engines: {node: '>=12'}
dependencies:
string-width: 4.2.3
strip-ansi: 6.0.1
@@ -720,10 +673,6 @@ packages:
delayed-stream: 1.0.0
dev: true
/commander@2.20.3:
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
dev: true
/commander@4.1.1:
resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}
engines: {node: '>= 6'}
@@ -1053,7 +1002,7 @@ packages:
dependencies:
asynckit: 0.4.0
combined-stream: 1.0.8
mime-types: 2.1.29
mime-types: 2.1.35
dev: true
/fs.realpath@1.0.0:
@@ -1244,25 +1193,6 @@ packages:
resolution: {integrity: sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==}
dev: true
/he@1.2.0:
resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==}
hasBin: true
dev: true
/html-minifier@4.0.0:
resolution: {integrity: sha512-aoGxanpFPLg7MkIl/DDFYtb0iWz7jMFGqFhvEDZga6/4QTjneiD8I/NXL1x5aaoCp7FSIT6h/OhykDdPsbtMig==}
engines: {node: '>=6'}
hasBin: true
dependencies:
camel-case: 3.0.0
clean-css: 4.2.4
commander: 2.20.3
he: 1.2.0
param-case: 2.1.1
relateurl: 0.2.7
uglify-js: 3.17.4
dev: true
/http-cache-semantics@4.1.1:
resolution: {integrity: sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==}
dev: true
@@ -1296,12 +1226,6 @@ packages:
engines: {node: '>=10.17.0'}
dev: true
/husky@5.1.3:
resolution: {integrity: sha512-fbNJ+Gz5wx2LIBtMweJNY1D7Uc8p1XERi5KNRMccwfQA+rXlxWNSdUxswo0gT8XqxywTIw7Ywm/F4v/O35RdMg==}
engines: {node: '>= 10'}
hasBin: true
dev: true
/iconv-lite@0.4.24:
resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
engines: {node: '>=0.10.0'}
@@ -1379,7 +1303,7 @@ packages:
engines: {node: '>=8.0.0'}
dependencies:
ansi-escapes: 4.3.2
chalk: 4.1.0
chalk: 4.1.2
cli-cursor: 3.1.0
cli-width: 3.0.0
external-editor: 3.1.0
@@ -1575,14 +1499,10 @@ packages:
resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==}
engines: {node: '>=10'}
dependencies:
chalk: 4.1.0
chalk: 4.1.2
is-unicode-supported: 0.1.0
dev: true
/lower-case@1.1.4:
resolution: {integrity: sha512-2Fgx1Ycm599x+WGpIYwJOvsjmXFzTSc34IwDWALRA/8AopUKAVPwfJ+h5+f85BCp0PWmmJcWzEpxOpoXycMpdA==}
dev: true
/lowercase-keys@1.0.1:
resolution: {integrity: sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==}
engines: {node: '>=0.10.0'}
@@ -1719,12 +1639,6 @@ packages:
hasBin: true
dev: true
/no-case@2.3.2:
resolution: {integrity: sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==}
dependencies:
lower-case: 1.1.4
dev: true
/node-fetch@2.6.9:
resolution: {integrity: sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==}
engines: {node: 4.x || >=6.0.0}
@@ -1793,7 +1707,7 @@ packages:
engines: {node: '>=10'}
dependencies:
bl: 4.1.0
chalk: 4.1.0
chalk: 4.1.2
cli-cursor: 3.1.0
cli-spinners: 2.7.0
is-interactive: 1.0.0
@@ -1850,12 +1764,6 @@ packages:
semver: 6.3.0
dev: true
/param-case@2.1.1:
resolution: {integrity: sha512-eQE845L6ot89sk2N8liD8HAuH4ca6Vvr7VWAWwt7+kvvG5aBcPmmphQ68JsEG2qa9n1TykS2DLeMt363AAH8/w==}
dependencies:
no-case: 2.3.2
dev: true
/parent-module@1.0.1:
resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
engines: {node: '>=6'}
@@ -2071,11 +1979,6 @@ packages:
rc: 1.2.8
dev: true
/relateurl@0.2.7:
resolution: {integrity: sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog==}
engines: {node: '>= 0.10'}
dev: true
/release-it@14.5.1:
resolution: {integrity: sha512-ivbMbYEk4E1RoV3DmWn8T37sjnCx35kwiHDSgfphDr0F8A5zbJCj4ZLZmDseE9sQi9ZjhXTN1webBLW5YbGxNg==}
engines: {node: '>=10'}
@@ -2295,11 +2198,6 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
/source-map@0.6.1:
resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
engines: {node: '>=0.10.0'}
dev: true
/source-map@0.7.4:
resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==}
engines: {node: '>= 8'}
@@ -2555,12 +2453,6 @@ packages:
is-typedarray: 1.0.0
dev: true
/uglify-js@3.17.4:
resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==}
engines: {node: '>=0.8.0'}
hasBin: true
dev: true
/unique-string@2.0.0:
resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==}
engines: {node: '>=8'}
@@ -2582,7 +2474,7 @@ packages:
engines: {node: '>=10'}
dependencies:
boxen: 5.1.2
chalk: 4.1.0
chalk: 4.1.2
configstore: 5.0.1
has-yarn: 2.1.0
import-lazy: 2.1.0
@@ -2597,10 +2489,6 @@ packages:
xdg-basedir: 4.0.0
dev: true
/upper-case@1.1.3:
resolution: {integrity: sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA==}
dev: true
/url-join@4.0.1:
resolution: {integrity: sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==}
dev: true
@@ -2743,22 +2631,22 @@ packages:
engines: {node: '>=10'}
dev: true
/yargs-parser@20.2.9:
resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==}
engines: {node: '>=10'}
/yargs-parser@21.1.1:
resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==}
engines: {node: '>=12'}
dev: true
/yargs@16.2.0:
resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==}
engines: {node: '>=10'}
/yargs@17.7.1:
resolution: {integrity: sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==}
engines: {node: '>=12'}
dependencies:
cliui: 7.0.4
cliui: 8.0.1
escalade: 3.1.1
get-caller-file: 2.0.5
require-directory: 2.1.1
string-width: 4.2.3
y18n: 5.0.8
yargs-parser: 20.2.9
yargs-parser: 21.1.1
dev: true
/yocto-queue@0.1.0:

View File

@@ -39,10 +39,10 @@
</div>
</div>
<h1 class="mr-6 text-7xl font-semibold text-center text-gray-900">
<h1 class="mr-6 text-7xl font-semibold text-center text-gray-900 font-mono">
{hours}:{minutes}:{seconds}
</h1>
<section class="px-4 py-24 mx-auto max-w-7xl">
<section class="px-4 py-2 mx-auto max-w-7xl">
<div class="mx-auto space-y-5 w-full md:w-1/2">
{#if lastscan_error}
<div
@@ -54,7 +54,6 @@
</div>
{/if}
<form
class="space-y-4"
onsubmit="event.preventDefault();"
on:submit={() => {
if (card === "cnf") {
@@ -114,36 +113,39 @@
/>
</label>
{#if lastscan_totaldistance}
{#if !lastscan_valid || lastscan_error}
<svg
xmlns="http://www.w3.org/2000/svg"
width="20rem"
height="20rem"
class="ml-auto mr-auto"
version="1.0"
title="Invalid"
viewBox="0 0 100 100"
><g fill="none" stroke="red"
><path d="M6 6l88 88" stroke-width="18.1" /><path
d="M6 94L94 6"
stroke-width="17.8"
/></g
></svg
>
{:else}
<svg
xmlns="http://www.w3.org/2000/svg"
width="20rem"
height="20rem"
class="ml-auto mr-auto"
title="Valid"
viewBox="0 0 600 600"
><path
d="M8 405s115 129 138 182h99c41-126 203-429 341-535 28-37-43-52-102-27-87 36-252 317-283 384-44 12-90-74-90-74z"
fill="#181"
/></svg
>
{/if}
<div class="w-full text-center items-center pt-2">
{#if !lastscan_valid || lastscan_error}
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
stroke-width="1.5"
stroke="currentColor"
class="w-30 h-30 text-center mx-auto text-red-600"
viewBox="5.25 5.25 13.5 13.5"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M6 18L18 6M6 6l12 12"
/>
</svg>
{:else}
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
stroke-width="1.5"
stroke="currentColor"
class="w-30 h-30 text-center mx-auto text-green-600"
viewBox="3.75 4.5 16.5 15"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="m4.5 12.75 6 6 9-13.5"
/>
</svg>
{/if}
</div>
<h1 class="text-2xl font-bold text-center">{$_("total-distance")}</h1>
<h1 class="text-6xl font-bold text-center">
{lastscan_totaldistance}

View File

@@ -43,6 +43,7 @@
<button
on:click={() => {
lang.set("de-DE");
location.reload();
}}
type="button"
class:bg-blue-700={$lang === "de-DE"}
@@ -68,6 +69,7 @@
<button
on:click={() => {
lang.set("en-EN");
location.reload();
}}
type="button"
class:bg-blue-700={$lang === "en-EN"}

View File

@@ -1,19 +1,7 @@
import svelte from '@svitejs/vite-plugin-svelte';
import windiCSS from 'vite-plugin-windicss';
import { minify } from 'html-minifier';
import { defineConfig } from 'vite';
//
const indexReplace = () => {
return {
name: 'html-transform',
transformIndexHtml(html) {
return minify(html, {
collapseWhitespace: true
});
}
};
};
export default defineConfig(({ command, mode }) => {
const isProduction = mode === 'production';
return {
@@ -43,8 +31,7 @@ export default defineConfig(({ command, mode }) => {
preprocess: [
//
]
}),
indexReplace()
})
]
};
});