1"use strict";(self.webpackChunkcore_app=self.webpackChunkcore_app||[]).push([["apps_connect-app_order-history_order-history_module_ts-apps_connect-app_order-history_service-0b7067"],{14563(C,e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.AppRoutingModule=void 0;const o=t(31635),g=t(7901),c=t(39462),a=o.__importStar(t(49849)),r=(o.__importStar(t(7901)),[{path:"",children:[{path:"",redirectTo:"search",pathMatch:"full"},{path:"account/orders",redirectTo:"search",pathMatch:"full"},{path:"search",component:c.OrderSearchComponent,data:{title:"Parts & Supply Orders"}},{path:"details",redirectTo:"orderDetails",pathMatch:"full"},{path:"orderDetails",component:c.OrderDetailComponent,data:{title:"Order Details"}}]}]);e.AppRoutingModule=(()=>{class m{static{this.\u0275fac=function(n){return new(n||m)}}static{this.\u0275mod=a.\u0275\u0275defineNgModule({type:m})}static{this.\u0275inj=a.\u0275\u0275defineInjector({imports:[g.RouterModule.forChild(r),g.RouterModule]})}}return m})()},27628(C,e,t){e.OrderHistoryModule=void 0;const g=t(31635),c=t(60177),a=t(14563),M=t(39462),r=g.__importStar(t(49849));e.OrderHistoryModule=(()=>{class m{static{this.\u0275fac=function(n){return new(n||m)}}static{this.\u0275mod=r.\u0275\u0275defineNgModule({type:m})}static{this.\u0275inj=r.\u0275\u0275defineInjector({imports:[c.CommonModule,a.AppRoutingModule,M.OrderSearchModule]})}}return m})()},93464(C,e){Object.defineProperty(e,"__esModule",{value:!0}),e.InvoiceXRef=e.Content=void 0,e.Content=class t{constructor(){this.customerName="",this.orderNumber=0,this.poNumber="",this.dateSold=0,this.status="",this.invoiceXRefs=[],this.total=0,this.instanceIdUnitSerialPairs=[]}},e.InvoiceXRef=class o{constructor(){this.customerTrxId=0,this.trxNumber="",this.trackingNumber="",this.serviceRequestNumber=""}}},20963(C,e){Object.defineProperty(e,"__esModule",{value:!0}),e.DateRangeModel=void 0,e.DateRangeModel=class t{}},18140(C,e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.DaterangeComponent=void 0;const o=t(31635),g=t(49849),c=t(6324),a=o.__importDefault(t(97586)),M=t(20963),r=t(59091),i=t(43481),u=(t(86229),t(60177)),P=t(40509),n=o.__importStar(t(49849)),f=o.__importStar(t(6324)),v=o.__importStar(t(86229)),h=o.__importStar(t(60177)),D=(s,_)=>({"col-12":s,"col-auto":_}),d=(s,_)=>({"col-12 pt-3":s,col:_});e.DaterangeComponent=(()=>{class s{constructor(p,O,l){this.activeModal=p,this.cd=O,this.breakpointObserver=l,this.datesSelection=new g.EventEmitter,this.unsubscribe$=new r.Subject,this.oneYearAgoJsDate=new Date((new Date).setFullYear((new Date).getFullYear()-1)),this.oneYearAgoNgbDate=new c.NgbDate(this.oneYearAgoJsDate.getFullYear(),this.oneYearAgoJsDate.getMonth()+1,this.oneYearAgoJsDate.getDate()),this.isMobile=!1,this.rangeLimit=!0,this.dateRange=new M.DateRangeModel}ngAfterViewInit(){this.breakpointObserver.observe(["(max-width: 576px)"]).pipe((0,i.takeUntil)(this.unsubscribe$)).subscribe(p=>{p.breakpoints["(max-width: 576px)"]&&(this.isMobile=!0),this.cd.detectChanges()})}get startDate(){return this.dateRange.startDate}set startDate(p){this.dateRange.startDate=p}get endDate(){return this.dateRange.endDate}set endDate(p){}onRangeSet(){this.datesSelection.emit(this.dateRange),this.activeModal.close()}onDateRangeSelection(p){this.dateRange.startDate=(0,a.default)(p.startDate).utc().startOf("day").valueOf(),this.dateRange.endDate=(0,a.default)(p.endDate).utc().endOf("day").valueOf()}getEarliestDate(){return this.rangeLimit?this.oneYearAgoNgbDate:new c.NgbDate(1970,1,1)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static{this.\u0275fac=function(O){return new(O||s)(n.\u0275\u0275directiveInject(f.NgbActiveModal),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(v.BreakpointObserver))}}static{this.\u0275cmp=n.\u0275\u0275defineComponent({type:s,selectors:[["altcon-daterange"]],inputs:{rangeLimit:"rangeLimit"},outputs:{datesSelection:"datesSelection"},decls:15,vars:11,consts:[[1,"modal-header"],["type","button","aria-label","Close",1,"close",3,"click"],[1,"modal-title"],["id","myModal","ngbAutofocus","",1,"modal-body"],[1,"row","d-flex","align-items-center"],[3,"ngClass"],[1,"row","d-flex","justify-content-center"],[1,"col-auto"],[3,"dateRangeSelection","earliestDate","alignDatePicker","showClearSelectionButton"],[1,"w-100","set-wrap","d-grid"],[1,"btn-altec","set-button",3,"click"]],template:function(O,l){1&O&&(n.\u0275\u0275elementStart(0,"div",0)(1,"button",1),n.\u0275\u0275listener("click",function(){return l.activeModal.dismiss()}),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(3,"h3",2),n.\u0275\u0275text(4,"Custom Date Range"),n.\u0275\u0275elementEnd()(),n.\u0275\u0275elementStart(5,"div",3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"div",7)(10,"altcon-inline-daterange",8),n.\u0275\u0275listener("dateRangeSelection",function(S){return l.onDateRangeSelection(S)}),n.\u0275\u0275elementEnd()()()(),n.\u0275\u0275elementStart(11,"div",5)(12,"div",9)(13,"button",10),n.\u0275\u0275listener("click",function(){return l.onRangeSet()}),n.\u0275\u0275text(14,"Set"),n.\u0275\u0275elementEnd()()()()()),2&O&&(n.\u0275\u0275advance(7),n.\u0275\u0275property("ngClass",n.\u0275\u0275pureFunction2(5,D,l.isMobile,!l.isMobile)),n.\u0275\u0275advance(3),n.\u0275\u0275property("earliestDate",l.getEarliestDate())("alignDatePicker","LEFT")("showClearSelectionButton",!1),n.\u0275\u0275advance(),n.\u0275\u0275property("ngClass",n.\u0275\u0275pureFunction2(8,d,l.isMobile,!l.isMobile)))},dependencies:[u.CommonModule,h.NgClass,P.InlineDaterangeComponent],styles:["[_ngcontent-%COMP%]:root{--bs-gutter-x: 1.5rem;--bs-gutter-y: 1.5rem}.d-flex[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:none}.col[_ngcontent-%COMP%]{flex:1 0 0;padding-left:var(--bs-gutter-x, 1.5rem);padding-right:var(--bs-gutter-x, 1.5rem)}@media only screen and (min-width:576px){.col-sm-auto[_ngcontent-%COMP%]{flex:0 0 auto;width:auto;max-width:none}}@media only screen and (min-width:768px){.col-md-auto[_ngcontent-%COMP%]{flex:0 0 auto;width:auto;max-width:none}}.col-auto[_ngcontent-%COMP%]{flex:0 0 auto;width:auto;max-width:100%;padding-left:var(--bs-gutter-x, 1.5rem);padding-right:var(--bs-gutter-x, 1.5rem)}.justify-content-center[_ngcontent-%COMP%]{justify-content:center}.justify-content-end[_ngcontent-%COMP%]{justify-content:end}.align-items-center[_ngcontent-%COMP%]{align-items:center}.align-items-end[_ngcontent-%COMP%]{align-items:end}.flex-column-reverse[_ngcontent-%COMP%]{flex-direction:column-reverse}.d-flex[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}@media only screen and (min-width:768px){.d-md-block[_ngcontent-%COMP%]{display:block}}@media only screen and (min-width:768px){.d-md-none[_ngcontent-%COMP%]{display:none}}@media only screen and (min-width:768px){.d-md-flex[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}}@media only screen and (min-width:992px){.d-lg-none[_ngcontent-%COMP%]{display:none!important}}@media only screen and (min-width:992px){.d-lg-block[_ngcontent-%COMP%]{display:block!important}}.w-100[_ngcontent-%COMP%]{width:100%!important}.h-100[_ngcontent-%COMP%]{height:100%!important}.px-3[_ngcontent-%COMP%]{padding-left:15px!important;padding-right:15px!important}.pr-0[_ngcontent-%COMP%]{padding-right:0!important}.pl-0[_ngcontent-%COMP%]{padding-left:0!important}.pt-3[_ngcontent-%COMP%]{padding-top:1rem}.pb-3[_ngcontent-%COMP%]{padding-bottom:1rem}.mb-3[_ngcontent-%COMP%]{margin-bottom:1rem}.pb-2[_ngcontent-%COMP%]{padding-bottom:.5rem}@media print{.no-print[_ngcontent-%COMP%]{display:none!important}}.m-0[_ngcontent-%COMP%]{margin:0!important}.mt-0[_ngcontent-%COMP%]{margin-top:0!important}.mb-0[_ngcontent-%COMP%]{margin-bottom:0!important}.ms-0[_ngcontent-%COMP%]{margin-left:0!important}.me-0[_ngcontent-%COMP%]{margin-right:0!important}.mx-0[_ngcontent-%COMP%]{margin-left:0!important;margin-right:0!important}.my-0[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:0!important}.p-0[_ngcontent-%COMP%]{padding:0!important}.pt-0[_ngcontent-%COMP%]{padding-top:0!important}.pb-0[_ngcontent-%COMP%]{padding-bottom:0!important}.ps-0[_ngcontent-%COMP%]{padding-left:0!important}.pe-0[_ngcontent-%COMP%]{padding-right:0!important}.px-0[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.py-0[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}.m-1[_ngcontent-%COMP%]{margin:.25rem!important}.mt-1[_ngcontent-%COMP%]{margin-top:.25rem!important}.mb-1[_ngcontent-%COMP%]{margin-bottom:.25rem!important}.ms-1[_ngcontent-%COMP%]{margin-left:.25rem!important}.me-1[_ngcontent-%COMP%]{margin-right:.25rem!important}.mx-1[_ngcontent-%COMP%]{margin-left:.25rem!important;margin-right:.25rem!important}.my-1[_ngcontent-%COMP%]{margin-top:.25rem!important;margin-bottom:.25rem!important}.p-1[_ngcontent-%COMP%]{padding:.25rem!important}.pt-1[_ngcontent-%COMP%]{padding-top:.25rem!important}.pb-1[_ngcontent-%COMP%]{padding-bottom:.25rem!important}.ps-1[_ngcontent-%COMP%]{padding-left:.25rem!important}.pe-1[_ngcontent-%COMP%]{padding-right:.25rem!important}.px-1[_ngcontent-%COMP%]{padding-left:.25rem!important;padding-right:.25rem!important}.py-1[_ngcontent-%COMP%]{padding-top:.25rem!important;padding-bottom:.25rem!important}.m-2[_ngcontent-%COMP%]{margin:.5rem!important}.mt-2[_ngcontent-%COMP%]{margin-top:.5rem!important}.mb-2[_ngcontent-%COMP%]{margin-bottom:.5rem!important}.ms-2[_ngcontent-%COMP%]{margin-left:.5rem!important}.me-2[_ngcontent-%COMP%]{margin-right:.5rem!important}.mx-2[_ngcontent-%COMP%]{margin-left:.5rem!important;margin-right:.5rem!important}.my-2[_ngcontent-%COMP%]{margin-top:.5rem!important;margin-bottom:.5rem!important}.p-2[_ngcontent-%COMP%]{padding:.5rem!important}.pt-2[_ngcontent-%COMP%]{padding-top:.5rem!important}.pb-2[_ngcontent-%COMP%]{padding-bottom:.5rem!important}.ps-2[_ngcontent-%COMP%]{padding-left:.5rem!important}
1.pe-2[_ngcontent-%COMP%]{padding-right:.5rem!important}.px-2[_ngcontent-%COMP%]{padding-left:.5rem!important;padding-right:.5rem!important}.py-2[_ngcontent-%COMP%]{padding-top:.5rem!important;padding-bottom:.5rem!important}.m-3[_ngcontent-%COMP%]{margin:1rem!important}.mt-3[_ngcontent-%COMP%]{margin-top:1rem!important}.mb-3[_ngcontent-%COMP%]{margin-bottom:1rem!important}.ms-3[_ngcontent-%COMP%]{margin-left:1rem!important}.me-3[_ngcontent-%COMP%]{margin-right:1rem!important}.mx-3[_ngcontent-%COMP%]{margin-left:1rem!important;margin-right:1rem!important}.my-3[_ngcontent-%COMP%]{margin-top:1rem!important;margin-bottom:1rem!important}.p-3[_ngcontent-%COMP%]{padding:1rem!important}.pt-3[_ngcontent-%COMP%]{padding-top:1rem!important}.pb-3[_ngcontent-%COMP%]{padding-bottom:1rem!important}.ps-3[_ngcontent-%COMP%]{padding-left:1rem!important}.pe-3[_ngcontent-%COMP%]{padding-right:1rem!important}.px-3[_ngcontent-%COMP%]{padding-left:1rem!important;padding-right:1rem!important}.py-3[_ngcontent-%COMP%]{padding-top:1rem!important;padding-bottom:1rem!important}.m-4[_ngcontent-%COMP%]{margin:1.5rem!important}.mt-4[_ngcontent-%COMP%]{margin-top:1.5rem!important}.mb-4[_ngcontent-%COMP%]{margin-bottom:1.5rem!important}.ms-4[_ngcontent-%COMP%]{margin-left:1.5rem!important}.me-4[_ngcontent-%COMP%]{margin-right:1.5rem!important}.mx-4[_ngcontent-%COMP%]{margin-left:1.5rem!important;margin-right:1.5rem!important}.my-4[_ngcontent-%COMP%]{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.p-4[_ngcontent-%COMP%]{padding:1.5rem!important}.pt-4[_ngcontent-%COMP%]{padding-top:1.5rem!important}.pb-4[_ngcontent-%COMP%]{padding-bottom:1.5rem!important}.ps-4[_ngcontent-%COMP%]{padding-left:1.5rem!important}.pe-4[_ngcontent-%COMP%]{padding-right:1.5rem!important}.px-4[_ngcontent-%COMP%]{padding-left:1.5rem!important;padding-right:1.5rem!important}.py-4[_ngcontent-%COMP%]{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.m-5[_ngcontent-%COMP%]{margin:3rem!important}.mt-5[_ngcontent-%COMP%]{margin-top:3rem!important}.mb-5[_ngcontent-%COMP%]{margin-bottom:3rem!important}.ms-5[_ngcontent-%COMP%]{margin-left:3rem!important}.me-5[_ngcontent-%COMP%]{margin-right:3rem!important}.mx-5[_ngcontent-%COMP%]{margin-left:3rem!important;margin-right:3rem!important}.my-5[_ngcontent-%COMP%]{margin-top:3rem!important;margin-bottom:3rem!important}.p-5[_ngcontent-%COMP%]{padding:3rem!important}.pt-5[_ngcontent-%COMP%]{padding-top:3rem!important}.pb-5[_ngcontent-%COMP%]{padding-bottom:3rem!important}.ps-5[_ngcontent-%COMP%]{padding-left:3rem!important}.pe-5[_ngcontent-%COMP%]{padding-right:3rem!important}.px-5[_ngcontent-%COMP%]{padding-left:3rem!important;padding-right:3rem!important}.py-5[_ngcontent-%COMP%]{padding-top:3rem!important;padding-bottom:3rem!important}.set-wrap[_ngcontent-%COMP%]{display:flex;justify-content:end}@media(max-width:576px){.set-wrap[_ngcontent-%COMP%]{justify-content:center}}.set-wrap[_ngcontent-%COMP%] .set-button[_ngcontent-%COMP%]{width:120px}.custom-input-wrap[_ngcontent-%COMP%]{position:relative;display:inline-block}.custom-input-wrap[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:2rem;padding-right:1.5rem}.custom-input-wrap[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:hover{background-color:#fff}.custom-input-wrap[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:absolute}.custom-input-wrap[_ngcontent-%COMP%] .icon.fa-calendar[_ngcontent-%COMP%]{top:35%;left:2.5rem}.custom-input-wrap[_ngcontent-%COMP%] .icon.caret[_ngcontent-%COMP%]{top:46%;right:2.5rem}.custom-input-wrap[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]:hover{cursor:pointer}"]})}}return s})()},8606(C,e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.TruncatePipe=void 0;const g=t(31635).__importStar(t(49849));e.TruncatePipe=(()=>{class a{transform(r,i){return r?(i||(i=28),r.length>i?r.substring(0,i)+"...":r):""}static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275pipe=g.\u0275\u0275definePipe({name:"truncate",type:a,pure:!0,standalone:!1})}}return a})()},96257(C,e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.OrderSearchService=void 0;const o=t(31635),i=(t(2490),t(7901),t(6127),t(97377),t(53323),o.__importStar(t(49849))),m=o.__importStar(t(53323)),u=o.__importStar(t(2490)),P=o.__importStar(t(7901)),n=o.__importStar(t(6127)),f=o.__importStar(t(97377));e.OrderSearchService=(()=>{class h{constructor(d,b,s,_,p){this.integrationClient=d,this.cookieService=b,this.router=s,this.httpClient=_,this.statefulService=p}searchRequest(d){return this.integrationClient.request("order/search/paged/sold/",d)}getOrderDetails(d){return this.integrationClient.request("order/search/ordernumber/",d)}getCsvDownloadUrl(d){return this.integrationClient.generateGetUrl("/order/csv/search",d,"text/csv")}getDynSessConf(){return this.cookieService.check("dynSessConf")?this.cookieService.get("dynSessConf"):""}getContactId(){return this.statefulService.profile.contactId.toString()}static{this.\u0275fac=function(b){return new(b||h)(i.\u0275\u0275inject(m.IntegrationClientService),i.\u0275\u0275inject(u.CookieService),i.\u0275\u0275inject(P.Router),i.\u0275\u0275inject(n.HttpClient),i.\u0275\u0275inject(f.StatefulService))}}static{this.\u0275prov=i.\u0275\u0275defineInjectable({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()}
1,99260(C,e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.DateRangeWidget=void 0;const o=t(31635),c=(t(6324),o.__importDefault(t(97586))),a=t(18140),M=t(83352),r=o.__importStar(t(49849)),i=o.__importStar(t(6324));e.DateRangeWidget=(()=>{class u{constructor(n){this.modal=n,this.modalOptions=M.GlobalConstants.MODAL_DEFAULT_OPTIONS}open(){const n=this.modal.open(a.DaterangeComponent,this.modalOptions);return n.componentInstance.startDate=(0,c.default)().subtract(1,"weeks").format("L").valueOf(),n.componentInstance.endDate=(0,c.default)().format("L").valueOf(),n.componentInstance}static{this.\u0275fac=function(f){return new(f||u)(r.\u0275\u0275inject(i.NgbModal))}}static{this.\u0275prov=r.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}}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.