"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("../../_util/classNames.js"),v=require("../interface.js"),$=e.defineComponent({name:"DefaultPanel",inheritAttrs:!1,props:v.tourStepProps(),setup(r,{attrs:a}){return()=>{const{prefixCls:t,current:s,total:o,title:c,description:n,onClose:l,onPrev:i,onNext:d,onFinish:u}=r;return e.createVNode("div",{...a,class:p.default(`${t}-content`,a.class)},[e.createVNode("div",{class:`${t}-inner`},[e.createVNode("button",{type:"button",onClick:l,"aria-label":"Close",class:`${t}-close`},[e.createVNode("span",{class:`${t}-close-x`},[e.createTextVNode("×")])]),e.createVNode("div",{class:`${t}-header`},[e.createVNode("div",{class:`${t}-title`},[c])]),e.createVNode("div",{class:`${t}-description`},[n]),e.createVNode("div",{class:`${t}-footer`},[e.createVNode("div",{class:`${t}-sliders`},[o>1?[...Array.from({length:o}).keys()].map((N,V)=>e.createVNode("span",{key:N,class:V===s?"active":""},null)):null]),e.createVNode("div",{class:`${t}-buttons`},[s!==0?e.createVNode("button",{class:`${t}-prev-btn`,onClick:i},[e.createTextVNode("Prev")]):null,s===o-1?e.createVNode("button",{class:`${t}-finish-btn`,onClick:u},[e.createTextVNode("Finish")]):e.createVNode("button",{class:`${t}-next-btn`,onClick:d},[e.createTextVNode("Next")])])])])])}}});exports.default=$;
