PageSourceSearch

https://dstanza.transiti.net/2285.e3fc5dcec374f513.js

js transiti.net collected 2026-10-06 05:26:39 UTC 2,418 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebapp=self.webpackChunkwebapp||[]).push([[2285],{7966:(P,p,n)=>{n.d(p,{t:()=>y});var l=n(7598),c=n(1307),d=n(634);class t{constructor(m){this.id=m.id,this.amount=m.amount,this.id=m.id,this.appointments=m.appointments.map(s=>new d.u(s))}}var u=n(5e3),f=n(520);let y=(()=>{class o extends l.z{constructor(s){super(s),this.baseUrl=c.N.apiUrl+"/v1/payments"}checkout(s){return this.http.post(c.N.apiUrl+"/v1/stripe/checkout",{appointment_ids:s})}mapResource(s){return new t(s)}}return o.\u0275fac=function(s){return new(s||o)(u.LFG(f.eN))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})()},2285:(P,p,n)=>{n.r(p),n.d(p,{PaymentsModule:()=>M});var l=n(9808),c=n(218),d=n(5241),t=n(5e3),u=n(7966),f=n(1769),y=n(5850);function o(e,i){if(1&e){const a=t.EpF();t.TgZ(0,"ui-table",2),t.NdJ("nextPage",function(){return t.CHM(a),t.oxw().table.nextPage()}),t.qZA()}if(2&e){const a=i.ngIf,r=t.oxw();t.Q6J("columns",r.columns)("isLastPage",r.table.isLastPage)("heightOffset",300)("data",a)}}function m(e,i){1&e&&(t.TgZ(0,"div",3),t._UZ(1,"ui-spinner",4),t.qZA()),2&e&&(t.xp6(1),t.Q6J("diameter",80))}const g=[{path:"",component:(()=>{class e{constructor(a){this.paymentService=a,this.table=new d.i(this.paymentService.list.bind(this.paymentService)),this.columns=[{label:"Data",field:"created_at",type:"date"},{label:"Appuntamenti",field:"appointments",type:"appointments"},{label:"Totale",field:"amount",isCurrency:!0}]}ngOnInit(){}}return e.\u0275fac=function(a){return new(a||e)(t.Y36(u.t))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-payments"]],decls:4,vars:4,consts:[[3,"columns","isLastPage","heightOffset","data","nextPage",4,"ngIf","ngIfElse"],["loading",""],[3,"columns","isLastPage","heightOffset","data","nextPage"],[1,"flex","justify-center","mt-20"],[3,"diameter"]],template:function(a,r){if(1&a&&(t.YNc(0,o,1,4,"ui-table",0),t.ALo(1,"async"),t.YNc(2,m,2,1,"ng-template",null,1,t.W1O)),2&a){const v=t.MAs(3);t.Q6J("ngIf",t.lcZ(1,2,r.table.items$))("ngIfElse",v)}},directives:[l.O5,f.a,y.O],pipes:[l.Ov],styles:[""]}),e})()}];let h=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[c.Bz.forChild(g)],c.Bz]}),e})();var x=n(209),C=n(1148);let M=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[l.ez,h,x.U,C.F]]}),e})()}}]);

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.