"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./presence-constants.cjs"),e=require("vue"),s=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),a={compatConfig:{MODE:3},name:"DtPresence",props:{presence:{type:String,default:r.PRESENCE_STATES.ACTIVE,validator:t=>r.PRESENCE_STATES_LIST.includes(t)},srText:{type:String,default:null}}},c=["aria-live"],i={key:0,"data-qa":"dt-presence-sr-text",class:"sr-only"};function l(t,_,n,d,u,p){return e.openBlock(),e.createElementBlock("div",{class:"d-presence","data-qa":"dt-presence",role:"status","aria-live":t.$attrs.ariaLive||"off"},[n.srText?(e.openBlock(),e.createElementBlock("span",i,e.toDisplayString(n.srText),1)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["d-presence__inner",{"d-presence__inner--active":n.presence==="active","d-presence__inner--away":n.presence==="away","d-presence__inner--busy":n.presence==="busy","d-presence__inner--offline":n.presence==="offline"}])},null,2)],8,c)}const o=s._(a,[["render",l]]);exports.default=o;
//# sourceMappingURL=presence.cjs.map
