| 1 |
- import{P as d}from"./index-C0mnMlct.js";import{h as f}from"./entry/index-CRWhxBeP.js";import{bz as v}from"./antd-BfqWtMX3.js";import{d as g,f as l,a6 as x,Z as y,a4 as C,a5 as u,k as i,G as _,u as p}from"./vue-DM5HGU8Z.js";import"./useContentViewHeight-D9So7_ch.js";import"./useWindowSizeFn-CEueHQop.js";import"./onMountedOrActivated-Ckq_czNf.js";const q=g({__name:"index",setup(b){const r=l(!1),{prefixVar:n}=f(""),t=l(0),m=[{title:"Welcome",description:"Hello World! 👋"},{title:"Collapse Button",description:"This is the menu collapse button.",target:()=>document.querySelector(`.${n}-layout-header-trigger`)},{title:"User Action",description:"This is the user function area.",target:()=>document.querySelector(`.${n}-layout-header-action`)}],a=s=>{t.value=0,r.value=s};return(s,e)=>{const c=x("a-button");return y(),C(p(d),{title:"引导页",content:"用于给用户的指引操作"},{default:u(()=>[i(c,{type:"primary",onClick:e[0]||(e[0]=o=>a(!0))},{default:u(()=>e[3]||(e[3]=[_("开始")])),_:1}),i(p(v),{current:t.value,"onUpdate:current":e[1]||(e[1]=o=>t.value=o),open:r.value,steps:m,onClose:e[2]||(e[2]=o=>a(!1))},null,8,["current","open"])]),_:1})}}});export{q as default};
|