Built files from Bizgaze WebServer
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

datepicker.settings.min.js 3.1KB

1
  1. var Unibase;(function(n){let t;(function(n){let t;(function(n){class t{loadControlPropertiesHtml(n){var t=`<section class="">`+`<div class="card PropertySettings">`+`<div class="card-header"><h6><b>Property Settings</b></h6></div>`+`<div class="card-body" id="divPropSetting"><div class="row">`+`<div class="col-sm-6 Controlproperties-Element" data-propertysettingid="0" data-controlpropertyid="0" data-controlpropertyname="IsTodayDate"><label for="IsTodayDate" style="margin-top:19px"><b>IsTodayDate</b></label><label id="lblIsTodayDate" class="switch m-t form-inline pull-right mt-10" style="color:grey"><input id="IsTodayDate" class="setting_type" data-group="IsRequired" type="checkbox"/><span></span></label></div>`+`<div class="col-sm-6 Controlproperties-Element" data-propertysettingid="0" data-controlpropertyid="0" data-controlpropertyname="IsTime"><label for="IsTime" style="margin-top:19px"><b>IsTime</b></label><label id="lblIsTime" class="switch m-t form-inline pull-right mt-10" style="color:grey"><input id="IsTime" class="setting_type" data-group="IsRequired" type="checkbox"/><span></span></label></div>`+`<div class="col-sm-6 Controlproperties-Element" data-propertysettingid="0" data-controlpropertyid="0" data-controlpropertyname="DisableFutureDate"><label for="DisableFutureDate" style="margin-top:19px"><b>DisableFutureDate</b></label><label id="lblDisableFutureDate" class="switch m-t form-inline pull-right mt-10" style="color:grey"><input id="DisableFutureDate" class="setting_type" data-group="IsRequired" type="checkbox"/><span></span></label></div>`+`</div></div></div></section>`;$(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=="IsTodayDate"&&(n.ControlPropertyValue=="true"?$("#IsTodayDate").prop("checked",!0):$("#IsTodayDate").prop("checked",!1));r=="IsTime"&&(n.ControlPropertyValue=="true"?$("#IsTime").prop("checked",!0):$("#IsTime").prop("checked",!1));r=="DisableFutureDate"&&(n.ControlPropertyValue=="true"?$("#DisableFutureDate").prop("checked",!0):$("#DisableFutureDate").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}loadSettingHtml(){return""}bindControlData(){return""}SaveControlData(n){return n}static Instance(){return this._instance===undefined&&(this._instance=new t),this._instance}}n.DatePicker_Settings=t})(t=n.Controls||(n.Controls={}))})(t=n.Forms||(n.Forms={}))})(Unibase||(Unibase={}));