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.0.4 to 2.0.5

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";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){"string"==typeof e&&(e=[[null,e,""]]);for(var a={},r=0;r<this.length;r++){var n=this[r][0];null!=n&&(a[n]=!0)}for(var o=0;o<e.length;o++){var s=e[o];null!=s[0]&&a[s[0]]||(i&&!s[2]?s[2]=i:i&&(s[2]="(".concat(s[2],") and (").concat(i,")")),t.push(s))}},t}},function(e,t,i){"use strict";var a,r={},n=function(){return void 0===a&&(a=Boolean(window&&document&&document.all&&!window.atob)),a},o=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]}}();function s(e,t){for(var i=[],a={},r=0;r<e.length;r++){var n=e[r],o=t.base?n[0]+t.base:n[0],s={css:n[1],media:n[2],sourceMap:n[3]};a[o]?a[o].parts.push(s):i.push(a[o]={id:o,parts:[s]})}return i}function l(e,t){for(var i=0;i<e.length;i++){var a=e[i],n=r[a.id],o=0;if(n){for(n.refs++;o<n.parts.length;o++)n.parts[o](a.parts[o]);for(;o<a.parts.length;o++)n.parts.push(v(a.parts[o],t))}else{for(var s=[];o<a.parts.length;o++)s.push(v(a.parts[o],t));r[a.id]={id:a.id,refs:1,parts:s}}}}function d(e){var t=document.createElement("style");if(void 0===e.attributes.nonce){var a=i.nc;a&&(e.attributes.nonce=a)}if(Object.keys(e.attributes).forEach(function(i){t.setAttribute(i,e.attributes[i])}),"function"==typeof e.insert)e.insert(t);else{var r=o(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.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.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),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||{}).attributes="object"==typeof t.attributes?t.attributes:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=n());var i=s(e,t);return l(i,t),function(e){for(var a=[],n=0;n<i.length;n++){var o=i[n],d=r[o.id];d&&(d.refs--,a.push(d))}e&&l(s(e,t),t);for(var c=0;c<a.length;c++){var p=a[c];if(0===p.refs){for(var f=0;f<p.parts.length;f++)p.parts[f]();delete r[p.id]}}}}},function(e,t,i){var a=i(24);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(26);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(28);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(30);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(32);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(34);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(36);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(38);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(40);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(42);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(44);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(46);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(48);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(50);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(52);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(54);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(55);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},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){(e.exports=i(0)(!1)).push([e.i,"label[data-v-43b685e3]{cursor:pointer;margin-left:5px;margin-top:1px;flex-basis:200px;font-size:.9em}input[type=checkbox][data-v-43b685e3]{-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-43b685e3]:focus{border:1px solid var(--primary);outline-offset:1px}input[type=checkbox][data-v-43b685e3]:checked{outline:1px solid var(--primary);background-color:white;outline-offset:0}input[type=checkbox][data-v-43b685e3]:checked:after{position:absolute;top:0;left:3px;padding:0}\n",""])},function(e,t,i){"use strict";var a=i(3);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,"div[data-v-06e8b037]{display:flex;align-items:center;margin:calc(var(--padding) / 2)}label[data-v-06e8b037]{margin-right:var(--padding);font-size:.9rem}select[data-v-06e8b037]{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",""])},function(e,t,i){"use strict";var a=i(4);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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",""])},function(e,t,i){"use strict";var a=i(5);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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',""])},function(e,t,i){"use strict";var a=i(6);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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",""])},function(e,t,i){"use strict";var a=i(7);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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",""])},function(e,t,i){"use strict";var a=i(8);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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",""])},function(e,t,i){"use strict";var a=i(9);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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",""])},function(e,t,i){"use strict";var a=i(10);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,".filters[data-v-34012273]{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--border)}.filter-checkbox[data-v-34012273],.filter-dropdown[data-v-34012273]{flex:1;padding:calc(var(--padding) / 2);flex-basis:170px;align-self:center}.filter-tabbed[data-v-34012273]{width:100%}.tabbed-filters[data-v-34012273]{position:relative;top:0;left:0;right:0;width:100%}\n",""])},function(e,t,i){"use strict";var a=i(11);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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",""])},function(e,t,i){"use strict";var a=i(12);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,'.header-bar[data-v-1ad5d693]{min-width:100%;right:0;left:0;background-color:var(--headers)}@media (max-width: 480px){.header-bar[data-v-1ad5d693]{padding:var(--padding) 0}}.header-bar .headers[data-v-1ad5d693]{display:flex;justify-content:space-between;border-bottom:var(--divider);min-height:var(--rowHeight);padding:0 var(--padding)}@media (max-width: 480px){.header-bar .headers[data-v-1ad5d693]{padding-right:7px;padding-left:calc(var(--padding) / 2);min-height:var(--rowHeight)}}.header-bar .headers .header-cell[data-v-1ad5d693]{padding:0px 3px;display:flex}.header-bar .headers .header-cell div[data-v-1ad5d693]{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-1ad5d693]{color:var(--seondaryText)}.header-bar .headers .header-cell svg[data-v-1ad5d693]{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-1ad5d693]{width:20px}.header-bar .headers .header-cell[data-v-1ad5d693]:last-child{justify-content:flex-end}.header-bar .headers .header-cell:last-child .arrow-spacer[data-v-1ad5d693]{display:none}@media (max-width: 1023px){.header-bar .headers .header-cell[secondary="true"][data-v-1ad5d693]{display:none !important}}.header-bar .headers .empty-header-cell[data-v-1ad5d693]{padding:0 3px}.header-bar .headers .empty-header-cell div[data-v-1ad5d693]{width:35px}\n',""])},function(e,t,i){"use strict";var a=i(13);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,"div[data-v-23e9e0e0]{font-size:var(--fontSize);color:var(--primaryText)}div.image[data-v-23e9e0e0]{min-width:58px}.year[data-v-23e9e0e0],.time[data-v-23e9e0e0]{display:inline-block}.time[data-v-23e9e0e0]{margin-left:10px}@media only screen and (max-width: 600px){.datetime .time[data-v-23e9e0e0],.datetime .delimiter[data-v-23e9e0e0]{display:none}}\n",""])},function(e,t,i){"use strict";var a=i(14);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,'@media (max-width: 1023px){.list-row-field[secondary="true"][data-v-5ed15bd7]{display:none !important}}.controls[data-v-5ed15bd7]{display:flex;flex-direction:row;justify-content:flex-end;align-items:start;flex-wrap:wrap}.list-row[data-v-5ed15bd7]{display:flex;align-items:center;justify-content:center;border-bottom:var(--divider);min-height:var(--rowHeight);height:var(--rowHeight);padding:0 var(--padding)}@media (max-width: 480px){.list-row[data-v-5ed15bd7]{min-height:65px;padding-left:calc(var(--padding) / 2)}}@media (max-width: 680px){.list-row[data-v-5ed15bd7]{min-height:65px;padding-left:calc(var(--padding) / 2)}}.list-row .list-row-field[data-v-5ed15bd7]{flex:1;padding:0px 3px}.list-row .list-row-field[data-v-5ed15bd7]:last-child{padding:0 3px}.list-row .list-row-field:last-child div[data-v-5ed15bd7]{text-align:right}@media (max-width: 480px){.list-row[data-v-5ed15bd7]:last-child{margin-bottom:65px}}.mobile-screen[data-v-5ed15bd7]{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-5ed15bd7]{display:flex;justify-content:center;align-items:center}.mobile-screen .flex[data-v-5ed15bd7]{display:flex;justify-content:space-between;align-items:center}.mobile-screen.no-image[data-v-5ed15bd7]{grid-template-columns:72px 6fr}.mobile-screen[data-v-5ed15bd7]:hover{background-color:#f7f8f9}.mobile-screen .grid[data-v-5ed15bd7]{display:grid;grid-template-columns:70px 3fr}.mobile-screen .label-config .label[data-v-5ed15bd7]{font-size:.9em;display:inline-block;padding-left:3px;padding-right:3px}.mobile-screen .label-config .field-contents[data-v-5ed15bd7]{padding-left:3px;padding-right:3px;display:flex;align-items:flex-end}.mobile-screen .list-row-field[data-v-5ed15bd7]{padding-left:3px;padding-right:3px}.mobile-screen .rest .list-row-field[data-v-5ed15bd7]{color:rgba(0,0,0,0.6)}.mobile-screen .rest .list-row-field[data-v-5ed15bd7]:nth-of-type(1){color:#000;font-weight:900 !important;font-size:15px !important;padding-bottom:5px}.mobile-screen .right-cont[data-v-5ed15bd7]{display:flex;flex-direction:row;justify-content:flex-end;max-width:120px;flex-wrap:wrap}.mobile-screen .mobile-right[data-v-5ed15bd7]{text-align:right;margin-right:2px}.mobile-screen .mobile-right .list-row-field[data-v-5ed15bd7]{display:inline-block;background-color:green;padding:3px;border-radius:4px;color:white;font-size:12px}.no-image .rest .list-row-field[data-v-5ed15bd7]{color:rgba(0,0,0,0.6)}.no-image .rest .list-row-field[data-v-5ed15bd7]:nth-of-type(1){color:#000;padding-bottom:0px}\n',""])},function(e,t,i){"use strict";var a=i(15);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,'@media (max-width: 1023px){.list-row-field[secondary="true"][data-v-6e06167c]{display:none !important}}.list-row[data-v-6e06167c],.mobile-scroll[data-v-6e06167c]{text-decoration:none;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--divider);height:var(--rowHeight);color:#000;padding:0 var(--padding)}.list-row[data-v-6e06167c]:hover,.mobile-scroll[data-v-6e06167c]:hover{background-color:#f7f8f9}@media (max-width: 480px){.list-row[data-v-6e06167c],.mobile-scroll[data-v-6e06167c]{height:calc(var(--rowHeight) + 10px);padding-left:calc(var(--padding) / 2)}}.list-row .list-row-field[data-v-6e06167c],.mobile-scroll .list-row-field[data-v-6e06167c]{flex:1;padding:0 3px}.list-row .list-row-field[data-v-6e06167c]:first-child,.mobile-scroll .list-row-field[data-v-6e06167c]:first-child{flex:0}@media (max-width: 1023px) and (min-width: 481px){.list-row .list-row-field[data-v-6e06167c]:last-child,.mobile-scroll .list-row-field[data-v-6e06167c]:last-child{padding-right:20px}}@media (max-width: 480px){.list-row .list-row-field[data-v-6e06167c]:last-child,.mobile-scroll .list-row-field[data-v-6e06167c]:last-child{padding-right:20px}}.list-row .list-row-field:last-child div[data-v-6e06167c],.mobile-scroll .list-row-field:last-child div[data-v-6e06167c]{text-align:right}@media (max-width: 480px){.list-row[data-v-6e06167c]:last-child{margin-bottom:calc(var(--rowHeight) + 10px)}}.mobile-screen[data-v-6e06167c]{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-6e06167c]{display:flex;justify-content:center;align-items:center}.mobile-screen .flex[data-v-6e06167c]{display:flex;justify-content:space-between;align-items:center}.mobile-screen.no-image[data-v-6e06167c]{grid-template-columns:72px 6fr}.mobile-screen[data-v-6e06167c]:hover{background-color:var(--hover)}.mobile-screen .grid[data-v-6e06167c]{display:grid;grid-template-columns:70px 3fr}.mobile-screen .label-config .label[data-v-6e06167c]{font-size:.9em;display:inline-block;padding-left:3px;padding-right:3px}.mobile-screen .label-config .field-contents[data-v-6e06167c]{padding-left:3px;padding-right:3px;display:flex;align-items:flex-end}.mobile-screen .list-row-field[data-v-6e06167c]{padding-left:3px;padding-right:3px}.mobile-screen .rest .list-row-field[data-v-6e06167c]{color:rgba(0,0,0,0.6)}.mobile-screen .rest .list-row-field[data-v-6e06167c]:nth-of-type(1){color:#000;font-weight:900 !important;font-size:15px !important;padding-bottom:5px}.mobile-screen .right-cont[data-v-6e06167c]{display:flex;flex-direction:row;justify-content:flex-end;max-width:120px;flex-wrap:wrap}.mobile-screen .mobile-right[data-v-6e06167c]{text-align:right;margin-right:2px}.mobile-screen .mobile-right .list-row-field[data-v-6e06167c]{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-6e06167c]{color:rgba(0,0,0,0.6)}.no-image .rest .list-row-field[data-v-6e06167c]:nth-of-type(1){color:#000;padding-bottom:0px}\n',""])},function(e,t,i){"use strict";var a=i(16);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,".list[data-v-40565f0f]{position:relative;overflow-y:auto;max-height:540px}@media (max-width: 480px){.list[data-v-40565f0f]{max-height:calc(100vh - 250px)}}.row-link[data-v-40565f0f]:nth-of-type(1){border-top:1px solid var(--primary)}.row-link[data-v-40565f0f]:nth-of-type(odd){border-left:5px solid rgba(184,199,223,0.7)}.row-link[data-v-40565f0f]:nth-of-type(even){border-left:5px solid #e6edf9}\n",""])},function(e,t,i){"use strict";var a=i(17);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,".data-table[data-v-f1ade12e]{display:flex;flex-direction:column}.action-component-container[data-v-f1ade12e]{align-self:flex-end}.filtering-card[data-v-f1ade12e]{border:3px solid var(--border);background:white}.filtering-card.gapped[data-v-f1ade12e]{margin-bottom:calc(var(--padding) * 1.5)}.table-card[data-v-f1ade12e]{border:var(--border);background:white}.no-results[data-v-f1ade12e]{padding:var(--padding)}\n",""])},function(e,t,i){(t=e.exports=i(0)(!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}\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"}},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,"43b685e3",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=>"object"==typeof e?e.value:e,label:e=>"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,"06e8b037",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)=>[...new Set(t.map(t=>t[e.field]))]},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,"34012273",null).exports),k={props:{config:{type:Object,required:!0}}},_=(i(41),r(k,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({viewBox:"0 0 448 512",fill:"#CED1D9"},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}},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"},[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 Options\n ")])]):e._e()],2)])},[],!1,null,"1ad5d693",null).exports),A=i(22),T=i.n(A),S=i(19),F=i.n(S),O={components:{AvatarOrInitials:T.a},props:["field","data"],methods:{getProperty(e,t){if(!t)return null;let i=t.split("."),a=e;return i.forEach(function(e){let t=parseInt(e);a=isNaN(t)?a[e]:a[t]}),"number"==typeof a?a.toLocaleString(void 0,{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2}):a},count:e=>e.length,getProps(){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:F()(e).format("YYYY-MM-DD"),time:F()(e).format("LT")}),formatAsCurrency:(e,t="R",i=2)=>(e=Number.parseFloat(e),Number.isNaN(e)&&(e=0),t+String.fromCharCode(160)+e.toLocaleString(void 0,{style:"decimal",minimumFractionDigits:i,maximumFractionDigits:i}))}},D=(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"}},[i("avatar-or-initials",{staticClass:"item-avatar",attrs:{size:.66*this.$theme.rowHeight.slice(0,-2),image:e.getProperty(e.data,e.field.image),title:e.data[e.field.field]}})],1):"text"===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,"23e9e0e0",null).exports),j={components:{TableData:D,TableRowOption:r({props:["config","data"],computed:{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 this.config.events||{}}}},function(){var e=this,t=e.$createElement,i=e._self._c||t;return"link"==e.config.type?i("div",[i("router-link",{class:e.config.class,style:e.config.style,attrs:{to:e.config.href(e.data)}},[e._v("\n "+e._s(e.config.label)+"\n ")])],1):"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},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""}}},R=(i(47),r(j,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)])])]):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 i("table-row-option",{key:a,attrs:{config:t,data:e.data}})}),1):e._e()],2)},[],!1,null,"5ed15bd7",null).exports),M={components:{TableData:D},props:{data:{type:Object,required:!0},fields:{type:Array,required:!0},styler:{type:Function,required:!0},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""}}},P=(i(49),{components:{TableData:D,TableRow:R,TableLinkRow:r(M,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._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)}),0)},[],!1,null,"6e06167c",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:_,TableHeaders:C,TableBody:r(P,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,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,"40565f0f",null).exports},props:{dataset:{type:Array,required:!0},options:{type:Object,required:!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(){return!!(this.windowWidth&&this.windowWidth<=500)},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(let t of this.options.config.filtering.filters)t.enabled&&(e=e.filter(e=>{let i=!0;return"checkbox"===t.type&&(i=this.filterCheckbox(e,t)),"tabbed"===t.type&&(i=this.filterTabs(e,t)),"dropdown"===t.type&&t.value&&(i=e[t.field]===t.value),i}));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){let i=e[t.field],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(let 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){let i=e[t.field].split(" ")[0],a=!0;return t.from&&i<t.from&&(a=!1),t.to&&i>t.to&&(a=!1),a},rangeTabFilter(e,t){let i=e[t.field],a=!0;return t.from&&i<t.from&&(a=!1),t.to&&i>t.to&&(a=!1),a},getStyle:e=>e.grow?"flex: "+e.grow:"image"===e.type?"flex: 0; min-width: 50px;":"component"===e.type?"flex: 0;":"flex: 1",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 e[i]<t[i]?this.options.config.sorting.ascending?-1:1:e[i]>t[i]?this.options.config.sorting.ascending?1:-1:0}}}),q=(i(53),i(20));var B=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,{tag:"component"}):e._e()],1),e._v(" "),e.options.config.filtering.enabled||e.options.config.search.enabled?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:{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||[]}}):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 ")])])],1)])},[],!1,function(e){this.$style=q.default.locals||q.default},"f1ade12e",null).exports;B.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=B}])});
!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";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){"string"==typeof e&&(e=[[null,e,""]]);for(var a={},r=0;r<this.length;r++){var n=this[r][0];null!=n&&(a[n]=!0)}for(var o=0;o<e.length;o++){var s=e[o];null!=s[0]&&a[s[0]]||(i&&!s[2]?s[2]=i:i&&(s[2]="(".concat(s[2],") and (").concat(i,")")),t.push(s))}},t}},function(e,t,i){"use strict";var a,r={},n=function(){return void 0===a&&(a=Boolean(window&&document&&document.all&&!window.atob)),a},o=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]}}();function s(e,t){for(var i=[],a={},r=0;r<e.length;r++){var n=e[r],o=t.base?n[0]+t.base:n[0],s={css:n[1],media:n[2],sourceMap:n[3]};a[o]?a[o].parts.push(s):i.push(a[o]={id:o,parts:[s]})}return i}function l(e,t){for(var i=0;i<e.length;i++){var a=e[i],n=r[a.id],o=0;if(n){for(n.refs++;o<n.parts.length;o++)n.parts[o](a.parts[o]);for(;o<a.parts.length;o++)n.parts.push(v(a.parts[o],t))}else{for(var s=[];o<a.parts.length;o++)s.push(v(a.parts[o],t));r[a.id]={id:a.id,refs:1,parts:s}}}}function d(e){var t=document.createElement("style");if(void 0===e.attributes.nonce){var a=i.nc;a&&(e.attributes.nonce=a)}if(Object.keys(e.attributes).forEach(function(i){t.setAttribute(i,e.attributes[i])}),"function"==typeof e.insert)e.insert(t);else{var r=o(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.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.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),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||{}).attributes="object"==typeof t.attributes?t.attributes:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=n());var i=s(e,t);return l(i,t),function(e){for(var a=[],n=0;n<i.length;n++){var o=i[n],d=r[o.id];d&&(d.refs--,a.push(d))}e&&l(s(e,t),t);for(var c=0;c<a.length;c++){var p=a[c];if(0===p.refs){for(var f=0;f<p.parts.length;f++)p.parts[f]();delete r[p.id]}}}}},function(e,t,i){var a=i(24);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(26);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(28);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(30);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(32);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(34);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(36);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(38);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(40);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(42);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(44);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(46);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(48);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(50);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(52);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(54);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,i){var a=i(55);"string"==typeof a&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};i(1)(a,r);a.locals&&(e.exports=a.locals)},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){(e.exports=i(0)(!1)).push([e.i,"label[data-v-43b685e3]{cursor:pointer;margin-left:5px;margin-top:1px;flex-basis:200px;font-size:.9em}input[type=checkbox][data-v-43b685e3]{-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-43b685e3]:focus{border:1px solid var(--primary);outline-offset:1px}input[type=checkbox][data-v-43b685e3]:checked{outline:1px solid var(--primary);background-color:white;outline-offset:0}input[type=checkbox][data-v-43b685e3]:checked:after{position:absolute;top:0;left:3px;padding:0}\n",""])},function(e,t,i){"use strict";var a=i(3);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,"div[data-v-06e8b037]{display:flex;align-items:center;margin:calc(var(--padding) / 2)}label[data-v-06e8b037]{margin-right:var(--padding);font-size:.9rem}select[data-v-06e8b037]{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",""])},function(e,t,i){"use strict";var a=i(4);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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",""])},function(e,t,i){"use strict";var a=i(5);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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',""])},function(e,t,i){"use strict";var a=i(6);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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",""])},function(e,t,i){"use strict";var a=i(7);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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",""])},function(e,t,i){"use strict";var a=i(8);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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",""])},function(e,t,i){"use strict";var a=i(9);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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",""])},function(e,t,i){"use strict";var a=i(10);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,".filters[data-v-34012273]{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--border)}.filter-checkbox[data-v-34012273],.filter-dropdown[data-v-34012273]{flex:1;padding:calc(var(--padding) / 2);flex-basis:170px;align-self:center}.filter-tabbed[data-v-34012273]{width:100%}.tabbed-filters[data-v-34012273]{position:relative;top:0;left:0;right:0;width:100%}\n",""])},function(e,t,i){"use strict";var a=i(11);i.n(a).a},function(e,t,i){(e.exports=i(0)(!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",""])},function(e,t,i){"use strict";var a=i(12);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,'.header-bar[data-v-1ad5d693]{min-width:100%;right:0;left:0;background-color:var(--headers)}@media (max-width: 480px){.header-bar[data-v-1ad5d693]{padding:var(--padding) 0}}.header-bar .headers[data-v-1ad5d693]{display:flex;justify-content:space-between;border-bottom:var(--divider);min-height:var(--rowHeight);padding:0 var(--padding)}@media (max-width: 480px){.header-bar .headers[data-v-1ad5d693]{padding-right:7px;padding-left:calc(var(--padding) / 2);min-height:var(--rowHeight)}}.header-bar .headers .header-cell[data-v-1ad5d693]{padding:0px 3px;display:flex}.header-bar .headers .header-cell div[data-v-1ad5d693]{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-1ad5d693]{color:var(--seondaryText)}.header-bar .headers .header-cell svg[data-v-1ad5d693]{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-1ad5d693]{width:20px}.header-bar .headers .header-cell[data-v-1ad5d693]:last-child{justify-content:flex-end}.header-bar .headers .header-cell:last-child .arrow-spacer[data-v-1ad5d693]{display:none}@media (max-width: 1023px){.header-bar .headers .header-cell[secondary="true"][data-v-1ad5d693]{display:none !important}}.header-bar .headers .empty-header-cell[data-v-1ad5d693]{padding:0 3px}.header-bar .headers .empty-header-cell div[data-v-1ad5d693]{width:35px}\n',""])},function(e,t,i){"use strict";var a=i(13);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,"div[data-v-24610098]{font-size:var(--fontSize);color:var(--primaryText)}div.image[data-v-24610098]{min-width:58px}.year[data-v-24610098],.time[data-v-24610098]{display:inline-block}.time[data-v-24610098]{margin-left:10px}@media only screen and (max-width: 600px){.datetime .time[data-v-24610098],.datetime .delimiter[data-v-24610098]{display:none}}\n",""])},function(e,t,i){"use strict";var a=i(14);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,'@media (max-width: 1023px){.list-row-field[secondary="true"][data-v-5ed15bd7]{display:none !important}}.controls[data-v-5ed15bd7]{display:flex;flex-direction:row;justify-content:flex-end;align-items:start;flex-wrap:wrap}.list-row[data-v-5ed15bd7]{display:flex;align-items:center;justify-content:center;border-bottom:var(--divider);min-height:var(--rowHeight);height:var(--rowHeight);padding:0 var(--padding)}@media (max-width: 480px){.list-row[data-v-5ed15bd7]{min-height:65px;padding-left:calc(var(--padding) / 2)}}@media (max-width: 680px){.list-row[data-v-5ed15bd7]{min-height:65px;padding-left:calc(var(--padding) / 2)}}.list-row .list-row-field[data-v-5ed15bd7]{flex:1;padding:0px 3px}.list-row .list-row-field[data-v-5ed15bd7]:last-child{padding:0 3px}.list-row .list-row-field:last-child div[data-v-5ed15bd7]{text-align:right}@media (max-width: 480px){.list-row[data-v-5ed15bd7]:last-child{margin-bottom:65px}}.mobile-screen[data-v-5ed15bd7]{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-5ed15bd7]{display:flex;justify-content:center;align-items:center}.mobile-screen .flex[data-v-5ed15bd7]{display:flex;justify-content:space-between;align-items:center}.mobile-screen.no-image[data-v-5ed15bd7]{grid-template-columns:72px 6fr}.mobile-screen[data-v-5ed15bd7]:hover{background-color:#f7f8f9}.mobile-screen .grid[data-v-5ed15bd7]{display:grid;grid-template-columns:70px 3fr}.mobile-screen .label-config .label[data-v-5ed15bd7]{font-size:.9em;display:inline-block;padding-left:3px;padding-right:3px}.mobile-screen .label-config .field-contents[data-v-5ed15bd7]{padding-left:3px;padding-right:3px;display:flex;align-items:flex-end}.mobile-screen .list-row-field[data-v-5ed15bd7]{padding-left:3px;padding-right:3px}.mobile-screen .rest .list-row-field[data-v-5ed15bd7]{color:rgba(0,0,0,0.6)}.mobile-screen .rest .list-row-field[data-v-5ed15bd7]:nth-of-type(1){color:#000;font-weight:900 !important;font-size:15px !important;padding-bottom:5px}.mobile-screen .right-cont[data-v-5ed15bd7]{display:flex;flex-direction:row;justify-content:flex-end;max-width:120px;flex-wrap:wrap}.mobile-screen .mobile-right[data-v-5ed15bd7]{text-align:right;margin-right:2px}.mobile-screen .mobile-right .list-row-field[data-v-5ed15bd7]{display:inline-block;background-color:green;padding:3px;border-radius:4px;color:white;font-size:12px}.no-image .rest .list-row-field[data-v-5ed15bd7]{color:rgba(0,0,0,0.6)}.no-image .rest .list-row-field[data-v-5ed15bd7]:nth-of-type(1){color:#000;padding-bottom:0px}\n',""])},function(e,t,i){"use strict";var a=i(15);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,'@media (max-width: 1023px){.list-row-field[secondary="true"][data-v-6e06167c]{display:none !important}}.list-row[data-v-6e06167c],.mobile-scroll[data-v-6e06167c]{text-decoration:none;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--divider);height:var(--rowHeight);color:#000;padding:0 var(--padding)}.list-row[data-v-6e06167c]:hover,.mobile-scroll[data-v-6e06167c]:hover{background-color:#f7f8f9}@media (max-width: 480px){.list-row[data-v-6e06167c],.mobile-scroll[data-v-6e06167c]{height:calc(var(--rowHeight) + 10px);padding-left:calc(var(--padding) / 2)}}.list-row .list-row-field[data-v-6e06167c],.mobile-scroll .list-row-field[data-v-6e06167c]{flex:1;padding:0 3px}.list-row .list-row-field[data-v-6e06167c]:first-child,.mobile-scroll .list-row-field[data-v-6e06167c]:first-child{flex:0}@media (max-width: 1023px) and (min-width: 481px){.list-row .list-row-field[data-v-6e06167c]:last-child,.mobile-scroll .list-row-field[data-v-6e06167c]:last-child{padding-right:20px}}@media (max-width: 480px){.list-row .list-row-field[data-v-6e06167c]:last-child,.mobile-scroll .list-row-field[data-v-6e06167c]:last-child{padding-right:20px}}.list-row .list-row-field:last-child div[data-v-6e06167c],.mobile-scroll .list-row-field:last-child div[data-v-6e06167c]{text-align:right}@media (max-width: 480px){.list-row[data-v-6e06167c]:last-child{margin-bottom:calc(var(--rowHeight) + 10px)}}.mobile-screen[data-v-6e06167c]{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-6e06167c]{display:flex;justify-content:center;align-items:center}.mobile-screen .flex[data-v-6e06167c]{display:flex;justify-content:space-between;align-items:center}.mobile-screen.no-image[data-v-6e06167c]{grid-template-columns:72px 6fr}.mobile-screen[data-v-6e06167c]:hover{background-color:var(--hover)}.mobile-screen .grid[data-v-6e06167c]{display:grid;grid-template-columns:70px 3fr}.mobile-screen .label-config .label[data-v-6e06167c]{font-size:.9em;display:inline-block;padding-left:3px;padding-right:3px}.mobile-screen .label-config .field-contents[data-v-6e06167c]{padding-left:3px;padding-right:3px;display:flex;align-items:flex-end}.mobile-screen .list-row-field[data-v-6e06167c]{padding-left:3px;padding-right:3px}.mobile-screen .rest .list-row-field[data-v-6e06167c]{color:rgba(0,0,0,0.6)}.mobile-screen .rest .list-row-field[data-v-6e06167c]:nth-of-type(1){color:#000;font-weight:900 !important;font-size:15px !important;padding-bottom:5px}.mobile-screen .right-cont[data-v-6e06167c]{display:flex;flex-direction:row;justify-content:flex-end;max-width:120px;flex-wrap:wrap}.mobile-screen .mobile-right[data-v-6e06167c]{text-align:right;margin-right:2px}.mobile-screen .mobile-right .list-row-field[data-v-6e06167c]{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-6e06167c]{color:rgba(0,0,0,0.6)}.no-image .rest .list-row-field[data-v-6e06167c]:nth-of-type(1){color:#000;padding-bottom:0px}\n',""])},function(e,t,i){"use strict";var a=i(16);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,".list[data-v-40565f0f]{position:relative;overflow-y:auto;max-height:540px}@media (max-width: 480px){.list[data-v-40565f0f]{max-height:calc(100vh - 250px)}}.row-link[data-v-40565f0f]:nth-of-type(1){border-top:1px solid var(--primary)}.row-link[data-v-40565f0f]:nth-of-type(odd){border-left:5px solid rgba(184,199,223,0.7)}.row-link[data-v-40565f0f]:nth-of-type(even){border-left:5px solid #e6edf9}\n",""])},function(e,t,i){"use strict";var a=i(17);i.n(a).a},function(e,t,i){(e.exports=i(0)(!1)).push([e.i,".data-table[data-v-f1ade12e]{display:flex;flex-direction:column}.action-component-container[data-v-f1ade12e]{align-self:flex-end}.filtering-card[data-v-f1ade12e]{border:3px solid var(--border);background:white}.filtering-card.gapped[data-v-f1ade12e]{margin-bottom:calc(var(--padding) * 1.5)}.table-card[data-v-f1ade12e]{border:var(--border);background:white}.no-results[data-v-f1ade12e]{padding:var(--padding)}\n",""])},function(e,t,i){(t=e.exports=i(0)(!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}\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"}},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,"43b685e3",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=>"object"==typeof e?e.value:e,label:e=>"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,"06e8b037",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)=>[...new Set(t.map(t=>t[e.field]))]},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,"34012273",null).exports),k={props:{config:{type:Object,required:!0}}},_=(i(41),r(k,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({viewBox:"0 0 448 512",fill:"#CED1D9"},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}},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"},[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 Options\n ")])]):e._e()],2)])},[],!1,null,"1ad5d693",null).exports),A=i(22),T=i.n(A),S=i(19),F=i.n(S),O={components:{AvatarOrInitials:T.a},props:["field","data"],methods:{getProperty(e,t){if(!t)return null;let i=t.split("."),a=e;return i.forEach(function(e){let t=parseInt(e);a=isNaN(t)?a[e]:a[t]}),"number"==typeof a?a.toLocaleString(void 0,{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2}):a},count:e=>e.length,getProps(){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:F()(e).format("YYYY-MM-DD"),time:F()(e).format("LT")}),formatAsCurrency:(e,t="R",i=2)=>(e=Number.parseFloat(e),Number.isNaN(e)&&(e=0),t+String.fromCharCode(160)+e.toLocaleString(void 0,{style:"decimal",minimumFractionDigits:i,maximumFractionDigits:i}))}},D=(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"}},[i("avatar-or-initials",{staticClass:"item-avatar",attrs:{size:.66*this.$theme.rowHeight.slice(0,-2),image:e.getProperty(e.data,e.field.image),title:e.getProperty(e.data,e.field.field)}})],1):"text"===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,"24610098",null).exports),j={components:{TableData:D,TableRowOption:r({props:["config","data"],computed:{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 this.config.events||{}}}},function(){var e=this,t=e.$createElement,i=e._self._c||t;return"link"==e.config.type?i("div",[i("router-link",{class:e.config.class,style:e.config.style,attrs:{to:e.config.href(e.data)}},[e._v("\n "+e._s(e.config.label)+"\n ")])],1):"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},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""}}},P=(i(47),r(j,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)])])]):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 i("table-row-option",{key:a,attrs:{config:t,data:e.data}})}),1):e._e()],2)},[],!1,null,"5ed15bd7",null).exports),R={components:{TableData:D},props:{data:{type:Object,required:!0},fields:{type:Array,required:!0},styler:{type:Function,required:!0},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""}}},M=(i(49),{components:{TableData:D,TableRow:P,TableLinkRow:r(R,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._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)}),0)},[],!1,null,"6e06167c",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:_,TableHeaders:C,TableBody:r(M,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,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,"40565f0f",null).exports},props:{dataset:{type:Array,required:!0},options:{type:Object,required:!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(){return!!(this.windowWidth&&this.windowWidth<=500)},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(let t of this.options.config.filtering.filters)t.enabled&&(e=e.filter(e=>{let i=!0;return"checkbox"===t.type&&(i=this.filterCheckbox(e,t)),"tabbed"===t.type&&(i=this.filterTabs(e,t)),"dropdown"===t.type&&t.value&&(i=e[t.field]===t.value),i}));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){let i=e[t.field],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(let 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){let i=e[t.field].split(" ")[0],a=!0;return t.from&&i<t.from&&(a=!1),t.to&&i>t.to&&(a=!1),a},rangeTabFilter(e,t){let i=e[t.field],a=!0;return t.from&&i<t.from&&(a=!1),t.to&&i>t.to&&(a=!1),a},getStyle:e=>e.grow?"flex: "+e.grow:"image"===e.type?"flex: 0; min-width: 50px;":"component"===e.type?"flex: 0;":"flex: 1",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 e[i]<t[i]?this.options.config.sorting.ascending?-1:1:e[i]>t[i]?this.options.config.sorting.ascending?1:-1:0}}}),q=(i(53),i(20));var B=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,{tag:"component"}):e._e()],1),e._v(" "),e.options.config.filtering.enabled||e.options.config.search.enabled?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:{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||[]}}):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 ")])])],1)])},[],!1,function(e){this.$style=q.default.locals||q.default},"f1ade12e",null).exports;B.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=B}])});
//# sourceMappingURL=index.js.map
{
"name": "@unicorns/data-table",
"version": "2.0.4",
"version": "2.0.5",
"description": "Vue component for rendering data-tables",

@@ -34,3 +34,4 @@ "author": "Unicorn Global et al",

"peerDependencies": {
"moment": "^2.24.0"
"moment": "^2.24.0",
"pikaday": "^1.8.0"
},

@@ -66,2 +67,3 @@ "devDependencies": {

"mocha-webpack": "2.0.0-beta.0",
"moment": "^2.24.0",
"node-sass": "^4.12.0",

@@ -68,0 +70,0 @@ "nyc": "^14.1.1",

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