diff --git a/app.go b/app.go index a1c829d8..1ab3e522 100644 --- a/app.go +++ b/app.go @@ -18,10 +18,14 @@ package main import ( "context" + "errors" "github.com/op/go-logging" + "github.com/skratchdot/open-golang/open" "github.com/terasum/medict/internal/entry" + "github.com/terasum/medict/internal/utils" "github.com/terasum/medict/pkg/backserver" "github.com/terasum/medict/pkg/model" + "go.etcd.io/etcd/client/pkg/v3/fileutil" ) var log = logging.MustGetLogger("default") @@ -100,3 +104,25 @@ func (b *App) Dispatch(apiName string, args map[string]interface{}) *model.Resp func (b *App) ResourceServerAddr() string { return b.bs.StaticServerBaseUrl() } + +func (b *App) OpenFinder(filepath string) error { + if !fileutil.Exist(filepath) { + return errors.New("file path not exist, cannot open") + } + err := open.Run(filepath) + if err != nil { + return err + } + return nil +} + +func (b *App) BaseDictDir() string { + if b.bs == nil { + return "internal error" + } + f, e := utils.ReplaceHome(b.bs.Config.BaseDictDir) + if e != nil { + return "internal error" + } + return f +} diff --git a/frontend/package.json b/frontend/package.json index 2232ae33..ed89183c 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -7,6 +7,7 @@ "build": "vite build", "preview": "vite preview" }, + "type": "module", "dependencies": { "axios": "^0.21.4", "normalize.css": "^8.0.1", @@ -23,11 +24,17 @@ "@vicons/fa": "^0.12.0", "@vicons/fluent": "^0.12.0", "@vicons/tabler": "^0.12.0", - "@vitejs/plugin-vue": "^3.2.0", + "@vitejs/plugin-vue": "^4.3.4", "@vue/compiler-sfc": "^3.3.4", + "@yankeeinlondon/code-builder": "^1.2.1", + "highlight.js": "^11.8.0", + "markdown-it": "^13.0.1", + "markdown-it-prism": "^2.3.0", "naive-ui": "^2.34.4", "sass": "^1.66.1", "vfonts": "^0.0.3", - "vite": "^3.2.7" + "vite": "^4.4.9", + "vite-plugin-inspect": "^0.7.38", + "vite-plugin-md": "^0.21.5" } } \ No newline at end of file diff --git a/frontend/package.json.md5 b/frontend/package.json.md5 index abb706bc..164d4e1f 100755 --- a/frontend/package.json.md5 +++ b/frontend/package.json.md5 @@ -1 +1 @@ -a4a4cf1bcccbecd9e93f8fc6306287d5 \ No newline at end of file +6ac352e94d40d91fd4abca1a60b8b4f0 \ No newline at end of file diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 5a429f56..7de8f720 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -47,11 +47,23 @@ devDependencies: specifier: ^0.12.0 version: 0.12.0 '@vitejs/plugin-vue': - specifier: ^3.2.0 - version: 3.2.0(vite@3.2.7)(vue@3.3.4) + specifier: ^4.3.4 + version: 4.3.4(vite@4.4.9)(vue@3.3.4) '@vue/compiler-sfc': specifier: ^3.3.4 version: 3.3.4 + '@yankeeinlondon/code-builder': + specifier: ^1.2.1 + version: 1.2.1(@vitejs/plugin-vue@4.3.4)(sass@1.66.1)(vite@4.4.9) + highlight.js: + specifier: ^11.8.0 + version: 11.8.0 + markdown-it: + specifier: ^13.0.1 + version: 13.0.1 + markdown-it-prism: + specifier: ^2.3.0 + version: 2.3.0 naive-ui: specifier: ^2.34.4 version: 2.34.4(vue@3.3.4) @@ -62,11 +74,36 @@ devDependencies: specifier: ^0.0.3 version: 0.0.3 vite: - specifier: ^3.2.7 - version: 3.2.7(sass@1.66.1) + specifier: ^4.4.9 + version: 4.4.9(@types/node@20.6.2)(sass@1.66.1) + vite-plugin-inspect: + specifier: ^0.7.38 + version: 0.7.38(vite@4.4.9) + vite-plugin-md: + specifier: ^0.21.5 + version: 0.21.5(@vitejs/plugin-vue@4.3.4)(sass@1.66.1)(vite@4.4.9) packages: + /@ampproject/remapping@2.2.1: + resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} + engines: {node: '>=6.0.0'} + dependencies: + '@jridgewell/gen-mapping': 0.3.3 + '@jridgewell/trace-mapping': 0.3.19 + dev: true + + /@antfu/install-pkg@0.1.1: + resolution: {integrity: sha512-LyB/8+bSfa0DFGC06zpCEfs89/XoWZwws5ygEa5D+Xsm3OfI+aXQ86VgVG7Acyef+rSZ5HE7J8rrxzrQeM3PjQ==} + dependencies: + execa: r2.cnpmjs.org/execa@5.1.1 + find-up: r2.cnpmjs.org/find-up@5.0.0 + dev: true + + /@antfu/utils@0.7.6: + resolution: {integrity: sha512-pvFiLP2BeOKA/ZOS6jxx4XhKzdVLHDhGlFEaZ2flWWYf2xOqVniqpk38I04DFRyz+L0ASggl7SkItTc+ZLju4w==} + dev: true + /@babel/helper-string-parser@7.22.5: resolution: {integrity: sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==} engines: {node: '>=6.9.0'} @@ -113,8 +150,17 @@ packages: vue: 3.3.4 dev: true - /@esbuild/android-arm@0.15.18: - resolution: {integrity: sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw==} + /@esbuild/android-arm64@0.18.20: + resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-arm@0.18.20: + resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==} engines: {node: '>=12'} cpu: [arm] os: [android] @@ -122,8 +168,80 @@ packages: dev: true optional: true - /@esbuild/linux-loong64@0.15.18: - resolution: {integrity: sha512-L4jVKS82XVhw2nvzLg/19ClLWg0y27ulRwuP7lcyL6AbUWB5aPglXY3M21mauDQMDfRLs8cQmeT03r/+X3cZYQ==} + /@esbuild/android-x64@0.18.20: + resolution: {integrity: sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-arm64@0.18.20: + resolution: {integrity: sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-x64@0.18.20: + resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-arm64@0.18.20: + resolution: {integrity: sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-x64@0.18.20: + resolution: {integrity: sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm64@0.18.20: + resolution: {integrity: sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm@0.18.20: + resolution: {integrity: sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ia32@0.18.20: + resolution: {integrity: sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64@0.18.20: + resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==} engines: {node: '>=12'} cpu: [loong64] os: [linux] @@ -131,13 +249,159 @@ packages: dev: true optional: true + /@esbuild/linux-mips64el@0.18.20: + resolution: {integrity: sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ppc64@0.18.20: + resolution: {integrity: sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-riscv64@0.18.20: + resolution: {integrity: sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-s390x@0.18.20: + resolution: {integrity: sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-x64@0.18.20: + resolution: {integrity: sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/netbsd-x64@0.18.20: + resolution: {integrity: sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/openbsd-x64@0.18.20: + resolution: {integrity: sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/sunos-x64@0.18.20: + resolution: {integrity: sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-arm64@0.18.20: + resolution: {integrity: sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-ia32@0.18.20: + resolution: {integrity: sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-x64@0.18.20: + resolution: {integrity: sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@iconify/types@2.0.0: + resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} + dev: true + + /@iconify/utils@2.1.10: + resolution: {integrity: sha512-0/+5hxjzCZ9RoYpqxnOzbnpQyMdZRuHcMxPJeuX+x/aZkAAD/N4TajDjAPT7LpX+M0bfLExj/p0bbDkUfp0lrg==} + dependencies: + '@antfu/install-pkg': 0.1.1 + '@antfu/utils': 0.7.6 + '@iconify/types': 2.0.0 + debug: 4.3.4 + kolorist: 1.8.0 + local-pkg: 0.4.3 + transitivePeerDependencies: + - supports-color + dev: true + + /@jridgewell/gen-mapping@0.3.3: + resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} + engines: {node: '>=6.0.0'} + dependencies: + '@jridgewell/set-array': 1.1.2 + '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/trace-mapping': 0.3.19 + dev: true + + /@jridgewell/resolve-uri@3.1.1: + resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} + engines: {node: '>=6.0.0'} + dev: true + + /@jridgewell/set-array@1.1.2: + resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} + engines: {node: '>=6.0.0'} + dev: true + /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + /@jridgewell/trace-mapping@0.3.19: + resolution: {integrity: sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==} + dependencies: + '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true + /@juggle/resize-observer@3.4.0: resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==} dev: true + /@polka/url@1.0.0-next.23: + resolution: {integrity: sha512-C16M+IYz0rgRhWZdCmK+h58JMv8vijAA61gmz2rspCSwKwzBebpdcsiUmwrtJRdphuY30i6BSLEOP8ppbNLyLg==} + dev: true + /@rollup/plugin-alias@5.0.0: resolution: {integrity: sha512-l9hY5chSCjuFRPsnRm16twWBiSApl2uYFLsepQYwtBuAxNMQ/1dJqADld40P0Jkqm65GRTLy/AC6hnpVebtLsA==} engines: {node: '>=14.0.0'} @@ -150,10 +414,36 @@ packages: slash: r2.cnpmjs.org/slash@4.0.0 dev: true + /@rollup/pluginutils@5.0.4: + resolution: {integrity: sha512-0KJnIoRI8A+a1dqOYLxH8vBf8bphDmty5QvIm2hqm7oFCFYKCAZWWd2hXgMibaPsNDhI0AtpYfQZJG47pt/k4g==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@types/estree': 1.0.1 + estree-walker: r2.cnpmjs.org/estree-walker@2.0.2 + picomatch: 2.3.1 + dev: true + + /@types/chai@4.3.6: + resolution: {integrity: sha512-VOVRLM1mBxIRxydiViqPcKn6MIxZytrbMpd6RJLIWKxUNr3zux8no0Oc7kJx0WAPIitgZ0gkrDS+btlqQpubpw==} + dev: true + + /@types/estree@1.0.1: + resolution: {integrity: sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==} + dev: true + /@types/katex@0.14.0: resolution: {integrity: sha512-+2FW2CcT0K3P+JMR8YG846bmDwplKUTsWgT2ENwdQ1UdVfRk3GQrh6Mi4sTopy30gI8Uau5CEqHTDZ6YvWIUPA==} dev: true + /@types/linkify-it@3.0.3: + resolution: {integrity: sha512-pTjcqY9E4nOI55Wgpz7eiI8+LzdYnw3qxXCfHyBDdPbYvbyLgWLJGh8EdPvqawwMK1Uo1794AUkkR38Fr0g+2g==} + dev: true + /@types/lodash-es@4.17.9: resolution: {integrity: sha512-ZTcmhiI3NNU7dEvWLZJkzG6ao49zOIjEgIE0RgV7wbPxU0f2xT3VSAHw2gmst8swH6V0YkLRGp4qPlX/6I90MQ==} dependencies: @@ -164,6 +454,169 @@ packages: resolution: {integrity: sha512-trNJ/vtMZYMLhfN45uLq4ShQSw0/S7xCTLLVM+WM1rmFpba/VS42jVUgaO3w/NOLiWR/09lnYk0yMaA/atdIsg==} dev: true + /@types/node@20.6.2: + resolution: {integrity: sha512-Y+/1vGBHV/cYk6OI1Na/LHzwnlNCAfU3ZNGrc1LdRe/LAIbdDPTTv/HU3M7yXN448aTVDq3eKRm2cg7iKLb8gw==} + dev: true + + /@unocss/astro@0.47.6(vite@4.4.9): + resolution: {integrity: sha512-8lR4KwuCeVxOTKk6g6hx6VUHhW1u+hki8oRsJaKEB0s5iUPmY6rCNtb/iaBJdceY11bZMMy5LZHJFTkod/T/zg==} + dependencies: + '@unocss/core': 0.47.6 + '@unocss/reset': 0.47.6 + '@unocss/vite': 0.47.6(vite@4.4.9) + transitivePeerDependencies: + - rollup + - vite + dev: true + + /@unocss/cli@0.47.6: + resolution: {integrity: sha512-Lwuzl6xK+67LUb4pCKlyrMv9cDuTvywhlSBiYzDj1Su+21IQVRxUagpo10b1WlLXWWQz4J3bOJZYE/e/QV2/HQ==} + engines: {node: '>=14'} + hasBin: true + dependencies: + '@ampproject/remapping': 2.2.1 + '@rollup/pluginutils': 5.0.4 + '@unocss/config': 0.47.6 + '@unocss/core': 0.47.6 + '@unocss/preset-uno': 0.47.6 + cac: 6.7.14 + chokidar: 3.5.3 + colorette: 2.0.20 + consola: r2.cnpmjs.org/consola@2.15.3 + fast-glob: 3.3.1 + magic-string: 0.26.7 + pathe: 1.1.1 + perfect-debounce: 0.1.3 + transitivePeerDependencies: + - rollup + dev: true + + /@unocss/config@0.47.6: + resolution: {integrity: sha512-KycIrpKqPrTnrbNRLUgePuzfZUKk6afsKII6B53q9rVxxC1og4g7wCsvrn2D89lPipsJ6B9041VsdIhNqa8bFg==} + engines: {node: '>=14'} + dependencies: + '@unocss/core': 0.47.6 + unconfig: 0.3.10 + dev: true + + /@unocss/core@0.47.6: + resolution: {integrity: sha512-Pjg/NdpuTwZk2Ns3bzI/3XVPuXU+AQ78Sw+9QJyMgA56dArd3TlpNDN6UTOD9XAK6mxdPUu7rNSKpNTLpBW2og==} + dev: true + + /@unocss/inspector@0.47.6: + resolution: {integrity: sha512-enYQJo7+/UtSbgzpyKzL4vZU9Tz3QyoPGDmuKoHXSIt6sAtB+DQelW7vMWjcmwA19uaISxIGXx9BJPj5XV67UA==} + dependencies: + gzip-size: r2.cnpmjs.org/gzip-size@6.0.0 + sirv: 2.0.3 + dev: true + + /@unocss/preset-attributify@0.47.6: + resolution: {integrity: sha512-s5XB8JpBPbGCHjvzc2j+Cx9o+QQm2CjRdQ7UjL05+uQcVYb8PBjlfD3BeIA21eBH5IxXF9SdOJfx8kUWNa5WFQ==} + dependencies: + '@unocss/core': 0.47.6 + dev: true + + /@unocss/preset-icons@0.47.6: + resolution: {integrity: sha512-YvANR5ueN+r1E4YOfqF1llyUzS6yxROrJ+7MGNdIfyNHFcTwdHRy0f6y8uyiMYWyLc6nGGrUjjdo+DEc30obSA==} + dependencies: + '@iconify/utils': 2.1.10 + '@unocss/core': 0.47.6 + ohmyfetch: 0.4.21 + transitivePeerDependencies: + - supports-color + dev: true + + /@unocss/preset-mini@0.47.6: + resolution: {integrity: sha512-XP7ShDB42WU0xvZA1dG4E3LnzN4TYISm6AKQee3gmITUtE0ELTp9XutMgt0sqTe5FXeTRqw9XH7axv+4EqnE3Q==} + dependencies: + '@unocss/core': 0.47.6 + dev: true + + /@unocss/preset-tagify@0.47.6: + resolution: {integrity: sha512-9MxgZAUWWEg5OPLY+fpEf/Clw88pi57HON95E9zKvRy816S5gqhbt3PSxal7pCB9WO+3JM6BFLazAJ7DHpT1qA==} + dependencies: + '@unocss/core': 0.47.6 + dev: true + + /@unocss/preset-typography@0.47.6: + resolution: {integrity: sha512-/Hfsw05ogolLXqrxTu5bLFIgGGmVdRHGw5vSmY3g+YPy37HfWpbP3cOs8YEOv8r3lV9J7vzAxAKKT0MQgukiHQ==} + dependencies: + '@unocss/core': 0.47.6 + dev: true + + /@unocss/preset-uno@0.47.6: + resolution: {integrity: sha512-pDRuFmPzshX6ICaWhj7UBrnoL++rYD/QY52aljg9L4yAOZsZ1m0XRUlbnoXXXsEqDjw38SYNUzA1LtYcevBRvA==} + dependencies: + '@unocss/core': 0.47.6 + '@unocss/preset-mini': 0.47.6 + '@unocss/preset-wind': 0.47.6 + dev: true + + /@unocss/preset-web-fonts@0.47.6: + resolution: {integrity: sha512-TkN/etSSl61TtqxQJSVG/zfJUccdpgIuvqYrJOf4OZMj2rLwNHU2kOJEPFCfDyHTS+UjQ7LibfnE6snFDJ3pgQ==} + dependencies: + '@unocss/core': 0.47.6 + ohmyfetch: 0.4.21 + dev: true + + /@unocss/preset-wind@0.47.6: + resolution: {integrity: sha512-yl9zayR/CRfgnlM1iGEBKI3CkIVADv72UQHY+ZHqq/0VzeW8lSRG1KezqDKz2x3fMfrtbfls/fGLXQPNpD0mIw==} + dependencies: + '@unocss/core': 0.47.6 + '@unocss/preset-mini': 0.47.6 + dev: true + + /@unocss/reset@0.47.6: + resolution: {integrity: sha512-bdc2dbuDg+CzgeLowEwO1URRIMdzmCE4RH4IKpCpT1Xoa+92RRubdtzK4N/9ZiSo8d4vvfWcc8fvhZko/6smPQ==} + dev: true + + /@unocss/scope@0.47.6: + resolution: {integrity: sha512-aI7B4Il5xYfMcr50AC90I+Igi3KB9U0JPX2yiU2/WhOaO33ZReBWJmBQ4LhBGrdgNh8vkHpeqs8ntwq/o25nbA==} + dev: true + + /@unocss/transformer-attributify-jsx@0.47.6: + resolution: {integrity: sha512-1sjBPNpczbg1ZsM4OKr9SCisc3vXEpW+3aeCRlBq7UGlJId3vJlX19Yp6IV9IEnVubsUkgo/3nr0B12OD58VdQ==} + dependencies: + '@unocss/core': 0.47.6 + dev: true + + /@unocss/transformer-compile-class@0.47.6: + resolution: {integrity: sha512-/+O0qJlHFOF4iO+RVkK5sPLJJzWp8dkAJGH/ArBzpT4hnxe8W7c0tb0hlJxwUp5J7UcP4lDhd8VKKvlyadHkuA==} + dependencies: + '@unocss/core': 0.47.6 + dev: true + + /@unocss/transformer-directives@0.47.6: + resolution: {integrity: sha512-vRY9bNhE+iNlRpsnky86MtKpRb8ipk3IHvtuRkK5DSjcjn7RGmh5ZpH9pzg39NvbWtRYq5/EN19riIYQHRetnA==} + dependencies: + '@unocss/core': 0.47.6 + css-tree: 2.3.1 + dev: true + + /@unocss/transformer-variant-group@0.47.6: + resolution: {integrity: sha512-+uXz0pOv6WbEzQuW5RbgDSiwO274blsOsE63PdiRBMID1eSYKffGBcmiDh875QWc9ncFpjSKml+4q8jU7I+a0w==} + dependencies: + '@unocss/core': 0.47.6 + dev: true + + /@unocss/vite@0.47.6(vite@4.4.9): + resolution: {integrity: sha512-NL3A20sJHwMyCHOaxLlFXnr71QHEd118GN82e/mtFluEh7F3WyLndaZfWQLmLEeJ3z+P4nURFCLirZJIXr4XgQ==} + peerDependencies: + vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 + dependencies: + '@ampproject/remapping': 2.2.1 + '@rollup/pluginutils': 5.0.4 + '@unocss/config': 0.47.6 + '@unocss/core': 0.47.6 + '@unocss/inspector': 0.47.6 + '@unocss/scope': 0.47.6 + '@unocss/transformer-directives': 0.47.6 + magic-string: 0.27.0 + vite: 4.4.9(@types/node@20.6.2)(sass@1.66.1) + transitivePeerDependencies: + - rollup + dev: true + /@vicons/antd@0.12.0: resolution: {integrity: sha512-C0p6aO1EmGG1QHrqgUWQS1No20934OdWSRQshM5NIDK5H1On6tC26U0hT6Rmp40KfUsvhvX5YW8BoWJdNFifPg==} dev: true @@ -180,14 +633,14 @@ packages: resolution: {integrity: sha512-3+wUFuxb7e8OzZ8Wryct1pzfA2vyoF4lwW98O9s27ZrfCGaJGNmqG+q8A7vQ92Mf+COCgxpK+rhNPTtTvaU6qw==} dev: true - /@vitejs/plugin-vue@3.2.0(vite@3.2.7)(vue@3.3.4): - resolution: {integrity: sha512-E0tnaL4fr+qkdCNxJ+Xd0yM31UwMkQje76fsDVBBUCoGOUPexu2VDUYHL8P4CwV+zMvWw6nlRw19OnRKmYAJpw==} + /@vitejs/plugin-vue@4.3.4(vite@4.4.9)(vue@3.3.4): + resolution: {integrity: sha512-ciXNIHKPriERBisHFBvnTbfKa6r9SAesOYXeGDzgegcvy9Q4xdScSHAmKbNT0M3O0S9LKhIf5/G+UYG4NnnzYw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^3.0.0 + vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 3.2.7(sass@1.66.1) + vite: 4.4.9(@types/node@20.6.2)(sass@1.66.1) vue: 3.3.4 dev: true @@ -268,7 +721,117 @@ packages: /@vue/shared@3.3.4: resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==} - /anymatch@3.1.3: + /@yankeeinlondon/builder-api@1.4.1(@vitejs/plugin-vue@4.3.4)(sass@1.66.1)(vite@4.4.9): + resolution: {integrity: sha512-qc6HyfqtuS06FvA5rK0L62Nmc1LnarVOt8/V/mTX2DBZlpTfIDpudpbE/7/kxjme9pP4PFMCk7cPSrprLEorjw==} + dependencies: + '@types/markdown-it': r2.cnpmjs.org/@types/markdown-it@12.2.3 + '@yankeeinlondon/happy-wrapper': 2.10.1(sass@1.66.1) + fp-ts: 2.16.1 + inferred-types: 0.37.6(sass@1.66.1) + markdown-it: 13.0.1 + vite-plugin-md: 0.22.5(@vitejs/plugin-vue@4.3.4)(sass@1.66.1)(vite@4.4.9) + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitejs/plugin-vue' + - '@vitest/browser' + - '@vitest/ui' + - encoding + - happy-dom + - jsdom + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + - vite + dev: true + + /@yankeeinlondon/code-builder@1.2.1(@vitejs/plugin-vue@4.3.4)(sass@1.66.1)(vite@4.4.9): + resolution: {integrity: sha512-UazmH2O74OwEhtSTsAJaOLR7tg1/yO41MLLbo31qF1FZdoHYXVTitYt4jjiE41jTnZ4348b8tY8ZL/qQtgm4cg==} + dependencies: + '@types/markdown-it': r2.cnpmjs.org/@types/markdown-it@12.2.3 + '@yankeeinlondon/builder-api': 1.4.1(@vitejs/plugin-vue@4.3.4)(sass@1.66.1)(vite@4.4.9) + '@yankeeinlondon/happy-wrapper': 2.10.1(sass@1.66.1) + inferred-types: 0.37.6(sass@1.66.1) + markdown-it: 13.0.1 + pathe: 1.1.1 + prismjs: 1.29.0 + unocss: 0.47.6(vite@4.4.9) + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@unocss/webpack' + - '@vitejs/plugin-vue' + - '@vitest/browser' + - '@vitest/ui' + - encoding + - happy-dom + - jsdom + - less + - lightningcss + - rollup + - sass + - stylus + - sugarss + - supports-color + - terser + - vite + dev: true + + /@yankeeinlondon/gray-matter@6.1.1(sass@1.66.1): + resolution: {integrity: sha512-TLtRc/mxI74ahP3s+fJpIi+lBFAhuJuVjiQhmyi/xEwJ2pDepuWMRXT6UfJOA1cGkZ5/XGa9NFw/SQR6M5jfoQ==} + engines: {node: '>=14.0'} + dependencies: + inferred-types: 0.37.6(sass@1.66.1) + js-yaml: r2.cnpmjs.org/js-yaml@4.1.0 + kind-of: r2.cnpmjs.org/kind-of@6.0.3 + section-matter: r2.cnpmjs.org/section-matter@1.0.0 + strip-bom-string: r2.cnpmjs.org/strip-bom-string@1.0.0 + vitest: 0.25.8(happy-dom@8.9.0)(sass@1.66.1) + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitest/browser' + - '@vitest/ui' + - happy-dom + - jsdom + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /@yankeeinlondon/happy-wrapper@2.10.1(sass@1.66.1): + resolution: {integrity: sha512-kS3HT26QSQqcZa8Me2yrb6oc/j0BTmTRR76ITRGcYlO8G1snz9wii1eCrBTx+gAo58P+e3UkxB8PTVrmjTowVA==} + dependencies: + fp-ts: 2.16.1 + happy-dom: 8.9.0 + native-dash: 1.25.0(happy-dom@8.9.0)(sass@1.66.1) + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitest/browser' + - '@vitest/ui' + - encoding + - jsdom + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /acorn@8.10.0: + resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + + /anymatch@3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} dependencies: @@ -280,6 +843,99 @@ packages: resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==} dev: true + /brilliant-errors@0.7.3(happy-dom@8.9.0)(sass@1.66.1): + resolution: {integrity: sha512-WT9BkAze4SUOJfr7LUwJWNDAvynEAvUMvMPuFKu8QQKnRq+WMx3DAtHfOBJjHmHRxf748JY3CNVytSk6HH2yGg==} + engines: {node: '>=14.0.0'} + dependencies: + bumpp: 8.2.1 + callsites: 4.1.0 + inferred-types: 0.37.6(happy-dom@8.9.0)(sass@1.66.1) + vitest: 0.25.8(happy-dom@8.9.0)(sass@1.66.1) + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitest/browser' + - '@vitest/ui' + - happy-dom + - jsdom + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /brilliant-errors@0.7.3(sass@1.66.1): + resolution: {integrity: sha512-WT9BkAze4SUOJfr7LUwJWNDAvynEAvUMvMPuFKu8QQKnRq+WMx3DAtHfOBJjHmHRxf748JY3CNVytSk6HH2yGg==} + engines: {node: '>=14.0.0'} + dependencies: + bumpp: 8.2.1 + callsites: 4.1.0 + inferred-types: 0.37.6(sass@1.66.1) + vitest: 0.25.8(happy-dom@8.9.0)(sass@1.66.1) + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitest/browser' + - '@vitest/ui' + - happy-dom + - jsdom + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /bumpp@8.2.1: + resolution: {integrity: sha512-4tHKsWC2mqHQvdjZ4AXgVhS2xMsz8qQ4zYt87vGRXW5tqAjrYa/UJqy7s/dGYI2OIe9ghBdiFhKpyKEX9SXffg==} + engines: {node: '>=10'} + hasBin: true + dependencies: + '@jsdevtools/ez-spawn': r2.cnpmjs.org/@jsdevtools/ez-spawn@3.0.4 + cac: 6.7.14 + fast-glob: 3.3.1 + kleur: 4.1.5 + prompts: r2.cnpmjs.org/prompts@2.4.2 + semver: 7.5.4 + dev: true + + /busboy@1.6.0: + resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==} + engines: {node: '>=10.16.0'} + dependencies: + streamsearch: r2.cnpmjs.org/streamsearch@1.1.0 + dev: true + + /cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + dev: true + + /call-me-maybe@1.0.2: + resolution: {integrity: sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==} + dev: true + + /callsites@4.1.0: + resolution: {integrity: sha512-aBMbD1Xxay75ViYezwT40aQONfr+pSXTHwNKvIXhXD6+LY3F1dLIcceoC5OZKBVHbXcysz1hL9D2w0JJIMXpUw==} + engines: {node: '>=12.20'} + dev: true + + /chai@4.3.8: + resolution: {integrity: sha512-vX4YvVVtxlfSZ2VecZgFUTU5qPCYsobVI2O9FmwEXBhDigYGQA6jRXCycIs1yJnnWbZ6/+a2zNIF5DfVCcJBFQ==} + engines: {node: '>=4'} + dependencies: + assertion-error: r2.cnpmjs.org/assertion-error@1.1.0 + check-error: r2.cnpmjs.org/check-error@1.0.2 + deep-eql: 4.1.3 + get-func-name: r2.cnpmjs.org/get-func-name@2.0.0 + loupe: 2.3.6 + pathval: r2.cnpmjs.org/pathval@1.1.1 + type-detect: r2.cnpmjs.org/type-detect@4.0.8 + dev: true + /chokidar@3.5.3: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} @@ -295,6 +951,10 @@ packages: fsevents: 2.3.3 dev: true + /colorette@2.0.20: + resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} + dev: true + /css-render@0.15.12: resolution: {integrity: sha512-eWzS66patiGkTTik+ipO9qNGZ+uNuGyTmnz6/+EJIiFg8+3yZRpnMwgFo8YdXhQRsiePzehnusrxVvugNjXzbw==} dependencies: @@ -302,6 +962,14 @@ packages: csstype: 3.0.11 dev: true + /css-tree@2.3.1: + resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} + dependencies: + mdn-data: 2.0.30 + source-map-js: 1.0.2 + dev: true + /csstype@3.0.11: resolution: {integrity: sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw==} dev: true @@ -324,251 +992,269 @@ packages: '@babel/runtime': 7.22.15 dev: true - /esbuild-android-64@0.15.18: - resolution: {integrity: sha512-wnpt3OXRhcjfIDSZu9bnzT4/TNTDsOUvip0foZOUBG7QbSt//w3QV4FInVJxNhKc/ErhUxc5z4QjHtMi7/TbgA==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true + /debug@4.3.4: + resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: r2.cnpmjs.org/ms@2.1.2 dev: true - optional: true - /esbuild-android-arm64@0.15.18: - resolution: {integrity: sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true + /deep-eql@4.1.3: + resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} + engines: {node: '>=6'} + dependencies: + type-detect: r2.cnpmjs.org/type-detect@4.0.8 dev: true - optional: true - /esbuild-darwin-64@0.15.18: - resolution: {integrity: sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true + /default-browser@4.0.0: + resolution: {integrity: sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==} + engines: {node: '>=14.16'} + dependencies: + bundle-name: r2.cnpmjs.org/bundle-name@3.0.0 + default-browser-id: r2.cnpmjs.org/default-browser-id@3.0.0 + execa: 7.2.0 + titleize: r2.cnpmjs.org/titleize@3.0.0 dev: true - optional: true - /esbuild-darwin-arm64@0.15.18: - resolution: {integrity: sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true + /defu@6.1.2: + resolution: {integrity: sha512-+uO4+qr7msjNNWKYPHqN/3+Dx3NFkmIzayk2L1MyZQlvgZb/J1A0fo410dpKrN2SnqFjt8n4JL8fDJE0wIgjFQ==} dev: true - optional: true - /esbuild-freebsd-64@0.15.18: - resolution: {integrity: sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true + /destr@1.2.2: + resolution: {integrity: sha512-lrbCJwD9saUQrqUfXvl6qoM+QN3W7tLV5pAOs+OqOmopCCz/JkE05MHedJR1xfk4IAnZuJXPVuN5+7jNA2ZCiA==} dev: true - optional: true - /esbuild-freebsd-arm64@0.15.18: - resolution: {integrity: sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true + /error-stack-parser-es@0.1.1: + resolution: {integrity: sha512-g/9rfnvnagiNf+DRMHEVGuGuIBlCIMDFoTA616HaP2l9PlCjGjVhD98PNbVSJvmK4TttqT5mV5tInMhoFgi+aA==} dev: true - optional: true - /esbuild-linux-32@0.15.18: - resolution: {integrity: sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg==} + /esbuild@0.18.20: + resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==} engines: {node: '>=12'} - cpu: [ia32] - os: [linux] + hasBin: true requiresBuild: true + optionalDependencies: + '@esbuild/android-arm': 0.18.20 + '@esbuild/android-arm64': 0.18.20 + '@esbuild/android-x64': 0.18.20 + '@esbuild/darwin-arm64': 0.18.20 + '@esbuild/darwin-x64': 0.18.20 + '@esbuild/freebsd-arm64': 0.18.20 + '@esbuild/freebsd-x64': 0.18.20 + '@esbuild/linux-arm': 0.18.20 + '@esbuild/linux-arm64': 0.18.20 + '@esbuild/linux-ia32': 0.18.20 + '@esbuild/linux-loong64': 0.18.20 + '@esbuild/linux-mips64el': 0.18.20 + '@esbuild/linux-ppc64': 0.18.20 + '@esbuild/linux-riscv64': 0.18.20 + '@esbuild/linux-s390x': 0.18.20 + '@esbuild/linux-x64': 0.18.20 + '@esbuild/netbsd-x64': 0.18.20 + '@esbuild/openbsd-x64': 0.18.20 + '@esbuild/sunos-x64': 0.18.20 + '@esbuild/win32-arm64': 0.18.20 + '@esbuild/win32-ia32': 0.18.20 + '@esbuild/win32-x64': 0.18.20 dev: true - optional: true - /esbuild-linux-64@0.15.18: - resolution: {integrity: sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true + /evtd@0.2.4: + resolution: {integrity: sha512-qaeGN5bx63s/AXgQo8gj6fBkxge+OoLddLniox5qtLAEY5HSnuSlISXVPxnSae1dWblvTh4/HoMIB+mbMsvZzw==} dev: true - optional: true - /esbuild-linux-arm64@0.15.18: - resolution: {integrity: sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true + /execa@7.2.0: + resolution: {integrity: sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==} + engines: {node: ^14.18.0 || ^16.14.0 || >=18.0.0} + dependencies: + cross-spawn: r2.cnpmjs.org/cross-spawn@7.0.3 + get-stream: r2.cnpmjs.org/get-stream@6.0.1 + human-signals: 4.3.1 + is-stream: r2.cnpmjs.org/is-stream@3.0.0 + merge-stream: r2.cnpmjs.org/merge-stream@2.0.0 + npm-run-path: 5.1.0 + onetime: r2.cnpmjs.org/onetime@6.0.0 + signal-exit: 3.0.7 + strip-final-newline: r2.cnpmjs.org/strip-final-newline@3.0.0 + dev: true + + /fast-glob@3.3.1: + resolution: {integrity: sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==} + engines: {node: '>=8.6.0'} + dependencies: + '@nodelib/fs.stat': r2.cnpmjs.org/@nodelib/fs.stat@2.0.5 + '@nodelib/fs.walk': r2.cnpmjs.org/@nodelib/fs.walk@1.2.8 + glob-parent: r2.cnpmjs.org/glob-parent@5.1.2 + merge2: r2.cnpmjs.org/merge2@1.4.1 + micromatch: 4.0.5 dev: true - optional: true - /esbuild-linux-arm@0.15.18: - resolution: {integrity: sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true + /fastq@1.15.0: + resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} + dependencies: + reusify: r2.cnpmjs.org/reusify@1.0.4 dev: true - optional: true - /esbuild-linux-mips64le@0.15.18: - resolution: {integrity: sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true + /follow-redirects@1.15.2: + resolution: {integrity: sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==} + engines: {node: '>=4.0'} + peerDependencies: + debug: '*' + peerDependenciesMeta: + debug: + optional: true + dev: false - /esbuild-linux-ppc64le@0.15.18: - resolution: {integrity: sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true + /fp-ts@2.16.1: + resolution: {integrity: sha512-by7U5W8dkIzcvDofUcO42yl9JbnHTEDBrzu3pt5fKT+Z4Oy85I21K80EYJYdjQGC2qum4Vo55Ag57iiIK4FYuA==} dev: true - optional: true - /esbuild-linux-riscv64@0.15.18: - resolution: {integrity: sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true + /fs-extra@11.1.1: + resolution: {integrity: sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==} + engines: {node: '>=14.14'} + dependencies: + graceful-fs: 4.2.11 + jsonfile: r2.cnpmjs.org/jsonfile@6.1.0 + universalify: r2.cnpmjs.org/universalify@2.0.0 dev: true - optional: true - /esbuild-linux-s390x@0.15.18: - resolution: {integrity: sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] + /fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] requiresBuild: true dev: true optional: true - /esbuild-netbsd-64@0.15.18: - resolution: {integrity: sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true + /graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} dev: true - optional: true - /esbuild-openbsd-64@0.15.18: - resolution: {integrity: sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true + /happy-dom@8.9.0: + resolution: {integrity: sha512-JZwJuGdR7ko8L61136YzmrLv7LgTh5b8XaEM3P709mLjyQuXJ3zHTDXvUtBBahRjGlcYW0zGjIiEWizoTUGKfA==} + dependencies: + css.escape: r2.cnpmjs.org/css.escape@1.5.1 + he: r2.cnpmjs.org/he@1.2.0 + iconv-lite: r2.cnpmjs.org/iconv-lite@0.6.3 + node-fetch: 2.7.0 + webidl-conversions: r2.cnpmjs.org/webidl-conversions@7.0.0 + whatwg-encoding: r2.cnpmjs.org/whatwg-encoding@2.0.0 + whatwg-mimetype: r2.cnpmjs.org/whatwg-mimetype@3.0.0 + transitivePeerDependencies: + - encoding dev: true - optional: true - /esbuild-sunos-64@0.15.18: - resolution: {integrity: sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true + /highlight.js@11.8.0: + resolution: {integrity: sha512-MedQhoqVdr0U6SSnWPzfiadUcDHfN/Wzq25AkXiQv9oiOO/sG0S7XkvpFIqWBl9Yq1UYyYOOVORs5UW2XlPyzg==} + engines: {node: '>=12.0.0'} dev: true - optional: true - /esbuild-windows-32@0.15.18: - resolution: {integrity: sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true + /human-signals@4.3.1: + resolution: {integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==} + engines: {node: '>=14.18.0'} dev: true - optional: true - /esbuild-windows-64@0.15.18: - resolution: {integrity: sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true + /immutable@4.3.4: + resolution: {integrity: sha512-fsXeu4J4i6WNWSikpI88v/PcVflZz+6kMhUfIwc5SY+poQRPnaf5V7qds6SUyUN3cVxEzuCab7QIoLOQ+DQ1wA==} dev: true - optional: true - /esbuild-windows-arm64@0.15.18: - resolution: {integrity: sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true + /inferred-types@0.37.6(happy-dom@8.9.0)(sass@1.66.1): + resolution: {integrity: sha512-CfL5g1wR5rVwX2K5S6wSL+h9eODScum/LBwlhGRrcBIvfYppvUQM0aeRJ1BZS+QE38kGzd3v+U526+nQR7ZUkg==} + dependencies: + brilliant-errors: 0.7.3(happy-dom@8.9.0)(sass@1.66.1) + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitest/browser' + - '@vitest/ui' + - happy-dom + - jsdom + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /inferred-types@0.37.6(sass@1.66.1): + resolution: {integrity: sha512-CfL5g1wR5rVwX2K5S6wSL+h9eODScum/LBwlhGRrcBIvfYppvUQM0aeRJ1BZS+QE38kGzd3v+U526+nQR7ZUkg==} + dependencies: + brilliant-errors: 0.7.3(sass@1.66.1) + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitest/browser' + - '@vitest/ui' + - happy-dom + - jsdom + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /is-inside-container@1.0.0: + resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==} + engines: {node: '>=14.16'} + hasBin: true + dependencies: + is-docker: r2.cnpmjs.org/is-docker@3.0.0 dev: true - optional: true - /esbuild@0.15.18: - resolution: {integrity: sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==} - engines: {node: '>=12'} + /jiti@1.20.0: + resolution: {integrity: sha512-3TV69ZbrvV6U5DfQimop50jE9Dl6J8O1ja1dvBbMba/sZ3YBEQqJ2VZRoQPVnhlzjNtU1vaXRZVrVjU4qtm8yA==} hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.15.18 - '@esbuild/linux-loong64': 0.15.18 - esbuild-android-64: 0.15.18 - esbuild-android-arm64: 0.15.18 - esbuild-darwin-64: 0.15.18 - esbuild-darwin-arm64: 0.15.18 - esbuild-freebsd-64: 0.15.18 - esbuild-freebsd-arm64: 0.15.18 - esbuild-linux-32: 0.15.18 - esbuild-linux-64: 0.15.18 - esbuild-linux-arm: 0.15.18 - esbuild-linux-arm64: 0.15.18 - esbuild-linux-mips64le: 0.15.18 - esbuild-linux-ppc64le: 0.15.18 - esbuild-linux-riscv64: 0.15.18 - esbuild-linux-s390x: 0.15.18 - esbuild-netbsd-64: 0.15.18 - esbuild-openbsd-64: 0.15.18 - esbuild-sunos-64: 0.15.18 - esbuild-windows-32: 0.15.18 - esbuild-windows-64: 0.15.18 - esbuild-windows-arm64: 0.15.18 dev: true - /evtd@0.2.4: - resolution: {integrity: sha512-qaeGN5bx63s/AXgQo8gj6fBkxge+OoLddLniox5qtLAEY5HSnuSlISXVPxnSae1dWblvTh4/HoMIB+mbMsvZzw==} + /jsonc-parser@3.2.0: + resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} dev: true - /follow-redirects@1.15.2: - resolution: {integrity: sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==} - engines: {node: '>=4.0'} - peerDependencies: - debug: '*' - peerDependenciesMeta: - debug: - optional: true - dev: false + /kleur@4.1.5: + resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} + engines: {node: '>=6'} + dev: true - /fsevents@2.3.3: - resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true + /kolorist@1.8.0: + resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} dev: true - optional: true - /highlight.js@11.8.0: - resolution: {integrity: sha512-MedQhoqVdr0U6SSnWPzfiadUcDHfN/Wzq25AkXiQv9oiOO/sG0S7XkvpFIqWBl9Yq1UYyYOOVORs5UW2XlPyzg==} - engines: {node: '>=12.0.0'} + /linkify-it@4.0.1: + resolution: {integrity: sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==} + dependencies: + uc.micro: r2.cnpmjs.org/uc.micro@1.0.6 dev: true - /immutable@4.3.4: - resolution: {integrity: sha512-fsXeu4J4i6WNWSikpI88v/PcVflZz+6kMhUfIwc5SY+poQRPnaf5V7qds6SUyUN3cVxEzuCab7QIoLOQ+DQ1wA==} + /local-pkg@0.4.3: + resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==} + engines: {node: '>=14'} dev: true - /is-core-module@2.13.0: - resolution: {integrity: sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==} + /loupe@2.3.6: + resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==} dependencies: - has: r2.cnpmjs.org/has@1.0.3 + get-func-name: r2.cnpmjs.org/get-func-name@2.0.0 + dev: true + + /magic-string@0.26.7: + resolution: {integrity: sha512-hX9XH3ziStPoPhJxLq1syWuZMxbDvGNbVchfrdCtanC7D13888bMFow61x8axrx+GfHLtVeAx2kxL7tTGRl+Ow==} + engines: {node: '>=12'} + dependencies: + sourcemap-codec: r2.cnpmjs.org/sourcemap-codec@1.4.8 + dev: true + + /magic-string@0.27.0: + resolution: {integrity: sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==} + engines: {node: '>=12'} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.15 dev: true /magic-string@0.30.3: @@ -577,6 +1263,50 @@ packages: dependencies: '@jridgewell/sourcemap-codec': 1.4.15 + /markdown-it-prism@2.3.0: + resolution: {integrity: sha512-ePtHY80gZyeje4bn3R3SL0jpd1C9HFaYffJW2Ma0YD+tspqa2v9TuVwUyFwboFu4jnFNcO8oPQROgbcYJbmBvw==} + engines: {node: '>=6.0.0'} + dependencies: + prismjs: 1.29.0 + dev: true + + /markdown-it@13.0.1: + resolution: {integrity: sha512-lTlxriVoy2criHP0JKRhO2VDG9c2ypWCsT237eDiLqi09rmbKoUetyGHq2uOIRoRS//kfoJckS0eUzzkDR+k2Q==} + hasBin: true + dependencies: + argparse: r2.cnpmjs.org/argparse@2.0.1 + entities: r2.cnpmjs.org/entities@3.0.1 + linkify-it: 4.0.1 + mdurl: r2.cnpmjs.org/mdurl@1.0.1 + uc.micro: r2.cnpmjs.org/uc.micro@1.0.6 + dev: true + + /mdn-data@2.0.30: + resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} + dev: true + + /micromatch@4.0.5: + resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + engines: {node: '>=8.6'} + dependencies: + braces: r2.cnpmjs.org/braces@3.0.2 + picomatch: 2.3.1 + dev: true + + /mlly@1.4.2: + resolution: {integrity: sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==} + dependencies: + acorn: 8.10.0 + pathe: 1.1.1 + pkg-types: 1.0.3 + ufo: 1.3.0 + dev: true + + /mrmime@1.0.1: + resolution: {integrity: sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==} + engines: {node: '>=10'} + dev: true + /naive-ui@2.34.4(vue@3.3.4): resolution: {integrity: sha512-aPG8PDfhSzIzn/jSC9y3Jb3Pe2wHJ7F0cFV1EWlbImSrZECeUmoc+fIcOSWbizoztkKfaUAeKwYdMl09MKkj1g==} peerDependencies: @@ -608,6 +1338,77 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true + /native-dash@1.25.0(happy-dom@8.9.0)(sass@1.66.1): + resolution: {integrity: sha512-vJy1ZEfR/9jpAtuvsbPE/PuaeaJLIS+p7tl/bKEMHutRzMHnmgLv1fSmbyVvL04s2qzg0rCKZX5yfX74uiPLyA==} + dependencies: + brilliant-errors: 0.7.3(happy-dom@8.9.0)(sass@1.66.1) + inferred-types: 0.37.6(happy-dom@8.9.0)(sass@1.66.1) + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitest/browser' + - '@vitest/ui' + - happy-dom + - jsdom + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /node-fetch-native@0.1.8: + resolution: {integrity: sha512-ZNaury9r0NxaT2oL65GvdGDy+5PlSaHTovT6JV5tOW07k1TQmgC0olZETa4C9KZg0+6zBr99ctTYa3Utqj9P/Q==} + dev: true + + /node-fetch@2.7.0: + resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + dependencies: + whatwg-url: r2.cnpmjs.org/whatwg-url@5.0.0 + dev: true + + /npm-run-path@5.1.0: + resolution: {integrity: sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + path-key: r2.cnpmjs.org/path-key@4.0.0 + dev: true + + /ohmyfetch@0.4.21: + resolution: {integrity: sha512-VG7f/JRvqvBOYvL0tHyEIEG7XHWm7OqIfAs6/HqwWwDfjiJ1g0huIpe5sFEmyb+7hpFa1EGNH2aERWR72tlClw==} + deprecated: Package renamed to https://github.com/unjs/ofetch + dependencies: + destr: 1.2.2 + node-fetch-native: 0.1.8 + ufo: 0.8.6 + undici: 5.24.0 + dev: true + + /open@9.1.0: + resolution: {integrity: sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==} + engines: {node: '>=14.16'} + dependencies: + default-browser: 4.0.0 + define-lazy-prop: r2.cnpmjs.org/define-lazy-prop@3.0.0 + is-inside-container: 1.0.0 + is-wsl: r2.cnpmjs.org/is-wsl@2.2.0 + dev: true + + /pathe@1.1.1: + resolution: {integrity: sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==} + dev: true + + /perfect-debounce@0.1.3: + resolution: {integrity: sha512-NOT9AcKiDGpnV/HBhI22Str++XWcErO/bALvHCuhv33owZW/CjH8KAFLZDCmu3727sihe0wTxpDhyGc6M8qacQ==} + dev: true + /picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -630,6 +1431,14 @@ packages: vue-demi: 0.14.6(vue@3.3.4) dev: false + /pkg-types@1.0.3: + resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==} + dependencies: + jsonc-parser: 3.2.0 + mlly: 1.4.2 + pathe: 1.1.1 + dev: true + /postcss@8.4.29: resolution: {integrity: sha512-cbI+jaqIeu/VGqXEarWkRCCffhjgXc0qjBtXpqJhTBohMUjUQnbBr0xqX3vEKudc4iviTewcJo5ajcec5+wdJw==} engines: {node: ^10 || ^12 || >=14} @@ -638,22 +1447,18 @@ packages: picocolors: r2.cnpmjs.org/picocolors@1.0.0 source-map-js: 1.0.2 - /regenerator-runtime@0.14.0: - resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==} + /prismjs@1.29.0: + resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==} + engines: {node: '>=6'} dev: true - /resolve@1.22.4: - resolution: {integrity: sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==} - hasBin: true - dependencies: - is-core-module: 2.13.0 - path-parse: r2.cnpmjs.org/path-parse@1.0.7 - supports-preserve-symlinks-flag: 1.0.0 + /regenerator-runtime@0.14.0: + resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==} dev: true - /rollup@2.79.1: - resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==} - engines: {node: '>=10.0.0'} + /rollup@3.29.2: + resolution: {integrity: sha512-CJouHoZ27v6siztc21eEQGo0kIcE5D1gVPA571ez0mMYb25LGYGKnVNXpEj5MGlepmDWGXNjDB5q7uNiPHC11A==} + engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true optionalDependencies: fsevents: 2.3.3 @@ -673,19 +1478,121 @@ packages: resolution: {integrity: sha512-lEV5VB8BUKTo/AfktXJcy+JeXns26ylbMkIUco8CYREsQijuz4mrXres2Q+vMLdwkuLxJdIPQ8IlCIxLYm71Yw==} dev: true + /semver@7.5.4: + resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} + engines: {node: '>=10'} + hasBin: true + dependencies: + lru-cache: r2.cnpmjs.org/lru-cache@6.0.0 + dev: true + + /signal-exit@3.0.7: + resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + dev: true + + /sirv@2.0.3: + resolution: {integrity: sha512-O9jm9BsID1P+0HOi81VpXPoDxYP374pkOLzACAoyUQ/3OUVndNpsz6wMnY2z+yOxzbllCKZrM+9QrWsv4THnyA==} + engines: {node: '>= 10'} + dependencies: + '@polka/url': 1.0.0-next.23 + mrmime: 1.0.1 + totalist: 3.0.1 + dev: true + /source-map-js@1.0.2: resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} engines: {node: '>=0.10.0'} - /supports-preserve-symlinks-flag@1.0.0: - resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} - engines: {node: '>= 0.4'} + /string-argv@0.3.2: + resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==} + engines: {node: '>=0.6.19'} + dev: true + + /strip-literal@1.3.0: + resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==} + dependencies: + acorn: 8.10.0 + dev: true + + /tinybench@2.5.1: + resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} + dev: true + + /tinypool@0.3.1: + resolution: {integrity: sha512-zLA1ZXlstbU2rlpA4CIeVaqvWq41MTWqLY3FfsAXgC8+f7Pk7zroaJQxDgxn1xNudKW6Kmj4808rPFShUlIRmQ==} + engines: {node: '>=14.0.0'} + dev: true + + /tinyspy@1.1.1: + resolution: {integrity: sha512-UVq5AXt/gQlti7oxoIg5oi/9r0WpF7DGEVwXgqWSMmyN16+e3tl5lIvTaOpJ3TAtu5xFzWccFRM4R5NaWHF+4g==} + engines: {node: '>=14.0.0'} + dev: true + + /totalist@3.0.1: + resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} + engines: {node: '>=6'} dev: true /treemate@0.3.11: resolution: {integrity: sha512-M8RGFoKtZ8dF+iwJfAJTOH/SM4KluKOKRJpjCMhI8bG3qB74zrFoArKZ62ll0Fr3mqkMJiQOmWYkdYgDeITYQg==} dev: true + /ufo@0.8.6: + resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} + dev: true + + /ufo@1.3.0: + resolution: {integrity: sha512-bRn3CsoojyNStCZe0BG0Mt4Nr/4KF+rhFlnNXybgqt5pXHNFRlqinSoQaTrGyzE4X8aHplSb+TorH+COin9Yxw==} + dev: true + + /unconfig@0.3.10: + resolution: {integrity: sha512-tj317lhIq2iZF/NXrJnU1t2UaGUKKz1eL1sK2t63Oq66V9BxqvZV12m55fp/fpQJ+DDmVlLgo7cnLVOZkhlO/A==} + dependencies: + '@antfu/utils': 0.7.6 + defu: 6.1.2 + jiti: 1.20.0 + mlly: 1.4.2 + dev: true + + /undici@5.24.0: + resolution: {integrity: sha512-OKlckxBjFl0oXxcj9FU6oB8fDAaiRUq+D8jrFWGmOfI/gIyjk/IeS75LMzgYKUaeHzLUcYvf9bbJGSrUwTfwwQ==} + engines: {node: '>=14.0'} + dependencies: + busboy: 1.6.0 + dev: true + + /unocss@0.47.6(vite@4.4.9): + resolution: {integrity: sha512-cc+m2h/Iky24zwAKir9ElmIhkPYNjZEUTemInctWlVN8QX9qpzsRZahAl7ZmKsBorXPFtux/JYoUCCtXftyxOw==} + engines: {node: '>=14'} + peerDependencies: + '@unocss/webpack': 0.47.6 + peerDependenciesMeta: + '@unocss/webpack': + optional: true + dependencies: + '@unocss/astro': 0.47.6(vite@4.4.9) + '@unocss/cli': 0.47.6 + '@unocss/core': 0.47.6 + '@unocss/preset-attributify': 0.47.6 + '@unocss/preset-icons': 0.47.6 + '@unocss/preset-mini': 0.47.6 + '@unocss/preset-tagify': 0.47.6 + '@unocss/preset-typography': 0.47.6 + '@unocss/preset-uno': 0.47.6 + '@unocss/preset-web-fonts': 0.47.6 + '@unocss/preset-wind': 0.47.6 + '@unocss/reset': 0.47.6 + '@unocss/transformer-attributify-jsx': 0.47.6 + '@unocss/transformer-compile-class': 0.47.6 + '@unocss/transformer-directives': 0.47.6 + '@unocss/transformer-variant-group': 0.47.6 + '@unocss/vite': 0.47.6(vite@4.4.9) + transitivePeerDependencies: + - rollup + - supports-color + - vite + dev: true + /uuid@9.0.0: resolution: {integrity: sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==} hasBin: true @@ -704,13 +1611,95 @@ packages: resolution: {integrity: sha512-nguyw8L6Un8eelg1vQ31vIU2ESxqid7EYmy8V+MDeMaHBqaRSkg3dTBToC1PR00D89UzS/SLkfYPnx0Wf23IQQ==} dev: true - /vite@3.2.7(sass@1.66.1): - resolution: {integrity: sha512-29pdXjk49xAP0QBr0xXqu2s5jiQIXNvE/xwd0vUizYT2Hzqe4BksNNoWllFVXJf4eLZ+UlVQmXfB4lWrc+t18g==} + /vite-plugin-inspect@0.7.38(vite@4.4.9): + resolution: {integrity: sha512-+p6pJVtBOLGv+RBrcKAFUdx+euizg0bjL35HhPyM0MjtKlqoC5V9xkCmO9Ctc8JrTyXqODbHqiLWJKumu5zJ7g==} + engines: {node: '>=14'} + peerDependencies: + '@nuxt/kit': '*' + vite: ^3.1.0 || ^4.0.0 + peerDependenciesMeta: + '@nuxt/kit': + optional: true + dependencies: + '@antfu/utils': 0.7.6 + '@rollup/pluginutils': 5.0.4 + debug: 4.3.4 + error-stack-parser-es: 0.1.1 + fs-extra: 11.1.1 + open: 9.1.0 + picocolors: r2.cnpmjs.org/picocolors@1.0.0 + sirv: 2.0.3 + vite: 4.4.9(@types/node@20.6.2)(sass@1.66.1) + transitivePeerDependencies: + - rollup + - supports-color + dev: true + + /vite-plugin-md@0.21.5(@vitejs/plugin-vue@4.3.4)(sass@1.66.1)(vite@4.4.9): + resolution: {integrity: sha512-gxiiSq2PmU2zUY5ZAFLEGmDFRV6J6gF85ns3hcvtgERibNST4gWxRSabqSZbGbHp3LEBwwK7C1CRLsl46yEiWg==} + peerDependencies: + vite: ^4.0.0 + dependencies: + '@yankeeinlondon/builder-api': 1.4.1(@vitejs/plugin-vue@4.3.4)(sass@1.66.1)(vite@4.4.9) + '@yankeeinlondon/gray-matter': 6.1.1(sass@1.66.1) + '@yankeeinlondon/happy-wrapper': 2.10.1(sass@1.66.1) + markdown-it: 13.0.1 + source-map-js: 1.0.2 + vite: 4.4.9(@types/node@20.6.2)(sass@1.66.1) + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitejs/plugin-vue' + - '@vitest/browser' + - '@vitest/ui' + - encoding + - happy-dom + - jsdom + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /vite-plugin-md@0.22.5(@vitejs/plugin-vue@4.3.4)(sass@1.66.1)(vite@4.4.9): + resolution: {integrity: sha512-ex6yQfan2teBT2uMzoIlDHRhKTOsNiyvblA9eLU/+uygpg4KikJPFeyBX300LqQ3pZ9qGHz35qoGJ0oLw47eZg==} + peerDependencies: + '@vitejs/plugin-vue': '>=2.3.4' + vite: ^4.0.0 || ^3.0.0 + dependencies: + '@vitejs/plugin-vue': 4.3.4(vite@4.4.9)(vue@3.3.4) + '@yankeeinlondon/builder-api': 1.4.1(@vitejs/plugin-vue@4.3.4)(sass@1.66.1)(vite@4.4.9) + '@yankeeinlondon/gray-matter': 6.1.1(sass@1.66.1) + '@yankeeinlondon/happy-wrapper': 2.10.1(sass@1.66.1) + markdown-it: 13.0.1 + source-map-js: 1.0.2 + vite: 4.4.9(@types/node@20.6.2)(sass@1.66.1) + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitest/browser' + - '@vitest/ui' + - encoding + - happy-dom + - jsdom + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /vite@4.4.9(@types/node@20.6.2)(sass@1.66.1): + resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: '@types/node': '>= 14' less: '*' + lightningcss: ^1.21.0 sass: '*' stylus: '*' sugarss: '*' @@ -720,6 +1709,8 @@ packages: optional: true less: optional: true + lightningcss: + optional: true sass: optional: true stylus: @@ -729,15 +1720,62 @@ packages: terser: optional: true dependencies: - esbuild: 0.15.18 + '@types/node': 20.6.2 + esbuild: 0.18.20 postcss: 8.4.29 - resolve: 1.22.4 - rollup: 2.79.1 + rollup: 3.29.2 sass: 1.66.1 optionalDependencies: fsevents: 2.3.3 dev: true + /vitest@0.25.8(happy-dom@8.9.0)(sass@1.66.1): + resolution: {integrity: sha512-X75TApG2wZTJn299E/TIYevr4E9/nBo1sUtZzn0Ci5oK8qnpZAZyhwg0qCeMSakGIWtc6oRwcQFyFfW14aOFWg==} + engines: {node: '>=v14.16.0'} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@vitest/browser': '*' + '@vitest/ui': '*' + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + dependencies: + '@types/chai': 4.3.6 + '@types/chai-subset': r2.cnpmjs.org/@types/chai-subset@1.3.3 + '@types/node': 20.6.2 + acorn: 8.10.0 + acorn-walk: r2.cnpmjs.org/acorn-walk@8.2.0 + chai: 4.3.8 + debug: 4.3.4 + happy-dom: 8.9.0 + local-pkg: 0.4.3 + source-map: r2.cnpmjs.org/source-map@0.6.1 + strip-literal: 1.3.0 + tinybench: 2.5.1 + tinypool: 0.3.1 + tinyspy: 1.1.1 + vite: 4.4.9(@types/node@20.6.2)(sass@1.66.1) + transitivePeerDependencies: + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + /vue-demi@0.14.6(vue@3.3.4): resolution: {integrity: sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==} engines: {node: '>=12'} @@ -795,10 +1833,91 @@ packages: vue: 3.3.4 dev: false - r2.cnpmjs.org/@emotion/hash@0.8.0: - resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/@emotion/hash/-/hash-0.8.0.tgz} - name: '@emotion/hash' - version: 0.8.0 + r2.cnpmjs.org/@emotion/hash@0.8.0: + resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/@emotion/hash/-/hash-0.8.0.tgz} + name: '@emotion/hash' + version: 0.8.0 + dev: true + + r2.cnpmjs.org/@jsdevtools/ez-spawn@3.0.4: + resolution: {integrity: sha512-f5DRIOZf7wxogefH03RjMPMdBF7ADTWUMoOs9kaJo06EfwF+aFhMZMDZxHg/Xe12hptN9xoZjGso2fdjapBRIA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/@jsdevtools/ez-spawn/-/ez-spawn-3.0.4.tgz} + name: '@jsdevtools/ez-spawn' + version: 3.0.4 + engines: {node: '>=10'} + dependencies: + call-me-maybe: 1.0.2 + cross-spawn: r2.cnpmjs.org/cross-spawn@7.0.3 + string-argv: 0.3.2 + type-detect: r2.cnpmjs.org/type-detect@4.0.8 + dev: true + + r2.cnpmjs.org/@nodelib/fs.scandir@2.1.5: + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz} + name: '@nodelib/fs.scandir' + version: 2.1.5 + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.stat': r2.cnpmjs.org/@nodelib/fs.stat@2.0.5 + run-parallel: r2.cnpmjs.org/run-parallel@1.2.0 + dev: true + + r2.cnpmjs.org/@nodelib/fs.stat@2.0.5: + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz} + name: '@nodelib/fs.stat' + version: 2.0.5 + engines: {node: '>= 8'} + dev: true + + r2.cnpmjs.org/@nodelib/fs.walk@1.2.8: + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz} + name: '@nodelib/fs.walk' + version: 1.2.8 + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.scandir': r2.cnpmjs.org/@nodelib/fs.scandir@2.1.5 + fastq: 1.15.0 + dev: true + + r2.cnpmjs.org/@types/chai-subset@1.3.3: + resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/@types/chai-subset/-/chai-subset-1.3.3.tgz} + name: '@types/chai-subset' + version: 1.3.3 + dependencies: + '@types/chai': 4.3.6 + dev: true + + r2.cnpmjs.org/@types/markdown-it@12.2.3: + resolution: {integrity: sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/@types/markdown-it/-/markdown-it-12.2.3.tgz} + name: '@types/markdown-it' + version: 12.2.3 + dependencies: + '@types/linkify-it': 3.0.3 + '@types/mdurl': r2.cnpmjs.org/@types/mdurl@1.0.2 + dev: true + + r2.cnpmjs.org/@types/mdurl@1.0.2: + resolution: {integrity: sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/@types/mdurl/-/mdurl-1.0.2.tgz} + name: '@types/mdurl' + version: 1.0.2 + dev: true + + r2.cnpmjs.org/acorn-walk@8.2.0: + resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz} + name: acorn-walk + version: 8.2.0 + engines: {node: '>=0.4.0'} + dev: true + + r2.cnpmjs.org/argparse@2.0.1: + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/argparse/-/argparse-2.0.1.tgz} + name: argparse + version: 2.0.1 + dev: true + + r2.cnpmjs.org/assertion-error@1.1.0: + resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/assertion-error/-/assertion-error-1.1.0.tgz} + name: assertion-error + version: 1.1.0 dev: true r2.cnpmjs.org/axios@0.21.4: @@ -811,6 +1930,13 @@ packages: - debug dev: false + r2.cnpmjs.org/big-integer@1.6.51: + resolution: {integrity: sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/big-integer/-/big-integer-1.6.51.tgz} + name: big-integer + version: 1.6.51 + engines: {node: '>=0.6'} + dev: true + r2.cnpmjs.org/binary-extensions@2.2.0: resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz} name: binary-extensions @@ -818,6 +1944,15 @@ packages: engines: {node: '>=8'} dev: true + r2.cnpmjs.org/bplist-parser@0.2.0: + resolution: {integrity: sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz} + name: bplist-parser + version: 0.2.0 + engines: {node: '>= 5.10.0'} + dependencies: + big-integer: r2.cnpmjs.org/big-integer@1.6.51 + dev: true + r2.cnpmjs.org/braces@3.0.2: resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/braces/-/braces-3.0.2.tgz} name: braces @@ -827,11 +1962,105 @@ packages: fill-range: r2.cnpmjs.org/fill-range@7.0.1 dev: true + r2.cnpmjs.org/bundle-name@3.0.0: + resolution: {integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/bundle-name/-/bundle-name-3.0.0.tgz} + name: bundle-name + version: 3.0.0 + engines: {node: '>=12'} + dependencies: + run-applescript: r2.cnpmjs.org/run-applescript@5.0.0 + dev: true + + r2.cnpmjs.org/check-error@1.0.2: + resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/check-error/-/check-error-1.0.2.tgz} + name: check-error + version: 1.0.2 + dev: true + + r2.cnpmjs.org/consola@2.15.3: + resolution: {integrity: sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/consola/-/consola-2.15.3.tgz} + name: consola + version: 2.15.3 + dev: true + + r2.cnpmjs.org/cross-spawn@7.0.3: + resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz} + name: cross-spawn + version: 7.0.3 + engines: {node: '>= 8'} + dependencies: + path-key: r2.cnpmjs.org/path-key@3.1.1 + shebang-command: r2.cnpmjs.org/shebang-command@2.0.0 + which: r2.cnpmjs.org/which@2.0.2 + dev: true + + r2.cnpmjs.org/css.escape@1.5.1: + resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/css.escape/-/css.escape-1.5.1.tgz} + name: css.escape + version: 1.5.1 + dev: true + + r2.cnpmjs.org/default-browser-id@3.0.0: + resolution: {integrity: sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/default-browser-id/-/default-browser-id-3.0.0.tgz} + name: default-browser-id + version: 3.0.0 + engines: {node: '>=12'} + dependencies: + bplist-parser: r2.cnpmjs.org/bplist-parser@0.2.0 + untildify: r2.cnpmjs.org/untildify@4.0.0 + dev: true + + r2.cnpmjs.org/define-lazy-prop@3.0.0: + resolution: {integrity: sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz} + name: define-lazy-prop + version: 3.0.0 + engines: {node: '>=12'} + dev: true + + r2.cnpmjs.org/duplexer@0.1.2: + resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/duplexer/-/duplexer-0.1.2.tgz} + name: duplexer + version: 0.1.2 + dev: true + + r2.cnpmjs.org/entities@3.0.1: + resolution: {integrity: sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/entities/-/entities-3.0.1.tgz} + name: entities + version: 3.0.1 + engines: {node: '>=0.12'} + dev: true + r2.cnpmjs.org/estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/estree-walker/-/estree-walker-2.0.2.tgz} name: estree-walker version: 2.0.2 + r2.cnpmjs.org/execa@5.1.1: + resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/execa/-/execa-5.1.1.tgz} + name: execa + version: 5.1.1 + engines: {node: '>=10'} + dependencies: + cross-spawn: r2.cnpmjs.org/cross-spawn@7.0.3 + get-stream: r2.cnpmjs.org/get-stream@6.0.1 + human-signals: r2.cnpmjs.org/human-signals@2.1.0 + is-stream: r2.cnpmjs.org/is-stream@2.0.1 + merge-stream: r2.cnpmjs.org/merge-stream@2.0.0 + npm-run-path: r2.cnpmjs.org/npm-run-path@4.0.1 + onetime: r2.cnpmjs.org/onetime@5.1.2 + signal-exit: 3.0.7 + strip-final-newline: r2.cnpmjs.org/strip-final-newline@2.0.0 + dev: true + + r2.cnpmjs.org/extend-shallow@2.0.1: + resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz} + name: extend-shallow + version: 2.0.1 + engines: {node: '>=0.10.0'} + dependencies: + is-extendable: r2.cnpmjs.org/is-extendable@0.1.1 + dev: true + r2.cnpmjs.org/fill-range@7.0.1: resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/fill-range/-/fill-range-7.0.1.tgz} name: fill-range @@ -841,10 +2070,27 @@ packages: to-regex-range: r2.cnpmjs.org/to-regex-range@5.0.1 dev: true - r2.cnpmjs.org/function-bind@1.1.1: - resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/function-bind/-/function-bind-1.1.1.tgz} - name: function-bind - version: 1.1.1 + r2.cnpmjs.org/find-up@5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/find-up/-/find-up-5.0.0.tgz} + name: find-up + version: 5.0.0 + engines: {node: '>=10'} + dependencies: + locate-path: r2.cnpmjs.org/locate-path@6.0.0 + path-exists: r2.cnpmjs.org/path-exists@4.0.0 + dev: true + + r2.cnpmjs.org/get-func-name@2.0.0: + resolution: {integrity: sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/get-func-name/-/get-func-name-2.0.0.tgz} + name: get-func-name + version: 2.0.0 + dev: true + + r2.cnpmjs.org/get-stream@6.0.1: + resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/get-stream/-/get-stream-6.0.1.tgz} + name: get-stream + version: 6.0.1 + engines: {node: '>=10'} dev: true r2.cnpmjs.org/glob-parent@5.1.2: @@ -856,13 +2102,36 @@ packages: is-glob: r2.cnpmjs.org/is-glob@4.0.3 dev: true - r2.cnpmjs.org/has@1.0.3: - resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/has/-/has-1.0.3.tgz} - name: has - version: 1.0.3 - engines: {node: '>= 0.4.0'} + r2.cnpmjs.org/gzip-size@6.0.0: + resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/gzip-size/-/gzip-size-6.0.0.tgz} + name: gzip-size + version: 6.0.0 + engines: {node: '>=10'} + dependencies: + duplexer: r2.cnpmjs.org/duplexer@0.1.2 + dev: true + + r2.cnpmjs.org/he@1.2.0: + resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/he/-/he-1.2.0.tgz} + name: he + version: 1.2.0 + hasBin: true + dev: true + + r2.cnpmjs.org/human-signals@2.1.0: + resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/human-signals/-/human-signals-2.1.0.tgz} + name: human-signals + version: 2.1.0 + engines: {node: '>=10.17.0'} + dev: true + + r2.cnpmjs.org/iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz} + name: iconv-lite + version: 0.6.3 + engines: {node: '>=0.10.0'} dependencies: - function-bind: r2.cnpmjs.org/function-bind@1.1.1 + safer-buffer: r2.cnpmjs.org/safer-buffer@2.1.2 dev: true r2.cnpmjs.org/is-binary-path@2.1.0: @@ -874,6 +2143,29 @@ packages: binary-extensions: r2.cnpmjs.org/binary-extensions@2.2.0 dev: true + r2.cnpmjs.org/is-docker@2.2.1: + resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/is-docker/-/is-docker-2.2.1.tgz} + name: is-docker + version: 2.2.1 + engines: {node: '>=8'} + hasBin: true + dev: true + + r2.cnpmjs.org/is-docker@3.0.0: + resolution: {integrity: sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/is-docker/-/is-docker-3.0.0.tgz} + name: is-docker + version: 3.0.0 + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + hasBin: true + dev: true + + r2.cnpmjs.org/is-extendable@0.1.1: + resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/is-extendable/-/is-extendable-0.1.1.tgz} + name: is-extendable + version: 0.1.1 + engines: {node: '>=0.10.0'} + dev: true + r2.cnpmjs.org/is-extglob@2.1.1: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/is-extglob/-/is-extglob-2.1.1.tgz} name: is-extglob @@ -897,6 +2189,77 @@ packages: engines: {node: '>=0.12.0'} dev: true + r2.cnpmjs.org/is-stream@2.0.1: + resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/is-stream/-/is-stream-2.0.1.tgz} + name: is-stream + version: 2.0.1 + engines: {node: '>=8'} + dev: true + + r2.cnpmjs.org/is-stream@3.0.0: + resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/is-stream/-/is-stream-3.0.0.tgz} + name: is-stream + version: 3.0.0 + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dev: true + + r2.cnpmjs.org/is-wsl@2.2.0: + resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/is-wsl/-/is-wsl-2.2.0.tgz} + name: is-wsl + version: 2.2.0 + engines: {node: '>=8'} + dependencies: + is-docker: r2.cnpmjs.org/is-docker@2.2.1 + dev: true + + r2.cnpmjs.org/isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/isexe/-/isexe-2.0.0.tgz} + name: isexe + version: 2.0.0 + dev: true + + r2.cnpmjs.org/js-yaml@4.1.0: + resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/js-yaml/-/js-yaml-4.1.0.tgz} + name: js-yaml + version: 4.1.0 + hasBin: true + dependencies: + argparse: r2.cnpmjs.org/argparse@2.0.1 + dev: true + + r2.cnpmjs.org/jsonfile@6.1.0: + resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/jsonfile/-/jsonfile-6.1.0.tgz} + name: jsonfile + version: 6.1.0 + dependencies: + universalify: r2.cnpmjs.org/universalify@2.0.0 + optionalDependencies: + graceful-fs: 4.2.11 + dev: true + + r2.cnpmjs.org/kind-of@6.0.3: + resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/kind-of/-/kind-of-6.0.3.tgz} + name: kind-of + version: 6.0.3 + engines: {node: '>=0.10.0'} + dev: true + + r2.cnpmjs.org/kleur@3.0.3: + resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/kleur/-/kleur-3.0.3.tgz} + name: kleur + version: 3.0.3 + engines: {node: '>=6'} + dev: true + + r2.cnpmjs.org/locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/locate-path/-/locate-path-6.0.0.tgz} + name: locate-path + version: 6.0.0 + engines: {node: '>=10'} + dependencies: + p-locate: r2.cnpmjs.org/p-locate@5.0.0 + dev: true + r2.cnpmjs.org/lodash-es@4.17.21: resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/lodash-es/-/lodash-es-4.17.21.tgz} name: lodash-es @@ -909,6 +2272,54 @@ packages: version: 4.17.21 dev: true + r2.cnpmjs.org/lru-cache@6.0.0: + resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/lru-cache/-/lru-cache-6.0.0.tgz} + name: lru-cache + version: 6.0.0 + engines: {node: '>=10'} + dependencies: + yallist: r2.cnpmjs.org/yallist@4.0.0 + dev: true + + r2.cnpmjs.org/mdurl@1.0.1: + resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/mdurl/-/mdurl-1.0.1.tgz} + name: mdurl + version: 1.0.1 + dev: true + + r2.cnpmjs.org/merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/merge-stream/-/merge-stream-2.0.0.tgz} + name: merge-stream + version: 2.0.0 + dev: true + + r2.cnpmjs.org/merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/merge2/-/merge2-1.4.1.tgz} + name: merge2 + version: 1.4.1 + engines: {node: '>= 8'} + dev: true + + r2.cnpmjs.org/mimic-fn@2.1.0: + resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz} + name: mimic-fn + version: 2.1.0 + engines: {node: '>=6'} + dev: true + + r2.cnpmjs.org/mimic-fn@4.0.0: + resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz} + name: mimic-fn + version: 4.0.0 + engines: {node: '>=12'} + dev: true + + r2.cnpmjs.org/ms@2.1.2: + resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/ms/-/ms-2.1.2.tgz} + name: ms + version: 2.1.2 + dev: true + r2.cnpmjs.org/normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/normalize-path/-/normalize-path-3.0.0.tgz} name: normalize-path @@ -922,10 +2333,76 @@ packages: version: 8.0.1 dev: false - r2.cnpmjs.org/path-parse@1.0.7: - resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/path-parse/-/path-parse-1.0.7.tgz} - name: path-parse - version: 1.0.7 + r2.cnpmjs.org/npm-run-path@4.0.1: + resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz} + name: npm-run-path + version: 4.0.1 + engines: {node: '>=8'} + dependencies: + path-key: r2.cnpmjs.org/path-key@3.1.1 + dev: true + + r2.cnpmjs.org/onetime@5.1.2: + resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/onetime/-/onetime-5.1.2.tgz} + name: onetime + version: 5.1.2 + engines: {node: '>=6'} + dependencies: + mimic-fn: r2.cnpmjs.org/mimic-fn@2.1.0 + dev: true + + r2.cnpmjs.org/onetime@6.0.0: + resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/onetime/-/onetime-6.0.0.tgz} + name: onetime + version: 6.0.0 + engines: {node: '>=12'} + dependencies: + mimic-fn: r2.cnpmjs.org/mimic-fn@4.0.0 + dev: true + + r2.cnpmjs.org/p-limit@3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/p-limit/-/p-limit-3.1.0.tgz} + name: p-limit + version: 3.1.0 + engines: {node: '>=10'} + dependencies: + yocto-queue: r2.cnpmjs.org/yocto-queue@0.1.0 + dev: true + + r2.cnpmjs.org/p-locate@5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/p-locate/-/p-locate-5.0.0.tgz} + name: p-locate + version: 5.0.0 + engines: {node: '>=10'} + dependencies: + p-limit: r2.cnpmjs.org/p-limit@3.1.0 + dev: true + + r2.cnpmjs.org/path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/path-exists/-/path-exists-4.0.0.tgz} + name: path-exists + version: 4.0.0 + engines: {node: '>=8'} + dev: true + + r2.cnpmjs.org/path-key@3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/path-key/-/path-key-3.1.1.tgz} + name: path-key + version: 3.1.1 + engines: {node: '>=8'} + dev: true + + r2.cnpmjs.org/path-key@4.0.0: + resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/path-key/-/path-key-4.0.0.tgz} + name: path-key + version: 4.0.0 + engines: {node: '>=12'} + dev: true + + r2.cnpmjs.org/pathval@1.1.1: + resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/pathval/-/pathval-1.1.1.tgz} + name: pathval + version: 1.1.1 dev: true r2.cnpmjs.org/picocolors@1.0.0: @@ -933,6 +2410,22 @@ packages: name: picocolors version: 1.0.0 + r2.cnpmjs.org/prompts@2.4.2: + resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/prompts/-/prompts-2.4.2.tgz} + name: prompts + version: 2.4.2 + engines: {node: '>= 6'} + dependencies: + kleur: r2.cnpmjs.org/kleur@3.0.3 + sisteransi: r2.cnpmjs.org/sisteransi@1.0.5 + dev: true + + r2.cnpmjs.org/queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz} + name: queue-microtask + version: 1.2.3 + dev: true + r2.cnpmjs.org/readdirp@3.6.0: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/readdirp/-/readdirp-3.6.0.tgz} name: readdirp @@ -942,6 +2435,68 @@ packages: picomatch: 2.3.1 dev: true + r2.cnpmjs.org/reusify@1.0.4: + resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/reusify/-/reusify-1.0.4.tgz} + name: reusify + version: 1.0.4 + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + dev: true + + r2.cnpmjs.org/run-applescript@5.0.0: + resolution: {integrity: sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/run-applescript/-/run-applescript-5.0.0.tgz} + name: run-applescript + version: 5.0.0 + engines: {node: '>=12'} + dependencies: + execa: r2.cnpmjs.org/execa@5.1.1 + dev: true + + r2.cnpmjs.org/run-parallel@1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/run-parallel/-/run-parallel-1.2.0.tgz} + name: run-parallel + version: 1.2.0 + dependencies: + queue-microtask: r2.cnpmjs.org/queue-microtask@1.2.3 + dev: true + + r2.cnpmjs.org/safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz} + name: safer-buffer + version: 2.1.2 + dev: true + + r2.cnpmjs.org/section-matter@1.0.0: + resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/section-matter/-/section-matter-1.0.0.tgz} + name: section-matter + version: 1.0.0 + engines: {node: '>=4'} + dependencies: + extend-shallow: r2.cnpmjs.org/extend-shallow@2.0.1 + kind-of: r2.cnpmjs.org/kind-of@6.0.3 + dev: true + + r2.cnpmjs.org/shebang-command@2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/shebang-command/-/shebang-command-2.0.0.tgz} + name: shebang-command + version: 2.0.0 + engines: {node: '>=8'} + dependencies: + shebang-regex: r2.cnpmjs.org/shebang-regex@3.0.0 + dev: true + + r2.cnpmjs.org/shebang-regex@3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz} + name: shebang-regex + version: 3.0.0 + engines: {node: '>=8'} + dev: true + + r2.cnpmjs.org/sisteransi@1.0.5: + resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/sisteransi/-/sisteransi-1.0.5.tgz} + name: sisteransi + version: 1.0.5 + dev: true + r2.cnpmjs.org/slash@4.0.0: resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/slash/-/slash-4.0.0.tgz} name: slash @@ -949,6 +2504,55 @@ packages: engines: {node: '>=12'} dev: true + r2.cnpmjs.org/source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/source-map/-/source-map-0.6.1.tgz} + name: source-map + version: 0.6.1 + engines: {node: '>=0.10.0'} + dev: true + + r2.cnpmjs.org/sourcemap-codec@1.4.8: + resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz} + name: sourcemap-codec + version: 1.4.8 + deprecated: Please use @jridgewell/sourcemap-codec instead + dev: true + + r2.cnpmjs.org/streamsearch@1.1.0: + resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/streamsearch/-/streamsearch-1.1.0.tgz} + name: streamsearch + version: 1.1.0 + engines: {node: '>=10.0.0'} + dev: true + + r2.cnpmjs.org/strip-bom-string@1.0.0: + resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/strip-bom-string/-/strip-bom-string-1.0.0.tgz} + name: strip-bom-string + version: 1.0.0 + engines: {node: '>=0.10.0'} + dev: true + + r2.cnpmjs.org/strip-final-newline@2.0.0: + resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz} + name: strip-final-newline + version: 2.0.0 + engines: {node: '>=6'} + dev: true + + r2.cnpmjs.org/strip-final-newline@3.0.0: + resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz} + name: strip-final-newline + version: 3.0.0 + engines: {node: '>=12'} + dev: true + + r2.cnpmjs.org/titleize@3.0.0: + resolution: {integrity: sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/titleize/-/titleize-3.0.0.tgz} + name: titleize + version: 3.0.0 + engines: {node: '>=12'} + dev: true + r2.cnpmjs.org/to-fast-properties@2.0.0: resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz} name: to-fast-properties @@ -964,6 +2568,39 @@ packages: is-number: r2.cnpmjs.org/is-number@7.0.0 dev: true + r2.cnpmjs.org/tr46@0.0.3: + resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/tr46/-/tr46-0.0.3.tgz} + name: tr46 + version: 0.0.3 + dev: true + + r2.cnpmjs.org/type-detect@4.0.8: + resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/type-detect/-/type-detect-4.0.8.tgz} + name: type-detect + version: 4.0.8 + engines: {node: '>=4'} + dev: true + + r2.cnpmjs.org/uc.micro@1.0.6: + resolution: {integrity: sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/uc.micro/-/uc.micro-1.0.6.tgz} + name: uc.micro + version: 1.0.6 + dev: true + + r2.cnpmjs.org/universalify@2.0.0: + resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/universalify/-/universalify-2.0.0.tgz} + name: universalify + version: 2.0.0 + engines: {node: '>= 10.0.0'} + dev: true + + r2.cnpmjs.org/untildify@4.0.0: + resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/untildify/-/untildify-4.0.0.tgz} + name: untildify + version: 4.0.0 + engines: {node: '>=8'} + dev: true + r2.cnpmjs.org/uuid@3.1.0: resolution: {integrity: sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/uuid/-/uuid-3.1.0.tgz} name: uuid @@ -991,3 +2628,64 @@ packages: dependencies: uuid: r2.cnpmjs.org/uuid@3.1.0 dev: false + + r2.cnpmjs.org/webidl-conversions@3.0.1: + resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz} + name: webidl-conversions + version: 3.0.1 + dev: true + + r2.cnpmjs.org/webidl-conversions@7.0.0: + resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz} + name: webidl-conversions + version: 7.0.0 + engines: {node: '>=12'} + dev: true + + r2.cnpmjs.org/whatwg-encoding@2.0.0: + resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz} + name: whatwg-encoding + version: 2.0.0 + engines: {node: '>=12'} + dependencies: + iconv-lite: r2.cnpmjs.org/iconv-lite@0.6.3 + dev: true + + r2.cnpmjs.org/whatwg-mimetype@3.0.0: + resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz} + name: whatwg-mimetype + version: 3.0.0 + engines: {node: '>=12'} + dev: true + + r2.cnpmjs.org/whatwg-url@5.0.0: + resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz} + name: whatwg-url + version: 5.0.0 + dependencies: + tr46: r2.cnpmjs.org/tr46@0.0.3 + webidl-conversions: r2.cnpmjs.org/webidl-conversions@3.0.1 + dev: true + + r2.cnpmjs.org/which@2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/which/-/which-2.0.2.tgz} + name: which + version: 2.0.2 + engines: {node: '>= 8'} + hasBin: true + dependencies: + isexe: r2.cnpmjs.org/isexe@2.0.0 + dev: true + + r2.cnpmjs.org/yallist@4.0.0: + resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/yallist/-/yallist-4.0.0.tgz} + name: yallist + version: 4.0.0 + dev: true + + r2.cnpmjs.org/yocto-queue@0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==, registry: http://r.cnpmjs.org/, tarball: https://r2.cnpmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz} + name: yocto-queue + version: 0.1.0 + engines: {node: '>=10'} + dev: true diff --git a/frontend/src/apis/apis.ts b/frontend/src/apis/apis.ts index 4de9e7dc..cb102f70 100644 --- a/frontend/src/apis/apis.ts +++ b/frontend/src/apis/apis.ts @@ -16,7 +16,8 @@ * along with this program. If not, see . */ -import { Dispatch, ResourceServerAddr } from '../../wailsjs/go/main/App'; +import { Dispatch, ResourceServerAddr, OpenFinder, BaseDictDir } from '../../wailsjs/go/main/App'; + import { model } from '../../wailsjs/go/models'; function objectToPathParams(obj) { @@ -37,6 +38,23 @@ export const StaticDictServerURL = function (): Promise { } }; +export const OpenDirOrFile = function(filepath :string):Promise{ + if (window['go']) { + return OpenFinder(filepath) + } else { + Promise.resolve() + } +} + +export const BaseDictDirectory = function():Promise{ + if (window['go']) { + return BaseDictDir() + } else { + Promise.resolve("internal error") + } +} + + export async function requestBackend(apiName, data): Promise { if (window['go']) { diff --git a/frontend/src/assets/css/photon.css b/frontend/src/assets/css/photon.css deleted file mode 100644 index f198b1fb..00000000 --- a/frontend/src/assets/css/photon.css +++ /dev/null @@ -1,2333 +0,0 @@ -/*! - * ===================================================== - * Photon v0.1.1 - * Copyright 2015 Connor Sears - * Licensed under MIT (https://github.com/connors/proton/blob/master/LICENSE) - * - * v0.1.1 designed by @connors. - * ===================================================== - */ - -@charset "UTF-8"; -audio, -canvas, -progress, -video { - vertical-align: baseline; -} - -audio:not([controls]) { - display: none; -} - -a:active, -a:hover { - outline: 0; -} - -abbr[title] { - border-bottom: 1px dotted; -} - -b, -strong { - font-weight: bold; -} - -dfn { - font-style: italic; -} - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -small { - font-size: 80%; -} - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -pre { - overflow: auto; -} - -code, -kbd, -pre, -samp { - font-family: monospace, monospace; - font-size: 1em; -} - -button, -input, -optgroup, -select, -textarea { - color: inherit; - font: inherit; - margin: 0; -} - -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -input[type="search"] { - -webkit-appearance: textfield; - box-sizing: content-box; -} - -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -legend { - border: 0; - padding: 0; -} - -table { - border-collapse: collapse; - border-spacing: 0; -} - -td, -th { - padding: 0; -} - -* { - cursor: default; - -webkit-user-drag: text; - -webkit-user-select: none; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -html { - height: 100%; - width: 100%; - overflow: hidden; -} - -body { - height: 100%; - padding: 0; - margin: 0; - font-family: system, -apple-system, ".SFNSDisplay-Regular", "Helvetica Neue", Helvetica, "Segoe UI", sans-serif; - font-size: 13px; - line-height: 1.6; - color: #333; - background-color: transparent; -} - -hr { - margin: 15px 0; - overflow: hidden; - background: transparent; - border: 0; - border-bottom: 1px solid #ddd; -} - -h1, h2, h3, h4, h5, h6 { - margin-top: 20px; - margin-bottom: 10px; - font-weight: 500; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -h1 { - font-size: 36px; -} - -h2 { - font-size: 30px; -} - -h3 { - font-size: 24px; -} - -h4 { - font-size: 18px; -} - -h5 { - font-size: 14px; -} - -h6 { - font-size: 12px; -} - -.window { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - display: flex; - flex-direction: column; - background-color: #fff; -} - -.window-content { - position: relative; - overflow-y: auto; - display: flex; - flex: 1; -} - -.selectable-text { - cursor: text; - -webkit-user-select: text; -} - -.text-center { - text-align: center; -} - -.text-right { - text-align: right; -} - -.text-left { - text-align: left; -} - -.pull-left { - float: left; -} - -.pull-right { - float: right; -} - -.padded { - padding: 10px; -} - -.padded-less { - padding: 5px; -} - -.padded-more { - padding: 20px; -} - -.padded-vertically { - padding-top: 10px; - padding-bottom: 10px; -} - -.padded-vertically-less { - padding-top: 5px; - padding-bottom: 5px; -} - -.padded-vertically-more { - padding-top: 20px; - padding-bottom: 20px; -} - -.padded-horizontally { - padding-right: 10px; - padding-left: 10px; -} - -.padded-horizontally-less { - padding-right: 5px; - padding-left: 5px; -} - -.padded-horizontally-more { - padding-right: 20px; - padding-left: 20px; -} - -.padded-top { - padding-top: 10px; -} - -.padded-top-less { - padding-top: 5px; -} - -.padded-top-more { - padding-top: 20px; -} - -.padded-bottom { - padding-bottom: 10px; -} - -.padded-bottom-less { - padding-bottom: 5px; -} - -.padded-bottom-more { - padding-bottom: 20px; -} - -.sidebar { - background-color: #f5f5f4; -} - -.draggable { - -webkit-app-region: drag; -} - -.clearfix:before, .clearfix:after { - display: table; - content: " "; -} -.clearfix:after { - clear: both; -} - -.btn { - display: inline-block; - padding: 3px 8px; - margin-bottom: 0; - font-size: 12px; - line-height: 1.4; - text-align: center; - white-space: nowrap; - vertical-align: middle; - cursor: default; - background-image: none; - border: 1px solid transparent; - border-radius: 4px; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06); - -webkit-app-region: no-drag; -} -.btn:focus { - outline: none; - box-shadow: none; -} - -.btn-mini { - padding: 2px 6px; -} - -.btn-large { - padding: 6px 12px; -} - -.btn-form { - padding-right: 20px; - padding-left: 20px; -} - -.btn-default { - color: #333; - border-top-color: #c2c0c2; - border-right-color: #c2c0c2; - border-bottom-color: #a19fa1; - border-left-color: #c2c0c2; - background-color: #fcfcfc; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fcfcfc), color-stop(100%, #f1f1f1)); - background-image: -webkit-linear-gradient(top, #fcfcfc 0%, #f1f1f1 100%); - background-image: linear-gradient(to bottom, #fcfcfc 0%, #f1f1f1 100%); -} -.btn-default:active { - background-color: #ddd; - background-image: none; -} - -.btn-primary, -.btn-positive, -.btn-negative, -.btn-warning { - color: #fff; - text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); -} - -.btn-primary { - border-color: #388df8; - border-bottom-color: #0866dc; - background-color: #6eb4f7; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #6eb4f7), color-stop(100%, #1a82fb)); - background-image: -webkit-linear-gradient(top, #6eb4f7 0%, #1a82fb 100%); - background-image: linear-gradient(to bottom, #6eb4f7 0%, #1a82fb 100%); -} -.btn-primary:active { - background-color: #3e9bf4; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3e9bf4), color-stop(100%, #0469de)); - background-image: -webkit-linear-gradient(top, #3e9bf4 0%, #0469de 100%); - background-image: linear-gradient(to bottom, #3e9bf4 0%, #0469de 100%); -} - -.btn-positive { - border-color: #29a03b; - border-bottom-color: #248b34; - background-color: #5bd46d; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bd46d), color-stop(100%, #29a03b)); - background-image: -webkit-linear-gradient(top, #5bd46d 0%, #29a03b 100%); - background-image: linear-gradient(to bottom, #5bd46d 0%, #29a03b 100%); -} -.btn-positive:active { - background-color: #34c84a; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #34c84a), color-stop(100%, #248b34)); - background-image: -webkit-linear-gradient(top, #34c84a 0%, #248b34 100%); - background-image: linear-gradient(to bottom, #34c84a 0%, #248b34 100%); -} - -.btn-negative { - border-color: #fb2f29; - border-bottom-color: #fb1710; - background-color: #fd918d; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fd918d), color-stop(100%, #fb2f29)); - background-image: -webkit-linear-gradient(top, #fd918d 0%, #fb2f29 100%); - background-image: linear-gradient(to bottom, #fd918d 0%, #fb2f29 100%); -} -.btn-negative:active { - background-color: #fc605b; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fc605b), color-stop(100%, #fb1710)); - background-image: -webkit-linear-gradient(top, #fc605b 0%, #fb1710 100%); - background-image: linear-gradient(to bottom, #fc605b 0%, #fb1710 100%); -} - -.btn-warning { - border-color: #fcaa0e; - border-bottom-color: #ee9d02; - background-color: #fece72; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fece72), color-stop(100%, #fcaa0e)); - background-image: -webkit-linear-gradient(top, #fece72 0%, #fcaa0e 100%); - background-image: linear-gradient(to bottom, #fece72 0%, #fcaa0e 100%); -} -.btn-warning:active { - background-color: #fdbc40; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fdbc40), color-stop(100%, #ee9d02)); - background-image: -webkit-linear-gradient(top, #fdbc40 0%, #ee9d02 100%); - background-image: linear-gradient(to bottom, #fdbc40 0%, #ee9d02 100%); -} - -.btn .icon { - float: left; - width: 14px; - height: 14px; - margin-top: 1px; - margin-bottom: 1px; - color: #737475; - font-size: 14px; - line-height: 1; -} - -.btn .icon-text { - margin-right: 5px; -} - -.btn-dropdown:after { - font-family: "photon-entypo"; - margin-left: 5px; - content: ""; -} - -.btn-group { - position: relative; - display: inline-block; - vertical-align: middle; - -webkit-app-region: no-drag; -} -.btn-group .btn { - position: relative; - float: left; -} -.btn-group .btn:focus, .btn-group .btn:active { - z-index: 2; -} -.btn-group .btn.active { - z-index: 3; -} - -.btn-group .btn + .btn, -.btn-group .btn + .btn-group, -.btn-group .btn-group + .btn, -.btn-group .btn-group + .btn-group { - margin-left: -1px; -} -.btn-group > .btn:first-child { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.btn-group > .btn:last-child { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group > .btn:not(:first-child):not(:last-child) { - border-radius: 0; -} -.btn-group .btn + .btn { - border-left: 1px solid #c2c0c2; -} -.btn-group .btn + .btn.active { - border-left: 0; -} -.btn-group .active { - color: #fff; - border: 1px solid transparent; - background-color: #6d6c6d; - background-image: none; -} -.btn-group .active .icon { - color: #fff; -} - -.toolbar { - min-height: 22px; - box-shadow: inset 0 1px 0 #f5f4f5; - background-color: #e8e6e8; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e8e6e8), color-stop(100%, #d1cfd1)); - background-image: -webkit-linear-gradient(top, #e8e6e8 0%, #d1cfd1 100%); - background-image: linear-gradient(to bottom, #e8e6e8 0%, #d1cfd1 100%); -} -.toolbar:before, .toolbar:after { - display: table; - content: " "; -} -.toolbar:after { - clear: both; -} - -.toolbar-header { - border-bottom: 1px solid #c2c0c2; -} -.toolbar-header .title { - margin-top: 1px; -} - -.toolbar-footer { - border-top: 1px solid #c2c0c2; - -webkit-app-region: drag; -} - -.title { - margin: 0; - font-size: 12px; - font-weight: 400; - text-align: center; - color: #555; - cursor: default; -} - -.toolbar-borderless { - border-top: 0; - border-bottom: 0; -} - -.toolbar-actions { - margin-top: 4px; - margin-bottom: 3px; - padding-right: 3px; - padding-left: 3px; - padding-bottom: 3px; - -webkit-app-region: drag; -} -.toolbar-actions:before, .toolbar-actions:after { - display: table; - content: " "; -} -.toolbar-actions:after { - clear: both; -} -.toolbar-actions > .btn, -.toolbar-actions > .btn-group { - margin-left: 4px; - margin-right: 4px; -} - -label { - display: inline-block; - font-size: 13px; - margin-bottom: 5px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -input[type="search"] { - box-sizing: border-box; -} - -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - line-height: normal; -} - -.form-control { - display: inline-block; - width: 100%; - min-height: 25px; - padding: 5px 10px; - font-size: 13px; - line-height: 1.6; - background-color: #fff; - border: 1px solid #ddd; - border-radius: 4px; - outline: none; -} -.form-control:focus { - border-color: #6db3fd; - box-shadow: 3px 3px 0 #6db3fd, -3px -3px 0 #6db3fd, -3px 3px 0 #6db3fd, 3px -3px 0 #6db3fd; -} - -textarea { - height: auto; -} - -.form-group { - margin-bottom: 10px; -} - -.radio, -.checkbox { - position: relative; - display: block; - margin-top: 10px; - margin-bottom: 10px; -} -.radio label, -.checkbox label { - padding-left: 20px; - margin-bottom: 0; - font-weight: normal; -} - -.radio input[type="radio"], -.radio-inline input[type="radio"], -.checkbox input[type="checkbox"], -.checkbox-inline input[type="checkbox"] { - position: absolute; - margin-left: -20px; - margin-top: 4px; -} - -.form-actions .btn { - margin-right: 10px; -} -.form-actions .btn:last-child { - margin-right: 0; -} - -.pane-group { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - display: flex; -} - -.pane { - position: relative; - overflow-y: auto; - flex: 1; - border-left: 1px solid #ddd; -} -.pane:first-child { - border-left: 0; -} - -.pane-sm { - max-width: 220px; - min-width: 150px; -} - -.pane-mini { - width: 80px; - flex: none; -} - -.pane-one-fourth { - width: 25%; - flex: none; -} - -.pane-one-third { - width: 33.3%; -} - -img { - -webkit-user-drag: text; -} - -.img-circle { - border-radius: 50%; -} - -.img-rounded { - border-radius: 4px; -} - -.list-group { - width: 100%; - list-style: none; - margin: 0; - padding: 0; -} -.list-group * { - margin: 0; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -.list-group-item { - padding: 10px; - font-size: 12px; - color: #414142; - border-top: 1px solid #ddd; -} -.list-group-item:first-child { - border-top: 0; -} -.list-group-item.active, .list-group-item.selected { - color: #fff; - background-color: #116cd6; -} - -.list-group-header { - padding: 10px; -} - -.media-object { - margin-top: 3px; -} - -.media-object.pull-left { - margin-right: 10px; -} - -.media-object.pull-right { - margin-left: 10px; -} - -.media-body { - overflow: hidden; -} - -.nav-group { - font-size: 14px; -} - -.nav-group-item { - padding: 2px 10px 2px 25px; - display: block; - color: #333; - text-decoration: none; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} -.nav-group-item:active, .nav-group-item.active { - background-color: #dcdfe1; -} -.nav-group-item .icon { - width: 19px; - height: 18px; - float: left; - color: #737475; - margin-top: -3px; - margin-right: 7px; - font-size: 18px; - text-align: center; -} - -.nav-group-title { - margin: 0; - padding: 10px 10px 2px; - font-size: 12px; - font-weight: 500; - color: #666666; -} - -@font-face { - font-family: "photon-entypo"; - src: url("../fonts/photon-entypo.eot"); - src: url("../fonts/photon-entypo.eot?#iefix") format("eot"), url("../fonts/photon-entypo.woff") format("woff"), url("../fonts/photon-entypo.ttf") format("truetype"); - font-weight: normal; - font-style: normal; -} -.icon:before { - position: relative; - display: inline-block; - font-family: "photon-entypo"; - speak: none; - font-size: 100%; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.icon-note:before { - content: '\e800'; -} - -/* '' */ -.icon-note-beamed:before { - content: '\e801'; -} - -/* '' */ -.icon-music:before { - content: '\e802'; -} - -/* '' */ -.icon-search:before { - content: '\e803'; -} - -/* '' */ -.icon-flashlight:before { - content: '\e804'; -} - -/* '' */ -.icon-mail:before { - content: '\e805'; -} - -/* '' */ -.icon-heart:before { - content: '\e806'; -} - -/* '' */ -.icon-heart-empty:before { - content: '\e807'; -} - -/* '' */ -.icon-star:before { - content: '\e808'; -} - -/* '' */ -.icon-star-empty:before { - content: '\e809'; -} - -/* '' */ -.icon-user:before { - content: '\e80a'; -} - -/* '' */ -.icon-users:before { - content: '\e80b'; -} - -/* '' */ -.icon-user-add:before { - content: '\e80c'; -} - -/* '' */ -.icon-video:before { - content: '\e80d'; -} - -/* '' */ -.icon-picture:before { - content: '\e80e'; -} - -/* '' */ -.icon-camera:before { - content: '\e80f'; -} - -/* '' */ -.icon-layout:before { - content: '\e810'; -} - -/* '' */ -.icon-menu:before { - content: '\e811'; -} - -/* '' */ -.icon-check:before { - content: '\e812'; -} - -/* '' */ -.icon-cancel:before { - content: '\e813'; -} - -/* '' */ -.icon-cancel-circled:before { - content: '\e814'; -} - -/* '' */ -.icon-cancel-squared:before { - content: '\e815'; -} - -/* '' */ -.icon-plus:before { - content: '\e816'; -} - -/* '' */ -.icon-plus-circled:before { - content: '\e817'; -} - -/* '' */ -.icon-plus-squared:before { - content: '\e818'; -} - -/* '' */ -.icon-minus:before { - content: '\e819'; -} - -/* '' */ -.icon-minus-circled:before { - content: '\e81a'; -} - -/* '' */ -.icon-minus-squared:before { - content: '\e81b'; -} - -/* '' */ -.icon-help:before { - content: '\e81c'; -} - -/* '' */ -.icon-help-circled:before { - content: '\e81d'; -} - -/* '' */ -.icon-info:before { - content: '\e81e'; -} - -/* '' */ -.icon-info-circled:before { - content: '\e81f'; -} - -/* '' */ -.icon-back:before { - content: '\e820'; -} - -/* '' */ -.icon-home:before { - content: '\e821'; -} - -/* '' */ -.icon-link:before { - content: '\e822'; -} - -/* '' */ -.icon-attach:before { - content: '\e823'; -} - -/* '' */ -.icon-lock:before { - content: '\e824'; -} - -/* '' */ -.icon-lock-open:before { - content: '\e825'; -} - -/* '' */ -.icon-eye:before { - content: '\e826'; -} - -/* '' */ -.icon-tag:before { - content: '\e827'; -} - -/* '' */ -.icon-bookmark:before { - content: '\e828'; -} - -/* '' */ -.icon-bookmarks:before { - content: '\e829'; -} - -/* '' */ -.icon-flag:before { - content: '\e82a'; -} - -/* '' */ -.icon-thumbs-up:before { - content: '\e82b'; -} - -/* '' */ -.icon-thumbs-down:before { - content: '\e82c'; -} - -/* '' */ -.icon-download:before { - content: '\e82d'; -} - -/* '' */ -.icon-upload:before { - content: '\e82e'; -} - -/* '' */ -.icon-upload-cloud:before { - content: '\e82f'; -} - -/* '' */ -.icon-reply:before { - content: '\e830'; -} - -/* '' */ -.icon-reply-all:before { - content: '\e831'; -} - -/* '' */ -.icon-forward:before { - content: '\e832'; -} - -/* '' */ -.icon-quote:before { - content: '\e833'; -} - -/* '' */ -.icon-code:before { - content: '\e834'; -} - -/* '' */ -.icon-export:before { - content: '\e835'; -} - -/* '' */ -.icon-pencil:before { - content: '\e836'; -} - -/* '' */ -.icon-feather:before { - content: '\e837'; -} - -/* '' */ -.icon-print:before { - content: '\e838'; -} - -/* '' */ -.icon-retweet:before { - content: '\e839'; -} - -/* '' */ -.icon-keyboard:before { - content: '\e83a'; -} - -/* '' */ -.icon-comment:before { - content: '\e83b'; -} - -/* '' */ -.icon-chat:before { - content: '\e83c'; -} - -/* '' */ -.icon-bell:before { - content: '\e83d'; -} - -/* '' */ -.icon-attention:before { - content: '\e83e'; -} - -/* '' */ -.icon-alert:before { - content: '\e83f'; -} - -/* '' */ -.icon-vcard:before { - content: '\e840'; -} - -/* '' */ -.icon-address:before { - content: '\e841'; -} - -/* '' */ -.icon-location:before { - content: '\e842'; -} - -/* '' */ -.icon-map:before { - content: '\e843'; -} - -/* '' */ -.icon-direction:before { - content: '\e844'; -} - -/* '' */ -.icon-compass:before { - content: '\e845'; -} - -/* '' */ -.icon-cup:before { - content: '\e846'; -} - -/* '' */ -.icon-trash:before { - content: '\e847'; -} - -/* '' */ -.icon-doc:before { - content: '\e848'; -} - -/* '' */ -.icon-docs:before { - content: '\e849'; -} - -/* '' */ -.icon-doc-landscape:before { - content: '\e84a'; -} - -/* '' */ -.icon-doc-text:before { - content: '\e84b'; -} - -/* '' */ -.icon-doc-text-inv:before { - content: '\e84c'; -} - -/* '' */ -.icon-newspaper:before { - content: '\e84d'; -} - -/* '' */ -.icon-book-open:before { - content: '\e84e'; -} - -/* '' */ -.icon-book:before { - content: '\e84f'; -} - -/* '' */ -.icon-folder:before { - content: '\e850'; -} - -/* '' */ -.icon-archive:before { - content: '\e851'; -} - -/* '' */ -.icon-box:before { - content: '\e852'; -} - -/* '' */ -.icon-rss:before { - content: '\e853'; -} - -/* '' */ -.icon-phone:before { - content: '\e854'; -} - -/* '' */ -.icon-cog:before { - content: '\e855'; -} - -/* '' */ -.icon-tools:before { - content: '\e856'; -} - -/* '' */ -.icon-share:before { - content: '\e857'; -} - -/* '' */ -.icon-shareable:before { - content: '\e858'; -} - -/* '' */ -.icon-basket:before { - content: '\e859'; -} - -/* '' */ -.icon-bag:before { - content: '\e85a'; -} - -/* '' */ -.icon-calendar:before { - content: '\e85b'; -} - -/* '' */ -.icon-login:before { - content: '\e85c'; -} - -/* '' */ -.icon-logout:before { - content: '\e85d'; -} - -/* '' */ -.icon-mic:before { - content: '\e85e'; -} - -/* '' */ -.icon-mute:before { - content: '\e85f'; -} - -/* '' */ -.icon-sound:before { - content: '\e860'; -} - -/* '' */ -.icon-volume:before { - content: '\e861'; -} - -/* '' */ -.icon-clock:before { - content: '\e862'; -} - -/* '' */ -.icon-hourglass:before { - content: '\e863'; -} - -/* '' */ -.icon-lamp:before { - content: '\e864'; -} - -/* '' */ -.icon-light-down:before { - content: '\e865'; -} - -/* '' */ -.icon-light-up:before { - content: '\e866'; -} - -/* '' */ -.icon-adjust:before { - content: '\e867'; -} - -/* '' */ -.icon-block:before { - content: '\e868'; -} - -/* '' */ -.icon-resize-full:before { - content: '\e869'; -} - -/* '' */ -.icon-resize-small:before { - content: '\e86a'; -} - -/* '' */ -.icon-popup:before { - content: '\e86b'; -} - -/* '' */ -.icon-publish:before { - content: '\e86c'; -} - -/* '' */ -.icon-window:before { - content: '\e86d'; -} - -/* '' */ -.icon-arrow-combo:before { - content: '\e86e'; -} - -/* '' */ -.icon-down-circled:before { - content: '\e86f'; -} - -/* '' */ -.icon-left-circled:before { - content: '\e870'; -} - -/* '' */ -.icon-right-circled:before { - content: '\e871'; -} - -/* '' */ -.icon-up-circled:before { - content: '\e872'; -} - -/* '' */ -.icon-down-open:before { - content: '\e873'; -} - -/* '' */ -.icon-left-open:before { - content: '\e874'; -} - -/* '' */ -.icon-right-open:before { - content: '\e875'; -} - -/* '' */ -.icon-up-open:before { - content: '\e876'; -} - -/* '' */ -.icon-down-open-mini:before { - content: '\e877'; -} - -/* '' */ -.icon-left-open-mini:before { - content: '\e878'; -} - -/* '' */ -.icon-right-open-mini:before { - content: '\e879'; -} - -/* '' */ -.icon-up-open-mini:before { - content: '\e87a'; -} - -/* '' */ -.icon-down-open-big:before { - content: '\e87b'; -} - -/* '' */ -.icon-left-open-big:before { - content: '\e87c'; -} - -/* '' */ -.icon-right-open-big:before { - content: '\e87d'; -} - -/* '' */ -.icon-up-open-big:before { - content: '\e87e'; -} - -/* '' */ -.icon-down:before { - content: '\e87f'; -} - -/* '' */ -.icon-left:before { - content: '\e880'; -} - -/* '' */ -.icon-right:before { - content: '\e881'; -} - -/* '' */ -.icon-up:before { - content: '\e882'; -} - -/* '' */ -.icon-down-dir:before { - content: '\e883'; -} - -/* '' */ -.icon-left-dir:before { - content: '\e884'; -} - -/* '' */ -.icon-right-dir:before { - content: '\e885'; -} - -/* '' */ -.icon-up-dir:before { - content: '\e886'; -} - -/* '' */ -.icon-down-bold:before { - content: '\e887'; -} - -/* '' */ -.icon-left-bold:before { - content: '\e888'; -} - -/* '' */ -.icon-right-bold:before { - content: '\e889'; -} - -/* '' */ -.icon-up-bold:before { - content: '\e88a'; -} - -/* '' */ -.icon-down-thin:before { - content: '\e88b'; -} - -/* '' */ -.icon-left-thin:before { - content: '\e88c'; -} - -/* '' */ -.icon-right-thin:before { - content: '\e88d'; -} - -/* '' */ -.icon-up-thin:before { - content: '\e88e'; -} - -/* '' */ -.icon-ccw:before { - content: '\e88f'; -} - -/* '' */ -.icon-cw:before { - content: '\e890'; -} - -/* '' */ -.icon-arrows-ccw:before { - content: '\e891'; -} - -/* '' */ -.icon-level-down:before { - content: '\e892'; -} - -/* '' */ -.icon-level-up:before { - content: '\e893'; -} - -/* '' */ -.icon-shuffle:before { - content: '\e894'; -} - -/* '' */ -.icon-loop:before { - content: '\e895'; -} - -/* '' */ -.icon-switch:before { - content: '\e896'; -} - -/* '' */ -.icon-play:before { - content: '\e897'; -} - -/* '' */ -.icon-stop:before { - content: '\e898'; -} - -/* '' */ -.icon-pause:before { - content: '\e899'; -} - -/* '' */ -.icon-record:before { - content: '\e89a'; -} - -/* '' */ -.icon-to-end:before { - content: '\e89b'; -} - -/* '' */ -.icon-to-start:before { - content: '\e89c'; -} - -/* '' */ -.icon-fast-forward:before { - content: '\e89d'; -} - -/* '' */ -.icon-fast-backward:before { - content: '\e89e'; -} - -/* '' */ -.icon-progress-0:before { - content: '\e89f'; -} - -/* '' */ -.icon-progress-1:before { - content: '\e8a0'; -} - -/* '' */ -.icon-progress-2:before { - content: '\e8a1'; -} - -/* '' */ -.icon-progress-3:before { - content: '\e8a2'; -} - -/* '' */ -.icon-target:before { - content: '\e8a3'; -} - -/* '' */ -.icon-palette:before { - content: '\e8a4'; -} - -/* '' */ -.icon-list:before { - content: '\e8a5'; -} - -/* '' */ -.icon-list-add:before { - content: '\e8a6'; -} - -/* '' */ -.icon-signal:before { - content: '\e8a7'; -} - -/* '' */ -.icon-trophy:before { - content: '\e8a8'; -} - -/* '' */ -.icon-battery:before { - content: '\e8a9'; -} - -/* '' */ -.icon-back-in-time:before { - content: '\e8aa'; -} - -/* '' */ -.icon-monitor:before { - content: '\e8ab'; -} - -/* '' */ -.icon-mobile:before { - content: '\e8ac'; -} - -/* '' */ -.icon-network:before { - content: '\e8ad'; -} - -/* '' */ -.icon-cd:before { - content: '\e8ae'; -} - -/* '' */ -.icon-inbox:before { - content: '\e8af'; -} - -/* '' */ -.icon-install:before { - content: '\e8b0'; -} - -/* '' */ -.icon-globe:before { - content: '\e8b1'; -} - -/* '' */ -.icon-cloud:before { - content: '\e8b2'; -} - -/* '' */ -.icon-cloud-thunder:before { - content: '\e8b3'; -} - -/* '' */ -.icon-flash:before { - content: '\e8b4'; -} - -/* '' */ -.icon-moon:before { - content: '\e8b5'; -} - -/* '' */ -.icon-flight:before { - content: '\e8b6'; -} - -/* '' */ -.icon-paper-plane:before { - content: '\e8b7'; -} - -/* '' */ -.icon-leaf:before { - content: '\e8b8'; -} - -/* '' */ -.icon-lifebuoy:before { - content: '\e8b9'; -} - -/* '' */ -.icon-mouse:before { - content: '\e8ba'; -} - -/* '' */ -.icon-briefcase:before { - content: '\e8bb'; -} - -/* '' */ -.icon-suitcase:before { - content: '\e8bc'; -} - -/* '' */ -.icon-dot:before { - content: '\e8bd'; -} - -/* '' */ -.icon-dot-2:before { - content: '\e8be'; -} - -/* '' */ -.icon-dot-3:before { - content: '\e8bf'; -} - -/* '' */ -.icon-brush:before { - content: '\e8c0'; -} - -/* '' */ -.icon-magnet:before { - content: '\e8c1'; -} - -/* '' */ -.icon-infinity:before { - content: '\e8c2'; -} - -/* '' */ -.icon-erase:before { - content: '\e8c3'; -} - -/* '' */ -.icon-chart-pie:before { - content: '\e8c4'; -} - -/* '' */ -.icon-chart-line:before { - content: '\e8c5'; -} - -/* '' */ -.icon-chart-bar:before { - content: '\e8c6'; -} - -/* '' */ -.icon-chart-area:before { - content: '\e8c7'; -} - -/* '' */ -.icon-tape:before { - content: '\e8c8'; -} - -/* '' */ -.icon-graduation-cap:before { - content: '\e8c9'; -} - -/* '' */ -.icon-language:before { - content: '\e8ca'; -} - -/* '' */ -.icon-ticket:before { - content: '\e8cb'; -} - -/* '' */ -.icon-water:before { - content: '\e8cc'; -} - -/* '' */ -.icon-droplet:before { - content: '\e8cd'; -} - -/* '' */ -.icon-air:before { - content: '\e8ce'; -} - -/* '' */ -.icon-credit-card:before { - content: '\e8cf'; -} - -/* '' */ -.icon-floppy:before { - content: '\e8d0'; -} - -/* '' */ -.icon-clipboard:before { - content: '\e8d1'; -} - -/* '' */ -.icon-megaphone:before { - content: '\e8d2'; -} - -/* '' */ -.icon-database:before { - content: '\e8d3'; -} - -/* '' */ -.icon-drive:before { - content: '\e8d4'; -} - -/* '' */ -.icon-bucket:before { - content: '\e8d5'; -} - -/* '' */ -.icon-thermometer:before { - content: '\e8d6'; -} - -/* '' */ -.icon-key:before { - content: '\e8d7'; -} - -/* '' */ -.icon-flow-cascade:before { - content: '\e8d8'; -} - -/* '' */ -.icon-flow-branch:before { - content: '\e8d9'; -} - -/* '' */ -.icon-flow-tree:before { - content: '\e8da'; -} - -/* '' */ -.icon-flow-line:before { - content: '\e8db'; -} - -/* '' */ -.icon-flow-parallel:before { - content: '\e8dc'; -} - -/* '' */ -.icon-rocket:before { - content: '\e8dd'; -} - -/* '' */ -.icon-gauge:before { - content: '\e8de'; -} - -/* '' */ -.icon-traffic-cone:before { - content: '\e8df'; -} - -/* '' */ -.icon-cc:before { - content: '\e8e0'; -} - -/* '' */ -.icon-cc-by:before { - content: '\e8e1'; -} - -/* '' */ -.icon-cc-nc:before { - content: '\e8e2'; -} - -/* '' */ -.icon-cc-nc-eu:before { - content: '\e8e3'; -} - -/* '' */ -.icon-cc-nc-jp:before { - content: '\e8e4'; -} - -/* '' */ -.icon-cc-sa:before { - content: '\e8e5'; -} - -/* '' */ -.icon-cc-nd:before { - content: '\e8e6'; -} - -/* '' */ -.icon-cc-pd:before { - content: '\e8e7'; -} - -/* '' */ -.icon-cc-zero:before { - content: '\e8e8'; -} - -/* '' */ -.icon-cc-share:before { - content: '\e8e9'; -} - -/* '' */ -.icon-cc-remix:before { - content: '\e8ea'; -} - -/* '' */ -.icon-github:before { - content: '\e8eb'; -} - -/* '' */ -.icon-github-circled:before { - content: '\e8ec'; -} - -/* '' */ -.icon-flickr:before { - content: '\e8ed'; -} - -/* '' */ -.icon-flickr-circled:before { - content: '\e8ee'; -} - -/* '' */ -.icon-vimeo:before { - content: '\e8ef'; -} - -/* '' */ -.icon-vimeo-circled:before { - content: '\e8f0'; -} - -/* '' */ -.icon-twitter:before { - content: '\e8f1'; -} - -/* '' */ -.icon-twitter-circled:before { - content: '\e8f2'; -} - -/* '' */ -.icon-facebook:before { - content: '\e8f3'; -} - -/* '' */ -.icon-facebook-circled:before { - content: '\e8f4'; -} - -/* '' */ -.icon-facebook-squared:before { - content: '\e8f5'; -} - -/* '' */ -.icon-gplus:before { - content: '\e8f6'; -} - -/* '' */ -.icon-gplus-circled:before { - content: '\e8f7'; -} - -/* '' */ -.icon-pinterest:before { - content: '\e8f8'; -} - -/* '' */ -.icon-pinterest-circled:before { - content: '\e8f9'; -} - -/* '' */ -.icon-tumblr:before { - content: '\e8fa'; -} - -/* '' */ -.icon-tumblr-circled:before { - content: '\e8fb'; -} - -/* '' */ -.icon-linkedin:before { - content: '\e8fc'; -} - -/* '' */ -.icon-linkedin-circled:before { - content: '\e8fd'; -} - -/* '' */ -.icon-dribbble:before { - content: '\e8fe'; -} - -/* '' */ -.icon-dribbble-circled:before { - content: '\e8ff'; -} - -/* '' */ -.icon-stumbleupon:before { - content: '\e900'; -} - -/* '' */ -.icon-stumbleupon-circled:before { - content: '\e901'; -} - -/* '' */ -.icon-lastfm:before { - content: '\e902'; -} - -/* '' */ -.icon-lastfm-circled:before { - content: '\e903'; -} - -/* '' */ -.icon-rdio:before { - content: '\e904'; -} - -/* '' */ -.icon-rdio-circled:before { - content: '\e905'; -} - -/* '' */ -.icon-spotify:before { - content: '\e906'; -} - -/* '' */ -.icon-spotify-circled:before { - content: '\e907'; -} - -/* '' */ -.icon-qq:before { - content: '\e908'; -} - -/* '' */ -.icon-instagram:before { - content: '\e909'; -} - -/* '' */ -.icon-dropbox:before { - content: '\e90a'; -} - -/* '' */ -.icon-evernote:before { - content: '\e90b'; -} - -/* '' */ -.icon-flattr:before { - content: '\e90c'; -} - -/* '' */ -.icon-skype:before { - content: '\e90d'; -} - -/* '' */ -.icon-skype-circled:before { - content: '\e90e'; -} - -/* '' */ -.icon-renren:before { - content: '\e90f'; -} - -/* '' */ -.icon-sina-weibo:before { - content: '\e910'; -} - -/* '' */ -.icon-paypal:before { - content: '\e911'; -} - -/* '' */ -.icon-picasa:before { - content: '\e912'; -} - -/* '' */ -.icon-soundcloud:before { - content: '\e913'; -} - -/* '' */ -.icon-mixi:before { - content: '\e914'; -} - -/* '' */ -.icon-behance:before { - content: '\e915'; -} - -/* '' */ -.icon-google-circles:before { - content: '\e916'; -} - -/* '' */ -.icon-vkontakte:before { - content: '\e917'; -} - -/* '' */ -.icon-smashing:before { - content: '\e918'; -} - -/* '' */ -.icon-sweden:before { - content: '\e919'; -} - -/* '' */ -.icon-db-shape:before { - content: '\e91a'; -} - -/* '' */ -.icon-logo-db:before { - content: '\e91b'; -} - -/* '' */ -table { - width: 100%; - border: 0; - border-collapse: separate; - font-size: 12px; - text-align: left; -} - -thead { - background-color: #f5f5f4; -} - -tbody { - background-color: #fff; -} - -.table-striped tr:nth-child(even) { - background-color: #f5f5f4; -} - -tr:active, -.table-striped tr:active:nth-child(even) { - color: #fff; - background-color: #116cd6; -} - -thead tr:active { - color: #333; - background-color: #f5f5f4; -} - -th { - font-weight: normal; - border-right: 1px solid #ddd; - border-bottom: 1px solid #ddd; -} - -th, -td { - padding: 2px 15px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} -th:last-child, -td:last-child { - border-right: 0; -} - -.tab-group { - margin-top: -1px; - display: flex; - border-top: 1px solid #989698; - border-bottom: 1px solid #989698; -} - -.tab-item { - position: relative; - flex: 1; - padding: 3px; - font-size: 12px; - text-align: center; - border-left: 1px solid #989698; - background-color: #b8b6b8; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b8b6b8), color-stop(100%, #b0aeb0)); - background-image: -webkit-linear-gradient(top, #b8b6b8 0%, #b0aeb0 100%); - background-image: linear-gradient(to bottom, #b8b6b8 0%, #b0aeb0 100%); -} -.tab-item:first-child { - border-left: 0; -} -.tab-item.active { - background-color: #d4d2d4; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d4d2d4), color-stop(100%, #cccacc)); - background-image: -webkit-linear-gradient(top, #d4d2d4 0%, #cccacc 100%); - background-image: linear-gradient(to bottom, #d4d2d4 0%, #cccacc 100%); -} -.tab-item .icon-close-tab { - position: absolute; - top: 50%; - left: 5px; - width: 15px; - height: 15px; - font-size: 15px; - line-height: 15px; - text-align: center; - color: #666; - opacity: 0; - transition: opacity .1s linear, background-color .1s linear; - border-radius: 3px; - transform: translateY(-50%); - z-index: 10; -} -.tab-item:after { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - content: ""; - background-color: rgba(0, 0, 0, 0.08); - opacity: 0; - transition: opacity .1s linear; - z-index: 1; -} -.tab-item:hover:not(.active):after { - opacity: 1; -} -.tab-item:hover .icon-close-tab { - opacity: 1; -} -.tab-item .icon-close-tab:hover { - background-color: rgba(0, 0, 0, 0.08); -} - -.tab-item-fixed { - flex: none; - padding: 3px 10px; -} diff --git a/frontend/src/assets/css/photon.min.css b/frontend/src/assets/css/photon.min.css deleted file mode 100644 index 35497345..00000000 --- a/frontend/src/assets/css/photon.min.css +++ /dev/null @@ -1,9 +0,0 @@ -@charset "UTF-8";/*! - * ===================================================== - * Photon v0.1.1 - * Copyright 2015 Connor Sears - * Licensed under MIT (https://github.com/connors/proton/blob/master/LICENSE) - * - * v0.1.1 designed by @connors. - * ===================================================== - */audio,canvas,progress,sub,sup,video{vertical-align:baseline}body,html{height:100%}hr,html,label{overflow:hidden}.clearfix:after,.toolbar-actions:after,.toolbar:after{clear:both}*,img{-webkit-user-drag:text}.list-group *,.nav-group-item,h1,h2,h3,h4,h5,h6,label,td,th{white-space:nowrap;text-overflow:ellipsis}audio:not([controls]){display:none}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:36px}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sup{top:-.5em}.pane-group,.window{top:0;left:0;right:0}sub{bottom:-.25em}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}*{cursor:default;-webkit-user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box}html{width:100%}body{padding:0;margin:0;font-family:system,-apple-system,".SFNSDisplay-Regular","Helvetica Neue",Helvetica,"Segoe UI",sans-serif;font-size:13px;line-height:1.6;color:#333;background-color:transparent}.btn-dropdown:after,.icon:before{font-family:photon-entypo}hr{margin:15px 0;background:0 0;border:0;border-bottom:1px solid #ddd}h1,h2,h3,h4,h5,h6{margin-top:20px;margin-bottom:10px;font-weight:500;overflow:hidden}.btn .icon,.toolbar-header .title{margin-top:1px}h2{font-size:30px}h3{font-size:24px}h4{font-size:18px}h5{font-size:14px}.btn,h6{font-size:12px}.window{position:absolute;bottom:0;display:flex;flex-direction:column;background-color:#fff}.window-content{position:relative;overflow-y:auto;display:flex;flex:1}.selectable-text{cursor:text;-webkit-user-select:text}.btn,.title{cursor:default}.text-center{text-align:center}.text-right{text-align:right}.text-left{text-align:left}.btn,.title{text-align:center}.pull-left{float:left}.pull-right{float:right}.padded{padding:10px}.padded-less{padding:5px}.padded-more{padding:20px}.padded-vertically{padding-top:10px;padding-bottom:10px}.padded-vertically-less{padding-top:5px;padding-bottom:5px}.padded-vertically-more{padding-top:20px;padding-bottom:20px}.padded-horizontally{padding-right:10px;padding-left:10px}.padded-horizontally-less{padding-right:5px;padding-left:5px}.padded-horizontally-more{padding-right:20px;padding-left:20px}.padded-top{padding-top:10px}.padded-top-less{padding-top:5px}.padded-top-more{padding-top:20px}.padded-bottom{padding-bottom:10px}.padded-bottom-less{padding-bottom:5px}.padded-bottom-more{padding-bottom:20px}.sidebar{background-color:#f5f5f4}.draggable{-webkit-app-region:drag}.btn,.btn-group{vertical-align:middle;-webkit-app-region:no-drag}.clearfix:after,.clearfix:before{display:table;content:" "}.btn{display:inline-block;padding:3px 8px;margin-bottom:0;line-height:1.4;white-space:nowrap;background-image:none;border:1px solid transparent;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.06)}.btn:focus{outline:0;box-shadow:none}.btn-mini{padding:2px 6px}.btn-large{padding:6px 12px}.btn-form{padding-right:20px;padding-left:20px}.btn-default{color:#333;background-color:#fcfcfc;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fcfcfc),color-stop(100%,#f1f1f1));background-image:-webkit-linear-gradient(top,#fcfcfc 0,#f1f1f1 100%);background-image:linear-gradient(to bottom,#fcfcfc 0,#f1f1f1 100%);border-color:#c2c0c2 #c2c0c2 #a19fa1}.btn-default:active{background-color:#ddd;background-image:none}.btn-negative,.btn-positive,.btn-primary,.btn-warning{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.1)}.btn-primary{border-color:#388df8 #388df8 #0866dc;background-color:#6eb4f7;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#6eb4f7),color-stop(100%,#1a82fb));background-image:-webkit-linear-gradient(top,#6eb4f7 0,#1a82fb 100%);background-image:linear-gradient(to bottom,#6eb4f7 0,#1a82fb 100%)}.btn-primary:active{background-color:#3e9bf4;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#3e9bf4),color-stop(100%,#0469de));background-image:-webkit-linear-gradient(top,#3e9bf4 0,#0469de 100%);background-image:linear-gradient(to bottom,#3e9bf4 0,#0469de 100%)}.btn-positive{border-color:#29a03b #29a03b #248b34;background-color:#5bd46d;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#5bd46d),color-stop(100%,#29a03b));background-image:-webkit-linear-gradient(top,#5bd46d 0,#29a03b 100%);background-image:linear-gradient(to bottom,#5bd46d 0,#29a03b 100%)}.btn-positive:active{background-color:#34c84a;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#34c84a),color-stop(100%,#248b34));background-image:-webkit-linear-gradient(top,#34c84a 0,#248b34 100%);background-image:linear-gradient(to bottom,#34c84a 0,#248b34 100%)}.btn-negative{border-color:#fb2f29 #fb2f29 #fb1710;background-color:#fd918d;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fd918d),color-stop(100%,#fb2f29));background-image:-webkit-linear-gradient(top,#fd918d 0,#fb2f29 100%);background-image:linear-gradient(to bottom,#fd918d 0,#fb2f29 100%)}.btn-negative:active{background-color:#fc605b;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fc605b),color-stop(100%,#fb1710));background-image:-webkit-linear-gradient(top,#fc605b 0,#fb1710 100%);background-image:linear-gradient(to bottom,#fc605b 0,#fb1710 100%)}.btn-warning{border-color:#fcaa0e #fcaa0e #ee9d02;background-color:#fece72;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fece72),color-stop(100%,#fcaa0e));background-image:-webkit-linear-gradient(top,#fece72 0,#fcaa0e 100%);background-image:linear-gradient(to bottom,#fece72 0,#fcaa0e 100%)}.btn-warning:active{background-color:#fdbc40;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fdbc40),color-stop(100%,#ee9d02));background-image:-webkit-linear-gradient(top,#fdbc40 0,#ee9d02 100%);background-image:linear-gradient(to bottom,#fdbc40 0,#ee9d02 100%)}.btn .icon{float:left;width:14px;height:14px;margin-bottom:1px;color:#737475;font-size:14px;line-height:1}.btn .icon-text{margin-right:5px}.btn-dropdown:after{margin-left:5px;content:""}.btn-group{position:relative;display:inline-block}.toolbar-actions:after,.toolbar-actions:before,.toolbar:after,.toolbar:before{display:table;content:" "}.btn-group .btn{position:relative;float:left}.btn-group .btn:active,.btn-group .btn:focus{z-index:2}.btn-group .btn.active{z-index:3}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-group>.btn:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group .btn+.btn{border-left:1px solid #c2c0c2}.btn-group .btn+.btn.active{border-left:0}.btn-group .active{color:#fff;border:1px solid transparent;background-color:#6d6c6d;background-image:none}.btn-group .active .icon{color:#fff}.toolbar{min-height:22px;box-shadow:inset 0 1px 0 #f5f4f5;background-color:#e8e6e8;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#e8e6e8),color-stop(100%,#d1cfd1));background-image:-webkit-linear-gradient(top,#e8e6e8 0,#d1cfd1 100%);background-image:linear-gradient(to bottom,#e8e6e8 0,#d1cfd1 100%)}.toolbar-header{border-bottom:1px solid #c2c0c2}.toolbar-footer{border-top:1px solid #c2c0c2;-webkit-app-region:drag}.title{margin:0;font-size:12px;font-weight:400;color:#555}.toolbar-borderless{border-top:0;border-bottom:0}.toolbar-actions{margin-top:4px;margin-bottom:3px;padding-right:3px;padding-left:3px;padding-bottom:3px;-webkit-app-region:drag}.form-control,label{display:inline-block;font-size:13px}.toolbar-actions>.btn,.toolbar-actions>.btn-group{margin-left:4px;margin-right:4px}label{margin-bottom:5px}input[type=search]{-webkit-appearance:textfield;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;line-height:normal}.checkbox,.form-group,.radio{margin-bottom:10px}.form-control{width:100%;min-height:25px;padding:5px 10px;line-height:1.6;background-color:#fff;border:1px solid #ddd;border-radius:4px;outline:0}.form-control:focus{border-color:#6db3fd;box-shadow:3px 3px 0 #6db3fd,-3px -3px 0 #6db3fd,-3px 3px 0 #6db3fd,3px -3px 0 #6db3fd}textarea{height:auto}.checkbox,.radio{position:relative;display:block;margin-top:10px}.checkbox label,.radio label{padding-left:20px;margin-bottom:0;font-weight:400}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-left:-20px;margin-top:4px}.form-actions .btn{margin-right:10px}.form-actions .btn:last-child{margin-right:0}.pane-group{position:absolute;bottom:0;display:flex}.icon:before,.pane,.tab-item{position:relative}.pane{overflow-y:auto;flex:1;border-left:1px solid #ddd}.list-group *,.media-body,.nav-group-item,td,th{overflow:hidden}.pane:first-child{border-left:0}.pane-sm{max-width:220px;min-width:150px}.pane-mini{width:80px;flex:none}.pane-one-fourth{width:25%;flex:none}.pane-one-third{width:33.3%}.img-circle{border-radius:50%}.img-rounded{border-radius:4px}.list-group{width:100%;list-style:none;margin:0;padding:0}.list-group *{margin:0}.list-group-item{padding:10px;font-size:12px;color:#414142;border-top:1px solid #ddd}.list-group-item:first-child{border-top:0}.list-group-item.active,.list-group-item.selected{color:#fff;background-color:#116cd6}.list-group-header{padding:10px}.media-object{margin-top:3px}.media-object.pull-left{margin-right:10px}.media-object.pull-right{margin-left:10px}.nav-group{font-size:14px}.nav-group-item{padding:2px 10px 2px 25px;display:block;color:#333;text-decoration:none}.nav-group-item.active,.nav-group-item:active{background-color:#dcdfe1}.nav-group-item .icon{width:19px;height:18px;float:left;color:#737475;margin-top:-3px;margin-right:7px;font-size:18px;text-align:center}.nav-group-title{margin:0;padding:10px 10px 2px;font-size:12px;font-weight:500;color:#666}.icon:before,th{font-weight:400}@font-face{font-family:photon-entypo;src:url(../fonts/photon-entypo.eot);src:url(../fonts/photon-entypo.eot?#iefix) format("eot"),url(../fonts/photon-entypo.woff) format("woff"),url(../fonts/photon-entypo.ttf) format("truetype");font-weight:400;font-style:normal}.icon:before{display:inline-block;speak:none;font-size:100%;font-style:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-note:before{content:'\e800'}.icon-note-beamed:before{content:'\e801'}.icon-music:before{content:'\e802'}.icon-search:before{content:'\e803'}.icon-flashlight:before{content:'\e804'}.icon-mail:before{content:'\e805'}.icon-heart:before{content:'\e806'}.icon-heart-empty:before{content:'\e807'}.icon-star:before{content:'\e808'}.icon-star-empty:before{content:'\e809'}.icon-user:before{content:'\e80a'}.icon-users:before{content:'\e80b'}.icon-user-add:before{content:'\e80c'}.icon-video:before{content:'\e80d'}.icon-picture:before{content:'\e80e'}.icon-camera:before{content:'\e80f'}.icon-layout:before{content:'\e810'}.icon-menu:before{content:'\e811'}.icon-check:before{content:'\e812'}.icon-cancel:before{content:'\e813'}.icon-cancel-circled:before{content:'\e814'}.icon-cancel-squared:before{content:'\e815'}.icon-plus:before{content:'\e816'}.icon-plus-circled:before{content:'\e817'}.icon-plus-squared:before{content:'\e818'}.icon-minus:before{content:'\e819'}.icon-minus-circled:before{content:'\e81a'}.icon-minus-squared:before{content:'\e81b'}.icon-help:before{content:'\e81c'}.icon-help-circled:before{content:'\e81d'}.icon-info:before{content:'\e81e'}.icon-info-circled:before{content:'\e81f'}.icon-back:before{content:'\e820'}.icon-home:before{content:'\e821'}.icon-link:before{content:'\e822'}.icon-attach:before{content:'\e823'}.icon-lock:before{content:'\e824'}.icon-lock-open:before{content:'\e825'}.icon-eye:before{content:'\e826'}.icon-tag:before{content:'\e827'}.icon-bookmark:before{content:'\e828'}.icon-bookmarks:before{content:'\e829'}.icon-flag:before{content:'\e82a'}.icon-thumbs-up:before{content:'\e82b'}.icon-thumbs-down:before{content:'\e82c'}.icon-download:before{content:'\e82d'}.icon-upload:before{content:'\e82e'}.icon-upload-cloud:before{content:'\e82f'}.icon-reply:before{content:'\e830'}.icon-reply-all:before{content:'\e831'}.icon-forward:before{content:'\e832'}.icon-quote:before{content:'\e833'}.icon-code:before{content:'\e834'}.icon-export:before{content:'\e835'}.icon-pencil:before{content:'\e836'}.icon-feather:before{content:'\e837'}.icon-print:before{content:'\e838'}.icon-retweet:before{content:'\e839'}.icon-keyboard:before{content:'\e83a'}.icon-comment:before{content:'\e83b'}.icon-chat:before{content:'\e83c'}.icon-bell:before{content:'\e83d'}.icon-attention:before{content:'\e83e'}.icon-alert:before{content:'\e83f'}.icon-vcard:before{content:'\e840'}.icon-address:before{content:'\e841'}.icon-location:before{content:'\e842'}.icon-map:before{content:'\e843'}.icon-direction:before{content:'\e844'}.icon-compass:before{content:'\e845'}.icon-cup:before{content:'\e846'}.icon-trash:before{content:'\e847'}.icon-doc:before{content:'\e848'}.icon-docs:before{content:'\e849'}.icon-doc-landscape:before{content:'\e84a'}.icon-doc-text:before{content:'\e84b'}.icon-doc-text-inv:before{content:'\e84c'}.icon-newspaper:before{content:'\e84d'}.icon-book-open:before{content:'\e84e'}.icon-book:before{content:'\e84f'}.icon-folder:before{content:'\e850'}.icon-archive:before{content:'\e851'}.icon-box:before{content:'\e852'}.icon-rss:before{content:'\e853'}.icon-phone:before{content:'\e854'}.icon-cog:before{content:'\e855'}.icon-tools:before{content:'\e856'}.icon-share:before{content:'\e857'}.icon-shareable:before{content:'\e858'}.icon-basket:before{content:'\e859'}.icon-bag:before{content:'\e85a'}.icon-calendar:before{content:'\e85b'}.icon-login:before{content:'\e85c'}.icon-logout:before{content:'\e85d'}.icon-mic:before{content:'\e85e'}.icon-mute:before{content:'\e85f'}.icon-sound:before{content:'\e860'}.icon-volume:before{content:'\e861'}.icon-clock:before{content:'\e862'}.icon-hourglass:before{content:'\e863'}.icon-lamp:before{content:'\e864'}.icon-light-down:before{content:'\e865'}.icon-light-up:before{content:'\e866'}.icon-adjust:before{content:'\e867'}.icon-block:before{content:'\e868'}.icon-resize-full:before{content:'\e869'}.icon-resize-small:before{content:'\e86a'}.icon-popup:before{content:'\e86b'}.icon-publish:before{content:'\e86c'}.icon-window:before{content:'\e86d'}.icon-arrow-combo:before{content:'\e86e'}.icon-down-circled:before{content:'\e86f'}.icon-left-circled:before{content:'\e870'}.icon-right-circled:before{content:'\e871'}.icon-up-circled:before{content:'\e872'}.icon-down-open:before{content:'\e873'}.icon-left-open:before{content:'\e874'}.icon-right-open:before{content:'\e875'}.icon-up-open:before{content:'\e876'}.icon-down-open-mini:before{content:'\e877'}.icon-left-open-mini:before{content:'\e878'}.icon-right-open-mini:before{content:'\e879'}.icon-up-open-mini:before{content:'\e87a'}.icon-down-open-big:before{content:'\e87b'}.icon-left-open-big:before{content:'\e87c'}.icon-right-open-big:before{content:'\e87d'}.icon-up-open-big:before{content:'\e87e'}.icon-down:before{content:'\e87f'}.icon-left:before{content:'\e880'}.icon-right:before{content:'\e881'}.icon-up:before{content:'\e882'}.icon-down-dir:before{content:'\e883'}.icon-left-dir:before{content:'\e884'}.icon-right-dir:before{content:'\e885'}.icon-up-dir:before{content:'\e886'}.icon-down-bold:before{content:'\e887'}.icon-left-bold:before{content:'\e888'}.icon-right-bold:before{content:'\e889'}.icon-up-bold:before{content:'\e88a'}.icon-down-thin:before{content:'\e88b'}.icon-left-thin:before{content:'\e88c'}.icon-right-thin:before{content:'\e88d'}.icon-up-thin:before{content:'\e88e'}.icon-ccw:before{content:'\e88f'}.icon-cw:before{content:'\e890'}.icon-arrows-ccw:before{content:'\e891'}.icon-level-down:before{content:'\e892'}.icon-level-up:before{content:'\e893'}.icon-shuffle:before{content:'\e894'}.icon-loop:before{content:'\e895'}.icon-switch:before{content:'\e896'}.icon-play:before{content:'\e897'}.icon-stop:before{content:'\e898'}.icon-pause:before{content:'\e899'}.icon-record:before{content:'\e89a'}.icon-to-end:before{content:'\e89b'}.icon-to-start:before{content:'\e89c'}.icon-fast-forward:before{content:'\e89d'}.icon-fast-backward:before{content:'\e89e'}.icon-progress-0:before{content:'\e89f'}.icon-progress-1:before{content:'\e8a0'}.icon-progress-2:before{content:'\e8a1'}.icon-progress-3:before{content:'\e8a2'}.icon-target:before{content:'\e8a3'}.icon-palette:before{content:'\e8a4'}.icon-list:before{content:'\e8a5'}.icon-list-add:before{content:'\e8a6'}.icon-signal:before{content:'\e8a7'}.icon-trophy:before{content:'\e8a8'}.icon-battery:before{content:'\e8a9'}.icon-back-in-time:before{content:'\e8aa'}.icon-monitor:before{content:'\e8ab'}.icon-mobile:before{content:'\e8ac'}.icon-network:before{content:'\e8ad'}.icon-cd:before{content:'\e8ae'}.icon-inbox:before{content:'\e8af'}.icon-install:before{content:'\e8b0'}.icon-globe:before{content:'\e8b1'}.icon-cloud:before{content:'\e8b2'}.icon-cloud-thunder:before{content:'\e8b3'}.icon-flash:before{content:'\e8b4'}.icon-moon:before{content:'\e8b5'}.icon-flight:before{content:'\e8b6'}.icon-paper-plane:before{content:'\e8b7'}.icon-leaf:before{content:'\e8b8'}.icon-lifebuoy:before{content:'\e8b9'}.icon-mouse:before{content:'\e8ba'}.icon-briefcase:before{content:'\e8bb'}.icon-suitcase:before{content:'\e8bc'}.icon-dot:before{content:'\e8bd'}.icon-dot-2:before{content:'\e8be'}.icon-dot-3:before{content:'\e8bf'}.icon-brush:before{content:'\e8c0'}.icon-magnet:before{content:'\e8c1'}.icon-infinity:before{content:'\e8c2'}.icon-erase:before{content:'\e8c3'}.icon-chart-pie:before{content:'\e8c4'}.icon-chart-line:before{content:'\e8c5'}.icon-chart-bar:before{content:'\e8c6'}.icon-chart-area:before{content:'\e8c7'}.icon-tape:before{content:'\e8c8'}.icon-graduation-cap:before{content:'\e8c9'}.icon-language:before{content:'\e8ca'}.icon-ticket:before{content:'\e8cb'}.icon-water:before{content:'\e8cc'}.icon-droplet:before{content:'\e8cd'}.icon-air:before{content:'\e8ce'}.icon-credit-card:before{content:'\e8cf'}.icon-floppy:before{content:'\e8d0'}.icon-clipboard:before{content:'\e8d1'}.icon-megaphone:before{content:'\e8d2'}.icon-database:before{content:'\e8d3'}.icon-drive:before{content:'\e8d4'}.icon-bucket:before{content:'\e8d5'}.icon-thermometer:before{content:'\e8d6'}.icon-key:before{content:'\e8d7'}.icon-flow-cascade:before{content:'\e8d8'}.icon-flow-branch:before{content:'\e8d9'}.icon-flow-tree:before{content:'\e8da'}.icon-flow-line:before{content:'\e8db'}.icon-flow-parallel:before{content:'\e8dc'}.icon-rocket:before{content:'\e8dd'}.icon-gauge:before{content:'\e8de'}.icon-traffic-cone:before{content:'\e8df'}.icon-cc:before{content:'\e8e0'}.icon-cc-by:before{content:'\e8e1'}.icon-cc-nc:before{content:'\e8e2'}.icon-cc-nc-eu:before{content:'\e8e3'}.icon-cc-nc-jp:before{content:'\e8e4'}.icon-cc-sa:before{content:'\e8e5'}.icon-cc-nd:before{content:'\e8e6'}.icon-cc-pd:before{content:'\e8e7'}.icon-cc-zero:before{content:'\e8e8'}.icon-cc-share:before{content:'\e8e9'}.icon-cc-remix:before{content:'\e8ea'}.icon-github:before{content:'\e8eb'}.icon-github-circled:before{content:'\e8ec'}.icon-flickr:before{content:'\e8ed'}.icon-flickr-circled:before{content:'\e8ee'}.icon-vimeo:before{content:'\e8ef'}.icon-vimeo-circled:before{content:'\e8f0'}.icon-twitter:before{content:'\e8f1'}.icon-twitter-circled:before{content:'\e8f2'}.icon-facebook:before{content:'\e8f3'}.icon-facebook-circled:before{content:'\e8f4'}.icon-facebook-squared:before{content:'\e8f5'}.icon-gplus:before{content:'\e8f6'}.icon-gplus-circled:before{content:'\e8f7'}.icon-pinterest:before{content:'\e8f8'}.icon-pinterest-circled:before{content:'\e8f9'}.icon-tumblr:before{content:'\e8fa'}.icon-tumblr-circled:before{content:'\e8fb'}.icon-linkedin:before{content:'\e8fc'}.icon-linkedin-circled:before{content:'\e8fd'}.icon-dribbble:before{content:'\e8fe'}.icon-dribbble-circled:before{content:'\e8ff'}.icon-stumbleupon:before{content:'\e900'}.icon-stumbleupon-circled:before{content:'\e901'}.icon-lastfm:before{content:'\e902'}.icon-lastfm-circled:before{content:'\e903'}.icon-rdio:before{content:'\e904'}.icon-rdio-circled:before{content:'\e905'}.icon-spotify:before{content:'\e906'}.icon-spotify-circled:before{content:'\e907'}.icon-qq:before{content:'\e908'}.icon-instagram:before{content:'\e909'}.icon-dropbox:before{content:'\e90a'}.icon-evernote:before{content:'\e90b'}.icon-flattr:before{content:'\e90c'}.icon-skype:before{content:'\e90d'}.icon-skype-circled:before{content:'\e90e'}.icon-renren:before{content:'\e90f'}.icon-sina-weibo:before{content:'\e910'}.icon-paypal:before{content:'\e911'}.icon-picasa:before{content:'\e912'}.icon-soundcloud:before{content:'\e913'}.icon-mixi:before{content:'\e914'}.icon-behance:before{content:'\e915'}.icon-google-circles:before{content:'\e916'}.icon-vkontakte:before{content:'\e917'}.icon-smashing:before{content:'\e918'}.icon-sweden:before{content:'\e919'}.icon-db-shape:before{content:'\e91a'}.icon-logo-db:before{content:'\e91b'}table{border-spacing:0;width:100%;border:0;border-collapse:separate;font-size:12px;text-align:left}.table-striped tr:nth-child(even),thead{background-color:#f5f5f4}tbody{background-color:#fff}.table-striped tr:active:nth-child(even),tr:active{color:#fff;background-color:#116cd6}thead tr:active{color:#333;background-color:#f5f5f4}th{border-right:1px solid #ddd;border-bottom:1px solid #ddd}td,th{padding:2px 15px}td:last-child,th:last-child{border-right:0}.tab-group{margin-top:-1px;display:flex;border-top:1px solid #989698;border-bottom:1px solid #989698}.tab-item{flex:1;padding:3px;font-size:12px;text-align:center;border-left:1px solid #989698;background-color:#b8b6b8;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#b8b6b8),color-stop(100%,#b0aeb0));background-image:-webkit-linear-gradient(top,#b8b6b8 0,#b0aeb0 100%);background-image:linear-gradient(to bottom,#b8b6b8 0,#b0aeb0 100%)}.tab-item:first-child{border-left:0}.tab-item.active{background-color:#d4d2d4;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#d4d2d4),color-stop(100%,#cccacc));background-image:-webkit-linear-gradient(top,#d4d2d4 0,#cccacc 100%);background-image:linear-gradient(to bottom,#d4d2d4 0,#cccacc 100%)}.tab-item .icon-close-tab:hover,.tab-item:after{background-color:rgba(0,0,0,.08)}.tab-item .icon-close-tab{position:absolute;top:50%;left:5px;width:15px;height:15px;font-size:15px;line-height:15px;text-align:center;color:#666;opacity:0;transition:opacity .1s linear,background-color .1s linear;border-radius:3px;transform:translateY(-50%);z-index:10}.tab-item:after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";opacity:0;transition:opacity .1s linear;z-index:1}.tab-item:hover .icon-close-tab,.tab-item:hover:not(.active):after{opacity:1}.tab-item-fixed{flex:none;padding:3px 10px} \ No newline at end of file diff --git a/frontend/src/assets/docs/about.md b/frontend/src/assets/docs/about.md new file mode 100644 index 00000000..6565cf36 --- /dev/null +++ b/frontend/src/assets/docs/about.md @@ -0,0 +1,19 @@ +# About +## 软件信息 + +### 软件简介 +Medict, 现代跨平台词典App + +### 软件版本 +v3.0.1-alpha + +## 致谢 +### 开发人员 +Chen, Quan + +### 设计人员 +Zhang, Mingjiao

+ +### 特别鸣谢 +Song, Xing + diff --git a/frontend/src/assets/docs/baidu_translate_config.md b/frontend/src/assets/docs/baidu_translate_config.md deleted file mode 100644 index e5e37574..00000000 --- a/frontend/src/assets/docs/baidu_translate_config.md +++ /dev/null @@ -1 +0,0 @@ -# Baidu 翻译 API申请与配置 \ No newline at end of file diff --git a/frontend/src/assets/docs/index.md b/frontend/src/assets/docs/index.md index a7a08850..f7b59fe7 100644 --- a/frontend/src/assets/docs/index.md +++ b/frontend/src/assets/docs/index.md @@ -12,13 +12,12 @@ Medict 是一个跨平台的词典 APP, 主要支持 \*.mdx/\*.mdd 词典格式, ### 词典界面 -词典界面 +词典界面 ### 翻译界面 -翻译界面 +翻译界面 ### 设置界面 -设置界面 - +翻译界面 diff --git a/frontend/src/assets/docs/license.md b/frontend/src/assets/docs/license.md index 695f52d2..a916d34c 100644 --- a/frontend/src/assets/docs/license.md +++ b/frontend/src/assets/docs/license.md @@ -1,11 +1,679 @@ # 软件开源协议信息 ``` -Copyright 2019-2021 terasum (Chen Quan) + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) 2023 Quan Chen + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) 2023 Quan Chen + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ``` \ No newline at end of file diff --git a/frontend/src/assets/docs/pic_add_dict_btn.jpg b/frontend/src/assets/docs/pic_add_dict_btn.jpg deleted file mode 100644 index 40ca0443..00000000 Binary files a/frontend/src/assets/docs/pic_add_dict_btn.jpg and /dev/null differ diff --git a/frontend/src/assets/docs/pic_add_dict_modal.jpg b/frontend/src/assets/docs/pic_add_dict_modal.jpg deleted file mode 100644 index fe6ae66d..00000000 Binary files a/frontend/src/assets/docs/pic_add_dict_modal.jpg and /dev/null differ diff --git a/frontend/src/assets/docs/pic_dict_window.jpg b/frontend/src/assets/docs/pic_dict_window.jpg deleted file mode 100644 index e269bf19..00000000 Binary files a/frontend/src/assets/docs/pic_dict_window.jpg and /dev/null differ diff --git a/frontend/src/assets/docs/pic_settings_window.jpg b/frontend/src/assets/docs/pic_settings_window.jpg deleted file mode 100644 index 504d59dd..00000000 Binary files a/frontend/src/assets/docs/pic_settings_window.jpg and /dev/null differ diff --git a/frontend/src/assets/docs/pic_translate_window.jpg b/frontend/src/assets/docs/pic_translate_window.jpg deleted file mode 100644 index 8934de69..00000000 Binary files a/frontend/src/assets/docs/pic_translate_window.jpg and /dev/null differ diff --git a/frontend/src/assets/docs/pic_usage_step1.jpg b/frontend/src/assets/docs/pic_usage_step1.jpg deleted file mode 100644 index 8c1efd07..00000000 Binary files a/frontend/src/assets/docs/pic_usage_step1.jpg and /dev/null differ diff --git a/frontend/src/assets/docs/pic_usage_step2.jpg b/frontend/src/assets/docs/pic_usage_step2.jpg deleted file mode 100644 index 41e2d709..00000000 Binary files a/frontend/src/assets/docs/pic_usage_step2.jpg and /dev/null differ diff --git a/frontend/src/assets/docs/select_and_use_dict.md b/frontend/src/assets/docs/select_and_use_dict.md index 781cc705..0bc1428d 100644 --- a/frontend/src/assets/docs/select_and_use_dict.md +++ b/frontend/src/assets/docs/select_and_use_dict.md @@ -5,13 +5,13 @@ 1. 点击右上角设置 2. 点击下方 "+" 号 -pic_add_dict_btn.jpg +翻译界面 3. 在弹出框中填写词典信息 4. 选择词典文件 -pic_add_dict_modal.jpg +![pic_add_dict_modal.jpg](@/assets/images/docs/index.png) **注意:** mdx文件所在的文件夹中的js/css/font文件均会被拷贝到缓存文件夹中,请把一个独立词典放在一个独立的文件夹中,并将相关资源放在一起。 @@ -22,11 +22,12 @@ 1. 选择词典并输入目标词(模糊) -pic_usage_step1.jpg + +翻译界面 2. 在左边栏选择你想要查的具体词汇, 如果该词汇和其他词汇同一个意思(即@@Link==) 则直接展示该同意义词汇 -pic_usage_step2.jpg +翻译界面 diff --git a/frontend/src/assets/docs/terms_and_service.md b/frontend/src/assets/docs/terms_and_service.md index c55fb4f8..c6373748 100644 --- a/frontend/src/assets/docs/terms_and_service.md +++ b/frontend/src/assets/docs/terms_and_service.md @@ -10,4 +10,4 @@ 4. Medict 软件尊重并保护所有用户的个人隐私权,不会窃取任何用户计算机中的信息, 亦不会将用户文件上载至互联网服务器。 -5. Medict 以 MIT 协议发布, 软件著作权属软件作者所有。 \ No newline at end of file +5. Medict 以 GPLv3 协议发布, 软件著作权属软件作者所有。 \ No newline at end of file diff --git a/frontend/src/assets/docs/youdao_traslate_config.md b/frontend/src/assets/docs/youdao_traslate_config.md deleted file mode 100644 index 9ab21acc..00000000 --- a/frontend/src/assets/docs/youdao_traslate_config.md +++ /dev/null @@ -1 +0,0 @@ -# 有道翻译 API申请与配置 \ No newline at end of file diff --git a/frontend/src/assets/images/docs/index.png b/frontend/src/assets/images/docs/index.png new file mode 100644 index 00000000..62f137df Binary files /dev/null and b/frontend/src/assets/images/docs/index.png differ diff --git a/frontend/src/components/layout/AppFooter.vue b/frontend/src/components/layout/AppFooter.vue new file mode 100644 index 00000000..5e1fe585 --- /dev/null +++ b/frontend/src/components/layout/AppFooter.vue @@ -0,0 +1,127 @@ + + + + + + + diff --git a/frontend/src/components/layout/AppFunctions.vue b/frontend/src/components/layout/AppFunctions.vue new file mode 100644 index 00000000..ff2b5219 --- /dev/null +++ b/frontend/src/components/layout/AppFunctions.vue @@ -0,0 +1,143 @@ + + + + diff --git a/frontend/src/view/settings/DictSettings.vue b/frontend/src/components/layout/AppMainContent.vue similarity index 64% rename from frontend/src/view/settings/DictSettings.vue rename to frontend/src/components/layout/AppMainContent.vue index aac6055b..36d71edb 100644 --- a/frontend/src/view/settings/DictSettings.vue +++ b/frontend/src/components/layout/AppMainContent.vue @@ -16,30 +16,29 @@ along with this program. If not, see . --> - - - - + + + diff --git a/frontend/src/components/layout/AppRightToolbar.vue b/frontend/src/components/layout/AppRightToolbar.vue new file mode 100644 index 00000000..2e471758 --- /dev/null +++ b/frontend/src/components/layout/AppRightToolbar.vue @@ -0,0 +1,54 @@ + + + + + + diff --git a/frontend/src/view/main/AppSidebar.vue b/frontend/src/components/layout/AppSidebar.vue similarity index 77% rename from frontend/src/view/main/AppSidebar.vue rename to frontend/src/components/layout/AppSidebar.vue index 0f4cf5ba..e5d81ed6 100644 --- a/frontend/src/view/main/AppSidebar.vue +++ b/frontend/src/components/layout/AppSidebar.vue @@ -32,10 +32,13 @@ -ms-user-select: none; cursor:default; + + .sidebar-top { display: flex; padding: 0 10px; background-color: $theme-top-header-background-color; + border-bottom: 1px solid #dcdcdc; .logo { display: flex; @@ -43,7 +46,7 @@ align-items: center; justify-content: center; width: 100%; - height: $layout-sidebar-logo-height; + height: calc($layout-sidebar-logo-height - 1px); img { width: 100%; } @@ -55,10 +58,11 @@ } .sidebar-content{ - padding: 4px 2px; - margin: 10px 0 0 0; + border-right: 1px solid #dcdcdc; + padding: 0; + margin: 0; user-select: none; - height: calc(100% - $layout-sidebar-logo-height - $layout-footer-height); + height: calc(100% - $layout-sidebar-logo-height); ul{ height: 100%; overflow-y: scroll; @@ -97,24 +101,11 @@ diff --git a/frontend/src/components/setting/SettingItem.vue b/frontend/src/components/setting/SettingItem.vue new file mode 100644 index 00000000..d54b9540 --- /dev/null +++ b/frontend/src/components/setting/SettingItem.vue @@ -0,0 +1,63 @@ + + + diff --git a/frontend/src/maininfra/3dparty/baidu_translate.ts b/frontend/src/maininfra/3dparty/baidu_translate.ts deleted file mode 100644 index dd76b6ed..00000000 --- a/frontend/src/maininfra/3dparty/baidu_translate.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * - * Copyright (C) 2023 Quan Chen - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -const API_URL = 'http://api.fanyi.baidu.com/api/trans/vip/translate'; -import axios from 'axios'; -import { sign } from './baidu_translate_utils/utils'; -import random from '@shuaninfo/random'; - -var querystring = require('querystring'); - -export async function translate( - appid: string, - appkey: string, - from: string, - to: string, - query: string -) { - const salt = random({ length: 10, type: 'numeric' }); - const signData = sign(appid, query, salt, appkey); - - var queryData = querystring.stringify({ - q: query, - from, - to, - appid, - salt, - sign: signData, - }); - - const newUrl = `${API_URL}?${queryData}`; - return await axios.get(newUrl); -} diff --git a/frontend/src/maininfra/3dparty/baidu_translate_utils/md5.d.ts b/frontend/src/maininfra/3dparty/baidu_translate_utils/md5.d.ts deleted file mode 100644 index e0383d5d..00000000 --- a/frontend/src/maininfra/3dparty/baidu_translate_utils/md5.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * - * Copyright (C) 2023 Quan Chen - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -export default function MD5(val: string): string; diff --git a/frontend/src/maininfra/3dparty/baidu_translate_utils/md5.js b/frontend/src/maininfra/3dparty/baidu_translate_utils/md5.js deleted file mode 100644 index 7c070d78..00000000 --- a/frontend/src/maininfra/3dparty/baidu_translate_utils/md5.js +++ /dev/null @@ -1,247 +0,0 @@ -/** - * - * Copyright (C) 2023 Quan Chen - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -module.exports = function MD5(string) { - function RotateLeft(lValue, iShiftBits) { - return (lValue << iShiftBits) | (lValue >>> (32 - iShiftBits)); - } - - function AddUnsigned(lX, lY) { - var lX4, lY4, lX8, lY8, lResult; - lX8 = lX & 0x80000000; - lY8 = lY & 0x80000000; - lX4 = lX & 0x40000000; - lY4 = lY & 0x40000000; - lResult = (lX & 0x3fffffff) + (lY & 0x3fffffff); - if (lX4 & lY4) { - return lResult ^ 0x80000000 ^ lX8 ^ lY8; - } - if (lX4 | lY4) { - if (lResult & 0x40000000) { - return lResult ^ 0xc0000000 ^ lX8 ^ lY8; - } else { - return lResult ^ 0x40000000 ^ lX8 ^ lY8; - } - } else { - return lResult ^ lX8 ^ lY8; - } - } - - function F(x, y, z) { - return (x & y) | (~x & z); - } - function G(x, y, z) { - return (x & z) | (y & ~z); - } - function H(x, y, z) { - return x ^ y ^ z; - } - function I(x, y, z) { - return y ^ (x | ~z); - } - - function FF(a, b, c, d, x, s, ac) { - a = AddUnsigned(a, AddUnsigned(AddUnsigned(F(b, c, d), x), ac)); - return AddUnsigned(RotateLeft(a, s), b); - } - - function GG(a, b, c, d, x, s, ac) { - a = AddUnsigned(a, AddUnsigned(AddUnsigned(G(b, c, d), x), ac)); - return AddUnsigned(RotateLeft(a, s), b); - } - - function HH(a, b, c, d, x, s, ac) { - a = AddUnsigned(a, AddUnsigned(AddUnsigned(H(b, c, d), x), ac)); - return AddUnsigned(RotateLeft(a, s), b); - } - - function II(a, b, c, d, x, s, ac) { - a = AddUnsigned(a, AddUnsigned(AddUnsigned(I(b, c, d), x), ac)); - return AddUnsigned(RotateLeft(a, s), b); - } - - function ConvertToWordArray(string) { - var lWordCount; - var lMessageLength = string.length; - var lNumberOfWords_temp1 = lMessageLength + 8; - var lNumberOfWords_temp2 = - (lNumberOfWords_temp1 - (lNumberOfWords_temp1 % 64)) / 64; - var lNumberOfWords = (lNumberOfWords_temp2 + 1) * 16; - var lWordArray = Array(lNumberOfWords - 1); - var lBytePosition = 0; - var lByteCount = 0; - while (lByteCount < lMessageLength) { - lWordCount = (lByteCount - (lByteCount % 4)) / 4; - lBytePosition = (lByteCount % 4) * 8; - lWordArray[lWordCount] = - lWordArray[lWordCount] | - (string.charCodeAt(lByteCount) << lBytePosition); - lByteCount++; - } - lWordCount = (lByteCount - (lByteCount % 4)) / 4; - lBytePosition = (lByteCount % 4) * 8; - lWordArray[lWordCount] = lWordArray[lWordCount] | (0x80 << lBytePosition); - lWordArray[lNumberOfWords - 2] = lMessageLength << 3; - lWordArray[lNumberOfWords - 1] = lMessageLength >>> 29; - return lWordArray; - } - - function WordToHex(lValue) { - var WordToHexValue = '', - WordToHexValue_temp = '', - lByte, - lCount; - for (lCount = 0; lCount <= 3; lCount++) { - lByte = (lValue >>> (lCount * 8)) & 255; - WordToHexValue_temp = '0' + lByte.toString(16); - WordToHexValue = - WordToHexValue + - WordToHexValue_temp.substr(WordToHexValue_temp.length - 2, 2); - } - return WordToHexValue; - } - - function Utf8Encode(string) { - string = string.replace(/\r\n/g, '\n'); - var utftext = ''; - - for (var n = 0; n < string.length; n++) { - var c = string.charCodeAt(n); - - if (c < 128) { - utftext += String.fromCharCode(c); - } else if (c > 127 && c < 2048) { - utftext += String.fromCharCode((c >> 6) | 192); - utftext += String.fromCharCode((c & 63) | 128); - } else { - utftext += String.fromCharCode((c >> 12) | 224); - utftext += String.fromCharCode(((c >> 6) & 63) | 128); - utftext += String.fromCharCode((c & 63) | 128); - } - } - - return utftext; - } - - var x = Array(); - var k, AA, BB, CC, DD, a, b, c, d; - var S11 = 7, - S12 = 12, - S13 = 17, - S14 = 22; - var S21 = 5, - S22 = 9, - S23 = 14, - S24 = 20; - var S31 = 4, - S32 = 11, - S33 = 16, - S34 = 23; - var S41 = 6, - S42 = 10, - S43 = 15, - S44 = 21; - - string = Utf8Encode(string); - - x = ConvertToWordArray(string); - - a = 0x67452301; - b = 0xefcdab89; - c = 0x98badcfe; - d = 0x10325476; - - for (k = 0; k < x.length; k += 16) { - AA = a; - BB = b; - CC = c; - DD = d; - a = FF(a, b, c, d, x[k + 0], S11, 0xd76aa478); - d = FF(d, a, b, c, x[k + 1], S12, 0xe8c7b756); - c = FF(c, d, a, b, x[k + 2], S13, 0x242070db); - b = FF(b, c, d, a, x[k + 3], S14, 0xc1bdceee); - a = FF(a, b, c, d, x[k + 4], S11, 0xf57c0faf); - d = FF(d, a, b, c, x[k + 5], S12, 0x4787c62a); - c = FF(c, d, a, b, x[k + 6], S13, 0xa8304613); - b = FF(b, c, d, a, x[k + 7], S14, 0xfd469501); - a = FF(a, b, c, d, x[k + 8], S11, 0x698098d8); - d = FF(d, a, b, c, x[k + 9], S12, 0x8b44f7af); - c = FF(c, d, a, b, x[k + 10], S13, 0xffff5bb1); - b = FF(b, c, d, a, x[k + 11], S14, 0x895cd7be); - a = FF(a, b, c, d, x[k + 12], S11, 0x6b901122); - d = FF(d, a, b, c, x[k + 13], S12, 0xfd987193); - c = FF(c, d, a, b, x[k + 14], S13, 0xa679438e); - b = FF(b, c, d, a, x[k + 15], S14, 0x49b40821); - a = GG(a, b, c, d, x[k + 1], S21, 0xf61e2562); - d = GG(d, a, b, c, x[k + 6], S22, 0xc040b340); - c = GG(c, d, a, b, x[k + 11], S23, 0x265e5a51); - b = GG(b, c, d, a, x[k + 0], S24, 0xe9b6c7aa); - a = GG(a, b, c, d, x[k + 5], S21, 0xd62f105d); - d = GG(d, a, b, c, x[k + 10], S22, 0x2441453); - c = GG(c, d, a, b, x[k + 15], S23, 0xd8a1e681); - b = GG(b, c, d, a, x[k + 4], S24, 0xe7d3fbc8); - a = GG(a, b, c, d, x[k + 9], S21, 0x21e1cde6); - d = GG(d, a, b, c, x[k + 14], S22, 0xc33707d6); - c = GG(c, d, a, b, x[k + 3], S23, 0xf4d50d87); - b = GG(b, c, d, a, x[k + 8], S24, 0x455a14ed); - a = GG(a, b, c, d, x[k + 13], S21, 0xa9e3e905); - d = GG(d, a, b, c, x[k + 2], S22, 0xfcefa3f8); - c = GG(c, d, a, b, x[k + 7], S23, 0x676f02d9); - b = GG(b, c, d, a, x[k + 12], S24, 0x8d2a4c8a); - a = HH(a, b, c, d, x[k + 5], S31, 0xfffa3942); - d = HH(d, a, b, c, x[k + 8], S32, 0x8771f681); - c = HH(c, d, a, b, x[k + 11], S33, 0x6d9d6122); - b = HH(b, c, d, a, x[k + 14], S34, 0xfde5380c); - a = HH(a, b, c, d, x[k + 1], S31, 0xa4beea44); - d = HH(d, a, b, c, x[k + 4], S32, 0x4bdecfa9); - c = HH(c, d, a, b, x[k + 7], S33, 0xf6bb4b60); - b = HH(b, c, d, a, x[k + 10], S34, 0xbebfbc70); - a = HH(a, b, c, d, x[k + 13], S31, 0x289b7ec6); - d = HH(d, a, b, c, x[k + 0], S32, 0xeaa127fa); - c = HH(c, d, a, b, x[k + 3], S33, 0xd4ef3085); - b = HH(b, c, d, a, x[k + 6], S34, 0x4881d05); - a = HH(a, b, c, d, x[k + 9], S31, 0xd9d4d039); - d = HH(d, a, b, c, x[k + 12], S32, 0xe6db99e5); - c = HH(c, d, a, b, x[k + 15], S33, 0x1fa27cf8); - b = HH(b, c, d, a, x[k + 2], S34, 0xc4ac5665); - a = II(a, b, c, d, x[k + 0], S41, 0xf4292244); - d = II(d, a, b, c, x[k + 7], S42, 0x432aff97); - c = II(c, d, a, b, x[k + 14], S43, 0xab9423a7); - b = II(b, c, d, a, x[k + 5], S44, 0xfc93a039); - a = II(a, b, c, d, x[k + 12], S41, 0x655b59c3); - d = II(d, a, b, c, x[k + 3], S42, 0x8f0ccc92); - c = II(c, d, a, b, x[k + 10], S43, 0xffeff47d); - b = II(b, c, d, a, x[k + 1], S44, 0x85845dd1); - a = II(a, b, c, d, x[k + 8], S41, 0x6fa87e4f); - d = II(d, a, b, c, x[k + 15], S42, 0xfe2ce6e0); - c = II(c, d, a, b, x[k + 6], S43, 0xa3014314); - b = II(b, c, d, a, x[k + 13], S44, 0x4e0811a1); - a = II(a, b, c, d, x[k + 4], S41, 0xf7537e82); - d = II(d, a, b, c, x[k + 11], S42, 0xbd3af235); - c = II(c, d, a, b, x[k + 2], S43, 0x2ad7d2bb); - b = II(b, c, d, a, x[k + 9], S44, 0xeb86d391); - a = AddUnsigned(a, AA); - b = AddUnsigned(b, BB); - c = AddUnsigned(c, CC); - d = AddUnsigned(d, DD); - } - - var temp = WordToHex(a) + WordToHex(b) + WordToHex(c) + WordToHex(d); - - return temp.toLowerCase(); -}; diff --git a/frontend/src/maininfra/3dparty/google_translate.ts b/frontend/src/maininfra/3dparty/google_translate.ts deleted file mode 100644 index 0eb836b8..00000000 --- a/frontend/src/maininfra/3dparty/google_translate.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * - * Copyright (C) 2023 Quan Chen - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -import google_translate from '@vitalets/google-translate-api'; -export async function translate( - appid: string, - appkey: string, - from: string, - to: string, - query: string - -) { - if (from == "zh") { - from = 'zh-CN' - } - if (from == "jp") { - from = 'ja' - } - - if (to == "zh") { - to = 'zh-CN' - } - if (to == "jp") { - to = 'ja' - } - - // @ts-ignore - let request = google_translate(query, { from: from, to: to, tld: 'cn' }) - return request -} diff --git a/frontend/src/maininfra/3dparty/youdao_translate.ts b/frontend/src/maininfra/3dparty/youdao_translate.ts deleted file mode 100644 index 78679789..00000000 --- a/frontend/src/maininfra/3dparty/youdao_translate.ts +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Copyright (C) 2023 Quan Chen - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -const API_URL = 'http://openapi.youdao.com/api'; -import axios from 'axios' -import sha256 from 'crypto-js/sha256';; -import Hex from 'crypto-js/enc-hex'; -import querystring from 'querystring'; - -function truncate(q: string) { - var len = q.length; - if (len <= 20) return q; - return q.substring(0, 10) + len + q.substring(len - 10, len); -} - -export async function translate( - appid: string, - appkey: string, - from: string, - to: string, - query: string -) { - if (from === 'zh') { - from = 'zh-CHS'; - } - if (from === 'jp') { - from = 'ja'; - } - if (to === 'zh') { - to = 'zh-CHS'; - } - if (to === 'jp') { - to = 'ja'; - } - - const salt = (new Date).getTime(); - let curtime = Math.round(new Date().getTime() / 1000); - let str1 = appid + truncate(query) + salt + curtime + appkey; - let vocabId = ''; - - let sign = sha256(str1).toString(Hex); - - let data = { - q: query, - appKey: appid, - salt: salt, - from: from, - to: to, - sign: sign, - signType: "v3", - curtime: curtime, - vocabId: vocabId, - } - - var queryData = querystring.stringify(data); - const newUrl = `${API_URL}?${queryData}`; - return axios.post(newUrl) -} diff --git a/frontend/src/maininfra/BasicConfig.ts b/frontend/src/maininfra/BasicConfig.ts deleted file mode 100644 index 4fbc99eb..00000000 --- a/frontend/src/maininfra/BasicConfig.ts +++ /dev/null @@ -1,95 +0,0 @@ -/** - * - * Copyright (C) 2023 Quan Chen - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -import path from 'path'; -import fs from 'fs'; -import { staticServerPort } from './ResourceStaticService'; - -export function getUserResourcePath(): string { - // const userResourcePath = app.getPath('userData'); - // // 词典静态文件存储目录 http 服务起点 - // const resourceRootPath = path.resolve(userResourcePath, 'resources', 'cache'); - // if (!fs.existsSync(resourceRootPath)) { - // console.info(`create new directory ${resourceRootPath}`); - // fs.mkdirSync(resourceRootPath, { recursive: true }); - // } - - // return userResourcePath - return ""; -} - - -export function getResourceRootPath(): string { - // const userResourcePath = app.getPath('userData'); - // const resourceRootPath = path.resolve(userResourcePath, 'resources', 'cache'); - // return resourceRootPath - return ""; -} - -export function getUserConfigDir(): string { - // const userResourcePath = app.getPath('userData'); - // const userConfigDir = path.resolve(userResourcePath, 'config'); - // return userConfigDir - return ""; -} - -export function getConfigJsonFilePath(): string { - // const userResourcePath = app.getPath('userData'); - // const userConfigDir = path.resolve(userResourcePath, 'config'); - // // 用户 json 配置文件 - // const configJsonFilePath = path.resolve(userResourcePath, 'config', 'medict.json'); - // // 用户配置文件夹 - // if (!fs.existsSync(userConfigDir)) { - // console.info(`create new directory ${userConfigDir}`); - // fs.mkdirSync(userConfigDir, { recursive: true }); - // } - - // if (!fs.existsSync(configJsonFilePath)) { - // fs.writeFileSync(configJsonFilePath, '{"dicts":[]}'); - // console.info('write configFilePath %s', configJsonFilePath); - // } - - // return configJsonFilePath - - return ""; -} - -export function getUserLoggerDir(): string { - - // const userResourcePath = app.getPath('userData'); - // const userLoggerDir = path.resolve(userResourcePath, 'logger'); - // return userLoggerDir - return ""; -} - -export function getLoggerFilePath(): string { - // 用户日志文件夹 - const userLoggerDir = getUserLoggerDir(); - // 日志文件路径 - const loggerFilePath = path.resolve(userLoggerDir, 'medict.log'); - if (!fs.existsSync(userLoggerDir)) { - console.info(`create new directory ${userLoggerDir}`); - fs.mkdirSync(userLoggerDir, { recursive: true }); - } - return loggerFilePath -} - -export function getStaticServerPort(): number { - return staticServerPort(); -} - diff --git a/frontend/src/maininfra/ResourceStaticService.ts b/frontend/src/maininfra/ResourceStaticService.ts deleted file mode 100644 index 7eb08758..00000000 --- a/frontend/src/maininfra/ResourceStaticService.ts +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Copyright (C) 2023 Quan Chen - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -import {getResourceRootPath} from './BasicConfig'; -import koa_logger from 'koa-logger'; -import serve from 'koa-static'; -import Koa from 'koa'; -import cors from '@koa/cors'; -import getPort from 'get-port'; -const logger = { - info: function(...arg :any) {console.log(arg)}, - error: function(...arg :any) {console.error(arg)} -} - -export let resourceServerPort = 0; - -export async function startResourceServer() { - const app = new Koa(); - app.use( - koa_logger((str: string, args: object) => { - logger.info(str); - }) - ); - app.use(cors()); - app.use(serve(getResourceRootPath())); - resourceServerPort = await getPort({ port: getPort.makeRange(40000, 50000) }); - app.listen(resourceServerPort); - logger.info( - `⚙ static-server listening on port http://localhost:${resourceServerPort}` - ); -} - -export function staticServerPort() { - return resourceServerPort; -} - -export default { - startResourceServer, - resourceServerPort, -}; diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index 9d24d216..3922ccde 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -16,10 +16,46 @@ * along with this program. If not, see . */ -import MainWindow from '@/view/main/MainWindow.vue'; -import AboutWindow from '@/view/about/AboutView.vue'; +import MainWindow from '@/view/main/index.vue'; +import DictWindow from '@/view/dict/index.vue'; +import SettingWindow from '@/view/setting/index.vue'; +import DocWindow from '@/view/docs/index.vue'; + +import index_md from '@/assets/docs/index.md'; +import select_and_use_md from '@/assets/docs/select_and_use_dict.md'; +import faq_md from '@/assets/docs/faq.md'; +import terms_and_service from '@/assets/docs/terms_and_service.md'; +import license_md from '@/assets/docs/license.md'; +import about_md from '@/assets/docs/about.md'; + +import SettingDict from "@/view/setting/SettingDict.vue"; +import SettingSoftware from "@/view/setting/SettingSoftware.vue"; +import SettingTheme from "@/view/setting/SettingTheme.vue"; +import SettingPlugin from "@/view/setting/SettingPlugin.vue"; export default [ { path: '/', component: MainWindow }, - { path: '/about', component: AboutWindow }, + { path: '/dict', component: DictWindow }, + { path: '/setting', component: SettingWindow, children:[ + + { path: '', component: SettingDict }, + { path: 'dict', component: SettingDict }, + { path: 'software', component: SettingSoftware }, + { path: 'theme', component: SettingTheme }, + { path: 'plugin', component: SettingPlugin }, + { path: 'terms', component: terms_and_service }, + { path: 'license', component: license_md }, + { path: 'about', component: about_md }, + + ]}, + { + path: '/docs', + component: DocWindow, + children: [ + { path: '', component: index_md }, + { path: 'index', component: index_md }, + { path: 'select_and_use', component: select_and_use_md }, + { path: 'faq', component: faq_md }, + ], + }, ]; diff --git a/frontend/src/store/dict/index.ts b/frontend/src/store/dict/index.ts index 01e5dfcb..1a8d89a8 100644 --- a/frontend/src/store/dict/index.ts +++ b/frontend/src/store/dict/index.ts @@ -85,17 +85,16 @@ export const useDictQueryStore = defineStore('dictQuery', { queryDictList() { return GetAllDicts(); }, - updateInputSearchWord(word :string) { - console.log(`===> updateInputSearchWord: ${word}`) - if (!word || word.trim() == "") { + updateInputSearchWord(word: string) { + console.log(`===> updateInputSearchWord: ${word}`); + if (!word || word.trim() == '') { return; } if (word == this.inputSearchWord) { return; } - this.inputSearchWord = word; - this.searchWord(word) - + this.inputSearchWord = word; + this.searchWord(word); }, updateMainContent(content) { if (content === '') { diff --git a/frontend/src/maininfra/3dparty/baidu_translate_utils/utils.ts b/frontend/src/store/ui/index.ts similarity index 66% rename from frontend/src/maininfra/3dparty/baidu_translate_utils/utils.ts rename to frontend/src/store/ui/index.ts index 4342d0f5..69cba2d8 100644 --- a/frontend/src/maininfra/3dparty/baidu_translate_utils/utils.ts +++ b/frontend/src/store/ui/index.ts @@ -16,15 +16,22 @@ * along with this program. If not, see . */ -import MD5 from './md5.js'; +import { defineStore } from 'pinia'; -export function sign( - appid: string, - q: string, - salt: string, - appkey: string -): string { - const line = appid + q + salt + appkey; - // return line; - return MD5(line); -} +export const useUIStore = defineStore('ui', { + state: () => ({ + currentTab: 'search', + + progressHint: "", + progressPercent: 0, + + }), + actions: { + updateCurrentTab(tabName: string) { + this.currentTab = tabName; + }, + isSearchInputActive() { + return this.currentTab === "search"; + } + }, +}); diff --git a/frontend/src/style/photon/bars.scss b/frontend/src/style/photon/bars.scss new file mode 100644 index 00000000..88eaaa85 --- /dev/null +++ b/frontend/src/style/photon/bars.scss @@ -0,0 +1,56 @@ +// +// Bars.css +// -------------------------------------------------- + +.toolbar { + min-height: 22px; + box-shadow: inset 0 1px 0 #f5f4f5; + @include linear-gradient(#e8e6e8, #d1cfd1); + @include clearfix; +} + +.toolbar-header { + border-bottom: 1px solid $dark-border-color; + + .title { + margin-top: 1px; + } +} + +.toolbar-footer { + border-top: 1px solid $dark-border-color; + -webkit-app-region: drag; +} + +// Simple centered title to go in the toolbar +.title { + margin: 0; + font-size: 12px; + font-weight: 400; + text-align: center; + color: #555; + cursor: default; +} + +// Borderless toolbar for the clean look +.toolbar-borderless { + border-top: 0; + border-bottom: 0; +} + +// Buttons in toolbars +.toolbar-actions { + margin-top: 4px; + margin-bottom: 3px; + padding-right: 3px; + padding-left: 3px; + padding-bottom: 3px; + -webkit-app-region: drag; + @include clearfix; + + > .btn, + > .btn-group { + margin-left: 4px; + margin-right: 4px; + } +} diff --git a/frontend/src/style/photon/base.scss b/frontend/src/style/photon/base.scss new file mode 100644 index 00000000..8af9e086 --- /dev/null +++ b/frontend/src/style/photon/base.scss @@ -0,0 +1,72 @@ +// +// Base styles +// -------------------------------------------------- + +* { + cursor: default; + -webkit-user-drag: text; + -webkit-user-select: none; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +html { + height: 100%; + width: 100%; + overflow: hidden; +} + +body { + height: 100%; + padding: 0; + margin: 0; + font-family: $font-family-default; + font-size: $font-size-default; + line-height: $line-height-default; + color: $gray-color; + background-color: transparent; +} + +hr { + margin: 15px 0; + overflow: hidden; + background: transparent; + border: 0; + border-bottom: 1px solid $border-color; +} + +// Typography +h1, h2, h3, h4, h5, h6 { + margin-top: 20px; + margin-bottom: 10px; + font-weight: 500; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +h1 { font-size: 36px; } +h2 { font-size: 30px; } +h3 { font-size: 24px; } +h4 { font-size: 18px; } +h5 { font-size: 14px; } +h6 { font-size: 12px; } + +// Basic app structure +.window { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + display: flex; + flex-direction: column; + background-color: $chrome-color; +} + +.window-content { + position: relative; + overflow-y: auto; + display: flex; + flex: 1; +} diff --git a/frontend/src/style/photon/button-groups.scss b/frontend/src/style/photon/button-groups.scss new file mode 100644 index 00000000..4cfb970c --- /dev/null +++ b/frontend/src/style/photon/button-groups.scss @@ -0,0 +1,72 @@ +// +// Button-groups.css +// Adapted from Bootstrap's button-groups.less (https://github.com/twbs/bootstrap/blob/master/less/button-groups.less) +// -------------------------------------------------- + +// Button groups +.btn-group { + position: relative; + display: inline-block; + vertical-align: middle; // match .btn alignment given font-size hack above + -webkit-app-region: no-drag; + + .btn { + position: relative; + float: left; + + // Bring the "active" button to the front + &:focus, + &:active{ + z-index: 2; + } + + &.active { + z-index: 3; + } + } +} + +// Prevent double borders when buttons are next to each other +.btn-group { + .btn + .btn, + .btn + .btn-group, + .btn-group + .btn, + .btn-group + .btn-group { + margin-left: -1px; + } + + > .btn:first-child { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + > .btn:last-child { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + + > .btn:not(:first-child):not(:last-child) { + border-radius: 0; + } + + .btn + .btn { + border-left: 1px solid $dark-border-color; + } + + .btn + .btn.active { + border-left: 0; + } + + // Selected state + .active { + color: #fff; + border: 1px solid transparent; + background-color: #6d6c6d; + background-image: none; + } + + // Invert the icon in the active button + .active .icon { + color: #fff; + } +} diff --git a/frontend/src/style/photon/buttons.scss b/frontend/src/style/photon/buttons.scss new file mode 100644 index 00000000..fa10156b --- /dev/null +++ b/frontend/src/style/photon/buttons.scss @@ -0,0 +1,130 @@ +// +// Buttons.css +// -------------------------------------------------- + +.btn { + display: inline-block; + padding: 3px 8px; + margin-bottom: 0; + font-size: 12px; + line-height: 1.4; + text-align: center; + white-space: nowrap; + vertical-align: middle; + cursor: default; + background-image: none; + border: 1px solid transparent; + border-radius: $default-border-radius; + box-shadow: 0 1px 1px rgba(0,0,0,.06); + -webkit-app-region: no-drag; + + &:focus { + outline: none; + box-shadow: none; + } +} + +.btn-mini { + padding: 2px 6px; +} + +.btn-large { + padding: 6px 12px; +} + +.btn-form { + padding-right: 20px; + padding-left: 20px; +} + +// Normal buttons +.btn-default { + color: $gray-color; + border-top-color: $dark-border-color; + border-right-color: $dark-border-color; + border-bottom-color: $darker-bottom-border-color; + border-left-color: $dark-border-color; + @include linear-gradient(#fcfcfc, #f1f1f1); + + &:active { + background-color: #ddd; + background-image: none; + } +} + +// Button variations +.btn-primary, +.btn-positive, +.btn-negative, +.btn-warning { + color: #fff; + text-shadow: 0 1px 1px rgba(0,0,0,.1); +} + +// For primary buttons +.btn-primary { + border-color: #388df8; + border-bottom-color: darken(#388df8, 15%); + @include linear-gradient(#6eb4f7, #1a82fb); + + &:active { + @include linear-gradient(darken(#6eb4f7, 10%), darken(#1a82fb, 10%)); + } +} + +// For positive buttons +.btn-positive { + border-color: darken($positive-color, 10%); + border-bottom-color: darken($positive-color, 15%); + @include linear-gradient(lighten($positive-color, 10%), darken($positive-color, 10%)); + + &:active { + @include linear-gradient($positive-color, darken($positive-color, 15%)); + } +} + +// For negative actions +.btn-negative { + border-color: darken($negative-color, 10%); + border-bottom-color: darken($negative-color, 15%); + @include linear-gradient(lighten($negative-color, 10%), darken($negative-color, 10%)); + + &:active { + @include linear-gradient($negative-color, darken($negative-color, 15%)); + } +} + +// For warning actions +.btn-warning { + border-color: darken($warning-color, 10%); + border-bottom-color: darken($warning-color, 15%); + @include linear-gradient(lighten($warning-color, 10%), darken($warning-color, 10%)); + + &:active { + @include linear-gradient($warning-color, darken($warning-color, 15%)); + } +} + +// Icons in buttons +.btn .icon { + float: left; + width: 14px; + height: 14px; + margin-top: 1px; + margin-bottom: 1px; + color: #737475; + font-size: 14px; + line-height: 1; +} + +// Add the margin next to the icon if there is text in the button too +.btn .icon-text { + margin-right: 5px; +} + +// This utility class add a down arrow icon to the button +.btn-dropdown:after { + font-family: "photon-entypo"; + margin-left: 5px; + content: '\e873' +} diff --git a/frontend/src/style/photon/docs.scss b/frontend/src/style/photon/docs.scss new file mode 100644 index 00000000..94f8c508 --- /dev/null +++ b/frontend/src/style/photon/docs.scss @@ -0,0 +1,554 @@ +// +// Docs.css +// -------------------------------------------------- + +//Imports +@import "mixins.scss"; + +// Docs variables +$desktop-spacing: 3rem; +$mobile-spacing: 1rem; + +//Base styles +* { + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +body { + font: 16px/1.7 "Roboto", "Helvetica Neue", Helvetica, arial, sans-serif; + font-weight: 300; + color: #333; +} + +// Typography +h1, h2, h3, h4, h5, h6 { + margin-top: 0; + font-weight: 300; +} + +h2 { + margin-bottom: .18em; + font-size: 1.6em; +} + +h3 { + margin-bottom: .15em; + font-size: 1.3em; +} + +h5 { + font-weight: 400; +} + +p { + margin-top: .5em; + margin-bottom: .5em; + font-size: 1em; + color: #555; +} + +.download-decription { + margin-bottom: 1em; +} + +.lead { + font-size: 1.1em; + color: #777; +} + +a { + color: #4b92c6; + text-decoration: none; +} + +// Code +.highlight { + font-size: .9em; +} + +// Buttons +.btn { + display: inline-block; + padding: 10px 15px; + margin-bottom: 0; + font-size: 14px; + line-height: 1; + text-align: center; + white-space: nowrap; + vertical-align: middle; + text-decoration: none; + color: #666; + background-image: none; + border: 1px solid #ddd; + border-radius: 4px; + transition: all .2s linear; + + &:hover { + border-color: #999; + } +} + +.btn-components, +.btn-download { + margin-right: $mobile-spacing; + margin-left: $mobile-spacing; + padding: 12px 30px; + display: block; +} + +.btn-download { + margin-bottom: 1rem; + color: #0f2b3c; + border-color: transparent; + background-color: rgba(255,255,255,.9); + + &:hover { + border-color: transparent; + background-color: #fff; + } +} + +@media (min-width: 32em) { + .btn-components, + .btn-download { + margin-right: 0; + margin-left: 0; + display: inline-block; + } + + .btn-download { + margin-right: 1rem; + margin-bottom: 0; + margin-left: 0; + } +} + +.btn-inversed { + color: #fff; + border-color: rgba(255,255,255,.7); + + &:hover { + border-color: #fff; + } +} + +// Use a simple flexbox grid +.container { + margin-left: auto; + margin-right: auto; + padding-left: $mobile-spacing; + padding-right: $mobile-spacing; + @include clearfix; +} +.col { + position: relative; + padding: 3rem $mobile-spacing; +} + +@media (min-width: 32em) { + .container { + padding-left: 0; + padding-right: 0; + max-width: 65rem; + } + + .col-group { + display: flex + } + + .col { + min-width: 0; // Fixes everything for firefox + padding-right: $desktop-spacing; + padding-left: $desktop-spacing; + flex: 1; + } + + .col-one-third { + max-width: 33.333%; + } +} + +// Masthead Jumbotron +.masthead { + position: relative; + padding-bottom: 80px; + color: #fff; + background-image: url('/assets/img/photo-couch.png'); + background-size: cover; + + &:after { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + content: ""; + background-color: #000; + opacity: .25; + z-index: 1; + } +} + +.masthead-content { + position: relative; + margin-top: 50px; + z-index: 10; +} + +.masthead-title { + margin: 0; + padding: 0 1rem 1.5rem; + font-size: 1.5em; + text-shadow: 0 0 3px rgba(0,0,0,.3); +} + +@media (min-width: 32em) { + .masthead { + background-position: center; + + &:after { + display: none; + } + } + + .masthead-title { + padding: 0 8rem 3rem; + font-size: 2.1em; + } +} + +.photo-credit { + position: absolute; + left: 50%; + bottom: 1em; + font-size: .8em; + color: #fff; + white-space: nowrap; + transform: translatex(-50%); + transition: opacity .15s linear; + opacity: .5; + z-index: 10; + + &:hover { + opacity: .9; + } +} + +// Sub page masthead +.sub-masthead { + color: #fff; + text-shadow: 0 0 3px rgba(0,0,0,.3); + @include directional-gradient(#000, #0f2b3c); +} + +.subpage-header-content { + padding: 2.5rem 1rem 3rem; +} + +@media (min-width: 32em) { + .subpage-header-content { + padding: 3rem 3rem 4rem; + } +} + +.subpage-title { + margin-top: 0; + margin-bottom: 0; + font-weight: 300; +} + +.subpage-lead { + margin-top: 0; + margin-bottom: 0; + color: #fff; + font-size: 1.3em; + font-weight: 300; + opacity: .8; +} + +// Navbar inside each masthead and sub masthead +.nav { + position: relative; + padding-top: 1.2rem; + padding-bottom: 1.2rem; + margin-left: $mobile-spacing; + margin-right: $mobile-spacing; + display: block; + font-weight: 500; + border-bottom: 1px solid rgba(255,255,255,.2); + z-index: 10; + @include clearfix; +} + +.title { + display: block; + font-size: 1em; + color: #fff; +} + +.nav-item { + margin-right: .7rem; + font-size: .8em; + color: #fff; + line-height: 1; + opacity: .7; + transition: opacity .15s linear; + + &:hover { + opacity: 1; + } +} + +.nav-group { + display: block; +} + +@media (min-width: 32em) { + .nav { + margin-left: $desktop-spacing; + margin-right: $desktop-spacing; + } + + .title { + float: left; + } + + .nav-group { + margin-top: .5em; + float: right; + } + + .nav-item { + margin-right: $desktop-spacing; + float: left; + } + + .nav-item:last-child { + margin-right: 0; + } +} + +// Wrap the example in window style (border and box-shadow) +.example-component-window { + height: 300px; + overflow: hidden; + box-shadow: 0 0 30px rgba(0,0,0,.1); + border: 1px solid #bebebe; + border-radius: 6px; +} + +// The demo is useless on mobile +@media (min-width: 32em) { + .example-component-container { + position: -webkit-sticky; + position: -moz-sticky; + position: -ms-sticky; + position: -o-sticky; + position: sticky; + top: $desktop-spacing; + min-width: 310px; + margin-bottom: $desktop-spacing; + } +} + +// This is the homepage's demo +.demo-app-container { + height: 450px; + margin-right: $desktop-spacing; + margin-bottom: $desktop-spacing; + margin-left: $desktop-spacing; + display: none; + border-radius: 6px; + overflow: hidden; + box-shadow: 0 0 60px rgba(0,0,0,.3); +} + +// The demo is useless on mobile +@media (min-width: 32em) { + .demo-app-container { + display: block; + } +} + +.demo-app, +.component-example { + width: 100%; + height: 100%; + display: block; + border: 0; +} + +// Sections +.docs-section { + border-bottom: 1px solid #ddd; +} + +.docs-section-gray { + background-color: #f8f8f8; +} + +@media (min-width: 32em) { + .basic-template-section { + border-top: 1px solid #ddd; + } +} + +.oss-section { + position: relative; + color: #fff; + text-shadow: 0 0 3px rgba(0,0,0,.3); + @include directional-gradient(#000, #0f2b3c); + + a:not(.btn) { + color: #fff; + } + + p { + color: darken(#ffffff, 20%); + } + + .btn { + margin-top: 20px; + } + + .col:last-child { + padding-top: 0; // Give the two sections consistent spaceing on mobile + } +} + +@media (min-width: 32em) { + .oss-section .col:last-child { + padding-top: $desktop-spacing; + } +} + +.component-section { + margin-bottom: $mobile-spacing; + border-bottom: 1px solid #ddd; + + &.last-component-section { + margin-bottom: 0; + } + + .col:last-child { + padding-top: 0; + } +} + +// Component section (split) +@media (min-width: 32em) { + .component-section { + margin-bottom: 0; + border-bottom: 0; + @include split-linear-gradient(#fff, #f5f5f5); + + .col { + padding-top: $desktop-spacing; + border-left: 1px solid #ddd; + + &:first-child { + border-left: 0; + } + + &:last-child { + padding-top: $desktop-spacing; + padding-bottom: 0; + } + } + } +} + +.component-description { + margin-bottom: 2rem; +} + +// Footer +.footer { + margin-top: -1px; // Remove the double border + border-top: 1px solid #ddd; +} + +.footer-content { + font-size: .8em; + font-weight: 500; + opacity: .8; +} + +.footer-links { + padding-left: 0; + list-style: none; + + li { + display: inline-block; + } +} + +@media (min-width: 32em) { + .footer-content { + margin-right: 5rem; + margin-left: 5rem; + } +} + +// Utilities +.text-centered { + text-align: center; +} + +.docs-hr { + margin-top: 2rem; + margin-bottom: 2rem; + background: 0 0; + border: 0; + border-bottom: 1px solid #ddd; +} + +// Icons +@font-face { + font-family: "photon-entypo"; + src: url('/dist/fonts/photon-entypo.eot'); + src: url('/dist/fonts/photon-entypo.eot?#iefix') format('eot'), + url('/dist/fonts/photon-entypo.woff') format('woff'), + url('/dist/fonts/photon-entypo.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + +.icon:before { + position: relative; + display: inline-block; + font-family: "photon-entypo"; + speak: none; + font-size: 100%; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-bucket:before { content: '\e8d5'; } /* '' */ +.icon-code:before { content: '\e834'; } /* '' */ +.icon-window:before { content: '\e86d'; } /* '' */ + + +// Component specific CSS +.buttons-component { + height: 80px; +} + +.button-groups-component { + height: 110px; +} + +.forms-component { + height: 430px; +} + +.icons-component { + height: 700px; + overflow: hidden; +} diff --git a/frontend/src/assets/fonts/photon-entypo.eot b/frontend/src/style/photon/fonts/photon-entypo.eot similarity index 100% rename from frontend/src/assets/fonts/photon-entypo.eot rename to frontend/src/style/photon/fonts/photon-entypo.eot diff --git a/frontend/src/assets/fonts/photon-entypo.svg b/frontend/src/style/photon/fonts/photon-entypo.svg similarity index 100% rename from frontend/src/assets/fonts/photon-entypo.svg rename to frontend/src/style/photon/fonts/photon-entypo.svg diff --git a/frontend/src/assets/fonts/photon-entypo.ttf b/frontend/src/style/photon/fonts/photon-entypo.ttf similarity index 100% rename from frontend/src/assets/fonts/photon-entypo.ttf rename to frontend/src/style/photon/fonts/photon-entypo.ttf diff --git a/frontend/src/assets/fonts/photon-entypo.woff b/frontend/src/style/photon/fonts/photon-entypo.woff similarity index 100% rename from frontend/src/assets/fonts/photon-entypo.woff rename to frontend/src/style/photon/fonts/photon-entypo.woff diff --git a/frontend/src/style/photon/forms.scss b/frontend/src/style/photon/forms.scss new file mode 100644 index 00000000..a2f72342 --- /dev/null +++ b/frontend/src/style/photon/forms.scss @@ -0,0 +1,94 @@ +// +// Forms.css +// Adapted from Bootstrap's forms.less (https://github.com/twbs/bootstrap/blob/master/less/forms.less) +// -------------------------------------------------- + +label { + display: inline-block; + font-size: $font-size-default; + margin-bottom: 5px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +input[type="search"] { + box-sizing: border-box; +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + line-height: normal; +} + +.form-control { + display: inline-block; + width: 100%; + min-height: 25px; + padding: $padding-less $padding; + font-size: $font-size-default; + line-height: $line-height-default; + background-color: $chrome-color; + border: 1px solid $border-color; + border-radius: $default-border-radius; + outline: none; + + &:focus { + border-color: $focus-input-color; + box-shadow: 3px 3px 0 $focus-input-color, + -3px -3px 0 $focus-input-color, + -3px 3px 0 $focus-input-color, + 3px -3px 0 $focus-input-color; + } +} + +// Reset height for `textarea`s +textarea { + height: auto; +} + +// Form groups +// +// Designed to help with the organization and spacing of vertical forms. For +// horizontal forms, use the predefined grid classes. + +.form-group { + margin-bottom: 10px; +} + +// Checkboxes and radios +// +// Indent the labels to position radios/checkboxes as hanging controls. + +.radio, +.checkbox { + position: relative; + display: block; + margin-top: 10px; + margin-bottom: 10px; + + label { + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + } +} + +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + position: absolute; + margin-left: -20px; + margin-top: 4px; +} + +// Form actions +.form-actions .btn { + margin-right: 10px; + + &:last-child { + margin-right: 0; + } +} diff --git a/frontend/src/style/photon/grid.scss b/frontend/src/style/photon/grid.scss new file mode 100644 index 00000000..fe17bb93 --- /dev/null +++ b/frontend/src/style/photon/grid.scss @@ -0,0 +1,42 @@ +// +// The Grid.css +// -------------------------------------------------- + +.pane-group { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + display: flex; +} + +.pane { + position: relative; + overflow-y: auto; + flex: 1; + border-left: 1px solid $border-color; + + &:first-child { + border-left: 0; + } +} + +.pane-sm { + max-width: 220px; + min-width: 150px; +} + +.pane-mini { + width: 80px; + flex: none; +} + +.pane-one-fourth { + width: 25%; + flex: none; +} + +.pane-one-third { + width: 33.3%; +} diff --git a/frontend/src/style/photon/icons.scss b/frontend/src/style/photon/icons.scss new file mode 100644 index 00000000..722b4c27 --- /dev/null +++ b/frontend/src/style/photon/icons.scss @@ -0,0 +1,309 @@ +@font-face { + font-family: "photon-entypo"; + src: url('@/style/photon/fonts/photon-entypo.eot'); + src: url('@/style/photon/fonts/photon-entypo.eot?#iefix') format('eot'), + url('@/style/photon/fonts/photon-entypo.woff') format('woff'), + url('@/style/photon/fonts/photon-entypo.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + +.icon:before { + position: relative; + display: inline-block; + font-family: "photon-entypo"; + speak: none; + font-size: 100%; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-note:before { content: '\e800'; } /* '' */ +.icon-note-beamed:before { content: '\e801'; } /* '' */ +.icon-music:before { content: '\e802'; } /* '' */ +.icon-search:before { content: '\e803'; } /* '' */ +.icon-flashlight:before { content: '\e804'; } /* '' */ +.icon-mail:before { content: '\e805'; } /* '' */ +.icon-heart:before { content: '\e806'; } /* '' */ +.icon-heart-empty:before { content: '\e807'; } /* '' */ +.icon-star:before { content: '\e808'; } /* '' */ +.icon-star-empty:before { content: '\e809'; } /* '' */ +.icon-user:before { content: '\e80a'; } /* '' */ +.icon-users:before { content: '\e80b'; } /* '' */ +.icon-user-add:before { content: '\e80c'; } /* '' */ +.icon-video:before { content: '\e80d'; } /* '' */ +.icon-picture:before { content: '\e80e'; } /* '' */ +.icon-camera:before { content: '\e80f'; } /* '' */ +.icon-layout:before { content: '\e810'; } /* '' */ +.icon-menu:before { content: '\e811'; } /* '' */ +.icon-check:before { content: '\e812'; } /* '' */ +.icon-cancel:before { content: '\e813'; } /* '' */ +.icon-cancel-circled:before { content: '\e814'; } /* '' */ +.icon-cancel-squared:before { content: '\e815'; } /* '' */ +.icon-plus:before { content: '\e816'; } /* '' */ +.icon-plus-circled:before { content: '\e817'; } /* '' */ +.icon-plus-squared:before { content: '\e818'; } /* '' */ +.icon-minus:before { content: '\e819'; } /* '' */ +.icon-minus-circled:before { content: '\e81a'; } /* '' */ +.icon-minus-squared:before { content: '\e81b'; } /* '' */ +.icon-help:before { content: '\e81c'; } /* '' */ +.icon-help-circled:before { content: '\e81d'; } /* '' */ +.icon-info:before { content: '\e81e'; } /* '' */ +.icon-info-circled:before { content: '\e81f'; } /* '' */ +.icon-back:before { content: '\e820'; } /* '' */ +.icon-home:before { content: '\e821'; } /* '' */ +.icon-link:before { content: '\e822'; } /* '' */ +.icon-attach:before { content: '\e823'; } /* '' */ +.icon-lock:before { content: '\e824'; } /* '' */ +.icon-lock-open:before { content: '\e825'; } /* '' */ +.icon-eye:before { content: '\e826'; } /* '' */ +.icon-tag:before { content: '\e827'; } /* '' */ +.icon-bookmark:before { content: '\e828'; } /* '' */ +.icon-bookmarks:before { content: '\e829'; } /* '' */ +.icon-flag:before { content: '\e82a'; } /* '' */ +.icon-thumbs-up:before { content: '\e82b'; } /* '' */ +.icon-thumbs-down:before { content: '\e82c'; } /* '' */ +.icon-download:before { content: '\e82d'; } /* '' */ +.icon-upload:before { content: '\e82e'; } /* '' */ +.icon-upload-cloud:before { content: '\e82f'; } /* '' */ +.icon-reply:before { content: '\e830'; } /* '' */ +.icon-reply-all:before { content: '\e831'; } /* '' */ +.icon-forward:before { content: '\e832'; } /* '' */ +.icon-quote:before { content: '\e833'; } /* '' */ +.icon-code:before { content: '\e834'; } /* '' */ +.icon-export:before { content: '\e835'; } /* '' */ +.icon-pencil:before { content: '\e836'; } /* '' */ +.icon-feather:before { content: '\e837'; } /* '' */ +.icon-print:before { content: '\e838'; } /* '' */ +.icon-retweet:before { content: '\e839'; } /* '' */ +.icon-keyboard:before { content: '\e83a'; } /* '' */ +.icon-comment:before { content: '\e83b'; } /* '' */ +.icon-chat:before { content: '\e83c'; } /* '' */ +.icon-bell:before { content: '\e83d'; } /* '' */ +.icon-attention:before { content: '\e83e'; } /* '' */ +.icon-alert:before { content: '\e83f'; } /* '' */ +.icon-vcard:before { content: '\e840'; } /* '' */ +.icon-address:before { content: '\e841'; } /* '' */ +.icon-location:before { content: '\e842'; } /* '' */ +.icon-map:before { content: '\e843'; } /* '' */ +.icon-direction:before { content: '\e844'; } /* '' */ +.icon-compass:before { content: '\e845'; } /* '' */ +.icon-cup:before { content: '\e846'; } /* '' */ +.icon-trash:before { content: '\e847'; } /* '' */ +.icon-doc:before { content: '\e848'; } /* '' */ +.icon-docs:before { content: '\e849'; } /* '' */ +.icon-doc-landscape:before { content: '\e84a'; } /* '' */ +.icon-doc-text:before { content: '\e84b'; } /* '' */ +.icon-doc-text-inv:before { content: '\e84c'; } /* '' */ +.icon-newspaper:before { content: '\e84d'; } /* '' */ +.icon-book-open:before { content: '\e84e'; } /* '' */ +.icon-book:before { content: '\e84f'; } /* '' */ +.icon-folder:before { content: '\e850'; } /* '' */ +.icon-archive:before { content: '\e851'; } /* '' */ +.icon-box:before { content: '\e852'; } /* '' */ +.icon-rss:before { content: '\e853'; } /* '' */ +.icon-phone:before { content: '\e854'; } /* '' */ +.icon-cog:before { content: '\e855'; } /* '' */ +.icon-tools:before { content: '\e856'; } /* '' */ +.icon-share:before { content: '\e857'; } /* '' */ +.icon-shareable:before { content: '\e858'; } /* '' */ +.icon-basket:before { content: '\e859'; } /* '' */ +.icon-bag:before { content: '\e85a'; } /* '' */ +.icon-calendar:before { content: '\e85b'; } /* '' */ +.icon-login:before { content: '\e85c'; } /* '' */ +.icon-logout:before { content: '\e85d'; } /* '' */ +.icon-mic:before { content: '\e85e'; } /* '' */ +.icon-mute:before { content: '\e85f'; } /* '' */ +.icon-sound:before { content: '\e860'; } /* '' */ +.icon-volume:before { content: '\e861'; } /* '' */ +.icon-clock:before { content: '\e862'; } /* '' */ +.icon-hourglass:before { content: '\e863'; } /* '' */ +.icon-lamp:before { content: '\e864'; } /* '' */ +.icon-light-down:before { content: '\e865'; } /* '' */ +.icon-light-up:before { content: '\e866'; } /* '' */ +.icon-adjust:before { content: '\e867'; } /* '' */ +.icon-block:before { content: '\e868'; } /* '' */ +.icon-resize-full:before { content: '\e869'; } /* '' */ +.icon-resize-small:before { content: '\e86a'; } /* '' */ +.icon-popup:before { content: '\e86b'; } /* '' */ +.icon-publish:before { content: '\e86c'; } /* '' */ +.icon-window:before { content: '\e86d'; } /* '' */ +.icon-arrow-combo:before { content: '\e86e'; } /* '' */ +.icon-down-circled:before { content: '\e86f'; } /* '' */ +.icon-left-circled:before { content: '\e870'; } /* '' */ +.icon-right-circled:before { content: '\e871'; } /* '' */ +.icon-up-circled:before { content: '\e872'; } /* '' */ +.icon-down-open:before { content: '\e873'; } /* '' */ +.icon-left-open:before { content: '\e874'; } /* '' */ +.icon-right-open:before { content: '\e875'; } /* '' */ +.icon-up-open:before { content: '\e876'; } /* '' */ +.icon-down-open-mini:before { content: '\e877'; } /* '' */ +.icon-left-open-mini:before { content: '\e878'; } /* '' */ +.icon-right-open-mini:before { content: '\e879'; } /* '' */ +.icon-up-open-mini:before { content: '\e87a'; } /* '' */ +.icon-down-open-big:before { content: '\e87b'; } /* '' */ +.icon-left-open-big:before { content: '\e87c'; } /* '' */ +.icon-right-open-big:before { content: '\e87d'; } /* '' */ +.icon-up-open-big:before { content: '\e87e'; } /* '' */ +.icon-down:before { content: '\e87f'; } /* '' */ +.icon-left:before { content: '\e880'; } /* '' */ +.icon-right:before { content: '\e881'; } /* '' */ +.icon-up:before { content: '\e882'; } /* '' */ +.icon-down-dir:before { content: '\e883'; } /* '' */ +.icon-left-dir:before { content: '\e884'; } /* '' */ +.icon-right-dir:before { content: '\e885'; } /* '' */ +.icon-up-dir:before { content: '\e886'; } /* '' */ +.icon-down-bold:before { content: '\e887'; } /* '' */ +.icon-left-bold:before { content: '\e888'; } /* '' */ +.icon-right-bold:before { content: '\e889'; } /* '' */ +.icon-up-bold:before { content: '\e88a'; } /* '' */ +.icon-down-thin:before { content: '\e88b'; } /* '' */ +.icon-left-thin:before { content: '\e88c'; } /* '' */ +.icon-right-thin:before { content: '\e88d'; } /* '' */ +.icon-up-thin:before { content: '\e88e'; } /* '' */ +.icon-ccw:before { content: '\e88f'; } /* '' */ +.icon-cw:before { content: '\e890'; } /* '' */ +.icon-arrows-ccw:before { content: '\e891'; } /* '' */ +.icon-level-down:before { content: '\e892'; } /* '' */ +.icon-level-up:before { content: '\e893'; } /* '' */ +.icon-shuffle:before { content: '\e894'; } /* '' */ +.icon-loop:before { content: '\e895'; } /* '' */ +.icon-switch:before { content: '\e896'; } /* '' */ +.icon-play:before { content: '\e897'; } /* '' */ +.icon-stop:before { content: '\e898'; } /* '' */ +.icon-pause:before { content: '\e899'; } /* '' */ +.icon-record:before { content: '\e89a'; } /* '' */ +.icon-to-end:before { content: '\e89b'; } /* '' */ +.icon-to-start:before { content: '\e89c'; } /* '' */ +.icon-fast-forward:before { content: '\e89d'; } /* '' */ +.icon-fast-backward:before { content: '\e89e'; } /* '' */ +.icon-progress-0:before { content: '\e89f'; } /* '' */ +.icon-progress-1:before { content: '\e8a0'; } /* '' */ +.icon-progress-2:before { content: '\e8a1'; } /* '' */ +.icon-progress-3:before { content: '\e8a2'; } /* '' */ +.icon-target:before { content: '\e8a3'; } /* '' */ +.icon-palette:before { content: '\e8a4'; } /* '' */ +.icon-list:before { content: '\e8a5'; } /* '' */ +.icon-list-add:before { content: '\e8a6'; } /* '' */ +.icon-signal:before { content: '\e8a7'; } /* '' */ +.icon-trophy:before { content: '\e8a8'; } /* '' */ +.icon-battery:before { content: '\e8a9'; } /* '' */ +.icon-back-in-time:before { content: '\e8aa'; } /* '' */ +.icon-monitor:before { content: '\e8ab'; } /* '' */ +.icon-mobile:before { content: '\e8ac'; } /* '' */ +.icon-network:before { content: '\e8ad'; } /* '' */ +.icon-cd:before { content: '\e8ae'; } /* '' */ +.icon-inbox:before { content: '\e8af'; } /* '' */ +.icon-install:before { content: '\e8b0'; } /* '' */ +.icon-globe:before { content: '\e8b1'; } /* '' */ +.icon-cloud:before { content: '\e8b2'; } /* '' */ +.icon-cloud-thunder:before { content: '\e8b3'; } /* '' */ +.icon-flash:before { content: '\e8b4'; } /* '' */ +.icon-moon:before { content: '\e8b5'; } /* '' */ +.icon-flight:before { content: '\e8b6'; } /* '' */ +.icon-paper-plane:before { content: '\e8b7'; } /* '' */ +.icon-leaf:before { content: '\e8b8'; } /* '' */ +.icon-lifebuoy:before { content: '\e8b9'; } /* '' */ +.icon-mouse:before { content: '\e8ba'; } /* '' */ +.icon-briefcase:before { content: '\e8bb'; } /* '' */ +.icon-suitcase:before { content: '\e8bc'; } /* '' */ +.icon-dot:before { content: '\e8bd'; } /* '' */ +.icon-dot-2:before { content: '\e8be'; } /* '' */ +.icon-dot-3:before { content: '\e8bf'; } /* '' */ +.icon-brush:before { content: '\e8c0'; } /* '' */ +.icon-magnet:before { content: '\e8c1'; } /* '' */ +.icon-infinity:before { content: '\e8c2'; } /* '' */ +.icon-erase:before { content: '\e8c3'; } /* '' */ +.icon-chart-pie:before { content: '\e8c4'; } /* '' */ +.icon-chart-line:before { content: '\e8c5'; } /* '' */ +.icon-chart-bar:before { content: '\e8c6'; } /* '' */ +.icon-chart-area:before { content: '\e8c7'; } /* '' */ +.icon-tape:before { content: '\e8c8'; } /* '' */ +.icon-graduation-cap:before { content: '\e8c9'; } /* '' */ +.icon-language:before { content: '\e8ca'; } /* '' */ +.icon-ticket:before { content: '\e8cb'; } /* '' */ +.icon-water:before { content: '\e8cc'; } /* '' */ +.icon-droplet:before { content: '\e8cd'; } /* '' */ +.icon-air:before { content: '\e8ce'; } /* '' */ +.icon-credit-card:before { content: '\e8cf'; } /* '' */ +.icon-floppy:before { content: '\e8d0'; } /* '' */ +.icon-clipboard:before { content: '\e8d1'; } /* '' */ +.icon-megaphone:before { content: '\e8d2'; } /* '' */ +.icon-database:before { content: '\e8d3'; } /* '' */ +.icon-drive:before { content: '\e8d4'; } /* '' */ +.icon-bucket:before { content: '\e8d5'; } /* '' */ +.icon-thermometer:before { content: '\e8d6'; } /* '' */ +.icon-key:before { content: '\e8d7'; } /* '' */ +.icon-flow-cascade:before { content: '\e8d8'; } /* '' */ +.icon-flow-branch:before { content: '\e8d9'; } /* '' */ +.icon-flow-tree:before { content: '\e8da'; } /* '' */ +.icon-flow-line:before { content: '\e8db'; } /* '' */ +.icon-flow-parallel:before { content: '\e8dc'; } /* '' */ +.icon-rocket:before { content: '\e8dd'; } /* '' */ +.icon-gauge:before { content: '\e8de'; } /* '' */ +.icon-traffic-cone:before { content: '\e8df'; } /* '' */ +.icon-cc:before { content: '\e8e0'; } /* '' */ +.icon-cc-by:before { content: '\e8e1'; } /* '' */ +.icon-cc-nc:before { content: '\e8e2'; } /* '' */ +.icon-cc-nc-eu:before { content: '\e8e3'; } /* '' */ +.icon-cc-nc-jp:before { content: '\e8e4'; } /* '' */ +.icon-cc-sa:before { content: '\e8e5'; } /* '' */ +.icon-cc-nd:before { content: '\e8e6'; } /* '' */ +.icon-cc-pd:before { content: '\e8e7'; } /* '' */ +.icon-cc-zero:before { content: '\e8e8'; } /* '' */ +.icon-cc-share:before { content: '\e8e9'; } /* '' */ +.icon-cc-remix:before { content: '\e8ea'; } /* '' */ +.icon-github:before { content: '\e8eb'; } /* '' */ +.icon-github-circled:before { content: '\e8ec'; } /* '' */ +.icon-flickr:before { content: '\e8ed'; } /* '' */ +.icon-flickr-circled:before { content: '\e8ee'; } /* '' */ +.icon-vimeo:before { content: '\e8ef'; } /* '' */ +.icon-vimeo-circled:before { content: '\e8f0'; } /* '' */ +.icon-twitter:before { content: '\e8f1'; } /* '' */ +.icon-twitter-circled:before { content: '\e8f2'; } /* '' */ +.icon-facebook:before { content: '\e8f3'; } /* '' */ +.icon-facebook-circled:before { content: '\e8f4'; } /* '' */ +.icon-facebook-squared:before { content: '\e8f5'; } /* '' */ +.icon-gplus:before { content: '\e8f6'; } /* '' */ +.icon-gplus-circled:before { content: '\e8f7'; } /* '' */ +.icon-pinterest:before { content: '\e8f8'; } /* '' */ +.icon-pinterest-circled:before { content: '\e8f9'; } /* '' */ +.icon-tumblr:before { content: '\e8fa'; } /* '' */ +.icon-tumblr-circled:before { content: '\e8fb'; } /* '' */ +.icon-linkedin:before { content: '\e8fc'; } /* '' */ +.icon-linkedin-circled:before { content: '\e8fd'; } /* '' */ +.icon-dribbble:before { content: '\e8fe'; } /* '' */ +.icon-dribbble-circled:before { content: '\e8ff'; } /* '' */ +.icon-stumbleupon:before { content: '\e900'; } /* '' */ +.icon-stumbleupon-circled:before { content: '\e901'; } /* '' */ +.icon-lastfm:before { content: '\e902'; } /* '' */ +.icon-lastfm-circled:before { content: '\e903'; } /* '' */ +.icon-rdio:before { content: '\e904'; } /* '' */ +.icon-rdio-circled:before { content: '\e905'; } /* '' */ +.icon-spotify:before { content: '\e906'; } /* '' */ +.icon-spotify-circled:before { content: '\e907'; } /* '' */ +.icon-qq:before { content: '\e908'; } /* '' */ +.icon-instagram:before { content: '\e909'; } /* '' */ +.icon-dropbox:before { content: '\e90a'; } /* '' */ +.icon-evernote:before { content: '\e90b'; } /* '' */ +.icon-flattr:before { content: '\e90c'; } /* '' */ +.icon-skype:before { content: '\e90d'; } /* '' */ +.icon-skype-circled:before { content: '\e90e'; } /* '' */ +.icon-renren:before { content: '\e90f'; } /* '' */ +.icon-sina-weibo:before { content: '\e910'; } /* '' */ +.icon-paypal:before { content: '\e911'; } /* '' */ +.icon-picasa:before { content: '\e912'; } /* '' */ +.icon-soundcloud:before { content: '\e913'; } /* '' */ +.icon-mixi:before { content: '\e914'; } /* '' */ +.icon-behance:before { content: '\e915'; } /* '' */ +.icon-google-circles:before { content: '\e916'; } /* '' */ +.icon-vkontakte:before { content: '\e917'; } /* '' */ +.icon-smashing:before { content: '\e918'; } /* '' */ +.icon-sweden:before { content: '\e919'; } /* '' */ +.icon-db-shape:before { content: '\e91a'; } /* '' */ +.icon-logo-db:before { content: '\e91b'; } /* '' */ diff --git a/frontend/src/style/photon/images.scss b/frontend/src/style/photon/images.scss new file mode 100644 index 00000000..aab74e5d --- /dev/null +++ b/frontend/src/style/photon/images.scss @@ -0,0 +1,15 @@ +// +// Images.scss +// -------------------------------------------------- + +img { + -webkit-user-drag: text; +} + +.img-circle { + border-radius: 50%; +} + +.img-rounded { + border-radius: $default-border-radius; +} diff --git a/frontend/src/style/photon/lists.scss b/frontend/src/style/photon/lists.scss new file mode 100644 index 00000000..5e5c16b8 --- /dev/null +++ b/frontend/src/style/photon/lists.scss @@ -0,0 +1,61 @@ +// +// Lists.scss +// -------------------------------------------------- + +// List groups +// These are to be used when shows list items that contain +// more substanstial amounts of information. (headings, images, text, etc.) + +.list-group { + width: 100%; + list-style: none; + margin: 0; + padding: 0; + + + * { + margin: 0; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } +} + +.list-group-item { + padding: 10px; + font-size: 12px; + color: #414142; + border-top: 1px solid $border-color; + + &:first-child { + border-top: 0; + } + + &.active, + // `.selected` is deprecated. Use `.active` instead. + &.selected { + color: #fff; + background-color: $active-color; + } +} + +.list-group-header { + padding: 10px; +} + +// Media objects in lists +.media-object { + margin-top: 3px; +} + +.media-object.pull-left { + margin-right: 10px +} + +.media-object.pull-right { + margin-left: 10px +} + +.media-body { + overflow: hidden; +} diff --git a/frontend/src/style/photon/mixins.scss b/frontend/src/style/photon/mixins.scss new file mode 100644 index 00000000..17e86572 --- /dev/null +++ b/frontend/src/style/photon/mixins.scss @@ -0,0 +1,60 @@ +// +// Mixins +// -------------------------------------------------- + +// General +// -------------------------------------------------- + +// Clearfix +// Source: http://nicolasgallagher.com/micro-clearfix-hack/ +// +// For modern browsers +// 1. The space content is one way to avoid an Opera bug when the +// contenteditable attribute is included anywhere else in the document. +// Otherwise it causes space to appear at the top and bottom of elements +// that are clearfixed. +// 2. The use of `table` rather than `block` is only necessary if using +// `:before` to contain the top-margins of child elements. +@mixin clearfix() { + &:before, + &:after { + display: table; // 2 + content: " "; // 1 + } + &:after { + clear: both; + } +} + +// Box shadow +@mixin box-shadow($shadow...) { + -webkit-box-shadow: $shadow; + box-shadow: $shadow; +} + +// Gradients + +// From top to bottom +@mixin linear-gradient($color-from, $color-to) { + background-color: $color-from; // Old browsers + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$color-from), color-stop(100%,$color-to)); // Chrome, Safari4+ + background-image: -webkit-linear-gradient(top, $color-from 0%, $color-to 100%); // Chrome10+, Safari5.1+ + background-image: linear-gradient(to bottom, $color-from 0%, $color-to 100%); // W3C +} + +// From left to right +@mixin split-linear-gradient($color-from, $color-to) { + background-color: $color-from; // Old browsers + background-image: -webkit-gradient(linear, left top, right top, color-stop(50%,$color-from), color-stop(50%,$color-to)); // Chrome, Safari4+ + background-image: -webkit-linear-gradient(left, $color-from 50%, $color-to 50%); // Chrome10+, Safari5.1+ + background-image: linear-gradient(to right, $color-from 50%, $color-to 50%); // W3C +} + +// From bottom left to top right +@mixin directional-gradient($color-from, $color-to, $deg: 45deg) { + background-color: $color-from; // Old browsers + background-image: -webkit-gradient(linear, left bottom, right top, color-stop(0%,$color-from), color-stop(100%,$color-to)); // Chrome, Safari4+ + background-image: -webkit-linear-gradient($deg, $color-from 0%, $color-to 100%); // Chrome10+, Safari5.1+ + background-image: -moz-linear-gradient($deg, $color-from 0%, $color-to 100%); // FF3.6+ + background-image: linear-gradient($deg, $color-from 0%, $color-to 100%); // W3C +} diff --git a/frontend/src/style/photon/navs.scss b/frontend/src/style/photon/navs.scss new file mode 100644 index 00000000..67641e82 --- /dev/null +++ b/frontend/src/style/photon/navs.scss @@ -0,0 +1,41 @@ +// +// Navs.scss +// -------------------------------------------------- + +.nav-group { + font-size: 14px; +} + +.nav-group-item { + padding: 2px 10px 2px 25px; + display: block; + color: $gray-color; + text-decoration: none; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + + &:active, + &.active { + background-color: #dcdfe1; + } + + .icon { + width: 19px; // Prevents a one pixel cutoff + height: 18px; + float: left; + color: #737475; + margin-top: -3px; + margin-right: 7px; + font-size: 18px; + text-align: center; + } +} + +.nav-group-title { + margin: 0; + padding: 10px 10px 2px; + font-size: 12px; + font-weight: 500; + color: lighten($gray-color, 20%); +} diff --git a/frontend/src/style/photon/normalize.scss b/frontend/src/style/photon/normalize.scss new file mode 100644 index 00000000..d0b28e30 --- /dev/null +++ b/frontend/src/style/photon/normalize.scss @@ -0,0 +1,215 @@ +// Based on normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css +// This normalize aims to reduce the number of rules and focus on Chrome. + +// +// 1. Normalize vertical alignment of `progress` in Chrome. +// + +audio, +canvas, +progress, +video { + vertical-align: baseline; // 1 +} + +// +// Prevent modern browsers from displaying `audio` without controls. +// + +audio:not([controls]) { + display: none; +} + +// Links +// ========================================================================== + +// +// Improve readability of focused elements when they are also in an +// active/hover state. +// + +a:active, +a:hover { + outline: 0; +} + +// Text-level semantics +// ========================================================================== + +// +// Address styling not present in IE 8/9/10/11, Safari, and Chrome. +// + +abbr[title] { + border-bottom: 1px dotted; +} + +// +// Address style set to `bolder` in Chrome. +// + +b, +strong { + font-weight: bold; +} + +// +// Address styling not present in Chrome. +// + +dfn { + font-style: italic; +} + +// +// Address variable `h1` font-size and margin within `section` and `article` +// contexts in Chrome. +// + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +// +// Address inconsistent and variable font size. +// + +small { + font-size: 80%; +} + +// +// Prevent `sub` and `sup` affecting `line-height`. +// + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +// Grouping content +// ========================================================================== + +// +// Contain overflow. +// + +pre { + overflow: auto; +} + +// +// Address odd `em`-unit font size rendering. +// + +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; +} + +// Forms +// ========================================================================== + +// +// Known limitation: by default, Chrome allows very limited +// styling of `select`, unless a `border` property is set. +// + +// +// 1. Correct color not being inherited. +// Known issue: affects color of disabled elements. +// 2. Correct font properties not being inherited. +// 3. Resets margin +// + +button, +input, +optgroup, +select, +textarea { + color: inherit; // 1 + font: inherit; // 2 + margin: 0; // 3 +} + +// +// Fix the cursor style for Chrome's increment/decrement buttons. For certain +// `font-size` values of the `input`, it causes the cursor style of the +// decrement button to change from `default` to `text`. +// + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +// +// 1. Address `appearance` set to `searchfield` in Chrome. +// 2. Address `box-sizing` set to `border-box` in Chrome. +// + +input[type="search"] { + -webkit-appearance: textfield; // 1 + box-sizing: content-box; // 2 +} + +// +// Remove inner padding and search cancel button in Chrome on OS X. +// + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +// +// Define consistent border, margin, and padding. +// + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +// +// 1. Correct `color` not being inherited in IE 8/9/10/11. +// 2. Remove padding so people aren't caught out if they zero out fieldsets. +// + +legend { + border: 0; // 1 + padding: 0; // 2 +} + +// Tables +// ========================================================================== + +// +// Remove most spacing between table cells. +// + +table { + border-collapse: collapse; + border-spacing: 0; +} + +td, +th { + padding: 0; +} diff --git a/frontend/src/style/photon/photon.scss b/frontend/src/style/photon/photon.scss new file mode 100644 index 00000000..9efc6804 --- /dev/null +++ b/frontend/src/style/photon/photon.scss @@ -0,0 +1,23 @@ +// Variables +@import "variables.scss"; + +// Mixins +@import "mixins.scss"; + +// Normalize, Base, & Utilities CSS +@import "normalize.scss"; +@import "base.scss"; +@import "utilities.scss"; + +// Components +@import "buttons.scss"; +@import "button-groups.scss"; +@import "bars.scss"; +@import "forms.scss"; +@import "grid.scss"; +@import "images.scss"; +@import "lists.scss"; +@import "navs.scss"; +@import "icons.scss"; +@import "tables.scss"; +@import "tabs.scss"; diff --git a/frontend/src/style/photon/tables.scss b/frontend/src/style/photon/tables.scss new file mode 100644 index 00000000..8ac8088a --- /dev/null +++ b/frontend/src/style/photon/tables.scss @@ -0,0 +1,52 @@ +// +// Navs.scss +// -------------------------------------------------- + +table { + width: 100%; + border: 0; + border-collapse: separate; + font-size: 12px; + text-align: left; +} + +thead { + background-color: #f5f5f4; +} + +tbody { + background-color: #fff; +} + +.table-striped tr:nth-child(even) { + background-color: #f5f5f4; +} + +tr:active, +.table-striped tr:active:nth-child(even) { + color: #fff; + background-color: $active-color; +} + +thead tr:active { + color: $gray-color; + background-color: #f5f5f4; +} + +th { + font-weight: normal; + border-right: 1px solid $border-color; + border-bottom: 1px solid $border-color; +} + +th, +td { + padding: 2px 15px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + + &:last-child { + border-right: 0; + } +} diff --git a/frontend/src/style/photon/tabs.scss b/frontend/src/style/photon/tabs.scss new file mode 100644 index 00000000..e97e778a --- /dev/null +++ b/frontend/src/style/photon/tabs.scss @@ -0,0 +1,74 @@ +// Tabs + +.tab-group { + margin-top: -1px; + display: flex; + border-top: 1px solid #989698; + border-bottom: 1px solid #989698; +} + +.tab-item { + position: relative; + flex: 1; + padding: 3px; + font-size: 12px; + text-align: center; + border-left: 1px solid #989698; + @include linear-gradient(#b8b6b8, #b0aeb0); + + &:first-child { + border-left: 0; + } + + &.active { + @include linear-gradient(#d4d2d4, #cccacc); + } + + .icon-close-tab { + position: absolute; + top: 50%; + left: 5px; + width: 15px; + height: 15px; + font-size: 15px; + line-height: 15px; + text-align: center; + color: #666; + opacity: 0; + transition: opacity .1s linear, background-color .1s linear; + border-radius: 3px; + transform: translateY(-50%); + z-index: 10; + } + + &:after { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + content: ""; + background-color: rgba(0,0,0,.08); + opacity: 0; + transition: opacity .1s linear; + z-index: 1; + } + + // Okay, I know... this is nuts but... + &:hover:not(.active):after { + opacity: 1; + } + + &:hover .icon-close-tab { + opacity: 1; + } + + .icon-close-tab:hover { + background-color: rgba(0,0,0,.08); + } +} + +.tab-item-fixed { + flex: none; + padding: 3px 10px; +} diff --git a/frontend/src/style/photon/utilities.scss b/frontend/src/style/photon/utilities.scss new file mode 100644 index 00000000..29e40214 --- /dev/null +++ b/frontend/src/style/photon/utilities.scss @@ -0,0 +1,117 @@ +// +// Utilities styles +// -------------------------------------------------- + +// Utility classes +.selectable-text { + cursor: text; + -webkit-user-select: text; +} + +// Text alignment +.text-center { + text-align: center; +} + +.text-right { + text-align: right; +} + +.text-left { + text-align: left; +} + +// Floats +.pull-left { + float: left; +} + +.pull-right { + float: right; +} + +// Padding +.padded { + padding: $padding; +} + +.padded-less { + padding: $padding-less; +} + +.padded-more { + padding: $padding-more; +} + +// Vertical Padding +.padded-vertically { + padding-top: $padding; + padding-bottom: $padding; +} + +.padded-vertically-less { + padding-top: $padding-less; + padding-bottom: $padding-less; +} + +.padded-vertically-more { + padding-top: $padding-more; + padding-bottom: $padding-more; +} + +// Horizontal Padding +.padded-horizontally { + padding-right: $padding; + padding-left: $padding; +} + +.padded-horizontally-less { + padding-right: $padding-less; + padding-left: $padding-less; +} + +.padded-horizontally-more { + padding-right: $padding-more; + padding-left: $padding-more; +} + +// Padding top +.padded-top { + padding-top: $padding; +} + +.padded-top-less { + padding-top: $padding-less; +} + +.padded-top-more { + padding-top: $padding-more; +} + +// Padding bottom +.padded-bottom { + padding-bottom: $padding; +} + +.padded-bottom-less { + padding-bottom: $padding-less; +} + +.padded-bottom-more { + padding-bottom: $padding-more; +} + +// Set the background-color to set a sidebar back a bit. +.sidebar { + background-color: #f5f5f4; +} + +// Allow the window to be dragged around the desktop by any element in the application. +.draggable { + -webkit-app-region: drag; +} + +// Clearfix +.clearfix { + @include clearfix(); +} diff --git a/frontend/src/style/photon/variables.scss b/frontend/src/style/photon/variables.scss new file mode 100644 index 00000000..838522a0 --- /dev/null +++ b/frontend/src/style/photon/variables.scss @@ -0,0 +1,56 @@ +// +// Variables +// -------------------------------------------------- + +// Type +// -------------------------------------------------- + +// Try to use the system's font on whatever platform the user is on. +$font-family-default: system, -apple-system, ".SFNSDisplay-Regular", "Helvetica Neue", Helvetica, "Segoe UI", sans-serif !default; +$font-size-default: 13px !default; +$font-weight: 500 !default; +$font-weight-bold: 700 !default; +$font-weight-light: 300 !default; +$line-height-default: 1.6 !default; + + +// Colors +// -------------------------------------------------- + +// Main colors +$primary-color: #3b99fc !default; +$chrome-color: #fff !default; + +// Copy +$gray-color: #333 !default; + +// Borders +$border-color: #ddd !default; +$dark-border-color: #c2c0c2 !default; +$darker-bottom-border-color: #a19fa1 !default; +$toolbar-border-color: #939293 !default; + +// Action colors +$default-color: #fff !default; +$positive-color: #34c84a !default; +$negative-color: #fc605b !default; +$warning-color: #fdbc40 !default; + +// Shades +$dark-color: #57acf5 !default; + +// Focus and active colors +$active-color: #116cd6; +$focus-input-color: lighten($primary-color, 10%) !default; + +// Other +// -------------------------------------------------- + +// Border radius +$default-border-radius: 4px; + +// Padding +$padding: 10px; +$padding-mini: 3px; +$padding-less: 5px; +$padding-more: 20px; diff --git a/frontend/src/style/variables.scss b/frontend/src/style/variables.scss index 17967ffa..fa2267ae 100644 --- a/frontend/src/style/variables.scss +++ b/frontend/src/style/variables.scss @@ -19,7 +19,7 @@ $fake-title-bar-height: 26px; $layout-header-height: 60px; $layout-footer-height: 20px; -$layout-left-sidebar-width: 200px; +$layout-left-sidebar-width: 160px; $layout-right-toolbar-width: 60px; $layout-sidebar-logo-height: 60px; @@ -35,12 +35,12 @@ $theme-top-header-background-color: #f4f5f6; // background-color: #325eff60; -$theme-function-box-font-color: #505050; +$theme-function-box-font-color: #666; // $theme-function-box-hover-bg-color: #c73639; // $theme-function-box-hover-font-color: #505050; -$theme-function-box-hover-bg-color: #666; +$theme-function-box-hover-bg-color: #858585d6; $theme-function-box-hover-font-color: #fff; diff --git a/frontend/src/view/Preference/AppSettings.vue b/frontend/src/view/Preference/AppSettings.vue deleted file mode 100644 index fa1bf49b..00000000 --- a/frontend/src/view/Preference/AppSettings.vue +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - diff --git a/frontend/src/view/Preference/DebugView.vue b/frontend/src/view/Preference/DebugView.vue deleted file mode 100644 index 3a2c4d6f..00000000 --- a/frontend/src/view/Preference/DebugView.vue +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - - diff --git a/frontend/src/view/Preference/DictionarySettingsView.vue b/frontend/src/view/Preference/DictionarySettingsView.vue deleted file mode 100644 index 4cbfae79..00000000 --- a/frontend/src/view/Preference/DictionarySettingsView.vue +++ /dev/null @@ -1,377 +0,0 @@ - - - - diff --git a/frontend/src/view/Preference/NewDictionary.vue b/frontend/src/view/Preference/NewDictionary.vue deleted file mode 100644 index 07f96525..00000000 --- a/frontend/src/view/Preference/NewDictionary.vue +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/frontend/src/view/Preference/PreferenceWindow.vue b/frontend/src/view/Preference/PreferenceWindow.vue deleted file mode 100644 index 012c99e4..00000000 --- a/frontend/src/view/Preference/PreferenceWindow.vue +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - - - diff --git a/frontend/src/view/Preference/TranslateSettingView.vue b/frontend/src/view/Preference/TranslateSettingView.vue deleted file mode 100644 index c2400417..00000000 --- a/frontend/src/view/Preference/TranslateSettingView.vue +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - - diff --git a/frontend/src/view/about/AboutView.vue b/frontend/src/view/about/AboutView.vue index 9f53e4f8..c9338cb0 100644 --- a/frontend/src/view/about/AboutView.vue +++ b/frontend/src/view/about/AboutView.vue @@ -19,12 +19,12 @@ @@ -98,17 +95,9 @@ import { BrowserOpenURL } from '../../../wailsjs/runtime/runtime'; import {Code, PeopleCarry} from "@vicons/fa"; import { NIcon } from 'naive-ui'; -import {useRouter} from "vue-router" - -const router = useRouter(); - function openExternal(url: string) { BrowserOpenURL(url); } - -function close() { - router.replace({ path: "/" }); -} @@ -117,22 +106,10 @@ function close() { .container{ height: 100%; overflow-y: auto; - padding: 10px 40px; - background-color: #fafafa; } .about-title { padding: 10px 0 10px 12px; - h3 { - line-height: 20px; - font-size: 20px; - font-weight: 700px; - color: #505050; - padding: 0; - margin:0; - margin-bottom: 20px; - margin-top: 10px; - } } @@ -146,10 +123,11 @@ function close() { padding: 2px 4px; margin: 0; font-size: 16px; - h4{ - margin: 4px 0; + h2{ + font-size: 21px; + margin: 14px 0; + padding: 6px 0; border-bottom: 1px solid #c1c1c3; - color: rgb(18, 78, 169); } } @@ -165,12 +143,10 @@ function close() { margin: 10px 0; .input-info { label { - font-size: 14px; font-style: bold; } p { - font-size: 12px; color: #333; font-style: italic; margin: 0; @@ -197,12 +173,7 @@ function close() { .about-body { min-height: 260px; } -.about-footer { - display: flex; - flex-direction: row-reverse; - padding-right: 30px; - margin-top: 10px; -} + .btn { background-color: rgb(252, 252, 252); background-image: linear-gradient(to bottom, #fcfcfc 0, #f1f1f1 100%); diff --git a/frontend/src/view/dict/index.vue b/frontend/src/view/dict/index.vue new file mode 100644 index 00000000..9812a854 --- /dev/null +++ b/frontend/src/view/dict/index.vue @@ -0,0 +1,269 @@ + + + + + + + diff --git a/frontend/src/view/docs/DocsWindow.vue b/frontend/src/view/docs/DocsWindow.vue deleted file mode 100644 index a3e2e384..00000000 --- a/frontend/src/view/docs/DocsWindow.vue +++ /dev/null @@ -1,429 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/frontend/src/view/docs/index.vue b/frontend/src/view/docs/index.vue new file mode 100644 index 00000000..4739613b --- /dev/null +++ b/frontend/src/view/docs/index.vue @@ -0,0 +1,378 @@ + + + + + + + diff --git a/frontend/src/view/main/AppFooter.vue b/frontend/src/view/main/AppFooter.vue deleted file mode 100644 index cf130e83..00000000 --- a/frontend/src/view/main/AppFooter.vue +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - - diff --git a/frontend/src/view/main/AppRightToolbar.vue b/frontend/src/view/main/AppRightToolbar.vue deleted file mode 100644 index cfe727c5..00000000 --- a/frontend/src/view/main/AppRightToolbar.vue +++ /dev/null @@ -1,165 +0,0 @@ - - - - - diff --git a/frontend/src/view/main/AppMainContent.vue b/frontend/src/view/main/MainContentFrame.vue similarity index 94% rename from frontend/src/view/main/AppMainContent.vue rename to frontend/src/view/main/MainContentFrame.vue index 7676c7b7..7485f63e 100644 --- a/frontend/src/view/main/AppMainContent.vue +++ b/frontend/src/view/main/MainContentFrame.vue @@ -19,11 +19,6 @@ + + diff --git a/frontend/src/view/main/AppMainFunctions.vue b/frontend/src/view/main/MainFunctions.vue similarity index 81% rename from frontend/src/view/main/AppMainFunctions.vue rename to frontend/src/view/main/MainFunctions.vue index e5606b5b..cfa53919 100644 --- a/frontend/src/view/main/AppMainFunctions.vue +++ b/frontend/src/view/main/MainFunctions.vue @@ -102,7 +102,7 @@ width: 52px; height: 44px; margin-top: -6px; - padding-top: 4px; + padding-top: 6px; cursor: pointer; border-radius: 4px; margin-left: 2px; @@ -124,6 +124,7 @@ margin-right: auto; } .fn-box-text { + margin-top: 2px; margin-left: auto; margin-right: auto; text-align: center; @@ -133,6 +134,11 @@ user-select: none; } } + + .active { + background-color: $theme-function-box-hover-bg-color; + color: $theme-function-box-hover-font-color; + } } } } @@ -172,23 +178,21 @@
- -
+
搜索
-
+ +
词典
-
+
@@ -206,16 +210,39 @@ import { Settings48Filled } from '@vicons/fluent'; import { NIcon } from 'naive-ui'; import { useDictQueryStore } from '@/store/dict'; +import { useUIStore } from '@/store/ui'; +import { useRouter } from "vue-router"; + const dictQueryStore = useDictQueryStore(); +const uiStore = useUIStore(); +const router = useRouter(); let inputWord = ref(''); +let inputActive = ref(false); ///---------------------------- // event listener function ///---------------------------- +const tabRouters = { + search: '/', + dict: '/dict', + setting: '/setting', +}; + +function changeTab(tabName) { + if (uiStore.currentTab != tabName && tabRouters[tabName]) { + router.replace({ path: tabRouters[tabName] }); + } + uiStore.updateCurrentTab(tabName); +} + function handleChange(v) { - console.info("[event keydown enter]" + inputWord.value) + console.info('[event keydown enter]' + inputWord.value); + if(!uiStore.isSearchInputActive()){ + console.log("input disabled, skipped") + return; + } dictQueryStore.updateInputSearchWord(inputWord.value.trim()); } - \ No newline at end of file + diff --git a/frontend/src/view/main/MainRightToolbar.vue b/frontend/src/view/main/MainRightToolbar.vue new file mode 100644 index 00000000..21345f90 --- /dev/null +++ b/frontend/src/view/main/MainRightToolbar.vue @@ -0,0 +1,151 @@ + + + + + diff --git a/frontend/src/view/main/MainSidebar.vue b/frontend/src/view/main/MainSidebar.vue new file mode 100644 index 00000000..dc2ba756 --- /dev/null +++ b/frontend/src/view/main/MainSidebar.vue @@ -0,0 +1,82 @@ + + + + + + diff --git a/frontend/src/view/main/MainWindow.vue b/frontend/src/view/main/index.vue similarity index 63% rename from frontend/src/view/main/MainWindow.vue rename to frontend/src/view/main/index.vue index 4175372b..00ab2816 100644 --- a/frontend/src/view/main/MainWindow.vue +++ b/frontend/src/view/main/index.vue @@ -21,31 +21,41 @@
- +
- +
+ +
+ +
+
- +
diff --git a/frontend/src/view/setting/SettingPlugin.vue b/frontend/src/view/setting/SettingPlugin.vue new file mode 100644 index 00000000..28b904a6 --- /dev/null +++ b/frontend/src/view/setting/SettingPlugin.vue @@ -0,0 +1,45 @@ + + + + + \ No newline at end of file diff --git a/frontend/src/view/setting/SettingSoftware.vue b/frontend/src/view/setting/SettingSoftware.vue new file mode 100644 index 00000000..67db4433 --- /dev/null +++ b/frontend/src/view/setting/SettingSoftware.vue @@ -0,0 +1,53 @@ + + + + diff --git a/frontend/src/view/setting/SettingTheme.vue b/frontend/src/view/setting/SettingTheme.vue new file mode 100644 index 00000000..08a66a95 --- /dev/null +++ b/frontend/src/view/setting/SettingTheme.vue @@ -0,0 +1,45 @@ + + + + + \ No newline at end of file diff --git a/frontend/src/view/setting/index.vue b/frontend/src/view/setting/index.vue new file mode 100644 index 00000000..0e13a5b3 --- /dev/null +++ b/frontend/src/view/setting/index.vue @@ -0,0 +1,382 @@ + + + + + + + + + diff --git a/frontend/src/vue-shim.d.ts b/frontend/src/vue-shim.d.ts index a09f3e89..aea493c3 100644 --- a/frontend/src/vue-shim.d.ts +++ b/frontend/src/vue-shim.d.ts @@ -22,4 +22,4 @@ declare module '*.md' { import type { ComponentOptions } from 'vue' const Component: ComponentOptions export default Component -} \ No newline at end of file +} diff --git a/frontend/vite.config.js b/frontend/vite.config.js index 33d10263..6c8861ef 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -1,6 +1,9 @@ import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; import alias from '@rollup/plugin-alias'; + +import markdown from 'vite-plugin-md'; +import Inspect from 'vite-plugin-inspect'; import { resolve } from 'path'; const root = resolve(__dirname); @@ -10,12 +13,18 @@ export default defineConfig({ publicDir: 'assets', plugins: [ alias(), - vue() + vue({ + include: [/\.vue$/, /\.md$/], // <-- + + }), + markdown(), + Inspect() ], resolve: { alias: { "@": resolve(root, "src"), "$": resolve(root, "wailsjs"), + 'vue': 'vue/dist/vue.esm-bundler.js' }, }, server: { diff --git a/frontend/wailsjs/go/main/App.d.ts b/frontend/wailsjs/go/main/App.d.ts index bd647af9..4a7e3365 100755 --- a/frontend/wailsjs/go/main/App.d.ts +++ b/frontend/wailsjs/go/main/App.d.ts @@ -2,6 +2,10 @@ // This file is automatically generated. DO NOT EDIT import {model} from '../models'; +export function BaseDictDir():Promise; + export function Dispatch(arg1:string,arg2:{[key: string]: any}):Promise; +export function OpenFinder(arg1:string):Promise; + export function ResourceServerAddr():Promise; diff --git a/frontend/wailsjs/go/main/App.js b/frontend/wailsjs/go/main/App.js index c0d953c9..6b47899e 100755 --- a/frontend/wailsjs/go/main/App.js +++ b/frontend/wailsjs/go/main/App.js @@ -2,10 +2,18 @@ // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL // This file is automatically generated. DO NOT EDIT +export function BaseDictDir() { + return window['go']['main']['App']['BaseDictDir'](); +} + export function Dispatch(arg1, arg2) { return window['go']['main']['App']['Dispatch'](arg1, arg2); } +export function OpenFinder(arg1) { + return window['go']['main']['App']['OpenFinder'](arg1); +} + export function ResourceServerAddr() { return window['go']['main']['App']['ResourceServerAddr'](); } diff --git a/go.mod b/go.mod index 85d07bc7..8098487f 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,9 @@ require ( github.com/kirsle/configdir v0.0.0-20170128060238-e45d2f54772f github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 github.com/rasky/go-lzo v0.0.0-20200203143853-96a758eda86e + github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/viper v1.10.1 + go.etcd.io/etcd/client/pkg/v3 v3.5.1 golang.org/x/text v0.9.0 ) @@ -67,6 +69,9 @@ require ( github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasttemplate v1.2.2 // indirect github.com/wailsapp/mimetype v1.4.1 // indirect + go.uber.org/atomic v1.7.0 // indirect + go.uber.org/multierr v1.6.0 // indirect + go.uber.org/zap v1.17.0 // indirect golang.org/x/arch v0.3.0 // indirect golang.org/x/crypto v0.9.0 // indirect golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 // indirect diff --git a/go.sum b/go.sum index c43f3ee1..9320e56a 100644 --- a/go.sum +++ b/go.sum @@ -10,6 +10,7 @@ github.com/c0mm4nd/go-ripemd v0.0.0-20200326052756-bd1759ad7d10/go.mod h1:mYPR+a github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY= github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 h1:qSGYFH7+jGhDF8vLC+iwCD4WpbV1EBDSzWkJODFLams= github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk= +github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/creasty/go-levenshtein v0.0.0-20161128082938-38ce641d5030 h1:YhxjIVClCJVUsbgICBmYNhT/SAAZVe3FkrC8sdQQEjA= github.com/creasty/go-levenshtein v0.0.0-20161128082938-38ce641d5030/go.mod h1:lOCZAIOJdOr4nhnfYZxyv6nN4NNG848ubmh4SpwFyI8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -34,6 +35,7 @@ github.com/go-playground/validator/v10 v10.14.0 h1:vgvQWe3XCz3gIeFDm/HnTIbj6UGmg github.com/go-playground/validator/v10 v10.14.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU= github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= @@ -113,6 +115,8 @@ github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBO github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/samber/lo v1.38.1 h1:j2XEAqXKb09Am4ebOg31SpvzUTTs6EN3VfgeLUhPdXM= github.com/samber/lo v1.38.1/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA= +github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 h1:JIAuq3EEf9cgbU6AtGPK4CTG3Zf6CKMNqf0MHTggAUA= +github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog= github.com/spf13/afero v1.6.0 h1:xoax2sJ2DT8S8xA2paPFjDCScCNeWsg75VG0DLRreiY= github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= @@ -153,6 +157,14 @@ github.com/wailsapp/mimetype v1.4.1 h1:pQN9ycO7uo4vsUUuPeHEYoUkLVkaRntMnHJxVwYhw github.com/wailsapp/mimetype v1.4.1/go.mod h1:9aV5k31bBOv5z6u+QP8TltzvNGJPmNJD4XlAL3U+j3o= github.com/wailsapp/wails/v2 v2.5.1 h1:mfG+2kWqQXYOwdgI43HEILjOZDXbk5woPYI3jP2b+js= github.com/wailsapp/wails/v2 v2.5.1/go.mod h1:jbOZbcr/zm79PxXxAjP8UoVlDd9wLW3uDs+isIthDfs= +go.etcd.io/etcd/client/pkg/v3 v3.5.1 h1:XIQcHCFSG53bJETYeRJtIxdLv2EWRGxcfzR8lSnTH4E= +go.etcd.io/etcd/client/pkg/v3 v3.5.1/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= +go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= +go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= +go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/zap v1.17.0 h1:MTjgFu6ZLKvY6Pvaqk97GlxNBuMpV4Hy/3P6tRGlI2U= +go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= golang.org/x/arch v0.3.0 h1:02VY4/ZcO/gBOH6PUaoiptASxtXU10jazRCP865E97k= golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= @@ -171,6 +183,7 @@ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -200,6 +213,7 @@ gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/ini.v1 v1.66.2 h1:XfR1dOYubytKy4Shzc2LHrrGhU0lDCfDGG1yLPmpgsI= gopkg.in/ini.v1 v1.66.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/internal/utils/pathhome_darwin.go b/internal/utils/pathhome_darwin.go index 278d4aa4..f0224ba5 100644 --- a/internal/utils/pathhome_darwin.go +++ b/internal/utils/pathhome_darwin.go @@ -34,11 +34,15 @@ func HomeDir() (string, error) { return "", fmt.Errorf("base home dir mkall failed, %s", err.Error()) } - //configPath := configdir.LocalConfig("medict") - //fmt.Printf("medict app: HomeDir %s\n", configPath) - //err := configdir.MakePath(configPath) // Ensure it exists. - //if err != nil { - // return "", fmt.Errorf("base home dir mkall failed, %s", err.Error()) - //} + return configPath, nil +} + +func AppConfigDir() (string, error) { + configPath := configdir.LocalConfig("medict") + fmt.Printf("medict app: AppConfigDir %s\n", configPath) + err := configdir.MakePath(configPath) // Ensure it exists. + if err != nil { + return "", fmt.Errorf("app config dir mkall failed, %s", err.Error()) + } return configPath, nil } diff --git a/internal/utils/pathhome_linux.go b/internal/utils/pathhome_linux.go index 80b11dd7..ebf320b3 100644 --- a/internal/utils/pathhome_linux.go +++ b/internal/utils/pathhome_linux.go @@ -27,3 +27,7 @@ func HomeDir() (string, error) { } return configPath, nil } + +func AppConfigDir() (string, error) { + return HomeDir() +} diff --git a/internal/utils/pathhome_windows.go b/internal/utils/pathhome_windows.go index d925757d..b76ef01c 100644 --- a/internal/utils/pathhome_windows.go +++ b/internal/utils/pathhome_windows.go @@ -28,3 +28,7 @@ func HomeDir() (string, error) { } return configPath, nil } + +func AppConfigDir() (string, error) { + return HomeDir() +} diff --git a/pkg/service/mdict.go b/pkg/service/mdict.go index 9ddeb61b..284e37e4 100644 --- a/pkg/service/mdict.go +++ b/pkg/service/mdict.go @@ -3,11 +3,11 @@ package service import ( "errors" "fmt" + "path/filepath" "strings" "sync" "github.com/terasum/medict/internal/gomdict" - "github.com/terasum/medict/internal/utils" "github.com/terasum/medict/pkg/model" ) @@ -54,7 +54,12 @@ func NewMdict(dirItem *model.DirItem) (model.GeneralDictionary, error) { } func (md *Mdict) Name() string { - return strings.TrimRight(utils.FileName(md.mdxFilePath), ".mdx") + _, rawpath := filepath.Split(md.mdxFilePath) + rawpath = strings.TrimRight(rawpath, ".mdx") + if len(rawpath) > 0 { + return rawpath + } + return md.mdxFilePath } func (md *Mdict) Description() *model.PlainDictionaryInfo { diff --git a/pkg/service/mdict_test.go b/pkg/service/mdict_test.go new file mode 100644 index 00000000..efa51e73 --- /dev/null +++ b/pkg/service/mdict_test.go @@ -0,0 +1,19 @@ +package service + +import ( + "github.com/stretchr/testify/assert" + "testing" +) + +func TestMdict_Name(t *testing.T) { + mdict := &Mdict{ + mdxFilePath: "/User/yourname/test/dict/test.mdx", + mddFilePaths: nil, + mdxins: nil, + mddinss: nil, + hasBuildIndex: false, + buildingIndexLock: nil, + } + t.Logf("name is %s", mdict.Name()) + assert.Equal(t, "test", mdict.Name()) +}