adhara
Version:
foundation for any kind of website: microframework
537 lines (466 loc) • 53 kB
JavaScript
this["Handlebars"] = this["Handlebars"] || {};
this["Handlebars"]["templates"] = this["Handlebars"]["templates"] || {};
this["Handlebars"]["templates"]["adhara-card-content"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return "<div class=\"card-heading\">\n "
+ alias4(((helper = (helper = helpers.heading || (depth0 != null ? depth0.heading : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"heading","hash":{},"data":data}) : helper)))
+ "\n</div>\n<div class=\"card-content\">\n "
+ alias4(((helper = (helper = helpers.content || (depth0 != null ? depth0.content : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"content","hash":{},"data":data}) : helper)))
+ "\n</div>";
},"useData":true});
this["Handlebars"]["templates"]["adhara-card"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams,depths) {
var alias1=container.escapeExpression;
return " <div class=\""
+ alias1(container.lambda((depths[1] != null ? depths[1].cardSizeClass : depths[1]), depth0))
+ "\">\n <div class=\"card-md animated card-content-wrapper\">\n "
+ alias1((helpers.include || (depth0 && depth0.include) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depths[1] != null ? depths[1].itemTemplate : depths[1]),blockParams[0][0],{"name":"include","hash":{},"data":data,"blockParams":blockParams}))
+ "\n </div>\n </div>\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return "<div class=\""
+ container.escapeExpression(((helper = (helper = helpers.containerClass || (depth0 != null ? depth0.containerClass : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"containerClass","hash":{},"data":data,"blockParams":blockParams}) : helper)))
+ " row\">\n"
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.rows : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 2, blockParams, depths),"inverse":container.noop,"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ "</div>";
},"useData":true,"useDepths":true,"useBlockParams":true});
this["Handlebars"]["templates"]["adhara-dialog"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams) {
var stack1, alias1=container.escapeExpression;
return " <button "
+ alias1((helpers.addAttr || (depth0 && depth0.addAttr) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = blockParams[0][0]) != null ? stack1.attributes : stack1),"{\"type\": \"button\"}",{"name":"addAttr","hash":{},"data":data,"blockParams":blockParams}))
+ ">"
+ alias1(container.lambda(((stack1 = blockParams[0][0]) != null ? stack1.text : stack1), depth0))
+ "</button>\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return "<div class=\"modal fade\" id=\""
+ alias3(((helper = (helper = helpers.modalId || (depth0 != null ? depth0.modalId : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"modalId","hash":{},"data":data,"blockParams":blockParams}) : helper)))
+ "\" tabindex=\"-1\" role=\"dialog\">\n <div class=\"modal-dialog\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">"
+ alias3((helpers.include || (depth0 && depth0.include) || alias2).call(alias1,(depth0 != null ? depth0.titleTemplate : depth0),depth0,{"name":"include","hash":{},"data":data,"blockParams":blockParams}))
+ "</h5>\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div class=\"row\">\n <div class=\"col-md-12\">\n <div class=\"modal-msg\">"
+ alias3((helpers.include || (depth0 && depth0.include) || alias2).call(alias1,(depth0 != null ? depth0.messageTemplate : depth0),depth0,{"name":"include","hash":{},"data":data,"blockParams":blockParams}))
+ "</div>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n"
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.buttons : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 2, blockParams),"inverse":container.noop,"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ " </div>\n </div>\n </div>\n</div>";
},"useData":true,"useBlockParams":true});
this["Handlebars"]["templates"]["adhara-form-fields/checkbox"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " <div "
+ alias3((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,(depth0 != null ? depth0.fieldAttributes : depth0),{"name":"addAttr","hash":{},"data":data}))
+ " "
+ alias3((helpers.addProps || (depth0 && depth0.addProps) || alias2).call(alias1,(depth0 != null ? depth0.fieldProperties : depth0),{"name":"addProps","hash":{},"data":data}))
+ ">\n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.value : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "")
+ "\n </div>\n";
},"2":function(container,depth0,helpers,partials,data) {
return container.escapeExpression((helpers.i18n || (depth0 && depth0.i18n) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"common.yes",{"name":"i18n","hash":{},"data":data}));
},"4":function(container,depth0,helpers,partials,data) {
return container.escapeExpression((helpers.i18n || (depth0 && depth0.i18n) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"common.no",{"name":"i18n","hash":{},"data":data}));
},"6":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " <label for=\""
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
+ "\" "
+ alias4((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,(depth0 != null ? depth0.labelAttributes : depth0),{"name":"addAttr","hash":{},"data":data}))
+ " "
+ alias4((helpers.addProps || (depth0 && depth0.addProps) || alias2).call(alias1,(depth0 != null ? depth0.labelProperties : depth0),{"name":"addProps","hash":{},"data":data}))
+ ">\n <input type=\"checkbox\" data-onchange=\"onDataChange\"\n "
+ alias4((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,(depth0 != null ? depth0.fieldAttributes : depth0),{"name":"addAttr","hash":{},"data":data}))
+ " "
+ alias4((helpers.addProps || (depth0 && depth0.addProps) || alias2).call(alias1,(depth0 != null ? depth0.fieldProperties : depth0),{"name":"addProps","hash":{},"data":data}))
+ "\n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.value : depth0),{"name":"if","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "/>\n <span class=\"ml-2\">"
+ ((stack1 = ((helper = (helper = helpers.displayName || (depth0 != null ? depth0.displayName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"displayName","hash":{},"data":data}) : helper))) != null ? stack1 : "")
+ "</span>\n </label>\n";
},"7":function(container,depth0,helpers,partials,data) {
return "checked";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.readonly : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(6, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Handlebars"]["templates"]["adhara-form-fields/help"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " <small id=\""
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
+ "-help\" class=\"form-text text-muted\">"
+ alias4(((helper = (helper = helpers.helpText || (depth0 != null ? depth0.helpText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"helpText","hash":{},"data":data}) : helper)))
+ "</small>\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.helpText : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"useData":true});
this["Handlebars"]["templates"]["adhara-form-fields/index"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return alias3((helpers.include || (depth0 && depth0.include) || alias2).call(alias1,(depth0 != null ? depth0.labelTemplate : depth0),depth0,{"name":"include","hash":{},"data":data}))
+ "\n"
+ alias3((helpers.include || (depth0 && depth0.include) || alias2).call(alias1,(depth0 != null ? depth0.fieldTemplate : depth0),depth0,{"name":"include","hash":{},"data":data}))
+ "\n"
+ alias3((helpers.include || (depth0 && depth0.include) || alias2).call(alias1,(depth0 != null ? depth0.helpTemplate : depth0),depth0,{"name":"include","hash":{},"data":data}));
},"useData":true});
this["Handlebars"]["templates"]["adhara-form-fields/input"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
return " "
+ container.escapeExpression((helpers.include || (depth0 && depth0.include) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"adhara-form-fields/readonly",depth0,{"name":"include","hash":{},"data":data}))
+ "\n";
},"3":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " <input type=\""
+ alias4(((helper = (helper = helpers.inputType || (depth0 != null ? depth0.inputType : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"inputType","hash":{},"data":data}) : helper)))
+ "\" "
+ alias4((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,(depth0 != null ? depth0.fieldAttributes : depth0),{"name":"addAttr","hash":{},"data":data}))
+ " "
+ alias4((helpers.addProps || (depth0 && depth0.addProps) || alias2).call(alias1,(depth0 != null ? depth0.fieldProperties : depth0),{"name":"addProps","hash":{},"data":data}))
+ " value=\""
+ alias4(((helper = (helper = helpers.value || (depth0 != null ? depth0.value : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"value","hash":{},"data":data}) : helper)))
+ "\"\n data-onchange=\"onDataChange\" data-onpaste=\"onDataChange\" data-onkeyup=\"onDataChange\"/>\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.readonly : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Handlebars"]["templates"]["adhara-form-fields/label"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " <label for=\""
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
+ "\" "
+ alias4((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,(depth0 != null ? depth0.labelAttributes : depth0),{"name":"addAttr","hash":{},"data":data}))
+ " "
+ alias4((helpers.addProps || (depth0 && depth0.addProps) || alias2).call(alias1,(depth0 != null ? depth0.labelProperties : depth0),{"name":"addProps","hash":{},"data":data}))
+ ">"
+ ((stack1 = ((helper = (helper = helpers.displayName || (depth0 != null ? depth0.displayName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"displayName","hash":{},"data":data}) : helper))) != null ? stack1 : "")
+ "</label>\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.showLabel : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"useData":true});
this["Handlebars"]["templates"]["adhara-form-fields/readonly"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return "<div "
+ alias3((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,(depth0 != null ? depth0.fieldAttributes : depth0),{"name":"addAttr","hash":{},"data":data}))
+ " "
+ alias3((helpers.addProps || (depth0 && depth0.addProps) || alias2).call(alias1,(depth0 != null ? depth0.fieldProperties : depth0),{"name":"addProps","hash":{},"data":data}))
+ ">\n "
+ alias3(((helper = (helper = helpers.value || (depth0 != null ? depth0.value : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"value","hash":{},"data":data}) : helper)))
+ "\n</div>";
},"useData":true});
this["Handlebars"]["templates"]["adhara-form-fields/repeater"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
return "repeater-horizontal align-items-center d-flex";
},"3":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {});
return " <div class=\""
+ alias2(alias1((depths[1] != null ? depths[1].repeaterFieldSetClass : depths[1]), depth0))
+ " repeater-fieldset-container\"\n id=\"fieldset-"
+ alias2(alias1(blockParams[0][1], depth0))
+ "-"
+ alias2(alias1((depths[1] != null ? depths[1].safeName : depths[1]), depth0))
+ "\"\n data-idx='"
+ alias2(alias1(blockParams[0][1], depth0))
+ "'>\n <div class=\"repeater-fieldset flex-1\">\n"
+ ((stack1 = helpers["if"].call(alias3,(depths[1] != null ? depths[1].isHorizontal : depths[1]),{"name":"if","hash":{},"fn":container.program(4, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ " "
+ alias2((helpers.include || (depth0 && depth0.include) || helpers.helperMissing).call(alias3,((stack1 = (depths[1] != null ? depths[1].settings : depths[1])) != null ? stack1.fieldSetTemplate : stack1),depth0,{"name":"include","hash":{},"data":data,"blockParams":blockParams}))
+ "\n </div>\n"
+ ((stack1 = helpers.unless.call(alias3,(depths[1] != null ? depths[1].isHorizontal : depths[1]),{"name":"unless","hash":{},"fn":container.program(6, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ " </div>\n";
},"4":function(container,depth0,helpers,partials,data,blockParams) {
return " <div class=\"modifiers d-flex mb-3\">\n <div class=\"remove modifier\" data-idx='"
+ container.escapeExpression(container.lambda(blockParams[1][1], depth0))
+ "' data-onclick=\"removeFieldSet\"></div>\n </div>\n";
},"6":function(container,depth0,helpers,partials,data,blockParams) {
return " <div class=\"modifiers d-flex mb-3\">\n <div class=\"remove modifier\" data-idx='"
+ container.escapeExpression(container.lambda(blockParams[1][1], depth0))
+ "' data-onclick=\"removeFieldSet\"></div>\n </div>\n";
},"8":function(container,depth0,helpers,partials,data) {
return "d-flex";
},"10":function(container,depth0,helpers,partials,data) {
return "<div class=\"repeater-fieldset flex-1\"></div>";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.escapeExpression;
return "<div class=\"repeater "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isHorizontal : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ "\">\n"
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.mutableData : depth0),{"name":"each","hash":{},"fn":container.program(3, data, 2, blockParams, depths),"inverse":container.noop,"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ " <div class=\""
+ alias2(container.lambda((depths[1] != null ? depths[1].repeaterFieldSetClass : depths[1]), depth0))
+ " repeater-fieldset-container new-fieldset "
+ ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.isHorizontal : depth0),{"name":"unless","hash":{},"fn":container.program(8, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ "\">\n "
+ ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.isHorizontal : depth0),{"name":"unless","hash":{},"fn":container.program(10, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ "\n <div class=\"modifiers d-flex add-modifier\">\n <div class=\"add modifier\" data-onclick=\"addFieldSet\"></div>\n <span class=\"pointer\" data-onclick=\"addFieldSet\">"
+ alias2(((helper = (helper = helpers.addNewText || (depth0 != null ? depth0.addNewText : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"addNewText","hash":{},"data":data,"blockParams":blockParams}) : helper)))
+ "</span>\n </div>\n </div>\n</div>";
},"useData":true,"useDepths":true,"useBlockParams":true});
this["Handlebars"]["templates"]["adhara-form-fields/select"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
return " "
+ container.escapeExpression((helpers.include || (depth0 && depth0.include) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"adhara-form-fields/readonly",depth0,{"name":"include","hash":{},"data":data}))
+ "\n";
},"3":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " <select "
+ alias3((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,(depth0 != null ? depth0.fieldAttributes : depth0),{"name":"addAttr","hash":{},"data":data}))
+ " "
+ alias3((helpers.addProps || (depth0 && depth0.addProps) || alias2).call(alias1,(depth0 != null ? depth0.fieldProperties : depth0),{"name":"addProps","hash":{},"data":data}))
+ " data-onchange=\"onDataChange\">\n"
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.options : depth0),{"name":"each","hash":{},"fn":container.program(4, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " </select>\n";
},"4":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " <option value=\""
+ alias4(((helper = (helper = helpers.value || (depth0 != null ? depth0.value : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"value","hash":{},"data":data}) : helper)))
+ "\" "
+ ((stack1 = helpers["if"].call(alias1,(depths[1] != null ? depths[1].value : depths[1]),"==",(depth0 != null ? depth0.value : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " "
+ alias4((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,(depth0 != null ? depth0.attributes : depth0),{"name":"addAttr","hash":{},"data":data}))
+ " "
+ alias4((helpers.addProps || (depth0 && depth0.addProps) || alias2).call(alias1,(depth0 != null ? depth0.properties : depth0),{"name":"addProps","hash":{},"data":data}))
+ ">"
+ alias4(((helper = (helper = helpers.display || (depth0 != null ? depth0.display : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"display","hash":{},"data":data}) : helper)))
+ "</option>\n";
},"5":function(container,depth0,helpers,partials,data) {
return "selected";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.readonly : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.program(3, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "");
},"useData":true,"useDepths":true});
this["Handlebars"]["templates"]["adhara-form-fields/textarea"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
return " "
+ container.escapeExpression((helpers.include || (depth0 && depth0.include) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"adhara-form-fields/readonly",depth0,{"name":"include","hash":{},"data":data}))
+ "\n";
},"3":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " <textarea "
+ alias3((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,(depth0 != null ? depth0.fieldAttributes : depth0),{"name":"addAttr","hash":{},"data":data}))
+ " "
+ alias3((helpers.addProps || (depth0 && depth0.addProps) || alias2).call(alias1,(depth0 != null ? depth0.fieldProperties : depth0),{"name":"addProps","hash":{},"data":data}))
+ "\n data-onchange=\"onDataChange\" data-onpaste=\"onDataChange\" data-onkeyup=\"onDataChange\">"
+ alias3(((helper = (helper = helpers.value || (depth0 != null ? depth0.value : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"value","hash":{},"data":data}) : helper)))
+ "</textarea>\n\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.readonly : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Handlebars"]["templates"]["adhara-form-fields/wrapper"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return "<div class=\"adhara-field-wrapper\" "
+ alias3((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,(depth0 != null ? depth0.fieldWrapperAttributes : depth0),{"name":"addAttr","hash":{},"data":data}))
+ " "
+ alias3((helpers.addProps || (depth0 && depth0.addProps) || alias2).call(alias1,(depth0 != null ? depth0.fieldWrapperProperties : depth0),{"name":"addProps","hash":{},"data":data}))
+ ">\n "
+ alias3((helpers.include || (depth0 && depth0.include) || alias2).call(alias1,(depth0 != null ? depth0.fieldTemplate : depth0),depth0,{"name":"include","hash":{},"data":data}))
+ "\n</div>";
},"useData":true});
this["Handlebars"]["templates"]["adhara-list-footer"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return "";
},"useData":true});
this["Handlebars"]["templates"]["adhara-list-grid"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams) {
var stack1, alias1=container.escapeExpression;
return " <th "
+ alias1((helpers.addAttr || (depth0 && depth0.addAttr) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = blockParams[0][0]) != null ? stack1.cell_attributes : stack1),{"name":"addAttr","hash":{},"data":data,"blockParams":blockParams}))
+ ">"
+ alias1(container.lambda(((stack1 = blockParams[0][0]) != null ? stack1.display_name : stack1), depth0))
+ "</th>\n";
},"3":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return " <tr adhara-datum-row=\""
+ container.escapeExpression(container.lambda(blockParams[0][1], depth0))
+ "\">\n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depths[1] != null ? depths[1].columns : depths[1]),{"name":"each","hash":{},"fn":container.program(4, data, 2, blockParams, depths),"inverse":container.noop,"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ " </tr>\n";
},"4":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.escapeExpression, alias3=container.lambda;
return " <td "
+ alias2((helpers.addAttr || (depth0 && depth0.addAttr) || helpers.helperMissing).call(alias1,((stack1 = blockParams[0][0]) != null ? stack1.cell_attributes : stack1),{"name":"addAttr","hash":{},"data":data,"blockParams":blockParams}))
+ " data-field=\""
+ alias2(alias3(blockParams[1][1], depth0))
+ "-"
+ alias2(alias3(((stack1 = blockParams[0][0]) != null ? stack1.name : stack1), depth0))
+ "\" adhara-datum-col=\""
+ alias2(alias3(blockParams[1][1], depth0))
+ "-"
+ alias2(alias3(((stack1 = blockParams[0][0]) != null ? stack1.name : stack1), depth0))
+ "\">\n"
+ ((stack1 = helpers["if"].call(alias1,((stack1 = blockParams[0][0]) != null ? stack1.trust_as_html : stack1),{"name":"if","hash":{},"fn":container.program(5, data, 0, blockParams, depths),"inverse":container.program(7, data, 0, blockParams, depths),"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ " </td>\n";
},"5":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return " "
+ ((stack1 = (helpers.fn_call || (depth0 && depth0.fn_call) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depths[2] != null ? depths[2].formatColumn : depths[2]),blockParams[2][0],blockParams[1][0],blockParams[2][1],{"name":"fn_call","hash":{},"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ "\n";
},"7":function(container,depth0,helpers,partials,data,blockParams,depths) {
return " "
+ container.escapeExpression((helpers.fn_call || (depth0 && depth0.fn_call) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depths[2] != null ? depths[2].formatColumn : depths[2]),blockParams[2][0],blockParams[1][0],blockParams[2][1],{"name":"fn_call","hash":{},"data":data,"blockParams":blockParams}))
+ "\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return "<table class=\"table "
+ container.escapeExpression(((helper = (helper = helpers.tableClass || (depth0 != null ? depth0.tableClass : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"tableClass","hash":{},"data":data,"blockParams":blockParams}) : helper)))
+ "\">\n <thead>\n <tr>\n"
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.columns : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 2, blockParams, depths),"inverse":container.noop,"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ " </tr>\n </thead>\n <tbody>\n"
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.rows : depth0),{"name":"each","hash":{},"fn":container.program(3, data, 2, blockParams, depths),"inverse":container.noop,"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ " </tbody>\n</table>\n";
},"useData":true,"useDepths":true,"useBlockParams":true});
this["Handlebars"]["templates"]["adhara-list-menu"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var helper;
return " <h3>"
+ container.escapeExpression(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"title","hash":{},"data":data}) : helper)))
+ "</h3>\n";
},"3":function(container,depth0,helpers,partials,data) {
var stack1;
return " <div class=\"mutation-actions table-actions\">\n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.buttons : depth0),{"name":"each","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " </div>\n";
},"4":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " <button "
+ alias3((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,(depth0 != null ? depth0.attributes : depth0),"{\"class\": \"adhara-template-button\"}",{"name":"addAttr","hash":{},"data":data}))
+ ">"
+ alias3(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"title","hash":{},"data":data}) : helper)))
+ "</button>\n";
},"6":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n <div class=\"data-actions table-actions\">\n"
+ ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.search : depth0),{"name":"if","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " </div>\n";
},"7":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " <input type=\"search\" autofocus\n"
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.searchText : depth0),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.program(10, data, 0),"data":data})) != null ? stack1 : "")
+ " data-onfocus=\"onSearchToggle\" data-onblur=\"onSearchToggle\"\n data-onchange=\"onSearchCapture\" data-onpaste=\"onSearchCapture\" data-onkeyup=\"onSearchCapture\"\n value=\""
+ container.escapeExpression(((helper = (helper = helpers.searchText || (depth0 != null ? depth0.searchText : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"searchText","hash":{},"data":data}) : helper)))
+ "\"\n />\n";
},"8":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing;
return " "
+ container.escapeExpression((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.search : depth0)) != null ? stack1.attributes : stack1),(helpers.append || (depth0 && depth0.append) || alias2).call(alias1,"{\"class\": \"form-control list-search active\"}",{"name":"append","hash":{},"data":data}),{"name":"addAttr","hash":{},"data":data}))
+ "\n";
},"10":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing;
return " "
+ container.escapeExpression((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.search : depth0)) != null ? stack1.attributes : stack1),(helpers.append || (depth0 && depth0.append) || alias2).call(alias1,"{\"class\": \"form-control list-search\"}",{"name":"append","hash":{},"data":data}),{"name":"addAttr","hash":{},"data":data}))
+ "\n";
},"12":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " <div data-onclick=\"changeViewType\" data-viewtype=\""
+ container.escapeExpression(((helper = (helper = helpers.nextType || (depth0 != null ? depth0.nextType : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"nextType","hash":{},"data":data}) : helper)))
+ "\" class=\"table-actions centre-all pointer\">\n <svg class=\"a-s-fa-Ha-pa\" x=\"0px\" y=\"0px\" width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" focusable=\"false\" fill=\"#6d6d6d\">\n"
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.nextType : depth0),"===","card",{"name":"if","hash":{},"fn":container.program(13, data, 0),"inverse":container.program(15, data, 0),"data":data})) != null ? stack1 : "")
+ " </svg>\n </div>\n";
},"13":function(container,depth0,helpers,partials,data) {
return " <g><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3,3v8h8V3H3z M9,9H5V5h4V9z M3,13v8h8v-8H3z M9,19H5v-4h4V19z M13,3v8h8V3H13z M19,9h-4V5h4V9z M13,13v8h8v-8H13z M19,19h-4v-4h4V19z\"></path><rect fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"none\" width=\"24\" height=\"24\"></rect></g>\n";
},"15":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.nextType : depth0),"===","template",{"name":"if","hash":{},"fn":container.program(16, data, 0),"inverse":container.program(18, data, 0),"data":data})) != null ? stack1 : "");
},"16":function(container,depth0,helpers,partials,data) {
return " <path d=\"M4 14h4v-4H4v4zm0 5h4v-4H4v4zM4 9h4V5H4v4zm5 5h12v-4H9v4zm0 5h12v-4H9v4zM9 5v4h12V5H9z\"></path></svg>\n";
},"18":function(container,depth0,helpers,partials,data) {
return " <path d=\"M4 14h4v-4H4v4zm0 5h4v-4H4v4zM4 9h4V5H4v4zm5 5h4v-4H9v4zm0 5h4v-4H9v4zM9 9h4v-4H9v4zm0\"></path>\n ";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.title : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "<div class=\"table-actions-container\">\n"
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.buttons : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " <div class=\"flex-1\"></div>\n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.search : depth0),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.nextType : depth0),{"name":"if","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "</div>";
},"useData":true});
this["Handlebars"]["templates"]["adhara-list-template-header"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams) {
var stack1;
return " <b>"
+ container.escapeExpression(container.lambda(((stack1 = blockParams[0][0]) != null ? stack1.display_name : stack1), depth0))
+ "</b> |\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams) {
var stack1;
return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"each","hash":{},"fn":container.program(1, data, 2, blockParams),"inverse":container.noop,"data":data,"blockParams":blockParams})) != null ? stack1 : "");
},"useData":true,"useBlockParams":true});
this["Handlebars"]["templates"]["adhara-list-template-item"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " <b>"
+ alias4(((helper = (helper = helpers.key || (depth0 != null ? depth0.key : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"key","hash":{},"data":data}) : helper)))
+ "</b>: "
+ alias4(((helper = (helper = helpers.value || (depth0 != null ? depth0.value : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"value","hash":{},"data":data}) : helper)))
+ "<br />\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return "<div>\n"
+ ((stack1 = (helpers.loopObject || (depth0 && depth0.loopObject) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"loopObject","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "</div>\n";
},"useData":true});
this["Handlebars"]["templates"]["adhara-list-template"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams,depths) {
var helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;
return " <tr adhara-datum-row=\""
+ alias2(alias1(blockParams[0][1], depth0))
+ "\">\n <td adhara-datum-col=\""
+ alias2(alias1(blockParams[0][1], depth0))
+ "-"
+ alias2(((helper = (helper = helpers.column || (depth0 != null ? depth0.column : depth0)) != null ? helper : alias4),(typeof helper === "function" ? helper.call(alias3,{"name":"column","hash":{},"data":data,"blockParams":blockParams}) : helper)))
+ "\">\n "
+ alias2((helpers.include || (depth0 && depth0.include) || alias4).call(alias3,(depths[1] != null ? depths[1].itemTemplate : depths[1]),blockParams[0][0],{"name":"include","hash":{},"data":data,"blockParams":blockParams}))
+ "\n </td>\n </tr>\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return "<div "
+ alias3((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,(depth0 != null ? depth0.containerAttributes : depth0),{"name":"addAttr","hash":{},"data":data,"blockParams":blockParams}))
+ ">\n <table class=\"table "
+ alias3(((helper = (helper = helpers.tableClass || (depth0 != null ? depth0.tableClass : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"tableClass","hash":{},"data":data,"blockParams":blockParams}) : helper)))
+ "\">\n <thead>\n <tr>\n "
+ alias3((helpers.include || (depth0 && depth0.include) || alias2).call(alias1,(depth0 != null ? depth0.headerTemplate : depth0),(depth0 != null ? depth0.columns : depth0),{"name":"include","hash":{},"data":data,"blockParams":blockParams}))
+ "\n </tr>\n </thead>\n <tbody>\n"
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.rows : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 2, blockParams, depths),"inverse":container.noop,"data":data,"blockParams":blockParams})) != null ? stack1 : "")
+ " </tbody>\n </table>\n</div>";
},"useData":true,"useDepths":true,"useBlockParams":true});
this["Handlebars"]["templates"]["adhara-list"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
return " "
+ container.escapeExpression((helpers.include || (depth0 && depth0.include) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.fetchingDataTemplate : depth0),depth0,{"name":"include","hash":{},"data":data}))
+ "\n";
},"3":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isPaginationRequired : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " <div class=\"list-contents\">\n"
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.rows : depth0),{"name":"if","hash":{},"fn":container.program(7, data, 0),"inverse":container.program(9, data, 0),"data":data})) != null ? stack1 : "");
},"4":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " <div class=\"row flex-row-reverse\">\n <div class=\"col-xs-12\">\n <div class=\"btn-group float-right\" role=\"group\">\n <button "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isFirstPage : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " class=\"btn btn-sm btn-link d-inline-block\" data-onclick=\"previousPage\">"
+ alias3((helpers.i18n || (depth0 && depth0.i18n) || alias2).call(alias1,"list_view.navigation.previous",{"name":"i18n","hash":{},"data":data}))
+ "</button>\n <button "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isLastPage : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " class=\"btn btn-sm btn-link d-inline-block ml-2\" data-onclick=\"nextPage\">"
+ alias3((helpers.i18n || (depth0 && depth0.i18n) || alias2).call(alias1,"list_view.navigation.next",{"name":"i18n","hash":{},"data":data}))
+ "</button>\n </div>\n </div>\n </div>\n";
},"5":function(container,depth0,helpers,partials,data) {
return "disabled";
},"7":function(container,depth0,helpers,partials,data) {
return " "
+ container.escapeExpression((helpers.include || (depth0 && depth0.include) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.listTemplate : depth0),depth0,{"name":"include","hash":{},"data":data}))
+ "\n";
},"9":function(container,depth0,helpers,partials,data) {
return " "
+ container.escapeExpression((helpers.include || (depth0 && depth0.include) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.noDataTemplate : depth0),depth0,{"name":"include","hash":{},"data":data}))
+ "\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return "<div id=\"adharaTable_"
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
+ "\" "
+ alias4((helpers.addAttr || (depth0 && depth0.addAttr) || alias2).call(alias1,(depth0 != null ? depth0.containerAttributes : depth0),"{\"class\":\"adhara-table-container\"}",{"name":"addAttr","hash":{},"data":data}))
+ ">\n "
+ alias4((helpers.include || (depth0 && depth0.include) || alias2).call(alias1,(depth0 != null ? depth0.menuTemplate : depth0),depth0,{"name":"include","hash":{},"data":data}))
+ "\n <div class=\"adhara-list-wrapper adhara-"
+ alias4(((helper = (helper = helpers.listType || (depth0 != null ? depth0.listType : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"listType","hash":{},"data":data}) : helper)))
+ "-list\">\n"
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.state : depth0)) != null ? stack1.fetching_data : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "")
+ " </div>\n </div>\n "
+ alias4((helpers.include || (depth0 && depth0.include) || alias2).call(alias1,(depth0 != null ? depth0.footerTemplate : depth0),depth0,{"name":"include","hash":{},"data":data}))
+ "\n</div>";
},"useData":true});
this["Handlebars"]["templates"]["adhara-tab-view"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " <li class=\""
+ container.escapeExpression(((helper = (helper = helpers.className || (depth0 != null ? depth0.className : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"className","hash":{},"data":data}) : helper)))
+ " nav-item\">\n"
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.link : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "")
+ " </li>\n";
},"2":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return "