parent
							
								
									e876d03608
								
							
						
					
					
						commit
						a28ba6e146
					
				
							
								
								
									
										1
									
								
								components.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								components.d.ts
									
									
									
									
										vendored
									
									
								
							| @ -107,6 +107,7 @@ declare module '@vue/runtime-core' { | ||||
|     Ipv4SubnetCalculator: typeof import('./src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue')['default'] | ||||
|     Ipv6UlaGenerator: typeof import('./src/tools/ipv6-ula-generator/ipv6-ula-generator.vue')['default'] | ||||
|     JsonDiff: typeof import('./src/tools/json-diff/json-diff.vue')['default'] | ||||
|     JsonEditor: typeof import('./src/tools/json-editor/json-editor.vue')['default'] | ||||
|     JsonMinify: typeof import('./src/tools/json-minify/json-minify.vue')['default'] | ||||
|     JsonToCsv: typeof import('./src/tools/json-to-csv/json-to-csv.vue')['default'] | ||||
|     JsonToToml: typeof import('./src/tools/json-to-toml/json-to-toml.vue')['default'] | ||||
|  | ||||
| @ -37,6 +37,7 @@ | ||||
|   "dependencies": { | ||||
|     "@it-tools/bip39": "^0.0.4", | ||||
|     "@it-tools/oggen": "^1.3.0", | ||||
|     "@originjs/vite-plugin-commonjs": "^1.0.3", | ||||
|     "@sindresorhus/slugify": "^2.2.1", | ||||
|     "@tiptap/pm": "2.1.6", | ||||
|     "@tiptap/starter-kit": "2.1.6", | ||||
| @ -64,6 +65,7 @@ | ||||
|     "highlight.js": "^11.7.0", | ||||
|     "iarna-toml-esm": "^3.0.5", | ||||
|     "ibantools": "^4.3.3", | ||||
|     "json-editor-vue3": "^1.1.1", | ||||
|     "json5": "^2.2.3", | ||||
|     "jwt-decode": "^3.1.2", | ||||
|     "libphonenumber-js": "^1.10.28", | ||||
|  | ||||
							
								
								
									
										316
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										316
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							| @ -11,6 +11,9 @@ dependencies: | ||||
|   '@it-tools/oggen': | ||||
|     specifier: ^1.3.0 | ||||
|     version: 1.3.0 | ||||
|   '@originjs/vite-plugin-commonjs': | ||||
|     specifier: ^1.0.3 | ||||
|     version: 1.0.3 | ||||
|   '@sindresorhus/slugify': | ||||
|     specifier: ^2.2.1 | ||||
|     version: 2.2.1 | ||||
| @ -92,6 +95,9 @@ dependencies: | ||||
|   ibantools: | ||||
|     specifier: ^4.3.3 | ||||
|     version: 4.3.3 | ||||
|   json-editor-vue3: | ||||
|     specifier: ^1.1.1 | ||||
|     version: 1.1.1 | ||||
|   json5: | ||||
|     specifier: ^2.2.3 | ||||
|     version: 2.2.3 | ||||
| @ -432,13 +438,13 @@ packages: | ||||
|     resolution: {integrity: sha512-pvFiLP2BeOKA/ZOS6jxx4XhKzdVLHDhGlFEaZ2flWWYf2xOqVniqpk38I04DFRyz+L0ASggl7SkItTc+ZLju4w==} | ||||
|     dev: true | ||||
| 
 | ||||
|   /@apideck/better-ajv-errors@0.3.6(ajv@8.12.0): | ||||
|   /@apideck/better-ajv-errors@0.3.6(ajv@8.13.0): | ||||
|     resolution: {integrity: sha512-P+ZygBLZtkp0qqOAJJVX4oX/sFo5JR3eBWwwuqHHhK0GIgQOKWrAfiAaWX0aArHkRWHMuggFEgAZNxVPwPZYaA==} | ||||
|     engines: {node: '>=10'} | ||||
|     peerDependencies: | ||||
|       ajv: '>=8' | ||||
|     dependencies: | ||||
|       ajv: 8.12.0 | ||||
|       ajv: 8.13.0 | ||||
|       json-schema: 0.4.0 | ||||
|       jsonpointer: 5.0.1 | ||||
|       leven: 3.1.0 | ||||
| @ -2005,6 +2011,15 @@ packages: | ||||
|     dev: true | ||||
|     optional: true | ||||
| 
 | ||||
|   /@esbuild/linux-loong64@0.14.54: | ||||
|     resolution: {integrity: sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [loong64] | ||||
|     os: [linux] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /@esbuild/linux-loong64@0.18.20: | ||||
|     resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==} | ||||
|     engines: {node: '>=12'} | ||||
| @ -2435,6 +2450,12 @@ packages: | ||||
|       '@nodelib/fs.scandir': 2.1.5 | ||||
|       fastq: 1.15.0 | ||||
| 
 | ||||
|   /@originjs/vite-plugin-commonjs@1.0.3: | ||||
|     resolution: {integrity: sha512-KuEXeGPptM2lyxdIEJ4R11+5ztipHoE7hy8ClZt3PYaOVQ/pyngd2alaSrPnwyFeOW1UagRBaQ752aA1dTMdOQ==} | ||||
|     dependencies: | ||||
|       esbuild: 0.14.54 | ||||
|     dev: false | ||||
| 
 | ||||
|   /@pkgr/utils@2.3.1: | ||||
|     resolution: {integrity: sha512-wfzX8kc1PMyUILA+1Z/EqoE4UCXGy0iRGMhPwdfae1+f0OXlLqCk+By+aMzgJBzR9AzS4CDizioG6Ss1gvAFJw==} | ||||
|     engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} | ||||
| @ -2605,6 +2626,10 @@ packages: | ||||
|       escape-string-regexp: 5.0.0 | ||||
|     dev: false | ||||
| 
 | ||||
|   /@sphinxxxx/color-conversion@2.2.2: | ||||
|     resolution: {integrity: sha512-XExJS3cLqgrmNBIP3bBw6+1oQ1ksGjFh0+oClDKFYpCCqx/hlqwWO5KO/S63fzUo67SxI9dMrF0y5T/Ey7h8Zw==} | ||||
|     dev: false | ||||
| 
 | ||||
|   /@surma/rollup-plugin-off-main-thread@2.2.3: | ||||
|     resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==} | ||||
|     dependencies: | ||||
| @ -3351,7 +3376,7 @@ packages: | ||||
|     dependencies: | ||||
|       '@unhead/dom': 0.5.1 | ||||
|       '@unhead/schema': 0.5.1 | ||||
|       '@vueuse/shared': 10.7.2(vue@3.3.4) | ||||
|       '@vueuse/shared': 10.9.0(vue@3.3.4) | ||||
|       unhead: 0.5.1 | ||||
|       vue: 3.3.4 | ||||
|     transitivePeerDependencies: | ||||
| @ -3993,10 +4018,10 @@ packages: | ||||
|       - vue | ||||
|     dev: false | ||||
| 
 | ||||
