From c8d484a93c5297c640ab44ee79834ff1911e4af8 Mon Sep 17 00:00:00 2001 From: alvarosabu Date: Wed, 17 Jul 2024 09:37:44 +0200 Subject: [PATCH] fix(types): fixed types generics for `useGLTF` --- package.json | 12 +- pnpm-lock.yaml | 730 ++++++++++++++++++------------ src/core/loaders/useGLTF/index.ts | 33 +- 3 files changed, 471 insertions(+), 304 deletions(-) diff --git a/package.json b/package.json index b38c594c..64b5eef7 100644 --- a/package.json +++ b/package.json @@ -67,12 +67,12 @@ }, "devDependencies": { "@release-it/conventional-changelog": "^8.0.1", - "@tresjs/core": "4.2.0", + "@tresjs/core": "4.2.1", "@tresjs/eslint-config": "^1.1.0", - "@types/node": "^20.14.10", + "@types/node": "^20.14.11", "@types/three": "^0.166.0", - "@typescript-eslint/eslint-plugin": "^7.16.0", - "@typescript-eslint/parser": "^7.16.0", + "@typescript-eslint/eslint-plugin": "^7.16.1", + "@typescript-eslint/parser": "^7.16.1", "@vitejs/plugin-vue": "^5.0.5", "eslint": "^9.7.0", "eslint-plugin-vue": "^9.27.0", @@ -85,8 +85,8 @@ "rollup-plugin-visualizer": "^5.12.0", "three": "^0.166.1", "typescript": "^5.5.3", - "unocss": "^0.61.3", - "vite": "^5.3.3", + "unocss": "^0.61.5", + "vite": "^5.3.4", "vite-plugin-banner": "^0.7.1", "vite-plugin-dts": "3.9.1", "vite-plugin-glsl": "^1.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ccec3506..c8da4c8a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,26 +34,26 @@ importers: specifier: ^8.0.1 version: 8.0.1(release-it@17.6.0(typescript@5.5.3)) '@tresjs/core': - specifier: 4.2.0 - version: 4.2.0(three@0.166.1)(vue@3.4.31(typescript@5.5.3)) + specifier: 4.2.1 + version: 4.2.1(three@0.166.1)(vue@3.4.31(typescript@5.5.3)) '@tresjs/eslint-config': specifier: ^1.1.0 version: 1.1.0(@vue/compiler-sfc@3.4.31)(eslint@9.7.0)(typescript@5.5.3) '@types/node': - specifier: ^20.14.10 - version: 20.14.10 + specifier: ^20.14.11 + version: 20.14.11 '@types/three': specifier: ^0.166.0 version: 0.166.0 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.0 - version: 7.16.0(@typescript-eslint/parser@7.16.0(eslint@9.7.0)(typescript@5.5.3))(eslint@9.7.0)(typescript@5.5.3) + specifier: ^7.16.1 + version: 7.16.1(@typescript-eslint/parser@7.16.1(eslint@9.7.0)(typescript@5.5.3))(eslint@9.7.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.0 - version: 7.16.0(eslint@9.7.0)(typescript@5.5.3) + specifier: ^7.16.1 + version: 7.16.1(eslint@9.7.0)(typescript@5.5.3) '@vitejs/plugin-vue': specifier: ^5.0.5 - version: 5.0.5(vite@5.3.3(@types/node@20.14.10))(vue@3.4.31(typescript@5.5.3)) + version: 5.0.5(vite@5.3.4(@types/node@20.14.11))(vue@3.4.31(typescript@5.5.3)) eslint: specifier: ^9.7.0 version: 9.7.0 @@ -88,26 +88,26 @@ importers: specifier: ^5.5.3 version: 5.5.3 unocss: - specifier: ^0.61.3 - version: 0.61.3(postcss@8.4.39)(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)) + specifier: ^0.61.5 + version: 0.61.5(postcss@8.4.39)(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11)) vite: - specifier: ^5.3.3 - version: 5.3.3(@types/node@20.14.10) + specifier: ^5.3.4 + version: 5.3.4(@types/node@20.14.11) vite-plugin-banner: specifier: ^0.7.1 version: 0.7.1 vite-plugin-dts: specifier: 3.9.1 - version: 3.9.1(@types/node@20.14.10)(rollup@4.18.1)(typescript@5.5.3)(vite@5.3.3(@types/node@20.14.10)) + version: 3.9.1(@types/node@20.14.11)(rollup@4.18.1)(typescript@5.5.3)(vite@5.3.4(@types/node@20.14.11)) vite-plugin-glsl: specifier: ^1.3.0 - version: 1.3.0(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)) + version: 1.3.0(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11)) vite-svg-loader: specifier: ^5.1.0 version: 5.1.0(vue@3.4.31(typescript@5.5.3)) vitepress: specifier: 1.3.1 - version: 1.3.1(@algolia/client-search@4.24.0)(@types/node@20.14.10)(postcss@8.4.39)(search-insights@2.15.0)(typescript@5.5.3) + version: 1.3.1(@algolia/client-search@4.24.0)(@types/node@20.14.11)(postcss@8.4.39)(search-insights@2.15.0)(typescript@5.5.3) docs: dependencies: @@ -117,13 +117,13 @@ importers: devDependencies: '@tresjs/leches': specifier: ^0.14.0 - version: 0.14.0(vite@5.3.3(@types/node@20.14.10))(vue@3.4.31(typescript@5.5.3)) + version: 0.14.0(vite@5.3.4(@types/node@20.14.11))(vue@3.4.31(typescript@5.5.3)) markdown-it: specifier: ^14.0.0 version: 14.1.0 unocss: specifier: ^0.59.4 - version: 0.59.4(postcss@8.4.39)(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)) + version: 0.59.4(postcss@8.4.39)(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11)) vite-svg-loader: specifier: ^5.1.0 version: 5.1.0(vue@3.4.31(typescript@5.5.3)) @@ -139,7 +139,7 @@ importers: devDependencies: '@tresjs/leches': specifier: ^0.14.0 - version: 0.14.0(vite@5.3.3(@types/node@20.14.10))(vue@3.4.31(typescript@5.5.3)) + version: 0.14.0(vite@5.3.4(@types/node@20.14.11))(vue@3.4.31(typescript@5.5.3)) unplugin-auto-import: specifier: ^0.18.0 version: 0.18.0(@vueuse/core@10.11.0(vue@3.4.31(typescript@5.5.3)))(rollup@4.18.1) @@ -148,10 +148,10 @@ importers: version: 0.27.2(@babel/parser@7.24.8)(rollup@4.18.1)(vue@3.4.31(typescript@5.5.3)) vite-plugin-glsl: specifier: ^1.2.1 - version: 1.3.0(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)) + version: 1.3.0(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11)) vite-plugin-qrcode: specifier: ^0.2.3 - version: 0.2.3(vite@5.3.3(@types/node@20.14.10)) + version: 0.2.3(vite@5.3.4(@types/node@20.14.11)) vue-tsc: specifier: ^2.0.26 version: 2.0.26(typescript@5.5.3) @@ -297,6 +297,14 @@ packages: resolution: {integrity: sha512-6AWcmZC/MZCO0yKys4uhg5NlxL0ESF3K6IAaoQ+xSXvPyPyxNWRafP+GDbI88Oh68O7QkJgmEtedWPM9U0pZNg==} engines: {node: '>=6.9.0'} + '@babel/core@7.24.9': + resolution: {integrity: sha512-5e3FI4Q3M3Pbr21+5xJwCv6ZT6KmGkI0vw3Tozy5ODAQFTIWe37iT8Cr7Ice2Ntb+M3iSKCEWMB1MBgKrW3whg==} + engines: {node: '>=6.9.0'} + + '@babel/generator@7.24.10': + resolution: {integrity: sha512-o9HBZL1G2129luEUlG1hB4N/nlYNWHnpwlND9eOMclRqqu1YDy2sSYVCFUZwl8I1Gxh+QSRrP2vD7EpUmFVXxg==} + engines: {node: '>=6.9.0'} + '@babel/generator@7.24.8': resolution: {integrity: sha512-47DG+6F5SzOi0uEvK4wMShmn5yY0mVjVJoWTphdY2B4Rx9wHgjK7Yhtr0ru6nE+sn0v38mzrWOlah0p/YlHHOQ==} engines: {node: '>=6.9.0'} @@ -341,6 +349,12 @@ packages: peerDependencies: '@babel/core': ^7.0.0 + '@babel/helper-module-transforms@7.24.9': + resolution: {integrity: sha512-oYbh+rtFKj/HwBQkFlUzvcybzklmVdVV3UU+mN7n2t/q3yGHbuVdNxyFvSBO1tfvjyArpHNcWMAzsSPdyI46hw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + '@babel/helper-optimise-call-expression@7.24.7': resolution: {integrity: sha512-jKiTsW2xmWwxT1ixIdfXUZp+P5yURx2suzLZr5Hi64rURpDYdMW0pv+Uf17EYk2Rd428Lx4tLsnjGJzYKDM/6A==} engines: {node: '>=6.9.0'} @@ -434,6 +448,10 @@ packages: resolution: {integrity: sha512-SkSBEHwwJRU52QEVZBmMBnE5Ux2/6WU1grdYyOhpbCNxbmJrDuDCphBzKZSO3taf0zztp+qkWlymE5tVL5l0TA==} engines: {node: '>=6.9.0'} + '@babel/types@7.24.9': + resolution: {integrity: sha512-xm8XrMKz0IlUdocVbYJe0Z9xEgidU7msskG8BbhnTPK/HZ2z/7FP7ykqPgrUH+C+r414mNfNWam1f2vqOjqjYQ==} + engines: {node: '>=6.9.0'} + '@clack/core@0.3.4': resolution: {integrity: sha512-H4hxZDXgHtWTwV3RAVenqcC4VbJZNegbBjlPvzOzCouXtS2y3sDvlO3IsbrPNWuLWPPlYVYPghQdSF64683Ldw==} @@ -965,6 +983,12 @@ packages: three: '>=0.133' vue: '>=3.4' + '@tresjs/core@4.2.1': + resolution: {integrity: sha512-sgjidv+2QA6FPerXgbLslicIuxNCJrSkTcZ2RJFWJ7mVWir8LtVs8CpSJLDVJwuhmjNwn9IIFl2WH94H8xgy4Q==} + peerDependencies: + three: '>=0.133' + vue: '>=3.4' + '@tresjs/eslint-config@1.1.0': resolution: {integrity: sha512-Iyxqj1MMLC6TnFxFG9UtPkJgxOWqxF2gJfuMvHF/oRpQQKrMNlPUqJdV6ieQoGjLVTfudnHOSYv9Sl96zZSgfA==} peerDependencies: @@ -1015,8 +1039,8 @@ packages: '@types/mdurl@2.0.0': resolution: {integrity: sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==} - '@types/node@20.14.10': - resolution: {integrity: sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==} + '@types/node@20.14.11': + resolution: {integrity: sha512-kprQpL8MMeszbz6ojB5/tU8PLN4kesnN8Gjzw349rDlNgsSzg90lAVj3llK99Dh7JON+t9AuscPPFW6mPbTnSA==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -1045,8 +1069,8 @@ packages: '@types/webxr@0.5.19': resolution: {integrity: sha512-4hxA+NwohSgImdTSlPXEqDqqFktNgmTXQ05ff1uWam05tNGroCMp4G+4XVl6qWm1p7GQ/9oD41kAYsSssF6Mzw==} - '@typescript-eslint/eslint-plugin@7.16.0': - resolution: {integrity: sha512-py1miT6iQpJcs1BiJjm54AMzeuMPBSPuKPlnT8HlfudbcS5rYeX5jajpLf3mrdRh9dA/Ec2FVUY0ifeVNDIhZw==} + '@typescript-eslint/eslint-plugin@7.16.1': + resolution: {integrity: sha512-SxdPak/5bO0EnGktV05+Hq8oatjAYVY3Zh2bye9pGZy6+jwyR3LG3YKkV4YatlsgqXP28BTeVm9pqwJM96vf2A==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: '@typescript-eslint/parser': ^7.0.0 @@ -1067,8 +1091,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@7.16.0': - resolution: {integrity: sha512-ar9E+k7CU8rWi2e5ErzQiC93KKEFAXA2Kky0scAlPcxYblLt8+XZuHUZwlyfXILyQa95P6lQg+eZgh/dDs3+Vw==} + '@typescript-eslint/parser@7.16.1': + resolution: {integrity: sha512-u+1Qx86jfGQ5i4JjK33/FnawZRpsLxRnKzGE6EABZ40KxVT/vWsiZFEBBHjFOljmmV3MBYOHEKi0Jm9hbAOClA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -1087,20 +1111,20 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@7.16.0': - resolution: {integrity: sha512-8gVv3kW6n01Q6TrI1cmTZ9YMFi3ucDT7i7aI5lEikk2ebk1AEjrwX8MDTdaX5D7fPXMBLvnsaa0IFTAu+jcfOw==} + '@typescript-eslint/scope-manager@7.16.1': + resolution: {integrity: sha512-nYpyv6ALte18gbMz323RM+vpFpTjfNdyakbf3nsLvF43uF9KeNC289SUEW3QLZ1xPtyINJ1dIsZOuWuSRIWygw==} engines: {node: ^18.18.0 || >=20.0.0} '@typescript-eslint/scope-manager@8.0.0-alpha.40': resolution: {integrity: sha512-KQL502sCGZW+dYvxIzF6rEozbgppN0mBkYV6kT8ciY5OtFIRlLDTP7NdVAMMDk7q35T7Ad8negaQ9AGpZ8+Y5w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/scope-manager@8.0.0-alpha.42': - resolution: {integrity: sha512-3nS6VEzxUPEMvqadRaGkjZuL+fsjNf5lCYbvS0IQYzqJl7338yhxvPCraHmXe/xlB08p+5BAd6JYAbkTeSXxJw==} + '@typescript-eslint/scope-manager@8.0.0-alpha.44': + resolution: {integrity: sha512-0w0pDILwfwRXSz9lQBXnJmeGaIbSBgl4vAw/lB2kCnOKYl2SXCVbdNOHPwxWigvQ08QVpuaKy+wEjbFKr9Xwfg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@7.16.0': - resolution: {integrity: sha512-j0fuUswUjDHfqV/UdW6mLtOQQseORqfdmoBNDFOqs9rvNVR2e+cmu6zJu/Ku4SDuqiJko6YnhwcL8x45r8Oqxg==} + '@typescript-eslint/type-utils@7.16.1': + resolution: {integrity: sha512-rbu/H2MWXN4SkjIIyWcmYBjlp55VT+1G3duFOIukTNFxr9PI35pLc2ydwAfejCEitCv4uztA07q0QWanOHC7dA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -1118,20 +1142,20 @@ packages: typescript: optional: true - '@typescript-eslint/types@7.16.0': - resolution: {integrity: sha512-fecuH15Y+TzlUutvUl9Cc2XJxqdLr7+93SQIbcZfd4XRGGKoxyljK27b+kxKamjRkU7FYC6RrbSCg0ALcZn/xw==} + '@typescript-eslint/types@7.16.1': + resolution: {integrity: sha512-AQn9XqCzUXd4bAVEsAXM/Izk11Wx2u4H3BAfQVhSfzfDOm/wAON9nP7J5rpkCxts7E5TELmN845xTUCQrD1xIQ==} engines: {node: ^18.18.0 || >=20.0.0} '@typescript-eslint/types@8.0.0-alpha.40': resolution: {integrity: sha512-44mUq4VZVydxNlOM8Xtp/BXDkyfuvvjgPIBf7vRQDutrLDeNS0pJ9pcSloSbop5MwKLfJjBU+PbwnJPQM+DWNg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/types@8.0.0-alpha.42': - resolution: {integrity: sha512-cvfuxLiSVi6EfsgE/1A07JD67pnv+Grf9YMhGAKUsokIvsMcusLSI1h2On6qoyZghJuFXkH3hiMsg7DtxZBtsw==} + '@typescript-eslint/types@8.0.0-alpha.44': + resolution: {integrity: sha512-FNBBUTJBNbIaTJhhBbSNxKv+qS8lrwwnpBg36APp5fhDRu8K/YFQZP/VEa19nKBz+8+QUK7R6wV9DHYjj56S7w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@7.16.0': - resolution: {integrity: sha512-a5NTvk51ZndFuOLCh5OaJBELYc2O3Zqxfl3Js78VFE1zE46J2AaVuW+rEbVkQznjkmlzWsUI15BG5tQMixzZLw==} + '@typescript-eslint/typescript-estree@7.16.1': + resolution: {integrity: sha512-0vFPk8tMjj6apaAZ1HlwM8w7jbghC8jc1aRNJG5vN8Ym5miyhTQGMqU++kuBFDNKe9NcPeZ6x0zfSzV8xC1UlQ==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' @@ -1148,8 +1172,8 @@ packages: typescript: optional: true - '@typescript-eslint/typescript-estree@8.0.0-alpha.42': - resolution: {integrity: sha512-rIHLylSgsfY5hTE68hd8UXcacZxOq4DWAitRKF8xs33hEBDyxInj4FtUglYU420HvFqyVFtVdB7WEFY4cFQ+iA==} + '@typescript-eslint/typescript-estree@8.0.0-alpha.44': + resolution: {integrity: sha512-IyLELYPMFaleWpEVrcYhSfgFXFx4/505P4/vi9Dfp6s6T2xapyAdti6WL9iZbnXk72SL5M0wMp3V73nHn8ce1A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1157,8 +1181,8 @@ packages: typescript: optional: true - '@typescript-eslint/utils@7.16.0': - resolution: {integrity: sha512-PqP4kP3hb4r7Jav+NiRCntlVzhxBNWq6ZQ+zQwII1y/G/1gdIPeYDCKr2+dH6049yJQsWZiHU6RlwvIFBXXGNA==} + '@typescript-eslint/utils@7.16.1': + resolution: {integrity: sha512-WrFM8nzCowV0he0RlkotGDujx78xudsxnGMBHI88l5J8wEhED6yBwaSLP99ygfrzAjsQvcYQ94quDwI0d7E1fA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -1169,22 +1193,22 @@ packages: peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/utils@8.0.0-alpha.42': - resolution: {integrity: sha512-ousp9L07jDosMqnayZNF8QOJB2FDZP7lSN2lUI7BknV5B1beUoPizWZl0yDHxrk64ldZu5JoqkhAbOcbPNJu5Q==} + '@typescript-eslint/utils@8.0.0-alpha.44': + resolution: {integrity: sha512-gOSA4Yo1jufcOuV68yX3hzpwzufd/Ru6KYL04od1T1c5tt6cvN3i5D5Tc3BBJ3xYFE7ge821mJbUJMTc+BMaWg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@7.16.0': - resolution: {integrity: sha512-rMo01uPy9C7XxG7AFsxa8zLnWXTF8N3PYclekWSrurvhwiw1eW88mrKiAYe6s53AUY57nTRz8dJsuuXdkAhzCg==} + '@typescript-eslint/visitor-keys@7.16.1': + resolution: {integrity: sha512-Qlzzx4sE4u3FsHTPQAAQFJFNOuqtuY0LFrZHwQ8IHK705XxBiWOFkfKRWu6niB7hwfgnwIpO4jTC75ozW1PHWg==} engines: {node: ^18.18.0 || >=20.0.0} '@typescript-eslint/visitor-keys@8.0.0-alpha.40': resolution: {integrity: sha512-y1stojSPb5D3M8VlGGpaiBU5XxGLe+sPuW0YbLe09Lxvo4AwKGvhAr5lhqJZo4z6qHNz385+6+BS63+qIQdYLw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/visitor-keys@8.0.0-alpha.42': - resolution: {integrity: sha512-Bf/BObckzDnCS9AslkTsuH1vU+h4rppUrmPbTbhGlPurmss6Lt/Ft9H8vQ8wXeN8rk0drRhML2Feo6aODLeKdA==} + '@typescript-eslint/visitor-keys@8.0.0-alpha.44': + resolution: {integrity: sha512-geWzLM8S6vYGdhA01mWJyGh2V/7VRzAmsD6ZKuc/rLkeJhYjvkMY0g0uMDw/7wmNLeRrpjHnL8HJklrpAlrb9g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@unocss/astro@0.59.4': @@ -1195,8 +1219,8 @@ packages: vite: optional: true - '@unocss/astro@0.61.3': - resolution: {integrity: sha512-VTgO+nm7PW7/VJt1kf1/4qTqMp4X4CdNG1XjYRGmCTONW+yHhFUEC1NAXt7t2wKEvCYSf5ObmjYowr2qM+GafQ==} + '@unocss/astro@0.61.5': + resolution: {integrity: sha512-keyh6/EsPMBEiLguaOsh47UcMkWCGT0rW3KV5aYRUfYXlgccSzDd4SLmTNsdlGXIso2XCl/14BJQuwjP0UEU0Q==} peerDependencies: vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 peerDependenciesMeta: @@ -1208,8 +1232,8 @@ packages: engines: {node: '>=14'} hasBin: true - '@unocss/cli@0.61.3': - resolution: {integrity: sha512-yj4whI4PwwK9cZXVrtl10AkZlyl9+569xYX+g89cBxqG2wpnbfBvug/hsvw3DyPG6i2MxKAv3Z78uruKnzCIjw==} + '@unocss/cli@0.61.5': + resolution: {integrity: sha512-Y5mKSoQGEYRmjUi5Tia3EesQbLgQTTPGmeE7LFrbeyP1c7PDiW3wSR5fRNZ7PBrr6/C5oo2sId3MhWJQl3tFSA==} engines: {node: '>=14'} hasBin: true @@ -1217,8 +1241,8 @@ packages: resolution: {integrity: sha512-h3yhj+D5Ygn5R7gbK4wMrtXZX6FF5DF6YD517sSSb0XB3lxHD9PhhT4HaV1hpHknvu0cMFU3460M45+TN1TI0Q==} engines: {node: '>=14'} - '@unocss/config@0.61.3': - resolution: {integrity: sha512-ZSSj5ST8XhiKoi2hLtVcyS8YJxn+Ug/WfasQ2wwOArcYfVFzZUoOQKbLo85hFuI7NV5Fh/aQREoVaJQI111jDA==} + '@unocss/config@0.61.5': + resolution: {integrity: sha512-VIIln/1aD9cqU95+3IVZG9U1yO7Ys6RqyqtgD5pIJ77rg57v/2sey+S2ScFx3KB24Bal3FxAgHA5CdjFpQZldA==} engines: {node: '>=14'} '@unocss/core@0.57.7': @@ -1227,20 +1251,20 @@ packages: '@unocss/core@0.59.4': resolution: {integrity: sha512-bBZ1sgcAtezQVZ1BST9IS3jqcsTLyqKNjiIf7FTnX3DHpfpYuMDFzSOtmkZDzBleOLO/CtcRWjT0HwTSQAmV0A==} - '@unocss/core@0.61.3': - resolution: {integrity: sha512-9vixY1i5E0DQFtHJz/pHyFlFsiXJgL1bKHuocbl+GUi09lY/gE9TRm2qr2JOJx/BF720tMv9VxYI8Zq3EyPOXA==} + '@unocss/core@0.61.5': + resolution: {integrity: sha512-hB8zr2rnrCzz9x8ho2SAXQiYTEjwAPMiBzpaEe2C0+CFWeL1179h9508YVyZHHAzMyZILIG9YrVAWrrMdt2/Xg==} '@unocss/extractor-arbitrary-variants@0.59.4': resolution: {integrity: sha512-RDe4FgMGJQ+tp9GLvhPHni7Cc2O0lHBRMElVlN8LoXJAdODMICdbrEPGJlEfrc+7x/QgVFoR895KpYJh3hIgGA==} - '@unocss/extractor-arbitrary-variants@0.61.3': - resolution: {integrity: sha512-8yFAavi4PXTZTyJqsSQJuZNdaERMyLP4Gs4IzBDt8zjmUrXmYfgV+bKif2eE52QKvtb5/Jsij3fgfMsJouln7A==} + '@unocss/extractor-arbitrary-variants@0.61.5': + resolution: {integrity: sha512-UB1EweAaJrUxv+h3n5FqoizKHrnUgUzkdmOdJTfV6xvow90ITqbUoza+L6iVMNfcrcXTx8QpDnWh6rhLRyKY+g==} '@unocss/inspector@0.59.4': resolution: {integrity: sha512-QczJFNDiggmekkJyNcbcZIUVwlhvxz7ZwjnSf0w7K4znxfjKkZ1hNUbqLviM1HumkTKOdT27VISW7saN/ysO4w==} - '@unocss/inspector@0.61.3': - resolution: {integrity: sha512-F2WfVYdzM+CnocVSptBh945G85+RcxGd0KDm6q+Ctjs5NrHtT0TzX83USMLSjfFzTz/j+Q/kR1WOJWjKynVTXQ==} + '@unocss/inspector@0.61.5': + resolution: {integrity: sha512-DIT+hgTphHXZTJEe4ZWUoYoQUNszmVJr06+gGhBkKwpdetQa6B2N+zGLkAxgAvo/BUmk29tOORIBu7AyoloRUA==} '@unocss/postcss@0.59.4': resolution: {integrity: sha512-KVz+AD7McHKp7VEWHbFahhyyVEo0oP/e1vnuNSuPlHthe+1V2zfH6lps+iJcvfL2072r5J+0PvD/1kOp5ryUSg==} @@ -1248,8 +1272,8 @@ packages: peerDependencies: postcss: ^8.4.21 - '@unocss/postcss@0.61.3': - resolution: {integrity: sha512-i76kuYbrvqkVhdfD37mnVqiBJiq9azGzbKZHFIjFWApOxFLak1OTHX5TIwxPspFm8u7U7kmU03JCnqyxWIE0wQ==} + '@unocss/postcss@0.61.5': + resolution: {integrity: sha512-FbN9G3v5X6TEzBRytnFvqOr1oeeUv1ZzprBIyXnQFg17D8rx7uRS9kAfUMoSiqAqnFxkJObv43fH+W3E41+JYQ==} engines: {node: '>=14'} peerDependencies: postcss: ^8.4.21 @@ -1257,108 +1281,108 @@ packages: '@unocss/preset-attributify@0.59.4': resolution: {integrity: sha512-BeogWuYaIakC1gmOZFFCjFVWmu/m3AqEX8UYQS6tY6lAaK2L4Qf4AstYBlT2zAMxy9LNxPDxFQrvfSfFk5Klsg==} - '@unocss/preset-attributify@0.61.3': - resolution: {integrity: sha512-TSgje5WDfoicTOoh/Od6qlizkZd68vXTdtT7jYEvjCm2mV7EgDJpX+sj2eVv0rPuaARtIqs1b4yG7w3HA6BBnQ==} + '@unocss/preset-attributify@0.61.5': + resolution: {integrity: sha512-D2KDHPj8Qvp0hafA4JT5GXebO49gHsuKT6QvzwBpP9wzwAefAkd6PIY8cSKqSD6sjjVSfOpCfbZIzbwLEbXV5w==} '@unocss/preset-icons@0.59.4': resolution: {integrity: sha512-Afjwh5oC4KRE8TNZDUkRK6hvvV1wKLrS1e5trniE0B0AM9HK3PBolQaIU7QmzPv6WQrog+MZgIwafg1eqsPUCA==} - '@unocss/preset-icons@0.61.3': - resolution: {integrity: sha512-XNti2mgfbRCClzKxy7eMPukgk/mepyGGJNqtONnZmOkzkyhx6KQ2/luhMYnz5xONMG/aseoXMc4Zc1VzOqePRA==} + '@unocss/preset-icons@0.61.5': + resolution: {integrity: sha512-Fx1WZz6A7wtUDU+mt6KdjWOu9fEGG2XgzE8t8YFfUu22KjXyyef7Lto90uUNs9z+vYLevXqeDfthOZQFwNSfIg==} '@unocss/preset-mini@0.59.4': resolution: {integrity: sha512-ZLywGrXi1OCr4My5vX2rLUb5Xgx6ufR9WTQOvpQJGBdIV/jnZn/pyE5avCs476SnOq2K172lnd8mFmTK7/zArA==} - '@unocss/preset-mini@0.61.3': - resolution: {integrity: sha512-QY9P7jcLePkmCGQSqX+ha4Rh2YhY9b9P8gtLFnjzqcdmSxvDFkT7Kf5Un/u/jwV+zCz/5t4F88vWLzBM6js6yQ==} + '@unocss/preset-mini@0.61.5': + resolution: {integrity: sha512-gVm7Z9X0krx8CK/+pKAqcVmpqzRk1+SH7bfgRxKtKhyFSxJlwpjNp1rKm3gCT0F1Tlp3d8aufYRksaXGZhs8Ow==} '@unocss/preset-tagify@0.59.4': resolution: {integrity: sha512-vWMdTUoghOSmTbdmZtERssffmdUdOuhh4vUdl0R8Kv6KxB0PkvEFCu2FItn97nRJdSPlZSFxxDkaOIg9w+STNQ==} - '@unocss/preset-tagify@0.61.3': - resolution: {integrity: sha512-ir+gZJ20hZKapsrxWRTjFjyVJmmUcnkvhk1AiMgoG62MP6GzBQgbkAiy2TzJIEU0zQb8pYhtZ5KePtno+1vcaQ==} + '@unocss/preset-tagify@0.61.5': + resolution: {integrity: sha512-kxO20pV7Bwg7U3hPpxShFSn6CXH+EMaTFC+WXsh2wTOEs43Tta7L6kCSUPzrZ9pX/Pq4oInRQY9gqiZqlGETmQ==} '@unocss/preset-typography@0.59.4': resolution: {integrity: sha512-ZX9bxZUqlXK1qEDzO5lkK96ICt9itR/oNyn/7mMc1JPqwj263LumQMn5silocgzoLSUXEeq//L6GylqYjkL8GA==} - '@unocss/preset-typography@0.61.3': - resolution: {integrity: sha512-0b1JSk5/oi4DT86dO2sdscZlih4fVo//U6bh1cROAfLlYJsHlAEZau8IxLADcgBAYwCGtY94npfp6y60R37T/A==} + '@unocss/preset-typography@0.61.5': + resolution: {integrity: sha512-CQIleFkmfk/dAOlY7nPA1SOYHzXA6ia7+BCqGrTKxQVFOyBL7iHeNl0yV7lFtKFQn8zyFNEiBVW+fYi0QrouYw==} '@unocss/preset-uno@0.59.4': resolution: {integrity: sha512-G1f8ZluplvXZ3bERj+sM/8zzY//XD++nNOlAQNKOANSVht3qEoJebrfEiMClNpA5qW5VWOZhEhPkh0M7GsXtnA==} - '@unocss/preset-uno@0.61.3': - resolution: {integrity: sha512-ULP0hLBTNJuB0iQqaYaJZYbC4jwQYy0C6H7un3o4R+KsqIuyDanme2VsY51U5mN/pp7K6QJK6qE8EHVvtjCLHQ==} + '@unocss/preset-uno@0.61.5': + resolution: {integrity: sha512-CflB0l9CeZx+b/Q8mA4Ow4d63Caf+vFJ+1EGA06jG9qYjPLy76Rkci//0m9cEtO+vPnYtgLc7HZAZv0X6wh4Tg==} '@unocss/preset-web-fonts@0.59.4': resolution: {integrity: sha512-ehutTjKHnf2KPmdatN42N9a8+y+glKSU3UlcBRNsVIIXVIlaBQuPVGZSPhnMtrKD17IgWylXq2K6RJK+ab0hZA==} - '@unocss/preset-web-fonts@0.61.3': - resolution: {integrity: sha512-uBQKjIY+vUWCEqcgjEzdxok8svOmNNHDk1r+qh/Y5VLPWvPdA+Bb5iIwrxib3zzQvkT+au/utCeTGKGgIVhcXA==} + '@unocss/preset-web-fonts@0.61.5': + resolution: {integrity: sha512-hVIMPGayxg7xvlvfQnJxB0N3KTvmrglbH3v5BCYNjbh37+5hv+x22K6iWewY3BkGtaWqOtLO3H1n5a1rxPMyaw==} '@unocss/preset-wind@0.59.4': resolution: {integrity: sha512-CNX6w0ZpSQg/i1oF0/WKWzto8PtLqoknC5h8JmmcGb7VsyBQeV0oNnhbURxpbuMEhbv1MWVIGvk8a+P6y0rFkQ==} - '@unocss/preset-wind@0.61.3': - resolution: {integrity: sha512-THdTNAYEtvLz/jhHNgkpLFxC+LNn4W2VqDmpmK/fVMgSlhOYJ8IoQlt8nwgBRbNkEksvgItq8gL/t5+2sHGHhA==} + '@unocss/preset-wind@0.61.5': + resolution: {integrity: sha512-n4uepxv3gVoVQb0tv7iV8M4W0CgwLw0QaMX+3ECYzFLMynjCkZmFDtdQAX720yTvLZxwCxEZfQCgydOSt0qjZA==} '@unocss/reset@0.59.4': resolution: {integrity: sha512-Upy4xzdWl4RChbLAXBq1BoR4WqxXMoIfjvtcwSZcZK2sylXCFAseSWnyzJFdSiXPqNfmMuNgPXgiSxiQB+cmNA==} - '@unocss/reset@0.61.3': - resolution: {integrity: sha512-WegQ6Plmr/H0D9wuKCVjhUMzi/xAn55A0mJgUnKl1pJHTZetRdK29u0bnpVQzynmlh/Lh4YtD+X4r8DVkASgPw==} + '@unocss/reset@0.61.5': + resolution: {integrity: sha512-5FKNsHnke9J1Z0T4prOZn9hkWh86c6Px+Oh3xf8mDd6dDw8CjzYMRxZEKti0gt13NcsO29G1vLGM7UjG1sCamg==} '@unocss/rule-utils@0.59.4': resolution: {integrity: sha512-1qoLJlBWAkS4D4sg73990S1MT7E8E5md/YhopKjTQuEC9SyeVmEg+5pR/Xd8xhPKMqbcuBPl/DS8b6l/GQO56A==} engines: {node: '>=14'} - '@unocss/rule-utils@0.61.3': - resolution: {integrity: sha512-XwzXE6YUAEc1+4TvJruZfntIM7eo+HdQDMlMI289w9YLLAXw973fp00E9U1dR16JRt1BWzlCnnY1RHAqSiXCVw==} + '@unocss/rule-utils@0.61.5': + resolution: {integrity: sha512-sCHnpCQoj3/ZmCjYo+oW3+4r5Z8kFI2snEL+miU2Uk0SqCgY1k0cUIYivj5L9ghp29p8VjEusX9M01QEZOYK7g==} engines: {node: '>=14'} '@unocss/scope@0.59.4': resolution: {integrity: sha512-wBQJ39kw4Tfj4km7AoGvSIobPKVnRZVsgc0bema5Y0PL3g1NeVQ/LopBI2zEJWdpxGXUWxSDsXm7BZo6qVlD/A==} - '@unocss/scope@0.61.3': - resolution: {integrity: sha512-yElJs2uUiBHyTHKLqWZRK5zvY+7XIqoFXc1Fkv+fxiGy1+4u+zLGoGA66bUWwbjDFLiFgEqwUBJ2+SzDC4Q0Ig==} + '@unocss/scope@0.61.5': + resolution: {integrity: sha512-GSmnSYWQ4oiSmJdyT5bmf0McXXhFJcVY7jgweAK2WltQgrxs1C3FWl9XIJtkWvaP3DIJjf4mKJf+zc6TjYxxEw==} '@unocss/transformer-attributify-jsx-babel@0.59.4': resolution: {integrity: sha512-xtCRSgeTaDBiNJLVX7oOSFe63JiFB5nrdK23PHn3IlZM9O7Bxx4ZxI3MQJtFZFQNE+INFko+DVyY1WiFEm1p/Q==} - '@unocss/transformer-attributify-jsx-babel@0.61.3': - resolution: {integrity: sha512-Ubr2/XhB61C2EqrH0TnbJ9bGREvrORyotdRxpCCAzkBWh3i+J+kPrdGCFUgB+wHFcUPUuOKou+8o0rhWVY7mjw==} + '@unocss/transformer-attributify-jsx-babel@0.61.5': + resolution: {integrity: sha512-wBwjBCh6N95Bv3fJg8iokbDO9P5F+ee4n4gCecoePi6qSW22cBowj/UakP++L92GWX8FNZcphKOqMxx61q9gOg==} '@unocss/transformer-attributify-jsx@0.59.4': resolution: {integrity: sha512-m4b83utzKMfUQH/45V2QkjJoXd8Tu2pRP1nic91Xf7QRceyKDD+BxoTneo2JNC2K274cQu7HqqotnCm2aFfEGw==} - '@unocss/transformer-attributify-jsx@0.61.3': - resolution: {integrity: sha512-KK4pi7xsxjRKk/RSFxkdl1JODsefD1YMaqgs6HM2KCdXctqUXd6RYQez7IfQwxnAeZupgatwoFe2CZd0Bbhq2g==} + '@unocss/transformer-attributify-jsx@0.61.5': + resolution: {integrity: sha512-w9vSBfgRdfofFnqzBvxrMi/FmP+ZtXz9W07wnoS6Yea7uhADilgx1h7wNfJECmK8kM8gWhjl5e6svZNAUQbI7A==} '@unocss/transformer-compile-class@0.59.4': resolution: {integrity: sha512-Vgk2OCLPW0pU+Uzr1IgDtHVspSBb+gPrQFkV+5gxHk9ZdKi3oYKxLuufVWYDSwv7o9yfQGbYrMH9YLsjRsnA7Q==} - '@unocss/transformer-compile-class@0.61.3': - resolution: {integrity: sha512-qHxJtRo+yjC0d+IIoNrOxnO8j5bdw7R4XDpR8+MKpGZgVQRmEGwl7Ej0PUGTudVknYGUdPmDTZGr693bzhwzQg==} + '@unocss/transformer-compile-class@0.61.5': + resolution: {integrity: sha512-5WLi5MgRt8DJiANoWUK49noCgdyU/IKneGs3RJYDRNONEh2HdsL6ktACSRe9Y185ICGaD9MOk3cHBZALj07gew==} '@unocss/transformer-directives@0.59.4': resolution: {integrity: sha512-nXUTEclUbs0vQ4KfLhKt4J/5SLSEq1az2FNlJmiXMmqmn75X89OrtCu2OJu9sGXhn+YyBApxgcSSdxmtpqMi1Q==} - '@unocss/transformer-directives@0.61.3': - resolution: {integrity: sha512-FNJCOlXwi62tVXr4B8lDkHGxOIhNJw2qQpM5jeohLT7xpGPOmVvscWaWI0h6fjSREFwnnbRNif4YPLe/rB6PsA==} + '@unocss/transformer-directives@0.61.5': + resolution: {integrity: sha512-vQvgLicgFJt/rUTh3nd8yZz5l0AMoE9qmtZqpgb9iDMOTHUZrlWpI3hsVsU6AB9kvL/NoyMI16hVkP8x6y7b9g==} '@unocss/transformer-variant-group@0.59.4': resolution: {integrity: sha512-9XLixxn1NRgP62Kj4R/NC/rpqhql5F2s6ulJ8CAMTEbd/NylVhEANluPGDVUGcLJ4cj6E02hFa8C1PLGSm7/xw==} - '@unocss/transformer-variant-group@0.61.3': - resolution: {integrity: sha512-F7v05kfVDhIJ4lu3fjgkwV2GWoeJX4aszER8iqhwWz+0jVUaJRYAxzsVqE299uJ0ut07d+Di+JB7M4ZBRoH3qw==} + '@unocss/transformer-variant-group@0.61.5': + resolution: {integrity: sha512-7Is7PChplNYTkLTiQm5fL5zFKf+LV6d9TpzNuwXNK2oa1pQARMXNmnHjFPpzaDgxpTjn9sqQON72gziuXcpOsg==} '@unocss/vite@0.59.4': resolution: {integrity: sha512-q7GN7vkQYn79n7vYIUlaa7gXGwc7pk0Qo3z3ZFwWGE43/DtZnn2Hwl5UjgBAgi9McA+xqHJEHRsJnI7HJPHUYA==} peerDependencies: vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 - '@unocss/vite@0.61.3': - resolution: {integrity: sha512-Z2kq/hSv1RC3PYAaoXOGB0PEWXCVsgYtdnuFXR/8Tp0Yj2Wdeq906/s411/sqMUvXIaIhm2O9WaDfe0ISoV0sg==} + '@unocss/vite@0.61.5': + resolution: {integrity: sha512-+U5Ey5Z2csjLy7zcaDCtUqs08+ugRK87UWGm65W8yMAGW7me72f36QR8IHJUTqlVVEdhbJVIAy+yNFjGHYffjA==} peerDependencies: vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 @@ -3566,6 +3590,11 @@ packages: engines: {node: '>=10'} hasBin: true + semver@7.6.3: + resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} + engines: {node: '>=10'} + hasBin: true + shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} engines: {node: '>=8'} @@ -3938,11 +3967,11 @@ packages: vite: optional: true - unocss@0.61.3: - resolution: {integrity: sha512-Mpci+yP9CUnDjSwm0EAq9U76cgiNB5UM0ztXfDjjMiSe+jOS6sZ2A+kZ5JY9ZBRx5TX0Wh4kQBoPQQ1ooxHicg==} + unocss@0.61.5: + resolution: {integrity: sha512-BScwlqXW9KHQLKIKtXmwWmMb4Ihoryb7uIgmS+HSqmCN58eqNA73vAo3cZ97xtO+RFdauqgGKP5wD6ShQUvqnQ==} engines: {node: '>=14'} peerDependencies: - '@unocss/webpack': 0.61.3 + '@unocss/webpack': 0.61.5 vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 peerDependenciesMeta: '@unocss/webpack': @@ -4041,8 +4070,8 @@ packages: peerDependencies: vue: '>=3.2.13' - vite@5.3.3: - resolution: {integrity: sha512-NPQdeCU0Dv2z5fu+ULotpuq5yfCS1BzKUIPhNbP3YBfAMGJXbt2nS+sbTFu+qchaqWTD+H3JK++nRwr6XIcp6A==} + vite@5.3.4: + resolution: {integrity: sha512-Cw+7zL3ZG9/NZBB8C+8QbQZmR54GwqIz+WMI4b3JgdYJvX+ny9AjJXqkGQlDXSXRP9rP0B4tbciRMOVEKulVOA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -4438,6 +4467,33 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/core@7.24.9': + dependencies: + '@ampproject/remapping': 2.3.0 + '@babel/code-frame': 7.24.7 + '@babel/generator': 7.24.10 + '@babel/helper-compilation-targets': 7.24.8 + '@babel/helper-module-transforms': 7.24.9(@babel/core@7.24.9) + '@babel/helpers': 7.24.8 + '@babel/parser': 7.24.8 + '@babel/template': 7.24.7 + '@babel/traverse': 7.24.8 + '@babel/types': 7.24.9 + convert-source-map: 2.0.0 + debug: 4.3.5 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + + '@babel/generator@7.24.10': + dependencies: + '@babel/types': 7.24.9 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + jsesc: 2.5.2 + '@babel/generator@7.24.8': dependencies: '@babel/types': 7.24.8 @@ -4472,6 +4528,21 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/helper-create-class-features-plugin@7.24.8(@babel/core@7.24.9)': + dependencies: + '@babel/core': 7.24.9 + '@babel/helper-annotate-as-pure': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-function-name': 7.24.7 + '@babel/helper-member-expression-to-functions': 7.24.8 + '@babel/helper-optimise-call-expression': 7.24.7 + '@babel/helper-replace-supers': 7.24.7(@babel/core@7.24.9) + '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 + '@babel/helper-split-export-declaration': 7.24.7 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + '@babel/helper-environment-visitor@7.24.7': dependencies: '@babel/types': 7.24.8 @@ -4510,6 +4581,28 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/helper-module-transforms@7.24.8(@babel/core@7.24.9)': + dependencies: + '@babel/core': 7.24.9 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-module-imports': 7.24.7 + '@babel/helper-simple-access': 7.24.7 + '@babel/helper-split-export-declaration': 7.24.7 + '@babel/helper-validator-identifier': 7.24.7 + transitivePeerDependencies: + - supports-color + + '@babel/helper-module-transforms@7.24.9(@babel/core@7.24.9)': + dependencies: + '@babel/core': 7.24.9 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-module-imports': 7.24.7 + '@babel/helper-simple-access': 7.24.7 + '@babel/helper-split-export-declaration': 7.24.7 + '@babel/helper-validator-identifier': 7.24.7 + transitivePeerDependencies: + - supports-color + '@babel/helper-optimise-call-expression@7.24.7': dependencies: '@babel/types': 7.24.8 @@ -4525,6 +4618,15 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/helper-replace-supers@7.24.7(@babel/core@7.24.9)': + dependencies: + '@babel/core': 7.24.9 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-member-expression-to-functions': 7.24.8 + '@babel/helper-optimise-call-expression': 7.24.7 + transitivePeerDependencies: + - supports-color + '@babel/helper-simple-access@7.24.7': dependencies: '@babel/traverse': 7.24.8 @@ -4570,11 +4672,21 @@ snapshots: '@babel/core': 7.24.8 '@babel/helper-plugin-utils': 7.24.8 + '@babel/plugin-syntax-jsx@7.24.7(@babel/core@7.24.9)': + dependencies: + '@babel/core': 7.24.9 + '@babel/helper-plugin-utils': 7.24.8 + '@babel/plugin-syntax-typescript@7.24.7(@babel/core@7.24.8)': dependencies: '@babel/core': 7.24.8 '@babel/helper-plugin-utils': 7.24.8 + '@babel/plugin-syntax-typescript@7.24.7(@babel/core@7.24.9)': + dependencies: + '@babel/core': 7.24.9 + '@babel/helper-plugin-utils': 7.24.8 + '@babel/plugin-transform-modules-commonjs@7.24.8(@babel/core@7.24.8)': dependencies: '@babel/core': 7.24.8 @@ -4584,6 +4696,15 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/plugin-transform-modules-commonjs@7.24.8(@babel/core@7.24.9)': + dependencies: + '@babel/core': 7.24.9 + '@babel/helper-module-transforms': 7.24.8(@babel/core@7.24.9) + '@babel/helper-plugin-utils': 7.24.8 + '@babel/helper-simple-access': 7.24.7 + transitivePeerDependencies: + - supports-color + '@babel/plugin-transform-typescript@7.24.8(@babel/core@7.24.8)': dependencies: '@babel/core': 7.24.8 @@ -4594,6 +4715,16 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/plugin-transform-typescript@7.24.8(@babel/core@7.24.9)': + dependencies: + '@babel/core': 7.24.9 + '@babel/helper-annotate-as-pure': 7.24.7 + '@babel/helper-create-class-features-plugin': 7.24.8(@babel/core@7.24.9) + '@babel/helper-plugin-utils': 7.24.8 + '@babel/plugin-syntax-typescript': 7.24.7(@babel/core@7.24.9) + transitivePeerDependencies: + - supports-color + '@babel/preset-typescript@7.24.7(@babel/core@7.24.8)': dependencies: '@babel/core': 7.24.8 @@ -4605,6 +4736,17 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/preset-typescript@7.24.7(@babel/core@7.24.9)': + dependencies: + '@babel/core': 7.24.9 + '@babel/helper-plugin-utils': 7.24.8 + '@babel/helper-validator-option': 7.24.8 + '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.24.9) + '@babel/plugin-transform-modules-commonjs': 7.24.8(@babel/core@7.24.9) + '@babel/plugin-transform-typescript': 7.24.8(@babel/core@7.24.9) + transitivePeerDependencies: + - supports-color + '@babel/template@7.24.7': dependencies: '@babel/code-frame': 7.24.7 @@ -4632,6 +4774,12 @@ snapshots: '@babel/helper-validator-identifier': 7.24.7 to-fast-properties: 2.0.0 + '@babel/types@7.24.9': + dependencies: + '@babel/helper-string-parser': 7.24.8 + '@babel/helper-validator-identifier': 7.24.7 + to-fast-properties: 2.0.0 + '@clack/core@0.3.4': dependencies: picocolors: 1.0.1 @@ -4677,7 +4825,7 @@ snapshots: dependencies: '@types/eslint': 8.56.10 '@types/estree': 1.0.5 - '@typescript-eslint/types': 7.16.0 + '@typescript-eslint/types': 7.16.1 comment-parser: 1.4.1 esquery: 1.6.0 jsdoc-type-pratt-parser: 4.0.0 @@ -4838,23 +4986,23 @@ snapshots: string-argv: 0.3.2 type-detect: 4.0.8 - '@microsoft/api-extractor-model@7.28.13(@types/node@20.14.10)': + '@microsoft/api-extractor-model@7.28.13(@types/node@20.14.11)': dependencies: '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 4.0.2(@types/node@20.14.10) + '@rushstack/node-core-library': 4.0.2(@types/node@20.14.11) transitivePeerDependencies: - '@types/node' - '@microsoft/api-extractor@7.43.0(@types/node@20.14.10)': + '@microsoft/api-extractor@7.43.0(@types/node@20.14.11)': dependencies: - '@microsoft/api-extractor-model': 7.28.13(@types/node@20.14.10) + '@microsoft/api-extractor-model': 7.28.13(@types/node@20.14.11) '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 4.0.2(@types/node@20.14.10) + '@rushstack/node-core-library': 4.0.2(@types/node@20.14.11) '@rushstack/rig-package': 0.5.2 - '@rushstack/terminal': 0.10.0(@types/node@20.14.10) - '@rushstack/ts-command-line': 4.19.1(@types/node@20.14.10) + '@rushstack/terminal': 0.10.0(@types/node@20.14.11) + '@rushstack/ts-command-line': 4.19.1(@types/node@20.14.11) lodash: 4.17.21 minimatch: 3.0.8 resolve: 1.22.8 @@ -5030,7 +5178,7 @@ snapshots: '@rtsao/scc@1.1.0': {} - '@rushstack/node-core-library@4.0.2(@types/node@20.14.10)': + '@rushstack/node-core-library@4.0.2(@types/node@20.14.11)': dependencies: fs-extra: 7.0.1 import-lazy: 4.0.0 @@ -5039,23 +5187,23 @@ snapshots: semver: 7.5.4 z-schema: 5.0.5 optionalDependencies: - '@types/node': 20.14.10 + '@types/node': 20.14.11 '@rushstack/rig-package@0.5.2': dependencies: resolve: 1.22.8 strip-json-comments: 3.1.1 - '@rushstack/terminal@0.10.0(@types/node@20.14.10)': + '@rushstack/terminal@0.10.0(@types/node@20.14.11)': dependencies: - '@rushstack/node-core-library': 4.0.2(@types/node@20.14.10) + '@rushstack/node-core-library': 4.0.2(@types/node@20.14.11) supports-color: 8.1.1 optionalDependencies: - '@types/node': 20.14.10 + '@types/node': 20.14.11 - '@rushstack/ts-command-line@4.19.1(@types/node@20.14.10)': + '@rushstack/ts-command-line@4.19.1(@types/node@20.14.11)': dependencies: - '@rushstack/terminal': 0.10.0(@types/node@20.14.10) + '@rushstack/terminal': 0.10.0(@types/node@20.14.11) '@types/argparse': 1.0.38 argparse: 1.0.10 string-argv: 0.3.2 @@ -5093,7 +5241,7 @@ snapshots: '@stylistic/eslint-plugin-plus@2.6.0-beta.0(eslint@9.7.0)(typescript@5.5.3)': dependencies: '@types/eslint': 8.56.10 - '@typescript-eslint/utils': 8.0.0-alpha.42(eslint@9.7.0)(typescript@5.5.3) + '@typescript-eslint/utils': 8.0.0-alpha.44(eslint@9.7.0)(typescript@5.5.3) eslint: 9.7.0 transitivePeerDependencies: - supports-color @@ -5103,7 +5251,7 @@ snapshots: dependencies: '@stylistic/eslint-plugin-js': 2.6.0-beta.0(eslint@9.7.0) '@types/eslint': 8.56.10 - '@typescript-eslint/utils': 8.0.0-alpha.42(eslint@9.7.0)(typescript@5.5.3) + '@typescript-eslint/utils': 8.0.0-alpha.44(eslint@9.7.0)(typescript@5.5.3) eslint: 9.7.0 transitivePeerDependencies: - supports-color @@ -5137,6 +5285,16 @@ snapshots: transitivePeerDependencies: - '@vue/composition-api' + '@tresjs/core@4.2.1(three@0.166.1)(vue@3.4.31(typescript@5.5.3))': + dependencies: + '@alvarosabu/utils': 3.2.0 + '@vue/devtools-api': 6.6.3 + '@vueuse/core': 10.11.0(vue@3.4.31(typescript@5.5.3)) + three: 0.166.1 + vue: 3.4.31(typescript@5.5.3) + transitivePeerDependencies: + - '@vue/composition-api' + '@tresjs/eslint-config@1.1.0(@vue/compiler-sfc@3.4.31)(eslint@9.7.0)(typescript@5.5.3)': dependencies: '@antfu/eslint-config': 2.22.2(@vue/compiler-sfc@3.4.31)(eslint-plugin-format@0.1.2(eslint@9.7.0))(eslint@9.7.0)(typescript@5.5.3) @@ -5161,11 +5319,11 @@ snapshots: - typescript - vitest - '@tresjs/leches@0.14.0(vite@5.3.3(@types/node@20.14.10))(vue@3.4.31(typescript@5.5.3))': + '@tresjs/leches@0.14.0(vite@5.3.4(@types/node@20.14.11))(vue@3.4.31(typescript@5.5.3))': dependencies: '@unocss/core': 0.57.7 '@vueuse/components': 10.11.0(vue@3.4.31(typescript@5.5.3)) - vite-plugin-css-injected-by-js: 3.5.1(vite@5.3.3(@types/node@20.14.10)) + vite-plugin-css-injected-by-js: 3.5.1(vite@5.3.4(@types/node@20.14.11)) vue: 3.4.31(typescript@5.5.3) transitivePeerDependencies: - '@vue/composition-api' @@ -5207,7 +5365,7 @@ snapshots: '@types/mdurl@2.0.0': {} - '@types/node@20.14.10': + '@types/node@20.14.11': dependencies: undici-types: 5.26.5 @@ -5241,14 +5399,14 @@ snapshots: '@types/webxr@0.5.19': {} - '@typescript-eslint/eslint-plugin@7.16.0(@typescript-eslint/parser@7.16.0(eslint@9.7.0)(typescript@5.5.3))(eslint@9.7.0)(typescript@5.5.3)': + '@typescript-eslint/eslint-plugin@7.16.1(@typescript-eslint/parser@7.16.1(eslint@9.7.0)(typescript@5.5.3))(eslint@9.7.0)(typescript@5.5.3)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 7.16.0(eslint@9.7.0)(typescript@5.5.3) - '@typescript-eslint/scope-manager': 7.16.0 - '@typescript-eslint/type-utils': 7.16.0(eslint@9.7.0)(typescript@5.5.3) - '@typescript-eslint/utils': 7.16.0(eslint@9.7.0)(typescript@5.5.3) - '@typescript-eslint/visitor-keys': 7.16.0 + '@typescript-eslint/parser': 7.16.1(eslint@9.7.0)(typescript@5.5.3) + '@typescript-eslint/scope-manager': 7.16.1 + '@typescript-eslint/type-utils': 7.16.1(eslint@9.7.0)(typescript@5.5.3) + '@typescript-eslint/utils': 7.16.1(eslint@9.7.0)(typescript@5.5.3) + '@typescript-eslint/visitor-keys': 7.16.1 eslint: 9.7.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -5277,12 +5435,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.16.0(eslint@9.7.0)(typescript@5.5.3)': + '@typescript-eslint/parser@7.16.1(eslint@9.7.0)(typescript@5.5.3)': dependencies: - '@typescript-eslint/scope-manager': 7.16.0 - '@typescript-eslint/types': 7.16.0 - '@typescript-eslint/typescript-estree': 7.16.0(typescript@5.5.3) - '@typescript-eslint/visitor-keys': 7.16.0 + '@typescript-eslint/scope-manager': 7.16.1 + '@typescript-eslint/types': 7.16.1 + '@typescript-eslint/typescript-estree': 7.16.1(typescript@5.5.3) + '@typescript-eslint/visitor-keys': 7.16.1 debug: 4.3.5 eslint: 9.7.0 optionalDependencies: @@ -5303,25 +5461,25 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@7.16.0': + '@typescript-eslint/scope-manager@7.16.1': dependencies: - '@typescript-eslint/types': 7.16.0 - '@typescript-eslint/visitor-keys': 7.16.0 + '@typescript-eslint/types': 7.16.1 + '@typescript-eslint/visitor-keys': 7.16.1 '@typescript-eslint/scope-manager@8.0.0-alpha.40': dependencies: '@typescript-eslint/types': 8.0.0-alpha.40 '@typescript-eslint/visitor-keys': 8.0.0-alpha.40 - '@typescript-eslint/scope-manager@8.0.0-alpha.42': + '@typescript-eslint/scope-manager@8.0.0-alpha.44': dependencies: - '@typescript-eslint/types': 8.0.0-alpha.42 - '@typescript-eslint/visitor-keys': 8.0.0-alpha.42 + '@typescript-eslint/types': 8.0.0-alpha.44 + '@typescript-eslint/visitor-keys': 8.0.0-alpha.44 - '@typescript-eslint/type-utils@7.16.0(eslint@9.7.0)(typescript@5.5.3)': + '@typescript-eslint/type-utils@7.16.1(eslint@9.7.0)(typescript@5.5.3)': dependencies: - '@typescript-eslint/typescript-estree': 7.16.0(typescript@5.5.3) - '@typescript-eslint/utils': 7.16.0(eslint@9.7.0)(typescript@5.5.3) + '@typescript-eslint/typescript-estree': 7.16.1(typescript@5.5.3) + '@typescript-eslint/utils': 7.16.1(eslint@9.7.0)(typescript@5.5.3) debug: 4.3.5 eslint: 9.7.0 ts-api-utils: 1.3.0(typescript@5.5.3) @@ -5342,21 +5500,21 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@7.16.0': {} + '@typescript-eslint/types@7.16.1': {} '@typescript-eslint/types@8.0.0-alpha.40': {} - '@typescript-eslint/types@8.0.0-alpha.42': {} + '@typescript-eslint/types@8.0.0-alpha.44': {} - '@typescript-eslint/typescript-estree@7.16.0(typescript@5.5.3)': + '@typescript-eslint/typescript-estree@7.16.1(typescript@5.5.3)': dependencies: - '@typescript-eslint/types': 7.16.0 - '@typescript-eslint/visitor-keys': 7.16.0 + '@typescript-eslint/types': 7.16.1 + '@typescript-eslint/visitor-keys': 7.16.1 debug: 4.3.5 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.5 - semver: 7.6.2 + semver: 7.6.3 ts-api-utils: 1.3.0(typescript@5.5.3) optionalDependencies: typescript: 5.5.3 @@ -5378,27 +5536,27 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.0.0-alpha.42(typescript@5.5.3)': + '@typescript-eslint/typescript-estree@8.0.0-alpha.44(typescript@5.5.3)': dependencies: - '@typescript-eslint/types': 8.0.0-alpha.42 - '@typescript-eslint/visitor-keys': 8.0.0-alpha.42 + '@typescript-eslint/types': 8.0.0-alpha.44 + '@typescript-eslint/visitor-keys': 8.0.0-alpha.44 debug: 4.3.5 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.5 - semver: 7.6.2 + semver: 7.6.3 ts-api-utils: 1.3.0(typescript@5.5.3) optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.16.0(eslint@9.7.0)(typescript@5.5.3)': + '@typescript-eslint/utils@7.16.1(eslint@9.7.0)(typescript@5.5.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.7.0) - '@typescript-eslint/scope-manager': 7.16.0 - '@typescript-eslint/types': 7.16.0 - '@typescript-eslint/typescript-estree': 7.16.0(typescript@5.5.3) + '@typescript-eslint/scope-manager': 7.16.1 + '@typescript-eslint/types': 7.16.1 + '@typescript-eslint/typescript-estree': 7.16.1(typescript@5.5.3) eslint: 9.7.0 transitivePeerDependencies: - supports-color @@ -5415,20 +5573,20 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@8.0.0-alpha.42(eslint@9.7.0)(typescript@5.5.3)': + '@typescript-eslint/utils@8.0.0-alpha.44(eslint@9.7.0)(typescript@5.5.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.7.0) - '@typescript-eslint/scope-manager': 8.0.0-alpha.42 - '@typescript-eslint/types': 8.0.0-alpha.42 - '@typescript-eslint/typescript-estree': 8.0.0-alpha.42(typescript@5.5.3) + '@typescript-eslint/scope-manager': 8.0.0-alpha.44 + '@typescript-eslint/types': 8.0.0-alpha.44 + '@typescript-eslint/typescript-estree': 8.0.0-alpha.44(typescript@5.5.3) eslint: 9.7.0 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@7.16.0': + '@typescript-eslint/visitor-keys@7.16.1': dependencies: - '@typescript-eslint/types': 7.16.0 + '@typescript-eslint/types': 7.16.1 eslint-visitor-keys: 3.4.3 '@typescript-eslint/visitor-keys@8.0.0-alpha.40': @@ -5436,28 +5594,28 @@ snapshots: '@typescript-eslint/types': 8.0.0-alpha.40 eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.0.0-alpha.42': + '@typescript-eslint/visitor-keys@8.0.0-alpha.44': dependencies: - '@typescript-eslint/types': 8.0.0-alpha.42 + '@typescript-eslint/types': 8.0.0-alpha.44 eslint-visitor-keys: 3.4.3 - '@unocss/astro@0.59.4(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10))': + '@unocss/astro@0.59.4(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11))': dependencies: '@unocss/core': 0.59.4 '@unocss/reset': 0.59.4 - '@unocss/vite': 0.59.4(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)) + '@unocss/vite': 0.59.4(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11)) optionalDependencies: - vite: 5.3.3(@types/node@20.14.10) + vite: 5.3.4(@types/node@20.14.11) transitivePeerDependencies: - rollup - '@unocss/astro@0.61.3(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10))': + '@unocss/astro@0.61.5(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11))': dependencies: - '@unocss/core': 0.61.3 - '@unocss/reset': 0.61.3 - '@unocss/vite': 0.61.3(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)) + '@unocss/core': 0.61.5 + '@unocss/reset': 0.61.5 + '@unocss/vite': 0.61.5(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11)) optionalDependencies: - vite: 5.3.3(@types/node@20.14.10) + vite: 5.3.4(@types/node@20.14.11) transitivePeerDependencies: - rollup @@ -5479,13 +5637,13 @@ snapshots: transitivePeerDependencies: - rollup - '@unocss/cli@0.61.3(rollup@4.18.1)': + '@unocss/cli@0.61.5(rollup@4.18.1)': dependencies: '@ampproject/remapping': 2.3.0 '@rollup/pluginutils': 5.1.0(rollup@4.18.1) - '@unocss/config': 0.61.3 - '@unocss/core': 0.61.3 - '@unocss/preset-uno': 0.61.3 + '@unocss/config': 0.61.5 + '@unocss/core': 0.61.5 + '@unocss/preset-uno': 0.61.5 cac: 6.7.14 chokidar: 3.6.0 colorette: 2.0.20 @@ -5502,24 +5660,24 @@ snapshots: '@unocss/core': 0.59.4 unconfig: 0.3.13 - '@unocss/config@0.61.3': + '@unocss/config@0.61.5': dependencies: - '@unocss/core': 0.61.3 + '@unocss/core': 0.61.5 unconfig: 0.3.13 '@unocss/core@0.57.7': {} '@unocss/core@0.59.4': {} - '@unocss/core@0.61.3': {} + '@unocss/core@0.61.5': {} '@unocss/extractor-arbitrary-variants@0.59.4': dependencies: '@unocss/core': 0.59.4 - '@unocss/extractor-arbitrary-variants@0.61.3': + '@unocss/extractor-arbitrary-variants@0.61.5': dependencies: - '@unocss/core': 0.61.3 + '@unocss/core': 0.61.5 '@unocss/inspector@0.59.4': dependencies: @@ -5528,10 +5686,10 @@ snapshots: gzip-size: 6.0.0 sirv: 2.0.4 - '@unocss/inspector@0.61.3': + '@unocss/inspector@0.61.5': dependencies: - '@unocss/core': 0.61.3 - '@unocss/rule-utils': 0.61.3 + '@unocss/core': 0.61.5 + '@unocss/rule-utils': 0.61.5 gzip-size: 6.0.0 sirv: 2.0.4 @@ -5545,11 +5703,11 @@ snapshots: magic-string: 0.30.10 postcss: 8.4.39 - '@unocss/postcss@0.61.3(postcss@8.4.39)': + '@unocss/postcss@0.61.5(postcss@8.4.39)': dependencies: - '@unocss/config': 0.61.3 - '@unocss/core': 0.61.3 - '@unocss/rule-utils': 0.61.3 + '@unocss/config': 0.61.5 + '@unocss/core': 0.61.5 + '@unocss/rule-utils': 0.61.5 css-tree: 2.3.1 fast-glob: 3.3.2 magic-string: 0.30.10 @@ -5559,9 +5717,9 @@ snapshots: dependencies: '@unocss/core': 0.59.4 - '@unocss/preset-attributify@0.61.3': + '@unocss/preset-attributify@0.61.5': dependencies: - '@unocss/core': 0.61.3 + '@unocss/core': 0.61.5 '@unocss/preset-icons@0.59.4': dependencies: @@ -5571,10 +5729,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@unocss/preset-icons@0.61.3': + '@unocss/preset-icons@0.61.5': dependencies: '@iconify/utils': 2.1.25 - '@unocss/core': 0.61.3 + '@unocss/core': 0.61.5 ofetch: 1.3.4 transitivePeerDependencies: - supports-color @@ -5585,29 +5743,29 @@ snapshots: '@unocss/extractor-arbitrary-variants': 0.59.4 '@unocss/rule-utils': 0.59.4 - '@unocss/preset-mini@0.61.3': + '@unocss/preset-mini@0.61.5': dependencies: - '@unocss/core': 0.61.3 - '@unocss/extractor-arbitrary-variants': 0.61.3 - '@unocss/rule-utils': 0.61.3 + '@unocss/core': 0.61.5 + '@unocss/extractor-arbitrary-variants': 0.61.5 + '@unocss/rule-utils': 0.61.5 '@unocss/preset-tagify@0.59.4': dependencies: '@unocss/core': 0.59.4 - '@unocss/preset-tagify@0.61.3': + '@unocss/preset-tagify@0.61.5': dependencies: - '@unocss/core': 0.61.3 + '@unocss/core': 0.61.5 '@unocss/preset-typography@0.59.4': dependencies: '@unocss/core': 0.59.4 '@unocss/preset-mini': 0.59.4 - '@unocss/preset-typography@0.61.3': + '@unocss/preset-typography@0.61.5': dependencies: - '@unocss/core': 0.61.3 - '@unocss/preset-mini': 0.61.3 + '@unocss/core': 0.61.5 + '@unocss/preset-mini': 0.61.5 '@unocss/preset-uno@0.59.4': dependencies: @@ -5616,21 +5774,21 @@ snapshots: '@unocss/preset-wind': 0.59.4 '@unocss/rule-utils': 0.59.4 - '@unocss/preset-uno@0.61.3': + '@unocss/preset-uno@0.61.5': dependencies: - '@unocss/core': 0.61.3 - '@unocss/preset-mini': 0.61.3 - '@unocss/preset-wind': 0.61.3 - '@unocss/rule-utils': 0.61.3 + '@unocss/core': 0.61.5 + '@unocss/preset-mini': 0.61.5 + '@unocss/preset-wind': 0.61.5 + '@unocss/rule-utils': 0.61.5 '@unocss/preset-web-fonts@0.59.4': dependencies: '@unocss/core': 0.59.4 ofetch: 1.3.4 - '@unocss/preset-web-fonts@0.61.3': + '@unocss/preset-web-fonts@0.61.5': dependencies: - '@unocss/core': 0.61.3 + '@unocss/core': 0.61.5 ofetch: 1.3.4 '@unocss/preset-wind@0.59.4': @@ -5639,29 +5797,29 @@ snapshots: '@unocss/preset-mini': 0.59.4 '@unocss/rule-utils': 0.59.4 - '@unocss/preset-wind@0.61.3': + '@unocss/preset-wind@0.61.5': dependencies: - '@unocss/core': 0.61.3 - '@unocss/preset-mini': 0.61.3 - '@unocss/rule-utils': 0.61.3 + '@unocss/core': 0.61.5 + '@unocss/preset-mini': 0.61.5 + '@unocss/rule-utils': 0.61.5 '@unocss/reset@0.59.4': {} - '@unocss/reset@0.61.3': {} + '@unocss/reset@0.61.5': {} '@unocss/rule-utils@0.59.4': dependencies: '@unocss/core': 0.59.4 magic-string: 0.30.10 - '@unocss/rule-utils@0.61.3': + '@unocss/rule-utils@0.61.5': dependencies: - '@unocss/core': 0.61.3 + '@unocss/core': 0.61.5 magic-string: 0.30.10 '@unocss/scope@0.59.4': {} - '@unocss/scope@0.61.3': {} + '@unocss/scope@0.61.5': {} '@unocss/transformer-attributify-jsx-babel@0.59.4': dependencies: @@ -5672,12 +5830,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@unocss/transformer-attributify-jsx-babel@0.61.3': + '@unocss/transformer-attributify-jsx-babel@0.61.5': dependencies: - '@babel/core': 7.24.8 - '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.24.8) - '@babel/preset-typescript': 7.24.7(@babel/core@7.24.8) - '@unocss/core': 0.61.3 + '@babel/core': 7.24.9 + '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.24.9) + '@babel/preset-typescript': 7.24.7(@babel/core@7.24.9) + '@unocss/core': 0.61.5 transitivePeerDependencies: - supports-color @@ -5685,17 +5843,17 @@ snapshots: dependencies: '@unocss/core': 0.59.4 - '@unocss/transformer-attributify-jsx@0.61.3': + '@unocss/transformer-attributify-jsx@0.61.5': dependencies: - '@unocss/core': 0.61.3 + '@unocss/core': 0.61.5 '@unocss/transformer-compile-class@0.59.4': dependencies: '@unocss/core': 0.59.4 - '@unocss/transformer-compile-class@0.61.3': + '@unocss/transformer-compile-class@0.61.5': dependencies: - '@unocss/core': 0.61.3 + '@unocss/core': 0.61.5 '@unocss/transformer-directives@0.59.4': dependencies: @@ -5703,21 +5861,21 @@ snapshots: '@unocss/rule-utils': 0.59.4 css-tree: 2.3.1 - '@unocss/transformer-directives@0.61.3': + '@unocss/transformer-directives@0.61.5': dependencies: - '@unocss/core': 0.61.3 - '@unocss/rule-utils': 0.61.3 + '@unocss/core': 0.61.5 + '@unocss/rule-utils': 0.61.5 css-tree: 2.3.1 '@unocss/transformer-variant-group@0.59.4': dependencies: '@unocss/core': 0.59.4 - '@unocss/transformer-variant-group@0.61.3': + '@unocss/transformer-variant-group@0.61.5': dependencies: - '@unocss/core': 0.61.3 + '@unocss/core': 0.61.5 - '@unocss/vite@0.59.4(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10))': + '@unocss/vite@0.59.4(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11))': dependencies: '@ampproject/remapping': 2.3.0 '@rollup/pluginutils': 5.1.0(rollup@4.18.1) @@ -5729,29 +5887,29 @@ snapshots: chokidar: 3.6.0 fast-glob: 3.3.2 magic-string: 0.30.10 - vite: 5.3.3(@types/node@20.14.10) + vite: 5.3.4(@types/node@20.14.11) transitivePeerDependencies: - rollup - '@unocss/vite@0.61.3(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10))': + '@unocss/vite@0.61.5(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11))': dependencies: '@ampproject/remapping': 2.3.0 '@rollup/pluginutils': 5.1.0(rollup@4.18.1) - '@unocss/config': 0.61.3 - '@unocss/core': 0.61.3 - '@unocss/inspector': 0.61.3 - '@unocss/scope': 0.61.3 - '@unocss/transformer-directives': 0.61.3 + '@unocss/config': 0.61.5 + '@unocss/core': 0.61.5 + '@unocss/inspector': 0.61.5 + '@unocss/scope': 0.61.5 + '@unocss/transformer-directives': 0.61.5 chokidar: 3.6.0 fast-glob: 3.3.2 magic-string: 0.30.10 - vite: 5.3.3(@types/node@20.14.10) + vite: 5.3.4(@types/node@20.14.11) transitivePeerDependencies: - rollup - '@vitejs/plugin-vue@5.0.5(vite@5.3.3(@types/node@20.14.10))(vue@3.4.31(typescript@5.5.3))': + '@vitejs/plugin-vue@5.0.5(vite@5.3.4(@types/node@20.14.11))(vue@3.4.31(typescript@5.5.3))': dependencies: - vite: 5.3.3(@types/node@20.14.10) + vite: 5.3.4(@types/node@20.14.11) vue: 3.4.31(typescript@5.5.3) '@volar/language-core@1.11.1': @@ -6587,7 +6745,7 @@ snapshots: eslint-plugin-import-x@3.0.1(eslint@9.7.0)(typescript@5.5.3): dependencies: '@rtsao/scc': 1.1.0 - '@typescript-eslint/utils': 7.16.0(eslint@9.7.0)(typescript@5.5.3) + '@typescript-eslint/utils': 7.16.1(eslint@9.7.0)(typescript@5.5.3) debug: 4.3.5 doctrine: 3.0.0 eslint: 9.7.0 @@ -6652,7 +6810,7 @@ snapshots: eslint-plugin-perfectionist@2.11.0(eslint@9.7.0)(typescript@5.5.3)(vue-eslint-parser@9.4.3(eslint@9.7.0)): dependencies: - '@typescript-eslint/utils': 7.16.0(eslint@9.7.0)(typescript@5.5.3) + '@typescript-eslint/utils': 7.16.1(eslint@9.7.0)(typescript@5.5.3) eslint: 9.7.0 minimatch: 9.0.5 natural-compare-lite: 1.4.0 @@ -6714,7 +6872,7 @@ snapshots: eslint-plugin-vitest@0.5.4(@typescript-eslint/eslint-plugin@8.0.0-alpha.40(@typescript-eslint/parser@8.0.0-alpha.40(eslint@9.7.0)(typescript@5.5.3))(eslint@9.7.0)(typescript@5.5.3))(eslint@9.7.0)(typescript@5.5.3): dependencies: - '@typescript-eslint/utils': 7.16.0(eslint@9.7.0)(typescript@5.5.3) + '@typescript-eslint/utils': 7.16.1(eslint@9.7.0)(typescript@5.5.3) eslint: 9.7.0 optionalDependencies: '@typescript-eslint/eslint-plugin': 8.0.0-alpha.40(@typescript-eslint/parser@8.0.0-alpha.40(eslint@9.7.0)(typescript@5.5.3))(eslint@9.7.0)(typescript@5.5.3) @@ -8087,6 +8245,8 @@ snapshots: semver@7.6.2: {} + semver@7.6.3: {} + shebang-command@2.0.0: dependencies: shebang-regex: 3.0.0 @@ -8405,9 +8565,9 @@ snapshots: universalify@2.0.1: {} - unocss@0.59.4(postcss@8.4.39)(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)): + unocss@0.59.4(postcss@8.4.39)(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11)): dependencies: - '@unocss/astro': 0.59.4(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)) + '@unocss/astro': 0.59.4(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11)) '@unocss/cli': 0.59.4(rollup@4.18.1) '@unocss/core': 0.59.4 '@unocss/extractor-arbitrary-variants': 0.59.4 @@ -8426,38 +8586,38 @@ snapshots: '@unocss/transformer-compile-class': 0.59.4 '@unocss/transformer-directives': 0.59.4 '@unocss/transformer-variant-group': 0.59.4 - '@unocss/vite': 0.59.4(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)) + '@unocss/vite': 0.59.4(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11)) optionalDependencies: - vite: 5.3.3(@types/node@20.14.10) + vite: 5.3.4(@types/node@20.14.11) transitivePeerDependencies: - postcss - rollup - supports-color - unocss@0.61.3(postcss@8.4.39)(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)): - dependencies: - '@unocss/astro': 0.61.3(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)) - '@unocss/cli': 0.61.3(rollup@4.18.1) - '@unocss/core': 0.61.3 - '@unocss/extractor-arbitrary-variants': 0.61.3 - '@unocss/postcss': 0.61.3(postcss@8.4.39) - '@unocss/preset-attributify': 0.61.3 - '@unocss/preset-icons': 0.61.3 - '@unocss/preset-mini': 0.61.3 - '@unocss/preset-tagify': 0.61.3 - '@unocss/preset-typography': 0.61.3 - '@unocss/preset-uno': 0.61.3 - '@unocss/preset-web-fonts': 0.61.3 - '@unocss/preset-wind': 0.61.3 - '@unocss/reset': 0.61.3 - '@unocss/transformer-attributify-jsx': 0.61.3 - '@unocss/transformer-attributify-jsx-babel': 0.61.3 - '@unocss/transformer-compile-class': 0.61.3 - '@unocss/transformer-directives': 0.61.3 - '@unocss/transformer-variant-group': 0.61.3 - '@unocss/vite': 0.61.3(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)) + unocss@0.61.5(postcss@8.4.39)(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11)): + dependencies: + '@unocss/astro': 0.61.5(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11)) + '@unocss/cli': 0.61.5(rollup@4.18.1) + '@unocss/core': 0.61.5 + '@unocss/extractor-arbitrary-variants': 0.61.5 + '@unocss/postcss': 0.61.5(postcss@8.4.39) + '@unocss/preset-attributify': 0.61.5 + '@unocss/preset-icons': 0.61.5 + '@unocss/preset-mini': 0.61.5 + '@unocss/preset-tagify': 0.61.5 + '@unocss/preset-typography': 0.61.5 + '@unocss/preset-uno': 0.61.5 + '@unocss/preset-web-fonts': 0.61.5 + '@unocss/preset-wind': 0.61.5 + '@unocss/reset': 0.61.5 + '@unocss/transformer-attributify-jsx': 0.61.5 + '@unocss/transformer-attributify-jsx-babel': 0.61.5 + '@unocss/transformer-compile-class': 0.61.5 + '@unocss/transformer-directives': 0.61.5 + '@unocss/transformer-variant-group': 0.61.5 + '@unocss/vite': 0.61.5(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11)) optionalDependencies: - vite: 5.3.3(@types/node@20.14.10) + vite: 5.3.4(@types/node@20.14.11) transitivePeerDependencies: - postcss - rollup @@ -8542,13 +8702,13 @@ snapshots: vite-plugin-banner@0.7.1: {} - vite-plugin-css-injected-by-js@3.5.1(vite@5.3.3(@types/node@20.14.10)): + vite-plugin-css-injected-by-js@3.5.1(vite@5.3.4(@types/node@20.14.11)): dependencies: - vite: 5.3.3(@types/node@20.14.10) + vite: 5.3.4(@types/node@20.14.11) - vite-plugin-dts@3.9.1(@types/node@20.14.10)(rollup@4.18.1)(typescript@5.5.3)(vite@5.3.3(@types/node@20.14.10)): + vite-plugin-dts@3.9.1(@types/node@20.14.11)(rollup@4.18.1)(typescript@5.5.3)(vite@5.3.4(@types/node@20.14.11)): dependencies: - '@microsoft/api-extractor': 7.43.0(@types/node@20.14.10) + '@microsoft/api-extractor': 7.43.0(@types/node@20.14.11) '@rollup/pluginutils': 5.1.0(rollup@4.18.1) '@vue/language-core': 1.8.27(typescript@5.5.3) debug: 4.3.5 @@ -8557,46 +8717,46 @@ snapshots: typescript: 5.5.3 vue-tsc: 1.8.27(typescript@5.5.3) optionalDependencies: - vite: 5.3.3(@types/node@20.14.10) + vite: 5.3.4(@types/node@20.14.11) transitivePeerDependencies: - '@types/node' - rollup - supports-color - vite-plugin-glsl@1.3.0(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)): + vite-plugin-glsl@1.3.0(rollup@4.18.1)(vite@5.3.4(@types/node@20.14.11)): dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.18.1) - vite: 5.3.3(@types/node@20.14.10) + vite: 5.3.4(@types/node@20.14.11) transitivePeerDependencies: - rollup - vite-plugin-qrcode@0.2.3(vite@5.3.3(@types/node@20.14.10)): + vite-plugin-qrcode@0.2.3(vite@5.3.4(@types/node@20.14.11)): dependencies: qrcode-terminal: 0.12.0 - vite: 5.3.3(@types/node@20.14.10) + vite: 5.3.4(@types/node@20.14.11) vite-svg-loader@5.1.0(vue@3.4.31(typescript@5.5.3)): dependencies: svgo: 3.3.2 vue: 3.4.31(typescript@5.5.3) - vite@5.3.3(@types/node@20.14.10): + vite@5.3.4(@types/node@20.14.11): dependencies: esbuild: 0.21.5 postcss: 8.4.39 rollup: 4.18.1 optionalDependencies: - '@types/node': 20.14.10 + '@types/node': 20.14.11 fsevents: 2.3.3 - vitepress@1.3.1(@algolia/client-search@4.24.0)(@types/node@20.14.10)(postcss@8.4.39)(search-insights@2.15.0)(typescript@5.5.3): + vitepress@1.3.1(@algolia/client-search@4.24.0)(@types/node@20.14.11)(postcss@8.4.39)(search-insights@2.15.0)(typescript@5.5.3): dependencies: '@docsearch/css': 3.6.0 '@docsearch/js': 3.6.0(@algolia/client-search@4.24.0)(search-insights@2.15.0) '@shikijs/core': 1.10.3 '@shikijs/transformers': 1.10.3 '@types/markdown-it': 14.1.1 - '@vitejs/plugin-vue': 5.0.5(vite@5.3.3(@types/node@20.14.10))(vue@3.4.31(typescript@5.5.3)) + '@vitejs/plugin-vue': 5.0.5(vite@5.3.4(@types/node@20.14.11))(vue@3.4.31(typescript@5.5.3)) '@vue/devtools-api': 7.3.6 '@vue/shared': 3.4.31 '@vueuse/core': 10.11.0(vue@3.4.31(typescript@5.5.3)) @@ -8605,7 +8765,7 @@ snapshots: mark.js: 8.11.1 minisearch: 7.0.0 shiki: 1.10.3 - vite: 5.3.3(@types/node@20.14.10) + vite: 5.3.4(@types/node@20.14.11) vue: 3.4.31(typescript@5.5.3) optionalDependencies: postcss: 8.4.39 diff --git a/src/core/loaders/useGLTF/index.ts b/src/core/loaders/useGLTF/index.ts index 11f8ac02..3fd06879 100644 --- a/src/core/loaders/useGLTF/index.ts +++ b/src/core/loaders/useGLTF/index.ts @@ -1,6 +1,7 @@ +import { type TresLoader, type TresObject3D, useLoader } from '@tresjs/core' +import type { AnimationClip, Material, Scene } from 'three' import { DRACOLoader, GLTFLoader } from 'three-stdlib' -import type { TresObject3D } from '@tresjs/core' -import { useLoader } from '@tresjs/core' +import type { GLTF } from 'three-stdlib' export interface GLTFLoaderOptions { /** @@ -20,32 +21,38 @@ export interface GLTFLoaderOptions { } export interface GLTFResult { - animations: Array + animations: Array nodes: Record - materials: Record - scene: THREE.Scene + materials: Record + scene: Scene } let dracoLoader: DRACOLoader | null = null +export interface TresGLTFLoader extends TresLoader { + setDRACOLoader?: (dracoLoader: DRACOLoader) => void +} + /** * Sets the extensions for the GLTFLoader. * * @param {GLTFLoaderOptions} options - * @param {(loader: GLTFLoader) => void} [extendLoader] + * @param {(loader: TresGLTFLoader) => void} [extendLoader] * @return {*} */ -function setExtensions(options: GLTFLoaderOptions, extendLoader?: (loader: GLTFLoader) => void) { - return (loader: GLTFLoader) => { +function setExtensions(options: GLTFLoaderOptions, extendLoader?: (loader: TresGLTFLoader) => void) { + return (loader: TresGLTFLoader) => { if (extendLoader) { - extendLoader(loader as GLTFLoader) + extendLoader(loader) } if (options.draco) { if (!dracoLoader) { dracoLoader = new DRACOLoader() } dracoLoader.setDecoderPath(options.decoderPath || 'https://www.gstatic.com/draco/versioned/decoders/1.4.3/') - loader.setDRACOLoader(dracoLoader) + if (loader.setDRACOLoader) { + loader.setDRACOLoader(dracoLoader) + } } } } @@ -66,10 +73,10 @@ export async function useGLTF( options: GLTFLoaderOptions = { draco: false, }, - extendLoader?: (loader: GLTFLoader) => void, + extendLoader?: (loader: TresGLTFLoader) => void, ): Promise { - const gltfModel = (await useLoader(GLTFLoader, path, setExtensions(options, extendLoader))) as unknown as GLTFResult + const gltfModel = (await useLoader(GLTFLoader, path, setExtensions(options, extendLoader))) as unknown as GLTFResult dracoLoader?.dispose() dracoLoader = null - return gltfModel + return gltfModel as T extends string[] ? GLTFResult[] : GLTFResult }