PageSourceSearch

https://my.ssab.com/chunk-ZHTQGOY2.js

js ssab.com collected 2026-09-24 09:18:56 UTC 39,216 bytes, 3 lines download raw bytes

1import{a as Ot,c as M,d as qt}from"./chunk-7OQOIX26.js";import{E as K,Q as bt,R as A,g as re,h as vt}from"./chunk-ZFA2NM7H.js";import{$ as pt,Ab as kt,Bb as Ct,Da as Se,E as at,Ea as mt,F as qe,G as H,Ha as gt,Q as dt,Qa as _t,R as lt,Ra as ht,S as ut,c as ye,g as ke,gb as Ee,h as Ce,j as st,m as ie,mb as Te,nb as ft,o as ve,ob as xt,p as ct,pb as yt,v as be,w as Oe}from"./chunk-2OP7G2MH.js";import{$d as ge,A as Qe,Ag as fe,C as Be,Cc as s,Ce as ee,Db as a,Dc as c,E as L,Eb as d,Ec as b,Fb as l,Gb as C,Gc as Ge,He as _e,J as $e,Kb as q,Kh as it,Lb as S,Lh as rt,Me as Ke,N as Ae,O as D,Ob as E,Qb as O,R as Le,Sa as Re,Sb as p,Uc as We,Uh as N,Vc as pe,Vf as et,Vh as xe,W as j,Wb as oe,Wd as He,Xa as o,Xb as se,Yb as ce,_e as ze,a as F,ac as Ve,bd as Ue,c as Fe,cc as ae,cd as J,d as w,dd as Y,di as nt,eb as k,ec as Ne,ei as ot,fa as G,fc as g,ff as Xe,fg as he,gc as de,hb as R,hc as h,ia as W,ib as $,ic as le,if as Je,jd as Z,n as P,nb as _,oa as U,pa as B,pd as Ye,qc as ue,qf as Ze,r as Q,ra as T,s as Me,sa as De,sd as me,u as Pe,ub as I,xa as f,xc as v,xf as te,xh as tt,ya as x,yc as X,yg as V,zc as je}from"./chunk-CFFQSBE2.js";import"./chunk-XPQUH2J6.js";var St=(()=>{class r{constructor(e,t,i,n){this.activeCartService=e,this.config=t,this.eventService=i,this.productSearchConnector=n,this.productAdded$=new Fe,this.entries$=new w([]),this.softDeletedEntries$=new w({}),this.nonPurchasableProductError$=new w(null),this.hardDeleteTimeout=this.config.quickOrder?.list?.hardDeleteTimeout||7e3,this.quickOrderListLimit=0,this.clearDeleteTimeouts={}}ngOnDestroy(){this.clearDeletedEntries()}getEntries(){return this.entries$}searchProducts(e,t){if(this.productSearchConnector){let i={pageSize:t||Ot.quickOrder?.searchForm?.maxProducts};return this.productSearchConnector.search(e,i).pipe(Q(n=>n.products||[]))}else return P([])}clearList(){this.entries$.next([])}canAdd(e,t){return e&&t?P(this.isProductOnTheList(e)||!this.isLimitExceeded(e,t)):e?P(this.isProductOnTheList(e)||!this.isLimitExceeded()):P(!this.isLimitExceeded())}setListLimit(e){this.quickOrderListLimit=e}loadEntries(e=[]){this.entries$.next(e)}updateEntryQuantity(e,t){let i=this.entries$.getValue()||[];i[e].quantity=t,this.entries$.next(i)}softDeleteEntry(e){this.entries$.pipe(D(1)).subscribe(t=>{let i=t;this.addSoftEntryDeletion(i[e],!0),i.splice(e,1),this.entries$.next(i)})}addProduct(e,t=1){let i=this.generateOrderEntry(e,t);this.addEntry(i)}getProductAdded(){return this.productAdded$}setProductAdded(e){this.productAdded$.next(e)}addToCart(){let e=[],t=[],i=this.eventService.get(re).subscribe(n=>{(n.quantityAdded===0||n.quantityAdded&&n.quantityAdded<n.quantity)&&t.push(this.createQuickOrderResultEvent(n))});return i.add(this.eventService.get(vt).subscribe(n=>{t.push(this.createQuickOrderResultEvent(n))})),this.getEntries().pipe(j(),G(n=>(e=n,this.activeCartService.addEntries(n),this.clearList(),this.activeCartService.isStable())),L(n=>n),Q(()=>[e,t]),W(()=>i.unsubscribe()))}getSoftDeletedEntries(){return this.softDeletedEntries$}restoreSoftDeletedEntry(e){let t=this.getSoftDeletedEntry(e);this.addEntry(t),this.hardDeleteEntry(e)}hardDeleteEntry(e){let t=this.getSoftDeletedEntry(e),i=this.softDeletedEntries$.getValue();t&&(delete i[e],this.softDeletedEntries$.next(i)),this.clearDeleteTimeout(e)}clearDeletedEntries(){Object.values(this.clearDeleteTimeouts).forEach(e=>e.unsubscribe()),this.softDeletedEntries$.next({}),this.clearDeleteTimeouts={}}getNonPurchasableProductError(){return this.nonPurchasableProductError$}setNonPurchasableProductError(e){this.nonPurchasableProductError$.next(e)}clearNonPurchasableProductError(){this.nonPurchasableProductError$.next(null)}addSoftEntryDeletion(e,t=!0){let i=this.softDeletedEntries$.getValue(),n=e?.product?.code;if(n&&(i[n]=e,this.softDeletedEntries$.next(i),t)){let m=Qe(this.hardDeleteTimeout).subscribe(()=>{this.hardDeleteEntry(n)});this.clearDeleteTimeouts[n]=m}}getSoftDeletedEntry(e){return this.softDeletedEntries$.getValue()[e]}generateOrderEntry(e,t){return{basePrice:e.price,product:e,quantity:t,totalPrice:e.price}}addEntry(e){if(e?.product?.code&&!this.isProductOnTheList(e.product.code)&&this.isLimitExceeded())return;let t=this.entries$.getValue()||[],i=e.product?.stock?.stockLevel;if(i&&e.quantity&&e.quantity>i&&(e.quantity=i),e.product?.code&&this.isProductOnTheList(e.product.code)){let n=t.findIndex(y=>y.product?.code===e.product?.code),m=t[n].quantity;if(m&&e.quantity){t[n].quantity=m+e?.quantity;let y=t[n].quantity;
1y&&i&&y>i&&(t[n].quantity=i),this.entries$.next([...t])}}else this.entries$.next([...t,e]);this.productAdded$.next(e.product?.code)}isProductOnTheList(e){return!!(this.entries$.getValue()||[]).find(i=>i.product?.code===e)}isLimitExceeded(e,t){let i=this.entries$.getValue()||[],n=e&&t?this.getMissingProductIndex(i,e,t):0;return i.length+(n||0)>=this.quickOrderListLimit}getMissingProductIndex(e,t,i){return(i?.filter(m=>!e.map(y=>y.product?.code).includes(m.productCode))||[]).findIndex(m=>m.productCode===t)}createQuickOrderResultEvent(e){let t={productCode:e.productCode,quantity:e.quantity};if("entry"in e&&(t.entry=e.entry),"quantityAdded"in e&&(t.quantityAdded=e.quantityAdded),"error"in e&&e.error instanceof Ke&&(t.error=e.error),t.error?.details?.length){let i=t.error?.details.some(n=>n.type==="InsufficientStockError");t.quantityAdded=i?0:t.quantity}return t}clearDeleteTimeout(e){let t=this.clearDeleteTimeouts[e];t&&(t.unsubscribe(),delete this.clearDeleteTimeouts[e])}static{this.\u0275fac=function(t){return new(t||r)(T(K),T(ee),T(te),T(ot))}}static{this.\u0275prov=U({token:r,factory:r.\u0275fac})}}return r})(),Nt=[St,{provide:M,useExisting:St}],we=(()=>{class r{constructor(e,t,i){this.quickOrderService=e,this.siteContextParamsService=t,this.statePersistenceService=i,this.subscription=new F,this.key="quick-order"}initSync(){this.subscription.add(this.statePersistenceService.syncWithStorage({key:this.key,state$:this.quickOrderService.getEntries(),context$:this.siteContextParamsService.getValues([Je]),storageType:Ze.SESSION_STORAGE,onRead:e=>this.onRead(e)}))}onRead(e){e&&this.quickOrderService.loadEntries(e)}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||r)(T(M),T(tt),T(et))}}static{this.\u0275prov=U({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})(),Tt=(()=>{class r{static forRoot(){return{ngModule:r}}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275mod=$({type:r})}static{this.\u0275inj=B({providers:[...Nt,we]})}}return r})();function Gt(r,u){if(r&1){let e=E();q(0),d(1,"div",1),g(2),s(3,"cxTranslate"),l(),d(4,"div",2)(5,"form",3),O("ngSubmit",function(){f(e);let i=p();return x(i.applyQuickOrder())}),d(6,"div",4)(7,"span",5)(8,"label",6),g(9),s(10,"cxTranslate"),C(11,"cx-form-required-asterisks"),l(),C(12,"input",7),s(13,"cxTranslate"),s(14,"cxTranslate"),l(),d(15,"span",8)(16,"label",6),g(17),s(18,"cxTranslate"),C(19,"cx-form-required-asterisks"),l(),C(20,"input",9),s(21,"cxTranslate"),l(),d(22,"button",10),s(23,"async"),s(24,"async"),s(25,"cxTranslate"),g(26),s(27,"cxTranslate"),l()()()(),S()}if(r&2){let e,t=p();o(2),h(" ",c(3,13,"quickOrderCartForm.title")," "),o(3),a("formGroup",t.quickOrderForm),o(4),h(" ",c(10,15,"quickOrderCartForm.productCodeLabel")," "),o(3),a("placeholder",ue(c(13,17,"quickOrderCartForm.productCodePlaceholder"))),I("aria-label",c(14,19,"quickOrderCartForm.entryProductCode")),o(5),h(" ",c(18,21,"quickOrderCartForm.quantityFullLabel")," "),o(3),I("aria-label",c(21,23,"quickOrderCartForm.quantity")),o(2),ae("disabled",c(23,25,t.cartIsLoading$)),a("disabled",c(24,27,t.cartIsLoading$)||!(!(t.quickOrderForm==null||(e=t.quickOrderForm.get("productCode"))==null)&&e.value)||!(!(t.quickOrderForm==null||(e=t.quickOrderForm.get("quantity"))==null)&&e.value)),I("aria-label",c(25,29,"quickOrderCartForm.addToCart")),o(4),h(" ",c(27,31,"quickOrderCartForm.add")," ")}}var Wt=["quickOrderInput"],Mt=r=>({limit:r}),z=r=>({count:r}),Ut=r=>({id:r});function Yt(r,u){if(r&1){let e=E();d(0,"button",11),s(1,"cxTranslate"),s(2,"cxTranslate"),O("click",function(i){f(e);let n=p();return x(n.clear(i))})("keydown.enter",function(i){f(e);let n=p();return x(n.clear(i))}),C(3,"cx-icon",12),l()}if(r&2){let e=p();I("aria-label",c(1,3,"common.reset"))("title",c(2,5,"common.reset")),o(3),a("type",e.iconTypes.RESET)}}function Ht(r,u){if(r&1&&(d(0,"button",13),s(1,"cxTranslate"),s(2,"cxTranslate"),C(3,"cx-icon",12),l()),r&2){let e=p();I("aria-label",c(1,3,"common.search"))("title",c(2,5,"common.search")),o(3),a("type",e.iconTypes.SEARCH)}}
1function Kt(r,u){r&1&&(d(0,"span",14),g(1),s(2,"cxTranslate"),l()),r&2&&(o(),h(" ",c(2,1,"quickOrderForm.listLimitReached")," "))}function zt(r,u){if(r&1&&C(0,"cx-media",23),r&2){let e=p().$implicit;a("alt",e.name)("container",e.images==null?null:e.images.PRIMARY)}}function Xt(r,u){if(r&1){let e=E();d(0,"li",17)(1,"button",18),O("blur",function(i){f(e);let n=p(2);return x(n.onBlur(i))})("mousedown",function(i){let n=f(e).$implicit,m=p(2);return x(m.add(n,i))})("keydown.arrowdown",function(i){f(e);let n=p(2);return x(n.focusNextChild(i))})("keydown.arrowup",function(i){f(e);let n=p(2);return x(n.focusPreviousChild(i))})("keydown.enter",function(i){let n=f(e).$implicit,m=p(2);return x(m.add(n,i))})("keydown.escape",function(i){f(e);let n=p(2);return x(n.clear(i))})("keydown.tab",function(){f(e);let i=p(2);return x(i.close())})("keydown.shift.tab",function(){f(e);let i=p(2);return x(i.close())}),_(2,zt,1,2,"cx-media",19),C(3,"div",20),d(4,"span",21),g(5),s(6,"cxTranslate"),l(),d(7,"span",22),g(8),l()()()}if(r&2){let e=u.$implicit,t=p(2);o(),ae("has-media",t.config==null||t.config.quickOrder==null||t.config.quickOrder.searchForm==null?null:t.config.quickOrder.searchForm.displayProductImages),o(),a("ngIf",t.config==null||t.config.quickOrder==null||t.config.quickOrder.searchForm==null?null:t.config.quickOrder.searchForm.displayProductImages),o(),a("innerHTML",e.name,Re),o(2),h(" ",b(6,6,"quickOrderForm.id",v(9,Ut,e.code))," "),o(3),de(e.price==null?null:e.price.formattedValue)}}function Jt(r,u){if(r&1&&(d(0,"ul",15),_(1,Xt,9,11,"li",16),l()),r&2){let e=p();o(),a("ngForOf",e.results)}}function Zt(r,u){r&1&&(d(0,"span",24),g(1),s(2,"cxTranslate"),l()),r&2&&(o(),h(" ",c(2,1,"quickOrderForm.noResults")," "))}var ei=["cx-quick-order-item",""],ti=(r,u)=>({disabled:r,"img-missing":u}),wt=r=>({cxRoute:"product",params:r}),ii=r=>({disabled:r});function ri(r,u){if(r&1&&C(0,"tr",10),r&2){let e=u.$implicit,t=u.index,i=p(2);a("entry",e)("index",t)("loading",i.loading)}}function ni(r,u){if(r&1&&(d(0,"table",1)(1,"caption",2),g(2),s(3,"cxTranslate"),l(),d(4,"thead")(5,"tr",3)(6,"th",4),g(7),s(8,"cxTranslate"),l(),d(9,"th",5),g(10),s(11,"cxTranslate"),l(),d(12,"th",6),g(13),s(14,"cxTranslate"),l(),d(15,"th",7),g(16),s(17,"cxTranslate"),l()()(),d(18,"tbody",8),_(19,ri,1,3,"tr",9),l()()),r&2){let e=p();o(2),h(" ",c(3,6,"quickOrderTable.caption")," "),o(5),h(" ",c(8,8,"quickOrderTable.product")," "),o(3),h(" ",c(11,10,"quickOrderTable.price")," "),o(3),h(" ",c(14,12,"quickOrderTable.quantityFull")," "),o(3),h(" ",c(17,14,"quickOrderTable.actions")," "),o(3),a("ngForOf",e.entries)}}var oi=["quickOrderForm"],Ie=r=>({name:r}),Pt=(r,u)=>({name:r,code:u}),si=(r,u,e)=>({name:r,code:u,quantityAdded:e});function ci(r,u){if(r&1&&(q(0),C(1,"cx-message",3),s(2,"cxTranslate"),S()),r&2){let e=p(2).ngIf,t=p();o(),a("text",b(2,3,"quickOrderList.errors.listIsFull",v(6,z,e.length)))("isVisibleCloseButton",!1)("type",t.globalMessageType.MSG_TYPE_ERROR)}}function ai(r,u){if(r&1&&(q(0),_(1,ci,3,8,"ng-container",2),S()),r&2){let e,t=p(2);o(),a("ngIf",t.quickOrderForm==null||t.quickOrderForm.form==null||(e=t.quickOrderForm.form.get("product"))==null?null:e.dirty)}}function di(r,u){if(r&1&&(q(0),_(1,ai,2,1,"ng-container",2),s(2,"async"),S()),r&2){let e=p();o(),a("ngIf",!c(2,1,e.canAddProduct()))}}function li(r,u){if(r&1){let e=E();q(0),d(1,"cx-message",4),s(2,"cxTranslate"),O("closeMessage",function(){f(e);let i=p();return x(i.clearAddToCartInformation())}),l(),S()}if(r&2){let e=p();o(),a("text",c(2,2,"quickOrderList.informations.addProductBeforeAddingToCart"))("type",e.globalMessageType.MSG_TYPE_ERROR)}}function ui(r,u){if(r&1){let e=E();q(0),d(1,"cx-message",5),s(2,"cxTranslate"),O("closeMessage",function(){f(e);let i=p();return x(i.clearNonPurchasableError())}),l(),S()}if(r&2){let e=u.ngIf,t=p();o(),a("text",b(2,2,"quickOrderList.errors.nonPurchasableError",v(5,Ie,e.name)))("type",t.globalMessageType.MSG_TYPE_ERROR)}}function pi(r,u){if(r&1){let e=E();d(0,"cx-message",7),s(1,"cxTranslate"),s(2,"cxTranslate"),s(3,"cxTranslate"),O("buttonAction",function(){let i=f(e).$implicit,n=p(2);return x(n.undoDeletion(i.value))})("closeMessage",function(){let i=f(e).$implicit,n=p(2);
1return x(n.clearDeletion(i.value))}),l()}if(r&2){let e=u.$implicit,t=p(2);a("actionButtonText",c(1,4,"quickOrderList.undo"))("actionButtonMessage",b(2,6,"quickOrderList.revokeUndo",v(12,Ie,e.value.product==null?null:e.value.product.name)))("text",b(3,9,"quickOrderList.productWasDeleted",v(14,Ie,e.value.product==null?null:e.value.product.name)))("type",t.globalMessageType.MSG_TYPE_CONFIRMATION)}}function mi(r,u){if(r&1&&(q(0),_(1,pi,4,16,"cx-message",6),s(2,"keyvalue"),S()),r&2){let e=u.ngIf;o(),a("ngForOf",c(2,1,e))}}function gi(r,u){if(r&1&&(d(0,"li",13)(1,"span"),g(2),s(3,"cxTranslate"),l()()),r&2){let e=u.$implicit;o(2),h(" ",b(3,1,"quickOrderList.errors.productIsOutOfStock",X(4,Pt,e.entry.product.name,e.entry.product.code))," ")}}function _i(r,u){if(r&1){let e=E();d(0,"cx-message",9),s(1,"cxTranslate"),s(2,"cxTranslate"),O("closeMessage",function(){f(e);let i=p(2);return x(i.clearErrors())}),d(3,"ul",10),_(4,gi,4,7,"li",11),l(),d(5,"div",12),g(6),s(7,"cxTranslate"),l()()}if(r&2){let e=p().ngIf,t=p();a("accordionText",c(1,5,"quickOrderList.errors.reviewErrors"))("text",c(2,7,"quickOrderList.errorProceedingToCart"))("type",t.globalMessageType.MSG_TYPE_ERROR),o(4),a("ngForOf",e),o(2),h(" ",b(7,9,"quickOrderList.errors.outOfStockErrorFound",v(12,z,e.length))," ")}}function hi(r,u){if(r&1&&(q(0),_(1,_i,8,14,"cx-message",8),S()),r&2){let e=u.ngIf;o(),a("ngIf",e.length)}}function fi(r,u){if(r&1&&(d(0,"li",18)(1,"span"),g(2),s(3,"cxTranslate"),l()()),r&2){let e=u.$implicit;o(2),h(" ",b(3,1,"quickOrderList.warnings.productWasReduced",je(4,si,e.entry.product.name,e.entry.product.code,e.quantityAdded))," ")}}function xi(r,u){if(r&1){let e=E();d(0,"cx-message",15),s(1,"cxTranslate"),s(2,"cxTranslate"),O("closeMessage",function(){f(e);let i=p(2);return x(i.clearWarnings())}),d(3,"ul",16),_(4,fi,4,8,"li",17),l(),d(5,"div",12),g(6),s(7,"cxTranslate"),l()()}if(r&2){let e=p().ngIf,t=p();a("accordionText",c(1,5,"quickOrderList.warnings.reviewWarnings"))("text",c(2,7,"quickOrderList.warningProceedingToCart"))("type",t.globalMessageType.MSG_TYPE_WARNING),o(4),a("ngForOf",e),o(2),h(" ",b(7,9,"quickOrderList.warnings.reduceWarningFound",v(12,z,e.length))," ")}}function yi(r,u){if(r&1&&(q(0),_(1,xi,8,14,"cx-message",14),S()),r&2){let e=u.ngIf;o(),a("ngIf",e.length)}}function ki(r,u){if(r&1&&(d(0,"li",23)(1,"span"),g(2),s(3,"cxTranslate"),l()()),r&2){let e=u.$implicit;o(2),de(b(3,1,"quickOrderList.successes.productAddedToCart",X(4,Pt,e.product.name,e.product.code)))}}function Ci(r,u){if(r&1){let e=E();d(0,"cx-message",20),s(1,"cxTranslate"),O("closeMessage",function(){f(e);let i=p(2);return x(i.clearSuccesses())}),d(2,"ul",21),_(3,ki,4,7,"li",22),l(),d(4,"div",12),g(5),s(6,"cxTranslate"),l()()}if(r&2){let e=p().ngIf,t=p();a("text",c(1,4,"quickOrderList.successfullyAddedToCart"))("type",t.globalMessageType.MSG_TYPE_CONFIRMATION),o(3),a("ngForOf",e),o(2),h(" ",b(6,6,"quickOrderList.successes.addedToCartFound",v(9,z,e.length))," ")}}function vi(r,u){if(r&1&&(q(0),_(1,Ci,7,11,"cx-message",19),S()),r&2){let e=u.ngIf;o(),a("ngIf",e.length)}}function bi(r,u){if(r&1){let e=E();d(0,"button",33),s(1,"async"),s(2,"cxTranslate"),O("click",function(){f(e);let i=p(3);return x(i.clear())}),g(3),s(4,"cxTranslate"),l()}if(r&2){let e=p(3);a("disabled",!c(1,3,e.isCartStable$)),I("aria-label",c(2,5,"quickOrderList.emptyList")),o(3),h(" ",c(4,7,"quickOrderList.emptyList")," ")}}function Oi(r,u){if(r&1){let e=E();q(0),d(1,"div",24)(2,"h2"),g(3),s(4,"cxTranslate"),l(),d(5,"p"),g(6),s(7,"cxTranslate"),l()(),d(8,"div",25),C(9,"cx-quick-order-form",26,0),l(),d(11,"div",27),C(12,"cx-quick-order-table",28),s(13,"async"),l(),d(14,"div",29)(15,"div",30),_(16,bi,5,9,"button",31),l(),d(17,"div",30)(18,"cx-progress-button",32),s(19,"cxTranslate"),s(20,"async"),O("clickEvent",function(){let i=f(e).ngIf,n=p(2);return x(n.addToCart(i))}),g(21),s(22,"cxTranslate"),l()()(),S()}if(r&2){let e=u.ngIf,t=p().ngIf,i=p();o(3),h(" ",c(4,11,"quickOrderList.header")," "),o(3),h(" ",b(7,13,"quickOrderList.subHeader",v(24,Mt,t))," "),o(3),a("limit",t),o(3),a("entries",e)("loading",!c(13,16,i.isCartStable$)),o(4),a("ngIf",e.length),o(2),Ne("btn-block add-button"),a("ariaLabel",c(19,18,"quickOrderList.addToCart"))("loading",!c(20,20,i.isCartStable$)),o(3),h(" ",c(22,22,"quickOrderList.addToCart")," ")}}function qi(r,u){if(r&1&&(q(0),_(1,Oi,23,26,"ng-container",2),s(2,"async"),S()),r&2){let e=p();o(),a("ngIf",c(2,1,e.entries$))}}var It=(()=>
1{class r{constructor(e,t,i,n){this.activeCartService=e,this.eventService=t,this.formBuilder=i,this.globalMessageService=n,this.cartIsLoading$=this.activeCartService.isStable().pipe(Q(m=>!m)),this.cart$=this.activeCartService.getActive(),this.min=1,this.subscription=new F,this.cartEventsSubscription=new F,this.minQuantityValue=1}ngOnInit(){this.buildForm(),this.watchQuantityChange()}ngOnDestroy(){this.subscription?.unsubscribe(),this.cartEventsSubscription?.unsubscribe()}applyQuickOrder(){if(this.quickOrderForm.invalid){this.quickOrderForm.markAllAsTouched();return}let e=this.quickOrderForm.get("productCode")?.value,t=this.quickOrderForm.get("quantity")?.value;this.watchAddEntrySuccessEvent(),e&&t&&this.activeCartService.addEntry(e,t)}buildForm(){this.quickOrderForm=this.formBuilder.group({productCode:["",[]],quantity:[this.minQuantityValue,{updateOn:"blur",validators:[]}]})}watchQuantityChange(){this.subscription.add(this.quickOrderForm.get("quantity")?.valueChanges.subscribe(e=>this.quickOrderForm.get("quantity")?.setValue(this.getValidCount(e),{emitEvent:!1})))}watchAddEntrySuccessEvent(){this.cartEventsSubscription.add(this.eventService.get(re).pipe(j()).subscribe(e=>{let t="quickOrderCartForm.stockLevelReached",i,n=V.MSG_TYPE_WARNING;e.quantityAdded&&(t=e.quantityAdded>1?"quickOrderCartForm.entriesWereAdded":"quickOrderCartForm.entryWasAdded",i=e.quantityAdded>1?"quickOrderCartForm.products":"quickOrderCartForm.product",n=V.MSG_TYPE_CONFIRMATION),this.globalMessageService.add({key:t,params:{product:e?.entry?.product?.name||i,quantity:e.quantityAdded}},n),this.resetForm()}))}getValidCount(e){return(e<this.min||!e)&&(e=this.min),e}resetForm(){this.quickOrderForm.reset()}static{this.\u0275fac=function(t){return new(t||r)(k(K),k(te),k(at),k(fe))}}static{this.\u0275cmp=R({type:r,selectors:[["cx-cart-quick-order-form"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"cx-cart-quick-order-form-title"],[1,"form-group"],[3,"ngSubmit","formGroup"],[1,"cx-cart-quick-order-form-container"],[1,"cx-cart-quick-order-form-productID"],[1,"cx-cart-quick-order-form-label"],["formControlName","productCode","type","text",1,"form-control","input-product-code",3,"placeholder"],[1,"cx-cart-quick-order-form-qty"],["formControlName","quantity","type","number",1,"form-control","input-quantity"],["type","submit",1,"btn","btn-block","btn-secondary","apply-quick-order-button",3,"disabled"]],template:function(t,i){t&1&&(_(0,Gt,28,33,"ng-container",0),s(1,"async")),t&2&&a("ngIf",c(1,1,i.cart$))},dependencies:[Y,qe,ve,ye,ct,ke,Ce,H,Oe,be,Te,Z,N],encapsulation:2,changeDetection:0})}}return r})(),Si=(()=>{class r{static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275mod=$({type:r})}static{this.\u0275inj=B({providers:[_e({cmsComponents:{CartQuickOrderFormComponent:{component:It}}})],imports:[me,H,xe,Ee,he,Te,ft,It]})}}return r})(),Ei=(()=>{class r{constructor(e,t){this.quickOrderService=e,this.productConnector=t,this.type=bt.QUICK_ORDER,this.logger=De(Xe)}getEntries(){return this.quickOrderService.getEntries()}addEntries(e){return Be(e.map(t=>this.quickOrderService.canAdd(t.productCode,e).pipe(G(i=>i?this.productConnector.get(t.productCode).pipe(L(n=>!!n),W(n=>{this.quickOrderService.addProduct(n,t.quantity)}),Q(n=>this.handleResults(n,t)),$e(n=>P(this.handleErrors(n,t.productCode)))):P({productCode:t.productCode,statusCode:A.LIMIT_EXCEEDED}))))).pipe(Pe(),D(e.length))}handleResults(e,t){return e.stock?.stockLevel&&t.quantity>e.stock.stockLevel?{productCode:t.productCode,productName:e?.name,statusCode:A.LOW_STOCK,quantity:t.quantity,quantityAdded:e.stock.stockLevel}:e.stock?.stockLevelStatus==="outOfStock"?{productCode:t.productCode,statusCode:A.NO_STOCK,productName:e?.name}:{productCode:t.productCode,statusCode:A.SUCCESS}}handleErrors(e,t){return e?.error?.errors[0].type==="UnknownIdentifierError"?{productCode:t,statusCode:A.UNKNOWN_IDENTIFIER}:(We()&&this.logger.warn("Unrecognized cart add entry action type while mapping messages",e),{productCode:t,statusCode:A.UNKNOWN_ERROR})}static{this.\u0275fac=function(t){return new(t||r)(T(M),T(nt))}}static{this.\u0275prov=U({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})(),ne="quick-order-searchbox-is-active",Qt=(()=>
1{class r{constructor(e,t,i,n){this.config=e,this.cd=t,this.quickOrderService=i,this.winRef=n,this.iconTypes=dt,this.isSearching=!1,this.noResults=!1,this.results=[],this.subscription=new F,this.searchSubscription=new F}ngOnInit(){this.buildForm(),this.subscription.add(this.watchProductAdd()),this.subscription.add(this.watchQueryChange())}onBlur(e){setTimeout(()=>{this.isSuggestionFocused()||this.blurSuggestionBox(e)})}clear(e){e?.preventDefault(),this.isResultsBoxOpen()&&(this.toggleBodyClass(ne,!1),requestAnimationFrame(()=>{this.quickOrderInput.nativeElement.focus()})),this.form.get("product")?.value&&this.form.reset(),this.close(),this.cd?.detectChanges()}add(e,t){if(t?.preventDefault(),e.multidimensional){this.quickOrderService.setNonPurchasableProductError(e),this.clear();return}else this.quickOrderService.clearNonPurchasableProductError();this.quickOrderService.addProduct(e),this.quickOrderInput.nativeElement.focus()}addProduct(e){this.quickOrderService.canAdd().pipe(D(1)).subscribe(t=>{if(t){if(this.results.length===1)this.add(this.results[0],e);else if(this.getFocusedIndex()!==-1){let i=this.results[this.getFocusedIndex()];this.add(i,e)}}})}focusNextChild(e){if(e.preventDefault(),!this.results.length)return;let[t,i]=[this.getResultElements(),this.getFocusedIndex()];t.length&&(this.winRef.document.querySelector("main")?.classList.remove("mouse-focus"),i>=t.length-1?t[0].focus():t[i+1].focus())}focusPreviousChild(e){if(e.preventDefault(),!this.results.length)return;let[t,i]=[this.getResultElements(),this.getFocusedIndex()];t.length&&(i<1?t[t.length-1].focus():t[i-1].focus())}isResultsBoxOpen(){return this.winRef?!!this.winRef.document.querySelector(`.${ne}`):!1}canAddProduct(){return this.quickOrderService.canAdd()}open(){this.toggleBodyClass(ne,!0)}getResultElements(){return this.winRef?Array.from(this.winRef.document.querySelectorAll(".quick-order-results-products > li button")):[]}blurSuggestionBox(e){this.toggleBodyClass(ne,!1),e&&e.target&&e.target.blur()}getFocusedElement(){if(this.winRef)return this.winRef.document.activeElement}getFocusedIndex(){return this.getResultElements().indexOf(this.getFocusedElement())}isSuggestionFocused(){return this.getResultElements().includes(this.getFocusedElement())}toggleBodyClass(e,t){this.winRef&&(t===void 0?this.winRef.document.body.classList.toggle(e):t?this.winRef.document.body.classList.add(e):this.winRef.document.body.classList.remove(e))}buildForm(){let e=new st({});e.setControl("product",new ie(null)),this.form=e}isEmpty(e){return e?.trim()===""||e==null}watchQueryChange(){return this.form.valueChanges.pipe(Le(),Ae(300),L(e=>this.config?.quickOrder?.searchForm?this.isEmpty(e.product)?(this.clear(),!1):!!e.product&&e.product.length>=this.config.quickOrder?.searchForm?.minCharactersBeforeRequest:e)).subscribe(e=>{this.searchProducts(e.product)})}searchProducts(e){this.searchSubscription.add(this.canAddProduct().pipe(L(Boolean),G(()=>this.quickOrderService.searchProducts(e,this.config?.quickOrder?.searchForm?.maxProducts).pipe(D(1)))).subscribe(t=>{this.results=t,this.results.length?(this.noResults=!1,this.open()):this.noResults=!0,this.cd?.detectChanges()}))}clearResults(){this.results=[]}close(){this.resetSearchSubscription(),this.clearResults(),this.noResults=!1}resetSearchSubscription(){this.searchSubscription.unsubscribe(),this.searchSubscription=new F}watchProductAdd(){return this.quickOrderService.getProductAdded().subscribe(()=>this.clear())}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||r)(k(ee),k(pe),k(M),k(ze))}}static{this.\u0275cmp=R({type:r,selectors:[["cx-quick-order-form"]],viewQuery:function(t,i){if(t&1&&oe(Wt,5),t&2){let n;se(n=ce())&&(i.quickOrderInput=n.first)}},inputs:{limit:"limit"},decls:19,vars:31,consts:[["quickOrderInput",""],["searchIcon",""],[1,"quick-order-form-container",3,"formGroup"],["role","combobox","aria-controls","quick-order-search-results",1,"quick-order-form-input"],["aria-controls","quick-order-search-results","aria-describedby","quickOrderFormInitialDescription","formControlName","product","type","text",1,"form-control",3,"blur","focus","keydown.arrowdown","keydown.arrowup","keydown.enter","keydown.escape","placeholder"],["class","quick-order-form-reset-icon",3,"click","keydown.enter",4,"ngIf","ngIfElse"],["class","list-limit-reached-text","role","alert",4,"ngIf"],["id","quick-order-search-results",1,"quick-order-results"],["class","quick-order-results-products","role","listbox",4,"ngIf"],["class","quick-order-no-results",4,"ngIf"],["aria-live","polite","id","quickOrderFormInitialDescription","aria-atomic","true",1,"cx-visually-hidden","quick-order-form-description"],[1,"quick-order-form-reset-icon",3,"click","keydown.enter"],[3,"type"],["tabindex","-1",1,"quick-order-form-search-icon"],["role","alert",1,"list-limit-reached-text"],["role","listbox",1,"quick-order-results-products"],["class","quick-order-results-product-container",4,"ngFor","ngForOf"],[1,"quick-order-results-product-container"],["role","option",1,"quick-order-results-product",3,"blur","mousedown","keydown.arrowdown","keydown.arrowup","keydown.enter","keydown.escape","keydown.tab","keydown.shift.tab"],["class","media","format","thumbnail","role","presentation",3,"alt","container",4,"ngIf"],[1,"name",3,"innerHTML"],[1,"id"],[1,"price"],["format","thumbnail","role","presentation",1,"media",3,"alt","container"],[1,"quick-order-no-results"]],template:function(t,i){if(t&1&&(d(0,"form",2)(1,"div",3),s(2,"cxTranslate"),d(3,"input",4,0),s(5,"cxTranslate"),s(6,"cxTranslate"),O("blur",function(m){return i.onBlur(m)})("focus",function(){return i.open()})("keydown.arrowdown",function(m){return i.focusNextChild(m)})("keydown.arrowup",function(m){return i.focusPreviousChild(m)})("keydown.enter",function(m){return i.addProduct(m)})("keydown.escape",function(m){return i.clear(m)}),l(),_(7,Yt,4,7,"button",5)(8,Ht,4,7,"ng-template",null,1,Ge)(10,Kt,3,3,"span",6),s(11,"async"),l(),d(12,"div",7),_(13,Jt,2,1,"ul",8)(14,Zt,3,3,"span",9),l()(),d(15,"label",10),g(16),s(17,"cxTranslate"),s(18,"cxTranslate"),l()),t&2){let n,m,y=Ve(9);a("formGroup",i.form),o(),I("aria-expanded",i.isResultsBoxOpen())("aria-label",c(2,13,"quickOrderForm.quickOrderSearch")),o(2),a("placeholder",ue(c(
15,15,"quickOrderForm.placeholder"))),I("aria-label",b(6,17,"quickOrderForm.searchBoxLabel",v(27,Mt,i.limit))),o(4),a("ngIf",(n=i.form.get("product"))==null?null:n.value)("ngIfElse",y),o(3),a("ngIf",!c(11,20,i.canAddProduct())&&((m=i.form.get("product"))==null?null:m.dirty)),o(3),a("ngIf",i.isResultsBoxOpen()&&i.results.length),o(),a("ngIf",i.noResults),o(2),le(" ",i.results.length?b(17,22,"quickOrderForm.productsResults",v(29,z,i.results.length)):""," ",c(18,25,"quickOrderForm.initialDescription"),`
2`)}},dependencies:[qe,ve,ye,ke,Ce,H,Oe,be,Y,lt,J,Se,Z,N],encapsulation:2,changeDetection:0})}}return r})(),Bt=(()=>{class r{get entry(){return this._entry}set entry(e){this._entry=e,this.quantityControl=new ie(this.entry.quantity,{updateOn:"blur"})}constructor(e,t){this.cd=e,this.quickOrderService=t,this.loading=!1,this.subscription=new F}ngOnInit(){this.subscription.add(this.quantityControl.valueChanges.subscribe(()=>{this.quickOrderService.updateEntryQuantity(this.index,this.quantityControl.value)})),this.subscription.add(this.watchProductAdd())}removeEntry(){this.quickOrderService.softDeleteEntry(this.index),this.cd.detectChanges()}watchProductAdd(){return this.quickOrderService.getProductAdded().subscribe(e=>{e===this.entry.product?.code&&(this.quantityControl=new ie(this.entry.quantity),this.cd.detectChanges())})}ngOnDestroy(){this.subscription?.unsubscribe()}static{this.\u0275fac=function(t){return new(t||r)(k(pe),k(M))}}static{this.\u0275cmp=R({type:r,selectors:[["","cx-quick-order-item",""],["cx-quick-order-item"]],inputs:{entry:"entry",index:"index",loading:"loading"},attrs:ei,decls:30,vars:41,consts:[["role","cell"],[1,"cx-table-item-container"],["tabindex","-1",3,"ngClass","routerLink"],["format","cartIcon",3,"container","alt"],[1,"cx-info"],[1,"cx-name"],[1,"cx-link",3,"ngClass","routerLink"],[1,"cx-code"],["role","cell",1,"cx-price"],[1,"cx-mobile-header"],[1,"cx-value"],["role","cell",1,"cx-quantity"],[3,"control","max","readonly"],["role","cell",1,"cx-actions"],[1,"btn","btn-tertiary",3,"click","disabled"]],template:function(t,i){t&1&&(d(0,"td",0)(1,"div",1)(2,"a",2),s(3,"cxUrl"),C(4,"cx-media",3),l(),d(5,"div",4)(6,"div",5)(7,"a",6),s(8,"cxUrl"),g(9),l()(),d(10,"div",7),g(11),s(12,"cxTranslate"),l()()()(),d(13,"td",8)(14,"div",9),g(15),s(16,"cxTranslate"),l(),d(17,"div",10),g(18),l()(),d(19,"td",11)(20,"div",9),g(21),s(22,"cxTranslate"),l(),d(23,"div",10),C(24,"cx-item-counter",12),l()(),d(25,"td",13)(26,"button",14),s(27,"cxTranslate"),O("click",function(){return i.removeEntry()}),g(28),s(29,"cxTranslate"),l()()),t&2&&(o(2),a("ngClass",X(32,ti,i.loading,!(!(i.entry==null||i.entry.product==null||i.entry.product.images==null)&&i.entry.product.images.PRIMARY)))("routerLink",c(3,18,v(35,wt,i.entry.product))),o(2),a("container",i.entry==null||i.entry.product==null||i.entry.product.images==null?null:i.entry.product.images.PRIMARY)("alt",i.entry==null||i.entry.product==null?null:i.entry.product.name),o(3),a("ngClass",v(37,ii,i.loading))("routerLink",c(8,20,v(39,wt,i.entry.product))),o(2),h("",(i.entry.product==null?null:i.entry.product.name)||"-"," "),o(2),le(" ",c(12,22,"quickOrderTable.id")," ",i.entry.product==null?null:i.entry.product.code," "),o(4),h(" ",c(16,24,"quickOrderTable.itemPrice")," "),o(3),h(" ",(i.entry.basePrice==null?null:i.entry.basePrice.formattedValue)||"-"," "),o(3),h(" ",c(22,26,"quickOrderTable.quantityFull")," "),o(3),a("control",i.quantityControl)("max",i.entry.product==null||i.entry.product.stock==null?null:i.entry.product.stock.stockLevel)("readonly",i.loading),o(2),a("disabled",i.loading),I("aria-label",c(27,28,"common.remove")),o(2),h(" ",c(29,30,"common.remove")," "))},dependencies:[Ue,He,Se,xt,N,it],encapsulation:2,changeDetection:0})}}return r})(),$t=(()=>{class r{constructor(){this.entries=[],this.loading=!1}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=R({type:r,selectors:[["cx-quick-order-table"]],inputs:{entries:"entries",loading:"loading"},decls:1,vars:1,consts:[["class","cx-quick-order-table-wrapper","role","table",4,"ngIf"],["role","table",1,"cx-quick-order-table-wrapper"],[1,"cx-visually-hidden"],["role","row",1,"cx-item-list-header","cx-quick-order-table-header"],["role","columnheader",1,"cx-item-list-desc"],["role","columnheader",1,"cx-item-list-price"],["role","columnheader",1,"cx-item-list-qty"],["role","columnheader",1,"cx-item-list-actions"],[1,"cx-item-list-items"],["cx-quick-order-item","","class","cx-item-list-row cx-quick-order-table-row",3,"entry","index","loading",4,"ngFor","ngForOf"],["cx-quick-order-item","",1,"cx-item-list-row","cx-quick-order-table-row",3,"entry","index","loading"]],template:function(t,i){t&1&&_(0,ni,20,16,"table",0),t&2&&a("ngIf",(i.entries==null?null:i.entries.length)>0)},dependencies:[Y,J,Bt,N],encapsulation:2,changeDetection:0})}}return r})(),Ft=(()=>
2{class r{constructor(e,t,i,n,m){this.activeCartService=e,this.component=t,this.globalMessageService=i,this.quickOrderService=n,this.quickOrderStatePersistenceService=m,this.quickOrderListLimit$=this.component.data$.pipe(Q(y=>y.quickOrderListLimit),W(y=>{y&&this.quickOrderService.setListLimit(y)})),this.isCartStable$=Me([this.activeCartService.getActiveCartId(),this.activeCartService.isStable()]).pipe(Q(([y,Lt])=>y?Lt:!0)),this.globalMessageType=V,this.cartErrors$=new w([]),this.cartWarnings$=new w([]),this.cartSuccesses$=new w([]),this.showAddToCartInformation$=new w(!1),this.nonPurchasableProductError$=new w(null)}ngOnInit(){this.cartId$=this.activeCartService.getActiveCartId(),this.entries$=this.quickOrderService.getEntries(),this.quickOrderStatePersistenceService.initSync()}ngOnDestroy(){this.quickOrderService.clearDeletedEntries()}get errors$(){return this.cartErrors$.asObservable()}get warnings$(){return this.cartWarnings$.asObservable()}get successes$(){return this.cartSuccesses$.asObservable()}get nonPurchasableError$(){return this.quickOrderService.getNonPurchasableProductError()}get addToCartInformation$(){return this.showAddToCartInformation$.asObservable()}get softDeletedEntries$(){return this.quickOrderService.getSoftDeletedEntries()}clear(){this.quickOrderService.clearList(),this.globalMessageService.add({key:"quickOrderTable.listCleared"},V.MSG_TYPE_INFO)}addToCart(e){if(!e.length){this.showAddToCartInformation$.next(!0);return}this.clearStatuses(),this.quickOrderService.addToCart().pipe(j()).subscribe(([t,i])=>{i.forEach(n=>{n.entry||(n.entry=e.find(m=>m.product?.code===n.productCode))}),this.extractErrors(i),this.extractWarnings(i),i.length?this.extractSuccesses(i,t):this.showAddedToCartSuccessMessage()})}clearErrors(){this.cartErrors$.next([])}clearWarnings(){this.cartWarnings$.next([])}clearSuccesses(){this.cartSuccesses$.next([])}clearAddToCartInformation(){this.showAddToCartInformation$.next(!1)}undoDeletion(e){e.product?.code&&this.quickOrderService.restoreSoftDeletedEntry(e.product.code)}clearDeletion(e){e.product?.code&&this.quickOrderService.hardDeleteEntry(e.product.code)}clearNonPurchasableError(){this.quickOrderService.clearNonPurchasableProductError()}canAddProduct(){return this.quickOrderService.canAdd()}extractErrors(e){let t=e.filter(i=>i.quantityAdded===0);this.setErrors(t)}extractWarnings(e){let t=e.filter(i=>i.quantityAdded!==0);this.setWarnings(t)}extractSuccesses(e,t){let i=[];t.forEach(n=>{e.find(y=>y.productCode===n.product?.code)||i.push(n)}),this.setSuccesses(i)}clearStatuses(){this.clearErrors(),this.clearWarnings(),this.clearSuccesses()}showAddedToCartSuccessMessage(){this.globalMessageService.add({key:"quickOrderTable.addedtoCart"},V.MSG_TYPE_CONFIRMATION)}setErrors(e){this.cartErrors$.next(e)}setWarnings(e){this.cartWarnings$.next(e)}setSuccesses(e){this.cartSuccesses$.next(e)}static{this.\u0275fac=function(t){return new(t||r)(k(K),k(pt),k(fe),k(M),k(we))}}static{this.\u0275cmp=R({type:r,selectors:[["cx-quick-order"]],viewQuery:function(t,i){if(t&1&&oe(oi,5),t&2){let n;se(n=ce())&&(i.quickOrderForm=n.first)}},decls:17,vars:24,consts:[["quickOrderForm",""],["aria-atomic","true","aria-live","assertive","aria-relevant","additions",1,"quick-order-message-container"],[4,"ngIf"],[1,"quick-order-list-limit-message",3,"text","isVisibleCloseButton","type"],[1,"quick-order-add-to-cart-information-message",3,"closeMessage","text","type"],[1,"quick-order-non-purchasable-product-error-message",3,"closeMessage","text","type"],["class","quick-order-deletions-message",3,"actionButtonText","actionButtonMessage","text","type","buttonAction","closeMessage",4,"ngFor","ngForOf"],[1,"quick-order-deletions-message",3,"buttonAction","closeMessage","actionButtonText","actionButtonMessage","text","type"],["class","quick-order-errors-message",3,"accordionText","text","type","closeMessage",4,"ngIf"],[1,"quick-order-errors-message",3,"closeMessage","accordionText","text","type"],[1,"quick-order-errors"],["class","quick-order-error-item",4,"ngFor","ngForOf"],[1,"cx-visually-hidden"],[1,"quick-order-error-item"],["class","quick-order-warnings-message",3,"accordionText","text","type","closeMessage",4,"ngIf"],[1,"quick-order-warnings-message",3,"closeMessage","accordionText","text","type"],[1,"quick-order-warnings"],["class","quick-order-warning-item",4,"ngFor","ngForOf"],[1,"quick-order-warning-item"],["class","quick-order-successes-message",3,"text","type","closeMessage",4,"ngIf"],[1,"quick-order-successes-message",3,"closeMessage","text","type"],[1,"quick-order-successes"],["class","quick-order-success-item",4,"ngFor","ngForOf"],[1,"quick-order-success-item"],[1,"quick-order-header"],[1,"quick-order-form-body"],[3,"limit"],[1,"quick-order-table-body"],[3,"entries","loading"],[1,"quick-order-footer","row"],[1,"col-xs-12","col-md-5","col-lg-3"],["class","btn btn-block btn-secondary clear-button","type","button",3,"disabled","click",4,"ngIf"],[3,"clickEvent","ariaLabel","loading"],["type","button",1,"btn","btn-block","btn-secondary","clear-button",3,"click","disabled"]],template:function(t,i){t&1&&(d(0,"div",1),_(1,di,3,3,"ng-container",2),s(2,"async"),_(3,li,3,4,"ng-container",2),s(4,"async"),_(5,ui,3,7,"ng-container",2),s(6,"async"),_(7,mi,3,3,"ng-container",2),s(8,"async"),_(9,hi,2,1,"ng-container",2),s(10,"async"),_(11,yi,2,1,"ng-container",2),s(12,"async"),_(13,vi,2,1,"ng-container",2),s(14,"async"),l(),_(15,qi,3,3,"ng-container",2),s(16,"async")),t&2&&(o(),a("ngIf",c(2,8,i.entr
2ies$)),o(2),a("ngIf",c(4,10,i.addToCartInformation$)),o(2),a("ngIf",c(6,12,i.nonPurchasableError$)),o(2),a("ngIf",c(8,14,i.softDeletedEntries$)),o(2),a("ngIf",c(10,16,i.errors$)),o(2),a("ngIf",c(12,18,i.warnings$)),o(2),a("ngIf",c(14,20,i.successes$)),o(2),a("ngIf",c(16,22,i.quickOrderListLimit$)))},dependencies:[Y,gt,J,Qt,$t,kt,Z,Ye,N],encapsulation:2,changeDetection:0})}}return r})(),Ti=(()=>{class r{static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275mod=$({type:r})}static{this.\u0275inj=B({providers:[_e({cmsComponents:{QuickOrderComponent:{component:Ft,data:{quickOrderListLimit:10}}}})],imports:[_t,me,Ee,xe,ut,yt,mt,ht,Ct,H,ge,rt,he,Ft,Qt,Bt,$t]})}}return r})(),At=(()=>{class r{static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275mod=$({type:r})}static{this.\u0275inj=B({providers:[{provide:qt,useExisting:Ei}],imports:[ge,Ti,Si]})}}return r})();var tr=(()=>{class r{static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275mod=$({type:r})}static{this.\u0275inj=B({imports:[Tt,At]})}}return r})();export{tr as QuickOrderModule};
3//# sourceMappingURL=chunk-ZHTQGOY2.js.map

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.