|   /@vueuse/shared@10.7.2(vue@3.3.4): | ||||
|     resolution: {integrity: sha512-qFbXoxS44pi2FkgFjPvF4h7c9oMDutpyBdcJdMYIMg9XyXli2meFMuaKn+UMgsClo//Th6+beeCgqweT/79BVA==} | ||||
|   /@vueuse/shared@10.9.0(vue@3.3.4): | ||||
|     resolution: {integrity: sha512-Uud2IWncmAfJvRaFYzv5OHDli+FbOzxiVEQdLCKQKLyhz94PIyFC3CHcH7EDMwIn8NPtD06+PNbC/PiO0LGLtw==} | ||||
|     dependencies: | ||||
|       vue-demi: 0.14.6(vue@3.3.4) | ||||
|       vue-demi: 0.14.7(vue@3.3.4) | ||||
|     transitivePeerDependencies: | ||||
|       - '@vue/composition-api' | ||||
|       - vue | ||||
| @ -4014,6 +4039,10 @@ packages: | ||||
|     resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} | ||||
|     dev: true | ||||
| 
 | ||||
|   /ace-builds@1.33.2: | ||||
|     resolution: {integrity: sha512-uDqCe+XDIdnADaDrA8o+x+qAfbM6uqyDQ43QcE6qC7zBPTvQSMOSPcXW+HvjZhEc2YbVYSaxXJX1qQKPgYqi5w==} | ||||
|     dev: false | ||||
| 
 | ||||
|   /acorn-jsx@5.3.2(acorn@8.10.0): | ||||
|     resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} | ||||
|     peerDependencies: | ||||
| @ -4058,10 +4087,9 @@ packages: | ||||
|       fast-json-stable-stringify: 2.1.0 | ||||
|       json-schema-traverse: 0.4.1 | ||||
|       uri-js: 4.4.1 | ||||
|     dev: true | ||||
| 
 | ||||
|   /ajv@8.12.0: | ||||
|     resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} | ||||
|   /ajv@8.13.0: | ||||
|     resolution: {integrity: sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==} | ||||
|     dependencies: | ||||
|       fast-deep-equal: 3.1.3 | ||||
|       json-schema-traverse: 1.0.0 | ||||
| @ -5080,6 +5108,215 @@ packages: | ||||
|       is-symbol: 1.0.4 | ||||
|     dev: true | ||||
| 
 | ||||
|   /esbuild-android-64@0.14.54: | ||||
|     resolution: {integrity: sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [x64] | ||||
|     os: [android] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-android-arm64@0.14.54: | ||||
|     resolution: {integrity: sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [arm64] | ||||
|     os: [android] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-darwin-64@0.14.54: | ||||
|     resolution: {integrity: sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [x64] | ||||
|     os: [darwin] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-darwin-arm64@0.14.54: | ||||
|     resolution: {integrity: sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [arm64] | ||||
|     os: [darwin] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-freebsd-64@0.14.54: | ||||
|     resolution: {integrity: sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [x64] | ||||
|     os: [freebsd] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-freebsd-arm64@0.14.54: | ||||
|     resolution: {integrity: sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [arm64] | ||||
|     os: [freebsd] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-linux-32@0.14.54: | ||||
|     resolution: {integrity: sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [ia32] | ||||
|     os: [linux] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-linux-64@0.14.54: | ||||
|     resolution: {integrity: sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [x64] | ||||
|     os: [linux] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-linux-arm64@0.14.54: | ||||
|     resolution: {integrity: sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [arm64] | ||||
|     os: [linux] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-linux-arm@0.14.54: | ||||
|     resolution: {integrity: sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [arm] | ||||
|     os: [linux] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-linux-mips64le@0.14.54: | ||||
|     resolution: {integrity: sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [mips64el] | ||||
|     os: [linux] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-linux-ppc64le@0.14.54: | ||||
|     resolution: {integrity: sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [ppc64] | ||||
|     os: [linux] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-linux-riscv64@0.14.54: | ||||
|     resolution: {integrity: sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [riscv64] | ||||
|     os: [linux] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-linux-s390x@0.14.54: | ||||
|     resolution: {integrity: sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [s390x] | ||||
|     os: [linux] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-netbsd-64@0.14.54: | ||||
|     resolution: {integrity: sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [x64] | ||||
|     os: [netbsd] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-openbsd-64@0.14.54: | ||||
|     resolution: {integrity: sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [x64] | ||||
|     os: [openbsd] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-sunos-64@0.14.54: | ||||
|     resolution: {integrity: sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [x64] | ||||
|     os: [sunos] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-windows-32@0.14.54: | ||||
|     resolution: {integrity: sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [ia32] | ||||
|     os: [win32] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-windows-64@0.14.54: | ||||
|     resolution: {integrity: sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [x64] | ||||
|     os: [win32] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild-windows-arm64@0.14.54: | ||||
|     resolution: {integrity: sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg==} | ||||
|     engines: {node: '>=12'} | ||||
|     cpu: [arm64] | ||||
|     os: [win32] | ||||
|     requiresBuild: true | ||||
|     dev: false | ||||
|     optional: true | ||||
| 
 | ||||
|   /esbuild@0.14.54: | ||||
|     resolution: {integrity: sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA==} | ||||
|     engines: {node: '>=12'} | ||||
|     hasBin: true | ||||
|     requiresBuild: true | ||||
|     optionalDependencies: | ||||
|       '@esbuild/linux-loong64': 0.14.54 | ||||
|       esbuild-android-64: 0.14.54 | ||||
|       esbuild-android-arm64: 0.14.54 | ||||
|       esbuild-darwin-64: 0.14.54 | ||||
|       esbuild-darwin-arm64: 0.14.54 | ||||
|       esbuild-freebsd-64: 0.14.54 | ||||
|       esbuild-freebsd-arm64: 0.14.54 | ||||
|       esbuild-linux-32: 0.14.54 | ||||
|       esbuild-linux-64: 0.14.54 | ||||
|       esbuild-linux-arm: 0.14.54 | ||||
|       esbuild-linux-arm64: 0.14.54 | ||||
|       esbuild-linux-mips64le: 0.14.54 | ||||
|       esbuild-linux-ppc64le: 0.14.54 | ||||
|       esbuild-linux-riscv64: 0.14.54 | ||||
|       esbuild-linux-s390x: 0.14.54 | ||||
|       esbuild-netbsd-64: 0.14.54 | ||||
|       esbuild-openbsd-64: 0.14.54 | ||||
|       esbuild-sunos-64: 0.14.54 | ||||
|       esbuild-windows-32: 0.14.54 | ||||
|       esbuild-windows-64: 0.14.54 | ||||
|       esbuild-windows-arm64: 0.14.54 | ||||
|     dev: false | ||||
| 
 | ||||
|   /esbuild@0.18.20: | ||||
|     resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==} | ||||
|     engines: {node: '>=12'} | ||||
| @ -5576,7 +5813,6 @@ packages: | ||||
| 
 | ||||
|   /fast-json-stable-stringify@2.1.0: | ||||
|     resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} | ||||
|     dev: true | ||||
| 
 | ||||
|   /fast-levenshtein@2.0.6: | ||||
|     resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} | ||||
| @ -6472,6 +6708,11 @@ packages: | ||||
|     hasBin: true | ||||
|     dev: true | ||||
| 
 | ||||
|   /jmespath@0.16.0: | ||||
|     resolution: {integrity: sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==} | ||||
|     engines: {node: '>= 0.6.0'} | ||||
|     dev: false | ||||
| 
 | ||||
|   /js-beautify@1.14.6: | ||||
|     resolution: {integrity: sha512-GfofQY5zDp+cuHc+gsEXKPpNw2KbPddreEo35O6jT6i0RVK6LhsoYBhq5TvK4/n74wnA0QbK8gGd+jUZwTMKJw==} | ||||
|     engines: {node: '>=10'} | ||||
| @ -6561,13 +6802,18 @@ packages: | ||||
|     hasBin: true | ||||
|     dev: true | ||||
| 
 | ||||
|   /json-editor-vue3@1.1.1: | ||||
|     resolution: {integrity: sha512-3qslVNZAY+roVfL10ukuaAw1ia9YpWdLO9PnBL+4SuM5a6R3oWCSQU6dLTTPd/dVtqhIefNn4QmthAioYOBHeA==} | ||||
|     dependencies: | ||||
|       jsoneditor: 9.10.5 | ||||
|     dev: false | ||||
| 
 | ||||
|   /json-parse-even-better-errors@2.3.1: | ||||
|     resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} | ||||
|     dev: true | ||||
| 
 | ||||
|   /json-schema-traverse@0.4.1: | ||||
|     resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} | ||||
|     dev: true | ||||
| 
 | ||||
|   /json-schema-traverse@1.0.0: | ||||
|     resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} | ||||
| @ -6577,6 +6823,10 @@ packages: | ||||
|     resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==} | ||||
|     dev: true | ||||
| 
 | ||||
|   /json-source-map@0.6.1: | ||||
|     resolution: {integrity: sha512-1QoztHPsMQqhDq0hlXY5ZqcEdUzxQEIxgFkKl4WUp2pgShObl+9ovi4kRh2TfvAfxAoHOJ9vIMEqk3k4iex7tg==} | ||||
|     dev: false | ||||
| 
 | ||||
|   /json-stable-stringify-without-jsonify@1.0.1: | ||||
|     resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} | ||||
|     dev: true | ||||
| @ -6598,6 +6848,20 @@ packages: | ||||
|   /jsonc-parser@3.2.0: | ||||
|     resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} | ||||
| 
 | ||||
|   /jsoneditor@9.10.5: | ||||
|     resolution: {integrity: sha512-fVZ0NMt+zm4rqTKBv2x7zPdLeaRyKo1EjJkaR1QjK4gEM1rMwICILYSW1OPxSc1qqyAoDaA/eeNrluKoxOocCA==} | ||||
|     dependencies: | ||||
|       ace-builds: 1.33.2 | ||||
|       ajv: 6.12.6 | ||||
|       javascript-natural-sort: 0.7.1 | ||||
|       jmespath: 0.16.0 | ||||
|       json-source-map: 0.6.1 | ||||
|       jsonrepair: 3.1.0 | ||||
|       mobius1-selectr: 2.4.13 | ||||
|       picomodal: 3.0.0 | ||||
|       vanilla-picker: 2.12.3 | ||||
|     dev: false | ||||
| 
 | ||||
|   /jsonfile@6.1.0: | ||||
|     resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} | ||||
|     dependencies: | ||||
| @ -6611,6 +6875,11 @@ packages: | ||||
|     engines: {node: '>=0.10.0'} | ||||
|     dev: true | ||||
| 
 | ||||
|   /jsonrepair@3.1.0: | ||||
|     resolution: {integrity: sha512-idqReg23J0PVRAADmZMc5xQM3xeOX5bTB6OTyMnzq33IXJXmn9iJuWIEvGmrN80rQf4d7uLTMEDwpzujNcI0Rg==} | ||||
|     hasBin: true | ||||
|     dev: false | ||||
| 
 | ||||
|   /jwt-decode@3.1.2: | ||||
|     resolution: {integrity: sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==} | ||||
|     dev: false | ||||
| @ -6943,6 +7212,10 @@ packages: | ||||
|       pkg-types: 1.0.3 | ||||
|       ufo: 1.3.1 | ||||
| 
 | ||||
|   /mobius1-selectr@2.4.13: | ||||
|     resolution: {integrity: sha512-Mk9qDrvU44UUL0EBhbAA1phfQZ7aMZPjwtL7wkpiBzGh8dETGqfsh50mWoX9EkjDlkONlErWXArHCKfoxVg0Bw==} | ||||
|     dev: false | ||||
| 
 | ||||
|   /monaco-editor@0.43.0: | ||||
|     resolution: {integrity: sha512-cnoqwQi/9fml2Szamv1XbSJieGJ1Dc8tENVMD26Kcfl7xGQWp7OBKMjlwKVGYFJ3/AXJjSOGvcqK7Ry/j9BM1Q==} | ||||
|     dev: false | ||||
| @ -7377,6 +7650,10 @@ packages: | ||||
|     resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} | ||||
|     engines: {node: '>=8.6'} | ||||
| 
 | ||||
|   /picomodal@3.0.0: | ||||
|     resolution: {integrity: sha512-FoR3TDfuLlqUvcEeK5ifpKSVVns6B4BQvc8SDF6THVMuadya6LLtji0QgUDSStw0ZR2J7I6UGi5V2V23rnPWTw==} | ||||
|     dev: false | ||||
| 
 | ||||
|   /pify@4.0.1: | ||||
|     resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} | ||||
|     engines: {node: '>=6'} | ||||
| @ -7666,7 +7943,6 @@ packages: | ||||
|   /punycode@2.3.0: | ||||
|     resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} | ||||
|     engines: {node: '>=6'} | ||||
|     dev: true | ||||
| 
 | ||||
|   /punycode@2.3.1: | ||||
|     resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} | ||||
| @ -8913,7 +9189,6 @@ packages: | ||||
|     resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} | ||||
|     dependencies: | ||||
|       punycode: 2.3.0 | ||||
|     dev: true | ||||
| 
 | ||||
|   /url-parse@1.5.10: | ||||
|     resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} | ||||
| @ -8937,6 +9212,12 @@ packages: | ||||
|       spdx-expression-parse: 3.0.1 | ||||
|     dev: true | ||||
| 
 | ||||
|   /vanilla-picker@2.12.3: | ||||
|     resolution: {integrity: sha512-qVkT1E7yMbUsB2mmJNFmaXMWE2hF8ffqzMMwe9zdAikd8u2VfnsVY2HQcOUi2F38bgbxzlJBEdS1UUhOXdF9GQ==} | ||||
|     dependencies: | ||||
|       '@sphinxxxx/color-conversion': 2.2.2 | ||||
|     dev: false | ||||
| 
 | ||||
|   /vdirs@0.1.8(vue@3.3.4): | ||||
|     resolution: {integrity: sha512-H9V1zGRLQZg9b+GdMk8MXDN2Lva0zx72MPahDKc30v+DtwKjfyOSXWRIX4t2mhDubM1H09gPhWeth/BJWPHGUw==} | ||||
|     peerDependencies: | ||||
| @ -9151,8 +9432,8 @@ packages: | ||||
|       vue: 3.3.4 | ||||
|     dev: false | ||||
| 
 | ||||
|   /vue-demi@0.14.6(vue@3.3.4): | ||||
|     resolution: {integrity: sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==} | ||||
|   /vue-demi@0.14.7(vue@3.3.4): | ||||
|     resolution: {integrity: sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==} | ||||
|     engines: {node: '>=12'} | ||||
|     hasBin: true | ||||
|     requiresBuild: true | ||||
| @ -9381,7 +9662,7 @@ packages: | ||||
|     resolution: {integrity: sha512-CttE7WCYW9sZC+nUYhQg3WzzGPr4IHmrPnjKiu3AMXsiNQKx+l4hHl63WTrnicLmKEKHScWDH8xsGBdrYgtBzg==} | ||||
|     engines: {node: '>=16.0.0'} | ||||
|     dependencies: | ||||
|       '@apideck/better-ajv-errors': 0.3.6(ajv@8.12.0) | ||||
|       '@apideck/better-ajv-errors': 0.3.6(ajv@8.13.0) | ||||
|       '@babel/core': 7.23.2 | ||||
|       '@babel/preset-env': 7.23.2(@babel/core@7.23.2) | ||||
|       '@babel/runtime': 7.23.2 | ||||
| @ -9389,7 +9670,7 @@ packages: | ||||
|       '@rollup/plugin-node-resolve': 11.2.1(rollup@2.79.1) | ||||
|       '@rollup/plugin-replace': 2.4.2(rollup@2.79.1) | ||||
|       '@surma/rollup-plugin-off-main-thread': 2.2.3 | ||||
|       ajv: 8.12.0 | ||||
|       ajv: 8.13.0 | ||||
|       common-tags: 1.8.2 | ||||
|       fast-json-stable-stringify: 2.1.0 | ||||
|       fs-extra: 9.1.0 | ||||
| @ -9442,6 +9723,7 @@ packages: | ||||
| 
 | ||||
|   /workbox-google-analytics@7.0.0: | ||||
|     resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==} | ||||
|     deprecated: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained | ||||
|     dependencies: | ||||
|       workbox-background-sync: 7.0.0 | ||||
|       workbox-core: 7.0.0 | ||||
|  | ||||
| @ -1,6 +1,7 @@ | ||||
| import { tool as base64FileConverter } from './base64-file-converter'; | ||||
| import { tool as base64StringConverter } from './base64-string-converter'; | ||||
| import { tool as basicAuthGenerator } from './basic-auth-generator'; | ||||
| import { tool as jsonEditor } from './json-editor'; | ||||
| 
 | ||||
| import { tool as asciiTextDrawer } from './ascii-text-drawer'; | ||||
| 
 | ||||
| @ -148,6 +149,7 @@ export const toolsByCategory: ToolCategory[] = [ | ||||
|       dockerRunToDockerComposeConverter, | ||||
|       xmlFormatter, | ||||
|       yamlViewer, | ||||
|       jsonEditor, | ||||
|     ], | ||||
|   }, | ||||
|   { | ||||
|  | ||||
							
								
								
									
										12
									
								
								src/tools/json-editor/index.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								src/tools/json-editor/index.ts
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,12 @@ | ||||
| import { Braces } from '@vicons/tabler'; | ||||
| import { defineTool } from '../tool'; | ||||
| 
 | ||||
| export const tool = defineTool({ | ||||
|   name: 'JSON Editor', | ||||
|   path: '/json-editor', | ||||
|   description: 'Edit JSON content', | ||||
|   keywords: ['json', 'editor'], | ||||
|   component: () => import('./json-editor.vue'), | ||||
|   icon: Braces, | ||||
|   createdAt: new Date('2024-05-11'), | ||||
| }); | ||||
							
								
								
									
										3
									
								
								src/tools/json-editor/json-editor-vue3.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								src/tools/json-editor/json-editor-vue3.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | ||||
| declare module 'json-editor-vue3'{ | ||||
|      | ||||
| } | ||||
							
								
								
									
										22
									
								
								src/tools/json-editor/json-editor.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								src/tools/json-editor/json-editor.vue
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | ||||
| <script setup lang="ts"> | ||||
| import JsonEditorVue from 'json-editor-vue3'; | ||||
| import { withDefaultOnError } from '@/utils/defaults'; | ||||
| 
 | ||||
| const jsonData = ref({ array: [1, 2, 3] }); | ||||
| const jsonText = computed(() => withDefaultOnError(() => JSON.stringify(jsonData.value, null, 2), '')); | ||||
| </script> | ||||
| 
 | ||||
| <template> | ||||
|   <div> | ||||
|     <JsonEditorVue | ||||
|       v-model="jsonData" | ||||
|       mode="text" | ||||
|     /> | ||||
| 
 | ||||
|     <n-divider /> | ||||
| 
 | ||||
|     <n-form-item label="Your edited JSON:"> | ||||
|       <textarea-copyable :value="jsonText" language="json" /> | ||||
|     </n-form-item> | ||||
|   </div> | ||||
| </template> | ||||
| @ -15,6 +15,7 @@ import { VitePWA } from 'vite-plugin-pwa'; | ||||
| import markdown from 'vite-plugin-vue-markdown'; | ||||
| import svgLoader from 'vite-svg-loader'; | ||||
| import { configDefaults } from 'vitest/config'; | ||||
| import { viteCommonjs } from '@originjs/vite-plugin-commonjs'; | ||||
| 
 | ||||
| const baseUrl = process.env.BASE_URL ?? '/'; | ||||
| 
 | ||||
| @ -97,6 +98,9 @@ export default defineConfig({ | ||||
|       resolvers: [NaiveUiResolver(), IconsResolver({ prefix: 'icon' })], | ||||
|     }), | ||||
|     Unocss(), | ||||
|     viteCommonjs({ | ||||
|       include: ['jsoneditor'], | ||||
|     }), | ||||
|   ], | ||||
|   base: baseUrl, | ||||
|   resolve: { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user