Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@unicorns/data-table

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unicorns/data-table - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

2

index.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("moment"),require("pikaday"),require("@unicorns/avatars")):"function"==typeof define&&define.amd?define("@unicorns/data-table",["moment","pikaday","@unicorns/avatars"],t):"object"==typeof exports?exports["@unicorns/data-table"]=t(require("moment"),require("pikaday"),require("@unicorns/avatars")):e["@unicorns/data-table"]=t(e.moment,e.pikaday,e["@unicorns/avatars"])}(window,(function(e,t,i){return function(e){var t={};function i(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,a){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(a,r,function(t){return e[t]}.bind(null,r));return a},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="./",i(i.s=56)}([function(e,t,i){"use strict";var a,r=function(){return void 0===a&&(a=Boolean(window&&document&&document.all&&!window.atob)),a},n=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),o=[];function s(e){for(var t=-1,i=0;i<o.length;i++)if(o[i].identifier===e){t=i;break}return t}function l(e,t){for(var i={},a=[],r=0;r<e.length;r++){var n=e[r],l=t.base?n[0]+t.base:n[0],d=i[l]||0,c="".concat(l," ").concat(d);i[l]=d+1;var p=s(c),f={css:n[1],media:n[2],sourceMap:n[3]};-1!==p?(o[p].references++,o[p].updater(f)):o.push({identifier:c,updater:v(f,t),references:1}),a.push(c)}return a}function d(e){var t=document.createElement("style"),a=e.attributes||{};if(void 0===a.nonce){var r=i.nc;r&&(a.nonce=r)}if(Object.keys(a).forEach((function(e){t.setAttribute(e,a[e])})),"function"==typeof e.insert)e.insert(t);else{var o=n(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var c,p=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function f(e,t,i,a){var r=i?"":a.media?"@media ".concat(a.media," {").concat(a.css,"}"):a.css;if(e.styleSheet)e.styleSheet.cssText=p(t,r);else{var n=document.createTextNode(r),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(n,o[t]):e.appendChild(n)}}function u(e,t,i){var a=i.css,r=i.media,n=i.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),n&&btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(n))))," */")),e.styleSheet)e.styleSheet.cssText=a;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}var h=null,g=0;function v(e,t){var i,a,r;if(t.singleton){var n=g++;i=h||(h=d(t)),a=f.bind(null,i,n,!1),r=f.bind(null,i,n,!0)}else i=d(t),a=u.bind(null,i,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return a(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;a(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var i=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var a=0;a<i.length;a++){var r=s(i[a]);o[r].references--}for(var n=l(e,t),d=0;d<i.length;d++){var c=s(i[d]);0===o[c].references&&(o[c].updater(),o.splice(c,1))}i=n}}}},function(e,t,i){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=function(e,t){var i=e[1]||"",a=e[3];if(!a)return i;if(t&&"function"==typeof btoa){var r=(o=a,s=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),n=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(n).concat([r]).join("\n")}var o,s,l;return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,a){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(a)for(var n=0;n<this.length;n++){var o=this[n][0];null!=o&&(r[o]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);a&&r[l[0]]||(i&&(l[2]?l[2]="".concat(i," and ").concat(l[2]):l[2]=i),t.push(l))}},t}},function(e,t,i){var a=i(0),r=i(24);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(26);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(28);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(30);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(32);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(34);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(36);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(38);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(40);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(42);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(44);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(46);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(48);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(50);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(52);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(54);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(55);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(t,i){t.exports=e},function(e,t,i){"use strict";var a=i(18),r=i.n(a);t.default=r.a},function(e,i){e.exports=t},function(e,t){e.exports=i},function(e,t,i){"use strict";var a=i(2);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"label[data-v-5bf94502]{cursor:pointer;margin-left:5px;margin-top:1px;flex-basis:200px;font-size:.9em}input[type=checkbox][data-v-5bf94502]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:white;background-image:none;border:1px solid var(--primary);display:inline-block;position:relative;padding:7px !important;top:0.25rem;cursor:pointer}input[type=checkbox][data-v-5bf94502]:focus{border:1px solid var(--primary);outline-offset:1px}input[type=checkbox][data-v-5bf94502]:checked{outline:1px solid var(--primary);background-color:white;outline-offset:1}input[type=checkbox][data-v-5bf94502]:checked:after{position:absolute;top:0;left:3px;padding:0}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(3);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-1f7ca5eb]{display:flex;align-items:center;margin:calc(var(--padding) / 2)}label[data-v-1f7ca5eb]{margin-right:var(--padding);font-size:.9rem}select[data-v-1f7ca5eb]{cursor:pointer;padding:0 0 0 10px;border:1px solid var(--divider);background-size:15px 13px;background-repeat:no-repeat;background-origin:content-box;background-position:right 10px center}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(4);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-a9dc4e8a]{position:absolute;top:var(--padding);right:var(--padding);background:none;background-size:15px;border:0;margin:0;height:15px;width:15px;display:flex;align-items:center;justify-content:center;text-decoration:none;background-repeat:no-repeat;background-position:center center}div[data-v-a9dc4e8a]:hover{opacity:0.9;cursor:pointer}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(5);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,'/*!\n * Pikaday\n * Copyright © 2014 David Bushell | BSD & MIT license | https://dbushell.com/\n */.pika-single{z-index:9999;display:block;position:relative;color:#333;background:#fff;border:1px solid #ccc;border-bottom-color:#bbb;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.pika-single.is-hidden{display:none}.pika-single.is-bound{position:absolute;box-shadow:0 5px 15px -5px rgba(0,0,0,0.5)}.pika-single{*zoom:1}.pika-single:before,.pika-single:after{content:" ";display:table}.pika-single:after{clear:both}.pika-lendar{float:left;width:240px;margin:8px}.pika-title{position:relative;text-align:center}.pika-title select{cursor:pointer;position:absolute;z-index:9998;margin:0;left:0;top:5px;filter:alpha(opacity=0);opacity:0}.pika-label{display:inline-block;*display:inline;position:relative;z-index:9999;overflow:hidden;margin:0;padding:5px 3px;font-size:14px;line-height:20px;font-weight:bold;color:#333;background-color:#fff}.pika-prev,.pika-next{display:block;cursor:pointer;position:relative;outline:none;border:0;padding:0;width:20px;height:30px;text-indent:20px;white-space:nowrap;overflow:hidden;background-color:transparent;background-position:center center;background-repeat:no-repeat;background-size:75% 75%;opacity:.5;*position:absolute;*top:0}.pika-prev:hover,.pika-next:hover{opacity:1}.pika-prev.is-disabled,.pika-next.is-disabled{cursor:default;opacity:.2}.pika-prev,.is-rtl .pika-next{float:left;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==");*left:0}.pika-next,.is-rtl .pika-prev{float:right;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=");*right:0}.pika-select{display:inline-block;*display:inline}.pika-table{width:100%;border-collapse:collapse;border-spacing:0;border:0}.pika-table th,.pika-table td{width:14.285714285714286%;padding:0}.pika-table th{color:#999;font-size:12px;line-height:25px;font-weight:bold;text-align:center}.pika-table abbr{border-bottom:none;cursor:help}.pika-button{cursor:pointer;display:block;-moz-box-sizing:border-box;box-sizing:border-box;outline:none;border:0;margin:0;width:100%;padding:5px;color:#666;font-size:12px;line-height:15px;text-align:right;background:#f5f5f5}.is-today .pika-button{color:#3af;font-weight:bold}.is-selected .pika-button{color:#fff;font-weight:bold;background:#3af;box-shadow:inset 0 1px 3px #178fe5;border-radius:3px}.is-disabled .pika-button,.is-outside-current-month .pika-button{color:#999;opacity:.3}.is-disabled .pika-button{pointer-events:none;cursor:default}.pika-button:hover{color:#fff;background:#ff8000;box-shadow:none;border-radius:3px}.pika-button .is-selection-disabled{pointer-events:none;cursor:default}.pika-week{font-size:11px;color:#999}.is-inrange .pika-button{background:#D5E9F7}.is-startrange .pika-button{color:#fff;background:#6CB31D;box-shadow:none;border-radius:3px}.is-endrange .pika-button{color:#fff;background:#33aaff;box-shadow:none;border-radius:3px}input.date-input{border:1px solid var(--primary) !important}\n',""]),e.exports=t},function(e,t,i){"use strict";var a=i(6);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-87c89e4c]{display:flex;align-items:center;justify-content:center;height:40px;margin-left:-5em;color:grey;font-size:0.5em;font-weight:bold}div[data-v-87c89e4c]:hover{opacity:0.9;cursor:pointer}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(7);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-b5ff1ffa]{display:flex;flex-direction:column}div span[data-v-b5ff1ffa]{font-size:calc(var(--padding) * 0.8);margin:var(--padding) 0 calc(var(--padding) / 2) 0}div div.date-input[data-v-b5ff1ffa]{flex-direction:row}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(8);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-13994c7f]{display:flex;flex-direction:column}div span[data-v-13994c7f]{font-size:calc(var(--padding) * 0.8);margin:var(--padding) 0 calc(var(--padding) / 2) 0}div div.value-input[data-v-13994c7f]{flex-direction:row}div div.value-input input[data-v-13994c7f],div div.value-input input[data-v-13994c7f]:focus{border:1px solid var(--primary)}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(9);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,".filter-tab-content[data-v-7f3ce534]{position:absolute;z-index:9;left:calc(var(--padding) * 2);background:white;border:1px solid var(--divider);padding:var(--padding);min-width:300px;max-width:600px;display:flex;flex-direction:column}.tabs[data-v-7f3ce534]{display:flex;flex-direction:row;border-bottom:1px solid var(--divider);align-items:center}.tabs .tab[data-v-7f3ce534]{padding:calc(var(--padding) / 2) var(--padding);border-top:1px solid var(--divider);border-right:1px solid var(--divider);border-left:1px solid var(--divider);margin-left:-1px;border-radius:3px 5px 0 0;min-width:65px;height:auto;font-size:.9rem;overflow-wrap:normal}.tabs .tab[data-v-7f3ce534]:first-of-type{margin-left:0;border-left:none}.tabs .tab[data-v-7f3ce534]:hover{background:var(--hover);cursor:pointer}.tabs .tab.active[data-v-7f3ce534]{background:var(--divider);color:var(--primary)}@media screen and (max-width: 500px){.tabs .tab[data-v-7f3ce534]{font-size:.7rem;padding:0.7em;min-height:48px;display:flex;align-items:center}}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(10);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,".filters[data-v-a9ab0140]{display:flex;flex-wrap:wrap;border-bottom:var(--border)}.filter-checkbox[data-v-a9ab0140],.filter-dropdown[data-v-a9ab0140]{flex:1;padding:calc(var(--padding) / 2);flex-basis:170px;align-self:center}.filter-tabbed[data-v-a9ab0140]{width:100%}.tabbed-filters[data-v-a9ab0140]{position:relative;top:0;left:0;right:0;width:100%}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(11);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-69dd88a4]{padding:var(--padding)}div input[data-v-69dd88a4]{color:var(--primaryText);border:1px solid var(--primary);width:100%;height:calc(var(--padding) * 3);padding:0 calc(var(--padding) / 2)}div input[data-v-69dd88a4]:focus{outline:var(--primary) auto 5px}div input[data-v-69dd88a4]::placeholder{color:var(--primary)}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(12);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,'.header-bar[data-v-1e8971f0]{min-width:100%;right:0;left:0;background-color:var(--headers)}@media (max-width: 480px){.header-bar[data-v-1e8971f0]{padding:var(--padding) 0}}.header-bar .headers[data-v-1e8971f0]{display:flex;justify-content:space-between;border-bottom:var(--divider);min-height:var(--rowHeight);padding-right:20px;padding-left:20px}@media (max-width: 480px){.header-bar .headers[data-v-1e8971f0]{padding-right:7px;min-height:var(--rowHeight)}}@media (max-width: 680px){.header-bar .headers[data-v-1e8971f0]{padding-left:7px !important}}.header-bar .headers .header-cell[data-v-1e8971f0]{padding:0px 3px;display:flex}.header-bar .headers .header-cell div[data-v-1e8971f0]{align-self:center;color:var(--secondaryText);display:flex;font-family:var(--headerFont);font-size:14px;font-weight:bold}.header-bar .headers .header-cell div b[data-v-1e8971f0]{color:var(--seondaryText)}.header-bar .headers .header-cell svg[data-v-1e8971f0]{padding-left:2px;margin-left:5px;margin-top:8px;height:20px;width:15px;fill:var(--secondaryText)}.header-bar .headers .header-cell .arrow-spacer[data-v-1e8971f0]{width:20px}.header-bar .headers .header-cell[data-v-1e8971f0]:first-child{justify-content:flex-start}.header-bar .headers .header-cell:first-child .arrow-spacer[data-v-1e8971f0]{display:none}.header-bar .headers .header-cell[data-v-1e8971f0]:last-child{justify-content:flex-end}.header-bar .headers .header-cell:last-child .arrow-spacer[data-v-1e8971f0]{display:none}@media (max-width: 1023px){.header-bar .headers .empty-header-cell[secondary="true"][data-v-1e8971f0]{display:none !important}}@media (max-width: 1023px){.header-bar .headers .header-cell[secondary="true"][data-v-1e8971f0]{display:none !important}}.header-bar .headers .empty-header-cell[data-v-1e8971f0]{padding:0 3px}.header-bar .headers .empty-header-cell div[data-v-1e8971f0]{width:35px}\n',""]),e.exports=t},function(e,t,i){"use strict";var a=i(13);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-d7d4e108]{font-size:var(--fontSize);color:var(--primaryText)}div.image[data-v-d7d4e108]{min-width:58px}.year[data-v-d7d4e108],.time[data-v-d7d4e108]{display:inline-block}.time[data-v-d7d4e108]{margin-left:10px}@media only screen and (max-width: 600px){.datetime .time[data-v-d7d4e108],.datetime .delimiter[data-v-d7d4e108]{display:none}}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(14);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,'@media (max-width: 1023px){.list-row-field[secondary="true"][data-v-7fdce616]{display:none !important}}.controls[data-v-7fdce616]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;flex-wrap:wrap}.list-row[data-v-7fdce616]{display:flex;align-items:center;justify-content:center;border-bottom:var(--divider);min-height:var(--rowHeight);height:var(--rowHeight);padding:0 var(--padding)}.list-row[data-v-7fdce616]:hover{background-color:var(--hover)}@media (max-width: 480px){.list-row[data-v-7fdce616]{min-height:65px;padding-left:calc(var(--padding) / 2)}}@media (max-width: 680px){.list-row[data-v-7fdce616]{min-height:85px;padding-left:calc(var(--padding) / 2)}}.list-row .list-row-field[data-v-7fdce616]{flex:1;padding:0px 3px}.list-row .list-row-field[data-v-7fdce616]:last-child{padding:0 3px}.list-row .list-row-field:last-child div[data-v-7fdce616]{text-align:right}@media (max-width: 480px){.list-row[data-v-7fdce616]:last-child{margin-bottom:65px}}.mobile-screen[data-v-7fdce616]{text-decoration:none;padding-top:10px;padding-bottom:10px;border-bottom:1px solid #d8dae1;color:#000;padding-left:2px;display:grid;grid-template-columns:100px 6fr;align-items:center}.mobile-screen .thumbnail[data-v-7fdce616]{display:flex;justify-content:center;align-items:center}.mobile-screen .flex[data-v-7fdce616]{display:flex;justify-content:space-between;align-items:center}.mobile-screen.no-image[data-v-7fdce616]{grid-template-columns:72px 6fr}.mobile-screen[data-v-7fdce616]:hover{background-color:#f7f8f9}.mobile-screen .grid[data-v-7fdce616]{display:grid;grid-template-columns:70px 3fr}.mobile-screen .label-config .label[data-v-7fdce616]{font-size:.9em;display:inline-block;padding-left:3px;padding-right:3px}.mobile-screen .label-config .field-contents[data-v-7fdce616]{padding-left:3px;padding-right:3px;display:flex;align-items:flex-end}.mobile-screen .list-row-field[data-v-7fdce616]{padding-left:3px;padding-right:3px}.mobile-screen .rest .list-row-field[data-v-7fdce616]{color:rgba(0,0,0,0.6)}.mobile-screen .rest .list-row-field[data-v-7fdce616]:nth-of-type(1){color:#000;font-weight:900 !important;font-size:15px !important;padding-bottom:5px}.mobile-screen .right-cont[data-v-7fdce616]{display:flex;flex-direction:row;justify-content:flex-end;max-width:120px;flex-wrap:wrap}.mobile-screen .mobile-right[data-v-7fdce616]{text-align:right;margin-right:2px}.mobile-screen .mobile-right .list-row-field[data-v-7fdce616]{display:inline-block;background-color:green;padding:3px;border-radius:4px;color:white;font-size:12px}.no-image .rest .list-row-field[data-v-7fdce616]{color:rgba(0,0,0,0.6)}.no-image .rest .list-row-field[data-v-7fdce616]:nth-of-type(1){color:#000;padding-bottom:0px}\n',""]),e.exports=t},function(e,t,i){"use strict";var a=i(15);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,'@media (max-width: 1023px){.list-row-field[secondary="true"][data-v-218056c1]{display:none !important}}.controls[data-v-218056c1]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;flex-wrap:wrap}.list-row[data-v-218056c1],.mobile-scroll[data-v-218056c1]{text-decoration:none;display:flex;align-items:center;justify-content:center;border-bottom:var(--divider);height:var(--rowHeight);color:#000;padding:0 var(--padding)}.list-row[data-v-218056c1]:hover,.mobile-scroll[data-v-218056c1]:hover{background-color:#f7f8f9}@media (max-width: 480px){.list-row[data-v-218056c1],.mobile-scroll[data-v-218056c1]{height:calc(var(--rowMobileHeight));padding-left:calc(var(--padding) / 2)}}@media (max-width: 680px){.list-row[data-v-218056c1],.mobile-scroll[data-v-218056c1]{min-height:85px;padding-left:calc(var(--padding) / 2)}}.list-row .list-row-field[data-v-218056c1],.mobile-scroll .list-row-field[data-v-218056c1]{flex:1;padding:0 3px}.list-row .list-row-field[data-v-218056c1]:first-child,.mobile-scroll .list-row-field[data-v-218056c1]:first-child{flex:0}@media (max-width: 1023px) and (min-width: 481px){.list-row .list-row-field[data-v-218056c1]:last-child,.mobile-scroll .list-row-field[data-v-218056c1]:last-child{padding-right:0px}}@media (max-width: 480px){.list-row .list-row-field[data-v-218056c1]:last-child,.mobile-scroll .list-row-field[data-v-218056c1]:last-child{padding-right:0px}}.list-row .list-row-field:last-child div[data-v-218056c1],.mobile-scroll .list-row-field:last-child div[data-v-218056c1]{text-align:right}@media (max-width: 480px){.list-row[data-v-218056c1]:last-child{margin-bottom:calc(var(--rowHeight) + 10px)}}.mobile-screen[data-v-218056c1]{text-decoration:none;padding-top:10px;padding-bottom:10px;border-bottom:1px solid var(--primary);color:#000;padding-left:2px;display:grid;grid-template-columns:100px 6fr;align-items:center}.mobile-screen .thumbnail[data-v-218056c1]{display:flex;justify-content:center;align-items:center}.mobile-screen .flex[data-v-218056c1]{display:flex;justify-content:space-between;align-items:center}.mobile-screen.no-image[data-v-218056c1]{grid-template-columns:72px 6fr}.mobile-screen[data-v-218056c1]:hover{background-color:var(--hover)}.mobile-screen .grid[data-v-218056c1]{display:grid;grid-template-columns:70px 3fr}.mobile-screen .label-config .label[data-v-218056c1]{font-size:.9em;display:inline-block;padding-left:3px;padding-right:3px}.mobile-screen .label-config .field-contents[data-v-218056c1]{padding-left:3px;padding-right:3px;display:flex;align-items:flex-end}.mobile-screen .list-row-field[data-v-218056c1]{padding-left:3px;padding-right:3px}.mobile-screen .rest .list-row-field[data-v-218056c1]{color:rgba(0,0,0,0.6)}.mobile-screen .rest .list-row-field[data-v-218056c1]:nth-of-type(1){color:#000;font-weight:900 !important;font-size:15px !important;padding-bottom:5px}.mobile-screen .right-cont[data-v-218056c1]{display:flex;flex-direction:row;justify-content:flex-end;max-width:120px;flex-wrap:wrap}.mobile-screen .mobile-right[data-v-218056c1]{text-align:right;margin-right:2px}.mobile-screen .mobile-right .list-row-field[data-v-218056c1]{display:inline-block;margin-right:var(--padding);background-color:lightgreen;padding:calc(var(--padding) / 2);border-radius:4px;color:black;font-size:12px}.no-image .rest .list-row-field[data-v-218056c1]{color:rgba(0,0,0,0.6)}.no-image .rest .list-row-field[data-v-218056c1]:nth-of-type(1){color:#000;padding-bottom:0px}\n',""]),e.exports=t},function(e,t,i){"use strict";var a=i(16);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,".list[data-v-3b17bb28]{position:relative;overflow-y:auto;max-height:540px}@media (max-width: 480px){.list[data-v-3b17bb28]{max-height:calc(100vh - 250px)}}.row-link[data-v-3b17bb28]:nth-of-type(1){border-top:1px solid var(--primary)}.row-link[data-v-3b17bb28]:nth-of-type(odd){border-left:5px solid rgba(184,199,223,0.7)}.row-link[data-v-3b17bb28]:nth-of-type(even){border-left:5px solid #e6edf9}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(17);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,".data-table[data-v-7af11c14]{display:flex;flex-direction:column}.action-component-container[data-v-7af11c14]{align-self:flex-end}.filtering-card[data-v-7af11c14]{border:var(--border);background:white}.filtering-card.gapped[data-v-7af11c14]{margin-bottom:calc(var(--padding) * 1.5)}.table-card[data-v-7af11c14]{border:var(--border);background:white}.no-results[data-v-7af11c14]{padding:var(--padding)}\n",""]),e.exports=t},function(e,t,i){(t=i(1)(!1)).push([e.i,":root{--primary: $primary;--secondary: $secondary;--hover: $hover;--primaryText: $primaryText;--secondaryText: $secondaryText;--border: $border;--headers: $headers;--headerWeight: $headerWeight;--headerFont: $headerFont;--divider: $divider;--padding: $padding;--fontSize: $fontSize;--rowHeight: $rowHeight;--rowMobileHeight: $rowMobileHeight}\n",""]),t.locals={primary:"#000",secondary:"#111",hover:"#eee",primaryText:"#234",secondaryText:"#234",border:'"1px solid #fff"',headers:"#eee",headerWeight:"200",headerFont:"sans-serif",divider:'"1px solid #eee"',padding:"1em",fontSize:".9em",rowHeight:"55px",rowMobileHeight:"80px"},e.exports=t},function(e,t,i){"use strict";i.r(t);var a={props:{filter:{type:Object,required:!0}},computed:{checkboxStyle(){return`background-image: ${this.$assets.checkbox};`}}};i(23);function r(e,t,i,a,r,n,o,s){var l,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=i,d._compiled=!0),a&&(d.functional=!0),n&&(d._scopeId="data-v-"+n),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},d._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(e,t){return l.call(t),c(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:d}}var n=r(a,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("label",{attrs:{for:"filter-"+e.filter.field}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.filter.value,expression:"filter.value"}],style:e.filter.value?e.checkboxStyle:"",attrs:{type:"checkbox",id:"filter-"+e.filter.field},domProps:{checked:Array.isArray(e.filter.value)?e._i(e.filter.value,null)>-1:e.filter.value},on:{change:function(t){var i=e.filter.value,a=t.target,r=!!a.checked;if(Array.isArray(i)){var n=e._i(i,null);a.checked?n<0&&e.$set(e.filter,"value",i.concat([null])):n>-1&&e.$set(e.filter,"value",i.slice(0,n).concat(i.slice(n+1)))}else e.$set(e.filter,"value",r)}}}),e._v("\n "+e._s(e.filter.text)+"\n ")])])}),[],!1,null,"5bf94502",null).exports,o={props:{filter:{type:Object,required:!0},options:{type:Array,required:!0}},computed:{dropdownStyle(){return`background-image: ${this.$assets.dropdown};`}},methods:{value(e){if(null!=e&&null!==e.value)return"function"==typeof e.value?e.value():"object"==typeof e&&null!==e.value?e.value:e},label(e){if(null!==e)return"object"==typeof e?e.label:e}}},s=(i(25),r(o,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return"dropdown"===e.filter.type?i("div",[e.filter.text?i("label",{attrs:{for:"filter-"+e.filter.filter}},[e._v("\n "+e._s(e.filter.text)+"\n ")]):e._e(),e._v(" "),i("select",{directives:[{name:"model",rawName:"v-model",value:e.filter.value,expression:"filter.value"}],style:e.dropdownStyle,attrs:{name:""+e.filter.filter},on:{change:function(t){var i=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.filter,"value",t.target.multiple?i:i[0])}}},[i("option",{attrs:{value:""}},[e._v("\n "+e._s(e.filter.placeholder)+"\n ")]),e._v(" "),e._l(e.options,(function(t){return i("option",{domProps:{value:e.value(t)}},[e._v("\n "+e._s(e.label(t))+"\n ")])}))],2)]):e._e()}),[],!1,null,"1f7ca5eb",null).exports),l=(i(27),r({},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{style:"background-image: "+this.$assets.close+";",attrs:{alt:"Close",title:"Close"},on:{click:function(t){return e.$emit("close")}}})}),[],!1,null,"a9dc4e8a",null).exports),d=i(21),c=i.n(d),p={props:["value","format","name"],data(){return{picker:null,inputName:this.name||"date"}},watch:{value(e){this.picker.setDate(e)}},destroyed(){this.picker.destroy(),this.picker=null},mounted(){const e=this.getDate;this.picker=new c.a({field:this.$el,bound:!0,defaultDate:this.value,format:"YYYY-MM-DD",onSelect:function(t){e(this.getMoment(t).format("YYYY-MM-DD"))}}),this.picker.setDate(this.value)},methods:{getDate(e){this.$emit(this.inputName,{date:e,field:this.inputName}),this.$emit("input",e)}}},f=(i(29),r(p,(function(){var e=this.$createElement;return(this._self._c||e)("input",{ref:"inputArea",staticClass:"date-input",attrs:{type:"text"},domProps:{value:this.value}})}),[],!1,null,null,null).exports),u=(i(31),r({},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{on:{click:function(t){return e.$emit("click")}}},[e._v("\n CLEAR\n")])}),[],!1,null,"87c89e4c",null).exports),h={components:{DatatableDatePicker:f,ClearButton:u},methods:{clear(){this.event(null),this.$refs.dateInput.$refs.inputArea.focus()}},props:{value:{type:String},event:{type:Function},name:{type:String},title:{type:String}}},g=(i(33),r(h,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("span",[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),i("div",{staticClass:"date-input"},[i("datatable-date-picker",{ref:"dateInput",attrs:{name:e.name,value:e.value},on:{input:e.event}}),e._v(" "),e.value?i("clear-button",{on:{click:e.clear}}):e._e()],1)])}),[],!1,null,"b5ff1ffa",null).exports),v=r({props:{filter:{type:Object,required:!0}},components:{CloseButton:l,DateInput:g},mounted(){this.$refs.from.value||this.$nextTick(()=>this.$refs.dateFrom.$refs.dateInput.$refs.inputArea.focus())},methods:{setDateFrom(e){this.$refs.from.value=e,this.$refs.from.dispatchEvent(new Event("input",{bubbles:!0}))},setDateTo(e){this.$refs.to.value=e,this.$refs.to.dispatchEvent(new Event("input",{bubbles:!0}))}}},(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("close-button",{on:{close:function(t){return e.$emit("close")}}}),e._v(" "),i("date-input",{ref:"dateFrom",attrs:{title:"From",name:"dateFrom",value:e.filter.from,event:e.setDateFrom}}),e._v(" "),i("date-input",{ref:"dateTo",attrs:{title:"To",name:"dateTo",value:e.filter.to,event:e.setDateTo}}),e._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e.filter.from,expression:"filter.from"}],ref:"from",attrs:{hidden:""},domProps:{value:e.filter.from},on:{input:function(t){t.target.composing||e.$set(e.filter,"from",t.target.value)}}}),e._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e.filter.to,expression:"filter.to"}],ref:"to",attrs:{hidden:""},domProps:{value:e.filter.to},on:{input:function(t){t.target.composing||e.$set(e.filter,"to",t.target.value)}}})],1)}),[],!1,null,null,null).exports,m={components:{ClearButton:u},methods:{clear(){this.$emit("input","",this.target),this.$refs.inputBox.focus()},handleInput(e){this.$emit("input",e.target.value,this.target)}},props:{value:{types:[String,Number]},target:{type:String},label:{type:String}}},b=(i(35),r(m,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("span",[e._v("\n "+e._s(e.label)+"\n ")]),e._v(" "),i("div",{staticClass:"value-input"},[i("input",{ref:"inputBox",attrs:{type:"text",target:e.target},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),e.value?i("clear-button",{on:{click:e.clear}}):e._e()],1)])}),[],!1,null,"13994c7f",null).exports),y={components:{FilterDateRange:v,FilterNumberRange:r({props:{filter:{type:Object,required:!0}},components:{CloseButton:l,ValueInput:b},mounted(){this.$refs.from.$refs.inputBox.focus()},methods:{handleInput(e,t){this.filter[t]=e,this.$parent.$forceUpdate(),this.$forceUpdate()}}},(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("close-button",{on:{close:function(t){return e.$emit("close")}}}),e._v(" "),i("value-input",{ref:"from",attrs:{label:"Amount from:",target:"from",value:e.filter.from},on:{input:e.handleInput}}),e._v(" "),i("value-input",{ref:"to",attrs:{label:"Amount to:",target:"to",value:e.filter.to},on:{input:e.handleInput}})],1)}),[],!1,null,null,null).exports},props:{filter:{type:Object,required:!0}},data:()=>({activeTab:1}),methods:{setActive(e){this.activeTab=e},getTitle(e){if("null"===e.type)return e.name;if("date"===e.type){if(!e.from&&!e.to)return`${e.name||"Date"} (All)`;if(e.from&&!e.to)return`${e.name||""} (Since ${e.from})`.trim();if(!e.from&&e.to)return`${e.name||""} (Before ${e.to})`.trim()}if("range"===e.type){if(!e.from&&!e.to)return`${e.name||"Range"} (All)`;if(e.from&&!e.to)return`${e.name||""} (Above ${e.from})`.trim();if(!e.from&&e.to)return`${e.name||""} (Below ${e.to})`.trim()}return e.from&&e.to?`${e.name||"From"} (${e.from} to ${e.to})`:"Error"}}},x=(i(37),{components:{FilterCheckbox:n,FilterDropdown:s,TabbedFilters:r(y,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"tabs",attrs:{role:"tablist"}},e._l(e.filter.tabs,(function(t,a){return e.getTitle(t)?i("div",{staticClass:"tab",class:a+1===e.activeTab?"active":"",on:{click:function(t){return e.setActive(a+1)}}},[e._v("\n "+e._s(e.getTitle(t))+"\n ")]):e._e()})),0),e._v(" "),i("div",e._l(e.filter.tabs,(function(t,a){return e.activeTab>0?i("div",["date"===t.type&&a+1===e.activeTab?i("filter-date-range",{staticClass:"filter-tab-content",attrs:{filter:t},on:{close:function(t){return e.setActive(0)}}}):e._e(),e._v(" "),"range"===t.type&&a+1===e.activeTab?i("filter-number-range",{staticClass:"filter-tab-content",attrs:{filter:t},on:{close:function(t){return e.setActive(0)}}}):e._e()],1):e._e()})),0)])}),[],!1,null,"7f3ce534",null).exports},methods:{dropdownDataSet(e,t){if(void 0===t)return[];return[...new Set(t.map(t=>e.data&&"function"==typeof e.data?e.data(t[e.field]):e.field.indexOf(".")<0?t[e.field]:e.field.split(".").reduce((e,i)=>null!==t[e]&&null!==t[e][i]?t[e][i]:null!==t[e]?t[e]:void 0)))].filter((function(e){return null!=e}))}},props:{filters:{type:Array,required:!0},dataset:{type:Array,required:!0}}}),w=(i(39),r(x,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"filters"},e._l(e.filters,(function(t){return i("div",{class:"filter-"+t.type},["tabbed"===t.type?i("tabbed-filters",{staticClass:"tabbed-filters",attrs:{filter:t}}):e._e(),e._v(" "),"checkbox"===t.type?i("filter-checkbox",{staticClass:"input_checkbox",attrs:{filter:t}}):e._e(),e._v(" "),"dropdown"===t.type?i("filter-dropdown",{attrs:{filter:t,options:e.dropdownDataSet(t,e.dataset)}}):e._e()],1)})),0)}),[],!1,null,"a9ab0140",null).exports),_={props:{config:{type:Object,required:!0}}},k=(i(41),r(_,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.config.term,expression:"config.term"}],attrs:{placeholder:e.config.placeholder},domProps:{value:e.config.term},on:{input:function(t){t.target.composing||e.$set(e.config,"term",t.target.value)}}})])}),[],!1,null,"69dd88a4",null).exports),$={components:{ArrowUp:{functional:!0,render(e,t){const{_c:i,_v:a,data:r,children:n=[]}=t,{class:o,staticClass:s,style:l,staticStyle:d,attrs:c={},...p}=r;return i("svg",{class:[o,s],style:[l,d],attrs:Object.assign({fill:"#CED1D9",viewBox:"0 0 448 512"},c),...p},n.concat([i("path",{attrs:{d:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"}})]))}},ArrowDown:{functional:!0,render(e,t){const{_c:i,_v:a,data:r,children:n=[]}=t,{class:o,staticClass:s,style:l,staticStyle:d,attrs:c={},...p}=r;return i("svg",{class:[o,s],style:[l,d],attrs:Object.assign({viewBox:"0 0 448 512"},c),...p},n.concat([i("path",{attrs:{d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}})]))}}},props:{config:{type:Object,required:!0},fields:{type:Array,required:!0},styler:{type:Function,required:!0},controls:{type:Array,required:!1},totalRecords:{type:Number,required:!1,default:0}},computed:{headerStyle(){return this.totalRecords>9?"margin-right: 0.7rem; margin-left: -0.1rem;":"margin-right: -0.15rem; margin-left: -0.25rem;"}},methods:{sort(e){e.sort&&(e.field=e.sort),this.config.sorting.field===e.field&&(this.config.sorting.ascending=!this.config.sorting.ascending),this.config.sorting.field=e.field}}},C=(i(43),r($,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"header-bar"},[i("div",{staticClass:"headers",style:e.headerStyle},[e._l(e.fields,(function(t){return t.header?i("div",{staticClass:"header-cell",style:e.styler(t),attrs:{secondary:!0===t.secondary},on:{click:function(i){return e.sort(t)}}},[i("div",[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),t.field===e.config.sorting.field?i("div",[e.config.sorting.ascending?i("b",[i("arrow-down")],1):i("b",[i("arrow-up")],1)]):i("div",{staticClass:"arrow-spacer"})]):i("div",{staticClass:"empty-header-cell",style:e.styler(t),attrs:{secondary:t.secondary}},[i("div")])})),e._v(" "),e.controls&&e.controls.length?i("div",{staticClass:"header-cell",staticStyle:{flex:"1 1 0%"},attrs:{secondary:!1}},[i("div",[e._v("\n "+e._s(e.config&&e.config.headers&&e.config.headers.optionsHeader?"Options":"")+"\n ")])]):e._e()],2)])}),[],!1,null,"1e8971f0",null).exports),A=i(22),S=i.n(A),T=i(19),M=i.n(T),O={components:{AvatarOrInitials:S.a},props:["field","data"],methods:{getProperty(e,t){if(!t)return null;let i=e[t]||null;return t.indexOf(".")>-1&&(i=t.split(".").reduce((t,i)=>"object"==typeof t&&null!==t[i]?t[i]:null!==e&&null!==e[t]&&null!==e[t][i]?e[t][i]:null!==e&&null!==e[t]?e[t]:void 0)),"number"===this.field.type?(i=parseFloat(`${i}`),i.toLocaleString(void 0,{style:"decimal",minimumFractionDigits:this.field.decimal_places||0})):"boolean"===this.field.type?!!i:"number"==typeof i?i.toLocaleString(void 0,{style:"decimal",minimumFractionDigits:this.field.decimal_places||0}):i},count:e=>e.length,getProps(){if(this.field.props&&"function"==typeof this.field.props)return this.field.props(this.data);if(this.field.props&&"object"==typeof this.field.props)return this.field.props;if(this.field.requireProps.propsFromData.enabled){const e=this.field.requireProps.propsFromData.propFields,t={};return e.forEach(e=>{const i=Object.keys(e),a=e[i[0]];t[i]=this.data[a]}),t}return this.field.requireProps.defaultProps||{}},getComponentName(){return"function"==typeof this.field.component?this.field.component(this.data):this.field.component},getComponentEvents(){return this.field.events||{}},getCustomContent(){return this.field.value?"function"==typeof this.field.value?this.field.value(this.data):this.field.value:""},formatDate:e=>({year:M()(e).format("YYYY-MM-DD"),time:M()(e).format("LT")}),formatAsCurrency:(e,t="R",i=0)=>(null===e&&(e=0),t+String.fromCharCode(160)+e.toLocaleString(void 0,{style:"decimal",minimumFractionDigits:i,maximumFractionDigits:i}))}},j=(i(45),r(O,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return"image"===e.field.type?i("div",{class:e.field.field,staticStyle:{"flex-grow":"0",flex:"0"}},[i("avatar-or-initials",{staticClass:"item-avatar",staticStyle:{"margin-left":"-0.4rem","margin-right":"0.6rem",height:"35px"},attrs:{size:35,image:e.getProperty(e.data,e.field.image),title:e.getProperty(e.data,e.field.field)}})],1):"text"===e.field.type||"number"===e.field.type?i("div",{class:e.field.field},[e._v("\n "+e._s(e.getProperty(e.data,e.field.field))+"\n")]):"count"===e.field.type?i("div",{class:e.field.field},[e._v("\n "+e._s(e.count(e.getProperty(e.data,e.field.field)))+"\n")]):"boolean"===e.field.type?i("div",{class:e.field.field},[e.field.yes?[e._v("\n "+e._s(e.getProperty(e.data,e.field.field)?e.field.yes:e.field.no)+"\n ")]:[e.getProperty(e.data,e.field.field)?i("div",{style:"background-image: "+this.$assets.checkmark+"; background-repeat: no-repeat; width: 20px; height: 20px;",attrs:{width:"20px",height:"20px"}}):i("div",{style:"background-image: "+this.$assets.crossmark+"; background-repeat: no-repeat; width: 20px; height: 20px;",attrs:{width:"20px",height:"20px"}})]],2):"boolean-inverted"===e.field.type?i("div",{class:e.field.field},[e.getProperty(e.data,e.field.field)?i("div",{style:"background-image: "+this.$assets.crossmark+"; background-repeat: no-repeat; width: 20px; height: 20px;",attrs:{width:"20px",height:"20px"}}):i("div",{style:"background-image: "+this.$assets.checkmark+"; background-repeat: no-repeat; width: 20px; height: 20px;",attrs:{width:"20px",height:"20px"}})]):"third_party"===e.field.type?i("div",{class:e.field.field},[e.getProperty(e.data,e.field.field)?i("span",[e._v("\n Third Party\n")]):i("span",[e._v("\n First Party\n")])]):"property"===e.field.type?i("div",{class:e.field.field},[e._v("\n "+e._s(e.field.symbol?e.field.symbol:"")+" "+e._s(e.getProperty(e.data,e.field.field))+"\n")]):"component"===e.field.type?i("div",{class:e.field.field,staticStyle:{"flex-grow":"0"}},[i(e.getComponentName(),e._g(e._b({tag:"component"},"component",e.getProps(),!1),e.getComponentEvents()))],1):"currency"===e.field.type?i("div",{class:e.field.field},[e._v("\n "+e._s(e.formatAsCurrency(e.getProperty(e.data,e.field.field),e.field.symbol))+"\n")]):"datetime"===e.field.type?i("div",{class:e.field.field},[i("span",{staticClass:"year"},[e._v("\n "+e._s(e.formatDate(e.getProperty(e.data,e.field.field)).year)+"\n")]),e._v(" "),i("span",{staticClass:"delimiter"},[e._v(",")]),e._v(" "),i("span",{staticClass:"time"},[e._v("\n "+e._s(e.formatDate(e.getProperty(e.data,e.field.field)).time)+"\n")])]):"date"===e.field.type?i("div",{class:e.field.field},[i("span",{staticClass:"year"},[e._v("\n "+e._s(e.formatDate(e.getProperty(e.data,e.field.field)).year)+"\n")])]):"time"===e.field.type?i("div",{class:e.field.field},[i("span",{staticClass:"year"},[e._v("\n "+e._s(e.formatDate(e.getProperty(e.data,e.field.field)).time)+"\n")])]):"custom"===e.field.type?i("div",{class:e.field.field,domProps:{innerHTML:e._s(e.getCustomContent())}}):e._e()}),[],!1,null,"d7d4e108",null).exports),F=r({props:["config","data"],computed:{href(){return"function"==typeof this.config.href?this.config.href(this.data):this.config.href},componentName(){return"function"==typeof this.config.component?this.config.component(this.data):this.config.component},componentProps(){return"function"==typeof this.config.props?this.config.props(this.data):"object"==typeof this.config.props?this.config.props:{}},componentEvents(){return"function"==typeof this.config.events?this.config.events(this.data):this.config.events||{}}},methods:{handleClick(e){this.config.onClick&&this.config.onClick(this.data,e)}}},(function(){var e=this,t=e.$createElement,i=e._self._c||t;return"link"===e.config.type?i("router-link",{class:e.config.class,style:e.config.style,attrs:{to:e.href},nativeOn:{click:function(t){return e.handleClick(t)}}},[e._v("\n "+e._s(e.config.label)+"\n")]):"component"===e.config.type?i(e.componentName,e._g(e._b({tag:"component",style:e.config.style},"component",e.componentProps,!1),e.componentEvents)):e._e()}),[],!1,null,null,null).exports,D={components:{TableData:j,TableRowOption:F},props:{data:{type:Object,required:!0},fields:{type:Array,required:!0},styler:{type:Function,required:!0},controls:{type:Array,required:!1},mobileType:{type:String,required:!1},showLabelOnMobile:{type:Boolean,required:!1},smallScreen:{type:Boolean,required:!1}},computed:{imageField(){return this.fields.find(e=>"image"===e.field)},displayRight(){return this.fields.filter(e=>!0===e.displayRightOnMobile)},filteredFields(){const e=[...this.fields],t=e.findIndex(e=>"image"===e.field);t>=0&&e.splice(t,1);const i=e.findIndex(e=>!0===e.displayRightOnMobile);return i>=0&&e.splice(i,1),e},firstField(){return this.fields[0]},rest(){const e=[...this.fields];return e.splice(0,1),e}},methods:{getStyle(e,t){if(e.styledBackground&&e.styledBackground.enabled){let i;return i=e.value?e.value(t):e.field.split(".").reduce((e,t)=>e?e[t]:null,t||self),`background-color: ${e.styledBackground.config[i]}`}return""},showControl:(e,t)=>void 0===e.show||("function"==typeof e.show?e.show(t):e.show)}},R=(i(47),r(D,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.smallScreen?i("div",["with-image"===e.mobileType?i("div",{staticClass:"mobile-screen"},[e.imageField?i("div",{staticClass:"thumbnail"},[i("div",{staticClass:"list-row-field"},[e.imageField?i("table-data",{attrs:{data:e.data,field:e.imageField}}):e._e()],1)]):e._e(),e._v(" "),i("div",{staticClass:"rest"},e._l(e.filteredFields,(function(t,a){return i("div",{staticClass:"list-row-field",style:e.styler(t),attrs:{secondary:!0===t.secondary}},["image"===t.field||t.displayRightOnMobile?e._e():i("table-data",{attrs:{data:e.data,field:t}})],1)})),0),e._v(" "),e.displayRight?i("div",{staticClass:"mobile-right"},[i("div",{staticClass:"list-row-field",style:e.getStyle(e.displayRight,e.data)},[e.displayRight?i("table-data",{attrs:{data:e.data,field:e.displayRight}}):e._e()],1)]):e._e()]):i("div",{staticClass:"mobile-screen no-image"},[i("div",{staticClass:"thumbnail"},[i("div",{staticClass:"list-row-field"},[i("table-data",{attrs:{data:e.data,field:e.firstField}})],1)]),e._v(" "),i("div",{staticClass:"flex"},[i("div",{staticClass:"rest"},e._l(e.rest,(function(t,a){return i("div",{staticClass:"list-row-field",style:e.styler(t),attrs:{secondary:!0===t.secondary}},[e.showLabelOnMobile?i("div",{class:"label-config "+(0!==a?"grid":"")},[t.displayRightOnMobile||0===a?e._e():i("span",{staticClass:"label"},[e._v("\n "+e._s(t.name)+":\n ")]),e._v(" "),"image"===t.field||t.displayRightOnMobile?e._e():i("table-data",{attrs:{data:e.data,field:t}})],1):i("div",["image"===t.field||t.displayRightOnMobile?e._e():i("table-data",{attrs:{data:e.data,field:t}})],1)])})),0),e._v(" "),i("div",{staticClass:"right-cont"},e._l(e.displayRight,(function(t,a){return e.displayRight.length>0?i("div",{key:a,staticClass:"mobile-right"},[i("div",{staticClass:"list-row-field",style:e.getStyle(t,e.data)},[t?i("table-data",{attrs:{data:e.data,field:t}}):e._e()],1)]):e._e()})),0)])]),e._v(" "),e.controls&&e.controls.length?i("div",{staticClass:"controls list-row-field"},e._l(e.controls,(function(t,a){return e.showControl(t,e.data)?i("table-row-option",{key:a,attrs:{config:t,data:e.data}}):e._e()})),1):e._e()]):i("div",{staticClass:"list-row"},[e._l(e.fields,(function(t,a){return i("div",{key:a,staticClass:"list-row-field",style:e.styler(t),attrs:{secondary:!0===t.secondary}},[i("table-data",{attrs:{data:e.data,field:t}})],1)})),e._v(" "),e.controls&&e.controls.length?i("div",{staticClass:"controls list-row-field"},e._l(e.controls,(function(t,a){return e.showControl(t,e.data)?i("table-row-option",{key:a,attrs:{config:t,data:e.data}}):e._e()})),1):e._e()],2)}),[],!1,null,"7fdce616",null).exports),P={components:{TableData:j,TableRowOption:F},props:{data:{type:Object,required:!0},fields:{type:Array,required:!0},styler:{type:Function,required:!0},controls:{type:Array,required:!1},linking:{type:Object,required:!0},mobileType:{type:String,required:!1},showLabelOnMobile:{type:Boolean,required:!1,default:!0},smallScreen:{type:Boolean,required:!1}},computed:{imageField(){return this.fields.find(e=>"image"===e.field)},displayRight(){return this.fields.filter(e=>!0===e.displayRightOnMobile)},filteredFields(){const e=[...this.fields],t=e.findIndex(e=>"image"===e.field);t>=0&&e.splice(t,1);const i=e.findIndex(e=>!0===e.displayRightOnMobile);return i>=0&&e.splice(i,1),e},firstField(){return this.fields[0]},rest(){const e=[...this.fields];return e.splice(0,1),e}},methods:{link(e){return"function"==typeof this.linking.link?this.linking.link(e):{name:this.linking.route.name,params:{[this.linking.param]:e[this.linking.field]}}},getStyle(e,t){if(e.styledBackground&&e.styledBackground.enabled){let i;return i=e.value?e.value(t):e.field.split(".").reduce((e,t)=>e?e[t]:null,t||self),`background-color: ${e.styledBackground.config[i]}`}return""},showControl:(e,t)=>void 0===e.show||("function"==typeof e.show?e.show(t):e.show)}},q=(i(49),{components:{TableData:j,TableRow:R,TableLinkRow:r(P,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.smallScreen?i("router-link",{staticClass:"row-link",staticStyle:{"text-decoration":"none",display:"block"},attrs:{to:e.link(e.data)}},["with-image"===e.mobileType?i("div",{staticClass:"mobile-screen"},[e.imageField?i("div",{staticClass:"thumbnail"},[i("div",{staticClass:"list-row-field"},[e.imageField?i("table-data",{attrs:{data:e.data,field:e.imageField}}):e._e()],1)]):e._e(),e._v(" "),i("div",{staticClass:"rest"},e._l(e.filteredFields,(function(t,a){return i("div",{key:a,staticClass:"list-row-field",style:e.styler(t),attrs:{secondary:!0===t.secondary}},["image"===t.field||t.displayRightOnMobile?e._e():i("table-data",{attrs:{data:e.data,field:t}})],1)})),0),e._v(" "),e.displayRight?i("div",{staticClass:"mobile-right"},[i("div",{staticClass:"list-row-field",style:e.getStyle(e.displayRight,e.data)},[e.displayRight?i("table-data",{attrs:{data:e.data,field:e.displayRight}}):e._e()],1)]):e._e()]):"no-image"===e.mobileType?i("div",{staticClass:"mobile-screen no-image"},[i("div",{staticClass:"thumbnail"},[i("div",{staticClass:"list-row-field"},[i("table-data",{attrs:{data:e.data,field:e.firstField}})],1)]),e._v(" "),i("div",{staticClass:"flex",staticStyle:{"justify-content":"flex-end","margin-right":"20px"}},[i("div",{staticClass:"rest"},e._l(e.rest,(function(t,a){return i("div",{key:a,staticClass:"list-row-field",style:e.styler(t),attrs:{secondary:!0===t.secondary}},[e.showLabelOnMobile?i("div",{class:"label-config grid"},[t.displayRightOnMobile?e._e():i("span",{staticClass:"label"},[e._v("\n "+e._s(t.name)+":\n ")]),e._v(" "),"image"===t.field||t.displayRightOnMobile?e._e():i("table-data",{attrs:{data:e.data,field:t}})],1):i("div",["image"===t.field||t.displayRightOnMobile?e._e():i("table-data",{attrs:{data:e.data,field:t}})],1)])})),0),e._v(" "),i("div",{staticClass:"right-cont"},e._l(e.displayRight,(function(t,a){return e.displayRight.length>0?i("div",{key:a,staticClass:"mobile-right"},[i("div",{staticClass:"list-row-field",style:e.getStyle(t,e.data)},[t?i("table-data",{attrs:{data:e.data,field:t}}):e._e()],1)]):e._e()})),0),e._v(" "),i("div",{staticStyle:{"margin-left":"20px"}},[e._v(">")])]),e._v(" "),e.controls&&e.controls.length?i("div",{staticClass:"controls list-row-field"},e._l(e.controls,(function(t,a){return e.showControl(t,e.data)?i("table-row-option",{key:a,attrs:{config:t,data:e.data}}):e._e()})),1):e._e()]):e._e()]):i("router-link",{staticClass:"list-row",attrs:{to:e.link(e.data)}},[e._l(e.fields,(function(t,a){return i("div",{key:a,staticClass:"list-row-field",style:e.styler(t),attrs:{secondary:!0===t.secondary}},[i("table-data",{attrs:{data:e.data,field:t}})],1)})),e._v(" "),e.controls&&e.controls.length?i("div",{staticClass:"controls list-row-field"},e._l(e.controls,(function(t,a){return e.showControl(t,e.data)?i("table-row-option",{key:a,attrs:{config:t,data:e.data}}):e._e()})),1):e._e()],2)}),[],!1,null,"218056c1",null).exports},props:{dataset:{type:Array,required:!0},fields:{type:Array,required:!0},styler:{type:Function,required:!0},linking:{type:[Object,Boolean],required:!1,default:!1},controls:{type:Array,required:!1},mobileType:{type:String,required:!1,default:"no-image"},showLabelOnMobile:{type:Boolean,required:!1,default:!0},smallScreen:{type:Boolean,required:!1}},methods:{mustLink(){return!(!this.linking||!this.linking.enabled)}}}),E=(i(51),{components:{Filtering:w,Searching:k,TableHeaders:C,TableBody:r(q,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"list"},[e.mustLink()?i("div",e._l(e.dataset,(function(t,a){return i("table-link-row",{key:a,attrs:{fields:e.fields,data:t,styler:e.styler,controls:e.controls,linking:e.linking,mobileType:e.mobileType,showLabelOnMobile:e.showLabelOnMobile,smallScreen:e.smallScreen}})})),1):e._l(e.dataset,(function(t,a){return i("table-row",{key:a,attrs:{fields:e.fields,data:t,styler:e.styler,controls:e.controls,mobileType:e.mobileType,showLabelOnMobile:e.showLabelOnMobile,smallScreen:e.smallScreen}})}))],2)}),[],!1,null,"3b17bb28",null).exports},props:{dataset:{type:Array,required:!0},options:{type:Object,required:!0},loaded:{type:Boolean,required:!1,default:!0}},data:()=>({processedDataset:[],windowWidth:null}),watch:{dataset(){this.processData()}},mounted(){this.setTheme(),this.processData(),this.watchConfig(),this.windowWidth=window.innerWidth,this.$nextTick(()=>{window.addEventListener("resize",this.setInnerWidth)})},computed:{showHeaders(){return!(this.options.config.headers&&!1===this.options.config.headers.enabled)},processedData(){return this.processedDataset},smallScreen:()=>!1,actionComponentStyle(){if(!this.options.config.actionComponent)return!1;if(!this.options.config.actionComponent.offset)return!1;let e="0px",t="0px";return this.options.config.actionComponent.offset.top&&(e=this.options.config.actionComponent.offset.top),this.options.config.actionComponent.offset.bottom&&(t=this.options.config.actionComponent.offset.bottom),`margin-top: ${e}; margin-bottom: ${t}`}},methods:{setTheme(){this.$style.primary=this.$theme.primary||this.$style.primary,this.$style.primaryText=this.$theme.primaryText||this.$style.primaryText,this.$style.secondaryText=this.$theme.secondaryText||this.$style.secondaryText,this.$style.secondary=this.$theme.secondary||this.$style.secondary,this.$style.border=this.$theme.border||this.$style.border,this.$style.headers=this.$theme.headers||this.$style.headers,this.$style.headerWeight=this.$theme.headerWeight||this.$style.headerWeight,this.$style.headerFont=this.$theme.headerFont||this.$style.headerFont,this.$style.divider=this.$theme.divider||this.$style.divider,this.$style.hover=this.$theme.hover||this.$style.hover,this.$style.padding=this.$theme.padding||this.$style.padding,this.$style.fontSize=this.$theme.fontSize||this.$style.fontSize,this.$style.rowHeight=this.$theme.rowHeight||this.$style.rowHeight;const e=document.body.style;e.setProperty("--primary",this.$style.primary),e.setProperty("--secondary",this.$style.secondary),e.setProperty("--hover",this.$style.hover),e.setProperty("--primaryText",this.$style.primaryText),e.setProperty("--secondaryText",this.$style.secondaryText),e.setProperty("--border",this.$style.border),e.setProperty("--headers",this.$style.headers),e.setProperty("--headerWeight",this.$style.headerWeight),e.setProperty("--headerFont",this.$style.headerFont),e.setProperty("--divider",this.$style.divider),e.setProperty("--padding",this.$style.padding),e.setProperty("--fontSize",this.$style.fontSize),e.setProperty("--rowHeight",this.$style.rowHeight)},setInnerWidth(){this.windowWidth=window.innerWidth},watchConfig(){this.$watch("options.config",()=>this.$nextTick(this.processData),{deep:!0})},processData(){let e=this.dataset.slice();if(this.options.config.filtering.enabled)for(const t of this.options.config.filtering.filters)t.enabled&&(e=e.filter(e=>{if("checkbox"===t.type)return this.filterCheckbox(e,t);if("tabbed"===t.type)return this.filterTabs(e,t);if("dropdown"===t.type){if(!t.value)return!0;if(t.value&&t.data&&"function"==typeof t.data)return t.data(e[t.field])===t.value;if(t.value&&t.field.indexOf(".")<0)return e[t.field]===t.value;const i=t.field.split(".").reduce((t,i)=>null!==e&&null!==e[t]&&(null!==e[t]&&null!==e[t][i]?e[t][i]:null!==e[t]?e[t]:void 0));if(void 0!==i)return i===t.value}return!0}));return this.options.config.sorting.enabled&&e.sort(this.compare),this.options.config.search.term&&(e=this.search(e)),this.processedDataset=e,e},search(e){return e.filter(e=>e[this.options.config.search.field].toLowerCase().search(this.options.config.search.term.toLowerCase())>-1)},filterCheckbox(e,t){const i=e[t.field];let a=!1;return a=!t.collection&&i,!t.collection&&t.value&&(a=!0),t.collection&&i.length>0&&(a=!0),t.value&&t.collection&&(a=!0),a},filterTabs(e,t){const i=t;for(const t of i.tabs){if("date"===t.type&&!this.dateTabFilter(e,t))return!1;if("range"===t.type&&!this.rangeTabFilter(e,t))return!1}return!0},dateTabFilter(e,t){const i=e[t.field].split(" ")[0];let a=!0;return t.from&&i<t.from&&(a=!1),t.to&&i>t.to&&(a=!1),a},rangeTabFilter(e,t){const i=e[t.field];let a=!0;return t.from&&i<t.from&&(a=!1),t.to&&i>t.to&&(a=!1),a},getStyle:e=>e.grow||0===e.grow?"flex: "+e.grow:"image"!==e.type||e.secondary?"component"===e.type?"flex: 0;":"flex: 1":"flex: 0; min-width: 50px;",compare(e,t){let i=this.options.config.sorting.field;if(i.includes(".")){const a=i.split(".");e=e[a[0]],t=t[a[0]],i=a[1]}return null===e&&((e=[])[i]=""),null===t&&((t=[])[i]=""),e[i]<t[i]?this.options.config.sorting.ascending?-1:1:e[i]>t[i]?this.options.config.sorting.ascending?1:-1:0}}}),B=(i(53),i(20));var z=r(E,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"data-table"},[i("div",{staticClass:"action-component-container",style:e.actionComponentStyle},[e.options.config.actionComponent?i(e.options.config.actionComponent.component,e._b({tag:"component"},"component",e.options.config.actionComponent.props||{},!1)):e._e()],1),e._v(" "),(e.options.config.filtering.enabled||e.options.config.search.enabled)&&e.loaded?i("div",{staticClass:"filtering-card",class:e.options.config.headers&&e.options.config.headers.gap?"gapped":""},[e.options.config.filtering.enabled?i("filtering",{attrs:{filters:e.options.config.filtering.filters,dataset:e.dataset}}):e._e(),e._v(" "),e.options.config.search.enabled?i("searching",{attrs:{config:e.options.config.search}}):e._e()],1):e._e(),e._v(" "),i("div",{staticClass:"table-card",class:e.options.config.headers&&e.options.config.headers.gap?"gapped":""},[e.processedData.length&&e.showHeaders&&!e.smallScreen?i("table-headers",{attrs:{"total-records":e.processedData.length,config:e.options.config,fields:e.options.fields,styler:e.getStyle,controls:e.options.controls||[]}}):e._e(),e._v(" "),e.processedData.length?i("table-body",{attrs:{dataset:e.processedData,fields:e.options.fields,styler:e.getStyle,linking:e.options.config.linking,mobileType:e.options.config.mobileType,showLabelOnMobile:e.options.config.showLabelOnMobile,smallScreen:e.smallScreen,controls:e.options.controls||[]}}):e.loaded?i("div",{staticClass:"no-results"},[e.options.config.search&&e.options.config.search.emptyTerm?i("div",[e._v("\n "+e._s(e.options.config.search.emptyTerm)+"\n ")]):i("div",[e._v("\n No Results. Please broaden your search parameters.\n ")])]):i("div",{staticClass:"no-results",staticStyle:{"text-align":"center"}},[e._v("\n Loading...\n ")])],1)])}),[],!1,(function(e){this.$style=B.default.locals||B.default}),"7af11c14",null).exports;z.install=async function(e,t){e.prototype.$theme=await t.theme,t.theme.primary||(t.theme.primary="#000"),e.prototype.$assets={dropdown:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="${encodeURI(t.theme.primary)}" d="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"/></svg>')`,checkbox:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" fill="${encodeURI(t.theme.primaryText)}"/></svg>')`,checkmark:'url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" fill="lightgreen"/></svg>\')',crossmark:'url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><path stroke="red" stroke-width="3.4" d="m2.4,2.4 15.2,15.2m0-15.2-15.2,15.2"/></svg>\')',close:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><path stroke="${encodeURI(t.theme.primary)}" stroke-width="3.4" d="m2.4,2.4 15.2,15.2m0-15.2-15.2,15.2"/></svg>')`},t.assets&&t.assets.dropdown&&(e.prototype.$assets.dropdown=t.assets.dropdown),t.assets&&t.assets.checkbox&&(e.prototype.$assets.checkbox=t.assets.checkbox),t.assets&&t.assets.checkmark&&(e.prototype.$assets.checkmark=t.assets.checkmark),t.assets&&t.assets.crossmark&&(e.prototype.$assets.crossmark=t.assets.crossmark),t.assets&&t.assets.close&&(e.prototype.$assets.close=t.assets.close)};t.default=z}])}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("moment"),require("pikaday"),require("@unicorns/avatars")):"function"==typeof define&&define.amd?define("@unicorns/data-table",["moment","pikaday","@unicorns/avatars"],t):"object"==typeof exports?exports["@unicorns/data-table"]=t(require("moment"),require("pikaday"),require("@unicorns/avatars")):e["@unicorns/data-table"]=t(e.moment,e.pikaday,e["@unicorns/avatars"])}(window,(function(e,t,i){return function(e){var t={};function i(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,a){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(a,r,function(t){return e[t]}.bind(null,r));return a},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="./",i(i.s=56)}([function(e,t,i){"use strict";var a,r=function(){return void 0===a&&(a=Boolean(window&&document&&document.all&&!window.atob)),a},n=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),o=[];function s(e){for(var t=-1,i=0;i<o.length;i++)if(o[i].identifier===e){t=i;break}return t}function l(e,t){for(var i={},a=[],r=0;r<e.length;r++){var n=e[r],l=t.base?n[0]+t.base:n[0],d=i[l]||0,c="".concat(l," ").concat(d);i[l]=d+1;var p=s(c),f={css:n[1],media:n[2],sourceMap:n[3]};-1!==p?(o[p].references++,o[p].updater(f)):o.push({identifier:c,updater:v(f,t),references:1}),a.push(c)}return a}function d(e){var t=document.createElement("style"),a=e.attributes||{};if(void 0===a.nonce){var r=i.nc;r&&(a.nonce=r)}if(Object.keys(a).forEach((function(e){t.setAttribute(e,a[e])})),"function"==typeof e.insert)e.insert(t);else{var o=n(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var c,p=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function f(e,t,i,a){var r=i?"":a.media?"@media ".concat(a.media," {").concat(a.css,"}"):a.css;if(e.styleSheet)e.styleSheet.cssText=p(t,r);else{var n=document.createTextNode(r),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(n,o[t]):e.appendChild(n)}}function u(e,t,i){var a=i.css,r=i.media,n=i.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),n&&btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(n))))," */")),e.styleSheet)e.styleSheet.cssText=a;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}var h=null,g=0;function v(e,t){var i,a,r;if(t.singleton){var n=g++;i=h||(h=d(t)),a=f.bind(null,i,n,!1),r=f.bind(null,i,n,!0)}else i=d(t),a=u.bind(null,i,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return a(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;a(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var i=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var a=0;a<i.length;a++){var r=s(i[a]);o[r].references--}for(var n=l(e,t),d=0;d<i.length;d++){var c=s(i[d]);0===o[c].references&&(o[c].updater(),o.splice(c,1))}i=n}}}},function(e,t,i){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=function(e,t){var i=e[1]||"",a=e[3];if(!a)return i;if(t&&"function"==typeof btoa){var r=(o=a,s=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),n=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(n).concat([r]).join("\n")}var o,s,l;return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,a){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(a)for(var n=0;n<this.length;n++){var o=this[n][0];null!=o&&(r[o]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);a&&r[l[0]]||(i&&(l[2]?l[2]="".concat(i," and ").concat(l[2]):l[2]=i),t.push(l))}},t}},function(e,t,i){var a=i(0),r=i(24);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(26);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(28);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(30);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(32);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(34);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(36);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(38);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(40);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(42);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(44);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(46);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(48);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(50);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(52);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(54);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(e,t,i){var a=i(0),r=i(55);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var n={insert:"head",singleton:!1},o=(a(r,n),r.locals?r.locals:{});e.exports=o},function(t,i){t.exports=e},function(e,t,i){"use strict";var a=i(18),r=i.n(a);t.default=r.a},function(e,i){e.exports=t},function(e,t){e.exports=i},function(e,t,i){"use strict";var a=i(2);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"label[data-v-5bf94502]{cursor:pointer;margin-left:5px;margin-top:1px;flex-basis:200px;font-size:.9em}input[type=checkbox][data-v-5bf94502]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:white;background-image:none;border:1px solid var(--primary);display:inline-block;position:relative;padding:7px !important;top:0.25rem;cursor:pointer}input[type=checkbox][data-v-5bf94502]:focus{border:1px solid var(--primary);outline-offset:1px}input[type=checkbox][data-v-5bf94502]:checked{outline:1px solid var(--primary);background-color:white;outline-offset:1}input[type=checkbox][data-v-5bf94502]:checked:after{position:absolute;top:0;left:3px;padding:0}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(3);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-1f7ca5eb]{display:flex;align-items:center;margin:calc(var(--padding) / 2)}label[data-v-1f7ca5eb]{margin-right:var(--padding);font-size:.9rem}select[data-v-1f7ca5eb]{cursor:pointer;padding:0 0 0 10px;border:1px solid var(--divider);background-size:15px 13px;background-repeat:no-repeat;background-origin:content-box;background-position:right 10px center}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(4);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-a9dc4e8a]{position:absolute;top:var(--padding);right:var(--padding);background:none;background-size:15px;border:0;margin:0;height:15px;width:15px;display:flex;align-items:center;justify-content:center;text-decoration:none;background-repeat:no-repeat;background-position:center center}div[data-v-a9dc4e8a]:hover{opacity:0.9;cursor:pointer}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(5);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,'/*!\n * Pikaday\n * Copyright © 2014 David Bushell | BSD & MIT license | https://dbushell.com/\n */.pika-single{z-index:9999;display:block;position:relative;color:#333;background:#fff;border:1px solid #ccc;border-bottom-color:#bbb;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.pika-single.is-hidden{display:none}.pika-single.is-bound{position:absolute;box-shadow:0 5px 15px -5px rgba(0,0,0,0.5)}.pika-single{*zoom:1}.pika-single:before,.pika-single:after{content:" ";display:table}.pika-single:after{clear:both}.pika-lendar{float:left;width:240px;margin:8px}.pika-title{position:relative;text-align:center}.pika-title select{cursor:pointer;position:absolute;z-index:9998;margin:0;left:0;top:5px;filter:alpha(opacity=0);opacity:0}.pika-label{display:inline-block;*display:inline;position:relative;z-index:9999;overflow:hidden;margin:0;padding:5px 3px;font-size:14px;line-height:20px;font-weight:bold;color:#333;background-color:#fff}.pika-prev,.pika-next{display:block;cursor:pointer;position:relative;outline:none;border:0;padding:0;width:20px;height:30px;text-indent:20px;white-space:nowrap;overflow:hidden;background-color:transparent;background-position:center center;background-repeat:no-repeat;background-size:75% 75%;opacity:.5;*position:absolute;*top:0}.pika-prev:hover,.pika-next:hover{opacity:1}.pika-prev.is-disabled,.pika-next.is-disabled{cursor:default;opacity:.2}.pika-prev,.is-rtl .pika-next{float:left;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==");*left:0}.pika-next,.is-rtl .pika-prev{float:right;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=");*right:0}.pika-select{display:inline-block;*display:inline}.pika-table{width:100%;border-collapse:collapse;border-spacing:0;border:0}.pika-table th,.pika-table td{width:14.285714285714286%;padding:0}.pika-table th{color:#999;font-size:12px;line-height:25px;font-weight:bold;text-align:center}.pika-table abbr{border-bottom:none;cursor:help}.pika-button{cursor:pointer;display:block;-moz-box-sizing:border-box;box-sizing:border-box;outline:none;border:0;margin:0;width:100%;padding:5px;color:#666;font-size:12px;line-height:15px;text-align:right;background:#f5f5f5}.is-today .pika-button{color:#3af;font-weight:bold}.is-selected .pika-button{color:#fff;font-weight:bold;background:#3af;box-shadow:inset 0 1px 3px #178fe5;border-radius:3px}.is-disabled .pika-button,.is-outside-current-month .pika-button{color:#999;opacity:.3}.is-disabled .pika-button{pointer-events:none;cursor:default}.pika-button:hover{color:#fff;background:#ff8000;box-shadow:none;border-radius:3px}.pika-button .is-selection-disabled{pointer-events:none;cursor:default}.pika-week{font-size:11px;color:#999}.is-inrange .pika-button{background:#D5E9F7}.is-startrange .pika-button{color:#fff;background:#6CB31D;box-shadow:none;border-radius:3px}.is-endrange .pika-button{color:#fff;background:#33aaff;box-shadow:none;border-radius:3px}input.date-input{border:1px solid var(--primary) !important}\n',""]),e.exports=t},function(e,t,i){"use strict";var a=i(6);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-87c89e4c]{display:flex;align-items:center;justify-content:center;height:40px;margin-left:-5em;color:grey;font-size:0.5em;font-weight:bold}div[data-v-87c89e4c]:hover{opacity:0.9;cursor:pointer}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(7);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-b5ff1ffa]{display:flex;flex-direction:column}div span[data-v-b5ff1ffa]{font-size:calc(var(--padding) * 0.8);margin:var(--padding) 0 calc(var(--padding) / 2) 0}div div.date-input[data-v-b5ff1ffa]{flex-direction:row}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(8);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-13994c7f]{display:flex;flex-direction:column}div span[data-v-13994c7f]{font-size:calc(var(--padding) * 0.8);margin:var(--padding) 0 calc(var(--padding) / 2) 0}div div.value-input[data-v-13994c7f]{flex-direction:row}div div.value-input input[data-v-13994c7f],div div.value-input input[data-v-13994c7f]:focus{border:1px solid var(--primary)}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(9);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,".filter-tab-content[data-v-7f3ce534]{position:absolute;z-index:9;left:calc(var(--padding) * 2);background:white;border:1px solid var(--divider);padding:var(--padding);min-width:300px;max-width:600px;display:flex;flex-direction:column}.tabs[data-v-7f3ce534]{display:flex;flex-direction:row;border-bottom:1px solid var(--divider);align-items:center}.tabs .tab[data-v-7f3ce534]{padding:calc(var(--padding) / 2) var(--padding);border-top:1px solid var(--divider);border-right:1px solid var(--divider);border-left:1px solid var(--divider);margin-left:-1px;border-radius:3px 5px 0 0;min-width:65px;height:auto;font-size:.9rem;overflow-wrap:normal}.tabs .tab[data-v-7f3ce534]:first-of-type{margin-left:0;border-left:none}.tabs .tab[data-v-7f3ce534]:hover{background:var(--hover);cursor:pointer}.tabs .tab.active[data-v-7f3ce534]{background:var(--divider);color:var(--primary)}@media screen and (max-width: 500px){.tabs .tab[data-v-7f3ce534]{font-size:.7rem;padding:0.7em;min-height:48px;display:flex;align-items:center}}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(10);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,".filters[data-v-a9ab0140]{display:flex;flex-wrap:wrap;border-bottom:var(--border)}.filter-checkbox[data-v-a9ab0140],.filter-dropdown[data-v-a9ab0140]{flex:1;padding:calc(var(--padding) / 2);flex-basis:170px;align-self:center}.filter-tabbed[data-v-a9ab0140]{width:100%}.tabbed-filters[data-v-a9ab0140]{position:relative;top:0;left:0;right:0;width:100%}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(11);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-69dd88a4]{padding:var(--padding)}div input[data-v-69dd88a4]{color:var(--primaryText);border:1px solid var(--primary);width:100%;height:calc(var(--padding) * 3);padding:0 calc(var(--padding) / 2)}div input[data-v-69dd88a4]:focus{outline:var(--primary) auto 5px}div input[data-v-69dd88a4]::placeholder{color:var(--primary)}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(12);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,'.header-bar[data-v-1e8971f0]{min-width:100%;right:0;left:0;background-color:var(--headers)}@media (max-width: 480px){.header-bar[data-v-1e8971f0]{padding:var(--padding) 0}}.header-bar .headers[data-v-1e8971f0]{display:flex;justify-content:space-between;border-bottom:var(--divider);min-height:var(--rowHeight);padding-right:20px;padding-left:20px}@media (max-width: 480px){.header-bar .headers[data-v-1e8971f0]{padding-right:7px;min-height:var(--rowHeight)}}@media (max-width: 680px){.header-bar .headers[data-v-1e8971f0]{padding-left:7px !important}}.header-bar .headers .header-cell[data-v-1e8971f0]{padding:0px 3px;display:flex}.header-bar .headers .header-cell div[data-v-1e8971f0]{align-self:center;color:var(--secondaryText);display:flex;font-family:var(--headerFont);font-size:14px;font-weight:bold}.header-bar .headers .header-cell div b[data-v-1e8971f0]{color:var(--seondaryText)}.header-bar .headers .header-cell svg[data-v-1e8971f0]{padding-left:2px;margin-left:5px;margin-top:8px;height:20px;width:15px;fill:var(--secondaryText)}.header-bar .headers .header-cell .arrow-spacer[data-v-1e8971f0]{width:20px}.header-bar .headers .header-cell[data-v-1e8971f0]:first-child{justify-content:flex-start}.header-bar .headers .header-cell:first-child .arrow-spacer[data-v-1e8971f0]{display:none}.header-bar .headers .header-cell[data-v-1e8971f0]:last-child{justify-content:flex-end}.header-bar .headers .header-cell:last-child .arrow-spacer[data-v-1e8971f0]{display:none}@media (max-width: 1023px){.header-bar .headers .empty-header-cell[secondary="true"][data-v-1e8971f0]{display:none !important}}@media (max-width: 1023px){.header-bar .headers .header-cell[secondary="true"][data-v-1e8971f0]{display:none !important}}.header-bar .headers .empty-header-cell[data-v-1e8971f0]{padding:0 3px}.header-bar .headers .empty-header-cell div[data-v-1e8971f0]{width:35px}\n',""]),e.exports=t},function(e,t,i){"use strict";var a=i(13);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,"div[data-v-d7d4e108]{font-size:var(--fontSize);color:var(--primaryText)}div.image[data-v-d7d4e108]{min-width:58px}.year[data-v-d7d4e108],.time[data-v-d7d4e108]{display:inline-block}.time[data-v-d7d4e108]{margin-left:10px}@media only screen and (max-width: 600px){.datetime .time[data-v-d7d4e108],.datetime .delimiter[data-v-d7d4e108]{display:none}}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(14);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,'@media (max-width: 1023px){.list-row-field[secondary="true"][data-v-7fdce616]{display:none !important}}.controls[data-v-7fdce616]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;flex-wrap:wrap}.list-row[data-v-7fdce616]{display:flex;align-items:center;justify-content:center;border-bottom:var(--divider);min-height:var(--rowHeight);height:var(--rowHeight);padding:0 var(--padding)}.list-row[data-v-7fdce616]:hover{background-color:var(--hover)}@media (max-width: 480px){.list-row[data-v-7fdce616]{min-height:65px;padding-left:calc(var(--padding) / 2)}}@media (max-width: 680px){.list-row[data-v-7fdce616]{min-height:85px;padding-left:calc(var(--padding) / 2)}}.list-row .list-row-field[data-v-7fdce616]{flex:1;padding:0px 3px}.list-row .list-row-field[data-v-7fdce616]:last-child{padding:0 3px}.list-row .list-row-field:last-child div[data-v-7fdce616]{text-align:right}@media (max-width: 480px){.list-row[data-v-7fdce616]:last-child{margin-bottom:65px}}.mobile-screen[data-v-7fdce616]{text-decoration:none;padding-top:10px;padding-bottom:10px;border-bottom:1px solid #d8dae1;color:#000;padding-left:2px;display:grid;grid-template-columns:100px 6fr;align-items:center}.mobile-screen .thumbnail[data-v-7fdce616]{display:flex;justify-content:center;align-items:center}.mobile-screen .flex[data-v-7fdce616]{display:flex;justify-content:space-between;align-items:center}.mobile-screen.no-image[data-v-7fdce616]{grid-template-columns:72px 6fr}.mobile-screen[data-v-7fdce616]:hover{background-color:#f7f8f9}.mobile-screen .grid[data-v-7fdce616]{display:grid;grid-template-columns:70px 3fr}.mobile-screen .label-config .label[data-v-7fdce616]{font-size:.9em;display:inline-block;padding-left:3px;padding-right:3px}.mobile-screen .label-config .field-contents[data-v-7fdce616]{padding-left:3px;padding-right:3px;display:flex;align-items:flex-end}.mobile-screen .list-row-field[data-v-7fdce616]{padding-left:3px;padding-right:3px}.mobile-screen .rest .list-row-field[data-v-7fdce616]{color:rgba(0,0,0,0.6)}.mobile-screen .rest .list-row-field[data-v-7fdce616]:nth-of-type(1){color:#000;font-weight:900 !important;font-size:15px !important;padding-bottom:5px}.mobile-screen .right-cont[data-v-7fdce616]{display:flex;flex-direction:row;justify-content:flex-end;max-width:120px;flex-wrap:wrap}.mobile-screen .mobile-right[data-v-7fdce616]{text-align:right;margin-right:2px}.mobile-screen .mobile-right .list-row-field[data-v-7fdce616]{display:inline-block;background-color:green;padding:3px;border-radius:4px;color:white;font-size:12px}.no-image .rest .list-row-field[data-v-7fdce616]{color:rgba(0,0,0,0.6)}.no-image .rest .list-row-field[data-v-7fdce616]:nth-of-type(1){color:#000;padding-bottom:0px}\n',""]),e.exports=t},function(e,t,i){"use strict";var a=i(15);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,'@media (max-width: 1023px){.list-row-field[secondary="true"][data-v-218056c1]{display:none !important}}.controls[data-v-218056c1]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;flex-wrap:wrap}.list-row[data-v-218056c1],.mobile-scroll[data-v-218056c1]{text-decoration:none;display:flex;align-items:center;justify-content:center;border-bottom:var(--divider);height:var(--rowHeight);color:#000;padding:0 var(--padding)}.list-row[data-v-218056c1]:hover,.mobile-scroll[data-v-218056c1]:hover{background-color:#f7f8f9}@media (max-width: 480px){.list-row[data-v-218056c1],.mobile-scroll[data-v-218056c1]{height:calc(var(--rowMobileHeight));padding-left:calc(var(--padding) / 2)}}@media (max-width: 680px){.list-row[data-v-218056c1],.mobile-scroll[data-v-218056c1]{min-height:85px;padding-left:calc(var(--padding) / 2)}}.list-row .list-row-field[data-v-218056c1],.mobile-scroll .list-row-field[data-v-218056c1]{flex:1;padding:0 3px}.list-row .list-row-field[data-v-218056c1]:first-child,.mobile-scroll .list-row-field[data-v-218056c1]:first-child{flex:0}@media (max-width: 1023px) and (min-width: 481px){.list-row .list-row-field[data-v-218056c1]:last-child,.mobile-scroll .list-row-field[data-v-218056c1]:last-child{padding-right:0px}}@media (max-width: 480px){.list-row .list-row-field[data-v-218056c1]:last-child,.mobile-scroll .list-row-field[data-v-218056c1]:last-child{padding-right:0px}}.list-row .list-row-field:last-child div[data-v-218056c1],.mobile-scroll .list-row-field:last-child div[data-v-218056c1]{text-align:right}@media (max-width: 480px){.list-row[data-v-218056c1]:last-child{margin-bottom:calc(var(--rowHeight) + 10px)}}.mobile-screen[data-v-218056c1]{text-decoration:none;padding-top:10px;padding-bottom:10px;border-bottom:1px solid var(--primary);color:#000;padding-left:2px;display:grid;grid-template-columns:100px 6fr;align-items:center}.mobile-screen .thumbnail[data-v-218056c1]{display:flex;justify-content:center;align-items:center}.mobile-screen .flex[data-v-218056c1]{display:flex;justify-content:space-between;align-items:center}.mobile-screen.no-image[data-v-218056c1]{grid-template-columns:72px 6fr}.mobile-screen[data-v-218056c1]:hover{background-color:var(--hover)}.mobile-screen .grid[data-v-218056c1]{display:grid;grid-template-columns:70px 3fr}.mobile-screen .label-config .label[data-v-218056c1]{font-size:.9em;display:inline-block;padding-left:3px;padding-right:3px}.mobile-screen .label-config .field-contents[data-v-218056c1]{padding-left:3px;padding-right:3px;display:flex;align-items:flex-end}.mobile-screen .list-row-field[data-v-218056c1]{padding-left:3px;padding-right:3px}.mobile-screen .rest .list-row-field[data-v-218056c1]{color:rgba(0,0,0,0.6)}.mobile-screen .rest .list-row-field[data-v-218056c1]:nth-of-type(1){color:#000;font-weight:900 !important;font-size:15px !important;padding-bottom:5px}.mobile-screen .right-cont[data-v-218056c1]{display:flex;flex-direction:row;justify-content:flex-end;max-width:120px;flex-wrap:wrap}.mobile-screen .mobile-right[data-v-218056c1]{text-align:right;margin-right:2px}.mobile-screen .mobile-right .list-row-field[data-v-218056c1]{display:inline-block;margin-right:var(--padding);background-color:lightgreen;padding:calc(var(--padding) / 2);border-radius:4px;color:black;font-size:12px}.no-image .rest .list-row-field[data-v-218056c1]{color:rgba(0,0,0,0.6)}.no-image .rest .list-row-field[data-v-218056c1]:nth-of-type(1){color:#000;padding-bottom:0px}\n',""]),e.exports=t},function(e,t,i){"use strict";var a=i(16);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,".list[data-v-3b17bb28]{position:relative;overflow-y:auto;max-height:540px}@media (max-width: 480px){.list[data-v-3b17bb28]{max-height:calc(100vh - 250px)}}.row-link[data-v-3b17bb28]:nth-of-type(1){border-top:1px solid var(--primary)}.row-link[data-v-3b17bb28]:nth-of-type(odd){border-left:5px solid rgba(184,199,223,0.7)}.row-link[data-v-3b17bb28]:nth-of-type(even){border-left:5px solid #e6edf9}\n",""]),e.exports=t},function(e,t,i){"use strict";var a=i(17);i.n(a).a},function(e,t,i){(t=i(1)(!1)).push([e.i,".data-table[data-v-c76d0c94]{display:flex;flex-direction:column}.action-component-container[data-v-c76d0c94]{align-self:flex-end}.filtering-card[data-v-c76d0c94]{border:var(--border);background:white}.filtering-card.gapped[data-v-c76d0c94]{margin-bottom:calc(var(--padding) * 1.5)}.table-card[data-v-c76d0c94]{border:var(--border);background:white}.no-results[data-v-c76d0c94]{padding:var(--padding)}\n",""]),e.exports=t},function(e,t,i){(t=i(1)(!1)).push([e.i,":root{--primary: $primary;--secondary: $secondary;--hover: $hover;--primaryText: $primaryText;--secondaryText: $secondaryText;--border: $border;--headers: $headers;--headerWeight: $headerWeight;--headerFont: $headerFont;--divider: $divider;--padding: $padding;--fontSize: $fontSize;--rowHeight: $rowHeight;--rowMobileHeight: $rowMobileHeight}\n",""]),t.locals={primary:"#000",secondary:"#111",hover:"#eee",primaryText:"#234",secondaryText:"#234",border:'"1px solid #fff"',headers:"#eee",headerWeight:"200",headerFont:"sans-serif",divider:'"1px solid #eee"',padding:"1em",fontSize:".9em",rowHeight:"55px",rowMobileHeight:"80px"},e.exports=t},function(e,t,i){"use strict";i.r(t);var a={props:{filter:{type:Object,required:!0}},computed:{checkboxStyle(){return`background-image: ${this.$assets.checkbox};`}}};i(23);function r(e,t,i,a,r,n,o,s){var l,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=i,d._compiled=!0),a&&(d.functional=!0),n&&(d._scopeId="data-v-"+n),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},d._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(e,t){return l.call(t),c(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:d}}var n=r(a,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("label",{attrs:{for:"filter-"+e.filter.field}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.filter.value,expression:"filter.value"}],style:e.filter.value?e.checkboxStyle:"",attrs:{type:"checkbox",id:"filter-"+e.filter.field},domProps:{checked:Array.isArray(e.filter.value)?e._i(e.filter.value,null)>-1:e.filter.value},on:{change:function(t){var i=e.filter.value,a=t.target,r=!!a.checked;if(Array.isArray(i)){var n=e._i(i,null);a.checked?n<0&&e.$set(e.filter,"value",i.concat([null])):n>-1&&e.$set(e.filter,"value",i.slice(0,n).concat(i.slice(n+1)))}else e.$set(e.filter,"value",r)}}}),e._v("\n "+e._s(e.filter.text)+"\n ")])])}),[],!1,null,"5bf94502",null).exports,o={props:{filter:{type:Object,required:!0},options:{type:Array,required:!0}},computed:{dropdownStyle(){return`background-image: ${this.$assets.dropdown};`}},methods:{value(e){if(null!=e&&null!==e.value)return"function"==typeof e.value?e.value():"object"==typeof e&&null!==e.value?e.value:e},label(e){if(null!==e)return"object"==typeof e?e.label:e}}},s=(i(25),r(o,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return"dropdown"===e.filter.type?i("div",[e.filter.text?i("label",{attrs:{for:"filter-"+e.filter.filter}},[e._v("\n "+e._s(e.filter.text)+"\n ")]):e._e(),e._v(" "),i("select",{directives:[{name:"model",rawName:"v-model",value:e.filter.value,expression:"filter.value"}],style:e.dropdownStyle,attrs:{name:""+e.filter.filter},on:{change:function(t){var i=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.filter,"value",t.target.multiple?i:i[0])}}},[i("option",{attrs:{value:""}},[e._v("\n "+e._s(e.filter.placeholder)+"\n ")]),e._v(" "),e._l(e.options,(function(t){return i("option",{domProps:{value:e.value(t)}},[e._v("\n "+e._s(e.label(t))+"\n ")])}))],2)]):e._e()}),[],!1,null,"1f7ca5eb",null).exports),l=(i(27),r({},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{style:"background-image: "+this.$assets.close+";",attrs:{alt:"Close",title:"Close"},on:{click:function(t){return e.$emit("close")}}})}),[],!1,null,"a9dc4e8a",null).exports),d=i(21),c=i.n(d),p={props:["value","format","name"],data(){return{picker:null,inputName:this.name||"date"}},watch:{value(e){this.picker.setDate(e)}},destroyed(){this.picker.destroy(),this.picker=null},mounted(){const e=this.getDate;this.picker=new c.a({field:this.$el,bound:!0,defaultDate:this.value,format:"YYYY-MM-DD",onSelect:function(t){e(this.getMoment(t).format("YYYY-MM-DD"))}}),this.picker.setDate(this.value)},methods:{getDate(e){this.$emit(this.inputName,{date:e,field:this.inputName}),this.$emit("input",e)}}},f=(i(29),r(p,(function(){var e=this.$createElement;return(this._self._c||e)("input",{ref:"inputArea",staticClass:"date-input",attrs:{type:"text"},domProps:{value:this.value}})}),[],!1,null,null,null).exports),u=(i(31),r({},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{on:{click:function(t){return e.$emit("click")}}},[e._v("\n CLEAR\n")])}),[],!1,null,"87c89e4c",null).exports),h={components:{DatatableDatePicker:f,ClearButton:u},methods:{clear(){this.event(null),this.$refs.dateInput.$refs.inputArea.focus()}},props:{value:{type:String},event:{type:Function},name:{type:String},title:{type:String}}},g=(i(33),r(h,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("span",[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),i("div",{staticClass:"date-input"},[i("datatable-date-picker",{ref:"dateInput",attrs:{name:e.name,value:e.value},on:{input:e.event}}),e._v(" "),e.value?i("clear-button",{on:{click:e.clear}}):e._e()],1)])}),[],!1,null,"b5ff1ffa",null).exports),v=r({props:{filter:{type:Object,required:!0}},components:{CloseButton:l,DateInput:g},mounted(){this.$refs.from.value||this.$nextTick(()=>this.$refs.dateFrom.$refs.dateInput.$refs.inputArea.focus())},methods:{setDateFrom(e){this.$refs.from.value=e,this.$refs.from.dispatchEvent(new Event("input",{bubbles:!0}))},setDateTo(e){this.$refs.to.value=e,this.$refs.to.dispatchEvent(new Event("input",{bubbles:!0}))}}},(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("close-button",{on:{close:function(t){return e.$emit("close")}}}),e._v(" "),i("date-input",{ref:"dateFrom",attrs:{title:"From",name:"dateFrom",value:e.filter.from,event:e.setDateFrom}}),e._v(" "),i("date-input",{ref:"dateTo",attrs:{title:"To",name:"dateTo",value:e.filter.to,event:e.setDateTo}}),e._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e.filter.from,expression:"filter.from"}],ref:"from",attrs:{hidden:""},domProps:{value:e.filter.from},on:{input:function(t){t.target.composing||e.$set(e.filter,"from",t.target.value)}}}),e._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e.filter.to,expression:"filter.to"}],ref:"to",attrs:{hidden:""},domProps:{value:e.filter.to},on:{input:function(t){t.target.composing||e.$set(e.filter,"to",t.target.value)}}})],1)}),[],!1,null,null,null).exports,m={components:{ClearButton:u},methods:{clear(){this.$emit("input","",this.target),this.$refs.inputBox.focus()},handleInput(e){this.$emit("input",e.target.value,this.target)}},props:{value:{types:[String,Number]},target:{type:String},label:{type:String}}},b=(i(35),r(m,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("span",[e._v("\n "+e._s(e.label)+"\n ")]),e._v(" "),i("div",{staticClass:"value-input"},[i("input",{ref:"inputBox",attrs:{type:"text",target:e.target},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),e.value?i("clear-button",{on:{click:e.clear}}):e._e()],1)])}),[],!1,null,"13994c7f",null).exports),y={components:{FilterDateRange:v,FilterNumberRange:r({props:{filter:{type:Object,required:!0}},components:{CloseButton:l,ValueInput:b},mounted(){this.$refs.from.$refs.inputBox.focus()},methods:{handleInput(e,t){this.filter[t]=e,this.$parent.$forceUpdate(),this.$forceUpdate()}}},(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("close-button",{on:{close:function(t){return e.$emit("close")}}}),e._v(" "),i("value-input",{ref:"from",attrs:{label:"Amount from:",target:"from",value:e.filter.from},on:{input:e.handleInput}}),e._v(" "),i("value-input",{ref:"to",attrs:{label:"Amount to:",target:"to",value:e.filter.to},on:{input:e.handleInput}})],1)}),[],!1,null,null,null).exports},props:{filter:{type:Object,required:!0}},data:()=>({activeTab:1}),methods:{setActive(e){this.activeTab=e},getTitle(e){if("null"===e.type)return e.name;if("date"===e.type){if(!e.from&&!e.to)return`${e.name||"Date"} (All)`;if(e.from&&!e.to)return`${e.name||""} (Since ${e.from})`.trim();if(!e.from&&e.to)return`${e.name||""} (Before ${e.to})`.trim()}if("range"===e.type){if(!e.from&&!e.to)return`${e.name||"Range"} (All)`;if(e.from&&!e.to)return`${e.name||""} (Above ${e.from})`.trim();if(!e.from&&e.to)return`${e.name||""} (Below ${e.to})`.trim()}return e.from&&e.to?`${e.name||"From"} (${e.from} to ${e.to})`:"Error"}}},x=(i(37),{components:{FilterCheckbox:n,FilterDropdown:s,TabbedFilters:r(y,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"tabs",attrs:{role:"tablist"}},e._l(e.filter.tabs,(function(t,a){return e.getTitle(t)?i("div",{staticClass:"tab",class:a+1===e.activeTab?"active":"",on:{click:function(t){return e.setActive(a+1)}}},[e._v("\n "+e._s(e.getTitle(t))+"\n ")]):e._e()})),0),e._v(" "),i("div",e._l(e.filter.tabs,(function(t,a){return e.activeTab>0?i("div",["date"===t.type&&a+1===e.activeTab?i("filter-date-range",{staticClass:"filter-tab-content",attrs:{filter:t},on:{close:function(t){return e.setActive(0)}}}):e._e(),e._v(" "),"range"===t.type&&a+1===e.activeTab?i("filter-number-range",{staticClass:"filter-tab-content",attrs:{filter:t},on:{close:function(t){return e.setActive(0)}}}):e._e()],1):e._e()})),0)])}),[],!1,null,"7f3ce534",null).exports},methods:{dropdownDataSet(e,t){if(void 0===t)return[];return[...new Set(t.map(t=>e.data&&"function"==typeof e.data?e.data(t[e.field]):e.field.indexOf(".")<0?t[e.field]:e.field.split(".").reduce((e,i)=>null!==t[e]&&null!==t[e][i]?t[e][i]:null!==t[e]?t[e]:void 0)))].filter((function(e){return null!=e}))}},props:{filters:{type:Array,required:!0},dataset:{type:Array,required:!0}}}),w=(i(39),r(x,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"filters"},e._l(e.filters,(function(t){return i("div",{class:"filter-"+t.type},["tabbed"===t.type?i("tabbed-filters",{staticClass:"tabbed-filters",attrs:{filter:t}}):e._e(),e._v(" "),"checkbox"===t.type?i("filter-checkbox",{staticClass:"input_checkbox",attrs:{filter:t}}):e._e(),e._v(" "),"dropdown"===t.type?i("filter-dropdown",{attrs:{filter:t,options:e.dropdownDataSet(t,e.dataset)}}):e._e()],1)})),0)}),[],!1,null,"a9ab0140",null).exports),_={props:{config:{type:Object,required:!0}}},k=(i(41),r(_,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.config.term,expression:"config.term"}],attrs:{placeholder:e.config.placeholder},domProps:{value:e.config.term},on:{input:function(t){t.target.composing||e.$set(e.config,"term",t.target.value)}}})])}),[],!1,null,"69dd88a4",null).exports),$={components:{ArrowUp:{functional:!0,render(e,t){const{_c:i,_v:a,data:r,children:n=[]}=t,{class:o,staticClass:s,style:l,staticStyle:d,attrs:c={},...p}=r;return i("svg",{class:[o,s],style:[l,d],attrs:Object.assign({fill:"#CED1D9",viewBox:"0 0 448 512"},c),...p},n.concat([i("path",{attrs:{d:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"}})]))}},ArrowDown:{functional:!0,render(e,t){const{_c:i,_v:a,data:r,children:n=[]}=t,{class:o,staticClass:s,style:l,staticStyle:d,attrs:c={},...p}=r;return i("svg",{class:[o,s],style:[l,d],attrs:Object.assign({viewBox:"0 0 448 512"},c),...p},n.concat([i("path",{attrs:{d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}})]))}}},props:{config:{type:Object,required:!0},fields:{type:Array,required:!0},styler:{type:Function,required:!0},controls:{type:Array,required:!1},totalRecords:{type:Number,required:!1,default:0}},computed:{headerStyle(){return this.totalRecords>9?"margin-right: 0.7rem; margin-left: -0.1rem;":"margin-right: -0.15rem; margin-left: -0.25rem;"}},methods:{sort(e){e.sort&&(e.field=e.sort),this.config.sorting.field===e.field&&(this.config.sorting.ascending=!this.config.sorting.ascending),this.config.sorting.field=e.field}}},C=(i(43),r($,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"header-bar"},[i("div",{staticClass:"headers",style:e.headerStyle},[e._l(e.fields,(function(t){return t.header?i("div",{staticClass:"header-cell",style:e.styler(t),attrs:{secondary:!0===t.secondary},on:{click:function(i){return e.sort(t)}}},[i("div",[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),t.field===e.config.sorting.field?i("div",[e.config.sorting.ascending?i("b",[i("arrow-down")],1):i("b",[i("arrow-up")],1)]):i("div",{staticClass:"arrow-spacer"})]):i("div",{staticClass:"empty-header-cell",style:e.styler(t),attrs:{secondary:t.secondary}},[i("div")])})),e._v(" "),e.controls&&e.controls.length?i("div",{staticClass:"header-cell",staticStyle:{flex:"1 1 0%"},attrs:{secondary:!1}},[i("div",[e._v("\n "+e._s(e.config&&e.config.headers&&e.config.headers.optionsHeader?"Options":"")+"\n ")])]):e._e()],2)])}),[],!1,null,"1e8971f0",null).exports),A=i(22),S=i.n(A),T=i(19),M=i.n(T),O={components:{AvatarOrInitials:S.a},props:["field","data"],methods:{getProperty(e,t){if(!t)return null;let i=e[t]||null;return t.indexOf(".")>-1&&(i=t.split(".").reduce((t,i)=>"object"==typeof t&&null!==t[i]?t[i]:null!==e&&null!==e[t]&&null!==e[t][i]?e[t][i]:null!==e&&null!==e[t]?e[t]:void 0)),"number"===this.field.type?(i=parseFloat(`${i}`),i.toLocaleString(void 0,{style:"decimal",minimumFractionDigits:this.field.decimal_places||0})):"boolean"===this.field.type?!!i:"number"==typeof i?i.toLocaleString(void 0,{style:"decimal",minimumFractionDigits:this.field.decimal_places||0}):i},count:e=>e.length,getProps(){if(this.field.props&&"function"==typeof this.field.props)return this.field.props(this.data);if(this.field.props&&"object"==typeof this.field.props)return this.field.props;if(this.field.requireProps.propsFromData.enabled){const e=this.field.requireProps.propsFromData.propFields,t={};return e.forEach(e=>{const i=Object.keys(e),a=e[i[0]];t[i]=this.data[a]}),t}return this.field.requireProps.defaultProps||{}},getComponentName(){return"function"==typeof this.field.component?this.field.component(this.data):this.field.component},getComponentEvents(){return this.field.events||{}},getCustomContent(){return this.field.value?"function"==typeof this.field.value?this.field.value(this.data):this.field.value:""},formatDate:e=>({year:M()(e).format("YYYY-MM-DD"),time:M()(e).format("LT")}),formatAsCurrency:(e,t="R",i=0)=>(null===e&&(e=0),t+String.fromCharCode(160)+e.toLocaleString(void 0,{style:"decimal",minimumFractionDigits:i,maximumFractionDigits:i}))}},j=(i(45),r(O,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return"image"===e.field.type?i("div",{class:e.field.field,staticStyle:{"flex-grow":"0",flex:"0"}},[i("avatar-or-initials",{staticClass:"item-avatar",staticStyle:{"margin-left":"-0.4rem","margin-right":"0.6rem",height:"35px"},attrs:{size:35,image:e.getProperty(e.data,e.field.image),title:e.getProperty(e.data,e.field.field)}})],1):"text"===e.field.type||"number"===e.field.type?i("div",{class:e.field.field},[e._v("\n "+e._s(e.getProperty(e.data,e.field.field))+"\n")]):"count"===e.field.type?i("div",{class:e.field.field},[e._v("\n "+e._s(e.count(e.getProperty(e.data,e.field.field)))+"\n")]):"boolean"===e.field.type?i("div",{class:e.field.field},[e.field.yes?[e._v("\n "+e._s(e.getProperty(e.data,e.field.field)?e.field.yes:e.field.no)+"\n ")]:[e.getProperty(e.data,e.field.field)?i("div",{style:"background-image: "+this.$assets.checkmark+"; background-repeat: no-repeat; width: 20px; height: 20px;",attrs:{width:"20px",height:"20px"}}):i("div",{style:"background-image: "+this.$assets.crossmark+"; background-repeat: no-repeat; width: 20px; height: 20px;",attrs:{width:"20px",height:"20px"}})]],2):"boolean-inverted"===e.field.type?i("div",{class:e.field.field},[e.getProperty(e.data,e.field.field)?i("div",{style:"background-image: "+this.$assets.crossmark+"; background-repeat: no-repeat; width: 20px; height: 20px;",attrs:{width:"20px",height:"20px"}}):i("div",{style:"background-image: "+this.$assets.checkmark+"; background-repeat: no-repeat; width: 20px; height: 20px;",attrs:{width:"20px",height:"20px"}})]):"third_party"===e.field.type?i("div",{class:e.field.field},[e.getProperty(e.data,e.field.field)?i("span",[e._v("\n Third Party\n")]):i("span",[e._v("\n First Party\n")])]):"property"===e.field.type?i("div",{class:e.field.field},[e._v("\n "+e._s(e.field.symbol?e.field.symbol:"")+" "+e._s(e.getProperty(e.data,e.field.field))+"\n")]):"component"===e.field.type?i("div",{class:e.field.field,staticStyle:{"flex-grow":"0"}},[i(e.getComponentName(),e._g(e._b({tag:"component"},"component",e.getProps(),!1),e.getComponentEvents()))],1):"currency"===e.field.type?i("div",{class:e.field.field},[e._v("\n "+e._s(e.formatAsCurrency(e.getProperty(e.data,e.field.field),e.field.symbol))+"\n")]):"datetime"===e.field.type?i("div",{class:e.field.field},[i("span",{staticClass:"year"},[e._v("\n "+e._s(e.formatDate(e.getProperty(e.data,e.field.field)).year)+"\n")]),e._v(" "),i("span",{staticClass:"delimiter"},[e._v(",")]),e._v(" "),i("span",{staticClass:"time"},[e._v("\n "+e._s(e.formatDate(e.getProperty(e.data,e.field.field)).time)+"\n")])]):"date"===e.field.type?i("div",{class:e.field.field},[i("span",{staticClass:"year"},[e._v("\n "+e._s(e.formatDate(e.getProperty(e.data,e.field.field)).year)+"\n")])]):"time"===e.field.type?i("div",{class:e.field.field},[i("span",{staticClass:"year"},[e._v("\n "+e._s(e.formatDate(e.getProperty(e.data,e.field.field)).time)+"\n")])]):"custom"===e.field.type?i("div",{class:e.field.field,domProps:{innerHTML:e._s(e.getCustomContent())}}):e._e()}),[],!1,null,"d7d4e108",null).exports),F=r({props:["config","data"],computed:{href(){return"function"==typeof this.config.href?this.config.href(this.data):this.config.href},componentName(){return"function"==typeof this.config.component?this.config.component(this.data):this.config.component},componentProps(){return"function"==typeof this.config.props?this.config.props(this.data):"object"==typeof this.config.props?this.config.props:{}},componentEvents(){return"function"==typeof this.config.events?this.config.events(this.data):this.config.events||{}}},methods:{handleClick(e){this.config.onClick&&this.config.onClick(this.data,e)}}},(function(){var e=this,t=e.$createElement,i=e._self._c||t;return"link"===e.config.type?i("router-link",{class:e.config.class,style:e.config.style,attrs:{to:e.href},nativeOn:{click:function(t){return e.handleClick(t)}}},[e._v("\n "+e._s(e.config.label)+"\n")]):"component"===e.config.type?i(e.componentName,e._g(e._b({tag:"component",style:e.config.style},"component",e.componentProps,!1),e.componentEvents)):e._e()}),[],!1,null,null,null).exports,D={components:{TableData:j,TableRowOption:F},props:{data:{type:Object,required:!0},fields:{type:Array,required:!0},styler:{type:Function,required:!0},controls:{type:Array,required:!1},mobileType:{type:String,required:!1},showLabelOnMobile:{type:Boolean,required:!1},smallScreen:{type:Boolean,required:!1}},computed:{imageField(){return this.fields.find(e=>"image"===e.field)},displayRight(){return this.fields.filter(e=>!0===e.displayRightOnMobile)},filteredFields(){const e=[...this.fields],t=e.findIndex(e=>"image"===e.field);t>=0&&e.splice(t,1);const i=e.findIndex(e=>!0===e.displayRightOnMobile);return i>=0&&e.splice(i,1),e},firstField(){return this.fields[0]},rest(){const e=[...this.fields];return e.splice(0,1),e}},methods:{getStyle(e,t){if(e.styledBackground&&e.styledBackground.enabled){let i;return i=e.value?e.value(t):e.field.split(".").reduce((e,t)=>e?e[t]:null,t||self),`background-color: ${e.styledBackground.config[i]}`}return""},showControl:(e,t)=>void 0===e.show||("function"==typeof e.show?e.show(t):e.show)}},R=(i(47),r(D,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.smallScreen?i("div",["with-image"===e.mobileType?i("div",{staticClass:"mobile-screen"},[e.imageField?i("div",{staticClass:"thumbnail"},[i("div",{staticClass:"list-row-field"},[e.imageField?i("table-data",{attrs:{data:e.data,field:e.imageField}}):e._e()],1)]):e._e(),e._v(" "),i("div",{staticClass:"rest"},e._l(e.filteredFields,(function(t,a){return i("div",{staticClass:"list-row-field",style:e.styler(t),attrs:{secondary:!0===t.secondary}},["image"===t.field||t.displayRightOnMobile?e._e():i("table-data",{attrs:{data:e.data,field:t}})],1)})),0),e._v(" "),e.displayRight?i("div",{staticClass:"mobile-right"},[i("div",{staticClass:"list-row-field",style:e.getStyle(e.displayRight,e.data)},[e.displayRight?i("table-data",{attrs:{data:e.data,field:e.displayRight}}):e._e()],1)]):e._e()]):i("div",{staticClass:"mobile-screen no-image"},[i("div",{staticClass:"thumbnail"},[i("div",{staticClass:"list-row-field"},[i("table-data",{attrs:{data:e.data,field:e.firstField}})],1)]),e._v(" "),i("div",{staticClass:"flex"},[i("div",{staticClass:"rest"},e._l(e.rest,(function(t,a){return i("div",{staticClass:"list-row-field",style:e.styler(t),attrs:{secondary:!0===t.secondary}},[e.showLabelOnMobile?i("div",{class:"label-config "+(0!==a?"grid":"")},[t.displayRightOnMobile||0===a?e._e():i("span",{staticClass:"label"},[e._v("\n "+e._s(t.name)+":\n ")]),e._v(" "),"image"===t.field||t.displayRightOnMobile?e._e():i("table-data",{attrs:{data:e.data,field:t}})],1):i("div",["image"===t.field||t.displayRightOnMobile?e._e():i("table-data",{attrs:{data:e.data,field:t}})],1)])})),0),e._v(" "),i("div",{staticClass:"right-cont"},e._l(e.displayRight,(function(t,a){return e.displayRight.length>0?i("div",{key:a,staticClass:"mobile-right"},[i("div",{staticClass:"list-row-field",style:e.getStyle(t,e.data)},[t?i("table-data",{attrs:{data:e.data,field:t}}):e._e()],1)]):e._e()})),0)])]),e._v(" "),e.controls&&e.controls.length?i("div",{staticClass:"controls list-row-field"},e._l(e.controls,(function(t,a){return e.showControl(t,e.data)?i("table-row-option",{key:a,attrs:{config:t,data:e.data}}):e._e()})),1):e._e()]):i("div",{staticClass:"list-row"},[e._l(e.fields,(function(t,a){return i("div",{key:a,staticClass:"list-row-field",style:e.styler(t),attrs:{secondary:!0===t.secondary}},[i("table-data",{attrs:{data:e.data,field:t}})],1)})),e._v(" "),e.controls&&e.controls.length?i("div",{staticClass:"controls list-row-field"},e._l(e.controls,(function(t,a){return e.showControl(t,e.data)?i("table-row-option",{key:a,attrs:{config:t,data:e.data}}):e._e()})),1):e._e()],2)}),[],!1,null,"7fdce616",null).exports),P={components:{TableData:j,TableRowOption:F},props:{data:{type:Object,required:!0},fields:{type:Array,required:!0},styler:{type:Function,required:!0},controls:{type:Array,required:!1},linking:{type:Object,required:!0},mobileType:{type:String,required:!1},showLabelOnMobile:{type:Boolean,required:!1,default:!0},smallScreen:{type:Boolean,required:!1}},computed:{imageField(){return this.fields.find(e=>"image"===e.field)},displayRight(){return this.fields.filter(e=>!0===e.displayRightOnMobile)},filteredFields(){const e=[...this.fields],t=e.findIndex(e=>"image"===e.field);t>=0&&e.splice(t,1);const i=e.findIndex(e=>!0===e.displayRightOnMobile);return i>=0&&e.splice(i,1),e},firstField(){return this.fields[0]},rest(){const e=[...this.fields];return e.splice(0,1),e}},methods:{link(e){return"function"==typeof this.linking.link?this.linking.link(e):{name:this.linking.route.name,params:{[this.linking.param]:e[this.linking.field]}}},getStyle(e,t){if(e.styledBackground&&e.styledBackground.enabled){let i;return i=e.value?e.value(t):e.field.split(".").reduce((e,t)=>e?e[t]:null,t||self),`background-color: ${e.styledBackground.config[i]}`}return""},showControl:(e,t)=>void 0===e.show||("function"==typeof e.show?e.show(t):e.show)}},q=(i(49),{components:{TableData:j,TableRow:R,TableLinkRow:r(P,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.smallScreen?i("router-link",{staticClass:"row-link",staticStyle:{"text-decoration":"none",display:"block"},attrs:{to:e.link(e.data)}},["with-image"===e.mobileType?i("div",{staticClass:"mobile-screen"},[e.imageField?i("div",{staticClass:"thumbnail"},[i("div",{staticClass:"list-row-field"},[e.imageField?i("table-data",{attrs:{data:e.data,field:e.imageField}}):e._e()],1)]):e._e(),e._v(" "),i("div",{staticClass:"rest"},e._l(e.filteredFields,(function(t,a){return i("div",{key:a,staticClass:"list-row-field",style:e.styler(t),attrs:{secondary:!0===t.secondary}},["image"===t.field||t.displayRightOnMobile?e._e():i("table-data",{attrs:{data:e.data,field:t}})],1)})),0),e._v(" "),e.displayRight?i("div",{staticClass:"mobile-right"},[i("div",{staticClass:"list-row-field",style:e.getStyle(e.displayRight,e.data)},[e.displayRight?i("table-data",{attrs:{data:e.data,field:e.displayRight}}):e._e()],1)]):e._e()]):"no-image"===e.mobileType?i("div",{staticClass:"mobile-screen no-image"},[i("div",{staticClass:"thumbnail"},[i("div",{staticClass:"list-row-field"},[i("table-data",{attrs:{data:e.data,field:e.firstField}})],1)]),e._v(" "),i("div",{staticClass:"flex",staticStyle:{"justify-content":"flex-end","margin-right":"20px"}},[i("div",{staticClass:"rest"},e._l(e.rest,(function(t,a){return i("div",{key:a,staticClass:"list-row-field",style:e.styler(t),attrs:{secondary:!0===t.secondary}},[e.showLabelOnMobile?i("div",{class:"label-config grid"},[t.displayRightOnMobile?e._e():i("span",{staticClass:"label"},[e._v("\n "+e._s(t.name)+":\n ")]),e._v(" "),"image"===t.field||t.displayRightOnMobile?e._e():i("table-data",{attrs:{data:e.data,field:t}})],1):i("div",["image"===t.field||t.displayRightOnMobile?e._e():i("table-data",{attrs:{data:e.data,field:t}})],1)])})),0),e._v(" "),i("div",{staticClass:"right-cont"},e._l(e.displayRight,(function(t,a){return e.displayRight.length>0?i("div",{key:a,staticClass:"mobile-right"},[i("div",{staticClass:"list-row-field",style:e.getStyle(t,e.data)},[t?i("table-data",{attrs:{data:e.data,field:t}}):e._e()],1)]):e._e()})),0),e._v(" "),i("div",{staticStyle:{"margin-left":"20px"}},[e._v(">")])]),e._v(" "),e.controls&&e.controls.length?i("div",{staticClass:"controls list-row-field"},e._l(e.controls,(function(t,a){return e.showControl(t,e.data)?i("table-row-option",{key:a,attrs:{config:t,data:e.data}}):e._e()})),1):e._e()]):e._e()]):i("router-link",{staticClass:"list-row",attrs:{to:e.link(e.data)}},[e._l(e.fields,(function(t,a){return i("div",{key:a,staticClass:"list-row-field",style:e.styler(t),attrs:{secondary:!0===t.secondary}},[i("table-data",{attrs:{data:e.data,field:t}})],1)})),e._v(" "),e.controls&&e.controls.length?i("div",{staticClass:"controls list-row-field"},e._l(e.controls,(function(t,a){return e.showControl(t,e.data)?i("table-row-option",{key:a,attrs:{config:t,data:e.data}}):e._e()})),1):e._e()],2)}),[],!1,null,"218056c1",null).exports},props:{dataset:{type:Array,required:!0},fields:{type:Array,required:!0},styler:{type:Function,required:!0},linking:{type:[Object,Boolean],required:!1,default:!1},controls:{type:Array,required:!1},mobileType:{type:String,required:!1,default:"no-image"},showLabelOnMobile:{type:Boolean,required:!1,default:!0},smallScreen:{type:Boolean,required:!1}},methods:{mustLink(){return!(!this.linking||!this.linking.enabled)}}}),E=(i(51),{components:{Filtering:w,Searching:k,TableHeaders:C,TableBody:r(q,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"list"},[e.mustLink()?i("div",e._l(e.dataset,(function(t,a){return i("table-link-row",{key:a,attrs:{fields:e.fields,data:t,styler:e.styler,controls:e.controls,linking:e.linking,mobileType:e.mobileType,showLabelOnMobile:e.showLabelOnMobile,smallScreen:e.smallScreen}})})),1):e._l(e.dataset,(function(t,a){return i("table-row",{key:a,attrs:{fields:e.fields,data:t,styler:e.styler,controls:e.controls,mobileType:e.mobileType,showLabelOnMobile:e.showLabelOnMobile,smallScreen:e.smallScreen}})}))],2)}),[],!1,null,"3b17bb28",null).exports},props:{dataset:{type:Array,required:!0},options:{type:Object,required:!0},loaded:{type:Boolean,required:!1,default:!0}},data:()=>({processedDataset:[],windowWidth:null}),watch:{dataset(){this.processData()}},mounted(){this.setTheme(),this.processData(),this.watchConfig(),this.windowWidth=window.innerWidth,this.$nextTick(()=>{window.addEventListener("resize",this.setInnerWidth)})},computed:{showHeaders(){return!(this.options.config.headers&&!1===this.options.config.headers.enabled)},processedData(){return this.processedDataset},smallScreen:()=>!1,actionComponentStyle(){if(!this.options.config.actionComponent)return!1;if(!this.options.config.actionComponent.offset)return!1;let e="0px",t="0px";return this.options.config.actionComponent.offset.top&&(e=this.options.config.actionComponent.offset.top),this.options.config.actionComponent.offset.bottom&&(t=this.options.config.actionComponent.offset.bottom),`margin-top: ${e}; margin-bottom: ${t}`}},methods:{setTheme(){this.$style.primary=this.$theme.primary||this.$style.primary,this.$style.primaryText=this.$theme.primaryText||this.$style.primaryText,this.$style.secondaryText=this.$theme.secondaryText||this.$style.secondaryText,this.$style.secondary=this.$theme.secondary||this.$style.secondary,this.$style.border=this.$theme.border||this.$style.border,this.$style.headers=this.$theme.headers||this.$style.headers,this.$style.headerWeight=this.$theme.headerWeight||this.$style.headerWeight,this.$style.headerFont=this.$theme.headerFont||this.$style.headerFont,this.$style.divider=this.$theme.divider||this.$style.divider,this.$style.hover=this.$theme.hover||this.$style.hover,this.$style.padding=this.$theme.padding||this.$style.padding,this.$style.fontSize=this.$theme.fontSize||this.$style.fontSize,this.$style.rowHeight=this.$theme.rowHeight||this.$style.rowHeight;const e=document.body.style;e.setProperty("--primary",this.$style.primary),e.setProperty("--secondary",this.$style.secondary),e.setProperty("--hover",this.$style.hover),e.setProperty("--primaryText",this.$style.primaryText),e.setProperty("--secondaryText",this.$style.secondaryText),e.setProperty("--border",this.$style.border),e.setProperty("--headers",this.$style.headers),e.setProperty("--headerWeight",this.$style.headerWeight),e.setProperty("--headerFont",this.$style.headerFont),e.setProperty("--divider",this.$style.divider),e.setProperty("--padding",this.$style.padding),e.setProperty("--fontSize",this.$style.fontSize),e.setProperty("--rowHeight",this.$style.rowHeight)},setInnerWidth(){this.windowWidth=window.innerWidth},watchConfig(){this.$watch("options.config",()=>this.$nextTick(this.processData),{deep:!0})},processData(){let e=this.dataset.slice();if(this.options.config.filtering.enabled)for(const t of this.options.config.filtering.filters)t.enabled&&(e=e.filter(e=>{if("checkbox"===t.type)return this.filterCheckbox(e,t);if("tabbed"===t.type)return this.filterTabs(e,t);if("dropdown"===t.type){if(!t.value)return!0;if(t.value&&t.data&&"function"==typeof t.data)return t.data(e[t.field])===t.value;if(t.value&&t.field.indexOf(".")<0)return e[t.field]===t.value;const i=t.field.split(".").reduce((t,i)=>null!==e&&null!==e[t]&&(null!==e[t]&&null!==e[t][i]?e[t][i]:null!==e[t]?e[t]:void 0));if(void 0!==i)return i===t.value}return!0}));return this.options.config.sorting.enabled&&e.sort(this.compare),this.options.config.search.term&&(e=this.search(e)),this.processedDataset=e,e},search(e){return e.filter(e=>e[this.options.config.search.field].toLowerCase().search(this.options.config.search.term.toLowerCase())>-1)},filterCheckbox(e,t){const i=e[t.field];let a=!1;return a=!t.collection&&i,!t.collection&&t.value&&(a=!0),t.collection&&i.length>0&&(a=!0),t.value&&t.collection&&(a=!0),a},filterTabs(e,t){const i=t;for(const t of i.tabs){if("date"===t.type&&!this.dateTabFilter(e,t))return!1;if("range"===t.type&&!this.rangeTabFilter(e,t))return!1}return!0},dateTabFilter(e,t){const i=e[t.field].split(" ")[0];let a=!0;return t.from&&i<t.from&&(a=!1),t.to&&i>t.to&&(a=!1),a},rangeTabFilter(e,t){const i=e[t.field];let a=!0;return t.from&&i<t.from&&(a=!1),t.to&&i>t.to&&(a=!1),a},getStyle:e=>e.grow||0===e.grow?"flex: "+e.grow:"image"!==e.type||e.secondary?"component"===e.type?"flex: 0;":"flex: 1":"flex: 0; min-width: 50px;",compare(e,t){let i=this.options.config.sorting.field;if(i.includes(".")){const a=i.split(".");e=e[a[0]],t=t[a[0]],i=a[1]}null==e&&((e=[])[i]=""),null==t&&((t=[])[i]="");const a=e[i]||"",r=t[i]||"";return a.toString().toLowerCase()<r.toString().toLowerCase()?this.options.config.sorting.ascending?-1:1:a.toString().toLowerCase()>r.toString().toLowerCase()?this.options.config.sorting.ascending?1:-1:0}}}),B=(i(53),i(20));var z=r(E,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"data-table"},[i("div",{staticClass:"action-component-container",style:e.actionComponentStyle},[e.options.config.actionComponent?i(e.options.config.actionComponent.component,e._b({tag:"component"},"component",e.options.config.actionComponent.props||{},!1)):e._e()],1),e._v(" "),(e.options.config.filtering.enabled||e.options.config.search.enabled)&&e.loaded?i("div",{staticClass:"filtering-card",class:e.options.config.headers&&e.options.config.headers.gap?"gapped":""},[e.options.config.filtering.enabled?i("filtering",{attrs:{filters:e.options.config.filtering.filters,dataset:e.dataset}}):e._e(),e._v(" "),e.options.config.search.enabled?i("searching",{attrs:{config:e.options.config.search}}):e._e()],1):e._e(),e._v(" "),i("div",{staticClass:"table-card",class:e.options.config.headers&&e.options.config.headers.gap?"gapped":""},[e.processedData.length&&e.showHeaders&&!e.smallScreen?i("table-headers",{attrs:{"total-records":e.processedData.length,config:e.options.config,fields:e.options.fields,styler:e.getStyle,controls:e.options.controls||[]}}):e._e(),e._v(" "),e.processedData.length?i("table-body",{attrs:{dataset:e.processedData,fields:e.options.fields,styler:e.getStyle,linking:e.options.config.linking,mobileType:e.options.config.mobileType,showLabelOnMobile:e.options.config.showLabelOnMobile,smallScreen:e.smallScreen,controls:e.options.controls||[]}}):e.loaded?i("div",{staticClass:"no-results"},[e.options.config.search&&e.options.config.search.emptyTerm?i("div",[e._v("\n "+e._s(e.options.config.search.emptyTerm)+"\n ")]):i("div",[e._v("\n No Results. Please broaden your search parameters.\n ")])]):i("div",{staticClass:"no-results",staticStyle:{"text-align":"center"}},[e._v("\n Loading...\n ")])],1)])}),[],!1,(function(e){this.$style=B.default.locals||B.default}),"c76d0c94",null).exports;z.install=async function(e,t){e.prototype.$theme=await t.theme,t.theme.primary||(t.theme.primary="#000"),e.prototype.$assets={dropdown:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="${encodeURI(t.theme.primary)}" d="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"/></svg>')`,checkbox:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" fill="${encodeURI(t.theme.primaryText)}"/></svg>')`,checkmark:'url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" fill="lightgreen"/></svg>\')',crossmark:'url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><path stroke="red" stroke-width="3.4" d="m2.4,2.4 15.2,15.2m0-15.2-15.2,15.2"/></svg>\')',close:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><path stroke="${encodeURI(t.theme.primary)}" stroke-width="3.4" d="m2.4,2.4 15.2,15.2m0-15.2-15.2,15.2"/></svg>')`},t.assets&&t.assets.dropdown&&(e.prototype.$assets.dropdown=t.assets.dropdown),t.assets&&t.assets.checkbox&&(e.prototype.$assets.checkbox=t.assets.checkbox),t.assets&&t.assets.checkmark&&(e.prototype.$assets.checkmark=t.assets.checkmark),t.assets&&t.assets.crossmark&&(e.prototype.$assets.crossmark=t.assets.crossmark),t.assets&&t.assets.close&&(e.prototype.$assets.close=t.assets.close)};t.default=z}])}));
//# sourceMappingURL=index.js.map
{
"name": "@unicorns/data-table",
"version": "2.3.1",
"version": "2.3.2",
"description": "Vue component for rendering data-tables",

@@ -5,0 +5,0 @@ "author": "Unicorn Global et al",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc