import{T as l,U as h}from"./chunk-NNMVEAHQ.js";import{Cb as p,Ue as V,bc as m,cc as d,dc as u,lc as f,nc as w,pb as c,qc as x,rc as v,ta as s,tc as y,ua as a,uc as S,vc as g}from"./chunk-PVUKHE45.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-WPQ7GLLT.js.map
