From 91f3a4c263d55e9ab2a07a05f7a9ca08ce37ad96 Mon Sep 17 00:00:00 2001 From: koalyptus Date: Sat, 7 Jan 2017 12:09:29 +0000 Subject: [PATCH] publish Docs to gh-pages (auto) branch: master SHA: dc5b7ab41ae0e9c2f690358b9ca3293810d435ed range SHA: a3716371f808...dc5b7ab41ae0 build id: 189771128 build number: 534 --- .../colsVisibility/colsVisibility.js.json | 21576 +++++++++------- docs/class/src/emitter.js~Emitter.html | 2 +- ...pterEzEditTable.js~AdapterEzEditTable.html | 2 +- .../extensions/colOps/colOps.js~ColOps.html | 2 +- .../colsVisibility.js~ColsVisibility.html | 102 +- ...iltersVisibility.js~FiltersVisibility.html | 2 +- ...Sortabletable.js~AdapterSortableTable.html | 2 +- docs/class/src/feature.js~Feature.html | 2 +- .../alternateRows.js~AlternateRows.html | 2 +- .../src/modules/checkList.js~CheckList.html | 2 +- .../modules/clearButton.js~ClearButton.html | 2 +- .../src/modules/dateType.js~DateType.html | 2 +- .../src/modules/dropdown.js~Dropdown.html | 2 +- .../src/modules/gridLayout.js~GridLayout.html | 2 +- docs/class/src/modules/hash.js~Hash.html | 2 +- docs/class/src/modules/help.js~Help.html | 2 +- ...highlightKeywords.js~HighlightKeyword.html | 2 +- docs/class/src/modules/loader.js~Loader.html | 2 +- .../src/modules/noResults.js~NoResults.html | 2 +- docs/class/src/modules/paging.js~Paging.html | 2 +- .../modules/popupFilter.js~PopupFilter.html | 2 +- .../modules/rowsCounter.js~RowsCounter.html | 2 +- docs/class/src/modules/state.js~State.html | 2 +- .../src/modules/statusBar.js~StatusBar.html | 2 +- .../class/src/modules/storage.js~Storage.html | 2 +- .../class/src/tablefilter.js~TableFilter.html | 2 +- docs/dump.json | 2440 +- docs/file/src/array.js.html | 2 +- docs/file/src/const.js.html | 2 +- docs/file/src/cookie.js.html | 2 +- docs/file/src/dom.js.html | 2 +- docs/file/src/emitter.js.html | 2 +- docs/file/src/event.js.html | 2 +- .../advancedGrid/adapterEzEditTable.js.html | 2 +- .../advancedGrid/advancedGrid.js.html | 2 +- .../file/src/extensions/colOps/colOps.js.html | 2 +- .../colsVisibility/colsVisibility.js.html | 42 +- .../filtersVisibility.js.html | 2 +- .../sort/adapterSortabletable.js.html | 2 +- docs/file/src/extensions/sort/sort.js.html | 2 +- docs/file/src/feature.js.html | 2 +- docs/file/src/modules/alternateRows.js.html | 2 +- docs/file/src/modules/checkList.js.html | 2 +- docs/file/src/modules/clearButton.js.html | 2 +- docs/file/src/modules/dateType.js.html | 2 +- docs/file/src/modules/dropdown.js.html | 2 +- docs/file/src/modules/gridLayout.js.html | 2 +- docs/file/src/modules/hash.js.html | 2 +- docs/file/src/modules/help.js.html | 2 +- .../src/modules/highlightKeywords.js.html | 2 +- docs/file/src/modules/loader.js.html | 2 +- docs/file/src/modules/noResults.js.html | 2 +- docs/file/src/modules/paging.js.html | 2 +- docs/file/src/modules/popupFilter.js.html | 2 +- docs/file/src/modules/rowsCounter.js.html | 2 +- docs/file/src/modules/state.js.html | 2 +- docs/file/src/modules/statusBar.js.html | 2 +- docs/file/src/modules/storage.js.html | 2 +- docs/file/src/number.js.html | 2 +- docs/file/src/root.js.html | 2 +- docs/file/src/sort.js.html | 2 +- docs/file/src/string.js.html | 2 +- docs/file/src/tablefilter.js.html | 2 +- docs/file/src/types.js.html | 2 +- docs/function/index.html | 2 +- docs/identifiers.html | 2 +- docs/index.html | 6 +- docs/package.json | 8 +- docs/source.html | 80 +- docs/variable/index.html | 2 +- 70 files changed, 13210 insertions(+), 11170 deletions(-) diff --git a/docs/ast/source/extensions/colsVisibility/colsVisibility.js.json b/docs/ast/source/extensions/colsVisibility/colsVisibility.js.json index f7e5a545..570cdc74 100644 --- a/docs/ast/source/extensions/colsVisibility/colsVisibility.js.json +++ b/docs/ast/source/extensions/colsVisibility/colsVisibility.js.json @@ -753,6 +753,59 @@ "column": 25 } } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 222, + 231 + ], + "loc": { + "start": { + "line": 7, + "column": 27 + }, + "end": { + "line": 7, + "column": 36 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 222, + 231 + ], + "loc": { + "start": { + "line": 7, + "column": 27 + }, + "end": { + "line": 7, + "column": 36 + } + } + }, + "range": [ + 222, + 231 + ], + "loc": { + "start": { + "line": 7, + "column": 27 + }, + "end": { + "line": 7, + "column": 36 + } + } } ], "source": { @@ -760,23 +813,23 @@ "value": "../../event", "raw": "'../../event'", "range": [ - 227, - 240 + 238, + 251 ], "loc": { "start": { "line": 7, - "column": 32 + "column": 43 }, "end": { "line": 7, - "column": 45 + "column": 56 } } }, "range": [ 195, - 241 + 252 ], "loc": { "start": { @@ -785,7 +838,98 @@ }, "end": { "line": 7, - "column": 46 + "column": 57 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 261, + 265 + ], + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 261, + 265 + ], + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 12 + } + } + }, + "range": [ + 261, + 265 + ], + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../root", + "raw": "'../../root'", + "range": [ + 272, + 284 + ], + "loc": { + "start": { + "line": 8, + "column": 19 + }, + "end": { + "line": 8, + "column": 31 + } + } + }, + "range": [ + 253, + 285 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 32 } }, "trailingComments": [ @@ -793,16 +937,16 @@ "type": "Block", "value": "*\n * Columns Visibility extension\n ", "range": [ - 243, - 282 + 287, + 326 ], "loc": { "start": { - "line": 9, + "line": 10, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 3 } } @@ -817,16 +961,16 @@ "type": "Identifier", "name": "ColsVisibility", "range": [ - 304, - 318 + 348, + 362 ], "loc": { "start": { - "line": 12, + "line": 13, "column": 21 }, "end": { - "line": 12, + "line": 13, "column": 35 } } @@ -835,16 +979,16 @@ "type": "Identifier", "name": "Feature", "range": [ - 327, - 334 + 371, + 378 ], "loc": { "start": { - "line": 12, + "line": 13, "column": 44 }, "end": { - "line": 12, + "line": 13, "column": 51 } } @@ -858,16 +1002,16 @@ "type": "Identifier", "name": "constructor", "range": [ - 499, - 510 + 543, + 554 ], "loc": { "start": { - "line": 19, + "line": 20, "column": 4 }, "end": { - "line": 19, + "line": 20, "column": 15 } } @@ -880,16 +1024,16 @@ "type": "Identifier", "name": "tf", "range": [ - 511, - 513 + 555, + 557 ], "loc": { "start": { - "line": 19, + "line": 20, "column": 16 }, "end": { - "line": 19, + "line": 20, "column": 18 } } @@ -898,16 +1042,16 @@ "type": "Identifier", "name": "f", "range": [ - 515, - 516 + 559, + 560 ], "loc": { "start": { - "line": 19, + "line": 20, "column": 20 }, "end": { - "line": 19, + "line": 20, "column": 21 } } @@ -923,16 +1067,16 @@ "callee": { "type": "Super", "range": [ - 528, - 533 + 572, + 577 ], "loc": { "start": { - "line": 20, + "line": 21, "column": 8 }, "end": { - "line": 20, + "line": 21, "column": 13 } } @@ -942,16 +1086,16 @@ "type": "Identifier", "name": "tf", "range": [ - 534, - 536 + 578, + 580 ], "loc": { "start": { - "line": 20, + "line": 21, "column": 14 }, "end": { - "line": 20, + "line": 21, "column": 16 } } @@ -963,16 +1107,16 @@ "type": "Identifier", "name": "f", "range": [ - 538, - 539 + 582, + 583 ], "loc": { "start": { - "line": 20, + "line": 21, "column": 18 }, "end": { - "line": 20, + "line": 21, "column": 19 } } @@ -981,62 +1125,62 @@ "type": "Identifier", "name": "name", "range": [ - 540, - 544 + 584, + 588 ], "loc": { "start": { - "line": 20, + "line": 21, "column": 20 }, "end": { - "line": 20, + "line": 21, "column": 24 } } }, "range": [ - 538, - 544 + 582, + 588 ], "loc": { "start": { - "line": 20, + "line": 21, "column": 18 }, "end": { - "line": 20, + "line": 21, "column": 24 } } } ], "range": [ - 528, - 545 + 572, + 589 ], "loc": { "start": { - "line": 20, + "line": 21, "column": 8 }, "end": { - "line": 20, + "line": 21, "column": 25 } } }, "range": [ - 528, - 546 + 572, + 590 ], "loc": { "start": { - "line": 20, + "line": 21, "column": 8 }, "end": { - "line": 20, + "line": 21, "column": 26 } }, @@ -1045,16 +1189,16 @@ "type": "Line", "value": " Configuration object", "range": [ - 556, - 579 + 600, + 623 ], "loc": { "start": { - "line": 22, + "line": 23, "column": 8 }, "end": { - "line": 22, + "line": 23, "column": 31 } } @@ -1070,16 +1214,16 @@ "type": "Identifier", "name": "cfg", "range": [ - 592, - 595 + 636, + 639 ], "loc": { "start": { - "line": 23, + "line": 24, "column": 12 }, "end": { - "line": 23, + "line": 24, "column": 15 } } @@ -1090,16 +1234,16 @@ "object": { "type": "ThisExpression", "range": [ - 598, - 602 + 642, + 646 ], "loc": { "start": { - "line": 23, + "line": 24, "column": 18 }, "end": { - "line": 23, + "line": 24, "column": 22 } } @@ -1108,46 +1252,46 @@ "type": "Identifier", "name": "config", "range": [ - 603, - 609 + 647, + 653 ], "loc": { "start": { - "line": 23, + "line": 24, "column": 23 }, "end": { - "line": 23, + "line": 24, "column": 29 } } }, "range": [ - 598, - 609 + 642, + 653 ], "loc": { "start": { - "line": 23, + "line": 24, "column": 18 }, "end": { - "line": 23, + "line": 24, "column": 29 } } }, "range": [ - 592, - 609 + 636, + 653 ], "loc": { "start": { - "line": 23, + "line": 24, "column": 12 }, "end": { - "line": 23, + "line": 24, "column": 29 } } @@ -1155,16 +1299,16 @@ ], "kind": "let", "range": [ - 588, - 610 + 632, + 654 ], "loc": { "start": { - "line": 23, + "line": 24, "column": 8 }, "end": { - "line": 23, + "line": 24, "column": 30 } }, @@ -1173,16 +1317,16 @@ "type": "Line", "value": " Configuration object", "range": [ - 556, - 579 + 600, + 623 ], "loc": { "start": { - "line": 22, + "line": 23, "column": 8 }, "end": { - "line": 22, + "line": 23, "column": 31 } } @@ -1193,16 +1337,16 @@ "type": "Block", "value": "*\n * Module name\n * @type {String}\n ", "range": [ - 620, - 684 + 664, + 728 ], "loc": { "start": { - "line": 25, + "line": 26, "column": 8 }, "end": { - "line": 28, + "line": 29, "column": 11 } } @@ -1220,16 +1364,16 @@ "object": { "type": "ThisExpression", "range": [ - 693, - 697 + 737, + 741 ], "loc": { "start": { - "line": 29, + "line": 30, "column": 8 }, "end": { - "line": 29, + "line": 30, "column": 12 } } @@ -1238,31 +1382,31 @@ "type": "Identifier", "name": "name", "range": [ - 698, - 702 + 742, + 746 ], "loc": { "start": { - "line": 29, + "line": 30, "column": 13 }, "end": { - "line": 29, + "line": 30, "column": 17 } } }, "range": [ - 693, - 702 + 737, + 746 ], "loc": { "start": { - "line": 29, + "line": 30, "column": 8 }, "end": { - "line": 29, + "line": 30, "column": 17 } } @@ -1274,16 +1418,16 @@ "type": "Identifier", "name": "f", "range": [ - 705, - 706 + 749, + 750 ], "loc": { "start": { - "line": 29, + "line": 30, "column": 20 }, "end": { - "line": 29, + "line": 30, "column": 21 } } @@ -1292,61 +1436,61 @@ "type": "Identifier", "name": "name", "range": [ - 707, - 711 + 751, + 755 ], "loc": { "start": { - "line": 29, + "line": 30, "column": 22 }, "end": { - "line": 29, + "line": 30, "column": 26 } } }, "range": [ - 705, - 711 + 749, + 755 ], "loc": { "start": { - "line": 29, + "line": 30, "column": 20 }, "end": { - "line": 29, + "line": 30, "column": 26 } } }, "range": [ - 693, - 711 + 737, + 755 ], "loc": { "start": { - "line": 29, + "line": 30, "column": 8 }, "end": { - "line": 29, + "line": 30, "column": 26 } } }, "range": [ - 693, - 712 + 737, + 756 ], "loc": { "start": { - "line": 29, + "line": 30, "column": 8 }, "end": { - "line": 29, + "line": 30, "column": 27 } }, @@ -1355,16 +1499,16 @@ "type": "Block", "value": "*\n * Module name\n * @type {String}\n ", "range": [ - 620, - 684 + 664, + 728 ], "loc": { "start": { - "line": 25, + "line": 26, "column": 8 }, "end": { - "line": 28, + "line": 29, "column": 11 } } @@ -1375,16 +1519,16 @@ "type": "Block", "value": "*\n * Module description\n * @type {String}\n ", "range": [ - 722, - 793 + 766, + 837 ], "loc": { "start": { - "line": 31, + "line": 32, "column": 8 }, "end": { - "line": 34, + "line": 35, "column": 11 } } @@ -1402,16 +1546,16 @@ "object": { "type": "ThisExpression", "range": [ - 802, - 806 + 846, + 850 ], "loc": { "start": { - "line": 35, + "line": 36, "column": 8 }, "end": { - "line": 35, + "line": 36, "column": 12 } } @@ -1420,31 +1564,31 @@ "type": "Identifier", "name": "desc", "range": [ - 807, - 811 + 851, + 855 ], "loc": { "start": { - "line": 35, + "line": 36, "column": 13 }, "end": { - "line": 35, + "line": 36, "column": 17 } } }, "range": [ - 802, - 811 + 846, + 855 ], "loc": { "start": { - "line": 35, + "line": 36, "column": 8 }, "end": { - "line": 35, + "line": 36, "column": 17 } } @@ -1459,16 +1603,16 @@ "type": "Identifier", "name": "f", "range": [ - 814, - 815 + 858, + 859 ], "loc": { "start": { - "line": 35, + "line": 36, "column": 20 }, "end": { - "line": 35, + "line": 36, "column": 21 } } @@ -1477,31 +1621,31 @@ "type": "Identifier", "name": "description", "range": [ - 816, - 827 + 860, + 871 ], "loc": { "start": { - "line": 35, + "line": 36, "column": 22 }, "end": { - "line": 35, + "line": 36, "column": 33 } } }, "range": [ - 814, - 827 + 858, + 871 ], "loc": { "start": { - "line": 35, + "line": 36, "column": 20 }, "end": { - "line": 35, + "line": 36, "column": 33 } } @@ -1511,61 +1655,61 @@ "value": "Columns visibility manager", "raw": "'Columns visibility manager'", "range": [ - 831, - 859 + 875, + 903 ], "loc": { "start": { - "line": 35, + "line": 36, "column": 37 }, "end": { - "line": 35, + "line": 36, "column": 65 } } }, "range": [ - 814, - 859 + 858, + 903 ], "loc": { "start": { - "line": 35, + "line": 36, "column": 20 }, "end": { - "line": 35, + "line": 36, "column": 65 } } }, "range": [ - 802, - 859 + 846, + 903 ], "loc": { "start": { - "line": 35, + "line": 36, "column": 8 }, "end": { - "line": 35, + "line": 36, "column": 65 } } }, "range": [ - 802, - 860 + 846, + 904 ], "loc": { "start": { - "line": 35, + "line": 36, "column": 8 }, "end": { - "line": 35, + "line": 36, "column": 66 } }, @@ -1574,16 +1718,16 @@ "type": "Block", "value": "*\n * Module description\n * @type {String}\n ", "range": [ - 722, - 793 + 766, + 837 ], "loc": { "start": { - "line": 31, + "line": 32, "column": 8 }, "end": { - "line": 34, + "line": 35, "column": 11 } } @@ -1594,16 +1738,16 @@ "type": "Block", "value": "*\n * show/hide columns container element\n * @private\n ", "range": [ - 870, - 952 + 914, + 996 ], "loc": { "start": { - "line": 37, + "line": 38, "column": 8 }, "end": { - "line": 40, + "line": 41, "column": 11 } } @@ -1621,16 +1765,16 @@ "object": { "type": "ThisExpression", "range": [ - 961, - 965 + 1005, + 1009 ], "loc": { "start": { - "line": 41, + "line": 42, "column": 8 }, "end": { - "line": 41, + "line": 42, "column": 12 } } @@ -1639,31 +1783,31 @@ "type": "Identifier", "name": "spanEl", "range": [ - 966, - 972 + 1010, + 1016 ], "loc": { "start": { - "line": 41, + "line": 42, "column": 13 }, "end": { - "line": 41, + "line": 42, "column": 19 } } }, "range": [ - 961, - 972 + 1005, + 1016 ], "loc": { "start": { - "line": 41, + "line": 42, "column": 8 }, "end": { - "line": 41, + "line": 42, "column": 19 } } @@ -1673,46 +1817,46 @@ "value": null, "raw": "null", "range": [ - 975, - 979 + 1019, + 1023 ], "loc": { "start": { - "line": 41, + "line": 42, "column": 22 }, "end": { - "line": 41, + "line": 42, "column": 26 } } }, "range": [ - 961, - 979 + 1005, + 1023 ], "loc": { "start": { - "line": 41, + "line": 42, "column": 8 }, "end": { - "line": 41, + "line": 42, "column": 26 } } }, "range": [ - 961, - 980 + 1005, + 1024 ], "loc": { "start": { - "line": 41, + "line": 42, "column": 8 }, "end": { - "line": 41, + "line": 42, "column": 27 } }, @@ -1721,16 +1865,16 @@ "type": "Block", "value": "*\n * show/hide columns container element\n * @private\n ", "range": [ - 870, - 952 + 914, + 996 ], "loc": { "start": { - "line": 37, + "line": 38, "column": 8 }, "end": { - "line": 40, + "line": 41, "column": 11 } } @@ -1741,16 +1885,16 @@ "type": "Block", "value": "*\n * show/hide columns button element\n * @private\n ", "range": [ - 990, - 1069 + 1034, + 1113 ], "loc": { "start": { - "line": 43, + "line": 44, "column": 8 }, "end": { - "line": 46, + "line": 47, "column": 11 } } @@ -1768,16 +1912,16 @@ "object": { "type": "ThisExpression", "range": [ - 1078, - 1082 + 1122, + 1126 ], "loc": { "start": { - "line": 47, + "line": 48, "column": 8 }, "end": { - "line": 47, + "line": 48, "column": 12 } } @@ -1786,31 +1930,31 @@ "type": "Identifier", "name": "btnEl", "range": [ - 1083, - 1088 + 1127, + 1132 ], "loc": { "start": { - "line": 47, + "line": 48, "column": 13 }, "end": { - "line": 47, + "line": 48, "column": 18 } } }, "range": [ - 1078, - 1088 + 1122, + 1132 ], "loc": { "start": { - "line": 47, + "line": 48, "column": 8 }, "end": { - "line": 47, + "line": 48, "column": 18 } } @@ -1820,46 +1964,46 @@ "value": null, "raw": "null", "range": [ - 1091, - 1095 + 1135, + 1139 ], "loc": { "start": { - "line": 47, + "line": 48, "column": 21 }, "end": { - "line": 47, + "line": 48, "column": 25 } } }, "range": [ - 1078, - 1095 + 1122, + 1139 ], "loc": { "start": { - "line": 47, + "line": 48, "column": 8 }, "end": { - "line": 47, + "line": 48, "column": 25 } } }, "range": [ - 1078, - 1096 + 1122, + 1140 ], "loc": { "start": { - "line": 47, + "line": 48, "column": 8 }, "end": { - "line": 47, + "line": 48, "column": 26 } }, @@ -1868,16 +2012,16 @@ "type": "Block", "value": "*\n * show/hide columns button element\n * @private\n ", "range": [ - 990, - 1069 + 1034, + 1113 ], "loc": { "start": { - "line": 43, + "line": 44, "column": 8 }, "end": { - "line": 46, + "line": 47, "column": 11 } } @@ -1888,16 +2032,16 @@ "type": "Block", "value": "*\n * show/hide columns main container element\n * @private\n ", "range": [ - 1106, - 1193 + 1150, + 1237 ], "loc": { "start": { - "line": 49, + "line": 50, "column": 8 }, "end": { - "line": 52, + "line": 53, "column": 11 } } @@ -1915,16 +2059,16 @@ "object": { "type": "ThisExpression", "range": [ - 1202, - 1206 + 1246, + 1250 ], "loc": { "start": { - "line": 53, + "line": 54, "column": 8 }, "end": { - "line": 53, + "line": 54, "column": 12 } } @@ -1933,31 +2077,31 @@ "type": "Identifier", "name": "contEl", "range": [ - 1207, - 1213 + 1251, + 1257 ], "loc": { "start": { - "line": 53, + "line": 54, "column": 13 }, "end": { - "line": 53, + "line": 54, "column": 19 } } }, "range": [ - 1202, - 1213 + 1246, + 1257 ], "loc": { "start": { - "line": 53, + "line": 54, "column": 8 }, "end": { - "line": 53, + "line": 54, "column": 19 } } @@ -1967,46 +2111,46 @@ "value": null, "raw": "null", "range": [ - 1216, - 1220 + 1260, + 1264 ], "loc": { "start": { - "line": 53, + "line": 54, "column": 22 }, "end": { - "line": 53, + "line": 54, "column": 26 } } }, "range": [ - 1202, - 1220 + 1246, + 1264 ], "loc": { "start": { - "line": 53, + "line": 54, "column": 8 }, "end": { - "line": 53, + "line": 54, "column": 26 } } }, "range": [ - 1202, - 1221 + 1246, + 1265 ], "loc": { "start": { - "line": 53, + "line": 54, "column": 8 }, "end": { - "line": 53, + "line": 54, "column": 27 } }, @@ -2015,16 +2159,16 @@ "type": "Block", "value": "*\n * show/hide columns main container element\n * @private\n ", "range": [ - 1106, - 1193 + 1150, + 1237 ], "loc": { "start": { - "line": 49, + "line": 50, "column": 8 }, "end": { - "line": 52, + "line": 53, "column": 11 } } @@ -2035,16 +2179,16 @@ "type": "Block", "value": "*\n * Enable tick to hide a column, defaults to true\n * @type {Boolean}\n ", "range": [ - 1231, - 1331 + 1275, + 1375 ], "loc": { "start": { - "line": 55, + "line": 56, "column": 8 }, "end": { - "line": 58, + "line": 59, "column": 11 } } @@ -2062,16 +2206,16 @@ "object": { "type": "ThisExpression", "range": [ - 1340, - 1344 + 1384, + 1388 ], "loc": { "start": { - "line": 59, + "line": 60, "column": 8 }, "end": { - "line": 59, + "line": 60, "column": 12 } } @@ -2080,31 +2224,31 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 1345, - 1355 + 1389, + 1399 ], "loc": { "start": { - "line": 59, + "line": 60, "column": 13 }, "end": { - "line": 59, + "line": 60, "column": 23 } } }, "range": [ - 1340, - 1355 + 1384, + 1399 ], "loc": { "start": { - "line": 59, + "line": 60, "column": 8 }, "end": { - "line": 59, + "line": 60, "column": 23 } } @@ -2121,16 +2265,16 @@ "type": "Identifier", "name": "f", "range": [ - 1358, - 1359 + 1402, + 1403 ], "loc": { "start": { - "line": 59, + "line": 60, "column": 26 }, "end": { - "line": 59, + "line": 60, "column": 27 } } @@ -2139,31 +2283,31 @@ "type": "Identifier", "name": "tick_to_hide", "range": [ - 1360, - 1372 + 1404, + 1416 ], "loc": { "start": { - "line": 59, + "line": 60, "column": 28 }, "end": { - "line": 59, + "line": 60, "column": 40 } } }, "range": [ - 1358, - 1372 + 1402, + 1416 ], "loc": { "start": { - "line": 59, + "line": 60, "column": 26 }, "end": { - "line": 59, + "line": 60, "column": 40 } } @@ -2173,31 +2317,31 @@ "value": false, "raw": "false", "range": [ - 1377, - 1382 + 1421, + 1426 ], "loc": { "start": { - "line": 59, + "line": 60, "column": 45 }, "end": { - "line": 59, + "line": 60, "column": 50 } } }, "range": [ - 1358, - 1382 + 1402, + 1426 ], "loc": { "start": { - "line": 59, + "line": 60, "column": 26 }, "end": { - "line": 59, + "line": 60, "column": 50 } } @@ -2207,16 +2351,16 @@ "value": false, "raw": "false", "range": [ - 1385, - 1390 + 1429, + 1434 ], "loc": { "start": { - "line": 59, + "line": 60, "column": 53 }, "end": { - "line": 59, + "line": 60, "column": 58 } } @@ -2226,61 +2370,61 @@ "value": true, "raw": "true", "range": [ - 1393, - 1397 + 1437, + 1441 ], "loc": { "start": { - "line": 59, + "line": 60, "column": 61 }, "end": { - "line": 59, + "line": 60, "column": 65 } } }, "range": [ - 1358, - 1397 + 1402, + 1441 ], "loc": { "start": { - "line": 59, + "line": 60, "column": 26 }, "end": { - "line": 59, + "line": 60, "column": 65 } } }, "range": [ - 1340, - 1397 + 1384, + 1441 ], "loc": { "start": { - "line": 59, + "line": 60, "column": 8 }, "end": { - "line": 59, + "line": 60, "column": 65 } } }, "range": [ - 1340, - 1398 + 1384, + 1442 ], "loc": { "start": { - "line": 59, + "line": 60, "column": 8 }, "end": { - "line": 59, + "line": 60, "column": 66 } }, @@ -2289,16 +2433,16 @@ "type": "Block", "value": "*\n * Enable tick to hide a column, defaults to true\n * @type {Boolean}\n ", "range": [ - 1231, - 1331 + 1275, + 1375 ], "loc": { "start": { - "line": 55, + "line": 56, "column": 8 }, "end": { - "line": 58, + "line": 59, "column": 11 } } @@ -2309,16 +2453,16 @@ "type": "Block", "value": "*\n * Enable columns manager UI, defaults to true\n * @type {Boolean}\n ", "range": [ - 1408, - 1505 + 1452, + 1549 ], "loc": { "start": { - "line": 61, + "line": 62, "column": 8 }, "end": { - "line": 64, + "line": 65, "column": 11 } } @@ -2336,16 +2480,16 @@ "object": { "type": "ThisExpression", "range": [ - 1514, - 1518 + 1558, + 1562 ], "loc": { "start": { - "line": 65, + "line": 66, "column": 8 }, "end": { - "line": 65, + "line": 66, "column": 12 } } @@ -2354,31 +2498,31 @@ "type": "Identifier", "name": "manager", "range": [ - 1519, - 1526 + 1563, + 1570 ], "loc": { "start": { - "line": 65, + "line": 66, "column": 13 }, "end": { - "line": 65, + "line": 66, "column": 20 } } }, "range": [ - 1514, - 1526 + 1558, + 1570 ], "loc": { "start": { - "line": 65, + "line": 66, "column": 8 }, "end": { - "line": 65, + "line": 66, "column": 20 } } @@ -2395,16 +2539,16 @@ "type": "Identifier", "name": "f", "range": [ - 1529, - 1530 + 1573, + 1574 ], "loc": { "start": { - "line": 65, + "line": 66, "column": 23 }, "end": { - "line": 65, + "line": 66, "column": 24 } } @@ -2413,31 +2557,31 @@ "type": "Identifier", "name": "manager", "range": [ - 1531, - 1538 + 1575, + 1582 ], "loc": { "start": { - "line": 65, + "line": 66, "column": 25 }, "end": { - "line": 65, + "line": 66, "column": 32 } } }, "range": [ - 1529, - 1538 + 1573, + 1582 ], "loc": { "start": { - "line": 65, + "line": 66, "column": 23 }, "end": { - "line": 65, + "line": 66, "column": 32 } } @@ -2447,31 +2591,31 @@ "value": false, "raw": "false", "range": [ - 1543, - 1548 + 1587, + 1592 ], "loc": { "start": { - "line": 65, + "line": 66, "column": 37 }, "end": { - "line": 65, + "line": 66, "column": 42 } } }, "range": [ - 1529, - 1548 + 1573, + 1592 ], "loc": { "start": { - "line": 65, + "line": 66, "column": 23 }, "end": { - "line": 65, + "line": 66, "column": 42 } } @@ -2481,16 +2625,16 @@ "value": false, "raw": "false", "range": [ - 1551, - 1556 + 1595, + 1600 ], "loc": { "start": { - "line": 65, + "line": 66, "column": 45 }, "end": { - "line": 65, + "line": 66, "column": 50 } } @@ -2500,61 +2644,61 @@ "value": true, "raw": "true", "range": [ - 1559, - 1563 + 1603, + 1607 ], "loc": { "start": { - "line": 65, + "line": 66, "column": 53 }, "end": { - "line": 65, + "line": 66, "column": 57 } } }, "range": [ - 1529, - 1563 + 1573, + 1607 ], "loc": { "start": { - "line": 65, + "line": 66, "column": 23 }, "end": { - "line": 65, + "line": 66, "column": 57 } } }, "range": [ - 1514, - 1563 + 1558, + 1607 ], "loc": { "start": { - "line": 65, + "line": 66, "column": 8 }, "end": { - "line": 65, + "line": 66, "column": 57 } } }, "range": [ - 1514, - 1564 + 1558, + 1608 ], "loc": { "start": { - "line": 65, + "line": 66, "column": 8 }, "end": { - "line": 65, + "line": 66, "column": 58 } }, @@ -2563,16 +2707,16 @@ "type": "Block", "value": "*\n * Enable columns manager UI, defaults to true\n * @type {Boolean}\n ", "range": [ - 1408, - 1505 + 1452, + 1549 ], "loc": { "start": { - "line": 61, + "line": 62, "column": 8 }, "end": { - "line": 64, + "line": 65, "column": 11 } } @@ -2583,16 +2727,16 @@ "type": "Block", "value": "*\n * Headers HTML table reference only if headers are external\n * @type {DOMElement}\n ", "range": [ - 1574, - 1688 + 1618, + 1732 ], "loc": { "start": { - "line": 67, + "line": 68, "column": 8 }, "end": { - "line": 70, + "line": 71, "column": 11 } } @@ -2610,16 +2754,16 @@ "object": { "type": "ThisExpression", "range": [ - 1697, - 1701 + 1741, + 1745 ], "loc": { "start": { - "line": 71, + "line": 72, "column": 8 }, "end": { - "line": 71, + "line": 72, "column": 12 } } @@ -2628,31 +2772,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 1702, - 1712 + 1746, + 1756 ], "loc": { "start": { - "line": 71, + "line": 72, "column": 13 }, "end": { - "line": 71, + "line": 72, "column": 23 } } }, "range": [ - 1697, - 1712 + 1741, + 1756 ], "loc": { "start": { - "line": 71, + "line": 72, "column": 8 }, "end": { - "line": 71, + "line": 72, "column": 23 } } @@ -2667,16 +2811,16 @@ "type": "Identifier", "name": "f", "range": [ - 1715, - 1716 + 1759, + 1760 ], "loc": { "start": { - "line": 71, + "line": 72, "column": 26 }, "end": { - "line": 71, + "line": 72, "column": 27 } } @@ -2685,31 +2829,31 @@ "type": "Identifier", "name": "headers_table", "range": [ - 1717, - 1730 + 1761, + 1774 ], "loc": { "start": { - "line": 71, + "line": 72, "column": 28 }, "end": { - "line": 71, + "line": 72, "column": 41 } } }, "range": [ - 1715, - 1730 + 1759, + 1774 ], "loc": { "start": { - "line": 71, + "line": 72, "column": 26 }, "end": { - "line": 71, + "line": 72, "column": 41 } } @@ -2719,61 +2863,61 @@ "value": null, "raw": "null", "range": [ - 1734, - 1738 + 1778, + 1782 ], "loc": { "start": { - "line": 71, + "line": 72, "column": 45 }, "end": { - "line": 71, + "line": 72, "column": 49 } } }, "range": [ - 1715, - 1738 + 1759, + 1782 ], "loc": { "start": { - "line": 71, + "line": 72, "column": 26 }, "end": { - "line": 71, + "line": 72, "column": 49 } } }, "range": [ - 1697, - 1738 + 1741, + 1782 ], "loc": { "start": { - "line": 71, + "line": 72, "column": 8 }, "end": { - "line": 71, + "line": 72, "column": 49 } } }, "range": [ - 1697, - 1739 + 1741, + 1783 ], "loc": { "start": { - "line": 71, + "line": 72, "column": 8 }, "end": { - "line": 71, + "line": 72, "column": 50 } }, @@ -2782,16 +2926,16 @@ "type": "Block", "value": "*\n * Headers HTML table reference only if headers are external\n * @type {DOMElement}\n ", "range": [ - 1574, - 1688 + 1618, + 1732 ], "loc": { "start": { - "line": 67, + "line": 68, "column": 8 }, "end": { - "line": 70, + "line": 71, "column": 11 } } @@ -2802,16 +2946,16 @@ "type": "Block", "value": "*\n * Headers row index only if headers are external\n * @type {Number}\n ", "range": [ - 1749, - 1848 + 1793, + 1892 ], "loc": { "start": { - "line": 73, + "line": 74, "column": 8 }, "end": { - "line": 76, + "line": 77, "column": 11 } } @@ -2829,16 +2973,16 @@ "object": { "type": "ThisExpression", "range": [ - 1857, - 1861 + 1901, + 1905 ], "loc": { "start": { - "line": 77, + "line": 78, "column": 8 }, "end": { - "line": 77, + "line": 78, "column": 12 } } @@ -2847,31 +2991,31 @@ "type": "Identifier", "name": "headersIndex", "range": [ - 1862, - 1874 + 1906, + 1918 ], "loc": { "start": { - "line": 77, + "line": 78, "column": 13 }, "end": { - "line": 77, + "line": 78, "column": 25 } } }, "range": [ - 1857, - 1874 + 1901, + 1918 ], "loc": { "start": { - "line": 77, + "line": 78, "column": 8 }, "end": { - "line": 77, + "line": 78, "column": 25 } } @@ -2886,16 +3030,16 @@ "type": "Identifier", "name": "f", "range": [ - 1877, - 1878 + 1921, + 1922 ], "loc": { "start": { - "line": 77, + "line": 78, "column": 28 }, "end": { - "line": 77, + "line": 78, "column": 29 } } @@ -2904,31 +3048,31 @@ "type": "Identifier", "name": "headers_index", "range": [ - 1879, - 1892 + 1923, + 1936 ], "loc": { "start": { - "line": 77, + "line": 78, "column": 30 }, "end": { - "line": 77, + "line": 78, "column": 43 } } }, "range": [ - 1877, - 1892 + 1921, + 1936 ], "loc": { "start": { - "line": 77, + "line": 78, "column": 28 }, "end": { - "line": 77, + "line": 78, "column": 43 } } @@ -2938,61 +3082,61 @@ "value": 1, "raw": "1", "range": [ - 1896, - 1897 + 1940, + 1941 ], "loc": { "start": { - "line": 77, + "line": 78, "column": 47 }, "end": { - "line": 77, + "line": 78, "column": 48 } } }, "range": [ - 1877, - 1897 + 1921, + 1941 ], "loc": { "start": { - "line": 77, + "line": 78, "column": 28 }, "end": { - "line": 77, + "line": 78, "column": 48 } } }, "range": [ - 1857, - 1897 + 1901, + 1941 ], "loc": { "start": { - "line": 77, + "line": 78, "column": 8 }, "end": { - "line": 77, + "line": 78, "column": 48 } } }, "range": [ - 1857, - 1898 + 1901, + 1942 ], "loc": { "start": { - "line": 77, + "line": 78, "column": 8 }, "end": { - "line": 77, + "line": 78, "column": 49 } }, @@ -3001,16 +3145,16 @@ "type": "Block", "value": "*\n * Headers row index only if headers are external\n * @type {Number}\n ", "range": [ - 1749, - 1848 + 1793, + 1892 ], "loc": { "start": { - "line": 73, + "line": 74, "column": 8 }, "end": { - "line": 76, + "line": 77, "column": 11 } } @@ -3021,16 +3165,16 @@ "type": "Block", "value": "*\n * ID of main container element\n * @type {String}\n ", "range": [ - 1908, - 1989 + 1952, + 2033 ], "loc": { "start": { - "line": 79, + "line": 80, "column": 8 }, "end": { - "line": 82, + "line": 83, "column": 11 } } @@ -3048,16 +3192,16 @@ "object": { "type": "ThisExpression", "range": [ - 1998, - 2002 + 2042, + 2046 ], "loc": { "start": { - "line": 83, + "line": 84, "column": 8 }, "end": { - "line": 83, + "line": 84, "column": 12 } } @@ -3066,31 +3210,31 @@ "type": "Identifier", "name": "contElTgtId", "range": [ - 2003, - 2014 + 2047, + 2058 ], "loc": { "start": { - "line": 83, + "line": 84, "column": 13 }, "end": { - "line": 83, + "line": 84, "column": 24 } } }, "range": [ - 1998, - 2014 + 2042, + 2058 ], "loc": { "start": { - "line": 83, + "line": 84, "column": 8 }, "end": { - "line": 83, + "line": 84, "column": 24 } } @@ -3105,16 +3249,16 @@ "type": "Identifier", "name": "f", "range": [ - 2017, - 2018 + 2061, + 2062 ], "loc": { "start": { - "line": 83, + "line": 84, "column": 27 }, "end": { - "line": 83, + "line": 84, "column": 28 } } @@ -3123,31 +3267,31 @@ "type": "Identifier", "name": "container_target_id", "range": [ - 2019, - 2038 + 2063, + 2082 ], "loc": { "start": { - "line": 83, + "line": 84, "column": 29 }, "end": { - "line": 83, + "line": 84, "column": 48 } } }, "range": [ - 2017, - 2038 + 2061, + 2082 ], "loc": { "start": { - "line": 83, + "line": 84, "column": 27 }, "end": { - "line": 83, + "line": 84, "column": 48 } } @@ -3157,61 +3301,61 @@ "value": null, "raw": "null", "range": [ - 2042, - 2046 + 2086, + 2090 ], "loc": { "start": { - "line": 83, + "line": 84, "column": 52 }, "end": { - "line": 83, + "line": 84, "column": 56 } } }, "range": [ - 2017, - 2046 + 2061, + 2090 ], "loc": { "start": { - "line": 83, + "line": 84, "column": 27 }, "end": { - "line": 83, + "line": 84, "column": 56 } } }, "range": [ - 1998, - 2046 + 2042, + 2090 ], "loc": { "start": { - "line": 83, + "line": 84, "column": 8 }, "end": { - "line": 83, + "line": 84, "column": 56 } } }, "range": [ - 1998, - 2047 + 2042, + 2091 ], "loc": { "start": { - "line": 83, + "line": 84, "column": 8 }, "end": { - "line": 83, + "line": 84, "column": 57 } }, @@ -3220,16 +3364,16 @@ "type": "Block", "value": "*\n * ID of main container element\n * @type {String}\n ", "range": [ - 1908, - 1989 + 1952, + 2033 ], "loc": { "start": { - "line": 79, + "line": 80, "column": 8 }, "end": { - "line": 82, + "line": 83, "column": 11 } } @@ -3240,16 +3384,16 @@ "type": "Block", "value": "*\n * Alternative text for column headers in column manager UI\n * @type {Array}\n ", "range": [ - 2057, - 2165 + 2101, + 2209 ], "loc": { "start": { - "line": 85, + "line": 86, "column": 8 }, "end": { - "line": 88, + "line": 89, "column": 11 } } @@ -3267,16 +3411,16 @@ "object": { "type": "ThisExpression", "range": [ - 2174, - 2178 + 2218, + 2222 ], "loc": { "start": { - "line": 89, + "line": 90, "column": 8 }, "end": { - "line": 89, + "line": 90, "column": 12 } } @@ -3285,31 +3429,31 @@ "type": "Identifier", "name": "headersText", "range": [ - 2179, - 2190 + 2223, + 2234 ], "loc": { "start": { - "line": 89, + "line": 90, "column": 13 }, "end": { - "line": 89, + "line": 90, "column": 24 } } }, "range": [ - 2174, - 2190 + 2218, + 2234 ], "loc": { "start": { - "line": 89, + "line": 90, "column": 8 }, "end": { - "line": 89, + "line": 90, "column": 24 } } @@ -3324,16 +3468,16 @@ "type": "Identifier", "name": "f", "range": [ - 2193, - 2194 + 2237, + 2238 ], "loc": { "start": { - "line": 89, + "line": 90, "column": 27 }, "end": { - "line": 89, + "line": 90, "column": 28 } } @@ -3342,31 +3486,31 @@ "type": "Identifier", "name": "headers_text", "range": [ - 2195, - 2207 + 2239, + 2251 ], "loc": { "start": { - "line": 89, + "line": 90, "column": 29 }, "end": { - "line": 89, + "line": 90, "column": 41 } } }, "range": [ - 2193, - 2207 + 2237, + 2251 ], "loc": { "start": { - "line": 89, + "line": 90, "column": 27 }, "end": { - "line": 89, + "line": 90, "column": 41 } } @@ -3376,61 +3520,61 @@ "value": null, "raw": "null", "range": [ - 2211, - 2215 + 2255, + 2259 ], "loc": { "start": { - "line": 89, + "line": 90, "column": 45 }, "end": { - "line": 89, + "line": 90, "column": 49 } } }, "range": [ - 2193, - 2215 + 2237, + 2259 ], "loc": { "start": { - "line": 89, + "line": 90, "column": 27 }, "end": { - "line": 89, + "line": 90, "column": 49 } } }, "range": [ - 2174, - 2215 + 2218, + 2259 ], "loc": { "start": { - "line": 89, + "line": 90, "column": 8 }, "end": { - "line": 89, + "line": 90, "column": 49 } } }, "range": [ - 2174, - 2216 + 2218, + 2260 ], "loc": { "start": { - "line": 89, + "line": 90, "column": 8 }, "end": { - "line": 89, + "line": 90, "column": 50 } }, @@ -3439,16 +3583,16 @@ "type": "Block", "value": "*\n * Alternative text for column headers in column manager UI\n * @type {Array}\n ", "range": [ - 2057, - 2165 + 2101, + 2209 ], "loc": { "start": { - "line": 85, + "line": 86, "column": 8 }, "end": { - "line": 88, + "line": 89, "column": 11 } } @@ -3459,16 +3603,16 @@ "type": "Block", "value": "*\n * ID of button's container element\n * @type {String}\n ", "range": [ - 2226, - 2311 + 2270, + 2355 ], "loc": { "start": { - "line": 91, + "line": 92, "column": 8 }, "end": { - "line": 94, + "line": 95, "column": 11 } } @@ -3486,16 +3630,16 @@ "object": { "type": "ThisExpression", "range": [ - 2320, - 2324 + 2364, + 2368 ], "loc": { "start": { - "line": 95, + "line": 96, "column": 8 }, "end": { - "line": 95, + "line": 96, "column": 12 } } @@ -3504,31 +3648,31 @@ "type": "Identifier", "name": "btnTgtId", "range": [ - 2325, - 2333 + 2369, + 2377 ], "loc": { "start": { - "line": 95, + "line": 96, "column": 13 }, "end": { - "line": 95, + "line": 96, "column": 21 } } }, "range": [ - 2320, - 2333 + 2364, + 2377 ], "loc": { "start": { - "line": 95, + "line": 96, "column": 8 }, "end": { - "line": 95, + "line": 96, "column": 21 } } @@ -3543,16 +3687,16 @@ "type": "Identifier", "name": "f", "range": [ - 2336, - 2337 + 2380, + 2381 ], "loc": { "start": { - "line": 95, + "line": 96, "column": 24 }, "end": { - "line": 95, + "line": 96, "column": 25 } } @@ -3561,31 +3705,31 @@ "type": "Identifier", "name": "btn_target_id", "range": [ - 2338, - 2351 + 2382, + 2395 ], "loc": { "start": { - "line": 95, + "line": 96, "column": 26 }, "end": { - "line": 95, + "line": 96, "column": 39 } } }, "range": [ - 2336, - 2351 + 2380, + 2395 ], "loc": { "start": { - "line": 95, + "line": 96, "column": 24 }, "end": { - "line": 95, + "line": 96, "column": 39 } } @@ -3595,61 +3739,61 @@ "value": null, "raw": "null", "range": [ - 2355, - 2359 + 2399, + 2403 ], "loc": { "start": { - "line": 95, + "line": 96, "column": 43 }, "end": { - "line": 95, + "line": 96, "column": 47 } } }, "range": [ - 2336, - 2359 + 2380, + 2403 ], "loc": { "start": { - "line": 95, + "line": 96, "column": 24 }, "end": { - "line": 95, + "line": 96, "column": 47 } } }, "range": [ - 2320, - 2359 + 2364, + 2403 ], "loc": { "start": { - "line": 95, + "line": 96, "column": 8 }, "end": { - "line": 95, + "line": 96, "column": 47 } } }, "range": [ - 2320, - 2360 + 2364, + 2404 ], "loc": { "start": { - "line": 95, + "line": 96, "column": 8 }, "end": { - "line": 95, + "line": 96, "column": 48 } }, @@ -3658,16 +3802,16 @@ "type": "Block", "value": "*\n * ID of button's container element\n * @type {String}\n ", "range": [ - 2226, - 2311 + 2270, + 2355 ], "loc": { "start": { - "line": 91, + "line": 92, "column": 8 }, "end": { - "line": 94, + "line": 95, "column": 11 } } @@ -3678,16 +3822,16 @@ "type": "Block", "value": "*\n * Button's text, defaults to Columns▼\n * @type {String}\n ", "range": [ - 2370, - 2464 + 2414, + 2508 ], "loc": { "start": { - "line": 97, + "line": 98, "column": 8 }, "end": { - "line": 100, + "line": 101, "column": 11 } } @@ -3705,16 +3849,16 @@ "object": { "type": "ThisExpression", "range": [ - 2473, - 2477 + 2517, + 2521 ], "loc": { "start": { - "line": 101, + "line": 102, "column": 8 }, "end": { - "line": 101, + "line": 102, "column": 12 } } @@ -3723,31 +3867,31 @@ "type": "Identifier", "name": "btnText", "range": [ - 2478, - 2485 + 2522, + 2529 ], "loc": { "start": { - "line": 101, + "line": 102, "column": 13 }, "end": { - "line": 101, + "line": 102, "column": 20 } } }, "range": [ - 2473, - 2485 + 2517, + 2529 ], "loc": { "start": { - "line": 101, + "line": 102, "column": 8 }, "end": { - "line": 101, + "line": 102, "column": 20 } } @@ -3762,16 +3906,16 @@ "type": "Identifier", "name": "f", "range": [ - 2488, - 2489 + 2532, + 2533 ], "loc": { "start": { - "line": 101, + "line": 102, "column": 23 }, "end": { - "line": 101, + "line": 102, "column": 24 } } @@ -3780,31 +3924,31 @@ "type": "Identifier", "name": "btn_text", "range": [ - 2490, - 2498 + 2534, + 2542 ], "loc": { "start": { - "line": 101, + "line": 102, "column": 25 }, "end": { - "line": 101, + "line": 102, "column": 33 } } }, "range": [ - 2488, - 2498 + 2532, + 2542 ], "loc": { "start": { - "line": 101, + "line": 102, "column": 23 }, "end": { - "line": 101, + "line": 102, "column": 33 } } @@ -3814,61 +3958,61 @@ "value": "Columns▼", "raw": "'Columns▼'", "range": [ - 2502, - 2518 + 2546, + 2562 ], "loc": { "start": { - "line": 101, + "line": 102, "column": 37 }, "end": { - "line": 101, + "line": 102, "column": 53 } } }, "range": [ - 2488, - 2518 + 2532, + 2562 ], "loc": { "start": { - "line": 101, + "line": 102, "column": 23 }, "end": { - "line": 101, + "line": 102, "column": 53 } } }, "range": [ - 2473, - 2518 + 2517, + 2562 ], "loc": { "start": { - "line": 101, + "line": 102, "column": 8 }, "end": { - "line": 101, + "line": 102, "column": 53 } } }, "range": [ - 2473, - 2519 + 2517, + 2563 ], "loc": { "start": { - "line": 101, + "line": 102, "column": 8 }, "end": { - "line": 101, + "line": 102, "column": 54 } }, @@ -3877,16 +4021,16 @@ "type": "Block", "value": "*\n * Button's text, defaults to Columns▼\n * @type {String}\n ", "range": [ - 2370, - 2464 + 2414, + 2508 ], "loc": { "start": { - "line": 97, + "line": 98, "column": 8 }, "end": { - "line": 100, + "line": 101, "column": 11 } } @@ -3897,16 +4041,16 @@ "type": "Block", "value": "*\n * Button's inner HTML\n * @type {String}\n ", "range": [ - 2529, - 2601 + 2573, + 2645 ], "loc": { "start": { - "line": 103, + "line": 104, "column": 8 }, "end": { - "line": 106, + "line": 107, "column": 11 } } @@ -3924,16 +4068,16 @@ "object": { "type": "ThisExpression", "range": [ - 2610, - 2614 + 2654, + 2658 ], "loc": { "start": { - "line": 107, + "line": 108, "column": 8 }, "end": { - "line": 107, + "line": 108, "column": 12 } } @@ -3942,31 +4086,31 @@ "type": "Identifier", "name": "btnHtml", "range": [ - 2615, - 2622 + 2659, + 2666 ], "loc": { "start": { - "line": 107, + "line": 108, "column": 13 }, "end": { - "line": 107, + "line": 108, "column": 20 } } }, "range": [ - 2610, - 2622 + 2654, + 2666 ], "loc": { "start": { - "line": 107, + "line": 108, "column": 8 }, "end": { - "line": 107, + "line": 108, "column": 20 } } @@ -3981,16 +4125,16 @@ "type": "Identifier", "name": "f", "range": [ - 2625, - 2626 + 2669, + 2670 ], "loc": { "start": { - "line": 107, + "line": 108, "column": 23 }, "end": { - "line": 107, + "line": 108, "column": 24 } } @@ -3999,31 +4143,31 @@ "type": "Identifier", "name": "btn_html", "range": [ - 2627, - 2635 + 2671, + 2679 ], "loc": { "start": { - "line": 107, + "line": 108, "column": 25 }, "end": { - "line": 107, + "line": 108, "column": 33 } } }, "range": [ - 2625, - 2635 + 2669, + 2679 ], "loc": { "start": { - "line": 107, + "line": 108, "column": 23 }, "end": { - "line": 107, + "line": 108, "column": 33 } } @@ -4033,61 +4177,61 @@ "value": null, "raw": "null", "range": [ - 2639, - 2643 + 2683, + 2687 ], "loc": { "start": { - "line": 107, + "line": 108, "column": 37 }, "end": { - "line": 107, + "line": 108, "column": 41 } } }, "range": [ - 2625, - 2643 + 2669, + 2687 ], "loc": { "start": { - "line": 107, + "line": 108, "column": 23 }, "end": { - "line": 107, + "line": 108, "column": 41 } } }, "range": [ - 2610, - 2643 + 2654, + 2687 ], "loc": { "start": { - "line": 107, + "line": 108, "column": 8 }, "end": { - "line": 107, + "line": 108, "column": 41 } } }, "range": [ - 2610, - 2644 + 2654, + 2688 ], "loc": { "start": { - "line": 107, + "line": 108, "column": 8 }, "end": { - "line": 107, + "line": 108, "column": 42 } }, @@ -4096,16 +4240,16 @@ "type": "Block", "value": "*\n * Button's inner HTML\n * @type {String}\n ", "range": [ - 2529, - 2601 + 2573, + 2645 ], "loc": { "start": { - "line": 103, + "line": 104, "column": 8 }, "end": { - "line": 106, + "line": 107, "column": 11 } } @@ -4116,16 +4260,16 @@ "type": "Block", "value": "*\n * Css class for button\n * @type {String}\n ", "range": [ - 2654, - 2727 + 2698, + 2771 ], "loc": { "start": { - "line": 109, + "line": 110, "column": 8 }, "end": { - "line": 112, + "line": 113, "column": 11 } } @@ -4143,16 +4287,16 @@ "object": { "type": "ThisExpression", "range": [ - 2736, - 2740 + 2780, + 2784 ], "loc": { "start": { - "line": 113, + "line": 114, "column": 8 }, "end": { - "line": 113, + "line": 114, "column": 12 } } @@ -4161,31 +4305,31 @@ "type": "Identifier", "name": "btnCssClass", "range": [ - 2741, - 2752 + 2785, + 2796 ], "loc": { "start": { - "line": 113, + "line": 114, "column": 13 }, "end": { - "line": 113, + "line": 114, "column": 24 } } }, "range": [ - 2736, - 2752 + 2780, + 2796 ], "loc": { "start": { - "line": 113, + "line": 114, "column": 8 }, "end": { - "line": 113, + "line": 114, "column": 24 } } @@ -4200,16 +4344,16 @@ "type": "Identifier", "name": "f", "range": [ - 2755, - 2756 + 2799, + 2800 ], "loc": { "start": { - "line": 113, + "line": 114, "column": 27 }, "end": { - "line": 113, + "line": 114, "column": 28 } } @@ -4218,31 +4362,31 @@ "type": "Identifier", "name": "btn_css_class", "range": [ - 2757, - 2770 + 2801, + 2814 ], "loc": { "start": { - "line": 113, + "line": 114, "column": 29 }, "end": { - "line": 113, + "line": 114, "column": 42 } } }, "range": [ - 2755, - 2770 + 2799, + 2814 ], "loc": { "start": { - "line": 113, + "line": 114, "column": 27 }, "end": { - "line": 113, + "line": 114, "column": 42 } } @@ -4252,61 +4396,61 @@ "value": "colVis", "raw": "'colVis'", "range": [ - 2774, - 2782 + 2818, + 2826 ], "loc": { "start": { - "line": 113, + "line": 114, "column": 46 }, "end": { - "line": 113, + "line": 114, "column": 54 } } }, "range": [ - 2755, - 2782 + 2799, + 2826 ], "loc": { "start": { - "line": 113, + "line": 114, "column": 27 }, "end": { - "line": 113, + "line": 114, "column": 54 } } }, "range": [ - 2736, - 2782 + 2780, + 2826 ], "loc": { "start": { - "line": 113, + "line": 114, "column": 8 }, "end": { - "line": 113, + "line": 114, "column": 54 } } }, "range": [ - 2736, - 2783 + 2780, + 2827 ], "loc": { "start": { - "line": 113, + "line": 114, "column": 8 }, "end": { - "line": 113, + "line": 114, "column": 55 } }, @@ -4315,16 +4459,16 @@ "type": "Block", "value": "*\n * Css class for button\n * @type {String}\n ", "range": [ - 2654, - 2727 + 2698, + 2771 ], "loc": { "start": { - "line": 109, + "line": 110, "column": 8 }, "end": { - "line": 112, + "line": 113, "column": 11 } } @@ -4335,16 +4479,16 @@ "type": "Block", "value": "*\n * Columns manager UI close link text, defaults to 'Close'\n * @type {String}\n ", "range": [ - 2793, - 2901 + 2837, + 2945 ], "loc": { "start": { - "line": 115, + "line": 116, "column": 8 }, "end": { - "line": 118, + "line": 119, "column": 11 } } @@ -4362,16 +4506,16 @@ "object": { "type": "ThisExpression", "range": [ - 2910, - 2914 + 2954, + 2958 ], "loc": { "start": { - "line": 119, + "line": 120, "column": 8 }, "end": { - "line": 119, + "line": 120, "column": 12 } } @@ -4380,31 +4524,31 @@ "type": "Identifier", "name": "btnCloseText", "range": [ - 2915, - 2927 + 2959, + 2971 ], "loc": { "start": { - "line": 119, + "line": 120, "column": 13 }, "end": { - "line": 119, + "line": 120, "column": 25 } } }, "range": [ - 2910, - 2927 + 2954, + 2971 ], "loc": { "start": { - "line": 119, + "line": 120, "column": 8 }, "end": { - "line": 119, + "line": 120, "column": 25 } } @@ -4419,16 +4563,16 @@ "type": "Identifier", "name": "f", "range": [ - 2930, - 2931 + 2974, + 2975 ], "loc": { "start": { - "line": 119, + "line": 120, "column": 28 }, "end": { - "line": 119, + "line": 120, "column": 29 } } @@ -4437,31 +4581,31 @@ "type": "Identifier", "name": "btn_close_text", "range": [ - 2932, - 2946 + 2976, + 2990 ], "loc": { "start": { - "line": 119, + "line": 120, "column": 30 }, "end": { - "line": 119, + "line": 120, "column": 44 } } }, "range": [ - 2930, - 2946 + 2974, + 2990 ], "loc": { "start": { - "line": 119, + "line": 120, "column": 28 }, "end": { - "line": 119, + "line": 120, "column": 44 } } @@ -4471,61 +4615,61 @@ "value": "Close", "raw": "'Close'", "range": [ - 2950, - 2957 + 2994, + 3001 ], "loc": { "start": { - "line": 119, + "line": 120, "column": 48 }, "end": { - "line": 119, + "line": 120, "column": 55 } } }, "range": [ - 2930, - 2957 + 2974, + 3001 ], "loc": { "start": { - "line": 119, + "line": 120, "column": 28 }, "end": { - "line": 119, + "line": 120, "column": 55 } } }, "range": [ - 2910, - 2957 + 2954, + 3001 ], "loc": { "start": { - "line": 119, + "line": 120, "column": 8 }, "end": { - "line": 119, + "line": 120, "column": 55 } } }, "range": [ - 2910, - 2958 + 2954, + 3002 ], "loc": { "start": { - "line": 119, + "line": 120, "column": 8 }, "end": { - "line": 119, + "line": 120, "column": 56 } }, @@ -4534,16 +4678,16 @@ "type": "Block", "value": "*\n * Columns manager UI close link text, defaults to 'Close'\n * @type {String}\n ", "range": [ - 2793, - 2901 + 2837, + 2945 ], "loc": { "start": { - "line": 115, + "line": 116, "column": 8 }, "end": { - "line": 118, + "line": 119, "column": 11 } } @@ -4554,16 +4698,16 @@ "type": "Block", "value": "*\n * Columns manager UI close link HTML\n * @type {String}\n ", "range": [ - 2968, - 3055 + 3012, + 3099 ], "loc": { "start": { - "line": 121, + "line": 122, "column": 8 }, "end": { - "line": 124, + "line": 125, "column": 11 } } @@ -4581,16 +4725,16 @@ "object": { "type": "ThisExpression", "range": [ - 3064, - 3068 + 3108, + 3112 ], "loc": { "start": { - "line": 125, + "line": 126, "column": 8 }, "end": { - "line": 125, + "line": 126, "column": 12 } } @@ -4599,31 +4743,31 @@ "type": "Identifier", "name": "btnCloseHtml", "range": [ - 3069, - 3081 + 3113, + 3125 ], "loc": { "start": { - "line": 125, + "line": 126, "column": 13 }, "end": { - "line": 125, + "line": 126, "column": 25 } } }, "range": [ - 3064, - 3081 + 3108, + 3125 ], "loc": { "start": { - "line": 125, + "line": 126, "column": 8 }, "end": { - "line": 125, + "line": 126, "column": 25 } } @@ -4638,16 +4782,16 @@ "type": "Identifier", "name": "f", "range": [ - 3084, - 3085 + 3128, + 3129 ], "loc": { "start": { - "line": 125, + "line": 126, "column": 28 }, "end": { - "line": 125, + "line": 126, "column": 29 } } @@ -4656,31 +4800,31 @@ "type": "Identifier", "name": "btn_close_html", "range": [ - 3086, - 3100 + 3130, + 3144 ], "loc": { "start": { - "line": 125, + "line": 126, "column": 30 }, "end": { - "line": 125, + "line": 126, "column": 44 } } }, "range": [ - 3084, - 3100 + 3128, + 3144 ], "loc": { "start": { - "line": 125, + "line": 126, "column": 28 }, "end": { - "line": 125, + "line": 126, "column": 44 } } @@ -4690,61 +4834,61 @@ "value": null, "raw": "null", "range": [ - 3104, - 3108 + 3148, + 3152 ], "loc": { "start": { - "line": 125, + "line": 126, "column": 48 }, "end": { - "line": 125, + "line": 126, "column": 52 } } }, "range": [ - 3084, - 3108 + 3128, + 3152 ], "loc": { "start": { - "line": 125, + "line": 126, "column": 28 }, "end": { - "line": 125, + "line": 126, "column": 52 } } }, "range": [ - 3064, - 3108 + 3108, + 3152 ], "loc": { "start": { - "line": 125, + "line": 126, "column": 8 }, "end": { - "line": 125, + "line": 126, "column": 52 } } }, "range": [ - 3064, - 3109 + 3108, + 3153 ], "loc": { "start": { - "line": 125, + "line": 126, "column": 8 }, "end": { - "line": 125, + "line": 126, "column": 53 } }, @@ -4753,16 +4897,16 @@ "type": "Block", "value": "*\n * Columns manager UI close link HTML\n * @type {String}\n ", "range": [ - 2968, - 3055 + 3012, + 3099 ], "loc": { "start": { - "line": 121, + "line": 122, "column": 8 }, "end": { - "line": 124, + "line": 125, "column": 11 } } @@ -4773,16 +4917,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI close link\n * @type {String}\n ", "range": [ - 3119, - 3209 + 3163, + 3253 ], "loc": { "start": { - "line": 127, + "line": 128, "column": 8 }, "end": { - "line": 130, + "line": 131, "column": 11 } } @@ -4800,16 +4944,16 @@ "object": { "type": "ThisExpression", "range": [ - 3218, - 3222 + 3262, + 3266 ], "loc": { "start": { - "line": 131, + "line": 132, "column": 8 }, "end": { - "line": 131, + "line": 132, "column": 12 } } @@ -4818,31 +4962,31 @@ "type": "Identifier", "name": "btnCloseCssClass", "range": [ - 3223, - 3239 + 3267, + 3283 ], "loc": { "start": { - "line": 131, + "line": 132, "column": 13 }, "end": { - "line": 131, + "line": 132, "column": 29 } } }, "range": [ - 3218, - 3239 + 3262, + 3283 ], "loc": { "start": { - "line": 131, + "line": 132, "column": 8 }, "end": { - "line": 131, + "line": 132, "column": 29 } } @@ -4857,16 +5001,16 @@ "type": "Identifier", "name": "f", "range": [ - 3242, - 3243 + 3286, + 3287 ], "loc": { "start": { - "line": 131, + "line": 132, "column": 32 }, "end": { - "line": 131, + "line": 132, "column": 33 } } @@ -4875,31 +5019,31 @@ "type": "Identifier", "name": "btn_close_css_class", "range": [ - 3244, - 3263 + 3288, + 3307 ], "loc": { "start": { - "line": 131, + "line": 132, "column": 34 }, "end": { - "line": 131, + "line": 132, "column": 53 } } }, "range": [ - 3242, - 3263 + 3286, + 3307 ], "loc": { "start": { - "line": 131, + "line": 132, "column": 32 }, "end": { - "line": 131, + "line": 132, "column": 53 } } @@ -4910,16 +5054,16 @@ "object": { "type": "ThisExpression", "range": [ - 3267, - 3271 + 3311, + 3315 ], "loc": { "start": { - "line": 131, + "line": 132, "column": 57 }, "end": { - "line": 131, + "line": 132, "column": 61 } } @@ -4928,76 +5072,76 @@ "type": "Identifier", "name": "btnCssClass", "range": [ - 3272, - 3283 + 3316, + 3327 ], "loc": { "start": { - "line": 131, + "line": 132, "column": 62 }, "end": { - "line": 131, + "line": 132, "column": 73 } } }, "range": [ - 3267, - 3283 + 3311, + 3327 ], "loc": { "start": { - "line": 131, + "line": 132, "column": 57 }, "end": { - "line": 131, + "line": 132, "column": 73 } } }, "range": [ - 3242, - 3283 + 3286, + 3327 ], "loc": { "start": { - "line": 131, + "line": 132, "column": 32 }, "end": { - "line": 131, + "line": 132, "column": 73 } } }, "range": [ - 3218, - 3283 + 3262, + 3327 ], "loc": { "start": { - "line": 131, + "line": 132, "column": 8 }, "end": { - "line": 131, + "line": 132, "column": 73 } } }, "range": [ - 3218, - 3284 + 3262, + 3328 ], "loc": { "start": { - "line": 131, + "line": 132, "column": 8 }, "end": { - "line": 131, + "line": 132, "column": 74 } }, @@ -5006,16 +5150,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI close link\n * @type {String}\n ", "range": [ - 3119, - 3209 + 3163, + 3253 ], "loc": { "start": { - "line": 127, + "line": 128, "column": 8 }, "end": { - "line": 130, + "line": 131, "column": 11 } } @@ -5026,16 +5170,16 @@ "type": "Block", "value": "*\n * Extension's stylesheet filename\n * @type {String}\n ", "range": [ - 3294, - 3378 + 3338, + 3422 ], "loc": { "start": { - "line": 133, + "line": 134, "column": 8 }, "end": { - "line": 136, + "line": 137, "column": 11 } } @@ -5053,16 +5197,16 @@ "object": { "type": "ThisExpression", "range": [ - 3387, - 3391 + 3431, + 3435 ], "loc": { "start": { - "line": 137, + "line": 138, "column": 8 }, "end": { - "line": 137, + "line": 138, "column": 12 } } @@ -5071,31 +5215,31 @@ "type": "Identifier", "name": "stylesheet", "range": [ - 3392, - 3402 + 3436, + 3446 ], "loc": { "start": { - "line": 137, + "line": 138, "column": 13 }, "end": { - "line": 137, + "line": 138, "column": 23 } } }, "range": [ - 3387, - 3402 + 3431, + 3446 ], "loc": { "start": { - "line": 137, + "line": 138, "column": 8 }, "end": { - "line": 137, + "line": 138, "column": 23 } } @@ -5110,16 +5254,16 @@ "type": "Identifier", "name": "f", "range": [ - 3405, - 3406 + 3449, + 3450 ], "loc": { "start": { - "line": 137, + "line": 138, "column": 26 }, "end": { - "line": 137, + "line": 138, "column": 27 } } @@ -5128,31 +5272,31 @@ "type": "Identifier", "name": "stylesheet", "range": [ - 3407, - 3417 + 3451, + 3461 ], "loc": { "start": { - "line": 137, + "line": 138, "column": 28 }, "end": { - "line": 137, + "line": 138, "column": 38 } } }, "range": [ - 3405, - 3417 + 3449, + 3461 ], "loc": { "start": { - "line": 137, + "line": 138, "column": 26 }, "end": { - "line": 137, + "line": 138, "column": 38 } } @@ -5162,61 +5306,61 @@ "value": "colsVisibility.css", "raw": "'colsVisibility.css'", "range": [ - 3421, - 3441 + 3465, + 3485 ], "loc": { "start": { - "line": 137, + "line": 138, "column": 42 }, "end": { - "line": 137, + "line": 138, "column": 62 } } }, "range": [ - 3405, - 3441 + 3449, + 3485 ], "loc": { "start": { - "line": 137, + "line": 138, "column": 26 }, "end": { - "line": 137, + "line": 138, "column": 62 } } }, "range": [ - 3387, - 3441 + 3431, + 3485 ], "loc": { "start": { - "line": 137, + "line": 138, "column": 8 }, "end": { - "line": 137, + "line": 138, "column": 62 } } }, "range": [ - 3387, - 3442 + 3431, + 3486 ], "loc": { "start": { - "line": 137, + "line": 138, "column": 8 }, "end": { - "line": 137, + "line": 138, "column": 63 } }, @@ -5225,16 +5369,16 @@ "type": "Block", "value": "*\n * Extension's stylesheet filename\n * @type {String}\n ", "range": [ - 3294, - 3378 + 3338, + 3422 ], "loc": { "start": { - "line": 133, + "line": 134, "column": 8 }, "end": { - "line": 136, + "line": 137, "column": 11 } } @@ -5245,16 +5389,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI span\n * @type {String}\n ", "range": [ - 3452, - 3536 + 3496, + 3580 ], "loc": { "start": { - "line": 139, + "line": 140, "column": 8 }, "end": { - "line": 142, + "line": 143, "column": 11 } } @@ -5272,16 +5416,16 @@ "object": { "type": "ThisExpression", "range": [ - 3545, - 3549 + 3589, + 3593 ], "loc": { "start": { - "line": 143, + "line": 144, "column": 8 }, "end": { - "line": 143, + "line": 144, "column": 12 } } @@ -5290,31 +5434,31 @@ "type": "Identifier", "name": "spanCssClass", "range": [ - 3550, - 3562 + 3594, + 3606 ], "loc": { "start": { - "line": 143, + "line": 144, "column": 13 }, "end": { - "line": 143, + "line": 144, "column": 25 } } }, "range": [ - 3545, - 3562 + 3589, + 3606 ], "loc": { "start": { - "line": 143, + "line": 144, "column": 8 }, "end": { - "line": 143, + "line": 144, "column": 25 } } @@ -5329,16 +5473,16 @@ "type": "Identifier", "name": "f", "range": [ - 3565, - 3566 + 3609, + 3610 ], "loc": { "start": { - "line": 143, + "line": 144, "column": 28 }, "end": { - "line": 143, + "line": 144, "column": 29 } } @@ -5347,31 +5491,31 @@ "type": "Identifier", "name": "span_css_class", "range": [ - 3567, - 3581 + 3611, + 3625 ], "loc": { "start": { - "line": 143, + "line": 144, "column": 30 }, "end": { - "line": 143, + "line": 144, "column": 44 } } }, "range": [ - 3565, - 3581 + 3609, + 3625 ], "loc": { "start": { - "line": 143, + "line": 144, "column": 28 }, "end": { - "line": 143, + "line": 144, "column": 44 } } @@ -5381,61 +5525,61 @@ "value": "colVisSpan", "raw": "'colVisSpan'", "range": [ - 3585, - 3597 + 3629, + 3641 ], "loc": { "start": { - "line": 143, + "line": 144, "column": 48 }, "end": { - "line": 143, + "line": 144, "column": 60 } } }, "range": [ - 3565, - 3597 + 3609, + 3641 ], "loc": { "start": { - "line": 143, + "line": 144, "column": 28 }, "end": { - "line": 143, + "line": 144, "column": 60 } } }, "range": [ - 3545, - 3597 + 3589, + 3641 ], "loc": { "start": { - "line": 143, + "line": 144, "column": 8 }, "end": { - "line": 143, + "line": 144, "column": 60 } } }, "range": [ - 3545, - 3598 + 3589, + 3642 ], "loc": { "start": { - "line": 143, + "line": 144, "column": 8 }, "end": { - "line": 143, + "line": 144, "column": 61 } }, @@ -5444,16 +5588,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI span\n * @type {String}\n ", "range": [ - 3452, - 3536 + 3496, + 3580 ], "loc": { "start": { - "line": 139, + "line": 140, "column": 8 }, "end": { - "line": 142, + "line": 143, "column": 11 } } @@ -5464,16 +5608,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI main container\n * @type {String}\n ", "range": [ - 3608, - 3702 + 3652, + 3746 ], "loc": { "start": { - "line": 145, + "line": 146, "column": 8 }, "end": { - "line": 148, + "line": 149, "column": 11 } } @@ -5491,16 +5635,16 @@ "object": { "type": "ThisExpression", "range": [ - 3711, - 3715 + 3755, + 3759 ], "loc": { "start": { - "line": 149, + "line": 150, "column": 8 }, "end": { - "line": 149, + "line": 150, "column": 12 } } @@ -5509,31 +5653,31 @@ "type": "Identifier", "name": "contCssClass", "range": [ - 3716, - 3728 + 3760, + 3772 ], "loc": { "start": { - "line": 149, + "line": 150, "column": 13 }, "end": { - "line": 149, + "line": 150, "column": 25 } } }, "range": [ - 3711, - 3728 + 3755, + 3772 ], "loc": { "start": { - "line": 149, + "line": 150, "column": 8 }, "end": { - "line": 149, + "line": 150, "column": 25 } } @@ -5548,16 +5692,16 @@ "type": "Identifier", "name": "f", "range": [ - 3731, - 3732 + 3775, + 3776 ], "loc": { "start": { - "line": 149, + "line": 150, "column": 28 }, "end": { - "line": 149, + "line": 150, "column": 29 } } @@ -5566,31 +5710,31 @@ "type": "Identifier", "name": "cont_css_class", "range": [ - 3733, - 3747 + 3777, + 3791 ], "loc": { "start": { - "line": 149, + "line": 150, "column": 30 }, "end": { - "line": 149, + "line": 150, "column": 44 } } }, "range": [ - 3731, - 3747 + 3775, + 3791 ], "loc": { "start": { - "line": 149, + "line": 150, "column": 28 }, "end": { - "line": 149, + "line": 150, "column": 44 } } @@ -5600,61 +5744,61 @@ "value": "colVisCont", "raw": "'colVisCont'", "range": [ - 3751, - 3763 + 3795, + 3807 ], "loc": { "start": { - "line": 149, + "line": 150, "column": 48 }, "end": { - "line": 149, + "line": 150, "column": 60 } } }, "range": [ - 3731, - 3763 + 3775, + 3807 ], "loc": { "start": { - "line": 149, + "line": 150, "column": 28 }, "end": { - "line": 149, + "line": 150, "column": 60 } } }, "range": [ - 3711, - 3763 + 3755, + 3807 ], "loc": { "start": { - "line": 149, + "line": 150, "column": 8 }, "end": { - "line": 149, + "line": 150, "column": 60 } } }, "range": [ - 3711, - 3764 + 3755, + 3808 ], "loc": { "start": { - "line": 149, + "line": 150, "column": 8 }, "end": { - "line": 149, + "line": 150, "column": 61 } }, @@ -5663,16 +5807,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI main container\n * @type {String}\n ", "range": [ - 3608, - 3702 + 3652, + 3746 ], "loc": { "start": { - "line": 145, + "line": 146, "column": 8 }, "end": { - "line": 148, + "line": 149, "column": 11 } } @@ -5683,16 +5827,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI checklist (ul)\n * @type {String}\n ", "range": [ - 3774, - 3868 + 3818, + 3912 ], "loc": { "start": { - "line": 151, + "line": 152, "column": 8 }, "end": { - "line": 154, + "line": 155, "column": 11 } } @@ -5710,16 +5854,16 @@ "object": { "type": "ThisExpression", "range": [ - 3877, - 3881 + 3921, + 3925 ], "loc": { "start": { - "line": 155, + "line": 156, "column": 8 }, "end": { - "line": 155, + "line": 156, "column": 12 } } @@ -5728,31 +5872,31 @@ "type": "Identifier", "name": "listCssClass", "range": [ - 3882, - 3894 + 3926, + 3938 ], "loc": { "start": { - "line": 155, + "line": 156, "column": 13 }, "end": { - "line": 155, + "line": 156, "column": 25 } } }, "range": [ - 3877, - 3894 + 3921, + 3938 ], "loc": { "start": { - "line": 155, + "line": 156, "column": 8 }, "end": { - "line": 155, + "line": 156, "column": 25 } } @@ -5767,16 +5911,16 @@ "type": "Identifier", "name": "cfg", "range": [ - 3897, - 3900 + 3941, + 3944 ], "loc": { "start": { - "line": 155, + "line": 156, "column": 28 }, "end": { - "line": 155, + "line": 156, "column": 31 } } @@ -5785,31 +5929,31 @@ "type": "Identifier", "name": "list_css_class", "range": [ - 3901, - 3915 + 3945, + 3959 ], "loc": { "start": { - "line": 155, + "line": 156, "column": 32 }, "end": { - "line": 155, + "line": 156, "column": 46 } } }, "range": [ - 3897, - 3915 + 3941, + 3959 ], "loc": { "start": { - "line": 155, + "line": 156, "column": 28 }, "end": { - "line": 155, + "line": 156, "column": 46 } } @@ -5819,61 +5963,61 @@ "value": "cols_checklist", "raw": "'cols_checklist'", "range": [ - 3919, - 3935 + 3963, + 3979 ], "loc": { "start": { - "line": 155, + "line": 156, "column": 50 }, "end": { - "line": 155, + "line": 156, "column": 66 } } }, "range": [ - 3897, - 3935 + 3941, + 3979 ], "loc": { "start": { - "line": 155, + "line": 156, "column": 28 }, "end": { - "line": 155, + "line": 156, "column": 66 } } }, "range": [ - 3877, - 3935 + 3921, + 3979 ], "loc": { "start": { - "line": 155, + "line": 156, "column": 8 }, "end": { - "line": 155, + "line": 156, "column": 66 } } }, "range": [ - 3877, - 3936 + 3921, + 3980 ], "loc": { "start": { - "line": 155, + "line": 156, "column": 8 }, "end": { - "line": 155, + "line": 156, "column": 67 } }, @@ -5882,16 +6026,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI checklist (ul)\n * @type {String}\n ", "range": [ - 3774, - 3868 + 3818, + 3912 ], "loc": { "start": { - "line": 151, + "line": 152, "column": 8 }, "end": { - "line": 154, + "line": 155, "column": 11 } } @@ -5902,16 +6046,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI checklist item (li)\n * @type {String}\n ", "range": [ - 3946, - 4045 + 3990, + 4089 ], "loc": { "start": { - "line": 157, + "line": 158, "column": 8 }, "end": { - "line": 160, + "line": 161, "column": 11 } } @@ -5929,16 +6073,16 @@ "object": { "type": "ThisExpression", "range": [ - 4054, - 4058 + 4098, + 4102 ], "loc": { "start": { - "line": 161, + "line": 162, "column": 8 }, "end": { - "line": 161, + "line": 162, "column": 12 } } @@ -5947,31 +6091,31 @@ "type": "Identifier", "name": "listItemCssClass", "range": [ - 4059, - 4075 + 4103, + 4119 ], "loc": { "start": { - "line": 161, + "line": 162, "column": 13 }, "end": { - "line": 161, + "line": 162, "column": 29 } } }, "range": [ - 4054, - 4075 + 4098, + 4119 ], "loc": { "start": { - "line": 161, + "line": 162, "column": 8 }, "end": { - "line": 161, + "line": 162, "column": 29 } } @@ -5986,16 +6130,16 @@ "type": "Identifier", "name": "cfg", "range": [ - 4078, - 4081 + 4122, + 4125 ], "loc": { "start": { - "line": 161, + "line": 162, "column": 32 }, "end": { - "line": 161, + "line": 162, "column": 35 } } @@ -6004,31 +6148,31 @@ "type": "Identifier", "name": "checklist_item_css_class", "range": [ - 4082, - 4106 + 4126, + 4150 ], "loc": { "start": { - "line": 161, + "line": 162, "column": 36 }, "end": { - "line": 161, + "line": 162, "column": 60 } } }, "range": [ - 4078, - 4106 + 4122, + 4150 ], "loc": { "start": { - "line": 161, + "line": 162, "column": 32 }, "end": { - "line": 161, + "line": 162, "column": 60 } } @@ -6038,61 +6182,61 @@ "value": "cols_checklist_item", "raw": "'cols_checklist_item'", "range": [ - 4122, - 4143 + 4166, + 4187 ], "loc": { "start": { - "line": 162, + "line": 163, "column": 12 }, "end": { - "line": 162, + "line": 163, "column": 33 } } }, "range": [ - 4078, - 4143 + 4122, + 4187 ], "loc": { "start": { - "line": 161, + "line": 162, "column": 32 }, "end": { - "line": 162, + "line": 163, "column": 33 } } }, "range": [ - 4054, - 4143 + 4098, + 4187 ], "loc": { "start": { - "line": 161, + "line": 162, "column": 8 }, "end": { - "line": 162, + "line": 163, "column": 33 } } }, "range": [ - 4054, - 4144 + 4098, + 4188 ], "loc": { "start": { - "line": 161, + "line": 162, "column": 8 }, "end": { - "line": 162, + "line": 163, "column": 34 } }, @@ -6101,16 +6245,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI checklist item (li)\n * @type {String}\n ", "range": [ - 3946, - 4045 + 3990, + 4089 ], "loc": { "start": { - "line": 157, + "line": 158, "column": 8 }, "end": { - "line": 160, + "line": 161, "column": 11 } } @@ -6121,16 +6265,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI checklist item selected state (li)\n * @type {String}\n ", "range": [ - 4154, - 4268 + 4198, + 4312 ], "loc": { "start": { - "line": 164, + "line": 165, "column": 8 }, "end": { - "line": 167, + "line": 168, "column": 11 } } @@ -6148,16 +6292,16 @@ "object": { "type": "ThisExpression", "range": [ - 4277, - 4281 + 4321, + 4325 ], "loc": { "start": { - "line": 168, + "line": 169, "column": 8 }, "end": { - "line": 168, + "line": 169, "column": 12 } } @@ -6166,31 +6310,31 @@ "type": "Identifier", "name": "listSlcItemCssClass", "range": [ - 4282, - 4301 + 4326, + 4345 ], "loc": { "start": { - "line": 168, + "line": 169, "column": 13 }, "end": { - "line": 168, + "line": 169, "column": 32 } } }, "range": [ - 4277, - 4301 + 4321, + 4345 ], "loc": { "start": { - "line": 168, + "line": 169, "column": 8 }, "end": { - "line": 168, + "line": 169, "column": 32 } } @@ -6205,16 +6349,16 @@ "type": "Identifier", "name": "cfg", "range": [ - 4304, - 4307 + 4348, + 4351 ], "loc": { "start": { - "line": 168, + "line": 169, "column": 35 }, "end": { - "line": 168, + "line": 169, "column": 38 } } @@ -6223,31 +6367,31 @@ "type": "Identifier", "name": "checklist_selected_item_css_class", "range": [ - 4308, - 4341 + 4352, + 4385 ], "loc": { "start": { - "line": 168, + "line": 169, "column": 39 }, "end": { - "line": 168, + "line": 169, "column": 72 } } }, "range": [ - 4304, - 4341 + 4348, + 4385 ], "loc": { "start": { - "line": 168, + "line": 169, "column": 35 }, "end": { - "line": 168, + "line": 169, "column": 72 } } @@ -6257,61 +6401,61 @@ "value": "cols_checklist_slc_item", "raw": "'cols_checklist_slc_item'", "range": [ - 4357, - 4382 + 4401, + 4426 ], "loc": { "start": { - "line": 169, + "line": 170, "column": 12 }, "end": { - "line": 169, + "line": 170, "column": 37 } } }, "range": [ - 4304, - 4382 + 4348, + 4426 ], "loc": { "start": { - "line": 168, + "line": 169, "column": 35 }, "end": { - "line": 169, + "line": 170, "column": 37 } } }, "range": [ - 4277, - 4382 + 4321, + 4426 ], "loc": { "start": { - "line": 168, + "line": 169, "column": 8 }, "end": { - "line": 169, + "line": 170, "column": 37 } } }, "range": [ - 4277, - 4383 + 4321, + 4427 ], "loc": { "start": { - "line": 168, + "line": 169, "column": 8 }, "end": { - "line": 169, + "line": 170, "column": 38 } }, @@ -6320,16 +6464,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI checklist item selected state (li)\n * @type {String}\n ", "range": [ - 4154, - 4268 + 4198, + 4312 ], "loc": { "start": { - "line": 164, + "line": 165, "column": 8 }, "end": { - "line": 167, + "line": 168, "column": 11 } } @@ -6340,16 +6484,16 @@ "type": "Block", "value": "*\n * Text preceding the columns list, defaults to 'Hide' or 'Show'\n * depending on tick mode (tick_to_hide option)\n * @type {String}\n ", "range": [ - 4393, - 4563 + 4437, + 4607 ], "loc": { "start": { - "line": 171, + "line": 172, "column": 8 }, "end": { - "line": 175, + "line": 176, "column": 11 } } @@ -6367,16 +6511,16 @@ "object": { "type": "ThisExpression", "range": [ - 4572, - 4576 + 4616, + 4620 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 8 }, "end": { - "line": 176, + "line": 177, "column": 12 } } @@ -6385,31 +6529,31 @@ "type": "Identifier", "name": "text", "range": [ - 4577, - 4581 + 4621, + 4625 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 13 }, "end": { - "line": 176, + "line": 177, "column": 17 } } }, "range": [ - 4572, - 4581 + 4616, + 4625 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 8 }, "end": { - "line": 176, + "line": 177, "column": 17 } } @@ -6424,16 +6568,16 @@ "type": "Identifier", "name": "f", "range": [ - 4584, - 4585 + 4628, + 4629 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 20 }, "end": { - "line": 176, + "line": 177, "column": 21 } } @@ -6442,31 +6586,31 @@ "type": "Identifier", "name": "text", "range": [ - 4586, - 4590 + 4630, + 4634 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 22 }, "end": { - "line": 176, + "line": 177, "column": 26 } } }, "range": [ - 4584, - 4590 + 4628, + 4634 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 20 }, "end": { - "line": 176, + "line": 177, "column": 26 } } @@ -6479,16 +6623,16 @@ "object": { "type": "ThisExpression", "range": [ - 4595, - 4599 + 4639, + 4643 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 31 }, "end": { - "line": 176, + "line": 177, "column": 35 } } @@ -6497,31 +6641,31 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 4600, - 4610 + 4644, + 4654 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 36 }, "end": { - "line": 176, + "line": 177, "column": 46 } } }, "range": [ - 4595, - 4610 + 4639, + 4654 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 31 }, "end": { - "line": 176, + "line": 177, "column": 46 } } @@ -6531,16 +6675,16 @@ "value": "Hide: ", "raw": "'Hide: '", "range": [ - 4613, - 4621 + 4657, + 4665 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 49 }, "end": { - "line": 176, + "line": 177, "column": 57 } } @@ -6550,76 +6694,76 @@ "value": "Show: ", "raw": "'Show: '", "range": [ - 4624, - 4632 + 4668, + 4676 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 60 }, "end": { - "line": 176, + "line": 177, "column": 68 } } }, "range": [ - 4595, - 4632 + 4639, + 4676 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 31 }, "end": { - "line": 176, + "line": 177, "column": 68 } } }, "range": [ - 4584, - 4633 + 4628, + 4677 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 20 }, "end": { - "line": 176, + "line": 177, "column": 69 } } }, "range": [ - 4572, - 4633 + 4616, + 4677 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 8 }, "end": { - "line": 176, + "line": 177, "column": 69 } } }, "range": [ - 4572, - 4634 + 4616, + 4678 ], "loc": { "start": { - "line": 176, + "line": 177, "column": 8 }, "end": { - "line": 176, + "line": 177, "column": 70 } }, @@ -6628,16 +6772,16 @@ "type": "Block", "value": "*\n * Text preceding the columns list, defaults to 'Hide' or 'Show'\n * depending on tick mode (tick_to_hide option)\n * @type {String}\n ", "range": [ - 4393, - 4563 + 4437, + 4607 ], "loc": { "start": { - "line": 171, + "line": 172, "column": 8 }, "end": { - "line": 175, + "line": 176, "column": 11 } } @@ -6648,16 +6792,16 @@ "type": "Block", "value": "*\n * List of columns indexes to be hidden at initialization\n * @type {Array}\n ", "range": [ - 4644, - 4750 + 4688, + 4794 ], "loc": { "start": { - "line": 178, + "line": 179, "column": 8 }, "end": { - "line": 181, + "line": 182, "column": 11 } } @@ -6675,16 +6819,16 @@ "object": { "type": "ThisExpression", "range": [ - 4759, - 4763 + 4803, + 4807 ], "loc": { "start": { - "line": 182, + "line": 183, "column": 8 }, "end": { - "line": 182, + "line": 183, "column": 12 } } @@ -6693,31 +6837,31 @@ "type": "Identifier", "name": "atStart", "range": [ - 4764, - 4771 + 4808, + 4815 ], "loc": { "start": { - "line": 182, + "line": 183, "column": 13 }, "end": { - "line": 182, + "line": 183, "column": 20 } } }, "range": [ - 4759, - 4771 + 4803, + 4815 ], "loc": { "start": { - "line": 182, + "line": 183, "column": 8 }, "end": { - "line": 182, + "line": 183, "column": 20 } } @@ -6732,16 +6876,16 @@ "type": "Identifier", "name": "f", "range": [ - 4774, - 4775 + 4818, + 4819 ], "loc": { "start": { - "line": 182, + "line": 183, "column": 23 }, "end": { - "line": 182, + "line": 183, "column": 24 } } @@ -6750,31 +6894,31 @@ "type": "Identifier", "name": "at_start", "range": [ - 4776, - 4784 + 4820, + 4828 ], "loc": { "start": { - "line": 182, + "line": 183, "column": 25 }, "end": { - "line": 182, + "line": 183, "column": 33 } } }, "range": [ - 4774, - 4784 + 4818, + 4828 ], "loc": { "start": { - "line": 182, + "line": 183, "column": 23 }, "end": { - "line": 182, + "line": 183, "column": 33 } } @@ -6783,61 +6927,61 @@ "type": "ArrayExpression", "elements": [], "range": [ - 4788, - 4790 + 4832, + 4834 ], "loc": { "start": { - "line": 182, + "line": 183, "column": 37 }, "end": { - "line": 182, + "line": 183, "column": 39 } } }, "range": [ - 4774, - 4790 + 4818, + 4834 ], "loc": { "start": { - "line": 182, + "line": 183, "column": 23 }, "end": { - "line": 182, + "line": 183, "column": 39 } } }, "range": [ - 4759, - 4790 + 4803, + 4834 ], "loc": { "start": { - "line": 182, + "line": 183, "column": 8 }, "end": { - "line": 182, + "line": 183, "column": 39 } } }, "range": [ - 4759, - 4791 + 4803, + 4835 ], "loc": { "start": { - "line": 182, + "line": 183, "column": 8 }, "end": { - "line": 182, + "line": 183, "column": 40 } }, @@ -6846,16 +6990,16 @@ "type": "Block", "value": "*\n * List of columns indexes to be hidden at initialization\n * @type {Array}\n ", "range": [ - 4644, - 4750 + 4688, + 4794 ], "loc": { "start": { - "line": 178, + "line": 179, "column": 8 }, "end": { - "line": 181, + "line": 182, "column": 11 } } @@ -6866,16 +7010,16 @@ "type": "Block", "value": "*\n * Enable hover behaviour on columns manager button/link\n * @type {Boolean}\n ", "range": [ - 4801, - 4908 + 4845, + 4952 ], "loc": { "start": { - "line": 184, + "line": 185, "column": 8 }, "end": { - "line": 187, + "line": 188, "column": 11 } } @@ -6893,16 +7037,16 @@ "object": { "type": "ThisExpression", "range": [ - 4917, - 4921 + 4961, + 4965 ], "loc": { "start": { - "line": 188, + "line": 189, "column": 8 }, "end": { - "line": 188, + "line": 189, "column": 12 } } @@ -6911,31 +7055,31 @@ "type": "Identifier", "name": "enableHover", "range": [ - 4922, - 4933 + 4966, + 4977 ], "loc": { "start": { - "line": 188, + "line": 189, "column": 13 }, "end": { - "line": 188, + "line": 189, "column": 24 } } }, "range": [ - 4917, - 4933 + 4961, + 4977 ], "loc": { "start": { - "line": 188, + "line": 189, "column": 8 }, "end": { - "line": 188, + "line": 189, "column": 24 } } @@ -6946,16 +7090,16 @@ "type": "Identifier", "name": "Boolean", "range": [ - 4936, - 4943 + 4980, + 4987 ], "loc": { "start": { - "line": 188, + "line": 189, "column": 27 }, "end": { - "line": 188, + "line": 189, "column": 34 } } @@ -6968,16 +7112,16 @@ "type": "Identifier", "name": "f", "range": [ - 4944, - 4945 + 4988, + 4989 ], "loc": { "start": { - "line": 188, + "line": 189, "column": 35 }, "end": { - "line": 188, + "line": 189, "column": 36 } } @@ -6986,77 +7130,77 @@ "type": "Identifier", "name": "enable_hover", "range": [ - 4946, - 4958 + 4990, + 5002 ], "loc": { "start": { - "line": 188, + "line": 189, "column": 37 }, "end": { - "line": 188, + "line": 189, "column": 49 } } }, "range": [ - 4944, - 4958 + 4988, + 5002 ], "loc": { "start": { - "line": 188, + "line": 189, "column": 35 }, "end": { - "line": 188, + "line": 189, "column": 49 } } } ], "range": [ - 4936, - 4959 + 4980, + 5003 ], "loc": { "start": { - "line": 188, + "line": 189, "column": 27 }, "end": { - "line": 188, + "line": 189, "column": 50 } } }, "range": [ - 4917, - 4959 + 4961, + 5003 ], "loc": { "start": { - "line": 188, + "line": 189, "column": 8 }, "end": { - "line": 188, + "line": 189, "column": 50 } } }, "range": [ - 4917, - 4960 + 4961, + 5004 ], "loc": { "start": { - "line": 188, + "line": 189, "column": 8 }, "end": { - "line": 188, + "line": 189, "column": 51 } }, @@ -7065,16 +7209,16 @@ "type": "Block", "value": "*\n * Enable hover behaviour on columns manager button/link\n * @type {Boolean}\n ", "range": [ - 4801, - 4908 + 4845, + 4952 ], "loc": { "start": { - "line": 184, + "line": 185, "column": 8 }, "end": { - "line": 187, + "line": 188, "column": 11 } } @@ -7085,16 +7229,16 @@ "type": "Block", "value": "*\n * Enable select all option, disabled by default\n * @type {Boolean}\n ", "range": [ - 4970, - 5069 + 5014, + 5113 ], "loc": { "start": { - "line": 190, + "line": 191, "column": 8 }, "end": { - "line": 193, + "line": 194, "column": 11 } } @@ -7112,16 +7256,16 @@ "object": { "type": "ThisExpression", "range": [ - 5078, - 5082 + 5122, + 5126 ], "loc": { "start": { - "line": 194, + "line": 195, "column": 8 }, "end": { - "line": 194, + "line": 195, "column": 12 } } @@ -7130,31 +7274,31 @@ "type": "Identifier", "name": "enableTickAll", "range": [ - 5083, - 5096 + 5127, + 5140 ], "loc": { "start": { - "line": 194, + "line": 195, "column": 13 }, "end": { - "line": 194, + "line": 195, "column": 26 } } }, "range": [ - 5078, - 5096 + 5122, + 5140 ], "loc": { "start": { - "line": 194, + "line": 195, "column": 8 }, "end": { - "line": 194, + "line": 195, "column": 26 } } @@ -7165,16 +7309,16 @@ "type": "Identifier", "name": "Boolean", "range": [ - 5099, - 5106 + 5143, + 5150 ], "loc": { "start": { - "line": 194, + "line": 195, "column": 29 }, "end": { - "line": 194, + "line": 195, "column": 36 } } @@ -7187,16 +7331,16 @@ "type": "Identifier", "name": "f", "range": [ - 5107, - 5108 + 5151, + 5152 ], "loc": { "start": { - "line": 194, + "line": 195, "column": 37 }, "end": { - "line": 194, + "line": 195, "column": 38 } } @@ -7205,77 +7349,77 @@ "type": "Identifier", "name": "enable_tick_all", "range": [ - 5109, - 5124 + 5153, + 5168 ], "loc": { "start": { - "line": 194, + "line": 195, "column": 39 }, "end": { - "line": 194, + "line": 195, "column": 54 } } }, "range": [ - 5107, - 5124 + 5151, + 5168 ], "loc": { "start": { - "line": 194, + "line": 195, "column": 37 }, "end": { - "line": 194, + "line": 195, "column": 54 } } } ], "range": [ - 5099, - 5125 + 5143, + 5169 ], "loc": { "start": { - "line": 194, + "line": 195, "column": 29 }, "end": { - "line": 194, + "line": 195, "column": 55 } } }, "range": [ - 5078, - 5125 + 5122, + 5169 ], "loc": { "start": { - "line": 194, + "line": 195, "column": 8 }, "end": { - "line": 194, + "line": 195, "column": 55 } } }, "range": [ - 5078, - 5126 + 5122, + 5170 ], "loc": { "start": { - "line": 194, + "line": 195, "column": 8 }, "end": { - "line": 194, + "line": 195, "column": 56 } }, @@ -7284,16 +7428,16 @@ "type": "Block", "value": "*\n * Enable select all option, disabled by default\n * @type {Boolean}\n ", "range": [ - 4970, - 5069 + 5014, + 5113 ], "loc": { "start": { - "line": 190, + "line": 191, "column": 8 }, "end": { - "line": 193, + "line": 194, "column": 11 } } @@ -7304,16 +7448,16 @@ "type": "Block", "value": "*\n * Text for select all option, defaults to 'Select all:'\n * @type {String}\n ", "range": [ - 5136, - 5242 + 5180, + 5286 ], "loc": { "start": { - "line": 196, + "line": 197, "column": 8 }, "end": { - "line": 199, + "line": 200, "column": 11 } } @@ -7331,16 +7475,16 @@ "object": { "type": "ThisExpression", "range": [ - 5251, - 5255 + 5295, + 5299 ], "loc": { "start": { - "line": 200, + "line": 201, "column": 8 }, "end": { - "line": 200, + "line": 201, "column": 12 } } @@ -7349,31 +7493,31 @@ "type": "Identifier", "name": "tickAllText", "range": [ - 5256, - 5267 + 5300, + 5311 ], "loc": { "start": { - "line": 200, + "line": 201, "column": 13 }, "end": { - "line": 200, + "line": 201, "column": 24 } } }, "range": [ - 5251, - 5267 + 5295, + 5311 ], "loc": { "start": { - "line": 200, + "line": 201, "column": 8 }, "end": { - "line": 200, + "line": 201, "column": 24 } } @@ -7388,16 +7532,16 @@ "type": "Identifier", "name": "f", "range": [ - 5270, - 5271 + 5314, + 5315 ], "loc": { "start": { - "line": 200, + "line": 201, "column": 27 }, "end": { - "line": 200, + "line": 201, "column": 28 } } @@ -7406,31 +7550,31 @@ "type": "Identifier", "name": "tick_all_text", "range": [ - 5272, - 5285 + 5316, + 5329 ], "loc": { "start": { - "line": 200, + "line": 201, "column": 29 }, "end": { - "line": 200, + "line": 201, "column": 42 } } }, "range": [ - 5270, - 5285 + 5314, + 5329 ], "loc": { "start": { - "line": 200, + "line": 201, "column": 27 }, "end": { - "line": 200, + "line": 201, "column": 42 } } @@ -7440,61 +7584,61 @@ "value": "Select all:", "raw": "'Select all:'", "range": [ - 5289, - 5302 + 5333, + 5346 ], "loc": { "start": { - "line": 200, + "line": 201, "column": 46 }, "end": { - "line": 200, + "line": 201, "column": 59 } } }, "range": [ - 5270, - 5302 + 5314, + 5346 ], "loc": { "start": { - "line": 200, + "line": 201, "column": 27 }, "end": { - "line": 200, + "line": 201, "column": 59 } } }, "range": [ - 5251, - 5302 + 5295, + 5346 ], "loc": { "start": { - "line": 200, + "line": 201, "column": 8 }, "end": { - "line": 200, + "line": 201, "column": 59 } } }, "range": [ - 5251, - 5303 + 5295, + 5347 ], "loc": { "start": { - "line": 200, + "line": 201, "column": 8 }, "end": { - "line": 200, + "line": 201, "column": 60 } }, @@ -7503,16 +7647,16 @@ "type": "Block", "value": "*\n * Text for select all option, defaults to 'Select all:'\n * @type {String}\n ", "range": [ - 5136, - 5242 + 5180, + 5286 ], "loc": { "start": { - "line": 196, + "line": 197, "column": 8 }, "end": { - "line": 199, + "line": 200, "column": 11 } } @@ -7523,16 +7667,16 @@ "type": "Block", "value": "*\n * List of indexes of hidden columns\n * @private\n ", "range": [ - 5313, - 5393 + 5357, + 5437 ], "loc": { "start": { - "line": 202, + "line": 203, "column": 8 }, "end": { - "line": 205, + "line": 206, "column": 11 } } @@ -7550,16 +7694,16 @@ "object": { "type": "ThisExpression", "range": [ - 5402, - 5406 + 5446, + 5450 ], "loc": { "start": { - "line": 206, + "line": 207, "column": 8 }, "end": { - "line": 206, + "line": 207, "column": 12 } } @@ -7568,31 +7712,31 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 5407, - 5417 + 5451, + 5461 ], "loc": { "start": { - "line": 206, + "line": 207, "column": 13 }, "end": { - "line": 206, + "line": 207, "column": 23 } } }, "range": [ - 5402, - 5417 + 5446, + 5461 ], "loc": { "start": { - "line": 206, + "line": 207, "column": 8 }, "end": { - "line": 206, + "line": 207, "column": 23 } } @@ -7601,46 +7745,46 @@ "type": "ArrayExpression", "elements": [], "range": [ - 5420, - 5422 + 5464, + 5466 ], "loc": { "start": { - "line": 206, + "line": 207, "column": 26 }, "end": { - "line": 206, + "line": 207, "column": 28 } } }, "range": [ - 5402, - 5422 + 5446, + 5466 ], "loc": { "start": { - "line": 206, + "line": 207, "column": 8 }, "end": { - "line": 206, + "line": 207, "column": 28 } } }, "range": [ - 5402, - 5423 + 5446, + 5467 ], "loc": { "start": { - "line": 206, + "line": 207, "column": 8 }, "end": { - "line": 206, + "line": 207, "column": 29 } }, @@ -7649,16 +7793,163 @@ "type": "Block", "value": "*\n * List of indexes of hidden columns\n * @private\n ", "range": [ - 5313, - 5393 + 5357, + 5437 ], "loc": { "start": { - "line": 202, + "line": 203, "column": 8 }, "end": { - "line": 205, + "line": 206, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Bound mouseup wrapper\n * @private\n ", + "range": [ + 5477, + 5545 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 212, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5554, + 5558 + ], + "loc": { + "start": { + "line": 213, + "column": 8 + }, + "end": { + "line": 213, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 5559, + 5571 + ], + "loc": { + "start": { + "line": 213, + "column": 13 + }, + "end": { + "line": 213, + "column": 25 + } + } + }, + "range": [ + 5554, + 5571 + ], + "loc": { + "start": { + "line": 213, + "column": 8 + }, + "end": { + "line": 213, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 5574, + 5578 + ], + "loc": { + "start": { + "line": 213, + "column": 28 + }, + "end": { + "line": 213, + "column": 32 + } + } + }, + "range": [ + 5554, + 5578 + ], + "loc": { + "start": { + "line": 213, + "column": 8 + }, + "end": { + "line": 213, + "column": 32 + } + } + }, + "range": [ + 5554, + 5579 + ], + "loc": { + "start": { + "line": 213, + "column": 8 + }, + "end": { + "line": 213, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Bound mouseup wrapper\n * @private\n ", + "range": [ + 5477, + 5545 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 212, "column": 11 } } @@ -7669,16 +7960,16 @@ "type": "Block", "value": "*\n * Callback fired when the extension is initialized\n * @type {Function}\n ", "range": [ - 5433, - 5536 + 5589, + 5692 ], "loc": { "start": { - "line": 208, + "line": 215, "column": 8 }, "end": { - "line": 211, + "line": 218, "column": 11 } } @@ -7696,16 +7987,16 @@ "object": { "type": "ThisExpression", "range": [ - 5545, - 5549 + 5701, + 5705 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 8 }, "end": { - "line": 212, + "line": 219, "column": 12 } } @@ -7714,31 +8005,31 @@ "type": "Identifier", "name": "onLoaded", "range": [ - 5550, - 5558 + 5706, + 5714 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 13 }, "end": { - "line": 212, + "line": 219, "column": 21 } } }, "range": [ - 5545, - 5558 + 5701, + 5714 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 8 }, "end": { - "line": 212, + "line": 219, "column": 21 } } @@ -7751,16 +8042,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 5561, - 5565 + 5717, + 5721 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 24 }, "end": { - "line": 212, + "line": 219, "column": 28 } } @@ -7773,16 +8064,16 @@ "type": "Identifier", "name": "f", "range": [ - 5566, - 5567 + 5722, + 5723 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 29 }, "end": { - "line": 212, + "line": 219, "column": 30 } } @@ -7791,47 +8082,47 @@ "type": "Identifier", "name": "on_loaded", "range": [ - 5568, - 5577 + 5724, + 5733 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 31 }, "end": { - "line": 212, + "line": 219, "column": 40 } } }, "range": [ - 5566, - 5577 + 5722, + 5733 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 29 }, "end": { - "line": 212, + "line": 219, "column": 40 } } } ], "range": [ - 5561, - 5578 + 5717, + 5734 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 24 }, "end": { - "line": 212, + "line": 219, "column": 41 } } @@ -7843,16 +8134,16 @@ "type": "Identifier", "name": "f", "range": [ - 5581, - 5582 + 5737, + 5738 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 44 }, "end": { - "line": 212, + "line": 219, "column": 45 } } @@ -7861,31 +8152,31 @@ "type": "Identifier", "name": "on_loaded", "range": [ - 5583, - 5592 + 5739, + 5748 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 46 }, "end": { - "line": 212, + "line": 219, "column": 55 } } }, "range": [ - 5581, - 5592 + 5737, + 5748 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 44 }, "end": { - "line": 212, + "line": 219, "column": 55 } } @@ -7894,61 +8185,61 @@ "type": "Identifier", "name": "EMPTY_FN", "range": [ - 5595, - 5603 + 5751, + 5759 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 58 }, "end": { - "line": 212, + "line": 219, "column": 66 } } }, "range": [ - 5561, - 5603 + 5717, + 5759 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 24 }, "end": { - "line": 212, + "line": 219, "column": 66 } } }, "range": [ - 5545, - 5603 + 5701, + 5759 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 8 }, "end": { - "line": 212, + "line": 219, "column": 66 } } }, "range": [ - 5545, - 5604 + 5701, + 5760 ], "loc": { "start": { - "line": 212, + "line": 219, "column": 8 }, "end": { - "line": 212, + "line": 219, "column": 67 } }, @@ -7957,16 +8248,16 @@ "type": "Block", "value": "*\n * Callback fired when the extension is initialized\n * @type {Function}\n ", "range": [ - 5433, - 5536 + 5589, + 5692 ], "loc": { "start": { - "line": 208, + "line": 215, "column": 8 }, "end": { - "line": 211, + "line": 218, "column": 11 } } @@ -7977,316 +8268,8 @@ "type": "Block", "value": "*\n * Callback fired before the columns manager is opened\n * @type {Function}\n ", "range": [ - 5614, - 5720 - ], - "loc": { - "start": { - "line": 214, - "column": 8 - }, - "end": { - "line": 217, - "column": 11 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 5729, - 5733 - ], - "loc": { - "start": { - "line": 218, - "column": 8 - }, - "end": { - "line": 218, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "onBeforeOpen", - "range": [ - 5734, - 5746 - ], - "loc": { - "start": { - "line": 218, - "column": 13 - }, - "end": { - "line": 218, - "column": 25 - } - } - }, - "range": [ - 5729, - 5746 - ], - "loc": { - "start": { - "line": 218, - "column": 8 - }, - "end": { - "line": 218, - "column": 25 - } - } - }, - "right": { - "type": "ConditionalExpression", - "test": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "isFn", - "range": [ - 5749, - 5753 - ], - "loc": { - "start": { - "line": 218, - "column": 28 - }, - "end": { - "line": 218, - "column": 32 - } - } - }, - "arguments": [ - { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "f", - "range": [ - 5754, - 5755 - ], - "loc": { - "start": { - "line": 218, - "column": 33 - }, - "end": { - "line": 218, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "name": "on_before_open", - "range": [ - 5756, - 5770 - ], - "loc": { - "start": { - "line": 218, - "column": 35 - }, - "end": { - "line": 218, - "column": 49 - } - } - }, - "range": [ - 5754, - 5770 - ], - "loc": { - "start": { - "line": 218, - "column": 33 - }, - "end": { - "line": 218, - "column": 49 - } - } - } - ], - "range": [ - 5749, - 5771 - ], - "loc": { - "start": { - "line": 218, - "column": 28 - }, - "end": { - "line": 218, - "column": 50 - } - } - }, - "consequent": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "f", - "range": [ - 5786, - 5787 - ], - "loc": { - "start": { - "line": 219, - "column": 12 - }, - "end": { - "line": 219, - "column": 13 - } - } - }, - "property": { - "type": "Identifier", - "name": "on_before_open", - "range": [ - 5788, - 5802 - ], - "loc": { - "start": { - "line": 219, - "column": 14 - }, - "end": { - "line": 219, - "column": 28 - } - } - }, - "range": [ - 5786, - 5802 - ], - "loc": { - "start": { - "line": 219, - "column": 12 - }, - "end": { - "line": 219, - "column": 28 - } - } - }, - "alternate": { - "type": "Identifier", - "name": "EMPTY_FN", - "range": [ - 5805, - 5813 - ], - "loc": { - "start": { - "line": 219, - "column": 31 - }, - "end": { - "line": 219, - "column": 39 - } - } - }, - "range": [ - 5749, - 5813 - ], - "loc": { - "start": { - "line": 218, - "column": 28 - }, - "end": { - "line": 219, - "column": 39 - } - } - }, - "range": [ - 5729, - 5813 - ], - "loc": { - "start": { - "line": 218, - "column": 8 - }, - "end": { - "line": 219, - "column": 39 - } - } - }, - "range": [ - 5729, - 5814 - ], - "loc": { - "start": { - "line": 218, - "column": 8 - }, - "end": { - "line": 219, - "column": 40 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Callback fired before the columns manager is opened\n * @type {Function}\n ", - "range": [ - 5614, - 5720 - ], - "loc": { - "start": { - "line": 214, - "column": 8 - }, - "end": { - "line": 217, - "column": 11 - } - } - } - ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * Callback fired after the columns manager is opened\n * @type {Function}\n ", - "range": [ - 5824, - 5929 + 5770, + 5876 ], "loc": { "start": { @@ -8312,8 +8295,8 @@ "object": { "type": "ThisExpression", "range": [ - 5938, - 5942 + 5885, + 5889 ], "loc": { "start": { @@ -8328,10 +8311,10 @@ }, "property": { "type": "Identifier", - "name": "onAfterOpen", + "name": "onBeforeOpen", "range": [ - 5943, - 5954 + 5890, + 5902 ], "loc": { "start": { @@ -8340,13 +8323,13 @@ }, "end": { "line": 225, - "column": 24 + "column": 25 } } }, "range": [ - 5938, - 5954 + 5885, + 5902 ], "loc": { "start": { @@ -8355,6 +8338,314 @@ }, "end": { "line": 225, + "column": 25 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isFn", + "range": [ + 5905, + 5909 + ], + "loc": { + "start": { + "line": 225, + "column": 28 + }, + "end": { + "line": 225, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5910, + 5911 + ], + "loc": { + "start": { + "line": 225, + "column": 33 + }, + "end": { + "line": 225, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_open", + "range": [ + 5912, + 5926 + ], + "loc": { + "start": { + "line": 225, + "column": 35 + }, + "end": { + "line": 225, + "column": 49 + } + } + }, + "range": [ + 5910, + 5926 + ], + "loc": { + "start": { + "line": 225, + "column": 33 + }, + "end": { + "line": 225, + "column": 49 + } + } + } + ], + "range": [ + 5905, + 5927 + ], + "loc": { + "start": { + "line": 225, + "column": 28 + }, + "end": { + "line": 225, + "column": 50 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5942, + 5943 + ], + "loc": { + "start": { + "line": 226, + "column": 12 + }, + "end": { + "line": 226, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_open", + "range": [ + 5944, + 5958 + ], + "loc": { + "start": { + "line": 226, + "column": 14 + }, + "end": { + "line": 226, + "column": 28 + } + } + }, + "range": [ + 5942, + 5958 + ], + "loc": { + "start": { + "line": 226, + "column": 12 + }, + "end": { + "line": 226, + "column": 28 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 5961, + 5969 + ], + "loc": { + "start": { + "line": 226, + "column": 31 + }, + "end": { + "line": 226, + "column": 39 + } + } + }, + "range": [ + 5905, + 5969 + ], + "loc": { + "start": { + "line": 225, + "column": 28 + }, + "end": { + "line": 226, + "column": 39 + } + } + }, + "range": [ + 5885, + 5969 + ], + "loc": { + "start": { + "line": 225, + "column": 8 + }, + "end": { + "line": 226, + "column": 39 + } + } + }, + "range": [ + 5885, + 5970 + ], + "loc": { + "start": { + "line": 225, + "column": 8 + }, + "end": { + "line": 226, + "column": 40 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the columns manager is opened\n * @type {Function}\n ", + "range": [ + 5770, + 5876 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 224, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the columns manager is opened\n * @type {Function}\n ", + "range": [ + 5980, + 6085 + ], + "loc": { + "start": { + "line": 228, + "column": 8 + }, + "end": { + "line": 231, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6094, + 6098 + ], + "loc": { + "start": { + "line": 232, + "column": 8 + }, + "end": { + "line": 232, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterOpen", + "range": [ + 6099, + 6110 + ], + "loc": { + "start": { + "line": 232, + "column": 13 + }, + "end": { + "line": 232, + "column": 24 + } + } + }, + "range": [ + 6094, + 6110 + ], + "loc": { + "start": { + "line": 232, + "column": 8 + }, + "end": { + "line": 232, "column": 24 } } @@ -8367,16 +8658,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 5957, - 5961 + 6113, + 6117 ], "loc": { "start": { - "line": 225, + "line": 232, "column": 27 }, "end": { - "line": 225, + "line": 232, "column": 31 } } @@ -8389,16 +8680,16 @@ "type": "Identifier", "name": "f", "range": [ - 5962, - 5963 + 6118, + 6119 ], "loc": { "start": { - "line": 225, + "line": 232, "column": 32 }, "end": { - "line": 225, + "line": 232, "column": 33 } } @@ -8407,47 +8698,47 @@ "type": "Identifier", "name": "on_after_open", "range": [ - 5964, - 5977 + 6120, + 6133 ], "loc": { "start": { - "line": 225, + "line": 232, "column": 34 }, "end": { - "line": 225, + "line": 232, "column": 47 } } }, "range": [ - 5962, - 5977 + 6118, + 6133 ], "loc": { "start": { - "line": 225, + "line": 232, "column": 32 }, "end": { - "line": 225, + "line": 232, "column": 47 } } } ], "range": [ - 5957, - 5978 + 6113, + 6134 ], "loc": { "start": { - "line": 225, + "line": 232, "column": 27 }, "end": { - "line": 225, + "line": 232, "column": 48 } } @@ -8459,16 +8750,16 @@ "type": "Identifier", "name": "f", "range": [ - 5981, - 5982 + 6137, + 6138 ], "loc": { "start": { - "line": 225, + "line": 232, "column": 51 }, "end": { - "line": 225, + "line": 232, "column": 52 } } @@ -8477,31 +8768,31 @@ "type": "Identifier", "name": "on_after_open", "range": [ - 5983, - 5996 + 6139, + 6152 ], "loc": { "start": { - "line": 225, + "line": 232, "column": 53 }, "end": { - "line": 225, + "line": 232, "column": 66 } } }, "range": [ - 5981, - 5996 + 6137, + 6152 ], "loc": { "start": { - "line": 225, + "line": 232, "column": 51 }, "end": { - "line": 225, + "line": 232, "column": 66 } } @@ -8510,61 +8801,61 @@ "type": "Identifier", "name": "EMPTY_FN", "range": [ - 5999, - 6007 + 6155, + 6163 ], "loc": { "start": { - "line": 225, + "line": 232, "column": 69 }, "end": { - "line": 225, + "line": 232, "column": 77 } } }, "range": [ - 5957, - 6007 + 6113, + 6163 ], "loc": { "start": { - "line": 225, + "line": 232, "column": 27 }, "end": { - "line": 225, + "line": 232, "column": 77 } } }, "range": [ - 5938, - 6007 + 6094, + 6163 ], "loc": { "start": { - "line": 225, + "line": 232, "column": 8 }, "end": { - "line": 225, + "line": 232, "column": 77 } } }, "range": [ - 5938, - 6008 + 6094, + 6164 ], "loc": { "start": { - "line": 225, + "line": 232, "column": 8 }, "end": { - "line": 225, + "line": 232, "column": 78 } }, @@ -8573,16 +8864,16 @@ "type": "Block", "value": "*\n * Callback fired after the columns manager is opened\n * @type {Function}\n ", "range": [ - 5824, - 5929 + 5980, + 6085 ], "loc": { "start": { - "line": 221, + "line": 228, "column": 8 }, "end": { - "line": 224, + "line": 231, "column": 11 } } @@ -8593,16 +8884,16 @@ "type": "Block", "value": "*\n * Callback fired before the columns manager is closed\n * @type {Function}\n ", "range": [ - 6018, - 6124 + 6174, + 6280 ], "loc": { "start": { - "line": 227, + "line": 234, "column": 8 }, "end": { - "line": 230, + "line": 237, "column": 11 } } @@ -8620,16 +8911,16 @@ "object": { "type": "ThisExpression", "range": [ - 6133, - 6137 + 6289, + 6293 ], "loc": { "start": { - "line": 231, + "line": 238, "column": 8 }, "end": { - "line": 231, + "line": 238, "column": 12 } } @@ -8638,31 +8929,31 @@ "type": "Identifier", "name": "onBeforeClose", "range": [ - 6138, - 6151 + 6294, + 6307 ], "loc": { "start": { - "line": 231, + "line": 238, "column": 13 }, "end": { - "line": 231, + "line": 238, "column": 26 } } }, "range": [ - 6133, - 6151 + 6289, + 6307 ], "loc": { "start": { - "line": 231, + "line": 238, "column": 8 }, "end": { - "line": 231, + "line": 238, "column": 26 } } @@ -8675,16 +8966,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 6154, - 6158 + 6310, + 6314 ], "loc": { "start": { - "line": 231, + "line": 238, "column": 29 }, "end": { - "line": 231, + "line": 238, "column": 33 } } @@ -8697,16 +8988,16 @@ "type": "Identifier", "name": "f", "range": [ - 6159, - 6160 + 6315, + 6316 ], "loc": { "start": { - "line": 231, + "line": 238, "column": 34 }, "end": { - "line": 231, + "line": 238, "column": 35 } } @@ -8715,47 +9006,47 @@ "type": "Identifier", "name": "on_before_close", "range": [ - 6161, - 6176 + 6317, + 6332 ], "loc": { "start": { - "line": 231, + "line": 238, "column": 36 }, "end": { - "line": 231, + "line": 238, "column": 51 } } }, "range": [ - 6159, - 6176 + 6315, + 6332 ], "loc": { "start": { - "line": 231, + "line": 238, "column": 34 }, "end": { - "line": 231, + "line": 238, "column": 51 } } } ], "range": [ - 6154, - 6177 + 6310, + 6333 ], "loc": { "start": { - "line": 231, + "line": 238, "column": 29 }, "end": { - "line": 231, + "line": 238, "column": 52 } } @@ -8767,16 +9058,16 @@ "type": "Identifier", "name": "f", "range": [ - 6192, - 6193 + 6348, + 6349 ], "loc": { "start": { - "line": 232, + "line": 239, "column": 12 }, "end": { - "line": 232, + "line": 239, "column": 13 } } @@ -8785,31 +9076,31 @@ "type": "Identifier", "name": "on_before_close", "range": [ - 6194, - 6209 + 6350, + 6365 ], "loc": { "start": { - "line": 232, + "line": 239, "column": 14 }, "end": { - "line": 232, + "line": 239, "column": 29 } } }, "range": [ - 6192, - 6209 + 6348, + 6365 ], "loc": { "start": { - "line": 232, + "line": 239, "column": 12 }, "end": { - "line": 232, + "line": 239, "column": 29 } } @@ -8818,61 +9109,61 @@ "type": "Identifier", "name": "EMPTY_FN", "range": [ - 6212, - 6220 + 6368, + 6376 ], "loc": { "start": { - "line": 232, + "line": 239, "column": 32 }, "end": { - "line": 232, + "line": 239, "column": 40 } } }, "range": [ - 6154, - 6220 + 6310, + 6376 ], "loc": { "start": { - "line": 231, + "line": 238, "column": 29 }, "end": { - "line": 232, + "line": 239, "column": 40 } } }, "range": [ - 6133, - 6220 + 6289, + 6376 ], "loc": { "start": { - "line": 231, + "line": 238, "column": 8 }, "end": { - "line": 232, + "line": 239, "column": 40 } } }, "range": [ - 6133, - 6221 + 6289, + 6377 ], "loc": { "start": { - "line": 231, + "line": 238, "column": 8 }, "end": { - "line": 232, + "line": 239, "column": 41 } }, @@ -8881,16 +9172,16 @@ "type": "Block", "value": "*\n * Callback fired before the columns manager is closed\n * @type {Function}\n ", "range": [ - 6018, - 6124 + 6174, + 6280 ], "loc": { "start": { - "line": 227, + "line": 234, "column": 8 }, "end": { - "line": 230, + "line": 237, "column": 11 } } @@ -8901,16 +9192,16 @@ "type": "Block", "value": "*\n * Callback fired after the columns manager is closed\n * @type {Function}\n ", "range": [ - 6231, - 6336 + 6387, + 6492 ], "loc": { "start": { - "line": 234, + "line": 241, "column": 8 }, "end": { - "line": 237, + "line": 244, "column": 11 } } @@ -8928,16 +9219,16 @@ "object": { "type": "ThisExpression", "range": [ - 6345, - 6349 + 6501, + 6505 ], "loc": { "start": { - "line": 238, + "line": 245, "column": 8 }, "end": { - "line": 238, + "line": 245, "column": 12 } } @@ -8946,31 +9237,31 @@ "type": "Identifier", "name": "onAfterClose", "range": [ - 6350, - 6362 + 6506, + 6518 ], "loc": { "start": { - "line": 238, + "line": 245, "column": 13 }, "end": { - "line": 238, + "line": 245, "column": 25 } } }, "range": [ - 6345, - 6362 + 6501, + 6518 ], "loc": { "start": { - "line": 238, + "line": 245, "column": 8 }, "end": { - "line": 238, + "line": 245, "column": 25 } } @@ -8983,16 +9274,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 6365, - 6369 + 6521, + 6525 ], "loc": { "start": { - "line": 238, + "line": 245, "column": 28 }, "end": { - "line": 238, + "line": 245, "column": 32 } } @@ -9005,16 +9296,16 @@ "type": "Identifier", "name": "f", "range": [ - 6370, - 6371 + 6526, + 6527 ], "loc": { "start": { - "line": 238, + "line": 245, "column": 33 }, "end": { - "line": 238, + "line": 245, "column": 34 } } @@ -9023,47 +9314,47 @@ "type": "Identifier", "name": "on_after_close", "range": [ - 6372, - 6386 + 6528, + 6542 ], "loc": { "start": { - "line": 238, + "line": 245, "column": 35 }, "end": { - "line": 238, + "line": 245, "column": 49 } } }, "range": [ - 6370, - 6386 + 6526, + 6542 ], "loc": { "start": { - "line": 238, + "line": 245, "column": 33 }, "end": { - "line": 238, + "line": 245, "column": 49 } } } ], "range": [ - 6365, - 6387 + 6521, + 6543 ], "loc": { "start": { - "line": 238, + "line": 245, "column": 28 }, "end": { - "line": 238, + "line": 245, "column": 50 } } @@ -9075,16 +9366,16 @@ "type": "Identifier", "name": "f", "range": [ - 6402, - 6403 + 6558, + 6559 ], "loc": { "start": { - "line": 239, + "line": 246, "column": 12 }, "end": { - "line": 239, + "line": 246, "column": 13 } } @@ -9093,31 +9384,31 @@ "type": "Identifier", "name": "on_after_close", "range": [ - 6404, - 6418 + 6560, + 6574 ], "loc": { "start": { - "line": 239, + "line": 246, "column": 14 }, "end": { - "line": 239, + "line": 246, "column": 28 } } }, "range": [ - 6402, - 6418 + 6558, + 6574 ], "loc": { "start": { - "line": 239, + "line": 246, "column": 12 }, "end": { - "line": 239, + "line": 246, "column": 28 } } @@ -9126,61 +9417,61 @@ "type": "Identifier", "name": "EMPTY_FN", "range": [ - 6421, - 6429 + 6577, + 6585 ], "loc": { "start": { - "line": 239, + "line": 246, "column": 31 }, "end": { - "line": 239, + "line": 246, "column": 39 } } }, "range": [ - 6365, - 6429 + 6521, + 6585 ], "loc": { "start": { - "line": 238, + "line": 245, "column": 28 }, "end": { - "line": 239, + "line": 246, "column": 39 } } }, "range": [ - 6345, - 6429 + 6501, + 6585 ], "loc": { "start": { - "line": 238, + "line": 245, "column": 8 }, "end": { - "line": 239, + "line": 246, "column": 39 } } }, "range": [ - 6345, - 6430 + 6501, + 6586 ], "loc": { "start": { - "line": 238, + "line": 245, "column": 8 }, "end": { - "line": 239, + "line": 246, "column": 40 } }, @@ -9189,16 +9480,16 @@ "type": "Block", "value": "*\n * Callback fired after the columns manager is closed\n * @type {Function}\n ", "range": [ - 6231, - 6336 + 6387, + 6492 ], "loc": { "start": { - "line": 234, + "line": 241, "column": 8 }, "end": { - "line": 237, + "line": 244, "column": 11 } } @@ -9209,16 +9500,16 @@ "type": "Block", "value": "*\n * Callback fired before a column is hidden\n * @type {Function}\n ", "range": [ - 6440, - 6535 + 6596, + 6691 ], "loc": { "start": { - "line": 241, + "line": 248, "column": 8 }, "end": { - "line": 244, + "line": 251, "column": 11 } } @@ -9236,16 +9527,16 @@ "object": { "type": "ThisExpression", "range": [ - 6544, - 6548 + 6700, + 6704 ], "loc": { "start": { - "line": 245, + "line": 252, "column": 8 }, "end": { - "line": 245, + "line": 252, "column": 12 } } @@ -9254,31 +9545,31 @@ "type": "Identifier", "name": "onBeforeColHidden", "range": [ - 6549, - 6566 + 6705, + 6722 ], "loc": { "start": { - "line": 245, + "line": 252, "column": 13 }, "end": { - "line": 245, + "line": 252, "column": 30 } } }, "range": [ - 6544, - 6566 + 6700, + 6722 ], "loc": { "start": { - "line": 245, + "line": 252, "column": 8 }, "end": { - "line": 245, + "line": 252, "column": 30 } } @@ -9291,16 +9582,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 6569, - 6573 + 6725, + 6729 ], "loc": { "start": { - "line": 245, + "line": 252, "column": 33 }, "end": { - "line": 245, + "line": 252, "column": 37 } } @@ -9313,16 +9604,16 @@ "type": "Identifier", "name": "f", "range": [ - 6574, - 6575 + 6730, + 6731 ], "loc": { "start": { - "line": 245, + "line": 252, "column": 38 }, "end": { - "line": 245, + "line": 252, "column": 39 } } @@ -9331,47 +9622,47 @@ "type": "Identifier", "name": "on_before_col_hidden", "range": [ - 6576, - 6596 + 6732, + 6752 ], "loc": { "start": { - "line": 245, + "line": 252, "column": 40 }, "end": { - "line": 245, + "line": 252, "column": 60 } } }, "range": [ - 6574, - 6596 + 6730, + 6752 ], "loc": { "start": { - "line": 245, + "line": 252, "column": 38 }, "end": { - "line": 245, + "line": 252, "column": 60 } } } ], "range": [ - 6569, - 6597 + 6725, + 6753 ], "loc": { "start": { - "line": 245, + "line": 252, "column": 33 }, "end": { - "line": 245, + "line": 252, "column": 61 } } @@ -9383,16 +9674,16 @@ "type": "Identifier", "name": "f", "range": [ - 6612, - 6613 + 6768, + 6769 ], "loc": { "start": { - "line": 246, + "line": 253, "column": 12 }, "end": { - "line": 246, + "line": 253, "column": 13 } } @@ -9401,31 +9692,31 @@ "type": "Identifier", "name": "on_before_col_hidden", "range": [ - 6614, - 6634 + 6770, + 6790 ], "loc": { "start": { - "line": 246, + "line": 253, "column": 14 }, "end": { - "line": 246, + "line": 253, "column": 34 } } }, "range": [ - 6612, - 6634 + 6768, + 6790 ], "loc": { "start": { - "line": 246, + "line": 253, "column": 12 }, "end": { - "line": 246, + "line": 253, "column": 34 } } @@ -9434,61 +9725,61 @@ "type": "Identifier", "name": "EMPTY_FN", "range": [ - 6637, - 6645 + 6793, + 6801 ], "loc": { "start": { - "line": 246, + "line": 253, "column": 37 }, "end": { - "line": 246, + "line": 253, "column": 45 } } }, "range": [ - 6569, - 6645 + 6725, + 6801 ], "loc": { "start": { - "line": 245, + "line": 252, "column": 33 }, "end": { - "line": 246, + "line": 253, "column": 45 } } }, "range": [ - 6544, - 6645 + 6700, + 6801 ], "loc": { "start": { - "line": 245, + "line": 252, "column": 8 }, "end": { - "line": 246, + "line": 253, "column": 45 } } }, "range": [ - 6544, - 6646 + 6700, + 6802 ], "loc": { "start": { - "line": 245, + "line": 252, "column": 8 }, "end": { - "line": 246, + "line": 253, "column": 46 } }, @@ -9497,16 +9788,16 @@ "type": "Block", "value": "*\n * Callback fired before a column is hidden\n * @type {Function}\n ", "range": [ - 6440, - 6535 + 6596, + 6691 ], "loc": { "start": { - "line": 241, + "line": 248, "column": 8 }, "end": { - "line": 244, + "line": 251, "column": 11 } } @@ -9517,16 +9808,16 @@ "type": "Block", "value": "*\n * Callback fired after a column is hidden\n * @type {Function}\n ", "range": [ - 6656, - 6750 + 6812, + 6906 ], "loc": { "start": { - "line": 248, + "line": 255, "column": 8 }, "end": { - "line": 251, + "line": 258, "column": 11 } } @@ -9544,16 +9835,16 @@ "object": { "type": "ThisExpression", "range": [ - 6759, - 6763 + 6915, + 6919 ], "loc": { "start": { - "line": 252, + "line": 259, "column": 8 }, "end": { - "line": 252, + "line": 259, "column": 12 } } @@ -9562,31 +9853,31 @@ "type": "Identifier", "name": "onAfterColHidden", "range": [ - 6764, - 6780 + 6920, + 6936 ], "loc": { "start": { - "line": 252, + "line": 259, "column": 13 }, "end": { - "line": 252, + "line": 259, "column": 29 } } }, "range": [ - 6759, - 6780 + 6915, + 6936 ], "loc": { "start": { - "line": 252, + "line": 259, "column": 8 }, "end": { - "line": 252, + "line": 259, "column": 29 } } @@ -9599,16 +9890,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 6783, - 6787 + 6939, + 6943 ], "loc": { "start": { - "line": 252, + "line": 259, "column": 32 }, "end": { - "line": 252, + "line": 259, "column": 36 } } @@ -9621,16 +9912,16 @@ "type": "Identifier", "name": "f", "range": [ - 6788, - 6789 + 6944, + 6945 ], "loc": { "start": { - "line": 252, + "line": 259, "column": 37 }, "end": { - "line": 252, + "line": 259, "column": 38 } } @@ -9639,47 +9930,47 @@ "type": "Identifier", "name": "on_after_col_hidden", "range": [ - 6790, - 6809 + 6946, + 6965 ], "loc": { "start": { - "line": 252, + "line": 259, "column": 39 }, "end": { - "line": 252, + "line": 259, "column": 58 } } }, "range": [ - 6788, - 6809 + 6944, + 6965 ], "loc": { "start": { - "line": 252, + "line": 259, "column": 37 }, "end": { - "line": 252, + "line": 259, "column": 58 } } } ], "range": [ - 6783, - 6810 + 6939, + 6966 ], "loc": { "start": { - "line": 252, + "line": 259, "column": 32 }, "end": { - "line": 252, + "line": 259, "column": 59 } } @@ -9691,16 +9982,16 @@ "type": "Identifier", "name": "f", "range": [ - 6825, - 6826 + 6981, + 6982 ], "loc": { "start": { - "line": 253, + "line": 260, "column": 12 }, "end": { - "line": 253, + "line": 260, "column": 13 } } @@ -9709,31 +10000,31 @@ "type": "Identifier", "name": "on_after_col_hidden", "range": [ - 6827, - 6846 + 6983, + 7002 ], "loc": { "start": { - "line": 253, + "line": 260, "column": 14 }, "end": { - "line": 253, + "line": 260, "column": 33 } } }, "range": [ - 6825, - 6846 + 6981, + 7002 ], "loc": { "start": { - "line": 253, + "line": 260, "column": 12 }, "end": { - "line": 253, + "line": 260, "column": 33 } } @@ -9742,61 +10033,61 @@ "type": "Identifier", "name": "EMPTY_FN", "range": [ - 6849, - 6857 + 7005, + 7013 ], "loc": { "start": { - "line": 253, + "line": 260, "column": 36 }, "end": { - "line": 253, + "line": 260, "column": 44 } } }, "range": [ - 6783, - 6857 + 6939, + 7013 ], "loc": { "start": { - "line": 252, + "line": 259, "column": 32 }, "end": { - "line": 253, + "line": 260, "column": 44 } } }, "range": [ - 6759, - 6857 + 6915, + 7013 ], "loc": { "start": { - "line": 252, + "line": 259, "column": 8 }, "end": { - "line": 253, + "line": 260, "column": 44 } } }, "range": [ - 6759, - 6858 + 6915, + 7014 ], "loc": { "start": { - "line": 252, + "line": 259, "column": 8 }, "end": { - "line": 253, + "line": 260, "column": 45 } }, @@ -9805,16 +10096,16 @@ "type": "Block", "value": "*\n * Callback fired after a column is hidden\n * @type {Function}\n ", "range": [ - 6656, - 6750 + 6812, + 6906 ], "loc": { "start": { - "line": 248, + "line": 255, "column": 8 }, "end": { - "line": 251, + "line": 258, "column": 11 } } @@ -9825,16 +10116,16 @@ "type": "Block", "value": "*\n * Callback fired before a column is displayed\n * @type {Function}\n ", "range": [ - 6868, - 6966 + 7024, + 7122 ], "loc": { "start": { - "line": 255, + "line": 262, "column": 8 }, "end": { - "line": 258, + "line": 265, "column": 11 } } @@ -9852,16 +10143,16 @@ "object": { "type": "ThisExpression", "range": [ - 6975, - 6979 + 7131, + 7135 ], "loc": { "start": { - "line": 259, + "line": 266, "column": 8 }, "end": { - "line": 259, + "line": 266, "column": 12 } } @@ -9870,31 +10161,31 @@ "type": "Identifier", "name": "onBeforeColDisplayed", "range": [ - 6980, - 7000 + 7136, + 7156 ], "loc": { "start": { - "line": 259, + "line": 266, "column": 13 }, "end": { - "line": 259, + "line": 266, "column": 33 } } }, "range": [ - 6975, - 7000 + 7131, + 7156 ], "loc": { "start": { - "line": 259, + "line": 266, "column": 8 }, "end": { - "line": 259, + "line": 266, "column": 33 } } @@ -9907,16 +10198,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 7003, - 7007 + 7159, + 7163 ], "loc": { "start": { - "line": 259, + "line": 266, "column": 36 }, "end": { - "line": 259, + "line": 266, "column": 40 } } @@ -9929,16 +10220,16 @@ "type": "Identifier", "name": "f", "range": [ - 7008, - 7009 + 7164, + 7165 ], "loc": { "start": { - "line": 259, + "line": 266, "column": 41 }, "end": { - "line": 259, + "line": 266, "column": 42 } } @@ -9947,47 +10238,47 @@ "type": "Identifier", "name": "on_before_col_displayed", "range": [ - 7010, - 7033 + 7166, + 7189 ], "loc": { "start": { - "line": 259, + "line": 266, "column": 43 }, "end": { - "line": 259, + "line": 266, "column": 66 } } }, "range": [ - 7008, - 7033 + 7164, + 7189 ], "loc": { "start": { - "line": 259, + "line": 266, "column": 41 }, "end": { - "line": 259, + "line": 266, "column": 66 } } } ], "range": [ - 7003, - 7034 + 7159, + 7190 ], "loc": { "start": { - "line": 259, + "line": 266, "column": 36 }, "end": { - "line": 259, + "line": 266, "column": 67 } } @@ -9999,16 +10290,16 @@ "type": "Identifier", "name": "f", "range": [ - 7049, - 7050 + 7205, + 7206 ], "loc": { "start": { - "line": 260, + "line": 267, "column": 12 }, "end": { - "line": 260, + "line": 267, "column": 13 } } @@ -10017,31 +10308,31 @@ "type": "Identifier", "name": "on_before_col_displayed", "range": [ - 7051, - 7074 + 7207, + 7230 ], "loc": { "start": { - "line": 260, + "line": 267, "column": 14 }, "end": { - "line": 260, + "line": 267, "column": 37 } } }, "range": [ - 7049, - 7074 + 7205, + 7230 ], "loc": { "start": { - "line": 260, + "line": 267, "column": 12 }, "end": { - "line": 260, + "line": 267, "column": 37 } } @@ -10050,61 +10341,61 @@ "type": "Identifier", "name": "EMPTY_FN", "range": [ - 7077, - 7085 + 7233, + 7241 ], "loc": { "start": { - "line": 260, + "line": 267, "column": 40 }, "end": { - "line": 260, + "line": 267, "column": 48 } } }, "range": [ - 7003, - 7085 + 7159, + 7241 ], "loc": { "start": { - "line": 259, + "line": 266, "column": 36 }, "end": { - "line": 260, + "line": 267, "column": 48 } } }, "range": [ - 6975, - 7085 + 7131, + 7241 ], "loc": { "start": { - "line": 259, + "line": 266, "column": 8 }, "end": { - "line": 260, + "line": 267, "column": 48 } } }, "range": [ - 6975, - 7086 + 7131, + 7242 ], "loc": { "start": { - "line": 259, + "line": 266, "column": 8 }, "end": { - "line": 260, + "line": 267, "column": 49 } }, @@ -10113,16 +10404,16 @@ "type": "Block", "value": "*\n * Callback fired before a column is displayed\n * @type {Function}\n ", "range": [ - 6868, - 6966 + 7024, + 7122 ], "loc": { "start": { - "line": 255, + "line": 262, "column": 8 }, "end": { - "line": 258, + "line": 265, "column": 11 } } @@ -10133,16 +10424,16 @@ "type": "Block", "value": "*\n * Callback fired after a column is displayed\n * @type {Function}\n ", "range": [ - 7096, - 7193 + 7252, + 7349 ], "loc": { "start": { - "line": 262, + "line": 269, "column": 8 }, "end": { - "line": 265, + "line": 272, "column": 11 } } @@ -10160,16 +10451,16 @@ "object": { "type": "ThisExpression", "range": [ - 7202, - 7206 + 7358, + 7362 ], "loc": { "start": { - "line": 266, + "line": 273, "column": 8 }, "end": { - "line": 266, + "line": 273, "column": 12 } } @@ -10178,31 +10469,31 @@ "type": "Identifier", "name": "onAfterColDisplayed", "range": [ - 7207, - 7226 + 7363, + 7382 ], "loc": { "start": { - "line": 266, + "line": 273, "column": 13 }, "end": { - "line": 266, + "line": 273, "column": 32 } } }, "range": [ - 7202, - 7226 + 7358, + 7382 ], "loc": { "start": { - "line": 266, + "line": 273, "column": 8 }, "end": { - "line": 266, + "line": 273, "column": 32 } } @@ -10215,16 +10506,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 7229, - 7233 + 7385, + 7389 ], "loc": { "start": { - "line": 266, + "line": 273, "column": 35 }, "end": { - "line": 266, + "line": 273, "column": 39 } } @@ -10237,16 +10528,16 @@ "type": "Identifier", "name": "f", "range": [ - 7234, - 7235 + 7390, + 7391 ], "loc": { "start": { - "line": 266, + "line": 273, "column": 40 }, "end": { - "line": 266, + "line": 273, "column": 41 } } @@ -10255,47 +10546,47 @@ "type": "Identifier", "name": "on_after_col_displayed", "range": [ - 7236, - 7258 + 7392, + 7414 ], "loc": { "start": { - "line": 266, + "line": 273, "column": 42 }, "end": { - "line": 266, + "line": 273, "column": 64 } } }, "range": [ - 7234, - 7258 + 7390, + 7414 ], "loc": { "start": { - "line": 266, + "line": 273, "column": 40 }, "end": { - "line": 266, + "line": 273, "column": 64 } } } ], "range": [ - 7229, - 7259 + 7385, + 7415 ], "loc": { "start": { - "line": 266, + "line": 273, "column": 35 }, "end": { - "line": 266, + "line": 273, "column": 65 } } @@ -10307,16 +10598,16 @@ "type": "Identifier", "name": "f", "range": [ - 7274, - 7275 + 7430, + 7431 ], "loc": { "start": { - "line": 267, + "line": 274, "column": 12 }, "end": { - "line": 267, + "line": 274, "column": 13 } } @@ -10325,31 +10616,31 @@ "type": "Identifier", "name": "on_after_col_displayed", "range": [ - 7276, - 7298 + 7432, + 7454 ], "loc": { "start": { - "line": 267, + "line": 274, "column": 14 }, "end": { - "line": 267, + "line": 274, "column": 36 } } }, "range": [ - 7274, - 7298 + 7430, + 7454 ], "loc": { "start": { - "line": 267, + "line": 274, "column": 12 }, "end": { - "line": 267, + "line": 274, "column": 36 } } @@ -10358,61 +10649,61 @@ "type": "Identifier", "name": "EMPTY_FN", "range": [ - 7301, - 7309 + 7457, + 7465 ], "loc": { "start": { - "line": 267, + "line": 274, "column": 39 }, "end": { - "line": 267, + "line": 274, "column": 47 } } }, "range": [ - 7229, - 7309 + 7385, + 7465 ], "loc": { "start": { - "line": 266, + "line": 273, "column": 35 }, "end": { - "line": 267, + "line": 274, "column": 47 } } }, "range": [ - 7202, - 7309 + 7358, + 7465 ], "loc": { "start": { - "line": 266, + "line": 273, "column": 8 }, "end": { - "line": 267, + "line": 274, "column": 47 } } }, "range": [ - 7202, - 7310 + 7358, + 7466 ], "loc": { "start": { - "line": 266, + "line": 273, "column": 8 }, "end": { - "line": 267, + "line": 274, "column": 48 } }, @@ -10421,16 +10712,16 @@ "type": "Block", "value": "*\n * Callback fired after a column is displayed\n * @type {Function}\n ", "range": [ - 7096, - 7193 + 7252, + 7349 ], "loc": { "start": { - "line": 262, + "line": 269, "column": 8 }, "end": { - "line": 265, + "line": 272, "column": 11 } } @@ -10441,16 +10732,16 @@ "type": "Line", "value": "Grid layout support", "range": [ - 7320, - 7341 + 7476, + 7497 ], "loc": { "start": { - "line": 269, + "line": 276, "column": 8 }, "end": { - "line": 269, + "line": 276, "column": 29 } } @@ -10466,16 +10757,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7354, - 7356 + 7510, + 7512 ], "loc": { "start": { - "line": 270, + "line": 277, "column": 12 }, "end": { - "line": 270, + "line": 277, "column": 14 } } @@ -10484,31 +10775,31 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 7357, - 7367 + 7513, + 7523 ], "loc": { "start": { - "line": 270, + "line": 277, "column": 15 }, "end": { - "line": 270, + "line": 277, "column": 25 } } }, "range": [ - 7354, - 7367 + 7510, + 7523 ], "loc": { "start": { - "line": 270, + "line": 277, "column": 12 }, "end": { - "line": 270, + "line": 277, "column": 25 } } @@ -10527,16 +10818,16 @@ "object": { "type": "ThisExpression", "range": [ - 7383, - 7387 + 7539, + 7543 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 12 }, "end": { - "line": 271, + "line": 278, "column": 16 } } @@ -10545,31 +10836,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 7388, - 7398 + 7544, + 7554 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 17 }, "end": { - "line": 271, + "line": 278, "column": 27 } } }, "range": [ - 7383, - 7398 + 7539, + 7554 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 12 }, "end": { - "line": 271, + "line": 278, "column": 27 } } @@ -10586,16 +10877,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7401, - 7403 + 7557, + 7559 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 30 }, "end": { - "line": 271, + "line": 278, "column": 32 } } @@ -10604,31 +10895,31 @@ "type": "Identifier", "name": "feature", "range": [ - 7404, - 7411 + 7560, + 7567 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 33 }, "end": { - "line": 271, + "line": 278, "column": 40 } } }, "range": [ - 7401, - 7411 + 7557, + 7567 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 30 }, "end": { - "line": 271, + "line": 278, "column": 40 } } @@ -10639,32 +10930,32 @@ "value": "gridLayout", "raw": "'gridLayout'", "range": [ - 7412, - 7424 + 7568, + 7580 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 41 }, "end": { - "line": 271, + "line": 278, "column": 53 } } } ], "range": [ - 7401, - 7425 + 7557, + 7581 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 30 }, "end": { - "line": 271, + "line": 278, "column": 54 } } @@ -10673,61 +10964,61 @@ "type": "Identifier", "name": "headTbl", "range": [ - 7426, - 7433 + 7582, + 7589 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 55 }, "end": { - "line": 271, + "line": 278, "column": 62 } } }, "range": [ - 7401, - 7433 + 7557, + 7589 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 30 }, "end": { - "line": 271, + "line": 278, "column": 62 } } }, "range": [ - 7383, - 7433 + 7539, + 7589 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 12 }, "end": { - "line": 271, + "line": 278, "column": 62 } } }, "range": [ - 7383, - 7434 + 7539, + 7590 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 12 }, "end": { - "line": 271, + "line": 278, "column": 63 } }, @@ -10736,16 +11027,16 @@ "type": "Line", "value": "headers table", "range": [ - 7435, - 7450 + 7591, + 7606 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 64 }, "end": { - "line": 271, + "line": 278, "column": 79 } } @@ -10763,16 +11054,16 @@ "object": { "type": "ThisExpression", "range": [ - 7463, - 7467 + 7619, + 7623 ], "loc": { "start": { - "line": 272, + "line": 279, "column": 12 }, "end": { - "line": 272, + "line": 279, "column": 16 } } @@ -10781,31 +11072,31 @@ "type": "Identifier", "name": "headersIndex", "range": [ - 7468, - 7480 + 7624, + 7636 ], "loc": { "start": { - "line": 272, + "line": 279, "column": 17 }, "end": { - "line": 272, + "line": 279, "column": 29 } } }, "range": [ - 7463, - 7480 + 7619, + 7636 ], "loc": { "start": { - "line": 272, + "line": 279, "column": 12 }, "end": { - "line": 272, + "line": 279, "column": 29 } } @@ -10815,46 +11106,46 @@ "value": 0, "raw": "0", "range": [ - 7483, - 7484 + 7639, + 7640 ], "loc": { "start": { - "line": 272, + "line": 279, "column": 32 }, "end": { - "line": 272, + "line": 279, "column": 33 } } }, "range": [ - 7463, - 7484 + 7619, + 7640 ], "loc": { "start": { - "line": 272, + "line": 279, "column": 12 }, "end": { - "line": 272, + "line": 279, "column": 33 } } }, "range": [ - 7463, - 7485 + 7619, + 7641 ], "loc": { "start": { - "line": 272, + "line": 279, "column": 12 }, "end": { - "line": 272, + "line": 279, "column": 34 } }, @@ -10863,16 +11154,16 @@ "type": "Line", "value": "headers table", "range": [ - 7435, - 7450 + 7591, + 7606 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 64 }, "end": { - "line": 271, + "line": 278, "column": 79 } } @@ -10883,16 +11174,16 @@ "type": "Line", "value": "headers index", "range": [ - 7486, - 7501 + 7642, + 7657 ], "loc": { "start": { - "line": 272, + "line": 279, "column": 35 }, "end": { - "line": 272, + "line": 279, "column": 50 } } @@ -10910,16 +11201,16 @@ "object": { "type": "ThisExpression", "range": [ - 7514, - 7518 + 7670, + 7674 ], "loc": { "start": { - "line": 273, + "line": 280, "column": 12 }, "end": { - "line": 273, + "line": 280, "column": 16 } } @@ -10928,31 +11219,31 @@ "type": "Identifier", "name": "onAfterColDisplayed", "range": [ - 7519, - 7538 + 7675, + 7694 ], "loc": { "start": { - "line": 273, + "line": 280, "column": 17 }, "end": { - "line": 273, + "line": 280, "column": 36 } } }, "range": [ - 7514, - 7538 + 7670, + 7694 ], "loc": { "start": { - "line": 273, + "line": 280, "column": 12 }, "end": { - "line": 273, + "line": 280, "column": 36 } } @@ -10965,16 +11256,16 @@ "type": "BlockStatement", "body": [], "range": [ - 7553, - 7556 + 7709, + 7712 ], "loc": { "start": { - "line": 273, + "line": 280, "column": 51 }, "end": { - "line": 273, + "line": 280, "column": 54 } } @@ -10982,46 +11273,46 @@ "generator": false, "expression": false, "range": [ - 7541, - 7556 + 7697, + 7712 ], "loc": { "start": { - "line": 273, + "line": 280, "column": 39 }, "end": { - "line": 273, + "line": 280, "column": 54 } } }, "range": [ - 7514, - 7556 + 7670, + 7712 ], "loc": { "start": { - "line": 273, + "line": 280, "column": 12 }, "end": { - "line": 273, + "line": 280, "column": 54 } } }, "range": [ - 7514, - 7557 + 7670, + 7713 ], "loc": { "start": { - "line": 273, + "line": 280, "column": 12 }, "end": { - "line": 273, + "line": 280, "column": 55 } }, @@ -11030,16 +11321,16 @@ "type": "Line", "value": "headers index", "range": [ - 7486, - 7501 + 7642, + 7657 ], "loc": { "start": { - "line": 272, + "line": 279, "column": 35 }, "end": { - "line": 272, + "line": 279, "column": 50 } } @@ -11057,16 +11348,16 @@ "object": { "type": "ThisExpression", "range": [ - 7570, - 7574 + 7726, + 7730 ], "loc": { "start": { - "line": 274, + "line": 281, "column": 12 }, "end": { - "line": 274, + "line": 281, "column": 16 } } @@ -11075,31 +11366,31 @@ "type": "Identifier", "name": "onAfterColHidden", "range": [ - 7575, - 7591 + 7731, + 7747 ], "loc": { "start": { - "line": 274, + "line": 281, "column": 17 }, "end": { - "line": 274, + "line": 281, "column": 33 } } }, "range": [ - 7570, - 7591 + 7726, + 7747 ], "loc": { "start": { - "line": 274, + "line": 281, "column": 12 }, "end": { - "line": 274, + "line": 281, "column": 33 } } @@ -11112,16 +11403,16 @@ "type": "BlockStatement", "body": [], "range": [ - 7606, - 7609 + 7762, + 7765 ], "loc": { "start": { - "line": 274, + "line": 281, "column": 48 }, "end": { - "line": 274, + "line": 281, "column": 51 } } @@ -11129,78 +11420,78 @@ "generator": false, "expression": false, "range": [ - 7594, - 7609 + 7750, + 7765 ], "loc": { "start": { - "line": 274, + "line": 281, "column": 36 }, "end": { - "line": 274, + "line": 281, "column": 51 } } }, "range": [ - 7570, - 7609 + 7726, + 7765 ], "loc": { "start": { - "line": 274, + "line": 281, "column": 12 }, "end": { - "line": 274, + "line": 281, "column": 51 } } }, "range": [ - 7570, - 7610 + 7726, + 7766 ], "loc": { "start": { - "line": 274, + "line": 281, "column": 12 }, "end": { - "line": 274, + "line": 281, "column": 52 } } } ], "range": [ - 7369, - 7620 + 7525, + 7776 ], "loc": { "start": { - "line": 270, + "line": 277, "column": 27 }, "end": { - "line": 275, + "line": 282, "column": 9 } } }, "alternate": null, "range": [ - 7350, - 7620 + 7506, + 7776 ], "loc": { "start": { - "line": 270, + "line": 277, "column": 8 }, "end": { - "line": 275, + "line": 282, "column": 9 } }, @@ -11209,16 +11500,16 @@ "type": "Line", "value": "Grid layout support", "range": [ - 7320, - 7341 + 7476, + 7497 ], "loc": { "start": { - "line": 269, + "line": 276, "column": 8 }, "end": { - "line": 269, + "line": 276, "column": 29 } } @@ -11229,16 +11520,16 @@ "type": "Line", "value": "Loads extension stylesheet", "range": [ - 7630, - 7658 + 7786, + 7814 ], "loc": { "start": { - "line": 277, + "line": 284, "column": 8 }, "end": { - "line": 277, + "line": 284, "column": 36 } } @@ -11256,16 +11547,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7667, - 7669 + 7823, + 7825 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 8 }, "end": { - "line": 278, + "line": 285, "column": 10 } } @@ -11274,31 +11565,31 @@ "type": "Identifier", "name": "import", "range": [ - 7670, - 7676 + 7826, + 7832 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 11 }, "end": { - "line": 278, + "line": 285, "column": 17 } } }, "range": [ - 7667, - 7676 + 7823, + 7832 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 8 }, "end": { - "line": 278, + "line": 285, "column": 17 } } @@ -11314,16 +11605,16 @@ "type": "Identifier", "name": "f", "range": [ - 7677, - 7678 + 7833, + 7834 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 18 }, "end": { - "line": 278, + "line": 285, "column": 19 } } @@ -11332,31 +11623,31 @@ "type": "Identifier", "name": "name", "range": [ - 7679, - 7683 + 7835, + 7839 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 20 }, "end": { - "line": 278, + "line": 285, "column": 24 } } }, "range": [ - 7677, - 7683 + 7833, + 7839 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 18 }, "end": { - "line": 278, + "line": 285, "column": 24 } } @@ -11366,31 +11657,31 @@ "value": "Style", "raw": "'Style'", "range": [ - 7686, - 7693 + 7842, + 7849 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 27 }, "end": { - "line": 278, + "line": 285, "column": 34 } } }, "range": [ - 7677, - 7693 + 7833, + 7849 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 18 }, "end": { - "line": 278, + "line": 285, "column": 34 } } @@ -11405,16 +11696,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7695, - 7697 + 7851, + 7853 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 36 }, "end": { - "line": 278, + "line": 285, "column": 38 } } @@ -11423,31 +11714,31 @@ "type": "Identifier", "name": "stylePath", "range": [ - 7698, - 7707 + 7854, + 7863 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 39 }, "end": { - "line": 278, + "line": 285, "column": 48 } } }, "range": [ - 7695, - 7707 + 7851, + 7863 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 36 }, "end": { - "line": 278, + "line": 285, "column": 48 } } @@ -11458,16 +11749,16 @@ "object": { "type": "ThisExpression", "range": [ - 7710, - 7714 + 7866, + 7870 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 51 }, "end": { - "line": 278, + "line": 285, "column": 55 } } @@ -11476,46 +11767,46 @@ "type": "Identifier", "name": "stylesheet", "range": [ - 7715, - 7725 + 7871, + 7881 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 56 }, "end": { - "line": 278, + "line": 285, "column": 66 } } }, "range": [ - 7710, - 7725 + 7866, + 7881 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 51 }, "end": { - "line": 278, + "line": 285, "column": 66 } } }, "range": [ - 7695, - 7725 + 7851, + 7881 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 36 }, "end": { - "line": 278, + "line": 285, "column": 66 } } @@ -11525,16 +11816,16 @@ "value": null, "raw": "null", "range": [ - 7727, - 7731 + 7883, + 7887 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 68 }, "end": { - "line": 278, + "line": 285, "column": 72 } } @@ -11544,47 +11835,47 @@ "value": "link", "raw": "'link'", "range": [ - 7745, - 7751 + 7901, + 7907 ], "loc": { "start": { - "line": 279, + "line": 286, "column": 12 }, "end": { - "line": 279, + "line": 286, "column": 18 } } } ], "range": [ - 7667, - 7752 + 7823, + 7908 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 8 }, "end": { - "line": 279, + "line": 286, "column": 19 } } }, "range": [ - 7667, - 7753 + 7823, + 7909 ], "loc": { "start": { - "line": 278, + "line": 285, "column": 8 }, "end": { - "line": 279, + "line": 286, "column": 20 } }, @@ -11593,16 +11884,16 @@ "type": "Line", "value": "Loads extension stylesheet", "range": [ - 7630, - 7658 + 7786, + 7814 ], "loc": { "start": { - "line": 277, + "line": 284, "column": 8 }, "end": { - "line": 277, + "line": 284, "column": 36 } } @@ -11619,16 +11910,16 @@ "object": { "type": "ThisExpression", "range": [ - 7763, - 7767 + 7919, + 7923 ], "loc": { "start": { - "line": 281, + "line": 288, "column": 8 }, "end": { - "line": 281, + "line": 288, "column": 12 } } @@ -11637,78 +11928,78 @@ "type": "Identifier", "name": "enable", "range": [ - 7768, - 7774 + 7924, + 7930 ], "loc": { "start": { - "line": 281, + "line": 288, "column": 13 }, "end": { - "line": 281, + "line": 288, "column": 19 } } }, "range": [ - 7763, - 7774 + 7919, + 7930 ], "loc": { "start": { - "line": 281, + "line": 288, "column": 8 }, "end": { - "line": 281, + "line": 288, "column": 19 } } }, "arguments": [], "range": [ - 7763, - 7776 + 7919, + 7932 ], "loc": { "start": { - "line": 281, + "line": 288, "column": 8 }, "end": { - "line": 281, + "line": 288, "column": 21 } } }, "range": [ - 7763, - 7777 + 7919, + 7933 ], "loc": { "start": { - "line": 281, + "line": 288, "column": 8 }, "end": { - "line": 281, + "line": 288, "column": 22 } } } ], "range": [ - 518, - 7783 + 562, + 7939 ], "loc": { "start": { - "line": 19, + "line": 20, "column": 23 }, "end": { - "line": 282, + "line": 289, "column": 5 } } @@ -11716,16 +12007,16 @@ "generator": false, "expression": false, "range": [ - 510, - 7783 + 554, + 7939 ], "loc": { "start": { - "line": 19, + "line": 20, "column": 15 }, "end": { - "line": 282, + "line": 289, "column": 5 } } @@ -11733,16 +12024,16 @@ "kind": "constructor", "computed": false, "range": [ - 499, - 7783 + 543, + 7939 ], "loc": { "start": { - "line": 19, + "line": 20, "column": 4 }, "end": { - "line": 282, + "line": 289, "column": 5 } }, @@ -11751,16 +12042,977 @@ "type": "Block", "value": "*\n * Creates an instance of ColsVisibility\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} Configuration object\n ", "range": [ - 342, - 494 + 386, + 538 ], "loc": { "start": { - "line": 14, + "line": 15, "column": 4 }, "end": { - "line": 18, + "line": 19, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Mouse-up event handler handling popup auto-close behaviour\n * @private\n ", + "range": [ + 7945, + 8038 + ], + "loc": { + "start": { + "line": 291, + "column": 4 + }, + "end": { + "line": 294, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onMouseup", + "range": [ + 8043, + 8052 + ], + "loc": { + "start": { + "line": 295, + "column": 4 + }, + "end": { + "line": 295, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 8053, + 8056 + ], + "loc": { + "start": { + "line": 295, + "column": 14 + }, + "end": { + "line": 295, + "column": 17 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8072, + 8081 + ], + "loc": { + "start": { + "line": 296, + "column": 12 + }, + "end": { + "line": 296, + "column": 21 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 8084, + 8093 + ], + "loc": { + "start": { + "line": 296, + "column": 24 + }, + "end": { + "line": 296, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 8094, + 8097 + ], + "loc": { + "start": { + "line": 296, + "column": 34 + }, + "end": { + "line": 296, + "column": 37 + } + } + } + ], + "range": [ + 8084, + 8098 + ], + "loc": { + "start": { + "line": 296, + "column": 24 + }, + "end": { + "line": 296, + "column": 38 + } + } + }, + "range": [ + 8072, + 8098 + ], + "loc": { + "start": { + "line": 296, + "column": 12 + }, + "end": { + "line": 296, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 8068, + 8099 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 39 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8116, + 8125 + ], + "loc": { + "start": { + "line": 298, + "column": 15 + }, + "end": { + "line": 298, + "column": 24 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8129, + 8138 + ], + "loc": { + "start": { + "line": 298, + "column": 28 + }, + "end": { + "line": 298, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8143, + 8147 + ], + "loc": { + "start": { + "line": 298, + "column": 42 + }, + "end": { + "line": 298, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "contEl", + "range": [ + 8148, + 8154 + ], + "loc": { + "start": { + "line": 298, + "column": 47 + }, + "end": { + "line": 298, + "column": 53 + } + } + }, + "range": [ + 8143, + 8154 + ], + "loc": { + "start": { + "line": 298, + "column": 42 + }, + "end": { + "line": 298, + "column": 53 + } + } + }, + "range": [ + 8129, + 8154 + ], + "loc": { + "start": { + "line": 298, + "column": 28 + }, + "end": { + "line": 298, + "column": 53 + } + } + }, + "range": [ + 8116, + 8154 + ], + "loc": { + "start": { + "line": 298, + "column": 15 + }, + "end": { + "line": 298, + "column": 53 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8170, + 8179 + ], + "loc": { + "start": { + "line": 299, + "column": 15 + }, + "end": { + "line": 299, + "column": 24 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8184, + 8188 + ], + "loc": { + "start": { + "line": 299, + "column": 29 + }, + "end": { + "line": 299, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnEl", + "range": [ + 8189, + 8194 + ], + "loc": { + "start": { + "line": 299, + "column": 34 + }, + "end": { + "line": 299, + "column": 39 + } + } + }, + "range": [ + 8184, + 8194 + ], + "loc": { + "start": { + "line": 299, + "column": 29 + }, + "end": { + "line": 299, + "column": 39 + } + } + }, + "range": [ + 8170, + 8194 + ], + "loc": { + "start": { + "line": 299, + "column": 15 + }, + "end": { + "line": 299, + "column": 39 + } + } + }, + "range": [ + 8116, + 8194 + ], + "loc": { + "start": { + "line": 298, + "column": 15 + }, + "end": { + "line": 299, + "column": 39 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8210, + 8219 + ], + "loc": { + "start": { + "line": 300, + "column": 12 + }, + "end": { + "line": 300, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8222, + 8231 + ], + "loc": { + "start": { + "line": 300, + "column": 24 + }, + "end": { + "line": 300, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 8232, + 8242 + ], + "loc": { + "start": { + "line": 300, + "column": 34 + }, + "end": { + "line": 300, + "column": 44 + } + } + }, + "range": [ + 8222, + 8242 + ], + "loc": { + "start": { + "line": 300, + "column": 24 + }, + "end": { + "line": 300, + "column": 44 + } + } + }, + "range": [ + 8210, + 8242 + ], + "loc": { + "start": { + "line": 300, + "column": 12 + }, + "end": { + "line": 300, + "column": 44 + } + } + }, + "range": [ + 8210, + 8243 + ], + "loc": { + "start": { + "line": 300, + "column": 12 + }, + "end": { + "line": 300, + "column": 45 + } + } + } + ], + "range": [ + 8196, + 8253 + ], + "loc": { + "start": { + "line": 299, + "column": 41 + }, + "end": { + "line": 301, + "column": 9 + } + } + }, + "range": [ + 8109, + 8253 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 301, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8267, + 8276 + ], + "loc": { + "start": { + "line": 303, + "column": 12 + }, + "end": { + "line": 303, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8281, + 8285 + ], + "loc": { + "start": { + "line": 303, + "column": 26 + }, + "end": { + "line": 303, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "contEl", + "range": [ + 8286, + 8292 + ], + "loc": { + "start": { + "line": 303, + "column": 31 + }, + "end": { + "line": 303, + "column": 37 + } + } + }, + "range": [ + 8281, + 8292 + ], + "loc": { + "start": { + "line": 303, + "column": 26 + }, + "end": { + "line": 303, + "column": 37 + } + } + }, + "range": [ + 8267, + 8292 + ], + "loc": { + "start": { + "line": 303, + "column": 12 + }, + "end": { + "line": 303, + "column": 37 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8296, + 8305 + ], + "loc": { + "start": { + "line": 303, + "column": 41 + }, + "end": { + "line": 303, + "column": 50 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8310, + 8314 + ], + "loc": { + "start": { + "line": 303, + "column": 55 + }, + "end": { + "line": 303, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnEl", + "range": [ + 8315, + 8320 + ], + "loc": { + "start": { + "line": 303, + "column": 60 + }, + "end": { + "line": 303, + "column": 65 + } + } + }, + "range": [ + 8310, + 8320 + ], + "loc": { + "start": { + "line": 303, + "column": 55 + }, + "end": { + "line": 303, + "column": 65 + } + } + }, + "range": [ + 8296, + 8320 + ], + "loc": { + "start": { + "line": 303, + "column": 41 + }, + "end": { + "line": 303, + "column": 65 + } + } + }, + "range": [ + 8267, + 8320 + ], + "loc": { + "start": { + "line": 303, + "column": 12 + }, + "end": { + "line": 303, + "column": 65 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8336, + 8340 + ], + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 8341, + 8347 + ], + "loc": { + "start": { + "line": 304, + "column": 17 + }, + "end": { + "line": 304, + "column": 23 + } + } + }, + "range": [ + 8336, + 8347 + ], + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 23 + } + } + }, + "arguments": [], + "range": [ + 8336, + 8349 + ], + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 25 + } + } + }, + "range": [ + 8336, + 8350 + ], + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 26 + } + } + } + ], + "range": [ + 8322, + 8360 + ], + "loc": { + "start": { + "line": 303, + "column": 67 + }, + "end": { + "line": 305, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 8263, + 8360 + ], + "loc": { + "start": { + "line": 303, + "column": 8 + }, + "end": { + "line": 305, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 8370, + 8377 + ], + "loc": { + "start": { + "line": 307, + "column": 8 + }, + "end": { + "line": 307, + "column": 15 + } + } + } + ], + "range": [ + 8058, + 8383 + ], + "loc": { + "start": { + "line": 295, + "column": 19 + }, + "end": { + "line": 308, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8052, + 8383 + ], + "loc": { + "start": { + "line": 295, + "column": 13 + }, + "end": { + "line": 308, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 8043, + 8383 + ], + "loc": { + "start": { + "line": 295, + "column": 4 + }, + "end": { + "line": 308, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Mouse-up event handler handling popup auto-close behaviour\n * @private\n ", + "range": [ + 7945, + 8038 + ], + "loc": { + "start": { + "line": 291, + "column": 4 + }, + "end": { + "line": 294, "column": 7 } } @@ -11771,16 +13023,16 @@ "type": "Block", "value": "*\n * Toggle columns manager UI\n ", "range": [ - 7789, - 7833 + 8389, + 8433 ], "loc": { "start": { - "line": 284, + "line": 310, "column": 4 }, "end": { - "line": 286, + "line": 312, "column": 7 } } @@ -11794,16 +13046,16 @@ "type": "Identifier", "name": "toggle", "range": [ - 7838, - 7844 + 8438, + 8444 ], "loc": { "start": { - "line": 287, + "line": 313, "column": 4 }, "end": { - "line": 287, + "line": 313, "column": 10 } } @@ -11815,6 +13067,170 @@ "body": { "type": "BlockStatement", "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 8508, + 8517 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "root", + "range": [ + 8518, + 8522 + ], + "loc": { + "start": { + "line": 315, + "column": 18 + }, + "end": { + "line": 315, + "column": 22 + } + } + }, + { + "type": "Literal", + "value": "mouseup", + "raw": "'mouseup'", + "range": [ + 8524, + 8533 + ], + "loc": { + "start": { + "line": 315, + "column": 24 + }, + "end": { + "line": 315, + "column": 33 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8535, + 8539 + ], + "loc": { + "start": { + "line": 315, + "column": 35 + }, + "end": { + "line": 315, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 8540, + 8552 + ], + "loc": { + "start": { + "line": 315, + "column": 40 + }, + "end": { + "line": 315, + "column": 52 + } + } + }, + "range": [ + 8535, + 8552 + ], + "loc": { + "start": { + "line": 315, + "column": 35 + }, + "end": { + "line": 315, + "column": 52 + } + } + } + ], + "range": [ + 8508, + 8553 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 53 + } + } + }, + "range": [ + 8508, + 8554 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 54 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " ensure mouseup event handler is removed", + "range": [ + 8457, + 8499 + ], + "loc": { + "start": { + "line": 314, + "column": 8 + }, + "end": { + "line": 314, + "column": 50 + } + } + } + ] + }, { "type": "VariableDeclaration", "declarations": [ @@ -11824,16 +13240,16 @@ "type": "Identifier", "name": "contDisplay", "range": [ - 7861, - 7872 + 8568, + 8579 ], "loc": { "start": { - "line": 288, + "line": 317, "column": 12 }, "end": { - "line": 288, + "line": 317, "column": 23 } } @@ -11850,16 +13266,16 @@ "object": { "type": "ThisExpression", "range": [ - 7875, - 7879 + 8582, + 8586 ], "loc": { "start": { - "line": 288, + "line": 317, "column": 26 }, "end": { - "line": 288, + "line": 317, "column": 30 } } @@ -11868,31 +13284,31 @@ "type": "Identifier", "name": "contEl", "range": [ - 7880, - 7886 + 8587, + 8593 ], "loc": { "start": { - "line": 288, + "line": 317, "column": 31 }, "end": { - "line": 288, + "line": 317, "column": 37 } } }, "range": [ - 7875, - 7886 + 8582, + 8593 ], "loc": { "start": { - "line": 288, + "line": 317, "column": 26 }, "end": { - "line": 288, + "line": 317, "column": 37 } } @@ -11901,31 +13317,31 @@ "type": "Identifier", "name": "style", "range": [ - 7887, - 7892 + 8594, + 8599 ], "loc": { "start": { - "line": 288, + "line": 317, "column": 38 }, "end": { - "line": 288, + "line": 317, "column": 43 } } }, "range": [ - 7875, - 7892 + 8582, + 8599 ], "loc": { "start": { - "line": 288, + "line": 317, "column": 26 }, "end": { - "line": 288, + "line": 317, "column": 43 } } @@ -11934,46 +13350,46 @@ "type": "Identifier", "name": "display", "range": [ - 7893, - 7900 + 8600, + 8607 ], "loc": { "start": { - "line": 288, + "line": 317, "column": 44 }, "end": { - "line": 288, + "line": 317, "column": 51 } } }, "range": [ - 7875, - 7900 + 8582, + 8607 ], "loc": { "start": { - "line": 288, + "line": 317, "column": 26 }, "end": { - "line": 288, + "line": 317, "column": 51 } } }, "range": [ - 7861, - 7900 + 8568, + 8607 ], "loc": { "start": { - "line": 288, + "line": 317, "column": 12 }, "end": { - "line": 288, + "line": 317, "column": 51 } } @@ -11981,16 +13397,16 @@ ], "kind": "let", "range": [ - 7857, - 7901 + 8564, + 8608 ], "loc": { "start": { - "line": 288, + "line": 317, "column": 8 }, "end": { - "line": 288, + "line": 317, "column": 52 } } @@ -12004,16 +13420,16 @@ "type": "Identifier", "name": "contDisplay", "range": [ - 7915, - 7926 + 8622, + 8633 ], "loc": { "start": { - "line": 290, + "line": 319, "column": 12 }, "end": { - "line": 290, + "line": 319, "column": 23 } } @@ -12023,31 +13439,31 @@ "value": "inline", "raw": "'inline'", "range": [ - 7931, - 7939 + 8638, + 8646 ], "loc": { "start": { - "line": 290, + "line": 319, "column": 28 }, "end": { - "line": 290, + "line": 319, "column": 36 } } }, "range": [ - 7915, - 7939 + 8622, + 8646 ], "loc": { "start": { - "line": 290, + "line": 319, "column": 12 }, "end": { - "line": 290, + "line": 319, "column": 36 } } @@ -12065,16 +13481,16 @@ "object": { "type": "ThisExpression", "range": [ - 7955, - 7959 + 8662, + 8666 ], "loc": { "start": { - "line": 291, + "line": 320, "column": 12 }, "end": { - "line": 291, + "line": 320, "column": 16 } } @@ -12083,31 +13499,31 @@ "type": "Identifier", "name": "onBeforeOpen", "range": [ - 7960, - 7972 + 8667, + 8679 ], "loc": { "start": { - "line": 291, + "line": 320, "column": 17 }, "end": { - "line": 291, + "line": 320, "column": 29 } } }, "range": [ - 7955, - 7972 + 8662, + 8679 ], "loc": { "start": { - "line": 291, + "line": 320, "column": 12 }, "end": { - "line": 291, + "line": 320, "column": 29 } } @@ -12116,79 +13532,79 @@ { "type": "ThisExpression", "range": [ - 7973, - 7977 + 8680, + 8684 ], "loc": { "start": { - "line": 291, + "line": 320, "column": 30 }, "end": { - "line": 291, + "line": 320, "column": 34 } } } ], "range": [ - 7955, - 7978 + 8662, + 8685 ], "loc": { "start": { - "line": 291, + "line": 320, "column": 12 }, "end": { - "line": 291, + "line": 320, "column": 35 } } }, "range": [ - 7955, - 7979 + 8662, + 8686 ], "loc": { "start": { - "line": 291, + "line": 320, "column": 12 }, "end": { - "line": 291, + "line": 320, "column": 36 } } } ], "range": [ - 7941, - 7989 + 8648, + 8696 ], "loc": { "start": { - "line": 290, + "line": 319, "column": 38 }, "end": { - "line": 292, + "line": 321, "column": 9 } } }, "alternate": null, "range": [ - 7911, - 7989 + 8618, + 8696 ], "loc": { "start": { - "line": 290, + "line": 319, "column": 8 }, "end": { - "line": 292, + "line": 321, "column": 9 } } @@ -12202,16 +13618,16 @@ "type": "Identifier", "name": "contDisplay", "range": [ - 8002, - 8013 + 8709, + 8720 ], "loc": { "start": { - "line": 293, + "line": 322, "column": 12 }, "end": { - "line": 293, + "line": 322, "column": 23 } } @@ -12221,31 +13637,31 @@ "value": "inline", "raw": "'inline'", "range": [ - 8018, - 8026 + 8725, + 8733 ], "loc": { "start": { - "line": 293, + "line": 322, "column": 28 }, "end": { - "line": 293, + "line": 322, "column": 36 } } }, "range": [ - 8002, - 8026 + 8709, + 8733 ], "loc": { "start": { - "line": 293, + "line": 322, "column": 12 }, "end": { - "line": 293, + "line": 322, "column": 36 } } @@ -12263,16 +13679,16 @@ "object": { "type": "ThisExpression", "range": [ - 8042, - 8046 + 8749, + 8753 ], "loc": { "start": { - "line": 294, + "line": 323, "column": 12 }, "end": { - "line": 294, + "line": 323, "column": 16 } } @@ -12281,31 +13697,31 @@ "type": "Identifier", "name": "onBeforeClose", "range": [ - 8047, - 8060 + 8754, + 8767 ], "loc": { "start": { - "line": 294, + "line": 323, "column": 17 }, "end": { - "line": 294, + "line": 323, "column": 30 } } }, "range": [ - 8042, - 8060 + 8749, + 8767 ], "loc": { "start": { - "line": 294, + "line": 323, "column": 12 }, "end": { - "line": 294, + "line": 323, "column": 30 } } @@ -12314,79 +13730,79 @@ { "type": "ThisExpression", "range": [ - 8061, - 8065 + 8768, + 8772 ], "loc": { "start": { - "line": 294, + "line": 323, "column": 31 }, "end": { - "line": 294, + "line": 323, "column": 35 } } } ], "range": [ - 8042, - 8066 + 8749, + 8773 ], "loc": { "start": { - "line": 294, + "line": 323, "column": 12 }, "end": { - "line": 294, + "line": 323, "column": 36 } } }, "range": [ - 8042, - 8067 + 8749, + 8774 ], "loc": { "start": { - "line": 294, + "line": 323, "column": 12 }, "end": { - "line": 294, + "line": 323, "column": 37 } } } ], "range": [ - 8028, - 8077 + 8735, + 8784 ], "loc": { "start": { - "line": 293, + "line": 322, "column": 38 }, "end": { - "line": 295, + "line": 324, "column": 9 } } }, "alternate": null, "range": [ - 7998, - 8077 + 8705, + 8784 ], "loc": { "start": { - "line": 293, + "line": 322, "column": 8 }, "end": { - "line": 295, + "line": 324, "column": 9 } } @@ -12408,16 +13824,16 @@ "object": { "type": "ThisExpression", "range": [ - 8087, - 8091 + 8794, + 8798 ], "loc": { "start": { - "line": 297, + "line": 326, "column": 8 }, "end": { - "line": 297, + "line": 326, "column": 12 } } @@ -12426,31 +13842,31 @@ "type": "Identifier", "name": "contEl", "range": [ - 8092, - 8098 + 8799, + 8805 ], "loc": { "start": { - "line": 297, + "line": 326, "column": 13 }, "end": { - "line": 297, + "line": 326, "column": 19 } } }, "range": [ - 8087, - 8098 + 8794, + 8805 ], "loc": { "start": { - "line": 297, + "line": 326, "column": 8 }, "end": { - "line": 297, + "line": 326, "column": 19 } } @@ -12459,31 +13875,31 @@ "type": "Identifier", "name": "style", "range": [ - 8099, - 8104 + 8806, + 8811 ], "loc": { "start": { - "line": 297, + "line": 326, "column": 20 }, "end": { - "line": 297, + "line": 326, "column": 25 } } }, "range": [ - 8087, - 8104 + 8794, + 8811 ], "loc": { "start": { - "line": 297, + "line": 326, "column": 8 }, "end": { - "line": 297, + "line": 326, "column": 25 } } @@ -12492,31 +13908,31 @@ "type": "Identifier", "name": "display", "range": [ - 8105, - 8112 + 8812, + 8819 ], "loc": { "start": { - "line": 297, + "line": 326, "column": 26 }, "end": { - "line": 297, + "line": 326, "column": 33 } } }, "range": [ - 8087, - 8112 + 8794, + 8819 ], "loc": { "start": { - "line": 297, + "line": 326, "column": 8 }, "end": { - "line": 297, + "line": 326, "column": 33 } } @@ -12530,16 +13946,16 @@ "type": "Identifier", "name": "contDisplay", "range": [ - 8115, - 8126 + 8822, + 8833 ], "loc": { "start": { - "line": 297, + "line": 326, "column": 36 }, "end": { - "line": 297, + "line": 326, "column": 47 } } @@ -12549,31 +13965,31 @@ "value": "inline", "raw": "'inline'", "range": [ - 8131, - 8139 + 8838, + 8846 ], "loc": { "start": { - "line": 297, + "line": 326, "column": 52 }, "end": { - "line": 297, + "line": 326, "column": 60 } } }, "range": [ - 8115, - 8139 + 8822, + 8846 ], "loc": { "start": { - "line": 297, + "line": 326, "column": 36 }, "end": { - "line": 297, + "line": 326, "column": 60 } } @@ -12583,16 +13999,16 @@ "value": "none", "raw": "'none'", "range": [ - 8154, - 8160 + 8861, + 8867 ], "loc": { "start": { - "line": 298, + "line": 327, "column": 12 }, "end": { - "line": 298, + "line": 327, "column": 18 } } @@ -12602,61 +14018,61 @@ "value": "inline", "raw": "'inline'", "range": [ - 8163, - 8171 + 8870, + 8878 ], "loc": { "start": { - "line": 298, + "line": 327, "column": 21 }, "end": { - "line": 298, + "line": 327, "column": 29 } } }, "range": [ - 8115, - 8171 + 8822, + 8878 ], "loc": { "start": { - "line": 297, + "line": 326, "column": 36 }, "end": { - "line": 298, + "line": 327, "column": 29 } } }, "range": [ - 8087, - 8171 + 8794, + 8878 ], "loc": { "start": { - "line": 297, + "line": 326, "column": 8 }, "end": { - "line": 298, + "line": 327, "column": 29 } } }, "range": [ - 8087, - 8172 + 8794, + 8879 ], "loc": { "start": { - "line": 297, + "line": 326, "column": 8 }, "end": { - "line": 298, + "line": 327, "column": 30 } } @@ -12670,16 +14086,16 @@ "type": "Identifier", "name": "contDisplay", "range": [ - 8186, - 8197 + 8893, + 8904 ], "loc": { "start": { - "line": 300, + "line": 329, "column": 12 }, "end": { - "line": 300, + "line": 329, "column": 23 } } @@ -12689,31 +14105,31 @@ "value": "inline", "raw": "'inline'", "range": [ - 8202, - 8210 + 8909, + 8917 ], "loc": { "start": { - "line": 300, + "line": 329, "column": 28 }, "end": { - "line": 300, + "line": 329, "column": 36 } } }, "range": [ - 8186, - 8210 + 8893, + 8917 ], "loc": { "start": { - "line": 300, + "line": 329, "column": 12 }, "end": { - "line": 300, + "line": 329, "column": 36 } } @@ -12731,16 +14147,16 @@ "object": { "type": "ThisExpression", "range": [ - 8226, - 8230 + 8933, + 8937 ], "loc": { "start": { - "line": 301, + "line": 330, "column": 12 }, "end": { - "line": 301, + "line": 330, "column": 16 } } @@ -12749,31 +14165,31 @@ "type": "Identifier", "name": "onAfterOpen", "range": [ - 8231, - 8242 + 8938, + 8949 ], "loc": { "start": { - "line": 301, + "line": 330, "column": 17 }, "end": { - "line": 301, + "line": 330, "column": 28 } } }, "range": [ - 8226, - 8242 + 8933, + 8949 ], "loc": { "start": { - "line": 301, + "line": 330, "column": 12 }, "end": { - "line": 301, + "line": 330, "column": 28 } } @@ -12782,79 +14198,223 @@ { "type": "ThisExpression", "range": [ - 8243, - 8247 + 8950, + 8954 ], "loc": { "start": { - "line": 301, + "line": 330, "column": 29 }, "end": { - "line": 301, + "line": 330, "column": 33 } } } ], "range": [ - 8226, - 8248 + 8933, + 8955 ], "loc": { "start": { - "line": 301, + "line": 330, "column": 12 }, "end": { - "line": 301, + "line": 330, "column": 34 } } }, "range": [ - 8226, - 8249 + 8933, + 8956 ], "loc": { "start": { - "line": 301, + "line": 330, "column": 12 }, "end": { - "line": 301, + "line": 330, "column": 35 } } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 8969, + 8975 + ], + "loc": { + "start": { + "line": 331, + "column": 12 + }, + "end": { + "line": 331, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "root", + "range": [ + 8976, + 8980 + ], + "loc": { + "start": { + "line": 331, + "column": 19 + }, + "end": { + "line": 331, + "column": 23 + } + } + }, + { + "type": "Literal", + "value": "mouseup", + "raw": "'mouseup'", + "range": [ + 8982, + 8991 + ], + "loc": { + "start": { + "line": 331, + "column": 25 + }, + "end": { + "line": 331, + "column": 34 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8993, + 8997 + ], + "loc": { + "start": { + "line": 331, + "column": 36 + }, + "end": { + "line": 331, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 8998, + 9010 + ], + "loc": { + "start": { + "line": 331, + "column": 41 + }, + "end": { + "line": 331, + "column": 53 + } + } + }, + "range": [ + 8993, + 9010 + ], + "loc": { + "start": { + "line": 331, + "column": 36 + }, + "end": { + "line": 331, + "column": 53 + } + } + } + ], + "range": [ + 8969, + 9011 + ], + "loc": { + "start": { + "line": 331, + "column": 12 + }, + "end": { + "line": 331, + "column": 54 + } + } + }, + "range": [ + 8969, + 9012 + ], + "loc": { + "start": { + "line": 331, + "column": 12 + }, + "end": { + "line": 331, + "column": 55 + } + } } ], "range": [ - 8212, - 8259 + 8919, + 9022 ], "loc": { "start": { - "line": 300, + "line": 329, "column": 38 }, "end": { - "line": 302, + "line": 332, "column": 9 } } }, "alternate": null, "range": [ - 8182, - 8259 + 8889, + 9022 ], "loc": { "start": { - "line": 300, + "line": 329, "column": 8 }, "end": { - "line": 302, + "line": 332, "column": 9 } } @@ -12868,16 +14428,16 @@ "type": "Identifier", "name": "contDisplay", "range": [ - 8272, - 8283 + 9035, + 9046 ], "loc": { "start": { - "line": 303, + "line": 333, "column": 12 }, "end": { - "line": 303, + "line": 333, "column": 23 } } @@ -12887,31 +14447,31 @@ "value": "inline", "raw": "'inline'", "range": [ - 8288, - 8296 + 9051, + 9059 ], "loc": { "start": { - "line": 303, + "line": 333, "column": 28 }, "end": { - "line": 303, + "line": 333, "column": 36 } } }, "range": [ - 8272, - 8296 + 9035, + 9059 ], "loc": { "start": { - "line": 303, + "line": 333, "column": 12 }, "end": { - "line": 303, + "line": 333, "column": 36 } } @@ -12929,16 +14489,16 @@ "object": { "type": "ThisExpression", "range": [ - 8312, - 8316 + 9075, + 9079 ], "loc": { "start": { - "line": 304, + "line": 334, "column": 12 }, "end": { - "line": 304, + "line": 334, "column": 16 } } @@ -12947,31 +14507,31 @@ "type": "Identifier", "name": "onAfterClose", "range": [ - 8317, - 8329 + 9080, + 9092 ], "loc": { "start": { - "line": 304, + "line": 334, "column": 17 }, "end": { - "line": 304, + "line": 334, "column": 29 } } }, "range": [ - 8312, - 8329 + 9075, + 9092 ], "loc": { "start": { - "line": 304, + "line": 334, "column": 12 }, "end": { - "line": 304, + "line": 334, "column": 29 } } @@ -12980,95 +14540,95 @@ { "type": "ThisExpression", "range": [ - 8330, - 8334 + 9093, + 9097 ], "loc": { "start": { - "line": 304, + "line": 334, "column": 30 }, "end": { - "line": 304, + "line": 334, "column": 34 } } } ], "range": [ - 8312, - 8335 + 9075, + 9098 ], "loc": { "start": { - "line": 304, + "line": 334, "column": 12 }, "end": { - "line": 304, + "line": 334, "column": 35 } } }, "range": [ - 8312, - 8336 + 9075, + 9099 ], "loc": { "start": { - "line": 304, + "line": 334, "column": 12 }, "end": { - "line": 304, + "line": 334, "column": 36 } } } ], "range": [ - 8298, - 8346 + 9061, + 9109 ], "loc": { "start": { - "line": 303, + "line": 333, "column": 38 }, "end": { - "line": 305, + "line": 335, "column": 9 } } }, "alternate": null, "range": [ - 8268, - 8346 + 9031, + 9109 ], "loc": { "start": { - "line": 303, + "line": 333, "column": 8 }, "end": { - "line": 305, + "line": 335, "column": 9 } } } ], "range": [ - 7847, - 8352 + 8447, + 9115 ], "loc": { "start": { - "line": 287, + "line": 313, "column": 13 }, "end": { - "line": 306, + "line": 336, "column": 5 } } @@ -13076,16 +14636,16 @@ "generator": false, "expression": false, "range": [ - 7844, - 8352 + 8444, + 9115 ], "loc": { "start": { - "line": 287, + "line": 313, "column": 10 }, "end": { - "line": 306, + "line": 336, "column": 5 } } @@ -13093,16 +14653,16 @@ "kind": "method", "computed": false, "range": [ - 7838, - 8352 + 8438, + 9115 ], "loc": { "start": { - "line": 287, + "line": 313, "column": 4 }, "end": { - "line": 306, + "line": 336, "column": 5 } }, @@ -13111,16 +14671,16 @@ "type": "Block", "value": "*\n * Toggle columns manager UI\n ", "range": [ - 7789, - 7833 + 8389, + 8433 ], "loc": { "start": { - "line": 284, + "line": 310, "column": 4 }, "end": { - "line": 286, + "line": 312, "column": 7 } } @@ -13131,16 +14691,16 @@ "type": "Block", "value": "*\n * Check an item in columns manager UI\n * @private\n ", "range": [ - 8358, - 8428 + 9121, + 9191 ], "loc": { "start": { - "line": 308, + "line": 338, "column": 4 }, "end": { - "line": 311, + "line": 341, "column": 7 } } @@ -13154,16 +14714,16 @@ "type": "Identifier", "name": "checkItem", "range": [ - 8433, - 8442 + 9196, + 9205 ], "loc": { "start": { - "line": 312, + "line": 342, "column": 4 }, "end": { - "line": 312, + "line": 342, "column": 13 } } @@ -13176,16 +14736,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 8443, - 8446 + 9206, + 9209 ], "loc": { "start": { - "line": 312, + "line": 342, "column": 14 }, "end": { - "line": 312, + "line": 342, "column": 17 } } @@ -13203,16 +14763,16 @@ "type": "Identifier", "name": "li", "range": [ - 8462, - 8464 + 9225, + 9227 ], "loc": { "start": { - "line": 313, + "line": 343, "column": 12 }, "end": { - "line": 313, + "line": 343, "column": 14 } } @@ -13224,16 +14784,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 8467, - 8470 + 9230, + 9233 ], "loc": { "start": { - "line": 313, + "line": 343, "column": 17 }, "end": { - "line": 313, + "line": 343, "column": 20 } } @@ -13242,46 +14802,46 @@ "type": "Identifier", "name": "parentNode", "range": [ - 8471, - 8481 + 9234, + 9244 ], "loc": { "start": { - "line": 313, + "line": 343, "column": 21 }, "end": { - "line": 313, + "line": 343, "column": 31 } } }, "range": [ - 8467, - 8481 + 9230, + 9244 ], "loc": { "start": { - "line": 313, + "line": 343, "column": 17 }, "end": { - "line": 313, + "line": 343, "column": 31 } } }, "range": [ - 8462, - 8481 + 9225, + 9244 ], "loc": { "start": { - "line": 313, + "line": 343, "column": 12 }, "end": { - "line": 313, + "line": 343, "column": 31 } } @@ -13289,16 +14849,16 @@ ], "kind": "let", "range": [ - 8458, - 8482 + 9221, + 9245 ], "loc": { "start": { - "line": 313, + "line": 343, "column": 8 }, "end": { - "line": 313, + "line": 343, "column": 32 } } @@ -13315,32 +14875,32 @@ "type": "Identifier", "name": "li", "range": [ - 8496, - 8498 + 9259, + 9261 ], "loc": { "start": { - "line": 314, + "line": 344, "column": 13 }, "end": { - "line": 314, + "line": 344, "column": 15 } } }, "prefix": true, "range": [ - 8495, - 8498 + 9258, + 9261 ], "loc": { "start": { - "line": 314, + "line": 344, "column": 12 }, "end": { - "line": 314, + "line": 344, "column": 15 } } @@ -13352,47 +14912,47 @@ "type": "Identifier", "name": "lbl", "range": [ - 8503, - 8506 + 9266, + 9269 ], "loc": { "start": { - "line": 314, + "line": 344, "column": 20 }, "end": { - "line": 314, + "line": 344, "column": 23 } } }, "prefix": true, "range": [ - 8502, - 8506 + 9265, + 9269 ], "loc": { "start": { - "line": 314, + "line": 344, "column": 19 }, "end": { - "line": 314, + "line": 344, "column": 23 } } }, "range": [ - 8495, - 8506 + 9258, + 9269 ], "loc": { "start": { - "line": 314, + "line": 344, "column": 12 }, "end": { - "line": 314, + "line": 344, "column": 23 } } @@ -13404,48 +14964,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 8522, - 8529 + 9285, + 9292 ], "loc": { "start": { - "line": 315, + "line": 345, "column": 12 }, "end": { - "line": 315, + "line": 345, "column": 19 } } } ], "range": [ - 8508, - 8539 + 9271, + 9302 ], "loc": { "start": { - "line": 314, + "line": 344, "column": 25 }, "end": { - "line": 316, + "line": 346, "column": 9 } } }, "alternate": null, "range": [ - 8491, - 8539 + 9254, + 9302 ], "loc": { "start": { - "line": 314, + "line": 344, "column": 8 }, "end": { - "line": 316, + "line": 346, "column": 9 } } @@ -13459,16 +15019,16 @@ "type": "Identifier", "name": "isChecked", "range": [ - 8552, - 8561 + 9315, + 9324 ], "loc": { "start": { - "line": 317, + "line": 347, "column": 12 }, "end": { - "line": 317, + "line": 347, "column": 21 } } @@ -13483,16 +15043,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 8564, - 8567 + 9327, + 9330 ], "loc": { "start": { - "line": 317, + "line": 347, "column": 24 }, "end": { - "line": 317, + "line": 347, "column": 27 } } @@ -13501,31 +15061,31 @@ "type": "Identifier", "name": "firstChild", "range": [ - 8568, - 8578 + 9331, + 9341 ], "loc": { "start": { - "line": 317, + "line": 347, "column": 28 }, "end": { - "line": 317, + "line": 347, "column": 38 } } }, "range": [ - 8564, - 8578 + 9327, + 9341 ], "loc": { "start": { - "line": 317, + "line": 347, "column": 24 }, "end": { - "line": 317, + "line": 347, "column": 38 } } @@ -13534,46 +15094,46 @@ "type": "Identifier", "name": "checked", "range": [ - 8579, - 8586 + 9342, + 9349 ], "loc": { "start": { - "line": 317, + "line": 347, "column": 39 }, "end": { - "line": 317, + "line": 347, "column": 46 } } }, "range": [ - 8564, - 8586 + 9327, + 9349 ], "loc": { "start": { - "line": 317, + "line": 347, "column": 24 }, "end": { - "line": 317, + "line": 347, "column": 46 } } }, "range": [ - 8552, - 8586 + 9315, + 9349 ], "loc": { "start": { - "line": 317, + "line": 347, "column": 12 }, "end": { - "line": 317, + "line": 347, "column": 46 } } @@ -13581,16 +15141,16 @@ ], "kind": "let", "range": [ - 8548, - 8587 + 9311, + 9350 ], "loc": { "start": { - "line": 317, + "line": 347, "column": 8 }, "end": { - "line": 317, + "line": 347, "column": 47 } } @@ -13604,16 +15164,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 8600, - 8608 + 9363, + 9371 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 12 }, "end": { - "line": 318, + "line": 348, "column": 20 } } @@ -13638,16 +15198,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 8611, - 8614 + 9374, + 9377 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 23 }, "end": { - "line": 318, + "line": 348, "column": 26 } } @@ -13656,31 +15216,31 @@ "type": "Identifier", "name": "firstChild", "range": [ - 8615, - 8625 + 9378, + 9388 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 27 }, "end": { - "line": 318, + "line": 348, "column": 37 } } }, "range": [ - 8611, - 8625 + 9374, + 9388 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 23 }, "end": { - "line": 318, + "line": 348, "column": 37 } } @@ -13689,31 +15249,31 @@ "type": "Identifier", "name": "getAttribute", "range": [ - 8626, - 8638 + 9389, + 9401 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 38 }, "end": { - "line": 318, + "line": 348, "column": 50 } } }, "range": [ - 8611, - 8638 + 9374, + 9401 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 23 }, "end": { - "line": 318, + "line": 348, "column": 50 } } @@ -13724,32 +15284,32 @@ "value": "id", "raw": "'id'", "range": [ - 8639, - 8643 + 9402, + 9406 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 51 }, "end": { - "line": 318, + "line": 348, "column": 55 } } } ], "range": [ - 8611, - 8644 + 9374, + 9407 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 23 }, "end": { - "line": 318, + "line": 348, "column": 56 } } @@ -13758,31 +15318,31 @@ "type": "Identifier", "name": "split", "range": [ - 8645, - 8650 + 9408, + 9413 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 57 }, "end": { - "line": 318, + "line": 348, "column": 62 } } }, "range": [ - 8611, - 8650 + 9374, + 9413 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 23 }, "end": { - "line": 318, + "line": 348, "column": 62 } } @@ -13793,32 +15353,32 @@ "value": "_", "raw": "'_'", "range": [ - 8651, - 8654 + 9414, + 9417 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 63 }, "end": { - "line": 318, + "line": 348, "column": 66 } } } ], "range": [ - 8611, - 8655 + 9374, + 9418 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 23 }, "end": { - "line": 318, + "line": 348, "column": 67 } } @@ -13828,46 +15388,46 @@ "value": 1, "raw": "1", "range": [ - 8656, - 8657 + 9419, + 9420 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 68 }, "end": { - "line": 318, + "line": 348, "column": 69 } } }, "range": [ - 8611, - 8658 + 9374, + 9421 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 23 }, "end": { - "line": 318, + "line": 348, "column": 70 } } }, "range": [ - 8600, - 8658 + 9363, + 9421 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 12 }, "end": { - "line": 318, + "line": 348, "column": 70 } } @@ -13875,16 +15435,16 @@ ], "kind": "let", "range": [ - 8596, - 8659 + 9359, + 9422 ], "loc": { "start": { - "line": 318, + "line": 348, "column": 8 }, "end": { - "line": 318, + "line": 348, "column": 71 } } @@ -13898,16 +15458,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 8668, - 8676 + 9431, + 9439 ], "loc": { "start": { - "line": 319, + "line": 349, "column": 8 }, "end": { - "line": 319, + "line": 349, "column": 16 } } @@ -13918,16 +15478,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 8679, - 8687 + 9442, + 9450 ], "loc": { "start": { - "line": 319, + "line": 349, "column": 19 }, "end": { - "line": 319, + "line": 349, "column": 27 } } @@ -13937,16 +15497,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 8688, - 8696 + 9451, + 9459 ], "loc": { "start": { - "line": 319, + "line": 349, "column": 28 }, "end": { - "line": 319, + "line": 349, "column": 36 } } @@ -13956,62 +15516,62 @@ "value": 10, "raw": "10", "range": [ - 8698, - 8700 + 9461, + 9463 ], "loc": { "start": { - "line": 319, + "line": 349, "column": 38 }, "end": { - "line": 319, + "line": 349, "column": 40 } } } ], "range": [ - 8679, - 8701 + 9442, + 9464 ], "loc": { "start": { - "line": 319, + "line": 349, "column": 19 }, "end": { - "line": 319, + "line": 349, "column": 41 } } }, "range": [ - 8668, - 8701 + 9431, + 9464 ], "loc": { "start": { - "line": 319, + "line": 349, "column": 8 }, "end": { - "line": 319, + "line": 349, "column": 41 } } }, "range": [ - 8668, - 8702 + 9431, + 9465 ], "loc": { "start": { - "line": 319, + "line": 349, "column": 8 }, "end": { - "line": 319, + "line": 349, "column": 42 } } @@ -14022,16 +15582,16 @@ "type": "Identifier", "name": "isChecked", "range": [ - 8715, - 8724 + 9478, + 9487 ], "loc": { "start": { - "line": 320, + "line": 350, "column": 12 }, "end": { - "line": 320, + "line": 350, "column": 21 } } @@ -14047,16 +15607,16 @@ "type": "Identifier", "name": "addClass", "range": [ - 8740, - 8748 + 9503, + 9511 ], "loc": { "start": { - "line": 321, + "line": 351, "column": 12 }, "end": { - "line": 321, + "line": 351, "column": 20 } } @@ -14066,16 +15626,16 @@ "type": "Identifier", "name": "li", "range": [ - 8749, - 8751 + 9512, + 9514 ], "loc": { "start": { - "line": 321, + "line": 351, "column": 21 }, "end": { - "line": 321, + "line": 351, "column": 23 } } @@ -14086,16 +15646,16 @@ "object": { "type": "ThisExpression", "range": [ - 8753, - 8757 + 9516, + 9520 ], "loc": { "start": { - "line": 321, + "line": 351, "column": 25 }, "end": { - "line": 321, + "line": 351, "column": 29 } } @@ -14104,78 +15664,78 @@ "type": "Identifier", "name": "listSlcItemCssClass", "range": [ - 8758, - 8777 + 9521, + 9540 ], "loc": { "start": { - "line": 321, + "line": 351, "column": 30 }, "end": { - "line": 321, + "line": 351, "column": 49 } } }, "range": [ - 8753, - 8777 + 9516, + 9540 ], "loc": { "start": { - "line": 321, + "line": 351, "column": 25 }, "end": { - "line": 321, + "line": 351, "column": 49 } } } ], "range": [ - 8740, - 8778 + 9503, + 9541 ], "loc": { "start": { - "line": 321, + "line": 351, "column": 12 }, "end": { - "line": 321, + "line": 351, "column": 50 } } }, "range": [ - 8740, - 8779 + 9503, + 9542 ], "loc": { "start": { - "line": 321, + "line": 351, "column": 12 }, "end": { - "line": 321, + "line": 351, "column": 51 } } } ], "range": [ - 8726, - 8789 + 9489, + 9552 ], "loc": { "start": { - "line": 320, + "line": 350, "column": 23 }, "end": { - "line": 322, + "line": 352, "column": 9 } } @@ -14191,16 +15751,16 @@ "type": "Identifier", "name": "removeClass", "range": [ - 8809, - 8820 + 9572, + 9583 ], "loc": { "start": { - "line": 323, + "line": 353, "column": 12 }, "end": { - "line": 323, + "line": 353, "column": 23 } } @@ -14210,16 +15770,16 @@ "type": "Identifier", "name": "li", "range": [ - 8821, - 8823 + 9584, + 9586 ], "loc": { "start": { - "line": 323, + "line": 353, "column": 24 }, "end": { - "line": 323, + "line": 353, "column": 26 } } @@ -14230,16 +15790,16 @@ "object": { "type": "ThisExpression", "range": [ - 8825, - 8829 + 9588, + 9592 ], "loc": { "start": { - "line": 323, + "line": 353, "column": 28 }, "end": { - "line": 323, + "line": 353, "column": 32 } } @@ -14248,93 +15808,93 @@ "type": "Identifier", "name": "listSlcItemCssClass", "range": [ - 8830, - 8849 + 9593, + 9612 ], "loc": { "start": { - "line": 323, + "line": 353, "column": 33 }, "end": { - "line": 323, + "line": 353, "column": 52 } } }, "range": [ - 8825, - 8849 + 9588, + 9612 ], "loc": { "start": { - "line": 323, + "line": 353, "column": 28 }, "end": { - "line": 323, + "line": 353, "column": 52 } } } ], "range": [ - 8809, - 8850 + 9572, + 9613 ], "loc": { "start": { - "line": 323, + "line": 353, "column": 12 }, "end": { - "line": 323, + "line": 353, "column": 53 } } }, "range": [ - 8809, - 8851 + 9572, + 9614 ], "loc": { "start": { - "line": 323, + "line": 353, "column": 12 }, "end": { - "line": 323, + "line": 353, "column": 54 } } } ], "range": [ - 8795, - 8861 + 9558, + 9624 ], "loc": { "start": { - "line": 322, + "line": 352, "column": 15 }, "end": { - "line": 324, + "line": 354, "column": 9 } } }, "range": [ - 8711, - 8861 + 9474, + 9624 ], "loc": { "start": { - "line": 320, + "line": 350, "column": 8 }, "end": { - "line": 324, + "line": 354, "column": 9 } } @@ -14348,16 +15908,16 @@ "type": "Identifier", "name": "hide", "range": [ - 8875, - 8879 + 9638, + 9642 ], "loc": { "start": { - "line": 326, + "line": 356, "column": 12 }, "end": { - "line": 326, + "line": 356, "column": 16 } } @@ -14367,31 +15927,31 @@ "value": false, "raw": "false", "range": [ - 8882, - 8887 + 9645, + 9650 ], "loc": { "start": { - "line": 326, + "line": 356, "column": 19 }, "end": { - "line": 326, + "line": 356, "column": 24 } } }, "range": [ - 8875, - 8887 + 9638, + 9650 ], "loc": { "start": { - "line": 326, + "line": 356, "column": 12 }, "end": { - "line": 326, + "line": 356, "column": 24 } } @@ -14399,16 +15959,16 @@ ], "kind": "let", "range": [ - 8871, - 8888 + 9634, + 9651 ], "loc": { "start": { - "line": 326, + "line": 356, "column": 8 }, "end": { - "line": 326, + "line": 356, "column": 25 } } @@ -14427,16 +15987,16 @@ "object": { "type": "ThisExpression", "range": [ - 8902, - 8906 + 9665, + 9669 ], "loc": { "start": { - "line": 327, + "line": 357, "column": 13 }, "end": { - "line": 327, + "line": 357, "column": 17 } } @@ -14445,31 +16005,31 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 8907, - 8917 + 9670, + 9680 ], "loc": { "start": { - "line": 327, + "line": 357, "column": 18 }, "end": { - "line": 327, + "line": 357, "column": 28 } } }, "range": [ - 8902, - 8917 + 9665, + 9680 ], "loc": { "start": { - "line": 327, + "line": 357, "column": 13 }, "end": { - "line": 327, + "line": 357, "column": 28 } } @@ -14478,31 +16038,31 @@ "type": "Identifier", "name": "isChecked", "range": [ - 8921, - 8930 + 9684, + 9693 ], "loc": { "start": { - "line": 327, + "line": 357, "column": 32 }, "end": { - "line": 327, + "line": 357, "column": 41 } } }, "range": [ - 8902, - 8930 + 9665, + 9693 ], "loc": { "start": { - "line": 327, + "line": 357, "column": 13 }, "end": { - "line": 327, + "line": 357, "column": 41 } } @@ -14519,16 +16079,16 @@ "object": { "type": "ThisExpression", "range": [ - 8949, - 8953 + 9712, + 9716 ], "loc": { "start": { - "line": 328, + "line": 358, "column": 14 }, "end": { - "line": 328, + "line": 358, "column": 18 } } @@ -14537,47 +16097,47 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 8954, - 8964 + 9717, + 9727 ], "loc": { "start": { - "line": 328, + "line": 358, "column": 19 }, "end": { - "line": 328, + "line": 358, "column": 29 } } }, "range": [ - 8949, - 8964 + 9712, + 9727 ], "loc": { "start": { - "line": 328, + "line": 358, "column": 14 }, "end": { - "line": 328, + "line": 358, "column": 29 } } }, "prefix": true, "range": [ - 8948, - 8964 + 9711, + 9727 ], "loc": { "start": { - "line": 328, + "line": 358, "column": 13 }, "end": { - "line": 328, + "line": 358, "column": 29 } } @@ -14589,62 +16149,62 @@ "type": "Identifier", "name": "isChecked", "range": [ - 8969, - 8978 + 9732, + 9741 ], "loc": { "start": { - "line": 328, + "line": 358, "column": 34 }, "end": { - "line": 328, + "line": 358, "column": 43 } } }, "prefix": true, "range": [ - 8968, - 8978 + 9731, + 9741 ], "loc": { "start": { - "line": 328, + "line": 358, "column": 33 }, "end": { - "line": 328, + "line": 358, "column": 43 } } }, "range": [ - 8948, - 8978 + 9711, + 9741 ], "loc": { "start": { - "line": 328, + "line": 358, "column": 13 }, "end": { - "line": 328, + "line": 358, "column": 43 } } }, "range": [ - 8901, - 8979 + 9664, + 9742 ], "loc": { "start": { - "line": 327, + "line": 357, "column": 12 }, "end": { - "line": 328, + "line": 358, "column": 44 } } @@ -14661,16 +16221,16 @@ "type": "Identifier", "name": "hide", "range": [ - 8995, - 8999 + 9758, + 9762 ], "loc": { "start": { - "line": 329, + "line": 359, "column": 12 }, "end": { - "line": 329, + "line": 359, "column": 16 } } @@ -14680,78 +16240,78 @@ "value": true, "raw": "true", "range": [ - 9002, - 9006 + 9765, + 9769 ], "loc": { "start": { - "line": 329, + "line": 359, "column": 19 }, "end": { - "line": 329, + "line": 359, "column": 23 } } }, "range": [ - 8995, - 9006 + 9758, + 9769 ], "loc": { "start": { - "line": 329, + "line": 359, "column": 12 }, "end": { - "line": 329, + "line": 359, "column": 23 } } }, "range": [ - 8995, - 9007 + 9758, + 9770 ], "loc": { "start": { - "line": 329, + "line": 359, "column": 12 }, "end": { - "line": 329, + "line": 359, "column": 24 } } } ], "range": [ - 8981, - 9017 + 9744, + 9780 ], "loc": { "start": { - "line": 328, + "line": 358, "column": 46 }, "end": { - "line": 330, + "line": 360, "column": 9 } } }, "alternate": null, "range": [ - 8897, - 9017 + 9660, + 9780 ], "loc": { "start": { - "line": 327, + "line": 357, "column": 8 }, "end": { - "line": 330, + "line": 360, "column": 9 } } @@ -14766,16 +16326,16 @@ "object": { "type": "ThisExpression", "range": [ - 9026, - 9030 + 9789, + 9793 ], "loc": { "start": { - "line": 331, + "line": 361, "column": 8 }, "end": { - "line": 331, + "line": 361, "column": 12 } } @@ -14784,31 +16344,31 @@ "type": "Identifier", "name": "setHidden", "range": [ - 9031, - 9040 + 9794, + 9803 ], "loc": { "start": { - "line": 331, + "line": 361, "column": 13 }, "end": { - "line": 331, + "line": 361, "column": 22 } } }, "range": [ - 9026, - 9040 + 9789, + 9803 ], "loc": { "start": { - "line": 331, + "line": 361, "column": 8 }, "end": { - "line": 331, + "line": 361, "column": 22 } } @@ -14818,16 +16378,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 9041, - 9049 + 9804, + 9812 ], "loc": { "start": { - "line": 331, + "line": 361, "column": 23 }, "end": { - "line": 331, + "line": 361, "column": 31 } } @@ -14836,63 +16396,63 @@ "type": "Identifier", "name": "hide", "range": [ - 9051, - 9055 + 9814, + 9818 ], "loc": { "start": { - "line": 331, + "line": 361, "column": 33 }, "end": { - "line": 331, + "line": 361, "column": 37 } } } ], "range": [ - 9026, - 9056 + 9789, + 9819 ], "loc": { "start": { - "line": 331, + "line": 361, "column": 8 }, "end": { - "line": 331, + "line": 361, "column": 38 } } }, "range": [ - 9026, - 9057 + 9789, + 9820 ], "loc": { "start": { - "line": 331, + "line": 361, "column": 8 }, "end": { - "line": 331, + "line": 361, "column": 39 } } } ], "range": [ - 8448, - 9063 + 9211, + 9826 ], "loc": { "start": { - "line": 312, + "line": 342, "column": 19 }, "end": { - "line": 332, + "line": 362, "column": 5 } } @@ -14900,16 +16460,16 @@ "generator": false, "expression": false, "range": [ - 8442, - 9063 + 9205, + 9826 ], "loc": { "start": { - "line": 312, + "line": 342, "column": 13 }, "end": { - "line": 332, + "line": 362, "column": 5 } } @@ -14917,16 +16477,16 @@ "kind": "method", "computed": false, "range": [ - 8433, - 9063 + 9196, + 9826 ], "loc": { "start": { - "line": 312, + "line": 342, "column": 4 }, "end": { - "line": 332, + "line": 362, "column": 5 } }, @@ -14935,16 +16495,16 @@ "type": "Block", "value": "*\n * Check an item in columns manager UI\n * @private\n ", "range": [ - 8358, - 8428 + 9121, + 9191 ], "loc": { "start": { - "line": 308, + "line": 338, "column": 4 }, "end": { - "line": 311, + "line": 341, "column": 7 } } @@ -14955,16 +16515,16 @@ "type": "Block", "value": "*\n * Initializes ColsVisibility instance\n ", "range": [ - 9069, - 9123 + 9832, + 9886 ], "loc": { "start": { - "line": 334, + "line": 364, "column": 4 }, "end": { - "line": 336, + "line": 366, "column": 7 } } @@ -14978,16 +16538,16 @@ "type": "Identifier", "name": "init", "range": [ - 9128, - 9132 + 9891, + 9895 ], "loc": { "start": { - "line": 337, + "line": 367, "column": 4 }, "end": { - "line": 337, + "line": 367, "column": 8 } } @@ -15010,16 +16570,16 @@ "object": { "type": "ThisExpression", "range": [ - 9149, - 9153 + 9912, + 9916 ], "loc": { "start": { - "line": 338, + "line": 368, "column": 12 }, "end": { - "line": 338, + "line": 368, "column": 16 } } @@ -15028,31 +16588,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 9154, - 9165 + 9917, + 9928 ], "loc": { "start": { - "line": 338, + "line": 368, "column": 17 }, "end": { - "line": 338, + "line": 368, "column": 28 } } }, "range": [ - 9149, - 9165 + 9912, + 9928 ], "loc": { "start": { - "line": 338, + "line": 368, "column": 12 }, "end": { - "line": 338, + "line": 368, "column": 28 } } @@ -15066,16 +16626,16 @@ "object": { "type": "ThisExpression", "range": [ - 9170, - 9174 + 9933, + 9937 ], "loc": { "start": { - "line": 338, + "line": 368, "column": 33 }, "end": { - "line": 338, + "line": 368, "column": 37 } } @@ -15084,62 +16644,62 @@ "type": "Identifier", "name": "manager", "range": [ - 9175, - 9182 + 9938, + 9945 ], "loc": { "start": { - "line": 338, + "line": 368, "column": 38 }, "end": { - "line": 338, + "line": 368, "column": 45 } } }, "range": [ - 9170, - 9182 + 9933, + 9945 ], "loc": { "start": { - "line": 338, + "line": 368, "column": 33 }, "end": { - "line": 338, + "line": 368, "column": 45 } } }, "prefix": true, "range": [ - 9169, - 9182 + 9932, + 9945 ], "loc": { "start": { - "line": 338, + "line": 368, "column": 32 }, "end": { - "line": 338, + "line": 368, "column": 45 } } }, "range": [ - 9149, - 9182 + 9912, + 9945 ], "loc": { "start": { - "line": 338, + "line": 368, "column": 12 }, "end": { - "line": 338, + "line": 368, "column": 45 } } @@ -15151,48 +16711,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 9198, - 9205 + 9961, + 9968 ], "loc": { "start": { - "line": 339, + "line": 369, "column": 12 }, "end": { - "line": 339, + "line": 369, "column": 19 } } } ], "range": [ - 9184, - 9215 + 9947, + 9978 ], "loc": { "start": { - "line": 338, + "line": 368, "column": 47 }, "end": { - "line": 340, + "line": 370, "column": 9 } } }, "alternate": null, "range": [ - 9145, - 9215 + 9908, + 9978 ], "loc": { "start": { - "line": 338, + "line": 368, "column": 8 }, "end": { - "line": 340, + "line": 370, "column": 9 } } @@ -15210,16 +16770,16 @@ "object": { "type": "ThisExpression", "range": [ - 9225, - 9229 + 9988, + 9992 ], "loc": { "start": { - "line": 342, + "line": 372, "column": 8 }, "end": { - "line": 342, + "line": 372, "column": 12 } } @@ -15228,31 +16788,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 9230, - 9237 + 9993, + 10000 ], "loc": { "start": { - "line": 342, + "line": 372, "column": 13 }, "end": { - "line": 342, + "line": 372, "column": 20 } } }, "range": [ - 9225, - 9237 + 9988, + 10000 ], "loc": { "start": { - "line": 342, + "line": 372, "column": 8 }, "end": { - "line": 342, + "line": 372, "column": 20 } } @@ -15261,31 +16821,31 @@ "type": "Identifier", "name": "on", "range": [ - 9238, - 9240 + 10001, + 10003 ], "loc": { "start": { - "line": 342, + "line": 372, "column": 21 }, "end": { - "line": 342, + "line": 372, "column": 23 } } }, "range": [ - 9225, - 9240 + 9988, + 10003 ], "loc": { "start": { - "line": 342, + "line": 372, "column": 8 }, "end": { - "line": 342, + "line": 372, "column": 23 } } @@ -15299,32 +16859,32 @@ "value": "hide-column", "raw": "'hide-column'", "range": [ - 9242, - 9255 + 10005, + 10018 ], "loc": { "start": { - "line": 342, + "line": 372, "column": 25 }, "end": { - "line": 342, + "line": 372, "column": 38 } } } ], "range": [ - 9241, - 9256 + 10004, + 10019 ], "loc": { "start": { - "line": 342, + "line": 372, "column": 24 }, "end": { - "line": 342, + "line": 372, "column": 39 } } @@ -15337,16 +16897,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9271, - 9273 + 10034, + 10036 ], "loc": { "start": { - "line": 343, + "line": 373, "column": 13 }, "end": { - "line": 343, + "line": 373, "column": 15 } } @@ -15355,16 +16915,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 9275, - 9283 + 10038, + 10046 ], "loc": { "start": { - "line": 343, + "line": 373, "column": 17 }, "end": { - "line": 343, + "line": 373, "column": 25 } } @@ -15378,16 +16938,16 @@ "object": { "type": "ThisExpression", "range": [ - 9288, - 9292 + 10051, + 10055 ], "loc": { "start": { - "line": 343, + "line": 373, "column": 30 }, "end": { - "line": 343, + "line": 373, "column": 34 } } @@ -15396,31 +16956,31 @@ "type": "Identifier", "name": "hideCol", "range": [ - 9293, - 9300 + 10056, + 10063 ], "loc": { "start": { - "line": 343, + "line": 373, "column": 35 }, "end": { - "line": 343, + "line": 373, "column": 42 } } }, "range": [ - 9288, - 9300 + 10051, + 10063 ], "loc": { "start": { - "line": 343, + "line": 373, "column": 30 }, "end": { - "line": 343, + "line": 373, "column": 42 } } @@ -15430,32 +16990,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 9301, - 9309 + 10064, + 10072 ], "loc": { "start": { - "line": 343, + "line": 373, "column": 43 }, "end": { - "line": 343, + "line": 373, "column": 51 } } } ], "range": [ - 9288, - 9310 + 10051, + 10073 ], "loc": { "start": { - "line": 343, + "line": 373, "column": 30 }, "end": { - "line": 343, + "line": 373, "column": 52 } } @@ -15463,47 +17023,47 @@ "generator": false, "expression": true, "range": [ - 9270, - 9310 + 10033, + 10073 ], "loc": { "start": { - "line": 343, + "line": 373, "column": 12 }, "end": { - "line": 343, + "line": 373, "column": 52 } } } ], "range": [ - 9225, - 9311 + 9988, + 10074 ], "loc": { "start": { - "line": 342, + "line": 372, "column": 8 }, "end": { - "line": 343, + "line": 373, "column": 53 } } }, "range": [ - 9225, - 9312 + 9988, + 10075 ], "loc": { "start": { - "line": 342, + "line": 372, "column": 8 }, "end": { - "line": 343, + "line": 373, "column": 54 } } @@ -15518,16 +17078,16 @@ "object": { "type": "ThisExpression", "range": [ - 9322, - 9326 + 10085, + 10089 ], "loc": { "start": { - "line": 345, + "line": 375, "column": 8 }, "end": { - "line": 345, + "line": 375, "column": 12 } } @@ -15536,62 +17096,62 @@ "type": "Identifier", "name": "buildBtn", "range": [ - 9327, - 9335 + 10090, + 10098 ], "loc": { "start": { - "line": 345, + "line": 375, "column": 13 }, "end": { - "line": 345, + "line": 375, "column": 21 } } }, "range": [ - 9322, - 9335 + 10085, + 10098 ], "loc": { "start": { - "line": 345, + "line": 375, "column": 8 }, "end": { - "line": 345, + "line": 375, "column": 21 } } }, "arguments": [], "range": [ - 9322, - 9337 + 10085, + 10100 ], "loc": { "start": { - "line": 345, + "line": 375, "column": 8 }, "end": { - "line": 345, + "line": 375, "column": 23 } } }, "range": [ - 9322, - 9338 + 10085, + 10101 ], "loc": { "start": { - "line": 345, + "line": 375, "column": 8 }, "end": { - "line": 345, + "line": 375, "column": 24 } } @@ -15606,16 +17166,16 @@ "object": { "type": "ThisExpression", "range": [ - 9347, - 9351 + 10110, + 10114 ], "loc": { "start": { - "line": 346, + "line": 376, "column": 8 }, "end": { - "line": 346, + "line": 376, "column": 12 } } @@ -15624,81 +17184,81 @@ "type": "Identifier", "name": "buildManager", "range": [ - 9352, - 9364 + 10115, + 10127 ], "loc": { "start": { - "line": 346, + "line": 376, "column": 13 }, "end": { - "line": 346, + "line": 376, "column": 25 } } }, "range": [ - 9347, - 9364 + 10110, + 10127 ], "loc": { "start": { - "line": 346, + "line": 376, "column": 8 }, "end": { - "line": 346, + "line": 376, "column": 25 } } }, "arguments": [], "range": [ - 9347, - 9366 + 10110, + 10129 ], "loc": { "start": { - "line": 346, + "line": 376, "column": 8 }, "end": { - "line": 346, + "line": 376, "column": 27 } } }, "range": [ - 9347, - 9367 + 10110, + 10130 ], "loc": { "start": { - "line": 346, + "line": 376, "column": 8 }, "end": { - "line": 346, + "line": 376, "column": 28 } }, "trailingComments": [ { "type": "Block", - "value": "*\n * @inherited\n ", + "value": "* @inherited ", "range": [ - 9377, - 9414 + 10140, + 10157 ], "loc": { "start": { - "line": 348, + "line": 378, "column": 8 }, "end": { - "line": 350, - "column": 11 + "line": 378, + "column": 25 } } } @@ -15715,16 +17275,16 @@ "object": { "type": "ThisExpression", "range": [ - 9423, - 9427 + 10166, + 10170 ], "loc": { "start": { - "line": 351, + "line": 379, "column": 8 }, "end": { - "line": 351, + "line": 379, "column": 12 } } @@ -15733,31 +17293,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 9428, - 9439 + 10171, + 10182 ], "loc": { "start": { - "line": 351, + "line": 379, "column": 13 }, "end": { - "line": 351, + "line": 379, "column": 24 } } }, "range": [ - 9423, - 9439 + 10166, + 10182 ], "loc": { "start": { - "line": 351, + "line": 379, "column": 8 }, "end": { - "line": 351, + "line": 379, "column": 24 } } @@ -15767,70 +17327,283 @@ "value": true, "raw": "true", "range": [ - 9442, - 9446 + 10185, + 10189 ], "loc": { "start": { - "line": 351, + "line": 379, "column": 27 }, "end": { - "line": 351, + "line": 379, "column": 31 } } }, "range": [ - 9423, - 9446 + 10166, + 10189 ], "loc": { "start": { - "line": 351, + "line": 379, "column": 8 }, "end": { - "line": 351, + "line": 379, "column": 31 } } }, "range": [ - 9423, - 9447 + 10166, + 10190 ], "loc": { "start": { - "line": 351, + "line": 379, "column": 8 }, "end": { - "line": 351, + "line": 379, "column": 32 } }, "leadingComments": [ { "type": "Block", - "value": "*\n * @inherited\n ", + "value": "* @inherited ", "range": [ - 9377, - 9414 + 10140, + 10157 ], "loc": { "start": { - "line": 348, + "line": 378, "column": 8 }, "end": { - "line": 350, - "column": 11 + "line": 378, + "column": 25 } } } ] }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10200, + 10204 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 10205, + 10217 + ], + "loc": { + "start": { + "line": 381, + "column": 13 + }, + "end": { + "line": 381, + "column": 25 + } + } + }, + "range": [ + 10200, + 10217 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10220, + 10224 + ], + "loc": { + "start": { + "line": 381, + "column": 28 + }, + "end": { + "line": 381, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "onMouseup", + "range": [ + 10225, + 10234 + ], + "loc": { + "start": { + "line": 381, + "column": 33 + }, + "end": { + "line": 381, + "column": 42 + } + } + }, + "range": [ + 10220, + 10234 + ], + "loc": { + "start": { + "line": 381, + "column": 28 + }, + "end": { + "line": 381, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 10235, + 10239 + ], + "loc": { + "start": { + "line": 381, + "column": 43 + }, + "end": { + "line": 381, + "column": 47 + } + } + }, + "range": [ + 10220, + 10239 + ], + "loc": { + "start": { + "line": 381, + "column": 28 + }, + "end": { + "line": 381, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 10240, + 10244 + ], + "loc": { + "start": { + "line": 381, + "column": 48 + }, + "end": { + "line": 381, + "column": 52 + } + } + } + ], + "range": [ + 10220, + 10245 + ], + "loc": { + "start": { + "line": 381, + "column": 28 + }, + "end": { + "line": 381, + "column": 53 + } + } + }, + "range": [ + 10200, + 10245 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 53 + } + } + }, + "range": [ + 10200, + 10246 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 54 + } + } + }, { "type": "ExpressionStatement", "expression": { @@ -15844,16 +17617,16 @@ "object": { "type": "ThisExpression", "range": [ - 9457, - 9461 + 10256, + 10260 ], "loc": { "start": { - "line": 353, + "line": 383, "column": 8 }, "end": { - "line": 353, + "line": 383, "column": 12 } } @@ -15862,31 +17635,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 9462, - 9469 + 10261, + 10268 ], "loc": { "start": { - "line": 353, + "line": 383, "column": 13 }, "end": { - "line": 353, + "line": 383, "column": 20 } } }, "range": [ - 9457, - 9469 + 10256, + 10268 ], "loc": { "start": { - "line": 353, + "line": 383, "column": 8 }, "end": { - "line": 353, + "line": 383, "column": 20 } } @@ -15895,31 +17668,31 @@ "type": "Identifier", "name": "emit", "range": [ - 9470, - 9474 + 10269, + 10273 ], "loc": { "start": { - "line": 353, + "line": 383, "column": 21 }, "end": { - "line": 353, + "line": 383, "column": 25 } } }, "range": [ - 9457, - 9474 + 10256, + 10273 ], "loc": { "start": { - "line": 353, + "line": 383, "column": 8 }, "end": { - "line": 353, + "line": 383, "column": 25 } } @@ -15930,16 +17703,16 @@ "value": "columns-visibility-initialized", "raw": "'columns-visibility-initialized'", "range": [ - 9475, - 9507 + 10274, + 10306 ], "loc": { "start": { - "line": 353, + "line": 383, "column": 26 }, "end": { - "line": 353, + "line": 383, "column": 58 } } @@ -15950,16 +17723,16 @@ "object": { "type": "ThisExpression", "range": [ - 9509, - 9513 + 10308, + 10312 ], "loc": { "start": { - "line": 353, + "line": 383, "column": 60 }, "end": { - "line": 353, + "line": 383, "column": 64 } } @@ -15968,31 +17741,31 @@ "type": "Identifier", "name": "tf", "range": [ - 9514, - 9516 + 10313, + 10315 ], "loc": { "start": { - "line": 353, + "line": 383, "column": 65 }, "end": { - "line": 353, + "line": 383, "column": 67 } } }, "range": [ - 9509, - 9516 + 10308, + 10315 ], "loc": { "start": { - "line": 353, + "line": 383, "column": 60 }, "end": { - "line": 353, + "line": 383, "column": 67 } } @@ -16000,47 +17773,47 @@ { "type": "ThisExpression", "range": [ - 9518, - 9522 + 10317, + 10321 ], "loc": { "start": { - "line": 353, + "line": 383, "column": 69 }, "end": { - "line": 353, + "line": 383, "column": 73 } } } ], "range": [ - 9457, - 9523 + 10256, + 10322 ], "loc": { "start": { - "line": 353, + "line": 383, "column": 8 }, "end": { - "line": 353, + "line": 383, "column": 74 } } }, "range": [ - 9457, - 9524 + 10256, + 10323 ], "loc": { "start": { - "line": 353, + "line": 383, "column": 8 }, "end": { - "line": 353, + "line": 383, "column": 75 } }, @@ -16049,16 +17822,16 @@ "type": "Line", "value": " Hide columns at start at very end of initialization, do not move", "range": [ - 9534, - 9601 + 10333, + 10400 ], "loc": { "start": { - "line": 355, + "line": 385, "column": 8 }, "end": { - "line": 355, + "line": 385, "column": 75 } } @@ -16067,16 +17840,16 @@ "type": "Line", "value": " as order is important", "range": [ - 9610, - 9634 + 10409, + 10433 ], "loc": { "start": { - "line": 356, + "line": 386, "column": 8 }, "end": { - "line": 356, + "line": 386, "column": 32 } } @@ -16093,16 +17866,16 @@ "object": { "type": "ThisExpression", "range": [ - 9643, - 9647 + 10442, + 10446 ], "loc": { "start": { - "line": 357, + "line": 387, "column": 8 }, "end": { - "line": 357, + "line": 387, "column": 12 } } @@ -16111,62 +17884,62 @@ "type": "Identifier", "name": "_hideAtStart", "range": [ - 9648, - 9660 + 10447, + 10459 ], "loc": { "start": { - "line": 357, + "line": 387, "column": 13 }, "end": { - "line": 357, + "line": 387, "column": 25 } } }, "range": [ - 9643, - 9660 + 10442, + 10459 ], "loc": { "start": { - "line": 357, + "line": 387, "column": 8 }, "end": { - "line": 357, + "line": 387, "column": 25 } } }, "arguments": [], "range": [ - 9643, - 9662 + 10442, + 10461 ], "loc": { "start": { - "line": 357, + "line": 387, "column": 8 }, "end": { - "line": 357, + "line": 387, "column": 27 } } }, "range": [ - 9643, - 9663 + 10442, + 10462 ], "loc": { "start": { - "line": 357, + "line": 387, "column": 8 }, "end": { - "line": 357, + "line": 387, "column": 28 } }, @@ -16175,16 +17948,16 @@ "type": "Line", "value": " Hide columns at start at very end of initialization, do not move", "range": [ - 9534, - 9601 + 10333, + 10400 ], "loc": { "start": { - "line": 355, + "line": 385, "column": 8 }, "end": { - "line": 355, + "line": 385, "column": 75 } } @@ -16193,16 +17966,16 @@ "type": "Line", "value": " as order is important", "range": [ - 9610, - 9634 + 10409, + 10433 ], "loc": { "start": { - "line": 356, + "line": 386, "column": 8 }, "end": { - "line": 356, + "line": 386, "column": 32 } } @@ -16211,16 +17984,16 @@ } ], "range": [ - 9135, - 9669 + 9898, + 10468 ], "loc": { "start": { - "line": 337, + "line": 367, "column": 11 }, "end": { - "line": 358, + "line": 388, "column": 5 } } @@ -16228,16 +18001,16 @@ "generator": false, "expression": false, "range": [ - 9132, - 9669 + 9895, + 10468 ], "loc": { "start": { - "line": 337, + "line": 367, "column": 8 }, "end": { - "line": 358, + "line": 388, "column": 5 } } @@ -16245,16 +18018,16 @@ "kind": "method", "computed": false, "range": [ - 9128, - 9669 + 9891, + 10468 ], "loc": { "start": { - "line": 337, + "line": 367, "column": 4 }, "end": { - "line": 358, + "line": 388, "column": 5 } }, @@ -16263,16 +18036,16 @@ "type": "Block", "value": "*\n * Initializes ColsVisibility instance\n ", "range": [ - 9069, - 9123 + 9832, + 9886 ], "loc": { "start": { - "line": 334, + "line": 364, "column": 4 }, "end": { - "line": 336, + "line": 366, "column": 7 } } @@ -16283,16 +18056,16 @@ "type": "Block", "value": "*\n * Build main button UI\n ", "range": [ - 9675, - 9714 + 10474, + 10513 ], "loc": { "start": { - "line": 360, + "line": 390, "column": 4 }, "end": { - "line": 362, + "line": 392, "column": 7 } } @@ -16306,16 +18079,16 @@ "type": "Identifier", "name": "buildBtn", "range": [ - 9719, - 9727 + 10518, + 10526 ], "loc": { "start": { - "line": 363, + "line": 393, "column": 4 }, "end": { - "line": 363, + "line": 393, "column": 12 } } @@ -16335,16 +18108,16 @@ "object": { "type": "ThisExpression", "range": [ - 9744, - 9748 + 10543, + 10547 ], "loc": { "start": { - "line": 364, + "line": 394, "column": 12 }, "end": { - "line": 364, + "line": 394, "column": 16 } } @@ -16353,31 +18126,31 @@ "type": "Identifier", "name": "btnEl", "range": [ - 9749, - 9754 + 10548, + 10553 ], "loc": { "start": { - "line": 364, + "line": 394, "column": 17 }, "end": { - "line": 364, + "line": 394, "column": 22 } } }, "range": [ - 9744, - 9754 + 10543, + 10553 ], "loc": { "start": { - "line": 364, + "line": 394, "column": 12 }, "end": { - "line": 364, + "line": 394, "column": 22 } } @@ -16389,48 +18162,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 9770, - 9777 + 10569, + 10576 ], "loc": { "start": { - "line": 365, + "line": 395, "column": 12 }, "end": { - "line": 365, + "line": 395, "column": 19 } } } ], "range": [ - 9756, - 9787 + 10555, + 10586 ], "loc": { "start": { - "line": 364, + "line": 394, "column": 24 }, "end": { - "line": 366, + "line": 396, "column": 9 } } }, "alternate": null, "range": [ - 9740, - 9787 + 10539, + 10586 ], "loc": { "start": { - "line": 364, + "line": 394, "column": 8 }, "end": { - "line": 366, + "line": 396, "column": 9 } } @@ -16444,16 +18217,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9800, - 9802 + 10599, + 10601 ], "loc": { "start": { - "line": 367, + "line": 397, "column": 12 }, "end": { - "line": 367, + "line": 397, "column": 14 } } @@ -16464,16 +18237,16 @@ "object": { "type": "ThisExpression", "range": [ - 9805, - 9809 + 10604, + 10608 ], "loc": { "start": { - "line": 367, + "line": 397, "column": 17 }, "end": { - "line": 367, + "line": 397, "column": 21 } } @@ -16482,46 +18255,46 @@ "type": "Identifier", "name": "tf", "range": [ - 9810, - 9812 + 10609, + 10611 ], "loc": { "start": { - "line": 367, + "line": 397, "column": 22 }, "end": { - "line": 367, + "line": 397, "column": 24 } } }, "range": [ - 9805, - 9812 + 10604, + 10611 ], "loc": { "start": { - "line": 367, + "line": 397, "column": 17 }, "end": { - "line": 367, + "line": 397, "column": 24 } } }, "range": [ - 9800, - 9812 + 10599, + 10611 ], "loc": { "start": { - "line": 367, + "line": 397, "column": 12 }, "end": { - "line": 367, + "line": 397, "column": 24 } } @@ -16529,16 +18302,16 @@ ], "kind": "let", "range": [ - 9796, - 9813 + 10595, + 10612 ], "loc": { "start": { - "line": 367, + "line": 397, "column": 8 }, "end": { - "line": 367, + "line": 397, "column": 25 } } @@ -16552,16 +18325,16 @@ "type": "Identifier", "name": "span", "range": [ - 9826, - 9830 + 10625, + 10629 ], "loc": { "start": { - "line": 368, + "line": 398, "column": 12 }, "end": { - "line": 368, + "line": 398, "column": 16 } } @@ -16572,16 +18345,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 9833, - 9842 + 10632, + 10641 ], "loc": { "start": { - "line": 368, + "line": 398, "column": 19 }, "end": { - "line": 368, + "line": 398, "column": 28 } } @@ -16592,47 +18365,47 @@ "value": "span", "raw": "'span'", "range": [ - 9843, - 9849 + 10642, + 10648 ], "loc": { "start": { - "line": 368, + "line": 398, "column": 29 }, "end": { - "line": 368, + "line": 398, "column": 35 } } } ], "range": [ - 9833, - 9850 + 10632, + 10649 ], "loc": { "start": { - "line": 368, + "line": 398, "column": 19 }, "end": { - "line": 368, + "line": 398, "column": 36 } } }, "range": [ - 9826, - 9850 + 10625, + 10649 ], "loc": { "start": { - "line": 368, + "line": 398, "column": 12 }, "end": { - "line": 368, + "line": 398, "column": 36 } } @@ -16640,16 +18413,16 @@ ], "kind": "let", "range": [ - 9822, - 9851 + 10621, + 10650 ], "loc": { "start": { - "line": 368, + "line": 398, "column": 8 }, "end": { - "line": 368, + "line": 398, "column": 37 } } @@ -16666,16 +18439,16 @@ "type": "Identifier", "name": "span", "range": [ - 9860, - 9864 + 10659, + 10663 ], "loc": { "start": { - "line": 369, + "line": 399, "column": 8 }, "end": { - "line": 369, + "line": 399, "column": 12 } } @@ -16684,31 +18457,31 @@ "type": "Identifier", "name": "className", "range": [ - 9865, - 9874 + 10664, + 10673 ], "loc": { "start": { - "line": 369, + "line": 399, "column": 13 }, "end": { - "line": 369, + "line": 399, "column": 22 } } }, "range": [ - 9860, - 9874 + 10659, + 10673 ], "loc": { "start": { - "line": 369, + "line": 399, "column": 8 }, "end": { - "line": 369, + "line": 399, "column": 22 } } @@ -16719,16 +18492,16 @@ "object": { "type": "ThisExpression", "range": [ - 9877, - 9881 + 10676, + 10680 ], "loc": { "start": { - "line": 369, + "line": 399, "column": 25 }, "end": { - "line": 369, + "line": 399, "column": 29 } } @@ -16737,61 +18510,61 @@ "type": "Identifier", "name": "spanCssClass", "range": [ - 9882, - 9894 + 10681, + 10693 ], "loc": { "start": { - "line": 369, + "line": 399, "column": 30 }, "end": { - "line": 369, + "line": 399, "column": 42 } } }, "range": [ - 9877, - 9894 + 10676, + 10693 ], "loc": { "start": { - "line": 369, + "line": 399, "column": 25 }, "end": { - "line": 369, + "line": 399, "column": 42 } } }, "range": [ - 9860, - 9894 + 10659, + 10693 ], "loc": { "start": { - "line": 369, + "line": 399, "column": 8 }, "end": { - "line": 369, + "line": 399, "column": 42 } } }, "range": [ - 9860, - 9895 + 10659, + 10694 ], "loc": { "start": { - "line": 369, + "line": 399, "column": 8 }, "end": { - "line": 369, + "line": 399, "column": 43 } }, @@ -16800,16 +18573,16 @@ "type": "Line", "value": "Container element (rdiv or custom element)", "range": [ - 9905, - 9949 + 10704, + 10748 ], "loc": { "start": { - "line": 371, + "line": 401, "column": 8 }, "end": { - "line": 371, + "line": 401, "column": 52 } } @@ -16827,16 +18600,16 @@ "object": { "type": "ThisExpression", "range": [ - 9963, - 9967 + 10762, + 10766 ], "loc": { "start": { - "line": 372, + "line": 402, "column": 13 }, "end": { - "line": 372, + "line": 402, "column": 17 } } @@ -16845,47 +18618,47 @@ "type": "Identifier", "name": "btnTgtId", "range": [ - 9968, - 9976 + 10767, + 10775 ], "loc": { "start": { - "line": 372, + "line": 402, "column": 18 }, "end": { - "line": 372, + "line": 402, "column": 26 } } }, "range": [ - 9963, - 9976 + 10762, + 10775 ], "loc": { "start": { - "line": 372, + "line": 402, "column": 13 }, "end": { - "line": 372, + "line": 402, "column": 26 } } }, "prefix": true, "range": [ - 9962, - 9976 + 10761, + 10775 ], "loc": { "start": { - "line": 372, + "line": 402, "column": 12 }, "end": { - "line": 372, + "line": 402, "column": 26 } } @@ -16904,16 +18677,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9992, - 9994 + 10791, + 10793 ], "loc": { "start": { - "line": 373, + "line": 403, "column": 12 }, "end": { - "line": 373, + "line": 403, "column": 14 } } @@ -16922,94 +18695,94 @@ "type": "Identifier", "name": "setToolbar", "range": [ - 9995, - 10005 + 10794, + 10804 ], "loc": { "start": { - "line": 373, + "line": 403, "column": 15 }, "end": { - "line": 373, + "line": 403, "column": 25 } } }, "range": [ - 9992, - 10005 + 10791, + 10804 ], "loc": { "start": { - "line": 373, + "line": 403, "column": 12 }, "end": { - "line": 373, + "line": 403, "column": 25 } } }, "arguments": [], "range": [ - 9992, - 10007 + 10791, + 10806 ], "loc": { "start": { - "line": 373, + "line": 403, "column": 12 }, "end": { - "line": 373, + "line": 403, "column": 27 } } }, "range": [ - 9992, - 10008 + 10791, + 10807 ], "loc": { "start": { - "line": 373, + "line": 403, "column": 12 }, "end": { - "line": 373, + "line": 403, "column": 28 } } } ], "range": [ - 9978, - 10018 + 10777, + 10817 ], "loc": { "start": { - "line": 372, + "line": 402, "column": 28 }, "end": { - "line": 374, + "line": 404, "column": 9 } } }, "alternate": null, "range": [ - 9958, - 10018 + 10757, + 10817 ], "loc": { "start": { - "line": 372, + "line": 402, "column": 8 }, "end": { - "line": 374, + "line": 404, "column": 9 } }, @@ -17018,16 +18791,16 @@ "type": "Line", "value": "Container element (rdiv or custom element)", "range": [ - 9905, - 9949 + 10704, + 10748 ], "loc": { "start": { - "line": 371, + "line": 401, "column": 8 }, "end": { - "line": 371, + "line": 401, "column": 52 } } @@ -17043,16 +18816,16 @@ "type": "Identifier", "name": "targetEl", "range": [ - 10031, - 10039 + 10830, + 10838 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 12 }, "end": { - "line": 375, + "line": 405, "column": 20 } } @@ -17068,16 +18841,16 @@ "object": { "type": "ThisExpression", "range": [ - 10043, - 10047 + 10842, + 10846 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 24 }, "end": { - "line": 375, + "line": 405, "column": 28 } } @@ -17086,47 +18859,47 @@ "type": "Identifier", "name": "btnTgtId", "range": [ - 10048, - 10056 + 10847, + 10855 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 29 }, "end": { - "line": 375, + "line": 405, "column": 37 } } }, "range": [ - 10043, - 10056 + 10842, + 10855 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 24 }, "end": { - "line": 375, + "line": 405, "column": 37 } } }, "prefix": true, "range": [ - 10042, - 10056 + 10841, + 10855 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 23 }, "end": { - "line": 375, + "line": 405, "column": 37 } } @@ -17138,16 +18911,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10059, - 10061 + 10858, + 10860 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 40 }, "end": { - "line": 375, + "line": 405, "column": 42 } } @@ -17156,31 +18929,31 @@ "type": "Identifier", "name": "rDiv", "range": [ - 10062, - 10066 + 10861, + 10865 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 43 }, "end": { - "line": 375, + "line": 405, "column": 47 } } }, "range": [ - 10059, - 10066 + 10858, + 10865 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 40 }, "end": { - "line": 375, + "line": 405, "column": 47 } } @@ -17191,16 +18964,16 @@ "type": "Identifier", "name": "elm", "range": [ - 10069, - 10072 + 10868, + 10871 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 50 }, "end": { - "line": 375, + "line": 405, "column": 53 } } @@ -17212,16 +18985,16 @@ "object": { "type": "ThisExpression", "range": [ - 10073, - 10077 + 10872, + 10876 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 54 }, "end": { - "line": 375, + "line": 405, "column": 58 } } @@ -17230,77 +19003,77 @@ "type": "Identifier", "name": "btnTgtId", "range": [ - 10078, - 10086 + 10877, + 10885 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 59 }, "end": { - "line": 375, + "line": 405, "column": 67 } } }, "range": [ - 10073, - 10086 + 10872, + 10885 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 54 }, "end": { - "line": 375, + "line": 405, "column": 67 } } } ], "range": [ - 10069, - 10087 + 10868, + 10886 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 50 }, "end": { - "line": 375, + "line": 405, "column": 68 } } }, "range": [ - 10042, - 10087 + 10841, + 10886 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 23 }, "end": { - "line": 375, + "line": 405, "column": 68 } } }, "range": [ - 10031, - 10087 + 10830, + 10886 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 12 }, "end": { - "line": 375, + "line": 405, "column": 68 } } @@ -17308,16 +19081,16 @@ ], "kind": "let", "range": [ - 10027, - 10088 + 10826, + 10887 ], "loc": { "start": { - "line": 375, + "line": 405, "column": 8 }, "end": { - "line": 375, + "line": 405, "column": 69 } } @@ -17333,16 +19106,16 @@ "object": { "type": "ThisExpression", "range": [ - 10103, - 10107 + 10902, + 10906 ], "loc": { "start": { - "line": 377, + "line": 407, "column": 13 }, "end": { - "line": 377, + "line": 407, "column": 17 } } @@ -17351,47 +19124,47 @@ "type": "Identifier", "name": "btnTgtId", "range": [ - 10108, - 10116 + 10907, + 10915 ], "loc": { "start": { - "line": 377, + "line": 407, "column": 18 }, "end": { - "line": 377, + "line": 407, "column": 26 } } }, "range": [ - 10103, - 10116 + 10902, + 10915 ], "loc": { "start": { - "line": 377, + "line": 407, "column": 13 }, "end": { - "line": 377, + "line": 407, "column": 26 } } }, "prefix": true, "range": [ - 10102, - 10116 + 10901, + 10915 ], "loc": { "start": { - "line": 377, + "line": 407, "column": 12 }, "end": { - "line": 377, + "line": 407, "column": 26 } } @@ -17408,16 +19181,16 @@ "type": "Identifier", "name": "firstChild", "range": [ - 10136, - 10146 + 10935, + 10945 ], "loc": { "start": { - "line": 378, + "line": 408, "column": 16 }, "end": { - "line": 378, + "line": 408, "column": 26 } } @@ -17429,16 +19202,16 @@ "type": "Identifier", "name": "targetEl", "range": [ - 10149, - 10157 + 10948, + 10956 ], "loc": { "start": { - "line": 378, + "line": 408, "column": 29 }, "end": { - "line": 378, + "line": 408, "column": 37 } } @@ -17447,46 +19220,46 @@ "type": "Identifier", "name": "firstChild", "range": [ - 10158, - 10168 + 10957, + 10967 ], "loc": { "start": { - "line": 378, + "line": 408, "column": 38 }, "end": { - "line": 378, + "line": 408, "column": 48 } } }, "range": [ - 10149, - 10168 + 10948, + 10967 ], "loc": { "start": { - "line": 378, + "line": 408, "column": 29 }, "end": { - "line": 378, + "line": 408, "column": 48 } } }, "range": [ - 10136, - 10168 + 10935, + 10967 ], "loc": { "start": { - "line": 378, + "line": 408, "column": 16 }, "end": { - "line": 378, + "line": 408, "column": 48 } } @@ -17494,16 +19267,16 @@ ], "kind": "let", "range": [ - 10132, - 10169 + 10931, + 10968 ], "loc": { "start": { - "line": 378, + "line": 408, "column": 12 }, "end": { - "line": 378, + "line": 408, "column": 49 } } @@ -17522,16 +19295,16 @@ "type": "Identifier", "name": "firstChild", "range": [ - 10182, - 10192 + 10981, + 10991 ], "loc": { "start": { - "line": 379, + "line": 409, "column": 12 }, "end": { - "line": 379, + "line": 409, "column": 22 } } @@ -17540,31 +19313,31 @@ "type": "Identifier", "name": "parentNode", "range": [ - 10193, - 10203 + 10992, + 11002 ], "loc": { "start": { - "line": 379, + "line": 409, "column": 23 }, "end": { - "line": 379, + "line": 409, "column": 33 } } }, "range": [ - 10182, - 10203 + 10981, + 11002 ], "loc": { "start": { - "line": 379, + "line": 409, "column": 12 }, "end": { - "line": 379, + "line": 409, "column": 33 } } @@ -17573,31 +19346,31 @@ "type": "Identifier", "name": "insertBefore", "range": [ - 10204, - 10216 + 11003, + 11015 ], "loc": { "start": { - "line": 379, + "line": 409, "column": 34 }, "end": { - "line": 379, + "line": 409, "column": 46 } } }, "range": [ - 10182, - 10216 + 10981, + 11015 ], "loc": { "start": { - "line": 379, + "line": 409, "column": 12 }, "end": { - "line": 379, + "line": 409, "column": 46 } } @@ -17607,16 +19380,16 @@ "type": "Identifier", "name": "span", "range": [ - 10217, - 10221 + 11016, + 11020 ], "loc": { "start": { - "line": 379, + "line": 409, "column": 47 }, "end": { - "line": 379, + "line": 409, "column": 51 } } @@ -17625,63 +19398,63 @@ "type": "Identifier", "name": "firstChild", "range": [ - 10223, - 10233 + 11022, + 11032 ], "loc": { "start": { - "line": 379, + "line": 409, "column": 53 }, "end": { - "line": 379, + "line": 409, "column": 63 } } } ], "range": [ - 10182, - 10234 + 10981, + 11033 ], "loc": { "start": { - "line": 379, + "line": 409, "column": 12 }, "end": { - "line": 379, + "line": 409, "column": 64 } } }, "range": [ - 10182, - 10235 + 10981, + 11034 ], "loc": { "start": { - "line": 379, + "line": 409, "column": 12 }, "end": { - "line": 379, + "line": 409, "column": 65 } } } ], "range": [ - 10118, - 10245 + 10917, + 11044 ], "loc": { "start": { - "line": 377, + "line": 407, "column": 28 }, "end": { - "line": 380, + "line": 410, "column": 9 } } @@ -17700,16 +19473,16 @@ "type": "Identifier", "name": "targetEl", "range": [ - 10265, - 10273 + 11064, + 11072 ], "loc": { "start": { - "line": 381, + "line": 411, "column": 12 }, "end": { - "line": 381, + "line": 411, "column": 20 } } @@ -17718,31 +19491,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 10274, - 10285 + 11073, + 11084 ], "loc": { "start": { - "line": 381, + "line": 411, "column": 21 }, "end": { - "line": 381, + "line": 411, "column": 32 } } }, "range": [ - 10265, - 10285 + 11064, + 11084 ], "loc": { "start": { - "line": 381, + "line": 411, "column": 12 }, "end": { - "line": 381, + "line": 411, "column": 32 } } @@ -17752,78 +19525,78 @@ "type": "Identifier", "name": "span", "range": [ - 10286, - 10290 + 11085, + 11089 ], "loc": { "start": { - "line": 381, + "line": 411, "column": 33 }, "end": { - "line": 381, + "line": 411, "column": 37 } } } ], "range": [ - 10265, - 10291 + 11064, + 11090 ], "loc": { "start": { - "line": 381, + "line": 411, "column": 12 }, "end": { - "line": 381, + "line": 411, "column": 38 } } }, "range": [ - 10265, - 10292 + 11064, + 11091 ], "loc": { "start": { - "line": 381, + "line": 411, "column": 12 }, "end": { - "line": 381, + "line": 411, "column": 39 } } } ], "range": [ - 10251, - 10302 + 11050, + 11101 ], "loc": { "start": { - "line": 380, + "line": 410, "column": 15 }, "end": { - "line": 382, + "line": 412, "column": 9 } } }, "range": [ - 10098, - 10302 + 10897, + 11101 ], "loc": { "start": { - "line": 377, + "line": 407, "column": 8 }, "end": { - "line": 382, + "line": 412, "column": 9 } } @@ -17839,16 +19612,16 @@ "object": { "type": "ThisExpression", "range": [ - 10317, - 10321 + 11116, + 11120 ], "loc": { "start": { - "line": 384, + "line": 414, "column": 13 }, "end": { - "line": 384, + "line": 414, "column": 17 } } @@ -17857,47 +19630,47 @@ "type": "Identifier", "name": "btnHtml", "range": [ - 10322, - 10329 + 11121, + 11128 ], "loc": { "start": { - "line": 384, + "line": 414, "column": 18 }, "end": { - "line": 384, + "line": 414, "column": 25 } } }, "range": [ - 10317, - 10329 + 11116, + 11128 ], "loc": { "start": { - "line": 384, + "line": 414, "column": 13 }, "end": { - "line": 384, + "line": 414, "column": 25 } } }, "prefix": true, "range": [ - 10316, - 10329 + 11115, + 11128 ], "loc": { "start": { - "line": 384, + "line": 414, "column": 12 }, "end": { - "line": 384, + "line": 414, "column": 25 } } @@ -17914,16 +19687,16 @@ "type": "Identifier", "name": "btn", "range": [ - 10349, - 10352 + 11148, + 11151 ], "loc": { "start": { - "line": 385, + "line": 415, "column": 16 }, "end": { - "line": 385, + "line": 415, "column": 19 } } @@ -17934,16 +19707,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 10355, - 10364 + 11154, + 11163 ], "loc": { "start": { - "line": 385, + "line": 415, "column": 22 }, "end": { - "line": 385, + "line": 415, "column": 31 } } @@ -17954,16 +19727,16 @@ "value": "a", "raw": "'a'", "range": [ - 10365, - 10368 + 11164, + 11167 ], "loc": { "start": { - "line": 385, + "line": 415, "column": 32 }, "end": { - "line": 385, + "line": 415, "column": 35 } } @@ -17976,16 +19749,16 @@ "value": "href", "raw": "'href'", "range": [ - 10371, - 10377 + 11170, + 11176 ], "loc": { "start": { - "line": 385, + "line": 415, "column": 38 }, "end": { - "line": 385, + "line": 415, "column": 44 } } @@ -17995,63 +19768,63 @@ "value": "javascript:;", "raw": "'javascript:;'", "range": [ - 10379, - 10393 + 11178, + 11192 ], "loc": { "start": { - "line": 385, + "line": 415, "column": 46 }, "end": { - "line": 385, + "line": 415, "column": 60 } } } ], "range": [ - 10370, - 10394 + 11169, + 11193 ], "loc": { "start": { - "line": 385, + "line": 415, "column": 37 }, "end": { - "line": 385, + "line": 415, "column": 61 } } } ], "range": [ - 10355, - 10395 + 11154, + 11194 ], "loc": { "start": { - "line": 385, + "line": 415, "column": 22 }, "end": { - "line": 385, + "line": 415, "column": 62 } } }, "range": [ - 10349, - 10395 + 11148, + 11194 ], "loc": { "start": { - "line": 385, + "line": 415, "column": 16 }, "end": { - "line": 385, + "line": 415, "column": 62 } } @@ -18059,16 +19832,16 @@ ], "kind": "let", "range": [ - 10345, - 10396 + 11144, + 11195 ], "loc": { "start": { - "line": 385, + "line": 415, "column": 12 }, "end": { - "line": 385, + "line": 415, "column": 63 } } @@ -18085,16 +19858,16 @@ "type": "Identifier", "name": "btn", "range": [ - 10409, - 10412 + 11208, + 11211 ], "loc": { "start": { - "line": 386, + "line": 416, "column": 12 }, "end": { - "line": 386, + "line": 416, "column": 15 } } @@ -18103,31 +19876,31 @@ "type": "Identifier", "name": "className", "range": [ - 10413, - 10422 + 11212, + 11221 ], "loc": { "start": { - "line": 386, + "line": 416, "column": 16 }, "end": { - "line": 386, + "line": 416, "column": 25 } } }, "range": [ - 10409, - 10422 + 11208, + 11221 ], "loc": { "start": { - "line": 386, + "line": 416, "column": 12 }, "end": { - "line": 386, + "line": 416, "column": 25 } } @@ -18138,16 +19911,16 @@ "object": { "type": "ThisExpression", "range": [ - 10425, - 10429 + 11224, + 11228 ], "loc": { "start": { - "line": 386, + "line": 416, "column": 28 }, "end": { - "line": 386, + "line": 416, "column": 32 } } @@ -18156,61 +19929,61 @@ "type": "Identifier", "name": "btnCssClass", "range": [ - 10430, - 10441 + 11229, + 11240 ], "loc": { "start": { - "line": 386, + "line": 416, "column": 33 }, "end": { - "line": 386, + "line": 416, "column": 44 } } }, "range": [ - 10425, - 10441 + 11224, + 11240 ], "loc": { "start": { - "line": 386, + "line": 416, "column": 28 }, "end": { - "line": 386, + "line": 416, "column": 44 } } }, "range": [ - 10409, - 10441 + 11208, + 11240 ], "loc": { "start": { - "line": 386, + "line": 416, "column": 12 }, "end": { - "line": 386, + "line": 416, "column": 44 } } }, "range": [ - 10409, - 10442 + 11208, + 11241 ], "loc": { "start": { - "line": 386, + "line": 416, "column": 12 }, "end": { - "line": 386, + "line": 416, "column": 45 } } @@ -18227,16 +20000,16 @@ "type": "Identifier", "name": "btn", "range": [ - 10455, - 10458 + 11254, + 11257 ], "loc": { "start": { - "line": 387, + "line": 417, "column": 12 }, "end": { - "line": 387, + "line": 417, "column": 15 } } @@ -18245,31 +20018,31 @@ "type": "Identifier", "name": "title", "range": [ - 10459, - 10464 + 11258, + 11263 ], "loc": { "start": { - "line": 387, + "line": 417, "column": 16 }, "end": { - "line": 387, + "line": 417, "column": 21 } } }, "range": [ - 10455, - 10464 + 11254, + 11263 ], "loc": { "start": { - "line": 387, + "line": 417, "column": 12 }, "end": { - "line": 387, + "line": 417, "column": 21 } } @@ -18280,16 +20053,16 @@ "object": { "type": "ThisExpression", "range": [ - 10467, - 10471 + 11266, + 11270 ], "loc": { "start": { - "line": 387, + "line": 417, "column": 24 }, "end": { - "line": 387, + "line": 417, "column": 28 } } @@ -18298,61 +20071,61 @@ "type": "Identifier", "name": "desc", "range": [ - 10472, - 10476 + 11271, + 11275 ], "loc": { "start": { - "line": 387, + "line": 417, "column": 29 }, "end": { - "line": 387, + "line": 417, "column": 33 } } }, "range": [ - 10467, - 10476 + 11266, + 11275 ], "loc": { "start": { - "line": 387, + "line": 417, "column": 24 }, "end": { - "line": 387, + "line": 417, "column": 33 } } }, "range": [ - 10455, - 10476 + 11254, + 11275 ], "loc": { "start": { - "line": 387, + "line": 417, "column": 12 }, "end": { - "line": 387, + "line": 417, "column": 33 } } }, "range": [ - 10455, - 10477 + 11254, + 11276 ], "loc": { "start": { - "line": 387, + "line": 417, "column": 12 }, "end": { - "line": 387, + "line": 417, "column": 34 } } @@ -18369,16 +20142,16 @@ "type": "Identifier", "name": "btn", "range": [ - 10491, - 10494 + 11290, + 11293 ], "loc": { "start": { - "line": 389, + "line": 419, "column": 12 }, "end": { - "line": 389, + "line": 419, "column": 15 } } @@ -18387,31 +20160,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 10495, - 10504 + 11294, + 11303 ], "loc": { "start": { - "line": 389, + "line": 419, "column": 16 }, "end": { - "line": 389, + "line": 419, "column": 25 } } }, "range": [ - 10491, - 10504 + 11290, + 11303 ], "loc": { "start": { - "line": 389, + "line": 419, "column": 12 }, "end": { - "line": 389, + "line": 419, "column": 25 } } @@ -18422,16 +20195,16 @@ "object": { "type": "ThisExpression", "range": [ - 10507, - 10511 + 11306, + 11310 ], "loc": { "start": { - "line": 389, + "line": 419, "column": 28 }, "end": { - "line": 389, + "line": 419, "column": 32 } } @@ -18440,61 +20213,61 @@ "type": "Identifier", "name": "btnText", "range": [ - 10512, - 10519 + 11311, + 11318 ], "loc": { "start": { - "line": 389, + "line": 419, "column": 33 }, "end": { - "line": 389, + "line": 419, "column": 40 } } }, "range": [ - 10507, - 10519 + 11306, + 11318 ], "loc": { "start": { - "line": 389, + "line": 419, "column": 28 }, "end": { - "line": 389, + "line": 419, "column": 40 } } }, "range": [ - 10491, - 10519 + 11290, + 11318 ], "loc": { "start": { - "line": 389, + "line": 419, "column": 12 }, "end": { - "line": 389, + "line": 419, "column": 40 } } }, "range": [ - 10491, - 10520 + 11290, + 11319 ], "loc": { "start": { - "line": 389, + "line": 419, "column": 12 }, "end": { - "line": 389, + "line": 419, "column": 41 } } @@ -18510,16 +20283,16 @@ "type": "Identifier", "name": "span", "range": [ - 10533, - 10537 + 11332, + 11336 ], "loc": { "start": { - "line": 390, + "line": 420, "column": 12 }, "end": { - "line": 390, + "line": 420, "column": 16 } } @@ -18528,31 +20301,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 10538, - 10549 + 11337, + 11348 ], "loc": { "start": { - "line": 390, + "line": 420, "column": 17 }, "end": { - "line": 390, + "line": 420, "column": 28 } } }, "range": [ - 10533, - 10549 + 11332, + 11348 ], "loc": { "start": { - "line": 390, + "line": 420, "column": 12 }, "end": { - "line": 390, + "line": 420, "column": 28 } } @@ -18562,47 +20335,47 @@ "type": "Identifier", "name": "btn", "range": [ - 10550, - 10553 + 11349, + 11352 ], "loc": { "start": { - "line": 390, + "line": 420, "column": 29 }, "end": { - "line": 390, + "line": 420, "column": 32 } } } ], "range": [ - 10533, - 10554 + 11332, + 11353 ], "loc": { "start": { - "line": 390, + "line": 420, "column": 12 }, "end": { - "line": 390, + "line": 420, "column": 33 } } }, "range": [ - 10533, - 10555 + 11332, + 11354 ], "loc": { "start": { - "line": 390, + "line": 420, "column": 12 }, "end": { - "line": 390, + "line": 420, "column": 34 } } @@ -18618,16 +20391,16 @@ "object": { "type": "ThisExpression", "range": [ - 10573, - 10577 + 11372, + 11376 ], "loc": { "start": { - "line": 391, + "line": 421, "column": 17 }, "end": { - "line": 391, + "line": 421, "column": 21 } } @@ -18636,47 +20409,47 @@ "type": "Identifier", "name": "enableHover", "range": [ - 10578, - 10589 + 11377, + 11388 ], "loc": { "start": { - "line": 391, + "line": 421, "column": 22 }, "end": { - "line": 391, + "line": 421, "column": 33 } } }, "range": [ - 10573, - 10589 + 11372, + 11388 ], "loc": { "start": { - "line": 391, + "line": 421, "column": 17 }, "end": { - "line": 391, + "line": 421, "column": 33 } } }, "prefix": true, "range": [ - 10572, - 10589 + 11371, + 11388 ], "loc": { "start": { - "line": 391, + "line": 421, "column": 16 }, "end": { - "line": 391, + "line": 421, "column": 33 } } @@ -18692,16 +20465,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 10609, - 10615 + 11408, + 11414 ], "loc": { "start": { - "line": 392, + "line": 422, "column": 16 }, "end": { - "line": 392, + "line": 422, "column": 22 } } @@ -18711,16 +20484,16 @@ "type": "Identifier", "name": "btn", "range": [ - 10616, - 10619 + 11415, + 11418 ], "loc": { "start": { - "line": 392, + "line": 422, "column": 23 }, "end": { - "line": 392, + "line": 422, "column": 26 } } @@ -18730,16 +20503,16 @@ "value": "click", "raw": "'click'", "range": [ - 10621, - 10628 + 11420, + 11427 ], "loc": { "start": { - "line": 392, + "line": 422, "column": 28 }, "end": { - "line": 392, + "line": 422, "column": 35 } } @@ -18752,16 +20525,16 @@ "type": "Identifier", "name": "evt", "range": [ - 10631, - 10634 + 11430, + 11433 ], "loc": { "start": { - "line": 392, + "line": 422, "column": 38 }, "end": { - "line": 392, + "line": 422, "column": 41 } } @@ -18775,16 +20548,16 @@ "object": { "type": "ThisExpression", "range": [ - 10639, - 10643 + 11438, + 11442 ], "loc": { "start": { - "line": 392, + "line": 422, "column": 46 }, "end": { - "line": 392, + "line": 422, "column": 50 } } @@ -18793,31 +20566,31 @@ "type": "Identifier", "name": "toggle", "range": [ - 10644, - 10650 + 11443, + 11449 ], "loc": { "start": { - "line": 392, + "line": 422, "column": 51 }, "end": { - "line": 392, + "line": 422, "column": 57 } } }, "range": [ - 10639, - 10650 + 11438, + 11449 ], "loc": { "start": { - "line": 392, + "line": 422, "column": 46 }, "end": { - "line": 392, + "line": 422, "column": 57 } } @@ -18827,32 +20600,32 @@ "type": "Identifier", "name": "evt", "range": [ - 10651, - 10654 + 11450, + 11453 ], "loc": { "start": { - "line": 392, + "line": 422, "column": 58 }, "end": { - "line": 392, + "line": 422, "column": 61 } } } ], "range": [ - 10639, - 10655 + 11438, + 11454 ], "loc": { "start": { - "line": 392, + "line": 422, "column": 46 }, "end": { - "line": 392, + "line": 422, "column": 62 } } @@ -18860,63 +20633,63 @@ "generator": false, "expression": true, "range": [ - 10630, - 10655 + 11429, + 11454 ], "loc": { "start": { - "line": 392, + "line": 422, "column": 37 }, "end": { - "line": 392, + "line": 422, "column": 62 } } } ], "range": [ - 10609, - 10656 + 11408, + 11455 ], "loc": { "start": { - "line": 392, + "line": 422, "column": 16 }, "end": { - "line": 392, + "line": 422, "column": 63 } } }, "range": [ - 10609, - 10657 + 11408, + 11456 ], "loc": { "start": { - "line": 392, + "line": 422, "column": 16 }, "end": { - "line": 392, + "line": 422, "column": 64 } } } ], "range": [ - 10591, - 10671 + 11390, + 11470 ], "loc": { "start": { - "line": 391, + "line": 421, "column": 35 }, "end": { - "line": 393, + "line": 423, "column": 13 } } @@ -18932,16 +20705,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 10695, - 10701 + 11494, + 11500 ], "loc": { "start": { - "line": 394, + "line": 424, "column": 16 }, "end": { - "line": 394, + "line": 424, "column": 22 } } @@ -18951,16 +20724,16 @@ "type": "Identifier", "name": "btn", "range": [ - 10702, - 10705 + 11501, + 11504 ], "loc": { "start": { - "line": 394, + "line": 424, "column": 23 }, "end": { - "line": 394, + "line": 424, "column": 26 } } @@ -18970,16 +20743,16 @@ "value": "mouseover", "raw": "'mouseover'", "range": [ - 10707, - 10718 + 11506, + 11517 ], "loc": { "start": { - "line": 394, + "line": 424, "column": 28 }, "end": { - "line": 394, + "line": 424, "column": 39 } } @@ -18992,16 +20765,16 @@ "type": "Identifier", "name": "evt", "range": [ - 10721, - 10724 + 11520, + 11523 ], "loc": { "start": { - "line": 394, + "line": 424, "column": 42 }, "end": { - "line": 394, + "line": 424, "column": 45 } } @@ -19015,16 +20788,16 @@ "object": { "type": "ThisExpression", "range": [ - 10729, - 10733 + 11528, + 11532 ], "loc": { "start": { - "line": 394, + "line": 424, "column": 50 }, "end": { - "line": 394, + "line": 424, "column": 54 } } @@ -19033,31 +20806,31 @@ "type": "Identifier", "name": "toggle", "range": [ - 10734, - 10740 + 11533, + 11539 ], "loc": { "start": { - "line": 394, + "line": 424, "column": 55 }, "end": { - "line": 394, + "line": 424, "column": 61 } } }, "range": [ - 10729, - 10740 + 11528, + 11539 ], "loc": { "start": { - "line": 394, + "line": 424, "column": 50 }, "end": { - "line": 394, + "line": 424, "column": 61 } } @@ -19067,32 +20840,32 @@ "type": "Identifier", "name": "evt", "range": [ - 10741, - 10744 + 11540, + 11543 ], "loc": { "start": { - "line": 394, + "line": 424, "column": 62 }, "end": { - "line": 394, + "line": 424, "column": 65 } } } ], "range": [ - 10729, - 10745 + 11528, + 11544 ], "loc": { "start": { - "line": 394, + "line": 424, "column": 50 }, "end": { - "line": 394, + "line": 424, "column": 66 } } @@ -19100,94 +20873,94 @@ "generator": false, "expression": true, "range": [ - 10720, - 10745 + 11519, + 11544 ], "loc": { "start": { - "line": 394, + "line": 424, "column": 41 }, "end": { - "line": 394, + "line": 424, "column": 66 } } } ], "range": [ - 10695, - 10746 + 11494, + 11545 ], "loc": { "start": { - "line": 394, + "line": 424, "column": 16 }, "end": { - "line": 394, + "line": 424, "column": 67 } } }, "range": [ - 10695, - 10747 + 11494, + 11546 ], "loc": { "start": { - "line": 394, + "line": 424, "column": 16 }, "end": { - "line": 394, + "line": 424, "column": 68 } } } ], "range": [ - 10677, - 10761 + 11476, + 11560 ], "loc": { "start": { - "line": 393, + "line": 423, "column": 19 }, "end": { - "line": 395, + "line": 425, "column": 13 } } }, "range": [ - 10568, - 10761 + 11367, + 11560 ], "loc": { "start": { - "line": 391, + "line": 421, "column": 12 }, "end": { - "line": 395, + "line": 425, "column": 13 } } } ], "range": [ - 10331, - 10771 + 11130, + 11570 ], "loc": { "start": { - "line": 384, + "line": 414, "column": 27 }, "end": { - "line": 396, + "line": 426, "column": 9 } } @@ -19207,16 +20980,16 @@ "type": "Identifier", "name": "span", "range": [ - 10805, - 10809 + 11604, + 11608 ], "loc": { "start": { - "line": 397, + "line": 427, "column": 12 }, "end": { - "line": 397, + "line": 427, "column": 16 } } @@ -19225,31 +20998,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 10810, - 10819 + 11609, + 11618 ], "loc": { "start": { - "line": 397, + "line": 427, "column": 17 }, "end": { - "line": 397, + "line": 427, "column": 26 } } }, "range": [ - 10805, - 10819 + 11604, + 11618 ], "loc": { "start": { - "line": 397, + "line": 427, "column": 12 }, "end": { - "line": 397, + "line": 427, "column": 26 } } @@ -19260,16 +21033,16 @@ "object": { "type": "ThisExpression", "range": [ - 10822, - 10826 + 11621, + 11625 ], "loc": { "start": { - "line": 397, + "line": 427, "column": 29 }, "end": { - "line": 397, + "line": 427, "column": 33 } } @@ -19278,61 +21051,61 @@ "type": "Identifier", "name": "btnHtml", "range": [ - 10827, - 10834 + 11626, + 11633 ], "loc": { "start": { - "line": 397, + "line": 427, "column": 34 }, "end": { - "line": 397, + "line": 427, "column": 41 } } }, "range": [ - 10822, - 10834 + 11621, + 11633 ], "loc": { "start": { - "line": 397, + "line": 427, "column": 29 }, "end": { - "line": 397, + "line": 427, "column": 41 } } }, "range": [ - 10805, - 10834 + 11604, + 11633 ], "loc": { "start": { - "line": 397, + "line": 427, "column": 12 }, "end": { - "line": 397, + "line": 427, "column": 41 } } }, "range": [ - 10805, - 10835 + 11604, + 11634 ], "loc": { "start": { - "line": 397, + "line": 427, "column": 12 }, "end": { - "line": 397, + "line": 427, "column": 42 } }, @@ -19341,16 +21114,16 @@ "type": "Line", "value": "Custom html", "range": [ - 10779, - 10792 + 11578, + 11591 ], "loc": { "start": { - "line": 396, + "line": 426, "column": 17 }, "end": { - "line": 396, + "line": 426, "column": 30 } } @@ -19366,16 +21139,16 @@ "type": "Identifier", "name": "colVisEl", "range": [ - 10852, - 10860 + 11651, + 11659 ], "loc": { "start": { - "line": 398, + "line": 428, "column": 16 }, "end": { - "line": 398, + "line": 428, "column": 24 } } @@ -19387,16 +21160,16 @@ "type": "Identifier", "name": "span", "range": [ - 10863, - 10867 + 11662, + 11666 ], "loc": { "start": { - "line": 398, + "line": 428, "column": 27 }, "end": { - "line": 398, + "line": 428, "column": 31 } } @@ -19405,46 +21178,46 @@ "type": "Identifier", "name": "firstChild", "range": [ - 10868, - 10878 + 11667, + 11677 ], "loc": { "start": { - "line": 398, + "line": 428, "column": 32 }, "end": { - "line": 398, + "line": 428, "column": 42 } } }, "range": [ - 10863, - 10878 + 11662, + 11677 ], "loc": { "start": { - "line": 398, + "line": 428, "column": 27 }, "end": { - "line": 398, + "line": 428, "column": 42 } } }, "range": [ - 10852, - 10878 + 11651, + 11677 ], "loc": { "start": { - "line": 398, + "line": 428, "column": 16 }, "end": { - "line": 398, + "line": 428, "column": 42 } } @@ -19452,16 +21225,16 @@ ], "kind": "let", "range": [ - 10848, - 10879 + 11647, + 11678 ], "loc": { "start": { - "line": 398, + "line": 428, "column": 12 }, "end": { - "line": 398, + "line": 428, "column": 43 } } @@ -19477,16 +21250,16 @@ "object": { "type": "ThisExpression", "range": [ - 10897, - 10901 + 11696, + 11700 ], "loc": { "start": { - "line": 399, + "line": 429, "column": 17 }, "end": { - "line": 399, + "line": 429, "column": 21 } } @@ -19495,47 +21268,47 @@ "type": "Identifier", "name": "enableHover", "range": [ - 10902, - 10913 + 11701, + 11712 ], "loc": { "start": { - "line": 399, + "line": 429, "column": 22 }, "end": { - "line": 399, + "line": 429, "column": 33 } } }, "range": [ - 10897, - 10913 + 11696, + 11712 ], "loc": { "start": { - "line": 399, + "line": 429, "column": 17 }, "end": { - "line": 399, + "line": 429, "column": 33 } } }, "prefix": true, "range": [ - 10896, - 10913 + 11695, + 11712 ], "loc": { "start": { - "line": 399, + "line": 429, "column": 16 }, "end": { - "line": 399, + "line": 429, "column": 33 } } @@ -19551,16 +21324,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 10933, - 10939 + 11732, + 11738 ], "loc": { "start": { - "line": 400, + "line": 430, "column": 16 }, "end": { - "line": 400, + "line": 430, "column": 22 } } @@ -19570,16 +21343,16 @@ "type": "Identifier", "name": "colVisEl", "range": [ - 10940, - 10948 + 11739, + 11747 ], "loc": { "start": { - "line": 400, + "line": 430, "column": 23 }, "end": { - "line": 400, + "line": 430, "column": 31 } } @@ -19589,16 +21362,16 @@ "value": "click", "raw": "'click'", "range": [ - 10950, - 10957 + 11749, + 11756 ], "loc": { "start": { - "line": 400, + "line": 430, "column": 33 }, "end": { - "line": 400, + "line": 430, "column": 40 } } @@ -19611,16 +21384,16 @@ "type": "Identifier", "name": "evt", "range": [ - 10960, - 10963 + 11759, + 11762 ], "loc": { "start": { - "line": 400, + "line": 430, "column": 43 }, "end": { - "line": 400, + "line": 430, "column": 46 } } @@ -19634,16 +21407,16 @@ "object": { "type": "ThisExpression", "range": [ - 10968, - 10972 + 11767, + 11771 ], "loc": { "start": { - "line": 400, + "line": 430, "column": 51 }, "end": { - "line": 400, + "line": 430, "column": 55 } } @@ -19652,31 +21425,31 @@ "type": "Identifier", "name": "toggle", "range": [ - 10973, - 10979 + 11772, + 11778 ], "loc": { "start": { - "line": 400, + "line": 430, "column": 56 }, "end": { - "line": 400, + "line": 430, "column": 62 } } }, "range": [ - 10968, - 10979 + 11767, + 11778 ], "loc": { "start": { - "line": 400, + "line": 430, "column": 51 }, "end": { - "line": 400, + "line": 430, "column": 62 } } @@ -19686,32 +21459,32 @@ "type": "Identifier", "name": "evt", "range": [ - 10980, - 10983 + 11779, + 11782 ], "loc": { "start": { - "line": 400, + "line": 430, "column": 63 }, "end": { - "line": 400, + "line": 430, "column": 66 } } } ], "range": [ - 10968, - 10984 + 11767, + 11783 ], "loc": { "start": { - "line": 400, + "line": 430, "column": 51 }, "end": { - "line": 400, + "line": 430, "column": 67 } } @@ -19719,63 +21492,63 @@ "generator": false, "expression": true, "range": [ - 10959, - 10984 + 11758, + 11783 ], "loc": { "start": { - "line": 400, + "line": 430, "column": 42 }, "end": { - "line": 400, + "line": 430, "column": 67 } } } ], "range": [ - 10933, - 10985 + 11732, + 11784 ], "loc": { "start": { - "line": 400, + "line": 430, "column": 16 }, "end": { - "line": 400, + "line": 430, "column": 68 } } }, "range": [ - 10933, - 10986 + 11732, + 11785 ], "loc": { "start": { - "line": 400, + "line": 430, "column": 16 }, "end": { - "line": 400, + "line": 430, "column": 69 } } } ], "range": [ - 10915, - 11000 + 11714, + 11799 ], "loc": { "start": { - "line": 399, + "line": 429, "column": 35 }, "end": { - "line": 401, + "line": 431, "column": 13 } } @@ -19791,16 +21564,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 11024, - 11030 + 11823, + 11829 ], "loc": { "start": { - "line": 402, + "line": 432, "column": 16 }, "end": { - "line": 402, + "line": 432, "column": 22 } } @@ -19810,16 +21583,16 @@ "type": "Identifier", "name": "colVisEl", "range": [ - 11031, - 11039 + 11830, + 11838 ], "loc": { "start": { - "line": 402, + "line": 432, "column": 23 }, "end": { - "line": 402, + "line": 432, "column": 31 } } @@ -19829,16 +21602,16 @@ "value": "mouseover", "raw": "'mouseover'", "range": [ - 11041, - 11052 + 11840, + 11851 ], "loc": { "start": { - "line": 402, + "line": 432, "column": 33 }, "end": { - "line": 402, + "line": 432, "column": 44 } } @@ -19851,16 +21624,16 @@ "type": "Identifier", "name": "evt", "range": [ - 11055, - 11058 + 11854, + 11857 ], "loc": { "start": { - "line": 402, + "line": 432, "column": 47 }, "end": { - "line": 402, + "line": 432, "column": 50 } } @@ -19874,16 +21647,16 @@ "object": { "type": "ThisExpression", "range": [ - 11063, - 11067 + 11862, + 11866 ], "loc": { "start": { - "line": 402, + "line": 432, "column": 55 }, "end": { - "line": 402, + "line": 432, "column": 59 } } @@ -19892,31 +21665,31 @@ "type": "Identifier", "name": "toggle", "range": [ - 11068, - 11074 + 11867, + 11873 ], "loc": { "start": { - "line": 402, + "line": 432, "column": 60 }, "end": { - "line": 402, + "line": 432, "column": 66 } } }, "range": [ - 11063, - 11074 + 11862, + 11873 ], "loc": { "start": { - "line": 402, + "line": 432, "column": 55 }, "end": { - "line": 402, + "line": 432, "column": 66 } } @@ -19926,32 +21699,32 @@ "type": "Identifier", "name": "evt", "range": [ - 11075, - 11078 + 11874, + 11877 ], "loc": { "start": { - "line": 402, + "line": 432, "column": 67 }, "end": { - "line": 402, + "line": 432, "column": 70 } } } ], "range": [ - 11063, - 11079 + 11862, + 11878 ], "loc": { "start": { - "line": 402, + "line": 432, "column": 55 }, "end": { - "line": 402, + "line": 432, "column": 71 } } @@ -19959,109 +21732,109 @@ "generator": false, "expression": true, "range": [ - 11054, - 11079 + 11853, + 11878 ], "loc": { "start": { - "line": 402, + "line": 432, "column": 46 }, "end": { - "line": 402, + "line": 432, "column": 71 } } } ], "range": [ - 11024, - 11080 + 11823, + 11879 ], "loc": { "start": { - "line": 402, + "line": 432, "column": 16 }, "end": { - "line": 402, + "line": 432, "column": 72 } } }, "range": [ - 11024, - 11081 + 11823, + 11880 ], "loc": { "start": { - "line": 402, + "line": 432, "column": 16 }, "end": { - "line": 402, + "line": 432, "column": 73 } } } ], "range": [ - 11006, - 11095 + 11805, + 11894 ], "loc": { "start": { - "line": 401, + "line": 431, "column": 19 }, "end": { - "line": 403, + "line": 433, "column": 13 } } }, "range": [ - 10892, - 11095 + 11691, + 11894 ], "loc": { "start": { - "line": 399, + "line": 429, "column": 12 }, "end": { - "line": 403, + "line": 433, "column": 13 } } } ], "range": [ - 10777, - 11105 + 11576, + 11904 ], "loc": { "start": { - "line": 396, + "line": 426, "column": 15 }, "end": { - "line": 404, + "line": 434, "column": 9 } } }, "range": [ - 10312, - 11105 + 11111, + 11904 ], "loc": { "start": { - "line": 384, + "line": 414, "column": 8 }, "end": { - "line": 404, + "line": 434, "column": 9 } } @@ -20077,16 +21850,16 @@ "object": { "type": "ThisExpression", "range": [ - 11115, - 11119 + 11914, + 11918 ], "loc": { "start": { - "line": 406, + "line": 436, "column": 8 }, "end": { - "line": 406, + "line": 436, "column": 12 } } @@ -20095,31 +21868,31 @@ "type": "Identifier", "name": "spanEl", "range": [ - 11120, - 11126 + 11919, + 11925 ], "loc": { "start": { - "line": 406, + "line": 436, "column": 13 }, "end": { - "line": 406, + "line": 436, "column": 19 } } }, "range": [ - 11115, - 11126 + 11914, + 11925 ], "loc": { "start": { - "line": 406, + "line": 436, "column": 8 }, "end": { - "line": 406, + "line": 436, "column": 19 } } @@ -20128,46 +21901,46 @@ "type": "Identifier", "name": "span", "range": [ - 11129, - 11133 + 11928, + 11932 ], "loc": { "start": { - "line": 406, + "line": 436, "column": 22 }, "end": { - "line": 406, + "line": 436, "column": 26 } } }, "range": [ - 11115, - 11133 + 11914, + 11932 ], "loc": { "start": { - "line": 406, + "line": 436, "column": 8 }, "end": { - "line": 406, + "line": 436, "column": 26 } } }, "range": [ - 11115, - 11134 + 11914, + 11933 ], "loc": { "start": { - "line": 406, + "line": 436, "column": 8 }, "end": { - "line": 406, + "line": 436, "column": 27 } } @@ -20183,16 +21956,16 @@ "object": { "type": "ThisExpression", "range": [ - 11143, - 11147 + 11942, + 11946 ], "loc": { "start": { - "line": 407, + "line": 437, "column": 8 }, "end": { - "line": 407, + "line": 437, "column": 12 } } @@ -20201,31 +21974,31 @@ "type": "Identifier", "name": "btnEl", "range": [ - 11148, - 11153 + 11947, + 11952 ], "loc": { "start": { - "line": 407, + "line": 437, "column": 13 }, "end": { - "line": 407, + "line": 437, "column": 18 } } }, "range": [ - 11143, - 11153 + 11942, + 11952 ], "loc": { "start": { - "line": 407, + "line": 437, "column": 8 }, "end": { - "line": 407, + "line": 437, "column": 18 } } @@ -20239,16 +22012,16 @@ "object": { "type": "ThisExpression", "range": [ - 11156, - 11160 + 11955, + 11959 ], "loc": { "start": { - "line": 407, + "line": 437, "column": 21 }, "end": { - "line": 407, + "line": 437, "column": 25 } } @@ -20257,31 +22030,31 @@ "type": "Identifier", "name": "spanEl", "range": [ - 11161, - 11167 + 11960, + 11966 ], "loc": { "start": { - "line": 407, + "line": 437, "column": 26 }, "end": { - "line": 407, + "line": 437, "column": 32 } } }, "range": [ - 11156, - 11167 + 11955, + 11966 ], "loc": { "start": { - "line": 407, + "line": 437, "column": 21 }, "end": { - "line": 407, + "line": 437, "column": 32 } } @@ -20290,61 +22063,61 @@ "type": "Identifier", "name": "firstChild", "range": [ - 11168, - 11178 + 11967, + 11977 ], "loc": { "start": { - "line": 407, + "line": 437, "column": 33 }, "end": { - "line": 407, + "line": 437, "column": 43 } } }, "range": [ - 11156, - 11178 + 11955, + 11977 ], "loc": { "start": { - "line": 407, + "line": 437, "column": 21 }, "end": { - "line": 407, + "line": 437, "column": 43 } } }, "range": [ - 11143, - 11178 + 11942, + 11977 ], "loc": { "start": { - "line": 407, + "line": 437, "column": 8 }, "end": { - "line": 407, + "line": 437, "column": 43 } } }, "range": [ - 11143, - 11179 + 11942, + 11978 ], "loc": { "start": { - "line": 407, + "line": 437, "column": 8 }, "end": { - "line": 407, + "line": 437, "column": 44 } } @@ -20359,16 +22132,16 @@ "object": { "type": "ThisExpression", "range": [ - 11189, - 11193 + 11988, + 11992 ], "loc": { "start": { - "line": 409, + "line": 439, "column": 8 }, "end": { - "line": 409, + "line": 439, "column": 12 } } @@ -20377,31 +22150,31 @@ "type": "Identifier", "name": "onLoaded", "range": [ - 11194, - 11202 + 11993, + 12001 ], "loc": { "start": { - "line": 409, + "line": 439, "column": 13 }, "end": { - "line": 409, + "line": 439, "column": 21 } } }, "range": [ - 11189, - 11202 + 11988, + 12001 ], "loc": { "start": { - "line": 409, + "line": 439, "column": 8 }, "end": { - "line": 409, + "line": 439, "column": 21 } } @@ -20410,63 +22183,63 @@ { "type": "ThisExpression", "range": [ - 11203, - 11207 + 12002, + 12006 ], "loc": { "start": { - "line": 409, + "line": 439, "column": 22 }, "end": { - "line": 409, + "line": 439, "column": 26 } } } ], "range": [ - 11189, - 11208 + 11988, + 12007 ], "loc": { "start": { - "line": 409, + "line": 439, "column": 8 }, "end": { - "line": 409, + "line": 439, "column": 27 } } }, "range": [ - 11189, - 11209 + 11988, + 12008 ], "loc": { "start": { - "line": 409, + "line": 439, "column": 8 }, "end": { - "line": 409, + "line": 439, "column": 28 } } } ], "range": [ - 9730, - 11215 + 10529, + 12014 ], "loc": { "start": { - "line": 363, + "line": 393, "column": 15 }, "end": { - "line": 410, + "line": 440, "column": 5 } } @@ -20474,16 +22247,16 @@ "generator": false, "expression": false, "range": [ - 9727, - 11215 + 10526, + 12014 ], "loc": { "start": { - "line": 363, + "line": 393, "column": 12 }, "end": { - "line": 410, + "line": 440, "column": 5 } } @@ -20491,16 +22264,16 @@ "kind": "method", "computed": false, "range": [ - 9719, - 11215 + 10518, + 12014 ], "loc": { "start": { - "line": 363, + "line": 393, "column": 4 }, "end": { - "line": 410, + "line": 440, "column": 5 } }, @@ -20509,16 +22282,16 @@ "type": "Block", "value": "*\n * Build main button UI\n ", "range": [ - 9675, - 9714 + 10474, + 10513 ], "loc": { "start": { - "line": 360, + "line": 390, "column": 4 }, "end": { - "line": 362, + "line": 392, "column": 7 } } @@ -20529,16 +22302,16 @@ "type": "Block", "value": "*\n * Build columns manager UI\n ", "range": [ - 11221, - 11264 + 12020, + 12063 ], "loc": { "start": { - "line": 412, + "line": 442, "column": 4 }, "end": { - "line": 414, + "line": 444, "column": 7 } } @@ -20552,16 +22325,16 @@ "type": "Identifier", "name": "buildManager", "range": [ - 11269, - 11281 + 12068, + 12080 ], "loc": { "start": { - "line": 415, + "line": 445, "column": 4 }, "end": { - "line": 415, + "line": 445, "column": 16 } } @@ -20582,16 +22355,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11298, - 11300 + 12097, + 12099 ], "loc": { "start": { - "line": 416, + "line": 446, "column": 12 }, "end": { - "line": 416, + "line": 446, "column": 14 } } @@ -20602,16 +22375,16 @@ "object": { "type": "ThisExpression", "range": [ - 11303, - 11307 + 12102, + 12106 ], "loc": { "start": { - "line": 416, + "line": 446, "column": 17 }, "end": { - "line": 416, + "line": 446, "column": 21 } } @@ -20620,46 +22393,46 @@ "type": "Identifier", "name": "tf", "range": [ - 11308, - 11310 + 12107, + 12109 ], "loc": { "start": { - "line": 416, + "line": 446, "column": 22 }, "end": { - "line": 416, + "line": 446, "column": 24 } } }, "range": [ - 11303, - 11310 + 12102, + 12109 ], "loc": { "start": { - "line": 416, + "line": 446, "column": 17 }, "end": { - "line": 416, + "line": 446, "column": 24 } } }, "range": [ - 11298, - 11310 + 12097, + 12109 ], "loc": { "start": { - "line": 416, + "line": 446, "column": 12 }, "end": { - "line": 416, + "line": 446, "column": 24 } } @@ -20667,16 +22440,16 @@ ], "kind": "let", "range": [ - 11294, - 11311 + 12093, + 12110 ], "loc": { "start": { - "line": 416, + "line": 446, "column": 8 }, "end": { - "line": 416, + "line": 446, "column": 25 } } @@ -20690,16 +22463,16 @@ "type": "Identifier", "name": "container", "range": [ - 11325, - 11334 + 12124, + 12133 ], "loc": { "start": { - "line": 418, + "line": 448, "column": 12 }, "end": { - "line": 418, + "line": 448, "column": 21 } } @@ -20715,16 +22488,16 @@ "object": { "type": "ThisExpression", "range": [ - 11338, - 11342 + 12137, + 12141 ], "loc": { "start": { - "line": 418, + "line": 448, "column": 25 }, "end": { - "line": 418, + "line": 448, "column": 29 } } @@ -20733,47 +22506,47 @@ "type": "Identifier", "name": "contElTgtId", "range": [ - 11343, - 11354 + 12142, + 12153 ], "loc": { "start": { - "line": 418, + "line": 448, "column": 30 }, "end": { - "line": 418, + "line": 448, "column": 41 } } }, "range": [ - 11338, - 11354 + 12137, + 12153 ], "loc": { "start": { - "line": 418, + "line": 448, "column": 25 }, "end": { - "line": 418, + "line": 448, "column": 41 } } }, "prefix": true, "range": [ - 11337, - 11354 + 12136, + 12153 ], "loc": { "start": { - "line": 418, + "line": 448, "column": 24 }, "end": { - "line": 418, + "line": 448, "column": 41 } } @@ -20784,16 +22557,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 11369, - 11378 + 12168, + 12177 ], "loc": { "start": { - "line": 419, + "line": 449, "column": 12 }, "end": { - "line": 419, + "line": 449, "column": 21 } } @@ -20804,32 +22577,32 @@ "value": "div", "raw": "'div'", "range": [ - 11379, - 11384 + 12178, + 12183 ], "loc": { "start": { - "line": 419, + "line": 449, "column": 22 }, "end": { - "line": 419, + "line": 449, "column": 27 } } } ], "range": [ - 11369, - 11385 + 12168, + 12184 ], "loc": { "start": { - "line": 419, + "line": 449, "column": 12 }, "end": { - "line": 419, + "line": 449, "column": 28 } } @@ -20840,16 +22613,16 @@ "type": "Identifier", "name": "elm", "range": [ - 11400, - 11403 + 12199, + 12202 ], "loc": { "start": { - "line": 420, + "line": 450, "column": 12 }, "end": { - "line": 420, + "line": 450, "column": 15 } } @@ -20861,16 +22634,16 @@ "object": { "type": "ThisExpression", "range": [ - 11404, - 11408 + 12203, + 12207 ], "loc": { "start": { - "line": 420, + "line": 450, "column": 16 }, "end": { - "line": 420, + "line": 450, "column": 20 } } @@ -20879,77 +22652,77 @@ "type": "Identifier", "name": "contElTgtId", "range": [ - 11409, - 11420 + 12208, + 12219 ], "loc": { "start": { - "line": 420, + "line": 450, "column": 21 }, "end": { - "line": 420, + "line": 450, "column": 32 } } }, "range": [ - 11404, - 11420 + 12203, + 12219 ], "loc": { "start": { - "line": 420, + "line": 450, "column": 16 }, "end": { - "line": 420, + "line": 450, "column": 32 } } } ], "range": [ - 11400, - 11421 + 12199, + 12220 ], "loc": { "start": { - "line": 420, + "line": 450, "column": 12 }, "end": { - "line": 420, + "line": 450, "column": 33 } } }, "range": [ - 11337, - 11421 + 12136, + 12220 ], "loc": { "start": { - "line": 418, + "line": 448, "column": 24 }, "end": { - "line": 420, + "line": 450, "column": 33 } } }, "range": [ - 11325, - 11421 + 12124, + 12220 ], "loc": { "start": { - "line": 418, + "line": 448, "column": 12 }, "end": { - "line": 420, + "line": 450, "column": 33 } } @@ -20957,16 +22730,16 @@ ], "kind": "let", "range": [ - 11321, - 11422 + 12120, + 12221 ], "loc": { "start": { - "line": 418, + "line": 448, "column": 8 }, "end": { - "line": 420, + "line": 450, "column": 34 } } @@ -20983,16 +22756,16 @@ "type": "Identifier", "name": "container", "range": [ - 11431, - 11440 + 12230, + 12239 ], "loc": { "start": { - "line": 421, + "line": 451, "column": 8 }, "end": { - "line": 421, + "line": 451, "column": 17 } } @@ -21001,31 +22774,31 @@ "type": "Identifier", "name": "className", "range": [ - 11441, - 11450 + 12240, + 12249 ], "loc": { "start": { - "line": 421, + "line": 451, "column": 18 }, "end": { - "line": 421, + "line": 451, "column": 27 } } }, "range": [ - 11431, - 11450 + 12230, + 12249 ], "loc": { "start": { - "line": 421, + "line": 451, "column": 8 }, "end": { - "line": 421, + "line": 451, "column": 27 } } @@ -21036,16 +22809,16 @@ "object": { "type": "ThisExpression", "range": [ - 11453, - 11457 + 12252, + 12256 ], "loc": { "start": { - "line": 421, + "line": 451, "column": 30 }, "end": { - "line": 421, + "line": 451, "column": 34 } } @@ -21054,61 +22827,61 @@ "type": "Identifier", "name": "contCssClass", "range": [ - 11458, - 11470 + 12257, + 12269 ], "loc": { "start": { - "line": 421, + "line": 451, "column": 35 }, "end": { - "line": 421, + "line": 451, "column": 47 } } }, "range": [ - 11453, - 11470 + 12252, + 12269 ], "loc": { "start": { - "line": 421, + "line": 451, "column": 30 }, "end": { - "line": 421, + "line": 451, "column": 47 } } }, "range": [ - 11431, - 11470 + 12230, + 12269 ], "loc": { "start": { - "line": 421, + "line": 451, "column": 8 }, "end": { - "line": 421, + "line": 451, "column": 47 } } }, "range": [ - 11431, - 11471 + 12230, + 12270 ], "loc": { "start": { - "line": 421, + "line": 451, "column": 8 }, "end": { - "line": 421, + "line": 451, "column": 48 } }, @@ -21117,16 +22890,16 @@ "type": "Line", "value": "Extension description", "range": [ - 11481, - 11504 + 12280, + 12303 ], "loc": { "start": { - "line": 423, + "line": 453, "column": 8 }, "end": { - "line": 423, + "line": 453, "column": 31 } } @@ -21142,16 +22915,16 @@ "type": "Identifier", "name": "extNameLabel", "range": [ - 11517, - 11529 + 12316, + 12328 ], "loc": { "start": { - "line": 424, + "line": 454, "column": 12 }, "end": { - "line": 424, + "line": 454, "column": 24 } } @@ -21162,16 +22935,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 11532, - 11541 + 12331, + 12340 ], "loc": { "start": { - "line": 424, + "line": 454, "column": 27 }, "end": { - "line": 424, + "line": 454, "column": 36 } } @@ -21182,47 +22955,47 @@ "value": "p", "raw": "'p'", "range": [ - 11542, - 11545 + 12341, + 12344 ], "loc": { "start": { - "line": 424, + "line": 454, "column": 37 }, "end": { - "line": 424, + "line": 454, "column": 40 } } } ], "range": [ - 11532, - 11546 + 12331, + 12345 ], "loc": { "start": { - "line": 424, + "line": 454, "column": 27 }, "end": { - "line": 424, + "line": 454, "column": 41 } } }, "range": [ - 11517, - 11546 + 12316, + 12345 ], "loc": { "start": { - "line": 424, + "line": 454, "column": 12 }, "end": { - "line": 424, + "line": 454, "column": 41 } } @@ -21230,16 +23003,16 @@ ], "kind": "let", "range": [ - 11513, - 11547 + 12312, + 12346 ], "loc": { "start": { - "line": 424, + "line": 454, "column": 8 }, "end": { - "line": 424, + "line": 454, "column": 42 } }, @@ -21248,16 +23021,16 @@ "type": "Line", "value": "Extension description", "range": [ - 11481, - 11504 + 12280, + 12303 ], "loc": { "start": { - "line": 423, + "line": 453, "column": 8 }, "end": { - "line": 423, + "line": 453, "column": 31 } } @@ -21276,16 +23049,16 @@ "type": "Identifier", "name": "extNameLabel", "range": [ - 11556, - 11568 + 12355, + 12367 ], "loc": { "start": { - "line": 425, + "line": 455, "column": 8 }, "end": { - "line": 425, + "line": 455, "column": 20 } } @@ -21294,31 +23067,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 11569, - 11578 + 12368, + 12377 ], "loc": { "start": { - "line": 425, + "line": 455, "column": 21 }, "end": { - "line": 425, + "line": 455, "column": 30 } } }, "range": [ - 11556, - 11578 + 12355, + 12377 ], "loc": { "start": { - "line": 425, + "line": 455, "column": 8 }, "end": { - "line": 425, + "line": 455, "column": 30 } } @@ -21329,16 +23102,16 @@ "object": { "type": "ThisExpression", "range": [ - 11581, - 11585 + 12380, + 12384 ], "loc": { "start": { - "line": 425, + "line": 455, "column": 33 }, "end": { - "line": 425, + "line": 455, "column": 37 } } @@ -21347,61 +23120,61 @@ "type": "Identifier", "name": "text", "range": [ - 11586, - 11590 + 12385, + 12389 ], "loc": { "start": { - "line": 425, + "line": 455, "column": 38 }, "end": { - "line": 425, + "line": 455, "column": 42 } } }, "range": [ - 11581, - 11590 + 12380, + 12389 ], "loc": { "start": { - "line": 425, + "line": 455, "column": 33 }, "end": { - "line": 425, + "line": 455, "column": 42 } } }, "range": [ - 11556, - 11590 + 12355, + 12389 ], "loc": { "start": { - "line": 425, + "line": 455, "column": 8 }, "end": { - "line": 425, + "line": 455, "column": 42 } } }, "range": [ - 11556, - 11591 + 12355, + 12390 ], "loc": { "start": { - "line": 425, + "line": 455, "column": 8 }, "end": { - "line": 425, + "line": 455, "column": 43 } } @@ -21417,16 +23190,16 @@ "type": "Identifier", "name": "container", "range": [ - 11600, - 11609 + 12399, + 12408 ], "loc": { "start": { - "line": 426, + "line": 456, "column": 8 }, "end": { - "line": 426, + "line": 456, "column": 17 } } @@ -21435,31 +23208,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 11610, - 11621 + 12409, + 12420 ], "loc": { "start": { - "line": 426, + "line": 456, "column": 18 }, "end": { - "line": 426, + "line": 456, "column": 29 } } }, "range": [ - 11600, - 11621 + 12399, + 12420 ], "loc": { "start": { - "line": 426, + "line": 456, "column": 8 }, "end": { - "line": 426, + "line": 456, "column": 29 } } @@ -21469,47 +23242,47 @@ "type": "Identifier", "name": "extNameLabel", "range": [ - 11622, - 11634 + 12421, + 12433 ], "loc": { "start": { - "line": 426, + "line": 456, "column": 30 }, "end": { - "line": 426, + "line": 456, "column": 42 } } } ], "range": [ - 11600, - 11635 + 12399, + 12434 ], "loc": { "start": { - "line": 426, + "line": 456, "column": 8 }, "end": { - "line": 426, + "line": 456, "column": 43 } } }, "range": [ - 11600, - 11636 + 12399, + 12435 ], "loc": { "start": { - "line": 426, + "line": 456, "column": 8 }, "end": { - "line": 426, + "line": 456, "column": 44 } }, @@ -21518,16 +23291,16 @@ "type": "Line", "value": "Headers list", "range": [ - 11646, - 11660 + 12445, + 12459 ], "loc": { "start": { - "line": 428, + "line": 458, "column": 8 }, "end": { - "line": 428, + "line": 458, "column": 22 } } @@ -21543,16 +23316,16 @@ "type": "Identifier", "name": "ul", "range": [ - 11673, - 11675 + 12472, + 12474 ], "loc": { "start": { - "line": 429, + "line": 459, "column": 12 }, "end": { - "line": 429, + "line": 459, "column": 14 } } @@ -21563,16 +23336,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 11678, - 11687 + 12477, + 12486 ], "loc": { "start": { - "line": 429, + "line": 459, "column": 17 }, "end": { - "line": 429, + "line": 459, "column": 26 } } @@ -21583,47 +23356,47 @@ "value": "ul", "raw": "'ul'", "range": [ - 11688, - 11692 + 12487, + 12491 ], "loc": { "start": { - "line": 429, + "line": 459, "column": 27 }, "end": { - "line": 429, + "line": 459, "column": 31 } } } ], "range": [ - 11678, - 11693 + 12477, + 12492 ], "loc": { "start": { - "line": 429, + "line": 459, "column": 17 }, "end": { - "line": 429, + "line": 459, "column": 32 } } }, "range": [ - 11673, - 11693 + 12472, + 12492 ], "loc": { "start": { - "line": 429, + "line": 459, "column": 12 }, "end": { - "line": 429, + "line": 459, "column": 32 } } @@ -21631,16 +23404,16 @@ ], "kind": "let", "range": [ - 11669, - 11694 + 12468, + 12493 ], "loc": { "start": { - "line": 429, + "line": 459, "column": 8 }, "end": { - "line": 429, + "line": 459, "column": 33 } }, @@ -21649,16 +23422,16 @@ "type": "Line", "value": "Headers list", "range": [ - 11646, - 11660 + 12445, + 12459 ], "loc": { "start": { - "line": 428, + "line": 458, "column": 8 }, "end": { - "line": 428, + "line": 458, "column": 22 } } @@ -21677,16 +23450,16 @@ "type": "Identifier", "name": "ul", "range": [ - 11703, - 11705 + 12502, + 12504 ], "loc": { "start": { - "line": 430, + "line": 460, "column": 8 }, "end": { - "line": 430, + "line": 460, "column": 10 } } @@ -21695,31 +23468,31 @@ "type": "Identifier", "name": "className", "range": [ - 11706, - 11715 + 12505, + 12514 ], "loc": { "start": { - "line": 430, + "line": 460, "column": 11 }, "end": { - "line": 430, + "line": 460, "column": 20 } } }, "range": [ - 11703, - 11715 + 12502, + 12514 ], "loc": { "start": { - "line": 430, + "line": 460, "column": 8 }, "end": { - "line": 430, + "line": 460, "column": 20 } } @@ -21730,16 +23503,16 @@ "object": { "type": "ThisExpression", "range": [ - 11718, - 11722 + 12517, + 12521 ], "loc": { "start": { - "line": 430, + "line": 460, "column": 23 }, "end": { - "line": 430, + "line": 460, "column": 27 } } @@ -21748,61 +23521,61 @@ "type": "Identifier", "name": "listCssClass", "range": [ - 11723, - 11735 + 12522, + 12534 ], "loc": { "start": { - "line": 430, + "line": 460, "column": 28 }, "end": { - "line": 430, + "line": 460, "column": 40 } } }, "range": [ - 11718, - 11735 + 12517, + 12534 ], "loc": { "start": { - "line": 430, + "line": 460, "column": 23 }, "end": { - "line": 430, + "line": 460, "column": 40 } } }, "range": [ - 11703, - 11735 + 12502, + 12534 ], "loc": { "start": { - "line": 430, + "line": 460, "column": 8 }, "end": { - "line": 430, + "line": 460, "column": 40 } } }, "range": [ - 11703, - 11736 + 12502, + 12535 ], "loc": { "start": { - "line": 430, + "line": 460, "column": 8 }, "end": { - "line": 430, + "line": 460, "column": 41 } } @@ -21816,16 +23589,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 11750, - 11753 + 12549, + 12552 ], "loc": { "start": { - "line": 432, + "line": 462, "column": 12 }, "end": { - "line": 432, + "line": 462, "column": 15 } } @@ -21838,16 +23611,16 @@ "object": { "type": "ThisExpression", "range": [ - 11756, - 11760 + 12555, + 12559 ], "loc": { "start": { - "line": 432, + "line": 462, "column": 18 }, "end": { - "line": 432, + "line": 462, "column": 22 } } @@ -21856,31 +23629,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 11761, - 11771 + 12560, + 12570 ], "loc": { "start": { - "line": 432, + "line": 462, "column": 23 }, "end": { - "line": 432, + "line": 462, "column": 33 } } }, "range": [ - 11756, - 11771 + 12555, + 12570 ], "loc": { "start": { - "line": 432, + "line": 462, "column": 18 }, "end": { - "line": 432, + "line": 462, "column": 33 } } @@ -21891,16 +23664,16 @@ "object": { "type": "ThisExpression", "range": [ - 11774, - 11778 + 12573, + 12577 ], "loc": { "start": { - "line": 432, + "line": 462, "column": 36 }, "end": { - "line": 432, + "line": 462, "column": 40 } } @@ -21909,31 +23682,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 11779, - 11789 + 12578, + 12588 ], "loc": { "start": { - "line": 432, + "line": 462, "column": 41 }, "end": { - "line": 432, + "line": 462, "column": 51 } } }, "range": [ - 11774, - 11789 + 12573, + 12588 ], "loc": { "start": { - "line": 432, + "line": 462, "column": 36 }, "end": { - "line": 432, + "line": 462, "column": 51 } } @@ -21945,16 +23718,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11792, - 11794 + 12591, + 12593 ], "loc": { "start": { - "line": 432, + "line": 462, "column": 54 }, "end": { - "line": 432, + "line": 462, "column": 56 } } @@ -21963,61 +23736,61 @@ "type": "Identifier", "name": "tbl", "range": [ - 11795, - 11798 + 12594, + 12597 ], "loc": { "start": { - "line": 432, + "line": 462, "column": 57 }, "end": { - "line": 432, + "line": 462, "column": 60 } } }, "range": [ - 11792, - 11798 + 12591, + 12597 ], "loc": { "start": { - "line": 432, + "line": 462, "column": 54 }, "end": { - "line": 432, + "line": 462, "column": 60 } } }, "range": [ - 11756, - 11798 + 12555, + 12597 ], "loc": { "start": { - "line": 432, + "line": 462, "column": 18 }, "end": { - "line": 432, + "line": 462, "column": 60 } } }, "range": [ - 11750, - 11798 + 12549, + 12597 ], "loc": { "start": { - "line": 432, + "line": 462, "column": 12 }, "end": { - "line": 432, + "line": 462, "column": 60 } } @@ -22025,16 +23798,16 @@ ], "kind": "let", "range": [ - 11746, - 11799 + 12545, + 12598 ], "loc": { "start": { - "line": 432, + "line": 462, "column": 8 }, "end": { - "line": 432, + "line": 462, "column": 61 } } @@ -22048,16 +23821,16 @@ "type": "Identifier", "name": "headerIndex", "range": [ - 11812, - 11823 + 12611, + 12622 ], "loc": { "start": { - "line": 433, + "line": 463, "column": 12 }, "end": { - "line": 433, + "line": 463, "column": 23 } } @@ -22070,16 +23843,16 @@ "object": { "type": "ThisExpression", "range": [ - 11826, - 11830 + 12625, + 12629 ], "loc": { "start": { - "line": 433, + "line": 463, "column": 26 }, "end": { - "line": 433, + "line": 463, "column": 30 } } @@ -22088,31 +23861,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 11831, - 11841 + 12630, + 12640 ], "loc": { "start": { - "line": 433, + "line": 463, "column": 31 }, "end": { - "line": 433, + "line": 463, "column": 41 } } }, "range": [ - 11826, - 11841 + 12625, + 12640 ], "loc": { "start": { - "line": 433, + "line": 463, "column": 26 }, "end": { - "line": 433, + "line": 463, "column": 41 } } @@ -22123,16 +23896,16 @@ "object": { "type": "ThisExpression", "range": [ - 11856, - 11860 + 12655, + 12659 ], "loc": { "start": { - "line": 434, + "line": 464, "column": 12 }, "end": { - "line": 434, + "line": 464, "column": 16 } } @@ -22141,31 +23914,31 @@ "type": "Identifier", "name": "headersIndex", "range": [ - 11861, - 11873 + 12660, + 12672 ], "loc": { "start": { - "line": 434, + "line": 464, "column": 17 }, "end": { - "line": 434, + "line": 464, "column": 29 } } }, "range": [ - 11856, - 11873 + 12655, + 12672 ], "loc": { "start": { - "line": 434, + "line": 464, "column": 12 }, "end": { - "line": 434, + "line": 464, "column": 29 } } @@ -22179,16 +23952,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11876, - 11878 + 12675, + 12677 ], "loc": { "start": { - "line": 434, + "line": 464, "column": 32 }, "end": { - "line": 434, + "line": 464, "column": 34 } } @@ -22197,77 +23970,77 @@ "type": "Identifier", "name": "getHeadersRowIndex", "range": [ - 11879, - 11897 + 12678, + 12696 ], "loc": { "start": { - "line": 434, + "line": 464, "column": 35 }, "end": { - "line": 434, + "line": 464, "column": 53 } } }, "range": [ - 11876, - 11897 + 12675, + 12696 ], "loc": { "start": { - "line": 434, + "line": 464, "column": 32 }, "end": { - "line": 434, + "line": 464, "column": 53 } } }, "arguments": [], "range": [ - 11876, - 11899 + 12675, + 12698 ], "loc": { "start": { - "line": 434, + "line": 464, "column": 32 }, "end": { - "line": 434, + "line": 464, "column": 55 } } }, "range": [ - 11826, - 11899 + 12625, + 12698 ], "loc": { "start": { - "line": 433, + "line": 463, "column": 26 }, "end": { - "line": 434, + "line": 464, "column": 55 } } }, "range": [ - 11812, - 11899 + 12611, + 12698 ], "loc": { "start": { - "line": 433, + "line": 463, "column": 12 }, "end": { - "line": 434, + "line": 464, "column": 55 } } @@ -22275,16 +24048,16 @@ ], "kind": "let", "range": [ - 11808, - 11900 + 12607, + 12699 ], "loc": { "start": { - "line": 433, + "line": 463, "column": 8 }, "end": { - "line": 434, + "line": 464, "column": 56 } } @@ -22298,16 +24071,16 @@ "type": "Identifier", "name": "headerRow", "range": [ - 11913, - 11922 + 12712, + 12721 ], "loc": { "start": { - "line": 435, + "line": 465, "column": 12 }, "end": { - "line": 435, + "line": 465, "column": 21 } } @@ -22322,16 +24095,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 11925, - 11928 + 12724, + 12727 ], "loc": { "start": { - "line": 435, + "line": 465, "column": 24 }, "end": { - "line": 435, + "line": 465, "column": 27 } } @@ -22340,31 +24113,31 @@ "type": "Identifier", "name": "rows", "range": [ - 11929, - 11933 + 12728, + 12732 ], "loc": { "start": { - "line": 435, + "line": 465, "column": 28 }, "end": { - "line": 435, + "line": 465, "column": 32 } } }, "range": [ - 11925, - 11933 + 12724, + 12732 ], "loc": { "start": { - "line": 435, + "line": 465, "column": 24 }, "end": { - "line": 435, + "line": 465, "column": 32 } } @@ -22373,46 +24146,46 @@ "type": "Identifier", "name": "headerIndex", "range": [ - 11934, - 11945 + 12733, + 12744 ], "loc": { "start": { - "line": 435, + "line": 465, "column": 33 }, "end": { - "line": 435, + "line": 465, "column": 44 } } }, "range": [ - 11925, - 11946 + 12724, + 12745 ], "loc": { "start": { - "line": 435, + "line": 465, "column": 24 }, "end": { - "line": 435, + "line": 465, "column": 45 } } }, "range": [ - 11913, - 11946 + 12712, + 12745 ], "loc": { "start": { - "line": 435, + "line": 465, "column": 12 }, "end": { - "line": 435, + "line": 465, "column": 45 } } @@ -22420,16 +24193,16 @@ ], "kind": "let", "range": [ - 11909, - 11947 + 12708, + 12746 ], "loc": { "start": { - "line": 435, + "line": 465, "column": 8 }, "end": { - "line": 435, + "line": 465, "column": 46 } }, @@ -22438,16 +24211,16 @@ "type": "Line", "value": "Tick all option", "range": [ - 11957, - 11974 + 12756, + 12773 ], "loc": { "start": { - "line": 437, + "line": 467, "column": 8 }, "end": { - "line": 437, + "line": 467, "column": 25 } } @@ -22462,16 +24235,16 @@ "object": { "type": "ThisExpression", "range": [ - 11987, - 11991 + 12786, + 12790 ], "loc": { "start": { - "line": 438, + "line": 468, "column": 12 }, "end": { - "line": 438, + "line": 468, "column": 16 } } @@ -22480,31 +24253,31 @@ "type": "Identifier", "name": "enableTickAll", "range": [ - 11992, - 12005 + 12791, + 12804 ], "loc": { "start": { - "line": 438, + "line": 468, "column": 17 }, "end": { - "line": 438, + "line": 468, "column": 30 } } }, "range": [ - 11987, - 12005 + 12786, + 12804 ], "loc": { "start": { - "line": 438, + "line": 468, "column": 12 }, "end": { - "line": 438, + "line": 468, "column": 30 } } @@ -22521,16 +24294,16 @@ "type": "Identifier", "name": "li", "range": [ - 12025, - 12027 + 12824, + 12826 ], "loc": { "start": { - "line": 439, + "line": 469, "column": 16 }, "end": { - "line": 439, + "line": 469, "column": 18 } } @@ -22541,16 +24314,16 @@ "type": "Identifier", "name": "createCheckItem", "range": [ - 12030, - 12045 + 12829, + 12844 ], "loc": { "start": { - "line": 439, + "line": 469, "column": 21 }, "end": { - "line": 439, + "line": 469, "column": 36 } } @@ -22564,16 +24337,16 @@ "value": "col__", "raw": "'col__'", "range": [ - 12046, - 12053 + 12845, + 12852 ], "loc": { "start": { - "line": 439, + "line": 469, "column": 37 }, "end": { - "line": 439, + "line": 469, "column": 44 } } @@ -22585,16 +24358,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12056, - 12058 + 12855, + 12857 ], "loc": { "start": { - "line": 439, + "line": 469, "column": 47 }, "end": { - "line": 439, + "line": 469, "column": 49 } } @@ -22603,46 +24376,46 @@ "type": "Identifier", "name": "id", "range": [ - 12059, - 12061 + 12858, + 12860 ], "loc": { "start": { - "line": 439, + "line": 469, "column": 50 }, "end": { - "line": 439, + "line": 469, "column": 52 } } }, "range": [ - 12056, - 12061 + 12855, + 12860 ], "loc": { "start": { - "line": 439, + "line": 469, "column": 47 }, "end": { - "line": 439, + "line": 469, "column": 52 } } }, "range": [ - 12046, - 12061 + 12845, + 12860 ], "loc": { "start": { - "line": 439, + "line": 469, "column": 37 }, "end": { - "line": 439, + "line": 469, "column": 52 } } @@ -22653,16 +24426,16 @@ "object": { "type": "ThisExpression", "range": [ - 12063, - 12067 + 12862, + 12866 ], "loc": { "start": { - "line": 439, + "line": 469, "column": 54 }, "end": { - "line": 439, + "line": 469, "column": 58 } } @@ -22671,31 +24444,31 @@ "type": "Identifier", "name": "tickAllText", "range": [ - 12068, - 12079 + 12867, + 12878 ], "loc": { "start": { - "line": 439, + "line": 469, "column": 59 }, "end": { - "line": 439, + "line": 469, "column": 70 } } }, "range": [ - 12063, - 12079 + 12862, + 12878 ], "loc": { "start": { - "line": 439, + "line": 469, "column": 54 }, "end": { - "line": 439, + "line": 469, "column": 70 } } @@ -22706,16 +24479,16 @@ "object": { "type": "ThisExpression", "range": [ - 12097, - 12101 + 12896, + 12900 ], "loc": { "start": { - "line": 440, + "line": 470, "column": 16 }, "end": { - "line": 440, + "line": 470, "column": 20 } } @@ -22724,62 +24497,62 @@ "type": "Identifier", "name": "tickAllText", "range": [ - 12102, - 12113 + 12901, + 12912 ], "loc": { "start": { - "line": 440, + "line": 470, "column": 21 }, "end": { - "line": 440, + "line": 470, "column": 32 } } }, "range": [ - 12097, - 12113 + 12896, + 12912 ], "loc": { "start": { - "line": 440, + "line": 470, "column": 16 }, "end": { - "line": 440, + "line": 470, "column": 32 } } } ], "range": [ - 12030, - 12114 + 12829, + 12913 ], "loc": { "start": { - "line": 439, + "line": 469, "column": 21 }, "end": { - "line": 440, + "line": 470, "column": 33 } } }, "range": [ - 12025, - 12114 + 12824, + 12913 ], "loc": { "start": { - "line": 439, + "line": 469, "column": 16 }, "end": { - "line": 440, + "line": 470, "column": 33 } } @@ -22787,16 +24560,16 @@ ], "kind": "let", "range": [ - 12021, - 12115 + 12820, + 12914 ], "loc": { "start": { - "line": 439, + "line": 469, "column": 12 }, "end": { - "line": 440, + "line": 470, "column": 34 } } @@ -22809,16 +24582,16 @@ "type": "Identifier", "name": "addClass", "range": [ - 12128, - 12136 + 12927, + 12935 ], "loc": { "start": { - "line": 441, + "line": 471, "column": 12 }, "end": { - "line": 441, + "line": 471, "column": 20 } } @@ -22828,16 +24601,16 @@ "type": "Identifier", "name": "li", "range": [ - 12137, - 12139 + 12936, + 12938 ], "loc": { "start": { - "line": 441, + "line": 471, "column": 21 }, "end": { - "line": 441, + "line": 471, "column": 23 } } @@ -22848,16 +24621,16 @@ "object": { "type": "ThisExpression", "range": [ - 12141, - 12145 + 12940, + 12944 ], "loc": { "start": { - "line": 441, + "line": 471, "column": 25 }, "end": { - "line": 441, + "line": 471, "column": 29 } } @@ -22866,62 +24639,62 @@ "type": "Identifier", "name": "listItemCssClass", "range": [ - 12146, - 12162 + 12945, + 12961 ], "loc": { "start": { - "line": 441, + "line": 471, "column": 30 }, "end": { - "line": 441, + "line": 471, "column": 46 } } }, "range": [ - 12141, - 12162 + 12940, + 12961 ], "loc": { "start": { - "line": 441, + "line": 471, "column": 25 }, "end": { - "line": 441, + "line": 471, "column": 46 } } } ], "range": [ - 12128, - 12163 + 12927, + 12962 ], "loc": { "start": { - "line": 441, + "line": 471, "column": 12 }, "end": { - "line": 441, + "line": 471, "column": 47 } } }, "range": [ - 12128, - 12164 + 12927, + 12963 ], "loc": { "start": { - "line": 441, + "line": 471, "column": 12 }, "end": { - "line": 441, + "line": 471, "column": 48 } } @@ -22937,16 +24710,16 @@ "type": "Identifier", "name": "ul", "range": [ - 12177, - 12179 + 12976, + 12978 ], "loc": { "start": { - "line": 442, + "line": 472, "column": 12 }, "end": { - "line": 442, + "line": 472, "column": 14 } } @@ -22955,31 +24728,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 12180, - 12191 + 12979, + 12990 ], "loc": { "start": { - "line": 442, + "line": 472, "column": 15 }, "end": { - "line": 442, + "line": 472, "column": 26 } } }, "range": [ - 12177, - 12191 + 12976, + 12990 ], "loc": { "start": { - "line": 442, + "line": 472, "column": 12 }, "end": { - "line": 442, + "line": 472, "column": 26 } } @@ -22989,47 +24762,47 @@ "type": "Identifier", "name": "li", "range": [ - 12192, - 12194 + 12991, + 12993 ], "loc": { "start": { - "line": 442, + "line": 472, "column": 27 }, "end": { - "line": 442, + "line": 472, "column": 29 } } } ], "range": [ - 12177, - 12195 + 12976, + 12994 ], "loc": { "start": { - "line": 442, + "line": 472, "column": 12 }, "end": { - "line": 442, + "line": 472, "column": 30 } } }, "range": [ - 12177, - 12196 + 12976, + 12995 ], "loc": { "start": { - "line": 442, + "line": 472, "column": 12 }, "end": { - "line": 442, + "line": 472, "column": 31 } } @@ -23049,16 +24822,16 @@ "type": "Identifier", "name": "li", "range": [ - 12209, - 12211 + 13008, + 13010 ], "loc": { "start": { - "line": 443, + "line": 473, "column": 12 }, "end": { - "line": 443, + "line": 473, "column": 14 } } @@ -23067,31 +24840,31 @@ "type": "Identifier", "name": "check", "range": [ - 12212, - 12217 + 13011, + 13016 ], "loc": { "start": { - "line": 443, + "line": 473, "column": 15 }, "end": { - "line": 443, + "line": 473, "column": 20 } } }, "range": [ - 12209, - 12217 + 13008, + 13016 ], "loc": { "start": { - "line": 443, + "line": 473, "column": 12 }, "end": { - "line": 443, + "line": 473, "column": 20 } } @@ -23100,31 +24873,31 @@ "type": "Identifier", "name": "checked", "range": [ - 12218, - 12225 + 13017, + 13024 ], "loc": { "start": { - "line": 443, + "line": 473, "column": 21 }, "end": { - "line": 443, + "line": 473, "column": 28 } } }, "range": [ - 12209, - 12225 + 13008, + 13024 ], "loc": { "start": { - "line": 443, + "line": 473, "column": 12 }, "end": { - "line": 443, + "line": 473, "column": 28 } } @@ -23138,16 +24911,16 @@ "object": { "type": "ThisExpression", "range": [ - 12229, - 12233 + 13028, + 13032 ], "loc": { "start": { - "line": 443, + "line": 473, "column": 32 }, "end": { - "line": 443, + "line": 473, "column": 36 } } @@ -23156,77 +24929,77 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 12234, - 12244 + 13033, + 13043 ], "loc": { "start": { - "line": 443, + "line": 473, "column": 37 }, "end": { - "line": 443, + "line": 473, "column": 47 } } }, "range": [ - 12229, - 12244 + 13028, + 13043 ], "loc": { "start": { - "line": 443, + "line": 473, "column": 32 }, "end": { - "line": 443, + "line": 473, "column": 47 } } }, "prefix": true, "range": [ - 12228, - 12244 + 13027, + 13043 ], "loc": { "start": { - "line": 443, + "line": 473, "column": 31 }, "end": { - "line": 443, + "line": 473, "column": 47 } } }, "range": [ - 12209, - 12244 + 13008, + 13043 ], "loc": { "start": { - "line": 443, + "line": 473, "column": 12 }, "end": { - "line": 443, + "line": 473, "column": 47 } } }, "range": [ - 12209, - 12245 + 13008, + 13044 ], "loc": { "start": { - "line": 443, + "line": 473, "column": 12 }, "end": { - "line": 443, + "line": 473, "column": 48 } } @@ -23239,16 +25012,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 12259, - 12265 + 13058, + 13064 ], "loc": { "start": { - "line": 445, + "line": 475, "column": 12 }, "end": { - "line": 445, + "line": 475, "column": 18 } } @@ -23261,16 +25034,16 @@ "type": "Identifier", "name": "li", "range": [ - 12266, - 12268 + 13065, + 13067 ], "loc": { "start": { - "line": 445, + "line": 475, "column": 19 }, "end": { - "line": 445, + "line": 475, "column": 21 } } @@ -23279,31 +25052,31 @@ "type": "Identifier", "name": "check", "range": [ - 12269, - 12274 + 13068, + 13073 ], "loc": { "start": { - "line": 445, + "line": 475, "column": 22 }, "end": { - "line": 445, + "line": 475, "column": 27 } } }, "range": [ - 12266, - 12274 + 13065, + 13073 ], "loc": { "start": { - "line": 445, + "line": 475, "column": 19 }, "end": { - "line": 445, + "line": 475, "column": 27 } } @@ -23313,16 +25086,16 @@ "value": "click", "raw": "'click'", "range": [ - 12276, - 12283 + 13075, + 13082 ], "loc": { "start": { - "line": 445, + "line": 475, "column": 29 }, "end": { - "line": 445, + "line": 475, "column": 36 } } @@ -23345,16 +25118,16 @@ "type": "Identifier", "name": "h", "range": [ - 12318, - 12319 + 13117, + 13118 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 25 }, "end": { - "line": 446, + "line": 476, "column": 26 } } @@ -23364,31 +25137,31 @@ "value": 0, "raw": "0", "range": [ - 12322, - 12323 + 13121, + 13122 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 29 }, "end": { - "line": 446, + "line": 476, "column": 30 } } }, "range": [ - 12318, - 12323 + 13117, + 13122 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 25 }, "end": { - "line": 446, + "line": 476, "column": 30 } } @@ -23396,16 +25169,16 @@ ], "kind": "let", "range": [ - 12314, - 12323 + 13113, + 13122 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 21 }, "end": { - "line": 446, + "line": 476, "column": 30 } } @@ -23417,16 +25190,16 @@ "type": "Identifier", "name": "h", "range": [ - 12325, - 12326 + 13124, + 13125 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 32 }, "end": { - "line": 446, + "line": 476, "column": 33 } } @@ -23441,16 +25214,16 @@ "type": "Identifier", "name": "headerRow", "range": [ - 12329, - 12338 + 13128, + 13137 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 36 }, "end": { - "line": 446, + "line": 476, "column": 45 } } @@ -23459,31 +25232,31 @@ "type": "Identifier", "name": "cells", "range": [ - 12339, - 12344 + 13138, + 13143 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 46 }, "end": { - "line": 446, + "line": 476, "column": 51 } } }, "range": [ - 12329, - 12344 + 13128, + 13143 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 36 }, "end": { - "line": 446, + "line": 476, "column": 51 } } @@ -23492,46 +25265,46 @@ "type": "Identifier", "name": "length", "range": [ - 12345, - 12351 + 13144, + 13150 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 52 }, "end": { - "line": 446, + "line": 476, "column": 58 } } }, "range": [ - 12329, - 12351 + 13128, + 13150 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 36 }, "end": { - "line": 446, + "line": 476, "column": 58 } } }, "range": [ - 12325, - 12351 + 13124, + 13150 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 32 }, "end": { - "line": 446, + "line": 476, "column": 58 } } @@ -23543,32 +25316,32 @@ "type": "Identifier", "name": "h", "range": [ - 12353, - 12354 + 13152, + 13153 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 60 }, "end": { - "line": 446, + "line": 476, "column": 61 } } }, "prefix": false, "range": [ - 12353, - 12356 + 13152, + 13155 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 60 }, "end": { - "line": 446, + "line": 476, "column": 63 } } @@ -23585,16 +25358,16 @@ "type": "Identifier", "name": "itm", "range": [ - 12384, - 12387 + 13183, + 13186 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 24 }, "end": { - "line": 447, + "line": 477, "column": 27 } } @@ -23605,16 +25378,16 @@ "type": "Identifier", "name": "elm", "range": [ - 12390, - 12393 + 13189, + 13192 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 30 }, "end": { - "line": 447, + "line": 477, "column": 33 } } @@ -23634,16 +25407,16 @@ "value": "col_", "raw": "'col_'", "range": [ - 12394, - 12400 + 13193, + 13199 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 34 }, "end": { - "line": 447, + "line": 477, "column": 40 } } @@ -23652,31 +25425,31 @@ "type": "Identifier", "name": "h", "range": [ - 12403, - 12404 + 13202, + 13203 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 43 }, "end": { - "line": 447, + "line": 477, "column": 44 } } }, "range": [ - 12394, - 12404 + 13193, + 13203 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 34 }, "end": { - "line": 447, + "line": 477, "column": 44 } } @@ -23686,31 +25459,31 @@ "value": "_", "raw": "'_'", "range": [ - 12407, - 12410 + 13206, + 13209 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 47 }, "end": { - "line": 447, + "line": 477, "column": 50 } } }, "range": [ - 12394, - 12410 + 13193, + 13209 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 34 }, "end": { - "line": 447, + "line": 477, "column": 50 } } @@ -23722,16 +25495,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12413, - 12415 + 13212, + 13214 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 53 }, "end": { - "line": 447, + "line": 477, "column": 55 } } @@ -23740,77 +25513,77 @@ "type": "Identifier", "name": "id", "range": [ - 12416, - 12418 + 13215, + 13217 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 56 }, "end": { - "line": 447, + "line": 477, "column": 58 } } }, "range": [ - 12413, - 12418 + 13212, + 13217 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 53 }, "end": { - "line": 447, + "line": 477, "column": 58 } } }, "range": [ - 12394, - 12418 + 13193, + 13217 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 34 }, "end": { - "line": 447, + "line": 477, "column": 58 } } } ], "range": [ - 12390, - 12419 + 13189, + 13218 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 30 }, "end": { - "line": 447, + "line": 477, "column": 59 } } }, "range": [ - 12384, - 12419 + 13183, + 13218 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 24 }, "end": { - "line": 447, + "line": 477, "column": 59 } } @@ -23818,16 +25591,16 @@ ], "kind": "let", "range": [ - 12380, - 12420 + 13179, + 13219 ], "loc": { "start": { - "line": 447, + "line": 477, "column": 20 }, "end": { - "line": 447, + "line": 477, "column": 60 } } @@ -23841,16 +25614,16 @@ "type": "Identifier", "name": "itm", "range": [ - 12445, - 12448 + 13244, + 13247 ], "loc": { "start": { - "line": 448, + "line": 478, "column": 24 }, "end": { - "line": 448, + "line": 478, "column": 27 } } @@ -23868,16 +25641,16 @@ "type": "Identifier", "name": "li", "range": [ - 12452, - 12454 + 13251, + 13253 ], "loc": { "start": { - "line": 448, + "line": 478, "column": 31 }, "end": { - "line": 448, + "line": 478, "column": 33 } } @@ -23886,31 +25659,31 @@ "type": "Identifier", "name": "check", "range": [ - 12455, - 12460 + 13254, + 13259 ], "loc": { "start": { - "line": 448, + "line": 478, "column": 34 }, "end": { - "line": 448, + "line": 478, "column": 39 } } }, "range": [ - 12452, - 12460 + 13251, + 13259 ], "loc": { "start": { - "line": 448, + "line": 478, "column": 31 }, "end": { - "line": 448, + "line": 478, "column": 39 } } @@ -23919,31 +25692,31 @@ "type": "Identifier", "name": "checked", "range": [ - 12461, - 12468 + 13260, + 13267 ], "loc": { "start": { - "line": 448, + "line": 478, "column": 40 }, "end": { - "line": 448, + "line": 478, "column": 47 } } }, "range": [ - 12452, - 12468 + 13251, + 13267 ], "loc": { "start": { - "line": 448, + "line": 478, "column": 31 }, "end": { - "line": 448, + "line": 478, "column": 47 } } @@ -23955,16 +25728,16 @@ "type": "Identifier", "name": "itm", "range": [ - 12473, - 12476 + 13272, + 13275 ], "loc": { "start": { - "line": 448, + "line": 478, "column": 52 }, "end": { - "line": 448, + "line": 478, "column": 55 } } @@ -23973,61 +25746,61 @@ "type": "Identifier", "name": "checked", "range": [ - 12477, - 12484 + 13276, + 13283 ], "loc": { "start": { - "line": 448, + "line": 478, "column": 56 }, "end": { - "line": 448, + "line": 478, "column": 63 } } }, "range": [ - 12473, - 12484 + 13272, + 13283 ], "loc": { "start": { - "line": 448, + "line": 478, "column": 52 }, "end": { - "line": 448, + "line": 478, "column": 63 } } }, "range": [ - 12452, - 12484 + 13251, + 13283 ], "loc": { "start": { - "line": 448, + "line": 478, "column": 31 }, "end": { - "line": 448, + "line": 478, "column": 63 } } }, "range": [ - 12445, - 12484 + 13244, + 13283 ], "loc": { "start": { - "line": 448, + "line": 478, "column": 24 }, "end": { - "line": 448, + "line": 478, "column": 63 } } @@ -24046,16 +25819,16 @@ "type": "Identifier", "name": "itm", "range": [ - 12512, - 12515 + 13311, + 13314 ], "loc": { "start": { - "line": 449, + "line": 479, "column": 24 }, "end": { - "line": 449, + "line": 479, "column": 27 } } @@ -24064,62 +25837,62 @@ "type": "Identifier", "name": "click", "range": [ - 12516, - 12521 + 13315, + 13320 ], "loc": { "start": { - "line": 449, + "line": 479, "column": 28 }, "end": { - "line": 449, + "line": 479, "column": 33 } } }, "range": [ - 12512, - 12521 + 13311, + 13320 ], "loc": { "start": { - "line": 449, + "line": 479, "column": 24 }, "end": { - "line": 449, + "line": 479, "column": 33 } } }, "arguments": [], "range": [ - 12512, - 12523 + 13311, + 13322 ], "loc": { "start": { - "line": 449, + "line": 479, "column": 24 }, "end": { - "line": 449, + "line": 479, "column": 35 } } }, "range": [ - 12512, - 12524 + 13311, + 13323 ], "loc": { "start": { - "line": 449, + "line": 479, "column": 24 }, "end": { - "line": 449, + "line": 479, "column": 36 } } @@ -24136,16 +25909,16 @@ "type": "Identifier", "name": "itm", "range": [ - 12549, - 12552 + 13348, + 13351 ], "loc": { "start": { - "line": 450, + "line": 480, "column": 24 }, "end": { - "line": 450, + "line": 480, "column": 27 } } @@ -24154,31 +25927,31 @@ "type": "Identifier", "name": "checked", "range": [ - 12553, - 12560 + 13352, + 13359 ], "loc": { "start": { - "line": 450, + "line": 480, "column": 28 }, "end": { - "line": 450, + "line": 480, "column": 35 } } }, "range": [ - 12549, - 12560 + 13348, + 13359 ], "loc": { "start": { - "line": 450, + "line": 480, "column": 24 }, "end": { - "line": 450, + "line": 480, "column": 35 } } @@ -24193,16 +25966,16 @@ "type": "Identifier", "name": "li", "range": [ - 12563, - 12565 + 13362, + 13364 ], "loc": { "start": { - "line": 450, + "line": 480, "column": 38 }, "end": { - "line": 450, + "line": 480, "column": 40 } } @@ -24211,31 +25984,31 @@ "type": "Identifier", "name": "check", "range": [ - 12566, - 12571 + 13365, + 13370 ], "loc": { "start": { - "line": 450, + "line": 480, "column": 41 }, "end": { - "line": 450, + "line": 480, "column": 46 } } }, "range": [ - 12563, - 12571 + 13362, + 13370 ], "loc": { "start": { - "line": 450, + "line": 480, "column": 38 }, "end": { - "line": 450, + "line": 480, "column": 46 } } @@ -24244,140 +26017,140 @@ "type": "Identifier", "name": "checked", "range": [ - 12572, - 12579 + 13371, + 13378 ], "loc": { "start": { - "line": 450, + "line": 480, "column": 47 }, "end": { - "line": 450, + "line": 480, "column": 54 } } }, "range": [ - 12563, - 12579 + 13362, + 13378 ], "loc": { "start": { - "line": 450, + "line": 480, "column": 38 }, "end": { - "line": 450, + "line": 480, "column": 54 } } }, "range": [ - 12549, - 12579 + 13348, + 13378 ], "loc": { "start": { - "line": 450, + "line": 480, "column": 24 }, "end": { - "line": 450, + "line": 480, "column": 54 } } }, "range": [ - 12549, - 12580 + 13348, + 13379 ], "loc": { "start": { - "line": 450, + "line": 480, "column": 24 }, "end": { - "line": 450, + "line": 480, "column": 55 } } } ], "range": [ - 12486, - 12602 + 13285, + 13401 ], "loc": { "start": { - "line": 448, + "line": 478, "column": 65 }, "end": { - "line": 451, + "line": 481, "column": 21 } } }, "alternate": null, "range": [ - 12441, - 12602 + 13240, + 13401 ], "loc": { "start": { - "line": 448, + "line": 478, "column": 20 }, "end": { - "line": 451, + "line": 481, "column": 21 } } } ], "range": [ - 12358, - 12620 + 13157, + 13419 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 65 }, "end": { - "line": 452, + "line": 482, "column": 17 } } }, "range": [ - 12309, - 12620 + 13108, + 13419 ], "loc": { "start": { - "line": 446, + "line": 476, "column": 16 }, "end": { - "line": 452, + "line": 482, "column": 17 } } } ], "range": [ - 12291, - 12634 + 13090, + 13433 ], "loc": { "start": { - "line": 445, + "line": 475, "column": 44 }, "end": { - "line": 453, + "line": 483, "column": 13 } } @@ -24385,79 +26158,79 @@ "generator": false, "expression": false, "range": [ - 12285, - 12634 + 13084, + 13433 ], "loc": { "start": { - "line": 445, + "line": 475, "column": 38 }, "end": { - "line": 453, + "line": 483, "column": 13 } } } ], "range": [ - 12259, - 12635 + 13058, + 13434 ], "loc": { "start": { - "line": 445, + "line": 475, "column": 12 }, "end": { - "line": 453, + "line": 483, "column": 14 } } }, "range": [ - 12259, - 12636 + 13058, + 13435 ], "loc": { "start": { - "line": 445, + "line": 475, "column": 12 }, "end": { - "line": 453, + "line": 483, "column": 15 } } } ], "range": [ - 12007, - 12646 + 12806, + 13445 ], "loc": { "start": { - "line": 438, + "line": 468, "column": 32 }, "end": { - "line": 454, + "line": 484, "column": 9 } } }, "alternate": null, "range": [ - 11983, - 12646 + 12782, + 13445 ], "loc": { "start": { - "line": 438, + "line": 468, "column": 8 }, "end": { - "line": 454, + "line": 484, "column": 9 } }, @@ -24466,16 +26239,16 @@ "type": "Line", "value": "Tick all option", "range": [ - 11957, - 11974 + 12756, + 12773 ], "loc": { "start": { - "line": 437, + "line": 467, "column": 8 }, "end": { - "line": 437, + "line": 467, "column": 25 } } @@ -24493,16 +26266,16 @@ "type": "Identifier", "name": "i", "range": [ - 12665, - 12666 + 13464, + 13465 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 17 }, "end": { - "line": 456, + "line": 486, "column": 18 } } @@ -24512,31 +26285,31 @@ "value": 0, "raw": "0", "range": [ - 12669, - 12670 + 13468, + 13469 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 21 }, "end": { - "line": 456, + "line": 486, "column": 22 } } }, "range": [ - 12665, - 12670 + 13464, + 13469 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 17 }, "end": { - "line": 456, + "line": 486, "column": 22 } } @@ -24544,16 +26317,16 @@ ], "kind": "let", "range": [ - 12661, - 12670 + 13460, + 13469 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 13 }, "end": { - "line": 456, + "line": 486, "column": 22 } } @@ -24565,16 +26338,16 @@ "type": "Identifier", "name": "i", "range": [ - 12672, - 12673 + 13471, + 13472 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 24 }, "end": { - "line": 456, + "line": 486, "column": 25 } } @@ -24589,16 +26362,16 @@ "type": "Identifier", "name": "headerRow", "range": [ - 12676, - 12685 + 13475, + 13484 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 28 }, "end": { - "line": 456, + "line": 486, "column": 37 } } @@ -24607,31 +26380,31 @@ "type": "Identifier", "name": "cells", "range": [ - 12686, - 12691 + 13485, + 13490 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 38 }, "end": { - "line": 456, + "line": 486, "column": 43 } } }, "range": [ - 12676, - 12691 + 13475, + 13490 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 28 }, "end": { - "line": 456, + "line": 486, "column": 43 } } @@ -24640,46 +26413,46 @@ "type": "Identifier", "name": "length", "range": [ - 12692, - 12698 + 13491, + 13497 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 44 }, "end": { - "line": 456, + "line": 486, "column": 50 } } }, "range": [ - 12676, - 12698 + 13475, + 13497 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 28 }, "end": { - "line": 456, + "line": 486, "column": 50 } } }, "range": [ - 12672, - 12698 + 13471, + 13497 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 24 }, "end": { - "line": 456, + "line": 486, "column": 50 } } @@ -24691,32 +26464,32 @@ "type": "Identifier", "name": "i", "range": [ - 12700, - 12701 + 13499, + 13500 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 52 }, "end": { - "line": 456, + "line": 486, "column": 53 } } }, "prefix": false, "range": [ - 12700, - 12703 + 13499, + 13502 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 52 }, "end": { - "line": 456, + "line": 486, "column": 55 } } @@ -24733,16 +26506,16 @@ "type": "Identifier", "name": "cell", "range": [ - 12723, - 12727 + 13522, + 13526 ], "loc": { "start": { - "line": 457, + "line": 487, "column": 16 }, "end": { - "line": 457, + "line": 487, "column": 20 } } @@ -24757,16 +26530,16 @@ "type": "Identifier", "name": "headerRow", "range": [ - 12730, - 12739 + 13529, + 13538 ], "loc": { "start": { - "line": 457, + "line": 487, "column": 23 }, "end": { - "line": 457, + "line": 487, "column": 32 } } @@ -24775,31 +26548,31 @@ "type": "Identifier", "name": "cells", "range": [ - 12740, - 12745 + 13539, + 13544 ], "loc": { "start": { - "line": 457, + "line": 487, "column": 33 }, "end": { - "line": 457, + "line": 487, "column": 38 } } }, "range": [ - 12730, - 12745 + 13529, + 13544 ], "loc": { "start": { - "line": 457, + "line": 487, "column": 23 }, "end": { - "line": 457, + "line": 487, "column": 38 } } @@ -24808,46 +26581,46 @@ "type": "Identifier", "name": "i", "range": [ - 12746, - 12747 + 13545, + 13546 ], "loc": { "start": { - "line": 457, + "line": 487, "column": 39 }, "end": { - "line": 457, + "line": 487, "column": 40 } } }, "range": [ - 12730, - 12748 + 13529, + 13547 ], "loc": { "start": { - "line": 457, + "line": 487, "column": 23 }, "end": { - "line": 457, + "line": 487, "column": 41 } } }, "range": [ - 12723, - 12748 + 13522, + 13547 ], "loc": { "start": { - "line": 457, + "line": 487, "column": 16 }, "end": { - "line": 457, + "line": 487, "column": 41 } } @@ -24855,16 +26628,16 @@ ], "kind": "let", "range": [ - 12719, - 12749 + 13518, + 13548 ], "loc": { "start": { - "line": 457, + "line": 487, "column": 12 }, "end": { - "line": 457, + "line": 487, "column": 42 } } @@ -24878,16 +26651,16 @@ "type": "Identifier", "name": "cellText", "range": [ - 12766, - 12774 + 13565, + 13573 ], "loc": { "start": { - "line": 458, + "line": 488, "column": 16 }, "end": { - "line": 458, + "line": 488, "column": 24 } } @@ -24903,16 +26676,16 @@ "object": { "type": "ThisExpression", "range": [ - 12777, - 12781 + 13576, + 13580 ], "loc": { "start": { - "line": 458, + "line": 488, "column": 27 }, "end": { - "line": 458, + "line": 488, "column": 31 } } @@ -24921,31 +26694,31 @@ "type": "Identifier", "name": "headersText", "range": [ - 12782, - 12793 + 13581, + 13592 ], "loc": { "start": { - "line": 458, + "line": 488, "column": 32 }, "end": { - "line": 458, + "line": 488, "column": 43 } } }, "range": [ - 12777, - 12793 + 13576, + 13592 ], "loc": { "start": { - "line": 458, + "line": 488, "column": 27 }, "end": { - "line": 458, + "line": 488, "column": 43 } } @@ -24959,16 +26732,16 @@ "object": { "type": "ThisExpression", "range": [ - 12797, - 12801 + 13596, + 13600 ], "loc": { "start": { - "line": 458, + "line": 488, "column": 47 }, "end": { - "line": 458, + "line": 488, "column": 51 } } @@ -24977,31 +26750,31 @@ "type": "Identifier", "name": "headersText", "range": [ - 12802, - 12813 + 13601, + 13612 ], "loc": { "start": { - "line": 458, + "line": 488, "column": 52 }, "end": { - "line": 458, + "line": 488, "column": 63 } } }, "range": [ - 12797, - 12813 + 13596, + 13612 ], "loc": { "start": { - "line": 458, + "line": 488, "column": 47 }, "end": { - "line": 458, + "line": 488, "column": 63 } } @@ -25010,46 +26783,46 @@ "type": "Identifier", "name": "i", "range": [ - 12814, - 12815 + 13613, + 13614 ], "loc": { "start": { - "line": 458, + "line": 488, "column": 64 }, "end": { - "line": 458, + "line": 488, "column": 65 } } }, "range": [ - 12797, - 12816 + 13596, + 13615 ], "loc": { "start": { - "line": 458, + "line": 488, "column": 47 }, "end": { - "line": 458, + "line": 488, "column": 66 } } }, "range": [ - 12777, - 12816 + 13576, + 13615 ], "loc": { "start": { - "line": 458, + "line": 488, "column": 27 }, "end": { - "line": 458, + "line": 488, "column": 66 } } @@ -25063,16 +26836,16 @@ "object": { "type": "ThisExpression", "range": [ - 12835, - 12839 + 13634, + 13638 ], "loc": { "start": { - "line": 459, + "line": 489, "column": 16 }, "end": { - "line": 459, + "line": 489, "column": 20 } } @@ -25081,31 +26854,31 @@ "type": "Identifier", "name": "headersText", "range": [ - 12840, - 12851 + 13639, + 13650 ], "loc": { "start": { - "line": 459, + "line": 489, "column": 21 }, "end": { - "line": 459, + "line": 489, "column": 32 } } }, "range": [ - 12835, - 12851 + 13634, + 13650 ], "loc": { "start": { - "line": 459, + "line": 489, "column": 16 }, "end": { - "line": 459, + "line": 489, "column": 32 } } @@ -25114,31 +26887,31 @@ "type": "Identifier", "name": "i", "range": [ - 12852, - 12853 + 13651, + 13652 ], "loc": { "start": { - "line": 459, + "line": 489, "column": 33 }, "end": { - "line": 459, + "line": 489, "column": 34 } } }, "range": [ - 12835, - 12854 + 13634, + 13653 ], "loc": { "start": { - "line": 459, + "line": 489, "column": 16 }, "end": { - "line": 459, + "line": 489, "column": 35 } } @@ -25151,16 +26924,16 @@ "object": { "type": "ThisExpression", "range": [ - 12857, - 12861 + 13656, + 13660 ], "loc": { "start": { - "line": 459, + "line": 489, "column": 38 }, "end": { - "line": 459, + "line": 489, "column": 42 } } @@ -25169,31 +26942,31 @@ "type": "Identifier", "name": "_getHeaderText", "range": [ - 12862, - 12876 + 13661, + 13675 ], "loc": { "start": { - "line": 459, + "line": 489, "column": 43 }, "end": { - "line": 459, + "line": 489, "column": 57 } } }, "range": [ - 12857, - 12876 + 13656, + 13675 ], "loc": { "start": { - "line": 459, + "line": 489, "column": 38 }, "end": { - "line": 459, + "line": 489, "column": 57 } } @@ -25203,62 +26976,62 @@ "type": "Identifier", "name": "cell", "range": [ - 12877, - 12881 + 13676, + 13680 ], "loc": { "start": { - "line": 459, + "line": 489, "column": 58 }, "end": { - "line": 459, + "line": 489, "column": 62 } } } ], "range": [ - 12857, - 12882 + 13656, + 13681 ], "loc": { "start": { - "line": 459, + "line": 489, "column": 38 }, "end": { - "line": 459, + "line": 489, "column": 63 } } }, "range": [ - 12777, - 12882 + 13576, + 13681 ], "loc": { "start": { - "line": 458, + "line": 488, "column": 27 }, "end": { - "line": 459, + "line": 489, "column": 63 } } }, "range": [ - 12766, - 12882 + 13565, + 13681 ], "loc": { "start": { - "line": 458, + "line": 488, "column": 16 }, "end": { - "line": 459, + "line": 489, "column": 63 } } @@ -25266,16 +27039,16 @@ ], "kind": "let", "range": [ - 12762, - 12883 + 13561, + 13682 ], "loc": { "start": { - "line": 458, + "line": 488, "column": 12 }, "end": { - "line": 459, + "line": 489, "column": 64 } } @@ -25289,16 +27062,16 @@ "type": "Identifier", "name": "liElm", "range": [ - 12900, - 12905 + 13699, + 13704 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 16 }, "end": { - "line": 460, + "line": 490, "column": 21 } } @@ -25309,16 +27082,16 @@ "type": "Identifier", "name": "createCheckItem", "range": [ - 12908, - 12923 + 13707, + 13722 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 24 }, "end": { - "line": 460, + "line": 490, "column": 39 } } @@ -25338,16 +27111,16 @@ "value": "col_", "raw": "'col_'", "range": [ - 12924, - 12930 + 13723, + 13729 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 40 }, "end": { - "line": 460, + "line": 490, "column": 46 } } @@ -25356,31 +27129,31 @@ "type": "Identifier", "name": "i", "range": [ - 12933, - 12934 + 13732, + 13733 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 49 }, "end": { - "line": 460, + "line": 490, "column": 50 } } }, "range": [ - 12924, - 12934 + 13723, + 13733 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 40 }, "end": { - "line": 460, + "line": 490, "column": 50 } } @@ -25390,31 +27163,31 @@ "value": "_", "raw": "'_'", "range": [ - 12937, - 12940 + 13736, + 13739 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 53 }, "end": { - "line": 460, + "line": 490, "column": 56 } } }, "range": [ - 12924, - 12940 + 13723, + 13739 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 40 }, "end": { - "line": 460, + "line": 490, "column": 56 } } @@ -25426,16 +27199,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12943, - 12945 + 13742, + 13744 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 59 }, "end": { - "line": 460, + "line": 490, "column": 61 } } @@ -25444,46 +27217,46 @@ "type": "Identifier", "name": "id", "range": [ - 12946, - 12948 + 13745, + 13747 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 62 }, "end": { - "line": 460, + "line": 490, "column": 64 } } }, "range": [ - 12943, - 12948 + 13742, + 13747 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 59 }, "end": { - "line": 460, + "line": 490, "column": 64 } } }, "range": [ - 12924, - 12948 + 13723, + 13747 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 40 }, "end": { - "line": 460, + "line": 490, "column": 64 } } @@ -25492,16 +27265,16 @@ "type": "Identifier", "name": "cellText", "range": [ - 12950, - 12958 + 13749, + 13757 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 66 }, "end": { - "line": 460, + "line": 490, "column": 74 } } @@ -25510,47 +27283,47 @@ "type": "Identifier", "name": "cellText", "range": [ - 12976, - 12984 + 13775, + 13783 ], "loc": { "start": { - "line": 461, + "line": 491, "column": 16 }, "end": { - "line": 461, + "line": 491, "column": 24 } } } ], "range": [ - 12908, - 12985 + 13707, + 13784 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 24 }, "end": { - "line": 461, + "line": 491, "column": 25 } } }, "range": [ - 12900, - 12985 + 13699, + 13784 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 16 }, "end": { - "line": 461, + "line": 491, "column": 25 } } @@ -25558,16 +27331,16 @@ ], "kind": "let", "range": [ - 12896, - 12986 + 13695, + 13785 ], "loc": { "start": { - "line": 460, + "line": 490, "column": 12 }, "end": { - "line": 461, + "line": 491, "column": 26 } } @@ -25580,16 +27353,16 @@ "type": "Identifier", "name": "addClass", "range": [ - 12999, - 13007 + 13798, + 13806 ], "loc": { "start": { - "line": 462, + "line": 492, "column": 12 }, "end": { - "line": 462, + "line": 492, "column": 20 } } @@ -25599,16 +27372,16 @@ "type": "Identifier", "name": "liElm", "range": [ - 13008, - 13013 + 13807, + 13812 ], "loc": { "start": { - "line": 462, + "line": 492, "column": 21 }, "end": { - "line": 462, + "line": 492, "column": 26 } } @@ -25619,16 +27392,16 @@ "object": { "type": "ThisExpression", "range": [ - 13015, - 13019 + 13814, + 13818 ], "loc": { "start": { - "line": 462, + "line": 492, "column": 28 }, "end": { - "line": 462, + "line": 492, "column": 32 } } @@ -25637,62 +27410,62 @@ "type": "Identifier", "name": "listItemCssClass", "range": [ - 13020, - 13036 + 13819, + 13835 ], "loc": { "start": { - "line": 462, + "line": 492, "column": 33 }, "end": { - "line": 462, + "line": 492, "column": 49 } } }, "range": [ - 13015, - 13036 + 13814, + 13835 ], "loc": { "start": { - "line": 462, + "line": 492, "column": 28 }, "end": { - "line": 462, + "line": 492, "column": 49 } } } ], "range": [ - 12999, - 13037 + 13798, + 13836 ], "loc": { "start": { - "line": 462, + "line": 492, "column": 12 }, "end": { - "line": 462, + "line": 492, "column": 50 } } }, "range": [ - 12999, - 13038 + 13798, + 13837 ], "loc": { "start": { - "line": 462, + "line": 492, "column": 12 }, "end": { - "line": 462, + "line": 492, "column": 51 } } @@ -25708,16 +27481,16 @@ "object": { "type": "ThisExpression", "range": [ - 13056, - 13060 + 13855, + 13859 ], "loc": { "start": { - "line": 463, + "line": 493, "column": 17 }, "end": { - "line": 463, + "line": 493, "column": 21 } } @@ -25726,47 +27499,47 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 13061, - 13071 + 13860, + 13870 ], "loc": { "start": { - "line": 463, + "line": 493, "column": 22 }, "end": { - "line": 463, + "line": 493, "column": 32 } } }, "range": [ - 13056, - 13071 + 13855, + 13870 ], "loc": { "start": { - "line": 463, + "line": 493, "column": 17 }, "end": { - "line": 463, + "line": 493, "column": 32 } } }, "prefix": true, "range": [ - 13055, - 13071 + 13854, + 13870 ], "loc": { "start": { - "line": 463, + "line": 493, "column": 16 }, "end": { - "line": 463, + "line": 493, "column": 32 } } @@ -25782,16 +27555,16 @@ "type": "Identifier", "name": "addClass", "range": [ - 13091, - 13099 + 13890, + 13898 ], "loc": { "start": { - "line": 464, + "line": 494, "column": 16 }, "end": { - "line": 464, + "line": 494, "column": 24 } } @@ -25801,16 +27574,16 @@ "type": "Identifier", "name": "liElm", "range": [ - 13100, - 13105 + 13899, + 13904 ], "loc": { "start": { - "line": 464, + "line": 494, "column": 25 }, "end": { - "line": 464, + "line": 494, "column": 30 } } @@ -25821,16 +27594,16 @@ "object": { "type": "ThisExpression", "range": [ - 13107, - 13111 + 13906, + 13910 ], "loc": { "start": { - "line": 464, + "line": 494, "column": 32 }, "end": { - "line": 464, + "line": 494, "column": 36 } } @@ -25839,94 +27612,94 @@ "type": "Identifier", "name": "listSlcItemCssClass", "range": [ - 13112, - 13131 + 13911, + 13930 ], "loc": { "start": { - "line": 464, + "line": 494, "column": 37 }, "end": { - "line": 464, + "line": 494, "column": 56 } } }, "range": [ - 13107, - 13131 + 13906, + 13930 ], "loc": { "start": { - "line": 464, + "line": 494, "column": 32 }, "end": { - "line": 464, + "line": 494, "column": 56 } } } ], "range": [ - 13091, - 13132 + 13890, + 13931 ], "loc": { "start": { - "line": 464, + "line": 494, "column": 16 }, "end": { - "line": 464, + "line": 494, "column": 57 } } }, "range": [ - 13091, - 13133 + 13890, + 13932 ], "loc": { "start": { - "line": 464, + "line": 494, "column": 16 }, "end": { - "line": 464, + "line": 494, "column": 58 } } } ], "range": [ - 13073, - 13147 + 13872, + 13946 ], "loc": { "start": { - "line": 463, + "line": 493, "column": 34 }, "end": { - "line": 465, + "line": 495, "column": 13 } } }, "alternate": null, "range": [ - 13051, - 13147 + 13850, + 13946 ], "loc": { "start": { - "line": 463, + "line": 493, "column": 12 }, "end": { - "line": 465, + "line": 495, "column": 13 } } @@ -25942,16 +27715,16 @@ "type": "Identifier", "name": "ul", "range": [ - 13160, - 13162 + 13959, + 13961 ], "loc": { "start": { - "line": 466, + "line": 496, "column": 12 }, "end": { - "line": 466, + "line": 496, "column": 14 } } @@ -25960,31 +27733,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 13163, - 13174 + 13962, + 13973 ], "loc": { "start": { - "line": 466, + "line": 496, "column": 15 }, "end": { - "line": 466, + "line": 496, "column": 26 } } }, "range": [ - 13160, - 13174 + 13959, + 13973 ], "loc": { "start": { - "line": 466, + "line": 496, "column": 12 }, "end": { - "line": 466, + "line": 496, "column": 26 } } @@ -25994,47 +27767,47 @@ "type": "Identifier", "name": "liElm", "range": [ - 13175, - 13180 + 13974, + 13979 ], "loc": { "start": { - "line": 466, + "line": 496, "column": 27 }, "end": { - "line": 466, + "line": 496, "column": 32 } } } ], "range": [ - 13160, - 13181 + 13959, + 13980 ], "loc": { "start": { - "line": 466, + "line": 496, "column": 12 }, "end": { - "line": 466, + "line": 496, "column": 33 } } }, "range": [ - 13160, - 13182 + 13959, + 13981 ], "loc": { "start": { - "line": 466, + "line": 496, "column": 12 }, "end": { - "line": 466, + "line": 496, "column": 34 } } @@ -26050,16 +27823,16 @@ "object": { "type": "ThisExpression", "range": [ - 13200, - 13204 + 13999, + 14003 ], "loc": { "start": { - "line": 467, + "line": 497, "column": 17 }, "end": { - "line": 467, + "line": 497, "column": 21 } } @@ -26068,47 +27841,47 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 13205, - 13215 + 14004, + 14014 ], "loc": { "start": { - "line": 467, + "line": 497, "column": 22 }, "end": { - "line": 467, + "line": 497, "column": 32 } } }, "range": [ - 13200, - 13215 + 13999, + 14014 ], "loc": { "start": { - "line": 467, + "line": 497, "column": 17 }, "end": { - "line": 467, + "line": 497, "column": 32 } } }, "prefix": true, "range": [ - 13199, - 13215 + 13998, + 14014 ], "loc": { "start": { - "line": 467, + "line": 497, "column": 16 }, "end": { - "line": 467, + "line": 497, "column": 32 } } @@ -26131,16 +27904,16 @@ "type": "Identifier", "name": "liElm", "range": [ - 13235, - 13240 + 14034, + 14039 ], "loc": { "start": { - "line": 468, + "line": 498, "column": 16 }, "end": { - "line": 468, + "line": 498, "column": 21 } } @@ -26149,31 +27922,31 @@ "type": "Identifier", "name": "check", "range": [ - 13241, - 13246 + 14040, + 14045 ], "loc": { "start": { - "line": 468, + "line": 498, "column": 22 }, "end": { - "line": 468, + "line": 498, "column": 27 } } }, "range": [ - 13235, - 13246 + 14034, + 14045 ], "loc": { "start": { - "line": 468, + "line": 498, "column": 16 }, "end": { - "line": 468, + "line": 498, "column": 27 } } @@ -26182,31 +27955,31 @@ "type": "Identifier", "name": "checked", "range": [ - 13247, - 13254 + 14046, + 14053 ], "loc": { "start": { - "line": 468, + "line": 498, "column": 28 }, "end": { - "line": 468, + "line": 498, "column": 35 } } }, "range": [ - 13235, - 13254 + 14034, + 14053 ], "loc": { "start": { - "line": 468, + "line": 498, "column": 16 }, "end": { - "line": 468, + "line": 498, "column": 35 } } @@ -26216,78 +27989,78 @@ "value": true, "raw": "true", "range": [ - 13257, - 13261 + 14056, + 14060 ], "loc": { "start": { - "line": 468, + "line": 498, "column": 38 }, "end": { - "line": 468, + "line": 498, "column": 42 } } }, "range": [ - 13235, - 13261 + 14034, + 14060 ], "loc": { "start": { - "line": 468, + "line": 498, "column": 16 }, "end": { - "line": 468, + "line": 498, "column": 42 } } }, "range": [ - 13235, - 13262 + 14034, + 14061 ], "loc": { "start": { - "line": 468, + "line": 498, "column": 16 }, "end": { - "line": 468, + "line": 498, "column": 43 } } } ], "range": [ - 13217, - 13276 + 14016, + 14075 ], "loc": { "start": { - "line": 467, + "line": 497, "column": 34 }, "end": { - "line": 469, + "line": 499, "column": 13 } } }, "alternate": null, "range": [ - 13195, - 13276 + 13994, + 14075 ], "loc": { "start": { - "line": 467, + "line": 497, "column": 12 }, "end": { - "line": 469, + "line": 499, "column": 13 } } @@ -26300,16 +28073,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 13290, - 13296 + 14089, + 14095 ], "loc": { "start": { - "line": 471, + "line": 501, "column": 12 }, "end": { - "line": 471, + "line": 501, "column": 18 } } @@ -26322,16 +28095,16 @@ "type": "Identifier", "name": "liElm", "range": [ - 13297, - 13302 + 14096, + 14101 ], "loc": { "start": { - "line": 471, + "line": 501, "column": 19 }, "end": { - "line": 471, + "line": 501, "column": 24 } } @@ -26340,31 +28113,31 @@ "type": "Identifier", "name": "check", "range": [ - 13303, - 13308 + 14102, + 14107 ], "loc": { "start": { - "line": 471, + "line": 501, "column": 25 }, "end": { - "line": 471, + "line": 501, "column": 30 } } }, "range": [ - 13297, - 13308 + 14096, + 14107 ], "loc": { "start": { - "line": 471, + "line": 501, "column": 19 }, "end": { - "line": 471, + "line": 501, "column": 30 } } @@ -26374,16 +28147,16 @@ "value": "click", "raw": "'click'", "range": [ - 13310, - 13317 + 14109, + 14116 ], "loc": { "start": { - "line": 471, + "line": 501, "column": 32 }, "end": { - "line": 471, + "line": 501, "column": 39 } } @@ -26396,16 +28169,16 @@ "type": "Identifier", "name": "evt", "range": [ - 13320, - 13323 + 14119, + 14122 ], "loc": { "start": { - "line": 471, + "line": 501, "column": 42 }, "end": { - "line": 471, + "line": 501, "column": 45 } } @@ -26423,16 +28196,16 @@ "type": "Identifier", "name": "elm", "range": [ - 13350, - 13353 + 14149, + 14152 ], "loc": { "start": { - "line": 472, + "line": 502, "column": 20 }, "end": { - "line": 472, + "line": 502, "column": 23 } } @@ -26443,16 +28216,16 @@ "type": "Identifier", "name": "targetEvt", "range": [ - 13356, - 13365 + 14155, + 14164 ], "loc": { "start": { - "line": 472, + "line": 502, "column": 26 }, "end": { - "line": 472, + "line": 502, "column": 35 } } @@ -26462,47 +28235,47 @@ "type": "Identifier", "name": "evt", "range": [ - 13366, - 13369 + 14165, + 14168 ], "loc": { "start": { - "line": 472, + "line": 502, "column": 36 }, "end": { - "line": 472, + "line": 502, "column": 39 } } } ], "range": [ - 13356, - 13370 + 14155, + 14169 ], "loc": { "start": { - "line": 472, + "line": 502, "column": 26 }, "end": { - "line": 472, + "line": 502, "column": 40 } } }, "range": [ - 13350, - 13370 + 14149, + 14169 ], "loc": { "start": { - "line": 472, + "line": 502, "column": 20 }, "end": { - "line": 472, + "line": 502, "column": 40 } } @@ -26510,16 +28283,16 @@ ], "kind": "let", "range": [ - 13346, - 13371 + 14145, + 14170 ], "loc": { "start": { - "line": 472, + "line": 502, "column": 16 }, "end": { - "line": 472, + "line": 502, "column": 41 } } @@ -26533,16 +28306,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 13392, - 13395 + 14191, + 14194 ], "loc": { "start": { - "line": 473, + "line": 503, "column": 20 }, "end": { - "line": 473, + "line": 503, "column": 23 } } @@ -26554,16 +28327,16 @@ "type": "Identifier", "name": "elm", "range": [ - 13398, - 13401 + 14197, + 14200 ], "loc": { "start": { - "line": 473, + "line": 503, "column": 26 }, "end": { - "line": 473, + "line": 503, "column": 29 } } @@ -26572,46 +28345,46 @@ "type": "Identifier", "name": "parentNode", "range": [ - 13402, - 13412 + 14201, + 14211 ], "loc": { "start": { - "line": 473, + "line": 503, "column": 30 }, "end": { - "line": 473, + "line": 503, "column": 40 } } }, "range": [ - 13398, - 13412 + 14197, + 14211 ], "loc": { "start": { - "line": 473, + "line": 503, "column": 26 }, "end": { - "line": 473, + "line": 503, "column": 40 } } }, "range": [ - 13392, - 13412 + 14191, + 14211 ], "loc": { "start": { - "line": 473, + "line": 503, "column": 20 }, "end": { - "line": 473, + "line": 503, "column": 40 } } @@ -26619,16 +28392,16 @@ ], "kind": "let", "range": [ - 13388, - 13413 + 14187, + 14212 ], "loc": { "start": { - "line": 473, + "line": 503, "column": 16 }, "end": { - "line": 473, + "line": 503, "column": 41 } } @@ -26643,16 +28416,16 @@ "object": { "type": "ThisExpression", "range": [ - 13430, - 13434 + 14229, + 14233 ], "loc": { "start": { - "line": 474, + "line": 504, "column": 16 }, "end": { - "line": 474, + "line": 504, "column": 20 } } @@ -26661,31 +28434,31 @@ "type": "Identifier", "name": "checkItem", "range": [ - 13435, - 13444 + 14234, + 14243 ], "loc": { "start": { - "line": 474, + "line": 504, "column": 21 }, "end": { - "line": 474, + "line": 504, "column": 30 } } }, "range": [ - 13430, - 13444 + 14229, + 14243 ], "loc": { "start": { - "line": 474, + "line": 504, "column": 16 }, "end": { - "line": 474, + "line": 504, "column": 30 } } @@ -26695,63 +28468,63 @@ "type": "Identifier", "name": "lbl", "range": [ - 13445, - 13448 + 14244, + 14247 ], "loc": { "start": { - "line": 474, + "line": 504, "column": 31 }, "end": { - "line": 474, + "line": 504, "column": 34 } } } ], "range": [ - 13430, - 13449 + 14229, + 14248 ], "loc": { "start": { - "line": 474, + "line": 504, "column": 16 }, "end": { - "line": 474, + "line": 504, "column": 35 } } }, "range": [ - 13430, - 13450 + 14229, + 14249 ], "loc": { "start": { - "line": 474, + "line": 504, "column": 16 }, "end": { - "line": 474, + "line": 504, "column": 36 } } } ], "range": [ - 13328, - 13464 + 14127, + 14263 ], "loc": { "start": { - "line": 471, + "line": 501, "column": 50 }, "end": { - "line": 475, + "line": 505, "column": 13 } } @@ -26759,78 +28532,78 @@ "generator": false, "expression": false, "range": [ - 13319, - 13464 + 14118, + 14263 ], "loc": { "start": { - "line": 471, + "line": 501, "column": 41 }, "end": { - "line": 475, + "line": 505, "column": 13 } } } ], "range": [ - 13290, - 13465 + 14089, + 14264 ], "loc": { "start": { - "line": 471, + "line": 501, "column": 12 }, "end": { - "line": 475, + "line": 505, "column": 14 } } }, "range": [ - 13290, - 13466 + 14089, + 14265 ], "loc": { "start": { - "line": 471, + "line": 501, "column": 12 }, "end": { - "line": 475, + "line": 505, "column": 15 } } } ], "range": [ - 12705, - 13476 + 13504, + 14275 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 57 }, "end": { - "line": 476, + "line": 506, "column": 9 } } }, "range": [ - 12656, - 13476 + 13455, + 14275 ], "loc": { "start": { - "line": 456, + "line": 486, "column": 8 }, "end": { - "line": 476, + "line": 506, "column": 9 } }, @@ -26839,16 +28612,16 @@ "type": "Line", "value": "separator", "range": [ - 13486, - 13497 + 14285, + 14296 ], "loc": { "start": { - "line": 478, + "line": 508, "column": 8 }, "end": { - "line": 478, + "line": 508, "column": 19 } } @@ -26864,16 +28637,16 @@ "type": "Identifier", "name": "p", "range": [ - 13510, - 13511 + 14309, + 14310 ], "loc": { "start": { - "line": 479, + "line": 509, "column": 12 }, "end": { - "line": 479, + "line": 509, "column": 13 } } @@ -26884,16 +28657,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 13514, - 13523 + 14313, + 14322 ], "loc": { "start": { - "line": 479, + "line": 509, "column": 16 }, "end": { - "line": 479, + "line": 509, "column": 25 } } @@ -26904,16 +28677,16 @@ "value": "p", "raw": "'p'", "range": [ - 13524, - 13527 + 14323, + 14326 ], "loc": { "start": { - "line": 479, + "line": 509, "column": 26 }, "end": { - "line": 479, + "line": 509, "column": 29 } } @@ -26926,16 +28699,16 @@ "value": "align", "raw": "'align'", "range": [ - 13530, - 13537 + 14329, + 14336 ], "loc": { "start": { - "line": 479, + "line": 509, "column": 32 }, "end": { - "line": 479, + "line": 509, "column": 39 } } @@ -26945,63 +28718,63 @@ "value": "center", "raw": "'center'", "range": [ - 13539, - 13547 + 14338, + 14346 ], "loc": { "start": { - "line": 479, + "line": 509, "column": 41 }, "end": { - "line": 479, + "line": 509, "column": 49 } } } ], "range": [ - 13529, - 13548 + 14328, + 14347 ], "loc": { "start": { - "line": 479, + "line": 509, "column": 31 }, "end": { - "line": 479, + "line": 509, "column": 50 } } } ], "range": [ - 13514, - 13549 + 14313, + 14348 ], "loc": { "start": { - "line": 479, + "line": 509, "column": 16 }, "end": { - "line": 479, + "line": 509, "column": 51 } } }, "range": [ - 13510, - 13549 + 14309, + 14348 ], "loc": { "start": { - "line": 479, + "line": 509, "column": 12 }, "end": { - "line": 479, + "line": 509, "column": 51 } } @@ -27009,16 +28782,16 @@ ], "kind": "let", "range": [ - 13506, - 13550 + 14305, + 14349 ], "loc": { "start": { - "line": 479, + "line": 509, "column": 8 }, "end": { - "line": 479, + "line": 509, "column": 52 } }, @@ -27027,16 +28800,16 @@ "type": "Line", "value": "separator", "range": [ - 13486, - 13497 + 14285, + 14296 ], "loc": { "start": { - "line": 478, + "line": 508, "column": 8 }, "end": { - "line": 478, + "line": 508, "column": 19 } } @@ -27052,32 +28825,32 @@ "type": "Identifier", "name": "btn", "range": [ - 13563, - 13566 + 14362, + 14365 ], "loc": { "start": { - "line": 480, + "line": 510, "column": 12 }, "end": { - "line": 480, + "line": 510, "column": 15 } } }, "init": null, "range": [ - 13563, - 13566 + 14362, + 14365 ], "loc": { "start": { - "line": 480, + "line": 510, "column": 12 }, "end": { - "line": 480, + "line": 510, "column": 15 } } @@ -27085,16 +28858,16 @@ ], "kind": "let", "range": [ - 13559, - 13567 + 14358, + 14366 ], "loc": { "start": { - "line": 480, + "line": 510, "column": 8 }, "end": { - "line": 480, + "line": 510, "column": 16 } }, @@ -27103,16 +28876,16 @@ "type": "Line", "value": "Close link", "range": [ - 13576, - 13588 + 14375, + 14387 ], "loc": { "start": { - "line": 481, + "line": 511, "column": 8 }, "end": { - "line": 481, + "line": 511, "column": 20 } } @@ -27130,16 +28903,16 @@ "object": { "type": "ThisExpression", "range": [ - 13602, - 13606 + 14401, + 14405 ], "loc": { "start": { - "line": 482, + "line": 512, "column": 13 }, "end": { - "line": 482, + "line": 512, "column": 17 } } @@ -27148,47 +28921,47 @@ "type": "Identifier", "name": "btnCloseHtml", "range": [ - 13607, - 13619 + 14406, + 14418 ], "loc": { "start": { - "line": 482, + "line": 512, "column": 18 }, "end": { - "line": 482, + "line": 512, "column": 30 } } }, "range": [ - 13602, - 13619 + 14401, + 14418 ], "loc": { "start": { - "line": 482, + "line": 512, "column": 13 }, "end": { - "line": 482, + "line": 512, "column": 30 } } }, "prefix": true, "range": [ - 13601, - 13619 + 14400, + 14418 ], "loc": { "start": { - "line": 482, + "line": 512, "column": 12 }, "end": { - "line": 482, + "line": 512, "column": 30 } } @@ -27205,16 +28978,16 @@ "type": "Identifier", "name": "btn", "range": [ - 13635, - 13638 + 14434, + 14437 ], "loc": { "start": { - "line": 483, + "line": 513, "column": 12 }, "end": { - "line": 483, + "line": 513, "column": 15 } } @@ -27225,16 +28998,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 13641, - 13650 + 14440, + 14449 ], "loc": { "start": { - "line": 483, + "line": 513, "column": 18 }, "end": { - "line": 483, + "line": 513, "column": 27 } } @@ -27245,16 +29018,16 @@ "value": "a", "raw": "'a'", "range": [ - 13651, - 13654 + 14450, + 14453 ], "loc": { "start": { - "line": 483, + "line": 513, "column": 28 }, "end": { - "line": 483, + "line": 513, "column": 31 } } @@ -27267,16 +29040,16 @@ "value": "href", "raw": "'href'", "range": [ - 13657, - 13663 + 14456, + 14462 ], "loc": { "start": { - "line": 483, + "line": 513, "column": 34 }, "end": { - "line": 483, + "line": 513, "column": 40 } } @@ -27286,78 +29059,78 @@ "value": "javascript:;", "raw": "'javascript:;'", "range": [ - 13665, - 13679 + 14464, + 14478 ], "loc": { "start": { - "line": 483, + "line": 513, "column": 42 }, "end": { - "line": 483, + "line": 513, "column": 56 } } } ], "range": [ - 13656, - 13680 + 14455, + 14479 ], "loc": { "start": { - "line": 483, + "line": 513, "column": 33 }, "end": { - "line": 483, + "line": 513, "column": 57 } } } ], "range": [ - 13641, - 13681 + 14440, + 14480 ], "loc": { "start": { - "line": 483, + "line": 513, "column": 18 }, "end": { - "line": 483, + "line": 513, "column": 58 } } }, "range": [ - 13635, - 13681 + 14434, + 14480 ], "loc": { "start": { - "line": 483, + "line": 513, "column": 12 }, "end": { - "line": 483, + "line": 513, "column": 58 } } }, "range": [ - 13635, - 13682 + 14434, + 14481 ], "loc": { "start": { - "line": 483, + "line": 513, "column": 12 }, "end": { - "line": 483, + "line": 513, "column": 59 } } @@ -27374,16 +29147,16 @@ "type": "Identifier", "name": "btn", "range": [ - 13695, - 13698 + 14494, + 14497 ], "loc": { "start": { - "line": 484, + "line": 514, "column": 12 }, "end": { - "line": 484, + "line": 514, "column": 15 } } @@ -27392,31 +29165,31 @@ "type": "Identifier", "name": "className", "range": [ - 13699, - 13708 + 14498, + 14507 ], "loc": { "start": { - "line": 484, + "line": 514, "column": 16 }, "end": { - "line": 484, + "line": 514, "column": 25 } } }, "range": [ - 13695, - 13708 + 14494, + 14507 ], "loc": { "start": { - "line": 484, + "line": 514, "column": 12 }, "end": { - "line": 484, + "line": 514, "column": 25 } } @@ -27427,16 +29200,16 @@ "object": { "type": "ThisExpression", "range": [ - 13711, - 13715 + 14510, + 14514 ], "loc": { "start": { - "line": 484, + "line": 514, "column": 28 }, "end": { - "line": 484, + "line": 514, "column": 32 } } @@ -27445,61 +29218,61 @@ "type": "Identifier", "name": "btnCloseCssClass", "range": [ - 13716, - 13732 + 14515, + 14531 ], "loc": { "start": { - "line": 484, + "line": 514, "column": 33 }, "end": { - "line": 484, + "line": 514, "column": 49 } } }, "range": [ - 13711, - 13732 + 14510, + 14531 ], "loc": { "start": { - "line": 484, + "line": 514, "column": 28 }, "end": { - "line": 484, + "line": 514, "column": 49 } } }, "range": [ - 13695, - 13732 + 14494, + 14531 ], "loc": { "start": { - "line": 484, + "line": 514, "column": 12 }, "end": { - "line": 484, + "line": 514, "column": 49 } } }, "range": [ - 13695, - 13733 + 14494, + 14532 ], "loc": { "start": { - "line": 484, + "line": 514, "column": 12 }, "end": { - "line": 484, + "line": 514, "column": 50 } } @@ -27516,16 +29289,16 @@ "type": "Identifier", "name": "btn", "range": [ - 13746, - 13749 + 14545, + 14548 ], "loc": { "start": { - "line": 485, + "line": 515, "column": 12 }, "end": { - "line": 485, + "line": 515, "column": 15 } } @@ -27534,31 +29307,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 13750, - 13759 + 14549, + 14558 ], "loc": { "start": { - "line": 485, + "line": 515, "column": 16 }, "end": { - "line": 485, + "line": 515, "column": 25 } } }, "range": [ - 13746, - 13759 + 14545, + 14558 ], "loc": { "start": { - "line": 485, + "line": 515, "column": 12 }, "end": { - "line": 485, + "line": 515, "column": 25 } } @@ -27569,16 +29342,16 @@ "object": { "type": "ThisExpression", "range": [ - 13762, - 13766 + 14561, + 14565 ], "loc": { "start": { - "line": 485, + "line": 515, "column": 28 }, "end": { - "line": 485, + "line": 515, "column": 32 } } @@ -27587,61 +29360,61 @@ "type": "Identifier", "name": "btnCloseText", "range": [ - 13767, - 13779 + 14566, + 14578 ], "loc": { "start": { - "line": 485, + "line": 515, "column": 33 }, "end": { - "line": 485, + "line": 515, "column": 45 } } }, "range": [ - 13762, - 13779 + 14561, + 14578 ], "loc": { "start": { - "line": 485, + "line": 515, "column": 28 }, "end": { - "line": 485, + "line": 515, "column": 45 } } }, "range": [ - 13746, - 13779 + 14545, + 14578 ], "loc": { "start": { - "line": 485, + "line": 515, "column": 12 }, "end": { - "line": 485, + "line": 515, "column": 45 } } }, "range": [ - 13746, - 13780 + 14545, + 14579 ], "loc": { "start": { - "line": 485, + "line": 515, "column": 12 }, "end": { - "line": 485, + "line": 515, "column": 46 } } @@ -27654,16 +29427,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 13793, - 13799 + 14592, + 14598 ], "loc": { "start": { - "line": 486, + "line": 516, "column": 12 }, "end": { - "line": 486, + "line": 516, "column": 18 } } @@ -27673,16 +29446,16 @@ "type": "Identifier", "name": "btn", "range": [ - 13800, - 13803 + 14599, + 14602 ], "loc": { "start": { - "line": 486, + "line": 516, "column": 19 }, "end": { - "line": 486, + "line": 516, "column": 22 } } @@ -27692,16 +29465,16 @@ "value": "click", "raw": "'click'", "range": [ - 13805, - 13812 + 14604, + 14611 ], "loc": { "start": { - "line": 486, + "line": 516, "column": 24 }, "end": { - "line": 486, + "line": 516, "column": 31 } } @@ -27714,16 +29487,16 @@ "type": "Identifier", "name": "evt", "range": [ - 13815, - 13818 + 14614, + 14617 ], "loc": { "start": { - "line": 486, + "line": 516, "column": 34 }, "end": { - "line": 486, + "line": 516, "column": 37 } } @@ -27737,16 +29510,16 @@ "object": { "type": "ThisExpression", "range": [ - 13823, - 13827 + 14622, + 14626 ], "loc": { "start": { - "line": 486, + "line": 516, "column": 42 }, "end": { - "line": 486, + "line": 516, "column": 46 } } @@ -27755,31 +29528,31 @@ "type": "Identifier", "name": "toggle", "range": [ - 13828, - 13834 + 14627, + 14633 ], "loc": { "start": { - "line": 486, + "line": 516, "column": 47 }, "end": { - "line": 486, + "line": 516, "column": 53 } } }, "range": [ - 13823, - 13834 + 14622, + 14633 ], "loc": { "start": { - "line": 486, + "line": 516, "column": 42 }, "end": { - "line": 486, + "line": 516, "column": 53 } } @@ -27789,32 +29562,32 @@ "type": "Identifier", "name": "evt", "range": [ - 13835, - 13838 + 14634, + 14637 ], "loc": { "start": { - "line": 486, + "line": 516, "column": 54 }, "end": { - "line": 486, + "line": 516, "column": 57 } } } ], "range": [ - 13823, - 13839 + 14622, + 14638 ], "loc": { "start": { - "line": 486, + "line": 516, "column": 42 }, "end": { - "line": 486, + "line": 516, "column": 58 } } @@ -27822,47 +29595,47 @@ "generator": false, "expression": true, "range": [ - 13814, - 13839 + 14613, + 14638 ], "loc": { "start": { - "line": 486, + "line": 516, "column": 33 }, "end": { - "line": 486, + "line": 516, "column": 58 } } } ], "range": [ - 13793, - 13840 + 14592, + 14639 ], "loc": { "start": { - "line": 486, + "line": 516, "column": 12 }, "end": { - "line": 486, + "line": 516, "column": 59 } } }, "range": [ - 13793, - 13841 + 14592, + 14640 ], "loc": { "start": { - "line": 486, + "line": 516, "column": 12 }, "end": { - "line": 486, + "line": 516, "column": 60 } } @@ -27878,16 +29651,16 @@ "type": "Identifier", "name": "p", "range": [ - 13854, - 13855 + 14653, + 14654 ], "loc": { "start": { - "line": 487, + "line": 517, "column": 12 }, "end": { - "line": 487, + "line": 517, "column": 13 } } @@ -27896,31 +29669,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 13856, - 13867 + 14655, + 14666 ], "loc": { "start": { - "line": 487, + "line": 517, "column": 14 }, "end": { - "line": 487, + "line": 517, "column": 25 } } }, "range": [ - 13854, - 13867 + 14653, + 14666 ], "loc": { "start": { - "line": 487, + "line": 517, "column": 12 }, "end": { - "line": 487, + "line": 517, "column": 25 } } @@ -27930,63 +29703,63 @@ "type": "Identifier", "name": "btn", "range": [ - 13868, - 13871 + 14667, + 14670 ], "loc": { "start": { - "line": 487, + "line": 517, "column": 26 }, "end": { - "line": 487, + "line": 517, "column": 29 } } } ], "range": [ - 13854, - 13872 + 14653, + 14671 ], "loc": { "start": { - "line": 487, + "line": 517, "column": 12 }, "end": { - "line": 487, + "line": 517, "column": 30 } } }, "range": [ - 13854, - 13873 + 14653, + 14672 ], "loc": { "start": { - "line": 487, + "line": 517, "column": 12 }, "end": { - "line": 487, + "line": 517, "column": 31 } } } ], "range": [ - 13621, - 13883 + 14420, + 14682 ], "loc": { "start": { - "line": 482, + "line": 512, "column": 32 }, "end": { - "line": 488, + "line": 518, "column": 9 } } @@ -28006,16 +29779,16 @@ "type": "Identifier", "name": "p", "range": [ - 13903, - 13904 + 14702, + 14703 ], "loc": { "start": { - "line": 489, + "line": 519, "column": 12 }, "end": { - "line": 489, + "line": 519, "column": 13 } } @@ -28024,31 +29797,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 13905, - 13914 + 14704, + 14713 ], "loc": { "start": { - "line": 489, + "line": 519, "column": 14 }, "end": { - "line": 489, + "line": 519, "column": 23 } } }, "range": [ - 13903, - 13914 + 14702, + 14713 ], "loc": { "start": { - "line": 489, + "line": 519, "column": 12 }, "end": { - "line": 489, + "line": 519, "column": 23 } } @@ -28059,16 +29832,16 @@ "object": { "type": "ThisExpression", "range": [ - 13917, - 13921 + 14716, + 14720 ], "loc": { "start": { - "line": 489, + "line": 519, "column": 26 }, "end": { - "line": 489, + "line": 519, "column": 30 } } @@ -28077,61 +29850,61 @@ "type": "Identifier", "name": "btnCloseHtml", "range": [ - 13922, - 13934 + 14721, + 14733 ], "loc": { "start": { - "line": 489, + "line": 519, "column": 31 }, "end": { - "line": 489, + "line": 519, "column": 43 } } }, "range": [ - 13917, - 13934 + 14716, + 14733 ], "loc": { "start": { - "line": 489, + "line": 519, "column": 26 }, "end": { - "line": 489, + "line": 519, "column": 43 } } }, "range": [ - 13903, - 13934 + 14702, + 14733 ], "loc": { "start": { - "line": 489, + "line": 519, "column": 12 }, "end": { - "line": 489, + "line": 519, "column": 43 } } }, "range": [ - 13903, - 13935 + 14702, + 14734 ], "loc": { "start": { - "line": 489, + "line": 519, "column": 12 }, "end": { - "line": 489, + "line": 519, "column": 44 } } @@ -28145,16 +29918,16 @@ "type": "Identifier", "name": "btn", "range": [ - 13948, - 13951 + 14747, + 14750 ], "loc": { "start": { - "line": 490, + "line": 520, "column": 12 }, "end": { - "line": 490, + "line": 520, "column": 15 } } @@ -28166,16 +29939,16 @@ "type": "Identifier", "name": "p", "range": [ - 13954, - 13955 + 14753, + 14754 ], "loc": { "start": { - "line": 490, + "line": 520, "column": 18 }, "end": { - "line": 490, + "line": 520, "column": 19 } } @@ -28184,61 +29957,61 @@ "type": "Identifier", "name": "firstChild", "range": [ - 13956, - 13966 + 14755, + 14765 ], "loc": { "start": { - "line": 490, + "line": 520, "column": 20 }, "end": { - "line": 490, + "line": 520, "column": 30 } } }, "range": [ - 13954, - 13966 + 14753, + 14765 ], "loc": { "start": { - "line": 490, + "line": 520, "column": 18 }, "end": { - "line": 490, + "line": 520, "column": 30 } } }, "range": [ - 13948, - 13966 + 14747, + 14765 ], "loc": { "start": { - "line": 490, + "line": 520, "column": 12 }, "end": { - "line": 490, + "line": 520, "column": 30 } } }, "range": [ - 13948, - 13967 + 14747, + 14766 ], "loc": { "start": { - "line": 490, + "line": 520, "column": 12 }, "end": { - "line": 490, + "line": 520, "column": 31 } } @@ -28251,16 +30024,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 13980, - 13986 + 14779, + 14785 ], "loc": { "start": { - "line": 491, + "line": 521, "column": 12 }, "end": { - "line": 491, + "line": 521, "column": 18 } } @@ -28270,16 +30043,16 @@ "type": "Identifier", "name": "btn", "range": [ - 13987, - 13990 + 14786, + 14789 ], "loc": { "start": { - "line": 491, + "line": 521, "column": 19 }, "end": { - "line": 491, + "line": 521, "column": 22 } } @@ -28289,16 +30062,16 @@ "value": "click", "raw": "'click'", "range": [ - 13992, - 13999 + 14791, + 14798 ], "loc": { "start": { - "line": 491, + "line": 521, "column": 24 }, "end": { - "line": 491, + "line": 521, "column": 31 } } @@ -28311,16 +30084,16 @@ "type": "Identifier", "name": "evt", "range": [ - 14002, - 14005 + 14801, + 14804 ], "loc": { "start": { - "line": 491, + "line": 521, "column": 34 }, "end": { - "line": 491, + "line": 521, "column": 37 } } @@ -28334,16 +30107,16 @@ "object": { "type": "ThisExpression", "range": [ - 14010, - 14014 + 14809, + 14813 ], "loc": { "start": { - "line": 491, + "line": 521, "column": 42 }, "end": { - "line": 491, + "line": 521, "column": 46 } } @@ -28352,31 +30125,31 @@ "type": "Identifier", "name": "toggle", "range": [ - 14015, - 14021 + 14814, + 14820 ], "loc": { "start": { - "line": 491, + "line": 521, "column": 47 }, "end": { - "line": 491, + "line": 521, "column": 53 } } }, "range": [ - 14010, - 14021 + 14809, + 14820 ], "loc": { "start": { - "line": 491, + "line": 521, "column": 42 }, "end": { - "line": 491, + "line": 521, "column": 53 } } @@ -28386,32 +30159,32 @@ "type": "Identifier", "name": "evt", "range": [ - 14022, - 14025 + 14821, + 14824 ], "loc": { "start": { - "line": 491, + "line": 521, "column": 54 }, "end": { - "line": 491, + "line": 521, "column": 57 } } } ], "range": [ - 14010, - 14026 + 14809, + 14825 ], "loc": { "start": { - "line": 491, + "line": 521, "column": 42 }, "end": { - "line": 491, + "line": 521, "column": 58 } } @@ -28419,78 +30192,78 @@ "generator": false, "expression": true, "range": [ - 14001, - 14026 + 14800, + 14825 ], "loc": { "start": { - "line": 491, + "line": 521, "column": 33 }, "end": { - "line": 491, + "line": 521, "column": 58 } } } ], "range": [ - 13980, - 14027 + 14779, + 14826 ], "loc": { "start": { - "line": 491, + "line": 521, "column": 12 }, "end": { - "line": 491, + "line": 521, "column": 59 } } }, "range": [ - 13980, - 14028 + 14779, + 14827 ], "loc": { "start": { - "line": 491, + "line": 521, "column": 12 }, "end": { - "line": 491, + "line": 521, "column": 60 } } } ], "range": [ - 13889, - 14038 + 14688, + 14837 ], "loc": { "start": { - "line": 488, + "line": 518, "column": 15 }, "end": { - "line": 492, + "line": 522, "column": 9 } } }, "range": [ - 13597, - 14038 + 14396, + 14837 ], "loc": { "start": { - "line": 482, + "line": 512, "column": 8 }, "end": { - "line": 492, + "line": 522, "column": 9 } }, @@ -28499,16 +30272,16 @@ "type": "Line", "value": "Close link", "range": [ - 13576, - 13588 + 14375, + 14387 ], "loc": { "start": { - "line": 481, + "line": 511, "column": 8 }, "end": { - "line": 481, + "line": 511, "column": 20 } } @@ -28526,16 +30299,16 @@ "type": "Identifier", "name": "container", "range": [ - 14048, - 14057 + 14847, + 14856 ], "loc": { "start": { - "line": 494, + "line": 524, "column": 8 }, "end": { - "line": 494, + "line": 524, "column": 17 } } @@ -28544,31 +30317,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 14058, - 14069 + 14857, + 14868 ], "loc": { "start": { - "line": 494, + "line": 524, "column": 18 }, "end": { - "line": 494, + "line": 524, "column": 29 } } }, "range": [ - 14048, - 14069 + 14847, + 14868 ], "loc": { "start": { - "line": 494, + "line": 524, "column": 8 }, "end": { - "line": 494, + "line": 524, "column": 29 } } @@ -28578,47 +30351,47 @@ "type": "Identifier", "name": "ul", "range": [ - 14070, - 14072 + 14869, + 14871 ], "loc": { "start": { - "line": 494, + "line": 524, "column": 30 }, "end": { - "line": 494, + "line": 524, "column": 32 } } } ], "range": [ - 14048, - 14073 + 14847, + 14872 ], "loc": { "start": { - "line": 494, + "line": 524, "column": 8 }, "end": { - "line": 494, + "line": 524, "column": 33 } } }, "range": [ - 14048, - 14074 + 14847, + 14873 ], "loc": { "start": { - "line": 494, + "line": 524, "column": 8 }, "end": { - "line": 494, + "line": 524, "column": 34 } } @@ -28634,16 +30407,16 @@ "type": "Identifier", "name": "container", "range": [ - 14083, - 14092 + 14882, + 14891 ], "loc": { "start": { - "line": 495, + "line": 525, "column": 8 }, "end": { - "line": 495, + "line": 525, "column": 17 } } @@ -28652,31 +30425,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 14093, - 14104 + 14892, + 14903 ], "loc": { "start": { - "line": 495, + "line": 525, "column": 18 }, "end": { - "line": 495, + "line": 525, "column": 29 } } }, "range": [ - 14083, - 14104 + 14882, + 14903 ], "loc": { "start": { - "line": 495, + "line": 525, "column": 8 }, "end": { - "line": 495, + "line": 525, "column": 29 } } @@ -28686,47 +30459,47 @@ "type": "Identifier", "name": "p", "range": [ - 14105, - 14106 + 14904, + 14905 ], "loc": { "start": { - "line": 495, + "line": 525, "column": 30 }, "end": { - "line": 495, + "line": 525, "column": 31 } } } ], "range": [ - 14083, - 14107 + 14882, + 14906 ], "loc": { "start": { - "line": 495, + "line": 525, "column": 8 }, "end": { - "line": 495, + "line": 525, "column": 32 } } }, "range": [ - 14083, - 14108 + 14882, + 14907 ], "loc": { "start": { - "line": 495, + "line": 525, "column": 8 }, "end": { - "line": 495, + "line": 525, "column": 33 } } @@ -28747,16 +30520,16 @@ "object": { "type": "ThisExpression", "range": [ - 14118, - 14122 + 14917, + 14921 ], "loc": { "start": { - "line": 497, + "line": 527, "column": 8 }, "end": { - "line": 497, + "line": 527, "column": 12 } } @@ -28765,31 +30538,31 @@ "type": "Identifier", "name": "btnEl", "range": [ - 14123, - 14128 + 14922, + 14927 ], "loc": { "start": { - "line": 497, + "line": 527, "column": 13 }, "end": { - "line": 497, + "line": 527, "column": 18 } } }, "range": [ - 14118, - 14128 + 14917, + 14927 ], "loc": { "start": { - "line": 497, + "line": 527, "column": 8 }, "end": { - "line": 497, + "line": 527, "column": 18 } } @@ -28798,31 +30571,31 @@ "type": "Identifier", "name": "parentNode", "range": [ - 14129, - 14139 + 14928, + 14938 ], "loc": { "start": { - "line": 497, + "line": 527, "column": 19 }, "end": { - "line": 497, + "line": 527, "column": 29 } } }, "range": [ - 14118, - 14139 + 14917, + 14938 ], "loc": { "start": { - "line": 497, + "line": 527, "column": 8 }, "end": { - "line": 497, + "line": 527, "column": 29 } } @@ -28831,31 +30604,31 @@ "type": "Identifier", "name": "insertBefore", "range": [ - 14140, - 14152 + 14939, + 14951 ], "loc": { "start": { - "line": 497, + "line": 527, "column": 30 }, "end": { - "line": 497, + "line": 527, "column": 42 } } }, "range": [ - 14118, - 14152 + 14917, + 14951 ], "loc": { "start": { - "line": 497, + "line": 527, "column": 8 }, "end": { - "line": 497, + "line": 527, "column": 42 } } @@ -28865,16 +30638,16 @@ "type": "Identifier", "name": "container", "range": [ - 14153, - 14162 + 14952, + 14961 ], "loc": { "start": { - "line": 497, + "line": 527, "column": 43 }, "end": { - "line": 497, + "line": 527, "column": 52 } } @@ -28885,16 +30658,16 @@ "object": { "type": "ThisExpression", "range": [ - 14164, - 14168 + 14963, + 14967 ], "loc": { "start": { - "line": 497, + "line": 527, "column": 54 }, "end": { - "line": 497, + "line": 527, "column": 58 } } @@ -28903,62 +30676,62 @@ "type": "Identifier", "name": "btnEl", "range": [ - 14169, - 14174 + 14968, + 14973 ], "loc": { "start": { - "line": 497, + "line": 527, "column": 59 }, "end": { - "line": 497, + "line": 527, "column": 64 } } }, "range": [ - 14164, - 14174 + 14963, + 14973 ], "loc": { "start": { - "line": 497, + "line": 527, "column": 54 }, "end": { - "line": 497, + "line": 527, "column": 64 } } } ], "range": [ - 14118, - 14175 + 14917, + 14974 ], "loc": { "start": { - "line": 497, + "line": 527, "column": 8 }, "end": { - "line": 497, + "line": 527, "column": 65 } } }, "range": [ - 14118, - 14176 + 14917, + 14975 ], "loc": { "start": { - "line": 497, + "line": 527, "column": 8 }, "end": { - "line": 497, + "line": 527, "column": 66 } } @@ -28974,16 +30747,16 @@ "object": { "type": "ThisExpression", "range": [ - 14185, - 14189 + 14984, + 14988 ], "loc": { "start": { - "line": 498, + "line": 528, "column": 8 }, "end": { - "line": 498, + "line": 528, "column": 12 } } @@ -28992,31 +30765,31 @@ "type": "Identifier", "name": "contEl", "range": [ - 14190, - 14196 + 14989, + 14995 ], "loc": { "start": { - "line": 498, + "line": 528, "column": 13 }, "end": { - "line": 498, + "line": 528, "column": 19 } } }, "range": [ - 14185, - 14196 + 14984, + 14995 ], "loc": { "start": { - "line": 498, + "line": 528, "column": 8 }, "end": { - "line": 498, + "line": 528, "column": 19 } } @@ -29025,62 +30798,62 @@ "type": "Identifier", "name": "container", "range": [ - 14199, - 14208 + 14998, + 15007 ], "loc": { "start": { - "line": 498, + "line": 528, "column": 22 }, "end": { - "line": 498, + "line": 528, "column": 31 } } }, "range": [ - 14185, - 14208 + 14984, + 15007 ], "loc": { "start": { - "line": 498, + "line": 528, "column": 8 }, "end": { - "line": 498, + "line": 528, "column": 31 } } }, "range": [ - 14185, - 14209 + 14984, + 15008 ], "loc": { "start": { - "line": 498, + "line": 528, "column": 8 }, "end": { - "line": 498, + "line": 528, "column": 32 } } } ], "range": [ - 11284, - 14215 + 12083, + 15014 ], "loc": { "start": { - "line": 415, + "line": 445, "column": 19 }, "end": { - "line": 499, + "line": 529, "column": 5 } } @@ -29088,16 +30861,16 @@ "generator": false, "expression": false, "range": [ - 11281, - 14215 + 12080, + 15014 ], "loc": { "start": { - "line": 415, + "line": 445, "column": 16 }, "end": { - "line": 499, + "line": 529, "column": 5 } } @@ -29105,16 +30878,16 @@ "kind": "method", "computed": false, "range": [ - 11269, - 14215 + 12068, + 15014 ], "loc": { "start": { - "line": 415, + "line": 445, "column": 4 }, "end": { - "line": 499, + "line": 529, "column": 5 } }, @@ -29123,16 +30896,16 @@ "type": "Block", "value": "*\n * Build columns manager UI\n ", "range": [ - 11221, - 11264 + 12020, + 12063 ], "loc": { "start": { - "line": 412, + "line": 442, "column": 4 }, "end": { - "line": 414, + "line": 444, "column": 7 } } @@ -29143,16 +30916,16 @@ "type": "Block", "value": "*\n * Hide or show specified columns\n * @param {Number} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n ", "range": [ - 14221, - 14384 + 15020, + 15183 ], "loc": { "start": { - "line": 501, + "line": 531, "column": 4 }, "end": { - "line": 505, + "line": 535, "column": 7 } } @@ -29166,16 +30939,16 @@ "type": "Identifier", "name": "setHidden", "range": [ - 14389, - 14398 + 15188, + 15197 ], "loc": { "start": { - "line": 506, + "line": 536, "column": 4 }, "end": { - "line": 506, + "line": 536, "column": 13 } } @@ -29188,16 +30961,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14399, - 14407 + 15198, + 15206 ], "loc": { "start": { - "line": 506, + "line": 536, "column": 14 }, "end": { - "line": 506, + "line": 536, "column": 22 } } @@ -29206,16 +30979,16 @@ "type": "Identifier", "name": "hide", "range": [ - 14409, - 14413 + 15208, + 15212 ], "loc": { "start": { - "line": 506, + "line": 536, "column": 24 }, "end": { - "line": 506, + "line": 536, "column": 28 } } @@ -29233,16 +31006,16 @@ "type": "Identifier", "name": "tf", "range": [ - 14429, - 14431 + 15228, + 15230 ], "loc": { "start": { - "line": 507, + "line": 537, "column": 12 }, "end": { - "line": 507, + "line": 537, "column": 14 } } @@ -29253,16 +31026,16 @@ "object": { "type": "ThisExpression", "range": [ - 14434, - 14438 + 15233, + 15237 ], "loc": { "start": { - "line": 507, + "line": 537, "column": 17 }, "end": { - "line": 507, + "line": 537, "column": 21 } } @@ -29271,46 +31044,46 @@ "type": "Identifier", "name": "tf", "range": [ - 14439, - 14441 + 15238, + 15240 ], "loc": { "start": { - "line": 507, + "line": 537, "column": 22 }, "end": { - "line": 507, + "line": 537, "column": 24 } } }, "range": [ - 14434, - 14441 + 15233, + 15240 ], "loc": { "start": { - "line": 507, + "line": 537, "column": 17 }, "end": { - "line": 507, + "line": 537, "column": 24 } } }, "range": [ - 14429, - 14441 + 15228, + 15240 ], "loc": { "start": { - "line": 507, + "line": 537, "column": 12 }, "end": { - "line": 507, + "line": 537, "column": 24 } } @@ -29318,16 +31091,16 @@ ], "kind": "let", "range": [ - 14425, - 14442 + 15224, + 15241 ], "loc": { "start": { - "line": 507, + "line": 537, "column": 8 }, "end": { - "line": 507, + "line": 537, "column": 25 } } @@ -29341,16 +31114,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 14455, - 14458 + 15254, + 15257 ], "loc": { "start": { - "line": 508, + "line": 538, "column": 12 }, "end": { - "line": 508, + "line": 538, "column": 15 } } @@ -29362,16 +31135,16 @@ "type": "Identifier", "name": "tf", "range": [ - 14461, - 14463 + 15260, + 15262 ], "loc": { "start": { - "line": 508, + "line": 538, "column": 18 }, "end": { - "line": 508, + "line": 538, "column": 20 } } @@ -29380,46 +31153,46 @@ "type": "Identifier", "name": "tbl", "range": [ - 14464, - 14467 + 15263, + 15266 ], "loc": { "start": { - "line": 508, + "line": 538, "column": 21 }, "end": { - "line": 508, + "line": 538, "column": 24 } } }, "range": [ - 14461, - 14467 + 15260, + 15266 ], "loc": { "start": { - "line": 508, + "line": 538, "column": 18 }, "end": { - "line": 508, + "line": 538, "column": 24 } } }, "range": [ - 14455, - 14467 + 15254, + 15266 ], "loc": { "start": { - "line": 508, + "line": 538, "column": 12 }, "end": { - "line": 508, + "line": 538, "column": 24 } } @@ -29427,16 +31200,16 @@ ], "kind": "let", "range": [ - 14451, - 14468 + 15250, + 15267 ], "loc": { "start": { - "line": 508, + "line": 538, "column": 8 }, "end": { - "line": 508, + "line": 538, "column": 25 } } @@ -29447,16 +31220,16 @@ "type": "Identifier", "name": "hide", "range": [ - 14482, - 14486 + 15281, + 15285 ], "loc": { "start": { - "line": 510, + "line": 540, "column": 12 }, "end": { - "line": 510, + "line": 540, "column": 16 } } @@ -29474,16 +31247,16 @@ "object": { "type": "ThisExpression", "range": [ - 14502, - 14506 + 15301, + 15305 ], "loc": { "start": { - "line": 511, + "line": 541, "column": 12 }, "end": { - "line": 511, + "line": 541, "column": 16 } } @@ -29492,31 +31265,31 @@ "type": "Identifier", "name": "onBeforeColHidden", "range": [ - 14507, - 14524 + 15306, + 15323 ], "loc": { "start": { - "line": 511, + "line": 541, "column": 17 }, "end": { - "line": 511, + "line": 541, "column": 34 } } }, "range": [ - 14502, - 14524 + 15301, + 15323 ], "loc": { "start": { - "line": 511, + "line": 541, "column": 12 }, "end": { - "line": 511, + "line": 541, "column": 34 } } @@ -29525,16 +31298,16 @@ { "type": "ThisExpression", "range": [ - 14525, - 14529 + 15324, + 15328 ], "loc": { "start": { - "line": 511, + "line": 541, "column": 35 }, "end": { - "line": 511, + "line": 541, "column": 39 } } @@ -29543,79 +31316,79 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14531, - 14539 + 15330, + 15338 ], "loc": { "start": { - "line": 511, + "line": 541, "column": 41 }, "end": { - "line": 511, + "line": 541, "column": 49 } } } ], "range": [ - 14502, - 14540 + 15301, + 15339 ], "loc": { "start": { - "line": 511, + "line": 541, "column": 12 }, "end": { - "line": 511, + "line": 541, "column": 50 } } }, "range": [ - 14502, - 14541 + 15301, + 15340 ], "loc": { "start": { - "line": 511, + "line": 541, "column": 12 }, "end": { - "line": 511, + "line": 541, "column": 51 } } } ], "range": [ - 14488, - 14551 + 15287, + 15350 ], "loc": { "start": { - "line": 510, + "line": 540, "column": 18 }, "end": { - "line": 512, + "line": 542, "column": 9 } } }, "alternate": null, "range": [ - 14478, - 14551 + 15277, + 15350 ], "loc": { "start": { - "line": 510, + "line": 540, "column": 8 }, "end": { - "line": 512, + "line": 542, "column": 9 } } @@ -29629,32 +31402,32 @@ "type": "Identifier", "name": "hide", "range": [ - 14565, - 14569 + 15364, + 15368 ], "loc": { "start": { - "line": 513, + "line": 543, "column": 13 }, "end": { - "line": 513, + "line": 543, "column": 17 } } }, "prefix": true, "range": [ - 14564, - 14569 + 15363, + 15368 ], "loc": { "start": { - "line": 513, + "line": 543, "column": 12 }, "end": { - "line": 513, + "line": 543, "column": 17 } } @@ -29672,16 +31445,16 @@ "object": { "type": "ThisExpression", "range": [ - 14585, - 14589 + 15384, + 15388 ], "loc": { "start": { - "line": 514, + "line": 544, "column": 12 }, "end": { - "line": 514, + "line": 544, "column": 16 } } @@ -29690,31 +31463,31 @@ "type": "Identifier", "name": "onBeforeColDisplayed", "range": [ - 14590, - 14610 + 15389, + 15409 ], "loc": { "start": { - "line": 514, + "line": 544, "column": 17 }, "end": { - "line": 514, + "line": 544, "column": 37 } } }, "range": [ - 14585, - 14610 + 15384, + 15409 ], "loc": { "start": { - "line": 514, + "line": 544, "column": 12 }, "end": { - "line": 514, + "line": 544, "column": 37 } } @@ -29723,16 +31496,16 @@ { "type": "ThisExpression", "range": [ - 14611, - 14615 + 15410, + 15414 ], "loc": { "start": { - "line": 514, + "line": 544, "column": 38 }, "end": { - "line": 514, + "line": 544, "column": 42 } } @@ -29741,79 +31514,79 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14617, - 14625 + 15416, + 15424 ], "loc": { "start": { - "line": 514, + "line": 544, "column": 44 }, "end": { - "line": 514, + "line": 544, "column": 52 } } } ], "range": [ - 14585, - 14626 + 15384, + 15425 ], "loc": { "start": { - "line": 514, + "line": 544, "column": 12 }, "end": { - "line": 514, + "line": 544, "column": 53 } } }, "range": [ - 14585, - 14627 + 15384, + 15426 ], "loc": { "start": { - "line": 514, + "line": 544, "column": 12 }, "end": { - "line": 514, + "line": 544, "column": 54 } } } ], "range": [ - 14571, - 14637 + 15370, + 15436 ], "loc": { "start": { - "line": 513, + "line": 543, "column": 19 }, "end": { - "line": 515, + "line": 545, "column": 9 } } }, "alternate": null, "range": [ - 14560, - 14637 + 15359, + 15436 ], "loc": { "start": { - "line": 513, + "line": 543, "column": 8 }, "end": { - "line": 515, + "line": 545, "column": 9 } } @@ -29828,16 +31601,16 @@ "object": { "type": "ThisExpression", "range": [ - 14647, - 14651 + 15446, + 15450 ], "loc": { "start": { - "line": 517, + "line": 547, "column": 8 }, "end": { - "line": 517, + "line": 547, "column": 12 } } @@ -29846,31 +31619,31 @@ "type": "Identifier", "name": "_hideCells", "range": [ - 14652, - 14662 + 15451, + 15461 ], "loc": { "start": { - "line": 517, + "line": 547, "column": 13 }, "end": { - "line": 517, + "line": 547, "column": 23 } } }, "range": [ - 14647, - 14662 + 15446, + 15461 ], "loc": { "start": { - "line": 517, + "line": 547, "column": 8 }, "end": { - "line": 517, + "line": 547, "column": 23 } } @@ -29880,16 +31653,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 14663, - 14666 + 15462, + 15465 ], "loc": { "start": { - "line": 517, + "line": 547, "column": 24 }, "end": { - "line": 517, + "line": 547, "column": 27 } } @@ -29898,16 +31671,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14668, - 14676 + 15467, + 15475 ], "loc": { "start": { - "line": 517, + "line": 547, "column": 29 }, "end": { - "line": 517, + "line": 547, "column": 37 } } @@ -29916,47 +31689,47 @@ "type": "Identifier", "name": "hide", "range": [ - 14678, - 14682 + 15477, + 15481 ], "loc": { "start": { - "line": 517, + "line": 547, "column": 39 }, "end": { - "line": 517, + "line": 547, "column": 43 } } } ], "range": [ - 14647, - 14683 + 15446, + 15482 ], "loc": { "start": { - "line": 517, + "line": 547, "column": 8 }, "end": { - "line": 517, + "line": 547, "column": 44 } } }, "range": [ - 14647, - 14684 + 15446, + 15483 ], "loc": { "start": { - "line": 517, + "line": 547, "column": 8 }, "end": { - "line": 517, + "line": 547, "column": 45 } } @@ -29969,16 +31742,16 @@ "object": { "type": "ThisExpression", "range": [ - 14697, - 14701 + 15496, + 15500 ], "loc": { "start": { - "line": 518, + "line": 548, "column": 12 }, "end": { - "line": 518, + "line": 548, "column": 16 } } @@ -29987,31 +31760,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 14702, - 14712 + 15501, + 15511 ], "loc": { "start": { - "line": 518, + "line": 548, "column": 17 }, "end": { - "line": 518, + "line": 548, "column": 27 } } }, "range": [ - 14697, - 14712 + 15496, + 15511 ], "loc": { "start": { - "line": 518, + "line": 548, "column": 12 }, "end": { - "line": 518, + "line": 548, "column": 27 } } @@ -30029,16 +31802,16 @@ "object": { "type": "ThisExpression", "range": [ - 14728, - 14732 + 15527, + 15531 ], "loc": { "start": { - "line": 519, + "line": 549, "column": 12 }, "end": { - "line": 519, + "line": 549, "column": 16 } } @@ -30047,31 +31820,31 @@ "type": "Identifier", "name": "_hideCells", "range": [ - 14733, - 14743 + 15532, + 15542 ], "loc": { "start": { - "line": 519, + "line": 549, "column": 17 }, "end": { - "line": 519, + "line": 549, "column": 27 } } }, "range": [ - 14728, - 14743 + 15527, + 15542 ], "loc": { "start": { - "line": 519, + "line": 549, "column": 12 }, "end": { - "line": 519, + "line": 549, "column": 27 } } @@ -30083,16 +31856,16 @@ "object": { "type": "ThisExpression", "range": [ - 14744, - 14748 + 15543, + 15547 ], "loc": { "start": { - "line": 519, + "line": 549, "column": 28 }, "end": { - "line": 519, + "line": 549, "column": 32 } } @@ -30101,31 +31874,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 14749, - 14759 + 15548, + 15558 ], "loc": { "start": { - "line": 519, + "line": 549, "column": 33 }, "end": { - "line": 519, + "line": 549, "column": 43 } } }, "range": [ - 14744, - 14759 + 15543, + 15558 ], "loc": { "start": { - "line": 519, + "line": 549, "column": 28 }, "end": { - "line": 519, + "line": 549, "column": 43 } } @@ -30134,16 +31907,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14761, - 14769 + 15560, + 15568 ], "loc": { "start": { - "line": 519, + "line": 549, "column": 45 }, "end": { - "line": 519, + "line": 549, "column": 53 } } @@ -30152,79 +31925,79 @@ "type": "Identifier", "name": "hide", "range": [ - 14771, - 14775 + 15570, + 15574 ], "loc": { "start": { - "line": 519, + "line": 549, "column": 55 }, "end": { - "line": 519, + "line": 549, "column": 59 } } } ], "range": [ - 14728, - 14776 + 15527, + 15575 ], "loc": { "start": { - "line": 519, + "line": 549, "column": 12 }, "end": { - "line": 519, + "line": 549, "column": 60 } } }, "range": [ - 14728, - 14777 + 15527, + 15576 ], "loc": { "start": { - "line": 519, + "line": 549, "column": 12 }, "end": { - "line": 519, + "line": 549, "column": 61 } } } ], "range": [ - 14714, - 14787 + 15513, + 15586 ], "loc": { "start": { - "line": 518, + "line": 548, "column": 29 }, "end": { - "line": 520, + "line": 550, "column": 9 } } }, "alternate": null, "range": [ - 14693, - 14787 + 15492, + 15586 ], "loc": { "start": { - "line": 518, + "line": 548, "column": 8 }, "end": { - "line": 520, + "line": 550, "column": 9 } } @@ -30238,16 +32011,16 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 14801, - 14811 + 15600, + 15610 ], "loc": { "start": { - "line": 522, + "line": 552, "column": 12 }, "end": { - "line": 522, + "line": 552, "column": 22 } } @@ -30258,16 +32031,16 @@ "object": { "type": "ThisExpression", "range": [ - 14814, - 14818 + 15613, + 15617 ], "loc": { "start": { - "line": 522, + "line": 552, "column": 25 }, "end": { - "line": 522, + "line": 552, "column": 29 } } @@ -30276,46 +32049,46 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 14819, - 14829 + 15618, + 15628 ], "loc": { "start": { - "line": 522, + "line": 552, "column": 30 }, "end": { - "line": 522, + "line": 552, "column": 40 } } }, "range": [ - 14814, - 14829 + 15613, + 15628 ], "loc": { "start": { - "line": 522, + "line": 552, "column": 25 }, "end": { - "line": 522, + "line": 552, "column": 40 } } }, "range": [ - 14801, - 14829 + 15600, + 15628 ], "loc": { "start": { - "line": 522, + "line": 552, "column": 12 }, "end": { - "line": 522, + "line": 552, "column": 40 } } @@ -30323,16 +32096,16 @@ ], "kind": "let", "range": [ - 14797, - 14830 + 15596, + 15629 ], "loc": { "start": { - "line": 522, + "line": 552, "column": 8 }, "end": { - "line": 522, + "line": 552, "column": 41 } } @@ -30346,16 +32119,16 @@ "type": "Identifier", "name": "itemIndex", "range": [ - 14843, - 14852 + 15642, + 15651 ], "loc": { "start": { - "line": 523, + "line": 553, "column": 12 }, "end": { - "line": 523, + "line": 553, "column": 21 } } @@ -30369,16 +32142,16 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 14855, - 14865 + 15654, + 15664 ], "loc": { "start": { - "line": 523, + "line": 553, "column": 24 }, "end": { - "line": 523, + "line": 553, "column": 34 } } @@ -30387,31 +32160,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 14866, - 14873 + 15665, + 15672 ], "loc": { "start": { - "line": 523, + "line": 553, "column": 35 }, "end": { - "line": 523, + "line": 553, "column": 42 } } }, "range": [ - 14855, - 14873 + 15654, + 15672 ], "loc": { "start": { - "line": 523, + "line": 553, "column": 24 }, "end": { - "line": 523, + "line": 553, "column": 42 } } @@ -30421,47 +32194,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14874, - 14882 + 15673, + 15681 ], "loc": { "start": { - "line": 523, + "line": 553, "column": 43 }, "end": { - "line": 523, + "line": 553, "column": 51 } } } ], "range": [ - 14855, - 14883 + 15654, + 15682 ], "loc": { "start": { - "line": 523, + "line": 553, "column": 24 }, "end": { - "line": 523, + "line": 553, "column": 52 } } }, "range": [ - 14843, - 14883 + 15642, + 15682 ], "loc": { "start": { - "line": 523, + "line": 553, "column": 12 }, "end": { - "line": 523, + "line": 553, "column": 52 } } @@ -30469,16 +32242,16 @@ ], "kind": "let", "range": [ - 14839, - 14884 + 15638, + 15683 ], "loc": { "start": { - "line": 523, + "line": 553, "column": 8 }, "end": { - "line": 523, + "line": 553, "column": 53 } } @@ -30489,16 +32262,16 @@ "type": "Identifier", "name": "hide", "range": [ - 14897, - 14901 + 15696, + 15700 ], "loc": { "start": { - "line": 524, + "line": 554, "column": 12 }, "end": { - "line": 524, + "line": 554, "column": 16 } } @@ -30515,16 +32288,16 @@ "type": "Identifier", "name": "itemIndex", "range": [ - 14921, - 14930 + 15720, + 15729 ], "loc": { "start": { - "line": 525, + "line": 555, "column": 16 }, "end": { - "line": 525, + "line": 555, "column": 25 } } @@ -30537,47 +32310,47 @@ "value": 1, "raw": "1", "range": [ - 14936, - 14937 + 15735, + 15736 ], "loc": { "start": { - "line": 525, + "line": 555, "column": 31 }, "end": { - "line": 525, + "line": 555, "column": 32 } } }, "prefix": true, "range": [ - 14935, - 14937 + 15734, + 15736 ], "loc": { "start": { - "line": 525, + "line": 555, "column": 30 }, "end": { - "line": 525, + "line": 555, "column": 32 } } }, "range": [ - 14921, - 14937 + 15720, + 15736 ], "loc": { "start": { - "line": 525, + "line": 555, "column": 16 }, "end": { - "line": 525, + "line": 555, "column": 32 } } @@ -30598,16 +32371,16 @@ "object": { "type": "ThisExpression", "range": [ - 14957, - 14961 + 15756, + 15760 ], "loc": { "start": { - "line": 526, + "line": 556, "column": 16 }, "end": { - "line": 526, + "line": 556, "column": 20 } } @@ -30616,31 +32389,31 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 14962, - 14972 + 15761, + 15771 ], "loc": { "start": { - "line": 526, + "line": 556, "column": 21 }, "end": { - "line": 526, + "line": 556, "column": 31 } } }, "range": [ - 14957, - 14972 + 15756, + 15771 ], "loc": { "start": { - "line": 526, + "line": 556, "column": 16 }, "end": { - "line": 526, + "line": 556, "column": 31 } } @@ -30649,31 +32422,31 @@ "type": "Identifier", "name": "push", "range": [ - 14973, - 14977 + 15772, + 15776 ], "loc": { "start": { - "line": 526, + "line": 556, "column": 32 }, "end": { - "line": 526, + "line": 556, "column": 36 } } }, "range": [ - 14957, - 14977 + 15756, + 15776 ], "loc": { "start": { - "line": 526, + "line": 556, "column": 16 }, "end": { - "line": 526, + "line": 556, "column": 36 } } @@ -30683,95 +32456,95 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14978, - 14986 + 15777, + 15785 ], "loc": { "start": { - "line": 526, + "line": 556, "column": 37 }, "end": { - "line": 526, + "line": 556, "column": 45 } } } ], "range": [ - 14957, - 14987 + 15756, + 15786 ], "loc": { "start": { - "line": 526, + "line": 556, "column": 16 }, "end": { - "line": 526, + "line": 556, "column": 46 } } }, "range": [ - 14957, - 14988 + 15756, + 15787 ], "loc": { "start": { - "line": 526, + "line": 556, "column": 16 }, "end": { - "line": 526, + "line": 556, "column": 47 } } } ], "range": [ - 14939, - 15002 + 15738, + 15801 ], "loc": { "start": { - "line": 525, + "line": 555, "column": 34 }, "end": { - "line": 527, + "line": 557, "column": 13 } } }, "alternate": null, "range": [ - 14917, - 15002 + 15716, + 15801 ], "loc": { "start": { - "line": 525, + "line": 555, "column": 12 }, "end": { - "line": 527, + "line": 557, "column": 13 } } } ], "range": [ - 14903, - 15012 + 15702, + 15811 ], "loc": { "start": { - "line": 524, + "line": 554, "column": 18 }, "end": { - "line": 528, + "line": 558, "column": 9 } } @@ -30788,16 +32561,16 @@ "type": "Identifier", "name": "itemIndex", "range": [ - 15036, - 15045 + 15835, + 15844 ], "loc": { "start": { - "line": 529, + "line": 559, "column": 16 }, "end": { - "line": 529, + "line": 559, "column": 25 } } @@ -30810,47 +32583,47 @@ "value": 1, "raw": "1", "range": [ - 15051, - 15052 + 15850, + 15851 ], "loc": { "start": { - "line": 529, + "line": 559, "column": 31 }, "end": { - "line": 529, + "line": 559, "column": 32 } } }, "prefix": true, "range": [ - 15050, - 15052 + 15849, + 15851 ], "loc": { "start": { - "line": 529, + "line": 559, "column": 30 }, "end": { - "line": 529, + "line": 559, "column": 32 } } }, "range": [ - 15036, - 15052 + 15835, + 15851 ], "loc": { "start": { - "line": 529, + "line": 559, "column": 16 }, "end": { - "line": 529, + "line": 559, "column": 32 } } @@ -30871,16 +32644,16 @@ "object": { "type": "ThisExpression", "range": [ - 15072, - 15076 + 15871, + 15875 ], "loc": { "start": { - "line": 530, + "line": 560, "column": 16 }, "end": { - "line": 530, + "line": 560, "column": 20 } } @@ -30889,31 +32662,31 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 15077, - 15087 + 15876, + 15886 ], "loc": { "start": { - "line": 530, + "line": 560, "column": 21 }, "end": { - "line": 530, + "line": 560, "column": 31 } } }, "range": [ - 15072, - 15087 + 15871, + 15886 ], "loc": { "start": { - "line": 530, + "line": 560, "column": 16 }, "end": { - "line": 530, + "line": 560, "column": 31 } } @@ -30922,31 +32695,31 @@ "type": "Identifier", "name": "splice", "range": [ - 15088, - 15094 + 15887, + 15893 ], "loc": { "start": { - "line": 530, + "line": 560, "column": 32 }, "end": { - "line": 530, + "line": 560, "column": 38 } } }, "range": [ - 15072, - 15094 + 15871, + 15893 ], "loc": { "start": { - "line": 530, + "line": 560, "column": 16 }, "end": { - "line": 530, + "line": 560, "column": 38 } } @@ -30956,16 +32729,16 @@ "type": "Identifier", "name": "itemIndex", "range": [ - 15095, - 15104 + 15894, + 15903 ], "loc": { "start": { - "line": 530, + "line": 560, "column": 39 }, "end": { - "line": 530, + "line": 560, "column": 48 } } @@ -30975,110 +32748,110 @@ "value": 1, "raw": "1", "range": [ - 15106, - 15107 + 15905, + 15906 ], "loc": { "start": { - "line": 530, + "line": 560, "column": 50 }, "end": { - "line": 530, + "line": 560, "column": 51 } } } ], "range": [ - 15072, - 15108 + 15871, + 15907 ], "loc": { "start": { - "line": 530, + "line": 560, "column": 16 }, "end": { - "line": 530, + "line": 560, "column": 52 } } }, "range": [ - 15072, - 15109 + 15871, + 15908 ], "loc": { "start": { - "line": 530, + "line": 560, "column": 16 }, "end": { - "line": 530, + "line": 560, "column": 53 } } } ], "range": [ - 15054, - 15123 + 15853, + 15922 ], "loc": { "start": { - "line": 529, + "line": 559, "column": 34 }, "end": { - "line": 531, + "line": 561, "column": 13 } } }, "alternate": null, "range": [ - 15032, - 15123 + 15831, + 15922 ], "loc": { "start": { - "line": 529, + "line": 559, "column": 12 }, "end": { - "line": 531, + "line": 561, "column": 13 } } } ], "range": [ - 15018, - 15133 + 15817, + 15932 ], "loc": { "start": { - "line": 528, + "line": 558, "column": 15 }, "end": { - "line": 532, + "line": 562, "column": 9 } } }, "range": [ - 14893, - 15133 + 15692, + 15932 ], "loc": { "start": { - "line": 524, + "line": 554, "column": 8 }, "end": { - "line": 532, + "line": 562, "column": 9 } } @@ -31092,32 +32865,32 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 15147, - 15157 + 15946, + 15956 ], "loc": { "start": { - "line": 534, + "line": 564, "column": 12 }, "end": { - "line": 534, + "line": 564, "column": 22 } } }, "init": null, "range": [ - 15147, - 15157 + 15946, + 15956 ], "loc": { "start": { - "line": 534, + "line": 564, "column": 12 }, "end": { - "line": 534, + "line": 564, "column": 22 } } @@ -31125,16 +32898,16 @@ ], "kind": "let", "range": [ - 15143, - 15158 + 15942, + 15957 ], "loc": { "start": { - "line": 534, + "line": 564, "column": 8 }, "end": { - "line": 534, + "line": 564, "column": 23 } } @@ -31148,32 +32921,32 @@ "type": "Identifier", "name": "headTbl", "range": [ - 15171, - 15178 + 15970, + 15977 ], "loc": { "start": { - "line": 535, + "line": 565, "column": 12 }, "end": { - "line": 535, + "line": 565, "column": 19 } } }, "init": null, "range": [ - 15171, - 15178 + 15970, + 15977 ], "loc": { "start": { - "line": 535, + "line": 565, "column": 12 }, "end": { - "line": 535, + "line": 565, "column": 19 } } @@ -31181,16 +32954,16 @@ ], "kind": "let", "range": [ - 15167, - 15179 + 15966, + 15978 ], "loc": { "start": { - "line": 535, + "line": 565, "column": 8 }, "end": { - "line": 535, + "line": 565, "column": 20 } } @@ -31204,32 +32977,32 @@ "type": "Identifier", "name": "gridColElms", "range": [ - 15192, - 15203 + 15991, + 16002 ], "loc": { "start": { - "line": 536, + "line": 566, "column": 12 }, "end": { - "line": 536, + "line": 566, "column": 23 } } }, "init": null, "range": [ - 15192, - 15203 + 15991, + 16002 ], "loc": { "start": { - "line": 536, + "line": 566, "column": 12 }, "end": { - "line": 536, + "line": 566, "column": 23 } } @@ -31237,16 +33010,16 @@ ], "kind": "let", "range": [ - 15188, - 15204 + 15987, + 16003 ], "loc": { "start": { - "line": 536, + "line": 566, "column": 8 }, "end": { - "line": 536, + "line": 566, "column": 24 } } @@ -31257,16 +33030,16 @@ "type": "Identifier", "name": "hide", "range": [ - 15217, - 15221 + 16016, + 16020 ], "loc": { "start": { - "line": 537, + "line": 567, "column": 12 }, "end": { - "line": 537, + "line": 567, "column": 16 } } @@ -31283,16 +33056,16 @@ "type": "Identifier", "name": "tf", "range": [ - 15444, - 15446 + 16243, + 16245 ], "loc": { "start": { - "line": 542, + "line": 572, "column": 16 }, "end": { - "line": 542, + "line": 572, "column": 18 } } @@ -31301,31 +33074,31 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 15447, - 15457 + 16246, + 16256 ], "loc": { "start": { - "line": 542, + "line": 572, "column": 19 }, "end": { - "line": 542, + "line": 572, "column": 29 } } }, "range": [ - 15444, - 15457 + 16243, + 16256 ], "loc": { "start": { - "line": 542, + "line": 572, "column": 16 }, "end": { - "line": 542, + "line": 572, "column": 29 } } @@ -31342,16 +33115,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 15477, - 15487 + 16276, + 16286 ], "loc": { "start": { - "line": 543, + "line": 573, "column": 16 }, "end": { - "line": 543, + "line": 573, "column": 26 } } @@ -31365,16 +33138,16 @@ "type": "Identifier", "name": "tf", "range": [ - 15490, - 15492 + 16289, + 16291 ], "loc": { "start": { - "line": 543, + "line": 573, "column": 29 }, "end": { - "line": 543, + "line": 573, "column": 31 } } @@ -31383,31 +33156,31 @@ "type": "Identifier", "name": "feature", "range": [ - 15493, - 15500 + 16292, + 16299 ], "loc": { "start": { - "line": 543, + "line": 573, "column": 32 }, "end": { - "line": 543, + "line": 573, "column": 39 } } }, "range": [ - 15490, - 15500 + 16289, + 16299 ], "loc": { "start": { - "line": 543, + "line": 573, "column": 29 }, "end": { - "line": 543, + "line": 573, "column": 39 } } @@ -31418,62 +33191,62 @@ "value": "gridLayout", "raw": "'gridLayout'", "range": [ - 15501, - 15513 + 16300, + 16312 ], "loc": { "start": { - "line": 543, + "line": 573, "column": 40 }, "end": { - "line": 543, + "line": 573, "column": 52 } } } ], "range": [ - 15490, - 15514 + 16289, + 16313 ], "loc": { "start": { - "line": 543, + "line": 573, "column": 29 }, "end": { - "line": 543, + "line": 573, "column": 53 } } }, "range": [ - 15477, - 15514 + 16276, + 16313 ], "loc": { "start": { - "line": 543, + "line": 573, "column": 16 }, "end": { - "line": 543, + "line": 573, "column": 53 } } }, "range": [ - 15477, - 15515 + 16276, + 16314 ], "loc": { "start": { - "line": 543, + "line": 573, "column": 16 }, "end": { - "line": 543, + "line": 573, "column": 54 } } @@ -31487,16 +33260,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 15532, - 15539 + 16331, + 16338 ], "loc": { "start": { - "line": 544, + "line": 574, "column": 16 }, "end": { - "line": 544, + "line": 574, "column": 23 } } @@ -31508,16 +33281,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 15542, - 15552 + 16341, + 16351 ], "loc": { "start": { - "line": 544, + "line": 574, "column": 26 }, "end": { - "line": 544, + "line": 574, "column": 36 } } @@ -31526,61 +33299,61 @@ "type": "Identifier", "name": "headTbl", "range": [ - 15553, - 15560 + 16352, + 16359 ], "loc": { "start": { - "line": 544, + "line": 574, "column": 37 }, "end": { - "line": 544, + "line": 574, "column": 44 } } }, "range": [ - 15542, - 15560 + 16341, + 16359 ], "loc": { "start": { - "line": 544, + "line": 574, "column": 26 }, "end": { - "line": 544, + "line": 574, "column": 44 } } }, "range": [ - 15532, - 15560 + 16331, + 16359 ], "loc": { "start": { - "line": 544, + "line": 574, "column": 16 }, "end": { - "line": 544, + "line": 574, "column": 44 } } }, "range": [ - 15532, - 15561 + 16331, + 16360 ], "loc": { "start": { - "line": 544, + "line": 574, "column": 16 }, "end": { - "line": 544, + "line": 574, "column": 45 } } @@ -31594,16 +33367,16 @@ "type": "Identifier", "name": "gridColElms", "range": [ - 15578, - 15589 + 16377, + 16388 ], "loc": { "start": { - "line": 545, + "line": 575, "column": 16 }, "end": { - "line": 545, + "line": 575, "column": 27 } } @@ -31615,16 +33388,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 15592, - 15602 + 16391, + 16401 ], "loc": { "start": { - "line": 545, + "line": 575, "column": 30 }, "end": { - "line": 545, + "line": 575, "column": 40 } } @@ -31633,61 +33406,61 @@ "type": "Identifier", "name": "colElms", "range": [ - 15603, - 15610 + 16402, + 16409 ], "loc": { "start": { - "line": 545, + "line": 575, "column": 41 }, "end": { - "line": 545, + "line": 575, "column": 48 } } }, "range": [ - 15592, - 15610 + 16391, + 16409 ], "loc": { "start": { - "line": 545, + "line": 575, "column": 30 }, "end": { - "line": 545, + "line": 575, "column": 48 } } }, "range": [ - 15578, - 15610 + 16377, + 16409 ], "loc": { "start": { - "line": 545, + "line": 575, "column": 16 }, "end": { - "line": 545, + "line": 575, "column": 48 } } }, "range": [ - 15578, - 15611 + 16377, + 16410 ], "loc": { "start": { - "line": 545, + "line": 575, "column": 16 }, "end": { - "line": 545, + "line": 575, "column": 49 } } @@ -31701,16 +33474,16 @@ "type": "Identifier", "name": "hiddenWidth", "range": [ - 15632, - 15643 + 16431, + 16442 ], "loc": { "start": { - "line": 546, + "line": 576, "column": 20 }, "end": { - "line": 546, + "line": 576, "column": 31 } } @@ -31721,16 +33494,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 15646, - 15654 + 16445, + 16453 ], "loc": { "start": { - "line": 546, + "line": 576, "column": 34 }, "end": { - "line": 546, + "line": 576, "column": 42 } } @@ -31749,16 +33522,16 @@ "type": "Identifier", "name": "gridColElms", "range": [ - 15676, - 15687 + 16475, + 16486 ], "loc": { "start": { - "line": 547, + "line": 577, "column": 20 }, "end": { - "line": 547, + "line": 577, "column": 31 } } @@ -31767,31 +33540,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 15688, - 15696 + 16487, + 16495 ], "loc": { "start": { - "line": 547, + "line": 577, "column": 32 }, "end": { - "line": 547, + "line": 577, "column": 40 } } }, "range": [ - 15676, - 15697 + 16475, + 16496 ], "loc": { "start": { - "line": 547, + "line": 577, "column": 20 }, "end": { - "line": 547, + "line": 577, "column": 41 } } @@ -31800,31 +33573,31 @@ "type": "Identifier", "name": "style", "range": [ - 15698, - 15703 + 16497, + 16502 ], "loc": { "start": { - "line": 547, + "line": 577, "column": 42 }, "end": { - "line": 547, + "line": 577, "column": 47 } } }, "range": [ - 15676, - 15703 + 16475, + 16502 ], "loc": { "start": { - "line": 547, + "line": 577, "column": 20 }, "end": { - "line": 547, + "line": 577, "column": 47 } } @@ -31833,31 +33606,31 @@ "type": "Identifier", "name": "width", "range": [ - 15704, - 15709 + 16503, + 16508 ], "loc": { "start": { - "line": 547, + "line": 577, "column": 48 }, "end": { - "line": 547, + "line": 577, "column": 53 } } }, "range": [ - 15676, - 15709 + 16475, + 16508 ], "loc": { "start": { - "line": 547, + "line": 577, "column": 20 }, "end": { - "line": 547, + "line": 577, "column": 53 } } @@ -31867,47 +33640,47 @@ "value": 10, "raw": "10", "range": [ - 15711, - 15713 + 16510, + 16512 ], "loc": { "start": { - "line": 547, + "line": 577, "column": 55 }, "end": { - "line": 547, + "line": 577, "column": 57 } } } ], "range": [ - 15646, - 15714 + 16445, + 16513 ], "loc": { "start": { - "line": 546, + "line": 576, "column": 34 }, "end": { - "line": 547, + "line": 577, "column": 58 } } }, "range": [ - 15632, - 15714 + 16431, + 16513 ], "loc": { "start": { - "line": 546, + "line": 576, "column": 20 }, "end": { - "line": 547, + "line": 577, "column": 58 } } @@ -31915,16 +33688,16 @@ ], "kind": "let", "range": [ - 15628, - 15715 + 16427, + 16514 ], "loc": { "start": { - "line": 546, + "line": 576, "column": 16 }, "end": { - "line": 547, + "line": 577, "column": 59 } } @@ -31938,16 +33711,16 @@ "type": "Identifier", "name": "headTblW", "range": [ - 15737, - 15745 + 16536, + 16544 ], "loc": { "start": { - "line": 549, + "line": 579, "column": 20 }, "end": { - "line": 549, + "line": 579, "column": 28 } } @@ -31958,16 +33731,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 15748, - 15756 + 16547, + 16555 ], "loc": { "start": { - "line": 549, + "line": 579, "column": 31 }, "end": { - "line": 549, + "line": 579, "column": 39 } } @@ -31983,16 +33756,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 15757, - 15764 + 16556, + 16563 ], "loc": { "start": { - "line": 549, + "line": 579, "column": 40 }, "end": { - "line": 549, + "line": 579, "column": 47 } } @@ -32001,31 +33774,31 @@ "type": "Identifier", "name": "style", "range": [ - 15765, - 15770 + 16564, + 16569 ], "loc": { "start": { - "line": 549, + "line": 579, "column": 48 }, "end": { - "line": 549, + "line": 579, "column": 53 } } }, "range": [ - 15757, - 15770 + 16556, + 16569 ], "loc": { "start": { - "line": 549, + "line": 579, "column": 40 }, "end": { - "line": 549, + "line": 579, "column": 53 } } @@ -32034,31 +33807,31 @@ "type": "Identifier", "name": "width", "range": [ - 15771, - 15776 + 16570, + 16575 ], "loc": { "start": { - "line": 549, + "line": 579, "column": 54 }, "end": { - "line": 549, + "line": 579, "column": 59 } } }, "range": [ - 15757, - 15776 + 16556, + 16575 ], "loc": { "start": { - "line": 549, + "line": 579, "column": 40 }, "end": { - "line": 549, + "line": 579, "column": 59 } } @@ -32068,47 +33841,47 @@ "value": 10, "raw": "10", "range": [ - 15778, - 15780 + 16577, + 16579 ], "loc": { "start": { - "line": 549, + "line": 579, "column": 61 }, "end": { - "line": 549, + "line": 579, "column": 63 } } } ], "range": [ - 15748, - 15781 + 16547, + 16580 ], "loc": { "start": { - "line": 549, + "line": 579, "column": 31 }, "end": { - "line": 549, + "line": 579, "column": 64 } } }, "range": [ - 15737, - 15781 + 16536, + 16580 ], "loc": { "start": { - "line": 549, + "line": 579, "column": 20 }, "end": { - "line": 549, + "line": 579, "column": 64 } } @@ -32116,16 +33889,16 @@ ], "kind": "let", "range": [ - 15733, - 15782 + 16532, + 16581 ], "loc": { "start": { - "line": 549, + "line": 579, "column": 16 }, "end": { - "line": 549, + "line": 579, "column": 65 } } @@ -32145,16 +33918,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 15799, - 15806 + 16598, + 16605 ], "loc": { "start": { - "line": 550, + "line": 580, "column": 16 }, "end": { - "line": 550, + "line": 580, "column": 23 } } @@ -32163,31 +33936,31 @@ "type": "Identifier", "name": "style", "range": [ - 15807, - 15812 + 16606, + 16611 ], "loc": { "start": { - "line": 550, + "line": 580, "column": 24 }, "end": { - "line": 550, + "line": 580, "column": 29 } } }, "range": [ - 15799, - 15812 + 16598, + 16611 ], "loc": { "start": { - "line": 550, + "line": 580, "column": 16 }, "end": { - "line": 550, + "line": 580, "column": 29 } } @@ -32196,31 +33969,31 @@ "type": "Identifier", "name": "width", "range": [ - 15813, - 15818 + 16612, + 16617 ], "loc": { "start": { - "line": 550, + "line": 580, "column": 30 }, "end": { - "line": 550, + "line": 580, "column": 35 } } }, "range": [ - 15799, - 15818 + 16598, + 16617 ], "loc": { "start": { - "line": 550, + "line": 580, "column": 16 }, "end": { - "line": 550, + "line": 580, "column": 35 } } @@ -32235,16 +34008,16 @@ "type": "Identifier", "name": "headTblW", "range": [ - 15821, - 15829 + 16620, + 16628 ], "loc": { "start": { - "line": 550, + "line": 580, "column": 38 }, "end": { - "line": 550, + "line": 580, "column": 46 } } @@ -32253,31 +34026,31 @@ "type": "Identifier", "name": "hiddenWidth", "range": [ - 15832, - 15843 + 16631, + 16642 ], "loc": { "start": { - "line": 550, + "line": 580, "column": 49 }, "end": { - "line": 550, + "line": 580, "column": 60 } } }, "range": [ - 15821, - 15843 + 16620, + 16642 ], "loc": { "start": { - "line": 550, + "line": 580, "column": 38 }, "end": { - "line": 550, + "line": 580, "column": 60 } } @@ -32287,61 +34060,61 @@ "value": "px", "raw": "'px'", "range": [ - 15846, - 15850 + 16645, + 16649 ], "loc": { "start": { - "line": 550, + "line": 580, "column": 63 }, "end": { - "line": 550, + "line": 580, "column": 67 } } }, "range": [ - 15821, - 15850 + 16620, + 16649 ], "loc": { "start": { - "line": 550, + "line": 580, "column": 38 }, "end": { - "line": 550, + "line": 580, "column": 67 } } }, "range": [ - 15799, - 15850 + 16598, + 16649 ], "loc": { "start": { - "line": 550, + "line": 580, "column": 16 }, "end": { - "line": 550, + "line": 580, "column": 67 } } }, "range": [ - 15799, - 15851 + 16598, + 16650 ], "loc": { "start": { - "line": 550, + "line": 580, "column": 16 }, "end": { - "line": 550, + "line": 580, "column": 68 } } @@ -32361,16 +34134,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 15868, - 15871 + 16667, + 16670 ], "loc": { "start": { - "line": 551, + "line": 581, "column": 16 }, "end": { - "line": 551, + "line": 581, "column": 19 } } @@ -32379,31 +34152,31 @@ "type": "Identifier", "name": "style", "range": [ - 15872, - 15877 + 16671, + 16676 ], "loc": { "start": { - "line": 551, + "line": 581, "column": 20 }, "end": { - "line": 551, + "line": 581, "column": 25 } } }, "range": [ - 15868, - 15877 + 16667, + 16676 ], "loc": { "start": { - "line": 551, + "line": 581, "column": 16 }, "end": { - "line": 551, + "line": 581, "column": 25 } } @@ -32412,31 +34185,31 @@ "type": "Identifier", "name": "width", "range": [ - 15878, - 15883 + 16677, + 16682 ], "loc": { "start": { - "line": 551, + "line": 581, "column": 26 }, "end": { - "line": 551, + "line": 581, "column": 31 } } }, "range": [ - 15868, - 15883 + 16667, + 16682 ], "loc": { "start": { - "line": 551, + "line": 581, "column": 16 }, "end": { - "line": 551, + "line": 581, "column": 31 } } @@ -32451,16 +34224,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 15886, - 15893 + 16685, + 16692 ], "loc": { "start": { - "line": 551, + "line": 581, "column": 34 }, "end": { - "line": 551, + "line": 581, "column": 41 } } @@ -32469,31 +34242,31 @@ "type": "Identifier", "name": "style", "range": [ - 15894, - 15899 + 16693, + 16698 ], "loc": { "start": { - "line": 551, + "line": 581, "column": 42 }, "end": { - "line": 551, + "line": 581, "column": 47 } } }, "range": [ - 15886, - 15899 + 16685, + 16698 ], "loc": { "start": { - "line": 551, + "line": 581, "column": 34 }, "end": { - "line": 551, + "line": 581, "column": 47 } } @@ -32502,93 +34275,93 @@ "type": "Identifier", "name": "width", "range": [ - 15900, - 15905 + 16699, + 16704 ], "loc": { "start": { - "line": 551, + "line": 581, "column": 48 }, "end": { - "line": 551, + "line": 581, "column": 53 } } }, "range": [ - 15886, - 15905 + 16685, + 16704 ], "loc": { "start": { - "line": 551, + "line": 581, "column": 34 }, "end": { - "line": 551, + "line": 581, "column": 53 } } }, "range": [ - 15868, - 15905 + 16667, + 16704 ], "loc": { "start": { - "line": 551, + "line": 581, "column": 16 }, "end": { - "line": 551, + "line": 581, "column": 53 } } }, "range": [ - 15868, - 15906 + 16667, + 16705 ], "loc": { "start": { - "line": 551, + "line": 581, "column": 16 }, "end": { - "line": 551, + "line": 581, "column": 54 } } } ], "range": [ - 15459, - 15920 + 16258, + 16719 ], "loc": { "start": { - "line": 542, + "line": 572, "column": 31 }, "end": { - "line": 552, + "line": 582, "column": 13 } } }, "alternate": null, "range": [ - 15440, - 15920 + 16239, + 16719 ], "loc": { "start": { - "line": 542, + "line": 572, "column": 12 }, "end": { - "line": 552, + "line": 582, "column": 13 } }, @@ -32597,16 +34370,16 @@ "type": "Line", "value": "This event is fired just after a column is displayed for", "range": [ - 15237, - 15295 + 16036, + 16094 ], "loc": { "start": { - "line": 538, + "line": 568, "column": 12 }, "end": { - "line": 538, + "line": 568, "column": 70 } } @@ -32615,16 +34388,16 @@ "type": "Line", "value": "grid_layout support", "range": [ - 15308, - 15329 + 16107, + 16128 ], "loc": { "start": { - "line": 539, + "line": 569, "column": 12 }, "end": { - "line": 539, + "line": 569, "column": 33 } } @@ -32633,16 +34406,16 @@ "type": "Line", "value": "TODO: grid layout module should be responsible for those", "range": [ - 15342, - 15400 + 16141, + 16199 ], "loc": { "start": { - "line": 540, + "line": 570, "column": 12 }, "end": { - "line": 540, + "line": 570, "column": 70 } } @@ -32651,16 +34424,16 @@ "type": "Line", "value": "calculations", "range": [ - 15413, - 15427 + 16212, + 16226 ], "loc": { "start": { - "line": 541, + "line": 571, "column": 12 }, "end": { - "line": 541, + "line": 571, "column": 26 } } @@ -32677,16 +34450,16 @@ "object": { "type": "ThisExpression", "range": [ - 15934, - 15938 + 16733, + 16737 ], "loc": { "start": { - "line": 554, + "line": 584, "column": 12 }, "end": { - "line": 554, + "line": 584, "column": 16 } } @@ -32695,31 +34468,31 @@ "type": "Identifier", "name": "onAfterColHidden", "range": [ - 15939, - 15955 + 16738, + 16754 ], "loc": { "start": { - "line": 554, + "line": 584, "column": 17 }, "end": { - "line": 554, + "line": 584, "column": 33 } } }, "range": [ - 15934, - 15955 + 16733, + 16754 ], "loc": { "start": { - "line": 554, + "line": 584, "column": 12 }, "end": { - "line": 554, + "line": 584, "column": 33 } } @@ -32728,16 +34501,16 @@ { "type": "ThisExpression", "range": [ - 15956, - 15960 + 16755, + 16759 ], "loc": { "start": { - "line": 554, + "line": 584, "column": 34 }, "end": { - "line": 554, + "line": 584, "column": 38 } } @@ -32746,47 +34519,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 15962, - 15970 + 16761, + 16769 ], "loc": { "start": { - "line": 554, + "line": 584, "column": 40 }, "end": { - "line": 554, + "line": 584, "column": 48 } } } ], "range": [ - 15934, - 15971 + 16733, + 16770 ], "loc": { "start": { - "line": 554, + "line": 584, "column": 12 }, "end": { - "line": 554, + "line": 584, "column": 49 } } }, "range": [ - 15934, - 15972 + 16733, + 16771 ], "loc": { "start": { - "line": 554, + "line": 584, "column": 12 }, "end": { - "line": 554, + "line": 584, "column": 50 } } @@ -32804,16 +34577,16 @@ "object": { "type": "ThisExpression", "range": [ - 15985, - 15989 + 16784, + 16788 ], "loc": { "start": { - "line": 555, + "line": 585, "column": 12 }, "end": { - "line": 555, + "line": 585, "column": 16 } } @@ -32822,31 +34595,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 15990, - 15997 + 16789, + 16796 ], "loc": { "start": { - "line": 555, + "line": 585, "column": 17 }, "end": { - "line": 555, + "line": 585, "column": 24 } } }, "range": [ - 15985, - 15997 + 16784, + 16796 ], "loc": { "start": { - "line": 555, + "line": 585, "column": 12 }, "end": { - "line": 555, + "line": 585, "column": 24 } } @@ -32855,31 +34628,31 @@ "type": "Identifier", "name": "emit", "range": [ - 15998, - 16002 + 16797, + 16801 ], "loc": { "start": { - "line": 555, + "line": 585, "column": 25 }, "end": { - "line": 555, + "line": 585, "column": 29 } } }, "range": [ - 15985, - 16002 + 16784, + 16801 ], "loc": { "start": { - "line": 555, + "line": 585, "column": 12 }, "end": { - "line": 555, + "line": 585, "column": 29 } } @@ -32890,16 +34663,16 @@ "value": "column-hidden", "raw": "'column-hidden'", "range": [ - 16003, - 16018 + 16802, + 16817 ], "loc": { "start": { - "line": 555, + "line": 585, "column": 30 }, "end": { - "line": 555, + "line": 585, "column": 45 } } @@ -32908,16 +34681,16 @@ "type": "Identifier", "name": "tf", "range": [ - 16020, - 16022 + 16819, + 16821 ], "loc": { "start": { - "line": 555, + "line": 585, "column": 47 }, "end": { - "line": 555, + "line": 585, "column": 49 } } @@ -32925,16 +34698,16 @@ { "type": "ThisExpression", "range": [ - 16024, - 16028 + 16823, + 16827 ], "loc": { "start": { - "line": 555, + "line": 585, "column": 51 }, "end": { - "line": 555, + "line": 585, "column": 55 } } @@ -32943,16 +34716,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16030, - 16038 + 16829, + 16837 ], "loc": { "start": { - "line": 555, + "line": 585, "column": 57 }, "end": { - "line": 555, + "line": 585, "column": 65 } } @@ -32963,16 +34736,16 @@ "object": { "type": "ThisExpression", "range": [ - 16056, - 16060 + 16855, + 16859 ], "loc": { "start": { - "line": 556, + "line": 586, "column": 16 }, "end": { - "line": 556, + "line": 586, "column": 20 } } @@ -32981,94 +34754,94 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 16061, - 16071 + 16860, + 16870 ], "loc": { "start": { - "line": 556, + "line": 586, "column": 21 }, "end": { - "line": 556, + "line": 586, "column": 31 } } }, "range": [ - 16056, - 16071 + 16855, + 16870 ], "loc": { "start": { - "line": 556, + "line": 586, "column": 16 }, "end": { - "line": 556, + "line": 586, "column": 31 } } } ], "range": [ - 15985, - 16072 + 16784, + 16871 ], "loc": { "start": { - "line": 555, + "line": 585, "column": 12 }, "end": { - "line": 556, + "line": 586, "column": 32 } } }, "range": [ - 15985, - 16073 + 16784, + 16872 ], "loc": { "start": { - "line": 555, + "line": 585, "column": 12 }, "end": { - "line": 556, + "line": 586, "column": 33 } } } ], "range": [ - 15223, - 16083 + 16022, + 16882 ], "loc": { "start": { - "line": 537, + "line": 567, "column": 18 }, "end": { - "line": 557, + "line": 587, "column": 9 } } }, "alternate": null, "range": [ - 15213, - 16083 + 16012, + 16882 ], "loc": { "start": { - "line": 537, + "line": 567, "column": 8 }, "end": { - "line": 557, + "line": 587, "column": 9 } } @@ -33082,32 +34855,32 @@ "type": "Identifier", "name": "hide", "range": [ - 16098, - 16102 + 16897, + 16901 ], "loc": { "start": { - "line": 559, + "line": 589, "column": 13 }, "end": { - "line": 559, + "line": 589, "column": 17 } } }, "prefix": true, "range": [ - 16097, - 16102 + 16896, + 16901 ], "loc": { "start": { - "line": 559, + "line": 589, "column": 12 }, "end": { - "line": 559, + "line": 589, "column": 17 } } @@ -33124,16 +34897,16 @@ "type": "Identifier", "name": "tf", "range": [ - 16325, - 16327 + 17124, + 17126 ], "loc": { "start": { - "line": 564, + "line": 594, "column": 16 }, "end": { - "line": 564, + "line": 594, "column": 18 } } @@ -33142,31 +34915,31 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 16328, - 16338 + 17127, + 17137 ], "loc": { "start": { - "line": 564, + "line": 594, "column": 19 }, "end": { - "line": 564, + "line": 594, "column": 29 } } }, "range": [ - 16325, - 16338 + 17124, + 17137 ], "loc": { "start": { - "line": 564, + "line": 594, "column": 16 }, "end": { - "line": 564, + "line": 594, "column": 29 } } @@ -33183,16 +34956,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 16358, - 16368 + 17157, + 17167 ], "loc": { "start": { - "line": 565, + "line": 595, "column": 16 }, "end": { - "line": 565, + "line": 595, "column": 26 } } @@ -33206,16 +34979,16 @@ "type": "Identifier", "name": "tf", "range": [ - 16371, - 16373 + 17170, + 17172 ], "loc": { "start": { - "line": 565, + "line": 595, "column": 29 }, "end": { - "line": 565, + "line": 595, "column": 31 } } @@ -33224,31 +34997,31 @@ "type": "Identifier", "name": "feature", "range": [ - 16374, - 16381 + 17173, + 17180 ], "loc": { "start": { - "line": 565, + "line": 595, "column": 32 }, "end": { - "line": 565, + "line": 595, "column": 39 } } }, "range": [ - 16371, - 16381 + 17170, + 17180 ], "loc": { "start": { - "line": 565, + "line": 595, "column": 29 }, "end": { - "line": 565, + "line": 595, "column": 39 } } @@ -33259,62 +35032,62 @@ "value": "gridLayout", "raw": "'gridLayout'", "range": [ - 16382, - 16394 + 17181, + 17193 ], "loc": { "start": { - "line": 565, + "line": 595, "column": 40 }, "end": { - "line": 565, + "line": 595, "column": 52 } } } ], "range": [ - 16371, - 16395 + 17170, + 17194 ], "loc": { "start": { - "line": 565, + "line": 595, "column": 29 }, "end": { - "line": 565, + "line": 595, "column": 53 } } }, "range": [ - 16358, - 16395 + 17157, + 17194 ], "loc": { "start": { - "line": 565, + "line": 595, "column": 16 }, "end": { - "line": 565, + "line": 595, "column": 53 } } }, "range": [ - 16358, - 16396 + 17157, + 17195 ], "loc": { "start": { - "line": 565, + "line": 595, "column": 16 }, "end": { - "line": 565, + "line": 595, "column": 54 } } @@ -33328,16 +35101,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 16413, - 16420 + 17212, + 17219 ], "loc": { "start": { - "line": 566, + "line": 596, "column": 16 }, "end": { - "line": 566, + "line": 596, "column": 23 } } @@ -33349,16 +35122,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 16423, - 16433 + 17222, + 17232 ], "loc": { "start": { - "line": 566, + "line": 596, "column": 26 }, "end": { - "line": 566, + "line": 596, "column": 36 } } @@ -33367,61 +35140,61 @@ "type": "Identifier", "name": "headTbl", "range": [ - 16434, - 16441 + 17233, + 17240 ], "loc": { "start": { - "line": 566, + "line": 596, "column": 37 }, "end": { - "line": 566, + "line": 596, "column": 44 } } }, "range": [ - 16423, - 16441 + 17222, + 17240 ], "loc": { "start": { - "line": 566, + "line": 596, "column": 26 }, "end": { - "line": 566, + "line": 596, "column": 44 } } }, "range": [ - 16413, - 16441 + 17212, + 17240 ], "loc": { "start": { - "line": 566, + "line": 596, "column": 16 }, "end": { - "line": 566, + "line": 596, "column": 44 } } }, "range": [ - 16413, - 16442 + 17212, + 17241 ], "loc": { "start": { - "line": 566, + "line": 596, "column": 16 }, "end": { - "line": 566, + "line": 596, "column": 45 } } @@ -33435,16 +35208,16 @@ "type": "Identifier", "name": "gridColElms", "range": [ - 16459, - 16470 + 17258, + 17269 ], "loc": { "start": { - "line": 567, + "line": 597, "column": 16 }, "end": { - "line": 567, + "line": 597, "column": 27 } } @@ -33456,16 +35229,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 16473, - 16483 + 17272, + 17282 ], "loc": { "start": { - "line": 567, + "line": 597, "column": 30 }, "end": { - "line": 567, + "line": 597, "column": 40 } } @@ -33474,61 +35247,61 @@ "type": "Identifier", "name": "colElms", "range": [ - 16484, - 16491 + 17283, + 17290 ], "loc": { "start": { - "line": 567, + "line": 597, "column": 41 }, "end": { - "line": 567, + "line": 597, "column": 48 } } }, "range": [ - 16473, - 16491 + 17272, + 17290 ], "loc": { "start": { - "line": 567, + "line": 597, "column": 30 }, "end": { - "line": 567, + "line": 597, "column": 48 } } }, "range": [ - 16459, - 16491 + 17258, + 17290 ], "loc": { "start": { - "line": 567, + "line": 597, "column": 16 }, "end": { - "line": 567, + "line": 597, "column": 48 } } }, "range": [ - 16459, - 16492 + 17258, + 17291 ], "loc": { "start": { - "line": 567, + "line": 597, "column": 16 }, "end": { - "line": 567, + "line": 597, "column": 49 } } @@ -33542,16 +35315,16 @@ "type": "Identifier", "name": "width", "range": [ - 16513, - 16518 + 17312, + 17317 ], "loc": { "start": { - "line": 568, + "line": 598, "column": 20 }, "end": { - "line": 568, + "line": 598, "column": 25 } } @@ -33562,16 +35335,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 16521, - 16529 + 17320, + 17328 ], "loc": { "start": { - "line": 568, + "line": 598, "column": 28 }, "end": { - "line": 568, + "line": 598, "column": 36 } } @@ -33590,16 +35363,16 @@ "type": "Identifier", "name": "gridColElms", "range": [ - 16530, - 16541 + 17329, + 17340 ], "loc": { "start": { - "line": 568, + "line": 598, "column": 37 }, "end": { - "line": 568, + "line": 598, "column": 48 } } @@ -33608,31 +35381,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16542, - 16550 + 17341, + 17349 ], "loc": { "start": { - "line": 568, + "line": 598, "column": 49 }, "end": { - "line": 568, + "line": 598, "column": 57 } } }, "range": [ - 16530, - 16551 + 17329, + 17350 ], "loc": { "start": { - "line": 568, + "line": 598, "column": 37 }, "end": { - "line": 568, + "line": 598, "column": 58 } } @@ -33641,31 +35414,31 @@ "type": "Identifier", "name": "style", "range": [ - 16552, - 16557 + 17351, + 17356 ], "loc": { "start": { - "line": 568, + "line": 598, "column": 59 }, "end": { - "line": 568, + "line": 598, "column": 64 } } }, "range": [ - 16530, - 16557 + 17329, + 17356 ], "loc": { "start": { - "line": 568, + "line": 598, "column": 37 }, "end": { - "line": 568, + "line": 598, "column": 64 } } @@ -33674,31 +35447,31 @@ "type": "Identifier", "name": "width", "range": [ - 16558, - 16563 + 17357, + 17362 ], "loc": { "start": { - "line": 568, + "line": 598, "column": 65 }, "end": { - "line": 568, + "line": 598, "column": 70 } } }, "range": [ - 16530, - 16563 + 17329, + 17362 ], "loc": { "start": { - "line": 568, + "line": 598, "column": 37 }, "end": { - "line": 568, + "line": 598, "column": 70 } } @@ -33708,47 +35481,47 @@ "value": 10, "raw": "10", "range": [ - 16565, - 16567 + 17364, + 17366 ], "loc": { "start": { - "line": 568, + "line": 598, "column": 72 }, "end": { - "line": 568, + "line": 598, "column": 74 } } } ], "range": [ - 16521, - 16568 + 17320, + 17367 ], "loc": { "start": { - "line": 568, + "line": 598, "column": 28 }, "end": { - "line": 568, + "line": 598, "column": 75 } } }, "range": [ - 16513, - 16568 + 17312, + 17367 ], "loc": { "start": { - "line": 568, + "line": 598, "column": 20 }, "end": { - "line": 568, + "line": 598, "column": 75 } } @@ -33756,16 +35529,16 @@ ], "kind": "let", "range": [ - 16509, - 16569 + 17308, + 17368 ], "loc": { "start": { - "line": 568, + "line": 598, "column": 16 }, "end": { - "line": 568, + "line": 598, "column": 76 } } @@ -33785,16 +35558,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 16586, - 16593 + 17385, + 17392 ], "loc": { "start": { - "line": 569, + "line": 599, "column": 16 }, "end": { - "line": 569, + "line": 599, "column": 23 } } @@ -33803,31 +35576,31 @@ "type": "Identifier", "name": "style", "range": [ - 16594, - 16599 + 17393, + 17398 ], "loc": { "start": { - "line": 569, + "line": 599, "column": 24 }, "end": { - "line": 569, + "line": 599, "column": 29 } } }, "range": [ - 16586, - 16599 + 17385, + 17398 ], "loc": { "start": { - "line": 569, + "line": 599, "column": 16 }, "end": { - "line": 569, + "line": 599, "column": 29 } } @@ -33836,31 +35609,31 @@ "type": "Identifier", "name": "width", "range": [ - 16600, - 16605 + 17399, + 17404 ], "loc": { "start": { - "line": 569, + "line": 599, "column": 30 }, "end": { - "line": 569, + "line": 599, "column": 35 } } }, "range": [ - 16586, - 16605 + 17385, + 17404 ], "loc": { "start": { - "line": 569, + "line": 599, "column": 16 }, "end": { - "line": 569, + "line": 599, "column": 35 } } @@ -33877,16 +35650,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 16629, - 16637 + 17428, + 17436 ], "loc": { "start": { - "line": 570, + "line": 600, "column": 21 }, "end": { - "line": 570, + "line": 600, "column": 29 } } @@ -33902,16 +35675,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 16638, - 16645 + 17437, + 17444 ], "loc": { "start": { - "line": 570, + "line": 600, "column": 30 }, "end": { - "line": 570, + "line": 600, "column": 37 } } @@ -33920,31 +35693,31 @@ "type": "Identifier", "name": "style", "range": [ - 16646, - 16651 + 17445, + 17450 ], "loc": { "start": { - "line": 570, + "line": 600, "column": 38 }, "end": { - "line": 570, + "line": 600, "column": 43 } } }, "range": [ - 16638, - 16651 + 17437, + 17450 ], "loc": { "start": { - "line": 570, + "line": 600, "column": 30 }, "end": { - "line": 570, + "line": 600, "column": 43 } } @@ -33953,31 +35726,31 @@ "type": "Identifier", "name": "width", "range": [ - 16652, - 16657 + 17451, + 17456 ], "loc": { "start": { - "line": 570, + "line": 600, "column": 44 }, "end": { - "line": 570, + "line": 600, "column": 49 } } }, "range": [ - 16638, - 16657 + 17437, + 17456 ], "loc": { "start": { - "line": 570, + "line": 600, "column": 30 }, "end": { - "line": 570, + "line": 600, "column": 49 } } @@ -33987,32 +35760,32 @@ "value": 10, "raw": "10", "range": [ - 16659, - 16661 + 17458, + 17460 ], "loc": { "start": { - "line": 570, + "line": 600, "column": 51 }, "end": { - "line": 570, + "line": 600, "column": 53 } } } ], "range": [ - 16629, - 16662 + 17428, + 17461 ], "loc": { "start": { - "line": 570, + "line": 600, "column": 21 }, "end": { - "line": 570, + "line": 600, "column": 54 } } @@ -34021,31 +35794,31 @@ "type": "Identifier", "name": "width", "range": [ - 16665, - 16670 + 17464, + 17469 ], "loc": { "start": { - "line": 570, + "line": 600, "column": 57 }, "end": { - "line": 570, + "line": 600, "column": 62 } } }, "range": [ - 16629, - 16670 + 17428, + 17469 ], "loc": { "start": { - "line": 570, + "line": 600, "column": 21 }, "end": { - "line": 570, + "line": 600, "column": 62 } } @@ -34055,61 +35828,61 @@ "value": "px", "raw": "'px'", "range": [ - 16674, - 16678 + 17473, + 17477 ], "loc": { "start": { - "line": 570, + "line": 600, "column": 66 }, "end": { - "line": 570, + "line": 600, "column": 70 } } }, "range": [ - 16628, - 16678 + 17427, + 17477 ], "loc": { "start": { - "line": 570, + "line": 600, "column": 20 }, "end": { - "line": 570, + "line": 600, "column": 70 } } }, "range": [ - 16586, - 16678 + 17385, + 17477 ], "loc": { "start": { - "line": 569, + "line": 599, "column": 16 }, "end": { - "line": 570, + "line": 600, "column": 70 } } }, "range": [ - 16586, - 16679 + 17385, + 17478 ], "loc": { "start": { - "line": 569, + "line": 599, "column": 16 }, "end": { - "line": 570, + "line": 600, "column": 71 } } @@ -34132,16 +35905,16 @@ "type": "Identifier", "name": "tf", "range": [ - 16696, - 16698 + 17495, + 17497 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 16 }, "end": { - "line": 571, + "line": 601, "column": 18 } } @@ -34150,31 +35923,31 @@ "type": "Identifier", "name": "tbl", "range": [ - 16699, - 16702 + 17498, + 17501 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 19 }, "end": { - "line": 571, + "line": 601, "column": 22 } } }, "range": [ - 16696, - 16702 + 17495, + 17501 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 16 }, "end": { - "line": 571, + "line": 601, "column": 22 } } @@ -34183,31 +35956,31 @@ "type": "Identifier", "name": "style", "range": [ - 16703, - 16708 + 17502, + 17507 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 23 }, "end": { - "line": 571, + "line": 601, "column": 28 } } }, "range": [ - 16696, - 16708 + 17495, + 17507 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 16 }, "end": { - "line": 571, + "line": 601, "column": 28 } } @@ -34216,31 +35989,31 @@ "type": "Identifier", "name": "width", "range": [ - 16709, - 16714 + 17508, + 17513 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 29 }, "end": { - "line": 571, + "line": 601, "column": 34 } } }, "range": [ - 16696, - 16714 + 17495, + 17513 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 16 }, "end": { - "line": 571, + "line": 601, "column": 34 } } @@ -34255,16 +36028,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 16717, - 16724 + 17516, + 17523 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 37 }, "end": { - "line": 571, + "line": 601, "column": 44 } } @@ -34273,31 +36046,31 @@ "type": "Identifier", "name": "style", "range": [ - 16725, - 16730 + 17524, + 17529 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 45 }, "end": { - "line": 571, + "line": 601, "column": 50 } } }, "range": [ - 16717, - 16730 + 17516, + 17529 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 37 }, "end": { - "line": 571, + "line": 601, "column": 50 } } @@ -34306,93 +36079,93 @@ "type": "Identifier", "name": "width", "range": [ - 16731, - 16736 + 17530, + 17535 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 51 }, "end": { - "line": 571, + "line": 601, "column": 56 } } }, "range": [ - 16717, - 16736 + 17516, + 17535 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 37 }, "end": { - "line": 571, + "line": 601, "column": 56 } } }, "range": [ - 16696, - 16736 + 17495, + 17535 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 16 }, "end": { - "line": 571, + "line": 601, "column": 56 } } }, "range": [ - 16696, - 16737 + 17495, + 17536 ], "loc": { "start": { - "line": 571, + "line": 601, "column": 16 }, "end": { - "line": 571, + "line": 601, "column": 57 } } } ], "range": [ - 16340, - 16751 + 17139, + 17550 ], "loc": { "start": { - "line": 564, + "line": 594, "column": 31 }, "end": { - "line": 572, + "line": 602, "column": 13 } } }, "alternate": null, "range": [ - 16321, - 16751 + 17120, + 17550 ], "loc": { "start": { - "line": 564, + "line": 594, "column": 12 }, "end": { - "line": 572, + "line": 602, "column": 13 } }, @@ -34401,16 +36174,16 @@ "type": "Line", "value": "This event is fired just after a column is displayed for", "range": [ - 16118, - 16176 + 16917, + 16975 ], "loc": { "start": { - "line": 560, + "line": 590, "column": 12 }, "end": { - "line": 560, + "line": 590, "column": 70 } } @@ -34419,16 +36192,16 @@ "type": "Line", "value": "grid_layout support", "range": [ - 16189, - 16210 + 16988, + 17009 ], "loc": { "start": { - "line": 561, + "line": 591, "column": 12 }, "end": { - "line": 561, + "line": 591, "column": 33 } } @@ -34437,16 +36210,16 @@ "type": "Line", "value": "TODO: grid layout module should be responsible for those", "range": [ - 16223, - 16281 + 17022, + 17080 ], "loc": { "start": { - "line": 562, + "line": 592, "column": 12 }, "end": { - "line": 562, + "line": 592, "column": 70 } } @@ -34455,16 +36228,16 @@ "type": "Line", "value": "calculations", "range": [ - 16294, - 16308 + 17093, + 17107 ], "loc": { "start": { - "line": 563, + "line": 593, "column": 12 }, "end": { - "line": 563, + "line": 593, "column": 26 } } @@ -34481,16 +36254,16 @@ "object": { "type": "ThisExpression", "range": [ - 16765, - 16769 + 17564, + 17568 ], "loc": { "start": { - "line": 574, + "line": 604, "column": 12 }, "end": { - "line": 574, + "line": 604, "column": 16 } } @@ -34499,31 +36272,31 @@ "type": "Identifier", "name": "onAfterColDisplayed", "range": [ - 16770, - 16789 + 17569, + 17588 ], "loc": { "start": { - "line": 574, + "line": 604, "column": 17 }, "end": { - "line": 574, + "line": 604, "column": 36 } } }, "range": [ - 16765, - 16789 + 17564, + 17588 ], "loc": { "start": { - "line": 574, + "line": 604, "column": 12 }, "end": { - "line": 574, + "line": 604, "column": 36 } } @@ -34532,16 +36305,16 @@ { "type": "ThisExpression", "range": [ - 16790, - 16794 + 17589, + 17593 ], "loc": { "start": { - "line": 574, + "line": 604, "column": 37 }, "end": { - "line": 574, + "line": 604, "column": 41 } } @@ -34550,47 +36323,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16796, - 16804 + 17595, + 17603 ], "loc": { "start": { - "line": 574, + "line": 604, "column": 43 }, "end": { - "line": 574, + "line": 604, "column": 51 } } } ], "range": [ - 16765, - 16805 + 17564, + 17604 ], "loc": { "start": { - "line": 574, + "line": 604, "column": 12 }, "end": { - "line": 574, + "line": 604, "column": 52 } } }, "range": [ - 16765, - 16806 + 17564, + 17605 ], "loc": { "start": { - "line": 574, + "line": 604, "column": 12 }, "end": { - "line": 574, + "line": 604, "column": 53 } } @@ -34608,16 +36381,16 @@ "object": { "type": "ThisExpression", "range": [ - 16819, - 16823 + 17618, + 17622 ], "loc": { "start": { - "line": 575, + "line": 605, "column": 12 }, "end": { - "line": 575, + "line": 605, "column": 16 } } @@ -34626,31 +36399,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 16824, - 16831 + 17623, + 17630 ], "loc": { "start": { - "line": 575, + "line": 605, "column": 17 }, "end": { - "line": 575, + "line": 605, "column": 24 } } }, "range": [ - 16819, - 16831 + 17618, + 17630 ], "loc": { "start": { - "line": 575, + "line": 605, "column": 12 }, "end": { - "line": 575, + "line": 605, "column": 24 } } @@ -34659,31 +36432,31 @@ "type": "Identifier", "name": "emit", "range": [ - 16832, - 16836 + 17631, + 17635 ], "loc": { "start": { - "line": 575, + "line": 605, "column": 25 }, "end": { - "line": 575, + "line": 605, "column": 29 } } }, "range": [ - 16819, - 16836 + 17618, + 17635 ], "loc": { "start": { - "line": 575, + "line": 605, "column": 12 }, "end": { - "line": 575, + "line": 605, "column": 29 } } @@ -34694,16 +36467,16 @@ "value": "column-shown", "raw": "'column-shown'", "range": [ - 16837, - 16851 + 17636, + 17650 ], "loc": { "start": { - "line": 575, + "line": 605, "column": 30 }, "end": { - "line": 575, + "line": 605, "column": 44 } } @@ -34712,16 +36485,16 @@ "type": "Identifier", "name": "tf", "range": [ - 16853, - 16855 + 17652, + 17654 ], "loc": { "start": { - "line": 575, + "line": 605, "column": 46 }, "end": { - "line": 575, + "line": 605, "column": 48 } } @@ -34729,16 +36502,16 @@ { "type": "ThisExpression", "range": [ - 16857, - 16861 + 17656, + 17660 ], "loc": { "start": { - "line": 575, + "line": 605, "column": 50 }, "end": { - "line": 575, + "line": 605, "column": 54 } } @@ -34747,16 +36520,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16863, - 16871 + 17662, + 17670 ], "loc": { "start": { - "line": 575, + "line": 605, "column": 56 }, "end": { - "line": 575, + "line": 605, "column": 64 } } @@ -34767,16 +36540,16 @@ "object": { "type": "ThisExpression", "range": [ - 16889, - 16893 + 17688, + 17692 ], "loc": { "start": { - "line": 576, + "line": 606, "column": 16 }, "end": { - "line": 576, + "line": 606, "column": 20 } } @@ -34785,110 +36558,110 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 16894, - 16904 + 17693, + 17703 ], "loc": { "start": { - "line": 576, + "line": 606, "column": 21 }, "end": { - "line": 576, + "line": 606, "column": 31 } } }, "range": [ - 16889, - 16904 + 17688, + 17703 ], "loc": { "start": { - "line": 576, + "line": 606, "column": 16 }, "end": { - "line": 576, + "line": 606, "column": 31 } } } ], "range": [ - 16819, - 16905 + 17618, + 17704 ], "loc": { "start": { - "line": 575, + "line": 605, "column": 12 }, "end": { - "line": 576, + "line": 606, "column": 32 } } }, "range": [ - 16819, - 16906 + 17618, + 17705 ], "loc": { "start": { - "line": 575, + "line": 605, "column": 12 }, "end": { - "line": 576, + "line": 606, "column": 33 } } } ], "range": [ - 16104, - 16916 + 16903, + 17715 ], "loc": { "start": { - "line": 559, + "line": 589, "column": 19 }, "end": { - "line": 577, + "line": 607, "column": 9 } } }, "alternate": null, "range": [ - 16093, - 16916 + 16892, + 17715 ], "loc": { "start": { - "line": 559, + "line": 589, "column": 8 }, "end": { - "line": 577, + "line": 607, "column": 9 } } } ], "range": [ - 14415, - 16922 + 15214, + 17721 ], "loc": { "start": { - "line": 506, + "line": 536, "column": 30 }, "end": { - "line": 578, + "line": 608, "column": 5 } } @@ -34896,16 +36669,16 @@ "generator": false, "expression": false, "range": [ - 14398, - 16922 + 15197, + 17721 ], "loc": { "start": { - "line": 506, + "line": 536, "column": 13 }, "end": { - "line": 578, + "line": 608, "column": 5 } } @@ -34913,16 +36686,16 @@ "kind": "method", "computed": false, "range": [ - 14389, - 16922 + 15188, + 17721 ], "loc": { "start": { - "line": 506, + "line": 536, "column": 4 }, "end": { - "line": 578, + "line": 608, "column": 5 } }, @@ -34931,16 +36704,16 @@ "type": "Block", "value": "*\n * Hide or show specified columns\n * @param {Number} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n ", "range": [ - 14221, - 14384 + 15020, + 15183 ], "loc": { "start": { - "line": 501, + "line": 531, "column": 4 }, "end": { - "line": 505, + "line": 535, "column": 7 } } @@ -34951,16 +36724,16 @@ "type": "Block", "value": "*\n * Show specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 16928, - 17014 + 17727, + 17813 ], "loc": { "start": { - "line": 580, + "line": 610, "column": 4 }, "end": { - "line": 583, + "line": 613, "column": 7 } } @@ -34974,16 +36747,16 @@ "type": "Identifier", "name": "showCol", "range": [ - 17019, - 17026 + 17818, + 17825 ], "loc": { "start": { - "line": 584, + "line": 614, "column": 4 }, "end": { - "line": 584, + "line": 614, "column": 11 } } @@ -34996,16 +36769,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17027, - 17035 + 17826, + 17834 ], "loc": { "start": { - "line": 584, + "line": 614, "column": 12 }, "end": { - "line": 584, + "line": 614, "column": 20 } } @@ -35026,16 +36799,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17051, - 17059 + 17850, + 17858 ], "loc": { "start": { - "line": 585, + "line": 615, "column": 12 }, "end": { - "line": 585, + "line": 615, "column": 20 } } @@ -35044,31 +36817,31 @@ "type": "Identifier", "name": "undefined", "range": [ - 17064, - 17073 + 17863, + 17872 ], "loc": { "start": { - "line": 585, + "line": 615, "column": 25 }, "end": { - "line": 585, + "line": 615, "column": 34 } } }, "range": [ - 17051, - 17073 + 17850, + 17872 ], "loc": { "start": { - "line": 585, + "line": 615, "column": 12 }, "end": { - "line": 585, + "line": 615, "column": 34 } } @@ -35084,16 +36857,16 @@ "object": { "type": "ThisExpression", "range": [ - 17078, - 17082 + 17877, + 17881 ], "loc": { "start": { - "line": 585, + "line": 615, "column": 39 }, "end": { - "line": 585, + "line": 615, "column": 43 } } @@ -35102,31 +36875,31 @@ "type": "Identifier", "name": "isColHidden", "range": [ - 17083, - 17094 + 17882, + 17893 ], "loc": { "start": { - "line": 585, + "line": 615, "column": 44 }, "end": { - "line": 585, + "line": 615, "column": 55 } } }, "range": [ - 17078, - 17094 + 17877, + 17893 ], "loc": { "start": { - "line": 585, + "line": 615, "column": 39 }, "end": { - "line": 585, + "line": 615, "column": 55 } } @@ -35136,63 +36909,63 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17095, - 17103 + 17894, + 17902 ], "loc": { "start": { - "line": 585, + "line": 615, "column": 56 }, "end": { - "line": 585, + "line": 615, "column": 64 } } } ], "range": [ - 17078, - 17104 + 17877, + 17903 ], "loc": { "start": { - "line": 585, + "line": 615, "column": 39 }, "end": { - "line": 585, + "line": 615, "column": 65 } } }, "prefix": true, "range": [ - 17077, - 17104 + 17876, + 17903 ], "loc": { "start": { - "line": 585, + "line": 615, "column": 38 }, "end": { - "line": 585, + "line": 615, "column": 65 } } }, "range": [ - 17051, - 17104 + 17850, + 17903 ], "loc": { "start": { - "line": 585, + "line": 615, "column": 12 }, "end": { - "line": 585, + "line": 615, "column": 65 } } @@ -35204,48 +36977,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 17120, - 17127 + 17919, + 17926 ], "loc": { "start": { - "line": 586, + "line": 616, "column": 12 }, "end": { - "line": 586, + "line": 616, "column": 19 } } } ], "range": [ - 17106, - 17137 + 17905, + 17936 ], "loc": { "start": { - "line": 585, + "line": 615, "column": 67 }, "end": { - "line": 587, + "line": 617, "column": 9 } } }, "alternate": null, "range": [ - 17047, - 17137 + 17846, + 17936 ], "loc": { "start": { - "line": 585, + "line": 615, "column": 8 }, "end": { - "line": 587, + "line": 617, "column": 9 } } @@ -35261,16 +37034,16 @@ "object": { "type": "ThisExpression", "range": [ - 17150, - 17154 + 17949, + 17953 ], "loc": { "start": { - "line": 588, + "line": 618, "column": 12 }, "end": { - "line": 588, + "line": 618, "column": 16 } } @@ -35279,31 +37052,31 @@ "type": "Identifier", "name": "manager", "range": [ - 17155, - 17162 + 17954, + 17961 ], "loc": { "start": { - "line": 588, + "line": 618, "column": 17 }, "end": { - "line": 588, + "line": 618, "column": 24 } } }, "range": [ - 17150, - 17162 + 17949, + 17961 ], "loc": { "start": { - "line": 588, + "line": 618, "column": 12 }, "end": { - "line": 588, + "line": 618, "column": 24 } } @@ -35314,16 +37087,16 @@ "object": { "type": "ThisExpression", "range": [ - 17166, - 17170 + 17965, + 17969 ], "loc": { "start": { - "line": 588, + "line": 618, "column": 28 }, "end": { - "line": 588, + "line": 618, "column": 32 } } @@ -35332,46 +37105,46 @@ "type": "Identifier", "name": "contEl", "range": [ - 17171, - 17177 + 17970, + 17976 ], "loc": { "start": { - "line": 588, + "line": 618, "column": 33 }, "end": { - "line": 588, + "line": 618, "column": 39 } } }, "range": [ - 17166, - 17177 + 17965, + 17976 ], "loc": { "start": { - "line": 588, + "line": 618, "column": 28 }, "end": { - "line": 588, + "line": 618, "column": 39 } } }, "range": [ - 17150, - 17177 + 17949, + 17976 ], "loc": { "start": { - "line": 588, + "line": 618, "column": 12 }, "end": { - "line": 588, + "line": 618, "column": 39 } } @@ -35388,16 +37161,16 @@ "type": "Identifier", "name": "itm", "range": [ - 17197, - 17200 + 17996, + 17999 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 16 }, "end": { - "line": 589, + "line": 619, "column": 19 } } @@ -35408,16 +37181,16 @@ "type": "Identifier", "name": "elm", "range": [ - 17203, - 17206 + 18002, + 18005 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 22 }, "end": { - "line": 589, + "line": 619, "column": 25 } } @@ -35437,16 +37210,16 @@ "value": "col_", "raw": "'col_'", "range": [ - 17207, - 17213 + 18006, + 18012 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 26 }, "end": { - "line": 589, + "line": 619, "column": 32 } } @@ -35455,31 +37228,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17216, - 17224 + 18015, + 18023 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 35 }, "end": { - "line": 589, + "line": 619, "column": 43 } } }, "range": [ - 17207, - 17224 + 18006, + 18023 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 26 }, "end": { - "line": 589, + "line": 619, "column": 43 } } @@ -35489,31 +37262,31 @@ "value": "_", "raw": "'_'", "range": [ - 17227, - 17230 + 18026, + 18029 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 46 }, "end": { - "line": 589, + "line": 619, "column": 49 } } }, "range": [ - 17207, - 17230 + 18006, + 18029 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 26 }, "end": { - "line": 589, + "line": 619, "column": 49 } } @@ -35527,16 +37300,16 @@ "object": { "type": "ThisExpression", "range": [ - 17233, - 17237 + 18032, + 18036 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 52 }, "end": { - "line": 589, + "line": 619, "column": 56 } } @@ -35545,31 +37318,31 @@ "type": "Identifier", "name": "tf", "range": [ - 17238, - 17240 + 18037, + 18039 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 57 }, "end": { - "line": 589, + "line": 619, "column": 59 } } }, "range": [ - 17233, - 17240 + 18032, + 18039 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 52 }, "end": { - "line": 589, + "line": 619, "column": 59 } } @@ -35578,77 +37351,77 @@ "type": "Identifier", "name": "id", "range": [ - 17241, - 17243 + 18040, + 18042 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 60 }, "end": { - "line": 589, + "line": 619, "column": 62 } } }, "range": [ - 17233, - 17243 + 18032, + 18042 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 52 }, "end": { - "line": 589, + "line": 619, "column": 62 } } }, "range": [ - 17207, - 17243 + 18006, + 18042 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 26 }, "end": { - "line": 589, + "line": 619, "column": 62 } } } ], "range": [ - 17203, - 17244 + 18002, + 18043 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 22 }, "end": { - "line": 589, + "line": 619, "column": 63 } } }, "range": [ - 17197, - 17244 + 17996, + 18043 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 16 }, "end": { - "line": 589, + "line": 619, "column": 63 } } @@ -35656,16 +37429,16 @@ ], "kind": "let", "range": [ - 17193, - 17245 + 17992, + 18044 ], "loc": { "start": { - "line": 589, + "line": 619, "column": 12 }, "end": { - "line": 589, + "line": 619, "column": 64 } } @@ -35676,16 +37449,16 @@ "type": "Identifier", "name": "itm", "range": [ - 17262, - 17265 + 18061, + 18064 ], "loc": { "start": { - "line": 590, + "line": 620, "column": 16 }, "end": { - "line": 590, + "line": 620, "column": 19 } } @@ -35704,16 +37477,16 @@ "type": "Identifier", "name": "itm", "range": [ - 17285, - 17288 + 18084, + 18087 ], "loc": { "start": { - "line": 591, + "line": 621, "column": 16 }, "end": { - "line": 591, + "line": 621, "column": 19 } } @@ -35722,110 +37495,110 @@ "type": "Identifier", "name": "click", "range": [ - 17289, - 17294 + 18088, + 18093 ], "loc": { "start": { - "line": 591, + "line": 621, "column": 20 }, "end": { - "line": 591, + "line": 621, "column": 25 } } }, "range": [ - 17285, - 17294 + 18084, + 18093 ], "loc": { "start": { - "line": 591, + "line": 621, "column": 16 }, "end": { - "line": 591, + "line": 621, "column": 25 } } }, "arguments": [], "range": [ - 17285, - 17296 + 18084, + 18095 ], "loc": { "start": { - "line": 591, + "line": 621, "column": 16 }, "end": { - "line": 591, + "line": 621, "column": 27 } } }, "range": [ - 17285, - 17297 + 18084, + 18096 ], "loc": { "start": { - "line": 591, + "line": 621, "column": 16 }, "end": { - "line": 591, + "line": 621, "column": 28 } } } ], "range": [ - 17267, - 17311 + 18066, + 18110 ], "loc": { "start": { - "line": 590, + "line": 620, "column": 21 }, "end": { - "line": 592, + "line": 622, "column": 13 } } }, "alternate": null, "range": [ - 17258, - 17311 + 18057, + 18110 ], "loc": { "start": { - "line": 590, + "line": 620, "column": 12 }, "end": { - "line": 592, + "line": 622, "column": 13 } } } ], "range": [ - 17179, - 17321 + 17978, + 18120 ], "loc": { "start": { - "line": 588, + "line": 618, "column": 41 }, "end": { - "line": 593, + "line": 623, "column": 9 } } @@ -35843,16 +37616,16 @@ "object": { "type": "ThisExpression", "range": [ - 17341, - 17345 + 18140, + 18144 ], "loc": { "start": { - "line": 594, + "line": 624, "column": 12 }, "end": { - "line": 594, + "line": 624, "column": 16 } } @@ -35861,31 +37634,31 @@ "type": "Identifier", "name": "setHidden", "range": [ - 17346, - 17355 + 18145, + 18154 ], "loc": { "start": { - "line": 594, + "line": 624, "column": 17 }, "end": { - "line": 594, + "line": 624, "column": 26 } } }, "range": [ - 17341, - 17355 + 18140, + 18154 ], "loc": { "start": { - "line": 594, + "line": 624, "column": 12 }, "end": { - "line": 594, + "line": 624, "column": 26 } } @@ -35895,16 +37668,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17356, - 17364 + 18155, + 18163 ], "loc": { "start": { - "line": 594, + "line": 624, "column": 27 }, "end": { - "line": 594, + "line": 624, "column": 35 } } @@ -35914,94 +37687,94 @@ "value": false, "raw": "false", "range": [ - 17366, - 17371 + 18165, + 18170 ], "loc": { "start": { - "line": 594, + "line": 624, "column": 37 }, "end": { - "line": 594, + "line": 624, "column": 42 } } } ], "range": [ - 17341, - 17372 + 18140, + 18171 ], "loc": { "start": { - "line": 594, + "line": 624, "column": 12 }, "end": { - "line": 594, + "line": 624, "column": 43 } } }, "range": [ - 17341, - 17373 + 18140, + 18172 ], "loc": { "start": { - "line": 594, + "line": 624, "column": 12 }, "end": { - "line": 594, + "line": 624, "column": 44 } } } ], "range": [ - 17327, - 17383 + 18126, + 18182 ], "loc": { "start": { - "line": 593, + "line": 623, "column": 15 }, "end": { - "line": 595, + "line": 625, "column": 9 } } }, "range": [ - 17146, - 17383 + 17945, + 18182 ], "loc": { "start": { - "line": 588, + "line": 618, "column": 8 }, "end": { - "line": 595, + "line": 625, "column": 9 } } } ], "range": [ - 17037, - 17389 + 17836, + 18188 ], "loc": { "start": { - "line": 584, + "line": 614, "column": 22 }, "end": { - "line": 596, + "line": 626, "column": 5 } } @@ -36009,16 +37782,16 @@ "generator": false, "expression": false, "range": [ - 17026, - 17389 + 17825, + 18188 ], "loc": { "start": { - "line": 584, + "line": 614, "column": 11 }, "end": { - "line": 596, + "line": 626, "column": 5 } } @@ -36026,16 +37799,16 @@ "kind": "method", "computed": false, "range": [ - 17019, - 17389 + 17818, + 18188 ], "loc": { "start": { - "line": 584, + "line": 614, "column": 4 }, "end": { - "line": 596, + "line": 626, "column": 5 } }, @@ -36044,16 +37817,16 @@ "type": "Block", "value": "*\n * Show specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 16928, - 17014 + 17727, + 17813 ], "loc": { "start": { - "line": 580, + "line": 610, "column": 4 }, "end": { - "line": 583, + "line": 613, "column": 7 } } @@ -36064,16 +37837,16 @@ "type": "Block", "value": "*\n * Hide specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 17395, - 17481 + 18194, + 18280 ], "loc": { "start": { - "line": 598, + "line": 628, "column": 4 }, "end": { - "line": 601, + "line": 631, "column": 7 } } @@ -36087,16 +37860,16 @@ "type": "Identifier", "name": "hideCol", "range": [ - 17486, - 17493 + 18285, + 18292 ], "loc": { "start": { - "line": 602, + "line": 632, "column": 4 }, "end": { - "line": 602, + "line": 632, "column": 11 } } @@ -36109,16 +37882,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17494, - 17502 + 18293, + 18301 ], "loc": { "start": { - "line": 602, + "line": 632, "column": 12 }, "end": { - "line": 602, + "line": 632, "column": 20 } } @@ -36139,16 +37912,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17518, - 17526 + 18317, + 18325 ], "loc": { "start": { - "line": 603, + "line": 633, "column": 12 }, "end": { - "line": 603, + "line": 633, "column": 20 } } @@ -36157,31 +37930,31 @@ "type": "Identifier", "name": "undefined", "range": [ - 17531, - 17540 + 18330, + 18339 ], "loc": { "start": { - "line": 603, + "line": 633, "column": 25 }, "end": { - "line": 603, + "line": 633, "column": 34 } } }, "range": [ - 17518, - 17540 + 18317, + 18339 ], "loc": { "start": { - "line": 603, + "line": 633, "column": 12 }, "end": { - "line": 603, + "line": 633, "column": 34 } } @@ -36194,16 +37967,16 @@ "object": { "type": "ThisExpression", "range": [ - 17544, - 17548 + 18343, + 18347 ], "loc": { "start": { - "line": 603, + "line": 633, "column": 38 }, "end": { - "line": 603, + "line": 633, "column": 42 } } @@ -36212,31 +37985,31 @@ "type": "Identifier", "name": "isColHidden", "range": [ - 17549, - 17560 + 18348, + 18359 ], "loc": { "start": { - "line": 603, + "line": 633, "column": 43 }, "end": { - "line": 603, + "line": 633, "column": 54 } } }, "range": [ - 17544, - 17560 + 18343, + 18359 ], "loc": { "start": { - "line": 603, + "line": 633, "column": 38 }, "end": { - "line": 603, + "line": 633, "column": 54 } } @@ -36246,47 +38019,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17561, - 17569 + 18360, + 18368 ], "loc": { "start": { - "line": 603, + "line": 633, "column": 55 }, "end": { - "line": 603, + "line": 633, "column": 63 } } } ], "range": [ - 17544, - 17570 + 18343, + 18369 ], "loc": { "start": { - "line": 603, + "line": 633, "column": 38 }, "end": { - "line": 603, + "line": 633, "column": 64 } } }, "range": [ - 17518, - 17570 + 18317, + 18369 ], "loc": { "start": { - "line": 603, + "line": 633, "column": 12 }, "end": { - "line": 603, + "line": 633, "column": 64 } } @@ -36298,48 +38071,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 17586, - 17593 + 18385, + 18392 ], "loc": { "start": { - "line": 604, + "line": 634, "column": 12 }, "end": { - "line": 604, + "line": 634, "column": 19 } } } ], "range": [ - 17572, - 17603 + 18371, + 18402 ], "loc": { "start": { - "line": 603, + "line": 633, "column": 66 }, "end": { - "line": 605, + "line": 635, "column": 9 } } }, "alternate": null, "range": [ - 17514, - 17603 + 18313, + 18402 ], "loc": { "start": { - "line": 603, + "line": 633, "column": 8 }, "end": { - "line": 605, + "line": 635, "column": 9 } } @@ -36355,16 +38128,16 @@ "object": { "type": "ThisExpression", "range": [ - 17616, - 17620 + 18415, + 18419 ], "loc": { "start": { - "line": 606, + "line": 636, "column": 12 }, "end": { - "line": 606, + "line": 636, "column": 16 } } @@ -36373,31 +38146,31 @@ "type": "Identifier", "name": "manager", "range": [ - 17621, - 17628 + 18420, + 18427 ], "loc": { "start": { - "line": 606, + "line": 636, "column": 17 }, "end": { - "line": 606, + "line": 636, "column": 24 } } }, "range": [ - 17616, - 17628 + 18415, + 18427 ], "loc": { "start": { - "line": 606, + "line": 636, "column": 12 }, "end": { - "line": 606, + "line": 636, "column": 24 } } @@ -36408,16 +38181,16 @@ "object": { "type": "ThisExpression", "range": [ - 17632, - 17636 + 18431, + 18435 ], "loc": { "start": { - "line": 606, + "line": 636, "column": 28 }, "end": { - "line": 606, + "line": 636, "column": 32 } } @@ -36426,46 +38199,46 @@ "type": "Identifier", "name": "contEl", "range": [ - 17637, - 17643 + 18436, + 18442 ], "loc": { "start": { - "line": 606, + "line": 636, "column": 33 }, "end": { - "line": 606, + "line": 636, "column": 39 } } }, "range": [ - 17632, - 17643 + 18431, + 18442 ], "loc": { "start": { - "line": 606, + "line": 636, "column": 28 }, "end": { - "line": 606, + "line": 636, "column": 39 } } }, "range": [ - 17616, - 17643 + 18415, + 18442 ], "loc": { "start": { - "line": 606, + "line": 636, "column": 12 }, "end": { - "line": 606, + "line": 636, "column": 39 } } @@ -36482,16 +38255,16 @@ "type": "Identifier", "name": "itm", "range": [ - 17663, - 17666 + 18462, + 18465 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 16 }, "end": { - "line": 607, + "line": 637, "column": 19 } } @@ -36502,16 +38275,16 @@ "type": "Identifier", "name": "elm", "range": [ - 17669, - 17672 + 18468, + 18471 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 22 }, "end": { - "line": 607, + "line": 637, "column": 25 } } @@ -36531,16 +38304,16 @@ "value": "col_", "raw": "'col_'", "range": [ - 17673, - 17679 + 18472, + 18478 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 26 }, "end": { - "line": 607, + "line": 637, "column": 32 } } @@ -36549,31 +38322,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17682, - 17690 + 18481, + 18489 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 35 }, "end": { - "line": 607, + "line": 637, "column": 43 } } }, "range": [ - 17673, - 17690 + 18472, + 18489 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 26 }, "end": { - "line": 607, + "line": 637, "column": 43 } } @@ -36583,31 +38356,31 @@ "value": "_", "raw": "'_'", "range": [ - 17693, - 17696 + 18492, + 18495 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 46 }, "end": { - "line": 607, + "line": 637, "column": 49 } } }, "range": [ - 17673, - 17696 + 18472, + 18495 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 26 }, "end": { - "line": 607, + "line": 637, "column": 49 } } @@ -36621,16 +38394,16 @@ "object": { "type": "ThisExpression", "range": [ - 17699, - 17703 + 18498, + 18502 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 52 }, "end": { - "line": 607, + "line": 637, "column": 56 } } @@ -36639,31 +38412,31 @@ "type": "Identifier", "name": "tf", "range": [ - 17704, - 17706 + 18503, + 18505 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 57 }, "end": { - "line": 607, + "line": 637, "column": 59 } } }, "range": [ - 17699, - 17706 + 18498, + 18505 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 52 }, "end": { - "line": 607, + "line": 637, "column": 59 } } @@ -36672,77 +38445,77 @@ "type": "Identifier", "name": "id", "range": [ - 17707, - 17709 + 18506, + 18508 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 60 }, "end": { - "line": 607, + "line": 637, "column": 62 } } }, "range": [ - 17699, - 17709 + 18498, + 18508 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 52 }, "end": { - "line": 607, + "line": 637, "column": 62 } } }, "range": [ - 17673, - 17709 + 18472, + 18508 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 26 }, "end": { - "line": 607, + "line": 637, "column": 62 } } } ], "range": [ - 17669, - 17710 + 18468, + 18509 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 22 }, "end": { - "line": 607, + "line": 637, "column": 63 } } }, "range": [ - 17663, - 17710 + 18462, + 18509 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 16 }, "end": { - "line": 607, + "line": 637, "column": 63 } } @@ -36750,16 +38523,16 @@ ], "kind": "let", "range": [ - 17659, - 17711 + 18458, + 18510 ], "loc": { "start": { - "line": 607, + "line": 637, "column": 12 }, "end": { - "line": 607, + "line": 637, "column": 64 } } @@ -36770,16 +38543,16 @@ "type": "Identifier", "name": "itm", "range": [ - 17728, - 17731 + 18527, + 18530 ], "loc": { "start": { - "line": 608, + "line": 638, "column": 16 }, "end": { - "line": 608, + "line": 638, "column": 19 } } @@ -36798,16 +38571,16 @@ "type": "Identifier", "name": "itm", "range": [ - 17751, - 17754 + 18550, + 18553 ], "loc": { "start": { - "line": 609, + "line": 639, "column": 16 }, "end": { - "line": 609, + "line": 639, "column": 19 } } @@ -36816,110 +38589,110 @@ "type": "Identifier", "name": "click", "range": [ - 17755, - 17760 + 18554, + 18559 ], "loc": { "start": { - "line": 609, + "line": 639, "column": 20 }, "end": { - "line": 609, + "line": 639, "column": 25 } } }, "range": [ - 17751, - 17760 + 18550, + 18559 ], "loc": { "start": { - "line": 609, + "line": 639, "column": 16 }, "end": { - "line": 609, + "line": 639, "column": 25 } } }, "arguments": [], "range": [ - 17751, - 17762 + 18550, + 18561 ], "loc": { "start": { - "line": 609, + "line": 639, "column": 16 }, "end": { - "line": 609, + "line": 639, "column": 27 } } }, "range": [ - 17751, - 17763 + 18550, + 18562 ], "loc": { "start": { - "line": 609, + "line": 639, "column": 16 }, "end": { - "line": 609, + "line": 639, "column": 28 } } } ], "range": [ - 17733, - 17777 + 18532, + 18576 ], "loc": { "start": { - "line": 608, + "line": 638, "column": 21 }, "end": { - "line": 610, + "line": 640, "column": 13 } } }, "alternate": null, "range": [ - 17724, - 17777 + 18523, + 18576 ], "loc": { "start": { - "line": 608, + "line": 638, "column": 12 }, "end": { - "line": 610, + "line": 640, "column": 13 } } } ], "range": [ - 17645, - 17787 + 18444, + 18586 ], "loc": { "start": { - "line": 606, + "line": 636, "column": 41 }, "end": { - "line": 611, + "line": 641, "column": 9 } } @@ -36937,16 +38710,16 @@ "object": { "type": "ThisExpression", "range": [ - 17807, - 17811 + 18606, + 18610 ], "loc": { "start": { - "line": 612, + "line": 642, "column": 12 }, "end": { - "line": 612, + "line": 642, "column": 16 } } @@ -36955,31 +38728,31 @@ "type": "Identifier", "name": "setHidden", "range": [ - 17812, - 17821 + 18611, + 18620 ], "loc": { "start": { - "line": 612, + "line": 642, "column": 17 }, "end": { - "line": 612, + "line": 642, "column": 26 } } }, "range": [ - 17807, - 17821 + 18606, + 18620 ], "loc": { "start": { - "line": 612, + "line": 642, "column": 12 }, "end": { - "line": 612, + "line": 642, "column": 26 } } @@ -36989,16 +38762,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17822, - 17830 + 18621, + 18629 ], "loc": { "start": { - "line": 612, + "line": 642, "column": 27 }, "end": { - "line": 612, + "line": 642, "column": 35 } } @@ -37008,94 +38781,94 @@ "value": true, "raw": "true", "range": [ - 17832, - 17836 + 18631, + 18635 ], "loc": { "start": { - "line": 612, + "line": 642, "column": 37 }, "end": { - "line": 612, + "line": 642, "column": 41 } } } ], "range": [ - 17807, - 17837 + 18606, + 18636 ], "loc": { "start": { - "line": 612, + "line": 642, "column": 12 }, "end": { - "line": 612, + "line": 642, "column": 42 } } }, "range": [ - 17807, - 17838 + 18606, + 18637 ], "loc": { "start": { - "line": 612, + "line": 642, "column": 12 }, "end": { - "line": 612, + "line": 642, "column": 43 } } } ], "range": [ - 17793, - 17848 + 18592, + 18647 ], "loc": { "start": { - "line": 611, + "line": 641, "column": 15 }, "end": { - "line": 613, + "line": 643, "column": 9 } } }, "range": [ - 17612, - 17848 + 18411, + 18647 ], "loc": { "start": { - "line": 606, + "line": 636, "column": 8 }, "end": { - "line": 613, + "line": 643, "column": 9 } } } ], "range": [ - 17504, - 17854 + 18303, + 18653 ], "loc": { "start": { - "line": 602, + "line": 632, "column": 22 }, "end": { - "line": 614, + "line": 644, "column": 5 } } @@ -37103,16 +38876,16 @@ "generator": false, "expression": false, "range": [ - 17493, - 17854 + 18292, + 18653 ], "loc": { "start": { - "line": 602, + "line": 632, "column": 11 }, "end": { - "line": 614, + "line": 644, "column": 5 } } @@ -37120,16 +38893,16 @@ "kind": "method", "computed": false, "range": [ - 17486, - 17854 + 18285, + 18653 ], "loc": { "start": { - "line": 602, + "line": 632, "column": 4 }, "end": { - "line": 614, + "line": 644, "column": 5 } }, @@ -37138,16 +38911,16 @@ "type": "Block", "value": "*\n * Hide specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 17395, - 17481 + 18194, + 18280 ], "loc": { "start": { - "line": 598, + "line": 628, "column": 4 }, "end": { - "line": 601, + "line": 631, "column": 7 } } @@ -37158,16 +38931,16 @@ "type": "Block", "value": "*\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n ", "range": [ - 17860, - 17964 + 18659, + 18763 ], "loc": { "start": { - "line": 616, + "line": 646, "column": 4 }, "end": { - "line": 619, + "line": 649, "column": 7 } } @@ -37181,16 +38954,16 @@ "type": "Identifier", "name": "isColHidden", "range": [ - 17969, - 17980 + 18768, + 18779 ], "loc": { "start": { - "line": 620, + "line": 650, "column": 4 }, "end": { - "line": 620, + "line": 650, "column": 15 } } @@ -37203,16 +38976,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17981, - 17989 + 18780, + 18788 ], "loc": { "start": { - "line": 620, + "line": 650, "column": 16 }, "end": { - "line": 620, + "line": 650, "column": 24 } } @@ -37237,16 +39010,16 @@ "object": { "type": "ThisExpression", "range": [ - 18005, - 18009 + 18804, + 18808 ], "loc": { "start": { - "line": 621, + "line": 651, "column": 12 }, "end": { - "line": 621, + "line": 651, "column": 16 } } @@ -37255,31 +39028,31 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 18010, - 18020 + 18809, + 18819 ], "loc": { "start": { - "line": 621, + "line": 651, "column": 17 }, "end": { - "line": 621, + "line": 651, "column": 27 } } }, "range": [ - 18005, - 18020 + 18804, + 18819 ], "loc": { "start": { - "line": 621, + "line": 651, "column": 12 }, "end": { - "line": 621, + "line": 651, "column": 27 } } @@ -37288,31 +39061,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 18021, - 18028 + 18820, + 18827 ], "loc": { "start": { - "line": 621, + "line": 651, "column": 28 }, "end": { - "line": 621, + "line": 651, "column": 35 } } }, "range": [ - 18005, - 18028 + 18804, + 18827 ], "loc": { "start": { - "line": 621, + "line": 651, "column": 12 }, "end": { - "line": 621, + "line": 651, "column": 35 } } @@ -37322,32 +39095,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 18029, - 18037 + 18828, + 18836 ], "loc": { "start": { - "line": 621, + "line": 651, "column": 36 }, "end": { - "line": 621, + "line": 651, "column": 44 } } } ], "range": [ - 18005, - 18038 + 18804, + 18837 ], "loc": { "start": { - "line": 621, + "line": 651, "column": 12 }, "end": { - "line": 621, + "line": 651, "column": 45 } } @@ -37360,47 +39133,47 @@ "value": 1, "raw": "1", "range": [ - 18044, - 18045 + 18843, + 18844 ], "loc": { "start": { - "line": 621, + "line": 651, "column": 51 }, "end": { - "line": 621, + "line": 651, "column": 52 } } }, "prefix": true, "range": [ - 18043, - 18045 + 18842, + 18844 ], "loc": { "start": { - "line": 621, + "line": 651, "column": 50 }, "end": { - "line": 621, + "line": 651, "column": 52 } } }, "range": [ - 18005, - 18045 + 18804, + 18844 ], "loc": { "start": { - "line": 621, + "line": 651, "column": 12 }, "end": { - "line": 621, + "line": 651, "column": 52 } } @@ -37415,63 +39188,63 @@ "value": true, "raw": "true", "range": [ - 18068, - 18072 + 18867, + 18871 ], "loc": { "start": { - "line": 622, + "line": 652, "column": 19 }, "end": { - "line": 622, + "line": 652, "column": 23 } } }, "range": [ - 18061, - 18073 + 18860, + 18872 ], "loc": { "start": { - "line": 622, + "line": 652, "column": 12 }, "end": { - "line": 622, + "line": 652, "column": 24 } } } ], "range": [ - 18047, - 18083 + 18846, + 18882 ], "loc": { "start": { - "line": 621, + "line": 651, "column": 54 }, "end": { - "line": 623, + "line": 653, "column": 9 } } }, "alternate": null, "range": [ - 18001, - 18083 + 18800, + 18882 ], "loc": { "start": { - "line": 621, + "line": 651, "column": 8 }, "end": { - "line": 623, + "line": 653, "column": 9 } } @@ -37483,47 +39256,47 @@ "value": false, "raw": "false", "range": [ - 18099, - 18104 + 18898, + 18903 ], "loc": { "start": { - "line": 624, + "line": 654, "column": 15 }, "end": { - "line": 624, + "line": 654, "column": 20 } } }, "range": [ - 18092, - 18105 + 18891, + 18904 ], "loc": { "start": { - "line": 624, + "line": 654, "column": 8 }, "end": { - "line": 624, + "line": 654, "column": 21 } } } ], "range": [ - 17991, - 18111 + 18790, + 18910 ], "loc": { "start": { - "line": 620, + "line": 650, "column": 26 }, "end": { - "line": 625, + "line": 655, "column": 5 } } @@ -37531,16 +39304,16 @@ "generator": false, "expression": false, "range": [ - 17980, - 18111 + 18779, + 18910 ], "loc": { "start": { - "line": 620, + "line": 650, "column": 15 }, "end": { - "line": 625, + "line": 655, "column": 5 } } @@ -37548,16 +39321,16 @@ "kind": "method", "computed": false, "range": [ - 17969, - 18111 + 18768, + 18910 ], "loc": { "start": { - "line": 620, + "line": 650, "column": 4 }, "end": { - "line": 625, + "line": 655, "column": 5 } }, @@ -37566,16 +39339,16 @@ "type": "Block", "value": "*\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n ", "range": [ - 17860, - 17964 + 18659, + 18763 ], "loc": { "start": { - "line": 616, + "line": 646, "column": 4 }, "end": { - "line": 619, + "line": 649, "column": 7 } } @@ -37586,16 +39359,16 @@ "type": "Block", "value": "*\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 18117, - 18219 + 18916, + 19018 ], "loc": { "start": { - "line": 627, + "line": 657, "column": 4 }, "end": { - "line": 630, + "line": 660, "column": 7 } } @@ -37609,16 +39382,16 @@ "type": "Identifier", "name": "toggleCol", "range": [ - 18224, - 18233 + 19023, + 19032 ], "loc": { "start": { - "line": 631, + "line": 661, "column": 4 }, "end": { - "line": 631, + "line": 661, "column": 13 } } @@ -37631,16 +39404,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 18234, - 18242 + 19033, + 19041 ], "loc": { "start": { - "line": 631, + "line": 661, "column": 14 }, "end": { - "line": 631, + "line": 661, "column": 22 } } @@ -37661,16 +39434,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 18258, - 18266 + 19057, + 19065 ], "loc": { "start": { - "line": 632, + "line": 662, "column": 12 }, "end": { - "line": 632, + "line": 662, "column": 20 } } @@ -37679,31 +39452,31 @@ "type": "Identifier", "name": "undefined", "range": [ - 18271, - 18280 + 19070, + 19079 ], "loc": { "start": { - "line": 632, + "line": 662, "column": 25 }, "end": { - "line": 632, + "line": 662, "column": 34 } } }, "range": [ - 18258, - 18280 + 19057, + 19079 ], "loc": { "start": { - "line": 632, + "line": 662, "column": 12 }, "end": { - "line": 632, + "line": 662, "column": 34 } } @@ -37716,16 +39489,16 @@ "object": { "type": "ThisExpression", "range": [ - 18284, - 18288 + 19083, + 19087 ], "loc": { "start": { - "line": 632, + "line": 662, "column": 38 }, "end": { - "line": 632, + "line": 662, "column": 42 } } @@ -37734,31 +39507,31 @@ "type": "Identifier", "name": "isColHidden", "range": [ - 18289, - 18300 + 19088, + 19099 ], "loc": { "start": { - "line": 632, + "line": 662, "column": 43 }, "end": { - "line": 632, + "line": 662, "column": 54 } } }, "range": [ - 18284, - 18300 + 19083, + 19099 ], "loc": { "start": { - "line": 632, + "line": 662, "column": 38 }, "end": { - "line": 632, + "line": 662, "column": 54 } } @@ -37768,47 +39541,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 18301, - 18309 + 19100, + 19108 ], "loc": { "start": { - "line": 632, + "line": 662, "column": 55 }, "end": { - "line": 632, + "line": 662, "column": 63 } } } ], "range": [ - 18284, - 18310 + 19083, + 19109 ], "loc": { "start": { - "line": 632, + "line": 662, "column": 38 }, "end": { - "line": 632, + "line": 662, "column": 64 } } }, "range": [ - 18258, - 18310 + 19057, + 19109 ], "loc": { "start": { - "line": 632, + "line": 662, "column": 12 }, "end": { - "line": 632, + "line": 662, "column": 64 } } @@ -37826,16 +39599,16 @@ "object": { "type": "ThisExpression", "range": [ - 18326, - 18330 + 19125, + 19129 ], "loc": { "start": { - "line": 633, + "line": 663, "column": 12 }, "end": { - "line": 633, + "line": 663, "column": 16 } } @@ -37844,31 +39617,31 @@ "type": "Identifier", "name": "showCol", "range": [ - 18331, - 18338 + 19130, + 19137 ], "loc": { "start": { - "line": 633, + "line": 663, "column": 17 }, "end": { - "line": 633, + "line": 663, "column": 24 } } }, "range": [ - 18326, - 18338 + 19125, + 19137 ], "loc": { "start": { - "line": 633, + "line": 663, "column": 12 }, "end": { - "line": 633, + "line": 663, "column": 24 } } @@ -37878,63 +39651,63 @@ "type": "Identifier", "name": "colIndex", "range": [ - 18339, - 18347 + 19138, + 19146 ], "loc": { "start": { - "line": 633, + "line": 663, "column": 25 }, "end": { - "line": 633, + "line": 663, "column": 33 } } } ], "range": [ - 18326, - 18348 + 19125, + 19147 ], "loc": { "start": { - "line": 633, + "line": 663, "column": 12 }, "end": { - "line": 633, + "line": 663, "column": 34 } } }, "range": [ - 18326, - 18349 + 19125, + 19148 ], "loc": { "start": { - "line": 633, + "line": 663, "column": 12 }, "end": { - "line": 633, + "line": 663, "column": 35 } } } ], "range": [ - 18312, - 18359 + 19111, + 19158 ], "loc": { "start": { - "line": 632, + "line": 662, "column": 66 }, "end": { - "line": 634, + "line": 664, "column": 9 } } @@ -37952,16 +39725,16 @@ "object": { "type": "ThisExpression", "range": [ - 18379, - 18383 + 19178, + 19182 ], "loc": { "start": { - "line": 635, + "line": 665, "column": 12 }, "end": { - "line": 635, + "line": 665, "column": 16 } } @@ -37970,31 +39743,31 @@ "type": "Identifier", "name": "hideCol", "range": [ - 18384, - 18391 + 19183, + 19190 ], "loc": { "start": { - "line": 635, + "line": 665, "column": 17 }, "end": { - "line": 635, + "line": 665, "column": 24 } } }, "range": [ - 18379, - 18391 + 19178, + 19190 ], "loc": { "start": { - "line": 635, + "line": 665, "column": 12 }, "end": { - "line": 635, + "line": 665, "column": 24 } } @@ -38004,94 +39777,94 @@ "type": "Identifier", "name": "colIndex", "range": [ - 18392, - 18400 + 19191, + 19199 ], "loc": { "start": { - "line": 635, + "line": 665, "column": 25 }, "end": { - "line": 635, + "line": 665, "column": 33 } } } ], "range": [ - 18379, - 18401 + 19178, + 19200 ], "loc": { "start": { - "line": 635, + "line": 665, "column": 12 }, "end": { - "line": 635, + "line": 665, "column": 34 } } }, "range": [ - 18379, - 18402 + 19178, + 19201 ], "loc": { "start": { - "line": 635, + "line": 665, "column": 12 }, "end": { - "line": 635, + "line": 665, "column": 35 } } } ], "range": [ - 18365, - 18412 + 19164, + 19211 ], "loc": { "start": { - "line": 634, + "line": 664, "column": 15 }, "end": { - "line": 636, + "line": 666, "column": 9 } } }, "range": [ - 18254, - 18412 + 19053, + 19211 ], "loc": { "start": { - "line": 632, + "line": 662, "column": 8 }, "end": { - "line": 636, + "line": 666, "column": 9 } } } ], "range": [ - 18244, - 18418 + 19043, + 19217 ], "loc": { "start": { - "line": 631, + "line": 661, "column": 24 }, "end": { - "line": 637, + "line": 667, "column": 5 } } @@ -38099,16 +39872,16 @@ "generator": false, "expression": false, "range": [ - 18233, - 18418 + 19032, + 19217 ], "loc": { "start": { - "line": 631, + "line": 661, "column": 13 }, "end": { - "line": 637, + "line": 667, "column": 5 } } @@ -38116,16 +39889,16 @@ "kind": "method", "computed": false, "range": [ - 18224, - 18418 + 19023, + 19217 ], "loc": { "start": { - "line": 631, + "line": 661, "column": 4 }, "end": { - "line": 637, + "line": 667, "column": 5 } }, @@ -38134,16 +39907,16 @@ "type": "Block", "value": "*\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 18117, - 18219 + 18916, + 19018 ], "loc": { "start": { - "line": 627, + "line": 657, "column": 4 }, "end": { - "line": 630, + "line": 660, "column": 7 } } @@ -38154,16 +39927,16 @@ "type": "Block", "value": "*\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n ", "range": [ - 18424, - 18531 + 19223, + 19330 ], "loc": { "start": { - "line": 639, + "line": 669, "column": 4 }, "end": { - "line": 642, + "line": 672, "column": 7 } } @@ -38177,16 +39950,16 @@ "type": "Identifier", "name": "getHiddenCols", "range": [ - 18536, - 18549 + 19335, + 19348 ], "loc": { "start": { - "line": 643, + "line": 673, "column": 4 }, "end": { - "line": 643, + "line": 673, "column": 17 } } @@ -38206,16 +39979,16 @@ "object": { "type": "ThisExpression", "range": [ - 18569, - 18573 + 19368, + 19372 ], "loc": { "start": { - "line": 644, + "line": 674, "column": 15 }, "end": { - "line": 644, + "line": 674, "column": 19 } } @@ -38224,62 +39997,62 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 18574, - 18584 + 19373, + 19383 ], "loc": { "start": { - "line": 644, + "line": 674, "column": 20 }, "end": { - "line": 644, + "line": 674, "column": 30 } } }, "range": [ - 18569, - 18584 + 19368, + 19383 ], "loc": { "start": { - "line": 644, + "line": 674, "column": 15 }, "end": { - "line": 644, + "line": 674, "column": 30 } } }, "range": [ - 18562, - 18585 + 19361, + 19384 ], "loc": { "start": { - "line": 644, + "line": 674, "column": 8 }, "end": { - "line": 644, + "line": 674, "column": 31 } } } ], "range": [ - 18552, - 18591 + 19351, + 19390 ], "loc": { "start": { - "line": 643, + "line": 673, "column": 20 }, "end": { - "line": 645, + "line": 675, "column": 5 } } @@ -38287,16 +40060,16 @@ "generator": false, "expression": false, "range": [ - 18549, - 18591 + 19348, + 19390 ], "loc": { "start": { - "line": 643, + "line": 673, "column": 17 }, "end": { - "line": 645, + "line": 675, "column": 5 } } @@ -38304,16 +40077,16 @@ "kind": "method", "computed": false, "range": [ - 18536, - 18591 + 19335, + 19390 ], "loc": { "start": { - "line": 643, + "line": 673, "column": 4 }, "end": { - "line": 645, + "line": 675, "column": 5 } }, @@ -38322,16 +40095,16 @@ "type": "Block", "value": "*\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n ", "range": [ - 18424, - 18531 + 19223, + 19330 ], "loc": { "start": { - "line": 639, + "line": 669, "column": 4 }, "end": { - "line": 642, + "line": 672, "column": 7 } } @@ -38342,16 +40115,16 @@ "type": "Block", "value": "*\n * Remove the columns manager\n ", "range": [ - 18597, - 18642 + 19396, + 19441 ], "loc": { "start": { - "line": 647, + "line": 677, "column": 4 }, "end": { - "line": 649, + "line": 679, "column": 7 } } @@ -38365,16 +40138,16 @@ "type": "Identifier", "name": "destroy", "range": [ - 18647, - 18654 + 19446, + 19453 ], "loc": { "start": { - "line": 650, + "line": 680, "column": 4 }, "end": { - "line": 650, + "line": 680, "column": 11 } } @@ -38397,16 +40170,16 @@ "object": { "type": "ThisExpression", "range": [ - 18672, - 18676 + 19471, + 19475 ], "loc": { "start": { - "line": 651, + "line": 681, "column": 13 }, "end": { - "line": 651, + "line": 681, "column": 17 } } @@ -38415,47 +40188,47 @@ "type": "Identifier", "name": "initialized", "range": [ - 18677, - 18688 + 19476, + 19487 ], "loc": { "start": { - "line": 651, + "line": 681, "column": 18 }, "end": { - "line": 651, + "line": 681, "column": 29 } } }, "range": [ - 18672, - 18688 + 19471, + 19487 ], "loc": { "start": { - "line": 651, + "line": 681, "column": 13 }, "end": { - "line": 651, + "line": 681, "column": 29 } } }, "prefix": true, "range": [ - 18671, - 18688 + 19470, + 19487 ], "loc": { "start": { - "line": 651, + "line": 681, "column": 12 }, "end": { - "line": 651, + "line": 681, "column": 29 } } @@ -38467,48 +40240,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 18704, - 18711 + 19503, + 19510 ], "loc": { "start": { - "line": 652, + "line": 682, "column": 12 }, "end": { - "line": 652, + "line": 682, "column": 19 } } } ], "range": [ - 18690, - 18721 + 19489, + 19520 ], "loc": { "start": { - "line": 651, + "line": 681, "column": 31 }, "end": { - "line": 653, + "line": 683, "column": 9 } } }, "alternate": null, "range": [ - 18667, - 18721 + 19466, + 19520 ], "loc": { "start": { - "line": 651, + "line": 681, "column": 8 }, "end": { - "line": 653, + "line": 683, "column": 9 } } @@ -38521,16 +40294,16 @@ "type": "Identifier", "name": "elm", "range": [ - 18734, - 18737 + 19533, + 19536 ], "loc": { "start": { - "line": 654, + "line": 684, "column": 12 }, "end": { - "line": 654, + "line": 684, "column": 15 } } @@ -38542,16 +40315,16 @@ "object": { "type": "ThisExpression", "range": [ - 18738, - 18742 + 19537, + 19541 ], "loc": { "start": { - "line": 654, + "line": 684, "column": 16 }, "end": { - "line": 654, + "line": 684, "column": 20 } } @@ -38560,47 +40333,47 @@ "type": "Identifier", "name": "contElTgtId", "range": [ - 18743, - 18754 + 19542, + 19553 ], "loc": { "start": { - "line": 654, + "line": 684, "column": 21 }, "end": { - "line": 654, + "line": 684, "column": 32 } } }, "range": [ - 18738, - 18754 + 19537, + 19553 ], "loc": { "start": { - "line": 654, + "line": 684, "column": 16 }, "end": { - "line": 654, + "line": 684, "column": 32 } } } ], "range": [ - 18734, - 18755 + 19533, + 19554 ], "loc": { "start": { - "line": 654, + "line": 684, "column": 12 }, "end": { - "line": 654, + "line": 684, "column": 33 } } @@ -38622,16 +40395,16 @@ "type": "Identifier", "name": "elm", "range": [ - 18771, - 18774 + 19570, + 19573 ], "loc": { "start": { - "line": 655, + "line": 685, "column": 12 }, "end": { - "line": 655, + "line": 685, "column": 15 } } @@ -38643,16 +40416,16 @@ "object": { "type": "ThisExpression", "range": [ - 18775, - 18779 + 19574, + 19578 ], "loc": { "start": { - "line": 655, + "line": 685, "column": 16 }, "end": { - "line": 655, + "line": 685, "column": 20 } } @@ -38661,47 +40434,47 @@ "type": "Identifier", "name": "contElTgtId", "range": [ - 18780, - 18791 + 19579, + 19590 ], "loc": { "start": { - "line": 655, + "line": 685, "column": 21 }, "end": { - "line": 655, + "line": 685, "column": 32 } } }, "range": [ - 18775, - 18791 + 19574, + 19590 ], "loc": { "start": { - "line": 655, + "line": 685, "column": 16 }, "end": { - "line": 655, + "line": 685, "column": 32 } } } ], "range": [ - 18771, - 18792 + 19570, + 19591 ], "loc": { "start": { - "line": 655, + "line": 685, "column": 12 }, "end": { - "line": 655, + "line": 685, "column": 33 } } @@ -38710,31 +40483,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 18793, - 18802 + 19592, + 19601 ], "loc": { "start": { - "line": 655, + "line": 685, "column": 34 }, "end": { - "line": 655, + "line": 685, "column": 43 } } }, "range": [ - 18771, - 18802 + 19570, + 19601 ], "loc": { "start": { - "line": 655, + "line": 685, "column": 12 }, "end": { - "line": 655, + "line": 685, "column": 43 } } @@ -38744,62 +40517,62 @@ "value": "", "raw": "''", "range": [ - 18805, - 18807 + 19604, + 19606 ], "loc": { "start": { - "line": 655, + "line": 685, "column": 46 }, "end": { - "line": 655, + "line": 685, "column": 48 } } }, "range": [ - 18771, - 18807 + 19570, + 19606 ], "loc": { "start": { - "line": 655, + "line": 685, "column": 12 }, "end": { - "line": 655, + "line": 685, "column": 48 } } }, "range": [ - 18771, - 18808 + 19570, + 19607 ], "loc": { "start": { - "line": 655, + "line": 685, "column": 12 }, "end": { - "line": 655, + "line": 685, "column": 49 } } } ], "range": [ - 18757, - 18818 + 19556, + 19617 ], "loc": { "start": { - "line": 654, + "line": 684, "column": 35 }, "end": { - "line": 656, + "line": 686, "column": 9 } } @@ -38821,16 +40594,16 @@ "object": { "type": "ThisExpression", "range": [ - 18838, - 18842 + 19637, + 19641 ], "loc": { "start": { - "line": 657, + "line": 687, "column": 12 }, "end": { - "line": 657, + "line": 687, "column": 16 } } @@ -38839,31 +40612,31 @@ "type": "Identifier", "name": "contEl", "range": [ - 18843, - 18849 + 19642, + 19648 ], "loc": { "start": { - "line": 657, + "line": 687, "column": 17 }, "end": { - "line": 657, + "line": 687, "column": 23 } } }, "range": [ - 18838, - 18849 + 19637, + 19648 ], "loc": { "start": { - "line": 657, + "line": 687, "column": 12 }, "end": { - "line": 657, + "line": 687, "column": 23 } } @@ -38872,31 +40645,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 18850, - 18859 + 19649, + 19658 ], "loc": { "start": { - "line": 657, + "line": 687, "column": 24 }, "end": { - "line": 657, + "line": 687, "column": 33 } } }, "range": [ - 18838, - 18859 + 19637, + 19658 ], "loc": { "start": { - "line": 657, + "line": 687, "column": 12 }, "end": { - "line": 657, + "line": 687, "column": 33 } } @@ -38906,46 +40679,46 @@ "value": "", "raw": "''", "range": [ - 18862, - 18864 + 19661, + 19663 ], "loc": { "start": { - "line": 657, + "line": 687, "column": 36 }, "end": { - "line": 657, + "line": 687, "column": 38 } } }, "range": [ - 18838, - 18864 + 19637, + 19663 ], "loc": { "start": { - "line": 657, + "line": 687, "column": 12 }, "end": { - "line": 657, + "line": 687, "column": 38 } } }, "range": [ - 18838, - 18865 + 19637, + 19664 ], "loc": { "start": { - "line": 657, + "line": 687, "column": 12 }, "end": { - "line": 657, + "line": 687, "column": 39 } } @@ -38958,16 +40731,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 18878, - 18887 + 19677, + 19686 ], "loc": { "start": { - "line": 658, + "line": 688, "column": 12 }, "end": { - "line": 658, + "line": 688, "column": 21 } } @@ -38979,16 +40752,16 @@ "object": { "type": "ThisExpression", "range": [ - 18888, - 18892 + 19687, + 19691 ], "loc": { "start": { - "line": 658, + "line": 688, "column": 22 }, "end": { - "line": 658, + "line": 688, "column": 26 } } @@ -38997,62 +40770,62 @@ "type": "Identifier", "name": "contEl", "range": [ - 18893, - 18899 + 19692, + 19698 ], "loc": { "start": { - "line": 658, + "line": 688, "column": 27 }, "end": { - "line": 658, + "line": 688, "column": 33 } } }, "range": [ - 18888, - 18899 + 19687, + 19698 ], "loc": { "start": { - "line": 658, + "line": 688, "column": 22 }, "end": { - "line": 658, + "line": 688, "column": 33 } } } ], "range": [ - 18878, - 18900 + 19677, + 19699 ], "loc": { "start": { - "line": 658, + "line": 688, "column": 12 }, "end": { - "line": 658, + "line": 688, "column": 34 } } }, "range": [ - 18878, - 18901 + 19677, + 19700 ], "loc": { "start": { - "line": 658, + "line": 688, "column": 12 }, "end": { - "line": 658, + "line": 688, "column": 35 } } @@ -39068,16 +40841,16 @@ "object": { "type": "ThisExpression", "range": [ - 18914, - 18918 + 19713, + 19717 ], "loc": { "start": { - "line": 659, + "line": 689, "column": 12 }, "end": { - "line": 659, + "line": 689, "column": 16 } } @@ -39086,31 +40859,31 @@ "type": "Identifier", "name": "contEl", "range": [ - 18919, - 18925 + 19718, + 19724 ], "loc": { "start": { - "line": 659, + "line": 689, "column": 17 }, "end": { - "line": 659, + "line": 689, "column": 23 } } }, "range": [ - 18914, - 18925 + 19713, + 19724 ], "loc": { "start": { - "line": 659, + "line": 689, "column": 12 }, "end": { - "line": 659, + "line": 689, "column": 23 } } @@ -39120,77 +40893,77 @@ "value": null, "raw": "null", "range": [ - 18928, - 18932 + 19727, + 19731 ], "loc": { "start": { - "line": 659, + "line": 689, "column": 26 }, "end": { - "line": 659, + "line": 689, "column": 30 } } }, "range": [ - 18914, - 18932 + 19713, + 19731 ], "loc": { "start": { - "line": 659, + "line": 689, "column": 12 }, "end": { - "line": 659, + "line": 689, "column": 30 } } }, "range": [ - 18914, - 18933 + 19713, + 19732 ], "loc": { "start": { - "line": 659, + "line": 689, "column": 12 }, "end": { - "line": 659, + "line": 689, "column": 31 } } } ], "range": [ - 18824, - 18943 + 19623, + 19742 ], "loc": { "start": { - "line": 656, + "line": 686, "column": 15 }, "end": { - "line": 660, + "line": 690, "column": 9 } } }, "range": [ - 18730, - 18943 + 19529, + 19742 ], "loc": { "start": { - "line": 654, + "line": 684, "column": 8 }, "end": { - "line": 660, + "line": 690, "column": 9 } } @@ -39209,16 +40982,16 @@ "object": { "type": "ThisExpression", "range": [ - 18952, - 18956 + 19751, + 19755 ], "loc": { "start": { - "line": 661, + "line": 691, "column": 8 }, "end": { - "line": 661, + "line": 691, "column": 12 } } @@ -39227,31 +41000,31 @@ "type": "Identifier", "name": "btnEl", "range": [ - 18957, - 18962 + 19756, + 19761 ], "loc": { "start": { - "line": 661, + "line": 691, "column": 13 }, "end": { - "line": 661, + "line": 691, "column": 18 } } }, "range": [ - 18952, - 18962 + 19751, + 19761 ], "loc": { "start": { - "line": 661, + "line": 691, "column": 8 }, "end": { - "line": 661, + "line": 691, "column": 18 } } @@ -39260,31 +41033,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 18963, - 18972 + 19762, + 19771 ], "loc": { "start": { - "line": 661, + "line": 691, "column": 19 }, "end": { - "line": 661, + "line": 691, "column": 28 } } }, "range": [ - 18952, - 18972 + 19751, + 19771 ], "loc": { "start": { - "line": 661, + "line": 691, "column": 8 }, "end": { - "line": 661, + "line": 691, "column": 28 } } @@ -39294,46 +41067,46 @@ "value": "", "raw": "''", "range": [ - 18975, - 18977 + 19774, + 19776 ], "loc": { "start": { - "line": 661, + "line": 691, "column": 31 }, "end": { - "line": 661, + "line": 691, "column": 33 } } }, "range": [ - 18952, - 18977 + 19751, + 19776 ], "loc": { "start": { - "line": 661, + "line": 691, "column": 8 }, "end": { - "line": 661, + "line": 691, "column": 33 } } }, "range": [ - 18952, - 18978 + 19751, + 19777 ], "loc": { "start": { - "line": 661, + "line": 691, "column": 8 }, "end": { - "line": 661, + "line": 691, "column": 34 } } @@ -39346,16 +41119,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 18987, - 18996 + 19786, + 19795 ], "loc": { "start": { - "line": 662, + "line": 692, "column": 8 }, "end": { - "line": 662, + "line": 692, "column": 17 } } @@ -39367,16 +41140,16 @@ "object": { "type": "ThisExpression", "range": [ - 18997, - 19001 + 19796, + 19800 ], "loc": { "start": { - "line": 662, + "line": 692, "column": 18 }, "end": { - "line": 662, + "line": 692, "column": 22 } } @@ -39385,62 +41158,62 @@ "type": "Identifier", "name": "btnEl", "range": [ - 19002, - 19007 + 19801, + 19806 ], "loc": { "start": { - "line": 662, + "line": 692, "column": 23 }, "end": { - "line": 662, + "line": 692, "column": 28 } } }, "range": [ - 18997, - 19007 + 19796, + 19806 ], "loc": { "start": { - "line": 662, + "line": 692, "column": 18 }, "end": { - "line": 662, + "line": 692, "column": 28 } } } ], "range": [ - 18987, - 19008 + 19786, + 19807 ], "loc": { "start": { - "line": 662, + "line": 692, "column": 8 }, "end": { - "line": 662, + "line": 692, "column": 29 } } }, "range": [ - 18987, - 19009 + 19786, + 19808 ], "loc": { "start": { - "line": 662, + "line": 692, "column": 8 }, "end": { - "line": 662, + "line": 692, "column": 30 } } @@ -39456,16 +41229,16 @@ "object": { "type": "ThisExpression", "range": [ - 19018, - 19022 + 19817, + 19821 ], "loc": { "start": { - "line": 663, + "line": 693, "column": 8 }, "end": { - "line": 663, + "line": 693, "column": 12 } } @@ -39474,31 +41247,31 @@ "type": "Identifier", "name": "btnEl", "range": [ - 19023, - 19028 + 19822, + 19827 ], "loc": { "start": { - "line": 663, + "line": 693, "column": 13 }, "end": { - "line": 663, + "line": 693, "column": 18 } } }, "range": [ - 19018, - 19028 + 19817, + 19827 ], "loc": { "start": { - "line": 663, + "line": 693, "column": 8 }, "end": { - "line": 663, + "line": 693, "column": 18 } } @@ -39508,46 +41281,46 @@ "value": null, "raw": "null", "range": [ - 19031, - 19035 + 19830, + 19834 ], "loc": { "start": { - "line": 663, + "line": 693, "column": 21 }, "end": { - "line": 663, + "line": 693, "column": 25 } } }, "range": [ - 19018, - 19035 + 19817, + 19834 ], "loc": { "start": { - "line": 663, + "line": 693, "column": 8 }, "end": { - "line": 663, + "line": 693, "column": 25 } } }, "range": [ - 19018, - 19036 + 19817, + 19835 ], "loc": { "start": { - "line": 663, + "line": 693, "column": 8 }, "end": { - "line": 663, + "line": 693, "column": 26 } } @@ -39565,16 +41338,16 @@ "object": { "type": "ThisExpression", "range": [ - 19046, - 19050 + 19845, + 19849 ], "loc": { "start": { - "line": 665, + "line": 695, "column": 8 }, "end": { - "line": 665, + "line": 695, "column": 12 } } @@ -39583,31 +41356,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 19051, - 19058 + 19850, + 19857 ], "loc": { "start": { - "line": 665, + "line": 695, "column": 13 }, "end": { - "line": 665, + "line": 695, "column": 20 } } }, "range": [ - 19046, - 19058 + 19845, + 19857 ], "loc": { "start": { - "line": 665, + "line": 695, "column": 8 }, "end": { - "line": 665, + "line": 695, "column": 20 } } @@ -39616,31 +41389,31 @@ "type": "Identifier", "name": "off", "range": [ - 19059, - 19062 + 19858, + 19861 ], "loc": { "start": { - "line": 665, + "line": 695, "column": 21 }, "end": { - "line": 665, + "line": 695, "column": 24 } } }, "range": [ - 19046, - 19062 + 19845, + 19861 ], "loc": { "start": { - "line": 665, + "line": 695, "column": 8 }, "end": { - "line": 665, + "line": 695, "column": 24 } } @@ -39654,32 +41427,32 @@ "value": "hide-column", "raw": "'hide-column'", "range": [ - 19064, - 19077 + 19863, + 19876 ], "loc": { "start": { - "line": 665, + "line": 695, "column": 26 }, "end": { - "line": 665, + "line": 695, "column": 39 } } } ], "range": [ - 19063, - 19078 + 19862, + 19877 ], "loc": { "start": { - "line": 665, + "line": 695, "column": 25 }, "end": { - "line": 665, + "line": 695, "column": 40 } } @@ -39692,16 +41465,16 @@ "type": "Identifier", "name": "tf", "range": [ - 19093, - 19095 + 19892, + 19894 ], "loc": { "start": { - "line": 666, + "line": 696, "column": 13 }, "end": { - "line": 666, + "line": 696, "column": 15 } } @@ -39710,16 +41483,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 19097, - 19105 + 19896, + 19904 ], "loc": { "start": { - "line": 666, + "line": 696, "column": 17 }, "end": { - "line": 666, + "line": 696, "column": 25 } } @@ -39733,16 +41506,16 @@ "object": { "type": "ThisExpression", "range": [ - 19110, - 19114 + 19909, + 19913 ], "loc": { "start": { - "line": 666, + "line": 696, "column": 30 }, "end": { - "line": 666, + "line": 696, "column": 34 } } @@ -39751,31 +41524,31 @@ "type": "Identifier", "name": "hideCol", "range": [ - 19115, - 19122 + 19914, + 19921 ], "loc": { "start": { - "line": 666, + "line": 696, "column": 35 }, "end": { - "line": 666, + "line": 696, "column": 42 } } }, "range": [ - 19110, - 19122 + 19909, + 19921 ], "loc": { "start": { - "line": 666, + "line": 696, "column": 30 }, "end": { - "line": 666, + "line": 696, "column": 42 } } @@ -39785,32 +41558,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 19123, - 19131 + 19922, + 19930 ], "loc": { "start": { - "line": 666, + "line": 696, "column": 43 }, "end": { - "line": 666, + "line": 696, "column": 51 } } } ], "range": [ - 19110, - 19132 + 19909, + 19931 ], "loc": { "start": { - "line": 666, + "line": 696, "column": 30 }, "end": { - "line": 666, + "line": 696, "column": 52 } } @@ -39818,47 +41591,47 @@ "generator": false, "expression": true, "range": [ - 19092, - 19132 + 19891, + 19931 ], "loc": { "start": { - "line": 666, + "line": 696, "column": 12 }, "end": { - "line": 666, + "line": 696, "column": 52 } } } ], "range": [ - 19046, - 19133 + 19845, + 19932 ], "loc": { "start": { - "line": 665, + "line": 695, "column": 8 }, "end": { - "line": 666, + "line": 696, "column": 53 } } }, "range": [ - 19046, - 19134 + 19845, + 19933 ], "loc": { "start": { - "line": 665, + "line": 695, "column": 8 }, "end": { - "line": 666, + "line": 696, "column": 54 } } @@ -39874,16 +41647,123 @@ "object": { "type": "ThisExpression", "range": [ - 19144, - 19148 + 19943, + 19947 ], "loc": { "start": { - "line": 668, + "line": 698, "column": 8 }, "end": { - "line": 668, + "line": 698, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 19948, + 19960 + ], + "loc": { + "start": { + "line": 698, + "column": 13 + }, + "end": { + "line": 698, + "column": 25 + } + } + }, + "range": [ + 19943, + 19960 + ], + "loc": { + "start": { + "line": 698, + "column": 8 + }, + "end": { + "line": 698, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 19963, + 19967 + ], + "loc": { + "start": { + "line": 698, + "column": 28 + }, + "end": { + "line": 698, + "column": 32 + } + } + }, + "range": [ + 19943, + 19967 + ], + "loc": { + "start": { + "line": 698, + "column": 8 + }, + "end": { + "line": 698, + "column": 32 + } + } + }, + "range": [ + 19943, + 19968 + ], + "loc": { + "start": { + "line": 698, + "column": 8 + }, + "end": { + "line": 698, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19978, + 19982 + ], + "loc": { + "start": { + "line": 700, + "column": 8 + }, + "end": { + "line": 700, "column": 12 } } @@ -39892,31 +41772,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 19149, - 19160 + 19983, + 19994 ], "loc": { "start": { - "line": 668, + "line": 700, "column": 13 }, "end": { - "line": 668, + "line": 700, "column": 24 } } }, "range": [ - 19144, - 19160 + 19978, + 19994 ], "loc": { "start": { - "line": 668, + "line": 700, "column": 8 }, "end": { - "line": 668, + "line": 700, "column": 24 } } @@ -39926,62 +41806,62 @@ "value": false, "raw": "false", "range": [ - 19163, - 19168 + 19997, + 20002 ], "loc": { "start": { - "line": 668, + "line": 700, "column": 27 }, "end": { - "line": 668, + "line": 700, "column": 32 } } }, "range": [ - 19144, - 19168 + 19978, + 20002 ], "loc": { "start": { - "line": 668, + "line": 700, "column": 8 }, "end": { - "line": 668, + "line": 700, "column": 32 } } }, "range": [ - 19144, - 19169 + 19978, + 20003 ], "loc": { "start": { - "line": 668, + "line": 700, "column": 8 }, "end": { - "line": 668, + "line": 700, "column": 33 } } } ], "range": [ - 18657, - 19175 + 19456, + 20009 ], "loc": { "start": { - "line": 650, + "line": 680, "column": 14 }, "end": { - "line": 669, + "line": 701, "column": 5 } } @@ -39989,16 +41869,16 @@ "generator": false, "expression": false, "range": [ - 18654, - 19175 + 19453, + 20009 ], "loc": { "start": { - "line": 650, + "line": 680, "column": 11 }, "end": { - "line": 669, + "line": 701, "column": 5 } } @@ -40006,16 +41886,16 @@ "kind": "method", "computed": false, "range": [ - 18647, - 19175 + 19446, + 20009 ], "loc": { "start": { - "line": 650, + "line": 680, "column": 4 }, "end": { - "line": 669, + "line": 701, "column": 5 } }, @@ -40024,16 +41904,16 @@ "type": "Block", "value": "*\n * Remove the columns manager\n ", "range": [ - 18597, - 18642 + 19396, + 19441 ], "loc": { "start": { - "line": 647, + "line": 677, "column": 4 }, "end": { - "line": 649, + "line": 679, "column": 7 } } @@ -40047,16 +41927,16 @@ "type": "Identifier", "name": "_getHeaderText", "range": [ - 19181, - 19195 + 20015, + 20029 ], "loc": { "start": { - "line": 671, + "line": 703, "column": 4 }, "end": { - "line": 671, + "line": 703, "column": 18 } } @@ -40069,16 +41949,16 @@ "type": "Identifier", "name": "cell", "range": [ - 19196, - 19200 + 20030, + 20034 ], "loc": { "start": { - "line": 671, + "line": 703, "column": 19 }, "end": { - "line": 671, + "line": 703, "column": 23 } } @@ -40099,16 +41979,16 @@ "type": "Identifier", "name": "cell", "range": [ - 19217, - 19221 + 20051, + 20055 ], "loc": { "start": { - "line": 672, + "line": 704, "column": 13 }, "end": { - "line": 672, + "line": 704, "column": 17 } } @@ -40117,47 +41997,47 @@ "type": "Identifier", "name": "hasChildNodes", "range": [ - 19222, - 19235 + 20056, + 20069 ], "loc": { "start": { - "line": 672, + "line": 704, "column": 18 }, "end": { - "line": 672, + "line": 704, "column": 31 } } }, "range": [ - 19217, - 19235 + 20051, + 20069 ], "loc": { "start": { - "line": 672, + "line": 704, "column": 13 }, "end": { - "line": 672, + "line": 704, "column": 31 } } }, "prefix": true, "range": [ - 19216, - 19235 + 20050, + 20069 ], "loc": { "start": { - "line": 672, + "line": 704, "column": 12 }, "end": { - "line": 672, + "line": 704, "column": 31 } } @@ -40172,63 +42052,63 @@ "value": "", "raw": "''", "range": [ - 19258, - 19260 + 20092, + 20094 ], "loc": { "start": { - "line": 673, + "line": 705, "column": 19 }, "end": { - "line": 673, + "line": 705, "column": 21 } } }, "range": [ - 19251, - 19261 + 20085, + 20095 ], "loc": { "start": { - "line": 673, + "line": 705, "column": 12 }, "end": { - "line": 673, + "line": 705, "column": 22 } } } ], "range": [ - 19237, - 19271 + 20071, + 20105 ], "loc": { "start": { - "line": 672, + "line": 704, "column": 33 }, "end": { - "line": 674, + "line": 706, "column": 9 } } }, "alternate": null, "range": [ - 19212, - 19271 + 20046, + 20105 ], "loc": { "start": { - "line": 672, + "line": 704, "column": 8 }, "end": { - "line": 674, + "line": 706, "column": 9 } } @@ -40244,16 +42124,16 @@ "type": "Identifier", "name": "i", "range": [ - 19290, - 19291 + 20124, + 20125 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 17 }, "end": { - "line": 676, + "line": 708, "column": 18 } } @@ -40263,31 +42143,31 @@ "value": 0, "raw": "0", "range": [ - 19294, - 19295 + 20128, + 20129 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 21 }, "end": { - "line": 676, + "line": 708, "column": 22 } } }, "range": [ - 19290, - 19295 + 20124, + 20129 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 17 }, "end": { - "line": 676, + "line": 708, "column": 22 } } @@ -40295,16 +42175,16 @@ ], "kind": "let", "range": [ - 19286, - 19295 + 20120, + 20129 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 13 }, "end": { - "line": 676, + "line": 708, "column": 22 } } @@ -40316,16 +42196,16 @@ "type": "Identifier", "name": "i", "range": [ - 19297, - 19298 + 20131, + 20132 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 24 }, "end": { - "line": 676, + "line": 708, "column": 25 } } @@ -40340,16 +42220,16 @@ "type": "Identifier", "name": "cell", "range": [ - 19301, - 19305 + 20135, + 20139 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 28 }, "end": { - "line": 676, + "line": 708, "column": 32 } } @@ -40358,31 +42238,31 @@ "type": "Identifier", "name": "childNodes", "range": [ - 19306, - 19316 + 20140, + 20150 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 33 }, "end": { - "line": 676, + "line": 708, "column": 43 } } }, "range": [ - 19301, - 19316 + 20135, + 20150 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 28 }, "end": { - "line": 676, + "line": 708, "column": 43 } } @@ -40391,46 +42271,46 @@ "type": "Identifier", "name": "length", "range": [ - 19317, - 19323 + 20151, + 20157 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 44 }, "end": { - "line": 676, + "line": 708, "column": 50 } } }, "range": [ - 19301, - 19323 + 20135, + 20157 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 28 }, "end": { - "line": 676, + "line": 708, "column": 50 } } }, "range": [ - 19297, - 19323 + 20131, + 20157 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 24 }, "end": { - "line": 676, + "line": 708, "column": 50 } } @@ -40442,32 +42322,32 @@ "type": "Identifier", "name": "i", "range": [ - 19325, - 19326 + 20159, + 20160 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 52 }, "end": { - "line": 676, + "line": 708, "column": 53 } } }, "prefix": false, "range": [ - 19325, - 19328 + 20159, + 20162 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 52 }, "end": { - "line": 676, + "line": 708, "column": 55 } } @@ -40484,16 +42364,16 @@ "type": "Identifier", "name": "n", "range": [ - 19348, - 19349 + 20182, + 20183 ], "loc": { "start": { - "line": 677, + "line": 709, "column": 16 }, "end": { - "line": 677, + "line": 709, "column": 17 } } @@ -40508,16 +42388,16 @@ "type": "Identifier", "name": "cell", "range": [ - 19352, - 19356 + 20186, + 20190 ], "loc": { "start": { - "line": 677, + "line": 709, "column": 20 }, "end": { - "line": 677, + "line": 709, "column": 24 } } @@ -40526,31 +42406,31 @@ "type": "Identifier", "name": "childNodes", "range": [ - 19357, - 19367 + 20191, + 20201 ], "loc": { "start": { - "line": 677, + "line": 709, "column": 25 }, "end": { - "line": 677, + "line": 709, "column": 35 } } }, "range": [ - 19352, - 19367 + 20186, + 20201 ], "loc": { "start": { - "line": 677, + "line": 709, "column": 20 }, "end": { - "line": 677, + "line": 709, "column": 35 } } @@ -40559,46 +42439,46 @@ "type": "Identifier", "name": "i", "range": [ - 19368, - 19369 + 20202, + 20203 ], "loc": { "start": { - "line": 677, + "line": 709, "column": 36 }, "end": { - "line": 677, + "line": 709, "column": 37 } } }, "range": [ - 19352, - 19370 + 20186, + 20204 ], "loc": { "start": { - "line": 677, + "line": 709, "column": 20 }, "end": { - "line": 677, + "line": 709, "column": 38 } } }, "range": [ - 19348, - 19370 + 20182, + 20204 ], "loc": { "start": { - "line": 677, + "line": 709, "column": 16 }, "end": { - "line": 677, + "line": 709, "column": 38 } } @@ -40606,16 +42486,16 @@ ], "kind": "let", "range": [ - 19344, - 19371 + 20178, + 20205 ], "loc": { "start": { - "line": 677, + "line": 709, "column": 12 }, "end": { - "line": 677, + "line": 709, "column": 39 } } @@ -40632,16 +42512,16 @@ "type": "Identifier", "name": "n", "range": [ - 19388, - 19389 + 20222, + 20223 ], "loc": { "start": { - "line": 678, + "line": 710, "column": 16 }, "end": { - "line": 678, + "line": 710, "column": 17 } } @@ -40650,31 +42530,31 @@ "type": "Identifier", "name": "nodeType", "range": [ - 19390, - 19398 + 20224, + 20232 ], "loc": { "start": { - "line": 678, + "line": 710, "column": 18 }, "end": { - "line": 678, + "line": 710, "column": 26 } } }, "range": [ - 19388, - 19398 + 20222, + 20232 ], "loc": { "start": { - "line": 678, + "line": 710, "column": 16 }, "end": { - "line": 678, + "line": 710, "column": 26 } } @@ -40684,31 +42564,31 @@ "value": 3, "raw": "3", "range": [ - 19403, - 19404 + 20237, + 20238 ], "loc": { "start": { - "line": 678, + "line": 710, "column": 31 }, "end": { - "line": 678, + "line": 710, "column": 32 } } }, "range": [ - 19388, - 19404 + 20222, + 20238 ], "loc": { "start": { - "line": 678, + "line": 710, "column": 16 }, "end": { - "line": 678, + "line": 710, "column": 32 } } @@ -40725,16 +42605,16 @@ "type": "Identifier", "name": "n", "range": [ - 19431, - 19432 + 20265, + 20266 ], "loc": { "start": { - "line": 679, + "line": 711, "column": 23 }, "end": { - "line": 679, + "line": 711, "column": 24 } } @@ -40743,62 +42623,62 @@ "type": "Identifier", "name": "nodeValue", "range": [ - 19433, - 19442 + 20267, + 20276 ], "loc": { "start": { - "line": 679, + "line": 711, "column": 25 }, "end": { - "line": 679, + "line": 711, "column": 34 } } }, "range": [ - 19431, - 19442 + 20265, + 20276 ], "loc": { "start": { - "line": 679, + "line": 711, "column": 23 }, "end": { - "line": 679, + "line": 711, "column": 34 } } }, "range": [ - 19424, - 19443 + 20258, + 20277 ], "loc": { "start": { - "line": 679, + "line": 711, "column": 16 }, "end": { - "line": 679, + "line": 711, "column": 35 } } } ], "range": [ - 19406, - 19457 + 20240, + 20291 ], "loc": { "start": { - "line": 678, + "line": 710, "column": 34 }, "end": { - "line": 680, + "line": 712, "column": 13 } } @@ -40815,16 +42695,16 @@ "type": "Identifier", "name": "n", "range": [ - 19467, - 19468 + 20301, + 20302 ], "loc": { "start": { - "line": 680, + "line": 712, "column": 23 }, "end": { - "line": 680, + "line": 712, "column": 24 } } @@ -40833,31 +42713,31 @@ "type": "Identifier", "name": "nodeType", "range": [ - 19469, - 19477 + 20303, + 20311 ], "loc": { "start": { - "line": 680, + "line": 712, "column": 25 }, "end": { - "line": 680, + "line": 712, "column": 33 } } }, "range": [ - 19467, - 19477 + 20301, + 20311 ], "loc": { "start": { - "line": 680, + "line": 712, "column": 23 }, "end": { - "line": 680, + "line": 712, "column": 33 } } @@ -40867,31 +42747,31 @@ "value": 1, "raw": "1", "range": [ - 19482, - 19483 + 20316, + 20317 ], "loc": { "start": { - "line": 680, + "line": 712, "column": 38 }, "end": { - "line": 680, + "line": 712, "column": 39 } } }, "range": [ - 19467, - 19483 + 20301, + 20317 ], "loc": { "start": { - "line": 680, + "line": 712, "column": 23 }, "end": { - "line": 680, + "line": 712, "column": 39 } } @@ -40911,16 +42791,16 @@ "type": "Identifier", "name": "n", "range": [ - 19507, - 19508 + 20341, + 20342 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 20 }, "end": { - "line": 681, + "line": 713, "column": 21 } } @@ -40929,31 +42809,31 @@ "type": "Identifier", "name": "id", "range": [ - 19509, - 19511 + 20343, + 20345 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 22 }, "end": { - "line": 681, + "line": 713, "column": 24 } } }, "range": [ - 19507, - 19511 + 20341, + 20345 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 20 }, "end": { - "line": 681, + "line": 713, "column": 24 } } @@ -40973,16 +42853,16 @@ "type": "Identifier", "name": "n", "range": [ - 19515, - 19516 + 20349, + 20350 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 28 }, "end": { - "line": 681, + "line": 713, "column": 29 } } @@ -40991,31 +42871,31 @@ "type": "Identifier", "name": "id", "range": [ - 19517, - 19519 + 20351, + 20353 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 30 }, "end": { - "line": 681, + "line": 713, "column": 32 } } }, "range": [ - 19515, - 19519 + 20349, + 20353 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 28 }, "end": { - "line": 681, + "line": 713, "column": 32 } } @@ -41024,31 +42904,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 19520, - 19527 + 20354, + 20361 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 33 }, "end": { - "line": 681, + "line": 713, "column": 40 } } }, "range": [ - 19515, - 19527 + 20349, + 20361 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 28 }, "end": { - "line": 681, + "line": 713, "column": 40 } } @@ -41059,32 +42939,32 @@ "value": "popUp", "raw": "'popUp'", "range": [ - 19528, - 19535 + 20362, + 20369 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 41 }, "end": { - "line": 681, + "line": 713, "column": 48 } } } ], "range": [ - 19515, - 19536 + 20349, + 20370 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 28 }, "end": { - "line": 681, + "line": 713, "column": 49 } } @@ -41097,62 +42977,62 @@ "value": 1, "raw": "1", "range": [ - 19542, - 19543 + 20376, + 20377 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 55 }, "end": { - "line": 681, + "line": 713, "column": 56 } } }, "prefix": true, "range": [ - 19541, - 19543 + 20375, + 20377 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 54 }, "end": { - "line": 681, + "line": 713, "column": 56 } } }, "range": [ - 19515, - 19543 + 20349, + 20377 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 28 }, "end": { - "line": 681, + "line": 713, "column": 56 } } }, "range": [ - 19507, - 19543 + 20341, + 20377 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 20 }, "end": { - "line": 681, + "line": 713, "column": 56 } } @@ -41164,32 +43044,32 @@ "type": "ContinueStatement", "label": null, "range": [ - 19567, - 19576 + 20401, + 20410 ], "loc": { "start": { - "line": 682, + "line": 714, "column": 20 }, "end": { - "line": 682, + "line": 714, "column": 29 } } } ], "range": [ - 19545, - 19594 + 20379, + 20428 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 58 }, "end": { - "line": 683, + "line": 715, "column": 17 } } @@ -41205,16 +43085,16 @@ "type": "Identifier", "name": "getText", "range": [ - 19629, - 19636 + 20463, + 20470 ], "loc": { "start": { - "line": 684, + "line": 716, "column": 27 }, "end": { - "line": 684, + "line": 716, "column": 34 } } @@ -41224,125 +43104,125 @@ "type": "Identifier", "name": "n", "range": [ - 19637, - 19638 + 20471, + 20472 ], "loc": { "start": { - "line": 684, + "line": 716, "column": 35 }, "end": { - "line": 684, + "line": 716, "column": 36 } } } ], "range": [ - 19629, - 19639 + 20463, + 20473 ], "loc": { "start": { - "line": 684, + "line": 716, "column": 27 }, "end": { - "line": 684, + "line": 716, "column": 37 } } }, "range": [ - 19622, - 19640 + 20456, + 20474 ], "loc": { "start": { - "line": 684, + "line": 716, "column": 20 }, "end": { - "line": 684, + "line": 716, "column": 38 } } } ], "range": [ - 19600, - 19658 + 20434, + 20492 ], "loc": { "start": { - "line": 683, + "line": 715, "column": 23 }, "end": { - "line": 685, + "line": 717, "column": 17 } } }, "range": [ - 19503, - 19658 + 20337, + 20492 ], "loc": { "start": { - "line": 681, + "line": 713, "column": 16 }, "end": { - "line": 685, + "line": 717, "column": 17 } } } ], "range": [ - 19485, - 19672 + 20319, + 20506 ], "loc": { "start": { - "line": 680, + "line": 712, "column": 41 }, "end": { - "line": 686, + "line": 718, "column": 13 } } }, "alternate": null, "range": [ - 19463, - 19672 + 20297, + 20506 ], "loc": { "start": { - "line": 680, + "line": 712, "column": 19 }, "end": { - "line": 686, + "line": 718, "column": 13 } } }, "range": [ - 19384, - 19672 + 20218, + 20506 ], "loc": { "start": { - "line": 678, + "line": 710, "column": 12 }, "end": { - "line": 686, + "line": 718, "column": 13 } } @@ -41351,47 +43231,47 @@ "type": "ContinueStatement", "label": null, "range": [ - 19685, - 19694 + 20519, + 20528 ], "loc": { "start": { - "line": 687, + "line": 719, "column": 12 }, "end": { - "line": 687, + "line": 719, "column": 21 } } } ], "range": [ - 19330, - 19704 + 20164, + 20538 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 57 }, "end": { - "line": 688, + "line": 720, "column": 9 } } }, "range": [ - 19281, - 19704 + 20115, + 20538 ], "loc": { "start": { - "line": 676, + "line": 708, "column": 8 }, "end": { - "line": 688, + "line": 720, "column": 9 } } @@ -41403,47 +43283,47 @@ "value": "", "raw": "''", "range": [ - 19720, - 19722 + 20554, + 20556 ], "loc": { "start": { - "line": 689, + "line": 721, "column": 15 }, "end": { - "line": 689, + "line": 721, "column": 17 } } }, "range": [ - 19713, - 19723 + 20547, + 20557 ], "loc": { "start": { - "line": 689, + "line": 721, "column": 8 }, "end": { - "line": 689, + "line": 721, "column": 18 } } } ], "range": [ - 19202, - 19729 + 20036, + 20563 ], "loc": { "start": { - "line": 671, + "line": 703, "column": 25 }, "end": { - "line": 690, + "line": 722, "column": 5 } } @@ -41451,16 +43331,16 @@ "generator": false, "expression": false, "range": [ - 19195, - 19729 + 20029, + 20563 ], "loc": { "start": { - "line": 671, + "line": 703, "column": 18 }, "end": { - "line": 690, + "line": 722, "column": 5 } } @@ -41468,16 +43348,16 @@ "kind": "method", "computed": false, "range": [ - 19181, - 19729 + 20015, + 20563 ], "loc": { "start": { - "line": 671, + "line": 703, "column": 4 }, "end": { - "line": 690, + "line": 722, "column": 5 } }, @@ -41489,16 +43369,16 @@ "type": "Identifier", "name": "_hideCells", "range": [ - 19735, - 19745 + 20569, + 20579 ], "loc": { "start": { - "line": 692, + "line": 724, "column": 4 }, "end": { - "line": 692, + "line": 724, "column": 14 } } @@ -41511,16 +43391,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 19746, - 19749 + 20580, + 20583 ], "loc": { "start": { - "line": 692, + "line": 724, "column": 15 }, "end": { - "line": 692, + "line": 724, "column": 18 } } @@ -41529,16 +43409,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 19751, - 19759 + 20585, + 20593 ], "loc": { "start": { - "line": 692, + "line": 724, "column": 20 }, "end": { - "line": 692, + "line": 724, "column": 28 } } @@ -41547,16 +43427,16 @@ "type": "Identifier", "name": "hide", "range": [ - 19761, - 19765 + 20595, + 20599 ], "loc": { "start": { - "line": 692, + "line": 724, "column": 30 }, "end": { - "line": 692, + "line": 724, "column": 34 } } @@ -41576,16 +43456,16 @@ "type": "Identifier", "name": "i", "range": [ - 19786, - 19787 + 20620, + 20621 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 17 }, "end": { - "line": 693, + "line": 725, "column": 18 } } @@ -41595,31 +43475,31 @@ "value": 0, "raw": "0", "range": [ - 19790, - 19791 + 20624, + 20625 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 21 }, "end": { - "line": 693, + "line": 725, "column": 22 } } }, "range": [ - 19786, - 19791 + 20620, + 20625 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 17 }, "end": { - "line": 693, + "line": 725, "column": 22 } } @@ -41627,16 +43507,16 @@ ], "kind": "let", "range": [ - 19782, - 19791 + 20616, + 20625 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 13 }, "end": { - "line": 693, + "line": 725, "column": 22 } } @@ -41648,16 +43528,16 @@ "type": "Identifier", "name": "i", "range": [ - 19793, - 19794 + 20627, + 20628 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 24 }, "end": { - "line": 693, + "line": 725, "column": 25 } } @@ -41672,16 +43552,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 19797, - 19800 + 20631, + 20634 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 28 }, "end": { - "line": 693, + "line": 725, "column": 31 } } @@ -41690,31 +43570,31 @@ "type": "Identifier", "name": "rows", "range": [ - 19801, - 19805 + 20635, + 20639 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 32 }, "end": { - "line": 693, + "line": 725, "column": 36 } } }, "range": [ - 19797, - 19805 + 20631, + 20639 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 28 }, "end": { - "line": 693, + "line": 725, "column": 36 } } @@ -41723,46 +43603,46 @@ "type": "Identifier", "name": "length", "range": [ - 19806, - 19812 + 20640, + 20646 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 37 }, "end": { - "line": 693, + "line": 725, "column": 43 } } }, "range": [ - 19797, - 19812 + 20631, + 20646 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 28 }, "end": { - "line": 693, + "line": 725, "column": 43 } } }, "range": [ - 19793, - 19812 + 20627, + 20646 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 24 }, "end": { - "line": 693, + "line": 725, "column": 43 } } @@ -41774,32 +43654,32 @@ "type": "Identifier", "name": "i", "range": [ - 19814, - 19815 + 20648, + 20649 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 45 }, "end": { - "line": 693, + "line": 725, "column": 46 } } }, "prefix": false, "range": [ - 19814, - 19817 + 20648, + 20651 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 45 }, "end": { - "line": 693, + "line": 725, "column": 48 } } @@ -41816,16 +43696,16 @@ "type": "Identifier", "name": "row", "range": [ - 19837, - 19840 + 20671, + 20674 ], "loc": { "start": { - "line": 694, + "line": 726, "column": 16 }, "end": { - "line": 694, + "line": 726, "column": 19 } } @@ -41840,16 +43720,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 19843, - 19846 + 20677, + 20680 ], "loc": { "start": { - "line": 694, + "line": 726, "column": 22 }, "end": { - "line": 694, + "line": 726, "column": 25 } } @@ -41858,31 +43738,31 @@ "type": "Identifier", "name": "rows", "range": [ - 19847, - 19851 + 20681, + 20685 ], "loc": { "start": { - "line": 694, + "line": 726, "column": 26 }, "end": { - "line": 694, + "line": 726, "column": 30 } } }, "range": [ - 19843, - 19851 + 20677, + 20685 ], "loc": { "start": { - "line": 694, + "line": 726, "column": 22 }, "end": { - "line": 694, + "line": 726, "column": 30 } } @@ -41891,46 +43771,46 @@ "type": "Identifier", "name": "i", "range": [ - 19852, - 19853 + 20686, + 20687 ], "loc": { "start": { - "line": 694, + "line": 726, "column": 31 }, "end": { - "line": 694, + "line": 726, "column": 32 } } }, "range": [ - 19843, - 19854 + 20677, + 20688 ], "loc": { "start": { - "line": 694, + "line": 726, "column": 22 }, "end": { - "line": 694, + "line": 726, "column": 33 } } }, "range": [ - 19837, - 19854 + 20671, + 20688 ], "loc": { "start": { - "line": 694, + "line": 726, "column": 16 }, "end": { - "line": 694, + "line": 726, "column": 33 } } @@ -41938,16 +43818,16 @@ ], "kind": "let", "range": [ - 19833, - 19855 + 20667, + 20689 ], "loc": { "start": { - "line": 694, + "line": 726, "column": 12 }, "end": { - "line": 694, + "line": 726, "column": 34 } } @@ -41961,16 +43841,16 @@ "type": "Identifier", "name": "cell", "range": [ - 19872, - 19876 + 20706, + 20710 ], "loc": { "start": { - "line": 695, + "line": 727, "column": 16 }, "end": { - "line": 695, + "line": 727, "column": 20 } } @@ -41985,16 +43865,16 @@ "type": "Identifier", "name": "row", "range": [ - 19879, - 19882 + 20713, + 20716 ], "loc": { "start": { - "line": 695, + "line": 727, "column": 23 }, "end": { - "line": 695, + "line": 727, "column": 26 } } @@ -42003,31 +43883,31 @@ "type": "Identifier", "name": "cells", "range": [ - 19883, - 19888 + 20717, + 20722 ], "loc": { "start": { - "line": 695, + "line": 727, "column": 27 }, "end": { - "line": 695, + "line": 727, "column": 32 } } }, "range": [ - 19879, - 19888 + 20713, + 20722 ], "loc": { "start": { - "line": 695, + "line": 727, "column": 23 }, "end": { - "line": 695, + "line": 727, "column": 32 } } @@ -42036,46 +43916,46 @@ "type": "Identifier", "name": "colIndex", "range": [ - 19889, - 19897 + 20723, + 20731 ], "loc": { "start": { - "line": 695, + "line": 727, "column": 33 }, "end": { - "line": 695, + "line": 727, "column": 41 } } }, "range": [ - 19879, - 19898 + 20713, + 20732 ], "loc": { "start": { - "line": 695, + "line": 727, "column": 23 }, "end": { - "line": 695, + "line": 727, "column": 42 } } }, "range": [ - 19872, - 19898 + 20706, + 20732 ], "loc": { "start": { - "line": 695, + "line": 727, "column": 16 }, "end": { - "line": 695, + "line": 727, "column": 42 } } @@ -42083,16 +43963,16 @@ ], "kind": "let", "range": [ - 19868, - 19899 + 20702, + 20733 ], "loc": { "start": { - "line": 695, + "line": 727, "column": 12 }, "end": { - "line": 695, + "line": 727, "column": 43 } } @@ -42103,16 +43983,16 @@ "type": "Identifier", "name": "cell", "range": [ - 19916, - 19920 + 20750, + 20754 ], "loc": { "start": { - "line": 696, + "line": 728, "column": 16 }, "end": { - "line": 696, + "line": 728, "column": 20 } } @@ -42135,16 +44015,16 @@ "type": "Identifier", "name": "cell", "range": [ - 19940, - 19944 + 20774, + 20778 ], "loc": { "start": { - "line": 697, + "line": 729, "column": 16 }, "end": { - "line": 697, + "line": 729, "column": 20 } } @@ -42153,31 +44033,31 @@ "type": "Identifier", "name": "style", "range": [ - 19945, - 19950 + 20779, + 20784 ], "loc": { "start": { - "line": 697, + "line": 729, "column": 21 }, "end": { - "line": 697, + "line": 729, "column": 26 } } }, "range": [ - 19940, - 19950 + 20774, + 20784 ], "loc": { "start": { - "line": 697, + "line": 729, "column": 16 }, "end": { - "line": 697, + "line": 729, "column": 26 } } @@ -42186,31 +44066,31 @@ "type": "Identifier", "name": "display", "range": [ - 19951, - 19958 + 20785, + 20792 ], "loc": { "start": { - "line": 697, + "line": 729, "column": 27 }, "end": { - "line": 697, + "line": 729, "column": 34 } } }, "range": [ - 19940, - 19958 + 20774, + 20792 ], "loc": { "start": { - "line": 697, + "line": 729, "column": 16 }, "end": { - "line": 697, + "line": 729, "column": 34 } } @@ -42221,16 +44101,16 @@ "type": "Identifier", "name": "hide", "range": [ - 19961, - 19965 + 20795, + 20799 ], "loc": { "start": { - "line": 697, + "line": 729, "column": 37 }, "end": { - "line": 697, + "line": 729, "column": 41 } } @@ -42240,16 +44120,16 @@ "value": "none", "raw": "'none'", "range": [ - 19968, - 19974 + 20802, + 20808 ], "loc": { "start": { - "line": 697, + "line": 729, "column": 44 }, "end": { - "line": 697, + "line": 729, "column": 50 } } @@ -42259,140 +44139,140 @@ "value": "", "raw": "''", "range": [ - 19977, - 19979 + 20811, + 20813 ], "loc": { "start": { - "line": 697, + "line": 729, "column": 53 }, "end": { - "line": 697, + "line": 729, "column": 55 } } }, "range": [ - 19961, - 19979 + 20795, + 20813 ], "loc": { "start": { - "line": 697, + "line": 729, "column": 37 }, "end": { - "line": 697, + "line": 729, "column": 55 } } }, "range": [ - 19940, - 19979 + 20774, + 20813 ], "loc": { "start": { - "line": 697, + "line": 729, "column": 16 }, "end": { - "line": 697, + "line": 729, "column": 55 } } }, "range": [ - 19940, - 19980 + 20774, + 20814 ], "loc": { "start": { - "line": 697, + "line": 729, "column": 16 }, "end": { - "line": 697, + "line": 729, "column": 56 } } } ], "range": [ - 19922, - 19994 + 20756, + 20828 ], "loc": { "start": { - "line": 696, + "line": 728, "column": 22 }, "end": { - "line": 698, + "line": 730, "column": 13 } } }, "alternate": null, "range": [ - 19912, - 19994 + 20746, + 20828 ], "loc": { "start": { - "line": 696, + "line": 728, "column": 12 }, "end": { - "line": 698, + "line": 730, "column": 13 } } } ], "range": [ - 19819, - 20004 + 20653, + 20838 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 50 }, "end": { - "line": 699, + "line": 731, "column": 9 } } }, "range": [ - 19777, - 20004 + 20611, + 20838 ], "loc": { "start": { - "line": 693, + "line": 725, "column": 8 }, "end": { - "line": 699, + "line": 731, "column": 9 } } } ], "range": [ - 19767, - 20010 + 20601, + 20844 ], "loc": { "start": { - "line": 692, + "line": 724, "column": 36 }, "end": { - "line": 700, + "line": 732, "column": 5 } } @@ -42400,16 +44280,16 @@ "generator": false, "expression": false, "range": [ - 19745, - 20010 + 20579, + 20844 ], "loc": { "start": { - "line": 692, + "line": 724, "column": 14 }, "end": { - "line": 700, + "line": 732, "column": 5 } } @@ -42417,16 +44297,16 @@ "kind": "method", "computed": false, "range": [ - 19735, - 20010 + 20569, + 20844 ], "loc": { "start": { - "line": 692, + "line": 724, "column": 4 }, "end": { - "line": 700, + "line": 732, "column": 5 } }, @@ -42438,16 +44318,16 @@ "type": "Identifier", "name": "_hideAtStart", "range": [ - 20016, - 20028 + 20850, + 20862 ], "loc": { "start": { - "line": 702, + "line": 734, "column": 4 }, "end": { - "line": 702, + "line": 734, "column": 16 } } @@ -42472,16 +44352,16 @@ "object": { "type": "ThisExpression", "range": [ - 20041, - 20045 + 20875, + 20879 ], "loc": { "start": { - "line": 703, + "line": 735, "column": 8 }, "end": { - "line": 703, + "line": 735, "column": 12 } } @@ -42490,31 +44370,31 @@ "type": "Identifier", "name": "atStart", "range": [ - 20046, - 20053 + 20880, + 20887 ], "loc": { "start": { - "line": 703, + "line": 735, "column": 13 }, "end": { - "line": 703, + "line": 735, "column": 20 } } }, "range": [ - 20041, - 20053 + 20875, + 20887 ], "loc": { "start": { - "line": 703, + "line": 735, "column": 8 }, "end": { - "line": 703, + "line": 735, "column": 20 } } @@ -42523,31 +44403,31 @@ "type": "Identifier", "name": "forEach", "range": [ - 20054, - 20061 + 20888, + 20895 ], "loc": { "start": { - "line": 703, + "line": 735, "column": 21 }, "end": { - "line": 703, + "line": 735, "column": 28 } } }, "range": [ - 20041, - 20061 + 20875, + 20895 ], "loc": { "start": { - "line": 703, + "line": 735, "column": 8 }, "end": { - "line": 703, + "line": 735, "column": 28 } } @@ -42561,16 +44441,16 @@ "type": "Identifier", "name": "colIdx", "range": [ - 20063, - 20069 + 20897, + 20903 ], "loc": { "start": { - "line": 703, + "line": 735, "column": 30 }, "end": { - "line": 703, + "line": 735, "column": 36 } } @@ -42589,16 +44469,16 @@ "object": { "type": "ThisExpression", "range": [ - 20088, - 20092 + 20922, + 20926 ], "loc": { "start": { - "line": 704, + "line": 736, "column": 12 }, "end": { - "line": 704, + "line": 736, "column": 16 } } @@ -42607,31 +44487,31 @@ "type": "Identifier", "name": "hideCol", "range": [ - 20093, - 20100 + 20927, + 20934 ], "loc": { "start": { - "line": 704, + "line": 736, "column": 17 }, "end": { - "line": 704, + "line": 736, "column": 24 } } }, "range": [ - 20088, - 20100 + 20922, + 20934 ], "loc": { "start": { - "line": 704, + "line": 736, "column": 12 }, "end": { - "line": 704, + "line": 736, "column": 24 } } @@ -42641,63 +44521,63 @@ "type": "Identifier", "name": "colIdx", "range": [ - 20101, - 20107 + 20935, + 20941 ], "loc": { "start": { - "line": 704, + "line": 736, "column": 25 }, "end": { - "line": 704, + "line": 736, "column": 31 } } } ], "range": [ - 20088, - 20108 + 20922, + 20942 ], "loc": { "start": { - "line": 704, + "line": 736, "column": 12 }, "end": { - "line": 704, + "line": 736, "column": 32 } } }, "range": [ - 20088, - 20109 + 20922, + 20943 ], "loc": { "start": { - "line": 704, + "line": 736, "column": 12 }, "end": { - "line": 704, + "line": 736, "column": 33 } } } ], "range": [ - 20074, - 20119 + 20908, + 20953 ], "loc": { "start": { - "line": 703, + "line": 735, "column": 41 }, "end": { - "line": 705, + "line": 737, "column": 9 } } @@ -42705,63 +44585,63 @@ "generator": false, "expression": false, "range": [ - 20062, - 20119 + 20896, + 20953 ], "loc": { "start": { - "line": 703, + "line": 735, "column": 29 }, "end": { - "line": 705, + "line": 737, "column": 9 } } } ], "range": [ - 20041, - 20120 + 20875, + 20954 ], "loc": { "start": { - "line": 703, + "line": 735, "column": 8 }, "end": { - "line": 705, + "line": 737, "column": 10 } } }, "range": [ - 20041, - 20121 + 20875, + 20955 ], "loc": { "start": { - "line": 703, + "line": 735, "column": 8 }, "end": { - "line": 705, + "line": 737, "column": 11 } } } ], "range": [ - 20031, - 20127 + 20865, + 20961 ], "loc": { "start": { - "line": 702, + "line": 734, "column": 19 }, "end": { - "line": 706, + "line": 738, "column": 5 } } @@ -42769,16 +44649,16 @@ "generator": false, "expression": false, "range": [ - 20028, - 20127 + 20862, + 20961 ], "loc": { "start": { - "line": 702, + "line": 734, "column": 16 }, "end": { - "line": 706, + "line": 738, "column": 5 } } @@ -42786,16 +44666,16 @@ "kind": "method", "computed": false, "range": [ - 20016, - 20127 + 20850, + 20961 ], "loc": { "start": { - "line": 702, + "line": 734, "column": 4 }, "end": { - "line": 706, + "line": 738, "column": 5 } }, @@ -42803,31 +44683,31 @@ } ], "range": [ - 335, - 20129 + 379, + 20963 ], "loc": { "start": { - "line": 12, + "line": 13, "column": 52 }, "end": { - "line": 707, + "line": 739, "column": 1 } } }, "range": [ - 298, - 20129 + 342, + 20963 ], "loc": { "start": { - "line": 12, + "line": 13, "column": 15 }, "end": { - "line": 707, + "line": 739, "column": 1 } }, @@ -42836,16 +44716,16 @@ "type": "Block", "value": "*\n * Columns Visibility extension\n ", "range": [ - 243, - 282 + 287, + 326 ], "loc": { "start": { - "line": 9, + "line": 10, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 3 } } @@ -42854,16 +44734,16 @@ "trailingComments": [] }, "range": [ - 283, - 20129 + 327, + 20963 ], "loc": { "start": { - "line": 12, + "line": 13, "column": 0 }, "end": { - "line": 707, + "line": 739, "column": 1 } }, @@ -42872,16 +44752,16 @@ "type": "Block", "value": "*\n * Columns Visibility extension\n ", "range": [ - 243, - 282 + 287, + 326 ], "loc": { "start": { - "line": 9, + "line": 10, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 3 } } @@ -42892,7 +44772,7 @@ "sourceType": "module", "range": [ 0, - 20129 + 20963 ], "loc": { "start": { @@ -42900,7 +44780,7 @@ "column": 0 }, "end": { - "line": 707, + "line": 739, "column": 1 } }, @@ -42909,16 +44789,16 @@ "type": "Block", "value": "*\n * Columns Visibility extension\n ", "range": [ - 243, - 282 + 287, + 326 ], "loc": { "start": { - "line": 9, + "line": 10, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 3 } } @@ -42927,16 +44807,16 @@ "type": "Block", "value": "*\n * Creates an instance of ColsVisibility\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} Configuration object\n ", "range": [ - 342, - 494 + 386, + 538 ], "loc": { "start": { - "line": 14, + "line": 15, "column": 4 }, "end": { - "line": 18, + "line": 19, "column": 7 } } @@ -42945,16 +44825,16 @@ "type": "Line", "value": " Configuration object", "range": [ - 556, - 579 + 600, + 623 ], "loc": { "start": { - "line": 22, + "line": 23, "column": 8 }, "end": { - "line": 22, + "line": 23, "column": 31 } } @@ -42963,16 +44843,16 @@ "type": "Block", "value": "*\n * Module name\n * @type {String}\n ", "range": [ - 620, - 684 + 664, + 728 ], "loc": { "start": { - "line": 25, + "line": 26, "column": 8 }, "end": { - "line": 28, + "line": 29, "column": 11 } } @@ -42981,16 +44861,16 @@ "type": "Block", "value": "*\n * Module description\n * @type {String}\n ", "range": [ - 722, - 793 + 766, + 837 ], "loc": { "start": { - "line": 31, + "line": 32, "column": 8 }, "end": { - "line": 34, + "line": 35, "column": 11 } } @@ -42999,16 +44879,16 @@ "type": "Block", "value": "*\n * show/hide columns container element\n * @private\n ", "range": [ - 870, - 952 + 914, + 996 ], "loc": { "start": { - "line": 37, + "line": 38, "column": 8 }, "end": { - "line": 40, + "line": 41, "column": 11 } } @@ -43017,16 +44897,16 @@ "type": "Block", "value": "*\n * show/hide columns button element\n * @private\n ", "range": [ - 990, - 1069 + 1034, + 1113 ], "loc": { "start": { - "line": 43, + "line": 44, "column": 8 }, "end": { - "line": 46, + "line": 47, "column": 11 } } @@ -43035,16 +44915,16 @@ "type": "Block", "value": "*\n * show/hide columns main container element\n * @private\n ", "range": [ - 1106, - 1193 + 1150, + 1237 ], "loc": { "start": { - "line": 49, + "line": 50, "column": 8 }, "end": { - "line": 52, + "line": 53, "column": 11 } } @@ -43053,16 +44933,16 @@ "type": "Block", "value": "*\n * Enable tick to hide a column, defaults to true\n * @type {Boolean}\n ", "range": [ - 1231, - 1331 + 1275, + 1375 ], "loc": { "start": { - "line": 55, + "line": 56, "column": 8 }, "end": { - "line": 58, + "line": 59, "column": 11 } } @@ -43071,16 +44951,16 @@ "type": "Block", "value": "*\n * Enable columns manager UI, defaults to true\n * @type {Boolean}\n ", "range": [ - 1408, - 1505 + 1452, + 1549 ], "loc": { "start": { - "line": 61, + "line": 62, "column": 8 }, "end": { - "line": 64, + "line": 65, "column": 11 } } @@ -43089,16 +44969,16 @@ "type": "Block", "value": "*\n * Headers HTML table reference only if headers are external\n * @type {DOMElement}\n ", "range": [ - 1574, - 1688 + 1618, + 1732 ], "loc": { "start": { - "line": 67, + "line": 68, "column": 8 }, "end": { - "line": 70, + "line": 71, "column": 11 } } @@ -43107,16 +44987,16 @@ "type": "Block", "value": "*\n * Headers row index only if headers are external\n * @type {Number}\n ", "range": [ - 1749, - 1848 + 1793, + 1892 ], "loc": { "start": { - "line": 73, + "line": 74, "column": 8 }, "end": { - "line": 76, + "line": 77, "column": 11 } } @@ -43125,16 +45005,16 @@ "type": "Block", "value": "*\n * ID of main container element\n * @type {String}\n ", "range": [ - 1908, - 1989 + 1952, + 2033 ], "loc": { "start": { - "line": 79, + "line": 80, "column": 8 }, "end": { - "line": 82, + "line": 83, "column": 11 } } @@ -43143,16 +45023,16 @@ "type": "Block", "value": "*\n * Alternative text for column headers in column manager UI\n * @type {Array}\n ", "range": [ - 2057, - 2165 + 2101, + 2209 ], "loc": { "start": { - "line": 85, + "line": 86, "column": 8 }, "end": { - "line": 88, + "line": 89, "column": 11 } } @@ -43161,16 +45041,16 @@ "type": "Block", "value": "*\n * ID of button's container element\n * @type {String}\n ", "range": [ - 2226, - 2311 + 2270, + 2355 ], "loc": { "start": { - "line": 91, + "line": 92, "column": 8 }, "end": { - "line": 94, + "line": 95, "column": 11 } } @@ -43179,16 +45059,16 @@ "type": "Block", "value": "*\n * Button's text, defaults to Columns▼\n * @type {String}\n ", "range": [ - 2370, - 2464 + 2414, + 2508 ], "loc": { "start": { - "line": 97, + "line": 98, "column": 8 }, "end": { - "line": 100, + "line": 101, "column": 11 } } @@ -43197,16 +45077,16 @@ "type": "Block", "value": "*\n * Button's inner HTML\n * @type {String}\n ", "range": [ - 2529, - 2601 + 2573, + 2645 ], "loc": { "start": { - "line": 103, + "line": 104, "column": 8 }, "end": { - "line": 106, + "line": 107, "column": 11 } } @@ -43215,16 +45095,16 @@ "type": "Block", "value": "*\n * Css class for button\n * @type {String}\n ", "range": [ - 2654, - 2727 + 2698, + 2771 ], "loc": { "start": { - "line": 109, + "line": 110, "column": 8 }, "end": { - "line": 112, + "line": 113, "column": 11 } } @@ -43233,16 +45113,16 @@ "type": "Block", "value": "*\n * Columns manager UI close link text, defaults to 'Close'\n * @type {String}\n ", "range": [ - 2793, - 2901 + 2837, + 2945 ], "loc": { "start": { - "line": 115, + "line": 116, "column": 8 }, "end": { - "line": 118, + "line": 119, "column": 11 } } @@ -43251,16 +45131,16 @@ "type": "Block", "value": "*\n * Columns manager UI close link HTML\n * @type {String}\n ", "range": [ - 2968, - 3055 + 3012, + 3099 ], "loc": { "start": { - "line": 121, + "line": 122, "column": 8 }, "end": { - "line": 124, + "line": 125, "column": 11 } } @@ -43269,16 +45149,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI close link\n * @type {String}\n ", "range": [ - 3119, - 3209 + 3163, + 3253 ], "loc": { "start": { - "line": 127, + "line": 128, "column": 8 }, "end": { - "line": 130, + "line": 131, "column": 11 } } @@ -43287,16 +45167,16 @@ "type": "Block", "value": "*\n * Extension's stylesheet filename\n * @type {String}\n ", "range": [ - 3294, - 3378 + 3338, + 3422 ], "loc": { "start": { - "line": 133, + "line": 134, "column": 8 }, "end": { - "line": 136, + "line": 137, "column": 11 } } @@ -43305,16 +45185,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI span\n * @type {String}\n ", "range": [ - 3452, - 3536 + 3496, + 3580 ], "loc": { "start": { - "line": 139, + "line": 140, "column": 8 }, "end": { - "line": 142, + "line": 143, "column": 11 } } @@ -43323,16 +45203,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI main container\n * @type {String}\n ", "range": [ - 3608, - 3702 + 3652, + 3746 ], "loc": { "start": { - "line": 145, + "line": 146, "column": 8 }, "end": { - "line": 148, + "line": 149, "column": 11 } } @@ -43341,16 +45221,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI checklist (ul)\n * @type {String}\n ", "range": [ - 3774, - 3868 + 3818, + 3912 ], "loc": { "start": { - "line": 151, + "line": 152, "column": 8 }, "end": { - "line": 154, + "line": 155, "column": 11 } } @@ -43359,16 +45239,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI checklist item (li)\n * @type {String}\n ", "range": [ - 3946, - 4045 + 3990, + 4089 ], "loc": { "start": { - "line": 157, + "line": 158, "column": 8 }, "end": { - "line": 160, + "line": 161, "column": 11 } } @@ -43377,16 +45257,16 @@ "type": "Block", "value": "*\n * Css for columns manager UI checklist item selected state (li)\n * @type {String}\n ", "range": [ - 4154, - 4268 + 4198, + 4312 ], "loc": { "start": { - "line": 164, + "line": 165, "column": 8 }, "end": { - "line": 167, + "line": 168, "column": 11 } } @@ -43395,16 +45275,16 @@ "type": "Block", "value": "*\n * Text preceding the columns list, defaults to 'Hide' or 'Show'\n * depending on tick mode (tick_to_hide option)\n * @type {String}\n ", "range": [ - 4393, - 4563 + 4437, + 4607 ], "loc": { "start": { - "line": 171, + "line": 172, "column": 8 }, "end": { - "line": 175, + "line": 176, "column": 11 } } @@ -43413,16 +45293,16 @@ "type": "Block", "value": "*\n * List of columns indexes to be hidden at initialization\n * @type {Array}\n ", "range": [ - 4644, - 4750 + 4688, + 4794 ], "loc": { "start": { - "line": 178, + "line": 179, "column": 8 }, "end": { - "line": 181, + "line": 182, "column": 11 } } @@ -43431,16 +45311,16 @@ "type": "Block", "value": "*\n * Enable hover behaviour on columns manager button/link\n * @type {Boolean}\n ", "range": [ - 4801, - 4908 + 4845, + 4952 ], "loc": { "start": { - "line": 184, + "line": 185, "column": 8 }, "end": { - "line": 187, + "line": 188, "column": 11 } } @@ -43449,16 +45329,16 @@ "type": "Block", "value": "*\n * Enable select all option, disabled by default\n * @type {Boolean}\n ", "range": [ - 4970, - 5069 + 5014, + 5113 ], "loc": { "start": { - "line": 190, + "line": 191, "column": 8 }, "end": { - "line": 193, + "line": 194, "column": 11 } } @@ -43467,16 +45347,16 @@ "type": "Block", "value": "*\n * Text for select all option, defaults to 'Select all:'\n * @type {String}\n ", "range": [ - 5136, - 5242 + 5180, + 5286 ], "loc": { "start": { - "line": 196, + "line": 197, "column": 8 }, "end": { - "line": 199, + "line": 200, "column": 11 } } @@ -43485,16 +45365,34 @@ "type": "Block", "value": "*\n * List of indexes of hidden columns\n * @private\n ", "range": [ - 5313, - 5393 + 5357, + 5437 ], "loc": { "start": { - "line": 202, + "line": 203, "column": 8 }, "end": { - "line": 205, + "line": 206, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Bound mouseup wrapper\n * @private\n ", + "range": [ + 5477, + 5545 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 212, "column": 11 } } @@ -43503,16 +45401,16 @@ "type": "Block", "value": "*\n * Callback fired when the extension is initialized\n * @type {Function}\n ", "range": [ - 5433, - 5536 + 5589, + 5692 ], "loc": { "start": { - "line": 208, + "line": 215, "column": 8 }, "end": { - "line": 211, + "line": 218, "column": 11 } } @@ -43521,26 +45419,8 @@ "type": "Block", "value": "*\n * Callback fired before the columns manager is opened\n * @type {Function}\n ", "range": [ - 5614, - 5720 - ], - "loc": { - "start": { - "line": 214, - "column": 8 - }, - "end": { - "line": 217, - "column": 11 - } - } - }, - { - "type": "Block", - "value": "*\n * Callback fired after the columns manager is opened\n * @type {Function}\n ", - "range": [ - 5824, - 5929 + 5770, + 5876 ], "loc": { "start": { @@ -43555,28 +45435,28 @@ }, { "type": "Block", - "value": "*\n * Callback fired before the columns manager is closed\n * @type {Function}\n ", + "value": "*\n * Callback fired after the columns manager is opened\n * @type {Function}\n ", "range": [ - 6018, - 6124 + 5980, + 6085 ], "loc": { "start": { - "line": 227, + "line": 228, "column": 8 }, "end": { - "line": 230, + "line": 231, "column": 11 } } }, { "type": "Block", - "value": "*\n * Callback fired after the columns manager is closed\n * @type {Function}\n ", + "value": "*\n * Callback fired before the columns manager is closed\n * @type {Function}\n ", "range": [ - 6231, - 6336 + 6174, + 6280 ], "loc": { "start": { @@ -43591,10 +45471,10 @@ }, { "type": "Block", - "value": "*\n * Callback fired before a column is hidden\n * @type {Function}\n ", + "value": "*\n * Callback fired after the columns manager is closed\n * @type {Function}\n ", "range": [ - 6440, - 6535 + 6387, + 6492 ], "loc": { "start": { @@ -43609,10 +45489,10 @@ }, { "type": "Block", - "value": "*\n * Callback fired after a column is hidden\n * @type {Function}\n ", + "value": "*\n * Callback fired before a column is hidden\n * @type {Function}\n ", "range": [ - 6656, - 6750 + 6596, + 6691 ], "loc": { "start": { @@ -43627,10 +45507,10 @@ }, { "type": "Block", - "value": "*\n * Callback fired before a column is displayed\n * @type {Function}\n ", + "value": "*\n * Callback fired after a column is hidden\n * @type {Function}\n ", "range": [ - 6868, - 6966 + 6812, + 6906 ], "loc": { "start": { @@ -43645,10 +45525,10 @@ }, { "type": "Block", - "value": "*\n * Callback fired after a column is displayed\n * @type {Function}\n ", + "value": "*\n * Callback fired before a column is displayed\n * @type {Function}\n ", "range": [ - 7096, - 7193 + 7024, + 7122 ], "loc": { "start": { @@ -43662,11 +45542,11 @@ } }, { - "type": "Line", - "value": "Grid layout support", + "type": "Block", + "value": "*\n * Callback fired after a column is displayed\n * @type {Function}\n ", "range": [ - 7320, - 7341 + 7252, + 7349 ], "loc": { "start": { @@ -43674,7 +45554,25 @@ "column": 8 }, "end": { - "line": 269, + "line": 272, + "column": 11 + } + } + }, + { + "type": "Line", + "value": "Grid layout support", + "range": [ + 7476, + 7497 + ], + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 276, "column": 29 } } @@ -43683,16 +45581,16 @@ "type": "Line", "value": "headers table", "range": [ - 7435, - 7450 + 7591, + 7606 ], "loc": { "start": { - "line": 271, + "line": 278, "column": 64 }, "end": { - "line": 271, + "line": 278, "column": 79 } } @@ -43701,16 +45599,16 @@ "type": "Line", "value": "headers index", "range": [ - 7486, - 7501 + 7642, + 7657 ], "loc": { "start": { - "line": 272, + "line": 279, "column": 35 }, "end": { - "line": 272, + "line": 279, "column": 50 } } @@ -43719,52 +45617,88 @@ "type": "Line", "value": "Loads extension stylesheet", "range": [ - 7630, - 7658 + 7786, + 7814 ], "loc": { "start": { - "line": 277, + "line": 284, "column": 8 }, "end": { - "line": 277, + "line": 284, "column": 36 } } }, + { + "type": "Block", + "value": "*\n * Mouse-up event handler handling popup auto-close behaviour\n * @private\n ", + "range": [ + 7945, + 8038 + ], + "loc": { + "start": { + "line": 291, + "column": 4 + }, + "end": { + "line": 294, + "column": 7 + } + } + }, { "type": "Block", "value": "*\n * Toggle columns manager UI\n ", "range": [ - 7789, - 7833 + 8389, + 8433 ], "loc": { "start": { - "line": 284, + "line": 310, "column": 4 }, "end": { - "line": 286, + "line": 312, "column": 7 } } }, + { + "type": "Line", + "value": " ensure mouseup event handler is removed", + "range": [ + 8457, + 8499 + ], + "loc": { + "start": { + "line": 314, + "column": 8 + }, + "end": { + "line": 314, + "column": 50 + } + } + }, { "type": "Block", "value": "*\n * Check an item in columns manager UI\n * @private\n ", "range": [ - 8358, - 8428 + 9121, + 9191 ], "loc": { "start": { - "line": 308, + "line": 338, "column": 4 }, "end": { - "line": 311, + "line": 341, "column": 7 } } @@ -43773,35 +45707,35 @@ "type": "Block", "value": "*\n * Initializes ColsVisibility instance\n ", "range": [ - 9069, - 9123 + 9832, + 9886 ], "loc": { "start": { - "line": 334, + "line": 364, "column": 4 }, "end": { - "line": 336, + "line": 366, "column": 7 } } }, { "type": "Block", - "value": "*\n * @inherited\n ", + "value": "* @inherited ", "range": [ - 9377, - 9414 + 10140, + 10157 ], "loc": { "start": { - "line": 348, + "line": 378, "column": 8 }, "end": { - "line": 350, - "column": 11 + "line": 378, + "column": 25 } } }, @@ -43809,16 +45743,16 @@ "type": "Line", "value": " Hide columns at start at very end of initialization, do not move", "range": [ - 9534, - 9601 + 10333, + 10400 ], "loc": { "start": { - "line": 355, + "line": 385, "column": 8 }, "end": { - "line": 355, + "line": 385, "column": 75 } } @@ -43827,16 +45761,16 @@ "type": "Line", "value": " as order is important", "range": [ - 9610, - 9634 + 10409, + 10433 ], "loc": { "start": { - "line": 356, + "line": 386, "column": 8 }, "end": { - "line": 356, + "line": 386, "column": 32 } } @@ -43845,16 +45779,16 @@ "type": "Block", "value": "*\n * Build main button UI\n ", "range": [ - 9675, - 9714 + 10474, + 10513 ], "loc": { "start": { - "line": 360, + "line": 390, "column": 4 }, "end": { - "line": 362, + "line": 392, "column": 7 } } @@ -43863,16 +45797,16 @@ "type": "Line", "value": "Container element (rdiv or custom element)", "range": [ - 9905, - 9949 + 10704, + 10748 ], "loc": { "start": { - "line": 371, + "line": 401, "column": 8 }, "end": { - "line": 371, + "line": 401, "column": 52 } } @@ -43881,16 +45815,16 @@ "type": "Line", "value": "Custom html", "range": [ - 10779, - 10792 + 11578, + 11591 ], "loc": { "start": { - "line": 396, + "line": 426, "column": 17 }, "end": { - "line": 396, + "line": 426, "column": 30 } } @@ -43899,16 +45833,16 @@ "type": "Block", "value": "*\n * Build columns manager UI\n ", "range": [ - 11221, - 11264 + 12020, + 12063 ], "loc": { "start": { - "line": 412, + "line": 442, "column": 4 }, "end": { - "line": 414, + "line": 444, "column": 7 } } @@ -43917,16 +45851,16 @@ "type": "Line", "value": "Extension description", "range": [ - 11481, - 11504 + 12280, + 12303 ], "loc": { "start": { - "line": 423, + "line": 453, "column": 8 }, "end": { - "line": 423, + "line": 453, "column": 31 } } @@ -43935,16 +45869,16 @@ "type": "Line", "value": "Headers list", "range": [ - 11646, - 11660 + 12445, + 12459 ], "loc": { "start": { - "line": 428, + "line": 458, "column": 8 }, "end": { - "line": 428, + "line": 458, "column": 22 } } @@ -43953,16 +45887,16 @@ "type": "Line", "value": "Tick all option", "range": [ - 11957, - 11974 + 12756, + 12773 ], "loc": { "start": { - "line": 437, + "line": 467, "column": 8 }, "end": { - "line": 437, + "line": 467, "column": 25 } } @@ -43971,16 +45905,16 @@ "type": "Line", "value": "separator", "range": [ - 13486, - 13497 + 14285, + 14296 ], "loc": { "start": { - "line": 478, + "line": 508, "column": 8 }, "end": { - "line": 478, + "line": 508, "column": 19 } } @@ -43989,16 +45923,16 @@ "type": "Line", "value": "Close link", "range": [ - 13576, - 13588 + 14375, + 14387 ], "loc": { "start": { - "line": 481, + "line": 511, "column": 8 }, "end": { - "line": 481, + "line": 511, "column": 20 } } @@ -44007,16 +45941,16 @@ "type": "Block", "value": "*\n * Hide or show specified columns\n * @param {Number} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n ", "range": [ - 14221, - 14384 + 15020, + 15183 ], "loc": { "start": { - "line": 501, + "line": 531, "column": 4 }, "end": { - "line": 505, + "line": 535, "column": 7 } } @@ -44025,16 +45959,16 @@ "type": "Line", "value": "This event is fired just after a column is displayed for", "range": [ - 15237, - 15295 + 16036, + 16094 ], "loc": { "start": { - "line": 538, + "line": 568, "column": 12 }, "end": { - "line": 538, + "line": 568, "column": 70 } } @@ -44043,16 +45977,16 @@ "type": "Line", "value": "grid_layout support", "range": [ - 15308, - 15329 + 16107, + 16128 ], "loc": { "start": { - "line": 539, + "line": 569, "column": 12 }, "end": { - "line": 539, + "line": 569, "column": 33 } } @@ -44061,16 +45995,16 @@ "type": "Line", "value": "TODO: grid layout module should be responsible for those", "range": [ - 15342, - 15400 + 16141, + 16199 ], "loc": { "start": { - "line": 540, + "line": 570, "column": 12 }, "end": { - "line": 540, + "line": 570, "column": 70 } } @@ -44079,16 +46013,16 @@ "type": "Line", "value": "calculations", "range": [ - 15413, - 15427 + 16212, + 16226 ], "loc": { "start": { - "line": 541, + "line": 571, "column": 12 }, "end": { - "line": 541, + "line": 571, "column": 26 } } @@ -44097,16 +46031,16 @@ "type": "Line", "value": "This event is fired just after a column is displayed for", "range": [ - 16118, - 16176 + 16917, + 16975 ], "loc": { "start": { - "line": 560, + "line": 590, "column": 12 }, "end": { - "line": 560, + "line": 590, "column": 70 } } @@ -44115,16 +46049,16 @@ "type": "Line", "value": "grid_layout support", "range": [ - 16189, - 16210 + 16988, + 17009 ], "loc": { "start": { - "line": 561, + "line": 591, "column": 12 }, "end": { - "line": 561, + "line": 591, "column": 33 } } @@ -44133,16 +46067,16 @@ "type": "Line", "value": "TODO: grid layout module should be responsible for those", "range": [ - 16223, - 16281 + 17022, + 17080 ], "loc": { "start": { - "line": 562, + "line": 592, "column": 12 }, "end": { - "line": 562, + "line": 592, "column": 70 } } @@ -44151,16 +46085,16 @@ "type": "Line", "value": "calculations", "range": [ - 16294, - 16308 + 17093, + 17107 ], "loc": { "start": { - "line": 563, + "line": 593, "column": 12 }, "end": { - "line": 563, + "line": 593, "column": 26 } } @@ -44169,16 +46103,16 @@ "type": "Block", "value": "*\n * Show specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 16928, - 17014 + 17727, + 17813 ], "loc": { "start": { - "line": 580, + "line": 610, "column": 4 }, "end": { - "line": 583, + "line": 613, "column": 7 } } @@ -44187,16 +46121,16 @@ "type": "Block", "value": "*\n * Hide specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 17395, - 17481 + 18194, + 18280 ], "loc": { "start": { - "line": 598, + "line": 628, "column": 4 }, "end": { - "line": 601, + "line": 631, "column": 7 } } @@ -44205,16 +46139,16 @@ "type": "Block", "value": "*\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n ", "range": [ - 17860, - 17964 + 18659, + 18763 ], "loc": { "start": { - "line": 616, + "line": 646, "column": 4 }, "end": { - "line": 619, + "line": 649, "column": 7 } } @@ -44223,16 +46157,16 @@ "type": "Block", "value": "*\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 18117, - 18219 + 18916, + 19018 ], "loc": { "start": { - "line": 627, + "line": 657, "column": 4 }, "end": { - "line": 630, + "line": 660, "column": 7 } } @@ -44241,16 +46175,16 @@ "type": "Block", "value": "*\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n ", "range": [ - 18424, - 18531 + 19223, + 19330 ], "loc": { "start": { - "line": 639, + "line": 669, "column": 4 }, "end": { - "line": 642, + "line": 672, "column": 7 } } @@ -44259,16 +46193,16 @@ "type": "Block", "value": "*\n * Remove the columns manager\n ", "range": [ - 18597, - 18642 + 19396, + 19441 ], "loc": { "start": { - "line": 647, + "line": 677, "column": 4 }, "end": { - "line": 649, + "line": 679, "column": 7 } } diff --git a/docs/class/src/emitter.js~Emitter.html b/docs/class/src/emitter.js~Emitter.html index 47f1886a..37aae80f 100644 --- a/docs/class/src/emitter.js~Emitter.html +++ b/docs/class/src/emitter.js~Emitter.html @@ -3,7 +3,7 @@ - Emitter | tablefilter v0.4.32 API Document + Emitter | tablefilter v0.4.33 API Document diff --git a/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html b/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html index 835037cc..329f23ea 100644 --- a/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html +++ b/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html @@ -3,7 +3,7 @@ - AdapterEzEditTable | tablefilter v0.4.32 API Document + AdapterEzEditTable | tablefilter v0.4.33 API Document diff --git a/docs/class/src/extensions/colOps/colOps.js~ColOps.html b/docs/class/src/extensions/colOps/colOps.js~ColOps.html index 92e1e10e..6faaa8ca 100644 --- a/docs/class/src/extensions/colOps/colOps.js~ColOps.html +++ b/docs/class/src/extensions/colOps/colOps.js~ColOps.html @@ -3,7 +3,7 @@ - ColOps | tablefilter v0.4.32 API Document + ColOps | tablefilter v0.4.33 API Document diff --git a/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html b/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html index 05f28996..fb0621c1 100644 --- a/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html +++ b/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html @@ -3,7 +3,7 @@ - ColsVisibility | tablefilter v0.4.32 API Document + ColsVisibility | tablefilter v0.4.33 API Document @@ -120,13 +120,13 @@
- + public class - | source + | source
@@ -1765,7 +1765,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -1833,7 +1833,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -1874,7 +1874,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -1915,7 +1915,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -1956,7 +1956,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -1997,7 +1997,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2038,7 +2038,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2079,7 +2079,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2120,7 +2120,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2161,7 +2161,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2202,7 +2202,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2243,7 +2243,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2284,7 +2284,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2325,7 +2325,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2366,7 +2366,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2407,7 +2407,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2448,7 +2448,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2489,7 +2489,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2529,7 +2529,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2570,7 +2570,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2611,7 +2611,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2652,7 +2652,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2693,7 +2693,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2734,7 +2734,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2775,7 +2775,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2816,7 +2816,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2857,7 +2857,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2898,7 +2898,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2939,7 +2939,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -2980,7 +2980,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3021,7 +3021,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3062,7 +3062,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3103,7 +3103,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3144,7 +3144,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3185,7 +3185,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3227,7 +3227,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3268,7 +3268,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3312,7 +3312,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3353,7 +3353,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3394,7 +3394,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3435,7 +3435,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3487,7 +3487,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3545,7 +3545,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3586,7 +3586,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3654,7 +3654,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3719,7 +3719,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3777,7 +3777,7 @@ depending on tick mode (tick_to_hide option)

- source + source @@ -3818,7 +3818,7 @@ depending on tick mode (tick_to_hide option)

- source + source diff --git a/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html b/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html index 3548cd28..5ff39a15 100644 --- a/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html +++ b/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html @@ -3,7 +3,7 @@ - FiltersVisibility | tablefilter v0.4.32 API Document + FiltersVisibility | tablefilter v0.4.33 API Document diff --git a/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html b/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html index 47450cc8..ee9e8887 100644 --- a/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html +++ b/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html @@ -3,7 +3,7 @@ - AdapterSortableTable | tablefilter v0.4.32 API Document + AdapterSortableTable | tablefilter v0.4.33 API Document diff --git a/docs/class/src/feature.js~Feature.html b/docs/class/src/feature.js~Feature.html index 7ba596f2..f5887161 100644 --- a/docs/class/src/feature.js~Feature.html +++ b/docs/class/src/feature.js~Feature.html @@ -3,7 +3,7 @@ - Feature | tablefilter v0.4.32 API Document + Feature | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/alternateRows.js~AlternateRows.html b/docs/class/src/modules/alternateRows.js~AlternateRows.html index 2bfbff12..cb921e69 100644 --- a/docs/class/src/modules/alternateRows.js~AlternateRows.html +++ b/docs/class/src/modules/alternateRows.js~AlternateRows.html @@ -3,7 +3,7 @@ - AlternateRows | tablefilter v0.4.32 API Document + AlternateRows | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/checkList.js~CheckList.html b/docs/class/src/modules/checkList.js~CheckList.html index d23483a9..47a6e5fb 100644 --- a/docs/class/src/modules/checkList.js~CheckList.html +++ b/docs/class/src/modules/checkList.js~CheckList.html @@ -3,7 +3,7 @@ - CheckList | tablefilter v0.4.32 API Document + CheckList | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/clearButton.js~ClearButton.html b/docs/class/src/modules/clearButton.js~ClearButton.html index 98362ccf..e9edb5db 100644 --- a/docs/class/src/modules/clearButton.js~ClearButton.html +++ b/docs/class/src/modules/clearButton.js~ClearButton.html @@ -3,7 +3,7 @@ - ClearButton | tablefilter v0.4.32 API Document + ClearButton | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/dateType.js~DateType.html b/docs/class/src/modules/dateType.js~DateType.html index 2bd7b1a0..371a4430 100644 --- a/docs/class/src/modules/dateType.js~DateType.html +++ b/docs/class/src/modules/dateType.js~DateType.html @@ -3,7 +3,7 @@ - DateType | tablefilter v0.4.32 API Document + DateType | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/dropdown.js~Dropdown.html b/docs/class/src/modules/dropdown.js~Dropdown.html index 9a91b86f..f6213ca1 100644 --- a/docs/class/src/modules/dropdown.js~Dropdown.html +++ b/docs/class/src/modules/dropdown.js~Dropdown.html @@ -3,7 +3,7 @@ - Dropdown | tablefilter v0.4.32 API Document + Dropdown | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/gridLayout.js~GridLayout.html b/docs/class/src/modules/gridLayout.js~GridLayout.html index a9f532e9..2c427695 100644 --- a/docs/class/src/modules/gridLayout.js~GridLayout.html +++ b/docs/class/src/modules/gridLayout.js~GridLayout.html @@ -3,7 +3,7 @@ - GridLayout | tablefilter v0.4.32 API Document + GridLayout | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/hash.js~Hash.html b/docs/class/src/modules/hash.js~Hash.html index 11e5bc37..0885af75 100644 --- a/docs/class/src/modules/hash.js~Hash.html +++ b/docs/class/src/modules/hash.js~Hash.html @@ -3,7 +3,7 @@ - Hash | tablefilter v0.4.32 API Document + Hash | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/help.js~Help.html b/docs/class/src/modules/help.js~Help.html index 8350a98a..486493ca 100644 --- a/docs/class/src/modules/help.js~Help.html +++ b/docs/class/src/modules/help.js~Help.html @@ -3,7 +3,7 @@ - Help | tablefilter v0.4.32 API Document + Help | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html b/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html index 80d0cc8c..dd6debc8 100644 --- a/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html +++ b/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html @@ -3,7 +3,7 @@ - HighlightKeyword | tablefilter v0.4.32 API Document + HighlightKeyword | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/loader.js~Loader.html b/docs/class/src/modules/loader.js~Loader.html index bc1d445c..04187f4c 100644 --- a/docs/class/src/modules/loader.js~Loader.html +++ b/docs/class/src/modules/loader.js~Loader.html @@ -3,7 +3,7 @@ - Loader | tablefilter v0.4.32 API Document + Loader | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/noResults.js~NoResults.html b/docs/class/src/modules/noResults.js~NoResults.html index 69b09922..96215aa5 100644 --- a/docs/class/src/modules/noResults.js~NoResults.html +++ b/docs/class/src/modules/noResults.js~NoResults.html @@ -3,7 +3,7 @@ - NoResults | tablefilter v0.4.32 API Document + NoResults | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/paging.js~Paging.html b/docs/class/src/modules/paging.js~Paging.html index 817dfa6a..e6099c6e 100644 --- a/docs/class/src/modules/paging.js~Paging.html +++ b/docs/class/src/modules/paging.js~Paging.html @@ -3,7 +3,7 @@ - Paging | tablefilter v0.4.32 API Document + Paging | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/popupFilter.js~PopupFilter.html b/docs/class/src/modules/popupFilter.js~PopupFilter.html index 4a70a96d..db764f33 100644 --- a/docs/class/src/modules/popupFilter.js~PopupFilter.html +++ b/docs/class/src/modules/popupFilter.js~PopupFilter.html @@ -3,7 +3,7 @@ - PopupFilter | tablefilter v0.4.32 API Document + PopupFilter | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/rowsCounter.js~RowsCounter.html b/docs/class/src/modules/rowsCounter.js~RowsCounter.html index d6224f52..97590262 100644 --- a/docs/class/src/modules/rowsCounter.js~RowsCounter.html +++ b/docs/class/src/modules/rowsCounter.js~RowsCounter.html @@ -3,7 +3,7 @@ - RowsCounter | tablefilter v0.4.32 API Document + RowsCounter | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/state.js~State.html b/docs/class/src/modules/state.js~State.html index f4c6d3b5..a5b4e03d 100644 --- a/docs/class/src/modules/state.js~State.html +++ b/docs/class/src/modules/state.js~State.html @@ -3,7 +3,7 @@ - State | tablefilter v0.4.32 API Document + State | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/statusBar.js~StatusBar.html b/docs/class/src/modules/statusBar.js~StatusBar.html index b9fe385a..7ed981bf 100644 --- a/docs/class/src/modules/statusBar.js~StatusBar.html +++ b/docs/class/src/modules/statusBar.js~StatusBar.html @@ -3,7 +3,7 @@ - StatusBar | tablefilter v0.4.32 API Document + StatusBar | tablefilter v0.4.33 API Document diff --git a/docs/class/src/modules/storage.js~Storage.html b/docs/class/src/modules/storage.js~Storage.html index 6c145c3d..4b7de973 100644 --- a/docs/class/src/modules/storage.js~Storage.html +++ b/docs/class/src/modules/storage.js~Storage.html @@ -3,7 +3,7 @@ - Storage | tablefilter v0.4.32 API Document + Storage | tablefilter v0.4.33 API Document diff --git a/docs/class/src/tablefilter.js~TableFilter.html b/docs/class/src/tablefilter.js~TableFilter.html index fea2540d..8b8e8f87 100644 --- a/docs/class/src/tablefilter.js~TableFilter.html +++ b/docs/class/src/tablefilter.js~TableFilter.html @@ -3,7 +3,7 @@ - TableFilter | tablefilter v0.4.32 API Document + TableFilter | tablefilter v0.4.33 API Document diff --git a/docs/dump.json b/docs/dump.json index 68e89e0d..eb2b601f 100644 --- a/docs/dump.json +++ b/docs/dump.json @@ -2251,7 +2251,7 @@ "access": null, "description": null, "lineNumber": 1, - "content": "import {Feature} from '../../feature';\nimport {\n addClass, removeClass, createCheckItem, createElm, elm, removeElm,\n getText\n} from '../../dom';\nimport {isFn, EMPTY_FN} from '../../types';\nimport {addEvt, targetEvt} from '../../event';\n\n/**\n * Columns Visibility extension\n */\nexport default class ColsVisibility extends Feature {\n\n /**\n * Creates an instance of ColsVisibility\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} Configuration object\n */\n constructor(tf, f) {\n super(tf, f.name);\n\n // Configuration object\n let cfg = this.config;\n\n /**\n * Module name\n * @type {String}\n */\n this.name = f.name;\n\n /**\n * Module description\n * @type {String}\n */\n this.desc = f.description || 'Columns visibility manager';\n\n /**\n * show/hide columns container element\n * @private\n */\n this.spanEl = null;\n\n /**\n * show/hide columns button element\n * @private\n */\n this.btnEl = null;\n\n /**\n * show/hide columns main container element\n * @private\n */\n this.contEl = null;\n\n /**\n * Enable tick to hide a column, defaults to true\n * @type {Boolean}\n */\n this.tickToHide = f.tick_to_hide === false ? false : true;\n\n /**\n * Enable columns manager UI, defaults to true\n * @type {Boolean}\n */\n this.manager = f.manager === false ? false : true;\n\n /**\n * Headers HTML table reference only if headers are external\n * @type {DOMElement}\n */\n this.headersTbl = f.headers_table || null;\n\n /**\n * Headers row index only if headers are external\n * @type {Number}\n */\n this.headersIndex = f.headers_index || 1;\n\n /**\n * ID of main container element\n * @type {String}\n */\n this.contElTgtId = f.container_target_id || null;\n\n /**\n * Alternative text for column headers in column manager UI\n * @type {Array}\n */\n this.headersText = f.headers_text || null;\n\n /**\n * ID of button's container element\n * @type {String}\n */\n this.btnTgtId = f.btn_target_id || null;\n\n /**\n * Button's text, defaults to Columns▼\n * @type {String}\n */\n this.btnText = f.btn_text || 'Columns▼';\n\n /**\n * Button's inner HTML\n * @type {String}\n */\n this.btnHtml = f.btn_html || null;\n\n /**\n * Css class for button\n * @type {String}\n */\n this.btnCssClass = f.btn_css_class || 'colVis';\n\n /**\n * Columns manager UI close link text, defaults to 'Close'\n * @type {String}\n */\n this.btnCloseText = f.btn_close_text || 'Close';\n\n /**\n * Columns manager UI close link HTML\n * @type {String}\n */\n this.btnCloseHtml = f.btn_close_html || null;\n\n /**\n * Css for columns manager UI close link\n * @type {String}\n */\n this.btnCloseCssClass = f.btn_close_css_class || this.btnCssClass;\n\n /**\n * Extension's stylesheet filename\n * @type {String}\n */\n this.stylesheet = f.stylesheet || 'colsVisibility.css';\n\n /**\n * Css for columns manager UI span\n * @type {String}\n */\n this.spanCssClass = f.span_css_class || 'colVisSpan';\n\n /**\n * Css for columns manager UI main container\n * @type {String}\n */\n this.contCssClass = f.cont_css_class || 'colVisCont';\n\n /**\n * Css for columns manager UI checklist (ul)\n * @type {String}\n */\n this.listCssClass = cfg.list_css_class || 'cols_checklist';\n\n /**\n * Css for columns manager UI checklist item (li)\n * @type {String}\n */\n this.listItemCssClass = cfg.checklist_item_css_class ||\n 'cols_checklist_item';\n\n /**\n * Css for columns manager UI checklist item selected state (li)\n * @type {String}\n */\n this.listSlcItemCssClass = cfg.checklist_selected_item_css_class ||\n 'cols_checklist_slc_item';\n\n /**\n * Text preceding the columns list, defaults to 'Hide' or 'Show'\n * depending on tick mode (tick_to_hide option)\n * @type {String}\n */\n this.text = f.text || (this.tickToHide ? 'Hide: ' : 'Show: ');\n\n /**\n * List of columns indexes to be hidden at initialization\n * @type {Array}\n */\n this.atStart = f.at_start || [];\n\n /**\n * Enable hover behaviour on columns manager button/link\n * @type {Boolean}\n */\n this.enableHover = Boolean(f.enable_hover);\n\n /**\n * Enable select all option, disabled by default\n * @type {Boolean}\n */\n this.enableTickAll = Boolean(f.enable_tick_all);\n\n /**\n * Text for select all option, defaults to 'Select all:'\n * @type {String}\n */\n this.tickAllText = f.tick_all_text || 'Select all:';\n\n /**\n * List of indexes of hidden columns\n * @private\n */\n this.hiddenCols = [];\n\n /**\n * Callback fired when the extension is initialized\n * @type {Function}\n */\n this.onLoaded = isFn(f.on_loaded) ? f.on_loaded : EMPTY_FN;\n\n /**\n * Callback fired before the columns manager is opened\n * @type {Function}\n */\n this.onBeforeOpen = isFn(f.on_before_open) ?\n f.on_before_open : EMPTY_FN;\n\n /**\n * Callback fired after the columns manager is opened\n * @type {Function}\n */\n this.onAfterOpen = isFn(f.on_after_open) ? f.on_after_open : EMPTY_FN;\n\n /**\n * Callback fired before the columns manager is closed\n * @type {Function}\n */\n this.onBeforeClose = isFn(f.on_before_close) ?\n f.on_before_close : EMPTY_FN;\n\n /**\n * Callback fired after the columns manager is closed\n * @type {Function}\n */\n this.onAfterClose = isFn(f.on_after_close) ?\n f.on_after_close : EMPTY_FN;\n\n /**\n * Callback fired before a column is hidden\n * @type {Function}\n */\n this.onBeforeColHidden = isFn(f.on_before_col_hidden) ?\n f.on_before_col_hidden : EMPTY_FN;\n\n /**\n * Callback fired after a column is hidden\n * @type {Function}\n */\n this.onAfterColHidden = isFn(f.on_after_col_hidden) ?\n f.on_after_col_hidden : EMPTY_FN;\n\n /**\n * Callback fired before a column is displayed\n * @type {Function}\n */\n this.onBeforeColDisplayed = isFn(f.on_before_col_displayed) ?\n f.on_before_col_displayed : EMPTY_FN;\n\n /**\n * Callback fired after a column is displayed\n * @type {Function}\n */\n this.onAfterColDisplayed = isFn(f.on_after_col_displayed) ?\n f.on_after_col_displayed : EMPTY_FN;\n\n //Grid layout support\n if (tf.gridLayout) {\n this.headersTbl = tf.feature('gridLayout').headTbl; //headers table\n this.headersIndex = 0; //headers index\n this.onAfterColDisplayed = function () { };\n this.onAfterColHidden = function () { };\n }\n\n //Loads extension stylesheet\n tf.import(f.name + 'Style', tf.stylePath + this.stylesheet, null,\n 'link');\n\n this.enable();\n }\n\n /**\n * Toggle columns manager UI\n */\n toggle() {\n let contDisplay = this.contEl.style.display;\n\n if (contDisplay !== 'inline') {\n this.onBeforeOpen(this);\n }\n if (contDisplay === 'inline') {\n this.onBeforeClose(this);\n }\n\n this.contEl.style.display = contDisplay === 'inline' ?\n 'none' : 'inline';\n\n if (contDisplay !== 'inline') {\n this.onAfterOpen(this);\n }\n if (contDisplay === 'inline') {\n this.onAfterClose(this);\n }\n }\n\n /**\n * Check an item in columns manager UI\n * @private\n */\n checkItem(lbl) {\n let li = lbl.parentNode;\n if (!li || !lbl) {\n return;\n }\n let isChecked = lbl.firstChild.checked;\n let colIndex = lbl.firstChild.getAttribute('id').split('_')[1];\n colIndex = parseInt(colIndex, 10);\n if (isChecked) {\n addClass(li, this.listSlcItemCssClass);\n } else {\n removeClass(li, this.listSlcItemCssClass);\n }\n\n let hide = false;\n if ((this.tickToHide && isChecked) ||\n (!this.tickToHide && !isChecked)) {\n hide = true;\n }\n this.setHidden(colIndex, hide);\n }\n\n /**\n * Initializes ColsVisibility instance\n */\n init() {\n if (this.initialized || !this.manager) {\n return;\n }\n\n this.emitter.on(['hide-column'],\n (tf, colIndex) => this.hideCol(colIndex));\n\n this.buildBtn();\n this.buildManager();\n\n /**\n * @inherited\n */\n this.initialized = true;\n\n this.emitter.emit('columns-visibility-initialized', this.tf, this);\n\n // Hide columns at start at very end of initialization, do not move\n // as order is important\n this._hideAtStart();\n }\n\n /**\n * Build main button UI\n */\n buildBtn() {\n if (this.btnEl) {\n return;\n }\n let tf = this.tf;\n let span = createElm('span');\n span.className = this.spanCssClass;\n\n //Container element (rdiv or custom element)\n if (!this.btnTgtId) {\n tf.setToolbar();\n }\n let targetEl = !this.btnTgtId ? tf.rDiv : elm(this.btnTgtId);\n\n if (!this.btnTgtId) {\n let firstChild = targetEl.firstChild;\n firstChild.parentNode.insertBefore(span, firstChild);\n } else {\n targetEl.appendChild(span);\n }\n\n if (!this.btnHtml) {\n let btn = createElm('a', ['href', 'javascript:;']);\n btn.className = this.btnCssClass;\n btn.title = this.desc;\n\n btn.innerHTML = this.btnText;\n span.appendChild(btn);\n if (!this.enableHover) {\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n } else {\n addEvt(btn, 'mouseover', (evt) => this.toggle(evt));\n }\n } else { //Custom html\n span.innerHTML = this.btnHtml;\n let colVisEl = span.firstChild;\n if (!this.enableHover) {\n addEvt(colVisEl, 'click', (evt) => this.toggle(evt));\n } else {\n addEvt(colVisEl, 'mouseover', (evt) => this.toggle(evt));\n }\n }\n\n this.spanEl = span;\n this.btnEl = this.spanEl.firstChild;\n\n this.onLoaded(this);\n }\n\n /**\n * Build columns manager UI\n */\n buildManager() {\n let tf = this.tf;\n\n let container = !this.contElTgtId ?\n createElm('div') :\n elm(this.contElTgtId);\n container.className = this.contCssClass;\n\n //Extension description\n let extNameLabel = createElm('p');\n extNameLabel.innerHTML = this.text;\n container.appendChild(extNameLabel);\n\n //Headers list\n let ul = createElm('ul');\n ul.className = this.listCssClass;\n\n let tbl = this.headersTbl ? this.headersTbl : tf.tbl;\n let headerIndex = this.headersTbl ?\n this.headersIndex : tf.getHeadersRowIndex();\n let headerRow = tbl.rows[headerIndex];\n\n //Tick all option\n if (this.enableTickAll) {\n let li = createCheckItem('col__' + tf.id, this.tickAllText,\n this.tickAllText);\n addClass(li, this.listItemCssClass);\n ul.appendChild(li);\n li.check.checked = !this.tickToHide;\n\n addEvt(li.check, 'click', () => {\n for (let h = 0; h < headerRow.cells.length; h++) {\n let itm = elm('col_' + h + '_' + tf.id);\n if (itm && li.check.checked !== itm.checked) {\n itm.click();\n itm.checked = li.check.checked;\n }\n }\n });\n }\n\n for (let i = 0; i < headerRow.cells.length; i++) {\n let cell = headerRow.cells[i];\n let cellText = this.headersText && this.headersText[i] ?\n this.headersText[i] : this._getHeaderText(cell);\n let liElm = createCheckItem('col_' + i + '_' + tf.id, cellText,\n cellText);\n addClass(liElm, this.listItemCssClass);\n if (!this.tickToHide) {\n addClass(liElm, this.listSlcItemCssClass);\n }\n ul.appendChild(liElm);\n if (!this.tickToHide) {\n liElm.check.checked = true;\n }\n\n addEvt(liElm.check, 'click', (evt) => {\n let elm = targetEvt(evt);\n let lbl = elm.parentNode;\n this.checkItem(lbl);\n });\n }\n\n //separator\n let p = createElm('p', ['align', 'center']);\n let btn;\n //Close link\n if (!this.btnCloseHtml) {\n btn = createElm('a', ['href', 'javascript:;']);\n btn.className = this.btnCloseCssClass;\n btn.innerHTML = this.btnCloseText;\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n p.appendChild(btn);\n } else {\n p.innerHTML = this.btnCloseHtml;\n btn = p.firstChild;\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n }\n\n container.appendChild(ul);\n container.appendChild(p);\n\n this.btnEl.parentNode.insertBefore(container, this.btnEl);\n this.contEl = container;\n }\n\n /**\n * Hide or show specified columns\n * @param {Number} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n */\n setHidden(colIndex, hide) {\n let tf = this.tf;\n let tbl = tf.tbl;\n\n if (hide) {\n this.onBeforeColHidden(this, colIndex);\n }\n if (!hide) {\n this.onBeforeColDisplayed(this, colIndex);\n }\n\n this._hideCells(tbl, colIndex, hide);\n if (this.headersTbl) {\n this._hideCells(this.headersTbl, colIndex, hide);\n }\n\n let hiddenCols = this.hiddenCols;\n let itemIndex = hiddenCols.indexOf(colIndex);\n if (hide) {\n if (itemIndex === -1) {\n this.hiddenCols.push(colIndex);\n }\n } else {\n if (itemIndex !== -1) {\n this.hiddenCols.splice(itemIndex, 1);\n }\n }\n\n let gridLayout;\n let headTbl;\n let gridColElms;\n if (hide) {\n //This event is fired just after a column is displayed for\n //grid_layout support\n //TODO: grid layout module should be responsible for those\n //calculations\n if (tf.gridLayout) {\n gridLayout = tf.feature('gridLayout');\n headTbl = gridLayout.headTbl;\n gridColElms = gridLayout.colElms;\n let hiddenWidth = parseInt(\n gridColElms[colIndex].style.width, 10);\n\n let headTblW = parseInt(headTbl.style.width, 10);\n headTbl.style.width = headTblW - hiddenWidth + 'px';\n tbl.style.width = headTbl.style.width;\n }\n\n this.onAfterColHidden(this, colIndex);\n this.emitter.emit('column-hidden', tf, this, colIndex,\n this.hiddenCols);\n }\n\n if (!hide) {\n //This event is fired just after a column is displayed for\n //grid_layout support\n //TODO: grid layout module should be responsible for those\n //calculations\n if (tf.gridLayout) {\n gridLayout = tf.feature('gridLayout');\n headTbl = gridLayout.headTbl;\n gridColElms = gridLayout.colElms;\n let width = parseInt(gridColElms[colIndex].style.width, 10);\n headTbl.style.width =\n (parseInt(headTbl.style.width, 10) + width) + 'px';\n tf.tbl.style.width = headTbl.style.width;\n }\n\n this.onAfterColDisplayed(this, colIndex);\n this.emitter.emit('column-shown', tf, this, colIndex,\n this.hiddenCols);\n }\n }\n\n /**\n * Show specified column\n * @param {Number} colIndex Column index\n */\n showCol(colIndex) {\n if (colIndex === undefined || !this.isColHidden(colIndex)) {\n return;\n }\n if (this.manager && this.contEl) {\n let itm = elm('col_' + colIndex + '_' + this.tf.id);\n if (itm) {\n itm.click();\n }\n } else {\n this.setHidden(colIndex, false);\n }\n }\n\n /**\n * Hide specified column\n * @param {Number} colIndex Column index\n */\n hideCol(colIndex) {\n if (colIndex === undefined || this.isColHidden(colIndex)) {\n return;\n }\n if (this.manager && this.contEl) {\n let itm = elm('col_' + colIndex + '_' + this.tf.id);\n if (itm) {\n itm.click();\n }\n } else {\n this.setHidden(colIndex, true);\n }\n }\n\n /**\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n */\n isColHidden(colIndex) {\n if (this.hiddenCols.indexOf(colIndex) !== -1) {\n return true;\n }\n return false;\n }\n\n /**\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n */\n toggleCol(colIndex) {\n if (colIndex === undefined || this.isColHidden(colIndex)) {\n this.showCol(colIndex);\n } else {\n this.hideCol(colIndex);\n }\n }\n\n /**\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n */\n getHiddenCols() {\n return this.hiddenCols;\n }\n\n /**\n * Remove the columns manager\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n if (elm(this.contElTgtId)) {\n elm(this.contElTgtId).innerHTML = '';\n } else {\n this.contEl.innerHTML = '';\n removeElm(this.contEl);\n this.contEl = null;\n }\n this.btnEl.innerHTML = '';\n removeElm(this.btnEl);\n this.btnEl = null;\n\n this.emitter.off(['hide-column'],\n (tf, colIndex) => this.hideCol(colIndex));\n\n this.initialized = false;\n }\n\n _getHeaderText(cell) {\n if (!cell.hasChildNodes) {\n return '';\n }\n\n for (let i = 0; i < cell.childNodes.length; i++) {\n let n = cell.childNodes[i];\n if (n.nodeType === 3) {\n return n.nodeValue;\n } else if (n.nodeType === 1) {\n if (n.id && n.id.indexOf('popUp') !== -1) {\n continue;\n } else {\n return getText(n);\n }\n }\n continue;\n }\n return '';\n }\n\n _hideCells(tbl, colIndex, hide) {\n for (let i = 0; i < tbl.rows.length; i++) {\n let row = tbl.rows[i];\n let cell = row.cells[colIndex];\n if (cell) {\n cell.style.display = hide ? 'none' : '';\n }\n }\n }\n\n _hideAtStart() {\n this.atStart.forEach((colIdx) => {\n this.hideCol(colIdx);\n });\n }\n}\n" + "content": "import {Feature} from '../../feature';\nimport {\n addClass, removeClass, createCheckItem, createElm, elm, removeElm,\n getText\n} from '../../dom';\nimport {isFn, EMPTY_FN} from '../../types';\nimport {addEvt, targetEvt, removeEvt} from '../../event';\nimport {root} from '../../root';\n\n/**\n * Columns Visibility extension\n */\nexport default class ColsVisibility extends Feature {\n\n /**\n * Creates an instance of ColsVisibility\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} Configuration object\n */\n constructor(tf, f) {\n super(tf, f.name);\n\n // Configuration object\n let cfg = this.config;\n\n /**\n * Module name\n * @type {String}\n */\n this.name = f.name;\n\n /**\n * Module description\n * @type {String}\n */\n this.desc = f.description || 'Columns visibility manager';\n\n /**\n * show/hide columns container element\n * @private\n */\n this.spanEl = null;\n\n /**\n * show/hide columns button element\n * @private\n */\n this.btnEl = null;\n\n /**\n * show/hide columns main container element\n * @private\n */\n this.contEl = null;\n\n /**\n * Enable tick to hide a column, defaults to true\n * @type {Boolean}\n */\n this.tickToHide = f.tick_to_hide === false ? false : true;\n\n /**\n * Enable columns manager UI, defaults to true\n * @type {Boolean}\n */\n this.manager = f.manager === false ? false : true;\n\n /**\n * Headers HTML table reference only if headers are external\n * @type {DOMElement}\n */\n this.headersTbl = f.headers_table || null;\n\n /**\n * Headers row index only if headers are external\n * @type {Number}\n */\n this.headersIndex = f.headers_index || 1;\n\n /**\n * ID of main container element\n * @type {String}\n */\n this.contElTgtId = f.container_target_id || null;\n\n /**\n * Alternative text for column headers in column manager UI\n * @type {Array}\n */\n this.headersText = f.headers_text || null;\n\n /**\n * ID of button's container element\n * @type {String}\n */\n this.btnTgtId = f.btn_target_id || null;\n\n /**\n * Button's text, defaults to Columns▼\n * @type {String}\n */\n this.btnText = f.btn_text || 'Columns▼';\n\n /**\n * Button's inner HTML\n * @type {String}\n */\n this.btnHtml = f.btn_html || null;\n\n /**\n * Css class for button\n * @type {String}\n */\n this.btnCssClass = f.btn_css_class || 'colVis';\n\n /**\n * Columns manager UI close link text, defaults to 'Close'\n * @type {String}\n */\n this.btnCloseText = f.btn_close_text || 'Close';\n\n /**\n * Columns manager UI close link HTML\n * @type {String}\n */\n this.btnCloseHtml = f.btn_close_html || null;\n\n /**\n * Css for columns manager UI close link\n * @type {String}\n */\n this.btnCloseCssClass = f.btn_close_css_class || this.btnCssClass;\n\n /**\n * Extension's stylesheet filename\n * @type {String}\n */\n this.stylesheet = f.stylesheet || 'colsVisibility.css';\n\n /**\n * Css for columns manager UI span\n * @type {String}\n */\n this.spanCssClass = f.span_css_class || 'colVisSpan';\n\n /**\n * Css for columns manager UI main container\n * @type {String}\n */\n this.contCssClass = f.cont_css_class || 'colVisCont';\n\n /**\n * Css for columns manager UI checklist (ul)\n * @type {String}\n */\n this.listCssClass = cfg.list_css_class || 'cols_checklist';\n\n /**\n * Css for columns manager UI checklist item (li)\n * @type {String}\n */\n this.listItemCssClass = cfg.checklist_item_css_class ||\n 'cols_checklist_item';\n\n /**\n * Css for columns manager UI checklist item selected state (li)\n * @type {String}\n */\n this.listSlcItemCssClass = cfg.checklist_selected_item_css_class ||\n 'cols_checklist_slc_item';\n\n /**\n * Text preceding the columns list, defaults to 'Hide' or 'Show'\n * depending on tick mode (tick_to_hide option)\n * @type {String}\n */\n this.text = f.text || (this.tickToHide ? 'Hide: ' : 'Show: ');\n\n /**\n * List of columns indexes to be hidden at initialization\n * @type {Array}\n */\n this.atStart = f.at_start || [];\n\n /**\n * Enable hover behaviour on columns manager button/link\n * @type {Boolean}\n */\n this.enableHover = Boolean(f.enable_hover);\n\n /**\n * Enable select all option, disabled by default\n * @type {Boolean}\n */\n this.enableTickAll = Boolean(f.enable_tick_all);\n\n /**\n * Text for select all option, defaults to 'Select all:'\n * @type {String}\n */\n this.tickAllText = f.tick_all_text || 'Select all:';\n\n /**\n * List of indexes of hidden columns\n * @private\n */\n this.hiddenCols = [];\n\n /**\n * Bound mouseup wrapper\n * @private\n */\n this.boundMouseup = null;\n\n /**\n * Callback fired when the extension is initialized\n * @type {Function}\n */\n this.onLoaded = isFn(f.on_loaded) ? f.on_loaded : EMPTY_FN;\n\n /**\n * Callback fired before the columns manager is opened\n * @type {Function}\n */\n this.onBeforeOpen = isFn(f.on_before_open) ?\n f.on_before_open : EMPTY_FN;\n\n /**\n * Callback fired after the columns manager is opened\n * @type {Function}\n */\n this.onAfterOpen = isFn(f.on_after_open) ? f.on_after_open : EMPTY_FN;\n\n /**\n * Callback fired before the columns manager is closed\n * @type {Function}\n */\n this.onBeforeClose = isFn(f.on_before_close) ?\n f.on_before_close : EMPTY_FN;\n\n /**\n * Callback fired after the columns manager is closed\n * @type {Function}\n */\n this.onAfterClose = isFn(f.on_after_close) ?\n f.on_after_close : EMPTY_FN;\n\n /**\n * Callback fired before a column is hidden\n * @type {Function}\n */\n this.onBeforeColHidden = isFn(f.on_before_col_hidden) ?\n f.on_before_col_hidden : EMPTY_FN;\n\n /**\n * Callback fired after a column is hidden\n * @type {Function}\n */\n this.onAfterColHidden = isFn(f.on_after_col_hidden) ?\n f.on_after_col_hidden : EMPTY_FN;\n\n /**\n * Callback fired before a column is displayed\n * @type {Function}\n */\n this.onBeforeColDisplayed = isFn(f.on_before_col_displayed) ?\n f.on_before_col_displayed : EMPTY_FN;\n\n /**\n * Callback fired after a column is displayed\n * @type {Function}\n */\n this.onAfterColDisplayed = isFn(f.on_after_col_displayed) ?\n f.on_after_col_displayed : EMPTY_FN;\n\n //Grid layout support\n if (tf.gridLayout) {\n this.headersTbl = tf.feature('gridLayout').headTbl; //headers table\n this.headersIndex = 0; //headers index\n this.onAfterColDisplayed = function () { };\n this.onAfterColHidden = function () { };\n }\n\n //Loads extension stylesheet\n tf.import(f.name + 'Style', tf.stylePath + this.stylesheet, null,\n 'link');\n\n this.enable();\n }\n\n /**\n * Mouse-up event handler handling popup auto-close behaviour\n * @private\n */\n onMouseup(evt) {\n let targetElm = targetEvt(evt);\n\n while (targetElm && targetElm !== this.contEl\n && targetElm !== this.btnEl) {\n targetElm = targetElm.parentNode;\n }\n\n if (targetElm !== this.contEl && targetElm !== this.btnEl) {\n this.toggle();\n }\n\n return;\n }\n\n /**\n * Toggle columns manager UI\n */\n toggle() {\n // ensure mouseup event handler is removed\n removeEvt(root, 'mouseup', this.boundMouseup);\n\n let contDisplay = this.contEl.style.display;\n\n if (contDisplay !== 'inline') {\n this.onBeforeOpen(this);\n }\n if (contDisplay === 'inline') {\n this.onBeforeClose(this);\n }\n\n this.contEl.style.display = contDisplay === 'inline' ?\n 'none' : 'inline';\n\n if (contDisplay !== 'inline') {\n this.onAfterOpen(this);\n addEvt(root, 'mouseup', this.boundMouseup);\n }\n if (contDisplay === 'inline') {\n this.onAfterClose(this);\n }\n }\n\n /**\n * Check an item in columns manager UI\n * @private\n */\n checkItem(lbl) {\n let li = lbl.parentNode;\n if (!li || !lbl) {\n return;\n }\n let isChecked = lbl.firstChild.checked;\n let colIndex = lbl.firstChild.getAttribute('id').split('_')[1];\n colIndex = parseInt(colIndex, 10);\n if (isChecked) {\n addClass(li, this.listSlcItemCssClass);\n } else {\n removeClass(li, this.listSlcItemCssClass);\n }\n\n let hide = false;\n if ((this.tickToHide && isChecked) ||\n (!this.tickToHide && !isChecked)) {\n hide = true;\n }\n this.setHidden(colIndex, hide);\n }\n\n /**\n * Initializes ColsVisibility instance\n */\n init() {\n if (this.initialized || !this.manager) {\n return;\n }\n\n this.emitter.on(['hide-column'],\n (tf, colIndex) => this.hideCol(colIndex));\n\n this.buildBtn();\n this.buildManager();\n\n /** @inherited */\n this.initialized = true;\n\n this.boundMouseup = this.onMouseup.bind(this);\n\n this.emitter.emit('columns-visibility-initialized', this.tf, this);\n\n // Hide columns at start at very end of initialization, do not move\n // as order is important\n this._hideAtStart();\n }\n\n /**\n * Build main button UI\n */\n buildBtn() {\n if (this.btnEl) {\n return;\n }\n let tf = this.tf;\n let span = createElm('span');\n span.className = this.spanCssClass;\n\n //Container element (rdiv or custom element)\n if (!this.btnTgtId) {\n tf.setToolbar();\n }\n let targetEl = !this.btnTgtId ? tf.rDiv : elm(this.btnTgtId);\n\n if (!this.btnTgtId) {\n let firstChild = targetEl.firstChild;\n firstChild.parentNode.insertBefore(span, firstChild);\n } else {\n targetEl.appendChild(span);\n }\n\n if (!this.btnHtml) {\n let btn = createElm('a', ['href', 'javascript:;']);\n btn.className = this.btnCssClass;\n btn.title = this.desc;\n\n btn.innerHTML = this.btnText;\n span.appendChild(btn);\n if (!this.enableHover) {\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n } else {\n addEvt(btn, 'mouseover', (evt) => this.toggle(evt));\n }\n } else { //Custom html\n span.innerHTML = this.btnHtml;\n let colVisEl = span.firstChild;\n if (!this.enableHover) {\n addEvt(colVisEl, 'click', (evt) => this.toggle(evt));\n } else {\n addEvt(colVisEl, 'mouseover', (evt) => this.toggle(evt));\n }\n }\n\n this.spanEl = span;\n this.btnEl = this.spanEl.firstChild;\n\n this.onLoaded(this);\n }\n\n /**\n * Build columns manager UI\n */\n buildManager() {\n let tf = this.tf;\n\n let container = !this.contElTgtId ?\n createElm('div') :\n elm(this.contElTgtId);\n container.className = this.contCssClass;\n\n //Extension description\n let extNameLabel = createElm('p');\n extNameLabel.innerHTML = this.text;\n container.appendChild(extNameLabel);\n\n //Headers list\n let ul = createElm('ul');\n ul.className = this.listCssClass;\n\n let tbl = this.headersTbl ? this.headersTbl : tf.tbl;\n let headerIndex = this.headersTbl ?\n this.headersIndex : tf.getHeadersRowIndex();\n let headerRow = tbl.rows[headerIndex];\n\n //Tick all option\n if (this.enableTickAll) {\n let li = createCheckItem('col__' + tf.id, this.tickAllText,\n this.tickAllText);\n addClass(li, this.listItemCssClass);\n ul.appendChild(li);\n li.check.checked = !this.tickToHide;\n\n addEvt(li.check, 'click', () => {\n for (let h = 0; h < headerRow.cells.length; h++) {\n let itm = elm('col_' + h + '_' + tf.id);\n if (itm && li.check.checked !== itm.checked) {\n itm.click();\n itm.checked = li.check.checked;\n }\n }\n });\n }\n\n for (let i = 0; i < headerRow.cells.length; i++) {\n let cell = headerRow.cells[i];\n let cellText = this.headersText && this.headersText[i] ?\n this.headersText[i] : this._getHeaderText(cell);\n let liElm = createCheckItem('col_' + i + '_' + tf.id, cellText,\n cellText);\n addClass(liElm, this.listItemCssClass);\n if (!this.tickToHide) {\n addClass(liElm, this.listSlcItemCssClass);\n }\n ul.appendChild(liElm);\n if (!this.tickToHide) {\n liElm.check.checked = true;\n }\n\n addEvt(liElm.check, 'click', (evt) => {\n let elm = targetEvt(evt);\n let lbl = elm.parentNode;\n this.checkItem(lbl);\n });\n }\n\n //separator\n let p = createElm('p', ['align', 'center']);\n let btn;\n //Close link\n if (!this.btnCloseHtml) {\n btn = createElm('a', ['href', 'javascript:;']);\n btn.className = this.btnCloseCssClass;\n btn.innerHTML = this.btnCloseText;\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n p.appendChild(btn);\n } else {\n p.innerHTML = this.btnCloseHtml;\n btn = p.firstChild;\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n }\n\n container.appendChild(ul);\n container.appendChild(p);\n\n this.btnEl.parentNode.insertBefore(container, this.btnEl);\n this.contEl = container;\n }\n\n /**\n * Hide or show specified columns\n * @param {Number} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n */\n setHidden(colIndex, hide) {\n let tf = this.tf;\n let tbl = tf.tbl;\n\n if (hide) {\n this.onBeforeColHidden(this, colIndex);\n }\n if (!hide) {\n this.onBeforeColDisplayed(this, colIndex);\n }\n\n this._hideCells(tbl, colIndex, hide);\n if (this.headersTbl) {\n this._hideCells(this.headersTbl, colIndex, hide);\n }\n\n let hiddenCols = this.hiddenCols;\n let itemIndex = hiddenCols.indexOf(colIndex);\n if (hide) {\n if (itemIndex === -1) {\n this.hiddenCols.push(colIndex);\n }\n } else {\n if (itemIndex !== -1) {\n this.hiddenCols.splice(itemIndex, 1);\n }\n }\n\n let gridLayout;\n let headTbl;\n let gridColElms;\n if (hide) {\n //This event is fired just after a column is displayed for\n //grid_layout support\n //TODO: grid layout module should be responsible for those\n //calculations\n if (tf.gridLayout) {\n gridLayout = tf.feature('gridLayout');\n headTbl = gridLayout.headTbl;\n gridColElms = gridLayout.colElms;\n let hiddenWidth = parseInt(\n gridColElms[colIndex].style.width, 10);\n\n let headTblW = parseInt(headTbl.style.width, 10);\n headTbl.style.width = headTblW - hiddenWidth + 'px';\n tbl.style.width = headTbl.style.width;\n }\n\n this.onAfterColHidden(this, colIndex);\n this.emitter.emit('column-hidden', tf, this, colIndex,\n this.hiddenCols);\n }\n\n if (!hide) {\n //This event is fired just after a column is displayed for\n //grid_layout support\n //TODO: grid layout module should be responsible for those\n //calculations\n if (tf.gridLayout) {\n gridLayout = tf.feature('gridLayout');\n headTbl = gridLayout.headTbl;\n gridColElms = gridLayout.colElms;\n let width = parseInt(gridColElms[colIndex].style.width, 10);\n headTbl.style.width =\n (parseInt(headTbl.style.width, 10) + width) + 'px';\n tf.tbl.style.width = headTbl.style.width;\n }\n\n this.onAfterColDisplayed(this, colIndex);\n this.emitter.emit('column-shown', tf, this, colIndex,\n this.hiddenCols);\n }\n }\n\n /**\n * Show specified column\n * @param {Number} colIndex Column index\n */\n showCol(colIndex) {\n if (colIndex === undefined || !this.isColHidden(colIndex)) {\n return;\n }\n if (this.manager && this.contEl) {\n let itm = elm('col_' + colIndex + '_' + this.tf.id);\n if (itm) {\n itm.click();\n }\n } else {\n this.setHidden(colIndex, false);\n }\n }\n\n /**\n * Hide specified column\n * @param {Number} colIndex Column index\n */\n hideCol(colIndex) {\n if (colIndex === undefined || this.isColHidden(colIndex)) {\n return;\n }\n if (this.manager && this.contEl) {\n let itm = elm('col_' + colIndex + '_' + this.tf.id);\n if (itm) {\n itm.click();\n }\n } else {\n this.setHidden(colIndex, true);\n }\n }\n\n /**\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n */\n isColHidden(colIndex) {\n if (this.hiddenCols.indexOf(colIndex) !== -1) {\n return true;\n }\n return false;\n }\n\n /**\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n */\n toggleCol(colIndex) {\n if (colIndex === undefined || this.isColHidden(colIndex)) {\n this.showCol(colIndex);\n } else {\n this.hideCol(colIndex);\n }\n }\n\n /**\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n */\n getHiddenCols() {\n return this.hiddenCols;\n }\n\n /**\n * Remove the columns manager\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n if (elm(this.contElTgtId)) {\n elm(this.contElTgtId).innerHTML = '';\n } else {\n this.contEl.innerHTML = '';\n removeElm(this.contEl);\n this.contEl = null;\n }\n this.btnEl.innerHTML = '';\n removeElm(this.btnEl);\n this.btnEl = null;\n\n this.emitter.off(['hide-column'],\n (tf, colIndex) => this.hideCol(colIndex));\n\n this.boundMouseup = null;\n\n this.initialized = false;\n }\n\n _getHeaderText(cell) {\n if (!cell.hasChildNodes) {\n return '';\n }\n\n for (let i = 0; i < cell.childNodes.length; i++) {\n let n = cell.childNodes[i];\n if (n.nodeType === 3) {\n return n.nodeValue;\n } else if (n.nodeType === 1) {\n if (n.id && n.id.indexOf('popUp') !== -1) {\n continue;\n } else {\n return getText(n);\n }\n }\n continue;\n }\n return '';\n }\n\n _hideCells(tbl, colIndex, hide) {\n for (let i = 0; i < tbl.rows.length; i++) {\n let row = tbl.rows[i];\n let cell = row.cells[colIndex];\n if (cell) {\n cell.style.display = hide ? 'none' : '';\n }\n }\n }\n\n _hideAtStart() {\n this.atStart.forEach((colIdx) => {\n this.hideCol(colIdx);\n });\n }\n}\n" }, { "__docId__": 88, @@ -2266,7 +2266,7 @@ "importPath": "tablefilter/src/extensions/colsVisibility/colsVisibility.js", "importStyle": "ColsVisibility", "description": "Columns Visibility extension", - "lineNumber": 12, + "lineNumber": 13, "interface": false, "extends": [ "src/feature.js~Feature" @@ -2282,7 +2282,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#constructor", "access": null, "description": "Creates an instance of ColsVisibility", - "lineNumber": 19, + "lineNumber": 20, "params": [ { "nullable": null, @@ -2317,7 +2317,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#name", "access": null, "description": "Module name", - "lineNumber": 29, + "lineNumber": 30, "type": { "nullable": null, "types": [ @@ -2337,7 +2337,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#desc", "access": null, "description": "Module description", - "lineNumber": 35, + "lineNumber": 36, "type": { "nullable": null, "types": [ @@ -2357,7 +2357,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanEl", "access": "private", "description": "show/hide columns container element", - "lineNumber": 41, + "lineNumber": 42, "type": { "types": [ "*" @@ -2374,7 +2374,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnEl", "access": "private", "description": "show/hide columns button element", - "lineNumber": 47, + "lineNumber": 48, "type": { "types": [ "*" @@ -2391,7 +2391,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contEl", "access": "private", "description": "show/hide columns main container element", - "lineNumber": 53, + "lineNumber": 54, "type": { "types": [ "*" @@ -2408,7 +2408,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#tickToHide", "access": null, "description": "Enable tick to hide a column, defaults to true", - "lineNumber": 59, + "lineNumber": 60, "type": { "nullable": null, "types": [ @@ -2428,7 +2428,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#manager", "access": null, "description": "Enable columns manager UI, defaults to true", - "lineNumber": 65, + "lineNumber": 66, "type": { "nullable": null, "types": [ @@ -2448,7 +2448,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersTbl", "access": null, "description": "Headers HTML table reference only if headers are external", - "lineNumber": 71, + "lineNumber": 72, "type": { "nullable": null, "types": [ @@ -2468,7 +2468,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersIndex", "access": null, "description": "Headers row index only if headers are external", - "lineNumber": 77, + "lineNumber": 78, "type": { "nullable": null, "types": [ @@ -2488,7 +2488,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contElTgtId", "access": null, "description": "ID of main container element", - "lineNumber": 83, + "lineNumber": 84, "type": { "nullable": null, "types": [ @@ -2508,7 +2508,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersText", "access": null, "description": "Alternative text for column headers in column manager UI", - "lineNumber": 89, + "lineNumber": 90, "type": { "nullable": null, "types": [ @@ -2528,7 +2528,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnTgtId", "access": null, "description": "ID of button's container element", - "lineNumber": 95, + "lineNumber": 96, "type": { "nullable": null, "types": [ @@ -2548,7 +2548,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnText", "access": null, "description": "Button's text, defaults to Columns▼", - "lineNumber": 101, + "lineNumber": 102, "type": { "nullable": null, "types": [ @@ -2568,7 +2568,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnHtml", "access": null, "description": "Button's inner HTML", - "lineNumber": 107, + "lineNumber": 108, "type": { "nullable": null, "types": [ @@ -2588,7 +2588,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCssClass", "access": null, "description": "Css class for button", - "lineNumber": 113, + "lineNumber": 114, "type": { "nullable": null, "types": [ @@ -2608,7 +2608,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseText", "access": null, "description": "Columns manager UI close link text, defaults to 'Close'", - "lineNumber": 119, + "lineNumber": 120, "type": { "nullable": null, "types": [ @@ -2628,7 +2628,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseHtml", "access": null, "description": "Columns manager UI close link HTML", - "lineNumber": 125, + "lineNumber": 126, "type": { "nullable": null, "types": [ @@ -2648,7 +2648,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseCssClass", "access": null, "description": "Css for columns manager UI close link", - "lineNumber": 131, + "lineNumber": 132, "type": { "nullable": null, "types": [ @@ -2668,7 +2668,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#stylesheet", "access": null, "description": "Extension's stylesheet filename", - "lineNumber": 137, + "lineNumber": 138, "type": { "nullable": null, "types": [ @@ -2688,7 +2688,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanCssClass", "access": null, "description": "Css for columns manager UI span", - "lineNumber": 143, + "lineNumber": 144, "type": { "nullable": null, "types": [ @@ -2708,7 +2708,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contCssClass", "access": null, "description": "Css for columns manager UI main container", - "lineNumber": 149, + "lineNumber": 150, "type": { "nullable": null, "types": [ @@ -2728,7 +2728,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listCssClass", "access": null, "description": "Css for columns manager UI checklist (ul)", - "lineNumber": 155, + "lineNumber": 156, "type": { "nullable": null, "types": [ @@ -2748,7 +2748,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listItemCssClass", "access": null, "description": "Css for columns manager UI checklist item (li)", - "lineNumber": 161, + "lineNumber": 162, "type": { "nullable": null, "types": [ @@ -2768,7 +2768,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listSlcItemCssClass", "access": null, "description": "Css for columns manager UI checklist item selected state (li)", - "lineNumber": 168, + "lineNumber": 169, "type": { "nullable": null, "types": [ @@ -2788,7 +2788,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#text", "access": null, "description": "Text preceding the columns list, defaults to 'Hide' or 'Show'\ndepending on tick mode (tick_to_hide option)", - "lineNumber": 176, + "lineNumber": 177, "type": { "nullable": null, "types": [ @@ -2808,7 +2808,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#atStart", "access": null, "description": "List of columns indexes to be hidden at initialization", - "lineNumber": 182, + "lineNumber": 183, "type": { "nullable": null, "types": [ @@ -2828,7 +2828,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#enableHover", "access": null, "description": "Enable hover behaviour on columns manager button/link", - "lineNumber": 188, + "lineNumber": 189, "type": { "nullable": null, "types": [ @@ -2848,7 +2848,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#enableTickAll", "access": null, "description": "Enable select all option, disabled by default", - "lineNumber": 194, + "lineNumber": 195, "type": { "nullable": null, "types": [ @@ -2868,7 +2868,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#tickAllText", "access": null, "description": "Text for select all option, defaults to 'Select all:'", - "lineNumber": 200, + "lineNumber": 201, "type": { "nullable": null, "types": [ @@ -2888,7 +2888,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#hiddenCols", "access": "private", "description": "List of indexes of hidden columns", - "lineNumber": 206, + "lineNumber": 207, "type": { "types": [ "*" @@ -2900,19 +2900,16 @@ "kind": "member", "static": false, "variation": null, - "name": "onLoaded", + "name": "boundMouseup", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onLoaded", - "access": null, - "description": "Callback fired when the extension is initialized", - "lineNumber": 212, + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#boundMouseup", + "access": "private", + "description": "Bound mouseup wrapper", + "lineNumber": 213, "type": { - "nullable": null, "types": [ - "Function" - ], - "spread": false, - "description": null + "*" + ] } }, { @@ -2920,12 +2917,12 @@ "kind": "member", "static": false, "variation": null, - "name": "onBeforeOpen", + "name": "onLoaded", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeOpen", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onLoaded", "access": null, - "description": "Callback fired before the columns manager is opened", - "lineNumber": 218, + "description": "Callback fired when the extension is initialized", + "lineNumber": 219, "type": { "nullable": null, "types": [ @@ -2940,11 +2937,11 @@ "kind": "member", "static": false, "variation": null, - "name": "onAfterOpen", + "name": "onBeforeOpen", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterOpen", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeOpen", "access": null, - "description": "Callback fired after the columns manager is opened", + "description": "Callback fired before the columns manager is opened", "lineNumber": 225, "type": { "nullable": null, @@ -2960,12 +2957,12 @@ "kind": "member", "static": false, "variation": null, - "name": "onBeforeClose", + "name": "onAfterOpen", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeClose", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterOpen", "access": null, - "description": "Callback fired before the columns manager is closed", - "lineNumber": 231, + "description": "Callback fired after the columns manager is opened", + "lineNumber": 232, "type": { "nullable": null, "types": [ @@ -2980,11 +2977,11 @@ "kind": "member", "static": false, "variation": null, - "name": "onAfterClose", + "name": "onBeforeClose", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterClose", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeClose", "access": null, - "description": "Callback fired after the columns manager is closed", + "description": "Callback fired before the columns manager is closed", "lineNumber": 238, "type": { "nullable": null, @@ -3000,11 +2997,11 @@ "kind": "member", "static": false, "variation": null, - "name": "onBeforeColHidden", + "name": "onAfterClose", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeColHidden", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterClose", "access": null, - "description": "Callback fired before a column is hidden", + "description": "Callback fired after the columns manager is closed", "lineNumber": 245, "type": { "nullable": null, @@ -3020,11 +3017,11 @@ "kind": "member", "static": false, "variation": null, - "name": "onAfterColHidden", + "name": "onBeforeColHidden", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterColHidden", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeColHidden", "access": null, - "description": "Callback fired after a column is hidden", + "description": "Callback fired before a column is hidden", "lineNumber": 252, "type": { "nullable": null, @@ -3040,11 +3037,11 @@ "kind": "member", "static": false, "variation": null, - "name": "onBeforeColDisplayed", + "name": "onAfterColHidden", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeColDisplayed", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterColHidden", "access": null, - "description": "Callback fired before a column is displayed", + "description": "Callback fired after a column is hidden", "lineNumber": 259, "type": { "nullable": null, @@ -3060,11 +3057,11 @@ "kind": "member", "static": false, "variation": null, - "name": "onAfterColDisplayed", + "name": "onBeforeColDisplayed", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterColDisplayed", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeColDisplayed", "access": null, - "description": "Callback fired after a column is displayed", + "description": "Callback fired before a column is displayed", "lineNumber": 266, "type": { "nullable": null, @@ -3080,12 +3077,32 @@ "kind": "member", "static": false, "variation": null, + "name": "onAfterColDisplayed", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterColDisplayed", + "access": null, + "description": "Callback fired after a column is displayed", + "lineNumber": 273, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 130, + "kind": "member", + "static": false, + "variation": null, "name": "headersTbl", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersTbl", "access": null, "description": null, - "lineNumber": 271, + "lineNumber": 278, "undocument": true, "type": { "types": [ @@ -3094,7 +3111,7 @@ } }, { - "__docId__": 130, + "__docId__": 131, "kind": "member", "static": false, "variation": null, @@ -3103,7 +3120,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersIndex", "access": null, "description": null, - "lineNumber": 272, + "lineNumber": 279, "undocument": true, "type": { "types": [ @@ -3111,34 +3128,20 @@ ] } }, - { - "__docId__": 131, - "kind": "method", - "static": false, - "variation": null, - "name": "toggle", - "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#toggle", - "access": null, - "description": "Toggle columns manager UI", - "lineNumber": 287, - "params": [], - "generator": false - }, { "__docId__": 132, "kind": "method", "static": false, "variation": null, - "name": "checkItem", + "name": "onMouseup", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#checkItem", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onMouseup", "access": "private", - "description": "Check an item in columns manager UI", - "lineNumber": 312, + "description": "Mouse-up event handler handling popup auto-close behaviour", + "lineNumber": 295, "params": [ { - "name": "lbl", + "name": "evt", "types": [ "*" ] @@ -3151,17 +3154,52 @@ "kind": "method", "static": false, "variation": null, - "name": "init", + "name": "toggle", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#init", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#toggle", "access": null, - "description": "Initializes ColsVisibility instance", - "lineNumber": 337, + "description": "Toggle columns manager UI", + "lineNumber": 313, "params": [], "generator": false }, { "__docId__": 134, + "kind": "method", + "static": false, + "variation": null, + "name": "checkItem", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#checkItem", + "access": "private", + "description": "Check an item in columns manager UI", + "lineNumber": 342, + "params": [ + { + "name": "lbl", + "types": [ + "*" + ] + } + ], + "generator": false + }, + { + "__docId__": 135, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#init", + "access": null, + "description": "Initializes ColsVisibility instance", + "lineNumber": 367, + "params": [], + "generator": false + }, + { + "__docId__": 136, "kind": "member", "static": false, "variation": null, @@ -3169,8 +3207,8 @@ "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#initialized", "access": null, - "description": "", - "lineNumber": 351, + "description": null, + "lineNumber": 379, "unknown": [ { "tagName": "@inherited", @@ -3183,49 +3221,17 @@ ] } }, - { - "__docId__": 135, - "kind": "method", - "static": false, - "variation": null, - "name": "buildBtn", - "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#buildBtn", - "access": null, - "description": "Build main button UI", - "lineNumber": 363, - "params": [], - "generator": false - }, - { - "__docId__": 136, - "kind": "member", - "static": false, - "variation": null, - "name": "spanEl", - "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanEl", - "access": null, - "description": null, - "lineNumber": 406, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, { "__docId__": 137, "kind": "member", "static": false, "variation": null, - "name": "btnEl", + "name": "boundMouseup", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnEl", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#boundMouseup", "access": null, "description": null, - "lineNumber": 407, + "lineNumber": 381, "undocument": true, "type": { "types": [ @@ -3238,12 +3244,12 @@ "kind": "method", "static": false, "variation": null, - "name": "buildManager", + "name": "buildBtn", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#buildManager", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#buildBtn", "access": null, - "description": "Build columns manager UI", - "lineNumber": 415, + "description": "Build main button UI", + "lineNumber": 393, "params": [], "generator": false }, @@ -3252,12 +3258,12 @@ "kind": "member", "static": false, "variation": null, - "name": "contEl", + "name": "spanEl", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contEl", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanEl", "access": null, "description": null, - "lineNumber": 498, + "lineNumber": 436, "undocument": true, "type": { "types": [ @@ -3267,6 +3273,56 @@ }, { "__docId__": 140, + "kind": "member", + "static": false, + "variation": null, + "name": "btnEl", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnEl", + "access": null, + "description": null, + "lineNumber": 437, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 141, + "kind": "method", + "static": false, + "variation": null, + "name": "buildManager", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#buildManager", + "access": null, + "description": "Build columns manager UI", + "lineNumber": 445, + "params": [], + "generator": false + }, + { + "__docId__": 142, + "kind": "member", + "static": false, + "variation": null, + "name": "contEl", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contEl", + "access": null, + "description": null, + "lineNumber": 528, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 143, "kind": "method", "static": false, "variation": null, @@ -3275,7 +3331,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#setHidden", "access": null, "description": "Hide or show specified columns", - "lineNumber": 506, + "lineNumber": 536, "params": [ { "nullable": null, @@ -3301,7 +3357,7 @@ "generator": false }, { - "__docId__": 141, + "__docId__": 144, "kind": "method", "static": false, "variation": null, @@ -3310,87 +3366,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#showCol", "access": null, "description": "Show specified column", - "lineNumber": 584, - "params": [ - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "colIndex", - "description": "Column index" - } - ], - "generator": false - }, - { - "__docId__": 142, - "kind": "method", - "static": false, - "variation": null, - "name": "hideCol", - "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#hideCol", - "access": null, - "description": "Hide specified column", - "lineNumber": 602, - "params": [ - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "colIndex", - "description": "Column index" - } - ], - "generator": false - }, - { - "__docId__": 143, - "kind": "method", - "static": false, - "variation": null, - "name": "isColHidden", - "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#isColHidden", - "access": null, - "description": "Determine if specified column is hidden", - "lineNumber": 620, - "params": [ - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "colIndex", - "description": "Column index" - } - ], - "return": { - "types": [ - "boolean" - ] - }, - "generator": false - }, - { - "__docId__": 144, - "kind": "method", - "static": false, - "variation": null, - "name": "toggleCol", - "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#toggleCol", - "access": null, - "description": "Toggle visibility of specified column", - "lineNumber": 631, + "lineNumber": 614, "params": [ { "nullable": null, @@ -3410,12 +3386,92 @@ "kind": "method", "static": false, "variation": null, + "name": "hideCol", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#hideCol", + "access": null, + "description": "Hide specified column", + "lineNumber": 632, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "generator": false + }, + { + "__docId__": 146, + "kind": "method", + "static": false, + "variation": null, + "name": "isColHidden", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#isColHidden", + "access": null, + "description": "Determine if specified column is hidden", + "lineNumber": 650, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "return": { + "types": [ + "boolean" + ] + }, + "generator": false + }, + { + "__docId__": 147, + "kind": "method", + "static": false, + "variation": null, + "name": "toggleCol", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#toggleCol", + "access": null, + "description": "Toggle visibility of specified column", + "lineNumber": 661, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "generator": false + }, + { + "__docId__": 148, + "kind": "method", + "static": false, + "variation": null, "name": "getHiddenCols", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#getHiddenCols", "access": null, "description": "Return the indexes of the columns currently hidden", - "lineNumber": 643, + "lineNumber": 673, "params": [], "return": { "nullable": null, @@ -3428,7 +3484,7 @@ "generator": false }, { - "__docId__": 146, + "__docId__": 149, "kind": "method", "static": false, "variation": null, @@ -3437,12 +3493,12 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#destroy", "access": null, "description": "Remove the columns manager", - "lineNumber": 650, + "lineNumber": 680, "params": [], "generator": false }, { - "__docId__": 147, + "__docId__": 150, "kind": "member", "static": false, "variation": null, @@ -3451,7 +3507,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contEl", "access": null, "description": null, - "lineNumber": 659, + "lineNumber": 689, "undocument": true, "type": { "types": [ @@ -3460,7 +3516,7 @@ } }, { - "__docId__": 148, + "__docId__": 151, "kind": "member", "static": false, "variation": null, @@ -3469,7 +3525,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnEl", "access": null, "description": null, - "lineNumber": 663, + "lineNumber": 693, "undocument": true, "type": { "types": [ @@ -3478,7 +3534,25 @@ } }, { - "__docId__": 149, + "__docId__": 152, + "kind": "member", + "static": false, + "variation": null, + "name": "boundMouseup", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#boundMouseup", + "access": null, + "description": null, + "lineNumber": 698, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 153, "kind": "member", "static": false, "variation": null, @@ -3487,7 +3561,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#initialized", "access": null, "description": null, - "lineNumber": 668, + "lineNumber": 700, "undocument": true, "type": { "types": [ @@ -3496,7 +3570,7 @@ } }, { - "__docId__": 150, + "__docId__": 154, "kind": "method", "static": false, "variation": null, @@ -3505,7 +3579,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#_getHeaderText", "access": null, "description": null, - "lineNumber": 671, + "lineNumber": 703, "undocument": true, "params": [ { @@ -3523,7 +3597,7 @@ "generator": false }, { - "__docId__": 151, + "__docId__": 155, "kind": "method", "static": false, "variation": null, @@ -3532,7 +3606,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#_hideCells", "access": null, "description": null, - "lineNumber": 692, + "lineNumber": 724, "undocument": true, "params": [ { @@ -3557,7 +3631,7 @@ "generator": false }, { - "__docId__": 152, + "__docId__": 156, "kind": "method", "static": false, "variation": null, @@ -3566,13 +3640,13 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#_hideAtStart", "access": null, "description": null, - "lineNumber": 702, + "lineNumber": 734, "undocument": true, "params": [], "generator": false }, { - "__docId__": 153, + "__docId__": 157, "kind": "file", "static": true, "variation": null, @@ -3585,7 +3659,7 @@ "content": "import {Feature} from '../../feature';\nimport {createElm, removeElm, elm} from '../../dom';\nimport {isFn, isUndef, EMPTY_FN} from '../../types';\nimport {addEvt} from '../../event';\n\n/**\n * Filters Visibility extension\n */\nexport default class FiltersVisibility extends Feature {\n\n /**\n * Creates an instance of FiltersVisibility\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} Configuration object\n */\n constructor(tf, f) {\n super(tf, f.name);\n\n /**\n * Module name\n * @type {String}\n */\n this.name = f.name;\n\n /**\n * Module description\n * @type {String}\n */\n this.desc = f.description || 'Filters row visibility manager';\n\n /**\n * Extension's stylesheet filename\n * @type {String}\n */\n this.stylesheet = f.stylesheet || 'filtersVisibility.css';\n\n /**\n * Expand icon filename\n * @type {String}\n */\n this.icnExpand = f.expand_icon_name || 'icn_exp.png';\n\n /**\n * Collapse icon filename\n * @type {String}\n */\n this.icnCollapse = f.collapse_icon_name || 'icn_clp.png';\n\n /**\n * Main container element\n * @private\n */\n this.contEl = null;\n\n /**\n * Button element\n * @private\n */\n this.btnEl = null;\n\n /**\n * Expand icon HTML\n * @private\n */\n this.icnExpandHtml = '\"Expand';\n\n /**\n * Collapse icon HTML\n * @private\n */\n this.icnCollapseHtml = '\"Collapse';\n\n /**\n * Default text\n * @private\n */\n this.defaultText = 'Toggle filters';\n\n /**\n * ID of main container element\n * @type {String}\n */\n this.targetId = f.target_id || null;\n\n /**\n * Enable expand/collapse icon, defaults to true\n * @type {Boolean}\n */\n this.enableIcon = f.enable_icon === false ? false : true;\n\n /**\n * Custom text for button\n * @type {String}\n */\n this.btnText = f.btn_text || '';\n\n /**\n * Collapse button HTML\n * @private\n */\n this.collapseBtnHtml = this.enableIcon ?\n this.icnCollapseHtml + this.btnText :\n this.btnText || this.defaultText;\n\n /**\n * Expand button HTML\n * @private\n */\n this.expandBtnHtml = this.enableIcon ?\n this.icnExpandHtml + this.btnText :\n this.btnText || this.defaultText;\n\n /**\n * Button's custom HTML\n * @type {String}\n */\n this.btnHtml = f.btn_html || null;\n\n /**\n * Css class for expand/collapse filters button\n * @type {String}\n */\n this.btnCssClass = f.btn_css_class || 'btnExpClpFlt';\n\n /**\n * Css class for main container\n * @type {String}\n */\n this.contCssClass = f.cont_css_class || 'expClpFlt';\n\n /**\n * Filters row index\n * @type {Number}\n */\n this.filtersRowIndex = !isUndef(f.filters_row_index) ?\n f.filters_row_index : tf.getFiltersRowIndex();\n\n /**\n * Make filters visible at initialization, defaults to true\n * @type {Boolean}\n */\n this.visibleAtStart = !isUndef(f.visible_at_start) ?\n Boolean(f.visible_at_start) : true;\n\n /**\n * Callback fired before filters row is shown\n * @type {Function}\n */\n this.onBeforeShow = isFn(f.on_before_show) ?\n f.on_before_show : EMPTY_FN;\n\n /**\n * Callback fired after filters row is shown\n * @type {Function}\n */\n this.onAfterShow = isFn(f.on_after_show) ? f.on_after_show : EMPTY_FN;\n\n /**\n * Callback fired before filters row is hidden\n * @type {Function}\n */\n this.onBeforeHide = isFn(f.on_before_hide) ?\n f.on_before_hide : EMPTY_FN;\n\n /**\n * Callback fired after filters row is hidden\n * @type {Function}\n */\n this.onAfterHide = isFn(f.on_after_hide) ? f.on_after_hide : EMPTY_FN;\n\n //Import extension's stylesheet\n tf.import(f.name + 'Style', tf.stylePath + this.stylesheet, null,\n 'link');\n\n this.enable();\n }\n\n /**\n * Initialise extension\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n this.buildUI();\n\n /**\n * @inherited\n */\n this.initialized = true;\n\n this.emitter.on(['show-filters'], (tf, visible) => this.show(visible));\n this.emitter.emit('filters-visibility-initialized', this.tf, this);\n }\n\n /**\n * Build UI elements\n */\n buildUI() {\n let tf = this.tf;\n let span = createElm('span');\n span.className = this.contCssClass;\n\n //Container element (rdiv or custom element)\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = !this.targetId ? tf.rDiv : elm(this.targetId);\n\n if (!this.targetId) {\n let firstChild = targetEl.firstChild;\n firstChild.parentNode.insertBefore(span, firstChild);\n } else {\n targetEl.appendChild(span);\n }\n\n let btn;\n if (!this.btnHtml) {\n btn = createElm('a', ['href', 'javascript:void(0);']);\n btn.className = this.btnCssClass;\n btn.title = this.btnText || this.defaultText;\n btn.innerHTML = this.collapseBtnHtml;\n span.appendChild(btn);\n } else { //Custom html\n span.innerHTML = this.btnHtml;\n btn = span.firstChild;\n }\n\n addEvt(btn, 'click', () => this.toggle());\n\n this.contEl = span;\n this.btnEl = btn;\n\n if (!this.visibleAtStart) {\n this.toggle();\n }\n }\n\n /**\n * Toggle filters visibility\n */\n toggle() {\n let tf = this.tf;\n let tbl = tf.gridLayout ? tf.feature('gridLayout').headTbl : tf.tbl;\n let fltRow = tbl.rows[this.filtersRowIndex];\n let isDisplayed = fltRow.style.display === '';\n\n this.show(!isDisplayed);\n }\n\n /**\n * Show or hide filters\n *\n * @param {boolean} [visible=true] Visibility flag\n */\n show(visible = true) {\n let tf = this.tf;\n let tbl = tf.gridLayout ? tf.feature('gridLayout').headTbl : tf.tbl;\n let fltRow = tbl.rows[this.filtersRowIndex];\n\n if (visible) {\n this.onBeforeShow(this);\n }\n if (!visible) {\n this.onBeforeHide(this);\n }\n\n fltRow.style.display = visible ? '' : 'none';\n if (this.enableIcon && !this.btnHtml) {\n this.btnEl.innerHTML = visible ?\n this.collapseBtnHtml : this.expandBtnHtml;\n }\n\n if (visible) {\n this.onAfterShow(this);\n }\n if (!visible) {\n this.onAfterHide(this);\n }\n\n this.emitter.emit('filters-toggled', tf, this, visible);\n }\n\n /**\n * Destroy the UI\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n this.emitter.off(['show-filters'], (tf, visible) => this.show(visible));\n\n this.btnEl.innerHTML = '';\n removeElm(this.btnEl);\n this.btnEl = null;\n\n this.contEl.innerHTML = '';\n removeElm(this.contEl);\n this.contEl = null;\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 154, + "__docId__": 158, "kind": "class", "static": true, "variation": null, @@ -3604,7 +3678,7 @@ ] }, { - "__docId__": 155, + "__docId__": 159, "kind": "constructor", "static": false, "variation": null, @@ -3639,7 +3713,7 @@ "generator": false }, { - "__docId__": 156, + "__docId__": 160, "kind": "member", "static": false, "variation": null, @@ -3659,7 +3733,7 @@ } }, { - "__docId__": 157, + "__docId__": 161, "kind": "member", "static": false, "variation": null, @@ -3679,7 +3753,7 @@ } }, { - "__docId__": 158, + "__docId__": 162, "kind": "member", "static": false, "variation": null, @@ -3699,7 +3773,7 @@ } }, { - "__docId__": 159, + "__docId__": 163, "kind": "member", "static": false, "variation": null, @@ -3719,7 +3793,7 @@ } }, { - "__docId__": 160, + "__docId__": 164, "kind": "member", "static": false, "variation": null, @@ -3739,7 +3813,7 @@ } }, { - "__docId__": 161, + "__docId__": 165, "kind": "member", "static": false, "variation": null, @@ -3756,7 +3830,7 @@ } }, { - "__docId__": 162, + "__docId__": 166, "kind": "member", "static": false, "variation": null, @@ -3773,7 +3847,7 @@ } }, { - "__docId__": 163, + "__docId__": 167, "kind": "member", "static": false, "variation": null, @@ -3790,7 +3864,7 @@ } }, { - "__docId__": 164, + "__docId__": 168, "kind": "member", "static": false, "variation": null, @@ -3807,7 +3881,7 @@ } }, { - "__docId__": 165, + "__docId__": 169, "kind": "member", "static": false, "variation": null, @@ -3824,7 +3898,7 @@ } }, { - "__docId__": 166, + "__docId__": 170, "kind": "member", "static": false, "variation": null, @@ -3844,7 +3918,7 @@ } }, { - "__docId__": 167, + "__docId__": 171, "kind": "member", "static": false, "variation": null, @@ -3864,7 +3938,7 @@ } }, { - "__docId__": 168, + "__docId__": 172, "kind": "member", "static": false, "variation": null, @@ -3884,7 +3958,7 @@ } }, { - "__docId__": 169, + "__docId__": 173, "kind": "member", "static": false, "variation": null, @@ -3901,7 +3975,7 @@ } }, { - "__docId__": 170, + "__docId__": 174, "kind": "member", "static": false, "variation": null, @@ -3918,7 +3992,7 @@ } }, { - "__docId__": 171, + "__docId__": 175, "kind": "member", "static": false, "variation": null, @@ -3938,7 +4012,7 @@ } }, { - "__docId__": 172, + "__docId__": 176, "kind": "member", "static": false, "variation": null, @@ -3958,7 +4032,7 @@ } }, { - "__docId__": 173, + "__docId__": 177, "kind": "member", "static": false, "variation": null, @@ -3978,7 +4052,7 @@ } }, { - "__docId__": 174, + "__docId__": 178, "kind": "member", "static": false, "variation": null, @@ -3998,7 +4072,7 @@ } }, { - "__docId__": 175, + "__docId__": 179, "kind": "member", "static": false, "variation": null, @@ -4018,7 +4092,7 @@ } }, { - "__docId__": 176, + "__docId__": 180, "kind": "member", "static": false, "variation": null, @@ -4038,7 +4112,7 @@ } }, { - "__docId__": 177, + "__docId__": 181, "kind": "member", "static": false, "variation": null, @@ -4058,7 +4132,7 @@ } }, { - "__docId__": 178, + "__docId__": 182, "kind": "member", "static": false, "variation": null, @@ -4078,7 +4152,7 @@ } }, { - "__docId__": 179, + "__docId__": 183, "kind": "member", "static": false, "variation": null, @@ -4098,7 +4172,7 @@ } }, { - "__docId__": 180, + "__docId__": 184, "kind": "method", "static": false, "variation": null, @@ -4112,7 +4186,7 @@ "generator": false }, { - "__docId__": 181, + "__docId__": 185, "kind": "member", "static": false, "variation": null, @@ -4135,7 +4209,7 @@ } }, { - "__docId__": 182, + "__docId__": 186, "kind": "method", "static": false, "variation": null, @@ -4149,7 +4223,7 @@ "generator": false }, { - "__docId__": 183, + "__docId__": 187, "kind": "member", "static": false, "variation": null, @@ -4167,7 +4241,7 @@ } }, { - "__docId__": 184, + "__docId__": 188, "kind": "member", "static": false, "variation": null, @@ -4185,7 +4259,7 @@ } }, { - "__docId__": 185, + "__docId__": 189, "kind": "method", "static": false, "variation": null, @@ -4199,7 +4273,7 @@ "generator": false }, { - "__docId__": 186, + "__docId__": 190, "kind": "method", "static": false, "variation": null, @@ -4226,7 +4300,7 @@ "generator": false }, { - "__docId__": 187, + "__docId__": 191, "kind": "method", "static": false, "variation": null, @@ -4240,7 +4314,7 @@ "generator": false }, { - "__docId__": 188, + "__docId__": 192, "kind": "member", "static": false, "variation": null, @@ -4258,7 +4332,7 @@ } }, { - "__docId__": 189, + "__docId__": 193, "kind": "member", "static": false, "variation": null, @@ -4276,7 +4350,7 @@ } }, { - "__docId__": 190, + "__docId__": 194, "kind": "member", "static": false, "variation": null, @@ -4294,7 +4368,7 @@ } }, { - "__docId__": 191, + "__docId__": 195, "kind": "file", "static": true, "variation": null, @@ -4307,7 +4381,7 @@ "content": "import {Feature} from '../../feature';\nimport {isArray, isFn, isUndef, isObj, EMPTY_FN} from '../../types';\nimport {createElm, elm, getText, tag} from '../../dom';\nimport {addEvt} from '../../event';\nimport {parse as parseNb} from '../../number';\nimport {\n NONE, CELL_TAG, HEADER_TAG, STRING, NUMBER, DATE, FORMATTED_NUMBER,\n IP_ADDRESS\n} from '../../const';\n\n/**\n * SortableTable Adapter module\n */\nexport default class AdapterSortableTable extends Feature {\n\n /**\n * Creates an instance of AdapterSortableTable\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} opts Configuration object\n */\n constructor(tf, opts) {\n super(tf, opts.name);\n\n /**\n * Module name\n * @type {String}\n */\n this.name = opts.name;\n\n /**\n * Module description\n * @type {String}\n */\n this.desc = opts.description || 'Sortable table';\n\n /**\n * Indicate whether table previously sorted\n * @type {Boolean}\n * @private\n */\n this.sorted = false;\n\n /**\n * List of sort type per column basis\n * @type {Array}\n */\n this.sortTypes = isArray(opts.types) ? opts.types : tf.colTypes;\n\n /**\n * Column to be sorted at initialization, ie:\n * sort_col_at_start: [1, true]\n * @type {Array}\n */\n this.sortColAtStart = isArray(opts.sort_col_at_start) ?\n opts.sort_col_at_start : null;\n\n /**\n * Enable asynchronous sort, if triggers are external\n * @type {Boolean}\n */\n this.asyncSort = Boolean(opts.async_sort);\n\n /**\n * List of element IDs triggering sort on a per column basis\n * @type {Array}\n */\n this.triggerIds = isArray(opts.trigger_ids) ? opts.trigger_ids : [];\n\n // edit .sort-arrow.descending / .sort-arrow.ascending in\n // tablefilter.css to reflect any path change\n /**\n * Path to images\n * @type {String}\n */\n this.imgPath = opts.images_path || tf.themesPath;\n\n /**\n * Blank image file name\n * @type {String}\n */\n this.imgBlank = opts.image_blank || 'blank.png';\n\n /**\n * Css class for sort indicator image\n * @type {String}\n */\n this.imgClassName = opts.image_class_name || 'sort-arrow';\n\n /**\n * Css class for ascending sort indicator image\n * @type {String}\n */\n this.imgAscClassName = opts.image_asc_class_name || 'ascending';\n\n /**\n * Css class for descending sort indicator image\n * @type {String}\n */\n this.imgDescClassName = opts.image_desc_class_name || 'descending';\n\n /**\n * Cell attribute key storing custom value used for sorting\n * @type {String}\n */\n this.customKey = opts.custom_key || 'data-tf-sortKey';\n\n /**\n * Callback fired when sort extension is instanciated\n * @type {Function}\n */\n this.onSortLoaded = isFn(opts.on_sort_loaded) ?\n opts.on_sort_loaded : EMPTY_FN;\n\n /**\n * Callback fired before a table column is sorted\n * @type {Function}\n */\n this.onBeforeSort = isFn(opts.on_before_sort) ?\n opts.on_before_sort : EMPTY_FN;\n\n /**\n * Callback fired after a table column is sorted\n * @type {Function}\n */\n this.onAfterSort = isFn(opts.on_after_sort) ?\n opts.on_after_sort : EMPTY_FN;\n\n /**\n * SortableTable instance\n * @private\n */\n this.stt = null;\n\n this.enable();\n }\n\n /**\n * Initializes AdapterSortableTable instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n let tf = this.tf;\n let adpt = this;\n\n // SortableTable class sanity check (sortabletable.js)\n if (isUndef(SortableTable)) {\n throw new Error('SortableTable class not found.');\n }\n\n // Add any date format if needed\n this.emitter.emit('add-date-type-formats', this.tf, this.sortTypes);\n\n this.overrideSortableTable();\n this.setSortTypes();\n\n this.onSortLoaded(tf, this);\n\n /*** SortableTable callbacks ***/\n this.stt.onbeforesort = function () {\n adpt.onBeforeSort(tf, adpt.stt.sortColumn);\n\n /*** sort behaviour for paging ***/\n if (tf.paging) {\n tf.feature('paging').disable();\n }\n };\n\n this.stt.onsort = function () {\n adpt.sorted = true;\n\n //sort behaviour for paging\n if (tf.paging) {\n let paginator = tf.feature('paging');\n // recalculate valid rows index as sorting may have change it\n tf.getValidRows(true);\n paginator.enable();\n paginator.setPage(paginator.getPage());\n }\n\n adpt.onAfterSort(tf, adpt.stt.sortColumn, adpt.stt.descending);\n adpt.emitter.emit('column-sorted', tf, adpt.stt.sortColumn,\n adpt.stt.descending);\n };\n\n // Column sort at start\n let sortColAtStart = adpt.sortColAtStart;\n if (sortColAtStart) {\n this.stt.sort(sortColAtStart[0], sortColAtStart[1]);\n }\n\n this.emitter.on(['sort'],\n (tf, colIdx, desc) => this.sortByColumnIndex(colIdx, desc));\n\n /** @inherited */\n this.initialized = true;\n\n this.emitter.emit('sort-initialized', tf, this);\n }\n\n /**\n * Sort specified column\n * @param {Number} colIdx Column index\n * @param {Boolean} desc Optional: descending manner\n */\n sortByColumnIndex(colIdx, desc) {\n this.stt.sort(colIdx, desc);\n }\n\n /**\n * Set SortableTable overrides for TableFilter integration\n */\n overrideSortableTable() {\n let adpt = this,\n tf = this.tf;\n\n /**\n * Overrides headerOnclick method in order to handle th event\n * @param {Object} e [description]\n */\n SortableTable.prototype.headerOnclick = function (evt) {\n if (!adpt.initialized) {\n return;\n }\n\n // find Header element\n let el = evt.target || evt.srcElement;\n\n while (el.tagName !== CELL_TAG && el.tagName !== HEADER_TAG) {\n el = el.parentNode;\n }\n\n this.sort(\n SortableTable.msie ?\n SortableTable.getCellIndex(el) : el.cellIndex\n );\n };\n\n /**\n * Overrides getCellIndex IE returns wrong cellIndex when columns are\n * hidden\n * @param {Object} oTd TD element\n * @return {Number} Cell index\n */\n SortableTable.getCellIndex = function (oTd) {\n let cells = oTd.parentNode.cells,\n l = cells.length, i;\n for (i = 0; cells[i] !== oTd && i < l; i++) { }\n return i;\n };\n\n /**\n * Overrides initHeader in order to handle filters row position\n * @param {Array} oSortTypes\n */\n SortableTable.prototype.initHeader = function (oSortTypes) {\n let stt = this;\n if (!stt.tHead) {\n if (tf.gridLayout) {\n stt.tHead = tf.feature('gridLayout').headTbl.tHead;\n } else {\n return;\n }\n }\n\n stt.headersRow = tf.headersRow;\n let cells = stt.tHead.rows[stt.headersRow].cells;\n stt.sortTypes = oSortTypes || [];\n let l = cells.length;\n let img, c;\n\n for (let i = 0; i < l; i++) {\n c = cells[i];\n if (stt.sortTypes[i] !== null && stt.sortTypes[i] !== 'None') {\n c.style.cursor = 'pointer';\n img = createElm('img',\n ['src', adpt.imgPath + adpt.imgBlank]);\n c.appendChild(img);\n if (stt.sortTypes[i] !== null) {\n c.setAttribute('_sortType', stt.sortTypes[i]);\n }\n addEvt(c, 'click', stt._headerOnclick);\n } else {\n c.setAttribute('_sortType', oSortTypes[i]);\n c._sortType = 'None';\n }\n }\n stt.updateHeaderArrows();\n };\n\n /**\n * Overrides updateHeaderArrows in order to handle arrows indicators\n */\n SortableTable.prototype.updateHeaderArrows = function () {\n let stt = this;\n let cells, l, img;\n\n // external headers\n if (adpt.asyncSort && adpt.triggerIds.length > 0) {\n let triggers = adpt.triggerIds;\n cells = [];\n l = triggers.length;\n for (let j = 0; j < l; j++) {\n cells.push(elm(triggers[j]));\n }\n } else {\n if (!this.tHead) {\n return;\n }\n cells = stt.tHead.rows[stt.headersRow].cells;\n l = cells.length;\n }\n for (let i = 0; i < l; i++) {\n let cell = cells[i];\n if (!cell) {\n continue;\n }\n let cellAttr = cell.getAttribute('_sortType');\n if (cellAttr !== null && cellAttr !== 'None') {\n img = cell.lastChild || cell;\n if (img.nodeName.toLowerCase() !== 'img') {\n img = createElm('img',\n ['src', adpt.imgPath + adpt.imgBlank]);\n cell.appendChild(img);\n }\n if (i === stt.sortColumn) {\n img.className = adpt.imgClassName + ' ' +\n (this.descending ?\n adpt.imgDescClassName :\n adpt.imgAscClassName);\n } else {\n img.className = adpt.imgClassName;\n }\n }\n }\n };\n\n /**\n * Overrides getRowValue for custom key value feature\n * @param {Object} oRow Row element\n * @param {String} sType\n * @param {Number} nColumn\n * @return {String}\n */\n SortableTable.prototype.getRowValue = function (oRow, sType, nColumn) {\n let stt = this;\n // if we have defined a custom getRowValue use that\n let sortTypeInfo = stt._sortTypeInfo[sType];\n if (sortTypeInfo && sortTypeInfo.getRowValue) {\n return sortTypeInfo.getRowValue(oRow, nColumn);\n }\n let c = oRow.cells[nColumn];\n let s = SortableTable.getInnerText(c);\n return stt.getValueFromString(s, sType);\n };\n\n /**\n * Overrides getInnerText in order to avoid Firefox unexpected sorting\n * behaviour with untrimmed text elements\n * @param {Object} oNode DOM element\n * @return {String} DOM element inner text\n */\n SortableTable.getInnerText = function (oNode) {\n if (!oNode) {\n return;\n }\n if (oNode.getAttribute(adpt.customKey)) {\n return oNode.getAttribute(adpt.customKey);\n } else {\n return getText(oNode);\n }\n };\n }\n\n /**\n * Adds a sort type\n */\n addSortType(...args) {\n // Extract the arguments\n let [id, caster, sorter] = args;\n SortableTable.prototype.addSortType(id, caster, sorter);\n }\n\n /**\n * Sets the sort types on a column basis\n * @private\n */\n setSortTypes() {\n let tf = this.tf,\n sortTypes = this.sortTypes,\n _sortTypes = [];\n\n for (let i = 0; i < tf.nbCells; i++) {\n let colType;\n if (sortTypes[i]) {\n colType = sortTypes[i];\n if (isObj(colType)) {\n if (colType.type === DATE) {\n colType = this._addDateType(i, sortTypes);\n }\n else if (colType.type === FORMATTED_NUMBER) {\n let decimal = colType.decimal || tf.decimalSeparator;\n colType = this._addNumberType(i, decimal);\n }\n } else {\n colType = colType.toLowerCase();\n if (colType === DATE) {\n colType = this._addDateType(i, sortTypes);\n }\n else if (colType === FORMATTED_NUMBER ||\n colType === NUMBER) {\n colType = this._addNumberType(i, tf.decimalSeparator);\n }\n else if (colType === NONE) {\n // TODO: normalise 'none' vs 'None'\n colType = 'None';\n }\n }\n } else {\n colType = STRING;\n }\n _sortTypes.push(colType);\n }\n\n //Public TF method to add sort type\n\n //Custom sort types\n this.addSortType('caseinsensitivestring', SortableTable.toUpperCase);\n this.addSortType(STRING);\n this.addSortType(IP_ADDRESS, ipAddress, sortIP);\n\n this.stt = new SortableTable(tf.tbl, _sortTypes);\n\n /*** external table headers adapter ***/\n if (this.asyncSort && this.triggerIds.length > 0) {\n let triggers = this.triggerIds;\n for (let j = 0; j < triggers.length; j++) {\n if (triggers[j] === null) {\n continue;\n }\n let trigger = elm(triggers[j]);\n if (trigger) {\n trigger.style.cursor = 'pointer';\n\n addEvt(trigger, 'click', (evt) => {\n let elm = evt.target;\n if (!this.tf.sort) {\n return;\n }\n this.stt.asyncSort(triggers.indexOf(elm.id));\n });\n trigger.setAttribute('_sortType', _sortTypes[j]);\n }\n }\n }\n }\n\n _addDateType(colIndex, types) {\n let tf = this.tf;\n let dateType = tf.feature('dateType');\n let locale = dateType.getOptions(colIndex, types).locale || tf.locale;\n let colType = `${DATE}-${locale}`;\n\n this.addSortType(colType, (value) => {\n let parsedDate = dateType.parse(value, locale);\n // Invalid date defaults to Wed Feb 04 -768 11:00:00\n return isNaN(+parsedDate) ? new Date(-86400000000000) : parsedDate;\n });\n return colType;\n }\n\n _addNumberType(colIndex, decimal) {\n let colType = `${FORMATTED_NUMBER}${decimal === '.' ? '' : '-custom'}`;\n\n this.addSortType(colType, (value) => {\n return parseNb(value, decimal);\n });\n return colType;\n }\n\n /**\n * Remove extension\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n let tf = this.tf;\n this.emitter.off(['sort'],\n (tf, colIdx, desc) => this.sortByColumnIndex(colIdx, desc));\n this.sorted = false;\n this.stt.destroy();\n\n let ids = tf.getFiltersId();\n for (let idx = 0; idx < ids.length; idx++) {\n let header = tf.getHeaderElement(idx);\n let img = tag(header, 'img');\n\n if (img.length === 1) {\n header.removeChild(img[0]);\n }\n }\n this.initialized = false;\n }\n\n}\n\n//Converters\nfunction ipAddress(value) {\n let vals = value.split('.');\n for (let x in vals) {\n let val = vals[x];\n while (3 > val.length) {\n val = '0' + val;\n }\n vals[x] = val;\n }\n return vals.join('.');\n}\n\nfunction sortIP(a, b) {\n let aa = ipAddress(a.value.toLowerCase());\n let bb = ipAddress(b.value.toLowerCase());\n if (aa === bb) {\n return 0;\n } else if (aa < bb) {\n return -1;\n } else {\n return 1;\n }\n}\n" }, { - "__docId__": 192, + "__docId__": 196, "kind": "class", "static": true, "variation": null, @@ -4326,7 +4400,7 @@ ] }, { - "__docId__": 193, + "__docId__": 197, "kind": "constructor", "static": false, "variation": null, @@ -4361,7 +4435,7 @@ "generator": false }, { - "__docId__": 194, + "__docId__": 198, "kind": "member", "static": false, "variation": null, @@ -4381,7 +4455,7 @@ } }, { - "__docId__": 195, + "__docId__": 199, "kind": "member", "static": false, "variation": null, @@ -4401,7 +4475,7 @@ } }, { - "__docId__": 196, + "__docId__": 200, "kind": "member", "static": false, "variation": null, @@ -4421,7 +4495,7 @@ } }, { - "__docId__": 197, + "__docId__": 201, "kind": "member", "static": false, "variation": null, @@ -4441,7 +4515,7 @@ } }, { - "__docId__": 198, + "__docId__": 202, "kind": "member", "static": false, "variation": null, @@ -4461,7 +4535,7 @@ } }, { - "__docId__": 199, + "__docId__": 203, "kind": "member", "static": false, "variation": null, @@ -4481,7 +4555,7 @@ } }, { - "__docId__": 200, + "__docId__": 204, "kind": "member", "static": false, "variation": null, @@ -4501,7 +4575,7 @@ } }, { - "__docId__": 201, + "__docId__": 205, "kind": "member", "static": false, "variation": null, @@ -4521,7 +4595,7 @@ } }, { - "__docId__": 202, + "__docId__": 206, "kind": "member", "static": false, "variation": null, @@ -4541,7 +4615,7 @@ } }, { - "__docId__": 203, + "__docId__": 207, "kind": "member", "static": false, "variation": null, @@ -4561,7 +4635,7 @@ } }, { - "__docId__": 204, + "__docId__": 208, "kind": "member", "static": false, "variation": null, @@ -4581,7 +4655,7 @@ } }, { - "__docId__": 205, + "__docId__": 209, "kind": "member", "static": false, "variation": null, @@ -4601,7 +4675,7 @@ } }, { - "__docId__": 206, + "__docId__": 210, "kind": "member", "static": false, "variation": null, @@ -4621,7 +4695,7 @@ } }, { - "__docId__": 207, + "__docId__": 211, "kind": "member", "static": false, "variation": null, @@ -4641,7 +4715,7 @@ } }, { - "__docId__": 208, + "__docId__": 212, "kind": "member", "static": false, "variation": null, @@ -4661,7 +4735,7 @@ } }, { - "__docId__": 209, + "__docId__": 213, "kind": "member", "static": false, "variation": null, @@ -4681,7 +4755,7 @@ } }, { - "__docId__": 210, + "__docId__": 214, "kind": "member", "static": false, "variation": null, @@ -4698,7 +4772,7 @@ } }, { - "__docId__": 211, + "__docId__": 215, "kind": "method", "static": false, "variation": null, @@ -4712,7 +4786,7 @@ "generator": false }, { - "__docId__": 212, + "__docId__": 216, "kind": "member", "static": false, "variation": null, @@ -4735,7 +4809,7 @@ } }, { - "__docId__": 213, + "__docId__": 217, "kind": "method", "static": false, "variation": null, @@ -4770,7 +4844,7 @@ "generator": false }, { - "__docId__": 214, + "__docId__": 218, "kind": "method", "static": false, "variation": null, @@ -4784,7 +4858,7 @@ "generator": false }, { - "__docId__": 215, + "__docId__": 219, "kind": "method", "static": false, "variation": null, @@ -4806,7 +4880,7 @@ "generator": false }, { - "__docId__": 216, + "__docId__": 220, "kind": "method", "static": false, "variation": null, @@ -4820,7 +4894,7 @@ "generator": false }, { - "__docId__": 217, + "__docId__": 221, "kind": "member", "static": false, "variation": null, @@ -4838,7 +4912,7 @@ } }, { - "__docId__": 218, + "__docId__": 222, "kind": "method", "static": false, "variation": null, @@ -4871,7 +4945,7 @@ "generator": false }, { - "__docId__": 219, + "__docId__": 223, "kind": "method", "static": false, "variation": null, @@ -4904,7 +4978,7 @@ "generator": false }, { - "__docId__": 220, + "__docId__": 224, "kind": "method", "static": false, "variation": null, @@ -4918,7 +4992,7 @@ "generator": false }, { - "__docId__": 221, + "__docId__": 225, "kind": "member", "static": false, "variation": null, @@ -4936,7 +5010,7 @@ } }, { - "__docId__": 222, + "__docId__": 226, "kind": "member", "static": false, "variation": null, @@ -4954,7 +5028,7 @@ } }, { - "__docId__": 223, + "__docId__": 227, "kind": "function", "static": true, "variation": null, @@ -4984,7 +5058,7 @@ "generator": false }, { - "__docId__": 224, + "__docId__": 228, "kind": "function", "static": true, "variation": null, @@ -5020,7 +5094,7 @@ "generator": false }, { - "__docId__": 225, + "__docId__": 229, "kind": "file", "static": true, "variation": null, @@ -5033,7 +5107,7 @@ "content": "import AdapterSortableTable from './adapterSortabletable';\nimport {root} from '../../root';\n\nif (!root.SortableTable) {\n require('script!sortabletable');\n}\n\nexport default AdapterSortableTable;\n" }, { - "__docId__": 226, + "__docId__": 230, "kind": "file", "static": true, "variation": null, @@ -5046,7 +5120,7 @@ "content": "\nconst NOTIMPLEMENTED = 'Not implemented.';\n\n/**\n * Base class defining the interface of a TableFilter feature\n */\nexport class Feature {\n /**\n * Creates an instance of Feature\n * @param {Object} tf TableFilter instance\n * @param {String} feature Feature name known by TableFilter\n */\n constructor(tf, feature) {\n /**\n * TableFilter instance\n * @type {TableFilter}\n */\n this.tf = tf;\n\n /**\n * Feature name\n * @type {String}\n */\n this.feature = feature;\n\n /**\n * TableFilter feature setting\n * @type {Boolean}\n */\n this.enabled = tf[feature];\n\n /**\n * TableFilter configuration\n * @type {Object}\n */\n this.config = tf.config();\n\n /**\n * TableFilter emitter instance\n * @type {Emitter}\n */\n this.emitter = tf.emitter;\n\n /**\n * Field indicating whether Feature is initialized\n * @type {Boolean}\n */\n this.initialized = false;\n\n /** Subscribe to destroy event */\n this.emitter.on(['destroy'], () => this.destroy());\n }\n\n /**\n * Initialize the feature\n */\n init() {\n throw new Error(NOTIMPLEMENTED);\n }\n\n /**\n * Reset the feature after being disabled\n */\n reset() {\n this.enable();\n this.init();\n }\n\n /**\n * Destroy the feature\n */\n destroy() {\n throw new Error(NOTIMPLEMENTED);\n }\n\n /**\n * Enable the feature\n */\n enable() {\n this.enabled = true;\n }\n\n /**\n * Disable the feature\n */\n disable() {\n this.enabled = false;\n }\n\n /**\n * Indicate whether the feature is enabled or not\n * @returns {Boolean}\n */\n isEnabled() {\n return this.enabled;\n }\n}\n" }, { - "__docId__": 227, + "__docId__": 231, "kind": "variable", "static": true, "variation": null, @@ -5067,7 +5141,7 @@ } }, { - "__docId__": 228, + "__docId__": 232, "kind": "class", "static": true, "variation": null, @@ -5083,7 +5157,7 @@ "interface": false }, { - "__docId__": 229, + "__docId__": 233, "kind": "constructor", "static": false, "variation": null, @@ -5118,7 +5192,7 @@ "generator": false }, { - "__docId__": 230, + "__docId__": 234, "kind": "member", "static": false, "variation": null, @@ -5138,7 +5212,7 @@ } }, { - "__docId__": 231, + "__docId__": 235, "kind": "member", "static": false, "variation": null, @@ -5158,7 +5232,7 @@ } }, { - "__docId__": 232, + "__docId__": 236, "kind": "member", "static": false, "variation": null, @@ -5178,7 +5252,7 @@ } }, { - "__docId__": 233, + "__docId__": 237, "kind": "member", "static": false, "variation": null, @@ -5198,7 +5272,7 @@ } }, { - "__docId__": 234, + "__docId__": 238, "kind": "member", "static": false, "variation": null, @@ -5218,7 +5292,7 @@ } }, { - "__docId__": 235, + "__docId__": 239, "kind": "member", "static": false, "variation": null, @@ -5238,7 +5312,7 @@ } }, { - "__docId__": 236, + "__docId__": 240, "kind": "method", "static": false, "variation": null, @@ -5252,7 +5326,7 @@ "generator": false }, { - "__docId__": 237, + "__docId__": 241, "kind": "method", "static": false, "variation": null, @@ -5266,7 +5340,7 @@ "generator": false }, { - "__docId__": 238, + "__docId__": 242, "kind": "method", "static": false, "variation": null, @@ -5280,7 +5354,7 @@ "generator": false }, { - "__docId__": 239, + "__docId__": 243, "kind": "method", "static": false, "variation": null, @@ -5294,7 +5368,7 @@ "generator": false }, { - "__docId__": 240, + "__docId__": 244, "kind": "member", "static": false, "variation": null, @@ -5312,7 +5386,7 @@ } }, { - "__docId__": 241, + "__docId__": 245, "kind": "method", "static": false, "variation": null, @@ -5326,7 +5400,7 @@ "generator": false }, { - "__docId__": 242, + "__docId__": 246, "kind": "member", "static": false, "variation": null, @@ -5344,7 +5418,7 @@ } }, { - "__docId__": 243, + "__docId__": 247, "kind": "method", "static": false, "variation": null, @@ -5372,7 +5446,7 @@ "generator": false }, { - "__docId__": 244, + "__docId__": 248, "kind": "file", "static": true, "variation": null, @@ -5385,7 +5459,7 @@ "content": "import {Feature} from '../feature';\nimport {addClass, removeClass} from '../dom';\n\n/**\n * Rows with alternating background color for improved readability\n */\nexport class AlternateRows extends Feature {\n\n /**\n * Creates an instance of AlternateRows.\n *\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'alternateRows');\n\n let config = this.config;\n /**\n * Css class for even rows (default: 'even')\n * @type {String}\n */\n this.evenCss = config.even_row_css_class || 'even';\n\n /**\n * Css class for odd rows (default: 'odd')\n * @type {String}\n */\n this.oddCss = config.odd_row_css_class || 'odd';\n }\n\n /**\n * Sets alternating rows color\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n this.processAll();\n\n // Subscribe to events\n this.emitter.on(['row-processed', 'row-paged'],\n (tf, rowIndex, arrIndex, isValid) =>\n this.processRow(rowIndex, arrIndex, isValid));\n this.emitter.on(['column-sorted'], () => this.processAll());\n this.emitter.on(['rows-changed'], () => this.processAll());\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Apply background to all valid rows\n */\n processAll() {\n if (!this.isEnabled()) {\n return;\n }\n let tf = this.tf;\n let validRowsIndex = tf.getValidRows(true);\n let indexLen = validRowsIndex.length;\n let idx = 0;\n\n //alternates bg color\n for (let j = 0; j < indexLen; j++) {\n let rowIdx = validRowsIndex[j];\n this.setRowBg(rowIdx, idx);\n idx++;\n }\n }\n\n /**\n * Set/remove row background based on row validation\n * @param {Number} rowIdx Row index\n * @param {Number} arrIdx Array index\n * @param {Boolean} isValid Valid row flag\n */\n processRow(rowIdx, arrIdx, isValid) {\n if (isValid) {\n this.setRowBg(rowIdx, arrIdx);\n } else {\n this.removeRowBg(rowIdx);\n }\n }\n\n /**\n * Sets row background color\n * @param {Number} rowIdx Row index\n * @param {Number} idx Valid rows collection index needed to calculate bg\n * color\n * @private\n */\n setRowBg(rowIdx, idx) {\n if (!this.isEnabled() || isNaN(rowIdx)) {\n return;\n }\n let rows = this.tf.tbl.rows;\n let i = isNaN(idx) ? rowIdx : idx;\n this.removeRowBg(rowIdx);\n\n addClass(rows[rowIdx], (i % 2) ? this.evenCss : this.oddCss);\n }\n\n /**\n * Removes row background color\n * @param {Number} idx Row index\n * @private\n */\n removeRowBg(idx) {\n if (isNaN(idx)) {\n return;\n }\n let rows = this.tf.tbl.rows;\n removeClass(rows[idx], this.oddCss);\n removeClass(rows[idx], this.evenCss);\n }\n\n /**\n * Removes all alternating backgrounds\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n let nbRows = this.tf.getRowsNb(true);\n for (let i = 0; i < nbRows; i++) {\n this.removeRowBg(i);\n }\n\n // Unsubscribe to events\n this.emitter.off(['row-processed', 'row-paged'],\n (tf, rowIndex, arrIndex, isValid) =>\n this.processRow(rowIndex, arrIndex, isValid));\n this.emitter.off(['column-sorted'], () => this.processAll());\n this.emitter.off(['rows-changed'], () => this.processAll());\n\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 245, + "__docId__": 249, "kind": "class", "static": true, "variation": null, @@ -5404,7 +5478,7 @@ ] }, { - "__docId__": 246, + "__docId__": 250, "kind": "constructor", "static": false, "variation": null, @@ -5429,7 +5503,7 @@ "generator": false }, { - "__docId__": 247, + "__docId__": 251, "kind": "member", "static": false, "variation": null, @@ -5449,7 +5523,7 @@ } }, { - "__docId__": 248, + "__docId__": 252, "kind": "member", "static": false, "variation": null, @@ -5469,7 +5543,7 @@ } }, { - "__docId__": 249, + "__docId__": 253, "kind": "method", "static": false, "variation": null, @@ -5483,7 +5557,7 @@ "generator": false }, { - "__docId__": 250, + "__docId__": 254, "kind": "member", "static": false, "variation": null, @@ -5506,7 +5580,7 @@ } }, { - "__docId__": 251, + "__docId__": 255, "kind": "method", "static": false, "variation": null, @@ -5520,7 +5594,7 @@ "generator": false }, { - "__docId__": 252, + "__docId__": 256, "kind": "method", "static": false, "variation": null, @@ -5565,7 +5639,7 @@ "generator": false }, { - "__docId__": 253, + "__docId__": 257, "kind": "method", "static": false, "variation": null, @@ -5600,7 +5674,7 @@ "generator": false }, { - "__docId__": 254, + "__docId__": 258, "kind": "method", "static": false, "variation": null, @@ -5625,7 +5699,7 @@ "generator": false }, { - "__docId__": 255, + "__docId__": 259, "kind": "method", "static": false, "variation": null, @@ -5639,7 +5713,7 @@ "generator": false }, { - "__docId__": 256, + "__docId__": 260, "kind": "member", "static": false, "variation": null, @@ -5657,7 +5731,7 @@ } }, { - "__docId__": 257, + "__docId__": 261, "kind": "file", "static": true, "variation": null, @@ -5670,7 +5744,7 @@ "content": "import {Feature} from '../feature';\nimport {\n addClass, createCheckItem, createText, createElm, elm, getText,\n removeClass, tag\n} from '../dom';\nimport {has} from '../array';\nimport {matchCase, trim, rgxEsc} from '../string';\nimport {ignoreCase, numSortAsc, numSortDesc} from '../sort';\nimport {addEvt, removeEvt, targetEvt} from '../event';\nimport {isEmpty} from '../types';\nimport {CHECKLIST, NONE} from '../const';\n\nconst SORT_ERROR = 'Filter options for column {0} cannot be sorted in ' +\n '{1} manner.';\n\n/**\n * Checklist filter UI component\n */\nexport class CheckList extends Feature {\n\n /**\n * Creates an instance of CheckList\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'checkList');\n\n let f = this.config;\n\n /**\n * List of container DOM elements\n * @type {Array}\n */\n this.containers = [];\n\n /**\n * Css class for the container of the checklist filter (div)\n * @type {String}\n */\n this.containerCssClass = f.div_checklist_css_class || 'div_checklist';\n\n /**\n * Css class for the checklist filter element (ul)\n * @type {String}\n */\n this.filterCssClass = f.checklist_css_class || 'flt_checklist';\n\n /**\n * Css class for the item of a checklist (li)\n * @type {String}\n */\n this.itemCssClass = f.checklist_item_css_class || 'flt_checklist_item';\n\n /**\n * Css class for a selected item of a checklist (li)\n * @type {String}\n */\n this.selectedItemCssClass =\n f.checklist_selected_item_css_class || 'flt_checklist_slc_item';\n\n /**\n * Text placed in the filter's container when load filter on demand\n * feature is enabled\n * @type {String}\n */\n this.activateText =\n f.activate_checklist_text || 'Click to load filter data';\n\n /**\n * Css class for a disabled item of a checklist (li)\n * @type {String}\n */\n this.disabledItemCssClass = f.checklist_item_disabled_css_class ||\n 'flt_checklist_item_disabled';\n\n /**\n * Enable the reset filter option as first item\n * @type {Boolean}\n */\n this.enableResetOption = f.enable_checklist_reset_filter === false ?\n false : true;\n\n /**\n * Prefix for container element ID\n * @type {String}\n * @private\n */\n this.prfx = 'chkdiv_';\n\n /**\n * Has custom options\n * @type {Boolean}\n * @private\n */\n this.isCustom = false;\n\n /**\n * List of options values\n * @type {Array}\n * @private\n */\n this.opts = [];\n\n /**\n * List of options texts for custom values\n * @type {Array}\n * @private\n */\n this.optsTxt = [];\n\n /**\n * List of options to be excluded from the checklist filter\n * @type {Array}\n * @private\n */\n this.excludedOpts = [];\n }\n\n /**\n * Checklist option click event handler\n * @param {Event} evt\n * @private\n */\n optionClick(evt) {\n let elm = targetEvt(evt);\n let tf = this.tf;\n\n this.emitter.emit('filter-focus', tf, elm);\n this.setCheckListValues(elm);\n tf.filter();\n }\n\n /**\n * Checklist container click event handler for load-on-demand feature\n * @param {Event} evt\n * @private\n */\n onCheckListClick(evt) {\n let elm = targetEvt(evt);\n if (this.tf.loadFltOnDemand && elm.getAttribute('filled') === '0') {\n let ct = elm.getAttribute('ct');\n let div = this.containers[ct];\n this.build(ct);\n removeEvt(div, 'click', (evt) => this.onCheckListClick(evt));\n }\n }\n\n /**\n * Refresh all checklist filters\n */\n refreshAll() {\n let tf = this.tf;\n let fltsIdxs = tf.getFiltersByType(CHECKLIST, true);\n fltsIdxs.forEach((colIdx) => {\n let values = this.getValues(colIdx);\n this.build(colIdx, tf.linkedFilters);\n this.selectOptions(colIdx, values);\n });\n }\n\n /**\n * Initialize checklist filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n */\n init(colIndex, isExternal, container) {\n let tf = this.tf;\n let externalFltTgtId = isExternal ?\n tf.externalFltTgtIds[colIndex] : null;\n\n let divCont = createElm('div',\n ['id', `${this.prfx}${colIndex}_${tf.id}`],\n ['ct', colIndex], ['filled', '0']);\n divCont.className = this.containerCssClass;\n\n //filter is appended in desired element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(divCont);\n } else {\n container.appendChild(divCont);\n }\n\n this.containers[colIndex] = divCont;\n tf.fltIds.push(tf.buildFilterId(colIndex));\n\n if (!tf.loadFltOnDemand) {\n this.build(colIndex);\n } else {\n addEvt(divCont, 'click', (evt) => this.onCheckListClick(evt));\n divCont.appendChild(createText(this.activateText));\n }\n\n this.emitter.on(\n ['build-checklist-filter'],\n (tf, colIndex, isLinked) => this.build(colIndex, isLinked)\n );\n\n this.emitter.on(\n ['select-checklist-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n\n this.emitter.on(['rows-changed'], () => this.refreshAll());\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Build checklist UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked filters behaviour\n */\n build(colIndex, isLinked = false) {\n let tf = this.tf;\n colIndex = parseInt(colIndex, 10);\n\n this.emitter.emit('before-populating-filter', tf, colIndex);\n\n this.opts = [];\n this.optsTxt = [];\n\n let flt = this.containers[colIndex];\n let ul = createElm('ul',\n ['id', tf.fltIds[colIndex]],\n ['colIndex', colIndex]);\n ul.className = this.filterCssClass;\n\n let rows = tf.tbl.rows;\n let nbRows = tf.getRowsNb(true);\n let caseSensitive = tf.caseSensitive;\n this.isCustom = tf.isCustomOptions(colIndex);\n\n let activeIdx;\n let activeFilterId = tf.getActiveFilterId();\n if (isLinked && activeFilterId) {\n activeIdx = tf.getColumnIndexFromFilterId(activeFilterId);\n }\n\n let filteredDataCol = [];\n if (isLinked && tf.disableExcludedOptions) {\n this.excludedOpts = [];\n }\n\n flt.innerHTML = '';\n\n for (let k = tf.refRow; k < nbRows; k++) {\n // always visible rows don't need to appear on selects as always\n // valid\n if (tf.hasVisibleRows && tf.visibleRows.indexOf(k) !== -1) {\n continue;\n }\n\n let cells = rows[k].cells;\n let ncells = cells.length;\n\n // checks if row has exact cell #\n if (ncells !== tf.nbCells || this.isCustom) {\n continue;\n }\n\n // this loop retrieves cell data\n for (let j = 0; j < ncells; j++) {\n if (colIndex !== j) {\n continue;\n }\n if (isLinked && !tf.disableExcludedOptions &&\n (!tf.paging && !tf.isRowDisplayed(k)) ||\n (tf.paging && activeIdx && !tf.isRowValid(k))) {\n continue;\n }\n\n let cellData = tf.getCellData(cells[j]);\n //Vary Peter's patch\n let cellString = matchCase(cellData, caseSensitive);\n // checks if celldata is already in array\n if (!has(this.opts, cellString, caseSensitive)) {\n this.opts.push(cellData);\n }\n let filteredCol = filteredDataCol[j];\n if (isLinked && tf.disableExcludedOptions) {\n if (!filteredCol) {\n filteredCol = tf.getFilteredDataCol(j);\n }\n if (!has(filteredCol, cellString, caseSensitive) &&\n !has(this.excludedOpts, cellString,\n caseSensitive)) {\n this.excludedOpts.push(cellData);\n }\n }\n }\n }\n\n //Retrieves custom values\n if (this.isCustom) {\n let customValues = tf.getCustomOptions(colIndex);\n this.opts = customValues[0];\n this.optsTxt = customValues[1];\n }\n\n if (tf.sortSlc && !this.isCustom) {\n if (!caseSensitive) {\n this.opts.sort(ignoreCase);\n if (this.excludedOpts) {\n this.excludedOpts.sort(ignoreCase);\n }\n } else {\n this.opts.sort();\n if (this.excludedOpts) {\n this.excludedOpts.sort();\n }\n }\n }\n //asc sort\n if (tf.sortNumAsc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortAsc);\n if (this.excludedOpts) {\n this.excludedOpts.sort(numSortAsc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortAsc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'ascending'));\n }//in case there are alphanumeric values\n }\n //desc sort\n if (tf.sortNumDesc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortDesc);\n if (this.excludedOpts) {\n this.excludedOpts.sort(numSortDesc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortDesc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'descending'));\n }//in case there are alphanumeric values\n }\n\n this.addChecks(colIndex, ul);\n\n if (tf.loadFltOnDemand) {\n flt.innerHTML = '';\n }\n flt.appendChild(ul);\n flt.setAttribute('filled', '1');\n\n this.emitter.emit('after-populating-filter', tf, colIndex, flt);\n }\n\n /**\n * Add checklist options\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n * @private\n */\n addChecks(colIndex, ul) {\n let tf = this.tf;\n let chkCt = this.addTChecks(colIndex, ul);\n\n for (let y = 0; y < this.opts.length; y++) {\n let val = this.opts[y]; //item value\n let lbl = this.isCustom ? this.optsTxt[y] : val; //item text\n let fltId = tf.fltIds[colIndex];\n let li = createCheckItem(`${fltId}_${(y + chkCt)}`, val, lbl);\n li.className = this.itemCssClass;\n\n if (tf.linkedFilters && tf.disableExcludedOptions &&\n has(this.excludedOpts, matchCase(val, tf.caseSensitive),\n tf.caseSensitive)) {\n addClass(li, this.disabledItemCssClass);\n li.check.disabled = true;\n li.disabled = true;\n } else {\n addEvt(li.check, 'click', evt => this.optionClick(evt));\n }\n ul.appendChild(li);\n\n if (val === '') {\n //item is hidden\n li.style.display = NONE;\n }\n }\n }\n\n /**\n * Add checklist header option\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n * @private\n */\n addTChecks(colIndex, ul) {\n let tf = this.tf;\n let chkCt = 1;\n let fltId = tf.fltIds[colIndex];\n let li0 = createCheckItem(`${fltId}_0`, '',\n tf.getClearFilterText(colIndex));\n li0.className = this.itemCssClass;\n ul.appendChild(li0);\n\n addEvt(li0.check, 'click', evt => this.optionClick(evt));\n\n if (!this.enableResetOption) {\n li0.style.display = NONE;\n }\n\n if (tf.enableEmptyOption) {\n let li1 = createCheckItem(`${fltId}_1`, tf.emOperator,\n tf.emptyText);\n li1.className = this.itemCssClass;\n ul.appendChild(li1);\n addEvt(li1.check, 'click', evt => this.optionClick(evt));\n chkCt++;\n }\n\n if (tf.enableNonEmptyOption) {\n let li2 = createCheckItem(`${fltId}_2`, tf.nmOperator,\n tf.nonEmptyText);\n li2.className = this.itemCssClass;\n ul.appendChild(li2);\n addEvt(li2.check, 'click', evt => this.optionClick(evt));\n chkCt++;\n }\n return chkCt;\n }\n\n /**\n * Store checked options in DOM element attribute\n * @param {Object} o checklist option DOM element\n * @private\n */\n setCheckListValues(o) {\n if (!o) {\n return;\n }\n\n let tf = this.tf;\n let chkValue = o.value; //checked item value\n // TODO: provide helper to extract column index, ugly!\n let chkIndex = parseInt(o.id.split('_')[2], 10);\n let colIdx = tf.getColumnIndexFromFilterId(o.id);\n let itemTag = 'LI';\n\n let n = tf.getFilterElement(parseInt(colIdx, 10));\n let li = n.childNodes[chkIndex];\n let colIndex = n.getAttribute('colIndex');\n let fltValue = n.getAttribute('value'); //filter value (ul tag)\n let fltIndexes = n.getAttribute('indexes'); //selected items (ul tag)\n\n if (o.checked) {\n //show all item\n if (chkValue === '') {\n if ((fltIndexes && fltIndexes !== '')) {\n //items indexes\n let indSplit = fltIndexes.split(tf.separator);\n //checked items loop\n for (let u = 0; u < indSplit.length; u++) {\n //checked item\n let cChk = elm(tf.fltIds[colIndex] + '_' +\n indSplit[u]);\n if (cChk) {\n cChk.checked = false;\n removeClass(n.childNodes[indSplit[u]],\n this.selectedItemCssClass);\n }\n }\n }\n n.setAttribute('value', '');\n n.setAttribute('indexes', '');\n\n } else {\n fltValue = (fltValue) ? fltValue : '';\n chkValue = trim(fltValue + ' ' + chkValue + ' ' +\n tf.orOperator);\n chkIndex = fltIndexes + chkIndex + tf.separator;\n n.setAttribute('value', chkValue);\n n.setAttribute('indexes', chkIndex);\n //1st option unchecked\n if (elm(tf.fltIds[colIndex] + '_0')) {\n elm(tf.fltIds[colIndex] + '_0').checked = false;\n }\n }\n\n if (li.nodeName === itemTag) {\n removeClass(n.childNodes[0], this.selectedItemCssClass);\n addClass(li, this.selectedItemCssClass);\n }\n } else { //removes values and indexes\n if (chkValue !== '') {\n let replaceValue = new RegExp(\n rgxEsc(chkValue + ' ' + tf.orOperator));\n fltValue = fltValue.replace(replaceValue, '');\n n.setAttribute('value', trim(fltValue));\n\n let replaceIndex = new RegExp(\n rgxEsc(chkIndex + tf.separator));\n fltIndexes = fltIndexes.replace(replaceIndex, '');\n n.setAttribute('indexes', fltIndexes);\n }\n if (li.nodeName === itemTag) {\n removeClass(li, this.selectedItemCssClass);\n }\n }\n }\n\n /**\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n */\n selectOptions(colIndex, values = []) {\n let tf = this.tf;\n let flt = tf.getFilterElement(colIndex);\n if (tf.getFilterType(colIndex) !== CHECKLIST || !flt ||\n values.length === 0) {\n return;\n }\n\n let lisNb = tag(flt, 'li').length;\n\n flt.setAttribute('value', '');\n flt.setAttribute('indexes', '');\n\n for (let k = 0; k < lisNb; k++) {\n let li = tag(flt, 'li')[k];\n let lbl = tag(li, 'label')[0];\n let chk = tag(li, 'input')[0];\n let lblTxt = matchCase(getText(lbl), tf.caseSensitive);\n\n if (lblTxt !== '' && has(values, lblTxt, tf.caseSensitive)) {\n chk.checked = true;\n } else {\n // Check non-empty-text or empty-text option\n if (values.indexOf(tf.nmOperator) !== -1 &&\n lblTxt === matchCase(tf.nonEmptyText, tf.caseSensitive)) {\n chk.checked = true;\n }\n else if (values.indexOf(tf.emOperator) !== -1 &&\n lblTxt === matchCase(tf.emptyText, tf.caseSensitive)) {\n chk.checked = true;\n } else {\n chk.checked = false;\n }\n }\n this.setCheckListValues(chk);\n }\n }\n\n /**\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Collection of selected values\n */\n getValues(colIndex) {\n let tf = this.tf;\n let flt = tf.getFilterElement(colIndex);\n let fltAttr = flt.getAttribute('value');\n let values = isEmpty(fltAttr) ? '' : fltAttr;\n\n //removes last operator ||\n values = values.substr(0, values.length - 3);\n //turn || separated values into array\n values = values.split(' ' + tf.orOperator + ' ');\n\n return values;\n }\n\n /**\n * Destroy CheckList instance\n */\n destroy() {\n this.emitter.off(\n ['build-checklist-filter'],\n (tf, colIndex, isLinked) => this.build(colIndex, isLinked)\n );\n this.emitter.off(\n ['select-checklist-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n this.emitter.off(['rows-changed'], () => this.refreshAll());\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 258, + "__docId__": 262, "kind": "variable", "static": true, "variation": null, @@ -5691,7 +5765,7 @@ } }, { - "__docId__": 259, + "__docId__": 263, "kind": "class", "static": true, "variation": null, @@ -5710,7 +5784,7 @@ ] }, { - "__docId__": 260, + "__docId__": 264, "kind": "constructor", "static": false, "variation": null, @@ -5735,7 +5809,7 @@ "generator": false }, { - "__docId__": 261, + "__docId__": 265, "kind": "member", "static": false, "variation": null, @@ -5755,7 +5829,7 @@ } }, { - "__docId__": 262, + "__docId__": 266, "kind": "member", "static": false, "variation": null, @@ -5775,7 +5849,7 @@ } }, { - "__docId__": 263, + "__docId__": 267, "kind": "member", "static": false, "variation": null, @@ -5795,7 +5869,7 @@ } }, { - "__docId__": 264, + "__docId__": 268, "kind": "member", "static": false, "variation": null, @@ -5815,7 +5889,7 @@ } }, { - "__docId__": 265, + "__docId__": 269, "kind": "member", "static": false, "variation": null, @@ -5835,7 +5909,7 @@ } }, { - "__docId__": 266, + "__docId__": 270, "kind": "member", "static": false, "variation": null, @@ -5855,7 +5929,7 @@ } }, { - "__docId__": 267, + "__docId__": 271, "kind": "member", "static": false, "variation": null, @@ -5875,7 +5949,7 @@ } }, { - "__docId__": 268, + "__docId__": 272, "kind": "member", "static": false, "variation": null, @@ -5895,7 +5969,7 @@ } }, { - "__docId__": 269, + "__docId__": 273, "kind": "member", "static": false, "variation": null, @@ -5915,7 +5989,7 @@ } }, { - "__docId__": 270, + "__docId__": 274, "kind": "member", "static": false, "variation": null, @@ -5935,7 +6009,7 @@ } }, { - "__docId__": 271, + "__docId__": 275, "kind": "member", "static": false, "variation": null, @@ -5955,7 +6029,7 @@ } }, { - "__docId__": 272, + "__docId__": 276, "kind": "member", "static": false, "variation": null, @@ -5975,7 +6049,7 @@ } }, { - "__docId__": 273, + "__docId__": 277, "kind": "member", "static": false, "variation": null, @@ -5995,7 +6069,7 @@ } }, { - "__docId__": 274, + "__docId__": 278, "kind": "method", "static": false, "variation": null, @@ -6020,7 +6094,7 @@ "generator": false }, { - "__docId__": 275, + "__docId__": 279, "kind": "method", "static": false, "variation": null, @@ -6045,7 +6119,7 @@ "generator": false }, { - "__docId__": 276, + "__docId__": 280, "kind": "method", "static": false, "variation": null, @@ -6059,7 +6133,7 @@ "generator": false }, { - "__docId__": 277, + "__docId__": 281, "kind": "method", "static": false, "variation": null, @@ -6104,7 +6178,7 @@ "generator": false }, { - "__docId__": 278, + "__docId__": 282, "kind": "member", "static": false, "variation": null, @@ -6127,7 +6201,7 @@ } }, { - "__docId__": 279, + "__docId__": 283, "kind": "method", "static": false, "variation": null, @@ -6162,7 +6236,7 @@ "generator": false }, { - "__docId__": 280, + "__docId__": 284, "kind": "member", "static": false, "variation": null, @@ -6180,7 +6254,7 @@ } }, { - "__docId__": 281, + "__docId__": 285, "kind": "member", "static": false, "variation": null, @@ -6198,7 +6272,7 @@ } }, { - "__docId__": 282, + "__docId__": 286, "kind": "member", "static": false, "variation": null, @@ -6216,7 +6290,7 @@ } }, { - "__docId__": 283, + "__docId__": 287, "kind": "member", "static": false, "variation": null, @@ -6234,7 +6308,7 @@ } }, { - "__docId__": 284, + "__docId__": 288, "kind": "member", "static": false, "variation": null, @@ -6252,7 +6326,7 @@ } }, { - "__docId__": 285, + "__docId__": 289, "kind": "member", "static": false, "variation": null, @@ -6270,7 +6344,7 @@ } }, { - "__docId__": 286, + "__docId__": 290, "kind": "method", "static": false, "variation": null, @@ -6305,7 +6379,7 @@ "generator": false }, { - "__docId__": 287, + "__docId__": 291, "kind": "method", "static": false, "variation": null, @@ -6345,7 +6419,7 @@ "generator": false }, { - "__docId__": 288, + "__docId__": 292, "kind": "method", "static": false, "variation": null, @@ -6370,7 +6444,7 @@ "generator": false }, { - "__docId__": 289, + "__docId__": 293, "kind": "method", "static": false, "variation": null, @@ -6405,7 +6479,7 @@ "generator": false }, { - "__docId__": 290, + "__docId__": 294, "kind": "method", "static": false, "variation": null, @@ -6444,7 +6518,7 @@ "generator": false }, { - "__docId__": 291, + "__docId__": 295, "kind": "method", "static": false, "variation": null, @@ -6458,7 +6532,7 @@ "generator": false }, { - "__docId__": 292, + "__docId__": 296, "kind": "member", "static": false, "variation": null, @@ -6476,7 +6550,7 @@ } }, { - "__docId__": 293, + "__docId__": 297, "kind": "file", "static": true, "variation": null, @@ -6489,7 +6563,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {addEvt} from '../event';\n\n/**\n * Clear button UI component\n */\nexport class ClearButton extends Feature {\n\n /**\n * Creates an instance of ClearButton\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'btnReset');\n\n let f = this.config;\n\n /**\n * Container element ID\n * @type {String}\n */\n this.targetId = f.btn_reset_target_id || null;\n\n /**\n * Clear button container element\n * @type {DOMElement}\n * @private\n */\n this.container = null;\n\n /**\n * Clear button element\n * @type {DOMElement}\n * @private\n */\n this.element = null;\n\n /**\n * Text for the clear button\n * @type {String}\n */\n this.text = f.btn_reset_text || 'Reset';\n\n /**\n * Css class for reset button\n * @type {String}\n */\n this.cssClass = f.btn_reset_css_class || 'reset';\n\n /**\n * Tooltip text for the clear button\n * @type {String}\n */\n this.tooltip = f.btn_reset_tooltip || 'Clear filters';\n\n /**\n * Custom Html string for the clear button\n * @type {String}\n */\n this.html = f.btn_reset_html ||\n (!tf.enableIcons ? null :\n '');\n }\n\n /**\n * Click event handler for clear button\n * @private\n */\n onClick() {\n if (!this.isEnabled()) {\n return;\n }\n this.tf.clearFilters();\n }\n\n /**\n * Initialize clear button component\n */\n init() {\n let tf = this.tf;\n\n if (this.initialized) {\n return;\n }\n\n let cont = createElm('span');\n\n // reset button is added to defined element\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = !this.targetId ? tf.rDiv : elm(this.targetId);\n targetEl.appendChild(cont);\n\n if (!this.html) {\n let fltReset = createElm('a', ['href', 'javascript:void(0);']);\n fltReset.className = this.cssClass;\n fltReset.appendChild(createText(this.text));\n cont.appendChild(fltReset);\n addEvt(fltReset, 'click', () => this.onClick());\n } else {\n cont.innerHTML = this.html;\n let resetEl = cont.firstChild;\n addEvt(resetEl, 'click', () => this.onClick());\n }\n this.element = cont.firstChild;\n this.container = cont;\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Destroy ClearButton instance\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n removeElm(this.element);\n removeElm(this.container);\n this.element = null;\n this.container = null;\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 294, + "__docId__": 298, "kind": "class", "static": true, "variation": null, @@ -6508,7 +6582,7 @@ ] }, { - "__docId__": 295, + "__docId__": 299, "kind": "constructor", "static": false, "variation": null, @@ -6533,7 +6607,7 @@ "generator": false }, { - "__docId__": 296, + "__docId__": 300, "kind": "member", "static": false, "variation": null, @@ -6553,7 +6627,7 @@ } }, { - "__docId__": 297, + "__docId__": 301, "kind": "member", "static": false, "variation": null, @@ -6573,7 +6647,7 @@ } }, { - "__docId__": 298, + "__docId__": 302, "kind": "member", "static": false, "variation": null, @@ -6593,7 +6667,7 @@ } }, { - "__docId__": 299, + "__docId__": 303, "kind": "member", "static": false, "variation": null, @@ -6613,7 +6687,7 @@ } }, { - "__docId__": 300, + "__docId__": 304, "kind": "member", "static": false, "variation": null, @@ -6633,7 +6707,7 @@ } }, { - "__docId__": 301, + "__docId__": 305, "kind": "member", "static": false, "variation": null, @@ -6653,7 +6727,7 @@ } }, { - "__docId__": 302, + "__docId__": 306, "kind": "member", "static": false, "variation": null, @@ -6673,7 +6747,7 @@ } }, { - "__docId__": 303, + "__docId__": 307, "kind": "method", "static": false, "variation": null, @@ -6687,7 +6761,7 @@ "generator": false }, { - "__docId__": 304, + "__docId__": 308, "kind": "method", "static": false, "variation": null, @@ -6701,7 +6775,7 @@ "generator": false }, { - "__docId__": 305, + "__docId__": 309, "kind": "member", "static": false, "variation": null, @@ -6719,7 +6793,7 @@ } }, { - "__docId__": 306, + "__docId__": 310, "kind": "member", "static": false, "variation": null, @@ -6737,7 +6811,7 @@ } }, { - "__docId__": 307, + "__docId__": 311, "kind": "member", "static": false, "variation": null, @@ -6760,7 +6834,7 @@ } }, { - "__docId__": 308, + "__docId__": 312, "kind": "method", "static": false, "variation": null, @@ -6774,7 +6848,7 @@ "generator": false }, { - "__docId__": 309, + "__docId__": 313, "kind": "member", "static": false, "variation": null, @@ -6792,7 +6866,7 @@ } }, { - "__docId__": 310, + "__docId__": 314, "kind": "member", "static": false, "variation": null, @@ -6810,7 +6884,7 @@ } }, { - "__docId__": 311, + "__docId__": 315, "kind": "member", "static": false, "variation": null, @@ -6828,7 +6902,7 @@ } }, { - "__docId__": 312, + "__docId__": 316, "kind": "file", "static": true, "variation": null, @@ -6841,7 +6915,7 @@ "content": "import {Date as SugarDate} from 'sugar-date';\nimport 'sugar-date/locales';\nimport {Feature} from '../feature';\nimport {isObj, isArray} from '../types';\nimport {DATE} from '../const';\nimport {root} from '../root';\n\n/**\n * Wrapper for Sugar Date module providing datetime helpers and locales\n * @export\n * @class DateType\n */\nexport class DateType extends Feature {\n\n /**\n * Creates an instance of DateType\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'dateType');\n\n /**\n * Global locale\n * @type {String}\n */\n this.locale = tf.locale;\n\n /**\n * Sugar Date instance\n * @type {Object}\n */\n this.datetime = SugarDate;\n\n this.enable();\n }\n\n /**\n * Initialize DateType instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n // Set global locale\n this.datetime.setLocale(this.locale);\n\n // Add formats from column types configuration if any\n this.addConfigFormats(this.tf.colTypes);\n\n this.emitter.on(\n ['add-date-type-formats'],\n (tf, types) => this.addConfigFormats(types)\n );\n\n // Broadcast date-type initialization\n this.emitter.emit('date-type-initialized', this.tf, this);\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Parse a string representation of a date for a specified locale and return\n * a date object\n * @param {String} dateStr String representation of a date\n * @param {String} localeCode Locale code (ie 'en-us')\n * @returns {Date}\n */\n parse(dateStr, localeCode) {\n return this.datetime.create(dateStr, localeCode);\n }\n\n /**\n * Check string representation of a date for a specified locale is valid\n * @param {any} dateStr String representation of a date\n * @param {any} localeCode Locale code (ie 'en-us')\n * @returns {Boolean}\n */\n isValid(dateStr, localeCode) {\n return this.datetime.isValid(this.parse(dateStr, localeCode));\n }\n\n /**\n * Return the type object of a specified column as per configuration or\n * passed collection\n * @param {Number} colIndex Column index\n * @param {Array} types Collection of column types, optional\n * @returns {Object}\n */\n getOptions(colIndex, types) {\n types = types || this.tf.colTypes;\n let colType = types[colIndex];\n return isObj(colType) ? colType : {};\n }\n\n /**\n * Add date time format(s) to a locale as specified by the passed\n * collection of column types, ie:\n * [\n * 'string',\n * 'number',\n * { type: 'date', locale: 'en', format: ['{dd}/{MM}/{yyyy}']}\n * ]\n *\n * @param {Array} [types=[]] Collection of column types\n */\n addConfigFormats(types=[]) {\n types.forEach((type, idx) => {\n let options = this.getOptions(idx, types);\n if (options.type === DATE && options.hasOwnProperty('format')) {\n let locale = this.datetime.getLocale(\n options.locale || this.locale\n );\n let formats = isArray(options.format) ?\n options.format : [options.format];\n\n // Sugar date module throws exceptions with locale.addFormat\n try {\n formats.forEach((format) => {\n locale.addFormat(format);\n });\n } catch (ex) {\n root.console.error(ex);\n }\n }\n });\n }\n\n /**\n * Remove DateType instance\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n // TODO: remove added formats\n\n this.emitter.off(\n ['add-date-type-formats'],\n (tf, types) => this.addConfigFormats(types)\n );\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 313, + "__docId__": 317, "kind": "class", "static": true, "variation": null, @@ -6870,7 +6944,7 @@ ] }, { - "__docId__": 314, + "__docId__": 318, "kind": "constructor", "static": false, "variation": null, @@ -6895,7 +6969,7 @@ "generator": false }, { - "__docId__": 315, + "__docId__": 319, "kind": "member", "static": false, "variation": null, @@ -6915,7 +6989,7 @@ } }, { - "__docId__": 316, + "__docId__": 320, "kind": "member", "static": false, "variation": null, @@ -6935,7 +7009,7 @@ } }, { - "__docId__": 317, + "__docId__": 321, "kind": "method", "static": false, "variation": null, @@ -6949,7 +7023,7 @@ "generator": false }, { - "__docId__": 318, + "__docId__": 322, "kind": "member", "static": false, "variation": null, @@ -6972,7 +7046,7 @@ } }, { - "__docId__": 319, + "__docId__": 323, "kind": "method", "static": false, "variation": null, @@ -7021,7 +7095,7 @@ "generator": false }, { - "__docId__": 320, + "__docId__": 324, "kind": "method", "static": false, "variation": null, @@ -7070,7 +7144,7 @@ "generator": false }, { - "__docId__": 321, + "__docId__": 325, "kind": "method", "static": false, "variation": null, @@ -7119,7 +7193,7 @@ "generator": false }, { - "__docId__": 322, + "__docId__": 326, "kind": "method", "static": false, "variation": null, @@ -7146,7 +7220,7 @@ "generator": false }, { - "__docId__": 323, + "__docId__": 327, "kind": "method", "static": false, "variation": null, @@ -7160,7 +7234,7 @@ "generator": false }, { - "__docId__": 324, + "__docId__": 328, "kind": "member", "static": false, "variation": null, @@ -7178,7 +7252,7 @@ } }, { - "__docId__": 325, + "__docId__": 329, "kind": "file", "static": true, "variation": null, @@ -7191,7 +7265,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createOpt, elm} from '../dom';\nimport {has} from '../array';\nimport {matchCase} from '../string';\nimport {ignoreCase, numSortAsc, numSortDesc} from '../sort';\nimport {addEvt, targetEvt} from '../event';\nimport {SELECT, MULTIPLE, NONE} from '../const';\n\nconst SORT_ERROR = 'Filter options for column {0} cannot be sorted in ' +\n '{1} manner.';\n\n/**\n * Dropdown filter UI component\n */\nexport class Dropdown extends Feature {\n\n /**\n * Creates an instance of Dropdown\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'dropdown');\n\n // Configuration object\n let f = this.config;\n\n /**\n * Enable the reset filter option as first item\n * @type {Boolean}\n */\n this.enableSlcResetFilter = f.enable_slc_reset_filter === false ?\n false : true;\n\n /**\n * Non empty option text\n * @type {String}\n */\n this.nonEmptyText = f.non_empty_text || '(Non empty)';\n\n /**\n * Tooltip text appearing on multiple select\n * @type {String}\n */\n this.multipleSlcTooltip = f.multiple_slc_tooltip ||\n 'Use Ctrl/Cmd key for multiple selections';\n\n /**\n * Indicates drop-down has custom options\n * @private\n */\n this.isCustom = null;\n\n /**\n * List of options values\n * @type {Array}\n * @private\n */\n this.opts = null;\n\n /**\n * List of options texts for custom values\n * @type {Array}\n * @private\n */\n this.optsTxt = null;\n }\n\n\n /**\n * Drop-down filter focus event handler\n * @param {Event} e DOM Event\n * @private\n */\n onSlcFocus(e) {\n let elm = targetEvt(e);\n let tf = this.tf;\n // select is populated when element has focus\n if (tf.loadFltOnDemand && elm.getAttribute('filled') === '0') {\n let ct = elm.getAttribute('ct');\n this.build(ct);\n }\n this.emitter.emit('filter-focus', tf, elm);\n }\n\n /**\n * Drop-down filter change event handler\n * @private\n */\n onSlcChange() {\n if (this.tf.onSlcChange) {\n this.tf.filter();\n }\n }\n\n /**\n * Refresh all drop-down filters\n */\n refreshAll() {\n let tf = this.tf;\n let selectFlts = tf.getFiltersByType(SELECT, true);\n let multipleFlts = tf.getFiltersByType(MULTIPLE, true);\n let flts = selectFlts.concat(multipleFlts);\n flts.forEach((colIdx) => {\n let values = this.getValues(colIdx);\n this.build(colIdx, tf.linkedFilters);\n this.selectOptions(colIdx, values);\n });\n }\n\n /**\n * Initialize drop-down filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n */\n init(colIndex, isExternal, container) {\n let tf = this.tf;\n let col = tf.getFilterType(colIndex);\n let externalFltTgtId = isExternal ?\n tf.externalFltTgtIds[colIndex] : null;\n\n let slc = createElm(SELECT,\n ['id', tf.buildFilterId(colIndex)],\n ['ct', colIndex], ['filled', '0']\n );\n\n if (col === MULTIPLE) {\n slc.multiple = MULTIPLE;\n slc.title = this.multipleSlcTooltip;\n }\n slc.className = col.toLowerCase() === SELECT ?\n tf.fltCssClass : tf.fltMultiCssClass;\n\n //filter is appended in container element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(slc);\n } else {\n container.appendChild(slc);\n }\n\n tf.fltIds.push(slc.id);\n\n if (!tf.loadFltOnDemand) {\n this.build(colIndex);\n } else {\n //1st option is created here since build isn't invoked\n let opt0 = createOpt(tf.getClearFilterText(colIndex), '');\n slc.appendChild(opt0);\n }\n\n addEvt(slc, 'change', () => this.onSlcChange());\n addEvt(slc, 'focus', (e) => this.onSlcFocus(e));\n\n this.emitter.on(\n ['build-select-filter'],\n (tf, colIndex, isLinked, isExternal) =>\n this.build(colIndex, isLinked, isExternal)\n );\n this.emitter.on(\n ['select-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n this.emitter.on(['rows-changed'], () => this.refreshAll());\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Build drop-down filter UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked filters behaviour\n */\n build(colIndex, isLinked = false) {\n let tf = this.tf;\n colIndex = parseInt(colIndex, 10);\n\n this.emitter.emit('before-populating-filter', tf, colIndex);\n\n this.opts = [];\n this.optsTxt = [];\n\n let slcId = tf.fltIds[colIndex];\n let slc = elm(slcId);\n let rows = tf.tbl.rows;\n let nbRows = tf.getRowsNb(true);\n\n //custom select test\n this.isCustom = tf.isCustomOptions(colIndex);\n\n //custom selects text\n let activeIdx;\n let activeFilterId = tf.getActiveFilterId();\n if (isLinked && activeFilterId) {\n activeIdx = tf.getColumnIndexFromFilterId(activeFilterId);\n }\n\n let excludedOpts = null,\n filteredDataCol = null;\n if (isLinked && tf.disableExcludedOptions) {\n excludedOpts = [];\n filteredDataCol = [];\n }\n\n for (let k = tf.refRow; k < nbRows; k++) {\n // always visible rows don't need to appear on selects as always\n // valid\n if (tf.hasVisibleRows && tf.visibleRows.indexOf(k) !== -1) {\n continue;\n }\n\n let cell = rows[k].cells,\n nchilds = cell.length;\n\n // checks if row has exact cell #\n if (nchilds !== tf.nbCells || this.isCustom) {\n continue;\n }\n\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n if (colIndex !== j) {\n continue;\n }\n if (isLinked && !tf.disableExcludedOptions &&\n (!tf.paging && !tf.isRowDisplayed(k)) ||\n (tf.paging && activeIdx && !tf.isRowValid(k))) {\n continue;\n }\n\n let cellData = tf.getCellData(cell[j]),\n //Vary Peter's patch\n cellString = matchCase(cellData, tf.caseSensitive);\n\n // checks if celldata is already in array\n if (!has(this.opts, cellString, tf.caseSensitive)) {\n this.opts.push(cellData);\n }\n\n if (isLinked && tf.disableExcludedOptions) {\n let filteredCol = filteredDataCol[j];\n if (!filteredCol) {\n filteredCol = tf.getFilteredDataCol(j);\n }\n if (!has(filteredCol, cellString, tf.caseSensitive) &&\n !has(excludedOpts, cellString, tf.caseSensitive)) {\n excludedOpts.push(cellData);\n }\n }\n }//for j\n }//for k\n\n //Retrieves custom values\n if (this.isCustom) {\n let customValues = tf.getCustomOptions(colIndex);\n this.opts = customValues[0];\n this.optsTxt = customValues[1];\n }\n\n if (tf.sortSlc && !this.isCustom) {\n if (!tf.caseSensitive) {\n this.opts.sort(ignoreCase);\n if (excludedOpts) {\n excludedOpts.sort(ignoreCase);\n }\n } else {\n this.opts.sort();\n if (excludedOpts) { excludedOpts.sort(); }\n }\n }\n\n //asc sort\n if (tf.sortNumAsc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortAsc);\n if (excludedOpts) {\n excludedOpts.sort(numSortAsc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortAsc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'ascending'));\n }//in case there are alphanumeric values\n }\n //desc sort\n if (tf.sortNumDesc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortDesc);\n if (excludedOpts) {\n excludedOpts.sort(numSortDesc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortDesc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'ascending'));\n }//in case there are alphanumeric values\n }\n\n //populates drop-down\n this.addOptions(colIndex, slc, isLinked, excludedOpts);\n\n this.emitter.emit('after-populating-filter', tf, colIndex, slc);\n }\n\n /**\n * Add drop-down options\n * @param {Number} colIndex Column index\n * @param {Object} slc Select Dom element\n * @param {Boolean} isLinked Enable linked refresh behaviour\n * @param {Array} excludedOpts Array of excluded options\n */\n addOptions(colIndex, slc, isLinked, excludedOpts) {\n let tf = this.tf,\n slcValue = slc.value;\n\n slc.innerHTML = '';\n slc = this.addFirstOption(slc);\n\n for (let y = 0; y < this.opts.length; y++) {\n if (this.opts[y] === '') {\n continue;\n }\n let val = this.opts[y]; //option value\n let lbl = this.isCustom ? this.optsTxt[y] : val; //option text\n let isDisabled = false;\n if (isLinked && tf.disableExcludedOptions &&\n has(excludedOpts, matchCase(val, tf.caseSensitive),\n tf.caseSensitive)) {\n isDisabled = true;\n }\n\n let opt;\n //fill select on demand\n if (tf.loadFltOnDemand && slcValue === this.opts[y] &&\n tf.getFilterType(colIndex) === SELECT) {\n opt = createOpt(lbl, val, true);\n } else {\n opt = createOpt(lbl, val, false);\n }\n if (isDisabled) {\n opt.disabled = true;\n }\n slc.appendChild(opt);\n }// for y\n\n slc.setAttribute('filled', '1');\n }\n\n /**\n * Add drop-down header option\n * @param {Object} slc Select DOM element\n */\n addFirstOption(slc) {\n let tf = this.tf;\n let colIdx = tf.getColumnIndexFromFilterId(slc.id);\n let opt0 = createOpt((!this.enableSlcResetFilter ?\n '' : tf.getClearFilterText(colIdx)), '');\n if (!this.enableSlcResetFilter) {\n opt0.style.display = NONE;\n }\n slc.appendChild(opt0);\n if (tf.enableEmptyOption) {\n let opt1 = createOpt(tf.emptyText, tf.emOperator);\n slc.appendChild(opt1);\n }\n if (tf.enableNonEmptyOption) {\n let opt2 = createOpt(tf.nonEmptyText, tf.nmOperator);\n slc.appendChild(opt2);\n }\n return slc;\n }\n\n /**\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n */\n selectOptions(colIndex, values = []) {\n let tf = this.tf;\n if (values.length === 0) {\n return;\n }\n let slc = tf.getFilterElement(colIndex);\n [].forEach.call(slc.options, (option) => {\n // Empty value means clear all selections and first option is the\n // clear all option\n if (values[0] === '' || option.value === '') {\n option.selected = false;\n }\n\n if (option.value !== '' && has(values, option.value, true)) {\n option.selected = true;\n }//if\n });\n }\n\n /**\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Array of selected values\n */\n getValues(colIndex) {\n let tf = this.tf;\n let slc = tf.getFilterElement(colIndex);\n let values = [];\n\n // IE >= 9 does not support the selectedOptions property :(\n if (slc.selectedOptions) {\n [].forEach.call(slc.selectedOptions,\n option => values.push(option.value));\n } else {\n [].forEach.call(slc.options, (option) => {\n if (option.selected) {\n values.push(option.value);\n }\n });\n }\n\n return values;\n }\n\n /**\n * Destroy Dropdown instance\n */\n destroy() {\n this.emitter.off(\n ['build-select-filter'],\n (colIndex, isLinked, isExternal) =>\n this.build(colIndex, isLinked, isExternal)\n );\n this.emitter.off(\n ['select-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n this.emitter.off(['rows-changed'], () => this.refreshAll());\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 326, + "__docId__": 330, "kind": "variable", "static": true, "variation": null, @@ -7212,7 +7286,7 @@ } }, { - "__docId__": 327, + "__docId__": 331, "kind": "class", "static": true, "variation": null, @@ -7231,7 +7305,7 @@ ] }, { - "__docId__": 328, + "__docId__": 332, "kind": "constructor", "static": false, "variation": null, @@ -7256,7 +7330,7 @@ "generator": false }, { - "__docId__": 329, + "__docId__": 333, "kind": "member", "static": false, "variation": null, @@ -7276,7 +7350,7 @@ } }, { - "__docId__": 330, + "__docId__": 334, "kind": "member", "static": false, "variation": null, @@ -7296,7 +7370,7 @@ } }, { - "__docId__": 331, + "__docId__": 335, "kind": "member", "static": false, "variation": null, @@ -7316,7 +7390,7 @@ } }, { - "__docId__": 332, + "__docId__": 336, "kind": "member", "static": false, "variation": null, @@ -7333,7 +7407,7 @@ } }, { - "__docId__": 333, + "__docId__": 337, "kind": "member", "static": false, "variation": null, @@ -7353,7 +7427,7 @@ } }, { - "__docId__": 334, + "__docId__": 338, "kind": "member", "static": false, "variation": null, @@ -7373,7 +7447,7 @@ } }, { - "__docId__": 335, + "__docId__": 339, "kind": "method", "static": false, "variation": null, @@ -7398,7 +7472,7 @@ "generator": false }, { - "__docId__": 336, + "__docId__": 340, "kind": "method", "static": false, "variation": null, @@ -7412,7 +7486,7 @@ "generator": false }, { - "__docId__": 337, + "__docId__": 341, "kind": "method", "static": false, "variation": null, @@ -7426,7 +7500,7 @@ "generator": false }, { - "__docId__": 338, + "__docId__": 342, "kind": "method", "static": false, "variation": null, @@ -7471,7 +7545,7 @@ "generator": false }, { - "__docId__": 339, + "__docId__": 343, "kind": "member", "static": false, "variation": null, @@ -7494,7 +7568,7 @@ } }, { - "__docId__": 340, + "__docId__": 344, "kind": "method", "static": false, "variation": null, @@ -7529,7 +7603,7 @@ "generator": false }, { - "__docId__": 341, + "__docId__": 345, "kind": "member", "static": false, "variation": null, @@ -7547,7 +7621,7 @@ } }, { - "__docId__": 342, + "__docId__": 346, "kind": "member", "static": false, "variation": null, @@ -7565,7 +7639,7 @@ } }, { - "__docId__": 343, + "__docId__": 347, "kind": "member", "static": false, "variation": null, @@ -7583,7 +7657,7 @@ } }, { - "__docId__": 344, + "__docId__": 348, "kind": "member", "static": false, "variation": null, @@ -7601,7 +7675,7 @@ } }, { - "__docId__": 345, + "__docId__": 349, "kind": "member", "static": false, "variation": null, @@ -7619,7 +7693,7 @@ } }, { - "__docId__": 346, + "__docId__": 350, "kind": "method", "static": false, "variation": null, @@ -7674,7 +7748,7 @@ "generator": false }, { - "__docId__": 347, + "__docId__": 351, "kind": "method", "static": false, "variation": null, @@ -7704,7 +7778,7 @@ "generator": false }, { - "__docId__": 348, + "__docId__": 352, "kind": "method", "static": false, "variation": null, @@ -7739,7 +7813,7 @@ "generator": false }, { - "__docId__": 349, + "__docId__": 353, "kind": "method", "static": false, "variation": null, @@ -7778,7 +7852,7 @@ "generator": false }, { - "__docId__": 350, + "__docId__": 354, "kind": "method", "static": false, "variation": null, @@ -7792,7 +7866,7 @@ "generator": false }, { - "__docId__": 351, + "__docId__": 355, "kind": "member", "static": false, "variation": null, @@ -7810,7 +7884,7 @@ } }, { - "__docId__": 352, + "__docId__": 356, "kind": "file", "static": true, "variation": null, @@ -7823,7 +7897,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, removeElm, elm, tag} from '../dom';\nimport {addEvt, targetEvt} from '../event';\nimport {contains} from '../string';\nimport {NONE} from '../const';\n\n/**\n * Grid layout, table with fixed headers\n */\nexport class GridLayout extends Feature {\n\n /**\n * Creates an instance of GridLayout\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'gridLayout');\n\n let f = this.config;\n\n /**\n * Grid-layout container width as CSS string\n * @type {String}\n */\n this.width = f.grid_width || null;\n\n /**\n * Grid-layout container height as CSS string\n * @type {String}\n */\n this.height = f.grid_height || null;\n\n /**\n * Css class for main container element\n * @type {String}\n */\n this.mainContCssClass = f.grid_cont_css_class || 'grd_Cont';\n\n /**\n * Css class for body table container element\n * @type {String}\n */\n this.contCssClass = f.grid_tbl_cont_css_class || 'grd_tblCont';\n\n /**\n * Css class for headers table container element\n * @type {String}\n */\n this.headContCssClass = f.grid_tblHead_cont_css_class ||\n 'grd_headTblCont';\n\n /**\n * Css class for toolbar container element (rows counter, paging etc.)\n * @type {String}\n */\n this.infDivCssClass = f.grid_inf_grid_css_class || 'grd_inf';\n\n /**\n * Index of the headers row, default: 0\n * @type {Number}\n */\n this.headRowIndex = f.grid_headers_row_index || 0;\n\n /**\n * Collection of the header row indexes to be moved into headers table\n * @type {Array}\n */\n this.headRows = f.grid_headers_rows || [0];\n\n /**\n * Enable or disable column filters generation, default: true\n * @type {Boolean}\n */\n this.enableFilters = f.grid_enable_default_filters === false ?\n false : true;\n\n /**\n * Enable or disable column headers, default: false\n * @type {Boolean}\n */\n this.noHeaders = Boolean(f.grid_no_headers);\n\n /**\n * Grid-layout default column widht as CSS string\n * @type {String}\n */\n this.defaultColWidth = f.grid_default_col_width || '100px';\n\n /**\n * List of column elements\n * @type {Array}\n * @private\n */\n this.colElms = [];\n\n /**\n * Prefix for grid-layout filter's cell ID\n * @type {String}\n * @private\n */\n this.prfxGridFltTd = '_td_';\n\n /**\n * Prefix for grid-layout header's cell ID\n * @type {String}\n * @private\n */\n this.prfxGridTh = 'tblHeadTh_';\n\n /**\n * Mark-up of original HTML table\n * @type {String}\n * @private\n */\n this.sourceTblHtml = tf.tbl.outerHTML;\n\n /**\n * Indicates if working table has column elements\n * @type {Boolean}\n * @private\n */\n this.tblHasColTag = tag(tf.tbl, 'col').length > 0 ? true : false;\n\n /**\n * Main container element\n * @private\n */\n this.tblMainCont = null;\n\n /**\n * Table container element\n * @private\n */\n this.tblCont = null;\n\n /**\n * Headers' table container element\n * @private\n */\n this.headTblCont = null;\n\n /**\n * Headers' table element\n * @private\n */\n this.headTbl = null;\n\n // filters flag at TF level\n tf.fltGrid = this.enableFilters;\n }\n\n /**\n * Generates a grid with fixed headers\n * TODO: reduce size of init by extracting single purposed methods\n */\n init() {\n let tf = this.tf;\n let tbl = tf.tbl;\n\n if (this.initialized) {\n return;\n }\n\n // Override relevant TableFilter properties\n this.setOverrides();\n\n // Assign default column widths\n this.setDefaultColWidths();\n\n // Initial table width\n let tblW = this.initialTableWidth();\n\n //Main container: it will contain all the elements\n this.tblMainCont = this.createContainer(\n 'div', this.mainContCssClass);\n if (this.width) {\n this.tblMainCont.style.width = this.width;\n }\n tbl.parentNode.insertBefore(this.tblMainCont, tbl);\n\n //Table container: div wrapping content table\n this.tblCont = this.createContainer('div', this.contCssClass);\n this.setConfigWidth(this.tblCont);\n if (this.height) {\n this.tblCont.style.height = this.height;\n }\n tbl.parentNode.insertBefore(this.tblCont, tbl);\n let t = removeElm(tbl);\n this.tblCont.appendChild(t);\n\n //In case table width is expressed in %\n if (tbl.style.width === '') {\n tbl.style.width = (contains('%', tblW) ?\n tbl.clientWidth : tblW) + 'px';\n }\n\n let d = removeElm(this.tblCont);\n this.tblMainCont.appendChild(d);\n\n //Headers table container: div wrapping headers table\n this.headTblCont = this.createContainer(\n 'div', this.headContCssClass);\n this.setConfigWidth(this.headTblCont);\n\n //Headers table\n this.headTbl = createElm('table');\n let tH = createElm('tHead');\n\n //1st row should be headers row, ids are added if not set\n //Those ids are used by the sort feature\n let hRow = tbl.rows[this.headRowIndex];\n let sortTriggers = this.getSortTriggerIds(hRow);\n\n //Filters row is created\n let filtersRow = this.createFiltersRow();\n\n //Headers row are moved from content table to headers table\n this.setHeadersRow(tH);\n\n this.headTbl.appendChild(tH);\n if (tf.filtersRowIndex === 0) {\n tH.insertBefore(filtersRow, hRow);\n } else {\n tH.appendChild(filtersRow);\n }\n\n this.headTblCont.appendChild(this.headTbl);\n this.tblCont.parentNode.insertBefore(this.headTblCont, this.tblCont);\n\n //THead needs to be removed in content table for sort feature\n let thead = tag(tbl, 'thead');\n if (thead.length > 0) {\n tbl.removeChild(thead[0]);\n }\n\n //Headers table style\n this.headTbl.style.tableLayout = 'fixed';\n tbl.style.tableLayout = 'fixed';\n this.headTbl.cellPadding = tbl.cellPadding;\n this.headTbl.cellSpacing = tbl.cellSpacing;\n // this.headTbl.style.width = tbl.style.width;\n\n //content table without headers needs col widths to be reset\n tf.setColWidths(this.headTbl);\n\n //Headers container width\n // this.headTblCont.style.width = this.tblCont.clientWidth+'px';\n\n tbl.style.width = '';\n //\n this.headTbl.style.width = tbl.clientWidth + 'px';\n //\n\n //scroll synchronisation\n addEvt(this.tblCont, 'scroll', (evt) => {\n let elm = targetEvt(evt);\n let scrollLeft = elm.scrollLeft;\n this.headTblCont.scrollLeft = scrollLeft;\n //New pointerX calc taking into account scrollLeft\n // if(!o.isPointerXOverwritten){\n // try{\n // o.Evt.pointerX = function(evt){\n // let e = evt || global.event;\n // let bdScrollLeft = tf_StandardBody().scrollLeft +\n // scrollLeft;\n // return (e.pageX + scrollLeft) ||\n // (e.clientX + bdScrollLeft);\n // };\n // o.isPointerXOverwritten = true;\n // } catch(err) {\n // o.isPointerXOverwritten = false;\n // }\n // }\n });\n\n // TODO: Trigger a custom event handled by sort extension\n let sort = tf.extension('sort');\n if (sort) {\n sort.asyncSort = true;\n sort.triggerIds = sortTriggers;\n }\n\n //Col elements are enough to keep column widths after sorting and\n //filtering\n this.setColumnElements();\n\n if (tf.popupFilters) {\n filtersRow.style.display = NONE;\n }\n\n if (tbl.clientWidth !== this.headTbl.clientWidth) {\n tbl.style.width = this.headTbl.clientWidth + 'px';\n }\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Overrides TableFilter instance properties to adjust to grid layout mode\n * @private\n */\n setOverrides() {\n let tf = this.tf;\n tf.refRow = 0;\n tf.headersRow = 0;\n tf.filtersRowIndex = 1;\n tf.isExternalFlt = true;\n }\n\n /**\n * Set grid-layout default column widths if column widths are not defined\n * @private\n */\n setDefaultColWidths() {\n let tf = this.tf;\n if (tf.hasColWidths) {\n return;\n }\n for (let k = 0, len = tf.getCellsNb(); k < len; k++) {\n let colW;\n let cell = tf.tbl.rows[tf.getHeadersRowIndex()].cells[k];\n if (cell.width !== '') {\n colW = cell.width;\n } else if (cell.style.width !== '') {\n colW = parseInt(cell.style.width, 10);\n } else {\n colW = this.defaultColWidth;\n }\n tf.colWidths[k] = colW;\n }\n tf.hasColWidths = true;\n tf.setColWidths();\n }\n\n /**\n * Initial table width\n * @returns {Number}\n * @private\n */\n initialTableWidth() {\n let tbl = this.tf.tbl;\n let width; //initial table width\n\n if (tbl.width !== '') {\n width = tbl.width;\n }\n else if (tbl.style.width !== '') {\n width = tbl.style.width;\n } else {\n width = tbl.clientWidth;\n }\n return parseInt(width, 10);\n }\n\n /**\n * Creates container element\n * @param {String} tag Tag name\n * @param {String} className Css class to assign to element\n * @returns {DOMElement}\n * @private\n */\n createContainer(tag, className) {\n let element = createElm(tag);\n element.className = className;\n return element;\n }\n\n /**\n * Creates filters row with cells\n * @returns {HTMLTableRowElement}\n * @private\n */\n createFiltersRow() {\n let tf = this.tf;\n let filtersRow = createElm('tr');\n if (this.enableFilters && tf.fltGrid) {\n tf.externalFltTgtIds = [];\n for (let j = 0; j < tf.getCellsNb(); j++) {\n let fltTdId = `${tf.prfxFlt + j + this.prfxGridFltTd + tf.id}`;\n let cl = createElm(tf.fltCellTag, ['id', fltTdId]);\n filtersRow.appendChild(cl);\n tf.externalFltTgtIds[j] = fltTdId;\n }\n }\n return filtersRow;\n }\n\n /**\n * Generates column elements if necessary and assigns their widths\n * @private\n */\n setColumnElements() {\n let tf = this.tf;\n let cols = tag(tf.tbl, 'col');\n this.tblHasColTag = cols.length > 0;\n\n for (let k = (tf.nbCells - 1); k >= 0; k--) {\n let col;\n\n if (!this.tblHasColTag) {\n col = createElm('col');\n tf.tbl.insertBefore(col, tf.tbl.firstChild);\n } else {\n col = cols[k];\n }\n col.style.width = tf.colWidths[k];\n this.colElms[k] = col;\n }\n this.tblHasColTag = true;\n }\n\n /**\n * Sets headers row in headers table\n * @param {HTMLHeadElement} tableHead Table head element\n * @private\n */\n setHeadersRow(tableHead) {\n if (this.noHeaders) {\n // Handle table with no headers, assuming here headers do not\n // exist\n tableHead.appendChild(createElm('tr'));\n } else {\n // Headers row are moved from content table to headers table\n for (let i = 0; i < this.headRows.length; i++) {\n let row = this.tf.tbl.rows[this.headRows[i]];\n tableHead.appendChild(row);\n }\n }\n }\n\n /**\n * Sets width defined in configuration to passed element\n * @param {DOMElement} element DOM element\n * @private\n */\n setConfigWidth(element) {\n if (!this.width) {\n return;\n }\n if (this.width.indexOf('%') !== -1) {\n element.style.width = '100%';\n } else {\n element.style.width = this.width;\n }\n }\n\n /**\n * Returns a list of header IDs used for specifing external sort triggers\n * @param {HTMLTableRowElement} row DOM row element\n * @returns {Array} List of IDs\n * @private\n */\n getSortTriggerIds(row) {\n let tf = this.tf;\n let sortTriggers = [];\n for (let n = 0; n < tf.getCellsNb(); n++) {\n let c = row.cells[n];\n let thId = c.getAttribute('id');\n if (!thId || thId === '') {\n thId = `${this.prfxGridTh + n}_${tf.id}`;\n c.setAttribute('id', thId);\n }\n sortTriggers.push(thId);\n }\n return sortTriggers;\n }\n\n /**\n * Removes the grid layout\n */\n destroy() {\n let tf = this.tf;\n let tbl = tf.tbl;\n\n if (!this.initialized) {\n return;\n }\n let t = removeElm(tbl);\n this.tblMainCont.parentNode.insertBefore(t, this.tblMainCont);\n removeElm(this.tblMainCont);\n\n this.tblMainCont = null;\n this.headTblCont = null;\n this.headTbl = null;\n this.tblCont = null;\n\n tbl.outerHTML = this.sourceTblHtml;\n //needed to keep reference of table element for future usage\n this.tf.tbl = elm(tf.id);\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 353, + "__docId__": 357, "kind": "class", "static": true, "variation": null, @@ -7842,7 +7916,7 @@ ] }, { - "__docId__": 354, + "__docId__": 358, "kind": "constructor", "static": false, "variation": null, @@ -7867,7 +7941,7 @@ "generator": false }, { - "__docId__": 355, + "__docId__": 359, "kind": "member", "static": false, "variation": null, @@ -7887,7 +7961,7 @@ } }, { - "__docId__": 356, + "__docId__": 360, "kind": "member", "static": false, "variation": null, @@ -7907,7 +7981,7 @@ } }, { - "__docId__": 357, + "__docId__": 361, "kind": "member", "static": false, "variation": null, @@ -7927,7 +8001,7 @@ } }, { - "__docId__": 358, + "__docId__": 362, "kind": "member", "static": false, "variation": null, @@ -7947,7 +8021,7 @@ } }, { - "__docId__": 359, + "__docId__": 363, "kind": "member", "static": false, "variation": null, @@ -7967,7 +8041,7 @@ } }, { - "__docId__": 360, + "__docId__": 364, "kind": "member", "static": false, "variation": null, @@ -7987,7 +8061,7 @@ } }, { - "__docId__": 361, + "__docId__": 365, "kind": "member", "static": false, "variation": null, @@ -8007,7 +8081,7 @@ } }, { - "__docId__": 362, + "__docId__": 366, "kind": "member", "static": false, "variation": null, @@ -8027,7 +8101,7 @@ } }, { - "__docId__": 363, + "__docId__": 367, "kind": "member", "static": false, "variation": null, @@ -8047,7 +8121,7 @@ } }, { - "__docId__": 364, + "__docId__": 368, "kind": "member", "static": false, "variation": null, @@ -8067,7 +8141,7 @@ } }, { - "__docId__": 365, + "__docId__": 369, "kind": "member", "static": false, "variation": null, @@ -8087,7 +8161,7 @@ } }, { - "__docId__": 366, + "__docId__": 370, "kind": "member", "static": false, "variation": null, @@ -8107,7 +8181,7 @@ } }, { - "__docId__": 367, + "__docId__": 371, "kind": "member", "static": false, "variation": null, @@ -8127,7 +8201,7 @@ } }, { - "__docId__": 368, + "__docId__": 372, "kind": "member", "static": false, "variation": null, @@ -8147,7 +8221,7 @@ } }, { - "__docId__": 369, + "__docId__": 373, "kind": "member", "static": false, "variation": null, @@ -8167,7 +8241,7 @@ } }, { - "__docId__": 370, + "__docId__": 374, "kind": "member", "static": false, "variation": null, @@ -8187,7 +8261,7 @@ } }, { - "__docId__": 371, + "__docId__": 375, "kind": "member", "static": false, "variation": null, @@ -8204,7 +8278,7 @@ } }, { - "__docId__": 372, + "__docId__": 376, "kind": "member", "static": false, "variation": null, @@ -8221,7 +8295,7 @@ } }, { - "__docId__": 373, + "__docId__": 377, "kind": "member", "static": false, "variation": null, @@ -8238,7 +8312,7 @@ } }, { - "__docId__": 374, + "__docId__": 378, "kind": "member", "static": false, "variation": null, @@ -8255,7 +8329,7 @@ } }, { - "__docId__": 375, + "__docId__": 379, "kind": "method", "static": false, "variation": null, @@ -8269,7 +8343,7 @@ "generator": false }, { - "__docId__": 376, + "__docId__": 380, "kind": "member", "static": false, "variation": null, @@ -8287,7 +8361,7 @@ } }, { - "__docId__": 377, + "__docId__": 381, "kind": "member", "static": false, "variation": null, @@ -8305,7 +8379,7 @@ } }, { - "__docId__": 378, + "__docId__": 382, "kind": "member", "static": false, "variation": null, @@ -8323,7 +8397,7 @@ } }, { - "__docId__": 379, + "__docId__": 383, "kind": "member", "static": false, "variation": null, @@ -8341,7 +8415,7 @@ } }, { - "__docId__": 380, + "__docId__": 384, "kind": "member", "static": false, "variation": null, @@ -8364,7 +8438,7 @@ } }, { - "__docId__": 381, + "__docId__": 385, "kind": "method", "static": false, "variation": null, @@ -8378,7 +8452,7 @@ "generator": false }, { - "__docId__": 382, + "__docId__": 386, "kind": "method", "static": false, "variation": null, @@ -8392,7 +8466,7 @@ "generator": false }, { - "__docId__": 383, + "__docId__": 387, "kind": "method", "static": false, "variation": null, @@ -8420,7 +8494,7 @@ "generator": false }, { - "__docId__": 384, + "__docId__": 388, "kind": "method", "static": false, "variation": null, @@ -8469,7 +8543,7 @@ "generator": false }, { - "__docId__": 385, + "__docId__": 389, "kind": "method", "static": false, "variation": null, @@ -8497,7 +8571,7 @@ "generator": false }, { - "__docId__": 386, + "__docId__": 390, "kind": "method", "static": false, "variation": null, @@ -8511,7 +8585,7 @@ "generator": false }, { - "__docId__": 387, + "__docId__": 391, "kind": "member", "static": false, "variation": null, @@ -8529,7 +8603,7 @@ } }, { - "__docId__": 388, + "__docId__": 392, "kind": "member", "static": false, "variation": null, @@ -8547,7 +8621,7 @@ } }, { - "__docId__": 389, + "__docId__": 393, "kind": "method", "static": false, "variation": null, @@ -8572,7 +8646,7 @@ "generator": false }, { - "__docId__": 390, + "__docId__": 394, "kind": "method", "static": false, "variation": null, @@ -8597,7 +8671,7 @@ "generator": false }, { - "__docId__": 391, + "__docId__": 395, "kind": "method", "static": false, "variation": null, @@ -8636,7 +8710,7 @@ "generator": false }, { - "__docId__": 392, + "__docId__": 396, "kind": "method", "static": false, "variation": null, @@ -8650,7 +8724,7 @@ "generator": false }, { - "__docId__": 393, + "__docId__": 397, "kind": "member", "static": false, "variation": null, @@ -8668,7 +8742,7 @@ } }, { - "__docId__": 394, + "__docId__": 398, "kind": "member", "static": false, "variation": null, @@ -8686,7 +8760,7 @@ } }, { - "__docId__": 395, + "__docId__": 399, "kind": "member", "static": false, "variation": null, @@ -8704,7 +8778,7 @@ } }, { - "__docId__": 396, + "__docId__": 400, "kind": "member", "static": false, "variation": null, @@ -8722,7 +8796,7 @@ } }, { - "__docId__": 397, + "__docId__": 401, "kind": "member", "static": false, "variation": null, @@ -8740,7 +8814,7 @@ } }, { - "__docId__": 398, + "__docId__": 402, "kind": "file", "static": true, "variation": null, @@ -8753,7 +8827,7 @@ "content": "import {addEvt, removeEvt} from '../event';\nimport {root} from '../root';\n\nconst JSON = root.JSON;\nconst location = root.location;\nconst decodeURIComponent = root.decodeURIComponent;\nconst encodeURIComponent = root.encodeURIComponent;\n\n/**\n * Checks if browser has onhashchange event\n */\nexport const hasHashChange = () => {\n let docMode = root.documentMode;\n return ('onhashchange' in root) && (docMode === undefined || docMode > 7);\n};\n\n/**\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n */\nexport class Hash {\n\n /**\n * Creates an instance of Hash\n *\n * @param {State} state Instance of State\n */\n constructor(state) {\n /**\n * State object\n * @type {State}\n */\n this.state = state;\n\n /**\n * Cached URL hash\n * @type {String} Hash string\n * @private\n */\n this.lastHash = null;\n\n /**\n * Application event emitter instance\n * @type {Emitter}\n */\n this.emitter = state.emitter;\n\n /**\n * Bound sync wrapper for future use\n * @private\n */\n this.boundSync = null;\n }\n\n /**\n * Initializes the Hash object\n */\n init() {\n if (!hasHashChange()) {\n return;\n }\n\n this.lastHash = location.hash;\n //Store a bound sync wrapper\n this.boundSync = this.sync.bind(this);\n this.emitter.on(['state-changed'], (tf, state) => this.update(state));\n this.emitter.on(['initialized'], this.boundSync);\n addEvt(root, 'hashchange', this.boundSync);\n }\n\n /**\n * Updates the URL hash based on a state change\n *\n * @param {State} state Instance of State\n */\n update(state) {\n let hash = `#${encodeURIComponent(JSON.stringify(state))}`;\n if (this.lastHash === hash) {\n return;\n }\n\n location.hash = hash;\n this.lastHash = hash;\n }\n\n /**\n * Converts a URL hash into a state JSON object\n *\n * @param {String} hash URL hash fragment\n * @returns {Object} JSON object\n */\n parse(hash) {\n if (hash.indexOf('#') === -1) {\n return null;\n }\n hash = hash.substr(1);\n return JSON.parse(decodeURIComponent(hash));\n }\n\n /**\n * Applies current hash state to features\n */\n sync() {\n let state = this.parse(location.hash);\n if (!state) {\n return;\n }\n // override current state with persisted one and sync features\n this.state.overrideAndSync(state);\n }\n\n /**\n * Release Hash event subscriptions and clear fields\n */\n destroy() {\n this.emitter.off(['state-changed'], (tf, state) => this.update(state));\n this.emitter.off(['initialized'], this.boundSync);\n removeEvt(root, 'hashchange', this.boundSync);\n\n this.state = null;\n this.lastHash = null;\n this.emitter = null;\n }\n}\n" }, { - "__docId__": 399, + "__docId__": 403, "kind": "variable", "static": true, "variation": null, @@ -8774,7 +8848,7 @@ } }, { - "__docId__": 400, + "__docId__": 404, "kind": "variable", "static": true, "variation": null, @@ -8795,7 +8869,7 @@ } }, { - "__docId__": 401, + "__docId__": 405, "kind": "variable", "static": true, "variation": null, @@ -8816,7 +8890,7 @@ } }, { - "__docId__": 402, + "__docId__": 406, "kind": "variable", "static": true, "variation": null, @@ -8837,7 +8911,7 @@ } }, { - "__docId__": 403, + "__docId__": 407, "kind": "variable", "static": true, "variation": null, @@ -8857,7 +8931,7 @@ } }, { - "__docId__": 404, + "__docId__": 408, "kind": "class", "static": true, "variation": null, @@ -8883,7 +8957,7 @@ "interface": false }, { - "__docId__": 405, + "__docId__": 409, "kind": "constructor", "static": false, "variation": null, @@ -8908,7 +8982,7 @@ "generator": false }, { - "__docId__": 406, + "__docId__": 410, "kind": "member", "static": false, "variation": null, @@ -8928,7 +9002,7 @@ } }, { - "__docId__": 407, + "__docId__": 411, "kind": "member", "static": false, "variation": null, @@ -8948,7 +9022,7 @@ } }, { - "__docId__": 408, + "__docId__": 412, "kind": "member", "static": false, "variation": null, @@ -8968,7 +9042,7 @@ } }, { - "__docId__": 409, + "__docId__": 413, "kind": "member", "static": false, "variation": null, @@ -8985,7 +9059,7 @@ } }, { - "__docId__": 410, + "__docId__": 414, "kind": "method", "static": false, "variation": null, @@ -8999,7 +9073,7 @@ "generator": false }, { - "__docId__": 411, + "__docId__": 415, "kind": "member", "static": false, "variation": null, @@ -9017,7 +9091,7 @@ } }, { - "__docId__": 412, + "__docId__": 416, "kind": "member", "static": false, "variation": null, @@ -9035,7 +9109,7 @@ } }, { - "__docId__": 413, + "__docId__": 417, "kind": "method", "static": false, "variation": null, @@ -9060,7 +9134,7 @@ "generator": false }, { - "__docId__": 414, + "__docId__": 418, "kind": "member", "static": false, "variation": null, @@ -9078,7 +9152,7 @@ } }, { - "__docId__": 415, + "__docId__": 419, "kind": "method", "static": false, "variation": null, @@ -9117,7 +9191,7 @@ "generator": false }, { - "__docId__": 416, + "__docId__": 420, "kind": "method", "static": false, "variation": null, @@ -9131,7 +9205,7 @@ "generator": false }, { - "__docId__": 417, + "__docId__": 421, "kind": "method", "static": false, "variation": null, @@ -9145,7 +9219,7 @@ "generator": false }, { - "__docId__": 418, + "__docId__": 422, "kind": "member", "static": false, "variation": null, @@ -9163,7 +9237,7 @@ } }, { - "__docId__": 419, + "__docId__": 423, "kind": "member", "static": false, "variation": null, @@ -9181,7 +9255,7 @@ } }, { - "__docId__": 420, + "__docId__": 424, "kind": "member", "static": false, "variation": null, @@ -9199,7 +9273,7 @@ } }, { - "__docId__": 421, + "__docId__": 425, "kind": "file", "static": true, "variation": null, @@ -9212,7 +9286,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {addEvt, targetEvt, removeEvt} from '../event';\nimport {NONE} from '../const';\nimport {root} from '../root';\n\nconst WIKI_URL = 'https://github.com/koalyptus/TableFilter/wiki/' +\n '4.-Filter-operators';\nconst WEBSITE_URL = 'http://koalyptus.github.io/TableFilter/';\n\n/**\n * Help UI component\n */\nexport class Help extends Feature {\n\n /**\n * Creates an instance of Help\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'help');\n\n let f = this.config;\n\n /**\n * ID of main custom container element\n * @type {String}\n */\n this.tgtId = f.help_instructions_target_id || null;\n\n /**\n * ID of custom container element for instructions\n * @type {String}\n */\n this.contTgtId = f.help_instructions_container_target_id ||\n null;\n\n /**\n * Instructions text (accepts HTML)\n * @type {String}\n */\n this.instrText = f.help_instructions_text ?\n f.help_instructions_text :\n 'Use the filters above each column to filter and limit table ' +\n 'data. Advanced searches can be performed by using the following ' +\n 'operators:
<, <=, >, ' +\n '>=, =, *, !, {, }, ' +\n '||,&&, [empty], [nonempty], ' +\n 'rgx:
' +\n 'Learn more
';\n\n /**\n * Instructions HTML\n * @type {String}\n */\n this.instrHtml = f.help_instructions_html || null;\n\n /**\n * Help button text ('?')\n * @type {String}\n */\n this.btnText = f.help_instructions_btn_text || '?';\n\n /**\n * Custom help button HTML\n * @type {String}\n */\n this.btnHtml = f.help_instructions_btn_html || null;\n\n /**\n * Css class for help button\n * @type {String}\n */\n this.btnCssClass = f.help_instructions_btn_css_class || 'helpBtn';\n\n /**\n * Css class for help container element\n * @type {String}\n */\n this.contCssClass = f.help_instructions_container_css_class ||\n 'helpCont';\n\n /**\n * Button DOM element\n * @type {DOMElement}\n */\n this.btn = null;\n\n /**\n * Help container DOM element\n * @type {DOMElement}\n */\n this.cont = null;\n\n /**\n * Bound mouseup wrapper\n * @private\n */\n this.boundMouseup = null;\n\n /**\n * Default HTML appended to instructions text\n * @type {String}\n */\n this.defaultHtml = '

TableFilter ' +\n 'v' + tf.version + '

' + '' + WEBSITE_URL + '' +\n '
©2015-' + tf.year + ' {AUTHOR}' +\n '
' +\n 'Close
';\n\n this.emitter.on(['init-help'], () => this.init());\n }\n\n /**\n * Mouse-up event handler handling popup auto-close behaviour\n * @private\n */\n onMouseup(evt) {\n let targetElm = targetEvt(evt);\n\n while (targetElm && targetElm !== this.cont && targetElm !== this.btn) {\n targetElm = targetElm.parentNode;\n }\n\n if (targetElm !== this.cont && targetElm !== this.btn) {\n this.toggle();\n }\n\n return;\n }\n\n /**\n * Initialise Help instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n\n let btn = createElm('span');\n let cont = createElm('div');\n\n this.boundMouseup = this.onMouseup.bind(this);\n\n //help button is added to defined element\n if (!this.tgtId) {\n tf.setToolbar();\n }\n let targetEl = !this.tgtId ? tf.rDiv : elm(this.tgtId);\n targetEl.appendChild(btn);\n\n let divContainer = !this.contTgtId ? btn : elm(this.contTgtId);\n\n if (!this.btnHtml) {\n divContainer.appendChild(cont);\n let helplink = createElm('a', ['href', 'javascript:void(0);']);\n helplink.className = this.btnCssClass;\n helplink.appendChild(createText(this.btnText));\n btn.appendChild(helplink);\n addEvt(helplink, 'click', () => this.toggle());\n } else {\n btn.innerHTML = this.btnHtml;\n let helpEl = btn.firstChild;\n addEvt(helpEl, 'click', () => this.toggle());\n divContainer.appendChild(cont);\n }\n\n if (!this.instrHtml) {\n cont.innerHTML = this.instrText;\n cont.className = this.contCssClass;\n } else {\n if (this.contTgtId) {\n divContainer.appendChild(cont);\n }\n cont.innerHTML = this.instrHtml;\n if (!this.contTgtId) {\n cont.className = this.contCssClass;\n }\n }\n cont.innerHTML += this.defaultHtml;\n addEvt(cont, 'click', () => this.toggle());\n\n this.cont = cont;\n this.btn = btn;\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Toggle help pop-up\n */\n toggle() {\n // check only if explicitily set to false as in this case undefined\n // signifies the help feature is enabled by default\n if (this.enabled === false) {\n return;\n }\n\n // ensure mouseup event handler is removed\n removeEvt(root, 'mouseup', this.boundMouseup);\n\n let divDisplay = this.cont.style.display;\n if (divDisplay === '' || divDisplay === NONE) {\n this.cont.style.display = 'inline';\n addEvt(root, 'mouseup', this.boundMouseup);\n } else {\n this.cont.style.display = NONE;\n }\n }\n\n /**\n * Remove help UI\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n removeElm(this.btn);\n this.btn = null;\n\n removeElm(this.cont);\n this.cont = null;\n\n this.boundMouseup = null;\n\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 422, + "__docId__": 426, "kind": "variable", "static": true, "variation": null, @@ -9233,7 +9307,7 @@ } }, { - "__docId__": 423, + "__docId__": 427, "kind": "variable", "static": true, "variation": null, @@ -9254,7 +9328,7 @@ } }, { - "__docId__": 424, + "__docId__": 428, "kind": "class", "static": true, "variation": null, @@ -9273,7 +9347,7 @@ ] }, { - "__docId__": 425, + "__docId__": 429, "kind": "constructor", "static": false, "variation": null, @@ -9298,7 +9372,7 @@ "generator": false }, { - "__docId__": 426, + "__docId__": 430, "kind": "member", "static": false, "variation": null, @@ -9318,7 +9392,7 @@ } }, { - "__docId__": 427, + "__docId__": 431, "kind": "member", "static": false, "variation": null, @@ -9338,7 +9412,7 @@ } }, { - "__docId__": 428, + "__docId__": 432, "kind": "member", "static": false, "variation": null, @@ -9358,7 +9432,7 @@ } }, { - "__docId__": 429, + "__docId__": 433, "kind": "member", "static": false, "variation": null, @@ -9378,7 +9452,7 @@ } }, { - "__docId__": 430, + "__docId__": 434, "kind": "member", "static": false, "variation": null, @@ -9398,7 +9472,7 @@ } }, { - "__docId__": 431, + "__docId__": 435, "kind": "member", "static": false, "variation": null, @@ -9418,7 +9492,7 @@ } }, { - "__docId__": 432, + "__docId__": 436, "kind": "member", "static": false, "variation": null, @@ -9438,7 +9512,7 @@ } }, { - "__docId__": 433, + "__docId__": 437, "kind": "member", "static": false, "variation": null, @@ -9458,7 +9532,7 @@ } }, { - "__docId__": 434, + "__docId__": 438, "kind": "member", "static": false, "variation": null, @@ -9478,7 +9552,7 @@ } }, { - "__docId__": 435, + "__docId__": 439, "kind": "member", "static": false, "variation": null, @@ -9498,7 +9572,7 @@ } }, { - "__docId__": 436, + "__docId__": 440, "kind": "member", "static": false, "variation": null, @@ -9515,7 +9589,7 @@ } }, { - "__docId__": 437, + "__docId__": 441, "kind": "member", "static": false, "variation": null, @@ -9535,7 +9609,7 @@ } }, { - "__docId__": 438, + "__docId__": 442, "kind": "method", "static": false, "variation": null, @@ -9556,7 +9630,7 @@ "generator": false }, { - "__docId__": 439, + "__docId__": 443, "kind": "method", "static": false, "variation": null, @@ -9570,7 +9644,7 @@ "generator": false }, { - "__docId__": 440, + "__docId__": 444, "kind": "member", "static": false, "variation": null, @@ -9588,7 +9662,7 @@ } }, { - "__docId__": 441, + "__docId__": 445, "kind": "member", "static": false, "variation": null, @@ -9606,7 +9680,7 @@ } }, { - "__docId__": 442, + "__docId__": 446, "kind": "member", "static": false, "variation": null, @@ -9624,7 +9698,7 @@ } }, { - "__docId__": 443, + "__docId__": 447, "kind": "member", "static": false, "variation": null, @@ -9647,7 +9721,7 @@ } }, { - "__docId__": 444, + "__docId__": 448, "kind": "method", "static": false, "variation": null, @@ -9661,7 +9735,7 @@ "generator": false }, { - "__docId__": 445, + "__docId__": 449, "kind": "method", "static": false, "variation": null, @@ -9675,7 +9749,7 @@ "generator": false }, { - "__docId__": 446, + "__docId__": 450, "kind": "member", "static": false, "variation": null, @@ -9693,7 +9767,7 @@ } }, { - "__docId__": 447, + "__docId__": 451, "kind": "member", "static": false, "variation": null, @@ -9711,7 +9785,7 @@ } }, { - "__docId__": 448, + "__docId__": 452, "kind": "member", "static": false, "variation": null, @@ -9729,7 +9803,7 @@ } }, { - "__docId__": 449, + "__docId__": 453, "kind": "member", "static": false, "variation": null, @@ -9747,7 +9821,7 @@ } }, { - "__docId__": 450, + "__docId__": 454, "kind": "file", "static": true, "variation": null, @@ -9760,7 +9834,7 @@ "content": "import {createText, createElm, getText} from '../dom';\nimport {isArray} from '../types';\nimport {rgxEsc} from '../string';\n\n/**\n * Highlight matched keywords upon filtering\n *\n * @export\n * @class HighlightKeyword\n */\nexport class HighlightKeyword {\n\n /**\n * Creates an instance of HighlightKeyword\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n let f = tf.config();\n\n /**\n * Css class for highlighted term\n * @type {String}\n */\n this.highlightCssClass = f.highlight_css_class || 'keyword';\n\n /**\n * TableFilter instance\n * @type {TableFilter}\n */\n this.tf = tf;\n\n /**\n * TableFilter's emitter instance\n * @type {Emitter}\n */\n this.emitter = tf.emitter;\n }\n\n /**\n * Initializes HighlightKeyword instance\n */\n init() {\n this.emitter.on(\n ['before-filtering', 'destroy'],\n () => this.unhighlightAll()\n );\n this.emitter.on(\n ['highlight-keyword'],\n (tf, cell, term) => this._processTerm(cell, term)\n );\n }\n\n /**\n * Highlight occurences of searched term in passed node\n * @param {Node} node\n * @param {String} term Searched term\n * @param {String} cssClass Css class name\n *\n * TODO: refactor this method\n */\n highlight(node, term, cssClass) {\n // Iterate into this nodes childNodes\n if (node.hasChildNodes) {\n let children = node.childNodes;\n for (let i = 0; i < children.length; i++) {\n this.highlight(children[i], term, cssClass);\n }\n }\n\n if (node.nodeType === 3) {\n let nodeVal = node.nodeValue.toLowerCase();\n let termIdx = nodeVal.indexOf(term.toLowerCase());\n\n if (termIdx !== -1) {\n let pn = node.parentNode;\n if (pn && pn.className !== cssClass) {\n // term not highlighted yet\n let nv = node.nodeValue,\n // Create a load of replacement nodes\n before = createText(nv.substr(0, termIdx)),\n value = nv.substr(termIdx, term.length),\n after = createText(nv.substr(termIdx + term.length)),\n text = createText(value),\n container = createElm('span');\n container.className = cssClass;\n container.appendChild(text);\n pn.insertBefore(before, node);\n pn.insertBefore(container, node);\n pn.insertBefore(after, node);\n pn.removeChild(node);\n }\n }\n }\n }\n\n /**\n * Removes highlight to nodes matching passed string\n * @param {String} term\n * @param {String} cssClass Css class to remove\n */\n unhighlight(term, cssClass) {\n let highlightedNodes = this.tf.tbl.querySelectorAll(`.${cssClass}`);\n for (let i = 0; i < highlightedNodes.length; i++) {\n let n = highlightedNodes[i];\n let nodeVal = getText(n);\n\n if (nodeVal.toLowerCase().indexOf(term.toLowerCase()) !== -1) {\n let parentNode = n.parentNode;\n parentNode.replaceChild(createText(nodeVal), n);\n parentNode.normalize();\n }\n }\n }\n\n /**\n * Clear all occurrences of highlighted nodes\n */\n unhighlightAll() {\n if (!this.tf.highlightKeywords) {\n return;\n }\n // iterate filters values to unhighlight all values\n this.tf.getFiltersValue().forEach((val) => {\n if (isArray(val)) {\n val.forEach((item) =>\n this.unhighlight(item, this.highlightCssClass));\n } else {\n this.unhighlight(val, this.highlightCssClass);\n }\n });\n }\n\n /** Remove feature */\n destroy() {\n this.emitter.off(\n ['before-filtering', 'destroy'],\n () => this.unhighlightAll()\n );\n this.emitter.off(\n ['highlight-keyword'],\n (tf, cell, term) => this._processTerm(cell, term)\n );\n }\n\n /**\n * Ensure filtering operators are handled before highlighting any match\n * @param {any} Table cell to look searched term into\n * @param {any} Searched termIdx\n */\n _processTerm(cell, term) {\n let tf = this.tf;\n let reLk = new RegExp(rgxEsc(tf.lkOperator));\n let reEq = new RegExp(tf.eqOperator);\n let reSt = new RegExp(tf.stOperator);\n let reEn = new RegExp(tf.enOperator);\n let reLe = new RegExp(tf.leOperator);\n let reGe = new RegExp(tf.geOperator);\n let reL = new RegExp(tf.lwOperator);\n let reG = new RegExp(tf.grOperator);\n let reD = new RegExp(tf.dfOperator);\n\n term = term\n .replace(reLk, '')\n .replace(reEq, '')\n .replace(reSt, '')\n .replace(reEn, '');\n\n if (reLe.test(term) || reGe.test(term) || reL.test(term) ||\n reG.test(term) || reD.test(term)) {\n term = getText(cell);\n }\n\n if (term === '') {\n return;\n }\n\n this.highlight(cell, term, this.highlightCssClass);\n }\n}\n" }, { - "__docId__": 451, + "__docId__": 455, "kind": "class", "static": true, "variation": null, @@ -9786,7 +9860,7 @@ "interface": false }, { - "__docId__": 452, + "__docId__": 456, "kind": "constructor", "static": false, "variation": null, @@ -9811,7 +9885,7 @@ "generator": false }, { - "__docId__": 453, + "__docId__": 457, "kind": "member", "static": false, "variation": null, @@ -9831,7 +9905,7 @@ } }, { - "__docId__": 454, + "__docId__": 458, "kind": "member", "static": false, "variation": null, @@ -9851,7 +9925,7 @@ } }, { - "__docId__": 455, + "__docId__": 459, "kind": "member", "static": false, "variation": null, @@ -9871,7 +9945,7 @@ } }, { - "__docId__": 456, + "__docId__": 460, "kind": "method", "static": false, "variation": null, @@ -9885,7 +9959,7 @@ "generator": false }, { - "__docId__": 457, + "__docId__": 461, "kind": "method", "static": false, "variation": null, @@ -9930,7 +10004,7 @@ "generator": false }, { - "__docId__": 458, + "__docId__": 462, "kind": "method", "static": false, "variation": null, @@ -9965,7 +10039,7 @@ "generator": false }, { - "__docId__": 459, + "__docId__": 463, "kind": "method", "static": false, "variation": null, @@ -9979,7 +10053,7 @@ "generator": false }, { - "__docId__": 460, + "__docId__": 464, "kind": "method", "static": false, "variation": null, @@ -9993,7 +10067,7 @@ "generator": false }, { - "__docId__": 461, + "__docId__": 465, "kind": "method", "static": false, "variation": null, @@ -10028,7 +10102,7 @@ "generator": false }, { - "__docId__": 462, + "__docId__": 466, "kind": "file", "static": true, "variation": null, @@ -10041,7 +10115,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn, EMPTY_FN} from '../types';\nimport {root} from '../root';\nimport {NONE} from '../const';\n\nconst EVENTS = [\n 'before-filtering',\n 'before-populating-filter',\n 'before-page-change',\n 'before-clearing-filters',\n 'before-page-length-change',\n 'before-reset-page',\n 'before-reset-page-length',\n 'before-loading-extensions',\n 'before-loading-themes'\n];\n\n/**\n * Activity indicator\n *\n * @export\n * @class Loader\n * @extends {Feature}\n */\nexport class Loader extends Feature {\n\n /**\n * Creates an instance of Loader.\n *\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'loader');\n\n let f = this.config;\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.targetId = f.loader_target_id || null;\n\n /**\n * Loader container DOM element\n * @type {DOMElement}\n */\n this.cont = null;\n\n /**\n * Text displayed when indicator is visible\n * @type {String}\n */\n this.text = f.loader_text || 'Loading...';\n\n /**\n * Custom HTML injected in Loader's container element\n * @type {String}\n */\n this.html = f.loader_html || null;\n\n /**\n * Css class for Loader's container element\n * @type {String}\n */\n this.cssClass = f.loader_css_class || 'loader';\n\n /**\n * Close delay in milliseconds\n * @type {Number}\n */\n this.closeDelay = 250;\n\n /**\n * Callback fired when loader is displayed\n * @type {Function}\n */\n this.onShow = isFn(f.on_show_loader) ?\n f.on_show_loader : EMPTY_FN;\n\n /**\n * Callback fired when loader is closed\n * @type {Function}\n */\n this.onHide = isFn(f.on_hide_loader) ? f.on_hide_loader : EMPTY_FN;\n }\n\n /**\n * Initializes Loader instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n let emitter = this.emitter;\n\n let containerDiv = createElm('div');\n containerDiv.className = this.cssClass;\n\n let targetEl = !this.targetId ?\n tf.tbl.parentNode : elm(this.targetId);\n if (!this.targetId) {\n targetEl.insertBefore(containerDiv, tf.tbl);\n } else {\n targetEl.appendChild(containerDiv);\n }\n this.cont = containerDiv;\n if (!this.html) {\n this.cont.appendChild(createText(this.text));\n } else {\n this.cont.innerHTML = this.html;\n }\n\n this.show(NONE);\n\n // Subscribe to events\n emitter.on(EVENTS, () => this.show(''));\n emitter.on(EVENTS, () => this.show(NONE));\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Shows or hides activity indicator\n * @param {String} Two possible values: '' or 'none'\n */\n show(p) {\n if (!this.isEnabled()) {\n return;\n }\n\n let displayLoader = () => {\n if (!this.cont) {\n return;\n }\n if (p !== NONE) {\n this.onShow(this);\n }\n this.cont.style.display = p;\n if (p === NONE) {\n this.onHide(this);\n }\n };\n\n let t = p === NONE ? this.closeDelay : 1;\n root.setTimeout(displayLoader, t);\n }\n\n /**\n * Removes feature\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let emitter = this.emitter;\n\n removeElm(this.cont);\n this.cont = null;\n\n // Unsubscribe to events\n emitter.off(EVENTS, () => this.show(''));\n emitter.off(EVENTS, () => this.show(NONE));\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 463, + "__docId__": 467, "kind": "variable", "static": true, "variation": null, @@ -10062,7 +10136,7 @@ } }, { - "__docId__": 464, + "__docId__": 468, "kind": "class", "static": true, "variation": null, @@ -10091,7 +10165,7 @@ ] }, { - "__docId__": 465, + "__docId__": 469, "kind": "constructor", "static": false, "variation": null, @@ -10116,7 +10190,7 @@ "generator": false }, { - "__docId__": 466, + "__docId__": 470, "kind": "member", "static": false, "variation": null, @@ -10136,7 +10210,7 @@ } }, { - "__docId__": 467, + "__docId__": 471, "kind": "member", "static": false, "variation": null, @@ -10156,7 +10230,7 @@ } }, { - "__docId__": 468, + "__docId__": 472, "kind": "member", "static": false, "variation": null, @@ -10176,7 +10250,7 @@ } }, { - "__docId__": 469, + "__docId__": 473, "kind": "member", "static": false, "variation": null, @@ -10196,7 +10270,7 @@ } }, { - "__docId__": 470, + "__docId__": 474, "kind": "member", "static": false, "variation": null, @@ -10216,7 +10290,7 @@ } }, { - "__docId__": 471, + "__docId__": 475, "kind": "member", "static": false, "variation": null, @@ -10236,7 +10310,7 @@ } }, { - "__docId__": 472, + "__docId__": 476, "kind": "member", "static": false, "variation": null, @@ -10256,7 +10330,7 @@ } }, { - "__docId__": 473, + "__docId__": 477, "kind": "member", "static": false, "variation": null, @@ -10276,7 +10350,7 @@ } }, { - "__docId__": 474, + "__docId__": 478, "kind": "method", "static": false, "variation": null, @@ -10290,7 +10364,7 @@ "generator": false }, { - "__docId__": 475, + "__docId__": 479, "kind": "member", "static": false, "variation": null, @@ -10308,7 +10382,7 @@ } }, { - "__docId__": 476, + "__docId__": 480, "kind": "member", "static": false, "variation": null, @@ -10331,7 +10405,7 @@ } }, { - "__docId__": 477, + "__docId__": 481, "kind": "method", "static": false, "variation": null, @@ -10356,7 +10430,7 @@ "generator": false }, { - "__docId__": 478, + "__docId__": 482, "kind": "method", "static": false, "variation": null, @@ -10370,7 +10444,7 @@ "generator": false }, { - "__docId__": 479, + "__docId__": 483, "kind": "member", "static": false, "variation": null, @@ -10388,7 +10462,7 @@ } }, { - "__docId__": 480, + "__docId__": 484, "kind": "member", "static": false, "variation": null, @@ -10406,7 +10480,7 @@ } }, { - "__docId__": 481, + "__docId__": 485, "kind": "file", "static": true, "variation": null, @@ -10419,7 +10493,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, elm, removeElm} from '../dom';\nimport {isEmpty, isFn, EMPTY_FN} from '../types';\nimport {NONE} from '../const';\n\n/**\n * UI when filtering yields no matches\n * @export\n * @class NoResults\n * @extends {Feature}\n */\nexport class NoResults extends Feature {\n\n /**\n * Creates an instance of NoResults\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'noResults');\n\n //configuration object\n let f = this.config.no_results_message;\n\n /**\n * Text (accepts HTML)\n * @type {String}\n */\n this.content = f.content || 'No results';\n\n /**\n * Custom container DOM element\n * @type {DOMElement}\n */\n this.customContainer = f.custom_container || null;\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.customContainerId = f.custom_container_id || null;\n\n /**\n * Indicates if UI is contained in a external element\n * @type {Boolean}\n * @private\n */\n this.isExternal = !isEmpty(this.customContainer) ||\n !isEmpty(this.customContainerId);\n\n /**\n * Css class assigned to container element\n * @type {String}\n */\n this.cssClass = f.css_class || 'no-results';\n\n /**\n * Stores container DOM element\n * @type {DOMElement}\n */\n this.cont = null;\n\n /**\n * Callback fired before the message is displayed\n * @type {Function}\n */\n this.onBeforeShow = isFn(f.on_before_show_msg) ?\n f.on_before_show_msg : EMPTY_FN;\n\n /**\n * Callback fired after the message is displayed\n * @type {Function}\n */\n this.onAfterShow = isFn(f.on_after_show_msg) ?\n f.on_after_show_msg : EMPTY_FN;\n\n /**\n * Callback fired before the message is hidden\n * @type {Function}\n */\n this.onBeforeHide = isFn(f.on_before_hide_msg) ?\n f.on_before_hide_msg : EMPTY_FN;\n\n /**\n * Callback fired after the message is hidden\n * @type {Function}\n */\n this.onAfterHide = isFn(f.on_after_hide_msg) ?\n f.on_after_hide_msg : EMPTY_FN;\n }\n\n /**\n * Initializes NoResults instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n let tf = this.tf;\n let target = this.customContainer || elm(this.customContainerId) ||\n tf.tbl;\n\n //container\n let cont = createElm('div');\n cont.className = this.cssClass;\n cont.innerHTML = this.content;\n\n if (this.isExternal) {\n target.appendChild(cont);\n } else {\n target.parentNode.insertBefore(cont, target.nextSibling);\n }\n\n this.cont = cont;\n\n // subscribe to after-filtering event\n this.emitter.on(['after-filtering'], () => this.toggle());\n\n /**\n * @inherited\n */\n this.initialized = true;\n\n this.hide();\n }\n\n /**\n * Toggle no results message\n */\n toggle() {\n if (this.tf.getValidRowsNb() > 0) {\n this.hide();\n } else {\n this.show();\n }\n }\n\n /**\n * Show no results message\n */\n show() {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n this.onBeforeShow(this.tf, this);\n\n this.setWidth();\n this.cont.style.display = 'block';\n\n this.onAfterShow(this.tf, this);\n }\n\n /**\n * Hide no results message\n */\n hide() {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n this.onBeforeHide(this.tf, this);\n\n this.cont.style.display = NONE;\n\n this.onAfterHide(this.tf, this);\n }\n\n /**\n * Sets no results container width\n * @private\n */\n setWidth() {\n if (!this.initialized || this.isExternal || !this.isEnabled()) {\n return;\n }\n let tf = this.tf;\n if (tf.gridLayout) {\n let gridLayout = tf.feature('gridLayout');\n this.cont.style.width = gridLayout.tblCont.clientWidth + 'px';\n } else {\n this.cont.style.width = (tf.tbl.tHead ? tf.tbl.tHead.clientWidth :\n tf.tbl.tBodies[0].clientWidth) + 'px';\n }\n }\n\n /**\n * Remove feature\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n removeElm(this.cont);\n this.cont = null;\n // unsubscribe to after-filtering event\n this.emitter.off(['after-filtering'], () => this.toggle());\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 482, + "__docId__": 486, "kind": "class", "static": true, "variation": null, @@ -10448,7 +10522,7 @@ ] }, { - "__docId__": 483, + "__docId__": 487, "kind": "constructor", "static": false, "variation": null, @@ -10473,7 +10547,7 @@ "generator": false }, { - "__docId__": 484, + "__docId__": 488, "kind": "member", "static": false, "variation": null, @@ -10493,7 +10567,7 @@ } }, { - "__docId__": 485, + "__docId__": 489, "kind": "member", "static": false, "variation": null, @@ -10513,7 +10587,7 @@ } }, { - "__docId__": 486, + "__docId__": 490, "kind": "member", "static": false, "variation": null, @@ -10533,7 +10607,7 @@ } }, { - "__docId__": 487, + "__docId__": 491, "kind": "member", "static": false, "variation": null, @@ -10553,7 +10627,7 @@ } }, { - "__docId__": 488, + "__docId__": 492, "kind": "member", "static": false, "variation": null, @@ -10573,7 +10647,7 @@ } }, { - "__docId__": 489, + "__docId__": 493, "kind": "member", "static": false, "variation": null, @@ -10593,7 +10667,7 @@ } }, { - "__docId__": 490, + "__docId__": 494, "kind": "member", "static": false, "variation": null, @@ -10613,7 +10687,7 @@ } }, { - "__docId__": 491, + "__docId__": 495, "kind": "member", "static": false, "variation": null, @@ -10633,7 +10707,7 @@ } }, { - "__docId__": 492, + "__docId__": 496, "kind": "member", "static": false, "variation": null, @@ -10653,7 +10727,7 @@ } }, { - "__docId__": 493, + "__docId__": 497, "kind": "member", "static": false, "variation": null, @@ -10673,7 +10747,7 @@ } }, { - "__docId__": 494, + "__docId__": 498, "kind": "method", "static": false, "variation": null, @@ -10687,7 +10761,7 @@ "generator": false }, { - "__docId__": 495, + "__docId__": 499, "kind": "member", "static": false, "variation": null, @@ -10705,7 +10779,7 @@ } }, { - "__docId__": 496, + "__docId__": 500, "kind": "member", "static": false, "variation": null, @@ -10728,7 +10802,7 @@ } }, { - "__docId__": 497, + "__docId__": 501, "kind": "method", "static": false, "variation": null, @@ -10742,7 +10816,7 @@ "generator": false }, { - "__docId__": 498, + "__docId__": 502, "kind": "method", "static": false, "variation": null, @@ -10756,7 +10830,7 @@ "generator": false }, { - "__docId__": 499, + "__docId__": 503, "kind": "method", "static": false, "variation": null, @@ -10770,7 +10844,7 @@ "generator": false }, { - "__docId__": 500, + "__docId__": 504, "kind": "method", "static": false, "variation": null, @@ -10784,7 +10858,7 @@ "generator": false }, { - "__docId__": 501, + "__docId__": 505, "kind": "method", "static": false, "variation": null, @@ -10798,7 +10872,7 @@ "generator": false }, { - "__docId__": 502, + "__docId__": 506, "kind": "member", "static": false, "variation": null, @@ -10816,7 +10890,7 @@ } }, { - "__docId__": 503, + "__docId__": 507, "kind": "member", "static": false, "variation": null, @@ -10834,7 +10908,7 @@ } }, { - "__docId__": 504, + "__docId__": 508, "kind": "file", "static": true, "variation": null, @@ -10847,7 +10921,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createOpt, createText, elm, removeElm} from '../dom';\nimport {isArray, isFn, isNull, EMPTY_FN} from '../types';\nimport {addEvt, keyCode, removeEvt} from '../event';\nimport {INPUT, SELECT, NONE, ENTER_KEY} from '../const';\n\n/**\n * Paging UI component\n * @export\n * @class Paging\n * @extends {Feature}\n */\nexport class Paging extends Feature {\n\n /**\n * Creates an instance of Paging\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'paging');\n\n // Configuration object\n var f = this.config;\n\n /**\n * Css class for the paging buttons (previous, next, etc.)\n * @type {String}\n */\n this.btnPageCssClass = f.paging_btn_css_class || 'pgInp';\n\n /**\n * Main select DOM element\n * @type {DOMElement}\n */\n this.pagingSlc = null;\n\n /**\n * Results per page select DOM element\n * @type {DOMElement}\n */\n this.resultsPerPageSlc = null;\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.pagingTgtId = f.paging_target_id || null;\n\n /**\n * Number of rows contained in a page\n * @type {Number}\n */\n this.pagingLength = !isNaN(f.paging_length) ? f.paging_length : 10;\n\n /**\n * ID of custom container element for the results per page selector\n * @type {String}\n */\n this.resultsPerPageTgtId = f.results_per_page_target_id || null;\n\n /**\n * Css class for the paging select element\n * @type {String}\n */\n this.pgSlcCssClass = f.paging_slc_css_class || 'pgSlc';\n\n /**\n * Css class for the paging input element\n * @type {String}\n */\n this.pgInpCssClass = f.paging_inp_css_class || 'pgNbInp';\n\n /**\n * Label and values for the results per page select, example of usage:\n * ['Records: ', [10,25,50,100]]\n * @type {Array}\n */\n this.resultsPerPage = f.results_per_page || null;\n\n /**\n * Determines if results per page is configured\n * @type {Boolean}\n */\n this.hasResultsPerPage = isArray(this.resultsPerPage);\n\n /**\n * Css class for the results per page select\n * @type {String}\n */\n this.resultsSlcCssClass = f.results_slc_css_class || 'rspg';\n\n /**\n * Css class for the label preceding results per page select\n * @type {String}\n */\n this.resultsSpanCssClass = f.results_span_css_class || 'rspgSpan';\n\n /**\n * Index of the first row of current page\n * @type {Number}\n * @private\n */\n this.startPagingRow = 0;\n\n /**\n * Total number of pages\n * @type {Number}\n * @private\n */\n this.nbPages = 0;\n\n /**\n * Current page number\n * @type {Number}\n * @private\n */\n this.currentPageNb = 1;\n\n /**\n * Next page button text\n * @type {String}\n */\n this.btnNextPageText = f.btn_next_page_text || '>';\n\n /**\n * Previous page button text\n * @type {String}\n */\n this.btnPrevPageText = f.btn_prev_page_text || '<';\n\n /**\n * Last page button text\n * @type {String}\n */\n this.btnLastPageText = f.btn_last_page_text || '>|';\n\n /**\n * First page button text\n * @type {String}\n */\n this.btnFirstPageText = f.btn_first_page_text || '|<';\n\n /**\n * Next page button HTML\n * @type {String}\n */\n this.btnNextPageHtml = f.btn_next_page_html ||\n (!tf.enableIcons ? null :\n '');\n\n /**\n * Previous page button HTML\n * @type {String}\n */\n this.btnPrevPageHtml = f.btn_prev_page_html ||\n (!tf.enableIcons ? null :\n '');\n\n /**\n * First page button HTML\n * @type {String}\n */\n this.btnFirstPageHtml = f.btn_first_page_html ||\n (!tf.enableIcons ? null :\n '');\n\n /**\n * Last page button HTML\n * @type {String}\n */\n this.btnLastPageHtml = f.btn_last_page_html ||\n (!tf.enableIcons ? null :\n '');\n\n /**\n * Text preceeding page selector drop-down\n * @type {String}\n */\n this.pageText = f.page_text || ' Page ';\n\n /**\n * Text after page selector drop-down\n * @type {String}\n */\n this.ofText = f.of_text || ' of ';\n\n /**\n * Css class for the span containing total number of pages\n * @type {String}\n */\n this.nbPgSpanCssClass = f.nb_pages_css_class || 'nbpg';\n\n /**\n * Determines if paging buttons are enabled (default: true)\n * @type {Boolean}\n */\n this.hasPagingBtns = f.paging_btns === false ? false : true;\n\n /**\n * Defines page selector type, two possible values: 'select', 'input'\n * @type {String}\n */\n this.pageSelectorType = f.page_selector_type || SELECT;\n\n /**\n * Callback fired before the page is changed\n * @type {Function}\n */\n this.onBeforeChangePage = isFn(f.on_before_change_page) ?\n f.on_before_change_page : EMPTY_FN;\n\n /**\n * Callback fired after the page is changed\n * @type {Function}\n */\n this.onAfterChangePage = isFn(f.on_after_change_page) ?\n f.on_after_change_page : EMPTY_FN;\n\n /**\n * Label preciding results per page select\n * @type {DOMElement}\n * @private\n */\n this.slcResultsTxt = null;\n /**\n * Span containing next page button\n * @type {DOMElement}\n * @private\n */\n this.btnNextCont = null;\n /**\n * Span containing previous page button\n * @type {DOMElement}\n * @private\n */\n this.btnPrevCont = null;\n /**\n * Span containing last page button\n * @type {DOMElement}\n * @private\n */\n this.btnLastCont = null;\n /**\n * Span containing first page button\n * @type {DOMElement}\n * @private\n */\n this.btnFirstCont = null;\n /**\n * Span for tot nb pages\n * @type {DOMElement}\n * @private\n */\n this.pgCont = null;\n /**\n * Span preceding pages select (contains 'Page')\n * @type {DOMElement}\n * @private\n */\n this.pgBefore = null;\n /**\n * Span following pages select (contains ' of ')\n * @type {DOMElement}\n * @private\n */\n this.pgAfter = null;\n\n var start_row = tf.refRow;\n var nrows = tf.getRowsNb(true);\n //calculates page nb\n this.nbPages = Math.ceil((nrows - start_row) / this.pagingLength);\n\n var o = this;\n /**\n * Paging DOM events handlers\n * @type {String}\n * @private\n */\n this.evt = {\n slcIndex() {\n return (o.pageSelectorType === SELECT) ?\n o.pagingSlc.options.selectedIndex :\n parseInt(o.pagingSlc.value, 10) - 1;\n },\n nbOpts() {\n return (o.pageSelectorType === SELECT) ?\n parseInt(o.pagingSlc.options.length, 10) - 1 :\n (o.nbPages - 1);\n },\n next() {\n var nextIndex = o.evt.slcIndex() < o.evt.nbOpts() ?\n o.evt.slcIndex() + 1 : 0;\n o.changePage(nextIndex);\n },\n prev() {\n var prevIndex = o.evt.slcIndex() > 0 ?\n o.evt.slcIndex() - 1 : o.evt.nbOpts();\n o.changePage(prevIndex);\n },\n last() {\n o.changePage(o.evt.nbOpts());\n },\n first() {\n o.changePage(0);\n },\n _detectKey(e) {\n var key = keyCode(e);\n if (key === ENTER_KEY) {\n if (tf.sorted) {\n tf.filter();\n o.changePage(o.evt.slcIndex());\n } else {\n o.changePage();\n }\n this.blur();\n }\n },\n slcPagesChange: null,\n nextEvt: null,\n prevEvt: null,\n lastEvt: null,\n firstEvt: null\n };\n }\n\n /**\n * Initialize DOM elements\n */\n init() {\n var slcPages;\n var tf = this.tf;\n var evt = this.evt;\n\n if (this.initialized) {\n return;\n }\n\n // Check resultsPerPage is in expected format and initialise the\n // results per page component\n if (this.hasResultsPerPage) {\n if (this.resultsPerPage.length < 2) {\n this.hasResultsPerPage = false;\n } else {\n this.pagingLength = this.resultsPerPage[1][0];\n this.setResultsPerPage();\n }\n }\n\n evt.slcPagesChange = (event) => {\n var slc = event.target;\n this.changePage(slc.selectedIndex);\n };\n\n // Paging drop-down list selector\n if (this.pageSelectorType === SELECT) {\n slcPages = createElm(SELECT);\n slcPages.className = this.pgSlcCssClass;\n addEvt(slcPages, 'change', evt.slcPagesChange);\n }\n\n // Paging input selector\n if (this.pageSelectorType === INPUT) {\n slcPages = createElm(INPUT, ['value', this.currentPageNb]);\n slcPages.className = this.pgInpCssClass;\n addEvt(slcPages, 'keypress', evt._detectKey);\n }\n\n // btns containers\n var btnNextSpan = createElm('span');\n var btnPrevSpan = createElm('span');\n var btnLastSpan = createElm('span');\n var btnFirstSpan = createElm('span');\n\n if (this.hasPagingBtns) {\n // Next button\n if (!this.btnNextPageHtml) {\n var btnNext = createElm(INPUT,\n ['type', 'button'],\n ['value', this.btnNextPageText],\n ['title', 'Next']\n );\n btnNext.className = this.btnPageCssClass;\n addEvt(btnNext, 'click', evt.next);\n btnNextSpan.appendChild(btnNext);\n } else {\n btnNextSpan.innerHTML = this.btnNextPageHtml;\n addEvt(btnNextSpan, 'click', evt.next);\n }\n // Previous button\n if (!this.btnPrevPageHtml) {\n var btnPrev = createElm(INPUT,\n ['type', 'button'],\n ['value', this.btnPrevPageText],\n ['title', 'Previous']\n );\n btnPrev.className = this.btnPageCssClass;\n addEvt(btnPrev, 'click', evt.prev);\n btnPrevSpan.appendChild(btnPrev);\n } else {\n btnPrevSpan.innerHTML = this.btnPrevPageHtml;\n addEvt(btnPrevSpan, 'click', evt.prev);\n }\n // Last button\n if (!this.btnLastPageHtml) {\n var btnLast = createElm(INPUT,\n ['type', 'button'],\n ['value', this.btnLastPageText],\n ['title', 'Last']\n );\n btnLast.className = this.btnPageCssClass;\n addEvt(btnLast, 'click', evt.last);\n btnLastSpan.appendChild(btnLast);\n } else {\n btnLastSpan.innerHTML = this.btnLastPageHtml;\n addEvt(btnLastSpan, 'click', evt.last);\n }\n // First button\n if (!this.btnFirstPageHtml) {\n var btnFirst = createElm(INPUT,\n ['type', 'button'],\n ['value', this.btnFirstPageText],\n ['title', 'First']\n );\n btnFirst.className = this.btnPageCssClass;\n addEvt(btnFirst, 'click', evt.first);\n btnFirstSpan.appendChild(btnFirst);\n } else {\n btnFirstSpan.innerHTML = this.btnFirstPageHtml;\n addEvt(btnFirstSpan, 'click', evt.first);\n }\n }\n\n // paging elements (buttons+drop-down list) are added to defined element\n if (!this.pagingTgtId) {\n tf.setToolbar();\n }\n var targetEl = !this.pagingTgtId ? tf.mDiv : elm(this.pagingTgtId);\n targetEl.appendChild(btnFirstSpan);\n targetEl.appendChild(btnPrevSpan);\n\n var pgBeforeSpan = createElm('span');\n pgBeforeSpan.appendChild(createText(this.pageText));\n pgBeforeSpan.className = this.nbPgSpanCssClass;\n targetEl.appendChild(pgBeforeSpan);\n targetEl.appendChild(slcPages);\n var pgAfterSpan = createElm('span');\n pgAfterSpan.appendChild(createText(this.ofText));\n pgAfterSpan.className = this.nbPgSpanCssClass;\n targetEl.appendChild(pgAfterSpan);\n var pgSpan = createElm('span');\n pgSpan.className = this.nbPgSpanCssClass;\n pgSpan.appendChild(createText(' ' + this.nbPages + ' '));\n targetEl.appendChild(pgSpan);\n targetEl.appendChild(btnNextSpan);\n targetEl.appendChild(btnLastSpan);\n\n this.btnNextCont = btnNextSpan;\n this.btnPrevCont = btnPrevSpan;\n this.btnLastCont = btnLastSpan;\n this.btnFirstCont = btnFirstSpan;\n this.pgCont = pgSpan;\n this.pgBefore = pgBeforeSpan;\n this.pgAfter = pgAfterSpan;\n this.pagingSlc = slcPages;\n\n this.setPagingInfo();\n\n if (!tf.fltGrid) {\n tf.validateAllRows();\n this.setPagingInfo(tf.validRowsIndex);\n }\n\n this.emitter.on(['after-filtering'], () => this.resetPagingInfo());\n this.emitter.on(['change-page'],\n (tf, pageNumber) => this.setPage(pageNumber));\n this.emitter.on(['change-page-results'],\n (tf, pageLength) => this.changeResultsPerPage(pageLength));\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Reset paging when filters are already instantiated\n * @param {Boolean} filterTable Execute filtering once paging instanciated\n */\n reset(filterTable = false) {\n var tf = this.tf;\n if (this.isEnabled()) {\n return;\n }\n this.enable();\n this.init();\n\n if (filterTable) {\n tf.filter();\n }\n }\n\n /**\n * Reset paging info from scratch after a filtering process\n */\n resetPagingInfo() {\n this.startPagingRow = 0;\n this.currentPageNb = 1;\n this.setPagingInfo(this.tf.validRowsIndex);\n }\n\n /**\n * Calculate number of pages based on valid rows\n * Refresh paging select according to number of pages\n * @param {Array} validRows Collection of valid rows\n */\n setPagingInfo(validRows) {\n var tf = this.tf;\n var mdiv = !this.pagingTgtId ? tf.mDiv : elm(this.pagingTgtId);\n\n //store valid rows indexes\n tf.validRowsIndex = validRows || tf.getValidRows(true);\n\n //calculate nb of pages\n this.nbPages = Math.ceil(tf.validRowsIndex.length / this.pagingLength);\n //refresh page nb span\n this.pgCont.innerHTML = this.nbPages;\n //select clearing shortcut\n if (this.pageSelectorType === SELECT) {\n this.pagingSlc.innerHTML = '';\n }\n\n if (this.nbPages > 0) {\n mdiv.style.visibility = 'visible';\n if (this.pageSelectorType === SELECT) {\n for (var z = 0; z < this.nbPages; z++) {\n var opt = createOpt(z + 1, z * this.pagingLength, false);\n this.pagingSlc.options[z] = opt;\n }\n } else {\n //input type\n this.pagingSlc.value = this.currentPageNb;\n }\n\n } else {\n /*** if no results paging select and buttons are hidden ***/\n mdiv.style.visibility = 'hidden';\n }\n this.groupByPage(tf.validRowsIndex);\n }\n\n /**\n * Group table rows by page and display valid rows\n * @param {Array} validRows Collection of valid rows\n */\n groupByPage(validRows) {\n var tf = this.tf;\n var rows = tf.tbl.rows;\n var startPagingRow = parseInt(this.startPagingRow, 10);\n var endPagingRow = startPagingRow + parseInt(this.pagingLength, 10);\n\n //store valid rows indexes\n if (validRows) {\n tf.validRowsIndex = validRows;\n }\n\n //this loop shows valid rows of current page\n for (var h = 0, len = tf.getValidRowsNb(true); h < len; h++) {\n var validRowIdx = tf.validRowsIndex[h];\n var r = rows[validRowIdx];\n var isRowValid = r.getAttribute('validRow');\n var rowDisplayed = false;\n\n if (h >= startPagingRow && h < endPagingRow) {\n if (isNull(isRowValid) || Boolean(isRowValid === 'true')) {\n r.style.display = '';\n rowDisplayed = true;\n }\n } else {\n r.style.display = NONE;\n }\n this.emitter.emit('row-paged', tf, validRowIdx, h, rowDisplayed);\n }\n\n // broadcast grouping by page\n this.emitter.emit('grouped-by-page', tf, this);\n }\n\n /**\n * Return the current page number\n * @return {Number} Page number\n */\n getPage() {\n return this.currentPageNb;\n }\n\n /**\n * Show page defined by passed argument (string or number):\n * @param {String}/{Number} cmd possible string values: 'next',\n * 'previous', 'last', 'first' or page number as per param\n */\n setPage(cmd) {\n var tf = this.tf;\n if (!tf.isInitialized() || !this.isEnabled()) {\n return;\n }\n var btnEvt = this.evt,\n cmdtype = typeof cmd;\n if (cmdtype === 'string') {\n switch (cmd.toLowerCase()) {\n case 'next':\n btnEvt.next();\n break;\n case 'previous':\n btnEvt.prev();\n break;\n case 'last':\n btnEvt.last();\n break;\n case 'first':\n btnEvt.first();\n break;\n default:\n btnEvt.next();\n break;\n }\n }\n else if (cmdtype === 'number') {\n this.changePage(cmd - 1);\n }\n }\n\n /**\n * Generates UI elements for the number of results per page drop-down\n */\n setResultsPerPage() {\n var tf = this.tf;\n var evt = this.evt;\n\n if (this.resultsPerPageSlc || !this.resultsPerPage) {\n return;\n }\n\n evt.slcResultsChange = (ev) => {\n this.onChangeResultsPerPage();\n ev.target.blur();\n };\n\n var slcR = createElm(SELECT);\n slcR.className = this.resultsSlcCssClass;\n var slcRText = this.resultsPerPage[0],\n slcROpts = this.resultsPerPage[1];\n var slcRSpan = createElm('span');\n slcRSpan.className = this.resultsSpanCssClass;\n\n // results per page select is added to external element\n if (!this.resultsPerPageTgtId) {\n tf.setToolbar();\n }\n var targetEl = !this.resultsPerPageTgtId ?\n tf.rDiv : elm(this.resultsPerPageTgtId);\n slcRSpan.appendChild(createText(slcRText));\n\n var help = tf.feature('help');\n if (help && help.btn) {\n help.btn.parentNode.insertBefore(slcRSpan, help.btn);\n help.btn.parentNode.insertBefore(slcR, help.btn);\n } else {\n targetEl.appendChild(slcRSpan);\n targetEl.appendChild(slcR);\n }\n\n for (var r = 0; r < slcROpts.length; r++) {\n var currOpt = new Option(slcROpts[r], slcROpts[r], false, false);\n slcR.options[r] = currOpt;\n }\n addEvt(slcR, 'change', evt.slcResultsChange);\n this.slcResultsTxt = slcRSpan;\n this.resultsPerPageSlc = slcR;\n }\n\n /**\n * Remove number of results per page UI elements\n */\n removeResultsPerPage() {\n var tf = this.tf;\n if (!tf.isInitialized() || !this.resultsPerPageSlc ||\n !this.resultsPerPage) {\n return;\n }\n if (this.resultsPerPageSlc) {\n removeElm(this.resultsPerPageSlc);\n }\n if (this.slcResultsTxt) {\n removeElm(this.slcResultsTxt);\n }\n this.resultsPerPageSlc = null;\n this.slcResultsTxt = null;\n }\n\n /**\n * Change the page based on passed index\n * @param {Number} index Index of the page (0-n)\n */\n changePage(index) {\n var tf = this.tf;\n\n if (!this.isEnabled()) {\n return;\n }\n\n this.emitter.emit('before-page-change', tf, (index + 1));\n\n if (index === null) {\n index = this.pageSelectorType === SELECT ?\n this.pagingSlc.options.selectedIndex : this.pagingSlc.value - 1;\n }\n if (index >= 0 && index <= (this.nbPages - 1)) {\n this.onBeforeChangePage(this, (index + 1));\n\n this.currentPageNb = parseInt(index, 10) + 1;\n if (this.pageSelectorType === SELECT) {\n this.pagingSlc.options[index].selected = true;\n } else {\n this.pagingSlc.value = this.currentPageNb;\n }\n\n this.startPagingRow = (this.pageSelectorType === SELECT) ?\n this.pagingSlc.value : (index * this.pagingLength);\n\n this.groupByPage();\n\n this.onAfterChangePage(this, (index + 1));\n }\n\n this.emitter.emit('after-page-change', tf, (index + 1));\n }\n\n /**\n * Change the number of results per page based on passed value\n * @param {String} val The number of results per page\n */\n changeResultsPerPage(val) {\n if (!this.isEnabled() || isNaN(val)) {\n return;\n }\n\n this.resultsPerPageSlc.value = val;\n this.onChangeResultsPerPage();\n }\n\n /**\n * Change rows according to page results drop-down\n */\n onChangeResultsPerPage() {\n var tf = this.tf;\n\n if (!this.isEnabled()) {\n return;\n }\n\n this.emitter.emit('before-page-length-change', tf);\n\n var slcR = this.resultsPerPageSlc;\n var slcIndex = slcR.selectedIndex;\n var slcPagesSelIndex = (this.pageSelectorType === SELECT) ?\n this.pagingSlc.selectedIndex :\n parseInt(this.pagingSlc.value - 1, 10);\n this.pagingLength = parseInt(slcR.options[slcIndex].value, 10);\n this.startPagingRow = this.pagingLength * slcPagesSelIndex;\n\n if (!isNaN(this.pagingLength)) {\n if (this.startPagingRow >= tf.nbFilterableRows) {\n this.startPagingRow = (tf.nbFilterableRows - this.pagingLength);\n }\n this.setPagingInfo();\n\n if (this.pageSelectorType === SELECT) {\n var slcIdx =\n (this.pagingSlc.options.length - 1 <= slcPagesSelIndex) ?\n (this.pagingSlc.options.length - 1) : slcPagesSelIndex;\n this.pagingSlc.options[slcIdx].selected = true;\n }\n }\n\n this.emitter.emit('after-page-length-change', tf, this.pagingLength);\n }\n\n /**\n * Re-set page nb at page re-load\n */\n resetPage() {\n var tf = this.tf;\n if (!this.isEnabled()) {\n return;\n }\n this.emitter.emit('before-reset-page', tf);\n var pgNb = tf.feature('store').getPageNb();\n if (pgNb !== '') {\n this.changePage((pgNb - 1));\n }\n this.emitter.emit('after-reset-page', tf, pgNb);\n }\n\n /**\n * Re-set page length value at page re-load\n */\n resetPageLength() {\n var tf = this.tf;\n if (!this.isEnabled()) {\n return;\n }\n this.emitter.emit('before-reset-page-length', tf);\n var pglenIndex = tf.feature('store').getPageLength();\n\n if (pglenIndex !== '') {\n this.resultsPerPageSlc.options[pglenIndex].selected = true;\n this.changeResultsPerPage();\n }\n this.emitter.emit('after-reset-page-length', tf, pglenIndex);\n }\n\n /**\n * Remove paging feature\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n var evt = this.evt;\n\n if (this.pagingSlc) {\n if (this.pageSelectorType === SELECT) {\n removeEvt(this.pagingSlc, 'change', evt.slcPagesChange);\n }\n else if (this.pageSelectorType === INPUT) {\n removeEvt(this.pagingSlc, 'keypress', evt._detectKey);\n }\n removeElm(this.pagingSlc);\n }\n\n if (this.btnNextCont) {\n removeEvt(this.btnNextCont, 'click', evt.next);\n removeElm(this.btnNextCont);\n this.btnNextCont = null;\n }\n\n if (this.btnPrevCont) {\n removeEvt(this.btnPrevCont, 'click', evt.prev);\n removeElm(this.btnPrevCont);\n this.btnPrevCont = null;\n }\n\n if (this.btnLastCont) {\n removeEvt(this.btnLastCont, 'click', evt.last);\n removeElm(this.btnLastCont);\n this.btnLastCont = null;\n }\n\n if (this.btnFirstCont) {\n removeEvt(this.btnFirstCont, 'click', evt.first);\n removeElm(this.btnFirstCont);\n this.btnFirstCont = null;\n }\n\n if (this.pgBefore) {\n removeElm(this.pgBefore);\n this.pgBefore = null;\n }\n\n if (this.pgAfter) {\n removeElm(this.pgAfter);\n this.pgAfter = null;\n }\n\n if (this.pgCont) {\n removeElm(this.pgCont);\n this.pgCont = null;\n }\n\n if (this.hasResultsPerPage) {\n this.removeResultsPerPage();\n }\n\n this.emitter.off(['after-filtering'], () => this.resetPagingInfo());\n this.emitter.off(['change-page'],\n (tf, pageNumber) => this.setPage(pageNumber));\n this.emitter.off(['change-page-results'],\n (tf, pageLength) => this.changeResultsPerPage(pageLength));\n\n this.pagingSlc = null;\n this.nbPages = 0;\n this.disable();\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 505, + "__docId__": 509, "kind": "class", "static": true, "variation": null, @@ -10876,7 +10950,7 @@ ] }, { - "__docId__": 506, + "__docId__": 510, "kind": "constructor", "static": false, "variation": null, @@ -10901,7 +10975,7 @@ "generator": false }, { - "__docId__": 507, + "__docId__": 511, "kind": "member", "static": false, "variation": null, @@ -10921,7 +10995,7 @@ } }, { - "__docId__": 508, + "__docId__": 512, "kind": "member", "static": false, "variation": null, @@ -10941,7 +11015,7 @@ } }, { - "__docId__": 509, + "__docId__": 513, "kind": "member", "static": false, "variation": null, @@ -10961,7 +11035,7 @@ } }, { - "__docId__": 510, + "__docId__": 514, "kind": "member", "static": false, "variation": null, @@ -10981,7 +11055,7 @@ } }, { - "__docId__": 511, + "__docId__": 515, "kind": "member", "static": false, "variation": null, @@ -11001,7 +11075,7 @@ } }, { - "__docId__": 512, + "__docId__": 516, "kind": "member", "static": false, "variation": null, @@ -11021,7 +11095,7 @@ } }, { - "__docId__": 513, + "__docId__": 517, "kind": "member", "static": false, "variation": null, @@ -11041,7 +11115,7 @@ } }, { - "__docId__": 514, + "__docId__": 518, "kind": "member", "static": false, "variation": null, @@ -11061,7 +11135,7 @@ } }, { - "__docId__": 515, + "__docId__": 519, "kind": "member", "static": false, "variation": null, @@ -11081,7 +11155,7 @@ } }, { - "__docId__": 516, + "__docId__": 520, "kind": "member", "static": false, "variation": null, @@ -11101,7 +11175,7 @@ } }, { - "__docId__": 517, + "__docId__": 521, "kind": "member", "static": false, "variation": null, @@ -11121,7 +11195,7 @@ } }, { - "__docId__": 518, + "__docId__": 522, "kind": "member", "static": false, "variation": null, @@ -11141,7 +11215,7 @@ } }, { - "__docId__": 519, + "__docId__": 523, "kind": "member", "static": false, "variation": null, @@ -11161,7 +11235,7 @@ } }, { - "__docId__": 520, + "__docId__": 524, "kind": "member", "static": false, "variation": null, @@ -11181,7 +11255,7 @@ } }, { - "__docId__": 521, + "__docId__": 525, "kind": "member", "static": false, "variation": null, @@ -11201,7 +11275,7 @@ } }, { - "__docId__": 522, + "__docId__": 526, "kind": "member", "static": false, "variation": null, @@ -11221,7 +11295,7 @@ } }, { - "__docId__": 523, + "__docId__": 527, "kind": "member", "static": false, "variation": null, @@ -11241,7 +11315,7 @@ } }, { - "__docId__": 524, + "__docId__": 528, "kind": "member", "static": false, "variation": null, @@ -11261,7 +11335,7 @@ } }, { - "__docId__": 525, + "__docId__": 529, "kind": "member", "static": false, "variation": null, @@ -11281,7 +11355,7 @@ } }, { - "__docId__": 526, + "__docId__": 530, "kind": "member", "static": false, "variation": null, @@ -11301,7 +11375,7 @@ } }, { - "__docId__": 527, + "__docId__": 531, "kind": "member", "static": false, "variation": null, @@ -11321,7 +11395,7 @@ } }, { - "__docId__": 528, + "__docId__": 532, "kind": "member", "static": false, "variation": null, @@ -11341,7 +11415,7 @@ } }, { - "__docId__": 529, + "__docId__": 533, "kind": "member", "static": false, "variation": null, @@ -11361,7 +11435,7 @@ } }, { - "__docId__": 530, + "__docId__": 534, "kind": "member", "static": false, "variation": null, @@ -11381,7 +11455,7 @@ } }, { - "__docId__": 531, + "__docId__": 535, "kind": "member", "static": false, "variation": null, @@ -11401,7 +11475,7 @@ } }, { - "__docId__": 532, + "__docId__": 536, "kind": "member", "static": false, "variation": null, @@ -11421,7 +11495,7 @@ } }, { - "__docId__": 533, + "__docId__": 537, "kind": "member", "static": false, "variation": null, @@ -11441,7 +11515,7 @@ } }, { - "__docId__": 534, + "__docId__": 538, "kind": "member", "static": false, "variation": null, @@ -11461,7 +11535,7 @@ } }, { - "__docId__": 535, + "__docId__": 539, "kind": "member", "static": false, "variation": null, @@ -11481,7 +11555,7 @@ } }, { - "__docId__": 536, + "__docId__": 540, "kind": "member", "static": false, "variation": null, @@ -11501,7 +11575,7 @@ } }, { - "__docId__": 537, + "__docId__": 541, "kind": "member", "static": false, "variation": null, @@ -11521,7 +11595,7 @@ } }, { - "__docId__": 538, + "__docId__": 542, "kind": "member", "static": false, "variation": null, @@ -11541,7 +11615,7 @@ } }, { - "__docId__": 539, + "__docId__": 543, "kind": "member", "static": false, "variation": null, @@ -11561,7 +11635,7 @@ } }, { - "__docId__": 540, + "__docId__": 544, "kind": "member", "static": false, "variation": null, @@ -11581,7 +11655,7 @@ } }, { - "__docId__": 541, + "__docId__": 545, "kind": "member", "static": false, "variation": null, @@ -11601,7 +11675,7 @@ } }, { - "__docId__": 542, + "__docId__": 546, "kind": "member", "static": false, "variation": null, @@ -11621,7 +11695,7 @@ } }, { - "__docId__": 543, + "__docId__": 547, "kind": "member", "static": false, "variation": null, @@ -11641,7 +11715,7 @@ } }, { - "__docId__": 544, + "__docId__": 548, "kind": "member", "static": false, "variation": null, @@ -11661,7 +11735,7 @@ } }, { - "__docId__": 545, + "__docId__": 549, "kind": "member", "static": false, "variation": null, @@ -11679,7 +11753,7 @@ } }, { - "__docId__": 546, + "__docId__": 550, "kind": "member", "static": false, "variation": null, @@ -11699,7 +11773,7 @@ } }, { - "__docId__": 547, + "__docId__": 551, "kind": "method", "static": false, "variation": null, @@ -11713,7 +11787,7 @@ "generator": false }, { - "__docId__": 548, + "__docId__": 552, "kind": "member", "static": false, "variation": null, @@ -11731,7 +11805,7 @@ } }, { - "__docId__": 549, + "__docId__": 553, "kind": "member", "static": false, "variation": null, @@ -11749,7 +11823,7 @@ } }, { - "__docId__": 550, + "__docId__": 554, "kind": "member", "static": false, "variation": null, @@ -11767,7 +11841,7 @@ } }, { - "__docId__": 551, + "__docId__": 555, "kind": "member", "static": false, "variation": null, @@ -11785,7 +11859,7 @@ } }, { - "__docId__": 552, + "__docId__": 556, "kind": "member", "static": false, "variation": null, @@ -11803,7 +11877,7 @@ } }, { - "__docId__": 553, + "__docId__": 557, "kind": "member", "static": false, "variation": null, @@ -11821,7 +11895,7 @@ } }, { - "__docId__": 554, + "__docId__": 558, "kind": "member", "static": false, "variation": null, @@ -11839,7 +11913,7 @@ } }, { - "__docId__": 555, + "__docId__": 559, "kind": "member", "static": false, "variation": null, @@ -11857,7 +11931,7 @@ } }, { - "__docId__": 556, + "__docId__": 560, "kind": "member", "static": false, "variation": null, @@ -11875,7 +11949,7 @@ } }, { - "__docId__": 557, + "__docId__": 561, "kind": "member", "static": false, "variation": null, @@ -11893,7 +11967,7 @@ } }, { - "__docId__": 558, + "__docId__": 562, "kind": "member", "static": false, "variation": null, @@ -11916,7 +11990,7 @@ } }, { - "__docId__": 559, + "__docId__": 563, "kind": "method", "static": false, "variation": null, @@ -11941,7 +12015,7 @@ "generator": false }, { - "__docId__": 560, + "__docId__": 564, "kind": "method", "static": false, "variation": null, @@ -11955,7 +12029,7 @@ "generator": false }, { - "__docId__": 561, + "__docId__": 565, "kind": "member", "static": false, "variation": null, @@ -11973,7 +12047,7 @@ } }, { - "__docId__": 562, + "__docId__": 566, "kind": "member", "static": false, "variation": null, @@ -11991,7 +12065,7 @@ } }, { - "__docId__": 563, + "__docId__": 567, "kind": "method", "static": false, "variation": null, @@ -12016,7 +12090,7 @@ "generator": false }, { - "__docId__": 564, + "__docId__": 568, "kind": "member", "static": false, "variation": null, @@ -12034,7 +12108,7 @@ } }, { - "__docId__": 565, + "__docId__": 569, "kind": "method", "static": false, "variation": null, @@ -12059,7 +12133,7 @@ "generator": false }, { - "__docId__": 566, + "__docId__": 570, "kind": "method", "static": false, "variation": null, @@ -12081,7 +12155,7 @@ "generator": false }, { - "__docId__": 567, + "__docId__": 571, "kind": "method", "static": false, "variation": null, @@ -12106,7 +12180,7 @@ "generator": false }, { - "__docId__": 568, + "__docId__": 572, "kind": "method", "static": false, "variation": null, @@ -12120,7 +12194,7 @@ "generator": false }, { - "__docId__": 569, + "__docId__": 573, "kind": "member", "static": false, "variation": null, @@ -12138,7 +12212,7 @@ } }, { - "__docId__": 570, + "__docId__": 574, "kind": "member", "static": false, "variation": null, @@ -12156,7 +12230,7 @@ } }, { - "__docId__": 571, + "__docId__": 575, "kind": "method", "static": false, "variation": null, @@ -12170,7 +12244,7 @@ "generator": false }, { - "__docId__": 572, + "__docId__": 576, "kind": "member", "static": false, "variation": null, @@ -12188,7 +12262,7 @@ } }, { - "__docId__": 573, + "__docId__": 577, "kind": "member", "static": false, "variation": null, @@ -12206,7 +12280,7 @@ } }, { - "__docId__": 574, + "__docId__": 578, "kind": "method", "static": false, "variation": null, @@ -12231,7 +12305,7 @@ "generator": false }, { - "__docId__": 575, + "__docId__": 579, "kind": "member", "static": false, "variation": null, @@ -12249,7 +12323,7 @@ } }, { - "__docId__": 576, + "__docId__": 580, "kind": "member", "static": false, "variation": null, @@ -12267,7 +12341,7 @@ } }, { - "__docId__": 577, + "__docId__": 581, "kind": "method", "static": false, "variation": null, @@ -12292,7 +12366,7 @@ "generator": false }, { - "__docId__": 578, + "__docId__": 582, "kind": "method", "static": false, "variation": null, @@ -12306,7 +12380,7 @@ "generator": false }, { - "__docId__": 579, + "__docId__": 583, "kind": "member", "static": false, "variation": null, @@ -12324,7 +12398,7 @@ } }, { - "__docId__": 580, + "__docId__": 584, "kind": "member", "static": false, "variation": null, @@ -12342,7 +12416,7 @@ } }, { - "__docId__": 581, + "__docId__": 585, "kind": "member", "static": false, "variation": null, @@ -12360,7 +12434,7 @@ } }, { - "__docId__": 582, + "__docId__": 586, "kind": "method", "static": false, "variation": null, @@ -12374,7 +12448,7 @@ "generator": false }, { - "__docId__": 583, + "__docId__": 587, "kind": "method", "static": false, "variation": null, @@ -12388,7 +12462,7 @@ "generator": false }, { - "__docId__": 584, + "__docId__": 588, "kind": "method", "static": false, "variation": null, @@ -12402,7 +12476,7 @@ "generator": false }, { - "__docId__": 585, + "__docId__": 589, "kind": "member", "static": false, "variation": null, @@ -12420,7 +12494,7 @@ } }, { - "__docId__": 586, + "__docId__": 590, "kind": "member", "static": false, "variation": null, @@ -12438,7 +12512,7 @@ } }, { - "__docId__": 587, + "__docId__": 591, "kind": "member", "static": false, "variation": null, @@ -12456,7 +12530,7 @@ } }, { - "__docId__": 588, + "__docId__": 592, "kind": "member", "static": false, "variation": null, @@ -12474,7 +12548,7 @@ } }, { - "__docId__": 589, + "__docId__": 593, "kind": "member", "static": false, "variation": null, @@ -12492,7 +12566,7 @@ } }, { - "__docId__": 590, + "__docId__": 594, "kind": "member", "static": false, "variation": null, @@ -12510,7 +12584,7 @@ } }, { - "__docId__": 591, + "__docId__": 595, "kind": "member", "static": false, "variation": null, @@ -12528,7 +12602,7 @@ } }, { - "__docId__": 592, + "__docId__": 596, "kind": "member", "static": false, "variation": null, @@ -12546,7 +12620,7 @@ } }, { - "__docId__": 593, + "__docId__": 597, "kind": "member", "static": false, "variation": null, @@ -12564,7 +12638,7 @@ } }, { - "__docId__": 594, + "__docId__": 598, "kind": "member", "static": false, "variation": null, @@ -12582,7 +12656,7 @@ } }, { - "__docId__": 595, + "__docId__": 599, "kind": "file", "static": true, "variation": null, @@ -12595,7 +12669,7 @@ "content": "import {Feature} from '../feature';\nimport {isFn, isUndef, EMPTY_FN} from '../types';\nimport {createElm, removeElm} from '../dom';\nimport {addEvt, cancelEvt, stopEvt, targetEvt, removeEvt} from '../event';\nimport {INPUT, NONE, CHECKLIST, MULTIPLE} from '../const';\nimport {root} from '../root';\n\n/**\n * Pop-up filter component\n * @export\n * @class PopupFilter\n * @extends {Feature}\n */\nexport class PopupFilter extends Feature {\n\n /**\n * Creates an instance of PopupFilter\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'popupFilters');\n\n // Configuration object\n let f = this.config;\n\n // Enable external filters\n tf.isExternalFlt = true;\n tf.externalFltTgtIds = [];\n\n /**\n * Close active popup filter upon filtering, enabled by default\n * @type {Boolean}\n */\n this.closeOnFiltering = f.popup_filters_close_on_filtering === false ?\n false : true;\n\n /**\n * Filter icon path\n * @type {String}\n */\n this.iconPath = f.popup_filters_image ||\n tf.themesPath + 'icn_filter.gif';\n\n /**\n * Active filter icon path\n * @type {string}\n */\n this.activeIconPath = f.popup_filters_image_active ||\n tf.themesPath + 'icn_filterActive.gif';\n\n /**\n * HTML for the filter icon\n * @type {string}\n */\n this.iconHtml = f.popup_filters_image_html ||\n '\"Column';\n\n /**\n * Css class assigned to filter container element\n * @type {String}\n */\n this.containerCssClass = f.popup_div_css_class || 'popUpFilter';\n\n /**\n * Ensure filter's container element width matches column width, enabled\n * by default\n * @type {Boolean}\n */\n this.adjustToContainer =\n f.popup_filters_adjust_to_container === false ? false : true;\n\n /**\n * Callback fired before a popup filter is opened\n * @type {Function}\n */\n this.onBeforeOpen = isFn(f.on_before_popup_filter_open) ?\n f.on_before_popup_filter_open : EMPTY_FN;\n\n /**\n * Callback fired after a popup filter is opened\n * @type {Function}\n */\n this.onAfterOpen = isFn(f.on_after_popup_filter_open) ?\n f.on_after_popup_filter_open : EMPTY_FN;\n\n /**\n * Callback fired before a popup filter is closed\n * @type {Function}\n */\n this.onBeforeClose = isFn(f.on_before_popup_filter_close) ?\n f.on_before_popup_filter_close : EMPTY_FN;\n\n /**\n * Callback fired after a popup filter is closed\n * @type {Function}\n */\n this.onAfterClose = isFn(f.on_after_popup_filter_close) ?\n f.on_after_popup_filter_close : EMPTY_FN;\n\n /**\n * Collection of filters spans\n * @type {Array}\n * @private\n */\n this.fltSpans = [];\n\n /**\n * Collection of filters icons\n * @type {Array}\n * @private\n */\n this.fltIcons = [];\n\n /**\n * Collection of filters icons cached after pop-up filters are removed\n * @type {Array}\n * @private\n */\n this.filtersCache = null;\n\n /**\n * Collection of filters containers\n * @type {Array}\n * @private\n */\n this.fltElms = this.filtersCache || [];\n\n /**\n * Prefix for pop-up filter container ID\n * @type {String}\n * @private\n */\n this.prfxDiv = 'popup_';\n\n /**\n * Column index of popup filter currently active\n * @type {Number}\n * @private\n */\n this.activeFilterIdx = -1;\n }\n\n /**\n * Click event handler for pop-up filter icon\n * @private\n */\n onClick(evt) {\n let elm = targetEvt(evt).parentNode;\n let colIndex = parseInt(elm.getAttribute('ci'), 10);\n\n this.closeAll(colIndex);\n this.toggle(colIndex);\n\n if (this.adjustToContainer) {\n let cont = this.fltElms[colIndex],\n header = this.tf.getHeaderElement(colIndex),\n headerWidth = header.clientWidth * 0.95;\n cont.style.width = parseInt(headerWidth, 10) + 'px';\n }\n cancelEvt(evt);\n stopEvt(evt);\n }\n\n /**\n * Mouse-up event handler handling popup filter auto-close behaviour\n * @private\n */\n onMouseup(evt) {\n if (this.activeFilterIdx === -1) {\n return;\n }\n let targetElm = targetEvt(evt);\n let activeFlt = this.fltElms[this.activeFilterIdx];\n let icon = this.fltIcons[this.activeFilterIdx];\n\n if (icon === targetElm) {\n return;\n }\n\n while (targetElm && targetElm !== activeFlt) {\n targetElm = targetElm.parentNode;\n }\n\n if (targetElm !== activeFlt) {\n this.close(this.activeFilterIdx);\n }\n\n return;\n }\n\n /**\n * Initialize DOM elements\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n\n // Override headers row index if no grouped headers\n // TODO: Because of the filters row generation, headers row index needs\n // adjusting: prevent useless row generation\n if (tf.headersRow <= 1 && isNaN(tf.config().headers_row_index)) {\n tf.headersRow = 0;\n }\n\n // Adjust headers row index for grid-layout mode\n // TODO: Because of the filters row generation, headers row index needs\n // adjusting: prevent useless row generation\n if (tf.gridLayout) {\n tf.headersRow--;\n this.buildIcons();\n }\n\n // subscribe to events\n this.emitter.on(['before-filtering'], () => this.setIconsState());\n this.emitter.on(['after-filtering'], () => this.closeAll());\n this.emitter.on(['cell-processed'],\n (tf, cellIndex) => this.changeState(cellIndex, true));\n this.emitter.on(['filters-row-inserted'], () => this.buildIcons());\n this.emitter.on(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Reset previously destroyed feature\n */\n reset() {\n this.enable();\n this.init();\n this.buildIcons();\n this.buildAll();\n }\n\n /**\n * Build all filters icons\n */\n buildIcons() {\n let tf = this.tf;\n\n // TODO: Because of the filters row generation, headers row index needs\n // adjusting: prevent useless row generation\n tf.headersRow++;\n\n for (let i = 0; i < tf.nbCells; i++) {\n if (tf.getFilterType(i) === NONE) {\n continue;\n }\n let icon = createElm('span', ['ci', i]);\n icon.innerHTML = this.iconHtml;\n let header = tf.getHeaderElement(i);\n header.appendChild(icon);\n addEvt(icon, 'click', (evt) => this.onClick(evt));\n this.fltSpans[i] = icon;\n this.fltIcons[i] = icon.firstChild;\n }\n }\n\n /**\n * Build all pop-up filters elements\n */\n buildAll() {\n for (let i = 0; i < this.filtersCache.length; i++) {\n this.build(i, this.filtersCache[i]);\n }\n }\n\n /**\n * Build a specified pop-up filter elements\n * @param {Number} colIndex Column index\n * @param {Object} div Optional container DOM element\n */\n build(colIndex, div) {\n let tf = this.tf;\n let contId = `${this.prfxDiv}${tf.id}_${colIndex}`;\n let cont = div || createElm('div', ['id', contId]);\n cont.className = this.containerCssClass;\n tf.externalFltTgtIds.push(cont.id);\n\n let header = tf.getHeaderElement(colIndex);\n header.insertBefore(cont, header.firstChild);\n addEvt(cont, 'click', (evt) => stopEvt(evt));\n this.fltElms[colIndex] = cont;\n }\n\n /**\n * Toggle visibility of specified filter\n * @param {Number} colIndex Column index\n */\n toggle(colIndex) {\n if (!this.isOpen(colIndex)) {\n this.open(colIndex);\n } else {\n this.close(colIndex);\n }\n }\n\n /**\n * Open popup filter of specified column\n * @param {Number} colIndex Column index\n */\n open(colIndex) {\n let tf = this.tf,\n container = this.fltElms[colIndex];\n\n this.onBeforeOpen(this, container, colIndex);\n\n container.style.display = 'block';\n this.activeFilterIdx = colIndex;\n addEvt(root, 'mouseup', (evt) => this.onMouseup(evt));\n\n if (tf.getFilterType(colIndex) === INPUT) {\n let flt = tf.getFilterElement(colIndex);\n if (flt) {\n flt.focus();\n }\n }\n\n this.onAfterOpen(this, container, colIndex);\n }\n\n /**\n * Close popup filter of specified column\n * @param {Number} colIndex Column index\n */\n close(colIndex) {\n let container = this.fltElms[colIndex];\n\n this.onBeforeClose(this, container, colIndex);\n\n container.style.display = NONE;\n if (this.activeFilterIdx === colIndex) {\n this.activeFilterIdx = -1;\n }\n removeEvt(root, 'mouseup', (evt) => this.onMouseup(evt));\n\n this.onAfterClose(this, container, colIndex);\n }\n\n /**\n * Check if popup filter for specified column is open\n * @param {Number} colIndex Column index\n * @returns {Boolean}\n */\n isOpen(colIndex) {\n return this.fltElms[colIndex].style.display === 'block';\n }\n\n /**\n * Close all filters excepted for the specified one if any\n * @param {Number} exceptIdx Column index of the filter to not close\n */\n closeAll(exceptIdx) {\n // Do not close filters only if argument is undefined and close on\n // filtering option is disabled\n if (isUndef(exceptIdx) && !this.closeOnFiltering) {\n return;\n }\n for (let i = 0; i < this.fltElms.length; i++) {\n if (i === exceptIdx) {\n continue;\n }\n let fltType = tf.getFilterType(i);\n let isMultipleFilter =\n (fltType === CHECKLIST || fltType === MULTIPLE);\n\n // Always hide all single selection filter types but hide multiple\n // selection filter types only if index set\n if (!isMultipleFilter || !isUndef(exceptIdx)) {\n this.close(i);\n }\n }\n }\n\n /**\n * Build all the icons representing the pop-up filters\n */\n setIconsState() {\n for (let i = 0; i < this.fltIcons.length; i++) {\n this.changeState(i, false);\n }\n }\n\n /**\n * Apply specified icon state\n * @param {Number} colIndex Column index\n * @param {Boolean} active Apply active state\n */\n changeState(colIndex, active) {\n let icon = this.fltIcons[colIndex];\n if (icon) {\n icon.src = active ? this.activeIconPath : this.iconPath;\n }\n }\n\n /**\n * Remove pop-up filters\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n this.filtersCache = [];\n for (let i = 0; i < this.fltElms.length; i++) {\n let container = this.fltElms[i],\n icon = this.fltSpans[i],\n iconImg = this.fltIcons[i];\n if (container) {\n removeElm(container);\n this.filtersCache[i] = container;\n }\n container = null;\n if (icon) {\n removeElm(icon);\n }\n icon = null;\n if (iconImg) {\n removeElm(iconImg);\n }\n iconImg = null;\n }\n this.fltElms = [];\n this.fltSpans = [];\n this.fltIcons = [];\n\n // TODO: expose an API to handle external filter IDs\n tf.externalFltTgtIds = [];\n\n // unsubscribe to events\n this.emitter.off(['before-filtering'], () => this.setIconsState());\n this.emitter.off(['after-filtering'], () => this.closeAll());\n this.emitter.off(['cell-processed'],\n (tf, cellIndex) => this.changeState(cellIndex, true));\n this.emitter.off(['filters-row-inserted'], () => this.buildIcons());\n this.emitter.off(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 596, + "__docId__": 600, "kind": "class", "static": true, "variation": null, @@ -12624,7 +12698,7 @@ ] }, { - "__docId__": 597, + "__docId__": 601, "kind": "constructor", "static": false, "variation": null, @@ -12649,7 +12723,7 @@ "generator": false }, { - "__docId__": 598, + "__docId__": 602, "kind": "member", "static": false, "variation": null, @@ -12669,7 +12743,7 @@ } }, { - "__docId__": 599, + "__docId__": 603, "kind": "member", "static": false, "variation": null, @@ -12689,7 +12763,7 @@ } }, { - "__docId__": 600, + "__docId__": 604, "kind": "member", "static": false, "variation": null, @@ -12709,7 +12783,7 @@ } }, { - "__docId__": 601, + "__docId__": 605, "kind": "member", "static": false, "variation": null, @@ -12729,7 +12803,7 @@ } }, { - "__docId__": 602, + "__docId__": 606, "kind": "member", "static": false, "variation": null, @@ -12749,7 +12823,7 @@ } }, { - "__docId__": 603, + "__docId__": 607, "kind": "member", "static": false, "variation": null, @@ -12769,7 +12843,7 @@ } }, { - "__docId__": 604, + "__docId__": 608, "kind": "member", "static": false, "variation": null, @@ -12789,7 +12863,7 @@ } }, { - "__docId__": 605, + "__docId__": 609, "kind": "member", "static": false, "variation": null, @@ -12809,7 +12883,7 @@ } }, { - "__docId__": 606, + "__docId__": 610, "kind": "member", "static": false, "variation": null, @@ -12829,7 +12903,7 @@ } }, { - "__docId__": 607, + "__docId__": 611, "kind": "member", "static": false, "variation": null, @@ -12849,7 +12923,7 @@ } }, { - "__docId__": 608, + "__docId__": 612, "kind": "member", "static": false, "variation": null, @@ -12869,7 +12943,7 @@ } }, { - "__docId__": 609, + "__docId__": 613, "kind": "member", "static": false, "variation": null, @@ -12889,7 +12963,7 @@ } }, { - "__docId__": 610, + "__docId__": 614, "kind": "member", "static": false, "variation": null, @@ -12909,7 +12983,7 @@ } }, { - "__docId__": 611, + "__docId__": 615, "kind": "member", "static": false, "variation": null, @@ -12929,7 +13003,7 @@ } }, { - "__docId__": 612, + "__docId__": 616, "kind": "member", "static": false, "variation": null, @@ -12949,7 +13023,7 @@ } }, { - "__docId__": 613, + "__docId__": 617, "kind": "member", "static": false, "variation": null, @@ -12969,7 +13043,7 @@ } }, { - "__docId__": 614, + "__docId__": 618, "kind": "method", "static": false, "variation": null, @@ -12990,7 +13064,7 @@ "generator": false }, { - "__docId__": 615, + "__docId__": 619, "kind": "method", "static": false, "variation": null, @@ -13011,7 +13085,7 @@ "generator": false }, { - "__docId__": 616, + "__docId__": 620, "kind": "method", "static": false, "variation": null, @@ -13025,7 +13099,7 @@ "generator": false }, { - "__docId__": 617, + "__docId__": 621, "kind": "member", "static": false, "variation": null, @@ -13048,7 +13122,7 @@ } }, { - "__docId__": 618, + "__docId__": 622, "kind": "method", "static": false, "variation": null, @@ -13062,7 +13136,7 @@ "generator": false }, { - "__docId__": 619, + "__docId__": 623, "kind": "method", "static": false, "variation": null, @@ -13076,7 +13150,7 @@ "generator": false }, { - "__docId__": 620, + "__docId__": 624, "kind": "method", "static": false, "variation": null, @@ -13090,7 +13164,7 @@ "generator": false }, { - "__docId__": 621, + "__docId__": 625, "kind": "method", "static": false, "variation": null, @@ -13125,7 +13199,7 @@ "generator": false }, { - "__docId__": 622, + "__docId__": 626, "kind": "method", "static": false, "variation": null, @@ -13150,7 +13224,7 @@ "generator": false }, { - "__docId__": 623, + "__docId__": 627, "kind": "method", "static": false, "variation": null, @@ -13175,7 +13249,7 @@ "generator": false }, { - "__docId__": 624, + "__docId__": 628, "kind": "member", "static": false, "variation": null, @@ -13193,7 +13267,7 @@ } }, { - "__docId__": 625, + "__docId__": 629, "kind": "method", "static": false, "variation": null, @@ -13218,7 +13292,7 @@ "generator": false }, { - "__docId__": 626, + "__docId__": 630, "kind": "member", "static": false, "variation": null, @@ -13236,7 +13310,7 @@ } }, { - "__docId__": 627, + "__docId__": 631, "kind": "method", "static": false, "variation": null, @@ -13275,7 +13349,7 @@ "generator": false }, { - "__docId__": 628, + "__docId__": 632, "kind": "method", "static": false, "variation": null, @@ -13300,7 +13374,7 @@ "generator": false }, { - "__docId__": 629, + "__docId__": 633, "kind": "method", "static": false, "variation": null, @@ -13314,7 +13388,7 @@ "generator": false }, { - "__docId__": 630, + "__docId__": 634, "kind": "method", "static": false, "variation": null, @@ -13349,7 +13423,7 @@ "generator": false }, { - "__docId__": 631, + "__docId__": 635, "kind": "method", "static": false, "variation": null, @@ -13363,7 +13437,7 @@ "generator": false }, { - "__docId__": 632, + "__docId__": 636, "kind": "member", "static": false, "variation": null, @@ -13381,7 +13455,7 @@ } }, { - "__docId__": 633, + "__docId__": 637, "kind": "member", "static": false, "variation": null, @@ -13399,7 +13473,7 @@ } }, { - "__docId__": 634, + "__docId__": 638, "kind": "member", "static": false, "variation": null, @@ -13417,7 +13491,7 @@ } }, { - "__docId__": 635, + "__docId__": 639, "kind": "member", "static": false, "variation": null, @@ -13435,7 +13509,7 @@ } }, { - "__docId__": 636, + "__docId__": 640, "kind": "member", "static": false, "variation": null, @@ -13453,7 +13527,7 @@ } }, { - "__docId__": 637, + "__docId__": 641, "kind": "file", "static": true, "variation": null, @@ -13466,7 +13540,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn, EMPTY_FN} from '../types';\n\n/**\n * Rows counter UI component\n * @export\n * @class RowsCounter\n * @extends {Feature}\n */\nexport class RowsCounter extends Feature {\n\n /**\n * Creates an instance of RowsCounter\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'rowsCounter');\n\n // TableFilter configuration\n let f = this.config;\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.targetId = f.rows_counter_target_id || null;\n\n /**\n * Container DOM element\n * @type {DOMElement}\n * @private\n */\n this.container = null;\n\n /**\n * Container DOM element for label displaying the total number of rows\n * @type {DOMElement}\n * @private\n */\n this.label = null;\n\n /**\n * Text preceding the total number of rows\n * @type {String}\n */\n this.text = f.rows_counter_text || 'Rows: ';\n\n /**\n * Separator symbol appearing between the first and last visible rows of\n * current page when paging is enabled. ie: Rows: 31-40 / 70\n * @type {String}\n */\n this.fromToTextSeparator = f.from_to_text_separator || '-';\n\n /**\n * Separator symbol appearing between the first and last visible rows of\n * current page and the total number of filterable rows when paging is\n * enabled. ie: Rows: 31-40 / 70\n * @type {String}\n */\n this.overText = f.over_text || ' / ';\n\n /**\n * Css class for container element\n * @type {String}\n */\n this.cssClass = f.tot_rows_css_class || 'tot';\n\n /**\n * Callback fired before the counter is refreshed\n * @type {Function}\n */\n this.onBeforeRefreshCounter = isFn(f.on_before_refresh_counter) ?\n f.on_before_refresh_counter : EMPTY_FN;\n\n /**\n * Callback fired after the counter is refreshed\n * @type {Function}\n */\n this.onAfterRefreshCounter = isFn(f.on_after_refresh_counter) ?\n f.on_after_refresh_counter : EMPTY_FN;\n }\n\n /**\n * Initializes RowsCounter instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n\n //rows counter container\n let countDiv = createElm('div');\n countDiv.className = this.cssClass;\n //rows counter label\n let countSpan = createElm('span');\n let countText = createElm('span');\n countText.appendChild(createText(this.text));\n\n // counter is added to defined element\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = !this.targetId ? tf.lDiv : elm(this.targetId);\n\n //default container: 'lDiv'\n if (!this.targetId) {\n countDiv.appendChild(countText);\n countDiv.appendChild(countSpan);\n targetEl.appendChild(countDiv);\n }\n else {\n //custom container, no need to append statusDiv\n targetEl.appendChild(countText);\n targetEl.appendChild(countSpan);\n }\n this.container = countDiv;\n this.label = countSpan;\n\n // subscribe to events\n this.emitter.on(['after-filtering', 'grouped-by-page'],\n () => this.refresh(tf.getValidRowsNb()));\n this.emitter.on(['rows-changed'], () => this.refresh());\n\n /** @inherited */\n this.initialized = true;\n this.refresh();\n }\n\n /**\n * Refreshes the rows counter\n * @param {Number} p Optional parameter the total number of rows to display\n * @returns\n */\n refresh(p) {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n\n let tf = this.tf;\n\n this.onBeforeRefreshCounter(tf, this.label);\n\n let totTxt;\n if (!tf.paging) {\n if (p && p !== '') {\n totTxt = p;\n } else {\n totTxt = tf.getFilterableRowsNb() - tf.nbHiddenRows;\n }\n } else {\n let paging = tf.feature('paging');\n if (paging) {\n //paging start row\n let pagingStartRow = parseInt(paging.startPagingRow, 10) +\n ((tf.getValidRowsNb() > 0) ? 1 : 0);\n let pagingEndRow =\n (pagingStartRow + paging.pagingLength) - 1 <=\n tf.getValidRowsNb() ?\n pagingStartRow + paging.pagingLength - 1 :\n tf.getValidRowsNb();\n totTxt = pagingStartRow + this.fromToTextSeparator +\n pagingEndRow + this.overText + tf.getValidRowsNb();\n }\n }\n\n this.label.innerHTML = totTxt;\n this.onAfterRefreshCounter(tf, this.label, totTxt);\n }\n\n /**\n * Remove feature\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n if (!this.targetId && this.container) {\n removeElm(this.container);\n } else {\n elm(this.targetId).innerHTML = '';\n }\n this.label = null;\n this.container = null;\n\n // unsubscribe to events\n this.emitter.off(['after-filtering', 'grouped-by-page'],\n () => this.refresh(tf.getValidRowsNb()));\n this.emitter.off(['rows-changed'], () => this.refresh());\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 638, + "__docId__": 642, "kind": "class", "static": true, "variation": null, @@ -13495,7 +13569,7 @@ ] }, { - "__docId__": 639, + "__docId__": 643, "kind": "constructor", "static": false, "variation": null, @@ -13520,7 +13594,7 @@ "generator": false }, { - "__docId__": 640, + "__docId__": 644, "kind": "member", "static": false, "variation": null, @@ -13540,7 +13614,7 @@ } }, { - "__docId__": 641, + "__docId__": 645, "kind": "member", "static": false, "variation": null, @@ -13560,7 +13634,7 @@ } }, { - "__docId__": 642, + "__docId__": 646, "kind": "member", "static": false, "variation": null, @@ -13580,7 +13654,7 @@ } }, { - "__docId__": 643, + "__docId__": 647, "kind": "member", "static": false, "variation": null, @@ -13600,7 +13674,7 @@ } }, { - "__docId__": 644, + "__docId__": 648, "kind": "member", "static": false, "variation": null, @@ -13620,7 +13694,7 @@ } }, { - "__docId__": 645, + "__docId__": 649, "kind": "member", "static": false, "variation": null, @@ -13640,7 +13714,7 @@ } }, { - "__docId__": 646, + "__docId__": 650, "kind": "member", "static": false, "variation": null, @@ -13660,7 +13734,7 @@ } }, { - "__docId__": 647, + "__docId__": 651, "kind": "member", "static": false, "variation": null, @@ -13680,7 +13754,7 @@ } }, { - "__docId__": 648, + "__docId__": 652, "kind": "member", "static": false, "variation": null, @@ -13700,7 +13774,7 @@ } }, { - "__docId__": 649, + "__docId__": 653, "kind": "method", "static": false, "variation": null, @@ -13714,7 +13788,7 @@ "generator": false }, { - "__docId__": 650, + "__docId__": 654, "kind": "member", "static": false, "variation": null, @@ -13732,7 +13806,7 @@ } }, { - "__docId__": 651, + "__docId__": 655, "kind": "member", "static": false, "variation": null, @@ -13750,7 +13824,7 @@ } }, { - "__docId__": 652, + "__docId__": 656, "kind": "member", "static": false, "variation": null, @@ -13773,7 +13847,7 @@ } }, { - "__docId__": 653, + "__docId__": 657, "kind": "method", "static": false, "variation": null, @@ -13804,7 +13878,7 @@ "generator": false }, { - "__docId__": 654, + "__docId__": 658, "kind": "method", "static": false, "variation": null, @@ -13818,7 +13892,7 @@ "generator": false }, { - "__docId__": 655, + "__docId__": 659, "kind": "member", "static": false, "variation": null, @@ -13836,7 +13910,7 @@ } }, { - "__docId__": 656, + "__docId__": 660, "kind": "member", "static": false, "variation": null, @@ -13854,7 +13928,7 @@ } }, { - "__docId__": 657, + "__docId__": 661, "kind": "member", "static": false, "variation": null, @@ -13872,7 +13946,7 @@ } }, { - "__docId__": 658, + "__docId__": 662, "kind": "file", "static": true, "variation": null, @@ -13885,7 +13959,7 @@ "content": "import {Feature} from '../feature';\nimport {Hash} from './hash';\nimport {Storage} from './storage';\nimport {isEmpty} from '../string';\nimport {isArray, isNull, isString, isUndef} from '../types';\n\n/**\n * Features state object persistable with localStorage, cookie or URL hash\n *\n * @export\n * @class State\n * @extends {Feature}\n */\nexport class State extends Feature {\n\n /**\n * Creates an instance of State\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'state');\n\n let cfg = this.config.state;\n\n /**\n * Determines whether state is persisted with URL hash\n * @type {Boolean}\n */\n this.enableHash = cfg === true ||\n (isArray(cfg.types) && cfg.types.indexOf('hash') !== -1);\n\n /**\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n */\n this.enableLocalStorage = isArray(cfg.types) &&\n cfg.types.indexOf('local_storage') !== -1;\n\n /**\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n */\n this.enableCookie = isArray(cfg.types) &&\n cfg.types.indexOf('cookie') !== -1;\n\n /**\n * Persist filters values, enabled by default\n * @type {Boolean}\n */\n this.persistFilters = cfg.filters === false ? false : true;\n\n /**\n * Persist current page number when paging is enabled\n * @type {Boolean}\n */\n this.persistPageNumber = Boolean(cfg.page_number);\n\n /**\n * Persist page length when paging is enabled\n * @type {Boolean}\n */\n this.persistPageLength = Boolean(cfg.page_length);\n\n /**\n * Persist column sorting\n * @type {Boolean}\n */\n this.persistSort = Boolean(cfg.sort);\n\n /**\n * Persist columns visibility\n * @type {Boolean}\n */\n this.persistColsVisibility = Boolean(cfg.columns_visibility);\n\n /**\n * Persist filters row visibility\n * @type {Boolean}\n */\n this.persistFiltersVisibility = Boolean(cfg.filters_visibility);\n\n /**\n * Cookie duration in hours\n * @type {Boolean}\n */\n this.cookieDuration = !isNaN(cfg.cookie_duration) ?\n parseInt(cfg.cookie_duration, 10) : 87600;\n\n /**\n * Enable Storage if localStorage or cookie is required\n * @type {Boolean}\n * @private\n */\n this.enableStorage = this.enableLocalStorage || this.enableCookie;\n\n /**\n * Storage instance if storage is required\n * @type {Storage}\n * @private\n */\n this.storage = null;\n\n /**\n * Hash instance if URL hash is required\n * @type {Boolean}\n * @private\n */\n this.hash = null;\n\n /**\n * Current page number\n * @type {Number}\n * @private\n */\n this.pageNb = null;\n\n /**\n * Current page length\n * @type {Number}\n * @private\n */\n this.pageLength = null;\n\n /**\n * Current column sorting\n * @type {Object}\n * @private\n */\n this.sort = null;\n\n /**\n * Current hidden columns\n * @type {Object}\n * @private\n */\n this.hiddenCols = null;\n\n /**\n * Filters row visibility\n * @type {Boolean}\n * @private\n */\n this.filtersVisibility = null;\n\n /**\n * State object\n * @type {Object}\n * @private\n */\n this.state = {};\n\n /**\n * Prefix for column ID\n * @type {String}\n * @private\n */\n this.prfxCol = 'col_';\n\n /**\n * Prefix for page number ID\n * @type {String}\n * @private\n */\n this.pageNbKey = 'page';\n\n /**\n * Prefix for page length ID\n * @type {String}\n * @private\n */\n this.pageLengthKey = 'page_length';\n\n /**\n * Prefix for filters visibility ID\n * @type {String}\n * @private\n */\n this.filtersVisKey = 'filters_visibility';\n }\n\n /**\n * Initializes State instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n this.emitter.on(['after-filtering'], () => this.update());\n this.emitter.on(['after-page-change', 'after-clearing-filters'],\n (tf, pageNb) => this.updatePage(pageNb));\n this.emitter.on(['after-page-length-change'],\n (tf, pageLength) => this.updatePageLength(pageLength));\n this.emitter.on(['column-sorted'],\n (tf, index, descending) => this.updateSort(index, descending));\n this.emitter.on(['sort-initialized'], () => this._syncSort());\n this.emitter.on(['columns-visibility-initialized'],\n () => this._syncColsVisibility());\n this.emitter.on(['column-shown', 'column-hidden'], (tf, feature,\n colIndex, hiddenCols) => this.updateColsVisibility(hiddenCols));\n this.emitter.on(['filters-visibility-initialized'],\n () => this._syncFiltersVisibility());\n this.emitter.on(['filters-toggled'],\n (tf, extension, visible) => this.updateFiltersVisibility(visible));\n\n if (this.enableHash) {\n this.hash = new Hash(this);\n this.hash.init();\n }\n if (this.enableStorage) {\n this.storage = new Storage(this);\n this.storage.init();\n }\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n\n /**\n * Update state object based on current features state\n */\n update() {\n if (!this.isEnabled()) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n\n if (this.persistFilters) {\n let filterValues = tf.getFiltersValue();\n\n filterValues.forEach((val, idx) => {\n let key = `${this.prfxCol}${idx}`;\n\n if (isString(val) && isEmpty(val)) {\n if (state.hasOwnProperty(key)) {\n state[key].flt = undefined;\n }\n } else {\n state[key] = state[key] || {};\n state[key].flt = val;\n }\n });\n }\n\n if (this.persistPageNumber) {\n if (isNull(this.pageNb)) {\n state[this.pageNbKey] = undefined;\n } else {\n state[this.pageNbKey] = this.pageNb;\n }\n }\n\n if (this.persistPageLength) {\n if (isNull(this.pageLength)) {\n state[this.pageLengthKey] = undefined;\n } else {\n state[this.pageLengthKey] = this.pageLength;\n }\n }\n\n if (this.persistSort) {\n if (!isNull(this.sort)) {\n // Remove previuosly sorted column\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1 && state[key]) {\n state[key].sort = undefined;\n }\n });\n\n let key = `${this.prfxCol}${this.sort.column}`;\n state[key] = state[key] || {};\n state[key].sort = { descending: this.sort.descending };\n }\n }\n\n if (this.persistColsVisibility) {\n if (!isNull(this.hiddenCols)) {\n // Clear previuosly hidden columns\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1 && state[key]) {\n state[key].hidden = undefined;\n }\n });\n\n this.hiddenCols.forEach((colIdx) => {\n let key = `${this.prfxCol}${colIdx}`;\n state[key] = state[key] || {};\n state[key].hidden = true;\n });\n }\n }\n\n if (this.persistFiltersVisibility) {\n if (isNull(this.filtersVisibility)) {\n state[this.filtersVisKey] = undefined;\n } else {\n state[this.filtersVisKey] = this.filtersVisibility;\n }\n }\n\n this.emitter.emit('state-changed', tf, state);\n }\n\n /**\n * Refresh page number field on page number changes\n *\n * @param {Number} pageNb Current page number\n */\n updatePage(pageNb) {\n this.pageNb = pageNb;\n this.update();\n }\n\n /**\n * Refresh page length field on page length changes\n *\n * @param {Number} pageLength Current page length value\n */\n updatePageLength(pageLength) {\n this.pageLength = pageLength;\n this.update();\n }\n\n /**\n * Refresh column sorting information on sort changes\n *\n * @param index {Number} Column index\n * @param {Boolean} descending Descending manner\n */\n updateSort(index, descending) {\n this.sort = {\n column: index,\n descending: descending\n };\n this.update();\n }\n\n /**\n * Refresh hidden columns information on columns visibility changes\n *\n * @param {Array} hiddenCols Columns indexes\n */\n updateColsVisibility(hiddenCols) {\n this.hiddenCols = hiddenCols;\n this.update();\n }\n\n /**\n * Refresh filters visibility on filters visibility change\n *\n * @param {Boolean} visible Visibility flad\n */\n updateFiltersVisibility(visible) {\n this.filtersVisibility = visible;\n this.update();\n }\n\n /**\n * Override state field\n *\n * @param state State object\n */\n override(state) {\n this.state = state;\n }\n\n /**\n * Sync stored features state\n */\n sync() {\n let state = this.state;\n let tf = this.tf;\n\n this._syncFilters();\n\n if (this.persistPageNumber) {\n let pageNumber = state[this.pageNbKey];\n this.emitter.emit('change-page', tf, pageNumber);\n }\n\n if (this.persistPageLength) {\n let pageLength = state[this.pageLengthKey];\n this.emitter.emit('change-page-results', tf, pageLength);\n }\n\n this._syncSort();\n this._syncColsVisibility();\n this._syncFiltersVisibility();\n }\n\n /**\n * Override current state with passed one and sync features\n *\n * @param {Object} state State object\n */\n overrideAndSync(state) {\n // To prevent state to react to features changes, state is temporarily\n // disabled\n this.disable();\n // State is overriden with passed state object\n this.override(state);\n // New hash state is applied to features\n this.sync();\n // State is re-enabled\n this.enable();\n }\n\n /**\n * Sync filters with stored values and filter table\n *\n * @private\n */\n _syncFilters() {\n if (!this.persistFilters) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1) {\n let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);\n let val = state[key].flt;\n tf.setFilterValue(colIdx, val);\n }\n });\n\n tf.filter();\n }\n\n /**\n * Sync sorted column with stored sorting information and sort table\n *\n * @private\n */\n _syncSort() {\n if (!this.persistSort) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1) {\n let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);\n if (!isUndef(state[key].sort)) {\n let sort = state[key].sort;\n this.emitter.emit('sort', tf, colIdx, sort.descending);\n }\n }\n });\n }\n\n /**\n * Sync hidden columns with stored information\n *\n * @private\n */\n _syncColsVisibility() {\n if (!this.persistColsVisibility) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n let hiddenCols = [];\n\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1) {\n let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);\n if (!isUndef(state[key].hidden)) {\n hiddenCols.push(colIdx);\n }\n }\n });\n\n hiddenCols.forEach((colIdx) => {\n this.emitter.emit('hide-column', tf, colIdx);\n });\n }\n\n /**\n * Sync filters visibility with stored information\n *\n * @private\n */\n _syncFiltersVisibility() {\n if (!this.persistFiltersVisibility) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n let filtersVisibility = state[this.filtersVisKey];\n\n this.filtersVisibility = filtersVisibility;\n this.emitter.emit('show-filters', tf, filtersVisibility);\n }\n\n /**\n * Destroy State instance\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n this.state = {};\n\n this.emitter.off(['after-filtering'], () => this.update());\n this.emitter.off(['after-page-change', 'after-clearing-filters'],\n (tf, pageNb) => this.updatePage(pageNb));\n this.emitter.off(['after-page-length-change'],\n (tf, index) => this.updatePageLength(index));\n this.emitter.off(['column-sorted'],\n (tf, index, descending) => this.updateSort(index, descending));\n this.emitter.off(['sort-initialized'], () => this._syncSort());\n this.emitter.off(['columns-visibility-initialized'],\n () => this._syncColsVisibility());\n this.emitter.off(['column-shown', 'column-hidden'], (tf, feature,\n colIndex, hiddenCols) => this.updateColsVisibility(hiddenCols));\n this.emitter.off(['filters-visibility-initialized'],\n () => this._syncFiltersVisibility());\n this.emitter.off(['filters-toggled'],\n (tf, extension, visible) => this.updateFiltersVisibility(visible));\n\n if (this.enableHash) {\n this.hash.destroy();\n this.hash = null;\n }\n\n if (this.enableStorage) {\n this.storage.destroy();\n this.storage = null;\n }\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 659, + "__docId__": 663, "kind": "class", "static": true, "variation": null, @@ -13914,7 +13988,7 @@ ] }, { - "__docId__": 660, + "__docId__": 664, "kind": "constructor", "static": false, "variation": null, @@ -13939,7 +14013,7 @@ "generator": false }, { - "__docId__": 661, + "__docId__": 665, "kind": "member", "static": false, "variation": null, @@ -13959,7 +14033,7 @@ } }, { - "__docId__": 662, + "__docId__": 666, "kind": "member", "static": false, "variation": null, @@ -13979,7 +14053,7 @@ } }, { - "__docId__": 663, + "__docId__": 667, "kind": "member", "static": false, "variation": null, @@ -13999,7 +14073,7 @@ } }, { - "__docId__": 664, + "__docId__": 668, "kind": "member", "static": false, "variation": null, @@ -14019,7 +14093,7 @@ } }, { - "__docId__": 665, + "__docId__": 669, "kind": "member", "static": false, "variation": null, @@ -14039,7 +14113,7 @@ } }, { - "__docId__": 666, + "__docId__": 670, "kind": "member", "static": false, "variation": null, @@ -14059,7 +14133,7 @@ } }, { - "__docId__": 667, + "__docId__": 671, "kind": "member", "static": false, "variation": null, @@ -14079,7 +14153,7 @@ } }, { - "__docId__": 668, + "__docId__": 672, "kind": "member", "static": false, "variation": null, @@ -14099,7 +14173,7 @@ } }, { - "__docId__": 669, + "__docId__": 673, "kind": "member", "static": false, "variation": null, @@ -14119,7 +14193,7 @@ } }, { - "__docId__": 670, + "__docId__": 674, "kind": "member", "static": false, "variation": null, @@ -14139,7 +14213,7 @@ } }, { - "__docId__": 671, + "__docId__": 675, "kind": "member", "static": false, "variation": null, @@ -14159,7 +14233,7 @@ } }, { - "__docId__": 672, + "__docId__": 676, "kind": "member", "static": false, "variation": null, @@ -14179,7 +14253,7 @@ } }, { - "__docId__": 673, + "__docId__": 677, "kind": "member", "static": false, "variation": null, @@ -14199,7 +14273,7 @@ } }, { - "__docId__": 674, + "__docId__": 678, "kind": "member", "static": false, "variation": null, @@ -14219,7 +14293,7 @@ } }, { - "__docId__": 675, + "__docId__": 679, "kind": "member", "static": false, "variation": null, @@ -14239,7 +14313,7 @@ } }, { - "__docId__": 676, + "__docId__": 680, "kind": "member", "static": false, "variation": null, @@ -14259,7 +14333,7 @@ } }, { - "__docId__": 677, + "__docId__": 681, "kind": "member", "static": false, "variation": null, @@ -14279,7 +14353,7 @@ } }, { - "__docId__": 678, + "__docId__": 682, "kind": "member", "static": false, "variation": null, @@ -14299,7 +14373,7 @@ } }, { - "__docId__": 679, + "__docId__": 683, "kind": "member", "static": false, "variation": null, @@ -14319,7 +14393,7 @@ } }, { - "__docId__": 680, + "__docId__": 684, "kind": "member", "static": false, "variation": null, @@ -14339,7 +14413,7 @@ } }, { - "__docId__": 681, + "__docId__": 685, "kind": "member", "static": false, "variation": null, @@ -14359,7 +14433,7 @@ } }, { - "__docId__": 682, + "__docId__": 686, "kind": "member", "static": false, "variation": null, @@ -14379,7 +14453,7 @@ } }, { - "__docId__": 683, + "__docId__": 687, "kind": "member", "static": false, "variation": null, @@ -14399,7 +14473,7 @@ } }, { - "__docId__": 684, + "__docId__": 688, "kind": "method", "static": false, "variation": null, @@ -14413,7 +14487,7 @@ "generator": false }, { - "__docId__": 685, + "__docId__": 689, "kind": "member", "static": false, "variation": null, @@ -14431,7 +14505,7 @@ } }, { - "__docId__": 686, + "__docId__": 690, "kind": "member", "static": false, "variation": null, @@ -14449,7 +14523,7 @@ } }, { - "__docId__": 687, + "__docId__": 691, "kind": "member", "static": false, "variation": null, @@ -14472,7 +14546,7 @@ } }, { - "__docId__": 688, + "__docId__": 692, "kind": "method", "static": false, "variation": null, @@ -14486,7 +14560,7 @@ "generator": false }, { - "__docId__": 689, + "__docId__": 693, "kind": "method", "static": false, "variation": null, @@ -14511,7 +14585,7 @@ "generator": false }, { - "__docId__": 690, + "__docId__": 694, "kind": "member", "static": false, "variation": null, @@ -14529,7 +14603,7 @@ } }, { - "__docId__": 691, + "__docId__": 695, "kind": "method", "static": false, "variation": null, @@ -14554,7 +14628,7 @@ "generator": false }, { - "__docId__": 692, + "__docId__": 696, "kind": "member", "static": false, "variation": null, @@ -14572,7 +14646,7 @@ } }, { - "__docId__": 693, + "__docId__": 697, "kind": "method", "static": false, "variation": null, @@ -14607,7 +14681,7 @@ "generator": false }, { - "__docId__": 694, + "__docId__": 698, "kind": "member", "static": false, "variation": null, @@ -14625,7 +14699,7 @@ } }, { - "__docId__": 695, + "__docId__": 699, "kind": "method", "static": false, "variation": null, @@ -14650,7 +14724,7 @@ "generator": false }, { - "__docId__": 696, + "__docId__": 700, "kind": "member", "static": false, "variation": null, @@ -14668,7 +14742,7 @@ } }, { - "__docId__": 697, + "__docId__": 701, "kind": "method", "static": false, "variation": null, @@ -14693,7 +14767,7 @@ "generator": false }, { - "__docId__": 698, + "__docId__": 702, "kind": "member", "static": false, "variation": null, @@ -14711,7 +14785,7 @@ } }, { - "__docId__": 699, + "__docId__": 703, "kind": "method", "static": false, "variation": null, @@ -14736,7 +14810,7 @@ "generator": false }, { - "__docId__": 700, + "__docId__": 704, "kind": "member", "static": false, "variation": null, @@ -14754,7 +14828,7 @@ } }, { - "__docId__": 701, + "__docId__": 705, "kind": "method", "static": false, "variation": null, @@ -14768,7 +14842,7 @@ "generator": false }, { - "__docId__": 702, + "__docId__": 706, "kind": "method", "static": false, "variation": null, @@ -14793,7 +14867,7 @@ "generator": false }, { - "__docId__": 703, + "__docId__": 707, "kind": "method", "static": false, "variation": null, @@ -14807,7 +14881,7 @@ "generator": false }, { - "__docId__": 704, + "__docId__": 708, "kind": "method", "static": false, "variation": null, @@ -14821,7 +14895,7 @@ "generator": false }, { - "__docId__": 705, + "__docId__": 709, "kind": "method", "static": false, "variation": null, @@ -14835,7 +14909,7 @@ "generator": false }, { - "__docId__": 706, + "__docId__": 710, "kind": "method", "static": false, "variation": null, @@ -14849,7 +14923,7 @@ "generator": false }, { - "__docId__": 707, + "__docId__": 711, "kind": "member", "static": false, "variation": null, @@ -14867,7 +14941,7 @@ } }, { - "__docId__": 708, + "__docId__": 712, "kind": "method", "static": false, "variation": null, @@ -14881,7 +14955,7 @@ "generator": false }, { - "__docId__": 709, + "__docId__": 713, "kind": "member", "static": false, "variation": null, @@ -14899,7 +14973,7 @@ } }, { - "__docId__": 710, + "__docId__": 714, "kind": "member", "static": false, "variation": null, @@ -14917,7 +14991,7 @@ } }, { - "__docId__": 711, + "__docId__": 715, "kind": "member", "static": false, "variation": null, @@ -14935,7 +15009,7 @@ } }, { - "__docId__": 712, + "__docId__": 716, "kind": "member", "static": false, "variation": null, @@ -14953,7 +15027,7 @@ } }, { - "__docId__": 713, + "__docId__": 717, "kind": "file", "static": true, "variation": null, @@ -14966,7 +15040,7 @@ "content": "import {Feature} from '../feature';\nimport {root} from '../root';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn, EMPTY_FN} from '../types';\n\nconst EVENTS = [\n 'after-filtering',\n 'after-populating-filter',\n 'after-page-change',\n 'after-clearing-filters',\n 'after-page-length-change',\n 'after-reset-page',\n 'after-reset-page-length',\n 'after-loading-extensions',\n 'after-loading-themes'\n];\n\n/**\n * Status bar UI component\n * @export\n * @class StatusBar\n * @extends {Feature}\n */\nexport class StatusBar extends Feature {\n\n /**\n * Creates an instance of StatusBar\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'statusBar');\n\n // Configuration object\n let f = this.config;\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.targetId = f.status_bar_target_id || null;\n\n /**\n * Container DOM element\n * @type {DOMElement}\n * @private\n */\n this.container = null;\n\n /**\n * Message container DOM element\n * @type {DOMElement}\n * @private\n */\n this.msgContainer = null;\n\n /**\n * Label container DOM element\n * @type {DOMElement}\n * @private\n */\n this.labelContainer = null;\n\n /**\n * Text preceding status message\n * @type {String}\n */\n this.text = f.status_bar_text || '';\n\n /**\n * Css class for container element\n * @type {String}\n */\n this.cssClass = f.status_bar_css_class || 'status';\n\n /**\n * Message visibility duration in milliseconds\n * @type {Number}\n * @private\n */\n this.delay = 250;\n\n /**\n * Callback fired before the message is displayed\n * @type {Function}\n */\n this.onBeforeShowMsg = isFn(f.on_before_show_msg) ?\n f.on_before_show_msg : EMPTY_FN;\n\n /**\n * Callback fired after the message is displayed\n * @type {Function}\n */\n this.onAfterShowMsg = isFn(f.on_after_show_msg) ?\n f.on_after_show_msg : EMPTY_FN;\n\n /**\n * Message appearing upon filtering\n * @type {String}\n */\n this.msgFilter = f.msg_filter || 'Filtering data...';\n\n /**\n * Message appearing when a drop-down filter is populated\n * @type {String}\n */\n this.msgPopulate = f.msg_populate || 'Populating filter...';\n\n /**\n * Message appearing when a checklist filter is populated\n * @type {String}\n */\n this.msgPopulateCheckList = f.msg_populate_checklist ||\n 'Populating list...';\n\n /**\n * Message appearing when a pagination page is changed\n * @type {String}\n */\n this.msgChangePage = f.msg_change_page || 'Collecting paging data...';\n\n /**\n * Message appearing when filters are cleared\n * @type {String}\n */\n this.msgClear = f.msg_clear || 'Clearing filters...';\n\n /**\n * Message appearing when the page length is changed\n * @type {String}\n */\n this.msgChangeResults = f.msg_change_results ||\n 'Changing results per page...';\n\n /**\n * Message appearing when the page is re-set\n * @type {String}\n */\n this.msgResetPage = f.msg_reset_page || 'Re-setting page...';\n\n /**\n * Message appearing when the page length is re-set\n * @type {String}\n */\n this.msgResetPageLength = f.msg_reset_page_length ||\n 'Re-setting page length...';\n\n /**\n * Message appearing upon column sorting\n * @type {String}\n */\n this.msgSort = f.msg_sort || 'Sorting data...';\n\n /**\n * Message appearing when extensions are loading\n * @type {String}\n */\n this.msgLoadExtensions = f.msg_load_extensions ||\n 'Loading extensions...';\n\n /**\n * Message appearing when themes are loading\n * @type {String}\n */\n this.msgLoadThemes = f.msg_load_themes || 'Loading theme(s)...';\n }\n\n /**\n * Initializes StatusBar instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n let emitter = this.emitter;\n\n //status bar container\n let statusDiv = createElm('div');\n statusDiv.className = this.cssClass;\n\n //status bar label\n let statusSpan = createElm('span');\n //preceding text\n let statusSpanText = createElm('span');\n statusSpanText.appendChild(createText(this.text));\n\n // target element container\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = (!this.targetId) ? tf.lDiv : elm(this.targetId);\n\n //default container: 'lDiv'\n if (!this.targetId) {\n statusDiv.appendChild(statusSpanText);\n statusDiv.appendChild(statusSpan);\n targetEl.appendChild(statusDiv);\n } else {\n // custom container, no need to append statusDiv\n targetEl.appendChild(statusSpanText);\n targetEl.appendChild(statusSpan);\n }\n\n this.container = statusDiv;\n this.msgContainer = statusSpan;\n this.labelContainer = statusSpanText;\n\n // Subscribe to events\n emitter.on(['before-filtering'], () => this.message(this.msgFilter));\n emitter.on(['before-populating-filter'],\n () => this.message(this.msgPopulate));\n emitter.on(['before-page-change'],\n () => this.message(this.msgChangePage));\n emitter.on(['before-clearing-filters'], () =>\n this.message(this.msgClear));\n emitter.on(['before-page-length-change'],\n () => this.message(this.msgChangeResults));\n emitter.on(['before-reset-page'],\n () => this.message(this.msgResetPage));\n emitter.on(['before-reset-page-length'],\n () => this.message(this.msgResetPageLength));\n emitter.on(['before-loading-extensions'],\n () => this.message(this.msgLoadExtensions));\n emitter.on(['before-loading-themes'],\n () => this.message(this.msgLoadThemes));\n\n emitter.on(EVENTS, () => this.message(''));\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Display status message\n * @param {String} [t=''] Message to be displayed\n */\n message(t = '') {\n if (!this.isEnabled()) {\n return;\n }\n\n this.onBeforeShowMsg(this.tf, t);\n\n let d = t === '' ? this.delay : 1;\n root.setTimeout(() => {\n if (!this.initialized) {\n return;\n }\n this.msgContainer.innerHTML = t;\n\n this.onAfterShowMsg(this.tf, t);\n }, d);\n }\n\n /**\n * Destroy StatusBar instance\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let emitter = this.emitter;\n\n this.container.innerHTML = '';\n if (!this.targetId) {\n removeElm(this.container);\n }\n this.labelContainer = null;\n this.msgContainer = null;\n this.container = null;\n\n // Unsubscribe to events\n emitter.off(['before-filtering'], () => this.message(this.msgFilter));\n emitter.off(['before-populating-filter'],\n () => this.message(this.msgPopulate));\n emitter.off(['before-page-change'],\n () => this.message(this.msgChangePage));\n emitter.off(['before-clearing-filters'],\n () => this.message(this.msgClear));\n emitter.off(['before-page-length-change'],\n () => this.message(this.msgChangeResults));\n emitter.off(['before-reset-page'], () =>\n this.message(this.msgResetPage));\n emitter.off(['before-reset-page-length'],\n () => this.message(this.msgResetPageLength));\n emitter.off(['before-loading-extensions'],\n () => this.message(this.msgLoadExtensions));\n emitter.off(['before-loading-themes'],\n () => this.message(this.msgLoadThemes));\n\n emitter.off(EVENTS, () => this.message(''));\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 714, + "__docId__": 718, "kind": "variable", "static": true, "variation": null, @@ -14987,7 +15061,7 @@ } }, { - "__docId__": 715, + "__docId__": 719, "kind": "class", "static": true, "variation": null, @@ -15016,7 +15090,7 @@ ] }, { - "__docId__": 716, + "__docId__": 720, "kind": "constructor", "static": false, "variation": null, @@ -15041,7 +15115,7 @@ "generator": false }, { - "__docId__": 717, + "__docId__": 721, "kind": "member", "static": false, "variation": null, @@ -15061,7 +15135,7 @@ } }, { - "__docId__": 718, + "__docId__": 722, "kind": "member", "static": false, "variation": null, @@ -15081,7 +15155,7 @@ } }, { - "__docId__": 719, + "__docId__": 723, "kind": "member", "static": false, "variation": null, @@ -15101,7 +15175,7 @@ } }, { - "__docId__": 720, + "__docId__": 724, "kind": "member", "static": false, "variation": null, @@ -15121,7 +15195,7 @@ } }, { - "__docId__": 721, + "__docId__": 725, "kind": "member", "static": false, "variation": null, @@ -15141,7 +15215,7 @@ } }, { - "__docId__": 722, + "__docId__": 726, "kind": "member", "static": false, "variation": null, @@ -15161,7 +15235,7 @@ } }, { - "__docId__": 723, + "__docId__": 727, "kind": "member", "static": false, "variation": null, @@ -15181,7 +15255,7 @@ } }, { - "__docId__": 724, + "__docId__": 728, "kind": "member", "static": false, "variation": null, @@ -15201,7 +15275,7 @@ } }, { - "__docId__": 725, + "__docId__": 729, "kind": "member", "static": false, "variation": null, @@ -15221,7 +15295,7 @@ } }, { - "__docId__": 726, + "__docId__": 730, "kind": "member", "static": false, "variation": null, @@ -15241,7 +15315,7 @@ } }, { - "__docId__": 727, + "__docId__": 731, "kind": "member", "static": false, "variation": null, @@ -15261,7 +15335,7 @@ } }, { - "__docId__": 728, + "__docId__": 732, "kind": "member", "static": false, "variation": null, @@ -15281,7 +15355,7 @@ } }, { - "__docId__": 729, + "__docId__": 733, "kind": "member", "static": false, "variation": null, @@ -15301,7 +15375,7 @@ } }, { - "__docId__": 730, + "__docId__": 734, "kind": "member", "static": false, "variation": null, @@ -15321,7 +15395,7 @@ } }, { - "__docId__": 731, + "__docId__": 735, "kind": "member", "static": false, "variation": null, @@ -15341,7 +15415,7 @@ } }, { - "__docId__": 732, + "__docId__": 736, "kind": "member", "static": false, "variation": null, @@ -15361,7 +15435,7 @@ } }, { - "__docId__": 733, + "__docId__": 737, "kind": "member", "static": false, "variation": null, @@ -15381,7 +15455,7 @@ } }, { - "__docId__": 734, + "__docId__": 738, "kind": "member", "static": false, "variation": null, @@ -15401,7 +15475,7 @@ } }, { - "__docId__": 735, + "__docId__": 739, "kind": "member", "static": false, "variation": null, @@ -15421,7 +15495,7 @@ } }, { - "__docId__": 736, + "__docId__": 740, "kind": "member", "static": false, "variation": null, @@ -15441,7 +15515,7 @@ } }, { - "__docId__": 737, + "__docId__": 741, "kind": "method", "static": false, "variation": null, @@ -15455,7 +15529,7 @@ "generator": false }, { - "__docId__": 738, + "__docId__": 742, "kind": "member", "static": false, "variation": null, @@ -15473,7 +15547,7 @@ } }, { - "__docId__": 739, + "__docId__": 743, "kind": "member", "static": false, "variation": null, @@ -15491,7 +15565,7 @@ } }, { - "__docId__": 740, + "__docId__": 744, "kind": "member", "static": false, "variation": null, @@ -15509,7 +15583,7 @@ } }, { - "__docId__": 741, + "__docId__": 745, "kind": "member", "static": false, "variation": null, @@ -15532,7 +15606,7 @@ } }, { - "__docId__": 742, + "__docId__": 746, "kind": "method", "static": false, "variation": null, @@ -15559,7 +15633,7 @@ "generator": false }, { - "__docId__": 743, + "__docId__": 747, "kind": "method", "static": false, "variation": null, @@ -15573,7 +15647,7 @@ "generator": false }, { - "__docId__": 744, + "__docId__": 748, "kind": "member", "static": false, "variation": null, @@ -15591,7 +15665,7 @@ } }, { - "__docId__": 745, + "__docId__": 749, "kind": "member", "static": false, "variation": null, @@ -15609,7 +15683,7 @@ } }, { - "__docId__": 746, + "__docId__": 750, "kind": "member", "static": false, "variation": null, @@ -15627,7 +15701,7 @@ } }, { - "__docId__": 747, + "__docId__": 751, "kind": "member", "static": false, "variation": null, @@ -15645,7 +15719,7 @@ } }, { - "__docId__": 748, + "__docId__": 752, "kind": "file", "static": true, "variation": null, @@ -15658,7 +15732,7 @@ "content": "\nimport Cookie from '../cookie';\nimport {root} from '../root';\n\nconst JSON = root.JSON;\nconst localStorage = root.localStorage;\nconst location = root.location;\n\n/**\n * Checks if browser has Storage feature\n */\nexport const hasStorage = () => {\n return 'Storage' in root;\n};\n\n/**\n * Stores the features state in browser's local storage or cookie\n *\n * @export\n * @class Storage\n */\nexport class Storage {\n\n /**\n * Creates an instance of Storage\n *\n * @param {State} state Instance of State\n */\n constructor(state) {\n\n /**\n * State object\n * @type {State}\n * @private\n */\n this.state = state;\n\n /**\n * TableFilter object\n * @type {TableFilter}\n * @private\n */\n this.tf = state.tf;\n\n /**\n * Persist with local storage\n * @type {Boolean}\n * @private\n */\n this.enableLocalStorage = state.enableLocalStorage && hasStorage();\n\n /**\n * Persist with cookie\n * @type {Boolean}\n * @private\n */\n this.enableCookie = state.enableCookie && !this.enableLocalStorage;\n\n /**\n * Emitter object\n * @type {Emitter}\n * @private\n */\n this.emitter = state.emitter;\n\n /**\n * Cookie duration in hours from state object\n * @type {Number}\n * @private\n */\n this.duration = state.cookieDuration;\n }\n\n\n /**\n * Initializes the Storage object\n */\n init() {\n this.emitter.on(['state-changed'], (tf, state) => this.save(state));\n this.emitter.on(['initialized'], () => this.sync());\n }\n\n /**\n * Persists the features state on state changes\n *\n * @param {State} state Instance of State\n */\n save(state) {\n if (this.enableLocalStorage) {\n localStorage[this.getKey()] = JSON.stringify(state);\n } else {\n Cookie.write(this.getKey(), JSON.stringify(state), this.duration);\n }\n }\n\n /**\n * Turns stored string into a State JSON object\n *\n * @returns {Object} JSON object\n */\n retrieve() {\n let state = null;\n if (this.enableLocalStorage) {\n state = localStorage[this.getKey()];\n } else {\n state = Cookie.read(this.getKey());\n }\n\n if (!state) {\n return null;\n }\n return JSON.parse(state);\n }\n\n /**\n * Removes persisted state from storage\n */\n remove() {\n if (this.enableLocalStorage) {\n localStorage.removeItem(this.getKey());\n } else {\n Cookie.remove(this.getKey());\n }\n }\n\n /**\n * Applies persisted state to features\n */\n sync() {\n let state = this.retrieve();\n if (!state) {\n return;\n }\n // override current state with persisted one and sync features\n this.state.overrideAndSync(state);\n }\n\n /**\n * Returns the storage key\n *\n * @returns {String} Key\n */\n getKey() {\n return JSON.stringify({\n key: `${this.tf.prfxTf}_${this.tf.id}`,\n path: location.pathname\n });\n }\n\n /**\n * Release Storage event subscriptions and clear fields\n */\n destroy() {\n this.emitter.off(['state-changed'], (tf, state) => this.save(state));\n this.emitter.off(['initialized'], () => this.sync());\n\n this.remove();\n\n this.state = null;\n this.emitter = null;\n }\n}\n" }, { - "__docId__": 749, + "__docId__": 753, "kind": "variable", "static": true, "variation": null, @@ -15679,7 +15753,7 @@ } }, { - "__docId__": 750, + "__docId__": 754, "kind": "variable", "static": true, "variation": null, @@ -15700,7 +15774,7 @@ } }, { - "__docId__": 751, + "__docId__": 755, "kind": "variable", "static": true, "variation": null, @@ -15721,7 +15795,7 @@ } }, { - "__docId__": 752, + "__docId__": 756, "kind": "variable", "static": true, "variation": null, @@ -15741,7 +15815,7 @@ } }, { - "__docId__": 753, + "__docId__": 757, "kind": "class", "static": true, "variation": null, @@ -15767,7 +15841,7 @@ "interface": false }, { - "__docId__": 754, + "__docId__": 758, "kind": "constructor", "static": false, "variation": null, @@ -15792,7 +15866,7 @@ "generator": false }, { - "__docId__": 755, + "__docId__": 759, "kind": "member", "static": false, "variation": null, @@ -15812,7 +15886,7 @@ } }, { - "__docId__": 756, + "__docId__": 760, "kind": "member", "static": false, "variation": null, @@ -15832,7 +15906,7 @@ } }, { - "__docId__": 757, + "__docId__": 761, "kind": "member", "static": false, "variation": null, @@ -15852,7 +15926,7 @@ } }, { - "__docId__": 758, + "__docId__": 762, "kind": "member", "static": false, "variation": null, @@ -15872,7 +15946,7 @@ } }, { - "__docId__": 759, + "__docId__": 763, "kind": "member", "static": false, "variation": null, @@ -15892,7 +15966,7 @@ } }, { - "__docId__": 760, + "__docId__": 764, "kind": "member", "static": false, "variation": null, @@ -15912,7 +15986,7 @@ } }, { - "__docId__": 761, + "__docId__": 765, "kind": "method", "static": false, "variation": null, @@ -15926,7 +16000,7 @@ "generator": false }, { - "__docId__": 762, + "__docId__": 766, "kind": "method", "static": false, "variation": null, @@ -15951,7 +16025,7 @@ "generator": false }, { - "__docId__": 763, + "__docId__": 767, "kind": "method", "static": false, "variation": null, @@ -15979,7 +16053,7 @@ "generator": false }, { - "__docId__": 764, + "__docId__": 768, "kind": "method", "static": false, "variation": null, @@ -15993,7 +16067,7 @@ "generator": false }, { - "__docId__": 765, + "__docId__": 769, "kind": "method", "static": false, "variation": null, @@ -16007,7 +16081,7 @@ "generator": false }, { - "__docId__": 766, + "__docId__": 770, "kind": "method", "static": false, "variation": null, @@ -16035,7 +16109,7 @@ "generator": false }, { - "__docId__": 767, + "__docId__": 771, "kind": "method", "static": false, "variation": null, @@ -16049,7 +16123,7 @@ "generator": false }, { - "__docId__": 768, + "__docId__": 772, "kind": "member", "static": false, "variation": null, @@ -16067,7 +16141,7 @@ } }, { - "__docId__": 769, + "__docId__": 773, "kind": "member", "static": false, "variation": null, @@ -16085,7 +16159,7 @@ } }, { - "__docId__": 770, + "__docId__": 774, "kind": "file", "static": true, "variation": null, @@ -16098,7 +16172,7 @@ "content": "import {isNumber} from './types';\n\n/**\n * Takes a string, removes all formatting/cruft and returns the raw float value\n * @param {String} Formatted number\n * @param {String} Decimal type '.' or ','\n * @return {Number} Unformatted number\n *\n * https://github.com/openexchangerates/accounting.js/blob/master/accounting.js\n */\nexport const parse = (value, decimal = '.') => {\n // Return the value as-is if it's already a number\n if (isNumber(value)) {\n return value;\n }\n\n // Build regex to strip out everything except digits, decimal point and\n // minus sign\n let regex = new RegExp('[^0-9-' + decimal + ']', ['g']);\n let unformatted = parseFloat(\n ('' + value)\n .replace(/\\((.*)\\)/, '-$1') // replace bracketed values with negatives\n .replace(regex, '') // strip out any cruft\n .replace(decimal, '.') // make sure decimal point is standard\n );\n\n // This will fail silently\n return !isNaN(unformatted) ? unformatted : 0;\n}\n" }, { - "__docId__": 771, + "__docId__": 775, "kind": "variable", "static": true, "variation": null, @@ -16148,7 +16222,7 @@ } }, { - "__docId__": 772, + "__docId__": 776, "kind": "file", "static": true, "variation": null, @@ -16161,7 +16235,7 @@ "content": "/**\n * Export window or global object depending on the environment\n */\nexport const root = (typeof self === 'object' && self.self === self && self) ||\n (typeof global === 'object' && global.global === global && global) ||\n this;\n" }, { - "__docId__": 773, + "__docId__": 777, "kind": "variable", "static": true, "variation": null, @@ -16181,7 +16255,7 @@ } }, { - "__docId__": 774, + "__docId__": 778, "kind": "file", "static": true, "variation": null, @@ -16194,7 +16268,7 @@ "content": "/**\n * Sorting utilities\n */\n\n/**\n * Case insensitive compare function for passed strings\n * @param {String} First string\n * @param {String} Second string\n * @return {Number} -1 if first string lower than second one\n * 0 if first string same order as second one\n * 1 if first string greater than second one\n */\nexport const ignoreCase = (a, b) => {\n let x = a.toLowerCase();\n let y = b.toLowerCase();\n return ((x < y) ? -1 : ((x > y) ? 1 : 0));\n}\n\n/**\n * Sorts passed numbers in a ascending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @param {Number} Negative, zero or positive number\n */\nexport const numSortAsc = (a, b) => (a - b);\n\n/**\n * Sorts passed numbers in a descending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @param {Number} Negative, zero or positive number\n */\nexport const numSortDesc = (a, b) => (b - a);\n" }, { - "__docId__": 775, + "__docId__": 779, "kind": "variable", "static": true, "variation": null, @@ -16244,7 +16318,7 @@ } }, { - "__docId__": 776, + "__docId__": 780, "kind": "variable", "static": true, "variation": null, @@ -16296,7 +16370,7 @@ } }, { - "__docId__": 777, + "__docId__": 781, "kind": "variable", "static": true, "variation": null, @@ -16348,7 +16422,7 @@ } }, { - "__docId__": 778, + "__docId__": 782, "kind": "file", "static": true, "variation": null, @@ -16361,7 +16435,7 @@ "content": "import {remove as removeDiacritics} from 'diacritics';\n\n/**\n * String utilities\n */\n\n/**\n * Removes whitespace from both sides of passed string\n * @param {String} text\n * @return {String}\n */\nexport const trim = (text) => {\n if (text.trim) {\n return text.trim();\n }\n return text.replace(/^\\s*|\\s*$/g, '');\n}\n\n/**\n * Checks if passed string is empty\n * @param {String} text\n * @return {Boolean}\n */\nexport const isEmpty = (text) => trim(text) === '';\n\n/**\n * Makes regex safe string by escaping special characters from passed string\n * @param {String} text\n * @return {String} escaped string\n */\nexport const rgxEsc = (text) => {\n let chars = /[-\\/\\\\^$*+?.()|[\\]{}]/g;\n let escMatch = '\\\\$&';\n return String(text).replace(chars, escMatch);\n}\n\n/**\n * Returns passed string as lowercase if caseSensitive flag set false. By\n * default it returns the string with no casing changes.\n * @param {String} text\n * @return {String} string\n */\nexport const matchCase = (text, caseSensitive = false) => {\n if (!caseSensitive) {\n return text.toLowerCase();\n }\n return text;\n}\n\n/**\n * Checks if passed data contains the searched term\n * @param {String} term Searched term\n * @param {String} data Data string\n * @param {Boolean} exactMatch Exact match\n * @param {Boolean} caseSensitive Case sensitive\n * @param {Boolean} ignoreDiacritics Ignore diacritics\n * @return {Boolean}\n */\nexport const contains = (term, data, exactMatch = false, caseSensitive = false,\n ignoreDiacritics = false) => {\n // Improved by Cedric Wartel (cwl) automatic exact match for selects and\n // special characters are now filtered\n let regexp;\n let modifier = caseSensitive ? 'g' : 'gi';\n if (ignoreDiacritics) {\n term = removeDiacritics(term);\n data = removeDiacritics(data);\n }\n if (exactMatch) {\n regexp = new RegExp('(^\\\\s*)' + rgxEsc(term) + '(\\\\s*$)',\n modifier);\n } else {\n regexp = new RegExp(rgxEsc(term), modifier);\n }\n return regexp.test(data);\n}\n" }, { - "__docId__": 779, + "__docId__": 783, "kind": "variable", "static": true, "variation": null, @@ -16401,7 +16475,7 @@ } }, { - "__docId__": 780, + "__docId__": 784, "kind": "variable", "static": true, "variation": null, @@ -16441,7 +16515,7 @@ } }, { - "__docId__": 781, + "__docId__": 785, "kind": "variable", "static": true, "variation": null, @@ -16481,7 +16555,7 @@ } }, { - "__docId__": 782, + "__docId__": 786, "kind": "variable", "static": true, "variation": null, @@ -16521,7 +16595,7 @@ } }, { - "__docId__": 783, + "__docId__": 787, "kind": "variable", "static": true, "variation": null, @@ -16601,7 +16675,7 @@ } }, { - "__docId__": 784, + "__docId__": 788, "kind": "file", "static": true, "variation": null, @@ -16614,7 +16688,7 @@ "content": "import {addEvt, cancelEvt, stopEvt, targetEvt, keyCode} from './event';\nimport {\n addClass, createElm, createOpt, elm, getText, getFirstTextNode, hasClass,\n removeClass, removeElm, tag\n} from './dom';\nimport {contains, matchCase, rgxEsc, trim} from './string';\nimport {isEmpty as isEmptyString} from './string';\nimport {\n isArray, isEmpty, isFn, isNumber, isObj, isString, isUndef, EMPTY_FN\n} from './types';\nimport {parse as parseNb} from './number'\n\nimport {root} from './root';\nimport {Emitter} from './emitter';\nimport {GridLayout} from './modules/gridLayout';\nimport {Loader} from './modules/loader';\nimport {HighlightKeyword} from './modules/highlightKeywords';\nimport {PopupFilter} from './modules/popupFilter';\nimport {Dropdown} from './modules/dropdown';\nimport {CheckList} from './modules/checkList';\nimport {RowsCounter} from './modules/rowsCounter';\nimport {StatusBar} from './modules/statusBar';\nimport {Paging} from './modules/paging';\nimport {ClearButton} from './modules/clearButton';\nimport {Help} from './modules/help';\nimport {AlternateRows} from './modules/alternateRows';\nimport {NoResults} from './modules/noResults';\nimport {State} from './modules/state';\nimport {DateType} from './modules/dateType';\n\nimport {\n INPUT, SELECT, MULTIPLE, CHECKLIST, NONE,\n ENTER_KEY, TAB_KEY, ESC_KEY, UP_ARROW_KEY, DOWN_ARROW_KEY,\n CELL_TAG, AUTO_FILTER_DELAY, NUMBER, DATE, FORMATTED_NUMBER\n} from './const';\n\nlet doc = root.document;\n\n/**\n * Makes HTML tables filterable and a bit more :)\n *\n * @export\n * @class TableFilter\n */\nexport class TableFilter {\n\n /**\n * Creates an instance of TableFilter\n * requires `table` or `id` arguments, `row` and `configuration` optional\n * @param {DOMElement} table Table DOM element\n * @param {String} id Table id\n * @param {Number} row index indicating the 1st row\n * @param {Object} configuration object\n */\n constructor(...args) {\n /**\n * ID of current instance\n * @type {String}\n * @private\n */\n this.id = null;\n\n /**\n * Current version\n * @type {String}\n */\n this.version = '{VERSION}';\n\n /**\n * Current year\n * @type {Number}\n * @private\n */\n this.year = new Date().getFullYear();\n\n /**\n * HTML Table DOM element\n * @type {DOMElement}\n */\n this.tbl = null;\n\n /**\n * Calculated row's index from which starts filtering once filters\n * are generated\n * @type {Number}\n */\n this.refRow = null;\n\n /**\n * Index of the headers row\n * @type {Number}\n * @private\n */\n this.headersRow = null;\n\n /**\n * Configuration object\n * @type {Object}\n * @private\n */\n this.cfg = {};\n\n /**\n * Number of rows that can be filtered\n * @type {Number}\n * @private\n */\n this.nbFilterableRows = 0;\n\n /**\n * Number of cells in the reference row\n * @type {Number}\n * @private\n */\n this.nbCells = null;\n\n let startRow;\n\n // TODO: use for-of\n args.forEach((arg) => {\n if (typeof arg === 'object' && arg.nodeName === 'TABLE') {\n this.tbl = arg;\n this.id = arg.id || `tf_${new Date().getTime()}_`;\n } else if (isString(arg)) {\n this.id = arg;\n this.tbl = elm(arg);\n } else if (isNumber(arg)) {\n startRow = arg;\n } else if (isObj(arg)) {\n this.cfg = arg;\n }\n });\n\n if (!this.tbl || this.tbl.nodeName !== 'TABLE') {\n throw new Error(`Could not instantiate TableFilter: HTML table\n DOM element not found.`);\n }\n\n if (this.getRowsNb() === 0) {\n throw new Error(`Could not instantiate TableFilter: HTML table\n requires at least 1 row.`);\n }\n\n // configuration object\n let f = this.cfg;\n\n /**\n * Event emitter instance\n * @type {Emitter}\n */\n this.emitter = new Emitter();\n\n //Start row et cols nb\n this.refRow = isUndef(startRow) ? 2 : (startRow + 1);\n\n /**\n * Base path for static assets\n * @type {String}\n */\n this.basePath = f.base_path || 'tablefilter/';\n\n /*** filters' grid properties ***/\n\n /**\n * Enable/disable filters\n * @type {Boolean}\n */\n this.fltGrid = f.grid === false ? false : true;\n\n /**\n * Enable/disable grid layout (fixed headers)\n * @type {Boolean}\n */\n this.gridLayout = Boolean(f.grid_layout);\n\n /**\n * Filters row index\n * @type {Number}\n */\n this.filtersRowIndex = isNaN(f.filters_row_index) ?\n 0 : f.filters_row_index;\n\n /**\n * Headers row index\n * @type {Number}\n */\n this.headersRow = isNaN(f.headers_row_index) ?\n (this.filtersRowIndex === 0 ? 1 : 0) : f.headers_row_index;\n\n /**\n * Define the type of cell containing a filter (td/th)\n * @type {String}\n */\n this.fltCellTag = isString(f.filters_cell_tag) ?\n f.filters_cell_tag : CELL_TAG;\n\n /**\n * List of filters IDs\n * @type {Array}\n * @private\n */\n this.fltIds = [];\n\n /**\n * List of valid rows indexes (rows visible upon filtering)\n * @type {Array}\n * @private\n */\n this.validRowsIndex = [];\n\n /**\n * Toolbar's container DOM element\n * @type {DOMElement}\n * @private\n */\n this.infDiv = null;\n\n /**\n * Left-side inner container DOM element (rows counter in toolbar)\n * @type {DOMElement}\n * @private\n */\n this.lDiv = null;\n\n /**\n * Right-side inner container DOM element (reset button,\n * page length selector in toolbar)\n * @type {DOMElement}\n * @private\n */\n this.rDiv = null;\n\n /**\n * Middle inner container DOM element (paging elements in toolbar)\n * @type {DOMElement}\n * @private\n */\n this.mDiv = null;\n\n /**\n * Css class for toolbar's container DOM element\n * @type {String}\n */\n this.infDivCssClass = f.inf_div_css_class || 'inf';\n\n /**\n * Css class for left-side inner container DOM element\n * @type {String}\n */\n this.lDivCssClass = f.left_div_css_class || 'ldiv';\n\n /**\n * Css class for right-side inner container DOM element\n * @type {String}\n */\n this.rDivCssClass = f.right_div_css_class || 'rdiv';\n\n /**\n * Css class for middle inner container DOM element\n * @type {String}\n */\n this.mDivCssClass = f.middle_div_css_class || 'mdiv';\n\n /*** filters' grid appearance ***/\n /**\n * Path for stylesheets\n * @type {String}\n */\n this.stylePath = f.style_path || this.basePath + 'style/';\n\n /**\n * Main stylesheet path\n * @type {String}\n */\n this.stylesheet = f.stylesheet || this.stylePath + 'tablefilter.css';\n\n /**\n * Main stylesheet ID\n * @type {String}\n * @private\n */\n this.stylesheetId = this.id + '_style';\n\n /**\n * Css class for the filters row\n * @type {String}\n */\n this.fltsRowCssClass = f.flts_row_css_class || 'fltrow';\n\n /**\n * Enable/disable icons (paging, reset button)\n * @type {Boolean}\n */\n this.enableIcons = f.enable_icons === false ? false : true;\n\n /**\n * Enable/disable alternating rows\n * @type {Boolean}\n */\n this.alternateRows = Boolean(f.alternate_rows);\n\n /**\n * Indicate whether columns widths are set\n * @type {Boolean}\n * @private\n */\n this.hasColWidths = isArray(f.col_widths);\n\n /**\n * Columns widths array\n * @type {Array}\n */\n this.colWidths = this.hasColWidths ? f.col_widths : [];\n\n /**\n * Css class for a filter element\n * @type {String}\n */\n this.fltCssClass = f.flt_css_class || 'flt';\n\n /**\n * Css class for multiple select filters\n * @type {String}\n */\n this.fltMultiCssClass = f.flt_multi_css_class || 'flt_multi';\n\n /**\n * Css class for small filter (when submit button is active)\n * @type {String}\n */\n this.fltSmallCssClass = f.flt_small_css_class || 'flt_s';\n\n /**\n * Css class for single filter type\n * @type {String}\n */\n this.singleFltCssClass = f.single_flt_css_class || 'single_flt';\n\n /*** filters' grid behaviours ***/\n\n /**\n * Enable/disable enter key for input type filters\n * @type {Boolean}\n */\n this.enterKey = f.enter_key === false ? false : true;\n\n /**\n * Callback fired before filtering process starts\n * @type {Function}\n */\n this.onBeforeFilter = isFn(f.on_before_filter) ?\n f.on_before_filter : EMPTY_FN;\n\n /**\n * Callback fired after filtering process is completed\n * @type {Function}\n */\n this.onAfterFilter = isFn(f.on_after_filter) ?\n f.on_after_filter : EMPTY_FN;\n\n /**\n * Enable/disable case sensitivity filtering\n * @type {Boolean}\n */\n this.caseSensitive = Boolean(f.case_sensitive);\n\n /**\n * Indicate whether exact match filtering is enabled on a per column\n * basis\n * @type {Boolean}\n * @private\n */\n this.hasExactMatchByCol = isArray(f.columns_exact_match);\n\n /**\n * Exact match filtering per column array\n * @type {Array}\n */\n this.exactMatchByCol = this.hasExactMatchByCol ?\n f.columns_exact_match : [];\n\n /**\n * Globally enable/disable exact match filtering\n * @type {Boolean}\n */\n this.exactMatch = Boolean(f.exact_match);\n\n /**\n * Ignore diacritics globally or on a column basis\n * @type {Boolean|Array}\n */\n this.ignoreDiacritics = f.ignore_diacritics;\n\n /**\n * Enable/disable linked filters filtering mode\n * @type {Boolean}\n */\n this.linkedFilters = Boolean(f.linked_filters);\n\n /**\n * Enable/disable readonly state for excluded options when\n * linked filters filtering mode is on\n * @type {Boolean}\n */\n this.disableExcludedOptions = Boolean(f.disable_excluded_options);\n\n /**\n * Active filter ID\n * @type {String}\n * @private\n */\n this.activeFilterId = null;\n\n /**\n * Enable/disable always visible rows, excluded from filtering\n * @type {Boolean}\n */\n this.hasVisibleRows = Boolean(f.rows_always_visible);\n\n /**\n * List of row indexes to be excluded from filtering\n * @type {Array}\n */\n this.visibleRows = this.hasVisibleRows ? f.rows_always_visible : [];\n\n /**\n * Enable/disable external filters generation\n * @type {Boolean}\n */\n this.isExternalFlt = Boolean(f.external_flt_grid);\n\n /**\n * List of containers IDs where external filters will be generated\n * @type {Array}\n */\n this.externalFltTgtIds = f.external_flt_grid_ids || [];\n\n /**\n * Callback fired after filters are generated\n * @type {Function}\n */\n this.onFiltersLoaded = isFn(f.on_filters_loaded) ?\n f.on_filters_loaded : EMPTY_FN;\n\n /**\n * Enable/disable single filter filtering all columns\n * @type {Boolean}\n */\n this.singleSearchFlt = Boolean(f.single_filter);\n\n /**\n * Callback fired after a row is validated during filtering\n * @type {Function}\n */\n this.onRowValidated = isFn(f.on_row_validated) ?\n f.on_row_validated : EMPTY_FN;\n\n /**\n * List of columns implementing custom filtering\n * @type {Array}\n */\n this.customCellDataCols = f.custom_cell_data_cols ?\n f.custom_cell_data_cols : [];\n\n /**\n * Delegate function for retrieving cell data with custom logic\n * @type {Function}\n */\n this.customCellData = isFn(f.custom_cell_data) ?\n f.custom_cell_data : EMPTY_FN;\n\n /**\n * Global watermark text for input filter type or watermark for each\n * filter if an array is supplied\n * @type {String|Array}\n */\n this.watermark = f.watermark || '';\n\n /**\n * Indicate whether watermark is on a per column basis\n * @type {Boolean}\n * @private\n */\n this.isWatermarkArray = isArray(this.watermark);\n\n /**\n * Toolbar's custom container ID\n * @type {String}\n */\n this.toolBarTgtId = f.toolbar_target_id || null;\n\n /**\n * Indicate whether help UI component is disabled\n * @type {Boolean}\n */\n this.help = isUndef(f.help_instructions) ?\n undefined : Boolean(f.help_instructions);\n\n /**\n * Indicate whether pop-up filters UI is enabled\n * @type {Boolean}\n */\n this.popupFilters = Boolean(f.popup_filters);\n\n /**\n * Indicate whether filtered (active) columns indicator is enabled\n * @type {Boolean}\n */\n this.markActiveColumns = Boolean(f.mark_active_columns);\n\n /**\n * Css class for filtered (active) columns\n * @type {String}\n */\n this.activeColumnsCssClass = f.active_columns_css_class ||\n 'activeHeader';\n\n /**\n * Callback fired before a column is marked as filtered\n * @type {Function}\n */\n this.onBeforeActiveColumn = isFn(f.on_before_active_column) ?\n f.on_before_active_column : EMPTY_FN;\n\n /**\n * Callback fired after a column is marked as filtered\n * @type {Function}\n */\n this.onAfterActiveColumn = isFn(f.on_after_active_column) ?\n f.on_after_active_column : EMPTY_FN;\n\n /*** select filter's customisation and behaviours ***/\n /**\n * Text for clear option in drop-down filter types (1st option)\n * @type {String|Array}\n */\n this.clearFilterText = f.clear_filter_text || 'Clear';\n\n /**\n * Indicate whether empty option is enabled in drop-down filter types\n * @type {Boolean}\n */\n this.enableEmptyOption = Boolean(f.enable_empty_option);\n\n /**\n * Text for empty option in drop-down filter types\n * @type {String}\n */\n this.emptyText = f.empty_text || '(Empty)';\n\n /**\n * Indicate whether non-empty option is enabled in drop-down filter\n * types\n * @type {Boolean}\n */\n this.enableNonEmptyOption = Boolean(f.enable_non_empty_option);\n\n /**\n * Text for non-empty option in drop-down filter types\n * @type {String}\n */\n this.nonEmptyText = f.non_empty_text || '(Non empty)';\n\n /**\n * Indicate whether drop-down filter types filter the table by default\n * on change event\n * @type {Boolean}\n */\n this.onSlcChange = f.on_change === false ? false : true;\n\n /**\n * Indicate whether options in drop-down filter types are sorted in a\n * alpha-numeric manner by default\n * @type {Boolean}\n */\n this.sortSlc = f.sort_select === false ? false : true;\n\n /**\n * Indicate whether options in drop-down filter types are sorted in a\n * ascending numeric manner\n * @type {Boolean}\n * @private\n */\n this.isSortNumAsc = Boolean(f.sort_num_asc);\n\n /**\n * List of columns implementing options sorting in a ascending numeric\n * manner\n * @type {Array}\n */\n this.sortNumAsc = this.isSortNumAsc ? f.sort_num_asc : [];\n\n /**\n * Indicate whether options in drop-down filter types are sorted in a\n * descending numeric manner\n * @type {Boolean}\n * @private\n */\n this.isSortNumDesc = Boolean(f.sort_num_desc);\n\n /**\n * List of columns implementing options sorting in a descending numeric\n * manner\n * @type {Array}\n */\n this.sortNumDesc = this.isSortNumDesc ? f.sort_num_desc : [];\n\n /**\n * Indicate whether drop-down filter types are populated on demand at\n * first usage\n * @type {Boolean}\n */\n this.loadFltOnDemand = Boolean(f.load_filters_on_demand);\n\n /**\n * Indicate whether custom drop-down filter options are implemented\n * @type {Boolean}\n */\n this.hasCustomOptions = isObj(f.custom_options);\n\n /**\n * Custom options definition of a per column basis, ie:\n *\tcustom_options: {\n * cols:[0, 1],\n * texts: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * values: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * sorts: [false, true]\n * }\n *\n * @type {Object}\n */\n this.customOptions = f.custom_options;\n\n /*** Filter operators ***/\n /**\n * Regular expression operator for input filter. Defaults to 'rgx:'\n * @type {String}\n */\n this.rgxOperator = f.regexp_operator || 'rgx:';\n\n /**\n * Empty cells operator for input filter. Defaults to '[empty]'\n * @type {String}\n */\n this.emOperator = f.empty_operator || '[empty]';\n\n /**\n * Non-empty cells operator for input filter. Defaults to '[nonempty]'\n * @type {String}\n */\n this.nmOperator = f.nonempty_operator || '[nonempty]';\n\n /**\n * Logical OR operator for input filter. Defaults to '||'\n * @type {String}\n */\n this.orOperator = f.or_operator || '||';\n\n /**\n * Logical AND operator for input filter. Defaults to '&&'\n * @type {String}\n */\n this.anOperator = f.and_operator || '&&';\n\n /**\n * Greater than operator for input filter. Defaults to '>'\n * @type {String}\n */\n this.grOperator = f.greater_operator || '>';\n\n /**\n * Lower than operator for input filter. Defaults to '<'\n * @type {String}\n */\n this.lwOperator = f.lower_operator || '<';\n\n /**\n * Lower than or equal operator for input filter. Defaults to '<='\n * @type {String}\n */\n this.leOperator = f.lower_equal_operator || '<=';\n\n /**\n * Greater than or equal operator for input filter. Defaults to '>='\n * @type {String}\n */\n this.geOperator = f.greater_equal_operator || '>=';\n\n /**\n * Inequality operator for input filter. Defaults to '!'\n * @type {String}\n */\n this.dfOperator = f.different_operator || '!';\n\n /**\n * Like operator for input filter. Defaults to '!'\n * @type {String}\n */\n this.lkOperator = f.like_operator || '*';\n\n /**\n * Strict equality operator for input filter. Defaults to '='\n * @type {String}\n */\n this.eqOperator = f.equal_operator || '=';\n\n /**\n * Starts with operator for input filter. Defaults to '='\n * @type {String}\n */\n this.stOperator = f.start_with_operator || '{';\n\n /**\n * Ends with operator for input filter. Defaults to '='\n * @type {String}\n */\n this.enOperator = f.end_with_operator || '}';\n\n // this.curExp = f.cur_exp || '^[¥£€$]';\n\n /**\n * Stored values separator\n * @type {String}\n */\n this.separator = f.separator || ',';\n\n /**\n * Enable rows counter UI component\n * @type {Boolean}\n */\n this.rowsCounter = Boolean(f.rows_counter);\n\n /**\n * Enable status bar UI component\n * @type {Boolean}\n */\n this.statusBar = Boolean(f.status_bar);\n\n /**\n * Enable activity/spinner indicator UI component\n * @type {Boolean}\n */\n this.loader = Boolean(f.loader);\n\n /*** validation - reset buttons/links ***/\n /**\n * Enable filters submission button\n * @type {Boolean}\n */\n this.displayBtn = Boolean(f.btn);\n\n /**\n * Define filters submission button text\n * @type {String}\n */\n this.btnText = f.btn_text || (!this.enableIcons ? 'Go' : '');\n\n /**\n * Css class for filters submission button\n * @type {String}\n */\n this.btnCssClass = f.btn_css_class ||\n (!this.enableIcons ? 'btnflt' : 'btnflt_icon');\n\n /**\n * Enable clear button\n * @type {Boolean}\n */\n this.btnReset = Boolean(f.btn_reset);\n\n /**\n * Callback fired before filters are cleared\n * @type {Function}\n */\n this.onBeforeReset = isFn(f.on_before_reset) ?\n f.on_before_reset : EMPTY_FN;\n\n /**\n * Callback fired after filters are cleared\n * @type {Function}\n */\n this.onAfterReset = isFn(f.on_after_reset) ?\n f.on_after_reset : EMPTY_FN;\n\n /**\n * Enable paging component\n * @type {Boolean}\n */\n this.paging = Boolean(f.paging);\n\n /**\n * Number of hidden rows\n * @type {Number}\n * @private\n */\n this.nbHiddenRows = 0;\n\n /**\n * Enable auto-filter behaviour, table is filtered when a user\n * stops typing\n * @type {Boolean}\n */\n this.autoFilter = Boolean(f.auto_filter);\n\n /**\n * Auto-filter delay in msecs\n * @type {Number}\n */\n this.autoFilterDelay = !isNaN(f.auto_filter_delay) ?\n f.auto_filter_delay : AUTO_FILTER_DELAY;\n\n /**\n * Indicate whether user is typing\n * @type {Boolean}\n * @private\n */\n this.isUserTyping = null;\n\n /**\n * Auto-filter interval ID\n * @type {String}\n * @private\n */\n this.autoFilterTimer = null;\n\n /**\n * Enable keyword highlighting behaviour\n * @type {Boolean}\n */\n this.highlightKeywords = Boolean(f.highlight_keywords);\n\n /**\n * Enable no results message UI component\n * @type {Boolean}\n */\n this.noResults = isObj(f.no_results_message) ||\n Boolean(f.no_results_message);\n\n /**\n * Enable state persistence\n * @type {Boolean}\n */\n this.state = isObj(f.state) || Boolean(f.state);\n\n /*** data types ***/\n\n /**\n * Define default locale, default to 'en' as per Sugar Date module:\n * https://sugarjs.com/docs/#/DateLocales\n * @type {String}\n */\n this.locale = f.locale || 'en';\n\n /**\n * Define thousands separator ',' or '.', defaults to ','\n * @type {String}\n */\n this.thousandsSeparator = f.thousands_separator || ',';\n\n /**\n * Define decimal separator ',' or '.', defaults to '.'\n * @type {String}\n */\n this.decimalSeparator = f.decimal_separator || '.';\n\n /**\n * Determine whether table has columns data types\n * @type {Boolean}\n * @private\n */\n this.hasColTypes = isArray(f.col_types);\n\n /**\n * Define data types on a column basis, possible values 'string',\n * 'number', 'formatted-number', 'date', 'ipaddress' ie:\n * col_types : [\n * 'string', 'date', 'number',\n * { type: 'formatted-number', decimal: ',', thousands: '.' },\n * { type: 'date', locale: 'en-gb' },\n * { type: 'date', format: ['{dd}-{months}-{yyyy|yy}'] }\n * ]\n *\n * Refer to https://sugarjs.com/docs/#/DateParsing for exhaustive\n * information on date parsing formats supported by Sugar Date\n * @type {Array}\n */\n this.colTypes = this.hasColTypes ? f.col_types : [];\n\n /*** ids prefixes ***/\n /**\n * Main prefix\n * @private\n */\n this.prfxTf = 'TF';\n\n /**\n * Filter's ID prefix (inputs - selects)\n * @private\n */\n this.prfxFlt = 'flt';\n\n /**\n * Button's ID prefix\n * @private\n */\n this.prfxValButton = 'btn';\n\n /**\n * Toolbar container ID prefix\n * @private\n */\n this.prfxInfDiv = 'inf_';\n\n /**\n * Toolbar left element ID prefix\n * @private\n */\n this.prfxLDiv = 'ldiv_';\n\n /**\n * Toolbar right element ID prefix\n * @private\n */\n this.prfxRDiv = 'rdiv_';\n\n /**\n * Toolbar middle element ID prefix\n * @private\n */\n this.prfxMDiv = 'mdiv_';\n\n /**\n * Responsive Css class\n * @private\n */\n this.prfxResponsive = 'resp';\n\n /*** extensions ***/\n /**\n * List of loaded extensions\n * @type {Array}\n * @private\n */\n this.extensions = f.extensions;\n\n /**\n * Determine whether extensions are loaded\n * @type {Boolean}\n * @private\n */\n this.hasExtensions = isArray(this.extensions);\n\n /*** themes ***/\n /**\n * Enable default theme\n * @type {Boolean}\n */\n this.enableDefaultTheme = Boolean(f.enable_default_theme);\n\n /**\n * Determine whether themes are enables\n * @type {Boolean}\n * @private\n */\n this.hasThemes = (this.enableDefaultTheme || isArray(f.themes));\n\n /**\n * List of themes, ie:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n */\n this.themes = f.themes || [];\n\n /**\n * Define path to themes assets, defaults to\n * 'tablefilter/style/themes/'. Usage:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n */\n this.themesPath = f.themes_path || this.stylePath + 'themes/';\n\n /**\n * Enable responsive layout\n * @type {Boolean}\n */\n this.responsive = Boolean(f.responsive);\n\n /**\n * Features registry\n * @private\n */\n this.Mod = {};\n\n /**\n * Extensions registry\n * @private\n */\n this.ExtRegistry = {};\n }\n\n /**\n * Initialise features and layout\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n this.nbCells = this.getCellsNb(this.refRow);\n let Mod = this.Mod;\n let n = this.singleSearchFlt ? 1 : this.nbCells;\n let inpclass;\n\n //loads stylesheet if not imported\n this.import(this.stylesheetId, this.stylesheet, null, 'link');\n\n //loads theme\n if (this.hasThemes) {\n this.loadThemes();\n }\n\n // Instanciate sugar date wrapper\n Mod.dateType = Mod.dateType || new DateType(this);\n Mod.dateType.init();\n\n // Instantiate help feature and initialise only if set true\n Mod.help = Mod.help || new Help(this);\n if (this.help) {\n Mod.help.init();\n }\n\n if (this.state) {\n Mod.state = Mod.state || new State(this);\n Mod.state.init();\n }\n\n if (this.gridLayout) {\n Mod.gridLayout = Mod.gridLayout || new GridLayout(this);\n Mod.gridLayout.init();\n }\n\n if (this.loader) {\n Mod.loader = Mod.loader || new Loader(this);\n Mod.loader.init();\n }\n\n if (this.highlightKeywords) {\n Mod.highlightKeyword = new HighlightKeyword(this);\n Mod.highlightKeyword.init();\n }\n\n if (this.popupFilters) {\n Mod.popupFilter = Mod.popupFilter || new PopupFilter(this);\n Mod.popupFilter.init();\n }\n\n //filters grid is not generated\n if (!this.fltGrid) {\n this._initNoFilters();\n } else {\n let fltrow = this._insertFiltersRow();\n\n this.nbFilterableRows = this.getRowsNb();\n\n // Generate filters\n for (let i = 0; i < n; i++) {\n this.emitter.emit('before-filter-init', this, i);\n\n let fltcell = createElm(this.fltCellTag),\n col = this.getFilterType(i);\n\n if (this.singleSearchFlt) {\n fltcell.colSpan = this.nbCells;\n }\n if (!this.gridLayout) {\n fltrow.appendChild(fltcell);\n }\n inpclass = (i === n - 1 && this.displayBtn) ?\n this.fltSmallCssClass : this.fltCssClass;\n\n //only 1 input for single search\n if (this.singleSearchFlt) {\n col = INPUT;\n inpclass = this.singleFltCssClass;\n }\n\n //drop-down filters\n if (col === SELECT || col === MULTIPLE) {\n if (!Mod.dropdown) {\n Mod.dropdown = new Dropdown(this);\n }\n Mod.dropdown.init(i, this.isExternalFlt, fltcell);\n }\n // checklist\n else if (col === CHECKLIST) {\n if (!Mod.checkList) {\n Mod.checkList = new CheckList(this);\n }\n Mod.checkList.init(i, this.isExternalFlt, fltcell);\n } else {\n this._buildInputFilter(i, inpclass, fltcell);\n }\n\n // this adds submit button\n if (i === n - 1 && this.displayBtn) {\n this._buildSubmitButton(i, fltcell);\n }\n\n this.emitter.emit('after-filter-init', this, i);\n }\n\n this.emitter.on(['filter-focus'],\n (tf, filter) => this.setActiveFilterId(filter.id));\n\n }//if this.fltGrid\n\n /* Features */\n if (this.hasVisibleRows) {\n this.emitter.on(['after-filtering'],\n () => this.enforceVisibility());\n this.enforceVisibility();\n }\n if (this.rowsCounter) {\n Mod.rowsCounter = new RowsCounter(this);\n Mod.rowsCounter.init();\n }\n if (this.statusBar) {\n Mod.statusBar = new StatusBar(this);\n Mod.statusBar.init();\n }\n if (this.paging) {\n if (!Mod.paging) {\n Mod.paging = new Paging(this);\n Mod.paging.init();\n } else {\n Mod.paging.reset();\n }\n }\n if (this.btnReset) {\n Mod.clearButton = new ClearButton(this);\n Mod.clearButton.init();\n }\n\n if (this.hasColWidths && !this.gridLayout) {\n this.setColWidths();\n }\n if (this.alternateRows) {\n Mod.alternateRows = new AlternateRows(this);\n Mod.alternateRows.init();\n }\n if (this.noResults) {\n Mod.noResults = Mod.noResults || new NoResults(this);\n Mod.noResults.init();\n }\n\n //TF css class is added to table\n if (!this.gridLayout) {\n addClass(this.tbl, this.prfxTf);\n if (this.responsive) {\n addClass(this.tbl, this.prfxResponsive);\n }\n }\n\n /* Loads extensions */\n if (this.hasExtensions) {\n this.initExtensions();\n }\n\n // Subscribe to events\n if (this.markActiveColumns) {\n this.emitter.on(['before-filtering'],\n () => this.clearActiveColumns());\n this.emitter.on(['cell-processed'],\n (tf, colIndex) => this.markActiveColumn(colIndex));\n }\n if (this.linkedFilters) {\n this.emitter.on(['after-filtering'], () => this.linkFilters());\n }\n\n /** @inherited */\n this.initialized = true;\n\n this.onFiltersLoaded(this);\n\n this.emitter.emit('initialized', this);\n }\n\n /**\n * Detect key\n * @param {Event} evt\n */\n detectKey(evt) {\n if (!this.enterKey) {\n return;\n }\n if (evt) {\n let key = keyCode(evt);\n if (key === ENTER_KEY) {\n this.filter();\n cancelEvt(evt);\n stopEvt(evt);\n } else {\n this.isUserTyping = true;\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n }\n }\n\n /**\n * Filter's keyup event: if auto-filter on, detect user is typing and filter\n * columns\n * @param {Event} evt\n */\n onKeyUp(evt) {\n if (!this.autoFilter) {\n return;\n }\n let key = keyCode(evt);\n this.isUserTyping = false;\n\n function filter() {\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n if (!this.isUserTyping) {\n this.filter();\n this.isUserTyping = null;\n }\n }\n\n if (key !== ENTER_KEY && key !== TAB_KEY && key !== ESC_KEY &&\n key !== UP_ARROW_KEY && key !== DOWN_ARROW_KEY) {\n if (this.autoFilterTimer === null) {\n this.autoFilterTimer = root.setInterval(filter.bind(this),\n this.autoFilterDelay);\n }\n } else {\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n }\n\n /**\n * Filter's keydown event: if auto-filter on, detect user is typing\n */\n onKeyDown() {\n if (this.autoFilter) {\n this.isUserTyping = true;\n }\n }\n\n /**\n * Filter's focus event\n * @param {Event} evt\n */\n onInpFocus(evt) {\n let elm = targetEvt(evt);\n this.emitter.emit('filter-focus', this, elm);\n }\n\n /**\n * Filter's blur event: if auto-filter on, clear interval on filter blur\n */\n onInpBlur() {\n if (this.autoFilter) {\n this.isUserTyping = false;\n root.clearInterval(this.autoFilterTimer);\n }\n this.emitter.emit('filter-blur', this);\n }\n\n /**\n * Insert filters row at initialization\n */\n _insertFiltersRow() {\n // TODO: prevent filters row generation for popup filters too,\n // to reduce and simplify headers row index adjusting across lib modules\n // (GridLayout, PopupFilter etc)\n if (this.gridLayout) {\n return;\n }\n let fltrow;\n\n let thead = tag(this.tbl, 'thead');\n if (thead.length > 0) {\n fltrow = thead[0].insertRow(this.filtersRowIndex);\n } else {\n fltrow = this.tbl.insertRow(this.filtersRowIndex);\n }\n\n fltrow.className = this.fltsRowCssClass;\n\n if (this.isExternalFlt) {\n fltrow.style.display = NONE;\n }\n\n this.emitter.emit('filters-row-inserted', this, fltrow);\n return fltrow;\n }\n\n /**\n * Initialize filtersless table\n */\n _initNoFilters() {\n if (this.fltGrid) {\n return;\n }\n this.refRow = this.refRow > 0 ? this.refRow - 1 : 0;\n this.nbFilterableRows = this.getRowsNb();\n }\n\n /**\n * Build input filter type\n * @param {Number} colIndex Column index\n * @param {String} cssClass Css class applied to filter\n * @param {DOMElement} container Container DOM element\n */\n _buildInputFilter(colIndex, cssClass, container) {\n let col = this.getFilterType(colIndex);\n let externalFltTgtId = this.isExternalFlt ?\n this.externalFltTgtIds[colIndex] : null;\n let inpType = col === INPUT ? 'text' : 'hidden';\n let inp = createElm(INPUT,\n ['id', this.buildFilterId(colIndex)],\n ['type', inpType], ['ct', colIndex]);\n\n if (inpType !== 'hidden' && this.watermark) {\n inp.setAttribute('placeholder',\n this.isWatermarkArray ? (this.watermark[colIndex] || '') :\n this.watermark\n );\n }\n inp.className = cssClass || this.fltCssClass;\n addEvt(inp, 'focus', (evt) => this.onInpFocus(evt));\n\n //filter is appended in custom element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(inp);\n } else {\n container.appendChild(inp);\n }\n\n this.fltIds.push(inp.id);\n\n addEvt(inp, 'keypress', (evt) => this.detectKey(evt));\n addEvt(inp, 'keydown', () => this.onKeyDown());\n addEvt(inp, 'keyup', (evt) => this.onKeyUp(evt));\n addEvt(inp, 'blur', () => this.onInpBlur());\n }\n\n /**\n * Build submit button\n * @param {Number} colIndex Column index\n * @param {DOMElement} container Container DOM element\n */\n _buildSubmitButton(colIndex, container) {\n let externalFltTgtId = this.isExternalFlt ?\n this.externalFltTgtIds[colIndex] : null;\n let btn = createElm(INPUT,\n ['type', 'button'],\n ['value', this.btnText]\n );\n btn.className = this.btnCssClass;\n\n //filter is appended in custom element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(btn);\n } else {\n container.appendChild(btn);\n }\n\n addEvt(btn, 'click', () => this.filter());\n }\n\n /**\n * Return a feature instance for a given name\n * @param {String} name Name of the feature\n * @return {Object}\n */\n feature(name) {\n return this.Mod[name];\n }\n\n /**\n * Initialise all the extensions defined in the configuration object\n */\n initExtensions() {\n let exts = this.extensions;\n // Set config's publicPath dynamically for Webpack...\n __webpack_public_path__ = this.basePath;\n\n this.emitter.emit('before-loading-extensions', this);\n for (let i = 0, len = exts.length; i < len; i++) {\n let ext = exts[i];\n if (!this.ExtRegistry[ext.name]) {\n this.loadExtension(ext);\n }\n }\n this.emitter.emit('after-loading-extensions', this);\n }\n\n /**\n * Load an extension module\n * @param {Object} ext Extension config object\n */\n loadExtension(ext) {\n if (!ext || !ext.name) {\n return;\n }\n\n let name = ext.name;\n let path = ext.path;\n let modulePath;\n\n if (name && path) {\n modulePath = ext.path + name;\n } else {\n name = name.replace('.js', '');\n modulePath = 'extensions/{}/{}'.replace(/{}/g, name);\n }\n\n // Require pattern for Webpack\n require(['./' + modulePath], (mod) => {\n /* eslint-disable */\n let inst = new mod.default(this, ext);\n /* eslint-enable */\n inst.init();\n this.ExtRegistry[name] = inst;\n });\n }\n\n /**\n * Get an extension instance\n * @param {String} name Name of the extension\n * @return {Object} Extension instance\n */\n extension(name) {\n return this.ExtRegistry[name];\n }\n\n /**\n * Check passed extension name exists\n * @param {String} name Name of the extension\n * @return {Boolean}\n */\n hasExtension(name) {\n return !isEmpty(this.ExtRegistry[name]);\n }\n\n /**\n * Destroy all the extensions defined in the configuration object\n */\n destroyExtensions() {\n let exts = this.extensions;\n\n for (let i = 0, len = exts.length; i < len; i++) {\n let ext = exts[i];\n let extInstance = this.ExtRegistry[ext.name];\n if (extInstance) {\n extInstance.destroy();\n this.ExtRegistry[ext.name] = undefined;\n }\n }\n }\n\n /**\n * Load themes defined in the configuration object\n */\n loadThemes() {\n let themes = this.themes;\n this.emitter.emit('before-loading-themes', this);\n\n //Default theme config\n if (this.enableDefaultTheme) {\n let defaultTheme = { name: 'default' };\n this.themes.push(defaultTheme);\n }\n if (isArray(themes)) {\n for (let i = 0, len = themes.length; i < len; i++) {\n let theme = themes[i];\n let name = theme.name;\n let path = theme.path;\n let styleId = this.prfxTf + name;\n if (name && !path) {\n path = this.themesPath + name + '/' + name + '.css';\n }\n else if (!name && theme.path) {\n name = 'theme{0}'.replace('{0}', i);\n }\n\n if (!this.isImported(path, 'link')) {\n this.import(styleId, path, null, 'link');\n }\n }\n }\n\n // Enable loader indicator\n this.loader = true;\n\n this.emitter.emit('after-loading-themes', this);\n }\n\n /**\n * Return stylesheet DOM element for a given theme name\n * @return {DOMElement} stylesheet element\n */\n getStylesheet(name = 'default') {\n return elm(this.prfxTf + name);\n }\n\n /**\n * Destroy filter grid\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let emitter = this.emitter;\n\n if (this.isExternalFlt && !this.popupFilters) {\n this.removeExternalFlts();\n }\n if (this.infDiv) {\n this.removeToolbar();\n }\n if (this.markActiveColumns) {\n this.clearActiveColumns();\n emitter.off(['before-filtering'], () => this.clearActiveColumns());\n emitter.off(['cell-processed'],\n (tf, colIndex) => this.markActiveColumn(colIndex));\n }\n if (this.hasExtensions) {\n this.destroyExtensions();\n }\n\n this.validateAllRows();\n\n if (this.fltGrid && !this.gridLayout) {\n this.tbl.deleteRow(this.filtersRowIndex);\n }\n\n // broadcast destroy event\n emitter.emit('destroy', this);\n\n // unsubscribe to events\n if (this.hasVisibleRows) {\n emitter.off(['after-filtering'], () => this.enforceVisibility());\n }\n if (this.linkedFilters) {\n emitter.off(['after-filtering'], () => this.linkFilters());\n }\n this.emitter.off(['filter-focus'],\n (tf, filter) => this.setActiveFilterId(filter.id));\n\n removeClass(this.tbl, this.prfxTf);\n removeClass(this.tbl, this.prfxResponsive);\n\n this.nbHiddenRows = 0;\n this.validRowsIndex = [];\n this.fltIds = [];\n this.initialized = false;\n }\n\n /**\n * Generate container element for paging, reset button, rows counter etc.\n */\n setToolbar() {\n if (this.infDiv) {\n return;\n }\n\n /*** container div ***/\n let infDiv = createElm('div');\n infDiv.className = this.infDivCssClass;\n\n //custom container\n if (this.toolBarTgtId) {\n elm(this.toolBarTgtId).appendChild(infDiv);\n }\n //grid-layout\n else if (this.gridLayout) {\n let gridLayout = this.Mod.gridLayout;\n gridLayout.tblMainCont.appendChild(infDiv);\n infDiv.className = gridLayout.infDivCssClass;\n }\n //default location: just above the table\n else {\n let cont = createElm('caption');\n cont.appendChild(infDiv);\n this.tbl.insertBefore(cont, this.tbl.firstChild);\n }\n this.infDiv = infDiv;\n\n /*** left div containing rows # displayer ***/\n let lDiv = createElm('div');\n lDiv.className = this.lDivCssClass;\n infDiv.appendChild(lDiv);\n this.lDiv = lDiv;\n\n /*** right div containing reset button\n + nb results per page select ***/\n let rDiv = createElm('div');\n rDiv.className = this.rDivCssClass;\n infDiv.appendChild(rDiv);\n this.rDiv = rDiv;\n\n /*** mid div containing paging elements ***/\n let mDiv = createElm('div');\n mDiv.className = this.mDivCssClass;\n infDiv.appendChild(mDiv);\n this.mDiv = mDiv;\n\n // emit help initialisation only if undefined\n if (isUndef(this.help)) {\n // explicitily set enabled field to true to initialise help by\n // default, only if setting is undefined\n this.Mod.help.enabled = true;\n this.emitter.emit('init-help', this);\n }\n }\n\n /**\n * Remove toolbar container element\n */\n removeToolbar() {\n if (!this.infDiv) {\n return;\n }\n removeElm(this.infDiv);\n this.infDiv = null;\n\n let tbl = this.tbl;\n let captions = tag(tbl, 'caption');\n if (captions.length > 0) {\n [].forEach.call(captions, (elm) => tbl.removeChild(elm));\n }\n }\n\n /**\n * Remove all the external column filters\n */\n removeExternalFlts() {\n if (!this.isExternalFlt) {\n return;\n }\n let ids = this.externalFltTgtIds,\n len = ids.length;\n for (let ct = 0; ct < len; ct++) {\n let externalFltTgtId = ids[ct],\n externalFlt = elm(externalFltTgtId);\n if (externalFlt) {\n externalFlt.innerHTML = '';\n }\n }\n }\n\n /**\n * Check if given column implements a filter with custom options\n * @param {Number} colIndex Column's index\n * @return {Boolean}\n */\n isCustomOptions(colIndex) {\n return this.hasCustomOptions &&\n this.customOptions.cols.indexOf(colIndex) !== -1;\n }\n\n /**\n * Returns an array [[value0, value1 ...],[text0, text1 ...]] with the\n * custom options values and texts\n * @param {Number} colIndex Column's index\n * @return {Array}\n */\n getCustomOptions(colIndex) {\n if (isEmpty(colIndex) || !this.isCustomOptions(colIndex)) {\n return;\n }\n\n let customOptions = this.customOptions;\n let cols = customOptions.cols;\n let optTxt = [], optArray = [];\n let index = cols.indexOf(colIndex);\n let slcValues = customOptions.values[index];\n let slcTexts = customOptions.texts[index];\n let slcSort = customOptions.sorts[index];\n\n for (let r = 0, len = slcValues.length; r < len; r++) {\n optArray.push(slcValues[r]);\n if (slcTexts[r]) {\n optTxt.push(slcTexts[r]);\n } else {\n optTxt.push(slcValues[r]);\n }\n }\n if (slcSort) {\n optArray.sort();\n optTxt.sort();\n }\n return [optArray, optTxt];\n }\n\n /**\n * Filter the table by retrieving the data from each cell in every single\n * row and comparing it to the search term for current column. A row is\n * hidden when all the search terms are not found in inspected row.\n */\n filter() {\n if (!this.fltGrid || !this.initialized) {\n return;\n }\n //fire onbefore callback\n this.onBeforeFilter(this);\n this.emitter.emit('before-filtering', this);\n\n let row = this.tbl.rows,\n nbRows = this.getRowsNb(true),\n hiddenRows = 0;\n\n this.validRowsIndex = [];\n // search args re-init\n let searchArgs = this.getFiltersValue();\n\n for (let k = this.refRow; k < nbRows; k++) {\n // already filtered rows display re-init\n row[k].style.display = '';\n\n let cells = row[k].cells;\n let nchilds = cells.length;\n\n // checks if row has exact cell #\n if (nchilds !== this.nbCells) {\n continue;\n }\n\n let occurence = [],\n isRowValid = true,\n //only for single filter search\n singleFltRowValid = false;\n\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n //searched keyword\n let sA = searchArgs[this.singleSearchFlt ? 0 : j];\n\n if (sA === '') {\n continue;\n }\n\n let cellData = matchCase(this.getCellData(cells[j]),\n this.caseSensitive);\n\n //multiple search parameter operator ||\n let sAOrSplit = sA.toString().split(this.orOperator),\n //multiple search || parameter boolean\n hasMultiOrSA = sAOrSplit.length > 1,\n //multiple search parameter operator &&\n sAAndSplit = sA.toString().split(this.anOperator),\n //multiple search && parameter boolean\n hasMultiAndSA = sAAndSplit.length > 1;\n\n //detect operators or array query\n if (isArray(sA) || hasMultiOrSA || hasMultiAndSA) {\n let cS,\n s,\n occur = false;\n if (isArray(sA)) {\n s = sA;\n } else {\n s = hasMultiOrSA ? sAOrSplit : sAAndSplit;\n }\n // isolate search term and check occurence in cell data\n for (let w = 0, len = s.length; w < len; w++) {\n cS = trim(s[w]);\n occur = this._testTerm(cS, cellData, j);\n\n if (occur) {\n this.emitter.emit('highlight-keyword', this,\n cells[j], cS);\n }\n if ((hasMultiOrSA && occur) ||\n (hasMultiAndSA && !occur)) {\n break;\n }\n if (isArray(sA) && occur) {\n break;\n }\n }\n occurence[j] = occur;\n\n }\n //single search parameter\n else {\n occurence[j] = this._testTerm(trim(sA), cellData, j);\n if (occurence[j]) {\n this.emitter.emit('highlight-keyword', this, cells[j],\n sA);\n }\n }//else single param\n\n if (!occurence[j]) {\n isRowValid = false;\n }\n if (this.singleSearchFlt && occurence[j]) {\n singleFltRowValid = true;\n }\n\n this.emitter.emit('cell-processed', this, j, cells[j]);\n }//for j\n\n if (this.singleSearchFlt && singleFltRowValid) {\n isRowValid = true;\n }\n\n this.validateRow(k, isRowValid);\n if (!isRowValid) {\n hiddenRows++;\n }\n\n this.emitter.emit('row-processed', this, k,\n this.validRowsIndex.length, isRowValid);\n }// for k\n\n this.nbHiddenRows = hiddenRows;\n\n //fire onafterfilter callback\n this.onAfterFilter(this);\n\n this.emitter.emit('after-filtering', this, searchArgs);\n }\n\n /**\n * Test for a match of search term in cell data\n * @param {String} term Search term\n * @param {String} cellData Cell data\n * @param {Number} colIdx Column index\n * @returns {Boolean}\n */\n _testTerm(term, cellData, colIdx) {\n let numData;\n let decimal = this.decimalSeparator;\n let reLe = new RegExp(this.leOperator),\n reGe = new RegExp(this.geOperator),\n reL = new RegExp(this.lwOperator),\n reG = new RegExp(this.grOperator),\n reD = new RegExp(this.dfOperator),\n reLk = new RegExp(rgxEsc(this.lkOperator)),\n reEq = new RegExp(this.eqOperator),\n reSt = new RegExp(this.stOperator),\n reEn = new RegExp(this.enOperator),\n // re_an = new RegExp(this.anOperator),\n // re_cr = new RegExp(this.curExp),\n reEm = this.emOperator,\n reNm = this.nmOperator,\n reRe = new RegExp(rgxEsc(this.rgxOperator));\n\n term = matchCase(term, this.caseSensitive);\n\n let occurence = false;\n\n //Search arg operator tests\n let hasLO = reL.test(term),\n hasLE = reLe.test(term),\n hasGR = reG.test(term),\n hasGE = reGe.test(term),\n hasDF = reD.test(term),\n hasEQ = reEq.test(term),\n hasLK = reLk.test(term),\n // hatermN = re_an.test(term),\n hasST = reSt.test(term),\n hasEN = reEn.test(term),\n hasEM = (reEm === term),\n hasNM = (reNm === term),\n hasRE = reRe.test(term);\n\n // Check for dates or resolve date type\n if (this.hasType(colIdx, [DATE])) {\n let dte1, dte2;\n\n let dateType = this.Mod.dateType;\n let isValidDate = dateType.isValid.bind(dateType);\n let parseDate = dateType.parse.bind(dateType);\n let locale = dateType.getOptions(colIdx).locale || this.locale;\n\n // Search arg dates tests\n let isLDate = hasLO &&\n isValidDate(term.replace(reL, ''), locale);\n let isLEDate = hasLE &&\n isValidDate(term.replace(reLe, ''), locale);\n let isGDate = hasGR &&\n isValidDate(term.replace(reG, ''), locale);\n let isGEDate = hasGE &&\n isValidDate(term.replace(reGe, ''), locale);\n let isDFDate = hasDF &&\n isValidDate(term.replace(reD, ''), locale);\n let isEQDate = hasEQ &&\n isValidDate(term.replace(reEq, ''), locale);\n\n dte1 = parseDate(cellData, locale);\n\n // lower date\n if (isLDate) {\n dte2 = parseDate(term.replace(reL, ''), locale);\n occurence = dte1 < dte2;\n }\n // lower equal date\n else if (isLEDate) {\n dte2 = parseDate(term.replace(reLe, ''), locale);\n occurence = dte1 <= dte2;\n }\n // greater equal date\n else if (isGEDate) {\n dte2 = parseDate(term.replace(reGe, ''), locale);\n occurence = dte1 >= dte2;\n }\n // greater date\n else if (isGDate) {\n dte2 = parseDate(term.replace(reG, ''), locale);\n occurence = dte1 > dte2;\n }\n // different date\n else if (isDFDate) {\n dte2 = parseDate(term.replace(reD, ''), locale);\n occurence = dte1.toString() !== dte2.toString();\n }\n // equal date\n else if (isEQDate) {\n dte2 = parseDate(term.replace(reEq, ''), locale);\n occurence = dte1.toString() === dte2.toString();\n }\n // searched keyword with * operator doesn't have to be a date\n else if (reLk.test(term)) {// like date\n occurence = contains(term.replace(reLk, ''), cellData,\n false, this.caseSensitive);\n }\n else if (isValidDate(term)) {\n dte2 = parseDate(term, locale);\n occurence = dte1.toString() === dte2.toString();\n }\n //empty\n else if (hasEM) {\n occurence = isEmptyString(cellData);\n }\n //non-empty\n else if (hasNM) {\n occurence = !isEmptyString(cellData);\n } else {\n occurence = contains(term, cellData,\n this.isExactMatch(colIdx), this.caseSensitive);\n }\n }\n\n else {\n if (this.hasType(colIdx, [FORMATTED_NUMBER])) {\n let colType = this.colTypes[colIdx];\n if (colType.hasOwnProperty('decimal')) {\n decimal = colType.decimal;\n }\n }\n // Convert to number anyways to auto-resolve type in case not\n // defined by configuration\n numData = Number(cellData) || parseNb(cellData, decimal);\n\n // first checks if there is any operator (<,>,<=,>=,!,*,=,{,},\n // rgx:)\n // lower equal\n if (hasLE) {\n occurence = numData <= parseNb(\n term.replace(reLe, ''),\n decimal\n );\n }\n //greater equal\n else if (hasGE) {\n occurence = numData >= parseNb(\n term.replace(reGe, ''),\n decimal\n );\n }\n //lower\n else if (hasLO) {\n occurence = numData < parseNb(\n term.replace(reL, ''),\n decimal\n );\n }\n //greater\n else if (hasGR) {\n occurence = numData > parseNb(\n term.replace(reG, ''),\n decimal\n );\n }\n //different\n else if (hasDF) {\n occurence = contains(term.replace(reD, ''), cellData,\n false, this.caseSensitive) ? false : true;\n }\n //like\n else if (hasLK) {\n occurence = contains(term.replace(reLk, ''), cellData,\n false, this.caseSensitive);\n }\n //equal\n else if (hasEQ) {\n occurence = contains(term.replace(reEq, ''), cellData,\n true, this.caseSensitive);\n }\n //starts with\n else if (hasST) {\n occurence = cellData.indexOf(term.replace(reSt, '')) === 0 ?\n true : false;\n }\n //ends with\n else if (hasEN) {\n let searchArg = term.replace(reEn, '');\n occurence =\n cellData.lastIndexOf(searchArg, cellData.length - 1) ===\n (cellData.length - 1) - (searchArg.length - 1) &&\n cellData.lastIndexOf(searchArg, cellData.length - 1)\n > -1 ? true : false;\n }\n //empty\n else if (hasEM) {\n occurence = isEmptyString(cellData);\n }\n //non-empty\n else if (hasNM) {\n occurence = !isEmptyString(cellData);\n }\n //regexp\n else if (hasRE) {\n //in case regexp throws\n try {\n //operator is removed\n let srchArg = term.replace(reRe, '');\n let rgx = new RegExp(srchArg);\n occurence = rgx.test(cellData);\n } catch (ex) {\n occurence = false;\n }\n } else {\n // If numeric type data, perform a strict equality test and\n // fallback to unformatted number string comparison\n if (numData &&\n this.hasType(colIdx, [NUMBER, FORMATTED_NUMBER]) &&\n !this.singleSearchFlt) {\n // parseNb can return 0 for strings which are not\n // formatted numbers, in that case return the original\n // string. TODO: handle this in parseNb\n term = parseNb(term, decimal) || term;\n occurence = numData === term ||\n contains(term.toString(), numData.toString(),\n this.isExactMatch(colIdx), this.caseSensitive);\n } else {\n // Finally test search term is contained in cell data\n occurence = contains(\n term,\n cellData,\n this.isExactMatch(colIdx),\n this.caseSensitive,\n this.ignoresDiacritics(colIdx)\n );\n }\n }\n\n }//else\n\n return occurence;\n }\n\n /**\n * Return the data of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} num Optional: return unformatted number\n * @param {Array} exclude Optional: list of row indexes to be excluded\n * @return {Array} Flat list of data for a column\n */\n getColValues(colIndex, includeHeaders = false, num = false, exclude = []) {\n if (!this.fltGrid) {\n return;\n }\n let row = this.tbl.rows;\n let nbRows = this.getRowsNb(true);\n let colValues = [];\n\n if (includeHeaders) {\n colValues.push(this.getHeadersText()[colIndex]);\n }\n\n for (let i = this.refRow; i < nbRows; i++) {\n let isExludedRow = false;\n // checks if current row index appears in exclude array\n if (exclude.length > 0) {\n isExludedRow = exclude.indexOf(i) !== -1;\n }\n let cell = row[i].cells,\n nchilds = cell.length;\n\n // checks if row has exact cell # and is not excluded\n if (nchilds === this.nbCells && !isExludedRow) {\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n if (j !== colIndex || row[i].style.display !== '') {\n continue;\n }\n let cellData = this.getCellData(cell[j]);\n let decimal = this.decimalSeparator;\n if (this.hasType(colIndex, [FORMATTED_NUMBER])) {\n let colType = this.colTypes[colIndex];\n if (colType.hasOwnProperty('decimal')) {\n decimal = colType.decimal;\n }\n }\n let data = num ?\n Number(cellData) || parseNb(cellData, decimal) :\n cellData;\n colValues.push(data);\n }\n }\n }\n return colValues;\n }\n\n /**\n * Return the filter's value of a specified column\n * @param {Number} index Column index\n * @return {String} Filter value\n */\n getFilterValue(index) {\n if (!this.fltGrid) {\n return;\n }\n let fltValue = '';\n let flt = this.getFilterElement(index);\n if (!flt) {\n return fltValue;\n }\n\n let fltColType = this.getFilterType(index);\n if (fltColType !== MULTIPLE && fltColType !== CHECKLIST) {\n fltValue = flt.value;\n }\n //mutiple select\n else if (fltColType === MULTIPLE) {\n fltValue = this.feature('dropdown').getValues(index);\n }\n //checklist\n else if (fltColType === CHECKLIST) {\n fltValue = this.feature('checkList').getValues(index);\n }\n //return an empty string if collection is empty or contains a single\n //empty string\n if (isArray(fltValue) && fltValue.length === 0 ||\n (fltValue.length === 1 && fltValue[0] === '')) {\n fltValue = '';\n }\n\n return fltValue;\n }\n\n /**\n * Return the filters' values\n * @return {Array} List of filters' values\n */\n getFiltersValue() {\n if (!this.fltGrid) {\n return;\n }\n let searchArgs = [];\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n let fltValue = this.getFilterValue(i);\n if (isArray(fltValue)) {\n searchArgs.push(fltValue);\n } else {\n searchArgs.push(trim(fltValue));\n }\n }\n return searchArgs;\n }\n\n /**\n * Return the ID of a specified column's filter\n * @param {Number} index Column's index\n * @return {String} ID of the filter element\n */\n getFilterId(index) {\n if (!this.fltGrid) {\n return;\n }\n return this.fltIds[index];\n }\n\n /**\n * Return the list of ids of filters matching a specified type.\n * Note: hidden filters are also returned\n *\n * @param {String} type Filter type string ('input', 'select', 'multiple',\n * 'checklist')\n * @param {Boolean} bool If true returns columns indexes instead of IDs\n * @return {[type]} List of element IDs or column indexes\n */\n getFiltersByType(type, bool) {\n if (!this.fltGrid) {\n return;\n }\n let arr = [];\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n let fltType = this.getFilterType(i);\n if (fltType === type.toLowerCase()) {\n let a = bool ? i : this.fltIds[i];\n arr.push(a);\n }\n }\n return arr;\n }\n\n /**\n * Return the filter's DOM element for a given column\n * @param {Number} index Column's index\n * @return {DOMElement}\n */\n getFilterElement(index) {\n let fltId = this.fltIds[index];\n return elm(fltId);\n }\n\n /**\n * Return the number of cells for a given row index\n * @param {Number} rowIndex Index of the row\n * @return {Number} Number of cells\n */\n getCellsNb(rowIndex = 0) {\n let tr = this.tbl.rows[rowIndex >= 0 ? rowIndex : 0];\n return tr ? tr.cells.length : 0;\n }\n\n /**\n * Return the number of filterable rows starting from reference row if\n * defined\n * @param {Boolean} includeHeaders Include the headers row\n * @return {Number} Number of filterable rows\n */\n getRowsNb(includeHeaders) {\n let s = isUndef(this.refRow) ? 0 : this.refRow;\n let ntrs = this.tbl.rows.length;\n if (includeHeaders) {\n s = 0;\n }\n return parseInt(ntrs - s, 10);\n }\n\n /**\n * Return the data of a given cell\n * @param {DOMElement} cell Cell's DOM object\n * @return {String}\n */\n getCellData(cell) {\n let idx = cell.cellIndex;\n //Fire customCellData callback\n if (this.customCellDataCols.indexOf(idx) !== -1) {\n return this.customCellData(this, cell, idx);\n } else {\n return getText(cell);\n }\n }\n\n /**\n * Return the table data with following format:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n */\n getTableData(includeHeaders = false, excludeHiddenCols = false) {\n let rows = this.tbl.rows;\n let nbRows = this.getRowsNb(true);\n let tblData = [];\n if (includeHeaders) {\n let headers = this.getHeadersText(excludeHiddenCols);\n tblData.push([this.getHeadersRowIndex(), headers]);\n }\n for (let k = this.refRow; k < nbRows; k++) {\n let rowData = [k, []];\n let cells = rows[k].cells;\n for (let j = 0, len = cells.length; j < len; j++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(j)) {\n continue;\n }\n }\n let cellData = this.getCellData(cells[j]);\n rowData[1].push(cellData);\n }\n tblData.push(rowData);\n }\n return tblData;\n }\n\n /**\n * Return the filtered data with following format:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredData(includeHeaders = false, excludeHiddenCols = false) {\n if (!this.validRowsIndex) {\n return [];\n }\n let rows = this.tbl.rows,\n filteredData = [];\n if (includeHeaders) {\n let headers = this.getHeadersText(excludeHiddenCols);\n filteredData.push([this.getHeadersRowIndex(), headers]);\n }\n\n let validRows = this.getValidRows(true);\n for (let i = 0; i < validRows.length; i++) {\n let rData = [this.validRowsIndex[i], []],\n cells = rows[this.validRowsIndex[i]].cells;\n for (let k = 0; k < cells.length; k++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(k)) {\n continue;\n }\n }\n let cellData = this.getCellData(cells[k]);\n rData[1].push(cellData);\n }\n filteredData.push(rData);\n }\n return filteredData;\n }\n\n /**\n * Return the filtered data for a given column index\n * @param {Number} colIndex Colmun's index\n * @param {Boolean} includeHeaders Optional: include headers row\n * @return {Array} Flat list of values ['val0','val1','val2'...]\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredDataCol(colIndex, includeHeaders = false) {\n if (isUndef(colIndex)) {\n return [];\n }\n let data = this.getFilteredData(),\n colData = [];\n if (includeHeaders) {\n colData.push(this.getHeadersText()[colIndex]);\n }\n for (let i = 0, len = data.length; i < len; i++) {\n let r = data[i],\n //cols values of current row\n d = r[1],\n //data of searched column\n c = d[colIndex];\n colData.push(c);\n }\n return colData;\n }\n\n /**\n * Get the display value of a row\n * @param {HTMLTableRowElement} row DOM element of the row\n * @return {String} Usually 'none' or ''\n */\n getRowDisplay(row) {\n return row.style.display;\n }\n\n /**\n * Validate/invalidate row by setting the 'validRow' attribute on the row\n * @param {Number} rowIndex Index of the row\n * @param {Boolean} isValid\n */\n validateRow(rowIndex, isValid) {\n let row = this.tbl.rows[rowIndex];\n if (!row || typeof isValid !== 'boolean') {\n return;\n }\n\n // always visible rows are valid\n if (this.hasVisibleRows && this.visibleRows.indexOf(rowIndex) !== -1) {\n isValid = true;\n }\n\n let displayFlag = isValid ? '' : NONE,\n validFlag = isValid ? 'true' : 'false';\n row.style.display = displayFlag;\n\n if (this.paging) {\n row.setAttribute('validRow', validFlag);\n }\n\n if (isValid) {\n if (this.validRowsIndex.indexOf(rowIndex) === -1) {\n this.validRowsIndex.push(rowIndex);\n }\n\n this.onRowValidated(this, rowIndex);\n\n this.emitter.emit('row-validated', this, rowIndex);\n }\n }\n\n /**\n * Validate all filterable rows\n */\n validateAllRows() {\n if (!this.initialized) {\n return;\n }\n this.validRowsIndex = [];\n for (let k = this.refRow; k < this.nbFilterableRows; k++) {\n this.validateRow(k, true);\n }\n }\n\n /**\n * Set search value to a given filter\n * @param {Number} index Column's index\n * @param {String or Array} query searcharg Search term\n */\n setFilterValue(index, query = '') {\n if (!this.fltGrid) {\n return;\n }\n let slc = this.getFilterElement(index),\n fltColType = this.getFilterType(index);\n\n if (fltColType !== MULTIPLE && fltColType !== CHECKLIST) {\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-select-filter', this, index,\n this.linkedFilters, this.isExternalFlt);\n }\n slc.value = query;\n }\n //multiple selects\n else if (fltColType === MULTIPLE) {\n let values = isArray(query) ? query :\n query.split(' ' + this.orOperator + ' ');\n\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-select-filter', this, index,\n this.linkedFilters, this.isExternalFlt);\n }\n\n this.emitter.emit('select-options', this, index, values);\n }\n //checklist\n else if (fltColType === CHECKLIST) {\n let values = [];\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-checklist-filter', this, index,\n this.linkedFilters);\n }\n if (isArray(query)) {\n values = query;\n } else {\n query = matchCase(query, this.caseSensitive);\n values = query.split(' ' + this.orOperator + ' ');\n }\n\n this.emitter.emit('select-checklist-options', this, index, values);\n }\n }\n\n /**\n * Set them columns' widths as per configuration\n * @param {Element} tbl DOM element\n */\n setColWidths(tbl) {\n if (!this.hasColWidths) {\n return;\n }\n tbl = tbl || this.tbl;\n\n let nbCols = this.nbCells;\n let colWidths = this.colWidths;\n let colTags = tag(tbl, 'col');\n let tblHasColTag = colTags.length > 0;\n let frag = !tblHasColTag ? doc.createDocumentFragment() : null;\n for (let k = 0; k < nbCols; k++) {\n let col;\n if (tblHasColTag) {\n col = colTags[k];\n } else {\n col = createElm('col');\n frag.appendChild(col);\n }\n col.style.width = colWidths[k];\n }\n if (!tblHasColTag) {\n tbl.insertBefore(frag, tbl.firstChild);\n }\n }\n\n /**\n * Makes defined rows always visible\n */\n enforceVisibility() {\n if (!this.hasVisibleRows) {\n return;\n }\n let nbRows = this.getRowsNb(true);\n for (let i = 0, len = this.visibleRows.length; i < len; i++) {\n let row = this.visibleRows[i];\n //row index cannot be > nrows\n if (row <= nbRows) {\n this.validateRow(row, true);\n }\n }\n }\n\n /**\n * Clear all the filters' values\n */\n clearFilters() {\n if (!this.fltGrid) {\n return;\n }\n\n this.emitter.emit('before-clearing-filters', this);\n this.onBeforeReset(this, this.getFiltersValue());\n\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n this.setFilterValue(i, '');\n }\n\n this.filter();\n\n this.onAfterReset(this);\n this.emitter.emit('after-clearing-filters', this);\n }\n\n /**\n * Clears filtered columns visual indicator (background color)\n */\n clearActiveColumns() {\n for (let i = 0, len = this.getCellsNb(this.headersRow); i < len; i++) {\n removeClass(this.getHeaderElement(i), this.activeColumnsCssClass);\n }\n }\n\n /**\n * Mark currently filtered column\n * @param {Number} colIndex Column index\n */\n markActiveColumn(colIndex) {\n let header = this.getHeaderElement(colIndex);\n if (hasClass(header, this.activeColumnsCssClass)) {\n return;\n }\n this.onBeforeActiveColumn(this, colIndex);\n\n addClass(header, this.activeColumnsCssClass);\n\n this.onAfterActiveColumn(this, colIndex);\n }\n\n /**\n * Return the ID of the current active filter\n * @returns {String}\n */\n getActiveFilterId() {\n return this.activeFilterId;\n }\n\n /**\n * Set the ID of the current active filter\n * @param {String} filterId Element ID\n */\n setActiveFilterId(filterId) {\n this.activeFilterId = filterId;\n }\n\n /**\n * Return the column index for a given filter ID\n * @param {string} [filterId=''] Filter ID\n * @returns {Number} Column index\n */\n getColumnIndexFromFilterId(filterId = '') {\n let idx = filterId.split('_')[0];\n idx = idx.split(this.prfxFlt)[1];\n return parseInt(idx, 10);\n }\n\n /**\n * Builds filter element ID for a given column index\n * @param {any} colIndex\n * @returns {String} Filter element ID string\n * @private\n */\n buildFilterId(colIndex) {\n return `${this.prfxFlt}${colIndex}_${this.id}`;\n }\n\n /**\n * Make specified column's filter active\n * @param colIndex Index of a column\n */\n activateFilter(colIndex) {\n if (isUndef(colIndex)) {\n return;\n }\n this.setActiveFilterId(this.getFilterId(colIndex));\n }\n\n /**\n * Refresh the filters subject to linking ('select', 'multiple',\n * 'checklist' type)\n */\n linkFilters() {\n if (!this.linkedFilters || !this.activeFilterId) {\n return;\n }\n let slcA1 = this.getFiltersByType(SELECT, true),\n slcA2 = this.getFiltersByType(MULTIPLE, true),\n slcA3 = this.getFiltersByType(CHECKLIST, true),\n slcIndex = slcA1.concat(slcA2);\n slcIndex = slcIndex.concat(slcA3);\n\n let activeIdx = this.getColumnIndexFromFilterId(this.activeFilterId);\n\n for (let i = 0, len = slcIndex.length; i < len; i++) {\n let colIdx = slcIndex[i];\n let curSlc = elm(this.fltIds[colIdx]);\n let slcSelectedValue = this.getFilterValue(colIdx);\n\n // Welcome to cyclomatic complexity hell :)\n // TODO: simplify/refactor if statement\n if (activeIdx !== colIdx ||\n (this.paging && slcA1.indexOf(colIdx) !== -1 &&\n activeIdx === colIdx) ||\n (!this.paging && (slcA3.indexOf(colIdx) !== -1 ||\n slcA2.indexOf(colIdx) !== -1)) ||\n slcSelectedValue === this.getClearFilterText(colIdx)) {\n\n //1st option needs to be inserted\n if (this.loadFltOnDemand) {\n let opt0 = createOpt(this.getClearFilterText(colIdx), '');\n curSlc.innerHTML = '';\n curSlc.appendChild(opt0);\n }\n\n if (slcA3.indexOf(colIdx) !== -1) {\n this.emitter.emit('build-checklist-filter', this, colIdx,\n true);\n } else {\n this.emitter.emit('build-select-filter', this, colIdx,\n true);\n }\n\n this.setFilterValue(colIdx, slcSelectedValue);\n }\n }\n }\n\n /**\n * Determines if passed filter column implements exact query match\n * @param {Number} colIndex Column index\n * @return {Boolean}\n */\n isExactMatch(colIndex) {\n let fltType = this.getFilterType(colIndex);\n return this.exactMatchByCol[colIndex] || this.exactMatch ||\n fltType !== INPUT;\n }\n\n /**\n * Checks if passed row is valid\n * @param {Number} rowIndex Row index\n * @returns {Boolean}\n */\n isRowValid(rowIndex) {\n return this.getValidRows().indexOf(rowIndex) !== -1;\n }\n\n /**\n * Checks if passed row is visible\n * @param {Number} rowIndex Row index\n * @returns {Boolean}\n */\n isRowDisplayed(rowIndex) {\n let row = this.tbl.rows[rowIndex];\n return this.getRowDisplay(row) === '';\n }\n\n /**\n * Checks if specified column filter ignores diacritics.\n * Note this is only valid for input filter types.\n * @param {Number} colIndex Column index\n * @returns {Boolean}\n */\n ignoresDiacritics(colIndex) {\n let ignoreDiac = this.ignoreDiacritics;\n if (isArray(ignoreDiac)) {\n return ignoreDiac[colIndex];\n }\n return Boolean(ignoreDiac);\n }\n\n /**\n * Returns clear all text for specified filter column\n * @param {Number} colIndex Column index\n * @returns {String}\n */\n getClearFilterText(colIndex) {\n let clearText = this.clearFilterText;\n if (isArray(clearText)) {\n return clearText[colIndex];\n }\n return clearText;\n }\n\n /**\n * Check if passed script or stylesheet is already imported\n * @param {String} filePath Ressource path\n * @param {String} type Possible values: 'script' or 'link'\n * @return {Boolean}\n */\n isImported(filePath, type = 'script') {\n let imported = false,\n attr = type === 'script' ? 'src' : 'href',\n files = tag(doc, type);\n for (let i = 0, len = files.length; i < len; i++) {\n if (isUndef(files[i][attr])) {\n continue;\n }\n if (files[i][attr].match(filePath)) {\n imported = true;\n break;\n }\n }\n return imported;\n }\n\n /**\n * Import script or stylesheet\n * @param {String} fileId Ressource ID\n * @param {String} filePath Ressource path\n * @param {Function} callback Callback\n * @param {String} type Possible values: 'script' or 'link'\n */\n import(fileId, filePath, callback, type = 'script') {\n if (this.isImported(filePath, type)) {\n return;\n }\n let o = this,\n isLoaded = false,\n file,\n head = tag(doc, 'head')[0];\n\n if (type.toLowerCase() === 'link') {\n file = createElm('link',\n ['id', fileId], ['type', 'text/css'],\n ['rel', 'stylesheet'], ['href', filePath]\n );\n } else {\n file = createElm('script',\n ['id', fileId],\n ['type', 'text/javascript'], ['src', filePath]\n );\n }\n\n //Browser <> IE onload event works only for scripts, not for stylesheets\n file.onload = file.onreadystatechange = () => {\n if (!isLoaded &&\n (!this.readyState || this.readyState === 'loaded' ||\n this.readyState === 'complete')) {\n isLoaded = true;\n if (typeof callback === 'function') {\n callback.call(null, o);\n }\n }\n };\n file.onerror = function () {\n throw new Error(`TableFilter could not load: ${filePath}`);\n };\n head.appendChild(file);\n }\n\n /**\n * Check if table has filters grid\n * @return {Boolean}\n */\n isInitialized() {\n return this.initialized;\n }\n\n /**\n * Get list of filter IDs\n * @return {[type]} [description]\n */\n getFiltersId() {\n return this.fltIds || [];\n }\n\n /**\n * Get filtered (valid) rows indexes\n * @param {Boolean} reCalc Force calculation of filtered rows list\n * @return {Array} List of row indexes\n */\n getValidRows(reCalc) {\n if (!reCalc) {\n return this.validRowsIndex;\n }\n\n let nbRows = this.getRowsNb(true);\n this.validRowsIndex = [];\n for (let k = this.refRow; k < nbRows; k++) {\n let r = this.tbl.rows[k];\n if (!this.paging) {\n if (this.getRowDisplay(r) !== NONE) {\n this.validRowsIndex.push(r.rowIndex);\n }\n } else {\n if (r.getAttribute('validRow') === 'true' ||\n r.getAttribute('validRow') === null) {\n this.validRowsIndex.push(r.rowIndex);\n }\n }\n }\n return this.validRowsIndex;\n }\n\n /**\n * Get the index of the row containing the filters\n * @return {Number}\n */\n getFiltersRowIndex() {\n return this.filtersRowIndex;\n }\n\n /**\n * Get the index of the headers row\n * @return {Number}\n */\n getHeadersRowIndex() {\n return this.headersRow;\n }\n\n /**\n * Get the row index from where the filtering process start (1st filterable\n * row)\n * @return {Number}\n */\n getStartRowIndex() {\n return this.refRow;\n }\n\n /**\n * Get the index of the last row\n * @return {Number}\n */\n getLastRowIndex() {\n let nbRows = this.getRowsNb(true);\n return (nbRows - 1);\n }\n\n /**\n * Determine whether the specified column has one of the passed types\n * @param {Number} colIndex Column index\n * @param {Array} [types=[]] List of column types\n * @returns {Boolean}\n */\n hasType(colIndex, types = []) {\n if (!this.hasColTypes) {\n return false;\n }\n let colType = this.colTypes[colIndex];\n if (isObj(colType)) {\n colType = colType.type;\n }\n return types.indexOf(colType) !== -1;\n }\n\n /**\n * Get the header DOM element for a given column index\n * @param {Number} colIndex Column index\n * @return {Element}\n */\n getHeaderElement(colIndex) {\n let table = this.gridLayout ? this.Mod.gridLayout.headTbl : this.tbl;\n let tHead = tag(table, 'thead');\n let headersRow = this.headersRow;\n let header;\n for (let i = 0; i < this.nbCells; i++) {\n if (i !== colIndex) {\n continue;\n }\n if (tHead.length === 0) {\n header = table.rows[headersRow].cells[i];\n }\n if (tHead.length === 1) {\n header = tHead[0].rows[headersRow].cells[i];\n }\n break;\n }\n return header;\n }\n\n /**\n * Return the list of headers' text\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array} list of headers' text\n */\n getHeadersText(excludeHiddenCols = false) {\n let headers = [];\n for (let j = 0; j < this.nbCells; j++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(j)) {\n continue;\n }\n }\n let header = this.getHeaderElement(j);\n let headerText = getFirstTextNode(header);\n headers.push(headerText);\n }\n return headers;\n }\n\n /**\n * Return the filter type for a specified column\n * @param {Number} colIndex Column's index\n * @return {String}\n */\n getFilterType(colIndex) {\n let colType = this.cfg['col_' + colIndex];\n return !colType ? INPUT : colType.toLowerCase();\n }\n\n /**\n * Get the total number of filterable rows\n * @return {Number}\n */\n getFilterableRowsNb() {\n return this.getRowsNb(false);\n }\n\n /**\n * Return the total number of valid rows\n * @param {Boolean} [reCalc=false] Forces calculation of filtered rows\n * @returns {Number}\n */\n getValidRowsNb(reCalc = false) {\n return this.getValidRows(reCalc).length;\n }\n\n /**\n * Get the configuration object (literal object)\n * @return {Object}\n */\n config() {\n return this.cfg;\n }\n}\n" }, { - "__docId__": 785, + "__docId__": 789, "kind": "variable", "static": true, "variation": null, @@ -16635,7 +16709,7 @@ } }, { - "__docId__": 786, + "__docId__": 790, "kind": "class", "static": true, "variation": null, @@ -16661,7 +16735,7 @@ "interface": false }, { - "__docId__": 787, + "__docId__": 791, "kind": "constructor", "static": false, "variation": null, @@ -16716,7 +16790,7 @@ "generator": false }, { - "__docId__": 788, + "__docId__": 792, "kind": "member", "static": false, "variation": null, @@ -16736,7 +16810,7 @@ } }, { - "__docId__": 789, + "__docId__": 793, "kind": "member", "static": false, "variation": null, @@ -16756,7 +16830,7 @@ } }, { - "__docId__": 790, + "__docId__": 794, "kind": "member", "static": false, "variation": null, @@ -16776,7 +16850,7 @@ } }, { - "__docId__": 791, + "__docId__": 795, "kind": "member", "static": false, "variation": null, @@ -16796,7 +16870,7 @@ } }, { - "__docId__": 792, + "__docId__": 796, "kind": "member", "static": false, "variation": null, @@ -16816,7 +16890,7 @@ } }, { - "__docId__": 793, + "__docId__": 797, "kind": "member", "static": false, "variation": null, @@ -16836,7 +16910,7 @@ } }, { - "__docId__": 794, + "__docId__": 798, "kind": "member", "static": false, "variation": null, @@ -16856,7 +16930,7 @@ } }, { - "__docId__": 795, + "__docId__": 799, "kind": "member", "static": false, "variation": null, @@ -16876,7 +16950,7 @@ } }, { - "__docId__": 796, + "__docId__": 800, "kind": "member", "static": false, "variation": null, @@ -16896,7 +16970,7 @@ } }, { - "__docId__": 797, + "__docId__": 801, "kind": "member", "static": false, "variation": null, @@ -16914,7 +16988,7 @@ } }, { - "__docId__": 798, + "__docId__": 802, "kind": "member", "static": false, "variation": null, @@ -16932,7 +17006,7 @@ } }, { - "__docId__": 799, + "__docId__": 803, "kind": "member", "static": false, "variation": null, @@ -16950,7 +17024,7 @@ } }, { - "__docId__": 800, + "__docId__": 804, "kind": "member", "static": false, "variation": null, @@ -16968,7 +17042,7 @@ } }, { - "__docId__": 801, + "__docId__": 805, "kind": "member", "static": false, "variation": null, @@ -16986,7 +17060,7 @@ } }, { - "__docId__": 802, + "__docId__": 806, "kind": "member", "static": false, "variation": null, @@ -17006,7 +17080,7 @@ } }, { - "__docId__": 803, + "__docId__": 807, "kind": "member", "static": false, "variation": null, @@ -17024,7 +17098,7 @@ } }, { - "__docId__": 804, + "__docId__": 808, "kind": "member", "static": false, "variation": null, @@ -17044,7 +17118,7 @@ } }, { - "__docId__": 805, + "__docId__": 809, "kind": "member", "static": false, "variation": null, @@ -17064,7 +17138,7 @@ } }, { - "__docId__": 806, + "__docId__": 810, "kind": "member", "static": false, "variation": null, @@ -17084,7 +17158,7 @@ } }, { - "__docId__": 807, + "__docId__": 811, "kind": "member", "static": false, "variation": null, @@ -17104,7 +17178,7 @@ } }, { - "__docId__": 808, + "__docId__": 812, "kind": "member", "static": false, "variation": null, @@ -17124,7 +17198,7 @@ } }, { - "__docId__": 809, + "__docId__": 813, "kind": "member", "static": false, "variation": null, @@ -17144,7 +17218,7 @@ } }, { - "__docId__": 810, + "__docId__": 814, "kind": "member", "static": false, "variation": null, @@ -17164,7 +17238,7 @@ } }, { - "__docId__": 811, + "__docId__": 815, "kind": "member", "static": false, "variation": null, @@ -17184,7 +17258,7 @@ } }, { - "__docId__": 812, + "__docId__": 816, "kind": "member", "static": false, "variation": null, @@ -17204,7 +17278,7 @@ } }, { - "__docId__": 813, + "__docId__": 817, "kind": "member", "static": false, "variation": null, @@ -17224,7 +17298,7 @@ } }, { - "__docId__": 814, + "__docId__": 818, "kind": "member", "static": false, "variation": null, @@ -17244,7 +17318,7 @@ } }, { - "__docId__": 815, + "__docId__": 819, "kind": "member", "static": false, "variation": null, @@ -17264,7 +17338,7 @@ } }, { - "__docId__": 816, + "__docId__": 820, "kind": "member", "static": false, "variation": null, @@ -17284,7 +17358,7 @@ } }, { - "__docId__": 817, + "__docId__": 821, "kind": "member", "static": false, "variation": null, @@ -17304,7 +17378,7 @@ } }, { - "__docId__": 818, + "__docId__": 822, "kind": "member", "static": false, "variation": null, @@ -17324,7 +17398,7 @@ } }, { - "__docId__": 819, + "__docId__": 823, "kind": "member", "static": false, "variation": null, @@ -17344,7 +17418,7 @@ } }, { - "__docId__": 820, + "__docId__": 824, "kind": "member", "static": false, "variation": null, @@ -17364,7 +17438,7 @@ } }, { - "__docId__": 821, + "__docId__": 825, "kind": "member", "static": false, "variation": null, @@ -17384,7 +17458,7 @@ } }, { - "__docId__": 822, + "__docId__": 826, "kind": "member", "static": false, "variation": null, @@ -17404,7 +17478,7 @@ } }, { - "__docId__": 823, + "__docId__": 827, "kind": "member", "static": false, "variation": null, @@ -17424,7 +17498,7 @@ } }, { - "__docId__": 824, + "__docId__": 828, "kind": "member", "static": false, "variation": null, @@ -17444,7 +17518,7 @@ } }, { - "__docId__": 825, + "__docId__": 829, "kind": "member", "static": false, "variation": null, @@ -17464,7 +17538,7 @@ } }, { - "__docId__": 826, + "__docId__": 830, "kind": "member", "static": false, "variation": null, @@ -17484,7 +17558,7 @@ } }, { - "__docId__": 827, + "__docId__": 831, "kind": "member", "static": false, "variation": null, @@ -17504,7 +17578,7 @@ } }, { - "__docId__": 828, + "__docId__": 832, "kind": "member", "static": false, "variation": null, @@ -17524,7 +17598,7 @@ } }, { - "__docId__": 829, + "__docId__": 833, "kind": "member", "static": false, "variation": null, @@ -17544,7 +17618,7 @@ } }, { - "__docId__": 830, + "__docId__": 834, "kind": "member", "static": false, "variation": null, @@ -17564,7 +17638,7 @@ } }, { - "__docId__": 831, + "__docId__": 835, "kind": "member", "static": false, "variation": null, @@ -17584,7 +17658,7 @@ } }, { - "__docId__": 832, + "__docId__": 836, "kind": "member", "static": false, "variation": null, @@ -17604,7 +17678,7 @@ } }, { - "__docId__": 833, + "__docId__": 837, "kind": "member", "static": false, "variation": null, @@ -17624,7 +17698,7 @@ } }, { - "__docId__": 834, + "__docId__": 838, "kind": "member", "static": false, "variation": null, @@ -17644,7 +17718,7 @@ } }, { - "__docId__": 835, + "__docId__": 839, "kind": "member", "static": false, "variation": null, @@ -17664,7 +17738,7 @@ } }, { - "__docId__": 836, + "__docId__": 840, "kind": "member", "static": false, "variation": null, @@ -17684,7 +17758,7 @@ } }, { - "__docId__": 837, + "__docId__": 841, "kind": "member", "static": false, "variation": null, @@ -17704,7 +17778,7 @@ } }, { - "__docId__": 838, + "__docId__": 842, "kind": "member", "static": false, "variation": null, @@ -17724,7 +17798,7 @@ } }, { - "__docId__": 839, + "__docId__": 843, "kind": "member", "static": false, "variation": null, @@ -17745,7 +17819,7 @@ } }, { - "__docId__": 840, + "__docId__": 844, "kind": "member", "static": false, "variation": null, @@ -17765,7 +17839,7 @@ } }, { - "__docId__": 841, + "__docId__": 845, "kind": "member", "static": false, "variation": null, @@ -17785,7 +17859,7 @@ } }, { - "__docId__": 842, + "__docId__": 846, "kind": "member", "static": false, "variation": null, @@ -17805,7 +17879,7 @@ } }, { - "__docId__": 843, + "__docId__": 847, "kind": "member", "static": false, "variation": null, @@ -17825,7 +17899,7 @@ } }, { - "__docId__": 844, + "__docId__": 848, "kind": "member", "static": false, "variation": null, @@ -17845,7 +17919,7 @@ } }, { - "__docId__": 845, + "__docId__": 849, "kind": "member", "static": false, "variation": null, @@ -17865,7 +17939,7 @@ } }, { - "__docId__": 846, + "__docId__": 850, "kind": "member", "static": false, "variation": null, @@ -17885,7 +17959,7 @@ } }, { - "__docId__": 847, + "__docId__": 851, "kind": "member", "static": false, "variation": null, @@ -17905,7 +17979,7 @@ } }, { - "__docId__": 848, + "__docId__": 852, "kind": "member", "static": false, "variation": null, @@ -17925,7 +17999,7 @@ } }, { - "__docId__": 849, + "__docId__": 853, "kind": "member", "static": false, "variation": null, @@ -17945,7 +18019,7 @@ } }, { - "__docId__": 850, + "__docId__": 854, "kind": "member", "static": false, "variation": null, @@ -17965,7 +18039,7 @@ } }, { - "__docId__": 851, + "__docId__": 855, "kind": "member", "static": false, "variation": null, @@ -17985,7 +18059,7 @@ } }, { - "__docId__": 852, + "__docId__": 856, "kind": "member", "static": false, "variation": null, @@ -18006,7 +18080,7 @@ } }, { - "__docId__": 853, + "__docId__": 857, "kind": "member", "static": false, "variation": null, @@ -18026,7 +18100,7 @@ } }, { - "__docId__": 854, + "__docId__": 858, "kind": "member", "static": false, "variation": null, @@ -18046,7 +18120,7 @@ } }, { - "__docId__": 855, + "__docId__": 859, "kind": "member", "static": false, "variation": null, @@ -18066,7 +18140,7 @@ } }, { - "__docId__": 856, + "__docId__": 860, "kind": "member", "static": false, "variation": null, @@ -18086,7 +18160,7 @@ } }, { - "__docId__": 857, + "__docId__": 861, "kind": "member", "static": false, "variation": null, @@ -18106,7 +18180,7 @@ } }, { - "__docId__": 858, + "__docId__": 862, "kind": "member", "static": false, "variation": null, @@ -18126,7 +18200,7 @@ } }, { - "__docId__": 859, + "__docId__": 863, "kind": "member", "static": false, "variation": null, @@ -18146,7 +18220,7 @@ } }, { - "__docId__": 860, + "__docId__": 864, "kind": "member", "static": false, "variation": null, @@ -18166,7 +18240,7 @@ } }, { - "__docId__": 861, + "__docId__": 865, "kind": "member", "static": false, "variation": null, @@ -18187,7 +18261,7 @@ } }, { - "__docId__": 862, + "__docId__": 866, "kind": "member", "static": false, "variation": null, @@ -18207,7 +18281,7 @@ } }, { - "__docId__": 863, + "__docId__": 867, "kind": "member", "static": false, "variation": null, @@ -18227,7 +18301,7 @@ } }, { - "__docId__": 864, + "__docId__": 868, "kind": "member", "static": false, "variation": null, @@ -18247,7 +18321,7 @@ } }, { - "__docId__": 865, + "__docId__": 869, "kind": "member", "static": false, "variation": null, @@ -18267,7 +18341,7 @@ } }, { - "__docId__": 866, + "__docId__": 870, "kind": "member", "static": false, "variation": null, @@ -18287,7 +18361,7 @@ } }, { - "__docId__": 867, + "__docId__": 871, "kind": "member", "static": false, "variation": null, @@ -18307,7 +18381,7 @@ } }, { - "__docId__": 868, + "__docId__": 872, "kind": "member", "static": false, "variation": null, @@ -18327,7 +18401,7 @@ } }, { - "__docId__": 869, + "__docId__": 873, "kind": "member", "static": false, "variation": null, @@ -18347,7 +18421,7 @@ } }, { - "__docId__": 870, + "__docId__": 874, "kind": "member", "static": false, "variation": null, @@ -18367,7 +18441,7 @@ } }, { - "__docId__": 871, + "__docId__": 875, "kind": "member", "static": false, "variation": null, @@ -18387,7 +18461,7 @@ } }, { - "__docId__": 872, + "__docId__": 876, "kind": "member", "static": false, "variation": null, @@ -18407,7 +18481,7 @@ } }, { - "__docId__": 873, + "__docId__": 877, "kind": "member", "static": false, "variation": null, @@ -18427,7 +18501,7 @@ } }, { - "__docId__": 874, + "__docId__": 878, "kind": "member", "static": false, "variation": null, @@ -18447,7 +18521,7 @@ } }, { - "__docId__": 875, + "__docId__": 879, "kind": "member", "static": false, "variation": null, @@ -18467,7 +18541,7 @@ } }, { - "__docId__": 876, + "__docId__": 880, "kind": "member", "static": false, "variation": null, @@ -18487,7 +18561,7 @@ } }, { - "__docId__": 877, + "__docId__": 881, "kind": "member", "static": false, "variation": null, @@ -18507,7 +18581,7 @@ } }, { - "__docId__": 878, + "__docId__": 882, "kind": "member", "static": false, "variation": null, @@ -18527,7 +18601,7 @@ } }, { - "__docId__": 879, + "__docId__": 883, "kind": "member", "static": false, "variation": null, @@ -18547,7 +18621,7 @@ } }, { - "__docId__": 880, + "__docId__": 884, "kind": "member", "static": false, "variation": null, @@ -18567,7 +18641,7 @@ } }, { - "__docId__": 881, + "__docId__": 885, "kind": "member", "static": false, "variation": null, @@ -18587,7 +18661,7 @@ } }, { - "__docId__": 882, + "__docId__": 886, "kind": "member", "static": false, "variation": null, @@ -18607,7 +18681,7 @@ } }, { - "__docId__": 883, + "__docId__": 887, "kind": "member", "static": false, "variation": null, @@ -18627,7 +18701,7 @@ } }, { - "__docId__": 884, + "__docId__": 888, "kind": "member", "static": false, "variation": null, @@ -18647,7 +18721,7 @@ } }, { - "__docId__": 885, + "__docId__": 889, "kind": "member", "static": false, "variation": null, @@ -18667,7 +18741,7 @@ } }, { - "__docId__": 886, + "__docId__": 890, "kind": "member", "static": false, "variation": null, @@ -18687,7 +18761,7 @@ } }, { - "__docId__": 887, + "__docId__": 891, "kind": "member", "static": false, "variation": null, @@ -18707,7 +18781,7 @@ } }, { - "__docId__": 888, + "__docId__": 892, "kind": "member", "static": false, "variation": null, @@ -18727,7 +18801,7 @@ } }, { - "__docId__": 889, + "__docId__": 893, "kind": "member", "static": false, "variation": null, @@ -18747,7 +18821,7 @@ } }, { - "__docId__": 890, + "__docId__": 894, "kind": "member", "static": false, "variation": null, @@ -18767,7 +18841,7 @@ } }, { - "__docId__": 891, + "__docId__": 895, "kind": "member", "static": false, "variation": null, @@ -18787,7 +18861,7 @@ } }, { - "__docId__": 892, + "__docId__": 896, "kind": "member", "static": false, "variation": null, @@ -18807,7 +18881,7 @@ } }, { - "__docId__": 893, + "__docId__": 897, "kind": "member", "static": false, "variation": null, @@ -18827,7 +18901,7 @@ } }, { - "__docId__": 894, + "__docId__": 898, "kind": "member", "static": false, "variation": null, @@ -18847,7 +18921,7 @@ } }, { - "__docId__": 895, + "__docId__": 899, "kind": "member", "static": false, "variation": null, @@ -18867,7 +18941,7 @@ } }, { - "__docId__": 896, + "__docId__": 900, "kind": "member", "static": false, "variation": null, @@ -18887,7 +18961,7 @@ } }, { - "__docId__": 897, + "__docId__": 901, "kind": "member", "static": false, "variation": null, @@ -18907,7 +18981,7 @@ } }, { - "__docId__": 898, + "__docId__": 902, "kind": "member", "static": false, "variation": null, @@ -18927,7 +19001,7 @@ } }, { - "__docId__": 899, + "__docId__": 903, "kind": "member", "static": false, "variation": null, @@ -18947,7 +19021,7 @@ } }, { - "__docId__": 900, + "__docId__": 904, "kind": "member", "static": false, "variation": null, @@ -18967,7 +19041,7 @@ } }, { - "__docId__": 901, + "__docId__": 905, "kind": "member", "static": false, "variation": null, @@ -18987,7 +19061,7 @@ } }, { - "__docId__": 902, + "__docId__": 906, "kind": "member", "static": false, "variation": null, @@ -19007,7 +19081,7 @@ } }, { - "__docId__": 903, + "__docId__": 907, "kind": "member", "static": false, "variation": null, @@ -19027,7 +19101,7 @@ } }, { - "__docId__": 904, + "__docId__": 908, "kind": "member", "static": false, "variation": null, @@ -19047,7 +19121,7 @@ } }, { - "__docId__": 905, + "__docId__": 909, "kind": "member", "static": false, "variation": null, @@ -19067,7 +19141,7 @@ } }, { - "__docId__": 906, + "__docId__": 910, "kind": "member", "static": false, "variation": null, @@ -19087,7 +19161,7 @@ } }, { - "__docId__": 907, + "__docId__": 911, "kind": "member", "static": false, "variation": null, @@ -19107,7 +19181,7 @@ } }, { - "__docId__": 908, + "__docId__": 912, "kind": "member", "static": false, "variation": null, @@ -19127,7 +19201,7 @@ } }, { - "__docId__": 909, + "__docId__": 913, "kind": "member", "static": false, "variation": null, @@ -19147,7 +19221,7 @@ } }, { - "__docId__": 910, + "__docId__": 914, "kind": "member", "static": false, "variation": null, @@ -19167,7 +19241,7 @@ } }, { - "__docId__": 911, + "__docId__": 915, "kind": "member", "static": false, "variation": null, @@ -19187,7 +19261,7 @@ } }, { - "__docId__": 912, + "__docId__": 916, "kind": "member", "static": false, "variation": null, @@ -19207,7 +19281,7 @@ } }, { - "__docId__": 913, + "__docId__": 917, "kind": "member", "static": false, "variation": null, @@ -19224,7 +19298,7 @@ } }, { - "__docId__": 914, + "__docId__": 918, "kind": "member", "static": false, "variation": null, @@ -19241,7 +19315,7 @@ } }, { - "__docId__": 915, + "__docId__": 919, "kind": "member", "static": false, "variation": null, @@ -19258,7 +19332,7 @@ } }, { - "__docId__": 916, + "__docId__": 920, "kind": "member", "static": false, "variation": null, @@ -19275,7 +19349,7 @@ } }, { - "__docId__": 917, + "__docId__": 921, "kind": "member", "static": false, "variation": null, @@ -19292,7 +19366,7 @@ } }, { - "__docId__": 918, + "__docId__": 922, "kind": "member", "static": false, "variation": null, @@ -19309,7 +19383,7 @@ } }, { - "__docId__": 919, + "__docId__": 923, "kind": "member", "static": false, "variation": null, @@ -19326,7 +19400,7 @@ } }, { - "__docId__": 920, + "__docId__": 924, "kind": "member", "static": false, "variation": null, @@ -19343,7 +19417,7 @@ } }, { - "__docId__": 921, + "__docId__": 925, "kind": "member", "static": false, "variation": null, @@ -19363,7 +19437,7 @@ } }, { - "__docId__": 922, + "__docId__": 926, "kind": "member", "static": false, "variation": null, @@ -19383,7 +19457,7 @@ } }, { - "__docId__": 923, + "__docId__": 927, "kind": "member", "static": false, "variation": null, @@ -19403,7 +19477,7 @@ } }, { - "__docId__": 924, + "__docId__": 928, "kind": "member", "static": false, "variation": null, @@ -19423,7 +19497,7 @@ } }, { - "__docId__": 925, + "__docId__": 929, "kind": "member", "static": false, "variation": null, @@ -19443,7 +19517,7 @@ } }, { - "__docId__": 926, + "__docId__": 930, "kind": "member", "static": false, "variation": null, @@ -19463,7 +19537,7 @@ } }, { - "__docId__": 927, + "__docId__": 931, "kind": "member", "static": false, "variation": null, @@ -19483,7 +19557,7 @@ } }, { - "__docId__": 928, + "__docId__": 932, "kind": "member", "static": false, "variation": null, @@ -19500,7 +19574,7 @@ } }, { - "__docId__": 929, + "__docId__": 933, "kind": "member", "static": false, "variation": null, @@ -19517,7 +19591,7 @@ } }, { - "__docId__": 930, + "__docId__": 934, "kind": "method", "static": false, "variation": null, @@ -19531,7 +19605,7 @@ "generator": false }, { - "__docId__": 931, + "__docId__": 935, "kind": "member", "static": false, "variation": null, @@ -19549,7 +19623,7 @@ } }, { - "__docId__": 932, + "__docId__": 936, "kind": "member", "static": false, "variation": null, @@ -19567,7 +19641,7 @@ } }, { - "__docId__": 933, + "__docId__": 937, "kind": "member", "static": false, "variation": null, @@ -19590,7 +19664,7 @@ } }, { - "__docId__": 934, + "__docId__": 938, "kind": "method", "static": false, "variation": null, @@ -19615,7 +19689,7 @@ "generator": false }, { - "__docId__": 935, + "__docId__": 939, "kind": "member", "static": false, "variation": null, @@ -19633,7 +19707,7 @@ } }, { - "__docId__": 936, + "__docId__": 940, "kind": "member", "static": false, "variation": null, @@ -19651,7 +19725,7 @@ } }, { - "__docId__": 937, + "__docId__": 941, "kind": "method", "static": false, "variation": null, @@ -19676,7 +19750,7 @@ "generator": false }, { - "__docId__": 938, + "__docId__": 942, "kind": "member", "static": false, "variation": null, @@ -19694,7 +19768,7 @@ } }, { - "__docId__": 939, + "__docId__": 943, "kind": "member", "static": false, "variation": null, @@ -19712,7 +19786,7 @@ } }, { - "__docId__": 940, + "__docId__": 944, "kind": "member", "static": false, "variation": null, @@ -19730,7 +19804,7 @@ } }, { - "__docId__": 941, + "__docId__": 945, "kind": "member", "static": false, "variation": null, @@ -19748,7 +19822,7 @@ } }, { - "__docId__": 942, + "__docId__": 946, "kind": "member", "static": false, "variation": null, @@ -19766,7 +19840,7 @@ } }, { - "__docId__": 943, + "__docId__": 947, "kind": "method", "static": false, "variation": null, @@ -19780,7 +19854,7 @@ "generator": false }, { - "__docId__": 944, + "__docId__": 948, "kind": "member", "static": false, "variation": null, @@ -19798,7 +19872,7 @@ } }, { - "__docId__": 945, + "__docId__": 949, "kind": "method", "static": false, "variation": null, @@ -19823,7 +19897,7 @@ "generator": false }, { - "__docId__": 946, + "__docId__": 950, "kind": "method", "static": false, "variation": null, @@ -19837,7 +19911,7 @@ "generator": false }, { - "__docId__": 947, + "__docId__": 951, "kind": "member", "static": false, "variation": null, @@ -19855,7 +19929,7 @@ } }, { - "__docId__": 948, + "__docId__": 952, "kind": "method", "static": false, "variation": null, @@ -19874,7 +19948,7 @@ "generator": false }, { - "__docId__": 949, + "__docId__": 953, "kind": "method", "static": false, "variation": null, @@ -19888,7 +19962,7 @@ "generator": false }, { - "__docId__": 950, + "__docId__": 954, "kind": "member", "static": false, "variation": null, @@ -19906,7 +19980,7 @@ } }, { - "__docId__": 951, + "__docId__": 955, "kind": "member", "static": false, "variation": null, @@ -19924,7 +19998,7 @@ } }, { - "__docId__": 952, + "__docId__": 956, "kind": "method", "static": false, "variation": null, @@ -19969,7 +20043,7 @@ "generator": false }, { - "__docId__": 953, + "__docId__": 957, "kind": "method", "static": false, "variation": null, @@ -20004,7 +20078,7 @@ "generator": false }, { - "__docId__": 954, + "__docId__": 958, "kind": "method", "static": false, "variation": null, @@ -20037,7 +20111,7 @@ "generator": false }, { - "__docId__": 955, + "__docId__": 959, "kind": "method", "static": false, "variation": null, @@ -20051,7 +20125,7 @@ "generator": false }, { - "__docId__": 956, + "__docId__": 960, "kind": "method", "static": false, "variation": null, @@ -20076,7 +20150,7 @@ "generator": false }, { - "__docId__": 957, + "__docId__": 961, "kind": "method", "static": false, "variation": null, @@ -20109,7 +20183,7 @@ "generator": false }, { - "__docId__": 958, + "__docId__": 962, "kind": "method", "static": false, "variation": null, @@ -20142,7 +20216,7 @@ "generator": false }, { - "__docId__": 959, + "__docId__": 963, "kind": "method", "static": false, "variation": null, @@ -20156,7 +20230,7 @@ "generator": false }, { - "__docId__": 960, + "__docId__": 964, "kind": "method", "static": false, "variation": null, @@ -20170,7 +20244,7 @@ "generator": false }, { - "__docId__": 961, + "__docId__": 965, "kind": "member", "static": false, "variation": null, @@ -20188,7 +20262,7 @@ } }, { - "__docId__": 962, + "__docId__": 966, "kind": "method", "static": false, "variation": null, @@ -20220,7 +20294,7 @@ "generator": false }, { - "__docId__": 963, + "__docId__": 967, "kind": "method", "static": false, "variation": null, @@ -20234,7 +20308,7 @@ "generator": false }, { - "__docId__": 964, + "__docId__": 968, "kind": "member", "static": false, "variation": null, @@ -20252,7 +20326,7 @@ } }, { - "__docId__": 965, + "__docId__": 969, "kind": "member", "static": false, "variation": null, @@ -20270,7 +20344,7 @@ } }, { - "__docId__": 966, + "__docId__": 970, "kind": "member", "static": false, "variation": null, @@ -20288,7 +20362,7 @@ } }, { - "__docId__": 967, + "__docId__": 971, "kind": "member", "static": false, "variation": null, @@ -20306,7 +20380,7 @@ } }, { - "__docId__": 968, + "__docId__": 972, "kind": "method", "static": false, "variation": null, @@ -20320,7 +20394,7 @@ "generator": false }, { - "__docId__": 969, + "__docId__": 973, "kind": "member", "static": false, "variation": null, @@ -20338,7 +20412,7 @@ } }, { - "__docId__": 970, + "__docId__": 974, "kind": "member", "static": false, "variation": null, @@ -20356,7 +20430,7 @@ } }, { - "__docId__": 971, + "__docId__": 975, "kind": "member", "static": false, "variation": null, @@ -20374,7 +20448,7 @@ } }, { - "__docId__": 972, + "__docId__": 976, "kind": "member", "static": false, "variation": null, @@ -20392,7 +20466,7 @@ } }, { - "__docId__": 973, + "__docId__": 977, "kind": "method", "static": false, "variation": null, @@ -20406,7 +20480,7 @@ "generator": false }, { - "__docId__": 974, + "__docId__": 978, "kind": "member", "static": false, "variation": null, @@ -20424,7 +20498,7 @@ } }, { - "__docId__": 975, + "__docId__": 979, "kind": "method", "static": false, "variation": null, @@ -20438,7 +20512,7 @@ "generator": false }, { - "__docId__": 976, + "__docId__": 980, "kind": "method", "static": false, "variation": null, @@ -20471,7 +20545,7 @@ "generator": false }, { - "__docId__": 977, + "__docId__": 981, "kind": "method", "static": false, "variation": null, @@ -20504,7 +20578,7 @@ "generator": false }, { - "__docId__": 978, + "__docId__": 982, "kind": "method", "static": false, "variation": null, @@ -20518,7 +20592,7 @@ "generator": false }, { - "__docId__": 979, + "__docId__": 983, "kind": "member", "static": false, "variation": null, @@ -20536,7 +20610,7 @@ } }, { - "__docId__": 980, + "__docId__": 984, "kind": "member", "static": false, "variation": null, @@ -20554,7 +20628,7 @@ } }, { - "__docId__": 981, + "__docId__": 985, "kind": "method", "static": false, "variation": null, @@ -20613,7 +20687,7 @@ "generator": false }, { - "__docId__": 982, + "__docId__": 986, "kind": "method", "static": false, "variation": null, @@ -20676,7 +20750,7 @@ "generator": false }, { - "__docId__": 983, + "__docId__": 987, "kind": "method", "static": false, "variation": null, @@ -20709,7 +20783,7 @@ "generator": false }, { - "__docId__": 984, + "__docId__": 988, "kind": "method", "static": false, "variation": null, @@ -20731,7 +20805,7 @@ "generator": false }, { - "__docId__": 985, + "__docId__": 989, "kind": "method", "static": false, "variation": null, @@ -20764,7 +20838,7 @@ "generator": false }, { - "__docId__": 986, + "__docId__": 990, "kind": "method", "static": false, "variation": null, @@ -20807,7 +20881,7 @@ "generator": false }, { - "__docId__": 987, + "__docId__": 991, "kind": "method", "static": false, "variation": null, @@ -20840,7 +20914,7 @@ "generator": false }, { - "__docId__": 988, + "__docId__": 992, "kind": "method", "static": false, "variation": null, @@ -20873,7 +20947,7 @@ "generator": false }, { - "__docId__": 989, + "__docId__": 993, "kind": "method", "static": false, "variation": null, @@ -20906,7 +20980,7 @@ "generator": false }, { - "__docId__": 990, + "__docId__": 994, "kind": "method", "static": false, "variation": null, @@ -20939,7 +21013,7 @@ "generator": false }, { - "__docId__": 991, + "__docId__": 995, "kind": "method", "static": false, "variation": null, @@ -20982,7 +21056,7 @@ "generator": false }, { - "__docId__": 992, + "__docId__": 996, "kind": "method", "static": false, "variation": null, @@ -21025,7 +21099,7 @@ "generator": false }, { - "__docId__": 993, + "__docId__": 997, "kind": "method", "static": false, "variation": null, @@ -21068,7 +21142,7 @@ "generator": false }, { - "__docId__": 994, + "__docId__": 998, "kind": "method", "static": false, "variation": null, @@ -21101,7 +21175,7 @@ "generator": false }, { - "__docId__": 995, + "__docId__": 999, "kind": "method", "static": false, "variation": null, @@ -21136,7 +21210,7 @@ "generator": false }, { - "__docId__": 996, + "__docId__": 1000, "kind": "method", "static": false, "variation": null, @@ -21150,7 +21224,7 @@ "generator": false }, { - "__docId__": 997, + "__docId__": 1001, "kind": "member", "static": false, "variation": null, @@ -21168,7 +21242,7 @@ } }, { - "__docId__": 998, + "__docId__": 1002, "kind": "method", "static": false, "variation": null, @@ -21203,7 +21277,7 @@ "generator": false }, { - "__docId__": 999, + "__docId__": 1003, "kind": "method", "static": false, "variation": null, @@ -21228,7 +21302,7 @@ "generator": false }, { - "__docId__": 1000, + "__docId__": 1004, "kind": "method", "static": false, "variation": null, @@ -21242,7 +21316,7 @@ "generator": false }, { - "__docId__": 1001, + "__docId__": 1005, "kind": "method", "static": false, "variation": null, @@ -21256,7 +21330,7 @@ "generator": false }, { - "__docId__": 1002, + "__docId__": 1006, "kind": "method", "static": false, "variation": null, @@ -21270,7 +21344,7 @@ "generator": false }, { - "__docId__": 1003, + "__docId__": 1007, "kind": "method", "static": false, "variation": null, @@ -21295,7 +21369,7 @@ "generator": false }, { - "__docId__": 1004, + "__docId__": 1008, "kind": "method", "static": false, "variation": null, @@ -21323,7 +21397,7 @@ "generator": false }, { - "__docId__": 1005, + "__docId__": 1009, "kind": "method", "static": false, "variation": null, @@ -21348,7 +21422,7 @@ "generator": false }, { - "__docId__": 1006, + "__docId__": 1010, "kind": "member", "static": false, "variation": null, @@ -21366,7 +21440,7 @@ } }, { - "__docId__": 1007, + "__docId__": 1011, "kind": "method", "static": false, "variation": null, @@ -21407,7 +21481,7 @@ "generator": false }, { - "__docId__": 1008, + "__docId__": 1012, "kind": "method", "static": false, "variation": null, @@ -21446,7 +21520,7 @@ "generator": false }, { - "__docId__": 1009, + "__docId__": 1013, "kind": "method", "static": false, "variation": null, @@ -21471,7 +21545,7 @@ "generator": false }, { - "__docId__": 1010, + "__docId__": 1014, "kind": "method", "static": false, "variation": null, @@ -21485,7 +21559,7 @@ "generator": false }, { - "__docId__": 1011, + "__docId__": 1015, "kind": "method", "static": false, "variation": null, @@ -21518,7 +21592,7 @@ "generator": false }, { - "__docId__": 1012, + "__docId__": 1016, "kind": "method", "static": false, "variation": null, @@ -21557,7 +21631,7 @@ "generator": false }, { - "__docId__": 1013, + "__docId__": 1017, "kind": "method", "static": false, "variation": null, @@ -21596,7 +21670,7 @@ "generator": false }, { - "__docId__": 1014, + "__docId__": 1018, "kind": "method", "static": false, "variation": null, @@ -21635,7 +21709,7 @@ "generator": false }, { - "__docId__": 1015, + "__docId__": 1019, "kind": "method", "static": false, "variation": null, @@ -21674,7 +21748,7 @@ "generator": false }, { - "__docId__": 1016, + "__docId__": 1020, "kind": "method", "static": false, "variation": null, @@ -21717,7 +21791,7 @@ "generator": false }, { - "__docId__": 1017, + "__docId__": 1021, "kind": "method", "static": false, "variation": null, @@ -21772,7 +21846,7 @@ "generator": false }, { - "__docId__": 1018, + "__docId__": 1022, "kind": "method", "static": false, "variation": null, @@ -21794,7 +21868,7 @@ "generator": false }, { - "__docId__": 1019, + "__docId__": 1023, "kind": "method", "static": false, "variation": null, @@ -21816,7 +21890,7 @@ "generator": false }, { - "__docId__": 1020, + "__docId__": 1024, "kind": "method", "static": false, "variation": null, @@ -21849,7 +21923,7 @@ "generator": false }, { - "__docId__": 1021, + "__docId__": 1025, "kind": "member", "static": false, "variation": null, @@ -21867,7 +21941,7 @@ } }, { - "__docId__": 1022, + "__docId__": 1026, "kind": "method", "static": false, "variation": null, @@ -21889,7 +21963,7 @@ "generator": false }, { - "__docId__": 1023, + "__docId__": 1027, "kind": "method", "static": false, "variation": null, @@ -21911,7 +21985,7 @@ "generator": false }, { - "__docId__": 1024, + "__docId__": 1028, "kind": "method", "static": false, "variation": null, @@ -21933,7 +22007,7 @@ "generator": false }, { - "__docId__": 1025, + "__docId__": 1029, "kind": "method", "static": false, "variation": null, @@ -21955,7 +22029,7 @@ "generator": false }, { - "__docId__": 1026, + "__docId__": 1030, "kind": "method", "static": false, "variation": null, @@ -22006,7 +22080,7 @@ "generator": false }, { - "__docId__": 1027, + "__docId__": 1031, "kind": "method", "static": false, "variation": null, @@ -22039,7 +22113,7 @@ "generator": false }, { - "__docId__": 1028, + "__docId__": 1032, "kind": "method", "static": false, "variation": null, @@ -22072,7 +22146,7 @@ "generator": false }, { - "__docId__": 1029, + "__docId__": 1033, "kind": "method", "static": false, "variation": null, @@ -22105,7 +22179,7 @@ "generator": false }, { - "__docId__": 1030, + "__docId__": 1034, "kind": "method", "static": false, "variation": null, @@ -22127,7 +22201,7 @@ "generator": false }, { - "__docId__": 1031, + "__docId__": 1035, "kind": "method", "static": false, "variation": null, @@ -22168,7 +22242,7 @@ "generator": false }, { - "__docId__": 1032, + "__docId__": 1036, "kind": "method", "static": false, "variation": null, @@ -22190,7 +22264,7 @@ "generator": false }, { - "__docId__": 1033, + "__docId__": 1037, "kind": "file", "static": true, "variation": null, @@ -22203,7 +22277,7 @@ "content": "\n/**\n * Types utilities\n */\n\nconst UNDEFINED = void 0;\n\n/**\n * Return an empty function\n * @return {Function}\n */\nexport const EMPTY_FN = function() {};\n\n/**\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n */\nexport const isObj =\n (obj) => Object.prototype.toString.call(obj) === '[object Object]';\n\n/**\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n */\nexport const isFn =\n (obj) => Object.prototype.toString.call(obj) === '[object Function]';\n\n/**\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n */\nexport const isArray =\n (obj) => Object.prototype.toString.call(obj) === '[object Array]';\n\n/**\n * Check passed argument is a string\n * @param {String} obj objue\n * @returns {Boolean}\n */\nexport const isString =\n (obj) => Object.prototype.toString.call(obj) === '[object String]';\n\n/**\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n */\nexport const isNumber =\n (obj) => Object.prototype.toString.call(obj) === '[object Number]';\n\n/**\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n */\nexport const isUndef = (obj) => obj === UNDEFINED;\n\n/**\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n */\nexport const isNull = obj => obj === null;\n\n/**\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n */\nexport const isEmpty = (obj) => isUndef(obj) || isNull(obj) || obj.length === 0;\n" }, { - "__docId__": 1034, + "__docId__": 1038, "kind": "variable", "static": true, "variation": null, @@ -22223,7 +22297,7 @@ } }, { - "__docId__": 1035, + "__docId__": 1039, "kind": "function", "static": true, "variation": null, @@ -22248,7 +22322,7 @@ "generator": false }, { - "__docId__": 1036, + "__docId__": 1040, "kind": "variable", "static": true, "variation": null, @@ -22288,7 +22362,7 @@ } }, { - "__docId__": 1037, + "__docId__": 1041, "kind": "variable", "static": true, "variation": null, @@ -22328,7 +22402,7 @@ } }, { - "__docId__": 1038, + "__docId__": 1042, "kind": "variable", "static": true, "variation": null, @@ -22368,7 +22442,7 @@ } }, { - "__docId__": 1039, + "__docId__": 1043, "kind": "variable", "static": true, "variation": null, @@ -22414,7 +22488,7 @@ } }, { - "__docId__": 1040, + "__docId__": 1044, "kind": "variable", "static": true, "variation": null, @@ -22460,7 +22534,7 @@ } }, { - "__docId__": 1041, + "__docId__": 1045, "kind": "variable", "static": true, "variation": null, @@ -22500,7 +22574,7 @@ } }, { - "__docId__": 1042, + "__docId__": 1046, "kind": "variable", "static": true, "variation": null, @@ -22540,7 +22614,7 @@ } }, { - "__docId__": 1043, + "__docId__": 1047, "kind": "variable", "static": true, "variation": null, @@ -22580,7 +22654,7 @@ } }, { - "__docId__": 1045, + "__docId__": 1049, "kind": "external", "static": true, "variation": null, @@ -22593,7 +22667,7 @@ "builtinExternal": true }, { - "__docId__": 1046, + "__docId__": 1050, "kind": "external", "static": true, "variation": null, @@ -22606,7 +22680,7 @@ "builtinExternal": true }, { - "__docId__": 1047, + "__docId__": 1051, "kind": "external", "static": true, "variation": null, @@ -22619,7 +22693,7 @@ "builtinExternal": true }, { - "__docId__": 1048, + "__docId__": 1052, "kind": "external", "static": true, "variation": null, @@ -22632,7 +22706,7 @@ "builtinExternal": true }, { - "__docId__": 1049, + "__docId__": 1053, "kind": "external", "static": true, "variation": null, @@ -22645,7 +22719,7 @@ "builtinExternal": true }, { - "__docId__": 1050, + "__docId__": 1054, "kind": "external", "static": true, "variation": null, @@ -22658,7 +22732,7 @@ "builtinExternal": true }, { - "__docId__": 1051, + "__docId__": 1055, "kind": "external", "static": true, "variation": null, @@ -22671,7 +22745,7 @@ "builtinExternal": true }, { - "__docId__": 1052, + "__docId__": 1056, "kind": "external", "static": true, "variation": null, @@ -22684,7 +22758,7 @@ "builtinExternal": true }, { - "__docId__": 1053, + "__docId__": 1057, "kind": "external", "static": true, "variation": null, @@ -22697,7 +22771,7 @@ "builtinExternal": true }, { - "__docId__": 1054, + "__docId__": 1058, "kind": "external", "static": true, "variation": null, @@ -22710,7 +22784,7 @@ "builtinExternal": true }, { - "__docId__": 1055, + "__docId__": 1059, "kind": "external", "static": true, "variation": null, @@ -22723,7 +22797,7 @@ "builtinExternal": true }, { - "__docId__": 1056, + "__docId__": 1060, "kind": "external", "static": true, "variation": null, @@ -22736,7 +22810,7 @@ "builtinExternal": true }, { - "__docId__": 1057, + "__docId__": 1061, "kind": "external", "static": true, "variation": null, @@ -22749,7 +22823,7 @@ "builtinExternal": true }, { - "__docId__": 1058, + "__docId__": 1062, "kind": "external", "static": true, "variation": null, @@ -22762,7 +22836,7 @@ "builtinExternal": true }, { - "__docId__": 1059, + "__docId__": 1063, "kind": "external", "static": true, "variation": null, @@ -22775,7 +22849,7 @@ "builtinExternal": true }, { - "__docId__": 1060, + "__docId__": 1064, "kind": "external", "static": true, "variation": null, @@ -22788,7 +22862,7 @@ "builtinExternal": true }, { - "__docId__": 1061, + "__docId__": 1065, "kind": "external", "static": true, "variation": null, @@ -22801,7 +22875,7 @@ "builtinExternal": true }, { - "__docId__": 1062, + "__docId__": 1066, "kind": "external", "static": true, "variation": null, @@ -22814,7 +22888,7 @@ "builtinExternal": true }, { - "__docId__": 1063, + "__docId__": 1067, "kind": "external", "static": true, "variation": null, @@ -22827,7 +22901,7 @@ "builtinExternal": true }, { - "__docId__": 1064, + "__docId__": 1068, "kind": "external", "static": true, "variation": null, @@ -22840,7 +22914,7 @@ "builtinExternal": true }, { - "__docId__": 1065, + "__docId__": 1069, "kind": "external", "static": true, "variation": null, @@ -22853,7 +22927,7 @@ "builtinExternal": true }, { - "__docId__": 1066, + "__docId__": 1070, "kind": "external", "static": true, "variation": null, @@ -22866,7 +22940,7 @@ "builtinExternal": true }, { - "__docId__": 1067, + "__docId__": 1071, "kind": "external", "static": true, "variation": null, @@ -22879,7 +22953,7 @@ "builtinExternal": true }, { - "__docId__": 1068, + "__docId__": 1072, "kind": "external", "static": true, "variation": null, @@ -22892,7 +22966,7 @@ "builtinExternal": true }, { - "__docId__": 1069, + "__docId__": 1073, "kind": "external", "static": true, "variation": null, @@ -22905,7 +22979,7 @@ "builtinExternal": true }, { - "__docId__": 1070, + "__docId__": 1074, "kind": "external", "static": true, "variation": null, @@ -22918,7 +22992,7 @@ "builtinExternal": true }, { - "__docId__": 1071, + "__docId__": 1075, "kind": "external", "static": true, "variation": null, @@ -22931,7 +23005,7 @@ "builtinExternal": true }, { - "__docId__": 1072, + "__docId__": 1076, "kind": "external", "static": true, "variation": null, @@ -22944,7 +23018,7 @@ "builtinExternal": true }, { - "__docId__": 1073, + "__docId__": 1077, "kind": "external", "static": true, "variation": null, @@ -22957,7 +23031,7 @@ "builtinExternal": true }, { - "__docId__": 1074, + "__docId__": 1078, "kind": "external", "static": true, "variation": null, @@ -22970,7 +23044,7 @@ "builtinExternal": true }, { - "__docId__": 1075, + "__docId__": 1079, "kind": "external", "static": true, "variation": null, @@ -22983,7 +23057,7 @@ "builtinExternal": true }, { - "__docId__": 1076, + "__docId__": 1080, "kind": "external", "static": true, "variation": null, @@ -22996,7 +23070,7 @@ "builtinExternal": true }, { - "__docId__": 1077, + "__docId__": 1081, "kind": "external", "static": true, "variation": null, @@ -23009,7 +23083,7 @@ "builtinExternal": true }, { - "__docId__": 1078, + "__docId__": 1082, "kind": "external", "static": true, "variation": null, @@ -23022,7 +23096,7 @@ "builtinExternal": true }, { - "__docId__": 1079, + "__docId__": 1083, "kind": "external", "static": true, "variation": null, @@ -23035,7 +23109,7 @@ "builtinExternal": true }, { - "__docId__": 1080, + "__docId__": 1084, "kind": "external", "static": true, "variation": null, @@ -23048,7 +23122,7 @@ "builtinExternal": true }, { - "__docId__": 1081, + "__docId__": 1085, "kind": "external", "static": true, "variation": null, @@ -23061,7 +23135,7 @@ "builtinExternal": true }, { - "__docId__": 1082, + "__docId__": 1086, "kind": "external", "static": true, "variation": null, @@ -23074,7 +23148,7 @@ "builtinExternal": true }, { - "__docId__": 1083, + "__docId__": 1087, "kind": "external", "static": true, "variation": null, @@ -23087,7 +23161,7 @@ "builtinExternal": true }, { - "__docId__": 1084, + "__docId__": 1088, "kind": "external", "static": true, "variation": null, @@ -23100,7 +23174,7 @@ "builtinExternal": true }, { - "__docId__": 1085, + "__docId__": 1089, "kind": "external", "static": true, "variation": null, @@ -23113,7 +23187,7 @@ "builtinExternal": true }, { - "__docId__": 1086, + "__docId__": 1090, "kind": "external", "static": true, "variation": null, @@ -23126,7 +23200,7 @@ "builtinExternal": true }, { - "__docId__": 1087, + "__docId__": 1091, "kind": "external", "static": true, "variation": null, @@ -23139,7 +23213,7 @@ "builtinExternal": true }, { - "__docId__": 1088, + "__docId__": 1092, "kind": "external", "static": true, "variation": null, @@ -23152,7 +23226,7 @@ "builtinExternal": true }, { - "__docId__": 1089, + "__docId__": 1093, "kind": "external", "static": true, "variation": null, @@ -23165,7 +23239,7 @@ "builtinExternal": true }, { - "__docId__": 1090, + "__docId__": 1094, "kind": "external", "static": true, "variation": null, @@ -23178,7 +23252,7 @@ "builtinExternal": true }, { - "__docId__": 1091, + "__docId__": 1095, "kind": "external", "static": true, "variation": null, @@ -23191,7 +23265,7 @@ "builtinExternal": true }, { - "__docId__": 1093, + "__docId__": 1097, "kind": "external", "static": true, "variation": null, @@ -23204,7 +23278,7 @@ "builtinExternal": true }, { - "__docId__": 1094, + "__docId__": 1098, "kind": "external", "static": true, "variation": null, @@ -23217,7 +23291,7 @@ "builtinExternal": true }, { - "__docId__": 1095, + "__docId__": 1099, "kind": "external", "static": true, "variation": null, @@ -23230,7 +23304,7 @@ "builtinExternal": true }, { - "__docId__": 1096, + "__docId__": 1100, "kind": "external", "static": true, "variation": null, @@ -23243,7 +23317,7 @@ "builtinExternal": true }, { - "__docId__": 1097, + "__docId__": 1101, "kind": "external", "static": true, "variation": null, @@ -23256,7 +23330,7 @@ "builtinExternal": true }, { - "__docId__": 1098, + "__docId__": 1102, "kind": "external", "static": true, "variation": null, @@ -23269,7 +23343,7 @@ "builtinExternal": true }, { - "__docId__": 1099, + "__docId__": 1103, "kind": "external", "static": true, "variation": null, @@ -23282,7 +23356,7 @@ "builtinExternal": true }, { - "__docId__": 1100, + "__docId__": 1104, "kind": "external", "static": true, "variation": null, diff --git a/docs/file/src/array.js.html b/docs/file/src/array.js.html index ad4b6f1e..fbd6cdc1 100644 --- a/docs/file/src/array.js.html +++ b/docs/file/src/array.js.html @@ -3,7 +3,7 @@ - src/array.js | tablefilter v0.4.32 API Document + src/array.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/const.js.html b/docs/file/src/const.js.html index d416a836..e80adb10 100644 --- a/docs/file/src/const.js.html +++ b/docs/file/src/const.js.html @@ -3,7 +3,7 @@ - src/const.js | tablefilter v0.4.32 API Document + src/const.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/cookie.js.html b/docs/file/src/cookie.js.html index 7f529953..e89949b6 100644 --- a/docs/file/src/cookie.js.html +++ b/docs/file/src/cookie.js.html @@ -3,7 +3,7 @@ - src/cookie.js | tablefilter v0.4.32 API Document + src/cookie.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/dom.js.html b/docs/file/src/dom.js.html index 697b2bc7..99baf198 100644 --- a/docs/file/src/dom.js.html +++ b/docs/file/src/dom.js.html @@ -3,7 +3,7 @@ - src/dom.js | tablefilter v0.4.32 API Document + src/dom.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/emitter.js.html b/docs/file/src/emitter.js.html index 0ec061ff..32121039 100644 --- a/docs/file/src/emitter.js.html +++ b/docs/file/src/emitter.js.html @@ -3,7 +3,7 @@ - src/emitter.js | tablefilter v0.4.32 API Document + src/emitter.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/event.js.html b/docs/file/src/event.js.html index fc999fc5..7e854fbb 100644 --- a/docs/file/src/event.js.html +++ b/docs/file/src/event.js.html @@ -3,7 +3,7 @@ - src/event.js | tablefilter v0.4.32 API Document + src/event.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html b/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html index 51029e06..93d70452 100644 --- a/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html +++ b/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html @@ -3,7 +3,7 @@ - src/extensions/advancedGrid/adapterEzEditTable.js | tablefilter v0.4.32 API Document + src/extensions/advancedGrid/adapterEzEditTable.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/extensions/advancedGrid/advancedGrid.js.html b/docs/file/src/extensions/advancedGrid/advancedGrid.js.html index 25bbb6bd..56d0b118 100644 --- a/docs/file/src/extensions/advancedGrid/advancedGrid.js.html +++ b/docs/file/src/extensions/advancedGrid/advancedGrid.js.html @@ -3,7 +3,7 @@ - src/extensions/advancedGrid/advancedGrid.js | tablefilter v0.4.32 API Document + src/extensions/advancedGrid/advancedGrid.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/extensions/colOps/colOps.js.html b/docs/file/src/extensions/colOps/colOps.js.html index cca09b6d..51c85893 100644 --- a/docs/file/src/extensions/colOps/colOps.js.html +++ b/docs/file/src/extensions/colOps/colOps.js.html @@ -3,7 +3,7 @@ - src/extensions/colOps/colOps.js | tablefilter v0.4.32 API Document + src/extensions/colOps/colOps.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/extensions/colsVisibility/colsVisibility.js.html b/docs/file/src/extensions/colsVisibility/colsVisibility.js.html index 4f0175e1..e1a92f3b 100644 --- a/docs/file/src/extensions/colsVisibility/colsVisibility.js.html +++ b/docs/file/src/extensions/colsVisibility/colsVisibility.js.html @@ -3,7 +3,7 @@ - src/extensions/colsVisibility/colsVisibility.js | tablefilter v0.4.32 API Document + src/extensions/colsVisibility/colsVisibility.js | tablefilter v0.4.33 API Document @@ -126,7 +126,8 @@ import { getText } from '../../dom'; import {isFn, EMPTY_FN} from '../../types'; -import {addEvt, targetEvt} from '../../event'; +import {addEvt, targetEvt, removeEvt} from '../../event'; +import {root} from '../../root'; /** * Columns Visibility extension @@ -327,6 +328,12 @@ export default class ColsVisibility extends Feature { */ this.hiddenCols = []; + /** + * Bound mouseup wrapper + * @private + */ + this.boundMouseup = null; + /** * Callback fired when the extension is initialized * @type {Function} @@ -403,10 +410,32 @@ export default class ColsVisibility extends Feature { this.enable(); } + /** + * Mouse-up event handler handling popup auto-close behaviour + * @private + */ + onMouseup(evt) { + let targetElm = targetEvt(evt); + + while (targetElm && targetElm !== this.contEl + && targetElm !== this.btnEl) { + targetElm = targetElm.parentNode; + } + + if (targetElm !== this.contEl && targetElm !== this.btnEl) { + this.toggle(); + } + + return; + } + /** * Toggle columns manager UI */ toggle() { + // ensure mouseup event handler is removed + removeEvt(root, 'mouseup', this.boundMouseup); + let contDisplay = this.contEl.style.display; if (contDisplay !== 'inline') { @@ -421,6 +450,7 @@ export default class ColsVisibility extends Feature { if (contDisplay !== 'inline') { this.onAfterOpen(this); + addEvt(root, 'mouseup', this.boundMouseup); } if (contDisplay === 'inline') { this.onAfterClose(this); @@ -467,11 +497,11 @@ export default class ColsVisibility extends Feature { this.buildBtn(); this.buildManager(); - /** - * @inherited - */ + /** @inherited */ this.initialized = true; + this.boundMouseup = this.onMouseup.bind(this); + this.emitter.emit('columns-visibility-initialized', this.tf, this); // Hide columns at start at very end of initialization, do not move @@ -787,6 +817,8 @@ export default class ColsVisibility extends Feature { this.emitter.off(['hide-column'], (tf, colIndex) => this.hideCol(colIndex)); + this.boundMouseup = null; + this.initialized = false; } diff --git a/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html b/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html index bdda00f2..8d6e8368 100644 --- a/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html +++ b/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html @@ -3,7 +3,7 @@ - src/extensions/filtersVisibility/filtersVisibility.js | tablefilter v0.4.32 API Document + src/extensions/filtersVisibility/filtersVisibility.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/extensions/sort/adapterSortabletable.js.html b/docs/file/src/extensions/sort/adapterSortabletable.js.html index e404c582..9184f3ba 100644 --- a/docs/file/src/extensions/sort/adapterSortabletable.js.html +++ b/docs/file/src/extensions/sort/adapterSortabletable.js.html @@ -3,7 +3,7 @@ - src/extensions/sort/adapterSortabletable.js | tablefilter v0.4.32 API Document + src/extensions/sort/adapterSortabletable.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/extensions/sort/sort.js.html b/docs/file/src/extensions/sort/sort.js.html index aba561aa..0d879dc7 100644 --- a/docs/file/src/extensions/sort/sort.js.html +++ b/docs/file/src/extensions/sort/sort.js.html @@ -3,7 +3,7 @@ - src/extensions/sort/sort.js | tablefilter v0.4.32 API Document + src/extensions/sort/sort.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/feature.js.html b/docs/file/src/feature.js.html index bd4880e9..d03cf282 100644 --- a/docs/file/src/feature.js.html +++ b/docs/file/src/feature.js.html @@ -3,7 +3,7 @@ - src/feature.js | tablefilter v0.4.32 API Document + src/feature.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/alternateRows.js.html b/docs/file/src/modules/alternateRows.js.html index f96d20c2..1380cc83 100644 --- a/docs/file/src/modules/alternateRows.js.html +++ b/docs/file/src/modules/alternateRows.js.html @@ -3,7 +3,7 @@ - src/modules/alternateRows.js | tablefilter v0.4.32 API Document + src/modules/alternateRows.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/checkList.js.html b/docs/file/src/modules/checkList.js.html index 0ed67709..f9378d47 100644 --- a/docs/file/src/modules/checkList.js.html +++ b/docs/file/src/modules/checkList.js.html @@ -3,7 +3,7 @@ - src/modules/checkList.js | tablefilter v0.4.32 API Document + src/modules/checkList.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/clearButton.js.html b/docs/file/src/modules/clearButton.js.html index c5550725..884c56d0 100644 --- a/docs/file/src/modules/clearButton.js.html +++ b/docs/file/src/modules/clearButton.js.html @@ -3,7 +3,7 @@ - src/modules/clearButton.js | tablefilter v0.4.32 API Document + src/modules/clearButton.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/dateType.js.html b/docs/file/src/modules/dateType.js.html index fa4e91e1..42e5a8c9 100644 --- a/docs/file/src/modules/dateType.js.html +++ b/docs/file/src/modules/dateType.js.html @@ -3,7 +3,7 @@ - src/modules/dateType.js | tablefilter v0.4.32 API Document + src/modules/dateType.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/dropdown.js.html b/docs/file/src/modules/dropdown.js.html index d18a57fc..9c116e10 100644 --- a/docs/file/src/modules/dropdown.js.html +++ b/docs/file/src/modules/dropdown.js.html @@ -3,7 +3,7 @@ - src/modules/dropdown.js | tablefilter v0.4.32 API Document + src/modules/dropdown.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/gridLayout.js.html b/docs/file/src/modules/gridLayout.js.html index b409a2ed..917da5ff 100644 --- a/docs/file/src/modules/gridLayout.js.html +++ b/docs/file/src/modules/gridLayout.js.html @@ -3,7 +3,7 @@ - src/modules/gridLayout.js | tablefilter v0.4.32 API Document + src/modules/gridLayout.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/hash.js.html b/docs/file/src/modules/hash.js.html index 2c2a6a9a..3732d580 100644 --- a/docs/file/src/modules/hash.js.html +++ b/docs/file/src/modules/hash.js.html @@ -3,7 +3,7 @@ - src/modules/hash.js | tablefilter v0.4.32 API Document + src/modules/hash.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/help.js.html b/docs/file/src/modules/help.js.html index d10d9f5c..b16ca121 100644 --- a/docs/file/src/modules/help.js.html +++ b/docs/file/src/modules/help.js.html @@ -3,7 +3,7 @@ - src/modules/help.js | tablefilter v0.4.32 API Document + src/modules/help.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/highlightKeywords.js.html b/docs/file/src/modules/highlightKeywords.js.html index 7d7013df..1cfb15a2 100644 --- a/docs/file/src/modules/highlightKeywords.js.html +++ b/docs/file/src/modules/highlightKeywords.js.html @@ -3,7 +3,7 @@ - src/modules/highlightKeywords.js | tablefilter v0.4.32 API Document + src/modules/highlightKeywords.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/loader.js.html b/docs/file/src/modules/loader.js.html index 15c6905c..abba3152 100644 --- a/docs/file/src/modules/loader.js.html +++ b/docs/file/src/modules/loader.js.html @@ -3,7 +3,7 @@ - src/modules/loader.js | tablefilter v0.4.32 API Document + src/modules/loader.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/noResults.js.html b/docs/file/src/modules/noResults.js.html index 6bc1dba5..25ef922c 100644 --- a/docs/file/src/modules/noResults.js.html +++ b/docs/file/src/modules/noResults.js.html @@ -3,7 +3,7 @@ - src/modules/noResults.js | tablefilter v0.4.32 API Document + src/modules/noResults.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/paging.js.html b/docs/file/src/modules/paging.js.html index 545ad1f3..764b8d50 100644 --- a/docs/file/src/modules/paging.js.html +++ b/docs/file/src/modules/paging.js.html @@ -3,7 +3,7 @@ - src/modules/paging.js | tablefilter v0.4.32 API Document + src/modules/paging.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/popupFilter.js.html b/docs/file/src/modules/popupFilter.js.html index 0453787f..67ee8f3f 100644 --- a/docs/file/src/modules/popupFilter.js.html +++ b/docs/file/src/modules/popupFilter.js.html @@ -3,7 +3,7 @@ - src/modules/popupFilter.js | tablefilter v0.4.32 API Document + src/modules/popupFilter.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/rowsCounter.js.html b/docs/file/src/modules/rowsCounter.js.html index 74cf6c08..6fb5cbb2 100644 --- a/docs/file/src/modules/rowsCounter.js.html +++ b/docs/file/src/modules/rowsCounter.js.html @@ -3,7 +3,7 @@ - src/modules/rowsCounter.js | tablefilter v0.4.32 API Document + src/modules/rowsCounter.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/state.js.html b/docs/file/src/modules/state.js.html index 8fcf19cb..0e1559e9 100644 --- a/docs/file/src/modules/state.js.html +++ b/docs/file/src/modules/state.js.html @@ -3,7 +3,7 @@ - src/modules/state.js | tablefilter v0.4.32 API Document + src/modules/state.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/statusBar.js.html b/docs/file/src/modules/statusBar.js.html index 231fea28..9dfc2b52 100644 --- a/docs/file/src/modules/statusBar.js.html +++ b/docs/file/src/modules/statusBar.js.html @@ -3,7 +3,7 @@ - src/modules/statusBar.js | tablefilter v0.4.32 API Document + src/modules/statusBar.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/modules/storage.js.html b/docs/file/src/modules/storage.js.html index 246dce97..7802d413 100644 --- a/docs/file/src/modules/storage.js.html +++ b/docs/file/src/modules/storage.js.html @@ -3,7 +3,7 @@ - src/modules/storage.js | tablefilter v0.4.32 API Document + src/modules/storage.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/number.js.html b/docs/file/src/number.js.html index 3379044d..fa90d4c2 100644 --- a/docs/file/src/number.js.html +++ b/docs/file/src/number.js.html @@ -3,7 +3,7 @@ - src/number.js | tablefilter v0.4.32 API Document + src/number.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/root.js.html b/docs/file/src/root.js.html index e6496513..e7f68a08 100644 --- a/docs/file/src/root.js.html +++ b/docs/file/src/root.js.html @@ -3,7 +3,7 @@ - src/root.js | tablefilter v0.4.32 API Document + src/root.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/sort.js.html b/docs/file/src/sort.js.html index 70c61fb2..b92396ab 100644 --- a/docs/file/src/sort.js.html +++ b/docs/file/src/sort.js.html @@ -3,7 +3,7 @@ - src/sort.js | tablefilter v0.4.32 API Document + src/sort.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/string.js.html b/docs/file/src/string.js.html index c1bca733..61f1825b 100644 --- a/docs/file/src/string.js.html +++ b/docs/file/src/string.js.html @@ -3,7 +3,7 @@ - src/string.js | tablefilter v0.4.32 API Document + src/string.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/tablefilter.js.html b/docs/file/src/tablefilter.js.html index 86758d4a..ce8d0ff9 100644 --- a/docs/file/src/tablefilter.js.html +++ b/docs/file/src/tablefilter.js.html @@ -3,7 +3,7 @@ - src/tablefilter.js | tablefilter v0.4.32 API Document + src/tablefilter.js | tablefilter v0.4.33 API Document diff --git a/docs/file/src/types.js.html b/docs/file/src/types.js.html index fdd3725a..5a6e5393 100644 --- a/docs/file/src/types.js.html +++ b/docs/file/src/types.js.html @@ -3,7 +3,7 @@ - src/types.js | tablefilter v0.4.32 API Document + src/types.js | tablefilter v0.4.33 API Document diff --git a/docs/function/index.html b/docs/function/index.html index 39dc7baf..22ccf722 100644 --- a/docs/function/index.html +++ b/docs/function/index.html @@ -3,7 +3,7 @@ - Function | tablefilter v0.4.32 API Document + Function | tablefilter v0.4.33 API Document diff --git a/docs/identifiers.html b/docs/identifiers.html index 05c6ca89..a1ee4098 100644 --- a/docs/identifiers.html +++ b/docs/identifiers.html @@ -3,7 +3,7 @@ - Index | tablefilter v0.4.32 API Document + Index | tablefilter v0.4.33 API Document diff --git a/docs/index.html b/docs/index.html index acc2b346..5c3fce0f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,7 +3,7 @@ - tablefilter v0.4.32 API Document + tablefilter v0.4.33 API Document @@ -202,7 +202,7 @@ sever on port 8080.

command to generate a production build.

The

-
npm run build-all
+
npm run dist
 

command will create a production build, run the tests and finally generate the demos:

@@ -219,7 +219,7 @@ grunt test-only:test.html,test-sort.html

Demos

Check out the online examples or generate the demos locally:

-
npm run build-demos
+
npm run build:demos
 

then run the local webserver:

npm start
diff --git a/docs/package.json b/docs/package.json
index 4455567c..c1185fe3 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -1,6 +1,6 @@
 {
   "name": "tablefilter",
-  "version": "0.4.32",
+  "version": "0.4.33",
   "description": "A Javascript library making HTML tables filterable and a bit more",
   "license": "MIT",
   "author": {
@@ -24,13 +24,13 @@
   "scripts": {
     "dev": "grunt dev",
     "build": "grunt build",
-    "build-demos": "grunt build-demos",
+    "build:demos": "grunt build-demos",
     "server": "grunt server",
     "eslint": "grunt eslint",
     "test": "grunt test",
     "codecov": "./node_modules/.bin/codecov",
     "esdoc": "grunt esdoc",
-    "build-all": "grunt",
+    "dist": "grunt",
     "deploy": "grunt deploy",
     "start": "npm run server"
   },
@@ -43,7 +43,7 @@
     "babel-loader": "^6.2.9",
     "babel-plugin-transform-es2015-classes": "^6.18.0",
     "babel-preset-es2015": "^6.18.0",
-    "clean-webpack-plugin": "^0.1.14",
+    "clean-webpack-plugin": "^0.1.15",
     "codecov": "1.0.1",
     "diacritics": "1.2.3",
     "grunt": "^1.0.1",
diff --git a/docs/source.html b/docs/source.html
index 266cd274..49cf41f8 100644
--- a/docs/source.html
+++ b/docs/source.html
@@ -3,7 +3,7 @@
 
   
   
-  Source | tablefilter v0.4.32 API Document
+  Source | tablefilter v0.4.33 API Document
   
   
   
@@ -140,7 +140,7 @@
       100 %1/1
       545 byte
       22
-      2017-01-04 21:14:21 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/const.js
@@ -165,7 +165,7 @@
       100 %18/18
       1536 byte
       118
-      2017-01-04 21:14:21 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/cookie.js
@@ -173,7 +173,7 @@
       -
       1412 byte
       57
-      2017-01-04 21:14:21 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/dom.js
@@ -192,7 +192,7 @@
       100 %12/12
       4767 byte
       191
-      2017-01-04 21:14:21 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/emitter.js
@@ -200,7 +200,7 @@
       100 %6/6
       1323 byte
       53
-      2017-01-04 21:14:21 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/event.js
@@ -213,7 +213,7 @@
       100 %6/6
       2384 byte
       101
-      2017-01-04 21:14:21 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/extensions/advancedGrid/adapterEzEditTable.js
@@ -221,7 +221,7 @@
       100 %13/13
       18904 byte
       504
-      2017-01-04 21:14:21 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/extensions/advancedGrid/advancedGrid.js
@@ -229,7 +229,7 @@
       -
       90 byte
       2
-      2017-01-04 21:14:21 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/extensions/colOps/colOps.js
@@ -237,15 +237,15 @@
       100 %9/9
       13525 byte
       366
-      2017-01-04 21:14:21 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/extensions/colsVisibility/colsVisibility.js
       ColsVisibility
       100 %49/49
-      20130 byte
-      707
-      2017-01-04 21:14:21 (UTC)
+      20964 byte
+      739
+      2017-01-07 12:02:03 (UTC)
     
 
       src/extensions/filtersVisibility/filtersVisibility.js
@@ -253,7 +253,7 @@
       100 %25/25
       7784 byte
       307
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/extensions/sort/adapterSortabletable.js
@@ -261,7 +261,7 @@
       100 %23/23
       16452 byte
       532
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/extensions/sort/sort.js
@@ -269,7 +269,7 @@
       -
       197 byte
       8
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/feature.js
@@ -277,7 +277,7 @@
       100 %14/14
       1864 byte
       97
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/alternateRows.js
@@ -285,7 +285,7 @@
       100 %9/9
       3644 byte
       140
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/checkList.js
@@ -293,7 +293,7 @@
       100 %17/17
       18969 byte
       590
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/clearButton.js
@@ -301,7 +301,7 @@
       100 %10/10
       3129 byte
       128
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/dateType.js
@@ -309,7 +309,7 @@
       100 %11/11
       3997 byte
       147
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/dropdown.js
@@ -317,7 +317,7 @@
       100 %14/14
       13699 byte
       442
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/gridLayout.js
@@ -325,7 +325,7 @@
       100 %16/16
       14075 byte
       494
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/hash.js
@@ -334,7 +334,7 @@
       100 %10/10
       2981 byte
       126
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/help.js
@@ -342,7 +342,7 @@
       100 %17/17
       6516 byte
       232
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/highlightKeywords.js
@@ -350,7 +350,7 @@
       100 %10/10
       5405 byte
       179
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/loader.js
@@ -358,7 +358,7 @@
       100 %14/14
       4005 byte
       173
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/noResults.js
@@ -366,7 +366,7 @@
       100 %17/17
       4809 byte
       198
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/paging.js
@@ -374,7 +374,7 @@
       100 %45/45
       27455 byte
       898
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/popupFilter.js
@@ -382,7 +382,7 @@
       100 %26/26
       12712 byte
       446
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/rowsCounter.js
@@ -390,7 +390,7 @@
       100 %13/13
       5643 byte
       197
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/state.js
@@ -398,7 +398,7 @@
       100 %24/24
       14771 byte
       541
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/statusBar.js
@@ -406,7 +406,7 @@
       100 %22/22
       8485 byte
       299
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/modules/storage.js
@@ -415,7 +415,7 @@
       100 %10/10
       3544 byte
       162
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/number.js
@@ -423,7 +423,7 @@
       100 %1/1
       998 byte
       29
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/root.js
@@ -431,7 +431,7 @@
       100 %1/1
       235 byte
       6
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/sort.js
@@ -441,7 +441,7 @@
       100 %3/3
       930 byte
       33
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/string.js
@@ -453,7 +453,7 @@
       100 %5/5
       2082 byte
       76
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/tablefilter.js
@@ -461,7 +461,7 @@
       100 %170/170
       89243 byte
       2975
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
       src/types.js
@@ -477,7 +477,7 @@
       100 %9/9
       1563 byte
       73
-      2017-01-04 21:14:22 (UTC)
+      2017-01-07 12:02:03 (UTC)
     
 
 
diff --git a/docs/variable/index.html b/docs/variable/index.html
index 33e49c7b..3b98b1a2 100644
--- a/docs/variable/index.html
+++ b/docs/variable/index.html
@@ -3,7 +3,7 @@
 
   
   
-  Variable | tablefilter v0.4.32 API Document
+  Variable | tablefilter v0.4.33 API Document