var Unibase;(function(n){let t;(function(t){let i;(function(t){class i{loadSettingHtml(n){var t=`
Radio Button Setting
    `;$(n).html(t)}bindControlData(t){n.Platform.Forms.Components.ControlEditor.Instance().getControlOptions(t)}SaveControlData(){var t=[];return $(".option-group").each(function(){var i={DropDownColumnId:Number($(this).find(".hdnRdbId").val()),ColumnText:$(this).find(".rdbText").val(),ColumnValue:$(this).find(".rdbValue").val(),DocPropertyId:Number(n.Platform.Forms.Components.PropertyEditor.Instance().DocPropertyId),ControlId:n.Platform.Forms.Components.ControlEditor.Instance().ControlId,IndexNumber:$(this).index()+1};t.push(i)}),JSON.stringify(t)}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(){t[i].ControlPropertyName=="IsTabView"&&($(this).attr("data-controlpropertyid",t[i].ControlPropertyId),$(this).attr("data-controlpropertyname",t[i].ControlPropertyName),$(this).attr("data-propertysettingid",t[i].PropertySettingId),t[i].ControlPropertyValue=="true"?$("#IsTabView").prop("checked",!0):$("#IsTabView").prop("checked",!1));i+=1}))}savePropertySettings(n){var i=n.PropertySettings,t=[];return $(".Controlproperties-Element").each(function(){var i={FormPropertyId:Number(n.FormPropertyId),ControlPropertyId:Number($(this).attr("data-controlpropertyid")),ControlPropertyValue:$(this).children().find("input").prop("checked").toString(),ControlPropertyName:$(this).attr("data-controlpropertyname"),ControlId:Number(n.ControlId),PropertySettingId:Number($(this).attr("data-propertysettingid"))};t.push(i)}),t}static Instance(){return this._instance===undefined&&(this._instance=new i),this._instance}}t.RadioBox_Settings=i})(i=t.Controls||(t.Controls={}))})(t=n.Forms||(n.Forms={}))})(Unibase||(Unibase={}));