marketplacepos 3.11.3 → 3.11.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Marketplace/3rdpartylicenses.txt +27 -27
- package/Marketplace/chunk-26HLZRDA.js +1 -0
- package/Marketplace/chunk-2LVSLYBV.js +1 -0
- package/Marketplace/chunk-3G7XK5MI.js +4 -0
- package/Marketplace/chunk-4AXZQMAS.js +1 -0
- package/Marketplace/chunk-4BQPB4PL.js +1 -0
- package/Marketplace/chunk-5KH5BCQM.js +1 -0
- package/Marketplace/chunk-5RM66OVB.js +1 -0
- package/Marketplace/chunk-5ZM4XSQW.js +1 -0
- package/Marketplace/chunk-6HHZHN7P.js +8 -0
- package/Marketplace/chunk-7KGXTHIW.js +1 -0
- package/Marketplace/chunk-7NTKQFO6.js +1 -0
- package/Marketplace/chunk-A5TR5UHL.js +3 -0
- package/Marketplace/chunk-AALPQPNV.js +1 -0
- package/Marketplace/chunk-AI73JQCY.js +1 -0
- package/Marketplace/chunk-AOTR45SX.js +1 -0
- package/Marketplace/chunk-AS72XOBR.js +5 -0
- package/Marketplace/chunk-BIUR6K3C.js +2 -0
- package/Marketplace/chunk-BOSI3BJF.js +1 -0
- package/Marketplace/chunk-C2Z57PHM.js +1 -0
- package/Marketplace/chunk-CARHAIPY.js +1 -0
- package/Marketplace/chunk-CQZLPKQI.js +7 -0
- package/Marketplace/chunk-CRMU6PMW.js +1 -0
- package/Marketplace/chunk-EIZQWSOG.js +3 -0
- package/Marketplace/chunk-F4HOVOTI.js +1 -0
- package/Marketplace/chunk-FCNR3DL5.js +1 -0
- package/Marketplace/chunk-FTHF27YK.js +1 -0
- package/Marketplace/chunk-FY4ZBLX6.js +1 -0
- package/Marketplace/chunk-G4FCMEKS.js +5 -0
- package/Marketplace/chunk-GN6CGQMS.js +4 -0
- package/Marketplace/chunk-GS5L5VKE.js +39 -0
- package/Marketplace/chunk-GUPLRXO2.js +1 -0
- package/Marketplace/chunk-HL4F7T5B.js +1 -0
- package/Marketplace/{chunk-BG5B4X23.js → chunk-HZ3YSVLS.js} +2 -2
- package/Marketplace/chunk-I5I7UHHM.js +2 -0
- package/Marketplace/chunk-I7XIC4MV.js +1 -0
- package/Marketplace/chunk-IGEQKV42.js +1 -0
- package/Marketplace/chunk-J7NK7BJJ.js +2 -0
- package/Marketplace/chunk-JQQV3EN5.js +1 -0
- package/Marketplace/chunk-L2NFIVJZ.js +1 -0
- package/Marketplace/chunk-MAW5LNHT.js +1 -0
- package/Marketplace/chunk-MSVBBUIV.js +1 -0
- package/Marketplace/chunk-MZTR7GGF.js +1 -0
- package/Marketplace/chunk-O7LVIN5K.js +1 -0
- package/Marketplace/chunk-OCT7STGJ.js +2 -0
- package/Marketplace/chunk-ODO3ELDR.js +1 -0
- package/Marketplace/chunk-Q2XGZGLR.js +1 -0
- package/Marketplace/chunk-Q4BXCRYS.js +1 -0
- package/Marketplace/chunk-QD5AAOCO.js +1 -0
- package/Marketplace/chunk-QGF4YW5W.js +6 -0
- package/Marketplace/chunk-RJJQKBQ5.js +1 -0
- package/Marketplace/chunk-RQUHSBJQ.js +1 -0
- package/Marketplace/chunk-SQJ3P2ZT.js +1 -0
- package/Marketplace/chunk-SWXSUMBG.js +1 -0
- package/Marketplace/chunk-TCCG4TE3.js +1 -0
- package/Marketplace/{chunk-SH3VBTMG.js → chunk-TH6EVOI3.js} +4 -4
- package/Marketplace/chunk-V437EVZ3.js +1 -0
- package/Marketplace/chunk-VFKZICIZ.js +5 -0
- package/Marketplace/chunk-W4KXSHWG.js +1 -0
- package/Marketplace/chunk-WOQ45EJA.js +1 -0
- package/Marketplace/chunk-Y3YRRYBU.js +1 -0
- package/Marketplace/chunk-YDMBBOTQ.js +1 -0
- package/Marketplace/index.html +2 -3
- package/Marketplace/main-AEZ74UFT.js +1 -0
- package/Marketplace/polyfills-FDR4O7DA.js +2 -0
- package/Marketplace/scripts-M46NWPTC.js +5 -0
- package/Marketplace/styles-3TBI7YP7.css +1 -0
- package/package.json +1 -1
- package/Marketplace/chunk-26JYE3EW.js +0 -1
- package/Marketplace/chunk-4CIVIS2I.js +0 -1
- package/Marketplace/chunk-4IQIUVVU.js +0 -1
- package/Marketplace/chunk-54I7BFLJ.js +0 -1
- package/Marketplace/chunk-5IPUSVZQ.js +0 -1
- package/Marketplace/chunk-6B64VOO7.js +0 -1
- package/Marketplace/chunk-6DRNAUKE.js +0 -8
- package/Marketplace/chunk-6EMD4N72.js +0 -4
- package/Marketplace/chunk-6F6NSBIF.js +0 -1
- package/Marketplace/chunk-6MICMEJV.js +0 -1
- package/Marketplace/chunk-AL67KXJV.js +0 -2
- package/Marketplace/chunk-BD2QQPDK.js +0 -1
- package/Marketplace/chunk-BGR4ZABV.js +0 -1
- package/Marketplace/chunk-BMZAGAK3.js +0 -1
- package/Marketplace/chunk-DT3B54LD.js +0 -4
- package/Marketplace/chunk-DVDUQ5BZ.js +0 -1
- package/Marketplace/chunk-EMOFGOQE.js +0 -5
- package/Marketplace/chunk-FMQAUTQV.js +0 -1
- package/Marketplace/chunk-GPQQ6FGZ.js +0 -1
- package/Marketplace/chunk-GRMIXZTT.js +0 -1
- package/Marketplace/chunk-HTJWR537.js +0 -1
- package/Marketplace/chunk-HWRAMHXZ.js +0 -1
- package/Marketplace/chunk-INNTQ5YN.js +0 -1
- package/Marketplace/chunk-JI4WVOEH.js +0 -1
- package/Marketplace/chunk-JM3LERUP.js +0 -7
- package/Marketplace/chunk-K3G6FMDF.js +0 -1
- package/Marketplace/chunk-K4BSJ4Z6.js +0 -1
- package/Marketplace/chunk-KBYAFLE5.js +0 -1
- package/Marketplace/chunk-MBRVLUA3.js +0 -1
- package/Marketplace/chunk-MYMGWQRE.js +0 -6
- package/Marketplace/chunk-N4S3Q3EC.js +0 -1
- package/Marketplace/chunk-NHGAULCC.js +0 -1
- package/Marketplace/chunk-NRVXDIHY.js +0 -1
- package/Marketplace/chunk-NSM4JDXS.js +0 -1
- package/Marketplace/chunk-O4MUVGWL.js +0 -2
- package/Marketplace/chunk-PRYDCJG5.js +0 -1
- package/Marketplace/chunk-PZOGC5DT.js +0 -1
- package/Marketplace/chunk-QQVJ77MJ.js +0 -1
- package/Marketplace/chunk-RKYODJUS.js +0 -1
- package/Marketplace/chunk-SP6QPE3M.js +0 -1
- package/Marketplace/chunk-STVMEPEK.js +0 -2
- package/Marketplace/chunk-TDHJ34QP.js +0 -1
- package/Marketplace/chunk-TDK2QBFI.js +0 -1
- package/Marketplace/chunk-U5YOE633.js +0 -5
- package/Marketplace/chunk-UETPNACD.js +0 -3
- package/Marketplace/chunk-UFSKJNHN.js +0 -1
- package/Marketplace/chunk-UHRIJRKZ.js +0 -3
- package/Marketplace/chunk-UILE7H6I.js +0 -1
- package/Marketplace/chunk-VD2J6EF2.js +0 -2
- package/Marketplace/chunk-W3EAYQL3.js +0 -1
- package/Marketplace/chunk-WIUP23L2.js +0 -1
- package/Marketplace/chunk-WYTSEICB.js +0 -5
- package/Marketplace/chunk-XH32N2LH.js +0 -1
- package/Marketplace/chunk-YJL4YLVW.js +0 -1
- package/Marketplace/chunk-Z7L5UJPR.js +0 -47
- package/Marketplace/chunk-ZHDV3I2T.js +0 -1
- package/Marketplace/main-7ZEC4JUC.js +0 -1
- package/Marketplace/polyfills-Y3W47ZLP.js +0 -2
- package/Marketplace/scripts-TB7H6DN4.js +0 -5
- package/Marketplace/styles-D4MZYFH2.css +0 -1
- /package/Marketplace/{chunk-662E5VTA.js → chunk-6BSG6YUX.js} +0 -0
- /package/Marketplace/{chunk-IWVYX6KY.js → chunk-KB6IM3NP.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as Xe,b as et}from"./chunk-PRYDCJG5.js";import{h as Ke,i as We,j as Ye}from"./chunk-O4MUVGWL.js";import{B as qe,E as ie,F as Ge,I as ve,O as G,Q as Ze,R as Je,g as Qe,h as Be,m as $e,u as Ue}from"./chunk-6B64VOO7.js";import{$ as we,$a as Le,Aa as N,Ab as C,Bb as S,Hb as pe,Hc as he,Ia as s,Ib as F,Ic as me,Ja as l,Jc as ue,K as Te,Kb as ce,La as M,Lb as U,Lc as E,Mc as w,Oc as fe,Pc as _e,Qc as ge,Ra as Ae,S as k,T as Ee,Ua as j,Ub as Ne,V as D,Va as oe,Wa as f,Xa as V,Ya as m,_ as K,_a as I,a as Se,aa as W,ab as He,ac as q,ba as ke,bb as v,bc as P,c as A,cb as Z,cc as je,da as Oe,db as J,ea as Re,eb as X,fa as ze,fb as d,ga as u,gb as h,ha as O,hb as se,ia as Y,ja as x,kb as T,lb as ee,n as De,nc as de,oa as Fe,ob as Q,pa as L,q as Me,qa as H,qb as p,rb as B,sb as $,sc as Ve,ta as Pe,vb as b,wb as te,xb as _,ya as R,yb as g,za as z,zb as le}from"./chunk-6DRNAUKE.js";var ft=["*"];function _t(n,i){n&1&&$(0)}var be=(()=>{let i=class i{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}};i.\u0275fac=function(t){return new(t||i)(l(R))},i.\u0275dir=x({type:i,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0});let n=i;return n})(),ye=(()=>{let i=class i{constructor(e){this.template=e}};i.\u0275fac=function(t){return new(t||i)(l(M))},i.\u0275dir=x({type:i,selectors:[["","cdkStepLabel",""]],standalone:!0});let n=i;return n})(),gt=0;var y={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},xe=new ke("STEPPER_GLOBAL_OPTIONS"),ne=(()=>{let i=class i{get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=e}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(e){this._customError=e}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(e,t){this._stepper=e,this.interacted=!1,this.interactedStream=new z,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=t||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError!=null}};i.\u0275fac=function(t){return new(t||i)(l(K(()=>re)),l(xe,8))},i.\u0275cmp=O({type:i,selectors:[["cdk-step"]],contentQueries:function(t,r,o){if(t&1&&b(o,ye,5),t&2){let c;_(c=g())&&(r.stepLabel=c.first)}},viewQuery:function(t,r){if(t&1&&te(M,7),t&2){let o;_(o=g())&&(r.content=o.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[u.None,"aria-label","ariaLabel"],ariaLabelledby:[u.None,"aria-labelledby","ariaLabelledby"],state:"state",editable:[u.HasDecoratorInputTransform,"editable","editable",P],optional:[u.HasDecoratorInputTransform,"optional","optional",P],completed:[u.HasDecoratorInputTransform,"completed","completed",P],hasError:[u.HasDecoratorInputTransform,"hasError","hasError",P]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[oe,Fe,F],ngContentSelectors:ft,decls:1,vars:0,template:function(t,r){t&1&&(B(),f(0,_t,1,0,"ng-template"))},encapsulation:2,changeDetection:0});let n=i;return n})(),re=(()=>{let i=class i{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this.steps&&this._steps?(this._isValidIndex(e),this.selected?._markAsInteracted(),this._selectedIndex!==e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e)):this._selectedIndex=e}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation(e==="vertical")}constructor(e,t,r){this._dir=e,this._changeDetectorRef=t,this._elementRef=r,this._destroyed=new A,this.steps=new N,this._sortedHeaders=new N,this.linear=!1,this._selectedIndex=0,this.selectionChange=new z,this.selectedIndexChange=new z,this._orientation="horizontal",this._groupId=gt++}ngAfterContentInit(){this._steps.changes.pipe(k(this._steps),D(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(k(this._stepHeader),D(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,r)=>t._elementRef.nativeElement.compareDocumentPosition(r._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Ue(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),(this._dir?this._dir.change:De()).pipe(k(this._layoutDirection()),D(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`cdk-step-label-${this._groupId}-${e}`}_getStepContentId(e){return`cdk-step-content-${this._groupId}-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){let t=e-this._selectedIndex;return t<0?this._layoutDirection()==="rtl"?"next":"previous":t>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(e,t=y.NUMBER){let r=this.steps.toArray()[e],o=this._isCurrentStep(e);return r._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(r,o):this._getGuidelineLogic(r,o,t)}_getDefaultIndicatorLogic(e,t){return e._showError()&&e.hasError&&!t?y.ERROR:!e.completed||t?y.NUMBER:e.editable?y.EDIT:y.DONE}_getGuidelineLogic(e,t,r=y.NUMBER){return e._showError()&&e.hasError&&!t?y.ERROR:e.completed&&!t?y.DONE:e.completed&&t?r:e.editable&&t?y.EDIT:r}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){let t=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:t[e],previouslySelectedStep:t[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(e){let t=Qe(e),r=e.keyCode,o=this._keyManager;o.activeItemIndex!=null&&!t&&(r===32||r===13)?(this.selectedIndex=o.activeItemIndex,e.preventDefault()):o.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(t=>{let r=t.stepControl;return(r?r.invalid||r.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let e=this._elementRef.nativeElement,t=$e();return e===t||e.contains(t)}_isValidIndex(e){return e>-1&&(!this.steps||e<this.steps.length)}};i.\u0275fac=function(t){return new(t||i)(l(ie,8),l(q),l(R))},i.\u0275dir=x({type:i,selectors:[["","cdkStepper",""]],contentQueries:function(t,r,o){if(t&1&&(b(o,ne,5),b(o,be,5)),t&2){let c;_(c=g())&&(r._steps=c),_(c=g())&&(r._stepHeader=c)}},inputs:{linear:[u.HasDecoratorInputTransform,"linear","linear",P],selectedIndex:[u.HasDecoratorInputTransform,"selectedIndex","selectedIndex",je],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],standalone:!0,features:[oe]});let n=i;return n})();var tt=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[Ge]});let n=i;return n})();function vt(n,i){if(n&1&&T(0,2),n&2){let a=p();m("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",a._getIconContext())}}function bt(n,i){if(n&1&&(d(0,"span",7),C(1),h()),n&2){let a=p(2);s(),S(a._getDefaultTextForState(a.state))}}function yt(n,i){if(n&1&&(d(0,"span",8),C(1),h()),n&2){let a=p(3);s(),S(a._intl.completedLabel)}}function xt(n,i){if(n&1&&(d(0,"span",8),C(1),h()),n&2){let a=p(3);s(),S(a._intl.editableLabel)}}function It(n,i){if(n&1&&(f(0,yt,2,1,"span",8)(1,xt,2,1),d(2,"mat-icon",7),C(3),h()),n&2){let a=p(2);v(0,a.state==="done"?0:a.state==="edit"?1:-1),s(3),S(a._getDefaultTextForState(a.state))}}function Ct(n,i){if(n&1&&f(0,bt,2,1)(1,It,4,2),n&2){let a,e=p();v(0,(a=e.state)==="number"?0:1)}}function St(n,i){n&1&&(d(0,"div",4),T(1,9),h()),n&2&&(s(),m("ngTemplateOutlet",i.template))}function Dt(n,i){if(n&1&&(d(0,"div",4),C(1),h()),n&2){let a=p();s(),S(a.label)}}function Mt(n,i){if(n&1&&(d(0,"div",5),C(1),h()),n&2){let a=p();s(),S(a._intl.optionalLabel)}}function Tt(n,i){if(n&1&&(d(0,"div",6),C(1),h()),n&2){let a=p();s(),S(a.errorMessage)}}var nt=["*"];function Et(n,i){}function wt(n,i){if(n&1&&($(0),f(1,Et,0,0,"ng-template",0)),n&2){let a=p();s(),m("cdkPortalOutlet",a._portal)}}var rt=(n,i)=>({step:n,i}),at=n=>({animationDuration:n}),ot=(n,i)=>({value:n,params:i});function kt(n,i){n&1&&$(0)}function Ot(n,i){n&1&&se(0,"div",6)}function Rt(n,i){if(n&1&&(T(0,5),f(1,Ot,1,0,"div",6)),n&2){let a=i.$implicit,e=i.$index,t=i.$index,r=i.$count;p(2);let o=le(4);m("ngTemplateOutlet",o)("ngTemplateOutletContext",U(3,rt,a,e)),s(),v(1,t!==r-1?1:-1)}}function zt(n,i){if(n&1){let a=ee();d(0,"div",7),Q("@horizontalStepTransition.done",function(t){L(a);let r=p(2);return H(r._animationDone.next(t))}),T(1,8),h()}if(n&2){let a=i.$implicit,e=i.$index,t=p(2);I("mat-horizontal-stepper-content-inactive",t.selectedIndex!==e),m("@horizontalStepTransition",U(8,ot,t._getAnimationDirection(e),ce(6,at,t._getAnimationDuration())))("id",t._getStepContentId(e)),V("aria-labelledby",t._getStepLabelId(e)),s(),m("ngTemplateOutlet",a.content)}}function Ft(n,i){if(n&1&&(d(0,"div",1)(1,"div",2),J(2,Rt,2,6,null,null,Z),h(),d(4,"div",3),J(5,zt,2,11,"div",4,Z),h()()),n&2){let a=p();s(2),X(a.steps),s(3),X(a.steps)}}function Pt(n,i){if(n&1){let a=ee();d(0,"div",9),T(1,5),d(2,"div",10)(3,"div",11),Q("@verticalStepTransition.done",function(t){L(a);let r=p(2);return H(r._animationDone.next(t))}),d(4,"div",12),T(5,8),h()()()()}if(n&2){let a=i.$implicit,e=i.$index,t=i.$index,r=i.$count,o=p(2),c=le(4);s(),m("ngTemplateOutlet",c)("ngTemplateOutletContext",U(10,rt,a,e)),s(),I("mat-stepper-vertical-line",t!==r-1),s(),I("mat-vertical-stepper-content-inactive",o.selectedIndex!==e),m("@verticalStepTransition",U(15,ot,o._getAnimationDirection(e),ce(13,at,o._getAnimationDuration())))("id",o._getStepContentId(e)),V("aria-labelledby",o._getStepLabelId(e)),s(2),m("ngTemplateOutlet",a.content)}}function At(n,i){if(n&1&&J(0,Pt,6,18,"div",9,Z),n&2){let a=p();X(a.steps)}}function Lt(n,i){if(n&1){let a=ee();d(0,"mat-step-header",13),Q("click",function(){let t=L(a).step;return H(t.select())})("keydown",function(t){L(a);let r=p();return H(r._onKeydown(t))}),h()}if(n&2){let a=i.step,e=i.i,t=p();I("mat-horizontal-stepper-header",t.orientation==="horizontal")("mat-vertical-stepper-header",t.orientation==="vertical"),m("tabIndex",t._getFocusIndex()===e?0:-1)("id",t._getStepLabelId(e))("index",e)("state",t._getIndicatorType(e,a.state))("label",a.stepLabel||a.label)("selected",t.selectedIndex===e)("active",t._stepIsNavigable(e,a))("optional",a.optional)("errorMessage",a.errorMessage)("iconOverrides",t._iconOverrides)("disableRipple",t.disableRipple||!t._stepIsNavigable(e,a))("color",a.color||t.color),V("aria-posinset",e+1)("aria-setsize",t.steps.length)("aria-controls",t._getStepContentId(e))("aria-selected",t.selectedIndex==e)("aria-label",a.ariaLabel||null)("aria-labelledby",!a.ariaLabel&&a.ariaLabelledby?a.ariaLabelledby:null)("aria-disabled",t._stepIsNavigable(e,a)?null:!0)}}var Ie=(()=>{let i=class i extends ye{};i.\u0275fac=(()=>{let e;return function(r){return(e||(e=Pe(i)))(r||i)}})(),i.\u0275dir=x({type:i,selectors:[["","matStepLabel",""]],standalone:!0,features:[j]});let n=i;return n})(),ae=(()=>{let i=class i{constructor(){this.changes=new A,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=we({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();function Ht(n){return n||new ae}var Nt={provide:ae,deps:[[new Re,new ze,ae]],useFactory:Ht},Ce=(()=>{let i=class i extends be{constructor(e,t,r,o){super(r),this._intl=e,this._focusMonitor=t,this._intlSubscription=e.changes.subscribe(()=>o.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._elementRef,e,t):this._elementRef.nativeElement.focus(t)}_stringLabel(){return this.label instanceof Ie?null:this.label}_templateLabel(){return this.label instanceof Ie?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return e=="number"?`${this.index+1}`:e=="edit"?"create":e=="error"?"warning":e}};i.\u0275fac=function(t){return new(t||i)(l(ae),l(qe),l(R),l(q))},i.\u0275cmp=O({type:i,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(t,r){t&2&&Le("mat-"+(r.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[j,F],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(t,r){if(t&1&&(se(0,"div",0),d(1,"div")(2,"div",1),f(3,vt,1,2,"ng-container",2)(4,Ct,2,1),h()(),d(5,"div",3),f(6,St,2,1,"div",4)(7,Dt,2,1)(8,Mt,2,1,"div",5)(9,Tt,2,1,"div",6),h()),t&2){let o;m("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disableRipple),s(),He("mat-step-icon-state-",r.state," mat-step-icon"),I("mat-step-icon-selected",r.selected),s(2),v(3,r.iconOverrides&&r.iconOverrides[r.state]?3:4),s(2),I("mat-step-label-active",r.active)("mat-step-label-selected",r.selected)("mat-step-label-error",r.state=="error"),s(),v(6,(o=r._templateLabel())?6:r._stringLabel()?7:-1,o),s(2),v(8,r.optional&&r.state!="error"?8:-1),s(),v(9,r.state==="error"?9:-1)}},dependencies:[Ze,de,Xe],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color);border-radius:var(--mat-stepper-header-hover-state-layer-shape)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0});let n=i;return n})(),st="500ms",lt="225ms",it={horizontalStepTransition:he("horizontalStepTransition",[w("previous",E({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),w("current",E({transform:"none",visibility:"inherit"})),w("next",E({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),fe("* => *",ue([me("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),ge("@*",_e(),{optional:!0})]),{params:{animationDuration:st}})]),verticalStepTransition:he("verticalStepTransition",[w("previous",E({height:"0px",visibility:"hidden"})),w("next",E({height:"0px",visibility:"hidden"})),w("current",E({height:"*",visibility:"inherit"})),fe("* <=> current",ue([me("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),ge("@*",_e(),{optional:!0})]),{params:{animationDuration:lt}})])},jt=(()=>{let i=class i{constructor(e){this.templateRef=e}};i.\u0275fac=function(t){return new(t||i)(l(M))},i.\u0275dir=x({type:i,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[u.None,"matStepperIcon","name"]},standalone:!0});let n=i;return n})(),Vt=(()=>{let i=class i{constructor(e){this._template=e}};i.\u0275fac=function(t){return new(t||i)(l(M))},i.\u0275dir=x({type:i,selectors:[["ng-template","matStepContent",""]],standalone:!0});let n=i;return n})(),Qt=(()=>{let i=class i extends ne{constructor(e,t,r,o){super(e,o),this._errorStateMatcher=t,this._viewContainerRef=r,this._isSelected=Se.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Ee(()=>this._stepper.selectionChange.pipe(Me(e=>e.selectedStep===this),k(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new Ke(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,t){let r=this._errorStateMatcher.isErrorState(e,t),o=!!(e&&e.invalid&&this.interacted);return r||o}};i.\u0275fac=function(t){return new(t||i)(l(K(()=>pt)),l(G,4),l(Ae),l(xe,8))},i.\u0275cmp=O({type:i,selectors:[["mat-step"]],contentQueries:function(t,r,o){if(t&1&&(b(o,Ie,5),b(o,Vt,5)),t&2){let c;_(c=g())&&(r.stepLabel=c.first),_(c=g())&&(r._lazyContent=c.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[pe([{provide:G,useExisting:i},{provide:ne,useExisting:i}]),j,F],ngContentSelectors:nt,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,r){t&1&&(B(),f(0,wt,2,1,"ng-template"))},dependencies:[We],encapsulation:2,changeDetection:0});let n=i;return n})(),pt=(()=>{let i=class i extends re{get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}constructor(e,t,r){super(e,t,r),this._stepHeader=void 0,this._steps=void 0,this.steps=new N,this.animationDone=new z,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new A,this._animationDuration="",this._isServer=!Oe(Be).isBrowser;let o=r.nativeElement.nodeName.toLowerCase();this.orientation=o==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:t})=>this._iconOverrides[e]=t),this.steps.changes.pipe(D(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(Te((e,t)=>e.fromState===t.fromState&&e.toState===t.toState),D(this._destroyed)).subscribe(e=>{e.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(e,t){return t.completed||this.selectedIndex===e||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?st:lt}};i.\u0275fac=function(t){return new(t||i)(l(ie,8),l(q),l(R))},i.\u0275cmp=O({type:i,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,r,o){if(t&1&&(b(o,Qt,5),b(o,jt,5)),t&2){let c;_(c=g())&&(r._steps=c),_(c=g())&&(r._icons=c)}},viewQuery:function(t,r){if(t&1&&te(Ce,5),t&2){let o;_(o=g())&&(r._stepHeader=o)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(t,r){t&2&&(V("aria-orientation",r.orientation),I("mat-stepper-horizontal",r.orientation==="horizontal")("mat-stepper-vertical",r.orientation==="vertical")("mat-stepper-label-position-end",r.orientation==="horizontal"&&r.labelPosition=="end")("mat-stepper-label-position-bottom",r.orientation==="horizontal"&&r.labelPosition=="bottom")("mat-stepper-header-position-bottom",r.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[pe([{provide:re,useExisting:i}]),j,F],ngContentSelectors:nt,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(t,r){if(t&1&&(B(),f(0,kt,1,0)(1,Ft,7,0)(2,At,2,0)(3,Lt,1,23,"ng-template",null,0,Ne)),t&2){let o;v(0,r._isServer?0:-1),s(),v(1,(o=r.orientation)==="horizontal"?1:o==="vertical"?2:-1)}},dependencies:[de,Ce],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[it.horizontalStepTransition,it.verticalStepTransition]},changeDetection:0});let n=i;return n})();var Pi=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({providers:[Nt,G],imports:[ve,Ve,Ye,tt,et,Je,pt,Ce,ve]});let n=i;return n})();export{xe as a,Ie as b,jt as c,Vt as d,Qt as e,pt as f,Pi as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as R}from"./chunk-MYMGWQRE.js";import{q as N,r as z}from"./chunk-O4MUVGWL.js";import{u as F}from"./chunk-SP6QPE3M.js";import{c as V}from"./chunk-6F6NSBIF.js";import{Ab as g,Bb as w,Cb as I,Db as $,Ha as _,Ia as i,Ib as O,Ja as T,Kb as P,Ub as E,Wa as m,Xa as Z,Ya as c,fb as a,gb as l,ha as k,hb as s,ib as x,ic as M,jb as v,kc as U,lb as h,lc as D,ob as C,pa as u,qa as f,qb as p,sc as B,tb as L,vc as A,za as b,zb as S}from"./chunk-6DRNAUKE.js";var q=e=>({"me-3":e}),G=e=>({"border-bottom pb-2":e});function Q(e,o){if(e&1){let t=h();x(0),a(1,"img",19),C("click",function(n){u(t);let d=p();return f(d.openBiggerPicture(n))}),l(),v()}if(e&2){let t=p();i(),c("src",t.image,_)}}function X(e,o){e&1&&s(0,"img",20)}function Y(e,o){if(e&1&&(x(0),a(1,"span",24)(2,"a",25),s(3,"i",26),l()(),v()),e&2){let t=p(2);i(2),c("href",t.redirectUrl,_)}}function ee(e,o){if(e&1&&(a(0,"div",21),s(1,"i",22),a(2,"span"),g(3),l(),m(4,Y,4,1,"ng-container",23),l()),e&2){let t=p();i(3),w(t.code),i(),c("ngIf",t.code!=="SKU not assigned"&&t.showRedirectIcon)}}function te(e,o){if(e&1){let t=h();a(0,"div",27),C("click",function(){u(t);let n=p();return f(n.onEventDesc())}),s(1,"i",28),a(2,"span"),g(3),l()()}if(e&2){let t=p();i(3),w(t.description)}}function ne(e,o){if(e&1){let t=h();a(0,"div",29)(1,"input",30),C("change",function(n){u(t);let d=p();return f(d.onCheck(n.target.checked))}),l()()}}function ie(e,o){if(e&1){let t=h();a(0,"button",31),C("click",function(){u(t);let n=p();return f(n.onDownload())}),s(1,"i",32),g(2," Download "),l()}}function oe(e,o){if(e&1){let t=h();a(0,"button",31),C("click",function(){u(t);let n=p();return f(n.onUpload())}),s(1,"i",33),g(2," Upload "),l()}}function re(e,o){if(e&1){let t=h();a(0,"button",34),C("click",function(){u(t);let n=p();return f(n.onScan())}),s(1,"i",35),g(2," Scan "),l()}}function ae(e,o){if(e&1&&(x(0),a(1,"a",37),s(2,"img",38),l(),v()),e&2){let t=o.$implicit,r=o.index,n=p(2);i(),L("href",t.Url,_),i(),c("ngClass",P(4,q,r!=n.channels.length-1))("src",n.getChannelLogo(t),_)("matTooltip",t.Title?t.Title:t.Name)}}function ce(e,o){if(e&1&&(x(0),m(1,ae,3,6,"ng-container",36),v()),e&2){let t=p();i(),c("ngForOf",t.channels)}}function le(e,o){if(e&1&&(a(0,"li")(1,"div",42)(2,"div",43)(3,"a",37),s(4,"img",44),a(5,"span",45),g(6),l()()()()()),e&2){let t=o.$implicit,r=o.index,n=p(2);i(2),c("ngClass",P(4,G,r!=n.channels.length-1)),i(),c("href",t.Url,_),i(),c("src",n.getChannelLogo(t),_),i(2),w(t.Title)}}function de(e,o){if(e&1&&(a(0,"div",39)(1,"button",40),g(2),l(),a(3,"ul",41),m(4,le,7,6,"li",36),l()()),e&2){let t=p();i(2),I(" ",t.channels.length," CHANNELS "),i(2),c("ngForOf",t.channels)}}var Se=(()=>{let o=class o{constructor(r){this.biggerPictureService=r,this.uploadButton=!1,this.scanButton=!1,this.showCheckBox=!1,this.downloadButton=!1,this.hasZoom=!0,this.showRedirectIcon=!0,this.onUploadEvent=new b,this.onScanEvent=new b,this.checkBoxChange=new b,this.onDescEvent=new b,this.onDownloadEvent=new b}ngAfterContentInit(){this.initRedirectUrl()}initRedirectUrl(){let r=localStorage.getItem("Authorization"),n=JSON.parse(r)?.Host;this.redirectUrl=`https://${n}/menu/Products/Catalog/Products/Info?ID=${this.productId}`}onUpload(){this.onUploadEvent.emit()}onScan(){this.onScanEvent.emit()}onCheck(r){this.checkBoxChange.emit(r)}onEventDesc(){this.onDescEvent.emit()}onDownload(){this.onDownloadEvent.emit()}getChannelLogo(r){return V.getChannelLogoByTypeId(r.TypeID)}openBiggerPicture(r){this.biggerPictureService.openBiggerPicture(r,this.imageForZoom)}};o.\u0275fac=function(n){return new(n||o)(T(R))},o.\u0275cmp=k({type:o,selectors:[["app-product-card"]],inputs:{productId:"productId",uploadButton:"uploadButton",scanButton:"scanButton",showCheckBox:"showCheckBox",downloadButton:"downloadButton",image:"image",title:"title",code:"code",description:"description",channels:"channels",check:"check",imageForZoom:"imageForZoom",hasZoom:"hasZoom",showRedirectIcon:"showRedirectIcon"},outputs:{onUploadEvent:"onUpload",onScanEvent:"onScan",checkBoxChange:"onCheckBoxChange",onDescEvent:"onDescEvent",onDownloadEvent:"onDownload"},standalone:!0,features:[O],decls:26,vars:11,consts:[["elsePic",""],["DROPDOWN",""],[1,"card",2,"margin-bottom","0px"],[1,"card-body","py-6"],[1,"row"],[1,"col-4"],[1,"productUpload_defaultSize","me-2","image-upload"],[1,"imgContainer"],[4,"ngIf","ngIfElse"],[1,"col-7","d-inline-block","justify-content-between","gx-0",2,"padding-left","0px"],[1,"itemTitle","cursor-pointer",3,"click"],["class","description cursor-pointer",4,"ngIf"],["class","description cursor-pointer",3,"click",4,"ngIf"],[1,"col-1","gx-0","d-flex","justify-content-center"],[1,"text-end"],["class","text-end gx-0",4,"ngIf"],[1,"card-footer","d-flex","justify-content-between","py-5","bg-footer","align-items-center",2,"border-top","0.1px solid rgb(220 220 220)"],["class","fs-6 btn btn-light btn-sm me-3",3,"click",4,"ngIf"],["class","fs-6 btn btn-light btn-sm",3,"click",4,"ngIf"],[1,"rounded","imgUpload","float-left",3,"click","src"],["src","https://res.cloudinary.com/pos/image/upload/w_110/POS/Images/Icon/products_thumb.png",1,"rounded","float-left","imgUpload"],[1,"description","cursor-pointer"],[1,"fa","fa-barcode","me-2"],[4,"ngIf"],[1,"ms-2"],["target","_blank",2,"color","#0976b4",3,"href"],[1,"fas","fa-external-link-alt"],[1,"description","cursor-pointer",3,"click"],[1,"fa","fa-tag","me-2"],[1,"text-end","gx-0"],["type","checkbox",3,"change"],[1,"fs-6","btn","btn-light","btn-sm","me-3",3,"click"],["aria-hidden","true",1,"fa","fa-download"],["aria-hidden","true",1,"fa","fa-upload"],[1,"fs-6","btn","btn-light","btn-sm",3,"click"],[1,"fa","fa-spinner"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"],["alt","",1,"img-logo",3,"ngClass","src","matTooltip"],[1,"dropdown"],["type","button","id","dropdownMenuButton1","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","fs-6","btn-sm","btn-light","dropdown-toggle"],[1,"dropdown-menu"],[1,"dropdown-item","py-2",2,"cursor","pointer"],[3,"ngClass"],[1,"img-logo",3,"src"],[1,"ms-4"]],template:function(n,d){if(n&1){let y=h();a(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"div",6)(5,"div",7),m(6,Q,2,1,"ng-container",8)(7,X,1,0,"ng-template",null,0,E),l()()(),a(9,"div",9)(10,"h4",10),C("click",function(){return u(y),f(d.onEventDesc())}),g(11),l(),m(12,ee,5,2,"div",11)(13,te,4,1,"div",12),l(),a(14,"div",13)(15,"div",14),m(16,ne,2,0,"div",15),l()()()(),a(17,"div",16)(18,"div"),m(19,ie,3,0,"button",17)(20,oe,3,0,"button",17)(21,re,3,0,"button",18),l(),a(22,"div"),m(23,ce,2,1,"ng-container",8)(24,de,5,2,"ng-template",null,1,E),l()()()}if(n&2){let y=S(8),j=S(25);i(6),c("ngIf",d.image)("ngIfElse",y),i(5),I(" ",d.title," "),i(),c("ngIf",d.code),i(),c("ngIf",d.description),i(3),c("ngIf",d.showCheckBox),i(3),c("ngIf",d.downloadButton),i(),c("ngIf",d.uploadButton),i(),c("ngIf",d.scanButton),i(2),c("ngIf",d.channels.length<4)("ngIfElse",j)}},dependencies:[B,M,U,D,F,z,N],styles:[".img-logo[_ngcontent-%COMP%]{height:24px;width:24px}.itemTitle[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}.bg-footer[_ngcontent-%COMP%]{background-color:#ededed69}.description[_ngcontent-%COMP%]{font-weight:300;margin-left:2px}.productUpload_defaultSize[_ngcontent-%COMP%]{max-width:100px!important;max-height:100px!important;width:auto!important;height:auto!important}.image-upload[_ngcontent-%COMP%]{position:relative}.imgContainer[_ngcontent-%COMP%]{width:100%;height:100px}.imgUpload[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:scale-down;cursor:pointer}.dropdown[_ngcontent-%COMP%] .dropdown-menu.show[_ngcontent-%COMP%]{top:unset!important}"]});let e=o;return e})();var pe=e=>({"border-bottom-0":e}),se=e=>({"border-bottom":e});function me(e,o){if(e&1){let t=h();x(0),a(1,"img",14),C("click",function(n){u(t);let d=p();return f(d.onZoomImage(n))}),l(),v()}if(e&2){let t=p();i(),c("ngSrc",t.image)("fill",!0)}}function ge(e,o){e&1&&s(0,"img",15),e&2&&c("fill",!0)}function ue(e,o){if(e&1&&(a(0,"div",16),s(1,"i",17),a(2,"span"),g(3),l()()),e&2){let t=p();i(3),w(t.code)}}function fe(e,o){if(e&1&&(x(0),a(1,"div",27)(2,"div",28),g(3),l(),a(4,"div")(5,"a",29),s(6,"i",30),l()()(),v()),e&2){let t=o.$implicit,r=o.index,n=p().$implicit;i(),c("ngClass",P(4,se,r!==(n==null?null:n.Variants.length)-1)),i(2),$(" ",t.ProductName," - ",t.Name," "),i(2),c("href",t.URL,_)}}function _e(e,o){if(e&1&&(a(0,"div",18)(1,"h2",19)(2,"button",20)(3,"div",21),s(4,"img",22),a(5,"span",23),g(6),l()()()(),a(7,"div",24)(8,"div",25),m(9,fe,7,6,"ng-container",26),l()()()),e&2){let t=o.$implicit,r=o.index,n=p();c("ngClass",P(10,pe,n.channels.length-1==r)),i(),c("id","heading"+r+n.id),i(),Z("data-bs-target","#collapse"+r+n.id)("aria-controls","#collapse"+r+n.id),i(2),c("src",n.getChannelLogo(t.TypeID),_),i(),c("matTooltip",(t==null||t.ChannelName==null?null:t.ChannelName.length)>30?t.ChannelName:""),i(),w(t.ChannelName),i(),c("id","collapse"+r+n.id),Z("aria-labelledby","heading"+r+n.id),i(2),c("ngForOf",t.Variants)}}var Me=(()=>{let o=class o{constructor(r){this.biggerPictureService=r}getChannelLogo(r){return V.getChannelLogoByTypeId(r)}onZoomImage(r){this.biggerPictureService.openBiggerPicture(r,this.imageForZoom)}};o.\u0275fac=function(n){return new(n||o)(T(R))},o.\u0275cmp=k({type:o,selectors:[["app-duplicate-product-card"]],inputs:{image:"image",imageForZoom:"imageForZoom",title:"title",code:"code",channels:"channels",id:"id"},standalone:!0,features:[O],decls:16,vars:5,consts:[["elsePic",""],[1,"card"],[1,"card-body","py-6"],[1,"row"],[1,"col-4"],[1,"productUpload_defaultSize","me-2","image-upload"],[1,"imgContainer"],[4,"ngIf","ngIfElse"],[1,"col-8","d-inline-block","justify-content-between","gx-0",2,"padding-left","0px"],[1,"itemTitle"],["class","description",4,"ngIf"],[1,"card-footer",2,"padding-left","0px","padding-right","0px"],["id","accordionParent",1,"accordion","accordion-flush"],["class","accordion-item border-start-0 border-end-0",3,"ngClass",4,"ngFor","ngForOf"],[1,"rounded","imgUpload","float-left","cursor-pointer",3,"click","ngSrc","fill"],["ngSrc","//res.cloudinary.com/pos/image/upload/w_110/POS/Images/Icon/products_thumb.png",1,"rounded","float-left","imgUpload",3,"fill"],[1,"description"],[1,"fa","fa-barcode","me-2"],[1,"accordion-item","border-start-0","border-end-0",3,"ngClass"],[1,"accordion-header",3,"id"],["type","button","data-bs-toggle","collapse","aria-expanded","true",1,"accordion-button","collapsed",2,"height","40px"],[1,"d-flex","align-items-center","justify-content-start","w-100"],["alt","",1,"channel-logo",3,"src"],[1,"fs-4","ps-4","text-ellipsis",2,"max-width","13vw",3,"matTooltip"],["data-bs-parent","#accordionParent",1,"accordion-collapse","collapse",3,"id"],[1,"accordion-body",2,"padding-top","0px","padding-bottom","0px"],[4,"ngFor","ngForOf"],[1,"d-flex","justify-content-between","align-items-center","py-4",3,"ngClass"],[1,"text-ellipsis"],["target","_blank",1,"text-secondary",3,"href"],[1,"fa","fa-external-link-alt"]],template:function(n,d){if(n&1&&(a(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6),m(6,me,2,2,"ng-container",7)(7,ge,1,1,"ng-template",null,0,E),l()()(),a(9,"div",8)(10,"h4",9),g(11),l(),m(12,ue,4,1,"div",10),l()()(),a(13,"div",11)(14,"div",12),m(15,_e,10,12,"div",13),l()()()),n&2){let y=S(8);i(6),c("ngIf",d.image)("ngIfElse",y),i(5),I(" ",d.title," "),i(),c("ngIf",d.code),i(3),c("ngForOf",d.channels)}},dependencies:[B,M,U,D,F,z,N,A],styles:[`.productUpload_defaultSize[_ngcontent-%COMP%]{max-width:100px!important;max-height:100px!important;width:auto!important;height:auto!important}.image-upload[_ngcontent-%COMP%]{position:relative}.imgContainer[_ngcontent-%COMP%]{width:100%;height:100px}.imgUpload[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:scale-down}.channel-logo[_ngcontent-%COMP%]{width:18px;height:18px}.accordion-button[_ngcontent-%COMP%]{background-color:#ededed69!important}.accordion-button[_ngcontent-%COMP%]:not(.collapsed){background-color:#ededed69!important;color:#333}.accordion-button[_ngcontent-%COMP%]:after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.accordion-button[_ngcontent-%COMP%]:focus{box-shadow:none!important}.card[_ngcontent-%COMP%]{margin-bottom:0!important}`]});let e=o;return e})();export{Se as a,Me as b};
|