System.register(["./index-legacy.0c916f1c.js","./index-legacy.5d6d69c8.js"],(function(e){"use strict";var t,n,o,c,r;return{setters:[function(e){t=e.A},function(e){n=e.d,o=e.r,c=e.Z,r=e.c}],execute:function(){e("O",n({name:"o-action-sheet",props:{show:{type:Boolean,default:!1},actions:{type:Array,required:!0,default:function(){return[]}},cancelText:{type:String,default:"取消"},teleport:{type:[String,Element],default:""}},emits:["update:show","select"],setup:function(e,n){var u=n.emit,i=o({oPopover:e.show});return c((function(){return i.oPopover}),(function(){u("update:show",i.oPopover)})),c((function(){return e.show}),(function(){i.oPopover=e.show})),function(){return r(t,{show:i.oPopover,"onUpdate:show":function(e){return i.oPopover=e},teleport:e.teleport},{default:function(){return[r("div",{class:["van-sheet_content van-hairline--bottom"]},[e.actions.map((function(e){return r("div",{class:["van-sheet-item",e.selected&&"van-sheet-item-active"],onClick:function(){return function(e){u("select",e),u("update:show",!1)}(e)}},[e.name])}))]),r("button",{type:"button",class:"van-action-sheet__cancel van-action-sheet_bottom__cancel",onClick:function(){return u("update:show",!1)}},[e.cancelText])]}})}}}))}}}));
