import{W as l,X as h}from"./chunk-2N3356TH.js";import{ua as V}from"./chunk-NZ765PUK.js";import{Bb as p,bc as m,cc as d,dc as u,lc as f,ob as c,rc as w,sa as s,ta as a,uc as x,vc as v,xc as y,yc as S,zc as g}from"./chunk-DYUFV4HF.js";var T=["*"],O=(()=>{let t=class t{constructor(){this.atTop=new c,this.initialized=new c}onScroll(i){let o=i.scrollOffset.top===0;this.atTop.emit(o)}ngAfterViewInit(){setTimeout(()=>this.initialized.emit())}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["tis-scroll"]],viewQuery:function(e,o){if(e&1&&y(l,5),e&2){let n;S(n=g())&&(o.scrollView=n.first)}},outputs:{atTop:"atTop",initialized:"initialized"},ngContentSelectors:T,decls:3,vars:1,consts:[["scrollView",""],["direction","both",3,"onScroll","useNative"]],template:function(e,o){if(e&1){let n=f();x(),d(0,"dx-scroll-view",1,0),w("onScroll",function(C){return s(n),a(o.onScroll(C))}),v(2),u()}e&2&&m("useNative",!0)},dependencies:[V,h,l],styles:[`tis-scroll{background:transparent;display:block}tis-scroll .dx-scrollable-native.dx-scrollable-native-generic .dx-scrollable-content{display:flex;flex-direction:column}tis-scroll .dx-scrollview-content{display:flex;flex-direction:column;flex-grow:1}
/*# sourceMappingURL=scroll.component-DVRU7EBH.css.map */
`],encapsulation:2,changeDetection:0});let r=t;return r})();export{O as a};
//# sourceMappingURL=chunk-EIVYX6GM.js.map
