diff --git a/build/index.js b/build/index.js index 326ab70..f7a515b 100644 --- a/build/index.js +++ b/build/index.js @@ -1,4 +1,4 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("main",[],e):"object"==typeof exports?exports.main=e():t.main=e()}(window,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=117)}([function(t,e,n){"use strict";t.exports=n(115)},function(t,e,n){t.exports=n(114)()},function(t,e,n){var r=n(107);"string"==typeof r&&(r=[[t.i,r,""]]);n(30)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){"use strict";t.exports={UNDEFINED:"undefined",FUNCTION:"function",STRING:"string",OBJECT:"object",DISCRETE_SEARCH_VALUE:"discreteSearchValue",ESCAPE_KEY:27,CTRL_KEY:17,CTRL_KEY_MAC_CHROME:91,CTRL_KEY_MAC_FF:224,SHIFT_KEY:16,ENTER_KEY:13,BACKSPACE_KEY:8,DELETE_KEY:46,ARROW_UP:38,ARROW_DOWN:40,ARROW_LEFT:37,ARROW_RIGHT:39,SYMBOLLESS_KEYS:[16,13,20,9,18,27,37,38,39,40,35,36],A_KEY:65,GT_ROW_ID:"GT_RowId",SORTABLE:"sortable",SEARCHABLE:"searchable",CASE_INSENSITIVE_SEARCH:"cISearch",DISCRETE_CASE_INSENSITIVE_SEARCH:"discreteCISearch",VISIBLE:"visible",PROGRESS_BAR:"progressbar",DATA:"data",PERIOD_SEARCH:200,TIMEOUT_SEARCH:300,MORE_PAGES:5,DISPLAY_TOP:"top",DISPLAY_BOTTOM:"bottom",SORT_PERIOD:200,TARGET:"target",RENDER:"render",MIN_AUTOLOAD_PERIOD:5,MAX_AUTOLOAD_PERIOD:300,STR_FALSE:"false",STR_TRUE:"true",PLUGINS:"plugins",FOOTER:"footer",FOOTER_AVG:"avg",FOOTER_SUM:"sum",FOOTER_MAX_LENGTH:"maxLength",FOOTER_MIN_LENGTH:"minLength",FOOTER_FREQUENCY:"frequency",CSV_HEADER:"data:text/csv;charset=utf-8,",NEW_LINE:"\r\n"}},function(t,e,n){var r; +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("main",[],e):"object"==typeof exports?exports.main=e():t.main=e()}(window,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=117)}([function(t,e,n){"use strict";t.exports=n(115)},function(t,e,n){t.exports=n(114)()},function(t,e,n){var r=n(107);"string"==typeof r&&(r=[[t.i,r,""]]);n(30)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){"use strict";t.exports={UNDEFINED:"undefined",FUNCTION:"function",STRING:"string",OBJECT:"object",DISCRETE_SEARCH_VALUE:"discreteSearchValue",ESCAPE_KEY:27,CTRL_KEY:17,CTRL_KEY_MAC_CHROME:91,CTRL_KEY_MAC_FF:224,SHIFT_KEY:16,ENTER_KEY:13,BACKSPACE_KEY:8,DELETE_KEY:46,ARROW_UP:38,ARROW_DOWN:40,ARROW_LEFT:37,ARROW_RIGHT:39,SYMBOLLESS_KEYS:[16,13,20,9,18,27,37,38,39,40,35,36],A_KEY:65,GT_ROW_ID:"GT_RowId",SORTABLE:"sortable",SEARCHABLE:"searchable",CASE_INSENSITIVE_SEARCH:"cISearch",DISCRETE_CASE_INSENSITIVE_SEARCH:"discreteCISearch",VISIBLE:"visible",PROGRESS_BAR:"progressbar",DATA:"data",PERIOD_SEARCH:200,TIMEOUT_SEARCH:300,MORE_PAGES:5,DISPLAY_TOP:"top",DISPLAY_BOTTOM:"bottom",SORT_PERIOD:200,TARGET:"target",RENDER:"render",MIN_AUTOLOAD_PERIOD:5,MAX_AUTOLOAD_PERIOD:300,STR_FALSE:"false",STR_TRUE:"true",PLUGINS:"plugins",FOOTER:"footer",FOOTER_AVG:"avg",FOOTER_SUM:"sum",FOOTER_MAX_LENGTH:"maxLength",FOOTER_MIN_LENGTH:"minLength",FOOTER_FREQUENCY:"frequency",CSV_HEADER:"data:text/csv;charset=utf-8,",NEW_LINE:"\r\n",HEADER_CONTENT_TYPE:"Content-Type",CONTENT_APP_JSON:"application/json"}},function(t,e,n){var r; /*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see @@ -33,7 +33,7 @@ object-assign (c) Sindre Sorhus @license MIT */ -var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,u=function(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),s=1;sr||n<=0)return"";var a=0;if(e>0){for(;e>0&&a=r)return""}else if(e<0){for(a=r;e<0&&00&&u=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(68);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(157)(!0);n(75)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(1).OrderedMap,o={createFromArray:function(t){return r(t.map(function(t){return[t.getKey(),t]}))}};t.exports=o},function(t,e,n){"use strict";var r=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},e.prototype.getAnchorKey=function(){return this.get("anchorKey")},e.prototype.getAnchorOffset=function(){return this.get("anchorOffset")},e.prototype.getFocusKey=function(){return this.get("focusKey")},e.prototype.getFocusOffset=function(){return this.get("focusOffset")},e.prototype.getIsBackward=function(){return this.get("isBackward")},e.prototype.getHasFocus=function(){return this.get("hasFocus")},e.prototype.hasEdgeWithin=function(t,e,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===t){var i=this.getStartOffset();return e<=this.getEndOffset()&&i<=n}if(t!==r&&t!==o)return!1;var a=t===r?this.getAnchorOffset():this.getFocusOffset();return e<=a&&n>=a},e.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},e.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},e.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},e.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},e.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},e.createEmpty=function(t){return new e({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},e}((0,n(1).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=r},function(t,e,n){"use strict";function r(t){return t.replace(/\//g,"-")}t.exports=function(t){return"object"==typeof t?Object.keys(t).filter(function(e){return t[e]}).map(r).join(" "):Array.prototype.map.call(arguments,r).join(" ")}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t,e,n){var o=t.getSelection(),i=t.getCurrentContent(),a=o;if(o.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return i}else if(t.isSelectionAtStartOfContent())return i;if((a=e(t))===o)return i}return r.removeRange(i,a,n)}},function(t,e,n){var r=n(100),o=n(72);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(69),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(101),i=(r=o)&&r.__esModule?r:{default:r};e.default=function(t,e,n){return e in t?(0,i.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){var r=n(26),o=n(159),i=n(72),a=n(70)("IE_PROTO"),u=function(){},s=function(){var t,e=n(99)("iframe"),r=i.length;for(e.style.display="none",n(160).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("