diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..a749b38e --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,51 @@ + + +## Description + + + +## Related Tickets & Documents + + + +## Mobile & Desktop Screenshots/Recordings + + + +## [optional] Are there any post-deployment tasks we need to perform? + + diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9fcc34df..933ed270 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -101,12 +101,13 @@ jobs: run: cp ./remote/* ./dist/ - name: Upload to remote server - uses: SamKirkland/FTP-Deploy-Action@4.3.3 + uses: SamKirkland/FTP-Deploy-Action@4.3.4 with: server: ${{ secrets.REMOTEHOST }} username: ${{ secrets.REMOTEUSER }} password: ${{ secrets.REMOTEPASSWORD }} dangerous-clean-slate: true + exclude: .htaccess local-dir: ./dist/ update-changelog: diff --git a/.gitignore b/.gitignore index 03713d49..85dd33c5 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ temp package-lock.json *.local .env +.vscode cypress/screenshots/ cypress/videos/ diff --git a/CHANGELOG.md b/CHANGELOG.md index f6c1b8b6..0390f8f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,23 @@ # Changelog All notable changes to Mainsail will be documented in this file. +## [2.5.1](https://github.com/mainsail-crew/mainsail/releases/tag/v2.5.1) - 2023-04-02 +### Bug Fixes and Improvements + +- Missing M117 output in status panel (#1309) | [0f01a8f](0f01a8f994953c6518a0ece4870b0328387c5cb1) +- Disallow non-ascii chars in bed_mesh name (#1311) | [7301ae9](7301ae986abea0b71281f62979098bb99b362469) +- Fix issue of empty Screws tilt adjust helper dialog (#1329) | [44f4079](44f4079dacbe88ce84c27ea32080d95756d5e468) +- Fix invalid name input checks (#1312) | [85ea45f](85ea45fbe9b34d9a19ed1a3fcaed95514c3977e5) + +### Localization + +- **cz**: Add Czech localization (#1327) | [531b75f](531b75fffd2e22c60764e10c4ed1786449d9cad5) +- **de**: Update German localization (#1326) | [ec1b32e](ec1b32eaaf83222591d822b233bdcff54f428560) + +### Other + +- Update caniuse (#1330) | [c18a959](c18a9594e6c9cc61ff0a7ac68b2206aa73cce697) + ## [2.5.0](https://github.com/mainsail-crew/mainsail/releases/tag/v2.5.0) - 2023-03-12 ### Features diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 53b50235..bbecc4c6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -52,7 +52,7 @@ Before you work on a PR and submit it, please pay attention to the following gui 1. Search the [pull requests](https://github.com/mainsail-crew/mainsail/pulls) for an open or closed PR related to your submission. - You don't want to duplicate existing efforts or work on something unlikely to be merged into the project. 2. Do not submit PRs against the `master` branch. PRs need to be submitted against the `develop` branch. -3. Follow our [Code Standards](https://docs.mainsail.xyz/development/code-standards) +3. Follow our [Code Standards](https://docs.mainsail.xyz/overview/developement/code-standards) 4. If there is an issue describing the problem you're fixing or a discussion of a feature you are implementing, make sure to link it in the PRs body. - You can also add `fix #` or `fixes #` in the PR body where `` is the issue id. diff --git a/README.md b/README.md index cc51609b..3d853743 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,19 @@ every day. To motivate him (☕🍺😜) there are several ways to support him: [![patreon](https://img.shields.io/badge/patreon-participate-yellow.svg?style=flat-square)](https://www.patreon.com/meteyou) [![kofi](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=flat-square)](https://ko-fi.com/mainsail) +## Contributing + +Contributions to Mainsail are always welcome! + +- 📥 Pull requests and 🌟 Stars are always welcome. +- Read our [contributing guidelines](CONTRIBUTING.md) to get started, + or find us on [Discord](https://discord.gg/mainsail), we will take the time to guide you. + +Looking for a first issue to tackle? + +- We tag issues with [![Good First Issue](https://img.shields.io/github/issues/mainsail-crew/mainsail/good%20first%20issue.svg)](https://github.com/mainsail-crew/mainsail/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) when we think they are well suited for people who are new to the codebase or OSS in general. +- [Talk to us](https://discord.gg/mainsail), we'll find something that suits your skills and learning interest. + ## Credit, sources and inspiration - [Kevin O'Connor](https://github.com/KevinOConnor) for the awesome 3D printer firmware [Klipper](https://github.com/KevinOConnor/klipper) diff --git a/package-lock.json b/package-lock.json index bd8b92ca..1d4962fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mainsail", - "version": "2.5.1", + "version": "2.6.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mainsail", - "version": "2.5.1", + "version": "2.6.0", "dependencies": { "@codemirror/commands": "^6.0.1", "@codemirror/lang-css": "^6.0.0", @@ -21,12 +21,14 @@ "@sindarius/gcodeviewer": "^3.2.2", "@types/node": "^18.0.0", "@types/overlayscrollbars": "^1.12.1", + "@uiw/codemirror-theme-vscode": "^4.19.11", "axios": "^0.27.0", "codemirror": "^6.0.1", "core-js": "^3.16.0", "echarts": "^5.2.2", "echarts-gl": "^2.0.8", "hls.js": "^1.3.3", + "jmuxer": "^2.0.5", "js-sha256": "^0.9.0", "lodash.kebabcase": "^4.1.1", "lodash.throttle": "^4.1.1", @@ -35,6 +37,7 @@ "regenerator-runtime": "^0.13.9", "resize-observer-polyfill": "^1.5.1", "semver": "^7.3.5", + "typed_janus_js": "^1.0.14", "uuid": "^9.0.0", "vue": "^2.7.10", "vue-class-component": "^7.2.6", @@ -54,6 +57,7 @@ "@intlify/vite-plugin-vue-i18n": "^2.5.0", "@mdi/js": "^7.0.0", "@types/file-saver": "^2.0.5", + "@types/jmuxer": "^2.0.3", "@types/lodash.kebabcase": "^4.1.6", "@types/lodash.throttle": "^4.1.6", "@types/semver": "^7.3.8", @@ -71,8 +75,8 @@ "sass": "~1.32", "start-server-and-test": "^1.14.0", "typescript": "^4.5.5", - "unplugin-vue-components": "^0.22.0", - "vite": "^3.0.0", + "unplugin-vue-components": "^0.22.12", + "vite": "^3.2.7", "vite-plugin-checker": "^0.5.0", "vite-plugin-package-version": "^1.0.2", "vite-plugin-pwa": "^0.13.0", @@ -101,9 +105,9 @@ } }, "node_modules/@antfu/utils": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/@antfu/utils/-/utils-0.5.2.tgz", - "integrity": "sha512-CQkeV+oJxUazwjlHD0/3ZD08QWKuGQkhnrKo3e6ly5pd48VUpXbb77q0xMU4+vc2CkJnDS02Eq/M9ugyX20XZA==", + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/@antfu/utils/-/utils-0.7.4.tgz", + "integrity": "sha512-qe8Nmh9rYI/HIspLSTwtbMFPj6dISG6+dJnOguTlPNXtCvS2uezdxscVBb7/3DrmNbQK49TDqpkSQ1chbRGdpQ==", "dev": true, "funding": { "url": "https://github.com/sponsors/antfu" @@ -2800,6 +2804,15 @@ "integrity": "sha512-zv9kNf3keYegP5oThGLaPk8E081DFDuwfqjtiTzm6PoxChdJ1raSuADf2YGCVIyrSynLrgc8JWv296s7Q7pQSQ==", "dev": true }, + "node_modules/@types/jmuxer": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/jmuxer/-/jmuxer-2.0.3.tgz", + "integrity": "sha512-jRwZXuPbNRG8wTfJT7gjpZm72EaMzvN3oG7zbFWdW8+OHJmxAhLyqycTd/0GtZ/P8OjKXa1cbyKxQg6coXlERg==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/json-schema": { "version": "7.0.11", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", @@ -3105,6 +3118,29 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/@uiw/codemirror-theme-vscode": { + "version": "4.19.11", + "resolved": "https://registry.npmjs.org/@uiw/codemirror-theme-vscode/-/codemirror-theme-vscode-4.19.11.tgz", + "integrity": "sha512-/SAei4iiIizEOvJ1rvIUc8y8HZLkIgzEWiC9UOZTAOKVcxIE7SLt1nTG3XRmPrceSltPgfTb0dLrsXoHQIPYKw==", + "dependencies": { + "@uiw/codemirror-themes": "4.19.11" + } + }, + "node_modules/@uiw/codemirror-themes": { + "version": "4.19.11", + "resolved": "https://registry.npmjs.org/@uiw/codemirror-themes/-/codemirror-themes-4.19.11.tgz", + "integrity": "sha512-4bh0vfkqeVJ7L2aGimKXqQtaoSEe/1xZb9nkGn35V5daHXkxRhb+BRFMOSrMsjGm74hM+dvYi5iH8HXVsvjJrQ==", + "dependencies": { + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0" + }, + "peerDependencies": { + "@codemirror/language": ">=6.0.0", + "@codemirror/state": ">=6.0.0", + "@codemirror/view": ">=6.0.0" + } + }, "node_modules/@vue/babel-helper-vue-jsx-merge-props": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.4.0.tgz", @@ -3343,9 +3379,9 @@ } }, "node_modules/acorn": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", - "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", + "version": "8.8.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", + "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -3670,8 +3706,7 @@ "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "node_modules/base64-js": { "version": "1.5.1", @@ -5937,8 +5972,7 @@ "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, "node_modules/fsevents": { "version": "2.3.2", @@ -6364,7 +6398,6 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -6373,8 +6406,7 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/ini": { "version": "2.0.0", @@ -6778,6 +6810,11 @@ "node": ">=8" } }, + "node_modules/jmuxer": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/jmuxer/-/jmuxer-2.0.5.tgz", + "integrity": "sha512-4qjXl8JS138WyCZZoOYwXq/qVrHcE0UIpt2lMtGyq2wuBSPMNSzP1K2CEWSrwAMgjZ9jD7Btc0SxMkiLIhoHsg==" + }, "node_modules/joi": { "version": "17.6.2", "resolved": "https://registry.npmjs.org/joi/-/joi-17.6.2.tgz", @@ -6949,6 +6986,11 @@ "semver": "bin/semver.js" } }, + "node_modules/jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==" + }, "node_modules/jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", @@ -7073,8 +7115,7 @@ "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "node_modules/lodash.debounce": { "version": "4.0.8", @@ -7192,6 +7233,11 @@ "node": ">=10" } }, + "node_modules/lunr": { + "version": "2.3.9", + "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz", + "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==" + }, "node_modules/magic-string": { "version": "0.26.5", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.26.5.tgz", @@ -7210,6 +7256,17 @@ "integrity": "sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==", "dev": true }, + "node_modules/marked": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", + "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 12" + } + }, "node_modules/merge-source-map": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.1.0.tgz", @@ -7300,9 +7357,15 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", + "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -7404,7 +7467,6 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, "dependencies": { "wrappy": "1" } @@ -7608,9 +7670,9 @@ } }, "node_modules/postcss": { - "version": "8.4.17", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.17.tgz", - "integrity": "sha512-UNxNOLQydcOFi41yHNMcKRZ39NeXlr8AxGuZJsdub8vIb12fHzcq37DTU/QtbI6WLxNg2gF9Z+8qtRwTj1UI1Q==", + "version": "8.4.24", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", + "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==", "funding": [ { "type": "opencollective", @@ -7619,10 +7681,14 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "dependencies": { - "nanoid": "^3.3.4", + "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" }, @@ -8015,9 +8081,9 @@ "integrity": "sha512-ndEIpszUHiG4HtDsQLeIuMvRsDnn8c8rYStabochtUeCvfuvNptb5TUbVD68LRAILPX7p9nqQGh4xJgn3EHS/g==" }, "node_modules/rollup": { - "version": "2.78.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.78.1.tgz", - "integrity": "sha512-VeeCgtGi4P+o9hIg+xz4qQpRl6R401LWEXBmxYKOV4zlF82lyhgh2hTZnheFUbANE8l2A41F458iwj2vEYaXJg==", + "version": "2.79.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", + "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", "dev": true, "bin": { "rollup": "dist/bin/rollup" @@ -8076,7 +8142,6 @@ "version": "7.5.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.7.tgz", "integrity": "sha512-z9MzKh/UcOqB3i20H6rtrlaE/CgjLOvheWK/9ILrbhROGTweAi1BaFsTT9FbwZi5Trr1qNRs+MXkhmR06awzQA==", - "dev": true, "dependencies": { "tslib": "^2.1.0" } @@ -8135,6 +8200,11 @@ "node": ">=8.9.0" } }, + "node_modules/sdp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/sdp/-/sdp-3.2.0.tgz", + "integrity": "sha512-d7wDPgDV3DDiqulJjKiV2865wKsJ34YI+NDREbm+FySq6WuKOikwyNQcm+doLAZ1O6ltdO0SeKle2xMpN3Brgw==" + }, "node_modules/semver": { "version": "7.3.7", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", @@ -8179,6 +8249,16 @@ "node": ">=8" } }, + "node_modules/shiki": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.10.1.tgz", + "integrity": "sha512-VsY7QJVzU51j5o1+DguUd+6vmCmZ5v/6gYu4vyYAhzjuNQU6P/vmSy4uQaOhvje031qQMiW0d2BwgMH52vqMng==", + "dependencies": { + "jsonc-parser": "^3.0.0", + "vscode-oniguruma": "^1.6.1", + "vscode-textmate": "5.2.0" + } + }, "node_modules/side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", @@ -8754,11 +8834,79 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/typed_janus_js": { + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/typed_janus_js/-/typed_janus_js-1.0.14.tgz", + "integrity": "sha512-WuwxCClbQEYlyyGimyqBb6aaBt/yowHyWL0n0Ui78LRBiffOVdSWvNEdepSIawgwCW3llJajQbpsRkcXFspZ6Q==", + "dependencies": { + "lodash": "^4.17.21", + "rxjs": "^7.5.5", + "typedoc": "^0.22.15", + "webrtc-adapter": "^8.1.1" + } + }, + "node_modules/typedoc": { + "version": "0.22.18", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.22.18.tgz", + "integrity": "sha512-NK9RlLhRUGMvc6Rw5USEYgT4DVAUFk7IF7Q6MYfpJ88KnTZP7EneEa4RcP+tX1auAcz7QT1Iy0bUSZBYYHdoyA==", + "dependencies": { + "glob": "^8.0.3", + "lunr": "^2.3.9", + "marked": "^4.0.16", + "minimatch": "^5.1.0", + "shiki": "^0.10.1" + }, + "bin": { + "typedoc": "bin/typedoc" + }, + "engines": { + "node": ">= 12.10.0" + }, + "peerDependencies": { + "typescript": "4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x || 4.5.x || 4.6.x || 4.7.x" + } + }, + "node_modules/typedoc/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/typedoc/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/typedoc/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/typescript": { - "version": "4.8.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", - "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", - "dev": true, + "version": "4.7.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", + "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -8844,33 +8992,33 @@ } }, "node_modules/unplugin": { - "version": "0.9.6", - "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-0.9.6.tgz", - "integrity": "sha512-YYLtfoNiie/lxswy1GOsKXgnLJTE27la/PeCGznSItk+8METYZErO+zzV9KQ/hXhPwzIJsfJ4s0m1Rl7ZCWZ4Q==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.3.1.tgz", + "integrity": "sha512-h4uUTIvFBQRxUKS2Wjys6ivoeofGhxzTe2sRWlooyjHXVttcVfV/JiavNd3d4+jty0SVV0dxGw9AkY9MwiaCEw==", "dev": true, "dependencies": { - "acorn": "^8.8.0", + "acorn": "^8.8.2", "chokidar": "^3.5.3", "webpack-sources": "^3.2.3", - "webpack-virtual-modules": "^0.4.5" + "webpack-virtual-modules": "^0.5.0" } }, "node_modules/unplugin-vue-components": { - "version": "0.22.7", - "resolved": "https://registry.npmjs.org/unplugin-vue-components/-/unplugin-vue-components-0.22.7.tgz", - "integrity": "sha512-MJEAKJF9bRykTRvJ4WXF0FNMAyt1PX3iwpu2NN+li35sAKjQv6sC1col5aZDLiwDZDo2AGwxNkzLJFKaun9qHw==", + "version": "0.22.12", + "resolved": "https://registry.npmjs.org/unplugin-vue-components/-/unplugin-vue-components-0.22.12.tgz", + "integrity": "sha512-FxyzsuBvMCYPIk+8cgscGBQ345tvwVu+qY5IhE++eorkyvA4Z1TiD/HCiim+Kbqozl10i4K+z+NCa2WO2jexRA==", "dev": true, "dependencies": { - "@antfu/utils": "^0.5.2", - "@rollup/pluginutils": "^4.2.1", + "@antfu/utils": "^0.7.2", + "@rollup/pluginutils": "^5.0.2", "chokidar": "^3.5.3", "debug": "^4.3.4", "fast-glob": "^3.2.12", "local-pkg": "^0.4.2", - "magic-string": "^0.26.3", - "minimatch": "^5.1.0", + "magic-string": "^0.27.0", + "minimatch": "^5.1.1", "resolve": "^1.22.1", - "unplugin": "^0.9.5" + "unplugin": "^1.0.1" }, "engines": { "node": ">=14" @@ -8888,6 +9036,34 @@ } } }, + "node_modules/unplugin-vue-components/node_modules/@rollup/pluginutils": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.2.tgz", + "integrity": "sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==", + "dev": true, + "dependencies": { + "@types/estree": "^1.0.0", + "estree-walker": "^2.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0||^3.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } + }, + "node_modules/unplugin-vue-components/node_modules/@types/estree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.1.tgz", + "integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==", + "dev": true + }, "node_modules/unplugin-vue-components/node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -8897,10 +9073,22 @@ "balanced-match": "^1.0.0" } }, + "node_modules/unplugin-vue-components/node_modules/magic-string": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz", + "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==", + "dev": true, + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.13" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/unplugin-vue-components/node_modules/minimatch": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" @@ -8992,15 +9180,15 @@ } }, "node_modules/vite": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vite/-/vite-3.1.4.tgz", - "integrity": "sha512-JoQI08aBjY9lycL7jcEq4p9o1xUjq5aRvdH4KWaXtkSx7e7RpAh9D3IjzDWRD4Fg44LS3oDAIOG/Kq1L+82psA==", + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/vite/-/vite-3.2.7.tgz", + "integrity": "sha512-29pdXjk49xAP0QBr0xXqu2s5jiQIXNvE/xwd0vUizYT2Hzqe4BksNNoWllFVXJf4eLZ+UlVQmXfB4lWrc+t18g==", "dev": true, "dependencies": { - "esbuild": "^0.15.6", - "postcss": "^8.4.16", + "esbuild": "^0.15.9", + "postcss": "^8.4.18", "resolve": "^1.22.1", - "rollup": "~2.78.0" + "rollup": "^2.79.1" }, "bin": { "vite": "bin/vite.js" @@ -9012,12 +9200,17 @@ "fsevents": "~2.3.2" }, "peerDependencies": { + "@types/node": ">= 14", "less": "*", "sass": "*", "stylus": "*", + "sugarss": "*", "terser": "^5.4.0" }, "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, "less": { "optional": true }, @@ -9027,6 +9220,9 @@ "stylus": { "optional": true }, + "sugarss": { + "optional": true + }, "terser": { "optional": true } @@ -9131,21 +9327,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/vite-plugin-pwa/node_modules/rollup": { - "version": "2.79.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", - "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", - "dev": true, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=10.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, "node_modules/vite-plugin-vue2": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/vite-plugin-vue2/-/vite-plugin-vue2-2.0.2.tgz", @@ -9267,6 +9448,16 @@ "integrity": "sha512-k8luDIWJWyenLc5ToFQQMaSrqCHiLwyKPHKPQZ5zz21vM+vIVUSvsRpcbiECH4WR88K2XZqc4ScRcZ7nk/jbeA==", "dev": true }, + "node_modules/vscode-oniguruma": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz", + "integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==" + }, + "node_modules/vscode-textmate": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-5.2.0.tgz", + "integrity": "sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ==" + }, "node_modules/vscode-uri": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.6.tgz", @@ -9634,11 +9825,23 @@ } }, "node_modules/webpack-virtual-modules": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.4.5.tgz", - "integrity": "sha512-8bWq0Iluiv9lVf9YaqWQ9+liNgXSHICm+rg544yRgGYaR8yXZTVBaHZkINZSB2yZSWo4b0F6MIxqJezVfOEAlg==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.5.0.tgz", + "integrity": "sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==", "dev": true }, + "node_modules/webrtc-adapter": { + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/webrtc-adapter/-/webrtc-adapter-8.2.2.tgz", + "integrity": "sha512-jQWwqiAEAFZamWliJo0Q+dIC6ZMJ8BgCFvW/oXWVFby1Nw14dOUfPwZ3lVe4nafDXdTyCUT7xfLt5xXiioXUCQ==", + "dependencies": { + "sdp": "^3.2.0" + }, + "engines": { + "node": ">=6.0.0", + "npm": ">=3.10.0" + } + }, "node_modules/whatwg-url": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", @@ -9952,8 +10155,7 @@ "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "node_modules/xml-name-validator": { "version": "4.0.0", @@ -10041,9 +10243,9 @@ } }, "@antfu/utils": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/@antfu/utils/-/utils-0.5.2.tgz", - "integrity": "sha512-CQkeV+oJxUazwjlHD0/3ZD08QWKuGQkhnrKo3e6ly5pd48VUpXbb77q0xMU4+vc2CkJnDS02Eq/M9ugyX20XZA==", + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/@antfu/utils/-/utils-0.7.4.tgz", + "integrity": "sha512-qe8Nmh9rYI/HIspLSTwtbMFPj6dISG6+dJnOguTlPNXtCvS2uezdxscVBb7/3DrmNbQK49TDqpkSQ1chbRGdpQ==", "dev": true }, "@babel/code-frame": { @@ -12032,6 +12234,15 @@ "integrity": "sha512-zv9kNf3keYegP5oThGLaPk8E081DFDuwfqjtiTzm6PoxChdJ1raSuADf2YGCVIyrSynLrgc8JWv296s7Q7pQSQ==", "dev": true }, + "@types/jmuxer": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/jmuxer/-/jmuxer-2.0.3.tgz", + "integrity": "sha512-jRwZXuPbNRG8wTfJT7gjpZm72EaMzvN3oG7zbFWdW8+OHJmxAhLyqycTd/0GtZ/P8OjKXa1cbyKxQg6coXlERg==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, "@types/json-schema": { "version": "7.0.11", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", @@ -12248,6 +12459,24 @@ "eslint-visitor-keys": "^3.3.0" } }, + "@uiw/codemirror-theme-vscode": { + "version": "4.19.11", + "resolved": "https://registry.npmjs.org/@uiw/codemirror-theme-vscode/-/codemirror-theme-vscode-4.19.11.tgz", + "integrity": "sha512-/SAei4iiIizEOvJ1rvIUc8y8HZLkIgzEWiC9UOZTAOKVcxIE7SLt1nTG3XRmPrceSltPgfTb0dLrsXoHQIPYKw==", + "requires": { + "@uiw/codemirror-themes": "4.19.11" + } + }, + "@uiw/codemirror-themes": { + "version": "4.19.11", + "resolved": "https://registry.npmjs.org/@uiw/codemirror-themes/-/codemirror-themes-4.19.11.tgz", + "integrity": "sha512-4bh0vfkqeVJ7L2aGimKXqQtaoSEe/1xZb9nkGn35V5daHXkxRhb+BRFMOSrMsjGm74hM+dvYi5iH8HXVsvjJrQ==", + "requires": { + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0" + } + }, "@vue/babel-helper-vue-jsx-merge-props": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.4.0.tgz", @@ -12433,9 +12662,9 @@ } }, "acorn": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", - "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", + "version": "8.8.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", + "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", "dev": true }, "acorn-jsx": { @@ -12662,8 +12891,7 @@ "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "base64-js": { "version": "1.5.1", @@ -14252,8 +14480,7 @@ "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, "fsevents": { "version": "2.3.2", @@ -14550,7 +14777,6 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" @@ -14559,8 +14785,7 @@ "inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "ini": { "version": "2.0.0", @@ -14837,6 +15062,11 @@ } } }, + "jmuxer": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/jmuxer/-/jmuxer-2.0.5.tgz", + "integrity": "sha512-4qjXl8JS138WyCZZoOYwXq/qVrHcE0UIpt2lMtGyq2wuBSPMNSzP1K2CEWSrwAMgjZ9jD7Btc0SxMkiLIhoHsg==" + }, "joi": { "version": "17.6.2", "resolved": "https://registry.npmjs.org/joi/-/joi-17.6.2.tgz", @@ -14971,6 +15201,11 @@ } } }, + "jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==" + }, "jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", @@ -15055,8 +15290,7 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash.debounce": { "version": "4.0.8", @@ -15152,6 +15386,11 @@ "yallist": "^4.0.0" } }, + "lunr": { + "version": "2.3.9", + "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz", + "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==" + }, "magic-string": { "version": "0.26.5", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.26.5.tgz", @@ -15167,6 +15406,11 @@ "integrity": "sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==", "dev": true }, + "marked": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", + "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==" + }, "merge-source-map": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.1.0.tgz", @@ -15239,9 +15483,9 @@ "dev": true }, "nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==" + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", + "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==" }, "natural-compare": { "version": "1.4.0", @@ -15313,7 +15557,6 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, "requires": { "wrappy": "1" } @@ -15463,11 +15706,11 @@ "dev": true }, "postcss": { - "version": "8.4.17", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.17.tgz", - "integrity": "sha512-UNxNOLQydcOFi41yHNMcKRZ39NeXlr8AxGuZJsdub8vIb12fHzcq37DTU/QtbI6WLxNg2gF9Z+8qtRwTj1UI1Q==", + "version": "8.4.24", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", + "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==", "requires": { - "nanoid": "^3.3.4", + "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" } @@ -15752,9 +15995,9 @@ "integrity": "sha512-ndEIpszUHiG4HtDsQLeIuMvRsDnn8c8rYStabochtUeCvfuvNptb5TUbVD68LRAILPX7p9nqQGh4xJgn3EHS/g==" }, "rollup": { - "version": "2.78.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.78.1.tgz", - "integrity": "sha512-VeeCgtGi4P+o9hIg+xz4qQpRl6R401LWEXBmxYKOV4zlF82lyhgh2hTZnheFUbANE8l2A41F458iwj2vEYaXJg==", + "version": "2.79.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", + "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", "dev": true, "requires": { "fsevents": "~2.3.2" @@ -15790,7 +16033,6 @@ "version": "7.5.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.7.tgz", "integrity": "sha512-z9MzKh/UcOqB3i20H6rtrlaE/CgjLOvheWK/9ILrbhROGTweAi1BaFsTT9FbwZi5Trr1qNRs+MXkhmR06awzQA==", - "dev": true, "requires": { "tslib": "^2.1.0" } @@ -15826,6 +16068,11 @@ "chokidar": ">=3.0.0 <4.0.0" } }, + "sdp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/sdp/-/sdp-3.2.0.tgz", + "integrity": "sha512-d7wDPgDV3DDiqulJjKiV2865wKsJ34YI+NDREbm+FySq6WuKOikwyNQcm+doLAZ1O6ltdO0SeKle2xMpN3Brgw==" + }, "semver": { "version": "7.3.7", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", @@ -15858,6 +16105,16 @@ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, + "shiki": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.10.1.tgz", + "integrity": "sha512-VsY7QJVzU51j5o1+DguUd+6vmCmZ5v/6gYu4vyYAhzjuNQU6P/vmSy4uQaOhvje031qQMiW0d2BwgMH52vqMng==", + "requires": { + "jsonc-parser": "^3.0.0", + "vscode-oniguruma": "^1.6.1", + "vscode-textmate": "5.2.0" + } + }, "side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", @@ -16291,11 +16548,63 @@ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true }, + "typed_janus_js": { + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/typed_janus_js/-/typed_janus_js-1.0.14.tgz", + "integrity": "sha512-WuwxCClbQEYlyyGimyqBb6aaBt/yowHyWL0n0Ui78LRBiffOVdSWvNEdepSIawgwCW3llJajQbpsRkcXFspZ6Q==", + "requires": { + "lodash": "^4.17.21", + "rxjs": "^7.5.5", + "typedoc": "^0.22.15", + "webrtc-adapter": "^8.1.1" + } + }, + "typedoc": { + "version": "0.22.18", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.22.18.tgz", + "integrity": "sha512-NK9RlLhRUGMvc6Rw5USEYgT4DVAUFk7IF7Q6MYfpJ88KnTZP7EneEa4RcP+tX1auAcz7QT1Iy0bUSZBYYHdoyA==", + "requires": { + "glob": "^8.0.3", + "lunr": "^2.3.9", + "marked": "^4.0.16", + "minimatch": "^5.1.0", + "shiki": "^0.10.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } + }, + "glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + } + }, + "minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, "typescript": { - "version": "4.8.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", - "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", - "dev": true + "version": "4.7.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", + "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==" }, "unbox-primitive": { "version": "1.0.2", @@ -16353,35 +16662,52 @@ "dev": true }, "unplugin": { - "version": "0.9.6", - "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-0.9.6.tgz", - "integrity": "sha512-YYLtfoNiie/lxswy1GOsKXgnLJTE27la/PeCGznSItk+8METYZErO+zzV9KQ/hXhPwzIJsfJ4s0m1Rl7ZCWZ4Q==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.3.1.tgz", + "integrity": "sha512-h4uUTIvFBQRxUKS2Wjys6ivoeofGhxzTe2sRWlooyjHXVttcVfV/JiavNd3d4+jty0SVV0dxGw9AkY9MwiaCEw==", "dev": true, "requires": { - "acorn": "^8.8.0", + "acorn": "^8.8.2", "chokidar": "^3.5.3", "webpack-sources": "^3.2.3", - "webpack-virtual-modules": "^0.4.5" + "webpack-virtual-modules": "^0.5.0" } }, "unplugin-vue-components": { - "version": "0.22.7", - "resolved": "https://registry.npmjs.org/unplugin-vue-components/-/unplugin-vue-components-0.22.7.tgz", - "integrity": "sha512-MJEAKJF9bRykTRvJ4WXF0FNMAyt1PX3iwpu2NN+li35sAKjQv6sC1col5aZDLiwDZDo2AGwxNkzLJFKaun9qHw==", + "version": "0.22.12", + "resolved": "https://registry.npmjs.org/unplugin-vue-components/-/unplugin-vue-components-0.22.12.tgz", + "integrity": "sha512-FxyzsuBvMCYPIk+8cgscGBQ345tvwVu+qY5IhE++eorkyvA4Z1TiD/HCiim+Kbqozl10i4K+z+NCa2WO2jexRA==", "dev": true, "requires": { - "@antfu/utils": "^0.5.2", - "@rollup/pluginutils": "^4.2.1", + "@antfu/utils": "^0.7.2", + "@rollup/pluginutils": "^5.0.2", "chokidar": "^3.5.3", "debug": "^4.3.4", "fast-glob": "^3.2.12", "local-pkg": "^0.4.2", - "magic-string": "^0.26.3", - "minimatch": "^5.1.0", + "magic-string": "^0.27.0", + "minimatch": "^5.1.1", "resolve": "^1.22.1", - "unplugin": "^0.9.5" + "unplugin": "^1.0.1" }, "dependencies": { + "@rollup/pluginutils": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.2.tgz", + "integrity": "sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "estree-walker": "^2.0.2", + "picomatch": "^2.3.1" + } + }, + "@types/estree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.1.tgz", + "integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==", + "dev": true + }, "brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -16391,10 +16717,19 @@ "balanced-match": "^1.0.0" } }, + "magic-string": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz", + "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==", + "dev": true, + "requires": { + "@jridgewell/sourcemap-codec": "^1.4.13" + } + }, "minimatch": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dev": true, "requires": { "brace-expansion": "^2.0.1" @@ -16456,16 +16791,16 @@ } }, "vite": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vite/-/vite-3.1.4.tgz", - "integrity": "sha512-JoQI08aBjY9lycL7jcEq4p9o1xUjq5aRvdH4KWaXtkSx7e7RpAh9D3IjzDWRD4Fg44LS3oDAIOG/Kq1L+82psA==", + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/vite/-/vite-3.2.7.tgz", + "integrity": "sha512-29pdXjk49xAP0QBr0xXqu2s5jiQIXNvE/xwd0vUizYT2Hzqe4BksNNoWllFVXJf4eLZ+UlVQmXfB4lWrc+t18g==", "dev": true, "requires": { - "esbuild": "^0.15.6", + "esbuild": "^0.15.9", "fsevents": "~2.3.2", - "postcss": "^8.4.16", + "postcss": "^8.4.18", "resolve": "^1.22.1", - "rollup": "~2.78.0" + "rollup": "^2.79.1" } }, "vite-plugin-checker": { @@ -16525,15 +16860,6 @@ "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-6.0.0.tgz", "integrity": "sha512-6UqkYefdogmzqAZWzJ7laYeJnaXDy2/J+ZqiiMtS7t7OfpXWTlaeGMwX8U6EFvPV/YWWEKRkS8hKS4k60WHTOg==", "dev": true - }, - "rollup": { - "version": "2.79.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", - "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", - "dev": true, - "requires": { - "fsevents": "~2.3.2" - } } } }, @@ -16641,6 +16967,16 @@ "integrity": "sha512-k8luDIWJWyenLc5ToFQQMaSrqCHiLwyKPHKPQZ5zz21vM+vIVUSvsRpcbiECH4WR88K2XZqc4ScRcZ7nk/jbeA==", "dev": true }, + "vscode-oniguruma": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz", + "integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==" + }, + "vscode-textmate": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-5.2.0.tgz", + "integrity": "sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ==" + }, "vscode-uri": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.6.tgz", @@ -16923,11 +17259,19 @@ "dev": true }, "webpack-virtual-modules": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.4.5.tgz", - "integrity": "sha512-8bWq0Iluiv9lVf9YaqWQ9+liNgXSHICm+rg544yRgGYaR8yXZTVBaHZkINZSB2yZSWo4b0F6MIxqJezVfOEAlg==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.5.0.tgz", + "integrity": "sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==", "dev": true }, + "webrtc-adapter": { + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/webrtc-adapter/-/webrtc-adapter-8.2.2.tgz", + "integrity": "sha512-jQWwqiAEAFZamWliJo0Q+dIC6ZMJ8BgCFvW/oXWVFby1Nw14dOUfPwZ3lVe4nafDXdTyCUT7xfLt5xXiioXUCQ==", + "requires": { + "sdp": "^3.2.0" + } + }, "whatwg-url": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", @@ -17209,8 +17553,7 @@ "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "xml-name-validator": { "version": "4.0.0", diff --git a/package.json b/package.json index 99c06e6c..0bedcd90 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mainsail", - "version": "2.5.1", + "version": "2.6.0", "private": true, "decription": "a klipper web interface", "author": { @@ -36,12 +36,14 @@ "@sindarius/gcodeviewer": "^3.2.2", "@types/node": "^18.0.0", "@types/overlayscrollbars": "^1.12.1", + "@uiw/codemirror-theme-vscode": "^4.19.11", "axios": "^0.27.0", "codemirror": "^6.0.1", "core-js": "^3.16.0", "echarts": "^5.2.2", "echarts-gl": "^2.0.8", "hls.js": "^1.3.3", + "jmuxer": "^2.0.5", "js-sha256": "^0.9.0", "lodash.kebabcase": "^4.1.1", "lodash.throttle": "^4.1.1", @@ -50,6 +52,7 @@ "regenerator-runtime": "^0.13.9", "resize-observer-polyfill": "^1.5.1", "semver": "^7.3.5", + "typed_janus_js": "^1.0.14", "uuid": "^9.0.0", "vue": "^2.7.10", "vue-class-component": "^7.2.6", @@ -69,6 +72,7 @@ "@intlify/vite-plugin-vue-i18n": "^2.5.0", "@mdi/js": "^7.0.0", "@types/file-saver": "^2.0.5", + "@types/jmuxer": "^2.0.3", "@types/lodash.kebabcase": "^4.1.6", "@types/lodash.throttle": "^4.1.6", "@types/semver": "^7.3.8", @@ -86,8 +90,8 @@ "sass": "~1.32", "start-server-and-test": "^1.14.0", "typescript": "^4.5.5", - "unplugin-vue-components": "^0.22.0", - "vite": "^3.0.0", + "unplugin-vue-components": "^0.22.12", + "vite": "^3.2.7", "vite-plugin-checker": "^0.5.0", "vite-plugin-package-version": "^1.0.2", "vite-plugin-pwa": "^0.13.0", diff --git a/src/App.vue b/src/App.vue index 821bd211..f24eebf0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -34,11 +34,12 @@ - - - - - + + + + + + @@ -194,8 +195,9 @@ export default class App extends Mixins(BaseMixin) { @Watch('current_file') current_fileChanged(newVal: string): void { - if (newVal !== '') - this.$socket.emit('server.files.metadata', { filename: newVal }, { action: 'files/getMetadataCurrentFile' }) + if (newVal === '') return + + this.$socket.emit('server.files.metadata', { filename: newVal }, { action: 'files/getMetadataCurrentFile' }) } @Watch('primaryColor') diff --git a/src/components/TheServiceWorker.vue b/src/components/TheServiceWorker.vue new file mode 100644 index 00000000..2012f9e0 --- /dev/null +++ b/src/components/TheServiceWorker.vue @@ -0,0 +1,60 @@ + + diff --git a/src/components/TheSettingsMenu.vue b/src/components/TheSettingsMenu.vue index dc10c268..ae4031e8 100644 --- a/src/components/TheSettingsMenu.vue +++ b/src/components/TheSettingsMenu.vue @@ -55,7 +55,7 @@ ref="settingsScroll" :class="'settings-tabs ' + (isMobile ? '' : 'height500')" :options="{ overflowBehavior: { x: 'hidden' } }"> - + @@ -80,6 +80,7 @@ import SettingsDashboardTab from '@/components/settings/SettingsDashboardTab.vue import SettingsGCodeViewerTab from '@/components/settings/SettingsGCodeViewerTab.vue' import SettingsEditorTab from '@/components/settings/SettingsEditorTab.vue' import SettingsTimelapseTab from '@/components/settings/SettingsTimelapseTab.vue' +import SettingsNavigationTab from '@/components/settings/SettingsNavigationTab.vue' import Panel from '@/components/ui/Panel.vue' import { @@ -98,6 +99,7 @@ import { mdiVideo3d, mdiWebcam, mdiDipSwitch, + mdiMenu, } from '@mdi/js' import SettingsMiscellaneousTab from '@/components/settings/SettingsMiscellaneousTab.vue' @Component({ @@ -116,6 +118,7 @@ import SettingsMiscellaneousTab from '@/components/settings/SettingsMiscellaneou SettingsEditorTab, SettingsTimelapseTab, SettingsMiscellaneousTab, + SettingsNavigationTab, }, }) export default class TheSettingsMenu extends Mixins(BaseMixin) { @@ -194,6 +197,11 @@ export default class TheSettingsMenu extends Mixins(BaseMixin) { name: 'miscellaneous', title: this.$t('Settings.MiscellaneousTab.Miscellaneous'), }, + { + icon: mdiMenu, + name: 'navigation', + title: this.$t('Settings.NavigationTab.Navigation'), + }, ] if (this.moonrakerComponents.includes('timelapse')) { diff --git a/src/components/TheSidebar.vue b/src/components/TheSidebar.vue index ffbec317..8050321b 100644 --- a/src/components/TheSidebar.vue +++ b/src/components/TheSidebar.vue @@ -1,46 +1,3 @@ - - + + diff --git a/src/components/dialogs/TheBedScrewsDialog.vue b/src/components/dialogs/TheBedScrewsDialog.vue index 1c88060e..8f7b6826 100644 --- a/src/components/dialogs/TheBedScrewsDialog.vue +++ b/src/components/dialogs/TheBedScrewsDialog.vue @@ -83,11 +83,17 @@ export default class TheBedScrewsDialog extends Mixins(BaseMixin, ControlMixin) mdiCloseThick = mdiCloseThick get showDialog() { + if (!this.boolBedScrewsDialog) return false + const is_active = this.$store.state.printer.bed_screws?.is_active ?? false return is_active && this.homedAxes.includes('xyz') } + get boolBedScrewsDialog() { + return this.$store.state.gui.uiSettings.boolBedScrewsDialog ?? true + } + get config() { return this.$store.state.printer.configfile?.settings?.bed_screws ?? {} } diff --git a/src/components/dialogs/TheManualProbeDialog.vue b/src/components/dialogs/TheManualProbeDialog.vue index 38e26ae4..91392fd3 100644 --- a/src/components/dialogs/TheManualProbeDialog.vue +++ b/src/components/dialogs/TheManualProbeDialog.vue @@ -120,9 +120,15 @@ export default class TheManualProbeDialog extends Mixins(BaseMixin) { mdiCloseThick = mdiCloseThick get showDialog() { + if (!this.boolManualProbeDialog) return false + return this.$store.state.printer.manual_probe?.is_active ?? false } + get boolManualProbeDialog() { + return this.$store.state.gui.uiSettings.boolManualProbeDialog ?? true + } + get offsetsZ() { const offsets = [1, 0.1, 0.05, 0.01, 0.005] diff --git a/src/components/dialogs/TheScrewsTiltAdjustDialog.vue b/src/components/dialogs/TheScrewsTiltAdjustDialog.vue index 215ec7c0..caeaa9d8 100644 --- a/src/components/dialogs/TheScrewsTiltAdjustDialog.vue +++ b/src/components/dialogs/TheScrewsTiltAdjustDialog.vue @@ -1,7 +1,7 @@ - + + + {{ $t('ScrewsTiltAdjust.Retry') }} + {{ $t('ScrewsTiltAdjust.Accept') }} @@ -53,17 +56,37 @@ import TheScrewsTiltAdjustDialogEntry from '@/components/dialogs/TheScrewsTiltAd export default class TheScrewsTiltAdjustDialog extends Mixins(BaseMixin, ControlMixin) { mdiArrowCollapseDown = mdiArrowCollapseDown mdiCloseThick = mdiCloseThick + + get state() { + return this.$store.state.printer.screws_tilt_adjust ?? {} + } + get error() { return this.$store.state.printer.screws_tilt_adjust?.error ?? false } + get results() { return this.$store.state.printer.screws_tilt_adjust?.results ?? {} } + get showDialog() { + if (!this.boolScrewsTiltAdjustDialog) return false + return this.error || Object.keys(this.results).length } + + get boolScrewsTiltAdjustDialog() { + return this.$store.state.gui.uiSettings.boolScrewsTiltAdjustDialog ?? true + } + clearScrewsTiltAdjust() { this.$store.dispatch('printer/clearScrewsTiltAdjust') } + + async retryScrewsTiltAdjust() { + await this.$store.dispatch('printer/clearScrewsTiltAdjust') + + this.doSend('SCREWS_TILT_CALCULATE') + } } diff --git a/src/components/gcodeviewer/Viewer.vue b/src/components/gcodeviewer/Viewer.vue index 0fe27a4f..24c60a03 100644 --- a/src/components/gcodeviewer/Viewer.vue +++ b/src/components/gcodeviewer/Viewer.vue @@ -436,10 +436,23 @@ export default class Viewer extends Mixins(BaseMixin) { return this.$store.state.printer.print_stats?.filename ?? '' } - get currentPosition() { + get livePosition() { return this.$store.state.printer.motion_report?.live_position ?? [0, 0, 0, 0] } + get gcodeOffset() { + return this.$store.state.printer?.gcode_move?.homing_origin ?? [0, 0, 0] + } + + get currentPosition() { + return [ + this.livePosition[0] - this.gcodeOffset[0], + this.livePosition[1] - this.gcodeOffset[1], + this.livePosition[2] - this.gcodeOffset[2], + this.livePosition[3], + ] + } + get showTrackingButton() { return this.printerIsPrinting && this.sdCardFilePath === this.loadedFile } diff --git a/src/components/inputs/Codemirror.vue b/src/components/inputs/Codemirror.vue index 24207298..9c54459e 100644 --- a/src/components/inputs/Codemirror.vue +++ b/src/components/inputs/Codemirror.vue @@ -12,13 +12,14 @@ import BaseMixin from '../mixins/base' import { basicSetup } from 'codemirror' import { EditorView, keymap } from '@codemirror/view' import { EditorState } from '@codemirror/state' -import { mainsailTheme } from '@/plugins/codemirrorTheme' +import { vscodeDark } from '@uiw/codemirror-theme-vscode' import { StreamLanguage } from '@codemirror/language' import { klipper_config } from '@/plugins/StreamParserKlipperConfig' import { gcode } from '@/plugins/StreamParserGcode' import { indentWithTab } from '@codemirror/commands' import { json } from '@codemirror/lang-json' import { css } from '@codemirror/lang-css' +import { indentUnit } from '@codemirror/language' @Component export default class Codemirror extends Mixins(BaseMixin) { @@ -81,8 +82,10 @@ export default class Codemirror extends Mixins(BaseMixin) { get cmExtensions() { const extensions = [ + EditorView.theme({}, { dark: true }), basicSetup, - mainsailTheme, + vscodeDark, + indentUnit.of(' '.repeat(this.tabSize)), keymap.of([indentWithTab]), EditorView.updateListener.of((update) => { this.content = update.state?.doc.toString() @@ -103,5 +106,9 @@ export default class Codemirror extends Mixins(BaseMixin) { visibilityChanged(isVisible: boolean) { if (isVisible) this.cminstance?.focus() } + + get tabSize() { + return this.$store.state.gui.editor.tabSize || 2 + } } diff --git a/src/components/inputs/MiscellaneousSlider.vue b/src/components/inputs/MiscellaneousSlider.vue index b361b736..43536deb 100644 --- a/src/components/inputs/MiscellaneousSlider.vue +++ b/src/components/inputs/MiscellaneousSlider.vue @@ -76,7 +76,7 @@ diff --git a/src/components/mixins/navigation.ts b/src/components/mixins/navigation.ts new file mode 100644 index 00000000..4c13ff8b --- /dev/null +++ b/src/components/mixins/navigation.ts @@ -0,0 +1,173 @@ +import Component from 'vue-class-component' +import routes, { AppRoute } from '@/routes' +import { Mixins, Watch } from 'vue-property-decorator' +import { mdiLinkVariant, mdiViewDashboardOutline } from '@mdi/js' +import BaseMixin from '@/components/mixins/base' +import { PrinterStateKlipperConfig } from '@/store/printer/types' +import { GuiNavigationStateEntry } from '@/store/gui/navigation/types' + +export interface NaviPoint { + type: 'link' | 'route' + title: string + to?: string + href?: string + target?: string + icon: string + position: number + visible: boolean +} + +@Component +export default class NavigationMixin extends Mixins(BaseMixin) { + private customNaviLinks: NaviPoint[] = [] + + get countPrinters() { + return this.$store.getters['farm/countPrinters'] + } + + get routesNaviPoints(): NaviPoint[] { + const points: NaviPoint[] = [] + + if (this.countPrinters) { + points.push({ + title: this.$t('App.Printers'), + icon: mdiViewDashboardOutline, + to: '/allPrinters', + position: 0, + visible: true, + } as NaviPoint) + } + + routes + .filter((element) => { + return element.showInNavi && this.showInNavi(element) + }) + .forEach((element) => { + const [position, visible] = this.getUiSettings({ + type: 'route', + title: element.title ?? 'unknown', + visible: true, + position: element.position ?? 999, + }) + + points.push({ + type: 'route', + title: this.$t(`Router.${element.title}`), + icon: element.icon, + to: element.path, + position, + visible, + } as NaviPoint) + }) + + if (this.customNaviLinks.length) { + this.customNaviLinks.forEach((element) => { + const [position, visible] = this.getUiSettings({ + type: 'link', + title: element.title ?? 'unknown', + visible: element.visible ?? true, + position: element.position ?? 999, + }) + + points.push({ + type: 'link', + title: element.title, + icon: element.icon, + href: element.href, + target: element.target, + position, + visible, + }) + }) + } + + return points + } + + get naviPoints(): NaviPoint[] { + return this.routesNaviPoints.sort((a, b) => a.position - b.position) + } + + get visibleNaviPoints(): NaviPoint[] { + return this.naviPoints.filter((entry) => entry.visible) + } + + get uiSettings(): GuiNavigationStateEntry[] { + return this.$store.state.gui.navigation.entries + } + + get klippy_state(): string { + return this.$store.state.server.klippy_state + } + + get boolNaviWebcam(): boolean { + return this.$store.state.gui.uiSettings.boolWebcamNavi + } + + get moonrakerComponents(): string[] { + return this.$store.state.server.components + } + + get registeredDirectories(): string[] { + return this.$store.state.server.registered_directories + } + + get klipperConfigfileSettings(): PrinterStateKlipperConfig[] { + return this.$store.state.printer.configfile?.settings ?? {} + } + + get sidebarNaviFile(): string { + return this.$store.getters['files/getCustomNaviPoints'] + } + + get webcamCount(): number { + return this.$store.getters['gui/webcams/getWebcams'].length + } + + @Watch('sidebarNaviFile', { immediate: true }) + async sidebarNaviFileChanged(newVal: string) { + this.customNaviLinks = [] + + // stop if no file is set + if (!newVal) return + + const content = await fetch(newVal) + .then((res) => res.json()) + .catch((err) => { + window.console.error('Unable to parse .theme/navi.json.') + throw err + }) + + content.forEach((item: NaviPoint) => { + this.customNaviLinks.push({ + title: item.title ?? 'Unknown', + icon: item.icon ?? mdiLinkVariant, + href: item.href ?? '#', + target: item.target ?? undefined, + position: item.position ?? 999, + } as NaviPoint) + }) + } + + showInNavi(route: AppRoute): boolean { + if (['shutdown', 'error', 'disconnected'].includes(this.klippy_state) && !route.alwaysShow) return false + else if (route.title === 'Webcam' && this.webcamCount === 0) return false + else if (route.moonrakerComponent && !this.moonrakerComponents.includes(route.moonrakerComponent)) return false + else if (route.registeredDirectory && !this.registeredDirectories.includes(route.registeredDirectory)) + return false + else if (route.klipperComponent && !(route.klipperComponent in this.klipperConfigfileSettings)) return false + else if (route.klipperIsConnected && !this.klippyIsConnected) return false + + return true + } + + getUiSettings(entry: GuiNavigationStateEntry): [number, boolean] { + const index = this.uiSettings.findIndex((point) => { + return point.title === entry.title && point.type === entry.type + }) + + if (index === -1) return [entry.position, entry.visible] + + return [this.uiSettings[index].position, this.uiSettings[index].visible] + } +} diff --git a/src/components/panels/ExtruderControlPanel.vue b/src/components/panels/ExtruderControlPanel.vue index 39c4b22a..fcbe7f95 100644 --- a/src/components/panels/ExtruderControlPanel.vue +++ b/src/components/panels/ExtruderControlPanel.vue @@ -362,11 +362,11 @@ export default class ExtruderControlPanel extends Mixins(BaseMixin, ControlMixin } get loadFilamentMacro() { - return this.macros.find((macro: PrinterStateMacro) => macro.name === 'LOAD_FILAMENT') + return this.macros.find((macro: PrinterStateMacro) => macro.name.toUpperCase() === 'LOAD_FILAMENT') } get unloadFilamentMacro() { - return this.macros.find((macro: PrinterStateMacro) => macro.name === 'UNLOAD_FILAMENT') + return this.macros.find((macro: PrinterStateMacro) => macro.name.toUpperCase() === 'UNLOAD_FILAMENT') } /** diff --git a/src/components/panels/FarmPrinterPanel.vue b/src/components/panels/FarmPrinterPanel.vue index adde2b93..6d522205 100644 --- a/src/components/panels/FarmPrinterPanel.vue +++ b/src/components/panels/FarmPrinterPanel.vue @@ -26,7 +26,7 @@ @@ -34,7 +34,7 @@ {{ convertWebcamIcon(webcam.icon) }} - + @@ -52,21 +52,7 @@ 'service' in currentWebcam " class="webcamContainer"> - - - + 0 + return this.printer.socket.isConnected && this.printer_webcams.length > 0 } get printer_webcams() { return this.$store.getters['farm/' + this.printer._namespace + '/getPrinterWebcams'] } - get supportedPrinterWebcams() { - return this.printer_webcams.filter((webcam: GuiWebcamStateWebcam) => - ['mjpegstreamer', 'mjpegstreamer-adaptive', 'uv4l-mjpeg'].includes(webcam.service) - ) - } - get currentWebcam() { const currentCam = this.printer_webcams.find((webcam: any) => webcam.id === this.currentCamId) if (currentCam) return currentCam diff --git a/src/components/panels/GcodefilesPanel.vue b/src/components/panels/GcodefilesPanel.vue index f5180ad1..02d833b7 100644 --- a/src/components/panels/GcodefilesPanel.vue +++ b/src/components/panels/GcodefilesPanel.vue @@ -345,6 +345,13 @@ {{ mdiVideo3d }} {{ $t('Files.View3D') }} + + {{ mdiMagnify }} + {{ $t('Files.ScanMeta') }} + {{ mdiCloudDownload }} {{ $t('Files.Download') }} @@ -361,6 +368,10 @@ {{ mdiRenameBox }} {{ $t('Files.Rename') }} + + {{ mdiContentCopy }} + {{ $t('Files.Duplicate') }} + {{ mdiDelete }} {{ $t('Files.Delete') }} @@ -432,6 +443,35 @@ + + + + + + + + + {{ $t('Files.Cancel') }} + + {{ $t('Files.Duplicate') }} + + + + { + this.$refs.inputFieldDuplicateFile?.focus() + }, 200) + } + + duplicateFileAction() { + this.dialogDuplicateFile.show = false + this.$socket.emit('server.files.copy', { + source: 'gcodes' + this.currentPath + '/' + this.dialogDuplicateFile.item.filename, + dest: 'gcodes' + this.currentPath + '/' + this.dialogDuplicateFile.newName, + }) + } + renameDirectory(item: FileStateGcodefile) { this.dialogRenameDirectory.item = item this.dialogRenameDirectory.newName = item.filename @@ -1376,6 +1443,12 @@ export default class GcodefilesPanel extends Mixins(BaseMixin, ControlMixin) { this.$router.push({ path: '/viewer', query: { filename: 'gcodes' + this.currentPath + '/' + item.filename } }) } + scanMeta(item: FileStateFile) { + this.$store.dispatch('files/scanMetadata', { + filename: 'gcodes' + this.currentPath + '/' + item.filename, + }) + } + deleteSelectedFiles() { this.selectedFiles.forEach((item: FileStateGcodefile) => { if (item.isDirectory) { diff --git a/src/components/panels/Machine/ConfigFilesPanel.vue b/src/components/panels/Machine/ConfigFilesPanel.vue index 0d76bfa4..03349425 100644 --- a/src/components/panels/Machine/ConfigFilesPanel.vue +++ b/src/components/panels/Machine/ConfigFilesPanel.vue @@ -203,6 +203,10 @@ {{ mdiRenameBox }} {{ $t('Machine.ConfigFilesPanel.Rename') }} + + {{ mdiContentCopy }} + {{ $t('Machine.ConfigFilesPanel.Duplicate') }} + @@ -323,6 +327,37 @@ + + + + + + + + + + {{ $t('Machine.ConfigFilesPanel.Cancel') }} + + + {{ $t('Machine.ConfigFilesPanel.Duplicate') }} + + + + { + this.$refs.inputDialogDuplicateFileName?.focus() + }, 200) + } + + duplicateFileAction() { + this.dialogDuplicateFile.show = false + this.$socket.emit('server.files.copy', { + source: (this.absolutePath + '/' + this.dialogDuplicateFile.item.filename).slice(1), + dest: (this.absolutePath + '/' + this.dialogDuplicateFile.newName).slice(1), + }) + } + removeFile() { this.$socket.emit( 'server.files.delete_file', diff --git a/src/components/panels/MinSettingsPanel.vue b/src/components/panels/MinSettingsPanel.vue index e17ab9c4..5309d1de 100644 --- a/src/components/panels/MinSettingsPanel.vue +++ b/src/components/panels/MinSettingsPanel.vue @@ -30,7 +30,7 @@ - + {{ mdiInformation }} {{ $t('Panels.MinSettingsPanel.MoreInformation') }} diff --git a/src/components/panels/Status/PrintstatusPrinting.vue b/src/components/panels/Status/PrintstatusPrinting.vue index 6bf102ca..9991b192 100644 --- a/src/components/panels/Status/PrintstatusPrinting.vue +++ b/src/components/panels/Status/PrintstatusPrinting.vue @@ -239,12 +239,15 @@ export default class StatusPanelPrintstatusPrinting extends Mixins(BaseMixin) { } formatDuration(seconds: number) { - let h = Math.floor(seconds / 3600) - seconds %= 3600 - let m = ('0' + Math.floor(seconds / 60)).slice(-2) - let s = ('0' + (seconds % 60).toFixed(0)).slice(-2) + let prefix = seconds < 0 ? '-' : '' + let absSeconds = Math.abs(seconds) - return h + ':' + m + ':' + s + let h = Math.floor(absSeconds / 3600) + absSeconds %= 3600 + let m = ('0' + Math.floor(absSeconds / 60)).slice(-2) + let s = ('0' + (absSeconds % 60).toFixed(0)).slice(-2) + + return prefix + h + ':' + m + ':' + s } } diff --git a/src/components/panels/WebcamPanel.vue b/src/components/panels/WebcamPanel.vue index e28549e2..53155523 100644 --- a/src/components/panels/WebcamPanel.vue +++ b/src/components/panels/WebcamPanel.vue @@ -42,30 +42,7 @@ - - - - - - - - + @@ -76,13 +53,6 @@ + + diff --git a/src/components/settings/SettingsNavigationTabItem.vue b/src/components/settings/SettingsNavigationTabItem.vue new file mode 100644 index 00000000..58b04133 --- /dev/null +++ b/src/components/settings/SettingsNavigationTabItem.vue @@ -0,0 +1,62 @@ + + + + + diff --git a/src/components/settings/SettingsUiSettingsTab.vue b/src/components/settings/SettingsUiSettingsTab.vue index 3e646554..418775b6 100644 --- a/src/components/settings/SettingsUiSettingsTab.vue +++ b/src/components/settings/SettingsUiSettingsTab.vue @@ -13,7 +13,7 @@ - + + @update:color="updatePrimaryColor" /> - + {{ $t('Settings.UiSettingsTab.Guide').toString() }} - + - + - - - - - + - + - + - + + hide-spin-buttons /> - + - + - + - + - + @@ -130,14 +126,14 @@ class="mt-0" hide-details outlined - dense> + dense /> - + - + - + - + + + + + + + + + + + + + + + + + @@ -215,14 +244,6 @@ export default class SettingsUiSettingsTab extends Mixins(BaseMixin) { this.$store.dispatch('gui/saveSetting', { name: 'uiSettings.boolBigThumbnail', value: newVal }) } - get boolWebcamInNavigation() { - return this.$store.state.gui.uiSettings.boolWebcamNavi ?? false - } - - set boolWebcamInNavigation(newVal) { - this.$store.dispatch('gui/saveSetting', { name: 'uiSettings.boolWebcamNavi', value: newVal }) - } - get displayCancelPrint() { return this.$store.state.gui.uiSettings.displayCancelPrint } @@ -341,13 +362,45 @@ export default class SettingsUiSettingsTab extends Mixins(BaseMixin) { } get disableFanAnimation() { - return this.$store.state.gui.uiSettings.hideSaveConfigForBedMash ?? false + return this.$store.state.gui.uiSettings.disableFanAnimation ?? false } set disableFanAnimation(newVal) { this.$store.dispatch('gui/saveSetting', { name: 'uiSettings.disableFanAnimation', value: newVal }) } + get boolManualProbeDialog() { + return this.$store.state.gui.uiSettings.boolManualProbeDialog ?? true + } + + set boolManualProbeDialog(newVal) { + this.$store.dispatch('gui/saveSetting', { name: 'uiSettings.boolManualProbeDialog', value: newVal }) + } + + get boolBedScrewsDialog() { + return this.$store.state.gui.uiSettings.boolBedScrewsDialog ?? true + } + + set boolBedScrewsDialog(newVal) { + this.$store.dispatch('gui/saveSetting', { name: 'uiSettings.boolBedScrewsDialog', value: newVal }) + } + + get boolScrewsTiltAdjustDialog() { + return this.$store.state.gui.uiSettings.boolScrewsTiltAdjustDialog ?? true + } + + set boolScrewsTiltAdjustDialog(newVal) { + this.$store.dispatch('gui/saveSetting', { name: 'uiSettings.boolScrewsTiltAdjustDialog', value: newVal }) + } + + get tempchartHeight() { + return this.$store.state.gui.uiSettings.tempchartHeight ?? 250 + } + + set tempchartHeight(newVal) { + this.$store.dispatch('gui/saveSetting', { name: 'uiSettings.tempchartHeight', value: newVal }) + } + clearColorObject(color: any): string { if (typeof color === 'object' && 'hex' in color) color = color.hex if (color.length > 7) color = color.substr(0, 7) diff --git a/src/components/settings/SettingsWebcamsTab.vue b/src/components/settings/SettingsWebcamsTab.vue index 3ae0eb26..9e01983f 100644 --- a/src/components/settings/SettingsWebcamsTab.vue +++ b/src/components/settings/SettingsWebcamsTab.vue @@ -4,7 +4,7 @@

