@geoinsight/react-components 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/.pnp.cjs +2014 -3638
  2. package/.yarn/install-state.gz +0 -0
  3. package/.yarn/unplugged/{@swc-core-linux-x64-gnu-npm-1.3.106-7bb327124d → @swc-core-linux-x64-gnu-npm-1.4.0-07735121da}/node_modules/@swc/core-linux-x64-gnu/package.json +1 -1
  4. package/.yarn/unplugged/{@swc-core-linux-x64-gnu-npm-1.3.106-7bb327124d → @swc-core-linux-x64-gnu-npm-1.4.0-07735121da}/node_modules/@swc/core-linux-x64-gnu/swc.linux-x64-gnu.node +0 -0
  5. package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/CHANGELOG.md +70 -85
  6. package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/package.json +11 -11
  7. package/dist/cjs/components/button/index.stories.d.ts +12 -9
  8. package/dist/cjs/components/map/map-mapbox.d.ts +0 -1
  9. package/dist/cjs/index.css +67 -184
  10. package/dist/cjs/index.d.ts +0 -3
  11. package/dist/cjs/index.js +47 -213
  12. package/dist/cjs/index.js.map +1 -1
  13. package/dist/esm/components/button/index.stories.d.ts +12 -9
  14. package/dist/esm/components/map/map-mapbox.d.ts +0 -1
  15. package/dist/esm/index.css +67 -184
  16. package/dist/esm/index.d.ts +0 -3
  17. package/dist/esm/index.js +49 -192
  18. package/dist/esm/index.js.map +1 -1
  19. package/package.json +1 -5
  20. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/.ready +0 -0
  21. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/LICENSE.txt +0 -116
  22. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/README.md +0 -149
  23. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/banner.ts +0 -4
  24. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/check-bundle-size.js +0 -77
  25. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-debug-index-file.ts +0 -19
  26. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-query-test-fixtures.ts +0 -126
  27. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-shaders.ts +0 -35
  28. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-struct-arrays.ts +0 -437
  29. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-style-code.ts +0 -280
  30. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-style-spec.ts +0 -323
  31. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-typings.ts +0 -26
  32. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/readme.md +0 -52
  33. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/release-notes.js +0 -45
  34. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/rollup_plugin_minify_style_spec.ts +0 -25
  35. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/rollup_plugins.ts +0 -52
  36. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl-csp-worker.js +0 -2
  37. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl-csp-worker.js.map +0 -1
  38. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl-csp.js +0 -2
  39. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl-csp.js.map +0 -1
  40. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl-dev.js +0 -51935
  41. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl.css +0 -1
  42. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl.d.ts +0 -11736
  43. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl.js +0 -44
  44. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl.js.map +0 -1
  45. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/package.json +0 -1
  46. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/style-spec/index.d.ts +0 -1768
  47. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/package.json +0 -182
  48. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/postinstall.js +0 -1
  49. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/.editorconfig +0 -7
  50. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/.ready +0 -0
  51. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/LICENSE +0 -21
  52. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/README.md +0 -108
  53. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/darwin/LICENSE-PVRTexToolCLI.txt +0 -52
  54. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/darwin/LICENSE-astcenc.txt +0 -137
  55. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/darwin/LICENSE-crunch.txt +0 -25
  56. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/darwin/PVRTexToolCLI +0 -0
  57. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/darwin/astcenc +0 -0
  58. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/darwin/crunch +0 -0
  59. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/linux/LICENSE-PVRTexToolCLI.txt +0 -52
  60. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/linux/LICENSE-astcenc.txt +0 -137
  61. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/linux/LICENSE-crunch.txt +0 -25
  62. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/linux/PVRTexToolCLI +0 -0
  63. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/linux/astcenc +0 -0
  64. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/linux/crunch +0 -0
  65. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/texture-compressor.js +0 -3
  66. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/win32/LICENSE-PVRTexToolCLI.txt +0 -52
  67. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/win32/LICENSE-astcenc.txt +0 -137
  68. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/win32/LICENSE-crunch.txt +0 -25
  69. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/win32/PVRTexToolCLI.exe +0 -0
  70. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/win32/astcenc.exe +0 -0
  71. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/win32/crunch.exe +0 -0
  72. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/argsHandler.js +0 -101
  73. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/argsHandler.js.map +0 -1
  74. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/compressWithCrunch.js +0 -48
  75. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/compressWithCrunch.js.map +0 -1
  76. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/compressWithPVRTexTool.js +0 -51
  77. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/compressWithPVRTexTool.js.map +0 -1
  78. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/spawnProcess.js +0 -45
  79. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/spawnProcess.js.map +0 -1
  80. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/validateArgs.js +0 -36
  81. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/validateArgs.js.map +0 -1
  82. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/constants.js +0 -85
  83. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/constants.js.map +0 -1
  84. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/index.js +0 -33
  85. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/index.js.map +0 -1
  86. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/utilities.js +0 -52
  87. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/utilities.js.map +0 -1
  88. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/package.json +0 -37
  89. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/argsHandler.d.ts +0 -14
  90. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/compressors/compressWithCrunch.d.ts +0 -5
  91. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/compressors/compressWithPVRTexTool.d.ts +0 -5
  92. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/compressors/spawnProcess.d.ts +0 -9
  93. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/compressors/validateArgs.d.ts +0 -11
  94. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/constants.d.ts +0 -45
  95. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/index.d.ts +0 -5
  96. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/utilities.d.ts +0 -43
  97. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/RECOMMENDED_PARAMETERS.md +0 -17
  98. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/SUPPORTED_DEVICES_TABLE.md +0 -47
  99. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/SUPPORTED_PARAMETERS.md +0 -154
  100. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/KTXLoader.js +0 -149
  101. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-astc-4x4.ktx +0 -0
  102. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-astc-8x8.ktx +0 -0
  103. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-dxt1.ktx +0 -0
  104. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-dxt1A.ktx +0 -0
  105. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-dxt3.ktx +0 -0
  106. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-dxt5.ktx +0 -0
  107. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-etc1.ktx +0 -0
  108. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-etc2.ktx +0 -0
  109. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-etc2A.ktx +0 -0
  110. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-pvrtc2BPP.ktx +0 -0
  111. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-pvrtc2BPPA.ktx +0 -0
  112. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-pvrtc4BPP.ktx +0 -0
  113. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-pvrtc4BPPA.ktx +0 -0
  114. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/main.js +0 -195
  115. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/index.html +0 -37
  116. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/argsHandler.ts +0 -135
  117. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/compressors/compressWithCrunch.ts +0 -66
  118. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/compressors/compressWithPVRTexTool.ts +0 -91
  119. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/compressors/spawnProcess.ts +0 -57
  120. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/compressors/validateArgs.ts +0 -53
  121. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/constants.ts +0 -86
  122. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/index.ts +0 -37
  123. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/utilities.ts +0 -57
  124. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/package.json +0 -37
  125. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/tslint.json +0 -12
  126. /package/.yarn/unplugged/{@swc-core-linux-x64-gnu-npm-1.3.106-7bb327124d → @swc-core-linux-x64-gnu-npm-1.4.0-07735121da}/node_modules/@swc/core-linux-x64-gnu/.ready +0 -0
  127. /package/.yarn/unplugged/{@swc-core-linux-x64-gnu-npm-1.3.106-7bb327124d → @swc-core-linux-x64-gnu-npm-1.4.0-07735121da}/node_modules/@swc/core-linux-x64-gnu/README.md +0 -0
  128. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/.ready +0 -0
  129. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/LICENSE +0 -0
  130. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/README.md +0 -0
  131. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/Visitor.d.ts +0 -0
  132. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/Visitor.js +0 -0
  133. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/binding.d.ts +0 -0
  134. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/binding.js +0 -0
  135. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/bindings/README.md +0 -0
  136. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/bindings/binding_core_wasm/package.json +0 -0
  137. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/index.d.ts +0 -0
  138. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/index.js +0 -0
  139. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/postinstall.js +0 -0
  140. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/spack.d.ts +0 -0
  141. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/spack.js +0 -0
  142. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/util.d.ts +0 -0
  143. /package/.yarn/unplugged/{@swc-core-virtual-22cde85fc1 → @swc-core-virtual-a4869543ec}/node_modules/@swc/core/util.js +0 -0
