mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-28 10:36:14 -04:00
feat(ipv4-range-expander): expands a given IPv4 start and end address to a valid IPv4 subnet (#366)
* feat(ipv4-range-expander): expands a given IPv4 start and end address to a valid IPv4 subnet * feat(ipv4-range-expander): remove old component copyable-ip-like.vue * feat(ipv4-range-expander): fix sonar findings * feat(ipv4-range-expander): changes due to review * feat(ipv4-range-expander): only show n-alert if both ipv4 addresses are valid
This commit is contained in:
parent
6d2202597c
commit
df989e24b3
11 changed files with 284 additions and 9 deletions
|
@ -12,7 +12,7 @@
|
|||
<n-text strong>{{ label }}</n-text>
|
||||
</td>
|
||||
<td>
|
||||
<copyable-ip-like v-if="getValue(networkInfo)" :ip="getValue(networkInfo)"></copyable-ip-like>
|
||||
<span-copyable v-if="getValue(networkInfo)" :value="getValue(networkInfo)"></span-copyable>
|
||||
<n-text v-else depth="3">{{ undefinedFallback }}</n-text>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -41,8 +41,8 @@ import { useValidation } from '@/composable/validation';
|
|||
import { isNotThrowing } from '@/utils/boolean';
|
||||
import { useStorage } from '@vueuse/core';
|
||||
import { ArrowLeft, ArrowRight } from '@vicons/tabler';
|
||||
import SpanCopyable from '@/components/SpanCopyable.vue';
|
||||
import { getIPClass } from './ipv4-subnet-calculator.models';
|
||||
import CopyableIpLike from './copyable-ip-like.vue';
|
||||
|
||||
const ip = useStorage('ipv4-subnet-calculator:ip', '192.168.0.1/24');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue