var Unibase;
(function (Unibase) {
let Forms;
(function (Forms) {
let Controls;
(function (Controls) {
class Label {
init(formpropertyid, prop, callback) {
var instance = Label.Instance();
instance.loadControlSettings(prop.ControlJsonText, prop.FormPropertyId);
instance.loadPropertySettings(prop.PropertySettings, prop.FormPropertyId);
if (callback != null)
callback();
}
loadControl(containerid, prop) {
var html = '
' +
'' +
'' +
'
';
$("#" + containerid).html(html);
}
loadControlSettings(controlsettingjson, formpropertyid) {
return null;
}
loadPropertySettings(propertysettings, formpropertyid) {
if (propertysettings != null) {
}
}
bindEditFormDetails(formpropertyid, propval, DocPropertyName) {
$("#lbl_" + formpropertyid).val(propval);
if (propval != "") {
$("#lbl_" + formpropertyid).addClass("floating-label-form-group-with-value");
}
}
static Instance() {
if (this.instance === undefined) {
this.instance = new Label();
}
return this.instance;
}
}
Controls.Label = Label;
})(Controls = Forms.Controls || (Forms.Controls = {}));
})(Forms = Unibase.Forms || (Unibase.Forms = {}));
})(Unibase || (Unibase = {}));