import{a as P}from"./chunk-72HORKXP.js";import{a as C}from"./chunk-SQMWYYIH.js";import{a as S}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-IEJVBN5K.js";import"./chunk-HLLBCLO6.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 M,h as c,o as u}from"./chunk-MDIMQ3H3.js";import"./chunk-MWDJTJ3O.js";import"./chunk-3DEA4WWC.js";import"./chunk-TKVDP62Z.js";import{Ib as r,Jb as m,Kb as p,Sd as f,Tc as o,Za as a,ib as y,ra as i,rc as d,sc as l,tc as s}from"./chunk-GJDGQISV.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var v=class g{activatedRoute=i(f);settings=i(D);formData=o(()=>this.settings.formData());options=o(()=>this.settings.options());configDefault=o(()=>this.settings.configDefault());constructor(){this.settings.initFormData(this.activatedRoute)}static \u0275fac=function(n){return new(n||g)};static \u0275cmp=y({type:g,selectors:[["POS-payment-link"]],decls:6,vars:7,consts:[["cardTitle","Basic Settings","id","basicSettingsPaymentLink"],[1,"row"],[1,"col-6"],[3,"ngModelChange","label","tooltip","type","ngModel"],["bindLabel","Name","bindValue","ID",3,"ngModelChange","label","options","ngModel"]],template:function(n,e){n&1&&(m(0,"POS-card",0)(1,"div",1)(2,"div",2)(3,"POS-input-field",3),s("ngModelChange",function(t){return l(e.formData().ServerKey,t)||(e.formData().ServerKey=t),t}),p()(),m(4,"div",2)(5,"POS-input-select",4),s("ngModelChange",function(t){return l(e.formData().PaymentMethodID,t)||(e.formData().PaymentMethodID=t),t}),p()()()()),n&2&&(a(3),r("label","Midtrans Server Key")("tooltip","Midtrans Server Key")("type","text"),d("ngModel",e.formData().ServerKey),a(2),r("label","Payment Method")("options",e.options().PaymentMethods),d("ngModel",e.formData().PaymentMethodID))},dependencies:[S,P,C,M,c,u],encapsulation:2})};export{v as PaymentLinkComponent};
