diff --git a/.npmrc b/.npmrc deleted file mode 100644 index bf2e7648..00000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -shamefully-hoist=true diff --git a/components.d.ts b/components.d.ts index 8c041ab0..48887033 100644 --- a/components.d.ts +++ b/components.d.ts @@ -7,6 +7,8 @@ export {} declare module 'vue' { export interface GlobalComponents { + BanConfig: typeof import('./src/components/misc/banList/BanConfig.vue')['default'] + BanList: typeof import('./src/components/misc/banList/BanList.vue')['default'] CensorConfig: typeof import('./src/components/mod/censor/CensorConfig.vue')['default'] CensorFiles: typeof import('./src/components/mod/censor/CensorFiles.vue')['default'] CensorLog: typeof import('./src/components/mod/censor/CensorLog.vue')['default'] @@ -94,7 +96,7 @@ declare module 'vue' { PageJs: typeof import('./src/components/mod/PageJs.vue')['default'] PageMiscAdvancedSettings: typeof import('./src/components/misc/PageMiscAdvancedSettings.vue')['default'] PageMiscBackup: typeof import('./src/components/misc/PageMiscBackup.vue')['default'] - PageMiscBanList: typeof import('./src/components/misc/PageMiscBanList.vue')['default'] + PageMiscBan: typeof import('./src/components/misc/PageMiscBan.vue')['default'] PageMiscDeck: typeof import('./src/components/mod/PageMiscDeck.vue')['default'] PageMiscGroup: typeof import('./src/components/misc/PageMiscGroup.vue')['default'] PageMiscSettings: typeof import('./src/components/misc/PageMiscSettings.vue')['default'] diff --git a/package.json b/package.json index f230234c..96ab4631 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "type": "module", "dependencies": { "@codemirror/lang-javascript": "^6.2.2", + "@element-plus/icons-vue": "^2.3.1", "@vueuse/core": "^10.11.0", "asmcrypto.js": "^2.3.2", "axios": "^1.7.2", @@ -21,13 +22,14 @@ "clipboard": "^2.0.11", "codemirror": "^6.0.1", "cron-parser": "^4.9.0", - "dayjs": "^1.11.11", + "dayjs": "^1.11.12", "element-plus": "^2.7.7", "filesize": "^10.1.4", + "highlight.js": "^11.10.0", "lodash-es": "^4.17.21", "pinia": "^2.1.7", "randomcolor": "^0.6.2", - "vue": "^3.4.31", + "vue": "^3.4.33", "vue-diff": "^1.2.4", "vue-router": "^4.4.0", "vuedraggable": "^4.1.0" @@ -35,22 +37,24 @@ "devDependencies": { "@iconify-json/bi": "^1.1.23", "@iconify-json/carbon": "^1.1.36", + "@rushstack/eslint-patch": "^1.10.3", + "@tsconfig/node20": "^20.1.4", "@types/lodash-es": "^4.17.12", - "@types/node": "^20.14.10", + "@types/node": "^20.14.11", "@types/randomcolor": "^0.5.9", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "@vitejs/plugin-legacy": "^5.4.1", "@vitejs/plugin-vue": "^5.0.5", "@vitejs/plugin-vue-jsx": "^4.0.0", - "@vue/compiler-sfc": "^3.4.31", + "@vue/tsconfig": "^0.5.1", "autoprefixer": "^10.4.19", "eslint": "^8.57.0", "eslint-plugin-vue": "^9.27.0", "iconify-icon": "^1.0.8", "postcss": "^8.4.39", - "postcss-nested": "^6.0.1", - "tailwindcss": "^3.4.5", + "postcss-nested": "^6.2.0", + "tailwindcss": "^3.4.6", "typescript": "^5.5.3", "unplugin-auto-import": "^0.17.8", "unplugin-icons": "^0.17.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d4fb1679..6722b1c1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,9 +11,12 @@ importers: '@codemirror/lang-javascript': specifier: ^6.2.2 version: 6.2.2 + '@element-plus/icons-vue': + specifier: ^2.3.1 + version: 2.3.1(vue@3.4.33(typescript@5.5.3)) '@vueuse/core': specifier: ^10.11.0 - version: 10.11.0(vue@3.4.31(typescript@5.5.3)) + version: 10.11.0(vue@3.4.33(typescript@5.5.3)) asmcrypto.js: specifier: ^2.3.2 version: 2.3.2 @@ -33,35 +36,38 @@ importers: specifier: ^4.9.0 version: 4.9.0 dayjs: - specifier: ^1.11.11 - version: 1.11.11 + specifier: ^1.11.12 + version: 1.11.12 element-plus: specifier: ^2.7.7 - version: 2.7.7(vue@3.4.31(typescript@5.5.3)) + version: 2.7.7(vue@3.4.33(typescript@5.5.3)) filesize: specifier: ^10.1.4 version: 10.1.4 + highlight.js: + specifier: ^11.10.0 + version: 11.10.0 lodash-es: specifier: ^4.17.21 version: 4.17.21 pinia: specifier: ^2.1.7 - version: 2.1.7(typescript@5.5.3)(vue@3.4.31(typescript@5.5.3)) + version: 2.1.7(typescript@5.5.3)(vue@3.4.33(typescript@5.5.3)) randomcolor: specifier: ^0.6.2 version: 0.6.2 vue: - specifier: ^3.4.31 - version: 3.4.31(typescript@5.5.3) + specifier: ^3.4.33 + version: 3.4.33(typescript@5.5.3) vue-diff: specifier: ^1.2.4 - version: 1.2.4(vue@3.4.31(typescript@5.5.3)) + version: 1.2.4(vue@3.4.33(typescript@5.5.3)) vue-router: specifier: ^4.4.0 - version: 4.4.0(vue@3.4.31(typescript@5.5.3)) + version: 4.4.0(vue@3.4.33(typescript@5.5.3)) vuedraggable: specifier: ^4.1.0 - version: 4.1.0(vue@3.4.31(typescript@5.5.3)) + version: 4.1.0(vue@3.4.33(typescript@5.5.3)) devDependencies: '@iconify-json/bi': specifier: ^1.1.23 @@ -69,12 +75,18 @@ importers: '@iconify-json/carbon': specifier: ^1.1.36 version: 1.1.36 + '@rushstack/eslint-patch': + specifier: ^1.10.3 + version: 1.10.3 + '@tsconfig/node20': + specifier: ^20.1.4 + version: 20.1.4 '@types/lodash-es': specifier: ^4.17.12 version: 4.17.12 '@types/node': - specifier: ^20.14.10 - version: 20.14.10 + specifier: ^20.14.11 + version: 20.14.11 '@types/randomcolor': specifier: ^0.5.9 version: 0.5.9 @@ -86,16 +98,16 @@ importers: version: 6.21.0(eslint@8.57.0)(typescript@5.5.3) '@vitejs/plugin-legacy': specifier: ^5.4.1 - version: 5.4.1(terser@5.31.2)(vite@5.3.4(@types/node@20.14.10)(sass@1.77.8)(terser@5.31.2)) + version: 5.4.1(terser@5.31.2)(vite@5.3.4(@types/node@20.14.11)(sass@1.77.8)(terser@5.31.2)) '@vitejs/plugin-vue': specifier: ^5.0.5 - version: 5.0.5(vite@5.3.4(@types/node@20.14.10)(sass@1.77.8)(terser@5.31.2))(vue@3.4.31(typescript@5.5.3)) + version: 5.0.5(vite@5.3.4(@types/node@20.14.11)(sass@1.77.8)(terser@5.31.2))(vue@3.4.33(typescript@5.5.3)) '@vitejs/plugin-vue-jsx': specifier: ^4.0.0 - version: 4.0.0(vite@5.3.4(@types/node@20.14.10)(sass@1.77.8)(terser@5.31.2))(vue@3.4.31(typescript@5.5.3)) - '@vue/compiler-sfc': - specifier: ^3.4.31 - version: 3.4.31 + version: 4.0.0(vite@5.3.4(@types/node@20.14.11)(sass@1.77.8)(terser@5.31.2))(vue@3.4.33(typescript@5.5.3)) + '@vue/tsconfig': + specifier: ^0.5.1 + version: 0.5.1 autoprefixer: specifier: ^10.4.19 version: 10.4.19(postcss@8.4.39) @@ -112,26 +124,26 @@ importers: specifier: ^8.4.39 version: 8.4.39 postcss-nested: - specifier: ^6.0.1 - version: 6.0.1(postcss@8.4.39) + specifier: ^6.2.0 + version: 6.2.0(postcss@8.4.39) tailwindcss: - specifier: ^3.4.5 - version: 3.4.5 + specifier: ^3.4.6 + version: 3.4.6 typescript: specifier: ^5.5.3 version: 5.5.3 unplugin-auto-import: specifier: ^0.17.8 - version: 0.17.8(@vueuse/core@10.11.0(vue@3.4.31(typescript@5.5.3)))(rollup@4.18.1) + version: 0.17.8(@vueuse/core@10.11.0(vue@3.4.33(typescript@5.5.3)))(rollup@4.18.1) unplugin-icons: specifier: ^0.17.4 - version: 0.17.4(@vue/compiler-sfc@3.4.31)(vue-template-compiler@2.7.16) + version: 0.17.4(@vue/compiler-sfc@3.4.33)(vue-template-compiler@2.7.16) unplugin-vue-components: specifier: ^0.26.0 - version: 0.26.0(@babel/parser@7.24.8)(rollup@4.18.1)(vue@3.4.31(typescript@5.5.3)) + version: 0.26.0(@babel/parser@7.24.8)(rollup@4.18.1)(vue@3.4.33(typescript@5.5.3)) vite: specifier: ^5.3.4 - version: 5.3.4(@types/node@20.14.10)(sass@1.77.8)(terser@5.31.2) + version: 5.3.4(@types/node@20.14.11)(sass@1.77.8)(terser@5.31.2) vue-tsc: specifier: ^2.0.26 version: 2.0.26(typescript@5.5.3) @@ -1120,9 +1132,15 @@ packages: cpu: [x64] os: [win32] + '@rushstack/eslint-patch@1.10.3': + resolution: {integrity: sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg==} + '@sxzz/popperjs-es@2.11.7': resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + '@tsconfig/node20@20.1.4': + resolution: {integrity: sha512-sqgsT69YFeLWf5NtJ4Xq/xAF8p4ZQHlmGW74Nu2tD4+g5fAsposc4ZfaaPixVu4y01BEiDCWLRDCvDM5JOsRxg==} + '@types/estree@1.0.5': resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} @@ -1135,8 +1153,8 @@ packages: '@types/lodash@4.17.7': resolution: {integrity: sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==} - '@types/node@20.14.10': - resolution: {integrity: sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==} + '@types/node@20.14.11': + resolution: {integrity: sha512-kprQpL8MMeszbz6ojB5/tU8PLN4kesnN8Gjzw349rDlNgsSzg90lAVj3llK99Dh7JON+t9AuscPPFW6mPbTnSA==} '@types/randomcolor@0.5.9': resolution: {integrity: sha512-k58cfpkK15AKn1m+oRd9nh5BnuiowhbyvBBdAzcddtARMr3xRzP0VlFaAKovSG6N6Knx08EicjPlOMzDejerrQ==} @@ -1263,15 +1281,27 @@ packages: '@vue/compiler-core@3.4.31': resolution: {integrity: sha512-skOiodXWTV3DxfDhB4rOf3OGalpITLlgCeOwb+Y9GJpfQ8ErigdBUHomBzvG78JoVE8MJoQsb+qhZiHfKeNeEg==} + '@vue/compiler-core@3.4.33': + resolution: {integrity: sha512-MoIREbkdPQlnGfSKDMgzTqzqx5nmEjIc0ydLVYlTACGBsfvOJ4tHSbZXKVF536n6fB+0eZaGEOqsGThPpdvF5A==} + '@vue/compiler-dom@3.4.31': resolution: {integrity: sha512-wK424WMXsG1IGMyDGyLqB+TbmEBFM78hIsOJ9QwUVLGrcSk0ak6zYty7Pj8ftm7nEtdU/DGQxAXp0/lM/2cEpQ==} + '@vue/compiler-dom@3.4.33': + resolution: {integrity: sha512-GzB8fxEHKw0gGet5BKlpfXEqoBnzSVWwMnT+dc25wE7pFEfrU/QsvjZMP9rD4iVXHBBoemTct8mN0GJEI6ZX5A==} + '@vue/compiler-sfc@3.4.31': resolution: {integrity: sha512-einJxqEw8IIJxzmnxmJBuK2usI+lJonl53foq+9etB2HAzlPjAS/wa7r0uUpXw5ByX3/0uswVSrjNb17vJm1kQ==} + '@vue/compiler-sfc@3.4.33': + resolution: {integrity: sha512-7rk7Vbkn21xMwIUpHQR4hCVejwE6nvhBOiDgoBcR03qvGqRKA7dCBSsHZhwhYUsmjlbJ7OtD5UFIyhP6BY+c8A==} + '@vue/compiler-ssr@3.4.31': resolution: {integrity: sha512-RtefmITAje3fJ8FSg1gwgDhdKhZVntIVbwupdyZDSifZTRMiWxWehAOTCc8/KZDnBOcYQ4/9VWxsTbd3wT0hAA==} + '@vue/compiler-ssr@3.4.33': + resolution: {integrity: sha512-0WveC9Ai+eT/1b6LCV5IfsufBZ0HP7pSSTdDjcuW302tTEgoBw8rHVHKPbGUtzGReUFCRXbv6zQDDgucnV2WzQ==} + '@vue/devtools-api@6.6.3': resolution: {integrity: sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw==} @@ -1283,23 +1313,29 @@ packages: typescript: optional: true - '@vue/reactivity@3.4.31': - resolution: {integrity: sha512-VGkTani8SOoVkZNds1PfJ/T1SlAIOf8E58PGAhIOUDYPC4GAmFA2u/E14TDAFcf3vVDKunc4QqCe/SHr8xC65Q==} + '@vue/reactivity@3.4.33': + resolution: {integrity: sha512-B24QIelahDbyHipBgbUItQblbd4w5HpG3KccL+YkGyo3maXyS253FzcTR3pSz739OTphmzlxP7JxEMWBpewilA==} - '@vue/runtime-core@3.4.31': - resolution: {integrity: sha512-LDkztxeUPazxG/p8c5JDDKPfkCDBkkiNLVNf7XZIUnJ+66GVGkP+TIh34+8LtPisZ+HMWl2zqhIw0xN5MwU1cw==} + '@vue/runtime-core@3.4.33': + resolution: {integrity: sha512-6wavthExzT4iAxpe8q37/rDmf44nyOJGISJPxCi9YsQO+8w9v0gLCFLfH5TzD1V1AYrTAdiF4Y1cgUmP68jP6w==} - '@vue/runtime-dom@3.4.31': - resolution: {integrity: sha512-2Auws3mB7+lHhTFCg8E9ZWopA6Q6L455EcU7bzcQ4x6Dn4cCPuqj6S2oBZgN2a8vJRS/LSYYxwFFq2Hlx3Fsaw==} + '@vue/runtime-dom@3.4.33': + resolution: {integrity: sha512-iHsMCUSFJ+4z432Bn9kZzHX+zOXa6+iw36DaVRmKYZpPt9jW9riF32SxNwB124i61kp9+AZtheQ/mKoJLerAaQ==} - '@vue/server-renderer@3.4.31': - resolution: {integrity: sha512-D5BLbdvrlR9PE3by9GaUp1gQXlCNadIZytMIb8H2h3FMWJd4oUfkUTEH2wAr3qxoRz25uxbTcbqd3WKlm9EHQA==} + '@vue/server-renderer@3.4.33': + resolution: {integrity: sha512-jTH0d6gQcaYideFP/k0WdEu8PpRS9MF8d0b6SfZzNi+ap972pZ0TNIeTaESwdOtdY0XPVj54XEJ6K0wXxir4fw==} peerDependencies: - vue: 3.4.31 + vue: 3.4.33 '@vue/shared@3.4.31': resolution: {integrity: sha512-Yp3wtJk//8cO4NItOPpi3QkLExAr/aLBGZMmTtW9WpdwBCJpRM6zj9WgWktXAl8IDIozwNMByT45JP3tO3ACWA==} + '@vue/shared@3.4.33': + resolution: {integrity: sha512-aoRY0jQk3A/cuvdkodTrM4NMfxco8n55eG4H7ML/CRy7OryHfiqvug4xrCBBMbbN+dvXAetDDwZW9DXWWjBntA==} + + '@vue/tsconfig@0.5.1': + resolution: {integrity: sha512-VcZK7MvpjuTPx2w6blwnwZAu5/LgBUtejFOi3pPGQFXQN5Ela03FUtd2Qtg4yWGGissVL0dr6Ro1LfOFh+PCuQ==} + '@vueuse/core@10.11.0': resolution: {integrity: sha512-x3sD4Mkm7PJ+pcq3HX8PLPBadXCAlSDR/waK87dz0gQE+qJnaaFhc/dZVfJz+IUYzTMVGum2QlR7ImiJQN4s6g==} @@ -1561,8 +1597,8 @@ packages: csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} - dayjs@1.11.11: - resolution: {integrity: sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg==} + dayjs@1.11.12: + resolution: {integrity: sha512-Rt2g+nTbLlDWZTwwrIXjy9MeiZmSDI375FvZs72ngxx8PDC6YXOeR3q5LAuPzjZQxhiWdRKac7RKV+YyQYfYIg==} de-indent@1.0.2: resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==} @@ -2209,8 +2245,8 @@ packages: ts-node: optional: true - postcss-nested@6.0.1: - resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} + postcss-nested@6.2.0: + resolution: {integrity: sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==} engines: {node: '>=12.0'} peerDependencies: postcss: ^8.2.14 @@ -2402,8 +2438,8 @@ packages: systemjs@6.15.1: resolution: {integrity: sha512-Nk8c4lXvMB98MtbmjX7JwJRgJOL8fluecYCfCeYBznwmpOs8Bf15hLM6z4z71EDAhQVrQrI+wt1aLWSXZq+hXA==} - tailwindcss@3.4.5: - resolution: {integrity: sha512-DlTxttYcogpDfx3tf/8jfnma1nfAYi2cBUYV2YNoPPecwmO3YGiFlOX9D8tGAu+EDF38ryBzvrDKU/BLMsUwbw==} + tailwindcss@3.4.6: + resolution: {integrity: sha512-1uRHzPB+Vzu57ocybfZ4jh5Q3SdlH7XW23J5sQoM9LhE9eIOlzxer/3XPSsycvih3rboRsvt0QCmzSrqyOYUIA==} engines: {node: '>=14.0.0'} hasBin: true @@ -2606,8 +2642,8 @@ packages: peerDependencies: typescript: '>=5.0.0' - vue@3.4.31: - resolution: {integrity: sha512-njqRrOy7W3YLAlVqSKpBebtZpDVg21FPoaq1I7f/+qqBThK9ChAIjkRWgeP6Eat+8C+iia4P3OYqpATP21BCoQ==} + vue@3.4.33: + resolution: {integrity: sha512-VdMCWQOummbhctl4QFMcW6eNtXHsFyDlX60O/tsSQuCcuDOnJ1qPOhhVla65Niece7xq/P2zyZReIO5mP+LGTQ==} peerDependencies: typescript: '*' peerDependenciesMeta: @@ -3528,9 +3564,9 @@ snapshots: '@ctrl/tinycolor@3.6.1': {} - '@element-plus/icons-vue@2.3.1(vue@3.4.31(typescript@5.5.3))': + '@element-plus/icons-vue@2.3.1(vue@3.4.33(typescript@5.5.3))': dependencies: - vue: 3.4.31(typescript@5.5.3) + vue: 3.4.33(typescript@5.5.3) '@esbuild/aix-ppc64@0.21.5': optional: true @@ -3787,8 +3823,12 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.18.1': optional: true + '@rushstack/eslint-patch@1.10.3': {} + '@sxzz/popperjs-es@2.11.7': {} + '@tsconfig/node20@20.1.4': {} + '@types/estree@1.0.5': {} '@types/json-schema@7.0.15': {} @@ -3799,7 +3839,7 @@ snapshots: '@types/lodash@4.17.7': {} - '@types/node@20.14.10': + '@types/node@20.14.11': dependencies: undici-types: 5.26.5 @@ -3901,7 +3941,7 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-legacy@5.4.1(terser@5.31.2)(vite@5.3.4(@types/node@20.14.10)(sass@1.77.8)(terser@5.31.2))': + '@vitejs/plugin-legacy@5.4.1(terser@5.31.2)(vite@5.3.4(@types/node@20.14.11)(sass@1.77.8)(terser@5.31.2))': dependencies: '@babel/core': 7.24.9 '@babel/preset-env': 7.24.8(@babel/core@7.24.9) @@ -3912,24 +3952,24 @@ snapshots: regenerator-runtime: 0.14.1 systemjs: 6.15.1 terser: 5.31.2 - vite: 5.3.4(@types/node@20.14.10)(sass@1.77.8)(terser@5.31.2) + vite: 5.3.4(@types/node@20.14.11)(sass@1.77.8)(terser@5.31.2) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue-jsx@4.0.0(vite@5.3.4(@types/node@20.14.10)(sass@1.77.8)(terser@5.31.2))(vue@3.4.31(typescript@5.5.3))': + '@vitejs/plugin-vue-jsx@4.0.0(vite@5.3.4(@types/node@20.14.11)(sass@1.77.8)(terser@5.31.2))(vue@3.4.33(typescript@5.5.3))': dependencies: '@babel/core': 7.24.9 '@babel/plugin-transform-typescript': 7.24.8(@babel/core@7.24.9) '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.24.9) - vite: 5.3.4(@types/node@20.14.10)(sass@1.77.8)(terser@5.31.2) - vue: 3.4.31(typescript@5.5.3) + vite: 5.3.4(@types/node@20.14.11)(sass@1.77.8)(terser@5.31.2) + vue: 3.4.33(typescript@5.5.3) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.0.5(vite@5.3.4(@types/node@20.14.10)(sass@1.77.8)(terser@5.31.2))(vue@3.4.31(typescript@5.5.3))': + '@vitejs/plugin-vue@5.0.5(vite@5.3.4(@types/node@20.14.11)(sass@1.77.8)(terser@5.31.2))(vue@3.4.33(typescript@5.5.3))': dependencies: - vite: 5.3.4(@types/node@20.14.10)(sass@1.77.8)(terser@5.31.2) - vue: 3.4.31(typescript@5.5.3) + vite: 5.3.4(@types/node@20.14.11)(sass@1.77.8)(terser@5.31.2) + vue: 3.4.33(typescript@5.5.3) '@volar/language-core@2.4.0-alpha.16': dependencies: @@ -3980,11 +4020,24 @@ snapshots: estree-walker: 2.0.2 source-map-js: 1.2.0 + '@vue/compiler-core@3.4.33': + dependencies: + '@babel/parser': 7.24.8 + '@vue/shared': 3.4.33 + entities: 4.5.0 + estree-walker: 2.0.2 + source-map-js: 1.2.0 + '@vue/compiler-dom@3.4.31': dependencies: '@vue/compiler-core': 3.4.31 '@vue/shared': 3.4.31 + '@vue/compiler-dom@3.4.33': + dependencies: + '@vue/compiler-core': 3.4.33 + '@vue/shared': 3.4.33 + '@vue/compiler-sfc@3.4.31': dependencies: '@babel/parser': 7.24.8 @@ -3997,11 +4050,28 @@ snapshots: postcss: 8.4.39 source-map-js: 1.2.0 + '@vue/compiler-sfc@3.4.33': + dependencies: + '@babel/parser': 7.24.8 + '@vue/compiler-core': 3.4.33 + '@vue/compiler-dom': 3.4.33 + '@vue/compiler-ssr': 3.4.33 + '@vue/shared': 3.4.33 + estree-walker: 2.0.2 + magic-string: 0.30.10 + postcss: 8.4.39 + source-map-js: 1.2.0 + '@vue/compiler-ssr@3.4.31': dependencies: '@vue/compiler-dom': 3.4.31 '@vue/shared': 3.4.31 + '@vue/compiler-ssr@3.4.33': + dependencies: + '@vue/compiler-dom': 3.4.33 + '@vue/shared': 3.4.33 + '@vue/devtools-api@6.6.3': {} '@vue/language-core@2.0.26(typescript@5.5.3)': @@ -4017,55 +4087,59 @@ snapshots: optionalDependencies: typescript: 5.5.3 - '@vue/reactivity@3.4.31': + '@vue/reactivity@3.4.33': dependencies: - '@vue/shared': 3.4.31 + '@vue/shared': 3.4.33 - '@vue/runtime-core@3.4.31': + '@vue/runtime-core@3.4.33': dependencies: - '@vue/reactivity': 3.4.31 - '@vue/shared': 3.4.31 + '@vue/reactivity': 3.4.33 + '@vue/shared': 3.4.33 - '@vue/runtime-dom@3.4.31': + '@vue/runtime-dom@3.4.33': dependencies: - '@vue/reactivity': 3.4.31 - '@vue/runtime-core': 3.4.31 - '@vue/shared': 3.4.31 + '@vue/reactivity': 3.4.33 + '@vue/runtime-core': 3.4.33 + '@vue/shared': 3.4.33 csstype: 3.1.3 - '@vue/server-renderer@3.4.31(vue@3.4.31(typescript@5.5.3))': + '@vue/server-renderer@3.4.33(vue@3.4.33(typescript@5.5.3))': dependencies: - '@vue/compiler-ssr': 3.4.31 - '@vue/shared': 3.4.31 - vue: 3.4.31(typescript@5.5.3) + '@vue/compiler-ssr': 3.4.33 + '@vue/shared': 3.4.33 + vue: 3.4.33(typescript@5.5.3) '@vue/shared@3.4.31': {} - '@vueuse/core@10.11.0(vue@3.4.31(typescript@5.5.3))': + '@vue/shared@3.4.33': {} + + '@vue/tsconfig@0.5.1': {} + + '@vueuse/core@10.11.0(vue@3.4.33(typescript@5.5.3))': dependencies: '@types/web-bluetooth': 0.0.20 '@vueuse/metadata': 10.11.0 - '@vueuse/shared': 10.11.0(vue@3.4.31(typescript@5.5.3)) - vue-demi: 0.14.8(vue@3.4.31(typescript@5.5.3)) + '@vueuse/shared': 10.11.0(vue@3.4.33(typescript@5.5.3)) + vue-demi: 0.14.8(vue@3.4.33(typescript@5.5.3)) transitivePeerDependencies: - '@vue/composition-api' - vue - '@vueuse/core@8.9.4(vue@3.4.31(typescript@5.5.3))': + '@vueuse/core@8.9.4(vue@3.4.33(typescript@5.5.3))': dependencies: '@types/web-bluetooth': 0.0.14 '@vueuse/metadata': 8.9.4 - '@vueuse/shared': 8.9.4(vue@3.4.31(typescript@5.5.3)) - vue-demi: 0.14.8(vue@3.4.31(typescript@5.5.3)) + '@vueuse/shared': 8.9.4(vue@3.4.33(typescript@5.5.3)) + vue-demi: 0.14.8(vue@3.4.33(typescript@5.5.3)) optionalDependencies: - vue: 3.4.31(typescript@5.5.3) + vue: 3.4.33(typescript@5.5.3) - '@vueuse/core@9.13.0(vue@3.4.31(typescript@5.5.3))': + '@vueuse/core@9.13.0(vue@3.4.33(typescript@5.5.3))': dependencies: '@types/web-bluetooth': 0.0.16 '@vueuse/metadata': 9.13.0 - '@vueuse/shared': 9.13.0(vue@3.4.31(typescript@5.5.3)) - vue-demi: 0.14.8(vue@3.4.31(typescript@5.5.3)) + '@vueuse/shared': 9.13.0(vue@3.4.33(typescript@5.5.3)) + vue-demi: 0.14.8(vue@3.4.33(typescript@5.5.3)) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -4076,22 +4150,22 @@ snapshots: '@vueuse/metadata@9.13.0': {} - '@vueuse/shared@10.11.0(vue@3.4.31(typescript@5.5.3))': + '@vueuse/shared@10.11.0(vue@3.4.33(typescript@5.5.3))': dependencies: - vue-demi: 0.14.8(vue@3.4.31(typescript@5.5.3)) + vue-demi: 0.14.8(vue@3.4.33(typescript@5.5.3)) transitivePeerDependencies: - '@vue/composition-api' - vue - '@vueuse/shared@8.9.4(vue@3.4.31(typescript@5.5.3))': + '@vueuse/shared@8.9.4(vue@3.4.33(typescript@5.5.3))': dependencies: - vue-demi: 0.14.8(vue@3.4.31(typescript@5.5.3)) + vue-demi: 0.14.8(vue@3.4.33(typescript@5.5.3)) optionalDependencies: - vue: 3.4.31(typescript@5.5.3) + vue: 3.4.33(typescript@5.5.3) - '@vueuse/shared@9.13.0(vue@3.4.31(typescript@5.5.3))': + '@vueuse/shared@9.13.0(vue@3.4.33(typescript@5.5.3))': dependencies: - vue-demi: 0.14.8(vue@3.4.31(typescript@5.5.3)) + vue-demi: 0.14.8(vue@3.4.33(typescript@5.5.3)) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -4321,7 +4395,7 @@ snapshots: csstype@3.1.3: {} - dayjs@1.11.11: {} + dayjs@1.11.12: {} de-indent@1.0.2: {} @@ -4353,24 +4427,24 @@ snapshots: electron-to-chromium@1.4.828: {} - element-plus@2.7.7(vue@3.4.31(typescript@5.5.3)): + element-plus@2.7.7(vue@3.4.33(typescript@5.5.3)): dependencies: '@ctrl/tinycolor': 3.6.1 - '@element-plus/icons-vue': 2.3.1(vue@3.4.31(typescript@5.5.3)) + '@element-plus/icons-vue': 2.3.1(vue@3.4.33(typescript@5.5.3)) '@floating-ui/dom': 1.6.7 '@popperjs/core': '@sxzz/popperjs-es@2.11.7' '@types/lodash': 4.17.7 '@types/lodash-es': 4.17.12 - '@vueuse/core': 9.13.0(vue@3.4.31(typescript@5.5.3)) + '@vueuse/core': 9.13.0(vue@3.4.33(typescript@5.5.3)) async-validator: 4.2.5 - dayjs: 1.11.11 + dayjs: 1.11.12 escape-html: 1.0.3 lodash: 4.17.21 lodash-es: 4.17.21 lodash-unified: 1.0.3(@types/lodash-es@4.17.12)(lodash-es@4.17.21)(lodash@4.17.21) memoize-one: 6.0.0 normalize-wheel-es: 1.2.0 - vue: 3.4.31(typescript@5.5.3) + vue: 3.4.33(typescript@5.5.3) transitivePeerDependencies: - '@vue/composition-api' @@ -4909,11 +4983,11 @@ snapshots: pify@2.3.0: {} - pinia@2.1.7(typescript@5.5.3)(vue@3.4.31(typescript@5.5.3)): + pinia@2.1.7(typescript@5.5.3)(vue@3.4.33(typescript@5.5.3)): dependencies: '@vue/devtools-api': 6.6.3 - vue: 3.4.31(typescript@5.5.3) - vue-demi: 0.14.8(vue@3.4.31(typescript@5.5.3)) + vue: 3.4.33(typescript@5.5.3) + vue-demi: 0.14.8(vue@3.4.33(typescript@5.5.3)) optionalDependencies: typescript: 5.5.3 @@ -4944,7 +5018,7 @@ snapshots: optionalDependencies: postcss: 8.4.39 - postcss-nested@6.0.1(postcss@8.4.39): + postcss-nested@6.2.0(postcss@8.4.39): dependencies: postcss: 8.4.39 postcss-selector-parser: 6.1.1 @@ -5137,7 +5211,7 @@ snapshots: systemjs@6.15.1: {} - tailwindcss@3.4.5: + tailwindcss@3.4.6: dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -5157,7 +5231,7 @@ snapshots: postcss-import: 15.1.0(postcss@8.4.39) postcss-js: 4.0.1(postcss@8.4.39) postcss-load-config: 4.0.2(postcss@8.4.39) - postcss-nested: 6.0.1(postcss@8.4.39) + postcss-nested: 6.2.0(postcss@8.4.39) postcss-selector-parser: 6.1.1 resolve: 1.22.8 sucrase: 3.35.0 @@ -5236,7 +5310,7 @@ snapshots: transitivePeerDependencies: - rollup - unplugin-auto-import@0.17.8(@vueuse/core@10.11.0(vue@3.4.31(typescript@5.5.3)))(rollup@4.18.1): + unplugin-auto-import@0.17.8(@vueuse/core@10.11.0(vue@3.4.33(typescript@5.5.3)))(rollup@4.18.1): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.0(rollup@4.18.1) @@ -5247,11 +5321,11 @@ snapshots: unimport: 3.8.0(rollup@4.18.1) unplugin: 1.11.0 optionalDependencies: - '@vueuse/core': 10.11.0(vue@3.4.31(typescript@5.5.3)) + '@vueuse/core': 10.11.0(vue@3.4.33(typescript@5.5.3)) transitivePeerDependencies: - rollup - unplugin-icons@0.17.4(@vue/compiler-sfc@3.4.31)(vue-template-compiler@2.7.16): + unplugin-icons@0.17.4(@vue/compiler-sfc@3.4.33)(vue-template-compiler@2.7.16): dependencies: '@antfu/install-pkg': 0.1.1 '@antfu/utils': 0.7.10 @@ -5261,12 +5335,12 @@ snapshots: local-pkg: 0.5.0 unplugin: 1.11.0 optionalDependencies: - '@vue/compiler-sfc': 3.4.31 + '@vue/compiler-sfc': 3.4.33 vue-template-compiler: 2.7.16 transitivePeerDependencies: - supports-color - unplugin-vue-components@0.26.0(@babel/parser@7.24.8)(rollup@4.18.1)(vue@3.4.31(typescript@5.5.3)): + unplugin-vue-components@0.26.0(@babel/parser@7.24.8)(rollup@4.18.1)(vue@3.4.33(typescript@5.5.3)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.0(rollup@4.18.1) @@ -5278,7 +5352,7 @@ snapshots: minimatch: 9.0.5 resolve: 1.22.8 unplugin: 1.11.0 - vue: 3.4.31(typescript@5.5.3) + vue: 3.4.33(typescript@5.5.3) optionalDependencies: '@babel/parser': 7.24.8 transitivePeerDependencies: @@ -5304,26 +5378,26 @@ snapshots: util-deprecate@1.0.2: {} - vite@5.3.4(@types/node@20.14.10)(sass@1.77.8)(terser@5.31.2): + vite@5.3.4(@types/node@20.14.11)(sass@1.77.8)(terser@5.31.2): dependencies: esbuild: 0.21.5 postcss: 8.4.39 rollup: 4.18.1 optionalDependencies: - '@types/node': 20.14.10 + '@types/node': 20.14.11 fsevents: 2.3.3 sass: 1.77.8 terser: 5.31.2 vscode-uri@3.0.8: {} - vue-demi@0.14.8(vue@3.4.31(typescript@5.5.3)): + vue-demi@0.14.8(vue@3.4.33(typescript@5.5.3)): dependencies: - vue: 3.4.31(typescript@5.5.3) + vue: 3.4.33(typescript@5.5.3) - vue-diff@1.2.4(vue@3.4.31(typescript@5.5.3)): + vue-diff@1.2.4(vue@3.4.33(typescript@5.5.3)): dependencies: - '@vueuse/core': 8.9.4(vue@3.4.31(typescript@5.5.3)) + '@vueuse/core': 8.9.4(vue@3.4.33(typescript@5.5.3)) diff-match-patch: 1.0.5 highlight.js: 11.10.0 transitivePeerDependencies: @@ -5343,10 +5417,10 @@ snapshots: transitivePeerDependencies: - supports-color - vue-router@4.4.0(vue@3.4.31(typescript@5.5.3)): + vue-router@4.4.0(vue@3.4.33(typescript@5.5.3)): dependencies: '@vue/devtools-api': 6.6.3 - vue: 3.4.31(typescript@5.5.3) + vue: 3.4.33(typescript@5.5.3) vue-template-compiler@2.7.16: dependencies: @@ -5360,20 +5434,20 @@ snapshots: semver: 7.6.2 typescript: 5.5.3 - vue@3.4.31(typescript@5.5.3): + vue@3.4.33(typescript@5.5.3): dependencies: - '@vue/compiler-dom': 3.4.31 - '@vue/compiler-sfc': 3.4.31 - '@vue/runtime-dom': 3.4.31 - '@vue/server-renderer': 3.4.31(vue@3.4.31(typescript@5.5.3)) - '@vue/shared': 3.4.31 + '@vue/compiler-dom': 3.4.33 + '@vue/compiler-sfc': 3.4.33 + '@vue/runtime-dom': 3.4.33 + '@vue/server-renderer': 3.4.33(vue@3.4.33(typescript@5.5.3)) + '@vue/shared': 3.4.33 optionalDependencies: typescript: 5.5.3 - vuedraggable@4.1.0(vue@3.4.31(typescript@5.5.3)): + vuedraggable@4.1.0(vue@3.4.33(typescript@5.5.3)): dependencies: sortablejs: 1.14.0 - vue: 3.4.31(typescript@5.5.3) + vue: 3.4.33(typescript@5.5.3) w3c-keyname@2.2.8: {} diff --git a/src/Main.vue b/src/Main.vue index b8e6943f..72bd193c 100644 --- a/src/Main.vue +++ b/src/Main.vue @@ -71,7 +71,7 @@ + size="50%" class="drawer-menu bg-gray-600"> + + \ No newline at end of file diff --git a/src/components/mod/PageHelpDoc.vue b/src/components/mod/PageHelpDoc.vue index d1dd6b00..551d1ea2 100644 --- a/src/components/mod/PageHelpDoc.vue +++ b/src/components/mod/PageHelpDoc.vue @@ -159,7 +159,7 @@ import type { FormRules, FormInstance, ElTree } from 'element-plus'; import { useStore } from '~/store'; import { Delete, Plus, Refresh, Setting, Upload } from '@element-plus/icons-vue' import { trim } from 'lodash-es'; -import {HelpDoc, HelpTextItem, HelpTextItemQuery} from "~/type"; +import type {HelpDoc, HelpTextItem, HelpTextItemQuery} from "~/type.d.ts"; interface Group { key: string, diff --git a/src/components/mod/PageJs.vue b/src/components/mod/PageJs.vue index 7de5a129..e932f7e5 100644 --- a/src/components/mod/PageJs.vue +++ b/src/components/mod/PageJs.vue @@ -385,7 +385,7 @@ import * as dayjs from 'dayjs' import {basicSetup, EditorView} from "codemirror" import {javascript} from "@codemirror/lang-javascript" import {isEqual, size} from "lodash-es"; -import {JsPluginConfig, JsPluginConfigItem, JsScriptInfo} from "~/type"; +import type {JsPluginConfig, JsPluginConfigItem, JsScriptInfo} from "~/type.d.ts"; const store = useStore() const jsEnable = ref(false) diff --git a/src/components/utils/resource-render.vue b/src/components/utils/resource-render.vue index 1f66d9ea..6c66acf4 100644 --- a/src/components/utils/resource-render.vue +++ b/src/components/utils/resource-render.vue @@ -1,5 +1,6 @@