import{W as l,X as h}from"./chunk-IDENGFF3.js";import{ua as V}from"./chunk-TDUJNOEU.js";import{Ac as S,Bc as g,Db as p,dc as m,ec as d,fc as u,nc as f,qb as c,tc as w,ua as s,va as a,wc as x,xc as v,zc as y}from"./chunk-I3FGJX2C.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-A47NFGAX.js.map
