From 7c10a3f70bc423a49748d682ad09d7b6c5f9acee Mon Sep 17 00:00:00 2001 From: Benjamin Klotz <152613240+ben-scanbot@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:57:02 +0100 Subject: [PATCH 1/6] [EPIC-5444] Document RTU UI example * First version new document rtu ui * Moved barcode rtu ui example from rtu-ui/ -> rtu-ui-barcode/ * Add review screen config * Add cropping screen config * Add "Single-Page Scanning without review" config * Add "Multi-Page Scanning with review" config * Add "Single-Page Scanning with Finder Overlay" config * Add automatic filtering config * Adjust import to changed exports * Bugfix * Better title * Add example config for barcode formats * rtu document: storage usage example * rtu-ui-barcode: find & pick usecase * Update angular-js example to scanbot-web-sdk v7.0 * Update plain-js example to scanbot-web-sdk v7.0 * Update react-js example to scanbot-web-sdk v7.0 * Update svelte-js example to scanbot-web-sdk v7.0 * Update vue-js example to scanbot-web-sdk v7.0 * Update next-js example to scanbot-web-sdk v7.0 * Finish rtu-ui-document example * Update rtu ui barcode example to scanbot-web-sdk v7.0 * angular: v7.0.0-rc.1 * next: v7.0.0-rc.2; binary copy fix * classic examples: v7.0.0-rc.2 * rtu-ui: v7.0.0-rc.2 * update Libraries.txt * rm license --------- Co-authored-by: Aare Undo --- Libraries.txt | 1548 ++++++- angular-js/.eslint.json | 5 +- angular-js/package-lock.json | 9 +- angular-js/package.json | 4 +- .../barcode-scanner.component.ts | 40 +- .../document-scanner.component.ts | 27 +- angular-js/src/app/home/home.component.ts | 11 +- .../image-details/image-details.component.ts | 1 - .../app/mrz-scanner/mrz-scanner.component.ts | 4 +- .../src/app/service/document-repository.ts | 19 +- .../src/app/service/scanbot-sdk-service.ts | 82 +- angular-js/src/app/service/utils.ts | 12 +- .../text-data-scanner.component.ts | 11 +- angular-js/src/assets/{ => wasm}/.gitkeep | 0 angular-js/tslint.json | 2 +- next-js/package-lock.json | 9 +- next-js/package.json | 4 +- .../src/app/pages/barcode-scanner/page.tsx | 12 +- .../src/app/services/scanbot-sdk-service.ts | 44 +- plain-js/download-sdk.sh | 4 +- plain-js/index.html | 6 +- plain-js/js/CroppingViewController.js | 8 +- plain-js/js/DocumentDetailsController.js | 4 +- plain-js/js/DocumentListController.js | 4 +- plain-js/js/DocumentScannerController.js | 26 +- plain-js/js/MrzScannerController.js | 40 +- ...ler.js => TextPatternScannerController.js} | 24 +- plain-js/js/config.js | 37 +- plain-js/js/utils.js | 24 +- plain-js/main.js | 16 +- react-js/package-lock.json | 9 +- react-js/package.json | 2 +- react-js/src/App.tsx | 60 +- react-js/src/model/barcodes.ts | 10 +- react-js/src/model/pages.ts | 16 +- react-js/src/pages/image-results-page.tsx | 6 +- react-js/src/pages/text-data-scanner-page.tsx | 2 +- .../src/rtu-ui/barcode-scanner-component.tsx | 4 +- .../src/rtu-ui/document-scanner-component.tsx | 2 +- react-js/src/rtu-ui/mrz-scanner-component.tsx | 6 +- ...tsx => text-pattern-scanner-component.tsx} | 8 +- react-js/src/rtu-ui/vin-scanner-component.tsx | 4 +- react-js/src/service/result-parser.ts | 33 +- react-js/src/service/scanbot-sdk-service.ts | 150 +- react-js/src/utils/image-utils.ts | 7 +- {rtu-ui => rtu-ui-barcode}/.eslintrc.cjs | 0 {rtu-ui => rtu-ui-barcode}/.gitignore | 0 {rtu-ui => rtu-ui-barcode}/README.md | 0 {rtu-ui => rtu-ui-barcode}/clean.sh | 0 {rtu-ui => rtu-ui-barcode}/index.html | 0 rtu-ui-barcode/package-lock.json | 4020 +++++++++++++++++ {rtu-ui => rtu-ui-barcode}/package.json | 4 +- {rtu-ui => rtu-ui-barcode}/src/App.tsx | 10 +- .../src/config/AROverlayConfig.ts | 0 .../src/config/ActionBarConfig.ts | 0 .../src/config/BarcodeFormatsConfig.ts | 13 + .../src/config/BarcodeItemMapperConfig.ts | 14 +- .../src/config/FindAndPickUseCaseConfig.ts | 33 + .../src/config/MultipleScanSheetConfig.ts | 0 .../src/config/MultipleScanUseCaseConfig.ts | 0 .../src/config/PaletteConfig.ts | 0 .../src/config/SingleScanUseCaseConfig.ts | 0 .../src/config/TopBarConfig.ts | 0 .../src/config/UserGuidanceConfig.ts | 0 .../src/launcher/StartScanner.ts | 0 {rtu-ui => rtu-ui-barcode}/src/main.css | 0 {rtu-ui => rtu-ui-barcode}/src/main.tsx | 0 .../src/pages/BarcodeResultPage.tsx | 16 +- .../src/service/SBStorage.ts | 9 +- .../src/subviews/FeatureListItem.tsx | 0 .../src/subviews/NavigationBar.tsx | 0 {rtu-ui => rtu-ui-barcode}/src/vite-env.d.ts | 0 {rtu-ui => rtu-ui-barcode}/tsconfig.json | 0 {rtu-ui => rtu-ui-barcode}/tsconfig.node.json | 0 {rtu-ui => rtu-ui-barcode}/vite.config.ts | 0 rtu-ui-document/.eslintrc.cjs | 18 + rtu-ui-document/.gitignore | 27 + rtu-ui-document/README.md | 30 + rtu-ui-document/clean.sh | 2 + rtu-ui-document/index.html | 13 + {rtu-ui => rtu-ui-document}/package-lock.json | 9 +- rtu-ui-document/package.json | 36 + rtu-ui-document/src/App.tsx | 100 + .../src/config/AcknowledgeScreenConfig.ts | 38 + .../src/config/AutomaticFilteringConfig.ts | 20 + .../src/config/CroppingScreenConfig.ts | 19 + .../src/config/IntroductionScreenConfig.ts | 32 + .../src/config/LocalizationConfig.ts | 20 + .../src/config/MultiPageScanningConfig.ts | 16 + rtu-ui-document/src/config/PaletteConfig.ts | 32 + .../src/config/ReviewScreenConfig.ts | 23 + .../src/config/ScanningScreenConfig.ts | 55 + .../src/config/SinglePageScanningConfig.ts | 22 + .../SinglePageScanningWithFinderConfig.ts | 31 + .../src/features/DocumentStorage.ts | 56 + .../src/launcher/StartDocumentScanner.ts | 21 + rtu-ui-document/src/main.css | 5 + rtu-ui-document/src/main.tsx | 18 + .../src/pages/DocumentResultPage.tsx | 96 + .../src/subviews/FeatureListItem.tsx | 24 + .../src/subviews/NavigationBar.tsx | 41 + rtu-ui-document/src/vite-env.d.ts | 1 + rtu-ui-document/tsconfig.json | 26 + rtu-ui-document/tsconfig.node.json | 11 + rtu-ui-document/vite.config.ts | 8 + svelte/package-lock.json | 11 +- svelte/package.json | 4 +- .../src/routes/barcode-scanner/+page.svelte | 4 +- svelte/src/service/codec.ts | 3 +- svelte/src/service/scanbot-sdk-service.ts | 64 +- svelte/src/service/storage-service.ts | 4 +- svelte/static/wasm/.keepme | 0 vue-js/package-lock.json | 9 +- vue-js/package.json | 2 +- vue-js/src/main.ts | 2 +- vue-js/src/misc/Filters.ts | 18 +- vue-js/src/stores/documents.ts | 26 +- vue-js/src/views/BarcodeScannerView.vue | 49 +- vue-js/src/views/DocumentCroppingView.vue | 4 +- vue-js/src/views/DocumentDetailView.vue | 7 +- vue-js/src/views/DocumentListView.vue | 6 +- vue-js/src/views/DocumentScannerView.vue | 39 +- 122 files changed, 7038 insertions(+), 539 deletions(-) rename angular-js/src/assets/{ => wasm}/.gitkeep (100%) rename plain-js/js/{TextDataScannerController.js => TextPatternScannerController.js} (57%) rename react-js/src/rtu-ui/{text-data-scanner-component.tsx => text-pattern-scanner-component.tsx} (82%) rename {rtu-ui => rtu-ui-barcode}/.eslintrc.cjs (100%) rename {rtu-ui => rtu-ui-barcode}/.gitignore (100%) rename {rtu-ui => rtu-ui-barcode}/README.md (100%) rename {rtu-ui => rtu-ui-barcode}/clean.sh (100%) rename {rtu-ui => rtu-ui-barcode}/index.html (100%) create mode 100644 rtu-ui-barcode/package-lock.json rename {rtu-ui => rtu-ui-barcode}/package.json (94%) rename {rtu-ui => rtu-ui-barcode}/src/App.tsx (97%) rename {rtu-ui => rtu-ui-barcode}/src/config/AROverlayConfig.ts (100%) rename {rtu-ui => rtu-ui-barcode}/src/config/ActionBarConfig.ts (100%) create mode 100644 rtu-ui-barcode/src/config/BarcodeFormatsConfig.ts rename {rtu-ui => rtu-ui-barcode}/src/config/BarcodeItemMapperConfig.ts (65%) create mode 100644 rtu-ui-barcode/src/config/FindAndPickUseCaseConfig.ts rename {rtu-ui => rtu-ui-barcode}/src/config/MultipleScanSheetConfig.ts (100%) rename {rtu-ui => rtu-ui-barcode}/src/config/MultipleScanUseCaseConfig.ts (100%) rename {rtu-ui => rtu-ui-barcode}/src/config/PaletteConfig.ts (100%) rename {rtu-ui => rtu-ui-barcode}/src/config/SingleScanUseCaseConfig.ts (100%) rename {rtu-ui => rtu-ui-barcode}/src/config/TopBarConfig.ts (100%) rename {rtu-ui => rtu-ui-barcode}/src/config/UserGuidanceConfig.ts (100%) rename {rtu-ui => rtu-ui-barcode}/src/launcher/StartScanner.ts (100%) rename {rtu-ui => rtu-ui-barcode}/src/main.css (100%) rename {rtu-ui => rtu-ui-barcode}/src/main.tsx (100%) rename {rtu-ui => rtu-ui-barcode}/src/pages/BarcodeResultPage.tsx (65%) rename {rtu-ui => rtu-ui-barcode}/src/service/SBStorage.ts (82%) rename {rtu-ui => rtu-ui-barcode}/src/subviews/FeatureListItem.tsx (100%) rename {rtu-ui => rtu-ui-barcode}/src/subviews/NavigationBar.tsx (100%) rename {rtu-ui => rtu-ui-barcode}/src/vite-env.d.ts (100%) rename {rtu-ui => rtu-ui-barcode}/tsconfig.json (100%) rename {rtu-ui => rtu-ui-barcode}/tsconfig.node.json (100%) rename {rtu-ui => rtu-ui-barcode}/vite.config.ts (100%) create mode 100644 rtu-ui-document/.eslintrc.cjs create mode 100644 rtu-ui-document/.gitignore create mode 100644 rtu-ui-document/README.md create mode 100644 rtu-ui-document/clean.sh create mode 100644 rtu-ui-document/index.html rename {rtu-ui => rtu-ui-document}/package-lock.json (99%) create mode 100644 rtu-ui-document/package.json create mode 100644 rtu-ui-document/src/App.tsx create mode 100644 rtu-ui-document/src/config/AcknowledgeScreenConfig.ts create mode 100644 rtu-ui-document/src/config/AutomaticFilteringConfig.ts create mode 100644 rtu-ui-document/src/config/CroppingScreenConfig.ts create mode 100644 rtu-ui-document/src/config/IntroductionScreenConfig.ts create mode 100644 rtu-ui-document/src/config/LocalizationConfig.ts create mode 100644 rtu-ui-document/src/config/MultiPageScanningConfig.ts create mode 100644 rtu-ui-document/src/config/PaletteConfig.ts create mode 100644 rtu-ui-document/src/config/ReviewScreenConfig.ts create mode 100644 rtu-ui-document/src/config/ScanningScreenConfig.ts create mode 100644 rtu-ui-document/src/config/SinglePageScanningConfig.ts create mode 100644 rtu-ui-document/src/config/SinglePageScanningWithFinderConfig.ts create mode 100644 rtu-ui-document/src/features/DocumentStorage.ts create mode 100644 rtu-ui-document/src/launcher/StartDocumentScanner.ts create mode 100644 rtu-ui-document/src/main.css create mode 100644 rtu-ui-document/src/main.tsx create mode 100644 rtu-ui-document/src/pages/DocumentResultPage.tsx create mode 100644 rtu-ui-document/src/subviews/FeatureListItem.tsx create mode 100644 rtu-ui-document/src/subviews/NavigationBar.tsx create mode 100644 rtu-ui-document/src/vite-env.d.ts create mode 100644 rtu-ui-document/tsconfig.json create mode 100644 rtu-ui-document/tsconfig.node.json create mode 100644 rtu-ui-document/vite.config.ts create mode 100644 svelte/static/wasm/.keepme diff --git a/Libraries.txt b/Libraries.txt index 18d79c72..97621a17 100644 --- a/Libraries.txt +++ b/Libraries.txt @@ -1,4 +1,1151 @@ -Open Source libraries used in Scanbot Web SDK 5.1.3 +Open Source libraries used in Scanbot Web SDK 7.0.0 +---------------------------------------------------------------------------------------- + +@types/classnames 2.3.1 +(undefined) + + MIT License + + Copyright (c) Microsoft Corporation. + + 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 + + +---------------------------------------------------------------------------------------- + +@types/react 18.2.60 +(https://github.com/DefinitelyTyped/DefinitelyTyped) + + MIT License + + Copyright (c) Microsoft Corporation. + + 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 + + +---------------------------------------------------------------------------------------- + +@types/react-dom 18.2.19 +(https://github.com/DefinitelyTyped/DefinitelyTyped) + + MIT License + + Copyright (c) Microsoft Corporation. + + 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 + + +---------------------------------------------------------------------------------------- + +@types/styled-components 5.1.21 +(https://github.com/DefinitelyTyped/DefinitelyTyped) + + MIT License + + Copyright (c) Microsoft Corporation. + + 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 + + +---------------------------------------------------------------------------------------- + +@types/w3c-image-capture 1.0.7 +(https://github.com/DefinitelyTyped/DefinitelyTyped) + + MIT License + + Copyright (c) Microsoft Corporation. + + 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 + + +---------------------------------------------------------------------------------------- + +@types/node 22.0.0 +(https://github.com/DefinitelyTyped/DefinitelyTyped) + + MIT License + + Copyright (c) Microsoft Corporation. + + 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 + + +---------------------------------------------------------------------------------------- + +babel-cli 6.26.0 +(https://github.com/babel/babel/tree/master/packages/babel-cli) + +MIT License + +Copyright (c) 2014-2017 Sebastian McKenzie + +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. + + +---------------------------------------------------------------------------------------- + +babel-core 6.26.3 +(https://github.com/babel/babel/tree/master/packages/babel-core) + +MIT License + +Copyright (c) 2014-2017 Sebastian McKenzie + +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. + + +---------------------------------------------------------------------------------------- + +babel-loader 7.1.5 +(https://github.com/babel/babel-loader) + +Copyright (c) 2014-2016 Luís Couto + +MIT License + +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. + + +---------------------------------------------------------------------------------------- + +babel-plugin-transform-class-properties 6.24.1 +(https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-class-properties) + +MIT License + +Copyright (c) 2014-2017 Sebastian McKenzie + +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. + + +---------------------------------------------------------------------------------------- + +babel-preset-env 1.7.0 +(https://github.com/babel/babel-preset-env) + +MIT License + +Copyright (c) 2016-2017 Babel + +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. + + +---------------------------------------------------------------------------------------- + +babel-preset-react 6.24.1 +(https://github.com/babel/babel/tree/master/packages/babel-preset-react) + +MIT License + +Copyright (c) 2014-2017 Sebastian McKenzie + +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. + + +---------------------------------------------------------------------------------------- + +copy-webpack-plugin 6.4.1 +(https://github.com/webpack-contrib/copy-webpack-plugin) + +Copyright JS Foundation and other contributors + +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. + + +---------------------------------------------------------------------------------------- + +create-file-webpack 1.0.2 +(https://github.com/Appius/create-file-webpack) + +MIT License + +Copyright (c) 2017 Appius + +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. + + +---------------------------------------------------------------------------------------- + +css-loader 5.2.7 +(https://github.com/webpack-contrib/css-loader) + +Copyright JS Foundation and other contributors + +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. + + +---------------------------------------------------------------------------------------- + +embla-carousel-react 8.3.0 +(https://github.com/davidjerleke/embla-carousel) + +MIT License + +Copyright (c) David Jerleke. + +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. + + +---------------------------------------------------------------------------------------- + +file-loader 6.2.0 +(https://github.com/webpack-contrib/file-loader) + +Copyright JS Foundation and other contributors + +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. + + +---------------------------------------------------------------------------------------- + +html-webpack-plugin 4.5.2 +(https://github.com/jantimon/html-webpack-plugin) + +Copyright JS Foundation and other contributors + +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. + + +---------------------------------------------------------------------------------------- + +null-loader 4.0.1 +(https://github.com/webpack-contrib/null-loader) + +Copyright JS Foundation and other contributors + +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. + + +---------------------------------------------------------------------------------------- + +preact 10.19.5 +(https://github.com/preactjs/preact) + +The MIT License (MIT) + +Copyright (c) 2015-present Jason Miller + +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. + + +---------------------------------------------------------------------------------------- + +react-error-boundary 4.0.13 +(https://github.com/bvaughn/react-error-boundary) + +The MIT License (MIT) +Copyright (c) 2020 Brian Vaughn + +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. + + +---------------------------------------------------------------------------------------- + +react-zoom-pan-pinch 3.5.1 +(https://github.com/prc5/react-zoom-pan-pinch) + +MIT License + +Copyright (c) 2019 prc5 + +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. + + +---------------------------------------------------------------------------------------- + +style-loader 2.0.0 +(https://github.com/webpack-contrib/style-loader) + +Copyright JS Foundation and other contributors + +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. + + +---------------------------------------------------------------------------------------- + +terser-webpack-plugin 1.4.5 +(https://github.com/webpack-contrib/terser-webpack-plugin) + +Copyright JS Foundation and other contributors + +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. + + +---------------------------------------------------------------------------------------- + +ts-loader 8.2.0 +(https://github.com/TypeStrong/ts-loader) + +The MIT License (MIT) + +Copyright (c) 2015 TypeStrong + +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. + + + +---------------------------------------------------------------------------------------- + +typedoc 0.25.4 +(https://github.com/TypeStrong/TypeDoc) + +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +---------------------------------------------------------------------------------------- + +typedoc-plugin-merge-modules 5.1.0 +(https://github.com/krisztianb/typedoc-plugin-merge-modules) + +Copyright (c) 2021, Krisztián Balla + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +---------------------------------------------------------------------------------------- + +typedoc-plugin-rename-defaults 0.7.0 +(https://github.com/felipecrs/typedoc-plugin-rename-defaults) + +MIT License + +Copyright (c) 2021 Felipe Santos + +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. + +---------------------------------------------------------------------------------------- + +typescript 5.3.3 +(https://github.com/Microsoft/TypeScript) + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of this License; and + +You must cause any modified files to carry prominent notices stating that You changed the files; and + +You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + +If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +---------------------------------------------------------------------------------------- + +url-loader 4.1.1 +(https://github.com/webpack-contrib/url-loader) + +Copyright JS Foundation and other contributors + +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. + + +---------------------------------------------------------------------------------------- + +webpack 4.46.0 +(https://github.com/webpack/webpack) + +Copyright JS Foundation and other contributors + +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. + + +---------------------------------------------------------------------------------------- + +webpack-bundle-analyzer 4.10.2 +(https://github.com/webpack-contrib/webpack-bundle-analyzer) + +Copyright JS Foundation and other contributors + +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. + + +---------------------------------------------------------------------------------------- + +webpack-cli 4.9.2 +(https://github.com/webpack/webpack-cli) + +Copyright JS Foundation and other contributors + +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. + +---------------------------------------------------------------------------------------- + +webpack-dev-server 4.7.4 +(https://github.com/webpack/webpack-dev-server) + +Copyright JS Foundation and other contributors + +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. + + ---------------------------------------------------------------------------------------- @fontsource/roboto 5.0.8 @@ -477,7 +1624,7 @@ record keeping.) * are met: * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. + * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in @@ -532,21 +1679,21 @@ record keeping.) * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. - * + * * This library is free for commercial and non-commercial use as long as * the following conditions are aheared to. The following conditions * apply to all code found in this distribution, be it the RC4, RSA, * lhash, DES, etc., code; not just the SSL code. The SSL documentation * included with this distribution is covered by the same copyright terms * except that the holder is Tim Hudson (tjh@cryptsoft.com). - * + * * Copyright remains Eric Young's, and as such any Copyright notices in * the code are not to be removed. * If this package is used in a product, Eric Young should be given attribution * as the author of the parts of the library used. * This can be in the form of a textual message at program startup or * in documentation (online or textual) provided with the package. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -561,10 +1708,10 @@ record keeping.) * Eric Young (eay@cryptsoft.com)" * The word 'cryptographic' can be left out if the rouines from the library * being used are not cryptographic related :-). - * 4. If you include any Windows specific code (or a derivative thereof) from + * 4. If you include any Windows specific code (or a derivative thereof) from * the apps directory (application code) you must include an acknowledgement: * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" - * + * * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -576,7 +1723,7 @@ record keeping.) * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * + * * The licence and distribution terms for any publically available version or * derivative of this code cannot be changed. i.e. this code cannot simply be * copied and put under another distribution licence @@ -695,6 +1842,321 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + +expected + +Version 1.1 +(https://github.com/TartanLlama/expected) + +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. + + ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + +gs1-syntax-dictionary + +Version 2023-12-11 +(https://github.com/gs1/gs1-syntax-dictionary) + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ icu4c @@ -1223,14 +2685,25 @@ suitability of this software for any purpose. It is provided "as is" without express or implied warranty. ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + +ISO-3166-Countries-with-Regional-Codes + +Version 10.0 +(https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes) + +![license](https://i.creativecommons.org/l/by-sa/4.0/88x31.png) +This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/). + + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ JSON for Modern C++ -Version v3.11.2 +Version v3.11.3 (https://github.com/nlohmann/json) -MIT License +MIT License Copyright (c) 2013-2022 Niels Lohmann @@ -1301,18 +2774,18 @@ Copyright (C) 2007-2009 Antony Dovgal This software is provided 'as-is', without any express or implied warranty. -In no event will the authors be held liable for any damages arising from the +In no event will the authors be held liable for any damages arising from the use of this software. -Permission is granted to anyone to use this software for any purpose,including -commercial applications, and to alter it and redistribute it freely, subject +Permission is granted to anyone to use this software for any purpose,including +commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: - 1. The origin of this software must not be misrepresented; you must not claim - that you wrote the original software. If you use this software in a - product, an acknowledgment in the product documentation would be + 1. The origin of this software must not be misrepresented; you must not claim + that you wrote the original software. If you use this software in a + product, an acknowledgment in the product documentation would be appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be + 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. @@ -1613,7 +3086,7 @@ Version 4.6.0 Copyright © 1988-1997 Sam Leffler\ Copyright © 1991-1997 Silicon Graphics, Inc. -Permission to use, copy, modify, distribute, and sell this software and +Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that (i) the above copyright notices and this permission notice appear in all copies of the software and related documentation, and (ii) the names of @@ -1621,15 +3094,15 @@ Sam Leffler and Silicon Graphics may not be used in any advertising or publicity relating to the software without the specific, prior written permission of Sam Leffler and Silicon Graphics. -THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, -EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY -WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. +THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, +EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY +WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF -LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE +WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF +LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. @@ -1709,7 +3182,7 @@ SOFTWARE. OpenCV -Version 4.8.0 +Version 4.10.0 (https://github.com/opencv/opencv) @@ -1942,7 +3415,7 @@ Version 1.1.0h * are met: * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. + * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in @@ -1997,21 +3470,21 @@ Version 1.1.0h * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. - * + * * This library is free for commercial and non-commercial use as long as * the following conditions are aheared to. The following conditions * apply to all code found in this distribution, be it the RC4, RSA, * lhash, DES, etc., code; not just the SSL code. The SSL documentation * included with this distribution is covered by the same copyright terms * except that the holder is Tim Hudson (tjh@cryptsoft.com). - * + * * Copyright remains Eric Young's, and as such any Copyright notices in * the code are not to be removed. * If this package is used in a product, Eric Young should be given attribution * as the author of the parts of the library used. * This can be in the form of a textual message at program startup or * in documentation (online or textual) provided with the package. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -2026,10 +3499,10 @@ Version 1.1.0h * Eric Young (eay@cryptsoft.com)" * The word 'cryptographic' can be left out if the rouines from the library * being used are not cryptographic related :-). - * 4. If you include any Windows specific code (or a derivative thereof) from + * 4. If you include any Windows specific code (or a derivative thereof) from * the apps directory (application code) you must include an acknowledgement: * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" - * + * * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -2041,7 +3514,7 @@ Version 1.1.0h * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * + * * The licence and distribution terms for any publically available version or * derivative of this code cannot be changed. i.e. this code cannot simply be * copied and put under another distribution licence @@ -2054,12 +3527,12 @@ Version 1.1.0h spdlog -Version v1.9.2 +Version v1.14.1 (https://github.com/gabime/spdlog) The MIT License (MIT) -Copyright (c) 2016 Gabi Melman. +Copyright (c) 2016 Gabi Melman. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -2081,7 +3554,7 @@ THE SOFTWARE. -- NOTE: Third party dependency used by this software -- This software depends on the fmt lib (MIT License), -and users must comply to its license: https://github.com/fmtlib/fmt/blob/master/LICENSE.rst +and users must comply to its license: https://raw.githubusercontent.com/fmtlib/fmt/master/LICENSE @@ -2599,11 +4072,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. xsimd -Version 7.4.9-18-g3d17850 +Version 13.0.0 (https://github.com/xtensor-stack/xsimd) Copyright (c) 2016, Johan Mabille, Sylvain Corlay, Wolf Vollprecht and Martin Renou Copyright (c) 2016, QuantStack +Copyright (c) 2018, Serge Guelton All rights reserved. Redistribution and use in source and binary forms, with or without @@ -2636,7 +4110,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. xtensor -Version 0.23.4-35-gbe35a267 +Version 0.25.0 (https://github.com/doo/xtensor) Copyright (c) 2016, Johan Mabille, Sylvain Corlay and Wolf Vollprecht @@ -2673,7 +4147,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. xtl -Version 0.7.2 +Version 0.7.7 (https://github.com/xtensor-stack/xtl) BSD 3-Clause License diff --git a/angular-js/.eslint.json b/angular-js/.eslint.json index ff2b0a06..b137e48d 100644 --- a/angular-js/.eslint.json +++ b/angular-js/.eslint.json @@ -5,7 +5,10 @@ "project": ["tsconfig.json", "e2e/tsconfig.json"], "createDefaultProgram": true }, - "extends": ["../.eslint.json"] + "extends": ["../.eslint.json"], + "rules": { + "quotemark": [false] + } } ] } diff --git a/angular-js/package-lock.json b/angular-js/package-lock.json index 838fa942..dacd920e 100644 --- a/angular-js/package-lock.json +++ b/angular-js/package-lock.json @@ -22,7 +22,7 @@ "@types/node": "^12.19.15", "ngx-toastr": "17.0.2", "rxjs": "6.6.7", - "scanbot-web-sdk": "5.1.3", + "scanbot-web-sdk": "7.0.0-rc.2", "sweetalert2": "10.16.9", "tslib": "1.14.1", "zone.js": "0.13.1" @@ -13171,9 +13171,10 @@ "dev": true }, "node_modules/scanbot-web-sdk": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/scanbot-web-sdk/-/scanbot-web-sdk-5.1.3.tgz", - "integrity": "sha512-liXDKYlPI9FMvNlsRDb2C9o9y9TdXZv5jPtsKH7vBxq10Tybglp18dhZYSNbDgRXHCn9aV4k4YFH94GfVo5WiA==" + "version": "7.0.0-rc.2", + "resolved": "https://registry.npmjs.org/scanbot-web-sdk/-/scanbot-web-sdk-7.0.0-rc.2.tgz", + "integrity": "sha512-ETgh0XQYe7GHwbUF1CEpdXw/HQ1RCZzRibkFsBKH3CyY+5YqllWuIj+pu8rRS1sOfWOyv8oCSCEnw9t/eBXz/Q==", + "license": "Commercial" }, "node_modules/schema-utils": { "version": "4.2.0", diff --git a/angular-js/package.json b/angular-js/package.json index 59b1ca48..f8fba5a3 100644 --- a/angular-js/package.json +++ b/angular-js/package.json @@ -8,7 +8,7 @@ "test": "ng test", "lint": "ng lint", "e2e": "ng e2e", - "postinstall": "cp -R node_modules/scanbot-web-sdk/bundle/bin/complete src/assets/wasm" + "postinstall": "cp -R node_modules/scanbot-web-sdk/bundle/bin/complete/* src/assets/wasm" }, "private": true, "dependencies": { @@ -28,7 +28,7 @@ "tslib": "1.14.1", "zone.js": "0.13.1", "@types/node": "^12.19.15", - "scanbot-web-sdk": "5.1.3" + "scanbot-web-sdk": "7.0.0-rc.2" }, "devDependencies": { "@angular-devkit/build-angular": "16.1.3", diff --git a/angular-js/src/app/barcode-scanner/barcode-scanner.component.ts b/angular-js/src/app/barcode-scanner/barcode-scanner.component.ts index aa91df41..2fec583d 100644 --- a/angular-js/src/app/barcode-scanner/barcode-scanner.component.ts +++ b/angular-js/src/app/barcode-scanner/barcode-scanner.component.ts @@ -4,20 +4,19 @@ import { Router } from "@angular/router"; import { ToastrService } from "ngx-toastr"; import { - Barcode, - BarcodeResult, - BarcodeScannerConfiguration, + BarcodeFormat, BarcodeItem, + BarcodeScannerConfiguration, BarcodeScannerResult, BarcodeScannerViewConfiguration, } from "scanbot-web-sdk/@types"; import { IBarcodePolygonHandle, - IBarcodePolygonLabelHandle + IBarcodePolygonLabelHandle, } from "scanbot-web-sdk/@types/model/configuration/selection-overlay-configuration"; -import { BarcodeFormat } from "scanbot-web-sdk/@types/model/barcode/barcode-format"; import { ScanbotSdkService } from "../service/scanbot-sdk-service"; import { DocumentRepository } from "../service/document-repository"; import { NavigationUtils } from "../service/navigation-utils"; import { Utils } from "../service/utils"; +import ScanbotSDK from "scanbot-web-sdk/webpack"; @Component({ selector: "app-barcode-scanner", @@ -58,7 +57,6 @@ export class BarcodeScannerComponent implements OnInit { async startScanner() { const barcodeFormats: BarcodeFormat[] = [ - "ONE_D", "AZTEC", "CODABAR", "CODE_39", @@ -68,12 +66,13 @@ export class BarcodeScannerComponent implements OnInit { "EAN_8", "EAN_13", "ITF", - "MAXICODE", + "MAXI_CODE", "PDF_417", "QR_CODE", + "DATABAR", + "DATABAR_EXPANDED", "UPC_A", "UPC_E", - "UPC_EAN_EXTENSION", "MSI_PLESSEY", "IATA_2_OF_5", "INDUSTRIAL_2_OF_5", @@ -84,28 +83,39 @@ export class BarcodeScannerComponent implements OnInit { "JAPAN_POST", "ROYAL_TNT_POST", "AUSTRALIA_POST", - "DATABAR", - "DATABAR_EXPANDED", "DATABAR_LIMITED", + "MICRO_PDF_417", "GS1_COMPOSITE", + "RMQR_CODE", + "CODE_11", + "CODE_32", + "PHARMA_CODE", + "PHARMA_CODE_TWO_TRACK", + "PZN" ]; const isOverlyScanner = this.isOverlayScanner(); - const configuration: BarcodeScannerConfiguration = { + const configuration: BarcodeScannerViewConfiguration = { onBarcodesDetected: this.onBarcodesDetected.bind(this), containerId: ScanbotSdkService.BARCODE_SCANNER_CONTAINER_ID, - barcodeFormats, + detectionParameters: { + barcodeFormatConfigurations: [ + new ScanbotSDK.Config.BarcodeFormatCommonConfiguration({ + formats: barcodeFormats + }) + ] + }, onError: this.barcodeScannerError.bind(this), preferredCamera: 'camera2 0, facing back', overlay: { visible: isOverlyScanner, - onBarcodeFound: (code: Barcode, polygon: IBarcodePolygonHandle, label: IBarcodePolygonLabelHandle) => { + onBarcodeFound: (code: BarcodeItem, polygon: IBarcodePolygonHandle, label: IBarcodePolygonLabelHandle) => { // You can override onBarcodeFound and create your own implementation for custom styling, e.g. // if you wish to only color in certain types of barcodes, you can find and pick them, as demonstrated below: if (code.format === "QR_CODE") { - polygon?.style({ fill: "rgba(255, 255, 0, 0.3)", stroke: "yellow" }) + polygon?.style({ fillColor: "rgba(255, 255, 0, 0.3)", strokeColor: "yellow" }); } } }, @@ -142,7 +152,7 @@ export class BarcodeScannerComponent implements OnInit { Utils.alert(e.name + ': ' + e.message); } - async onBarcodesDetected(result: BarcodeResult) { + async onBarcodesDetected(result: BarcodeScannerResult) { this.documents.addBarcodes(result.barcodes); this.toastr.success(Utils.formatBarcodes(result.barcodes), "Detected Barcodes!"); const counter = NavigationUtils.getElementByClassName("barcode-counter"); diff --git a/angular-js/src/app/document-scanner/document-scanner.component.ts b/angular-js/src/app/document-scanner/document-scanner.component.ts index 5756a4e2..6e774a03 100644 --- a/angular-js/src/app/document-scanner/document-scanner.component.ts +++ b/angular-js/src/app/document-scanner/document-scanner.component.ts @@ -1,7 +1,7 @@ import { Component, OnInit } from "@angular/core"; import { DocumentDetectionResult, - DocumentScannerConfiguration, + DocumentScannerConfiguration, DocumentScannerViewConfiguration, } from "scanbot-web-sdk/@types"; import { ScanbotSdkService } from "../service/scanbot-sdk-service"; import { Router } from "@angular/router"; @@ -45,22 +45,29 @@ export class DocumentScannerComponent implements OnInit { } async startScanner() { - const configuration: DocumentScannerConfiguration = { + const configuration: DocumentScannerViewConfiguration = { onDocumentDetected: this.onDocumentDetected.bind(this), containerId: ScanbotSdkService.CONTAINER_ID, text: { hint: { OK: "Capturing your document...", - OK_SmallSize: "The document is too small. Try moving closer.", - OK_BadAngles: + OK_BUT_TOO_SMALL: "The document is too small. Try moving closer.", + OK_BUT_BAD_ANGLES: "This is a bad camera angle. Hold the device straight over the document.", - OK_BadAspectRatio: + OK_BUT_BAD_ASPECT_RATIO: "Rotate the device sideways, so that the document fits better into the screen.", - OK_OffCenter: "Try holding the device at the center of the document.", - Error_NothingDetected: + OK_BUT_OFF_CENTER: "Try holding the device at the center of the document.", + OK_BUT_TOO_DARK: "It is too dark. Try turning on a light.", + ERROR_NOTHING_DETECTED: "Please hold the device over a document to start scanning.", - Error_Brightness: "It is too dark. Try turning on a light.", - Error_Noise: "Please move the document to a clear surface.", + ERROR_TOO_DARK: "It is too dark. Try turning on a light.", + ERROR_TOO_NOISY: "Please move the document to a clear surface.", + NOT_ACQUIRED: "Hold the device over a document to start scanning.", + OK_BUT_ORIENTATION_MISMATCH: "Please rotate the device to portrait mode.", + }, + initializing: { + enabled: true, + value: "Please wait a moment...", }, }, style: { @@ -69,7 +76,7 @@ export class DocumentScannerComponent implements OnInit { outline: { polygon: { strokeCapturing: "green", - strokeWidth: 4 + strokeWidthCapturing: 4 } } }, diff --git a/angular-js/src/app/home/home.component.ts b/angular-js/src/app/home/home.component.ts index ad292cad..bf176240 100644 --- a/angular-js/src/app/home/home.component.ts +++ b/angular-js/src/app/home/home.component.ts @@ -60,9 +60,9 @@ export class HomeComponent implements OnInit { const image = await ImageUtils.pick(ImageUtils.MIME_TYPE_JPEG); const contourDetectionResult = await this.sdk.detectDocument(image.original); - if (contourDetectionResult.success === true && contourDetectionResult.polygon) { - const cropped = await this.sdk.cropAndRotateImageCcw(image.original, contourDetectionResult.polygon, 0); - const documentDetectionResult = { ...contourDetectionResult, original: image.original, cropped: cropped }; + if (contourDetectionResult.status.startsWith('OK') === true && contourDetectionResult.pointsNormalized) { //TODO + const cropped = await this.sdk.cropAndRotateImageCcw(image.original, contourDetectionResult.pointsNormalized, 0); + const documentDetectionResult = { ...contourDetectionResult, original: image.original, cropped }; this.documents.add(documentDetectionResult); await Utils.alert("Detection successful"); @@ -72,10 +72,11 @@ export class HomeComponent implements OnInit { } if (e.id === FeatureId.BarcodePicker) { - const result = await ImageUtils.pick(ImageUtils.MIME_TYPE_JPEG, true); + const result = await ImageUtils.pick(ImageUtils.MIME_TYPE_JPEG); + console.log('result', result); const detection = await this.sdk?.detectBarcodes( - result.data + result.original ); if (detection !== undefined) { await Utils.alert(Utils.formatBarcodes(detection.barcodes)); diff --git a/angular-js/src/app/image-details/image-details.component.ts b/angular-js/src/app/image-details/image-details.component.ts index 47f3d0b1..0bc904d9 100644 --- a/angular-js/src/app/image-details/image-details.component.ts +++ b/angular-js/src/app/image-details/image-details.component.ts @@ -4,7 +4,6 @@ import { ScanbotSdkService } from "../service/scanbot-sdk-service"; import { DocumentRepository } from "../service/document-repository"; import { NavigationUtils } from "../service/navigation-utils"; import Swal from "sweetalert2"; -import { ImageFilter } from "scanbot-web-sdk/@types"; import { RoutePaths } from "../model/RoutePaths"; @Component({ diff --git a/angular-js/src/app/mrz-scanner/mrz-scanner.component.ts b/angular-js/src/app/mrz-scanner/mrz-scanner.component.ts index 9a803543..154162fa 100644 --- a/angular-js/src/app/mrz-scanner/mrz-scanner.component.ts +++ b/angular-js/src/app/mrz-scanner/mrz-scanner.component.ts @@ -4,7 +4,7 @@ import { ScanbotSdkService } from "../service/scanbot-sdk-service"; import { DocumentRepository } from "../service/document-repository"; import { NavigationUtils } from "../service/navigation-utils"; import { ToastrService } from "ngx-toastr"; -import { MrzResult } from "scanbot-web-sdk/@types/model/mrz/mrz-result"; +import { MrzScannerResult } from "scanbot-web-sdk/@types"; import { Utils } from "../service/utils"; @Component({ @@ -76,7 +76,7 @@ export class MrzScannerComponent implements OnInit { return input[key] ? (input[key].value + this.toConfidenceString(input, key)) : '' } - async onMrzDetected(mrz: MrzResult) { + async onMrzDetected(mrz: MrzScannerResult) { let text = ""; text += "Document Type: " + this.parseMRZValue(mrz, 'documentType') + "
"; diff --git a/angular-js/src/app/service/document-repository.ts b/angular-js/src/app/service/document-repository.ts index 106c966d..7acae692 100644 --- a/angular-js/src/app/service/document-repository.ts +++ b/angular-js/src/app/service/document-repository.ts @@ -1,14 +1,17 @@ import { Injectable } from "@angular/core"; -import { Barcode, Polygon } from "scanbot-web-sdk/@types"; +import { BarcodeItem, Image, Polygon } from "scanbot-web-sdk/@types"; +import type { } from "scanbot-web-sdk/@types/core-types"; @Injectable() export class DocumentRepository { - private readonly pages: any[]; - private activeIndex: number = -1; constructor() { this.pages = []; } + private readonly pages: any[]; + private activeIndex = -1; + + private readonly _barcodes: BarcodeItem[] = []; add(page: any) { this.pages.push(page); @@ -22,7 +25,7 @@ export class DocumentRepository { return this.pages; } - updateActiveItem(image: Uint8Array, polygon: Polygon, rotations: number) { + updateActiveItem(image: Image, polygon: Polygon, rotations: number) { this.pages[this.activeIndex].cropped = image; this.pages[this.activeIndex].polygon = polygon; this.pages[this.activeIndex].rotations = rotations; @@ -31,7 +34,7 @@ export class DocumentRepository { hasActiveItem() { return this.activeIndex !== -1; } - + getActiveItem() { return this.pages[this.activeIndex]; } @@ -45,10 +48,8 @@ export class DocumentRepository { this.activeIndex = index; } - private readonly _barcodes: Barcode[] = []; - - public addBarcodes(barcodes: Barcode[]) { - barcodes.forEach((barcode: Barcode) => { + public addBarcodes(barcodes: BarcodeItem[]) { + barcodes.forEach((barcode: BarcodeItem) => { this._barcodes.push(barcode); }); } diff --git a/angular-js/src/app/service/scanbot-sdk-service.ts b/angular-js/src/app/service/scanbot-sdk-service.ts index 33ae8ec9..f4e94b42 100644 --- a/angular-js/src/app/service/scanbot-sdk-service.ts +++ b/angular-js/src/app/service/scanbot-sdk-service.ts @@ -7,30 +7,29 @@ import ScanbotSDK from "scanbot-web-sdk/webpack"; import { IDocumentScannerHandle, ICroppingViewHandle, - DocumentScannerConfiguration, CroppingViewConfiguration, - PdfGenerationOptions, PdfGenerator, - TiffGenerationOptions, TiffGenerator, - BarcodeScannerConfiguration, IBarcodeScannerHandle, Polygon, - ContourDetectionResult, - BarcodeResult, - ITextDataScannerHandle, - TextDataScannerConfiguration + ITextPatternScannerHandle, + Image, + BarcodeScannerViewConfiguration, + DocumentScannerViewConfiguration, + MrzScannerViewConfiguration, + DocumentDataExtractorViewConfiguration, + PdfConfiguration, + TiffGeneratorParameters, + ParametricFilter, } from "scanbot-web-sdk/@types"; import { IMrzScannerHandle } from "scanbot-web-sdk/@types/interfaces/i-mrz-scanner-handle"; -import { MrzScannerConfiguration } from "scanbot-web-sdk/@types/model/configuration/mrz-scanner-configuration"; -import { BarcodeFormat } from "scanbot-web-sdk/@types/model/barcode/barcode-format"; -import { EngineMode } from "scanbot-web-sdk/@types/model/barcode/engine-mode"; import { IScannerCommon } from "scanbot-web-sdk/@types/interfaces/i-scanner-common-handle"; import { Utils } from "./utils"; @Injectable() export class ScanbotSdkService { + static CONTAINER_ID = "scanbot-camera-container"; static BARCODE_SCANNER_CONTAINER_ID = "barcode-scanner-container"; static MRZ_SCANNER_CONTAINER_ID = "mrz-scanner-container"; @@ -43,7 +42,7 @@ export class ScanbotSdkService { private documentScanner: IDocumentScannerHandle; private barcodeScanner: IBarcodeScannerHandle; private mrzScanner: IMrzScannerHandle; - private textDataScanner: ITextDataScannerHandle; + private textDataScanner: ITextPatternScannerHandle; private cropper: ICroppingViewHandle; isReady(): boolean { @@ -51,7 +50,7 @@ export class ScanbotSdkService { } constructor() { - const options = { licenseKey: "", engine: "assets/wasm" }; + const options = { licenseKey: "", enginePath: "assets/wasm" }; ScanbotSDK.initialize(options).then((result) => { this.instance = result; if (this.onReady) { @@ -60,13 +59,13 @@ export class ScanbotSdkService { }); } - async scanDocuments(configuration: DocumentScannerConfiguration) { + async scanDocuments(configuration: DocumentScannerViewConfiguration) { this.documentScanner = await this.instance.createDocumentScanner( configuration ); } - async scanBarcodes(configuration: BarcodeScannerConfiguration, finderVisible: boolean = true) { + async scanBarcodes(configuration: BarcodeScannerViewConfiguration, finderVisible: boolean = true) { this.barcodeScanner = await this.instance.createBarcodeScanner( configuration ); @@ -74,12 +73,12 @@ export class ScanbotSdkService { this.barcodeScanner.setFinderVisible(finderVisible); } - async scanMrz(configuration: MrzScannerConfiguration) { + async scanMrz(configuration: MrzScannerViewConfiguration) { this.mrzScanner = await this.instance.createMrzScanner(configuration); } - async scanTextData(configuration: TextDataScannerConfiguration) { - this.textDataScanner = await this.instance.createTextDataScanner(configuration); + async scanTextData(configuration: DocumentDataExtractorViewConfiguration) { + this.textDataScanner = await this.instance.createTextPatternScanner(configuration); } async setTextDataScannerDetectionStatus(pause: boolean) { @@ -135,7 +134,9 @@ export class ScanbotSdkService { async toDataUrl(page: any) { return await this.instance.toDataUrl( - page.filtered ?? page.cropped ?? page.original + await this.instance.imageToJpeg( + page.filtered ?? page.cropped ?? page.original + ) ); } @@ -144,8 +145,8 @@ export class ScanbotSdkService { } async generatePDF(pages: any[]) { - const options: PdfGenerationOptions = { - standardPaperSize: "A4", + const options: Partial = { + pageSize: "A4", pageDirection: "PORTRAIT" }; const generator: PdfGenerator = await this.instance.beginPdf(options); @@ -156,49 +157,46 @@ export class ScanbotSdkService { } async generateTIFF(pages: any[]) { - const options: TiffGenerationOptions = { + const options: Partial = { dpi: 123, }; const generator: TiffGenerator = await this.instance.beginTiff(options); for (const page of pages) { const image = page.cropped ?? page.original; - await generator.addPage(await this.applyFilter(image, "ScanbotBinarizationFilter")); + await generator.addPage(await this.applyFilter(image, new ScanbotSDK.Config.ScanbotBinarizationFilter())); } return await generator.complete(); } - public async applyFilter(image: ArrayBuffer, filter: keyof typeof ScanbotSDK.imageFilters) { - const imageProcessor = await this.instance.createImageProcessor(image); - await imageProcessor.applyFilter(new ScanbotSDK.imageFilters[filter]()); - const result = await imageProcessor.processedImage(); - await imageProcessor.release(); - return result; + public async applyFilter(image: ArrayBuffer, filter: ParametricFilter) { + return await this.instance.imageFilter(image, filter) } - public availableFilters(): ("none" | keyof typeof ScanbotSDK.imageFilters)[] { + public availableFilters(): ("none" | ParametricFilter)[] { return [ "none", - "ScanbotBinarizationFilter", - "GrayscaleFilter", - "ContrastFilter", - "ColorDocumentFilter", + new ScanbotSDK.Config.ScanbotBinarizationFilter(), + new ScanbotSDK.Config.GrayscaleFilter(), + new ScanbotSDK.Config.ContrastFilter(), + new ScanbotSDK.Config.ColorDocumentFilter(), ]; } - filterByIndex(value: string): "none" | keyof typeof ScanbotSDK.imageFilters { + filterByIndex(value: string): "none" | ParametricFilter { return this.availableFilters()[parseInt(value, 10)]; } - async detectBarcodes(base64: string, engineMode?: EngineMode, barcodeFormats?: BarcodeFormat[]): Promise { - return await this.instance!.detectBarcodes(base64, engineMode, barcodeFormats); + async detectBarcodes(image: Image) { + return await this.instance.detectBarcodes(image); } - async detectDocument(image: ArrayBuffer): Promise { - return await this.instance!.detectDocument(image); + async detectDocument(image: Image) { + return await this.instance.detectDocument(image); } - async cropAndRotateImageCcw(image: ArrayBuffer, polygon: Polygon, rotations: number): Promise { - return await this.instance!.cropAndRotateImageCcw(image, polygon, rotations); + async cropAndRotateImageCcw(image: ArrayBuffer, polygon: Polygon, rotations: number): Promise { + const cropped = await this.instance.imageCrop(image, polygon); + return await this.instance.imageRotate(cropped, ScanbotSDK.Config.ImageRotationValues[rotations % 4], 'CONSUME_IMAGE'); } public swapDocumentScannerCameraFacing() { @@ -238,7 +236,7 @@ export class ScanbotSdkService { if (cameras) { const currentCameraInfo = scanner?.getActiveCameraInfo(); if (currentCameraInfo) { - const cameraIndex = cameras.findIndex((cameraInfo) => { return cameraInfo.deviceId == currentCameraInfo.deviceId }); + const cameraIndex = cameras.findIndex((cameraInfo) => { return cameraInfo.deviceId === currentCameraInfo.deviceId }); const newCameraIndex = (cameraIndex + 1) % (cameras.length); await Utils.alertHtml( `Current camera: ${currentCameraInfo.label}.
Switching to: ${cameras[newCameraIndex].label}` diff --git a/angular-js/src/app/service/utils.ts b/angular-js/src/app/service/utils.ts index 28891bc9..9a48acc6 100644 --- a/angular-js/src/app/service/utils.ts +++ b/angular-js/src/app/service/utils.ts @@ -1,4 +1,4 @@ -import { Barcode } from "scanbot-web-sdk/@types"; +import { BarcodeItem } from "scanbot-web-sdk/@types"; import Swal from "sweetalert2"; export class Utils { @@ -14,11 +14,11 @@ export class Utils { return result; } - static formatBarcodes(codes: Barcode[]): string { + static formatBarcodes(codes: BarcodeItem[]): string { return JSON.stringify( - codes.map((code: Barcode) => { - if (code.parsedDocument) { - return code.parsedDocument; + codes.map((code: BarcodeItem) => { + if (code.extractedDocument) { + return code.extractedDocument; } else { return code.text + " (" + code.format + ") "; } @@ -31,6 +31,6 @@ export class Utils { } static async alertHtml(html: string) { - await Swal.fire({html: html}); + await Swal.fire({html}); } } diff --git a/angular-js/src/app/text-data-scanner/text-data-scanner.component.ts b/angular-js/src/app/text-data-scanner/text-data-scanner.component.ts index 4791dcc1..5a3a45fb 100644 --- a/angular-js/src/app/text-data-scanner/text-data-scanner.component.ts +++ b/angular-js/src/app/text-data-scanner/text-data-scanner.component.ts @@ -4,7 +4,7 @@ import { ScanbotSdkService } from "../service/scanbot-sdk-service"; import { DocumentRepository } from "../service/document-repository"; import { NavigationUtils } from "../service/navigation-utils"; import { ToastrService } from "ngx-toastr"; -import { TextDataScannerConfiguration, TextDataScannerResult } from "scanbot-web-sdk/@types"; +import { TextPatternScannerResult, TextPatternScannerViewConfiguration } from "scanbot-web-sdk/@types"; import { Utils } from "../service/utils"; @Component({ @@ -43,10 +43,9 @@ export class TextDataScannerComponent implements OnInit { } async startScanner() { - const configuration: TextDataScannerConfiguration = { + const configuration: TextPatternScannerViewConfiguration = { containerId: ScanbotSdkService.TEXTDATA_SCANNER_CONTAINER_ID, onTextDetected: this.onTextDetected.bind(this), - supportedLanguages: ['eng', 'deu'], onError: this.textDataScannerError.bind(this), preferredCamera: 'camera2 0, facing back' }; @@ -64,13 +63,13 @@ export class TextDataScannerComponent implements OnInit { alert(e.name + ': ' + e.message); } - async onTextDetected(textData: TextDataScannerResult) { + async onTextDetected(textData: TextPatternScannerResult) { if (!textData) return; - if (textData.validated) { + if (textData.validationSuccessful) { this.sdk.setTextDataScannerDetectionStatus(true); - await Utils.alert(textData.text); + await Utils.alert(textData.rawText); setTimeout(() => { this.sdk.setTextDataScannerDetectionStatus(false); diff --git a/angular-js/src/assets/.gitkeep b/angular-js/src/assets/wasm/.gitkeep similarity index 100% rename from angular-js/src/assets/.gitkeep rename to angular-js/src/assets/wasm/.gitkeep diff --git a/angular-js/tslint.json b/angular-js/tslint.json index 12adc2be..99a618f4 100644 --- a/angular-js/tslint.json +++ b/angular-js/tslint.json @@ -38,7 +38,7 @@ "object-literal-key-quotes": [true, "as-needed"], "object-literal-sort-keys": false, "ordered-imports": false, - "quotemark": [true, "single"], + "quotemark": [false, "single"], "trailing-comma": false, "no-conflicting-lifecycle": true, "no-host-metadata-property": true, diff --git a/next-js/package-lock.json b/next-js/package-lock.json index a7cffb4b..83f4daf0 100644 --- a/next-js/package-lock.json +++ b/next-js/package-lock.json @@ -14,7 +14,7 @@ "react-dom": "^18", "react-loading-skeleton": "^3.4.0", "react-toastify": "^10.0.4", - "scanbot-web-sdk": "5.1.3" + "scanbot-web-sdk": "7.0.0-rc.2" }, "devDependencies": { "@types/node": "^20", @@ -3331,9 +3331,10 @@ } }, "node_modules/scanbot-web-sdk": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/scanbot-web-sdk/-/scanbot-web-sdk-5.1.3.tgz", - "integrity": "sha512-liXDKYlPI9FMvNlsRDb2C9o9y9TdXZv5jPtsKH7vBxq10Tybglp18dhZYSNbDgRXHCn9aV4k4YFH94GfVo5WiA==" + "version": "7.0.0-rc.2", + "resolved": "https://registry.npmjs.org/scanbot-web-sdk/-/scanbot-web-sdk-7.0.0-rc.2.tgz", + "integrity": "sha512-ETgh0XQYe7GHwbUF1CEpdXw/HQ1RCZzRibkFsBKH3CyY+5YqllWuIj+pu8rRS1sOfWOyv8oCSCEnw9t/eBXz/Q==", + "license": "Commercial" }, "node_modules/scheduler": { "version": "0.23.0", diff --git a/next-js/package.json b/next-js/package.json index 1b1a8328..2a493d77 100644 --- a/next-js/package.json +++ b/next-js/package.json @@ -7,7 +7,7 @@ "build": "next build", "start": "next start", "lint": "next lint", - "postinstall": "cp -R node_modules/scanbot-web-sdk/bundle/bin/complete public/wasm" + "postinstall": "mkdir -p public/wasm/ && cp -R node_modules/scanbot-web-sdk/bundle/bin/complete/* public/wasm/" }, "dependencies": { "next": "14.1.0", @@ -15,7 +15,7 @@ "react-dom": "^18", "react-loading-skeleton": "^3.4.0", "react-toastify": "^10.0.4", - "scanbot-web-sdk": "5.1.3" + "scanbot-web-sdk": "7.0.0-rc.2" }, "devDependencies": { "@types/node": "^20", diff --git a/next-js/src/app/pages/barcode-scanner/page.tsx b/next-js/src/app/pages/barcode-scanner/page.tsx index 01d91b5b..2eb7e6b5 100644 --- a/next-js/src/app/pages/barcode-scanner/page.tsx +++ b/next-js/src/app/pages/barcode-scanner/page.tsx @@ -11,10 +11,14 @@ export default function BarcodeScanner() { useEffect(() => { ScanbotSDKService.instance.createBarcodeScanner("barcode-scanner", async (barcode) => { - const base64Image = await ScanbotSDKService.instance.sdk?.toDataUrl(barcode.barcodeImage); - toast(`Detected code: ${barcode.text} (${barcode.format})`, { - icon: ({theme, type}) => X - }); + if (barcode.sourceImage) { + const base64Image = await ScanbotSDKService.instance.sdk?.toDataUrl( + await ScanbotSDKService.instance.sdk?.imageToJpeg(barcode.sourceImage) + ); + toast(`Detected code: ${barcode.text} (${barcode.format})`, { + icon: ({ theme, type }) => X + }); + } }); return () => { diff --git a/next-js/src/app/services/scanbot-sdk-service.ts b/next-js/src/app/services/scanbot-sdk-service.ts index fa094603..c548fa22 100644 --- a/next-js/src/app/services/scanbot-sdk-service.ts +++ b/next-js/src/app/services/scanbot-sdk-service.ts @@ -2,12 +2,7 @@ import ScanbotSDK from "scanbot-web-sdk"; import { IBarcodeScannerHandle } from "scanbot-web-sdk/@types/interfaces/i-barcode-scanner-handle"; import { ICroppingViewHandle } from "scanbot-web-sdk/@types/interfaces/i-cropping-view-handle"; import { IDocumentScannerHandle } from "scanbot-web-sdk/@types/interfaces/i-document-scanner-handle"; -import { Barcode } from "scanbot-web-sdk/@types/model/barcode/barcode"; -import { BarcodeResult } from "scanbot-web-sdk/@types/model/barcode/barcode-result"; -import { BarcodeScannerConfiguration } from "scanbot-web-sdk/@types/model/configuration/barcode-scanner-configuration"; -import { CroppingViewConfiguration } from "scanbot-web-sdk/@types/model/configuration/cropping-view-configuration"; -import { DocumentScannerConfiguration } from "scanbot-web-sdk/@types/model/configuration/document-scanner-configuration"; -import { DocumentDetectionResult } from "scanbot-web-sdk/@types/model/document/document-detection-result"; +import { BarcodeItem, BarcodeScannerViewConfiguration, CroppedDetectionResult, CroppingViewConfiguration, DocumentScannerViewConfiguration } from "scanbot-web-sdk/@types"; export default class ScanbotSDKService { @@ -40,7 +35,7 @@ export default class ScanbotSDKService { this.sdk = await sdk.initialize({ licenseKey: this.LICENSE_KEY, - engine: "wasm", + enginePath: "/wasm", }); } @@ -55,14 +50,16 @@ export default class ScanbotSDKService { */ await this.initialize(); - const config: DocumentScannerConfiguration = { + const config: DocumentScannerViewConfiguration = { containerId: containerId, - onDocumentDetected: async (e: DocumentDetectionResult) => { + onDocumentDetected: async (e) => { // Assign each document resul an identifier to access its details later // and pre-process the image into a base64 string for display const id = (Math.random() + 1).toString(36).substring(7); - const base64 = await ScanbotSDKService.instance.sdk!.toDataUrl(e.cropped ?? e.original); + const base64 = await ScanbotSDKService.instance.sdk!.toDataUrl( + await ScanbotSDKService.instance.sdk!.imageToJpeg(e.croppedImage ?? e.originalImage) + ); this.documents.push({ id: id, image: base64, result: e }); // Make use of ScanbotSDK utility function flash to indicate that a document has been detected @@ -77,7 +74,7 @@ export default class ScanbotSDKService { outline: { polygon: { strokeCapturing: "green", - strokeWidth: 4, + strokeWidthCapturing: 2, }, }, }, @@ -85,14 +82,14 @@ export default class ScanbotSDKService { this.documentScanner = await this.sdk?.createDocumentScanner(config); } - async createBarcodeScanner(containerId: string, onBarcodeFound: (code: Barcode) => void) { + async createBarcodeScanner(containerId: string, onBarcodeFound: (code: BarcodeItem) => void) { /* * Ensure the SDK is initialized. If it's initialized, this function does nothing, * but is necessary e.g. when opening the barcode url scanner directly. */ await this.initialize(); - const config: BarcodeScannerConfiguration = { + const config: BarcodeScannerViewConfiguration = { containerId: containerId, overlay: { visible: true, @@ -110,8 +107,7 @@ export default class ScanbotSDKService { onBarcodeFound(code); }, }, - returnBarcodeImage: true, - onBarcodesDetected: (e: BarcodeResult) => { + onBarcodesDetected: (e) => { // Process the result as you see fit console.log("Detected barcodes: ", e.barcodes); }, @@ -160,8 +156,8 @@ export default class ScanbotSDKService { const configuration: CroppingViewConfiguration = { containerId: containerId, - image: document.original as Uint8Array, - polygon: document.polygon, + image: document.originalImage, + polygon: document.pointsNormalized, disableScroll: true, // rotations: document.rotations ?? 0, style: { @@ -198,10 +194,12 @@ export default class ScanbotSDKService { if (!document) { return; } - document.result!.cropped = result?.image; - document.result!.polygon = result?.polygon; + document.result!.croppedImage = result?.image ?? null; + document.result!.pointsNormalized = result?.polygon ?? []; - document.image = await ScanbotSDKService.instance.sdk!.toDataUrl(result?.image!); + document.image = await ScanbotSDKService.instance.sdk!.toDataUrl( + await ScanbotSDKService.instance.sdk!.imageToJpeg(result?.image!) + ); this.onCropApplied(); } } @@ -213,5 +211,7 @@ export default class ScanbotSDKService { export class ScanbotDocument { id?: string; image?: string; - result?: DocumentDetectionResult; -} \ No newline at end of file + result?: Writeable; +} + +type Writeable = { -readonly [P in keyof T]: T[P] }; \ No newline at end of file diff --git a/plain-js/download-sdk.sh b/plain-js/download-sdk.sh index b981797b..83efefa0 100755 --- a/plain-js/download-sdk.sh +++ b/plain-js/download-sdk.sh @@ -2,7 +2,7 @@ set -e -VERSION=5.1.3 +VERSION=7.0.0-rc.2 rm -rf scanbot-web-sdk/ @@ -10,4 +10,4 @@ mkdir -p scanbot-web-sdk/ cd scanbot-web-sdk npm pack scanbot-web-sdk@${VERSION} tar -xf scanbot-web-sdk-${VERSION}.tgz --strip-components=2 package/bundle -rm scanbot-web-sdk-${VERSION}.tgz \ No newline at end of file +rm scanbot-web-sdk-${VERSION}.tgz diff --git a/plain-js/index.html b/plain-js/index.html index 4ca900f6..141aa9c4 100644 --- a/plain-js/index.html +++ b/plain-js/index.html @@ -32,7 +32,7 @@
Barcode Scanner
Barcode Scanner with AR Overlay
MRZ Scanner
-
Text Data Scanner
+
Text Pattern Scanner
Pick Document Image
Pick Barcode Image
Document Results
@@ -120,7 +120,7 @@
-
+