1
0

templates.js 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. (function() {
  2. var template = Handlebars.template, templates = OCA.Sharing.Templates = OCA.Sharing.Templates || {};
  3. templates['files_drop'] = template({"1":function(container,depth0,helpers,partials,data) {
  4. var helper, lookupProperty = container.lookupProperty || function(parent, propertyName) {
  5. if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  6. return parent[propertyName];
  7. }
  8. return undefined
  9. };
  10. return " <div id=\"drop-upload-name\">"
  11. + container.escapeExpression(((helper = (helper = lookupProperty(helpers,"name") || (depth0 != null ? lookupProperty(depth0,"name") : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"name","hash":{},"data":data,"loc":{"start":{"line":3,"column":29},"end":{"line":3,"column":37}}}) : helper)))
  12. + "</div><div id=\"drop-upload-status\"></div>\n <progress id=\"drop-upload-progress-bar\" value=\"0\" max=\"100\"></progress>\n";
  13. },"3":function(container,depth0,helpers,partials,data) {
  14. var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
  15. if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  16. return parent[propertyName];
  17. }
  18. return undefined
  19. };
  20. return " <img src=\""
  21. + alias4(((helper = (helper = lookupProperty(helpers,"iconSrc") || (depth0 != null ? lookupProperty(depth0,"iconSrc") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"iconSrc","hash":{},"data":data,"loc":{"start":{"line":6,"column":12},"end":{"line":6,"column":23}}}) : helper)))
  22. + "\"/> "
  23. + alias4(((helper = (helper = lookupProperty(helpers,"name") || (depth0 != null ? lookupProperty(depth0,"name") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data,"loc":{"start":{"line":6,"column":27},"end":{"line":6,"column":35}}}) : helper)))
  24. + "\n";
  25. },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
  26. var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
  27. if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  28. return parent[propertyName];
  29. }
  30. return undefined
  31. };
  32. return "<li title=\""
  33. + alias4(((helper = (helper = lookupProperty(helpers,"name") || (depth0 != null ? lookupProperty(depth0,"name") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":19}}}) : helper)))
  34. + "\" data-name=\""
  35. + alias4(((helper = (helper = lookupProperty(helpers,"name") || (depth0 != null ? lookupProperty(depth0,"name") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data,"loc":{"start":{"line":1,"column":32},"end":{"line":1,"column":40}}}) : helper)))
  36. + "\">\n"
  37. + ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"isUploading") : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data,"loc":{"start":{"line":2,"column":1},"end":{"line":7,"column":8}}})) != null ? stack1 : "")
  38. + "</li>\n";
  39. },"useData":true});
  40. })();