├── .gitignore ├── CODEOWNERS ├── LICENSE ├── LICENSES └── Apache-2.0.txt ├── README.md ├── REUSE.toml ├── application.png ├── applications ├── vite │ ├── index.html │ ├── main.js │ ├── package-lock.json │ ├── package.json │ └── public │ │ ├── i18n │ │ ├── i18n.properties │ │ ├── i18n_de.properties │ │ └── i18n_en.properties │ │ └── sap.png └── vue │ ├── .gitignore │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ └── i18n │ │ ├── i18n.properties │ │ ├── i18n_de.properties │ │ └── i18n_en.properties │ ├── src │ ├── App.vue │ └── main.js │ └── vite.config.js ├── extensions └── vanilla-data-binding │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── src │ └── index.js │ └── tsconfig.json ├── package-lock.json └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | !vanilla-data-binding/dist/ 3 | 4 | node_modules/ 5 | .DS_Store 6 | 7 | .vscode/ -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * nicolai.schoenteich@sap.com -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /LICENSES/Apache-2.0.txt: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![REUSE status](https://api.reuse.software/badge/github.com/SAP-samples/ui5-webcomponents-data-binding-example)](https://api.reuse.software/info/github.com/SAP-samples/ui5-webcomponents-data-binding-example) 2 | 3 | # UI5 Web Components Data Binding Example 4 | 5 | This repository contains two sample applications that use the [UI5 Web Components](https://sap.github.io/ui5-webcomponents/) in a very lightweight and performant way. While taking an as-lightweight-as-possible approach is great for performance, user and developer experience are just as important. To satisfy the latter, the applications additionally show how to implement **data binding** with UI5 Web Components using 6 | 7 | 1. [a custom approach](/extensions/vanilla-data-binding/) (see [vite application](#vite-application)) 8 | 2. [the Vue framework](https://vuejs.org/guide/essentials/template-syntax.html) (see [vue application](#vue-application)). 9 | 10 | [Data Binding](https://sapui5.hana.ondemand.com/sdk/#/topic/68b9644a253741e8a4b9e4279a35c247) is a much beloved feature of the UI5 framework, which the applications in this repository do not use. This repository aims to showcase the performance, power, flexibility, compatibility and ease of use of the UI5 Web Components on their own. 11 | 12 | ## Overview 13 | 14 | Both applications in this repository have the same content. They display a simple list of products with a few interactive buttons. It has similarities to the [SAP Fiori list report](https://experience.sap.com/fiori-design-web/list-report-floorplan-sap-fiori-element/) and [object page](https://experience.sap.com/fiori-design-web/object-page/) floorplans. 15 | 16 | ![screen shot](/application.png) 17 | 18 | ### Vite Application 19 | 20 | The [vite application](/applications/vite/) does not use any framework - [vite](https://vitejs.dev/) is only used as a web server and build tool. This makes the application very lightweight and performant - reaching a lighthouse performance score of up to 97. The application implements custom data binding - including list bindings, property bindings and i18n (internationalization). For more information visit the [vanilla-data-binding](/extensions/vanilla-data-binding/) section. 21 | 22 | ### Vue Application 23 | 24 | The [Vue application](/applications/vue/) uses the built-in data binding capabilities of [Vue 3](https://vuejs.org/). Vue's [template syntax](https://vuejs.org/guide/essentials/template-syntax.html) is similar to property bindings and its [list rendering](https://vuejs.org/guide/essentials/list.html) is similar to list bindings. A component's [reactive state](https://vuejs.org/guide/essentials/reactivity-fundamentals.html) can be a data object, which is similar to creating data model. 25 | 26 | ## Requirements 27 | 28 | [Node.js](https://nodejs.org/en/download) version 16 or higher is required to run this project. 29 | 30 | ## Download and Installation 31 | 32 | 1. Clone this repository (or a forked version of it). 33 | 1. In the project's root directory, run `npm install`. 34 | 1. To start the dev server of one application, run `npm run vite` or `npm run vue`. 35 | 36 | The best performance can be achieved when the applications get built: 37 | 38 | 1. To build both applications, run `npm run build`. 39 | 1. To serve the static build result of one application, run `npm run vite:dist` or `npm run vue:dist`. 40 | 41 | ## Support 42 | [Create an issue](https://github.com/SAP-samples/ui5-webcomponents-data-binding-example/issues) in this repository if you find a bug or have questions about the content. 43 | 44 | For additional support, [ask a question in SAP Community](https://answers.sap.com/questions/ask.html). 45 | 46 | ## Contributing 47 | If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses [the standard DCO text of the Linux Foundation](https://developercertificate.org/). 48 | 49 | ## License 50 | Copyright (c) 2023 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the [LICENSE](LICENSE) file. 51 | -------------------------------------------------------------------------------- /REUSE.toml: -------------------------------------------------------------------------------- 1 | version = 1 2 | SPDX-PackageName = "ui5-webcomponents-data-binding-example" 3 | SPDX-PackageSupplier = "Nico Schoenteich (nicolai.schoenteich@sap.com)" 4 | SPDX-PackageDownloadLocation = "" 5 | SPDX-PackageComment = "The code in this project may include calls to APIs (\"API Calls\") of\n SAP or third-party products or services developed outside of this project\n (\"External Products\").\n \"APIs\" means application programming interfaces, as well as their respective\n specifications and implementing code that allows software to communicate with\n other software.\n API Calls to External Products are not licensed under the open source license\n that governs this project. The use of such API Calls and related External\n Products are subject to applicable additional agreements with the relevant\n provider of the External Products. In no event shall the open source license\n that governs this project grant any rights in or to any External Products,or\n alter, expand or supersede any terms of the applicable additional agreements.\n If you have a valid license agreement with SAP for the use of a particular SAP\n External Product, then you may make use of any API Calls included in this\n project's code for that SAP External Product, subject to the terms of such\n license agreement. If you do not have a valid license agreement for the use of\n a particular SAP External Product, then you may only make use of any API Calls\n in this project for that SAP External Product for your internal, non-productive\n and non-commercial test and evaluation of such API Calls. Nothing herein grants\n you any rights to use or access any SAP External Product, or provide any third\n parties the right to use of access any SAP External Product, through API Calls." 6 | 7 | [[annotations]] 8 | path = "**" 9 | precedence = "aggregate" 10 | SPDX-FileCopyrightText = "2023 SAP SE or an SAP affiliate company and ui5-webcomponents-data-binding-example contributors" 11 | SPDX-License-Identifier = "Apache-2.0" 12 | -------------------------------------------------------------------------------- /application.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/ui5-webcomponents-data-binding-example/d5100f34224a18bfa40be27a8415febd25c9efcd/application.png -------------------------------------------------------------------------------- /applications/vite/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Example 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |
58 |
59 |
60 |
61 | 62 | 63 |
64 | 65 |
66 | 67 | 68 |
69 | 70 |
71 |
72 |
73 | 74 |
75 | 76 |
77 |
78 |
79 | 80 | 81 | 82 | 83 | 156 | 157 | -------------------------------------------------------------------------------- /applications/vite/main.js: -------------------------------------------------------------------------------- 1 | import { i18nModel, JSONModel } from "vanilla-data-binding" 2 | 3 | import "@ui5/webcomponents-fiori/dist/FlexibleColumnLayout.js" 4 | import "@ui5/webcomponents-fiori/dist/ShellBar" 5 | import "@ui5/webcomponents/dist/Title.js" 6 | import "@ui5/webcomponents/dist/Label.js" 7 | import "@ui5/webcomponents/dist/Button.js" 8 | import "@ui5/webcomponents/dist/Table.js"; 9 | import "@ui5/webcomponents/dist/TableColumn.js"; 10 | import "@ui5/webcomponents/dist/TableRow.js"; 11 | import "@ui5/webcomponents/dist/TableCell.js"; 12 | 13 | import "@ui5/webcomponents-icons/dist/full-screen"; 14 | import "@ui5/webcomponents-icons/dist/exit-full-screen"; 15 | import "@ui5/webcomponents-icons/dist/navigation-right-arrow"; 16 | 17 | const init = async () => { 18 | const i18n = new i18nModel(true) // set to true so we can await the init 19 | await i18n.initialize() 20 | 21 | const data = { 22 | name: "Supermarket123 🛒 ", 23 | products: [ 24 | { name: i18n.data.VanillaIceCream, quantity: 100 }, 25 | { name: i18n.data.Bananas, quantity: 8 }, 26 | { name: i18n.data.Apples, quantity: 3 } 27 | ] 28 | } 29 | 30 | const model = new JSONModel("supermarket", data) 31 | 32 | const fcl = document.querySelector("#fcl") 33 | const openMidColumn = (e) => { 34 | fcl.layout = "TwoColumnsMidExpanded" 35 | const boundData = model.getBoundData(e.target) 36 | model.setProperty("context", boundData) 37 | } 38 | 39 | document.querySelector("#change-button").addEventListener("click", (e) => { 40 | let apples = i18n.data["Apples"] 41 | apples = apples.replace("🍎", "🍏") 42 | model.setProperty("products/2/name", apples) 43 | }) 44 | 45 | document.querySelector("#add-button").addEventListener("click", (e) => { 46 | const newNode = model.appendListItem("products", { name: i18n.data.Apples, quantity: 4 }) 47 | newNode.addEventListener("click", openMidColumn) 48 | }) 49 | 50 | document.querySelectorAll(".list-item").forEach(item => item.addEventListener("click", openMidColumn)) 51 | 52 | document.querySelector("#closeMidColumn").addEventListener("click", (e) => { 53 | fcl.layout = "OneColumn" 54 | document.querySelector("#openMidColumn").icon = "full-screen" 55 | }) 56 | 57 | document.querySelector("#openMidColumn").addEventListener("click", (e) => { 58 | if (fcl.layout === "MidColumnFullScreen") { 59 | fcl.layout = "TwoColumnsMidExpanded" 60 | e.target.icon = "full-screen" 61 | } else { 62 | fcl.layout = "MidColumnFullScreen" 63 | e.target.icon = "exit-full-screen" 64 | } 65 | }) 66 | 67 | document.querySelector("#bar").addEventListener("click", (e) => { 68 | console.log(model.getBoundData(e.target)) 69 | }) 70 | } 71 | init() 72 | 73 | import "@ui5/webcomponents/dist/Assets.js" 74 | import "@ui5/webcomponents/dist/generated/json-imports/Themes.js" 75 | import "@ui5/webcomponents-fiori/dist/generated/json-imports/Themes.js" 76 | import { setTheme } from "@ui5/webcomponents-base/dist/config/Theme.js" 77 | setTheme("sap_horizon_dark") 78 | 79 | -------------------------------------------------------------------------------- /applications/vite/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "version": "0.0.0", 4 | "lockfileVersion": 2, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "example", 9 | "version": "0.0.0", 10 | "dependencies": { 11 | "@ui5/webcomponents": "^1.14.2", 12 | "@ui5/webcomponents-base": "^1.14.2", 13 | "@ui5/webcomponents-fiori": "^1.14.2" 14 | }, 15 | "devDependencies": { 16 | "serve": "^14.2.0", 17 | "vite": "^4.3.2" 18 | } 19 | }, 20 | "node_modules/@esbuild/android-arm": { 21 | "version": "0.17.19", 22 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", 23 | "integrity": "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==", 24 | "cpu": [ 25 | "arm" 26 | ], 27 | "dev": true, 28 | "optional": true, 29 | "os": [ 30 | "android" 31 | ], 32 | "engines": { 33 | "node": ">=12" 34 | } 35 | }, 36 | "node_modules/@esbuild/android-arm64": { 37 | "version": "0.17.19", 38 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz", 39 | "integrity": "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==", 40 | "cpu": [ 41 | "arm64" 42 | ], 43 | "dev": true, 44 | "optional": true, 45 | "os": [ 46 | "android" 47 | ], 48 | "engines": { 49 | "node": ">=12" 50 | } 51 | }, 52 | "node_modules/@esbuild/android-x64": { 53 | "version": "0.17.19", 54 | "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.19.tgz", 55 | "integrity": "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==", 56 | "cpu": [ 57 | "x64" 58 | ], 59 | "dev": true, 60 | "optional": true, 61 | "os": [ 62 | "android" 63 | ], 64 | "engines": { 65 | "node": ">=12" 66 | } 67 | }, 68 | "node_modules/@esbuild/darwin-arm64": { 69 | "version": "0.17.19", 70 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz", 71 | "integrity": "sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==", 72 | "cpu": [ 73 | "arm64" 74 | ], 75 | "dev": true, 76 | "optional": true, 77 | "os": [ 78 | "darwin" 79 | ], 80 | "engines": { 81 | "node": ">=12" 82 | } 83 | }, 84 | "node_modules/@esbuild/darwin-x64": { 85 | "version": "0.17.19", 86 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz", 87 | "integrity": "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==", 88 | "cpu": [ 89 | "x64" 90 | ], 91 | "dev": true, 92 | "optional": true, 93 | "os": [ 94 | "darwin" 95 | ], 96 | "engines": { 97 | "node": ">=12" 98 | } 99 | }, 100 | "node_modules/@esbuild/freebsd-arm64": { 101 | "version": "0.17.19", 102 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz", 103 | "integrity": "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==", 104 | "cpu": [ 105 | "arm64" 106 | ], 107 | "dev": true, 108 | "optional": true, 109 | "os": [ 110 | "freebsd" 111 | ], 112 | "engines": { 113 | "node": ">=12" 114 | } 115 | }, 116 | "node_modules/@esbuild/freebsd-x64": { 117 | "version": "0.17.19", 118 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz", 119 | "integrity": "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==", 120 | "cpu": [ 121 | "x64" 122 | ], 123 | "dev": true, 124 | "optional": true, 125 | "os": [ 126 | "freebsd" 127 | ], 128 | "engines": { 129 | "node": ">=12" 130 | } 131 | }, 132 | "node_modules/@esbuild/linux-arm": { 133 | "version": "0.17.19", 134 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz", 135 | "integrity": "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==", 136 | "cpu": [ 137 | "arm" 138 | ], 139 | "dev": true, 140 | "optional": true, 141 | "os": [ 142 | "linux" 143 | ], 144 | "engines": { 145 | "node": ">=12" 146 | } 147 | }, 148 | "node_modules/@esbuild/linux-arm64": { 149 | "version": "0.17.19", 150 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz", 151 | "integrity": "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==", 152 | "cpu": [ 153 | "arm64" 154 | ], 155 | "dev": true, 156 | "optional": true, 157 | "os": [ 158 | "linux" 159 | ], 160 | "engines": { 161 | "node": ">=12" 162 | } 163 | }, 164 | "node_modules/@esbuild/linux-ia32": { 165 | "version": "0.17.19", 166 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz", 167 | "integrity": "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==", 168 | "cpu": [ 169 | "ia32" 170 | ], 171 | "dev": true, 172 | "optional": true, 173 | "os": [ 174 | "linux" 175 | ], 176 | "engines": { 177 | "node": ">=12" 178 | } 179 | }, 180 | "node_modules/@esbuild/linux-loong64": { 181 | "version": "0.17.19", 182 | "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz", 183 | "integrity": "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==", 184 | "cpu": [ 185 | "loong64" 186 | ], 187 | "dev": true, 188 | "optional": true, 189 | "os": [ 190 | "linux" 191 | ], 192 | "engines": { 193 | "node": ">=12" 194 | } 195 | }, 196 | "node_modules/@esbuild/linux-mips64el": { 197 | "version": "0.17.19", 198 | "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz", 199 | "integrity": "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==", 200 | "cpu": [ 201 | "mips64el" 202 | ], 203 | "dev": true, 204 | "optional": true, 205 | "os": [ 206 | "linux" 207 | ], 208 | "engines": { 209 | "node": ">=12" 210 | } 211 | }, 212 | "node_modules/@esbuild/linux-ppc64": { 213 | "version": "0.17.19", 214 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz", 215 | "integrity": "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==", 216 | "cpu": [ 217 | "ppc64" 218 | ], 219 | "dev": true, 220 | "optional": true, 221 | "os": [ 222 | "linux" 223 | ], 224 | "engines": { 225 | "node": ">=12" 226 | } 227 | }, 228 | "node_modules/@esbuild/linux-riscv64": { 229 | "version": "0.17.19", 230 | "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz", 231 | "integrity": "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==", 232 | "cpu": [ 233 | "riscv64" 234 | ], 235 | "dev": true, 236 | "optional": true, 237 | "os": [ 238 | "linux" 239 | ], 240 | "engines": { 241 | "node": ">=12" 242 | } 243 | }, 244 | "node_modules/@esbuild/linux-s390x": { 245 | "version": "0.17.19", 246 | "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz", 247 | "integrity": "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==", 248 | "cpu": [ 249 | "s390x" 250 | ], 251 | "dev": true, 252 | "optional": true, 253 | "os": [ 254 | "linux" 255 | ], 256 | "engines": { 257 | "node": ">=12" 258 | } 259 | }, 260 | "node_modules/@esbuild/linux-x64": { 261 | "version": "0.17.19", 262 | "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz", 263 | "integrity": "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==", 264 | "cpu": [ 265 | "x64" 266 | ], 267 | "dev": true, 268 | "optional": true, 269 | "os": [ 270 | "linux" 271 | ], 272 | "engines": { 273 | "node": ">=12" 274 | } 275 | }, 276 | "node_modules/@esbuild/netbsd-x64": { 277 | "version": "0.17.19", 278 | "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz", 279 | "integrity": "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==", 280 | "cpu": [ 281 | "x64" 282 | ], 283 | "dev": true, 284 | "optional": true, 285 | "os": [ 286 | "netbsd" 287 | ], 288 | "engines": { 289 | "node": ">=12" 290 | } 291 | }, 292 | "node_modules/@esbuild/openbsd-x64": { 293 | "version": "0.17.19", 294 | "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz", 295 | "integrity": "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==", 296 | "cpu": [ 297 | "x64" 298 | ], 299 | "dev": true, 300 | "optional": true, 301 | "os": [ 302 | "openbsd" 303 | ], 304 | "engines": { 305 | "node": ">=12" 306 | } 307 | }, 308 | "node_modules/@esbuild/sunos-x64": { 309 | "version": "0.17.19", 310 | "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz", 311 | "integrity": "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==", 312 | "cpu": [ 313 | "x64" 314 | ], 315 | "dev": true, 316 | "optional": true, 317 | "os": [ 318 | "sunos" 319 | ], 320 | "engines": { 321 | "node": ">=12" 322 | } 323 | }, 324 | "node_modules/@esbuild/win32-arm64": { 325 | "version": "0.17.19", 326 | "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz", 327 | "integrity": "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==", 328 | "cpu": [ 329 | "arm64" 330 | ], 331 | "dev": true, 332 | "optional": true, 333 | "os": [ 334 | "win32" 335 | ], 336 | "engines": { 337 | "node": ">=12" 338 | } 339 | }, 340 | "node_modules/@esbuild/win32-ia32": { 341 | "version": "0.17.19", 342 | "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz", 343 | "integrity": "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==", 344 | "cpu": [ 345 | "ia32" 346 | ], 347 | "dev": true, 348 | "optional": true, 349 | "os": [ 350 | "win32" 351 | ], 352 | "engines": { 353 | "node": ">=12" 354 | } 355 | }, 356 | "node_modules/@esbuild/win32-x64": { 357 | "version": "0.17.19", 358 | "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz", 359 | "integrity": "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==", 360 | "cpu": [ 361 | "x64" 362 | ], 363 | "dev": true, 364 | "optional": true, 365 | "os": [ 366 | "win32" 367 | ], 368 | "engines": { 369 | "node": ">=12" 370 | } 371 | }, 372 | "node_modules/@sap-theming/theming-base-content": { 373 | "version": "11.4.2", 374 | "resolved": "https://registry.npmjs.org/@sap-theming/theming-base-content/-/theming-base-content-11.4.2.tgz", 375 | "integrity": "sha512-luXKyJP0AGxM2S+8aIGOi4eOz/zREftntF9CY4F6xuRBLDmnzRB0Z/OxA2t3lBr6qjDhcmowG8/BVz6XDZXy0g==" 376 | }, 377 | "node_modules/@types/jquery": { 378 | "version": "3.5.16", 379 | "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.16.tgz", 380 | "integrity": "sha512-bsI7y4ZgeMkmpG9OM710RRzDFp+w4P1RGiIt30C1mSBT+ExCleeh4HObwgArnDFELmRrOpXgSYN9VF1hj+f1lw==", 381 | "dependencies": { 382 | "@types/sizzle": "*" 383 | } 384 | }, 385 | "node_modules/@types/openui5": { 386 | "version": "1.115.0", 387 | "resolved": "https://registry.npmjs.org/@types/openui5/-/openui5-1.115.0.tgz", 388 | "integrity": "sha512-DieBcgIzhcR2yk+6OUPo+H8NMSInnDNGe6hOYFD/46wRcJzY3QMNKBJZ0AMPI7JaX9a2fkGVpFKlMBCGF+Njmw==", 389 | "dependencies": { 390 | "@types/jquery": "*", 391 | "@types/qunit": "*" 392 | } 393 | }, 394 | "node_modules/@types/qunit": { 395 | "version": "2.19.6", 396 | "resolved": "https://registry.npmjs.org/@types/qunit/-/qunit-2.19.6.tgz", 397 | "integrity": "sha512-bz9STa6EHurtpSfn5cNiScBladlw43bM+7luQA985Kd9YlF4dZaLmKt3c5/oSyN1AWAl50YBpqTq0BxCP64nGg==" 398 | }, 399 | "node_modules/@types/sizzle": { 400 | "version": "2.3.3", 401 | "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.3.tgz", 402 | "integrity": "sha512-JYM8x9EGF163bEyhdJBpR2QX1R5naCJHC8ucJylJ3w9/CVBaskdQ8WqBf8MmQrd1kRvp/a4TS8HJ+bxzR7ZJYQ==" 403 | }, 404 | "node_modules/@types/trusted-types": { 405 | "version": "2.0.3", 406 | "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.3.tgz", 407 | "integrity": "sha512-NfQ4gyz38SL8sDNrSixxU2Os1a5xcdFxipAFxYEuLUlvU2uDwS4NUpsImcf1//SlWItCVMMLiylsxbmNMToV/g==" 408 | }, 409 | "node_modules/@ui5/webcomponents": { 410 | "version": "1.14.2", 411 | "resolved": "https://registry.npmjs.org/@ui5/webcomponents/-/webcomponents-1.14.2.tgz", 412 | "integrity": "sha512-f8LCeZvBRKQLli18igJkQppce7y4UYt/lm5hxbdkwbinshLqnWGg3iy9KlJyQUloTsQkYmlPcBzrPnwUc47c0w==", 413 | "dependencies": { 414 | "@ui5/webcomponents-base": "1.14.2", 415 | "@ui5/webcomponents-icons": "1.14.2", 416 | "@ui5/webcomponents-localization": "1.14.2", 417 | "@ui5/webcomponents-theming": "1.14.2" 418 | } 419 | }, 420 | "node_modules/@ui5/webcomponents-base": { 421 | "version": "1.14.2", 422 | "resolved": "https://registry.npmjs.org/@ui5/webcomponents-base/-/webcomponents-base-1.14.2.tgz", 423 | "integrity": "sha512-kxdvo5hN+Dx0IAPDraOc3ShNXoTeVNEL+AY0zjvQ6Qfllch40bZfpRA0bnhi3Nr4WIZ6BLJjV8Q5cW1TyvKm1g==", 424 | "dependencies": { 425 | "lit-html": "^2.0.1" 426 | } 427 | }, 428 | "node_modules/@ui5/webcomponents-fiori": { 429 | "version": "1.14.2", 430 | "resolved": "https://registry.npmjs.org/@ui5/webcomponents-fiori/-/webcomponents-fiori-1.14.2.tgz", 431 | "integrity": "sha512-DxSxTmkWRR/atBJ3/rjXr06gQ9fUH47PhF6OXukq2j5EkyL0lYUIDDkawJazoZr17YKjQsVNK2lJNqWD2mCsgw==", 432 | "dependencies": { 433 | "@ui5/webcomponents": "1.14.2", 434 | "@ui5/webcomponents-base": "1.14.2", 435 | "@ui5/webcomponents-icons": "1.14.2", 436 | "@ui5/webcomponents-theming": "1.14.2", 437 | "@zxing/library": "^0.17.1" 438 | } 439 | }, 440 | "node_modules/@ui5/webcomponents-icons": { 441 | "version": "1.14.2", 442 | "resolved": "https://registry.npmjs.org/@ui5/webcomponents-icons/-/webcomponents-icons-1.14.2.tgz", 443 | "integrity": "sha512-NqW7OAEwxRtLs5xhV5jDTZAY0tRXroT/K1SQdDhhTaII9e5XyCA+MDTeU4/bBNRL3AfooB59sggUv3GPVVSW6w==", 444 | "dependencies": { 445 | "@ui5/webcomponents-base": "1.14.2" 446 | } 447 | }, 448 | "node_modules/@ui5/webcomponents-localization": { 449 | "version": "1.14.2", 450 | "resolved": "https://registry.npmjs.org/@ui5/webcomponents-localization/-/webcomponents-localization-1.14.2.tgz", 451 | "integrity": "sha512-Li/bnLb9uk4HInbzrznnjzK/VcasQ8npLaBTofpV6aoqN0omq6T+neRIPWSfX/362XHkKdlcRC7YzvcFTHm8/Q==", 452 | "dependencies": { 453 | "@types/openui5": "^1.113.0", 454 | "@ui5/webcomponents-base": "1.14.2" 455 | } 456 | }, 457 | "node_modules/@ui5/webcomponents-theming": { 458 | "version": "1.14.2", 459 | "resolved": "https://registry.npmjs.org/@ui5/webcomponents-theming/-/webcomponents-theming-1.14.2.tgz", 460 | "integrity": "sha512-hkVqG74oRnZ+AtbkXmccMoZ/+0v3/lCNOmba1XiQqQjlzGqWQsXrbNIW2MkBXBItZZp5HJlTIE3pEo9HQYIdwQ==", 461 | "dependencies": { 462 | "@sap-theming/theming-base-content": "11.4.2", 463 | "@ui5/webcomponents-base": "1.14.2" 464 | } 465 | }, 466 | "node_modules/@zeit/schemas": { 467 | "version": "2.29.0", 468 | "resolved": "https://registry.npmjs.org/@zeit/schemas/-/schemas-2.29.0.tgz", 469 | "integrity": "sha512-g5QiLIfbg3pLuYUJPlisNKY+epQJTcMDsOnVNkscrDP1oi7vmJnzOANYJI/1pZcVJ6umUkBv3aFtlg1UvUHGzA==", 470 | "dev": true 471 | }, 472 | "node_modules/@zxing/library": { 473 | "version": "0.17.1", 474 | "resolved": "https://registry.npmjs.org/@zxing/library/-/library-0.17.1.tgz", 475 | "integrity": "sha512-RuiBZuteGaFXCle/b0X+g3peN8UpDc3pGe/J7hZBzKWaMZLbjensR7ja3vy47xWhXU4e8MICGqegPMxc2V2sow==", 476 | "dependencies": { 477 | "ts-custom-error": "^3.0.0" 478 | }, 479 | "engines": { 480 | "node": ">= 10.4.0" 481 | }, 482 | "optionalDependencies": { 483 | "@zxing/text-encoding": "~0.9.0" 484 | } 485 | }, 486 | "node_modules/@zxing/text-encoding": { 487 | "version": "0.9.0", 488 | "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", 489 | "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==", 490 | "optional": true 491 | }, 492 | "node_modules/accepts": { 493 | "version": "1.3.8", 494 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 495 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", 496 | "dev": true, 497 | "dependencies": { 498 | "mime-types": "~2.1.34", 499 | "negotiator": "0.6.3" 500 | }, 501 | "engines": { 502 | "node": ">= 0.6" 503 | } 504 | }, 505 | "node_modules/ajv": { 506 | "version": "8.11.0", 507 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", 508 | "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", 509 | "dev": true, 510 | "dependencies": { 511 | "fast-deep-equal": "^3.1.1", 512 | "json-schema-traverse": "^1.0.0", 513 | "require-from-string": "^2.0.2", 514 | "uri-js": "^4.2.2" 515 | }, 516 | "funding": { 517 | "type": "github", 518 | "url": "https://github.com/sponsors/epoberezkin" 519 | } 520 | }, 521 | "node_modules/ansi-align": { 522 | "version": "3.0.1", 523 | "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", 524 | "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", 525 | "dev": true, 526 | "dependencies": { 527 | "string-width": "^4.1.0" 528 | } 529 | }, 530 | "node_modules/ansi-align/node_modules/ansi-regex": { 531 | "version": "5.0.1", 532 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 533 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 534 | "dev": true, 535 | "engines": { 536 | "node": ">=8" 537 | } 538 | }, 539 | "node_modules/ansi-align/node_modules/emoji-regex": { 540 | "version": "8.0.0", 541 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 542 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 543 | "dev": true 544 | }, 545 | "node_modules/ansi-align/node_modules/string-width": { 546 | "version": "4.2.3", 547 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 548 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 549 | "dev": true, 550 | "dependencies": { 551 | "emoji-regex": "^8.0.0", 552 | "is-fullwidth-code-point": "^3.0.0", 553 | "strip-ansi": "^6.0.1" 554 | }, 555 | "engines": { 556 | "node": ">=8" 557 | } 558 | }, 559 | "node_modules/ansi-align/node_modules/strip-ansi": { 560 | "version": "6.0.1", 561 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 562 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 563 | "dev": true, 564 | "dependencies": { 565 | "ansi-regex": "^5.0.1" 566 | }, 567 | "engines": { 568 | "node": ">=8" 569 | } 570 | }, 571 | "node_modules/ansi-regex": { 572 | "version": "6.0.1", 573 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", 574 | "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", 575 | "dev": true, 576 | "engines": { 577 | "node": ">=12" 578 | }, 579 | "funding": { 580 | "url": "https://github.com/chalk/ansi-regex?sponsor=1" 581 | } 582 | }, 583 | "node_modules/ansi-styles": { 584 | "version": "6.2.1", 585 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", 586 | "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", 587 | "dev": true, 588 | "engines": { 589 | "node": ">=12" 590 | }, 591 | "funding": { 592 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 593 | } 594 | }, 595 | "node_modules/arch": { 596 | "version": "2.2.0", 597 | "resolved": "https://registry.npmjs.org/arch/-/arch-2.2.0.tgz", 598 | "integrity": "sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==", 599 | "dev": true, 600 | "funding": [ 601 | { 602 | "type": "github", 603 | "url": "https://github.com/sponsors/feross" 604 | }, 605 | { 606 | "type": "patreon", 607 | "url": "https://www.patreon.com/feross" 608 | }, 609 | { 610 | "type": "consulting", 611 | "url": "https://feross.org/support" 612 | } 613 | ] 614 | }, 615 | "node_modules/arg": { 616 | "version": "5.0.2", 617 | "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", 618 | "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", 619 | "dev": true 620 | }, 621 | "node_modules/balanced-match": { 622 | "version": "1.0.2", 623 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 624 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 625 | "dev": true 626 | }, 627 | "node_modules/boxen": { 628 | "version": "7.0.0", 629 | "resolved": "https://registry.npmjs.org/boxen/-/boxen-7.0.0.tgz", 630 | "integrity": "sha512-j//dBVuyacJbvW+tvZ9HuH03fZ46QcaKvvhZickZqtB271DxJ7SNRSNxrV/dZX0085m7hISRZWbzWlJvx/rHSg==", 631 | "dev": true, 632 | "dependencies": { 633 | "ansi-align": "^3.0.1", 634 | "camelcase": "^7.0.0", 635 | "chalk": "^5.0.1", 636 | "cli-boxes": "^3.0.0", 637 | "string-width": "^5.1.2", 638 | "type-fest": "^2.13.0", 639 | "widest-line": "^4.0.1", 640 | "wrap-ansi": "^8.0.1" 641 | }, 642 | "engines": { 643 | "node": ">=14.16" 644 | }, 645 | "funding": { 646 | "url": "https://github.com/sponsors/sindresorhus" 647 | } 648 | }, 649 | "node_modules/brace-expansion": { 650 | "version": "1.1.11", 651 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 652 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 653 | "dev": true, 654 | "dependencies": { 655 | "balanced-match": "^1.0.0", 656 | "concat-map": "0.0.1" 657 | } 658 | }, 659 | "node_modules/bytes": { 660 | "version": "3.0.0", 661 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", 662 | "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==", 663 | "dev": true, 664 | "engines": { 665 | "node": ">= 0.8" 666 | } 667 | }, 668 | "node_modules/camelcase": { 669 | "version": "7.0.1", 670 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-7.0.1.tgz", 671 | "integrity": "sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==", 672 | "dev": true, 673 | "engines": { 674 | "node": ">=14.16" 675 | }, 676 | "funding": { 677 | "url": "https://github.com/sponsors/sindresorhus" 678 | } 679 | }, 680 | "node_modules/chalk": { 681 | "version": "5.0.1", 682 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.0.1.tgz", 683 | "integrity": "sha512-Fo07WOYGqMfCWHOzSXOt2CxDbC6skS/jO9ynEcmpANMoPrD+W1r1K6Vx7iNm+AQmETU1Xr2t+n8nzkV9t6xh3w==", 684 | "dev": true, 685 | "engines": { 686 | "node": "^12.17.0 || ^14.13 || >=16.0.0" 687 | }, 688 | "funding": { 689 | "url": "https://github.com/chalk/chalk?sponsor=1" 690 | } 691 | }, 692 | "node_modules/chalk-template": { 693 | "version": "0.4.0", 694 | "resolved": "https://registry.npmjs.org/chalk-template/-/chalk-template-0.4.0.tgz", 695 | "integrity": "sha512-/ghrgmhfY8RaSdeo43hNXxpoHAtxdbskUHjPpfqUWGttFgycUhYPGx3YZBCnUCvOa7Doivn1IZec3DEGFoMgLg==", 696 | "dev": true, 697 | "dependencies": { 698 | "chalk": "^4.1.2" 699 | }, 700 | "engines": { 701 | "node": ">=12" 702 | }, 703 | "funding": { 704 | "url": "https://github.com/chalk/chalk-template?sponsor=1" 705 | } 706 | }, 707 | "node_modules/chalk-template/node_modules/ansi-styles": { 708 | "version": "4.3.0", 709 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 710 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 711 | "dev": true, 712 | "dependencies": { 713 | "color-convert": "^2.0.1" 714 | }, 715 | "engines": { 716 | "node": ">=8" 717 | }, 718 | "funding": { 719 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 720 | } 721 | }, 722 | "node_modules/chalk-template/node_modules/chalk": { 723 | "version": "4.1.2", 724 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 725 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 726 | "dev": true, 727 | "dependencies": { 728 | "ansi-styles": "^4.1.0", 729 | "supports-color": "^7.1.0" 730 | }, 731 | "engines": { 732 | "node": ">=10" 733 | }, 734 | "funding": { 735 | "url": "https://github.com/chalk/chalk?sponsor=1" 736 | } 737 | }, 738 | "node_modules/cli-boxes": { 739 | "version": "3.0.0", 740 | "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-3.0.0.tgz", 741 | "integrity": "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==", 742 | "dev": true, 743 | "engines": { 744 | "node": ">=10" 745 | }, 746 | "funding": { 747 | "url": "https://github.com/sponsors/sindresorhus" 748 | } 749 | }, 750 | "node_modules/clipboardy": { 751 | "version": "3.0.0", 752 | "resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-3.0.0.tgz", 753 | "integrity": "sha512-Su+uU5sr1jkUy1sGRpLKjKrvEOVXgSgiSInwa/qeID6aJ07yh+5NWc3h2QfjHjBnfX4LhtFcuAWKUsJ3r+fjbg==", 754 | "dev": true, 755 | "dependencies": { 756 | "arch": "^2.2.0", 757 | "execa": "^5.1.1", 758 | "is-wsl": "^2.2.0" 759 | }, 760 | "engines": { 761 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 762 | }, 763 | "funding": { 764 | "url": "https://github.com/sponsors/sindresorhus" 765 | } 766 | }, 767 | "node_modules/color-convert": { 768 | "version": "2.0.1", 769 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 770 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 771 | "dev": true, 772 | "dependencies": { 773 | "color-name": "~1.1.4" 774 | }, 775 | "engines": { 776 | "node": ">=7.0.0" 777 | } 778 | }, 779 | "node_modules/color-name": { 780 | "version": "1.1.4", 781 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 782 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 783 | "dev": true 784 | }, 785 | "node_modules/compressible": { 786 | "version": "2.0.18", 787 | "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", 788 | "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", 789 | "dev": true, 790 | "dependencies": { 791 | "mime-db": ">= 1.43.0 < 2" 792 | }, 793 | "engines": { 794 | "node": ">= 0.6" 795 | } 796 | }, 797 | "node_modules/compression": { 798 | "version": "1.7.4", 799 | "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", 800 | "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", 801 | "dev": true, 802 | "dependencies": { 803 | "accepts": "~1.3.5", 804 | "bytes": "3.0.0", 805 | "compressible": "~2.0.16", 806 | "debug": "2.6.9", 807 | "on-headers": "~1.0.2", 808 | "safe-buffer": "5.1.2", 809 | "vary": "~1.1.2" 810 | }, 811 | "engines": { 812 | "node": ">= 0.8.0" 813 | } 814 | }, 815 | "node_modules/concat-map": { 816 | "version": "0.0.1", 817 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 818 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 819 | "dev": true 820 | }, 821 | "node_modules/content-disposition": { 822 | "version": "0.5.2", 823 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", 824 | "integrity": "sha512-kRGRZw3bLlFISDBgwTSA1TMBFN6J6GWDeubmDE3AF+3+yXL8hTWv8r5rkLbqYXY4RjPk/EzHnClI3zQf1cFmHA==", 825 | "dev": true, 826 | "engines": { 827 | "node": ">= 0.6" 828 | } 829 | }, 830 | "node_modules/cross-spawn": { 831 | "version": "7.0.3", 832 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 833 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 834 | "dev": true, 835 | "dependencies": { 836 | "path-key": "^3.1.0", 837 | "shebang-command": "^2.0.0", 838 | "which": "^2.0.1" 839 | }, 840 | "engines": { 841 | "node": ">= 8" 842 | } 843 | }, 844 | "node_modules/debug": { 845 | "version": "2.6.9", 846 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 847 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 848 | "dev": true, 849 | "dependencies": { 850 | "ms": "2.0.0" 851 | } 852 | }, 853 | "node_modules/deep-extend": { 854 | "version": "0.6.0", 855 | "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", 856 | "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", 857 | "dev": true, 858 | "engines": { 859 | "node": ">=4.0.0" 860 | } 861 | }, 862 | "node_modules/eastasianwidth": { 863 | "version": "0.2.0", 864 | "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", 865 | "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", 866 | "dev": true 867 | }, 868 | "node_modules/emoji-regex": { 869 | "version": "9.2.2", 870 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", 871 | "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", 872 | "dev": true 873 | }, 874 | "node_modules/esbuild": { 875 | "version": "0.17.19", 876 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.19.tgz", 877 | "integrity": "sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==", 878 | "dev": true, 879 | "hasInstallScript": true, 880 | "bin": { 881 | "esbuild": "bin/esbuild" 882 | }, 883 | "engines": { 884 | "node": ">=12" 885 | }, 886 | "optionalDependencies": { 887 | "@esbuild/android-arm": "0.17.19", 888 | "@esbuild/android-arm64": "0.17.19", 889 | "@esbuild/android-x64": "0.17.19", 890 | "@esbuild/darwin-arm64": "0.17.19", 891 | "@esbuild/darwin-x64": "0.17.19", 892 | "@esbuild/freebsd-arm64": "0.17.19", 893 | "@esbuild/freebsd-x64": "0.17.19", 894 | "@esbuild/linux-arm": "0.17.19", 895 | "@esbuild/linux-arm64": "0.17.19", 896 | "@esbuild/linux-ia32": "0.17.19", 897 | "@esbuild/linux-loong64": "0.17.19", 898 | "@esbuild/linux-mips64el": "0.17.19", 899 | "@esbuild/linux-ppc64": "0.17.19", 900 | "@esbuild/linux-riscv64": "0.17.19", 901 | "@esbuild/linux-s390x": "0.17.19", 902 | "@esbuild/linux-x64": "0.17.19", 903 | "@esbuild/netbsd-x64": "0.17.19", 904 | "@esbuild/openbsd-x64": "0.17.19", 905 | "@esbuild/sunos-x64": "0.17.19", 906 | "@esbuild/win32-arm64": "0.17.19", 907 | "@esbuild/win32-ia32": "0.17.19", 908 | "@esbuild/win32-x64": "0.17.19" 909 | } 910 | }, 911 | "node_modules/execa": { 912 | "version": "5.1.1", 913 | "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", 914 | "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", 915 | "dev": true, 916 | "dependencies": { 917 | "cross-spawn": "^7.0.3", 918 | "get-stream": "^6.0.0", 919 | "human-signals": "^2.1.0", 920 | "is-stream": "^2.0.0", 921 | "merge-stream": "^2.0.0", 922 | "npm-run-path": "^4.0.1", 923 | "onetime": "^5.1.2", 924 | "signal-exit": "^3.0.3", 925 | "strip-final-newline": "^2.0.0" 926 | }, 927 | "engines": { 928 | "node": ">=10" 929 | }, 930 | "funding": { 931 | "url": "https://github.com/sindresorhus/execa?sponsor=1" 932 | } 933 | }, 934 | "node_modules/fast-deep-equal": { 935 | "version": "3.1.3", 936 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 937 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 938 | "dev": true 939 | }, 940 | "node_modules/fast-url-parser": { 941 | "version": "1.1.3", 942 | "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz", 943 | "integrity": "sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ==", 944 | "dev": true, 945 | "dependencies": { 946 | "punycode": "^1.3.2" 947 | } 948 | }, 949 | "node_modules/fsevents": { 950 | "version": "2.3.2", 951 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 952 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 953 | "dev": true, 954 | "hasInstallScript": true, 955 | "optional": true, 956 | "os": [ 957 | "darwin" 958 | ], 959 | "engines": { 960 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 961 | } 962 | }, 963 | "node_modules/get-stream": { 964 | "version": "6.0.1", 965 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", 966 | "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", 967 | "dev": true, 968 | "engines": { 969 | "node": ">=10" 970 | }, 971 | "funding": { 972 | "url": "https://github.com/sponsors/sindresorhus" 973 | } 974 | }, 975 | "node_modules/has-flag": { 976 | "version": "4.0.0", 977 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 978 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 979 | "dev": true, 980 | "engines": { 981 | "node": ">=8" 982 | } 983 | }, 984 | "node_modules/human-signals": { 985 | "version": "2.1.0", 986 | "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", 987 | "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", 988 | "dev": true, 989 | "engines": { 990 | "node": ">=10.17.0" 991 | } 992 | }, 993 | "node_modules/ini": { 994 | "version": "1.3.8", 995 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", 996 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", 997 | "dev": true 998 | }, 999 | "node_modules/is-docker": { 1000 | "version": "2.2.1", 1001 | "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", 1002 | "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", 1003 | "dev": true, 1004 | "bin": { 1005 | "is-docker": "cli.js" 1006 | }, 1007 | "engines": { 1008 | "node": ">=8" 1009 | }, 1010 | "funding": { 1011 | "url": "https://github.com/sponsors/sindresorhus" 1012 | } 1013 | }, 1014 | "node_modules/is-fullwidth-code-point": { 1015 | "version": "3.0.0", 1016 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1017 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 1018 | "dev": true, 1019 | "engines": { 1020 | "node": ">=8" 1021 | } 1022 | }, 1023 | "node_modules/is-port-reachable": { 1024 | "version": "4.0.0", 1025 | "resolved": "https://registry.npmjs.org/is-port-reachable/-/is-port-reachable-4.0.0.tgz", 1026 | "integrity": "sha512-9UoipoxYmSk6Xy7QFgRv2HDyaysmgSG75TFQs6S+3pDM7ZhKTF/bskZV+0UlABHzKjNVhPjYCLfeZUEg1wXxig==", 1027 | "dev": true, 1028 | "engines": { 1029 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 1030 | }, 1031 | "funding": { 1032 | "url": "https://github.com/sponsors/sindresorhus" 1033 | } 1034 | }, 1035 | "node_modules/is-stream": { 1036 | "version": "2.0.1", 1037 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", 1038 | "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", 1039 | "dev": true, 1040 | "engines": { 1041 | "node": ">=8" 1042 | }, 1043 | "funding": { 1044 | "url": "https://github.com/sponsors/sindresorhus" 1045 | } 1046 | }, 1047 | "node_modules/is-wsl": { 1048 | "version": "2.2.0", 1049 | "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", 1050 | "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", 1051 | "dev": true, 1052 | "dependencies": { 1053 | "is-docker": "^2.0.0" 1054 | }, 1055 | "engines": { 1056 | "node": ">=8" 1057 | } 1058 | }, 1059 | "node_modules/isexe": { 1060 | "version": "2.0.0", 1061 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1062 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 1063 | "dev": true 1064 | }, 1065 | "node_modules/json-schema-traverse": { 1066 | "version": "1.0.0", 1067 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", 1068 | "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", 1069 | "dev": true 1070 | }, 1071 | "node_modules/lit-html": { 1072 | "version": "2.7.4", 1073 | "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-2.7.4.tgz", 1074 | "integrity": "sha512-/Jw+FBpeEN+z8X6PJva5n7+0MzCVAH2yypN99qHYYkq8bI+j7I39GH+68Z/MZD6rGKDK9RpzBw7CocfmHfq6+g==", 1075 | "dependencies": { 1076 | "@types/trusted-types": "^2.0.2" 1077 | } 1078 | }, 1079 | "node_modules/merge-stream": { 1080 | "version": "2.0.0", 1081 | "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", 1082 | "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", 1083 | "dev": true 1084 | }, 1085 | "node_modules/mime-db": { 1086 | "version": "1.52.0", 1087 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 1088 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 1089 | "dev": true, 1090 | "engines": { 1091 | "node": ">= 0.6" 1092 | } 1093 | }, 1094 | "node_modules/mime-types": { 1095 | "version": "2.1.35", 1096 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 1097 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 1098 | "dev": true, 1099 | "dependencies": { 1100 | "mime-db": "1.52.0" 1101 | }, 1102 | "engines": { 1103 | "node": ">= 0.6" 1104 | } 1105 | }, 1106 | "node_modules/mimic-fn": { 1107 | "version": "2.1.0", 1108 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", 1109 | "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", 1110 | "dev": true, 1111 | "engines": { 1112 | "node": ">=6" 1113 | } 1114 | }, 1115 | "node_modules/minimatch": { 1116 | "version": "3.1.2", 1117 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1118 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1119 | "dev": true, 1120 | "dependencies": { 1121 | "brace-expansion": "^1.1.7" 1122 | }, 1123 | "engines": { 1124 | "node": "*" 1125 | } 1126 | }, 1127 | "node_modules/minimist": { 1128 | "version": "1.2.8", 1129 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", 1130 | "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", 1131 | "dev": true, 1132 | "funding": { 1133 | "url": "https://github.com/sponsors/ljharb" 1134 | } 1135 | }, 1136 | "node_modules/ms": { 1137 | "version": "2.0.0", 1138 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1139 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", 1140 | "dev": true 1141 | }, 1142 | "node_modules/nanoid": { 1143 | "version": "3.3.6", 1144 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", 1145 | "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", 1146 | "dev": true, 1147 | "funding": [ 1148 | { 1149 | "type": "github", 1150 | "url": "https://github.com/sponsors/ai" 1151 | } 1152 | ], 1153 | "bin": { 1154 | "nanoid": "bin/nanoid.cjs" 1155 | }, 1156 | "engines": { 1157 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" 1158 | } 1159 | }, 1160 | "node_modules/negotiator": { 1161 | "version": "0.6.3", 1162 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", 1163 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", 1164 | "dev": true, 1165 | "engines": { 1166 | "node": ">= 0.6" 1167 | } 1168 | }, 1169 | "node_modules/npm-run-path": { 1170 | "version": "4.0.1", 1171 | "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", 1172 | "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", 1173 | "dev": true, 1174 | "dependencies": { 1175 | "path-key": "^3.0.0" 1176 | }, 1177 | "engines": { 1178 | "node": ">=8" 1179 | } 1180 | }, 1181 | "node_modules/on-headers": { 1182 | "version": "1.0.2", 1183 | "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", 1184 | "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", 1185 | "dev": true, 1186 | "engines": { 1187 | "node": ">= 0.8" 1188 | } 1189 | }, 1190 | "node_modules/onetime": { 1191 | "version": "5.1.2", 1192 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", 1193 | "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", 1194 | "dev": true, 1195 | "dependencies": { 1196 | "mimic-fn": "^2.1.0" 1197 | }, 1198 | "engines": { 1199 | "node": ">=6" 1200 | }, 1201 | "funding": { 1202 | "url": "https://github.com/sponsors/sindresorhus" 1203 | } 1204 | }, 1205 | "node_modules/path-is-inside": { 1206 | "version": "1.0.2", 1207 | "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", 1208 | "integrity": "sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w==", 1209 | "dev": true 1210 | }, 1211 | "node_modules/path-key": { 1212 | "version": "3.1.1", 1213 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 1214 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 1215 | "dev": true, 1216 | "engines": { 1217 | "node": ">=8" 1218 | } 1219 | }, 1220 | "node_modules/path-to-regexp": { 1221 | "version": "2.2.1", 1222 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-2.2.1.tgz", 1223 | "integrity": "sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ==", 1224 | "dev": true 1225 | }, 1226 | "node_modules/picocolors": { 1227 | "version": "1.0.0", 1228 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", 1229 | "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", 1230 | "dev": true 1231 | }, 1232 | "node_modules/postcss": { 1233 | "version": "8.4.23", 1234 | "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.23.tgz", 1235 | "integrity": "sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==", 1236 | "dev": true, 1237 | "funding": [ 1238 | { 1239 | "type": "opencollective", 1240 | "url": "https://opencollective.com/postcss/" 1241 | }, 1242 | { 1243 | "type": "tidelift", 1244 | "url": "https://tidelift.com/funding/github/npm/postcss" 1245 | }, 1246 | { 1247 | "type": "github", 1248 | "url": "https://github.com/sponsors/ai" 1249 | } 1250 | ], 1251 | "dependencies": { 1252 | "nanoid": "^3.3.6", 1253 | "picocolors": "^1.0.0", 1254 | "source-map-js": "^1.0.2" 1255 | }, 1256 | "engines": { 1257 | "node": "^10 || ^12 || >=14" 1258 | } 1259 | }, 1260 | "node_modules/punycode": { 1261 | "version": "1.4.1", 1262 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", 1263 | "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==", 1264 | "dev": true 1265 | }, 1266 | "node_modules/range-parser": { 1267 | "version": "1.2.0", 1268 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", 1269 | "integrity": "sha512-kA5WQoNVo4t9lNx2kQNFCxKeBl5IbbSNBl1M/tLkw9WCn+hxNBAW5Qh8gdhs63CJnhjJ2zQWFoqPJP2sK1AV5A==", 1270 | "dev": true, 1271 | "engines": { 1272 | "node": ">= 0.6" 1273 | } 1274 | }, 1275 | "node_modules/rc": { 1276 | "version": "1.2.8", 1277 | "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", 1278 | "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", 1279 | "dev": true, 1280 | "dependencies": { 1281 | "deep-extend": "^0.6.0", 1282 | "ini": "~1.3.0", 1283 | "minimist": "^1.2.0", 1284 | "strip-json-comments": "~2.0.1" 1285 | }, 1286 | "bin": { 1287 | "rc": "cli.js" 1288 | } 1289 | }, 1290 | "node_modules/registry-auth-token": { 1291 | "version": "3.3.2", 1292 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz", 1293 | "integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==", 1294 | "dev": true, 1295 | "dependencies": { 1296 | "rc": "^1.1.6", 1297 | "safe-buffer": "^5.0.1" 1298 | } 1299 | }, 1300 | "node_modules/registry-url": { 1301 | "version": "3.1.0", 1302 | "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz", 1303 | "integrity": "sha512-ZbgR5aZEdf4UKZVBPYIgaglBmSF2Hi94s2PcIHhRGFjKYu+chjJdYfHn4rt3hB6eCKLJ8giVIIfgMa1ehDfZKA==", 1304 | "dev": true, 1305 | "dependencies": { 1306 | "rc": "^1.0.1" 1307 | }, 1308 | "engines": { 1309 | "node": ">=0.10.0" 1310 | } 1311 | }, 1312 | "node_modules/require-from-string": { 1313 | "version": "2.0.2", 1314 | "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", 1315 | "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", 1316 | "dev": true, 1317 | "engines": { 1318 | "node": ">=0.10.0" 1319 | } 1320 | }, 1321 | "node_modules/rollup": { 1322 | "version": "3.23.0", 1323 | "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.23.0.tgz", 1324 | "integrity": "sha512-h31UlwEi7FHihLe1zbk+3Q7z1k/84rb9BSwmBSr/XjOCEaBJ2YyedQDuM0t/kfOS0IxM+vk1/zI9XxYj9V+NJQ==", 1325 | "dev": true, 1326 | "bin": { 1327 | "rollup": "dist/bin/rollup" 1328 | }, 1329 | "engines": { 1330 | "node": ">=14.18.0", 1331 | "npm": ">=8.0.0" 1332 | }, 1333 | "optionalDependencies": { 1334 | "fsevents": "~2.3.2" 1335 | } 1336 | }, 1337 | "node_modules/safe-buffer": { 1338 | "version": "5.1.2", 1339 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1340 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 1341 | "dev": true 1342 | }, 1343 | "node_modules/serve": { 1344 | "version": "14.2.0", 1345 | "resolved": "https://registry.npmjs.org/serve/-/serve-14.2.0.tgz", 1346 | "integrity": "sha512-+HOw/XK1bW8tw5iBilBz/mJLWRzM8XM6MPxL4J/dKzdxq1vfdEWSwhaR7/yS8EJp5wzvP92p1qirysJvnEtjXg==", 1347 | "dev": true, 1348 | "dependencies": { 1349 | "@zeit/schemas": "2.29.0", 1350 | "ajv": "8.11.0", 1351 | "arg": "5.0.2", 1352 | "boxen": "7.0.0", 1353 | "chalk": "5.0.1", 1354 | "chalk-template": "0.4.0", 1355 | "clipboardy": "3.0.0", 1356 | "compression": "1.7.4", 1357 | "is-port-reachable": "4.0.0", 1358 | "serve-handler": "6.1.5", 1359 | "update-check": "1.5.4" 1360 | }, 1361 | "bin": { 1362 | "serve": "build/main.js" 1363 | }, 1364 | "engines": { 1365 | "node": ">= 14" 1366 | } 1367 | }, 1368 | "node_modules/serve-handler": { 1369 | "version": "6.1.5", 1370 | "resolved": "https://registry.npmjs.org/serve-handler/-/serve-handler-6.1.5.tgz", 1371 | "integrity": "sha512-ijPFle6Hwe8zfmBxJdE+5fta53fdIY0lHISJvuikXB3VYFafRjMRpOffSPvCYsbKyBA7pvy9oYr/BT1O3EArlg==", 1372 | "dev": true, 1373 | "dependencies": { 1374 | "bytes": "3.0.0", 1375 | "content-disposition": "0.5.2", 1376 | "fast-url-parser": "1.1.3", 1377 | "mime-types": "2.1.18", 1378 | "minimatch": "3.1.2", 1379 | "path-is-inside": "1.0.2", 1380 | "path-to-regexp": "2.2.1", 1381 | "range-parser": "1.2.0" 1382 | } 1383 | }, 1384 | "node_modules/serve-handler/node_modules/mime-db": { 1385 | "version": "1.33.0", 1386 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", 1387 | "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==", 1388 | "dev": true, 1389 | "engines": { 1390 | "node": ">= 0.6" 1391 | } 1392 | }, 1393 | "node_modules/serve-handler/node_modules/mime-types": { 1394 | "version": "2.1.18", 1395 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", 1396 | "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", 1397 | "dev": true, 1398 | "dependencies": { 1399 | "mime-db": "~1.33.0" 1400 | }, 1401 | "engines": { 1402 | "node": ">= 0.6" 1403 | } 1404 | }, 1405 | "node_modules/shebang-command": { 1406 | "version": "2.0.0", 1407 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 1408 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 1409 | "dev": true, 1410 | "dependencies": { 1411 | "shebang-regex": "^3.0.0" 1412 | }, 1413 | "engines": { 1414 | "node": ">=8" 1415 | } 1416 | }, 1417 | "node_modules/shebang-regex": { 1418 | "version": "3.0.0", 1419 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 1420 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 1421 | "dev": true, 1422 | "engines": { 1423 | "node": ">=8" 1424 | } 1425 | }, 1426 | "node_modules/signal-exit": { 1427 | "version": "3.0.7", 1428 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", 1429 | "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", 1430 | "dev": true 1431 | }, 1432 | "node_modules/source-map-js": { 1433 | "version": "1.0.2", 1434 | "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", 1435 | "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", 1436 | "dev": true, 1437 | "engines": { 1438 | "node": ">=0.10.0" 1439 | } 1440 | }, 1441 | "node_modules/string-width": { 1442 | "version": "5.1.2", 1443 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", 1444 | "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", 1445 | "dev": true, 1446 | "dependencies": { 1447 | "eastasianwidth": "^0.2.0", 1448 | "emoji-regex": "^9.2.2", 1449 | "strip-ansi": "^7.0.1" 1450 | }, 1451 | "engines": { 1452 | "node": ">=12" 1453 | }, 1454 | "funding": { 1455 | "url": "https://github.com/sponsors/sindresorhus" 1456 | } 1457 | }, 1458 | "node_modules/strip-ansi": { 1459 | "version": "7.1.0", 1460 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", 1461 | "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", 1462 | "dev": true, 1463 | "dependencies": { 1464 | "ansi-regex": "^6.0.1" 1465 | }, 1466 | "engines": { 1467 | "node": ">=12" 1468 | }, 1469 | "funding": { 1470 | "url": "https://github.com/chalk/strip-ansi?sponsor=1" 1471 | } 1472 | }, 1473 | "node_modules/strip-final-newline": { 1474 | "version": "2.0.0", 1475 | "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", 1476 | "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", 1477 | "dev": true, 1478 | "engines": { 1479 | "node": ">=6" 1480 | } 1481 | }, 1482 | "node_modules/strip-json-comments": { 1483 | "version": "2.0.1", 1484 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 1485 | "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", 1486 | "dev": true, 1487 | "engines": { 1488 | "node": ">=0.10.0" 1489 | } 1490 | }, 1491 | "node_modules/supports-color": { 1492 | "version": "7.2.0", 1493 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1494 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1495 | "dev": true, 1496 | "dependencies": { 1497 | "has-flag": "^4.0.0" 1498 | }, 1499 | "engines": { 1500 | "node": ">=8" 1501 | } 1502 | }, 1503 | "node_modules/ts-custom-error": { 1504 | "version": "3.3.1", 1505 | "resolved": "https://registry.npmjs.org/ts-custom-error/-/ts-custom-error-3.3.1.tgz", 1506 | "integrity": "sha512-5OX1tzOjxWEgsr/YEUWSuPrQ00deKLh6D7OTWcvNHm12/7QPyRh8SYpyWvA4IZv8H/+GQWQEh/kwo95Q9OVW1A==", 1507 | "engines": { 1508 | "node": ">=14.0.0" 1509 | } 1510 | }, 1511 | "node_modules/type-fest": { 1512 | "version": "2.19.0", 1513 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", 1514 | "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", 1515 | "dev": true, 1516 | "engines": { 1517 | "node": ">=12.20" 1518 | }, 1519 | "funding": { 1520 | "url": "https://github.com/sponsors/sindresorhus" 1521 | } 1522 | }, 1523 | "node_modules/update-check": { 1524 | "version": "1.5.4", 1525 | "resolved": "https://registry.npmjs.org/update-check/-/update-check-1.5.4.tgz", 1526 | "integrity": "sha512-5YHsflzHP4t1G+8WGPlvKbJEbAJGCgw+Em+dGR1KmBUbr1J36SJBqlHLjR7oob7sco5hWHGQVcr9B2poIVDDTQ==", 1527 | "dev": true, 1528 | "dependencies": { 1529 | "registry-auth-token": "3.3.2", 1530 | "registry-url": "3.1.0" 1531 | } 1532 | }, 1533 | "node_modules/uri-js": { 1534 | "version": "4.4.1", 1535 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 1536 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 1537 | "dev": true, 1538 | "dependencies": { 1539 | "punycode": "^2.1.0" 1540 | } 1541 | }, 1542 | "node_modules/uri-js/node_modules/punycode": { 1543 | "version": "2.3.0", 1544 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", 1545 | "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", 1546 | "dev": true, 1547 | "engines": { 1548 | "node": ">=6" 1549 | } 1550 | }, 1551 | "node_modules/vary": { 1552 | "version": "1.1.2", 1553 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 1554 | "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", 1555 | "dev": true, 1556 | "engines": { 1557 | "node": ">= 0.8" 1558 | } 1559 | }, 1560 | "node_modules/vite": { 1561 | "version": "4.3.8", 1562 | "resolved": "https://registry.npmjs.org/vite/-/vite-4.3.8.tgz", 1563 | "integrity": "sha512-uYB8PwN7hbMrf4j1xzGDk/lqjsZvCDbt/JC5dyfxc19Pg8kRm14LinK/uq+HSLNswZEoKmweGdtpbnxRtrAXiQ==", 1564 | "dev": true, 1565 | "dependencies": { 1566 | "esbuild": "^0.17.5", 1567 | "postcss": "^8.4.23", 1568 | "rollup": "^3.21.0" 1569 | }, 1570 | "bin": { 1571 | "vite": "bin/vite.js" 1572 | }, 1573 | "engines": { 1574 | "node": "^14.18.0 || >=16.0.0" 1575 | }, 1576 | "optionalDependencies": { 1577 | "fsevents": "~2.3.2" 1578 | }, 1579 | "peerDependencies": { 1580 | "@types/node": ">= 14", 1581 | "less": "*", 1582 | "sass": "*", 1583 | "stylus": "*", 1584 | "sugarss": "*", 1585 | "terser": "^5.4.0" 1586 | }, 1587 | "peerDependenciesMeta": { 1588 | "@types/node": { 1589 | "optional": true 1590 | }, 1591 | "less": { 1592 | "optional": true 1593 | }, 1594 | "sass": { 1595 | "optional": true 1596 | }, 1597 | "stylus": { 1598 | "optional": true 1599 | }, 1600 | "sugarss": { 1601 | "optional": true 1602 | }, 1603 | "terser": { 1604 | "optional": true 1605 | } 1606 | } 1607 | }, 1608 | "node_modules/which": { 1609 | "version": "2.0.2", 1610 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 1611 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 1612 | "dev": true, 1613 | "dependencies": { 1614 | "isexe": "^2.0.0" 1615 | }, 1616 | "bin": { 1617 | "node-which": "bin/node-which" 1618 | }, 1619 | "engines": { 1620 | "node": ">= 8" 1621 | } 1622 | }, 1623 | "node_modules/widest-line": { 1624 | "version": "4.0.1", 1625 | "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-4.0.1.tgz", 1626 | "integrity": "sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig==", 1627 | "dev": true, 1628 | "dependencies": { 1629 | "string-width": "^5.0.1" 1630 | }, 1631 | "engines": { 1632 | "node": ">=12" 1633 | }, 1634 | "funding": { 1635 | "url": "https://github.com/sponsors/sindresorhus" 1636 | } 1637 | }, 1638 | "node_modules/wrap-ansi": { 1639 | "version": "8.1.0", 1640 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", 1641 | "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", 1642 | "dev": true, 1643 | "dependencies": { 1644 | "ansi-styles": "^6.1.0", 1645 | "string-width": "^5.0.1", 1646 | "strip-ansi": "^7.0.1" 1647 | }, 1648 | "engines": { 1649 | "node": ">=12" 1650 | }, 1651 | "funding": { 1652 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 1653 | } 1654 | } 1655 | }, 1656 | "dependencies": { 1657 | "@esbuild/android-arm": { 1658 | "version": "0.17.19", 1659 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", 1660 | "integrity": "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==", 1661 | "dev": true, 1662 | "optional": true 1663 | }, 1664 | "@esbuild/android-arm64": { 1665 | "version": "0.17.19", 1666 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz", 1667 | "integrity": "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==", 1668 | "dev": true, 1669 | "optional": true 1670 | }, 1671 | "@esbuild/android-x64": { 1672 | "version": "0.17.19", 1673 | "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.19.tgz", 1674 | "integrity": "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==", 1675 | "dev": true, 1676 | "optional": true 1677 | }, 1678 | "@esbuild/darwin-arm64": { 1679 | "version": "0.17.19", 1680 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz", 1681 | "integrity": "sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==", 1682 | "dev": true, 1683 | "optional": true 1684 | }, 1685 | "@esbuild/darwin-x64": { 1686 | "version": "0.17.19", 1687 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz", 1688 | "integrity": "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==", 1689 | "dev": true, 1690 | "optional": true 1691 | }, 1692 | "@esbuild/freebsd-arm64": { 1693 | "version": "0.17.19", 1694 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz", 1695 | "integrity": "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==", 1696 | "dev": true, 1697 | "optional": true 1698 | }, 1699 | "@esbuild/freebsd-x64": { 1700 | "version": "0.17.19", 1701 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz", 1702 | "integrity": "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==", 1703 | "dev": true, 1704 | "optional": true 1705 | }, 1706 | "@esbuild/linux-arm": { 1707 | "version": "0.17.19", 1708 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz", 1709 | "integrity": "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==", 1710 | "dev": true, 1711 | "optional": true 1712 | }, 1713 | "@esbuild/linux-arm64": { 1714 | "version": "0.17.19", 1715 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz", 1716 | "integrity": "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==", 1717 | "dev": true, 1718 | "optional": true 1719 | }, 1720 | "@esbuild/linux-ia32": { 1721 | "version": "0.17.19", 1722 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz", 1723 | "integrity": "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==", 1724 | "dev": true, 1725 | "optional": true 1726 | }, 1727 | "@esbuild/linux-loong64": { 1728 | "version": "0.17.19", 1729 | "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz", 1730 | "integrity": "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==", 1731 | "dev": true, 1732 | "optional": true 1733 | }, 1734 | "@esbuild/linux-mips64el": { 1735 | "version": "0.17.19", 1736 | "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz", 1737 | "integrity": "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==", 1738 | "dev": true, 1739 | "optional": true 1740 | }, 1741 | "@esbuild/linux-ppc64": { 1742 | "version": "0.17.19", 1743 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz", 1744 | "integrity": "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==", 1745 | "dev": true, 1746 | "optional": true 1747 | }, 1748 | "@esbuild/linux-riscv64": { 1749 | "version": "0.17.19", 1750 | "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz", 1751 | "integrity": "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==", 1752 | "dev": true, 1753 | "optional": true 1754 | }, 1755 | "@esbuild/linux-s390x": { 1756 | "version": "0.17.19", 1757 | "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz", 1758 | "integrity": "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==", 1759 | "dev": true, 1760 | "optional": true 1761 | }, 1762 | "@esbuild/linux-x64": { 1763 | "version": "0.17.19", 1764 | "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz", 1765 | "integrity": "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==", 1766 | "dev": true, 1767 | "optional": true 1768 | }, 1769 | "@esbuild/netbsd-x64": { 1770 | "version": "0.17.19", 1771 | "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz", 1772 | "integrity": "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==", 1773 | "dev": true, 1774 | "optional": true 1775 | }, 1776 | "@esbuild/openbsd-x64": { 1777 | "version": "0.17.19", 1778 | "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz", 1779 | "integrity": "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==", 1780 | "dev": true, 1781 | "optional": true 1782 | }, 1783 | "@esbuild/sunos-x64": { 1784 | "version": "0.17.19", 1785 | "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz", 1786 | "integrity": "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==", 1787 | "dev": true, 1788 | "optional": true 1789 | }, 1790 | "@esbuild/win32-arm64": { 1791 | "version": "0.17.19", 1792 | "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz", 1793 | "integrity": "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==", 1794 | "dev": true, 1795 | "optional": true 1796 | }, 1797 | "@esbuild/win32-ia32": { 1798 | "version": "0.17.19", 1799 | "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz", 1800 | "integrity": "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==", 1801 | "dev": true, 1802 | "optional": true 1803 | }, 1804 | "@esbuild/win32-x64": { 1805 | "version": "0.17.19", 1806 | "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz", 1807 | "integrity": "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==", 1808 | "dev": true, 1809 | "optional": true 1810 | }, 1811 | "@sap-theming/theming-base-content": { 1812 | "version": "11.4.2", 1813 | "resolved": "https://registry.npmjs.org/@sap-theming/theming-base-content/-/theming-base-content-11.4.2.tgz", 1814 | "integrity": "sha512-luXKyJP0AGxM2S+8aIGOi4eOz/zREftntF9CY4F6xuRBLDmnzRB0Z/OxA2t3lBr6qjDhcmowG8/BVz6XDZXy0g==" 1815 | }, 1816 | "@types/jquery": { 1817 | "version": "3.5.16", 1818 | "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.16.tgz", 1819 | "integrity": "sha512-bsI7y4ZgeMkmpG9OM710RRzDFp+w4P1RGiIt30C1mSBT+ExCleeh4HObwgArnDFELmRrOpXgSYN9VF1hj+f1lw==", 1820 | "requires": { 1821 | "@types/sizzle": "*" 1822 | } 1823 | }, 1824 | "@types/openui5": { 1825 | "version": "1.115.0", 1826 | "resolved": "https://registry.npmjs.org/@types/openui5/-/openui5-1.115.0.tgz", 1827 | "integrity": "sha512-DieBcgIzhcR2yk+6OUPo+H8NMSInnDNGe6hOYFD/46wRcJzY3QMNKBJZ0AMPI7JaX9a2fkGVpFKlMBCGF+Njmw==", 1828 | "requires": { 1829 | "@types/jquery": "*", 1830 | "@types/qunit": "*" 1831 | } 1832 | }, 1833 | "@types/qunit": { 1834 | "version": "2.19.6", 1835 | "resolved": "https://registry.npmjs.org/@types/qunit/-/qunit-2.19.6.tgz", 1836 | "integrity": "sha512-bz9STa6EHurtpSfn5cNiScBladlw43bM+7luQA985Kd9YlF4dZaLmKt3c5/oSyN1AWAl50YBpqTq0BxCP64nGg==" 1837 | }, 1838 | "@types/sizzle": { 1839 | "version": "2.3.3", 1840 | "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.3.tgz", 1841 | "integrity": "sha512-JYM8x9EGF163bEyhdJBpR2QX1R5naCJHC8ucJylJ3w9/CVBaskdQ8WqBf8MmQrd1kRvp/a4TS8HJ+bxzR7ZJYQ==" 1842 | }, 1843 | "@types/trusted-types": { 1844 | "version": "2.0.3", 1845 | "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.3.tgz", 1846 | "integrity": "sha512-NfQ4gyz38SL8sDNrSixxU2Os1a5xcdFxipAFxYEuLUlvU2uDwS4NUpsImcf1//SlWItCVMMLiylsxbmNMToV/g==" 1847 | }, 1848 | "@ui5/webcomponents": { 1849 | "version": "1.14.2", 1850 | "resolved": "https://registry.npmjs.org/@ui5/webcomponents/-/webcomponents-1.14.2.tgz", 1851 | "integrity": "sha512-f8LCeZvBRKQLli18igJkQppce7y4UYt/lm5hxbdkwbinshLqnWGg3iy9KlJyQUloTsQkYmlPcBzrPnwUc47c0w==", 1852 | "requires": { 1853 | "@ui5/webcomponents-base": "1.14.2", 1854 | "@ui5/webcomponents-icons": "1.14.2", 1855 | "@ui5/webcomponents-localization": "1.14.2", 1856 | "@ui5/webcomponents-theming": "1.14.2" 1857 | } 1858 | }, 1859 | "@ui5/webcomponents-base": { 1860 | "version": "1.14.2", 1861 | "resolved": "https://registry.npmjs.org/@ui5/webcomponents-base/-/webcomponents-base-1.14.2.tgz", 1862 | "integrity": "sha512-kxdvo5hN+Dx0IAPDraOc3ShNXoTeVNEL+AY0zjvQ6Qfllch40bZfpRA0bnhi3Nr4WIZ6BLJjV8Q5cW1TyvKm1g==", 1863 | "requires": { 1864 | "lit-html": "^2.0.1" 1865 | } 1866 | }, 1867 | "@ui5/webcomponents-fiori": { 1868 | "version": "1.14.2", 1869 | "resolved": "https://registry.npmjs.org/@ui5/webcomponents-fiori/-/webcomponents-fiori-1.14.2.tgz", 1870 | "integrity": "sha512-DxSxTmkWRR/atBJ3/rjXr06gQ9fUH47PhF6OXukq2j5EkyL0lYUIDDkawJazoZr17YKjQsVNK2lJNqWD2mCsgw==", 1871 | "requires": { 1872 | "@ui5/webcomponents": "1.14.2", 1873 | "@ui5/webcomponents-base": "1.14.2", 1874 | "@ui5/webcomponents-icons": "1.14.2", 1875 | "@ui5/webcomponents-theming": "1.14.2", 1876 | "@zxing/library": "^0.17.1" 1877 | } 1878 | }, 1879 | "@ui5/webcomponents-icons": { 1880 | "version": "1.14.2", 1881 | "resolved": "https://registry.npmjs.org/@ui5/webcomponents-icons/-/webcomponents-icons-1.14.2.tgz", 1882 | "integrity": "sha512-NqW7OAEwxRtLs5xhV5jDTZAY0tRXroT/K1SQdDhhTaII9e5XyCA+MDTeU4/bBNRL3AfooB59sggUv3GPVVSW6w==", 1883 | "requires": { 1884 | "@ui5/webcomponents-base": "1.14.2" 1885 | } 1886 | }, 1887 | "@ui5/webcomponents-localization": { 1888 | "version": "1.14.2", 1889 | "resolved": "https://registry.npmjs.org/@ui5/webcomponents-localization/-/webcomponents-localization-1.14.2.tgz", 1890 | "integrity": "sha512-Li/bnLb9uk4HInbzrznnjzK/VcasQ8npLaBTofpV6aoqN0omq6T+neRIPWSfX/362XHkKdlcRC7YzvcFTHm8/Q==", 1891 | "requires": { 1892 | "@types/openui5": "^1.113.0", 1893 | "@ui5/webcomponents-base": "1.14.2" 1894 | } 1895 | }, 1896 | "@ui5/webcomponents-theming": { 1897 | "version": "1.14.2", 1898 | "resolved": "https://registry.npmjs.org/@ui5/webcomponents-theming/-/webcomponents-theming-1.14.2.tgz", 1899 | "integrity": "sha512-hkVqG74oRnZ+AtbkXmccMoZ/+0v3/lCNOmba1XiQqQjlzGqWQsXrbNIW2MkBXBItZZp5HJlTIE3pEo9HQYIdwQ==", 1900 | "requires": { 1901 | "@sap-theming/theming-base-content": "11.4.2", 1902 | "@ui5/webcomponents-base": "1.14.2" 1903 | } 1904 | }, 1905 | "@zeit/schemas": { 1906 | "version": "2.29.0", 1907 | "resolved": "https://registry.npmjs.org/@zeit/schemas/-/schemas-2.29.0.tgz", 1908 | "integrity": "sha512-g5QiLIfbg3pLuYUJPlisNKY+epQJTcMDsOnVNkscrDP1oi7vmJnzOANYJI/1pZcVJ6umUkBv3aFtlg1UvUHGzA==", 1909 | "dev": true 1910 | }, 1911 | "@zxing/library": { 1912 | "version": "0.17.1", 1913 | "resolved": "https://registry.npmjs.org/@zxing/library/-/library-0.17.1.tgz", 1914 | "integrity": "sha512-RuiBZuteGaFXCle/b0X+g3peN8UpDc3pGe/J7hZBzKWaMZLbjensR7ja3vy47xWhXU4e8MICGqegPMxc2V2sow==", 1915 | "requires": { 1916 | "@zxing/text-encoding": "~0.9.0", 1917 | "ts-custom-error": "^3.0.0" 1918 | } 1919 | }, 1920 | "@zxing/text-encoding": { 1921 | "version": "0.9.0", 1922 | "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", 1923 | "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==", 1924 | "optional": true 1925 | }, 1926 | "accepts": { 1927 | "version": "1.3.8", 1928 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 1929 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", 1930 | "dev": true, 1931 | "requires": { 1932 | "mime-types": "~2.1.34", 1933 | "negotiator": "0.6.3" 1934 | } 1935 | }, 1936 | "ajv": { 1937 | "version": "8.11.0", 1938 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", 1939 | "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", 1940 | "dev": true, 1941 | "requires": { 1942 | "fast-deep-equal": "^3.1.1", 1943 | "json-schema-traverse": "^1.0.0", 1944 | "require-from-string": "^2.0.2", 1945 | "uri-js": "^4.2.2" 1946 | } 1947 | }, 1948 | "ansi-align": { 1949 | "version": "3.0.1", 1950 | "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", 1951 | "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", 1952 | "dev": true, 1953 | "requires": { 1954 | "string-width": "^4.1.0" 1955 | }, 1956 | "dependencies": { 1957 | "ansi-regex": { 1958 | "version": "5.0.1", 1959 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 1960 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 1961 | "dev": true 1962 | }, 1963 | "emoji-regex": { 1964 | "version": "8.0.0", 1965 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 1966 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 1967 | "dev": true 1968 | }, 1969 | "string-width": { 1970 | "version": "4.2.3", 1971 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 1972 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 1973 | "dev": true, 1974 | "requires": { 1975 | "emoji-regex": "^8.0.0", 1976 | "is-fullwidth-code-point": "^3.0.0", 1977 | "strip-ansi": "^6.0.1" 1978 | } 1979 | }, 1980 | "strip-ansi": { 1981 | "version": "6.0.1", 1982 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1983 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1984 | "dev": true, 1985 | "requires": { 1986 | "ansi-regex": "^5.0.1" 1987 | } 1988 | } 1989 | } 1990 | }, 1991 | "ansi-regex": { 1992 | "version": "6.0.1", 1993 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", 1994 | "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", 1995 | "dev": true 1996 | }, 1997 | "ansi-styles": { 1998 | "version": "6.2.1", 1999 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", 2000 | "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", 2001 | "dev": true 2002 | }, 2003 | "arch": { 2004 | "version": "2.2.0", 2005 | "resolved": "https://registry.npmjs.org/arch/-/arch-2.2.0.tgz", 2006 | "integrity": "sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==", 2007 | "dev": true 2008 | }, 2009 | "arg": { 2010 | "version": "5.0.2", 2011 | "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", 2012 | "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", 2013 | "dev": true 2014 | }, 2015 | "balanced-match": { 2016 | "version": "1.0.2", 2017 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 2018 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 2019 | "dev": true 2020 | }, 2021 | "boxen": { 2022 | "version": "7.0.0", 2023 | "resolved": "https://registry.npmjs.org/boxen/-/boxen-7.0.0.tgz", 2024 | "integrity": "sha512-j//dBVuyacJbvW+tvZ9HuH03fZ46QcaKvvhZickZqtB271DxJ7SNRSNxrV/dZX0085m7hISRZWbzWlJvx/rHSg==", 2025 | "dev": true, 2026 | "requires": { 2027 | "ansi-align": "^3.0.1", 2028 | "camelcase": "^7.0.0", 2029 | "chalk": "^5.0.1", 2030 | "cli-boxes": "^3.0.0", 2031 | "string-width": "^5.1.2", 2032 | "type-fest": "^2.13.0", 2033 | "widest-line": "^4.0.1", 2034 | "wrap-ansi": "^8.0.1" 2035 | } 2036 | }, 2037 | "brace-expansion": { 2038 | "version": "1.1.11", 2039 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 2040 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 2041 | "dev": true, 2042 | "requires": { 2043 | "balanced-match": "^1.0.0", 2044 | "concat-map": "0.0.1" 2045 | } 2046 | }, 2047 | "bytes": { 2048 | "version": "3.0.0", 2049 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", 2050 | "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==", 2051 | "dev": true 2052 | }, 2053 | "camelcase": { 2054 | "version": "7.0.1", 2055 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-7.0.1.tgz", 2056 | "integrity": "sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==", 2057 | "dev": true 2058 | }, 2059 | "chalk": { 2060 | "version": "5.0.1", 2061 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.0.1.tgz", 2062 | "integrity": "sha512-Fo07WOYGqMfCWHOzSXOt2CxDbC6skS/jO9ynEcmpANMoPrD+W1r1K6Vx7iNm+AQmETU1Xr2t+n8nzkV9t6xh3w==", 2063 | "dev": true 2064 | }, 2065 | "chalk-template": { 2066 | "version": "0.4.0", 2067 | "resolved": "https://registry.npmjs.org/chalk-template/-/chalk-template-0.4.0.tgz", 2068 | "integrity": "sha512-/ghrgmhfY8RaSdeo43hNXxpoHAtxdbskUHjPpfqUWGttFgycUhYPGx3YZBCnUCvOa7Doivn1IZec3DEGFoMgLg==", 2069 | "dev": true, 2070 | "requires": { 2071 | "chalk": "^4.1.2" 2072 | }, 2073 | "dependencies": { 2074 | "ansi-styles": { 2075 | "version": "4.3.0", 2076 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 2077 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 2078 | "dev": true, 2079 | "requires": { 2080 | "color-convert": "^2.0.1" 2081 | } 2082 | }, 2083 | "chalk": { 2084 | "version": "4.1.2", 2085 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 2086 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 2087 | "dev": true, 2088 | "requires": { 2089 | "ansi-styles": "^4.1.0", 2090 | "supports-color": "^7.1.0" 2091 | } 2092 | } 2093 | } 2094 | }, 2095 | "cli-boxes": { 2096 | "version": "3.0.0", 2097 | "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-3.0.0.tgz", 2098 | "integrity": "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==", 2099 | "dev": true 2100 | }, 2101 | "clipboardy": { 2102 | "version": "3.0.0", 2103 | "resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-3.0.0.tgz", 2104 | "integrity": "sha512-Su+uU5sr1jkUy1sGRpLKjKrvEOVXgSgiSInwa/qeID6aJ07yh+5NWc3h2QfjHjBnfX4LhtFcuAWKUsJ3r+fjbg==", 2105 | "dev": true, 2106 | "requires": { 2107 | "arch": "^2.2.0", 2108 | "execa": "^5.1.1", 2109 | "is-wsl": "^2.2.0" 2110 | } 2111 | }, 2112 | "color-convert": { 2113 | "version": "2.0.1", 2114 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 2115 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 2116 | "dev": true, 2117 | "requires": { 2118 | "color-name": "~1.1.4" 2119 | } 2120 | }, 2121 | "color-name": { 2122 | "version": "1.1.4", 2123 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 2124 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 2125 | "dev": true 2126 | }, 2127 | "compressible": { 2128 | "version": "2.0.18", 2129 | "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", 2130 | "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", 2131 | "dev": true, 2132 | "requires": { 2133 | "mime-db": ">= 1.43.0 < 2" 2134 | } 2135 | }, 2136 | "compression": { 2137 | "version": "1.7.4", 2138 | "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", 2139 | "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", 2140 | "dev": true, 2141 | "requires": { 2142 | "accepts": "~1.3.5", 2143 | "bytes": "3.0.0", 2144 | "compressible": "~2.0.16", 2145 | "debug": "2.6.9", 2146 | "on-headers": "~1.0.2", 2147 | "safe-buffer": "5.1.2", 2148 | "vary": "~1.1.2" 2149 | } 2150 | }, 2151 | "concat-map": { 2152 | "version": "0.0.1", 2153 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 2154 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 2155 | "dev": true 2156 | }, 2157 | "content-disposition": { 2158 | "version": "0.5.2", 2159 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", 2160 | "integrity": "sha512-kRGRZw3bLlFISDBgwTSA1TMBFN6J6GWDeubmDE3AF+3+yXL8hTWv8r5rkLbqYXY4RjPk/EzHnClI3zQf1cFmHA==", 2161 | "dev": true 2162 | }, 2163 | "cross-spawn": { 2164 | "version": "7.0.3", 2165 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 2166 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 2167 | "dev": true, 2168 | "requires": { 2169 | "path-key": "^3.1.0", 2170 | "shebang-command": "^2.0.0", 2171 | "which": "^2.0.1" 2172 | } 2173 | }, 2174 | "debug": { 2175 | "version": "2.6.9", 2176 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 2177 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 2178 | "dev": true, 2179 | "requires": { 2180 | "ms": "2.0.0" 2181 | } 2182 | }, 2183 | "deep-extend": { 2184 | "version": "0.6.0", 2185 | "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", 2186 | "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", 2187 | "dev": true 2188 | }, 2189 | "eastasianwidth": { 2190 | "version": "0.2.0", 2191 | "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", 2192 | "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", 2193 | "dev": true 2194 | }, 2195 | "emoji-regex": { 2196 | "version": "9.2.2", 2197 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", 2198 | "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", 2199 | "dev": true 2200 | }, 2201 | "esbuild": { 2202 | "version": "0.17.19", 2203 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.19.tgz", 2204 | "integrity": "sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==", 2205 | "dev": true, 2206 | "requires": { 2207 | "@esbuild/android-arm": "0.17.19", 2208 | "@esbuild/android-arm64": "0.17.19", 2209 | "@esbuild/android-x64": "0.17.19", 2210 | "@esbuild/darwin-arm64": "0.17.19", 2211 | "@esbuild/darwin-x64": "0.17.19", 2212 | "@esbuild/freebsd-arm64": "0.17.19", 2213 | "@esbuild/freebsd-x64": "0.17.19", 2214 | "@esbuild/linux-arm": "0.17.19", 2215 | "@esbuild/linux-arm64": "0.17.19", 2216 | "@esbuild/linux-ia32": "0.17.19", 2217 | "@esbuild/linux-loong64": "0.17.19", 2218 | "@esbuild/linux-mips64el": "0.17.19", 2219 | "@esbuild/linux-ppc64": "0.17.19", 2220 | "@esbuild/linux-riscv64": "0.17.19", 2221 | "@esbuild/linux-s390x": "0.17.19", 2222 | "@esbuild/linux-x64": "0.17.19", 2223 | "@esbuild/netbsd-x64": "0.17.19", 2224 | "@esbuild/openbsd-x64": "0.17.19", 2225 | "@esbuild/sunos-x64": "0.17.19", 2226 | "@esbuild/win32-arm64": "0.17.19", 2227 | "@esbuild/win32-ia32": "0.17.19", 2228 | "@esbuild/win32-x64": "0.17.19" 2229 | } 2230 | }, 2231 | "execa": { 2232 | "version": "5.1.1", 2233 | "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", 2234 | "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", 2235 | "dev": true, 2236 | "requires": { 2237 | "cross-spawn": "^7.0.3", 2238 | "get-stream": "^6.0.0", 2239 | "human-signals": "^2.1.0", 2240 | "is-stream": "^2.0.0", 2241 | "merge-stream": "^2.0.0", 2242 | "npm-run-path": "^4.0.1", 2243 | "onetime": "^5.1.2", 2244 | "signal-exit": "^3.0.3", 2245 | "strip-final-newline": "^2.0.0" 2246 | } 2247 | }, 2248 | "fast-deep-equal": { 2249 | "version": "3.1.3", 2250 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 2251 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 2252 | "dev": true 2253 | }, 2254 | "fast-url-parser": { 2255 | "version": "1.1.3", 2256 | "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz", 2257 | "integrity": "sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ==", 2258 | "dev": true, 2259 | "requires": { 2260 | "punycode": "^1.3.2" 2261 | } 2262 | }, 2263 | "fsevents": { 2264 | "version": "2.3.2", 2265 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 2266 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 2267 | "dev": true, 2268 | "optional": true 2269 | }, 2270 | "get-stream": { 2271 | "version": "6.0.1", 2272 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", 2273 | "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", 2274 | "dev": true 2275 | }, 2276 | "has-flag": { 2277 | "version": "4.0.0", 2278 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 2279 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 2280 | "dev": true 2281 | }, 2282 | "human-signals": { 2283 | "version": "2.1.0", 2284 | "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", 2285 | "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", 2286 | "dev": true 2287 | }, 2288 | "ini": { 2289 | "version": "1.3.8", 2290 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", 2291 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", 2292 | "dev": true 2293 | }, 2294 | "is-docker": { 2295 | "version": "2.2.1", 2296 | "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", 2297 | "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", 2298 | "dev": true 2299 | }, 2300 | "is-fullwidth-code-point": { 2301 | "version": "3.0.0", 2302 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 2303 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 2304 | "dev": true 2305 | }, 2306 | "is-port-reachable": { 2307 | "version": "4.0.0", 2308 | "resolved": "https://registry.npmjs.org/is-port-reachable/-/is-port-reachable-4.0.0.tgz", 2309 | "integrity": "sha512-9UoipoxYmSk6Xy7QFgRv2HDyaysmgSG75TFQs6S+3pDM7ZhKTF/bskZV+0UlABHzKjNVhPjYCLfeZUEg1wXxig==", 2310 | "dev": true 2311 | }, 2312 | "is-stream": { 2313 | "version": "2.0.1", 2314 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", 2315 | "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", 2316 | "dev": true 2317 | }, 2318 | "is-wsl": { 2319 | "version": "2.2.0", 2320 | "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", 2321 | "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", 2322 | "dev": true, 2323 | "requires": { 2324 | "is-docker": "^2.0.0" 2325 | } 2326 | }, 2327 | "isexe": { 2328 | "version": "2.0.0", 2329 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 2330 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 2331 | "dev": true 2332 | }, 2333 | "json-schema-traverse": { 2334 | "version": "1.0.0", 2335 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", 2336 | "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", 2337 | "dev": true 2338 | }, 2339 | "lit-html": { 2340 | "version": "2.7.4", 2341 | "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-2.7.4.tgz", 2342 | "integrity": "sha512-/Jw+FBpeEN+z8X6PJva5n7+0MzCVAH2yypN99qHYYkq8bI+j7I39GH+68Z/MZD6rGKDK9RpzBw7CocfmHfq6+g==", 2343 | "requires": { 2344 | "@types/trusted-types": "^2.0.2" 2345 | } 2346 | }, 2347 | "merge-stream": { 2348 | "version": "2.0.0", 2349 | "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", 2350 | "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", 2351 | "dev": true 2352 | }, 2353 | "mime-db": { 2354 | "version": "1.52.0", 2355 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 2356 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 2357 | "dev": true 2358 | }, 2359 | "mime-types": { 2360 | "version": "2.1.35", 2361 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 2362 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 2363 | "dev": true, 2364 | "requires": { 2365 | "mime-db": "1.52.0" 2366 | } 2367 | }, 2368 | "mimic-fn": { 2369 | "version": "2.1.0", 2370 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", 2371 | "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", 2372 | "dev": true 2373 | }, 2374 | "minimatch": { 2375 | "version": "3.1.2", 2376 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 2377 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 2378 | "dev": true, 2379 | "requires": { 2380 | "brace-expansion": "^1.1.7" 2381 | } 2382 | }, 2383 | "minimist": { 2384 | "version": "1.2.8", 2385 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", 2386 | "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", 2387 | "dev": true 2388 | }, 2389 | "ms": { 2390 | "version": "2.0.0", 2391 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 2392 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", 2393 | "dev": true 2394 | }, 2395 | "nanoid": { 2396 | "version": "3.3.6", 2397 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", 2398 | "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", 2399 | "dev": true 2400 | }, 2401 | "negotiator": { 2402 | "version": "0.6.3", 2403 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", 2404 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", 2405 | "dev": true 2406 | }, 2407 | "npm-run-path": { 2408 | "version": "4.0.1", 2409 | "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", 2410 | "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", 2411 | "dev": true, 2412 | "requires": { 2413 | "path-key": "^3.0.0" 2414 | } 2415 | }, 2416 | "on-headers": { 2417 | "version": "1.0.2", 2418 | "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", 2419 | "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", 2420 | "dev": true 2421 | }, 2422 | "onetime": { 2423 | "version": "5.1.2", 2424 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", 2425 | "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", 2426 | "dev": true, 2427 | "requires": { 2428 | "mimic-fn": "^2.1.0" 2429 | } 2430 | }, 2431 | "path-is-inside": { 2432 | "version": "1.0.2", 2433 | "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", 2434 | "integrity": "sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w==", 2435 | "dev": true 2436 | }, 2437 | "path-key": { 2438 | "version": "3.1.1", 2439 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 2440 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 2441 | "dev": true 2442 | }, 2443 | "path-to-regexp": { 2444 | "version": "2.2.1", 2445 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-2.2.1.tgz", 2446 | "integrity": "sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ==", 2447 | "dev": true 2448 | }, 2449 | "picocolors": { 2450 | "version": "1.0.0", 2451 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", 2452 | "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", 2453 | "dev": true 2454 | }, 2455 | "postcss": { 2456 | "version": "8.4.23", 2457 | "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.23.tgz", 2458 | "integrity": "sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==", 2459 | "dev": true, 2460 | "requires": { 2461 | "nanoid": "^3.3.6", 2462 | "picocolors": "^1.0.0", 2463 | "source-map-js": "^1.0.2" 2464 | } 2465 | }, 2466 | "punycode": { 2467 | "version": "1.4.1", 2468 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", 2469 | "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==", 2470 | "dev": true 2471 | }, 2472 | "range-parser": { 2473 | "version": "1.2.0", 2474 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", 2475 | "integrity": "sha512-kA5WQoNVo4t9lNx2kQNFCxKeBl5IbbSNBl1M/tLkw9WCn+hxNBAW5Qh8gdhs63CJnhjJ2zQWFoqPJP2sK1AV5A==", 2476 | "dev": true 2477 | }, 2478 | "rc": { 2479 | "version": "1.2.8", 2480 | "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", 2481 | "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", 2482 | "dev": true, 2483 | "requires": { 2484 | "deep-extend": "^0.6.0", 2485 | "ini": "~1.3.0", 2486 | "minimist": "^1.2.0", 2487 | "strip-json-comments": "~2.0.1" 2488 | } 2489 | }, 2490 | "registry-auth-token": { 2491 | "version": "3.3.2", 2492 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz", 2493 | "integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==", 2494 | "dev": true, 2495 | "requires": { 2496 | "rc": "^1.1.6", 2497 | "safe-buffer": "^5.0.1" 2498 | } 2499 | }, 2500 | "registry-url": { 2501 | "version": "3.1.0", 2502 | "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz", 2503 | "integrity": "sha512-ZbgR5aZEdf4UKZVBPYIgaglBmSF2Hi94s2PcIHhRGFjKYu+chjJdYfHn4rt3hB6eCKLJ8giVIIfgMa1ehDfZKA==", 2504 | "dev": true, 2505 | "requires": { 2506 | "rc": "^1.0.1" 2507 | } 2508 | }, 2509 | "require-from-string": { 2510 | "version": "2.0.2", 2511 | "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", 2512 | "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", 2513 | "dev": true 2514 | }, 2515 | "rollup": { 2516 | "version": "3.23.0", 2517 | "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.23.0.tgz", 2518 | "integrity": "sha512-h31UlwEi7FHihLe1zbk+3Q7z1k/84rb9BSwmBSr/XjOCEaBJ2YyedQDuM0t/kfOS0IxM+vk1/zI9XxYj9V+NJQ==", 2519 | "dev": true, 2520 | "requires": { 2521 | "fsevents": "~2.3.2" 2522 | } 2523 | }, 2524 | "safe-buffer": { 2525 | "version": "5.1.2", 2526 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 2527 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 2528 | "dev": true 2529 | }, 2530 | "serve": { 2531 | "version": "14.2.0", 2532 | "resolved": "https://registry.npmjs.org/serve/-/serve-14.2.0.tgz", 2533 | "integrity": "sha512-+HOw/XK1bW8tw5iBilBz/mJLWRzM8XM6MPxL4J/dKzdxq1vfdEWSwhaR7/yS8EJp5wzvP92p1qirysJvnEtjXg==", 2534 | "dev": true, 2535 | "requires": { 2536 | "@zeit/schemas": "2.29.0", 2537 | "ajv": "8.11.0", 2538 | "arg": "5.0.2", 2539 | "boxen": "7.0.0", 2540 | "chalk": "5.0.1", 2541 | "chalk-template": "0.4.0", 2542 | "clipboardy": "3.0.0", 2543 | "compression": "1.7.4", 2544 | "is-port-reachable": "4.0.0", 2545 | "serve-handler": "6.1.5", 2546 | "update-check": "1.5.4" 2547 | } 2548 | }, 2549 | "serve-handler": { 2550 | "version": "6.1.5", 2551 | "resolved": "https://registry.npmjs.org/serve-handler/-/serve-handler-6.1.5.tgz", 2552 | "integrity": "sha512-ijPFle6Hwe8zfmBxJdE+5fta53fdIY0lHISJvuikXB3VYFafRjMRpOffSPvCYsbKyBA7pvy9oYr/BT1O3EArlg==", 2553 | "dev": true, 2554 | "requires": { 2555 | "bytes": "3.0.0", 2556 | "content-disposition": "0.5.2", 2557 | "fast-url-parser": "1.1.3", 2558 | "mime-types": "2.1.18", 2559 | "minimatch": "3.1.2", 2560 | "path-is-inside": "1.0.2", 2561 | "path-to-regexp": "2.2.1", 2562 | "range-parser": "1.2.0" 2563 | }, 2564 | "dependencies": { 2565 | "mime-db": { 2566 | "version": "1.33.0", 2567 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", 2568 | "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==", 2569 | "dev": true 2570 | }, 2571 | "mime-types": { 2572 | "version": "2.1.18", 2573 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", 2574 | "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", 2575 | "dev": true, 2576 | "requires": { 2577 | "mime-db": "~1.33.0" 2578 | } 2579 | } 2580 | } 2581 | }, 2582 | "shebang-command": { 2583 | "version": "2.0.0", 2584 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 2585 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 2586 | "dev": true, 2587 | "requires": { 2588 | "shebang-regex": "^3.0.0" 2589 | } 2590 | }, 2591 | "shebang-regex": { 2592 | "version": "3.0.0", 2593 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 2594 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 2595 | "dev": true 2596 | }, 2597 | "signal-exit": { 2598 | "version": "3.0.7", 2599 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", 2600 | "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", 2601 | "dev": true 2602 | }, 2603 | "source-map-js": { 2604 | "version": "1.0.2", 2605 | "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", 2606 | "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", 2607 | "dev": true 2608 | }, 2609 | "string-width": { 2610 | "version": "5.1.2", 2611 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", 2612 | "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", 2613 | "dev": true, 2614 | "requires": { 2615 | "eastasianwidth": "^0.2.0", 2616 | "emoji-regex": "^9.2.2", 2617 | "strip-ansi": "^7.0.1" 2618 | } 2619 | }, 2620 | "strip-ansi": { 2621 | "version": "7.1.0", 2622 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", 2623 | "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", 2624 | "dev": true, 2625 | "requires": { 2626 | "ansi-regex": "^6.0.1" 2627 | } 2628 | }, 2629 | "strip-final-newline": { 2630 | "version": "2.0.0", 2631 | "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", 2632 | "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", 2633 | "dev": true 2634 | }, 2635 | "strip-json-comments": { 2636 | "version": "2.0.1", 2637 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 2638 | "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", 2639 | "dev": true 2640 | }, 2641 | "supports-color": { 2642 | "version": "7.2.0", 2643 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 2644 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 2645 | "dev": true, 2646 | "requires": { 2647 | "has-flag": "^4.0.0" 2648 | } 2649 | }, 2650 | "ts-custom-error": { 2651 | "version": "3.3.1", 2652 | "resolved": "https://registry.npmjs.org/ts-custom-error/-/ts-custom-error-3.3.1.tgz", 2653 | "integrity": "sha512-5OX1tzOjxWEgsr/YEUWSuPrQ00deKLh6D7OTWcvNHm12/7QPyRh8SYpyWvA4IZv8H/+GQWQEh/kwo95Q9OVW1A==" 2654 | }, 2655 | "type-fest": { 2656 | "version": "2.19.0", 2657 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", 2658 | "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", 2659 | "dev": true 2660 | }, 2661 | "update-check": { 2662 | "version": "1.5.4", 2663 | "resolved": "https://registry.npmjs.org/update-check/-/update-check-1.5.4.tgz", 2664 | "integrity": "sha512-5YHsflzHP4t1G+8WGPlvKbJEbAJGCgw+Em+dGR1KmBUbr1J36SJBqlHLjR7oob7sco5hWHGQVcr9B2poIVDDTQ==", 2665 | "dev": true, 2666 | "requires": { 2667 | "registry-auth-token": "3.3.2", 2668 | "registry-url": "3.1.0" 2669 | } 2670 | }, 2671 | "uri-js": { 2672 | "version": "4.4.1", 2673 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 2674 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 2675 | "dev": true, 2676 | "requires": { 2677 | "punycode": "^2.1.0" 2678 | }, 2679 | "dependencies": { 2680 | "punycode": { 2681 | "version": "2.3.0", 2682 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", 2683 | "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", 2684 | "dev": true 2685 | } 2686 | } 2687 | }, 2688 | "vary": { 2689 | "version": "1.1.2", 2690 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 2691 | "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", 2692 | "dev": true 2693 | }, 2694 | "vite": { 2695 | "version": "4.3.8", 2696 | "resolved": "https://registry.npmjs.org/vite/-/vite-4.3.8.tgz", 2697 | "integrity": "sha512-uYB8PwN7hbMrf4j1xzGDk/lqjsZvCDbt/JC5dyfxc19Pg8kRm14LinK/uq+HSLNswZEoKmweGdtpbnxRtrAXiQ==", 2698 | "dev": true, 2699 | "requires": { 2700 | "esbuild": "^0.17.5", 2701 | "fsevents": "~2.3.2", 2702 | "postcss": "^8.4.23", 2703 | "rollup": "^3.21.0" 2704 | } 2705 | }, 2706 | "which": { 2707 | "version": "2.0.2", 2708 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 2709 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 2710 | "dev": true, 2711 | "requires": { 2712 | "isexe": "^2.0.0" 2713 | } 2714 | }, 2715 | "widest-line": { 2716 | "version": "4.0.1", 2717 | "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-4.0.1.tgz", 2718 | "integrity": "sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig==", 2719 | "dev": true, 2720 | "requires": { 2721 | "string-width": "^5.0.1" 2722 | } 2723 | }, 2724 | "wrap-ansi": { 2725 | "version": "8.1.0", 2726 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", 2727 | "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", 2728 | "dev": true, 2729 | "requires": { 2730 | "ansi-styles": "^6.1.0", 2731 | "string-width": "^5.0.1", 2732 | "strip-ansi": "^7.0.1" 2733 | } 2734 | } 2735 | } 2736 | } 2737 | -------------------------------------------------------------------------------- /applications/vite/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vite-application", 3 | "version": "0.0.0", 4 | "type": "module", 5 | "repository": { 6 | "type": "git", 7 | "url": "https://github.com/SAP-samples/ui5-webcomponents-data-binding-example/tree/main/applications/vite" 8 | }, 9 | "bugs": { 10 | "url": "https://github.com/SAP-samples/ui5-webcomponents-data-binding-example/issues" 11 | }, 12 | "scripts": { 13 | "dev": "vite", 14 | "build": "vite build", 15 | "preview": "vite preview", 16 | "serve:dist": "serve dist" 17 | }, 18 | "devDependencies": { 19 | "serve": "^14.2.0", 20 | "vite": "^4.3.2", 21 | "vanilla-data-binding": "*" 22 | }, 23 | "dependencies": { 24 | "@ui5/webcomponents": "^1.14.2", 25 | "@ui5/webcomponents-base": "^1.14.2", 26 | "@ui5/webcomponents-fiori": "^1.14.2" 27 | } 28 | } -------------------------------------------------------------------------------- /applications/vite/public/i18n/i18n.properties: -------------------------------------------------------------------------------- 1 | Products=Products 2 | Quantity=Stock 3 | VanillaIceCream=Vanilla Ice Cream 🍦 4 | Bananas=Bananas 🍌 5 | Apples=Apples 🍎 6 | ChangeFirstProduct=Try changing the quantity of the first product: 7 | ChangeAppleColor=Try changing the color of the apple 8 | AddItemToList=Try adding a new product to the list 9 | 10 | GeneralInformation=General Information -------------------------------------------------------------------------------- /applications/vite/public/i18n/i18n_de.properties: -------------------------------------------------------------------------------- 1 | Products=Produkte 2 | Quantity=Lagerbestand 3 | VanillaIceCream=Vanilleeis 🍦 4 | Bananas=Bananen 🍌 5 | Apples=Äpfel 🍎 6 | ChangeFirstProduct=Ändere den Lagerbestand des ersten Produkts: 7 | ChangeAppleColor=Ändere die Farbe des Apfels 8 | AddItemToList=Füge ein neues Produkt hinzu 9 | 10 | GeneralInformation=Generelle Informationen -------------------------------------------------------------------------------- /applications/vite/public/i18n/i18n_en.properties: -------------------------------------------------------------------------------- 1 | Products=Products 2 | Quantity=Stock 3 | VanillaIceCream=Vanilla Ice Cream 🍦 4 | Bananas=Bananas 🍌 5 | Apples=Apples 🍎 6 | ChangeFirstProduct=Try changing the quantity of the first product: 7 | ChangeAppleColor=Try changing the color of the apple 8 | AddItemToList=Try adding a new product to the list 9 | 10 | GeneralInformation=General Information -------------------------------------------------------------------------------- /applications/vite/public/sap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/ui5-webcomponents-data-binding-example/d5100f34224a18bfa40be27a8415febd25c9efcd/applications/vite/public/sap.png -------------------------------------------------------------------------------- /applications/vue/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | .DS_Store 12 | dist 13 | dist-ssr 14 | coverage 15 | *.local 16 | 17 | /cypress/videos/ 18 | /cypress/screenshots/ 19 | 20 | # Editor directories and files 21 | .vscode/* 22 | !.vscode/extensions.json 23 | .idea 24 | *.suo 25 | *.ntvs* 26 | *.njsproj 27 | *.sln 28 | *.sw? 29 | -------------------------------------------------------------------------------- /applications/vue/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Example 9 | 10 | 11 |
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /applications/vue/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue-application", 3 | "version": "0.0.0", 4 | "repository": { 5 | "type": "git", 6 | "url": "https://github.com/SAP-samples/ui5-webcomponents-data-binding-example/tree/main/applications/vue" 7 | }, 8 | "bugs": { 9 | "url": "https://github.com/SAP-samples/ui5-webcomponents-data-binding-example/issues" 10 | }, 11 | "scripts": { 12 | "dev": "vite", 13 | "build": "vite build", 14 | "preview": "vite preview", 15 | "serve:dist": "serve dist" 16 | }, 17 | "devDependencies": { 18 | "@vitejs/plugin-vue": "^4.2.3", 19 | "serve": "^14.2.0", 20 | "vite": "^4.3.9" 21 | }, 22 | "dependencies": { 23 | "@ui5/webcomponents": "^1.14.2", 24 | "@ui5/webcomponents-base": "^1.14.2", 25 | "@ui5/webcomponents-fiori": "^1.14.2", 26 | "vue": "^3.3.4" 27 | } 28 | } -------------------------------------------------------------------------------- /applications/vue/public/i18n/i18n.properties: -------------------------------------------------------------------------------- 1 | Products=Products 2 | Quantity=Stock 3 | VanillaIceCream=Vanilla Ice Cream 🍦 4 | Bananas=Bananas 🍌 5 | Apples=Apples 🍎 6 | ChangeFirstProduct=Try changing the quantity of the first product: 7 | ChangeAppleColor=Try changing the color of the apple 8 | AddItemToList=Try adding a new product to the list 9 | 10 | GeneralInformation=General Information -------------------------------------------------------------------------------- /applications/vue/public/i18n/i18n_de.properties: -------------------------------------------------------------------------------- 1 | Products=Produkte 2 | Quantity=Lagerbestand 3 | VanillaIceCream=Vanilleeis 🍦 4 | Bananas=Bananen 🍌 5 | Apples=Äpfel 🍎 6 | ChangeFirstProduct=Ändere den Lagerbestand des ersten Produkts: 7 | ChangeAppleColor=Ändere die Farbe des Apfels 8 | AddItemToList=Füge ein neues Produkt hinzu 9 | 10 | GeneralInformation=Generelle Informationen -------------------------------------------------------------------------------- /applications/vue/public/i18n/i18n_en.properties: -------------------------------------------------------------------------------- 1 | Products=Products 2 | Quantity=Stock 3 | VanillaIceCream=Vanilla Ice Cream 🍦 4 | Bananas=Bananas 🍌 5 | Apples=Apples 🍎 6 | ChangeFirstProduct=Try changing the quantity of the first product: 7 | ChangeAppleColor=Try changing the color of the apple 8 | AddItemToList=Try adding a new product to the list 9 | 10 | GeneralInformation=General Information -------------------------------------------------------------------------------- /applications/vue/src/App.vue: -------------------------------------------------------------------------------- 1 | 22 | 23 | 90 | 91 | 162 | 163 | 236 | -------------------------------------------------------------------------------- /applications/vue/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue' 2 | import App from './App.vue' 3 | 4 | const app = createApp(App) 5 | 6 | app.mount('#app') 7 | -------------------------------------------------------------------------------- /applications/vue/vite.config.js: -------------------------------------------------------------------------------- 1 | import { fileURLToPath, URL } from 'node:url' 2 | 3 | import { defineConfig } from 'vite' 4 | import vue from '@vitejs/plugin-vue' 5 | 6 | // https://vitejs.dev/config/ 7 | export default defineConfig({ 8 | plugins: [ 9 | vue({ 10 | template: { 11 | compilerOptions: { 12 | // treat all tags with a ui5- as custom elements 13 | isCustomElement: tag => (tag.includes('ui5-') || tag.includes('custom-')) 14 | } 15 | } 16 | }), 17 | ], 18 | resolve: { 19 | alias: { 20 | '@': fileURLToPath(new URL('./src', import.meta.url)) 21 | } 22 | } 23 | }) 24 | -------------------------------------------------------------------------------- /extensions/vanilla-data-binding/README.md: -------------------------------------------------------------------------------- 1 | # vanilla-data-binding 2 | 3 | This package pays tribute to [UI5](https://ui5.sap.com/) and its [data binding](https://ui5.sap.com/#/topic/68b9644a253741e8a4b9e4279a35c247) concept. It aims to provide similar functionality while being framework agnostic and free of dependencies. It is **not** meant to be used in production. 4 | 5 | ## How it works 6 | 7 | When instantiating a new model ([i18nModel](#i18nmodel) or [JSONModel](#jsonmodel)), the model will look for HTML elements that have the [`data-bind-list`](#list-bindings) or [`data-bind-property`](#property-bindings) attributes set. It will then modify the elements based on the syntax specified in the attributes and the current data in the model. This relationship between the model and HTML elements (also called "subscribers") is referred to as a "binding". Whenever the `model.setProperty("path/to/value", "myNewData")` method is called, all subscribers of a model will get notified - meaning their values change accordingly. 8 | 9 | ## Property Bindings 10 | 11 | Property bindings bind a specific value from the data in the model to a element in the HTML DOM - more specifically to an attribute of this element. When the value in the data model changes (via the `model.setProperty("path/to/value", "myNewData")` method), all bound elements will automatically be updated accordingly. In case bound elements are input elements [or the like](/src/index.ts#L114), the binding is a [two-way data binding](https://sapui5.hana.ondemand.com/sdk/#/topic/c72b922fdb59422496661000165d7ff1). This means that elements are equipped with a corresponding event listener to notify the model upon change and therefore all other subscribers, too. 12 | 13 | By default, property bindings bind a value in the data model to the `textContent` attribute of an HTML element. Omitting the attribute that is to be set therefore gives the same result as specifying it as `textContent`: 14 | ```html 15 | 16 | 17 |

18 | 19 |

20 | ``` 21 | 22 | You can also bind properties to any other attribute of an HTML element: 23 | ```html 24 | 25 | ``` 26 | 27 | Or you can specify multiple property bindings for one HTML element using an array-like syntax: 28 | ```html 29 | 33 | ``` 34 | 35 | ## List Bindings 36 | 37 | List bindings duplicate their first child (think of it as a template) according to the data in the model, and then pass the corresponding subset of data to the new children. This is why the data for a list binding has to be an array and only works with [JSONModels](#jsonmodel). 38 | 39 | See an [example of a list binding below](#jsonmodel). 40 | 41 | ## JSONModel 42 | 43 | A JSONModel is a data model consisting of data in JSON format or in the form of a JavaScript object. It can include nested data, arrays, numbers, strings, etc. and can be used for property binding as well as for list bindings. 44 | 45 | Create a JSONModel like this: 46 | ```javascript 47 | import { JSONModel } from "vanilla-data-binding" 48 | const model = new JSONModel("nameOfModel", { 49 | path: { 50 | to: { 51 | value: "someData", 52 | anotherValue: "someOtherData", 53 | array: [ 54 | { someProperty: "someData1" }, 55 | { someProperty: "someData2" } 56 | ] 57 | } 58 | } 59 | }) 60 | ``` 61 | 62 | The syntax for a list binding is as follows: 63 | ```html 64 | 67 | ``` 68 | 69 | A list binding can be used in combination with property bindings: 70 | ```html 71 | 74 | ``` 75 | 76 | ## i18nModel 77 | 78 | In contrast to JSONModels, an i18nModel ("internationalization" model) is a data model consisting of simple key-value pairs that doesn't allow for any nested structure. It can therefore only be used for property bindings. It's specialty is that you can provide multiple datasets that represent translations for different languages. Based on the language set via the URL query parameter (e.g. `?language=de` for German) or the user's browser settings, the corresponding translations will be used for the model. The URL query parameter overrules the browser settings. The translations can be provided by creating files following the naming `i18n/i18n_de.properties` (for German). They will then automatically be picked up by the i18nModel. The file containing the default translations must be called `i18n/i18n.properties` (language code omitted). 79 | 80 | > ⚠️ Do not provide a model name when creating an i18nModel - simply do `new i18nModel()`. i18nModels are always automatically named `i18n`. 81 | 82 | Create an i18nModel like this: 83 | ```javascript 84 | import { i18nModel } from "vanilla-data-binding" 85 | const i18n = new i18nModel() 86 | ``` 87 | 88 | Provide a default translation file: 89 | `i18n/i18n.properties` 90 | ```properties 91 | helloWorld=Hello World! 92 | ``` 93 | 94 | Provide translations file using a language code like so: 95 | `i18n/i18n_de.properties` 96 | ```properties 97 | helloWorld=Hallo Welt! 98 | ``` 99 | 100 | Consume the i18nModel using property bindings: 101 | ```html 102 |

103 | ``` 104 | 105 | Set the URL query parameter `?language=de` to see the title in German. -------------------------------------------------------------------------------- /extensions/vanilla-data-binding/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vanilla-data-binding", 3 | "version": "0.1.3", 4 | "lockfileVersion": 2, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "vanilla-data-binding", 9 | "version": "0.1.3", 10 | "devDependencies": { 11 | "typescript": "^5" 12 | } 13 | }, 14 | "node_modules/typescript": { 15 | "version": "5.1.3", 16 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz", 17 | "integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==", 18 | "dev": true, 19 | "bin": { 20 | "tsc": "bin/tsc", 21 | "tsserver": "bin/tsserver" 22 | }, 23 | "engines": { 24 | "node": ">=14.17" 25 | } 26 | } 27 | }, 28 | "dependencies": { 29 | "typescript": { 30 | "version": "5.1.3", 31 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz", 32 | "integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==", 33 | "dev": true 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /extensions/vanilla-data-binding/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vanilla-data-binding", 3 | "version": "0.1.3", 4 | "author": "nicoschoenteich", 5 | "repository": { 6 | "type": "git", 7 | "url": "https://github.com/SAP-samples/ui5-webcomponents-data-binding-example/tree/main/vanilla-data-binding" 8 | }, 9 | "bugs": { 10 | "url": "https://github.com/SAP-samples/ui5-webcomponents-data-binding-example/issues" 11 | }, 12 | "main": "dist/index.js", 13 | "types": "dist/index.d.ts", 14 | "scripts": { 15 | "build": "tsc --build", 16 | "dev": "tsc --watch" 17 | }, 18 | "devDependencies": { 19 | "typescript": "^5" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /extensions/vanilla-data-binding/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Base class representing a data model. 3 | */ 4 | class Model { 5 | 6 | /** 7 | * Creates a new data model. 8 | * @param {string} name - The name of the data model. 9 | * @param {object} data - The data of the data model. 10 | */ 11 | constructor(name, data) { 12 | this.name = name 13 | this.capitalizedName = this.#capitalizeFirstCharacter(name) 14 | this.data = data 15 | this.subscribers = { 16 | list: [], 17 | property: [] 18 | } 19 | } 20 | 21 | /** 22 | * Updates the model data and notifies all subscribers of the model. 23 | * @param {string} property - The property path in the data object. The path delimiter must be "/". 24 | * @param {any} data - The data that is to be set. 25 | * @returns {object} the updated data object. 26 | */ 27 | setProperty(property, data) { 28 | this.#dynamicDeepSetOfObject(this.data, property, data) 29 | this.#updateSubscribers() 30 | return this.data 31 | } 32 | 33 | /** 34 | * Appends a list item to an existing lists. 35 | * WARNING: Does not work for lists where the parent list element is bound to more than one property or list of this model. 36 | * @param {string} property - The property path in the model pointing to the list. 37 | * @param {object} data - The data to attach to the list. 38 | * @returns {HTMLElement} the newly appended list item node. 39 | */ 40 | appendListItem(property, data) { 41 | let newNode 42 | for (let i = 0; i < this.subscribers.list.length; i++) { 43 | const element = this.subscribers.list[i] 44 | let allSubscribersAndChildren = Array.from(element.querySelectorAll(`[data-bound-paths-${this.name}]`)) 45 | allSubscribersAndChildren.push(element) 46 | allSubscribersAndChildren.forEach(boundElementInsideList => { 47 | const boundPath = boundElementInsideList.dataset[`boundPaths${this.capitalizedName}`] 48 | if (boundPath == property) { 49 | const newIndex = boundElementInsideList.children.length 50 | newNode = boundElementInsideList.firstElementChild.cloneNode(true) 51 | boundElementInsideList.appendChild(newNode) 52 | newNode.querySelectorAll(`[data-bound-paths-${this.name}]`).forEach(element => { 53 | const boundPath = element.dataset[`boundPaths${this.capitalizedName}`] 54 | if (boundPath) { 55 | element.dataset[`boundPaths${this.capitalizedName}`] = this.#replaceLastOccurrenceOfNumber(boundPath, 0, newIndex) 56 | this.subscribers.property.push(element) 57 | this.#addPossibleTwoWayBinding(element) 58 | } 59 | }) 60 | this.setProperty(`${property}/${newIndex}`, data) 61 | } 62 | }) 63 | } 64 | return newNode 65 | } 66 | 67 | /** 68 | * Binds an element to a property in the model. The element is then subscribed to the model. 69 | * WARNING: Overwrites any existing bindings of the element to this model. 70 | * @param {HTMLElement} element - The element to bind. 71 | * @param {string} property - The property path in the model to bind the element to. 72 | */ 73 | bindElementAndProperty(element, property) { 74 | element.dataset.bindProperty = `${this.name}>${property}` 75 | element.dataset[`boundPaths${this.capitalizedName}`] = property 76 | if (!this.subscribers.property.includes(element)) { 77 | this.subscribers.property.push(element) 78 | } 79 | this.#updateSubscribers() 80 | } 81 | 82 | /** 83 | * Initializes all subscribers of the model for a binding type by populating `this.subscribers[bindingType]`. 84 | * Also saves the full property path in the `data-bound-paths-${modelName}` attribute. 85 | * Calls `this.#updateSubscribers()`. 86 | * @param {"list"|"property"} bindingType - The type of binding. 87 | */ 88 | initializeSubscribers(bindingType) { 89 | const allPossibleSubscribers = document.querySelectorAll(`[data-bind-${bindingType}]`) 90 | allPossibleSubscribers.forEach(element => { 91 | const propertyArrays = this.#parseDatasetAttribute(element, bindingType) 92 | for (let i = 0; i < propertyArrays.length; i++) { 93 | if (propertyArrays[i][0] == this.name) { 94 | this.subscribers[bindingType].push(element) 95 | if (!element.dataset[`boundPaths${this.capitalizedName}`]) { 96 | element.dataset[`boundPaths${this.capitalizedName}`] = this.#getFullPropertyPath(element, bindingType, i) 97 | } else { 98 | element.dataset[`boundPaths${this.capitalizedName}`] += "+" + this.#getFullPropertyPath(element, bindingType, i) 99 | } 100 | this.#addPossibleTwoWayBinding(element) 101 | } 102 | } 103 | }) 104 | if (bindingType === "list") { 105 | for (let i = 0; i < this.subscribers.list.length; i++) { 106 | const element = this.subscribers.list[i] 107 | this.#handleCloningOfListElements(element) 108 | } 109 | } 110 | 111 | this.#updateSubscribers() 112 | } 113 | 114 | /** 115 | * Gets the bound data of an item inside a list binding. 116 | * @param {HTMLElement} The element that is inside a list binding. 117 | * @returns {object} the bound data object 118 | */ 119 | getBoundData(element) { 120 | let elementWithPath 121 | while (!elementWithPath) { 122 | elementWithPath = element.querySelector(`[data-bound-paths-${this.name}]`) 123 | element = element.parentNode 124 | } 125 | const fullPropertyPath = elementWithPath.dataset[`boundPaths${this.capitalizedName}`] 126 | // check that element has one or more digits inside slashes --> list binding 127 | const pathContainsNumber = /\/\d+\//.test(fullPropertyPath) 128 | if (!pathContainsNumber) { 129 | console.error(`The getBoundData() method should only be called for items inside a list binding. This relates to the "${this.name}" data model.`) 130 | return 131 | } 132 | let lastCharacterIsNumber 133 | let relevantPropertyString = fullPropertyPath 134 | while (!lastCharacterIsNumber) { 135 | relevantPropertyString = relevantPropertyString.split("/").slice(0, -1).join("/") 136 | lastCharacterIsNumber = /^\d$/.test(relevantPropertyString.charAt(relevantPropertyString.length - 1)) 137 | } 138 | let relevantPropertyArray = relevantPropertyString.split("/") 139 | let boundData = this.data 140 | for (let i = 0; i < relevantPropertyArray.length ; i++) { 141 | boundData = boundData[relevantPropertyArray[i]] 142 | } 143 | return boundData 144 | } 145 | 146 | /** 147 | * Handles the cloning elements (items) inside a list. Also considers nested lists. 148 | * @param {HTMLElement} element - The parent list element. 149 | */ 150 | #handleCloningOfListElements(element) { 151 | this.#setListBindingMarker(element) 152 | const firstChild = element.firstElementChild 153 | if (!firstChild) { 154 | console.error(`Whops! Looks like ${element} has a list binding, but doesn't have any children. This relates to the "${this.name}" data model.`) 155 | } 156 | const listData = this.#getDataToSetOnElement(element, 0) 157 | for (let i = 0; i < listData.length; i++) { 158 | const newNode = firstChild.cloneNode(true) 159 | // element.appendChild(newNode) 160 | firstChild.parentNode.insertBefore(newNode, firstChild.nextSibling); 161 | 162 | const nestedLists = element.lastElementChild.querySelectorAll("[data-bind-list]") 163 | nestedLists.forEach(nestedList => { 164 | const oldBoundPaths = nestedList.dataset[`boundPaths${this.capitalizedName}`] 165 | nestedList.dataset[`boundPaths${this.capitalizedName}`] = this.#replaceLastOccurrenceOfNumber(oldBoundPaths, 0, i) 166 | this.#handleCloningOfListElements(nestedList) 167 | }) 168 | } 169 | firstChild.remove() 170 | } 171 | 172 | /** 173 | * Updates the properties of all subscribers of the model. 174 | */ 175 | #updateSubscribers() { 176 | for (let i = 0; i < this.subscribers.property.length; i++) { 177 | const element = this.subscribers.property[i] 178 | 179 | const propertyArrays = this.#parseDatasetAttribute(element, "property") 180 | // only keep properties from this model 181 | let relevantPropertyArrays = [] 182 | for (let j = 0; j < propertyArrays.length; j++) { 183 | if (propertyArrays[j][0] === this.name) { 184 | relevantPropertyArrays.push(propertyArrays[j]) 185 | } 186 | } 187 | 188 | for (let k = 0; k < relevantPropertyArrays.length; k++) { 189 | // account for possible offset in lookup of properties `data-bound-paths-${modelName}` if element also has list binding 190 | let offset = this.#readAndRemoveListBindingMarker(relevantPropertyArrays[k]).listBinding ? 1 : 0 191 | relevantPropertyArrays[k] = this.#readAndRemoveListBindingMarker(relevantPropertyArrays[k]).propertyArray 192 | const dataToSet = this.#getDataToSetOnElement(element, k + offset) 193 | let attributeToSet = relevantPropertyArrays[k][2] 194 | this.#setElementAttribute(element, dataToSet, attributeToSet) 195 | } 196 | } 197 | } 198 | 199 | /** 200 | * Adds an event listener to an element, if it is of type input, resulting in a two way binding. 201 | * @param {HTMLElement} element - the element to check and add possibly add an event listener to. 202 | */ 203 | #addPossibleTwoWayBinding(element) { 204 | if (element.tagName.includes('INPUT') || element.tagName.includes('TEXTAREA') || element.tagName.includes('DATE-PICKER')) { 205 | const boundPaths = element.dataset[`boundPaths${this.capitalizedName}`].split("+") 206 | for (let i = 0; i < boundPaths.length; i++) { 207 | element.addEventListener("change", (e) => { 208 | const element = e.target 209 | const property = boundPaths[i] 210 | const value = element.value 211 | this.setProperty(property, value) 212 | }) 213 | } 214 | } 215 | } 216 | 217 | /** 218 | * Gets the data from `this.data` that is to be set on an element. 219 | * @param {HTMLElement} element - The element whose data is to be set. 220 | * @param {number} pathIndex - The index of the binding in the `data-bind-${bindingType}` attribute array, which is used to get the full property path from `data-bound-paths-${modelName}`. 221 | * `pathIndex` must always be `0` for list bindings. 222 | * @returns {any} the data that is to bet set on an element. This can be an array (list binding) or a specific value (property binding). 223 | */ 224 | #getDataToSetOnElement(element, pathIndex) { 225 | let dataToSet = this.data 226 | const boundPaths = element.dataset[`boundPaths${this.capitalizedName}`].split("+") 227 | const propertyArray = boundPaths[pathIndex].split("/") 228 | for (let j = 0; j < propertyArray.length; j++) { 229 | dataToSet = dataToSet[propertyArray[j]] 230 | if (!dataToSet) { 231 | break 232 | } 233 | } 234 | if (dataToSet === null || dataToSet === undefined) { 235 | console.warn(`Whops! The property "${propertyArray.join("/")}" couldn't be found in the "${this.name}" data model.`) 236 | return "" 237 | } 238 | return dataToSet 239 | } 240 | 241 | /** 242 | * Gets the full property path in the model that the element is bound to. 243 | * @param {HTMLElement} element - The element that is bound to the model. 244 | * @param {"list"|"property"} bindingType - The type of binding. 245 | * @param {number} pathIndex - The index of the binding in the `data-bind-${bindingType}` attribute array, which is used to get the full property path from `data-bound-paths-${modelName}`. 246 | * `pathIndex` must always be `0` for list bindings. 247 | * @returns {string} a string representing the full property path in the model that the element is bound to. 248 | */ 249 | #getFullPropertyPath(element, bindingType, pathIndex) { 250 | let propertyPath = this.#parseDatasetAttribute(element, bindingType)[pathIndex][1] 251 | const closestElementWithListBinding = element.parentElement.closest("[data-bind-list]") 252 | const parentHasListBinding = closestElementWithListBinding && closestElementWithListBinding != element 253 | const ignoreItem = element.dataset[`bindListIgnore`] 254 | if (parentHasListBinding && !ignoreItem) { 255 | let propertyArray = [] 256 | propertyArray.push(propertyPath) 257 | 258 | let childIndex = -1 259 | const allClonedItems = closestElementWithListBinding.children 260 | for (let i = 0; i < allClonedItems.length; i++) { 261 | if (allClonedItems[i].contains(element)) { 262 | childIndex = i 263 | } 264 | } 265 | propertyArray.push(childIndex.toString()) 266 | 267 | const parentPropertyPath = this.#getFullPropertyPath(closestElementWithListBinding, "list", 0) 268 | propertyArray.push(parentPropertyPath) 269 | propertyArray.reverse() 270 | propertyPath = propertyArray.join("/") 271 | 272 | } 273 | return propertyPath 274 | } 275 | 276 | /** 277 | * Sets an attribute on an element. 278 | * @param {HTMLElement} element - The element whose value is to be set. 279 | * @param {string} value - The value that is to be set. 280 | * @param {string} attribute - The attribute that is to be set on the element. Defaults to `textContent` if not provided. 281 | */ 282 | #setElementAttribute(element, value, attribute) { 283 | if (attribute) { 284 | element[attribute] = value 285 | } else { 286 | element.textContent = value 287 | } 288 | } 289 | 290 | /** 291 | * Dynamically sets a new value for a property path in an object. 292 | * Custom implementation of https://lodash.com/docs/4.17.15set. 293 | * @param {object} object - The data object that is to be changed. 294 | * @param {string} property - The property path in the data object. The path delimiter must be "/". 295 | * @param {string} data - The data that is to be set. 296 | * @returns {object} the updated data object. 297 | */ 298 | #dynamicDeepSetOfObject(object, property, data) { 299 | const propertyArray = property.split("/") 300 | let i 301 | for (i = 0; i < propertyArray.length - 1; i++) { 302 | object = object[propertyArray[i]] 303 | } 304 | object[propertyArray[i]] = data 305 | return object 306 | } 307 | 308 | /** 309 | * Parses the `data-bind-${bindingType}` attribute of an element. 310 | * @param {HTMLElement} element - The element whose `data-bind-${bindingType}` attribute is to be split. 311 | * @param {"list"|"property"} bindingType - The type of binding. 312 | * @returns {Array.>} an array of arrays. The top-level arrays include the model name [0], property path [1], and optionally the target attribute [2]. 313 | */ 314 | #parseDatasetAttribute(element, bindingType) { 315 | const capitalizedBindingType = this.#capitalizeFirstCharacter(bindingType) 316 | const rawDataset = element.dataset[`bind${capitalizedBindingType}`] 317 | if (!rawDataset) { 318 | return 319 | } 320 | const isArray = rawDataset.includes("[") && rawDataset.includes("]") 321 | // remove whitespace 322 | let dataset = rawDataset.replace(/\s/g,'') 323 | // prepare for JSON.parse() 324 | dataset = dataset.replace(/\[/g, "[\"") 325 | dataset = dataset.replace(/,/g, "\",\"") 326 | dataset = dataset.replace(/\]/g, "\"]") 327 | if (isArray) { 328 | const datasetsArray = JSON.parse(dataset) 329 | for (let i = 0; i < datasetsArray.length; i++) { 330 | datasetsArray[i] = datasetsArray[i].split(">") 331 | } 332 | return datasetsArray 333 | } else { 334 | const datasetsArray = [] 335 | datasetsArray.push(rawDataset.replace(/['"]+/g, "").split(">")) 336 | return datasetsArray 337 | } 338 | } 339 | 340 | /** 341 | * Adds "*" as a marker for an existing list binding on an element's "data-bind-property" attribute. 342 | * @param {HTMLElement} element - The element that is to be marked. 343 | */ 344 | #setListBindingMarker(element) { 345 | // set marker showing that element has list binding 346 | let bindProperty = element.dataset.bindProperty || "" 347 | if (bindProperty && bindProperty.slice(-1) === "]") { 348 | bindProperty = bindProperty.replace(/\]/g, "*]") 349 | bindProperty = bindProperty.replace(/,/g, "*,") 350 | } else { 351 | bindProperty += "*" 352 | } 353 | element.dataset.bindProperty = bindProperty 354 | } 355 | 356 | /** 357 | * Checks if a list binding marker ("*") exists in the parameter and removes it. 358 | * @param {string[]} propertyArray - An array representing property path. 359 | * @returns {{listBinding: boolean, propertyArray: string[]}} an object that includes the `propertyArray` and indicates whether a list binding existed (`listBinding`). 360 | */ 361 | #readAndRemoveListBindingMarker(propertyArray) { 362 | let listBinding = false 363 | if (propertyArray[propertyArray.length - 1].includes("*")) { 364 | listBinding = true 365 | propertyArray[propertyArray.length - 1] = propertyArray[propertyArray.length - 1].replace(/\*/g, "") 366 | } 367 | return { 368 | listBinding: listBinding, 369 | propertyArray: propertyArray 370 | } 371 | } 372 | 373 | /** 374 | * Capitalizes the first character of a string. 375 | * @param {string} string - The string whose first character is to be capitalized. 376 | * @returns {string} the capitalized string. 377 | */ 378 | #capitalizeFirstCharacter(string) { 379 | return string.charAt(0).toUpperCase() + string.slice(1) 380 | } 381 | 382 | /** 383 | * Replaces the last occurrence of the number inside a string with the new number. 384 | * @param {string} string - The string containing a number 385 | * @param {number} oldNumber - The number that is to be replaced. 386 | * @param {number} newNumber - The new number. 387 | * @returns {string} the string containing the new number. 388 | */ 389 | #replaceLastOccurrenceOfNumber(string, oldNumber, newNumber) { 390 | const index = string.lastIndexOf(oldNumber) 391 | const array = string.split("") 392 | array[index] = newNumber 393 | for (let i = 1; i < oldNumber.toString().length; i++) { 394 | array[index + i] = "" 395 | } 396 | return array.join("") 397 | } 398 | } 399 | 400 | /** 401 | * Class representing a data model that is constructed by passing data manually. 402 | */ 403 | export class JSONModel extends Model { 404 | /** 405 | * Creates a new data model. 406 | * @param {string} name - The name of the data model. 407 | * @param {data} data - The data of the data model. 408 | */ 409 | constructor(name, data) { 410 | super(name, data) 411 | this.initializeSubscribers("list") 412 | this.initializeSubscribers("property") 413 | } 414 | } 415 | 416 | /** 417 | * Class representing a data model that is constructed with data that is read from files in a `i18n/` directory. 418 | */ 419 | export class i18nModel extends Model { 420 | /** 421 | * Creates a new data model with data that is read from files in a `i18n/` directory. 422 | * Example for a translation files is `i18n/i18n_de.properties` (`de` for German). 423 | * Sets the language by reading the URL parameter `language` (e.g. `?language=de` for German). 424 | * If no URL parameter is present, it gets the browser language. 425 | * Fallback in all cases is to the read the `i18n/i18n.properties` file. 426 | * @param {boolean} manualInitialization - Do you want to call `this.initialize()` manually, perhaps if you want to `await` it? 427 | */ 428 | constructor(manualInitialization) { 429 | super("i18n", { status: "about to load i18n files..." }) 430 | if (!manualInitialization) { 431 | this.initialize() 432 | } 433 | } 434 | 435 | /** 436 | * Async method that initializes a new i18n data model. 437 | * Calls `this.initializeSubscribers("property")` to continue with regular model creation flow. 438 | */ 439 | async initialize() { 440 | const urlParams = new URLSearchParams(window.location.search) 441 | let languageParameter = urlParams.get("language") 442 | if (!languageParameter) { 443 | languageParameter = window.location.hash.split("=")[1] 444 | } 445 | if (!languageParameter) { 446 | languageParameter = navigator.language.substring(0, 2) 447 | } 448 | let fileName = `i18n_${languageParameter}.properties` 449 | let response = await fetch(`/i18n/${fileName}`) 450 | if (response.status === 404) { 451 | response = await fetch("/i18n/i18n.properties") 452 | } 453 | const result = await response.text() 454 | let i18nData = {} 455 | const keyValuePairs = result.split("\n") 456 | for (let i = 0; i < keyValuePairs.length; i++) { 457 | const keyOrValue = keyValuePairs[i].split("=") 458 | i18nData[keyOrValue[0]] = keyOrValue[1] 459 | } 460 | this.data = i18nData 461 | this.initializeSubscribers("property") 462 | return i18nData 463 | } 464 | } -------------------------------------------------------------------------------- /extensions/vanilla-data-binding/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "moduleResolution": "nodenext", 4 | "outDir": "./dist", 5 | "allowJs": true, 6 | "target": "ES6", 7 | "declaration": true 8 | }, 9 | "include": ["./src/index.js"], 10 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ui5-webcomponents-data-binding-example", 3 | "version": "0.0.0", 4 | "repository": { 5 | "type": "git", 6 | "url": "https://github.com/SAP-samples/ui5-webcomponents-data-binding-example" 7 | }, 8 | "bugs": { 9 | "url": "https://github.com/SAP-samples/ui5-webcomponents-data-binding-example/issues" 10 | }, 11 | "scripts": { 12 | "clean": "npm run clean --workspaces --if-present", 13 | "build": "npm run build --workspaces --if-present", 14 | "vite": "npm run dev -w=vite-application", 15 | "vite:dist": "npm run serve:dist -w=vite-application", 16 | "vue": "npm run dev -w=vue-application", 17 | "vue:dist": "npm run serve:dist -w=vue-application" 18 | }, 19 | "workspaces": [ 20 | "packages/*", 21 | "applications/*" 22 | ] 23 | } --------------------------------------------------------------------------------