dealpostools 2.4.3 → 2.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tools/135.48f768d1d860846f.js +1 -0
- package/tools/153.84e9706be188c8e2.js +1 -0
- package/tools/214.93b627922d2b07e3.js +1 -0
- package/tools/3rdpartylicenses.txt +3 -0
- package/tools/700.262ab2aa4f84cbfa.js +1 -0
- package/tools/757.e159c8e455d9935b.js +1 -0
- package/tools/805.f2c6cff9c5a8602e.js +1 -0
- package/tools/983.e172d942ebf0b56a.js +1 -0
- package/tools/assets/ngx-toastr.scss +9 -0
- package/tools/index.html +2 -2
- package/tools/main.a556c0877cfda4ea.js +1 -0
- package/tools/runtime.6be2e2ba7a760ea1.js +1 -0
- package/tools/{styles.c00c3881b04dba97.css → styles.865286566afc456a.css} +1 -1
- package/tools/77.3d1dfae3bfc1bcb5.js +0 -1
- package/tools/792.a53619065163df5d.js +0 -1
- package/tools/805.78b7e58b2d1d2d61.js +0 -1
- package/tools/main.6bbd656239ee0ed2.js +0 -1
- package/tools/runtime.a3451237ace4c506.js +0 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"dealpostools","version":"2.4.
|
|
1
|
+
{"name":"dealpostools","version":"2.4.4"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[135],{1135:(O,d,i)=>{i.r(d),i.d(d,{PaymentBillComponent:()=>R});var c=i(6814),t=i(5879),h=i(4387),x=i(2596),u=i(9887),y=i(5986),p=i(6223),_=i(8017);let f=(()=>{var e;class s{constructor(){this.domain=`https://${localStorage.getItem("Domain")}`,this.http=(0,t.f3M)(_.O)}getImageUrls$(n={PageNumber:1,RowCount:100}){return this.http.post(`${this.domain}/api/image/SupplierInvoicePaymentImage`,n)}migrate(n){return this.http.post(`${this.domain}/api/cloudflare/migrate/SupplierInvoicePaymentImage`,{Images:n})}migrateAsync(n){const l={...n,Host:`${localStorage.getItem("Domain")}`};return this.http.post("/api/MigrateImage/SupplierInvoicePaymentImage",l)}}return(e=s).\u0275fac=function(n){return new(n||e)},e.\u0275prov=t.Yz7({token:e,factory:e.\u0275fac}),s})();var m=i(7081),Z=i(5619),v=i(7398),b=i(2181),T=i(6328),A=i(2425),P=i(7700),I=i(6493),M=i(8745),B=i(583),$=i(3988);function N(e,s){if(1&e){const o=t.EpF();t.ynx(0),t.TgZ(1,"button",15),t.NdJ("click",function(){t.CHM(o);const a=t.oxw();return t.KtG(a.onMigrateAsync())}),t._uU(2," Migrate Async "),t.qZA(),t.TgZ(3,"button",16),t.NdJ("click",function(){const l=t.CHM(o).ngIf,r=t.oxw();return t.KtG(r.onMigrate(l))}),t._uU(4," Migrate "),t.qZA(),t.BQk()}}function U(e,s){if(1&e){const o=t.EpF();t.ynx(0),t.TgZ(1,"mat-checkbox",17),t.NdJ("change",function(a){const r=t.CHM(o).ngIf,g=t.oxw();return t.KtG(g.onSelectAll(a,r))}),t.qZA(),t.BQk()}}function S(e,s){1&e&&(t.ynx(0),t.TgZ(1,"th"),t._uU(2,"New URL"),t.qZA(),t.BQk())}function J(e,s){if(1&e&&(t.ynx(0),t.TgZ(1,"div",22)(2,"span",23),t._uU(3),t.qZA()(),t.BQk()),2&e){const o=t.oxw(2).$implicit;t.xp6(3),t.Oqu(o.Message)}}function F(e,s){if(1&e&&(t.TgZ(0,"a",19),t._uU(1),t.qZA()),2&e){const o=t.oxw(2).$implicit;t.Q6J("href",o.CloudflareURL,t.LSH),t.xp6(1),t.hij(" ",o.CloudflareURL," ")}}function L(e,s){if(1&e&&(t.ynx(0),t.TgZ(1,"td"),t.YNc(2,J,4,1,"ng-container",20),t.YNc(3,F,2,2,"ng-template",null,21,t.W1O),t.qZA(),t.BQk()),2&e){const o=t.MAs(4),n=t.oxw().$implicit;t.xp6(2),t.Q6J("ngIf",n.Message)("ngIfElse",o)}}function Q(e,s){if(1&e){const o=t.EpF();t.ynx(0),t.TgZ(1,"tr")(2,"td")(3,"mat-checkbox",18),t.NdJ("ngModelChange",function(a){const r=t.CHM(o).$implicit;return t.KtG(r.selected=a)}),t.qZA()(),t.TgZ(4,"td")(5,"a",19),t._uU(6),t.qZA()(),t.YNc(7,L,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&e){const o=s.$implicit,n=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,5,n.onMigrate$)),t.xp6(3),t.hij(" ",t.xi3(11,7,o.Date,"dd MMM yyyy")," ")}}let R=(()=>{var e;class s{constructor(){this.billPaymentMigrate=(0,t.f3M)(f),this.billPaymentMigrate$=this.billPaymentMigrate.getImageUrls$().pipe((0,m.d)(1)),this._onMigrate=new Z.X(!1),this.onMigrate$=this._onMigrate.asObservable(),this.pagination={PageNumber:1,RowCount:100},this.toastr=(0,t.f3M)(A._W),this.dialog=(0,t.f3M)(P.uw),this.dateFilter={}}onMigrate(n){let a=n.Data.filter(r=>r.selected);if(0===a.length)return void this.toastr.error("Please select at least one image to migrate.","Error");const l=this.billPaymentMigrate.migrate(a).pipe((0,v.U)(r=>(this._onMigrate.next(!0),n.Data=n.Data.map(g=>{g.selected=!1;const C=r.find(w=>w.Path===g.Path);return g.CloudflareURL=C?.URL,g.Message=C?.Message,g}),n)));this.billPaymentMigrate$=l.pipe((0,m.d)(1))}onFilter(){this.billPaymentMigrate$=this.billPaymentMigrate.getImageUrls$({PageNumber:this.pagination.PageNumber,RowCount:this.pagination.RowCount,From:this.dateFilter.from,To:this.dateFilter.to}).pipe((0,m.d)(1))}onSelectAll(n,a){a=a.map(l=>(l.selected=n.checked,l))}onMigrateAsync(){this.dialog.open($.j,{data:this.dateFilter}).afterClosed().pipe((0,b.h)(n=>I.g.IsNotEmpty(n)),(0,T.b)(n=>this.billPaymentMigrate.migrateAsync({PageNumber:n.pageNumber,RowCount:n.rowCount,From:n.from,To:n.to}))).subscribe(n=>{this.toastr.warning(n.message,"Migrate In Progress",{toastClass:"ngx-toastr toast-waiting"}),this.billPaymentMigrate$=this.billPaymentMigrate.getImageUrls$().pipe((0,m.d)(1))})}onPagination(n){this.pagination.PageNumber=n.pageIndex+1,this.pagination.RowCount=n.pageSize,this.billPaymentMigrate$=this.billPaymentMigrate.getImageUrls$(this.pagination).pipe((0,m.d)(1))}}return(e=s).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-payment-bill"]],standalone:!0,features:[t._Bn([f]),t.jDz],decls:31,vars:19,consts:[["Title","Migrate Bill Payment",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"],["type","button",1,"btn","btn-success","shadow","rounded","me-3",3,"click"],["type","button",1,"btn","btn-success","shadow","rounded",3,"click"],["color","primary",3,"change"],["color","primary",3,"ngModel","ngModelChange"],["target","_blank",1,"text-break",3,"href"],[4,"ngIf","ngIfElse"],["SHOW_URL",""],[1,"text-break"],[1,"text-danger"]],template:function(n,a){if(1&n&&(t.TgZ(0,"mainpanel",0),t.NdJ("onSubmit",function(){return a.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(r){return a.dateFilter=r}),t.qZA()()()(),t.TgZ(7,"actions"),t.YNc(8,N,5,0,"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,U,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,S,3,0,"ng-container",5),t.ALo(23,"async"),t.TgZ(24,"th",12),t._uU(25,"Payment Date"),t.qZA()()(),t.TgZ(26,"tbody"),t.YNc(27,Q,12,10,"ng-container",13),t.ALo(28,"async"),t.qZA()(),t.TgZ(29,"mat-paginator",14),t.NdJ("page",function(r){return a.onPagination(r)}),t.ALo(30,"async"),t.qZA()()()()()()),2&n){let l,r,g;t.Q6J("hideSearchBox",!0),t.xp6(6),t.Q6J("date",a.dateFilter),t.xp6(2),t.Q6J("ngIf",t.lcZ(9,9,a.billPaymentMigrate$)),t.xp6(10),t.Q6J("ngIf",null==(l=t.lcZ(19,11,a.billPaymentMigrate$))?null:l.Data),t.xp6(4),t.Q6J("ngIf",1==t.lcZ(23,13,a.onMigrate$)),t.xp6(5),t.Q6J("ngForOf",null==(r=t.lcZ(28,15,a.billPaymentMigrate$))?null:r.Data),t.xp6(2),t.Q6J("length",null==(g=t.lcZ(30,17,a.billPaymentMigrate$))?null:g.Count)("pageSize",a.pagination.RowCount)("pageIndex",0==a.pagination.PageNumber?0:a.pagination.PageNumber-1)}},dependencies:[c.ez,c.sg,c.O5,c.Ov,c.uU,h.R,h.p,x.AV,u.TU,u.NW,y.p9,y.oG,p.u5,p.JJ,p.On,P.Is,M.C8,M.Pg,B.ZU]}),s})()}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[153],{8656:(O,d,i)=>{i.r(d),i.d(d,{InvoicePaymentComponent:()=>R});var m=i(6814),t=i(5879),h=i(4387),I=i(2596),_=i(8017);let u=(()=>{var e;class s{constructor(){this.domain=`https://${localStorage.getItem("Domain")}`,this.http=(0,t.f3M)(_.O)}getImageUrls$(n={PageNumber:1,RowCount:100}){return this.http.post(`${this.domain}/api/image/InvoicePaymentImage`,n)}migrate(n){return this.http.post(`${this.domain}/api/cloudflare/migrate/InvoicePaymentImage`,{Images:n})}migrateAsync(n){const r={...n,Host:`${localStorage.getItem("Domain")}`};return this.http.post("/api/MigrateImage/InvoicePaymentImage",r)}}return(e=s).\u0275fac=function(n){return new(n||e)},e.\u0275prov=t.Yz7({token:e,factory:e.\u0275fac}),s})();var l=i(7081),M=i(5619),C=i(7398),x=i(2181),Z=i(6328),v=i(9887),y=i(5986),p=i(6223),T=i(2425),A=i(7700),$=i(3988),N=i(6493),f=i(8745);function b(e,s){if(1&e){const o=t.EpF();t.ynx(0),t.TgZ(1,"button",15),t.NdJ("click",function(){t.CHM(o);const a=t.oxw();return t.KtG(a.onMigrateAsync())}),t._uU(2," Migrate Async "),t.qZA(),t.TgZ(3,"button",16),t.NdJ("click",function(){const r=t.CHM(o).ngIf,c=t.oxw();return t.KtG(c.onMigrate(r))}),t._uU(4," Migrate "),t.qZA(),t.BQk()}}function U(e,s){if(1&e){const o=t.EpF();t.ynx(0),t.TgZ(1,"mat-checkbox",17),t.NdJ("change",function(a){const c=t.CHM(o).ngIf,g=t.oxw();return t.KtG(g.onSelectAll(a,c))}),t.qZA(),t.BQk()}}function J(e,s){1&e&&(t.ynx(0),t.TgZ(1,"th"),t._uU(2,"New URL"),t.qZA(),t.BQk())}function F(e,s){if(1&e&&(t.ynx(0),t.TgZ(1,"div",22)(2,"span",23),t._uU(3),t.qZA()(),t.BQk()),2&e){const o=t.oxw(2).$implicit;t.xp6(3),t.Oqu(o.Message)}}function S(e,s){if(1&e&&(t.TgZ(0,"a",19),t._uU(1),t.qZA()),2&e){const o=t.oxw(2).$implicit;t.Q6J("href",o.CloudflareURL,t.LSH),t.xp6(1),t.hij(" ",o.CloudflareURL," ")}}function L(e,s){if(1&e&&(t.ynx(0),t.TgZ(1,"td"),t.YNc(2,F,4,1,"ng-container",20),t.YNc(3,S,2,2,"ng-template",null,21,t.W1O),t.qZA(),t.BQk()),2&e){const o=t.MAs(4),n=t.oxw().$implicit;t.xp6(2),t.Q6J("ngIf",n.Message)("ngIfElse",o)}}function Q(e,s){if(1&e){const o=t.EpF();t.ynx(0),t.TgZ(1,"tr")(2,"td")(3,"mat-checkbox",18),t.NdJ("ngModelChange",function(a){const c=t.CHM(o).$implicit;return t.KtG(c.selected=a)}),t.qZA()(),t.TgZ(4,"td")(5,"a",19),t._uU(6),t.qZA()(),t.YNc(7,L,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&e){const o=s.$implicit,n=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,5,n.onMigrate$)),t.xp6(3),t.hij(" ",t.xi3(11,7,o.Date,"dd MMM yyyy")," ")}}let R=(()=>{var e;class s{constructor(){this.invoicePaymentMigrate=(0,t.f3M)(u),this.invoicePaymentMigrate$=this.invoicePaymentMigrate.getImageUrls$().pipe((0,l.d)(1)),this._onMigrate=new M.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)(A.uw),this.dateFilter={}}onMigrate(n){let a=n.Data.filter(c=>c.selected);if(0===a.length)return void this.toastr.error("Please select at least one image to migrate.","Error");const r=this.invoicePaymentMigrate.migrate(a).pipe((0,C.U)(c=>(this._onMigrate.next(!0),n.Data=n.Data.map(g=>{g.selected=!1;const P=c.find(w=>w.Path===g.Path);return g.CloudflareURL=P?.URL,g.Message=P?.Message,g}),n)));this.invoicePaymentMigrate$=r.pipe((0,l.d)(1))}onSelectAll(n,a){a=a.map(r=>(r.selected=n.checked,r))}onMigrateAsync(){this.dialog.open($.j,{data:this.dateFilter}).afterClosed().pipe((0,x.h)(n=>N.g.IsNotEmpty(n)),(0,Z.b)(n=>this.invoicePaymentMigrate.migrateAsync({PageNumber:n.pageNumber,RowCount:n.rowCount,From:n.from,To:n.to}))).subscribe(n=>{this.toastr.warning(n.message,"Migrate In Progress",{toastClass:"ngx-toastr toast-waiting"}),this.invoicePaymentMigrate$=this.invoicePaymentMigrate.getImageUrls$().pipe((0,l.d)(1))})}onFilter(){this.invoicePaymentMigrate$=this.invoicePaymentMigrate.getImageUrls$({PageNumber:this.pagination.PageNumber,RowCount:this.pagination.RowCount,From:this.dateFilter.from,To:this.dateFilter.to}).pipe((0,l.d)(1))}onPagination(n){this.pagination.PageNumber=n.pageIndex+1,this.pagination.RowCount=n.pageSize,this.invoicePaymentMigrate$=this.invoicePaymentMigrate.getImageUrls$(this.pagination).pipe((0,l.d)(1))}}return(e=s).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-invoice-payment"]],standalone:!0,features:[t._Bn([u]),t.jDz],decls:31,vars:19,consts:[["Title","Migrate Invoice Payment",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"],["type","button",1,"btn","btn-success","shadow","rounded","me-3",3,"click"],["type","button",1,"btn","btn-success","shadow","rounded",3,"click"],["color","primary",3,"change"],["color","primary",3,"ngModel","ngModelChange"],["target","_blank",1,"text-break",3,"href"],[4,"ngIf","ngIfElse"],["SHOW_URL",""],[1,"text-break"],[1,"text-danger"]],template:function(n,a){if(1&n&&(t.TgZ(0,"mainpanel",0),t.NdJ("onSubmit",function(){return a.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 a.dateFilter=c}),t.qZA()()()(),t.TgZ(7,"actions"),t.YNc(8,b,5,0,"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,U,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,J,3,0,"ng-container",5),t.ALo(23,"async"),t.TgZ(24,"th",12),t._uU(25,"Payment Date"),t.qZA()()(),t.TgZ(26,"tbody"),t.YNc(27,Q,12,10,"ng-container",13),t.ALo(28,"async"),t.qZA()(),t.TgZ(29,"mat-paginator",14),t.NdJ("page",function(c){return a.onPagination(c)}),t.ALo(30,"async"),t.qZA()()()()()()),2&n){let r,c,g;t.Q6J("hideSearchBox",!0),t.xp6(6),t.Q6J("date",a.dateFilter),t.xp6(2),t.Q6J("ngIf",t.lcZ(9,9,a.invoicePaymentMigrate$)),t.xp6(10),t.Q6J("ngIf",null==(r=t.lcZ(19,11,a.invoicePaymentMigrate$))?null:r.Data),t.xp6(4),t.Q6J("ngIf",1==t.lcZ(23,13,a.onMigrate$)),t.xp6(5),t.Q6J("ngForOf",null==(c=t.lcZ(28,15,a.invoicePaymentMigrate$))?null:c.Data),t.xp6(2),t.Q6J("length",null==(g=t.lcZ(30,17,a.invoicePaymentMigrate$))?null:g.Count)("pageSize",a.pagination.RowCount)("pageIndex",0==a.pagination.PageNumber?0:a.pagination.PageNumber-1)}},dependencies:[m.ez,m.sg,m.O5,m.Ov,m.uU,h.R,h.p,I.AV,v.TU,v.NW,y.p9,y.oG,p.u5,p.JJ,p.On,f.C8,f.Pg]}),s})()}}]);
|