|
|
@ -5,12 +5,12 @@ import tinycolor from 'tinycolor2' |
|
|
|
import { |
|
|
|
import { |
|
|
|
computed, |
|
|
|
computed, |
|
|
|
extractSdkResponseErrorMsg, |
|
|
|
extractSdkResponseErrorMsg, |
|
|
|
|
|
|
|
isRtlLang, |
|
|
|
message, |
|
|
|
message, |
|
|
|
projectThemeColors, |
|
|
|
projectThemeColors, |
|
|
|
ref, |
|
|
|
ref, |
|
|
|
useCopy, |
|
|
|
useCopy, |
|
|
|
useDashboard, |
|
|
|
useDashboard, |
|
|
|
isRtlLang, |
|
|
|
|
|
|
|
useI18n, |
|
|
|
useI18n, |
|
|
|
useNuxtApp, |
|
|
|
useNuxtApp, |
|
|
|
useProject, |
|
|
|
useProject, |
|
|
@ -196,7 +196,6 @@ watch(passwordProtected, (value) => { |
|
|
|
const { locale } = useI18n() |
|
|
|
const { locale } = useI18n() |
|
|
|
|
|
|
|
|
|
|
|
const isRtl = computed(() => isRtlLang(locale.value as any)) |
|
|
|
const isRtl = computed(() => isRtlLang(locale.value as any)) |
|
|
|
|
|
|
|
|
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
@ -234,8 +233,7 @@ const isRtl = computed(() => isRtlLang(locale.value as any)) |
|
|
|
<MdiOpenInNew class="text-sm text-gray-500 mt-2" /> |
|
|
|
<MdiOpenInNew class="text-sm text-gray-500 mt-2" /> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
|
|
<MdiContentCopy v-e="['c:view:share:copy-url']" class="text-gray-500 text-sm cursor-pointer" |
|
|
|
<MdiContentCopy v-e="['c:view:share:copy-url']" class="text-gray-500 text-sm cursor-pointer" @click="copyLink" /> |
|
|
|
@click="copyLink" /> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="px-1 mt-2 flex flex-col gap-3"> |
|
|
|
<div class="px-1 mt-2 flex flex-col gap-3"> |
|
|
@ -312,8 +310,7 @@ const isRtl = computed(() => isRtlLang(locale.value as any)) |
|
|
|
" |
|
|
|
" |
|
|
|
> |
|
|
|
> |
|
|
|
<!-- Allow Download --> |
|
|
|
<!-- Allow Download --> |
|
|
|
<a-checkbox v-model:checked="allowCSVDownload" data-testid="nc-modal-share-view__with-csv-download" |
|
|
|
<a-checkbox v-model:checked="allowCSVDownload" data-testid="nc-modal-share-view__with-csv-download" class="!text-sm"> |
|
|
|
class="!text-sm"> |
|
|
|
|
|
|
|
{{ $t('labels.downloadAllowed') }} |
|
|
|
{{ $t('labels.downloadAllowed') }} |
|
|
|
</a-checkbox> |
|
|
|
</a-checkbox> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|