dealpos 12.3.3 → 12.3.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkPOS=self.webpackChunkPOS||[]).push([[8923],{75785:(M,_,s)=>{s.d(_,{a:()=>e});var e=(()=>{return(d=e||(e={}))[d.BuyAble=-1]="BuyAble",d[d.BuySellAble=0]="BuySellAble",d[d.SellAble=1]="SellAble",e;var d})()},11156:(M,_,s)=>{s.d(_,{E:()=>e});var e=(()=>{return(d=e||(e={}))[d.Add=1]="Add",d[d.Include=2]="Include",e;var d})()},59660:(M,_,s)=>{s.d(_,{B:()=>h});var e=s(81180),d=s(67327);class h{constructor(){(0,e.Z)(this,"Label",void 0),(0,e.Z)(this,"Groups",void 0),(0,e.Z)(this,"DiscountRate",void 0),(0,e.Z)(this,"SalesID",void 0),(0,e.Z)(this,"Point",void 0),(0,e.Z)(this,"PointUsed",void 0),(0,e.Z)(this,"Debt",void 0),(0,e.Z)(this,"DebtLimit",void 0),(0,e.Z)(this,"ExpiryDate",void 0),(0,e.Z)(this,"DueDays",void 0),(0,e.Z)(this,"DueMonths",void 0),(0,e.Z)(this,"PricebookID",void 0),(0,e.Z)(this,"TaxTypeId",void 0),(0,e.Z)(this,"NationalIDNumber",void 0),(0,e.Z)(this,"MemberIdentification",void 0),(0,e.Z)(this,"EntityID",void 0),(0,e.Z)(this,"Email",void 0),(0,e.Z)(this,"Mobile",void 0),(0,e.Z)(this,"Name",void 0),(0,e.Z)(this,"LoyaltyDisabled",void 0),this.Label="",this.Point=0,this.PointUsed=0,this.Debt=0,this.EntityID=d.gT.GuidEmpty,this.DueMonths=0,this.DueDays=0,this.LoyaltyDisabled=!1}}},69753:(M,_,s)=>{s.d(_,{O:()=>d});var e=s(81180);class d{constructor(){(0,e.Z)(this,"ID",void 0),(0,e.Z)(this,"Name",void 0),(0,e.Z)(this,"Code",void 0),(0,e.Z)(this,"UnitCost",void 0),(0,e.Z)(this,"UnitPrice",void 0),(0,e.Z)(this,"UnitExpense",void 0),(0,e.Z)(this,"Start",void 0),(0,e.Z)(this,"Finish",void 0),(0,e.Z)(this,"UnitQuantity",void 0),(0,e.Z)(this,"PriceDiscount",void 0),(0,e.Z)(this,"UnitPriceOriginal",void 0),(0,e.Z)(this,"Description",void 0),(0,e.Z)(this,"UOM",void 0),(0,e.Z)(this,"UOMName",void 0),(0,e.Z)(this,"ImageUrl",void 0),(0,e.Z)(this,"TypeID",void 0),(0,e.Z)(this,"SellPriceType",void 0),(0,e.Z)(this,"UnitsInStock",void 0),(0,e.Z)(this,"Ordered",void 0),(0,e.Z)(this,"OrderPrice",void 0),(0,e.Z)(this,"OrderPriceDiscount",void 0),(0,e.Z)(this,"Taxable",void 0),(0,e.Z)(this,"LoyaltyPoint",void 0),(0,e.Z)(this,"LoyaltyPointRedeemable",void 0),(0,e.Z)(this,"CategoryName",void 0),(0,e.Z)(this,"CategoryID",void 0),(0,e.Z)(this,"CategoryTypeID",void 0),(0,e.Z)(this,"Serial",void 0),(0,e.Z)(this,"PriceTypeID",void 0),(0,e.Z)(this,"PriceNote",void 0),(0,e.Z)(this,"PaymentTypeID",void 0),(0,e.Z)(this,"Config",void 0),(0,e.Z)(this,"ThumbnailUrl",void 0),(0,e.Z)(this,"Storage",void 0),(0,e.Z)(this,"DiscountAmount",void 0),(0,e.Z)(this,"Component",void 0),(0,e.Z)(this,"PriceBook",void 0),(0,e.Z)(this,"VariantUnitQuantity",void 0),(0,e.Z)(this,"SerialNote",void 0)}}},71965:(M,_,s)=>{s.d(_,{r:()=>f});var e=s(81180),d=s(59660),h=s(54850),r=s(49808),u=s(94650),p=s(89156),C=s(13337),b=s(29099);let f=(()=>{class t{constructor(c,m,v){(0,e.Z)(this,"httpService",void 0),(0,e.Z)(this,"LocalData",void 0),(0,e.Z)(this,"_onlineStatusService",void 0),(0,e.Z)(this,"Data",new d.B),this.httpService=c,this.LocalData=m,this._onlineStatusService=v}addCustomer(c){const m=[];if(c.Group&&m.push(c.Group),this._onlineStatusService.isOnline)return(0,r.n)(this.httpService.post("/API/Contact/Create",{contact:c,type:"customer",groups:m})).catch(P=>Promise.reject(P))}findCustomerByCode(c){return this.httpService.post("/API/Contact/GetByCode",{Code:c})}GetPrivilegeByID(c,m){return this.httpService.post(h.W.GetCustomerPrivilegeByID,{CustomerID:c,EntityID:m})}}return(0,e.Z)(t,"\u0275fac",function(c){return new(c||t)(u.LFG(p.O),u.LFG(C.T),u.LFG(b.q))}),(0,e.Z)(t,"\u0275prov",u.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})),t})()},54840:(M,_,s)=>{s.d(_,{Az:()=>A,O8:()=>E,vH:()=>y});var e=s(81180),d=s(36895),h=s(63165),r=s(24006),u=s(65412),p=s(98085),C=s(88796),b=s(93669),f=s(42046),t=s(94650),Z=s(71965);function c(l,g){1&l&&t._UZ(0,"option",30),2&l&&t.Q6J("value",g.$implicit.Name)}const m=function(l){return{"has-error":l}};function v(l,g){if(1&l&&(t.TgZ(0,"div",31)(1,"i",32),t._uU(2," Name is mandatory."),t.qZA()()),2&l){t.oxw();const o=t.MAs(11);t.Q6J("ngClass",t.VKq(1,m,o.touched&&o.invalid))}}function P(l,g){if(1&l&&(t.TgZ(0,"div",31)(1,"i",32),t._uU(2," Mobile is mandatory."),t.qZA()()),2&l){t.oxw();const o=t.MAs(23);t.Q6J("ngClass",t.VKq(1,m,o.invalid))}}const T=function(l){return{"border border-danger":l}},D=function(l){return{"is-invalid border border-danger":l}};function x(l,g){if(1&l){const o=t.EpF();t.TgZ(0,"div",8)(1,"div",9)(2,"div",10)(3,"input",11),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Title=n)}),t.qZA(),t.TgZ(4,"label",12),t._uU(5,"Title"),t.qZA(),t.TgZ(6,"datalist",13),t.YNc(7,c,1,1,"option",14),t.qZA()()(),t.TgZ(8,"div",15)(9,"div",10)(10,"input",16,17),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.FirstName=n)}),t.qZA(),t.YNc(12,v,3,3,"div",18),t.TgZ(13,"label",19),t._uU(14,"First Name"),t.qZA()()(),t.TgZ(15,"div",20)(16,"div",10)(17,"input",21),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.LastName=n)}),t.qZA(),t.TgZ(18,"label",22),t._uU(19,"Last Name"),t.qZA()()(),t.TgZ(20,"div",23)(21,"div",10)(22,"input",24,25),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Mobile=n)}),t.qZA(),t.YNc(24,P,3,3,"div",18),t.TgZ(25,"label",26),t._uU(26,"Mobile"),t.qZA()()(),t.TgZ(27,"div",23)(28,"div",10)(29,"input",27,28),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Email=n)}),t.qZA(),t.TgZ(31,"label",29),t._uU(32,"Email"),t.qZA()()()()}if(2&l){const o=t.MAs(11),a=t.MAs(23),n=t.MAs(30),i=t.oxw();t.xp6(3),t.Q6J("ngModel",i.customer.Title),t.xp6(4),t.Q6J("ngForOf",null==i.options?null:i.options.Titles),t.xp6(3),t.Q6J("ngClass",t.VKq(14,T,o.touched&&o.invalid))("ngModel",i.customer.FirstName)("required",!0),t.xp6(2),t.Q6J("ngIf",o.touched&&o.invalid),t.xp6(5),t.Q6J("ngModel",i.customer.LastName),t.xp6(5),t.Q6J("ngClass",t.VKq(16,D,a.invalid))("ngModel",i.customer.Mobile)("required",i.config.Advance.RequireContactMobile),t.xp6(2),t.Q6J("ngIf",a.invalid),t.xp6(5),t.Q6J("ngClass",t.VKq(18,D,n.invalid))("ngModel",i.customer.Email)("required",i.config.Advance.RequireEmailActivation)}}function I(l,g){if(1&l){const o=t.EpF();t.TgZ(0,"div",33)(1,"div",34)(2,"label",35),t._uU(3,"Address"),t.qZA(),t.TgZ(4,"textarea",36),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Address=n)}),t.qZA()(),t.TgZ(5,"div",23)(6,"ng-select",37),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.City=n)}),t.qZA()(),t.TgZ(7,"div",23)(8,"ng-select",38),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.NationalityID=n)}),t.qZA()(),t.TgZ(9,"div",23)(10,"ng-select",39),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Gender=n)}),t.qZA()(),t.TgZ(11,"div",23)(12,"div",10)(13,"input",40),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Code=n)}),t.qZA(),t.TgZ(14,"label",41),t._uU(15,"Member Code"),t.qZA()()(),t.TgZ(16,"div",23)(17,"div",10)(18,"input",42),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.NationalIDNumber=n)}),t.qZA(),t.TgZ(19,"label",43),t._uU(20,"Identification"),t.qZA()()(),t.TgZ(21,"div",44)(22,"div",10)(23,"datepicker",45),t.NdJ("dateChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Birthdate=n)}),t.qZA()()(),t.TgZ(24,"div",46)(25,"strong"),t._uU(26,"Customer Race"),t.qZA(),t.TgZ(27,"ng-select",47),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.RaceID=n)}),t.qZA()(),t.TgZ(28,"div",46)(29,"strong"),t._uU(30,"Group"),t.qZA(),t.TgZ(31,"ng-select",48),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Group=n)}),t.qZA()()()}if(2&l){const o=t.oxw();t.xp6(4),t.Q6J("ngModel",o.customer.Address),t.xp6(2),t.Q6J("ngModel",o.customer.City)("items",null==o.options?null:o.options.Cities),t.xp6(2),t.Q6J("ngModel",o.customer.NationalityID)("items",null==o.options?null:o.options.Nationalities),t.xp6(2),t.Q6J("ngModel",o.customer.Gender)("items",null==o.options?null:o.options.Genders),t.xp6(3),t.Q6J("ngModel",o.customer.Code),t.xp6(5),t.Q6J("ngModel",o.customer.NationalIDNumber),t.xp6(5),t.Q6J("date",o.customer.Birthdate),t.xp6(4),t.Q6J("ngModel",o.customer.RaceID)("items",null==o.options?null:o.options.Races),t.xp6(4),t.Q6J("ngModel",o.customer.Group)("items",null==o.options?null:o.options.Groups)}}const O=function(l){return{selected:l}};let A=(()=>{class l{constructor(o,a,n){(0,e.Z)(this,"dialogRef",void 0),(0,e.Z)(this,"data",void 0),(0,e.Z)(this,"_CustomerHttpService",void 0),(0,e.Z)(this,"customer",void 0),(0,e.Z)(this,"options",void 0),(0,e.Z)(this,"type",void 0),(0,e.Z)(this,"config",void 0),(0,e.Z)(this,"more",void 0),(0,e.Z)(this,"modalConfig",void 0),(0,e.Z)(this,"detailVisible",void 0),this.dialogRef=o,this.data=a,this._CustomerHttpService=n,this.modalConfig=new f.O,this.modalConfig.title=this.data.title,this.modalConfig.customWidth="532px",this.options=this.data.options,this.config=this.data.config,this.type=this.data.type}ngOnInit(){this.customer=new E,this.initFirstName(),this.customer.Gender=this.config.DefaultValue.Gender,this.more=!1}initFirstName(){this.data&&this.data.inputTextName&&(this.customer.FirstName=this.data.inputTextName)}onOk(){let o=this.customer.Title?this.customer.Title:"";o+=" "+this.customer.FirstName,o+=" "+(this.customer.LastName?this.customer.LastName:""),o=o.trim(),this.customer.Name=o,"customer"==this.type?this._CustomerHttpService.addCustomer(this.customer).then(a=>{this.dialogRef.close({ContactName:o,CustomerID:a.ID})}).catch(a=>{this.dialogRef.close({Error:a})}):"supplier"==this.type&&this.dialogRef.close({supplier:this.customer})}chooiceDetail(o){this.detailVisible=o}}return(0,e.Z)(l,"\u0275fac",function(o){return new(o||l)(t.Y36(u.so),t.Y36(u.WI),t.Y36(Z.r))}),(0,e.Z)(l,"\u0275cmp",t.Xpm({type:l,selectors:[["POS-modal-customer"]],decls:13,vars:10,consts:[[3,"config","dynamicValidated","onOk","onCancel","onClose"],[1,"container"],["name","form"],["f","ngForm"],[1,"row","header","align-items-center","py-2","my-2","g-0"],[1,"btn","btn-link","pt-0","pb-4",3,"ngClass","click"],["class","row g-3",4,"ngIf"],["class","row mt-2",4,"ngIf"],[1,"row","g-3"],[1,"col-md-3","mt-5"],[1,"form-floating-outline"],["list","cust-title","id","Title","name","Title","placeholder","Title",1,"form-control",3,"ngModel","ngModelChange"],["for","Title"],["id","cust-title"],[3,"value",4,"ngFor","ngForOf"],[1,"col-md-5","mt-5"],["type","text","id","FirstName","name","FirstName","placeholder","First Name",1,"form-control",3,"ngClass","ngModel","required","ngModelChange"],["FirstName","ngModel"],[3,"ngClass",4,"ngIf"],["for","FirstName"],[1,"col-md-4","mt-5"],["type","text","id","LastName","name","LastName","placeholder","Last Name",1,"form-control",3,"ngModel","ngModelChange"],["for","LastName"],[1,"col-md-6","mt-5"],["type","text","name","Phone","placeholder","Mobile",1,"form-control",3,"ngClass","ngModel","required","ngModelChange"],["Phone","ngModel"],["for","Phone"],["type","email","name","Email","placeholder","Email","email","",1,"form-control",3,"ngClass","ngModel","required","ngModelChange"],["Email","ngModel"],["for","email"],[3,"value"],[3,"ngClass"],[1,"control-label","text-danger"],[1,"row","mt-2"],[1,"col-md-12"],[1,"fw-bold"],["name","address",1,"form-control",3,"ngModel","ngModelChange"],["name","city","bindLabel","Name","bindValue","ID","placeholder","City","dropdownPosition","buttom",1,"tall","outlet","auto-grow",3,"ngModel","items","ngModelChange"],["name","NationalityID","bindLabel","Name","bindValue","ID","placeholder","Nationality","dropdownPosition","buttom",1,"tall","outlet","auto-grow",3,"ngModel","items","ngModelChange"],["name","gender","bindLabel","Value","bindValue","Key","placeholder","Gender","dropdownPosition","buttom",1,"tall","outlet","auto-grow",3,"ngModel","items","ngModelChange"],["type","text","name","code","id","code","placeholder","Member Code",1,"form-control",3,"ngModel","ngModelChange"],["for","code"],["type","text","id","Identification","name","Identification","placeholder","Identification",1,"form-control",3,"ngModel","ngModelChange"],["for","Identification"],[1,"col-auto","w-50","mt-5"],["placeholder","Birthday","name","orderDate",3,"date","dateChange"],[1,"col-md","pt-5"],["name","race","bindLabel","Name","bindValue","ID","placeholder","Race","dropdownPosition","top",1,"tall","outlet","auto-grow",3,"ngModel","items","ngModelChange"],["name","group","bindLabel","Name","bindValue","ID","placeholder","Group","dropdownPosition","top",1,"tall","outlet","auto-grow",3,"ngModel","items","ngModelChange"]],template:function(o,a){if(1&o&&(t.TgZ(0,"modal-material",0),t.NdJ("onOk",function(){return a.onOk()})("onCancel",function(){return a.dialogRef.close()})("onClose",function(){return a.dialogRef.close()}),t.TgZ(1,"content")(2,"div",1)(3,"form",2,3)(5,"div",4)(6,"a",5),t.NdJ("click",function(){return a.chooiceDetail(!1)}),t._uU(7," General "),t.qZA(),t.TgZ(8,"a",5),t.NdJ("click",function(){return a.chooiceDetail(!0)}),t._uU(9," Detail "),t.qZA()(),t.TgZ(10,"div"),t.YNc(11,x,33,20,"div",6),t.YNc(12,I,32,14,"div",7),t.qZA()()()()()),2&o){const n=t.MAs(4);t.Q6J("config",a.modalConfig)("dynamicValidated",n.valid),t.xp6(6),t.Q6J("ngClass",t.VKq(6,O,!a.detailVisible)),t.xp6(2),t.Q6J("ngClass",t.VKq(8,O,a.detailVisible)),t.xp6(3),t.Q6J("ngIf",!a.detailVisible),t.xp6(1),t.Q6J("ngIf",a.detailVisible)}},dependencies:[d.mk,d.sg,d.O5,h.M,r._Y,r.YN,r.Kr,r.Fj,r.JJ,r.JL,r.Q7,r.on,r.On,r.F,p.QB,C.w9],styles:[".bg-light-gray[_ngcontent-%COMP%]{background-color:var(--bs-light-gray);--bs-bg-opacity: .15 !important}.bg-gradient-danger[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#f8d7da,#f8d7da 15px,#f5c6cb 15px,#f5c6cb 30px)!important}.bg-gradient-success[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#28a745,#28a745 15px,#a2dbb0 15px,#a2dbb0 30px)!important}.bg-gradient-warning[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#FCF3CF,#FCF3CF 15px,#F9E79F 15px,#F9E79F 30px)!important}.bg-light-orange[_ngcontent-%COMP%]{background-color:var(--bs-light-orange);--bs-bg-opacity: .15 !important}.text-danger[_ngcontent-%COMP%]{color:#fb404b!important}.text-dark[_ngcontent-%COMP%]{color:#5e5e5e!important}.text-success[_ngcontent-%COMP%]{color:#87cb16!important}.text-black[_ngcontent-%COMP%]{color:#000!important}.text-white[_ngcontent-%COMP%]{color:var(--bs-white)!important}.btn-light-blue[_ngcontent-%COMP%]{color:#212529;background-color:#dfeffc!important;border-color:#dfeffc}.btn-light-blue[_ngcontent-%COMP%]:hover{color:#212529;background-color:#bcdef9;border-color:#b0d8f8}.btn-light-blue[_ngcontent-%COMP%]:focus, .btn-light-blue.focus[_ngcontent-%COMP%]{color:#212529;background-color:#bcdef9;border-color:#b0d8f8;box-shadow:0 0 0 .2rem #c3d1dc80}.btn-light-blue.disabled[_ngcontent-%COMP%], .btn-light-blue[_ngcontent-%COMP%]:disabled{color:#212529;background-color:#dfeffc;border-color:#dfeffc}.btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .show[_ngcontent-%COMP%] > .btn-light-blue.dropdown-toggle[_ngcontent-%COMP%]{color:#212529;background-color:#b0d8f8;border-color:#a5d2f7}.btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus, .btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active:focus, .show[_ngcontent-%COMP%] > .btn-light-blue.dropdown-toggle[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 .2rem #c3d1dc80}.btn-link[_ngcontent-%COMP%]{color:#868686;border-radius:unset;font-family:Roboto Slab,serif}.btn-link.selected[_ngcontent-%COMP%]{color:#3b3b3b;border-bottom:2px solid #07a519}.row.header[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:auto}"]})),l})(),y=(()=>{class l{}return(0,e.Z)(l,"\u0275fac",function(o){return new(o||l)}),(0,e.Z)(l,"\u0275mod",t.oAB({type:l})),(0,e.Z)(l,"\u0275inj",t.cJS({imports:[d.ez,b.dr,h.d,r.u5,r.UX,p.ZU,C.A0]})),l})();class E{constructor(){(0,e.Z)(this,"Title",void 0),(0,e.Z)(this,"FirstName",void 0),(0,e.Z)(this,"LastName",void 0),(0,e.Z)(this,"Name",void 0),(0,e.Z)(this,"Gender",void 0),(0,e.Z)(this,"Mobile",void 0),(0,e.Z)(this,"Email",void 0),(0,e.Z)(this,"Group",void 0),(0,e.Z)(this,"Code",void 0),(0,e.Z)(this,"City",void 0),(0,e.Z)(this,"Address",void 0),(0,e.Z)(this,"Birthdate",void 0),(0,e.Z)(this,"MemberIdentification",void 0),(0,e.Z)(this,"NationalIDNumber",void 0),(0,e.Z)(this,"NationalityID",void 0),(0,e.Z)(this,"RaceID",void 0),(0,e.Z)(this,"CreatorEntityID",void 0)}}},49808:(M,_,s)=>{s.d(_,{n:()=>d});var e=s(86805);function d(h,r){const u="object"==typeof r;return new Promise((p,C)=>{let f,b=!1;h.subscribe({next:t=>{f=t,b=!0},error:C,complete:()=>{b?p(f):u?p(r.defaultValue):C(new e.K)}})})}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkPOS=self.webpackChunkPOS||[]).push([[8923],{75785:(M,_,s)=>{s.d(_,{a:()=>e});var e=(()=>{return(d=e||(e={}))[d.BuyAble=-1]="BuyAble",d[d.BuySellAble=0]="BuySellAble",d[d.SellAble=1]="SellAble",e;var d})()},11156:(M,_,s)=>{s.d(_,{E:()=>e});var e=(()=>{return(d=e||(e={}))[d.Add=0]="Add",d[d.Include=1]="Include",e;var d})()},59660:(M,_,s)=>{s.d(_,{B:()=>h});var e=s(81180),d=s(67327);class h{constructor(){(0,e.Z)(this,"Label",void 0),(0,e.Z)(this,"Groups",void 0),(0,e.Z)(this,"DiscountRate",void 0),(0,e.Z)(this,"SalesID",void 0),(0,e.Z)(this,"Point",void 0),(0,e.Z)(this,"PointUsed",void 0),(0,e.Z)(this,"Debt",void 0),(0,e.Z)(this,"DebtLimit",void 0),(0,e.Z)(this,"ExpiryDate",void 0),(0,e.Z)(this,"DueDays",void 0),(0,e.Z)(this,"DueMonths",void 0),(0,e.Z)(this,"PricebookID",void 0),(0,e.Z)(this,"TaxTypeId",void 0),(0,e.Z)(this,"NationalIDNumber",void 0),(0,e.Z)(this,"MemberIdentification",void 0),(0,e.Z)(this,"EntityID",void 0),(0,e.Z)(this,"Email",void 0),(0,e.Z)(this,"Mobile",void 0),(0,e.Z)(this,"Name",void 0),(0,e.Z)(this,"LoyaltyDisabled",void 0),this.Label="",this.Point=0,this.PointUsed=0,this.Debt=0,this.EntityID=d.gT.GuidEmpty,this.DueMonths=0,this.DueDays=0,this.LoyaltyDisabled=!1}}},69753:(M,_,s)=>{s.d(_,{O:()=>d});var e=s(81180);class d{constructor(){(0,e.Z)(this,"ID",void 0),(0,e.Z)(this,"Name",void 0),(0,e.Z)(this,"Code",void 0),(0,e.Z)(this,"UnitCost",void 0),(0,e.Z)(this,"UnitPrice",void 0),(0,e.Z)(this,"UnitExpense",void 0),(0,e.Z)(this,"Start",void 0),(0,e.Z)(this,"Finish",void 0),(0,e.Z)(this,"UnitQuantity",void 0),(0,e.Z)(this,"PriceDiscount",void 0),(0,e.Z)(this,"UnitPriceOriginal",void 0),(0,e.Z)(this,"Description",void 0),(0,e.Z)(this,"UOM",void 0),(0,e.Z)(this,"UOMName",void 0),(0,e.Z)(this,"ImageUrl",void 0),(0,e.Z)(this,"TypeID",void 0),(0,e.Z)(this,"SellPriceType",void 0),(0,e.Z)(this,"UnitsInStock",void 0),(0,e.Z)(this,"Ordered",void 0),(0,e.Z)(this,"OrderPrice",void 0),(0,e.Z)(this,"OrderPriceDiscount",void 0),(0,e.Z)(this,"Taxable",void 0),(0,e.Z)(this,"LoyaltyPoint",void 0),(0,e.Z)(this,"LoyaltyPointRedeemable",void 0),(0,e.Z)(this,"CategoryName",void 0),(0,e.Z)(this,"CategoryID",void 0),(0,e.Z)(this,"CategoryTypeID",void 0),(0,e.Z)(this,"Serial",void 0),(0,e.Z)(this,"PriceTypeID",void 0),(0,e.Z)(this,"PriceNote",void 0),(0,e.Z)(this,"PaymentTypeID",void 0),(0,e.Z)(this,"Config",void 0),(0,e.Z)(this,"ThumbnailUrl",void 0),(0,e.Z)(this,"Storage",void 0),(0,e.Z)(this,"DiscountAmount",void 0),(0,e.Z)(this,"Component",void 0),(0,e.Z)(this,"PriceBook",void 0),(0,e.Z)(this,"VariantUnitQuantity",void 0),(0,e.Z)(this,"SerialNote",void 0)}}},71965:(M,_,s)=>{s.d(_,{r:()=>f});var e=s(81180),d=s(59660),h=s(54850),r=s(49808),u=s(94650),p=s(89156),C=s(13337),b=s(29099);let f=(()=>{class t{constructor(c,m,v){(0,e.Z)(this,"httpService",void 0),(0,e.Z)(this,"LocalData",void 0),(0,e.Z)(this,"_onlineStatusService",void 0),(0,e.Z)(this,"Data",new d.B),this.httpService=c,this.LocalData=m,this._onlineStatusService=v}addCustomer(c){const m=[];if(c.Group&&m.push(c.Group),this._onlineStatusService.isOnline)return(0,r.n)(this.httpService.post("/API/Contact/Create",{contact:c,type:"customer",groups:m})).catch(P=>Promise.reject(P))}findCustomerByCode(c){return this.httpService.post("/API/Contact/GetByCode",{Code:c})}GetPrivilegeByID(c,m){return this.httpService.post(h.W.GetCustomerPrivilegeByID,{CustomerID:c,EntityID:m})}}return(0,e.Z)(t,"\u0275fac",function(c){return new(c||t)(u.LFG(p.O),u.LFG(C.T),u.LFG(b.q))}),(0,e.Z)(t,"\u0275prov",u.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})),t})()},54840:(M,_,s)=>{s.d(_,{Az:()=>A,O8:()=>E,vH:()=>y});var e=s(81180),d=s(36895),h=s(63165),r=s(24006),u=s(65412),p=s(98085),C=s(88796),b=s(93669),f=s(42046),t=s(94650),Z=s(71965);function c(l,g){1&l&&t._UZ(0,"option",30),2&l&&t.Q6J("value",g.$implicit.Name)}const m=function(l){return{"has-error":l}};function v(l,g){if(1&l&&(t.TgZ(0,"div",31)(1,"i",32),t._uU(2," Name is mandatory."),t.qZA()()),2&l){t.oxw();const o=t.MAs(11);t.Q6J("ngClass",t.VKq(1,m,o.touched&&o.invalid))}}function P(l,g){if(1&l&&(t.TgZ(0,"div",31)(1,"i",32),t._uU(2," Mobile is mandatory."),t.qZA()()),2&l){t.oxw();const o=t.MAs(23);t.Q6J("ngClass",t.VKq(1,m,o.invalid))}}const T=function(l){return{"border border-danger":l}},D=function(l){return{"is-invalid border border-danger":l}};function x(l,g){if(1&l){const o=t.EpF();t.TgZ(0,"div",8)(1,"div",9)(2,"div",10)(3,"input",11),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Title=n)}),t.qZA(),t.TgZ(4,"label",12),t._uU(5,"Title"),t.qZA(),t.TgZ(6,"datalist",13),t.YNc(7,c,1,1,"option",14),t.qZA()()(),t.TgZ(8,"div",15)(9,"div",10)(10,"input",16,17),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.FirstName=n)}),t.qZA(),t.YNc(12,v,3,3,"div",18),t.TgZ(13,"label",19),t._uU(14,"First Name"),t.qZA()()(),t.TgZ(15,"div",20)(16,"div",10)(17,"input",21),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.LastName=n)}),t.qZA(),t.TgZ(18,"label",22),t._uU(19,"Last Name"),t.qZA()()(),t.TgZ(20,"div",23)(21,"div",10)(22,"input",24,25),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Mobile=n)}),t.qZA(),t.YNc(24,P,3,3,"div",18),t.TgZ(25,"label",26),t._uU(26,"Mobile"),t.qZA()()(),t.TgZ(27,"div",23)(28,"div",10)(29,"input",27,28),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Email=n)}),t.qZA(),t.TgZ(31,"label",29),t._uU(32,"Email"),t.qZA()()()()}if(2&l){const o=t.MAs(11),a=t.MAs(23),n=t.MAs(30),i=t.oxw();t.xp6(3),t.Q6J("ngModel",i.customer.Title),t.xp6(4),t.Q6J("ngForOf",null==i.options?null:i.options.Titles),t.xp6(3),t.Q6J("ngClass",t.VKq(14,T,o.touched&&o.invalid))("ngModel",i.customer.FirstName)("required",!0),t.xp6(2),t.Q6J("ngIf",o.touched&&o.invalid),t.xp6(5),t.Q6J("ngModel",i.customer.LastName),t.xp6(5),t.Q6J("ngClass",t.VKq(16,D,a.invalid))("ngModel",i.customer.Mobile)("required",i.config.Advance.RequireContactMobile),t.xp6(2),t.Q6J("ngIf",a.invalid),t.xp6(5),t.Q6J("ngClass",t.VKq(18,D,n.invalid))("ngModel",i.customer.Email)("required",i.config.Advance.RequireEmailActivation)}}function I(l,g){if(1&l){const o=t.EpF();t.TgZ(0,"div",33)(1,"div",34)(2,"label",35),t._uU(3,"Address"),t.qZA(),t.TgZ(4,"textarea",36),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Address=n)}),t.qZA()(),t.TgZ(5,"div",23)(6,"ng-select",37),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.City=n)}),t.qZA()(),t.TgZ(7,"div",23)(8,"ng-select",38),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.NationalityID=n)}),t.qZA()(),t.TgZ(9,"div",23)(10,"ng-select",39),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Gender=n)}),t.qZA()(),t.TgZ(11,"div",23)(12,"div",10)(13,"input",40),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Code=n)}),t.qZA(),t.TgZ(14,"label",41),t._uU(15,"Member Code"),t.qZA()()(),t.TgZ(16,"div",23)(17,"div",10)(18,"input",42),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.NationalIDNumber=n)}),t.qZA(),t.TgZ(19,"label",43),t._uU(20,"Identification"),t.qZA()()(),t.TgZ(21,"div",44)(22,"div",10)(23,"datepicker",45),t.NdJ("dateChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Birthdate=n)}),t.qZA()()(),t.TgZ(24,"div",46)(25,"strong"),t._uU(26,"Customer Race"),t.qZA(),t.TgZ(27,"ng-select",47),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.RaceID=n)}),t.qZA()(),t.TgZ(28,"div",46)(29,"strong"),t._uU(30,"Group"),t.qZA(),t.TgZ(31,"ng-select",48),t.NdJ("ngModelChange",function(n){t.CHM(o);const i=t.oxw();return t.KtG(i.customer.Group=n)}),t.qZA()()()}if(2&l){const o=t.oxw();t.xp6(4),t.Q6J("ngModel",o.customer.Address),t.xp6(2),t.Q6J("ngModel",o.customer.City)("items",null==o.options?null:o.options.Cities),t.xp6(2),t.Q6J("ngModel",o.customer.NationalityID)("items",null==o.options?null:o.options.Nationalities),t.xp6(2),t.Q6J("ngModel",o.customer.Gender)("items",null==o.options?null:o.options.Genders),t.xp6(3),t.Q6J("ngModel",o.customer.Code),t.xp6(5),t.Q6J("ngModel",o.customer.NationalIDNumber),t.xp6(5),t.Q6J("date",o.customer.Birthdate),t.xp6(4),t.Q6J("ngModel",o.customer.RaceID)("items",null==o.options?null:o.options.Races),t.xp6(4),t.Q6J("ngModel",o.customer.Group)("items",null==o.options?null:o.options.Groups)}}const O=function(l){return{selected:l}};let A=(()=>{class l{constructor(o,a,n){(0,e.Z)(this,"dialogRef",void 0),(0,e.Z)(this,"data",void 0),(0,e.Z)(this,"_CustomerHttpService",void 0),(0,e.Z)(this,"customer",void 0),(0,e.Z)(this,"options",void 0),(0,e.Z)(this,"type",void 0),(0,e.Z)(this,"config",void 0),(0,e.Z)(this,"more",void 0),(0,e.Z)(this,"modalConfig",void 0),(0,e.Z)(this,"detailVisible",void 0),this.dialogRef=o,this.data=a,this._CustomerHttpService=n,this.modalConfig=new f.O,this.modalConfig.title=this.data.title,this.modalConfig.customWidth="532px",this.options=this.data.options,this.config=this.data.config,this.type=this.data.type}ngOnInit(){this.customer=new E,this.initFirstName(),this.customer.Gender=this.config.DefaultValue.Gender,this.more=!1}initFirstName(){this.data&&this.data.inputTextName&&(this.customer.FirstName=this.data.inputTextName)}onOk(){let o=this.customer.Title?this.customer.Title:"";o+=" "+this.customer.FirstName,o+=" "+(this.customer.LastName?this.customer.LastName:""),o=o.trim(),this.customer.Name=o,"customer"==this.type?this._CustomerHttpService.addCustomer(this.customer).then(a=>{this.dialogRef.close({ContactName:o,CustomerID:a.ID})}).catch(a=>{this.dialogRef.close({Error:a})}):"supplier"==this.type&&this.dialogRef.close({supplier:this.customer})}chooiceDetail(o){this.detailVisible=o}}return(0,e.Z)(l,"\u0275fac",function(o){return new(o||l)(t.Y36(u.so),t.Y36(u.WI),t.Y36(Z.r))}),(0,e.Z)(l,"\u0275cmp",t.Xpm({type:l,selectors:[["POS-modal-customer"]],decls:13,vars:10,consts:[[3,"config","dynamicValidated","onOk","onCancel","onClose"],[1,"container"],["name","form"],["f","ngForm"],[1,"row","header","align-items-center","py-2","my-2","g-0"],[1,"btn","btn-link","pt-0","pb-4",3,"ngClass","click"],["class","row g-3",4,"ngIf"],["class","row mt-2",4,"ngIf"],[1,"row","g-3"],[1,"col-md-3","mt-5"],[1,"form-floating-outline"],["list","cust-title","id","Title","name","Title","placeholder","Title",1,"form-control",3,"ngModel","ngModelChange"],["for","Title"],["id","cust-title"],[3,"value",4,"ngFor","ngForOf"],[1,"col-md-5","mt-5"],["type","text","id","FirstName","name","FirstName","placeholder","First Name",1,"form-control",3,"ngClass","ngModel","required","ngModelChange"],["FirstName","ngModel"],[3,"ngClass",4,"ngIf"],["for","FirstName"],[1,"col-md-4","mt-5"],["type","text","id","LastName","name","LastName","placeholder","Last Name",1,"form-control",3,"ngModel","ngModelChange"],["for","LastName"],[1,"col-md-6","mt-5"],["type","text","name","Phone","placeholder","Mobile",1,"form-control",3,"ngClass","ngModel","required","ngModelChange"],["Phone","ngModel"],["for","Phone"],["type","email","name","Email","placeholder","Email","email","",1,"form-control",3,"ngClass","ngModel","required","ngModelChange"],["Email","ngModel"],["for","email"],[3,"value"],[3,"ngClass"],[1,"control-label","text-danger"],[1,"row","mt-2"],[1,"col-md-12"],[1,"fw-bold"],["name","address",1,"form-control",3,"ngModel","ngModelChange"],["name","city","bindLabel","Name","bindValue","ID","placeholder","City","dropdownPosition","buttom",1,"tall","outlet","auto-grow",3,"ngModel","items","ngModelChange"],["name","NationalityID","bindLabel","Name","bindValue","ID","placeholder","Nationality","dropdownPosition","buttom",1,"tall","outlet","auto-grow",3,"ngModel","items","ngModelChange"],["name","gender","bindLabel","Value","bindValue","Key","placeholder","Gender","dropdownPosition","buttom",1,"tall","outlet","auto-grow",3,"ngModel","items","ngModelChange"],["type","text","name","code","id","code","placeholder","Member Code",1,"form-control",3,"ngModel","ngModelChange"],["for","code"],["type","text","id","Identification","name","Identification","placeholder","Identification",1,"form-control",3,"ngModel","ngModelChange"],["for","Identification"],[1,"col-auto","w-50","mt-5"],["placeholder","Birthday","name","orderDate",3,"date","dateChange"],[1,"col-md","pt-5"],["name","race","bindLabel","Name","bindValue","ID","placeholder","Race","dropdownPosition","top",1,"tall","outlet","auto-grow",3,"ngModel","items","ngModelChange"],["name","group","bindLabel","Name","bindValue","ID","placeholder","Group","dropdownPosition","top",1,"tall","outlet","auto-grow",3,"ngModel","items","ngModelChange"]],template:function(o,a){if(1&o&&(t.TgZ(0,"modal-material",0),t.NdJ("onOk",function(){return a.onOk()})("onCancel",function(){return a.dialogRef.close()})("onClose",function(){return a.dialogRef.close()}),t.TgZ(1,"content")(2,"div",1)(3,"form",2,3)(5,"div",4)(6,"a",5),t.NdJ("click",function(){return a.chooiceDetail(!1)}),t._uU(7," General "),t.qZA(),t.TgZ(8,"a",5),t.NdJ("click",function(){return a.chooiceDetail(!0)}),t._uU(9," Detail "),t.qZA()(),t.TgZ(10,"div"),t.YNc(11,x,33,20,"div",6),t.YNc(12,I,32,14,"div",7),t.qZA()()()()()),2&o){const n=t.MAs(4);t.Q6J("config",a.modalConfig)("dynamicValidated",n.valid),t.xp6(6),t.Q6J("ngClass",t.VKq(6,O,!a.detailVisible)),t.xp6(2),t.Q6J("ngClass",t.VKq(8,O,a.detailVisible)),t.xp6(3),t.Q6J("ngIf",!a.detailVisible),t.xp6(1),t.Q6J("ngIf",a.detailVisible)}},dependencies:[d.mk,d.sg,d.O5,h.M,r._Y,r.YN,r.Kr,r.Fj,r.JJ,r.JL,r.Q7,r.on,r.On,r.F,p.QB,C.w9],styles:[".bg-light-gray[_ngcontent-%COMP%]{background-color:var(--bs-light-gray);--bs-bg-opacity: .15 !important}.bg-gradient-danger[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#f8d7da,#f8d7da 15px,#f5c6cb 15px,#f5c6cb 30px)!important}.bg-gradient-success[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#28a745,#28a745 15px,#a2dbb0 15px,#a2dbb0 30px)!important}.bg-gradient-warning[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#FCF3CF,#FCF3CF 15px,#F9E79F 15px,#F9E79F 30px)!important}.bg-light-orange[_ngcontent-%COMP%]{background-color:var(--bs-light-orange);--bs-bg-opacity: .15 !important}.text-danger[_ngcontent-%COMP%]{color:#fb404b!important}.text-dark[_ngcontent-%COMP%]{color:#5e5e5e!important}.text-success[_ngcontent-%COMP%]{color:#87cb16!important}.text-black[_ngcontent-%COMP%]{color:#000!important}.text-white[_ngcontent-%COMP%]{color:var(--bs-white)!important}.btn-light-blue[_ngcontent-%COMP%]{color:#212529;background-color:#dfeffc!important;border-color:#dfeffc}.btn-light-blue[_ngcontent-%COMP%]:hover{color:#212529;background-color:#bcdef9;border-color:#b0d8f8}.btn-light-blue[_ngcontent-%COMP%]:focus, .btn-light-blue.focus[_ngcontent-%COMP%]{color:#212529;background-color:#bcdef9;border-color:#b0d8f8;box-shadow:0 0 0 .2rem #c3d1dc80}.btn-light-blue.disabled[_ngcontent-%COMP%], .btn-light-blue[_ngcontent-%COMP%]:disabled{color:#212529;background-color:#dfeffc;border-color:#dfeffc}.btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .show[_ngcontent-%COMP%] > .btn-light-blue.dropdown-toggle[_ngcontent-%COMP%]{color:#212529;background-color:#b0d8f8;border-color:#a5d2f7}.btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus, .btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active:focus, .show[_ngcontent-%COMP%] > .btn-light-blue.dropdown-toggle[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 .2rem #c3d1dc80}.btn-link[_ngcontent-%COMP%]{color:#868686;border-radius:unset;font-family:Roboto Slab,serif}.btn-link.selected[_ngcontent-%COMP%]{color:#3b3b3b;border-bottom:2px solid #07a519}.row.header[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:auto}"]})),l})(),y=(()=>{class l{}return(0,e.Z)(l,"\u0275fac",function(o){return new(o||l)}),(0,e.Z)(l,"\u0275mod",t.oAB({type:l})),(0,e.Z)(l,"\u0275inj",t.cJS({imports:[d.ez,b.dr,h.d,r.u5,r.UX,p.ZU,C.A0]})),l})();class E{constructor(){(0,e.Z)(this,"Title",void 0),(0,e.Z)(this,"FirstName",void 0),(0,e.Z)(this,"LastName",void 0),(0,e.Z)(this,"Name",void 0),(0,e.Z)(this,"Gender",void 0),(0,e.Z)(this,"Mobile",void 0),(0,e.Z)(this,"Email",void 0),(0,e.Z)(this,"Group",void 0),(0,e.Z)(this,"Code",void 0),(0,e.Z)(this,"City",void 0),(0,e.Z)(this,"Address",void 0),(0,e.Z)(this,"Birthdate",void 0),(0,e.Z)(this,"MemberIdentification",void 0),(0,e.Z)(this,"NationalIDNumber",void 0),(0,e.Z)(this,"NationalityID",void 0),(0,e.Z)(this,"RaceID",void 0),(0,e.Z)(this,"CreatorEntityID",void 0)}}},49808:(M,_,s)=>{s.d(_,{n:()=>d});var e=s(86805);function d(h,r){const u="object"==typeof r;return new Promise((p,C)=>{let f,b=!1;h.subscribe({next:t=>{f=t,b=!0},error:C,complete:()=>{b?p(f):u?p(r.defaultValue):C(new e.K)}})})}}}]);
|
package/POS/index.html
CHANGED
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
<script>
|
|
19
19
|
(function () { var w = window; var ic = w.Intercom; if (typeof ic === "function") { ic('reattach_activator'); ic('update', w.intercomSettings); } else { var d = document; var i = function () { i.c(arguments); }; i.q = []; i.c = function (args) { i.q.push(args); }; w.Intercom = i; var l = function () { var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://widget.intercom.io/widget/xv1oomgl'; var x = d.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); }; if (w.attachEvent) { w.attachEvent('onload', l); } else { w.addEventListener('load', l, false); } } })();
|
|
20
20
|
</script>
|
|
21
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/dealpos@12.3.
|
|
21
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/dealpos@12.3.4/POS/styles.817a1099e234123f.css"></head>
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
<body>
|
|
25
25
|
<app-root></app-root>
|
|
26
|
-
<script src="https://cdn.jsdelivr.net/npm/dealpos@12.3.
|
|
26
|
+
<script src="https://cdn.jsdelivr.net/npm/dealpos@12.3.4/POS/runtime.c5300c7900a66975.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/dealpos@12.3.4/POS/polyfills.b206b04362e57e9e.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/dealpos@12.3.4/POS/scripts.a7469d1567e78ada.js" defer></script><script src="https://cdn.jsdelivr.net/npm/dealpos@12.3.4/POS/main.858685debc9dba17.js" type="module"></script></body>
|
|
27
27
|
|
|
28
28
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e,h={},v={};function t(e){var f=v[e];if(void 0!==f)return f.exports;var a=v[e]={id:e,loaded:!1,exports:{}};return h[e].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}t.m=h,e=[],t.O=(f,a,d,b)=>{if(!a){var r=1/0;for(c=0;c<e.length;c++){for(var[a,d,b]=e[c],s=!0,n=0;n<a.length;n++)(!1&b||r>=b)&&Object.keys(t.O).every(u=>t.O[u](a[n]))?a.splice(n--,1):(s=!1,b<r&&(r=b));if(s){e.splice(c--,1);var o=d();void 0!==o&&(f=o)}}return f}b=b||0;for(var c=e.length;c>0&&e[c-1][2]>b;c--)e[c]=e[c-1];e[c]=[a,d,b]},t.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return t.d(f,{a:f}),f},(()=>{var f,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;t.t=function(a,d){if(1&d&&(a=this(a)),8&d||"object"==typeof a&&a&&(4&d&&a.__esModule||16&d&&"function"==typeof a.then))return a;var b=Object.create(null);t.r(b);var c={};f=f||[null,e({}),e([]),e(e)];for(var r=2&d&&a;"object"==typeof r&&!~f.indexOf(r);r=e(r))Object.getOwnPropertyNames(r).forEach(s=>c[s]=()=>a[s]);return c.default=()=>a,t.d(b,c),b}})(),t.d=(e,f)=>{for(var a in f)t.o(f,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:f[a]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((f,a)=>(t.f[a](e,f),f),[])),t.u=e=>(8592===e?"common":e)+"."+{57:"0d64390c748850f1",115:"e8b3887103adc951",273:"e940ce459c88fd7e",500:"56c57fd10be41534",585:"53535e95a19e7715",758:"1fba419f75bf03f5",805:"088856556803a58d",811:"d8f8f513de18077a",1296:"7f604d6c615dfec7",1407:"85914d8e8c92f2f5",1795:"213d67a8e9e3815c",1853:"e616ac5b6d9a72b6",2004:"30b75999d4f79e74",2199:"46c85387825bdd79",2255:"62dcb431847346de",2270:"50eee193516f1970",2527:"5c2bd53f470f2200",2545:"486ecfb5b5ac4d10",2750:"daa4c2166cb8163c",3194:"fd5001dd46b3ec69",3259:"3f0b8dc27a85bb12",3337:"47497dbbd3587b88",3669:"fc09b8054b66c8db",3848:"b772c763df8ce73c",3920:"6a6b66be6b1de3df",4006:"2820f4884cf41fe7",4020:"d39490e967282158",4177:"32c538931424ec22",4749:"fbb57866dce34993",4825:"1858e6252b361484",4941:"fdbbba5388752626",4970:"13d9fca400be554f",5189:"921845ef5e27db19",5418:"1a6d740d7982b8d7",5586:"6557e4bd206a28bd",6111:"97d706369fa0dec2",6268:"ba81ff834f86b26a",6303:"4ed4bd17dea67448",6308:"15b586cbd38d6f02",6461:"41e0edee0d84a41d",6499:"6d348c0f69ed1f80",6510:"e3d765a55020ca05",6664:"acfbb610f61c1f9a",6709:"5e299e25353363ee",6756:"6e784090bca3fb75",6840:"d0036ec626577639",7106:"df1f2bbc04a1d112",7193:"5aab83e439ad6cc1",7298:"4f027fbf7f63217a",7331:"8e7039b3741276a5",7392:"83df6bcc4c9f60c0",7490:"2db20e6f4e74de4e",7516:"dbdb2393350fbba8",7998:"9f3d527343a13020",8006:"f2ff1f702bbaa0aa",8054:"2a0e152902f9454b",8085:"5defee7ab42fda1c",8105:"0e2ce9502274d8e1",8126:"ef6fc7f6dc10f056",8317:"75fb5ab533934ebd",8393:"fdebeb03580d2bee",8401:"431c29e3bcdfa0d1",8592:"0223aa170d4d3551",8670:"e2ba622ead6066b5",8761:"d29137402054d41a",8914:"d0e02a830793f3f8",8923:"
|
|
1
|
+
(()=>{"use strict";var e,h={},v={};function t(e){var f=v[e];if(void 0!==f)return f.exports;var a=v[e]={id:e,loaded:!1,exports:{}};return h[e].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}t.m=h,e=[],t.O=(f,a,d,b)=>{if(!a){var r=1/0;for(c=0;c<e.length;c++){for(var[a,d,b]=e[c],s=!0,n=0;n<a.length;n++)(!1&b||r>=b)&&Object.keys(t.O).every(u=>t.O[u](a[n]))?a.splice(n--,1):(s=!1,b<r&&(r=b));if(s){e.splice(c--,1);var o=d();void 0!==o&&(f=o)}}return f}b=b||0;for(var c=e.length;c>0&&e[c-1][2]>b;c--)e[c]=e[c-1];e[c]=[a,d,b]},t.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return t.d(f,{a:f}),f},(()=>{var f,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;t.t=function(a,d){if(1&d&&(a=this(a)),8&d||"object"==typeof a&&a&&(4&d&&a.__esModule||16&d&&"function"==typeof a.then))return a;var b=Object.create(null);t.r(b);var c={};f=f||[null,e({}),e([]),e(e)];for(var r=2&d&&a;"object"==typeof r&&!~f.indexOf(r);r=e(r))Object.getOwnPropertyNames(r).forEach(s=>c[s]=()=>a[s]);return c.default=()=>a,t.d(b,c),b}})(),t.d=(e,f)=>{for(var a in f)t.o(f,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:f[a]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((f,a)=>(t.f[a](e,f),f),[])),t.u=e=>(8592===e?"common":e)+"."+{57:"0d64390c748850f1",115:"e8b3887103adc951",273:"e940ce459c88fd7e",500:"56c57fd10be41534",585:"53535e95a19e7715",758:"1fba419f75bf03f5",805:"088856556803a58d",811:"d8f8f513de18077a",1296:"7f604d6c615dfec7",1407:"85914d8e8c92f2f5",1795:"213d67a8e9e3815c",1853:"e616ac5b6d9a72b6",2004:"30b75999d4f79e74",2199:"46c85387825bdd79",2255:"62dcb431847346de",2270:"50eee193516f1970",2527:"5c2bd53f470f2200",2545:"486ecfb5b5ac4d10",2750:"daa4c2166cb8163c",3194:"fd5001dd46b3ec69",3259:"3f0b8dc27a85bb12",3337:"47497dbbd3587b88",3669:"fc09b8054b66c8db",3848:"b772c763df8ce73c",3920:"6a6b66be6b1de3df",4006:"2820f4884cf41fe7",4020:"d39490e967282158",4177:"32c538931424ec22",4749:"fbb57866dce34993",4825:"1858e6252b361484",4941:"fdbbba5388752626",4970:"13d9fca400be554f",5189:"921845ef5e27db19",5418:"1a6d740d7982b8d7",5586:"6557e4bd206a28bd",6111:"97d706369fa0dec2",6268:"ba81ff834f86b26a",6303:"4ed4bd17dea67448",6308:"15b586cbd38d6f02",6461:"41e0edee0d84a41d",6499:"6d348c0f69ed1f80",6510:"e3d765a55020ca05",6664:"acfbb610f61c1f9a",6709:"5e299e25353363ee",6756:"6e784090bca3fb75",6840:"d0036ec626577639",7106:"df1f2bbc04a1d112",7193:"5aab83e439ad6cc1",7298:"4f027fbf7f63217a",7331:"8e7039b3741276a5",7392:"83df6bcc4c9f60c0",7490:"2db20e6f4e74de4e",7516:"dbdb2393350fbba8",7998:"9f3d527343a13020",8006:"f2ff1f702bbaa0aa",8054:"2a0e152902f9454b",8085:"5defee7ab42fda1c",8105:"0e2ce9502274d8e1",8126:"ef6fc7f6dc10f056",8317:"75fb5ab533934ebd",8393:"fdebeb03580d2bee",8401:"431c29e3bcdfa0d1",8592:"0223aa170d4d3551",8670:"e2ba622ead6066b5",8761:"d29137402054d41a",8914:"d0e02a830793f3f8",8923:"6bd1c1dc05546064",8971:"cf1d2270a6ce4804",9055:"c66f6d7b3c6e98dd",9160:"c5c1a01604f1c513",9484:"e025327180507338",9612:"bcce20147af69823",9798:"581e095f45fa09cd",9841:"3d9ab4f85d466a9c",9942:"d6d8037bdac372c2"}[e]+".js",t.miniCssF=e=>{},t.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),t.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="POS:";t.l=(a,d,b,c)=>{if(e[a])e[a].push(d);else{var r,s;if(void 0!==b)for(var n=document.getElementsByTagName("script"),o=0;o<n.length;o++){var i=n[o];if(i.getAttribute("src")==a||i.getAttribute("data-webpack")==f+b){r=i;break}}r||(s=!0,(r=document.createElement("script")).type="module",r.charset="utf-8",r.timeout=120,t.nc&&r.setAttribute("nonce",t.nc),r.setAttribute("data-webpack",f+b),r.src=t.tu(a)),e[a]=[d];var l=(g,u)=>{r.onerror=r.onload=null,clearTimeout(p);var y=e[a];if(delete e[a],r.parentNode&&r.parentNode.removeChild(r),y&&y.forEach(O=>O(u)),g)return g(u)},p=setTimeout(l.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=l.bind(null,r.onerror),r.onload=l.bind(null,r.onload),s&&document.head.appendChild(r)}}})(),t.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;t.tt=()=>(void 0===e&&(e={createScriptURL:f=>f},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),t.tu=e=>t.tt().createScriptURL(e),t.p="https://cdn.jsdelivr.net/npm/dealpos@12.3.4/POS/",(()=>{var e={3666:0};t.f.j=(d,b)=>{var c=t.o(e,d)?e[d]:void 0;if(0!==c)if(c)b.push(c[2]);else if(3666!=d){var r=new Promise((i,l)=>c=e[d]=[i,l]);b.push(c[2]=r);var s=t.p+t.u(d),n=new Error;t.l(s,i=>{if(t.o(e,d)&&(0!==(c=e[d])&&(e[d]=void 0),c)){var l=i&&("load"===i.type?"missing":i.type),p=i&&i.target&&i.target.src;n.message="Loading chunk "+d+" failed.\n("+l+": "+p+")",n.name="ChunkLoadError",n.type=l,n.request=p,c[1](n)}},"chunk-"+d,d)}else e[d]=0},t.O.j=d=>0===e[d];var f=(d,b)=>{var n,o,[c,r,s]=b,i=0;if(c.some(p=>0!==e[p])){for(n in r)t.o(r,n)&&(t.m[n]=r[n]);if(s)var l=s(t)}for(d&&d(b);i<c.length;i++)t.o(e,o=c[i])&&e[o]&&e[o][0](),e[o]=0;return t.O(l)},a=self.webpackChunkPOS=self.webpackChunkPOS||[];a.forEach(f.bind(null,0)),a.push=f.bind(null,a.push.bind(a))})()})();
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"dealpos","version":"12.3.
|
|
1
|
+
{"name":"dealpos","version":"12.3.4"}
|