"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./stack-constants.cjs"),r=require("./validators.cjs"),s=require("./utils.cjs"),e=require("vue"),u=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),n={compatConfig:{MODE:3},name:"DtStack",props:{direction:{type:[String,Object],default:"column",validator:t=>r.directionValidator(t)},as:{type:String,default:"div"},gap:{type:[String,Object],default:"0",validator:t=>r.gapValidator(t)},align:{type:[String,Object],default:"normal",validator:t=>r.alignValidator(t)},justify:{type:[String,Object],default:"start",validator:t=>r.justifyValidator(t)}},data(){return{DT_STACK_DIRECTION:i.DT_STACK_DIRECTION,DT_STACK_GAP:i.DT_STACK_GAP,DT_STACK_RESPONSIVE_BREAKPOINTS:i.DT_STACK_RESPONSIVE_BREAKPOINTS,DT_STACK_ALIGN:i.DT_STACK_ALIGN,DT_STACK_JUSTIFY:i.DT_STACK_JUSTIFY}},computed:{defaultGap(){return s.getDefaultGapClass(this.gap)},defaultDirection(){return s.getDefaultDirectionClass(this.direction)},defaultAlign(){return s.getDefaultAlignClass(this.align)},defaultJustify(){return s.getDefaultJustifyClass(this.justify)},stackResponsive(){return s.getResponsiveClasses(this.direction,this.gap,this.align,this.justify)}}};function c(t,o,l,_,f,a){return e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.as),{"data-qa":"dt-stack",class:e.normalizeClass(["d-stack",a.defaultDirection,a.defaultGap,a.defaultAlign,a.defaultJustify,a.stackResponsive])},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["class"])}const d=u._(n,[["render",c]]);exports.default=d;
//# sourceMappingURL=stack.cjs.map
