UNPKG

web-app-table

Version:

2 lines 28.3 kB
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["web-app-table"]=e():t["web-app-table"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="fb15")}({"04f8":function(t,e,r){"use strict";var n=r("1212"),o=r("d039"),i=r("cfe9"),c=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!c(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"06cf":function(t,e,r){"use strict";var n=r("83ab"),o=r("c65b"),i=r("d1e7"),c=r("5c6c"),a=r("fc6a"),s=r("a04b"),u=r("1a2d"),l=r("0cfb"),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=s(e),l)try{return f(t,e)}catch(r){}if(u(t,e))return c(!o(i.f,t,e),t[e])}},"07fa":function(t,e,r){"use strict";var n=r("50c4");t.exports=function(t){return n(t.length)}},"0cfb":function(t,e,r){"use strict";var n=r("83ab"),o=r("d039"),i=r("cc12");t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(t,e,r){"use strict";var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},1212:function(t,e,r){"use strict";var n,o,i=r("cfe9"),c=r("b5db"),a=i.process,s=i.Deno,u=a&&a.versions||s&&s.version,l=u&&u.v8;l&&(n=l.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&c&&(n=c.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),t.exports=o},"13d2":function(t,e,r){"use strict";var n=r("e330"),o=r("d039"),i=r("1626"),c=r("1a2d"),a=r("83ab"),s=r("5e77").CONFIGURABLE,u=r("8925"),l=r("69f3"),f=l.enforce,d=l.get,p=String,b=Object.defineProperty,h=n("".slice),v=n("".replace),w=n([].join),y=a&&!o((function(){return 8!==b((function(){}),"length",{value:8}).length})),m=String(String).split("String"),x=t.exports=function(t,e,r){"Symbol("===h(p(e),0,7)&&(e="["+v(p(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!c(t,"name")||s&&t.name!==e)&&(a?b(t,"name",{value:e,configurable:!0}):t.name=e),y&&r&&c(r,"arity")&&t.length!==r.arity&&b(t,"length",{value:r.arity});try{r&&c(r,"constructor")&&r.constructor?a&&b(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=f(t);return c(n,"source")||(n.source=w(m,"string"==typeof e?e:"")),t};Function.prototype.toString=x((function(){return i(this)&&d(this).source||u(this)}),"toString")},1626:function(t,e,r){"use strict";var n="object"==typeof document&&document.all;t.exports="undefined"==typeof n&&void 0!==n?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},"19aa":function(t,e,r){"use strict";var n=r("3a9b"),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},"1a2d":function(t,e,r){"use strict";var n=r("e330"),o=r("7b0b"),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},"1be4":function(t,e,r){"use strict";var n=r("d066");t.exports=n("document","documentElement")},"1d80":function(t,e,r){"use strict";var n=r("7234"),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},"23cb":function(t,e,r){"use strict";var n=r("5926"),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},"23e7":function(t,e,r){"use strict";var n=r("cfe9"),o=r("06cf").f,i=r("9112"),c=r("cb2d"),a=r("6374"),s=r("e893"),u=r("94ca");t.exports=function(t,e){var r,l,f,d,p,b,h=t.target,v=t.global,w=t.stat;if(l=v?n:w?n[h]||a(h,{}):n[h]&&n[h].prototype,l)for(f in e){if(p=e[f],t.dontCallGetSet?(b=o(l,f),d=b&&b.value):d=l[f],r=u(v?f:h+(w?".":"#")+f,t.forced),!r&&void 0!==d){if(typeof p==typeof d)continue;s(p,d)}(t.sham||d&&d.sham)&&i(p,"sham",!0),c(l,f,p,t)}}},"241c":function(t,e,r){"use strict";var n=r("ca84"),o=r("7839"),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},"2a62":function(t,e,r){"use strict";var n=r("c65b"),o=r("825a"),i=r("dc4a");t.exports=function(t,e,r){var c,a;o(t);try{if(c=i(t,"return"),!c){if("throw"===e)throw r;return r}c=n(c,t)}catch(s){a=!0,c=s}if("throw"===e)throw r;if(a)throw c;return o(c),r}},"37e8":function(t,e,r){"use strict";var n=r("83ab"),o=r("aed9"),i=r("9bf2"),c=r("825a"),a=r("fc6a"),s=r("df75");e.f=n&&!o?Object.defineProperties:function(t,e){c(t);var r,n=a(e),o=s(e),u=o.length,l=0;while(u>l)i.f(t,r=o[l++],n[r]);return t}},"392a":function(t,e,r){},"3a9b":function(t,e,r){"use strict";var n=r("e330");t.exports=n({}.isPrototypeOf)},"40d5":function(t,e,r){"use strict";var n=r("d039");t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"44ad":function(t,e,r){"use strict";var n=r("e330"),o=r("d039"),i=r("c6b6"),c=Object,a=n("".split);t.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?a(t,""):c(t)}:c},"46c4":function(t,e,r){"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},4754:function(t,e,r){"use strict";t.exports=function(t,e){return{value:t,done:e}}},"485a":function(t,e,r){"use strict";var n=r("c65b"),o=r("1626"),i=r("861d"),c=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&o(r=t.toString)&&!i(a=n(r,t)))return a;if(o(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&o(r=t.toString)&&!i(a=n(r,t)))return a;throw new c("Can't convert object to primitive value")}},"4d64":function(t,e,r){"use strict";var n=r("fc6a"),o=r("23cb"),i=r("07fa"),c=function(t){return function(e,r,c){var a=n(e),s=i(a);if(0===s)return!t&&-1;var u,l=o(c,s);if(t&&r!==r){while(s>l)if(u=a[l++],u!==u)return!0}else for(;s>l;l++)if((t||l in a)&&a[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"50c4":function(t,e,r){"use strict";var n=r("5926"),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},5692:function(t,e,r){"use strict";var n=r("c6cd");t.exports=function(t,e){return n[t]||(n[t]=e||{})}},"56ef":function(t,e,r){"use strict";var n=r("d066"),o=r("e330"),i=r("241c"),c=r("7418"),a=r("825a"),s=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=c.f;return r?s(e,r(t)):e}},5926:function(t,e,r){"use strict";var n=r("b42e");t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},"59ed":function(t,e,r){"use strict";var n=r("1626"),o=r("0d51"),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},"5c6c":function(t,e,r){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5e77":function(t,e,r){"use strict";var n=r("83ab"),o=r("1a2d"),i=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),s=a&&"something"===function(){}.name,u=a&&(!n||n&&c(i,"name").configurable);t.exports={EXISTS:a,PROPER:s,CONFIGURABLE:u}},6374:function(t,e,r){"use strict";var n=r("cfe9"),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},6964:function(t,e,r){"use strict";var n=r("cb2d");t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},"69f3":function(t,e,r){"use strict";var n,o,i,c=r("cdce"),a=r("cfe9"),s=r("861d"),u=r("9112"),l=r("1a2d"),f=r("c6cd"),d=r("f772"),p=r("d012"),b="Object already initialized",h=a.TypeError,v=a.WeakMap,w=function(t){return i(t)?o(t):n(t,{})},y=function(t){return function(e){var r;if(!s(e)||(r=o(e)).type!==t)throw new h("Incompatible receiver, "+t+" required");return r}};if(c||f.state){var m=f.state||(f.state=new v);m.get=m.get,m.has=m.has,m.set=m.set,n=function(t,e){if(m.has(t))throw new h(b);return e.facade=t,m.set(t,e),e},o=function(t){return m.get(t)||{}},i=function(t){return m.has(t)}}else{var x=d("state");p[x]=!0,n=function(t,e){if(l(t,x))throw new h(b);return e.facade=t,u(t,x,e),e},o=function(t){return l(t,x)?t[x]:{}},i=function(t){return l(t,x)}}t.exports={set:n,get:o,has:i,enforce:w,getterFor:y}},7234:function(t,e,r){"use strict";t.exports=function(t){return null===t||void 0===t}},7418:function(t,e,r){"use strict";e.f=Object.getOwnPropertySymbols},7839:function(t,e,r){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,r){"use strict";var n=r("1d80"),o=Object;t.exports=function(t){return o(n(t))}},"7c73":function(t,e,r){"use strict";var n,o=r("825a"),i=r("37e8"),c=r("7839"),a=r("d012"),s=r("1be4"),u=r("cc12"),l=r("f772"),f=">",d="<",p="prototype",b="script",h=l("IE_PROTO"),v=function(){},w=function(t){return d+b+f+t+d+"/"+b+f},y=function(t){t.write(w("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){var t,e=u("iframe"),r="java"+b+":";return e.style.display="none",s.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(w("document.F=Object")),t.close(),t.F},x=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}x="undefined"!=typeof document?document.domain&&n?y(n):m():y(n);var t=c.length;while(t--)delete x[p][c[t]];return x()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(v[p]=o(t),r=new v,v[p]=null,r[h]=t):r=x(),void 0===e?r:i.f(r,e)}},"825a":function(t,e,r){"use strict";var n=r("861d"),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},"83ab":function(t,e,r){"use strict";var n=r("d039");t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,r){"use strict";var n=r("83ab"),o=r("9bf2"),i=r("5c6c");t.exports=function(t,e,r){n?o.f(t,e,i(0,r)):t[e]=r}},"861d":function(t,e,r){"use strict";var n=r("1626");t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},8925:function(t,e,r){"use strict";var n=r("e330"),o=r("1626"),i=r("c6cd"),c=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return c(t)}),t.exports=i.inspectSource},"90e3":function(t,e,r){"use strict";var n=r("e330"),o=0,i=Math.random(),c=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++o+i,36)}},"910d":function(t,e,r){"use strict";var n=r("23e7"),o=r("c65b"),i=r("59ed"),c=r("825a"),a=r("46c4"),s=r("c5cc"),u=r("9bdd"),l=r("c430"),f=s((function(){var t,e,r,n=this.iterator,i=this.predicate,a=this.next;while(1){if(t=c(o(a,n)),e=this.done=!!t.done,e)return;if(r=t.value,u(n,i,[r,this.counter++],!0))return r}}));n({target:"Iterator",proto:!0,real:!0,forced:l},{filter:function(t){return c(this),i(t),new f(a(this),{predicate:t})}})},9112:function(t,e,r){"use strict";var n=r("83ab"),o=r("9bf2"),i=r("5c6c");t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},"94ca":function(t,e,r){"use strict";var n=r("d039"),o=r("1626"),i=/#|\.prototype\./,c=function(t,e){var r=s[a(t)];return r===l||r!==u&&(o(e)?n(e):!!e)},a=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=c.data={},u=c.NATIVE="N",l=c.POLYFILL="P";t.exports=c},"9bdd":function(t,e,r){"use strict";var n=r("825a"),o=r("2a62");t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(c){o(t,"throw",c)}}},"9bf2":function(t,e,r){"use strict";var n=r("83ab"),o=r("0cfb"),i=r("aed9"),c=r("825a"),a=r("a04b"),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";e.f=n?i?function(t,e,r){if(c(t),e=a(e),c(r),"function"===typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var n=l(t,e);n&&n[p]&&(t[e]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(c(t),e=a(e),c(r),o)try{return u(t,e,r)}catch(n){}if("get"in r||"set"in r)throw new s("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},"9ee2":function(t,e,r){"use strict";r("392a")},a04b:function(t,e,r){"use strict";var n=r("c04e"),o=r("d9b5");t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},ae93:function(t,e,r){"use strict";var n,o,i,c=r("d039"),a=r("1626"),s=r("861d"),u=r("7c73"),l=r("e163"),f=r("cb2d"),d=r("b622"),p=r("c430"),b=d("iterator"),h=!1;[].keys&&(i=[].keys(),"next"in i?(o=l(l(i)),o!==Object.prototype&&(n=o)):h=!0);var v=!s(n)||c((function(){var t={};return n[b].call(t)!==t}));v?n={}:p&&(n=u(n)),a(n[b])||f(n,b,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},aed9:function(t,e,r){"use strict";var n=r("83ab"),o=r("d039");t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b42e:function(t,e,r){"use strict";var n=Math.ceil,o=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?o:n)(e)}},b5db:function(t,e,r){"use strict";var n=r("cfe9"),o=n.navigator,i=o&&o.userAgent;t.exports=i?String(i):""},b622:function(t,e,r){"use strict";var n=r("cfe9"),o=r("5692"),i=r("1a2d"),c=r("90e3"),a=r("04f8"),s=r("fdbf"),u=n.Symbol,l=o("wks"),f=s?u["for"]||u:u&&u.withoutSetter||c;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},c04e:function(t,e,r){"use strict";var n=r("c65b"),o=r("861d"),i=r("d9b5"),c=r("dc4a"),a=r("485a"),s=r("b622"),u=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,s=c(t,l);if(s){if(void 0===e&&(e="default"),r=n(s,t,e),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},c430:function(t,e,r){"use strict";t.exports=!1},c5cc:function(t,e,r){"use strict";var n=r("c65b"),o=r("7c73"),i=r("9112"),c=r("6964"),a=r("b622"),s=r("69f3"),u=r("dc4a"),l=r("ae93").IteratorPrototype,f=r("4754"),d=r("2a62"),p=a("toStringTag"),b="IteratorHelper",h="WrapForValidIterator",v=s.set,w=function(t){var e=s.getterFor(t?h:b);return c(o(l),{next:function(){var r=e(this);if(t)return r.nextHandler();if(r.done)return f(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:f(n,r.done)}catch(o){throw r.done=!0,o}},return:function(){var r=e(this),o=r.iterator;if(r.done=!0,t){var i=u(o,"return");return i?n(i,o):f(void 0,!0)}if(r.inner)try{d(r.inner.iterator,"normal")}catch(c){return d(o,"throw",c)}return o&&d(o,"normal"),f(void 0,!0)}})},y=w(!0),m=w(!1);i(m,p,"Iterator Helper"),t.exports=function(t,e,r){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=e?h:b,o.returnHandlerResult=!!r,o.nextHandler=t,o.counter=0,o.done=!1,v(this,o)};return n.prototype=e?y:m,n}},c65b:function(t,e,r){"use strict";var n=r("40d5"),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},c6b6:function(t,e,r){"use strict";var n=r("e330"),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},c6cd:function(t,e,r){"use strict";var n=r("c430"),o=r("cfe9"),i=r("6374"),c="__core-js_shared__",a=t.exports=o[c]||i(c,{});(a.versions||(a.versions=[])).push({version:"3.41.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"})},c8ba:function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}t.exports=r},ca84:function(t,e,r){"use strict";var n=r("e330"),o=r("1a2d"),i=r("fc6a"),c=r("4d64").indexOf,a=r("d012"),s=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!o(a,r)&&o(n,r)&&s(l,r);while(e.length>u)o(n,r=e[u++])&&(~c(l,r)||s(l,r));return l}},cb2d:function(t,e,r){"use strict";var n=r("1626"),o=r("9bf2"),i=r("13d2"),c=r("6374");t.exports=function(t,e,r,a){a||(a={});var s=a.enumerable,u=void 0!==a.name?a.name:e;if(n(r)&&i(r,u,a),a.global)s?t[e]=r:c(e,r);else{try{a.unsafe?t[e]&&(s=!0):delete t[e]}catch(l){}s?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},cc12:function(t,e,r){"use strict";var n=r("cfe9"),o=r("861d"),i=n.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},cdce:function(t,e,r){"use strict";var n=r("cfe9"),o=r("1626"),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},cfe9:function(t,e,r){"use strict";(function(e){var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},d012:function(t,e,r){"use strict";t.exports={}},d039:function(t,e,r){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,r){"use strict";var n=r("cfe9"),o=r("1626"),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},d1e7:function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},d9b5:function(t,e,r){"use strict";var n=r("d066"),o=r("1626"),i=r("3a9b"),c=r("fdbf"),a=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,a(t))}},dc4a:function(t,e,r){"use strict";var n=r("59ed"),o=r("7234");t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},df75:function(t,e,r){"use strict";var n=r("ca84"),o=r("7839");t.exports=Object.keys||function(t){return n(t,o)}},e163:function(t,e,r){"use strict";var n=r("1a2d"),o=r("1626"),i=r("7b0b"),c=r("f772"),a=r("e177"),s=c("IE_PROTO"),u=Object,l=u.prototype;t.exports=a?u.getPrototypeOf:function(t){var e=i(t);if(n(e,s))return e[s];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},e177:function(t,e,r){"use strict";var n=r("d039");t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e330:function(t,e,r){"use strict";var n=r("40d5"),o=Function.prototype,i=o.call,c=n&&o.bind.bind(i,i);t.exports=n?c:function(t){return function(){return i.apply(t,arguments)}}},e893:function(t,e,r){"use strict";var n=r("1a2d"),o=r("56ef"),i=r("06cf"),c=r("9bf2");t.exports=function(t,e,r){for(var a=o(e),s=c.f,u=i.f,l=0;l<a.length;l++){var f=a[l];n(t,f)||r&&n(r,f)||s(t,f,u(e,f))}}},e9f5:function(t,e,r){"use strict";var n=r("23e7"),o=r("cfe9"),i=r("19aa"),c=r("825a"),a=r("1626"),s=r("e163"),u=r("edd0"),l=r("8418"),f=r("d039"),d=r("1a2d"),p=r("b622"),b=r("ae93").IteratorPrototype,h=r("83ab"),v=r("c430"),w="constructor",y="Iterator",m=p("toStringTag"),x=TypeError,g=o[y],S=v||!a(g)||g.prototype!==b||!f((function(){g({})})),O=function(){if(i(this,b),s(this)===b)throw new x("Abstract class Iterator not directly constructable")},_=function(t,e){h?u(b,t,{configurable:!0,get:function(){return e},set:function(e){if(c(this),this===b)throw new x("You can't redefine this property");d(this,t)?this[t]=e:l(this,t,e)}}):b[t]=e};d(b,m)||_(m,y),!S&&d(b,w)&&b[w]!==Object||_(w,O),O.prototype=b,n({global:!0,constructor:!0,forced:S},{Iterator:O})},edd0:function(t,e,r){"use strict";var n=r("13d2"),o=r("9bf2");t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},f772:function(t,e,r){"use strict";var n=r("5692"),o=r("90e3"),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},fb15:function(t,e,r){"use strict";if(r.r(e),"undefined"!==typeof window){var n=window.document.currentScript,o=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(r.p=o[1])}var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"data-table-container"},[e("div",{staticClass:"table-box"},[e("div",{ref:"tableWrapper",staticClass:"table-wrapper",class:{"table-border":t.border},style:{height:t.tableHeight?t.tableHeight:""}},[e("div",{staticClass:"table-head-wrapper",on:{scroll:t.handleHeadScroll}},[e("table",{ref:"tableContainer",staticClass:"table-container",attrs:{border:!1}},[e("colgroup",t._l(t.columns,(function(t,r){return e("col",{key:r,attrs:{name:t.prop,width:t.width?t.width:"100px"}})})),0),e("thead",[e("tr",{staticClass:"table-row table-header-row borderClass"},t._l(t.columns,(function(r,n){return e("th",{directives:[{name:"show",rawName:"v-show",value:t.showHead({columnIndex:n}),expression:"showHead({ columnIndex: index })"}],key:r.prop,class:["table-cell","head-bg","text-"+r.align,t.border&&n!==t.columns.length-1?"table-border-right":""],attrs:{rowspan:t.handleHeadMethod({columnIndex:n}).rowspan,colspan:t.handleHeadMethod({columnIndex:n}).colspan}},[t._t("table-column-header-"+(r.listProp?r.listProp:r.prop),(function(){return[t._v(t._s(r.label))]}),{column:r})],2)})),0)])])]),e("div",{staticClass:"table-body-wrapper",style:{height:t.tableHeight?t.tableHeight-t.headHeight+"px":""},on:{scroll:t.handleBodyScroll}},[e("table",{staticClass:"table-container",attrs:{border:!1}},[e("colgroup",t._l(t.columns,(function(t,r){return e("col",{key:r,attrs:{name:t.prop,width:t.width?t.width:"100px"}})})),0),e("tbody",t._l(t.data,(function(r,n){return e("tr",{key:n,staticClass:"table-row borderClass"},t._l(t.columns,(function(o,i){return e("td",{directives:[{name:"show",rawName:"v-show",value:t.showSpan({row:r,column:o,rowIndex:n,columnIndex:i}),expression:"\n showSpan({ row, column, rowIndex, columnIndex: index })\n "}],key:o.prop,class:["table-cell","text-"+o.align,t.border&&i!==t.columns.length-1?"table-border-right":""],attrs:{rowspan:t.handleSpanMethod({row:r,column:o,rowIndex:n,columnIndex:i}).rowspan,colspan:t.handleSpanMethod({row:r,column:o,rowIndex:n,columnIndex:i}).colspan}},[o.render?e("div",[e("div",{domProps:{innerHTML:t._s(o.render(r))}})]):e("div",[t._t("table-column-cell-"+(o.listProp?o.listProp:o.prop),(function(){return[t._v(" "+t._s(r[o.listProp?o.listProp:o.prop])+" ")]}),{row:r})],2)])})),0)})),0)])])]),this.isOverflowing&&t.fixedColumns.length>0?e("div",{staticClass:"table-wrapper-left",class:{"fixed-shadow":t.hasShadow,"table-border":t.border},style:{height:t.tableHeight?t.tableHeight:""}},[e("div",{staticClass:"table-head-wrapper-fixed"},[e("table",{staticClass:"table-container tw-relative",attrs:{border:!1}},[e("colgroup",t._l(t.fixedColumns,(function(t,r){return e("col",{key:r,attrs:{name:t.prop,width:t.width?t.width:"100px"}})})),0),e("thead",{staticClass:"table-head-wrapper"},[e("tr",{staticClass:"table-row table-header-row borderClass"},t._l(t.fixedColumns,(function(r,n){return e("th",{directives:[{name:"show",rawName:"v-show",value:t.showHead({columnIndex:n}),expression:"showHead({ columnIndex: index })"}],key:r.prop,class:["table-cell","head-bg","text-"+r.align,t.border&&n!==t.fixedColumns.length-1?"table-border-right":""],attrs:{rowspan:t.handleHeadMethod({columnIndex:n}).rowspan||1,colspan:t.handleHeadMethod({columnIndex:n}).colspan||1}},[t._t("table-column-header-"+(r.listProp?r.listProp:r.prop),(function(){return[t._v(t._s(r.label))]}),{column:r})],2)})),0)])])]),e("div",{staticClass:"table-body-wrapper-fixed",style:{height:t.tableHeight?t.tableHeight-t.headHeight+"px":""},on:{scroll:t.handleFixedBodyScroll}},[e("table",{staticClass:"table-container",attrs:{border:!1}},[e("colgroup",t._l(t.fixedColumns,(function(t,r){return e("col",{key:r,attrs:{name:t.prop,width:t.width?t.width:"100px"}})})),0),e("tbody",t._l(t.data,(function(r,n){return e("tr",{key:n,staticClass:"table-row borderClass"},t._l(t.fixedColumns,(function(o,i){return e("td",{directives:[{name:"show",rawName:"v-show",value:t.showSpan({row:r,column:o,rowIndex:n,columnIndex:i}),expression:"\n showSpan({ row, column, rowIndex, columnIndex: index })\n "}],key:o.prop,class:["table-cell","text-"+o.align,t.border&&i!==t.fixedColumns.length-1?"table-border-right":""],attrs:{rowspan:t.handleSpanMethod({row:r,column:o,rowIndex:n,columnIndex:i}).rowspan||1,colspan:t.handleSpanMethod({row:r,column:o,rowIndex:n,columnIndex:i}).colspan||1}},[o.render?e("div",[e("div",{domProps:{innerHTML:t._s(o.render(r))}})]):e("div",[t._t("table-column-cell-"+(o.listProp?o.listProp:o.prop),(function(){return[t._v(" "+t._s(r[o.listProp?o.listProp:o.prop])+" ")]}),{row:r})],2)])})),0)})),0)])])]):t._e()])])},c=[],a=(r("e9f5"),r("910d"),{name:"DataTable",props:{tableHeight:{type:Number,default:0},columns:{type:Array,required:!0},data:{type:Array,required:!0},totalData:{type:Array,default:null},handleSpanMethod:{type:Function,default:()=>({rowspan:1,colspan:1})},handleHeadMethod:{type:Function,default:()=>({rowspan:1,colspan:1})},border:{type:Boolean,default:!1},hiddenFirstColumn:{type:Boolean,default:!1}},data(){return{isOverflowing:!1,hasShadow:!1,showScrollIndicator:!0,timer:null,isHiddenGroup:!1,headHeight:""}},watch:{},mounted(){window.addEventListener("resize",this.checkOverflow),this.timer=setTimeout(()=>{this.checkOverflow(),this.isOverflowing&&clearInterval(this.timer)},50)},computed:{fixedColumns(){return this.columns.filter(t=>"left"===t.fixed)}},updated(){this.border&&this.tableHeight&&(this.headHeight=document.querySelector(".table-head-wrapper").clientHeight)},beforeDestroy(){window.removeEventListener("resize",this.checkOverflow)},methods:{showSpan({row:t,column:e,rowIndex:r,columnIndex:n}){if(this.isHiddenGroup&&0==n)return!1;let o=this.handleSpanMethod({row:t,column:e,rowIndex:r,columnIndex:n});return!!(o&&o.rowspan>0&&o.colspan>0)},showHead({columnIndex:t}){let e=this.handleHeadMethod({columnIndex:t});return!!(e&&e.rowspan>0&&e.colspan>0)},checkOverflow(){this.$refs.tableWrapper&&this.$nextTick(()=>{const t=this.$refs.tableWrapper,e=this.$refs.tableContainer;this.isOverflowing=e.scrollWidth>t.offsetWidth})},handleHeadScroll(t){if(t.target){let e=document.querySelector(".table-body-wrapper");e&&(e.scrollLeft=t.target.scrollLeft),this.hasShadow=t.target.scrollLeft>0}},handleBodyScroll(t){if(t.target){let e=document.querySelector(".table-head-wrapper");if(e&&(e.scrollLeft=t.target.scrollLeft),this.hasShadow=t.target.scrollLeft>0,this.fixedColumns.length>0&&this.isOverflowing){let e=document.querySelector(".table-body-wrapper-fixed");e&&(e.scrollTop=t.target.scrollTop)}}},handleFixedBodyScroll(t){if(t.target){let e=document.querySelector(".table-body-wrapper");e&&(e.scrollTop=t.target.scrollTop)}}}}),s=a;r("9ee2");function u(t,e,r,n,o,i,c,a){var s,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),c?(s=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},u._ssrRegister=s):o&&(s=a?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(u.functional){u._injectStyles=s;var l=u.render;u.render=function(t,e){return s.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,s):[s]}return{exports:t,options:u}}var l=u(s,i,c,!1,null,"53d3b173",null),f=l.exports;const d={install:function(t){t.component("WebAppTable",f)}};"undefined"!==typeof window&&window.Vue&&window.Vue.use(d);var p=d;e["default"]=p},fc6a:function(t,e,r){"use strict";var n=r("44ad"),o=r("1d80");t.exports=function(t){return n(o(t))}},fdbf:function(t,e,r){"use strict";var n=r("04f8");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})})); //# sourceMappingURL=web-app-table.umd.min.js.map