diff options
author | 2023-08-07 17:30:00 +0200 | |
---|---|---|
committer | 2023-08-07 15:30:00 +0000 | |
commit | dfa1ba85548508e680f68200ea521be95c3eafe0 (patch) | |
tree | c166b635e5eb006806bd40a88252d90735be9ca4 /src/tools/hash-text/hash-text.vue | |
parent | 6498c9b0fa0427d567506dbd4a6e87d227b138d4 (diff) | |
download | it-tools-dfa1ba85548508e680f68200ea521be95c3eafe0.tar.gz it-tools-dfa1ba85548508e680f68200ea521be95c3eafe0.tar.zst it-tools-dfa1ba85548508e680f68200ea521be95c3eafe0.zip |
feat(ui): added c-select in the ui lib (#550)
* feat(ui): added c-select in the ui lib
* refactor(ui): switched n-select to c-select
Diffstat (limited to 'src/tools/hash-text/hash-text.vue')
-rw-r--r-- | src/tools/hash-text/hash-text.vue | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/tools/hash-text/hash-text.vue b/src/tools/hash-text/hash-text.vue index d367407..6eae981 100644 --- a/src/tools/hash-text/hash-text.vue +++ b/src/tools/hash-text/hash-text.vue @@ -41,29 +41,29 @@ const hashText = (algo: AlgoNames, value: string) => formatWithEncoding(algos[al <n-divider /> - <n-form-item label="Digest encoding"> - <n-select - v-model:value="encoding" - :options="[ - { - label: 'Binary (base 2)', - value: 'Bin', - }, - { - label: 'Hexadecimal (base 16)', - value: 'Hex', - }, - { - label: 'Base64 (base 64)', - value: 'Base64', - }, - { - label: 'Base64url (base 64 with url safe chars)', - value: 'Base64url', - }, - ]" - /> - </n-form-item> + <c-select + v-model:value="encoding" + mb-4 + label="Digest encoding" + :options="[ + { + label: 'Binary (base 2)', + value: 'Bin', + }, + { + label: 'Hexadecimal (base 16)', + value: 'Hex', + }, + { + label: 'Base64 (base 64)', + value: 'Base64', + }, + { + label: 'Base64url (base 64 with url safe chars)', + value: 'Base64url', + }, + ]" + /> <div v-for="algo in algoNames" :key="algo" style="margin: 5px 0"> <n-input-group> |