@sysvale/cuida 3.60.7 → 3.60.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3568,7 +3568,7 @@ function aA(t, e, n, i, s, r) {
3568
3568
  ], 6)
3569
3569
  ]);
3570
3570
  }
3571
- const y1 = /* @__PURE__ */ fe(sA, [["render", aA], ["__scopeId", "data-v-1a076637"]]);
3571
+ const y1 = /* @__PURE__ */ fe(sA, [["render", aA], ["__scopeId", "data-v-a8ffaf17"]]);
3572
3572
  var l5 = { exports: {} };
3573
3573
  (function(t, e) {
3574
3574
  (function(n, i) {
@@ -18,7 +18,7 @@
18
18
  `,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
19
19
 
20
20
  `,`1) content: element.innerHTML
21
- `,"2) content: () => element.cloneNode(true)"].join(" "))}var c=s.reduce(function(d,h){var f=h&&U7(h,i);return f&&d.push(f),d},[]);return Zo(t)?c[0]:c}Jo.defaultProps=Qn,Jo.setDefaultProps=H7,Jo.currentInput=Ji,Object.assign({},_p,{effect:function(e){var n=e.state,i={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,i.popper),n.styles=i,n.elements.arrow&&Object.assign(n.elements.arrow.style,i.arrow)}}),Jo.setDefaultProps({render:Qp});const $ce="",Nce="",Sa=(t,e)=>{setTimeout(()=>{const n=()=>{const a=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);return`${a()}-${a()}`};if(e.value===null||e.value===void 0)return;const i=n();t.setAttribute("data-tippy",i);const s=`${t.tagName.toLowerCase()}[data-tippy="${i}"]`;Jo(s,{content:e.value,arrow:!1,animation:"shift-away-subtle",delay:100})},500)},zce="",M1={directives:{cdstip:Sa},components:{CdsSpinner:ya},props:{variant:{type:String,default:"green"},size:{type:String,default:"md"},block:{type:Boolean,default:!1},text:{type:String,default:"Lorem ipsum"},disabled:{type:Boolean,default:!1},tooltipText:{type:String,default:null},secondary:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},data(){return{predefinedColors:["green","teal","turquoise","blue","indigo","violet","pink","red","orange","amber","dark"],predefinedSizes:["sm","md","lg"]}},computed:{widthResolver(){return this.block?"100%":"max-content"},tooltipDisabled(){return this.disabled&&this.tooltipText!==""?this.tooltipText:null},predefinedColor(){return this.secondary?"button--secondary":this.predefinedColors.indexOf(this.variant)>-1?`button--${this.variant}`:"button--green"},predefinedSize(){return this.predefinedSizes.indexOf(this.size)>-1?`button-size--${this.size}`:"button-size--md"},computedStyle(){const t=this.disabled?"--disabled":"--active";return`${this.predefinedColor}${t} ${this.predefinedSize}`}},methods:{clickHandler(){this.disabled||this.$emit("button-click",!0)}}},em=()=>{r.useCssVars(t=>({"3a67bade":t.widthResolver}))},tm=M1.setup;M1.setup=tm?(t,e)=>(em(),tm(t,e)):em;const q7=M1;function G7(t,e,n,i,s,a){const o=r.resolveComponent("cds-spinner"),c=r.resolveDirective("cdstip");return r.withDirectives((r.openBlock(),r.createElementBlock("button",{class:r.normalizeClass(["button__container",a.computedStyle]),onClick:e[0]||(e[0]=r.withModifiers((...d)=>a.clickHandler&&a.clickHandler(...d),["stop"]))},[n.loading?(r.openBlock(),r.createBlock(o,{key:0,variant:"white",size:"sm",class:"button__loader"})):r.createCommentVNode("",!0),r.renderSlot(t.$slots,"default",{},()=>[r.createTextVNode(r.toDisplayString(n.text),1)],!0)],2)),[[c,a.tooltipDisabled]])}const ps=te(q7,[["render",G7],["__scopeId","data-v-0555dba6"]]),Pce="",K7={components:{CdsIcon:Le,CdsButton:ps},props:{show:{type:Boolean,default:!1,required:!1},float:{type:Boolean,default:!1},dismissible:{type:Boolean,default:!1},light:{type:Boolean,default:!1},actions:{type:Array,default:()=>[]}},data(){return{internalShow:!1}},computed:{hasActionSlot(){return Object.keys(this.$slots).some(t=>t==="actions")}},watch:{show(t){this.internalShow=t}},mounted(){this.internalShow=this.show},methods:{handleClose(){this.internalShow=!1,this.$emit("close",!0)}}},Z7={key:0,class:"toolbar__container"},X7={key:0,class:"toolbar__buttons-container"},J7={key:1,class:"toolbar__buttons-container"};function Q7(t,e,n,i,s,a){const o=r.resolveComponent("cds-button"),c=r.resolveComponent("cds-icon");return s.internalShow?(r.openBlock(),r.createElementBlock("div",Z7,[r.createElementVNode("div",{class:r.normalizeClass({"toolbar--fixed":n.float,"toolbar--light":n.light,"toolbar--dark":!n.light})},[r.renderSlot(t.$slots,"description",{},void 0,!0),a.hasActionSlot?(r.openBlock(),r.createElementBlock("div",X7,[r.renderSlot(t.$slots,"actions",{},void 0,!0)])):(r.openBlock(),r.createElementBlock("div",J7,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.actions,(d,h)=>(r.openBlock(),r.createElementBlock("div",{key:h,class:"toolbar__button"},[r.createVNode(o,{id:`btn-${h+1}`,secondary:n.light,variant:"dark",onClick:f=>t.$emit("click",d)},{default:r.withCtx(()=>[r.createElementVNode("span",null,r.toDisplayString(d),1)]),_:2},1032,["id","secondary","onClick"])]))),128))])),n.dismissible?(r.openBlock(),r.createElementBlock("div",{key:2,class:r.normalizeClass(n.light?"toolbar__icon--light":"toolbar__icon--dark"),onClick:e[0]||(e[0]=(...d)=>a.handleClose&&a.handleClose(...d))},[r.createVNode(c,{name:"x-outline",height:"20",width:"20"})],2)):r.createCommentVNode("",!0)],2)])):r.createCommentVNode("",!0)}const e8=te(K7,[["render",Q7],["__scopeId","data-v-72b9ba8b"]]);var cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},O1={exports:{}};(function(t,e){var n=200,i="__lodash_hash_undefined__",s=9007199254740991,a="[object Arguments]",o="[object Array]",c="[object Boolean]",d="[object Date]",h="[object Error]",f="[object Function]",m="[object GeneratorFunction]",g="[object Map]",_="[object Number]",b="[object Object]",w="[object Promise]",C="[object RegExp]",S="[object Set]",E="[object String]",A="[object Symbol]",x="[object WeakMap]",T="[object ArrayBuffer]",N="[object DataView]",L="[object Float32Array]",F="[object Float64Array]",q="[object Int8Array]",ee="[object Int16Array]",ie="[object Int32Array]",K="[object Uint8Array]",se="[object Uint8ClampedArray]",me="[object Uint16Array]",J="[object Uint32Array]",he=/[\\^$.*+?()[\]{}|]/g,fe=/\w*$/,ye=/^\[object .+?Constructor\]$/,we=/^(?:0|[1-9]\d*)$/,R={};R[a]=R[o]=R[T]=R[N]=R[c]=R[d]=R[L]=R[F]=R[q]=R[ee]=R[ie]=R[g]=R[_]=R[b]=R[C]=R[S]=R[E]=R[A]=R[K]=R[se]=R[me]=R[J]=!0,R[h]=R[f]=R[x]=!1;var pe=typeof cn=="object"&&cn&&cn.Object===Object&&cn,oe=typeof self=="object"&&self&&self.Object===Object&&self,Ee=pe||oe||Function("return this")(),Me=e&&!e.nodeType&&e,ge=Me&&!0&&t&&!t.nodeType&&t,Ne=ge&&ge.exports===Me;function lt(v,O){return v.set(O[0],O[1]),v}function Fe(v,O){return v.add(O),v}function ht(v,O){for(var I=-1,U=v?v.length:0;++I<U&&O(v[I],I,v)!==!1;);return v}function It(v,O){for(var I=-1,U=O.length,Be=v.length;++I<U;)v[Be+I]=O[I];return v}function kt(v,O,I,U){var Be=-1,ke=v?v.length:0;for(U&&ke&&(I=v[++Be]);++Be<ke;)I=O(I,v[Be],Be,v);return I}function tt(v,O){for(var I=-1,U=Array(v);++I<v;)U[I]=O(I);return U}function st(v,O){return v==null?void 0:v[O]}function rt(v){var O=!1;if(v!=null&&typeof v.toString!="function")try{O=!!(v+"")}catch{}return O}function Yt(v){var O=-1,I=Array(v.size);return v.forEach(function(U,Be){I[++O]=[Be,U]}),I}function ft(v,O){return function(I){return v(O(I))}}function Ct(v){var O=-1,I=Array(v.size);return v.forEach(function(U){I[++O]=U}),I}var tn=Array.prototype,nn=Function.prototype,bt=Object.prototype,nt=Ee["__core-js_shared__"],Nt=function(){var v=/[^.]+$/.exec(nt&&nt.keys&&nt.keys.IE_PROTO||"");return v?"Symbol(src)_1."+v:""}(),Ot=nn.toString,At=bt.hasOwnProperty,Dt=bt.toString,un=RegExp("^"+Ot.call(At).replace(he,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$t=Ne?Ee.Buffer:void 0,ne=Ee.Symbol,Ie=Ee.Uint8Array,Ye=ft(Object.getPrototypeOf,Object),pn=Object.create,In=bt.propertyIsEnumerable,Un=tn.splice,j=Object.getOwnPropertySymbols,le=$t?$t.isBuffer:void 0,ve=ft(Object.keys,Object),W=$n(Ee,"DataView"),B=$n(Ee,"Map"),Y=$n(Ee,"Promise"),re=$n(Ee,"Set"),Ce=$n(Ee,"WeakMap"),je=$n(Object,"create"),at=mn(W),xt=mn(B),sn=mn(Y),Gt=mn(re),qn=mn(Ce),pt=ne?ne.prototype:void 0,An=pt?pt.valueOf:void 0;function Sn(v){var O=-1,I=v?v.length:0;for(this.clear();++O<I;){var U=v[O];this.set(U[0],U[1])}}function ii(){this.__data__=je?je(null):{}}function Wi(v){return this.has(v)&&delete this.__data__[v]}function Bs(v){var O=this.__data__;if(je){var I=O[v];return I===i?void 0:I}return At.call(O,v)?O[v]:void 0}function ho(v){var O=this.__data__;return je?O[v]!==void 0:At.call(O,v)}function ea(v,O){var I=this.__data__;return I[v]=je&&O===void 0?i:O,this}Sn.prototype.clear=ii,Sn.prototype.delete=Wi,Sn.prototype.get=Bs,Sn.prototype.has=ho,Sn.prototype.set=ea;function rn(v){var O=-1,I=v?v.length:0;for(this.clear();++O<I;){var U=v[O];this.set(U[0],U[1])}}function Kl(){this.__data__=[]}function Zl(v){var O=this.__data__,I=Vs(O,v);if(I<0)return!1;var U=O.length-1;return I==U?O.pop():Un.call(O,I,1),!0}function Xl(v){var O=this.__data__,I=Vs(O,v);return I<0?void 0:O[I][1]}function Jl(v){return Vs(this.__data__,v)>-1}function Ql(v,O){var I=this.__data__,U=Vs(I,v);return U<0?I.push([v,O]):I[U][1]=O,this}rn.prototype.clear=Kl,rn.prototype.delete=Zl,rn.prototype.get=Xl,rn.prototype.has=Jl,rn.prototype.set=Ql;function an(v){var O=-1,I=v?v.length:0;for(this.clear();++O<I;){var U=v[O];this.set(U[0],U[1])}}function ec(){this.__data__={hash:new Sn,map:new(B||rn),string:new Sn}}function tc(v){return Yi(this,v).delete(v)}function nc(v){return Yi(this,v).get(v)}function ic(v){return Yi(this,v).has(v)}function sc(v,O){return Yi(this,v).set(v,O),this}an.prototype.clear=ec,an.prototype.delete=tc,an.prototype.get=nc,an.prototype.has=ic,an.prototype.set=sc;function Mn(v){this.__data__=new rn(v)}function ur(){this.__data__=new rn}function rc(v){return this.__data__.delete(v)}function hr(v){return this.__data__.get(v)}function ac(v){return this.__data__.has(v)}function oc(v,O){var I=this.__data__;if(I instanceof rn){var U=I.__data__;if(!B||U.length<n-1)return U.push([v,O]),this;I=this.__data__=new an(U)}return I.set(v,O),this}Mn.prototype.clear=ur,Mn.prototype.delete=rc,Mn.prototype.get=hr,Mn.prototype.has=ac,Mn.prototype.set=oc;function fr(v,O){var I=ra(v)||pr(v)?tt(v.length,String):[],U=I.length,Be=!!U;for(var ke in v)(O||At.call(v,ke))&&!(Be&&(ke=="length"||wo(ke,U)))&&I.push(ke);return I}function ta(v,O,I){var U=v[O];(!(At.call(v,O)&&sa(U,I))||I===void 0&&!(O in v))&&(v[O]=I)}function Vs(v,O){for(var I=v.length;I--;)if(sa(v[I][0],O))return I;return-1}function si(v,O){return v&&Ns(O,oa(O),v)}function na(v,O,I,U,Be,ke,He){var Ke;if(U&&(Ke=ke?U(v,Be,ke,He):U(v)),Ke!==void 0)return Ke;if(!Ci(v))return v;var We=ra(v);if(We){if(Ke=vo(v),!O)return _o(v,Ke)}else{var Xe=wi(v),zt=Xe==f||Xe==m;if(gr(v))return Ts(v,O);if(Xe==b||Xe==a||zt&&!ke){if(rt(v))return ke?v:{};if(Ke=ki(zt?{}:v),!O)return hc(v,si(Ke,v))}else{if(!R[Xe])return ke?v:{};Ke=bo(v,Xe,na,O)}}He||(He=new Mn);var gn=He.get(v);if(gn)return gn;if(He.set(v,Ke),!We)var Ft=I?yo(v):oa(v);return ht(Ft||v,function(gt,Jt){Ft&&(Jt=gt,gt=v[Jt]),ta(Ke,Jt,na(gt,O,I,U,Jt,v,He))}),Ke}function lc(v){return Ci(v)?pn(v):{}}function cc(v,O,I){var U=O(v);return ra(v)?U:It(U,I(v))}function dc(v){return Dt.call(v)}function fo(v){if(!Ci(v)||Co(v))return!1;var O=aa(v)||rt(v)?un:ye;return O.test(mn(v))}function po(v){if(!xo(v))return ve(v);var O=[];for(var I in Object(v))At.call(v,I)&&I!="constructor"&&O.push(I);return O}function Ts(v,O){if(O)return v.slice();var I=new v.constructor(v.length);return v.copy(I),I}function Is(v){var O=new v.constructor(v.byteLength);return new Ie(O).set(new Ie(v)),O}function As(v,O){var I=O?Is(v.buffer):v.buffer;return new v.constructor(I,v.byteOffset,v.byteLength)}function ia(v,O,I){var U=O?I(Yt(v),!0):Yt(v);return kt(U,lt,new v.constructor)}function $s(v){var O=new v.constructor(v.source,fe.exec(v));return O.lastIndex=v.lastIndex,O}function mo(v,O,I){var U=O?I(Ct(v),!0):Ct(v);return kt(U,Fe,new v.constructor)}function uc(v){return An?Object(An.call(v)):{}}function go(v,O){var I=O?Is(v.buffer):v.buffer;return new v.constructor(I,v.byteOffset,v.length)}function _o(v,O){var I=-1,U=v.length;for(O||(O=Array(U));++I<U;)O[I]=v[I];return O}function Ns(v,O,I,U){I||(I={});for(var Be=-1,ke=O.length;++Be<ke;){var He=O[Be],Ke=U?U(I[He],v[He],He,I,v):void 0;ta(I,He,Ke===void 0?v[He]:Ke)}return I}function hc(v,O){return Ns(v,On(v),O)}function yo(v){return cc(v,oa,On)}function Yi(v,O){var I=v.__data__;return ko(O)?I[typeof O=="string"?"string":"hash"]:I.map}function $n(v,O){var I=st(v,O);return fo(I)?I:void 0}var On=j?ft(j,Object):mt,wi=dc;(W&&wi(new W(new ArrayBuffer(1)))!=N||B&&wi(new B)!=g||Y&&wi(Y.resolve())!=w||re&&wi(new re)!=S||Ce&&wi(new Ce)!=x)&&(wi=function(v){var O=Dt.call(v),I=O==b?v.constructor:void 0,U=I?mn(I):void 0;if(U)switch(U){case at:return N;case xt:return g;case sn:return w;case Gt:return S;case qn:return x}return O});function vo(v){var O=v.length,I=v.constructor(O);return O&&typeof v[0]=="string"&&At.call(v,"index")&&(I.index=v.index,I.input=v.input),I}function ki(v){return typeof v.constructor=="function"&&!xo(v)?lc(Ye(v)):{}}function bo(v,O,I,U){var Be=v.constructor;switch(O){case T:return Is(v);case c:case d:return new Be(+v);case N:return As(v,U);case L:case F:case q:case ee:case ie:case K:case se:case me:case J:return go(v,U);case g:return ia(v,U,I);case _:case E:return new Be(v);case C:return $s(v);case S:return mo(v,U,I);case A:return uc(v)}}function wo(v,O){return O=O??s,!!O&&(typeof v=="number"||we.test(v))&&v>-1&&v%1==0&&v<O}function ko(v){var O=typeof v;return O=="string"||O=="number"||O=="symbol"||O=="boolean"?v!=="__proto__":v===null}function Co(v){return!!Nt&&Nt in v}function xo(v){var O=v&&v.constructor,I=typeof O=="function"&&O.prototype||bt;return v===I}function mn(v){if(v!=null){try{return Ot.call(v)}catch{}try{return v+""}catch{}}return""}function So(v){return na(v,!0,!0)}function sa(v,O){return v===O||v!==v&&O!==O}function pr(v){return fc(v)&&At.call(v,"callee")&&(!In.call(v,"callee")||Dt.call(v)==a)}var ra=Array.isArray;function mr(v){return v!=null&&Mo(v.length)&&!aa(v)}function fc(v){return Oo(v)&&mr(v)}var gr=le||ct;function aa(v){var O=Ci(v)?Dt.call(v):"";return O==f||O==m}function Mo(v){return typeof v=="number"&&v>-1&&v%1==0&&v<=s}function Ci(v){var O=typeof v;return!!v&&(O=="object"||O=="function")}function Oo(v){return!!v&&typeof v=="object"}function oa(v){return mr(v)?fr(v):po(v)}function mt(){return[]}function ct(){return!1}t.exports=So})(O1,O1.exports);const Qo=O1.exports,Lce="",t8={props:{actions:{type:Array,default:()=>[],required:!0},numberOfExpandedActions:{type:Number,default:2,required:!1}},data(){return{action:Qo(this.actions),internalNumberOfExpandedActions:this.numberOfExpandedActions,itsBeingShown:!1}},methods:{toggleCollapseState(){this.internalNumberOfExpandedActions=this.itsBeingShown?this.numberOfExpandedActions:this.action.length,this.itsBeingShown=!this.itsBeingShown,this.$emit("expanded",this.itsBeingShown)},handleClick(t){t.disabled||this.$emit("action-clicked",t)}}},n8={class:"action-list"},i8={class:"action-list--right"},s8=["onClick"];function r8(t,e,n,i,s,a){return r.openBlock(),r.createElementBlock("span",n8,[r.createElementVNode("div",i8,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.actions,(o,c)=>(r.openBlock(),r.createElementBlock("div",{key:o.title},[r.createVNode(r.Transition,{name:"action-list__slide-fade"},{default:r.withCtx(()=>[c<=s.internalNumberOfExpandedActions-1?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass({"action-list__item":c===0,"action-list__item--left-bordered":c!==0,"action-list__item--disabled":o.disabled}),onClick:r.withModifiers(d=>a.handleClick(o),["stop"])},[r.renderSlot(t.$slots,"action",{list:o},void 0,!0)],10,s8)):r.createCommentVNode("",!0)]),_:2},1024)]))),128)),n.actions.length>n.numberOfExpandedActions?(r.openBlock(),r.createElementBlock("div",{key:0,class:"action-list__item--left-bordered",onClick:e[0]||(e[0]=r.withModifiers((...o)=>a.toggleCollapseState&&a.toggleCollapseState(...o),["stop"]))},[r.renderSlot(t.$slots,"action-trigger",{},()=>[r.createTextVNode(r.toDisplayString(s.itsBeingShown?"Menos a\xE7\xF5es":"Mais a\xE7\xF5es"),1)],!0)])):r.createCommentVNode("",!0)])])}const a8=te(t8,[["render",r8],["__scopeId","data-v-8ad639ef"]]),Fce="",o8={components:{CdsIcon:Le},props:{variant:{type:String,default:"info",required:!1},text:{type:String,default:"T\xEDtulo do AlertCard",required:!1},dismissible:{type:Boolean,default:!1,required:!1}},data(){return{icon:"warning-outline"}},watch:{variant:{handler(t){switch(t){case"info":this.icon="info-outline";break;case"success":this.icon="check-circle-outline";break;case"warning":this.icon="warning-outline";break;case"danger":this.icon="alert-outline";break;default:this.icon="alert-outline";break}},immediate:!0}},methods:{close(){this.$emit("close")}}},l8={id:"alert"},c8={class:"alert__body"},d8={key:0,class:"alert__text"},u8={key:1,class:"alert__text"};function h8(t,e,n,i,s,a){const o=r.resolveComponent("cds-icon");return r.openBlock(),r.createElementBlock("span",l8,[r.createElementVNode("div",{class:r.normalizeClass(["alert",{"alert__container--info":n.variant==="info","alert__container--success":n.variant==="success","alert__container--warning":n.variant==="warning","alert__container--danger":n.variant==="danger"}])},[r.createElementVNode("div",c8,[r.createElementVNode("div",null,[r.createVNode(o,{name:s.icon,class:r.normalizeClass({"alert__icon--info":n.variant==="info","alert__icon--success":n.variant==="success","alert__icon--warning":n.variant==="warning","alert__icon--danger":n.variant==="danger"})},null,8,["name","class"])]),n.text.length>0?(r.openBlock(),r.createElementBlock("span",d8,r.toDisplayString(n.text),1)):(r.openBlock(),r.createElementBlock("span",u8,[r.renderSlot(t.$slots,"default",{},void 0,!0)]))]),n.dismissible?(r.openBlock(),r.createElementBlock("div",{key:0,class:"alert__close-button",onClick:e[0]||(e[0]=(...c)=>a.close&&a.close(...c))},[r.createVNode(o,{name:"x-outline",class:r.normalizeClass({"alert__icon--info":n.variant==="info","alert__icon--success":n.variant==="success","alert__icon--warning":n.variant==="warning","alert__icon--danger":n.variant==="danger"})},null,8,["class"])])):r.createCommentVNode("",!0)],2)])}const f8=te(o8,[["render",h8],["__scopeId","data-v-f6827c7b"]]),Rce="",p8={components:{CdsIcon:Le},props:{variant:{type:String,default:"info"},title:{type:String,default:"T\xEDtulo do AlertCard"},subTitle:{type:String,default:"Subt\xEDtulo do AlertCard"},withIcon:{type:Boolean,default:!1},value:{type:Boolean,default:!1}},data(){return{isSelected:this.value}},computed:{dynamicIcon(){switch(this.variant){case"info":return"info-outline";case"warning":return"warning-outline";case"danger":return"alert-outline";default:return"info-outline"}},alertCardContainerSelected(){let t="";if(this.muted)t="alert-card__container--muted";else if(this.selectable&&(t="alert-card__container--selectable"),this.isSelected)return`${t} alert-card__container--selected-${this.variant}`;return t},iconClass(){return`icon__container--${this.variant} ${this.noTitle?"align-self-center":""}`}}},m8={id:"alert-card"},g8={class:"alert-card__content-container"};function _8(t,e,n,i,s,a){const o=r.resolveComponent("cds-icon");return r.openBlock(),r.createElementBlock("span",m8,[r.createElementVNode("div",{class:r.normalizeClass(["alert-card__container",a.alertCardContainerSelected])},[n.withIcon?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(a.iconClass)},[r.createVNode(o,{height:"24",width:"24",name:a.dynamicIcon,class:r.normalizeClass(`icon--${n.variant}`)},null,8,["name","class"])],2)):r.createCommentVNode("",!0),r.createElementVNode("div",g8,[t.noTitle?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(`alert-card__title--${n.variant}`)},r.toDisplayString(n.title),3)),r.createElementVNode("span",{class:r.normalizeClass(["alert-card__subtitle",`${t.noTitle?"mt-0":"mt-2"}`])},[r.renderSlot(t.$slots,"subTitle-slot",{},()=>[r.createTextVNode(r.toDisplayString(n.subTitle),1)],!0)],2),r.renderSlot(t.$slots,"content-slot",{class:"alert-card__content"},void 0,!0)])],2)])}const y8=te(p8,[["render",_8],["__scopeId","data-v-c55918a6"]]),Hce="",D1={props:{text:{type:String,default:null},vertical:{type:Boolean,default:!1},width:{type:[String,Number],default:null},dimmed:{type:Boolean,default:!1},light:{type:Boolean,default:!1},inline:{type:Boolean,default:!1}},computed:{sanitizedWidth(){return this.width?`${this.width}px`:"100%"}}},nm=()=>{r.useCssVars(t=>({"6f44ee3e":t.sanitizedWidth}))},im=D1.setup;D1.setup=im?(t,e)=>(nm(),im(t,e)):nm;const v8=D1,b8={key:0};function w8(t,e,n,i,s,a){return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(["divider__container",{"divider__container--inline":n.inline}])},[n.vertical?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",b8,r.toDisplayString(n.text),1)),r.createElementVNode("hr",{class:r.normalizeClass(["divider",{"divider--vertical":n.vertical,"divider--light":n.light,"divider--dimmed":n.dimmed}])},null,2)],2)}const Nc=te(v8,[["render",w8]]),Wce="",k8={props:{direction:{type:String,default:"bottom"},light:{type:Boolean,default:!1},size:{type:String,default:"md"},animate:{type:Boolean,default:!1}},data(){return{innerDirection:this.direction}},watch:{direction:{handler(){this.animationResolver()},immediate:!0}},methods:{animationResolver(){if(!!this.animate)switch(this.innerDirection){case"top":this.innerDirection="bottom";break;case"bottom":this.innerDirection="top";break;case"right":this.innerDirection="left";break;case"left":this.innerDirection="right";break;default:this.innerDirection="bottom"}}}};function C8(t,e,n,i,s,a){return r.openBlock(),r.createElementBlock("div",{ref:"chevron",class:r.normalizeClass({"chevron--top":s.innerDirection==="top","chevron--right":s.innerDirection==="right","chevron--bottom":s.innerDirection==="bottom","chevron--left":s.innerDirection==="left","chevron--sm":n.size==="sm","chevron--md":n.size==="md","chevron--lg":n.size==="lg","chevron--light":n.light===!0})},null,2)}const Er=te(k8,[["render",C8]]),Yce="",x8={props:{clickable:{type:Boolean,default:!1}}};function S8(t,e,n,i,s,a){return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass({"clickable__container--clickable":n.clickable,"clickable__container--not-clickable":!n.clickable}),onClick:e[0]||(e[0]=o=>t.$emit("cds-click",!0))},[r.renderSlot(t.$slots,"default")],2)}const ms=te(x8,[["render",S8]]),jce="",M8={props:{maxHeight:{type:String,default:"300px",required:!0},autoHeight:{type:Boolean,default:!1},horizontalScroll:{type:Boolean,default:!1}}},O8={class:"scrollable"};function D8(t,e,n,i,s,a){return r.openBlock(),r.createElementBlock("div",O8,[r.createElementVNode("div",{class:r.normalizeClass(["scrollable__container",{"scrollable__container--horizontal":n.horizontalScroll}]),style:r.normalizeStyle({"max-height":n.maxHeight,height:n.autoHeight?"auto":n.maxHeight})},[r.renderSlot(t.$slots,"default",{},void 0,!0)],6)])}const zc=te(M8,[["render",D8],["__scopeId","data-v-1a076637"]]);var sm={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(cn,function(){var n="__v-click-outside",i=typeof window<"u",s=typeof navigator<"u",a=i&&("ontouchstart"in window||s&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"],o=function(f){var m=f.event,g=f.handler;(0,f.middleware)(m)&&g(m)},c=function(f,m){var g=function(E){var A=typeof E=="function";if(!A&&typeof E!="object")throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:A?E:E.handler,middleware:E.middleware||function(x){return x},events:E.events||a,isActive:E.isActive!==!1,detectIframe:E.detectIframe!==!1,capture:Boolean(E.capture)}}(m.value),_=g.handler,b=g.middleware,w=g.detectIframe,C=g.capture;if(g.isActive){if(f[n]=g.events.map(function(E){return{event:E,srcTarget:document.documentElement,handler:function(A){return function(x){var T=x.el,N=x.event,L=x.handler,F=x.middleware,q=N.path||N.composedPath&&N.composedPath();(q?q.indexOf(T)<0:!T.contains(N.target))&&o({event:N,handler:L,middleware:F})}({el:f,event:A,handler:_,middleware:b})},capture:C}}),w){var S={event:"blur",srcTarget:window,handler:function(E){return function(A){var x=A.el,T=A.event,N=A.handler,L=A.middleware;setTimeout(function(){var F=document.activeElement;F&&F.tagName==="IFRAME"&&!x.contains(F)&&o({event:T,handler:N,middleware:L})},0)}({el:f,event:E,handler:_,middleware:b})},capture:C};f[n]=[].concat(f[n],[S])}f[n].forEach(function(E){var A=E.event,x=E.srcTarget,T=E.handler;return setTimeout(function(){f[n]&&x.addEventListener(A,T,C)},0)})}},d=function(f){(f[n]||[]).forEach(function(m){return m.srcTarget.removeEventListener(m.event,m.handler,m.capture)}),delete f[n]},h=i?{beforeMount:c,updated:function(f,m){var g=m.value,_=m.oldValue;JSON.stringify(g)!==JSON.stringify(_)&&(d(f),c(f,{value:g}))},unmounted:d}:{};return{install:function(f){f.directive("click-outside",h)},directive:h}})})(sm);const gs=sm.exports,E8={ESC:27};function Ti(t=8){let e="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i=n.length;for(let s=0;s<t;s+=1)e+=n.charAt(Math.floor(Math.random()*i));return e}const B8=["sm","md","lg"],rm=["thin","default","wide"],Uce="",E1={components:{CdsScrollable:zc},directives:{"on-click-outside":gs.directive},props:{modelValue:{type:Boolean,default:!1},width:{type:[String,Number],default:250},fitContentWidth:{type:Boolean,default:!1},height:{type:[String,Number],default:200},targetId:{type:String,default:""},rightAligned:{type:Boolean,default:!1},verticalFluid:{type:Boolean,default:!1}},data(){return{id:"",target:"",popover:"",popperInstance:null,uniqueKey:Ti()}},computed:{variationPlacement(){return this.rightAligned?"end":"start"},popoverWidth(){return this.fitContentWidth?"fit-content":`${this.width}px`},popoverHeight(){return this.verticalFluid?"fit-content":`${this.height}px`}},watch:{modelValue(t){t?this.show():this.hide()},targetId(t){this.setPopper(t)}},mounted(){this.id=`cds-popover-${this.uniqueKey}`,this.setPopper(this.targetId)},methods:{setPopper(t){this.$nextTick(()=>{this.target=document.querySelector(`[id='${t}']`),this.popover=document.querySelector(`#${this.id}`),this.popperInstance=Go(this.target,this.popover,{placement:`bottom-${this.variationPlacement}`,modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"flip",options:{fallbackPlacements:[`top-${this.variationPlacement}`]}}]})})},show(){this.popover.setAttribute("data-show",""),this.popperInstance.setOptions(t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!0}]})),this.$emit("update:modelValue",!0),this.popperInstance.update()},hide(){this.$nextTick(()=>{this.popover.removeAttribute("data-show"),this.popperInstance.setOptions(t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!1}]})),this.$emit("update:modelValue",!1)})}}},am=()=>{r.useCssVars(t=>({"4ffaa6dc":t.popoverHeight,"49dd78fb":t.popoverWidth}))},om=E1.setup;E1.setup=om?(t,e)=>(am(),om(t,e)):am;const V8=E1,T8=["id"];function I8(t,e,n,i,s,a){const o=r.resolveComponent("cds-scrollable"),c=r.resolveDirective("on-click-outside");return r.withDirectives((r.openBlock(),r.createElementBlock("div",{id:t.$attrs.id||s.id,class:"popover"},[n.verticalFluid?r.renderSlot(t.$slots,"default",{key:1},void 0,!0):(r.openBlock(),r.createBlock(o,{key:0,"max-height":`${a.popoverHeight}`},{default:r.withCtx(()=>[r.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3},8,["max-height"]))],8,T8)),[[c,a.hide]])}const Pc=te(V8,[["render",I8],["__scopeId","data-v-156cb3df"]]),qce="",A8={components:{CdsChevron:Er,CdsClickable:ms,CdsPopover:Pc},props:{variant:{type:String,default:"green"},size:{type:String,default:"md"},src:{type:String,default:""},initials:{type:String,default:null},name:{type:String,default:null},clickable:{type:Boolean,default:!1}},data(){return{showPopover:!1}},computed:{computedInitials(){return this.initials?this.initials:this.name?this.name.replace(/(\S+)(\s*)/gi,t=>t[0].toUpperCase()).slice(0,2):"UND"}},methods:{toggleDropdown(){!this.clickable||(this.showPopover=!this.showPopover)}}},$8={class:"avatar__container"},N8=["src","alt"];function z8(t,e,n,i,s,a){const o=r.resolveComponent("cds-chevron"),c=r.resolveComponent("cds-popover"),d=r.resolveComponent("cds-clickable");return r.openBlock(),r.createBlock(d,{id:"avatar-dropdown",clickable:n.clickable,onClick:a.toggleDropdown},{default:r.withCtx(()=>[r.createElementVNode("div",$8,[r.createElementVNode("div",{class:r.normalizeClass(`avatar__container--${n.variant} avatar__container--${n.size}`)},[n.src?(r.openBlock(),r.createElementBlock("img",{key:1,src:n.src,alt:n.name,class:r.normalizeClass(`avatar__image--${n.size}`)},null,10,N8)):(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(`avatar__initials--${n.size}`)},r.toDisplayString(a.computedInitials),3))],2),n.clickable?(r.openBlock(),r.createBlock(o,{key:0,size:"sm",class:"avatar__chevron",direction:"bottom"})):r.createCommentVNode("",!0)]),r.createVNode(c,{modelValue:s.showPopover,"onUpdate:modelValue":e[0]||(e[0]=h=>s.showPopover=h),"target-id":"avatar-dropdown",width:"180","right-aligned":"","vertical-fluid":""},{default:r.withCtx(()=>[r.renderSlot(t.$slots,"dropdown-content")]),_:3},8,["modelValue"])]),_:3},8,["clickable","onClick"])}const el=te(A8,[["render",z8]]),Gce="",B1={components:{CdsIcon:Le,CdsAvatar:el,CdsDivider:Nc,CdsClickable:ms},props:{hideSettings:{type:Boolean,default:!1},hideHelp:{type:Boolean,default:!1},hideNotification:{type:Boolean,default:!1},hideAppSwitcher:{type:Boolean,default:!1},hideLogout:{type:Boolean,default:!1},sysvaleBrand:{type:Boolean,default:!1},csBrand:{type:Boolean,default:!1},userName:{type:String,default:null},userDescription:{type:String,default:null},clickable:{type:Boolean,default:!1}},computed:{hasAppSlot(){return Object.keys(this.$slots).some(t=>t==="app-info")},hasUserInfoSlot(){return Object.keys(this.$slots).some(t=>t==="user-info")},gridTemplateColumnsResolver(){return this.hasAppSlot?"1fr 1fr 1fr":"1fr 1fr"},gridTemplateAreasResolver(){return this.hasAppSlot?"'app logo icons'":"'logo icons'"},logoAlignmentResolver(){return this.hasAppSlot?"center":"flex-start"}},methods:{handleClick(t){this.$emit(`${t}-click`,!0)}}},lm=()=>{r.useCssVars(t=>({"244900c8":t.gridTemplateAreasResolver,"5097391f":t.gridTemplateColumnsResolver,a82bbc8c:t.logoAlignmentResolver}))},cm=B1.setup;B1.setup=cm?(t,e)=>(lm(),cm(t,e)):lm;const P8=B1,L8={class:"app-bar__container"},F8={key:0,class:"app-bar__logo--cs",src:"https://framerusercontent.com/images/LqVj4DBbWvH0zr04qwYMlSPvEBY.svg",alt:"logo do Cidade Saud\xE1vel"},R8={key:1,class:"app-bar__logo--sv",src:"https://framerusercontent.com/images/djNYjj5IdpsZL50hF8HEDt5Wbg.svg",alt:"logo da Sysvale"},H8={class:"app-bar__icons-grid"},W8={key:4,class:"user-info__avatar-container"},Y8={class:"user-info__container"},j8={class:"user-info__name"},U8={class:"user-info__description"},q8={key:5,class:"app-switcher__container"},G8={key:2,class:"app-switcher"};function K8(t,e,n,i,s,a){const o=r.resolveComponent("cds-icon"),c=r.resolveComponent("cds-clickable"),d=r.resolveComponent("cds-avatar"),h=r.resolveComponent("cds-divider");return r.openBlock(),r.createElementBlock("div",L8,[n.csBrand?(r.openBlock(),r.createElementBlock("img",F8)):n.sysvaleBrand?(r.openBlock(),r.createElementBlock("img",R8)):r.createCommentVNode("",!0),r.renderSlot(t.$slots,"brand",{class:"app-bar__logo"}),r.createElementVNode("div",H8,[n.hideNotification?r.createCommentVNode("",!0):(r.openBlock(),r.createBlock(c,{key:0,clickable:"",onClick:e[0]||(e[0]=f=>a.handleClick("notification"))},{default:r.withCtx(()=>[r.createVNode(o,{height:"24",width:"24",light:"",name:"notification-bell-outline"})]),_:1})),n.hideHelp?r.createCommentVNode("",!0):(r.openBlock(),r.createBlock(c,{key:1,clickable:"",onClick:e[1]||(e[1]=f=>a.handleClick("help"))},{default:r.withCtx(()=>[r.createVNode(o,{height:"24",width:"24",light:"",name:"help-outline"})]),_:1})),n.hideSettings?r.createCommentVNode("",!0):(r.openBlock(),r.createBlock(c,{key:2,clickable:"",onClick:e[2]||(e[2]=f=>a.handleClick("settings"))},{default:r.withCtx(()=>[r.createVNode(o,{height:"24",width:"24",light:"",name:"settings-outline"})]),_:1})),a.hasUserInfoSlot?r.renderSlot(t.$slots,"user-info",{key:3,class:"user-info__container"}):(r.openBlock(),r.createElementBlock("div",W8,[r.createElementVNode("div",Y8,[r.createElementVNode("span",j8,r.toDisplayString(n.userName),1),r.createElementVNode("span",U8,r.toDisplayString(n.userDescription),1)]),r.createVNode(d,{name:n.userName,variant:"white",size:"md",clickable:n.clickable,onClick:e[3]||(e[3]=f=>a.handleClick("avatar"))},r.createSlots({_:2},[n.clickable?{name:"dropdown-content",fn:r.withCtx(()=>[r.renderSlot(t.$slots,"dropdown-content")]),key:"0"}:void 0]),1032,["name","clickable"])])),n.hideAppSwitcher?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",q8,[r.createVNode(h,{vertical:"",width:"30"}),r.createVNode(c,{clickable:"",onClick:e[4]||(e[4]=f=>a.handleClick("app-switcher"))},{default:r.withCtx(()=>[r.createVNode(o,{height:"24",width:"24",light:"",name:"grid-outline"})]),_:1})])),n.hideLogout?r.createCommentVNode("",!0):(r.openBlock(),r.createBlock(c,{key:6,clickable:"",onClick:e[5]||(e[5]=f=>a.handleClick("logout"))},{default:r.withCtx(()=>[r.createVNode(o,{height:"24",width:"24",light:"",name:"logout-outline"})]),_:1}))]),a.hasAppSlot?(r.openBlock(),r.createElementBlock("div",G8,[r.renderSlot(t.$slots,"app-info")])):r.createCommentVNode("",!0)])}const Z8=te(P8,[["render",K8]]),Kce="",V1={props:{width:{type:[String,Number],default:"20"}},computed:{widthResolver(){return`${this.width}px`}}},dm=()=>{r.useCssVars(t=>({13528900:t.widthResolver}))},um=V1.setup;V1.setup=um?(t,e)=>(dm(),um(t,e)):dm;const X8=V1,J8={class:"truncate__container"};function Q8(t,e,n,i,s,a){return r.openBlock(),r.createElementBlock("div",J8,[r.renderSlot(t.$slots,"default")])}const hm=te(X8,[["render",Q8]]),Zce="",ew={props:{position:{type:String,default:"top"},text:{type:String,default:null},slim:{type:Boolean,default:!1}},computed:{content(){return this.slim?`<span style="font-size: 11px; padding: 0px;">${this.text}</span>`:`<span style="font-size: 13px; padding: 0px 2px">${this.text}</span>`}}},tw=["data-tippy-placement","data-tippy-content"];function nw(t,e,n,i,s,a){const o=r.resolveDirective("cdstip");return r.withDirectives((r.openBlock(),r.createElementBlock("div",{class:"tooltip","data-tippy-placement":n.position,"data-tippy-content":a.content,"data-tippy-allowHTML":!0},[r.renderSlot(t.$slots,"default")],8,tw)),[[o,n.text]])}const Lc=te(ew,[["render",nw]]),Xce="",iw={components:{CdsAvatar:el,CdsClickable:ms,CdsPopover:Pc,CdsTruncate:hm,CdsTooltip:Lc},props:{size:{type:String,default:"md"},avatars:{type:Array,default:()=>[]},maxCount:{type:Number,default:4}},data(){return{listAvatars:this.avatars.slice(0,this.maxCount),popoverAvatars:this.avatars.slice(this.maxCount,this.avatars.length),showPopover:!1}},computed:{showAvatarCounter(){return this.maxCount<this.avatars.length},avatarCounterText(){return`+ ${this.avatars.length-this.maxCount}`}}},sw={class:"avatar-group__container"},rw={class:"avatar__name"};function aw(t,e,n,i,s,a){const o=r.resolveComponent("cds-avatar"),c=r.resolveComponent("cds-tooltip"),d=r.resolveComponent("cds-clickable"),h=r.resolveComponent("cds-truncate"),f=r.resolveComponent("cds-popover");return r.openBlock(),r.createElementBlock("div",sw,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(s.listAvatars,(m,g)=>(r.openBlock(),r.createBlock(c,{key:g,position:"bottom",text:m.name,slim:""},{default:r.withCtx(()=>[r.createVNode(o,r.mergeProps({ref_for:!0},m,{size:n.size,clickable:!1}),null,16,["size"])]),_:2},1032,["text"]))),128)),a.showAvatarCounter?(r.openBlock(),r.createBlock(d,{key:0,id:"avatar-counter",clickable:"",onClick:e[0]||(e[0]=m=>s.showPopover=!0)},{default:r.withCtx(()=>[r.createVNode(o,{size:n.size,clickable:!1,name:a.avatarCounterText,variant:"gray",class:"avatar-group__counter"},null,8,["size","name"])]),_:1})):r.createCommentVNode("",!0),r.createVNode(f,{modelValue:s.showPopover,"onUpdate:modelValue":e[1]||(e[1]=m=>s.showPopover=m),"target-id":"avatar-counter",width:"180","right-aligned":"","vertical-fluid":""},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(s.popoverAvatars,(m,g)=>(r.openBlock(),r.createElementBlock("div",{key:g,class:"avatar__data"},[r.createVNode(o,r.mergeProps({ref_for:!0},m,{size:"sm",clickable:!1}),null,16),r.createVNode(h,{width:"180"},{default:r.withCtx(()=>[r.createElementVNode("span",rw,r.toDisplayString(m.name),1)]),_:2},1024)]))),128))]),_:1},8,["modelValue"])])}const ow=te(iw,[["render",aw]]),Jce="",lw={components:{CdsClickable:ms},props:{variant:{type:String,default:"gray"},size:{type:String,default:"md"},clickable:{type:Boolean,default:!1}},data(){return{predefinedColors:["green","teal","turquoise","blue","indigo","violet","pink","red","orange","amber","gray","white"],predefinedSizes:["sm","md","lg"]}},computed:{predefinedStyle(){let t="";return this.predefinedColors.indexOf(this.variant)>-1&&(t+=`badge--${this.variant}`),this.predefinedSizes.indexOf(this.size)>-1&&(t+=` badge--${this.size}`),t}}};function cw(t,e,n,i,s,a){const o=r.resolveComponent("cds-clickable");return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(["badge__container",a.predefinedStyle])},[r.createElementVNode("div",{class:r.normalizeClass({"badge__content--sm":n.size==="sm","badge__content--md":n.size==="md","badge__content--lg":n.size==="lg"})},[n.clickable?(r.openBlock(),r.createBlock(o,{key:0,onClick:e[0]||(e[0]=c=>t.$emit("click",!0))},{default:r.withCtx(()=>[r.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3})):r.renderSlot(t.$slots,"default",{key:1},void 0,!0)],2)],2)}const dw=te(lw,[["render",cw],["__scopeId","data-v-a2c0fc86"]]);/*!
21
+ `,"2) content: () => element.cloneNode(true)"].join(" "))}var c=s.reduce(function(d,h){var f=h&&U7(h,i);return f&&d.push(f),d},[]);return Zo(t)?c[0]:c}Jo.defaultProps=Qn,Jo.setDefaultProps=H7,Jo.currentInput=Ji,Object.assign({},_p,{effect:function(e){var n=e.state,i={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,i.popper),n.styles=i,n.elements.arrow&&Object.assign(n.elements.arrow.style,i.arrow)}}),Jo.setDefaultProps({render:Qp});const $ce="",Nce="",Sa=(t,e)=>{setTimeout(()=>{const n=()=>{const a=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);return`${a()}-${a()}`};if(e.value===null||e.value===void 0)return;const i=n();t.setAttribute("data-tippy",i);const s=`${t.tagName.toLowerCase()}[data-tippy="${i}"]`;Jo(s,{content:e.value,arrow:!1,animation:"shift-away-subtle",delay:100})},500)},zce="",M1={directives:{cdstip:Sa},components:{CdsSpinner:ya},props:{variant:{type:String,default:"green"},size:{type:String,default:"md"},block:{type:Boolean,default:!1},text:{type:String,default:"Lorem ipsum"},disabled:{type:Boolean,default:!1},tooltipText:{type:String,default:null},secondary:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},data(){return{predefinedColors:["green","teal","turquoise","blue","indigo","violet","pink","red","orange","amber","dark"],predefinedSizes:["sm","md","lg"]}},computed:{widthResolver(){return this.block?"100%":"max-content"},tooltipDisabled(){return this.disabled&&this.tooltipText!==""?this.tooltipText:null},predefinedColor(){return this.secondary?"button--secondary":this.predefinedColors.indexOf(this.variant)>-1?`button--${this.variant}`:"button--green"},predefinedSize(){return this.predefinedSizes.indexOf(this.size)>-1?`button-size--${this.size}`:"button-size--md"},computedStyle(){const t=this.disabled?"--disabled":"--active";return`${this.predefinedColor}${t} ${this.predefinedSize}`}},methods:{clickHandler(){this.disabled||this.$emit("button-click",!0)}}},em=()=>{r.useCssVars(t=>({"3a67bade":t.widthResolver}))},tm=M1.setup;M1.setup=tm?(t,e)=>(em(),tm(t,e)):em;const q7=M1;function G7(t,e,n,i,s,a){const o=r.resolveComponent("cds-spinner"),c=r.resolveDirective("cdstip");return r.withDirectives((r.openBlock(),r.createElementBlock("button",{class:r.normalizeClass(["button__container",a.computedStyle]),onClick:e[0]||(e[0]=r.withModifiers((...d)=>a.clickHandler&&a.clickHandler(...d),["stop"]))},[n.loading?(r.openBlock(),r.createBlock(o,{key:0,variant:"white",size:"sm",class:"button__loader"})):r.createCommentVNode("",!0),r.renderSlot(t.$slots,"default",{},()=>[r.createTextVNode(r.toDisplayString(n.text),1)],!0)],2)),[[c,a.tooltipDisabled]])}const ps=te(q7,[["render",G7],["__scopeId","data-v-0555dba6"]]),Pce="",K7={components:{CdsIcon:Le,CdsButton:ps},props:{show:{type:Boolean,default:!1,required:!1},float:{type:Boolean,default:!1},dismissible:{type:Boolean,default:!1},light:{type:Boolean,default:!1},actions:{type:Array,default:()=>[]}},data(){return{internalShow:!1}},computed:{hasActionSlot(){return Object.keys(this.$slots).some(t=>t==="actions")}},watch:{show(t){this.internalShow=t}},mounted(){this.internalShow=this.show},methods:{handleClose(){this.internalShow=!1,this.$emit("close",!0)}}},Z7={key:0,class:"toolbar__container"},X7={key:0,class:"toolbar__buttons-container"},J7={key:1,class:"toolbar__buttons-container"};function Q7(t,e,n,i,s,a){const o=r.resolveComponent("cds-button"),c=r.resolveComponent("cds-icon");return s.internalShow?(r.openBlock(),r.createElementBlock("div",Z7,[r.createElementVNode("div",{class:r.normalizeClass({"toolbar--fixed":n.float,"toolbar--light":n.light,"toolbar--dark":!n.light})},[r.renderSlot(t.$slots,"description",{},void 0,!0),a.hasActionSlot?(r.openBlock(),r.createElementBlock("div",X7,[r.renderSlot(t.$slots,"actions",{},void 0,!0)])):(r.openBlock(),r.createElementBlock("div",J7,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.actions,(d,h)=>(r.openBlock(),r.createElementBlock("div",{key:h,class:"toolbar__button"},[r.createVNode(o,{id:`btn-${h+1}`,secondary:n.light,variant:"dark",onClick:f=>t.$emit("click",d)},{default:r.withCtx(()=>[r.createElementVNode("span",null,r.toDisplayString(d),1)]),_:2},1032,["id","secondary","onClick"])]))),128))])),n.dismissible?(r.openBlock(),r.createElementBlock("div",{key:2,class:r.normalizeClass(n.light?"toolbar__icon--light":"toolbar__icon--dark"),onClick:e[0]||(e[0]=(...d)=>a.handleClose&&a.handleClose(...d))},[r.createVNode(c,{name:"x-outline",height:"20",width:"20"})],2)):r.createCommentVNode("",!0)],2)])):r.createCommentVNode("",!0)}const e8=te(K7,[["render",Q7],["__scopeId","data-v-72b9ba8b"]]);var cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},O1={exports:{}};(function(t,e){var n=200,i="__lodash_hash_undefined__",s=9007199254740991,a="[object Arguments]",o="[object Array]",c="[object Boolean]",d="[object Date]",h="[object Error]",f="[object Function]",m="[object GeneratorFunction]",g="[object Map]",_="[object Number]",b="[object Object]",w="[object Promise]",C="[object RegExp]",S="[object Set]",E="[object String]",A="[object Symbol]",x="[object WeakMap]",T="[object ArrayBuffer]",N="[object DataView]",L="[object Float32Array]",F="[object Float64Array]",q="[object Int8Array]",ee="[object Int16Array]",ie="[object Int32Array]",K="[object Uint8Array]",se="[object Uint8ClampedArray]",me="[object Uint16Array]",J="[object Uint32Array]",he=/[\\^$.*+?()[\]{}|]/g,fe=/\w*$/,ye=/^\[object .+?Constructor\]$/,we=/^(?:0|[1-9]\d*)$/,R={};R[a]=R[o]=R[T]=R[N]=R[c]=R[d]=R[L]=R[F]=R[q]=R[ee]=R[ie]=R[g]=R[_]=R[b]=R[C]=R[S]=R[E]=R[A]=R[K]=R[se]=R[me]=R[J]=!0,R[h]=R[f]=R[x]=!1;var pe=typeof cn=="object"&&cn&&cn.Object===Object&&cn,oe=typeof self=="object"&&self&&self.Object===Object&&self,Ee=pe||oe||Function("return this")(),Me=e&&!e.nodeType&&e,ge=Me&&!0&&t&&!t.nodeType&&t,Ne=ge&&ge.exports===Me;function lt(v,O){return v.set(O[0],O[1]),v}function Fe(v,O){return v.add(O),v}function ht(v,O){for(var I=-1,U=v?v.length:0;++I<U&&O(v[I],I,v)!==!1;);return v}function It(v,O){for(var I=-1,U=O.length,Be=v.length;++I<U;)v[Be+I]=O[I];return v}function kt(v,O,I,U){var Be=-1,ke=v?v.length:0;for(U&&ke&&(I=v[++Be]);++Be<ke;)I=O(I,v[Be],Be,v);return I}function tt(v,O){for(var I=-1,U=Array(v);++I<v;)U[I]=O(I);return U}function st(v,O){return v==null?void 0:v[O]}function rt(v){var O=!1;if(v!=null&&typeof v.toString!="function")try{O=!!(v+"")}catch{}return O}function Yt(v){var O=-1,I=Array(v.size);return v.forEach(function(U,Be){I[++O]=[Be,U]}),I}function ft(v,O){return function(I){return v(O(I))}}function Ct(v){var O=-1,I=Array(v.size);return v.forEach(function(U){I[++O]=U}),I}var tn=Array.prototype,nn=Function.prototype,bt=Object.prototype,nt=Ee["__core-js_shared__"],Nt=function(){var v=/[^.]+$/.exec(nt&&nt.keys&&nt.keys.IE_PROTO||"");return v?"Symbol(src)_1."+v:""}(),Ot=nn.toString,At=bt.hasOwnProperty,Dt=bt.toString,un=RegExp("^"+Ot.call(At).replace(he,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$t=Ne?Ee.Buffer:void 0,ne=Ee.Symbol,Ie=Ee.Uint8Array,Ye=ft(Object.getPrototypeOf,Object),pn=Object.create,In=bt.propertyIsEnumerable,Un=tn.splice,j=Object.getOwnPropertySymbols,le=$t?$t.isBuffer:void 0,ve=ft(Object.keys,Object),W=$n(Ee,"DataView"),B=$n(Ee,"Map"),Y=$n(Ee,"Promise"),re=$n(Ee,"Set"),Ce=$n(Ee,"WeakMap"),je=$n(Object,"create"),at=mn(W),xt=mn(B),sn=mn(Y),Gt=mn(re),qn=mn(Ce),pt=ne?ne.prototype:void 0,An=pt?pt.valueOf:void 0;function Sn(v){var O=-1,I=v?v.length:0;for(this.clear();++O<I;){var U=v[O];this.set(U[0],U[1])}}function ii(){this.__data__=je?je(null):{}}function Wi(v){return this.has(v)&&delete this.__data__[v]}function Bs(v){var O=this.__data__;if(je){var I=O[v];return I===i?void 0:I}return At.call(O,v)?O[v]:void 0}function ho(v){var O=this.__data__;return je?O[v]!==void 0:At.call(O,v)}function ea(v,O){var I=this.__data__;return I[v]=je&&O===void 0?i:O,this}Sn.prototype.clear=ii,Sn.prototype.delete=Wi,Sn.prototype.get=Bs,Sn.prototype.has=ho,Sn.prototype.set=ea;function rn(v){var O=-1,I=v?v.length:0;for(this.clear();++O<I;){var U=v[O];this.set(U[0],U[1])}}function Kl(){this.__data__=[]}function Zl(v){var O=this.__data__,I=Vs(O,v);if(I<0)return!1;var U=O.length-1;return I==U?O.pop():Un.call(O,I,1),!0}function Xl(v){var O=this.__data__,I=Vs(O,v);return I<0?void 0:O[I][1]}function Jl(v){return Vs(this.__data__,v)>-1}function Ql(v,O){var I=this.__data__,U=Vs(I,v);return U<0?I.push([v,O]):I[U][1]=O,this}rn.prototype.clear=Kl,rn.prototype.delete=Zl,rn.prototype.get=Xl,rn.prototype.has=Jl,rn.prototype.set=Ql;function an(v){var O=-1,I=v?v.length:0;for(this.clear();++O<I;){var U=v[O];this.set(U[0],U[1])}}function ec(){this.__data__={hash:new Sn,map:new(B||rn),string:new Sn}}function tc(v){return Yi(this,v).delete(v)}function nc(v){return Yi(this,v).get(v)}function ic(v){return Yi(this,v).has(v)}function sc(v,O){return Yi(this,v).set(v,O),this}an.prototype.clear=ec,an.prototype.delete=tc,an.prototype.get=nc,an.prototype.has=ic,an.prototype.set=sc;function Mn(v){this.__data__=new rn(v)}function ur(){this.__data__=new rn}function rc(v){return this.__data__.delete(v)}function hr(v){return this.__data__.get(v)}function ac(v){return this.__data__.has(v)}function oc(v,O){var I=this.__data__;if(I instanceof rn){var U=I.__data__;if(!B||U.length<n-1)return U.push([v,O]),this;I=this.__data__=new an(U)}return I.set(v,O),this}Mn.prototype.clear=ur,Mn.prototype.delete=rc,Mn.prototype.get=hr,Mn.prototype.has=ac,Mn.prototype.set=oc;function fr(v,O){var I=ra(v)||pr(v)?tt(v.length,String):[],U=I.length,Be=!!U;for(var ke in v)(O||At.call(v,ke))&&!(Be&&(ke=="length"||wo(ke,U)))&&I.push(ke);return I}function ta(v,O,I){var U=v[O];(!(At.call(v,O)&&sa(U,I))||I===void 0&&!(O in v))&&(v[O]=I)}function Vs(v,O){for(var I=v.length;I--;)if(sa(v[I][0],O))return I;return-1}function si(v,O){return v&&Ns(O,oa(O),v)}function na(v,O,I,U,Be,ke,He){var Ke;if(U&&(Ke=ke?U(v,Be,ke,He):U(v)),Ke!==void 0)return Ke;if(!Ci(v))return v;var We=ra(v);if(We){if(Ke=vo(v),!O)return _o(v,Ke)}else{var Xe=wi(v),zt=Xe==f||Xe==m;if(gr(v))return Ts(v,O);if(Xe==b||Xe==a||zt&&!ke){if(rt(v))return ke?v:{};if(Ke=ki(zt?{}:v),!O)return hc(v,si(Ke,v))}else{if(!R[Xe])return ke?v:{};Ke=bo(v,Xe,na,O)}}He||(He=new Mn);var gn=He.get(v);if(gn)return gn;if(He.set(v,Ke),!We)var Ft=I?yo(v):oa(v);return ht(Ft||v,function(gt,Jt){Ft&&(Jt=gt,gt=v[Jt]),ta(Ke,Jt,na(gt,O,I,U,Jt,v,He))}),Ke}function lc(v){return Ci(v)?pn(v):{}}function cc(v,O,I){var U=O(v);return ra(v)?U:It(U,I(v))}function dc(v){return Dt.call(v)}function fo(v){if(!Ci(v)||Co(v))return!1;var O=aa(v)||rt(v)?un:ye;return O.test(mn(v))}function po(v){if(!xo(v))return ve(v);var O=[];for(var I in Object(v))At.call(v,I)&&I!="constructor"&&O.push(I);return O}function Ts(v,O){if(O)return v.slice();var I=new v.constructor(v.length);return v.copy(I),I}function Is(v){var O=new v.constructor(v.byteLength);return new Ie(O).set(new Ie(v)),O}function As(v,O){var I=O?Is(v.buffer):v.buffer;return new v.constructor(I,v.byteOffset,v.byteLength)}function ia(v,O,I){var U=O?I(Yt(v),!0):Yt(v);return kt(U,lt,new v.constructor)}function $s(v){var O=new v.constructor(v.source,fe.exec(v));return O.lastIndex=v.lastIndex,O}function mo(v,O,I){var U=O?I(Ct(v),!0):Ct(v);return kt(U,Fe,new v.constructor)}function uc(v){return An?Object(An.call(v)):{}}function go(v,O){var I=O?Is(v.buffer):v.buffer;return new v.constructor(I,v.byteOffset,v.length)}function _o(v,O){var I=-1,U=v.length;for(O||(O=Array(U));++I<U;)O[I]=v[I];return O}function Ns(v,O,I,U){I||(I={});for(var Be=-1,ke=O.length;++Be<ke;){var He=O[Be],Ke=U?U(I[He],v[He],He,I,v):void 0;ta(I,He,Ke===void 0?v[He]:Ke)}return I}function hc(v,O){return Ns(v,On(v),O)}function yo(v){return cc(v,oa,On)}function Yi(v,O){var I=v.__data__;return ko(O)?I[typeof O=="string"?"string":"hash"]:I.map}function $n(v,O){var I=st(v,O);return fo(I)?I:void 0}var On=j?ft(j,Object):mt,wi=dc;(W&&wi(new W(new ArrayBuffer(1)))!=N||B&&wi(new B)!=g||Y&&wi(Y.resolve())!=w||re&&wi(new re)!=S||Ce&&wi(new Ce)!=x)&&(wi=function(v){var O=Dt.call(v),I=O==b?v.constructor:void 0,U=I?mn(I):void 0;if(U)switch(U){case at:return N;case xt:return g;case sn:return w;case Gt:return S;case qn:return x}return O});function vo(v){var O=v.length,I=v.constructor(O);return O&&typeof v[0]=="string"&&At.call(v,"index")&&(I.index=v.index,I.input=v.input),I}function ki(v){return typeof v.constructor=="function"&&!xo(v)?lc(Ye(v)):{}}function bo(v,O,I,U){var Be=v.constructor;switch(O){case T:return Is(v);case c:case d:return new Be(+v);case N:return As(v,U);case L:case F:case q:case ee:case ie:case K:case se:case me:case J:return go(v,U);case g:return ia(v,U,I);case _:case E:return new Be(v);case C:return $s(v);case S:return mo(v,U,I);case A:return uc(v)}}function wo(v,O){return O=O??s,!!O&&(typeof v=="number"||we.test(v))&&v>-1&&v%1==0&&v<O}function ko(v){var O=typeof v;return O=="string"||O=="number"||O=="symbol"||O=="boolean"?v!=="__proto__":v===null}function Co(v){return!!Nt&&Nt in v}function xo(v){var O=v&&v.constructor,I=typeof O=="function"&&O.prototype||bt;return v===I}function mn(v){if(v!=null){try{return Ot.call(v)}catch{}try{return v+""}catch{}}return""}function So(v){return na(v,!0,!0)}function sa(v,O){return v===O||v!==v&&O!==O}function pr(v){return fc(v)&&At.call(v,"callee")&&(!In.call(v,"callee")||Dt.call(v)==a)}var ra=Array.isArray;function mr(v){return v!=null&&Mo(v.length)&&!aa(v)}function fc(v){return Oo(v)&&mr(v)}var gr=le||ct;function aa(v){var O=Ci(v)?Dt.call(v):"";return O==f||O==m}function Mo(v){return typeof v=="number"&&v>-1&&v%1==0&&v<=s}function Ci(v){var O=typeof v;return!!v&&(O=="object"||O=="function")}function Oo(v){return!!v&&typeof v=="object"}function oa(v){return mr(v)?fr(v):po(v)}function mt(){return[]}function ct(){return!1}t.exports=So})(O1,O1.exports);const Qo=O1.exports,Lce="",t8={props:{actions:{type:Array,default:()=>[],required:!0},numberOfExpandedActions:{type:Number,default:2,required:!1}},data(){return{action:Qo(this.actions),internalNumberOfExpandedActions:this.numberOfExpandedActions,itsBeingShown:!1}},methods:{toggleCollapseState(){this.internalNumberOfExpandedActions=this.itsBeingShown?this.numberOfExpandedActions:this.action.length,this.itsBeingShown=!this.itsBeingShown,this.$emit("expanded",this.itsBeingShown)},handleClick(t){t.disabled||this.$emit("action-clicked",t)}}},n8={class:"action-list"},i8={class:"action-list--right"},s8=["onClick"];function r8(t,e,n,i,s,a){return r.openBlock(),r.createElementBlock("span",n8,[r.createElementVNode("div",i8,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.actions,(o,c)=>(r.openBlock(),r.createElementBlock("div",{key:o.title},[r.createVNode(r.Transition,{name:"action-list__slide-fade"},{default:r.withCtx(()=>[c<=s.internalNumberOfExpandedActions-1?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass({"action-list__item":c===0,"action-list__item--left-bordered":c!==0,"action-list__item--disabled":o.disabled}),onClick:r.withModifiers(d=>a.handleClick(o),["stop"])},[r.renderSlot(t.$slots,"action",{list:o},void 0,!0)],10,s8)):r.createCommentVNode("",!0)]),_:2},1024)]))),128)),n.actions.length>n.numberOfExpandedActions?(r.openBlock(),r.createElementBlock("div",{key:0,class:"action-list__item--left-bordered",onClick:e[0]||(e[0]=r.withModifiers((...o)=>a.toggleCollapseState&&a.toggleCollapseState(...o),["stop"]))},[r.renderSlot(t.$slots,"action-trigger",{},()=>[r.createTextVNode(r.toDisplayString(s.itsBeingShown?"Menos a\xE7\xF5es":"Mais a\xE7\xF5es"),1)],!0)])):r.createCommentVNode("",!0)])])}const a8=te(t8,[["render",r8],["__scopeId","data-v-8ad639ef"]]),Fce="",o8={components:{CdsIcon:Le},props:{variant:{type:String,default:"info",required:!1},text:{type:String,default:"T\xEDtulo do AlertCard",required:!1},dismissible:{type:Boolean,default:!1,required:!1}},data(){return{icon:"warning-outline"}},watch:{variant:{handler(t){switch(t){case"info":this.icon="info-outline";break;case"success":this.icon="check-circle-outline";break;case"warning":this.icon="warning-outline";break;case"danger":this.icon="alert-outline";break;default:this.icon="alert-outline";break}},immediate:!0}},methods:{close(){this.$emit("close")}}},l8={id:"alert"},c8={class:"alert__body"},d8={key:0,class:"alert__text"},u8={key:1,class:"alert__text"};function h8(t,e,n,i,s,a){const o=r.resolveComponent("cds-icon");return r.openBlock(),r.createElementBlock("span",l8,[r.createElementVNode("div",{class:r.normalizeClass(["alert",{"alert__container--info":n.variant==="info","alert__container--success":n.variant==="success","alert__container--warning":n.variant==="warning","alert__container--danger":n.variant==="danger"}])},[r.createElementVNode("div",c8,[r.createElementVNode("div",null,[r.createVNode(o,{name:s.icon,class:r.normalizeClass({"alert__icon--info":n.variant==="info","alert__icon--success":n.variant==="success","alert__icon--warning":n.variant==="warning","alert__icon--danger":n.variant==="danger"})},null,8,["name","class"])]),n.text.length>0?(r.openBlock(),r.createElementBlock("span",d8,r.toDisplayString(n.text),1)):(r.openBlock(),r.createElementBlock("span",u8,[r.renderSlot(t.$slots,"default",{},void 0,!0)]))]),n.dismissible?(r.openBlock(),r.createElementBlock("div",{key:0,class:"alert__close-button",onClick:e[0]||(e[0]=(...c)=>a.close&&a.close(...c))},[r.createVNode(o,{name:"x-outline",class:r.normalizeClass({"alert__icon--info":n.variant==="info","alert__icon--success":n.variant==="success","alert__icon--warning":n.variant==="warning","alert__icon--danger":n.variant==="danger"})},null,8,["class"])])):r.createCommentVNode("",!0)],2)])}const f8=te(o8,[["render",h8],["__scopeId","data-v-f6827c7b"]]),Rce="",p8={components:{CdsIcon:Le},props:{variant:{type:String,default:"info"},title:{type:String,default:"T\xEDtulo do AlertCard"},subTitle:{type:String,default:"Subt\xEDtulo do AlertCard"},withIcon:{type:Boolean,default:!1},value:{type:Boolean,default:!1}},data(){return{isSelected:this.value}},computed:{dynamicIcon(){switch(this.variant){case"info":return"info-outline";case"warning":return"warning-outline";case"danger":return"alert-outline";default:return"info-outline"}},alertCardContainerSelected(){let t="";if(this.muted)t="alert-card__container--muted";else if(this.selectable&&(t="alert-card__container--selectable"),this.isSelected)return`${t} alert-card__container--selected-${this.variant}`;return t},iconClass(){return`icon__container--${this.variant} ${this.noTitle?"align-self-center":""}`}}},m8={id:"alert-card"},g8={class:"alert-card__content-container"};function _8(t,e,n,i,s,a){const o=r.resolveComponent("cds-icon");return r.openBlock(),r.createElementBlock("span",m8,[r.createElementVNode("div",{class:r.normalizeClass(["alert-card__container",a.alertCardContainerSelected])},[n.withIcon?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(a.iconClass)},[r.createVNode(o,{height:"24",width:"24",name:a.dynamicIcon,class:r.normalizeClass(`icon--${n.variant}`)},null,8,["name","class"])],2)):r.createCommentVNode("",!0),r.createElementVNode("div",g8,[t.noTitle?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(`alert-card__title--${n.variant}`)},r.toDisplayString(n.title),3)),r.createElementVNode("span",{class:r.normalizeClass(["alert-card__subtitle",`${t.noTitle?"mt-0":"mt-2"}`])},[r.renderSlot(t.$slots,"subTitle-slot",{},()=>[r.createTextVNode(r.toDisplayString(n.subTitle),1)],!0)],2),r.renderSlot(t.$slots,"content-slot",{class:"alert-card__content"},void 0,!0)])],2)])}const y8=te(p8,[["render",_8],["__scopeId","data-v-c55918a6"]]),Hce="",D1={props:{text:{type:String,default:null},vertical:{type:Boolean,default:!1},width:{type:[String,Number],default:null},dimmed:{type:Boolean,default:!1},light:{type:Boolean,default:!1},inline:{type:Boolean,default:!1}},computed:{sanitizedWidth(){return this.width?`${this.width}px`:"100%"}}},nm=()=>{r.useCssVars(t=>({"6f44ee3e":t.sanitizedWidth}))},im=D1.setup;D1.setup=im?(t,e)=>(nm(),im(t,e)):nm;const v8=D1,b8={key:0};function w8(t,e,n,i,s,a){return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(["divider__container",{"divider__container--inline":n.inline}])},[n.vertical?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",b8,r.toDisplayString(n.text),1)),r.createElementVNode("hr",{class:r.normalizeClass(["divider",{"divider--vertical":n.vertical,"divider--light":n.light,"divider--dimmed":n.dimmed}])},null,2)],2)}const Nc=te(v8,[["render",w8]]),Wce="",k8={props:{direction:{type:String,default:"bottom"},light:{type:Boolean,default:!1},size:{type:String,default:"md"},animate:{type:Boolean,default:!1}},data(){return{innerDirection:this.direction}},watch:{direction:{handler(){this.animationResolver()},immediate:!0}},methods:{animationResolver(){if(!!this.animate)switch(this.innerDirection){case"top":this.innerDirection="bottom";break;case"bottom":this.innerDirection="top";break;case"right":this.innerDirection="left";break;case"left":this.innerDirection="right";break;default:this.innerDirection="bottom"}}}};function C8(t,e,n,i,s,a){return r.openBlock(),r.createElementBlock("div",{ref:"chevron",class:r.normalizeClass({"chevron--top":s.innerDirection==="top","chevron--right":s.innerDirection==="right","chevron--bottom":s.innerDirection==="bottom","chevron--left":s.innerDirection==="left","chevron--sm":n.size==="sm","chevron--md":n.size==="md","chevron--lg":n.size==="lg","chevron--light":n.light===!0})},null,2)}const Er=te(k8,[["render",C8]]),Yce="",x8={props:{clickable:{type:Boolean,default:!1}}};function S8(t,e,n,i,s,a){return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass({"clickable__container--clickable":n.clickable,"clickable__container--not-clickable":!n.clickable}),onClick:e[0]||(e[0]=o=>t.$emit("cds-click",!0))},[r.renderSlot(t.$slots,"default")],2)}const ms=te(x8,[["render",S8]]),jce="",M8={props:{maxHeight:{type:String,default:"300px",required:!0},autoHeight:{type:Boolean,default:!1},horizontalScroll:{type:Boolean,default:!1}}},O8={class:"scrollable"};function D8(t,e,n,i,s,a){return r.openBlock(),r.createElementBlock("div",O8,[r.createElementVNode("div",{class:r.normalizeClass(["scrollable__container",{"scrollable__container--horizontal":n.horizontalScroll}]),style:r.normalizeStyle({"max-height":n.maxHeight,height:n.autoHeight?"auto":n.maxHeight})},[r.renderSlot(t.$slots,"default",{},void 0,!0)],6)])}const zc=te(M8,[["render",D8],["__scopeId","data-v-a8ffaf17"]]);var sm={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(cn,function(){var n="__v-click-outside",i=typeof window<"u",s=typeof navigator<"u",a=i&&("ontouchstart"in window||s&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"],o=function(f){var m=f.event,g=f.handler;(0,f.middleware)(m)&&g(m)},c=function(f,m){var g=function(E){var A=typeof E=="function";if(!A&&typeof E!="object")throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:A?E:E.handler,middleware:E.middleware||function(x){return x},events:E.events||a,isActive:E.isActive!==!1,detectIframe:E.detectIframe!==!1,capture:Boolean(E.capture)}}(m.value),_=g.handler,b=g.middleware,w=g.detectIframe,C=g.capture;if(g.isActive){if(f[n]=g.events.map(function(E){return{event:E,srcTarget:document.documentElement,handler:function(A){return function(x){var T=x.el,N=x.event,L=x.handler,F=x.middleware,q=N.path||N.composedPath&&N.composedPath();(q?q.indexOf(T)<0:!T.contains(N.target))&&o({event:N,handler:L,middleware:F})}({el:f,event:A,handler:_,middleware:b})},capture:C}}),w){var S={event:"blur",srcTarget:window,handler:function(E){return function(A){var x=A.el,T=A.event,N=A.handler,L=A.middleware;setTimeout(function(){var F=document.activeElement;F&&F.tagName==="IFRAME"&&!x.contains(F)&&o({event:T,handler:N,middleware:L})},0)}({el:f,event:E,handler:_,middleware:b})},capture:C};f[n]=[].concat(f[n],[S])}f[n].forEach(function(E){var A=E.event,x=E.srcTarget,T=E.handler;return setTimeout(function(){f[n]&&x.addEventListener(A,T,C)},0)})}},d=function(f){(f[n]||[]).forEach(function(m){return m.srcTarget.removeEventListener(m.event,m.handler,m.capture)}),delete f[n]},h=i?{beforeMount:c,updated:function(f,m){var g=m.value,_=m.oldValue;JSON.stringify(g)!==JSON.stringify(_)&&(d(f),c(f,{value:g}))},unmounted:d}:{};return{install:function(f){f.directive("click-outside",h)},directive:h}})})(sm);const gs=sm.exports,E8={ESC:27};function Ti(t=8){let e="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i=n.length;for(let s=0;s<t;s+=1)e+=n.charAt(Math.floor(Math.random()*i));return e}const B8=["sm","md","lg"],rm=["thin","default","wide"],Uce="",E1={components:{CdsScrollable:zc},directives:{"on-click-outside":gs.directive},props:{modelValue:{type:Boolean,default:!1},width:{type:[String,Number],default:250},fitContentWidth:{type:Boolean,default:!1},height:{type:[String,Number],default:200},targetId:{type:String,default:""},rightAligned:{type:Boolean,default:!1},verticalFluid:{type:Boolean,default:!1}},data(){return{id:"",target:"",popover:"",popperInstance:null,uniqueKey:Ti()}},computed:{variationPlacement(){return this.rightAligned?"end":"start"},popoverWidth(){return this.fitContentWidth?"fit-content":`${this.width}px`},popoverHeight(){return this.verticalFluid?"fit-content":`${this.height}px`}},watch:{modelValue(t){t?this.show():this.hide()},targetId(t){this.setPopper(t)}},mounted(){this.id=`cds-popover-${this.uniqueKey}`,this.setPopper(this.targetId)},methods:{setPopper(t){this.$nextTick(()=>{this.target=document.querySelector(`[id='${t}']`),this.popover=document.querySelector(`#${this.id}`),this.popperInstance=Go(this.target,this.popover,{placement:`bottom-${this.variationPlacement}`,modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"flip",options:{fallbackPlacements:[`top-${this.variationPlacement}`]}}]})})},show(){this.popover.setAttribute("data-show",""),this.popperInstance.setOptions(t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!0}]})),this.$emit("update:modelValue",!0),this.popperInstance.update()},hide(){this.$nextTick(()=>{this.popover.removeAttribute("data-show"),this.popperInstance.setOptions(t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!1}]})),this.$emit("update:modelValue",!1)})}}},am=()=>{r.useCssVars(t=>({"4ffaa6dc":t.popoverHeight,"49dd78fb":t.popoverWidth}))},om=E1.setup;E1.setup=om?(t,e)=>(am(),om(t,e)):am;const V8=E1,T8=["id"];function I8(t,e,n,i,s,a){const o=r.resolveComponent("cds-scrollable"),c=r.resolveDirective("on-click-outside");return r.withDirectives((r.openBlock(),r.createElementBlock("div",{id:t.$attrs.id||s.id,class:"popover"},[n.verticalFluid?r.renderSlot(t.$slots,"default",{key:1},void 0,!0):(r.openBlock(),r.createBlock(o,{key:0,"max-height":`${a.popoverHeight}`},{default:r.withCtx(()=>[r.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3},8,["max-height"]))],8,T8)),[[c,a.hide]])}const Pc=te(V8,[["render",I8],["__scopeId","data-v-156cb3df"]]),qce="",A8={components:{CdsChevron:Er,CdsClickable:ms,CdsPopover:Pc},props:{variant:{type:String,default:"green"},size:{type:String,default:"md"},src:{type:String,default:""},initials:{type:String,default:null},name:{type:String,default:null},clickable:{type:Boolean,default:!1}},data(){return{showPopover:!1}},computed:{computedInitials(){return this.initials?this.initials:this.name?this.name.replace(/(\S+)(\s*)/gi,t=>t[0].toUpperCase()).slice(0,2):"UND"}},methods:{toggleDropdown(){!this.clickable||(this.showPopover=!this.showPopover)}}},$8={class:"avatar__container"},N8=["src","alt"];function z8(t,e,n,i,s,a){const o=r.resolveComponent("cds-chevron"),c=r.resolveComponent("cds-popover"),d=r.resolveComponent("cds-clickable");return r.openBlock(),r.createBlock(d,{id:"avatar-dropdown",clickable:n.clickable,onClick:a.toggleDropdown},{default:r.withCtx(()=>[r.createElementVNode("div",$8,[r.createElementVNode("div",{class:r.normalizeClass(`avatar__container--${n.variant} avatar__container--${n.size}`)},[n.src?(r.openBlock(),r.createElementBlock("img",{key:1,src:n.src,alt:n.name,class:r.normalizeClass(`avatar__image--${n.size}`)},null,10,N8)):(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(`avatar__initials--${n.size}`)},r.toDisplayString(a.computedInitials),3))],2),n.clickable?(r.openBlock(),r.createBlock(o,{key:0,size:"sm",class:"avatar__chevron",direction:"bottom"})):r.createCommentVNode("",!0)]),r.createVNode(c,{modelValue:s.showPopover,"onUpdate:modelValue":e[0]||(e[0]=h=>s.showPopover=h),"target-id":"avatar-dropdown",width:"180","right-aligned":"","vertical-fluid":""},{default:r.withCtx(()=>[r.renderSlot(t.$slots,"dropdown-content")]),_:3},8,["modelValue"])]),_:3},8,["clickable","onClick"])}const el=te(A8,[["render",z8]]),Gce="",B1={components:{CdsIcon:Le,CdsAvatar:el,CdsDivider:Nc,CdsClickable:ms},props:{hideSettings:{type:Boolean,default:!1},hideHelp:{type:Boolean,default:!1},hideNotification:{type:Boolean,default:!1},hideAppSwitcher:{type:Boolean,default:!1},hideLogout:{type:Boolean,default:!1},sysvaleBrand:{type:Boolean,default:!1},csBrand:{type:Boolean,default:!1},userName:{type:String,default:null},userDescription:{type:String,default:null},clickable:{type:Boolean,default:!1}},computed:{hasAppSlot(){return Object.keys(this.$slots).some(t=>t==="app-info")},hasUserInfoSlot(){return Object.keys(this.$slots).some(t=>t==="user-info")},gridTemplateColumnsResolver(){return this.hasAppSlot?"1fr 1fr 1fr":"1fr 1fr"},gridTemplateAreasResolver(){return this.hasAppSlot?"'app logo icons'":"'logo icons'"},logoAlignmentResolver(){return this.hasAppSlot?"center":"flex-start"}},methods:{handleClick(t){this.$emit(`${t}-click`,!0)}}},lm=()=>{r.useCssVars(t=>({"244900c8":t.gridTemplateAreasResolver,"5097391f":t.gridTemplateColumnsResolver,a82bbc8c:t.logoAlignmentResolver}))},cm=B1.setup;B1.setup=cm?(t,e)=>(lm(),cm(t,e)):lm;const P8=B1,L8={class:"app-bar__container"},F8={key:0,class:"app-bar__logo--cs",src:"https://framerusercontent.com/images/LqVj4DBbWvH0zr04qwYMlSPvEBY.svg",alt:"logo do Cidade Saud\xE1vel"},R8={key:1,class:"app-bar__logo--sv",src:"https://framerusercontent.com/images/djNYjj5IdpsZL50hF8HEDt5Wbg.svg",alt:"logo da Sysvale"},H8={class:"app-bar__icons-grid"},W8={key:4,class:"user-info__avatar-container"},Y8={class:"user-info__container"},j8={class:"user-info__name"},U8={class:"user-info__description"},q8={key:5,class:"app-switcher__container"},G8={key:2,class:"app-switcher"};function K8(t,e,n,i,s,a){const o=r.resolveComponent("cds-icon"),c=r.resolveComponent("cds-clickable"),d=r.resolveComponent("cds-avatar"),h=r.resolveComponent("cds-divider");return r.openBlock(),r.createElementBlock("div",L8,[n.csBrand?(r.openBlock(),r.createElementBlock("img",F8)):n.sysvaleBrand?(r.openBlock(),r.createElementBlock("img",R8)):r.createCommentVNode("",!0),r.renderSlot(t.$slots,"brand",{class:"app-bar__logo"}),r.createElementVNode("div",H8,[n.hideNotification?r.createCommentVNode("",!0):(r.openBlock(),r.createBlock(c,{key:0,clickable:"",onClick:e[0]||(e[0]=f=>a.handleClick("notification"))},{default:r.withCtx(()=>[r.createVNode(o,{height:"24",width:"24",light:"",name:"notification-bell-outline"})]),_:1})),n.hideHelp?r.createCommentVNode("",!0):(r.openBlock(),r.createBlock(c,{key:1,clickable:"",onClick:e[1]||(e[1]=f=>a.handleClick("help"))},{default:r.withCtx(()=>[r.createVNode(o,{height:"24",width:"24",light:"",name:"help-outline"})]),_:1})),n.hideSettings?r.createCommentVNode("",!0):(r.openBlock(),r.createBlock(c,{key:2,clickable:"",onClick:e[2]||(e[2]=f=>a.handleClick("settings"))},{default:r.withCtx(()=>[r.createVNode(o,{height:"24",width:"24",light:"",name:"settings-outline"})]),_:1})),a.hasUserInfoSlot?r.renderSlot(t.$slots,"user-info",{key:3,class:"user-info__container"}):(r.openBlock(),r.createElementBlock("div",W8,[r.createElementVNode("div",Y8,[r.createElementVNode("span",j8,r.toDisplayString(n.userName),1),r.createElementVNode("span",U8,r.toDisplayString(n.userDescription),1)]),r.createVNode(d,{name:n.userName,variant:"white",size:"md",clickable:n.clickable,onClick:e[3]||(e[3]=f=>a.handleClick("avatar"))},r.createSlots({_:2},[n.clickable?{name:"dropdown-content",fn:r.withCtx(()=>[r.renderSlot(t.$slots,"dropdown-content")]),key:"0"}:void 0]),1032,["name","clickable"])])),n.hideAppSwitcher?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",q8,[r.createVNode(h,{vertical:"",width:"30"}),r.createVNode(c,{clickable:"",onClick:e[4]||(e[4]=f=>a.handleClick("app-switcher"))},{default:r.withCtx(()=>[r.createVNode(o,{height:"24",width:"24",light:"",name:"grid-outline"})]),_:1})])),n.hideLogout?r.createCommentVNode("",!0):(r.openBlock(),r.createBlock(c,{key:6,clickable:"",onClick:e[5]||(e[5]=f=>a.handleClick("logout"))},{default:r.withCtx(()=>[r.createVNode(o,{height:"24",width:"24",light:"",name:"logout-outline"})]),_:1}))]),a.hasAppSlot?(r.openBlock(),r.createElementBlock("div",G8,[r.renderSlot(t.$slots,"app-info")])):r.createCommentVNode("",!0)])}const Z8=te(P8,[["render",K8]]),Kce="",V1={props:{width:{type:[String,Number],default:"20"}},computed:{widthResolver(){return`${this.width}px`}}},dm=()=>{r.useCssVars(t=>({13528900:t.widthResolver}))},um=V1.setup;V1.setup=um?(t,e)=>(dm(),um(t,e)):dm;const X8=V1,J8={class:"truncate__container"};function Q8(t,e,n,i,s,a){return r.openBlock(),r.createElementBlock("div",J8,[r.renderSlot(t.$slots,"default")])}const hm=te(X8,[["render",Q8]]),Zce="",ew={props:{position:{type:String,default:"top"},text:{type:String,default:null},slim:{type:Boolean,default:!1}},computed:{content(){return this.slim?`<span style="font-size: 11px; padding: 0px;">${this.text}</span>`:`<span style="font-size: 13px; padding: 0px 2px">${this.text}</span>`}}},tw=["data-tippy-placement","data-tippy-content"];function nw(t,e,n,i,s,a){const o=r.resolveDirective("cdstip");return r.withDirectives((r.openBlock(),r.createElementBlock("div",{class:"tooltip","data-tippy-placement":n.position,"data-tippy-content":a.content,"data-tippy-allowHTML":!0},[r.renderSlot(t.$slots,"default")],8,tw)),[[o,n.text]])}const Lc=te(ew,[["render",nw]]),Xce="",iw={components:{CdsAvatar:el,CdsClickable:ms,CdsPopover:Pc,CdsTruncate:hm,CdsTooltip:Lc},props:{size:{type:String,default:"md"},avatars:{type:Array,default:()=>[]},maxCount:{type:Number,default:4}},data(){return{listAvatars:this.avatars.slice(0,this.maxCount),popoverAvatars:this.avatars.slice(this.maxCount,this.avatars.length),showPopover:!1}},computed:{showAvatarCounter(){return this.maxCount<this.avatars.length},avatarCounterText(){return`+ ${this.avatars.length-this.maxCount}`}}},sw={class:"avatar-group__container"},rw={class:"avatar__name"};function aw(t,e,n,i,s,a){const o=r.resolveComponent("cds-avatar"),c=r.resolveComponent("cds-tooltip"),d=r.resolveComponent("cds-clickable"),h=r.resolveComponent("cds-truncate"),f=r.resolveComponent("cds-popover");return r.openBlock(),r.createElementBlock("div",sw,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(s.listAvatars,(m,g)=>(r.openBlock(),r.createBlock(c,{key:g,position:"bottom",text:m.name,slim:""},{default:r.withCtx(()=>[r.createVNode(o,r.mergeProps({ref_for:!0},m,{size:n.size,clickable:!1}),null,16,["size"])]),_:2},1032,["text"]))),128)),a.showAvatarCounter?(r.openBlock(),r.createBlock(d,{key:0,id:"avatar-counter",clickable:"",onClick:e[0]||(e[0]=m=>s.showPopover=!0)},{default:r.withCtx(()=>[r.createVNode(o,{size:n.size,clickable:!1,name:a.avatarCounterText,variant:"gray",class:"avatar-group__counter"},null,8,["size","name"])]),_:1})):r.createCommentVNode("",!0),r.createVNode(f,{modelValue:s.showPopover,"onUpdate:modelValue":e[1]||(e[1]=m=>s.showPopover=m),"target-id":"avatar-counter",width:"180","right-aligned":"","vertical-fluid":""},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(s.popoverAvatars,(m,g)=>(r.openBlock(),r.createElementBlock("div",{key:g,class:"avatar__data"},[r.createVNode(o,r.mergeProps({ref_for:!0},m,{size:"sm",clickable:!1}),null,16),r.createVNode(h,{width:"180"},{default:r.withCtx(()=>[r.createElementVNode("span",rw,r.toDisplayString(m.name),1)]),_:2},1024)]))),128))]),_:1},8,["modelValue"])])}const ow=te(iw,[["render",aw]]),Jce="",lw={components:{CdsClickable:ms},props:{variant:{type:String,default:"gray"},size:{type:String,default:"md"},clickable:{type:Boolean,default:!1}},data(){return{predefinedColors:["green","teal","turquoise","blue","indigo","violet","pink","red","orange","amber","gray","white"],predefinedSizes:["sm","md","lg"]}},computed:{predefinedStyle(){let t="";return this.predefinedColors.indexOf(this.variant)>-1&&(t+=`badge--${this.variant}`),this.predefinedSizes.indexOf(this.size)>-1&&(t+=` badge--${this.size}`),t}}};function cw(t,e,n,i,s,a){const o=r.resolveComponent("cds-clickable");return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(["badge__container",a.predefinedStyle])},[r.createElementVNode("div",{class:r.normalizeClass({"badge__content--sm":n.size==="sm","badge__content--md":n.size==="md","badge__content--lg":n.size==="lg"})},[n.clickable?(r.openBlock(),r.createBlock(o,{key:0,onClick:e[0]||(e[0]=c=>t.$emit("click",!0))},{default:r.withCtx(()=>[r.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3})):r.renderSlot(t.$slots,"default",{key:1},void 0,!0)],2)],2)}const dw=te(lw,[["render",cw],["__scopeId","data-v-a2c0fc86"]]);/*!
22
22
  * @kurkle/color v0.3.2
23
23
  * https://github.com/kurkle/color#readme
24
24
  * (c) 2023 Jukka Kurkela