"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./description-list-constants.cjs"),l=require("./description-list-validators.cjs"),e=require("vue"),n=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),c=require("../stack/stack-constants.cjs"),d={compatConfig:{MODE:3},name:"DtDescriptionList",props:{direction:{type:String,default:"row",validator:t=>a.DT_DESCRIPTION_LIST_DIRECTION.includes(t)},items:{type:Array,default:()=>[],validator:t=>l.itemsValidator(t),required:!0},gap:{type:String,default:"400",validator:t=>c.DT_STACK_GAP.includes(t)},termClass:{type:[String,Array,Object],default:""},descriptionClass:{type:[String,Array,Object],default:""}},computed:{dtClass(){return["d-description-list__term",this.termClass]},ddClass(){return["d-description-list__description",this.descriptionClass]},getDirectionClass(){return`d-description-list--${this.direction}`},getGapClass(){return`d-description-list--gap-${this.gap}`}}};function o(t,u,i,_,m,s){return e.openBlock(),e.createElementBlock("dl",{class:e.normalizeClass(["d-description-list",s.getDirectionClass,s.getGapClass])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.items,r=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:r.term},[e.createElementVNode("dt",{class:e.normalizeClass(s.dtClass)},e.toDisplayString(r.term),3),e.createElementVNode("dd",{class:e.normalizeClass(s.ddClass)},e.toDisplayString(r.description),3)],64))),128))],2)}const p=n._(d,[["render",o]]);exports.default=p;
//# sourceMappingURL=description-list.cjs.map
