import{a as T}from"./chunk-YQXLYYOT.js";import{d as D,f as O}from"./chunk-S3ADKFO2.js";import{c as _,d as h,n as M}from"./chunk-I5MYHHJE.js";import{Fb as i,Fc as s,Gb as o,Gc as y,Hb as l,Hc as S,Ib as f,Vb as C,Wa as t,Wb as g,Xb as u,gb as p,ic as c,kc as v,lb as d,lc as b,rb as m,xc as x}from"./chunk-CKLXM6EG.js";var P=["*"],k=n=>({currency:n});function w(n,a){if(n&1&&(o(0,"div",3)(1,"div",4)(2,"span",5),f(3,"i",3),c(4),s(5,"translate"),l(),o(6,"span",6),c(7),s(8,"translate"),l()()()),n&2){let e=a.$implicit,r=C();i("ngClass",r.cardColClass),t(),i("ngClass",e.design),t(2),i("ngClass",e.icon),t(),v(" ",y(5,6,r.Translationprefix+"."+e.title)),t(3),b("",(+e.value||0).toFixed(2)," ",S(8,8,"currency",x(11,k,r.currencyService.getCurrencyLabel()))," ")}}var F=class n{constructor(a){this.currencyService=a}cardDetails=[];Translationprefix="";cardColClass="col-xl-4 col-lg-4 col-md-4";static \u0275fac=function(e){return new(e||n)(p(T))};static \u0275cmp=d({type:n,selectors:[["app-simple-card"]],inputs:{cardDetails:"cardDetails",Translationprefix:"Translationprefix",cardColClass:"cardColClass"},ngContentSelectors:P,decls:4,vars:1,consts:[[1,"container-fluid","bg-white","rounded-3","p-3"],[1,"row","g-3"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["role","alert",3,"ngClass"],[1,"title"],[1,"d-block","mt-2","number"]],template:function(e,r){e&1&&(g(),o(0,"div",0),u(1),o(2,"div",1),m(3,w,9,13,"div",2),l()()),e&2&&(t(3),i("ngForOf",r.cardDetails))},dependencies:[M,_,h,O,D],styles:[".alert-success[_ngcontent-%COMP%]{border-radius:8px;background:#1d870229;--bs-alert-color: #1d8702;border:none}.alert-danger[_ngcontent-%COMP%]{border-radius:8px;background:#da303029;--bs-alert-color: #da3030;border:none}.alert-info[_ngcontent-%COMP%]{border-radius:8px;background:#006cff29;border:none;--bs-alert-color: #006cff}.title[_ngcontent-%COMP%]{font-size:20px;font-style:normal;font-weight:700;line-height:normal}.number[_ngcontent-%COMP%]{color:var(--dark, #112129);font-size:25px;font-style:normal;font-weight:700;line-height:normal}"]})};export{F as a};
