var Bizgaze;(function(n){let t;(function(n){let t;(function(n){let t;(function(n){class t{loadSettingHtml(){return``}bindControlData(){return``}SaveControlData(){return``}loadControlPropertiesHtml(n){var t=`
`+`
`+`
Property Settings
`+`
`+`
`;$(n).html(t);$("#divPropSetting").removeClass("hidden")}bindPropertySettings(n){var t=n.PropertySettings,i;t.length>0&&t!=null&&t!=undefined&&(i=0,$(".Controlproperties-Element").each(function(){t[i].ControlPropertyName=="ControlType"&&($(this).attr("data-controlpropertyid",t[i].ControlPropertyId),$(this).attr("data-controlpropertyname",t[i].ControlPropertyName),$(this).attr("data-propertysettingid",t[i].PropertySettingId),$("#ControlType").val(t[i].ControlPropertyValue).trigger("change"));i+=1}))}savePropertySettings(n){var i=n.PropertySettings,t=[];return $(".Controlproperties-Element").each(function(){if($(this).children().closest("select").val().toString()){var i={FormPropertyId:0,ControlPropertyId:Number($(this).attr("data-controlpropertyid")),ControlPropertyValue:$(this).children().closest("select").val().toString(),ControlPropertyName:$(this).attr("data-controlpropertyname"),ControlId:Number(n.ControlVariable.split("|")[0]),PropertySettingId:Number($(this).attr("data-propertysettingid"))};t.push(i)}}),t}static Instance(){return this.instance===undefined&&(this.instance=new t),this.instance}}n.PaymentSummary_Setting=t})(t=n.Controls||(n.Controls={}))})(t=n.Transact||(n.Transact={}))})(t=n.Apps||(n.Apps={}))})(Bizgaze||(Bizgaze={}));