dealpostools 2.5.4 → 2.5.6

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.
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[528],{528:(B,m,i)=>{i.r(m),i.d(m,{PrepaidPackageComponent:()=>L});var l=i(6814),t=i(5879),h=i(4387),x=i(2596),p=i(7081),k=i(5619),C=i(7398),M=i(2181),v=i(6328),u=i(9887),P=i(5986),d=i(6223),Z=i(2425),T=i(7700),y=i(3988),A=i(6493),I=i(8745),S=i(8017);let f=(()=>{var a;class c{constructor(){this.domain=`https://${localStorage.getItem("Domain")}`,this.http=(0,t.f3M)(S.O)}getImageUrls$(e={PageNumber:1,RowCount:100}){return this.http.post(`${this.domain}/api/image/PrepaidPackage`,e)}migrate(e){return this.http.post(`${this.domain}/api/cloudflare/migrate/PrepaidPackage`,{Images:e})}migrateAsync(e){const r={...e,Host:`${localStorage.getItem("Domain")}`};return this.http.post("/api/MigrateImage/PrepaidPackage",r)}}return(a=c).\u0275fac=function(e){return new(e||a)},a.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac}),c})();function N(a,c){if(1&a){const o=t.EpF();t.ynx(0),t.TgZ(1,"button",12),t.NdJ("click",function(){t.CHM(o);const n=t.oxw().ngIf,r=t.oxw();return t.KtG(r.onMigrate(n))}),t._uU(2," Migrate "),t.qZA(),t.BQk()}}function $(a,c){if(1&a){const o=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2);return t.KtG(n.onMigrateAsync())}),t._uU(1," Migrate Async "),t.qZA()}}function b(a,c){if(1&a&&(t.ynx(0),t.YNc(1,N,3,0,"ng-container",10),t.YNc(2,$,2,0,"ng-template",null,11,t.W1O),t.BQk()),2&a){const o=t.MAs(3),e=t.oxw();t.xp6(1),t.Q6J("ngIf",e.totalSelected()>0)("ngIfElse",o)}}function U(a,c){if(1&a){const o=t.EpF();t.ynx(0),t.TgZ(1,"mat-checkbox",14),t.NdJ("change",function(n){const g=t.CHM(o).ngIf,s=t.oxw();return t.KtG(s.onSelectAll(n,g))}),t.qZA(),t.BQk()}}function J(a,c){1&a&&(t.ynx(0),t.TgZ(1,"th"),t._uU(2,"New URL"),t.qZA(),t.BQk())}function Q(a,c){if(1&a&&(t.ynx(0),t.TgZ(1,"div",18)(2,"span",19),t._uU(3),t.qZA()(),t.BQk()),2&a){const o=t.oxw(2).$implicit;t.xp6(3),t.Oqu(o.Message)}}function R(a,c){if(1&a&&(t.TgZ(0,"a",16),t._uU(1),t.qZA()),2&a){const o=t.oxw(2).$implicit;t.Q6J("href",o.CloudflareURL,t.LSH),t.xp6(1),t.hij(" ",o.CloudflareURL," ")}}function w(a,c){if(1&a&&(t.ynx(0),t.TgZ(1,"td"),t.YNc(2,Q,4,1,"ng-container",10),t.YNc(3,R,2,2,"ng-template",null,17,t.W1O),t.qZA(),t.BQk()),2&a){const o=t.MAs(4),e=t.oxw().$implicit;t.xp6(2),t.Q6J("ngIf",e.Message)("ngIfElse",o)}}function F(a,c){if(1&a){const o=t.EpF();t.ynx(0),t.TgZ(1,"tr")(2,"td")(3,"mat-checkbox",15),t.NdJ("ngModelChange",function(n){const g=t.CHM(o).$implicit;return t.KtG(g.selected=n)})("ngModelChange",function(){const r=t.CHM(o).ngForOf,g=t.oxw();return t.KtG(g.onSelect(r))}),t.qZA()(),t.TgZ(4,"td")(5,"a",16),t._uU(6),t.qZA()(),t.YNc(7,w,5,2,"ng-container",1),t.ALo(8,"async"),t.qZA(),t.BQk()}if(2&a){const o=c.$implicit,e=t.oxw();t.xp6(3),t.Q6J("ngModel",o.selected),t.xp6(2),t.Q6J("href",o.URL,t.LSH),t.xp6(1),t.hij(" ",o.URL," "),t.xp6(1),t.Q6J("ngIf",1==t.lcZ(8,4,e.onMigrate$))}}let L=(()=>{var a;class c{constructor(){this.prepaidPackageMigrate=(0,t.f3M)(f),this.prepaidPackageMigrate$=this.prepaidPackageMigrate.getImageUrls$().pipe((0,p.d)(1)),this._onMigrate=new k.X(!1),this.onMigrate$=this._onMigrate.asObservable(),this.pagination={PageNumber:1,RowCount:100},this.toastr=(0,t.f3M)(Z._W),this.dialog=(0,t.f3M)(T.uw),this.dateFilter={},this.totalSelected=(0,t.tdS)(0)}onMigrate(e){let n=e.Data.filter(g=>g.selected);if(0===n.length)return void this.toastr.error("Please select at least one image to migrate.","Error");const r=this.prepaidPackageMigrate.migrate(n).pipe((0,C.U)(g=>(this._onMigrate.next(!0),e.Data=e.Data.map(s=>{s.selected=!1;const _=g.find(O=>O.Path===s.Path);return s.CloudflareURL=_?.URL,s.Message=_?.Message,s}),e)));this.prepaidPackageMigrate$=r.pipe((0,p.d)(1))}onSelectAll(e,n){n=n.map(r=>(r.selected=e.checked,r)),this.totalSelected.set(n.filter(r=>r.selected)?.length)}onSelect(e){this.totalSelected.set(e.filter(n=>n.selected)?.length)}onMigrateAsync(){this.dialog.open(y.j,{data:{showDateFilter:!1}}).afterClosed().pipe((0,M.h)(e=>A.g.IsNotEmpty(e)),(0,v.b)(e=>this.prepaidPackageMigrate.migrateAsync({PageNumber:e.pageNumber,RowCount:e.rowCount}))).subscribe(e=>{this.toastr.warning(e.message,"Migrate In Progress",{toastClass:"ngx-toastr toast-waiting"}),this.prepaidPackageMigrate$=this.prepaidPackageMigrate.getImageUrls$().pipe((0,p.d)(1))})}onFilter(){this.prepaidPackageMigrate$=this.prepaidPackageMigrate.getImageUrls$({PageNumber:this.pagination.PageNumber,RowCount:this.pagination.RowCount,From:this.dateFilter.from,To:this.dateFilter.to}).pipe((0,p.d)(1))}onPagination(e){this.pagination.PageNumber=e.pageIndex+1,this.pagination.RowCount=e.pageSize,this.prepaidPackageMigrate$=this.prepaidPackageMigrate.getImageUrls$(this.pagination).pipe((0,p.d)(1))}}return(a=c).\u0275fac=function(e){return new(e||a)},a.\u0275cmp=t.Xpm({type:a,selectors:[["app-prepaid-package"]],standalone:!0,features:[t._Bn([f]),t.jDz],decls:23,vars:19,consts:[["Title","Migrate Prepaid Package",3,"hideSearchBox","hideSearchDropdown","onSubmit"],[4,"ngIf"],[1,"container-fluid"],[1,"row"],[1,"col-12"],[1,"table","mt-8"],[1,"thead-light"],[2,"width","5px"],[4,"ngFor","ngForOf"],[3,"length","pageSize","pageIndex","page"],[4,"ngIf","ngIfElse"],["ASYNC",""],["type","button",1,"btn","btn-success","shadow","rounded",3,"click"],["type","button",1,"btn","btn-success","shadow","rounded","me-3",3,"click"],["color","primary",3,"change"],["color","primary",3,"ngModel","ngModelChange"],["target","_blank",1,"text-break",3,"href"],["SHOW_URL",""],[1,"text-break"],[1,"text-danger"]],template:function(e,n){if(1&e&&(t.TgZ(0,"mainpanel",0),t.NdJ("onSubmit",function(){return n.onFilter()}),t.TgZ(1,"actions"),t.YNc(2,b,4,2,"ng-container",1),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"content")(5,"div",2)(6,"div",3)(7,"div",4)(8,"table",5)(9,"thead",6)(10,"tr")(11,"th",7),t.YNc(12,U,2,0,"ng-container",1),t.ALo(13,"async"),t.qZA(),t.TgZ(14,"th"),t._uU(15,"Old URL"),t.qZA(),t.YNc(16,J,3,0,"ng-container",1),t.ALo(17,"async"),t.qZA()(),t.TgZ(18,"tbody"),t.YNc(19,F,9,6,"ng-container",8),t.ALo(20,"async"),t.qZA()(),t.TgZ(21,"mat-paginator",9),t.NdJ("page",function(g){return n.onPagination(g)}),t.ALo(22,"async"),t.qZA()()()()()()),2&e){let r,g,s;t.Q6J("hideSearchBox",!0)("hideSearchDropdown",!0),t.xp6(2),t.Q6J("ngIf",t.lcZ(3,9,n.prepaidPackageMigrate$)),t.xp6(10),t.Q6J("ngIf",null==(r=t.lcZ(13,11,n.prepaidPackageMigrate$))?null:r.Data),t.xp6(4),t.Q6J("ngIf",1==t.lcZ(17,13,n.onMigrate$)),t.xp6(3),t.Q6J("ngForOf",null==(g=t.lcZ(20,15,n.prepaidPackageMigrate$))?null:g.Data),t.xp6(2),t.Q6J("length",null==(s=t.lcZ(22,17,n.prepaidPackageMigrate$))?null:s.Count)("pageSize",n.pagination.RowCount)("pageIndex",0==n.pagination.PageNumber?0:n.pagination.PageNumber-1)}},dependencies:[l.ez,l.sg,l.O5,l.Ov,h.R,h.p,x.AV,u.TU,u.NW,P.p9,P.oG,d.u5,d.JJ,d.On,I.C8]}),c})()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[669],{3669:(k,u,i)=>{i.r(u),i.d(u,{CustomerDisplayComponent:()=>P});var p=i(6814),t=i(5879),d=i(4387),y=i(2596),g=i(7081),x=i(5619),M=i(7398),D=i(2181),v=i(6328),h=i(9887),f=i(5986),m=i(6223),Z=i(2425),T=i(7700),A=i(3988),I=i(6493),S=i(8745),N=i(8017);let C=(()=>{var n;class r{constructor(){this.domain=`https://${localStorage.getItem("Domain")}`,this.http=(0,t.f3M)(N.O)}getImageUrls$(e={PageNumber:1,RowCount:100}){return this.http.post(`${this.domain}/api/image/customerdisplay`,e)}migrate(e){return this.http.post(`${this.domain}/api/cloudflare/migrate/customerdisplay`,{Images:e})}migrateAsync(e){const s={...e,Host:`${localStorage.getItem("Domain")}`};return this.http.post("/api/MigrateImage/customerdisplay",s)}}return(n=r).\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),r})();function $(n,r){if(1&n){const a=t.EpF();t.ynx(0),t.TgZ(1,"button",12),t.NdJ("click",function(){t.CHM(a);const o=t.oxw().ngIf,s=t.oxw();return t.KtG(s.onMigrate(o))}),t._uU(2," Migrate "),t.qZA(),t.BQk()}}function b(n,r){if(1&n){const a=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){t.CHM(a);const o=t.oxw(2);return t.KtG(o.onMigrateAsync())}),t._uU(1," Migrate Async "),t.qZA()}}function U(n,r){if(1&n&&(t.ynx(0),t.YNc(1,$,3,0,"ng-container",10),t.YNc(2,b,2,0,"ng-template",null,11,t.W1O),t.BQk()),2&n){const a=t.MAs(3),e=t.oxw();t.xp6(1),t.Q6J("ngIf",e.totalSelected()>0)("ngIfElse",a)}}function J(n,r){if(1&n){const a=t.EpF();t.ynx(0),t.TgZ(1,"mat-checkbox",14),t.NdJ("change",function(o){const l=t.CHM(a).ngIf,c=t.oxw();return t.KtG(c.onSelectAll(o,l))}),t.qZA(),t.BQk()}}function Q(n,r){1&n&&(t.ynx(0),t.TgZ(1,"th"),t._uU(2,"New URL"),t.qZA(),t.BQk())}function R(n,r){if(1&n&&(t.ynx(0),t.TgZ(1,"div",18)(2,"span",19),t._uU(3),t.qZA()(),t.BQk()),2&n){const a=t.oxw(2).$implicit;t.xp6(3),t.Oqu(a.Message)}}function w(n,r){if(1&n&&(t.TgZ(0,"a",16),t._uU(1),t.qZA()),2&n){const a=t.oxw(2).$implicit;t.Q6J("href",a.CloudflareURL,t.LSH),t.xp6(1),t.hij(" ",a.CloudflareURL," ")}}function F(n,r){if(1&n&&(t.ynx(0),t.TgZ(1,"td"),t.YNc(2,R,4,1,"ng-container",10),t.YNc(3,w,2,2,"ng-template",null,17,t.W1O),t.qZA(),t.BQk()),2&n){const a=t.MAs(4),e=t.oxw().$implicit;t.xp6(2),t.Q6J("ngIf",e.Message)("ngIfElse",a)}}function L(n,r){if(1&n){const a=t.EpF();t.ynx(0),t.TgZ(1,"tr")(2,"td")(3,"mat-checkbox",15),t.NdJ("ngModelChange",function(o){const l=t.CHM(a).$implicit;return t.KtG(l.selected=o)})("ngModelChange",function(){const s=t.CHM(a).ngForOf,l=t.oxw();return t.KtG(l.onSelect(s))}),t.qZA()(),t.TgZ(4,"td")(5,"a",16),t._uU(6),t.qZA()(),t.YNc(7,F,5,2,"ng-container",1),t.ALo(8,"async"),t.qZA(),t.BQk()}if(2&n){const a=r.$implicit,e=t.oxw();t.xp6(3),t.Q6J("ngModel",a.selected),t.xp6(2),t.Q6J("href",a.URL,t.LSH),t.xp6(1),t.hij(" ",a.URL," "),t.xp6(1),t.Q6J("ngIf",1==t.lcZ(8,4,e.onMigrate$))}}let P=(()=>{var n;class r{constructor(){this.customerDisplayMigrate=(0,t.f3M)(C),this.customerDisplayMigrate$=this.customerDisplayMigrate.getImageUrls$().pipe((0,g.d)(1)),this._onMigrate=new x.X(!1),this.onMigrate$=this._onMigrate.asObservable(),this.pagination={PageNumber:1,RowCount:100},this.toastr=(0,t.f3M)(Z._W),this.dialog=(0,t.f3M)(T.uw),this.dateFilter={},this.totalSelected=(0,t.tdS)(0)}onMigrate(e){let o=e.Data.filter(l=>l.selected);if(0===o.length)return void this.toastr.error("Please select at least one image to migrate.","Error");const s=this.customerDisplayMigrate.migrate(o).pipe((0,M.U)(l=>(this._onMigrate.next(!0),e.Data=e.Data.map(c=>{c.selected=!1;const _=l.find(O=>O.Path===c.Path);return c.CloudflareURL=_?.URL,c.Message=_?.Message,c}),e)));this.customerDisplayMigrate$=s.pipe((0,g.d)(1))}onSelectAll(e,o){o=o.map(s=>(s.selected=e.checked,s)),this.totalSelected.set(o.filter(s=>s.selected)?.length)}onSelect(e){this.totalSelected.set(e.filter(o=>o.selected)?.length)}onMigrateAsync(){this.dialog.open(A.j,{data:{showDateFilter:!1}}).afterClosed().pipe((0,D.h)(e=>I.g.IsNotEmpty(e)),(0,v.b)(e=>this.customerDisplayMigrate.migrateAsync({PageNumber:e.pageNumber,RowCount:e.rowCount}))).subscribe(e=>{this.toastr.warning(e.message,"Migrate In Progress",{toastClass:"ngx-toastr toast-waiting"}),this.customerDisplayMigrate$=this.customerDisplayMigrate.getImageUrls$().pipe((0,g.d)(1))})}onFilter(){this.customerDisplayMigrate$=this.customerDisplayMigrate.getImageUrls$({PageNumber:this.pagination.PageNumber,RowCount:this.pagination.RowCount,From:this.dateFilter.from,To:this.dateFilter.to}).pipe((0,g.d)(1))}onPagination(e){this.pagination.PageNumber=e.pageIndex+1,this.pagination.RowCount=e.pageSize,this.customerDisplayMigrate$=this.customerDisplayMigrate.getImageUrls$(this.pagination).pipe((0,g.d)(1))}}return(n=r).\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-prepaid-package"]],standalone:!0,features:[t._Bn([C]),t.jDz],decls:23,vars:19,consts:[["Title","Migrate Prepaid Package",3,"hideSearchBox","hideSearchDropdown","onSubmit"],[4,"ngIf"],[1,"container-fluid"],[1,"row"],[1,"col-12"],[1,"table","mt-8"],[1,"thead-light"],[2,"width","5px"],[4,"ngFor","ngForOf"],[3,"length","pageSize","pageIndex","page"],[4,"ngIf","ngIfElse"],["ASYNC",""],["type","button",1,"btn","btn-success","shadow","rounded",3,"click"],["type","button",1,"btn","btn-success","shadow","rounded","me-3",3,"click"],["color","primary",3,"change"],["color","primary",3,"ngModel","ngModelChange"],["target","_blank",1,"text-break",3,"href"],["SHOW_URL",""],[1,"text-break"],[1,"text-danger"]],template:function(e,o){if(1&e&&(t.TgZ(0,"mainpanel",0),t.NdJ("onSubmit",function(){return o.onFilter()}),t.TgZ(1,"actions"),t.YNc(2,U,4,2,"ng-container",1),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"content")(5,"div",2)(6,"div",3)(7,"div",4)(8,"table",5)(9,"thead",6)(10,"tr")(11,"th",7),t.YNc(12,J,2,0,"ng-container",1),t.ALo(13,"async"),t.qZA(),t.TgZ(14,"th"),t._uU(15,"Old URL"),t.qZA(),t.YNc(16,Q,3,0,"ng-container",1),t.ALo(17,"async"),t.qZA()(),t.TgZ(18,"tbody"),t.YNc(19,L,9,6,"ng-container",8),t.ALo(20,"async"),t.qZA()(),t.TgZ(21,"mat-paginator",9),t.NdJ("page",function(l){return o.onPagination(l)}),t.ALo(22,"async"),t.qZA()()()()()()),2&e){let s,l,c;t.Q6J("hideSearchBox",!0)("hideSearchDropdown",!0),t.xp6(2),t.Q6J("ngIf",t.lcZ(3,9,o.customerDisplayMigrate$)),t.xp6(10),t.Q6J("ngIf",null==(s=t.lcZ(13,11,o.customerDisplayMigrate$))?null:s.Data),t.xp6(4),t.Q6J("ngIf",1==t.lcZ(17,13,o.onMigrate$)),t.xp6(3),t.Q6J("ngForOf",null==(l=t.lcZ(20,15,o.customerDisplayMigrate$))?null:l.Data),t.xp6(2),t.Q6J("length",null==(c=t.lcZ(22,17,o.customerDisplayMigrate$))?null:c.Count)("pageSize",o.pagination.RowCount)("pageIndex",0==o.pagination.PageNumber?0:o.pagination.PageNumber-1)}},dependencies:[p.ez,p.sg,p.O5,p.Ov,d.R,d.p,y.AV,h.TU,h.NW,f.p9,f.oG,m.u5,m.JJ,m.On,S.C8]}),r})()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[700],{4700:(P,d,l)=>{l.r(d),l.d(d,{MigrateComponent:()=>N});var g=l(6814),e=l(5879),h=l(4387),T=l(9887),v=l(7398),M=l(8017),A=l(6493);let y=(()=>{var a;class r{constructor(t){this.datePipe=t,this.domain=`${localStorage.getItem("Domain")}`,this.http=(0,e.f3M)(M.O)}getMigrateHistory(t={logType:null,PageNumber:1,RowCount:100}){const o={...t,domain:this.domain};return this.http.post("/api/Sematext/Notification",o).pipe((0,v.U)(i=>{let s,p;return{data:i.hits.map(c=>(s=this.generateProcessLabel(c?._source?.message),p=this.generateDateLabel(c?._source?.log?.request),{type:c?._source?.logType,process:s,duration:c?._source?.Duration,created:c?._source["@timestamp"],date:p})),total:i.total?.value}}))}generateDateLabel(t){let o="";try{const i=JSON.parse(t),s=i?.From?new Date(i?.From):"",p=i?.To?new Date(i?.To):"";o=this.formatDate(s,p)}catch(i){console.log(i)}return o}formatDate(t,o){let i="-";if(t&&o){const s=A.g.formatTitleFromDate(t,o),p=this.datePipe.transform(t,s);i=`${null==s?"":p+" -"} ${this.datePipe.transform(o,"dd MMM yyyy")}`}return i}generateProcessLabel(t){let o="";try{o=t?JSON.parse(t):null}catch(i){console.log(i)}return o}}return(a=r).\u0275fac=function(t){return new(t||a)(e.LFG(g.uU))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),r})();var u=l(7081),f=l(4807),m=l(6223),C=l(1379);function S(a,r){if(1&a&&(e.ynx(0),e.TgZ(1,"div"),e._uU(2),e.qZA(),e.BQk()),2&a){const n=e.oxw().$implicit;e.xp6(2),e.Oqu(null==n||null==n.process?null:n.process.Message)}}function L(a,r){if(1&a&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"number"),e.qZA(),e.TgZ(3,"div",15),e._uU(4),e.ALo(5,"number"),e.qZA(),e.TgZ(6,"div",16),e._uU(7),e.ALo(8,"number"),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.hij("Total: ",e.lcZ(2,3,null==n||null==n.process?null:n.process.Total),""),e.xp6(3),e.hij("Success: ",e.lcZ(5,5,null==n||null==n.process?null:n.process.Success),""),e.xp6(3),e.hij("Failed: ",e.lcZ(8,7,null==n||null==n.process?null:n.process.Failed),"")}}function b(a,r){if(1&a&&(e.ynx(0),e.TgZ(1,"tr")(2,"td"),e._uU(3),e.qZA(),e.TgZ(4,"td"),e._uU(5),e.qZA(),e.TgZ(6,"td"),e.YNc(7,S,3,1,"ng-container",13),e.YNc(8,L,9,9,"ng-template",null,14,e.W1O),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.ALo(12,"number"),e.qZA(),e.TgZ(13,"td"),e._uU(14),e.ALo(15,"date"),e.qZA()(),e.BQk()),2&a){const n=r.$implicit,t=e.MAs(9);e.xp6(3),e.hij(" ",n.type," "),e.xp6(2),e.hij(" ",n.date," "),e.xp6(2),e.Q6J("ngIf",null==n||null==n.process?null:n.process.Message)("ngIfElse",t),e.xp6(4),e.hij("",e.xi3(12,6,n.duration,"1.1-1")," s"),e.xp6(3),e.Oqu(e.xi3(15,9,n.created,"dd MMM yyyy HH:mm:ss"))}}let N=(()=>{var a;class r{constructor(){this.migrationLogService=(0,e.f3M)(y),this.signalRService=(0,e.f3M)(C.Y),this.migrationLog$=this.migrationLogService.getMigrateHistory().pipe((0,u.d)(1)),this.pagination={PageNumber:1,RowCount:100},this.typeOptions=["InvoicePayment","BillInvoicePayment","CustomerImage","SupplierImage","PrepaidPackage","CustomerDisplay"],this.selectedType=null,this.listenToSignalR()}listenToSignalR(){this.signalRService.migrateNotification$.subscribe(t=>{this.onFilter()})}onPagination(t){this.pagination.PageNumber=t.pageIndex+1,this.pagination.RowCount=t.pageSize,this.migrationLog$=this.migrationLogService.getMigrateHistory({logType:this.selectedType,PageNumber:this.pagination.PageNumber,RowCount:this.pagination.RowCount}).pipe((0,u.d)(1))}onFilter(){this.migrationLog$=this.migrationLogService.getMigrateHistory({logType:this.selectedType,PageNumber:this.pagination.PageNumber,RowCount:this.pagination.RowCount}).pipe((0,u.d)(1))}}return(a=r).\u0275fac=function(t){return new(t||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-migrate"]],standalone:!0,features:[e._Bn([y]),e.jDz],decls:29,vars:11,consts:[["Title","Migrate Notification",3,"hideSearchBox","onSubmit"],[1,"d-flex"],["container","",1,"mb-4"],[1,"mb-2"],[3,"items","ngModel","ngModelChange"],[1,"container-fluid"],[1,"row"],[1,"col-12"],[1,"table","mt-8"],[1,"thead-light"],[2,"width","200px"],[4,"ngFor","ngForOf"],[3,"length","pageSize","pageIndex","page"],[4,"ngIf","ngIfElse"],["OTHER",""],[1,"text-success"],[1,"text-danger"]],template:function(t,o){if(1&t&&(e.TgZ(0,"mainpanel",0),e.NdJ("onSubmit",function(){return o.onFilter()}),e.TgZ(1,"filters")(2,"div",1)(3,"div",2)(4,"h6",3),e._uU(5,"Type"),e.qZA(),e.TgZ(6,"ng-select",4),e.NdJ("ngModelChange",function(s){return o.selectedType=s}),e.qZA()()()(),e.TgZ(7,"content")(8,"div",5)(9,"div",6)(10,"div",7)(11,"table",8)(12,"thead",9)(13,"tr")(14,"th",10),e._uU(15,"Migrate"),e.qZA(),e.TgZ(16,"th",10),e._uU(17,"Date"),e.qZA(),e.TgZ(18,"th",10),e._uU(19,"Process"),e.qZA(),e.TgZ(20,"th",10),e._uU(21,"Duration"),e.qZA(),e.TgZ(22,"th",10),e._uU(23,"Created"),e.qZA()()(),e.TgZ(24,"tbody"),e.YNc(25,b,16,12,"ng-container",11),e.ALo(26,"async"),e.qZA()(),e.TgZ(27,"mat-paginator",12),e.NdJ("page",function(s){return o.onPagination(s)}),e.ALo(28,"async"),e.qZA()()()()()()),2&t){let i,s;e.Q6J("hideSearchBox",!0),e.xp6(6),e.Q6J("items",o.typeOptions)("ngModel",o.selectedType),e.xp6(19),e.Q6J("ngForOf",null==(i=e.lcZ(26,7,o.migrationLog$))?null:i.data),e.xp6(2),e.Q6J("length",null==(s=e.lcZ(28,9,o.migrationLog$))?null:s.total)("pageSize",o.pagination.RowCount)("pageIndex",0==o.pagination.PageNumber?0:o.pagination.PageNumber-1)}},dependencies:[g.ez,g.sg,g.O5,g.Ov,g.JJ,g.uU,h.R,h.p,T.TU,T.NW,f.A0,f.w9,m.u5,m.JJ,m.On],encapsulation:2}),r})()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[805],{3805:(c,r,a)=>{a.r(r),a.d(r,{MigrateComponent:()=>u});var m=a(6814),s=a(8525),l=a(8184),e=a(5879);let u=(()=>{var t;class o{constructor(){this.productTabs=[{Title:"Receipt Logo",Url:"/menu/migrate/receipt-logo"},{Title:"Invoice Payment",Url:"/menu/migrate/invoice-payment"},{Title:"Bill Payment",Url:"/menu/migrate/bill-payment"},{Title:"Customer",Url:"/menu/migrate/customer-image"},{Title:"Supplier",Url:"/menu/migrate/supplier-image"},{Title:"Prepaid Package",Url:"/menu/migrate/prepaid-package"},{Title:"Customer Display",Url:"/menu/migrate/customer-display"}]}}return(t=o).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-migrate"]],standalone:!0,features:[e.jDz],decls:5,vars:1,consts:[[1,"navbar","page-nav","navbar-default","py-0","navbar-expand-lg"],[1,"container-fluid"],[3,"Tabs"]],template:function(n,p){1&n&&(e.TgZ(0,"nav",0)(1,"div",1)(2,"div"),e._UZ(3,"nav-tab",2),e.qZA()()(),e._UZ(4,"router-outlet")),2&n&&(e.xp6(3),e.Q6J("Tabs",p.productTabs))},dependencies:[m.ez,s.e,l.Bz,l.lC]}),o})()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[91],{5091:(D,u,i)=>{i.r(u),i.d(u,{SupplierMigrateComponent:()=>O});var c=i(6814),t=i(5879),h=i(4387),x=i(2596),s=i(7081),C=i(5619),S=i(7398),I=i(2181),v=i(6328),d=i(9887),f=i(5986),m=i(6223),Z=i(2425),T=i(7700),y=i(3988),A=i(6493),N=i(8745),$=i(8017);let _=(()=>{var n;class g{constructor(){this.domain=`https://${localStorage.getItem("Domain")}`,this.http=(0,t.f3M)($.O)}getImageUrls$(e={PageNumber:1,RowCount:100}){return this.http.post(`${this.domain}/api/image/SupplierImage`,e)}migrate(e){return this.http.post(`${this.domain}/api/cloudflare/migrate/SupplierImage`,{Images:e})}migrateAsync(e){const r={...e,Host:`${localStorage.getItem("Domain")}`};return this.http.post("/api/MigrateImage/SupplierImage",r)}}return(n=g).\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),g})();function b(n,g){if(1&n){const o=t.EpF();t.ynx(0),t.TgZ(1,"button",12),t.NdJ("click",function(){t.CHM(o);const a=t.oxw().ngIf,r=t.oxw();return t.KtG(r.onMigrate(a))}),t._uU(2," Migrate "),t.qZA(),t.BQk()}}function U(n,g){if(1&n){const o=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){t.CHM(o);const a=t.oxw(2);return t.KtG(a.onMigrateAsync())}),t._uU(1," Migrate Async "),t.qZA()}}function J(n,g){if(1&n&&(t.ynx(0),t.YNc(1,b,3,0,"ng-container",10),t.YNc(2,U,2,0,"ng-template",null,11,t.W1O),t.BQk()),2&n){const o=t.MAs(3),e=t.oxw();t.xp6(1),t.Q6J("ngIf",e.totalSelected()>0)("ngIfElse",o)}}function Q(n,g){if(1&n){const o=t.EpF();t.ynx(0),t.TgZ(1,"mat-checkbox",14),t.NdJ("change",function(a){const l=t.CHM(o).ngIf,p=t.oxw();return t.KtG(p.onSelectAll(a,l))}),t.qZA(),t.BQk()}}function R(n,g){1&n&&(t.ynx(0),t.TgZ(1,"th"),t._uU(2,"New URL"),t.qZA(),t.BQk())}function w(n,g){if(1&n&&(t.ynx(0),t.TgZ(1,"div",18)(2,"span",19),t._uU(3),t.qZA()(),t.BQk()),2&n){const o=t.oxw(2).$implicit;t.xp6(3),t.Oqu(o.Message)}}function F(n,g){if(1&n&&(t.TgZ(0,"a",16),t._uU(1),t.qZA()),2&n){const o=t.oxw(2).$implicit;t.Q6J("href",o.CloudflareURL,t.LSH),t.xp6(1),t.hij(" ",o.CloudflareURL," ")}}function L(n,g){if(1&n&&(t.ynx(0),t.TgZ(1,"td"),t.YNc(2,w,4,1,"ng-container",10),t.YNc(3,F,2,2,"ng-template",null,17,t.W1O),t.qZA(),t.BQk()),2&n){const o=t.MAs(4),e=t.oxw().$implicit;t.xp6(2),t.Q6J("ngIf",e.Message)("ngIfElse",o)}}function P(n,g){if(1&n){const o=t.EpF();t.ynx(0),t.TgZ(1,"tr")(2,"td")(3,"mat-checkbox",15),t.NdJ("ngModelChange",function(a){const l=t.CHM(o).$implicit;return t.KtG(l.selected=a)})("ngModelChange",function(){const r=t.CHM(o).ngForOf,l=t.oxw();return t.KtG(l.onSelect(r))}),t.qZA()(),t.TgZ(4,"td")(5,"a",16),t._uU(6),t.qZA()(),t.YNc(7,L,5,2,"ng-container",1),t.ALo(8,"async"),t.qZA(),t.BQk()}if(2&n){const o=g.$implicit,e=t.oxw();t.xp6(3),t.Q6J("ngModel",o.selected),t.xp6(2),t.Q6J("href",o.URL,t.LSH),t.xp6(1),t.hij(" ",o.URL," "),t.xp6(1),t.Q6J("ngIf",1==t.lcZ(8,4,e.onMigrate$))}}let O=(()=>{var n;class g{constructor(){this.supplierImageMigrate=(0,t.f3M)(_),this.supplierImageMigrate$=this.supplierImageMigrate.getImageUrls$().pipe((0,s.d)(1)),this._onMigrate=new C.X(!1),this.onMigrate$=this._onMigrate.asObservable(),this.pagination={PageNumber:1,RowCount:100},this.toastr=(0,t.f3M)(Z._W),this.dialog=(0,t.f3M)(T.uw),this.dateFilter={},this.totalSelected=(0,t.tdS)(0)}onMigrate(e){let a=e.Data.filter(l=>l.selected);if(0===a.length)return void this.toastr.error("Please select at least one image to migrate.","Error");const r=this.supplierImageMigrate.migrate(a).pipe((0,S.U)(l=>(this._onMigrate.next(!0),e.Data=e.Data.map(p=>{p.selected=!1;const M=l.find(B=>B.Path===p.Path);return p.CloudflareURL=M?.URL,p.Message=M?.Message,p}),e)));this.supplierImageMigrate$=r.pipe((0,s.d)(1))}onSelectAll(e,a){a=a.map(r=>(r.selected=e.checked,r)),this.totalSelected.set(a.filter(r=>r.selected)?.length)}onSelect(e){this.totalSelected.set(e.filter(a=>a.selected)?.length)}onMigrateAsync(){this.dialog.open(y.j,{data:{showDateFilter:!1}}).afterClosed().pipe((0,I.h)(e=>A.g.IsNotEmpty(e)),(0,v.b)(e=>this.supplierImageMigrate.migrateAsync({PageNumber:e.pageNumber,RowCount:e.rowCount}))).subscribe(e=>{this.toastr.warning(e.message,"Migrate In Progress",{toastClass:"ngx-toastr toast-waiting"}),this.supplierImageMigrate$=this.supplierImageMigrate.getImageUrls$().pipe((0,s.d)(1))})}onFilter(){this.supplierImageMigrate$=this.supplierImageMigrate.getImageUrls$({PageNumber:this.pagination.PageNumber,RowCount:this.pagination.RowCount,From:this.dateFilter.from,To:this.dateFilter.to}).pipe((0,s.d)(1))}onPagination(e){this.pagination.PageNumber=e.pageIndex+1,this.pagination.RowCount=e.pageSize,this.supplierImageMigrate$=this.supplierImageMigrate.getImageUrls$(this.pagination).pipe((0,s.d)(1))}}return(n=g).\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-supplier-image"]],standalone:!0,features:[t._Bn([_]),t.jDz],decls:23,vars:19,consts:[["Title","Migrate Customer Image",3,"hideSearchBox","hideSearchDropdown","onSubmit"],[4,"ngIf"],[1,"container-fluid"],[1,"row"],[1,"col-12"],[1,"table","mt-8"],[1,"thead-light"],[2,"width","5px"],[4,"ngFor","ngForOf"],[3,"length","pageSize","pageIndex","page"],[4,"ngIf","ngIfElse"],["ASYNC",""],["type","button",1,"btn","btn-success","shadow","rounded",3,"click"],["type","button",1,"btn","btn-success","shadow","rounded","me-3",3,"click"],["color","primary",3,"change"],["color","primary",3,"ngModel","ngModelChange"],["target","_blank",1,"text-break",3,"href"],["SHOW_URL",""],[1,"text-break"],[1,"text-danger"]],template:function(e,a){if(1&e&&(t.TgZ(0,"mainpanel",0),t.NdJ("onSubmit",function(){return a.onFilter()}),t.TgZ(1,"actions"),t.YNc(2,J,4,2,"ng-container",1),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"content")(5,"div",2)(6,"div",3)(7,"div",4)(8,"table",5)(9,"thead",6)(10,"tr")(11,"th",7),t.YNc(12,Q,2,0,"ng-container",1),t.ALo(13,"async"),t.qZA(),t.TgZ(14,"th"),t._uU(15,"Old URL"),t.qZA(),t.YNc(16,R,3,0,"ng-container",1),t.ALo(17,"async"),t.qZA()(),t.TgZ(18,"tbody"),t.YNc(19,P,9,6,"ng-container",8),t.ALo(20,"async"),t.qZA()(),t.TgZ(21,"mat-paginator",9),t.NdJ("page",function(l){return a.onPagination(l)}),t.ALo(22,"async"),t.qZA()()()()()()),2&e){let r,l,p;t.Q6J("hideSearchBox",!0)("hideSearchDropdown",!0),t.xp6(2),t.Q6J("ngIf",t.lcZ(3,9,a.supplierImageMigrate$)),t.xp6(10),t.Q6J("ngIf",null==(r=t.lcZ(13,11,a.supplierImageMigrate$))?null:r.Data),t.xp6(4),t.Q6J("ngIf",1==t.lcZ(17,13,a.onMigrate$)),t.xp6(3),t.Q6J("ngForOf",null==(l=t.lcZ(20,15,a.supplierImageMigrate$))?null:l.Data),t.xp6(2),t.Q6J("length",null==(p=t.lcZ(22,17,a.supplierImageMigrate$))?null:p.Count)("pageSize",a.pagination.RowCount)("pageIndex",0==a.pagination.PageNumber?0:a.pagination.PageNumber-1)}},dependencies:[c.ez,c.sg,c.O5,c.Ov,h.R,h.p,x.AV,d.TU,d.NW,f.p9,f.oG,m.u5,m.JJ,m.On,N.C8]}),g})()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[998],{3998:(D,p,r)=>{r.r(p),r.d(p,{CustomerMigrateComponent:()=>O});var l=r(6814),t=r(5879),h=r(4387),M=r(2596),m=r(7081),x=r(5619),I=r(7398),v=r(2181),Z=r(6328),d=r(9887),C=r(5986),u=r(6223),T=r(2425),y=r(7700),A=r(3988),S=r(6493),N=r(8745),$=r(8017);let f=(()=>{var n;class s{constructor(){this.domain=`https://${localStorage.getItem("Domain")}`,this.http=(0,t.f3M)($.O)}getImageUrls$(e={PageNumber:1,RowCount:100}){return this.http.post(`${this.domain}/api/image/CustomerImage`,e)}migrate(e){return this.http.post(`${this.domain}/api/cloudflare/migrate/CustomerImage`,{Images:e})}migrateAsync(e){const i={...e,Host:`${localStorage.getItem("Domain")}`};return this.http.post("/api/MigrateImage/CustomerImage",i)}}return(n=s).\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),s})();function b(n,s){if(1&n){const a=t.EpF();t.ynx(0),t.TgZ(1,"button",12),t.NdJ("click",function(){t.CHM(a);const o=t.oxw().ngIf,i=t.oxw();return t.KtG(i.onMigrate(o))}),t._uU(2," Migrate "),t.qZA(),t.BQk()}}function U(n,s){if(1&n){const a=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){t.CHM(a);const o=t.oxw(2);return t.KtG(o.onMigrateAsync())}),t._uU(1," Migrate Async "),t.qZA()}}function J(n,s){if(1&n&&(t.ynx(0),t.YNc(1,b,3,0,"ng-container",10),t.YNc(2,U,2,0,"ng-template",null,11,t.W1O),t.BQk()),2&n){const a=t.MAs(3),e=t.oxw();t.xp6(1),t.Q6J("ngIf",e.totalSelected()>0)("ngIfElse",a)}}function Q(n,s){if(1&n){const a=t.EpF();t.ynx(0),t.TgZ(1,"mat-checkbox",14),t.NdJ("change",function(o){const g=t.CHM(a).ngIf,c=t.oxw();return t.KtG(c.onSelectAll(o,g))}),t.qZA(),t.BQk()}}function R(n,s){1&n&&(t.ynx(0),t.TgZ(1,"th"),t._uU(2,"New URL"),t.qZA(),t.BQk())}function w(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,"div",18)(2,"span",19),t._uU(3),t.qZA()(),t.BQk()),2&n){const a=t.oxw(2).$implicit;t.xp6(3),t.Oqu(a.Message)}}function F(n,s){if(1&n&&(t.TgZ(0,"a",16),t._uU(1),t.qZA()),2&n){const a=t.oxw(2).$implicit;t.Q6J("href",a.CloudflareURL,t.LSH),t.xp6(1),t.hij(" ",a.CloudflareURL," ")}}function L(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,"td"),t.YNc(2,w,4,1,"ng-container",10),t.YNc(3,F,2,2,"ng-template",null,17,t.W1O),t.qZA(),t.BQk()),2&n){const a=t.MAs(4),e=t.oxw().$implicit;t.xp6(2),t.Q6J("ngIf",e.Message)("ngIfElse",a)}}function P(n,s){if(1&n){const a=t.EpF();t.ynx(0),t.TgZ(1,"tr")(2,"td")(3,"mat-checkbox",15),t.NdJ("ngModelChange",function(o){const g=t.CHM(a).$implicit;return t.KtG(g.selected=o)})("ngModelChange",function(){const i=t.CHM(a).ngForOf,g=t.oxw();return t.KtG(g.onSelect(i))}),t.qZA()(),t.TgZ(4,"td")(5,"a",16),t._uU(6),t.qZA()(),t.YNc(7,L,5,2,"ng-container",1),t.ALo(8,"async"),t.qZA(),t.BQk()}if(2&n){const a=s.$implicit,e=t.oxw();t.xp6(3),t.Q6J("ngModel",a.selected),t.xp6(2),t.Q6J("href",a.URL,t.LSH),t.xp6(1),t.hij(" ",a.URL," "),t.xp6(1),t.Q6J("ngIf",1==t.lcZ(8,4,e.onMigrate$))}}let O=(()=>{var n;class s{constructor(){this.customerImageMigrate=(0,t.f3M)(f),this.customerImageMigrate$=this.customerImageMigrate.getImageUrls$().pipe((0,m.d)(1)),this._onMigrate=new x.X(!1),this.onMigrate$=this._onMigrate.asObservable(),this.pagination={PageNumber:1,RowCount:100},this.toastr=(0,t.f3M)(T._W),this.dialog=(0,t.f3M)(y.uw),this.dateFilter={},this.totalSelected=(0,t.tdS)(0)}onMigrate(e){let o=e.Data.filter(g=>g.selected);if(0===o.length)return void this.toastr.error("Please select at least one image to migrate.","Error");const i=this.customerImageMigrate.migrate(o).pipe((0,I.U)(g=>(this._onMigrate.next(!0),e.Data=e.Data.map(c=>{c.selected=!1;const _=g.find(B=>B.Path===c.Path);return c.CloudflareURL=_?.URL,c.Message=_?.Message,c}),e)));this.customerImageMigrate$=i.pipe((0,m.d)(1))}onSelectAll(e,o){o=o.map(i=>(i.selected=e.checked,i)),this.totalSelected.set(o.filter(i=>i.selected)?.length)}onSelect(e){this.totalSelected.set(e.filter(o=>o.selected)?.length)}onMigrateAsync(){this.dialog.open(A.j,{data:{showDateFilter:!1}}).afterClosed().pipe((0,v.h)(e=>S.g.IsNotEmpty(e)),(0,Z.b)(e=>this.customerImageMigrate.migrateAsync({PageNumber:e.pageNumber,RowCount:e.rowCount}))).subscribe(e=>{this.toastr.warning(e.message,"Migrate In Progress",{toastClass:"ngx-toastr toast-waiting"}),this.customerImageMigrate$=this.customerImageMigrate.getImageUrls$().pipe((0,m.d)(1))})}onFilter(){this.customerImageMigrate$=this.customerImageMigrate.getImageUrls$({PageNumber:this.pagination.PageNumber,RowCount:this.pagination.RowCount,From:this.dateFilter.from,To:this.dateFilter.to}).pipe((0,m.d)(1))}onPagination(e){this.pagination.PageNumber=e.pageIndex+1,this.pagination.RowCount=e.pageSize,this.customerImageMigrate$=this.customerImageMigrate.getImageUrls$(this.pagination).pipe((0,m.d)(1))}}return(n=s).\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-customer-image"]],standalone:!0,features:[t._Bn([f]),t.jDz],decls:23,vars:19,consts:[["Title","Migrate Customer Image",3,"hideSearchBox","hideSearchDropdown","onSubmit"],[4,"ngIf"],[1,"container-fluid"],[1,"row"],[1,"col-12"],[1,"table","mt-8"],[1,"thead-light"],[2,"width","5px"],[4,"ngFor","ngForOf"],[3,"length","pageSize","pageIndex","page"],[4,"ngIf","ngIfElse"],["ASYNC",""],["type","button",1,"btn","btn-success","shadow","rounded",3,"click"],["type","button",1,"btn","btn-success","shadow","rounded","me-3",3,"click"],["color","primary",3,"change"],["color","primary",3,"ngModel","ngModelChange"],["target","_blank",1,"text-break",3,"href"],["SHOW_URL",""],[1,"text-break"],[1,"text-danger"]],template:function(e,o){if(1&e&&(t.TgZ(0,"mainpanel",0),t.NdJ("onSubmit",function(){return o.onFilter()}),t.TgZ(1,"actions"),t.YNc(2,J,4,2,"ng-container",1),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"content")(5,"div",2)(6,"div",3)(7,"div",4)(8,"table",5)(9,"thead",6)(10,"tr")(11,"th",7),t.YNc(12,Q,2,0,"ng-container",1),t.ALo(13,"async"),t.qZA(),t.TgZ(14,"th"),t._uU(15,"Old URL"),t.qZA(),t.YNc(16,R,3,0,"ng-container",1),t.ALo(17,"async"),t.qZA()(),t.TgZ(18,"tbody"),t.YNc(19,P,9,6,"ng-container",8),t.ALo(20,"async"),t.qZA()(),t.TgZ(21,"mat-paginator",9),t.NdJ("page",function(g){return o.onPagination(g)}),t.ALo(22,"async"),t.qZA()()()()()()),2&e){let i,g,c;t.Q6J("hideSearchBox",!0)("hideSearchDropdown",!0),t.xp6(2),t.Q6J("ngIf",t.lcZ(3,9,o.customerImageMigrate$)),t.xp6(10),t.Q6J("ngIf",null==(i=t.lcZ(13,11,o.customerImageMigrate$))?null:i.Data),t.xp6(4),t.Q6J("ngIf",1==t.lcZ(17,13,o.onMigrate$)),t.xp6(3),t.Q6J("ngForOf",null==(g=t.lcZ(20,15,o.customerImageMigrate$))?null:g.Data),t.xp6(2),t.Q6J("length",null==(c=t.lcZ(22,17,o.customerImageMigrate$))?null:c.Count)("pageSize",o.pagination.RowCount)("pageIndex",0==o.pagination.PageNumber?0:o.pagination.PageNumber-1)}},dependencies:[l.ez,l.sg,l.O5,l.Ov,h.R,h.p,M.AV,d.TU,d.NW,C.p9,C.oG,u.u5,u.JJ,u.On,N.C8]}),s})()}}]);
@@ -1 +0,0 @@
1
- (()=>{"use strict";var e,h={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return h[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=h,e=[],r.O=(n,t,o,i)=>{if(!t){var a=1/0;for(f=0;f<e.length;f++){for(var[t,o,i]=e[f],l=!0,c=0;c<t.length;c++)(!1&i||a>=i)&&Object.keys(r.O).every(u=>r.O[u](t[c]))?t.splice(c--,1):(l=!1,i<a&&(a=i));if(l){e.splice(f--,1);var s=o();void 0!==s&&(n=s)}}return n}i=i||0;for(var f=e.length;f>0&&e[f-1][2]>i;f--)e[f]=e[f-1];e[f]=[t,o,i]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,o){if(1&o&&(t=this(t)),8&o||"object"==typeof t&&t&&(4&o&&t.__esModule||16&o&&"function"==typeof t.then))return t;var i=Object.create(null);r.r(i);var f={};n=n||[null,e({}),e([]),e(e)];for(var a=2&o&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>f[l]=()=>t[l]);return f.default=()=>t,r.d(i,f),i}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{91:"3a818f4398702422",135:"3a32938812752d7e",153:"6aebc35e9f911d50",214:"c1bba8fbdfd1cdde",528:"3979ba78023531d2",573:"e2ecd3020f30ae64",669:"e17f6802da17b7de",692:"21819262e72254c6",700:"190f0416e2792b5f",757:"e159c8e455d9935b",805:"f4276cdf84d0dc1b",967:"0b1f5043f46fc2a0",983:"8f38392b539466eb",998:"af9c07e59ae5bc0f"}[e]+".js",r.miniCssF=e=>{},r.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="web-tools:";r.l=(t,o,i,f)=>{if(e[t])e[t].push(o);else{var a,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var d=c[s];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==n+i){a=d;break}}a||(l=!0,(a=document.createElement("script")).type="module",a.charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",n+i),a.src=r.tu(t)),e[t]=[o];var b=(g,u)=>{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(y=>y(u)),g)return g(u)},p=setTimeout(b.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=b.bind(null,a.onerror),a.onload=b.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="https://cdn.jsdelivr.net/npm/dealpostools@2.5.4/tools/",(()=>{var e={666:0};r.f.j=(o,i)=>{var f=r.o(e,o)?e[o]:void 0;if(0!==f)if(f)i.push(f[2]);else if(666!=o){var a=new Promise((d,b)=>f=e[o]=[d,b]);i.push(f[2]=a);var l=r.p+r.u(o),c=new Error;r.l(l,d=>{if(r.o(e,o)&&(0!==(f=e[o])&&(e[o]=void 0),f)){var b=d&&("load"===d.type?"missing":d.type),p=d&&d.target&&d.target.src;c.message="Loading chunk "+o+" failed.\n("+b+": "+p+")",c.name="ChunkLoadError",c.type=b,c.request=p,f[1](c)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var n=(o,i)=>{var c,s,[f,a,l]=i,d=0;if(f.some(p=>0!==e[p])){for(c in a)r.o(a,c)&&(r.m[c]=a[c]);if(l)var b=l(r)}for(o&&o(i);d<f.length;d++)r.o(e,s=f[d])&&e[s]&&e[s][0](),e[s]=0;return r.O(b)},t=self.webpackChunkweb_tools=self.webpackChunkweb_tools||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})()})();