Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}}),require(`../../chunk-Bmb41Sf3.cjs`);const e=require(`../../_plugin-vue_export-helper-D8jCH6HB.cjs`),t=require(`./skeleton-constants.cjs`),n=require(`../../common/mixins/skeleton.cjs`);let r=require(`vue`);var i={compatConfig:{MODE:3},name:`DtSkeletonText`,mixins:[n.default],props:{type:{type:String,default:`body`,validator:e=>t.SKELETON_TEXT_TYPES.includes(e)},headingHeight:{type:String,default:`md`,validator:e=>Object.keys(t.SKELETON_HEADING_HEIGHTS).includes(e)},width:{type:String,default:`100%`},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!1},offset:{type:Number,default:1},contentClass:{type:String,default:``}},data(){return{SKELETON_HEADING_HEIGHTS:t.SKELETON_HEADING_HEIGHTS}}};function a(e,t,n,i,a,o){return n.type===`body`?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:0,ref:`skeleton`,"data-qa":`skeleton-text-body`,class:(0,r.normalizeClass)([`d-skeleton-text`,`d-skeleton-placeholder`,{"d-skeleton-placeholder--animate":n.animate},n.contentClass]),style:(0,r.normalizeStyle)({width:n.width,...e.skeletonStyle})},null,6)):n.type===`heading`?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:1,ref:`skeleton`,"data-qa":`skeleton-text-heading`,class:(0,r.normalizeClass)([a.SKELETON_HEADING_HEIGHTS[n.headingHeight],`d-skeleton-text--heading`,`d-skeleton-placeholder`,{"d-skeleton-placeholder--animate":n.animate},n.contentClass]),style:(0,r.normalizeStyle)({width:n.width,...e.skeletonStyle})},null,6)):(0,r.createCommentVNode)(``,!0)}var o=e.t(i,[[`render`,a]]);exports.default=o;
//# sourceMappingURL=skeleton-text.cjs.map