PageSourceSearch

https://app.vandoo.com/default-src_app_modules_shared_components_d…ponent_ts-src_ap-9c7aaa.54b25d3aeea2a59d.js

js vandoo.com collected 2026-10-08 23:57:02 UTC 12,026 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkturntable_auction=self.webpackChunkturntable_auction||[]).push([["default-src_app_modules_shared_components_document-upload_document-upload_component_ts-src_ap-9c7aaa"],{47599:(T,U,e)=>{e.d(U,{Y:()=>f});var t=e(54438),r=e(56977),_=e(35633),l=e(55195),m=e(61930),P=e(60177),D=e(49665),h=e(46941),v=e(65943),E=e(49623),O=e(91389);function I(s,i){if(1&s){const n=t.RV6();t.j41(0,"div",2)(1,"div",3)(2,"div",4),t.EFF(3),t.nI1(4,"transloco"),t.k0s(),t.j41(5,"div",5)(6,"app-typed-multi-document-upload",6),t.bIt("upload",function(a){t.eBV(n);const d=t.XpG();return t.Njj(d.onFilesSelected(a))}),t.k0s()(),t.nrm(7,"app-uploaded-document-list",7),t.k0s()()}if(2&s){const n=t.XpG();t.R7$(3),t.JRh(t.bMT(4,5,"common.sales_processing.additional_documents")),t.R7$(3),t.Y8G("disabled",!1)("documentTypes",n.availableDocumentTypes),t.R7$(),t.Y8G("lotId",n.lotId)("documentUploads",n.additionalDocumentUploads)}}function u(s,i){if(1&s){const n=t.RV6();t.j41(0,"div")(1,"app-typed-multi-document-upload",8),t.nI1(2,"transloco"),t.bIt("upload",function(a){t.eBV(n);const d=t.XpG();return t.Njj(d.onFilesSelected(a))}),t.k0s()()}if(2&s){const n=t.XpG();t.R7$(),t.Y8G("disabled",!1)("documentTypes",n.availableDocumentTypes)("displayButtonText",t.bMT(2,4,"common.profile.complaint.upload_more_documents"))("isButtonFullWidth",!0)}}let f=(()=>{class s extends D.${constructor(n,o,a){super(),this.notificationService=n,this.documentService=o,this.translocoService=a,this.lotId=null,this.showOnlyButton=!1,this.documentsUploaded=new t.bkB,this.availableDocumentTypes=[]}ngOnInit(){this.setDocumentTypes()}onFilesSelected(n){this.documentService.uploadPurchaseDocuments(n,this.lotId).pipe((0,r.Q)(this.destroyed)).subscribe(o=>{o.forEach(a=>{this.additionalDocumentUploads?.push(a),this.notificationService.success(this.translocoService.translate("common.auction_notification.document_added_success_with_name",{name:a.name}))}),this.documentsUploaded.emit(o)})}setDocumentTypes(){this.availableDocumentTypes=[_.K.SHIPPING_INVOICE,_.K.TRANSPORT_INVOICE,_.K.PROOF_OF_ARRIVAL,_.K.DEPOSIT_INVOICE,_.K.DEPOSIT_CREDIT,_.K.MISCELLANEOUS]}static{this.\u0275fac=function(o){return new(o||s)(t.rXU(E.J),t.rXU(O.D),t.rXU(h.JO))}}static{this.\u0275cmp=t.VBU({type:s,selectors:[["app-document-upload"]],inputs:{lotId:"lotId",additionalDocumentUploads:"additionalDocumentUploads",showOnlyButton:"showOnlyButton"},outputs:{documentsUploaded:"documentsUploaded"},standalone:!0,features:[t.Vt3,t.aNF],decls:2,vars:2,consts:[["class","card",4,"ngIf"],[4,"ngIf"],[1,"card"],[1,"card-block"],[1,"card-title"],[1,"card-text"],[3,"upload","disabled","documentTypes","displayText"],[3,"lotId","documentUploads"],[3,"upload","disabled","documentTypes","displayText","displayButtonText","isButtonFullWidth"]],template:function(o,a){1&o&&t.DNE(0,I,8,7,"div",0)(1,u,3,6,"div",1),2&o&&(t.Y8G("ngIf",!a.showOnlyButton),t.R7$(),t.Y8G("ngIf",a.showOnlyButton))},dependencies:[m.Lfk,P.bT,h.Kj,l.H,v.B]})}}return s})()},30959:(T,U,e)=>{e.d(U,{H:()=>s});var t=e(54438),r=e(42908),_=e(88432),l=e(56977),m=e(35633),P=e(17719),D=e(61930),h=e(65943),v=e(49665),E=e(46941),O=e(89417),I=e(95155),u=e(91389),f=e(49623);let s=(()=>{class i extends v.${constructor(o,a,d,c,p,M){super(),this.fb=o,this.purchaseService=a,this.documentService=d,this.downloadService=c,this.notifications=p,this.transLocoService=M,this.invoiceUpdated=new t.bkB,this.invoiceUploadData=new r.X,this.purchaseExisting=!1,this.transportUploadData=new r.X}ngOnInit(){this.loadPurchase()}onDeleteInvoice(o){this.documentService.deletePurchaseDocument(o.id,this.lotId).pipe((0,l.Q)(this.destroyed)).subscribe(()=>{this.invoiceUpdated.emit(!1),this.invoiceUploadData.uploads=[],this.notifications.success(this.transLocoService.translate("common.auction_notification.document_removed_success"))})}loadPurchase(){this.purchaseService.getPurchase(this.lotId).pipe((0,l.Q)(this.destroyed)).subscribe(o=>{null==o?this.purchaseExisting=!1:(this.purchaseExisting=!0,this.loadPurchaseDocuments())})}loadPurchaseDocuments(){this.documentService.getPurchaseDocuments(this.lotId).pipe((0,l.Q)(this.destroyed)).subscribe(o=>
1o.forEach(a=>{m.K.INVOICE===a.documentType?this.invoiceUploadData.uploads=[a]:this.transportUploadData.uploads=[a]}))}uploadInvoice(o){"application/pdf"===o.mimeType?(o.documentType=m.K.INVOICE,this.documentService.uploadPurchaseDocuments([o],this.lotId).pipe((0,l.Q)(this.destroyed)).subscribe(a=>{this.invoiceUploadData.uploads=[a[0]],this.invoiceUpdated.emit(!0),this.notifications.success(this.transLocoService.translate("common.auction_notification.document_added_success"))})):this.notifications.error(this.transLocoService.translate("common.auction_notification.only_pdfs_allowed_error"))}onDownload(o){this.documentService.downloadDocument(o).pipe((0,l.Q)(this.destroyed)).subscribe(a=>this.startDownload(a))}startDownload(o){const a=_.s.b64toBlob(o.data,o.mimeType);this.downloadService.startDownload(a,o.name)}notifyDeletionOfInvoice(o){this.invoiceUpdated.emit(!1),this.invoiceUploadData.uploads=[]}static{this.\u0275fac=function(a){return new(a||i)(t.rXU(O.ze),t.rXU(I.z),t.rXU(u.D),t.rXU(_.s),t.rXU(f.J),t.rXU(E.JO))}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["app-invoice-document-upload"]],inputs:{lotId:"lotId"},outputs:{invoiceUpdated:"invoiceUpdated"},standalone:!0,features:[t.Vt3,t.aNF],decls:8,vars:8,consts:[[1,"card"],[1,"card-block"],[1,"card-title"],[1,"card-text"],[3,"delete","upload","download","single","uploads","showUploadedFiles"],[3,"delete","lotId","documentUploads"]],template:function(a,d){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2),t.EFF(3),t.nI1(4,"transloco"),t.k0s(),t.j41(5,"div",3)(6,"app-multi-file-upload",4),t.bIt("delete",function(p){return d.onDeleteInvoice(p)})("upload",function(p){return d.uploadInvoice(p)})("download",function(p){return d.onDownload(p)}),t.k0s()(),t.j41(7,"app-uploaded-document-list",5),t.bIt("delete",function(p){return d.notifyDeletionOfInvoice(p)}),t.k0s()()()),2&a&&(t.R7$(3),t.JRh(t.bMT(4,6,"common.profile.myvandoo.invoice")),t.R7$(3),t.Y8G("single",!0)("uploads",d.invoiceUploadData)("showUploadedFiles",!1),t.R7$(),t.Y8G("lotId",d.lotId)("documentUploads",null==d.invoiceUploadData?null:d.invoiceUploadData.uploads))},dependencies:[P.I,D.Lfk,h.B,E.Kj]})}}return i})()},26765:(T,U,e)=>{e.d(U,{C:()=>f});var t=e(54438),r=e(42908),_=e(88432),l=e(56977),m=e(35633),P=e(17719),D=e(65943),h=e(49665),v=e(46941),E=e(89417),O=e(91389),I=e(95155),u=e(49623);let f=(()=>{class s extends h.${constructor(n,o,a,d,c,p){super(),this.fb=n,this.documentService=o,this.purchaseService=a,this.downloadService=d,this.notifications=c,this.translocoService=p,this.pickupDocumentUpdated=new t.bkB,this.invoiceUploadData=new r.X,this.transportUploadData=new r.X,this.purchaseExisting=!1}ngOnInit(){this.loadPurchase()}loadPurchase(){this.purchaseService.getPurchase(this.lotId).pipe((0,l.Q)(this.destroyed)).subscribe(n=>{null==n?this.purchaseExisting=!1:(this.purchaseExisting=!0,this.loadPurchaseDocuments())})}loadPurchaseDocuments(){this.invoiceUploadData.uploads=[],this.transportUploadData.uploads=[],this.documentService.getPurchaseDocuments(this.lotId).pipe((0,l.Q)(this.destroyed)).subscribe(n=>{this.invoiceUploadData.uploads=n.filter(o=>o.documentType===m.K.INVOICE),this.transportUploadData.uploads=n.filter(o=>o.documentType===m.K.TRANSPORT)})}onDownload(n){this.documentService.downloadDocument(n).subscribe(o=>this.startDownload(o))}startDownload(n){const o=_.s.b64toBlob(n.data,n.mimeType);this.downloadService.startDownload(o,n.name)}uploadPickup(n){n.documentType=m.K.TRANSPORT,this.documentService.uploadPurchaseDocument(n,this.lotId).pipe((0,l.Q)(this.destroyed)).subscribe(o=>{this.transportUploadData.uploads=[o],this.pickupDocumentUpdated.emit(!0),this.notifications.success(this.translocoService.translate("common.auction_notification.document_added_success")),this.loadPurchase()})}onDeleteTransport(n){this.documentService.deletePurchaseDocument(n.id,this.lotId).pipe((0,l.Q)(this.destroyed)).subscribe(()=>{this.pickupDocumentUpdated.emit(!1),this.transportUploadData.uploads=[]})}notifyDeletionOfTransport(n){this.pickupDocumentUpdated.emit(!1),this.transportUploadData.uploads=[]}static{this.\u0275fac=function(o){return new(o||s)(t.rXU(E.ze),t.rXU(O.D),t.rXU(I.z),t.rXU(_.s),t.rXU(u.J),t.rXU(v.JO))}}static{this.\u0275cmp=t.VBU({type:s,selectors:[["app-pickup-document-upload"]],inputs:{lotId:"lotId"},outputs:{pickupDocumentUpdated:"pickupDocumentUpdated"},standalone:!0,features:[t.Vt3,t.aNF],decls:8,vars:8,consts:[[1,"card"],[1,"card-block"],[1,"card-title"],[1,"card-text"],[3,"delete","upload","download","single","uploads","showUploadedFiles"],[3,"delete","lotId","documentUploads"]],template:function(o,a){1&o&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2),t.EFF(3),t.nI1(4,"transloco"),t.k0s(),t.j41(5,"div",3)(6,"app-multi-file-upload",4),t.bIt("delete",function(c){return a.onDeleteTrans
1port(c)})("upload",function(c){return a.uploadPickup(c)})("download",function(c){return a.onDownload(c)}),t.k0s()(),t.j41(7,"app-uploaded-document-list",5),t.bIt("delete",function(c){return a.notifyDeletionOfTransport(c)}),t.k0s()()()),2&o&&(t.R7$(3),t.JRh(t.bMT(4,6,"common.profile.myvandoo.authorisation_to_collect")),t.R7$(3),t.Y8G("single",!0)("uploads",a.transportUploadData)("showUploadedFiles",!1),t.R7$(),t.Y8G("lotId",a.lotId)("documentUploads",null==a.transportUploadData?null:a.transportUploadData.uploads))},dependencies:[P.I,D.B,v.Kj]})}}return s})()},65943:(T,U,e)=>{e.d(U,{B:()=>I});var t=e(54438),r=e(88432),_=e(49665),l=e(56977),m=e(35633),P=e(60177),D=e(61930),h=e(49623),v=e(91389),E=e(46941);function O(u,f){if(1&u){const s=t.RV6();t.j41(0,"div",2)(1,"div",3)(2,"a",4),t.bIt("click",function(){const n=t.eBV(s).$implicit,o=t.XpG();return t.Njj(o.onDownload(n.id))}),t.nrm(3,"cds-icon",5),t.EFF(4),t.j41(5,"span",6),t.EFF(6),t.k0s()()(),t.j41(7,"div",7)(8,"button",8),t.bIt("click",function(){const n=t.eBV(s).$implicit,o=t.XpG();return t.Njj(o.deleteDocument(n.id))}),t.nrm(9,"cds-icon",9),t.k0s()()()}if(2&u){const s=f.$implicit,i=t.XpG();t.R7$(4),t.SpI(" ",i.getDocumentTypeString(s.documentType)," "),t.R7$(2),t.JRh(s.name)}}let I=(()=>{class u extends _.${constructor(s,i,n,o){super(),this.notificationService=s,this.documentService=i,this.downloadService=n,this.translocoService=o,this.lotId=null,this.documentUploads=[],this.documentUploadsChanged=new t.bkB,this.delete=new t.bkB}getDocumentTypeString(s){return this.translocoService.translate((0,m.v)(s))}deleteDocument(s){this.documentService.deletePurchaseDocument(s,this.lotId).pipe((0,l.Q)(this.destroyed)).subscribe(()=>{this.documentUploads&&(this.documentUploads=this.documentUploads.filter(i=>i.id!==s&&i.documentId!==s)),this.notificationService.success(this.translocoService.translate("common.auction_notification.document_removed_success")),this.delete.emit(s)})}onDownload(s){this.documentService.downloadDocument(s).pipe((0,l.Q)(this.destroyed)).subscribe(i=>this.startDownload(i))}startDownload(s){const i=r.s.b64toBlob(s.data,s.mimeType);this.downloadService.startDownload(i,s.name)}static{this.\u0275fac=function(i){return new(i||u)(t.rXU(h.J),t.rXU(v.D),t.rXU(r.s),t.rXU(E.JO))}}static{this.\u0275cmp=t.VBU({type:u,selectors:[["app-uploaded-document-list"]],inputs:{lotId:"lotId",documentUploads:"documentUploads"},outputs:{documentUploadsChanged:"documentUploadsChanged",delete:"delete"},standalone:!0,features:[t.Vt3,t.aNF],decls:2,vars:1,consts:[[1,"card-text"],["class","clr-row mb-1-4 pl-0",4,"ngFor","ngForOf"],[1,"clr-row","mb-1-4","pl-0"],[1,"clr-col-9"],["clrTooltip","Dokumente",1,"pointer","tooltip",3,"click"],["shape","file"],[1,"tooltip-content"],[1,"clr-col-3"],["data-test","button-delete-additional-document-button","id","delete-bid-button",1,"btn","btn-sm","btn-icon",3,"click"],["shape","trash"]],template:function(i,n){1&i&&(t.j41(0,"div",0),t.DNE(1,O,10,2,"div",1),t.k0s()),2&i&&(t.R7$(),t.Y8G("ngForOf",n.documentUploads))},dependencies:[P.Sq,D.Lfk,D.BlU]})}}return u})()}}]);

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.