diff --git a/package-lock.json b/package-lock.json index c77545abe4..533a296638 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "color-string": "1.9.1", "fabric": "cgwire/fabric.js", "marked": "4.3.0", - "marked-emoji": "1.2.2", + "marked-emoji": "1.2.4", "moment": "2.29.4", "moment-timezone": "0.5.43", "panzoom": "9.4.3", @@ -29,8 +29,8 @@ "superagent": "8.1.2", "textarea-caret": "3.1.0", "thenby": "1.3.4", - "three": "0.155.0", - "uuid": "9.0.0", + "three": "0.156.1", + "uuid": "9.0.1", "v-autocomplete": "1.8.2", "vue": "2.7.14", "vue-at": "2.5.1", @@ -55,8 +55,8 @@ "@vitejs/plugin-vue2": "2.2.0", "@vue/compiler-sfc": "2.7.14", "@vue/test-utils": "1.3.6", - "autoprefixer": "10.4.15", - "eslint": "8.48.0", + "autoprefixer": "10.4.16", + "eslint": "8.50.0", "eslint-config-prettier": "9.0.0", "eslint-plugin-prettier": "5.0.0", "eslint-plugin-vue": "9.17.0", @@ -65,12 +65,12 @@ "jsdom": "22.1.0", "lint-staged": "14.0.1", "localStorage": "1.0.4", - "postcss": "8.4.28", + "postcss": "8.4.30", "prettier": "3.0.3", - "sass": "1.66.1", + "sass": "1.68.0", "vite": "4.4.9", "vite-plugin-eslint": "1.8.1", - "vitest": "0.34.2", + "vitest": "0.34.5", "vitest-localstorage-mock": "0.0.1", "vue-template-compiler": "2.7.14" }, @@ -113,19 +113,19 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz", - "integrity": "sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.22.13", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.13.tgz", - "integrity": "sha512-C/BaXcnnvBCmHTpz/VGZ8jgtE2aYlW4hxDhseJAWZb7gqGM/qtCK6iZUb0TyKFf7BOUsBH7Q7fkRsDRhg1XklQ==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", + "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", "dependencies": { - "@babel/helper-validator-identifier": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", "chalk": "^2.4.2", "js-tokens": "^4.0.0" }, @@ -185,9 +185,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.22.14", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.14.tgz", - "integrity": "sha512-1KucTHgOvaw/LzCVrEOAyXkr9rQlp0A1HiHRYnSUE9dmb8PvPW7o5sscg+5169r54n3vGlbx6GevTE/Iw/P3AQ==", + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", + "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", "bin": { "parser": "bin/babel-parser.js" }, @@ -563,9 +563,9 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.0.tgz", - "integrity": "sha512-JylOEEzDiOryeUnFbQz+oViCXS0KsvR1mvHkoMiu5+UiBvy+RYX7tzlIIIEstF/gVa2tj9AQXk3dgnxv6KxhFg==", + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.9.0.tgz", + "integrity": "sha512-zJmuCWj2VLBt4c25CfBIbMZLGLyhkvs7LznyVX5HfpzeocThgIj5XQK4L+g3U36mMcx8bPMhGyPpwCATamC4jQ==", "dev": true, "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" @@ -595,9 +595,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.48.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.48.0.tgz", - "integrity": "sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==", + "version": "8.50.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.50.0.tgz", + "integrity": "sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -795,9 +795,9 @@ } }, "node_modules/@types/chai": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.5.tgz", - "integrity": "sha512-mEo1sAde+UCE6b2hxn332f1g1E8WfYRu6p5SvTKr2ZKC1f7gFJXk4h5PyGP9Dt6gCaG8y8XhwnXWC6Iy2cmBng==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-VOVRLM1mBxIRxydiViqPcKn6MIxZytrbMpd6RJLIWKxUNr3zux8no0Oc7kJx0WAPIitgZ0gkrDS+btlqQpubpw==", "dev": true }, "node_modules/@types/chai-subset": { @@ -810,9 +810,9 @@ } }, "node_modules/@types/eslint": { - "version": "8.44.2", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.2.tgz", - "integrity": "sha512-sdPRb9K6iL5XZOmBubg8yiFp5yS/JdUDQsq5e6h95km91MCYMuvp7mh1fjPEYUhvHepKpZOjnEaMBR4PxjWDzg==", + "version": "8.44.3", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.3.tgz", + "integrity": "sha512-iM/WfkwAhwmPff3wZuPLYiHX18HI24jU8k1ZSH7P8FHwxTjZ2P6CoX2wnF43oprR+YXJM6UUxATkNvyv/JHd+g==", "dev": true, "dependencies": { "@types/estree": "*", @@ -820,27 +820,27 @@ } }, "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==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.2.tgz", + "integrity": "sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA==", "dev": true }, "node_modules/@types/json-schema": { - "version": "7.0.12", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", - "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", + "version": "7.0.13", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.13.tgz", + "integrity": "sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ==", "dev": true }, "node_modules/@types/node": { - "version": "20.5.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.7.tgz", - "integrity": "sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==", + "version": "20.7.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.7.1.tgz", + "integrity": "sha512-LT+OIXpp2kj4E2S/p91BMe+VgGX2+lfO+XTpfXhh+bCk2LkQtHZSub8ewFBMGP5ClysPjTDFa4sMI8Q3n4T0wg==", "dev": true }, "node_modules/@types/trusted-types": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.3.tgz", - "integrity": "sha512-NfQ4gyz38SL8sDNrSixxU2Os1a5xcdFxipAFxYEuLUlvU2uDwS4NUpsImcf1//SlWItCVMMLiylsxbmNMToV/g==" + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.4.tgz", + "integrity": "sha512-IDaobHimLQhjwsQ/NMwRVfa/yL7L/wriQPMhw1ZJall0KX6E1oxk29XMDeilW5qTIg5aoiqf5Udy8U/51aNoQQ==" }, "node_modules/@vitejs/plugin-vue2": { "version": "2.2.0", @@ -856,13 +856,13 @@ } }, "node_modules/@vitest/expect": { - "version": "0.34.2", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.34.2.tgz", - "integrity": "sha512-EZm2dMNlLyIfDMha17QHSQcg2KjeAZaXd65fpPzXY5bvnfx10Lcaz3N55uEe8PhF+w4pw+hmrlHLLlRn9vkBJg==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.34.5.tgz", + "integrity": "sha512-/3RBIV9XEH+nRpRMqDJBufKIOQaYUH2X6bt0rKSCW0MfKhXFLYsR5ivHifeajRSTsln0FwJbitxLKHSQz/Xwkw==", "dev": true, "dependencies": { - "@vitest/spy": "0.34.2", - "@vitest/utils": "0.34.2", + "@vitest/spy": "0.34.5", + "@vitest/utils": "0.34.5", "chai": "^4.3.7" }, "funding": { @@ -870,12 +870,12 @@ } }, "node_modules/@vitest/runner": { - "version": "0.34.2", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.34.2.tgz", - "integrity": "sha512-8ydGPACVX5tK3Dl0SUwxfdg02h+togDNeQX3iXVFYgzF5odxvaou7HnquALFZkyVuYskoaHUOqOyOLpOEj5XTA==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.34.5.tgz", + "integrity": "sha512-RDEE3ViVvl7jFSCbnBRyYuu23XxmvRTSZWW6W4M7eC5dOsK75d5LIf6uhE5Fqf809DQ1+9ICZZNxhIolWHU4og==", "dev": true, "dependencies": { - "@vitest/utils": "0.34.2", + "@vitest/utils": "0.34.5", "p-limit": "^4.0.0", "pathe": "^1.1.1" }, @@ -911,9 +911,9 @@ } }, "node_modules/@vitest/snapshot": { - "version": "0.34.2", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-0.34.2.tgz", - "integrity": "sha512-qhQ+xy3u4mwwLxltS4Pd4SR+XHv4EajiTPNY3jkIBLUApE6/ce72neJPSUQZ7bL3EBuKI+NhvzhGj3n5baRQUQ==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-0.34.5.tgz", + "integrity": "sha512-+ikwSbhu6z2yOdtKmk/aeoDZ9QPm2g/ZO5rXT58RR9Vmu/kB2MamyDSx77dctqdZfP3Diqv4mbc/yw2kPT8rmA==", "dev": true, "dependencies": { "magic-string": "^0.30.1", @@ -925,9 +925,9 @@ } }, "node_modules/@vitest/spy": { - "version": "0.34.2", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.34.2.tgz", - "integrity": "sha512-yd4L9OhfH6l0Av7iK3sPb3MykhtcRN5c5K5vm1nTbuN7gYn+yvUVVsyvzpHrjqS7EWqn9WsPJb7+0c3iuY60tA==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.34.5.tgz", + "integrity": "sha512-epsicsfhvBjRjCMOC/3k00mP/TBGQy8/P0DxOFiWyLt55gnZ99dqCfCiAsKO17BWVjn4eZRIjKvcqNmSz8gvmg==", "dev": true, "dependencies": { "tinyspy": "^2.1.1" @@ -937,9 +937,9 @@ } }, "node_modules/@vitest/utils": { - "version": "0.34.2", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.34.2.tgz", - "integrity": "sha512-Lzw+kAsTPubhoQDp1uVAOP6DhNia1GMDsI9jgB0yMn+/nDaPieYQ88lKqz/gGjSHL4zwOItvpehec9OY+rS73w==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.34.5.tgz", + "integrity": "sha512-ur6CmmYQoeHMwmGb0v+qwkwN3yopZuZyf4xt1DBBSGBed8Hf9Gmbm/5dEWqgpLPdRx6Av6jcWXrjcKfkTzg/pw==", "dev": true, "dependencies": { "diff-sequences": "^29.4.3", @@ -1221,9 +1221,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/autoprefixer": { - "version": "10.4.15", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.15.tgz", - "integrity": "sha512-KCuPB8ZCIqFdA4HwKXsvz7j6gvSDNhDP7WnUjBleRkKjPdvCmHFuQ77ocavI8FT6NdvlBnE2UFr2H4Mycn8Vew==", + "version": "10.4.16", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.16.tgz", + "integrity": "sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==", "dev": true, "funding": [ { @@ -1241,8 +1241,8 @@ ], "dependencies": { "browserslist": "^4.21.10", - "caniuse-lite": "^1.0.30001520", - "fraction.js": "^4.2.0", + "caniuse-lite": "^1.0.30001538", + "fraction.js": "^4.3.6", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", "postcss-value-parser": "^4.2.0" @@ -1341,9 +1341,9 @@ "optional": true }, "node_modules/browserslist": { - "version": "4.21.10", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.10.tgz", - "integrity": "sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==", + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.0.tgz", + "integrity": "sha512-v+Jcv64L2LbfTC6OnRcaxtqJNJuQAVhZKSJfR/6hn7lhnChUXl4amwVviqN1k411BB+3rRoKMitELRn1CojeRA==", "dev": true, "funding": [ { @@ -1360,10 +1360,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001517", - "electron-to-chromium": "^1.4.477", + "caniuse-lite": "^1.0.30001539", + "electron-to-chromium": "^1.4.530", "node-releases": "^2.0.13", - "update-browserslist-db": "^1.0.11" + "update-browserslist-db": "^1.0.13" }, "bin": { "browserslist": "cli.js" @@ -1417,9 +1417,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001525", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001525.tgz", - "integrity": "sha512-/3z+wB4icFt3r0USMwxujAqRvaD/B7rvGTsKhbhSQErVrJvkZCLhgNLJxU8MevahQVH6hCU9FsHdNUFbiwmE7Q==", + "version": "1.0.30001541", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001541.tgz", + "integrity": "sha512-bLOsqxDgTqUBkzxbNlSBt8annkDpQB9NdzdTbO2ooJ+eC/IQcvDspDc058g84ejCelF7vHUx57KIOjEecOHXaw==", "dev": true, "funding": [ { @@ -1452,18 +1452,18 @@ } }, "node_modules/chai": { - "version": "4.3.8", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.8.tgz", - "integrity": "sha512-vX4YvVVtxlfSZ2VecZgFUTU5qPCYsobVI2O9FmwEXBhDigYGQA6jRXCycIs1yJnnWbZ6/+a2zNIF5DfVCcJBFQ==", + "version": "4.3.10", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.10.tgz", + "integrity": "sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==", "dev": true, "dependencies": { "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^4.1.2", - "get-func-name": "^2.0.0", - "loupe": "^2.3.1", + "check-error": "^1.0.3", + "deep-eql": "^4.1.3", + "get-func-name": "^2.0.2", + "loupe": "^2.3.6", "pathval": "^1.1.1", - "type-detect": "^4.0.5" + "type-detect": "^4.0.8" }, "engines": { "node": ">=4" @@ -1516,10 +1516,13 @@ "integrity": "sha512-zV0kUeZNqrX28AmPt10QEDXHKadbVFOTAFkCMyJifHzGFkKzGCDXxVR8orZ0fC1HbePzRn5w6kLCOVxDQbMUCg==" }, "node_modules/check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz", + "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==", "dev": true, + "dependencies": { + "get-func-name": "^2.0.2" + }, "engines": { "node": "*" } @@ -1907,6 +1910,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/define-data-property": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.0.tgz", + "integrity": "sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g==", + "dependencies": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/define-lazy-prop": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", @@ -1920,10 +1936,11 @@ } }, "node_modules/define-properties": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", - "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", "dependencies": { + "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" }, @@ -2113,9 +2130,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.508", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.508.tgz", - "integrity": "sha512-FFa8QKjQK/A5QuFr2167myhMesGrhlOBD+3cYNxO9/S4XzHEXesyTD/1/xF644gC8buFPz3ca6G1LOQD0tZrrg==", + "version": "1.4.534", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.534.tgz", + "integrity": "sha512-ikY7wAMtMt3jTnHsHG0YLl4MKJiKz2tgidenGSNgwUX2StBLNZ8VCxflD9tZK/ceTs4j8gDC9+6LQQ6iGkK04g==", "dev": true }, "node_modules/emoji-regex": { @@ -2266,16 +2283,16 @@ } }, "node_modules/eslint": { - "version": "8.48.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.48.0.tgz", - "integrity": "sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==", + "version": "8.50.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.50.0.tgz", + "integrity": "sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.48.0", - "@humanwhocodes/config-array": "^0.11.10", + "@eslint/js": "8.50.0", + "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "ajv": "^6.12.4", @@ -2828,9 +2845,9 @@ } }, "node_modules/flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==" }, "node_modules/form-data": { "version": "4.0.0", @@ -2860,9 +2877,9 @@ } }, "node_modules/fraction.js": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.5.tgz", - "integrity": "sha512-58DncB2bO/8ZvTHapG7U2KEbeFFyUbbrFFkHakecpdUSqJrQnEuBeTUPEggIVkx5cnugZJ4IVzk2Nbb32MOxBg==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.6.tgz", + "integrity": "sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==", "dev": true, "engines": { "node": "*" @@ -2983,9 +3000,9 @@ } }, "node_modules/get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", "dev": true, "engines": { "node": "*" @@ -3070,9 +3087,9 @@ } }, "node_modules/globals": { - "version": "13.21.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz", - "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==", + "version": "13.22.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.22.0.tgz", + "integrity": "sha512-H1Ddc/PbZHTDVJSnj8kWptIRSD6AM3pK+mKytuIVF4uoBV7rshFlhhvA58ceJ5wp3Er58w6zj7bykMpYXt3ETw==", "dependencies": { "type-fest": "^0.20.2" }, @@ -3083,6 +3100,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", @@ -3968,11 +3996,11 @@ } }, "node_modules/marked-emoji": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/marked-emoji/-/marked-emoji-1.2.2.tgz", - "integrity": "sha512-nNpvjFlFVrBRGe9m4UNAOdQZQ/7Tb+dEJ8rPc+SDL+5kHymVHcYZv4s70+L2RmLevO9mkyCMdAzstqSa4e55/g==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/marked-emoji/-/marked-emoji-1.2.4.tgz", + "integrity": "sha512-SwUWZ1uCebepI7lhVA7FxPHLO8G0QM9ehdfZJWFW2MN5tj8BXR9VQWnCWo5Uv1xCrDgz+yzyvJ1oRPZiXZPMcw==", "peerDependencies": { - "marked": "^4 || ^5 || ^6 || ^7" + "marked": ">=4 <10" } }, "node_modules/merge-stream": { @@ -4123,9 +4151,9 @@ } }, "node_modules/mlly": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.4.1.tgz", - "integrity": "sha512-SCDs78Q2o09jiZiE2WziwVBEqXQ02XkGdUy45cbJf+BpYRIjArXRJ1Wbowxkb+NaM9DWvS3UC9GiO/6eqvQ/pg==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.4.2.tgz", + "integrity": "sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==", "dev": true, "dependencies": { "acorn": "^8.10.0", @@ -4159,9 +4187,9 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/nan": { - "version": "2.17.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz", - "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==", + "version": "2.18.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.18.0.tgz", + "integrity": "sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==", "optional": true }, "node_modules/nanoid": { @@ -4580,9 +4608,9 @@ } }, "node_modules/postcss": { - "version": "8.4.28", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.28.tgz", - "integrity": "sha512-Z7V5j0cq8oEKyejIKfpD8b4eBy9cwW2JWPk0+fB1HOAMsfHbnAXLLS+PfVWlzMSLQaWttKDt607I0XHmpE67Vw==", + "version": "8.4.30", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.30.tgz", + "integrity": "sha512-7ZEao1g4kd68l97aWG/etQKPKq07us0ieSZ2TnFDk11i0ZfDW2AwKHYU8qv4MZKqN2fdBfg+7q0ES06UA73C1g==", "funding": [ { "type": "opencollective", @@ -4675,9 +4703,9 @@ } }, "node_modules/pretty-format": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.6.3.tgz", - "integrity": "sha512-ZsBgjVhFAj5KeK+nHfF1305/By3lechHQSMWCTl8iHSbfOm2TN5nHEtFc/+W7fAyUeCs2n5iow72gld4gW0xDw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", + "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", "dev": true, "dependencies": { "@jest/schemas": "^29.6.3", @@ -4809,13 +4837,13 @@ } }, "node_modules/regexp.prototype.flags": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", - "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz", + "integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", - "functions-have-names": "^1.2.3" + "set-function-name": "^2.0.0" }, "engines": { "node": ">= 0.4" @@ -4947,9 +4975,9 @@ } }, "node_modules/rollup": { - "version": "3.28.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.1.tgz", - "integrity": "sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==", + "version": "3.29.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz", + "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==", "dev": true, "bin": { "rollup": "dist/bin/rollup" @@ -5135,9 +5163,9 @@ } }, "node_modules/sass": { - "version": "1.66.1", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.66.1.tgz", - "integrity": "sha512-50c+zTsZOJVgFfTgwwEzkjA3/QACgdNsKueWPyAR0mRINIvLAStVQBbPg14iuqEQ74NPDbXzJARJ/O4SI1zftA==", + "version": "1.68.0", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.68.0.tgz", + "integrity": "sha512-Lmj9lM/fef0nQswm1J2HJcEsBUba4wgNx2fea6yJHODREoMFnwRpZydBnX/RjyXw2REIwdkbqE4hrTo4qfDBUA==", "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", @@ -5183,6 +5211,19 @@ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", "optional": true }, + "node_modules/set-function-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", + "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==", + "dependencies": { + "define-data-property": "^1.0.1", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -5597,9 +5638,9 @@ } }, "node_modules/tar": { - "version": "6.1.15", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.15.tgz", - "integrity": "sha512-/zKt9UyngnxIT/EAGYuxaMYgOIJiP81ab9ZfkILq4oNLPFX50qyYmu7jRj9qeXoxmJHjGlbH0+cm2uy1WCs10A==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz", + "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==", "optional": true, "dependencies": { "chownr": "^2.0.0", @@ -5629,14 +5670,14 @@ "integrity": "sha512-89Gi5raiWA3QZ4b2ePcEwswC3me9JIg+ToSgtE0JWeCynLnLxNr/f9G+xfo9K+Oj4AFdom8YNJjibIARTJmapQ==" }, "node_modules/three": { - "version": "0.155.0", - "resolved": "https://registry.npmjs.org/three/-/three-0.155.0.tgz", - "integrity": "sha512-sNgCYmDijnIqkD/bMfk+1pHg3YzsxW7V2ChpuP6HCQ8NiZr3RufsXQr8M3SSUMjW4hG+sUk7YbyuY0DncaDTJQ==" + "version": "0.156.1", + "resolved": "https://registry.npmjs.org/three/-/three-0.156.1.tgz", + "integrity": "sha512-kP7H0FK9d/k6t/XvQ9FO6i+QrePoDcNhwl0I02+wmUJRNSLCUIDMcfObnzQvxb37/0Uc9TDT0T1HgsRRrO6SYQ==" }, "node_modules/tinybench": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.5.0.tgz", - "integrity": "sha512-kRwSG8Zx4tjF9ZiyH4bhaebu+EDz1BOx9hOigYHlUW4xxI/wKIUQUqo018UlU4ar6ATPBsaMrdbKZ+tmPdohFA==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.5.1.tgz", + "integrity": "sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==", "dev": true }, "node_modules/tinypool": { @@ -5746,9 +5787,9 @@ } }, "node_modules/ufo": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.3.0.tgz", - "integrity": "sha512-bRn3CsoojyNStCZe0BG0Mt4Nr/4KF+rhFlnNXybgqt5pXHNFRlqinSoQaTrGyzE4X8aHplSb+TorH+COin9Yxw==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.3.1.tgz", + "integrity": "sha512-uY/99gMLIOlJPwATcMVYfqDSxUR9//AUcgZMzwfSTJPDKzA1S8mX4VLqa+fiAtveraQUBCz4FFcwVZBGbwBXIw==", "dev": true }, "node_modules/universalify": { @@ -5770,9 +5811,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", - "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", + "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", "dev": true, "funding": [ { @@ -5824,9 +5865,13 @@ "devOptional": true }, "node_modules/uuid": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", - "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], "bin": { "uuid": "dist/bin/uuid" } @@ -5897,9 +5942,9 @@ } }, "node_modules/vite-node": { - "version": "0.34.2", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.34.2.tgz", - "integrity": "sha512-JtW249Zm3FB+F7pQfH56uWSdlltCo1IOkZW5oHBzeQo0iX4jtC7o1t9aILMGd9kVekXBP2lfJBEQt9rBh07ebA==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.34.5.tgz", + "integrity": "sha512-RNZ+DwbCvDoI5CbCSQSyRyzDTfFvFauvMs6Yq4ObJROKlIKuat1KgSX/Ako5rlDMfVCyMcpMRMTkJBxd6z8YRA==", "dev": true, "dependencies": { "cac": "^6.7.14", @@ -5907,7 +5952,7 @@ "mlly": "^1.4.0", "pathe": "^1.1.1", "picocolors": "^1.0.0", - "vite": "^3.0.0 || ^4.0.0" + "vite": "^3.0.0 || ^4.0.0 || ^5.0.0-0" }, "bin": { "vite-node": "vite-node.mjs" @@ -5950,19 +5995,19 @@ } }, "node_modules/vitest": { - "version": "0.34.2", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.34.2.tgz", - "integrity": "sha512-WgaIvBbjsSYMq/oiMlXUI7KflELmzM43BEvkdC/8b5CAod4ryAiY2z8uR6Crbi5Pjnu5oOmhKa9sy7uk6paBxQ==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.34.5.tgz", + "integrity": "sha512-CPI68mmnr2DThSB3frSuE5RLm9wo5wU4fbDrDwWQQB1CWgq9jQVoQwnQSzYAjdoBOPoH2UtXpOgHVge/uScfZg==", "dev": true, "dependencies": { "@types/chai": "^4.3.5", "@types/chai-subset": "^1.3.3", "@types/node": "*", - "@vitest/expect": "0.34.2", - "@vitest/runner": "0.34.2", - "@vitest/snapshot": "0.34.2", - "@vitest/spy": "0.34.2", - "@vitest/utils": "0.34.2", + "@vitest/expect": "0.34.5", + "@vitest/runner": "0.34.5", + "@vitest/snapshot": "0.34.5", + "@vitest/spy": "0.34.5", + "@vitest/utils": "0.34.5", "acorn": "^8.9.0", "acorn-walk": "^8.2.0", "cac": "^6.7.14", @@ -5976,8 +6021,8 @@ "strip-literal": "^1.0.1", "tinybench": "^2.5.0", "tinypool": "^0.7.0", - "vite": "^3.0.0 || ^4.0.0", - "vite-node": "0.34.2", + "vite": "^3.1.0 || ^4.0.0 || ^5.0.0-0", + "vite-node": "0.34.5", "why-is-node-running": "^2.2.2" }, "bin": { @@ -6600,9 +6645,9 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", + "version": "8.14.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz", + "integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==", "devOptional": true, "engines": { "node": ">=10.0.0" diff --git a/package.json b/package.json index 5a6abeba6c..c53b370a8f 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "color-string": "1.9.1", "fabric": "cgwire/fabric.js", "marked": "4.3.0", - "marked-emoji": "1.2.2", + "marked-emoji": "1.2.4", "moment": "2.29.4", "moment-timezone": "0.5.43", "panzoom": "9.4.3", @@ -36,8 +36,8 @@ "superagent": "8.1.2", "textarea-caret": "3.1.0", "thenby": "1.3.4", - "three": "0.155.0", - "uuid": "9.0.0", + "three": "0.156.1", + "uuid": "9.0.1", "v-autocomplete": "1.8.2", "vue": "2.7.14", "vue-at": "2.5.1", @@ -62,8 +62,8 @@ "@vitejs/plugin-vue2": "2.2.0", "@vue/compiler-sfc": "2.7.14", "@vue/test-utils": "1.3.6", - "autoprefixer": "10.4.15", - "eslint": "8.48.0", + "autoprefixer": "10.4.16", + "eslint": "8.50.0", "eslint-config-prettier": "9.0.0", "eslint-plugin-prettier": "5.0.0", "eslint-plugin-vue": "9.17.0", @@ -72,12 +72,12 @@ "jsdom": "22.1.0", "lint-staged": "14.0.1", "localStorage": "1.0.4", - "postcss": "8.4.28", + "postcss": "8.4.30", "prettier": "3.0.3", - "sass": "1.66.1", + "sass": "1.68.0", "vite": "4.4.9", "vite-plugin-eslint": "1.8.1", - "vitest": "0.34.2", + "vitest": "0.34.5", "vitest-localstorage-mock": "0.0.1", "vue-template-compiler": "2.7.14" }, diff --git a/src/components/lists/ProductionTeamList.vue b/src/components/lists/ProductionTeamList.vue index 6a1b6389d8..b8abcf6331 100644 --- a/src/components/lists/ProductionTeamList.vue +++ b/src/components/lists/ProductionTeamList.vue @@ -16,7 +16,7 @@ {{ $t('people.list.role') }} - + {{ $t('people.list.departments') }} @@ -30,17 +30,17 @@ /> {{ person.email }} {{ person.phone }} - {{ $t('people.role.' + person.role) }} - - - - @@ -50,7 +50,7 @@ {{ $t('people.empty_team') }}

- @@ -68,13 +68,18 @@ export default { PeopleNameCell }, - props: ['entries'], + props: { + entries: { + type: Array, + default: () => [] + } + }, computed: { ...mapGetters(['isCurrentUserAdmin']), isEmpty() { - return !this.entries || this.entries.length === 0 + return !this.entries?.length } }, diff --git a/src/components/lists/TaskList.vue b/src/components/lists/TaskList.vue index a44719b80c..0e83591b08 100644 --- a/src/components/lists/TaskList.vue +++ b/src/components/lists/TaskList.vue @@ -437,9 +437,8 @@ export default { displayedTasks() { if (this.tasks && this.tasks.length > 0) { return this.tasks.slice(0, 60 * this.page) - } else { - return [] } + return [] }, tasksByParent() { @@ -507,10 +506,9 @@ export default { getTaskName(task) { if (this.entityType === 'Shot') { - return task.sequence_name + ' / ' + this.getEntity(task.entity.id).name - } else { - return task.entity_name + return `${task.sequence_name} / ${this.getEntity(task.entity.id).name}` } + return task.entity_name }, isTaskChanged(task, data) { @@ -629,7 +627,7 @@ export default { formatDate(date) { if (date) return moment(date).format('YYYY-MM-DD') - else return '' + return '' }, isEstimationBurned(task) { @@ -650,7 +648,7 @@ export default { }, getEntity(entityId) { - return this[`${this.entityType.toLowerCase()}Map`].get(entityId) + return this[`${this.entityType.toLowerCase()}Map`].get(entityId) || {} }, onKeyDown(event) { @@ -720,7 +718,7 @@ export default { }, scrollToLine(taskId) { - const taskLine = this.$refs['task-' + taskId] + const taskLine = this.$refs[`task-${taskId}`] if (taskLine && this.$refs.body) { const margin = 30 const rect = taskLine[0].getBoundingClientRect() @@ -744,16 +742,14 @@ export default { } else if (this.isCurrentUserSupervisor) { if (this.user.departments.length === 0) { return true - } else { - const taskType = this.taskTypeMap.get(task.task_type_id) - return ( - taskType.department_id && - this.user.departments.includes(taskType.department_id) - ) } - } else { - return false + const taskType = this.taskTypeMap.get(task.task_type_id) + return ( + taskType.department_id && + this.user.departments.includes(taskType.department_id) + ) } + return false }, resetSelection() { @@ -788,7 +784,7 @@ export default { .map(personId => { const person = this.personMap.get(personId) if (person) return person.name - else return '' + return '' }) .join(', ') diff --git a/src/components/modals/AddMetadataModal.vue b/src/components/modals/AddMetadataModal.vue index fdcd9acc92..b0e8128c1f 100644 --- a/src/components/modals/AddMetadataModal.vue +++ b/src/components/modals/AddMetadataModal.vue @@ -308,9 +308,16 @@ export default { const newValue = this.$refs.addChoiceField.value if (!this.form.values.find(v => v === newValue) && newValue) { this.form.values.push(newValue) + if (this.form.data_type === 'taglist') { + this.form.values.sort() + } this.valueToAdd = '' this.$nextTick(() => { - this.valueList.scrollTop = this.valueList.scrollHeight + const newValueIndex = this.form.values.findIndex(v => v === newValue) + const newValuePosition = + (this.valueList.scrollHeight / this.form.values.length) * + newValueIndex + this.valueList.scrollTop = newValuePosition }) } return newValue @@ -374,6 +381,9 @@ export default { this.checklist = this.getDescriptorChecklistValues( this.descriptorToEdit ) + if (this.form.data_type === 'taglist') { + this.form.values.sort() + } } else { this.form = { name: '', diff --git a/src/components/modals/AddThumbnailsModal.vue b/src/components/modals/AddThumbnailsModal.vue index 331c033279..84367278fe 100644 --- a/src/components/modals/AddThumbnailsModal.vue +++ b/src/components/modals/AddThumbnailsModal.vue @@ -64,7 +64,10 @@ v-if="thumbnailInfo.src" /> - {{ thumbnailInfo.parentName }} / {{ thumbnailInfo.name }} + + {{ thumbnailInfo.name }} @@ -83,13 +86,14 @@ diff --git a/src/components/pages/Edits.vue b/src/components/pages/Edits.vue index d05c3f1773..4084263a71 100644 --- a/src/components/pages/Edits.vue +++ b/src/components/pages/Edits.vue @@ -225,7 +225,8 @@ 0) { - searchQuery = '' + this.$route.query.search + searchQuery = `${this.$route.query.search}` } if (searchQuery === 'undefined') searchQuery = '' this.$refs['edit-list'].setScrollPosition(this.editListScrollPosition) @@ -462,7 +463,7 @@ export default { this.productionEditTaskTypes.forEach(item => { collection.push(item.name) - collection.push(item.name + ' comment') + collection.push(`${item.name} comment`) }) return collection }, @@ -661,7 +662,7 @@ export default { taskId: form.task.id, commentText: '', taskStatusId: form.task.task_status_id, - form: form + form }) .then(({ newComment, preview }) => { return this.setPreview({ @@ -741,27 +742,24 @@ export default { return this.$t('edits.delete_text', { name: edit.name }) } else if (edit) { return this.$t('edits.cancel_text', { name: edit.name }) - } else { - return '' } + return '' }, deleteAllTasksText() { const taskType = this.taskTypeForTaskDeletion if (taskType) { return this.$t('tasks.delete_all_text', { name: taskType.name }) - } else { - return '' } + return '' }, restoreText() { const edit = this.editToRestore if (edit) { return this.$t('edits.restore_text', { name: edit.name }) - } else { - return '' } + return '' }, renderImport(data, mode) { @@ -971,7 +969,7 @@ export default { if (!this.isEditsLoading) { let searchQuery = '' if (this.$route.query.search && this.$route.query.search.length > 0) { - searchQuery = '' + this.$route.query.search + searchQuery = `${this.$route.query.search}` } this.initialLoading = false this.$refs['edit-search-field'].setValue(searchQuery) @@ -996,12 +994,9 @@ export default { : '' } | ${this.$t('edits.title')} - Kitsu` } - } else { - return { - title: `${this.currentProduction.name} ${this.$t( - 'edits.title' - )} - Kitsu` - } + } + return { + title: `${this.currentProduction.name} ${this.$t('edits.title')} - Kitsu` } } } diff --git a/src/components/pages/Episodes.vue b/src/components/pages/Episodes.vue index d9f562e7a4..307044dead 100644 --- a/src/components/pages/Episodes.vue +++ b/src/components/pages/Episodes.vue @@ -148,12 +148,14 @@ 0) { - searchQuery = '' + this.$route.query.search + searchQuery = `${this.$route.query.search}` } if (searchQuery === 'undefined') searchQuery = '' this.$refs['episode-list'].setScrollPosition(this.episodeListScrollPosition) @@ -387,7 +389,7 @@ export default { this.productionEpisodeTaskTypes.forEach(item => { collection.push(item.name) - collection.push(item.name + ' comment') + collection.push(`${item.name} comment`) }) return collection }, @@ -602,9 +604,8 @@ export default { const episode = this.episodeToDelete if (episode) { return this.$t('episodes.delete_text', { name: episode.name }) - } else { - return '' } + return '' } }, @@ -630,7 +631,7 @@ export default { if (!this.isEpisodesLoading) { let searchQuery = '' if (this.$route.query.search && this.$route.query.search.length > 0) { - searchQuery = '' + this.$route.query.search + searchQuery = `${this.$route.query.search}` } this.initialLoading = false this.$refs['episode-search-field'].setValue(searchQuery) diff --git a/src/components/pages/Sequences.vue b/src/components/pages/Sequences.vue index 4b9a0f991a..c8026f337f 100644 --- a/src/components/pages/Sequences.vue +++ b/src/components/pages/Sequences.vue @@ -148,12 +148,14 @@ 0) { - searchQuery = '' + this.$route.query.search + searchQuery = `${this.$route.query.search}` } if (searchQuery === 'undefined') searchQuery = '' this.$refs['sequence-list'].setScrollPosition( @@ -391,7 +393,7 @@ export default { this.productionSequenceTaskTypes.forEach(item => { collection.push(item.name) - collection.push(item.name + ' comment') + collection.push(`${item.name} comment`) }) return collection }, @@ -609,9 +611,8 @@ export default { const sequence = this.sequenceToDelete if (sequence) { return this.$t('sequences.delete_text', { name: sequence.name }) - } else { - return '' } + return '' } }, @@ -644,7 +645,7 @@ export default { if (!this.isSequencesLoading) { let searchQuery = '' if (this.$route.query.search && this.$route.query.search.length > 0) { - searchQuery = '' + this.$route.query.search + searchQuery = `${this.$route.query.search}` } this.initialLoading = false this.$refs['sequence-search-field'].setValue(searchQuery) diff --git a/src/components/pages/Shots.vue b/src/components/pages/Shots.vue index 8a2a229fb4..9ec627ca27 100644 --- a/src/components/pages/Shots.vue +++ b/src/components/pages/Shots.vue @@ -260,6 +260,7 @@ 0) { - searchQuery = '' + this.$route.query.search + searchQuery = `${this.$route.query.search}` } this.$refs['shot-search-field'].setValue(searchQuery) const finalize = () => { @@ -517,7 +518,7 @@ export default { this.productionShotTaskTypes.forEach(item => { collection.push(item.name) - collection.push(item.name + ' comment') + collection.push(`${item.name} comment`) }) return collection @@ -731,7 +732,7 @@ export default { taskId: form.task.id, commentText: '', taskStatusId: form.task.task_status_id, - form: form + form }) .then(({ newComment, preview }) => { return this.setPreview({ @@ -814,27 +815,24 @@ export default { return this.$t('shots.delete_text', { name: shot.name }) } else if (shot) { return this.$t('shots.cancel_text', { name: shot.name }) - } else { - return '' } + return '' }, deleteAllTasksText() { const taskType = this.taskTypeForTaskDeletion if (taskType) { return this.$t('tasks.delete_all_text', { name: taskType.name }) - } else { - return '' } + return '' }, restoreText() { const shot = this.shotToRestore if (shot) { return this.$t('shots.restore_text', { name: shot.name }) - } else { - return '' } + return '' }, renderImport(data, mode) { @@ -1150,7 +1148,7 @@ export default { if (!this.isShotsLoading) { let searchQuery = '' if (this.$route.query.search && this.$route.query.search.length > 0) { - searchQuery = '' + this.$route.query.search + searchQuery = `${this.$route.query.search}` } this.initialLoading = false this.$refs['shot-search-field'].setValue(searchQuery) @@ -1172,12 +1170,9 @@ export default { ` - ${this.currentEpisode ? this.currentEpisode.name : ''}` + ` | ${this.$t('shots.title')} - Kitsu` } - } else { - return { - title: `${this.currentProduction.name} ${this.$t( - 'shots.title' - )} - Kitsu` - } + } + return { + title: `${this.currentProduction.name} ${this.$t('shots.title')} - Kitsu` } } } diff --git a/src/components/pages/TaskType.vue b/src/components/pages/TaskType.vue index 77a6057042..52b5d14fd4 100644 --- a/src/components/pages/TaskType.vue +++ b/src/components/pages/TaskType.vue @@ -394,7 +394,7 @@ const filters = { } export default { - name: 'task-type-page', + name: 'task-type', mixins: [formatListMixin, searchMixin], components: { ButtonSimple, @@ -586,9 +586,8 @@ export default { locale() { if (this.user.locale === 'fr_FR') { return fr - } else { - return en } + return en }, productionStartDate() { @@ -641,12 +640,10 @@ export default { `${episodeName} / ` + `${this.currentTaskType.name}` ) - } else { - return `${this.currentProduction.name} / ${this.currentTaskType.name}` } - } else { - return 'Loading...' + return `${this.currentProduction.name} / ${this.currentTaskType.name}` } + return 'Loading...' }, // Paths @@ -765,11 +762,8 @@ export default { this.resetTasks() this.focusSearchField({ preventScroll: true }) let searchQuery = this.$route.query.search - if (searchQuery.length === 0) { - searchQuery = - !searchQuery && this.searchField - ? this.searchField.getValue() - : '' + if (!searchQuery && this.searchField) { + searchQuery = this.searchField.getValue() } if (searchQuery) this.onSearchChange(searchQuery) setTimeout(() => { @@ -784,7 +778,6 @@ export default { this.dueDateFilter = this.$route.query.duedate || 'all' this.estimationFilter = this.$route.query.late || 'all' this.priorityFilter = this.$route.query.priority || '-1' - this.onSearchChange(this.$route.query.search) }) .catch(err => { console.error(err) @@ -797,11 +790,8 @@ export default { this.resetTaskTypeDates() this.loading.entities = false let searchQuery = this.$route.query.search - if (!searchQuery || searchQuery.length === 0) { - searchQuery = - !searchQuery && this.searchField - ? this.searchField.getValue() - : '' + if (!searchQuery && this.searchField) { + searchQuery = this.searchField.getValue() } if (searchQuery) this.onSearchChange(searchQuery) if (this.isActiveTab('schedule')) { @@ -831,18 +821,17 @@ export default { Promise.resolve(this.currentScheduleItem) } }) - } else { - return this.loadScheduleItems(this.currentProduction).then(items => { - if (!items) { - Promise.resolve([]) - } else { - this.currentScheduleItem = items.find(item => { - return item.task_type_id === this.currentTaskType.id - }) - Promise.resolve(this.currentScheduleItem) - } - }) } + return this.loadScheduleItems(this.currentProduction).then(items => { + if (!items) { + Promise.resolve([]) + } else { + this.currentScheduleItem = items.find(item => { + return item.task_type_id === this.currentTaskType.id + }) + Promise.resolve(this.currentScheduleItem) + } + }) }, // Tabs @@ -1212,8 +1201,8 @@ export default { return { ...task, name: task.entity_name, - startDate: startDate, - endDate: endDate, + startDate, + endDate, expanded: false, loading: false, man_days: estimation, @@ -1225,7 +1214,7 @@ export default { } }) Object.assign(personElement, { - children: children, + children, startDate: minStartDate, endDate: maxEndDate, man_days: manDays @@ -1243,9 +1232,8 @@ export default { !this.taskStatusMap.get(task.task_status_id).is_done && endDate.isBefore(moment()) return isLate ? '#FF3860' : '#999' - } else { - return null } + return null }, saveTaskScheduleItem(item) { diff --git a/src/components/pages/entities/EntityNews.vue b/src/components/pages/entities/EntityNews.vue index 73a4c30e2c..d890a44c6b 100644 --- a/src/components/pages/entities/EntityNews.vue +++ b/src/components/pages/entities/EntityNews.vue @@ -60,7 +60,7 @@
- {{ $t('entities.news.no_news') }} + {{ $t('news.no_news') }}
diff --git a/src/components/tops/TopbarSectionList.vue b/src/components/tops/TopbarSectionList.vue index 263dea414a..620ef4a0e1 100644 --- a/src/components/tops/TopbarSectionList.vue +++ b/src/components/tops/TopbarSectionList.vue @@ -42,7 +42,7 @@ import { getProductionPath } from '@/lib/path' import ComboboxMask from '@/components/widgets/ComboboxMask' export default { - name: 'topbar-section-menu', + name: 'topbar-section-list', components: { ChevronDownIcon, @@ -82,7 +82,7 @@ export default { const section = this.localSection const sectionOption = this.sectionList.find(s => s.value === section) if (sectionOption) return sectionOption.label - else return null + return null } }, diff --git a/src/components/widgets/Combobox.vue b/src/components/widgets/Combobox.vue index 0d8546a407..3604d7bac6 100644 --- a/src/components/widgets/Combobox.vue +++ b/src/components/widgets/Combobox.vue @@ -113,11 +113,10 @@ export default { }, getOptionLabel(option) { - if (this.localeKeyPrefix.length > 0) { + if (this.localeKeyPrefix && option.label) { return this.$t(this.localeKeyPrefix + option.label.toLowerCase()) - } else { - return option.label } + return option.label } } } diff --git a/src/components/widgets/ComboboxNumber.vue b/src/components/widgets/ComboboxNumber.vue index e0741f854d..71a3ec9af1 100644 --- a/src/components/widgets/ComboboxNumber.vue +++ b/src/components/widgets/ComboboxNumber.vue @@ -93,11 +93,10 @@ export default { }, getOptionLabel(option) { - if (this.localeKeyPrefix.length > 0) { + if (this.localeKeyPrefix && option.label) { return this.$t(this.localeKeyPrefix + option.label.toLowerCase()) - } else { - return option.label } + return option.label } } } diff --git a/src/components/widgets/ComboboxSimple.vue b/src/components/widgets/ComboboxSimple.vue index a9eac6a26a..2f2ac43c8b 100644 --- a/src/components/widgets/ComboboxSimple.vue +++ b/src/components/widgets/ComboboxSimple.vue @@ -72,11 +72,10 @@ export default { }, getOptionLabel(option) { - if (this.localeKeyPrefix.length > 0) { + if (this.localeKeyPrefix && option.label) { return this.$t(this.localeKeyPrefix + option.label.toLowerCase()) - } else { - return option.label } + return option.label }, resetOptions() { diff --git a/src/components/widgets/ComboboxStyled.vue b/src/components/widgets/ComboboxStyled.vue index d9313bee77..377a0eaa01 100644 --- a/src/components/widgets/ComboboxStyled.vue +++ b/src/components/widgets/ComboboxStyled.vue @@ -117,9 +117,8 @@ export default { optionList() { if (this.isReversed) { return [...this.options].reverse() - } else { - return this.options } + return this.options } }, @@ -149,11 +148,10 @@ export default { }, getOptionLabel(option) { - if (this.localeKeyPrefix.length > 0) { + if (this.localeKeyPrefix && option.label) { return this.$t(this.localeKeyPrefix + option.label.toLowerCase()) - } else { - return option.label } + return option.label } }, diff --git a/src/components/widgets/ComboboxTag.vue b/src/components/widgets/ComboboxTag.vue index 9d57f1e887..2bb76d3969 100644 --- a/src/components/widgets/ComboboxTag.vue +++ b/src/components/widgets/ComboboxTag.vue @@ -44,6 +44,8 @@