dealpos 12.5.5 → 12.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/POS/1001.c6ad183315e23d65.js +1 -0
- package/POS/1100.bc62496898642cac.js +1 -0
- package/POS/1119.cd861afcda7ef60d.js +1 -0
- package/POS/1401.64be432f2a6bac8c.js +1 -0
- package/POS/1786.03bd8b5fc7b9074f.js +1 -0
- package/POS/3672.a4bb81ab5706d969.js +1 -0
- package/POS/3831.3340e68d9bf4e8ef.js +1 -0
- package/POS/3962.da748019e18211a6.js +1 -0
- package/POS/4114.a4362b1fe54ea67d.js +1 -0
- package/POS/4192.728df153f6257bae.js +1 -0
- package/POS/50.e4a0613d8f821fa4.js +1 -0
- package/POS/5465.77b5fd91e99685cf.js +1 -0
- package/POS/6508.4d78f5c2a75f3ba3.js +1 -0
- package/POS/6544.e204c4b0281b4f6f.js +1 -0
- package/POS/6865.87b79c32b68bef0b.js +1 -0
- package/POS/7074.851450c8f9a93131.js +1 -0
- package/POS/778.ee04e0bdb250923e.js +1 -0
- package/POS/{7893.388d5e8ef7bb41d4.js → 7893.25fe2ee202d5c560.js} +1 -1
- package/POS/8170.eed3731144a74146.js +1 -0
- package/POS/9022.992894dc663ec6e7.js +1 -0
- package/POS/9425.f567f20f7c450d76.js +1 -0
- package/POS/9484.18757950a537f825.js +1 -0
- package/POS/{9967.f6afd0b11c7d844f.js → 9967.b71e4c21da61aeae.js} +1 -1
- package/POS/index.html +2 -2
- package/POS/{main.41c5c50e27f1c93b.js → main.2e00330e8827aa95.js} +1 -1
- package/POS/runtime.3485b588ff1666c3.js +1 -0
- package/POS/{styles.c729f85db6bcae9e.css → styles.b30e3027a1926704.css} +1 -1
- package/package.json +1 -1
- package/POS/1001.a9f37654537245cb.js +0 -1
- package/POS/1100.3e2fbb4a4759e460.js +0 -1
- package/POS/1119.118b73798857c15b.js +0 -1
- package/POS/1401.a2d88a81082ce42b.js +0 -1
- package/POS/296.776f1adc454f4b97.js +0 -1
- package/POS/3672.eec9c6e15ad3b705.js +0 -1
- package/POS/3831.9fdba7c806560d4e.js +0 -1
- package/POS/3962.c15362f193af2411.js +0 -1
- package/POS/4192.fa45b25c8db527e0.js +0 -1
- package/POS/50.b0eda37ee3f6a620.js +0 -1
- package/POS/5465.5f04e34edb687d11.js +0 -1
- package/POS/6301.eecd6535ee8da743.js +0 -1
- package/POS/6508.d6ef892adb0158ca.js +0 -1
- package/POS/6865.c7163151dd996298.js +0 -1
- package/POS/7074.ebeeab37e1781bc0.js +0 -1
- package/POS/7134.4062ec241d569cfb.js +0 -1
- package/POS/8110.029fcf0d8181d847.js +0 -1
- package/POS/8612.0ecd2d6f093653ae.js +0 -1
- package/POS/9022.d18a748355557055.js +0 -1
- package/POS/9425.836dbad878ee1eb1.js +0 -1
- package/POS/9484.789f564bdf014601.js +0 -1
- package/POS/runtime.7991d8d9f5faa09b.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkPOS=self.webpackChunkPOS||[]).push([[1001],{41001:(_,S,i)=>{i.d(S,{e:()=>I});var e=i(81180),P=i(86864),t=i(41927),u=i(99397),n=i(65879),A=i(27874),a=i(10459),r=i(64190),s=i(82430),d=i(4508);let I=(()=>{var l;class g{constructor(o,c,v,y,p){(0,e.Z)(this,"httpService",void 0),(0,e.Z)(this,"cookieService",void 0),(0,e.Z)(this,"router",void 0),(0,e.Z)(this,"roleService",void 0),(0,e.Z)(this,"intercomService",void 0),(0,e.Z)(this,"role",[]),(0,e.Z)(this,"_returnUrl",void 0),(0,e.Z)(this,"_loginResponse",void 0),(0,e.Z)(this,"_jwtToken",void 0),this.httpService=o,this.cookieService=c,this.router=v,this.roleService=y,this.intercomService=p}set returnUrl(o){this._returnUrl=o}get returnUrl(){return this._returnUrl}login(o){return this.httpService.post("/api/Login/Web",o).pipe((0,u.b)(c=>{this._loginResponse=c,"geo"==c.Type||"totp"==c.Type||this.saveLoginConfigToStorage(c)}))}loginLoader(){return this.httpService.get("/api/login/Loader")}forgotPassword(){}resetPassword(){}logout(){localStorage.removeItem("ConfigData"),localStorage.removeItem("Token"),localStorage.removeItem("Roles"),localStorage.removeItem("MenuPageData"),localStorage.removeItem("CloudinaryConfig"),localStorage.removeItem("SubscriptionStatus"),this.cookieService.delete("ReportFilter","/"),this.intercomService.shutdown(),this._jwtToken=null,this.roleService.resetRoles(),this.router.navigate(["/"])}refreshToken(){this.httpService.post(t.W.RefreshToken,{}).subscribe(o=>{localStorage.removeItem("Token"),localStorage.setItem("Token",o.Token),this._jwtToken=null,this.roleService.resetRoles(),this.roleService.parseJWTRoles()})}isTokenExpired(){const o=localStorage.getItem("Token");if(o){let c=P.g.parseJwt(o);const v=this.convertUnixTimesTamp(c.exp),y=new Date;if(v.getTime()-y.getTime()>0)return!1}return!0}isInRole(o){o.forEach(c=>c(this.role))}convertUnixTimesTamp(o){return new Date(1e3*o)}saveLoginConfigToStorage(o){localStorage.setItem("MenuPageData",JSON.stringify(o?.Menu)),localStorage.setItem("Token",o?.Token),localStorage.setItem("TinyMCEPlugins",o?.UIConfig.TinyMCE),this.intercomService.updateLocalStorage(o?.Intercom),localStorage.setItem("CloudinaryConfig",o?.UIConfig.CloudinaryConfig),localStorage.setItem("DataDaysRange",o?.UIConfig.DataDaysRange),localStorage.setItem("SubscriptionStatus",JSON.stringify(o?.SubscriptionStatus));const c=this.getParseToken();localStorage.setItem("NotificationOutletID",c?.NotificationOutletID),this.roleService.parseJWTRoles(),this._loginResponse=null}getParseToken(){let o=localStorage.getItem("Token");return o&&!this._jwtToken&&(this._jwtToken=P.g.parseJwt(o)),this._jwtToken}get loginResponse(){return this._loginResponse}getSubscriptionStatus(){let o=localStorage.getItem("SubscriptionStatus");return o?parseInt(o):null}}return l=g,(0,e.Z)(g,"\u0275fac",function(o){return new(o||l)(n.LFG(A.O),n.LFG(a.N),n.LFG(r.F0),n.LFG(s.N),n.LFG(d.f))}),(0,e.Z)(g,"\u0275prov",n.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})),g})()},4508:(_,S,i)=>{i.d(S,{f:()=>u});var e=i(81180),P=i(86864),t=i(65879);let u=(()=>{var n;class A{constructor(){}inititalizeIntercom(){let r=this.getFromLocalStorage();r?.Enabled&&window.Intercom("boot",{app_id:"xv1oomgl",name:r.Name,email:r.Email,created_at:r.Created,user_hash:r.Hash})}shutdown(){this.getFromLocalStorage()?.Enabled&&(window.Intercom("shutdown"),this.clearStorage())}clearStorage(){localStorage.removeItem("Intercom")}updateLocalStorage(r){localStorage.setItem("Intercom",JSON.stringify(r))}getFromLocalStorage(){const r=localStorage.getItem("Intercom");return JSON.parse(r)}hideLauncher(){let r=this.getFromLocalStorage();r?.Enabled&&(window.Intercom("update",{app_id:"xv1oomgl",hide_default_launcher:!0}),r.hide_default_launcher=!0,this.updateLocalStorage(r))}showLauncher(){let r=this.getFromLocalStorage();r?.Enabled&&(window.Intercom("update",{app_id:"xv1oomgl",hide_default_launcher:!1}),r.hide_default_launcher=!1,this.updateLocalStorage(r))}isHideLauncher(){let r=this.getFromLocalStorage();return!P.g.IsEmpty(r?.hide_default_launcher)&&r?.hide_default_launcher}}return n=A,(0,e.Z)(A,"\u0275fac",function(r){return new(r||n)}),(0,e.Z)(A,"\u0275prov",t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})),A})()},41927:(_,S,i)=>{i.d(S,{W:()=>P});var e=i(81180);let P=(()=>{class t{}return(0,e.Z)(t,"GetPOSStorage","/API/POS/LoadPOS"),(0,e.Z)(t,"GenerateNumber","/API/POS/GenerateNumber"),(0,e.Z)(t,"RefreshToken","/API/Authentication/RefreshToken"),(0,e.Z)(t,"RemovePark","/API/POS/RemovePark"),(0,e.Z)(t,"VoidPark","/API/POS/VoidPark"),(0,e.Z)(t,"ReturInvoice","/API/POS/ReturInvoice"),(0,e.Z)(t,"BuyReturInvoice","/API/Buy/GetSupplierInvoiceRetur"),(0,e.Z)(t,"GetSalesOrderJSONByID","/API/POS/GetSalesOrderJSONByID"),(0,e.Z)(t,"GetPOSDataByID","/API/POS/GetPOSDataByID"),(0,e.Z)(t,"MergePark","/API/POS/MergePark"),(0,e.Z)(t,"GetPark","/API/POS/GetParkByEntityID"),(0,e.Z)(t,"GetOutStanding","/API/POS/GetOutStandingByEntityID"),(0,e.Z)(t,"GetVacant","/API/POS/GetParkInfoByEntityID"),(0,e.Z)(t,"RecordOpeningCash","/API/POS/RecordOpeningCash"),(0,e.Z)(t,"OpenRegister","/API/POS/LoadRegister"),(0,e.Z)(t,"GetRegisterInfo","/API/POS/GetRegisterInfo"),(0,e.Z)(t,"GetVariantByID","/API/catalog/variant/GetVariantByID"),(0,e.Z)(t,"GetVariantFormModelByID","/API/catalog/variant/GetVariantFormModelById"),(0,e.Z)(t,"GetVariantByCode","/API/catalog/variant/GetVariantByCode"),(0,e.Z)(t,"GetVariantSerial","/API/catalog/variant/GetVariantSerial"),(0,e.Z)(t,"GetVariantBySerial","/API/catalog/variant/GetVariantbySerial"),(0,e.Z)(t,"GetVariantSerialByVariantIds","/API/catalog/variant/GetVariantSerialByListVariantID"),(0,e.Z)(t,"EditSerialVariant","/API/catalog/variant/EditSerial"),(0,e.Z)(t,"StockAvailableSerial","/API/catalog/variant/StockAvailableSerial"),(0,e.Z)(t,"UpdateProductImage","/API/catalog/product/UpdateProductImageUrl"),(0,e.Z)(t,"GetVariantWithSameProductID","/API/catalog/variant/GetVariantWithSameProductID"),(0,e.Z)(t,"GetVariantInfoModelById","/API/catalog/variant/GetVariantInfoModelById"),(0,e.Z)(t,"GetStockLogConsistency","/API/Inventory/GetStockLogConsistency"),(0,e.Z)(t,"GetStockLogConsistencyByDate","/API/Inventory/GetStockLogConsistencyByDate"),(0,e.Z)(t,"GetSalesHistory","/Api/catalog/product/GetSalesHistory"),(0,e.Z)(t,"GetPurchaseHistory","/API/catalog/product/GetPurchaseHistory"),(0,e.Z)(t,"GetParkedHistory","/API/catalog/product/GetParkOrder"),(0,e.Z)(t,"CreateVariant","/API/catalog/variant/CreateVariant"),(0,e.Z)(t,"SendInvoiceEmail","/API/Transaction/SendEmail"),(0,e.Z)(t,"GetCustomerPrivilegeByID","/API/Contact/GetPrivilegeByID"),(0,e.Z)(t,"GetCustomerByCode","/API/Contact/GetByCode"),(0,e.Z)(t,"GetCustomerCode","/API/Contact/GetCode"),(0,e.Z)(t,"GetCustomerEmailByID","/API/Contact/GetEmailByID"),(0,e.Z)(t,"GetPriceBookByVariantID","/API/catalog/variant/GetPriceBookByVariantID"),(0,e.Z)(t,"GetPackageID","/API/POS/GetPackageID"),(0,e.Z)(t,"InternalEksternalCoupon","/API/PromotionCoupon/AuthorizeByType"),(0,e.Z)(t,"Coupon","/API/PromotionCoupon/Authorize"),(0,e.Z)(t,"Invoice","/api/Invoice/InvoiceInfo"),(0,e.Z)(t,"OrdersLoader","/API/OrdersLoader/CustomerInvoice"),(0,e.Z)(t,"Orders","/api/Invoice/CustomerInvoice"),(0,e.Z)(t,"PaymentReceivedLoader","/API/PaymentLoader/DailyPaymentLoader"),(0,e.Z)(t,"PaymentReceived","/API/Payment/DailyPaymentReceived"),(0,e.Z)(t,"CheckOutUrl","/API/POS/SubmitOrder"),(0,e.Z)(t,"CheckOutUrlBuy","/API/Buy/SubmitOrder"),(0,e.Z)(t,"Scanner","/API/AdjustmentLoader/StockTakeByCSV"),(0,e.Z)(t,"AdjustmentLoader","/API/AdjustmentLoader/GetInventoryAdjustmentList"),(0,e.Z)(t,"Adjustment","/API/Adjustment/GetInventoryAdjustmentList"),(0,e.Z)(t,"AdjustmentStorage","/API/Adjustment/GetStorage"),(0,e.Z)(t,"GetNumberAdjustment","/API/Adjustment/GenerateNumber"),(0,e.Z)(t,"GetAccountReceivableLoader","/API/DebtLoader/AccountsReceiveableSummary"),(0,e.Z)(t,"GetAccountReceivableDetailLoader","/API/DebtLoader/AccountsReceiveableDetails"),(0,e.Z)(t,"GetAccountReceivableSummary","/API/Debt/AccountsReceiveableSummary"),(0,e.Z)(t,"getAccountreceivableDetail","/API/Debt/AccountsReceiveableDetails"),(0,e.Z)(t,"ProductLibrarySuggestion","/API/AC/GetVariantSuggestionByCodeNName"),(0,e.Z)(t,"VoidInvoiceLoader","/API/OrdersLoader/VoidInvoiceLoader"),(0,e.Z)(t,"VoidInvoice","/api/Invoice/VoidInvoiceList"),(0,e.Z)(t,"WaitingPatientList","/API/Treatment/WaitingPatientList"),(0,e.Z)(t,"CheckOutTreatmentByListID","/API/Treatment/CheckOutByListID"),(0,e.Z)(t,"TreatmentRegisterLoader","/API/TreatmentLoader/Registration"),(0,e.Z)(t,"TreatmentRegisterOutletInfo","/API/Treatment/RegistrationGetOutletInfo"),(0,e.Z)(t,"TreatmentCustomerInfo","/API/Treatment/RegistrationGetCustomerInfo"),(0,e.Z)(t,"SubmitTreatementRegistration","/API/Treatment/RegistrationSubmit"),(0,e.Z)(t,"SalesOrderMini","/API/Print/SalesOrderMini"),(0,e.Z)(t,"ProductLoader","/API/catalog/ProductLoader/ProductList"),(0,e.Z)(t,"ProductList","/API/catalog/product/GetProductList"),(0,e.Z)(t,"DeleteProductList","/API/catalog/product/DeleteProductList"),(0,e.Z)(t,"DeleteVariantInfo","/API/catalog/variant/DeleteVariantInfo"),(0,e.Z)(t,"ProductForm","/API/catalog/ProductLoader/ProductForm"),(0,e.Z)(t,"SubmitProduct","/API/catalog/product/SubmitProduct"),(0,e.Z)(t,"ProductInfo","/API/catalog/ProductLoader/ProductInfoInitial"),(0,e.Z)(t,"CreateCategory","/API/catalog/category/CreateProductCategory"),(0,e.Z)(t,"CreateBrand","/API/catalog/product/CreateBrand"),(0,e.Z)(t,"CreateTag","/API/catalog/product/CreateTags"),(0,e.Z)(t,"CreateUOM","/API/catalog/product/CreateProductUOM"),(0,e.Z)(t,"VariantInfo","/API/catalog/variant/GetVariantInfoModelById"),(0,e.Z)(t,"VariantFormData","/API/catalog/variant/GetVariantFormInitialData"),(0,e.Z)(t,"VariantForm","/API/catalog/variant/GetVariantFormModelById"),(0,e.Z)(t,"SubmitVariant","/API/catalog/variant/SubmitVariant"),(0,e.Z)(t,"CreateContact","/API/Contact/Create"),(0,e.Z)(t,"Closure","/API/POS/Closure"),(0,e.Z)(t,"SyncProducts","/API/POSSync/Products"),(0,e.Z)(t,"SyncCustomer","/API/POSSync/Customers"),(0,e.Z)(t,"SynOutletPrice","/API/POSSync/OutletPrices"),(0,e.Z)(t,"SynOutlet","/API/POSSync/Outlets"),(0,e.Z)(t,"SyncPark","/API/POSSync/Parks"),(0,e.Z)(t,"GetRewardByPromotionID","/API/POS/GetRewardByPromotionID"),(0,e.Z)(t,"GetListPromotion","/API/POS/Promotion"),(0,e.Z)(t,"GenerateGopayQrCode","/API/Gopay/GenerateQR"),(0,e.Z)(t,"GopayVerifyPayment","/API/Gopay/VerifyQR"),(0,e.Z)(t,"GenerateBcaQrCode","/API/BCA/GenerateQR"),(0,e.Z)(t,"BcaVerifyPayment","/API/BCA/VerifyQR"),(0,e.Z)(t,"InvoiceA4","/API/Print/Invoice"),(0,e.Z)(t,"UploadCsv","/API/POS/UploadCsv"),(0,e.Z)(t,"UploadCsvBuy","/API/Buy/UploadCsv"),(0,e.Z)(t,"GenerateCommission","/API/Transaction/GetCommission"),(0,e.Z)(t,"InvoiceInfo","/api/Invoice/InvoiceInfo"),(0,e.Z)(t,"GenerateLink","/API/PayNow/GenerateLink"),(0,e.Z)(t,"LoadFormBuy","/API/Buy2/Load"),(0,e.Z)(t,"BuyGetOutletInfo","/API/Buy2/GetOutletInfo"),(0,e.Z)(t,"BuyGenerateNumber","/API/Buy/GenerateNumber"),(0,e.Z)(t,"BuyGetDataByID","/API/Buy2/GetDataByID"),(0,e.Z)(t,"GetQuickKey","/API/catalog/product/GetQuickKey"),(0,e.Z)(t,"GetPrintTemplateID","/API/Buy/GetPrintTemplateID"),(0,e.Z)(t,"GetVariantStockByID","/API/catalog/variant/GetInventoryByVariantID"),(0,e.Z)(t,"GetSupplierInvoice","/API/Buy/GetSupplierInvoiceRetur"),(0,e.Z)(t,"GetSupplierDTO","/API/Contact/GetSupplierDTO"),(0,e.Z)(t,"LoadFormDelivery","/API/TransferOrderLoader/LoadForm"),(0,e.Z)(t,"DeliveryGenerateNumber","/API/TransferOrder/GenerateNumber"),(0,e.Z)(t,"UpdateCourierList","/API/TransferOrder/UpdateCourierList"),(0,e.Z)(t,"SubmitOutletDelivery","/API/TransferOrder/SubmitOrder"),(0,e.Z)(t,"ClearOutlet","/API/TransferOrder/ClearOutlet"),(0,e.Z)(t,"PaymentListSorting","/API/Setup/Payment/SortPaymentMethod"),(0,e.Z)(t,"TaxListSorting","/API/Setup/Payment/SortTax"),(0,e.Z)(t,"LoadFormEstimate","/API/Estimate/LoadForm"),(0,e.Z)(t,"EstimateGenerateNumber","/API/Estimate/GenerateNumber"),(0,e.Z)(t,"SubmitEstimate","/API/Estimate/SubmitOrder"),(0,e.Z)(t,"LoadFormAdjustment","/API/Adjustment/LoadForm"),(0,e.Z)(t,"AdjustmentGenerateNumber","/API/Adjustment/GenerateNumber"),(0,e.Z)(t,"SubmitAdjustment","/API/Adjustment/SubmitOrder"),(0,e.Z)(t,"ForecastData","Inventory/Daystozero"),(0,e.Z)(t,"ForecastLoader","InventoryLoader/Daystozero"),(0,e.Z)(t,"UsageActivities","Setup/DeveloperSpace/API/Activity"),t})()},10459:(_,S,i)=>{i.d(S,{N:()=>t});var e=i(65879),P=i(96814);let t=(()=>{var u;class n{constructor(a,r){this.document=a,this.platformId=r,this.documentIsAccessible=(0,P.NF)(this.platformId)}static getCookieRegExp(a){const r=a.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+r+"|;\\s*"+r+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(a){try{return decodeURIComponent(a)}catch{return a}}check(a){return!!this.documentIsAccessible&&(a=encodeURIComponent(a),n.getCookieRegExp(a).test(this.document.cookie))}get(a){if(this.documentIsAccessible&&this.check(a)){a=encodeURIComponent(a);const s=n.getCookieRegExp(a).exec(this.document.cookie);return s[1]?n.safeDecodeURIComponent(s[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const a={},r=this.document;return r.cookie&&""!==r.cookie&&r.cookie.split(";").forEach(s=>{const[d,I]=s.split("=");a[n.safeDecodeURIComponent(d.replace(/^ /,""))]=n.safeDecodeURIComponent(I)}),a}set(a,r,s,d,I,l,g){if(!this.documentIsAccessible)return;if("number"==typeof s||s instanceof Date||d||I||l||g)return void this.set(a,r,{expires:s,path:d,domain:I,secure:l,sameSite:g||"Lax"});let m=encodeURIComponent(a)+"="+encodeURIComponent(r)+";";const o=s||{};o.expires&&(m+="number"==typeof o.expires?"expires="+new Date((new Date).getTime()+1e3*o.expires*60*60*24).toUTCString()+";":"expires="+o.expires.toUTCString()+";"),o.path&&(m+="path="+o.path+";"),o.domain&&(m+="domain="+o.domain+";"),!1===o.secure&&"None"===o.sameSite&&(o.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${a} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),o.secure&&(m+="secure;"),o.sameSite||(o.sameSite="Lax"),m+="sameSite="+o.sameSite+";",this.document.cookie=m}delete(a,r,s,d,I="Lax"){this.documentIsAccessible&&this.set(a,"",{expires:new Date("Thu, 01 Jan 1970 00:00:01 GMT"),path:r,domain:s,secure:d,sameSite:I})}deleteAll(a,r,s,d="Lax"){if(!this.documentIsAccessible)return;const I=this.getAll();for(const l in I)I.hasOwnProperty(l)&&this.delete(l,a,r,s,d)}}return(u=n).\u0275fac=function(a){return new(a||u)(e.LFG(P.K0),e.LFG(e.Lbi))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),n})()}}]);
|