mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-25 15:15:23 +03:00
Merge branch 'feat/cert-key-parser' into chore/all-my-stuffs
# Conflicts: # package.json # pnpm-lock.yaml # src/components/TextareaCopyable.vue
This commit is contained in:
commit
b3aff65c23
11 files changed
+836
-76
No files matched your search
@@ -2,7 +2,12 @@
|
||||
import { useVModel } from '@vueuse/core';
|
||||
import { useCopy } from '@/composable/copy';
|
||||
|
||||
const props = defineProps<{ value: string }>();
|
||||
const props = defineProps<{
|
||||
value: string
|
||||
multiline?: boolean
|
||||
rows?: number | string
|
||||
autosize?: boolean
|
||||
}>();
|
||||
const emit = defineEmits(['update:value']);
|
||||
|
||||
const value = useVModel(props, 'value', emit);
|
||||
@@ -11,7 +16,12 @@ const tooltipText = computed(() => isJustCopied.value ? 'Copied!' : 'Copy to cli
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<c-input-text v-model:value="value">
|
||||
<c-input-text
|
||||
v-model:value="value"
|
||||
:multiline="multiline"
|
||||
:rows="rows"
|
||||
:autosize="autosize"
|
||||
>
|
||||
<template #suffix>
|
||||
<c-tooltip :tooltip="tooltipText">
|
||||
<c-button circle variant="text" size="small" @click="copy()">
|
||||
|
||||
@@ -25,8 +25,11 @@ const props = withDefaults(
|
||||
copyPlacement?: 'top-right' | 'bottom-right' | 'outside' | 'none'
|
||||
copyMessage?: string
|
||||
wordWrap?: boolean
|
||||
<<<<<<< HEAD
|
||||
downloadFileName?: string
|
||||
downloadButtonText?: string
|
||||
=======
|
||||
>>>>>>> feat/cert-key-parser
|
||||
}>(),
|
||||
{
|
||||
followHeightOf: null,
|
||||
|
||||
Reference in new issue
Block a user