PageSourceSearch

https://infosoft.ate-bus.ch:4443/6169.96404899de272c50.js

js ate-bus.ch collected 2026-10-08 08:32:02 UTC 6,021 bytes, 1 lines download raw bytes

1(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6169],{36169:(c,u,e)=>{"use strict";e.r(u),e.d(u,{LauftextPageModule:()=>f});var a=e(31635),i=e(17705),s=e(60177),R=e(89417),L=e(35933),p=e(43559),g=e(10467);var o,l,P=e(85971),I=e.n(P),b=e(88254),S=e(21192),m=e(72491),M=e(25220),A=e(7141),B=e(28874),T=e(82014),x=e(86225),O=e(34535);let d=(o=class{constructor(t,n,r,v,U){this.hubFactory=t,this.helper=n,this.timeService=r,this.alertService=v,this.loadingService=U,this.isLoading=!1,this.Result=[],this.BetriebsStoerungResult=[]}ngOnInit(){var t;(null==l.AppModeSubscription||null!==(t=l.AppModeSubscription)&&void 0!==t&&t.closed)&&(l.AppModeSubscription=S.Z.AppMode.subscribe(n=>{(n==m.Sq.Offline||n==m.Sq.Online)&&this.loadData()}))}ngOnDestroy(){l.AppModeSubscription.unsubscribe()}ionViewWillEnter(){this.loadData()}loadData(){var t=this;return(0,g.A)(function*(){if(!t.isLoading)try{t.isLoading=!0,yield t.loadingService.showLoader(),t.Result=[],yield(yield t.hubFactory.lauftextService()).GetByPersonId().then(n=>t.Result=n),yield(yield t.hubFactory.lauftextService()).GetBetriebsStoerungenByPersonID().then(n=>{t.BetriebsStoerungResult=n}),t.Result.sort(n=>n.BetriebsStoerung?1:-1),t.BetriebsStoerungResult.length>0&&t.BetriebsStoerungResult.forEach(function(){var n=(0,g.A)(function*(r){(yield b.p.get({key:"BetriebsStoerung_"+r.ID.toString()})).value||b.p.set({key:"BetriebsStoerung_"+r.ID.toString(),value:(new Date).toISOString()})});return function(r){return n.apply(this,arguments)}}())}catch(n){x.K.Fehler("\u{1f680} ~ LauftextPage ~ loadData ~ err:",n)}finally{yield t.loadingService.dismiss(),t.isLoading=!1}})()}EvaluateSelectedClass(t){return null==this.SelectedText?"":t.ID==this.SelectedText.ID?"elementSelected":""}doRefresh(t){var n=this;return(0,g.A)(function*(){try{n.loadData()}catch(v){x.K.Debug("\u{1f680} ~ LauftextPage ~ doRefresh ~ err:",v)}finally{var r;null===(r=n.ionRefresher)||void 0===r||r.complete()}})()}openDetail(t){S.Z.isSmallScreen?this.alertService.createCustomSwal("",t.Meldung,"info"):this.SelectedText=t}},l=o,o.AppModeSubscription=void 0,o.ctorParameters=()=>[{type:A.d},{type:B.N},{type:O.v},{type:M.u},{type:T.U}],o.propDecorators={ionRefresher:[{type:i.Uct,args:["ionRefresher"]}]},o);d=l=(0,a.Cg)([(0,i.uAl)({selector:"app-lauftext",template:'<ion-header>\r\n  <app-offline-banner></app-offline-banner>\r\n  <isg-header [Title]="\'lblInformationen\' | translate"\r\n              [Reload-Enable]="true" (Reload-Event)="doRefresh($event)">\r\n  </isg-header>\r\n</ion-header>\r\n\r\n<ion-content>\r\n  <ion-refresher #ionRefresher slot="fixed" (ionRefresh)="doRefresh($event)">\r\n    <ion-refresher-content></ion-refresher-content>\r\n  </ion-refresher>\r\n\r\n  <div>\r\n    <ion-list *ngIf="this.isLoading">\r\n      <div *ngFor="let item of this.helper.placeholderArray(5)">\r\n        <app-skeleton-text-item></app-skeleton-text-item>\r\n      </div>\r\n    </ion-list>\r\n\r\n    <ion-list *ngIf="!this.isLoading && this.Result">\r\n      <ion-item *ngIf=" this.Result.length < 1 && this.BetriebsStoerungResult.length < 1" lines="full">\r\n        <ion-label class="font-bold ion-padding-vertical ion-text-center">\r\n          {{\'lblKeineDatenVerfuegbar\' | translate}}\r\n        </ion-label>\r\n      </ion-item>\r\n    </ion-list>\r\n\r\n    <div *ngIf="!this.isLoading">\r\n      <ion-grid>\r\n        <ion-row>\r\n          <ion-col size="12">\r\n            <ion-card *ngFor="let Text of this.BetriebsStoerungResult" class="cursorStyle" detail ngClass="showDanger">\r\n              <ion-card-content>\r\n                <ion-label class="dateLabel">{{this.timeService.dateFormat(Text.Von)}}</ion-label>\r\n                <ion-label class="dateLabel"> - </ion-label>\r\n                <ion-label class="dateLabel">{{this.timeService.dateFormat(Text.Bis)}}</ion-label>\r\n                <div style=\'line-height:50%;\'><br></div>\r\n                <ion-label class="color-text msgLabel multilineEllipsis">{{Text.Meldung}}</ion-label>\r\n              </ion-card-content>\r\n            </ion-card>\r\n          </ion-col>\r\n        </ion-row>\r\n        <ion-row *ngIf="this.BetriebsStoerungResult.length > 0">\r\n          <ion-col>\r\n            <hr>\r\n          </ion-col>\r\n        </ion-row>\r\n      </ion-grid>\r\n\r\n      <ion-grid>\r\n        <ion-row>\r\n          <ion-col size="12">\r\n            <ion-card *ngFor="let Text of this.Result" class="cursorStyle" detail> \x3c!-- | orderBy : \'BetriebsStoerung\' : true --\x3e\r\n              <ion-card-content>\r\n                <ion-label class="dateLabel">{{this.timeService.dateFormat(Text.Von)}}</ion-label>\r\n                <ion-label class="dateLabel"> - </ion-label>\r\n                <ion-label class="dateLabel">{{this.timeService.dateFormat(Text.Bis)}}</ion-label>\r\n                <div style=\'line-height:50%;\'><br></div>\r\n                <ion-label class="color-text msgLabel multilineEllipsis">{{Text.Meldung}}</ion-label>\r\n              </ion-card-content>\r\n            </ion-card>\r\n          </ion-col>\r\n        </ion-row>\r\n      </ion-grid>\r\n    </div>\r\n  </div>\r\n</ion-content>\r\n',styles:[I()]})],d);const C=[{path:"",component:d}];let h=class{};h=(0,a.Cg)([(0,i.UQu)({imports:[p.iI.forChild(C)],exports:[p.iI]})],h);var E=e(1775),F=e(73955);let f=class{};f=(0,a.Cg)([(0,i.UQu)({imports:[s.MD,R.YN,L.bv,h,E.G,F.h],declarations:[d]})],f)},85971:(c,u,e)=>{var a=e(8564),s=e(98557)(a);s.push([c.id,"ion-card-content ion-label.dateLabel {\n  font-size: 14px;\n  padding-bottom: 0.5em;\n}\n\nion-card-content ion-label.msgLabel {\n  font-size: 17px;\n}\n\n.multilineEllipsis {\n  --lh: 1em;\n  display: -webkit-box;\n  -webkit-line-clamp: var(--nrLines);\n  -webkit-box-orient: vertical;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n.elementSelected {\n  --background: var(--ion-color-success);\n}\n\n.cursorStyle {\n  cursor: default;\n}\n\nhr {\n  border-top: 1px solid var(--ion-color-light);\n}",""]),c.exports=s.toString()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.