物管理前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
2.9 KiB

import{d as x,s as U,t as a,o as V,b as N,q as e,w as m,J as i,u as p,F as k}from"./index-bVOhw2NF.js";import{_ as y}from"./text-ClDrYWYc.js";import{_ as T}from"./Input-CFQSA5NN.js";import{_ as v}from"./FormItem-Cp_SJVoE.js";import{_ as j}from"./Checkbox-DAl6jmZx.js";import{_ as F}from"./InputNumber-BUVD-lKD.js";import{_ as B}from"./Form-BZRGTIxb.js";import"./light-Cua7cqmF.js";import"./context-KbjOeZY_.js";import"./_initCloneObject-K-Y0ueWp.js";import"./_baseFor-mOzdmxoL.js";import"./light-Blmb_y9V.js";import"./use-compitable-DMmt6sIs.js";import"./browser-DLIXj5nt.js";import"./is-browser-DqcmxZSF.js";import"./use-rtl-CRyak7TN.js";import"./resolve-slot-Dzko3qih.js";import"./light-MOj96jwO.js";import"./use-style-qLHIyj3D.js";import"./use-locale-CFjRjALw.js";import"./index-Dn5RNViO.js";import"./use-merged-state-CzrzZJbg.js";import"./use-form-item-CNgNT5jP.js";import"./use-memo-BgHp9YyU.js";import"./index-C-nsH7mf.js";import"./Suffix-BqBRFVnL.js";import"./icon-switch.cssr-BCTOxvoq.js";import"./use-is-mounted-wlrzLfZo.js";import"./Icon-Ck7Ij_E6.js";import"./upperFirst-Bq7Kgunw.js";import"./toString-eibgRg41.js";import"./Loading-CByrJVhO.js";import"./Scrollbar-DVK2lT9w.js";import"./fade-in.cssr-CltBGdAW.js";import"./delegate-CI_DDEu_.js";import"./VResizeObserver-Tzd5ds8d.js";import"./get-precise-event-target-DhO46Lpt.js";import"./call-f2ri57Kd.js";import"./format-length-B-p6aW7q.js";import"./get-BuNGRF3A.js";import"./index-L98eAIry.js";import"./light-CUlEsFk3.js";import"./light-DU0-KyAX.js";import"./light-BULoejUF.js";import"./Button-B7xQqa1N.js";import"./color-to-class-B0iQgAn2.js";import"./Add-CgLKrdZy.js";import"./keysOf-HiGXOwLp.js";const yt=x({__name:"JumpToNewUrl",props:{modelValue:{default:()=>({})},currAction:{default:()=>({name:"",type:"jumpToNewUrl",targetId:"",targetProps:{}})}},emits:["update:modelValue"],setup(s,{emit:u}){const _=s,d=u,o=U({newUrl:"",openNewTab:!0,delay:0});return a(()=>_.modelValue,n=>{Object.assign(o.value,n)},{immediate:!0}),a(o,n=>{d("update:modelValue",n)},{deep:!0}),(n,t)=>{const f=y,c=T,l=v,b=j,w=F,g=B;return V(),N(k,null,[e(f,{class:"mb-3 color-[#999]"},{default:m(()=>t[3]||(t[3]=[i(" 跳转新地址配置 ")])),_:1}),e(g,{"label-width":"70px",style:{width:"300px","margin-top":"10px"},"label-placement":"left","label-align":"left",size:"small","show-feedback":!1},{default:m(()=>[e(l,{label:"输入URL",class:"mb-3"},{default:m(()=>[e(c,{modelValue:p(o).newUrl,"onUpdate:modelValue":t[0]||(t[0]=r=>p(o).newUrl=r),type:"textarea",class:"mb-3"},null,8,["modelValue"])]),_:1}),e(l,{label:" ",class:"mb-3"},{default:m(()=>[e(b,{checked:p(o).openNewTab,"onUpdate:checked":t[1]||(t[1]=r=>p(o).openNewTab=r)},{default:m(()=>t[4]||(t[4]=[i(" 打开新页面 ")])),_:1},8,["checked"])]),_:1}),e(l,{label:"延迟"},{default:m(()=>[e(w,{value:p(o).delay,"onUpdate:value":t[2]||(t[2]=r=>p(o).delay=r),style:{width:"100px"},"show-button":!1},{suffix:m(()=>t[5]||(t[5]=[i(" 秒 ")])),_:1},8,["value"])]),_:1})]),_:1})],64)}}});export{yt as default};