PageSourceSearch

https://dstanza.transiti.net/4629.2a1cdd1dfc4f49ef.js

js transiti.net collected 2026-10-06 05:26:55 UTC 5,398 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebapp=self.webpackChunkwebapp||[]).push([[4629],{9362:(h,p,a)=>{a.d(p,{C:()=>u});var o=a(5e3),r=a(9808);const d=function(l,c){return{"py-5.5":l,"md:h-16 py-3 md:py-0 justify-center md:justify-start md:items-center":c}},e=["*"];let u=(()=>{class l{constructor(){}ngOnInit(){}}return l.\u0275fac=function(m){return new(m||l)},l.\u0275cmp=o.Xpm({type:l,selectors:[["ui-field"]],inputs:{label:"label",flexible:"flexible"},ngContentSelectors:e,decls:4,vars:5,consts:[[1,"flex","flex-col","md:flex-row","bg-white","text-sm","text-dark","border-b","border-grey-200","px-8",3,"ngClass"],[1,"font-semibold","md:w-64","flex-shrink-0"]],template:function(m,f){1&m&&(o.F$t(),o.TgZ(0,"div",0)(1,"label",1),o._uU(2),o.qZA(),o.Hsn(3),o.qZA()),2&m&&(o.Q6J("ngClass",o.WLB(2,d,f.flexible,!f.flexible)),o.xp6(2),o.Oqu(f.label))},directives:[r.mk],styles:[""]}),l})()},4980:(h,p,a)=>{a.d(p,{R:()=>d});var o=a(9808),r=a(5e3);let d=(()=>{class e{}return e.\u0275fac=function(l){return new(l||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[o.ez]]}),e})()},4629:(h,p,a)=>{a.r(p),a.d(p,{TherapiesModule:()=>_});var o=a(9808),r=a(218),d=a(4850),e=a(5e3),u=a(4445),l=a(7576),c=a(5946),m=a(846),f=a(5241),v=a(1158),y=a(5765),T=a(9362),x=a(1769),C=a(5850);function b(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"ui-table",5),e.NdJ("nextPage",function(){return e.CHM(n),e.oxw().table.nextPage()}),e.qZA()}if(2&t){const n=i.ngIf,s=e.oxw();e.Q6J("columns",s.columns)("isLastPage",s.table.isLastPage)("heightOffset",300)("showShadow",!1)("data",n)}}function Z(t,i){1&t&&(e.TgZ(0,"div",6),e._UZ(1,"ui-spinner",7),e.qZA()),2&t&&(e.xp6(1),e.Q6J("diameter",80))}let I=(()=>{class t{constructor(n){this.therapyService=n,this.table=new f.i(this.therapyService.getAppointments.bind(this.therapyService)),this.columns=[{label:"Data e ora",field:"start_date",type:"datetime"},{label:"Tariffa",field:"price",isCurrency:!0},{label:"Status appuntamento",field:"statusLabel",type:"status"}]}ngOnInit(){this.table.addFilter({id:this.therapy.id,"q[end_date_lt]":v().utc().toISOString(),"q[s]":"start_date+desc","q[status_not_eq]":m.e_.pending})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(y.C))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-therapy-item"]],inputs:{therapy:"therapy"},decls:11,vars:8,consts:[["label","Data inizio terapia"],["label","Sedute svolte"],[1,"font-semibold","text-sm","text-dark","uppercase","ml-8","mt-16"],[3,"columns","isLastPage","heightOffset","showShadow","data","nextPage",4,"ngIf","ngIfElse"],["loading",""],[3,"columns","isLastPage","heightOffset","showShadow","data","nextPage"],[1,"flex","justify-center","mt-20"],[3,"diameter"]],template:function(n,s){if(1&n&&(e.TgZ(0,"ui-field",0),e._uU(1),e.ALo(2,"date"),e.qZA(),e.TgZ(3,"ui-field",1),e._uU(4),e.qZA(),e.TgZ(5,"h2",2),e._uU(6,"Storico sedute"),e.qZA(),e.YNc(7,b,1,5,"ui-table",3),e.ALo(8,"async"),e.YNc(9,Z,2,1,"ng-template",null,4,e.W1O)),2&n){const g=e.MAs(10);e.xp6(1),e.Oqu(e.lcZ(2,4,s.therapy.created_at)),e.xp6(3),e.Oqu(s.therapy.total_appointments),e.xp6(3),e.Q6J("ngIf",e.lcZ(8,6,s.table.items$))("ngIfElse",g)}},directives:[T.C,o.O5,x.a,C.O],pipes:[o.uU,o.Ov],styles:[""]}),t})();function O(t,i){if(1&t&&(e.TgZ(0,"ui-accordion",3),e._UZ(1,"app-therapy-item",4),e.qZA()),2&t){const n=i.$implicit;e.Q6J("title",n.typologyLabel)("subtitle",n.therapist?"In terapia con "+(null==n.therapist?null:n.therapist.fullName):""),e.xp6(1),e.Q6J("therapy",n)}}function A(t,i){1&t&&(e.TgZ(0,"div",5)(1,"div",6)(2,"h2",7),e._uU(3," Non ci sono ancora terapie attive "),e.qZA(),e.TgZ(4,"p",8),e._uU(5,"Se hai gi\xe0 effettuato il colloquio di accoglienza, ti verr\xe0 presto assegnato il terapeuta migliore per te."),e.qZA()(),e._UZ(6,"img",9),e.qZA())}function F(t,i){if(1&t&&(e.ynx(0),e.YNc(1,O,2,3,"ui-accordion",1),e.YNc(2,A,7,0,"div",2),e.BQk()),2&t){const n=i.ngIf;e.xp6(1),e.Q6J("ngForOf",n),e.xp6(1),e.Q6J("ngIf",!(null!=n&&n.length))}}const M=[{path:"",component:(()=>{class t{constructor(n,s){this.patientService=n,this.userService=s}ngOnInit(){var n;this.therapies$=this.patientService.listTherapies(null===(n=this.userService.user)||void 0===n?void 0:n.id).pipe((0,d.U)(s=>s.list))}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(u.e),e.Y36(l.K))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-therapies"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","block mb-4",3,"title","subtitle",4,"ngFor","ngForOf"],["class","bg-brand-200 text-dark p-8 rounded sm:mt-24 relative",4,"ngIf"],[1,"block","mb-4",3,"title","subtitle"],[3,"therapy"],[1,"bg-brand-200","text-dark","p-8","rounded","sm:mt-24","relative"],[1,"sm:w-1/2"],[1,"font-serif","text-xl","font-bold","mb-2"],[1,"font-serif","text-base"],["src","/assets/images/appointment.png",1,"absolute","right-0","w-72","-top-0","xl:right-24","md:-top-20","xl:-top-28","md:w-96","hidden","sm:inline"]],template:function(n,s){1&n&&(e.YNc(0,F,3,2,"ng-container",0),e.ALo(1,"async")),2&n&&e.Q6J("ngIf",e.lcZ(1,1,s.therapies$))},directives:[o.O5,o.sg,c.Z,I],pipes:[o.Ov],styles:[""]}),t})()}];let S=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[r.Bz.forChild(M)],r.Bz]}),t})();var E=a(4980),P=a(209),U=a(9807),L=a(1148);let _=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[o.ez,S,E.R,P.U,U.f,L.F]]}),t})()}}]);

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.