From 9fc0cbd40dfb7980d73f65048fc50557f673d641 Mon Sep 17 00:00:00 2001 From: tiny-craft <137850705+tiny-craft@users.noreply.github.com> Date: Thu, 24 Aug 2023 15:23:25 +0800 Subject: [PATCH] refactor: reformat code --- frontend/.prettierrc | 2 +- frontend/src/App.vue | 3 +- frontend/src/AppContent.vue | 9 ++---- .../src/components/common/RedisTypeTag.vue | 3 +- .../src/components/content/ContentLogPane.vue | 9 ++---- .../src/components/content/ContentPane.vue | 9 ++---- .../components/content/ContentValueTab.vue | 3 +- .../content_value/ContentServerStatus.vue | 6 ++-- .../content_value/ContentToolbar.vue | 3 +- .../content_value/ContentValueHash.vue | 9 ++---- .../content_value/ContentValueList.vue | 6 ++-- .../content_value/ContentValueSet.vue | 6 ++-- .../content_value/ContentValueStream.vue | 9 ++---- .../content_value/ContentValueString.vue | 3 +- .../content_value/ContentValueZSet.vue | 9 ++---- .../components/dialogs/AddFieldsDialog.vue | 6 ++-- .../components/dialogs/ConnectionDialog.vue | 27 ++++++----------- .../components/dialogs/DeleteKeyDialog.vue | 6 ++-- .../src/components/dialogs/GroupDialog.vue | 3 +- .../components/dialogs/KeyFilterDialog.vue | 6 ++-- .../src/components/dialogs/NewKeyDialog.vue | 9 ++---- .../components/dialogs/PreferencesDialog.vue | 6 ++-- .../components/dialogs/RenameKeyDialog.vue | 6 ++-- .../src/components/dialogs/SetTtlDialog.vue | 6 ++-- frontend/src/components/icons/Add.vue | 9 ++---- frontend/src/components/icons/AddGroup.vue | 3 +- frontend/src/components/icons/AddLink.vue | 6 ++-- frontend/src/components/icons/Clear.vue | 18 ++++------- frontend/src/components/icons/Close.vue | 15 ++++------ frontend/src/components/icons/Config.vue | 6 ++-- frontend/src/components/icons/Connect.vue | 6 ++-- frontend/src/components/icons/Copy.vue | 9 ++---- frontend/src/components/icons/CopyLink.vue | 18 ++++------- frontend/src/components/icons/Delete.vue | 6 ++-- frontend/src/components/icons/Edit.vue | 6 ++-- frontend/src/components/icons/Filter.vue | 3 +- frontend/src/components/icons/Github.vue | 6 ++-- frontend/src/components/icons/Help.vue | 9 ++---- frontend/src/components/icons/Key.vue | 3 +- frontend/src/components/icons/Layer.vue | 6 ++-- frontend/src/components/icons/Log.vue | 12 +++----- frontend/src/components/icons/Refresh.vue | 6 ++-- frontend/src/components/icons/Save.vue | 6 ++-- frontend/src/components/icons/Search.vue | 9 ++---- frontend/src/components/icons/Sort.vue | 12 +++----- frontend/src/components/icons/Structure.vue | 21 +++++-------- frontend/src/components/icons/Timer.vue | 15 ++++------ frontend/src/components/icons/ToggleDb.vue | 24 +++++---------- .../src/components/icons/ToggleFolder.vue | 15 ++++------ .../src/components/icons/ToggleServer.vue | 30 +++++++------------ frontend/src/components/icons/Unlink.vue | 18 ++++------- frontend/src/components/icons/Update.vue | 9 ++---- .../src/components/new_value/AddHashValue.vue | 3 +- .../src/components/new_value/AddZSetValue.vue | 3 +- .../src/components/new_value/NewHashValue.vue | 3 +- .../components/new_value/NewStreamValue.vue | 3 +- .../components/new_value/NewStringValue.vue | 3 +- .../src/components/new_value/NewZSetValue.vue | 3 +- .../src/components/sidebar/BrowserPane.vue | 3 +- .../src/components/sidebar/BrowserTree.vue | 6 ++-- .../src/components/sidebar/ConnectionPane.vue | 9 ++---- .../src/components/sidebar/ConnectionTree.vue | 9 ++---- frontend/src/components/sidebar/NavMenu.vue | 9 ++---- 63 files changed, 175 insertions(+), 349 deletions(-) diff --git a/frontend/.prettierrc b/frontend/.prettierrc index 9be60a5..e1a4a2a 100644 --- a/frontend/.prettierrc +++ b/frontend/.prettierrc @@ -3,6 +3,6 @@ "tabWidth": 4, "singleQuote": true, "semi": false, - "bracketSameLine": false, + "bracketSameLine": true, "endOfLine": "auto" } diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 5564445..9d5cc2d 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -52,8 +52,7 @@ watch( :inline-theme-disabled="true" :theme="prefStore.isDark ? darkTheme : undefined" :theme-overrides="themeOverrides" - class="fill-height" - > + class="fill-height"> diff --git a/frontend/src/AppContent.vue b/frontend/src/AppContent.vue index 7f3fc22..bef1dae 100644 --- a/frontend/src/AppContent.vue +++ b/frontend/src/AppContent.vue @@ -78,8 +78,7 @@ watch( v-for="t in tabStore.tabs" v-show="get(tabStore.currentTab, 'name') === t.name" :key="t.name" - class="flex-item-expand" - /> + class="flex-item-expand" />
+ @mouseover="data.hoverResize = true" />
@@ -106,8 +104,7 @@ watch( class="resize-divider" @mousedown="startResize" @mouseout="data.hoverResize = false" - @mouseover="data.hoverResize = true" - /> + @mouseover="data.hoverResize = true" /> diff --git a/frontend/src/components/common/RedisTypeTag.vue b/frontend/src/components/common/RedisTypeTag.vue index 6a6077d..5ab4390 100644 --- a/frontend/src/components/common/RedisTypeTag.vue +++ b/frontend/src/components/common/RedisTypeTag.vue @@ -29,8 +29,7 @@ const backgroundColor = computed(() => { :class="[props.size === 'small' ? 'redis-type-tag-small' : 'redis-type-tag']" :color="{ color: backgroundColor, borderColor: fontColor, textColor: fontColor }" :size="props.size" - strong - > + strong> {{ props.type }} diff --git a/frontend/src/components/content/ContentLogPane.vue b/frontend/src/components/content/ContentLogPane.vue index 1cb55b2..d4ac8f8 100644 --- a/frontend/src/components/content/ContentLogPane.vue +++ b/frontend/src/components/content/ContentLogPane.vue @@ -52,16 +52,14 @@ defineExpose({ + content-style="display: flex;flex-direction: column; overflow: hidden;"> + style="min-width: 100px" /> @@ -126,8 +124,7 @@ defineExpose({ ]" :data="data.history" class="flex-item-expand" - flex-height - /> + flex-height /> diff --git a/frontend/src/components/content/ContentPane.vue b/frontend/src/components/content/ContentPane.vue index 13fd44f..84e3ca2 100644 --- a/frontend/src/components/content/ContentPane.vue +++ b/frontend/src/components/content/ContentPane.vue @@ -143,8 +143,7 @@ const onCloseTab = (tabIndex) => { size="small" type="card" @close="onCloseTab" - @update:value="onUpdateValue" - > + @update:value="onUpdateValue"> {{ t.label }} @@ -158,8 +157,7 @@ const onCloseTab = (tabIndex) => { :info="serverInfo" :loading="loadingServerInfo" :server="serverName" - @refresh="refreshInfo(true)" - /> + @refresh="refreshInfo(true)" />
@@ -175,8 +173,7 @@ const onCloseTab = (tabIndex) => { :key-path="tabContent.keyPath" :name="tabContent.name" :ttl="tabContent.ttl" - :value="tabContent.value" - /> + :value="tabContent.value" />
diff --git a/frontend/src/components/content/ContentValueTab.vue b/frontend/src/components/content/ContentValueTab.vue index 5b832dd..bea71b5 100644 --- a/frontend/src/components/content/ContentValueTab.vue +++ b/frontend/src/components/content/ContentValueTab.vue @@ -69,8 +69,7 @@ const onCloseTab = (idx, key) => { :style="{ backgroundColor: item.bgColor || '' }" :title="item.label" class="content-tab_item flex-item-expand icon-btn flex-box-h" - @click="onClickTab(i, item.key)" - > + @click="onClickTab(i, item.key)">
{{ item.label }} diff --git a/frontend/src/components/content_value/ContentServerStatus.vue b/frontend/src/components/content_value/ContentServerStatus.vue index daa9e77..56e24c3 100644 --- a/frontend/src/components/content_value/ContentServerStatus.vue +++ b/frontend/src/components/content_value/ContentServerStatus.vue @@ -128,8 +128,7 @@ const infoFilter = ref('') + :value="get(props.info, 'Clients.connected_clients', 0)" /> @@ -173,8 +172,7 @@ const infoFilter = ref('') }, { title: $t('value'), key: 'value' }, ]" - :data="map(v, (value, key) => ({ value, key }))" - /> + :data="map(v, (value, key) => ({ value, key }))" /> diff --git a/frontend/src/components/content_value/ContentToolbar.vue b/frontend/src/components/content_value/ContentToolbar.vue index 3c21cc1..c308ea6 100644 --- a/frontend/src/components/content_value/ContentToolbar.vue +++ b/frontend/src/components/content_value/ContentToolbar.vue @@ -91,8 +91,7 @@ const onDeleteKey = () => { border size="18" t-tooltip="rename_key" - @click="dialogStore.openRenameKeyDialog(props.server, props.db, props.keyPath)" - /> + @click="dialogStore.openRenameKeyDialog(props.server, props.db, props.keyPath)" /> diff --git a/frontend/src/components/content_value/ContentValueHash.vue b/frontend/src/components/content_value/ContentValueHash.vue index 8f65a06..5b227ef 100644 --- a/frontend/src/components/content_value/ContentValueHash.vue +++ b/frontend/src/components/content_value/ContentValueHash.vue @@ -248,15 +248,13 @@ const onUpdateFilter = (filters, sourceColumn) => { :consistent-menu-width="false" :options="filterOption" style="width: 120px" - @update:value="onChangeFilterType" - /> + @update:value="onChangeFilterType" /> + @update:value="onFilterInput" />
@@ -279,8 +277,7 @@ const onUpdateFilter = (filters, sourceColumn) => { size="small" striped virtual-scroll - @update:filters="onUpdateFilter" - /> + @update:filters="onUpdateFilter" /> diff --git a/frontend/src/components/content_value/ContentValueList.vue b/frontend/src/components/content_value/ContentValueList.vue index b22f471..fe15ad1 100644 --- a/frontend/src/components/content_value/ContentValueList.vue +++ b/frontend/src/components/content_value/ContentValueList.vue @@ -179,8 +179,7 @@ const onUpdateFilter = (filters, sourceColumn) => { :placeholder="$t('search')" clearable @clear="clearFilter" - @update:value="onFilterInput" - /> + @update:value="onFilterInput" />
@@ -202,8 +201,7 @@ const onUpdateFilter = (filters, sourceColumn) => { size="small" striped virtual-scroll - @update:filters="onUpdateFilter" - /> + @update:filters="onUpdateFilter" /> diff --git a/frontend/src/components/content_value/ContentValueSet.vue b/frontend/src/components/content_value/ContentValueSet.vue index 6b0b0ab..edb604a 100644 --- a/frontend/src/components/content_value/ContentValueSet.vue +++ b/frontend/src/components/content_value/ContentValueSet.vue @@ -175,8 +175,7 @@ const onUpdateFilter = (filters, sourceColumn) => { :placeholder="$t('search')" clearable @clear="clearFilter" - @update:value="onFilterInput" - /> + @update:value="onFilterInput" />
@@ -198,8 +197,7 @@ const onUpdateFilter = (filters, sourceColumn) => { size="small" striped virtual-scroll - @update:filters="onUpdateFilter" - /> + @update:filters="onUpdateFilter" /> diff --git a/frontend/src/components/content_value/ContentValueStream.vue b/frontend/src/components/content_value/ContentValueStream.vue index b00bf8f..b17b618 100644 --- a/frontend/src/components/content_value/ContentValueStream.vue +++ b/frontend/src/components/content_value/ContentValueStream.vue @@ -161,15 +161,13 @@ const onUpdateFilter = (filters, sourceColumn) => { :consistent-menu-width="false" :options="filterOption" style="width: 120px" - @update:value="onChangeFilterType" - /> + @update:value="onChangeFilterType" /> + @update:value="onFilterInput" />
@@ -192,8 +190,7 @@ const onUpdateFilter = (filters, sourceColumn) => { size="small" striped virtual-scroll - @update:filters="onUpdateFilter" - /> + @update:filters="onUpdateFilter" /> diff --git a/frontend/src/components/content_value/ContentValueString.vue b/frontend/src/components/content_value/ContentValueString.vue index 3f92aac..253b2a9 100644 --- a/frontend/src/components/content_value/ContentValueString.vue +++ b/frontend/src/components/content_value/ContentValueString.vue @@ -211,8 +211,7 @@ const onSaveValue = async () => { :disabled="saving" :resizable="false" class="flex-item-expand" - type="textarea" - /> + type="textarea" /> diff --git a/frontend/src/components/content_value/ContentValueZSet.vue b/frontend/src/components/content_value/ContentValueZSet.vue index b409ce8..8de676d 100644 --- a/frontend/src/components/content_value/ContentValueZSet.vue +++ b/frontend/src/components/content_value/ContentValueZSet.vue @@ -274,8 +274,7 @@ const onUpdateFilter = (filters, sourceColumn) => { :consistent-menu-width="false" :options="filterOption" style="width: 120px" - @update:value="onChangeFilterType" - /> + @update:value="onChangeFilterType" />
{{ $t('score_filter_tip') }}
@@ -310,8 +308,7 @@ const onUpdateFilter = (filters, sourceColumn) => { size="small" striped virtual-scroll - @update:filters="onUpdateFilter" - /> + @update:filters="onUpdateFilter" /> diff --git a/frontend/src/components/dialogs/AddFieldsDialog.vue b/frontend/src/components/dialogs/AddFieldsDialog.vue index 3fb053f..c9b6eb8 100644 --- a/frontend/src/components/dialogs/AddFieldsDialog.vue +++ b/frontend/src/components/dialogs/AddFieldsDialog.vue @@ -196,8 +196,7 @@ const onClose = () => { style="width: 600px" transform-origin="center" @positive-click="onAdd" - @negative-click="onClose" - > + @negative-click="onClose"> @@ -206,8 +205,7 @@ const onClose = () => { + v-model:value="newForm.value" /> {{ $t('reload_when_succ') }} diff --git a/frontend/src/components/dialogs/ConnectionDialog.vue b/frontend/src/components/dialogs/ConnectionDialog.vue index 178002b..40977f7 100644 --- a/frontend/src/components/dialogs/ConnectionDialog.vue +++ b/frontend/src/components/dialogs/ConnectionDialog.vue @@ -141,8 +141,7 @@ const onClose = () => { :show-icon="false" :title="isEditMode ? $t('edit_conn_title') : $t('new_conn_title')" preset="dialog" - transform-origin="center" - > + transform-origin="center"> @@ -151,8 +150,7 @@ const onClose = () => { :model="generalForm" :rules="generalFormRules()" :show-require-mark="false" - label-placement="top" - > + label-placement="top"> @@ -166,16 +164,14 @@ const onClose = () => { v-model:value="generalForm.port" :max="65535" :min="1" - style="width: 200px" - /> + style="width: 200px" /> + type="password" /> @@ -189,19 +185,16 @@ const onClose = () => { :model="generalForm" :rules="generalFormRules()" :show-require-mark="false" - label-placement="top" - > + label-placement="top"> + :placeholder="$t('conn_advn_filter_tip')" /> + :placeholder="$t('conn_advn_separator_tip')" /> @@ -226,8 +219,7 @@ const onClose = () => { }" :style="{ backgroundColor: color }" class="color-preset-item" - @click="generalForm.markColor = color" - > + @click="generalForm.markColor = color"> @@ -239,8 +231,7 @@ const onClose = () => { + :type="isEmpty(testResult) ? 'success' : 'error'"> diff --git a/frontend/src/components/dialogs/DeleteKeyDialog.vue b/frontend/src/components/dialogs/DeleteKeyDialog.vue index 493053e..8210003 100644 --- a/frontend/src/components/dialogs/DeleteKeyDialog.vue +++ b/frontend/src/components/dialogs/DeleteKeyDialog.vue @@ -75,8 +75,7 @@ const onClose = () => { :show-icon="false" :title="$t('batch_delete_key')" preset="dialog" - transform-origin="center" - > + transform-origin="center"> @@ -94,8 +93,7 @@ const onClose = () => { :line-height="1.5" :lines="deleteForm.affectedKeys" :rows="10" - style="user-select: text; cursor: text" - /> + style="user-select: text; cursor: text" /> diff --git a/frontend/src/components/dialogs/GroupDialog.vue b/frontend/src/components/dialogs/GroupDialog.vue index d3fb6dd..38679e8 100644 --- a/frontend/src/components/dialogs/GroupDialog.vue +++ b/frontend/src/components/dialogs/GroupDialog.vue @@ -76,8 +76,7 @@ const onClose = () => { preset="dialog" transform-origin="center" @positive-click="onConfirm" - @negative-click="onClose" - > + @negative-click="onClose"> diff --git a/frontend/src/components/dialogs/KeyFilterDialog.vue b/frontend/src/components/dialogs/KeyFilterDialog.vue index 9858806..c10be1b 100644 --- a/frontend/src/components/dialogs/KeyFilterDialog.vue +++ b/frontend/src/components/dialogs/KeyFilterDialog.vue @@ -67,15 +67,13 @@ const onClose = () => { style="width: 450px" transform-origin="center" @positive-click="onConfirm" - @negative-click="onClose" - > + @negative-click="onClose"> + style="padding-right: 15px"> {{ filterForm.server }} diff --git a/frontend/src/components/dialogs/NewKeyDialog.vue b/frontend/src/components/dialogs/NewKeyDialog.vue index 361441c..b4f692b 100644 --- a/frontend/src/components/dialogs/NewKeyDialog.vue +++ b/frontend/src/components/dialogs/NewKeyDialog.vue @@ -149,8 +149,7 @@ const onClose = () => { style="width: 600px" transform-origin="center" @positive-click="onAdd" - @negative-click="onClose" - > + @negative-click="onClose"> { :rules="formRules" :show-require-mark="false" label-placement="top" - style="padding-right: 15px" - > + style="padding-right: 15px"> @@ -175,8 +173,7 @@ const onClose = () => { v-model:value="newForm.ttl" :max="Number.MAX_SAFE_INTEGER" :min="-1" - placeholder="TTL" - > + placeholder="TTL"> diff --git a/frontend/src/components/dialogs/PreferencesDialog.vue b/frontend/src/components/dialogs/PreferencesDialog.vue index 666900e..7e90b12 100644 --- a/frontend/src/components/dialogs/PreferencesDialog.vue +++ b/frontend/src/components/dialogs/PreferencesDialog.vue @@ -67,8 +67,7 @@ const onClose = () => { :show-icon="false" :title="$t('preferences')" preset="dialog" - transform-origin="center" - > + transform-origin="center"> @@ -85,8 +84,7 @@ const onClose = () => { + filterable /> diff --git a/frontend/src/components/dialogs/RenameKeyDialog.vue b/frontend/src/components/dialogs/RenameKeyDialog.vue index a1830b4..38a34d4 100644 --- a/frontend/src/components/dialogs/RenameKeyDialog.vue +++ b/frontend/src/components/dialogs/RenameKeyDialog.vue @@ -63,15 +63,13 @@ const onClose = () => { preset="dialog" transform-origin="center" @positive-click="onRename" - @negative-click="onClose" - > + @negative-click="onClose"> + label-placement="top"> diff --git a/frontend/src/components/dialogs/SetTtlDialog.vue b/frontend/src/components/dialogs/SetTtlDialog.vue index aebc0e7..7df8a36 100644 --- a/frontend/src/components/dialogs/SetTtlDialog.vue +++ b/frontend/src/components/dialogs/SetTtlDialog.vue @@ -71,8 +71,7 @@ const onConfirm = async () => { :show-icon="false" :title="$t('set_ttl')" preset="dialog" - transform-origin="center" - > + transform-origin="center"> @@ -82,8 +81,7 @@ const onConfirm = async () => { v-model:value="ttlForm.ttl" :max="Number.MAX_SAFE_INTEGER" :min="-1" - style="width: 100%" - > + style="width: 100%"> diff --git a/frontend/src/components/icons/Add.vue b/frontend/src/components/icons/Add.vue index d602ce9..44d05c6 100644 --- a/frontend/src/components/icons/Add.vue +++ b/frontend/src/components/icons/Add.vue @@ -14,22 +14,19 @@ const props = defineProps({ d="M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z" fill="none" stroke="currentColor" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/AddGroup.vue b/frontend/src/components/icons/AddGroup.vue index bc508e1..65c49d9 100644 --- a/frontend/src/components/icons/AddGroup.vue +++ b/frontend/src/components/icons/AddGroup.vue @@ -14,8 +14,7 @@ const props = defineProps({ d="M5 8C5 6.89543 5.89543 6 7 6H19L24 12H41C42.1046 12 43 12.8954 43 14V40C43 41.1046 42.1046 42 41 42H7C5.89543 42 5 41.1046 5 40V8Z" fill="none" stroke="currentColor" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/AddLink.vue b/frontend/src/components/icons/AddLink.vue index 069abfb..72808d3 100644 --- a/frontend/src/components/icons/AddLink.vue +++ b/frontend/src/components/icons/AddLink.vue @@ -14,15 +14,13 @@ const props = defineProps({ d="M24.0605 10L24.0239 38" stroke="currentColor" stroke-linecap="round" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Clear.vue b/frontend/src/components/icons/Clear.vue index 83c5738..11c40f2 100644 --- a/frontend/src/components/icons/Clear.vue +++ b/frontend/src/components/icons/Clear.vue @@ -16,43 +16,37 @@ const props = defineProps({ fill-rule="evenodd" stroke="currentColor" stroke-linecap="round" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Close.vue b/frontend/src/components/icons/Close.vue index 8c65664..3e6ece6 100644 --- a/frontend/src/components/icons/Close.vue +++ b/frontend/src/components/icons/Close.vue @@ -18,22 +18,19 @@ const props = defineProps({ d="M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z" fill="none" stroke="currentColor" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Config.vue b/frontend/src/components/icons/Config.vue index 1212b66..07d9f65 100644 --- a/frontend/src/components/icons/Config.vue +++ b/frontend/src/components/icons/Config.vue @@ -14,15 +14,13 @@ const props = defineProps({ d="M18.2838 43.1713C14.9327 42.1736 11.9498 40.3213 9.58787 37.867C10.469 36.8227 11 35.4734 11 34.0001C11 30.6864 8.31371 28.0001 5 28.0001C4.79955 28.0001 4.60139 28.01 4.40599 28.0292C4.13979 26.7277 4 25.3803 4 24.0001C4 21.9095 4.32077 19.8938 4.91579 17.9995C4.94381 17.9999 4.97188 18.0001 5 18.0001C8.31371 18.0001 11 15.3138 11 12.0001C11 11.0488 10.7786 10.1493 10.3846 9.35011C12.6975 7.1995 15.5205 5.59002 18.6521 4.72314C19.6444 6.66819 21.6667 8.00013 24 8.00013C26.3333 8.00013 28.3556 6.66819 29.3479 4.72314C32.4795 5.59002 35.3025 7.1995 37.6154 9.35011C37.2214 10.1493 37 11.0488 37 12.0001C37 15.3138 39.6863 18.0001 43 18.0001C43.0281 18.0001 43.0562 17.9999 43.0842 17.9995C43.6792 19.8938 44 21.9095 44 24.0001C44 25.3803 43.8602 26.7277 43.594 28.0292C43.3986 28.01 43.2005 28.0001 43 28.0001C39.6863 28.0001 37 30.6864 37 34.0001C37 35.4734 37.531 36.8227 38.4121 37.867C36.0502 40.3213 33.0673 42.1736 29.7162 43.1713C28.9428 40.752 26.676 39.0001 24 39.0001C21.324 39.0001 19.0572 40.752 18.2838 43.1713Z" fill="none" stroke="currentColor" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Connect.vue b/frontend/src/components/icons/Connect.vue index 9c14991..1e539f0 100644 --- a/frontend/src/components/icons/Connect.vue +++ b/frontend/src/components/icons/Connect.vue @@ -14,15 +14,13 @@ const props = defineProps({ d="M30 19H20C15.5817 19 12 22.5817 12 27C12 31.4183 15.5817 35 20 35H36C40.4183 35 44 31.4183 44 27C44 24.9711 43.2447 23.1186 42 21.7084" stroke="currentColor" stroke-linecap="round" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Copy.vue b/frontend/src/components/icons/Copy.vue index fd61445..891f8d4 100644 --- a/frontend/src/components/icons/Copy.vue +++ b/frontend/src/components/icons/Copy.vue @@ -15,22 +15,19 @@ const props = defineProps({ fill="none" stroke="currentColor" stroke-linecap="round" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/CopyLink.vue b/frontend/src/components/icons/CopyLink.vue index 66e04d9..15a2c05 100644 --- a/frontend/src/components/icons/CopyLink.vue +++ b/frontend/src/components/icons/CopyLink.vue @@ -12,8 +12,7 @@ const props = defineProps({ + stroke="currentColor" /> + y="10" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Delete.vue b/frontend/src/components/icons/Delete.vue index 1ad1bdf..215c256 100644 --- a/frontend/src/components/icons/Delete.vue +++ b/frontend/src/components/icons/Delete.vue @@ -13,8 +13,7 @@ const props = defineProps({ :stroke-width="props.strokeWidth" d="M15 12L16.2 5H31.8L33 12" stroke="currentColor" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Edit.vue b/frontend/src/components/icons/Edit.vue index fa30d1c..6c46814 100644 --- a/frontend/src/components/icons/Edit.vue +++ b/frontend/src/components/icons/Edit.vue @@ -14,15 +14,13 @@ const props = defineProps({ d="M7 42H43" stroke="currentColorr" stroke-linecap="round" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Filter.vue b/frontend/src/components/icons/Filter.vue index 93a7882..d4ae56d 100644 --- a/frontend/src/components/icons/Filter.vue +++ b/frontend/src/components/icons/Filter.vue @@ -14,7 +14,6 @@ const props = defineProps({ d="M6 9L20.4 25.8178V38.4444L27.6 42V25.8178L42 9H6Z" fill="none" stroke="currentColor" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Github.vue b/frontend/src/components/icons/Github.vue index ca5d314..c171cd6 100644 --- a/frontend/src/components/icons/Github.vue +++ b/frontend/src/components/icons/Github.vue @@ -13,14 +13,12 @@ clip-rule="evenodd" d="M24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4ZM0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24Z" fill="currentColor" - fill-rule="evenodd" - /> + fill-rule="evenodd" /> + fill-rule="evenodd" /> diff --git a/frontend/src/components/icons/Help.vue b/frontend/src/components/icons/Help.vue index a33ee13..334a22b 100644 --- a/frontend/src/components/icons/Help.vue +++ b/frontend/src/components/icons/Help.vue @@ -14,21 +14,18 @@ const props = defineProps({ d="M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z" fill="none" stroke="currentColor" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + fill-rule="evenodd" /> diff --git a/frontend/src/components/icons/Key.vue b/frontend/src/components/icons/Key.vue index 94207b4..97656f9 100644 --- a/frontend/src/components/icons/Key.vue +++ b/frontend/src/components/icons/Key.vue @@ -15,8 +15,7 @@ const props = defineProps({ stroke="currentColor" stroke-width="1.4" stroke-linecap="round" - stroke-linejoin="round" - > + stroke-linejoin="round"> diff --git a/frontend/src/components/icons/Layer.vue b/frontend/src/components/icons/Layer.vue index e4dafa7..dca9c07 100644 --- a/frontend/src/components/icons/Layer.vue +++ b/frontend/src/components/icons/Layer.vue @@ -18,12 +18,10 @@ const props = defineProps({ stroke="currentColor" stroke-width="1.5" stroke-linecap="round" - stroke-linejoin="round" - > + stroke-linejoin="round"> + :fill="props.fillColor" /> diff --git a/frontend/src/components/icons/Log.vue b/frontend/src/components/icons/Log.vue index 3fb3b37..4ea18b7 100644 --- a/frontend/src/components/icons/Log.vue +++ b/frontend/src/components/icons/Log.vue @@ -17,29 +17,25 @@ const props = defineProps({ stroke-linejoin="round" width="28" x="13" - y="10" - /> + y="10" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Refresh.vue b/frontend/src/components/icons/Refresh.vue index 5d9c322..4abbc9e 100644 --- a/frontend/src/components/icons/Refresh.vue +++ b/frontend/src/components/icons/Refresh.vue @@ -18,16 +18,14 @@ const props = defineProps({ d="M36.7279 36.7279C33.4706 39.9853 28.9706 42 24 42C14.0589 42 6 33.9411 6 24C6 14.0589 14.0589 6 24 6C28.9706 6 33.4706 8.01472 36.7279 11.2721C38.3859 12.9301 42 17 42 17" stroke="currentColor" stroke-linecap="round" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Save.vue b/frontend/src/components/icons/Save.vue index f66cc6e..b9961b5 100644 --- a/frontend/src/components/icons/Save.vue +++ b/frontend/src/components/icons/Save.vue @@ -14,15 +14,13 @@ const props = defineProps({ d="M39.3 6H8.7C7.20883 6 6 7.20883 6 8.7V39.3C6 40.7912 7.20883 42 8.7 42H39.3C40.7912 42 42 40.7912 42 39.3V8.7C42 7.20883 40.7912 6 39.3 6Z" fill="none" stroke="currentColor" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Search.vue b/frontend/src/components/icons/Search.vue index 8091e7f..a2c2161 100644 --- a/frontend/src/components/icons/Search.vue +++ b/frontend/src/components/icons/Search.vue @@ -14,22 +14,19 @@ const props = defineProps({ d="M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z" fill="none" stroke="currentColor" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Sort.vue b/frontend/src/components/icons/Sort.vue index 90f46a5..09b0c4b 100644 --- a/frontend/src/components/icons/Sort.vue +++ b/frontend/src/components/icons/Sort.vue @@ -14,29 +14,25 @@ const props = defineProps({ d="M25 14L16 5L7 14" stroke="currentColor" stroke-linecap="round" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Structure.vue b/frontend/src/components/icons/Structure.vue index 03a3678..b0ebac3 100644 --- a/frontend/src/components/icons/Structure.vue +++ b/frontend/src/components/icons/Structure.vue @@ -14,50 +14,43 @@ const props = defineProps({ d="M38 20H18V28H38V20Z" fill="none" stroke="currentColor" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Timer.vue b/frontend/src/components/icons/Timer.vue index ed665ab..260d4bb 100644 --- a/frontend/src/components/icons/Timer.vue +++ b/frontend/src/components/icons/Timer.vue @@ -15,36 +15,31 @@ const props = defineProps({ d="M28 4L20 4" stroke="currentColor" stroke-linecap="round" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/ToggleDb.vue b/frontend/src/components/icons/ToggleDb.vue index 4fa420a..a4b0186 100644 --- a/frontend/src/components/icons/ToggleDb.vue +++ b/frontend/src/components/icons/ToggleDb.vue @@ -24,22 +24,19 @@ const props = defineProps({ :stroke-width="props.strokeWidth" d="M44.0001 11C44.0001 11 44 36.0623 44 38C44 41.3137 35.0457 44 24 44C12.9543 44 4.00003 41.3137 4.00003 38C4.00003 36.1423 4 11 4 11" stroke-linecap="round" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/ToggleFolder.vue b/frontend/src/components/icons/ToggleFolder.vue index 49bbd0b..013a42f 100644 --- a/frontend/src/components/icons/ToggleFolder.vue +++ b/frontend/src/components/icons/ToggleFolder.vue @@ -24,16 +24,14 @@ const props = defineProps({ d="M4 9V41L9 21H39.5V15C39.5 13.8954 38.6046 13 37.5 13H24L19 7H6C4.89543 7 4 7.89543 4 9Z" stroke="currentColor" stroke-linecap="round" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/ToggleServer.vue b/frontend/src/components/icons/ToggleServer.vue index 73ad00b..d2ae5a3 100644 --- a/frontend/src/components/icons/ToggleServer.vue +++ b/frontend/src/components/icons/ToggleServer.vue @@ -25,37 +25,32 @@ const props = defineProps({ :stroke-width="props.strokeWidth" d="M41 4H7C5.34315 4 4 5.34315 4 7V41C4 42.6569 5.34315 44 7 44H41C42.6569 44 44 42.6569 44 41V7C44 5.34315 42.6569 4 41 4Z" stroke-linecap="round" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Unlink.vue b/frontend/src/components/icons/Unlink.vue index 37de6f5..ec1048a 100644 --- a/frontend/src/components/icons/Unlink.vue +++ b/frontend/src/components/icons/Unlink.vue @@ -15,44 +15,38 @@ const props = defineProps({ fill="none" stroke="currentColor" stroke-linecap="round" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/icons/Update.vue b/frontend/src/components/icons/Update.vue index a271f8f..2812f74 100644 --- a/frontend/src/components/icons/Update.vue +++ b/frontend/src/components/icons/Update.vue @@ -15,22 +15,19 @@ const props = defineProps({ fill="none" stroke="currentColor" stroke-linecap="round" - stroke-linejoin="round" - /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> + stroke-linejoin="round" /> diff --git a/frontend/src/components/new_value/AddHashValue.vue b/frontend/src/components/new_value/AddHashValue.vue index 98926f6..93cf142 100644 --- a/frontend/src/components/new_value/AddHashValue.vue +++ b/frontend/src/components/new_value/AddHashValue.vue @@ -56,8 +56,7 @@ const onUpdate = (val) => { :key-placeholder="$t('enter_field')" :value-placeholder="$t('enter_value')" preset="pair" - @update:value="onUpdate" - > + @update:value="onUpdate">