import{a as _}from"./chunk-72HORKXP.js";import{a as S}from"./chunk-OIB33BTV.js";import{a as v}from"./chunk-F6AHCJAP.js";import{a as C}from"./chunk-WJLIXXN3.js";import"./chunk-IOKWCZEB.js";import"./chunk-3PTVMOA6.js";import"./chunk-BLIS2XXD.js";import"./chunk-3S3T7QLT.js";import"./chunk-JLQUTBFH.js";import"./chunk-JEKS3WOF.js";import"./chunk-GAOYV53E.js";import"./chunk-W6JPMHYE.js";import"./chunk-VPS35GPI.js";import"./chunk-UGBMCXS6.js";import"./chunk-5TTXT2K2.js";import"./chunk-YNQPX5G6.js";import"./chunk-4P6SOZDY.js";import"./chunk-XN7T54IM.js";import"./chunk-RULWGB4E.js";import"./chunk-2HIDUY57.js";import"./chunk-HY3IUHOC.js";import"./chunk-4AEX2WLA.js";import"./chunk-2MELUOYA.js";import"./chunk-WOPE6PPO.js";import{E as h,h as D,o as c}from"./chunk-MDIMQ3H3.js";import"./chunk-MWDJTJ3O.js";import"./chunk-3DEA4WWC.js";import"./chunk-TKVDP62Z.js";import{Ib as o,Jb as a,Kb as i,Sd as g,Tc as y,Za as n,ib as m,ra as p,rc as r,sc as l,tc as d}from"./chunk-GJDGQISV.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var O=class f{activatedRoute=p(g);settings=p(C);formData=y(()=>this.settings.formData());options=y(()=>this.settings.options());configDefault=y(()=>this.settings.configDefault());constructor(){this.settings.initFormData(this.activatedRoute)}static \u0275fac=function(u){return new(u||f)};static \u0275cmp=m({type:f,selectors:[["POS-inventory"]],decls:16,vars:30,consts:[["cardTitle","Default Values","id","defaultValuesInventory"],[1,"row"],[1,"col-12"],[3,"ngModelChange","label","description","type","ngModel","isHorizontalLayout"],[3,"ngModelChange","label","defaultConfig","ngModel","description"],[3,"ngModelChange","label","description","defaultConfig","ngModel"],["cardTitle","Days Of Inventory","id","daysOfInventoryInventory"],[3,"ngModelChange","label","description","tooltip","type","ngModel","isHorizontalLayout"]],template:function(u,t){u&1&&(a(0,"POS-card",0)(1,"div",1)(2,"div",2)(3,"POS-input-field",3),d("ngModelChange",function(e){return l(t.formData().DefaultValues.FilterQuantityFrom,e)||(t.formData().DefaultValues.FilterQuantityFrom=e),e}),i()(),a(4,"div",2)(5,"POS-input-toggle",4),d("ngModelChange",function(e){return l(t.formData().DefaultValues.ExcludeComplementaryDefault,e)||(t.formData().DefaultValues.ExcludeComplementaryDefault=e),e}),i()(),a(6,"div",2)(7,"POS-input-toggle",5),d("ngModelChange",function(e){return l(t.formData().DefaultValues.ProductByOutletEmptyColumnFilter,e)||(t.formData().DefaultValues.ProductByOutletEmptyColumnFilter=e),e}),i()()()(),a(8,"POS-card",6)(9,"div",1)(10,"div",2)(11,"POS-input-field",3),d("ngModelChange",function(e){return l(t.formData().DaysOf.SalesDaysRange,e)||(t.formData().DaysOf.SalesDaysRange=e),e}),i()(),a(12,"div",2)(13,"POS-input-field",7),d("ngModelChange",function(e){return l(t.formData().DaysOf.CriticalDaysThreshold,e)||(t.formData().DaysOf.CriticalDaysThreshold=e),e}),i()(),a(14,"div",2)(15,"POS-input-field",7),d("ngModelChange",function(e){return l(t.formData().DaysOf.ExceedDaysThreshold,e)||(t.formData().DaysOf.ExceedDaysThreshold=e),e}),i()()()()),u&2&&(n(3),o("label","Filter Quantity From")("description","Set value inventory start from that will be shown")("type","text"),r("ngModel",t.formData().DefaultValues.FilterQuantityFrom),o("isHorizontalLayout",!0),n(2),o("label","Exclude Complementary Default")("defaultConfig",t.configDefault().DefaultValues.ExcludeComplementaryDefault),r("ngModel",t.formData().DefaultValues.ExcludeComplementaryDefault),o("description","Exclude complementary items by default in Inventory menu"),n(2),o("label","Empty Outlet Filter")("description","Hide Outlet column with 0 quantity on Product Inventory by Outlet if needed")("defaultConfig",t.configDefault().DefaultValues.ProductByOutletEmptyColumnFilter),r("ngModel",t.formData().DefaultValues.ProductByOutletEmptyColumnFilter),n(4),o("label","Product Sold Within Days")("description","Default Threshold Filter for Product Sold Within Days in Days Of Inventory")("type","number"),r("ngModel",t.formData().DaysOf.SalesDaysRange),o("isHorizontalLayout",!0),n(2),o("label","Critical Days")("description","Default critical days value for the days of inventory filter")("tooltip","Highlights products at high risk of stockout. Shows SKUs expected to deplete in this number of days or less.")("type","number"),r("ngModel",t.formData().DaysOf.CriticalDaysThreshold),o("isHorizontalLayout",!0),n(2),o("label","Overstock Days")("description","Default overstock days value for the days of inventory filter")("tooltip","Identifies excess inventory. Shows SKUs with enough stock to last beyond this number of days.")("type","number"),r("ngModel",t.formData().DaysOf.ExceedDaysThreshold),o("isHorizontalLayout",!0))},dependencies:[v,_,S,h,D,c],encapsulation:2})};export{O as InventoryComponent};