@@ -1,137 +0,0 @@
1
- END USER LICENCE AGREEMENT FOR THE MALI ASTC SPECIFICATION AND SOFTWARE CODEC,
2
- VERSION: 1.3
3
-
4
- THIS END USER LICENCE AGREEMENT ("LICENCE") IS A LEGAL AGREEMENT BETWEEN YOU
5
- (EITHER A SINGLE INDIVIDUAL, OR SINGLE LEGAL ENTITY) AND ARM LIMITED ("ARM")
6
- FOR THE USE OF THE SOFTWARE ACCOMPANYING THIS LICENCE. ARM IS ONLY WILLING
7
- TO LICENSE THE SOFTWARE TO YOU ON CONDITION THAT YOU ACCEPT ALL OF THE TERMS
8
- IN THIS LICENCE. BY CLICKING "I AGREE" OR BY INSTALLING OR OTHERWISE USING
9
- OR COPYING THE SOFTWARE YOU INDICATE THAT YOU AGREE TO BE BOUND BY ALL THE
10
- TERMS OF THIS LICENCE.
11
-
12
- IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENCE, ARM IS UNWILLING TO LICENSE
13
- THE SOFTWARE TO YOU AND YOU MAY NOT INSTALL, USE OR COPY THE SOFTWARE.
14
-
15
- 1. DEFINITIONS.
16
-
17
- "Authorised Purpose" means the use of the Software solely to develop products
18
- and tools which implement the Khronos ASTC specification to;
19
- (i) compress texture images into ASTC format ("Compression Results");
20
- (ii) distribute such Compression Results to third parties; and
21
- (iii) decompress texture images stored in ASTC format.
22
-
23
- "Software" means the source code and Software binaries accompanying this
24
- Licence, and any printed, electronic or online documentation supplied with it,
25
- in all cases relating to the MALI ASTC SPECIFICATION AND SOFTWARE CODEC.
26
-
27
- 2. LICENCE GRANT.
28
-
29
- ARM hereby grants to you, subject to the terms and conditions of this Licence,
30
- a nonexclusive, nontransferable, free of charge, royalty free, worldwide
31
- licence to use, copy, modify and (subject to Clause 3 below) distribute the
32
- Software solely for the Authorised Purpose.
33
-
34
- No right is granted to use the Software to develop hardware.
35
-
36
- Notwithstanding the foregoing, nothing in this Licence prevents you from
37
- using the Software to develop products that conform to an application
38
- programming interface specification issued by The Khronos Group Inc.
39
- ("Khronos"), provided that you have licences to develop such products
40
- under the relevant Khronos agreements.
41
-
42
- 3. RESTRICTIONS ON USE OF THE SOFTWARE.
43
-
44
- RESTRICTIONS ON TRANSFER OF LICENSED RIGHTS: The rights granted to you under
45
- this Licence may not be assigned by you to any third party without the prior
46
- written consent of ARM.
47
-
48
- TITLE AND RESERVATION OF RIGHTS: You acquire no rights to the Software other
49
- than as expressly provided by this Licence. The Software is licensed not sold.
50
- ARM does not transfer title to the Software to you. In no event shall the
51
- licences granted in Clause 2 be construed as granting you expressly or by
52
- implication, estoppel or otherwise, licences to any ARM technology other than
53
- the Software.
54
-
55
- NOTICES: You shall not remove from the Software any copyright notice or other
56
- notice (whether ARM's or its licensor's), and you shall ensure that any such
57
- notice is reproduced in any copies of the whole or any part of the Software
58
- made by you. You shall not use ARM's or its licensor's name, logo or
59
- trademarks to market Compression Results. If you distribute the Software to a
60
- third party, you agree to include a copy of this Licence with such
61
- distribution.
62
-
63
- 4. NO SUPPORT.
64
-
65
- ARM has no obligation to support or to continue providing or updating any of
66
- the Software.
67
-
68
- 5. NO WARRANTIES.
69
-
70
- YOU AGREE THAT THE SOFTWARE IS LICENSED "AS IS", AND THAT ARM EXPRESSLY
71
- DISCLAIMS ALL REPRESENTATIONS, WARRANTIES, CONDITIONS OR OTHER TERMS, EXPRESS,
72
- IMPLIED OR STATUTORY, TO THE FULLEST EXTENT PERMITTED BY LAW. YOU EXPRESSLY
73
- ASSUME ALL LIABILITIES AND RISKS, FOR USE OR OPERATION OF ANY APPLICATION
74
- PROGRAMS YOU CREATE WITH THE SOFTWARE, AND YOU ASSUME THE ENTIRE COST OF ALL
75
- NECESSARY SERVICING, REPAIR OR CORRECTION.
76
-
77
- 6. LIMITATION OF LIABILITY.
78
-
79
- TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL ARM BE
80
- LIABLE FOR ANY INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
81
- (INCLUDING LOSS OF PROFITS) ARISING OUT OF THE USE OR INABILITY TO USE THE
82
- SOFTWARE WHETHER BASED ON A CLAIM UNDER CONTRACT, TORT OR OTHER LEGAL THEORY,
83
- EVEN IF ARM WAS ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
84
-
85
- ARM does not seek to limit or exclude liability for death or personal injury
86
- arising from ARM's negligence and because some jurisdictions do not permit the
87
- exclusion or limitation of liability for consequential or incidental damages
88
- the above limitation relating to liability for consequential damages may not
89
- apply to you.
90
-
91
- NOTWITHSTANDING ANYTHING TO THE CONTRARY CONTAINED IN THIS LICENCE, THE
92
- MAXIMUM LIABILITY OF ARM TO YOU IN AGGREGATE FOR ALL CLAIMS MADE AGAINST ARM
93
- IN CONTRACT TORT OR OTHERWISE UNDER OR IN CONNECTION WITH THE SUBJECT MATTER
94
- OF THIS LICENCE SHALL NOT EXCEED THE GREATER OF THE TOTAL OF SUMS PAID BY YOU
95
- TO ARM (IF ANY) FOR THIS LICENCE AND US$5.00.
96
-
97
- 7. U.S. GOVERNMENT END USERS.
98
-
99
- US Government Restrictions: Use, duplication, reproduction, release,
100
- modification, disclosure or transfer of this commercial product and
101
- accompanying documentation is restricted in accordance with the terms
102
- of this Licence.
103
-
104
- 8. TERM AND TERMINATION.
105
-
106
- This Licence shall remain in force until terminated by you or by ARM. Without
107
- prejudice to any of its other rights if you are in breach of any of the terms
108
- and conditions of this Licence then ARM may terminate this Licence immediately
109
- upon giving written notice to you. You may terminate this Licence at any time.
110
-
111
- Upon termination of this Licence by you or by ARM you shall stop using the
112
- Software and destroy all copies of the Software in your possession together
113
- with all documentation and related materials. The provisions of Clauses 1, 3,
114
- 4, 5, 6, 7, 8 and 9 shall survive termination of this Licence.
115
-
116
- 9. GENERAL.
117
-
118
- This Licence is governed by English Law. Except where ARM agrees otherwise in
119
- a written contract signed by you and ARM, this is the only agreement between
120
- you and ARM relating to the Software and it may only be modified by written
121
- agreement between you and ARM. Except as expressly agreed in writing, this
122
- Licence may not be modified by purchase orders, advertising or other
123
- representation by any person. If any clause in this Licence is held by a court
124
- of law to be illegal or unenforceable the remaining provisions of this Licence
125
- shall not be affected thereby. The failure by ARM to enforce any of the
126
- provisions of this Licence, unless waived in writing, shall not constitute a
127
- waiver of ARM's rights to enforce such provision or any other provision of
128
- this Licence in the future.
129
-
130
- You agree to comply fully with all laws and regulations of the United States
131
- and other countries ("Export Laws") to assure that the Software is not;
132
- (1) exported, directly or indirectly, in violation of Export Laws, either to
133
- any countries that are subject to U.S.A. export restrictions or to any end
134
- user who has been prohibited from participating in the U.S.A. export
135
- transactions by any federal agency of the U.S.A. government; or
136
- (2) intended to be used for any purpose prohibited by Export Laws, including,
137
- without limitation, nuclear, chemical, or biological weapons proliferation.
@@ -1,25 +0,0 @@
1
- crunch/crnlib uses a modified ZLIB license. Specifically, it's the same as zlib except that
2
- public credits for using the library are *required*.
3
-
4
- Copyright (c) 2010-2016 Richard Geldreich, Jr., Tenacious Software, and Binomial LLC
5
-
6
- This software is provided 'as-is', without any express or implied
7
- warranty. In no event will the authors be held liable for any damages
8
- arising from the use of this software.
9
-
10
- Permission is granted to anyone to use this software for any purpose,
11
- including commercial applications, and to alter it and redistribute it
12
- freely, subject to the following restrictions:
13
-
14
- 1. The origin of this software must not be misrepresented; you must not
15
- claim that you wrote the original software.
16
-
17
- 2. If you use this software in a product, this acknowledgment in the product
18
- documentation or credits is required:
19
-
20
- "Crunch Library Copyright (c) 2010-2016 Richard Geldreich, Jr., Tenacious Software, and Binomial LLC"
21
-
22
- 3. Altered source versions must be plainly marked as such, and must not be
23
- misrepresented as being the original software.
24
-
25
- 4. This notice may not be removed or altered from any source distribution.
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- require('../dist/cli/lib/index.js').pack();
@@ -1,52 +0,0 @@
1
- PLEASE READ THIS AGREEMENT CAREFULLY. BY USING ANY PORTION OF THE POWERVR TOOLS SOFTWARE YOU WILL BE LEGALLY BOUND TO THESE TERMS.
2
- Imagination Technologies Limited (“Imagination”) provides this Software subject to the terms of this Agreement. If you do not agree with any of these terms, then do not install or otherwise use the Software.
3
-
4
- Definitions
5
- “Software” means all or any component comprising the software in source or binary form, documentation, or other materials including any related updates or upgrades made available by Imagination under this Agreement from time to time.
6
-
7
- License Grant
8
- Subject to your compliance with the terms of this Agreement, Imagination grants to you a non-exclusive, non-assignable license to:
9
-
10
- (a) use the Software for the sole purpose of developing, profiling, or assisting in the optimisation of internal, commercial, or non-commercial applications;
11
-
12
- (b) distribute the Software as a component of your application, provided that:
13
-
14
- you do not distribute the Software on a stand alone basis;
15
- you distribute such Software under terms no less restrictive than those in this Agreement;
16
- you comply with the attribution requirements set out in Appendix 1;
17
- you are solely responsible for any update, support obligation or other liability that may arise from such distribution; and
18
- you do not make any statements that your application or its performance are certified, guaranteed or otherwise endorsed by Imagination; and
19
- (c) use the Software as expressly authorised by Imagination in writing, on the payment and/or support terms set out in Appendix 2 (if applicable).
20
-
21
- Restrictions
22
- Other than as expressly permitted herein, you may not: (i) use the Software for any unauthorised purpose; (ii) modify, disassemble, decompile, reverse engineer, revise or enhance the Software, create derivative works or attempt to discover the source code for any element of the Software not already provided in source code form; (iii) remove any proprietary or copyright notices on or accompanying the Software; or (iv) incorporate or combine the Software, with any open source software in such a way that would cause the Software, or any portion thereof, to be subject to all or part of the license obligations or other intellectual property related terms with respect to such open source software.
23
-
24
- Ownership and Contributions
25
- Imagination retains all ownership of the Software, including without limitation all copyrights and other intellectual property rights therein. To the extent you provide any feedback or make any contributions in connection with the Software (collectively “contributions”), you agree to assign all intellectual property rights in such contribution to Imagination and agree not to assert any related rights against Imagination or any of its customers or licensees. You understand and agree that Imagination is not required to make any use of any contribution that you provide, but that if Imagination makes use of your contribution, neither Imagination nor any of its customers or licensees are required to credit or compensate you for your contribution. You represent and warrant that you have sufficient rights in your contribution to comply with the foregoing.
26
-
27
- Warranty Disclaimer
28
- THE SOFTWARE IS PROVIDED “AS IS”. IMAGINATION HEREBY DISCLAIMS ALL EXPRESS OR IMPLIED WARRANTIES AND CONDITIONS WITH REGARD TO THE SOFTWARE, INCLUDING ALL WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT.
29
-
30
- Limitation of Liability
31
- IN NO EVENT WILL IMAGINATION BE LIABLE TO YOU FOR ANY DAMAGES, CLAIMS OR COSTS WHATSOEVER ARISING FROM THIS AGREEMENT AND/OR YOUR USE OF THE SOFTWARE OR ANY COMPONENT THEREOF, INCLUDING WITHOUT LIMITATION ANY CONSEQUENTIAL, INDIRECT, INCIDENTAL DAMAGES, OR ANY LOST PROFITS OR LOST SAVINGS, EVEN IF IMAGINATION HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, DAMAGES, CLAIMS OR COSTS OR FOR ANY CLAIM BY ANY THIRD PARTY. THE FOREGOING LIMITATIONS AND EXCLUSIONS APPLY TO THE EXTENT PERMITTED BY APPLICABLE LAW IN YOUR JURISDICTION.
32
-
33
- Third Party Materials
34
- All third party materials packaged with the Software, including without limitation, artwork, graphics, game demos and patches, are the sole and exclusive property of such third parties. Imagination makes no representations or warranties about the accuracy, usability or validity of any third party materials, and disclaims all liabilities in connection with such third party materials.
35
-
36
- Term
37
- This Agreement is effective until terminated. Imagination has the right to terminate this Agreement immediately if you fail to comply with any term of this Agreement. You may terminate this Agreement by destroying or returning to Imagination all copies of the Software in your possession.
38
-
39
- Governing Law
40
- This Agreement is governed by and shall be construed in accordance with English law and each party agrees to submit to the exclusive jurisdiction of the courts of England.
41
-
42
-
43
- APPENDIX 1: ATTRIBUTION REQUIREMENTS
44
- If source code is released as it is, the Copyright notice should be kept in a visible position. If object code is bundled with a product, all branding should be kept as it was originally, and the following acknowledgement should be displayed clearly in any associated documentation or other collateral in printed or electronic form distributed with the product incorporating the Software: “This product includes components of the PowerVR Tools Software from Imagination Technologies Limited”. If source code is used to compile a product, the following acknowledgement should be displayed clearly in any associated documentation or other collateral in printed or electronic form distributed with the product incorporating the Software: “This product includes components of the PowerVR Tools Software from Imagination Technologies Limited”.
45
-
46
-
47
- APPENDIX 2: FEES
48
- LICENSE FEES: 0 (Zero)
49
-
50
- ROYALTY FEES: 0 (Zero)
51
-
52
- SUPPORT AND MAINTENANCE TERMS AND FEES: 0 (Zero)
@@ -1,137 +0,0 @@
1
- END USER LICENCE AGREEMENT FOR THE MALI ASTC SPECIFICATION AND SOFTWARE CODEC,
2
- VERSION: 1.3
3
-
4
- THIS END USER LICENCE AGREEMENT ("LICENCE") IS A LEGAL AGREEMENT BETWEEN YOU
5
- (EITHER A SINGLE INDIVIDUAL, OR SINGLE LEGAL ENTITY) AND ARM LIMITED ("ARM")
6
- FOR THE USE OF THE SOFTWARE ACCOMPANYING THIS LICENCE. ARM IS ONLY WILLING
7
- TO LICENSE THE SOFTWARE TO YOU ON CONDITION THAT YOU ACCEPT ALL OF THE TERMS
8
- IN THIS LICENCE. BY CLICKING "I AGREE" OR BY INSTALLING OR OTHERWISE USING
9
- OR COPYING THE SOFTWARE YOU INDICATE THAT YOU AGREE TO BE BOUND BY ALL THE
10
- TERMS OF THIS LICENCE.
11
-
12
- IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENCE, ARM IS UNWILLING TO LICENSE
13
- THE SOFTWARE TO YOU AND YOU MAY NOT INSTALL, USE OR COPY THE SOFTWARE.
14
-
15
- 1. DEFINITIONS.
16
-
17
- "Authorised Purpose" means the use of the Software solely to develop products
18
- and tools which implement the Khronos ASTC specification to;
19
- (i) compress texture images into ASTC format ("Compression Results");
20
- (ii) distribute such Compression Results to third parties; and
21
- (iii) decompress texture images stored in ASTC format.
22
-
23
- "Software" means the source code and Software binaries accompanying this
24
- Licence, and any printed, electronic or online documentation supplied with it,
25
- in all cases relating to the MALI ASTC SPECIFICATION AND SOFTWARE CODEC.
26
-
27
- 2. LICENCE GRANT.
28
-
29
- ARM hereby grants to you, subject to the terms and conditions of this Licence,
30
- a nonexclusive, nontransferable, free of charge, royalty free, worldwide
31
- licence to use, copy, modify and (subject to Clause 3 below) distribute the
32
- Software solely for the Authorised Purpose.
33
-
34
- No right is granted to use the Software to develop hardware.
35
-
36
- Notwithstanding the foregoing, nothing in this Licence prevents you from
37
- using the Software to develop products that conform to an application
38
- programming interface specification issued by The Khronos Group Inc.
39
- ("Khronos"), provided that you have licences to develop such products
40
- under the relevant Khronos agreements.
41
-
42
- 3. RESTRICTIONS ON USE OF THE SOFTWARE.
43
-
44
- RESTRICTIONS ON TRANSFER OF LICENSED RIGHTS: The rights granted to you under
45
- this Licence may not be assigned by you to any third party without the prior
46
- written consent of ARM.
47
-
48
- TITLE AND RESERVATION OF RIGHTS: You acquire no rights to the Software other
49
- than as expressly provided by this Licence. The Software is licensed not sold.
50
- ARM does not transfer title to the Software to you. In no event shall the
51
- licences granted in Clause 2 be construed as granting you expressly or by
52
- implication, estoppel or otherwise, licences to any ARM technology other than
53
- the Software.
54
-
55
- NOTICES: You shall not remove from the Software any copyright notice or other
56
- notice (whether ARM's or its licensor's), and you shall ensure that any such
57
- notice is reproduced in any copies of the whole or any part of the Software
58
- made by you. You shall not use ARM's or its licensor's name, logo or
59
- trademarks to market Compression Results. If you distribute the Software to a
60
- third party, you agree to include a copy of this Licence with such
61
- distribution.
62
-
63
- 4. NO SUPPORT.
64
-
65
- ARM has no obligation to support or to continue providing or updating any of
66
- the Software.
67
-
68
- 5. NO WARRANTIES.
69
-
70
- YOU AGREE THAT THE SOFTWARE IS LICENSED "AS IS", AND THAT ARM EXPRESSLY
71
- DISCLAIMS ALL REPRESENTATIONS, WARRANTIES, CONDITIONS OR OTHER TERMS, EXPRESS,
72
- IMPLIED OR STATUTORY, TO THE FULLEST EXTENT PERMITTED BY LAW. YOU EXPRESSLY
73
- ASSUME ALL LIABILITIES AND RISKS, FOR USE OR OPERATION OF ANY APPLICATION
74
- PROGRAMS YOU CREATE WITH THE SOFTWARE, AND YOU ASSUME THE ENTIRE COST OF ALL
75
- NECESSARY SERVICING, REPAIR OR CORRECTION.
76
-
77
- 6. LIMITATION OF LIABILITY.
78
-
79
- TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL ARM BE
80
- LIABLE FOR ANY INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
81
- (INCLUDING LOSS OF PROFITS) ARISING OUT OF THE USE OR INABILITY TO USE THE
82
- SOFTWARE WHETHER BASED ON A CLAIM UNDER CONTRACT, TORT OR OTHER LEGAL THEORY,
83
- EVEN IF ARM WAS ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
84
-
85
- ARM does not seek to limit or exclude liability for death or personal injury
86
- arising from ARM's negligence and because some jurisdictions do not permit the
87
- exclusion or limitation of liability for consequential or incidental damages
88
- the above limitation relating to liability for consequential damages may not
89
- apply to you.
90
-
91
- NOTWITHSTANDING ANYTHING TO THE CONTRARY CONTAINED IN THIS LICENCE, THE
92
- MAXIMUM LIABILITY OF ARM TO YOU IN AGGREGATE FOR ALL CLAIMS MADE AGAINST ARM
93
- IN CONTRACT TORT OR OTHERWISE UNDER OR IN CONNECTION WITH THE SUBJECT MATTER
94
- OF THIS LICENCE SHALL NOT EXCEED THE GREATER OF THE TOTAL OF SUMS PAID BY YOU
95
- TO ARM (IF ANY) FOR THIS LICENCE AND US$5.00.
96
-
97
- 7. U.S. GOVERNMENT END USERS.
98
-
99
- US Government Restrictions: Use, duplication, reproduction, release,
100
- modification, disclosure or transfer of this commercial product and
101
- accompanying documentation is restricted in accordance with the terms
102
- of this Licence.
103
-
104
- 8. TERM AND TERMINATION.
105
-
106
- This Licence shall remain in force until terminated by you or by ARM. Without
107
- prejudice to any of its other rights if you are in breach of any of the terms
108
- and conditions of this Licence then ARM may terminate this Licence immediately
109
- upon giving written notice to you. You may terminate this Licence at any time.
110
-
111
- Upon termination of this Licence by you or by ARM you shall stop using the
112
- Software and destroy all copies of the Software in your possession together
113
- with all documentation and related materials. The provisions of Clauses 1, 3,
114
- 4, 5, 6, 7, 8 and 9 shall survive termination of this Licence.
115
-
116
- 9. GENERAL.
117
-
118
- This Licence is governed by English Law. Except where ARM agrees otherwise in
119
- a written contract signed by you and ARM, this is the only agreement between
120
- you and ARM relating to the Software and it may only be modified by written
121
- agreement between you and ARM. Except as expressly agreed in writing, this
122
- Licence may not be modified by purchase orders, advertising or other
123
- representation by any person. If any clause in this Licence is held by a court
124
- of law to be illegal or unenforceable the remaining provisions of this Licence
125
- shall not be affected thereby. The failure by ARM to enforce any of the
126
- provisions of this Licence, unless waived in writing, shall not constitute a
127
- waiver of ARM's rights to enforce such provision or any other provision of
128
- this Licence in the future.
129
-
130
- You agree to comply fully with all laws and regulations of the United States
131
- and other countries ("Export Laws") to assure that the Software is not;
132
- (1) exported, directly or indirectly, in violation of Export Laws, either to
133
- any countries that are subject to U.S.A. export restrictions or to any end
134
- user who has been prohibited from participating in the U.S.A. export
135
- transactions by any federal agency of the U.S.A. government; or
136
- (2) intended to be used for any purpose prohibited by Export Laws, including,
137
- without limitation, nuclear, chemical, or biological weapons proliferation.
@@ -1,25 +0,0 @@
1
- crunch/crnlib uses a modified ZLIB license. Specifically, it's the same as zlib except that
2
- public credits for using the library are *required*.
3
-
4
- Copyright (c) 2010-2016 Richard Geldreich, Jr., Tenacious Software, and Binomial LLC
5
-
6
- This software is provided 'as-is', without any express or implied
7
- warranty. In no event will the authors be held liable for any damages
8
- arising from the use of this software.
9
-
10
- Permission is granted to anyone to use this software for any purpose,
11
- including commercial applications, and to alter it and redistribute it
12
- freely, subject to the following restrictions:
13
-
14
- 1. The origin of this software must not be misrepresented; you must not
15
- claim that you wrote the original software.
16
-
17
- 2. If you use this software in a product, this acknowledgment in the product
18
- documentation or credits is required:
19
-
20
- "Crunch Library Copyright (c) 2010-2016 Richard Geldreich, Jr., Tenacious Software, and Binomial LLC"
21
-
22
- 3. Altered source versions must be plainly marked as such, and must not be
23
- misrepresented as being the original software.
24
-
25
- 4. This notice may not be removed or altered from any source distribution.
@@ -1,101 +0,0 @@
1
- "use strict";
2
- var __importStar = (this && this.__importStar) || function (mod) {
3
- if (mod && mod.__esModule) return mod;
4
- var result = {};
5
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
6
- result["default"] = mod;
7
- return result;
8
- };
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- // Vendor
11
- const argparse_1 = require("argparse");
12
- // Package
13
- const pkg = __importStar(require("../package.json"));
14
- // Constants
15
- const constants_1 = require("./constants");
16
- /**
17
- * Create CLI arguments
18
- */
19
- const createParserArguments = () => {
20
- const parser = new argparse_1.ArgumentParser({
21
- addHelp: true,
22
- description: pkg.description,
23
- version: pkg.version,
24
- });
25
- // File input flag
26
- parser.addArgument(['-i', '--input'], {
27
- help: 'Input file including path',
28
- required: false,
29
- });
30
- // File output flag
31
- parser.addArgument(['-o', '--output'], {
32
- help: 'Output location including path',
33
- required: true,
34
- });
35
- // Compression format flag
36
- parser.addArgument(['-t', '--type'], {
37
- choices: constants_1.COMPRESSION_FORMAT_FLAGS,
38
- help: 'Compression format',
39
- required: true,
40
- });
41
- // Compression internal format flag
42
- parser.addArgument(['-c', '--compression'], {
43
- choices: [
44
- ...(constants_1.IS_ASTC ? constants_1.ASTC_COMPRESSION_TYPES : []),
45
- ...(constants_1.IS_ETC ? constants_1.ETC_COMPRESSION_TYPES : []),
46
- ...(constants_1.IS_PVRTC ? constants_1.PVRTC_COMPRESSION_TYPES : []),
47
- ...(constants_1.IS_S3TC ? constants_1.S3TC_COMPRESSION_TYPES : []),
48
- ],
49
- help: 'Compression internal format',
50
- required: true,
51
- });
52
- // Quality flag
53
- parser.addArgument(['-q', '--quality'], {
54
- choices: [
55
- ...(constants_1.IS_ASTC ? constants_1.ASTC_QUALITY_TYPES : []),
56
- ...(constants_1.IS_ETC ? constants_1.ETC_QUALITY_TYPES : []),
57
- ...(constants_1.IS_PVRTC ? constants_1.PVRTC_QUALITY_TYPES : []),
58
- ...(constants_1.IS_S3TC ? constants_1.S3TC_QUALITY_TYPES : []),
59
- ],
60
- help: 'Quality type',
61
- required: true,
62
- });
63
- // Mipmapping flag
64
- parser.addArgument(['-m', '--mipmap'], {
65
- action: 'storeTrue',
66
- help: 'Enable mipmapping',
67
- required: false,
68
- });
69
- // Vertical flip flag
70
- parser.addArgument(['-y', '--flipY'], {
71
- action: 'storeTrue',
72
- help: 'Output file flipped vertically',
73
- required: false,
74
- });
75
- // Resize square flag
76
- parser.addArgument(['-rs', '--square'], {
77
- choices: ['no', '-', '+'],
78
- help: 'Force the texture into a square (default: +)',
79
- required: false,
80
- });
81
- // Resize power of two flag
82
- parser.addArgument(['-rp', '--pot'], {
83
- choices: ['no', '-', '+'],
84
- help: 'Force the texture into power of two dimensions (default: +)',
85
- required: false,
86
- });
87
- // Arbitrary flags to pass on to specific tool
88
- parser.addArgument(['-f', '--flags'], {
89
- help: 'Any flags you want to directly pass to the compression tool',
90
- nargs: '*',
91
- });
92
- // Verbose logging
93
- parser.addArgument(['-vb', '--verbose'], {
94
- action: 'storeTrue',
95
- help: 'Enable verbose logging',
96
- required: false,
97
- });
98
- return parser.parseArgs();
99
- };
100
- exports.CLIArgs = createParserArguments();
101
- //# sourceMappingURL=argsHandler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"argsHandler.js","sourceRoot":"","sources":["../../../lib/argsHandler.ts"],"names":[],"mappings":"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"}
@@ -1,48 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // Native
4
- const os_1 = require("os");
5
- // Compressors
6
- const spawnProcess_1 = require("./spawnProcess");
7
- const validateArgs_1 = require("./validateArgs");
8
- // Constants
9
- const constants_1 = require("../constants");
10
- // Utilities
11
- const utilities_1 = require("../utilities");
12
- /**
13
- * Compress texture with the S3TC compression format
14
- */
15
- exports.compressWithCrunch = (args) => {
16
- if (args.type === constants_1.S3TC) {
17
- validateArgs_1.validateArgs(args, constants_1.S3TC_SUPPORTED_INPUT_TYPES, constants_1.S3TC_SUPPORTED_OUTPUT_TYPES, constants_1.S3TC_COMPRESSION_TYPES, constants_1.S3TC_QUALITY_TYPES);
18
- }
19
- else {
20
- throw new Error('Unknown compression format');
21
- }
22
- const flagMapping = [
23
- '-file',
24
- args.input,
25
- '-out',
26
- args.output,
27
- '-fileformat',
28
- 'ktx',
29
- `-${args.compression}`,
30
- '-dxtQuality',
31
- `${args.quality}`,
32
- '-helperThreads',
33
- os_1.cpus().length.toString(),
34
- ];
35
- if (args.mipmap) {
36
- const { width } = utilities_1.getImageSize(args.input);
37
- flagMapping.push('-mipMode', 'Generate');
38
- flagMapping.push('-maxmips', utilities_1.getMipChainLevels(width).toString());
39
- }
40
- else {
41
- flagMapping.push('-mipMode', 'None');
42
- }
43
- if (args.flipY) {
44
- flagMapping.push('-yflip');
45
- }
46
- return spawnProcess_1.spawnProcess(args, flagMapping, 'crunch');
47
- };
48
- //# sourceMappingURL=compressWithCrunch.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compressWithCrunch.js","sourceRoot":"","sources":["../../../../lib/compressors/compressWithCrunch.ts"],"names":[],"mappings":";;AAAA,SAAS;AACT,2BAA0B;AAK1B,cAAc;AACd,iDAA8C;AAC9C,iDAA8C;AAE9C,YAAY;AACZ,4CAMsB;AAEtB,YAAY;AACZ,4CAA+D;AAE/D;;GAEG;AACU,QAAA,kBAAkB,GAAG,CAAC,IAAc,EAAgB,EAAE;IACjE,IAAI,IAAI,CAAC,IAAI,KAAK,gBAAI,EAAE;QACtB,2BAAY,CACV,IAAI,EACJ,sCAA0B,EAC1B,uCAA2B,EAC3B,kCAAsB,EACtB,8BAAkB,CACnB,CAAC;KACH;SAAM;QACL,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;KAC/C;IAED,MAAM,WAAW,GAAG;QAClB,OAAO;QACP,IAAI,CAAC,KAAK;QACV,MAAM;QACN,IAAI,CAAC,MAAM;QACX,aAAa;QACb,KAAK;QACL,IAAI,IAAI,CAAC,WAAW,EAAE;QACtB,aAAa;QACb,GAAG,IAAI,CAAC,OAAO,EAAE;QACjB,gBAAgB;QAChB,SAAI,EAAE,CAAC,MAAM,CAAC,QAAQ,EAAE;KACzB,CAAC;IAEF,IAAI,IAAI,CAAC,MAAM,EAAE;QACf,MAAM,EAAE,KAAK,EAAE,GAAG,wBAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC3C,WAAW,CAAC,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;QACzC,WAAW,CAAC,IAAI,CAAC,UAAU,EAAE,6BAAiB,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;KACnE;SAAM;QACL,WAAW,CAAC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;KACtC;IAED,IAAI,IAAI,CAAC,KAAK,EAAE;QACd,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC5B;IAED,OAAO,2BAAY,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;AACnD,CAAC,CAAC"}
@@ -1,51 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // Compressors
4
- const spawnProcess_1 = require("./spawnProcess");
5
- const validateArgs_1 = require("./validateArgs");
6
- // Constants
7
- const constants_1 = require("../constants");
8
- // Utilities
9
- const utilities_1 = require("../utilities");
10
- /**
11
- * Compress texture with the ASTC, ETC or PVRTC compression format
12
- */
13
- exports.compressWithPVRTexTool = (args) => {
14
- if (args.type === constants_1.ASTC) {
15
- validateArgs_1.validateArgs(args, constants_1.ASTC_SUPPORTED_INPUT_TYPES, constants_1.ASTC_SUPPORTED_OUTPUT_TYPES, constants_1.ASTC_COMPRESSION_TYPES, constants_1.ASTC_QUALITY_TYPES);
16
- }
17
- else if (args.type === constants_1.ETC) {
18
- validateArgs_1.validateArgs(args, constants_1.ETC_SUPPORTED_INPUT_TYPES, constants_1.ETC_SUPPORTED_OUTPUT_TYPES, constants_1.ETC_COMPRESSION_TYPES, constants_1.ETC_QUALITY_TYPES);
19
- }
20
- else if (args.type === constants_1.PVRTC) {
21
- validateArgs_1.validateArgs(args, constants_1.PVRTC_SUPPORTED_INPUT_TYPES, constants_1.PVRTC_SUPPORTED_OUTPUT_TYPES, constants_1.PVRTC_COMPRESSION_TYPES, constants_1.PVRTC_QUALITY_TYPES);
22
- }
23
- else {
24
- throw new Error('Unknown compression format');
25
- }
26
- const flagMapping = [
27
- '-i',
28
- args.input,
29
- '-o',
30
- args.output,
31
- '-f',
32
- `${args.compression}`,
33
- `-q`,
34
- `${args.quality}`,
35
- ];
36
- if (args.square !== 'no') {
37
- flagMapping.push('-square', args.square || '+');
38
- }
39
- if (args.pot !== 'no') {
40
- flagMapping.push('-pot', args.pot || '+');
41
- }
42
- if (args.mipmap) {
43
- const { width } = utilities_1.getImageSize(args.input);
44
- flagMapping.push('-m', utilities_1.getMipChainLevels(width).toString());
45
- }
46
- if (args.flipY) {
47
- flagMapping.push('-flip', 'y');
48
- }
49
- return spawnProcess_1.spawnProcess(args, flagMapping, 'PVRTexToolCLI');
50
- };
51
- //# sourceMappingURL=compressWithPVRTexTool.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compressWithPVRTexTool.js","sourceRoot":"","sources":["../../../../lib/compressors/compressWithPVRTexTool.ts"],"names":[],"mappings":";;AAGA,cAAc;AACd,iDAA8C;AAC9C,iDAA8C;AAE9C,YAAY;AACZ,4CAgBsB;AAEtB,YAAY;AACZ,4CAA+D;AAE/D;;GAEG;AACU,QAAA,sBAAsB,GAAG,CAAC,IAAc,EAAgB,EAAE;IACrE,IAAI,IAAI,CAAC,IAAI,KAAK,gBAAI,EAAE;QACtB,2BAAY,CACV,IAAI,EACJ,sCAA0B,EAC1B,uCAA2B,EAC3B,kCAAsB,EACtB,8BAAkB,CACnB,CAAC;KACH;SAAM,IAAI,IAAI,CAAC,IAAI,KAAK,eAAG,EAAE;QAC5B,2BAAY,CACV,IAAI,EACJ,qCAAyB,EACzB,sCAA0B,EAC1B,iCAAqB,EACrB,6BAAiB,CAClB,CAAC;KACH;SAAM,IAAI,IAAI,CAAC,IAAI,KAAK,iBAAK,EAAE;QAC9B,2BAAY,CACV,IAAI,EACJ,uCAA2B,EAC3B,wCAA4B,EAC5B,mCAAuB,EACvB,+BAAmB,CACpB,CAAC;KACH;SAAM;QACL,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;KAC/C;IAED,MAAM,WAAW,GAAG;QAClB,IAAI;QACJ,IAAI,CAAC,KAAK;QACV,IAAI;QACJ,IAAI,CAAC,MAAM;QACX,IAAI;QACJ,GAAG,IAAI,CAAC,WAAW,EAAE;QACrB,IAAI;QACJ,GAAG,IAAI,CAAC,OAAO,EAAE;KAClB,CAAC;IAEF,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE;QACxB,WAAW,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC;KACjD;IAED,IAAI,IAAI,CAAC,GAAG,KAAK,IAAI,EAAE;QACrB,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC;KAC3C;IAED,IAAI,IAAI,CAAC,MAAM,EAAE;QACf,MAAM,EAAE,KAAK,EAAE,GAAG,wBAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC3C,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,6BAAiB,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;KAC7D;IAED,IAAI,IAAI,CAAC,KAAK,EAAE;QACd,WAAW,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;KAChC;IAED,OAAO,2BAAY,CAAC,IAAI,EAAE,WAAW,EAAE,eAAe,CAAC,CAAC;AAC1D,CAAC,CAAC"}