niucloud-admin/niucloud/public/admin/assets/edit-form-location-3c09bc45.js
全栈小学生 ba52b6cf09 up
2025-03-14 18:31:07 +08:00

2 lines
2.3 KiB
JavaScript

import{d as C,N as T,h as S,c as V,J as u,a9 as f,u as e,a,b as c,e as o,w as t,k as n,i as y,t as s,F as E,aa as P,ab as F,G as k,H as B,T as N,ax as $,av as z}from"./index-ac08d87d.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 D}from"./diy-9e975008.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"},Q=C({__name:"edit-form-location",setup(R,{expose:h}){const l=D();return l.editComponent.ignore=["componentBgUrl"],l.editComponent.verify=i=>({code:!0,message:""}),h({}),(i,r)=>{const d=P,v=F,_=k,m=B,b=T("QuestionFilled"),x=N,g=$,w=z;return S(),V(E,null,[u(a("div",O,[c(i.$slots,"field"),o(m,{"label-width":"100px",class:"px-[10px]"},{default:t(()=>[o(_,{label:e(n)("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(n)("authorizeWeChatLocation")),1)]),_:1}),o(d,{label:"open_choose_location"},{default:t(()=>[y(s(e(n)("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(()=>[a("div",U,[a("span",j,s(e(n)("privacyProtection")),1),o(g,{effect:"light",placement:"top"},{content:t(()=>[a("p",null,s(e(n)("privacyProtectionTipsOne")),1),a("p",null,s(e(n)("privacyProtectionTipsTwo")),1)]),default:t(()=>[o(x,null,{default:t(()=>[o(b,{color:"#999999"})]),_:1})]),_:1})])]),default:t(()=>[o(w,{modelValue:e(l).editComponent.field.privacyProtection,"onUpdate:modelValue":r[1]||(r[1]=p=>e(l).editComponent.field.privacyProtection=p)},null,8,["modelValue"]),a("div",G,s(e(n)("privacyProtectionTipsFour")),1)]),_:1})]),_:1})],512),[[f,e(l).editTab=="content"]]),u(a("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:Q},Symbol.toStringTag,{value:"Module"}));export{Y as _};