First Commit

This commit is contained in:
Kevin Adametz 2018-10-29 09:39:31 +01:00
commit 610aa1e202
4204 changed files with 636764 additions and 0 deletions

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
(function(e,t,undefined){function a(e,t){t=t?t:location.hash;var a=RegExp("&"+e+"(?:=([^&]*))?(?=&|$)","i");return(t=t.replace(/^\#/,"&").match(a))?t[1]===undefined?"":decodeURIComponent(t[1]):undefined}function i(t,a){var i=e(t.table).find("tbody").find("tr:not(.footable-row-detail, .footable-filtered)").length;e(t.table).data("status_num_total",i);var o=e(t.table).find("tbody").find("tr:not(.footable-row-detail)").filter(":visible").length;e(t.table).data("status_num_shown",o);var n=e(t.table).data("sorted"),r=e(t.table).find("th")[n],l=e(r).hasClass("footable-sorted-desc");if(e(t.table).data("status_descending",l),t.pageInfo){var s=t.pageInfo.currentPage;e(t.table).data("status_pagenum",s)}var d="",f=e(t.table).data("filter");e(f).length&&(d=e(f).val()),e(t.table).data("status_filter_val",d);var p,u,g;if("footable_row_expanded"==a.type&&(p=a.row,p&&(u=e(t.table).data("expanded_rows"),g=[],u&&(g=u.split(",")),g.push(p.rowIndex),e(t.table).data("expanded_rows",g.join(",")))),"footable_row_collapsed"==a.type&&(p=a.row)){u=e(t.table).data("expanded_rows"),g=[],u&&(g=u.split(",")),new_expanded_rows=[];for(var c in g)if(g[c]==p.rowIndex){new_expanded_rows=g.splice(c,1);break}e(t.table).data("expanded_rows",new_expanded_rows.join(","))}}function o(){var t=this;t.name="Footable LucidBookmarkable",t.init=function(t){t.options.bookmarkable.enabled&&e(t.table).bind({footable_initialized:function(){var i=t.table.id,o=a(i+"_f"),n=a(i+"_p"),r=a(i+"_s"),l=a(i+"_d"),s=a(i+"_e");if(o){var d=e(t.table).data("filter");e(d).val(o),e(t.table).trigger("footable_filter",{filter:o})}if(n&&e(t.table).data("currentPage",n),r!==undefined){var f=e(t.table).data("footable-sort"),p=!0;"true"==l&&(p=!1),f.doSort(r,p)}else e(t.table).trigger("footable_setup_paging");if(s){var u=s.split(",");for(var g in u)row=e(t.table.rows[u[g]]),row.find("> td:first").trigger("footable_toggle_row")}t.lucid_bookmark_read=!0},"footable_page_filled footable_redrawn footable_filtered footable_sorted footable_row_expanded footable_row_collapsed":function(a){if(i(t,a),t.lucid_bookmark_read){var o=t.table.id,n=o+"_f",r=o+"_p",l=o+"_s",s=o+"_d",d=o+"_e",f=location.hash.replace(/^\#/,"&"),p=[n,r,l,s,d];for(var u in p){var g=RegExp("&"+p[u]+"=([^&]*)","g");f=f.replace(g,"")}var c={};c[n]=e(t.table).data("status_filter_val"),c[r]=e(t.table).data("status_pagenum"),c[l]=e(t.table).data("sorted"),c[s]=e(t.table).data("status_descending"),c[d]=e(t.table).data("expanded_rows");var b=[];for(var h in c)c[h]!==undefined&&b.push(h+"="+encodeURIComponent(c[h]));f.length&&b.push(f),location.hash=b.join("&")}}})}}if(t.footable===undefined||null===t.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var n={bookmarkable:{enabled:!1}};t.footable.plugins.register(o,n)})(jQuery,window);

View file

@ -0,0 +1 @@
(function(e,t,undefined){function a(){var t=this;t.name="Footable Filter",t.init=function(a){if(t.footable=a,a.options.filter.enabled===!0){if(e(a.table).data("filter")===!1)return;a.timers.register("filter"),e(a.table).unbind(".filtering").bind({"footable_initialized.filtering":function(){var i=e(a.table),o={input:i.data("filter")||a.options.filter.input,timeout:i.data("filter-timeout")||a.options.filter.timeout,minimum:i.data("filter-minimum")||a.options.filter.minimum,disableEnter:i.data("filter-disable-enter")||a.options.filter.disableEnter};o.disableEnter&&e(o.input).keypress(function(e){return window.event?13!==window.event.keyCode:13!==e.which}),i.bind("footable_clear_filter",function(){e(o.input).val(""),t.clearFilter()}),i.bind("footable_filter",function(e,a){t.filter(a.filter)}),e(o.input).keyup(function(i){a.timers.filter.stop(),27===i.which&&e(o.input).val(""),a.timers.filter.start(function(){var a=e(o.input).val()||"";t.filter(a)},o.timeout)})},"footable_redrawn.filtering":function(){var i=e(a.table),o=i.data("filter-string");o&&t.filter(o)}}).data("footable-filter",t)}},t.filter=function(a){var i=t.footable,o=e(i.table),n=o.data("filter-minimum")||i.options.filter.minimum,r=!a,l=i.raise("footable_filtering",{filter:a,clear:r});if(!(l&&l.result===!1||l.filter&&n>l.filter.length))if(l.clear)t.clearFilter();else{var d=l.filter.split(" ");o.find("> tbody > tr").hide().addClass("footable-filtered");var s=o.find("> tbody > tr:not(.footable-row-detail)");e.each(d,function(e,t){t&&t.length>0&&(o.data("current-filter",t),s=s.filter(i.options.filter.filterFunction))}),s.each(function(){t.showRow(this,i),e(this).removeClass("footable-filtered")}),o.data("filter-string",l.filter),i.raise("footable_filtered",{filter:l.filter,clear:!1})}},t.clearFilter=function(){var a=t.footable,i=e(a.table);i.find("> tbody > tr:not(.footable-row-detail)").removeClass("footable-filtered").each(function(){t.showRow(this,a)}),i.removeData("filter-string"),a.raise("footable_filtered",{clear:!0})},t.showRow=function(t,a){var i=e(t),o=i.next(),n=e(a.table);i.is(":visible")||(n.hasClass("breakpoint")&&i.hasClass("footable-detail-show")&&o.hasClass("footable-row-detail")?(i.add(o).show(),a.createOrUpdateDetailRow(t)):i.show())}}if(t.footable===undefined||null===t.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={filter:{enabled:!0,input:".footable-filter",timeout:300,minimum:2,disableEnter:!1,filterFunction:function(){var t=e(this),a=t.parents("table:first"),i=a.data("current-filter").toUpperCase(),o=t.find("td").text();return a.data("filter-text-only")||t.find("td[data-value]").each(function(){o+=e(this).data("value")}),o.toUpperCase().indexOf(i)>=0}}};t.footable.plugins.register(a,i)})(jQuery,window);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
(function(e,t,undefined){function a(){var t=this;t.name="Footable Sortable",t.init=function(a){t.footable=a,a.options.sort===!0&&e(a.table).unbind(".sorting").bind({"footable_initialized.sorting":function(){var i,o,n=e(a.table),r=(n.find("> tbody"),a.options.classes.sort);if(n.data("sort")!==!1){n.find("> thead > tr:last-child > th, > thead > tr:last-child > td").each(function(){o=e(this),i=a.columns[o.index()],i.sort.ignore===!0||o.hasClass(r.sortable)||(o.addClass(r.sortable),e("<span />").addClass(r.indicator).appendTo(o))}),n.find("> thead > tr:last-child > th."+r.sortable+", > thead > tr:last-child > td."+r.sortable).unbind("click.footable").bind("click.footable",function(a){a.preventDefault(),o=e(this);var i=!o.hasClass(r.sorted);return t.doSort(o.index(),i),!1});var l=!1;for(var s in a.columns)if(i=a.columns[s],i.sort.initial){var d="descending"!==i.sort.initial;t.doSort(i.index,d);break}l&&a.bindToggleSelectors()}},"footable_redrawn.sorting":function(){var i=e(a.table),o=a.options.classes.sort;i.data("sorted")>=0&&i.find("> thead > tr:last-child > th").each(function(a){var i=e(this);return i.hasClass(o.sorted)||i.hasClass(o.descending)?(t.doSort(a),undefined):undefined})},"footable_column_data.sorting":function(t){var a=e(t.column.th);t.column.data.sort=t.column.data.sort||{},t.column.data.sort.initial=a.data("sort-initial")||!1,t.column.data.sort.ignore=a.data("sort-ignore")||!1,t.column.data.sort.selector=a.data("sort-selector")||null;var i=a.data("sort-match")||0;i>=t.column.data.matches.length&&(i=0),t.column.data.sort.match=t.column.data.matches[i]}}).data("footable-sort",t)},t.doSort=function(a,i){var o=t.footable;if(e(o.table).data("sort")!==!1){var n=e(o.table),r=n.find("> tbody"),l=o.columns[a],s=n.find("> thead > tr:last-child > th:eq("+a+")"),d=o.options.classes.sort,f=o.options.events.sort;if(i=i===undefined?s.hasClass(d.sorted):"toggle"===i?!s.hasClass(d.sorted):i,l.sort.ignore===!0)return!0;var u=o.raise(f.sorting,{column:l,direction:i?"ASC":"DESC"});u&&u.result===!1||(n.data("sorted",l.index),n.find("> thead > tr:last-child > th, > thead > tr:last-child > td").not(s).removeClass(d.sorted+" "+d.descending),i===undefined&&(i=s.hasClass(d.sorted)),i?s.removeClass(d.descending).addClass(d.sorted):s.removeClass(d.sorted).addClass(d.descending),t.sort(o,r,l,i),o.bindToggleSelectors(),o.raise(f.sorted,{column:l,direction:i?"ASC":"DESC"}))}},t.rows=function(t,a,i){var o=[];return a.find("> tr").each(function(){var a=e(this),n=null;if(a.hasClass(t.options.classes.detail))return!0;a.next().hasClass(t.options.classes.detail)&&(n=a.next().get(0));var r={row:a,detail:n};return i!==undefined&&(r.value=t.parse(this.cells[i.sort.match],i)),o.push(r),!0}).detach(),o},t.sort=function(e,a,i,o){var n=t.rows(e,a,i),r=e.options.sorters[i.type]||e.options.sorters.alpha;n.sort(function(e,t){return o?r(e.value,t.value):r(t.value,e.value)});for(var l=0;n.length>l;l++)a.append(n[l].row),null!==n[l].detail&&a.append(n[l].detail)}}if(t.footable===undefined||null===t.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={sort:!0,sorters:{alpha:function(e,t){return"string"==typeof e&&(e=e.toLowerCase()),"string"==typeof t&&(t=t.toLowerCase()),e===t?0:t>e?-1:1},numeric:function(e,t){return e-t}},classes:{sort:{sortable:"footable-sortable",sorted:"footable-sorted",descending:"footable-sorted-desc",indicator:"footable-sort-indicator"}},events:{sort:{sorting:"footable_sorting",sorted:"footable_sorted"}}};t.footable.plugins.register(a,i)})(jQuery,window);

View file

@ -0,0 +1 @@
(function(e,t,undefined){function a(){var t=this;t.name="Footable Striping",t.init=function(a){t.footable=a,e(a.table).unbind("striping").bind({"footable_initialized.striping footable_row_removed.striping footable_redrawn.striping footable_sorted.striping footable_filtered.striping":function(){e(this).data("striping")!==!1&&t.setupStriping(a)}})},t.setupStriping=function(t){var a=0;e(t.table).find("> tbody > tr:not(.footable-row-detail)").each(function(){var i=e(this);i.removeClass(t.options.classes.striping.even).removeClass(t.options.classes.striping.odd),0===a%2?i.addClass(t.options.classes.striping.even):i.addClass(t.options.classes.striping.odd),a++})}}if(t.footable===undefined||null===t.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={striping:{enabled:!0},classes:{striping:{odd:"footable-odd",even:"footable-even"}}};t.footable.plugins.register(a,i)})(jQuery,window);