var Unibase;(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!=null&&t!=undefined&&(i=0,$(".Controlproperties-Element").each(function(){var r=$(this).children().find("input").attr("id"),n=t.find(n=>n.ControlPropertyName==r);$(this).attr("data-controlpropertyid",n.ControlPropertyId);$(this).attr("data-controlpropertyname",n.ControlPropertyName);$(this).attr("data-propertysettingid",n.PropertySettingId);r=="IsMultiple"&&(n.ControlPropertyValue=="true"?$("#IsMultiple").prop("checked",!0):$("#IsMultiple").prop("checked",!1));r=="IsFileControl"&&(n.ControlPropertyValue=="true"?$("#IsFileControl").prop("checked",!0):$("#IsFileControl").prop("checked",!1));r=="IsValidate"&&(n.ControlPropertyValue=="true"?$("#IsValidate").prop("checked",!0):$("#IsValidate").prop("checked",!1));i+=1}))}savePropertySettings(n){var i=n.PropertySettings,t=[];return $(".Controlproperties-Element").each(function(){var i={FormPropertyId:isNaN(Number(n.FormPropertyId))?0:Number(n.FormPropertyId),ControlPropertyId:Number($(this).attr("data-controlpropertyid")),ControlPropertyValue:$(this).children().find("input").prop("checked").toString(),ControlPropertyName:$(this).attr("data-controlpropertyname"),ControlId:isNaN(Number(n.ControlId))?0:Number(n.ControlId),PropertySettingId:Number($(this).attr("data-propertysettingid"))};t.push(i)}),t}static Instance(){return this._instance===undefined&&(this._instance=new t),this._instance}}n.FileDragNDrop_Settings=t})(t=n.Controls||(n.Controls={}))})(t=n.Forms||(n.Forms={}))})(Unibase||(Unibase={}));