@progress/kendo-vue-dialogs
Version:
9 lines (8 loc) • 1.12 kB
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),r=require("@progress/kendo-vue-common"),n=o.defineComponent({name:"DialogActionsBar",props:{layout:{type:String,default:"stretched",validator:function(t){return["stretched","start","center","end"].includes(t)}},orientation:{type:String,default:"horizontal",validator:function(t){return["horizontal","vertical"].includes(t)}}},computed:{wrapperClasses(){const{layout:t,orientation:e}=this.$props;return{"k-actions":!0,"k-dialog-actions":!0,"k-window-actions":!0,[`k-actions-${e}`]:e,[`k-actions-${t}`]:t}}},render(){const t=r.getDefaultSlots(this);return o.createVNode("div",{class:this.wrapperClasses},[t])}});exports.DialogActionsBar=n;