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:
ShareVB committed 2024-11-02 10:33:25 +01:00
commit b3aff65c23
11 files changed
+836 -76

No files matched your search

+12 -2
View File
@@ -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()">
+3
View File
@@ -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,