niucloud-admin/niucloud/public/admin/assets/edit-form-location-486b0ea9.js
全栈小学生 c665981070 up
2025-05-23 14:56:18 +08:00

2 lines
2.3 KiB
JavaScript

import{d as C,M as P,h as S,c as T,J as u,a7 as f,u as e,a as n,b as c,e as o,w as t,k as a,i as y,t as s,F as V,a8 as E,a9 as F,G as k,H as B,P as $,av as z,at as D}from"./index-08dd4327.js";/* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css */import"./el-form-item-4ed993c7.js";/* empty css *//* empty css */import{u as N}from"./diy-84497d46.js";const O={class:"content-wrap"},U={class:"flex items-center"},j={class:"mr-[3px]"},G={class:"text-sm text-gray-400"},I={class:"style-wrap"},M=C({__name:"edit-form-location",setup(Q,{expose:h}){const l=N();return l.editComponent.ignore=["componentBgUrl"],l.editComponent.verify=i=>({code:!0,message:""}),h({}),(i,r)=>{const d=E,v=F,_=k,m=B,b=P("QuestionFilled"),g=$,w=z,x=D;return S(),T(V,null,[u(n("div",O,[c(i.$slots,"field"),o(m,{"label-width":"100px",class:"px-[10px]"},{default:t(()=>[o(_,{label:e(a)("access")},{default:t(()=>[o(v,{modelValue:e(l).editComponent.mode,"onUpdate:modelValue":r[0]||(r[0]=p=>e(l).editComponent.mode=p)},{default:t(()=>[o(d,{class:"!mr-[20px]",label:"authorized_wechat_location"},{default:t(()=>[y(s(e(a)("authorizeWeChatLocation")),1)]),_:1}),o(d,{label:"open_choose_location"},{default:t(()=>[y(s(e(a)("manuallySelectPositioning")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1}),c(i.$slots,"other"),o(m,{"label-width":"100px",class:"px-[10px]"},{default:t(()=>[o(_,{class:"display-block"},{label:t(()=>[n("div",U,[n("span",j,s(e(a)("privacyProtection")),1),o(w,{effect:"light",placement:"top"},{content:t(()=>[n("p",null,s(e(a)("privacyProtectionTipsOne")),1),n("p",null,s(e(a)("privacyProtectionTipsTwo")),1)]),default:t(()=>[o(g,null,{default:t(()=>[o(b,{color:"#999999"})]),_:1})]),_:1})])]),default:t(()=>[o(x,{modelValue:e(l).editComponent.field.privacyProtection,"onUpdate:modelValue":r[1]||(r[1]=p=>e(l).editComponent.field.privacyProtection=p)},null,8,["modelValue"]),n("div",G,s(e(a)("privacyProtectionTipsFour")),1)]),_:1})]),_:1})],512),[[f,e(l).editTab=="content"]]),u(n("div",I,[c(i.$slots,"style-field"),c(i.$slots,"style")],512),[[f,e(l).editTab=="style"]])],64)}}}),Y=Object.freeze(Object.defineProperty({__proto__:null,default:M},Symbol.toStringTag,{value:"Module"}));export{Y as _};