From 51ed14dcf80aa43f31679b8d3ba2e1c66d1a9f2b Mon Sep 17 00:00:00 2001 From: tiny-craft <137850705+tiny-craft@users.noreply.github.com> Date: Tue, 31 Oct 2023 15:50:37 +0800 Subject: [PATCH] style: add padding to message component chore: update dependencies --- frontend/package-lock.json | 84 +++++++++++++++++++++---------------- frontend/package.json | 3 +- frontend/package.json.md5 | 2 +- frontend/src/langs/en.json | 2 +- frontend/src/utils/theme.js | 3 ++ 5 files changed, 56 insertions(+), 38 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index bfad42b..ce388dd 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -8,13 +8,14 @@ "name": "frontend", "version": "0.0.0", "dependencies": { + "bytes": "^3.1.2", "dayjs": "^1.11.10", "highlight.js": "^11.9.0", "lodash": "^4.17.21", "pinia": "^2.1.7", "sass": "^1.69.5", "vue": "^3.3.7", - "vue-i18n": "^9.6.0", + "vue-i18n": "^9.6.2", "xterm": "^5.3.0", "xterm-addon-fit": "^0.8.0" }, @@ -464,23 +465,23 @@ } }, "node_modules/@intlify/core-base": { - "version": "9.6.0", - "resolved": "https://registry.npmmirror.com/@intlify/core-base/-/core-base-9.6.0.tgz", - "integrity": "sha512-9xWsUFrQq4iP1amH3cEIlUHsCXO541RGRDfrKqaDhlYvMbf2qTzpSjqeL3kWw1b+rC8XWHw+cgZXa4VPdOzqfg==", + "version": "9.6.2", + "resolved": "https://registry.npmmirror.com/@intlify/core-base/-/core-base-9.6.2.tgz", + "integrity": "sha512-ci0j2nbEL/pamvqgcCqyIVeQ3LS41F1IRqI5rCBNnpSp0FjNnH8bpha8R3OifkhqatzlP4wGOuN/UqfLYVDv7g==", "dependencies": { - "@intlify/message-compiler": "9.6.0", - "@intlify/shared": "9.6.0" + "@intlify/message-compiler": "9.6.2", + "@intlify/shared": "9.6.2" }, "engines": { "node": ">= 16" } }, "node_modules/@intlify/message-compiler": { - "version": "9.6.0", - "resolved": "https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-9.6.0.tgz", - "integrity": "sha512-GucIIYA2H86gdf/lKHAahfLpyYm9Q1IUc/yUEMk8wwwfrzBwuYmTDg90ooed7eRVx2N/omyDyuhKV4cRp3b+DQ==", + "version": "9.6.2", + "resolved": "https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-9.6.2.tgz", + "integrity": "sha512-kgZQL9zeJDeEB5vvD93Y++HvFUELnT48PjnpfCcF3EJaLLVs9he8IzODiNK42Z40lWbFyja0SXJZjsalybQygA==", "dependencies": { - "@intlify/shared": "9.6.0", + "@intlify/shared": "9.6.2", "source-map-js": "^1.0.2" }, "engines": { @@ -488,9 +489,9 @@ } }, "node_modules/@intlify/shared": { - "version": "9.6.0", - "resolved": "https://registry.npmmirror.com/@intlify/shared/-/shared-9.6.0.tgz", - "integrity": "sha512-vZeID7kn10rhgRYZQvjULTOYXDGnC0j49HI0AD9CK08aj4nWmlPai/8awTsMg0qrfHVMTna8ZMNmBZNyFAUCfA==", + "version": "9.6.2", + "resolved": "https://registry.npmmirror.com/@intlify/shared/-/shared-9.6.2.tgz", + "integrity": "sha512-9KBcXmJNxElp7QMnU8V0/tScTOitDqyFi4HceEZqJyyDkMi8K5DBPMTIuXIAMmtMlXpe/nj5pke7tRw97VeQRA==", "engines": { "node": ">= 16" } @@ -779,6 +780,14 @@ "node": ">=8" } }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/chokidar": { "version": "3.5.3", "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-3.5.3.tgz", @@ -1917,12 +1926,12 @@ } }, "node_modules/vue-i18n": { - "version": "9.6.0", - "resolved": "https://registry.npmmirror.com/vue-i18n/-/vue-i18n-9.6.0.tgz", - "integrity": "sha512-DSUaHmc2qpXpB0oeHXrW4JtOXnzpmAeaPopDIlubRyXkxIdbzGTsQekZYrCoI3rCEouYKwD1tIw01/YYSYqWAw==", + "version": "9.6.2", + "resolved": "https://registry.npmmirror.com/vue-i18n/-/vue-i18n-9.6.2.tgz", + "integrity": "sha512-J43grTQjPR8LCUxvx3mkoM+11xhTnej1Al4lvJCEeKmQqf8eqbuYPQb54HXnEg/UzZyaxLBAwPAUTbrZ8V7hcg==", "dependencies": { - "@intlify/core-base": "9.6.0", - "@intlify/shared": "9.6.0", + "@intlify/core-base": "9.6.2", + "@intlify/shared": "9.6.2", "@vue/devtools-api": "^6.5.0" }, "engines": { @@ -2229,27 +2238,27 @@ } }, "@intlify/core-base": { - "version": "9.6.0", - "resolved": "https://registry.npmmirror.com/@intlify/core-base/-/core-base-9.6.0.tgz", - "integrity": "sha512-9xWsUFrQq4iP1amH3cEIlUHsCXO541RGRDfrKqaDhlYvMbf2qTzpSjqeL3kWw1b+rC8XWHw+cgZXa4VPdOzqfg==", + "version": "9.6.2", + "resolved": "https://registry.npmmirror.com/@intlify/core-base/-/core-base-9.6.2.tgz", + "integrity": "sha512-ci0j2nbEL/pamvqgcCqyIVeQ3LS41F1IRqI5rCBNnpSp0FjNnH8bpha8R3OifkhqatzlP4wGOuN/UqfLYVDv7g==", "requires": { - "@intlify/message-compiler": "9.6.0", - "@intlify/shared": "9.6.0" + "@intlify/message-compiler": "9.6.2", + "@intlify/shared": "9.6.2" } }, "@intlify/message-compiler": { - "version": "9.6.0", - "resolved": "https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-9.6.0.tgz", - "integrity": "sha512-GucIIYA2H86gdf/lKHAahfLpyYm9Q1IUc/yUEMk8wwwfrzBwuYmTDg90ooed7eRVx2N/omyDyuhKV4cRp3b+DQ==", + "version": "9.6.2", + "resolved": "https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-9.6.2.tgz", + "integrity": "sha512-kgZQL9zeJDeEB5vvD93Y++HvFUELnT48PjnpfCcF3EJaLLVs9he8IzODiNK42Z40lWbFyja0SXJZjsalybQygA==", "requires": { - "@intlify/shared": "9.6.0", + "@intlify/shared": "9.6.2", "source-map-js": "^1.0.2" } }, "@intlify/shared": { - "version": "9.6.0", - "resolved": "https://registry.npmmirror.com/@intlify/shared/-/shared-9.6.0.tgz", - "integrity": "sha512-vZeID7kn10rhgRYZQvjULTOYXDGnC0j49HI0AD9CK08aj4nWmlPai/8awTsMg0qrfHVMTna8ZMNmBZNyFAUCfA==" + "version": "9.6.2", + "resolved": "https://registry.npmmirror.com/@intlify/shared/-/shared-9.6.2.tgz", + "integrity": "sha512-9KBcXmJNxElp7QMnU8V0/tScTOitDqyFi4HceEZqJyyDkMi8K5DBPMTIuXIAMmtMlXpe/nj5pke7tRw97VeQRA==" }, "@jridgewell/sourcemap-codec": { "version": "1.4.15", @@ -2493,6 +2502,11 @@ "fill-range": "^7.0.1" } }, + "bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==" + }, "chokidar": { "version": "3.5.3", "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-3.5.3.tgz", @@ -3309,12 +3323,12 @@ } }, "vue-i18n": { - "version": "9.6.0", - "resolved": "https://registry.npmmirror.com/vue-i18n/-/vue-i18n-9.6.0.tgz", - "integrity": "sha512-DSUaHmc2qpXpB0oeHXrW4JtOXnzpmAeaPopDIlubRyXkxIdbzGTsQekZYrCoI3rCEouYKwD1tIw01/YYSYqWAw==", + "version": "9.6.2", + "resolved": "https://registry.npmmirror.com/vue-i18n/-/vue-i18n-9.6.2.tgz", + "integrity": "sha512-J43grTQjPR8LCUxvx3mkoM+11xhTnej1Al4lvJCEeKmQqf8eqbuYPQb54HXnEg/UzZyaxLBAwPAUTbrZ8V7hcg==", "requires": { - "@intlify/core-base": "9.6.0", - "@intlify/shared": "9.6.0", + "@intlify/core-base": "9.6.2", + "@intlify/shared": "9.6.2", "@vue/devtools-api": "^6.5.0" } }, diff --git a/frontend/package.json b/frontend/package.json index f39a83a..55448c8 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -9,13 +9,14 @@ "preview": "vite preview" }, "dependencies": { + "bytes": "^3.1.2", "dayjs": "^1.11.10", "highlight.js": "^11.9.0", "lodash": "^4.17.21", "pinia": "^2.1.7", "sass": "^1.69.5", "vue": "^3.3.7", - "vue-i18n": "^9.6.0", + "vue-i18n": "^9.6.2", "xterm": "^5.3.0", "xterm-addon-fit": "^0.8.0" }, diff --git a/frontend/package.json.md5 b/frontend/package.json.md5 index d787e8e..c23efb3 100755 --- a/frontend/package.json.md5 +++ b/frontend/package.json.md5 @@ -1 +1 @@ -7c3f3d30a242641f2f308ca9c3a8e4f1 +24a0be173ef3e3939a15eb9c7fff5e1a \ No newline at end of file diff --git a/frontend/src/langs/en.json b/frontend/src/langs/en.json index 338f29e..bd149f8 100644 --- a/frontend/src/langs/en.json +++ b/frontend/src/langs/en.json @@ -79,7 +79,7 @@ "entries": "Entries", "memory_usage": "Memory Usage", "view_as": "View As", - "decode_with": "Decode/Decompress Type", + "decode_with": "Decode / Decompression", "reload": "Reload", "open_connection": "Open Connection", "batch_delete": "Batch Delete", diff --git a/frontend/src/utils/theme.js b/frontend/src/utils/theme.js index 4cad62d..035aa6f 100644 --- a/frontend/src/utils/theme.js +++ b/frontend/src/utils/theme.js @@ -53,6 +53,9 @@ export const themeOverrides = { buttonColorActive: '#D13B37', buttonTextColorActive: '#FFF', }, + Message: { + margin: '0 0 38px 0', + }, } /**