|
|
@ -86,7 +86,8 @@ const openInOSM = () => { |
|
|
|
<a-dropdown :is="isExpanded ? AModal : 'div'" v-model:visible="isExpanded" :trigger="['click']"> |
|
|
|
<a-dropdown :is="isExpanded ? AModal : 'div'" v-model:visible="isExpanded" :trigger="['click']"> |
|
|
|
<div |
|
|
|
<div |
|
|
|
v-if="!isLocationSet" |
|
|
|
v-if="!isLocationSet" |
|
|
|
class="group cursor-pointer flex gap-1 items-center mx-auto max-w-64 justify-center active:(ring ring-accent ring-opacity-100) rounded border-1 p-1 shadow-sm hover:(bg-primary bg-opacity-10) dark:(!bg-slate-500)" |
|
|
|
class="group cursor-pointer flex gap-1 items-center mx-auto max-w-64 justify-center active:(ring ring-accent ring-opacity-100) rounded border-1 p-1 shadow-sm hover:(bg-primary bg-opacity-10) dark:(!bg-slate-500) my-1" |
|
|
|
|
|
|
|
tabindex="0" |
|
|
|
> |
|
|
|
> |
|
|
|
<div class="flex items-center gap-2" data-testid="nc-geo-data-set-location-button"> |
|
|
|
<div class="flex items-center gap-2" data-testid="nc-geo-data-set-location-button"> |
|
|
|
<component |
|
|
|
<component |
|
|
@ -98,7 +99,14 @@ const openInOSM = () => { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-else data-testid="nc-geo-data-lat-long-set">{{ latLongStr }}</div> |
|
|
|
<div |
|
|
|
|
|
|
|
v-else |
|
|
|
|
|
|
|
data-testid="nc-geo-data-lat-long-set" |
|
|
|
|
|
|
|
tabindex="0" |
|
|
|
|
|
|
|
class="focus-visible:!outline-none h-full w-full flex items-center" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
{{ latLongStr }} |
|
|
|
|
|
|
|
</div> |
|
|
|
<template #overlay> |
|
|
|
<template #overlay> |
|
|
|
<a-form :model="formState" class="flex flex-col w-max-64 border-1 border-gray-200" @finish="handleFinish"> |
|
|
|
<a-form :model="formState" class="flex flex-col w-max-64 border-1 border-gray-200" @finish="handleFinish"> |
|
|
|
<a-form-item> |
|
|
|
<a-form-item> |
|
|
|