marketplacepos 2.7.6 → 2.7.8

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.
Files changed (37) hide show
  1. package/package.json +1 -1
  2. package/Marketplace/25.b70d86f301c02577.js +0 -1
  3. package/Marketplace/277.e644e3531765ce65.js +0 -1
  4. package/Marketplace/360.35d9782330672e00.js +0 -1
  5. package/Marketplace/369.f3cfdd6bf33e06f5.js +0 -1
  6. package/Marketplace/392.f4537160149f627a.js +0 -1
  7. package/Marketplace/397.bd20bd794e4994a8.js +0 -1
  8. package/Marketplace/3rdpartylicenses.txt +0 -581
  9. package/Marketplace/501.7645c32a140dd7f8.js +0 -1
  10. package/Marketplace/512.2796526d3f4c83f5.js +0 -1
  11. package/Marketplace/516.23780ce40d15b408.js +0 -1
  12. package/Marketplace/545.4809f373cc63f3b4.js +0 -1
  13. package/Marketplace/587.69b186b4d297a852.js +0 -1
  14. package/Marketplace/61.868e35095821a091.js +0 -1
  15. package/Marketplace/616.b7e1ec6933570169.js +0 -1
  16. package/Marketplace/643.ee45650084330291.js +0 -1
  17. package/Marketplace/716.986295839ef23655.js +0 -1
  18. package/Marketplace/717.26634e93ca9b60ed.js +0 -1
  19. package/Marketplace/72.b0c5b137e38d6dbc.js +0 -1
  20. package/Marketplace/739.a22c3c892afd39b9.js +0 -1
  21. package/Marketplace/833.552ef7db8cfcde45.js +0 -1
  22. package/Marketplace/859.b43bda3adda95fa3.js +0 -1
  23. package/Marketplace/863.67b36200543c45b1.js +0 -1
  24. package/Marketplace/874.8531eff61a70fef4.js +0 -1
  25. package/Marketplace/877.460b82caffdbeb26.js +0 -1
  26. package/Marketplace/913.08c7bf72f6b8e4f8.js +0 -1
  27. package/Marketplace/970.7c36426f4bcc50cb.js +0 -1
  28. package/Marketplace/993.f25cf4b5757f3e91.js +0 -1
  29. package/Marketplace/997.6b3f954f35ff3ac0.js +0 -1
  30. package/Marketplace/common.1ae3037cc1f5de4e.js +0 -1
  31. package/Marketplace/favicon.ico +0 -0
  32. package/Marketplace/index.html +0 -22
  33. package/Marketplace/main.3422662bee459aef.js +0 -1
  34. package/Marketplace/polyfills.bee3c4d96e890990.js +0 -1
  35. package/Marketplace/runtime.0e8ee6b131e362b6.js +0 -1
  36. package/Marketplace/scripts.b7cebc1258dbcca8.js +0 -1
  37. package/Marketplace/styles.bd36b2077413d718.css +0 -20
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"marketplacepos","version":"2.7.6"}
1
+ {"name":"marketplacepos","version":"2.7.8"}
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[25],{6025:(k,g,r)=>{r.r(g),r.d(g,{ProductStatisticModule:()=>s});var a=r(6895),t=r(4650),p=r(284),f=r(7398);const y=function(){return["/menu/report/order/sync-order"]},T=function(){return["/menu/report/order/invoice"]},_=function(){return["/menu/report/order/delivery"]},P=function(){return["/menu/report/order/payment"]};class l{constructor(){this.tabsMenu=[{Title:"Products",Url:"/menu/report/product-statistic/channel"}]}}l.\u0275fac=function(e){return new(e||l)},l.\u0275cmp=t.Xpm({type:l,selectors:[["app-product-statistic"]],decls:30,vars:9,consts:[[1,"navbar","page-nav","navbar-default","py-0","navbar-expand-lg"],[1,"container-fluid"],[3,"Tabs"],[1,"dropdown","dropstart","me-4"],["role","button","data-bs-toggle","dropdown","id","dropdownMenuButton1","aria-expanded","false",1,"text-dark"],[1,"fas","fa-bars","fa-lg"],["aria-labelledby","dropdownMenuButton1",1,"dropdown-menu","report"],[1,"dropdown-header","text-dark","fw-normal",2,"font-size",".875rem !important"],[1,"dropdown-divider"],[1,"dropdown-item",3,"routerLink"],[1,"fa-regular","fa-file","me-2"]],template:function(e,n){1&e&&(t.TgZ(0,"nav",0)(1,"div",1)(2,"div"),t._UZ(3,"nav-tab",2),t.qZA(),t.TgZ(4,"div",3)(5,"a",4),t._UZ(6,"i",5),t.qZA(),t.TgZ(7,"ul",6)(8,"li")(9,"h5",7),t._uU(10,"Order Report"),t.qZA()(),t.TgZ(11,"li"),t._UZ(12,"hr",8),t.qZA(),t.TgZ(13,"li")(14,"a",9),t._UZ(15,"i",10),t._uU(16,"New Order"),t.qZA()(),t.TgZ(17,"li")(18,"a",9),t._UZ(19,"i",10),t._uU(20,"Ready To Ship"),t.qZA()(),t.TgZ(21,"li")(22,"a",9),t._UZ(23,"i",10),t._uU(24,"Shipped"),t.qZA()(),t.TgZ(25,"li")(26,"a",9),t._UZ(27,"i",10),t._uU(28,"Completed"),t.qZA()()()()()(),t._UZ(29,"router-outlet")),2&e&&(t.xp6(3),t.Q6J("Tabs",n.tabsMenu),t.xp6(11),t.Q6J("routerLink",t.DdM(5,y)),t.xp6(4),t.Q6J("routerLink",t.DdM(6,T)),t.xp6(4),t.Q6J("routerLink",t.DdM(7,_)),t.xp6(4),t.Q6J("routerLink",t.DdM(8,P)))},dependencies:[p.lC,p.rH,f.e],styles:["ul[_ngcontent-%COMP%] > li.dropdown-item[_ngcontent-%COMP%]{font-size:.6875rem!important}.dropdown[_ngcontent-%COMP%] .dropdown-menu.report.show[_ngcontent-%COMP%]{top:100%!important;transform:none!important;z-index:10000;cursor:pointer;right:-50%}"]});var A=r(7579),h=r(2722),C=r(9300),b=r(8231),Z=r(3154),U=r(6082),w=r(7185),O=r(5412),S=r(7481),v=r(266);function L(o,e){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const n=t.oxw().$implicit;t.xp6(1),t.hij(" ",n.Count," ")}}function M(o,e){if(1&o){const n=t.EpF();t.TgZ(0,"span",25),t.NdJ("click",function(){t.CHM(n);const c=t.oxw().$implicit,u=t.oxw();return t.KtG(u.getLiveProductCount(c.ID,c))}),t._UZ(1,"i",26),t.qZA()}}const I=function(){return["/menu/products/status/sold-in-channel"]},x=function(o){return{ID:o}},D=function(){return["/menu/products/status/not-in-pos"]};function J(o,e){if(1&o){const n=t.EpF();t.TgZ(0,"tr")(1,"td"),t._UZ(2,"img",14),t.TgZ(3,"span",15),t._uU(4),t.qZA()(),t.TgZ(5,"td",16),t.YNc(6,L,2,1,"ng-container",17),t.YNc(7,M,2,0,"ng-template",null,18,t.W1O),t.qZA(),t.TgZ(9,"td",16)(10,"a",19),t._uU(11),t.ALo(12,"number"),t.qZA()(),t.TgZ(13,"td",16)(14,"a",19),t._uU(15),t.ALo(16,"number"),t.qZA()(),t.TgZ(17,"td"),t._uU(18),t.ALo(19,"date"),t.qZA(),t.TgZ(20,"td")(21,"div",20)(22,"button",21),t.NdJ("click",function(){const u=t.CHM(n).$implicit,m=t.oxw();return t.KtG(m.onScanChannel(u))}),t._UZ(23,"i",22),t._uU(24," Scan "),t.qZA(),t.TgZ(25,"button",23),t.NdJ("click",function(){const u=t.CHM(n).$implicit,m=t.oxw();return t.KtG(m.onClearCache(u.ID))}),t._UZ(26,"i",24),t._uU(27," Clear "),t.qZA()()()()}if(2&o){const n=e.$implicit,i=t.MAs(8),c=t.oxw();t.xp6(2),t.Q6J("src",c.getChannelLogo(n.TypeID),t.LSH),t.xp6(2),t.Oqu(n.Name),t.xp6(2),t.Q6J("ngIf",void 0!==n.Count)("ngIfElse",i),t.xp6(4),t.Q6J("routerLink",t.DdM(18,I))("queryParams",t.VKq(19,x,n.ID)),t.xp6(1),t.hij(" ",t.lcZ(12,11,n.SoldInChannel)," "),t.xp6(3),t.Q6J("routerLink",t.DdM(21,D))("queryParams",t.VKq(22,x,n.ID)),t.xp6(1),t.hij(" ",t.lcZ(16,13,n.NotInPOS)," "),t.xp6(3),t.Oqu(n.LastSync?t.xi3(19,15,n.LastSync,"dd MMM yyyy HH:mm"):"-")}}class d{constructor(e,n,i){this.productService=e,this.toastr=n,this.dialog=i,this.destroy$=new A.x}ngOnInit(){this.setObsProductStatistic(),this.initPageLoader()}initPageLoader(){this.productService.loader().pipe((0,h.R)(this.destroy$)).subscribe(e=>{this.channelOptions=e?.Options?.Channel})}setObsProductStatistic(){this.channels$=this.productService.getProductStatistic()}getLiveProductCount(e,n){this.productService.getTotalProductLive(e).pipe((0,h.R)(this.destroy$)).subscribe(i=>{n.Count=i.Count})}onScanChannel(e){this.dialog.open(b.j,{width:"700px",data:{channelOptions:this.channelOptions,filter:{ChannelID:e.ID},disabledChannelOption:!0}}).afterClosed().pipe((0,C.h)(n=>Z.g.IsNotEmpty(n))).subscribe(n=>{this.scanAllProduct(e.ID,n)})}scanAllProduct(e,n){let i=this.productService.findChannelById(e,this.channelOptions);this.productService.scanAll(n.ChannelID,n.ScanFull,n.UpdatedProduct,n.Async).pipe((0,C.h)(c=>c)).subscribe(c=>{n.Async?this.toastr.warning("You will be notified when the scan is completed.","Scan In Progress",{toastClass:"ngx-toastr toast-waiting"}):(this.productService.successToastrScanAllProduct(c,i,!n.UpdatedProduct),this.initPageLoader(),this.setObsProductStatistic())})}onClearCache(e){confirm("Are you sure you want to Clear Cache? This Process will remove your product integration to marketplace")&&this.productService.clearCacheChannel(e).pipe((0,h.R)(this.destroy$)).subscribe(i=>{this.toastr.success("Successfully cleared cache","Success"),this.initPageLoader(),this.setObsProductStatistic()})}getChannelLogo(e){return Z.g.getChannelLogoByTypeId(e)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}d.\u0275fac=function(e){return new(e||d)(t.Y36(U.M),t.Y36(w._W),t.Y36(O.uw))},d.\u0275cmp=t.Xpm({type:d,selectors:[["app-channel-statistic"]],decls:23,vars:5,consts:[["headerTitle","Products Statistic",3,"hideSearchBox","hideSearchDropdown"],[1,"container-fluid"],[1,"row","mt-4"],[1,"col-md-12"],[1,"table-responsive"],[1,"table","table-hover"],[1,"sticky-top-thead"],[1,"table-light"],[1,"text-center",2,"width","13rem"],[1,"text-center",2,"width","9rem"],[1,"text-center",2,"width","14rem"],[2,"width","10rem"],[2,"width","12rem"],[4,"ngFor","ngForOf"],[2,"width","24px","height","24px",3,"src"],[1,"ms-3"],[1,"text-center"],[4,"ngIf","ngIfElse"],["QUESTION",""],[3,"routerLink","queryParams"],[1,"d-flex","align-items-center","justify-content-center"],[1,"btn","btn-sm","btn-secondary","fs-6",3,"click"],[1,"fa","fa-spinner"],[1,"btn","btn-sm","btn-secondary","fs-6","ms-3",3,"click"],[1,"fa","fa-trash"],["matTooltip","Click to see total live product",1,"cursor-pointer","fs-5","text-primary",3,"click"],[1,"fa-solid","fa-circle-question","cursor"]],template:function(e,n){if(1&e&&(t.TgZ(0,"mainpanel",0)(1,"content")(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"table",5)(7,"thead",6)(8,"tr",7)(9,"th"),t._uU(10,"Channel"),t.qZA(),t.TgZ(11,"th",8),t._uU(12,"Live Product"),t.qZA(),t.TgZ(13,"th",9),t._uU(14,"Sold In Channel"),t.qZA(),t.TgZ(15,"th",10),t._uU(16,"Product Not in POS"),t.qZA(),t.TgZ(17,"th",11),t._uU(18,"Last Sync"),t.qZA(),t._UZ(19,"th",12),t.qZA()(),t.TgZ(20,"tbody"),t.YNc(21,J,28,24,"tr",13),t.ALo(22,"async"),t.qZA()()()()()()()()),2&e){let i;t.Q6J("hideSearchBox",!0)("hideSearchDropdown",!0),t.xp6(21),t.Q6J("ngForOf",null==(i=t.lcZ(22,3,n.channels$))?null:i.Data)}},dependencies:[a.sg,a.O5,p.rH,S.p,v.gM,a.Ov,a.JJ,a.uU]});const q=[{path:"",component:l,children:[{component:d,path:"channel",pathMatch:"full",data:{title:"Products Statistic"}}]}];class s{}s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[a.ez,p.Bz.forChild(q),f.Z,S.R,v.AV]})}}]);