├── .DS_Store ├── .gitignore ├── native ├── .gitignore ├── .npmignore ├── .vscode │ └── extensions.json ├── README.md ├── example │ ├── react │ │ ├── .gitignore │ │ ├── index.html │ │ ├── package.json │ │ ├── pnpm-lock.yaml │ │ ├── src │ │ │ ├── App.css │ │ │ ├── App.tsx │ │ │ ├── favicon.svg │ │ │ ├── index.css │ │ │ ├── logo.svg │ │ │ ├── main.tsx │ │ │ ├── svelte-host.tsx │ │ │ └── vite-env.d.ts │ │ ├── tsconfig.json │ │ ├── tsconfig.node.json │ │ └── vite.config.ts │ └── vue │ │ ├── .gitignore │ │ ├── .vscode │ │ └── extensions.json │ │ ├── README.md │ │ ├── index.html │ │ ├── package.json │ │ ├── pnpm-lock.yaml │ │ ├── public │ │ └── favicon.ico │ │ ├── src │ │ ├── App.vue │ │ ├── assets │ │ │ └── logo.png │ │ ├── env.d.ts │ │ ├── main.ts │ │ └── svelte-host.vue │ │ ├── tsconfig.json │ │ ├── tsconfig.node.json │ │ └── vite.config.ts ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public │ └── favicon.ico ├── src │ ├── assets │ │ └── svelte.png │ ├── example.ts │ ├── lib │ │ ├── paper-card.svelte │ │ ├── paper-compound.svelte │ │ └── paper-counter.svelte │ ├── main.ts │ ├── page.svelte │ └── vite-env.d.ts ├── svelte.config.js ├── tsconfig.json ├── tsconfig.node.json ├── tsconfig.tsbuildinfo └── vite.config.ts └── web-component ├── .gitignore ├── .npmignore ├── .vscode └── extensions.json ├── README.md ├── example ├── react │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── pnpm-lock.yaml │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── favicon.svg │ │ ├── index.css │ │ ├── logo.svg │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ └── vite.config.ts └── svelte │ ├── README.md │ ├── index.html │ ├── package.json │ ├── pnpm-lock.yaml │ ├── public │ └── favicon.ico │ ├── src │ ├── App.svelte │ ├── assets │ │ └── svelte.png │ ├── main.ts │ └── vite-env.d.ts │ ├── svelte.config.js │ ├── tsconfig.json │ ├── tsconfig.node.json │ └── vite.config.ts ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public └── favicon.ico ├── src ├── assets │ └── svelte.png ├── lib │ ├── paper-card.svelte │ ├── paper-compound.svelte │ └── paper-counter.svelte ├── main.ts └── vite-env.d.ts ├── stats.html ├── svelte.config.js ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaltyAom/svelte-web-component/ab2042b1e26751edb28b5cbb80fdb90db7ee60ea/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | native/node_modules 2 | native/dist 3 | native/example/react/node_modules 4 | native/example/react/dist 5 | native/example/vue/node_modules 6 | native/example/vue/dist 7 | 8 | web-component/node_modules 9 | web-component/dist 10 | web-component/example/react/node_modules 11 | web-component/example/react/dist 12 | web-component/example/svelte/node_modules 13 | web-component/example/svelte/dist 14 | -------------------------------------------------------------------------------- /native/.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 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | -------------------------------------------------------------------------------- /native/.npmignore: -------------------------------------------------------------------------------- 1 | example 2 | node_modules -------------------------------------------------------------------------------- /native/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["svelte.svelte-vscode"] 3 | } 4 | -------------------------------------------------------------------------------- /native/README.md: -------------------------------------------------------------------------------- 1 | # Svelte + TS + Vite 2 | 3 | This template should help get you started developing with Svelte and TypeScript in Vite. 4 | 5 | ## Recommended IDE Setup 6 | 7 | [VS Code](https://code.visualstudio.com/) + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode). 8 | 9 | ## Need an official Svelte framework? 10 | 11 | Check out [SvelteKit](https://github.com/sveltejs/kit#readme), which is also powered by Vite. Deploy anywhere with its serverless-first approach and adapt to various platforms, with out of the box support for TypeScript, SCSS, and Less, and easily-added support for mdsvex, GraphQL, PostCSS, Tailwind CSS, and more. 12 | 13 | ## Technical considerations 14 | 15 | **Why use this over SvelteKit?** 16 | 17 | - It brings its own routing solution which might not be preferable for some users. 18 | - It is first and foremost a framework that just happens to use Vite under the hood, not a Vite app. 19 | `vite dev` and `vite build` wouldn't work in a SvelteKit environment, for example. 20 | 21 | This template contains as little as possible to get started with Vite + TypeScript + Svelte, while taking into account the developer experience with regards to HMR and intellisense. It demonstrates capabilities on par with the other `create-vite` templates and is a good starting point for beginners dipping their toes into a Vite + Svelte project. 22 | 23 | Should you later need the extended capabilities and extensibility provided by SvelteKit, the template has been structured similarly to SvelteKit so that it is easy to migrate. 24 | 25 | **Why `global.d.ts` instead of `compilerOptions.types` inside `jsconfig.json` or `tsconfig.json`?** 26 | 27 | Setting `compilerOptions.types` shuts out all other types not explicitly listed in the configuration. Using triple-slash references keeps the default TypeScript setting of accepting type information from the entire workspace, while also adding `svelte` and `vite/client` type information. 28 | 29 | **Why include `.vscode/extensions.json`?** 30 | 31 | Other templates indirectly recommend extensions via the README, but this file allows VS Code to prompt the user to install the recommended extension upon opening the project. 32 | 33 | **Why enable `allowJs` in the TS template?** 34 | 35 | While `allowJs: false` would indeed prevent the use of `.js` files in the project, it does not prevent the use of JavaScript syntax in `.svelte` files. In addition, it would force `checkJs: false`, bringing the worst of both worlds: not being able to guarantee the entire codebase is TypeScript, and also having worse typechecking for the existing JavaScript. In addition, there are valid use cases in which a mixed codebase may be relevant. 36 | 37 | **Why is HMR not preserving my local component state?** 38 | 39 | HMR state preservation comes with a number of gotchas! It has been disabled by default in both `svelte-hmr` and `@sveltejs/vite-plugin-svelte` due to its often surprising behavior. You can read the details [here](https://github.com/rixo/svelte-hmr#svelte-hmr). 40 | 41 | If you have state that's important to retain within a component, consider creating an external store which would not be replaced by HMR. 42 | 43 | ```ts 44 | // store.ts 45 | // An extremely simple external store 46 | import { writable } from 'svelte/store' 47 | export default writable(0) 48 | ``` 49 | -------------------------------------------------------------------------------- /native/example/react/.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 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | 26 | stats.html -------------------------------------------------------------------------------- /native/example/react/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Vite App 8 | 9 | 10 |
11 |
12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /native/example/react/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react", 3 | "private": true, 4 | "version": "0.0.0", 5 | "scripts": { 6 | "dev": "vite", 7 | "build": "tsc && vite build", 8 | "preview": "vite preview" 9 | }, 10 | "dependencies": { 11 | "@saltyaom/svelte-native-component": "../../", 12 | "react": "^18.0.0", 13 | "react-dom": "^18.0.0" 14 | }, 15 | "devDependencies": { 16 | "@types/react": "^18.0.0", 17 | "@types/react-dom": "^18.0.0", 18 | "@vitejs/plugin-react": "^1.3.0", 19 | "rollup": "^2.75.7", 20 | "rollup-plugin-analyzer": "^4.0.0", 21 | "rollup-plugin-visualizer": "^5.6.0", 22 | "typescript": "^4.6.3", 23 | "vite": "^2.9.9" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /native/example/react/pnpm-lock.yaml: -------------------------------------------------------------------------------- 1 | lockfileVersion: 5.4 2 | 3 | specifiers: 4 | '@saltyaom/svelte-native-component': ../../ 5 | '@types/react': ^18.0.0 6 | '@types/react-dom': ^18.0.0 7 | '@vitejs/plugin-react': ^1.3.0 8 | react: ^18.0.0 9 | react-dom: ^18.0.0 10 | rollup: ^2.75.7 11 | rollup-plugin-analyzer: ^4.0.0 12 | rollup-plugin-visualizer: ^5.6.0 13 | typescript: ^4.6.3 14 | vite: ^2.9.9 15 | 16 | dependencies: 17 | '@saltyaom/svelte-native-component': link:../.. 18 | react: 18.2.0 19 | react-dom: 18.2.0_react@18.2.0 20 | 21 | devDependencies: 22 | '@types/react': 18.0.14 23 | '@types/react-dom': 18.0.5 24 | '@vitejs/plugin-react': 1.3.2 25 | rollup: 2.75.7 26 | rollup-plugin-analyzer: 4.0.0 27 | rollup-plugin-visualizer: 5.6.0_rollup@2.75.7 28 | typescript: 4.7.4 29 | vite: 2.9.12 30 | 31 | packages: 32 | 33 | /@ampproject/remapping/2.2.0: 34 | resolution: {integrity: sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==} 35 | engines: {node: '>=6.0.0'} 36 | dependencies: 37 | '@jridgewell/gen-mapping': 0.1.1 38 | '@jridgewell/trace-mapping': 0.3.13 39 | dev: true 40 | 41 | /@babel/code-frame/7.16.7: 42 | resolution: {integrity: sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==} 43 | engines: {node: '>=6.9.0'} 44 | dependencies: 45 | '@babel/highlight': 7.17.12 46 | dev: true 47 | 48 | /@babel/compat-data/7.18.5: 49 | resolution: {integrity: sha512-BxhE40PVCBxVEJsSBhB6UWyAuqJRxGsAw8BdHMJ3AKGydcwuWW4kOO3HmqBQAdcq/OP+/DlTVxLvsCzRTnZuGg==} 50 | engines: {node: '>=6.9.0'} 51 | dev: true 52 | 53 | /@babel/core/7.18.5: 54 | resolution: {integrity: sha512-MGY8vg3DxMnctw0LdvSEojOsumc70g0t18gNyUdAZqB1Rpd1Bqo/svHGvt+UJ6JcGX+DIekGFDxxIWofBxLCnQ==} 55 | engines: {node: '>=6.9.0'} 56 | dependencies: 57 | '@ampproject/remapping': 2.2.0 58 | '@babel/code-frame': 7.16.7 59 | '@babel/generator': 7.18.2 60 | '@babel/helper-compilation-targets': 7.18.2_@babel+core@7.18.5 61 | '@babel/helper-module-transforms': 7.18.0 62 | '@babel/helpers': 7.18.2 63 | '@babel/parser': 7.18.5 64 | '@babel/template': 7.16.7 65 | '@babel/traverse': 7.18.5 66 | '@babel/types': 7.18.4 67 | convert-source-map: 1.8.0 68 | debug: 4.3.4 69 | gensync: 1.0.0-beta.2 70 | json5: 2.2.1 71 | semver: 6.3.0 72 | transitivePeerDependencies: 73 | - supports-color 74 | dev: true 75 | 76 | /@babel/generator/7.18.2: 77 | resolution: {integrity: sha512-W1lG5vUwFvfMd8HVXqdfbuG7RuaSrTCCD8cl8fP8wOivdbtbIg2Db3IWUcgvfxKbbn6ZBGYRW/Zk1MIwK49mgw==} 78 | engines: {node: '>=6.9.0'} 79 | dependencies: 80 | '@babel/types': 7.18.4 81 | '@jridgewell/gen-mapping': 0.3.1 82 | jsesc: 2.5.2 83 | dev: true 84 | 85 | /@babel/helper-annotate-as-pure/7.16.7: 86 | resolution: {integrity: sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==} 87 | engines: {node: '>=6.9.0'} 88 | dependencies: 89 | '@babel/types': 7.18.4 90 | dev: true 91 | 92 | /@babel/helper-compilation-targets/7.18.2_@babel+core@7.18.5: 93 | resolution: {integrity: sha512-s1jnPotJS9uQnzFtiZVBUxe67CuBa679oWFHpxYYnTpRL/1ffhyX44R9uYiXoa/pLXcY9H2moJta0iaanlk/rQ==} 94 | engines: {node: '>=6.9.0'} 95 | peerDependencies: 96 | '@babel/core': ^7.0.0 97 | dependencies: 98 | '@babel/compat-data': 7.18.5 99 | '@babel/core': 7.18.5 100 | '@babel/helper-validator-option': 7.16.7 101 | browserslist: 4.21.0 102 | semver: 6.3.0 103 | dev: true 104 | 105 | /@babel/helper-environment-visitor/7.18.2: 106 | resolution: {integrity: sha512-14GQKWkX9oJzPiQQ7/J36FTXcD4kSp8egKjO9nINlSKiHITRA9q/R74qu8S9xlc/b/yjsJItQUeeh3xnGN0voQ==} 107 | engines: {node: '>=6.9.0'} 108 | dev: true 109 | 110 | /@babel/helper-function-name/7.17.9: 111 | resolution: {integrity: sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==} 112 | engines: {node: '>=6.9.0'} 113 | dependencies: 114 | '@babel/template': 7.16.7 115 | '@babel/types': 7.18.4 116 | dev: true 117 | 118 | /@babel/helper-hoist-variables/7.16.7: 119 | resolution: {integrity: sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==} 120 | engines: {node: '>=6.9.0'} 121 | dependencies: 122 | '@babel/types': 7.18.4 123 | dev: true 124 | 125 | /@babel/helper-module-imports/7.16.7: 126 | resolution: {integrity: sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==} 127 | engines: {node: '>=6.9.0'} 128 | dependencies: 129 | '@babel/types': 7.18.4 130 | dev: true 131 | 132 | /@babel/helper-module-transforms/7.18.0: 133 | resolution: {integrity: sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA==} 134 | engines: {node: '>=6.9.0'} 135 | dependencies: 136 | '@babel/helper-environment-visitor': 7.18.2 137 | '@babel/helper-module-imports': 7.16.7 138 | '@babel/helper-simple-access': 7.18.2 139 | '@babel/helper-split-export-declaration': 7.16.7 140 | '@babel/helper-validator-identifier': 7.16.7 141 | '@babel/template': 7.16.7 142 | '@babel/traverse': 7.18.5 143 | '@babel/types': 7.18.4 144 | transitivePeerDependencies: 145 | - supports-color 146 | dev: true 147 | 148 | /@babel/helper-plugin-utils/7.17.12: 149 | resolution: {integrity: sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA==} 150 | engines: {node: '>=6.9.0'} 151 | dev: true 152 | 153 | /@babel/helper-simple-access/7.18.2: 154 | resolution: {integrity: sha512-7LIrjYzndorDY88MycupkpQLKS1AFfsVRm2k/9PtKScSy5tZq0McZTj+DiMRynboZfIqOKvo03pmhTaUgiD6fQ==} 155 | engines: {node: '>=6.9.0'} 156 | dependencies: 157 | '@babel/types': 7.18.4 158 | dev: true 159 | 160 | /@babel/helper-split-export-declaration/7.16.7: 161 | resolution: {integrity: sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==} 162 | engines: {node: '>=6.9.0'} 163 | dependencies: 164 | '@babel/types': 7.18.4 165 | dev: true 166 | 167 | /@babel/helper-validator-identifier/7.16.7: 168 | resolution: {integrity: sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==} 169 | engines: {node: '>=6.9.0'} 170 | dev: true 171 | 172 | /@babel/helper-validator-option/7.16.7: 173 | resolution: {integrity: sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==} 174 | engines: {node: '>=6.9.0'} 175 | dev: true 176 | 177 | /@babel/helpers/7.18.2: 178 | resolution: {integrity: sha512-j+d+u5xT5utcQSzrh9p+PaJX94h++KN+ng9b9WEJq7pkUPAd61FGqhjuUEdfknb3E/uDBb7ruwEeKkIxNJPIrg==} 179 | engines: {node: '>=6.9.0'} 180 | dependencies: 181 | '@babel/template': 7.16.7 182 | '@babel/traverse': 7.18.5 183 | '@babel/types': 7.18.4 184 | transitivePeerDependencies: 185 | - supports-color 186 | dev: true 187 | 188 | /@babel/highlight/7.17.12: 189 | resolution: {integrity: sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==} 190 | engines: {node: '>=6.9.0'} 191 | dependencies: 192 | '@babel/helper-validator-identifier': 7.16.7 193 | chalk: 2.4.2 194 | js-tokens: 4.0.0 195 | dev: true 196 | 197 | /@babel/parser/7.18.5: 198 | resolution: {integrity: sha512-YZWVaglMiplo7v8f1oMQ5ZPQr0vn7HPeZXxXWsxXJRjGVrzUFn9OxFQl1sb5wzfootjA/yChhW84BV+383FSOw==} 199 | engines: {node: '>=6.0.0'} 200 | hasBin: true 201 | dev: true 202 | 203 | /@babel/plugin-syntax-jsx/7.17.12_@babel+core@7.18.5: 204 | resolution: {integrity: sha512-spyY3E3AURfxh/RHtjx5j6hs8am5NbUBGfcZ2vB3uShSpZdQyXSf5rR5Mk76vbtlAZOelyVQ71Fg0x9SG4fsog==} 205 | engines: {node: '>=6.9.0'} 206 | peerDependencies: 207 | '@babel/core': ^7.0.0-0 208 | dependencies: 209 | '@babel/core': 7.18.5 210 | '@babel/helper-plugin-utils': 7.17.12 211 | dev: true 212 | 213 | /@babel/plugin-transform-react-jsx-development/7.16.7_@babel+core@7.18.5: 214 | resolution: {integrity: sha512-RMvQWvpla+xy6MlBpPlrKZCMRs2AGiHOGHY3xRwl0pEeim348dDyxeH4xBsMPbIMhujeq7ihE702eM2Ew0Wo+A==} 215 | engines: {node: '>=6.9.0'} 216 | peerDependencies: 217 | '@babel/core': ^7.0.0-0 218 | dependencies: 219 | '@babel/core': 7.18.5 220 | '@babel/plugin-transform-react-jsx': 7.17.12_@babel+core@7.18.5 221 | dev: true 222 | 223 | /@babel/plugin-transform-react-jsx-self/7.17.12_@babel+core@7.18.5: 224 | resolution: {integrity: sha512-7S9G2B44EnYOx74mue02t1uD8ckWZ/ee6Uz/qfdzc35uWHX5NgRy9i+iJSb2LFRgMd+QV9zNcStQaazzzZ3n3Q==} 225 | engines: {node: '>=6.9.0'} 226 | peerDependencies: 227 | '@babel/core': ^7.0.0-0 228 | dependencies: 229 | '@babel/core': 7.18.5 230 | '@babel/helper-plugin-utils': 7.17.12 231 | dev: true 232 | 233 | /@babel/plugin-transform-react-jsx-source/7.16.7_@babel+core@7.18.5: 234 | resolution: {integrity: sha512-rONFiQz9vgbsnaMtQlZCjIRwhJvlrPET8TabIUK2hzlXw9B9s2Ieaxte1SCOOXMbWRHodbKixNf3BLcWVOQ8Bw==} 235 | engines: {node: '>=6.9.0'} 236 | peerDependencies: 237 | '@babel/core': ^7.0.0-0 238 | dependencies: 239 | '@babel/core': 7.18.5 240 | '@babel/helper-plugin-utils': 7.17.12 241 | dev: true 242 | 243 | /@babel/plugin-transform-react-jsx/7.17.12_@babel+core@7.18.5: 244 | resolution: {integrity: sha512-Lcaw8bxd1DKht3thfD4A12dqo1X16he1Lm8rIv8sTwjAYNInRS1qHa9aJoqvzpscItXvftKDCfaEQzwoVyXpEQ==} 245 | engines: {node: '>=6.9.0'} 246 | peerDependencies: 247 | '@babel/core': ^7.0.0-0 248 | dependencies: 249 | '@babel/core': 7.18.5 250 | '@babel/helper-annotate-as-pure': 7.16.7 251 | '@babel/helper-module-imports': 7.16.7 252 | '@babel/helper-plugin-utils': 7.17.12 253 | '@babel/plugin-syntax-jsx': 7.17.12_@babel+core@7.18.5 254 | '@babel/types': 7.18.4 255 | dev: true 256 | 257 | /@babel/template/7.16.7: 258 | resolution: {integrity: sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==} 259 | engines: {node: '>=6.9.0'} 260 | dependencies: 261 | '@babel/code-frame': 7.16.7 262 | '@babel/parser': 7.18.5 263 | '@babel/types': 7.18.4 264 | dev: true 265 | 266 | /@babel/traverse/7.18.5: 267 | resolution: {integrity: sha512-aKXj1KT66sBj0vVzk6rEeAO6Z9aiiQ68wfDgge3nHhA/my6xMM/7HGQUNumKZaoa2qUPQ5whJG9aAifsxUKfLA==} 268 | engines: {node: '>=6.9.0'} 269 | dependencies: 270 | '@babel/code-frame': 7.16.7 271 | '@babel/generator': 7.18.2 272 | '@babel/helper-environment-visitor': 7.18.2 273 | '@babel/helper-function-name': 7.17.9 274 | '@babel/helper-hoist-variables': 7.16.7 275 | '@babel/helper-split-export-declaration': 7.16.7 276 | '@babel/parser': 7.18.5 277 | '@babel/types': 7.18.4 278 | debug: 4.3.4 279 | globals: 11.12.0 280 | transitivePeerDependencies: 281 | - supports-color 282 | dev: true 283 | 284 | /@babel/types/7.18.4: 285 | resolution: {integrity: sha512-ThN1mBcMq5pG/Vm2IcBmPPfyPXbd8S02rS+OBIDENdufvqC7Z/jHPCv9IcP01277aKtDI8g/2XysBN4hA8niiw==} 286 | engines: {node: '>=6.9.0'} 287 | dependencies: 288 | '@babel/helper-validator-identifier': 7.16.7 289 | to-fast-properties: 2.0.0 290 | dev: true 291 | 292 | /@jridgewell/gen-mapping/0.1.1: 293 | resolution: {integrity: sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==} 294 | engines: {node: '>=6.0.0'} 295 | dependencies: 296 | '@jridgewell/set-array': 1.1.1 297 | '@jridgewell/sourcemap-codec': 1.4.13 298 | dev: true 299 | 300 | /@jridgewell/gen-mapping/0.3.1: 301 | resolution: {integrity: sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==} 302 | engines: {node: '>=6.0.0'} 303 | dependencies: 304 | '@jridgewell/set-array': 1.1.1 305 | '@jridgewell/sourcemap-codec': 1.4.13 306 | '@jridgewell/trace-mapping': 0.3.13 307 | dev: true 308 | 309 | /@jridgewell/resolve-uri/3.0.7: 310 | resolution: {integrity: sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==} 311 | engines: {node: '>=6.0.0'} 312 | dev: true 313 | 314 | /@jridgewell/set-array/1.1.1: 315 | resolution: {integrity: sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==} 316 | engines: {node: '>=6.0.0'} 317 | dev: true 318 | 319 | /@jridgewell/sourcemap-codec/1.4.13: 320 | resolution: {integrity: sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==} 321 | dev: true 322 | 323 | /@jridgewell/trace-mapping/0.3.13: 324 | resolution: {integrity: sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==} 325 | dependencies: 326 | '@jridgewell/resolve-uri': 3.0.7 327 | '@jridgewell/sourcemap-codec': 1.4.13 328 | dev: true 329 | 330 | /@rollup/pluginutils/4.2.1: 331 | resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} 332 | engines: {node: '>= 8.0.0'} 333 | dependencies: 334 | estree-walker: 2.0.2 335 | picomatch: 2.3.1 336 | dev: true 337 | 338 | /@types/prop-types/15.7.5: 339 | resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==} 340 | dev: true 341 | 342 | /@types/react-dom/18.0.5: 343 | resolution: {integrity: sha512-OWPWTUrY/NIrjsAPkAk1wW9LZeIjSvkXRhclsFO8CZcZGCOg2G0YZy4ft+rOyYxy8B7ui5iZzi9OkDebZ7/QSA==} 344 | dependencies: 345 | '@types/react': 18.0.14 346 | dev: true 347 | 348 | /@types/react/18.0.14: 349 | resolution: {integrity: sha512-x4gGuASSiWmo0xjDLpm5mPb52syZHJx02VKbqUKdLmKtAwIh63XClGsiTI1K6DO5q7ox4xAsQrU+Gl3+gGXF9Q==} 350 | dependencies: 351 | '@types/prop-types': 15.7.5 352 | '@types/scheduler': 0.16.2 353 | csstype: 3.1.0 354 | dev: true 355 | 356 | /@types/scheduler/0.16.2: 357 | resolution: {integrity: sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==} 358 | dev: true 359 | 360 | /@vitejs/plugin-react/1.3.2: 361 | resolution: {integrity: sha512-aurBNmMo0kz1O4qRoY+FM4epSA39y3ShWGuqfLRA/3z0oEJAdtoSfgA3aO98/PCCHAqMaduLxIxErWrVKIFzXA==} 362 | engines: {node: '>=12.0.0'} 363 | dependencies: 364 | '@babel/core': 7.18.5 365 | '@babel/plugin-transform-react-jsx': 7.17.12_@babel+core@7.18.5 366 | '@babel/plugin-transform-react-jsx-development': 7.16.7_@babel+core@7.18.5 367 | '@babel/plugin-transform-react-jsx-self': 7.17.12_@babel+core@7.18.5 368 | '@babel/plugin-transform-react-jsx-source': 7.16.7_@babel+core@7.18.5 369 | '@rollup/pluginutils': 4.2.1 370 | react-refresh: 0.13.0 371 | resolve: 1.22.1 372 | transitivePeerDependencies: 373 | - supports-color 374 | dev: true 375 | 376 | /ansi-regex/5.0.1: 377 | resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} 378 | engines: {node: '>=8'} 379 | dev: true 380 | 381 | /ansi-styles/3.2.1: 382 | resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} 383 | engines: {node: '>=4'} 384 | dependencies: 385 | color-convert: 1.9.3 386 | dev: true 387 | 388 | /ansi-styles/4.3.0: 389 | resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} 390 | engines: {node: '>=8'} 391 | dependencies: 392 | color-convert: 2.0.1 393 | dev: true 394 | 395 | /browserslist/4.21.0: 396 | resolution: {integrity: sha512-UQxE0DIhRB5z/zDz9iA03BOfxaN2+GQdBYH/2WrSIWEUrnpzTPJbhqt+umq6r3acaPRTW1FNTkrcp0PXgtFkvA==} 397 | engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} 398 | hasBin: true 399 | dependencies: 400 | caniuse-lite: 1.0.30001358 401 | electron-to-chromium: 1.4.165 402 | node-releases: 2.0.5 403 | update-browserslist-db: 1.0.3_browserslist@4.21.0 404 | dev: true 405 | 406 | /caniuse-lite/1.0.30001358: 407 | resolution: {integrity: sha512-hvp8PSRymk85R20bsDra7ZTCpSVGN/PAz9pSAjPSjKC+rNmnUk5vCRgJwiTT/O4feQ/yu/drvZYpKxxhbFuChw==} 408 | dev: true 409 | 410 | /chalk/2.4.2: 411 | resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} 412 | engines: {node: '>=4'} 413 | dependencies: 414 | ansi-styles: 3.2.1 415 | escape-string-regexp: 1.0.5 416 | supports-color: 5.5.0 417 | dev: true 418 | 419 | /cliui/7.0.4: 420 | resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} 421 | dependencies: 422 | string-width: 4.2.3 423 | strip-ansi: 6.0.1 424 | wrap-ansi: 7.0.0 425 | dev: true 426 | 427 | /color-convert/1.9.3: 428 | resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} 429 | dependencies: 430 | color-name: 1.1.3 431 | dev: true 432 | 433 | /color-convert/2.0.1: 434 | resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} 435 | engines: {node: '>=7.0.0'} 436 | dependencies: 437 | color-name: 1.1.4 438 | dev: true 439 | 440 | /color-name/1.1.3: 441 | resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} 442 | dev: true 443 | 444 | /color-name/1.1.4: 445 | resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} 446 | dev: true 447 | 448 | /convert-source-map/1.8.0: 449 | resolution: {integrity: sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==} 450 | dependencies: 451 | safe-buffer: 5.1.2 452 | dev: true 453 | 454 | /csstype/3.1.0: 455 | resolution: {integrity: sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==} 456 | dev: true 457 | 458 | /debug/4.3.4: 459 | resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} 460 | engines: {node: '>=6.0'} 461 | peerDependencies: 462 | supports-color: '*' 463 | peerDependenciesMeta: 464 | supports-color: 465 | optional: true 466 | dependencies: 467 | ms: 2.1.2 468 | dev: true 469 | 470 | /define-lazy-prop/2.0.0: 471 | resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} 472 | engines: {node: '>=8'} 473 | dev: true 474 | 475 | /electron-to-chromium/1.4.165: 476 | resolution: {integrity: sha512-DKQW1lqUSAYQvn9dnpK7mWaDpWbNOXQLXhfCi7Iwx0BKxdZOxkKcCyKw1l3ihWWW5iWSxKKbhEUoNRoHvl/hbA==} 477 | dev: true 478 | 479 | /emoji-regex/8.0.0: 480 | resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} 481 | dev: true 482 | 483 | /esbuild-android-64/0.14.47: 484 | resolution: {integrity: sha512-R13Bd9+tqLVFndncMHssZrPWe6/0Kpv2/dt4aA69soX4PRxlzsVpCvoJeFE8sOEoeVEiBkI0myjlkDodXlHa0g==} 485 | engines: {node: '>=12'} 486 | cpu: [x64] 487 | os: [android] 488 | requiresBuild: true 489 | dev: true 490 | optional: true 491 | 492 | /esbuild-android-arm64/0.14.47: 493 | resolution: {integrity: sha512-OkwOjj7ts4lBp/TL6hdd8HftIzOy/pdtbrNA4+0oVWgGG64HrdVzAF5gxtJufAPOsEjkyh1oIYvKAUinKKQRSQ==} 494 | engines: {node: '>=12'} 495 | cpu: [arm64] 496 | os: [android] 497 | requiresBuild: true 498 | dev: true 499 | optional: true 500 | 501 | /esbuild-darwin-64/0.14.47: 502 | resolution: {integrity: sha512-R6oaW0y5/u6Eccti/TS6c/2c1xYTb1izwK3gajJwi4vIfNs1s8B1dQzI1UiC9T61YovOQVuePDcfqHLT3mUZJA==} 503 | engines: {node: '>=12'} 504 | cpu: [x64] 505 | os: [darwin] 506 | requiresBuild: true 507 | dev: true 508 | optional: true 509 | 510 | /esbuild-darwin-arm64/0.14.47: 511 | resolution: {integrity: sha512-seCmearlQyvdvM/noz1L9+qblC5vcBrhUaOoLEDDoLInF/VQ9IkobGiLlyTPYP5dW1YD4LXhtBgOyevoIHGGnw==} 512 | engines: {node: '>=12'} 513 | cpu: [arm64] 514 | os: [darwin] 515 | requiresBuild: true 516 | dev: true 517 | optional: true 518 | 519 | /esbuild-freebsd-64/0.14.47: 520 | resolution: {integrity: sha512-ZH8K2Q8/Ux5kXXvQMDsJcxvkIwut69KVrYQhza/ptkW50DC089bCVrJZZ3sKzIoOx+YPTrmsZvqeZERjyYrlvQ==} 521 | engines: {node: '>=12'} 522 | cpu: [x64] 523 | os: [freebsd] 524 | requiresBuild: true 525 | dev: true 526 | optional: true 527 | 528 | /esbuild-freebsd-arm64/0.14.47: 529 | resolution: {integrity: sha512-ZJMQAJQsIOhn3XTm7MPQfCzEu5b9STNC+s90zMWe2afy9EwnHV7Ov7ohEMv2lyWlc2pjqLW8QJnz2r0KZmeAEQ==} 530 | engines: {node: '>=12'} 531 | cpu: [arm64] 532 | os: [freebsd] 533 | requiresBuild: true 534 | dev: true 535 | optional: true 536 | 537 | /esbuild-linux-32/0.14.47: 538 | resolution: {integrity: sha512-FxZOCKoEDPRYvq300lsWCTv1kcHgiiZfNrPtEhFAiqD7QZaXrad8LxyJ8fXGcWzIFzRiYZVtB3ttvITBvAFhKw==} 539 | engines: {node: '>=12'} 540 | cpu: [ia32] 541 | os: [linux] 542 | requiresBuild: true 543 | dev: true 544 | optional: true 545 | 546 | /esbuild-linux-64/0.14.47: 547 | resolution: {integrity: sha512-nFNOk9vWVfvWYF9YNYksZptgQAdstnDCMtR6m42l5Wfugbzu11VpMCY9XrD4yFxvPo9zmzcoUL/88y0lfJZJJw==} 548 | engines: {node: '>=12'} 549 | cpu: [x64] 550 | os: [linux] 551 | requiresBuild: true 552 | dev: true 553 | optional: true 554 | 555 | /esbuild-linux-arm/0.14.47: 556 | resolution: {integrity: sha512-ZGE1Bqg/gPRXrBpgpvH81tQHpiaGxa8c9Rx/XOylkIl2ypLuOcawXEAo8ls+5DFCcRGt/o3sV+PzpAFZobOsmA==} 557 | engines: {node: '>=12'} 558 | cpu: [arm] 559 | os: [linux] 560 | requiresBuild: true 561 | dev: true 562 | optional: true 563 | 564 | /esbuild-linux-arm64/0.14.47: 565 | resolution: {integrity: sha512-ywfme6HVrhWcevzmsufjd4iT3PxTfCX9HOdxA7Hd+/ZM23Y9nXeb+vG6AyA6jgq/JovkcqRHcL9XwRNpWG6XRw==} 566 | engines: {node: '>=12'} 567 | cpu: [arm64] 568 | os: [linux] 569 | requiresBuild: true 570 | dev: true 571 | optional: true 572 | 573 | /esbuild-linux-mips64le/0.14.47: 574 | resolution: {integrity: sha512-mg3D8YndZ1LvUiEdDYR3OsmeyAew4MA/dvaEJxvyygahWmpv1SlEEnhEZlhPokjsUMfRagzsEF/d/2XF+kTQGg==} 575 | engines: {node: '>=12'} 576 | cpu: [mips64el] 577 | os: [linux] 578 | requiresBuild: true 579 | dev: true 580 | optional: true 581 | 582 | /esbuild-linux-ppc64le/0.14.47: 583 | resolution: {integrity: sha512-WER+f3+szmnZiWoK6AsrTKGoJoErG2LlauSmk73LEZFQ/iWC+KhhDsOkn1xBUpzXWsxN9THmQFltLoaFEH8F8w==} 584 | engines: {node: '>=12'} 585 | cpu: [ppc64] 586 | os: [linux] 587 | requiresBuild: true 588 | dev: true 589 | optional: true 590 | 591 | /esbuild-linux-riscv64/0.14.47: 592 | resolution: {integrity: sha512-1fI6bP3A3rvI9BsaaXbMoaOjLE3lVkJtLxsgLHqlBhLlBVY7UqffWBvkrX/9zfPhhVMd9ZRFiaqXnB1T7BsL2g==} 593 | engines: {node: '>=12'} 594 | cpu: [riscv64] 595 | os: [linux] 596 | requiresBuild: true 597 | dev: true 598 | optional: true 599 | 600 | /esbuild-linux-s390x/0.14.47: 601 | resolution: {integrity: sha512-eZrWzy0xFAhki1CWRGnhsHVz7IlSKX6yT2tj2Eg8lhAwlRE5E96Hsb0M1mPSE1dHGpt1QVwwVivXIAacF/G6mw==} 602 | engines: {node: '>=12'} 603 | cpu: [s390x] 604 | os: [linux] 605 | requiresBuild: true 606 | dev: true 607 | optional: true 608 | 609 | /esbuild-netbsd-64/0.14.47: 610 | resolution: {integrity: sha512-Qjdjr+KQQVH5Q2Q1r6HBYswFTToPpss3gqCiSw2Fpq/ua8+eXSQyAMG+UvULPqXceOwpnPo4smyZyHdlkcPppQ==} 611 | engines: {node: '>=12'} 612 | cpu: [x64] 613 | os: [netbsd] 614 | requiresBuild: true 615 | dev: true 616 | optional: true 617 | 618 | /esbuild-openbsd-64/0.14.47: 619 | resolution: {integrity: sha512-QpgN8ofL7B9z8g5zZqJE+eFvD1LehRlxr25PBkjyyasakm4599iroUpaj96rdqRlO2ShuyqwJdr+oNqWwTUmQw==} 620 | engines: {node: '>=12'} 621 | cpu: [x64] 622 | os: [openbsd] 623 | requiresBuild: true 624 | dev: true 625 | optional: true 626 | 627 | /esbuild-sunos-64/0.14.47: 628 | resolution: {integrity: sha512-uOeSgLUwukLioAJOiGYm3kNl+1wJjgJA8R671GYgcPgCx7QR73zfvYqXFFcIO93/nBdIbt5hd8RItqbbf3HtAQ==} 629 | engines: {node: '>=12'} 630 | cpu: [x64] 631 | os: [sunos] 632 | requiresBuild: true 633 | dev: true 634 | optional: true 635 | 636 | /esbuild-windows-32/0.14.47: 637 | resolution: {integrity: sha512-H0fWsLTp2WBfKLBgwYT4OTfFly4Im/8B5f3ojDv1Kx//kiubVY0IQunP2Koc/fr/0wI7hj3IiBDbSrmKlrNgLQ==} 638 | engines: {node: '>=12'} 639 | cpu: [ia32] 640 | os: [win32] 641 | requiresBuild: true 642 | dev: true 643 | optional: true 644 | 645 | /esbuild-windows-64/0.14.47: 646 | resolution: {integrity: sha512-/Pk5jIEH34T68r8PweKRi77W49KwanZ8X6lr3vDAtOlH5EumPE4pBHqkCUdELanvsT14yMXLQ/C/8XPi1pAtkQ==} 647 | engines: {node: '>=12'} 648 | cpu: [x64] 649 | os: [win32] 650 | requiresBuild: true 651 | dev: true 652 | optional: true 653 | 654 | /esbuild-windows-arm64/0.14.47: 655 | resolution: {integrity: sha512-HFSW2lnp62fl86/qPQlqw6asIwCnEsEoNIL1h2uVMgakddf+vUuMcCbtUY1i8sst7KkgHrVKCJQB33YhhOweCQ==} 656 | engines: {node: '>=12'} 657 | cpu: [arm64] 658 | os: [win32] 659 | requiresBuild: true 660 | dev: true 661 | optional: true 662 | 663 | /esbuild/0.14.47: 664 | resolution: {integrity: sha512-wI4ZiIfFxpkuxB8ju4MHrGwGLyp1+awEHAHVpx6w7a+1pmYIq8T9FGEVVwFo0iFierDoMj++Xq69GXWYn2EiwA==} 665 | engines: {node: '>=12'} 666 | hasBin: true 667 | requiresBuild: true 668 | optionalDependencies: 669 | esbuild-android-64: 0.14.47 670 | esbuild-android-arm64: 0.14.47 671 | esbuild-darwin-64: 0.14.47 672 | esbuild-darwin-arm64: 0.14.47 673 | esbuild-freebsd-64: 0.14.47 674 | esbuild-freebsd-arm64: 0.14.47 675 | esbuild-linux-32: 0.14.47 676 | esbuild-linux-64: 0.14.47 677 | esbuild-linux-arm: 0.14.47 678 | esbuild-linux-arm64: 0.14.47 679 | esbuild-linux-mips64le: 0.14.47 680 | esbuild-linux-ppc64le: 0.14.47 681 | esbuild-linux-riscv64: 0.14.47 682 | esbuild-linux-s390x: 0.14.47 683 | esbuild-netbsd-64: 0.14.47 684 | esbuild-openbsd-64: 0.14.47 685 | esbuild-sunos-64: 0.14.47 686 | esbuild-windows-32: 0.14.47 687 | esbuild-windows-64: 0.14.47 688 | esbuild-windows-arm64: 0.14.47 689 | dev: true 690 | 691 | /escalade/3.1.1: 692 | resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} 693 | engines: {node: '>=6'} 694 | dev: true 695 | 696 | /escape-string-regexp/1.0.5: 697 | resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} 698 | engines: {node: '>=0.8.0'} 699 | dev: true 700 | 701 | /estree-walker/2.0.2: 702 | resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} 703 | dev: true 704 | 705 | /fsevents/2.3.2: 706 | resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} 707 | engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} 708 | os: [darwin] 709 | requiresBuild: true 710 | dev: true 711 | optional: true 712 | 713 | /function-bind/1.1.1: 714 | resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} 715 | dev: true 716 | 717 | /gensync/1.0.0-beta.2: 718 | resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} 719 | engines: {node: '>=6.9.0'} 720 | dev: true 721 | 722 | /get-caller-file/2.0.5: 723 | resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} 724 | engines: {node: 6.* || 8.* || >= 10.*} 725 | dev: true 726 | 727 | /globals/11.12.0: 728 | resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} 729 | engines: {node: '>=4'} 730 | dev: true 731 | 732 | /has-flag/3.0.0: 733 | resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} 734 | engines: {node: '>=4'} 735 | dev: true 736 | 737 | /has/1.0.3: 738 | resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} 739 | engines: {node: '>= 0.4.0'} 740 | dependencies: 741 | function-bind: 1.1.1 742 | dev: true 743 | 744 | /is-core-module/2.9.0: 745 | resolution: {integrity: sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==} 746 | dependencies: 747 | has: 1.0.3 748 | dev: true 749 | 750 | /is-docker/2.2.1: 751 | resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} 752 | engines: {node: '>=8'} 753 | hasBin: true 754 | dev: true 755 | 756 | /is-fullwidth-code-point/3.0.0: 757 | resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} 758 | engines: {node: '>=8'} 759 | dev: true 760 | 761 | /is-wsl/2.2.0: 762 | resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==} 763 | engines: {node: '>=8'} 764 | dependencies: 765 | is-docker: 2.2.1 766 | dev: true 767 | 768 | /js-tokens/4.0.0: 769 | resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} 770 | 771 | /jsesc/2.5.2: 772 | resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} 773 | engines: {node: '>=4'} 774 | hasBin: true 775 | dev: true 776 | 777 | /json5/2.2.1: 778 | resolution: {integrity: sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==} 779 | engines: {node: '>=6'} 780 | hasBin: true 781 | dev: true 782 | 783 | /loose-envify/1.4.0: 784 | resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} 785 | hasBin: true 786 | dependencies: 787 | js-tokens: 4.0.0 788 | dev: false 789 | 790 | /ms/2.1.2: 791 | resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} 792 | dev: true 793 | 794 | /nanoid/3.3.4: 795 | resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} 796 | engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} 797 | hasBin: true 798 | dev: true 799 | 800 | /node-releases/2.0.5: 801 | resolution: {integrity: sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==} 802 | dev: true 803 | 804 | /open/8.4.0: 805 | resolution: {integrity: sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==} 806 | engines: {node: '>=12'} 807 | dependencies: 808 | define-lazy-prop: 2.0.0 809 | is-docker: 2.2.1 810 | is-wsl: 2.2.0 811 | dev: true 812 | 813 | /path-parse/1.0.7: 814 | resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} 815 | dev: true 816 | 817 | /picocolors/1.0.0: 818 | resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} 819 | dev: true 820 | 821 | /picomatch/2.3.1: 822 | resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} 823 | engines: {node: '>=8.6'} 824 | dev: true 825 | 826 | /postcss/8.4.14: 827 | resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==} 828 | engines: {node: ^10 || ^12 || >=14} 829 | dependencies: 830 | nanoid: 3.3.4 831 | picocolors: 1.0.0 832 | source-map-js: 1.0.2 833 | dev: true 834 | 835 | /react-dom/18.2.0_react@18.2.0: 836 | resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} 837 | peerDependencies: 838 | react: ^18.2.0 839 | dependencies: 840 | loose-envify: 1.4.0 841 | react: 18.2.0 842 | scheduler: 0.23.0 843 | dev: false 844 | 845 | /react-refresh/0.13.0: 846 | resolution: {integrity: sha512-XP8A9BT0CpRBD+NYLLeIhld/RqG9+gktUjW1FkE+Vm7OCinbG1SshcK5tb9ls4kzvjZr9mOQc7HYgBngEyPAXg==} 847 | engines: {node: '>=0.10.0'} 848 | dev: true 849 | 850 | /react/18.2.0: 851 | resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} 852 | engines: {node: '>=0.10.0'} 853 | dependencies: 854 | loose-envify: 1.4.0 855 | dev: false 856 | 857 | /require-directory/2.1.1: 858 | resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} 859 | engines: {node: '>=0.10.0'} 860 | dev: true 861 | 862 | /resolve/1.22.1: 863 | resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} 864 | hasBin: true 865 | dependencies: 866 | is-core-module: 2.9.0 867 | path-parse: 1.0.7 868 | supports-preserve-symlinks-flag: 1.0.0 869 | dev: true 870 | 871 | /rollup-plugin-analyzer/4.0.0: 872 | resolution: {integrity: sha512-LL9GEt3bkXp6Wa19SNR5MWcvHNMvuTFYg+eYBZN2OIFhSWN+pEJUQXEKu5BsOeABob3x9PDaLKW7w5iOJnsESQ==} 873 | engines: {node: '>=8.0.0'} 874 | dev: true 875 | 876 | /rollup-plugin-visualizer/5.6.0_rollup@2.75.7: 877 | resolution: {integrity: sha512-CKcc8GTUZjC+LsMytU8ocRr/cGZIfMR7+mdy4YnlyetlmIl/dM8BMnOEpD4JPIGt+ZVW7Db9ZtSsbgyeBH3uTA==} 878 | engines: {node: '>=12'} 879 | hasBin: true 880 | peerDependencies: 881 | rollup: ^2.0.0 882 | dependencies: 883 | nanoid: 3.3.4 884 | open: 8.4.0 885 | rollup: 2.75.7 886 | source-map: 0.7.4 887 | yargs: 17.5.1 888 | dev: true 889 | 890 | /rollup/2.75.7: 891 | resolution: {integrity: sha512-VSE1iy0eaAYNCxEXaleThdFXqZJ42qDBatAwrfnPlENEZ8erQ+0LYX4JXOLPceWfZpV1VtZwZ3dFCuOZiSyFtQ==} 892 | engines: {node: '>=10.0.0'} 893 | hasBin: true 894 | optionalDependencies: 895 | fsevents: 2.3.2 896 | dev: true 897 | 898 | /safe-buffer/5.1.2: 899 | resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} 900 | dev: true 901 | 902 | /scheduler/0.23.0: 903 | resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} 904 | dependencies: 905 | loose-envify: 1.4.0 906 | dev: false 907 | 908 | /semver/6.3.0: 909 | resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} 910 | hasBin: true 911 | dev: true 912 | 913 | /source-map-js/1.0.2: 914 | resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} 915 | engines: {node: '>=0.10.0'} 916 | dev: true 917 | 918 | /source-map/0.7.4: 919 | resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} 920 | engines: {node: '>= 8'} 921 | dev: true 922 | 923 | /string-width/4.2.3: 924 | resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} 925 | engines: {node: '>=8'} 926 | dependencies: 927 | emoji-regex: 8.0.0 928 | is-fullwidth-code-point: 3.0.0 929 | strip-ansi: 6.0.1 930 | dev: true 931 | 932 | /strip-ansi/6.0.1: 933 | resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} 934 | engines: {node: '>=8'} 935 | dependencies: 936 | ansi-regex: 5.0.1 937 | dev: true 938 | 939 | /supports-color/5.5.0: 940 | resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} 941 | engines: {node: '>=4'} 942 | dependencies: 943 | has-flag: 3.0.0 944 | dev: true 945 | 946 | /supports-preserve-symlinks-flag/1.0.0: 947 | resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} 948 | engines: {node: '>= 0.4'} 949 | dev: true 950 | 951 | /to-fast-properties/2.0.0: 952 | resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} 953 | engines: {node: '>=4'} 954 | dev: true 955 | 956 | /typescript/4.7.4: 957 | resolution: {integrity: sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==} 958 | engines: {node: '>=4.2.0'} 959 | hasBin: true 960 | dev: true 961 | 962 | /update-browserslist-db/1.0.3_browserslist@4.21.0: 963 | resolution: {integrity: sha512-ufSazemeh9Gty0qiWtoRpJ9F5Q5W3xdIPm1UZQqYQv/q0Nyb9EMHUB2lu+O9x1re9WsorpMAUu4Y6Lxcs5n+XQ==} 964 | hasBin: true 965 | peerDependencies: 966 | browserslist: '>= 4.21.0' 967 | dependencies: 968 | browserslist: 4.21.0 969 | escalade: 3.1.1 970 | picocolors: 1.0.0 971 | dev: true 972 | 973 | /vite/2.9.12: 974 | resolution: {integrity: sha512-suxC36dQo9Rq1qMB2qiRorNJtJAdxguu5TMvBHOc/F370KvqAe9t48vYp+/TbPKRNrMh/J55tOUmkuIqstZaew==} 975 | engines: {node: '>=12.2.0'} 976 | hasBin: true 977 | peerDependencies: 978 | less: '*' 979 | sass: '*' 980 | stylus: '*' 981 | peerDependenciesMeta: 982 | less: 983 | optional: true 984 | sass: 985 | optional: true 986 | stylus: 987 | optional: true 988 | dependencies: 989 | esbuild: 0.14.47 990 | postcss: 8.4.14 991 | resolve: 1.22.1 992 | rollup: 2.75.7 993 | optionalDependencies: 994 | fsevents: 2.3.2 995 | dev: true 996 | 997 | /wrap-ansi/7.0.0: 998 | resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} 999 | engines: {node: '>=10'} 1000 | dependencies: 1001 | ansi-styles: 4.3.0 1002 | string-width: 4.2.3 1003 | strip-ansi: 6.0.1 1004 | dev: true 1005 | 1006 | /y18n/5.0.8: 1007 | resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} 1008 | engines: {node: '>=10'} 1009 | dev: true 1010 | 1011 | /yargs-parser/21.0.1: 1012 | resolution: {integrity: sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==} 1013 | engines: {node: '>=12'} 1014 | dev: true 1015 | 1016 | /yargs/17.5.1: 1017 | resolution: {integrity: sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==} 1018 | engines: {node: '>=12'} 1019 | dependencies: 1020 | cliui: 7.0.4 1021 | escalade: 3.1.1 1022 | get-caller-file: 2.0.5 1023 | require-directory: 2.1.1 1024 | string-width: 4.2.3 1025 | y18n: 5.0.8 1026 | yargs-parser: 21.0.1 1027 | dev: true 1028 | -------------------------------------------------------------------------------- /native/example/react/src/App.css: -------------------------------------------------------------------------------- 1 | #playground { 2 | display: flex; 3 | flex-direction: column; 4 | justify-content: center; 5 | align-items: center; 6 | gap: 2.5em; 7 | width: 100%; 8 | min-height: 100vh; 9 | padding: 4em; 10 | background-color: #fafafa; 11 | box-sizing: border-box; 12 | } 13 | -------------------------------------------------------------------------------- /native/example/react/src/App.tsx: -------------------------------------------------------------------------------- 1 | import { useMemo, useReducer, useState } from 'react' 2 | 3 | import SvelteHost from './svelte-host' 4 | 5 | import { 6 | PaperCard, 7 | PaperCounter, 8 | PaperCompound 9 | } from '@saltyaom/svelte-native-component' 10 | 11 | import './App.css' 12 | 13 | interface PaperCounterProps { 14 | counter: number 15 | } 16 | 17 | interface PaperCardProps { 18 | src?: string 19 | alt?: string 20 | title?: string 21 | } 22 | 23 | function App() { 24 | const [counter, increase] = useReducer((v) => ++v, 0) 25 | 26 | return ( 27 |
28 | 29 | component={PaperCounter} 30 | counter={5} 31 | /> 32 | 33 | 34 | component={PaperCard} 35 | src="https://i.ytimg.com/vi/_35D5gvqDR8/maxresdefault.jpg" 36 | alt="Takodachi" 37 | title={`From React: ${counter}`} 38 | > 39 |

