marketplacepos 3.13.2 → 3.13.3
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/{chunk-FG5CLZ6F.js → chunk-2HWKPGG2.js} +1 -1
- package/Marketplace/chunk-4QAG4XV5.js +1 -0
- package/Marketplace/{chunk-OOBUECHW.js → chunk-4QGD62JF.js} +1 -1
- package/Marketplace/{chunk-5TLAX43C.js → chunk-6NUQBHVK.js} +1 -1
- package/Marketplace/chunk-6OWGDOJP.js +2 -0
- package/Marketplace/{chunk-VXKEHQ73.js → chunk-AHK65AO6.js} +1 -1
- package/Marketplace/{chunk-CS5AGUUI.js → chunk-E5ZXRZGR.js} +1 -1
- package/Marketplace/chunk-EVSENZKK.js +1 -0
- package/Marketplace/{chunk-NUHOGS4I.js → chunk-F3ASIPCS.js} +1 -1
- package/Marketplace/{chunk-TOGKMWQK.js → chunk-IIUTIA47.js} +1 -1
- package/Marketplace/chunk-JBAG4TSB.js +1 -0
- package/Marketplace/{chunk-AATQG55J.js → chunk-MQFYT7UC.js} +1 -1
- package/Marketplace/{chunk-4VJSS2RP.js → chunk-O6SPNQMQ.js} +1 -1
- package/Marketplace/{chunk-ABGYQNLC.js → chunk-P7KW5VRW.js} +1 -1
- package/Marketplace/{chunk-LCOFOENF.js → chunk-QCFKCDKM.js} +1 -1
- package/Marketplace/{chunk-FQUPOWRE.js → chunk-QPAHUI3H.js} +1 -1
- package/Marketplace/{chunk-MFCHLZW7.js → chunk-RGIPA4RC.js} +1 -1
- package/Marketplace/{chunk-M67NQISG.js → chunk-VD46BM3E.js} +1 -1
- package/Marketplace/chunk-WQ26K26X.js +1 -0
- package/Marketplace/{chunk-PMOYSZXY.js → chunk-XKP2LBOB.js} +1 -1
- package/Marketplace/chunk-Y2XXDDNX.js +1 -0
- package/Marketplace/{chunk-FON6ZRGN.js → chunk-YERME2YY.js} +1 -1
- package/Marketplace/{chunk-VOVI2B6O.js → chunk-YOU5DY2R.js} +1 -1
- package/Marketplace/{chunk-ENMVK7WN.js → chunk-ZHBHYT7I.js} +1 -1
- package/Marketplace/{chunk-KK2VCYNM.js → chunk-ZVNVZRA7.js} +1 -1
- package/Marketplace/index.html +2 -2
- package/Marketplace/{main-6U2BHS4K.js → main-PVT3FMFE.js} +1 -1
- package/package.json +1 -1
- package/Marketplace/chunk-ARA3PK2O.js +0 -1
- package/Marketplace/chunk-BRTVFFDI.js +0 -1
- package/Marketplace/chunk-GEEAZIV4.js +0 -1
- package/Marketplace/chunk-KRNA3GN5.js +0 -2
- package/Marketplace/chunk-MUFSHB3B.js +0 -1
- package/Marketplace/chunk-WMVEBC4Z.js +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as R}from"./chunk-FX43R2N5.js";import{a as he,b as Ce,d as fe,e as xe}from"./chunk-2Y4N4NSS.js";import{a as $}from"./chunk-BSBYMQ7J.js";import{a as Ve,b as j,c as De}from"./chunk-BRTVFFDI.js";import"./chunk-662E5VTA.js";import{a as Te,c as Ee}from"./chunk-NNPT3RN6.js";import{a as Fe,b as Me}from"./chunk-G6CZHXQI.js";import"./chunk-M4VGME5L.js";import{a as Pe}from"./chunk-5WVUQE43.js";import"./chunk-AAIK6JQ3.js";import{g as ge}from"./chunk-FON6ZRGN.js";import{b as le,e as re}from"./chunk-IPX66YIX.js";import"./chunk-HBHGO2RV.js";import{d as ye,k as Ie,l as we,m as be}from"./chunk-PIDUM6XT.js";import{t as Se,u as ve}from"./chunk-43TMSPFC.js";import"./chunk-4TYJR476.js";import{b as se,c as pe,h as ce,k as me,m as _e,u as de}from"./chunk-F5YRASNU.js";import{c as D,f as ue}from"./chunk-2UXFUEON.js";import{B as z,Eb as O,Fb as c,Gb as V,Ha as F,Hb as P,Ia as s,Ib as Z,Ja as T,Jb as I,Kb as w,Lb as b,Mb as X,Nb as q,Pb as k,Q as G,Wb as h,X as B,Xb as f,Ya as u,Yb as N,Zb as U,_a as m,da as H,fb as v,ga as Y,gb as L,ib as A,jb as W,kb as o,lb as l,mb as x,nb as M,oa as _,ob as E,pa as d,pc as J,qb as y,rc as ee,sc as te,tb as S,vb as r,vc as ne,wc as ie,yb as K,yc as ae,zc as oe}from"./chunk-77JORVC2.js";import"./chunk-CRRJCY55.js";var Re=n=>({"text-decoration-line-through":n}),Be=n=>({"ms-10":n}),Le=n=>({"bg-gradient-warning":n});function Ae(n,p){if(n&1){let e=y();o(0,"button",37),S("click",function(){_(e);let t=r().ngIf,a=r(2);return d(a.updateStock(t))}),x(1,"i",38),c(2," Update "),l()}}function We(n,p){if(n&1&&(o(0,"div"),u(1,Ae,3,0,"button",36),l()),n&2){let e=p.ngIf,i=r(2);s(),m("ngIf",i.productService.hasSelectionVariant(e))}}function Oe(n,p){if(n&1&&(o(0,"span",39),x(1,"img",40),l(),c(2)),n&2){let e=p.item;s(),m("src",e==null?null:e.Img,F),s(),P(" ",e.Name," ")}}function Ue(n,p){n&1&&(o(0,"div",41)(1,"span"),c(2," showing only different stock, please press next to populate more data "),l()())}function $e(n,p){if(n&1){let e=y();o(0,"th")(1,"input",42),b("ngModelChange",function(t){_(e);let a=r(2);return w(a.checkboxState,t)||(a.checkboxState=t),d(t)}),S("ngModelChange",function(){let t=_(e).ngIf,a=r(2);return d(a.onCheckboxStateChange(t))}),l()()}if(n&2){let e=r(2);s(),I("ngModel",e.checkboxState)}}function je(n,p){n&1&&(o(0,"th",33),c(1," Reserved "),l())}function Qe(n,p){}function ze(n,p){if(n&1){let e=y();o(0,"input",61),b("ngModelChange",function(t){_(e);let a=r(3).$implicit;return w(a.selected,t)||(a.selected=t),d(t)}),S("ngModelChange",function(){_(e);let t=r(3).$implicit,a=r(2);return d(a.onCheckboxStateProduct(t))}),l()}if(n&2){let e=r(3).$implicit;I("ngModel",e.selected)}}function Ge(n,p){if(n&1){let e=y();o(0,"img",62),S("click",function(t){_(e);let a=r(3).$implicit,C=r(2);return d(C.onZoomImage(t,a==null?null:a.ImageUrl))}),l()}if(n&2){let e=r(3).$implicit;K("src",e==null?null:e.ThumbnailUrl,F)}}function He(n,p){n&1&&x(0,"img",58)}function Ye(n,p){if(n&1&&(x(0,"br"),o(1,"div",63),x(2,"i",64),o(3,"small"),c(4),l()()),n&2){let e=r(3).$implicit;s(4),P("(",e==null?null:e.Category,")")}}function Ke(n,p){if(n&1&&(o(0,"td",54)(1,"div",15),u(2,ze,1,1,"input",55),o(3,"div",56),u(4,Ge,1,1,"img",57)(5,He,1,0,"img",58),l()()(),o(6,"td",59)(7,"span",60),c(8),l(),u(9,Ye,5,1),l()),n&2){let e=r(2).$implicit,i=r(2);m("rowSpan",e==null?null:e.Variants.length),s(2),v(e.Variants.length>1?2:-1),s(),m("ngClass",k(7,Be,e.Variants.length<=1)),s(),v(e!=null&&e.ThumbnailUrl?4:5),s(2),m("rowSpan",e==null?null:e.Variants.length),s(2),V(e==null?null:e.Name),s(),v(e.CategoryID!==null&&e.CategoryID!=i.guidEmpty?9:-1)}}function Ze(n,p){if(n&1){let e=y();o(0,"input",42),b("ngModelChange",function(t){_(e);let a=r(2).$implicit;return w(a.selected,t)||(a.selected=t),d(t)}),l()}if(n&2){let e=r(2).$implicit;I("ngModel",e.selected)}}function Xe(n,p){if(n&1&&u(0,Ze,1,1,"input",48),n&2){let e=r().$implicit;v((e==null?null:e.Inventory)<=1e5?0:-1)}}function qe(n,p){if(n&1){let e=y();o(0,"input",42),b("ngModelChange",function(t){_(e);let a=r().$implicit;return w(a.selected,t)||(a.selected=t),d(t)}),l()}if(n&2){let e=r().$implicit;I("ngModel",e.selected)}}function Je(n,p){n&1&&(o(0,"div",65),c(1," Not Found "),l())}function et(n,p){if(n&1&&(o(0,"div")(1,"span",66),c(2),h(3,"number"),l(),c(4," => "),o(5,"span",67),c(6),h(7,"number"),l()()),n&2){let e=r().$implicit;s(2),P(" ",f(3,2,e==null||e.I==null?null:e.I.Available),""),s(4),V(f(7,4,e==null?null:e.Inventory))}}function tt(n,p){if(n&1&&(c(0),h(1,"number")),n&2){let e=r().$implicit;P(" ",f(1,1,e==null?null:e.Inventory)," ")}}function nt(n,p){if(n&1&&(M(0),o(1,"div",68)(2,"a",69),x(3,"i",70),l()(),E()),n&2){let e=r().$implicit,i=r(3);s(2),m("href",i.hostName+"/menu/Products/Catalog/Variants/Info?ID="+(e==null?null:e.ID),F)}}function it(n,p){if(n&1){let e=y();o(0,"span",75),S("click",function(){let t=_(e).ngIf,a=r(2).$implicit,C=r().$implicit,g=r(2);return d(g.openTableDialog(C,a,t))}),c(1),h(2,"number"),l()}if(n&2){let e=r(2).$implicit;s(),P(" ",f(2,1,e==null||e.Channel[0]==null?null:e.Channel[0].Inventory)," ")}}function at(n,p){if(n&1){let e=y();o(0,"td",71)(1,"div",49)(2,"div"),u(3,it,3,3,"span",72),h(4,"async"),l(),o(5,"div",68)(6,"a",69),x(7,"i",70),l()(),o(8,"div",68)(9,"span",73),S("click",function(){_(e);let t=r().$implicit,a=r(3);return d(a.refreshInventory(t==null||t.Channel[0]==null?null:t.Channel[0].ChannelItemID,t==null||t.Channel[0]==null?null:t.Channel[0].ChannelVariationID,t==null||t.Channel[0]==null?null:t.Channel[0].ChannelID,t==null?null:t.ID))}),x(10,"i",74),l()()()()}if(n&2){let e=r().$implicit,i=r(3);m("ngClass",k(5,Le,(e==null?null:e.Inventory)!=(e==null||e.Channel[0]==null?null:e.Channel[0].Inventory))),s(3),m("ngIf",f(4,3,i.products$)),s(3),m("href",e==null||e.Channel[0]==null?null:e.Channel[0].Url,F)}}function ot(n,p){if(n&1&&(M(0),o(1,"span",76),c(2),h(3,"number"),l(),E()),n&2){let e=r(2).$implicit;s(2),P(" (",f(3,1,e==null||e.Channel[0]==null?null:e.Channel[0].InventoryReserved),") ")}}function lt(n,p){n&1&&c(0," - ")}function rt(n,p){if(n&1&&(M(0),o(1,"td",45),u(2,ot,4,3,"ng-container",53)(3,lt,1,0,"ng-template",null,1,U),l(),E()),n&2){let e=O(4),i=r().$implicit;s(2),m("ngIf",i==null||i.Channel[0]==null?null:i.Channel[0].InventoryReserved)("ngIfElse",e)}}function st(n,p){n&1&&(M(0),c(1," - "),E())}function pt(n,p){if(n&1&&(o(0,"span",77),h(1,"date"),c(2),h(3,"date"),l()),n&2){let e=r().$implicit;m("matTooltip",N(1,2,e==null||e.Channel[0]==null?null:e.Channel[0].LastInventorySync,"dd MMMM yyyy HH:mm:ss")),s(2),P(" ",N(3,5,e==null||e.Channel[0]==null?null:e.Channel[0].LastInventorySync,"dd MMM yy HH:mm")," ")}}function ct(n,p){if(n&1&&(o(0,"tr"),u(1,Ke,10,9),o(2,"td",44),c(3),l(),o(4,"td",45)(5,"span",46),c(6),l()(),o(7,"td",47),u(8,Xe,1,1)(9,qe,1,1,"input",48),l(),o(10,"td")(11,"div",49),u(12,Je,2,0,"div",50)(13,et,8,6,"div")(14,tt,2,3)(15,nt,4,1,"ng-container",5),l()(),u(16,at,11,7,"td",51)(17,rt,5,2,"ng-container",5),o(18,"td",52),u(19,st,2,0,"ng-container",53)(20,pt,4,8,"ng-template",null,0,U),l()()),n&2){let e=p.$implicit,i=p.index,t=O(21),a=r(3);s(),v(i==0?1:-1),s(2),V(e==null?null:e.Model),s(2),m("matTooltip",e.Discontinued?a.discontinuedVariantMsg:"")("ngClass",k(14,Re,e.Discontinued)),s(),V(e==null?null:e.Code),s(2),v((e==null?null:e.Channel[0].TypeID)==1?8:(e==null?null:e.Inventory)>=0?9:-1),s(4),m("ngIf",(e==null?null:e.I)==null),s(),v((e==null?null:e.I)!=null&&(e==null?null:e.Inventory)!=(e==null||e.I==null?null:e.I.Available)?13:-1),s(),v((e==null?null:e.Inventory)==(e==null||e.I==null?null:e.I.Available)?14:-1),s(),m("ngIf",(e==null?null:e.I)!=null),s(),m("ngIf",e==null?null:e.Channel),s(),m("ngIf",a.isShowReservedColumn),s(2),m("ngIf",(e==null||e.Channel[0]==null?null:e.Channel[0].LastInventorySync)==a.minDate)("ngIfElse",t)}}function mt(n,p){if(n&1&&(o(0,"tbody"),A(1,Qe,0,0,null,null,L),u(3,ct,22,16,"tr",43),l()),n&2){let e=p.$implicit;s(),W(e.Variants),s(2),m("ngForOf",e.Variants)}}function _t(n,p){if(n&1){let e=y();o(0,"mainpanel",3),S("onSubmit",function(t){_(e);let a=r();return d(a.onSearch(t))}),o(1,"actions")(2,"div",4),u(3,We,2,1,"div",5),h(4,"async"),l()(),o(5,"filters")(6,"div")(7,"label",6),c(8,"Channel"),l(),o(9,"ng-select",7),b("ngModelChange",function(t){_(e);let a=r();return w(a.searchFilter.ChannelID,t)||(a.searchFilter.ChannelID=t),d(t)}),u(10,Oe,3,2,"ng-template",8),l()(),o(11,"div",9)(12,"label",10),c(13,"PageNumber"),l(),o(14,"input",11),b("ngModelChange",function(t){_(e);let a=r();return w(a.searchFilter.PageNumber,t)||(a.searchFilter.PageNumber=t),d(t)}),l()(),o(15,"div",9)(16,"label",12),c(17,"Page Size"),l(),o(18,"input",13),b("ngModelChange",function(t){_(e);let a=r();return w(a.searchFilter.RowCount,t)||(a.searchFilter.RowCount=t),d(t)}),l()(),o(19,"div",9)(20,"label",14),c(21,"Quantity From - To"),l(),o(22,"div",15)(23,"input",16),b("ngModelChange",function(t){_(e);let a=r();return w(a.searchFilter.QuantityFrom,t)||(a.searchFilter.QuantityFrom=t),d(t)}),l(),c(24," - "),o(25,"input",17),b("ngModelChange",function(t){_(e);let a=r();return w(a.searchFilter.QuantityTo,t)||(a.searchFilter.QuantityTo=t),d(t)}),l()()()(),o(26,"content")(27,"div",18)(28,"div",19)(29,"div",20),u(30,Ue,3,0,"div",21),o(31,"table",22)(32,"thead",23)(33,"tr")(34,"th",24),c(35," Product "),x(36,"br"),o(37,"mat-slide-toggle",25),S("toggleChange",function(){_(e);let t=r();return t.showDifferenceStock=!t.showDifferenceStock,d(t.onShowDifferenceStock())}),o(38,"small",14),c(39,"FILTER DIFFERENT INVENTORY"),l()()(),o(40,"th",26),c(41,"Variant"),l(),o(42,"th",27),c(43,"SKU"),l(),u(44,$e,2,1,"th",5),h(45,"async"),o(46,"th",28),c(47,"POS"),l(),o(48,"th",29)(49,"div",30),S("click",function(){_(e);let t=r();return d(t.openModalFilter())}),x(50,"img",31),o(51,"span",32),c(52),h(53,"stringLimit"),l()()(),u(54,je,2,0,"th",33),o(55,"th",34),c(56,"Last Sync"),l()()(),A(57,mt,4,1,"tbody",null,L),h(59,"async"),l(),o(60,"infinite-paginator",35),h(61,"async"),S("onNextPage",function(){_(e);let t=r();return d(t.infinitePagination.onNextPage(t.searchFilter))})("onLastPage",function(){_(e);let t=r();return d(t.onLastPage())})("onGetRowCount",function(){_(e);let t=r();return d(t.infinitePagination.getRowCount(t.searchFilter))}),l()()()()()()}if(n&2){let e=r();m("headerTitle","Inventory Comparison")("pageData",e.pageData)("hideSearchBox",!1),s(3),m("ngIf",f(4,24,e.products$)),s(6),m("clearable",!1)("items",e.channelOptions),I("ngModel",e.searchFilter.ChannelID),s(5),I("ngModel",e.searchFilter.PageNumber),s(4),I("ngModel",e.searchFilter.RowCount),s(5),I("ngModel",e.searchFilter.QuantityFrom),s(2),I("ngModel",e.searchFilter.QuantityTo),s(5),m("ngIf",(e.searchFilter==null?null:e.searchFilter.filterModel)==3),s(14),m("ngIf",f(45,26,e.products$)),s(5),m("matTooltip",(e.selectedChannel==null||e.selectedChannel.Name==null?null:e.selectedChannel.Name.length)>13?e.selectedChannel==null?null:e.selectedChannel.Name:""),s(),m("src",e.selectedChannel==null?null:e.selectedChannel.Img,F),s(2),Z(" ",N(53,28,e.selectedChannel==null?null:e.selectedChannel.Name,13),"",(e.selectedChannel==null||e.selectedChannel.Name==null?null:e.selectedChannel.Name.length)>13?"...":""," "),s(2),v(e.isShowReservedColumn?54:-1),s(3),W(f(59,31,e.products$)),s(3),m("totalData",e.infinitePagination.totalData())("hideCount",e.infinitePagination.hideCount())("rowCount",f(61,33,e.infinitePagination.totalRowCount$))("pageNumber",e.infinitePagination.pageNumber())("disableNextButton",e.infinitePagination.disableNextButton())("goToLastPage",e.infinitePagination.goToLastPage())}}var Gt=(()=>{let p=class p{constructor(i,t,a,C,g,Q,ke,Ne){this.http=i,this.toastr=t,this.dialog=a,this.productService=C,this.authService=g,this.biggerPictureService=Q,this.inventoryService=ke,this.mainPanelService=Ne,this.infinitePagination=H(j),this.checkboxState=!1,this.showDifferenceStock=!1,this.loaderApi="InventoryLoader/Load",this.fetchApi="Inventory/GetSingleChannelComparison",this.rowCountApi="Inventory/GetInventoryByChannelRowCount",this.minDate=D.MinDate,this.isShowReservedColumn=!0,this.discontinuedVariantMsg="This Variant is discontinued from POS, you must Non Active manually at the seller center so that it is not sold again on the channel.",this.guidEmpty=D.GuidEMpty,this.Options=[{Key:1,Value:"All"},{Key:3,Value:"Difference"}],this.pageData={Title:"Inventory Realtime",Nav:[{Title:"Inventory Cache",Url:"/menu/inventory",Active:!1},{Title:"Inventory Realtime",Url:"/menu/inventory/realtime",Active:!0}]}}ngOnInit(){this.channelOptions=this.authService.getChannels(),this.hostName=this.authService.getDomain(),this.initPageLoader(),this.products$=this.infinitePagination.data$.pipe(B(i=>{this.checkShowReservedColumn(i)}),G())}checkShowReservedColumn(i){let t=0,a;i.forEach(C=>{a=C.Variants.find(g=>D.IsNotEmpty(g?.Channel[0]?.InventoryReserved)),a&&(t+=1)}),this.isShowReservedColumn=t>0}initPageLoader(){this.infinitePagination.fetchDataEndpoint=this.fetchApi,this.infinitePagination.fethRowCountEndpoint=this.rowCountApi,this.loader$=this.http.post(`/api/${this.loaderApi}`,{}).pipe(B(i=>{this.searchFilter={RowCount:i.Filter.PageSize,filterModel:1,PageNumber:1,ChannelID:i.Filter.ChannelID},this.initSelectedChannel(),this.infinitePagination.reloadPagination(this.searchFilter),this.showToastrMarketplaceInactive(!i.Filter.IsMarketplaceAppActive)}))}showToastrMarketplaceInactive(i){i&&this.toastr.warning(`Automatic inventory sync disabled.
|
|
2
|
-
Please enable Dealpos X Marketplace Apps integration in POS Configuration`,"Warning")}initSelectedChannel(){this.selectedChannel=this.channelOptions.find(i=>i.ID==this.searchFilter.ChannelID)}onSearch(i){this.searchFilter.text=i,this.infinitePagination.reloadPagination(this.searchFilter),this.initSelectedChannel()}openModalFilter(){this.mainPanelService.openModalFilter()}updateStock(i){let t=this.productService.selectedVariantProduct(i);if(t.length>0){let a=t.map(g=>({ID:g.ID,Code:g.Code,Inventory:g.Inventory})),C={ListChannelID:[this.searchFilter.ChannelID],List:a};this.http.post("/api/Inventory/UpdateChannel",C).subscribe(g=>{this.searchFilter.PageNumber=1,this.infinitePagination.reloadPagination(this.searchFilter),this.checkboxState=!1,this.handlingUpdateStock(g)})}}handlingUpdateStock(i){if(i[0]?.StatusProduct){let t=i[0].StatusProduct.Fail_list,a=i[0].StatusProduct.Success_list;this.inventoryService.showToastrUpdateInventory("Stock",a,t)}else this.toastr.error(i[0]?.Exception,"Error")}refreshInventory(i,t,a,C){let g={ChannelItemID:i,ChannelVariationID:t,ChannelID:a,VariantID:C};this.http.post("/api/Inventory/RefreshInventoryChannel",g).subscribe(Q=>{this.toastr.success("Successfully updated","Success"),this.infinitePagination.reloadPagination(this.searchFilter)})}onCheckboxStateProduct(i){i.Variants=i.Variants.map(t=>(t.Inventory>=0&&(t.selected=i.selected),t))}onCheckboxStateChange(i){i=i.map(t=>(t.Variants=t.Variants.map(a=>(a.selected=this.checkboxState,a)),t))}openTableDialog(i,t,a){this.dialog.open(Ve,{data:{Name:i.Name,Variant:t,ChannelID:t?.Channel[0].ChannelID,Table:"inventory",ChannelItemID:i.ChannelItemID}}).afterClosed().pipe(z(g=>D.IsNotEmpty(g))).subscribe(g=>{this.updateItemAfterDialog(g,a)})}updateItemAfterDialog(i,t){let a={ID:i.ChannelID,ChannelItemID:i.ChannelItemID,ChannelVariantID:i.ChannelVariationID,NewQuantity:parseFloat(i.Inventory),VariantID:i.ID,SKU:i.Sku};this.http.post("/api/Inventory/UpdateQuantityByItem",a).subscribe(C=>{this.searchFilter.PageNumber=1,this.infinitePagination.reloadPagination(this.searchFilter),this.handlingUpdateStock([C])})}onShowDifferenceStock(){this.showDifferenceStock?this.searchFilter.filterModel=$.DIFFERENCE:this.searchFilter.filterModel=$.ALL,this.infinitePagination.reloadPagination(this.searchFilter)}onLastPage(){let i={ChannelID:this.searchFilter.ChannelID,PageNumber:1};this.http.post(`${this.rowCountApi}`,i).subscribe({next:t=>{this.searchFilter.PageNumber=1,this.infinitePagination.onLastPage(this.searchFilter,t.Total)}})}onZoomImage(i,t){this.biggerPictureService.openBiggerPicture(i,t)}};p.\u0275fac=function(t){return new(t||p)(T(re),T(le),T(ye),T(Te),T(ge),T(Pe),T(R),T(Ie))},p.\u0275cmp=Y({type:p,selectors:[["app-single-channel-comparison"]],standalone:!0,features:[X([j,R]),q],decls:2,vars:3,consts:[["SYNCDATE",""],["EMPTY_RESERVED",""],["textButton","Search",3,"headerTitle","pageData","hideSearchBox","onSubmit",4,"ngIf"],["textButton","Search",3,"onSubmit","headerTitle","pageData","hideSearchBox"],[1,"d-flex"],[4,"ngIf"],["for","ng-select",1,"fw-bold"],["id","ng-select","bindLabel","Name","name","channelid","bindValue","ID","placeholder","Select Channel","appendTo","body",1,"center-text","mt-3",3,"ngModelChange","clearable","items","ngModel"],["ng-option-tmp","","ng-label-tmp",""],[1,"mt-5"],["for","PageNumber",1,"fw-bold"],["type","number","id","PageNumber","placeholder","PageNumber","name","PageNumber","data-toggle","tooltip","matTooltip","Page Number",1,"mat-mdc-tooltip-trigger","form-control","ng-pristine","ng-valid","ng-touched","mt-3",3,"ngModelChange","ngModel"],["for","RowCount",1,"fw-bold"],["type","number","id","RowCount","placeholder","Page Size","name","RowCount","data-toggle","tooltip","matTooltip","Page Size",1,"mat-mdc-tooltip-trigger","form-control","ng-pristine","ng-valid","ng-touched","mt-3",3,"ngModelChange","ngModel"],[1,"fw-bold"],[1,"d-flex","align-items-center","justify-content-start"],["type","number","name","QuantityFrom",1,"w-25","me-2","mt-3","form-control",3,"ngModelChange","ngModel"],["type","number","name","QuantityTo",1,"w-25","ms-2","form-control","mt-2",3,"ngModelChange","ngModel"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],["class","alert alert-warning d-flex justify-content-between text-dark","role","alert",4,"ngIf"],[1,"table","border-bottom"],[1,"thead-light","sticky-top-thead"],["scope","col","colspan","2",1,"text-center","ps-12",2,"width","25%"],[3,"toggleChange"],["scope","col",1,"text-start"],["scope","col",1,"text-end",2,"width","10%"],["scope","col",1,"text-end","w-10",2,"width","8%"],[1,"text-end",2,"width","150px"],["role","button","matTooltipPosition","above",1,"d-inline-block",3,"click","matTooltip"],[2,"width","16px",3,"src"],[1,"ms-1"],["matTooltip","Reserved Stock","matTooltipPosition","above",1,"text-end",2,"width","80px"],[1,"text-center",2,"width","145px"],[3,"onNextPage","onLastPage","onGetRowCount","totalData","hideCount","rowCount","pageNumber","disableNextButton","goToLastPage"],["class","btn btn-success",3,"click",4,"ngIf"],[1,"btn","btn-success",3,"click"],[1,"fas","fa-chevron-circle-up"],[1,"me-2"],[2,"width","18px",3,"src"],["role","alert",1,"alert","alert-warning","d-flex","justify-content-between","text-dark"],["type","checkbox",3,"ngModelChange","ngModel"],[4,"ngFor","ngForOf"],[1,"text-start"],[1,"text-end"],["matTooltipPosition","above",3,"matTooltip","ngClass"],[1,"align-middle"],["type","checkbox",3,"ngModel"],[1,"d-flex","align-items-center","justify-content-end"],["class","text-danger","matTooltip","This product is no longer available in POS","matTooltipPosition","above",4,"ngIf"],["class","text-end",3,"ngClass",4,"ngIf"],[1,"text-center"],[4,"ngIf","ngIfElse"],[1,"text-start",2,"width","0%",3,"rowSpan"],["type","checkbox",1,"me-3",3,"ngModel"],[3,"ngClass"],[1,"border","rounded","w-img","cursor-pointer",2,"margin-left","20px",3,"src"],["src","//res.cloudinary.com/pos/image/upload/w_40/POS/Images/Icon/products_thumb.png",1,"border","rounded","w-img",2,"margin-left","20px"],[1,"text-start",3,"rowSpan"],[1,"item-name","mb-0"],["type","checkbox",1,"me-3",3,"ngModelChange","ngModel"],[1,"border","rounded","w-img","cursor-pointer",2,"margin-left","20px",3,"click","src"],[1,"d-flex","align-items-center"],["title","Category",1,"fa-solid","fa-tags","me-2",2,"opacity","60%"],["matTooltip","This product is no longer available in POS","matTooltipPosition","above",1,"text-danger"],["title","Stock Available"],["title","Inventory below minimum inventory"],[1,"ms-3"],["target","_blank",3,"href"],[1,"fas","fa-lg","fa-external-link-alt","external-link-custom"],[1,"text-end",3,"ngClass"],["class","cursor",3,"click",4,"ngIf"],["matTooltip","Refresh stock according to seller center",1,"pl-5","cursor-pointer",2,"color","var(--bs-link-color)",3,"click"],[1,"fas","fa-sync","fa-lg","external-link-custom"],[1,"cursor",3,"click"],[1,"text-danger"],["matTooltipShowDelay","500",3,"matTooltip"]],template:function(t,a){t&1&&(u(0,_t,62,35,"mainpanel",2),h(1,"async")),t&2&&m("ngIf",f(1,1,a.loader$))},dependencies:[oe,J,ee,te,ne,ae,ie,be,we,xe,fe,he,Ce,de,pe,_e,se,ce,me,Ee,De,ue,Me,Fe,ve,Se],styles:[".w-10[_ngcontent-%COMP%]{width:10%}.w-img[_ngcontent-%COMP%]{width:40px;height:40px}.item-name[_ngcontent-%COMP%]{margin-bottom:-14px!important;font-size:larger}input[type=checkbox][_ngcontent-%COMP%]{width:15px;height:15px}"]});let n=p;return n})();export{Gt as SingleChannelComparisonComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as te}from"./chunk-CS5AGUUI.js";import{a as ee}from"./chunk-WJI6JIBR.js";import{a as x}from"./chunk-BSBYMQ7J.js";import{b as N,c as ne}from"./chunk-BRTVFFDI.js";import"./chunk-2GZOVNPU.js";import"./chunk-662E5VTA.js";import{a as Z}from"./chunk-NNPT3RN6.js";import"./chunk-G6CZHXQI.js";import"./chunk-M4VGME5L.js";import"./chunk-5WVUQE43.js";import"./chunk-AAIK6JQ3.js";import{g as J}from"./chunk-FON6ZRGN.js";import{b as j,e as G}from"./chunk-IPX66YIX.js";import"./chunk-HBHGO2RV.js";import{d as q,l as X,m as Y}from"./chunk-PIDUM6XT.js";import"./chunk-43TMSPFC.js";import"./chunk-4TYJR476.js";import{c as W,h as z,k as H,m as K,u as Q}from"./chunk-F5YRASNU.js";import{c as $}from"./chunk-2UXFUEON.js";import{B as D,Fb as I,Ia as u,Ja as g,Jb as w,Kb as P,Lb as M,Mb as R,Nb as O,Wb as S,X as V,Xb as v,Ya as C,_a as d,da as T,ga as F,kb as l,lb as c,mb as E,nb as L,oa as s,ob as B,pa as p,qb as y,sc as A,tb as f,vb as o,vc as k,zc as U}from"./chunk-77JORVC2.js";import"./chunk-CRRJCY55.js";function ie(a,r){if(a&1){let i=y();l(0,"button",14),f("click",function(){s(i);let t=o().ngIf,n=o(2);return p(n.onUpdateItems(t))}),E(1,"i",15),I(2," Update "),c()}}function ae(a,r){if(a&1&&(l(0,"actions")(1,"div",12),C(2,ie,3,0,"button",13),c()()),a&2){let i=r.ngIf,e=o(2);u(2),d("ngIf",e.productService.hasSelectionVariant(i))}}function oe(a,r){if(a&1){let i=y();L(0),l(1,"app-table",16),f("onToggle",function(t){s(i);let n=o(2);return p(n.onShowDifferenceStock(t))})("onSubmit",function(t){let n=s(i).ngIf,h=o(2);return p(h.updateStockByVariant(t,n))}),c(),B()}if(a&2){let i=r.ngIf,e=o(2);u(),d("data",i)("channel",e.channelOptions)("showProductToggle",!0)("filter",e.searchFilter)}}function re(a,r){if(a&1){let i=y();l(0,"mainpanel",1),f("onSubmit",function(t){s(i);let n=o();return p(n.onSearch(t))}),C(1,ae,3,1,"actions",2),S(2,"async"),l(3,"filters")(4,"div")(5,"label",3),I(6,"PageNumber"),c(),l(7,"input",4),M("ngModelChange",function(t){s(i);let n=o();return P(n.searchFilter.PageNumber,t)||(n.searchFilter.PageNumber=t),p(t)}),c()(),l(8,"div",5)(9,"label",6),I(10,"Page Size"),c(),l(11,"input",7),M("ngModelChange",function(t){s(i);let n=o();return P(n.searchFilter.RowCount,t)||(n.searchFilter.RowCount=t),p(t)}),c()()(),l(12,"content")(13,"div",8)(14,"div",9)(15,"div",10),C(16,oe,2,4,"ng-container",2),S(17,"async"),l(18,"infinite-paginator",11),S(19,"async"),f("onNextPage",function(){s(i);let t=o();return p(t.paginationService.onNextPage(t.searchFilter))})("onLastPage",function(){s(i);let t=o();return p(t.onLastPage())})("onGetRowCount",function(){s(i);let t=o();return p(t.paginationService.getRowCount(t.searchFilter))}),c()()()()()()}if(a&2){let i=o();d("pageData",i.pageData)("hideSearchBox",!1)("textButton","Search"),u(),d("ngIf",v(2,13,i.paginationService.data$)),u(6),w("ngModel",i.searchFilter.PageNumber),u(4),w("ngModel",i.searchFilter.RowCount),u(5),d("ngIf",v(17,15,i.paginationService.data$)),u(2),d("totalData",i.paginationService.totalData())("hideCount",i.paginationService.hideCount())("rowCount",v(19,17,i.paginationService.totalRowCount$))("pageNumber",i.paginationService.pageNumber())("disableNextButton",i.paginationService.disableNextButton())("goToLastPage",i.paginationService.goToLastPage())}}var De=(()=>{let r=class r{constructor(e,t,n,h,_){this.http=e,this.toastr=t,this.dialog=n,this.productService=h,this.authService=_,this.paginationService=T(N),this.loaderEndpoint="InventoryLoader/GetMultipleInventoryComparison",this.dataEndpoint="Inventory/GetMultipleChannelComparison",this.allDataCountEndpoint="Inventory/GetMultipleChannelComparisonRowCount",this.filterTypeOptions=[{Key:1,Value:"All"},{Key:3,Value:"Difference"}],this.pageData={Title:"Inventory",Nav:[{Title:"Inventory Cache",Url:"/menu/inventory/pos",Active:!0},{Title:"Inventory Realtime",Url:"/menu/inventory/realtime",Active:!1}]},this.channelOptions=this.authService.getChannels()}ngOnInit(){this.initPageLoader()}initPageLoader(){this.paginationService.fetchDataEndpoint=this.dataEndpoint,this.paginationService.fethRowCountEndpoint=this.allDataCountEndpoint,this.loader$=this.http.post(`/API/${this.loaderEndpoint}`,{}).pipe(V(e=>{e.Filter={PageNumber:e.Filter.PageNumber,filterModel:x.ALL,RowCount:e.Filter.PageSize,HiddenIPOSInventory:e.Filter.HiddenIPOSInventory},this.searchFilter=e.Filter,this.paginationService.reloadPagination(this.searchFilter)}))}onSearch(e){this.searchFilter.text=e,this.paginationService.reloadPagination(this.searchFilter)}updateStock(e,t){let n=this.productService.selectedVariantProduct(e);if(n.length>0){let _=n.map(m=>({ID:m.ID,Code:m.Code,Inventory:m.Inventory}));var h=t.filter(m=>m.selected).map(m=>m.ID);let b={ListChannelID:h,List:_};this.http.post("/api/Inventory/UpdateChannel",b).subscribe(m=>{this.paginationService.reloadPagination(this.searchFilter),this.toastr.success("Successfully updated "+b.List.length+" variants in "+b.ListChannelID.length+" channels","Success")})}}updateStockByVariant(e,t){let n={ID:e.ChannelID,ChannelItemID:e.ChannelItemID,ChannelVariantID:e.ChannelVariationID,NewQuantity:parseFloat(e.Inventory),VariantID:e.ID,SKU:e.Sku};this.http.post("/api/Inventory/UpdateQuantityByItem",n).subscribe(h=>{let _=this.productService.findChannelById(n.ID,this.channelOptions);this.toastr.success("Successfully updated "+e.ItemName+"("+e.VarName+") inventory in "+_.Name+" to "+n.NewQuantity,"Success")})}onShowDifferenceStock(e){e?this.searchFilter.filterModel=x.DIFFERENCE:this.searchFilter.filterModel=x.ALL,this.paginationService.reloadPagination(this.searchFilter)}onUpdateItems(e){let t=this.productService.selectedVariantProduct(e);this.dialog.open(ee,{data:{selectedItems:t,channels:JSON.parse(JSON.stringify(this.channelOptions))},width:"600px"}).afterClosed().pipe(D(n=>$.IsNotEmpty(n))).subscribe(n=>{this.updateStock(e,n)})}onLastPage(){this.http.post(`/API/${this.allDataCountEndpoint}`,{}).subscribe({next:e=>{this.searchFilter.PageNumber=1,this.paginationService.onLastPage(this.searchFilter,e)}})}};r.\u0275fac=function(t){return new(t||r)(g(G),g(j),g(q),g(Z),g(J))},r.\u0275cmp=F({type:r,selectors:[["app-multi-channel-comparison"]],standalone:!0,features:[R([N]),O],decls:2,vars:3,consts:[["headerTitle","Inventory Comparison",3,"pageData","hideSearchBox","textButton","onSubmit",4,"ngIf"],["headerTitle","Inventory Comparison",3,"onSubmit","pageData","hideSearchBox","textButton"],[4,"ngIf"],["for","PageNumber",1,"fw-bold"],["type","number","id","PageNumber","placeholder","PageNumber","name","PageNumber","data-toggle","tooltip","matTooltip","Page Number",1,"form-control","mt-2",3,"ngModelChange","ngModel"],[1,"mt-5"],["for","RowCount",1,"fw-bold"],["type","number","id","RowCount","placeholder","Page Size","name","RowCount","data-toggle","tooltip","matTooltip","Page Size",1,"form-control","mt-2",3,"ngModelChange","ngModel"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[3,"onNextPage","onLastPage","onGetRowCount","totalData","hideCount","rowCount","pageNumber","disableNextButton","goToLastPage"],[1,"d-flex"],["type","button","class","btn btn-success shadow-sm rounded me-3",3,"click",4,"ngIf"],["type","button",1,"btn","btn-success","shadow-sm","rounded","me-3",3,"click"],[1,"fas","fa-chevron-circle-up"],["table","inventory",3,"onToggle","onSubmit","data","channel","showProductToggle","filter"]],template:function(t,n){t&1&&(C(0,re,20,19,"mainpanel",0),S(1,"async")),t&2&&d("ngIf",v(1,1,n.loader$))},dependencies:[U,A,k,Y,X,te,Q,W,K,z,H,ne],styles:[".no-bullet[_ngcontent-%COMP%]{list-style-type:none}"]});let a=r;return a})();export{De as MultiChannelComparison};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as Q}from"./chunk-LIS3LB3F.js";import{a as Y}from"./chunk-CS5AGUUI.js";import{a as X}from"./chunk-WJI6JIBR.js";import{b as V,c as Z}from"./chunk-BRTVFFDI.js";import"./chunk-2GZOVNPU.js";import"./chunk-662E5VTA.js";import{a as J}from"./chunk-NNPT3RN6.js";import"./chunk-G6CZHXQI.js";import"./chunk-M4VGME5L.js";import"./chunk-5WVUQE43.js";import"./chunk-AAIK6JQ3.js";import{g as H}from"./chunk-FON6ZRGN.js";import{b as O,e as U}from"./chunk-IPX66YIX.js";import"./chunk-HBHGO2RV.js";import{d as K,l as q,m as z}from"./chunk-PIDUM6XT.js";import"./chunk-43TMSPFC.js";import"./chunk-4TYJR476.js";import{c as k,h as j,k as G,m as W,u as $}from"./chunk-F5YRASNU.js";import"./chunk-2UXFUEON.js";import{B as F,Fb as _,Ia as m,Ja as d,Jb as S,Kb as v,Lb as y,Mb as E,Nb as R,Q as T,Wb as C,X as D,Xb as x,Ya as w,_a as h,da as M,ga as N,kb as a,lb as p,mb as b,oa as l,pa as c,qb as I,sc as L,tb as g,vb as o,vc as A,zc as B}from"./chunk-77JORVC2.js";import"./chunk-CRRJCY55.js";function ee(r,s){if(r&1){let n=I();a(0,"button",15),g("click",function(){l(n);let t=o().ngIf,i=o(2);return c(i.onUpdateItems(t))}),b(1,"i",16),_(2," Update "),p()}}function te(r,s){if(r&1&&(a(0,"div"),w(1,ee,3,0,"button",14),p()),r&2){let n=s.ngIf,e=o(2);m(),h("ngIf",e.productService.hasSelectionVariant(n))}}function ie(r,s){if(r&1){let n=I();a(0,"mainpanel",1),g("onSubmit",function(t){l(n);let i=o();return c(i.onSearch(t))}),a(1,"actions")(2,"div",2),w(3,te,2,1,"div",3),C(4,"async"),a(5,"button",4),g("click",function(){l(n);let t=o();return c(t.openExportDialog())}),b(6,"i",5),a(7,"span"),_(8,"Export"),p()()()(),a(9,"filters")(10,"div")(11,"label",6),_(12,"Page Number"),p(),a(13,"input",7),y("ngModelChange",function(t){l(n);let i=o();return v(i.searchFilter.PageNumber,t)||(i.searchFilter.PageNumber=t),c(t)}),p()(),a(14,"div",8)(15,"label",6),_(16,"Page Size"),p(),a(17,"input",7),y("ngModelChange",function(t){l(n);let i=o();return v(i.searchFilter.RowCount,t)||(i.searchFilter.RowCount=t),c(t)}),p()()(),a(18,"content")(19,"div",9)(20,"div",10)(21,"div",11)(22,"app-table",12),C(23,"async"),g("onToggle",function(t){l(n);let i=o();return c(i.onShowDifferencePrice(t))})("onSubmit",function(t){l(n);let i=o();return c(i.updatePriceByVariant(t))}),p(),a(24,"infinite-paginator",13),C(25,"async"),g("onNextPage",function(){l(n);let t=o();return c(t.infinitePagination.onNextPage(t.searchFilter))})("onLastPage",function(){l(n);let t=o();return c(t.onLastPage())})("onGetRowCount",function(){l(n);let t=o();return c(t.infinitePagination.getRowCount(t.searchFilter))}),p()()()()()()}if(r&2){let n=s.ngIf,e=o();h("textButton","Search"),m(3),h("ngIf",x(4,14,e.data$)),m(10),S("ngModel",e.searchFilter.PageNumber),m(4),S("ngModel",e.searchFilter.RowCount),m(5),h("showProductToggle",!0)("data",x(23,16,e.data$))("channel",e.channelOptions)("filter",n.Filter),m(2),h("totalData",e.infinitePagination.totalData())("hideCount",e.infinitePagination.hideCount())("rowCount",x(25,18,e.infinitePagination.totalRowCount$))("pageNumber",e.infinitePagination.pageNumber())("disableNextButton",e.infinitePagination.disableNextButton())("goToLastPage",e.infinitePagination.goToLastPage())}}var Se=(()=>{let s=class s{constructor(e,t,i,P,f){this.http=e,this.toastr=t,this.dialog=i,this.productService=P,this.authService=f,this.infinitePagination=M(V),this.loaderAPI="PriceLoader/LoadMultiple",this.getDataAPI="Price/GetMultipleChannelComparison",this.rowCountAPI="Inventory/GetMultipleChannelComparisonRowCount",this.data$=this.infinitePagination.data$.pipe(T()),this.filterOptions=[{Key:1,Value:"All"},{Key:3,Value:"Difference"}],this.pageData={Title:"Price",Nav:[{Title:"Price Cache",Url:"/menu/price",Active:!0},{Title:"Price Realtime",Url:"/menu/price/realtime",Active:!1}]},this.channelOptions=this.authService.getChannels()}ngOnInit(){this.initPageLoader()}initPageLoader(){this.infinitePagination.fetchDataEndpoint=this.getDataAPI,this.infinitePagination.fethRowCountEndpoint=this.rowCountAPI,this.loader$=this.http.post(`/api/${this.loaderAPI}`).pipe(D(e=>{e.Filter={PageNumber:e.Filter.PageNumber,RowCount:e.Filter.RowCount,filterModel:1},this.searchFilter=e.Filter,this.infinitePagination.reloadPagination(this.searchFilter)}))}onShowDifferencePrice(e){this.searchFilter.filterModel=1,e&&(this.searchFilter.filterModel=3),this.infinitePagination.reloadPagination(this.searchFilter)}onSearch(e){this.searchFilter.text=e,this.infinitePagination.reloadPagination(this.searchFilter)}updatePrice(e){let t=this.productService.selectedVariantProduct(e);if(t.length>0){let P=t.map(u=>({ID:u.ID,Code:u.Code,Price:u.UnitPrice}));var i=this.channelOptions.filter(u=>u.selected).map(u=>u.ID);let f={ListChannelID:i,ListPrice:P};this.http.post("/api/Price/UpdateChannel",f).subscribe(u=>{this.infinitePagination.reloadPagination(this.searchFilter),this.toastr.success("Successfully updated "+f.ListPrice.length+" items in "+f.ListChannelID.length+" channels","Success")})}}updatePriceByVariant(e){let t={ID:e.ChannelID,ChannelItemID:e.ChannelItemID,ChannelVariantID:e.ChannelVariationID,Price:e.Price-0,VariantID:e.ID};this.http.post("/api/Price/UpdatePriceByID",t).subscribe(i=>{let P=this.productService.findChannelById(t.ID,this.channelOptions);this.toastr.success("Successfully updated "+e.ItemName+"("+e.VarName+") price in "+P.Name+" to "+t.Price,"Success"),this.infinitePagination.reloadPagination(this.searchFilter)})}onUpdateItems(e){let t=this.productService.selectedVariantProduct(e);this.dialog.open(X,{data:{selectedItems:t,channels:this.channelOptions},width:"600px"}).afterClosed().pipe(F(i=>i!==void 0)).subscribe(i=>{this.channelOptions=i,this.updatePrice(e)})}onLastPage(){this.http.post(`/api/${this.rowCountAPI}`,{}).subscribe({next:e=>{this.searchFilter.PageNumber=1,this.infinitePagination.onLastPage(this.searchFilter,e)}})}openExportDialog(){this.dialog.open(Q,{data:{title:"Export Multi Channel Comparison",pageNumber:this.searchFilter.PageNumber,rowCount:this.searchFilter.RowCount,filterExport:this.searchFilter,getRowCountApi:this.rowCountAPI,exportApi:"price/GetExportMultipleChannelComparison"}}).afterClosed().subscribe()}};s.\u0275fac=function(t){return new(t||s)(d(U),d(O),d(K),d(J),d(H))},s.\u0275cmp=N({type:s,selectors:[["app-price-pos-channel"]],standalone:!0,features:[E([V]),R],decls:2,vars:3,consts:[["headerTitle","Price Comparison",3,"textButton","onSubmit",4,"ngIf"],["headerTitle","Price Comparison",3,"onSubmit","textButton"],[1,"d-flex"],[4,"ngIf"],[1,"btn","btn-outline-secondary","shadow","rounded","ms-2",3,"click"],[1,"fa-solid","fa-print","me-3"],[1,"fw-bold"],["type","number",1,"form-control","mt-2",3,"ngModelChange","ngModel"],[1,"mt-5"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],["productToggleTitle","FILTER DIFFERENT PRICE","table","price",3,"onToggle","onSubmit","showProductToggle","data","channel","filter"],[3,"onNextPage","onLastPage","onGetRowCount","totalData","hideCount","rowCount","pageNumber","disableNextButton","goToLastPage"],["type","button","class","btn btn-success shadow rounded","data-toggle","modal",3,"click",4,"ngIf"],["type","button","data-toggle","modal",1,"btn","btn-success","shadow","rounded",3,"click"],[1,"fas","fa-chevron-circle-up"]],template:function(t,i){t&1&&(w(0,ie,26,20,"mainpanel",0),C(1,"async")),t&2&&h("ngIf",x(1,1,i.loader$))},dependencies:[B,L,A,$,k,W,j,G,Z,z,q,Y],styles:[".no-bullet[_ngcontent-%COMP%]{list-style-type:none}"]});let r=s;return r})();export{Se as PricePosChannelComponent};
|