|
|
|
@ -351,7 +351,7 @@ const isPublicShared = computed(() => {
|
|
|
|
|
> |
|
|
|
|
</a-switch> |
|
|
|
|
</div> |
|
|
|
|
<div v-if="activeView?.type === ViewTypes.FORM && isEeUI" class="flex flex-row justify-between"> |
|
|
|
|
<div v-if="activeView?.type === ViewTypes.FORM && !isEeUI" class="flex flex-row justify-between"> |
|
|
|
|
<div class="text-black">{{ $t('activity.rtlOrientation') }}</div> |
|
|
|
|
<a-switch |
|
|
|
|
v-model:checked="withRTL" |
|
|
|
@ -360,33 +360,6 @@ const isPublicShared = computed(() => {
|
|
|
|
|
> |
|
|
|
|
</a-switch> |
|
|
|
|
</div> |
|
|
|
|
<div v-if="activeView?.type === ViewTypes.FORM" class="flex flex-col justify-between gap-y-1 bg-gray-50 rounded-md"> |
|
|
|
|
<div class="flex flex-row justify-between"> |
|
|
|
|
<div class="text-black">{{ $t('activity.useTheme') }}</div> |
|
|
|
|
<a-switch |
|
|
|
|
v-e="['c:share:view:theme:toggle']" |
|
|
|
|
:checked="viewTheme" |
|
|
|
|
:loading="isUpdating.password" |
|
|
|
|
class="share-theme-toggle !mt-0.25" |
|
|
|
|
data-testid="share-theme-toggle" |
|
|
|
|
@click="viewTheme = !viewTheme" |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<Transition mode="out-in" name="layout"> |
|
|
|
|
<div v-if="viewTheme" class="flex -ml-1"> |
|
|
|
|
<LazyGeneralColorPicker |
|
|
|
|
:advanced="false" |
|
|
|
|
:colors="baseThemeColors" |
|
|
|
|
:model-value="activeView?.meta?.theme?.primaryColor" |
|
|
|
|
:row-size="9" |
|
|
|
|
class="!p-0 !bg-inherit" |
|
|
|
|
data-testid="nc-modal-share-view__theme-picker" |
|
|
|
|
@input="onChangeTheme" |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
</Transition> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|