Hi

40 | 41 |
42 | ) 43 | } 44 | 45 | export default App 46 | -------------------------------------------------------------------------------- /native/example/react/src/favicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /native/example/react/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | * { 11 | box-sizing: border-box; 12 | } -------------------------------------------------------------------------------- /native/example/react/src/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /native/example/react/src/main.tsx: -------------------------------------------------------------------------------- 1 | import React, { HTMLAttributes, type ReactNode } from 'react' 2 | import ReactDOM from 'react-dom/client' 3 | 4 | import App from './App' 5 | 6 | import './index.css' 7 | 8 | ReactDOM.createRoot(document.getElementById('root')!).render() 9 | -------------------------------------------------------------------------------- /native/example/react/src/svelte-host.tsx: -------------------------------------------------------------------------------- 1 | import { useEffect, useRef, ReactNode } from 'react' 2 | 3 | type AnyObject = Record 4 | 5 | type Props = T & { 6 | component: new ( 7 | props: AnyObject & { 8 | target: HTMLElement 9 | props?: AnyObject 10 | } 11 | ) => any 12 | children?: ReactNode 13 | slot?: string 14 | } 15 | 16 | const SvelteHost = ({ component, ...props }: Props) => { 17 | const div = useRef(null) 18 | const stateRef = useRef(null) 19 | 20 | useEffect(() => { 21 | if (stateRef.current) stateRef.current!.$$set(props) 22 | else 23 | stateRef.current = new component({ 24 | target: div.current!, 25 | props 26 | }) 27 | }, [props]) 28 | 29 | return
30 | } 31 | 32 | export default SvelteHost 33 | -------------------------------------------------------------------------------- /native/example/react/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /native/example/react/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ESNext", 4 | "useDefineForClassFields": true, 5 | "lib": ["DOM", "DOM.Iterable", "ESNext"], 6 | "allowJs": false, 7 | "skipLibCheck": true, 8 | "esModuleInterop": false, 9 | "allowSyntheticDefaultImports": true, 10 | "strict": true, 11 | "forceConsistentCasingInFileNames": true, 12 | "module": "ESNext", 13 | "moduleResolution": "Node", 14 | "resolveJsonModule": true, 15 | "isolatedModules": true, 16 | "noEmit": true, 17 | "jsx": "react-jsx", 18 | }, 19 | "include": ["src"], 20 | "references": [{ "path": "./tsconfig.node.json" }] 21 | } 22 | -------------------------------------------------------------------------------- /native/example/react/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "module": "esnext", 5 | "moduleResolution": "node" 6 | }, 7 | "include": ["vite.config.ts"] 8 | } 9 | -------------------------------------------------------------------------------- /native/example/react/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | import visualizer from 'rollup-plugin-visualizer' 5 | 6 | // https://vitejs.dev/config/ 7 | export default defineConfig({ 8 | build: { 9 | rollupOptions: { 10 | plugins: [ 11 | visualizer({ 12 | gzipSize: true, 13 | brotliSize: true 14 | }) 15 | ] 16 | } 17 | }, 18 | plugins: [react()] 19 | }) 20 | -------------------------------------------------------------------------------- /native/example/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 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | -------------------------------------------------------------------------------- /native/example/vue/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["Vue.volar"] 3 | } 4 | -------------------------------------------------------------------------------- /native/example/vue/README.md: -------------------------------------------------------------------------------- 1 | # Vue 3 + TypeScript + Vite 2 | 3 | This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 ` 12 | 13 | 14 | -------------------------------------------------------------------------------- /native/example/vue/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue", 3 | "private": true, 4 | "version": "0.0.0", 5 | "scripts": { 6 | "dev": "vite", 7 | "build": "vue-tsc --noEmit && vite build", 8 | "preview": "vite preview" 9 | }, 10 | "dependencies": { 11 | "@saltyaom/svelte-native-component": "../../", 12 | "vue": "^3.2.25" 13 | }, 14 | "devDependencies": { 15 | "@vitejs/plugin-vue": "^2.3.3", 16 | "typescript": "^4.5.4", 17 | "vite": "^2.9.9", 18 | "vue-tsc": "^0.34.7" 19 | } 20 | } -------------------------------------------------------------------------------- /native/example/vue/pnpm-lock.yaml: -------------------------------------------------------------------------------- 1 | lockfileVersion: 5.4 2 | 3 | specifiers: 4 | '@saltyaom/svelte-native-component': ../../ 5 | '@vitejs/plugin-vue': ^2.3.3 6 | typescript: ^4.5.4 7 | vite: ^2.9.9 8 | vue: ^3.2.25 9 | vue-tsc: ^0.34.7 10 | 11 | dependencies: 12 | '@saltyaom/svelte-native-component': link:../.. 13 | vue: 3.2.37 14 | 15 | devDependencies: 16 | '@vitejs/plugin-vue': 2.3.3_vite@2.9.12+vue@3.2.37 17 | typescript: 4.7.4 18 | vite: 2.9.12 19 | vue-tsc: 0.34.17_typescript@4.7.4 20 | 21 | packages: 22 | 23 | /@babel/parser/7.18.5: 24 | resolution: {integrity: sha512-YZWVaglMiplo7v8f1oMQ5ZPQr0vn7HPeZXxXWsxXJRjGVrzUFn9OxFQl1sb5wzfootjA/yChhW84BV+383FSOw==} 25 | engines: {node: '>=6.0.0'} 26 | hasBin: true 27 | 28 | /@vitejs/plugin-vue/2.3.3_vite@2.9.12+vue@3.2.37: 29 | resolution: {integrity: sha512-SmQLDyhz+6lGJhPELsBdzXGc+AcaT8stgkbiTFGpXPe8Tl1tJaBw1A6pxDqDuRsVkD8uscrkx3hA7QDOoKYtyw==} 30 | engines: {node: '>=12.0.0'} 31 | peerDependencies: 32 | vite: ^2.5.10 33 | vue: ^3.2.25 34 | dependencies: 35 | vite: 2.9.12 36 | vue: 3.2.37 37 | dev: true 38 | 39 | /@volar/code-gen/0.34.17: 40 | resolution: {integrity: sha512-rHR7BA71BJ/4S7xUOPMPiB7uk6iU9oTWpEMZxFi5VGC9iJmDncE82WzU5iYpcbOBCVHsOjMh0+5CGMgdO6SaPA==} 41 | dependencies: 42 | '@volar/source-map': 0.34.17 43 | dev: true 44 | 45 | /@volar/source-map/0.34.17: 46 | resolution: {integrity: sha512-3yn1IMXJGGWB/G817/VFlFMi8oh5pmE7VzUqvgMZMrppaZpKj6/juvJIEiXNxRsgWc0RxIO8OSp4htdPUg1Raw==} 47 | dev: true 48 | 49 | /@volar/vue-code-gen/0.34.17: 50 | resolution: {integrity: sha512-17pzcK29fyFWUc+C82J3JYSnA+jy3QNrIldb9kPaP9Itbik05ZjEIyEue9FjhgIAuHeYSn4LDM5s6nGjxyfhsQ==} 51 | dependencies: 52 | '@volar/code-gen': 0.34.17 53 | '@volar/source-map': 0.34.17 54 | '@vue/compiler-core': 3.2.37 55 | '@vue/compiler-dom': 3.2.37 56 | '@vue/shared': 3.2.37 57 | dev: true 58 | 59 | /@volar/vue-typescript/0.34.17: 60 | resolution: {integrity: sha512-U0YSVIBPRWVPmgJHNa4nrfq88+oS+tmyZNxmnfajIw9A/GOGZQiKXHC0k09SVvbYXlsjgJ6NIjhm9NuAhGRQjg==} 61 | dependencies: 62 | '@volar/code-gen': 0.34.17 63 | '@volar/source-map': 0.34.17 64 | '@volar/vue-code-gen': 0.34.17 65 | '@vue/compiler-sfc': 3.2.37 66 | '@vue/reactivity': 3.2.37 67 | dev: true 68 | 69 | /@vue/compiler-core/3.2.37: 70 | resolution: {integrity: sha512-81KhEjo7YAOh0vQJoSmAD68wLfYqJvoiD4ulyedzF+OEk/bk6/hx3fTNVfuzugIIaTrOx4PGx6pAiBRe5e9Zmg==} 71 | dependencies: 72 | '@babel/parser': 7.18.5 73 | '@vue/shared': 3.2.37 74 | estree-walker: 2.0.2 75 | source-map: 0.6.1 76 | 77 | /@vue/compiler-dom/3.2.37: 78 | resolution: {integrity: sha512-yxJLH167fucHKxaqXpYk7x8z7mMEnXOw3G2q62FTkmsvNxu4FQSu5+3UMb+L7fjKa26DEzhrmCxAgFLLIzVfqQ==} 79 | dependencies: 80 | '@vue/compiler-core': 3.2.37 81 | '@vue/shared': 3.2.37 82 | 83 | /@vue/compiler-sfc/3.2.37: 84 | resolution: {integrity: sha512-+7i/2+9LYlpqDv+KTtWhOZH+pa8/HnX/905MdVmAcI/mPQOBwkHHIzrsEsucyOIZQYMkXUiTkmZq5am/NyXKkg==} 85 | dependencies: 86 | '@babel/parser': 7.18.5 87 | '@vue/compiler-core': 3.2.37 88 | '@vue/compiler-dom': 3.2.37 89 | '@vue/compiler-ssr': 3.2.37 90 | '@vue/reactivity-transform': 3.2.37 91 | '@vue/shared': 3.2.37 92 | estree-walker: 2.0.2 93 | magic-string: 0.25.9 94 | postcss: 8.4.14 95 | source-map: 0.6.1 96 | 97 | /@vue/compiler-ssr/3.2.37: 98 | resolution: {integrity: sha512-7mQJD7HdXxQjktmsWp/J67lThEIcxLemz1Vb5I6rYJHR5vI+lON3nPGOH3ubmbvYGt8xEUaAr1j7/tIFWiEOqw==} 99 | dependencies: 100 | '@vue/compiler-dom': 3.2.37 101 | '@vue/shared': 3.2.37 102 | 103 | /@vue/reactivity-transform/3.2.37: 104 | resolution: {integrity: sha512-IWopkKEb+8qpu/1eMKVeXrK0NLw9HicGviJzhJDEyfxTR9e1WtpnnbYkJWurX6WwoFP0sz10xQg8yL8lgskAZg==} 105 | dependencies: 106 | '@babel/parser': 7.18.5 107 | '@vue/compiler-core': 3.2.37 108 | '@vue/shared': 3.2.37 109 | estree-walker: 2.0.2 110 | magic-string: 0.25.9 111 | 112 | /@vue/reactivity/3.2.37: 113 | resolution: {integrity: sha512-/7WRafBOshOc6m3F7plwzPeCu/RCVv9uMpOwa/5PiY1Zz+WLVRWiy0MYKwmg19KBdGtFWsmZ4cD+LOdVPcs52A==} 114 | dependencies: 115 | '@vue/shared': 3.2.37 116 | 117 | /@vue/runtime-core/3.2.37: 118 | resolution: {integrity: sha512-JPcd9kFyEdXLl/i0ClS7lwgcs0QpUAWj+SKX2ZC3ANKi1U4DOtiEr6cRqFXsPwY5u1L9fAjkinIdB8Rz3FoYNQ==} 119 | dependencies: 120 | '@vue/reactivity': 3.2.37 121 | '@vue/shared': 3.2.37 122 | dev: false 123 | 124 | /@vue/runtime-dom/3.2.37: 125 | resolution: {integrity: sha512-HimKdh9BepShW6YozwRKAYjYQWg9mQn63RGEiSswMbW+ssIht1MILYlVGkAGGQbkhSh31PCdoUcfiu4apXJoPw==} 126 | dependencies: 127 | '@vue/runtime-core': 3.2.37 128 | '@vue/shared': 3.2.37 129 | csstype: 2.6.20 130 | dev: false 131 | 132 | /@vue/server-renderer/3.2.37_vue@3.2.37: 133 | resolution: {integrity: sha512-kLITEJvaYgZQ2h47hIzPh2K3jG8c1zCVbp/o/bzQOyvzaKiCquKS7AaioPI28GNxIsE/zSx+EwWYsNxDCX95MA==} 134 | peerDependencies: 135 | vue: 3.2.37 136 | dependencies: 137 | '@vue/compiler-ssr': 3.2.37 138 | '@vue/shared': 3.2.37 139 | vue: 3.2.37 140 | dev: false 141 | 142 | /@vue/shared/3.2.37: 143 | resolution: {integrity: sha512-4rSJemR2NQIo9Klm1vabqWjD8rs/ZaJSzMxkMNeJS6lHiUjjUeYFbooN19NgFjztubEKh3WlZUeOLVdbbUWHsw==} 144 | 145 | /csstype/2.6.20: 146 | resolution: {integrity: sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==} 147 | dev: false 148 | 149 | /esbuild-android-64/0.14.47: 150 | resolution: {integrity: sha512-R13Bd9+tqLVFndncMHssZrPWe6/0Kpv2/dt4aA69soX4PRxlzsVpCvoJeFE8sOEoeVEiBkI0myjlkDodXlHa0g==} 151 | engines: {node: '>=12'} 152 | cpu: [x64] 153 | os: [android] 154 | requiresBuild: true 155 | dev: true 156 | optional: true 157 | 158 | /esbuild-android-arm64/0.14.47: 159 | resolution: {integrity: sha512-OkwOjj7ts4lBp/TL6hdd8HftIzOy/pdtbrNA4+0oVWgGG64HrdVzAF5gxtJufAPOsEjkyh1oIYvKAUinKKQRSQ==} 160 | engines: {node: '>=12'} 161 | cpu: [arm64] 162 | os: [android] 163 | requiresBuild: true 164 | dev: true 165 | optional: true 166 | 167 | /esbuild-darwin-64/0.14.47: 168 | resolution: {integrity: sha512-R6oaW0y5/u6Eccti/TS6c/2c1xYTb1izwK3gajJwi4vIfNs1s8B1dQzI1UiC9T61YovOQVuePDcfqHLT3mUZJA==} 169 | engines: {node: '>=12'} 170 | cpu: [x64] 171 | os: [darwin] 172 | requiresBuild: true 173 | dev: true 174 | optional: true 175 | 176 | /esbuild-darwin-arm64/0.14.47: 177 | resolution: {integrity: sha512-seCmearlQyvdvM/noz1L9+qblC5vcBrhUaOoLEDDoLInF/VQ9IkobGiLlyTPYP5dW1YD4LXhtBgOyevoIHGGnw==} 178 | engines: {node: '>=12'} 179 | cpu: [arm64] 180 | os: [darwin] 181 | requiresBuild: true 182 | dev: true 183 | optional: true 184 | 185 | /esbuild-freebsd-64/0.14.47: 186 | resolution: {integrity: sha512-ZH8K2Q8/Ux5kXXvQMDsJcxvkIwut69KVrYQhza/ptkW50DC089bCVrJZZ3sKzIoOx+YPTrmsZvqeZERjyYrlvQ==} 187 | engines: {node: '>=12'} 188 | cpu: [x64] 189 | os: [freebsd] 190 | requiresBuild: true 191 | dev: true 192 | optional: true 193 | 194 | /esbuild-freebsd-arm64/0.14.47: 195 | resolution: {integrity: sha512-ZJMQAJQsIOhn3XTm7MPQfCzEu5b9STNC+s90zMWe2afy9EwnHV7Ov7ohEMv2lyWlc2pjqLW8QJnz2r0KZmeAEQ==} 196 | engines: {node: '>=12'} 197 | cpu: [arm64] 198 | os: [freebsd] 199 | requiresBuild: true 200 | dev: true 201 | optional: true 202 | 203 | /esbuild-linux-32/0.14.47: 204 | resolution: {integrity: sha512-FxZOCKoEDPRYvq300lsWCTv1kcHgiiZfNrPtEhFAiqD7QZaXrad8LxyJ8fXGcWzIFzRiYZVtB3ttvITBvAFhKw==} 205 | engines: {node: '>=12'} 206 | cpu: [ia32] 207 | os: [linux] 208 | requiresBuild: true 209 | dev: true 210 | optional: true 211 | 212 | /esbuild-linux-64/0.14.47: 213 | resolution: {integrity: sha512-nFNOk9vWVfvWYF9YNYksZptgQAdstnDCMtR6m42l5Wfugbzu11VpMCY9XrD4yFxvPo9zmzcoUL/88y0lfJZJJw==} 214 | engines: {node: '>=12'} 215 | cpu: [x64] 216 | os: [linux] 217 | requiresBuild: true 218 | dev: true 219 | optional: true 220 | 221 | /esbuild-linux-arm/0.14.47: 222 | resolution: {integrity: sha512-ZGE1Bqg/gPRXrBpgpvH81tQHpiaGxa8c9Rx/XOylkIl2ypLuOcawXEAo8ls+5DFCcRGt/o3sV+PzpAFZobOsmA==} 223 | engines: {node: '>=12'} 224 | cpu: [arm] 225 | os: [linux] 226 | requiresBuild: true 227 | dev: true 228 | optional: true 229 | 230 | /esbuild-linux-arm64/0.14.47: 231 | resolution: {integrity: sha512-ywfme6HVrhWcevzmsufjd4iT3PxTfCX9HOdxA7Hd+/ZM23Y9nXeb+vG6AyA6jgq/JovkcqRHcL9XwRNpWG6XRw==} 232 | engines: {node: '>=12'} 233 | cpu: [arm64] 234 | os: [linux] 235 | requiresBuild: true 236 | dev: true 237 | optional: true 238 | 239 | /esbuild-linux-mips64le/0.14.47: 240 | resolution: {integrity: sha512-mg3D8YndZ1LvUiEdDYR3OsmeyAew4MA/dvaEJxvyygahWmpv1SlEEnhEZlhPokjsUMfRagzsEF/d/2XF+kTQGg==} 241 | engines: {node: '>=12'} 242 | cpu: [mips64el] 243 | os: [linux] 244 | requiresBuild: true 245 | dev: true 246 | optional: true 247 | 248 | /esbuild-linux-ppc64le/0.14.47: 249 | resolution: {integrity: sha512-WER+f3+szmnZiWoK6AsrTKGoJoErG2LlauSmk73LEZFQ/iWC+KhhDsOkn1xBUpzXWsxN9THmQFltLoaFEH8F8w==} 250 | engines: {node: '>=12'} 251 | cpu: [ppc64] 252 | os: [linux] 253 | requiresBuild: true 254 | dev: true 255 | optional: true 256 | 257 | /esbuild-linux-riscv64/0.14.47: 258 | resolution: {integrity: sha512-1fI6bP3A3rvI9BsaaXbMoaOjLE3lVkJtLxsgLHqlBhLlBVY7UqffWBvkrX/9zfPhhVMd9ZRFiaqXnB1T7BsL2g==} 259 | engines: {node: '>=12'} 260 | cpu: [riscv64] 261 | os: [linux] 262 | requiresBuild: true 263 | dev: true 264 | optional: true 265 | 266 | /esbuild-linux-s390x/0.14.47: 267 | resolution: {integrity: sha512-eZrWzy0xFAhki1CWRGnhsHVz7IlSKX6yT2tj2Eg8lhAwlRE5E96Hsb0M1mPSE1dHGpt1QVwwVivXIAacF/G6mw==} 268 | engines: {node: '>=12'} 269 | cpu: [s390x] 270 | os: [linux] 271 | requiresBuild: true 272 | dev: true 273 | optional: true 274 | 275 | /esbuild-netbsd-64/0.14.47: 276 | resolution: {integrity: sha512-Qjdjr+KQQVH5Q2Q1r6HBYswFTToPpss3gqCiSw2Fpq/ua8+eXSQyAMG+UvULPqXceOwpnPo4smyZyHdlkcPppQ==} 277 | engines: {node: '>=12'} 278 | cpu: [x64] 279 | os: [netbsd] 280 | requiresBuild: true 281 | dev: true 282 | optional: true 283 | 284 | /esbuild-openbsd-64/0.14.47: 285 | resolution: {integrity: sha512-QpgN8ofL7B9z8g5zZqJE+eFvD1LehRlxr25PBkjyyasakm4599iroUpaj96rdqRlO2ShuyqwJdr+oNqWwTUmQw==} 286 | engines: {node: '>=12'} 287 | cpu: [x64] 288 | os: [openbsd] 289 | requiresBuild: true 290 | dev: true 291 | optional: true 292 | 293 | /esbuild-sunos-64/0.14.47: 294 | resolution: {integrity: sha512-uOeSgLUwukLioAJOiGYm3kNl+1wJjgJA8R671GYgcPgCx7QR73zfvYqXFFcIO93/nBdIbt5hd8RItqbbf3HtAQ==} 295 | engines: {node: '>=12'} 296 | cpu: [x64] 297 | os: [sunos] 298 | requiresBuild: true 299 | dev: true 300 | optional: true 301 | 302 | /esbuild-windows-32/0.14.47: 303 | resolution: {integrity: sha512-H0fWsLTp2WBfKLBgwYT4OTfFly4Im/8B5f3ojDv1Kx//kiubVY0IQunP2Koc/fr/0wI7hj3IiBDbSrmKlrNgLQ==} 304 | engines: {node: '>=12'} 305 | cpu: [ia32] 306 | os: [win32] 307 | requiresBuild: true 308 | dev: true 309 | optional: true 310 | 311 | /esbuild-windows-64/0.14.47: 312 | resolution: {integrity: sha512-/Pk5jIEH34T68r8PweKRi77W49KwanZ8X6lr3vDAtOlH5EumPE4pBHqkCUdELanvsT14yMXLQ/C/8XPi1pAtkQ==} 313 | engines: {node: '>=12'} 314 | cpu: [x64] 315 | os: [win32] 316 | requiresBuild: true 317 | dev: true 318 | optional: true 319 | 320 | /esbuild-windows-arm64/0.14.47: 321 | resolution: {integrity: sha512-HFSW2lnp62fl86/qPQlqw6asIwCnEsEoNIL1h2uVMgakddf+vUuMcCbtUY1i8sst7KkgHrVKCJQB33YhhOweCQ==} 322 | engines: {node: '>=12'} 323 | cpu: [arm64] 324 | os: [win32] 325 | requiresBuild: true 326 | dev: true 327 | optional: true 328 | 329 | /esbuild/0.14.47: 330 | resolution: {integrity: sha512-wI4ZiIfFxpkuxB8ju4MHrGwGLyp1+awEHAHVpx6w7a+1pmYIq8T9FGEVVwFo0iFierDoMj++Xq69GXWYn2EiwA==} 331 | engines: {node: '>=12'} 332 | hasBin: true 333 | requiresBuild: true 334 | optionalDependencies: 335 | esbuild-android-64: 0.14.47 336 | esbuild-android-arm64: 0.14.47 337 | esbuild-darwin-64: 0.14.47 338 | esbuild-darwin-arm64: 0.14.47 339 | esbuild-freebsd-64: 0.14.47 340 | esbuild-freebsd-arm64: 0.14.47 341 | esbuild-linux-32: 0.14.47 342 | esbuild-linux-64: 0.14.47 343 | esbuild-linux-arm: 0.14.47 344 | esbuild-linux-arm64: 0.14.47 345 | esbuild-linux-mips64le: 0.14.47 346 | esbuild-linux-ppc64le: 0.14.47 347 | esbuild-linux-riscv64: 0.14.47 348 | esbuild-linux-s390x: 0.14.47 349 | esbuild-netbsd-64: 0.14.47 350 | esbuild-openbsd-64: 0.14.47 351 | esbuild-sunos-64: 0.14.47 352 | esbuild-windows-32: 0.14.47 353 | esbuild-windows-64: 0.14.47 354 | esbuild-windows-arm64: 0.14.47 355 | dev: true 356 | 357 | /estree-walker/2.0.2: 358 | resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} 359 | 360 | /fsevents/2.3.2: 361 | resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} 362 | engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} 363 | os: [darwin] 364 | requiresBuild: true 365 | dev: true 366 | optional: true 367 | 368 | /function-bind/1.1.1: 369 | resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} 370 | dev: true 371 | 372 | /has/1.0.3: 373 | resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} 374 | engines: {node: '>= 0.4.0'} 375 | dependencies: 376 | function-bind: 1.1.1 377 | dev: true 378 | 379 | /is-core-module/2.9.0: 380 | resolution: {integrity: sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==} 381 | dependencies: 382 | has: 1.0.3 383 | dev: true 384 | 385 | /magic-string/0.25.9: 386 | resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} 387 | dependencies: 388 | sourcemap-codec: 1.4.8 389 | 390 | /nanoid/3.3.4: 391 | resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} 392 | engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} 393 | hasBin: true 394 | 395 | /path-parse/1.0.7: 396 | resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} 397 | dev: true 398 | 399 | /picocolors/1.0.0: 400 | resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} 401 | 402 | /postcss/8.4.14: 403 | resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==} 404 | engines: {node: ^10 || ^12 || >=14} 405 | dependencies: 406 | nanoid: 3.3.4 407 | picocolors: 1.0.0 408 | source-map-js: 1.0.2 409 | 410 | /resolve/1.22.1: 411 | resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} 412 | hasBin: true 413 | dependencies: 414 | is-core-module: 2.9.0 415 | path-parse: 1.0.7 416 | supports-preserve-symlinks-flag: 1.0.0 417 | dev: true 418 | 419 | /rollup/2.75.7: 420 | resolution: {integrity: sha512-VSE1iy0eaAYNCxEXaleThdFXqZJ42qDBatAwrfnPlENEZ8erQ+0LYX4JXOLPceWfZpV1VtZwZ3dFCuOZiSyFtQ==} 421 | engines: {node: '>=10.0.0'} 422 | hasBin: true 423 | optionalDependencies: 424 | fsevents: 2.3.2 425 | dev: true 426 | 427 | /source-map-js/1.0.2: 428 | resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} 429 | engines: {node: '>=0.10.0'} 430 | 431 | /source-map/0.6.1: 432 | resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} 433 | engines: {node: '>=0.10.0'} 434 | 435 | /sourcemap-codec/1.4.8: 436 | resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} 437 | 438 | /supports-preserve-symlinks-flag/1.0.0: 439 | resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} 440 | engines: {node: '>= 0.4'} 441 | dev: true 442 | 443 | /typescript/4.7.4: 444 | resolution: {integrity: sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==} 445 | engines: {node: '>=4.2.0'} 446 | hasBin: true 447 | dev: true 448 | 449 | /vite/2.9.12: 450 | resolution: {integrity: sha512-suxC36dQo9Rq1qMB2qiRorNJtJAdxguu5TMvBHOc/F370KvqAe9t48vYp+/TbPKRNrMh/J55tOUmkuIqstZaew==} 451 | engines: {node: '>=12.2.0'} 452 | hasBin: true 453 | peerDependencies: 454 | less: '*' 455 | sass: '*' 456 | stylus: '*' 457 | peerDependenciesMeta: 458 | less: 459 | optional: true 460 | sass: 461 | optional: true 462 | stylus: 463 | optional: true 464 | dependencies: 465 | esbuild: 0.14.47 466 | postcss: 8.4.14 467 | resolve: 1.22.1 468 | rollup: 2.75.7 469 | optionalDependencies: 470 | fsevents: 2.3.2 471 | dev: true 472 | 473 | /vue-tsc/0.34.17_typescript@4.7.4: 474 | resolution: {integrity: sha512-jzUXky44ZLHC4daaJag7FQr3idlPYN719/K1eObGljz5KaS2UnVGTU/XSYCd7d6ampYYg4OsyalbHyJIxV0aEQ==} 475 | hasBin: true 476 | peerDependencies: 477 | typescript: '*' 478 | dependencies: 479 | '@volar/vue-typescript': 0.34.17 480 | typescript: 4.7.4 481 | dev: true 482 | 483 | /vue/3.2.37: 484 | resolution: {integrity: sha512-bOKEZxrm8Eh+fveCqS1/NkG/n6aMidsI6hahas7pa0w/l7jkbssJVsRhVDs07IdDq7h9KHswZOgItnwJAgtVtQ==} 485 | dependencies: 486 | '@vue/compiler-dom': 3.2.37 487 | '@vue/compiler-sfc': 3.2.37 488 | '@vue/runtime-dom': 3.2.37 489 | '@vue/server-renderer': 3.2.37_vue@3.2.37 490 | '@vue/shared': 3.2.37 491 | dev: false 492 | -------------------------------------------------------------------------------- /native/example/vue/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaltyAom/svelte-web-component/ab2042b1e26751edb28b5cbb80fdb90db7ee60ea/native/example/vue/public/favicon.ico -------------------------------------------------------------------------------- /native/example/vue/src/App.vue: -------------------------------------------------------------------------------- 1 | 7 | 8 | 20 | 21 | 37 | -------------------------------------------------------------------------------- /native/example/vue/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaltyAom/svelte-web-component/ab2042b1e26751edb28b5cbb80fdb90db7ee60ea/native/example/vue/src/assets/logo.png -------------------------------------------------------------------------------- /native/example/vue/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | declare module '*.vue' { 4 | import type { DefineComponent } from 'vue' 5 | // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types 6 | const component: DefineComponent<{}, {}, any> 7 | export default component 8 | } 9 | -------------------------------------------------------------------------------- /native/example/vue/src/main.ts: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue' 2 | import App from './App.vue' 3 | 4 | createApp(App).mount('#app') 5 | -------------------------------------------------------------------------------- /native/example/vue/src/svelte-host.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 38 | 39 | 42 | -------------------------------------------------------------------------------- /native/example/vue/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "esnext", 4 | "useDefineForClassFields": true, 5 | "module": "esnext", 6 | "moduleResolution": "node", 7 | "strict": true, 8 | "jsx": "preserve", 9 | "sourceMap": true, 10 | "resolveJsonModule": true, 11 | "isolatedModules": true, 12 | "esModuleInterop": true, 13 | "lib": ["esnext", "dom"], 14 | "skipLibCheck": true 15 | }, 16 | "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"], 17 | "references": [{ "path": "./tsconfig.node.json" }] 18 | } 19 | -------------------------------------------------------------------------------- /native/example/vue/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "module": "esnext", 5 | "moduleResolution": "node" 6 | }, 7 | "include": ["vite.config.ts"] 8 | } 9 | -------------------------------------------------------------------------------- /native/example/vue/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import vue from '@vitejs/plugin-vue' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [vue()] 7 | }) 8 | -------------------------------------------------------------------------------- /native/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Svelte + TS + Vite App 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /native/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "svelte-component", 3 | "private": true, 4 | "version": "0.0.0", 5 | "type": "module", 6 | "main": "./dist/svelte-component.umd.js", 7 | "exports": "./dist/svelte-component.es.js", 8 | "types": "./dist/main.d.ts", 9 | "typings": "./dist/main.d.ts", 10 | "scripts": { 11 | "dev": "vite", 12 | "build": "vite build", 13 | "preview": "vite preview", 14 | "check": "svelte-check --tsconfig ./tsconfig.json" 15 | }, 16 | "devDependencies": { 17 | "@rollup/plugin-typescript": "^8.3.3", 18 | "@sveltejs/vite-plugin-svelte": "^1.0.0-next.30", 19 | "@tsconfig/svelte": "^2.0.1", 20 | "node-sass": "^7.0.1", 21 | "sass": "^1.52.3", 22 | "svelte": "^3.44.0", 23 | "svelte-check": "^2.2.7", 24 | "svelte-dts": "^0.3.7", 25 | "svelte-preprocess": "^4.9.8", 26 | "tslib": "^2.3.1", 27 | "typescript": "^4.5.4", 28 | "vite": "^2.9.9", 29 | "vite-plugin-chunk-split": "^0.2.4" 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /native/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaltyAom/svelte-web-component/ab2042b1e26751edb28b5cbb80fdb90db7ee60ea/native/public/favicon.ico -------------------------------------------------------------------------------- /native/src/assets/svelte.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaltyAom/svelte-web-component/ab2042b1e26751edb28b5cbb80fdb90db7ee60ea/native/src/assets/svelte.png -------------------------------------------------------------------------------- /native/src/example.ts: -------------------------------------------------------------------------------- 1 | import Page from './page.svelte' 2 | 3 | const app = new Page({ 4 | target: document.getElementById('root'), 5 | props: {}, 6 | }) 7 | 8 | export default app 9 | -------------------------------------------------------------------------------- /native/src/lib/paper-card.svelte: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | {#if src} 9 | 10 | {/if} 11 | 12 | {#if title} 13 |

{title}

14 | {/if} 15 | 16 |
17 |
18 | 19 | 57 | -------------------------------------------------------------------------------- /native/src/lib/paper-compound.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 |
7 | 8 |
9 | 10 |
11 | 12 | 28 | -------------------------------------------------------------------------------- /native/src/lib/paper-counter.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 | 7 | {counter} 8 | 9 |
10 | 11 | 35 | -------------------------------------------------------------------------------- /native/src/main.ts: -------------------------------------------------------------------------------- 1 | export { default as PaperCard } from './lib/paper-card.svelte' 2 | export { default as PaperCounter } from './lib/paper-counter.svelte' 3 | export { default as PaperCompound } from './lib/paper-compound.svelte' 4 | -------------------------------------------------------------------------------- /native/src/page.svelte: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 12 | Takodachi 13 | 14 | 15 | 16 | 17 | 18 | 23 | Takodachi 24 | 25 | 26 | 27 |
28 | 29 | -------------------------------------------------------------------------------- /native/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | -------------------------------------------------------------------------------- /native/svelte.config.js: -------------------------------------------------------------------------------- 1 | import sveltePreprocess from 'svelte-preprocess' 2 | 3 | export default { 4 | // Consult https://github.com/sveltejs/svelte-preprocess 5 | // for more information about preprocessors 6 | preprocess: sveltePreprocess(), 7 | } 8 | -------------------------------------------------------------------------------- /native/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@tsconfig/svelte/tsconfig.json", 3 | "compilerOptions": { 4 | "target": "esnext", 5 | "useDefineForClassFields": true, 6 | "module": "esnext", 7 | "resolveJsonModule": true, 8 | "baseUrl": ".", 9 | 10 | /** 11 | * Typecheck JS in `.svelte` and `.js` files by default. 12 | * Disable checkJs if you'd like to use dynamic types in JS. 13 | * Note that setting allowJs false does not prevent the use 14 | * of JS in `.svelte` files. 15 | */ 16 | "allowJs": true, 17 | "checkJs": true, 18 | "isolatedModules": true 19 | }, 20 | "include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"], 21 | "references": [{ "path": "./tsconfig.node.json" }] 22 | } 23 | -------------------------------------------------------------------------------- /native/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "module": "esnext", 5 | "moduleResolution": "node" 6 | }, 7 | "include": ["vite.config.ts"] 8 | } 9 | -------------------------------------------------------------------------------- /native/tsconfig.tsbuildinfo: -------------------------------------------------------------------------------- 1 | {"program":{"fileNames":["./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es5.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.esnext.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.dom.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.dom.iterable.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.scripthost.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.promise.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.string.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.weakref.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.intl.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.array.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.error.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.intl.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.object.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.string.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.esnext.intl.d.ts","./node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.esnext.full.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/store/index.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/store/index.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/utils.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/animate/index.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/animations.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/await_block.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/dom.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/environment.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/globals.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/keyed_each.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/lifecycle.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/loop.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/scheduler.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/spread.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/shared/utils/names.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/ssr.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/transition/index.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/component.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/transitions.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/dev.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/internal/index.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/internal/index.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/ambient.d.ts","./node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/types/runtime/index.d.ts","./node_modules/.pnpm/vite@2.9.12_sass@1.52.3/node_modules/vite/types/hmrpayload.d.ts","./node_modules/.pnpm/vite@2.9.12_sass@1.52.3/node_modules/vite/types/customevent.d.ts","./node_modules/.pnpm/vite@2.9.12_sass@1.52.3/node_modules/vite/types/hot.d.ts","./node_modules/.pnpm/vite@2.9.12_sass@1.52.3/node_modules/vite/types/importmeta.d.ts","./node_modules/.pnpm/vite@2.9.12_sass@1.52.3/node_modules/vite/client.d.ts","./src/vite-env.d.ts","./src/example.ts","./src/main.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","3eb679a56cab01203a1ba7edeade937f6a2a4c718513b2cd930b579807fa9359","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true},{"version":"1272277fe7daa738e555eb6cc45ded42cc2d0f76c07294142283145d49e96186","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"ff667ee99e5a28c3dc5063a3cfd4d3436699e3fb035d4451037da7f567da542a","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141","fb51e3826c8cd471d2a25522f2435d2724f0a7035c2d7d02f9a00e43e03ad8f8","e90d31cb3fe1d1ff565d66e7a99f3f87e38380c33cb7f7ae4648e0e3079e8ab4","3b9bcbc9504cb8639e2e7dfb1915d21c8a557240ad942fb0028a71cc57e60225","5d63fd079f9cb27e98ff66310a03c575c632a8067216e495f4a5be6a4670bb34","708c1d53c0951c6c49e0953acee3bf5fe00f55a6808d6be298ee30c8542a521e","84fb0b57703a2a12eb88c744a350b04631ecee9ec6ccb7cc82ce1b1e67e60ccc","f48e956d0060bcce14e31c2e224142cec47022eea501e3f53fe907b606efb462","fb69440e69452999bbaad0effa4e7a8a6b9291f8245f19859212d41dc05b42f5","9c3c45bdfa19ea5152ebb1b74f211ae4b10e98705fc058f530c419e38673caf3","410e09f846cb39c5ff3e8324caa062893c9911f67cc75286aeb0f2e805e24628","1962524b6943d9836335b1faaa3aad9e1f97d2923b968480a07cec0fe4dda33f","eed6978d287c458645fd1dcfd34013ee88ce95f2eff01f94e3b551a98c1ff878","ceefb5a0dc94df8b1363ac2a0f16a384e45b364b7ea9c66b18ce020a7fd84fef","2a83320e99b0e25af0f2528f0420a55f0f709cae58c8a9e02d92d71325021373","8d2b44298bfd1d01f24307f089fba76f0601d7279ade7a91027e9143d1c643c8","609d9d29ce503b02cfa6d8cc17e3bb8f98ff613b1c95a78754120a109ea0ebb7","20886eb3919bee21d632ae8c2d6292f909378efc3f34fc891ebe4c436fd6f53f","0fd1b44124f0dbd07df8bb2d47339f6c3d570384dddc34169e621f843393fa51","5b6e19b8768dc0b907187e3729c6143961b27b6aa2b7d603d5a6005731596288","12f7570b1b26fcc6cc611c235ecd829b729f541d07a92e107a886ab3e0f42e7a","5e6fc49f900aa54fc6d30b85a026c6b983d9c8af9256d8e6b01e588ef8e48fad","7519dd88667aaf646d04f9dbca1812e754e8c84f9e21ef2d96163fad9e5b7e6f","d4cd48b80de1f62d522c33d9aa88cbec6817702cca60a92fb3df17261132b27a","da94852d45f137e242709226718191bc996c3d7761d601a097b59db7ab3edd11","774044ef136a0988fcf57b36fd0985caa98fe385b5f9ee68a1731b7340b6aff4","a0b0a059575ca62004fb85797f078a0a1d044da2d5c29993f11e7ce08a1ed3b4","6527fbb9e589f6c5b3e6f45d240284d044d5530205dd7662b4a514a3bad427ce",{"version":"f62613ebe5136a0ed8c8828bdbe5c717aff2c9fed072c99d457cad4a70215070","affectsGlobalScope":true},{"version":"a5189085a767ea0ba85994cd7551ebefc7564c670b67d2de4be1f44d1a85d462","affectsGlobalScope":true},"cc9c01ab82cd866d596b11028637a284c3cca4b115d2aa5a02c31d2c59977fc1",{"version":"d56e2eea467b4d2aa35eecfa3b6b51d84b17871038512e6d56ddda14641dd556","signature":"fb36de4407699df0b02300da8dfdf01111e239626c505196b1f8d8cfedda41e9"},{"version":"78dc96584fc7bcbded98a59da8a71736a86b40a69d0ef9c70576b67e5058781c","signature":"301245136d41ca9e474964b3b238daf96e6a2b555ac9aaa21255a3d3768aaa60"}],"options":{"composite":true,"emitDeclarationOnly":true,"esModuleInterop":true,"importsNotUsedAsValues":2,"module":99,"skipLibCheck":true,"sourceMap":true,"strict":false,"target":99,"useDefineForClassFields":true},"fileIdsList":[[78],[58],[79],[60,61],[75],[60],[60,62,63,64,65,66,67,68,69,70,71,73,75,76,77],[72],[74,75],[59],[85],[82],[83],[84],[80],[81,86]],"referencedMap":[[79,1],[59,2],[80,3],[81,3],[62,4],[77,5],[65,6],[78,7],[73,8],[76,9],[60,10],[58,3],[86,11],[83,12],[84,13],[85,14],[88,15],[89,15],[87,16]],"exportedModulesMap":[[79,1],[59,2],[80,3],[81,3],[62,4],[77,5],[65,6],[78,7],[73,8],[76,9],[60,10],[58,3],[86,11],[83,12],[84,13],[85,14],[88,15],[89,15],[87,16]],"semanticDiagnosticsPerFile":[79,59,80,61,81,62,63,75,77,64,65,66,78,67,68,69,70,71,73,76,60,58,74,72,11,12,16,15,2,17,18,19,20,21,22,23,24,3,4,28,25,26,27,29,30,31,5,32,33,34,35,6,36,37,38,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,55,1,10,57,56,14,13,86,83,82,84,85,88,89,87]},"version":"4.7.4"} -------------------------------------------------------------------------------- /native/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import { svelte } from '@sveltejs/vite-plugin-svelte' 3 | import { chunkSplitPlugin } from 'vite-plugin-chunk-split' 4 | 5 | import typescript from '@rollup/plugin-typescript' 6 | import svelteDts from 'svelte-dts' 7 | 8 | // https://vitejs.dev/config/ 9 | export default defineConfig({ 10 | plugins: [ 11 | svelte({ 12 | compilerOptions: { 13 | css: true 14 | } 15 | }) 16 | ], 17 | build: { 18 | sourcemap: true, 19 | minify: false, 20 | lib: { 21 | name: 'index', 22 | entry: 'src/main.ts' 23 | }, 24 | rollupOptions: { 25 | plugins: [ 26 | svelteDts.default, 27 | typescript({ 28 | target: 'es2020', 29 | rootDir: 'src', 30 | declaration: true, 31 | declarationDir: 'dist', 32 | exclude: ['node_modules/**'], 33 | allowSyntheticDefaultImports: true 34 | }) 35 | ] 36 | } 37 | } 38 | }) 39 | -------------------------------------------------------------------------------- /web-component/.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 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | -------------------------------------------------------------------------------- /web-component/.npmignore: -------------------------------------------------------------------------------- 1 | example 2 | node_modules -------------------------------------------------------------------------------- /web-component/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["svelte.svelte-vscode"] 3 | } 4 | -------------------------------------------------------------------------------- /web-component/README.md: -------------------------------------------------------------------------------- 1 | # Svelte + TS + Vite 2 | 3 | This template should help get you started developing with Svelte and TypeScript in Vite. 4 | 5 | ## Recommended IDE Setup 6 | 7 | [VS Code](https://code.visualstudio.com/) + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode). 8 | 9 | ## Need an official Svelte framework? 10 | 11 | Check out [SvelteKit](https://github.com/sveltejs/kit#readme), which is also powered by Vite. Deploy anywhere with its serverless-first approach and adapt to various platforms, with out of the box support for TypeScript, SCSS, and Less, and easily-added support for mdsvex, GraphQL, PostCSS, Tailwind CSS, and more. 12 | 13 | ## Technical considerations 14 | 15 | **Why use this over SvelteKit?** 16 | 17 | - It brings its own routing solution which might not be preferable for some users. 18 | - It is first and foremost a framework that just happens to use Vite under the hood, not a Vite app. 19 | `vite dev` and `vite build` wouldn't work in a SvelteKit environment, for example. 20 | 21 | This template contains as little as possible to get started with Vite + TypeScript + Svelte, while taking into account the developer experience with regards to HMR and intellisense. It demonstrates capabilities on par with the other `create-vite` templates and is a good starting point for beginners dipping their toes into a Vite + Svelte project. 22 | 23 | Should you later need the extended capabilities and extensibility provided by SvelteKit, the template has been structured similarly to SvelteKit so that it is easy to migrate. 24 | 25 | **Why `global.d.ts` instead of `compilerOptions.types` inside `jsconfig.json` or `tsconfig.json`?** 26 | 27 | Setting `compilerOptions.types` shuts out all other types not explicitly listed in the configuration. Using triple-slash references keeps the default TypeScript setting of accepting type information from the entire workspace, while also adding `svelte` and `vite/client` type information. 28 | 29 | **Why include `.vscode/extensions.json`?** 30 | 31 | Other templates indirectly recommend extensions via the README, but this file allows VS Code to prompt the user to install the recommended extension upon opening the project. 32 | 33 | **Why enable `allowJs` in the TS template?** 34 | 35 | While `allowJs: false` would indeed prevent the use of `.js` files in the project, it does not prevent the use of JavaScript syntax in `.svelte` files. In addition, it would force `checkJs: false`, bringing the worst of both worlds: not being able to guarantee the entire codebase is TypeScript, and also having worse typechecking for the existing JavaScript. In addition, there are valid use cases in which a mixed codebase may be relevant. 36 | 37 | **Why is HMR not preserving my local component state?** 38 | 39 | HMR state preservation comes with a number of gotchas! It has been disabled by default in both `svelte-hmr` and `@sveltejs/vite-plugin-svelte` due to its often surprising behavior. You can read the details [here](https://github.com/rixo/svelte-hmr#svelte-hmr). 40 | 41 | If you have state that's important to retain within a component, consider creating an external store which would not be replaced by HMR. 42 | 43 | ```ts 44 | // store.ts 45 | // An extremely simple external store 46 | import { writable } from 'svelte/store' 47 | export default writable(0) 48 | ``` 49 | -------------------------------------------------------------------------------- /web-component/example/react/.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 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | 26 | stats.html -------------------------------------------------------------------------------- /web-component/example/react/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Vite App 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /web-component/example/react/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react", 3 | "private": true, 4 | "version": "0.0.0", 5 | "scripts": { 6 | "dev": "vite", 7 | "build": "tsc && vite build", 8 | "preview": "vite preview" 9 | }, 10 | "dependencies": { 11 | "@saltyaom/svelte-component": "../../", 12 | "react": "^18.0.0", 13 | "react-dom": "^18.0.0" 14 | }, 15 | "devDependencies": { 16 | "@types/react": "^18.0.0", 17 | "@types/react-dom": "^18.0.0", 18 | "@vitejs/plugin-react": "^1.3.0", 19 | "rollup-plugin-analyzer": "^4.0.0", 20 | "rollup-plugin-visualizer": "^5.6.0", 21 | "typescript": "^4.6.3", 22 | "vite": "^2.9.9" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /web-component/example/react/pnpm-lock.yaml: -------------------------------------------------------------------------------- 1 | lockfileVersion: 5.4 2 | 3 | specifiers: 4 | '@saltyaom/svelte-component': ../../ 5 | '@types/react': ^18.0.0 6 | '@types/react-dom': ^18.0.0 7 | '@vitejs/plugin-react': ^1.3.0 8 | react: ^18.0.0 9 | react-dom: ^18.0.0 10 | rollup-plugin-analyzer: ^4.0.0 11 | rollup-plugin-visualizer: ^5.6.0 12 | typescript: ^4.6.3 13 | vite: ^2.9.9 14 | 15 | dependencies: 16 | '@saltyaom/svelte-component': link:../.. 17 | react: 18.2.0 18 | react-dom: 18.2.0_react@18.2.0 19 | 20 | devDependencies: 21 | '@types/react': 18.0.14 22 | '@types/react-dom': 18.0.5 23 | '@vitejs/plugin-react': 1.3.2 24 | rollup-plugin-analyzer: 4.0.0 25 | rollup-plugin-visualizer: 5.6.0 26 | typescript: 4.7.4 27 | vite: 2.9.12 28 | 29 | packages: 30 | 31 | /@ampproject/remapping/2.2.0: 32 | resolution: {integrity: sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==} 33 | engines: {node: '>=6.0.0'} 34 | dependencies: 35 | '@jridgewell/gen-mapping': 0.1.1 36 | '@jridgewell/trace-mapping': 0.3.13 37 | dev: true 38 | 39 | /@babel/code-frame/7.16.7: 40 | resolution: {integrity: sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==} 41 | engines: {node: '>=6.9.0'} 42 | dependencies: 43 | '@babel/highlight': 7.17.12 44 | dev: true 45 | 46 | /@babel/compat-data/7.18.5: 47 | resolution: {integrity: sha512-BxhE40PVCBxVEJsSBhB6UWyAuqJRxGsAw8BdHMJ3AKGydcwuWW4kOO3HmqBQAdcq/OP+/DlTVxLvsCzRTnZuGg==} 48 | engines: {node: '>=6.9.0'} 49 | dev: true 50 | 51 | /@babel/core/7.18.5: 52 | resolution: {integrity: sha512-MGY8vg3DxMnctw0LdvSEojOsumc70g0t18gNyUdAZqB1Rpd1Bqo/svHGvt+UJ6JcGX+DIekGFDxxIWofBxLCnQ==} 53 | engines: {node: '>=6.9.0'} 54 | dependencies: 55 | '@ampproject/remapping': 2.2.0 56 | '@babel/code-frame': 7.16.7 57 | '@babel/generator': 7.18.2 58 | '@babel/helper-compilation-targets': 7.18.2_@babel+core@7.18.5 59 | '@babel/helper-module-transforms': 7.18.0 60 | '@babel/helpers': 7.18.2 61 | '@babel/parser': 7.18.5 62 | '@babel/template': 7.16.7 63 | '@babel/traverse': 7.18.5 64 | '@babel/types': 7.18.4 65 | convert-source-map: 1.8.0 66 | debug: 4.3.4 67 | gensync: 1.0.0-beta.2 68 | json5: 2.2.1 69 | semver: 6.3.0 70 | transitivePeerDependencies: 71 | - supports-color 72 | dev: true 73 | 74 | /@babel/generator/7.18.2: 75 | resolution: {integrity: sha512-W1lG5vUwFvfMd8HVXqdfbuG7RuaSrTCCD8cl8fP8wOivdbtbIg2Db3IWUcgvfxKbbn6ZBGYRW/Zk1MIwK49mgw==} 76 | engines: {node: '>=6.9.0'} 77 | dependencies: 78 | '@babel/types': 7.18.4 79 | '@jridgewell/gen-mapping': 0.3.1 80 | jsesc: 2.5.2 81 | dev: true 82 | 83 | /@babel/helper-annotate-as-pure/7.16.7: 84 | resolution: {integrity: sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==} 85 | engines: {node: '>=6.9.0'} 86 | dependencies: 87 | '@babel/types': 7.18.4 88 | dev: true 89 | 90 | /@babel/helper-compilation-targets/7.18.2_@babel+core@7.18.5: 91 | resolution: {integrity: sha512-s1jnPotJS9uQnzFtiZVBUxe67CuBa679oWFHpxYYnTpRL/1ffhyX44R9uYiXoa/pLXcY9H2moJta0iaanlk/rQ==} 92 | engines: {node: '>=6.9.0'} 93 | peerDependencies: 94 | '@babel/core': ^7.0.0 95 | dependencies: 96 | '@babel/compat-data': 7.18.5 97 | '@babel/core': 7.18.5 98 | '@babel/helper-validator-option': 7.16.7 99 | browserslist: 4.21.0 100 | semver: 6.3.0 101 | dev: true 102 | 103 | /@babel/helper-environment-visitor/7.18.2: 104 | resolution: {integrity: sha512-14GQKWkX9oJzPiQQ7/J36FTXcD4kSp8egKjO9nINlSKiHITRA9q/R74qu8S9xlc/b/yjsJItQUeeh3xnGN0voQ==} 105 | engines: {node: '>=6.9.0'} 106 | dev: true 107 | 108 | /@babel/helper-function-name/7.17.9: 109 | resolution: {integrity: sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==} 110 | engines: {node: '>=6.9.0'} 111 | dependencies: 112 | '@babel/template': 7.16.7 113 | '@babel/types': 7.18.4 114 | dev: true 115 | 116 | /@babel/helper-hoist-variables/7.16.7: 117 | resolution: {integrity: sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==} 118 | engines: {node: '>=6.9.0'} 119 | dependencies: 120 | '@babel/types': 7.18.4 121 | dev: true 122 | 123 | /@babel/helper-module-imports/7.16.7: 124 | resolution: {integrity: sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==} 125 | engines: {node: '>=6.9.0'} 126 | dependencies: 127 | '@babel/types': 7.18.4 128 | dev: true 129 | 130 | /@babel/helper-module-transforms/7.18.0: 131 | resolution: {integrity: sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA==} 132 | engines: {node: '>=6.9.0'} 133 | dependencies: 134 | '@babel/helper-environment-visitor': 7.18.2 135 | '@babel/helper-module-imports': 7.16.7 136 | '@babel/helper-simple-access': 7.18.2 137 | '@babel/helper-split-export-declaration': 7.16.7 138 | '@babel/helper-validator-identifier': 7.16.7 139 | '@babel/template': 7.16.7 140 | '@babel/traverse': 7.18.5 141 | '@babel/types': 7.18.4 142 | transitivePeerDependencies: 143 | - supports-color 144 | dev: true 145 | 146 | /@babel/helper-plugin-utils/7.17.12: 147 | resolution: {integrity: sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA==} 148 | engines: {node: '>=6.9.0'} 149 | dev: true 150 | 151 | /@babel/helper-simple-access/7.18.2: 152 | resolution: {integrity: sha512-7LIrjYzndorDY88MycupkpQLKS1AFfsVRm2k/9PtKScSy5tZq0McZTj+DiMRynboZfIqOKvo03pmhTaUgiD6fQ==} 153 | engines: {node: '>=6.9.0'} 154 | dependencies: 155 | '@babel/types': 7.18.4 156 | dev: true 157 | 158 | /@babel/helper-split-export-declaration/7.16.7: 159 | resolution: {integrity: sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==} 160 | engines: {node: '>=6.9.0'} 161 | dependencies: 162 | '@babel/types': 7.18.4 163 | dev: true 164 | 165 | /@babel/helper-validator-identifier/7.16.7: 166 | resolution: {integrity: sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==} 167 | engines: {node: '>=6.9.0'} 168 | dev: true 169 | 170 | /@babel/helper-validator-option/7.16.7: 171 | resolution: {integrity: sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==} 172 | engines: {node: '>=6.9.0'} 173 | dev: true 174 | 175 | /@babel/helpers/7.18.2: 176 | resolution: {integrity: sha512-j+d+u5xT5utcQSzrh9p+PaJX94h++KN+ng9b9WEJq7pkUPAd61FGqhjuUEdfknb3E/uDBb7ruwEeKkIxNJPIrg==} 177 | engines: {node: '>=6.9.0'} 178 | dependencies: 179 | '@babel/template': 7.16.7 180 | '@babel/traverse': 7.18.5 181 | '@babel/types': 7.18.4 182 | transitivePeerDependencies: 183 | - supports-color 184 | dev: true 185 | 186 | /@babel/highlight/7.17.12: 187 | resolution: {integrity: sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==} 188 | engines: {node: '>=6.9.0'} 189 | dependencies: 190 | '@babel/helper-validator-identifier': 7.16.7 191 | chalk: 2.4.2 192 | js-tokens: 4.0.0 193 | dev: true 194 | 195 | /@babel/parser/7.18.5: 196 | resolution: {integrity: sha512-YZWVaglMiplo7v8f1oMQ5ZPQr0vn7HPeZXxXWsxXJRjGVrzUFn9OxFQl1sb5wzfootjA/yChhW84BV+383FSOw==} 197 | engines: {node: '>=6.0.0'} 198 | hasBin: true 199 | dev: true 200 | 201 | /@babel/plugin-syntax-jsx/7.17.12_@babel+core@7.18.5: 202 | resolution: {integrity: sha512-spyY3E3AURfxh/RHtjx5j6hs8am5NbUBGfcZ2vB3uShSpZdQyXSf5rR5Mk76vbtlAZOelyVQ71Fg0x9SG4fsog==} 203 | engines: {node: '>=6.9.0'} 204 | peerDependencies: 205 | '@babel/core': ^7.0.0-0 206 | dependencies: 207 | '@babel/core': 7.18.5 208 | '@babel/helper-plugin-utils': 7.17.12 209 | dev: true 210 | 211 | /@babel/plugin-transform-react-jsx-development/7.16.7_@babel+core@7.18.5: 212 | resolution: {integrity: sha512-RMvQWvpla+xy6MlBpPlrKZCMRs2AGiHOGHY3xRwl0pEeim348dDyxeH4xBsMPbIMhujeq7ihE702eM2Ew0Wo+A==} 213 | engines: {node: '>=6.9.0'} 214 | peerDependencies: 215 | '@babel/core': ^7.0.0-0 216 | dependencies: 217 | '@babel/core': 7.18.5 218 | '@babel/plugin-transform-react-jsx': 7.17.12_@babel+core@7.18.5 219 | dev: true 220 | 221 | /@babel/plugin-transform-react-jsx-self/7.17.12_@babel+core@7.18.5: 222 | resolution: {integrity: sha512-7S9G2B44EnYOx74mue02t1uD8ckWZ/ee6Uz/qfdzc35uWHX5NgRy9i+iJSb2LFRgMd+QV9zNcStQaazzzZ3n3Q==} 223 | engines: {node: '>=6.9.0'} 224 | peerDependencies: 225 | '@babel/core': ^7.0.0-0 226 | dependencies: 227 | '@babel/core': 7.18.5 228 | '@babel/helper-plugin-utils': 7.17.12 229 | dev: true 230 | 231 | /@babel/plugin-transform-react-jsx-source/7.16.7_@babel+core@7.18.5: 232 | resolution: {integrity: sha512-rONFiQz9vgbsnaMtQlZCjIRwhJvlrPET8TabIUK2hzlXw9B9s2Ieaxte1SCOOXMbWRHodbKixNf3BLcWVOQ8Bw==} 233 | engines: {node: '>=6.9.0'} 234 | peerDependencies: 235 | '@babel/core': ^7.0.0-0 236 | dependencies: 237 | '@babel/core': 7.18.5 238 | '@babel/helper-plugin-utils': 7.17.12 239 | dev: true 240 | 241 | /@babel/plugin-transform-react-jsx/7.17.12_@babel+core@7.18.5: 242 | resolution: {integrity: sha512-Lcaw8bxd1DKht3thfD4A12dqo1X16he1Lm8rIv8sTwjAYNInRS1qHa9aJoqvzpscItXvftKDCfaEQzwoVyXpEQ==} 243 | engines: {node: '>=6.9.0'} 244 | peerDependencies: 245 | '@babel/core': ^7.0.0-0 246 | dependencies: 247 | '@babel/core': 7.18.5 248 | '@babel/helper-annotate-as-pure': 7.16.7 249 | '@babel/helper-module-imports': 7.16.7 250 | '@babel/helper-plugin-utils': 7.17.12 251 | '@babel/plugin-syntax-jsx': 7.17.12_@babel+core@7.18.5 252 | '@babel/types': 7.18.4 253 | dev: true 254 | 255 | /@babel/template/7.16.7: 256 | resolution: {integrity: sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==} 257 | engines: {node: '>=6.9.0'} 258 | dependencies: 259 | '@babel/code-frame': 7.16.7 260 | '@babel/parser': 7.18.5 261 | '@babel/types': 7.18.4 262 | dev: true 263 | 264 | /@babel/traverse/7.18.5: 265 | resolution: {integrity: sha512-aKXj1KT66sBj0vVzk6rEeAO6Z9aiiQ68wfDgge3nHhA/my6xMM/7HGQUNumKZaoa2qUPQ5whJG9aAifsxUKfLA==} 266 | engines: {node: '>=6.9.0'} 267 | dependencies: 268 | '@babel/code-frame': 7.16.7 269 | '@babel/generator': 7.18.2 270 | '@babel/helper-environment-visitor': 7.18.2 271 | '@babel/helper-function-name': 7.17.9 272 | '@babel/helper-hoist-variables': 7.16.7 273 | '@babel/helper-split-export-declaration': 7.16.7 274 | '@babel/parser': 7.18.5 275 | '@babel/types': 7.18.4 276 | debug: 4.3.4 277 | globals: 11.12.0 278 | transitivePeerDependencies: 279 | - supports-color 280 | dev: true 281 | 282 | /@babel/types/7.18.4: 283 | resolution: {integrity: sha512-ThN1mBcMq5pG/Vm2IcBmPPfyPXbd8S02rS+OBIDENdufvqC7Z/jHPCv9IcP01277aKtDI8g/2XysBN4hA8niiw==} 284 | engines: {node: '>=6.9.0'} 285 | dependencies: 286 | '@babel/helper-validator-identifier': 7.16.7 287 | to-fast-properties: 2.0.0 288 | dev: true 289 | 290 | /@jridgewell/gen-mapping/0.1.1: 291 | resolution: {integrity: sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==} 292 | engines: {node: '>=6.0.0'} 293 | dependencies: 294 | '@jridgewell/set-array': 1.1.1 295 | '@jridgewell/sourcemap-codec': 1.4.13 296 | dev: true 297 | 298 | /@jridgewell/gen-mapping/0.3.1: 299 | resolution: {integrity: sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==} 300 | engines: {node: '>=6.0.0'} 301 | dependencies: 302 | '@jridgewell/set-array': 1.1.1 303 | '@jridgewell/sourcemap-codec': 1.4.13 304 | '@jridgewell/trace-mapping': 0.3.13 305 | dev: true 306 | 307 | /@jridgewell/resolve-uri/3.0.7: 308 | resolution: {integrity: sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==} 309 | engines: {node: '>=6.0.0'} 310 | dev: true 311 | 312 | /@jridgewell/set-array/1.1.1: 313 | resolution: {integrity: sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==} 314 | engines: {node: '>=6.0.0'} 315 | dev: true 316 | 317 | /@jridgewell/sourcemap-codec/1.4.13: 318 | resolution: {integrity: sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==} 319 | dev: true 320 | 321 | /@jridgewell/trace-mapping/0.3.13: 322 | resolution: {integrity: sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==} 323 | dependencies: 324 | '@jridgewell/resolve-uri': 3.0.7 325 | '@jridgewell/sourcemap-codec': 1.4.13 326 | dev: true 327 | 328 | /@rollup/pluginutils/4.2.1: 329 | resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} 330 | engines: {node: '>= 8.0.0'} 331 | dependencies: 332 | estree-walker: 2.0.2 333 | picomatch: 2.3.1 334 | dev: true 335 | 336 | /@types/prop-types/15.7.5: 337 | resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==} 338 | dev: true 339 | 340 | /@types/react-dom/18.0.5: 341 | resolution: {integrity: sha512-OWPWTUrY/NIrjsAPkAk1wW9LZeIjSvkXRhclsFO8CZcZGCOg2G0YZy4ft+rOyYxy8B7ui5iZzi9OkDebZ7/QSA==} 342 | dependencies: 343 | '@types/react': 18.0.14 344 | dev: true 345 | 346 | /@types/react/18.0.14: 347 | resolution: {integrity: sha512-x4gGuASSiWmo0xjDLpm5mPb52syZHJx02VKbqUKdLmKtAwIh63XClGsiTI1K6DO5q7ox4xAsQrU+Gl3+gGXF9Q==} 348 | dependencies: 349 | '@types/prop-types': 15.7.5 350 | '@types/scheduler': 0.16.2 351 | csstype: 3.1.0 352 | dev: true 353 | 354 | /@types/scheduler/0.16.2: 355 | resolution: {integrity: sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==} 356 | dev: true 357 | 358 | /@vitejs/plugin-react/1.3.2: 359 | resolution: {integrity: sha512-aurBNmMo0kz1O4qRoY+FM4epSA39y3ShWGuqfLRA/3z0oEJAdtoSfgA3aO98/PCCHAqMaduLxIxErWrVKIFzXA==} 360 | engines: {node: '>=12.0.0'} 361 | dependencies: 362 | '@babel/core': 7.18.5 363 | '@babel/plugin-transform-react-jsx': 7.17.12_@babel+core@7.18.5 364 | '@babel/plugin-transform-react-jsx-development': 7.16.7_@babel+core@7.18.5 365 | '@babel/plugin-transform-react-jsx-self': 7.17.12_@babel+core@7.18.5 366 | '@babel/plugin-transform-react-jsx-source': 7.16.7_@babel+core@7.18.5 367 | '@rollup/pluginutils': 4.2.1 368 | react-refresh: 0.13.0 369 | resolve: 1.22.1 370 | transitivePeerDependencies: 371 | - supports-color 372 | dev: true 373 | 374 | /ansi-regex/5.0.1: 375 | resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} 376 | engines: {node: '>=8'} 377 | dev: true 378 | 379 | /ansi-styles/3.2.1: 380 | resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} 381 | engines: {node: '>=4'} 382 | dependencies: 383 | color-convert: 1.9.3 384 | dev: true 385 | 386 | /ansi-styles/4.3.0: 387 | resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} 388 | engines: {node: '>=8'} 389 | dependencies: 390 | color-convert: 2.0.1 391 | dev: true 392 | 393 | /browserslist/4.21.0: 394 | resolution: {integrity: sha512-UQxE0DIhRB5z/zDz9iA03BOfxaN2+GQdBYH/2WrSIWEUrnpzTPJbhqt+umq6r3acaPRTW1FNTkrcp0PXgtFkvA==} 395 | engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} 396 | hasBin: true 397 | dependencies: 398 | caniuse-lite: 1.0.30001358 399 | electron-to-chromium: 1.4.165 400 | node-releases: 2.0.5 401 | update-browserslist-db: 1.0.3_browserslist@4.21.0 402 | dev: true 403 | 404 | /caniuse-lite/1.0.30001358: 405 | resolution: {integrity: sha512-hvp8PSRymk85R20bsDra7ZTCpSVGN/PAz9pSAjPSjKC+rNmnUk5vCRgJwiTT/O4feQ/yu/drvZYpKxxhbFuChw==} 406 | dev: true 407 | 408 | /chalk/2.4.2: 409 | resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} 410 | engines: {node: '>=4'} 411 | dependencies: 412 | ansi-styles: 3.2.1 413 | escape-string-regexp: 1.0.5 414 | supports-color: 5.5.0 415 | dev: true 416 | 417 | /cliui/7.0.4: 418 | resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} 419 | dependencies: 420 | string-width: 4.2.3 421 | strip-ansi: 6.0.1 422 | wrap-ansi: 7.0.0 423 | dev: true 424 | 425 | /color-convert/1.9.3: 426 | resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} 427 | dependencies: 428 | color-name: 1.1.3 429 | dev: true 430 | 431 | /color-convert/2.0.1: 432 | resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} 433 | engines: {node: '>=7.0.0'} 434 | dependencies: 435 | color-name: 1.1.4 436 | dev: true 437 | 438 | /color-name/1.1.3: 439 | resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} 440 | dev: true 441 | 442 | /color-name/1.1.4: 443 | resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} 444 | dev: true 445 | 446 | /convert-source-map/1.8.0: 447 | resolution: {integrity: sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==} 448 | dependencies: 449 | safe-buffer: 5.1.2 450 | dev: true 451 | 452 | /csstype/3.1.0: 453 | resolution: {integrity: sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==} 454 | dev: true 455 | 456 | /debug/4.3.4: 457 | resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} 458 | engines: {node: '>=6.0'} 459 | peerDependencies: 460 | supports-color: '*' 461 | peerDependenciesMeta: 462 | supports-color: 463 | optional: true 464 | dependencies: 465 | ms: 2.1.2 466 | dev: true 467 | 468 | /define-lazy-prop/2.0.0: 469 | resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} 470 | engines: {node: '>=8'} 471 | dev: true 472 | 473 | /electron-to-chromium/1.4.165: 474 | resolution: {integrity: sha512-DKQW1lqUSAYQvn9dnpK7mWaDpWbNOXQLXhfCi7Iwx0BKxdZOxkKcCyKw1l3ihWWW5iWSxKKbhEUoNRoHvl/hbA==} 475 | dev: true 476 | 477 | /emoji-regex/8.0.0: 478 | resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} 479 | dev: true 480 | 481 | /esbuild-android-64/0.14.47: 482 | resolution: {integrity: sha512-R13Bd9+tqLVFndncMHssZrPWe6/0Kpv2/dt4aA69soX4PRxlzsVpCvoJeFE8sOEoeVEiBkI0myjlkDodXlHa0g==} 483 | engines: {node: '>=12'} 484 | cpu: [x64] 485 | os: [android] 486 | requiresBuild: true 487 | dev: true 488 | optional: true 489 | 490 | /esbuild-android-arm64/0.14.47: 491 | resolution: {integrity: sha512-OkwOjj7ts4lBp/TL6hdd8HftIzOy/pdtbrNA4+0oVWgGG64HrdVzAF5gxtJufAPOsEjkyh1oIYvKAUinKKQRSQ==} 492 | engines: {node: '>=12'} 493 | cpu: [arm64] 494 | os: [android] 495 | requiresBuild: true 496 | dev: true 497 | optional: true 498 | 499 | /esbuild-darwin-64/0.14.47: 500 | resolution: {integrity: sha512-R6oaW0y5/u6Eccti/TS6c/2c1xYTb1izwK3gajJwi4vIfNs1s8B1dQzI1UiC9T61YovOQVuePDcfqHLT3mUZJA==} 501 | engines: {node: '>=12'} 502 | cpu: [x64] 503 | os: [darwin] 504 | requiresBuild: true 505 | dev: true 506 | optional: true 507 | 508 | /esbuild-darwin-arm64/0.14.47: 509 | resolution: {integrity: sha512-seCmearlQyvdvM/noz1L9+qblC5vcBrhUaOoLEDDoLInF/VQ9IkobGiLlyTPYP5dW1YD4LXhtBgOyevoIHGGnw==} 510 | engines: {node: '>=12'} 511 | cpu: [arm64] 512 | os: [darwin] 513 | requiresBuild: true 514 | dev: true 515 | optional: true 516 | 517 | /esbuild-freebsd-64/0.14.47: 518 | resolution: {integrity: sha512-ZH8K2Q8/Ux5kXXvQMDsJcxvkIwut69KVrYQhza/ptkW50DC089bCVrJZZ3sKzIoOx+YPTrmsZvqeZERjyYrlvQ==} 519 | engines: {node: '>=12'} 520 | cpu: [x64] 521 | os: [freebsd] 522 | requiresBuild: true 523 | dev: true 524 | optional: true 525 | 526 | /esbuild-freebsd-arm64/0.14.47: 527 | resolution: {integrity: sha512-ZJMQAJQsIOhn3XTm7MPQfCzEu5b9STNC+s90zMWe2afy9EwnHV7Ov7ohEMv2lyWlc2pjqLW8QJnz2r0KZmeAEQ==} 528 | engines: {node: '>=12'} 529 | cpu: [arm64] 530 | os: [freebsd] 531 | requiresBuild: true 532 | dev: true 533 | optional: true 534 | 535 | /esbuild-linux-32/0.14.47: 536 | resolution: {integrity: sha512-FxZOCKoEDPRYvq300lsWCTv1kcHgiiZfNrPtEhFAiqD7QZaXrad8LxyJ8fXGcWzIFzRiYZVtB3ttvITBvAFhKw==} 537 | engines: {node: '>=12'} 538 | cpu: [ia32] 539 | os: [linux] 540 | requiresBuild: true 541 | dev: true 542 | optional: true 543 | 544 | /esbuild-linux-64/0.14.47: 545 | resolution: {integrity: sha512-nFNOk9vWVfvWYF9YNYksZptgQAdstnDCMtR6m42l5Wfugbzu11VpMCY9XrD4yFxvPo9zmzcoUL/88y0lfJZJJw==} 546 | engines: {node: '>=12'} 547 | cpu: [x64] 548 | os: [linux] 549 | requiresBuild: true 550 | dev: true 551 | optional: true 552 | 553 | /esbuild-linux-arm/0.14.47: 554 | resolution: {integrity: sha512-ZGE1Bqg/gPRXrBpgpvH81tQHpiaGxa8c9Rx/XOylkIl2ypLuOcawXEAo8ls+5DFCcRGt/o3sV+PzpAFZobOsmA==} 555 | engines: {node: '>=12'} 556 | cpu: [arm] 557 | os: [linux] 558 | requiresBuild: true 559 | dev: true 560 | optional: true 561 | 562 | /esbuild-linux-arm64/0.14.47: 563 | resolution: {integrity: sha512-ywfme6HVrhWcevzmsufjd4iT3PxTfCX9HOdxA7Hd+/ZM23Y9nXeb+vG6AyA6jgq/JovkcqRHcL9XwRNpWG6XRw==} 564 | engines: {node: '>=12'} 565 | cpu: [arm64] 566 | os: [linux] 567 | requiresBuild: true 568 | dev: true 569 | optional: true 570 | 571 | /esbuild-linux-mips64le/0.14.47: 572 | resolution: {integrity: sha512-mg3D8YndZ1LvUiEdDYR3OsmeyAew4MA/dvaEJxvyygahWmpv1SlEEnhEZlhPokjsUMfRagzsEF/d/2XF+kTQGg==} 573 | engines: {node: '>=12'} 574 | cpu: [mips64el] 575 | os: [linux] 576 | requiresBuild: true 577 | dev: true 578 | optional: true 579 | 580 | /esbuild-linux-ppc64le/0.14.47: 581 | resolution: {integrity: sha512-WER+f3+szmnZiWoK6AsrTKGoJoErG2LlauSmk73LEZFQ/iWC+KhhDsOkn1xBUpzXWsxN9THmQFltLoaFEH8F8w==} 582 | engines: {node: '>=12'} 583 | cpu: [ppc64] 584 | os: [linux] 585 | requiresBuild: true 586 | dev: true 587 | optional: true 588 | 589 | /esbuild-linux-riscv64/0.14.47: 590 | resolution: {integrity: sha512-1fI6bP3A3rvI9BsaaXbMoaOjLE3lVkJtLxsgLHqlBhLlBVY7UqffWBvkrX/9zfPhhVMd9ZRFiaqXnB1T7BsL2g==} 591 | engines: {node: '>=12'} 592 | cpu: [riscv64] 593 | os: [linux] 594 | requiresBuild: true 595 | dev: true 596 | optional: true 597 | 598 | /esbuild-linux-s390x/0.14.47: 599 | resolution: {integrity: sha512-eZrWzy0xFAhki1CWRGnhsHVz7IlSKX6yT2tj2Eg8lhAwlRE5E96Hsb0M1mPSE1dHGpt1QVwwVivXIAacF/G6mw==} 600 | engines: {node: '>=12'} 601 | cpu: [s390x] 602 | os: [linux] 603 | requiresBuild: true 604 | dev: true 605 | optional: true 606 | 607 | /esbuild-netbsd-64/0.14.47: 608 | resolution: {integrity: sha512-Qjdjr+KQQVH5Q2Q1r6HBYswFTToPpss3gqCiSw2Fpq/ua8+eXSQyAMG+UvULPqXceOwpnPo4smyZyHdlkcPppQ==} 609 | engines: {node: '>=12'} 610 | cpu: [x64] 611 | os: [netbsd] 612 | requiresBuild: true 613 | dev: true 614 | optional: true 615 | 616 | /esbuild-openbsd-64/0.14.47: 617 | resolution: {integrity: sha512-QpgN8ofL7B9z8g5zZqJE+eFvD1LehRlxr25PBkjyyasakm4599iroUpaj96rdqRlO2ShuyqwJdr+oNqWwTUmQw==} 618 | engines: {node: '>=12'} 619 | cpu: [x64] 620 | os: [openbsd] 621 | requiresBuild: true 622 | dev: true 623 | optional: true 624 | 625 | /esbuild-sunos-64/0.14.47: 626 | resolution: {integrity: sha512-uOeSgLUwukLioAJOiGYm3kNl+1wJjgJA8R671GYgcPgCx7QR73zfvYqXFFcIO93/nBdIbt5hd8RItqbbf3HtAQ==} 627 | engines: {node: '>=12'} 628 | cpu: [x64] 629 | os: [sunos] 630 | requiresBuild: true 631 | dev: true 632 | optional: true 633 | 634 | /esbuild-windows-32/0.14.47: 635 | resolution: {integrity: sha512-H0fWsLTp2WBfKLBgwYT4OTfFly4Im/8B5f3ojDv1Kx//kiubVY0IQunP2Koc/fr/0wI7hj3IiBDbSrmKlrNgLQ==} 636 | engines: {node: '>=12'} 637 | cpu: [ia32] 638 | os: [win32] 639 | requiresBuild: true 640 | dev: true 641 | optional: true 642 | 643 | /esbuild-windows-64/0.14.47: 644 | resolution: {integrity: sha512-/Pk5jIEH34T68r8PweKRi77W49KwanZ8X6lr3vDAtOlH5EumPE4pBHqkCUdELanvsT14yMXLQ/C/8XPi1pAtkQ==} 645 | engines: {node: '>=12'} 646 | cpu: [x64] 647 | os: [win32] 648 | requiresBuild: true 649 | dev: true 650 | optional: true 651 | 652 | /esbuild-windows-arm64/0.14.47: 653 | resolution: {integrity: sha512-HFSW2lnp62fl86/qPQlqw6asIwCnEsEoNIL1h2uVMgakddf+vUuMcCbtUY1i8sst7KkgHrVKCJQB33YhhOweCQ==} 654 | engines: {node: '>=12'} 655 | cpu: [arm64] 656 | os: [win32] 657 | requiresBuild: true 658 | dev: true 659 | optional: true 660 | 661 | /esbuild/0.14.47: 662 | resolution: {integrity: sha512-wI4ZiIfFxpkuxB8ju4MHrGwGLyp1+awEHAHVpx6w7a+1pmYIq8T9FGEVVwFo0iFierDoMj++Xq69GXWYn2EiwA==} 663 | engines: {node: '>=12'} 664 | hasBin: true 665 | requiresBuild: true 666 | optionalDependencies: 667 | esbuild-android-64: 0.14.47 668 | esbuild-android-arm64: 0.14.47 669 | esbuild-darwin-64: 0.14.47 670 | esbuild-darwin-arm64: 0.14.47 671 | esbuild-freebsd-64: 0.14.47 672 | esbuild-freebsd-arm64: 0.14.47 673 | esbuild-linux-32: 0.14.47 674 | esbuild-linux-64: 0.14.47 675 | esbuild-linux-arm: 0.14.47 676 | esbuild-linux-arm64: 0.14.47 677 | esbuild-linux-mips64le: 0.14.47 678 | esbuild-linux-ppc64le: 0.14.47 679 | esbuild-linux-riscv64: 0.14.47 680 | esbuild-linux-s390x: 0.14.47 681 | esbuild-netbsd-64: 0.14.47 682 | esbuild-openbsd-64: 0.14.47 683 | esbuild-sunos-64: 0.14.47 684 | esbuild-windows-32: 0.14.47 685 | esbuild-windows-64: 0.14.47 686 | esbuild-windows-arm64: 0.14.47 687 | dev: true 688 | 689 | /escalade/3.1.1: 690 | resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} 691 | engines: {node: '>=6'} 692 | dev: true 693 | 694 | /escape-string-regexp/1.0.5: 695 | resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} 696 | engines: {node: '>=0.8.0'} 697 | dev: true 698 | 699 | /estree-walker/2.0.2: 700 | resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} 701 | dev: true 702 | 703 | /fsevents/2.3.2: 704 | resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} 705 | engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} 706 | os: [darwin] 707 | requiresBuild: true 708 | dev: true 709 | optional: true 710 | 711 | /function-bind/1.1.1: 712 | resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} 713 | dev: true 714 | 715 | /gensync/1.0.0-beta.2: 716 | resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} 717 | engines: {node: '>=6.9.0'} 718 | dev: true 719 | 720 | /get-caller-file/2.0.5: 721 | resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} 722 | engines: {node: 6.* || 8.* || >= 10.*} 723 | dev: true 724 | 725 | /globals/11.12.0: 726 | resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} 727 | engines: {node: '>=4'} 728 | dev: true 729 | 730 | /has-flag/3.0.0: 731 | resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} 732 | engines: {node: '>=4'} 733 | dev: true 734 | 735 | /has/1.0.3: 736 | resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} 737 | engines: {node: '>= 0.4.0'} 738 | dependencies: 739 | function-bind: 1.1.1 740 | dev: true 741 | 742 | /is-core-module/2.9.0: 743 | resolution: {integrity: sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==} 744 | dependencies: 745 | has: 1.0.3 746 | dev: true 747 | 748 | /is-docker/2.2.1: 749 | resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} 750 | engines: {node: '>=8'} 751 | hasBin: true 752 | dev: true 753 | 754 | /is-fullwidth-code-point/3.0.0: 755 | resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} 756 | engines: {node: '>=8'} 757 | dev: true 758 | 759 | /is-wsl/2.2.0: 760 | resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==} 761 | engines: {node: '>=8'} 762 | dependencies: 763 | is-docker: 2.2.1 764 | dev: true 765 | 766 | /js-tokens/4.0.0: 767 | resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} 768 | 769 | /jsesc/2.5.2: 770 | resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} 771 | engines: {node: '>=4'} 772 | hasBin: true 773 | dev: true 774 | 775 | /json5/2.2.1: 776 | resolution: {integrity: sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==} 777 | engines: {node: '>=6'} 778 | hasBin: true 779 | dev: true 780 | 781 | /loose-envify/1.4.0: 782 | resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} 783 | hasBin: true 784 | dependencies: 785 | js-tokens: 4.0.0 786 | dev: false 787 | 788 | /ms/2.1.2: 789 | resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} 790 | dev: true 791 | 792 | /nanoid/3.3.4: 793 | resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} 794 | engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} 795 | hasBin: true 796 | dev: true 797 | 798 | /node-releases/2.0.5: 799 | resolution: {integrity: sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==} 800 | dev: true 801 | 802 | /open/8.4.0: 803 | resolution: {integrity: sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==} 804 | engines: {node: '>=12'} 805 | dependencies: 806 | define-lazy-prop: 2.0.0 807 | is-docker: 2.2.1 808 | is-wsl: 2.2.0 809 | dev: true 810 | 811 | /path-parse/1.0.7: 812 | resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} 813 | dev: true 814 | 815 | /picocolors/1.0.0: 816 | resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} 817 | dev: true 818 | 819 | /picomatch/2.3.1: 820 | resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} 821 | engines: {node: '>=8.6'} 822 | dev: true 823 | 824 | /postcss/8.4.14: 825 | resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==} 826 | engines: {node: ^10 || ^12 || >=14} 827 | dependencies: 828 | nanoid: 3.3.4 829 | picocolors: 1.0.0 830 | source-map-js: 1.0.2 831 | dev: true 832 | 833 | /react-dom/18.2.0_react@18.2.0: 834 | resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} 835 | peerDependencies: 836 | react: ^18.2.0 837 | dependencies: 838 | loose-envify: 1.4.0 839 | react: 18.2.0 840 | scheduler: 0.23.0 841 | dev: false 842 | 843 | /react-refresh/0.13.0: 844 | resolution: {integrity: sha512-XP8A9BT0CpRBD+NYLLeIhld/RqG9+gktUjW1FkE+Vm7OCinbG1SshcK5tb9ls4kzvjZr9mOQc7HYgBngEyPAXg==} 845 | engines: {node: '>=0.10.0'} 846 | dev: true 847 | 848 | /react/18.2.0: 849 | resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} 850 | engines: {node: '>=0.10.0'} 851 | dependencies: 852 | loose-envify: 1.4.0 853 | dev: false 854 | 855 | /require-directory/2.1.1: 856 | resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} 857 | engines: {node: '>=0.10.0'} 858 | dev: true 859 | 860 | /resolve/1.22.1: 861 | resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} 862 | hasBin: true 863 | dependencies: 864 | is-core-module: 2.9.0 865 | path-parse: 1.0.7 866 | supports-preserve-symlinks-flag: 1.0.0 867 | dev: true 868 | 869 | /rollup-plugin-analyzer/4.0.0: 870 | resolution: {integrity: sha512-LL9GEt3bkXp6Wa19SNR5MWcvHNMvuTFYg+eYBZN2OIFhSWN+pEJUQXEKu5BsOeABob3x9PDaLKW7w5iOJnsESQ==} 871 | engines: {node: '>=8.0.0'} 872 | dev: true 873 | 874 | /rollup-plugin-visualizer/5.6.0: 875 | resolution: {integrity: sha512-CKcc8GTUZjC+LsMytU8ocRr/cGZIfMR7+mdy4YnlyetlmIl/dM8BMnOEpD4JPIGt+ZVW7Db9ZtSsbgyeBH3uTA==} 876 | engines: {node: '>=12'} 877 | hasBin: true 878 | peerDependencies: 879 | rollup: ^2.0.0 880 | dependencies: 881 | nanoid: 3.3.4 882 | open: 8.4.0 883 | source-map: 0.7.4 884 | yargs: 17.5.1 885 | dev: true 886 | 887 | /rollup/2.75.7: 888 | resolution: {integrity: sha512-VSE1iy0eaAYNCxEXaleThdFXqZJ42qDBatAwrfnPlENEZ8erQ+0LYX4JXOLPceWfZpV1VtZwZ3dFCuOZiSyFtQ==} 889 | engines: {node: '>=10.0.0'} 890 | hasBin: true 891 | optionalDependencies: 892 | fsevents: 2.3.2 893 | dev: true 894 | 895 | /safe-buffer/5.1.2: 896 | resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} 897 | dev: true 898 | 899 | /scheduler/0.23.0: 900 | resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} 901 | dependencies: 902 | loose-envify: 1.4.0 903 | dev: false 904 | 905 | /semver/6.3.0: 906 | resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} 907 | hasBin: true 908 | dev: true 909 | 910 | /source-map-js/1.0.2: 911 | resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} 912 | engines: {node: '>=0.10.0'} 913 | dev: true 914 | 915 | /source-map/0.7.4: 916 | resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} 917 | engines: {node: '>= 8'} 918 | dev: true 919 | 920 | /string-width/4.2.3: 921 | resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} 922 | engines: {node: '>=8'} 923 | dependencies: 924 | emoji-regex: 8.0.0 925 | is-fullwidth-code-point: 3.0.0 926 | strip-ansi: 6.0.1 927 | dev: true 928 | 929 | /strip-ansi/6.0.1: 930 | resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} 931 | engines: {node: '>=8'} 932 | dependencies: 933 | ansi-regex: 5.0.1 934 | dev: true 935 | 936 | /supports-color/5.5.0: 937 | resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} 938 | engines: {node: '>=4'} 939 | dependencies: 940 | has-flag: 3.0.0 941 | dev: true 942 | 943 | /supports-preserve-symlinks-flag/1.0.0: 944 | resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} 945 | engines: {node: '>= 0.4'} 946 | dev: true 947 | 948 | /to-fast-properties/2.0.0: 949 | resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} 950 | engines: {node: '>=4'} 951 | dev: true 952 | 953 | /typescript/4.7.4: 954 | resolution: {integrity: sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==} 955 | engines: {node: '>=4.2.0'} 956 | hasBin: true 957 | dev: true 958 | 959 | /update-browserslist-db/1.0.3_browserslist@4.21.0: 960 | resolution: {integrity: sha512-ufSazemeh9Gty0qiWtoRpJ9F5Q5W3xdIPm1UZQqYQv/q0Nyb9EMHUB2lu+O9x1re9WsorpMAUu4Y6Lxcs5n+XQ==} 961 | hasBin: true 962 | peerDependencies: 963 | browserslist: '>= 4.21.0' 964 | dependencies: 965 | browserslist: 4.21.0 966 | escalade: 3.1.1 967 | picocolors: 1.0.0 968 | dev: true 969 | 970 | /vite/2.9.12: 971 | resolution: {integrity: sha512-suxC36dQo9Rq1qMB2qiRorNJtJAdxguu5TMvBHOc/F370KvqAe9t48vYp+/TbPKRNrMh/J55tOUmkuIqstZaew==} 972 | engines: {node: '>=12.2.0'} 973 | hasBin: true 974 | peerDependencies: 975 | less: '*' 976 | sass: '*' 977 | stylus: '*' 978 | peerDependenciesMeta: 979 | less: 980 | optional: true 981 | sass: 982 | optional: true 983 | stylus: 984 | optional: true 985 | dependencies: 986 | esbuild: 0.14.47 987 | postcss: 8.4.14 988 | resolve: 1.22.1 989 | rollup: 2.75.7 990 | optionalDependencies: 991 | fsevents: 2.3.2 992 | dev: true 993 | 994 | /wrap-ansi/7.0.0: 995 | resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} 996 | engines: {node: '>=10'} 997 | dependencies: 998 | ansi-styles: 4.3.0 999 | string-width: 4.2.3 1000 | strip-ansi: 6.0.1 1001 | dev: true 1002 | 1003 | /y18n/5.0.8: 1004 | resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} 1005 | engines: {node: '>=10'} 1006 | dev: true 1007 | 1008 | /yargs-parser/21.0.1: 1009 | resolution: {integrity: sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==} 1010 | engines: {node: '>=12'} 1011 | dev: true 1012 | 1013 | /yargs/17.5.1: 1014 | resolution: {integrity: sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==} 1015 | engines: {node: '>=12'} 1016 | dependencies: 1017 | cliui: 7.0.4 1018 | escalade: 3.1.1 1019 | get-caller-file: 2.0.5 1020 | require-directory: 2.1.1 1021 | string-width: 4.2.3 1022 | y18n: 5.0.8 1023 | yargs-parser: 21.0.1 1024 | dev: true 1025 | -------------------------------------------------------------------------------- /web-component/example/react/src/App.css: -------------------------------------------------------------------------------- 1 | #playground { 2 | display: flex; 3 | flex-direction: column; 4 | justify-content: center; 5 | align-items: center; 6 | gap: 2.5em; 7 | width: 100%; 8 | min-height: 100vh; 9 | padding: 4em; 10 | background-color: #fafafa; 11 | box-sizing: border-box; 12 | } 13 | -------------------------------------------------------------------------------- /web-component/example/react/src/App.tsx: -------------------------------------------------------------------------------- 1 | import { useState } from 'react' 2 | 3 | import '@saltyaom/svelte-component' 4 | 5 | import './App.css' 6 | 7 | function App() { 8 | return ( 9 |
10 | 14 | Takodachi 15 | 16 | 17 | 18 |
19 |

20 | React in Svelte Web Component 21 |

22 |
23 | 24 |
25 |
26 | ) 27 | } 28 | 29 | export default App 30 | -------------------------------------------------------------------------------- /web-component/example/react/src/favicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /web-component/example/react/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | * { 11 | box-sizing: border-box; 12 | } -------------------------------------------------------------------------------- /web-component/example/react/src/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /web-component/example/react/src/main.tsx: -------------------------------------------------------------------------------- 1 | import React, { HTMLAttributes, type ReactNode } from 'react' 2 | import ReactDOM from 'react-dom/client' 3 | 4 | import '@saltyaom/svelte-component' 5 | 6 | import App from './App' 7 | 8 | import './index.css' 9 | 10 | declare global { 11 | namespace JSX { 12 | interface IntrinsicElements { 13 | ['paper-card']: HTMLAttributes & { 14 | src: string 15 | alt: string 16 | } 17 | ['paper-counter']: HTMLAttributes 18 | ['paper-compound']: HTMLAttributes 19 | } 20 | } 21 | } 22 | 23 | ReactDOM.createRoot(document.getElementById('root')!).render( 24 | 25 | 26 | 27 | ) 28 | -------------------------------------------------------------------------------- /web-component/example/react/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /web-component/example/react/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ESNext", 4 | "useDefineForClassFields": true, 5 | "lib": ["DOM", "DOM.Iterable", "ESNext"], 6 | "allowJs": false, 7 | "skipLibCheck": true, 8 | "esModuleInterop": false, 9 | "allowSyntheticDefaultImports": true, 10 | "strict": true, 11 | "forceConsistentCasingInFileNames": true, 12 | "module": "ESNext", 13 | "moduleResolution": "Node", 14 | "resolveJsonModule": true, 15 | "isolatedModules": true, 16 | "noEmit": true, 17 | "jsx": "react-jsx", 18 | }, 19 | "include": ["src"], 20 | "references": [{ "path": "./tsconfig.node.json" }] 21 | } 22 | -------------------------------------------------------------------------------- /web-component/example/react/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "module": "esnext", 5 | "moduleResolution": "node" 6 | }, 7 | "include": ["vite.config.ts"] 8 | } 9 | -------------------------------------------------------------------------------- /web-component/example/react/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | import visualizer from 'rollup-plugin-visualizer' 5 | 6 | // https://vitejs.dev/config/ 7 | export default defineConfig({ 8 | build: { 9 | rollupOptions: { 10 | plugins: [ 11 | visualizer({ 12 | gzipSize: true, 13 | brotliSize: true 14 | }) 15 | ] 16 | } 17 | }, 18 | plugins: [react()] 19 | }) 20 | -------------------------------------------------------------------------------- /web-component/example/svelte/README.md: -------------------------------------------------------------------------------- 1 | # Svelte + TS + Vite 2 | 3 | This template should help get you started developing with Svelte and TypeScript in Vite. 4 | 5 | ## Recommended IDE Setup 6 | 7 | [VS Code](https://code.visualstudio.com/) + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode). 8 | 9 | ## Need an official Svelte framework? 10 | 11 | Check out [SvelteKit](https://github.com/sveltejs/kit#readme), which is also powered by Vite. Deploy anywhere with its serverless-first approach and adapt to various platforms, with out of the box support for TypeScript, SCSS, and Less, and easily-added support for mdsvex, GraphQL, PostCSS, Tailwind CSS, and more. 12 | 13 | ## Technical considerations 14 | 15 | **Why use this over SvelteKit?** 16 | 17 | - It brings its own routing solution which might not be preferable for some users. 18 | - It is first and foremost a framework that just happens to use Vite under the hood, not a Vite app. 19 | `vite dev` and `vite build` wouldn't work in a SvelteKit environment, for example. 20 | 21 | This template contains as little as possible to get started with Vite + TypeScript + Svelte, while taking into account the developer experience with regards to HMR and intellisense. It demonstrates capabilities on par with the other `create-vite` templates and is a good starting point for beginners dipping their toes into a Vite + Svelte project. 22 | 23 | Should you later need the extended capabilities and extensibility provided by SvelteKit, the template has been structured similarly to SvelteKit so that it is easy to migrate. 24 | 25 | **Why `global.d.ts` instead of `compilerOptions.types` inside `jsconfig.json` or `tsconfig.json`?** 26 | 27 | Setting `compilerOptions.types` shuts out all other types not explicitly listed in the configuration. Using triple-slash references keeps the default TypeScript setting of accepting type information from the entire workspace, while also adding `svelte` and `vite/client` type information. 28 | 29 | **Why include `.vscode/extensions.json`?** 30 | 31 | Other templates indirectly recommend extensions via the README, but this file allows VS Code to prompt the user to install the recommended extension upon opening the project. 32 | 33 | **Why enable `allowJs` in the TS template?** 34 | 35 | While `allowJs: false` would indeed prevent the use of `.js` files in the project, it does not prevent the use of JavaScript syntax in `.svelte` files. In addition, it would force `checkJs: false`, bringing the worst of both worlds: not being able to guarantee the entire codebase is TypeScript, and also having worse typechecking for the existing JavaScript. In addition, there are valid use cases in which a mixed codebase may be relevant. 36 | 37 | **Why is HMR not preserving my local component state?** 38 | 39 | HMR state preservation comes with a number of gotchas! It has been disabled by default in both `svelte-hmr` and `@sveltejs/vite-plugin-svelte` due to its often surprising behavior. You can read the details [here](https://github.com/rixo/svelte-hmr#svelte-hmr). 40 | 41 | If you have state that's important to retain within a component, consider creating an external store which would not be replaced by HMR. 42 | 43 | ```ts 44 | // store.ts 45 | // An extremely simple external store 46 | import { writable } from 'svelte/store' 47 | export default writable(0) 48 | ``` 49 | -------------------------------------------------------------------------------- /web-component/example/svelte/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Svelte + TS + Vite App 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /web-component/example/svelte/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "private": true, 4 | "version": "0.0.0", 5 | "type": "module", 6 | "scripts": { 7 | "dev": "vite", 8 | "build": "vite build", 9 | "preview": "vite preview", 10 | "check": "svelte-check --tsconfig ./tsconfig.json" 11 | }, 12 | "dependencies": { 13 | "@saltyaom/svelte-component": "../../" 14 | }, 15 | "devDependencies": { 16 | "@sveltejs/vite-plugin-svelte": "^1.0.0-next.30", 17 | "@tsconfig/svelte": "^2.0.1", 18 | "svelte": "^3.44.0", 19 | "svelte-check": "^2.2.7", 20 | "svelte-preprocess": "^4.9.8", 21 | "tslib": "^2.3.1", 22 | "typescript": "^4.5.4", 23 | "vite": "^2.9.9" 24 | } 25 | } -------------------------------------------------------------------------------- /web-component/example/svelte/pnpm-lock.yaml: -------------------------------------------------------------------------------- 1 | lockfileVersion: 5.4 2 | 3 | specifiers: 4 | '@saltyaom/svelte-component': ../../ 5 | '@sveltejs/vite-plugin-svelte': ^1.0.0-next.30 6 | '@tsconfig/svelte': ^2.0.1 7 | svelte: ^3.44.0 8 | svelte-check: ^2.2.7 9 | svelte-preprocess: ^4.9.8 10 | tslib: ^2.3.1 11 | typescript: ^4.5.4 12 | vite: ^2.9.9 13 | 14 | dependencies: 15 | '@saltyaom/svelte-component': link:../.. 16 | 17 | devDependencies: 18 | '@sveltejs/vite-plugin-svelte': 1.0.0-next.49_svelte@3.48.0+vite@2.9.12 19 | '@tsconfig/svelte': 2.0.1 20 | svelte: 3.48.0 21 | svelte-check: 2.7.2_svelte@3.48.0 22 | svelte-preprocess: 4.10.7_lvfi2wesz6u4l5rfbnetbucfmm 23 | tslib: 2.4.0 24 | typescript: 4.7.4 25 | vite: 2.9.12 26 | 27 | packages: 28 | 29 | /@jridgewell/resolve-uri/3.0.7: 30 | resolution: {integrity: sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==} 31 | engines: {node: '>=6.0.0'} 32 | dev: true 33 | 34 | /@jridgewell/sourcemap-codec/1.4.13: 35 | resolution: {integrity: sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==} 36 | dev: true 37 | 38 | /@jridgewell/trace-mapping/0.3.13: 39 | resolution: {integrity: sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==} 40 | dependencies: 41 | '@jridgewell/resolve-uri': 3.0.7 42 | '@jridgewell/sourcemap-codec': 1.4.13 43 | dev: true 44 | 45 | /@nodelib/fs.scandir/2.1.5: 46 | resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} 47 | engines: {node: '>= 8'} 48 | dependencies: 49 | '@nodelib/fs.stat': 2.0.5 50 | run-parallel: 1.2.0 51 | dev: true 52 | 53 | /@nodelib/fs.stat/2.0.5: 54 | resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} 55 | engines: {node: '>= 8'} 56 | dev: true 57 | 58 | /@nodelib/fs.walk/1.2.8: 59 | resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} 60 | engines: {node: '>= 8'} 61 | dependencies: 62 | '@nodelib/fs.scandir': 2.1.5 63 | fastq: 1.13.0 64 | dev: true 65 | 66 | /@rollup/pluginutils/4.2.1: 67 | resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} 68 | engines: {node: '>= 8.0.0'} 69 | dependencies: 70 | estree-walker: 2.0.2 71 | picomatch: 2.3.1 72 | dev: true 73 | 74 | /@sveltejs/vite-plugin-svelte/1.0.0-next.49_svelte@3.48.0+vite@2.9.12: 75 | resolution: {integrity: sha512-AKh0Ka8EDgidnxWUs8Hh2iZLZovkETkefO99XxZ4sW4WGJ7VFeBx5kH/NIIGlaNHLcrIvK3CK0HkZwC3Cici0A==} 76 | engines: {node: ^14.13.1 || >= 16} 77 | peerDependencies: 78 | diff-match-patch: ^1.0.5 79 | svelte: ^3.44.0 80 | vite: ^2.9.0 81 | peerDependenciesMeta: 82 | diff-match-patch: 83 | optional: true 84 | dependencies: 85 | '@rollup/pluginutils': 4.2.1 86 | debug: 4.3.4 87 | deepmerge: 4.2.2 88 | kleur: 4.1.4 89 | magic-string: 0.26.2 90 | svelte: 3.48.0 91 | svelte-hmr: 0.14.12_svelte@3.48.0 92 | vite: 2.9.12 93 | transitivePeerDependencies: 94 | - supports-color 95 | dev: true 96 | 97 | /@tsconfig/svelte/2.0.1: 98 | resolution: {integrity: sha512-aqkICXbM1oX5FfgZd2qSSAGdyo/NRxjWCamxoyi3T8iVQnzGge19HhDYzZ6NrVOW7bhcWNSq9XexWFtMzbB24A==} 99 | dev: true 100 | 101 | /@types/node/18.0.0: 102 | resolution: {integrity: sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA==} 103 | dev: true 104 | 105 | /@types/pug/2.0.6: 106 | resolution: {integrity: sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==} 107 | dev: true 108 | 109 | /@types/sass/1.43.1: 110 | resolution: {integrity: sha512-BPdoIt1lfJ6B7rw35ncdwBZrAssjcwzI5LByIrYs+tpXlj/CAkuVdRsgZDdP4lq5EjyWzwxZCqAoFyHKFwp32g==} 111 | dependencies: 112 | '@types/node': 18.0.0 113 | dev: true 114 | 115 | /anymatch/3.1.2: 116 | resolution: {integrity: sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==} 117 | engines: {node: '>= 8'} 118 | dependencies: 119 | normalize-path: 3.0.0 120 | picomatch: 2.3.1 121 | dev: true 122 | 123 | /balanced-match/1.0.2: 124 | resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} 125 | dev: true 126 | 127 | /binary-extensions/2.2.0: 128 | resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} 129 | engines: {node: '>=8'} 130 | dev: true 131 | 132 | /brace-expansion/1.1.11: 133 | resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} 134 | dependencies: 135 | balanced-match: 1.0.2 136 | concat-map: 0.0.1 137 | dev: true 138 | 139 | /braces/3.0.2: 140 | resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} 141 | engines: {node: '>=8'} 142 | dependencies: 143 | fill-range: 7.0.1 144 | dev: true 145 | 146 | /buffer-crc32/0.2.13: 147 | resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} 148 | dev: true 149 | 150 | /callsites/3.1.0: 151 | resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} 152 | engines: {node: '>=6'} 153 | dev: true 154 | 155 | /chokidar/3.5.3: 156 | resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} 157 | engines: {node: '>= 8.10.0'} 158 | dependencies: 159 | anymatch: 3.1.2 160 | braces: 3.0.2 161 | glob-parent: 5.1.2 162 | is-binary-path: 2.1.0 163 | is-glob: 4.0.3 164 | normalize-path: 3.0.0 165 | readdirp: 3.6.0 166 | optionalDependencies: 167 | fsevents: 2.3.2 168 | dev: true 169 | 170 | /concat-map/0.0.1: 171 | resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} 172 | dev: true 173 | 174 | /debug/4.3.4: 175 | resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} 176 | engines: {node: '>=6.0'} 177 | peerDependencies: 178 | supports-color: '*' 179 | peerDependenciesMeta: 180 | supports-color: 181 | optional: true 182 | dependencies: 183 | ms: 2.1.2 184 | dev: true 185 | 186 | /deepmerge/4.2.2: 187 | resolution: {integrity: sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==} 188 | engines: {node: '>=0.10.0'} 189 | dev: true 190 | 191 | /detect-indent/6.1.0: 192 | resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} 193 | engines: {node: '>=8'} 194 | dev: true 195 | 196 | /es6-promise/3.3.1: 197 | resolution: {integrity: sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==} 198 | dev: true 199 | 200 | /esbuild-android-64/0.14.47: 201 | resolution: {integrity: sha512-R13Bd9+tqLVFndncMHssZrPWe6/0Kpv2/dt4aA69soX4PRxlzsVpCvoJeFE8sOEoeVEiBkI0myjlkDodXlHa0g==} 202 | engines: {node: '>=12'} 203 | cpu: [x64] 204 | os: [android] 205 | requiresBuild: true 206 | dev: true 207 | optional: true 208 | 209 | /esbuild-android-arm64/0.14.47: 210 | resolution: {integrity: sha512-OkwOjj7ts4lBp/TL6hdd8HftIzOy/pdtbrNA4+0oVWgGG64HrdVzAF5gxtJufAPOsEjkyh1oIYvKAUinKKQRSQ==} 211 | engines: {node: '>=12'} 212 | cpu: [arm64] 213 | os: [android] 214 | requiresBuild: true 215 | dev: true 216 | optional: true 217 | 218 | /esbuild-darwin-64/0.14.47: 219 | resolution: {integrity: sha512-R6oaW0y5/u6Eccti/TS6c/2c1xYTb1izwK3gajJwi4vIfNs1s8B1dQzI1UiC9T61YovOQVuePDcfqHLT3mUZJA==} 220 | engines: {node: '>=12'} 221 | cpu: [x64] 222 | os: [darwin] 223 | requiresBuild: true 224 | dev: true 225 | optional: true 226 | 227 | /esbuild-darwin-arm64/0.14.47: 228 | resolution: {integrity: sha512-seCmearlQyvdvM/noz1L9+qblC5vcBrhUaOoLEDDoLInF/VQ9IkobGiLlyTPYP5dW1YD4LXhtBgOyevoIHGGnw==} 229 | engines: {node: '>=12'} 230 | cpu: [arm64] 231 | os: [darwin] 232 | requiresBuild: true 233 | dev: true 234 | optional: true 235 | 236 | /esbuild-freebsd-64/0.14.47: 237 | resolution: {integrity: sha512-ZH8K2Q8/Ux5kXXvQMDsJcxvkIwut69KVrYQhza/ptkW50DC089bCVrJZZ3sKzIoOx+YPTrmsZvqeZERjyYrlvQ==} 238 | engines: {node: '>=12'} 239 | cpu: [x64] 240 | os: [freebsd] 241 | requiresBuild: true 242 | dev: true 243 | optional: true 244 | 245 | /esbuild-freebsd-arm64/0.14.47: 246 | resolution: {integrity: sha512-ZJMQAJQsIOhn3XTm7MPQfCzEu5b9STNC+s90zMWe2afy9EwnHV7Ov7ohEMv2lyWlc2pjqLW8QJnz2r0KZmeAEQ==} 247 | engines: {node: '>=12'} 248 | cpu: [arm64] 249 | os: [freebsd] 250 | requiresBuild: true 251 | dev: true 252 | optional: true 253 | 254 | /esbuild-linux-32/0.14.47: 255 | resolution: {integrity: sha512-FxZOCKoEDPRYvq300lsWCTv1kcHgiiZfNrPtEhFAiqD7QZaXrad8LxyJ8fXGcWzIFzRiYZVtB3ttvITBvAFhKw==} 256 | engines: {node: '>=12'} 257 | cpu: [ia32] 258 | os: [linux] 259 | requiresBuild: true 260 | dev: true 261 | optional: true 262 | 263 | /esbuild-linux-64/0.14.47: 264 | resolution: {integrity: sha512-nFNOk9vWVfvWYF9YNYksZptgQAdstnDCMtR6m42l5Wfugbzu11VpMCY9XrD4yFxvPo9zmzcoUL/88y0lfJZJJw==} 265 | engines: {node: '>=12'} 266 | cpu: [x64] 267 | os: [linux] 268 | requiresBuild: true 269 | dev: true 270 | optional: true 271 | 272 | /esbuild-linux-arm/0.14.47: 273 | resolution: {integrity: sha512-ZGE1Bqg/gPRXrBpgpvH81tQHpiaGxa8c9Rx/XOylkIl2ypLuOcawXEAo8ls+5DFCcRGt/o3sV+PzpAFZobOsmA==} 274 | engines: {node: '>=12'} 275 | cpu: [arm] 276 | os: [linux] 277 | requiresBuild: true 278 | dev: true 279 | optional: true 280 | 281 | /esbuild-linux-arm64/0.14.47: 282 | resolution: {integrity: sha512-ywfme6HVrhWcevzmsufjd4iT3PxTfCX9HOdxA7Hd+/ZM23Y9nXeb+vG6AyA6jgq/JovkcqRHcL9XwRNpWG6XRw==} 283 | engines: {node: '>=12'} 284 | cpu: [arm64] 285 | os: [linux] 286 | requiresBuild: true 287 | dev: true 288 | optional: true 289 | 290 | /esbuild-linux-mips64le/0.14.47: 291 | resolution: {integrity: sha512-mg3D8YndZ1LvUiEdDYR3OsmeyAew4MA/dvaEJxvyygahWmpv1SlEEnhEZlhPokjsUMfRagzsEF/d/2XF+kTQGg==} 292 | engines: {node: '>=12'} 293 | cpu: [mips64el] 294 | os: [linux] 295 | requiresBuild: true 296 | dev: true 297 | optional: true 298 | 299 | /esbuild-linux-ppc64le/0.14.47: 300 | resolution: {integrity: sha512-WER+f3+szmnZiWoK6AsrTKGoJoErG2LlauSmk73LEZFQ/iWC+KhhDsOkn1xBUpzXWsxN9THmQFltLoaFEH8F8w==} 301 | engines: {node: '>=12'} 302 | cpu: [ppc64] 303 | os: [linux] 304 | requiresBuild: true 305 | dev: true 306 | optional: true 307 | 308 | /esbuild-linux-riscv64/0.14.47: 309 | resolution: {integrity: sha512-1fI6bP3A3rvI9BsaaXbMoaOjLE3lVkJtLxsgLHqlBhLlBVY7UqffWBvkrX/9zfPhhVMd9ZRFiaqXnB1T7BsL2g==} 310 | engines: {node: '>=12'} 311 | cpu: [riscv64] 312 | os: [linux] 313 | requiresBuild: true 314 | dev: true 315 | optional: true 316 | 317 | /esbuild-linux-s390x/0.14.47: 318 | resolution: {integrity: sha512-eZrWzy0xFAhki1CWRGnhsHVz7IlSKX6yT2tj2Eg8lhAwlRE5E96Hsb0M1mPSE1dHGpt1QVwwVivXIAacF/G6mw==} 319 | engines: {node: '>=12'} 320 | cpu: [s390x] 321 | os: [linux] 322 | requiresBuild: true 323 | dev: true 324 | optional: true 325 | 326 | /esbuild-netbsd-64/0.14.47: 327 | resolution: {integrity: sha512-Qjdjr+KQQVH5Q2Q1r6HBYswFTToPpss3gqCiSw2Fpq/ua8+eXSQyAMG+UvULPqXceOwpnPo4smyZyHdlkcPppQ==} 328 | engines: {node: '>=12'} 329 | cpu: [x64] 330 | os: [netbsd] 331 | requiresBuild: true 332 | dev: true 333 | optional: true 334 | 335 | /esbuild-openbsd-64/0.14.47: 336 | resolution: {integrity: sha512-QpgN8ofL7B9z8g5zZqJE+eFvD1LehRlxr25PBkjyyasakm4599iroUpaj96rdqRlO2ShuyqwJdr+oNqWwTUmQw==} 337 | engines: {node: '>=12'} 338 | cpu: [x64] 339 | os: [openbsd] 340 | requiresBuild: true 341 | dev: true 342 | optional: true 343 | 344 | /esbuild-sunos-64/0.14.47: 345 | resolution: {integrity: sha512-uOeSgLUwukLioAJOiGYm3kNl+1wJjgJA8R671GYgcPgCx7QR73zfvYqXFFcIO93/nBdIbt5hd8RItqbbf3HtAQ==} 346 | engines: {node: '>=12'} 347 | cpu: [x64] 348 | os: [sunos] 349 | requiresBuild: true 350 | dev: true 351 | optional: true 352 | 353 | /esbuild-windows-32/0.14.47: 354 | resolution: {integrity: sha512-H0fWsLTp2WBfKLBgwYT4OTfFly4Im/8B5f3ojDv1Kx//kiubVY0IQunP2Koc/fr/0wI7hj3IiBDbSrmKlrNgLQ==} 355 | engines: {node: '>=12'} 356 | cpu: [ia32] 357 | os: [win32] 358 | requiresBuild: true 359 | dev: true 360 | optional: true 361 | 362 | /esbuild-windows-64/0.14.47: 363 | resolution: {integrity: sha512-/Pk5jIEH34T68r8PweKRi77W49KwanZ8X6lr3vDAtOlH5EumPE4pBHqkCUdELanvsT14yMXLQ/C/8XPi1pAtkQ==} 364 | engines: {node: '>=12'} 365 | cpu: [x64] 366 | os: [win32] 367 | requiresBuild: true 368 | dev: true 369 | optional: true 370 | 371 | /esbuild-windows-arm64/0.14.47: 372 | resolution: {integrity: sha512-HFSW2lnp62fl86/qPQlqw6asIwCnEsEoNIL1h2uVMgakddf+vUuMcCbtUY1i8sst7KkgHrVKCJQB33YhhOweCQ==} 373 | engines: {node: '>=12'} 374 | cpu: [arm64] 375 | os: [win32] 376 | requiresBuild: true 377 | dev: true 378 | optional: true 379 | 380 | /esbuild/0.14.47: 381 | resolution: {integrity: sha512-wI4ZiIfFxpkuxB8ju4MHrGwGLyp1+awEHAHVpx6w7a+1pmYIq8T9FGEVVwFo0iFierDoMj++Xq69GXWYn2EiwA==} 382 | engines: {node: '>=12'} 383 | hasBin: true 384 | requiresBuild: true 385 | optionalDependencies: 386 | esbuild-android-64: 0.14.47 387 | esbuild-android-arm64: 0.14.47 388 | esbuild-darwin-64: 0.14.47 389 | esbuild-darwin-arm64: 0.14.47 390 | esbuild-freebsd-64: 0.14.47 391 | esbuild-freebsd-arm64: 0.14.47 392 | esbuild-linux-32: 0.14.47 393 | esbuild-linux-64: 0.14.47 394 | esbuild-linux-arm: 0.14.47 395 | esbuild-linux-arm64: 0.14.47 396 | esbuild-linux-mips64le: 0.14.47 397 | esbuild-linux-ppc64le: 0.14.47 398 | esbuild-linux-riscv64: 0.14.47 399 | esbuild-linux-s390x: 0.14.47 400 | esbuild-netbsd-64: 0.14.47 401 | esbuild-openbsd-64: 0.14.47 402 | esbuild-sunos-64: 0.14.47 403 | esbuild-windows-32: 0.14.47 404 | esbuild-windows-64: 0.14.47 405 | esbuild-windows-arm64: 0.14.47 406 | dev: true 407 | 408 | /estree-walker/2.0.2: 409 | resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} 410 | dev: true 411 | 412 | /fast-glob/3.2.11: 413 | resolution: {integrity: sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==} 414 | engines: {node: '>=8.6.0'} 415 | dependencies: 416 | '@nodelib/fs.stat': 2.0.5 417 | '@nodelib/fs.walk': 1.2.8 418 | glob-parent: 5.1.2 419 | merge2: 1.4.1 420 | micromatch: 4.0.5 421 | dev: true 422 | 423 | /fastq/1.13.0: 424 | resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==} 425 | dependencies: 426 | reusify: 1.0.4 427 | dev: true 428 | 429 | /fill-range/7.0.1: 430 | resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} 431 | engines: {node: '>=8'} 432 | dependencies: 433 | to-regex-range: 5.0.1 434 | dev: true 435 | 436 | /fs.realpath/1.0.0: 437 | resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} 438 | dev: true 439 | 440 | /fsevents/2.3.2: 441 | resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} 442 | engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} 443 | os: [darwin] 444 | requiresBuild: true 445 | dev: true 446 | optional: true 447 | 448 | /function-bind/1.1.1: 449 | resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} 450 | dev: true 451 | 452 | /glob-parent/5.1.2: 453 | resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} 454 | engines: {node: '>= 6'} 455 | dependencies: 456 | is-glob: 4.0.3 457 | dev: true 458 | 459 | /glob/7.2.3: 460 | resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} 461 | dependencies: 462 | fs.realpath: 1.0.0 463 | inflight: 1.0.6 464 | inherits: 2.0.4 465 | minimatch: 3.1.2 466 | once: 1.4.0 467 | path-is-absolute: 1.0.1 468 | dev: true 469 | 470 | /graceful-fs/4.2.10: 471 | resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} 472 | dev: true 473 | 474 | /has/1.0.3: 475 | resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} 476 | engines: {node: '>= 0.4.0'} 477 | dependencies: 478 | function-bind: 1.1.1 479 | dev: true 480 | 481 | /import-fresh/3.3.0: 482 | resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} 483 | engines: {node: '>=6'} 484 | dependencies: 485 | parent-module: 1.0.1 486 | resolve-from: 4.0.0 487 | dev: true 488 | 489 | /inflight/1.0.6: 490 | resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} 491 | dependencies: 492 | once: 1.4.0 493 | wrappy: 1.0.2 494 | dev: true 495 | 496 | /inherits/2.0.4: 497 | resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} 498 | dev: true 499 | 500 | /is-binary-path/2.1.0: 501 | resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} 502 | engines: {node: '>=8'} 503 | dependencies: 504 | binary-extensions: 2.2.0 505 | dev: true 506 | 507 | /is-core-module/2.9.0: 508 | resolution: {integrity: sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==} 509 | dependencies: 510 | has: 1.0.3 511 | dev: true 512 | 513 | /is-extglob/2.1.1: 514 | resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} 515 | engines: {node: '>=0.10.0'} 516 | dev: true 517 | 518 | /is-glob/4.0.3: 519 | resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} 520 | engines: {node: '>=0.10.0'} 521 | dependencies: 522 | is-extglob: 2.1.1 523 | dev: true 524 | 525 | /is-number/7.0.0: 526 | resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} 527 | engines: {node: '>=0.12.0'} 528 | dev: true 529 | 530 | /kleur/4.1.4: 531 | resolution: {integrity: sha512-8QADVssbrFjivHWQU7KkMgptGTl6WAcSdlbBPY4uNF+mWr6DGcKrvY2w4FQJoXch7+fKMjj0dRrL75vk3k23OA==} 532 | engines: {node: '>=6'} 533 | dev: true 534 | 535 | /magic-string/0.25.9: 536 | resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} 537 | dependencies: 538 | sourcemap-codec: 1.4.8 539 | dev: true 540 | 541 | /magic-string/0.26.2: 542 | resolution: {integrity: sha512-NzzlXpclt5zAbmo6h6jNc8zl2gNRGHvmsZW4IvZhTC4W7k4OlLP+S5YLussa/r3ixNT66KOQfNORlXHSOy/X4A==} 543 | engines: {node: '>=12'} 544 | dependencies: 545 | sourcemap-codec: 1.4.8 546 | dev: true 547 | 548 | /merge2/1.4.1: 549 | resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} 550 | engines: {node: '>= 8'} 551 | dev: true 552 | 553 | /micromatch/4.0.5: 554 | resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} 555 | engines: {node: '>=8.6'} 556 | dependencies: 557 | braces: 3.0.2 558 | picomatch: 2.3.1 559 | dev: true 560 | 561 | /min-indent/1.0.1: 562 | resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} 563 | engines: {node: '>=4'} 564 | dev: true 565 | 566 | /minimatch/3.1.2: 567 | resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} 568 | dependencies: 569 | brace-expansion: 1.1.11 570 | dev: true 571 | 572 | /minimist/1.2.6: 573 | resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} 574 | dev: true 575 | 576 | /mkdirp/0.5.6: 577 | resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} 578 | hasBin: true 579 | dependencies: 580 | minimist: 1.2.6 581 | dev: true 582 | 583 | /mri/1.2.0: 584 | resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} 585 | engines: {node: '>=4'} 586 | dev: true 587 | 588 | /ms/2.1.2: 589 | resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} 590 | dev: true 591 | 592 | /nanoid/3.3.4: 593 | resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} 594 | engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} 595 | hasBin: true 596 | dev: true 597 | 598 | /normalize-path/3.0.0: 599 | resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} 600 | engines: {node: '>=0.10.0'} 601 | dev: true 602 | 603 | /once/1.4.0: 604 | resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} 605 | dependencies: 606 | wrappy: 1.0.2 607 | dev: true 608 | 609 | /parent-module/1.0.1: 610 | resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} 611 | engines: {node: '>=6'} 612 | dependencies: 613 | callsites: 3.1.0 614 | dev: true 615 | 616 | /path-is-absolute/1.0.1: 617 | resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} 618 | engines: {node: '>=0.10.0'} 619 | dev: true 620 | 621 | /path-parse/1.0.7: 622 | resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} 623 | dev: true 624 | 625 | /picocolors/1.0.0: 626 | resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} 627 | dev: true 628 | 629 | /picomatch/2.3.1: 630 | resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} 631 | engines: {node: '>=8.6'} 632 | dev: true 633 | 634 | /postcss/8.4.14: 635 | resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==} 636 | engines: {node: ^10 || ^12 || >=14} 637 | dependencies: 638 | nanoid: 3.3.4 639 | picocolors: 1.0.0 640 | source-map-js: 1.0.2 641 | dev: true 642 | 643 | /queue-microtask/1.2.3: 644 | resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} 645 | dev: true 646 | 647 | /readdirp/3.6.0: 648 | resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} 649 | engines: {node: '>=8.10.0'} 650 | dependencies: 651 | picomatch: 2.3.1 652 | dev: true 653 | 654 | /resolve-from/4.0.0: 655 | resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} 656 | engines: {node: '>=4'} 657 | dev: true 658 | 659 | /resolve/1.22.1: 660 | resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} 661 | hasBin: true 662 | dependencies: 663 | is-core-module: 2.9.0 664 | path-parse: 1.0.7 665 | supports-preserve-symlinks-flag: 1.0.0 666 | dev: true 667 | 668 | /reusify/1.0.4: 669 | resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} 670 | engines: {iojs: '>=1.0.0', node: '>=0.10.0'} 671 | dev: true 672 | 673 | /rimraf/2.7.1: 674 | resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} 675 | hasBin: true 676 | dependencies: 677 | glob: 7.2.3 678 | dev: true 679 | 680 | /rollup/2.75.7: 681 | resolution: {integrity: sha512-VSE1iy0eaAYNCxEXaleThdFXqZJ42qDBatAwrfnPlENEZ8erQ+0LYX4JXOLPceWfZpV1VtZwZ3dFCuOZiSyFtQ==} 682 | engines: {node: '>=10.0.0'} 683 | hasBin: true 684 | optionalDependencies: 685 | fsevents: 2.3.2 686 | dev: true 687 | 688 | /run-parallel/1.2.0: 689 | resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} 690 | dependencies: 691 | queue-microtask: 1.2.3 692 | dev: true 693 | 694 | /sade/1.8.1: 695 | resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} 696 | engines: {node: '>=6'} 697 | dependencies: 698 | mri: 1.2.0 699 | dev: true 700 | 701 | /sander/0.5.1: 702 | resolution: {integrity: sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA==} 703 | dependencies: 704 | es6-promise: 3.3.1 705 | graceful-fs: 4.2.10 706 | mkdirp: 0.5.6 707 | rimraf: 2.7.1 708 | dev: true 709 | 710 | /sorcery/0.10.0: 711 | resolution: {integrity: sha512-R5ocFmKZQFfSTstfOtHjJuAwbpGyf9qjQa1egyhvXSbM7emjrtLXtGdZsDJDABC85YBfVvrOiGWKSYXPKdvP1g==} 712 | hasBin: true 713 | dependencies: 714 | buffer-crc32: 0.2.13 715 | minimist: 1.2.6 716 | sander: 0.5.1 717 | sourcemap-codec: 1.4.8 718 | dev: true 719 | 720 | /source-map-js/1.0.2: 721 | resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} 722 | engines: {node: '>=0.10.0'} 723 | dev: true 724 | 725 | /sourcemap-codec/1.4.8: 726 | resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} 727 | dev: true 728 | 729 | /strip-indent/3.0.0: 730 | resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} 731 | engines: {node: '>=8'} 732 | dependencies: 733 | min-indent: 1.0.1 734 | dev: true 735 | 736 | /supports-preserve-symlinks-flag/1.0.0: 737 | resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} 738 | engines: {node: '>= 0.4'} 739 | dev: true 740 | 741 | /svelte-check/2.7.2_svelte@3.48.0: 742 | resolution: {integrity: sha512-TuVX4YtXHbRM8sVuK5Jk+mKWdm3f0d6hvAC6qCTp8yUszGZewpEBCo2V5fRWZCiz+0J4OCiDHOS+DFMxv39rJA==} 743 | hasBin: true 744 | peerDependencies: 745 | svelte: ^3.24.0 746 | dependencies: 747 | '@jridgewell/trace-mapping': 0.3.13 748 | chokidar: 3.5.3 749 | fast-glob: 3.2.11 750 | import-fresh: 3.3.0 751 | picocolors: 1.0.0 752 | sade: 1.8.1 753 | svelte: 3.48.0 754 | svelte-preprocess: 4.10.7_lvfi2wesz6u4l5rfbnetbucfmm 755 | typescript: 4.7.4 756 | transitivePeerDependencies: 757 | - '@babel/core' 758 | - coffeescript 759 | - less 760 | - node-sass 761 | - postcss 762 | - postcss-load-config 763 | - pug 764 | - sass 765 | - stylus 766 | - sugarss 767 | dev: true 768 | 769 | /svelte-hmr/0.14.12_svelte@3.48.0: 770 | resolution: {integrity: sha512-4QSW/VvXuqVcFZ+RhxiR8/newmwOCTlbYIezvkeN6302YFRE8cXy0naamHcjz8Y9Ce3ITTZtrHrIL0AGfyo61w==} 771 | engines: {node: ^12.20 || ^14.13.1 || >= 16} 772 | peerDependencies: 773 | svelte: '>=3.19.0' 774 | dependencies: 775 | svelte: 3.48.0 776 | dev: true 777 | 778 | /svelte-preprocess/4.10.7_lvfi2wesz6u4l5rfbnetbucfmm: 779 | resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==} 780 | engines: {node: '>= 9.11.2'} 781 | requiresBuild: true 782 | peerDependencies: 783 | '@babel/core': ^7.10.2 784 | coffeescript: ^2.5.1 785 | less: ^3.11.3 || ^4.0.0 786 | node-sass: '*' 787 | postcss: ^7 || ^8 788 | postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 789 | pug: ^3.0.0 790 | sass: ^1.26.8 791 | stylus: ^0.55.0 792 | sugarss: ^2.0.0 793 | svelte: ^3.23.0 794 | typescript: ^3.9.5 || ^4.0.0 795 | peerDependenciesMeta: 796 | '@babel/core': 797 | optional: true 798 | coffeescript: 799 | optional: true 800 | less: 801 | optional: true 802 | node-sass: 803 | optional: true 804 | postcss: 805 | optional: true 806 | postcss-load-config: 807 | optional: true 808 | pug: 809 | optional: true 810 | sass: 811 | optional: true 812 | stylus: 813 | optional: true 814 | sugarss: 815 | optional: true 816 | typescript: 817 | optional: true 818 | dependencies: 819 | '@types/pug': 2.0.6 820 | '@types/sass': 1.43.1 821 | detect-indent: 6.1.0 822 | magic-string: 0.25.9 823 | sorcery: 0.10.0 824 | strip-indent: 3.0.0 825 | svelte: 3.48.0 826 | typescript: 4.7.4 827 | dev: true 828 | 829 | /svelte/3.48.0: 830 | resolution: {integrity: sha512-fN2YRm/bGumvjUpu6yI3BpvZnpIm9I6A7HR4oUNYd7ggYyIwSA/BX7DJ+UXXffLp6XNcUijyLvttbPVCYa/3xQ==} 831 | engines: {node: '>= 8'} 832 | dev: true 833 | 834 | /to-regex-range/5.0.1: 835 | resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} 836 | engines: {node: '>=8.0'} 837 | dependencies: 838 | is-number: 7.0.0 839 | dev: true 840 | 841 | /tslib/2.4.0: 842 | resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} 843 | dev: true 844 | 845 | /typescript/4.7.4: 846 | resolution: {integrity: sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==} 847 | engines: {node: '>=4.2.0'} 848 | hasBin: true 849 | dev: true 850 | 851 | /vite/2.9.12: 852 | resolution: {integrity: sha512-suxC36dQo9Rq1qMB2qiRorNJtJAdxguu5TMvBHOc/F370KvqAe9t48vYp+/TbPKRNrMh/J55tOUmkuIqstZaew==} 853 | engines: {node: '>=12.2.0'} 854 | hasBin: true 855 | peerDependencies: 856 | less: '*' 857 | sass: '*' 858 | stylus: '*' 859 | peerDependenciesMeta: 860 | less: 861 | optional: true 862 | sass: 863 | optional: true 864 | stylus: 865 | optional: true 866 | dependencies: 867 | esbuild: 0.14.47 868 | postcss: 8.4.14 869 | resolve: 1.22.1 870 | rollup: 2.75.7 871 | optionalDependencies: 872 | fsevents: 2.3.2 873 | dev: true 874 | 875 | /wrappy/1.0.2: 876 | resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} 877 | dev: true 878 | -------------------------------------------------------------------------------- /web-component/example/svelte/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaltyAom/svelte-web-component/ab2042b1e26751edb28b5cbb80fdb90db7ee60ea/web-component/example/svelte/public/favicon.ico -------------------------------------------------------------------------------- /web-component/example/svelte/src/App.svelte: -------------------------------------------------------------------------------- 1 |
2 | 6 | Takodachi 7 | 8 | 9 |
10 | 11 | 25 | -------------------------------------------------------------------------------- /web-component/example/svelte/src/assets/svelte.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaltyAom/svelte-web-component/ab2042b1e26751edb28b5cbb80fdb90db7ee60ea/web-component/example/svelte/src/assets/svelte.png -------------------------------------------------------------------------------- /web-component/example/svelte/src/main.ts: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | import '@saltyaom/svelte-component' 4 | 5 | const app = new App({ 6 | target: document.getElementById('app') 7 | }) 8 | 9 | export default app 10 | -------------------------------------------------------------------------------- /web-component/example/svelte/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | -------------------------------------------------------------------------------- /web-component/example/svelte/svelte.config.js: -------------------------------------------------------------------------------- 1 | import sveltePreprocess from 'svelte-preprocess' 2 | 3 | export default { 4 | // Consult https://github.com/sveltejs/svelte-preprocess 5 | // for more information about preprocessors 6 | preprocess: sveltePreprocess() 7 | } 8 | -------------------------------------------------------------------------------- /web-component/example/svelte/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@tsconfig/svelte/tsconfig.json", 3 | "compilerOptions": { 4 | "target": "esnext", 5 | "useDefineForClassFields": true, 6 | "module": "esnext", 7 | "resolveJsonModule": true, 8 | "baseUrl": ".", 9 | /** 10 | * Typecheck JS in `.svelte` and `.js` files by default. 11 | * Disable checkJs if you'd like to use dynamic types in JS. 12 | * Note that setting allowJs false does not prevent the use 13 | * of JS in `.svelte` files. 14 | */ 15 | "allowJs": true, 16 | "checkJs": true, 17 | "isolatedModules": true 18 | }, 19 | "include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"], 20 | "references": [{ "path": "./tsconfig.node.json" }] 21 | } 22 | -------------------------------------------------------------------------------- /web-component/example/svelte/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "module": "esnext", 5 | "moduleResolution": "node" 6 | }, 7 | "include": ["vite.config.ts"] 8 | } 9 | -------------------------------------------------------------------------------- /web-component/example/svelte/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import { svelte } from '@sveltejs/vite-plugin-svelte' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [svelte()] 7 | }) 8 | -------------------------------------------------------------------------------- /web-component/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Svelte + TS + Vite App 8 | 29 | 30 | 31 |
32 | 37 | Takodachi designed by Ninomae Ina'nis 38 | 39 | 40 | 41 | 42 | 43 | 48 | Takodachi 49 | 50 | 51 | 52 |
53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /web-component/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@saltyaom/svelte-component", 3 | "main": "./dist/src/main.js", 4 | "private": true, 5 | "version": "0.0.0", 6 | "type": "module", 7 | "scripts": { 8 | "dev": "vite", 9 | "build": "vite build", 10 | "preview": "vite preview", 11 | "check": "svelte-check --tsconfig ./tsconfig.json" 12 | }, 13 | "devDependencies": { 14 | "@sveltejs/vite-plugin-svelte": "^1.0.0-next.30", 15 | "@tsconfig/svelte": "^2.0.1", 16 | "node-sass": "^7.0.1", 17 | "rollup": "^2.75.7", 18 | "rollup-plugin-visualizer": "^5.6.0", 19 | "sass": "^1.52.3", 20 | "svelte": "^3.44.0", 21 | "svelte-check": "^2.2.7", 22 | "svelte-preprocess": "^4.9.8", 23 | "tslib": "^2.3.1", 24 | "typescript": "^4.5.4", 25 | "vite": "^2.9.9", 26 | "vite-plugin-chunk-split": "^0.2.4" 27 | } 28 | } -------------------------------------------------------------------------------- /web-component/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaltyAom/svelte-web-component/ab2042b1e26751edb28b5cbb80fdb90db7ee60ea/web-component/public/favicon.ico -------------------------------------------------------------------------------- /web-component/src/assets/svelte.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaltyAom/svelte-web-component/ab2042b1e26751edb28b5cbb80fdb90db7ee60ea/web-component/src/assets/svelte.png -------------------------------------------------------------------------------- /web-component/src/lib/paper-card.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 |
10 | {#if src} 11 | 12 | {/if} 13 | 14 | {#if title} 15 |

{title}

16 | {/if} 17 | 18 |
19 |
20 | 21 | 62 | -------------------------------------------------------------------------------- /web-component/src/lib/paper-compound.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 |
9 | 10 |
11 | 12 |
13 | 14 | 29 | -------------------------------------------------------------------------------- /web-component/src/lib/paper-counter.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | {counter} 9 | 10 | 11 | 35 | -------------------------------------------------------------------------------- /web-component/src/main.ts: -------------------------------------------------------------------------------- 1 | import PaperCard from './lib/paper-card.svelte' 2 | import PaperCounter from './lib/paper-counter.svelte' 3 | import PaperCompount from './lib/paper-compound.svelte' 4 | -------------------------------------------------------------------------------- /web-component/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | -------------------------------------------------------------------------------- /web-component/svelte.config.js: -------------------------------------------------------------------------------- 1 | import sveltePreprocess from 'svelte-preprocess' 2 | 3 | export default { 4 | // Consult https://github.com/sveltejs/svelte-preprocess 5 | // for more information about preprocessors 6 | preprocess: sveltePreprocess() 7 | } 8 | -------------------------------------------------------------------------------- /web-component/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@tsconfig/svelte/tsconfig.json", 3 | "compilerOptions": { 4 | "target": "esnext", 5 | "useDefineForClassFields": true, 6 | "module": "esnext", 7 | "resolveJsonModule": true, 8 | "baseUrl": ".", 9 | /** 10 | * Typecheck JS in `.svelte` and `.js` files by default. 11 | * Disable checkJs if you'd like to use dynamic types in JS. 12 | * Note that setting allowJs false does not prevent the use 13 | * of JS in `.svelte` files. 14 | */ 15 | "allowJs": true, 16 | "checkJs": true, 17 | "isolatedModules": true 18 | }, 19 | "include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"], 20 | "references": [{ "path": "./tsconfig.node.json" }] 21 | } 22 | -------------------------------------------------------------------------------- /web-component/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "module": "esnext", 5 | "moduleResolution": "node" 6 | }, 7 | "include": ["vite.config.ts"] 8 | } 9 | -------------------------------------------------------------------------------- /web-component/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import { svelte } from '@sveltejs/vite-plugin-svelte' 3 | import { chunkSplitPlugin } from 'vite-plugin-chunk-split' 4 | 5 | import { visualizer } from 'rollup-plugin-visualizer' 6 | 7 | // https://vitejs.dev/config/ 8 | export default defineConfig({ 9 | build: { 10 | // sourcemap: true, 11 | // minify: false, 12 | commonjsOptions: {}, 13 | rollupOptions: { 14 | output: { 15 | entryFileNames: '[name].js', 16 | chunkFileNames: '[name].js' 17 | }, 18 | plugins: [ 19 | visualizer({ 20 | gzipSize: true, 21 | brotliSize: true, 22 | template: 'treemap' 23 | }) 24 | ] 25 | } 26 | }, 27 | plugins: [ 28 | svelte({ 29 | compilerOptions: { 30 | customElement: true 31 | } 32 | }), 33 | chunkSplitPlugin({ 34 | strategy: 'unbundle' 35 | }) 36 | ] 37 | }) 38 | --------------------------------------------------------------------------------