"use strict";const t=require("../../../../common/vendor.js"),e=require("./types.js"),o=t.defineComponent({__name:"wd-swiper-nav",props:e.swiperNavprops,emits:["change"],setup(e,{emit:o}){const n=o;function s(t){n("change",{dir:t,source:"nav"})}return(e,o)=>t.e({a:e.showControls},e.showControls?{b:t.o((t=>s("prev"))),c:t.o((t=>s("next")))}:{},{d:e.total>=e.minShowNum},e.total>=e.minShowNum?t.e({e:"dots"===e.type||"dots-bar"===e.type},"dots"===e.type||"dots-bar"===e.type?{f:t.f(e.total,((o,n,s)=>({a:n,b:t.n(`wd-swiper-nav__item--${e.type} ${e.current===n?"is-active":""} is-${e.direction}`)})))}:{},{g:"fraction"===e.type},"fraction"===e.type?{h:t.t(e.current+1),i:t.t(e.total)}:{},{j:t.s(e.customStyle),k:t.n(`wd-swiper-nav wd-swiper-nav--${e.direction} wd-swiper-nav--${e.type} wd-swiper-nav--${e.indicatorPosition} ${e.customClass}`)}):{})}}),n=t._export_sfc(o,[["__scopeId","data-v-b08131c2"]]);wx.createComponent(n);
