2018-09-27 11:18:26 +00:00
|
|
|
(function() {
|
2018-10-01 08:43:17 +00:00
|
|
|
var template = Handlebars.template, templates = OCA.Files.Templates = OCA.Files.Templates || {};
|
2018-10-01 16:58:12 +00:00
|
|
|
templates['detailsview'] = template({"1":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1;
|
|
|
|
|
|
|
|
return "<ul class=\"tabHeaders\">\n"
|
|
|
|
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.tabHeaders : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "</ul>\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 " <li class=\"tabHeader\" data-tabid=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.tabId || (depth0 != null ? depth0.tabId : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"tabId","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" tabindex=\"0\">\n <a href=\"#\" tabindex=\"-1\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.label || (depth0 != null ? depth0.label : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"label","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</a>\n </li>\n";
|
|
|
|
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {});
|
|
|
|
|
|
|
|
return "<div class=\"detailFileInfoContainer\"></div>\n"
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.tabHeaders : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "<div class=\"tabsContainer\"></div>\n<a class=\"close icon-close\" href=\"#\"><span class=\"hidden-visually\">"
|
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.closeLabel || (depth0 != null ? depth0.closeLabel : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"closeLabel","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span></a>\n";
|
|
|
|
},"useData":true});
|
2018-10-01 17:23:40 +00:00
|
|
|
templates['favorite_mark'] = template({"1":function(container,depth0,helpers,partials,data) {
|
|
|
|
return "permanent";
|
|
|
|
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1, helper, options, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression, buffer =
|
|
|
|
"<div class=\"favorite-mark ";
|
|
|
|
stack1 = ((helper = (helper = helpers.isFavorite || (depth0 != null ? depth0.isFavorite : depth0)) != null ? helper : alias2),(options={"name":"isFavorite","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data}),(typeof helper === alias3 ? helper.call(alias1,options) : helper));
|
|
|
|
if (!helpers.isFavorite) { stack1 = helpers.blockHelperMissing.call(depth0,stack1,options)}
|
|
|
|
if (stack1 != null) { buffer += stack1; }
|
|
|
|
return buffer + "\">\n <span class=\"icon "
|
|
|
|
+ alias4(((helper = (helper = helpers.iconClass || (depth0 != null ? depth0.iconClass : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"iconClass","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" />\n <span class=\"hidden-visually\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.altText || (depth0 != null ? depth0.altText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"altText","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span>\n</div>\n";
|
|
|
|
},"useData":true});
|
2018-10-01 18:04:13 +00:00
|
|
|
templates['file_action_trigger'] = 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 " <img class=\"svg\" alt=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.altText || (depth0 != null ? depth0.altText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"altText","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" src=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.icon || (depth0 != null ? depth0.icon : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"icon","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" />\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.iconClass : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.hasDisplayName : depth0),{"name":"unless","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
|
|
|
|
},"4":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper;
|
|
|
|
|
|
|
|
return " <span class=\"icon "
|
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.iconClass || (depth0 != null ? depth0.iconClass : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"iconClass","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" />\n";
|
|
|
|
},"6":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper;
|
|
|
|
|
|
|
|
return " <span class=\"hidden-visually\">"
|
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.altText || (depth0 != null ? depth0.altText : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"altText","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span>\n";
|
|
|
|
},"8":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper;
|
|
|
|
|
|
|
|
return "<span> "
|
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.displayName || (depth0 != null ? depth0.displayName : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"displayName","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span>";
|
|
|
|
},"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 "<a class=\"action action-"
|
|
|
|
+ alias4(((helper = (helper = helpers.nameLowerCase || (depth0 != null ? depth0.nameLowerCase : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"nameLowerCase","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" href=\"#\" data-action=\""
|
|
|
|
+ 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)))
|
|
|
|
+ "\">\n"
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.icon : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "")
|
|
|
|
+ " "
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.displayName : depth0),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "\n</a>\n";
|
|
|
|
},"useData":true});
|
2018-10-01 08:52:56 +00:00
|
|
|
templates['filemultiselectmenu'] = 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 " <li class=\"item-"
|
|
|
|
+ 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)))
|
|
|
|
+ "\">\n <a href=\"#\" class=\"menuitem action "
|
|
|
|
+ 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)))
|
|
|
|
+ " permanent\" data-action=\""
|
|
|
|
+ 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)))
|
|
|
|
+ "\">\n"
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.iconClass : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "")
|
|
|
|
+ " <span class=\"label\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.displayName || (depth0 != null ? depth0.displayName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"displayName","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span>\n </a>\n </li>\n";
|
|
|
|
},"2":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper;
|
|
|
|
|
|
|
|
return " <span class=\"icon "
|
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.iconClass || (depth0 != null ? depth0.iconClass : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"iconClass","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\"></span>\n";
|
|
|
|
},"4":function(container,depth0,helpers,partials,data) {
|
|
|
|
return " <span class=\"no-icon\"></span>\n";
|
|
|
|
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1;
|
|
|
|
|
|
|
|
return "<ul>\n"
|
|
|
|
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.items : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "</ul>\n";
|
|
|
|
},"useData":true});
|
2018-09-27 11:18:26 +00:00
|
|
|
templates['filesummary'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper;
|
|
|
|
|
|
|
|
return "<span class=\"info\">\n <span class=\"dirinfo\"></span>\n <span class=\"connector\">"
|
2018-09-28 19:15:30 +00:00
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.connectorLabel || (depth0 != null ? depth0.connectorLabel : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"connectorLabel","hash":{},"data":data}) : helper)))
|
2018-09-27 11:18:26 +00:00
|
|
|
+ "</span>\n <span class=\"fileinfo\"></span>\n <span class=\"hiddeninfo\"></span>\n <span class=\"filter\"></span>\n</span>\n";
|
|
|
|
},"useData":true});
|
2018-10-01 16:50:09 +00:00
|
|
|
templates['template_addbutton'] = 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 "<a href=\"#\" class=\"button new\">\n <span class=\"icon "
|
|
|
|
+ alias4(((helper = (helper = helpers.iconClass || (depth0 != null ? depth0.iconClass : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"iconClass","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\"></span>\n <span class=\"hidden-visually\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.addText || (depth0 != null ? depth0.addText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"addText","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span>\n</a>\n";
|
|
|
|
},"useData":true});
|
2018-09-27 11:18:26 +00:00
|
|
|
})();
|