import{a as v}from"./chunk-72HORKXP.js";import{a as h}from"./chunk-F6AHCJAP.js";import{a as D}from"./chunk-WJLIXXN3.js";import"./chunk-3PTVMOA6.js";import"./chunk-JLQUTBFH.js";import"./chunk-JEKS3WOF.js";import"./chunk-GAOYV53E.js";import"./chunk-W6JPMHYE.js";import"./chunk-VPS35GPI.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 y,h as f,o as C}from"./chunk-MDIMQ3H3.js";import"./chunk-MWDJTJ3O.js";import"./chunk-3DEA4WWC.js";import"./chunk-TKVDP62Z.js";import{Ib as r,Jb as s,Kb as d,Sd as g,Tc as t,Za as p,ib as m,ra as i,rc as l,sc as u,tc as c}from"./chunk-GJDGQISV.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var M=class a{activatedRoute=i(g);settings=i(D);formData=t(()=>this.settings.formData());options=t(()=>this.settings.options());configDefault=t(()=>this.settings.configDefault());constructor(){this.settings.initFormData(this.activatedRoute)}static \u0275fac=function(o){return new(o||a)};static \u0275cmp=m({type:a,selectors:[["POS-promotion"]],decls:4,vars:6,consts:[["cardTitle","Promotion Coupon","id","promotionCouponPromotion"],[1,"row"],[1,"col-12"],[3,"ngModelChange","label","type","maxValue","ngModel","isHorizontalLayout","description"]],template:function(o,e){o&1&&(s(0,"POS-card",0)(1,"div",1)(2,"div",2)(3,"POS-input-field",3),c("ngModelChange",function(n){return u(e.formData().CouponLength,n)||(e.formData().CouponLength=n),n}),d()()()()),o&2&&(p(3),r("label","Digit")("type","number")("maxValue",20),l("ngModel",e.formData().CouponLength),r("isHorizontalLayout",!0)("description","Configure the total digit for promotion coupon code."))},dependencies:[h,v,y,f,C],encapsulation:2})};export{M as PromotionComponent};
