UNPKG

ll-package

Version:

2 lines (1 loc) 973 B
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../../../hooks/useDesign.js"),u=require("./LlFloatButton.vue.js"),a=e.defineComponent({name:"LlFloatButtonGroup"}),p=e.defineComponent({...a,props:{shape:{default:"circle"},trigger:{},style:{},open:{type:Boolean},list:{default:()=>[]}},setup(o){const{prefixCls:r}=s.useDesign("float-button-group-wrapper"),t=o;return(c,i)=>{const n=e.resolveComponent("a-float-button-group");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`${e.unref(r)}`)},[e.createVNode(n,{shape:t.shape,trigger:t.trigger,style:e.normalizeStyle(t.style),open:t.open},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,l=>(e.openBlock(),e.createBlock(u.default,e.normalizeProps(e.guardReactiveProps(l)),null,16))),256))]),_:1},8,["shape","trigger","style","open"])],2)}}});exports.default=p;