UNPKG

@progress/kendo-vue-layout

Version:
9 lines (8 loc) 985 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("@progress/kendo-vue-common"),r=e.defineComponent({name:"KendoAppBarSpacer",props:{width:[String,Number]},computed:{spacerClasses(){return{"k-appbar-spacer":!0,"k-appbar-spacer-sized":this.width!==void 0}},spacerStyles(){return{flexBasis:this.width!==void 0?this.width:void 0}}},render(){const t=s.getDefaultSlots(this);return e.createVNode("span",{class:this.spacerClasses,style:this.spacerStyles},[t])},methods:{focus(){this.$el&&s.focusFirstFocusableChild(this.$el)}}});exports.AppBarSpacer=r;