dealpos 25.37.2 → 25.37.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/{chunk-J7WZSDR6.js → chunk-246GVKUS.js} +1 -1
- package/browser/{chunk-R5MMHEH6.js → chunk-2FXL2HDF.js} +1 -1
- package/browser/{chunk-XNE22IC6.js → chunk-2QG4JWAE.js} +1 -1
- package/browser/{chunk-5WG74DJT.js → chunk-2RWD5W3A.js} +1 -1
- package/browser/{chunk-BO2Z4RGZ.js → chunk-2W2V2NM7.js} +1 -1
- package/browser/{chunk-2URCBLJ7.js → chunk-47I5SA66.js} +1 -1
- package/browser/{chunk-7ZD2267X.js → chunk-57IUU6ZC.js} +1 -1
- package/browser/{chunk-LPFP4NOL.js → chunk-5O2KKW6F.js} +1 -1
- package/browser/{chunk-TOOIVKU3.js → chunk-5WFN5KAC.js} +1 -1
- package/browser/{chunk-6WHOPHRH.js → chunk-77KTGZY6.js} +1 -1
- package/browser/{chunk-5WHPKSFW.js → chunk-7EA7EXS5.js} +1 -1
- package/browser/{chunk-7IFXHB4V.js → chunk-7EU2PMHX.js} +1 -1
- package/browser/{chunk-SOE2QU22.js → chunk-7TZA4PUK.js} +1 -1
- package/browser/{chunk-UTHVS7YI.js → chunk-A4JKVSUB.js} +2 -2
- package/browser/{chunk-L6G7INVR.js → chunk-ACSIWGQV.js} +2 -2
- package/browser/{chunk-DGPCJB6P.js → chunk-AXHXNBHV.js} +1 -1
- package/browser/{chunk-CEOPBVEH.js → chunk-BED5HJZ2.js} +1 -1
- package/browser/{chunk-PT4Y2VNN.js → chunk-BSJU72R6.js} +1 -1
- package/browser/{chunk-BQJ7JR25.js → chunk-CG73T3TQ.js} +1 -1
- package/browser/{chunk-5XLUITBY.js → chunk-CJKH7RU5.js} +1 -1
- package/browser/{chunk-AHC27CIW.js → chunk-CZAQG6WF.js} +1 -1
- package/browser/{chunk-5432OTF7.js → chunk-ED4YSOUM.js} +2 -2
- package/browser/{chunk-E52CQ3NY.js → chunk-FE7KGLWI.js} +1 -1
- package/browser/{chunk-CJJZFHED.js → chunk-FT4VVMUZ.js} +1 -1
- package/browser/{chunk-PXNAXAQB.js → chunk-GKTQL7S6.js} +1 -1
- package/browser/{chunk-N2FNF62O.js → chunk-H3V5PSCN.js} +1 -1
- package/browser/{chunk-CZ2RXLZJ.js → chunk-HMRDZRDD.js} +2 -2
- package/browser/{chunk-A4RN7PGI.js → chunk-HYW3PEDN.js} +1 -1
- package/browser/{chunk-LUMOPVCB.js → chunk-IMEKDDRZ.js} +1 -1
- package/browser/{chunk-DZ35QZ6L.js → chunk-IPVEZIYO.js} +1 -1
- package/browser/{chunk-ZWXGSLUJ.js → chunk-IQY2LSF6.js} +1 -1
- package/browser/{chunk-KOWDWAD2.js → chunk-IXDUCCKR.js} +1 -1
- package/browser/{chunk-JZ7HH3AD.js → chunk-J4NQVL2U.js} +1 -1
- package/browser/chunk-KEUS7V3K.js +1 -0
- package/browser/{chunk-XQCKNZ75.js → chunk-KMHOACN3.js} +1 -1
- package/browser/{chunk-JDDFGHZC.js → chunk-KP2OKS63.js} +1 -1
- package/browser/{chunk-HPGHC3LU.js → chunk-LC2G5X3T.js} +1 -1
- package/browser/{chunk-FJULFWMX.js → chunk-LHQMGLCO.js} +1 -1
- package/browser/{chunk-6JCU4GNE.js → chunk-LMSUV4DF.js} +1 -1
- package/browser/{chunk-G7B75J34.js → chunk-LRZRVZHZ.js} +1 -1
- package/browser/{chunk-624G6F5C.js → chunk-M4IEBQUD.js} +2 -2
- package/browser/{chunk-C2LSF7S2.js → chunk-ML4LS3JQ.js} +1 -1
- package/browser/{chunk-SF3RHVSN.js → chunk-MTMMU7GK.js} +1 -1
- package/browser/{chunk-DSLMCH3G.js → chunk-MXD23J36.js} +1 -1
- package/browser/{chunk-N276B6EI.js → chunk-NOK7ZUJF.js} +1 -1
- package/browser/chunk-NUGWNTFZ.js +1 -0
- package/browser/{chunk-YUSWA5RC.js → chunk-O6GMQRZG.js} +1 -1
- package/browser/{chunk-QRI23WCG.js → chunk-OFCUJNQU.js} +1 -1
- package/browser/{chunk-M5R3Y6BD.js → chunk-OSWSFGOJ.js} +1 -1
- package/browser/{chunk-TPDNCYEZ.js → chunk-OVNI7USJ.js} +1 -1
- package/browser/{chunk-Z6TVE7B7.js → chunk-OY46AN7G.js} +1 -1
- package/browser/{chunk-WF6K2YER.js → chunk-P42NPBKN.js} +1 -1
- package/browser/{chunk-IWIKKZRE.js → chunk-PJZKO6EJ.js} +1 -1
- package/browser/{chunk-2Z5J6Q7M.js → chunk-PMQCMLOB.js} +1 -1
- package/browser/{chunk-YFWHKWUO.js → chunk-PTGE5E6V.js} +1 -1
- package/browser/{chunk-2LHNA5AI.js → chunk-QBECNCED.js} +1 -1
- package/browser/{chunk-WUZXIQKO.js → chunk-QILONTOR.js} +1 -1
- package/browser/{chunk-D5JRP2GG.js → chunk-QWLFS2FE.js} +1 -1
- package/browser/{chunk-5A5MC6CY.js → chunk-RLFBLSFM.js} +1 -1
- package/browser/{chunk-I3EBD4BM.js → chunk-RRGRXLUZ.js} +1 -1
- package/browser/{chunk-ORFYFJKS.js → chunk-RT6YCLZW.js} +1 -1
- package/browser/{chunk-ZAJBQGZU.js → chunk-RW7QZRJ2.js} +2 -2
- package/browser/{chunk-UR37FTL2.js → chunk-T4MVFJGL.js} +1 -1
- package/browser/{chunk-NDQYXKAN.js → chunk-TPPS3QIA.js} +1 -1
- package/browser/{chunk-6G2IT6WP.js → chunk-UGECMXMN.js} +1 -1
- package/browser/{chunk-6HQRARSZ.js → chunk-VSFXSQWT.js} +1 -1
- package/browser/{chunk-ZLGNHROO.js → chunk-VX4WL34G.js} +1 -1
- package/browser/{chunk-JIYAVK6J.js → chunk-WDDMKZLZ.js} +1 -1
- package/browser/{chunk-VWRUQ7XW.js → chunk-WG2QGIET.js} +1 -1
- package/browser/{chunk-MH3LXNOS.js → chunk-YAGXTRYQ.js} +1 -1
- package/browser/{chunk-5MV4W4N6.js → chunk-YFN33F7G.js} +1 -1
- package/browser/{chunk-K463QEUH.js → chunk-YLD325HC.js} +1 -1
- package/browser/{chunk-AASLGLOM.js → chunk-YMIWL4WY.js} +1 -1
- package/browser/{chunk-AQH2TWJK.js → chunk-Z2P2CNKC.js} +1 -1
- package/browser/{chunk-ACGNZNFL.js → chunk-Z7BGVRZR.js} +1 -1
- package/browser/index.html +2 -2
- package/browser/{main-T6SFWIAO.js → main-E4MQYENS.js} +2 -2
- package/package.json +1 -1
- package/browser/chunk-CFWQ2KY4.js +0 -1
- package/browser/chunk-UQKMHV26.js +0 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"dealpos","version":"25.37.
|
|
1
|
+
{"name":"dealpos","version":"25.37.3"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-D5JRP2GG.js";import"./chunk-NJIOGT5G.js";import"./chunk-CJJZFHED.js";import"./chunk-HNX747EE.js";import"./chunk-3RK6DDJD.js";import"./chunk-L2EDFSBR.js";import"./chunk-JKYTSC2D.js";import"./chunk-N2FNF62O.js";import"./chunk-6JCU4GNE.js";import"./chunk-FD5YMPRL.js";import"./chunk-MV3QRRW6.js";import"./chunk-WF6K2YER.js";import"./chunk-52EOLV7I.js";import"./chunk-5UL73W4S.js";import"./chunk-LNVTHMH7.js";import"./chunk-FY5VLGQC.js";import"./chunk-CIBQBSM6.js";import"./chunk-IX5URHI7.js";import"./chunk-ZZ7LHETD.js";import"./chunk-567HXZXC.js";import"./chunk-CGESXTHC.js";import"./chunk-2FWFPV5I.js";import"./chunk-TLOTIYIE.js";import"./chunk-2RSBMS36.js";import"./chunk-R5MMHEH6.js";import"./chunk-J7WZSDR6.js";import"./chunk-AHCRE4GP.js";import"./chunk-VWRUQ7XW.js";import"./chunk-DZT5XHBQ.js";import"./chunk-7DCB7DB2.js";export{a as SensitiveFieldComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as ee,b as te,c as ie}from"./chunk-DSIUUK4N.js";import{a as le,c as ge}from"./chunk-LNVTHMH7.js";import{u as pe,v as se,w as me}from"./chunk-FY5VLGQC.js";import{b as Y,c as Z}from"./chunk-CIBQBSM6.js";import{a as re,d as ae}from"./chunk-LPGMI3V2.js";import{e as oe,f as ne}from"./chunk-ZZ7LHETD.js";import{F as Q,c as $,h as q,o as K}from"./chunk-2RSBMS36.js";import{$a as a,Ac as E,Ib as l,Jb as p,Kb as u,Lb as b,Mb as T,Ob as M,Qb as C,Rb as g,Y as L,Yc as z,Yd as S,Zc as B,aa as P,cd as G,d as F,db as _,ec as m,fa as O,fc as I,gc as X,gd as W,hc as H,ja as V,jc as R,jd as U,kb as k,kc as N,lc as D,ma as J,qb as x,t as y,va as f,vb as s,wa as h,zb as j,zc as v}from"./chunk-DZT5XHBQ.js";import{a as c,b as d}from"./chunk-7DCB7DB2.js";var w=class o{constructor(t){this.http=t}exportCSV(t,e){let i=d(c({},e),{Export:!0,FormatType:0});this.downloadFile(t,i)}exportCustom(t,e,i){let r=d(c({},e),{Export:!0,FormatType:i});this.downloadFile(t,r)}exportCSVIds(t,e){this.downloadFile(t,e)}exportXlsx(t,e){let i=d(c({},e),{FormatType:1});this.downloadFile(t,i)}downloadFile(t,e){this.http.postFile(`/api/${t}`,e).subscribe(i=>{let r=window.URL.createObjectURL(i.file),n=document.createElement("a");n.download=this.getFilenameFromContentDisposition(i.title),n.href=r,n.click(),URL.revokeObjectURL(r),n.remove()})}getFilenameFromContentDisposition(t){let i=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(t);return i!=null&&i[1]?i[1].replace(/['"]/g,""):""}exportJSON(t,e,i){this.http.post(`/api/${t}`,i).subscribe(r=>{var n=JSON.stringify(r,null," ");this.downloadJSON(n,e+".json")})}downloadJSON(t,e){var i=new Blob([t],{type:"data:application/json;charset=utf-8"}),r=document.createElement("a");r.setAttribute("href",window.URL.createObjectURL(i)),r.setAttribute("download",e),document.body.appendChild(r),r.click(),document.body.removeChild(r)}static \u0275fac=function(e){return new(e||o)(J(S))};static \u0275prov=V({token:o,factory:o.\u0275fac,providedIn:"root"})};function fe(o,t){if(o&1&&(l(0,"div",15),m(1),p()),o&2){let e=t.item;s("matTooltip",e.Tooltip),a(),X(" ",e.Value," ")}}function he(o,t){if(o&1){let e=M();b(0),l(1,"div",11),m(2," Columns "),p(),l(3,"div",12)(4,"ng-select",13),D("ngModelChange",function(r){f(e);let n=g();return N(n.exportType,r)||(n.exportType=r),h(r)}),C("change",function(r){f(e);let n=g();return h(n.onChangeExportType(r))}),x(5,fe,2,2,"ng-template",14),p()(),T()}if(o&2){let e=g();a(4),s("items",e.exportTypes),R("ngModel",e.exportType)}}function _e(o,t){o&1&&(l(0,"mat-button-toggle",16),u(1,"i",17),m(2,"CSV"),p())}function Ce(o,t){o&1&&(l(0,"mat-button-toggle",18),u(1,"i",19),m(2,"XLSX"),p())}function ye(o,t){if(o&1&&(l(0,"mat-button-toggle",21),u(1,"i",22),m(2),p()),o&2){let e=g().$implicit;s("value",e.value),a(),j(e.icon),a(),I(e.label)}}function be(o,t){if(o&1&&(b(0),x(1,ye,3,4,"mat-button-toggle",20),T()),o&2){let e=g();a(),s("ngIf",e.allowTxtOption()||e.isTextOnly())}}function Te(o,t){o&1&&(l(0,"mat-button-toggle",23),u(1,"i",24),m(2,"JSON"),p())}function Me(o,t){if(o&1){let e=M();l(0,"i",32),C("click",function(){f(e);let r=g(3);return h(r.onGetAllDataLength())}),p()}}function ve(o,t){if(o&1&&(l(0,"span"),m(1,"of "),x(2,Me,1,0,"i",30),l(3,"span",31),m(4),v(5,"async"),p(),m(6," page(s)"),p()),o&2){let e=g(2);a(2),s("ngIf",!e.calledApiCount),a(2),I(e.calledApiCount?E(5,2,e.allDataLength$):"")}}function Ee(o,t){if(o&1){let e=M();b(0),l(1,"div",4),m(2," Page "),p(),l(3,"div",25)(4,"input",26),C("ngModelChange",function(r){f(e);let n=g();return h(n.pageNumber=r)}),p(),x(5,ve,7,4,"span",3),p(),l(6,"div",27)(7,"div",28),u(8,"i",29),m(9),v(10,"number"),v(11,"number"),p()(),T()}if(o&2){let e=g();a(4),s("ngModel",e.pageNumber),a(),s("ngIf",e.getAllDataLengthAPI),a(4),H(" Exporting data from ",E(10,4,e.displayedMinRangeRow)," - ",e.exportFormat=="JSON"?"1,000":E(11,6,e.displayedMaxRangeRow)," ")}}var ce=class o{constructor(t,e,i,r){this.data=t;this.dialogRef=e;this.exportHandler=r;this.config.title=`Export ${t.title}`,this.config.hideCancel=!0,this.config.customWidth="450px",this.exportTypes=t.exportTypes,this.exportType=this.exportTypes[0].ID,this.filterExport=t.filterExport,this.pagination=t.pagination,this.getAllDataLengthAPI=t.getAllDataLengthAPI,this.extraExportTypesOptions=t.extraExportTypesOptions,this.allDataLength$=this.onGetAllDataLength$.pipe(y(()=>this.exportTypes.find(n=>n.ID==this.exportType)?.Count??this.getAllDataLengthAPI),P(n=>i.post("/API/"+n,this.filterExport)),y(n=>typeof n=="number"?n:n.Count),O(n=>{n<this.displayedMaxRangeRow&&this.setMinMaxRangeDisplayedRow(n),this.calledApiCount=!0}),y(n=>{let A=this.exportFormat=="JSON"?1e3:this.pageSize;return Math.floor(n/A)+(n%A>0?1:0)}),L(1),O(console.log)),this.allDataLength$.subscribe()}pageNumber=1;pageSize=1e4;config=new pe;exportTypes=[];exportType;exportFormat="CSV";_onGetAllDataLength=new F;onGetAllDataLength$=this._onGetAllDataLength.asObservable();allDataLength$;calledApiCount=!1;filterExport;displayedMaxRangeRow=this.pageSize;displayedMinRangeRow=this.pageNumber;pagination;getAllDataLengthAPI="";extraExportTypesOptions=[];onOk(){this.filterExport=d(c({},this.filterExport),{Export:!0}),this.pagination&&(this.filterExport=d(c({},this.filterExport),{ExportPageNumber:this.pageNumber,ExportRowCount:this.pageSize})),this.exportFormat=="CSV"?this.exportHandler.exportCSV(this.exportType,this.filterExport):this.exportFormat=="XLSX"?this.exportHandler.exportXlsx(this.exportType,this.filterExport):this.exportFormat=="JSON"?this.exportHandler.exportJSON(this.data.JSONAPI,this.data.JSONFileName,d(c({},this.filterExport),{ExportRowCount:1e3})):this.exportHandler.exportCustom(this.exportType,this.filterExport,2),this.dialogRef.close()}onGetAllDataLength(){this._onGetAllDataLength.next()}onChangePageNumber(){this.setDisplayedMinMaxRangeRow()}setMinMaxRangeDisplayedRow(t){for(;this.displayedMaxRangeRow>t&&this.pageNumber>1;)this.pageNumber-=1,this.setDisplayedMinMaxRangeRow();this.displayedMaxRangeRow=t}setDisplayedMinMaxRangeRow(){this.displayedMinRangeRow=this.pageNumber*this.pageSize-this.pageSize+1,this.displayedMaxRangeRow=this.pageNumber*this.pageSize}isTextOnly(){return this.exportTypes.find(t=>t.ID==this.exportType)?.TxtOnly}isExludeJsonType(){return this.exportTypes.find(t=>t.ID==this.exportType)?.ExcludeJsonType}allowTxtOption(){return this.exportTypes.find(t=>t.ID==this.exportType)?.AllowTxtOption}onChangeExportType(t){this.calledApiCount=!1,this.displayedMaxRangeRow=this.pageSize,this.displayedMinRangeRow=this.pageNumber,this.isTextOnly()?this.exportFormat="TXT":this.exportFormat="CSV"}static \u0275fac=function(e){return new(e||o)(_(ne),_(oe),_(S),_(w))};static \u0275cmp=k({type:o,selectors:[["POS-modal-complex-export"]],decls:14,vars:8,consts:[[3,"onCancel","onClose","onOk","config"],[1,"container-fluid"],[1,"row"],[4,"ngIf"],[1,"col-3","fw-bold","mt-8",2,"display","flex","align-items","center"],[1,"col-9","mt-8"],[3,"ngModelChange","ngModel"],["value","CSV",4,"ngIf"],["value","XLSX",4,"ngIf"],[4,"ngFor","ngForOf"],["value","JSON",4,"ngIf"],[1,"col-3","fw-bold",2,"display","flex","align-items","center"],[1,"col-9"],["appendTo","body","bindLabel","Value","bindValue","ID",3,"ngModelChange","change","items","ngModel"],["ng-option-tmp",""],["matTooltipPosition","right",3,"matTooltip"],["value","CSV"],[1,"fa-solid","fa-file-csv","me-3","mb-1"],["value","XLSX"],[1,"fa-solid","fa-file-excel","me-3","mb-1"],[3,"value",4,"ngIf"],[3,"value"],[1,"me-3","mb-1"],["value","JSON"],[1,"fa-solid","fa-brackets-curly","me-3","mb-1"],[1,"col-9","mt-8",2,"display","flex","align-items","center","column-gap","10px"],["type","text","autoNum","","name","pageNumber","id","pageNumber",1,"form-control","text-center",2,"width","50px",3,"ngModelChange","ngModel"],[1,"col-12","mt-8"],[1,"p-3",2,"background-color","#add8e6","border-radius","4px"],[1,"fa-solid","fa-circle-exclamation","mx-3"],["class","fa-solid fa-circle-question mx-3",3,"click",4,"ngIf"],[1,"fw-bold"],[1,"fa-solid","fa-circle-question","mx-3",3,"click"]],template:function(e,i){e&1&&(l(0,"modal-material",0),C("onCancel",function(){return i.dialogRef.close()})("onClose",function(){return i.dialogRef.close()})("onOk",function(){return i.onOk()}),l(1,"content")(2,"div",1)(3,"div",2),x(4,he,6,2,"ng-container",3),l(5,"div",4),m(6," Format "),p(),l(7,"div",5)(8,"mat-button-toggle-group",6),D("ngModelChange",function(n){return N(i.exportFormat,n)||(i.exportFormat=n),n}),x(9,_e,3,0,"mat-button-toggle",7)(10,Ce,3,0,"mat-button-toggle",8)(11,be,2,1,"ng-container",9)(12,Te,3,0,"mat-button-toggle",10),p()(),x(13,Ee,12,8,"ng-container",3),p()()()()),e&2&&(s("config",i.config),a(4),s("ngIf",i.exportTypes.length>1),a(4),R("ngModel",i.exportFormat),a(),s("ngIf",!i.isTextOnly()),a(),s("ngIf",!i.isTextOnly()),a(),s("ngForOf",i.extraExportTypesOptions),a(),s("ngIf",i.data.JSONAPI&&!i.isTextOnly()&&!i.isExludeJsonType()),a(),s("ngIf",i.pagination))},dependencies:[me,se,ae,Q,$,q,K,U,z,B,G,W,le,ge,ie,ee,te,Z,Y,re],styles:[".general[_ngcontent-%COMP%], .page[_ngcontent-%COMP%]{border:1px solid #dcdcdc;border-radius:3px;padding:10px 8px;position:relative}.general[_ngcontent-%COMP%]{margin-bottom:15px}.floating-title[_ngcontent-%COMP%]{position:absolute;top:-10.5px;background:#fff;color:gray;font-size:14px}.select-header[_ngcontent-%COMP%]{line-height:36px}.input-header[_ngcontent-%COMP%]{line-height:36.6px}.form-control[_ngcontent-%COMP%]{height:max-content!important;padding:.375rem .75rem!important}"]})};export{w as a,ce as b};
|