dealpostools 2.5.7 → 2.5.9

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),S=i(8745),I=i(8017);let f=(()=>{var a;class c{constructor(){this.domain=`https://${localStorage.getItem("Domain")}`,this.http=(0,t.f3M)(I.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),this.totalSelected.set(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,S.C8]}),c})()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[572],{4572:(B,u,r)=>{r.r(u),r.d(u,{ProductComponent:()=>O});var l=r(6814),t=r(5879),m=r(4387),M=r(2596),p=r(7081),P=r(5619),Z=r(7398),T=r(2181),v=r(6328),h=r(9887),_=r(5986),d=r(6223),y=r(2425),A=r(7700),I=r(3988),N=r(6493),f=r(8745),S=r(8017);let x=(()=>{var n;class s{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/ProductImage`,e)}migrate(e){return this.http.post(`${this.domain}/api/cloudflare/migrate/ProductImage`,{Images:e})}migrateAsync(e){const i={...e,Host:`${localStorage.getItem("Domain")}`};return this.http.post("/api/MigrateImage/ProductImage",i)}}return(n=s).\u0275fac=function(e){return new(e||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),s})();function $(n,s){if(1&n){const a=t.EpF();t.ynx(0),t.TgZ(1,"button",17),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 b(n,s){if(1&n){const a=t.EpF();t.TgZ(0,"button",18),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,s){if(1&n&&(t.ynx(0),t.YNc(1,$,3,0,"ng-container",15),t.YNc(2,b,2,0,"ng-template",null,16,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,s){if(1&n){const a=t.EpF();t.ynx(0),t.TgZ(1,"mat-checkbox",19),t.NdJ("change",function(o){const c=t.CHM(a).ngIf,g=t.oxw();return t.KtG(g.onSelectAll(o,c))}),t.qZA(),t.BQk()}}function F(n,s){1&n&&(t.ynx(0),t.TgZ(1,"th"),t._uU(2,"New URL"),t.qZA(),t.BQk())}function Q(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,"div",23)(2,"span",24),t._uU(3),t.qZA()(),t.BQk()),2&n){const a=t.oxw(2).$implicit;t.xp6(3),t.Oqu(a.Message)}}function L(n,s){if(1&n&&(t.TgZ(0,"a",21),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 R(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,"td"),t.YNc(2,Q,4,1,"ng-container",15),t.YNc(3,L,2,2,"ng-template",null,22,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 w(n,s){if(1&n){const a=t.EpF();t.ynx(0),t.TgZ(1,"tr")(2,"td")(3,"mat-checkbox",20),t.NdJ("ngModelChange",function(o){const c=t.CHM(a).$implicit;return t.KtG(c.selected=o)})("ngModelChange",function(){const i=t.CHM(a).ngForOf,c=t.oxw();return t.KtG(c.onSelect(i))}),t.qZA()(),t.TgZ(4,"td")(5,"a",21),t._uU(6),t.qZA()(),t.YNc(7,R,5,2,"ng-container",5),t.ALo(8,"async"),t.TgZ(9,"td"),t._uU(10),t.ALo(11,"date"),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,5,e.onMigrate$)),t.xp6(3),t.hij(" ",t.xi3(11,7,a.Date,"dd MMM yyyy")," ")}}let O=(()=>{var n;class s{constructor(){this.productMigrate=(0,t.f3M)(x),this.productMigrate$=this.productMigrate.getImageUrls$().pipe((0,p.d)(1)),this._onMigrate=new P.X(!1),this.onMigrate$=this._onMigrate.asObservable(),this.pagination={PageNumber:1,RowCount:100},this.toastr=(0,t.f3M)(y._W),this.dialog=(0,t.f3M)(A.uw),this.dateFilter={},this.totalSelected=(0,t.tdS)(0)}onMigrate(e){let o=e.Data.filter(c=>c.selected);if(0===o.length)return void this.toastr.error("Please select at least one image to migrate.","Error");const i=this.productMigrate.migrate(o).pipe((0,Z.U)(c=>(this._onMigrate.next(!0),this.totalSelected.set(0),e.Data=e.Data.map(g=>{g.selected=!1;const C=c.find(k=>k.Path===g.Path);return g.CloudflareURL=C?.URL,g.Message=C?.Message,g}),e)));this.productMigrate$=i.pipe((0,p.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(I.j,{data:{showDateFilter:!1}}).afterClosed().pipe((0,T.h)(e=>N.g.IsNotEmpty(e)),(0,v.b)(e=>this.productMigrate.migrateAsync({PageNumber:e.pageNumber,RowCount:e.rowCount}))).subscribe(e=>{this.toastr.warning(e.message,"Migrate In Progress",{toastClass:"ngx-toastr toast-waiting"}),this.productMigrate$=this.productMigrate.getImageUrls$().pipe((0,p.d)(1))})}onFilter(){this.productMigrate$=this.productMigrate.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.productMigrate$=this.productMigrate.getImageUrls$(this.pagination).pipe((0,p.d)(1))}}return(n=s).\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-product-image"]],standalone:!0,features:[t._Bn([x]),t.jDz],decls:31,vars:19,consts:[["Title","Migrate Product Image",3,"hideSearchBox","onSubmit"],[1,"d-flex"],["container",""],[1,"mb-2"],[3,"date","dateChange"],[4,"ngIf"],[1,"container-fluid"],[1,"row"],[1,"col-12"],[1,"table","mt-8"],[1,"thead-light"],[2,"width","5px"],[2,"width","120px"],[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,"filters")(2,"div",1)(3,"div",2)(4,"h6",3),t._uU(5,"From - To"),t.qZA(),t.TgZ(6,"app-datepicker-range",4),t.NdJ("dateChange",function(c){return o.dateFilter=c}),t.qZA()()()(),t.TgZ(7,"actions"),t.YNc(8,U,4,2,"ng-container",5),t.ALo(9,"async"),t.qZA(),t.TgZ(10,"content")(11,"div",6)(12,"div",7)(13,"div",8)(14,"table",9)(15,"thead",10)(16,"tr")(17,"th",11),t.YNc(18,J,2,0,"ng-container",5),t.ALo(19,"async"),t.qZA(),t.TgZ(20,"th"),t._uU(21,"Old URL"),t.qZA(),t.YNc(22,F,3,0,"ng-container",5),t.ALo(23,"async"),t.TgZ(24,"th",12),t._uU(25,"Created"),t.qZA()()(),t.TgZ(26,"tbody"),t.YNc(27,w,12,10,"ng-container",13),t.ALo(28,"async"),t.qZA()(),t.TgZ(29,"mat-paginator",14),t.NdJ("page",function(c){return o.onPagination(c)}),t.ALo(30,"async"),t.qZA()()()()()()),2&e){let i,c,g;t.Q6J("hideSearchBox",!0),t.xp6(6),t.Q6J("date",o.dateFilter),t.xp6(2),t.Q6J("ngIf",t.lcZ(9,9,o.productMigrate$)),t.xp6(10),t.Q6J("ngIf",null==(i=t.lcZ(19,11,o.productMigrate$))?null:i.Data),t.xp6(4),t.Q6J("ngIf",1==t.lcZ(23,13,o.onMigrate$)),t.xp6(5),t.Q6J("ngForOf",null==(c=t.lcZ(28,15,o.productMigrate$))?null:c.Data),t.xp6(2),t.Q6J("length",null==(g=t.lcZ(30,17,o.productMigrate$))?null:g.Count)("pageSize",o.pagination.RowCount)("pageIndex",0==o.pagination.PageNumber?0:o.pagination.PageNumber-1)}},dependencies:[l.ez,l.sg,l.O5,l.Ov,l.uU,m.R,m.p,M.AV,h.TU,h.NW,_.p9,_.oG,d.u5,d.JJ,d.On,f.C8,f.Pg]}),s})()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[669],{3669:(k,u,s)=>{s.r(u),s.d(u,{CustomerDisplayComponent:()=>P});var p=s(6814),t=s(5879),d=s(4387),y=s(2596),g=s(7081),x=s(5619),M=s(7398),D=s(2181),v=s(6328),h=s(9887),C=s(5986),m=s(6223),Z=s(2425),T=s(7700),A=s(3988),I=s(6493),S=s(8745),N=s(8017);let f=(()=>{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 i={...e,Host:`${localStorage.getItem("Domain")}`};return this.http.post("/api/MigrateImage/customerdisplay",i)}}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,i=t.oxw();return t.KtG(i.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 i=t.CHM(a).ngForOf,l=t.oxw();return t.KtG(l.onSelect(i))}),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)(f),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 i=this.customerDisplayMigrate.migrate(o).pipe((0,M.U)(l=>(this._onMigrate.next(!0),this.totalSelected.set(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$=i.pipe((0,g.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,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([f]),t.jDz],decls:23,vars:19,consts:[["Title","Migrate Customer Display 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,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 i,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==(i=t.lcZ(13,11,o.customerDisplayMigrate$))?null:i.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,C.p9,C.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:(N,d,r)=>{r.r(d),r.d(d,{MigrateComponent:()=>b});var g=r(6814),e=r(5879),h=r(4387),T=r(9887),v=r(7398),M=r(8017),A=r(6493);let y=(()=>{var a;class l{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=l).\u0275fac=function(t){return new(t||a)(e.LFG(g.uU))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),l})();var u=r(7081),f=r(4807),m=r(6223),C=r(1379);function S(a,l){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,l){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 P(a,l){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=l.$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 b=(()=>{var a;class l{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","Product"],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=l).\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,P,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}),l})()}}]);
@@ -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),S=i(5619),C=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 S.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,C.U)(l=>(this._onMigrate.next(!0),this.totalSelected.set(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 Supplier 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([[983],{3988:(I,y,d)=>{d.d(y,{j:()=>T});var e=d(6814),t=d(5879),i=d(6223),u=d(7700),C=d(3618),g=d(8745),F=d(4843),f=d(7238),v=d(4518);function M(k,x){if(1&k){const s=t.EpF();t.ynx(0),t.TgZ(1,"div")(2,"h6"),t._uU(3,"From - To"),t.qZA(),t.TgZ(4,"app-datepicker-range",6),t.NdJ("dateChange",function(r){t.CHM(s);const _=t.oxw();return t.KtG(_.date=r)}),t.qZA()(),t.BQk()}if(2&k){const s=t.oxw();t.xp6(4),t.Q6J("date",s.date)("from",null==s.date?null:s.date.from)("to",null==s.date?null:s.date.to)}}let T=(()=>{var k;class x{constructor(h={date:{from:null,to:null},showDateFilter:!0}){this.data=h,this.dialogRef=(0,t.f3M)(u.so),this.date={from:null,to:null},this.pageNumber=1,this.rowCount=100,this.showDateFilter=(0,t.tdS)(!0),this.date=h.date,this.showDateFilter.set(null==h.showDateFilter||h.showDateFilter),this.modalConfig=new F.O,this.modalConfig.title="Migrate Async",this.modalConfig.customWidth="350px"}onOk(){this.dialogRef.close({...this.date,pageNumber:this.pageNumber,rowCount:this.rowCount})}onClose(){this.dialogRef.close()}}return(k=x).\u0275fac=function(h){return new(h||k)(t.Y36(u.WI))},k.\u0275cmp=t.Xpm({type:k,selectors:[["app-modal-async-migrate"]],standalone:!0,features:[t.jDz],decls:13,vars:4,consts:[[3,"config","onOk","onCancel","onClose"],[1,"container"],[4,"ngIf"],[1,"row"],[1,"col-6"],["type","text","autoNum","",1,"form-control",3,"ngModel","ngModelChange"],[1,"datepicker-range-migrate",3,"date","from","to","dateChange"]],template:function(h,r){1&h&&(t.TgZ(0,"modal-material",0),t.NdJ("onOk",function(){return r.onOk()})("onCancel",function(){return r.onClose()})("onClose",function(){return r.onClose()}),t.TgZ(1,"content")(2,"div",1),t.YNc(3,M,5,3,"ng-container",2),t.TgZ(4,"div",3)(5,"div",4)(6,"h6"),t._uU(7,"Page Number"),t.qZA(),t.TgZ(8,"input",5),t.NdJ("ngModelChange",function(p){return r.pageNumber=p}),t.qZA()(),t.TgZ(9,"div",4)(10,"h6"),t._uU(11,"Row Count"),t.qZA(),t.TgZ(12,"input",5),t.NdJ("ngModelChange",function(p){return r.rowCount=p}),t.qZA()()()()()()),2&h&&(t.Q6J("config",r.modalConfig),t.xp6(3),t.Q6J("ngIf",r.showDateFilter()),t.xp6(5),t.Q6J("ngModel",r.pageNumber),t.xp6(4),t.Q6J("ngModel",r.rowCount))},dependencies:[e.ez,e.O5,g.C8,g.Pg,f.d,f.M,i.u5,i.Fj,i.JJ,i.On,C.X,v.b],styles:["app-datepicker-range.datepicker-range-migrate input{border:0px!important;padding:0!important}\n"],encapsulation:2}),x})()},5986:(I,y,d)=>{d.d(y,{oG:()=>r,p9:()=>O});var e=d(5879),t=d(6223),i=d(3680),u=d(2495);const C=["input"],g=["label"],F=["*"],f=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:v});function v(){return{color:"accent",clickAction:"check-indeterminate"}}const M={provide:t.JU,useExisting:(0,e.Gpc)(()=>r),multi:!0};class T{}let k=0;const x=v(),s=(0,i.sb)((0,i.pj)((0,i.Kr)((0,i.Id)(class{constructor(a){this._elementRef=a}}))));let h=(()=>{var a;class m extends s{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(o){this._required=(0,u.Ig)(o)}constructor(o,c,n,b,A,E,w){super(c),this._changeDetectorRef=n,this._ngZone=b,this._animationMode=E,this._options=w,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.vpe,this.indeterminateChange=new e.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||x,this.color=this.defaultColor=this._options.color||x.color,this.tabIndex=parseInt(A)||0,this.id=this._uniqueId=`${o}${++k}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(o){const c=(0,u.Ig)(o);c!=this.checked&&(this._checked=c,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(o){const c=(0,u.Ig)(o);c!==this.disabled&&(this._disabled=c,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(o){const c=o!=this._indeterminate;this._indeterminate=(0,u.Ig)(o),c&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(o){this.checked=!!o}registerOnChange(o){this._controlValueAccessorChangeFn=o}registerOnTouched(o){this._onTouched=o}setDisabledState(o){this.disabled=o}_transitionCheckState(o){let c=this._currentCheckState,n=this._getAnimationTargetElement();if(c!==o&&n&&(this._currentAnimationClass&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(c,o),this._currentCheckState=o,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const b=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(b)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const o=this._options?.clickAction;this.disabled||"noop"===o?!this.disabled&&"noop"===o&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==o&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(o){o.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(o,c){if("NoopAnimations"===this._animationMode)return"";switch(o){case 0:if(1===c)return this._animationClasses.uncheckedToChecked;if(3==c)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===c?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===c?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===c?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(o){const c=this._inputElement;c&&(c.nativeElement.indeterminate=o)}}return(a=m).\u0275fac=function(o){e.$Z()},a.\u0275dir=e.lG2({type:a,viewQuery:function(o,c){if(1&o&&(e.Gf(C,5),e.Gf(g,5),e.Gf(i.wG,5)),2&o){let n;e.iGM(n=e.CRH())&&(c._inputElement=n.first),e.iGM(n=e.CRH())&&(c._labelElement=n.first),e.iGM(n=e.CRH())&&(c.ripple=n.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[e.qOj]}),m})(),r=(()=>{var a;class m extends h{constructor(o,c,n,b,A,E){super("mat-mdc-checkbox-",o,c,n,b,A,E),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(o){const c=new T;return c.source=this,c.checked=o,c}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(o){o.target&&this._labelElement.nativeElement.contains(o.target)&&o.stopPropagation()}}return(a=m).\u0275fac=function(o){return new(o||a)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(f,8))},a.\u0275cmp=e.Xpm({type:a,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(o,c){2&o&&(e.Ikx("id",c.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.ekj("_mat-animation-noopable","NoopAnimations"===c._animationMode)("mdc-checkbox--disabled",c.disabled)("mat-mdc-checkbox-disabled",c.disabled)("mat-mdc-checkbox-checked",c.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[e._Bn([M]),e.qOj],ngContentSelectors:F,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(o,c){if(1&o&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("click",function(b){return c._preventBubblingFromLabel(b)}),e.TgZ(1,"div",1,2)(3,"div",3),e.NdJ("click",function(){return c._onTouchTargetClick()}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("blur",function(){return c._onBlur()})("click",function(){return c._onInputClick()})("change",function(b){return c._onInteractionEvent(b)}),e.qZA(),e._UZ(6,"div",6),e.TgZ(7,"div",7),e.O4$(),e.TgZ(8,"svg",8),e._UZ(9,"path",9),e.qZA(),e.kcU(),e._UZ(10,"div",10),e.qZA(),e._UZ(11,"div",11),e.qZA(),e.TgZ(12,"label",12,13),e.Hsn(14),e.qZA()()),2&o){const n=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==c.labelPosition),e.xp6(4),e.ekj("mdc-checkbox--selected",c.checked),e.Q6J("checked",c.checked)("indeterminate",c.indeterminate)("disabled",c.disabled)("id",c.inputId)("required",c.required)("tabIndex",c.tabIndex),e.uIk("aria-label",c.ariaLabel||null)("aria-labelledby",c.ariaLabelledby)("aria-describedby",c.ariaDescribedby)("name",c.name)("value",c.value),e.xp6(7),e.Q6J("matRippleTrigger",n)("matRippleDisabled",c.disableRipple||c.disabled)("matRippleCentered",!0),e.xp6(1),e.Q6J("for",c.inputId)}},dependencies:[i.wG],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),m})(),D=(()=>{var a;class m{}return(a=m).\u0275fac=function(o){return new(o||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({}),m})(),O=(()=>{var a;class m{}return(a=m).\u0275fac=function(o){return new(o||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[i.BQ,i.si,D,i.BQ,D]}),m})()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[998],{3998:(S,_,c)=>{c.r(_),c.d(_,{CustomerMigrateComponent:()=>Q});var s=c(6814),p=c(4387),f=c(2596),u=c(9887),C=c(5986),m=c(6223),x=c(8745),M=c(5915),n=c(5879);let d=(()=>{var t;class r extends M.k{constructor(){super("CustomerImage")}}return(t=r).\u0275fac=function(o){return new(o||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),r})();var h=c(1932);function Z(t,r){if(1&t){const e=n.EpF();n.ynx(0),n.TgZ(1,"button",12),n.NdJ("click",function(){n.CHM(e);const a=n.oxw().ngIf,i=n.oxw();return n.KtG(i.onMigrate(a))}),n._uU(2," Migrate "),n.qZA(),n.BQk()}}function T(t,r){if(1&t){const e=n.EpF();n.TgZ(0,"button",13),n.NdJ("click",function(){n.CHM(e);const a=n.oxw(2);return n.KtG(a.onMigrateAsync())}),n._uU(1," Migrate Async "),n.qZA()}}function A(t,r){if(1&t&&(n.ynx(0),n.YNc(1,Z,3,0,"ng-container",10),n.YNc(2,T,2,0,"ng-template",null,11,n.W1O),n.BQk()),2&t){const e=n.MAs(3),o=n.oxw();n.xp6(1),n.Q6J("ngIf",o.totalSelected()>0)("ngIfElse",e)}}function v(t,r){if(1&t){const e=n.EpF();n.ynx(0),n.TgZ(1,"mat-checkbox",14),n.NdJ("change",function(a){const g=n.CHM(e).ngIf,l=n.oxw();return n.KtG(l.onSelectAll(a,g))}),n.qZA(),n.BQk()}}function y(t,r){1&t&&(n.ynx(0),n.TgZ(1,"th"),n._uU(2,"New URL"),n.qZA(),n.BQk())}function b(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"div",18)(2,"span",19),n._uU(3),n.qZA()(),n.BQk()),2&t){const e=n.oxw(2).$implicit;n.xp6(3),n.Oqu(e.Message)}}function I(t,r){if(1&t&&(n.TgZ(0,"a",16),n._uU(1),n.qZA()),2&t){const e=n.oxw(2).$implicit;n.Q6J("href",e.CloudflareURL,n.LSH),n.xp6(1),n.hij(" ",e.CloudflareURL," ")}}function J(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"td"),n.YNc(2,b,4,1,"ng-container",10),n.YNc(3,I,2,2,"ng-template",null,17,n.W1O),n.qZA(),n.BQk()),2&t){const e=n.MAs(4),o=n.oxw().$implicit;n.xp6(2),n.Q6J("ngIf",o.Message)("ngIfElse",e)}}function N(t,r){if(1&t){const e=n.EpF();n.ynx(0),n.TgZ(1,"tr")(2,"td")(3,"mat-checkbox",15),n.NdJ("ngModelChange",function(a){const g=n.CHM(e).$implicit;return n.KtG(g.selected=a)})("ngModelChange",function(){const i=n.CHM(e).ngForOf,g=n.oxw();return n.KtG(g.onSelect(i))}),n.qZA()(),n.TgZ(4,"td")(5,"a",16),n._uU(6),n.qZA()(),n.YNc(7,J,5,2,"ng-container",1),n.ALo(8,"async"),n.qZA(),n.BQk()}if(2&t){const e=r.$implicit,o=n.oxw();n.xp6(3),n.Q6J("ngModel",e.selected),n.xp6(2),n.Q6J("href",e.URL,n.LSH),n.xp6(1),n.hij(" ",e.URL," "),n.xp6(1),n.Q6J("ngIf",1==n.lcZ(8,4,o.onMigrate$))}}let Q=(()=>{var t;class r extends h.X{constructor(o){super(o),this.customerImageService=o}}return(t=r).\u0275fac=function(o){return new(o||t)(n.Y36(d))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-customer-image"]],standalone:!0,features:[n._Bn([d]),n.qOj,n.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(o,a){if(1&o&&(n.TgZ(0,"mainpanel",0),n.NdJ("onSubmit",function(){return a.onFilter()}),n.TgZ(1,"actions"),n.YNc(2,A,4,2,"ng-container",1),n.ALo(3,"async"),n.qZA(),n.TgZ(4,"content")(5,"div",2)(6,"div",3)(7,"div",4)(8,"table",5)(9,"thead",6)(10,"tr")(11,"th",7),n.YNc(12,v,2,0,"ng-container",1),n.ALo(13,"async"),n.qZA(),n.TgZ(14,"th"),n._uU(15,"Old URL"),n.qZA(),n.YNc(16,y,3,0,"ng-container",1),n.ALo(17,"async"),n.qZA()(),n.TgZ(18,"tbody"),n.YNc(19,N,9,6,"ng-container",8),n.ALo(20,"async"),n.qZA()(),n.TgZ(21,"mat-paginator",9),n.NdJ("page",function(g){return a.onPagination(g)}),n.ALo(22,"async"),n.qZA()()()()()()),2&o){let i,g,l;n.Q6J("hideSearchBox",!0)("hideSearchDropdown",!0),n.xp6(2),n.Q6J("ngIf",n.lcZ(3,9,a.imageMigrate$)),n.xp6(10),n.Q6J("ngIf",null==(i=n.lcZ(13,11,a.imageMigrate$))?null:i.Data),n.xp6(4),n.Q6J("ngIf",1==n.lcZ(17,13,a.onMigrate$)),n.xp6(3),n.Q6J("ngForOf",null==(g=n.lcZ(20,15,a.imageMigrate$))?null:g.Data),n.xp6(2),n.Q6J("length",null==(l=n.lcZ(22,17,a.imageMigrate$))?null:l.Count)("pageSize",a.pagination.RowCount)("pageIndex",0==a.pagination.PageNumber?0:a.pagination.PageNumber-1)}},dependencies:[s.ez,s.sg,s.O5,s.Ov,p.R,p.p,f.AV,u.TU,u.NW,C.p9,C.oG,m.u5,m.JJ,m.On,x.C8]}),r})()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[592],{1932:(E,h,e)=>{e.d(h,{X:()=>u});var o=e(2425),_=e(7700),n=e(5879),i=e(7081),l=e(5619),m=e(7398),s=e(2181),c=e(6328),d=e(6493),P=e(3988);class u{constructor(t,a=!1){this.migrateService=t,this.showDateFilter=a,this.imageMigrate$=this.migrateService.getImageUrls$().pipe((0,i.d)(1)),this._onMigrate=new l.X(!1),this.onMigrate$=this._onMigrate.asObservable(),this.pagination={PageNumber:1,RowCount:100},this.toastr=(0,n.f3M)(o._W),this.dialog=(0,n.f3M)(_.uw),this.dateFilter={},this.totalSelected=(0,n.tdS)(0)}onMigrate(t){let a=t.Data.filter(p=>p.selected);if(0===a.length)return void this.toastr.error("Please select at least one image to migrate.","Error");const r=this.migrateService.migrate(a).pipe((0,m.U)(p=>(this._onMigrate.next(!0),t.Data=t.Data.map(g=>{g.selected=!1;const M=p.find(D=>D.Path===g.Path);return g.CloudflareURL=M?.URL,g.Message=M?.Message,g}),this.totalSelected.set(0),t)));this.imageMigrate$=r.pipe((0,i.d)(1))}onSelectAll(t,a){a=a.map(r=>(r.selected=t.checked,r)),this.totalSelected.set(a.filter(r=>r.selected)?.length)}onSelect(t){this.totalSelected.set(t.filter(a=>a.selected)?.length)}onMigrateAsync(){this.dialog.open(P.j,{data:{showDateFilter:this.showDateFilter,date:this.dateFilter}}).afterClosed().pipe((0,s.h)(t=>d.g.IsNotEmpty(t)),(0,c.b)(t=>this.migrateService.migrateAsync({PageNumber:t.pageNumber,RowCount:t.rowCount}))).subscribe(t=>{this.toastr.warning(t.message,"Migrate In Progress",{toastClass:"ngx-toastr toast-waiting"}),this.imageMigrate$=this.migrateService.getImageUrls$().pipe((0,i.d)(1))})}onFilter(){this.imageMigrate$=this.migrateService.getImageUrls$({PageNumber:this.pagination.PageNumber,RowCount:this.pagination.RowCount,From:this.dateFilter.from,To:this.dateFilter.to}).pipe((0,i.d)(1))}onPagination(t){this.pagination.PageNumber=t.pageIndex+1,this.pagination.RowCount=t.pageSize,this.imageMigrate$=this.migrateService.getImageUrls$(this.pagination).pipe((0,i.d)(1))}}},5915:(E,h,e)=>{e.d(h,{k:()=>n});var o=e(5879),_=e(8017);let n=(()=>{var i;class l{constructor(s){this.domain=`https://${localStorage.getItem("Domain")}`,this.http=(0,o.f3M)(_.O),this.migrateApi=s}getImageUrls$(s={PageNumber:1,RowCount:100}){return this.http.post(`${this.domain}/api/image/${this.migrateApi}`,s)}migrate(s){return this.http.post(`${this.domain}/api/cloudflare/migrate/${this.migrateApi}`,{Images:s})}migrateAsync(s){const d={...s,Host:`${localStorage.getItem("Domain")}`};return this.http.post(`/api/MigrateImage/${this.migrateApi}`,d)}}return(i=l).\u0275fac=function(s){o.$Z()},i.\u0275prov=o.Yz7({token:i,factory:i.\u0275fac}),l})()}}]);