mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-19 22:24:17 +01:00
Minor frontend improvements and license updates
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"append": [
|
"append": [
|
||||||
"assets/fox.glb.license",
|
"assets/fox.glb.license",
|
||||||
|
"assets/qwantani_afternoon_1k.hdr.license",
|
||||||
"LICENSE"
|
"LICENSE"
|
||||||
],
|
],
|
||||||
"replace": {
|
"replace": {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ https://www.npmjs.com/package/generate-license-file
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- @google/model-viewer@4.0.0
|
- @google/model-viewer@4.1.0
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
@@ -522,7 +522,7 @@ Apache License
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- detect-libc@2.0.3
|
- detect-libc@2.0.4
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
@@ -1045,9 +1045,9 @@ END OF TERMS AND CONDITIONS
|
|||||||
|
|
||||||
The following npm packages may be included in this product:
|
The following npm packages may be included in this product:
|
||||||
|
|
||||||
- @lit/reactive-element@1.6.3
|
- @lit/reactive-element@2.1.1
|
||||||
- lit-element@3.3.3
|
- lit-element@4.2.1
|
||||||
- lit@2.8.0
|
- lit@3.3.1
|
||||||
|
|
||||||
These packages each contain the following license:
|
These packages each contain the following license:
|
||||||
|
|
||||||
@@ -1084,7 +1084,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- lit-html@2.8.0
|
- lit-html@3.3.1
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
@@ -1121,7 +1121,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- @lit-labs/ssr-dom-shim@1.3.0
|
- @lit-labs/ssr-dom-shim@1.4.0
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
@@ -1247,7 +1247,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- @babel/parser@7.27.0
|
- @babel/parser@7.28.0
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
@@ -1381,6 +1381,34 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||||||
|
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
|
- @jridgewell/sourcemap-codec@1.5.4
|
||||||
|
|
||||||
|
This package contains the following license:
|
||||||
|
|
||||||
|
Copyright 2024 Justin Ridgewell <justin@ridgewell.name>
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
||||||
|
-----------
|
||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- picocolors@1.1.1
|
- picocolors@1.1.1
|
||||||
@@ -1418,9 +1446,9 @@ LGPL-3.0-or-later
|
|||||||
|
|
||||||
The following npm packages may be included in this product:
|
The following npm packages may be included in this product:
|
||||||
|
|
||||||
- @babel/helper-string-parser@7.25.9
|
- @babel/helper-string-parser@7.27.1
|
||||||
- @babel/helper-validator-identifier@7.25.9
|
- @babel/helper-validator-identifier@7.27.1
|
||||||
- @babel/types@7.27.0
|
- @babel/types@7.28.1
|
||||||
|
|
||||||
These packages each contain the following license:
|
These packages each contain the following license:
|
||||||
|
|
||||||
@@ -1451,7 +1479,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- three-mesh-bvh@0.9.0
|
- three-mesh-bvh@0.9.1
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
@@ -1601,7 +1629,7 @@ The MIT license applies to all non-font and non-icon files.
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- semver@7.7.1
|
- semver@7.7.2
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
@@ -1623,36 +1651,6 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||||||
|
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
The following npm package may be included in this product:
|
|
||||||
|
|
||||||
- @jridgewell/sourcemap-codec@1.5.0
|
|
||||||
|
|
||||||
This package contains the following license:
|
|
||||||
|
|
||||||
The MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2015 Rich Harris
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
|
|
||||||
-----------
|
|
||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- three@0.125.2
|
- three@0.125.2
|
||||||
@@ -1685,7 +1683,7 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- three@0.175.0
|
- three@0.178.0
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
@@ -1775,13 +1773,13 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- vuetify@3.8.0
|
- vuetify@3.9.0
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2016-2023 John Jeremy Leider
|
Copyright (c) 2016-now Vuetify, LLC
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -1805,16 +1803,16 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
The following npm packages may be included in this product:
|
The following npm packages may be included in this product:
|
||||||
|
|
||||||
- @vue/compiler-core@3.5.13
|
- @vue/compiler-core@3.5.17
|
||||||
- @vue/compiler-dom@3.5.13
|
- @vue/compiler-dom@3.5.17
|
||||||
- @vue/compiler-sfc@3.5.13
|
- @vue/compiler-sfc@3.5.17
|
||||||
- @vue/compiler-ssr@3.5.13
|
- @vue/compiler-ssr@3.5.17
|
||||||
- @vue/reactivity@3.5.13
|
- @vue/reactivity@3.5.17
|
||||||
- @vue/runtime-core@3.5.13
|
- @vue/runtime-core@3.5.17
|
||||||
- @vue/runtime-dom@3.5.13
|
- @vue/runtime-dom@3.5.17
|
||||||
- @vue/server-renderer@3.5.13
|
- @vue/server-renderer@3.5.17
|
||||||
- @vue/shared@3.5.13
|
- @vue/shared@3.5.17
|
||||||
- vue@3.5.13
|
- vue@3.5.17
|
||||||
|
|
||||||
These packages each contain the following license:
|
These packages each contain the following license:
|
||||||
|
|
||||||
@@ -1844,7 +1842,7 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- ktx-parse@1.0.0
|
- ktx-parse@1.0.1
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
@@ -1906,9 +1904,9 @@ SOFTWARE.
|
|||||||
|
|
||||||
The following npm packages may be included in this product:
|
The following npm packages may be included in this product:
|
||||||
|
|
||||||
- @gltf-transform/core@4.1.3
|
- @gltf-transform/core@4.2.0
|
||||||
- @gltf-transform/extensions@4.1.3
|
- @gltf-transform/extensions@4.2.0
|
||||||
- @gltf-transform/functions@4.1.3
|
- @gltf-transform/functions@4.2.0
|
||||||
|
|
||||||
These packages each contain the following license:
|
These packages each contain the following license:
|
||||||
|
|
||||||
@@ -1968,7 +1966,7 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
The following npm package may be included in this product:
|
The following npm package may be included in this product:
|
||||||
|
|
||||||
- postcss@8.5.3
|
- postcss@8.5.6
|
||||||
|
|
||||||
This package contains the following license:
|
This package contains the following license:
|
||||||
|
|
||||||
@@ -2049,6 +2047,11 @@ glTF conversion by @AsoboStudio and @scurest
|
|||||||
|
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
CC0: Qwantani Afternoon by Greg Zaal (Photography) and Jarod Guest (Processing)
|
||||||
|
https://polyhaven.com/a/qwantani_afternoon
|
||||||
|
|
||||||
|
-----------
|
||||||
|
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2024 Yeicor
|
Copyright (c) 2024 Yeicor
|
||||||
|
|||||||
BIN
assets/qwantani_afternoon_1k.hdr
Normal file
BIN
assets/qwantani_afternoon_1k.hdr
Normal file
Binary file not shown.
2
assets/qwantani_afternoon_1k.hdr.license
Normal file
2
assets/qwantani_afternoon_1k.hdr.license
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
CC0: Qwantani Afternoon by Greg Zaal (Photography) and Jarod Guest (Processing)
|
||||||
|
https://polyhaven.com/a/qwantani_afternoon
|
||||||
@@ -29,11 +29,14 @@ export async function settings() {
|
|||||||
panSensitivity: 1,
|
panSensitivity: 1,
|
||||||
exposure: 1,
|
exposure: 1,
|
||||||
shadowIntensity: 0,
|
shadowIntensity: 0,
|
||||||
// Nice low-res outdoor/high-contrast HDRI image (CC0 licensed) for lighting
|
// Nice low-res outdoor/high-contrast HDRI image (CC0 licensed) for lighting
|
||||||
background: "https://dl.polyhaven.org/file/ph-assets/HDRIs/hdr/1k/qwantani_afternoon_1k.hdr",
|
background: new URL('../../assets/qwantani_afternoon_1k.hdr', import.meta.url).href,
|
||||||
// Uniform (1x1 pixel) medium gray background for visibility
|
// Uniform (1x1 pixel) medium gray background for visibility (following dark/light mode)
|
||||||
skybox: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNsaFjwHwAFyQKh26fFAAAAAABJRU5ErkJggg==",
|
skybox: (window.matchMedia("(prefers-color-scheme: dark)").matches ?
|
||||||
|
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEU4ODiyn42XAAAACklEQVQI" +
|
||||||
|
"12NgAAAAAgAB4iG8MwAAAABJRU5ErkJggg==" :
|
||||||
|
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEW6urpaLVq8AAAACklEQVQI" +
|
||||||
|
"12NgAAAAAgAB4iG8MwAAAABJRU5ErkJggg=="),
|
||||||
};
|
};
|
||||||
|
|
||||||
// Auto-override any settings from the URL
|
// Auto-override any settings from the URL
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export default defineConfig({
|
|||||||
build: {
|
build: {
|
||||||
assetsDir: '.', // Support deploying to a subdirectory using relative URLs
|
assetsDir: '.', // Support deploying to a subdirectory using relative URLs
|
||||||
cssCodeSplit: false, // Small enough to inline
|
cssCodeSplit: false, // Small enough to inline
|
||||||
chunkSizeWarningLimit: 550, // Three.js is big. Draco is even bigger but not likely to be used.
|
chunkSizeWarningLimit: 1024, // Three.js is big. Draco is even bigger but not likely to be used.
|
||||||
sourcemap: true, // For debugging production
|
sourcemap: true, // For debugging production
|
||||||
},
|
},
|
||||||
define: {
|
define: {
|
||||||
|
|||||||
Reference in New Issue
Block a user