import{f as _,g as h}from"./chunk-5LZMOUCI.js";import{Y as g,ua as u}from"./chunk-NZ765PUK.js";import{Bb as p,Cc as m,Gb as a,bc as o,cc as l,dc as f,ec as r,jb as c,jd as d,tc as s}from"./chunk-DYUFV4HF.js";function y(e,n){if(e&1&&(l(0,"div",2),r(1,"tis-svg",3),f()),e&2){let t=s();c(),o("icon",t.icon)}}function M(e,n){if(e&1&&r(0,"tis-svg",4),e&2){let t=s();o("icon",t.icon)("size",t.size)}}var b=(()=>{let n=class n{constructor(){this.size="default",this.fullScreen=!1,this.icon=_.Spinner}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["tis-spinner"]],inputs:{size:"size",fullScreen:"fullScreen"},decls:3,vars:2,consts:[["loader",""],["class","backdrop",4,"ngIf","ngIfElse"],[1,"backdrop"],["size","large",1,"spinner",3,"icon"],[1,"spinner",3,"icon","size"]],template:function(i,C){if(i&1&&a(0,y,2,1,"div",1)(1,M,1,2,"ng-template",null,0,d),i&2){let v=m(2);o("ngIf",C.fullScreen)("ngIfElse",v)}},dependencies:[u,g,h],styles:[`[_nghost-%COMP%]{display:block;width:fit-content;height:fit-content}.backdrop[_ngcontent-%COMP%]{position:fixed;top:0;left:0;height:100%;width:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:var(--z-index-spinner)}.spinner[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin 1s linear infinite}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(-360deg)}}
/*# sourceMappingURL=spinner.component-M3GXDKEE.css.map */`],changeDetection:0});let e=n;return e})();export{b as a};
//# sourceMappingURL=chunk-NYAGTGLS.js.map