{{ $t('Settings.WebcamsTab.Webcams') }}

- + + @click="deleteWebcam(webcam.id ?? '')"> {{ mdiDelete }} @@ -28,7 +28,7 @@ {{ $t('Settings.WebcamsTab.EditCrowsnestConf') }} - + {{ $t('Settings.WebcamsTab.AddWebcam') }} @@ -77,7 +77,7 @@ - + @@ -90,7 +90,7 @@ outlined :rules="[rules.required, rules.unique]" class="_webcam-settings-name-field" - dense> + dense /> @@ -101,9 +101,7 @@ hide-details="auto" outlined dense - :rules=" - form.service !== 'mjpegstreamer-adaptive' ? [rules.required] : [] - "> + :rules="form.service !== 'mjpegstreamer-adaptive' ? [rules.required] : []" /> @@ -114,9 +112,7 @@ hide-details="auto" outlined dense - :rules=" - form.service === 'mjpegstreamer-adaptive' ? [rules.required] : [] - "> + :rules="form.service === 'mjpegstreamer-adaptive' ? [rules.required] : []" /> @@ -128,17 +124,17 @@ outlined dense :label="$t('Settings.WebcamsTab.Service')" - attach> + attach /> - + + :label="$t('Settings.WebcamsTab.TargetFPS')" /> + :label="$t('Settings.WebcamsTab.Rotate')" /> @@ -163,41 +159,19 @@ v-model="form.flipX" class="mt-1" hide-details - :label="$t('Settings.WebcamsTab.Horizontally')"> + :label="$t('Settings.WebcamsTab.Horizontally')" /> + :label="$t('Settings.WebcamsTab.Vertically')" /> - - - - - - - + @@ -223,15 +197,9 @@ import { Component, Mixins } from 'vue-property-decorator' import BaseMixin from '../mixins/base' import SettingsRow from '@/components/settings/SettingsRow.vue' import { GuiWebcamStateWebcam } from '@/store/gui/webcams/types' -import Mjpegstreamer from '@/components/webcams/Mjpegstreamer.vue' -import MjpegstreamerAdaptive from '@/components/webcams/MjpegstreamerAdaptive.vue' -import Uv4lMjpeg from '@/components/webcams/Uv4lMjpeg.vue' -import WebrtcCameraStreamer from '@/components/webcams/WebrtcCameraStreamer.vue' -import Ipstreamer from '@/components/webcams/Ipstreamer.vue' import { mdiMenuDown, mdiDelete, mdiPencil, mdiWebcam } from '@mdi/js' import WebcamMixin from '@/components/mixins/webcam' import { FileStateFile } from '@/store/files/types' -import Hlsstreamer from '../webcams/Hlsstreamer.vue' interface webcamForm { bool: boolean @@ -251,12 +219,6 @@ interface webcamForm { @Component({ components: { SettingsRow, - 'webcam-mjpegstreamer': Mjpegstreamer, - 'webcam-mjpegstreamer-adaptive': MjpegstreamerAdaptive, - 'webcam-uv4l-mjpeg': Uv4lMjpeg, - 'webcam-ipstreamer': Ipstreamer, - 'webcam-webrtc-camerastreamer': WebrtcCameraStreamer, - 'webcam-hlsstreamer': Hlsstreamer, }, }) export default class SettingsWebcamsTab extends Mixins(BaseMixin, WebcamMixin) { @@ -321,7 +283,10 @@ export default class SettingsWebcamsTab extends Mixins(BaseMixin, WebcamMixin) { { value: 'uv4l-mjpeg', text: this.$t('Settings.WebcamsTab.Uv4lMjpeg') }, { value: 'ipstream', text: this.$t('Settings.WebcamsTab.Ipstream') }, { value: 'webrtc-camerastreamer', text: this.$t('Settings.WebcamsTab.WebrtcCameraStreamer') }, + { value: 'webrtc-mediamtx', text: this.$t('Settings.WebcamsTab.WebrtcMediaMTX') }, { value: 'hlsstream', text: this.$t('Settings.WebcamsTab.Hlsstream') }, + { value: 'jmuxer-stream', text: this.$t('Settings.WebcamsTab.JMuxerStream') }, + { value: 'webrtc-janus', text: this.$t('Settings.WebcamsTab.WebrtcJanus') }, ] } diff --git a/src/components/ui/Panel.vue b/src/components/ui/Panel.vue index 3385d0b9..15f6284f 100644 --- a/src/components/ui/Panel.vue +++ b/src/components/ui/Panel.vue @@ -1,37 +1,3 @@ - - - -