From cf6146afdabd6bef2b0ec4c09c48553136e47d25 Mon Sep 17 00:00:00 2001 From: koalyptus Date: Sat, 9 Jul 2016 12:11:18 +0000 Subject: [PATCH] publish Docs to gh-pages (auto) branch: master SHA: 969824c0292ed43368365abb3900116f35643135 range SHA: e92e96b828ae...969824c0292e build id: 143550650 build number: 363 --- docs/ast/source/cookie.js.json | 2522 +- docs/ast/source/modules/dropdown.js.json | 13335 ++++---- docs/ast/source/modules/gridLayout.js.json | 28403 ++++++++-------- docs/badge.svg | 4 +- docs/class/src/emitter.js~Emitter.html | 2 +- ...pterEzEditTable.js~AdapterEzEditTable.html | 2 +- .../extensions/colOps/colOps.js~ColOps.html | 2 +- .../colsVisibility.js~ColsVisibility.html | 2 +- ...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/dropdown.js~Dropdown.html | 542 +- .../src/modules/gridLayout.js~GridLayout.html | 88 +- 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/coverage.json | 37 +- docs/dump.json | 2277 +- docs/file/src/array.js.html | 2 +- docs/file/src/const.js.html | 2 +- docs/file/src/cookie.js.html | 37 +- docs/file/src/date.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 | 2 +- .../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/helpers.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/dropdown.js.html | 66 +- docs/file/src/modules/gridLayout.js.html | 277 +- 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/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/identifiers.html | 7 +- docs/index.html | 2 +- docs/package.json | 2 +- docs/script/search_index.js | 48 - docs/source.html | 98 +- docs/variable/index.html | 2 +- 73 files changed, 23879 insertions(+), 23980 deletions(-) diff --git a/docs/ast/source/cookie.js.json b/docs/ast/source/cookie.js.json index 8235e40b..24a07d73 100644 --- a/docs/ast/source/cookie.js.json +++ b/docs/ast/source/cookie.js.json @@ -252,16 +252,16 @@ "type": "Identifier", "name": "write", "range": [ - 109, - 114 + 297, + 302 ], "loc": { "start": { - "line": 11, + "line": 17, "column": 4 }, "end": { - "line": 11, + "line": 17, "column": 9 } } @@ -274,16 +274,16 @@ "type": "Identifier", "name": "name", "range": [ - 115, - 119 + 303, + 307 ], "loc": { "start": { - "line": 11, + "line": 17, "column": 10 }, "end": { - "line": 11, + "line": 17, "column": 14 } } @@ -292,16 +292,16 @@ "type": "Identifier", "name": "value", "range": [ - 121, - 126 + 309, + 314 ], "loc": { "start": { - "line": 11, + "line": 17, "column": 16 }, "end": { - "line": 11, + "line": 17, "column": 21 } } @@ -310,16 +310,16 @@ "type": "Identifier", "name": "hours", "range": [ - 128, - 133 + 316, + 321 ], "loc": { "start": { - "line": 11, + "line": 17, "column": 23 }, "end": { - "line": 11, + "line": 17, "column": 28 } } @@ -337,16 +337,16 @@ "type": "Identifier", "name": "expire", "range": [ - 149, - 155 + 337, + 343 ], "loc": { "start": { - "line": 12, + "line": 18, "column": 12 }, "end": { - "line": 12, + "line": 18, "column": 18 } } @@ -356,31 +356,31 @@ "value": "", "raw": "''", "range": [ - 158, - 160 + 346, + 348 ], "loc": { "start": { - "line": 12, + "line": 18, "column": 21 }, "end": { - "line": 12, + "line": 18, "column": 23 } } }, "range": [ - 149, - 160 + 337, + 348 ], "loc": { "start": { - "line": 12, + "line": 18, "column": 12 }, "end": { - "line": 12, + "line": 18, "column": 23 } } @@ -388,16 +388,16 @@ ], "kind": "let", "range": [ - 145, - 161 + 333, + 349 ], "loc": { "start": { - "line": 12, + "line": 18, "column": 8 }, "end": { - "line": 12, + "line": 18, "column": 24 } } @@ -408,16 +408,16 @@ "type": "Identifier", "name": "hours", "range": [ - 174, - 179 + 362, + 367 ], "loc": { "start": { - "line": 13, + "line": 19, "column": 12 }, "end": { - "line": 13, + "line": 19, "column": 17 } } @@ -434,16 +434,16 @@ "type": "Identifier", "name": "expire", "range": [ - 195, - 201 + 383, + 389 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 12 }, "end": { - "line": 14, + "line": 20, "column": 18 } } @@ -454,16 +454,16 @@ "type": "Identifier", "name": "Date", "range": [ - 208, - 212 + 396, + 400 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 25 }, "end": { - "line": 14, + "line": 20, "column": 29 } } @@ -483,32 +483,32 @@ "type": "Identifier", "name": "Date", "range": [ - 218, - 222 + 406, + 410 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 35 }, "end": { - "line": 14, + "line": 20, "column": 39 } } }, "arguments": [], "range": [ - 214, - 224 + 402, + 412 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 31 }, "end": { - "line": 14, + "line": 20, "column": 41 } } @@ -517,47 +517,47 @@ "type": "Identifier", "name": "getTime", "range": [ - 226, - 233 + 414, + 421 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 43 }, "end": { - "line": 14, + "line": 20, "column": 50 } } }, "range": [ - 213, - 233 + 401, + 421 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 30 }, "end": { - "line": 14, + "line": 20, "column": 50 } } }, "arguments": [], "range": [ - 213, - 235 + 401, + 423 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 30 }, "end": { - "line": 14, + "line": 20, "column": 52 } } @@ -569,16 +569,16 @@ "type": "Identifier", "name": "hours", "range": [ - 238, - 243 + 426, + 431 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 55 }, "end": { - "line": 14, + "line": 20, "column": 60 } } @@ -588,92 +588,92 @@ "value": 3600000, "raw": "3600000", "range": [ - 246, - 253 + 434, + 441 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 63 }, "end": { - "line": 14, + "line": 20, "column": 70 } } }, "range": [ - 238, - 253 + 426, + 441 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 55 }, "end": { - "line": 14, + "line": 20, "column": 70 } } }, "range": [ - 213, - 253 + 401, + 441 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 30 }, "end": { - "line": 14, + "line": 20, "column": 70 } } } ], "range": [ - 204, - 254 + 392, + 442 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 21 }, "end": { - "line": 14, + "line": 20, "column": 71 } } }, "range": [ - 195, - 254 + 383, + 442 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 12 }, "end": { - "line": 14, + "line": 20, "column": 71 } } }, "range": [ - 195, - 255 + 383, + 443 ], "loc": { "start": { - "line": 14, + "line": 20, "column": 12 }, "end": { - "line": 14, + "line": 20, "column": 72 } } @@ -687,16 +687,16 @@ "type": "Identifier", "name": "expire", "range": [ - 268, - 274 + 456, + 462 ], "loc": { "start": { - "line": 15, + "line": 21, "column": 12 }, "end": { - "line": 15, + "line": 21, "column": 18 } } @@ -709,16 +709,16 @@ "value": "; expires=", "raw": "'; expires='", "range": [ - 277, - 289 + 465, + 477 ], "loc": { "start": { - "line": 15, + "line": 21, "column": 21 }, "end": { - "line": 15, + "line": 21, "column": 33 } } @@ -732,16 +732,16 @@ "type": "Identifier", "name": "expire", "range": [ - 292, - 298 + 480, + 486 ], "loc": { "start": { - "line": 15, + "line": 21, "column": 36 }, "end": { - "line": 15, + "line": 21, "column": 42 } } @@ -750,124 +750,124 @@ "type": "Identifier", "name": "toGMTString", "range": [ - 299, - 310 + 487, + 498 ], "loc": { "start": { - "line": 15, + "line": 21, "column": 43 }, "end": { - "line": 15, + "line": 21, "column": 54 } } }, "range": [ - 292, - 310 + 480, + 498 ], "loc": { "start": { - "line": 15, + "line": 21, "column": 36 }, "end": { - "line": 15, + "line": 21, "column": 54 } } }, "arguments": [], "range": [ - 292, - 312 + 480, + 500 ], "loc": { "start": { - "line": 15, + "line": 21, "column": 36 }, "end": { - "line": 15, + "line": 21, "column": 56 } } }, "range": [ - 277, - 312 + 465, + 500 ], "loc": { "start": { - "line": 15, + "line": 21, "column": 21 }, "end": { - "line": 15, + "line": 21, "column": 56 } } }, "range": [ - 268, - 312 + 456, + 500 ], "loc": { "start": { - "line": 15, + "line": 21, "column": 12 }, "end": { - "line": 15, + "line": 21, "column": 56 } } }, "range": [ - 268, - 313 + 456, + 501 ], "loc": { "start": { - "line": 15, + "line": 21, "column": 12 }, "end": { - "line": 15, + "line": 21, "column": 57 } } } ], "range": [ - 181, - 323 + 369, + 511 ], "loc": { "start": { - "line": 13, + "line": 19, "column": 19 }, "end": { - "line": 16, + "line": 22, "column": 9 } } }, "alternate": null, "range": [ - 170, - 323 + 358, + 511 ], "loc": { "start": { - "line": 13, + "line": 19, "column": 8 }, "end": { - "line": 16, + "line": 22, "column": 9 } } @@ -884,16 +884,16 @@ "type": "Identifier", "name": "doc", "range": [ - 332, - 335 + 520, + 523 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 8 }, "end": { - "line": 17, + "line": 23, "column": 11 } } @@ -902,31 +902,31 @@ "type": "Identifier", "name": "cookie", "range": [ - 336, - 342 + 524, + 530 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 12 }, "end": { - "line": 17, + "line": 23, "column": 18 } } }, "range": [ - 332, - 342 + 520, + 530 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 8 }, "end": { - "line": 17, + "line": 23, "column": 18 } } @@ -944,16 +944,16 @@ "type": "Identifier", "name": "name", "range": [ - 345, - 349 + 533, + 537 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 21 }, "end": { - "line": 17, + "line": 23, "column": 25 } } @@ -963,31 +963,31 @@ "value": "=", "raw": "'='", "range": [ - 352, - 355 + 540, + 543 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 28 }, "end": { - "line": 17, + "line": 23, "column": 31 } } }, "range": [ - 345, - 355 + 533, + 543 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 21 }, "end": { - "line": 17, + "line": 23, "column": 31 } } @@ -998,16 +998,16 @@ "type": "Identifier", "name": "escape", "range": [ - 358, - 364 + 546, + 552 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 34 }, "end": { - "line": 17, + "line": 23, "column": 40 } } @@ -1017,47 +1017,47 @@ "type": "Identifier", "name": "value", "range": [ - 365, - 370 + 553, + 558 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 41 }, "end": { - "line": 17, + "line": 23, "column": 46 } } } ], "range": [ - 358, - 371 + 546, + 559 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 34 }, "end": { - "line": 17, + "line": 23, "column": 47 } } }, "range": [ - 345, - 371 + 533, + 559 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 21 }, "end": { - "line": 17, + "line": 23, "column": 47 } } @@ -1066,77 +1066,77 @@ "type": "Identifier", "name": "expire", "range": [ - 374, - 380 + 562, + 568 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 50 }, "end": { - "line": 17, + "line": 23, "column": 56 } } }, "range": [ - 345, - 380 + 533, + 568 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 21 }, "end": { - "line": 17, + "line": 23, "column": 56 } } }, "range": [ - 332, - 380 + 520, + 568 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 8 }, "end": { - "line": 17, + "line": 23, "column": 56 } } }, "range": [ - 332, - 381 + 520, + 569 ], "loc": { "start": { - "line": 17, + "line": 23, "column": 8 }, "end": { - "line": 17, + "line": 23, "column": 57 } } } ], "range": [ - 135, - 387 + 323, + 575 ], "loc": { "start": { - "line": 11, + "line": 17, "column": 30 }, "end": { - "line": 18, + "line": 24, "column": 5 } } @@ -1144,16 +1144,16 @@ "generator": false, "expression": false, "range": [ - 114, - 387 + 302, + 575 ], "loc": { "start": { - "line": 11, + "line": 17, "column": 9 }, "end": { - "line": 18, + "line": 24, "column": 5 } } @@ -1163,19 +1163,39 @@ "shorthand": false, "computed": false, "range": [ - 109, - 387 + 297, + 575 ], "loc": { "start": { - "line": 11, + "line": 17, "column": 4 }, "end": { - "line": 18, + "line": 24, "column": 5 } - } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Write a cookie\n * @param {String} name Name of the cookie\n * @param {String} value Value of the cookie\n * @param {Number} hours Cookie duration in hours\n ", + "range": [ + 109, + 292 + ], + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ] }, { "type": "Property", @@ -1183,16 +1203,16 @@ "type": "Identifier", "name": "read", "range": [ - 394, - 398 + 711, + 715 ], "loc": { "start": { - "line": 20, + "line": 31, "column": 4 }, "end": { - "line": 20, + "line": 31, "column": 8 } } @@ -1205,16 +1225,16 @@ "type": "Identifier", "name": "name", "range": [ - 399, - 403 + 716, + 720 ], "loc": { "start": { - "line": 20, + "line": 31, "column": 9 }, "end": { - "line": 20, + "line": 31, "column": 13 } } @@ -1232,16 +1252,16 @@ "type": "Identifier", "name": "cookieValue", "range": [ - 419, - 430 + 736, + 747 ], "loc": { "start": { - "line": 21, + "line": 32, "column": 12 }, "end": { - "line": 21, + "line": 32, "column": 23 } } @@ -1251,31 +1271,31 @@ "value": "", "raw": "''", "range": [ - 433, - 435 + 750, + 752 ], "loc": { "start": { - "line": 21, + "line": 32, "column": 26 }, "end": { - "line": 21, + "line": 32, "column": 28 } } }, "range": [ - 419, - 435 + 736, + 752 ], "loc": { "start": { - "line": 21, + "line": 32, "column": 12 }, "end": { - "line": 21, + "line": 32, "column": 28 } } @@ -1286,16 +1306,16 @@ "type": "Identifier", "name": "search", "range": [ - 449, - 455 + 766, + 772 ], "loc": { "start": { - "line": 22, + "line": 33, "column": 12 }, "end": { - "line": 22, + "line": 33, "column": 18 } } @@ -1307,16 +1327,16 @@ "type": "Identifier", "name": "name", "range": [ - 458, - 462 + 775, + 779 ], "loc": { "start": { - "line": 22, + "line": 33, "column": 21 }, "end": { - "line": 22, + "line": 33, "column": 25 } } @@ -1326,46 +1346,46 @@ "value": "=", "raw": "'='", "range": [ - 465, - 468 + 782, + 785 ], "loc": { "start": { - "line": 22, + "line": 33, "column": 28 }, "end": { - "line": 22, + "line": 33, "column": 31 } } }, "range": [ - 458, - 468 + 775, + 785 ], "loc": { "start": { - "line": 22, + "line": 33, "column": 21 }, "end": { - "line": 22, + "line": 33, "column": 31 } } }, "range": [ - 449, - 468 + 766, + 785 ], "loc": { "start": { - "line": 22, + "line": 33, "column": 12 }, "end": { - "line": 22, + "line": 33, "column": 31 } } @@ -1373,16 +1393,16 @@ ], "kind": "let", "range": [ - 415, - 469 + 732, + 786 ], "loc": { "start": { - "line": 21, + "line": 32, "column": 8 }, "end": { - "line": 22, + "line": 33, "column": 32 } } @@ -1402,16 +1422,16 @@ "type": "Identifier", "name": "doc", "range": [ - 482, - 485 + 799, + 802 ], "loc": { "start": { - "line": 23, + "line": 34, "column": 12 }, "end": { - "line": 23, + "line": 34, "column": 15 } } @@ -1420,31 +1440,31 @@ "type": "Identifier", "name": "cookie", "range": [ - 486, - 492 + 803, + 809 ], "loc": { "start": { - "line": 23, + "line": 34, "column": 16 }, "end": { - "line": 23, + "line": 34, "column": 22 } } }, "range": [ - 482, - 492 + 799, + 809 ], "loc": { "start": { - "line": 23, + "line": 34, "column": 12 }, "end": { - "line": 23, + "line": 34, "column": 22 } } @@ -1453,31 +1473,31 @@ "type": "Identifier", "name": "length", "range": [ - 493, - 499 + 810, + 816 ], "loc": { "start": { - "line": 23, + "line": 34, "column": 23 }, "end": { - "line": 23, + "line": 34, "column": 29 } } }, "range": [ - 482, - 499 + 799, + 816 ], "loc": { "start": { - "line": 23, + "line": 34, "column": 12 }, "end": { - "line": 23, + "line": 34, "column": 29 } } @@ -1487,31 +1507,31 @@ "value": 0, "raw": "0", "range": [ - 502, - 503 + 819, + 820 ], "loc": { "start": { - "line": 23, + "line": 34, "column": 32 }, "end": { - "line": 23, + "line": 34, "column": 33 } } }, "range": [ - 482, - 503 + 799, + 820 ], "loc": { "start": { - "line": 23, + "line": 34, "column": 12 }, "end": { - "line": 23, + "line": 34, "column": 33 } } @@ -1528,16 +1548,16 @@ "type": "Identifier", "name": "cookie", "range": [ - 523, - 529 + 840, + 846 ], "loc": { "start": { - "line": 24, + "line": 35, "column": 16 }, "end": { - "line": 24, + "line": 35, "column": 22 } } @@ -1549,16 +1569,16 @@ "type": "Identifier", "name": "doc", "range": [ - 532, - 535 + 849, + 852 ], "loc": { "start": { - "line": 24, + "line": 35, "column": 25 }, "end": { - "line": 24, + "line": 35, "column": 28 } } @@ -1567,46 +1587,46 @@ "type": "Identifier", "name": "cookie", "range": [ - 536, - 542 + 853, + 859 ], "loc": { "start": { - "line": 24, + "line": 35, "column": 29 }, "end": { - "line": 24, + "line": 35, "column": 35 } } }, "range": [ - 532, - 542 + 849, + 859 ], "loc": { "start": { - "line": 24, + "line": 35, "column": 25 }, "end": { - "line": 24, + "line": 35, "column": 35 } } }, "range": [ - 523, - 542 + 840, + 859 ], "loc": { "start": { - "line": 24, + "line": 35, "column": 16 }, "end": { - "line": 24, + "line": 35, "column": 35 } } @@ -1617,16 +1637,16 @@ "type": "Identifier", "name": "offset", "range": [ - 560, - 566 + 877, + 883 ], "loc": { "start": { - "line": 25, + "line": 36, "column": 16 }, "end": { - "line": 25, + "line": 36, "column": 22 } } @@ -1640,16 +1660,16 @@ "type": "Identifier", "name": "cookie", "range": [ - 569, - 575 + 886, + 892 ], "loc": { "start": { - "line": 25, + "line": 36, "column": 25 }, "end": { - "line": 25, + "line": 36, "column": 31 } } @@ -1658,31 +1678,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 576, - 583 + 893, + 900 ], "loc": { "start": { - "line": 25, + "line": 36, "column": 32 }, "end": { - "line": 25, + "line": 36, "column": 39 } } }, "range": [ - 569, - 583 + 886, + 900 ], "loc": { "start": { - "line": 25, + "line": 36, "column": 25 }, "end": { - "line": 25, + "line": 36, "column": 39 } } @@ -1692,47 +1712,47 @@ "type": "Identifier", "name": "search", "range": [ - 584, - 590 + 901, + 907 ], "loc": { "start": { - "line": 25, + "line": 36, "column": 40 }, "end": { - "line": 25, + "line": 36, "column": 46 } } } ], "range": [ - 569, - 591 + 886, + 908 ], "loc": { "start": { - "line": 25, + "line": 36, "column": 25 }, "end": { - "line": 25, + "line": 36, "column": 47 } } }, "range": [ - 560, - 591 + 877, + 908 ], "loc": { "start": { - "line": 25, + "line": 36, "column": 16 }, "end": { - "line": 25, + "line": 36, "column": 47 } } @@ -1740,16 +1760,16 @@ ], "kind": "let", "range": [ - 519, - 592 + 836, + 909 ], "loc": { "start": { - "line": 24, + "line": 35, "column": 12 }, "end": { - "line": 25, + "line": 36, "column": 48 } } @@ -1763,16 +1783,16 @@ "type": "Identifier", "name": "offset", "range": [ - 609, - 615 + 926, + 932 ], "loc": { "start": { - "line": 26, + "line": 37, "column": 16 }, "end": { - "line": 26, + "line": 37, "column": 22 } } @@ -1785,47 +1805,47 @@ "value": 1, "raw": "1", "range": [ - 621, - 622 + 938, + 939 ], "loc": { "start": { - "line": 26, + "line": 37, "column": 28 }, "end": { - "line": 26, + "line": 37, "column": 29 } } }, "prefix": true, "range": [ - 620, - 622 + 937, + 939 ], "loc": { "start": { - "line": 26, + "line": 37, "column": 27 }, "end": { - "line": 26, + "line": 37, "column": 29 } } }, "range": [ - 609, - 622 + 926, + 939 ], "loc": { "start": { - "line": 26, + "line": 37, "column": 16 }, "end": { - "line": 26, + "line": 37, "column": 29 } } @@ -1842,16 +1862,16 @@ "type": "Identifier", "name": "offset", "range": [ - 642, - 648 + 959, + 965 ], "loc": { "start": { - "line": 27, + "line": 38, "column": 16 }, "end": { - "line": 27, + "line": 38, "column": 22 } } @@ -1863,16 +1883,16 @@ "type": "Identifier", "name": "search", "range": [ - 652, - 658 + 969, + 975 ], "loc": { "start": { - "line": 27, + "line": 38, "column": 26 }, "end": { - "line": 27, + "line": 38, "column": 32 } } @@ -1881,61 +1901,61 @@ "type": "Identifier", "name": "length", "range": [ - 659, - 665 + 976, + 982 ], "loc": { "start": { - "line": 27, + "line": 38, "column": 33 }, "end": { - "line": 27, + "line": 38, "column": 39 } } }, "range": [ - 652, - 665 + 969, + 982 ], "loc": { "start": { - "line": 27, + "line": 38, "column": 26 }, "end": { - "line": 27, + "line": 38, "column": 39 } } }, "range": [ - 642, - 665 + 959, + 982 ], "loc": { "start": { - "line": 27, + "line": 38, "column": 16 }, "end": { - "line": 27, + "line": 38, "column": 39 } } }, "range": [ - 642, - 666 + 959, + 983 ], "loc": { "start": { - "line": 27, + "line": 38, "column": 16 }, "end": { - "line": 27, + "line": 38, "column": 40 } } @@ -1949,16 +1969,16 @@ "type": "Identifier", "name": "end", "range": [ - 687, - 690 + 1004, + 1007 ], "loc": { "start": { - "line": 28, + "line": 39, "column": 20 }, "end": { - "line": 28, + "line": 39, "column": 23 } } @@ -1972,16 +1992,16 @@ "type": "Identifier", "name": "cookie", "range": [ - 693, - 699 + 1010, + 1016 ], "loc": { "start": { - "line": 28, + "line": 39, "column": 26 }, "end": { - "line": 28, + "line": 39, "column": 32 } } @@ -1990,31 +2010,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 700, - 707 + 1017, + 1024 ], "loc": { "start": { - "line": 28, + "line": 39, "column": 33 }, "end": { - "line": 28, + "line": 39, "column": 40 } } }, "range": [ - 693, - 707 + 1010, + 1024 ], "loc": { "start": { - "line": 28, + "line": 39, "column": 26 }, "end": { - "line": 28, + "line": 39, "column": 40 } } @@ -2025,16 +2045,16 @@ "value": ";", "raw": "';'", "range": [ - 708, - 711 + 1025, + 1028 ], "loc": { "start": { - "line": 28, + "line": 39, "column": 41 }, "end": { - "line": 28, + "line": 39, "column": 44 } } @@ -2043,47 +2063,47 @@ "type": "Identifier", "name": "offset", "range": [ - 713, - 719 + 1030, + 1036 ], "loc": { "start": { - "line": 28, + "line": 39, "column": 46 }, "end": { - "line": 28, + "line": 39, "column": 52 } } } ], "range": [ - 693, - 720 + 1010, + 1037 ], "loc": { "start": { - "line": 28, + "line": 39, "column": 26 }, "end": { - "line": 28, + "line": 39, "column": 53 } } }, "range": [ - 687, - 720 + 1004, + 1037 ], "loc": { "start": { - "line": 28, + "line": 39, "column": 20 }, "end": { - "line": 28, + "line": 39, "column": 53 } } @@ -2091,16 +2111,16 @@ ], "kind": "let", "range": [ - 683, - 721 + 1000, + 1038 ], "loc": { "start": { - "line": 28, + "line": 39, "column": 16 }, "end": { - "line": 28, + "line": 39, "column": 54 } } @@ -2114,16 +2134,16 @@ "type": "Identifier", "name": "end", "range": [ - 742, - 745 + 1059, + 1062 ], "loc": { "start": { - "line": 29, + "line": 40, "column": 20 }, "end": { - "line": 29, + "line": 40, "column": 23 } } @@ -2136,47 +2156,47 @@ "value": 1, "raw": "1", "range": [ - 751, - 752 + 1068, + 1069 ], "loc": { "start": { - "line": 29, + "line": 40, "column": 29 }, "end": { - "line": 29, + "line": 40, "column": 30 } } }, "prefix": true, "range": [ - 750, - 752 + 1067, + 1069 ], "loc": { "start": { - "line": 29, + "line": 40, "column": 28 }, "end": { - "line": 29, + "line": 40, "column": 30 } } }, "range": [ - 742, - 752 + 1059, + 1069 ], "loc": { "start": { - "line": 29, + "line": 40, "column": 20 }, "end": { - "line": 29, + "line": 40, "column": 30 } } @@ -2193,16 +2213,16 @@ "type": "Identifier", "name": "end", "range": [ - 776, - 779 + 1093, + 1096 ], "loc": { "start": { - "line": 30, + "line": 41, "column": 20 }, "end": { - "line": 30, + "line": 41, "column": 23 } } @@ -2214,16 +2234,16 @@ "type": "Identifier", "name": "cookie", "range": [ - 782, - 788 + 1099, + 1105 ], "loc": { "start": { - "line": 30, + "line": 41, "column": 26 }, "end": { - "line": 30, + "line": 41, "column": 32 } } @@ -2232,93 +2252,93 @@ "type": "Identifier", "name": "length", "range": [ - 789, - 795 + 1106, + 1112 ], "loc": { "start": { - "line": 30, + "line": 41, "column": 33 }, "end": { - "line": 30, + "line": 41, "column": 39 } } }, "range": [ - 782, - 795 + 1099, + 1112 ], "loc": { "start": { - "line": 30, + "line": 41, "column": 26 }, "end": { - "line": 30, + "line": 41, "column": 39 } } }, "range": [ - 776, - 795 + 1093, + 1112 ], "loc": { "start": { - "line": 30, + "line": 41, "column": 20 }, "end": { - "line": 30, + "line": 41, "column": 39 } } }, "range": [ - 776, - 796 + 1093, + 1113 ], "loc": { "start": { - "line": 30, + "line": 41, "column": 20 }, "end": { - "line": 30, + "line": 41, "column": 40 } } } ], "range": [ - 754, - 814 + 1071, + 1131 ], "loc": { "start": { - "line": 29, + "line": 40, "column": 32 }, "end": { - "line": 31, + "line": 42, "column": 17 } } }, "alternate": null, "range": [ - 738, - 814 + 1055, + 1131 ], "loc": { "start": { - "line": 29, + "line": 40, "column": 16 }, "end": { - "line": 31, + "line": 42, "column": 17 } } @@ -2332,16 +2352,16 @@ "type": "Identifier", "name": "cookieValue", "range": [ - 831, - 842 + 1148, + 1159 ], "loc": { "start": { - "line": 32, + "line": 43, "column": 16 }, "end": { - "line": 32, + "line": 43, "column": 27 } } @@ -2352,16 +2372,16 @@ "type": "Identifier", "name": "unescape", "range": [ - 845, - 853 + 1162, + 1170 ], "loc": { "start": { - "line": 32, + "line": 43, "column": 30 }, "end": { - "line": 32, + "line": 43, "column": 38 } } @@ -2376,16 +2396,16 @@ "type": "Identifier", "name": "cookie", "range": [ - 854, - 860 + 1171, + 1177 ], "loc": { "start": { - "line": 32, + "line": 43, "column": 39 }, "end": { - "line": 32, + "line": 43, "column": 45 } } @@ -2394,31 +2414,31 @@ "type": "Identifier", "name": "substring", "range": [ - 861, - 870 + 1178, + 1187 ], "loc": { "start": { - "line": 32, + "line": 43, "column": 46 }, "end": { - "line": 32, + "line": 43, "column": 55 } } }, "range": [ - 854, - 870 + 1171, + 1187 ], "loc": { "start": { - "line": 32, + "line": 43, "column": 39 }, "end": { - "line": 32, + "line": 43, "column": 55 } } @@ -2428,16 +2448,16 @@ "type": "Identifier", "name": "offset", "range": [ - 871, - 877 + 1188, + 1194 ], "loc": { "start": { - "line": 32, + "line": 43, "column": 56 }, "end": { - "line": 32, + "line": 43, "column": 62 } } @@ -2446,142 +2466,142 @@ "type": "Identifier", "name": "end", "range": [ - 879, - 882 + 1196, + 1199 ], "loc": { "start": { - "line": 32, + "line": 43, "column": 64 }, "end": { - "line": 32, + "line": 43, "column": 67 } } } ], "range": [ - 854, - 883 + 1171, + 1200 ], "loc": { "start": { - "line": 32, + "line": 43, "column": 39 }, "end": { - "line": 32, + "line": 43, "column": 68 } } } ], "range": [ - 845, - 884 + 1162, + 1201 ], "loc": { "start": { - "line": 32, + "line": 43, "column": 30 }, "end": { - "line": 32, + "line": 43, "column": 69 } } }, "range": [ - 831, - 884 + 1148, + 1201 ], "loc": { "start": { - "line": 32, + "line": 43, "column": 16 }, "end": { - "line": 32, + "line": 43, "column": 69 } } }, "range": [ - 831, - 885 + 1148, + 1202 ], "loc": { "start": { - "line": 32, + "line": 43, "column": 16 }, "end": { - "line": 32, + "line": 43, "column": 70 } } } ], "range": [ - 624, - 899 + 941, + 1216 ], "loc": { "start": { - "line": 26, + "line": 37, "column": 31 }, "end": { - "line": 33, + "line": 44, "column": 13 } } }, "alternate": null, "range": [ - 605, - 899 + 922, + 1216 ], "loc": { "start": { - "line": 26, + "line": 37, "column": 12 }, "end": { - "line": 33, + "line": 44, "column": 13 } } } ], "range": [ - 505, - 909 + 822, + 1226 ], "loc": { "start": { - "line": 23, + "line": 34, "column": 35 }, "end": { - "line": 34, + "line": 45, "column": 9 } } }, "alternate": null, "range": [ - 478, - 909 + 795, + 1226 ], "loc": { "start": { - "line": 23, + "line": 34, "column": 8 }, "end": { - "line": 34, + "line": 45, "column": 9 } } @@ -2592,47 +2612,47 @@ "type": "Identifier", "name": "cookieValue", "range": [ - 925, - 936 + 1242, + 1253 ], "loc": { "start": { - "line": 35, + "line": 46, "column": 15 }, "end": { - "line": 35, + "line": 46, "column": 26 } } }, "range": [ - 918, - 937 + 1235, + 1254 ], "loc": { "start": { - "line": 35, + "line": 46, "column": 8 }, "end": { - "line": 35, + "line": 46, "column": 27 } } } ], "range": [ - 405, - 943 + 722, + 1260 ], "loc": { "start": { - "line": 20, + "line": 31, "column": 15 }, "end": { - "line": 36, + "line": 47, "column": 5 } } @@ -2640,16 +2660,16 @@ "generator": false, "expression": false, "range": [ - 398, - 943 + 715, + 1260 ], "loc": { "start": { - "line": 20, + "line": 31, "column": 8 }, "end": { - "line": 36, + "line": 47, "column": 5 } } @@ -2659,19 +2679,39 @@ "shorthand": false, "computed": false, "range": [ - 394, - 943 + 711, + 1260 ], "loc": { "start": { - "line": 20, + "line": 31, "column": 4 }, "end": { - "line": 36, + "line": 47, "column": 5 } - } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Read a cookie\n * @param {String} name Name of the cookie\n * @returns {String} Value of the cookie\n ", + "range": [ + 582, + 706 + ], + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 30, + "column": 7 + } + } + } + ] }, { "type": "Property", @@ -2679,16 +2719,16 @@ "type": "Identifier", "name": "remove", "range": [ - 950, - 956 + 1353, + 1359 ], "loc": { "start": { - "line": 38, + "line": 53, "column": 4 }, "end": { - "line": 38, + "line": 53, "column": 10 } } @@ -2701,16 +2741,16 @@ "type": "Identifier", "name": "name", "range": [ - 957, - 961 + 1360, + 1364 ], "loc": { "start": { - "line": 38, + "line": 53, "column": 11 }, "end": { - "line": 38, + "line": 53, "column": 15 } } @@ -2729,16 +2769,16 @@ "object": { "type": "ThisExpression", "range": [ - 973, - 977 + 1376, + 1380 ], "loc": { "start": { - "line": 39, + "line": 54, "column": 8 }, "end": { - "line": 39, + "line": 54, "column": 12 } } @@ -2747,31 +2787,31 @@ "type": "Identifier", "name": "write", "range": [ - 978, - 983 + 1381, + 1386 ], "loc": { "start": { - "line": 39, + "line": 54, "column": 13 }, "end": { - "line": 39, + "line": 54, "column": 18 } } }, "range": [ - 973, - 983 + 1376, + 1386 ], "loc": { "start": { - "line": 39, + "line": 54, "column": 8 }, "end": { - "line": 39, + "line": 54, "column": 18 } } @@ -2781,16 +2821,16 @@ "type": "Identifier", "name": "name", "range": [ - 984, - 988 + 1387, + 1391 ], "loc": { "start": { - "line": 39, + "line": 54, "column": 19 }, "end": { - "line": 39, + "line": 54, "column": 23 } } @@ -2800,16 +2840,16 @@ "value": "", "raw": "''", "range": [ - 990, - 992 + 1393, + 1395 ], "loc": { "start": { - "line": 39, + "line": 54, "column": 25 }, "end": { - "line": 39, + "line": 54, "column": 27 } } @@ -2822,1003 +2862,55 @@ "value": 1, "raw": "1", "range": [ - 995, - 996 + 1398, + 1399 ], "loc": { "start": { - "line": 39, + "line": 54, "column": 30 }, "end": { - "line": 39, + "line": 54, "column": 31 } } }, "prefix": true, "range": [ - 994, - 996 + 1397, + 1399 ], "loc": { "start": { - "line": 39, + "line": 54, "column": 29 }, "end": { - "line": 39, + "line": 54, "column": 31 } } } ], "range": [ - 973, - 997 + 1376, + 1400 ], "loc": { "start": { - "line": 39, + "line": 54, "column": 8 }, "end": { - "line": 39, + "line": 54, "column": 32 } } }, "range": [ - 973, - 998 - ], - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 33 - } - } - } - ], - "range": [ - 963, - 1004 - ], - "loc": { - "start": { - "line": 38, - "column": 17 - }, - "end": { - "line": 40, - "column": 5 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 956, - 1004 - ], - "loc": { - "start": { - "line": 38, - "column": 10 - }, - "end": { - "line": 40, - "column": 5 - } - } - }, - "kind": "init", - "method": true, - "shorthand": false, - "computed": false, - "range": [ - 950, - 1004 - ], - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 40, - "column": 5 - } - } - }, - { - "type": "Property", - "key": { - "type": "Identifier", - "name": "valueToArray", - "range": [ - 1011, - 1023 - ], - "loc": { - "start": { - "line": 42, - "column": 4 - }, - "end": { - "line": 42, - "column": 16 - } - } - }, - "value": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "name", - "range": [ - 1024, - 1028 - ], - "loc": { - "start": { - "line": 42, - "column": 17 - }, - "end": { - "line": 42, - "column": 21 - } - } - }, - { - "type": "Identifier", - "name": "separator", - "range": [ - 1030, - 1039 - ], - "loc": { - "start": { - "line": 42, - "column": 23 - }, - "end": { - "line": 42, - "column": 32 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "UnaryExpression", - "operator": "!", - "argument": { - "type": "Identifier", - "name": "separator", - "range": [ - 1056, - 1065 - ], - "loc": { - "start": { - "line": 43, - "column": 13 - }, - "end": { - "line": 43, - "column": 22 - } - } - }, - "prefix": true, - "range": [ - 1055, - 1065 - ], - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 22 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "separator", - "range": [ - 1081, - 1090 - ], - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 21 - } - } - }, - "right": { - "type": "Literal", - "value": ",", - "raw": "','", - "range": [ - 1093, - 1096 - ], - "loc": { - "start": { - "line": 44, - "column": 24 - }, - "end": { - "line": 44, - "column": 27 - } - } - }, - "range": [ - 1081, - 1096 - ], - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 27 - } - } - }, - "range": [ - 1081, - 1097 - ], - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 28 - } - } - } - ], - "range": [ - 1067, - 1107 - ], - "loc": { - "start": { - "line": 43, - "column": 24 - }, - "end": { - "line": 45, - "column": 9 - } - } - }, - "alternate": null, - "range": [ - 1051, - 1107 - ], - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 45, - "column": 9 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": "reads the cookie", - "range": [ - 1116, - 1134 - ], - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 26 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "val", - "range": [ - 1147, - 1150 - ], - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 15 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 1153, - 1157 - ], - "loc": { - "start": { - "line": 47, - "column": 18 - }, - "end": { - "line": 47, - "column": 22 - } - } - }, - "property": { - "type": "Identifier", - "name": "read", - "range": [ - 1158, - 1162 - ], - "loc": { - "start": { - "line": 47, - "column": 23 - }, - "end": { - "line": 47, - "column": 27 - } - } - }, - "range": [ - 1153, - 1162 - ], - "loc": { - "start": { - "line": 47, - "column": 18 - }, - "end": { - "line": 47, - "column": 27 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "name", - "range": [ - 1163, - 1167 - ], - "loc": { - "start": { - "line": 47, - "column": 28 - }, - "end": { - "line": 47, - "column": 32 - } - } - } - ], - "range": [ - 1153, - 1168 - ], - "loc": { - "start": { - "line": 47, - "column": 18 - }, - "end": { - "line": 47, - "column": 33 - } - } - }, - "range": [ - 1147, - 1168 - ], - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 33 - } - } - } - ], - "kind": "let", - "range": [ - 1143, - 1169 - ], - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 34 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": "reads the cookie", - "range": [ - 1116, - 1134 - ], - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 26 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": "creates an array with filters' values", - "range": [ - 1178, - 1217 - ], - "loc": { - "start": { - "line": 48, - "column": 8 - }, - "end": { - "line": 48, - "column": 47 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "arr", - "range": [ - 1230, - 1233 - ], - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 15 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "val", - "range": [ - 1236, - 1239 - ], - "loc": { - "start": { - "line": 49, - "column": 18 - }, - "end": { - "line": 49, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "name": "split", - "range": [ - 1240, - 1245 - ], - "loc": { - "start": { - "line": 49, - "column": 22 - }, - "end": { - "line": 49, - "column": 27 - } - } - }, - "range": [ - 1236, - 1245 - ], - "loc": { - "start": { - "line": 49, - "column": 18 - }, - "end": { - "line": 49, - "column": 27 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "separator", - "range": [ - 1246, - 1255 - ], - "loc": { - "start": { - "line": 49, - "column": 28 - }, - "end": { - "line": 49, - "column": 37 - } - } - } - ], - "range": [ - 1236, - 1256 - ], - "loc": { - "start": { - "line": 49, - "column": 18 - }, - "end": { - "line": 49, - "column": 38 - } - } - }, - "range": [ - 1230, - 1256 - ], - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 38 - } - } - } - ], - "kind": "let", - "range": [ - 1226, - 1257 - ], - "loc": { - "start": { - "line": 49, - "column": 8 - }, - "end": { - "line": 49, - "column": 39 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": "creates an array with filters' values", - "range": [ - 1178, - 1217 - ], - "loc": { - "start": { - "line": 48, - "column": 8 - }, - "end": { - "line": 48, - "column": 47 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "argument": { - "type": "Identifier", - "name": "arr", - "range": [ - 1273, - 1276 - ], - "loc": { - "start": { - "line": 50, - "column": 15 - }, - "end": { - "line": 50, - "column": 18 - } - } - }, - "range": [ - 1266, - 1277 - ], - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 19 - } - } - } - ], - "range": [ - 1041, - 1283 - ], - "loc": { - "start": { - "line": 42, - "column": 34 - }, - "end": { - "line": 51, - "column": 5 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 1023, - 1283 - ], - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 51, - "column": 5 - } - } - }, - "kind": "init", - "method": true, - "shorthand": false, - "computed": false, - "range": [ - 1011, - 1283 - ], - "loc": { - "start": { - "line": 42, - "column": 4 - }, - "end": { - "line": 51, - "column": 5 - } - } - }, - { - "type": "Property", - "key": { - "type": "Identifier", - "name": "getValueByIndex", - "range": [ - 1290, - 1305 - ], - "loc": { - "start": { - "line": 53, - "column": 4 - }, - "end": { - "line": 53, - "column": 19 - } - } - }, - "value": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "name", - "range": [ - 1306, - 1310 - ], - "loc": { - "start": { - "line": 53, - "column": 20 - }, - "end": { - "line": 53, - "column": 24 - } - } - }, - { - "type": "Identifier", - "name": "index", - "range": [ - 1312, - 1317 - ], - "loc": { - "start": { - "line": 53, - "column": 26 - }, - "end": { - "line": 53, - "column": 31 - } - } - }, - { - "type": "Identifier", - "name": "separator", - "range": [ - 1319, - 1328 - ], - "loc": { - "start": { - "line": 53, - "column": 33 - }, - "end": { - "line": 53, - "column": 42 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "UnaryExpression", - "operator": "!", - "argument": { - "type": "Identifier", - "name": "separator", - "range": [ - 1345, - 1354 - ], - "loc": { - "start": { - "line": 54, - "column": 13 - }, - "end": { - "line": 54, - "column": 22 - } - } - }, - "prefix": true, - "range": [ - 1344, - 1354 - ], - "loc": { - "start": { - "line": 54, - "column": 12 - }, - "end": { - "line": 54, - "column": 22 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "separator", - "range": [ - 1370, - 1379 - ], - "loc": { - "start": { - "line": 55, - "column": 12 - }, - "end": { - "line": 55, - "column": 21 - } - } - }, - "right": { - "type": "Literal", - "value": ",", - "raw": "','", - "range": [ - 1382, - 1385 - ], - "loc": { - "start": { - "line": 55, - "column": 24 - }, - "end": { - "line": 55, - "column": 27 - } - } - }, - "range": [ - 1370, - 1385 - ], - "loc": { - "start": { - "line": 55, - "column": 12 - }, - "end": { - "line": 55, - "column": 27 - } - } - }, - "range": [ - 1370, - 1386 - ], - "loc": { - "start": { - "line": 55, - "column": 12 - }, - "end": { - "line": 55, - "column": 28 - } - } - } - ], - "range": [ - 1356, - 1396 - ], - "loc": { - "start": { - "line": 54, - "column": 24 - }, - "end": { - "line": 56, - "column": 9 - } - } - }, - "alternate": null, - "range": [ - 1340, - 1396 + 1376, + 1401 ], "loc": { "start": { @@ -3826,297 +2918,23 @@ "column": 8 }, "end": { - "line": 56, - "column": 9 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": "reads the cookie", - "range": [ - 1405, - 1423 - ], - "loc": { - "start": { - "line": 57, - "column": 8 - }, - "end": { - "line": 57, - "column": 26 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "val", - "range": [ - 1436, - 1439 - ], - "loc": { - "start": { - "line": 58, - "column": 12 - }, - "end": { - "line": 58, - "column": 15 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 1442, - 1446 - ], - "loc": { - "start": { - "line": 58, - "column": 18 - }, - "end": { - "line": 58, - "column": 22 - } - } - }, - "property": { - "type": "Identifier", - "name": "valueToArray", - "range": [ - 1447, - 1459 - ], - "loc": { - "start": { - "line": 58, - "column": 23 - }, - "end": { - "line": 58, - "column": 35 - } - } - }, - "range": [ - 1442, - 1459 - ], - "loc": { - "start": { - "line": 58, - "column": 18 - }, - "end": { - "line": 58, - "column": 35 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "name", - "range": [ - 1460, - 1464 - ], - "loc": { - "start": { - "line": 58, - "column": 36 - }, - "end": { - "line": 58, - "column": 40 - } - } - }, - { - "type": "Identifier", - "name": "separator", - "range": [ - 1466, - 1475 - ], - "loc": { - "start": { - "line": 58, - "column": 42 - }, - "end": { - "line": 58, - "column": 51 - } - } - } - ], - "range": [ - 1442, - 1476 - ], - "loc": { - "start": { - "line": 58, - "column": 18 - }, - "end": { - "line": 58, - "column": 52 - } - } - }, - "range": [ - 1436, - 1476 - ], - "loc": { - "start": { - "line": 58, - "column": 12 - }, - "end": { - "line": 58, - "column": 52 - } - } - } - ], - "kind": "let", - "range": [ - 1432, - 1477 - ], - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 53 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": "reads the cookie", - "range": [ - 1405, - 1423 - ], - "loc": { - "start": { - "line": 57, - "column": 8 - }, - "end": { - "line": 57, - "column": 26 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "argument": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "val", - "range": [ - 1493, - 1496 - ], - "loc": { - "start": { - "line": 59, - "column": 15 - }, - "end": { - "line": 59, - "column": 18 - } - } - }, - "property": { - "type": "Identifier", - "name": "index", - "range": [ - 1497, - 1502 - ], - "loc": { - "start": { - "line": 59, - "column": 19 - }, - "end": { - "line": 59, - "column": 24 - } - } - }, - "range": [ - 1493, - 1503 - ], - "loc": { - "start": { - "line": 59, - "column": 15 - }, - "end": { - "line": 59, - "column": 25 - } - } - }, - "range": [ - 1486, - 1504 - ], - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 26 + "line": 54, + "column": 33 } } } ], "range": [ - 1330, - 1510 + 1366, + 1407 ], "loc": { "start": { "line": 53, - "column": 44 + "column": 17 }, "end": { - "line": 60, + "line": 55, "column": 5 } } @@ -4124,16 +2942,16 @@ "generator": false, "expression": false, "range": [ - 1305, - 1510 + 1359, + 1407 ], "loc": { "start": { "line": 53, - "column": 19 + "column": 10 }, "end": { - "line": 60, + "line": 55, "column": 5 } } @@ -4143,8 +2961,8 @@ "shorthand": false, "computed": false, "range": [ - 1290, - 1510 + 1353, + 1407 ], "loc": { "start": { @@ -4152,15 +2970,35 @@ "column": 4 }, "end": { - "line": 60, + "line": 55, "column": 5 } - } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove a cookie\n * @param {String} name Name of the cookie\n ", + "range": [ + 1267, + 1348 + ], + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 52, + "column": 7 + } + } + } + ] } ], "range": [ 102, - 1513 + 1410 ], "loc": { "start": { @@ -4168,7 +3006,7 @@ "column": 15 }, "end": { - "line": 62, + "line": 57, "column": 1 } }, @@ -4177,7 +3015,7 @@ }, "range": [ 87, - 1514 + 1411 ], "loc": { "start": { @@ -4185,7 +3023,7 @@ "column": 0 }, "end": { - "line": 62, + "line": 57, "column": 2 } } @@ -4194,7 +3032,7 @@ "sourceType": "module", "range": [ 0, - 1514 + 1411 ], "loc": { "start": { @@ -4202,7 +3040,7 @@ "column": 0 }, "end": { - "line": 62, + "line": 57, "column": 2 } }, @@ -4226,56 +3064,56 @@ } }, { - "type": "Line", - "value": "reads the cookie", + "type": "Block", + "value": "*\n * Write a cookie\n * @param {String} name Name of the cookie\n * @param {String} value Value of the cookie\n * @param {Number} hours Cookie duration in hours\n ", "range": [ - 1116, - 1134 + 109, + 292 ], "loc": { "start": { - "line": 46, - "column": 8 + "line": 11, + "column": 4 }, "end": { - "line": 46, - "column": 26 + "line": 16, + "column": 7 } } }, { - "type": "Line", - "value": "creates an array with filters' values", + "type": "Block", + "value": "*\n * Read a cookie\n * @param {String} name Name of the cookie\n * @returns {String} Value of the cookie\n ", "range": [ - 1178, - 1217 + 582, + 706 ], "loc": { "start": { - "line": 48, - "column": 8 + "line": 26, + "column": 4 }, "end": { - "line": 48, - "column": 47 + "line": 30, + "column": 7 } } }, { - "type": "Line", - "value": "reads the cookie", + "type": "Block", + "value": "*\n * Remove a cookie\n * @param {String} name Name of the cookie\n ", "range": [ - 1405, - 1423 + 1267, + 1348 ], "loc": { "start": { - "line": 57, - "column": 8 + "line": 49, + "column": 4 }, "end": { - "line": 57, - "column": 26 + "line": 52, + "column": 7 } } } diff --git a/docs/ast/source/modules/dropdown.js.json b/docs/ast/source/modules/dropdown.js.json index 15150c0c..c5d65ba0 100644 --- a/docs/ast/source/modules/dropdown.js.json +++ b/docs/ast/source/modules/dropdown.js.json @@ -1118,7 +1118,27 @@ "line": 10, "column": 18 } - } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Dropdown filter UI component\n * @param {Object} tf TableFilter instance\n ", + "range": [ + 402, + 484 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", @@ -1128,16 +1148,16 @@ "type": "Identifier", "name": "Dropdown", "range": [ - 415, - 423 + 498, + 506 ], "loc": { "start": { - "line": 12, + "line": 16, "column": 13 }, "end": { - "line": 12, + "line": 16, "column": 21 } } @@ -1146,16 +1166,16 @@ "type": "Identifier", "name": "Feature", "range": [ - 432, - 439 + 515, + 522 ], "loc": { "start": { - "line": 12, + "line": 16, "column": 30 }, "end": { - "line": 12, + "line": 16, "column": 37 } } @@ -1169,16 +1189,16 @@ "type": "Identifier", "name": "constructor", "range": [ - 539, - 550 + 632, + 643 ], "loc": { "start": { - "line": 18, + "line": 22, "column": 4 }, "end": { - "line": 18, + "line": 22, "column": 15 } } @@ -1191,16 +1211,16 @@ "type": "Identifier", "name": "tf", "range": [ - 551, - 553 + 644, + 646 ], "loc": { "start": { - "line": 18, + "line": 22, "column": 16 }, "end": { - "line": 18, + "line": 22, "column": 18 } } @@ -1216,16 +1236,16 @@ "callee": { "type": "Super", "range": [ - 565, - 570 + 658, + 663 ], "loc": { "start": { - "line": 19, + "line": 23, "column": 8 }, "end": { - "line": 19, + "line": 23, "column": 13 } } @@ -1235,16 +1255,16 @@ "type": "Identifier", "name": "tf", "range": [ - 571, - 573 + 664, + 666 ], "loc": { "start": { - "line": 19, + "line": 23, "column": 14 }, "end": { - "line": 19, + "line": 23, "column": 16 } } @@ -1254,47 +1274,47 @@ "value": "dropdown", "raw": "'dropdown'", "range": [ - 575, - 585 + 668, + 678 ], "loc": { "start": { - "line": 19, + "line": 23, "column": 18 }, "end": { - "line": 19, + "line": 23, "column": 28 } } } ], "range": [ - 565, - 586 + 658, + 679 ], "loc": { "start": { - "line": 19, + "line": 23, "column": 8 }, "end": { - "line": 19, + "line": 23, "column": 29 } } }, "range": [ - 565, - 587 + 658, + 680 ], "loc": { "start": { - "line": 19, + "line": 23, "column": 8 }, "end": { - "line": 19, + "line": 23, "column": 30 } }, @@ -1303,16 +1323,16 @@ "type": "Line", "value": " Configuration object", "range": [ - 597, - 620 + 690, + 713 ], "loc": { "start": { - "line": 21, + "line": 25, "column": 8 }, "end": { - "line": 21, + "line": 25, "column": 31 } } @@ -1328,103 +1348,84 @@ "type": "Identifier", "name": "f", "range": [ - 633, - 634 + 726, + 727 ], "loc": { "start": { - "line": 22, + "line": 26, "column": 12 }, "end": { - "line": 22, + "line": 26, "column": 13 } } }, "init": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 637, - 639 - ], - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 18 - } - } - }, - "property": { - "type": "Identifier", - "name": "config", - "range": [ - 640, - 646 - ], - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 25 - } - } - }, + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", "range": [ - 637, - 646 + 730, + 734 ], "loc": { "start": { - "line": 22, + "line": 26, "column": 16 }, "end": { - "line": 22, - "column": 25 + "line": 26, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 735, + 741 + ], + "loc": { + "start": { + "line": 26, + "column": 21 + }, + "end": { + "line": 26, + "column": 27 } } }, - "arguments": [], "range": [ - 637, - 648 + 730, + 741 ], "loc": { "start": { - "line": 22, + "line": 26, "column": 16 }, "end": { - "line": 22, + "line": 26, "column": 27 } } }, "range": [ - 633, - 648 + 726, + 741 ], "loc": { "start": { - "line": 22, + "line": 26, "column": 12 }, "end": { - "line": 22, + "line": 26, "column": 27 } } @@ -1432,16 +1433,16 @@ ], "kind": "let", "range": [ - 629, - 649 + 722, + 742 ], "loc": { "start": { - "line": 22, + "line": 26, "column": 8 }, "end": { - "line": 22, + "line": 26, "column": 28 } }, @@ -1450,20 +1451,40 @@ "type": "Line", "value": " Configuration object", "range": [ - 597, - 620 + 690, + 713 ], "loc": { "start": { - "line": 21, + "line": 25, "column": 8 }, "end": { - "line": 21, + "line": 25, "column": 31 } } } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable the reset filter option as first item\n * @type {Boolean}\n ", + "range": [ + 752, + 850 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 31, + "column": 11 + } + } + } ] }, { @@ -1477,16 +1498,16 @@ "object": { "type": "ThisExpression", "range": [ - 659, - 663 + 859, + 863 ], "loc": { "start": { - "line": 24, + "line": 32, "column": 8 }, "end": { - "line": 24, + "line": 32, "column": 12 } } @@ -1495,31 +1516,31 @@ "type": "Identifier", "name": "enableSlcResetFilter", "range": [ - 664, - 684 + 864, + 884 ], "loc": { "start": { - "line": 24, + "line": 32, "column": 13 }, "end": { - "line": 24, + "line": 32, "column": 33 } } }, "range": [ - 659, - 684 + 859, + 884 ], "loc": { "start": { - "line": 24, + "line": 32, "column": 8 }, "end": { - "line": 24, + "line": 32, "column": 33 } } @@ -1536,16 +1557,16 @@ "type": "Identifier", "name": "f", "range": [ - 687, - 688 + 887, + 888 ], "loc": { "start": { - "line": 24, + "line": 32, "column": 36 }, "end": { - "line": 24, + "line": 32, "column": 37 } } @@ -1554,31 +1575,31 @@ "type": "Identifier", "name": "enable_slc_reset_filter", "range": [ - 689, - 712 + 889, + 912 ], "loc": { "start": { - "line": 24, + "line": 32, "column": 38 }, "end": { - "line": 24, + "line": 32, "column": 61 } } }, "range": [ - 687, - 712 + 887, + 912 ], "loc": { "start": { - "line": 24, + "line": 32, "column": 36 }, "end": { - "line": 24, + "line": 32, "column": 61 } } @@ -1588,31 +1609,31 @@ "value": false, "raw": "false", "range": [ - 717, - 722 + 917, + 922 ], "loc": { "start": { - "line": 24, + "line": 32, "column": 66 }, "end": { - "line": 24, + "line": 32, "column": 71 } } }, "range": [ - 687, - 722 + 887, + 922 ], "loc": { "start": { - "line": 24, + "line": 32, "column": 36 }, "end": { - "line": 24, + "line": 32, "column": 71 } } @@ -1622,16 +1643,16 @@ "value": false, "raw": "false", "range": [ - 737, - 742 + 937, + 942 ], "loc": { "start": { - "line": 25, + "line": 33, "column": 12 }, "end": { - "line": 25, + "line": 33, "column": 17 } } @@ -1641,80 +1662,100 @@ "value": true, "raw": "true", "range": [ - 745, - 749 + 945, + 949 ], "loc": { "start": { - "line": 25, + "line": 33, "column": 20 }, "end": { - "line": 25, + "line": 33, "column": 24 } } }, "range": [ - 687, - 749 + 887, + 949 ], "loc": { "start": { - "line": 24, + "line": 32, "column": 36 }, "end": { - "line": 25, + "line": 33, "column": 24 } } }, "range": [ - 659, - 749 + 859, + 949 ], "loc": { "start": { - "line": 24, + "line": 32, "column": 8 }, "end": { - "line": 25, + "line": 33, "column": 24 } } }, "range": [ - 659, - 750 + 859, + 950 ], "loc": { "start": { - "line": 24, + "line": 32, "column": 8 }, "end": { - "line": 25, + "line": 33, "column": 25 } }, - "trailingComments": [ + "leadingComments": [ { - "type": "Line", - "value": "defines empty option text", + "type": "Block", + "value": "*\n * Enable the reset filter option as first item\n * @type {Boolean}\n ", "range": [ - 759, - 786 + 752, + 850 ], "loc": { "start": { - "line": 26, + "line": 28, "column": 8 }, "end": { - "line": 26, - "column": 35 + "line": 31, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Non empty option text\n * @type {String}\n ", + "range": [ + 960, + 1034 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 38, + "column": 11 } } } @@ -1731,16 +1772,16 @@ "object": { "type": "ThisExpression", "range": [ - 795, - 799 + 1043, + 1047 ], "loc": { "start": { - "line": 27, + "line": 39, "column": 8 }, "end": { - "line": 27, + "line": 39, "column": 12 } } @@ -1749,31 +1790,31 @@ "type": "Identifier", "name": "nonEmptyText", "range": [ - 800, - 812 + 1048, + 1060 ], "loc": { "start": { - "line": 27, + "line": 39, "column": 13 }, "end": { - "line": 27, + "line": 39, "column": 25 } } }, "range": [ - 795, - 812 + 1043, + 1060 ], "loc": { "start": { - "line": 27, + "line": 39, "column": 8 }, "end": { - "line": 27, + "line": 39, "column": 25 } } @@ -1788,16 +1829,16 @@ "type": "Identifier", "name": "f", "range": [ - 815, - 816 + 1063, + 1064 ], "loc": { "start": { - "line": 27, + "line": 39, "column": 28 }, "end": { - "line": 27, + "line": 39, "column": 29 } } @@ -1806,31 +1847,31 @@ "type": "Identifier", "name": "non_empty_text", "range": [ - 817, - 831 + 1065, + 1079 ], "loc": { "start": { - "line": 27, + "line": 39, "column": 30 }, "end": { - "line": 27, + "line": 39, "column": 44 } } }, "range": [ - 815, - 831 + 1063, + 1079 ], "loc": { "start": { - "line": 27, + "line": 39, "column": 28 }, "end": { - "line": 27, + "line": 39, "column": 44 } } @@ -1840,100 +1881,100 @@ "value": "(Non empty)", "raw": "'(Non empty)'", "range": [ - 835, - 848 + 1083, + 1096 ], "loc": { "start": { - "line": 27, + "line": 39, "column": 48 }, "end": { - "line": 27, + "line": 39, "column": 61 } } }, "range": [ - 815, - 848 + 1063, + 1096 ], "loc": { "start": { - "line": 27, + "line": 39, "column": 28 }, "end": { - "line": 27, + "line": 39, "column": 61 } } }, "range": [ - 795, - 848 + 1043, + 1096 ], "loc": { "start": { - "line": 27, + "line": 39, "column": 8 }, "end": { - "line": 27, + "line": 39, "column": 61 } } }, "range": [ - 795, - 849 + 1043, + 1097 ], "loc": { "start": { - "line": 27, + "line": 39, "column": 8 }, "end": { - "line": 27, + "line": 39, "column": 62 } }, "leadingComments": [ { - "type": "Line", - "value": "defines empty option text", + "type": "Block", + "value": "*\n * Non empty option text\n * @type {String}\n ", "range": [ - 759, - 786 + 960, + 1034 ], "loc": { "start": { - "line": 26, + "line": 35, "column": 8 }, "end": { - "line": 26, - "column": 35 + "line": 38, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "IE only, tooltip text appearing on select before it is populated", + "type": "Block", + "value": "*\n * Tooltip text appearing on multiple select\n * @type {String}\n ", "range": [ - 858, - 924 + 1107, + 1201 ], "loc": { "start": { - "line": 28, + "line": 41, "column": 8 }, "end": { - "line": 28, - "column": 74 + "line": 44, + "column": 11 } } } @@ -1950,235 +1991,16 @@ "object": { "type": "ThisExpression", "range": [ - 933, - 937 + 1210, + 1214 ], "loc": { "start": { - "line": 29, + "line": 45, "column": 8 }, "end": { - "line": 29, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "activateSlcTooltip", - "range": [ - 938, - 956 - ], - "loc": { - "start": { - "line": 29, - "column": 13 - }, - "end": { - "line": 29, - "column": 31 - } - } - }, - "range": [ - 933, - 956 - ], - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 31 - } - } - }, - "right": { - "type": "LogicalExpression", - "operator": "||", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "f", - "range": [ - 959, - 960 - ], - "loc": { - "start": { - "line": 29, - "column": 34 - }, - "end": { - "line": 29, - "column": 35 - } - } - }, - "property": { - "type": "Identifier", - "name": "activate_slc_tooltip", - "range": [ - 961, - 981 - ], - "loc": { - "start": { - "line": 29, - "column": 36 - }, - "end": { - "line": 29, - "column": 56 - } - } - }, - "range": [ - 959, - 981 - ], - "loc": { - "start": { - "line": 29, - "column": 34 - }, - "end": { - "line": 29, - "column": 56 - } - } - }, - "right": { - "type": "Literal", - "value": "Click to activate", - "raw": "'Click to activate'", - "range": [ - 997, - 1016 - ], - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 31 - } - } - }, - "range": [ - 959, - 1016 - ], - "loc": { - "start": { - "line": 29, - "column": 34 - }, - "end": { - "line": 30, - "column": 31 - } - } - }, - "range": [ - 933, - 1016 - ], - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 30, - "column": 31 - } - } - }, - "range": [ - 933, - 1017 - ], - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 30, - "column": 32 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": "IE only, tooltip text appearing on select before it is populated", - "range": [ - 858, - 924 - ], - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 74 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": "tooltip text appearing on multiple select", - "range": [ - 1026, - 1069 - ], - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 51 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 1078, - 1082 - ], - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, + "line": 45, "column": 12 } } @@ -2187,31 +2009,31 @@ "type": "Identifier", "name": "multipleSlcTooltip", "range": [ - 1083, - 1101 + 1215, + 1233 ], "loc": { "start": { - "line": 32, + "line": 45, "column": 13 }, "end": { - "line": 32, + "line": 45, "column": 31 } } }, "range": [ - 1078, - 1101 + 1210, + 1233 ], "loc": { "start": { - "line": 32, + "line": 45, "column": 8 }, "end": { - "line": 32, + "line": 45, "column": 31 } } @@ -2226,16 +2048,16 @@ "type": "Identifier", "name": "f", "range": [ - 1104, - 1105 + 1236, + 1237 ], "loc": { "start": { - "line": 32, + "line": 45, "column": 34 }, "end": { - "line": 32, + "line": 45, "column": 35 } } @@ -2244,114 +2066,134 @@ "type": "Identifier", "name": "multiple_slc_tooltip", "range": [ - 1106, - 1126 + 1238, + 1258 ], "loc": { "start": { - "line": 32, + "line": 45, "column": 36 }, "end": { - "line": 32, + "line": 45, "column": 56 } } }, "range": [ - 1104, - 1126 + 1236, + 1258 ], "loc": { "start": { - "line": 32, + "line": 45, "column": 34 }, "end": { - "line": 32, + "line": 45, "column": 56 } } }, "right": { "type": "Literal", - "value": "Use Ctrl key for multiple selections", - "raw": "'Use Ctrl key for multiple selections'", + "value": "Use Ctrl/Cmd key for multiple selections", + "raw": "'Use Ctrl/Cmd key for multiple selections'", "range": [ - 1142, - 1180 + 1274, + 1316 ], "loc": { "start": { - "line": 33, + "line": 46, "column": 12 }, "end": { - "line": 33, - "column": 50 + "line": 46, + "column": 54 } } }, "range": [ - 1104, - 1180 + 1236, + 1316 ], "loc": { "start": { - "line": 32, + "line": 45, "column": 34 }, "end": { - "line": 33, - "column": 50 + "line": 46, + "column": 54 } } }, "range": [ - 1078, - 1180 + 1210, + 1316 ], "loc": { "start": { - "line": 32, + "line": 45, "column": 8 }, "end": { - "line": 33, - "column": 50 + "line": 46, + "column": 54 } } }, "range": [ - 1078, - 1181 + 1210, + 1317 ], "loc": { "start": { - "line": 32, + "line": 45, "column": 8 }, "end": { - "line": 33, - "column": 51 + "line": 46, + "column": 55 } }, "leadingComments": [ { - "type": "Line", - "value": "tooltip text appearing on multiple select", + "type": "Block", + "value": "*\n * Tooltip text appearing on multiple select\n * @type {String}\n ", "range": [ - 1026, - 1069 + 1107, + 1201 ], "loc": { "start": { - "line": 31, + "line": 41, "column": 8 }, "end": { - "line": 31, - "column": 51 + "line": 44, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicates drop-down has custom options\n * @private\n ", + "range": [ + 1327, + 1412 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 51, + "column": 11 } } } @@ -2368,16 +2210,16 @@ "object": { "type": "ThisExpression", "range": [ - 1191, - 1195 + 1421, + 1425 ], "loc": { "start": { - "line": 35, + "line": 52, "column": 8 }, "end": { - "line": 35, + "line": 52, "column": 12 } } @@ -2386,31 +2228,31 @@ "type": "Identifier", "name": "isCustom", "range": [ - 1196, - 1204 + 1426, + 1434 ], "loc": { "start": { - "line": 35, + "line": 52, "column": 13 }, "end": { - "line": 35, + "line": 52, "column": 21 } } }, "range": [ - 1191, - 1204 + 1421, + 1434 ], "loc": { "start": { - "line": 35, + "line": 52, "column": 8 }, "end": { - "line": 35, + "line": 52, "column": 21 } } @@ -2420,49 +2262,89 @@ "value": null, "raw": "null", "range": [ - 1207, - 1211 + 1437, + 1441 ], "loc": { "start": { - "line": 35, + "line": 52, "column": 24 }, "end": { - "line": 35, + "line": 52, "column": 28 } } }, "range": [ - 1191, - 1211 + 1421, + 1441 ], "loc": { "start": { - "line": 35, + "line": 52, "column": 8 }, "end": { - "line": 35, + "line": 52, "column": 28 } } }, "range": [ - 1191, - 1212 + 1421, + 1442 ], "loc": { "start": { - "line": 35, + "line": 52, "column": 8 }, "end": { - "line": 35, + "line": 52, "column": 29 } - } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicates drop-down has custom options\n * @private\n ", + "range": [ + 1327, + 1412 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 51, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of options values\n * @type {Array}\n * @private\n ", + "range": [ + 1452, + 1546 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + } + ] }, { "type": "ExpressionStatement", @@ -2475,16 +2357,16 @@ "object": { "type": "ThisExpression", "range": [ - 1221, - 1225 + 1555, + 1559 ], "loc": { "start": { - "line": 36, + "line": 59, "column": 8 }, "end": { - "line": 36, + "line": 59, "column": 12 } } @@ -2493,31 +2375,31 @@ "type": "Identifier", "name": "opts", "range": [ - 1226, - 1230 + 1560, + 1564 ], "loc": { "start": { - "line": 36, + "line": 59, "column": 13 }, "end": { - "line": 36, + "line": 59, "column": 17 } } }, "range": [ - 1221, - 1230 + 1555, + 1564 ], "loc": { "start": { - "line": 36, + "line": 59, "column": 8 }, "end": { - "line": 36, + "line": 59, "column": 17 } } @@ -2527,49 +2409,89 @@ "value": null, "raw": "null", "range": [ - 1233, - 1237 + 1567, + 1571 ], "loc": { "start": { - "line": 36, + "line": 59, "column": 20 }, "end": { - "line": 36, + "line": 59, "column": 24 } } }, "range": [ - 1221, - 1237 + 1555, + 1571 ], "loc": { "start": { - "line": 36, + "line": 59, "column": 8 }, "end": { - "line": 36, + "line": 59, "column": 24 } } }, "range": [ - 1221, - 1238 + 1555, + 1572 ], "loc": { "start": { - "line": 36, + "line": 59, "column": 8 }, "end": { - "line": 36, + "line": 59, "column": 25 } - } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of options values\n * @type {Array}\n * @private\n ", + "range": [ + 1452, + 1546 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of options texts for custom values\n * @type {Array}\n * @private\n ", + "range": [ + 1582, + 1693 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 65, + "column": 11 + } + } + } + ] }, { "type": "ExpressionStatement", @@ -2582,16 +2504,16 @@ "object": { "type": "ThisExpression", "range": [ - 1247, - 1251 + 1702, + 1706 ], "loc": { "start": { - "line": 37, + "line": 66, "column": 8 }, "end": { - "line": 37, + "line": 66, "column": 12 } } @@ -2600,31 +2522,31 @@ "type": "Identifier", "name": "optsTxt", "range": [ - 1252, - 1259 + 1707, + 1714 ], "loc": { "start": { - "line": 37, + "line": 66, "column": 13 }, "end": { - "line": 37, + "line": 66, "column": 20 } } }, "range": [ - 1247, - 1259 + 1702, + 1714 ], "loc": { "start": { - "line": 37, + "line": 66, "column": 8 }, "end": { - "line": 37, + "line": 66, "column": 20 } } @@ -2634,169 +2556,82 @@ "value": null, "raw": "null", "range": [ - 1262, - 1266 + 1717, + 1721 ], "loc": { "start": { - "line": 37, + "line": 66, "column": 23 }, "end": { - "line": 37, + "line": 66, "column": 27 } } }, "range": [ - 1247, - 1266 + 1702, + 1721 ], "loc": { "start": { - "line": 37, + "line": 66, "column": 8 }, "end": { - "line": 37, + "line": 66, "column": 27 } } }, "range": [ - 1247, - 1267 + 1702, + 1722 ], "loc": { "start": { - "line": 37, + "line": 66, "column": 8 }, "end": { - "line": 37, + "line": 66, "column": 28 } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 1276, - 1280 - ], - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "slcInnerHtml", - "range": [ - 1281, - 1293 - ], - "loc": { - "start": { - "line": 38, - "column": 13 - }, - "end": { - "line": 38, - "column": 25 - } - } - }, + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of options texts for custom values\n * @type {Array}\n * @private\n ", "range": [ - 1276, - 1293 + 1582, + 1693 ], "loc": { "start": { - "line": 38, + "line": 61, "column": 8 }, "end": { - "line": 38, - "column": 25 + "line": 65, + "column": 11 } } - }, - "right": { - "type": "Literal", - "value": null, - "raw": "null", - "range": [ - 1296, - 1300 - ], - "loc": { - "start": { - "line": 38, - "column": 28 - }, - "end": { - "line": 38, - "column": 32 - } - } - }, - "range": [ - 1276, - 1300 - ], - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 32 - } } - }, - "range": [ - 1276, - 1301 - ], - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 33 - } - } + ] } ], "range": [ - 555, - 1307 + 648, + 1728 ], "loc": { "start": { - "line": 18, + "line": 22, "column": 20 }, "end": { - "line": 39, + "line": 67, "column": 5 } } @@ -2804,16 +2639,16 @@ "generator": false, "expression": false, "range": [ - 550, - 1307 + 643, + 1728 ], "loc": { "start": { - "line": 18, + "line": 22, "column": 15 }, "end": { - "line": 39, + "line": 67, "column": 5 } } @@ -2821,34 +2656,54 @@ "kind": "constructor", "computed": false, "range": [ - 539, - 1307 + 632, + 1728 ], "loc": { "start": { - "line": 18, + "line": 22, "column": 4 }, "end": { - "line": 39, + "line": 67, "column": 5 } }, "leadingComments": [ { "type": "Block", - "value": "*\n * Dropdown UI component\n * @param {Object} tf TableFilter instance\n ", + "value": "*\n * Creates an instance of Dropdown\n * @param {Object} tf TableFilter instance\n ", "range": [ - 447, - 534 + 530, + 627 ], "loc": { "start": { - "line": 14, + "line": 18, "column": 4 }, "end": { - "line": 17, + "line": 21, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Drop-down filter focus event handler\n * @param {Event} e DOM Event\n * @private\n ", + "range": [ + 1735, + 1840 + ], + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 74, "column": 7 } } @@ -2862,16 +2717,16 @@ "type": "Identifier", "name": "onSlcFocus", "range": [ - 1313, - 1323 + 1845, + 1855 ], "loc": { "start": { - "line": 41, + "line": 75, "column": 4 }, "end": { - "line": 41, + "line": 75, "column": 14 } } @@ -2884,16 +2739,16 @@ "type": "Identifier", "name": "e", "range": [ - 1324, - 1325 + 1856, + 1857 ], "loc": { "start": { - "line": 41, + "line": 75, "column": 15 }, "end": { - "line": 41, + "line": 75, "column": 16 } } @@ -2911,16 +2766,16 @@ "type": "Identifier", "name": "elm", "range": [ - 1341, - 1344 + 1873, + 1876 ], "loc": { "start": { - "line": 42, + "line": 76, "column": 12 }, "end": { - "line": 42, + "line": 76, "column": 15 } } @@ -2931,16 +2786,16 @@ "type": "Identifier", "name": "targetEvt", "range": [ - 1347, - 1356 + 1879, + 1888 ], "loc": { "start": { - "line": 42, + "line": 76, "column": 18 }, "end": { - "line": 42, + "line": 76, "column": 27 } } @@ -2950,47 +2805,47 @@ "type": "Identifier", "name": "e", "range": [ - 1357, - 1358 + 1889, + 1890 ], "loc": { "start": { - "line": 42, + "line": 76, "column": 28 }, "end": { - "line": 42, + "line": 76, "column": 29 } } } ], "range": [ - 1347, - 1359 + 1879, + 1891 ], "loc": { "start": { - "line": 42, + "line": 76, "column": 18 }, "end": { - "line": 42, + "line": 76, "column": 30 } } }, "range": [ - 1341, - 1359 + 1873, + 1891 ], "loc": { "start": { - "line": 42, + "line": 76, "column": 12 }, "end": { - "line": 42, + "line": 76, "column": 30 } } @@ -2998,16 +2853,16 @@ ], "kind": "let", "range": [ - 1337, - 1360 + 1869, + 1892 ], "loc": { "start": { - "line": 42, + "line": 76, "column": 8 }, "end": { - "line": 42, + "line": 76, "column": 31 } } @@ -3021,16 +2876,16 @@ "type": "Identifier", "name": "tf", "range": [ - 1373, - 1375 + 1905, + 1907 ], "loc": { "start": { - "line": 43, + "line": 77, "column": 12 }, "end": { - "line": 43, + "line": 77, "column": 14 } } @@ -3041,16 +2896,16 @@ "object": { "type": "ThisExpression", "range": [ - 1378, - 1382 + 1910, + 1914 ], "loc": { "start": { - "line": 43, + "line": 77, "column": 17 }, "end": { - "line": 43, + "line": 77, "column": 21 } } @@ -3059,46 +2914,46 @@ "type": "Identifier", "name": "tf", "range": [ - 1383, - 1385 + 1915, + 1917 ], "loc": { "start": { - "line": 43, + "line": 77, "column": 22 }, "end": { - "line": 43, + "line": 77, "column": 24 } } }, "range": [ - 1378, - 1385 + 1910, + 1917 ], "loc": { "start": { - "line": 43, + "line": 77, "column": 17 }, "end": { - "line": 43, + "line": 77, "column": 24 } } }, "range": [ - 1373, - 1385 + 1905, + 1917 ], "loc": { "start": { - "line": 43, + "line": 77, "column": 12 }, "end": { - "line": 43, + "line": 77, "column": 24 } } @@ -3106,16 +2961,16 @@ ], "kind": "let", "range": [ - 1369, - 1386 + 1901, + 1918 ], "loc": { "start": { - "line": 43, + "line": 77, "column": 8 }, "end": { - "line": 43, + "line": 77, "column": 25 } }, @@ -3124,16 +2979,16 @@ "type": "Line", "value": " select is populated when element has focus", "range": [ - 1395, - 1440 + 1927, + 1972 ], "loc": { "start": { - "line": 44, + "line": 78, "column": 8 }, "end": { - "line": 44, + "line": 78, "column": 53 } } @@ -3152,16 +3007,16 @@ "type": "Identifier", "name": "tf", "range": [ - 1453, - 1455 + 1985, + 1987 ], "loc": { "start": { - "line": 45, + "line": 79, "column": 12 }, "end": { - "line": 45, + "line": 79, "column": 14 } } @@ -3170,31 +3025,31 @@ "type": "Identifier", "name": "loadFltOnDemand", "range": [ - 1456, - 1471 + 1988, + 2003 ], "loc": { "start": { - "line": 45, + "line": 79, "column": 15 }, "end": { - "line": 45, + "line": 79, "column": 30 } } }, "range": [ - 1453, - 1471 + 1985, + 2003 ], "loc": { "start": { - "line": 45, + "line": 79, "column": 12 }, "end": { - "line": 45, + "line": 79, "column": 30 } } @@ -3211,16 +3066,16 @@ "type": "Identifier", "name": "elm", "range": [ - 1475, - 1478 + 2007, + 2010 ], "loc": { "start": { - "line": 45, + "line": 79, "column": 34 }, "end": { - "line": 45, + "line": 79, "column": 37 } } @@ -3229,31 +3084,31 @@ "type": "Identifier", "name": "getAttribute", "range": [ - 1479, - 1491 + 2011, + 2023 ], "loc": { "start": { - "line": 45, + "line": 79, "column": 38 }, "end": { - "line": 45, + "line": 79, "column": 50 } } }, "range": [ - 1475, - 1491 + 2007, + 2023 ], "loc": { "start": { - "line": 45, + "line": 79, "column": 34 }, "end": { - "line": 45, + "line": 79, "column": 50 } } @@ -3264,32 +3119,32 @@ "value": "filled", "raw": "'filled'", "range": [ - 1492, - 1500 + 2024, + 2032 ], "loc": { "start": { - "line": 45, + "line": 79, "column": 51 }, "end": { - "line": 45, + "line": 79, "column": 59 } } } ], "range": [ - 1475, - 1501 + 2007, + 2033 ], "loc": { "start": { - "line": 45, + "line": 79, "column": 34 }, "end": { - "line": 45, + "line": 79, "column": 60 } } @@ -3299,46 +3154,46 @@ "value": "0", "raw": "'0'", "range": [ - 1506, - 1509 + 2038, + 2041 ], "loc": { "start": { - "line": 45, + "line": 79, "column": 65 }, "end": { - "line": 45, + "line": 79, "column": 68 } } }, "range": [ - 1475, - 1509 + 2007, + 2041 ], "loc": { "start": { - "line": 45, + "line": 79, "column": 34 }, "end": { - "line": 45, + "line": 79, "column": 68 } } }, "range": [ - 1453, - 1509 + 1985, + 2041 ], "loc": { "start": { - "line": 45, + "line": 79, "column": 12 }, "end": { - "line": 45, + "line": 79, "column": 68 } } @@ -3355,16 +3210,16 @@ "type": "Identifier", "name": "ct", "range": [ - 1529, - 1531 + 2061, + 2063 ], "loc": { "start": { - "line": 46, + "line": 80, "column": 16 }, "end": { - "line": 46, + "line": 80, "column": 18 } } @@ -3378,16 +3233,16 @@ "type": "Identifier", "name": "elm", "range": [ - 1534, - 1537 + 2066, + 2069 ], "loc": { "start": { - "line": 46, + "line": 80, "column": 21 }, "end": { - "line": 46, + "line": 80, "column": 24 } } @@ -3396,31 +3251,31 @@ "type": "Identifier", "name": "getAttribute", "range": [ - 1538, - 1550 + 2070, + 2082 ], "loc": { "start": { - "line": 46, + "line": 80, "column": 25 }, "end": { - "line": 46, + "line": 80, "column": 37 } } }, "range": [ - 1534, - 1550 + 2066, + 2082 ], "loc": { "start": { - "line": 46, + "line": 80, "column": 21 }, "end": { - "line": 46, + "line": 80, "column": 37 } } @@ -3431,47 +3286,47 @@ "value": "ct", "raw": "'ct'", "range": [ - 1551, - 1555 + 2083, + 2087 ], "loc": { "start": { - "line": 46, + "line": 80, "column": 38 }, "end": { - "line": 46, + "line": 80, "column": 42 } } } ], "range": [ - 1534, - 1556 + 2066, + 2088 ], "loc": { "start": { - "line": 46, + "line": 80, "column": 21 }, "end": { - "line": 46, + "line": 80, "column": 43 } } }, "range": [ - 1529, - 1556 + 2061, + 2088 ], "loc": { "start": { - "line": 46, + "line": 80, "column": 16 }, "end": { - "line": 46, + "line": 80, "column": 43 } } @@ -3479,16 +3334,16 @@ ], "kind": "let", "range": [ - 1525, - 1557 + 2057, + 2089 ], "loc": { "start": { - "line": 46, + "line": 80, "column": 12 }, "end": { - "line": 46, + "line": 80, "column": 44 } } @@ -3503,16 +3358,16 @@ "object": { "type": "ThisExpression", "range": [ - 1570, - 1574 + 2102, + 2106 ], "loc": { "start": { - "line": 47, + "line": 81, "column": 12 }, "end": { - "line": 47, + "line": 81, "column": 16 } } @@ -3521,31 +3376,31 @@ "type": "Identifier", "name": "build", "range": [ - 1575, - 1580 + 2107, + 2112 ], "loc": { "start": { - "line": 47, + "line": 81, "column": 17 }, "end": { - "line": 47, + "line": 81, "column": 22 } } }, "range": [ - 1570, - 1580 + 2102, + 2112 ], "loc": { "start": { - "line": 47, + "line": 81, "column": 12 }, "end": { - "line": 47, + "line": 81, "column": 22 } } @@ -3555,79 +3410,79 @@ "type": "Identifier", "name": "ct", "range": [ - 1581, - 1583 + 2113, + 2115 ], "loc": { "start": { - "line": 47, + "line": 81, "column": 23 }, "end": { - "line": 47, + "line": 81, "column": 25 } } } ], "range": [ - 1570, - 1584 + 2102, + 2116 ], "loc": { "start": { - "line": 47, + "line": 81, "column": 12 }, "end": { - "line": 47, + "line": 81, "column": 26 } } }, "range": [ - 1570, - 1585 + 2102, + 2117 ], "loc": { "start": { - "line": 47, + "line": 81, "column": 12 }, "end": { - "line": 47, + "line": 81, "column": 27 } } } ], "range": [ - 1511, - 1595 + 2043, + 2127 ], "loc": { "start": { - "line": 45, + "line": 79, "column": 70 }, "end": { - "line": 48, + "line": 82, "column": 9 } } }, "alternate": null, "range": [ - 1449, - 1595 + 1981, + 2127 ], "loc": { "start": { - "line": 45, + "line": 79, "column": 8 }, "end": { - "line": 48, + "line": 82, "column": 9 } }, @@ -3636,16 +3491,16 @@ "type": "Line", "value": " select is populated when element has focus", "range": [ - 1395, - 1440 + 1927, + 1972 ], "loc": { "start": { - "line": 44, + "line": 78, "column": 8 }, "end": { - "line": 44, + "line": 78, "column": 53 } } @@ -3665,16 +3520,16 @@ "object": { "type": "ThisExpression", "range": [ - 1604, - 1608 + 2136, + 2140 ], "loc": { "start": { - "line": 49, + "line": 83, "column": 8 }, "end": { - "line": 49, + "line": 83, "column": 12 } } @@ -3683,31 +3538,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 1609, - 1616 + 2141, + 2148 ], "loc": { "start": { - "line": 49, + "line": 83, "column": 13 }, "end": { - "line": 49, + "line": 83, "column": 20 } } }, "range": [ - 1604, - 1616 + 2136, + 2148 ], "loc": { "start": { - "line": 49, + "line": 83, "column": 8 }, "end": { - "line": 49, + "line": 83, "column": 20 } } @@ -3716,31 +3571,31 @@ "type": "Identifier", "name": "emit", "range": [ - 1617, - 1621 + 2149, + 2153 ], "loc": { "start": { - "line": 49, + "line": 83, "column": 21 }, "end": { - "line": 49, + "line": 83, "column": 25 } } }, "range": [ - 1604, - 1621 + 2136, + 2153 ], "loc": { "start": { - "line": 49, + "line": 83, "column": 8 }, "end": { - "line": 49, + "line": 83, "column": 25 } } @@ -3751,16 +3606,16 @@ "value": "filter-focus", "raw": "'filter-focus'", "range": [ - 1622, - 1636 + 2154, + 2168 ], "loc": { "start": { - "line": 49, + "line": 83, "column": 26 }, "end": { - "line": 49, + "line": 83, "column": 40 } } @@ -3769,16 +3624,16 @@ "type": "Identifier", "name": "tf", "range": [ - 1638, - 1640 + 2170, + 2172 ], "loc": { "start": { - "line": 49, + "line": 83, "column": 42 }, "end": { - "line": 49, + "line": 83, "column": 44 } } @@ -3787,63 +3642,63 @@ "type": "Identifier", "name": "elm", "range": [ - 1642, - 1645 + 2174, + 2177 ], "loc": { "start": { - "line": 49, + "line": 83, "column": 46 }, "end": { - "line": 49, + "line": 83, "column": 49 } } } ], "range": [ - 1604, - 1646 + 2136, + 2178 ], "loc": { "start": { - "line": 49, + "line": 83, "column": 8 }, "end": { - "line": 49, + "line": 83, "column": 50 } } }, "range": [ - 1604, - 1647 + 2136, + 2179 ], "loc": { "start": { - "line": 49, + "line": 83, "column": 8 }, "end": { - "line": 49, + "line": 83, "column": 51 } } } ], "range": [ - 1327, - 1653 + 1859, + 2185 ], "loc": { "start": { - "line": 41, + "line": 75, "column": 18 }, "end": { - "line": 50, + "line": 84, "column": 5 } } @@ -3851,16 +3706,16 @@ "generator": false, "expression": false, "range": [ - 1323, - 1653 + 1855, + 2185 ], "loc": { "start": { - "line": 41, + "line": 75, "column": 14 }, "end": { - "line": 50, + "line": 84, "column": 5 } } @@ -3868,19 +3723,59 @@ "kind": "method", "computed": false, "range": [ - 1313, - 1653 + 1845, + 2185 ], "loc": { "start": { - "line": 41, + "line": 75, "column": 4 }, "end": { - "line": 50, + "line": 84, "column": 5 } }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Drop-down filter focus event handler\n * @param {Event} e DOM Event\n * @private\n ", + "range": [ + 1735, + 1840 + ], + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 74, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Drop-down filter change event handler\n * @private\n ", + "range": [ + 2191, + 2263 + ], + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 89, + "column": 7 + } + } + } + ], "static": false }, { @@ -3889,16 +3784,16 @@ "type": "Identifier", "name": "onSlcChange", "range": [ - 1659, - 1670 + 2268, + 2279 ], "loc": { "start": { - "line": 52, + "line": 90, "column": 4 }, "end": { - "line": 52, + "line": 90, "column": 15 } } @@ -3921,16 +3816,16 @@ "object": { "type": "ThisExpression", "range": [ - 1687, - 1691 + 2296, + 2300 ], "loc": { "start": { - "line": 53, + "line": 91, "column": 12 }, "end": { - "line": 53, + "line": 91, "column": 16 } } @@ -3939,31 +3834,31 @@ "type": "Identifier", "name": "tf", "range": [ - 1692, - 1694 + 2301, + 2303 ], "loc": { "start": { - "line": 53, + "line": 91, "column": 17 }, "end": { - "line": 53, + "line": 91, "column": 19 } } }, "range": [ - 1687, - 1694 + 2296, + 2303 ], "loc": { "start": { - "line": 53, + "line": 91, "column": 12 }, "end": { - "line": 53, + "line": 91, "column": 19 } } @@ -3972,31 +3867,31 @@ "type": "Identifier", "name": "onSlcChange", "range": [ - 1695, - 1706 + 2304, + 2315 ], "loc": { "start": { - "line": 53, + "line": 91, "column": 20 }, "end": { - "line": 53, + "line": 91, "column": 31 } } }, "range": [ - 1687, - 1706 + 2296, + 2315 ], "loc": { "start": { - "line": 53, + "line": 91, "column": 12 }, "end": { - "line": 53, + "line": 91, "column": 31 } } @@ -4017,16 +3912,16 @@ "object": { "type": "ThisExpression", "range": [ - 1722, - 1726 + 2331, + 2335 ], "loc": { "start": { - "line": 54, + "line": 92, "column": 12 }, "end": { - "line": 54, + "line": 92, "column": 16 } } @@ -4035,31 +3930,31 @@ "type": "Identifier", "name": "tf", "range": [ - 1727, - 1729 + 2336, + 2338 ], "loc": { "start": { - "line": 54, + "line": 92, "column": 17 }, "end": { - "line": 54, + "line": 92, "column": 19 } } }, "range": [ - 1722, - 1729 + 2331, + 2338 ], "loc": { "start": { - "line": 54, + "line": 92, "column": 12 }, "end": { - "line": 54, + "line": 92, "column": 19 } } @@ -4068,110 +3963,110 @@ "type": "Identifier", "name": "filter", "range": [ - 1730, - 1736 + 2339, + 2345 ], "loc": { "start": { - "line": 54, + "line": 92, "column": 20 }, "end": { - "line": 54, + "line": 92, "column": 26 } } }, "range": [ - 1722, - 1736 + 2331, + 2345 ], "loc": { "start": { - "line": 54, + "line": 92, "column": 12 }, "end": { - "line": 54, + "line": 92, "column": 26 } } }, "arguments": [], "range": [ - 1722, - 1738 + 2331, + 2347 ], "loc": { "start": { - "line": 54, + "line": 92, "column": 12 }, "end": { - "line": 54, + "line": 92, "column": 28 } } }, "range": [ - 1722, - 1739 + 2331, + 2348 ], "loc": { "start": { - "line": 54, + "line": 92, "column": 12 }, "end": { - "line": 54, + "line": 92, "column": 29 } } } ], "range": [ - 1708, - 1749 + 2317, + 2358 ], "loc": { "start": { - "line": 53, + "line": 91, "column": 33 }, "end": { - "line": 55, + "line": 93, "column": 9 } } }, "alternate": null, "range": [ - 1683, - 1749 + 2292, + 2358 ], "loc": { "start": { - "line": 53, + "line": 91, "column": 8 }, "end": { - "line": 55, + "line": 93, "column": 9 } } } ], "range": [ - 1673, - 1755 + 2282, + 2364 ], "loc": { "start": { - "line": 52, + "line": 90, "column": 18 }, "end": { - "line": 56, + "line": 94, "column": 5 } } @@ -4179,16 +4074,16 @@ "generator": false, "expression": false, "range": [ - 1670, - 1755 + 2279, + 2364 ], "loc": { "start": { - "line": 52, + "line": 90, "column": 15 }, "end": { - "line": 56, + "line": 94, "column": 5 } } @@ -4196,34 +4091,54 @@ "kind": "method", "computed": false, "range": [ - 1659, - 1755 + 2268, + 2364 ], "loc": { "start": { - "line": 52, + "line": 90, "column": 4 }, "end": { - "line": 56, + "line": 94, "column": 5 } }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Drop-down filter change event handler\n * @private\n ", + "range": [ + 2191, + 2263 + ], + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 89, + "column": 7 + } + } + } + ], "trailingComments": [ { "type": "Block", "value": "*\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 ", "range": [ - 1761, - 1992 + 2370, + 2601 ], "loc": { "start": { - "line": 58, + "line": 96, "column": 4 }, "end": { - "line": 63, + "line": 101, "column": 7 } } @@ -4237,16 +4152,16 @@ "type": "Identifier", "name": "init", "range": [ - 1997, - 2001 + 2606, + 2610 ], "loc": { "start": { - "line": 64, + "line": 102, "column": 4 }, "end": { - "line": 64, + "line": 102, "column": 8 } } @@ -4259,16 +4174,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 2002, - 2010 + 2611, + 2619 ], "loc": { "start": { - "line": 64, + "line": 102, "column": 9 }, "end": { - "line": 64, + "line": 102, "column": 17 } } @@ -4277,16 +4192,16 @@ "type": "Identifier", "name": "isExternal", "range": [ - 2012, - 2022 + 2621, + 2631 ], "loc": { "start": { - "line": 64, + "line": 102, "column": 19 }, "end": { - "line": 64, + "line": 102, "column": 29 } } @@ -4295,16 +4210,16 @@ "type": "Identifier", "name": "container", "range": [ - 2024, - 2033 + 2633, + 2642 ], "loc": { "start": { - "line": 64, + "line": 102, "column": 31 }, "end": { - "line": 64, + "line": 102, "column": 40 } } @@ -4322,16 +4237,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2049, - 2051 + 2658, + 2660 ], "loc": { "start": { - "line": 65, + "line": 103, "column": 12 }, "end": { - "line": 65, + "line": 103, "column": 14 } } @@ -4342,16 +4257,16 @@ "object": { "type": "ThisExpression", "range": [ - 2054, - 2058 + 2663, + 2667 ], "loc": { "start": { - "line": 65, + "line": 103, "column": 17 }, "end": { - "line": 65, + "line": 103, "column": 21 } } @@ -4360,46 +4275,46 @@ "type": "Identifier", "name": "tf", "range": [ - 2059, - 2061 + 2668, + 2670 ], "loc": { "start": { - "line": 65, + "line": 103, "column": 22 }, "end": { - "line": 65, + "line": 103, "column": 24 } } }, "range": [ - 2054, - 2061 + 2663, + 2670 ], "loc": { "start": { - "line": 65, + "line": 103, "column": 17 }, "end": { - "line": 65, + "line": 103, "column": 24 } } }, "range": [ - 2049, - 2061 + 2658, + 2670 ], "loc": { "start": { - "line": 65, + "line": 103, "column": 12 }, "end": { - "line": 65, + "line": 103, "column": 24 } } @@ -4407,16 +4322,16 @@ ], "kind": "let", "range": [ - 2045, - 2062 + 2654, + 2671 ], "loc": { "start": { - "line": 65, + "line": 103, "column": 8 }, "end": { - "line": 65, + "line": 103, "column": 25 } } @@ -4430,16 +4345,16 @@ "type": "Identifier", "name": "col", "range": [ - 2075, - 2078 + 2684, + 2687 ], "loc": { "start": { - "line": 66, + "line": 104, "column": 12 }, "end": { - "line": 66, + "line": 104, "column": 15 } } @@ -4453,16 +4368,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2081, - 2083 + 2690, + 2692 ], "loc": { "start": { - "line": 66, + "line": 104, "column": 18 }, "end": { - "line": 66, + "line": 104, "column": 20 } } @@ -4471,31 +4386,31 @@ "type": "Identifier", "name": "getFilterType", "range": [ - 2084, - 2097 + 2693, + 2706 ], "loc": { "start": { - "line": 66, + "line": 104, "column": 21 }, "end": { - "line": 66, + "line": 104, "column": 34 } } }, "range": [ - 2081, - 2097 + 2690, + 2706 ], "loc": { "start": { - "line": 66, + "line": 104, "column": 18 }, "end": { - "line": 66, + "line": 104, "column": 34 } } @@ -4505,47 +4420,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 2098, - 2106 + 2707, + 2715 ], "loc": { "start": { - "line": 66, + "line": 104, "column": 35 }, "end": { - "line": 66, + "line": 104, "column": 43 } } } ], "range": [ - 2081, - 2107 + 2690, + 2716 ], "loc": { "start": { - "line": 66, + "line": 104, "column": 18 }, "end": { - "line": 66, + "line": 104, "column": 44 } } }, "range": [ - 2075, - 2107 + 2684, + 2716 ], "loc": { "start": { - "line": 66, + "line": 104, "column": 12 }, "end": { - "line": 66, + "line": 104, "column": 44 } } @@ -4553,16 +4468,16 @@ ], "kind": "let", "range": [ - 2071, - 2108 + 2680, + 2717 ], "loc": { "start": { - "line": 66, + "line": 104, "column": 8 }, "end": { - "line": 66, + "line": 104, "column": 45 } } @@ -4576,16 +4491,16 @@ "type": "Identifier", "name": "externalFltTgtId", "range": [ - 2121, - 2137 + 2730, + 2746 ], "loc": { "start": { - "line": 67, + "line": 105, "column": 12 }, "end": { - "line": 67, + "line": 105, "column": 28 } } @@ -4596,16 +4511,16 @@ "type": "Identifier", "name": "isExternal", "range": [ - 2140, - 2150 + 2749, + 2759 ], "loc": { "start": { - "line": 67, + "line": 105, "column": 31 }, "end": { - "line": 67, + "line": 105, "column": 41 } } @@ -4620,16 +4535,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2165, - 2167 + 2774, + 2776 ], "loc": { "start": { - "line": 68, + "line": 106, "column": 12 }, "end": { - "line": 68, + "line": 106, "column": 14 } } @@ -4638,31 +4553,31 @@ "type": "Identifier", "name": "externalFltTgtIds", "range": [ - 2168, - 2185 + 2777, + 2794 ], "loc": { "start": { - "line": 68, + "line": 106, "column": 15 }, "end": { - "line": 68, + "line": 106, "column": 32 } } }, "range": [ - 2165, - 2185 + 2774, + 2794 ], "loc": { "start": { - "line": 68, + "line": 106, "column": 12 }, "end": { - "line": 68, + "line": 106, "column": 32 } } @@ -4671,31 +4586,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 2186, - 2194 + 2795, + 2803 ], "loc": { "start": { - "line": 68, + "line": 106, "column": 33 }, "end": { - "line": 68, + "line": 106, "column": 41 } } }, "range": [ - 2165, - 2195 + 2774, + 2804 ], "loc": { "start": { - "line": 68, + "line": 106, "column": 12 }, "end": { - "line": 68, + "line": 106, "column": 42 } } @@ -4705,46 +4620,46 @@ "value": null, "raw": "null", "range": [ - 2198, - 2202 + 2807, + 2811 ], "loc": { "start": { - "line": 68, + "line": 106, "column": 45 }, "end": { - "line": 68, + "line": 106, "column": 49 } } }, "range": [ - 2140, - 2202 + 2749, + 2811 ], "loc": { "start": { - "line": 67, + "line": 105, "column": 31 }, "end": { - "line": 68, + "line": 106, "column": 49 } } }, "range": [ - 2121, - 2202 + 2730, + 2811 ], "loc": { "start": { - "line": 67, + "line": 105, "column": 12 }, "end": { - "line": 68, + "line": 106, "column": 49 } } @@ -4752,16 +4667,16 @@ ], "kind": "let", "range": [ - 2117, - 2203 + 2726, + 2812 ], "loc": { "start": { - "line": 67, + "line": 105, "column": 8 }, "end": { - "line": 68, + "line": 106, "column": 50 } } @@ -4775,16 +4690,16 @@ "type": "Identifier", "name": "slc", "range": [ - 2217, - 2220 + 2826, + 2829 ], "loc": { "start": { - "line": 70, + "line": 108, "column": 12 }, "end": { - "line": 70, + "line": 108, "column": 15 } } @@ -4795,16 +4710,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 2223, - 2232 + 2832, + 2841 ], "loc": { "start": { - "line": 70, + "line": 108, "column": 18 }, "end": { - "line": 70, + "line": 108, "column": 27 } } @@ -4814,16 +4729,16 @@ "type": "Identifier", "name": "SELECT", "range": [ - 2233, - 2239 + 2842, + 2848 ], "loc": { "start": { - "line": 70, + "line": 108, "column": 28 }, "end": { - "line": 70, + "line": 108, "column": 34 } } @@ -4836,16 +4751,16 @@ "value": "id", "raw": "'id'", "range": [ - 2254, - 2258 + 2863, + 2867 ], "loc": { "start": { - "line": 71, + "line": 109, "column": 13 }, "end": { - "line": 71, + "line": 109, "column": 17 } } @@ -4866,16 +4781,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2260, - 2262 + 2869, + 2871 ], "loc": { "start": { - "line": 71, + "line": 109, "column": 19 }, "end": { - "line": 71, + "line": 109, "column": 21 } } @@ -4884,31 +4799,31 @@ "type": "Identifier", "name": "prfxFlt", "range": [ - 2263, - 2270 + 2872, + 2879 ], "loc": { "start": { - "line": 71, + "line": 109, "column": 22 }, "end": { - "line": 71, + "line": 109, "column": 29 } } }, "range": [ - 2260, - 2270 + 2869, + 2879 ], "loc": { "start": { - "line": 71, + "line": 109, "column": 19 }, "end": { - "line": 71, + "line": 109, "column": 29 } } @@ -4917,31 +4832,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 2273, - 2281 + 2882, + 2890 ], "loc": { "start": { - "line": 71, + "line": 109, "column": 32 }, "end": { - "line": 71, + "line": 109, "column": 40 } } }, "range": [ - 2260, - 2281 + 2869, + 2890 ], "loc": { "start": { - "line": 71, + "line": 109, "column": 19 }, "end": { - "line": 71, + "line": 109, "column": 40 } } @@ -4951,31 +4866,31 @@ "value": "_", "raw": "'_'", "range": [ - 2284, - 2287 + 2893, + 2896 ], "loc": { "start": { - "line": 71, + "line": 109, "column": 43 }, "end": { - "line": 71, + "line": 109, "column": 46 } } }, "range": [ - 2260, - 2287 + 2869, + 2896 ], "loc": { "start": { - "line": 71, + "line": 109, "column": 19 }, "end": { - "line": 71, + "line": 109, "column": 46 } } @@ -4987,16 +4902,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2290, - 2292 + 2899, + 2901 ], "loc": { "start": { - "line": 71, + "line": 109, "column": 49 }, "end": { - "line": 71, + "line": 109, "column": 51 } } @@ -5005,62 +4920,62 @@ "type": "Identifier", "name": "id", "range": [ - 2293, - 2295 + 2902, + 2904 ], "loc": { "start": { - "line": 71, + "line": 109, "column": 52 }, "end": { - "line": 71, + "line": 109, "column": 54 } } }, "range": [ - 2290, - 2295 + 2899, + 2904 ], "loc": { "start": { - "line": 71, + "line": 109, "column": 49 }, "end": { - "line": 71, + "line": 109, "column": 54 } } }, "range": [ - 2260, - 2295 + 2869, + 2904 ], "loc": { "start": { - "line": 71, + "line": 109, "column": 19 }, "end": { - "line": 71, + "line": 109, "column": 54 } } } ], "range": [ - 2253, - 2296 + 2862, + 2905 ], "loc": { "start": { - "line": 71, + "line": 109, "column": 12 }, "end": { - "line": 71, + "line": 109, "column": 55 } } @@ -5073,16 +4988,16 @@ "value": "ct", "raw": "'ct'", "range": [ - 2311, - 2315 + 2920, + 2924 ], "loc": { "start": { - "line": 72, + "line": 110, "column": 13 }, "end": { - "line": 72, + "line": 110, "column": 17 } } @@ -5091,32 +5006,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 2317, - 2325 + 2926, + 2934 ], "loc": { "start": { - "line": 72, + "line": 110, "column": 19 }, "end": { - "line": 72, + "line": 110, "column": 27 } } } ], "range": [ - 2310, - 2326 + 2919, + 2935 ], "loc": { "start": { - "line": 72, + "line": 110, "column": 12 }, "end": { - "line": 72, + "line": 110, "column": 28 } } @@ -5129,16 +5044,16 @@ "value": "filled", "raw": "'filled'", "range": [ - 2329, - 2337 + 2938, + 2946 ], "loc": { "start": { - "line": 72, + "line": 110, "column": 31 }, "end": { - "line": 72, + "line": 110, "column": 39 } } @@ -5148,63 +5063,63 @@ "value": "0", "raw": "'0'", "range": [ - 2339, - 2342 + 2948, + 2951 ], "loc": { "start": { - "line": 72, + "line": 110, "column": 41 }, "end": { - "line": 72, + "line": 110, "column": 44 } } } ], "range": [ - 2328, - 2343 + 2937, + 2952 ], "loc": { "start": { - "line": 72, + "line": 110, "column": 30 }, "end": { - "line": 72, + "line": 110, "column": 45 } } } ], "range": [ - 2223, - 2353 + 2832, + 2962 ], "loc": { "start": { - "line": 70, + "line": 108, "column": 18 }, "end": { - "line": 73, + "line": 111, "column": 9 } } }, "range": [ - 2217, - 2353 + 2826, + 2962 ], "loc": { "start": { - "line": 70, + "line": 108, "column": 12 }, "end": { - "line": 73, + "line": 111, "column": 9 } } @@ -5212,16 +5127,16 @@ ], "kind": "let", "range": [ - 2213, - 2354 + 2822, + 2963 ], "loc": { "start": { - "line": 70, + "line": 108, "column": 8 }, "end": { - "line": 73, + "line": 111, "column": 10 } } @@ -5235,16 +5150,16 @@ "type": "Identifier", "name": "col", "range": [ - 2368, - 2371 + 2977, + 2980 ], "loc": { "start": { - "line": 75, + "line": 113, "column": 12 }, "end": { - "line": 75, + "line": 113, "column": 15 } } @@ -5253,31 +5168,31 @@ "type": "Identifier", "name": "MULTIPLE", "range": [ - 2376, - 2384 + 2985, + 2993 ], "loc": { "start": { - "line": 75, + "line": 113, "column": 20 }, "end": { - "line": 75, + "line": 113, "column": 28 } } }, "range": [ - 2368, - 2384 + 2977, + 2993 ], "loc": { "start": { - "line": 75, + "line": 113, "column": 12 }, "end": { - "line": 75, + "line": 113, "column": 28 } } @@ -5297,16 +5212,16 @@ "type": "Identifier", "name": "slc", "range": [ - 2400, - 2403 + 3009, + 3012 ], "loc": { "start": { - "line": 76, + "line": 114, "column": 12 }, "end": { - "line": 76, + "line": 114, "column": 15 } } @@ -5315,31 +5230,31 @@ "type": "Identifier", "name": "multiple", "range": [ - 2404, - 2412 + 3013, + 3021 ], "loc": { "start": { - "line": 76, + "line": 114, "column": 16 }, "end": { - "line": 76, + "line": 114, "column": 24 } } }, "range": [ - 2400, - 2412 + 3009, + 3021 ], "loc": { "start": { - "line": 76, + "line": 114, "column": 12 }, "end": { - "line": 76, + "line": 114, "column": 24 } } @@ -5348,46 +5263,46 @@ "type": "Identifier", "name": "MULTIPLE", "range": [ - 2415, - 2423 + 3024, + 3032 ], "loc": { "start": { - "line": 76, + "line": 114, "column": 27 }, "end": { - "line": 76, + "line": 114, "column": 35 } } }, "range": [ - 2400, - 2423 + 3009, + 3032 ], "loc": { "start": { - "line": 76, + "line": 114, "column": 12 }, "end": { - "line": 76, + "line": 114, "column": 35 } } }, "range": [ - 2400, - 2424 + 3009, + 3033 ], "loc": { "start": { - "line": 76, + "line": 114, "column": 12 }, "end": { - "line": 76, + "line": 114, "column": 36 } } @@ -5404,16 +5319,16 @@ "type": "Identifier", "name": "slc", "range": [ - 2437, - 2440 + 3046, + 3049 ], "loc": { "start": { - "line": 77, + "line": 115, "column": 12 }, "end": { - "line": 77, + "line": 115, "column": 15 } } @@ -5422,31 +5337,31 @@ "type": "Identifier", "name": "title", "range": [ - 2441, - 2446 + 3050, + 3055 ], "loc": { "start": { - "line": 77, + "line": 115, "column": 16 }, "end": { - "line": 77, + "line": 115, "column": 21 } } }, "range": [ - 2437, - 2446 + 3046, + 3055 ], "loc": { "start": { - "line": 77, + "line": 115, "column": 12 }, "end": { - "line": 77, + "line": 115, "column": 21 } } @@ -5457,16 +5372,16 @@ "object": { "type": "ThisExpression", "range": [ - 2449, - 2453 + 3058, + 3062 ], "loc": { "start": { - "line": 77, + "line": 115, "column": 24 }, "end": { - "line": 77, + "line": 115, "column": 28 } } @@ -5475,93 +5390,93 @@ "type": "Identifier", "name": "multipleSlcTooltip", "range": [ - 2454, - 2472 + 3063, + 3081 ], "loc": { "start": { - "line": 77, + "line": 115, "column": 29 }, "end": { - "line": 77, + "line": 115, "column": 47 } } }, "range": [ - 2449, - 2472 + 3058, + 3081 ], "loc": { "start": { - "line": 77, + "line": 115, "column": 24 }, "end": { - "line": 77, + "line": 115, "column": 47 } } }, "range": [ - 2437, - 2472 + 3046, + 3081 ], "loc": { "start": { - "line": 77, + "line": 115, "column": 12 }, "end": { - "line": 77, + "line": 115, "column": 47 } } }, "range": [ - 2437, - 2473 + 3046, + 3082 ], "loc": { "start": { - "line": 77, + "line": 115, "column": 12 }, "end": { - "line": 77, + "line": 115, "column": 48 } } } ], "range": [ - 2386, - 2483 + 2995, + 3092 ], "loc": { "start": { - "line": 75, + "line": 113, "column": 30 }, "end": { - "line": 78, + "line": 116, "column": 9 } } }, "alternate": null, "range": [ - 2364, - 2483 + 2973, + 3092 ], "loc": { "start": { - "line": 75, + "line": 113, "column": 8 }, "end": { - "line": 78, + "line": 116, "column": 9 } } @@ -5578,16 +5493,16 @@ "type": "Identifier", "name": "slc", "range": [ - 2492, - 2495 + 3101, + 3104 ], "loc": { "start": { - "line": 79, + "line": 117, "column": 8 }, "end": { - "line": 79, + "line": 117, "column": 11 } } @@ -5596,31 +5511,31 @@ "type": "Identifier", "name": "className", "range": [ - 2496, - 2505 + 3105, + 3114 ], "loc": { "start": { - "line": 79, + "line": 117, "column": 12 }, "end": { - "line": 79, + "line": 117, "column": 21 } } }, "range": [ - 2492, - 2505 + 3101, + 3114 ], "loc": { "start": { - "line": 79, + "line": 117, "column": 8 }, "end": { - "line": 79, + "line": 117, "column": 21 } } @@ -5639,16 +5554,16 @@ "type": "Identifier", "name": "col", "range": [ - 2508, - 2511 + 3117, + 3120 ], "loc": { "start": { - "line": 79, + "line": 117, "column": 24 }, "end": { - "line": 79, + "line": 117, "column": 27 } } @@ -5657,47 +5572,47 @@ "type": "Identifier", "name": "toLowerCase", "range": [ - 2512, - 2523 + 3121, + 3132 ], "loc": { "start": { - "line": 79, + "line": 117, "column": 28 }, "end": { - "line": 79, + "line": 117, "column": 39 } } }, "range": [ - 2508, - 2523 + 3117, + 3132 ], "loc": { "start": { - "line": 79, + "line": 117, "column": 24 }, "end": { - "line": 79, + "line": 117, "column": 39 } } }, "arguments": [], "range": [ - 2508, - 2525 + 3117, + 3134 ], "loc": { "start": { - "line": 79, + "line": 117, "column": 24 }, "end": { - "line": 79, + "line": 117, "column": 41 } } @@ -5706,31 +5621,31 @@ "type": "Identifier", "name": "SELECT", "range": [ - 2530, - 2536 + 3139, + 3145 ], "loc": { "start": { - "line": 79, + "line": 117, "column": 46 }, "end": { - "line": 79, + "line": 117, "column": 52 } } }, "range": [ - 2508, - 2536 + 3117, + 3145 ], "loc": { "start": { - "line": 79, + "line": 117, "column": 24 }, "end": { - "line": 79, + "line": 117, "column": 52 } } @@ -5742,16 +5657,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2551, - 2553 + 3160, + 3162 ], "loc": { "start": { - "line": 80, + "line": 118, "column": 12 }, "end": { - "line": 80, + "line": 118, "column": 14 } } @@ -5760,31 +5675,31 @@ "type": "Identifier", "name": "fltCssClass", "range": [ - 2554, - 2565 + 3163, + 3174 ], "loc": { "start": { - "line": 80, + "line": 118, "column": 15 }, "end": { - "line": 80, + "line": 118, "column": 26 } } }, "range": [ - 2551, - 2565 + 3160, + 3174 ], "loc": { "start": { - "line": 80, + "line": 118, "column": 12 }, "end": { - "line": 80, + "line": 118, "column": 26 } } @@ -5796,16 +5711,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2568, - 2570 + 3177, + 3179 ], "loc": { "start": { - "line": 80, + "line": 118, "column": 29 }, "end": { - "line": 80, + "line": 118, "column": 31 } } @@ -5814,76 +5729,76 @@ "type": "Identifier", "name": "fltMultiCssClass", "range": [ - 2571, - 2587 + 3180, + 3196 ], "loc": { "start": { - "line": 80, + "line": 118, "column": 32 }, "end": { - "line": 80, + "line": 118, "column": 48 } } }, "range": [ - 2568, - 2587 + 3177, + 3196 ], "loc": { "start": { - "line": 80, + "line": 118, "column": 29 }, "end": { - "line": 80, + "line": 118, "column": 48 } } }, "range": [ - 2508, - 2587 + 3117, + 3196 ], "loc": { "start": { - "line": 79, + "line": 117, "column": 24 }, "end": { - "line": 80, + "line": 118, "column": 48 } } }, "range": [ - 2492, - 2587 + 3101, + 3196 ], "loc": { "start": { - "line": 79, + "line": 117, "column": 8 }, "end": { - "line": 80, + "line": 118, "column": 48 } } }, "range": [ - 2492, - 2588 + 3101, + 3197 ], "loc": { "start": { - "line": 79, + "line": 117, "column": 8 }, "end": { - "line": 80, + "line": 118, "column": 49 } }, @@ -5892,16 +5807,16 @@ "type": "Line", "value": "filter is appended in container element", "range": [ - 2598, - 2639 + 3207, + 3248 ], "loc": { "start": { - "line": 82, + "line": 120, "column": 8 }, "end": { - "line": 82, + "line": 120, "column": 49 } } @@ -5914,16 +5829,16 @@ "type": "Identifier", "name": "externalFltTgtId", "range": [ - 2652, - 2668 + 3261, + 3277 ], "loc": { "start": { - "line": 83, + "line": 121, "column": 12 }, "end": { - "line": 83, + "line": 121, "column": 28 } } @@ -5944,16 +5859,16 @@ "type": "Identifier", "name": "elm", "range": [ - 2684, - 2687 + 3293, + 3296 ], "loc": { "start": { - "line": 84, + "line": 122, "column": 12 }, "end": { - "line": 84, + "line": 122, "column": 15 } } @@ -5963,32 +5878,32 @@ "type": "Identifier", "name": "externalFltTgtId", "range": [ - 2688, - 2704 + 3297, + 3313 ], "loc": { "start": { - "line": 84, + "line": 122, "column": 16 }, "end": { - "line": 84, + "line": 122, "column": 32 } } } ], "range": [ - 2684, - 2705 + 3293, + 3314 ], "loc": { "start": { - "line": 84, + "line": 122, "column": 12 }, "end": { - "line": 84, + "line": 122, "column": 33 } } @@ -5997,31 +5912,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 2706, - 2717 + 3315, + 3326 ], "loc": { "start": { - "line": 84, + "line": 122, "column": 34 }, "end": { - "line": 84, + "line": 122, "column": 45 } } }, "range": [ - 2684, - 2717 + 3293, + 3326 ], "loc": { "start": { - "line": 84, + "line": 122, "column": 12 }, "end": { - "line": 84, + "line": 122, "column": 45 } } @@ -6031,47 +5946,47 @@ "type": "Identifier", "name": "slc", "range": [ - 2718, - 2721 + 3327, + 3330 ], "loc": { "start": { - "line": 84, + "line": 122, "column": 46 }, "end": { - "line": 84, + "line": 122, "column": 49 } } } ], "range": [ - 2684, - 2722 + 3293, + 3331 ], "loc": { "start": { - "line": 84, + "line": 122, "column": 12 }, "end": { - "line": 84, + "line": 122, "column": 50 } } }, "range": [ - 2684, - 2723 + 3293, + 3332 ], "loc": { "start": { - "line": 84, + "line": 122, "column": 12 }, "end": { - "line": 84, + "line": 122, "column": 51 } } @@ -6090,16 +6005,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2736, - 2738 + 3345, + 3347 ], "loc": { "start": { - "line": 85, + "line": 123, "column": 12 }, "end": { - "line": 85, + "line": 123, "column": 14 } } @@ -6108,31 +6023,31 @@ "type": "Identifier", "name": "externalFltEls", "range": [ - 2739, - 2753 + 3348, + 3362 ], "loc": { "start": { - "line": 85, + "line": 123, "column": 15 }, "end": { - "line": 85, + "line": 123, "column": 29 } } }, "range": [ - 2736, - 2753 + 3345, + 3362 ], "loc": { "start": { - "line": 85, + "line": 123, "column": 12 }, "end": { - "line": 85, + "line": 123, "column": 29 } } @@ -6141,31 +6056,31 @@ "type": "Identifier", "name": "push", "range": [ - 2754, - 2758 + 3363, + 3367 ], "loc": { "start": { - "line": 85, + "line": 123, "column": 30 }, "end": { - "line": 85, + "line": 123, "column": 34 } } }, "range": [ - 2736, - 2758 + 3345, + 3367 ], "loc": { "start": { - "line": 85, + "line": 123, "column": 12 }, "end": { - "line": 85, + "line": 123, "column": 34 } } @@ -6175,63 +6090,63 @@ "type": "Identifier", "name": "slc", "range": [ - 2759, - 2762 + 3368, + 3371 ], "loc": { "start": { - "line": 85, + "line": 123, "column": 35 }, "end": { - "line": 85, + "line": 123, "column": 38 } } } ], "range": [ - 2736, - 2763 + 3345, + 3372 ], "loc": { "start": { - "line": 85, + "line": 123, "column": 12 }, "end": { - "line": 85, + "line": 123, "column": 39 } } }, "range": [ - 2736, - 2764 + 3345, + 3373 ], "loc": { "start": { - "line": 85, + "line": 123, "column": 12 }, "end": { - "line": 85, + "line": 123, "column": 40 } } } ], "range": [ - 2670, - 2774 + 3279, + 3383 ], "loc": { "start": { - "line": 83, + "line": 121, "column": 30 }, "end": { - "line": 86, + "line": 124, "column": 9 } } @@ -6250,16 +6165,16 @@ "type": "Identifier", "name": "container", "range": [ - 2794, - 2803 + 3403, + 3412 ], "loc": { "start": { - "line": 87, + "line": 125, "column": 12 }, "end": { - "line": 87, + "line": 125, "column": 21 } } @@ -6268,31 +6183,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 2804, - 2815 + 3413, + 3424 ], "loc": { "start": { - "line": 87, + "line": 125, "column": 22 }, "end": { - "line": 87, + "line": 125, "column": 33 } } }, "range": [ - 2794, - 2815 + 3403, + 3424 ], "loc": { "start": { - "line": 87, + "line": 125, "column": 12 }, "end": { - "line": 87, + "line": 125, "column": 33 } } @@ -6302,78 +6217,78 @@ "type": "Identifier", "name": "slc", "range": [ - 2816, - 2819 + 3425, + 3428 ], "loc": { "start": { - "line": 87, + "line": 125, "column": 34 }, "end": { - "line": 87, + "line": 125, "column": 37 } } } ], "range": [ - 2794, - 2820 + 3403, + 3429 ], "loc": { "start": { - "line": 87, + "line": 125, "column": 12 }, "end": { - "line": 87, + "line": 125, "column": 38 } } }, "range": [ - 2794, - 2821 + 3403, + 3430 ], "loc": { "start": { - "line": 87, + "line": 125, "column": 12 }, "end": { - "line": 87, + "line": 125, "column": 39 } } } ], "range": [ - 2780, - 2831 + 3389, + 3440 ], "loc": { "start": { - "line": 86, + "line": 124, "column": 15 }, "end": { - "line": 88, + "line": 126, "column": 9 } } }, "range": [ - 2648, - 2831 + 3257, + 3440 ], "loc": { "start": { - "line": 83, + "line": 121, "column": 8 }, "end": { - "line": 88, + "line": 126, "column": 9 } }, @@ -6382,16 +6297,16 @@ "type": "Line", "value": "filter is appended in container element", "range": [ - 2598, - 2639 + 3207, + 3248 ], "loc": { "start": { - "line": 82, + "line": 120, "column": 8 }, "end": { - "line": 82, + "line": 120, "column": 49 } } @@ -6412,16 +6327,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2841, - 2843 + 3450, + 3452 ], "loc": { "start": { - "line": 90, + "line": 128, "column": 8 }, "end": { - "line": 90, + "line": 128, "column": 10 } } @@ -6430,31 +6345,31 @@ "type": "Identifier", "name": "fltIds", "range": [ - 2844, - 2850 + 3453, + 3459 ], "loc": { "start": { - "line": 90, + "line": 128, "column": 11 }, "end": { - "line": 90, + "line": 128, "column": 17 } } }, "range": [ - 2841, - 2850 + 3450, + 3459 ], "loc": { "start": { - "line": 90, + "line": 128, "column": 8 }, "end": { - "line": 90, + "line": 128, "column": 17 } } @@ -6463,31 +6378,31 @@ "type": "Identifier", "name": "push", "range": [ - 2851, - 2855 + 3460, + 3464 ], "loc": { "start": { - "line": 90, + "line": 128, "column": 18 }, "end": { - "line": 90, + "line": 128, "column": 22 } } }, "range": [ - 2841, - 2855 + 3450, + 3464 ], "loc": { "start": { - "line": 90, + "line": 128, "column": 8 }, "end": { - "line": 90, + "line": 128, "column": 22 } } @@ -6500,16 +6415,16 @@ "type": "Identifier", "name": "slc", "range": [ - 2856, - 2859 + 3465, + 3468 ], "loc": { "start": { - "line": 90, + "line": 128, "column": 23 }, "end": { - "line": 90, + "line": 128, "column": 26 } } @@ -6518,62 +6433,62 @@ "type": "Identifier", "name": "id", "range": [ - 2860, - 2862 + 3469, + 3471 ], "loc": { "start": { - "line": 90, + "line": 128, "column": 27 }, "end": { - "line": 90, + "line": 128, "column": 29 } } }, "range": [ - 2856, - 2862 + 3465, + 3471 ], "loc": { "start": { - "line": 90, + "line": 128, "column": 23 }, "end": { - "line": 90, + "line": 128, "column": 29 } } } ], "range": [ - 2841, - 2863 + 3450, + 3472 ], "loc": { "start": { - "line": 90, + "line": 128, "column": 8 }, "end": { - "line": 90, + "line": 128, "column": 30 } } }, "range": [ - 2841, - 2864 + 3450, + 3473 ], "loc": { "start": { - "line": 90, + "line": 128, "column": 8 }, "end": { - "line": 90, + "line": 128, "column": 31 } } @@ -6590,16 +6505,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2879, - 2881 + 3488, + 3490 ], "loc": { "start": { - "line": 92, + "line": 130, "column": 13 }, "end": { - "line": 92, + "line": 130, "column": 15 } } @@ -6608,47 +6523,47 @@ "type": "Identifier", "name": "loadFltOnDemand", "range": [ - 2882, - 2897 + 3491, + 3506 ], "loc": { "start": { - "line": 92, + "line": 130, "column": 16 }, "end": { - "line": 92, + "line": 130, "column": 31 } } }, "range": [ - 2879, - 2897 + 3488, + 3506 ], "loc": { "start": { - "line": 92, + "line": 130, "column": 13 }, "end": { - "line": 92, + "line": 130, "column": 31 } } }, "prefix": true, "range": [ - 2878, - 2897 + 3487, + 3506 ], "loc": { "start": { - "line": 92, + "line": 130, "column": 12 }, "end": { - "line": 92, + "line": 130, "column": 31 } } @@ -6666,16 +6581,16 @@ "object": { "type": "ThisExpression", "range": [ - 2913, - 2917 + 3522, + 3526 ], "loc": { "start": { - "line": 93, + "line": 131, "column": 12 }, "end": { - "line": 93, + "line": 131, "column": 16 } } @@ -6684,31 +6599,31 @@ "type": "Identifier", "name": "build", "range": [ - 2918, - 2923 + 3527, + 3532 ], "loc": { "start": { - "line": 93, + "line": 131, "column": 17 }, "end": { - "line": 93, + "line": 131, "column": 22 } } }, "range": [ - 2913, - 2923 + 3522, + 3532 ], "loc": { "start": { - "line": 93, + "line": 131, "column": 12 }, "end": { - "line": 93, + "line": 131, "column": 22 } } @@ -6718,63 +6633,63 @@ "type": "Identifier", "name": "colIndex", "range": [ - 2924, - 2932 + 3533, + 3541 ], "loc": { "start": { - "line": 93, + "line": 131, "column": 23 }, "end": { - "line": 93, + "line": 131, "column": 31 } } } ], "range": [ - 2913, - 2933 + 3522, + 3542 ], "loc": { "start": { - "line": 93, + "line": 131, "column": 12 }, "end": { - "line": 93, + "line": 131, "column": 32 } } }, "range": [ - 2913, - 2934 + 3522, + 3543 ], "loc": { "start": { - "line": 93, + "line": 131, "column": 12 }, "end": { - "line": 93, + "line": 131, "column": 33 } } } ], "range": [ - 2899, - 2944 + 3508, + 3553 ], "loc": { "start": { - "line": 92, + "line": 130, "column": 33 }, "end": { - "line": 94, + "line": 132, "column": 9 } } @@ -6791,16 +6706,16 @@ "type": "Identifier", "name": "opt0", "range": [ - 3035, - 3039 + 3644, + 3648 ], "loc": { "start": { - "line": 96, + "line": 134, "column": 16 }, "end": { - "line": 96, + "line": 134, "column": 20 } } @@ -6811,16 +6726,16 @@ "type": "Identifier", "name": "createOpt", "range": [ - 3042, - 3051 + 3651, + 3660 ], "loc": { "start": { - "line": 96, + "line": 134, "column": 23 }, "end": { - "line": 96, + "line": 134, "column": 32 } } @@ -6833,16 +6748,16 @@ "type": "Identifier", "name": "tf", "range": [ - 3052, - 3054 + 3661, + 3663 ], "loc": { "start": { - "line": 96, + "line": 134, "column": 33 }, "end": { - "line": 96, + "line": 134, "column": 35 } } @@ -6851,31 +6766,31 @@ "type": "Identifier", "name": "displayAllText", "range": [ - 3055, - 3069 + 3664, + 3678 ], "loc": { "start": { - "line": 96, + "line": 134, "column": 36 }, "end": { - "line": 96, + "line": 134, "column": 50 } } }, "range": [ - 3052, - 3069 + 3661, + 3678 ], "loc": { "start": { - "line": 96, + "line": 134, "column": 33 }, "end": { - "line": 96, + "line": 134, "column": 50 } } @@ -6885,47 +6800,47 @@ "value": "", "raw": "''", "range": [ - 3071, - 3073 + 3680, + 3682 ], "loc": { "start": { - "line": 96, + "line": 134, "column": 52 }, "end": { - "line": 96, + "line": 134, "column": 54 } } } ], "range": [ - 3042, - 3074 + 3651, + 3683 ], "loc": { "start": { - "line": 96, + "line": 134, "column": 23 }, "end": { - "line": 96, + "line": 134, "column": 55 } } }, "range": [ - 3035, - 3074 + 3644, + 3683 ], "loc": { "start": { - "line": 96, + "line": 134, "column": 16 }, "end": { - "line": 96, + "line": 134, "column": 55 } } @@ -6933,16 +6848,16 @@ ], "kind": "let", "range": [ - 3031, - 3075 + 3640, + 3684 ], "loc": { "start": { - "line": 96, + "line": 134, "column": 12 }, "end": { - "line": 96, + "line": 134, "column": 56 } }, @@ -6951,16 +6866,16 @@ "type": "Line", "value": "1st option is created here since build isn't invoked", "range": [ - 2964, - 3018 + 3573, + 3627 ], "loc": { "start": { - "line": 95, + "line": 133, "column": 12 }, "end": { - "line": 95, + "line": 133, "column": 66 } } @@ -6978,16 +6893,16 @@ "type": "Identifier", "name": "slc", "range": [ - 3088, - 3091 + 3697, + 3700 ], "loc": { "start": { - "line": 97, + "line": 135, "column": 12 }, "end": { - "line": 97, + "line": 135, "column": 15 } } @@ -6996,31 +6911,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 3092, - 3103 + 3701, + 3712 ], "loc": { "start": { - "line": 97, + "line": 135, "column": 16 }, "end": { - "line": 97, + "line": 135, "column": 27 } } }, "range": [ - 3088, - 3103 + 3697, + 3712 ], "loc": { "start": { - "line": 97, + "line": 135, "column": 12 }, "end": { - "line": 97, + "line": 135, "column": 27 } } @@ -7030,78 +6945,78 @@ "type": "Identifier", "name": "opt0", "range": [ - 3104, - 3108 + 3713, + 3717 ], "loc": { "start": { - "line": 97, + "line": 135, "column": 28 }, "end": { - "line": 97, + "line": 135, "column": 32 } } } ], "range": [ - 3088, - 3109 + 3697, + 3718 ], "loc": { "start": { - "line": 97, + "line": 135, "column": 12 }, "end": { - "line": 97, + "line": 135, "column": 33 } } }, "range": [ - 3088, - 3110 + 3697, + 3719 ], "loc": { "start": { - "line": 97, + "line": 135, "column": 12 }, "end": { - "line": 97, + "line": 135, "column": 34 } } } ], "range": [ - 2950, - 3120 + 3559, + 3729 ], "loc": { "start": { - "line": 94, + "line": 132, "column": 15 }, "end": { - "line": 98, + "line": 136, "column": 9 } } }, "range": [ - 2874, - 3120 + 3483, + 3729 ], "loc": { "start": { - "line": 92, + "line": 130, "column": 8 }, "end": { - "line": 98, + "line": 136, "column": 9 } } @@ -7114,16 +7029,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 3130, - 3136 + 3739, + 3745 ], "loc": { "start": { - "line": 100, + "line": 138, "column": 8 }, "end": { - "line": 100, + "line": 138, "column": 14 } } @@ -7133,16 +7048,16 @@ "type": "Identifier", "name": "slc", "range": [ - 3137, - 3140 + 3746, + 3749 ], "loc": { "start": { - "line": 100, + "line": 138, "column": 15 }, "end": { - "line": 100, + "line": 138, "column": 18 } } @@ -7152,16 +7067,16 @@ "value": "change", "raw": "'change'", "range": [ - 3142, - 3150 + 3751, + 3759 ], "loc": { "start": { - "line": 100, + "line": 138, "column": 20 }, "end": { - "line": 100, + "line": 138, "column": 28 } } @@ -7178,16 +7093,16 @@ "object": { "type": "ThisExpression", "range": [ - 3158, - 3162 + 3767, + 3771 ], "loc": { "start": { - "line": 100, + "line": 138, "column": 36 }, "end": { - "line": 100, + "line": 138, "column": 40 } } @@ -7196,47 +7111,47 @@ "type": "Identifier", "name": "onSlcChange", "range": [ - 3163, - 3174 + 3772, + 3783 ], "loc": { "start": { - "line": 100, + "line": 138, "column": 41 }, "end": { - "line": 100, + "line": 138, "column": 52 } } }, "range": [ - 3158, - 3174 + 3767, + 3783 ], "loc": { "start": { - "line": 100, + "line": 138, "column": 36 }, "end": { - "line": 100, + "line": 138, "column": 52 } } }, "arguments": [], "range": [ - 3158, - 3176 + 3767, + 3785 ], "loc": { "start": { - "line": 100, + "line": 138, "column": 36 }, "end": { - "line": 100, + "line": 138, "column": 54 } } @@ -7244,47 +7159,47 @@ "generator": false, "expression": true, "range": [ - 3152, - 3176 + 3761, + 3785 ], "loc": { "start": { - "line": 100, + "line": 138, "column": 30 }, "end": { - "line": 100, + "line": 138, "column": 54 } } } ], "range": [ - 3130, - 3177 + 3739, + 3786 ], "loc": { "start": { - "line": 100, + "line": 138, "column": 8 }, "end": { - "line": 100, + "line": 138, "column": 55 } } }, "range": [ - 3130, - 3178 + 3739, + 3787 ], "loc": { "start": { - "line": 100, + "line": 138, "column": 8 }, "end": { - "line": 100, + "line": 138, "column": 56 } } @@ -7297,16 +7212,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 3187, - 3193 + 3796, + 3802 ], "loc": { "start": { - "line": 101, + "line": 139, "column": 8 }, "end": { - "line": 101, + "line": 139, "column": 14 } } @@ -7316,16 +7231,16 @@ "type": "Identifier", "name": "slc", "range": [ - 3194, - 3197 + 3803, + 3806 ], "loc": { "start": { - "line": 101, + "line": 139, "column": 15 }, "end": { - "line": 101, + "line": 139, "column": 18 } } @@ -7335,16 +7250,16 @@ "value": "focus", "raw": "'focus'", "range": [ - 3199, - 3206 + 3808, + 3815 ], "loc": { "start": { - "line": 101, + "line": 139, "column": 20 }, "end": { - "line": 101, + "line": 139, "column": 27 } } @@ -7357,16 +7272,16 @@ "type": "Identifier", "name": "e", "range": [ - 3209, - 3210 + 3818, + 3819 ], "loc": { "start": { - "line": 101, + "line": 139, "column": 30 }, "end": { - "line": 101, + "line": 139, "column": 31 } } @@ -7380,16 +7295,16 @@ "object": { "type": "ThisExpression", "range": [ - 3215, - 3219 + 3824, + 3828 ], "loc": { "start": { - "line": 101, + "line": 139, "column": 36 }, "end": { - "line": 101, + "line": 139, "column": 40 } } @@ -7398,31 +7313,31 @@ "type": "Identifier", "name": "onSlcFocus", "range": [ - 3220, - 3230 + 3829, + 3839 ], "loc": { "start": { - "line": 101, + "line": 139, "column": 41 }, "end": { - "line": 101, + "line": 139, "column": 51 } } }, "range": [ - 3215, - 3230 + 3824, + 3839 ], "loc": { "start": { - "line": 101, + "line": 139, "column": 36 }, "end": { - "line": 101, + "line": 139, "column": 51 } } @@ -7432,32 +7347,32 @@ "type": "Identifier", "name": "e", "range": [ - 3231, - 3232 + 3840, + 3841 ], "loc": { "start": { - "line": 101, + "line": 139, "column": 52 }, "end": { - "line": 101, + "line": 139, "column": 53 } } } ], "range": [ - 3215, - 3233 + 3824, + 3842 ], "loc": { "start": { - "line": 101, + "line": 139, "column": 36 }, "end": { - "line": 101, + "line": 139, "column": 54 } } @@ -7465,47 +7380,47 @@ "generator": false, "expression": true, "range": [ - 3208, - 3233 + 3817, + 3842 ], "loc": { "start": { - "line": 101, + "line": 139, "column": 29 }, "end": { - "line": 101, + "line": 139, "column": 54 } } } ], "range": [ - 3187, - 3234 + 3796, + 3843 ], "loc": { "start": { - "line": 101, + "line": 139, "column": 8 }, "end": { - "line": 101, + "line": 139, "column": 55 } } }, "range": [ - 3187, - 3235 + 3796, + 3844 ], "loc": { "start": { - "line": 101, + "line": 139, "column": 8 }, "end": { - "line": 101, + "line": 139, "column": 56 } } @@ -7523,16 +7438,16 @@ "object": { "type": "ThisExpression", "range": [ - 3245, - 3249 + 3854, + 3858 ], "loc": { "start": { - "line": 103, + "line": 141, "column": 8 }, "end": { - "line": 103, + "line": 141, "column": 12 } } @@ -7541,31 +7456,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 3250, - 3257 + 3859, + 3866 ], "loc": { "start": { - "line": 103, + "line": 141, "column": 13 }, "end": { - "line": 103, + "line": 141, "column": 20 } } }, "range": [ - 3245, - 3257 + 3854, + 3866 ], "loc": { "start": { - "line": 103, + "line": 141, "column": 8 }, "end": { - "line": 103, + "line": 141, "column": 20 } } @@ -7574,31 +7489,31 @@ "type": "Identifier", "name": "on", "range": [ - 3258, - 3260 + 3867, + 3869 ], "loc": { "start": { - "line": 103, + "line": 141, "column": 21 }, "end": { - "line": 103, + "line": 141, "column": 23 } } }, "range": [ - 3245, - 3260 + 3854, + 3869 ], "loc": { "start": { - "line": 103, + "line": 141, "column": 8 }, "end": { - "line": 103, + "line": 141, "column": 23 } } @@ -7612,32 +7527,32 @@ "value": "build-select-filter", "raw": "'build-select-filter'", "range": [ - 3275, - 3296 + 3884, + 3905 ], "loc": { "start": { - "line": 104, + "line": 142, "column": 13 }, "end": { - "line": 104, + "line": 142, "column": 34 } } } ], "range": [ - 3274, - 3297 + 3883, + 3906 ], "loc": { "start": { - "line": 104, + "line": 142, "column": 12 }, "end": { - "line": 104, + "line": 142, "column": 35 } } @@ -7650,16 +7565,16 @@ "type": "Identifier", "name": "tf", "range": [ - 3312, - 3314 + 3921, + 3923 ], "loc": { "start": { - "line": 105, + "line": 143, "column": 13 }, "end": { - "line": 105, + "line": 143, "column": 15 } } @@ -7668,16 +7583,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 3316, - 3324 + 3925, + 3933 ], "loc": { "start": { - "line": 105, + "line": 143, "column": 17 }, "end": { - "line": 105, + "line": 143, "column": 25 } } @@ -7686,16 +7601,16 @@ "type": "Identifier", "name": "isLinked", "range": [ - 3326, - 3334 + 3935, + 3943 ], "loc": { "start": { - "line": 105, + "line": 143, "column": 27 }, "end": { - "line": 105, + "line": 143, "column": 35 } } @@ -7704,16 +7619,16 @@ "type": "Identifier", "name": "isExternal", "range": [ - 3336, - 3346 + 3945, + 3955 ], "loc": { "start": { - "line": 105, + "line": 143, "column": 37 }, "end": { - "line": 105, + "line": 143, "column": 47 } } @@ -7727,16 +7642,16 @@ "object": { "type": "ThisExpression", "range": [ - 3367, - 3371 + 3976, + 3980 ], "loc": { "start": { - "line": 106, + "line": 144, "column": 16 }, "end": { - "line": 106, + "line": 144, "column": 20 } } @@ -7745,31 +7660,31 @@ "type": "Identifier", "name": "build", "range": [ - 3372, - 3377 + 3981, + 3986 ], "loc": { "start": { - "line": 106, + "line": 144, "column": 21 }, "end": { - "line": 106, + "line": 144, "column": 26 } } }, "range": [ - 3367, - 3377 + 3976, + 3986 ], "loc": { "start": { - "line": 106, + "line": 144, "column": 16 }, "end": { - "line": 106, + "line": 144, "column": 26 } } @@ -7779,16 +7694,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 3378, - 3386 + 3987, + 3995 ], "loc": { "start": { - "line": 106, + "line": 144, "column": 27 }, "end": { - "line": 106, + "line": 144, "column": 35 } } @@ -7797,16 +7712,16 @@ "type": "Identifier", "name": "isLinked", "range": [ - 3388, - 3396 + 3997, + 4005 ], "loc": { "start": { - "line": 106, + "line": 144, "column": 37 }, "end": { - "line": 106, + "line": 144, "column": 45 } } @@ -7815,32 +7730,32 @@ "type": "Identifier", "name": "isExternal", "range": [ - 3398, - 3408 + 4007, + 4017 ], "loc": { "start": { - "line": 106, + "line": 144, "column": 47 }, "end": { - "line": 106, + "line": 144, "column": 57 } } } ], "range": [ - 3367, - 3409 + 3976, + 4018 ], "loc": { "start": { - "line": 106, + "line": 144, "column": 16 }, "end": { - "line": 106, + "line": 144, "column": 58 } } @@ -7848,47 +7763,47 @@ "generator": false, "expression": true, "range": [ - 3311, - 3409 + 3920, + 4018 ], "loc": { "start": { - "line": 105, + "line": 143, "column": 12 }, "end": { - "line": 106, + "line": 144, "column": 58 } } } ], "range": [ - 3245, - 3419 + 3854, + 4028 ], "loc": { "start": { - "line": 103, + "line": 141, "column": 8 }, "end": { - "line": 107, + "line": 145, "column": 9 } } }, "range": [ - 3245, - 3420 + 3854, + 4029 ], "loc": { "start": { - "line": 103, + "line": 141, "column": 8 }, "end": { - "line": 107, + "line": 145, "column": 10 } } @@ -7906,16 +7821,16 @@ "object": { "type": "ThisExpression", "range": [ - 3429, - 3433 + 4038, + 4042 ], "loc": { "start": { - "line": 108, + "line": 146, "column": 8 }, "end": { - "line": 108, + "line": 146, "column": 12 } } @@ -7924,31 +7839,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 3434, - 3441 + 4043, + 4050 ], "loc": { "start": { - "line": 108, + "line": 146, "column": 13 }, "end": { - "line": 108, + "line": 146, "column": 20 } } }, "range": [ - 3429, - 3441 + 4038, + 4050 ], "loc": { "start": { - "line": 108, + "line": 146, "column": 8 }, "end": { - "line": 108, + "line": 146, "column": 20 } } @@ -7957,31 +7872,31 @@ "type": "Identifier", "name": "on", "range": [ - 3442, - 3444 + 4051, + 4053 ], "loc": { "start": { - "line": 108, + "line": 146, "column": 21 }, "end": { - "line": 108, + "line": 146, "column": 23 } } }, "range": [ - 3429, - 3444 + 4038, + 4053 ], "loc": { "start": { - "line": 108, + "line": 146, "column": 8 }, "end": { - "line": 108, + "line": 146, "column": 23 } } @@ -7995,32 +7910,32 @@ "value": "select-options", "raw": "'select-options'", "range": [ - 3459, - 3475 + 4068, + 4084 ], "loc": { "start": { - "line": 109, + "line": 147, "column": 13 }, "end": { - "line": 109, + "line": 147, "column": 29 } } } ], "range": [ - 3458, - 3476 + 4067, + 4085 ], "loc": { "start": { - "line": 109, + "line": 147, "column": 12 }, "end": { - "line": 109, + "line": 147, "column": 30 } } @@ -8033,16 +7948,16 @@ "type": "Identifier", "name": "tf", "range": [ - 3491, - 3493 + 4100, + 4102 ], "loc": { "start": { - "line": 110, + "line": 148, "column": 13 }, "end": { - "line": 110, + "line": 148, "column": 15 } } @@ -8051,16 +7966,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 3495, - 3503 + 4104, + 4112 ], "loc": { "start": { - "line": 110, + "line": 148, "column": 17 }, "end": { - "line": 110, + "line": 148, "column": 25 } } @@ -8069,16 +7984,16 @@ "type": "Identifier", "name": "values", "range": [ - 3505, - 3511 + 4114, + 4120 ], "loc": { "start": { - "line": 110, + "line": 148, "column": 27 }, "end": { - "line": 110, + "line": 148, "column": 33 } } @@ -8092,16 +8007,16 @@ "object": { "type": "ThisExpression", "range": [ - 3516, - 3520 + 4125, + 4129 ], "loc": { "start": { - "line": 110, + "line": 148, "column": 38 }, "end": { - "line": 110, + "line": 148, "column": 42 } } @@ -8110,31 +8025,31 @@ "type": "Identifier", "name": "selectOptions", "range": [ - 3521, - 3534 + 4130, + 4143 ], "loc": { "start": { - "line": 110, + "line": 148, "column": 43 }, "end": { - "line": 110, + "line": 148, "column": 56 } } }, "range": [ - 3516, - 3534 + 4125, + 4143 ], "loc": { "start": { - "line": 110, + "line": 148, "column": 38 }, "end": { - "line": 110, + "line": 148, "column": 56 } } @@ -8144,16 +8059,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 3535, - 3543 + 4144, + 4152 ], "loc": { "start": { - "line": 110, + "line": 148, "column": 57 }, "end": { - "line": 110, + "line": 148, "column": 65 } } @@ -8162,32 +8077,32 @@ "type": "Identifier", "name": "values", "range": [ - 3545, - 3551 + 4154, + 4160 ], "loc": { "start": { - "line": 110, + "line": 148, "column": 67 }, "end": { - "line": 110, + "line": 148, "column": 73 } } } ], "range": [ - 3516, - 3552 + 4125, + 4161 ], "loc": { "start": { - "line": 110, + "line": 148, "column": 38 }, "end": { - "line": 110, + "line": 148, "column": 74 } } @@ -8195,47 +8110,47 @@ "generator": false, "expression": true, "range": [ - 3490, - 3552 + 4099, + 4161 ], "loc": { "start": { - "line": 110, + "line": 148, "column": 12 }, "end": { - "line": 110, + "line": 148, "column": 74 } } } ], "range": [ - 3429, - 3562 + 4038, + 4171 ], "loc": { "start": { - "line": 108, + "line": 146, "column": 8 }, "end": { - "line": 111, + "line": 149, "column": 9 } } }, "range": [ - 3429, - 3563 + 4038, + 4172 ], "loc": { "start": { - "line": 108, + "line": 146, "column": 8 }, "end": { - "line": 111, + "line": 149, "column": 10 } } @@ -8251,16 +8166,16 @@ "object": { "type": "ThisExpression", "range": [ - 3573, - 3577 + 4182, + 4186 ], "loc": { "start": { - "line": 113, + "line": 151, "column": 8 }, "end": { - "line": 113, + "line": 151, "column": 12 } } @@ -8269,31 +8184,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 3578, - 3589 + 4187, + 4198 ], "loc": { "start": { - "line": 113, + "line": 151, "column": 13 }, "end": { - "line": 113, + "line": 151, "column": 24 } } }, "range": [ - 3573, - 3589 + 4182, + 4198 ], "loc": { "start": { - "line": 113, + "line": 151, "column": 8 }, "end": { - "line": 113, + "line": 151, "column": 24 } } @@ -8303,62 +8218,62 @@ "value": true, "raw": "true", "range": [ - 3592, - 3596 + 4201, + 4205 ], "loc": { "start": { - "line": 113, + "line": 151, "column": 27 }, "end": { - "line": 113, + "line": 151, "column": 31 } } }, "range": [ - 3573, - 3596 + 4182, + 4205 ], "loc": { "start": { - "line": 113, + "line": 151, "column": 8 }, "end": { - "line": 113, + "line": 151, "column": 31 } } }, "range": [ - 3573, - 3597 + 4182, + 4206 ], "loc": { "start": { - "line": 113, + "line": 151, "column": 8 }, "end": { - "line": 113, + "line": 151, "column": 32 } } } ], "range": [ - 2035, - 3603 + 2644, + 4212 ], "loc": { "start": { - "line": 64, + "line": 102, "column": 42 }, "end": { - "line": 114, + "line": 152, "column": 5 } } @@ -8366,16 +8281,16 @@ "generator": false, "expression": false, "range": [ - 2001, - 3603 + 2610, + 4212 ], "loc": { "start": { - "line": 64, + "line": 102, "column": 8 }, "end": { - "line": 114, + "line": 152, "column": 5 } } @@ -8383,16 +8298,16 @@ "kind": "method", "computed": false, "range": [ - 1997, - 3603 + 2606, + 4212 ], "loc": { "start": { - "line": 64, + "line": 102, "column": 4 }, "end": { - "line": 114, + "line": 152, "column": 5 } }, @@ -8401,16 +8316,16 @@ "type": "Block", "value": "*\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 ", "range": [ - 1761, - 1992 + 2370, + 2601 ], "loc": { "start": { - "line": 58, + "line": 96, "column": 4 }, "end": { - "line": 63, + "line": 101, "column": 7 } } @@ -8421,16 +8336,16 @@ "type": "Block", "value": "*\n * Build drop-down filter UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked refresh behaviour\n ", "range": [ - 3609, - 3772 + 4218, + 4381 ], "loc": { "start": { - "line": 116, + "line": 154, "column": 4 }, "end": { - "line": 120, + "line": 158, "column": 7 } } @@ -8444,16 +8359,16 @@ "type": "Identifier", "name": "build", "range": [ - 3777, - 3782 + 4386, + 4391 ], "loc": { "start": { - "line": 121, + "line": 159, "column": 4 }, "end": { - "line": 121, + "line": 159, "column": 9 } } @@ -8466,16 +8381,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 3783, - 3791 + 4392, + 4400 ], "loc": { "start": { - "line": 121, + "line": 159, "column": 10 }, "end": { - "line": 121, + "line": 159, "column": 18 } } @@ -8486,16 +8401,16 @@ "type": "Identifier", "name": "isLinked", "range": [ - 3793, - 3801 + 4402, + 4410 ], "loc": { "start": { - "line": 121, + "line": 159, "column": 20 }, "end": { - "line": 121, + "line": 159, "column": 28 } } @@ -8505,31 +8420,31 @@ "value": false, "raw": "false", "range": [ - 3804, - 3809 + 4413, + 4418 ], "loc": { "start": { - "line": 121, + "line": 159, "column": 31 }, "end": { - "line": 121, + "line": 159, "column": 36 } } }, "range": [ - 3793, - 3809 + 4402, + 4418 ], "loc": { "start": { - "line": 121, + "line": 159, "column": 20 }, "end": { - "line": 121, + "line": 159, "column": 36 } } @@ -8547,16 +8462,16 @@ "type": "Identifier", "name": "tf", "range": [ - 3825, - 3827 + 4434, + 4436 ], "loc": { "start": { - "line": 122, + "line": 160, "column": 12 }, "end": { - "line": 122, + "line": 160, "column": 14 } } @@ -8567,16 +8482,16 @@ "object": { "type": "ThisExpression", "range": [ - 3830, - 3834 + 4439, + 4443 ], "loc": { "start": { - "line": 122, + "line": 160, "column": 17 }, "end": { - "line": 122, + "line": 160, "column": 21 } } @@ -8585,46 +8500,46 @@ "type": "Identifier", "name": "tf", "range": [ - 3835, - 3837 + 4444, + 4446 ], "loc": { "start": { - "line": 122, + "line": 160, "column": 22 }, "end": { - "line": 122, + "line": 160, "column": 24 } } }, "range": [ - 3830, - 3837 + 4439, + 4446 ], "loc": { "start": { - "line": 122, + "line": 160, "column": 17 }, "end": { - "line": 122, + "line": 160, "column": 24 } } }, "range": [ - 3825, - 3837 + 4434, + 4446 ], "loc": { "start": { - "line": 122, + "line": 160, "column": 12 }, "end": { - "line": 122, + "line": 160, "column": 24 } } @@ -8632,16 +8547,16 @@ ], "kind": "let", "range": [ - 3821, - 3838 + 4430, + 4447 ], "loc": { "start": { - "line": 122, + "line": 160, "column": 8 }, "end": { - "line": 122, + "line": 160, "column": 25 } } @@ -8655,16 +8570,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 3847, - 3855 + 4456, + 4464 ], "loc": { "start": { - "line": 123, + "line": 161, "column": 8 }, "end": { - "line": 123, + "line": 161, "column": 16 } } @@ -8675,16 +8590,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 3858, - 3866 + 4467, + 4475 ], "loc": { "start": { - "line": 123, + "line": 161, "column": 19 }, "end": { - "line": 123, + "line": 161, "column": 27 } } @@ -8694,16 +8609,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 3867, - 3875 + 4476, + 4484 ], "loc": { "start": { - "line": 123, + "line": 161, "column": 28 }, "end": { - "line": 123, + "line": 161, "column": 36 } } @@ -8713,62 +8628,62 @@ "value": 10, "raw": "10", "range": [ - 3877, - 3879 + 4486, + 4488 ], "loc": { "start": { - "line": 123, + "line": 161, "column": 38 }, "end": { - "line": 123, + "line": 161, "column": 40 } } } ], "range": [ - 3858, - 3880 + 4467, + 4489 ], "loc": { "start": { - "line": 123, + "line": 161, "column": 19 }, "end": { - "line": 123, + "line": 161, "column": 41 } } }, "range": [ - 3847, - 3880 + 4456, + 4489 ], "loc": { "start": { - "line": 123, + "line": 161, "column": 8 }, "end": { - "line": 123, + "line": 161, "column": 41 } } }, "range": [ - 3847, - 3881 + 4456, + 4490 ], "loc": { "start": { - "line": 123, + "line": 161, "column": 8 }, "end": { - "line": 123, + "line": 161, "column": 42 } } @@ -8786,16 +8701,16 @@ "object": { "type": "ThisExpression", "range": [ - 3891, - 3895 + 4500, + 4504 ], "loc": { "start": { - "line": 125, + "line": 163, "column": 8 }, "end": { - "line": 125, + "line": 163, "column": 12 } } @@ -8804,31 +8719,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 3896, - 3903 + 4505, + 4512 ], "loc": { "start": { - "line": 125, + "line": 163, "column": 13 }, "end": { - "line": 125, + "line": 163, "column": 20 } } }, "range": [ - 3891, - 3903 + 4500, + 4512 ], "loc": { "start": { - "line": 125, + "line": 163, "column": 8 }, "end": { - "line": 125, + "line": 163, "column": 20 } } @@ -8837,31 +8752,31 @@ "type": "Identifier", "name": "emit", "range": [ - 3904, - 3908 + 4513, + 4517 ], "loc": { "start": { - "line": 125, + "line": 163, "column": 21 }, "end": { - "line": 125, + "line": 163, "column": 25 } } }, "range": [ - 3891, - 3908 + 4500, + 4517 ], "loc": { "start": { - "line": 125, + "line": 163, "column": 8 }, "end": { - "line": 125, + "line": 163, "column": 25 } } @@ -8872,16 +8787,16 @@ "value": "before-populating-filter", "raw": "'before-populating-filter'", "range": [ - 3909, - 3935 + 4518, + 4544 ], "loc": { "start": { - "line": 125, + "line": 163, "column": 26 }, "end": { - "line": 125, + "line": 163, "column": 52 } } @@ -8890,16 +8805,16 @@ "type": "Identifier", "name": "tf", "range": [ - 3937, - 3939 + 4546, + 4548 ], "loc": { "start": { - "line": 125, + "line": 163, "column": 54 }, "end": { - "line": 125, + "line": 163, "column": 56 } } @@ -8908,47 +8823,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 3941, - 3949 + 4550, + 4558 ], "loc": { "start": { - "line": 125, + "line": 163, "column": 58 }, "end": { - "line": 125, + "line": 163, "column": 66 } } } ], "range": [ - 3891, - 3950 + 4500, + 4559 ], "loc": { "start": { - "line": 125, + "line": 163, "column": 8 }, "end": { - "line": 125, + "line": 163, "column": 67 } } }, "range": [ - 3891, - 3951 + 4500, + 4560 ], "loc": { "start": { - "line": 125, + "line": 163, "column": 8 }, "end": { - "line": 125, + "line": 163, "column": 68 } } @@ -8964,16 +8879,16 @@ "object": { "type": "ThisExpression", "range": [ - 3961, - 3965 + 4570, + 4574 ], "loc": { "start": { - "line": 127, + "line": 165, "column": 8 }, "end": { - "line": 127, + "line": 165, "column": 12 } } @@ -8982,31 +8897,31 @@ "type": "Identifier", "name": "opts", "range": [ - 3966, - 3970 + 4575, + 4579 ], "loc": { "start": { - "line": 127, + "line": 165, "column": 13 }, "end": { - "line": 127, + "line": 165, "column": 17 } } }, "range": [ - 3961, - 3970 + 4570, + 4579 ], "loc": { "start": { - "line": 127, + "line": 165, "column": 8 }, "end": { - "line": 127, + "line": 165, "column": 17 } } @@ -9015,46 +8930,46 @@ "type": "ArrayExpression", "elements": [], "range": [ - 3973, - 3975 + 4582, + 4584 ], "loc": { "start": { - "line": 127, + "line": 165, "column": 20 }, "end": { - "line": 127, + "line": 165, "column": 22 } } }, "range": [ - 3961, - 3975 + 4570, + 4584 ], "loc": { "start": { - "line": 127, + "line": 165, "column": 8 }, "end": { - "line": 127, + "line": 165, "column": 22 } } }, "range": [ - 3961, - 3976 + 4570, + 4585 ], "loc": { "start": { - "line": 127, + "line": 165, "column": 8 }, "end": { - "line": 127, + "line": 165, "column": 23 } } @@ -9070,16 +8985,16 @@ "object": { "type": "ThisExpression", "range": [ - 3985, - 3989 + 4594, + 4598 ], "loc": { "start": { - "line": 128, + "line": 166, "column": 8 }, "end": { - "line": 128, + "line": 166, "column": 12 } } @@ -9088,31 +9003,31 @@ "type": "Identifier", "name": "optsTxt", "range": [ - 3990, - 3997 + 4599, + 4606 ], "loc": { "start": { - "line": 128, + "line": 166, "column": 13 }, "end": { - "line": 128, + "line": 166, "column": 20 } } }, "range": [ - 3985, - 3997 + 4594, + 4606 ], "loc": { "start": { - "line": 128, + "line": 166, "column": 8 }, "end": { - "line": 128, + "line": 166, "column": 20 } } @@ -9121,157 +9036,50 @@ "type": "ArrayExpression", "elements": [], "range": [ - 4000, - 4002 + 4609, + 4611 ], "loc": { "start": { - "line": 128, + "line": 166, "column": 23 }, "end": { - "line": 128, + "line": 166, "column": 25 } } }, "range": [ - 3985, - 4002 + 4594, + 4611 ], "loc": { "start": { - "line": 128, + "line": 166, "column": 8 }, "end": { - "line": 128, + "line": 166, "column": 25 } } }, "range": [ - 3985, - 4003 + 4594, + 4612 ], "loc": { "start": { - "line": 128, + "line": 166, "column": 8 }, "end": { - "line": 128, + "line": 166, "column": 26 } } }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 4012, - 4016 - ], - "loc": { - "start": { - "line": 129, - "column": 8 - }, - "end": { - "line": 129, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "slcInnerHtml", - "range": [ - 4017, - 4029 - ], - "loc": { - "start": { - "line": 129, - "column": 13 - }, - "end": { - "line": 129, - "column": 25 - } - } - }, - "range": [ - 4012, - 4029 - ], - "loc": { - "start": { - "line": 129, - "column": 8 - }, - "end": { - "line": 129, - "column": 25 - } - } - }, - "right": { - "type": "Literal", - "value": "", - "raw": "''", - "range": [ - 4032, - 4034 - ], - "loc": { - "start": { - "line": 129, - "column": 28 - }, - "end": { - "line": 129, - "column": 30 - } - } - }, - "range": [ - 4012, - 4034 - ], - "loc": { - "start": { - "line": 129, - "column": 8 - }, - "end": { - "line": 129, - "column": 30 - } - } - }, - "range": [ - 4012, - 4035 - ], - "loc": { - "start": { - "line": 129, - "column": 8 - }, - "end": { - "line": 129, - "column": 31 - } - } - }, { "type": "VariableDeclaration", "declarations": [ @@ -9281,16 +9089,16 @@ "type": "Identifier", "name": "slcId", "range": [ - 4049, - 4054 + 4626, + 4631 ], "loc": { "start": { - "line": 131, + "line": 168, "column": 12 }, "end": { - "line": 131, + "line": 168, "column": 17 } } @@ -9305,16 +9113,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4057, - 4059 + 4634, + 4636 ], "loc": { "start": { - "line": 131, + "line": 168, "column": 20 }, "end": { - "line": 131, + "line": 168, "column": 22 } } @@ -9323,31 +9131,31 @@ "type": "Identifier", "name": "fltIds", "range": [ - 4060, - 4066 + 4637, + 4643 ], "loc": { "start": { - "line": 131, + "line": 168, "column": 23 }, "end": { - "line": 131, + "line": 168, "column": 29 } } }, "range": [ - 4057, - 4066 + 4634, + 4643 ], "loc": { "start": { - "line": 131, + "line": 168, "column": 20 }, "end": { - "line": 131, + "line": 168, "column": 29 } } @@ -9356,46 +9164,46 @@ "type": "Identifier", "name": "colIndex", "range": [ - 4067, - 4075 + 4644, + 4652 ], "loc": { "start": { - "line": 131, + "line": 168, "column": 30 }, "end": { - "line": 131, + "line": 168, "column": 38 } } }, "range": [ - 4057, - 4076 + 4634, + 4653 ], "loc": { "start": { - "line": 131, + "line": 168, "column": 20 }, "end": { - "line": 131, + "line": 168, "column": 39 } } }, "range": [ - 4049, - 4076 + 4626, + 4653 ], "loc": { "start": { - "line": 131, + "line": 168, "column": 12 }, "end": { - "line": 131, + "line": 168, "column": 39 } } @@ -9403,16 +9211,16 @@ ], "kind": "let", "range": [ - 4045, - 4077 + 4622, + 4654 ], "loc": { "start": { - "line": 131, + "line": 168, "column": 8 }, "end": { - "line": 131, + "line": 168, "column": 40 } } @@ -9426,16 +9234,16 @@ "type": "Identifier", "name": "slc", "range": [ - 4090, - 4093 + 4667, + 4670 ], "loc": { "start": { - "line": 132, + "line": 169, "column": 12 }, "end": { - "line": 132, + "line": 169, "column": 15 } } @@ -9446,16 +9254,16 @@ "type": "Identifier", "name": "elm", "range": [ - 4096, - 4099 + 4673, + 4676 ], "loc": { "start": { - "line": 132, + "line": 169, "column": 18 }, "end": { - "line": 132, + "line": 169, "column": 21 } } @@ -9465,47 +9273,47 @@ "type": "Identifier", "name": "slcId", "range": [ - 4100, - 4105 + 4677, + 4682 ], "loc": { "start": { - "line": 132, + "line": 169, "column": 22 }, "end": { - "line": 132, + "line": 169, "column": 27 } } } ], "range": [ - 4096, - 4106 + 4673, + 4683 ], "loc": { "start": { - "line": 132, + "line": 169, "column": 18 }, "end": { - "line": 132, + "line": 169, "column": 28 } } }, "range": [ - 4090, - 4106 + 4667, + 4683 ], "loc": { "start": { - "line": 132, + "line": 169, "column": 12 }, "end": { - "line": 132, + "line": 169, "column": 28 } } @@ -9513,16 +9321,16 @@ ], "kind": "let", "range": [ - 4086, - 4107 + 4663, + 4684 ], "loc": { "start": { - "line": 132, + "line": 169, "column": 8 }, "end": { - "line": 132, + "line": 169, "column": 29 } } @@ -9536,16 +9344,16 @@ "type": "Identifier", "name": "rows", "range": [ - 4120, - 4124 + 4697, + 4701 ], "loc": { "start": { - "line": 133, + "line": 170, "column": 12 }, "end": { - "line": 133, + "line": 170, "column": 16 } } @@ -9560,16 +9368,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4127, - 4129 + 4704, + 4706 ], "loc": { "start": { - "line": 133, + "line": 170, "column": 19 }, "end": { - "line": 133, + "line": 170, "column": 21 } } @@ -9578,31 +9386,31 @@ "type": "Identifier", "name": "tbl", "range": [ - 4130, - 4133 + 4707, + 4710 ], "loc": { "start": { - "line": 133, + "line": 170, "column": 22 }, "end": { - "line": 133, + "line": 170, "column": 25 } } }, "range": [ - 4127, - 4133 + 4704, + 4710 ], "loc": { "start": { - "line": 133, + "line": 170, "column": 19 }, "end": { - "line": 133, + "line": 170, "column": 25 } } @@ -9611,46 +9419,46 @@ "type": "Identifier", "name": "rows", "range": [ - 4134, - 4138 + 4711, + 4715 ], "loc": { "start": { - "line": 133, + "line": 170, "column": 26 }, "end": { - "line": 133, + "line": 170, "column": 30 } } }, "range": [ - 4127, - 4138 + 4704, + 4715 ], "loc": { "start": { - "line": 133, + "line": 170, "column": 19 }, "end": { - "line": 133, + "line": 170, "column": 30 } } }, "range": [ - 4120, - 4138 + 4697, + 4715 ], "loc": { "start": { - "line": 133, + "line": 170, "column": 12 }, "end": { - "line": 133, + "line": 170, "column": 30 } } @@ -9658,16 +9466,16 @@ ], "kind": "let", "range": [ - 4116, - 4139 + 4693, + 4716 ], "loc": { "start": { - "line": 133, + "line": 170, "column": 8 }, "end": { - "line": 133, + "line": 170, "column": 31 } } @@ -9681,16 +9489,16 @@ "type": "Identifier", "name": "nbRows", "range": [ - 4152, - 4158 + 4729, + 4735 ], "loc": { "start": { - "line": 134, + "line": 171, "column": 12 }, "end": { - "line": 134, + "line": 171, "column": 18 } } @@ -9704,16 +9512,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4161, - 4163 + 4738, + 4740 ], "loc": { "start": { - "line": 134, + "line": 171, "column": 21 }, "end": { - "line": 134, + "line": 171, "column": 23 } } @@ -9722,31 +9530,31 @@ "type": "Identifier", "name": "getRowsNb", "range": [ - 4164, - 4173 + 4741, + 4750 ], "loc": { "start": { - "line": 134, + "line": 171, "column": 24 }, "end": { - "line": 134, + "line": 171, "column": 33 } } }, "range": [ - 4161, - 4173 + 4738, + 4750 ], "loc": { "start": { - "line": 134, + "line": 171, "column": 21 }, "end": { - "line": 134, + "line": 171, "column": 33 } } @@ -9757,47 +9565,47 @@ "value": true, "raw": "true", "range": [ - 4174, - 4178 + 4751, + 4755 ], "loc": { "start": { - "line": 134, + "line": 171, "column": 34 }, "end": { - "line": 134, + "line": 171, "column": 38 } } } ], "range": [ - 4161, - 4179 + 4738, + 4756 ], "loc": { "start": { - "line": 134, + "line": 171, "column": 21 }, "end": { - "line": 134, + "line": 171, "column": 39 } } }, "range": [ - 4152, - 4179 + 4729, + 4756 ], "loc": { "start": { - "line": 134, + "line": 171, "column": 12 }, "end": { - "line": 134, + "line": 171, "column": 39 } } @@ -9805,16 +9613,16 @@ ], "kind": "let", "range": [ - 4148, - 4180 + 4725, + 4757 ], "loc": { "start": { - "line": 134, + "line": 171, "column": 8 }, "end": { - "line": 134, + "line": 171, "column": 40 } }, @@ -9823,16 +9631,16 @@ "type": "Line", "value": "custom select test", "range": [ - 4190, - 4210 + 4767, + 4787 ], "loc": { "start": { - "line": 136, + "line": 173, "column": 8 }, "end": { - "line": 136, + "line": 173, "column": 28 } } @@ -9850,16 +9658,16 @@ "object": { "type": "ThisExpression", "range": [ - 4219, - 4223 + 4796, + 4800 ], "loc": { "start": { - "line": 137, + "line": 174, "column": 8 }, "end": { - "line": 137, + "line": 174, "column": 12 } } @@ -9868,31 +9676,31 @@ "type": "Identifier", "name": "isCustom", "range": [ - 4224, - 4232 + 4801, + 4809 ], "loc": { "start": { - "line": 137, + "line": 174, "column": 13 }, "end": { - "line": 137, + "line": 174, "column": 21 } } }, "range": [ - 4219, - 4232 + 4796, + 4809 ], "loc": { "start": { - "line": 137, + "line": 174, "column": 8 }, "end": { - "line": 137, + "line": 174, "column": 21 } } @@ -9906,16 +9714,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4235, - 4237 + 4812, + 4814 ], "loc": { "start": { - "line": 137, + "line": 174, "column": 24 }, "end": { - "line": 137, + "line": 174, "column": 26 } } @@ -9924,31 +9732,31 @@ "type": "Identifier", "name": "isCustomOptions", "range": [ - 4238, - 4253 + 4815, + 4830 ], "loc": { "start": { - "line": 137, + "line": 174, "column": 27 }, "end": { - "line": 137, + "line": 174, "column": 42 } } }, "range": [ - 4235, - 4253 + 4812, + 4830 ], "loc": { "start": { - "line": 137, + "line": 174, "column": 24 }, "end": { - "line": 137, + "line": 174, "column": 42 } } @@ -9958,62 +9766,62 @@ "type": "Identifier", "name": "colIndex", "range": [ - 4254, - 4262 + 4831, + 4839 ], "loc": { "start": { - "line": 137, + "line": 174, "column": 43 }, "end": { - "line": 137, + "line": 174, "column": 51 } } } ], "range": [ - 4235, - 4263 + 4812, + 4840 ], "loc": { "start": { - "line": 137, + "line": 174, "column": 24 }, "end": { - "line": 137, + "line": 174, "column": 52 } } }, "range": [ - 4219, - 4263 + 4796, + 4840 ], "loc": { "start": { - "line": 137, + "line": 174, "column": 8 }, "end": { - "line": 137, + "line": 174, "column": 52 } } }, "range": [ - 4219, - 4264 + 4796, + 4841 ], "loc": { "start": { - "line": 137, + "line": 174, "column": 8 }, "end": { - "line": 137, + "line": 174, "column": 53 } }, @@ -10022,16 +9830,16 @@ "type": "Line", "value": "custom select test", "range": [ - 4190, - 4210 + 4767, + 4787 ], "loc": { "start": { - "line": 136, + "line": 173, "column": 8 }, "end": { - "line": 136, + "line": 173, "column": 28 } } @@ -10042,16 +9850,16 @@ "type": "Line", "value": "custom selects text", "range": [ - 4274, - 4295 + 4851, + 4872 ], "loc": { "start": { - "line": 139, + "line": 176, "column": 8 }, "end": { - "line": 139, + "line": 176, "column": 29 } } @@ -10067,32 +9875,32 @@ "type": "Identifier", "name": "activeIdx", "range": [ - 4308, - 4317 + 4885, + 4894 ], "loc": { "start": { - "line": 140, + "line": 177, "column": 12 }, "end": { - "line": 140, + "line": 177, "column": 21 } } }, "init": null, "range": [ - 4308, - 4317 + 4885, + 4894 ], "loc": { "start": { - "line": 140, + "line": 177, "column": 12 }, "end": { - "line": 140, + "line": 177, "column": 21 } } @@ -10100,16 +9908,16 @@ ], "kind": "let", "range": [ - 4304, - 4318 + 4881, + 4895 ], "loc": { "start": { - "line": 140, + "line": 177, "column": 8 }, "end": { - "line": 140, + "line": 177, "column": 22 } }, @@ -10118,16 +9926,16 @@ "type": "Line", "value": "custom selects text", "range": [ - 4274, - 4295 + 4851, + 4872 ], "loc": { "start": { - "line": 139, + "line": 176, "column": 8 }, "end": { - "line": 139, + "line": 176, "column": 29 } } @@ -10143,16 +9951,16 @@ "type": "Identifier", "name": "activeFilterId", "range": [ - 4331, - 4345 + 4908, + 4922 ], "loc": { "start": { - "line": 141, + "line": 178, "column": 12 }, "end": { - "line": 141, + "line": 178, "column": 26 } } @@ -10166,16 +9974,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4348, - 4350 + 4925, + 4927 ], "loc": { "start": { - "line": 141, + "line": 178, "column": 29 }, "end": { - "line": 141, + "line": 178, "column": 31 } } @@ -10184,62 +9992,62 @@ "type": "Identifier", "name": "getActiveFilterId", "range": [ - 4351, - 4368 + 4928, + 4945 ], "loc": { "start": { - "line": 141, + "line": 178, "column": 32 }, "end": { - "line": 141, + "line": 178, "column": 49 } } }, "range": [ - 4348, - 4368 + 4925, + 4945 ], "loc": { "start": { - "line": 141, + "line": 178, "column": 29 }, "end": { - "line": 141, + "line": 178, "column": 49 } } }, "arguments": [], "range": [ - 4348, - 4370 + 4925, + 4947 ], "loc": { "start": { - "line": 141, + "line": 178, "column": 29 }, "end": { - "line": 141, + "line": 178, "column": 51 } } }, "range": [ - 4331, - 4370 + 4908, + 4947 ], "loc": { "start": { - "line": 141, + "line": 178, "column": 12 }, "end": { - "line": 141, + "line": 178, "column": 51 } } @@ -10247,16 +10055,16 @@ ], "kind": "let", "range": [ - 4327, - 4371 + 4904, + 4948 ], "loc": { "start": { - "line": 141, + "line": 178, "column": 8 }, "end": { - "line": 141, + "line": 178, "column": 52 } } @@ -10270,16 +10078,16 @@ "type": "Identifier", "name": "isLinked", "range": [ - 4384, - 4392 + 4961, + 4969 ], "loc": { "start": { - "line": 142, + "line": 179, "column": 12 }, "end": { - "line": 142, + "line": 179, "column": 20 } } @@ -10288,31 +10096,31 @@ "type": "Identifier", "name": "activeFilterId", "range": [ - 4396, - 4410 + 4973, + 4987 ], "loc": { "start": { - "line": 142, + "line": 179, "column": 24 }, "end": { - "line": 142, + "line": 179, "column": 38 } } }, "range": [ - 4384, - 4410 + 4961, + 4987 ], "loc": { "start": { - "line": 142, + "line": 179, "column": 12 }, "end": { - "line": 142, + "line": 179, "column": 38 } } @@ -10329,16 +10137,16 @@ "type": "Identifier", "name": "activeIdx", "range": [ - 4426, - 4435 + 5003, + 5012 ], "loc": { "start": { - "line": 143, + "line": 180, "column": 12 }, "end": { - "line": 143, + "line": 180, "column": 21 } } @@ -10352,16 +10160,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4438, - 4440 + 5015, + 5017 ], "loc": { "start": { - "line": 143, + "line": 180, "column": 24 }, "end": { - "line": 143, + "line": 180, "column": 26 } } @@ -10370,31 +10178,31 @@ "type": "Identifier", "name": "getColumnIndexFromFilterId", "range": [ - 4441, - 4467 + 5018, + 5044 ], "loc": { "start": { - "line": 143, + "line": 180, "column": 27 }, "end": { - "line": 143, + "line": 180, "column": 53 } } }, "range": [ - 4438, - 4467 + 5015, + 5044 ], "loc": { "start": { - "line": 143, + "line": 180, "column": 24 }, "end": { - "line": 143, + "line": 180, "column": 53 } } @@ -10404,94 +10212,94 @@ "type": "Identifier", "name": "activeFilterId", "range": [ - 4468, - 4482 + 5045, + 5059 ], "loc": { "start": { - "line": 143, + "line": 180, "column": 54 }, "end": { - "line": 143, + "line": 180, "column": 68 } } } ], "range": [ - 4438, - 4483 + 5015, + 5060 ], "loc": { "start": { - "line": 143, + "line": 180, "column": 24 }, "end": { - "line": 143, + "line": 180, "column": 69 } } }, "range": [ - 4426, - 4483 + 5003, + 5060 ], "loc": { "start": { - "line": 143, + "line": 180, "column": 12 }, "end": { - "line": 143, + "line": 180, "column": 69 } } }, "range": [ - 4426, - 4484 + 5003, + 5061 ], "loc": { "start": { - "line": 143, + "line": 180, "column": 12 }, "end": { - "line": 143, + "line": 180, "column": 70 } } } ], "range": [ - 4412, - 4494 + 4989, + 5071 ], "loc": { "start": { - "line": 142, + "line": 179, "column": 40 }, "end": { - "line": 144, + "line": 181, "column": 9 } } }, "alternate": null, "range": [ - 4380, - 4494 + 4957, + 5071 ], "loc": { "start": { - "line": 142, + "line": 179, "column": 8 }, "end": { - "line": 144, + "line": 181, "column": 9 } } @@ -10505,16 +10313,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 4508, - 4520 + 5085, + 5097 ], "loc": { "start": { - "line": 146, + "line": 183, "column": 12 }, "end": { - "line": 146, + "line": 183, "column": 24 } } @@ -10524,31 +10332,31 @@ "value": null, "raw": "null", "range": [ - 4523, - 4527 + 5100, + 5104 ], "loc": { "start": { - "line": 146, + "line": 183, "column": 27 }, "end": { - "line": 146, + "line": 183, "column": 31 } } }, "range": [ - 4508, - 4527 + 5085, + 5104 ], "loc": { "start": { - "line": 146, + "line": 183, "column": 12 }, "end": { - "line": 146, + "line": 183, "column": 31 } } @@ -10559,16 +10367,16 @@ "type": "Identifier", "name": "filteredDataCol", "range": [ - 4541, - 4556 + 5118, + 5133 ], "loc": { "start": { - "line": 147, + "line": 184, "column": 12 }, "end": { - "line": 147, + "line": 184, "column": 27 } } @@ -10578,31 +10386,31 @@ "value": null, "raw": "null", "range": [ - 4559, - 4563 + 5136, + 5140 ], "loc": { "start": { - "line": 147, + "line": 184, "column": 30 }, "end": { - "line": 147, + "line": 184, "column": 34 } } }, "range": [ - 4541, - 4563 + 5118, + 5140 ], "loc": { "start": { - "line": 147, + "line": 184, "column": 12 }, "end": { - "line": 147, + "line": 184, "column": 34 } } @@ -10610,16 +10418,16 @@ ], "kind": "let", "range": [ - 4504, - 4564 + 5081, + 5141 ], "loc": { "start": { - "line": 146, + "line": 183, "column": 8 }, "end": { - "line": 147, + "line": 184, "column": 35 } } @@ -10633,16 +10441,16 @@ "type": "Identifier", "name": "isLinked", "range": [ - 4577, - 4585 + 5154, + 5162 ], "loc": { "start": { - "line": 148, + "line": 185, "column": 12 }, "end": { - "line": 148, + "line": 185, "column": 20 } } @@ -10654,16 +10462,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4589, - 4591 + 5166, + 5168 ], "loc": { "start": { - "line": 148, + "line": 185, "column": 24 }, "end": { - "line": 148, + "line": 185, "column": 26 } } @@ -10672,46 +10480,46 @@ "type": "Identifier", "name": "disableExcludedOptions", "range": [ - 4592, - 4614 + 5169, + 5191 ], "loc": { "start": { - "line": 148, + "line": 185, "column": 27 }, "end": { - "line": 148, + "line": 185, "column": 49 } } }, "range": [ - 4589, - 4614 + 5166, + 5191 ], "loc": { "start": { - "line": 148, + "line": 185, "column": 24 }, "end": { - "line": 148, + "line": 185, "column": 49 } } }, "range": [ - 4577, - 4614 + 5154, + 5191 ], "loc": { "start": { - "line": 148, + "line": 185, "column": 12 }, "end": { - "line": 148, + "line": 185, "column": 49 } } @@ -10728,16 +10536,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 4630, - 4642 + 5207, + 5219 ], "loc": { "start": { - "line": 149, + "line": 186, "column": 12 }, "end": { - "line": 149, + "line": 186, "column": 24 } } @@ -10746,46 +10554,46 @@ "type": "ArrayExpression", "elements": [], "range": [ - 4645, - 4647 + 5222, + 5224 ], "loc": { "start": { - "line": 149, + "line": 186, "column": 27 }, "end": { - "line": 149, + "line": 186, "column": 29 } } }, "range": [ - 4630, - 4647 + 5207, + 5224 ], "loc": { "start": { - "line": 149, + "line": 186, "column": 12 }, "end": { - "line": 149, + "line": 186, "column": 29 } } }, "range": [ - 4630, - 4648 + 5207, + 5225 ], "loc": { "start": { - "line": 149, + "line": 186, "column": 12 }, "end": { - "line": 149, + "line": 186, "column": 30 } } @@ -10799,16 +10607,16 @@ "type": "Identifier", "name": "filteredDataCol", "range": [ - 4661, - 4676 + 5238, + 5253 ], "loc": { "start": { - "line": 150, + "line": 187, "column": 12 }, "end": { - "line": 150, + "line": 187, "column": 27 } } @@ -10817,78 +10625,78 @@ "type": "ArrayExpression", "elements": [], "range": [ - 4679, - 4681 + 5256, + 5258 ], "loc": { "start": { - "line": 150, + "line": 187, "column": 30 }, "end": { - "line": 150, + "line": 187, "column": 32 } } }, "range": [ - 4661, - 4681 + 5238, + 5258 ], "loc": { "start": { - "line": 150, + "line": 187, "column": 12 }, "end": { - "line": 150, + "line": 187, "column": 32 } } }, "range": [ - 4661, - 4682 + 5238, + 5259 ], "loc": { "start": { - "line": 150, + "line": 187, "column": 12 }, "end": { - "line": 150, + "line": 187, "column": 33 } } } ], "range": [ - 4616, - 4692 + 5193, + 5269 ], "loc": { "start": { - "line": 148, + "line": 185, "column": 51 }, "end": { - "line": 151, + "line": 188, "column": 9 } } }, "alternate": null, "range": [ - 4573, - 4692 + 5150, + 5269 ], "loc": { "start": { - "line": 148, + "line": 185, "column": 8 }, "end": { - "line": 151, + "line": 188, "column": 9 } } @@ -10904,16 +10712,16 @@ "type": "Identifier", "name": "k", "range": [ - 4711, - 4712 + 5288, + 5289 ], "loc": { "start": { - "line": 153, + "line": 190, "column": 17 }, "end": { - "line": 153, + "line": 190, "column": 18 } } @@ -10925,16 +10733,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4715, - 4717 + 5292, + 5294 ], "loc": { "start": { - "line": 153, + "line": 190, "column": 21 }, "end": { - "line": 153, + "line": 190, "column": 23 } } @@ -10943,46 +10751,46 @@ "type": "Identifier", "name": "refRow", "range": [ - 4718, - 4724 + 5295, + 5301 ], "loc": { "start": { - "line": 153, + "line": 190, "column": 24 }, "end": { - "line": 153, + "line": 190, "column": 30 } } }, "range": [ - 4715, - 4724 + 5292, + 5301 ], "loc": { "start": { - "line": 153, + "line": 190, "column": 21 }, "end": { - "line": 153, + "line": 190, "column": 30 } } }, "range": [ - 4711, - 4724 + 5288, + 5301 ], "loc": { "start": { - "line": 153, + "line": 190, "column": 17 }, "end": { - "line": 153, + "line": 190, "column": 30 } } @@ -10990,16 +10798,16 @@ ], "kind": "let", "range": [ - 4707, - 4724 + 5284, + 5301 ], "loc": { "start": { - "line": 153, + "line": 190, "column": 13 }, "end": { - "line": 153, + "line": 190, "column": 30 } } @@ -11011,16 +10819,16 @@ "type": "Identifier", "name": "k", "range": [ - 4726, - 4727 + 5303, + 5304 ], "loc": { "start": { - "line": 153, + "line": 190, "column": 32 }, "end": { - "line": 153, + "line": 190, "column": 33 } } @@ -11029,31 +10837,31 @@ "type": "Identifier", "name": "nbRows", "range": [ - 4730, - 4736 + 5307, + 5313 ], "loc": { "start": { - "line": 153, + "line": 190, "column": 36 }, "end": { - "line": 153, + "line": 190, "column": 42 } } }, "range": [ - 4726, - 4736 + 5303, + 5313 ], "loc": { "start": { - "line": 153, + "line": 190, "column": 32 }, "end": { - "line": 153, + "line": 190, "column": 42 } } @@ -11065,32 +10873,32 @@ "type": "Identifier", "name": "k", "range": [ - 4738, - 4739 + 5315, + 5316 ], "loc": { "start": { - "line": 153, + "line": 190, "column": 44 }, "end": { - "line": 153, + "line": 190, "column": 45 } } }, "prefix": false, "range": [ - 4738, - 4741 + 5315, + 5318 ], "loc": { "start": { - "line": 153, + "line": 190, "column": 44 }, "end": { - "line": 153, + "line": 190, "column": 47 } } @@ -11110,16 +10918,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4859, - 4861 + 5436, + 5438 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 16 }, "end": { - "line": 156, + "line": 193, "column": 18 } } @@ -11128,31 +10936,31 @@ "type": "Identifier", "name": "hasVisibleRows", "range": [ - 4862, - 4876 + 5439, + 5453 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 19 }, "end": { - "line": 156, + "line": 193, "column": 33 } } }, "range": [ - 4859, - 4876 + 5436, + 5453 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 16 }, "end": { - "line": 156, + "line": 193, "column": 33 } } @@ -11172,16 +10980,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4880, - 4882 + 5457, + 5459 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 37 }, "end": { - "line": 156, + "line": 193, "column": 39 } } @@ -11190,31 +10998,31 @@ "type": "Identifier", "name": "visibleRows", "range": [ - 4883, - 4894 + 5460, + 5471 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 40 }, "end": { - "line": 156, + "line": 193, "column": 51 } } }, "range": [ - 4880, - 4894 + 5457, + 5471 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 37 }, "end": { - "line": 156, + "line": 193, "column": 51 } } @@ -11223,31 +11031,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 4895, - 4902 + 5472, + 5479 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 52 }, "end": { - "line": 156, + "line": 193, "column": 59 } } }, "range": [ - 4880, - 4902 + 5457, + 5479 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 37 }, "end": { - "line": 156, + "line": 193, "column": 59 } } @@ -11257,32 +11065,32 @@ "type": "Identifier", "name": "k", "range": [ - 4903, - 4904 + 5480, + 5481 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 60 }, "end": { - "line": 156, + "line": 193, "column": 61 } } } ], "range": [ - 4880, - 4905 + 5457, + 5482 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 37 }, "end": { - "line": 156, + "line": 193, "column": 62 } } @@ -11295,62 +11103,62 @@ "value": 1, "raw": "1", "range": [ - 4911, - 4912 + 5488, + 5489 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 68 }, "end": { - "line": 156, + "line": 193, "column": 69 } } }, "prefix": true, "range": [ - 4910, - 4912 + 5487, + 5489 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 67 }, "end": { - "line": 156, + "line": 193, "column": 69 } } }, "range": [ - 4880, - 4912 + 5457, + 5489 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 37 }, "end": { - "line": 156, + "line": 193, "column": 69 } } }, "range": [ - 4859, - 4912 + 5436, + 5489 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 16 }, "end": { - "line": 156, + "line": 193, "column": 69 } } @@ -11362,48 +11170,48 @@ "type": "ContinueStatement", "label": null, "range": [ - 4932, - 4941 + 5509, + 5518 ], "loc": { "start": { - "line": 157, + "line": 194, "column": 16 }, "end": { - "line": 157, + "line": 194, "column": 25 } } } ], "range": [ - 4914, - 4955 + 5491, + 5532 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 71 }, "end": { - "line": 158, + "line": 195, "column": 13 } } }, "alternate": null, "range": [ - 4855, - 4955 + 5432, + 5532 ], "loc": { "start": { - "line": 156, + "line": 193, "column": 12 }, "end": { - "line": 158, + "line": 195, "column": 13 } }, @@ -11412,16 +11220,16 @@ "type": "Line", "value": " always visible rows don't need to appear on selects as always", "range": [ - 4757, - 4821 + 5334, + 5398 ], "loc": { "start": { - "line": 154, + "line": 191, "column": 12 }, "end": { - "line": 154, + "line": 191, "column": 76 } } @@ -11430,16 +11238,16 @@ "type": "Line", "value": " valid", "range": [ - 4834, - 4842 + 5411, + 5419 ], "loc": { "start": { - "line": 155, + "line": 192, "column": 12 }, "end": { - "line": 155, + "line": 192, "column": 20 } } @@ -11455,16 +11263,16 @@ "type": "Identifier", "name": "cell", "range": [ - 4973, - 4977 + 5550, + 5554 ], "loc": { "start": { - "line": 160, + "line": 197, "column": 16 }, "end": { - "line": 160, + "line": 197, "column": 20 } } @@ -11479,16 +11287,16 @@ "type": "Identifier", "name": "rows", "range": [ - 4980, - 4984 + 5557, + 5561 ], "loc": { "start": { - "line": 160, + "line": 197, "column": 23 }, "end": { - "line": 160, + "line": 197, "column": 27 } } @@ -11497,31 +11305,31 @@ "type": "Identifier", "name": "k", "range": [ - 4985, - 4986 + 5562, + 5563 ], "loc": { "start": { - "line": 160, + "line": 197, "column": 28 }, "end": { - "line": 160, + "line": 197, "column": 29 } } }, "range": [ - 4980, - 4987 + 5557, + 5564 ], "loc": { "start": { - "line": 160, + "line": 197, "column": 23 }, "end": { - "line": 160, + "line": 197, "column": 30 } } @@ -11530,46 +11338,46 @@ "type": "Identifier", "name": "cells", "range": [ - 4988, - 4993 + 5565, + 5570 ], "loc": { "start": { - "line": 160, + "line": 197, "column": 31 }, "end": { - "line": 160, + "line": 197, "column": 36 } } }, "range": [ - 4980, - 4993 + 5557, + 5570 ], "loc": { "start": { - "line": 160, + "line": 197, "column": 23 }, "end": { - "line": 160, + "line": 197, "column": 36 } } }, "range": [ - 4973, - 4993 + 5550, + 5570 ], "loc": { "start": { - "line": 160, + "line": 197, "column": 16 }, "end": { - "line": 160, + "line": 197, "column": 36 } } @@ -11580,16 +11388,16 @@ "type": "Identifier", "name": "nchilds", "range": [ - 5011, - 5018 + 5588, + 5595 ], "loc": { "start": { - "line": 161, + "line": 198, "column": 16 }, "end": { - "line": 161, + "line": 198, "column": 23 } } @@ -11601,16 +11409,16 @@ "type": "Identifier", "name": "cell", "range": [ - 5021, - 5025 + 5598, + 5602 ], "loc": { "start": { - "line": 161, + "line": 198, "column": 26 }, "end": { - "line": 161, + "line": 198, "column": 30 } } @@ -11619,46 +11427,46 @@ "type": "Identifier", "name": "length", "range": [ - 5026, - 5032 + 5603, + 5609 ], "loc": { "start": { - "line": 161, + "line": 198, "column": 31 }, "end": { - "line": 161, + "line": 198, "column": 37 } } }, "range": [ - 5021, - 5032 + 5598, + 5609 ], "loc": { "start": { - "line": 161, + "line": 198, "column": 26 }, "end": { - "line": 161, + "line": 198, "column": 37 } } }, "range": [ - 5011, - 5032 + 5588, + 5609 ], "loc": { "start": { - "line": 161, + "line": 198, "column": 16 }, "end": { - "line": 161, + "line": 198, "column": 37 } } @@ -11666,16 +11474,16 @@ ], "kind": "let", "range": [ - 4969, - 5033 + 5546, + 5610 ], "loc": { "start": { - "line": 160, + "line": 197, "column": 12 }, "end": { - "line": 161, + "line": 198, "column": 38 } }, @@ -11684,16 +11492,16 @@ "type": "Line", "value": " checks if row has exact cell #", "range": [ - 5047, - 5080 + 5624, + 5657 ], "loc": { "start": { - "line": 163, + "line": 200, "column": 12 }, "end": { - "line": 163, + "line": 200, "column": 45 } } @@ -11712,16 +11520,16 @@ "type": "Identifier", "name": "nchilds", "range": [ - 5097, - 5104 + 5674, + 5681 ], "loc": { "start": { - "line": 164, + "line": 201, "column": 16 }, "end": { - "line": 164, + "line": 201, "column": 23 } } @@ -11733,16 +11541,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5109, - 5111 + 5686, + 5688 ], "loc": { "start": { - "line": 164, + "line": 201, "column": 28 }, "end": { - "line": 164, + "line": 201, "column": 30 } } @@ -11751,46 +11559,46 @@ "type": "Identifier", "name": "nbCells", "range": [ - 5112, - 5119 + 5689, + 5696 ], "loc": { "start": { - "line": 164, + "line": 201, "column": 31 }, "end": { - "line": 164, + "line": 201, "column": 38 } } }, "range": [ - 5109, - 5119 + 5686, + 5696 ], "loc": { "start": { - "line": 164, + "line": 201, "column": 28 }, "end": { - "line": 164, + "line": 201, "column": 38 } } }, "range": [ - 5097, - 5119 + 5674, + 5696 ], "loc": { "start": { - "line": 164, + "line": 201, "column": 16 }, "end": { - "line": 164, + "line": 201, "column": 38 } } @@ -11801,16 +11609,16 @@ "object": { "type": "ThisExpression", "range": [ - 5123, - 5127 + 5700, + 5704 ], "loc": { "start": { - "line": 164, + "line": 201, "column": 42 }, "end": { - "line": 164, + "line": 201, "column": 46 } } @@ -11819,46 +11627,46 @@ "type": "Identifier", "name": "isCustom", "range": [ - 5128, - 5136 + 5705, + 5713 ], "loc": { "start": { - "line": 164, + "line": 201, "column": 47 }, "end": { - "line": 164, + "line": 201, "column": 55 } } }, "range": [ - 5123, - 5136 + 5700, + 5713 ], "loc": { "start": { - "line": 164, + "line": 201, "column": 42 }, "end": { - "line": 164, + "line": 201, "column": 55 } } }, "range": [ - 5097, - 5136 + 5674, + 5713 ], "loc": { "start": { - "line": 164, + "line": 201, "column": 16 }, "end": { - "line": 164, + "line": 201, "column": 55 } } @@ -11870,48 +11678,48 @@ "type": "ContinueStatement", "label": null, "range": [ - 5156, - 5165 + 5733, + 5742 ], "loc": { "start": { - "line": 165, + "line": 202, "column": 16 }, "end": { - "line": 165, + "line": 202, "column": 25 } } } ], "range": [ - 5138, - 5179 + 5715, + 5756 ], "loc": { "start": { - "line": 164, + "line": 201, "column": 57 }, "end": { - "line": 166, + "line": 203, "column": 13 } } }, "alternate": null, "range": [ - 5093, - 5179 + 5670, + 5756 ], "loc": { "start": { - "line": 164, + "line": 201, "column": 12 }, "end": { - "line": 166, + "line": 203, "column": 13 } }, @@ -11920,16 +11728,16 @@ "type": "Line", "value": " checks if row has exact cell #", "range": [ - 5047, - 5080 + 5624, + 5657 ], "loc": { "start": { - "line": 163, + "line": 200, "column": 12 }, "end": { - "line": 163, + "line": 200, "column": 45 } } @@ -11940,16 +11748,16 @@ "type": "Line", "value": " this loop retrieves cell data", "range": [ - 5193, - 5225 + 5770, + 5802 ], "loc": { "start": { - "line": 168, + "line": 205, "column": 12 }, "end": { - "line": 168, + "line": 205, "column": 44 } } @@ -11967,16 +11775,16 @@ "type": "Identifier", "name": "j", "range": [ - 5247, - 5248 + 5824, + 5825 ], "loc": { "start": { - "line": 169, + "line": 206, "column": 21 }, "end": { - "line": 169, + "line": 206, "column": 22 } } @@ -11986,31 +11794,31 @@ "value": 0, "raw": "0", "range": [ - 5251, - 5252 + 5828, + 5829 ], "loc": { "start": { - "line": 169, + "line": 206, "column": 25 }, "end": { - "line": 169, + "line": 206, "column": 26 } } }, "range": [ - 5247, - 5252 + 5824, + 5829 ], "loc": { "start": { - "line": 169, + "line": 206, "column": 21 }, "end": { - "line": 169, + "line": 206, "column": 26 } } @@ -12018,16 +11826,16 @@ ], "kind": "let", "range": [ - 5243, - 5252 + 5820, + 5829 ], "loc": { "start": { - "line": 169, + "line": 206, "column": 17 }, "end": { - "line": 169, + "line": 206, "column": 26 } } @@ -12039,16 +11847,16 @@ "type": "Identifier", "name": "j", "range": [ - 5254, - 5255 + 5831, + 5832 ], "loc": { "start": { - "line": 169, + "line": 206, "column": 28 }, "end": { - "line": 169, + "line": 206, "column": 29 } } @@ -12057,31 +11865,31 @@ "type": "Identifier", "name": "nchilds", "range": [ - 5258, - 5265 + 5835, + 5842 ], "loc": { "start": { - "line": 169, + "line": 206, "column": 32 }, "end": { - "line": 169, + "line": 206, "column": 39 } } }, "range": [ - 5254, - 5265 + 5831, + 5842 ], "loc": { "start": { - "line": 169, + "line": 206, "column": 28 }, "end": { - "line": 169, + "line": 206, "column": 39 } } @@ -12093,32 +11901,32 @@ "type": "Identifier", "name": "j", "range": [ - 5267, - 5268 + 5844, + 5845 ], "loc": { "start": { - "line": 169, + "line": 206, "column": 41 }, "end": { - "line": 169, + "line": 206, "column": 42 } } }, "prefix": false, "range": [ - 5267, - 5270 + 5844, + 5847 ], "loc": { "start": { - "line": 169, + "line": 206, "column": 41 }, "end": { - "line": 169, + "line": 206, "column": 44 } } @@ -12141,16 +11949,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5391, - 5399 + 5968, + 5976 ], "loc": { "start": { - "line": 172, + "line": 209, "column": 21 }, "end": { - "line": 172, + "line": 209, "column": 29 } } @@ -12159,31 +11967,31 @@ "type": "Identifier", "name": "j", "range": [ - 5404, - 5405 + 5981, + 5982 ], "loc": { "start": { - "line": 172, + "line": 209, "column": 34 }, "end": { - "line": 172, + "line": 209, "column": 35 } } }, "range": [ - 5391, - 5405 + 5968, + 5982 ], "loc": { "start": { - "line": 172, + "line": 209, "column": 21 }, "end": { - "line": 172, + "line": 209, "column": 35 } } @@ -12198,32 +12006,32 @@ "type": "Identifier", "name": "isLinked", "range": [ - 5431, - 5439 + 6008, + 6016 ], "loc": { "start": { - "line": 173, + "line": 210, "column": 22 }, "end": { - "line": 173, + "line": 210, "column": 30 } } }, "prefix": true, "range": [ - 5430, - 5439 + 6007, + 6016 ], "loc": { "start": { - "line": 173, + "line": 210, "column": 21 }, "end": { - "line": 173, + "line": 210, "column": 30 } } @@ -12235,16 +12043,16 @@ "type": "Identifier", "name": "isLinked", "range": [ - 5468, - 5476 + 6045, + 6053 ], "loc": { "start": { - "line": 174, + "line": 211, "column": 25 }, "end": { - "line": 174, + "line": 211, "column": 33 } } @@ -12256,16 +12064,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5480, - 5482 + 6057, + 6059 ], "loc": { "start": { - "line": 174, + "line": 211, "column": 37 }, "end": { - "line": 174, + "line": 211, "column": 39 } } @@ -12274,76 +12082,76 @@ "type": "Identifier", "name": "disableExcludedOptions", "range": [ - 5483, - 5505 + 6060, + 6082 ], "loc": { "start": { - "line": 174, + "line": 211, "column": 40 }, "end": { - "line": 174, + "line": 211, "column": 62 } } }, "range": [ - 5480, - 5505 + 6057, + 6082 ], "loc": { "start": { - "line": 174, + "line": 211, "column": 37 }, "end": { - "line": 174, + "line": 211, "column": 62 } } }, "range": [ - 5468, - 5505 + 6045, + 6082 ], "loc": { "start": { - "line": 174, + "line": 211, "column": 25 }, "end": { - "line": 174, + "line": 211, "column": 62 } } }, "range": [ - 5430, - 5506 + 6007, + 6083 ], "loc": { "start": { - "line": 173, + "line": 210, "column": 21 }, "end": { - "line": 174, + "line": 211, "column": 63 } } }, "range": [ - 5391, - 5507 + 5968, + 6084 ], "loc": { "start": { - "line": 172, + "line": 209, "column": 21 }, "end": { - "line": 174, + "line": 211, "column": 64 } } @@ -12361,16 +12169,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5533, - 5541 + 6110, + 6118 ], "loc": { "start": { - "line": 175, + "line": 212, "column": 21 }, "end": { - "line": 175, + "line": 212, "column": 29 } } @@ -12379,31 +12187,31 @@ "type": "Identifier", "name": "j", "range": [ - 5546, - 5547 + 6123, + 6124 ], "loc": { "start": { - "line": 175, + "line": 212, "column": 34 }, "end": { - "line": 175, + "line": 212, "column": 35 } } }, "range": [ - 5533, - 5547 + 6110, + 6124 ], "loc": { "start": { - "line": 175, + "line": 212, "column": 21 }, "end": { - "line": 175, + "line": 212, "column": 35 } } @@ -12412,31 +12220,31 @@ "type": "Identifier", "name": "isLinked", "range": [ - 5551, - 5559 + 6128, + 6136 ], "loc": { "start": { - "line": 175, + "line": 212, "column": 39 }, "end": { - "line": 175, + "line": 212, "column": 47 } } }, "range": [ - 5533, - 5559 + 6110, + 6136 ], "loc": { "start": { - "line": 175, + "line": 212, "column": 21 }, "end": { - "line": 175, + "line": 212, "column": 47 } } @@ -12463,16 +12271,16 @@ "type": "Identifier", "name": "rows", "range": [ - 5589, - 5593 + 6166, + 6170 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 26 }, "end": { - "line": 176, + "line": 213, "column": 30 } } @@ -12481,31 +12289,31 @@ "type": "Identifier", "name": "k", "range": [ - 5594, - 5595 + 6171, + 6172 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 31 }, "end": { - "line": 176, + "line": 213, "column": 32 } } }, "range": [ - 5589, - 5596 + 6166, + 6173 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 26 }, "end": { - "line": 176, + "line": 213, "column": 33 } } @@ -12514,31 +12322,31 @@ "type": "Identifier", "name": "style", "range": [ - 5597, - 5602 + 6174, + 6179 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 34 }, "end": { - "line": 176, + "line": 213, "column": 39 } } }, "range": [ - 5589, - 5602 + 6166, + 6179 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 26 }, "end": { - "line": 176, + "line": 213, "column": 39 } } @@ -12547,31 +12355,31 @@ "type": "Identifier", "name": "display", "range": [ - 5603, - 5610 + 6180, + 6187 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 40 }, "end": { - "line": 176, + "line": 213, "column": 47 } } }, "range": [ - 5589, - 5610 + 6166, + 6187 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 26 }, "end": { - "line": 176, + "line": 213, "column": 47 } } @@ -12581,31 +12389,31 @@ "value": "", "raw": "''", "range": [ - 5615, - 5617 + 6192, + 6194 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 52 }, "end": { - "line": 176, + "line": 213, "column": 54 } } }, "range": [ - 5589, - 5617 + 6166, + 6194 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 26 }, "end": { - "line": 176, + "line": 213, "column": 54 } } @@ -12620,16 +12428,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5622, - 5624 + 6199, + 6201 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 59 }, "end": { - "line": 176, + "line": 213, "column": 61 } } @@ -12638,62 +12446,62 @@ "type": "Identifier", "name": "paging", "range": [ - 5625, - 5631 + 6202, + 6208 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 62 }, "end": { - "line": 176, + "line": 213, "column": 68 } } }, "range": [ - 5622, - 5631 + 6199, + 6208 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 59 }, "end": { - "line": 176, + "line": 213, "column": 68 } } }, "prefix": true, "range": [ - 5621, - 5631 + 6198, + 6208 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 58 }, "end": { - "line": 176, + "line": 213, "column": 68 } } }, "range": [ - 5589, - 5631 + 6166, + 6208 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 26 }, "end": { - "line": 176, + "line": 213, "column": 68 } } @@ -12711,16 +12519,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5665, - 5667 + 6242, + 6244 ], "loc": { "start": { - "line": 177, + "line": 214, "column": 29 }, "end": { - "line": 177, + "line": 214, "column": 31 } } @@ -12729,31 +12537,31 @@ "type": "Identifier", "name": "paging", "range": [ - 5668, - 5674 + 6245, + 6251 ], "loc": { "start": { - "line": 177, + "line": 214, "column": 32 }, "end": { - "line": 177, + "line": 214, "column": 38 } } }, "range": [ - 5665, - 5674 + 6242, + 6251 ], "loc": { "start": { - "line": 177, + "line": 214, "column": 29 }, "end": { - "line": 177, + "line": 214, "column": 38 } } @@ -12771,16 +12579,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5680, - 5682 + 6257, + 6259 ], "loc": { "start": { - "line": 177, + "line": 214, "column": 44 }, "end": { - "line": 177, + "line": 214, "column": 46 } } @@ -12789,47 +12597,47 @@ "type": "Identifier", "name": "validRowsIndex", "range": [ - 5683, - 5697 + 6260, + 6274 ], "loc": { "start": { - "line": 177, + "line": 214, "column": 47 }, "end": { - "line": 177, + "line": 214, "column": 61 } } }, "range": [ - 5680, - 5697 + 6257, + 6274 ], "loc": { "start": { - "line": 177, + "line": 214, "column": 44 }, "end": { - "line": 177, + "line": 214, "column": 61 } } }, "prefix": true, "range": [ - 5679, - 5697 + 6256, + 6274 ], "loc": { "start": { - "line": 177, + "line": 214, "column": 43 }, "end": { - "line": 177, + "line": 214, "column": 61 } } @@ -12844,16 +12652,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5734, - 5736 + 6311, + 6313 ], "loc": { "start": { - "line": 178, + "line": 215, "column": 33 }, "end": { - "line": 178, + "line": 215, "column": 35 } } @@ -12862,31 +12670,31 @@ "type": "Identifier", "name": "validRowsIndex", "range": [ - 5737, - 5751 + 6314, + 6328 ], "loc": { "start": { - "line": 178, + "line": 215, "column": 36 }, "end": { - "line": 178, + "line": 215, "column": 50 } } }, "range": [ - 5734, - 5751 + 6311, + 6328 ], "loc": { "start": { - "line": 178, + "line": 215, "column": 33 }, "end": { - "line": 178, + "line": 215, "column": 50 } } @@ -12906,16 +12714,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5791, - 5793 + 6368, + 6370 ], "loc": { "start": { - "line": 179, + "line": 216, "column": 36 }, "end": { - "line": 179, + "line": 216, "column": 38 } } @@ -12924,31 +12732,31 @@ "type": "Identifier", "name": "validRowsIndex", "range": [ - 5794, - 5808 + 6371, + 6385 ], "loc": { "start": { - "line": 179, + "line": 216, "column": 39 }, "end": { - "line": 179, + "line": 216, "column": 53 } } }, "range": [ - 5791, - 5808 + 6368, + 6385 ], "loc": { "start": { - "line": 179, + "line": 216, "column": 36 }, "end": { - "line": 179, + "line": 216, "column": 53 } } @@ -12957,31 +12765,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 5809, - 5816 + 6386, + 6393 ], "loc": { "start": { - "line": 179, + "line": 216, "column": 54 }, "end": { - "line": 179, + "line": 216, "column": 61 } } }, "range": [ - 5791, - 5816 + 6368, + 6393 ], "loc": { "start": { - "line": 179, + "line": 216, "column": 36 }, "end": { - "line": 179, + "line": 216, "column": 61 } } @@ -12991,32 +12799,32 @@ "type": "Identifier", "name": "k", "range": [ - 5817, - 5818 + 6394, + 6395 ], "loc": { "start": { - "line": 179, + "line": 216, "column": 62 }, "end": { - "line": 179, + "line": 216, "column": 63 } } } ], "range": [ - 5791, - 5819 + 6368, + 6396 ], "loc": { "start": { - "line": 179, + "line": 216, "column": 36 }, "end": { - "line": 179, + "line": 216, "column": 64 } } @@ -13029,92 +12837,92 @@ "value": 1, "raw": "1", "range": [ - 5825, - 5826 + 6402, + 6403 ], "loc": { "start": { - "line": 179, + "line": 216, "column": 70 }, "end": { - "line": 179, + "line": 216, "column": 71 } } }, "prefix": true, "range": [ - 5824, - 5826 + 6401, + 6403 ], "loc": { "start": { - "line": 179, + "line": 216, "column": 69 }, "end": { - "line": 179, + "line": 216, "column": 71 } } }, "range": [ - 5791, - 5826 + 6368, + 6403 ], "loc": { "start": { - "line": 179, + "line": 216, "column": 36 }, "end": { - "line": 179, + "line": 216, "column": 71 } } }, "range": [ - 5734, - 5826 + 6311, + 6403 ], "loc": { "start": { - "line": 178, + "line": 215, "column": 33 }, "end": { - "line": 179, + "line": 216, "column": 71 } } }, "range": [ - 5679, - 5827 + 6256, + 6404 ], "loc": { "start": { - "line": 177, + "line": 214, "column": 43 }, "end": { - "line": 179, + "line": 216, "column": 72 } } }, "range": [ - 5665, - 5828 + 6242, + 6405 ], "loc": { "start": { - "line": 177, + "line": 214, "column": 29 }, "end": { - "line": 179, + "line": 216, "column": 73 } } @@ -13132,16 +12940,16 @@ "type": "Identifier", "name": "activeIdx", "range": [ - 5866, - 5875 + 6443, + 6452 ], "loc": { "start": { - "line": 180, + "line": 217, "column": 34 }, "end": { - "line": 180, + "line": 217, "column": 43 } } @@ -13150,31 +12958,31 @@ "type": "Identifier", "name": "undefined", "range": [ - 5880, - 5889 + 6457, + 6466 ], "loc": { "start": { - "line": 180, + "line": 217, "column": 48 }, "end": { - "line": 180, + "line": 217, "column": 57 } } }, "range": [ - 5866, - 5889 + 6443, + 6466 ], "loc": { "start": { - "line": 180, + "line": 217, "column": 34 }, "end": { - "line": 180, + "line": 217, "column": 57 } } @@ -13186,16 +12994,16 @@ "type": "Identifier", "name": "activeIdx", "range": [ - 5929, - 5938 + 6506, + 6515 ], "loc": { "start": { - "line": 181, + "line": 218, "column": 36 }, "end": { - "line": 181, + "line": 218, "column": 45 } } @@ -13204,46 +13012,46 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5943, - 5951 + 6520, + 6528 ], "loc": { "start": { - "line": 181, + "line": 218, "column": 50 }, "end": { - "line": 181, + "line": 218, "column": 58 } } }, "range": [ - 5929, - 5951 + 6506, + 6528 ], "loc": { "start": { - "line": 181, + "line": 218, "column": 36 }, "end": { - "line": 181, + "line": 218, "column": 58 } } }, "range": [ - 5866, - 5951 + 6443, + 6528 ], "loc": { "start": { - "line": 180, + "line": 217, "column": 34 }, "end": { - "line": 181, + "line": 218, "column": 58 } } @@ -13258,16 +13066,16 @@ "type": "Identifier", "name": "activeIdx", "range": [ - 5993, - 6002 + 6570, + 6579 ], "loc": { "start": { - "line": 182, + "line": 219, "column": 37 }, "end": { - "line": 182, + "line": 219, "column": 46 } } @@ -13276,31 +13084,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6007, - 6015 + 6584, + 6592 ], "loc": { "start": { - "line": 182, + "line": 219, "column": 51 }, "end": { - "line": 182, + "line": 219, "column": 59 } } }, "range": [ - 5993, - 6015 + 6570, + 6592 ], "loc": { "start": { - "line": 182, + "line": 219, "column": 37 }, "end": { - "line": 182, + "line": 219, "column": 59 } } @@ -13320,16 +13128,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6055, - 6057 + 6632, + 6634 ], "loc": { "start": { - "line": 183, + "line": 220, "column": 36 }, "end": { - "line": 183, + "line": 220, "column": 38 } } @@ -13338,31 +13146,31 @@ "type": "Identifier", "name": "validRowsIndex", "range": [ - 6058, - 6072 + 6635, + 6649 ], "loc": { "start": { - "line": 183, + "line": 220, "column": 39 }, "end": { - "line": 183, + "line": 220, "column": 53 } } }, "range": [ - 6055, - 6072 + 6632, + 6649 ], "loc": { "start": { - "line": 183, + "line": 220, "column": 36 }, "end": { - "line": 183, + "line": 220, "column": 53 } } @@ -13371,31 +13179,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 6073, - 6080 + 6650, + 6657 ], "loc": { "start": { - "line": 183, + "line": 220, "column": 54 }, "end": { - "line": 183, + "line": 220, "column": 61 } } }, "range": [ - 6055, - 6080 + 6632, + 6657 ], "loc": { "start": { - "line": 183, + "line": 220, "column": 36 }, "end": { - "line": 183, + "line": 220, "column": 61 } } @@ -13405,32 +13213,32 @@ "type": "Identifier", "name": "k", "range": [ - 6081, - 6082 + 6658, + 6659 ], "loc": { "start": { - "line": 183, + "line": 220, "column": 62 }, "end": { - "line": 183, + "line": 220, "column": 63 } } } ], "range": [ - 6055, - 6083 + 6632, + 6660 ], "loc": { "start": { - "line": 183, + "line": 220, "column": 36 }, "end": { - "line": 183, + "line": 220, "column": 64 } } @@ -13443,137 +13251,137 @@ "value": 1, "raw": "1", "range": [ - 6089, - 6090 + 6666, + 6667 ], "loc": { "start": { - "line": 183, + "line": 220, "column": 70 }, "end": { - "line": 183, + "line": 220, "column": 71 } } }, "prefix": true, "range": [ - 6088, - 6090 + 6665, + 6667 ], "loc": { "start": { - "line": 183, + "line": 220, "column": 69 }, "end": { - "line": 183, + "line": 220, "column": 71 } } }, "range": [ - 6055, - 6090 + 6632, + 6667 ], "loc": { "start": { - "line": 183, + "line": 220, "column": 36 }, "end": { - "line": 183, + "line": 220, "column": 71 } } }, "range": [ - 5993, - 6090 + 6570, + 6667 ], "loc": { "start": { - "line": 182, + "line": 219, "column": 37 }, "end": { - "line": 183, + "line": 220, "column": 71 } } }, "range": [ - 5865, - 6091 + 6442, + 6668 ], "loc": { "start": { - "line": 180, + "line": 217, "column": 33 }, "end": { - "line": 183, + "line": 220, "column": 72 } } }, "range": [ - 5665, - 6092 + 6242, + 6669 ], "loc": { "start": { - "line": 177, + "line": 214, "column": 29 }, "end": { - "line": 183, + "line": 220, "column": 73 } } }, "range": [ - 5588, - 6093 + 6165, + 6670 ], "loc": { "start": { - "line": 176, + "line": 213, "column": 25 }, "end": { - "line": 183, + "line": 220, "column": 74 } } }, "range": [ - 5533, - 6094 + 6110, + 6671 ], "loc": { "start": { - "line": 175, + "line": 212, "column": 21 }, "end": { - "line": 183, + "line": 220, "column": 75 } } }, "range": [ - 5390, - 6095 + 5967, + 6672 ], "loc": { "start": { - "line": 172, + "line": 209, "column": 20 }, "end": { - "line": 183, + "line": 220, "column": 76 } } @@ -13590,16 +13398,16 @@ "type": "Identifier", "name": "cellData", "range": [ - 6123, - 6131 + 6700, + 6708 ], "loc": { "start": { - "line": 184, + "line": 221, "column": 24 }, "end": { - "line": 184, + "line": 221, "column": 32 } } @@ -13613,16 +13421,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6134, - 6136 + 6711, + 6713 ], "loc": { "start": { - "line": 184, + "line": 221, "column": 35 }, "end": { - "line": 184, + "line": 221, "column": 37 } } @@ -13631,31 +13439,31 @@ "type": "Identifier", "name": "getCellData", "range": [ - 6137, - 6148 + 6714, + 6725 ], "loc": { "start": { - "line": 184, + "line": 221, "column": 38 }, "end": { - "line": 184, + "line": 221, "column": 49 } } }, "range": [ - 6134, - 6148 + 6711, + 6725 ], "loc": { "start": { - "line": 184, + "line": 221, "column": 35 }, "end": { - "line": 184, + "line": 221, "column": 49 } } @@ -13668,16 +13476,16 @@ "type": "Identifier", "name": "cell", "range": [ - 6149, - 6153 + 6726, + 6730 ], "loc": { "start": { - "line": 184, + "line": 221, "column": 50 }, "end": { - "line": 184, + "line": 221, "column": 54 } } @@ -13686,62 +13494,62 @@ "type": "Identifier", "name": "j", "range": [ - 6154, - 6155 + 6731, + 6732 ], "loc": { "start": { - "line": 184, + "line": 221, "column": 55 }, "end": { - "line": 184, + "line": 221, "column": 56 } } }, "range": [ - 6149, - 6156 + 6726, + 6733 ], "loc": { "start": { - "line": 184, + "line": 221, "column": 50 }, "end": { - "line": 184, + "line": 221, "column": 57 } } } ], "range": [ - 6134, - 6157 + 6711, + 6734 ], "loc": { "start": { - "line": 184, + "line": 221, "column": 35 }, "end": { - "line": 184, + "line": 221, "column": 58 } } }, "range": [ - 6123, - 6157 + 6700, + 6734 ], "loc": { "start": { - "line": 184, + "line": 221, "column": 24 }, "end": { - "line": 184, + "line": 221, "column": 58 } } @@ -13752,16 +13560,16 @@ "type": "Identifier", "name": "cellString", "range": [ - 6228, - 6238 + 6805, + 6815 ], "loc": { "start": { - "line": 186, + "line": 223, "column": 24 }, "end": { - "line": 186, + "line": 223, "column": 34 } } @@ -13772,16 +13580,16 @@ "type": "Identifier", "name": "matchCase", "range": [ - 6241, - 6250 + 6818, + 6827 ], "loc": { "start": { - "line": 186, + "line": 223, "column": 37 }, "end": { - "line": 186, + "line": 223, "column": 46 } } @@ -13791,16 +13599,16 @@ "type": "Identifier", "name": "cellData", "range": [ - 6251, - 6259 + 6828, + 6836 ], "loc": { "start": { - "line": 186, + "line": 223, "column": 47 }, "end": { - "line": 186, + "line": 223, "column": 55 } } @@ -13812,16 +13620,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6261, - 6263 + 6838, + 6840 ], "loc": { "start": { - "line": 186, + "line": 223, "column": 57 }, "end": { - "line": 186, + "line": 223, "column": 59 } } @@ -13830,62 +13638,62 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 6264, - 6277 + 6841, + 6854 ], "loc": { "start": { - "line": 186, + "line": 223, "column": 60 }, "end": { - "line": 186, + "line": 223, "column": 73 } } }, "range": [ - 6261, - 6277 + 6838, + 6854 ], "loc": { "start": { - "line": 186, + "line": 223, "column": 57 }, "end": { - "line": 186, + "line": 223, "column": 73 } } } ], "range": [ - 6241, - 6278 + 6818, + 6855 ], "loc": { "start": { - "line": 186, + "line": 223, "column": 37 }, "end": { - "line": 186, + "line": 223, "column": 74 } } }, "range": [ - 6228, - 6278 + 6805, + 6855 ], "loc": { "start": { - "line": 186, + "line": 223, "column": 24 }, "end": { - "line": 186, + "line": 223, "column": 74 } }, @@ -13894,16 +13702,16 @@ "type": "Line", "value": "Vary Peter's patch", "range": [ - 6183, - 6203 + 6760, + 6780 ], "loc": { "start": { - "line": 185, + "line": 222, "column": 24 }, "end": { - "line": 185, + "line": 222, "column": 44 } } @@ -13913,16 +13721,16 @@ ], "kind": "let", "range": [ - 6119, - 6279 + 6696, + 6856 ], "loc": { "start": { - "line": 184, + "line": 221, "column": 20 }, "end": { - "line": 186, + "line": 223, "column": 75 } }, @@ -13931,16 +13739,16 @@ "type": "Line", "value": " checks if celldata is already in array", "range": [ - 6301, - 6342 + 6878, + 6919 ], "loc": { "start": { - "line": 188, + "line": 225, "column": 20 }, "end": { - "line": 188, + "line": 225, "column": 61 } } @@ -13958,16 +13766,16 @@ "type": "Identifier", "name": "has", "range": [ - 6368, - 6371 + 6945, + 6948 ], "loc": { "start": { - "line": 189, + "line": 226, "column": 25 }, "end": { - "line": 189, + "line": 226, "column": 28 } } @@ -13979,16 +13787,16 @@ "object": { "type": "ThisExpression", "range": [ - 6372, - 6376 + 6949, + 6953 ], "loc": { "start": { - "line": 189, + "line": 226, "column": 29 }, "end": { - "line": 189, + "line": 226, "column": 33 } } @@ -13997,31 +13805,31 @@ "type": "Identifier", "name": "opts", "range": [ - 6377, - 6381 + 6954, + 6958 ], "loc": { "start": { - "line": 189, + "line": 226, "column": 34 }, "end": { - "line": 189, + "line": 226, "column": 38 } } }, "range": [ - 6372, - 6381 + 6949, + 6958 ], "loc": { "start": { - "line": 189, + "line": 226, "column": 29 }, "end": { - "line": 189, + "line": 226, "column": 38 } } @@ -14030,16 +13838,16 @@ "type": "Identifier", "name": "cellString", "range": [ - 6383, - 6393 + 6960, + 6970 ], "loc": { "start": { - "line": 189, + "line": 226, "column": 40 }, "end": { - "line": 189, + "line": 226, "column": 50 } } @@ -14051,16 +13859,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6395, - 6397 + 6972, + 6974 ], "loc": { "start": { - "line": 189, + "line": 226, "column": 52 }, "end": { - "line": 189, + "line": 226, "column": 54 } } @@ -14069,63 +13877,63 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 6398, - 6411 + 6975, + 6988 ], "loc": { "start": { - "line": 189, + "line": 226, "column": 55 }, "end": { - "line": 189, + "line": 226, "column": 68 } } }, "range": [ - 6395, - 6411 + 6972, + 6988 ], "loc": { "start": { - "line": 189, + "line": 226, "column": 52 }, "end": { - "line": 189, + "line": 226, "column": 68 } } } ], "range": [ - 6368, - 6412 + 6945, + 6989 ], "loc": { "start": { - "line": 189, + "line": 226, "column": 25 }, "end": { - "line": 189, + "line": 226, "column": 69 } } }, "prefix": true, "range": [ - 6367, - 6412 + 6944, + 6989 ], "loc": { "start": { - "line": 189, + "line": 226, "column": 24 }, "end": { - "line": 189, + "line": 226, "column": 69 } } @@ -14146,16 +13954,16 @@ "object": { "type": "ThisExpression", "range": [ - 6440, - 6444 + 7017, + 7021 ], "loc": { "start": { - "line": 190, + "line": 227, "column": 24 }, "end": { - "line": 190, + "line": 227, "column": 28 } } @@ -14164,31 +13972,31 @@ "type": "Identifier", "name": "opts", "range": [ - 6445, - 6449 + 7022, + 7026 ], "loc": { "start": { - "line": 190, + "line": 227, "column": 29 }, "end": { - "line": 190, + "line": 227, "column": 33 } } }, "range": [ - 6440, - 6449 + 7017, + 7026 ], "loc": { "start": { - "line": 190, + "line": 227, "column": 24 }, "end": { - "line": 190, + "line": 227, "column": 33 } } @@ -14197,31 +14005,31 @@ "type": "Identifier", "name": "push", "range": [ - 6450, - 6454 + 7027, + 7031 ], "loc": { "start": { - "line": 190, + "line": 227, "column": 34 }, "end": { - "line": 190, + "line": 227, "column": 38 } } }, "range": [ - 6440, - 6454 + 7017, + 7031 ], "loc": { "start": { - "line": 190, + "line": 227, "column": 24 }, "end": { - "line": 190, + "line": 227, "column": 38 } } @@ -14231,79 +14039,79 @@ "type": "Identifier", "name": "cellData", "range": [ - 6455, - 6463 + 7032, + 7040 ], "loc": { "start": { - "line": 190, + "line": 227, "column": 39 }, "end": { - "line": 190, + "line": 227, "column": 47 } } } ], "range": [ - 6440, - 6464 + 7017, + 7041 ], "loc": { "start": { - "line": 190, + "line": 227, "column": 24 }, "end": { - "line": 190, + "line": 227, "column": 48 } } }, "range": [ - 6440, - 6465 + 7017, + 7042 ], "loc": { "start": { - "line": 190, + "line": 227, "column": 24 }, "end": { - "line": 190, + "line": 227, "column": 49 } } } ], "range": [ - 6414, - 6487 + 6991, + 7064 ], "loc": { "start": { - "line": 189, + "line": 226, "column": 71 }, "end": { - "line": 191, + "line": 228, "column": 21 } } }, "alternate": null, "range": [ - 6363, - 6487 + 6940, + 7064 ], "loc": { "start": { - "line": 189, + "line": 226, "column": 20 }, "end": { - "line": 191, + "line": 228, "column": 21 } }, @@ -14312,16 +14120,16 @@ "type": "Line", "value": " checks if celldata is already in array", "range": [ - 6301, - 6342 + 6878, + 6919 ], "loc": { "start": { - "line": 188, + "line": 225, "column": 20 }, "end": { - "line": 188, + "line": 225, "column": 61 } } @@ -14337,16 +14145,16 @@ "type": "Identifier", "name": "isLinked", "range": [ - 6513, - 6521 + 7090, + 7098 ], "loc": { "start": { - "line": 193, + "line": 230, "column": 24 }, "end": { - "line": 193, + "line": 230, "column": 32 } } @@ -14358,16 +14166,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6525, - 6527 + 7102, + 7104 ], "loc": { "start": { - "line": 193, + "line": 230, "column": 36 }, "end": { - "line": 193, + "line": 230, "column": 38 } } @@ -14376,46 +14184,46 @@ "type": "Identifier", "name": "disableExcludedOptions", "range": [ - 6528, - 6550 + 7105, + 7127 ], "loc": { "start": { - "line": 193, + "line": 230, "column": 39 }, "end": { - "line": 193, + "line": 230, "column": 61 } } }, "range": [ - 6525, - 6550 + 7102, + 7127 ], "loc": { "start": { - "line": 193, + "line": 230, "column": 36 }, "end": { - "line": 193, + "line": 230, "column": 61 } } }, "range": [ - 6513, - 6550 + 7090, + 7127 ], "loc": { "start": { - "line": 193, + "line": 230, "column": 24 }, "end": { - "line": 193, + "line": 230, "column": 61 } } @@ -14432,16 +14240,16 @@ "type": "Identifier", "name": "filteredCol", "range": [ - 6582, - 6593 + 7159, + 7170 ], "loc": { "start": { - "line": 194, + "line": 231, "column": 28 }, "end": { - "line": 194, + "line": 231, "column": 39 } } @@ -14453,16 +14261,16 @@ "type": "Identifier", "name": "filteredDataCol", "range": [ - 6596, - 6611 + 7173, + 7188 ], "loc": { "start": { - "line": 194, + "line": 231, "column": 42 }, "end": { - "line": 194, + "line": 231, "column": 57 } } @@ -14471,46 +14279,46 @@ "type": "Identifier", "name": "j", "range": [ - 6612, - 6613 + 7189, + 7190 ], "loc": { "start": { - "line": 194, + "line": 231, "column": 58 }, "end": { - "line": 194, + "line": 231, "column": 59 } } }, "range": [ - 6596, - 6614 + 7173, + 7191 ], "loc": { "start": { - "line": 194, + "line": 231, "column": 42 }, "end": { - "line": 194, + "line": 231, "column": 60 } } }, "range": [ - 6582, - 6614 + 7159, + 7191 ], "loc": { "start": { - "line": 194, + "line": 231, "column": 28 }, "end": { - "line": 194, + "line": 231, "column": 60 } } @@ -14518,16 +14326,16 @@ ], "kind": "let", "range": [ - 6578, - 6615 + 7155, + 7192 ], "loc": { "start": { - "line": 194, + "line": 231, "column": 24 }, "end": { - "line": 194, + "line": 231, "column": 61 } } @@ -14541,32 +14349,32 @@ "type": "Identifier", "name": "filteredCol", "range": [ - 6645, - 6656 + 7222, + 7233 ], "loc": { "start": { - "line": 195, + "line": 232, "column": 29 }, "end": { - "line": 195, + "line": 232, "column": 40 } } }, "prefix": true, "range": [ - 6644, - 6656 + 7221, + 7233 ], "loc": { "start": { - "line": 195, + "line": 232, "column": 28 }, "end": { - "line": 195, + "line": 232, "column": 40 } } @@ -14583,16 +14391,16 @@ "type": "Identifier", "name": "filteredCol", "range": [ - 6688, - 6699 + 7265, + 7276 ], "loc": { "start": { - "line": 196, + "line": 233, "column": 28 }, "end": { - "line": 196, + "line": 233, "column": 39 } } @@ -14606,16 +14414,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6702, - 6704 + 7279, + 7281 ], "loc": { "start": { - "line": 196, + "line": 233, "column": 42 }, "end": { - "line": 196, + "line": 233, "column": 44 } } @@ -14624,31 +14432,31 @@ "type": "Identifier", "name": "getFilteredDataCol", "range": [ - 6705, - 6723 + 7282, + 7300 ], "loc": { "start": { - "line": 196, + "line": 233, "column": 45 }, "end": { - "line": 196, + "line": 233, "column": 63 } } }, "range": [ - 6702, - 6723 + 7279, + 7300 ], "loc": { "start": { - "line": 196, + "line": 233, "column": 42 }, "end": { - "line": 196, + "line": 233, "column": 63 } } @@ -14658,94 +14466,94 @@ "type": "Identifier", "name": "j", "range": [ - 6724, - 6725 + 7301, + 7302 ], "loc": { "start": { - "line": 196, + "line": 233, "column": 64 }, "end": { - "line": 196, + "line": 233, "column": 65 } } } ], "range": [ - 6702, - 6726 + 7279, + 7303 ], "loc": { "start": { - "line": 196, + "line": 233, "column": 42 }, "end": { - "line": 196, + "line": 233, "column": 66 } } }, "range": [ - 6688, - 6726 + 7265, + 7303 ], "loc": { "start": { - "line": 196, + "line": 233, "column": 28 }, "end": { - "line": 196, + "line": 233, "column": 66 } } }, "range": [ - 6688, - 6727 + 7265, + 7304 ], "loc": { "start": { - "line": 196, + "line": 233, "column": 28 }, "end": { - "line": 196, + "line": 233, "column": 67 } } } ], "range": [ - 6658, - 6753 + 7235, + 7330 ], "loc": { "start": { - "line": 195, + "line": 232, "column": 42 }, "end": { - "line": 197, + "line": 234, "column": 25 } } }, "alternate": null, "range": [ - 6640, - 6753 + 7217, + 7330 ], "loc": { "start": { - "line": 195, + "line": 232, "column": 24 }, "end": { - "line": 197, + "line": 234, "column": 25 } } @@ -14764,16 +14572,16 @@ "type": "Identifier", "name": "has", "range": [ - 6783, - 6786 + 7360, + 7363 ], "loc": { "start": { - "line": 198, + "line": 235, "column": 29 }, "end": { - "line": 198, + "line": 235, "column": 32 } } @@ -14783,16 +14591,16 @@ "type": "Identifier", "name": "filteredCol", "range": [ - 6787, - 6798 + 7364, + 7375 ], "loc": { "start": { - "line": 198, + "line": 235, "column": 33 }, "end": { - "line": 198, + "line": 235, "column": 44 } } @@ -14801,16 +14609,16 @@ "type": "Identifier", "name": "cellString", "range": [ - 6800, - 6810 + 7377, + 7387 ], "loc": { "start": { - "line": 198, + "line": 235, "column": 46 }, "end": { - "line": 198, + "line": 235, "column": 56 } } @@ -14822,16 +14630,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6812, - 6814 + 7389, + 7391 ], "loc": { "start": { - "line": 198, + "line": 235, "column": 58 }, "end": { - "line": 198, + "line": 235, "column": 60 } } @@ -14840,63 +14648,63 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 6815, - 6828 + 7392, + 7405 ], "loc": { "start": { - "line": 198, + "line": 235, "column": 61 }, "end": { - "line": 198, + "line": 235, "column": 74 } } }, "range": [ - 6812, - 6828 + 7389, + 7405 ], "loc": { "start": { - "line": 198, + "line": 235, "column": 58 }, "end": { - "line": 198, + "line": 235, "column": 74 } } } ], "range": [ - 6783, - 6829 + 7360, + 7406 ], "loc": { "start": { - "line": 198, + "line": 235, "column": 29 }, "end": { - "line": 198, + "line": 235, "column": 75 } } }, "prefix": true, "range": [ - 6782, - 6829 + 7359, + 7406 ], "loc": { "start": { - "line": 198, + "line": 235, "column": 28 }, "end": { - "line": 198, + "line": 235, "column": 75 } } @@ -14910,16 +14718,16 @@ "type": "Identifier", "name": "has", "range": [ - 6862, - 6865 + 7439, + 7442 ], "loc": { "start": { - "line": 199, + "line": 236, "column": 29 }, "end": { - "line": 199, + "line": 236, "column": 32 } } @@ -14929,16 +14737,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 6866, - 6878 + 7443, + 7455 ], "loc": { "start": { - "line": 199, + "line": 236, "column": 33 }, "end": { - "line": 199, + "line": 236, "column": 45 } } @@ -14947,16 +14755,16 @@ "type": "Identifier", "name": "cellString", "range": [ - 6880, - 6890 + 7457, + 7467 ], "loc": { "start": { - "line": 199, + "line": 236, "column": 47 }, "end": { - "line": 199, + "line": 236, "column": 57 } } @@ -14968,16 +14776,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6892, - 6894 + 7469, + 7471 ], "loc": { "start": { - "line": 199, + "line": 236, "column": 59 }, "end": { - "line": 199, + "line": 236, "column": 61 } } @@ -14986,78 +14794,78 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 6895, - 6908 + 7472, + 7485 ], "loc": { "start": { - "line": 199, + "line": 236, "column": 62 }, "end": { - "line": 199, + "line": 236, "column": 75 } } }, "range": [ - 6892, - 6908 + 7469, + 7485 ], "loc": { "start": { - "line": 199, + "line": 236, "column": 59 }, "end": { - "line": 199, + "line": 236, "column": 75 } } } ], "range": [ - 6862, - 6909 + 7439, + 7486 ], "loc": { "start": { - "line": 199, + "line": 236, "column": 29 }, "end": { - "line": 199, + "line": 236, "column": 76 } } }, "prefix": true, "range": [ - 6861, - 6909 + 7438, + 7486 ], "loc": { "start": { - "line": 199, + "line": 236, "column": 28 }, "end": { - "line": 199, + "line": 236, "column": 76 } } }, "range": [ - 6782, - 6909 + 7359, + 7486 ], "loc": { "start": { - "line": 198, + "line": 235, "column": 28 }, "end": { - "line": 199, + "line": 236, "column": 76 } } @@ -15076,16 +14884,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 6941, - 6953 + 7518, + 7530 ], "loc": { "start": { - "line": 200, + "line": 237, "column": 28 }, "end": { - "line": 200, + "line": 237, "column": 40 } } @@ -15094,31 +14902,31 @@ "type": "Identifier", "name": "push", "range": [ - 6954, - 6958 + 7531, + 7535 ], "loc": { "start": { - "line": 200, + "line": 237, "column": 41 }, "end": { - "line": 200, + "line": 237, "column": 45 } } }, "range": [ - 6941, - 6958 + 7518, + 7535 ], "loc": { "start": { - "line": 200, + "line": 237, "column": 28 }, "end": { - "line": 200, + "line": 237, "column": 45 } } @@ -15128,143 +14936,143 @@ "type": "Identifier", "name": "cellData", "range": [ - 6959, - 6967 + 7536, + 7544 ], "loc": { "start": { - "line": 200, + "line": 237, "column": 46 }, "end": { - "line": 200, + "line": 237, "column": 54 } } } ], "range": [ - 6941, - 6968 + 7518, + 7545 ], "loc": { "start": { - "line": 200, + "line": 237, "column": 28 }, "end": { - "line": 200, + "line": 237, "column": 55 } } }, "range": [ - 6941, - 6969 + 7518, + 7546 ], "loc": { "start": { - "line": 200, + "line": 237, "column": 28 }, "end": { - "line": 200, + "line": 237, "column": 56 } } } ], "range": [ - 6911, - 6995 + 7488, + 7572 ], "loc": { "start": { - "line": 199, + "line": 236, "column": 78 }, "end": { - "line": 201, + "line": 238, "column": 25 } } }, "alternate": null, "range": [ - 6778, - 6995 + 7355, + 7572 ], "loc": { "start": { - "line": 198, + "line": 235, "column": 24 }, "end": { - "line": 201, + "line": 238, "column": 25 } } } ], "range": [ - 6552, - 7017 + 7129, + 7594 ], "loc": { "start": { - "line": 193, + "line": 230, "column": 63 }, "end": { - "line": 202, + "line": 239, "column": 21 } } }, "alternate": null, "range": [ - 6509, - 7017 + 7086, + 7594 ], "loc": { "start": { - "line": 193, + "line": 230, "column": 20 }, "end": { - "line": 202, + "line": 239, "column": 21 } } } ], "range": [ - 6097, - 7035 + 6674, + 7612 ], "loc": { "start": { - "line": 183, + "line": 220, "column": 78 }, "end": { - "line": 203, + "line": 240, "column": 17 } } }, "alternate": null, "range": [ - 5386, - 7035 + 5963, + 7612 ], "loc": { "start": { - "line": 172, + "line": 209, "column": 16 }, "end": { - "line": 203, + "line": 240, "column": 17 } }, @@ -15273,16 +15081,16 @@ "type": "Line", "value": " WTF: cyclomatic complexity hell", "range": [ - 5290, - 5324 + 5867, + 5901 ], "loc": { "start": { - "line": 170, + "line": 207, "column": 16 }, "end": { - "line": 170, + "line": 207, "column": 50 } } @@ -15291,16 +15099,16 @@ "type": "Line", "value": " TODO: simplify hell below", "range": [ - 5341, - 5369 + 5918, + 5946 ], "loc": { "start": { - "line": 171, + "line": 208, "column": 16 }, "end": { - "line": 171, + "line": 208, "column": 44 } } @@ -15311,16 +15119,16 @@ "type": "Line", "value": "if colIndex==j", "range": [ - 7035, - 7051 + 7612, + 7628 ], "loc": { "start": { - "line": 203, + "line": 240, "column": 17 }, "end": { - "line": 203, + "line": 240, "column": 33 } } @@ -15329,31 +15137,31 @@ } ], "range": [ - 5272, - 7065 + 5849, + 7642 ], "loc": { "start": { - "line": 169, + "line": 206, "column": 46 }, "end": { - "line": 204, + "line": 241, "column": 13 } } }, "range": [ - 5238, - 7065 + 5815, + 7642 ], "loc": { "start": { - "line": 169, + "line": 206, "column": 12 }, "end": { - "line": 204, + "line": 241, "column": 13 } }, @@ -15362,16 +15170,16 @@ "type": "Line", "value": " this loop retrieves cell data", "range": [ - 5193, - 5225 + 5770, + 5802 ], "loc": { "start": { - "line": 168, + "line": 205, "column": 12 }, "end": { - "line": 168, + "line": 205, "column": 44 } } @@ -15382,16 +15190,16 @@ "type": "Line", "value": "for j", "range": [ - 7065, - 7072 + 7642, + 7649 ], "loc": { "start": { - "line": 204, + "line": 241, "column": 13 }, "end": { - "line": 204, + "line": 241, "column": 20 } } @@ -15400,31 +15208,31 @@ } ], "range": [ - 4743, - 7082 + 5320, + 7659 ], "loc": { "start": { - "line": 153, + "line": 190, "column": 49 }, "end": { - "line": 205, + "line": 242, "column": 9 } } }, "range": [ - 4702, - 7082 + 5279, + 7659 ], "loc": { "start": { - "line": 153, + "line": 190, "column": 8 }, "end": { - "line": 205, + "line": 242, "column": 9 } }, @@ -15433,16 +15241,16 @@ "type": "Line", "value": "for k", "range": [ - 7082, - 7089 + 7659, + 7666 ], "loc": { "start": { - "line": 205, + "line": 242, "column": 9 }, "end": { - "line": 205, + "line": 242, "column": 16 } } @@ -15451,16 +15259,16 @@ "type": "Line", "value": "Retrieves custom values", "range": [ - 7099, - 7124 + 7676, + 7701 ], "loc": { "start": { - "line": 207, + "line": 244, "column": 8 }, "end": { - "line": 207, + "line": 244, "column": 33 } } @@ -15475,16 +15283,16 @@ "object": { "type": "ThisExpression", "range": [ - 7137, - 7141 + 7714, + 7718 ], "loc": { "start": { - "line": 208, + "line": 245, "column": 12 }, "end": { - "line": 208, + "line": 245, "column": 16 } } @@ -15493,31 +15301,31 @@ "type": "Identifier", "name": "isCustom", "range": [ - 7142, - 7150 + 7719, + 7727 ], "loc": { "start": { - "line": 208, + "line": 245, "column": 17 }, "end": { - "line": 208, + "line": 245, "column": 25 } } }, "range": [ - 7137, - 7150 + 7714, + 7727 ], "loc": { "start": { - "line": 208, + "line": 245, "column": 12 }, "end": { - "line": 208, + "line": 245, "column": 25 } } @@ -15534,16 +15342,16 @@ "type": "Identifier", "name": "customValues", "range": [ - 7170, - 7182 + 7747, + 7759 ], "loc": { "start": { - "line": 209, + "line": 246, "column": 16 }, "end": { - "line": 209, + "line": 246, "column": 28 } } @@ -15557,16 +15365,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7185, - 7187 + 7762, + 7764 ], "loc": { "start": { - "line": 209, + "line": 246, "column": 31 }, "end": { - "line": 209, + "line": 246, "column": 33 } } @@ -15575,31 +15383,31 @@ "type": "Identifier", "name": "getCustomOptions", "range": [ - 7188, - 7204 + 7765, + 7781 ], "loc": { "start": { - "line": 209, + "line": 246, "column": 34 }, "end": { - "line": 209, + "line": 246, "column": 50 } } }, "range": [ - 7185, - 7204 + 7762, + 7781 ], "loc": { "start": { - "line": 209, + "line": 246, "column": 31 }, "end": { - "line": 209, + "line": 246, "column": 50 } } @@ -15609,47 +15417,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7205, - 7213 + 7782, + 7790 ], "loc": { "start": { - "line": 209, + "line": 246, "column": 51 }, "end": { - "line": 209, + "line": 246, "column": 59 } } } ], "range": [ - 7185, - 7214 + 7762, + 7791 ], "loc": { "start": { - "line": 209, + "line": 246, "column": 31 }, "end": { - "line": 209, + "line": 246, "column": 60 } } }, "range": [ - 7170, - 7214 + 7747, + 7791 ], "loc": { "start": { - "line": 209, + "line": 246, "column": 16 }, "end": { - "line": 209, + "line": 246, "column": 60 } } @@ -15657,16 +15465,16 @@ ], "kind": "let", "range": [ - 7166, - 7215 + 7743, + 7792 ], "loc": { "start": { - "line": 209, + "line": 246, "column": 12 }, "end": { - "line": 209, + "line": 246, "column": 61 } } @@ -15682,16 +15490,16 @@ "object": { "type": "ThisExpression", "range": [ - 7228, - 7232 + 7805, + 7809 ], "loc": { "start": { - "line": 210, + "line": 247, "column": 12 }, "end": { - "line": 210, + "line": 247, "column": 16 } } @@ -15700,31 +15508,31 @@ "type": "Identifier", "name": "opts", "range": [ - 7233, - 7237 + 7810, + 7814 ], "loc": { "start": { - "line": 210, + "line": 247, "column": 17 }, "end": { - "line": 210, + "line": 247, "column": 21 } } }, "range": [ - 7228, - 7237 + 7805, + 7814 ], "loc": { "start": { - "line": 210, + "line": 247, "column": 12 }, "end": { - "line": 210, + "line": 247, "column": 21 } } @@ -15736,16 +15544,16 @@ "type": "Identifier", "name": "customValues", "range": [ - 7240, - 7252 + 7817, + 7829 ], "loc": { "start": { - "line": 210, + "line": 247, "column": 24 }, "end": { - "line": 210, + "line": 247, "column": 36 } } @@ -15755,61 +15563,61 @@ "value": 0, "raw": "0", "range": [ - 7253, - 7254 + 7830, + 7831 ], "loc": { "start": { - "line": 210, + "line": 247, "column": 37 }, "end": { - "line": 210, + "line": 247, "column": 38 } } }, "range": [ - 7240, - 7255 + 7817, + 7832 ], "loc": { "start": { - "line": 210, + "line": 247, "column": 24 }, "end": { - "line": 210, + "line": 247, "column": 39 } } }, "range": [ - 7228, - 7255 + 7805, + 7832 ], "loc": { "start": { - "line": 210, + "line": 247, "column": 12 }, "end": { - "line": 210, + "line": 247, "column": 39 } } }, "range": [ - 7228, - 7256 + 7805, + 7833 ], "loc": { "start": { - "line": 210, + "line": 247, "column": 12 }, "end": { - "line": 210, + "line": 247, "column": 40 } } @@ -15825,16 +15633,16 @@ "object": { "type": "ThisExpression", "range": [ - 7269, - 7273 + 7846, + 7850 ], "loc": { "start": { - "line": 211, + "line": 248, "column": 12 }, "end": { - "line": 211, + "line": 248, "column": 16 } } @@ -15843,31 +15651,31 @@ "type": "Identifier", "name": "optsTxt", "range": [ - 7274, - 7281 + 7851, + 7858 ], "loc": { "start": { - "line": 211, + "line": 248, "column": 17 }, "end": { - "line": 211, + "line": 248, "column": 24 } } }, "range": [ - 7269, - 7281 + 7846, + 7858 ], "loc": { "start": { - "line": 211, + "line": 248, "column": 12 }, "end": { - "line": 211, + "line": 248, "column": 24 } } @@ -15879,16 +15687,16 @@ "type": "Identifier", "name": "customValues", "range": [ - 7284, - 7296 + 7861, + 7873 ], "loc": { "start": { - "line": 211, + "line": 248, "column": 27 }, "end": { - "line": 211, + "line": 248, "column": 39 } } @@ -15898,93 +15706,93 @@ "value": 1, "raw": "1", "range": [ - 7297, - 7298 + 7874, + 7875 ], "loc": { "start": { - "line": 211, + "line": 248, "column": 40 }, "end": { - "line": 211, + "line": 248, "column": 41 } } }, "range": [ - 7284, - 7299 + 7861, + 7876 ], "loc": { "start": { - "line": 211, + "line": 248, "column": 27 }, "end": { - "line": 211, + "line": 248, "column": 42 } } }, "range": [ - 7269, - 7299 + 7846, + 7876 ], "loc": { "start": { - "line": 211, + "line": 248, "column": 12 }, "end": { - "line": 211, + "line": 248, "column": 42 } } }, "range": [ - 7269, - 7300 + 7846, + 7877 ], "loc": { "start": { - "line": 211, + "line": 248, "column": 12 }, "end": { - "line": 211, + "line": 248, "column": 43 } } } ], "range": [ - 7152, - 7310 + 7729, + 7887 ], "loc": { "start": { - "line": 208, + "line": 245, "column": 27 }, "end": { - "line": 212, + "line": 249, "column": 9 } } }, "alternate": null, "range": [ - 7133, - 7310 + 7710, + 7887 ], "loc": { "start": { - "line": 208, + "line": 245, "column": 8 }, "end": { - "line": 212, + "line": 249, "column": 9 } }, @@ -15993,16 +15801,16 @@ "type": "Line", "value": "if colIndex==j", "range": [ - 7035, - 7051 + 7612, + 7628 ], "loc": { "start": { - "line": 203, + "line": 240, "column": 17 }, "end": { - "line": 203, + "line": 240, "column": 33 } } @@ -16011,16 +15819,16 @@ "type": "Line", "value": "for j", "range": [ - 7065, - 7072 + 7642, + 7649 ], "loc": { "start": { - "line": 204, + "line": 241, "column": 13 }, "end": { - "line": 204, + "line": 241, "column": 20 } } @@ -16029,16 +15837,16 @@ "type": "Line", "value": "for k", "range": [ - 7082, - 7089 + 7659, + 7666 ], "loc": { "start": { - "line": 205, + "line": 242, "column": 9 }, "end": { - "line": 205, + "line": 242, "column": 16 } } @@ -16047,16 +15855,16 @@ "type": "Line", "value": "Retrieves custom values", "range": [ - 7099, - 7124 + 7676, + 7701 ], "loc": { "start": { - "line": 207, + "line": 244, "column": 8 }, "end": { - "line": 207, + "line": 244, "column": 33 } } @@ -16075,16 +15883,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7324, - 7326 + 7901, + 7903 ], "loc": { "start": { - "line": 214, + "line": 251, "column": 12 }, "end": { - "line": 214, + "line": 251, "column": 14 } } @@ -16093,31 +15901,31 @@ "type": "Identifier", "name": "sortSlc", "range": [ - 7327, - 7334 + 7904, + 7911 ], "loc": { "start": { - "line": 214, + "line": 251, "column": 15 }, "end": { - "line": 214, + "line": 251, "column": 22 } } }, "range": [ - 7324, - 7334 + 7901, + 7911 ], "loc": { "start": { - "line": 214, + "line": 251, "column": 12 }, "end": { - "line": 214, + "line": 251, "column": 22 } } @@ -16131,16 +15939,16 @@ "object": { "type": "ThisExpression", "range": [ - 7339, - 7343 + 7916, + 7920 ], "loc": { "start": { - "line": 214, + "line": 251, "column": 27 }, "end": { - "line": 214, + "line": 251, "column": 31 } } @@ -16149,62 +15957,62 @@ "type": "Identifier", "name": "isCustom", "range": [ - 7344, - 7352 + 7921, + 7929 ], "loc": { "start": { - "line": 214, + "line": 251, "column": 32 }, "end": { - "line": 214, + "line": 251, "column": 40 } } }, "range": [ - 7339, - 7352 + 7916, + 7929 ], "loc": { "start": { - "line": 214, + "line": 251, "column": 27 }, "end": { - "line": 214, + "line": 251, "column": 40 } } }, "prefix": true, "range": [ - 7338, - 7352 + 7915, + 7929 ], "loc": { "start": { - "line": 214, + "line": 251, "column": 26 }, "end": { - "line": 214, + "line": 251, "column": 40 } } }, "range": [ - 7324, - 7352 + 7901, + 7929 ], "loc": { "start": { - "line": 214, + "line": 251, "column": 12 }, "end": { - "line": 214, + "line": 251, "column": 40 } } @@ -16224,16 +16032,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7373, - 7375 + 7950, + 7952 ], "loc": { "start": { - "line": 215, + "line": 252, "column": 17 }, "end": { - "line": 215, + "line": 252, "column": 19 } } @@ -16242,47 +16050,47 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 7376, - 7389 + 7953, + 7966 ], "loc": { "start": { - "line": 215, + "line": 252, "column": 20 }, "end": { - "line": 215, + "line": 252, "column": 33 } } }, "range": [ - 7373, - 7389 + 7950, + 7966 ], "loc": { "start": { - "line": 215, + "line": 252, "column": 17 }, "end": { - "line": 215, + "line": 252, "column": 33 } } }, "prefix": true, "range": [ - 7372, - 7389 + 7949, + 7966 ], "loc": { "start": { - "line": 215, + "line": 252, "column": 16 }, "end": { - "line": 215, + "line": 252, "column": 33 } } @@ -16303,16 +16111,16 @@ "object": { "type": "ThisExpression", "range": [ - 7409, - 7413 + 7986, + 7990 ], "loc": { "start": { - "line": 216, + "line": 253, "column": 16 }, "end": { - "line": 216, + "line": 253, "column": 20 } } @@ -16321,31 +16129,31 @@ "type": "Identifier", "name": "opts", "range": [ - 7414, - 7418 + 7991, + 7995 ], "loc": { "start": { - "line": 216, + "line": 253, "column": 21 }, "end": { - "line": 216, + "line": 253, "column": 25 } } }, "range": [ - 7409, - 7418 + 7986, + 7995 ], "loc": { "start": { - "line": 216, + "line": 253, "column": 16 }, "end": { - "line": 216, + "line": 253, "column": 25 } } @@ -16354,31 +16162,31 @@ "type": "Identifier", "name": "sort", "range": [ - 7419, - 7423 + 7996, + 8000 ], "loc": { "start": { - "line": 216, + "line": 253, "column": 26 }, "end": { - "line": 216, + "line": 253, "column": 30 } } }, "range": [ - 7409, - 7423 + 7986, + 8000 ], "loc": { "start": { - "line": 216, + "line": 253, "column": 16 }, "end": { - "line": 216, + "line": 253, "column": 30 } } @@ -16388,47 +16196,47 @@ "type": "Identifier", "name": "ignoreCase", "range": [ - 7424, - 7434 + 8001, + 8011 ], "loc": { "start": { - "line": 216, + "line": 253, "column": 31 }, "end": { - "line": 216, + "line": 253, "column": 41 } } } ], "range": [ - 7409, - 7435 + 7986, + 8012 ], "loc": { "start": { - "line": 216, + "line": 253, "column": 16 }, "end": { - "line": 216, + "line": 253, "column": 42 } } }, "range": [ - 7409, - 7436 + 7986, + 8013 ], "loc": { "start": { - "line": 216, + "line": 253, "column": 16 }, "end": { - "line": 216, + "line": 253, "column": 43 } } @@ -16439,16 +16247,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 7457, - 7469 + 8034, + 8046 ], "loc": { "start": { - "line": 217, + "line": 254, "column": 20 }, "end": { - "line": 217, + "line": 254, "column": 32 } } @@ -16467,16 +16275,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 7493, - 7505 + 8070, + 8082 ], "loc": { "start": { - "line": 218, + "line": 255, "column": 20 }, "end": { - "line": 218, + "line": 255, "column": 32 } } @@ -16485,31 +16293,31 @@ "type": "Identifier", "name": "sort", "range": [ - 7506, - 7510 + 8083, + 8087 ], "loc": { "start": { - "line": 218, + "line": 255, "column": 33 }, "end": { - "line": 218, + "line": 255, "column": 37 } } }, "range": [ - 7493, - 7510 + 8070, + 8087 ], "loc": { "start": { - "line": 218, + "line": 255, "column": 20 }, "end": { - "line": 218, + "line": 255, "column": 37 } } @@ -16519,95 +16327,95 @@ "type": "Identifier", "name": "ignoreCase", "range": [ - 7511, - 7521 + 8088, + 8098 ], "loc": { "start": { - "line": 218, + "line": 255, "column": 38 }, "end": { - "line": 218, + "line": 255, "column": 48 } } } ], "range": [ - 7493, - 7522 + 8070, + 8099 ], "loc": { "start": { - "line": 218, + "line": 255, "column": 20 }, "end": { - "line": 218, + "line": 255, "column": 49 } } }, "range": [ - 7493, - 7523 + 8070, + 8100 ], "loc": { "start": { - "line": 218, + "line": 255, "column": 20 }, "end": { - "line": 218, + "line": 255, "column": 50 } } } ], "range": [ - 7471, - 7541 + 8048, + 8118 ], "loc": { "start": { - "line": 217, + "line": 254, "column": 34 }, "end": { - "line": 219, + "line": 256, "column": 17 } } }, "alternate": null, "range": [ - 7453, - 7541 + 8030, + 8118 ], "loc": { "start": { - "line": 217, + "line": 254, "column": 16 }, "end": { - "line": 219, + "line": 256, "column": 17 } } } ], "range": [ - 7391, - 7555 + 7968, + 8132 ], "loc": { "start": { - "line": 215, + "line": 252, "column": 35 }, "end": { - "line": 220, + "line": 257, "column": 13 } } @@ -16628,16 +16436,16 @@ "object": { "type": "ThisExpression", "range": [ - 7579, - 7583 + 8156, + 8160 ], "loc": { "start": { - "line": 221, + "line": 258, "column": 16 }, "end": { - "line": 221, + "line": 258, "column": 20 } } @@ -16646,31 +16454,31 @@ "type": "Identifier", "name": "opts", "range": [ - 7584, - 7588 + 8161, + 8165 ], "loc": { "start": { - "line": 221, + "line": 258, "column": 21 }, "end": { - "line": 221, + "line": 258, "column": 25 } } }, "range": [ - 7579, - 7588 + 8156, + 8165 ], "loc": { "start": { - "line": 221, + "line": 258, "column": 16 }, "end": { - "line": 221, + "line": 258, "column": 25 } } @@ -16679,62 +16487,62 @@ "type": "Identifier", "name": "sort", "range": [ - 7589, - 7593 + 8166, + 8170 ], "loc": { "start": { - "line": 221, + "line": 258, "column": 26 }, "end": { - "line": 221, + "line": 258, "column": 30 } } }, "range": [ - 7579, - 7593 + 8156, + 8170 ], "loc": { "start": { - "line": 221, + "line": 258, "column": 16 }, "end": { - "line": 221, + "line": 258, "column": 30 } } }, "arguments": [], "range": [ - 7579, - 7595 + 8156, + 8172 ], "loc": { "start": { - "line": 221, + "line": 258, "column": 16 }, "end": { - "line": 221, + "line": 258, "column": 32 } } }, "range": [ - 7579, - 7596 + 8156, + 8173 ], "loc": { "start": { - "line": 221, + "line": 258, "column": 16 }, "end": { - "line": 221, + "line": 258, "column": 33 } } @@ -16745,16 +16553,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 7617, - 7629 + 8194, + 8206 ], "loc": { "start": { - "line": 222, + "line": 259, "column": 20 }, "end": { - "line": 222, + "line": 259, "column": 32 } } @@ -16773,16 +16581,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 7633, - 7645 + 8210, + 8222 ], "loc": { "start": { - "line": 222, + "line": 259, "column": 36 }, "end": { - "line": 222, + "line": 259, "column": 48 } } @@ -16791,157 +16599,157 @@ "type": "Identifier", "name": "sort", "range": [ - 7646, - 7650 + 8223, + 8227 ], "loc": { "start": { - "line": 222, + "line": 259, "column": 49 }, "end": { - "line": 222, + "line": 259, "column": 53 } } }, "range": [ - 7633, - 7650 + 8210, + 8227 ], "loc": { "start": { - "line": 222, + "line": 259, "column": 36 }, "end": { - "line": 222, + "line": 259, "column": 53 } } }, "arguments": [], "range": [ - 7633, - 7652 + 8210, + 8229 ], "loc": { "start": { - "line": 222, + "line": 259, "column": 36 }, "end": { - "line": 222, + "line": 259, "column": 55 } } }, "range": [ - 7633, - 7653 + 8210, + 8230 ], "loc": { "start": { - "line": 222, + "line": 259, "column": 36 }, "end": { - "line": 222, + "line": 259, "column": 56 } } } ], "range": [ - 7631, - 7655 + 8208, + 8232 ], "loc": { "start": { - "line": 222, + "line": 259, "column": 34 }, "end": { - "line": 222, + "line": 259, "column": 58 } } }, "alternate": null, "range": [ - 7613, - 7655 + 8190, + 8232 ], "loc": { "start": { - "line": 222, + "line": 259, "column": 16 }, "end": { - "line": 222, + "line": 259, "column": 58 } } } ], "range": [ - 7561, - 7669 + 8138, + 8246 ], "loc": { "start": { - "line": 220, + "line": 257, "column": 19 }, "end": { - "line": 223, + "line": 260, "column": 13 } } }, "range": [ - 7368, - 7669 + 7945, + 8246 ], "loc": { "start": { - "line": 215, + "line": 252, "column": 12 }, "end": { - "line": 223, + "line": 260, "column": 13 } } } ], "range": [ - 7354, - 7679 + 7931, + 8256 ], "loc": { "start": { - "line": 214, + "line": 251, "column": 42 }, "end": { - "line": 224, + "line": 261, "column": 9 } } }, "alternate": null, "range": [ - 7320, - 7679 + 7897, + 8256 ], "loc": { "start": { - "line": 214, + "line": 251, "column": 8 }, "end": { - "line": 224, + "line": 261, "column": 9 } }, @@ -16950,16 +16758,16 @@ "type": "Line", "value": "asc sort", "range": [ - 7689, - 7699 + 8266, + 8276 ], "loc": { "start": { - "line": 226, + "line": 263, "column": 8 }, "end": { - "line": 226, + "line": 263, "column": 18 } } @@ -16983,16 +16791,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7712, - 7714 + 8289, + 8291 ], "loc": { "start": { - "line": 227, + "line": 264, "column": 12 }, "end": { - "line": 227, + "line": 264, "column": 14 } } @@ -17001,31 +16809,31 @@ "type": "Identifier", "name": "sortNumAsc", "range": [ - 7715, - 7725 + 8292, + 8302 ], "loc": { "start": { - "line": 227, + "line": 264, "column": 15 }, "end": { - "line": 227, + "line": 264, "column": 25 } } }, "range": [ - 7712, - 7725 + 8289, + 8302 ], "loc": { "start": { - "line": 227, + "line": 264, "column": 12 }, "end": { - "line": 227, + "line": 264, "column": 25 } } @@ -17034,31 +16842,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 7726, - 7733 + 8303, + 8310 ], "loc": { "start": { - "line": 227, + "line": 264, "column": 26 }, "end": { - "line": 227, + "line": 264, "column": 33 } } }, "range": [ - 7712, - 7733 + 8289, + 8310 ], "loc": { "start": { - "line": 227, + "line": 264, "column": 12 }, "end": { - "line": 227, + "line": 264, "column": 33 } } @@ -17068,32 +16876,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7734, - 7742 + 8311, + 8319 ], "loc": { "start": { - "line": 227, + "line": 264, "column": 34 }, "end": { - "line": 227, + "line": 264, "column": 42 } } } ], "range": [ - 7712, - 7743 + 8289, + 8320 ], "loc": { "start": { - "line": 227, + "line": 264, "column": 12 }, "end": { - "line": 227, + "line": 264, "column": 43 } } @@ -17106,47 +16914,47 @@ "value": 1, "raw": "1", "range": [ - 7749, - 7750 + 8326, + 8327 ], "loc": { "start": { - "line": 227, + "line": 264, "column": 49 }, "end": { - "line": 227, + "line": 264, "column": 50 } } }, "prefix": true, "range": [ - 7748, - 7750 + 8325, + 8327 ], "loc": { "start": { - "line": 227, + "line": 264, "column": 48 }, "end": { - "line": 227, + "line": 264, "column": 50 } } }, "range": [ - 7712, - 7750 + 8289, + 8327 ], "loc": { "start": { - "line": 227, + "line": 264, "column": 12 }, "end": { - "line": 227, + "line": 264, "column": 50 } } @@ -17172,16 +16980,16 @@ "object": { "type": "ThisExpression", "range": [ - 7788, - 7792 + 8365, + 8369 ], "loc": { "start": { - "line": 229, + "line": 266, "column": 16 }, "end": { - "line": 229, + "line": 266, "column": 20 } } @@ -17190,31 +16998,31 @@ "type": "Identifier", "name": "opts", "range": [ - 7793, - 7797 + 8370, + 8374 ], "loc": { "start": { - "line": 229, + "line": 266, "column": 21 }, "end": { - "line": 229, + "line": 266, "column": 25 } } }, "range": [ - 7788, - 7797 + 8365, + 8374 ], "loc": { "start": { - "line": 229, + "line": 266, "column": 16 }, "end": { - "line": 229, + "line": 266, "column": 25 } } @@ -17223,31 +17031,31 @@ "type": "Identifier", "name": "sort", "range": [ - 7798, - 7802 + 8375, + 8379 ], "loc": { "start": { - "line": 229, + "line": 266, "column": 26 }, "end": { - "line": 229, + "line": 266, "column": 30 } } }, "range": [ - 7788, - 7802 + 8365, + 8379 ], "loc": { "start": { - "line": 229, + "line": 266, "column": 16 }, "end": { - "line": 229, + "line": 266, "column": 30 } } @@ -17257,47 +17065,47 @@ "type": "Identifier", "name": "numSortAsc", "range": [ - 7803, - 7813 + 8380, + 8390 ], "loc": { "start": { - "line": 229, + "line": 266, "column": 31 }, "end": { - "line": 229, + "line": 266, "column": 41 } } } ], "range": [ - 7788, - 7814 + 8365, + 8391 ], "loc": { "start": { - "line": 229, + "line": 266, "column": 16 }, "end": { - "line": 229, + "line": 266, "column": 42 } } }, "range": [ - 7788, - 7815 + 8365, + 8392 ], "loc": { "start": { - "line": 229, + "line": 266, "column": 16 }, "end": { - "line": 229, + "line": 266, "column": 43 } } @@ -17308,16 +17116,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 7836, - 7848 + 8413, + 8425 ], "loc": { "start": { - "line": 230, + "line": 267, "column": 20 }, "end": { - "line": 230, + "line": 267, "column": 32 } } @@ -17336,16 +17144,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 7872, - 7884 + 8449, + 8461 ], "loc": { "start": { - "line": 231, + "line": 268, "column": 20 }, "end": { - "line": 231, + "line": 268, "column": 32 } } @@ -17354,31 +17162,31 @@ "type": "Identifier", "name": "sort", "range": [ - 7885, - 7889 + 8462, + 8466 ], "loc": { "start": { - "line": 231, + "line": 268, "column": 33 }, "end": { - "line": 231, + "line": 268, "column": 37 } } }, "range": [ - 7872, - 7889 + 8449, + 8466 ], "loc": { "start": { - "line": 231, + "line": 268, "column": 20 }, "end": { - "line": 231, + "line": 268, "column": 37 } } @@ -17388,79 +17196,79 @@ "type": "Identifier", "name": "numSortAsc", "range": [ - 7890, - 7900 + 8467, + 8477 ], "loc": { "start": { - "line": 231, + "line": 268, "column": 38 }, "end": { - "line": 231, + "line": 268, "column": 48 } } } ], "range": [ - 7872, - 7901 + 8449, + 8478 ], "loc": { "start": { - "line": 231, + "line": 268, "column": 20 }, "end": { - "line": 231, + "line": 268, "column": 49 } } }, "range": [ - 7872, - 7902 + 8449, + 8479 ], "loc": { "start": { - "line": 231, + "line": 268, "column": 20 }, "end": { - "line": 231, + "line": 268, "column": 50 } } } ], "range": [ - 7850, - 7920 + 8427, + 8497 ], "loc": { "start": { - "line": 230, + "line": 267, "column": 34 }, "end": { - "line": 232, + "line": 269, "column": 17 } } }, "alternate": null, "range": [ - 7832, - 7920 + 8409, + 8497 ], "loc": { "start": { - "line": 230, + "line": 267, "column": 16 }, "end": { - "line": 232, + "line": 269, "column": 17 } } @@ -17473,16 +17281,16 @@ "object": { "type": "ThisExpression", "range": [ - 7941, - 7945 + 8518, + 8522 ], "loc": { "start": { - "line": 233, + "line": 270, "column": 20 }, "end": { - "line": 233, + "line": 270, "column": 24 } } @@ -17491,31 +17299,31 @@ "type": "Identifier", "name": "isCustom", "range": [ - 7946, - 7954 + 8523, + 8531 ], "loc": { "start": { - "line": 233, + "line": 270, "column": 25 }, "end": { - "line": 233, + "line": 270, "column": 33 } } }, "range": [ - 7941, - 7954 + 8518, + 8531 ], "loc": { "start": { - "line": 233, + "line": 270, "column": 20 }, "end": { - "line": 233, + "line": 270, "column": 33 } } @@ -17536,16 +17344,16 @@ "object": { "type": "ThisExpression", "range": [ - 7978, - 7982 + 8555, + 8559 ], "loc": { "start": { - "line": 234, + "line": 271, "column": 20 }, "end": { - "line": 234, + "line": 271, "column": 24 } } @@ -17554,31 +17362,31 @@ "type": "Identifier", "name": "optsTxt", "range": [ - 7983, - 7990 + 8560, + 8567 ], "loc": { "start": { - "line": 234, + "line": 271, "column": 25 }, "end": { - "line": 234, + "line": 271, "column": 32 } } }, "range": [ - 7978, - 7990 + 8555, + 8567 ], "loc": { "start": { - "line": 234, + "line": 271, "column": 20 }, "end": { - "line": 234, + "line": 271, "column": 32 } } @@ -17587,31 +17395,31 @@ "type": "Identifier", "name": "sort", "range": [ - 7991, - 7995 + 8568, + 8572 ], "loc": { "start": { - "line": 234, + "line": 271, "column": 33 }, "end": { - "line": 234, + "line": 271, "column": 37 } } }, "range": [ - 7978, - 7995 + 8555, + 8572 ], "loc": { "start": { - "line": 234, + "line": 271, "column": 20 }, "end": { - "line": 234, + "line": 271, "column": 37 } } @@ -17621,95 +17429,95 @@ "type": "Identifier", "name": "numSortAsc", "range": [ - 7996, - 8006 + 8573, + 8583 ], "loc": { "start": { - "line": 234, + "line": 271, "column": 38 }, "end": { - "line": 234, + "line": 271, "column": 48 } } } ], "range": [ - 7978, - 8007 + 8555, + 8584 ], "loc": { "start": { - "line": 234, + "line": 271, "column": 20 }, "end": { - "line": 234, + "line": 271, "column": 49 } } }, "range": [ - 7978, - 8008 + 8555, + 8585 ], "loc": { "start": { - "line": 234, + "line": 271, "column": 20 }, "end": { - "line": 234, + "line": 271, "column": 50 } } } ], "range": [ - 7956, - 8026 + 8533, + 8603 ], "loc": { "start": { - "line": 233, + "line": 270, "column": 35 }, "end": { - "line": 235, + "line": 272, "column": 17 } } }, "alternate": null, "range": [ - 7937, - 8026 + 8514, + 8603 ], "loc": { "start": { - "line": 233, + "line": 270, "column": 16 }, "end": { - "line": 235, + "line": 272, "column": 17 } } } ], "range": [ - 7770, - 8040 + 8347, + 8617 ], "loc": { "start": { - "line": 228, + "line": 265, "column": 16 }, "end": { - "line": 236, + "line": 273, "column": 13 } } @@ -17720,16 +17528,16 @@ "type": "Identifier", "name": "e", "range": [ - 8048, - 8049 + 8625, + 8626 ], "loc": { "start": { - "line": 236, + "line": 273, "column": 21 }, "end": { - "line": 236, + "line": 273, "column": 22 } } @@ -17745,16 +17553,16 @@ "type": "Identifier", "name": "Error", "range": [ - 8079, - 8084 + 8656, + 8661 ], "loc": { "start": { - "line": 237, + "line": 274, "column": 26 }, "end": { - "line": 237, + "line": 274, "column": 31 } } @@ -17774,16 +17582,16 @@ "type": "Identifier", "name": "SORT_ERROR", "range": [ - 8085, - 8095 + 8662, + 8672 ], "loc": { "start": { - "line": 237, + "line": 274, "column": 32 }, "end": { - "line": 237, + "line": 274, "column": 42 } } @@ -17792,31 +17600,31 @@ "type": "Identifier", "name": "replace", "range": [ - 8096, - 8103 + 8673, + 8680 ], "loc": { "start": { - "line": 237, + "line": 274, "column": 43 }, "end": { - "line": 237, + "line": 274, "column": 50 } } }, "range": [ - 8085, - 8103 + 8662, + 8680 ], "loc": { "start": { - "line": 237, + "line": 274, "column": 32 }, "end": { - "line": 237, + "line": 274, "column": 50 } } @@ -17827,16 +17635,16 @@ "value": "{0}", "raw": "'{0}'", "range": [ - 8104, - 8109 + 8681, + 8686 ], "loc": { "start": { - "line": 237, + "line": 274, "column": 51 }, "end": { - "line": 237, + "line": 274, "column": 56 } } @@ -17845,32 +17653,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 8111, - 8119 + 8688, + 8696 ], "loc": { "start": { - "line": 237, + "line": 274, "column": 58 }, "end": { - "line": 237, + "line": 274, "column": 66 } } } ], "range": [ - 8085, - 8120 + 8662, + 8697 ], "loc": { "start": { - "line": 237, + "line": 274, "column": 32 }, "end": { - "line": 237, + "line": 274, "column": 67 } } @@ -17879,31 +17687,31 @@ "type": "Identifier", "name": "replace", "range": [ - 8142, - 8149 + 8719, + 8726 ], "loc": { "start": { - "line": 238, + "line": 275, "column": 21 }, "end": { - "line": 238, + "line": 275, "column": 28 } } }, "range": [ - 8085, - 8149 + 8662, + 8726 ], "loc": { "start": { - "line": 237, + "line": 274, "column": 32 }, "end": { - "line": 238, + "line": 275, "column": 28 } } @@ -17914,16 +17722,16 @@ "value": "{1}", "raw": "'{1}'", "range": [ - 8150, - 8155 + 8727, + 8732 ], "loc": { "start": { - "line": 238, + "line": 275, "column": 29 }, "end": { - "line": 238, + "line": 275, "column": 34 } } @@ -17933,110 +17741,110 @@ "value": "ascending", "raw": "'ascending'", "range": [ - 8157, - 8168 + 8734, + 8745 ], "loc": { "start": { - "line": 238, + "line": 275, "column": 36 }, "end": { - "line": 238, + "line": 275, "column": 47 } } } ], "range": [ - 8085, - 8169 + 8662, + 8746 ], "loc": { "start": { - "line": 237, + "line": 274, "column": 32 }, "end": { - "line": 238, + "line": 275, "column": 48 } } } ], "range": [ - 8075, - 8170 + 8652, + 8747 ], "loc": { "start": { - "line": 237, + "line": 274, "column": 22 }, "end": { - "line": 238, + "line": 275, "column": 49 } } }, "range": [ - 8069, - 8171 + 8646, + 8748 ], "loc": { "start": { - "line": 237, + "line": 274, "column": 16 }, "end": { - "line": 238, + "line": 275, "column": 50 } } } ], "range": [ - 8051, - 8185 + 8628, + 8762 ], "loc": { "start": { - "line": 236, + "line": 273, "column": 24 }, "end": { - "line": 239, + "line": 276, "column": 13 } } }, "range": [ - 8041, - 8185 + 8618, + 8762 ], "loc": { "start": { - "line": 236, + "line": 273, "column": 14 }, "end": { - "line": 239, + "line": 276, "column": 13 } } }, "finalizer": null, "range": [ - 7766, - 8185 + 8343, + 8762 ], "loc": { "start": { - "line": 228, + "line": 265, "column": 12 }, "end": { - "line": 239, + "line": 276, "column": 13 } }, @@ -18045,16 +17853,16 @@ "type": "Line", "value": "in case there are alphanumeric values", "range": [ - 8185, - 8224 + 8762, + 8801 ], "loc": { "start": { - "line": 239, + "line": 276, "column": 13 }, "end": { - "line": 239, + "line": 276, "column": 52 } } @@ -18063,32 +17871,32 @@ } ], "range": [ - 7752, - 8234 + 8329, + 8811 ], "loc": { "start": { - "line": 227, + "line": 264, "column": 52 }, "end": { - "line": 240, + "line": 277, "column": 9 } } }, "alternate": null, "range": [ - 7708, - 8234 + 8285, + 8811 ], "loc": { "start": { - "line": 227, + "line": 264, "column": 8 }, "end": { - "line": 240, + "line": 277, "column": 9 } }, @@ -18097,16 +17905,16 @@ "type": "Line", "value": "asc sort", "range": [ - 7689, - 7699 + 8266, + 8276 ], "loc": { "start": { - "line": 226, + "line": 263, "column": 8 }, "end": { - "line": 226, + "line": 263, "column": 18 } } @@ -18117,16 +17925,16 @@ "type": "Line", "value": "desc sort", "range": [ - 8243, - 8254 + 8820, + 8831 ], "loc": { "start": { - "line": 241, + "line": 278, "column": 8 }, "end": { - "line": 241, + "line": 278, "column": 19 } } @@ -18150,16 +17958,16 @@ "type": "Identifier", "name": "tf", "range": [ - 8267, - 8269 + 8844, + 8846 ], "loc": { "start": { - "line": 242, + "line": 279, "column": 12 }, "end": { - "line": 242, + "line": 279, "column": 14 } } @@ -18168,31 +17976,31 @@ "type": "Identifier", "name": "sortNumDesc", "range": [ - 8270, - 8281 + 8847, + 8858 ], "loc": { "start": { - "line": 242, + "line": 279, "column": 15 }, "end": { - "line": 242, + "line": 279, "column": 26 } } }, "range": [ - 8267, - 8281 + 8844, + 8858 ], "loc": { "start": { - "line": 242, + "line": 279, "column": 12 }, "end": { - "line": 242, + "line": 279, "column": 26 } } @@ -18201,31 +18009,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 8282, - 8289 + 8859, + 8866 ], "loc": { "start": { - "line": 242, + "line": 279, "column": 27 }, "end": { - "line": 242, + "line": 279, "column": 34 } } }, "range": [ - 8267, - 8289 + 8844, + 8866 ], "loc": { "start": { - "line": 242, + "line": 279, "column": 12 }, "end": { - "line": 242, + "line": 279, "column": 34 } } @@ -18235,32 +18043,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 8290, - 8298 + 8867, + 8875 ], "loc": { "start": { - "line": 242, + "line": 279, "column": 35 }, "end": { - "line": 242, + "line": 279, "column": 43 } } } ], "range": [ - 8267, - 8299 + 8844, + 8876 ], "loc": { "start": { - "line": 242, + "line": 279, "column": 12 }, "end": { - "line": 242, + "line": 279, "column": 44 } } @@ -18273,47 +18081,47 @@ "value": 1, "raw": "1", "range": [ - 8305, - 8306 + 8882, + 8883 ], "loc": { "start": { - "line": 242, + "line": 279, "column": 50 }, "end": { - "line": 242, + "line": 279, "column": 51 } } }, "prefix": true, "range": [ - 8304, - 8306 + 8881, + 8883 ], "loc": { "start": { - "line": 242, + "line": 279, "column": 49 }, "end": { - "line": 242, + "line": 279, "column": 51 } } }, "range": [ - 8267, - 8306 + 8844, + 8883 ], "loc": { "start": { - "line": 242, + "line": 279, "column": 12 }, "end": { - "line": 242, + "line": 279, "column": 51 } } @@ -18339,16 +18147,16 @@ "object": { "type": "ThisExpression", "range": [ - 8344, - 8348 + 8921, + 8925 ], "loc": { "start": { - "line": 244, + "line": 281, "column": 16 }, "end": { - "line": 244, + "line": 281, "column": 20 } } @@ -18357,31 +18165,31 @@ "type": "Identifier", "name": "opts", "range": [ - 8349, - 8353 + 8926, + 8930 ], "loc": { "start": { - "line": 244, + "line": 281, "column": 21 }, "end": { - "line": 244, + "line": 281, "column": 25 } } }, "range": [ - 8344, - 8353 + 8921, + 8930 ], "loc": { "start": { - "line": 244, + "line": 281, "column": 16 }, "end": { - "line": 244, + "line": 281, "column": 25 } } @@ -18390,31 +18198,31 @@ "type": "Identifier", "name": "sort", "range": [ - 8354, - 8358 + 8931, + 8935 ], "loc": { "start": { - "line": 244, + "line": 281, "column": 26 }, "end": { - "line": 244, + "line": 281, "column": 30 } } }, "range": [ - 8344, - 8358 + 8921, + 8935 ], "loc": { "start": { - "line": 244, + "line": 281, "column": 16 }, "end": { - "line": 244, + "line": 281, "column": 30 } } @@ -18424,47 +18232,47 @@ "type": "Identifier", "name": "numSortDesc", "range": [ - 8359, - 8370 + 8936, + 8947 ], "loc": { "start": { - "line": 244, + "line": 281, "column": 31 }, "end": { - "line": 244, + "line": 281, "column": 42 } } } ], "range": [ - 8344, - 8371 + 8921, + 8948 ], "loc": { "start": { - "line": 244, + "line": 281, "column": 16 }, "end": { - "line": 244, + "line": 281, "column": 43 } } }, "range": [ - 8344, - 8372 + 8921, + 8949 ], "loc": { "start": { - "line": 244, + "line": 281, "column": 16 }, "end": { - "line": 244, + "line": 281, "column": 44 } } @@ -18475,16 +18283,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 8393, - 8405 + 8970, + 8982 ], "loc": { "start": { - "line": 245, + "line": 282, "column": 20 }, "end": { - "line": 245, + "line": 282, "column": 32 } } @@ -18503,16 +18311,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 8429, - 8441 + 9006, + 9018 ], "loc": { "start": { - "line": 246, + "line": 283, "column": 20 }, "end": { - "line": 246, + "line": 283, "column": 32 } } @@ -18521,31 +18329,31 @@ "type": "Identifier", "name": "sort", "range": [ - 8442, - 8446 + 9019, + 9023 ], "loc": { "start": { - "line": 246, + "line": 283, "column": 33 }, "end": { - "line": 246, + "line": 283, "column": 37 } } }, "range": [ - 8429, - 8446 + 9006, + 9023 ], "loc": { "start": { - "line": 246, + "line": 283, "column": 20 }, "end": { - "line": 246, + "line": 283, "column": 37 } } @@ -18555,79 +18363,79 @@ "type": "Identifier", "name": "numSortDesc", "range": [ - 8447, - 8458 + 9024, + 9035 ], "loc": { "start": { - "line": 246, + "line": 283, "column": 38 }, "end": { - "line": 246, + "line": 283, "column": 49 } } } ], "range": [ - 8429, - 8459 + 9006, + 9036 ], "loc": { "start": { - "line": 246, + "line": 283, "column": 20 }, "end": { - "line": 246, + "line": 283, "column": 50 } } }, "range": [ - 8429, - 8460 + 9006, + 9037 ], "loc": { "start": { - "line": 246, + "line": 283, "column": 20 }, "end": { - "line": 246, + "line": 283, "column": 51 } } } ], "range": [ - 8407, - 8478 + 8984, + 9055 ], "loc": { "start": { - "line": 245, + "line": 282, "column": 34 }, "end": { - "line": 247, + "line": 284, "column": 17 } } }, "alternate": null, "range": [ - 8389, - 8478 + 8966, + 9055 ], "loc": { "start": { - "line": 245, + "line": 282, "column": 16 }, "end": { - "line": 247, + "line": 284, "column": 17 } } @@ -18640,16 +18448,16 @@ "object": { "type": "ThisExpression", "range": [ - 8499, - 8503 + 9076, + 9080 ], "loc": { "start": { - "line": 248, + "line": 285, "column": 20 }, "end": { - "line": 248, + "line": 285, "column": 24 } } @@ -18658,31 +18466,31 @@ "type": "Identifier", "name": "isCustom", "range": [ - 8504, - 8512 + 9081, + 9089 ], "loc": { "start": { - "line": 248, + "line": 285, "column": 25 }, "end": { - "line": 248, + "line": 285, "column": 33 } } }, "range": [ - 8499, - 8512 + 9076, + 9089 ], "loc": { "start": { - "line": 248, + "line": 285, "column": 20 }, "end": { - "line": 248, + "line": 285, "column": 33 } } @@ -18703,16 +18511,16 @@ "object": { "type": "ThisExpression", "range": [ - 8536, - 8540 + 9113, + 9117 ], "loc": { "start": { - "line": 249, + "line": 286, "column": 20 }, "end": { - "line": 249, + "line": 286, "column": 24 } } @@ -18721,31 +18529,31 @@ "type": "Identifier", "name": "optsTxt", "range": [ - 8541, - 8548 + 9118, + 9125 ], "loc": { "start": { - "line": 249, + "line": 286, "column": 25 }, "end": { - "line": 249, + "line": 286, "column": 32 } } }, "range": [ - 8536, - 8548 + 9113, + 9125 ], "loc": { "start": { - "line": 249, + "line": 286, "column": 20 }, "end": { - "line": 249, + "line": 286, "column": 32 } } @@ -18754,31 +18562,31 @@ "type": "Identifier", "name": "sort", "range": [ - 8549, - 8553 + 9126, + 9130 ], "loc": { "start": { - "line": 249, + "line": 286, "column": 33 }, "end": { - "line": 249, + "line": 286, "column": 37 } } }, "range": [ - 8536, - 8553 + 9113, + 9130 ], "loc": { "start": { - "line": 249, + "line": 286, "column": 20 }, "end": { - "line": 249, + "line": 286, "column": 37 } } @@ -18788,95 +18596,95 @@ "type": "Identifier", "name": "numSortDesc", "range": [ - 8554, - 8565 + 9131, + 9142 ], "loc": { "start": { - "line": 249, + "line": 286, "column": 38 }, "end": { - "line": 249, + "line": 286, "column": 49 } } } ], "range": [ - 8536, - 8566 + 9113, + 9143 ], "loc": { "start": { - "line": 249, + "line": 286, "column": 20 }, "end": { - "line": 249, + "line": 286, "column": 50 } } }, "range": [ - 8536, - 8567 + 9113, + 9144 ], "loc": { "start": { - "line": 249, + "line": 286, "column": 20 }, "end": { - "line": 249, + "line": 286, "column": 51 } } } ], "range": [ - 8514, - 8585 + 9091, + 9162 ], "loc": { "start": { - "line": 248, + "line": 285, "column": 35 }, "end": { - "line": 250, + "line": 287, "column": 17 } } }, "alternate": null, "range": [ - 8495, - 8585 + 9072, + 9162 ], "loc": { "start": { - "line": 248, + "line": 285, "column": 16 }, "end": { - "line": 250, + "line": 287, "column": 17 } } } ], "range": [ - 8326, - 8599 + 8903, + 9176 ], "loc": { "start": { - "line": 243, + "line": 280, "column": 16 }, "end": { - "line": 251, + "line": 288, "column": 13 } } @@ -18887,16 +18695,16 @@ "type": "Identifier", "name": "e", "range": [ - 8607, - 8608 + 9184, + 9185 ], "loc": { "start": { - "line": 251, + "line": 288, "column": 21 }, "end": { - "line": 251, + "line": 288, "column": 22 } } @@ -18912,16 +18720,16 @@ "type": "Identifier", "name": "Error", "range": [ - 8638, - 8643 + 9215, + 9220 ], "loc": { "start": { - "line": 252, + "line": 289, "column": 26 }, "end": { - "line": 252, + "line": 289, "column": 31 } } @@ -18941,16 +18749,16 @@ "type": "Identifier", "name": "SORT_ERROR", "range": [ - 8644, - 8654 + 9221, + 9231 ], "loc": { "start": { - "line": 252, + "line": 289, "column": 32 }, "end": { - "line": 252, + "line": 289, "column": 42 } } @@ -18959,31 +18767,31 @@ "type": "Identifier", "name": "replace", "range": [ - 8655, - 8662 + 9232, + 9239 ], "loc": { "start": { - "line": 252, + "line": 289, "column": 43 }, "end": { - "line": 252, + "line": 289, "column": 50 } } }, "range": [ - 8644, - 8662 + 9221, + 9239 ], "loc": { "start": { - "line": 252, + "line": 289, "column": 32 }, "end": { - "line": 252, + "line": 289, "column": 50 } } @@ -18994,16 +18802,16 @@ "value": "{0}", "raw": "'{0}'", "range": [ - 8663, - 8668 + 9240, + 9245 ], "loc": { "start": { - "line": 252, + "line": 289, "column": 51 }, "end": { - "line": 252, + "line": 289, "column": 56 } } @@ -19012,32 +18820,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 8670, - 8678 + 9247, + 9255 ], "loc": { "start": { - "line": 252, + "line": 289, "column": 58 }, "end": { - "line": 252, + "line": 289, "column": 66 } } } ], "range": [ - 8644, - 8679 + 9221, + 9256 ], "loc": { "start": { - "line": 252, + "line": 289, "column": 32 }, "end": { - "line": 252, + "line": 289, "column": 67 } } @@ -19046,31 +18854,31 @@ "type": "Identifier", "name": "replace", "range": [ - 8701, - 8708 + 9278, + 9285 ], "loc": { "start": { - "line": 253, + "line": 290, "column": 21 }, "end": { - "line": 253, + "line": 290, "column": 28 } } }, "range": [ - 8644, - 8708 + 9221, + 9285 ], "loc": { "start": { - "line": 252, + "line": 289, "column": 32 }, "end": { - "line": 253, + "line": 290, "column": 28 } } @@ -19081,16 +18889,16 @@ "value": "{1}", "raw": "'{1}'", "range": [ - 8709, - 8714 + 9286, + 9291 ], "loc": { "start": { - "line": 253, + "line": 290, "column": 29 }, "end": { - "line": 253, + "line": 290, "column": 34 } } @@ -19100,110 +18908,110 @@ "value": "ascending", "raw": "'ascending'", "range": [ - 8716, - 8727 + 9293, + 9304 ], "loc": { "start": { - "line": 253, + "line": 290, "column": 36 }, "end": { - "line": 253, + "line": 290, "column": 47 } } } ], "range": [ - 8644, - 8728 + 9221, + 9305 ], "loc": { "start": { - "line": 252, + "line": 289, "column": 32 }, "end": { - "line": 253, + "line": 290, "column": 48 } } } ], "range": [ - 8634, - 8729 + 9211, + 9306 ], "loc": { "start": { - "line": 252, + "line": 289, "column": 22 }, "end": { - "line": 253, + "line": 290, "column": 49 } } }, "range": [ - 8628, - 8730 + 9205, + 9307 ], "loc": { "start": { - "line": 252, + "line": 289, "column": 16 }, "end": { - "line": 253, + "line": 290, "column": 50 } } } ], "range": [ - 8610, - 8744 + 9187, + 9321 ], "loc": { "start": { - "line": 251, + "line": 288, "column": 24 }, "end": { - "line": 254, + "line": 291, "column": 13 } } }, "range": [ - 8600, - 8744 + 9177, + 9321 ], "loc": { "start": { - "line": 251, + "line": 288, "column": 14 }, "end": { - "line": 254, + "line": 291, "column": 13 } } }, "finalizer": null, "range": [ - 8322, - 8744 + 8899, + 9321 ], "loc": { "start": { - "line": 243, + "line": 280, "column": 12 }, "end": { - "line": 254, + "line": 291, "column": 13 } }, @@ -19212,16 +19020,16 @@ "type": "Line", "value": "in case there are alphanumeric values", "range": [ - 8744, - 8783 + 9321, + 9360 ], "loc": { "start": { - "line": 254, + "line": 291, "column": 13 }, "end": { - "line": 254, + "line": 291, "column": 52 } } @@ -19230,32 +19038,32 @@ } ], "range": [ - 8308, - 8793 + 8885, + 9370 ], "loc": { "start": { - "line": 242, + "line": 279, "column": 53 }, "end": { - "line": 255, + "line": 292, "column": 9 } } }, "alternate": null, "range": [ - 8263, - 8793 + 8840, + 9370 ], "loc": { "start": { - "line": 242, + "line": 279, "column": 8 }, "end": { - "line": 255, + "line": 292, "column": 9 } }, @@ -19264,16 +19072,16 @@ "type": "Line", "value": "in case there are alphanumeric values", "range": [ - 8185, - 8224 + 8762, + 8801 ], "loc": { "start": { - "line": 239, + "line": 276, "column": 13 }, "end": { - "line": 239, + "line": 276, "column": 52 } } @@ -19282,16 +19090,16 @@ "type": "Line", "value": "desc sort", "range": [ - 8243, - 8254 + 8820, + 8831 ], "loc": { "start": { - "line": 241, + "line": 278, "column": 8 }, "end": { - "line": 241, + "line": 278, "column": 19 } } @@ -19302,16 +19110,16 @@ "type": "Line", "value": "populates drop-down", "range": [ - 8803, - 8824 + 9380, + 9401 ], "loc": { "start": { - "line": 257, + "line": 294, "column": 8 }, "end": { - "line": 257, + "line": 294, "column": 29 } } @@ -19328,16 +19136,16 @@ "object": { "type": "ThisExpression", "range": [ - 8833, - 8837 + 9410, + 9414 ], "loc": { "start": { - "line": 258, + "line": 295, "column": 8 }, "end": { - "line": 258, + "line": 295, "column": 12 } } @@ -19346,31 +19154,31 @@ "type": "Identifier", "name": "addOptions", "range": [ - 8838, - 8848 + 9415, + 9425 ], "loc": { "start": { - "line": 258, + "line": 295, "column": 13 }, "end": { - "line": 258, + "line": 295, "column": 23 } } }, "range": [ - 8833, - 8848 + 9410, + 9425 ], "loc": { "start": { - "line": 258, + "line": 295, "column": 8 }, "end": { - "line": 258, + "line": 295, "column": 23 } } @@ -19380,16 +19188,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 8849, - 8857 + 9426, + 9434 ], "loc": { "start": { - "line": 258, + "line": 295, "column": 24 }, "end": { - "line": 258, + "line": 295, "column": 32 } } @@ -19398,16 +19206,16 @@ "type": "Identifier", "name": "slc", "range": [ - 8859, - 8862 + 9436, + 9439 ], "loc": { "start": { - "line": 258, + "line": 295, "column": 34 }, "end": { - "line": 258, + "line": 295, "column": 37 } } @@ -19416,16 +19224,16 @@ "type": "Identifier", "name": "isLinked", "range": [ - 8864, - 8872 + 9441, + 9449 ], "loc": { "start": { - "line": 258, + "line": 295, "column": 39 }, "end": { - "line": 258, + "line": 295, "column": 47 } } @@ -19434,47 +19242,47 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 8874, - 8886 + 9451, + 9463 ], "loc": { "start": { - "line": 258, + "line": 295, "column": 49 }, "end": { - "line": 258, + "line": 295, "column": 61 } } } ], "range": [ - 8833, - 8887 + 9410, + 9464 ], "loc": { "start": { - "line": 258, + "line": 295, "column": 8 }, "end": { - "line": 258, + "line": 295, "column": 62 } } }, "range": [ - 8833, - 8888 + 9410, + 9465 ], "loc": { "start": { - "line": 258, + "line": 295, "column": 8 }, "end": { - "line": 258, + "line": 295, "column": 63 } }, @@ -19483,16 +19291,16 @@ "type": "Line", "value": "in case there are alphanumeric values", "range": [ - 8744, - 8783 + 9321, + 9360 ], "loc": { "start": { - "line": 254, + "line": 291, "column": 13 }, "end": { - "line": 254, + "line": 291, "column": 52 } } @@ -19501,16 +19309,16 @@ "type": "Line", "value": "populates drop-down", "range": [ - 8803, - 8824 + 9380, + 9401 ], "loc": { "start": { - "line": 257, + "line": 294, "column": 8 }, "end": { - "line": 257, + "line": 294, "column": 29 } } @@ -19530,16 +19338,16 @@ "object": { "type": "ThisExpression", "range": [ - 8898, - 8902 + 9475, + 9479 ], "loc": { "start": { - "line": 260, + "line": 297, "column": 8 }, "end": { - "line": 260, + "line": 297, "column": 12 } } @@ -19548,31 +19356,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 8903, - 8910 + 9480, + 9487 ], "loc": { "start": { - "line": 260, + "line": 297, "column": 13 }, "end": { - "line": 260, + "line": 297, "column": 20 } } }, "range": [ - 8898, - 8910 + 9475, + 9487 ], "loc": { "start": { - "line": 260, + "line": 297, "column": 8 }, "end": { - "line": 260, + "line": 297, "column": 20 } } @@ -19581,31 +19389,31 @@ "type": "Identifier", "name": "emit", "range": [ - 8911, - 8915 + 9488, + 9492 ], "loc": { "start": { - "line": 260, + "line": 297, "column": 21 }, "end": { - "line": 260, + "line": 297, "column": 25 } } }, "range": [ - 8898, - 8915 + 9475, + 9492 ], "loc": { "start": { - "line": 260, + "line": 297, "column": 8 }, "end": { - "line": 260, + "line": 297, "column": 25 } } @@ -19616,16 +19424,16 @@ "value": "after-populating-filter", "raw": "'after-populating-filter'", "range": [ - 8916, - 8941 + 9493, + 9518 ], "loc": { "start": { - "line": 260, + "line": 297, "column": 26 }, "end": { - "line": 260, + "line": 297, "column": 51 } } @@ -19634,16 +19442,16 @@ "type": "Identifier", "name": "tf", "range": [ - 8943, - 8945 + 9520, + 9522 ], "loc": { "start": { - "line": 260, + "line": 297, "column": 53 }, "end": { - "line": 260, + "line": 297, "column": 55 } } @@ -19652,16 +19460,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 8947, - 8955 + 9524, + 9532 ], "loc": { "start": { - "line": 260, + "line": 297, "column": 57 }, "end": { - "line": 260, + "line": 297, "column": 65 } } @@ -19670,63 +19478,63 @@ "type": "Identifier", "name": "slc", "range": [ - 8957, - 8960 + 9534, + 9537 ], "loc": { "start": { - "line": 260, + "line": 297, "column": 67 }, "end": { - "line": 260, + "line": 297, "column": 70 } } } ], "range": [ - 8898, - 8961 + 9475, + 9538 ], "loc": { "start": { - "line": 260, + "line": 297, "column": 8 }, "end": { - "line": 260, + "line": 297, "column": 71 } } }, "range": [ - 8898, - 8962 + 9475, + 9539 ], "loc": { "start": { - "line": 260, + "line": 297, "column": 8 }, "end": { - "line": 260, + "line": 297, "column": 72 } } } ], "range": [ - 3811, - 8968 + 4420, + 9545 ], "loc": { "start": { - "line": 121, + "line": 159, "column": 38 }, "end": { - "line": 261, + "line": 298, "column": 5 } } @@ -19734,16 +19542,16 @@ "generator": false, "expression": false, "range": [ - 3782, - 8968 + 4391, + 9545 ], "loc": { "start": { - "line": 121, + "line": 159, "column": 9 }, "end": { - "line": 261, + "line": 298, "column": 5 } } @@ -19751,16 +19559,16 @@ "kind": "method", "computed": false, "range": [ - 3777, - 8968 + 4386, + 9545 ], "loc": { "start": { - "line": 121, + "line": 159, "column": 4 }, "end": { - "line": 261, + "line": 298, "column": 5 } }, @@ -19769,16 +19577,16 @@ "type": "Block", "value": "*\n * Build drop-down filter UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked refresh behaviour\n ", "range": [ - 3609, - 3772 + 4218, + 4381 ], "loc": { "start": { - "line": 116, + "line": 154, "column": 4 }, "end": { - "line": 120, + "line": 158, "column": 7 } } @@ -19789,16 +19597,16 @@ "type": "Block", "value": "*\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 ", "range": [ - 8974, - 9248 + 9551, + 9825 ], "loc": { "start": { - "line": 263, + "line": 300, "column": 4 }, "end": { - "line": 269, + "line": 306, "column": 7 } } @@ -19812,16 +19620,16 @@ "type": "Identifier", "name": "addOptions", "range": [ - 9253, - 9263 + 9830, + 9840 ], "loc": { "start": { - "line": 270, + "line": 307, "column": 4 }, "end": { - "line": 270, + "line": 307, "column": 14 } } @@ -19834,16 +19642,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 9264, - 9272 + 9841, + 9849 ], "loc": { "start": { - "line": 270, + "line": 307, "column": 15 }, "end": { - "line": 270, + "line": 307, "column": 23 } } @@ -19852,16 +19660,16 @@ "type": "Identifier", "name": "slc", "range": [ - 9274, - 9277 + 9851, + 9854 ], "loc": { "start": { - "line": 270, + "line": 307, "column": 25 }, "end": { - "line": 270, + "line": 307, "column": 28 } } @@ -19870,16 +19678,16 @@ "type": "Identifier", "name": "isLinked", "range": [ - 9279, - 9287 + 9856, + 9864 ], "loc": { "start": { - "line": 270, + "line": 307, "column": 30 }, "end": { - "line": 270, + "line": 307, "column": 38 } } @@ -19888,16 +19696,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 9289, - 9301 + 9866, + 9878 ], "loc": { "start": { - "line": 270, + "line": 307, "column": 40 }, "end": { - "line": 270, + "line": 307, "column": 52 } } @@ -19915,16 +19723,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9317, - 9319 + 9894, + 9896 ], "loc": { "start": { - "line": 271, + "line": 308, "column": 12 }, "end": { - "line": 271, + "line": 308, "column": 14 } } @@ -19935,16 +19743,16 @@ "object": { "type": "ThisExpression", "range": [ - 9322, - 9326 + 9899, + 9903 ], "loc": { "start": { - "line": 271, + "line": 308, "column": 17 }, "end": { - "line": 271, + "line": 308, "column": 21 } } @@ -19953,46 +19761,46 @@ "type": "Identifier", "name": "tf", "range": [ - 9327, - 9329 + 9904, + 9906 ], "loc": { "start": { - "line": 271, + "line": 308, "column": 22 }, "end": { - "line": 271, + "line": 308, "column": 24 } } }, "range": [ - 9322, - 9329 + 9899, + 9906 ], "loc": { "start": { - "line": 271, + "line": 308, "column": 17 }, "end": { - "line": 271, + "line": 308, "column": 24 } } }, "range": [ - 9317, - 9329 + 9894, + 9906 ], "loc": { "start": { - "line": 271, + "line": 308, "column": 12 }, "end": { - "line": 271, + "line": 308, "column": 24 } } @@ -20003,16 +19811,16 @@ "type": "Identifier", "name": "slcValue", "range": [ - 9343, - 9351 + 9920, + 9928 ], "loc": { "start": { - "line": 272, + "line": 309, "column": 12 }, "end": { - "line": 272, + "line": 309, "column": 20 } } @@ -20024,16 +19832,16 @@ "type": "Identifier", "name": "slc", "range": [ - 9354, - 9357 + 9931, + 9934 ], "loc": { "start": { - "line": 272, + "line": 309, "column": 23 }, "end": { - "line": 272, + "line": 309, "column": 26 } } @@ -20042,46 +19850,46 @@ "type": "Identifier", "name": "value", "range": [ - 9358, - 9363 + 9935, + 9940 ], "loc": { "start": { - "line": 272, + "line": 309, "column": 27 }, "end": { - "line": 272, + "line": 309, "column": 32 } } }, "range": [ - 9354, - 9363 + 9931, + 9940 ], "loc": { "start": { - "line": 272, + "line": 309, "column": 23 }, "end": { - "line": 272, + "line": 309, "column": 32 } } }, "range": [ - 9343, - 9363 + 9920, + 9940 ], "loc": { "start": { - "line": 272, + "line": 309, "column": 12 }, "end": { - "line": 272, + "line": 309, "column": 32 } } @@ -20089,16 +19897,16 @@ ], "kind": "let", "range": [ - 9313, - 9364 + 9890, + 9941 ], "loc": { "start": { - "line": 271, + "line": 308, "column": 8 }, "end": { - "line": 272, + "line": 309, "column": 33 } } @@ -20115,16 +19923,16 @@ "type": "Identifier", "name": "slc", "range": [ - 9374, - 9377 + 9951, + 9954 ], "loc": { "start": { - "line": 274, + "line": 311, "column": 8 }, "end": { - "line": 274, + "line": 311, "column": 11 } } @@ -20133,31 +19941,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 9378, - 9387 + 9955, + 9964 ], "loc": { "start": { - "line": 274, + "line": 311, "column": 12 }, "end": { - "line": 274, + "line": 311, "column": 21 } } }, "range": [ - 9374, - 9387 + 9951, + 9964 ], "loc": { "start": { - "line": 274, + "line": 311, "column": 8 }, "end": { - "line": 274, + "line": 311, "column": 21 } } @@ -20167,46 +19975,46 @@ "value": "", "raw": "''", "range": [ - 9390, - 9392 + 9967, + 9969 ], "loc": { "start": { - "line": 274, + "line": 311, "column": 24 }, "end": { - "line": 274, + "line": 311, "column": 26 } } }, "range": [ - 9374, - 9392 + 9951, + 9969 ], "loc": { "start": { - "line": 274, + "line": 311, "column": 8 }, "end": { - "line": 274, + "line": 311, "column": 26 } } }, "range": [ - 9374, - 9393 + 9951, + 9970 ], "loc": { "start": { - "line": 274, + "line": 311, "column": 8 }, "end": { - "line": 274, + "line": 311, "column": 27 } } @@ -20220,16 +20028,16 @@ "type": "Identifier", "name": "slc", "range": [ - 9402, - 9405 + 9979, + 9982 ], "loc": { "start": { - "line": 275, + "line": 312, "column": 8 }, "end": { - "line": 275, + "line": 312, "column": 11 } } @@ -20242,16 +20050,16 @@ "object": { "type": "ThisExpression", "range": [ - 9408, - 9412 + 9985, + 9989 ], "loc": { "start": { - "line": 275, + "line": 312, "column": 14 }, "end": { - "line": 275, + "line": 312, "column": 18 } } @@ -20260,31 +20068,31 @@ "type": "Identifier", "name": "addFirstOption", "range": [ - 9413, - 9427 + 9990, + 10004 ], "loc": { "start": { - "line": 275, + "line": 312, "column": 19 }, "end": { - "line": 275, + "line": 312, "column": 33 } } }, "range": [ - 9408, - 9427 + 9985, + 10004 ], "loc": { "start": { - "line": 275, + "line": 312, "column": 14 }, "end": { - "line": 275, + "line": 312, "column": 33 } } @@ -20294,62 +20102,62 @@ "type": "Identifier", "name": "slc", "range": [ - 9428, - 9431 + 10005, + 10008 ], "loc": { "start": { - "line": 275, + "line": 312, "column": 34 }, "end": { - "line": 275, + "line": 312, "column": 37 } } } ], "range": [ - 9408, - 9432 + 9985, + 10009 ], "loc": { "start": { - "line": 275, + "line": 312, "column": 14 }, "end": { - "line": 275, + "line": 312, "column": 38 } } }, "range": [ - 9402, - 9432 + 9979, + 10009 ], "loc": { "start": { - "line": 275, + "line": 312, "column": 8 }, "end": { - "line": 275, + "line": 312, "column": 38 } } }, "range": [ - 9402, - 9433 + 9979, + 10010 ], "loc": { "start": { - "line": 275, + "line": 312, "column": 8 }, "end": { - "line": 275, + "line": 312, "column": 39 } } @@ -20365,16 +20173,16 @@ "type": "Identifier", "name": "y", "range": [ - 9452, - 9453 + 10029, + 10030 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 17 }, "end": { - "line": 277, + "line": 314, "column": 18 } } @@ -20384,31 +20192,31 @@ "value": 0, "raw": "0", "range": [ - 9456, - 9457 + 10033, + 10034 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 21 }, "end": { - "line": 277, + "line": 314, "column": 22 } } }, "range": [ - 9452, - 9457 + 10029, + 10034 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 17 }, "end": { - "line": 277, + "line": 314, "column": 22 } } @@ -20416,16 +20224,16 @@ ], "kind": "let", "range": [ - 9448, - 9457 + 10025, + 10034 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 13 }, "end": { - "line": 277, + "line": 314, "column": 22 } } @@ -20437,16 +20245,16 @@ "type": "Identifier", "name": "y", "range": [ - 9459, - 9460 + 10036, + 10037 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 24 }, "end": { - "line": 277, + "line": 314, "column": 25 } } @@ -20460,16 +20268,16 @@ "object": { "type": "ThisExpression", "range": [ - 9463, - 9467 + 10040, + 10044 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 28 }, "end": { - "line": 277, + "line": 314, "column": 32 } } @@ -20478,31 +20286,31 @@ "type": "Identifier", "name": "opts", "range": [ - 9468, - 9472 + 10045, + 10049 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 33 }, "end": { - "line": 277, + "line": 314, "column": 37 } } }, "range": [ - 9463, - 9472 + 10040, + 10049 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 28 }, "end": { - "line": 277, + "line": 314, "column": 37 } } @@ -20511,46 +20319,46 @@ "type": "Identifier", "name": "length", "range": [ - 9473, - 9479 + 10050, + 10056 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 38 }, "end": { - "line": 277, + "line": 314, "column": 44 } } }, "range": [ - 9463, - 9479 + 10040, + 10056 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 28 }, "end": { - "line": 277, + "line": 314, "column": 44 } } }, "range": [ - 9459, - 9479 + 10036, + 10056 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 24 }, "end": { - "line": 277, + "line": 314, "column": 44 } } @@ -20562,32 +20370,32 @@ "type": "Identifier", "name": "y", "range": [ - 9481, - 9482 + 10058, + 10059 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 46 }, "end": { - "line": 277, + "line": 314, "column": 47 } } }, "prefix": false, "range": [ - 9481, - 9484 + 10058, + 10061 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 46 }, "end": { - "line": 277, + "line": 314, "column": 49 } } @@ -20609,16 +20417,16 @@ "object": { "type": "ThisExpression", "range": [ - 9504, - 9508 + 10081, + 10085 ], "loc": { "start": { - "line": 278, + "line": 315, "column": 16 }, "end": { - "line": 278, + "line": 315, "column": 20 } } @@ -20627,31 +20435,31 @@ "type": "Identifier", "name": "opts", "range": [ - 9509, - 9513 + 10086, + 10090 ], "loc": { "start": { - "line": 278, + "line": 315, "column": 21 }, "end": { - "line": 278, + "line": 315, "column": 25 } } }, "range": [ - 9504, - 9513 + 10081, + 10090 ], "loc": { "start": { - "line": 278, + "line": 315, "column": 16 }, "end": { - "line": 278, + "line": 315, "column": 25 } } @@ -20660,31 +20468,31 @@ "type": "Identifier", "name": "y", "range": [ - 9514, - 9515 + 10091, + 10092 ], "loc": { "start": { - "line": 278, + "line": 315, "column": 26 }, "end": { - "line": 278, + "line": 315, "column": 27 } } }, "range": [ - 9504, - 9516 + 10081, + 10093 ], "loc": { "start": { - "line": 278, + "line": 315, "column": 16 }, "end": { - "line": 278, + "line": 315, "column": 28 } } @@ -20694,31 +20502,31 @@ "value": "", "raw": "''", "range": [ - 9521, - 9523 + 10098, + 10100 ], "loc": { "start": { - "line": 278, + "line": 315, "column": 33 }, "end": { - "line": 278, + "line": 315, "column": 35 } } }, "range": [ - 9504, - 9523 + 10081, + 10100 ], "loc": { "start": { - "line": 278, + "line": 315, "column": 16 }, "end": { - "line": 278, + "line": 315, "column": 35 } } @@ -20730,48 +20538,48 @@ "type": "ContinueStatement", "label": null, "range": [ - 9543, - 9552 + 10120, + 10129 ], "loc": { "start": { - "line": 279, + "line": 316, "column": 16 }, "end": { - "line": 279, + "line": 316, "column": 25 } } } ], "range": [ - 9525, - 9566 + 10102, + 10143 ], "loc": { "start": { - "line": 278, + "line": 315, "column": 37 }, "end": { - "line": 280, + "line": 317, "column": 13 } } }, "alternate": null, "range": [ - 9500, - 9566 + 10077, + 10143 ], "loc": { "start": { - "line": 278, + "line": 315, "column": 12 }, "end": { - "line": 280, + "line": 317, "column": 13 } } @@ -20785,16 +20593,16 @@ "type": "Identifier", "name": "val", "range": [ - 9583, - 9586 + 10160, + 10163 ], "loc": { "start": { - "line": 281, + "line": 318, "column": 16 }, "end": { - "line": 281, + "line": 318, "column": 19 } } @@ -20808,16 +20616,16 @@ "object": { "type": "ThisExpression", "range": [ - 9589, - 9593 + 10166, + 10170 ], "loc": { "start": { - "line": 281, + "line": 318, "column": 22 }, "end": { - "line": 281, + "line": 318, "column": 26 } } @@ -20826,31 +20634,31 @@ "type": "Identifier", "name": "opts", "range": [ - 9594, - 9598 + 10171, + 10175 ], "loc": { "start": { - "line": 281, + "line": 318, "column": 27 }, "end": { - "line": 281, + "line": 318, "column": 31 } } }, "range": [ - 9589, - 9598 + 10166, + 10175 ], "loc": { "start": { - "line": 281, + "line": 318, "column": 22 }, "end": { - "line": 281, + "line": 318, "column": 31 } } @@ -20859,46 +20667,46 @@ "type": "Identifier", "name": "y", "range": [ - 9599, - 9600 + 10176, + 10177 ], "loc": { "start": { - "line": 281, + "line": 318, "column": 32 }, "end": { - "line": 281, + "line": 318, "column": 33 } } }, "range": [ - 9589, - 9601 + 10166, + 10178 ], "loc": { "start": { - "line": 281, + "line": 318, "column": 22 }, "end": { - "line": 281, + "line": 318, "column": 34 } } }, "range": [ - 9583, - 9601 + 10160, + 10178 ], "loc": { "start": { - "line": 281, + "line": 318, "column": 16 }, "end": { - "line": 281, + "line": 318, "column": 34 } } @@ -20906,16 +20714,16 @@ ], "kind": "let", "range": [ - 9579, - 9602 + 10156, + 10179 ], "loc": { "start": { - "line": 281, + "line": 318, "column": 12 }, "end": { - "line": 281, + "line": 318, "column": 35 } }, @@ -20924,16 +20732,16 @@ "type": "Line", "value": "option value", "range": [ - 9603, - 9617 + 10180, + 10194 ], "loc": { "start": { - "line": 281, + "line": 318, "column": 36 }, "end": { - "line": 281, + "line": 318, "column": 50 } } @@ -20949,16 +20757,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 9634, - 9637 + 10211, + 10214 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 16 }, "end": { - "line": 282, + "line": 319, "column": 19 } } @@ -20971,16 +20779,16 @@ "object": { "type": "ThisExpression", "range": [ - 9640, - 9644 + 10217, + 10221 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 22 }, "end": { - "line": 282, + "line": 319, "column": 26 } } @@ -20989,31 +20797,31 @@ "type": "Identifier", "name": "isCustom", "range": [ - 9645, - 9653 + 10222, + 10230 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 27 }, "end": { - "line": 282, + "line": 319, "column": 35 } } }, "range": [ - 9640, - 9653 + 10217, + 10230 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 22 }, "end": { - "line": 282, + "line": 319, "column": 35 } } @@ -21027,16 +20835,16 @@ "object": { "type": "ThisExpression", "range": [ - 9656, - 9660 + 10233, + 10237 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 38 }, "end": { - "line": 282, + "line": 319, "column": 42 } } @@ -21045,31 +20853,31 @@ "type": "Identifier", "name": "optsTxt", "range": [ - 9661, - 9668 + 10238, + 10245 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 43 }, "end": { - "line": 282, + "line": 319, "column": 50 } } }, "range": [ - 9656, - 9668 + 10233, + 10245 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 38 }, "end": { - "line": 282, + "line": 319, "column": 50 } } @@ -21078,31 +20886,31 @@ "type": "Identifier", "name": "y", "range": [ - 9669, - 9670 + 10246, + 10247 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 51 }, "end": { - "line": 282, + "line": 319, "column": 52 } } }, "range": [ - 9656, - 9671 + 10233, + 10248 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 38 }, "end": { - "line": 282, + "line": 319, "column": 53 } } @@ -21111,46 +20919,46 @@ "type": "Identifier", "name": "val", "range": [ - 9674, - 9677 + 10251, + 10254 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 56 }, "end": { - "line": 282, + "line": 319, "column": 59 } } }, "range": [ - 9640, - 9677 + 10217, + 10254 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 22 }, "end": { - "line": 282, + "line": 319, "column": 59 } } }, "range": [ - 9634, - 9677 + 10211, + 10254 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 16 }, "end": { - "line": 282, + "line": 319, "column": 59 } } @@ -21158,16 +20966,16 @@ ], "kind": "let", "range": [ - 9630, - 9678 + 10207, + 10255 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 12 }, "end": { - "line": 282, + "line": 319, "column": 60 } }, @@ -21176,16 +20984,16 @@ "type": "Line", "value": "option value", "range": [ - 9603, - 9617 + 10180, + 10194 ], "loc": { "start": { - "line": 281, + "line": 318, "column": 36 }, "end": { - "line": 281, + "line": 318, "column": 50 } } @@ -21196,16 +21004,16 @@ "type": "Line", "value": "option text", "range": [ - 9679, - 9692 + 10256, + 10269 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 61 }, "end": { - "line": 282, + "line": 319, "column": 74 } } @@ -21221,16 +21029,16 @@ "type": "Identifier", "name": "isDisabled", "range": [ - 9709, - 9719 + 10286, + 10296 ], "loc": { "start": { - "line": 283, + "line": 320, "column": 16 }, "end": { - "line": 283, + "line": 320, "column": 26 } } @@ -21240,31 +21048,31 @@ "value": false, "raw": "false", "range": [ - 9722, - 9727 + 10299, + 10304 ], "loc": { "start": { - "line": 283, + "line": 320, "column": 29 }, "end": { - "line": 283, + "line": 320, "column": 34 } } }, "range": [ - 9709, - 9727 + 10286, + 10304 ], "loc": { "start": { - "line": 283, + "line": 320, "column": 16 }, "end": { - "line": 283, + "line": 320, "column": 34 } } @@ -21272,16 +21080,16 @@ ], "kind": "let", "range": [ - 9705, - 9728 + 10282, + 10305 ], "loc": { "start": { - "line": 283, + "line": 320, "column": 12 }, "end": { - "line": 283, + "line": 320, "column": 35 } }, @@ -21290,16 +21098,16 @@ "type": "Line", "value": "option text", "range": [ - 9679, - 9692 + 10256, + 10269 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 61 }, "end": { - "line": 282, + "line": 319, "column": 74 } } @@ -21318,16 +21126,16 @@ "type": "Identifier", "name": "isLinked", "range": [ - 9745, - 9753 + 10322, + 10330 ], "loc": { "start": { - "line": 284, + "line": 321, "column": 16 }, "end": { - "line": 284, + "line": 321, "column": 24 } } @@ -21339,16 +21147,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9757, - 9759 + 10334, + 10336 ], "loc": { "start": { - "line": 284, + "line": 321, "column": 28 }, "end": { - "line": 284, + "line": 321, "column": 30 } } @@ -21357,46 +21165,46 @@ "type": "Identifier", "name": "disableExcludedOptions", "range": [ - 9760, - 9782 + 10337, + 10359 ], "loc": { "start": { - "line": 284, + "line": 321, "column": 31 }, "end": { - "line": 284, + "line": 321, "column": 53 } } }, "range": [ - 9757, - 9782 + 10334, + 10359 ], "loc": { "start": { - "line": 284, + "line": 321, "column": 28 }, "end": { - "line": 284, + "line": 321, "column": 53 } } }, "range": [ - 9745, - 9782 + 10322, + 10359 ], "loc": { "start": { - "line": 284, + "line": 321, "column": 16 }, "end": { - "line": 284, + "line": 321, "column": 53 } } @@ -21407,16 +21215,16 @@ "type": "Identifier", "name": "has", "range": [ - 9802, - 9805 + 10379, + 10382 ], "loc": { "start": { - "line": 285, + "line": 322, "column": 16 }, "end": { - "line": 285, + "line": 322, "column": 19 } } @@ -21426,16 +21234,16 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 9806, - 9818 + 10383, + 10395 ], "loc": { "start": { - "line": 285, + "line": 322, "column": 20 }, "end": { - "line": 285, + "line": 322, "column": 32 } } @@ -21446,16 +21254,16 @@ "type": "Identifier", "name": "matchCase", "range": [ - 9820, - 9829 + 10397, + 10406 ], "loc": { "start": { - "line": 285, + "line": 322, "column": 34 }, "end": { - "line": 285, + "line": 322, "column": 43 } } @@ -21465,16 +21273,16 @@ "type": "Identifier", "name": "val", "range": [ - 9830, - 9833 + 10407, + 10410 ], "loc": { "start": { - "line": 285, + "line": 322, "column": 44 }, "end": { - "line": 285, + "line": 322, "column": 47 } } @@ -21486,16 +21294,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9835, - 9837 + 10412, + 10414 ], "loc": { "start": { - "line": 285, + "line": 322, "column": 49 }, "end": { - "line": 285, + "line": 322, "column": 51 } } @@ -21504,47 +21312,47 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 9838, - 9851 + 10415, + 10428 ], "loc": { "start": { - "line": 285, + "line": 322, "column": 52 }, "end": { - "line": 285, + "line": 322, "column": 65 } } }, "range": [ - 9835, - 9851 + 10412, + 10428 ], "loc": { "start": { - "line": 285, + "line": 322, "column": 49 }, "end": { - "line": 285, + "line": 322, "column": 65 } } } ], "range": [ - 9820, - 9852 + 10397, + 10429 ], "loc": { "start": { - "line": 285, + "line": 322, "column": 34 }, "end": { - "line": 285, + "line": 322, "column": 66 } } @@ -21556,16 +21364,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9874, - 9876 + 10451, + 10453 ], "loc": { "start": { - "line": 286, + "line": 323, "column": 20 }, "end": { - "line": 286, + "line": 323, "column": 22 } } @@ -21574,62 +21382,62 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 9877, - 9890 + 10454, + 10467 ], "loc": { "start": { - "line": 286, + "line": 323, "column": 23 }, "end": { - "line": 286, + "line": 323, "column": 36 } } }, "range": [ - 9874, - 9890 + 10451, + 10467 ], "loc": { "start": { - "line": 286, + "line": 323, "column": 20 }, "end": { - "line": 286, + "line": 323, "column": 36 } } } ], "range": [ - 9802, - 9891 + 10379, + 10468 ], "loc": { "start": { - "line": 285, + "line": 322, "column": 16 }, "end": { - "line": 286, + "line": 323, "column": 37 } } }, "range": [ - 9745, - 9891 + 10322, + 10468 ], "loc": { "start": { - "line": 284, + "line": 321, "column": 16 }, "end": { - "line": 286, + "line": 323, "column": 37 } } @@ -21646,16 +21454,16 @@ "type": "Identifier", "name": "isDisabled", "range": [ - 9911, - 9921 + 10488, + 10498 ], "loc": { "start": { - "line": 287, + "line": 324, "column": 16 }, "end": { - "line": 287, + "line": 324, "column": 26 } } @@ -21665,78 +21473,78 @@ "value": true, "raw": "true", "range": [ - 9924, - 9928 + 10501, + 10505 ], "loc": { "start": { - "line": 287, + "line": 324, "column": 29 }, "end": { - "line": 287, + "line": 324, "column": 33 } } }, "range": [ - 9911, - 9928 + 10488, + 10505 ], "loc": { "start": { - "line": 287, + "line": 324, "column": 16 }, "end": { - "line": 287, + "line": 324, "column": 33 } } }, "range": [ - 9911, - 9929 + 10488, + 10506 ], "loc": { "start": { - "line": 287, + "line": 324, "column": 16 }, "end": { - "line": 287, + "line": 324, "column": 34 } } } ], "range": [ - 9893, - 9943 + 10470, + 10520 ], "loc": { "start": { - "line": 286, + "line": 323, "column": 39 }, "end": { - "line": 288, + "line": 325, "column": 13 } } }, "alternate": null, "range": [ - 9741, - 9943 + 10318, + 10520 ], "loc": { "start": { - "line": 284, + "line": 321, "column": 12 }, "end": { - "line": 288, + "line": 325, "column": 13 } } @@ -21750,32 +21558,32 @@ "type": "Identifier", "name": "opt", "range": [ - 9961, - 9964 + 10538, + 10541 ], "loc": { "start": { - "line": 290, + "line": 327, "column": 16 }, "end": { - "line": 290, + "line": 327, "column": 19 } } }, "init": null, "range": [ - 9961, - 9964 + 10538, + 10541 ], "loc": { "start": { - "line": 290, + "line": 327, "column": 16 }, "end": { - "line": 290, + "line": 327, "column": 19 } } @@ -21783,16 +21591,16 @@ ], "kind": "let", "range": [ - 9957, - 9965 + 10534, + 10542 ], "loc": { "start": { - "line": 290, + "line": 327, "column": 12 }, "end": { - "line": 290, + "line": 327, "column": 20 } }, @@ -21801,16 +21609,16 @@ "type": "Line", "value": "fill select on demand", "range": [ - 9978, - 10001 + 10555, + 10578 ], "loc": { "start": { - "line": 291, + "line": 328, "column": 12 }, "end": { - "line": 291, + "line": 328, "column": 35 } } @@ -21832,16 +21640,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10018, - 10020 + 10595, + 10597 ], "loc": { "start": { - "line": 292, + "line": 329, "column": 16 }, "end": { - "line": 292, + "line": 329, "column": 18 } } @@ -21850,31 +21658,31 @@ "type": "Identifier", "name": "loadFltOnDemand", "range": [ - 10021, - 10036 + 10598, + 10613 ], "loc": { "start": { - "line": 292, + "line": 329, "column": 19 }, "end": { - "line": 292, + "line": 329, "column": 34 } } }, "range": [ - 10018, - 10036 + 10595, + 10613 ], "loc": { "start": { - "line": 292, + "line": 329, "column": 16 }, "end": { - "line": 292, + "line": 329, "column": 34 } } @@ -21886,16 +21694,16 @@ "type": "Identifier", "name": "slcValue", "range": [ - 10040, - 10048 + 10617, + 10625 ], "loc": { "start": { - "line": 292, + "line": 329, "column": 38 }, "end": { - "line": 292, + "line": 329, "column": 46 } } @@ -21909,16 +21717,16 @@ "object": { "type": "ThisExpression", "range": [ - 10053, - 10057 + 10630, + 10634 ], "loc": { "start": { - "line": 292, + "line": 329, "column": 51 }, "end": { - "line": 292, + "line": 329, "column": 55 } } @@ -21927,31 +21735,31 @@ "type": "Identifier", "name": "opts", "range": [ - 10058, - 10062 + 10635, + 10639 ], "loc": { "start": { - "line": 292, + "line": 329, "column": 56 }, "end": { - "line": 292, + "line": 329, "column": 60 } } }, "range": [ - 10053, - 10062 + 10630, + 10639 ], "loc": { "start": { - "line": 292, + "line": 329, "column": 51 }, "end": { - "line": 292, + "line": 329, "column": 60 } } @@ -21960,61 +21768,61 @@ "type": "Identifier", "name": "y", "range": [ - 10063, - 10064 + 10640, + 10641 ], "loc": { "start": { - "line": 292, + "line": 329, "column": 61 }, "end": { - "line": 292, + "line": 329, "column": 62 } } }, "range": [ - 10053, - 10065 + 10630, + 10642 ], "loc": { "start": { - "line": 292, + "line": 329, "column": 51 }, "end": { - "line": 292, + "line": 329, "column": 63 } } }, "range": [ - 10040, - 10065 + 10617, + 10642 ], "loc": { "start": { - "line": 292, + "line": 329, "column": 38 }, "end": { - "line": 292, + "line": 329, "column": 63 } } }, "range": [ - 10018, - 10065 + 10595, + 10642 ], "loc": { "start": { - "line": 292, + "line": 329, "column": 16 }, "end": { - "line": 292, + "line": 329, "column": 63 } } @@ -22031,16 +21839,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10085, - 10087 + 10662, + 10664 ], "loc": { "start": { - "line": 293, + "line": 330, "column": 16 }, "end": { - "line": 293, + "line": 330, "column": 18 } } @@ -22049,31 +21857,31 @@ "type": "Identifier", "name": "getFilterType", "range": [ - 10088, - 10101 + 10665, + 10678 ], "loc": { "start": { - "line": 293, + "line": 330, "column": 19 }, "end": { - "line": 293, + "line": 330, "column": 32 } } }, "range": [ - 10085, - 10101 + 10662, + 10678 ], "loc": { "start": { - "line": 293, + "line": 330, "column": 16 }, "end": { - "line": 293, + "line": 330, "column": 32 } } @@ -22083,32 +21891,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 10102, - 10110 + 10679, + 10687 ], "loc": { "start": { - "line": 293, + "line": 330, "column": 33 }, "end": { - "line": 293, + "line": 330, "column": 41 } } } ], "range": [ - 10085, - 10111 + 10662, + 10688 ], "loc": { "start": { - "line": 293, + "line": 330, "column": 16 }, "end": { - "line": 293, + "line": 330, "column": 42 } } @@ -22117,46 +21925,46 @@ "type": "Identifier", "name": "SELECT", "range": [ - 10116, - 10122 + 10693, + 10699 ], "loc": { "start": { - "line": 293, + "line": 330, "column": 47 }, "end": { - "line": 293, + "line": 330, "column": 53 } } }, "range": [ - 10085, - 10122 + 10662, + 10699 ], "loc": { "start": { - "line": 293, + "line": 330, "column": 16 }, "end": { - "line": 293, + "line": 330, "column": 53 } } }, "range": [ - 10018, - 10122 + 10595, + 10699 ], "loc": { "start": { - "line": 292, + "line": 329, "column": 16 }, "end": { - "line": 293, + "line": 330, "column": 53 } } @@ -22173,16 +21981,16 @@ "type": "Identifier", "name": "opt", "range": [ - 10142, - 10145 + 10719, + 10722 ], "loc": { "start": { - "line": 294, + "line": 331, "column": 16 }, "end": { - "line": 294, + "line": 331, "column": 19 } } @@ -22193,16 +22001,16 @@ "type": "Identifier", "name": "createOpt", "range": [ - 10148, - 10157 + 10725, + 10734 ], "loc": { "start": { - "line": 294, + "line": 331, "column": 22 }, "end": { - "line": 294, + "line": 331, "column": 31 } } @@ -22212,16 +22020,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 10158, - 10161 + 10735, + 10738 ], "loc": { "start": { - "line": 294, + "line": 331, "column": 32 }, "end": { - "line": 294, + "line": 331, "column": 35 } } @@ -22230,16 +22038,16 @@ "type": "Identifier", "name": "val", "range": [ - 10163, - 10166 + 10740, + 10743 ], "loc": { "start": { - "line": 294, + "line": 331, "column": 37 }, "end": { - "line": 294, + "line": 331, "column": 40 } } @@ -22249,78 +22057,78 @@ "value": true, "raw": "true", "range": [ - 10168, - 10172 + 10745, + 10749 ], "loc": { "start": { - "line": 294, + "line": 331, "column": 42 }, "end": { - "line": 294, + "line": 331, "column": 46 } } } ], "range": [ - 10148, - 10173 + 10725, + 10750 ], "loc": { "start": { - "line": 294, + "line": 331, "column": 22 }, "end": { - "line": 294, + "line": 331, "column": 47 } } }, "range": [ - 10142, - 10173 + 10719, + 10750 ], "loc": { "start": { - "line": 294, + "line": 331, "column": 16 }, "end": { - "line": 294, + "line": 331, "column": 47 } } }, "range": [ - 10142, - 10174 + 10719, + 10751 ], "loc": { "start": { - "line": 294, + "line": 331, "column": 16 }, "end": { - "line": 294, + "line": 331, "column": 48 } } } ], "range": [ - 10124, - 10188 + 10701, + 10765 ], "loc": { "start": { - "line": 293, + "line": 330, "column": 55 }, "end": { - "line": 295, + "line": 332, "column": 13 } } @@ -22337,16 +22145,16 @@ "type": "Identifier", "name": "opt", "range": [ - 10212, - 10215 + 10789, + 10792 ], "loc": { "start": { - "line": 296, + "line": 333, "column": 16 }, "end": { - "line": 296, + "line": 333, "column": 19 } } @@ -22357,16 +22165,16 @@ "type": "Identifier", "name": "createOpt", "range": [ - 10218, - 10227 + 10795, + 10804 ], "loc": { "start": { - "line": 296, + "line": 333, "column": 22 }, "end": { - "line": 296, + "line": 333, "column": 31 } } @@ -22376,16 +22184,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 10228, - 10231 + 10805, + 10808 ], "loc": { "start": { - "line": 296, + "line": 333, "column": 32 }, "end": { - "line": 296, + "line": 333, "column": 35 } } @@ -22394,16 +22202,16 @@ "type": "Identifier", "name": "val", "range": [ - 10233, - 10236 + 10810, + 10813 ], "loc": { "start": { - "line": 296, + "line": 333, "column": 37 }, "end": { - "line": 296, + "line": 333, "column": 40 } } @@ -22413,93 +22221,93 @@ "value": false, "raw": "false", "range": [ - 10238, - 10243 + 10815, + 10820 ], "loc": { "start": { - "line": 296, + "line": 333, "column": 42 }, "end": { - "line": 296, + "line": 333, "column": 47 } } } ], "range": [ - 10218, - 10244 + 10795, + 10821 ], "loc": { "start": { - "line": 296, + "line": 333, "column": 22 }, "end": { - "line": 296, + "line": 333, "column": 48 } } }, "range": [ - 10212, - 10244 + 10789, + 10821 ], "loc": { "start": { - "line": 296, + "line": 333, "column": 16 }, "end": { - "line": 296, + "line": 333, "column": 48 } } }, "range": [ - 10212, - 10245 + 10789, + 10822 ], "loc": { "start": { - "line": 296, + "line": 333, "column": 16 }, "end": { - "line": 296, + "line": 333, "column": 49 } } } ], "range": [ - 10194, - 10259 + 10771, + 10836 ], "loc": { "start": { - "line": 295, + "line": 332, "column": 19 }, "end": { - "line": 297, + "line": 334, "column": 13 } } }, "range": [ - 10014, - 10259 + 10591, + 10836 ], "loc": { "start": { - "line": 292, + "line": 329, "column": 12 }, "end": { - "line": 297, + "line": 334, "column": 13 } }, @@ -22508,16 +22316,16 @@ "type": "Line", "value": "fill select on demand", "range": [ - 9978, - 10001 + 10555, + 10578 ], "loc": { "start": { - "line": 291, + "line": 328, "column": 12 }, "end": { - "line": 291, + "line": 328, "column": 35 } } @@ -22530,16 +22338,16 @@ "type": "Identifier", "name": "isDisabled", "range": [ - 10276, - 10286 + 10853, + 10863 ], "loc": { "start": { - "line": 298, + "line": 335, "column": 16 }, "end": { - "line": 298, + "line": 335, "column": 26 } } @@ -22559,16 +22367,16 @@ "type": "Identifier", "name": "opt", "range": [ - 10306, - 10309 + 10883, + 10886 ], "loc": { "start": { - "line": 299, + "line": 336, "column": 16 }, "end": { - "line": 299, + "line": 336, "column": 19 } } @@ -22577,31 +22385,31 @@ "type": "Identifier", "name": "disabled", "range": [ - 10310, - 10318 + 10887, + 10895 ], "loc": { "start": { - "line": 299, + "line": 336, "column": 20 }, "end": { - "line": 299, + "line": 336, "column": 28 } } }, "range": [ - 10306, - 10318 + 10883, + 10895 ], "loc": { "start": { - "line": 299, + "line": 336, "column": 16 }, "end": { - "line": 299, + "line": 336, "column": 28 } } @@ -22611,78 +22419,78 @@ "value": true, "raw": "true", "range": [ - 10321, - 10325 + 10898, + 10902 ], "loc": { "start": { - "line": 299, + "line": 336, "column": 31 }, "end": { - "line": 299, + "line": 336, "column": 35 } } }, "range": [ - 10306, - 10325 + 10883, + 10902 ], "loc": { "start": { - "line": 299, + "line": 336, "column": 16 }, "end": { - "line": 299, + "line": 336, "column": 35 } } }, "range": [ - 10306, - 10326 + 10883, + 10903 ], "loc": { "start": { - "line": 299, + "line": 336, "column": 16 }, "end": { - "line": 299, + "line": 336, "column": 36 } } } ], "range": [ - 10288, - 10340 + 10865, + 10917 ], "loc": { "start": { - "line": 298, + "line": 335, "column": 28 }, "end": { - "line": 300, + "line": 337, "column": 13 } } }, "alternate": null, "range": [ - 10272, - 10340 + 10849, + 10917 ], "loc": { "start": { - "line": 298, + "line": 335, "column": 12 }, "end": { - "line": 300, + "line": 337, "column": 13 } } @@ -22698,16 +22506,16 @@ "type": "Identifier", "name": "slc", "range": [ - 10353, - 10356 + 10930, + 10933 ], "loc": { "start": { - "line": 301, + "line": 338, "column": 12 }, "end": { - "line": 301, + "line": 338, "column": 15 } } @@ -22716,31 +22524,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 10357, - 10368 + 10934, + 10945 ], "loc": { "start": { - "line": 301, + "line": 338, "column": 16 }, "end": { - "line": 301, + "line": 338, "column": 27 } } }, "range": [ - 10353, - 10368 + 10930, + 10945 ], "loc": { "start": { - "line": 301, + "line": 338, "column": 12 }, "end": { - "line": 301, + "line": 338, "column": 27 } } @@ -22750,78 +22558,78 @@ "type": "Identifier", "name": "opt", "range": [ - 10369, - 10372 + 10946, + 10949 ], "loc": { "start": { - "line": 301, + "line": 338, "column": 28 }, "end": { - "line": 301, + "line": 338, "column": 31 } } } ], "range": [ - 10353, - 10373 + 10930, + 10950 ], "loc": { "start": { - "line": 301, + "line": 338, "column": 12 }, "end": { - "line": 301, + "line": 338, "column": 32 } } }, "range": [ - 10353, - 10374 + 10930, + 10951 ], "loc": { "start": { - "line": 301, + "line": 338, "column": 12 }, "end": { - "line": 301, + "line": 338, "column": 33 } } } ], "range": [ - 9486, - 10384 + 10063, + 10961 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 51 }, "end": { - "line": 302, + "line": 339, "column": 9 } } }, "range": [ - 9443, - 10384 + 10020, + 10961 ], "loc": { "start": { - "line": 277, + "line": 314, "column": 8 }, "end": { - "line": 302, + "line": 339, "column": 9 } }, @@ -22830,16 +22638,16 @@ "type": "Line", "value": " for y", "range": [ - 10384, - 10392 + 10961, + 10969 ], "loc": { "start": { - "line": 302, + "line": 339, "column": 9 }, "end": { - "line": 302, + "line": 339, "column": 17 } } @@ -22857,16 +22665,16 @@ "type": "Identifier", "name": "slc", "range": [ - 10402, - 10405 + 10979, + 10982 ], "loc": { "start": { - "line": 304, + "line": 341, "column": 8 }, "end": { - "line": 304, + "line": 341, "column": 11 } } @@ -22875,31 +22683,31 @@ "type": "Identifier", "name": "setAttribute", "range": [ - 10406, - 10418 + 10983, + 10995 ], "loc": { "start": { - "line": 304, + "line": 341, "column": 12 }, "end": { - "line": 304, + "line": 341, "column": 24 } } }, "range": [ - 10402, - 10418 + 10979, + 10995 ], "loc": { "start": { - "line": 304, + "line": 341, "column": 8 }, "end": { - "line": 304, + "line": 341, "column": 24 } } @@ -22910,16 +22718,16 @@ "value": "filled", "raw": "'filled'", "range": [ - 10419, - 10427 + 10996, + 11004 ], "loc": { "start": { - "line": 304, + "line": 341, "column": 25 }, "end": { - "line": 304, + "line": 341, "column": 33 } } @@ -22929,47 +22737,47 @@ "value": "1", "raw": "'1'", "range": [ - 10429, - 10432 + 11006, + 11009 ], "loc": { "start": { - "line": 304, + "line": 341, "column": 35 }, "end": { - "line": 304, + "line": 341, "column": 38 } } } ], "range": [ - 10402, - 10433 + 10979, + 11010 ], "loc": { "start": { - "line": 304, + "line": 341, "column": 8 }, "end": { - "line": 304, + "line": 341, "column": 39 } } }, "range": [ - 10402, - 10434 + 10979, + 11011 ], "loc": { "start": { - "line": 304, + "line": 341, "column": 8 }, "end": { - "line": 304, + "line": 341, "column": 40 } }, @@ -22978,16 +22786,16 @@ "type": "Line", "value": " for y", "range": [ - 10384, - 10392 + 10961, + 10969 ], "loc": { "start": { - "line": 302, + "line": 339, "column": 9 }, "end": { - "line": 302, + "line": 339, "column": 17 } } @@ -22996,16 +22804,16 @@ } ], "range": [ - 9303, - 10440 + 9880, + 11017 ], "loc": { "start": { - "line": 270, + "line": 307, "column": 54 }, "end": { - "line": 305, + "line": 342, "column": 5 } } @@ -23013,16 +22821,16 @@ "generator": false, "expression": false, "range": [ - 9263, - 10440 + 9840, + 11017 ], "loc": { "start": { - "line": 270, + "line": 307, "column": 14 }, "end": { - "line": 305, + "line": 342, "column": 5 } } @@ -23030,16 +22838,16 @@ "kind": "method", "computed": false, "range": [ - 9253, - 10440 + 9830, + 11017 ], "loc": { "start": { - "line": 270, + "line": 307, "column": 4 }, "end": { - "line": 305, + "line": 342, "column": 5 } }, @@ -23048,16 +22856,16 @@ "type": "Block", "value": "*\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 ", "range": [ - 8974, - 9248 + 9551, + 9825 ], "loc": { "start": { - "line": 263, + "line": 300, "column": 4 }, "end": { - "line": 269, + "line": 306, "column": 7 } } @@ -23068,16 +22876,16 @@ "type": "Block", "value": "*\n * Add drop-down header option\n * @param {Object} slc Select DOM element\n ", "range": [ - 10446, - 10538 + 11023, + 11115 ], "loc": { "start": { - "line": 307, + "line": 344, "column": 4 }, "end": { - "line": 310, + "line": 347, "column": 7 } } @@ -23091,16 +22899,16 @@ "type": "Identifier", "name": "addFirstOption", "range": [ - 10543, - 10557 + 11120, + 11134 ], "loc": { "start": { - "line": 311, + "line": 348, "column": 4 }, "end": { - "line": 311, + "line": 348, "column": 18 } } @@ -23113,16 +22921,16 @@ "type": "Identifier", "name": "slc", "range": [ - 10558, - 10561 + 11135, + 11138 ], "loc": { "start": { - "line": 311, + "line": 348, "column": 19 }, "end": { - "line": 311, + "line": 348, "column": 22 } } @@ -23140,16 +22948,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10577, - 10579 + 11154, + 11156 ], "loc": { "start": { - "line": 312, + "line": 349, "column": 12 }, "end": { - "line": 312, + "line": 349, "column": 14 } } @@ -23160,16 +22968,16 @@ "object": { "type": "ThisExpression", "range": [ - 10582, - 10586 + 11159, + 11163 ], "loc": { "start": { - "line": 312, + "line": 349, "column": 17 }, "end": { - "line": 312, + "line": 349, "column": 21 } } @@ -23178,46 +22986,46 @@ "type": "Identifier", "name": "tf", "range": [ - 10587, - 10589 + 11164, + 11166 ], "loc": { "start": { - "line": 312, + "line": 349, "column": 22 }, "end": { - "line": 312, + "line": 349, "column": 24 } } }, "range": [ - 10582, - 10589 + 11159, + 11166 ], "loc": { "start": { - "line": 312, + "line": 349, "column": 17 }, "end": { - "line": 312, + "line": 349, "column": 24 } } }, "range": [ - 10577, - 10589 + 11154, + 11166 ], "loc": { "start": { - "line": 312, + "line": 349, "column": 12 }, "end": { - "line": 312, + "line": 349, "column": 24 } } @@ -23225,16 +23033,16 @@ ], "kind": "let", "range": [ - 10573, - 10590 + 11150, + 11167 ], "loc": { "start": { - "line": 312, + "line": 349, "column": 8 }, "end": { - "line": 312, + "line": 349, "column": 25 } } @@ -23248,16 +23056,16 @@ "type": "Identifier", "name": "opt0", "range": [ - 10604, - 10608 + 11181, + 11185 ], "loc": { "start": { - "line": 314, + "line": 351, "column": 12 }, "end": { - "line": 314, + "line": 351, "column": 16 } } @@ -23268,16 +23076,16 @@ "type": "Identifier", "name": "createOpt", "range": [ - 10611, - 10620 + 11188, + 11197 ], "loc": { "start": { - "line": 314, + "line": 351, "column": 19 }, "end": { - "line": 314, + "line": 351, "column": 28 } } @@ -23294,16 +23102,16 @@ "object": { "type": "ThisExpression", "range": [ - 10636, - 10640 + 11213, + 11217 ], "loc": { "start": { - "line": 315, + "line": 352, "column": 14 }, "end": { - "line": 315, + "line": 352, "column": 18 } } @@ -23312,47 +23120,47 @@ "type": "Identifier", "name": "enableSlcResetFilter", "range": [ - 10641, - 10661 + 11218, + 11238 ], "loc": { "start": { - "line": 315, + "line": 352, "column": 19 }, "end": { - "line": 315, + "line": 352, "column": 39 } } }, "range": [ - 10636, - 10661 + 11213, + 11238 ], "loc": { "start": { - "line": 315, + "line": 352, "column": 14 }, "end": { - "line": 315, + "line": 352, "column": 39 } } }, "prefix": true, "range": [ - 10635, - 10661 + 11212, + 11238 ], "loc": { "start": { - "line": 315, + "line": 352, "column": 13 }, "end": { - "line": 315, + "line": 352, "column": 39 } } @@ -23362,16 +23170,16 @@ "value": "", "raw": "''", "range": [ - 10664, - 10666 + 11241, + 11243 ], "loc": { "start": { - "line": 315, + "line": 352, "column": 42 }, "end": { - "line": 315, + "line": 352, "column": 44 } } @@ -23383,16 +23191,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10669, - 10671 + 11246, + 11248 ], "loc": { "start": { - "line": 315, + "line": 352, "column": 47 }, "end": { - "line": 315, + "line": 352, "column": 49 } } @@ -23401,46 +23209,46 @@ "type": "Identifier", "name": "displayAllText", "range": [ - 10672, - 10686 + 11249, + 11263 ], "loc": { "start": { - "line": 315, + "line": 352, "column": 50 }, "end": { - "line": 315, + "line": 352, "column": 64 } } }, "range": [ - 10669, - 10686 + 11246, + 11263 ], "loc": { "start": { - "line": 315, + "line": 352, "column": 47 }, "end": { - "line": 315, + "line": 352, "column": 64 } } }, "range": [ - 10635, - 10686 + 11212, + 11263 ], "loc": { "start": { - "line": 315, + "line": 352, "column": 13 }, "end": { - "line": 315, + "line": 352, "column": 64 } } @@ -23450,47 +23258,47 @@ "value": "", "raw": "''", "range": [ - 10689, - 10691 + 11266, + 11268 ], "loc": { "start": { - "line": 315, + "line": 352, "column": 67 }, "end": { - "line": 315, + "line": 352, "column": 69 } } } ], "range": [ - 10611, - 10692 + 11188, + 11269 ], "loc": { "start": { - "line": 314, + "line": 351, "column": 19 }, "end": { - "line": 315, + "line": 352, "column": 70 } } }, "range": [ - 10604, - 10692 + 11181, + 11269 ], "loc": { "start": { - "line": 314, + "line": 351, "column": 12 }, "end": { - "line": 315, + "line": 352, "column": 70 } } @@ -23498,16 +23306,16 @@ ], "kind": "let", "range": [ - 10600, - 10693 + 11177, + 11270 ], "loc": { "start": { - "line": 314, + "line": 351, "column": 8 }, "end": { - "line": 315, + "line": 352, "column": 71 } } @@ -23523,16 +23331,16 @@ "object": { "type": "ThisExpression", "range": [ - 10707, - 10711 + 11284, + 11288 ], "loc": { "start": { - "line": 316, + "line": 353, "column": 13 }, "end": { - "line": 316, + "line": 353, "column": 17 } } @@ -23541,47 +23349,47 @@ "type": "Identifier", "name": "enableSlcResetFilter", "range": [ - 10712, - 10732 + 11289, + 11309 ], "loc": { "start": { - "line": 316, + "line": 353, "column": 18 }, "end": { - "line": 316, + "line": 353, "column": 38 } } }, "range": [ - 10707, - 10732 + 11284, + 11309 ], "loc": { "start": { - "line": 316, + "line": 353, "column": 13 }, "end": { - "line": 316, + "line": 353, "column": 38 } } }, "prefix": true, "range": [ - 10706, - 10732 + 11283, + 11309 ], "loc": { "start": { - "line": 316, + "line": 353, "column": 12 }, "end": { - "line": 316, + "line": 353, "column": 38 } } @@ -23604,16 +23412,16 @@ "type": "Identifier", "name": "opt0", "range": [ - 10748, - 10752 + 11325, + 11329 ], "loc": { "start": { - "line": 317, + "line": 354, "column": 12 }, "end": { - "line": 317, + "line": 354, "column": 16 } } @@ -23622,31 +23430,31 @@ "type": "Identifier", "name": "style", "range": [ - 10753, - 10758 + 11330, + 11335 ], "loc": { "start": { - "line": 317, + "line": 354, "column": 17 }, "end": { - "line": 317, + "line": 354, "column": 22 } } }, "range": [ - 10748, - 10758 + 11325, + 11335 ], "loc": { "start": { - "line": 317, + "line": 354, "column": 12 }, "end": { - "line": 317, + "line": 354, "column": 22 } } @@ -23655,31 +23463,31 @@ "type": "Identifier", "name": "display", "range": [ - 10759, - 10766 + 11336, + 11343 ], "loc": { "start": { - "line": 317, + "line": 354, "column": 23 }, "end": { - "line": 317, + "line": 354, "column": 30 } } }, "range": [ - 10748, - 10766 + 11325, + 11343 ], "loc": { "start": { - "line": 317, + "line": 354, "column": 12 }, "end": { - "line": 317, + "line": 354, "column": 30 } } @@ -23688,78 +23496,78 @@ "type": "Identifier", "name": "NONE", "range": [ - 10769, - 10773 + 11346, + 11350 ], "loc": { "start": { - "line": 317, + "line": 354, "column": 33 }, "end": { - "line": 317, + "line": 354, "column": 37 } } }, "range": [ - 10748, - 10773 + 11325, + 11350 ], "loc": { "start": { - "line": 317, + "line": 354, "column": 12 }, "end": { - "line": 317, + "line": 354, "column": 37 } } }, "range": [ - 10748, - 10774 + 11325, + 11351 ], "loc": { "start": { - "line": 317, + "line": 354, "column": 12 }, "end": { - "line": 317, + "line": 354, "column": 38 } } } ], "range": [ - 10734, - 10784 + 11311, + 11361 ], "loc": { "start": { - "line": 316, + "line": 353, "column": 40 }, "end": { - "line": 318, + "line": 355, "column": 9 } } }, "alternate": null, "range": [ - 10702, - 10784 + 11279, + 11361 ], "loc": { "start": { - "line": 316, + "line": 353, "column": 8 }, "end": { - "line": 318, + "line": 355, "column": 9 } } @@ -23775,16 +23583,16 @@ "type": "Identifier", "name": "slc", "range": [ - 10793, - 10796 + 11370, + 11373 ], "loc": { "start": { - "line": 319, + "line": 356, "column": 8 }, "end": { - "line": 319, + "line": 356, "column": 11 } } @@ -23793,31 +23601,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 10797, - 10808 + 11374, + 11385 ], "loc": { "start": { - "line": 319, + "line": 356, "column": 12 }, "end": { - "line": 319, + "line": 356, "column": 23 } } }, "range": [ - 10793, - 10808 + 11370, + 11385 ], "loc": { "start": { - "line": 319, + "line": 356, "column": 8 }, "end": { - "line": 319, + "line": 356, "column": 23 } } @@ -23827,47 +23635,47 @@ "type": "Identifier", "name": "opt0", "range": [ - 10809, - 10813 + 11386, + 11390 ], "loc": { "start": { - "line": 319, + "line": 356, "column": 24 }, "end": { - "line": 319, + "line": 356, "column": 28 } } } ], "range": [ - 10793, - 10814 + 11370, + 11391 ], "loc": { "start": { - "line": 319, + "line": 356, "column": 8 }, "end": { - "line": 319, + "line": 356, "column": 29 } } }, "range": [ - 10793, - 10815 + 11370, + 11392 ], "loc": { "start": { - "line": 319, + "line": 356, "column": 8 }, "end": { - "line": 319, + "line": 356, "column": 30 } } @@ -23881,16 +23689,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10828, - 10830 + 11405, + 11407 ], "loc": { "start": { - "line": 320, + "line": 357, "column": 12 }, "end": { - "line": 320, + "line": 357, "column": 14 } } @@ -23899,31 +23707,31 @@ "type": "Identifier", "name": "enableEmptyOption", "range": [ - 10831, - 10848 + 11408, + 11425 ], "loc": { "start": { - "line": 320, + "line": 357, "column": 15 }, "end": { - "line": 320, + "line": 357, "column": 32 } } }, "range": [ - 10828, - 10848 + 11405, + 11425 ], "loc": { "start": { - "line": 320, + "line": 357, "column": 12 }, "end": { - "line": 320, + "line": 357, "column": 32 } } @@ -23940,16 +23748,16 @@ "type": "Identifier", "name": "opt1", "range": [ - 10868, - 10872 + 11445, + 11449 ], "loc": { "start": { - "line": 321, + "line": 358, "column": 16 }, "end": { - "line": 321, + "line": 358, "column": 20 } } @@ -23960,16 +23768,16 @@ "type": "Identifier", "name": "createOpt", "range": [ - 10875, - 10884 + 11452, + 11461 ], "loc": { "start": { - "line": 321, + "line": 358, "column": 23 }, "end": { - "line": 321, + "line": 358, "column": 32 } } @@ -23982,16 +23790,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10885, - 10887 + 11462, + 11464 ], "loc": { "start": { - "line": 321, + "line": 358, "column": 33 }, "end": { - "line": 321, + "line": 358, "column": 35 } } @@ -24000,31 +23808,31 @@ "type": "Identifier", "name": "emptyText", "range": [ - 10888, - 10897 + 11465, + 11474 ], "loc": { "start": { - "line": 321, + "line": 358, "column": 36 }, "end": { - "line": 321, + "line": 358, "column": 45 } } }, "range": [ - 10885, - 10897 + 11462, + 11474 ], "loc": { "start": { - "line": 321, + "line": 358, "column": 33 }, "end": { - "line": 321, + "line": 358, "column": 45 } } @@ -24036,16 +23844,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10899, - 10901 + 11476, + 11478 ], "loc": { "start": { - "line": 321, + "line": 358, "column": 47 }, "end": { - "line": 321, + "line": 358, "column": 49 } } @@ -24054,62 +23862,62 @@ "type": "Identifier", "name": "emOperator", "range": [ - 10902, - 10912 + 11479, + 11489 ], "loc": { "start": { - "line": 321, + "line": 358, "column": 50 }, "end": { - "line": 321, + "line": 358, "column": 60 } } }, "range": [ - 10899, - 10912 + 11476, + 11489 ], "loc": { "start": { - "line": 321, + "line": 358, "column": 47 }, "end": { - "line": 321, + "line": 358, "column": 60 } } } ], "range": [ - 10875, - 10913 + 11452, + 11490 ], "loc": { "start": { - "line": 321, + "line": 358, "column": 23 }, "end": { - "line": 321, + "line": 358, "column": 61 } } }, "range": [ - 10868, - 10913 + 11445, + 11490 ], "loc": { "start": { - "line": 321, + "line": 358, "column": 16 }, "end": { - "line": 321, + "line": 358, "column": 61 } } @@ -24117,16 +23925,16 @@ ], "kind": "let", "range": [ - 10864, - 10914 + 11441, + 11491 ], "loc": { "start": { - "line": 321, + "line": 358, "column": 12 }, "end": { - "line": 321, + "line": 358, "column": 62 } } @@ -24142,16 +23950,16 @@ "type": "Identifier", "name": "slc", "range": [ - 10927, - 10930 + 11504, + 11507 ], "loc": { "start": { - "line": 322, + "line": 359, "column": 12 }, "end": { - "line": 322, + "line": 359, "column": 15 } } @@ -24160,31 +23968,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 10931, - 10942 + 11508, + 11519 ], "loc": { "start": { - "line": 322, + "line": 359, "column": 16 }, "end": { - "line": 322, + "line": 359, "column": 27 } } }, "range": [ - 10927, - 10942 + 11504, + 11519 ], "loc": { "start": { - "line": 322, + "line": 359, "column": 12 }, "end": { - "line": 322, + "line": 359, "column": 27 } } @@ -24194,79 +24002,79 @@ "type": "Identifier", "name": "opt1", "range": [ - 10943, - 10947 + 11520, + 11524 ], "loc": { "start": { - "line": 322, + "line": 359, "column": 28 }, "end": { - "line": 322, + "line": 359, "column": 32 } } } ], "range": [ - 10927, - 10948 + 11504, + 11525 ], "loc": { "start": { - "line": 322, + "line": 359, "column": 12 }, "end": { - "line": 322, + "line": 359, "column": 33 } } }, "range": [ - 10927, - 10949 + 11504, + 11526 ], "loc": { "start": { - "line": 322, + "line": 359, "column": 12 }, "end": { - "line": 322, + "line": 359, "column": 34 } } } ], "range": [ - 10850, - 10959 + 11427, + 11536 ], "loc": { "start": { - "line": 320, + "line": 357, "column": 34 }, "end": { - "line": 323, + "line": 360, "column": 9 } } }, "alternate": null, "range": [ - 10824, - 10959 + 11401, + 11536 ], "loc": { "start": { - "line": 320, + "line": 357, "column": 8 }, "end": { - "line": 323, + "line": 360, "column": 9 } } @@ -24280,16 +24088,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10972, - 10974 + 11549, + 11551 ], "loc": { "start": { - "line": 324, + "line": 361, "column": 12 }, "end": { - "line": 324, + "line": 361, "column": 14 } } @@ -24298,31 +24106,31 @@ "type": "Identifier", "name": "enableNonEmptyOption", "range": [ - 10975, - 10995 + 11552, + 11572 ], "loc": { "start": { - "line": 324, + "line": 361, "column": 15 }, "end": { - "line": 324, + "line": 361, "column": 35 } } }, "range": [ - 10972, - 10995 + 11549, + 11572 ], "loc": { "start": { - "line": 324, + "line": 361, "column": 12 }, "end": { - "line": 324, + "line": 361, "column": 35 } } @@ -24339,16 +24147,16 @@ "type": "Identifier", "name": "opt2", "range": [ - 11015, - 11019 + 11592, + 11596 ], "loc": { "start": { - "line": 325, + "line": 362, "column": 16 }, "end": { - "line": 325, + "line": 362, "column": 20 } } @@ -24359,16 +24167,16 @@ "type": "Identifier", "name": "createOpt", "range": [ - 11022, - 11031 + 11599, + 11608 ], "loc": { "start": { - "line": 325, + "line": 362, "column": 23 }, "end": { - "line": 325, + "line": 362, "column": 32 } } @@ -24381,16 +24189,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11032, - 11034 + 11609, + 11611 ], "loc": { "start": { - "line": 325, + "line": 362, "column": 33 }, "end": { - "line": 325, + "line": 362, "column": 35 } } @@ -24399,31 +24207,31 @@ "type": "Identifier", "name": "nonEmptyText", "range": [ - 11035, - 11047 + 11612, + 11624 ], "loc": { "start": { - "line": 325, + "line": 362, "column": 36 }, "end": { - "line": 325, + "line": 362, "column": 48 } } }, "range": [ - 11032, - 11047 + 11609, + 11624 ], "loc": { "start": { - "line": 325, + "line": 362, "column": 33 }, "end": { - "line": 325, + "line": 362, "column": 48 } } @@ -24435,16 +24243,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11049, - 11051 + 11626, + 11628 ], "loc": { "start": { - "line": 325, + "line": 362, "column": 50 }, "end": { - "line": 325, + "line": 362, "column": 52 } } @@ -24453,62 +24261,62 @@ "type": "Identifier", "name": "nmOperator", "range": [ - 11052, - 11062 + 11629, + 11639 ], "loc": { "start": { - "line": 325, + "line": 362, "column": 53 }, "end": { - "line": 325, + "line": 362, "column": 63 } } }, "range": [ - 11049, - 11062 + 11626, + 11639 ], "loc": { "start": { - "line": 325, + "line": 362, "column": 50 }, "end": { - "line": 325, + "line": 362, "column": 63 } } } ], "range": [ - 11022, - 11063 + 11599, + 11640 ], "loc": { "start": { - "line": 325, + "line": 362, "column": 23 }, "end": { - "line": 325, + "line": 362, "column": 64 } } }, "range": [ - 11015, - 11063 + 11592, + 11640 ], "loc": { "start": { - "line": 325, + "line": 362, "column": 16 }, "end": { - "line": 325, + "line": 362, "column": 64 } } @@ -24516,16 +24324,16 @@ ], "kind": "let", "range": [ - 11011, - 11064 + 11588, + 11641 ], "loc": { "start": { - "line": 325, + "line": 362, "column": 12 }, "end": { - "line": 325, + "line": 362, "column": 65 } } @@ -24541,16 +24349,16 @@ "type": "Identifier", "name": "slc", "range": [ - 11077, - 11080 + 11654, + 11657 ], "loc": { "start": { - "line": 326, + "line": 363, "column": 12 }, "end": { - "line": 326, + "line": 363, "column": 15 } } @@ -24559,31 +24367,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 11081, - 11092 + 11658, + 11669 ], "loc": { "start": { - "line": 326, + "line": 363, "column": 16 }, "end": { - "line": 326, + "line": 363, "column": 27 } } }, "range": [ - 11077, - 11092 + 11654, + 11669 ], "loc": { "start": { - "line": 326, + "line": 363, "column": 12 }, "end": { - "line": 326, + "line": 363, "column": 27 } } @@ -24593,79 +24401,79 @@ "type": "Identifier", "name": "opt2", "range": [ - 11093, - 11097 + 11670, + 11674 ], "loc": { "start": { - "line": 326, + "line": 363, "column": 28 }, "end": { - "line": 326, + "line": 363, "column": 32 } } } ], "range": [ - 11077, - 11098 + 11654, + 11675 ], "loc": { "start": { - "line": 326, + "line": 363, "column": 12 }, "end": { - "line": 326, + "line": 363, "column": 33 } } }, "range": [ - 11077, - 11099 + 11654, + 11676 ], "loc": { "start": { - "line": 326, + "line": 363, "column": 12 }, "end": { - "line": 326, + "line": 363, "column": 34 } } } ], "range": [ - 10997, - 11109 + 11574, + 11686 ], "loc": { "start": { - "line": 324, + "line": 361, "column": 37 }, "end": { - "line": 327, + "line": 364, "column": 9 } } }, "alternate": null, "range": [ - 10968, - 11109 + 11545, + 11686 ], "loc": { "start": { - "line": 324, + "line": 361, "column": 8 }, "end": { - "line": 327, + "line": 364, "column": 9 } } @@ -24676,47 +24484,47 @@ "type": "Identifier", "name": "slc", "range": [ - 11125, - 11128 + 11702, + 11705 ], "loc": { "start": { - "line": 328, + "line": 365, "column": 15 }, "end": { - "line": 328, + "line": 365, "column": 18 } } }, "range": [ - 11118, - 11129 + 11695, + 11706 ], "loc": { "start": { - "line": 328, + "line": 365, "column": 8 }, "end": { - "line": 328, + "line": 365, "column": 19 } } } ], "range": [ - 10563, - 11135 + 11140, + 11712 ], "loc": { "start": { - "line": 311, + "line": 348, "column": 24 }, "end": { - "line": 329, + "line": 366, "column": 5 } } @@ -24724,16 +24532,16 @@ "generator": false, "expression": false, "range": [ - 10557, - 11135 + 11134, + 11712 ], "loc": { "start": { - "line": 311, + "line": 348, "column": 18 }, "end": { - "line": 329, + "line": 366, "column": 5 } } @@ -24741,16 +24549,16 @@ "kind": "method", "computed": false, "range": [ - 10543, - 11135 + 11120, + 11712 ], "loc": { "start": { - "line": 311, + "line": 348, "column": 4 }, "end": { - "line": 329, + "line": 366, "column": 5 } }, @@ -24759,16 +24567,16 @@ "type": "Block", "value": "*\n * Add drop-down header option\n * @param {Object} slc Select DOM element\n ", "range": [ - 10446, - 10538 + 11023, + 11115 ], "loc": { "start": { - "line": 307, + "line": 344, "column": 4 }, "end": { - "line": 310, + "line": 347, "column": 7 } } @@ -24779,16 +24587,16 @@ "type": "Block", "value": "*\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n ", "range": [ - 11141, - 11310 + 11718, + 11887 ], "loc": { "start": { - "line": 331, + "line": 368, "column": 4 }, "end": { - "line": 335, + "line": 372, "column": 7 } } @@ -24802,16 +24610,16 @@ "type": "Identifier", "name": "selectOptions", "range": [ - 11315, - 11328 + 11892, + 11905 ], "loc": { "start": { - "line": 336, + "line": 373, "column": 4 }, "end": { - "line": 336, + "line": 373, "column": 17 } } @@ -24824,16 +24632,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 11329, - 11337 + 11906, + 11914 ], "loc": { "start": { - "line": 336, + "line": 373, "column": 18 }, "end": { - "line": 336, + "line": 373, "column": 26 } } @@ -24844,16 +24652,16 @@ "type": "Identifier", "name": "values", "range": [ - 11339, - 11345 + 11916, + 11922 ], "loc": { "start": { - "line": 336, + "line": 373, "column": 28 }, "end": { - "line": 336, + "line": 373, "column": 34 } } @@ -24862,31 +24670,31 @@ "type": "ArrayExpression", "elements": [], "range": [ - 11348, - 11350 + 11925, + 11927 ], "loc": { "start": { - "line": 336, + "line": 373, "column": 37 }, "end": { - "line": 336, + "line": 373, "column": 39 } } }, "range": [ - 11339, - 11350 + 11916, + 11927 ], "loc": { "start": { - "line": 336, + "line": 373, "column": 28 }, "end": { - "line": 336, + "line": 373, "column": 39 } } @@ -24904,16 +24712,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11366, - 11368 + 11943, + 11945 ], "loc": { "start": { - "line": 337, + "line": 374, "column": 12 }, "end": { - "line": 337, + "line": 374, "column": 14 } } @@ -24924,16 +24732,16 @@ "object": { "type": "ThisExpression", "range": [ - 11371, - 11375 + 11948, + 11952 ], "loc": { "start": { - "line": 337, + "line": 374, "column": 17 }, "end": { - "line": 337, + "line": 374, "column": 21 } } @@ -24942,46 +24750,46 @@ "type": "Identifier", "name": "tf", "range": [ - 11376, - 11378 + 11953, + 11955 ], "loc": { "start": { - "line": 337, + "line": 374, "column": 22 }, "end": { - "line": 337, + "line": 374, "column": 24 } } }, "range": [ - 11371, - 11378 + 11948, + 11955 ], "loc": { "start": { - "line": 337, + "line": 374, "column": 17 }, "end": { - "line": 337, + "line": 374, "column": 24 } } }, "range": [ - 11366, - 11378 + 11943, + 11955 ], "loc": { "start": { - "line": 337, + "line": 374, "column": 12 }, "end": { - "line": 337, + "line": 374, "column": 24 } } @@ -24989,16 +24797,16 @@ ], "kind": "let", "range": [ - 11362, - 11379 + 11939, + 11956 ], "loc": { "start": { - "line": 337, + "line": 374, "column": 8 }, "end": { - "line": 337, + "line": 374, "column": 25 } } @@ -25020,16 +24828,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11392, - 11394 + 11969, + 11971 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 12 }, "end": { - "line": 338, + "line": 375, "column": 14 } } @@ -25038,31 +24846,31 @@ "type": "Identifier", "name": "getFilterType", "range": [ - 11395, - 11408 + 11972, + 11985 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 15 }, "end": { - "line": 338, + "line": 375, "column": 28 } } }, "range": [ - 11392, - 11408 + 11969, + 11985 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 12 }, "end": { - "line": 338, + "line": 375, "column": 28 } } @@ -25072,32 +24880,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 11409, - 11417 + 11986, + 11994 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 29 }, "end": { - "line": 338, + "line": 375, "column": 37 } } } ], "range": [ - 11392, - 11418 + 11969, + 11995 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 12 }, "end": { - "line": 338, + "line": 375, "column": 38 } } @@ -25106,31 +24914,31 @@ "type": "Identifier", "name": "MULTIPLE", "range": [ - 11423, - 11431 + 12000, + 12008 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 43 }, "end": { - "line": 338, + "line": 375, "column": 51 } } }, "range": [ - 11392, - 11431 + 11969, + 12008 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 12 }, "end": { - "line": 338, + "line": 375, "column": 51 } } @@ -25145,16 +24953,16 @@ "type": "Identifier", "name": "values", "range": [ - 11435, - 11441 + 12012, + 12018 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 55 }, "end": { - "line": 338, + "line": 375, "column": 61 } } @@ -25163,31 +24971,31 @@ "type": "Identifier", "name": "length", "range": [ - 11442, - 11448 + 12019, + 12025 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 62 }, "end": { - "line": 338, + "line": 375, "column": 68 } } }, "range": [ - 11435, - 11448 + 12012, + 12025 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 55 }, "end": { - "line": 338, + "line": 375, "column": 68 } } @@ -25197,46 +25005,46 @@ "value": 0, "raw": "0", "range": [ - 11453, - 11454 + 12030, + 12031 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 73 }, "end": { - "line": 338, + "line": 375, "column": 74 } } }, "range": [ - 11435, - 11454 + 12012, + 12031 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 55 }, "end": { - "line": 338, + "line": 375, "column": 74 } } }, "range": [ - 11392, - 11454 + 11969, + 12031 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 12 }, "end": { - "line": 338, + "line": 375, "column": 74 } } @@ -25248,48 +25056,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 11470, - 11477 + 12047, + 12054 ], "loc": { "start": { - "line": 339, + "line": 376, "column": 12 }, "end": { - "line": 339, + "line": 376, "column": 19 } } } ], "range": [ - 11456, - 11487 + 12033, + 12064 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 76 }, "end": { - "line": 340, + "line": 377, "column": 9 } } }, "alternate": null, "range": [ - 11388, - 11487 + 11965, + 12064 ], "loc": { "start": { - "line": 338, + "line": 375, "column": 8 }, "end": { - "line": 340, + "line": 377, "column": 9 } } @@ -25303,16 +25111,16 @@ "type": "Identifier", "name": "slc", "range": [ - 11500, - 11503 + 12077, + 12080 ], "loc": { "start": { - "line": 341, + "line": 378, "column": 12 }, "end": { - "line": 341, + "line": 378, "column": 15 } } @@ -25326,16 +25134,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11506, - 11508 + 12083, + 12085 ], "loc": { "start": { - "line": 341, + "line": 378, "column": 18 }, "end": { - "line": 341, + "line": 378, "column": 20 } } @@ -25344,31 +25152,31 @@ "type": "Identifier", "name": "getFilterElement", "range": [ - 11509, - 11525 + 12086, + 12102 ], "loc": { "start": { - "line": 341, + "line": 378, "column": 21 }, "end": { - "line": 341, + "line": 378, "column": 37 } } }, "range": [ - 11506, - 11525 + 12083, + 12102 ], "loc": { "start": { - "line": 341, + "line": 378, "column": 18 }, "end": { - "line": 341, + "line": 378, "column": 37 } } @@ -25378,47 +25186,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 11526, - 11534 + 12103, + 12111 ], "loc": { "start": { - "line": 341, + "line": 378, "column": 38 }, "end": { - "line": 341, + "line": 378, "column": 46 } } } ], "range": [ - 11506, - 11535 + 12083, + 12112 ], "loc": { "start": { - "line": 341, + "line": 378, "column": 18 }, "end": { - "line": 341, + "line": 378, "column": 47 } } }, "range": [ - 11500, - 11535 + 12077, + 12112 ], "loc": { "start": { - "line": 341, + "line": 378, "column": 12 }, "end": { - "line": 341, + "line": 378, "column": 47 } } @@ -25426,16 +25234,16 @@ ], "kind": "let", "range": [ - 11496, - 11536 + 12073, + 12113 ], "loc": { "start": { - "line": 341, + "line": 378, "column": 8 }, "end": { - "line": 341, + "line": 378, "column": 48 } } @@ -25454,16 +25262,16 @@ "type": "ArrayExpression", "elements": [], "range": [ - 11545, - 11547 + 12122, + 12124 ], "loc": { "start": { - "line": 342, + "line": 379, "column": 8 }, "end": { - "line": 342, + "line": 379, "column": 10 } } @@ -25472,31 +25280,31 @@ "type": "Identifier", "name": "forEach", "range": [ - 11548, - 11555 + 12125, + 12132 ], "loc": { "start": { - "line": 342, + "line": 379, "column": 11 }, "end": { - "line": 342, + "line": 379, "column": 18 } } }, "range": [ - 11545, - 11555 + 12122, + 12132 ], "loc": { "start": { - "line": 342, + "line": 379, "column": 8 }, "end": { - "line": 342, + "line": 379, "column": 18 } } @@ -25505,31 +25313,31 @@ "type": "Identifier", "name": "call", "range": [ - 11556, - 11560 + 12133, + 12137 ], "loc": { "start": { - "line": 342, + "line": 379, "column": 19 }, "end": { - "line": 342, + "line": 379, "column": 23 } } }, "range": [ - 11545, - 11560 + 12122, + 12137 ], "loc": { "start": { - "line": 342, + "line": 379, "column": 8 }, "end": { - "line": 342, + "line": 379, "column": 23 } } @@ -25542,16 +25350,16 @@ "type": "Identifier", "name": "slc", "range": [ - 11561, - 11564 + 12138, + 12141 ], "loc": { "start": { - "line": 342, + "line": 379, "column": 24 }, "end": { - "line": 342, + "line": 379, "column": 27 } } @@ -25560,31 +25368,31 @@ "type": "Identifier", "name": "options", "range": [ - 11565, - 11572 + 12142, + 12149 ], "loc": { "start": { - "line": 342, + "line": 379, "column": 28 }, "end": { - "line": 342, + "line": 379, "column": 35 } } }, "range": [ - 11561, - 11572 + 12138, + 12149 ], "loc": { "start": { - "line": 342, + "line": 379, "column": 24 }, "end": { - "line": 342, + "line": 379, "column": 35 } } @@ -25597,16 +25405,16 @@ "type": "Identifier", "name": "option", "range": [ - 11575, - 11581 + 12152, + 12158 ], "loc": { "start": { - "line": 342, + "line": 379, "column": 38 }, "end": { - "line": 342, + "line": 379, "column": 44 } } @@ -25630,16 +25438,16 @@ "type": "Identifier", "name": "values", "range": [ - 11714, - 11720 + 12291, + 12297 ], "loc": { "start": { - "line": 345, + "line": 382, "column": 16 }, "end": { - "line": 345, + "line": 382, "column": 22 } } @@ -25649,31 +25457,31 @@ "value": 0, "raw": "0", "range": [ - 11721, - 11722 + 12298, + 12299 ], "loc": { "start": { - "line": 345, + "line": 382, "column": 23 }, "end": { - "line": 345, + "line": 382, "column": 24 } } }, "range": [ - 11714, - 11723 + 12291, + 12300 ], "loc": { "start": { - "line": 345, + "line": 382, "column": 16 }, "end": { - "line": 345, + "line": 382, "column": 25 } } @@ -25683,31 +25491,31 @@ "value": "", "raw": "''", "range": [ - 11728, - 11730 + 12305, + 12307 ], "loc": { "start": { - "line": 345, + "line": 382, "column": 30 }, "end": { - "line": 345, + "line": 382, "column": 32 } } }, "range": [ - 11714, - 11730 + 12291, + 12307 ], "loc": { "start": { - "line": 345, + "line": 382, "column": 16 }, "end": { - "line": 345, + "line": 382, "column": 32 } } @@ -25722,16 +25530,16 @@ "type": "Identifier", "name": "option", "range": [ - 11734, - 11740 + 12311, + 12317 ], "loc": { "start": { - "line": 345, + "line": 382, "column": 36 }, "end": { - "line": 345, + "line": 382, "column": 42 } } @@ -25740,31 +25548,31 @@ "type": "Identifier", "name": "value", "range": [ - 11741, - 11746 + 12318, + 12323 ], "loc": { "start": { - "line": 345, + "line": 382, "column": 43 }, "end": { - "line": 345, + "line": 382, "column": 48 } } }, "range": [ - 11734, - 11746 + 12311, + 12323 ], "loc": { "start": { - "line": 345, + "line": 382, "column": 36 }, "end": { - "line": 345, + "line": 382, "column": 48 } } @@ -25774,46 +25582,46 @@ "value": "", "raw": "''", "range": [ - 11751, - 11753 + 12328, + 12330 ], "loc": { "start": { - "line": 345, + "line": 382, "column": 53 }, "end": { - "line": 345, + "line": 382, "column": 55 } } }, "range": [ - 11734, - 11753 + 12311, + 12330 ], "loc": { "start": { - "line": 345, + "line": 382, "column": 36 }, "end": { - "line": 345, + "line": 382, "column": 55 } } }, "range": [ - 11714, - 11753 + 12291, + 12330 ], "loc": { "start": { - "line": 345, + "line": 382, "column": 16 }, "end": { - "line": 345, + "line": 382, "column": 55 } } @@ -25833,16 +25641,16 @@ "type": "Identifier", "name": "option", "range": [ - 11773, - 11779 + 12350, + 12356 ], "loc": { "start": { - "line": 346, + "line": 383, "column": 16 }, "end": { - "line": 346, + "line": 383, "column": 22 } } @@ -25851,31 +25659,31 @@ "type": "Identifier", "name": "selected", "range": [ - 11780, - 11788 + 12357, + 12365 ], "loc": { "start": { - "line": 346, + "line": 383, "column": 23 }, "end": { - "line": 346, + "line": 383, "column": 31 } } }, "range": [ - 11773, - 11788 + 12350, + 12365 ], "loc": { "start": { - "line": 346, + "line": 383, "column": 16 }, "end": { - "line": 346, + "line": 383, "column": 31 } } @@ -25885,78 +25693,78 @@ "value": false, "raw": "false", "range": [ - 11791, - 11796 + 12368, + 12373 ], "loc": { "start": { - "line": 346, + "line": 383, "column": 34 }, "end": { - "line": 346, + "line": 383, "column": 39 } } }, "range": [ - 11773, - 11796 + 12350, + 12373 ], "loc": { "start": { - "line": 346, + "line": 383, "column": 16 }, "end": { - "line": 346, + "line": 383, "column": 39 } } }, "range": [ - 11773, - 11797 + 12350, + 12374 ], "loc": { "start": { - "line": 346, + "line": 383, "column": 16 }, "end": { - "line": 346, + "line": 383, "column": 40 } } } ], "range": [ - 11755, - 11811 + 12332, + 12388 ], "loc": { "start": { - "line": 345, + "line": 382, "column": 57 }, "end": { - "line": 347, + "line": 384, "column": 13 } } }, "alternate": null, "range": [ - 11710, - 11811 + 12287, + 12388 ], "loc": { "start": { - "line": 345, + "line": 382, "column": 12 }, "end": { - "line": 347, + "line": 384, "column": 13 } }, @@ -25965,16 +25773,16 @@ "type": "Line", "value": " Empty value means clear all selections and first option is the", "range": [ - 11600, - 11665 + 12177, + 12242 ], "loc": { "start": { - "line": 343, + "line": 380, "column": 12 }, "end": { - "line": 343, + "line": 380, "column": 77 } } @@ -25983,16 +25791,16 @@ "type": "Line", "value": " clear all option", "range": [ - 11678, - 11697 + 12255, + 12274 ], "loc": { "start": { - "line": 344, + "line": 381, "column": 12 }, "end": { - "line": 344, + "line": 381, "column": 31 } } @@ -26014,16 +25822,16 @@ "type": "Identifier", "name": "option", "range": [ - 11829, - 11835 + 12406, + 12412 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 16 }, "end": { - "line": 349, + "line": 386, "column": 22 } } @@ -26032,31 +25840,31 @@ "type": "Identifier", "name": "value", "range": [ - 11836, - 11841 + 12413, + 12418 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 23 }, "end": { - "line": 349, + "line": 386, "column": 28 } } }, "range": [ - 11829, - 11841 + 12406, + 12418 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 16 }, "end": { - "line": 349, + "line": 386, "column": 28 } } @@ -26066,31 +25874,31 @@ "value": "", "raw": "''", "range": [ - 11846, - 11848 + 12423, + 12425 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 33 }, "end": { - "line": 349, + "line": 386, "column": 35 } } }, "range": [ - 11829, - 11848 + 12406, + 12425 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 16 }, "end": { - "line": 349, + "line": 386, "column": 35 } } @@ -26101,16 +25909,16 @@ "type": "Identifier", "name": "has", "range": [ - 11852, - 11855 + 12429, + 12432 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 39 }, "end": { - "line": 349, + "line": 386, "column": 42 } } @@ -26120,16 +25928,16 @@ "type": "Identifier", "name": "values", "range": [ - 11856, - 11862 + 12433, + 12439 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 43 }, "end": { - "line": 349, + "line": 386, "column": 49 } } @@ -26141,16 +25949,16 @@ "type": "Identifier", "name": "option", "range": [ - 11864, - 11870 + 12441, + 12447 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 51 }, "end": { - "line": 349, + "line": 386, "column": 57 } } @@ -26159,31 +25967,31 @@ "type": "Identifier", "name": "value", "range": [ - 11871, - 11876 + 12448, + 12453 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 58 }, "end": { - "line": 349, + "line": 386, "column": 63 } } }, "range": [ - 11864, - 11876 + 12441, + 12453 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 51 }, "end": { - "line": 349, + "line": 386, "column": 63 } } @@ -26193,47 +26001,47 @@ "value": true, "raw": "true", "range": [ - 11878, - 11882 + 12455, + 12459 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 65 }, "end": { - "line": 349, + "line": 386, "column": 69 } } } ], "range": [ - 11852, - 11883 + 12429, + 12460 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 39 }, "end": { - "line": 349, + "line": 386, "column": 70 } } }, "range": [ - 11829, - 11883 + 12406, + 12460 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 16 }, "end": { - "line": 349, + "line": 386, "column": 70 } } @@ -26253,16 +26061,16 @@ "type": "Identifier", "name": "option", "range": [ - 11903, - 11909 + 12480, + 12486 ], "loc": { "start": { - "line": 350, + "line": 387, "column": 16 }, "end": { - "line": 350, + "line": 387, "column": 22 } } @@ -26271,31 +26079,31 @@ "type": "Identifier", "name": "selected", "range": [ - 11910, - 11918 + 12487, + 12495 ], "loc": { "start": { - "line": 350, + "line": 387, "column": 23 }, "end": { - "line": 350, + "line": 387, "column": 31 } } }, "range": [ - 11903, - 11918 + 12480, + 12495 ], "loc": { "start": { - "line": 350, + "line": 387, "column": 16 }, "end": { - "line": 350, + "line": 387, "column": 31 } } @@ -26305,78 +26113,78 @@ "value": true, "raw": "true", "range": [ - 11921, - 11925 + 12498, + 12502 ], "loc": { "start": { - "line": 350, + "line": 387, "column": 34 }, "end": { - "line": 350, + "line": 387, "column": 38 } } }, "range": [ - 11903, - 11925 + 12480, + 12502 ], "loc": { "start": { - "line": 350, + "line": 387, "column": 16 }, "end": { - "line": 350, + "line": 387, "column": 38 } } }, "range": [ - 11903, - 11926 + 12480, + 12503 ], "loc": { "start": { - "line": 350, + "line": 387, "column": 16 }, "end": { - "line": 350, + "line": 387, "column": 39 } } } ], "range": [ - 11885, - 11940 + 12462, + 12517 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 72 }, "end": { - "line": 351, + "line": 388, "column": 13 } } }, "alternate": null, "range": [ - 11825, - 11940 + 12402, + 12517 ], "loc": { "start": { - "line": 349, + "line": 386, "column": 12 }, "end": { - "line": 351, + "line": 388, "column": 13 } }, @@ -26385,16 +26193,16 @@ "type": "Line", "value": "if", "range": [ - 11940, - 11944 + 12517, + 12521 ], "loc": { "start": { - "line": 351, + "line": 388, "column": 13 }, "end": { - "line": 351, + "line": 388, "column": 17 } } @@ -26403,16 +26211,16 @@ } ], "range": [ - 11586, - 11954 + 12163, + 12531 ], "loc": { "start": { - "line": 342, + "line": 379, "column": 49 }, "end": { - "line": 352, + "line": 389, "column": 9 } } @@ -26420,63 +26228,63 @@ "generator": false, "expression": false, "range": [ - 11574, - 11954 + 12151, + 12531 ], "loc": { "start": { - "line": 342, + "line": 379, "column": 37 }, "end": { - "line": 352, + "line": 389, "column": 9 } } } ], "range": [ - 11545, - 11955 + 12122, + 12532 ], "loc": { "start": { - "line": 342, + "line": 379, "column": 8 }, "end": { - "line": 352, + "line": 389, "column": 10 } } }, "range": [ - 11545, - 11956 + 12122, + 12533 ], "loc": { "start": { - "line": 342, + "line": 379, "column": 8 }, "end": { - "line": 352, + "line": 389, "column": 11 } } } ], "range": [ - 11352, - 11962 + 11929, + 12539 ], "loc": { "start": { - "line": 336, + "line": 373, "column": 41 }, "end": { - "line": 353, + "line": 390, "column": 5 } } @@ -26484,16 +26292,16 @@ "generator": false, "expression": false, "range": [ - 11328, - 11962 + 11905, + 12539 ], "loc": { "start": { - "line": 336, + "line": 373, "column": 17 }, "end": { - "line": 353, + "line": 390, "column": 5 } } @@ -26501,16 +26309,16 @@ "kind": "method", "computed": false, "range": [ - 11315, - 11962 + 11892, + 12539 ], "loc": { "start": { - "line": 336, + "line": 373, "column": 4 }, "end": { - "line": 353, + "line": 390, "column": 5 } }, @@ -26519,16 +26327,16 @@ "type": "Block", "value": "*\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n ", "range": [ - 11141, - 11310 + 11718, + 11887 ], "loc": { "start": { - "line": 331, + "line": 368, "column": 4 }, "end": { - "line": 335, + "line": 372, "column": 7 } } @@ -26539,16 +26347,16 @@ "type": "Block", "value": "*\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Array of selected values\n ", "range": [ - 11968, - 12132 + 12545, + 12709 ], "loc": { "start": { - "line": 355, + "line": 392, "column": 4 }, "end": { - "line": 359, + "line": 396, "column": 7 } } @@ -26562,16 +26370,16 @@ "type": "Identifier", "name": "getValues", "range": [ - 12137, - 12146 + 12714, + 12723 ], "loc": { "start": { - "line": 360, + "line": 397, "column": 4 }, "end": { - "line": 360, + "line": 397, "column": 13 } } @@ -26584,16 +26392,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12147, - 12155 + 12724, + 12732 ], "loc": { "start": { - "line": 360, + "line": 397, "column": 14 }, "end": { - "line": 360, + "line": 397, "column": 22 } } @@ -26611,16 +26419,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12171, - 12173 + 12748, + 12750 ], "loc": { "start": { - "line": 361, + "line": 398, "column": 12 }, "end": { - "line": 361, + "line": 398, "column": 14 } } @@ -26631,16 +26439,16 @@ "object": { "type": "ThisExpression", "range": [ - 12176, - 12180 + 12753, + 12757 ], "loc": { "start": { - "line": 361, + "line": 398, "column": 17 }, "end": { - "line": 361, + "line": 398, "column": 21 } } @@ -26649,46 +26457,46 @@ "type": "Identifier", "name": "tf", "range": [ - 12181, - 12183 + 12758, + 12760 ], "loc": { "start": { - "line": 361, + "line": 398, "column": 22 }, "end": { - "line": 361, + "line": 398, "column": 24 } } }, "range": [ - 12176, - 12183 + 12753, + 12760 ], "loc": { "start": { - "line": 361, + "line": 398, "column": 17 }, "end": { - "line": 361, + "line": 398, "column": 24 } } }, "range": [ - 12171, - 12183 + 12748, + 12760 ], "loc": { "start": { - "line": 361, + "line": 398, "column": 12 }, "end": { - "line": 361, + "line": 398, "column": 24 } } @@ -26696,16 +26504,16 @@ ], "kind": "let", "range": [ - 12167, - 12184 + 12744, + 12761 ], "loc": { "start": { - "line": 361, + "line": 398, "column": 8 }, "end": { - "line": 361, + "line": 398, "column": 25 } } @@ -26719,16 +26527,16 @@ "type": "Identifier", "name": "slc", "range": [ - 12197, - 12200 + 12774, + 12777 ], "loc": { "start": { - "line": 362, + "line": 399, "column": 12 }, "end": { - "line": 362, + "line": 399, "column": 15 } } @@ -26742,16 +26550,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12203, - 12205 + 12780, + 12782 ], "loc": { "start": { - "line": 362, + "line": 399, "column": 18 }, "end": { - "line": 362, + "line": 399, "column": 20 } } @@ -26760,31 +26568,31 @@ "type": "Identifier", "name": "getFilterElement", "range": [ - 12206, - 12222 + 12783, + 12799 ], "loc": { "start": { - "line": 362, + "line": 399, "column": 21 }, "end": { - "line": 362, + "line": 399, "column": 37 } } }, "range": [ - 12203, - 12222 + 12780, + 12799 ], "loc": { "start": { - "line": 362, + "line": 399, "column": 18 }, "end": { - "line": 362, + "line": 399, "column": 37 } } @@ -26794,47 +26602,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12223, - 12231 + 12800, + 12808 ], "loc": { "start": { - "line": 362, + "line": 399, "column": 38 }, "end": { - "line": 362, + "line": 399, "column": 46 } } } ], "range": [ - 12203, - 12232 + 12780, + 12809 ], "loc": { "start": { - "line": 362, + "line": 399, "column": 18 }, "end": { - "line": 362, + "line": 399, "column": 47 } } }, "range": [ - 12197, - 12232 + 12774, + 12809 ], "loc": { "start": { - "line": 362, + "line": 399, "column": 12 }, "end": { - "line": 362, + "line": 399, "column": 47 } } @@ -26842,16 +26650,16 @@ ], "kind": "let", "range": [ - 12193, - 12233 + 12770, + 12810 ], "loc": { "start": { - "line": 362, + "line": 399, "column": 8 }, "end": { - "line": 362, + "line": 399, "column": 48 } } @@ -26865,16 +26673,16 @@ "type": "Identifier", "name": "values", "range": [ - 12246, - 12252 + 12823, + 12829 ], "loc": { "start": { - "line": 363, + "line": 400, "column": 12 }, "end": { - "line": 363, + "line": 400, "column": 18 } } @@ -26883,31 +26691,31 @@ "type": "ArrayExpression", "elements": [], "range": [ - 12255, - 12257 + 12832, + 12834 ], "loc": { "start": { - "line": 363, + "line": 400, "column": 21 }, "end": { - "line": 363, + "line": 400, "column": 23 } } }, "range": [ - 12246, - 12257 + 12823, + 12834 ], "loc": { "start": { - "line": 363, + "line": 400, "column": 12 }, "end": { - "line": 363, + "line": 400, "column": 23 } } @@ -26915,16 +26723,16 @@ ], "kind": "let", "range": [ - 12242, - 12258 + 12819, + 12835 ], "loc": { "start": { - "line": 363, + "line": 400, "column": 8 }, "end": { - "line": 363, + "line": 400, "column": 24 } }, @@ -26933,16 +26741,16 @@ "type": "Line", "value": " IE >= 9 does not support the selectedOptions property :(", "range": [ - 12268, - 12327 + 12845, + 12904 ], "loc": { "start": { - "line": 365, + "line": 402, "column": 8 }, "end": { - "line": 365, + "line": 402, "column": 67 } } @@ -26958,16 +26766,16 @@ "type": "Identifier", "name": "slc", "range": [ - 12340, - 12343 + 12917, + 12920 ], "loc": { "start": { - "line": 366, + "line": 403, "column": 12 }, "end": { - "line": 366, + "line": 403, "column": 15 } } @@ -26976,31 +26784,31 @@ "type": "Identifier", "name": "selectedOptions", "range": [ - 12344, - 12359 + 12921, + 12936 ], "loc": { "start": { - "line": 366, + "line": 403, "column": 16 }, "end": { - "line": 366, + "line": 403, "column": 31 } } }, "range": [ - 12340, - 12359 + 12917, + 12936 ], "loc": { "start": { - "line": 366, + "line": 403, "column": 12 }, "end": { - "line": 366, + "line": 403, "column": 31 } } @@ -27022,16 +26830,16 @@ "type": "ArrayExpression", "elements": [], "range": [ - 12375, - 12377 + 12952, + 12954 ], "loc": { "start": { - "line": 367, + "line": 404, "column": 12 }, "end": { - "line": 367, + "line": 404, "column": 14 } } @@ -27040,31 +26848,31 @@ "type": "Identifier", "name": "forEach", "range": [ - 12378, - 12385 + 12955, + 12962 ], "loc": { "start": { - "line": 367, + "line": 404, "column": 15 }, "end": { - "line": 367, + "line": 404, "column": 22 } } }, "range": [ - 12375, - 12385 + 12952, + 12962 ], "loc": { "start": { - "line": 367, + "line": 404, "column": 12 }, "end": { - "line": 367, + "line": 404, "column": 22 } } @@ -27073,31 +26881,31 @@ "type": "Identifier", "name": "call", "range": [ - 12386, - 12390 + 12963, + 12967 ], "loc": { "start": { - "line": 367, + "line": 404, "column": 23 }, "end": { - "line": 367, + "line": 404, "column": 27 } } }, "range": [ - 12375, - 12390 + 12952, + 12967 ], "loc": { "start": { - "line": 367, + "line": 404, "column": 12 }, "end": { - "line": 367, + "line": 404, "column": 27 } } @@ -27110,16 +26918,16 @@ "type": "Identifier", "name": "slc", "range": [ - 12391, - 12394 + 12968, + 12971 ], "loc": { "start": { - "line": 367, + "line": 404, "column": 28 }, "end": { - "line": 367, + "line": 404, "column": 31 } } @@ -27128,31 +26936,31 @@ "type": "Identifier", "name": "selectedOptions", "range": [ - 12395, - 12410 + 12972, + 12987 ], "loc": { "start": { - "line": 367, + "line": 404, "column": 32 }, "end": { - "line": 367, + "line": 404, "column": 47 } } }, "range": [ - 12391, - 12410 + 12968, + 12987 ], "loc": { "start": { - "line": 367, + "line": 404, "column": 28 }, "end": { - "line": 367, + "line": 404, "column": 47 } } @@ -27165,16 +26973,16 @@ "type": "Identifier", "name": "option", "range": [ - 12428, - 12434 + 13005, + 13011 ], "loc": { "start": { - "line": 368, + "line": 405, "column": 16 }, "end": { - "line": 368, + "line": 405, "column": 22 } } @@ -27189,16 +26997,16 @@ "type": "Identifier", "name": "values", "range": [ - 12438, - 12444 + 13015, + 13021 ], "loc": { "start": { - "line": 368, + "line": 405, "column": 26 }, "end": { - "line": 368, + "line": 405, "column": 32 } } @@ -27207,31 +27015,31 @@ "type": "Identifier", "name": "push", "range": [ - 12445, - 12449 + 13022, + 13026 ], "loc": { "start": { - "line": 368, + "line": 405, "column": 33 }, "end": { - "line": 368, + "line": 405, "column": 37 } } }, "range": [ - 12438, - 12449 + 13015, + 13026 ], "loc": { "start": { - "line": 368, + "line": 405, "column": 26 }, "end": { - "line": 368, + "line": 405, "column": 37 } } @@ -27244,16 +27052,16 @@ "type": "Identifier", "name": "option", "range": [ - 12450, - 12456 + 13027, + 13033 ], "loc": { "start": { - "line": 368, + "line": 405, "column": 38 }, "end": { - "line": 368, + "line": 405, "column": 44 } } @@ -27262,47 +27070,47 @@ "type": "Identifier", "name": "value", "range": [ - 12457, - 12462 + 13034, + 13039 ], "loc": { "start": { - "line": 368, + "line": 405, "column": 45 }, "end": { - "line": 368, + "line": 405, "column": 50 } } }, "range": [ - 12450, - 12462 + 13027, + 13039 ], "loc": { "start": { - "line": 368, + "line": 405, "column": 38 }, "end": { - "line": 368, + "line": 405, "column": 50 } } } ], "range": [ - 12438, - 12463 + 13015, + 13040 ], "loc": { "start": { - "line": 368, + "line": 405, "column": 26 }, "end": { - "line": 368, + "line": 405, "column": 51 } } @@ -27310,63 +27118,63 @@ "generator": false, "expression": true, "range": [ - 12428, - 12463 + 13005, + 13040 ], "loc": { "start": { - "line": 368, + "line": 405, "column": 16 }, "end": { - "line": 368, + "line": 405, "column": 51 } } } ], "range": [ - 12375, - 12464 + 12952, + 13041 ], "loc": { "start": { - "line": 367, + "line": 404, "column": 12 }, "end": { - "line": 368, + "line": 405, "column": 52 } } }, "range": [ - 12375, - 12465 + 12952, + 13042 ], "loc": { "start": { - "line": 367, + "line": 404, "column": 12 }, "end": { - "line": 368, + "line": 405, "column": 53 } } } ], "range": [ - 12361, - 12475 + 12938, + 13052 ], "loc": { "start": { - "line": 366, + "line": 403, "column": 33 }, "end": { - "line": 369, + "line": 406, "column": 9 } } @@ -27388,16 +27196,16 @@ "type": "ArrayExpression", "elements": [], "range": [ - 12495, - 12497 + 13072, + 13074 ], "loc": { "start": { - "line": 370, + "line": 407, "column": 12 }, "end": { - "line": 370, + "line": 407, "column": 14 } } @@ -27406,31 +27214,31 @@ "type": "Identifier", "name": "forEach", "range": [ - 12498, - 12505 + 13075, + 13082 ], "loc": { "start": { - "line": 370, + "line": 407, "column": 15 }, "end": { - "line": 370, + "line": 407, "column": 22 } } }, "range": [ - 12495, - 12505 + 13072, + 13082 ], "loc": { "start": { - "line": 370, + "line": 407, "column": 12 }, "end": { - "line": 370, + "line": 407, "column": 22 } } @@ -27439,31 +27247,31 @@ "type": "Identifier", "name": "call", "range": [ - 12506, - 12510 + 13083, + 13087 ], "loc": { "start": { - "line": 370, + "line": 407, "column": 23 }, "end": { - "line": 370, + "line": 407, "column": 27 } } }, "range": [ - 12495, - 12510 + 13072, + 13087 ], "loc": { "start": { - "line": 370, + "line": 407, "column": 12 }, "end": { - "line": 370, + "line": 407, "column": 27 } } @@ -27476,16 +27284,16 @@ "type": "Identifier", "name": "slc", "range": [ - 12511, - 12514 + 13088, + 13091 ], "loc": { "start": { - "line": 370, + "line": 407, "column": 28 }, "end": { - "line": 370, + "line": 407, "column": 31 } } @@ -27494,31 +27302,31 @@ "type": "Identifier", "name": "options", "range": [ - 12515, - 12522 + 13092, + 13099 ], "loc": { "start": { - "line": 370, + "line": 407, "column": 32 }, "end": { - "line": 370, + "line": 407, "column": 39 } } }, "range": [ - 12511, - 12522 + 13088, + 13099 ], "loc": { "start": { - "line": 370, + "line": 407, "column": 28 }, "end": { - "line": 370, + "line": 407, "column": 39 } } @@ -27531,16 +27339,16 @@ "type": "Identifier", "name": "option", "range": [ - 12525, - 12531 + 13102, + 13108 ], "loc": { "start": { - "line": 370, + "line": 407, "column": 42 }, "end": { - "line": 370, + "line": 407, "column": 48 } } @@ -27558,16 +27366,16 @@ "type": "Identifier", "name": "option", "range": [ - 12558, - 12564 + 13135, + 13141 ], "loc": { "start": { - "line": 371, + "line": 408, "column": 20 }, "end": { - "line": 371, + "line": 408, "column": 26 } } @@ -27576,31 +27384,31 @@ "type": "Identifier", "name": "selected", "range": [ - 12565, - 12573 + 13142, + 13150 ], "loc": { "start": { - "line": 371, + "line": 408, "column": 27 }, "end": { - "line": 371, + "line": 408, "column": 35 } } }, "range": [ - 12558, - 12573 + 13135, + 13150 ], "loc": { "start": { - "line": 371, + "line": 408, "column": 20 }, "end": { - "line": 371, + "line": 408, "column": 35 } } @@ -27619,16 +27427,16 @@ "type": "Identifier", "name": "values", "range": [ - 12597, - 12603 + 13174, + 13180 ], "loc": { "start": { - "line": 372, + "line": 409, "column": 20 }, "end": { - "line": 372, + "line": 409, "column": 26 } } @@ -27637,31 +27445,31 @@ "type": "Identifier", "name": "push", "range": [ - 12604, - 12608 + 13181, + 13185 ], "loc": { "start": { - "line": 372, + "line": 409, "column": 27 }, "end": { - "line": 372, + "line": 409, "column": 31 } } }, "range": [ - 12597, - 12608 + 13174, + 13185 ], "loc": { "start": { - "line": 372, + "line": 409, "column": 20 }, "end": { - "line": 372, + "line": 409, "column": 31 } } @@ -27674,16 +27482,16 @@ "type": "Identifier", "name": "option", "range": [ - 12609, - 12615 + 13186, + 13192 ], "loc": { "start": { - "line": 372, + "line": 409, "column": 32 }, "end": { - "line": 372, + "line": 409, "column": 38 } } @@ -27692,110 +27500,110 @@ "type": "Identifier", "name": "value", "range": [ - 12616, - 12621 + 13193, + 13198 ], "loc": { "start": { - "line": 372, + "line": 409, "column": 39 }, "end": { - "line": 372, + "line": 409, "column": 44 } } }, "range": [ - 12609, - 12621 + 13186, + 13198 ], "loc": { "start": { - "line": 372, + "line": 409, "column": 32 }, "end": { - "line": 372, + "line": 409, "column": 44 } } } ], "range": [ - 12597, - 12622 + 13174, + 13199 ], "loc": { "start": { - "line": 372, + "line": 409, "column": 20 }, "end": { - "line": 372, + "line": 409, "column": 45 } } }, "range": [ - 12597, - 12623 + 13174, + 13200 ], "loc": { "start": { - "line": 372, + "line": 409, "column": 20 }, "end": { - "line": 372, + "line": 409, "column": 46 } } } ], "range": [ - 12575, - 12641 + 13152, + 13218 ], "loc": { "start": { - "line": 371, + "line": 408, "column": 37 }, "end": { - "line": 373, + "line": 410, "column": 17 } } }, "alternate": null, "range": [ - 12554, - 12641 + 13131, + 13218 ], "loc": { "start": { - "line": 371, + "line": 408, "column": 16 }, "end": { - "line": 373, + "line": 410, "column": 17 } } } ], "range": [ - 12536, - 12655 + 13113, + 13232 ], "loc": { "start": { - "line": 370, + "line": 407, "column": 53 }, "end": { - "line": 374, + "line": 411, "column": 13 } } @@ -27803,78 +27611,78 @@ "generator": false, "expression": false, "range": [ - 12524, - 12655 + 13101, + 13232 ], "loc": { "start": { - "line": 370, + "line": 407, "column": 41 }, "end": { - "line": 374, + "line": 411, "column": 13 } } } ], "range": [ - 12495, - 12656 + 13072, + 13233 ], "loc": { "start": { - "line": 370, + "line": 407, "column": 12 }, "end": { - "line": 374, + "line": 411, "column": 14 } } }, "range": [ - 12495, - 12657 + 13072, + 13234 ], "loc": { "start": { - "line": 370, + "line": 407, "column": 12 }, "end": { - "line": 374, + "line": 411, "column": 15 } } } ], "range": [ - 12481, - 12667 + 13058, + 13244 ], "loc": { "start": { - "line": 369, + "line": 406, "column": 15 }, "end": { - "line": 375, + "line": 412, "column": 9 } } }, "range": [ - 12336, - 12667 + 12913, + 13244 ], "loc": { "start": { - "line": 366, + "line": 403, "column": 8 }, "end": { - "line": 375, + "line": 412, "column": 9 } }, @@ -27883,16 +27691,16 @@ "type": "Line", "value": " IE >= 9 does not support the selectedOptions property :(", "range": [ - 12268, - 12327 + 12845, + 12904 ], "loc": { "start": { - "line": 365, + "line": 402, "column": 8 }, "end": { - "line": 365, + "line": 402, "column": 67 } } @@ -27905,47 +27713,47 @@ "type": "Identifier", "name": "values", "range": [ - 12684, - 12690 + 13261, + 13267 ], "loc": { "start": { - "line": 377, + "line": 414, "column": 15 }, "end": { - "line": 377, + "line": 414, "column": 21 } } }, "range": [ - 12677, - 12691 + 13254, + 13268 ], "loc": { "start": { - "line": 377, + "line": 414, "column": 8 }, "end": { - "line": 377, + "line": 414, "column": 22 } } } ], "range": [ - 12157, - 12697 + 12734, + 13274 ], "loc": { "start": { - "line": 360, + "line": 397, "column": 24 }, "end": { - "line": 378, + "line": 415, "column": 5 } } @@ -27953,16 +27761,16 @@ "generator": false, "expression": false, "range": [ - 12146, - 12697 + 12723, + 13274 ], "loc": { "start": { - "line": 360, + "line": 397, "column": 13 }, "end": { - "line": 378, + "line": 415, "column": 5 } } @@ -27970,16 +27778,16 @@ "kind": "method", "computed": false, "range": [ - 12137, - 12697 + 12714, + 13274 ], "loc": { "start": { - "line": 360, + "line": 397, "column": 4 }, "end": { - "line": 378, + "line": 415, "column": 5 } }, @@ -27988,16 +27796,16 @@ "type": "Line", "value": "if", "range": [ - 11940, - 11944 + 12517, + 12521 ], "loc": { "start": { - "line": 351, + "line": 388, "column": 13 }, "end": { - "line": 351, + "line": 388, "column": 17 } } @@ -28006,16 +27814,36 @@ "type": "Block", "value": "*\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Array of selected values\n ", "range": [ - 11968, - 12132 + 12545, + 12709 ], "loc": { "start": { - "line": 355, + "line": 392, "column": 4 }, "end": { - "line": 359, + "line": 396, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Destroy Dropdown instance\n ", + "range": [ + 13280, + 13324 + ], + "loc": { + "start": { + "line": 417, + "column": 4 + }, + "end": { + "line": 419, "column": 7 } } @@ -28029,16 +27857,16 @@ "type": "Identifier", "name": "destroy", "range": [ - 12703, - 12710 + 13329, + 13336 ], "loc": { "start": { - "line": 380, + "line": 420, "column": 4 }, "end": { - "line": 380, + "line": 420, "column": 11 } } @@ -28063,16 +27891,16 @@ "object": { "type": "ThisExpression", "range": [ - 12723, - 12727 + 13349, + 13353 ], "loc": { "start": { - "line": 381, + "line": 421, "column": 8 }, "end": { - "line": 381, + "line": 421, "column": 12 } } @@ -28081,31 +27909,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 12728, - 12735 + 13354, + 13361 ], "loc": { "start": { - "line": 381, + "line": 421, "column": 13 }, "end": { - "line": 381, + "line": 421, "column": 20 } } }, "range": [ - 12723, - 12735 + 13349, + 13361 ], "loc": { "start": { - "line": 381, + "line": 421, "column": 8 }, "end": { - "line": 381, + "line": 421, "column": 20 } } @@ -28114,31 +27942,31 @@ "type": "Identifier", "name": "off", "range": [ - 12736, - 12739 + 13362, + 13365 ], "loc": { "start": { - "line": 381, + "line": 421, "column": 21 }, "end": { - "line": 381, + "line": 421, "column": 24 } } }, "range": [ - 12723, - 12739 + 13349, + 13365 ], "loc": { "start": { - "line": 381, + "line": 421, "column": 8 }, "end": { - "line": 381, + "line": 421, "column": 24 } } @@ -28152,32 +27980,32 @@ "value": "build-select-filter", "raw": "'build-select-filter'", "range": [ - 12754, - 12775 + 13380, + 13401 ], "loc": { "start": { - "line": 382, + "line": 422, "column": 13 }, "end": { - "line": 382, + "line": 422, "column": 34 } } } ], "range": [ - 12753, - 12776 + 13379, + 13402 ], "loc": { "start": { - "line": 382, + "line": 422, "column": 12 }, "end": { - "line": 382, + "line": 422, "column": 35 } } @@ -28190,16 +28018,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12791, - 12799 + 13417, + 13425 ], "loc": { "start": { - "line": 383, + "line": 423, "column": 13 }, "end": { - "line": 383, + "line": 423, "column": 21 } } @@ -28208,16 +28036,16 @@ "type": "Identifier", "name": "isLinked", "range": [ - 12801, - 12809 + 13427, + 13435 ], "loc": { "start": { - "line": 383, + "line": 423, "column": 23 }, "end": { - "line": 383, + "line": 423, "column": 31 } } @@ -28226,16 +28054,16 @@ "type": "Identifier", "name": "isExternal", "range": [ - 12811, - 12821 + 13437, + 13447 ], "loc": { "start": { - "line": 383, + "line": 423, "column": 33 }, "end": { - "line": 383, + "line": 423, "column": 43 } } @@ -28249,16 +28077,16 @@ "object": { "type": "ThisExpression", "range": [ - 12842, - 12846 + 13468, + 13472 ], "loc": { "start": { - "line": 384, + "line": 424, "column": 16 }, "end": { - "line": 384, + "line": 424, "column": 20 } } @@ -28267,31 +28095,31 @@ "type": "Identifier", "name": "build", "range": [ - 12847, - 12852 + 13473, + 13478 ], "loc": { "start": { - "line": 384, + "line": 424, "column": 21 }, "end": { - "line": 384, + "line": 424, "column": 26 } } }, "range": [ - 12842, - 12852 + 13468, + 13478 ], "loc": { "start": { - "line": 384, + "line": 424, "column": 16 }, "end": { - "line": 384, + "line": 424, "column": 26 } } @@ -28301,16 +28129,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12853, - 12861 + 13479, + 13487 ], "loc": { "start": { - "line": 384, + "line": 424, "column": 27 }, "end": { - "line": 384, + "line": 424, "column": 35 } } @@ -28319,16 +28147,16 @@ "type": "Identifier", "name": "isLinked", "range": [ - 12863, - 12871 + 13489, + 13497 ], "loc": { "start": { - "line": 384, + "line": 424, "column": 37 }, "end": { - "line": 384, + "line": 424, "column": 45 } } @@ -28337,32 +28165,32 @@ "type": "Identifier", "name": "isExternal", "range": [ - 12873, - 12883 + 13499, + 13509 ], "loc": { "start": { - "line": 384, + "line": 424, "column": 47 }, "end": { - "line": 384, + "line": 424, "column": 57 } } } ], "range": [ - 12842, - 12884 + 13468, + 13510 ], "loc": { "start": { - "line": 384, + "line": 424, "column": 16 }, "end": { - "line": 384, + "line": 424, "column": 58 } } @@ -28370,47 +28198,47 @@ "generator": false, "expression": true, "range": [ - 12790, - 12884 + 13416, + 13510 ], "loc": { "start": { - "line": 383, + "line": 423, "column": 12 }, "end": { - "line": 384, + "line": 424, "column": 58 } } } ], "range": [ - 12723, - 12894 + 13349, + 13520 ], "loc": { "start": { - "line": 381, + "line": 421, "column": 8 }, "end": { - "line": 385, + "line": 425, "column": 9 } } }, "range": [ - 12723, - 12895 + 13349, + 13521 ], "loc": { "start": { - "line": 381, + "line": 421, "column": 8 }, "end": { - "line": 385, + "line": 425, "column": 10 } } @@ -28428,16 +28256,16 @@ "object": { "type": "ThisExpression", "range": [ - 12904, - 12908 + 13530, + 13534 ], "loc": { "start": { - "line": 386, + "line": 426, "column": 8 }, "end": { - "line": 386, + "line": 426, "column": 12 } } @@ -28446,31 +28274,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 12909, - 12916 + 13535, + 13542 ], "loc": { "start": { - "line": 386, + "line": 426, "column": 13 }, "end": { - "line": 386, + "line": 426, "column": 20 } } }, "range": [ - 12904, - 12916 + 13530, + 13542 ], "loc": { "start": { - "line": 386, + "line": 426, "column": 8 }, "end": { - "line": 386, + "line": 426, "column": 20 } } @@ -28479,31 +28307,31 @@ "type": "Identifier", "name": "off", "range": [ - 12917, - 12920 + 13543, + 13546 ], "loc": { "start": { - "line": 386, + "line": 426, "column": 21 }, "end": { - "line": 386, + "line": 426, "column": 24 } } }, "range": [ - 12904, - 12920 + 13530, + 13546 ], "loc": { "start": { - "line": 386, + "line": 426, "column": 8 }, "end": { - "line": 386, + "line": 426, "column": 24 } } @@ -28517,32 +28345,32 @@ "value": "select-options", "raw": "'select-options'", "range": [ - 12935, - 12951 + 13561, + 13577 ], "loc": { "start": { - "line": 387, + "line": 427, "column": 13 }, "end": { - "line": 387, + "line": 427, "column": 29 } } } ], "range": [ - 12934, - 12952 + 13560, + 13578 ], "loc": { "start": { - "line": 387, + "line": 427, "column": 12 }, "end": { - "line": 387, + "line": 427, "column": 30 } } @@ -28555,16 +28383,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12967, - 12969 + 13593, + 13595 ], "loc": { "start": { - "line": 388, + "line": 428, "column": 13 }, "end": { - "line": 388, + "line": 428, "column": 15 } } @@ -28573,16 +28401,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12971, - 12979 + 13597, + 13605 ], "loc": { "start": { - "line": 388, + "line": 428, "column": 17 }, "end": { - "line": 388, + "line": 428, "column": 25 } } @@ -28591,16 +28419,16 @@ "type": "Identifier", "name": "values", "range": [ - 12981, - 12987 + 13607, + 13613 ], "loc": { "start": { - "line": 388, + "line": 428, "column": 27 }, "end": { - "line": 388, + "line": 428, "column": 33 } } @@ -28614,16 +28442,16 @@ "object": { "type": "ThisExpression", "range": [ - 12992, - 12996 + 13618, + 13622 ], "loc": { "start": { - "line": 388, + "line": 428, "column": 38 }, "end": { - "line": 388, + "line": 428, "column": 42 } } @@ -28632,31 +28460,31 @@ "type": "Identifier", "name": "selectOptions", "range": [ - 12997, - 13010 + 13623, + 13636 ], "loc": { "start": { - "line": 388, + "line": 428, "column": 43 }, "end": { - "line": 388, + "line": 428, "column": 56 } } }, "range": [ - 12992, - 13010 + 13618, + 13636 ], "loc": { "start": { - "line": 388, + "line": 428, "column": 38 }, "end": { - "line": 388, + "line": 428, "column": 56 } } @@ -28666,16 +28494,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 13011, - 13019 + 13637, + 13645 ], "loc": { "start": { - "line": 388, + "line": 428, "column": 57 }, "end": { - "line": 388, + "line": 428, "column": 65 } } @@ -28684,32 +28512,32 @@ "type": "Identifier", "name": "values", "range": [ - 13021, - 13027 + 13647, + 13653 ], "loc": { "start": { - "line": 388, + "line": 428, "column": 67 }, "end": { - "line": 388, + "line": 428, "column": 73 } } } ], "range": [ - 12992, - 13028 + 13618, + 13654 ], "loc": { "start": { - "line": 388, + "line": 428, "column": 38 }, "end": { - "line": 388, + "line": 428, "column": 74 } } @@ -28717,63 +28545,63 @@ "generator": false, "expression": true, "range": [ - 12966, - 13028 + 13592, + 13654 ], "loc": { "start": { - "line": 388, + "line": 428, "column": 12 }, "end": { - "line": 388, + "line": 428, "column": 74 } } } ], "range": [ - 12904, - 13038 + 13530, + 13664 ], "loc": { "start": { - "line": 386, + "line": 426, "column": 8 }, "end": { - "line": 389, + "line": 429, "column": 9 } } }, "range": [ - 12904, - 13039 + 13530, + 13665 ], "loc": { "start": { - "line": 386, + "line": 426, "column": 8 }, "end": { - "line": 389, + "line": 429, "column": 10 } } } ], "range": [ - 12713, - 13045 + 13339, + 13671 ], "loc": { "start": { - "line": 380, + "line": 420, "column": 14 }, "end": { - "line": 390, + "line": 430, "column": 5 } } @@ -28781,16 +28609,16 @@ "generator": false, "expression": false, "range": [ - 12710, - 13045 + 13336, + 13671 ], "loc": { "start": { - "line": 380, + "line": 420, "column": 11 }, "end": { - "line": 390, + "line": 430, "column": 5 } } @@ -28798,76 +28626,135 @@ "kind": "method", "computed": false, "range": [ - 12703, - 13045 + 13329, + 13671 ], "loc": { "start": { - "line": 380, + "line": 420, "column": 4 }, "end": { - "line": 390, + "line": 430, "column": 5 } }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Destroy Dropdown instance\n ", + "range": [ + 13280, + 13324 + ], + "loc": { + "start": { + "line": 417, + "column": 4 + }, + "end": { + "line": 419, + "column": 7 + } + } + } + ], "static": false } ], "range": [ - 440, - 13047 + 523, + 13673 ], "loc": { "start": { - "line": 12, + "line": 16, "column": 38 }, "end": { - "line": 391, + "line": 431, "column": 1 } } }, "range": [ - 409, - 13047 + 492, + 13673 ], "loc": { "start": { - "line": 12, + "line": 16, "column": 7 }, "end": { - "line": 391, + "line": 431, "column": 1 } }, - "leadingComments": [], + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Dropdown filter UI component\n * @param {Object} tf TableFilter instance\n ", + "range": [ + 402, + 484 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], "trailingComments": [] }, "specifiers": [], "source": null, "range": [ - 402, - 13047 + 485, + 13673 ], "loc": { "start": { - "line": 12, + "line": 16, "column": 0 }, "end": { - "line": 391, + "line": 431, "column": 1 } - } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Dropdown filter UI component\n * @param {Object} tf TableFilter instance\n ", + "range": [ + 402, + 484 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] } ], "sourceType": "module", "range": [ 0, - 13047 + 13673 ], "loc": { "start": { @@ -28875,25 +28762,43 @@ "column": 0 }, "end": { - "line": 391, + "line": 431, "column": 1 } }, "comments": [ { "type": "Block", - "value": "*\n * Dropdown UI component\n * @param {Object} tf TableFilter instance\n ", + "value": "*\n * Dropdown filter UI component\n * @param {Object} tf TableFilter instance\n ", "range": [ - 447, - 534 + 402, + 484 ], "loc": { "start": { - "line": 14, + "line": 12, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of Dropdown\n * @param {Object} tf TableFilter instance\n ", + "range": [ + 530, + 627 + ], + "loc": { + "start": { + "line": 18, "column": 4 }, "end": { - "line": 17, + "line": 21, "column": 7 } } @@ -28902,44 +28807,26 @@ "type": "Line", "value": " Configuration object", "range": [ - 597, - 620 + 690, + 713 ], "loc": { "start": { - "line": 21, + "line": 25, "column": 8 }, "end": { - "line": 21, + "line": 25, "column": 31 } } }, { - "type": "Line", - "value": "defines empty option text", + "type": "Block", + "value": "*\n * Enable the reset filter option as first item\n * @type {Boolean}\n ", "range": [ - 759, - 786 - ], - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 35 - } - } - }, - { - "type": "Line", - "value": "IE only, tooltip text appearing on select before it is populated", - "range": [ - 858, - 924 + 752, + 850 ], "loc": { "start": { @@ -28947,26 +28834,116 @@ "column": 8 }, "end": { - "line": 28, - "column": 74 + "line": 31, + "column": 11 } } }, { - "type": "Line", - "value": "tooltip text appearing on multiple select", + "type": "Block", + "value": "*\n * Non empty option text\n * @type {String}\n ", "range": [ - 1026, - 1069 + 960, + 1034 ], "loc": { "start": { - "line": 31, + "line": 35, "column": 8 }, "end": { - "line": 31, - "column": 51 + "line": 38, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Tooltip text appearing on multiple select\n * @type {String}\n ", + "range": [ + 1107, + 1201 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 44, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicates drop-down has custom options\n * @private\n ", + "range": [ + 1327, + 1412 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 51, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of options values\n * @type {Array}\n * @private\n ", + "range": [ + 1452, + 1546 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of options texts for custom values\n * @type {Array}\n * @private\n ", + "range": [ + 1582, + 1693 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 65, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Drop-down filter focus event handler\n * @param {Event} e DOM Event\n * @private\n ", + "range": [ + 1735, + 1840 + ], + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 74, + "column": 7 } } }, @@ -28974,34 +28951,52 @@ "type": "Line", "value": " select is populated when element has focus", "range": [ - 1395, - 1440 + 1927, + 1972 ], "loc": { "start": { - "line": 44, + "line": 78, "column": 8 }, "end": { - "line": 44, + "line": 78, "column": 53 } } }, + { + "type": "Block", + "value": "*\n * Drop-down filter change event handler\n * @private\n ", + "range": [ + 2191, + 2263 + ], + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 89, + "column": 7 + } + } + }, { "type": "Block", "value": "*\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 ", "range": [ - 1761, - 1992 + 2370, + 2601 ], "loc": { "start": { - "line": 58, + "line": 96, "column": 4 }, "end": { - "line": 63, + "line": 101, "column": 7 } } @@ -29010,16 +29005,16 @@ "type": "Line", "value": "filter is appended in container element", "range": [ - 2598, - 2639 + 3207, + 3248 ], "loc": { "start": { - "line": 82, + "line": 120, "column": 8 }, "end": { - "line": 82, + "line": 120, "column": 49 } } @@ -29028,16 +29023,16 @@ "type": "Line", "value": "1st option is created here since build isn't invoked", "range": [ - 2964, - 3018 + 3573, + 3627 ], "loc": { "start": { - "line": 95, + "line": 133, "column": 12 }, "end": { - "line": 95, + "line": 133, "column": 66 } } @@ -29046,16 +29041,16 @@ "type": "Block", "value": "*\n * Build drop-down filter UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked refresh behaviour\n ", "range": [ - 3609, - 3772 + 4218, + 4381 ], "loc": { "start": { - "line": 116, + "line": 154, "column": 4 }, "end": { - "line": 120, + "line": 158, "column": 7 } } @@ -29064,16 +29059,16 @@ "type": "Line", "value": "custom select test", "range": [ - 4190, - 4210 + 4767, + 4787 ], "loc": { "start": { - "line": 136, + "line": 173, "column": 8 }, "end": { - "line": 136, + "line": 173, "column": 28 } } @@ -29082,16 +29077,16 @@ "type": "Line", "value": "custom selects text", "range": [ - 4274, - 4295 + 4851, + 4872 ], "loc": { "start": { - "line": 139, + "line": 176, "column": 8 }, "end": { - "line": 139, + "line": 176, "column": 29 } } @@ -29100,16 +29095,16 @@ "type": "Line", "value": " always visible rows don't need to appear on selects as always", "range": [ - 4757, - 4821 + 5334, + 5398 ], "loc": { "start": { - "line": 154, + "line": 191, "column": 12 }, "end": { - "line": 154, + "line": 191, "column": 76 } } @@ -29118,16 +29113,16 @@ "type": "Line", "value": " valid", "range": [ - 4834, - 4842 + 5411, + 5419 ], "loc": { "start": { - "line": 155, + "line": 192, "column": 12 }, "end": { - "line": 155, + "line": 192, "column": 20 } } @@ -29136,16 +29131,16 @@ "type": "Line", "value": " checks if row has exact cell #", "range": [ - 5047, - 5080 + 5624, + 5657 ], "loc": { "start": { - "line": 163, + "line": 200, "column": 12 }, "end": { - "line": 163, + "line": 200, "column": 45 } } @@ -29154,16 +29149,16 @@ "type": "Line", "value": " this loop retrieves cell data", "range": [ - 5193, - 5225 + 5770, + 5802 ], "loc": { "start": { - "line": 168, + "line": 205, "column": 12 }, "end": { - "line": 168, + "line": 205, "column": 44 } } @@ -29172,16 +29167,16 @@ "type": "Line", "value": " WTF: cyclomatic complexity hell", "range": [ - 5290, - 5324 + 5867, + 5901 ], "loc": { "start": { - "line": 170, + "line": 207, "column": 16 }, "end": { - "line": 170, + "line": 207, "column": 50 } } @@ -29190,16 +29185,16 @@ "type": "Line", "value": " TODO: simplify hell below", "range": [ - 5341, - 5369 + 5918, + 5946 ], "loc": { "start": { - "line": 171, + "line": 208, "column": 16 }, "end": { - "line": 171, + "line": 208, "column": 44 } } @@ -29208,16 +29203,16 @@ "type": "Line", "value": "Vary Peter's patch", "range": [ - 6183, - 6203 + 6760, + 6780 ], "loc": { "start": { - "line": 185, + "line": 222, "column": 24 }, "end": { - "line": 185, + "line": 222, "column": 44 } } @@ -29226,16 +29221,16 @@ "type": "Line", "value": " checks if celldata is already in array", "range": [ - 6301, - 6342 + 6878, + 6919 ], "loc": { "start": { - "line": 188, + "line": 225, "column": 20 }, "end": { - "line": 188, + "line": 225, "column": 61 } } @@ -29244,16 +29239,16 @@ "type": "Line", "value": "if colIndex==j", "range": [ - 7035, - 7051 + 7612, + 7628 ], "loc": { "start": { - "line": 203, + "line": 240, "column": 17 }, "end": { - "line": 203, + "line": 240, "column": 33 } } @@ -29262,16 +29257,16 @@ "type": "Line", "value": "for j", "range": [ - 7065, - 7072 + 7642, + 7649 ], "loc": { "start": { - "line": 204, + "line": 241, "column": 13 }, "end": { - "line": 204, + "line": 241, "column": 20 } } @@ -29280,16 +29275,16 @@ "type": "Line", "value": "for k", "range": [ - 7082, - 7089 + 7659, + 7666 ], "loc": { "start": { - "line": 205, + "line": 242, "column": 9 }, "end": { - "line": 205, + "line": 242, "column": 16 } } @@ -29298,16 +29293,16 @@ "type": "Line", "value": "Retrieves custom values", "range": [ - 7099, - 7124 + 7676, + 7701 ], "loc": { "start": { - "line": 207, + "line": 244, "column": 8 }, "end": { - "line": 207, + "line": 244, "column": 33 } } @@ -29316,16 +29311,16 @@ "type": "Line", "value": "asc sort", "range": [ - 7689, - 7699 + 8266, + 8276 ], "loc": { "start": { - "line": 226, + "line": 263, "column": 8 }, "end": { - "line": 226, + "line": 263, "column": 18 } } @@ -29334,16 +29329,16 @@ "type": "Line", "value": "in case there are alphanumeric values", "range": [ - 8185, - 8224 + 8762, + 8801 ], "loc": { "start": { - "line": 239, + "line": 276, "column": 13 }, "end": { - "line": 239, + "line": 276, "column": 52 } } @@ -29352,16 +29347,16 @@ "type": "Line", "value": "desc sort", "range": [ - 8243, - 8254 + 8820, + 8831 ], "loc": { "start": { - "line": 241, + "line": 278, "column": 8 }, "end": { - "line": 241, + "line": 278, "column": 19 } } @@ -29370,16 +29365,16 @@ "type": "Line", "value": "in case there are alphanumeric values", "range": [ - 8744, - 8783 + 9321, + 9360 ], "loc": { "start": { - "line": 254, + "line": 291, "column": 13 }, "end": { - "line": 254, + "line": 291, "column": 52 } } @@ -29388,16 +29383,16 @@ "type": "Line", "value": "populates drop-down", "range": [ - 8803, - 8824 + 9380, + 9401 ], "loc": { "start": { - "line": 257, + "line": 294, "column": 8 }, "end": { - "line": 257, + "line": 294, "column": 29 } } @@ -29406,16 +29401,16 @@ "type": "Block", "value": "*\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 ", "range": [ - 8974, - 9248 + 9551, + 9825 ], "loc": { "start": { - "line": 263, + "line": 300, "column": 4 }, "end": { - "line": 269, + "line": 306, "column": 7 } } @@ -29424,16 +29419,16 @@ "type": "Line", "value": "option value", "range": [ - 9603, - 9617 + 10180, + 10194 ], "loc": { "start": { - "line": 281, + "line": 318, "column": 36 }, "end": { - "line": 281, + "line": 318, "column": 50 } } @@ -29442,16 +29437,16 @@ "type": "Line", "value": "option text", "range": [ - 9679, - 9692 + 10256, + 10269 ], "loc": { "start": { - "line": 282, + "line": 319, "column": 61 }, "end": { - "line": 282, + "line": 319, "column": 74 } } @@ -29460,16 +29455,16 @@ "type": "Line", "value": "fill select on demand", "range": [ - 9978, - 10001 + 10555, + 10578 ], "loc": { "start": { - "line": 291, + "line": 328, "column": 12 }, "end": { - "line": 291, + "line": 328, "column": 35 } } @@ -29478,16 +29473,16 @@ "type": "Line", "value": " for y", "range": [ - 10384, - 10392 + 10961, + 10969 ], "loc": { "start": { - "line": 302, + "line": 339, "column": 9 }, "end": { - "line": 302, + "line": 339, "column": 17 } } @@ -29496,16 +29491,16 @@ "type": "Block", "value": "*\n * Add drop-down header option\n * @param {Object} slc Select DOM element\n ", "range": [ - 10446, - 10538 + 11023, + 11115 ], "loc": { "start": { - "line": 307, + "line": 344, "column": 4 }, "end": { - "line": 310, + "line": 347, "column": 7 } } @@ -29514,16 +29509,16 @@ "type": "Block", "value": "*\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n ", "range": [ - 11141, - 11310 + 11718, + 11887 ], "loc": { "start": { - "line": 331, + "line": 368, "column": 4 }, "end": { - "line": 335, + "line": 372, "column": 7 } } @@ -29532,16 +29527,16 @@ "type": "Line", "value": " Empty value means clear all selections and first option is the", "range": [ - 11600, - 11665 + 12177, + 12242 ], "loc": { "start": { - "line": 343, + "line": 380, "column": 12 }, "end": { - "line": 343, + "line": 380, "column": 77 } } @@ -29550,16 +29545,16 @@ "type": "Line", "value": " clear all option", "range": [ - 11678, - 11697 + 12255, + 12274 ], "loc": { "start": { - "line": 344, + "line": 381, "column": 12 }, "end": { - "line": 344, + "line": 381, "column": 31 } } @@ -29568,16 +29563,16 @@ "type": "Line", "value": "if", "range": [ - 11940, - 11944 + 12517, + 12521 ], "loc": { "start": { - "line": 351, + "line": 388, "column": 13 }, "end": { - "line": 351, + "line": 388, "column": 17 } } @@ -29586,16 +29581,16 @@ "type": "Block", "value": "*\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Array of selected values\n ", "range": [ - 11968, - 12132 + 12545, + 12709 ], "loc": { "start": { - "line": 355, + "line": 392, "column": 4 }, "end": { - "line": 359, + "line": 396, "column": 7 } } @@ -29604,19 +29599,37 @@ "type": "Line", "value": " IE >= 9 does not support the selectedOptions property :(", "range": [ - 12268, - 12327 + 12845, + 12904 ], "loc": { "start": { - "line": 365, + "line": 402, "column": 8 }, "end": { - "line": 365, + "line": 402, "column": 67 } } + }, + { + "type": "Block", + "value": "*\n * Destroy Dropdown instance\n ", + "range": [ + 13280, + 13324 + ], + "loc": { + "start": { + "line": 417, + "column": 4 + }, + "end": { + "line": 419, + "column": 7 + } + } } ] } \ No newline at end of file diff --git a/docs/ast/source/modules/gridLayout.js.json b/docs/ast/source/modules/gridLayout.js.json index e8a0e7c1..7e59f82f 100644 --- a/docs/ast/source/modules/gridLayout.js.json +++ b/docs/ast/source/modules/gridLayout.js.json @@ -4796,11 +4796,11 @@ ], "trailingComments": [ { - "type": "Line", - "value": " filters flag at TF level", + "type": "Block", + "value": "*\n * Indicates if working table has column elements\n * @type {Boolean}\n * @private\n ", "range": [ 3760, - 3787 + 3880 ], "loc": { "start": { @@ -4808,7 +4808,373 @@ "column": 8 }, "end": { + "line": 150, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3889, + 3893 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblHasColTag", + "range": [ + 3894, + 3906 + ], + "loc": { + "start": { + "line": 151, + "column": 13 + }, + "end": { + "line": 151, + "column": 25 + } + } + }, + "range": [ + 3889, + 3906 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 25 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 3909, + 3912 + ], + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3913, + 3915 + ], + "loc": { + "start": { + "line": 151, + "column": 32 + }, + "end": { + "line": 151, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl", + "range": [ + 3916, + 3919 + ], + "loc": { + "start": { + "line": 151, + "column": 35 + }, + "end": { + "line": 151, + "column": 38 + } + } + }, + "range": [ + 3913, + 3919 + ], + "loc": { + "start": { + "line": 151, + "column": 32 + }, + "end": { + "line": 151, + "column": 38 + } + } + }, + { + "type": "Literal", + "value": "col", + "raw": "'col'", + "range": [ + 3921, + 3926 + ], + "loc": { + "start": { + "line": 151, + "column": 40 + }, + "end": { + "line": 151, + "column": 45 + } + } + } + ], + "range": [ + 3909, + 3927 + ], + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 3928, + 3934 + ], + "loc": { + "start": { + "line": 151, + "column": 47 + }, + "end": { + "line": 151, + "column": 53 + } + } + }, + "range": [ + 3909, + 3934 + ], + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 53 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3937, + 3938 + ], + "loc": { + "start": { + "line": 151, + "column": 56 + }, + "end": { + "line": 151, + "column": 57 + } + } + }, + "range": [ + 3909, + 3938 + ], + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 57 + } + } + }, + "consequent": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 3941, + 3945 + ], + "loc": { + "start": { + "line": 151, + "column": 60 + }, + "end": { + "line": 151, + "column": 64 + } + } + }, + "alternate": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 3948, + 3953 + ], + "loc": { + "start": { + "line": 151, + "column": 67 + }, + "end": { + "line": 151, + "column": 72 + } + } + }, + "range": [ + 3909, + 3953 + ], + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 72 + } + } + }, + "range": [ + 3889, + 3953 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 72 + } + } + }, + "range": [ + 3889, + 3954 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicates if working table has column elements\n * @type {Boolean}\n * @private\n ", + "range": [ + 3760, + 3880 + ], + "loc": { + "start": { "line": 146, + "column": 8 + }, + "end": { + "line": 150, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " filters flag at TF level", + "range": [ + 3964, + 3991 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, "column": 35 } } @@ -4827,16 +5193,16 @@ "type": "Identifier", "name": "tf", "range": [ - 3796, - 3798 + 4000, + 4002 ], "loc": { "start": { - "line": 147, + "line": 154, "column": 8 }, "end": { - "line": 147, + "line": 154, "column": 10 } } @@ -4845,31 +5211,31 @@ "type": "Identifier", "name": "fltGrid", "range": [ - 3799, - 3806 + 4003, + 4010 ], "loc": { "start": { - "line": 147, + "line": 154, "column": 11 }, "end": { - "line": 147, + "line": 154, "column": 18 } } }, "range": [ - 3796, - 3806 + 4000, + 4010 ], "loc": { "start": { - "line": 147, + "line": 154, "column": 8 }, "end": { - "line": 147, + "line": 154, "column": 18 } } @@ -4880,16 +5246,16 @@ "object": { "type": "ThisExpression", "range": [ - 3809, - 3813 + 4013, + 4017 ], "loc": { "start": { - "line": 147, + "line": 154, "column": 21 }, "end": { - "line": 147, + "line": 154, "column": 25 } } @@ -4898,61 +5264,61 @@ "type": "Identifier", "name": "enableFilters", "range": [ - 3814, - 3827 + 4018, + 4031 ], "loc": { "start": { - "line": 147, + "line": 154, "column": 26 }, "end": { - "line": 147, + "line": 154, "column": 39 } } }, "range": [ - 3809, - 3827 + 4013, + 4031 ], "loc": { "start": { - "line": 147, + "line": 154, "column": 21 }, "end": { - "line": 147, + "line": 154, "column": 39 } } }, "range": [ - 3796, - 3827 + 4000, + 4031 ], "loc": { "start": { - "line": 147, + "line": 154, "column": 8 }, "end": { - "line": 147, + "line": 154, "column": 39 } } }, "range": [ - 3796, - 3828 + 4000, + 4032 ], "loc": { "start": { - "line": 147, + "line": 154, "column": 8 }, "end": { - "line": 147, + "line": 154, "column": 40 } }, @@ -4961,16 +5327,16 @@ "type": "Line", "value": " filters flag at TF level", "range": [ - 3760, - 3787 + 3964, + 3991 ], "loc": { "start": { - "line": 146, + "line": 153, "column": 8 }, "end": { - "line": 146, + "line": 153, "column": 35 } } @@ -4980,7 +5346,7 @@ ], "range": [ 452, - 3834 + 4038 ], "loc": { "start": { @@ -4988,7 +5354,7 @@ "column": 20 }, "end": { - "line": 148, + "line": 155, "column": 5 } } @@ -4997,7 +5363,7 @@ "expression": false, "range": [ 447, - 3834 + 4038 ], "loc": { "start": { @@ -5005,7 +5371,7 @@ "column": 15 }, "end": { - "line": 148, + "line": 155, "column": 5 } } @@ -5014,7 +5380,7 @@ "computed": false, "range": [ 436, - 3834 + 4038 ], "loc": { "start": { @@ -5022,7 +5388,7 @@ "column": 4 }, "end": { - "line": 148, + "line": 155, "column": 5 } }, @@ -5049,18 +5415,18 @@ "trailingComments": [ { "type": "Block", - "value": "*\n * Generates a grid with fixed headers\n *\n * TODO: reduce size of init by extracting single purposed methods\n ", + "value": "*\n * Generates a grid with fixed headers\n * TODO: reduce size of init by extracting single purposed methods\n ", "range": [ - 3840, - 3972 + 4044, + 4169 ], "loc": { "start": { - "line": 150, + "line": 157, "column": 4 }, "end": { - "line": 154, + "line": 160, "column": 7 } } @@ -5074,16 +5440,16 @@ "type": "Identifier", "name": "init", "range": [ - 3977, - 3981 + 4174, + 4178 ], "loc": { "start": { - "line": 155, + "line": 161, "column": 4 }, "end": { - "line": 155, + "line": 161, "column": 8 } } @@ -5104,16 +5470,16 @@ "type": "Identifier", "name": "tf", "range": [ - 3998, - 4000 + 4195, + 4197 ], "loc": { "start": { - "line": 156, + "line": 162, "column": 12 }, "end": { - "line": 156, + "line": 162, "column": 14 } } @@ -5124,16 +5490,16 @@ "object": { "type": "ThisExpression", "range": [ - 4003, - 4007 + 4200, + 4204 ], "loc": { "start": { - "line": 156, + "line": 162, "column": 17 }, "end": { - "line": 156, + "line": 162, "column": 21 } } @@ -5142,46 +5508,46 @@ "type": "Identifier", "name": "tf", "range": [ - 4008, - 4010 + 4205, + 4207 ], "loc": { "start": { - "line": 156, + "line": 162, "column": 22 }, "end": { - "line": 156, + "line": 162, "column": 24 } } }, "range": [ - 4003, - 4010 + 4200, + 4207 ], "loc": { "start": { - "line": 156, + "line": 162, "column": 17 }, "end": { - "line": 156, + "line": 162, "column": 24 } } }, "range": [ - 3998, - 4010 + 4195, + 4207 ], "loc": { "start": { - "line": 156, + "line": 162, "column": 12 }, "end": { - "line": 156, + "line": 162, "column": 24 } } @@ -5189,128 +5555,20 @@ ], "kind": "let", "range": [ - 3994, - 4011 + 4191, + 4208 ], "loc": { "start": { - "line": 156, + "line": 162, "column": 8 }, "end": { - "line": 156, + "line": 162, "column": 25 } } }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "f", - "range": [ - 4024, - 4025 - ], - "loc": { - "start": { - "line": 157, - "column": 12 - }, - "end": { - "line": 157, - "column": 13 - } - } - }, - "init": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 4028, - 4032 - ], - "loc": { - "start": { - "line": 157, - "column": 16 - }, - "end": { - "line": 157, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "config", - "range": [ - 4033, - 4039 - ], - "loc": { - "start": { - "line": 157, - "column": 21 - }, - "end": { - "line": 157, - "column": 27 - } - } - }, - "range": [ - 4028, - 4039 - ], - "loc": { - "start": { - "line": 157, - "column": 16 - }, - "end": { - "line": 157, - "column": 27 - } - } - }, - "range": [ - 4024, - 4039 - ], - "loc": { - "start": { - "line": 157, - "column": 12 - }, - "end": { - "line": 157, - "column": 27 - } - } - } - ], - "kind": "let", - "range": [ - 4020, - 4040 - ], - "loc": { - "start": { - "line": 157, - "column": 8 - }, - "end": { - "line": 157, - "column": 28 - } - } - }, { "type": "VariableDeclaration", "declarations": [ @@ -5320,16 +5578,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 4053, - 4056 + 4221, + 4224 ], "loc": { "start": { - "line": 158, + "line": 163, "column": 12 }, "end": { - "line": 158, + "line": 163, "column": 15 } } @@ -5341,16 +5599,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4059, - 4061 + 4227, + 4229 ], "loc": { "start": { - "line": 158, + "line": 163, "column": 18 }, "end": { - "line": 158, + "line": 163, "column": 20 } } @@ -5359,46 +5617,46 @@ "type": "Identifier", "name": "tbl", "range": [ - 4062, - 4065 + 4230, + 4233 ], "loc": { "start": { - "line": 158, + "line": 163, "column": 21 }, "end": { - "line": 158, + "line": 163, "column": 24 } } }, "range": [ - 4059, - 4065 + 4227, + 4233 ], "loc": { "start": { - "line": 158, + "line": 163, "column": 18 }, "end": { - "line": 158, + "line": 163, "column": 24 } } }, "range": [ - 4053, - 4065 + 4221, + 4233 ], "loc": { "start": { - "line": 158, + "line": 163, "column": 12 }, "end": { - "line": 158, + "line": 163, "column": 24 } } @@ -5406,16 +5664,16 @@ ], "kind": "let", "range": [ - 4049, - 4066 + 4217, + 4234 ], "loc": { "start": { - "line": 158, + "line": 163, "column": 8 }, "end": { - "line": 158, + "line": 163, "column": 25 } } @@ -5428,16 +5686,16 @@ "object": { "type": "ThisExpression", "range": [ - 4080, - 4084 + 4248, + 4252 ], "loc": { "start": { - "line": 160, + "line": 165, "column": 12 }, "end": { - "line": 160, + "line": 165, "column": 16 } } @@ -5446,31 +5704,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 4085, - 4096 + 4253, + 4264 ], "loc": { "start": { - "line": 160, + "line": 165, "column": 17 }, "end": { - "line": 160, + "line": 165, "column": 28 } } }, "range": [ - 4080, - 4096 + 4248, + 4264 ], "loc": { "start": { - "line": 160, + "line": 165, "column": 12 }, "end": { - "line": 160, + "line": 165, "column": 28 } } @@ -5482,67 +5740,67 @@ "type": "ReturnStatement", "argument": null, "range": [ - 4112, - 4119 + 4280, + 4287 ], "loc": { "start": { - "line": 161, + "line": 166, "column": 12 }, "end": { - "line": 161, + "line": 166, "column": 19 } } } ], "range": [ - 4098, - 4129 + 4266, + 4297 ], "loc": { "start": { - "line": 160, + "line": 165, "column": 30 }, "end": { - "line": 162, + "line": 167, "column": 9 } } }, "alternate": null, "range": [ - 4076, - 4129 + 4244, + 4297 ], "loc": { "start": { - "line": 160, + "line": 165, "column": 8 }, "end": { - "line": 162, + "line": 167, "column": 9 } }, "trailingComments": [ { "type": "Line", - "value": " Override reference rows indexes", + "value": " Override relevant TableFilter properties", "range": [ - 4139, - 4173 + 4307, + 4350 ], "loc": { "start": { - "line": 164, + "line": 169, "column": 8 }, "end": { - "line": 164, - "column": 42 + "line": 169, + "column": 51 } } } @@ -5551,631 +5809,125 @@ { "type": "ExpressionStatement", "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { + "type": "CallExpression", + "callee": { "type": "MemberExpression", "computed": false, "object": { - "type": "Identifier", - "name": "tf", + "type": "ThisExpression", "range": [ - 4182, - 4184 + 4359, + 4363 ], "loc": { "start": { - "line": 165, + "line": 170, "column": 8 }, "end": { - "line": 165, - "column": 10 + "line": 170, + "column": 12 } } }, "property": { "type": "Identifier", - "name": "refRow", + "name": "setOverrides", "range": [ - 4185, - 4191 + 4364, + 4376 ], "loc": { "start": { - "line": 165, - "column": 11 + "line": 170, + "column": 13 }, "end": { - "line": 165, - "column": 17 + "line": 170, + "column": 25 } } }, "range": [ - 4182, - 4191 + 4359, + 4376 ], "loc": { "start": { - "line": 165, + "line": 170, "column": 8 }, "end": { - "line": 165, - "column": 17 - } - } - }, - "right": { - "type": "ConditionalExpression", - "test": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "isNull", - "range": [ - 4194, - 4200 - ], - "loc": { - "start": { - "line": 165, - "column": 20 - }, - "end": { - "line": 165, - "column": 26 - } - } - }, - "arguments": [ - { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 4201, - 4203 - ], - "loc": { - "start": { - "line": 165, - "column": 27 - }, - "end": { - "line": 165, - "column": 29 - } - } - }, - "property": { - "type": "Identifier", - "name": "startRow", - "range": [ - 4204, - 4212 - ], - "loc": { - "start": { - "line": 165, - "column": 30 - }, - "end": { - "line": 165, - "column": 38 - } - } - }, - "range": [ - 4201, - 4212 - ], - "loc": { - "start": { - "line": 165, - "column": 27 - }, - "end": { - "line": 165, - "column": 38 - } - } - } - ], - "range": [ - 4194, - 4213 - ], - "loc": { - "start": { - "line": 165, - "column": 20 - }, - "end": { - "line": 165, - "column": 39 - } - } - }, - "consequent": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 4216, - 4217 - ], - "loc": { - "start": { - "line": 165, - "column": 42 - }, - "end": { - "line": 165, - "column": 43 - } - } - }, - "alternate": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 4220, - 4222 - ], - "loc": { - "start": { - "line": 165, - "column": 46 - }, - "end": { - "line": 165, - "column": 48 - } - } - }, - "property": { - "type": "Identifier", - "name": "startRow", - "range": [ - 4223, - 4231 - ], - "loc": { - "start": { - "line": 165, - "column": 49 - }, - "end": { - "line": 165, - "column": 57 - } - } - }, - "range": [ - 4220, - 4231 - ], - "loc": { - "start": { - "line": 165, - "column": 46 - }, - "end": { - "line": 165, - "column": 57 - } - } - }, - "range": [ - 4194, - 4231 - ], - "loc": { - "start": { - "line": 165, - "column": 20 - }, - "end": { - "line": 165, - "column": 57 + "line": 170, + "column": 25 } } }, + "arguments": [], "range": [ - 4182, - 4231 + 4359, + 4378 ], "loc": { "start": { - "line": 165, + "line": 170, "column": 8 }, "end": { - "line": 165, - "column": 57 + "line": 170, + "column": 27 } } }, "range": [ - 4182, - 4232 + 4359, + 4379 ], "loc": { "start": { - "line": 165, + "line": 170, "column": 8 }, "end": { - "line": 165, - "column": 58 + "line": 170, + "column": 28 } }, "leadingComments": [ { "type": "Line", - "value": " Override reference rows indexes", + "value": " Override relevant TableFilter properties", "range": [ - 4139, - 4173 + 4307, + 4350 ], "loc": { "start": { - "line": 164, + "line": 169, "column": 8 }, "end": { - "line": 164, - "column": 42 + "line": 169, + "column": 51 } } } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 4241, - 4243 - ], - "loc": { - "start": { - "line": 166, - "column": 8 - }, - "end": { - "line": 166, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "name": "headersRow", - "range": [ - 4244, - 4254 - ], - "loc": { - "start": { - "line": 166, - "column": 11 - }, - "end": { - "line": 166, - "column": 21 - } - } - }, - "range": [ - 4241, - 4254 - ], - "loc": { - "start": { - "line": 166, - "column": 8 - }, - "end": { - "line": 166, - "column": 21 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 4257, - 4258 - ], - "loc": { - "start": { - "line": 166, - "column": 24 - }, - "end": { - "line": 166, - "column": 25 - } - } - }, - "range": [ - 4241, - 4258 - ], - "loc": { - "start": { - "line": 166, - "column": 8 - }, - "end": { - "line": 166, - "column": 25 - } - } - }, - "range": [ - 4241, - 4259 ], - "loc": { - "start": { - "line": 166, - "column": 8 - }, - "end": { - "line": 166, - "column": 26 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 4268, - 4270 - ], - "loc": { - "start": { - "line": 167, - "column": 8 - }, - "end": { - "line": 167, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "name": "filtersRowIndex", - "range": [ - 4271, - 4286 - ], - "loc": { - "start": { - "line": 167, - "column": 11 - }, - "end": { - "line": 167, - "column": 26 - } - } - }, - "range": [ - 4268, - 4286 - ], - "loc": { - "start": { - "line": 167, - "column": 8 - }, - "end": { - "line": 167, - "column": 26 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 4289, - 4290 - ], - "loc": { - "start": { - "line": 167, - "column": 29 - }, - "end": { - "line": 167, - "column": 30 - } - } - }, - "range": [ - 4268, - 4290 - ], - "loc": { - "start": { - "line": 167, - "column": 8 - }, - "end": { - "line": 167, - "column": 30 - } - } - }, - "range": [ - 4268, - 4291 - ], - "loc": { - "start": { - "line": 167, - "column": 8 - }, - "end": { - "line": 167, - "column": 31 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 4301, - 4303 - ], - "loc": { - "start": { - "line": 169, - "column": 8 - }, - "end": { - "line": 169, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "name": "isExternalFlt", - "range": [ - 4304, - 4317 - ], - "loc": { - "start": { - "line": 169, - "column": 11 - }, - "end": { - "line": 169, - "column": 24 - } - } - }, - "range": [ - 4301, - 4317 - ], - "loc": { - "start": { - "line": 169, - "column": 8 - }, - "end": { - "line": 169, - "column": 24 - } - } - }, - "right": { - "type": "Literal", - "value": true, - "raw": "true", - "range": [ - 4320, - 4324 - ], - "loc": { - "start": { - "line": 169, - "column": 27 - }, - "end": { - "line": 169, - "column": 31 - } - } - }, - "range": [ - 4301, - 4324 - ], - "loc": { - "start": { - "line": 169, - "column": 8 - }, - "end": { - "line": 169, - "column": 31 - } - } - }, - "range": [ - 4301, - 4325 - ], - "loc": { - "start": { - "line": 169, - "column": 8 - }, - "end": { - "line": 169, - "column": 32 - } - }, "trailingComments": [ { "type": "Line", "value": " Assign default column widths", "range": [ - 4335, - 4366 + 4389, + 4420 ], "loc": { "start": { - "line": 171, + "line": 172, "column": 8 }, "end": { - "line": 171, + "line": 172, "column": 39 } } @@ -6192,16 +5944,16 @@ "object": { "type": "ThisExpression", "range": [ - 4375, - 4379 + 4429, + 4433 ], "loc": { "start": { - "line": 172, + "line": 173, "column": 8 }, "end": { - "line": 172, + "line": 173, "column": 12 } } @@ -6210,62 +5962,62 @@ "type": "Identifier", "name": "setDefaultColWidths", "range": [ - 4380, - 4399 + 4434, + 4453 ], "loc": { "start": { - "line": 172, + "line": 173, "column": 13 }, "end": { - "line": 172, + "line": 173, "column": 32 } } }, "range": [ - 4375, - 4399 + 4429, + 4453 ], "loc": { "start": { - "line": 172, + "line": 173, "column": 8 }, "end": { - "line": 172, + "line": 173, "column": 32 } } }, "arguments": [], "range": [ - 4375, - 4401 + 4429, + 4455 ], "loc": { "start": { - "line": 172, + "line": 173, "column": 8 }, "end": { - "line": 172, + "line": 173, "column": 34 } } }, "range": [ - 4375, - 4402 + 4429, + 4456 ], "loc": { "start": { - "line": 172, + "line": 173, "column": 8 }, "end": { - "line": 172, + "line": 173, "column": 35 } }, @@ -6274,20 +6026,40 @@ "type": "Line", "value": " Assign default column widths", "range": [ - 4335, - 4366 + 4389, + 4420 ], "loc": { "start": { - "line": 171, + "line": 172, "column": 8 }, "end": { - "line": 171, + "line": 172, "column": 39 } } } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Initial table width", + "range": [ + 4466, + 4488 + ], + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 30 + } + } + } ] }, { @@ -6299,234 +6071,30 @@ "type": "Identifier", "name": "tblW", "range": [ - 4416, - 4420 + 4501, + 4505 ], "loc": { "start": { - "line": 174, + "line": 176, "column": 12 }, "end": { - "line": 174, + "line": 176, "column": 16 } } }, - "init": null, - "range": [ - 4416, - 4420 - ], - "loc": { - "start": { - "line": 174, - "column": 12 - }, - "end": { - "line": 174, - "column": 16 - } - } - } - ], - "kind": "let", - "range": [ - 4412, - 4421 - ], - "loc": { - "start": { - "line": 174, - "column": 8 - }, - "end": { - "line": 174, - "column": 17 - } - }, - "trailingComments": [ - { - "type": "Line", - "value": "initial table width", - "range": [ - 4421, - 4442 - ], - "loc": { - "start": { - "line": 174, - "column": 17 - }, - "end": { - "line": 174, - "column": 38 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "!==", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tbl", - "range": [ - 4455, - 4458 - ], - "loc": { - "start": { - "line": 175, - "column": 12 - }, - "end": { - "line": 175, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 4459, - 4464 - ], - "loc": { - "start": { - "line": 175, - "column": 16 - }, - "end": { - "line": 175, - "column": 21 - } - } - }, - "range": [ - 4455, - 4464 - ], - "loc": { - "start": { - "line": 175, - "column": 12 - }, - "end": { - "line": 175, - "column": 21 - } - } - }, - "right": { - "type": "Literal", - "value": "", - "raw": "''", - "range": [ - 4469, - 4471 - ], - "loc": { - "start": { - "line": 175, - "column": 26 - }, - "end": { - "line": 175, - "column": 28 - } - } - }, - "range": [ - 4455, - 4471 - ], - "loc": { - "start": { - "line": 175, - "column": 12 - }, - "end": { - "line": 175, - "column": 28 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "tblW", + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", "range": [ - 4487, - 4491 - ], - "loc": { - "start": { - "line": 176, - "column": 12 - }, - "end": { - "line": 176, - "column": 16 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tbl", - "range": [ - 4494, - 4497 - ], - "loc": { - "start": { - "line": 176, - "column": 19 - }, - "end": { - "line": 176, - "column": 22 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 4498, - 4503 - ], - "loc": { - "start": { - "line": 176, - "column": 23 - }, - "end": { - "line": 176, - "column": 28 - } - } - }, - "range": [ - 4494, - 4503 + 4508, + 4512 ], "loc": { "start": { @@ -6535,574 +6103,106 @@ }, "end": { "line": 176, - "column": 28 - } - } - }, - "range": [ - 4487, - 4503 - ], - "loc": { - "start": { - "line": 176, - "column": 12 - }, - "end": { - "line": 176, - "column": 28 - } - } - }, - "range": [ - 4487, - 4504 - ], - "loc": { - "start": { - "line": 176, - "column": 12 - }, - "end": { - "line": 176, - "column": 29 - } - } - } - ], - "range": [ - 4473, - 4514 - ], - "loc": { - "start": { - "line": 175, - "column": 30 - }, - "end": { - "line": 177, - "column": 9 - } - } - }, - "alternate": { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "!==", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tbl", - "range": [ - 4532, - 4535 - ], - "loc": { - "start": { - "line": 178, - "column": 17 - }, - "end": { - "line": 178, - "column": 20 + "column": 23 } } }, "property": { "type": "Identifier", - "name": "style", + "name": "initialTableWidth", "range": [ - 4536, - 4541 + 4513, + 4530 ], "loc": { "start": { - "line": 178, - "column": 21 + "line": 176, + "column": 24 }, "end": { - "line": 178, - "column": 26 + "line": 176, + "column": 41 } } }, "range": [ - 4532, - 4541 + 4508, + 4530 ], "loc": { "start": { - "line": 178, - "column": 17 + "line": 176, + "column": 19 }, "end": { - "line": 178, - "column": 26 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 4542, - 4547 - ], - "loc": { - "start": { - "line": 178, - "column": 27 - }, - "end": { - "line": 178, - "column": 32 + "line": 176, + "column": 41 } } }, + "arguments": [], "range": [ - 4532, - 4547 + 4508, + 4532 ], "loc": { "start": { - "line": 178, - "column": 17 + "line": 176, + "column": 19 }, "end": { - "line": 178, - "column": 32 - } - } - }, - "right": { - "type": "Literal", - "value": "", - "raw": "''", - "range": [ - 4552, - 4554 - ], - "loc": { - "start": { - "line": 178, - "column": 37 - }, - "end": { - "line": 178, - "column": 39 + "line": 176, + "column": 43 } } }, "range": [ - 4532, - 4554 + 4501, + 4532 ], "loc": { "start": { - "line": 178, - "column": 17 + "line": 176, + "column": 12 }, "end": { - "line": 178, - "column": 39 + "line": 176, + "column": 43 } } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "tblW", - "range": [ - 4570, - 4574 - ], - "loc": { - "start": { - "line": 179, - "column": 12 - }, - "end": { - "line": 179, - "column": 16 - } - } - }, - "right": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "parseInt", - "range": [ - 4577, - 4585 - ], - "loc": { - "start": { - "line": 179, - "column": 19 - }, - "end": { - "line": 179, - "column": 27 - } - } - }, - "arguments": [ - { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tbl", - "range": [ - 4586, - 4589 - ], - "loc": { - "start": { - "line": 179, - "column": 28 - }, - "end": { - "line": 179, - "column": 31 - } - } - }, - "property": { - "type": "Identifier", - "name": "style", - "range": [ - 4590, - 4595 - ], - "loc": { - "start": { - "line": 179, - "column": 32 - }, - "end": { - "line": 179, - "column": 37 - } - } - }, - "range": [ - 4586, - 4595 - ], - "loc": { - "start": { - "line": 179, - "column": 28 - }, - "end": { - "line": 179, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 4596, - 4601 - ], - "loc": { - "start": { - "line": 179, - "column": 38 - }, - "end": { - "line": 179, - "column": 43 - } - } - }, - "range": [ - 4586, - 4601 - ], - "loc": { - "start": { - "line": 179, - "column": 28 - }, - "end": { - "line": 179, - "column": 43 - } - } - }, - { - "type": "Literal", - "value": 10, - "raw": "10", - "range": [ - 4603, - 4605 - ], - "loc": { - "start": { - "line": 179, - "column": 45 - }, - "end": { - "line": 179, - "column": 47 - } - } - } - ], - "range": [ - 4577, - 4606 - ], - "loc": { - "start": { - "line": 179, - "column": 19 - }, - "end": { - "line": 179, - "column": 48 - } - } - }, - "range": [ - 4570, - 4606 - ], - "loc": { - "start": { - "line": 179, - "column": 12 - }, - "end": { - "line": 179, - "column": 48 - } - } - }, - "range": [ - 4570, - 4607 - ], - "loc": { - "start": { - "line": 179, - "column": 12 - }, - "end": { - "line": 179, - "column": 49 - } - } - } - ], - "range": [ - 4556, - 4617 - ], - "loc": { - "start": { - "line": 178, - "column": 41 - }, - "end": { - "line": 180, - "column": 9 - } - } - }, - "alternate": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "tblW", - "range": [ - 4637, - 4641 - ], - "loc": { - "start": { - "line": 181, - "column": 12 - }, - "end": { - "line": 181, - "column": 16 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tbl", - "range": [ - 4644, - 4647 - ], - "loc": { - "start": { - "line": 181, - "column": 19 - }, - "end": { - "line": 181, - "column": 22 - } - } - }, - "property": { - "type": "Identifier", - "name": "clientWidth", - "range": [ - 4648, - 4659 - ], - "loc": { - "start": { - "line": 181, - "column": 23 - }, - "end": { - "line": 181, - "column": 34 - } - } - }, - "range": [ - 4644, - 4659 - ], - "loc": { - "start": { - "line": 181, - "column": 19 - }, - "end": { - "line": 181, - "column": 34 - } - } - }, - "range": [ - 4637, - 4659 - ], - "loc": { - "start": { - "line": 181, - "column": 12 - }, - "end": { - "line": 181, - "column": 34 - } - } - }, - "range": [ - 4637, - 4660 - ], - "loc": { - "start": { - "line": 181, - "column": 12 - }, - "end": { - "line": 181, - "column": 35 - } - } - } - ], - "range": [ - 4623, - 4670 - ], - "loc": { - "start": { - "line": 180, - "column": 15 - }, - "end": { - "line": 182, - "column": 9 - } - } - }, - "range": [ - 4528, - 4670 - ], - "loc": { - "start": { - "line": 178, - "column": 13 - }, - "end": { - "line": 182, - "column": 9 - } } - }, + ], + "kind": "let", "range": [ - 4451, - 4670 + 4497, + 4533 ], "loc": { "start": { - "line": 175, + "line": 176, "column": 8 }, "end": { - "line": 182, - "column": 9 + "line": 176, + "column": 44 } }, "leadingComments": [ { "type": "Line", - "value": "initial table width", + "value": " Initial table width", "range": [ - 4421, - 4442 + 4466, + 4488 ], "loc": { "start": { - "line": 174, - "column": 17 + "line": 175, + "column": 8 }, "end": { - "line": 174, - "column": 38 + "line": 175, + "column": 30 } } } @@ -7112,16 +6212,16 @@ "type": "Line", "value": "Main container: it will contain all the elements", "range": [ - 4680, - 4730 + 4543, + 4593 ], "loc": { "start": { - "line": 184, + "line": 178, "column": 8 }, "end": { - "line": 184, + "line": 178, "column": 58 } } @@ -7139,16 +6239,16 @@ "object": { "type": "ThisExpression", "range": [ - 4739, - 4743 + 4602, + 4606 ], "loc": { "start": { - "line": 185, + "line": 179, "column": 8 }, "end": { - "line": 185, + "line": 179, "column": 12 } } @@ -7157,31 +6257,31 @@ "type": "Identifier", "name": "tblMainCont", "range": [ - 4744, - 4755 + 4607, + 4618 ], "loc": { "start": { - "line": 185, + "line": 179, "column": 13 }, "end": { - "line": 185, + "line": 179, "column": 24 } } }, "range": [ - 4739, - 4755 + 4602, + 4618 ], "loc": { "start": { - "line": 185, + "line": 179, "column": 8 }, "end": { - "line": 185, + "line": 179, "column": 24 } } @@ -7189,249 +6289,299 @@ "right": { "type": "CallExpression", "callee": { - "type": "Identifier", - "name": "createElm", + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4621, + 4625 + ], + "loc": { + "start": { + "line": 179, + "column": 27 + }, + "end": { + "line": 179, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "createContainer", + "range": [ + 4626, + 4641 + ], + "loc": { + "start": { + "line": 179, + "column": 32 + }, + "end": { + "line": 179, + "column": 47 + } + } + }, "range": [ - 4758, - 4767 + 4621, + 4641 ], "loc": { "start": { - "line": 185, + "line": 179, "column": 27 }, "end": { - "line": 185, - "column": 36 + "line": 179, + "column": 47 } } }, "arguments": [ { - "type": "Literal", - "value": "div", - "raw": "'div'", + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4642, + 4646 + ], + "loc": { + "start": { + "line": 179, + "column": 48 + }, + "end": { + "line": 179, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxMainTblCont", + "range": [ + 4647, + 4662 + ], + "loc": { + "start": { + "line": 179, + "column": 53 + }, + "end": { + "line": 179, + "column": 68 + } + } + }, + "range": [ + 4642, + 4662 + ], + "loc": { + "start": { + "line": 179, + "column": 48 + }, + "end": { + "line": 179, + "column": 68 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4665, + 4667 + ], + "loc": { + "start": { + "line": 179, + "column": 71 + }, + "end": { + "line": 179, + "column": 73 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 4668, + 4670 + ], + "loc": { + "start": { + "line": 179, + "column": 74 + }, + "end": { + "line": 179, + "column": 76 + } + } + }, + "range": [ + 4665, + 4670 + ], + "loc": { + "start": { + "line": 179, + "column": 71 + }, + "end": { + "line": 179, + "column": 76 + } + } + }, "range": [ - 4768, - 4773 + 4642, + 4670 ], "loc": { "start": { - "line": 185, - "column": 37 + "line": 179, + "column": 48 }, "end": { - "line": 185, - "column": 42 + "line": 179, + "column": 76 } } }, { - "type": "ArrayExpression", - "elements": [ - { - "type": "Literal", - "value": "id", - "raw": "'id'", - "range": [ - 4788, - 4792 - ], - "loc": { - "start": { - "line": 186, - "column": 13 - }, - "end": { - "line": 186, - "column": 17 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 4794, - 4798 - ], - "loc": { - "start": { - "line": 186, - "column": 19 - }, - "end": { - "line": 186, - "column": 23 - } - } - }, - "property": { - "type": "Identifier", - "name": "prfxMainTblCont", - "range": [ - 4799, - 4814 - ], - "loc": { - "start": { - "line": 186, - "column": 24 - }, - "end": { - "line": 186, - "column": 39 - } - } - }, - "range": [ - 4794, - 4814 - ], - "loc": { - "start": { - "line": 186, - "column": 19 - }, - "end": { - "line": 186, - "column": 39 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 4817, - 4819 - ], - "loc": { - "start": { - "line": 186, - "column": 42 - }, - "end": { - "line": 186, - "column": 44 - } - } - }, - "property": { - "type": "Identifier", - "name": "id", - "range": [ - 4820, - 4822 - ], - "loc": { - "start": { - "line": 186, - "column": 45 - }, - "end": { - "line": 186, - "column": 47 - } - } - }, - "range": [ - 4817, - 4822 - ], - "loc": { - "start": { - "line": 186, - "column": 42 - }, - "end": { - "line": 186, - "column": 47 - } - } - }, - "range": [ - 4794, - 4822 - ], - "loc": { - "start": { - "line": 186, - "column": 19 - }, - "end": { - "line": 186, - "column": 47 - } - } - } - ], + "type": "Literal", + "value": "div", + "raw": "'div'", "range": [ - 4787, - 4823 + 4684, + 4689 ], "loc": { "start": { - "line": 186, + "line": 180, "column": 12 }, "end": { - "line": 186, - "column": 48 + "line": 180, + "column": 17 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4691, + 4695 + ], + "loc": { + "start": { + "line": 180, + "column": 19 + }, + "end": { + "line": 180, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "mainContCssClass", + "range": [ + 4696, + 4712 + ], + "loc": { + "start": { + "line": 180, + "column": 24 + }, + "end": { + "line": 180, + "column": 40 + } + } + }, + "range": [ + 4691, + 4712 + ], + "loc": { + "start": { + "line": 180, + "column": 19 + }, + "end": { + "line": 180, + "column": 40 } } } ], "range": [ - 4758, - 4824 + 4621, + 4713 ], "loc": { "start": { - "line": 185, + "line": 179, "column": 27 }, "end": { - "line": 186, - "column": 49 + "line": 180, + "column": 41 } } }, "range": [ - 4739, - 4824 + 4602, + 4713 ], "loc": { "start": { - "line": 185, + "line": 179, "column": 8 }, "end": { - "line": 186, - "column": 49 + "line": 180, + "column": 41 } } }, "range": [ - 4739, - 4825 + 4602, + 4714 ], "loc": { "start": { - "line": 185, + "line": 179, "column": 8 }, "end": { - "line": 186, - "column": 50 + "line": 180, + "column": 42 } }, "leadingComments": [ @@ -7439,199 +6589,22 @@ "type": "Line", "value": "Main container: it will contain all the elements", "range": [ - 4680, - 4730 + 4543, + 4593 ], "loc": { "start": { - "line": 184, + "line": 178, "column": 8 }, "end": { - "line": 184, + "line": 178, "column": 58 } } } ] }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 4834, - 4838 - ], - "loc": { - "start": { - "line": 187, - "column": 8 - }, - "end": { - "line": 187, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "tblMainCont", - "range": [ - 4839, - 4850 - ], - "loc": { - "start": { - "line": 187, - "column": 13 - }, - "end": { - "line": 187, - "column": 24 - } - } - }, - "range": [ - 4834, - 4850 - ], - "loc": { - "start": { - "line": 187, - "column": 8 - }, - "end": { - "line": 187, - "column": 24 - } - } - }, - "property": { - "type": "Identifier", - "name": "className", - "range": [ - 4851, - 4860 - ], - "loc": { - "start": { - "line": 187, - "column": 25 - }, - "end": { - "line": 187, - "column": 34 - } - } - }, - "range": [ - 4834, - 4860 - ], - "loc": { - "start": { - "line": 187, - "column": 8 - }, - "end": { - "line": 187, - "column": 34 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 4863, - 4867 - ], - "loc": { - "start": { - "line": 187, - "column": 37 - }, - "end": { - "line": 187, - "column": 41 - } - } - }, - "property": { - "type": "Identifier", - "name": "mainContCssClass", - "range": [ - 4868, - 4884 - ], - "loc": { - "start": { - "line": 187, - "column": 42 - }, - "end": { - "line": 187, - "column": 58 - } - } - }, - "range": [ - 4863, - 4884 - ], - "loc": { - "start": { - "line": 187, - "column": 37 - }, - "end": { - "line": 187, - "column": 58 - } - } - }, - "range": [ - 4834, - 4884 - ], - "loc": { - "start": { - "line": 187, - "column": 8 - }, - "end": { - "line": 187, - "column": 58 - } - } - }, - "range": [ - 4834, - 4885 - ], - "loc": { - "start": { - "line": 187, - "column": 8 - }, - "end": { - "line": 187, - "column": 59 - } - } - }, { "type": "IfStatement", "test": { @@ -7640,16 +6613,16 @@ "object": { "type": "ThisExpression", "range": [ - 4898, - 4902 + 4727, + 4731 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 12 }, "end": { - "line": 188, + "line": 181, "column": 16 } } @@ -7658,31 +6631,31 @@ "type": "Identifier", "name": "width", "range": [ - 4903, - 4908 + 4732, + 4737 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 17 }, "end": { - "line": 188, + "line": 181, "column": 22 } } }, "range": [ - 4898, - 4908 + 4727, + 4737 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 12 }, "end": { - "line": 188, + "line": 181, "column": 22 } } @@ -7707,16 +6680,16 @@ "object": { "type": "ThisExpression", "range": [ - 4924, - 4928 + 4753, + 4757 ], "loc": { "start": { - "line": 189, + "line": 182, "column": 12 }, "end": { - "line": 189, + "line": 182, "column": 16 } } @@ -7725,31 +6698,31 @@ "type": "Identifier", "name": "tblMainCont", "range": [ - 4929, - 4940 + 4758, + 4769 ], "loc": { "start": { - "line": 189, + "line": 182, "column": 17 }, "end": { - "line": 189, + "line": 182, "column": 28 } } }, "range": [ - 4924, - 4940 + 4753, + 4769 ], "loc": { "start": { - "line": 189, + "line": 182, "column": 12 }, "end": { - "line": 189, + "line": 182, "column": 28 } } @@ -7758,31 +6731,31 @@ "type": "Identifier", "name": "style", "range": [ - 4941, - 4946 + 4770, + 4775 ], "loc": { "start": { - "line": 189, + "line": 182, "column": 29 }, "end": { - "line": 189, + "line": 182, "column": 34 } } }, "range": [ - 4924, - 4946 + 4753, + 4775 ], "loc": { "start": { - "line": 189, + "line": 182, "column": 12 }, "end": { - "line": 189, + "line": 182, "column": 34 } } @@ -7791,31 +6764,31 @@ "type": "Identifier", "name": "width", "range": [ - 4947, - 4952 + 4776, + 4781 ], "loc": { "start": { - "line": 189, + "line": 182, "column": 35 }, "end": { - "line": 189, + "line": 182, "column": 40 } } }, "range": [ - 4924, - 4952 + 4753, + 4781 ], "loc": { "start": { - "line": 189, + "line": 182, "column": 12 }, "end": { - "line": 189, + "line": 182, "column": 40 } } @@ -7826,16 +6799,16 @@ "object": { "type": "ThisExpression", "range": [ - 4955, - 4959 + 4784, + 4788 ], "loc": { "start": { - "line": 189, + "line": 182, "column": 43 }, "end": { - "line": 189, + "line": 182, "column": 47 } } @@ -7844,93 +6817,93 @@ "type": "Identifier", "name": "width", "range": [ - 4960, - 4965 + 4789, + 4794 ], "loc": { "start": { - "line": 189, + "line": 182, "column": 48 }, "end": { - "line": 189, + "line": 182, "column": 53 } } }, "range": [ - 4955, - 4965 + 4784, + 4794 ], "loc": { "start": { - "line": 189, + "line": 182, "column": 43 }, "end": { - "line": 189, + "line": 182, "column": 53 } } }, "range": [ - 4924, - 4965 + 4753, + 4794 ], "loc": { "start": { - "line": 189, + "line": 182, "column": 12 }, "end": { - "line": 189, + "line": 182, "column": 53 } } }, "range": [ - 4924, - 4966 + 4753, + 4795 ], "loc": { "start": { - "line": 189, + "line": 182, "column": 12 }, "end": { - "line": 189, + "line": 182, "column": 54 } } } ], "range": [ - 4910, - 4976 + 4739, + 4805 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 24 }, "end": { - "line": 190, + "line": 183, "column": 9 } } }, "alternate": null, "range": [ - 4894, - 4976 + 4723, + 4805 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 8 }, "end": { - "line": 190, + "line": 183, "column": 9 } } @@ -7949,16 +6922,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 4985, - 4988 + 4814, + 4817 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 8 }, "end": { - "line": 191, + "line": 184, "column": 11 } } @@ -7967,31 +6940,31 @@ "type": "Identifier", "name": "parentNode", "range": [ - 4989, - 4999 + 4818, + 4828 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 12 }, "end": { - "line": 191, + "line": 184, "column": 22 } } }, "range": [ - 4985, - 4999 + 4814, + 4828 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 8 }, "end": { - "line": 191, + "line": 184, "column": 22 } } @@ -8000,31 +6973,31 @@ "type": "Identifier", "name": "insertBefore", "range": [ - 5000, - 5012 + 4829, + 4841 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 23 }, "end": { - "line": 191, + "line": 184, "column": 35 } } }, "range": [ - 4985, - 5012 + 4814, + 4841 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 8 }, "end": { - "line": 191, + "line": 184, "column": 35 } } @@ -8036,16 +7009,16 @@ "object": { "type": "ThisExpression", "range": [ - 5013, - 5017 + 4842, + 4846 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 36 }, "end": { - "line": 191, + "line": 184, "column": 40 } } @@ -8054,31 +7027,31 @@ "type": "Identifier", "name": "tblMainCont", "range": [ - 5018, - 5029 + 4847, + 4858 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 41 }, "end": { - "line": 191, + "line": 184, "column": 52 } } }, "range": [ - 5013, - 5029 + 4842, + 4858 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 36 }, "end": { - "line": 191, + "line": 184, "column": 52 } } @@ -8087,47 +7060,47 @@ "type": "Identifier", "name": "tbl", "range": [ - 5031, - 5034 + 4860, + 4863 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 54 }, "end": { - "line": 191, + "line": 184, "column": 57 } } } ], "range": [ - 4985, - 5035 + 4814, + 4864 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 8 }, "end": { - "line": 191, + "line": 184, "column": 58 } } }, "range": [ - 4985, - 5036 + 4814, + 4865 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 8 }, "end": { - "line": 191, + "line": 184, "column": 59 } }, @@ -8136,16 +7109,16 @@ "type": "Line", "value": "Table container: div wrapping content table", "range": [ - 5046, - 5091 + 4875, + 4920 ], "loc": { "start": { - "line": 193, + "line": 186, "column": 8 }, "end": { - "line": 193, + "line": 186, "column": 53 } } @@ -8163,16 +7136,16 @@ "object": { "type": "ThisExpression", "range": [ - 5100, - 5104 + 4929, + 4933 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 8 }, "end": { - "line": 194, + "line": 187, "column": 12 } } @@ -8181,31 +7154,31 @@ "type": "Identifier", "name": "tblCont", "range": [ - 5105, - 5112 + 4934, + 4941 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 13 }, "end": { - "line": 194, + "line": 187, "column": 20 } } }, "range": [ - 5100, - 5112 + 4929, + 4941 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 8 }, "end": { - "line": 194, + "line": 187, "column": 20 } } @@ -8213,249 +7186,299 @@ "right": { "type": "CallExpression", "callee": { - "type": "Identifier", - "name": "createElm", + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4944, + 4948 + ], + "loc": { + "start": { + "line": 187, + "column": 23 + }, + "end": { + "line": 187, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "createContainer", + "range": [ + 4949, + 4964 + ], + "loc": { + "start": { + "line": 187, + "column": 28 + }, + "end": { + "line": 187, + "column": 43 + } + } + }, "range": [ - 5115, - 5124 + 4944, + 4964 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 23 }, "end": { - "line": 194, - "column": 32 + "line": 187, + "column": 43 } } }, "arguments": [ { - "type": "Literal", - "value": "div", - "raw": "'div'", + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4965, + 4969 + ], + "loc": { + "start": { + "line": 187, + "column": 44 + }, + "end": { + "line": 187, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxTblCont", + "range": [ + 4970, + 4981 + ], + "loc": { + "start": { + "line": 187, + "column": 49 + }, + "end": { + "line": 187, + "column": 60 + } + } + }, + "range": [ + 4965, + 4981 + ], + "loc": { + "start": { + "line": 187, + "column": 44 + }, + "end": { + "line": 187, + "column": 60 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4984, + 4986 + ], + "loc": { + "start": { + "line": 187, + "column": 63 + }, + "end": { + "line": 187, + "column": 65 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 4987, + 4989 + ], + "loc": { + "start": { + "line": 187, + "column": 66 + }, + "end": { + "line": 187, + "column": 68 + } + } + }, + "range": [ + 4984, + 4989 + ], + "loc": { + "start": { + "line": 187, + "column": 63 + }, + "end": { + "line": 187, + "column": 68 + } + } + }, "range": [ - 5125, - 5130 + 4965, + 4989 ], "loc": { "start": { - "line": 194, - "column": 33 + "line": 187, + "column": 44 }, "end": { - "line": 194, - "column": 38 + "line": 187, + "column": 68 } } }, { - "type": "ArrayExpression", - "elements": [ - { - "type": "Literal", - "value": "id", - "raw": "'id'", - "range": [ - 5133, - 5137 - ], - "loc": { - "start": { - "line": 194, - "column": 41 - }, - "end": { - "line": 194, - "column": 45 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 5139, - 5143 - ], - "loc": { - "start": { - "line": 194, - "column": 47 - }, - "end": { - "line": 194, - "column": 51 - } - } - }, - "property": { - "type": "Identifier", - "name": "prfxTblCont", - "range": [ - 5144, - 5155 - ], - "loc": { - "start": { - "line": 194, - "column": 52 - }, - "end": { - "line": 194, - "column": 63 - } - } - }, - "range": [ - 5139, - 5155 - ], - "loc": { - "start": { - "line": 194, - "column": 47 - }, - "end": { - "line": 194, - "column": 63 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 5158, - 5160 - ], - "loc": { - "start": { - "line": 194, - "column": 66 - }, - "end": { - "line": 194, - "column": 68 - } - } - }, - "property": { - "type": "Identifier", - "name": "id", - "range": [ - 5161, - 5163 - ], - "loc": { - "start": { - "line": 194, - "column": 69 - }, - "end": { - "line": 194, - "column": 71 - } - } - }, - "range": [ - 5158, - 5163 - ], - "loc": { - "start": { - "line": 194, - "column": 66 - }, - "end": { - "line": 194, - "column": 71 - } - } - }, - "range": [ - 5139, - 5163 - ], - "loc": { - "start": { - "line": 194, - "column": 47 - }, - "end": { - "line": 194, - "column": 71 - } - } - } - ], + "type": "Literal", + "value": "div", + "raw": "'div'", "range": [ - 5132, - 5164 + 4991, + 4996 ], "loc": { "start": { - "line": 194, - "column": 40 + "line": 187, + "column": 70 }, "end": { - "line": 194, - "column": 72 + "line": 187, + "column": 75 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5010, + 5014 + ], + "loc": { + "start": { + "line": 188, + "column": 12 + }, + "end": { + "line": 188, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "contCssClass", + "range": [ + 5015, + 5027 + ], + "loc": { + "start": { + "line": 188, + "column": 17 + }, + "end": { + "line": 188, + "column": 29 + } + } + }, + "range": [ + 5010, + 5027 + ], + "loc": { + "start": { + "line": 188, + "column": 12 + }, + "end": { + "line": 188, + "column": 29 } } } ], "range": [ - 5115, - 5165 + 4944, + 5028 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 23 }, "end": { - "line": 194, - "column": 73 + "line": 188, + "column": 30 } } }, "range": [ - 5100, - 5165 + 4929, + 5028 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 8 }, "end": { - "line": 194, - "column": 73 + "line": 188, + "column": 30 } } }, "range": [ - 5100, - 5166 + 4929, + 5029 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 8 }, "end": { - "line": 194, - "column": 74 + "line": 188, + "column": 31 } }, "leadingComments": [ @@ -8463,16 +7486,16 @@ "type": "Line", "value": "Table container: div wrapping content table", "range": [ - 5046, - 5091 + 4875, + 4920 ], "loc": { "start": { - "line": 193, + "line": 186, "column": 8 }, "end": { - "line": 193, + "line": 186, "column": 53 } } @@ -8482,28 +7505,78 @@ { "type": "ExpressionStatement", "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { + "type": "CallExpression", + "callee": { "type": "MemberExpression", "computed": false, "object": { + "type": "ThisExpression", + "range": [ + 5038, + 5042 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setConfigWidth", + "range": [ + 5043, + 5057 + ], + "loc": { + "start": { + "line": 189, + "column": 13 + }, + "end": { + "line": 189, + "column": 27 + } + } + }, + "range": [ + 5038, + 5057 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 27 + } + } + }, + "arguments": [ + { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ - 5175, - 5179 + 5058, + 5062 ], "loc": { "start": { - "line": 195, - "column": 8 + "line": 189, + "column": 28 }, "end": { - "line": 195, - "column": 12 + "line": 189, + "column": 32 } } }, @@ -8511,148 +7584,63 @@ "type": "Identifier", "name": "tblCont", "range": [ - 5180, - 5187 + 5063, + 5070 ], "loc": { "start": { - "line": 195, - "column": 13 + "line": 189, + "column": 33 }, "end": { - "line": 195, - "column": 20 + "line": 189, + "column": 40 } } }, "range": [ - 5175, - 5187 + 5058, + 5070 ], "loc": { "start": { - "line": 195, - "column": 8 + "line": 189, + "column": 28 }, "end": { - "line": 195, - "column": 20 + "line": 189, + "column": 40 } } - }, - "property": { - "type": "Identifier", - "name": "className", - "range": [ - 5188, - 5197 - ], - "loc": { - "start": { - "line": 195, - "column": 21 - }, - "end": { - "line": 195, - "column": 30 - } - } - }, - "range": [ - 5175, - 5197 - ], - "loc": { - "start": { - "line": 195, - "column": 8 - }, - "end": { - "line": 195, - "column": 30 - } } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 5200, - 5204 - ], - "loc": { - "start": { - "line": 195, - "column": 33 - }, - "end": { - "line": 195, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "name": "contCssClass", - "range": [ - 5205, - 5217 - ], - "loc": { - "start": { - "line": 195, - "column": 38 - }, - "end": { - "line": 195, - "column": 50 - } - } - }, - "range": [ - 5200, - 5217 - ], - "loc": { - "start": { - "line": 195, - "column": 33 - }, - "end": { - "line": 195, - "column": 50 - } - } - }, + ], "range": [ - 5175, - 5217 + 5038, + 5071 ], "loc": { "start": { - "line": 195, + "line": 189, "column": 8 }, "end": { - "line": 195, - "column": 50 + "line": 189, + "column": 41 } } }, "range": [ - 5175, - 5218 + 5038, + 5072 ], "loc": { "start": { - "line": 195, + "line": 189, "column": 8 }, "end": { - "line": 195, - "column": 51 + "line": 189, + "column": 42 } } }, @@ -8664,736 +7652,16 @@ "object": { "type": "ThisExpression", "range": [ - 5231, - 5235 + 5085, + 5089 ], "loc": { "start": { - "line": 196, + "line": 190, "column": 12 }, "end": { - "line": 196, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 5236, - 5241 - ], - "loc": { - "start": { - "line": 196, - "column": 17 - }, - "end": { - "line": 196, - "column": 22 - } - } - }, - "range": [ - 5231, - 5241 - ], - "loc": { - "start": { - "line": 196, - "column": 12 - }, - "end": { - "line": 196, - "column": 22 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "!==", - "left": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 5261, - 5265 - ], - "loc": { - "start": { - "line": 197, - "column": 16 - }, - "end": { - "line": 197, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 5266, - 5271 - ], - "loc": { - "start": { - "line": 197, - "column": 21 - }, - "end": { - "line": 197, - "column": 26 - } - } - }, - "range": [ - 5261, - 5271 - ], - "loc": { - "start": { - "line": 197, - "column": 16 - }, - "end": { - "line": 197, - "column": 26 - } - } - }, - "property": { - "type": "Identifier", - "name": "indexOf", - "range": [ - 5272, - 5279 - ], - "loc": { - "start": { - "line": 197, - "column": 27 - }, - "end": { - "line": 197, - "column": 34 - } - } - }, - "range": [ - 5261, - 5279 - ], - "loc": { - "start": { - "line": 197, - "column": 16 - }, - "end": { - "line": 197, - "column": 34 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": "%", - "raw": "'%'", - "range": [ - 5280, - 5283 - ], - "loc": { - "start": { - "line": 197, - "column": 35 - }, - "end": { - "line": 197, - "column": 38 - } - } - } - ], - "range": [ - 5261, - 5284 - ], - "loc": { - "start": { - "line": 197, - "column": 16 - }, - "end": { - "line": 197, - "column": 39 - } - } - }, - "right": { - "type": "UnaryExpression", - "operator": "-", - "argument": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 5290, - 5291 - ], - "loc": { - "start": { - "line": 197, - "column": 45 - }, - "end": { - "line": 197, - "column": 46 - } - } - }, - "prefix": true, - "range": [ - 5289, - 5291 - ], - "loc": { - "start": { - "line": 197, - "column": 44 - }, - "end": { - "line": 197, - "column": 46 - } - } - }, - "range": [ - 5261, - 5291 - ], - "loc": { - "start": { - "line": 197, - "column": 16 - }, - "end": { - "line": 197, - "column": 46 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 5311, - 5315 - ], - "loc": { - "start": { - "line": 198, - "column": 16 - }, - "end": { - "line": 198, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "tblCont", - "range": [ - 5316, - 5323 - ], - "loc": { - "start": { - "line": 198, - "column": 21 - }, - "end": { - "line": 198, - "column": 28 - } - } - }, - "range": [ - 5311, - 5323 - ], - "loc": { - "start": { - "line": 198, - "column": 16 - }, - "end": { - "line": 198, - "column": 28 - } - } - }, - "property": { - "type": "Identifier", - "name": "style", - "range": [ - 5324, - 5329 - ], - "loc": { - "start": { - "line": 198, - "column": 29 - }, - "end": { - "line": 198, - "column": 34 - } - } - }, - "range": [ - 5311, - 5329 - ], - "loc": { - "start": { - "line": 198, - "column": 16 - }, - "end": { - "line": 198, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 5330, - 5335 - ], - "loc": { - "start": { - "line": 198, - "column": 35 - }, - "end": { - "line": 198, - "column": 40 - } - } - }, - "range": [ - 5311, - 5335 - ], - "loc": { - "start": { - "line": 198, - "column": 16 - }, - "end": { - "line": 198, - "column": 40 - } - } - }, - "right": { - "type": "Literal", - "value": "100%", - "raw": "'100%'", - "range": [ - 5338, - 5344 - ], - "loc": { - "start": { - "line": 198, - "column": 43 - }, - "end": { - "line": 198, - "column": 49 - } - } - }, - "range": [ - 5311, - 5344 - ], - "loc": { - "start": { - "line": 198, - "column": 16 - }, - "end": { - "line": 198, - "column": 49 - } - } - }, - "range": [ - 5311, - 5345 - ], - "loc": { - "start": { - "line": 198, - "column": 16 - }, - "end": { - "line": 198, - "column": 50 - } - } - } - ], - "range": [ - 5293, - 5359 - ], - "loc": { - "start": { - "line": 197, - "column": 48 - }, - "end": { - "line": 199, - "column": 13 - } - } - }, - "alternate": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 5383, - 5387 - ], - "loc": { - "start": { - "line": 200, - "column": 16 - }, - "end": { - "line": 200, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "tblCont", - "range": [ - 5388, - 5395 - ], - "loc": { - "start": { - "line": 200, - "column": 21 - }, - "end": { - "line": 200, - "column": 28 - } - } - }, - "range": [ - 5383, - 5395 - ], - "loc": { - "start": { - "line": 200, - "column": 16 - }, - "end": { - "line": 200, - "column": 28 - } - } - }, - "property": { - "type": "Identifier", - "name": "style", - "range": [ - 5396, - 5401 - ], - "loc": { - "start": { - "line": 200, - "column": 29 - }, - "end": { - "line": 200, - "column": 34 - } - } - }, - "range": [ - 5383, - 5401 - ], - "loc": { - "start": { - "line": 200, - "column": 16 - }, - "end": { - "line": 200, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 5402, - 5407 - ], - "loc": { - "start": { - "line": 200, - "column": 35 - }, - "end": { - "line": 200, - "column": 40 - } - } - }, - "range": [ - 5383, - 5407 - ], - "loc": { - "start": { - "line": 200, - "column": 16 - }, - "end": { - "line": 200, - "column": 40 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 5410, - 5414 - ], - "loc": { - "start": { - "line": 200, - "column": 43 - }, - "end": { - "line": 200, - "column": 47 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 5415, - 5420 - ], - "loc": { - "start": { - "line": 200, - "column": 48 - }, - "end": { - "line": 200, - "column": 53 - } - } - }, - "range": [ - 5410, - 5420 - ], - "loc": { - "start": { - "line": 200, - "column": 43 - }, - "end": { - "line": 200, - "column": 53 - } - } - }, - "range": [ - 5383, - 5420 - ], - "loc": { - "start": { - "line": 200, - "column": 16 - }, - "end": { - "line": 200, - "column": 53 - } - } - }, - "range": [ - 5383, - 5421 - ], - "loc": { - "start": { - "line": 200, - "column": 16 - }, - "end": { - "line": 200, - "column": 54 - } - } - } - ], - "range": [ - 5365, - 5435 - ], - "loc": { - "start": { - "line": 199, - "column": 19 - }, - "end": { - "line": 201, - "column": 13 - } - } - }, - "range": [ - 5257, - 5435 - ], - "loc": { - "start": { - "line": 197, - "column": 12 - }, - "end": { - "line": 201, - "column": 13 - } - } - } - ], - "range": [ - 5243, - 5445 - ], - "loc": { - "start": { - "line": 196, - "column": 24 - }, - "end": { - "line": 202, - "column": 9 - } - } - }, - "alternate": null, - "range": [ - 5227, - 5445 - ], - "loc": { - "start": { - "line": 196, - "column": 8 - }, - "end": { - "line": 202, - "column": 9 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 5458, - 5462 - ], - "loc": { - "start": { - "line": 203, - "column": 12 - }, - "end": { - "line": 203, + "line": 190, "column": 16 } } @@ -9402,31 +7670,31 @@ "type": "Identifier", "name": "height", "range": [ - 5463, - 5469 + 5090, + 5096 ], "loc": { "start": { - "line": 203, + "line": 190, "column": 17 }, "end": { - "line": 203, + "line": 190, "column": 23 } } }, "range": [ - 5458, - 5469 + 5085, + 5096 ], "loc": { "start": { - "line": 203, + "line": 190, "column": 12 }, "end": { - "line": 203, + "line": 190, "column": 23 } } @@ -9451,16 +7719,16 @@ "object": { "type": "ThisExpression", "range": [ - 5485, - 5489 + 5112, + 5116 ], "loc": { "start": { - "line": 204, + "line": 191, "column": 12 }, "end": { - "line": 204, + "line": 191, "column": 16 } } @@ -9469,31 +7737,31 @@ "type": "Identifier", "name": "tblCont", "range": [ - 5490, - 5497 + 5117, + 5124 ], "loc": { "start": { - "line": 204, + "line": 191, "column": 17 }, "end": { - "line": 204, + "line": 191, "column": 24 } } }, "range": [ - 5485, - 5497 + 5112, + 5124 ], "loc": { "start": { - "line": 204, + "line": 191, "column": 12 }, "end": { - "line": 204, + "line": 191, "column": 24 } } @@ -9502,31 +7770,31 @@ "type": "Identifier", "name": "style", "range": [ - 5498, - 5503 + 5125, + 5130 ], "loc": { "start": { - "line": 204, + "line": 191, "column": 25 }, "end": { - "line": 204, + "line": 191, "column": 30 } } }, "range": [ - 5485, - 5503 + 5112, + 5130 ], "loc": { "start": { - "line": 204, + "line": 191, "column": 12 }, "end": { - "line": 204, + "line": 191, "column": 30 } } @@ -9535,31 +7803,31 @@ "type": "Identifier", "name": "height", "range": [ - 5504, - 5510 + 5131, + 5137 ], "loc": { "start": { - "line": 204, + "line": 191, "column": 31 }, "end": { - "line": 204, + "line": 191, "column": 37 } } }, "range": [ - 5485, - 5510 + 5112, + 5137 ], "loc": { "start": { - "line": 204, + "line": 191, "column": 12 }, "end": { - "line": 204, + "line": 191, "column": 37 } } @@ -9570,16 +7838,16 @@ "object": { "type": "ThisExpression", "range": [ - 5513, - 5517 + 5140, + 5144 ], "loc": { "start": { - "line": 204, + "line": 191, "column": 40 }, "end": { - "line": 204, + "line": 191, "column": 44 } } @@ -9588,93 +7856,93 @@ "type": "Identifier", "name": "height", "range": [ - 5518, - 5524 + 5145, + 5151 ], "loc": { "start": { - "line": 204, + "line": 191, "column": 45 }, "end": { - "line": 204, + "line": 191, "column": 51 } } }, "range": [ - 5513, - 5524 + 5140, + 5151 ], "loc": { "start": { - "line": 204, + "line": 191, "column": 40 }, "end": { - "line": 204, + "line": 191, "column": 51 } } }, "range": [ - 5485, - 5524 + 5112, + 5151 ], "loc": { "start": { - "line": 204, + "line": 191, "column": 12 }, "end": { - "line": 204, + "line": 191, "column": 51 } } }, "range": [ - 5485, - 5525 + 5112, + 5152 ], "loc": { "start": { - "line": 204, + "line": 191, "column": 12 }, "end": { - "line": 204, + "line": 191, "column": 52 } } } ], "range": [ - 5471, - 5535 + 5098, + 5162 ], "loc": { "start": { - "line": 203, + "line": 190, "column": 25 }, "end": { - "line": 205, + "line": 192, "column": 9 } } }, "alternate": null, "range": [ - 5454, - 5535 + 5081, + 5162 ], "loc": { "start": { - "line": 203, + "line": 190, "column": 8 }, "end": { - "line": 205, + "line": 192, "column": 9 } } @@ -9693,16 +7961,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 5544, - 5547 + 5171, + 5174 ], "loc": { "start": { - "line": 206, + "line": 193, "column": 8 }, "end": { - "line": 206, + "line": 193, "column": 11 } } @@ -9711,31 +7979,31 @@ "type": "Identifier", "name": "parentNode", "range": [ - 5548, - 5558 + 5175, + 5185 ], "loc": { "start": { - "line": 206, + "line": 193, "column": 12 }, "end": { - "line": 206, + "line": 193, "column": 22 } } }, "range": [ - 5544, - 5558 + 5171, + 5185 ], "loc": { "start": { - "line": 206, + "line": 193, "column": 8 }, "end": { - "line": 206, + "line": 193, "column": 22 } } @@ -9744,31 +8012,31 @@ "type": "Identifier", "name": "insertBefore", "range": [ - 5559, - 5571 + 5186, + 5198 ], "loc": { "start": { - "line": 206, + "line": 193, "column": 23 }, "end": { - "line": 206, + "line": 193, "column": 35 } } }, "range": [ - 5544, - 5571 + 5171, + 5198 ], "loc": { "start": { - "line": 206, + "line": 193, "column": 8 }, "end": { - "line": 206, + "line": 193, "column": 35 } } @@ -9780,16 +8048,16 @@ "object": { "type": "ThisExpression", "range": [ - 5572, - 5576 + 5199, + 5203 ], "loc": { "start": { - "line": 206, + "line": 193, "column": 36 }, "end": { - "line": 206, + "line": 193, "column": 40 } } @@ -9798,31 +8066,31 @@ "type": "Identifier", "name": "tblCont", "range": [ - 5577, - 5584 + 5204, + 5211 ], "loc": { "start": { - "line": 206, + "line": 193, "column": 41 }, "end": { - "line": 206, + "line": 193, "column": 48 } } }, "range": [ - 5572, - 5584 + 5199, + 5211 ], "loc": { "start": { - "line": 206, + "line": 193, "column": 36 }, "end": { - "line": 206, + "line": 193, "column": 48 } } @@ -9831,47 +8099,47 @@ "type": "Identifier", "name": "tbl", "range": [ - 5586, - 5589 + 5213, + 5216 ], "loc": { "start": { - "line": 206, + "line": 193, "column": 50 }, "end": { - "line": 206, + "line": 193, "column": 53 } } } ], "range": [ - 5544, - 5590 + 5171, + 5217 ], "loc": { "start": { - "line": 206, + "line": 193, "column": 8 }, "end": { - "line": 206, + "line": 193, "column": 54 } } }, "range": [ - 5544, - 5591 + 5171, + 5218 ], "loc": { "start": { - "line": 206, + "line": 193, "column": 8 }, "end": { - "line": 206, + "line": 193, "column": 55 } } @@ -9885,16 +8153,16 @@ "type": "Identifier", "name": "t", "range": [ - 5604, - 5605 + 5231, + 5232 ], "loc": { "start": { - "line": 207, + "line": 194, "column": 12 }, "end": { - "line": 207, + "line": 194, "column": 13 } } @@ -9905,16 +8173,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 5608, - 5617 + 5235, + 5244 ], "loc": { "start": { - "line": 207, + "line": 194, "column": 16 }, "end": { - "line": 207, + "line": 194, "column": 25 } } @@ -9924,47 +8192,47 @@ "type": "Identifier", "name": "tbl", "range": [ - 5618, - 5621 + 5245, + 5248 ], "loc": { "start": { - "line": 207, + "line": 194, "column": 26 }, "end": { - "line": 207, + "line": 194, "column": 29 } } } ], "range": [ - 5608, - 5622 + 5235, + 5249 ], "loc": { "start": { - "line": 207, + "line": 194, "column": 16 }, "end": { - "line": 207, + "line": 194, "column": 30 } } }, "range": [ - 5604, - 5622 + 5231, + 5249 ], "loc": { "start": { - "line": 207, + "line": 194, "column": 12 }, "end": { - "line": 207, + "line": 194, "column": 30 } } @@ -9972,16 +8240,16 @@ ], "kind": "let", "range": [ - 5600, - 5623 + 5227, + 5250 ], "loc": { "start": { - "line": 207, + "line": 194, "column": 8 }, "end": { - "line": 207, + "line": 194, "column": 31 } } @@ -9999,16 +8267,16 @@ "object": { "type": "ThisExpression", "range": [ - 5632, - 5636 + 5259, + 5263 ], "loc": { "start": { - "line": 208, + "line": 195, "column": 8 }, "end": { - "line": 208, + "line": 195, "column": 12 } } @@ -10017,31 +8285,31 @@ "type": "Identifier", "name": "tblCont", "range": [ - 5637, - 5644 + 5264, + 5271 ], "loc": { "start": { - "line": 208, + "line": 195, "column": 13 }, "end": { - "line": 208, + "line": 195, "column": 20 } } }, "range": [ - 5632, - 5644 + 5259, + 5271 ], "loc": { "start": { - "line": 208, + "line": 195, "column": 8 }, "end": { - "line": 208, + "line": 195, "column": 20 } } @@ -10050,31 +8318,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 5645, - 5656 + 5272, + 5283 ], "loc": { "start": { - "line": 208, + "line": 195, "column": 21 }, "end": { - "line": 208, + "line": 195, "column": 32 } } }, "range": [ - 5632, - 5656 + 5259, + 5283 ], "loc": { "start": { - "line": 208, + "line": 195, "column": 8 }, "end": { - "line": 208, + "line": 195, "column": 32 } } @@ -10084,47 +8352,47 @@ "type": "Identifier", "name": "t", "range": [ - 5657, - 5658 + 5284, + 5285 ], "loc": { "start": { - "line": 208, + "line": 195, "column": 33 }, "end": { - "line": 208, + "line": 195, "column": 34 } } } ], "range": [ - 5632, - 5659 + 5259, + 5286 ], "loc": { "start": { - "line": 208, + "line": 195, "column": 8 }, "end": { - "line": 208, + "line": 195, "column": 35 } } }, "range": [ - 5632, - 5660 + 5259, + 5287 ], "loc": { "start": { - "line": 208, + "line": 195, "column": 8 }, "end": { - "line": 208, + "line": 195, "column": 36 } }, @@ -10133,16 +8401,16 @@ "type": "Line", "value": "In case table width is expressed in %", "range": [ - 5670, - 5709 + 5297, + 5336 ], "loc": { "start": { - "line": 210, + "line": 197, "column": 8 }, "end": { - "line": 210, + "line": 197, "column": 47 } } @@ -10164,16 +8432,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 5722, - 5725 + 5349, + 5352 ], "loc": { "start": { - "line": 211, + "line": 198, "column": 12 }, "end": { - "line": 211, + "line": 198, "column": 15 } } @@ -10182,31 +8450,31 @@ "type": "Identifier", "name": "style", "range": [ - 5726, - 5731 + 5353, + 5358 ], "loc": { "start": { - "line": 211, + "line": 198, "column": 16 }, "end": { - "line": 211, + "line": 198, "column": 21 } } }, "range": [ - 5722, - 5731 + 5349, + 5358 ], "loc": { "start": { - "line": 211, + "line": 198, "column": 12 }, "end": { - "line": 211, + "line": 198, "column": 21 } } @@ -10215,31 +8483,31 @@ "type": "Identifier", "name": "width", "range": [ - 5732, - 5737 + 5359, + 5364 ], "loc": { "start": { - "line": 211, + "line": 198, "column": 22 }, "end": { - "line": 211, + "line": 198, "column": 27 } } }, "range": [ - 5722, - 5737 + 5349, + 5364 ], "loc": { "start": { - "line": 211, + "line": 198, "column": 12 }, "end": { - "line": 211, + "line": 198, "column": 27 } } @@ -10249,31 +8517,31 @@ "value": "", "raw": "''", "range": [ - 5742, - 5744 + 5369, + 5371 ], "loc": { "start": { - "line": 211, + "line": 198, "column": 32 }, "end": { - "line": 211, + "line": 198, "column": 34 } } }, "range": [ - 5722, - 5744 + 5349, + 5371 ], "loc": { "start": { - "line": 211, + "line": 198, "column": 12 }, "end": { - "line": 211, + "line": 198, "column": 34 } } @@ -10296,16 +8564,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 5760, - 5763 + 5387, + 5390 ], "loc": { "start": { - "line": 212, + "line": 199, "column": 12 }, "end": { - "line": 212, + "line": 199, "column": 15 } } @@ -10314,31 +8582,31 @@ "type": "Identifier", "name": "style", "range": [ - 5764, - 5769 + 5391, + 5396 ], "loc": { "start": { - "line": 212, + "line": 199, "column": 16 }, "end": { - "line": 212, + "line": 199, "column": 21 } } }, "range": [ - 5760, - 5769 + 5387, + 5396 ], "loc": { "start": { - "line": 212, + "line": 199, "column": 12 }, "end": { - "line": 212, + "line": 199, "column": 21 } } @@ -10347,31 +8615,31 @@ "type": "Identifier", "name": "width", "range": [ - 5770, - 5775 + 5397, + 5402 ], "loc": { "start": { - "line": 212, + "line": 199, "column": 22 }, "end": { - "line": 212, + "line": 199, "column": 27 } } }, "range": [ - 5760, - 5775 + 5387, + 5402 ], "loc": { "start": { - "line": 212, + "line": 199, "column": 12 }, "end": { - "line": 212, + "line": 199, "column": 27 } } @@ -10387,16 +8655,16 @@ "type": "Identifier", "name": "contains", "range": [ - 5779, - 5787 + 5406, + 5414 ], "loc": { "start": { - "line": 212, + "line": 199, "column": 31 }, "end": { - "line": 212, + "line": 199, "column": 39 } } @@ -10407,16 +8675,16 @@ "value": "%", "raw": "'%'", "range": [ - 5788, - 5791 + 5415, + 5418 ], "loc": { "start": { - "line": 212, + "line": 199, "column": 40 }, "end": { - "line": 212, + "line": 199, "column": 43 } } @@ -10425,32 +8693,32 @@ "type": "Identifier", "name": "tblW", "range": [ - 5793, - 5797 + 5420, + 5424 ], "loc": { "start": { - "line": 212, + "line": 199, "column": 45 }, "end": { - "line": 212, + "line": 199, "column": 49 } } } ], "range": [ - 5779, - 5798 + 5406, + 5425 ], "loc": { "start": { - "line": 212, + "line": 199, "column": 31 }, "end": { - "line": 212, + "line": 199, "column": 50 } } @@ -10462,16 +8730,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 5817, - 5820 + 5444, + 5447 ], "loc": { "start": { - "line": 213, + "line": 200, "column": 16 }, "end": { - "line": 213, + "line": 200, "column": 19 } } @@ -10480,31 +8748,31 @@ "type": "Identifier", "name": "clientWidth", "range": [ - 5821, - 5832 + 5448, + 5459 ], "loc": { "start": { - "line": 213, + "line": 200, "column": 20 }, "end": { - "line": 213, + "line": 200, "column": 31 } } }, "range": [ - 5817, - 5832 + 5444, + 5459 ], "loc": { "start": { - "line": 213, + "line": 200, "column": 16 }, "end": { - "line": 213, + "line": 200, "column": 31 } } @@ -10513,31 +8781,31 @@ "type": "Identifier", "name": "tblW", "range": [ - 5835, - 5839 + 5462, + 5466 ], "loc": { "start": { - "line": 213, + "line": 200, "column": 34 }, "end": { - "line": 213, + "line": 200, "column": 38 } } }, "range": [ - 5779, - 5839 + 5406, + 5466 ], "loc": { "start": { - "line": 212, + "line": 199, "column": 31 }, "end": { - "line": 213, + "line": 200, "column": 38 } } @@ -10547,93 +8815,93 @@ "value": "px", "raw": "'px'", "range": [ - 5843, - 5847 + 5470, + 5474 ], "loc": { "start": { - "line": 213, + "line": 200, "column": 42 }, "end": { - "line": 213, + "line": 200, "column": 46 } } }, "range": [ - 5778, - 5847 + 5405, + 5474 ], "loc": { "start": { - "line": 212, + "line": 199, "column": 30 }, "end": { - "line": 213, + "line": 200, "column": 46 } } }, "range": [ - 5760, - 5847 + 5387, + 5474 ], "loc": { "start": { - "line": 212, + "line": 199, "column": 12 }, "end": { - "line": 213, + "line": 200, "column": 46 } } }, "range": [ - 5760, - 5848 + 5387, + 5475 ], "loc": { "start": { - "line": 212, + "line": 199, "column": 12 }, "end": { - "line": 213, + "line": 200, "column": 47 } } } ], "range": [ - 5746, - 5858 + 5373, + 5485 ], "loc": { "start": { - "line": 211, + "line": 198, "column": 36 }, "end": { - "line": 214, + "line": 201, "column": 9 } } }, "alternate": null, "range": [ - 5718, - 5858 + 5345, + 5485 ], "loc": { "start": { - "line": 211, + "line": 198, "column": 8 }, "end": { - "line": 214, + "line": 201, "column": 9 } }, @@ -10642,16 +8910,16 @@ "type": "Line", "value": "In case table width is expressed in %", "range": [ - 5670, - 5709 + 5297, + 5336 ], "loc": { "start": { - "line": 210, + "line": 197, "column": 8 }, "end": { - "line": 210, + "line": 197, "column": 47 } } @@ -10667,16 +8935,16 @@ "type": "Identifier", "name": "d", "range": [ - 5872, - 5873 + 5499, + 5500 ], "loc": { "start": { - "line": 216, + "line": 203, "column": 12 }, "end": { - "line": 216, + "line": 203, "column": 13 } } @@ -10687,16 +8955,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 5876, - 5885 + 5503, + 5512 ], "loc": { "start": { - "line": 216, + "line": 203, "column": 16 }, "end": { - "line": 216, + "line": 203, "column": 25 } } @@ -10708,16 +8976,16 @@ "object": { "type": "ThisExpression", "range": [ - 5886, - 5890 + 5513, + 5517 ], "loc": { "start": { - "line": 216, + "line": 203, "column": 26 }, "end": { - "line": 216, + "line": 203, "column": 30 } } @@ -10726,62 +8994,62 @@ "type": "Identifier", "name": "tblCont", "range": [ - 5891, - 5898 + 5518, + 5525 ], "loc": { "start": { - "line": 216, + "line": 203, "column": 31 }, "end": { - "line": 216, + "line": 203, "column": 38 } } }, "range": [ - 5886, - 5898 + 5513, + 5525 ], "loc": { "start": { - "line": 216, + "line": 203, "column": 26 }, "end": { - "line": 216, + "line": 203, "column": 38 } } } ], "range": [ - 5876, - 5899 + 5503, + 5526 ], "loc": { "start": { - "line": 216, + "line": 203, "column": 16 }, "end": { - "line": 216, + "line": 203, "column": 39 } } }, "range": [ - 5872, - 5899 + 5499, + 5526 ], "loc": { "start": { - "line": 216, + "line": 203, "column": 12 }, "end": { - "line": 216, + "line": 203, "column": 39 } } @@ -10789,16 +9057,16 @@ ], "kind": "let", "range": [ - 5868, - 5900 + 5495, + 5527 ], "loc": { "start": { - "line": 216, + "line": 203, "column": 8 }, "end": { - "line": 216, + "line": 203, "column": 40 } } @@ -10816,16 +9084,16 @@ "object": { "type": "ThisExpression", "range": [ - 5909, - 5913 + 5536, + 5540 ], "loc": { "start": { - "line": 217, + "line": 204, "column": 8 }, "end": { - "line": 217, + "line": 204, "column": 12 } } @@ -10834,31 +9102,31 @@ "type": "Identifier", "name": "tblMainCont", "range": [ - 5914, - 5925 + 5541, + 5552 ], "loc": { "start": { - "line": 217, + "line": 204, "column": 13 }, "end": { - "line": 217, + "line": 204, "column": 24 } } }, "range": [ - 5909, - 5925 + 5536, + 5552 ], "loc": { "start": { - "line": 217, + "line": 204, "column": 8 }, "end": { - "line": 217, + "line": 204, "column": 24 } } @@ -10867,31 +9135,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 5926, - 5937 + 5553, + 5564 ], "loc": { "start": { - "line": 217, + "line": 204, "column": 25 }, "end": { - "line": 217, + "line": 204, "column": 36 } } }, "range": [ - 5909, - 5937 + 5536, + 5564 ], "loc": { "start": { - "line": 217, + "line": 204, "column": 8 }, "end": { - "line": 217, + "line": 204, "column": 36 } } @@ -10901,47 +9169,47 @@ "type": "Identifier", "name": "d", "range": [ - 5938, - 5939 + 5565, + 5566 ], "loc": { "start": { - "line": 217, + "line": 204, "column": 37 }, "end": { - "line": 217, + "line": 204, "column": 38 } } } ], "range": [ - 5909, - 5940 + 5536, + 5567 ], "loc": { "start": { - "line": 217, + "line": 204, "column": 8 }, "end": { - "line": 217, + "line": 204, "column": 39 } } }, "range": [ - 5909, - 5941 + 5536, + 5568 ], "loc": { "start": { - "line": 217, + "line": 204, "column": 8 }, "end": { - "line": 217, + "line": 204, "column": 40 } }, @@ -10950,16 +9218,16 @@ "type": "Line", "value": "Headers table container: div wrapping headers table", "range": [ - 5951, - 6004 + 5578, + 5631 ], "loc": { "start": { - "line": 219, + "line": 206, "column": 8 }, "end": { - "line": 219, + "line": 206, "column": 61 } } @@ -10977,16 +9245,16 @@ "object": { "type": "ThisExpression", "range": [ - 6013, - 6017 + 5640, + 5644 ], "loc": { "start": { - "line": 220, + "line": 207, "column": 8 }, "end": { - "line": 220, + "line": 207, "column": 12 } } @@ -10995,31 +9263,31 @@ "type": "Identifier", "name": "headTblCont", "range": [ - 6018, - 6029 + 5645, + 5656 ], "loc": { "start": { - "line": 220, + "line": 207, "column": 13 }, "end": { - "line": 220, + "line": 207, "column": 24 } } }, "range": [ - 6013, - 6029 + 5640, + 5656 ], "loc": { "start": { - "line": 220, + "line": 207, "column": 8 }, "end": { - "line": 220, + "line": 207, "column": 24 } } @@ -11027,249 +9295,299 @@ "right": { "type": "CallExpression", "callee": { - "type": "Identifier", - "name": "createElm", + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5659, + 5663 + ], + "loc": { + "start": { + "line": 207, + "column": 27 + }, + "end": { + "line": 207, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "createContainer", + "range": [ + 5664, + 5679 + ], + "loc": { + "start": { + "line": 207, + "column": 32 + }, + "end": { + "line": 207, + "column": 47 + } + } + }, "range": [ - 6032, - 6041 + 5659, + 5679 ], "loc": { "start": { - "line": 220, + "line": 207, "column": 27 }, "end": { - "line": 220, - "column": 36 + "line": 207, + "column": 47 } } }, "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5680, + 5684 + ], + "loc": { + "start": { + "line": 207, + "column": 48 + }, + "end": { + "line": 207, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxHeadTblCont", + "range": [ + 5685, + 5700 + ], + "loc": { + "start": { + "line": 207, + "column": 53 + }, + "end": { + "line": 207, + "column": 68 + } + } + }, + "range": [ + 5680, + 5700 + ], + "loc": { + "start": { + "line": 207, + "column": 48 + }, + "end": { + "line": 207, + "column": 68 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5703, + 5705 + ], + "loc": { + "start": { + "line": 207, + "column": 71 + }, + "end": { + "line": 207, + "column": 73 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 5706, + 5708 + ], + "loc": { + "start": { + "line": 207, + "column": 74 + }, + "end": { + "line": 207, + "column": 76 + } + } + }, + "range": [ + 5703, + 5708 + ], + "loc": { + "start": { + "line": 207, + "column": 71 + }, + "end": { + "line": 207, + "column": 76 + } + } + }, + "range": [ + 5680, + 5708 + ], + "loc": { + "start": { + "line": 207, + "column": 48 + }, + "end": { + "line": 207, + "column": 76 + } + } + }, { "type": "Literal", "value": "div", "raw": "'div'", "range": [ - 6055, - 6060 + 5722, + 5727 ], "loc": { "start": { - "line": 221, + "line": 208, "column": 12 }, "end": { - "line": 221, + "line": 208, "column": 17 } } }, { - "type": "ArrayExpression", - "elements": [ - { - "type": "Literal", - "value": "id", - "raw": "'id'", - "range": [ - 6063, - 6067 - ], - "loc": { - "start": { - "line": 221, - "column": 20 - }, - "end": { - "line": 221, - "column": 24 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 6069, - 6073 - ], - "loc": { - "start": { - "line": 221, - "column": 26 - }, - "end": { - "line": 221, - "column": 30 - } - } - }, - "property": { - "type": "Identifier", - "name": "prfxHeadTblCont", - "range": [ - 6074, - 6089 - ], - "loc": { - "start": { - "line": 221, - "column": 31 - }, - "end": { - "line": 221, - "column": 46 - } - } - }, - "range": [ - 6069, - 6089 - ], - "loc": { - "start": { - "line": 221, - "column": 26 - }, - "end": { - "line": 221, - "column": 46 - } - } + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5729, + 5733 + ], + "loc": { + "start": { + "line": 208, + "column": 19 }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 6092, - 6094 - ], - "loc": { - "start": { - "line": 221, - "column": 49 - }, - "end": { - "line": 221, - "column": 51 - } - } - }, - "property": { - "type": "Identifier", - "name": "id", - "range": [ - 6095, - 6097 - ], - "loc": { - "start": { - "line": 221, - "column": 52 - }, - "end": { - "line": 221, - "column": 54 - } - } - }, - "range": [ - 6092, - 6097 - ], - "loc": { - "start": { - "line": 221, - "column": 49 - }, - "end": { - "line": 221, - "column": 54 - } - } - }, - "range": [ - 6069, - 6097 - ], - "loc": { - "start": { - "line": 221, - "column": 26 - }, - "end": { - "line": 221, - "column": 54 - } + "end": { + "line": 208, + "column": 23 } } - ], + }, + "property": { + "type": "Identifier", + "name": "headContCssClass", + "range": [ + 5734, + 5750 + ], + "loc": { + "start": { + "line": 208, + "column": 24 + }, + "end": { + "line": 208, + "column": 40 + } + } + }, "range": [ - 6062, - 6098 + 5729, + 5750 ], "loc": { "start": { - "line": 221, + "line": 208, "column": 19 }, "end": { - "line": 221, - "column": 55 + "line": 208, + "column": 40 } } } ], "range": [ - 6032, - 6099 + 5659, + 5751 ], "loc": { "start": { - "line": 220, + "line": 207, "column": 27 }, "end": { - "line": 221, - "column": 56 + "line": 208, + "column": 41 } } }, "range": [ - 6013, - 6099 + 5640, + 5751 ], "loc": { "start": { - "line": 220, + "line": 207, "column": 8 }, "end": { - "line": 221, - "column": 56 + "line": 208, + "column": 41 } } }, "range": [ - 6013, - 6100 + 5640, + 5752 ], "loc": { "start": { - "line": 220, + "line": 207, "column": 8 }, "end": { - "line": 221, - "column": 57 + "line": 208, + "column": 42 } }, "leadingComments": [ @@ -11277,16 +9595,16 @@ "type": "Line", "value": "Headers table container: div wrapping headers table", "range": [ - 5951, - 6004 + 5578, + 5631 ], "loc": { "start": { - "line": 219, + "line": 206, "column": 8 }, "end": { - "line": 219, + "line": 206, "column": 61 } } @@ -11296,28 +9614,78 @@ { "type": "ExpressionStatement", "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { + "type": "CallExpression", + "callee": { "type": "MemberExpression", "computed": false, "object": { + "type": "ThisExpression", + "range": [ + 5761, + 5765 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setConfigWidth", + "range": [ + 5766, + 5780 + ], + "loc": { + "start": { + "line": 209, + "column": 13 + }, + "end": { + "line": 209, + "column": 27 + } + } + }, + "range": [ + 5761, + 5780 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 27 + } + } + }, + "arguments": [ + { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ - 6109, - 6113 + 5781, + 5785 ], "loc": { "start": { - "line": 222, - "column": 8 + "line": 209, + "column": 28 }, "end": { - "line": 222, - "column": 12 + "line": 209, + "column": 32 } } }, @@ -11325,868 +9693,63 @@ "type": "Identifier", "name": "headTblCont", "range": [ - 6114, - 6125 + 5786, + 5797 ], "loc": { "start": { - "line": 222, - "column": 13 + "line": 209, + "column": 33 }, "end": { - "line": 222, - "column": 24 + "line": 209, + "column": 44 } } }, "range": [ - 6109, - 6125 + 5781, + 5797 ], "loc": { "start": { - "line": 222, - "column": 8 + "line": 209, + "column": 28 }, "end": { - "line": 222, - "column": 24 + "line": 209, + "column": 44 } } - }, - "property": { - "type": "Identifier", - "name": "className", - "range": [ - 6126, - 6135 - ], - "loc": { - "start": { - "line": 222, - "column": 25 - }, - "end": { - "line": 222, - "column": 34 - } - } - }, - "range": [ - 6109, - 6135 - ], - "loc": { - "start": { - "line": 222, - "column": 8 - }, - "end": { - "line": 222, - "column": 34 - } } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 6138, - 6142 - ], - "loc": { - "start": { - "line": 222, - "column": 37 - }, - "end": { - "line": 222, - "column": 41 - } - } - }, - "property": { - "type": "Identifier", - "name": "headContCssClass", - "range": [ - 6143, - 6159 - ], - "loc": { - "start": { - "line": 222, - "column": 42 - }, - "end": { - "line": 222, - "column": 58 - } - } - }, - "range": [ - 6138, - 6159 - ], - "loc": { - "start": { - "line": 222, - "column": 37 - }, - "end": { - "line": 222, - "column": 58 - } - } - }, + ], "range": [ - 6109, - 6159 + 5761, + 5798 ], "loc": { "start": { - "line": 222, + "line": 209, "column": 8 }, "end": { - "line": 222, - "column": 58 + "line": 209, + "column": 45 } } }, "range": [ - 6109, - 6160 + 5761, + 5799 ], "loc": { "start": { - "line": 222, + "line": 209, "column": 8 }, "end": { - "line": 222, - "column": 59 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 6173, - 6177 - ], - "loc": { - "start": { - "line": 223, - "column": 12 - }, - "end": { - "line": 223, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 6178, - 6183 - ], - "loc": { - "start": { - "line": 223, - "column": 17 - }, - "end": { - "line": 223, - "column": 22 - } - } - }, - "range": [ - 6173, - 6183 - ], - "loc": { - "start": { - "line": 223, - "column": 12 - }, - "end": { - "line": 223, - "column": 22 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "!==", - "left": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 6203, - 6207 - ], - "loc": { - "start": { - "line": 224, - "column": 16 - }, - "end": { - "line": 224, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 6208, - 6213 - ], - "loc": { - "start": { - "line": 224, - "column": 21 - }, - "end": { - "line": 224, - "column": 26 - } - } - }, - "range": [ - 6203, - 6213 - ], - "loc": { - "start": { - "line": 224, - "column": 16 - }, - "end": { - "line": 224, - "column": 26 - } - } - }, - "property": { - "type": "Identifier", - "name": "indexOf", - "range": [ - 6214, - 6221 - ], - "loc": { - "start": { - "line": 224, - "column": 27 - }, - "end": { - "line": 224, - "column": 34 - } - } - }, - "range": [ - 6203, - 6221 - ], - "loc": { - "start": { - "line": 224, - "column": 16 - }, - "end": { - "line": 224, - "column": 34 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": "%", - "raw": "'%'", - "range": [ - 6222, - 6225 - ], - "loc": { - "start": { - "line": 224, - "column": 35 - }, - "end": { - "line": 224, - "column": 38 - } - } - } - ], - "range": [ - 6203, - 6226 - ], - "loc": { - "start": { - "line": 224, - "column": 16 - }, - "end": { - "line": 224, - "column": 39 - } - } - }, - "right": { - "type": "UnaryExpression", - "operator": "-", - "argument": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 6232, - 6233 - ], - "loc": { - "start": { - "line": 224, - "column": 45 - }, - "end": { - "line": 224, - "column": 46 - } - } - }, - "prefix": true, - "range": [ - 6231, - 6233 - ], - "loc": { - "start": { - "line": 224, - "column": 44 - }, - "end": { - "line": 224, - "column": 46 - } - } - }, - "range": [ - 6203, - 6233 - ], - "loc": { - "start": { - "line": 224, - "column": 16 - }, - "end": { - "line": 224, - "column": 46 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 6253, - 6257 - ], - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "headTblCont", - "range": [ - 6258, - 6269 - ], - "loc": { - "start": { - "line": 225, - "column": 21 - }, - "end": { - "line": 225, - "column": 32 - } - } - }, - "range": [ - 6253, - 6269 - ], - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "name": "style", - "range": [ - 6270, - 6275 - ], - "loc": { - "start": { - "line": 225, - "column": 33 - }, - "end": { - "line": 225, - "column": 38 - } - } - }, - "range": [ - 6253, - 6275 - ], - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 38 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 6276, - 6281 - ], - "loc": { - "start": { - "line": 225, - "column": 39 - }, - "end": { - "line": 225, - "column": 44 - } - } - }, - "range": [ - 6253, - 6281 - ], - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 44 - } - } - }, - "right": { - "type": "Literal", - "value": "100%", - "raw": "'100%'", - "range": [ - 6284, - 6290 - ], - "loc": { - "start": { - "line": 225, - "column": 47 - }, - "end": { - "line": 225, - "column": 53 - } - } - }, - "range": [ - 6253, - 6290 - ], - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 53 - } - } - }, - "range": [ - 6253, - 6291 - ], - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 54 - } - } - } - ], - "range": [ - 6235, - 6305 - ], - "loc": { - "start": { - "line": 224, - "column": 48 - }, - "end": { - "line": 226, - "column": 13 - } - } - }, - "alternate": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 6329, - 6333 - ], - "loc": { - "start": { - "line": 227, - "column": 16 - }, - "end": { - "line": 227, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "headTblCont", - "range": [ - 6334, - 6345 - ], - "loc": { - "start": { - "line": 227, - "column": 21 - }, - "end": { - "line": 227, - "column": 32 - } - } - }, - "range": [ - 6329, - 6345 - ], - "loc": { - "start": { - "line": 227, - "column": 16 - }, - "end": { - "line": 227, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "name": "style", - "range": [ - 6346, - 6351 - ], - "loc": { - "start": { - "line": 227, - "column": 33 - }, - "end": { - "line": 227, - "column": 38 - } - } - }, - "range": [ - 6329, - 6351 - ], - "loc": { - "start": { - "line": 227, - "column": 16 - }, - "end": { - "line": 227, - "column": 38 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 6352, - 6357 - ], - "loc": { - "start": { - "line": 227, - "column": 39 - }, - "end": { - "line": 227, - "column": 44 - } - } - }, - "range": [ - 6329, - 6357 - ], - "loc": { - "start": { - "line": 227, - "column": 16 - }, - "end": { - "line": 227, - "column": 44 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 6360, - 6364 - ], - "loc": { - "start": { - "line": 227, - "column": 47 - }, - "end": { - "line": 227, - "column": 51 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 6365, - 6370 - ], - "loc": { - "start": { - "line": 227, - "column": 52 - }, - "end": { - "line": 227, - "column": 57 - } - } - }, - "range": [ - 6360, - 6370 - ], - "loc": { - "start": { - "line": 227, - "column": 47 - }, - "end": { - "line": 227, - "column": 57 - } - } - }, - "range": [ - 6329, - 6370 - ], - "loc": { - "start": { - "line": 227, - "column": 16 - }, - "end": { - "line": 227, - "column": 57 - } - } - }, - "range": [ - 6329, - 6371 - ], - "loc": { - "start": { - "line": 227, - "column": 16 - }, - "end": { - "line": 227, - "column": 58 - } - } - } - ], - "range": [ - 6311, - 6385 - ], - "loc": { - "start": { - "line": 226, - "column": 19 - }, - "end": { - "line": 228, - "column": 13 - } - } - }, - "range": [ - 6199, - 6385 - ], - "loc": { - "start": { - "line": 224, - "column": 12 - }, - "end": { - "line": 228, - "column": 13 - } - } - } - ], - "range": [ - 6185, - 6395 - ], - "loc": { - "start": { - "line": 223, - "column": 24 - }, - "end": { - "line": 229, - "column": 9 - } - } - }, - "alternate": null, - "range": [ - 6169, - 6395 - ], - "loc": { - "start": { - "line": 223, - "column": 8 - }, - "end": { - "line": 229, - "column": 9 + "line": 209, + "column": 46 } }, "trailingComments": [ @@ -12194,16 +9757,16 @@ "type": "Line", "value": "Headers table", "range": [ - 6405, - 6420 + 5809, + 5824 ], "loc": { "start": { - "line": 231, + "line": 211, "column": 8 }, "end": { - "line": 231, + "line": 211, "column": 23 } } @@ -12221,16 +9784,16 @@ "object": { "type": "ThisExpression", "range": [ - 6429, - 6433 + 5833, + 5837 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 8 }, "end": { - "line": 232, + "line": 212, "column": 12 } } @@ -12239,31 +9802,31 @@ "type": "Identifier", "name": "headTbl", "range": [ - 6434, - 6441 + 5838, + 5845 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 13 }, "end": { - "line": 232, + "line": 212, "column": 20 } } }, "range": [ - 6429, - 6441 + 5833, + 5845 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 8 }, "end": { - "line": 232, + "line": 212, "column": 20 } } @@ -12274,16 +9837,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 6444, - 6453 + 5848, + 5857 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 23 }, "end": { - "line": 232, + "line": 212, "column": 32 } } @@ -12294,16 +9857,16 @@ "value": "table", "raw": "'table'", "range": [ - 6454, - 6461 + 5858, + 5865 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 33 }, "end": { - "line": 232, + "line": 212, "column": 40 } } @@ -12316,16 +9879,16 @@ "value": "id", "raw": "'id'", "range": [ - 6464, - 6468 + 5868, + 5872 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 43 }, "end": { - "line": 232, + "line": 212, "column": 47 } } @@ -12339,16 +9902,16 @@ "object": { "type": "ThisExpression", "range": [ - 6470, - 6474 + 5874, + 5878 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 49 }, "end": { - "line": 232, + "line": 212, "column": 53 } } @@ -12357,31 +9920,31 @@ "type": "Identifier", "name": "prfxHeadTbl", "range": [ - 6475, - 6486 + 5879, + 5890 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 54 }, "end": { - "line": 232, + "line": 212, "column": 65 } } }, "range": [ - 6470, - 6486 + 5874, + 5890 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 49 }, "end": { - "line": 232, + "line": 212, "column": 65 } } @@ -12393,16 +9956,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6489, - 6491 + 5893, + 5895 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 68 }, "end": { - "line": 232, + "line": 212, "column": 70 } } @@ -12411,108 +9974,108 @@ "type": "Identifier", "name": "id", "range": [ - 6492, - 6494 + 5896, + 5898 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 71 }, "end": { - "line": 232, + "line": 212, "column": 73 } } }, "range": [ - 6489, - 6494 + 5893, + 5898 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 68 }, "end": { - "line": 232, + "line": 212, "column": 73 } } }, "range": [ - 6470, - 6494 + 5874, + 5898 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 49 }, "end": { - "line": 232, + "line": 212, "column": 73 } } } ], "range": [ - 6463, - 6495 + 5867, + 5899 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 42 }, "end": { - "line": 232, + "line": 212, "column": 74 } } } ], "range": [ - 6444, - 6496 + 5848, + 5900 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 23 }, "end": { - "line": 232, + "line": 212, "column": 75 } } }, "range": [ - 6429, - 6496 + 5833, + 5900 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 8 }, "end": { - "line": 232, + "line": 212, "column": 75 } } }, "range": [ - 6429, - 6497 + 5833, + 5901 ], "loc": { "start": { - "line": 232, + "line": 212, "column": 8 }, "end": { - "line": 232, + "line": 212, "column": 76 } }, @@ -12521,16 +10084,16 @@ "type": "Line", "value": "Headers table", "range": [ - 6405, - 6420 + 5809, + 5824 ], "loc": { "start": { - "line": 231, + "line": 211, "column": 8 }, "end": { - "line": 231, + "line": 211, "column": 23 } } @@ -12546,16 +10109,16 @@ "type": "Identifier", "name": "tH", "range": [ - 6510, - 6512 + 5914, + 5916 ], "loc": { "start": { - "line": 233, + "line": 213, "column": 12 }, "end": { - "line": 233, + "line": 213, "column": 14 } } @@ -12566,16 +10129,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 6515, - 6524 + 5919, + 5928 ], "loc": { "start": { - "line": 233, + "line": 213, "column": 17 }, "end": { - "line": 233, + "line": 213, "column": 26 } } @@ -12586,47 +10149,47 @@ "value": "tHead", "raw": "'tHead'", "range": [ - 6525, - 6532 + 5929, + 5936 ], "loc": { "start": { - "line": 233, + "line": 213, "column": 27 }, "end": { - "line": 233, + "line": 213, "column": 34 } } } ], "range": [ - 6515, - 6533 + 5919, + 5937 ], "loc": { "start": { - "line": 233, + "line": 213, "column": 17 }, "end": { - "line": 233, + "line": 213, "column": 35 } } }, "range": [ - 6510, - 6533 + 5914, + 5937 ], "loc": { "start": { - "line": 233, + "line": 213, "column": 12 }, "end": { - "line": 233, + "line": 213, "column": 35 } } @@ -12634,16 +10197,16 @@ ], "kind": "let", "range": [ - 6506, - 6534 + 5910, + 5938 ], "loc": { "start": { - "line": 233, + "line": 213, "column": 8 }, "end": { - "line": 233, + "line": 213, "column": 36 } }, @@ -12652,16 +10215,16 @@ "type": "Line", "value": "1st row should be headers row, ids are added if not set", "range": [ - 6544, - 6601 + 5948, + 6005 ], "loc": { "start": { - "line": 235, + "line": 215, "column": 8 }, "end": { - "line": 235, + "line": 215, "column": 65 } } @@ -12670,16 +10233,16 @@ "type": "Line", "value": "Those ids are used by the sort feature", "range": [ - 6610, - 6650 + 6014, + 6054 ], "loc": { "start": { - "line": 236, + "line": 216, "column": 8 }, "end": { - "line": 236, + "line": 216, "column": 48 } } @@ -12695,16 +10258,16 @@ "type": "Identifier", "name": "hRow", "range": [ - 6663, - 6667 + 6067, + 6071 ], "loc": { "start": { - "line": 237, + "line": 217, "column": 12 }, "end": { - "line": 237, + "line": 217, "column": 16 } } @@ -12719,16 +10282,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 6670, - 6673 + 6074, + 6077 ], "loc": { "start": { - "line": 237, + "line": 217, "column": 19 }, "end": { - "line": 237, + "line": 217, "column": 22 } } @@ -12737,31 +10300,31 @@ "type": "Identifier", "name": "rows", "range": [ - 6674, - 6678 + 6078, + 6082 ], "loc": { "start": { - "line": 237, + "line": 217, "column": 23 }, "end": { - "line": 237, + "line": 217, "column": 27 } } }, "range": [ - 6670, - 6678 + 6074, + 6082 ], "loc": { "start": { - "line": 237, + "line": 217, "column": 19 }, "end": { - "line": 237, + "line": 217, "column": 27 } } @@ -12772,16 +10335,16 @@ "object": { "type": "ThisExpression", "range": [ - 6679, - 6683 + 6083, + 6087 ], "loc": { "start": { - "line": 237, + "line": 217, "column": 28 }, "end": { - "line": 237, + "line": 217, "column": 32 } } @@ -12790,61 +10353,61 @@ "type": "Identifier", "name": "headRowIndex", "range": [ - 6684, - 6696 + 6088, + 6100 ], "loc": { "start": { - "line": 237, + "line": 217, "column": 33 }, "end": { - "line": 237, + "line": 217, "column": 45 } } }, "range": [ - 6679, - 6696 + 6083, + 6100 ], "loc": { "start": { - "line": 237, + "line": 217, "column": 28 }, "end": { - "line": 237, + "line": 217, "column": 45 } } }, "range": [ - 6670, - 6697 + 6074, + 6101 ], "loc": { "start": { - "line": 237, + "line": 217, "column": 19 }, "end": { - "line": 237, + "line": 217, "column": 46 } } }, "range": [ - 6663, - 6697 + 6067, + 6101 ], "loc": { "start": { - "line": 237, + "line": 217, "column": 12 }, "end": { - "line": 237, + "line": 217, "column": 46 } } @@ -12852,16 +10415,16 @@ ], "kind": "let", "range": [ - 6659, - 6698 + 6063, + 6102 ], "loc": { "start": { - "line": 237, + "line": 217, "column": 8 }, "end": { - "line": 237, + "line": 217, "column": 47 } }, @@ -12870,16 +10433,16 @@ "type": "Line", "value": "1st row should be headers row, ids are added if not set", "range": [ - 6544, - 6601 + 5948, + 6005 ], "loc": { "start": { - "line": 235, + "line": 215, "column": 8 }, "end": { - "line": 235, + "line": 215, "column": 65 } } @@ -12888,16 +10451,16 @@ "type": "Line", "value": "Those ids are used by the sort feature", "range": [ - 6610, - 6650 + 6014, + 6054 ], "loc": { "start": { - "line": 236, + "line": 216, "column": 8 }, "end": { - "line": 236, + "line": 216, "column": 48 } } @@ -12913,1229 +10476,139 @@ "type": "Identifier", "name": "sortTriggers", "range": [ - 6711, - 6723 + 6115, + 6127 ], "loc": { "start": { - "line": 238, + "line": 218, "column": 12 }, "end": { - "line": 238, + "line": 218, "column": 24 } } }, "init": { - "type": "ArrayExpression", - "elements": [], + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6130, + 6134 + ], + "loc": { + "start": { + "line": 218, + "column": 27 + }, + "end": { + "line": 218, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "getSortTriggerIds", + "range": [ + 6135, + 6152 + ], + "loc": { + "start": { + "line": 218, + "column": 32 + }, + "end": { + "line": 218, + "column": 49 + } + } + }, + "range": [ + 6130, + 6152 + ], + "loc": { + "start": { + "line": 218, + "column": 27 + }, + "end": { + "line": 218, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "hRow", + "range": [ + 6153, + 6157 + ], + "loc": { + "start": { + "line": 218, + "column": 50 + }, + "end": { + "line": 218, + "column": 54 + } + } + } + ], "range": [ - 6726, - 6728 + 6130, + 6158 ], "loc": { "start": { - "line": 238, + "line": 218, "column": 27 }, "end": { - "line": 238, - "column": 29 + "line": 218, + "column": 55 } } }, "range": [ - 6711, - 6728 + 6115, + 6158 ], "loc": { "start": { - "line": 238, + "line": 218, "column": 12 }, "end": { - "line": 238, - "column": 29 + "line": 218, + "column": 55 } } } ], "kind": "let", "range": [ - 6707, - 6729 + 6111, + 6159 ], "loc": { "start": { - "line": 238, + "line": 218, "column": 8 }, "end": { - "line": 238, - "column": 30 - } - } - }, - { - "type": "ForStatement", - "init": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "n", - "range": [ - 6747, - 6748 - ], - "loc": { - "start": { - "line": 239, - "column": 17 - }, - "end": { - "line": 239, - "column": 18 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 6751, - 6752 - ], - "loc": { - "start": { - "line": 239, - "column": 21 - }, - "end": { - "line": 239, - "column": 22 - } - } - }, - "range": [ - 6747, - 6752 - ], - "loc": { - "start": { - "line": 239, - "column": 17 - }, - "end": { - "line": 239, - "column": 22 - } - } - } - ], - "kind": "let", - "range": [ - 6743, - 6752 - ], - "loc": { - "start": { - "line": 239, - "column": 13 - }, - "end": { - "line": 239, - "column": 22 - } - } - }, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "n", - "range": [ - 6754, - 6755 - ], - "loc": { - "start": { - "line": 239, - "column": 24 - }, - "end": { - "line": 239, - "column": 25 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 6758, - 6760 - ], - "loc": { - "start": { - "line": 239, - "column": 28 - }, - "end": { - "line": 239, - "column": 30 - } - } - }, - "property": { - "type": "Identifier", - "name": "nbCells", - "range": [ - 6761, - 6768 - ], - "loc": { - "start": { - "line": 239, - "column": 31 - }, - "end": { - "line": 239, - "column": 38 - } - } - }, - "range": [ - 6758, - 6768 - ], - "loc": { - "start": { - "line": 239, - "column": 28 - }, - "end": { - "line": 239, - "column": 38 - } - } - }, - "range": [ - 6754, - 6768 - ], - "loc": { - "start": { - "line": 239, - "column": 24 - }, - "end": { - "line": 239, - "column": 38 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "n", - "range": [ - 6770, - 6771 - ], - "loc": { - "start": { - "line": 239, - "column": 40 - }, - "end": { - "line": 239, - "column": 41 - } - } - }, - "prefix": false, - "range": [ - 6770, - 6773 - ], - "loc": { - "start": { - "line": 239, - "column": 40 - }, - "end": { - "line": 239, - "column": 43 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "c", - "range": [ - 6793, - 6794 - ], - "loc": { - "start": { - "line": 240, - "column": 16 - }, - "end": { - "line": 240, - "column": 17 - } - } - }, - "init": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "hRow", - "range": [ - 6797, - 6801 - ], - "loc": { - "start": { - "line": 240, - "column": 20 - }, - "end": { - "line": 240, - "column": 24 - } - } - }, - "property": { - "type": "Identifier", - "name": "cells", - "range": [ - 6802, - 6807 - ], - "loc": { - "start": { - "line": 240, - "column": 25 - }, - "end": { - "line": 240, - "column": 30 - } - } - }, - "range": [ - 6797, - 6807 - ], - "loc": { - "start": { - "line": 240, - "column": 20 - }, - "end": { - "line": 240, - "column": 30 - } - } - }, - "property": { - "type": "Identifier", - "name": "n", - "range": [ - 6808, - 6809 - ], - "loc": { - "start": { - "line": 240, - "column": 31 - }, - "end": { - "line": 240, - "column": 32 - } - } - }, - "range": [ - 6797, - 6810 - ], - "loc": { - "start": { - "line": 240, - "column": 20 - }, - "end": { - "line": 240, - "column": 33 - } - } - }, - "range": [ - 6793, - 6810 - ], - "loc": { - "start": { - "line": 240, - "column": 16 - }, - "end": { - "line": 240, - "column": 33 - } - } - } - ], - "kind": "let", - "range": [ - 6789, - 6811 - ], - "loc": { - "start": { - "line": 240, - "column": 12 - }, - "end": { - "line": 240, - "column": 34 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "thId", - "range": [ - 6828, - 6832 - ], - "loc": { - "start": { - "line": 241, - "column": 16 - }, - "end": { - "line": 241, - "column": 20 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 6835, - 6836 - ], - "loc": { - "start": { - "line": 241, - "column": 23 - }, - "end": { - "line": 241, - "column": 24 - } - } - }, - "property": { - "type": "Identifier", - "name": "getAttribute", - "range": [ - 6837, - 6849 - ], - "loc": { - "start": { - "line": 241, - "column": 25 - }, - "end": { - "line": 241, - "column": 37 - } - } - }, - "range": [ - 6835, - 6849 - ], - "loc": { - "start": { - "line": 241, - "column": 23 - }, - "end": { - "line": 241, - "column": 37 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": "id", - "raw": "'id'", - "range": [ - 6850, - 6854 - ], - "loc": { - "start": { - "line": 241, - "column": 38 - }, - "end": { - "line": 241, - "column": 42 - } - } - } - ], - "range": [ - 6835, - 6855 - ], - "loc": { - "start": { - "line": 241, - "column": 23 - }, - "end": { - "line": 241, - "column": 43 - } - } - }, - "range": [ - 6828, - 6855 - ], - "loc": { - "start": { - "line": 241, - "column": 16 - }, - "end": { - "line": 241, - "column": 43 - } - } - } - ], - "kind": "let", - "range": [ - 6824, - 6856 - ], - "loc": { - "start": { - "line": 241, - "column": 12 - }, - "end": { - "line": 241, - "column": 44 - } - } - }, - { - "type": "IfStatement", - "test": { - "type": "LogicalExpression", - "operator": "||", - "left": { - "type": "UnaryExpression", - "operator": "!", - "argument": { - "type": "Identifier", - "name": "thId", - "range": [ - 6874, - 6878 - ], - "loc": { - "start": { - "line": 242, - "column": 17 - }, - "end": { - "line": 242, - "column": 21 - } - } - }, - "prefix": true, - "range": [ - 6873, - 6878 - ], - "loc": { - "start": { - "line": 242, - "column": 16 - }, - "end": { - "line": 242, - "column": 21 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "===", - "left": { - "type": "Identifier", - "name": "thId", - "range": [ - 6882, - 6886 - ], - "loc": { - "start": { - "line": 242, - "column": 25 - }, - "end": { - "line": 242, - "column": 29 - } - } - }, - "right": { - "type": "Literal", - "value": "", - "raw": "''", - "range": [ - 6891, - 6893 - ], - "loc": { - "start": { - "line": 242, - "column": 34 - }, - "end": { - "line": 242, - "column": 36 - } - } - }, - "range": [ - 6882, - 6893 - ], - "loc": { - "start": { - "line": 242, - "column": 25 - }, - "end": { - "line": 242, - "column": 36 - } - } - }, - "range": [ - 6873, - 6893 - ], - "loc": { - "start": { - "line": 242, - "column": 16 - }, - "end": { - "line": 242, - "column": 36 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "Identifier", - "name": "thId", - "range": [ - 6913, - 6917 - ], - "loc": { - "start": { - "line": 243, - "column": 16 - }, - "end": { - "line": 243, - "column": 20 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 6920, - 6924 - ], - "loc": { - "start": { - "line": 243, - "column": 23 - }, - "end": { - "line": 243, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "name": "prfxGridTh", - "range": [ - 6925, - 6935 - ], - "loc": { - "start": { - "line": 243, - "column": 28 - }, - "end": { - "line": 243, - "column": 38 - } - } - }, - "range": [ - 6920, - 6935 - ], - "loc": { - "start": { - "line": 243, - "column": 23 - }, - "end": { - "line": 243, - "column": 38 - } - } - }, - "right": { - "type": "Identifier", - "name": "n", - "range": [ - 6938, - 6939 - ], - "loc": { - "start": { - "line": 243, - "column": 41 - }, - "end": { - "line": 243, - "column": 42 - } - } - }, - "range": [ - 6920, - 6939 - ], - "loc": { - "start": { - "line": 243, - "column": 23 - }, - "end": { - "line": 243, - "column": 42 - } - } - }, - "right": { - "type": "Literal", - "value": "_", - "raw": "'_'", - "range": [ - 6942, - 6945 - ], - "loc": { - "start": { - "line": 243, - "column": 45 - }, - "end": { - "line": 243, - "column": 48 - } - } - }, - "range": [ - 6920, - 6945 - ], - "loc": { - "start": { - "line": 243, - "column": 23 - }, - "end": { - "line": 243, - "column": 48 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 6948, - 6950 - ], - "loc": { - "start": { - "line": 243, - "column": 51 - }, - "end": { - "line": 243, - "column": 53 - } - } - }, - "property": { - "type": "Identifier", - "name": "id", - "range": [ - 6951, - 6953 - ], - "loc": { - "start": { - "line": 243, - "column": 54 - }, - "end": { - "line": 243, - "column": 56 - } - } - }, - "range": [ - 6948, - 6953 - ], - "loc": { - "start": { - "line": 243, - "column": 51 - }, - "end": { - "line": 243, - "column": 56 - } - } - }, - "range": [ - 6920, - 6953 - ], - "loc": { - "start": { - "line": 243, - "column": 23 - }, - "end": { - "line": 243, - "column": 56 - } - } - }, - "range": [ - 6913, - 6953 - ], - "loc": { - "start": { - "line": 243, - "column": 16 - }, - "end": { - "line": 243, - "column": 56 - } - } - }, - "range": [ - 6913, - 6954 - ], - "loc": { - "start": { - "line": 243, - "column": 16 - }, - "end": { - "line": 243, - "column": 57 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "c", - "range": [ - 6971, - 6972 - ], - "loc": { - "start": { - "line": 244, - "column": 16 - }, - "end": { - "line": 244, - "column": 17 - } - } - }, - "property": { - "type": "Identifier", - "name": "setAttribute", - "range": [ - 6973, - 6985 - ], - "loc": { - "start": { - "line": 244, - "column": 18 - }, - "end": { - "line": 244, - "column": 30 - } - } - }, - "range": [ - 6971, - 6985 - ], - "loc": { - "start": { - "line": 244, - "column": 16 - }, - "end": { - "line": 244, - "column": 30 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": "id", - "raw": "'id'", - "range": [ - 6986, - 6990 - ], - "loc": { - "start": { - "line": 244, - "column": 31 - }, - "end": { - "line": 244, - "column": 35 - } - } - }, - { - "type": "Identifier", - "name": "thId", - "range": [ - 6992, - 6996 - ], - "loc": { - "start": { - "line": 244, - "column": 37 - }, - "end": { - "line": 244, - "column": 41 - } - } - } - ], - "range": [ - 6971, - 6997 - ], - "loc": { - "start": { - "line": 244, - "column": 16 - }, - "end": { - "line": 244, - "column": 42 - } - } - }, - "range": [ - 6971, - 6998 - ], - "loc": { - "start": { - "line": 244, - "column": 16 - }, - "end": { - "line": 244, - "column": 43 - } - } - } - ], - "range": [ - 6895, - 7012 - ], - "loc": { - "start": { - "line": 242, - "column": 38 - }, - "end": { - "line": 245, - "column": 13 - } - } - }, - "alternate": null, - "range": [ - 6869, - 7012 - ], - "loc": { - "start": { - "line": 242, - "column": 12 - }, - "end": { - "line": 245, - "column": 13 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "sortTriggers", - "range": [ - 7025, - 7037 - ], - "loc": { - "start": { - "line": 246, - "column": 12 - }, - "end": { - "line": 246, - "column": 24 - } - } - }, - "property": { - "type": "Identifier", - "name": "push", - "range": [ - 7038, - 7042 - ], - "loc": { - "start": { - "line": 246, - "column": 25 - }, - "end": { - "line": 246, - "column": 29 - } - } - }, - "range": [ - 7025, - 7042 - ], - "loc": { - "start": { - "line": 246, - "column": 12 - }, - "end": { - "line": 246, - "column": 29 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "thId", - "range": [ - 7043, - 7047 - ], - "loc": { - "start": { - "line": 246, - "column": 30 - }, - "end": { - "line": 246, - "column": 34 - } - } - } - ], - "range": [ - 7025, - 7048 - ], - "loc": { - "start": { - "line": 246, - "column": 12 - }, - "end": { - "line": 246, - "column": 35 - } - } - }, - "range": [ - 7025, - 7049 - ], - "loc": { - "start": { - "line": 246, - "column": 12 - }, - "end": { - "line": 246, - "column": 36 - } - } - } - ], - "range": [ - 6775, - 7059 - ], - "loc": { - "start": { - "line": 239, - "column": 45 - }, - "end": { - "line": 247, - "column": 9 - } - } - }, - "range": [ - 6738, - 7059 - ], - "loc": { - "start": { - "line": 239, - "column": 8 - }, - "end": { - "line": 247, - "column": 9 + "line": 218, + "column": 56 } }, "trailingComments": [ @@ -14143,16 +10616,16 @@ "type": "Line", "value": "Filters row is created", "range": [ - 7069, - 7093 + 6169, + 6193 ], "loc": { "start": { - "line": 249, + "line": 220, "column": 8 }, "end": { - "line": 249, + "line": 220, "column": 32 } } @@ -14168,16 +10641,16 @@ "type": "Identifier", "name": "filtersRow", "range": [ - 7106, - 7116 + 6206, + 6216 ], "loc": { "start": { - "line": 250, + "line": 221, "column": 12 }, "end": { - "line": 250, + "line": 221, "column": 22 } } @@ -14185,88 +10658,103 @@ "init": { "type": "CallExpression", "callee": { - "type": "Identifier", - "name": "createElm", - "range": [ - 7119, - 7128 - ], - "loc": { - "start": { - "line": 250, - "column": 25 - }, - "end": { - "line": 250, - "column": 34 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": "tr", - "raw": "'tr'", + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", "range": [ - 7129, - 7133 + 6219, + 6223 ], "loc": { "start": { - "line": 250, - "column": 35 + "line": 221, + "column": 25 }, "end": { - "line": 250, - "column": 39 + "line": 221, + "column": 29 } } + }, + "property": { + "type": "Identifier", + "name": "createFiltersRow", + "range": [ + 6224, + 6240 + ], + "loc": { + "start": { + "line": 221, + "column": 30 + }, + "end": { + "line": 221, + "column": 46 + } + } + }, + "range": [ + 6219, + 6240 + ], + "loc": { + "start": { + "line": 221, + "column": 25 + }, + "end": { + "line": 221, + "column": 46 + } } - ], + }, + "arguments": [], "range": [ - 7119, - 7134 + 6219, + 6242 ], "loc": { "start": { - "line": 250, + "line": 221, "column": 25 }, "end": { - "line": 250, - "column": 40 + "line": 221, + "column": 48 } } }, "range": [ - 7106, - 7134 + 6206, + 6242 ], "loc": { "start": { - "line": 250, + "line": 221, "column": 12 }, "end": { - "line": 250, - "column": 40 + "line": 221, + "column": 48 } } } ], "kind": "let", "range": [ - 7102, - 7135 + 6202, + 6243 ], "loc": { "start": { - "line": 250, + "line": 221, "column": 8 }, "end": { - "line": 250, - "column": 41 + "line": 221, + "column": 49 } }, "leadingComments": [ @@ -14274,1283 +10762,36 @@ "type": "Line", "value": "Filters row is created", "range": [ - 7069, - 7093 + 6169, + 6193 ], "loc": { "start": { - "line": 249, + "line": 220, "column": 8 }, "end": { - "line": 249, + "line": 220, "column": 32 } } } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "LogicalExpression", - "operator": "&&", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 7148, - 7152 - ], - "loc": { - "start": { - "line": 251, - "column": 12 - }, - "end": { - "line": 251, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "enableFilters", - "range": [ - 7153, - 7166 - ], - "loc": { - "start": { - "line": 251, - "column": 17 - }, - "end": { - "line": 251, - "column": 30 - } - } - }, - "range": [ - 7148, - 7166 - ], - "loc": { - "start": { - "line": 251, - "column": 12 - }, - "end": { - "line": 251, - "column": 30 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 7170, - 7172 - ], - "loc": { - "start": { - "line": 251, - "column": 34 - }, - "end": { - "line": 251, - "column": 36 - } - } - }, - "property": { - "type": "Identifier", - "name": "fltGrid", - "range": [ - 7173, - 7180 - ], - "loc": { - "start": { - "line": 251, - "column": 37 - }, - "end": { - "line": 251, - "column": 44 - } - } - }, - "range": [ - 7170, - 7180 - ], - "loc": { - "start": { - "line": 251, - "column": 34 - }, - "end": { - "line": 251, - "column": 44 - } - } - }, - "range": [ - 7148, - 7180 - ], - "loc": { - "start": { - "line": 251, - "column": 12 - }, - "end": { - "line": 251, - "column": 44 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 7196, - 7198 - ], - "loc": { - "start": { - "line": 252, - "column": 12 - }, - "end": { - "line": 252, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "name": "externalFltTgtIds", - "range": [ - 7199, - 7216 - ], - "loc": { - "start": { - "line": 252, - "column": 15 - }, - "end": { - "line": 252, - "column": 32 - } - } - }, - "range": [ - 7196, - 7216 - ], - "loc": { - "start": { - "line": 252, - "column": 12 - }, - "end": { - "line": 252, - "column": 32 - } - } - }, - "right": { - "type": "ArrayExpression", - "elements": [], - "range": [ - 7219, - 7221 - ], - "loc": { - "start": { - "line": 252, - "column": 35 - }, - "end": { - "line": 252, - "column": 37 - } - } - }, - "range": [ - 7196, - 7221 - ], - "loc": { - "start": { - "line": 252, - "column": 12 - }, - "end": { - "line": 252, - "column": 37 - } - } - }, - "range": [ - 7196, - 7222 - ], - "loc": { - "start": { - "line": 252, - "column": 12 - }, - "end": { - "line": 252, - "column": 38 - } - } - }, - { - "type": "ForStatement", - "init": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "j", - "range": [ - 7244, - 7245 - ], - "loc": { - "start": { - "line": 253, - "column": 21 - }, - "end": { - "line": 253, - "column": 22 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 7248, - 7249 - ], - "loc": { - "start": { - "line": 253, - "column": 25 - }, - "end": { - "line": 253, - "column": 26 - } - } - }, - "range": [ - 7244, - 7249 - ], - "loc": { - "start": { - "line": 253, - "column": 21 - }, - "end": { - "line": 253, - "column": 26 - } - } - } - ], - "kind": "let", - "range": [ - 7240, - 7249 - ], - "loc": { - "start": { - "line": 253, - "column": 17 - }, - "end": { - "line": 253, - "column": 26 - } - } - }, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "j", - "range": [ - 7251, - 7252 - ], - "loc": { - "start": { - "line": 253, - "column": 28 - }, - "end": { - "line": 253, - "column": 29 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 7255, - 7257 - ], - "loc": { - "start": { - "line": 253, - "column": 32 - }, - "end": { - "line": 253, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "name": "nbCells", - "range": [ - 7258, - 7265 - ], - "loc": { - "start": { - "line": 253, - "column": 35 - }, - "end": { - "line": 253, - "column": 42 - } - } - }, - "range": [ - 7255, - 7265 - ], - "loc": { - "start": { - "line": 253, - "column": 32 - }, - "end": { - "line": 253, - "column": 42 - } - } - }, - "range": [ - 7251, - 7265 - ], - "loc": { - "start": { - "line": 253, - "column": 28 - }, - "end": { - "line": 253, - "column": 42 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "j", - "range": [ - 7267, - 7268 - ], - "loc": { - "start": { - "line": 253, - "column": 44 - }, - "end": { - "line": 253, - "column": 45 - } - } - }, - "prefix": false, - "range": [ - 7267, - 7270 - ], - "loc": { - "start": { - "line": 253, - "column": 44 - }, - "end": { - "line": 253, - "column": 47 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "fltTdId", - "range": [ - 7294, - 7301 - ], - "loc": { - "start": { - "line": 254, - "column": 20 - }, - "end": { - "line": 254, - "column": 27 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 7304, - 7306 - ], - "loc": { - "start": { - "line": 254, - "column": 30 - }, - "end": { - "line": 254, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "name": "prfxFlt", - "range": [ - 7307, - 7314 - ], - "loc": { - "start": { - "line": 254, - "column": 33 - }, - "end": { - "line": 254, - "column": 40 - } - } - }, - "range": [ - 7304, - 7314 - ], - "loc": { - "start": { - "line": 254, - "column": 30 - }, - "end": { - "line": 254, - "column": 40 - } - } - }, - "right": { - "type": "Identifier", - "name": "j", - "range": [ - 7317, - 7318 - ], - "loc": { - "start": { - "line": 254, - "column": 43 - }, - "end": { - "line": 254, - "column": 44 - } - } - }, - "range": [ - 7304, - 7318 - ], - "loc": { - "start": { - "line": 254, - "column": 30 - }, - "end": { - "line": 254, - "column": 44 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 7321, - 7325 - ], - "loc": { - "start": { - "line": 254, - "column": 47 - }, - "end": { - "line": 254, - "column": 51 - } - } - }, - "property": { - "type": "Identifier", - "name": "prfxGridFltTd", - "range": [ - 7326, - 7339 - ], - "loc": { - "start": { - "line": 254, - "column": 52 - }, - "end": { - "line": 254, - "column": 65 - } - } - }, - "range": [ - 7321, - 7339 - ], - "loc": { - "start": { - "line": 254, - "column": 47 - }, - "end": { - "line": 254, - "column": 65 - } - } - }, - "range": [ - 7304, - 7339 - ], - "loc": { - "start": { - "line": 254, - "column": 30 - }, - "end": { - "line": 254, - "column": 65 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 7342, - 7344 - ], - "loc": { - "start": { - "line": 254, - "column": 68 - }, - "end": { - "line": 254, - "column": 70 - } - } - }, - "property": { - "type": "Identifier", - "name": "id", - "range": [ - 7345, - 7347 - ], - "loc": { - "start": { - "line": 254, - "column": 71 - }, - "end": { - "line": 254, - "column": 73 - } - } - }, - "range": [ - 7342, - 7347 - ], - "loc": { - "start": { - "line": 254, - "column": 68 - }, - "end": { - "line": 254, - "column": 73 - } - } - }, - "range": [ - 7304, - 7347 - ], - "loc": { - "start": { - "line": 254, - "column": 30 - }, - "end": { - "line": 254, - "column": 73 - } - } - }, - "range": [ - 7294, - 7347 - ], - "loc": { - "start": { - "line": 254, - "column": 20 - }, - "end": { - "line": 254, - "column": 73 - } - } - } - ], - "kind": "let", - "range": [ - 7290, - 7348 - ], - "loc": { - "start": { - "line": 254, - "column": 16 - }, - "end": { - "line": 254, - "column": 74 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "cl", - "range": [ - 7369, - 7371 - ], - "loc": { - "start": { - "line": 255, - "column": 20 - }, - "end": { - "line": 255, - "column": 22 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "createElm", - "range": [ - 7374, - 7383 - ], - "loc": { - "start": { - "line": 255, - "column": 25 - }, - "end": { - "line": 255, - "column": 34 - } - } - }, - "arguments": [ - { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 7384, - 7386 - ], - "loc": { - "start": { - "line": 255, - "column": 35 - }, - "end": { - "line": 255, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "name": "fltCellTag", - "range": [ - 7387, - 7397 - ], - "loc": { - "start": { - "line": 255, - "column": 38 - }, - "end": { - "line": 255, - "column": 48 - } - } - }, - "range": [ - 7384, - 7397 - ], - "loc": { - "start": { - "line": 255, - "column": 35 - }, - "end": { - "line": 255, - "column": 48 - } - } - }, - { - "type": "ArrayExpression", - "elements": [ - { - "type": "Literal", - "value": "id", - "raw": "'id'", - "range": [ - 7400, - 7404 - ], - "loc": { - "start": { - "line": 255, - "column": 51 - }, - "end": { - "line": 255, - "column": 55 - } - } - }, - { - "type": "Identifier", - "name": "fltTdId", - "range": [ - 7406, - 7413 - ], - "loc": { - "start": { - "line": 255, - "column": 57 - }, - "end": { - "line": 255, - "column": 64 - } - } - } - ], - "range": [ - 7399, - 7414 - ], - "loc": { - "start": { - "line": 255, - "column": 50 - }, - "end": { - "line": 255, - "column": 65 - } - } - } - ], - "range": [ - 7374, - 7415 - ], - "loc": { - "start": { - "line": 255, - "column": 25 - }, - "end": { - "line": 255, - "column": 66 - } - } - }, - "range": [ - 7369, - 7415 - ], - "loc": { - "start": { - "line": 255, - "column": 20 - }, - "end": { - "line": 255, - "column": 66 - } - } - } - ], - "kind": "let", - "range": [ - 7365, - 7416 - ], - "loc": { - "start": { - "line": 255, - "column": 16 - }, - "end": { - "line": 255, - "column": 67 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "filtersRow", - "range": [ - 7433, - 7443 - ], - "loc": { - "start": { - "line": 256, - "column": 16 - }, - "end": { - "line": 256, - "column": 26 - } - } - }, - "property": { - "type": "Identifier", - "name": "appendChild", - "range": [ - 7444, - 7455 - ], - "loc": { - "start": { - "line": 256, - "column": 27 - }, - "end": { - "line": 256, - "column": 38 - } - } - }, - "range": [ - 7433, - 7455 - ], - "loc": { - "start": { - "line": 256, - "column": 16 - }, - "end": { - "line": 256, - "column": 38 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "cl", - "range": [ - 7456, - 7458 - ], - "loc": { - "start": { - "line": 256, - "column": 39 - }, - "end": { - "line": 256, - "column": 41 - } - } - } - ], - "range": [ - 7433, - 7459 - ], - "loc": { - "start": { - "line": 256, - "column": 16 - }, - "end": { - "line": 256, - "column": 42 - } - } - }, - "range": [ - 7433, - 7460 - ], - "loc": { - "start": { - "line": 256, - "column": 16 - }, - "end": { - "line": 256, - "column": 43 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 7477, - 7479 - ], - "loc": { - "start": { - "line": 257, - "column": 16 - }, - "end": { - "line": 257, - "column": 18 - } - } - }, - "property": { - "type": "Identifier", - "name": "externalFltTgtIds", - "range": [ - 7480, - 7497 - ], - "loc": { - "start": { - "line": 257, - "column": 19 - }, - "end": { - "line": 257, - "column": 36 - } - } - }, - "range": [ - 7477, - 7497 - ], - "loc": { - "start": { - "line": 257, - "column": 16 - }, - "end": { - "line": 257, - "column": 36 - } - } - }, - "property": { - "type": "Identifier", - "name": "j", - "range": [ - 7498, - 7499 - ], - "loc": { - "start": { - "line": 257, - "column": 37 - }, - "end": { - "line": 257, - "column": 38 - } - } - }, - "range": [ - 7477, - 7500 - ], - "loc": { - "start": { - "line": 257, - "column": 16 - }, - "end": { - "line": 257, - "column": 39 - } - } - }, - "right": { - "type": "Identifier", - "name": "fltTdId", - "range": [ - 7503, - 7510 - ], - "loc": { - "start": { - "line": 257, - "column": 42 - }, - "end": { - "line": 257, - "column": 49 - } - } - }, - "range": [ - 7477, - 7510 - ], - "loc": { - "start": { - "line": 257, - "column": 16 - }, - "end": { - "line": 257, - "column": 49 - } - } - }, - "range": [ - 7477, - 7511 - ], - "loc": { - "start": { - "line": 257, - "column": 16 - }, - "end": { - "line": 257, - "column": 50 - } - } - } - ], - "range": [ - 7272, - 7525 - ], - "loc": { - "start": { - "line": 253, - "column": 49 - }, - "end": { - "line": 258, - "column": 13 - } - } - }, - "range": [ - 7235, - 7525 - ], - "loc": { - "start": { - "line": 253, - "column": 12 - }, - "end": { - "line": 258, - "column": 13 - } - } - } - ], - "range": [ - 7182, - 7535 - ], - "loc": { - "start": { - "line": 251, - "column": 46 - }, - "end": { - "line": 259, - "column": 9 - } - } - }, - "alternate": null, - "range": [ - 7144, - 7535 ], - "loc": { - "start": { - "line": 251, - "column": 8 - }, - "end": { - "line": 259, - "column": 9 - } - }, "trailingComments": [ { "type": "Line", "value": "Headers row are moved from content table to headers table", "range": [ - 7545, - 7604 + 6253, + 6312 ], "loc": { "start": { - "line": 261, + "line": 223, "column": 8 }, "end": { - "line": 261, + "line": 223, "column": 67 } } @@ -15558,909 +10799,109 @@ ] }, { - "type": "IfStatement", - "test": { - "type": "UnaryExpression", - "operator": "!", - "argument": { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ - 7618, - 7622 + 6321, + 6325 ], "loc": { "start": { - "line": 262, - "column": 13 + "line": 224, + "column": 8 }, "end": { - "line": 262, - "column": 17 + "line": 224, + "column": 12 } } }, "property": { "type": "Identifier", - "name": "noHeaders", + "name": "setHeadersRow", "range": [ - 7623, - 7632 + 6326, + 6339 ], "loc": { "start": { - "line": 262, - "column": 18 + "line": 224, + "column": 13 }, "end": { - "line": 262, - "column": 27 + "line": 224, + "column": 26 } } }, "range": [ - 7618, - 7632 + 6321, + 6339 ], "loc": { "start": { - "line": 262, - "column": 13 + "line": 224, + "column": 8 }, "end": { - "line": 262, - "column": 27 + "line": 224, + "column": 26 } } }, - "prefix": true, - "range": [ - 7617, - 7632 - ], - "loc": { - "start": { - "line": 262, - "column": 12 - }, - "end": { - "line": 262, - "column": 27 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ + "arguments": [ { - "type": "ForStatement", - "init": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "i", - "range": [ - 7657, - 7658 - ], - "loc": { - "start": { - "line": 263, - "column": 21 - }, - "end": { - "line": 263, - "column": 22 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 7661, - 7662 - ], - "loc": { - "start": { - "line": 263, - "column": 25 - }, - "end": { - "line": 263, - "column": 26 - } - } - }, - "range": [ - 7657, - 7662 - ], - "loc": { - "start": { - "line": 263, - "column": 21 - }, - "end": { - "line": 263, - "column": 26 - } - } - } - ], - "kind": "let", - "range": [ - 7653, - 7662 - ], - "loc": { - "start": { - "line": 263, - "column": 17 - }, - "end": { - "line": 263, - "column": 26 - } - } - }, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "i", - "range": [ - 7664, - 7665 - ], - "loc": { - "start": { - "line": 263, - "column": 28 - }, - "end": { - "line": 263, - "column": 29 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 7668, - 7672 - ], - "loc": { - "start": { - "line": 263, - "column": 32 - }, - "end": { - "line": 263, - "column": 36 - } - } - }, - "property": { - "type": "Identifier", - "name": "headRows", - "range": [ - 7673, - 7681 - ], - "loc": { - "start": { - "line": 263, - "column": 37 - }, - "end": { - "line": 263, - "column": 45 - } - } - }, - "range": [ - 7668, - 7681 - ], - "loc": { - "start": { - "line": 263, - "column": 32 - }, - "end": { - "line": 263, - "column": 45 - } - } - }, - "property": { - "type": "Identifier", - "name": "length", - "range": [ - 7682, - 7688 - ], - "loc": { - "start": { - "line": 263, - "column": 46 - }, - "end": { - "line": 263, - "column": 52 - } - } - }, - "range": [ - 7668, - 7688 - ], - "loc": { - "start": { - "line": 263, - "column": 32 - }, - "end": { - "line": 263, - "column": 52 - } - } - }, - "range": [ - 7664, - 7688 - ], - "loc": { - "start": { - "line": 263, - "column": 28 - }, - "end": { - "line": 263, - "column": 52 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "i", - "range": [ - 7690, - 7691 - ], - "loc": { - "start": { - "line": 263, - "column": 54 - }, - "end": { - "line": 263, - "column": 55 - } - } - }, - "prefix": false, - "range": [ - 7690, - 7693 - ], - "loc": { - "start": { - "line": 263, - "column": 54 - }, - "end": { - "line": 263, - "column": 57 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "headRow", - "range": [ - 7717, - 7724 - ], - "loc": { - "start": { - "line": 264, - "column": 20 - }, - "end": { - "line": 264, - "column": 27 - } - } - }, - "init": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tbl", - "range": [ - 7727, - 7730 - ], - "loc": { - "start": { - "line": 264, - "column": 30 - }, - "end": { - "line": 264, - "column": 33 - } - } - }, - "property": { - "type": "Identifier", - "name": "rows", - "range": [ - 7731, - 7735 - ], - "loc": { - "start": { - "line": 264, - "column": 34 - }, - "end": { - "line": 264, - "column": 38 - } - } - }, - "range": [ - 7727, - 7735 - ], - "loc": { - "start": { - "line": 264, - "column": 30 - }, - "end": { - "line": 264, - "column": 38 - } - } - }, - "property": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 7736, - 7740 - ], - "loc": { - "start": { - "line": 264, - "column": 39 - }, - "end": { - "line": 264, - "column": 43 - } - } - }, - "property": { - "type": "Identifier", - "name": "headRows", - "range": [ - 7741, - 7749 - ], - "loc": { - "start": { - "line": 264, - "column": 44 - }, - "end": { - "line": 264, - "column": 52 - } - } - }, - "range": [ - 7736, - 7749 - ], - "loc": { - "start": { - "line": 264, - "column": 39 - }, - "end": { - "line": 264, - "column": 52 - } - } - }, - "property": { - "type": "Identifier", - "name": "i", - "range": [ - 7750, - 7751 - ], - "loc": { - "start": { - "line": 264, - "column": 53 - }, - "end": { - "line": 264, - "column": 54 - } - } - }, - "range": [ - 7736, - 7752 - ], - "loc": { - "start": { - "line": 264, - "column": 39 - }, - "end": { - "line": 264, - "column": 55 - } - } - }, - "range": [ - 7727, - 7753 - ], - "loc": { - "start": { - "line": 264, - "column": 30 - }, - "end": { - "line": 264, - "column": 56 - } - } - }, - "range": [ - 7717, - 7753 - ], - "loc": { - "start": { - "line": 264, - "column": 20 - }, - "end": { - "line": 264, - "column": 56 - } - } - } - ], - "kind": "let", - "range": [ - 7713, - 7754 - ], - "loc": { - "start": { - "line": 264, - "column": 16 - }, - "end": { - "line": 264, - "column": 57 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tH", - "range": [ - 7771, - 7773 - ], - "loc": { - "start": { - "line": 265, - "column": 16 - }, - "end": { - "line": 265, - "column": 18 - } - } - }, - "property": { - "type": "Identifier", - "name": "appendChild", - "range": [ - 7774, - 7785 - ], - "loc": { - "start": { - "line": 265, - "column": 19 - }, - "end": { - "line": 265, - "column": 30 - } - } - }, - "range": [ - 7771, - 7785 - ], - "loc": { - "start": { - "line": 265, - "column": 16 - }, - "end": { - "line": 265, - "column": 30 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "headRow", - "range": [ - 7786, - 7793 - ], - "loc": { - "start": { - "line": 265, - "column": 31 - }, - "end": { - "line": 265, - "column": 38 - } - } - } - ], - "range": [ - 7771, - 7794 - ], - "loc": { - "start": { - "line": 265, - "column": 16 - }, - "end": { - "line": 265, - "column": 39 - } - } - }, - "range": [ - 7771, - 7795 - ], - "loc": { - "start": { - "line": 265, - "column": 16 - }, - "end": { - "line": 265, - "column": 40 - } - } - } - ], - "range": [ - 7695, - 7809 - ], - "loc": { - "start": { - "line": 263, - "column": 59 - }, - "end": { - "line": 266, - "column": 13 - } - } - }, + "type": "Identifier", + "name": "tH", "range": [ - 7648, - 7809 + 6340, + 6342 ], "loc": { "start": { - "line": 263, - "column": 12 + "line": 224, + "column": 27 }, "end": { - "line": 266, - "column": 13 + "line": 224, + "column": 29 } } } ], "range": [ - 7634, - 7819 + 6321, + 6343 ], "loc": { "start": { - "line": 262, - "column": 29 + "line": 224, + "column": 8 }, "end": { - "line": 267, - "column": 9 - } - } - }, - "alternate": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tH", - "range": [ - 7934, - 7936 - ], - "loc": { - "start": { - "line": 270, - "column": 12 - }, - "end": { - "line": 270, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "name": "appendChild", - "range": [ - 7937, - 7948 - ], - "loc": { - "start": { - "line": 270, - "column": 15 - }, - "end": { - "line": 270, - "column": 26 - } - } - }, - "range": [ - 7934, - 7948 - ], - "loc": { - "start": { - "line": 270, - "column": 12 - }, - "end": { - "line": 270, - "column": 26 - } - } - }, - "arguments": [ - { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "createElm", - "range": [ - 7949, - 7958 - ], - "loc": { - "start": { - "line": 270, - "column": 27 - }, - "end": { - "line": 270, - "column": 36 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": "tr", - "raw": "'tr'", - "range": [ - 7959, - 7963 - ], - "loc": { - "start": { - "line": 270, - "column": 37 - }, - "end": { - "line": 270, - "column": 41 - } - } - } - ], - "range": [ - 7949, - 7964 - ], - "loc": { - "start": { - "line": 270, - "column": 27 - }, - "end": { - "line": 270, - "column": 42 - } - } - } - ], - "range": [ - 7934, - 7965 - ], - "loc": { - "start": { - "line": 270, - "column": 12 - }, - "end": { - "line": 270, - "column": 43 - } - } - }, - "range": [ - 7934, - 7966 - ], - "loc": { - "start": { - "line": 270, - "column": 12 - }, - "end": { - "line": 270, - "column": 44 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": " Handle table with no headers, assuming here headers do not", - "range": [ - 7839, - 7900 - ], - "loc": { - "start": { - "line": 268, - "column": 12 - }, - "end": { - "line": 268, - "column": 73 - } - } - }, - { - "type": "Line", - "value": " exist", - "range": [ - 7913, - 7921 - ], - "loc": { - "start": { - "line": 269, - "column": 12 - }, - "end": { - "line": 269, - "column": 20 - } - } - } - ] - } - ], - "range": [ - 7825, - 7976 - ], - "loc": { - "start": { - "line": 267, - "column": 15 - }, - "end": { - "line": 271, - "column": 9 + "line": 224, + "column": 30 } } }, "range": [ - 7613, - 7976 + 6321, + 6344 ], "loc": { "start": { - "line": 262, + "line": 224, "column": 8 }, "end": { - "line": 271, - "column": 9 + "line": 224, + "column": 31 } }, "leadingComments": [ @@ -16468,16 +10909,16 @@ "type": "Line", "value": "Headers row are moved from content table to headers table", "range": [ - 7545, - 7604 + 6253, + 6312 ], "loc": { "start": { - "line": 261, + "line": 223, "column": 8 }, "end": { - "line": 261, + "line": 223, "column": 67 } } @@ -16497,16 +10938,16 @@ "object": { "type": "ThisExpression", "range": [ - 7986, - 7990 + 6354, + 6358 ], "loc": { "start": { - "line": 273, + "line": 226, "column": 8 }, "end": { - "line": 273, + "line": 226, "column": 12 } } @@ -16515,31 +10956,31 @@ "type": "Identifier", "name": "headTbl", "range": [ - 7991, - 7998 + 6359, + 6366 ], "loc": { "start": { - "line": 273, + "line": 226, "column": 13 }, "end": { - "line": 273, + "line": 226, "column": 20 } } }, "range": [ - 7986, - 7998 + 6354, + 6366 ], "loc": { "start": { - "line": 273, + "line": 226, "column": 8 }, "end": { - "line": 273, + "line": 226, "column": 20 } } @@ -16548,31 +10989,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 7999, - 8010 + 6367, + 6378 ], "loc": { "start": { - "line": 273, + "line": 226, "column": 21 }, "end": { - "line": 273, + "line": 226, "column": 32 } } }, "range": [ - 7986, - 8010 + 6354, + 6378 ], "loc": { "start": { - "line": 273, + "line": 226, "column": 8 }, "end": { - "line": 273, + "line": 226, "column": 32 } } @@ -16582,47 +11023,47 @@ "type": "Identifier", "name": "tH", "range": [ - 8011, - 8013 + 6379, + 6381 ], "loc": { "start": { - "line": 273, + "line": 226, "column": 33 }, "end": { - "line": 273, + "line": 226, "column": 35 } } } ], "range": [ - 7986, - 8014 + 6354, + 6382 ], "loc": { "start": { - "line": 273, + "line": 226, "column": 8 }, "end": { - "line": 273, + "line": 226, "column": 36 } } }, "range": [ - 7986, - 8015 + 6354, + 6383 ], "loc": { "start": { - "line": 273, + "line": 226, "column": 8 }, "end": { - "line": 273, + "line": 226, "column": 37 } } @@ -16639,16 +11080,16 @@ "type": "Identifier", "name": "tf", "range": [ - 8028, - 8030 + 6396, + 6398 ], "loc": { "start": { - "line": 274, + "line": 227, "column": 12 }, "end": { - "line": 274, + "line": 227, "column": 14 } } @@ -16657,31 +11098,31 @@ "type": "Identifier", "name": "filtersRowIndex", "range": [ - 8031, - 8046 + 6399, + 6414 ], "loc": { "start": { - "line": 274, + "line": 227, "column": 15 }, "end": { - "line": 274, + "line": 227, "column": 30 } } }, "range": [ - 8028, - 8046 + 6396, + 6414 ], "loc": { "start": { - "line": 274, + "line": 227, "column": 12 }, "end": { - "line": 274, + "line": 227, "column": 30 } } @@ -16691,31 +11132,31 @@ "value": 0, "raw": "0", "range": [ - 8051, - 8052 + 6419, + 6420 ], "loc": { "start": { - "line": 274, + "line": 227, "column": 35 }, "end": { - "line": 274, + "line": 227, "column": 36 } } }, "range": [ - 8028, - 8052 + 6396, + 6420 ], "loc": { "start": { - "line": 274, + "line": 227, "column": 12 }, "end": { - "line": 274, + "line": 227, "column": 36 } } @@ -16734,16 +11175,16 @@ "type": "Identifier", "name": "tH", "range": [ - 8068, - 8070 + 6436, + 6438 ], "loc": { "start": { - "line": 275, + "line": 228, "column": 12 }, "end": { - "line": 275, + "line": 228, "column": 14 } } @@ -16752,31 +11193,31 @@ "type": "Identifier", "name": "insertBefore", "range": [ - 8071, - 8083 + 6439, + 6451 ], "loc": { "start": { - "line": 275, + "line": 228, "column": 15 }, "end": { - "line": 275, + "line": 228, "column": 27 } } }, "range": [ - 8068, - 8083 + 6436, + 6451 ], "loc": { "start": { - "line": 275, + "line": 228, "column": 12 }, "end": { - "line": 275, + "line": 228, "column": 27 } } @@ -16786,16 +11227,16 @@ "type": "Identifier", "name": "filtersRow", "range": [ - 8084, - 8094 + 6452, + 6462 ], "loc": { "start": { - "line": 275, + "line": 228, "column": 28 }, "end": { - "line": 275, + "line": 228, "column": 38 } } @@ -16804,63 +11245,63 @@ "type": "Identifier", "name": "hRow", "range": [ - 8096, - 8100 + 6464, + 6468 ], "loc": { "start": { - "line": 275, + "line": 228, "column": 40 }, "end": { - "line": 275, + "line": 228, "column": 44 } } } ], "range": [ - 8068, - 8101 + 6436, + 6469 ], "loc": { "start": { - "line": 275, + "line": 228, "column": 12 }, "end": { - "line": 275, + "line": 228, "column": 45 } } }, "range": [ - 8068, - 8102 + 6436, + 6470 ], "loc": { "start": { - "line": 275, + "line": 228, "column": 12 }, "end": { - "line": 275, + "line": 228, "column": 46 } } } ], "range": [ - 8054, - 8112 + 6422, + 6480 ], "loc": { "start": { - "line": 274, + "line": 227, "column": 38 }, "end": { - "line": 276, + "line": 229, "column": 9 } } @@ -16879,16 +11320,16 @@ "type": "Identifier", "name": "tH", "range": [ - 8132, - 8134 + 6500, + 6502 ], "loc": { "start": { - "line": 277, + "line": 230, "column": 12 }, "end": { - "line": 277, + "line": 230, "column": 14 } } @@ -16897,31 +11338,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 8135, - 8146 + 6503, + 6514 ], "loc": { "start": { - "line": 277, + "line": 230, "column": 15 }, "end": { - "line": 277, + "line": 230, "column": 26 } } }, "range": [ - 8132, - 8146 + 6500, + 6514 ], "loc": { "start": { - "line": 277, + "line": 230, "column": 12 }, "end": { - "line": 277, + "line": 230, "column": 26 } } @@ -16931,78 +11372,78 @@ "type": "Identifier", "name": "filtersRow", "range": [ - 8147, - 8157 + 6515, + 6525 ], "loc": { "start": { - "line": 277, + "line": 230, "column": 27 }, "end": { - "line": 277, + "line": 230, "column": 37 } } } ], "range": [ - 8132, - 8158 + 6500, + 6526 ], "loc": { "start": { - "line": 277, + "line": 230, "column": 12 }, "end": { - "line": 277, + "line": 230, "column": 38 } } }, "range": [ - 8132, - 8159 + 6500, + 6527 ], "loc": { "start": { - "line": 277, + "line": 230, "column": 12 }, "end": { - "line": 277, + "line": 230, "column": 39 } } } ], "range": [ - 8118, - 8169 + 6486, + 6537 ], "loc": { "start": { - "line": 276, + "line": 229, "column": 15 }, "end": { - "line": 278, + "line": 231, "column": 9 } } }, "range": [ - 8024, - 8169 + 6392, + 6537 ], "loc": { "start": { - "line": 274, + "line": 227, "column": 8 }, "end": { - "line": 278, + "line": 231, "column": 9 } } @@ -17020,16 +11461,16 @@ "object": { "type": "ThisExpression", "range": [ - 8179, - 8183 + 6547, + 6551 ], "loc": { "start": { - "line": 280, + "line": 233, "column": 8 }, "end": { - "line": 280, + "line": 233, "column": 12 } } @@ -17038,31 +11479,31 @@ "type": "Identifier", "name": "headTblCont", "range": [ - 8184, - 8195 + 6552, + 6563 ], "loc": { "start": { - "line": 280, + "line": 233, "column": 13 }, "end": { - "line": 280, + "line": 233, "column": 24 } } }, "range": [ - 8179, - 8195 + 6547, + 6563 ], "loc": { "start": { - "line": 280, + "line": 233, "column": 8 }, "end": { - "line": 280, + "line": 233, "column": 24 } } @@ -17071,31 +11512,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 8196, - 8207 + 6564, + 6575 ], "loc": { "start": { - "line": 280, + "line": 233, "column": 25 }, "end": { - "line": 280, + "line": 233, "column": 36 } } }, "range": [ - 8179, - 8207 + 6547, + 6575 ], "loc": { "start": { - "line": 280, + "line": 233, "column": 8 }, "end": { - "line": 280, + "line": 233, "column": 36 } } @@ -17107,16 +11548,16 @@ "object": { "type": "ThisExpression", "range": [ - 8208, - 8212 + 6576, + 6580 ], "loc": { "start": { - "line": 280, + "line": 233, "column": 37 }, "end": { - "line": 280, + "line": 233, "column": 41 } } @@ -17125,62 +11566,62 @@ "type": "Identifier", "name": "headTbl", "range": [ - 8213, - 8220 + 6581, + 6588 ], "loc": { "start": { - "line": 280, + "line": 233, "column": 42 }, "end": { - "line": 280, + "line": 233, "column": 49 } } }, "range": [ - 8208, - 8220 + 6576, + 6588 ], "loc": { "start": { - "line": 280, + "line": 233, "column": 37 }, "end": { - "line": 280, + "line": 233, "column": 49 } } } ], "range": [ - 8179, - 8221 + 6547, + 6589 ], "loc": { "start": { - "line": 280, + "line": 233, "column": 8 }, "end": { - "line": 280, + "line": 233, "column": 50 } } }, "range": [ - 8179, - 8222 + 6547, + 6590 ], "loc": { "start": { - "line": 280, + "line": 233, "column": 8 }, "end": { - "line": 280, + "line": 233, "column": 51 } } @@ -17201,16 +11642,16 @@ "object": { "type": "ThisExpression", "range": [ - 8231, - 8235 + 6599, + 6603 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 8 }, "end": { - "line": 281, + "line": 234, "column": 12 } } @@ -17219,31 +11660,31 @@ "type": "Identifier", "name": "tblCont", "range": [ - 8236, - 8243 + 6604, + 6611 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 13 }, "end": { - "line": 281, + "line": 234, "column": 20 } } }, "range": [ - 8231, - 8243 + 6599, + 6611 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 8 }, "end": { - "line": 281, + "line": 234, "column": 20 } } @@ -17252,31 +11693,31 @@ "type": "Identifier", "name": "parentNode", "range": [ - 8244, - 8254 + 6612, + 6622 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 21 }, "end": { - "line": 281, + "line": 234, "column": 31 } } }, "range": [ - 8231, - 8254 + 6599, + 6622 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 8 }, "end": { - "line": 281, + "line": 234, "column": 31 } } @@ -17285,31 +11726,31 @@ "type": "Identifier", "name": "insertBefore", "range": [ - 8255, - 8267 + 6623, + 6635 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 32 }, "end": { - "line": 281, + "line": 234, "column": 44 } } }, "range": [ - 8231, - 8267 + 6599, + 6635 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 8 }, "end": { - "line": 281, + "line": 234, "column": 44 } } @@ -17321,16 +11762,16 @@ "object": { "type": "ThisExpression", "range": [ - 8268, - 8272 + 6636, + 6640 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 45 }, "end": { - "line": 281, + "line": 234, "column": 49 } } @@ -17339,31 +11780,31 @@ "type": "Identifier", "name": "headTblCont", "range": [ - 8273, - 8284 + 6641, + 6652 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 50 }, "end": { - "line": 281, + "line": 234, "column": 61 } } }, "range": [ - 8268, - 8284 + 6636, + 6652 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 45 }, "end": { - "line": 281, + "line": 234, "column": 61 } } @@ -17374,16 +11815,16 @@ "object": { "type": "ThisExpression", "range": [ - 8286, - 8290 + 6654, + 6658 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 63 }, "end": { - "line": 281, + "line": 234, "column": 67 } } @@ -17392,62 +11833,62 @@ "type": "Identifier", "name": "tblCont", "range": [ - 8291, - 8298 + 6659, + 6666 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 68 }, "end": { - "line": 281, + "line": 234, "column": 75 } } }, "range": [ - 8286, - 8298 + 6654, + 6666 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 63 }, "end": { - "line": 281, + "line": 234, "column": 75 } } } ], "range": [ - 8231, - 8299 + 6599, + 6667 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 8 }, "end": { - "line": 281, + "line": 234, "column": 76 } } }, "range": [ - 8231, - 8300 + 6599, + 6668 ], "loc": { "start": { - "line": 281, + "line": 234, "column": 8 }, "end": { - "line": 281, + "line": 234, "column": 77 } }, @@ -17456,16 +11897,16 @@ "type": "Line", "value": "THead needs to be removed in content table for sort feature", "range": [ - 8310, - 8371 + 6678, + 6739 ], "loc": { "start": { - "line": 283, + "line": 236, "column": 8 }, "end": { - "line": 283, + "line": 236, "column": 69 } } @@ -17481,16 +11922,16 @@ "type": "Identifier", "name": "thead", "range": [ - 8384, - 8389 + 6752, + 6757 ], "loc": { "start": { - "line": 284, + "line": 237, "column": 12 }, "end": { - "line": 284, + "line": 237, "column": 17 } } @@ -17501,16 +11942,16 @@ "type": "Identifier", "name": "tag", "range": [ - 8392, - 8395 + 6760, + 6763 ], "loc": { "start": { - "line": 284, + "line": 237, "column": 20 }, "end": { - "line": 284, + "line": 237, "column": 23 } } @@ -17520,16 +11961,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 8396, - 8399 + 6764, + 6767 ], "loc": { "start": { - "line": 284, + "line": 237, "column": 24 }, "end": { - "line": 284, + "line": 237, "column": 27 } } @@ -17539,47 +11980,47 @@ "value": "thead", "raw": "'thead'", "range": [ - 8401, - 8408 + 6769, + 6776 ], "loc": { "start": { - "line": 284, + "line": 237, "column": 29 }, "end": { - "line": 284, + "line": 237, "column": 36 } } } ], "range": [ - 8392, - 8409 + 6760, + 6777 ], "loc": { "start": { - "line": 284, + "line": 237, "column": 20 }, "end": { - "line": 284, + "line": 237, "column": 37 } } }, "range": [ - 8384, - 8409 + 6752, + 6777 ], "loc": { "start": { - "line": 284, + "line": 237, "column": 12 }, "end": { - "line": 284, + "line": 237, "column": 37 } } @@ -17587,16 +12028,16 @@ ], "kind": "let", "range": [ - 8380, - 8410 + 6748, + 6778 ], "loc": { "start": { - "line": 284, + "line": 237, "column": 8 }, "end": { - "line": 284, + "line": 237, "column": 38 } }, @@ -17605,16 +12046,16 @@ "type": "Line", "value": "THead needs to be removed in content table for sort feature", "range": [ - 8310, - 8371 + 6678, + 6739 ], "loc": { "start": { - "line": 283, + "line": 236, "column": 8 }, "end": { - "line": 283, + "line": 236, "column": 69 } } @@ -17633,16 +12074,16 @@ "type": "Identifier", "name": "thead", "range": [ - 8423, - 8428 + 6791, + 6796 ], "loc": { "start": { - "line": 285, + "line": 238, "column": 12 }, "end": { - "line": 285, + "line": 238, "column": 17 } } @@ -17651,31 +12092,31 @@ "type": "Identifier", "name": "length", "range": [ - 8429, - 8435 + 6797, + 6803 ], "loc": { "start": { - "line": 285, + "line": 238, "column": 18 }, "end": { - "line": 285, + "line": 238, "column": 24 } } }, "range": [ - 8423, - 8435 + 6791, + 6803 ], "loc": { "start": { - "line": 285, + "line": 238, "column": 12 }, "end": { - "line": 285, + "line": 238, "column": 24 } } @@ -17685,31 +12126,31 @@ "value": 0, "raw": "0", "range": [ - 8438, - 8439 + 6806, + 6807 ], "loc": { "start": { - "line": 285, + "line": 238, "column": 27 }, "end": { - "line": 285, + "line": 238, "column": 28 } } }, "range": [ - 8423, - 8439 + 6791, + 6807 ], "loc": { "start": { - "line": 285, + "line": 238, "column": 12 }, "end": { - "line": 285, + "line": 238, "column": 28 } } @@ -17728,16 +12169,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 8455, - 8458 + 6823, + 6826 ], "loc": { "start": { - "line": 286, + "line": 239, "column": 12 }, "end": { - "line": 286, + "line": 239, "column": 15 } } @@ -17746,31 +12187,31 @@ "type": "Identifier", "name": "removeChild", "range": [ - 8459, - 8470 + 6827, + 6838 ], "loc": { "start": { - "line": 286, + "line": 239, "column": 16 }, "end": { - "line": 286, + "line": 239, "column": 27 } } }, "range": [ - 8455, - 8470 + 6823, + 6838 ], "loc": { "start": { - "line": 286, + "line": 239, "column": 12 }, "end": { - "line": 286, + "line": 239, "column": 27 } } @@ -17783,16 +12224,16 @@ "type": "Identifier", "name": "thead", "range": [ - 8471, - 8476 + 6839, + 6844 ], "loc": { "start": { - "line": 286, + "line": 239, "column": 28 }, "end": { - "line": 286, + "line": 239, "column": 33 } } @@ -17802,94 +12243,94 @@ "value": 0, "raw": "0", "range": [ - 8477, - 8478 + 6845, + 6846 ], "loc": { "start": { - "line": 286, + "line": 239, "column": 34 }, "end": { - "line": 286, + "line": 239, "column": 35 } } }, "range": [ - 8471, - 8479 + 6839, + 6847 ], "loc": { "start": { - "line": 286, + "line": 239, "column": 28 }, "end": { - "line": 286, + "line": 239, "column": 36 } } } ], "range": [ - 8455, - 8480 + 6823, + 6848 ], "loc": { "start": { - "line": 286, + "line": 239, "column": 12 }, "end": { - "line": 286, + "line": 239, "column": 37 } } }, "range": [ - 8455, - 8481 + 6823, + 6849 ], "loc": { "start": { - "line": 286, + "line": 239, "column": 12 }, "end": { - "line": 286, + "line": 239, "column": 38 } } } ], "range": [ - 8441, - 8491 + 6809, + 6859 ], "loc": { "start": { - "line": 285, + "line": 238, "column": 30 }, "end": { - "line": 287, + "line": 240, "column": 9 } } }, "alternate": null, "range": [ - 8419, - 8491 + 6787, + 6859 ], "loc": { "start": { - "line": 285, + "line": 238, "column": 8 }, "end": { - "line": 287, + "line": 240, "column": 9 } }, @@ -17898,16 +12339,16 @@ "type": "Line", "value": "Headers table style", "range": [ - 8501, - 8522 + 6869, + 6890 ], "loc": { "start": { - "line": 289, + "line": 242, "column": 8 }, "end": { - "line": 289, + "line": 242, "column": 29 } } @@ -17931,16 +12372,16 @@ "object": { "type": "ThisExpression", "range": [ - 8531, - 8535 + 6899, + 6903 ], "loc": { "start": { - "line": 290, + "line": 243, "column": 8 }, "end": { - "line": 290, + "line": 243, "column": 12 } } @@ -17949,31 +12390,31 @@ "type": "Identifier", "name": "headTbl", "range": [ - 8536, - 8543 + 6904, + 6911 ], "loc": { "start": { - "line": 290, + "line": 243, "column": 13 }, "end": { - "line": 290, + "line": 243, "column": 20 } } }, "range": [ - 8531, - 8543 + 6899, + 6911 ], "loc": { "start": { - "line": 290, + "line": 243, "column": 8 }, "end": { - "line": 290, + "line": 243, "column": 20 } } @@ -17982,31 +12423,31 @@ "type": "Identifier", "name": "style", "range": [ - 8544, - 8549 + 6912, + 6917 ], "loc": { "start": { - "line": 290, + "line": 243, "column": 21 }, "end": { - "line": 290, + "line": 243, "column": 26 } } }, "range": [ - 8531, - 8549 + 6899, + 6917 ], "loc": { "start": { - "line": 290, + "line": 243, "column": 8 }, "end": { - "line": 290, + "line": 243, "column": 26 } } @@ -18015,31 +12456,31 @@ "type": "Identifier", "name": "tableLayout", "range": [ - 8550, - 8561 + 6918, + 6929 ], "loc": { "start": { - "line": 290, + "line": 243, "column": 27 }, "end": { - "line": 290, + "line": 243, "column": 38 } } }, "range": [ - 8531, - 8561 + 6899, + 6929 ], "loc": { "start": { - "line": 290, + "line": 243, "column": 8 }, "end": { - "line": 290, + "line": 243, "column": 38 } } @@ -18049,46 +12490,46 @@ "value": "fixed", "raw": "'fixed'", "range": [ - 8564, - 8571 + 6932, + 6939 ], "loc": { "start": { - "line": 290, + "line": 243, "column": 41 }, "end": { - "line": 290, + "line": 243, "column": 48 } } }, "range": [ - 8531, - 8571 + 6899, + 6939 ], "loc": { "start": { - "line": 290, + "line": 243, "column": 8 }, "end": { - "line": 290, + "line": 243, "column": 48 } } }, "range": [ - 8531, - 8572 + 6899, + 6940 ], "loc": { "start": { - "line": 290, + "line": 243, "column": 8 }, "end": { - "line": 290, + "line": 243, "column": 49 } }, @@ -18097,16 +12538,16 @@ "type": "Line", "value": "Headers table style", "range": [ - 8501, - 8522 + 6869, + 6890 ], "loc": { "start": { - "line": 289, + "line": 242, "column": 8 }, "end": { - "line": 289, + "line": 242, "column": 29 } } @@ -18128,16 +12569,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 8581, - 8584 + 6949, + 6952 ], "loc": { "start": { - "line": 291, + "line": 244, "column": 8 }, "end": { - "line": 291, + "line": 244, "column": 11 } } @@ -18146,31 +12587,31 @@ "type": "Identifier", "name": "style", "range": [ - 8585, - 8590 + 6953, + 6958 ], "loc": { "start": { - "line": 291, + "line": 244, "column": 12 }, "end": { - "line": 291, + "line": 244, "column": 17 } } }, "range": [ - 8581, - 8590 + 6949, + 6958 ], "loc": { "start": { - "line": 291, + "line": 244, "column": 8 }, "end": { - "line": 291, + "line": 244, "column": 17 } } @@ -18179,31 +12620,31 @@ "type": "Identifier", "name": "tableLayout", "range": [ - 8591, - 8602 + 6959, + 6970 ], "loc": { "start": { - "line": 291, + "line": 244, "column": 18 }, "end": { - "line": 291, + "line": 244, "column": 29 } } }, "range": [ - 8581, - 8602 + 6949, + 6970 ], "loc": { "start": { - "line": 291, + "line": 244, "column": 8 }, "end": { - "line": 291, + "line": 244, "column": 29 } } @@ -18213,46 +12654,46 @@ "value": "fixed", "raw": "'fixed'", "range": [ - 8605, - 8612 + 6973, + 6980 ], "loc": { "start": { - "line": 291, + "line": 244, "column": 32 }, "end": { - "line": 291, + "line": 244, "column": 39 } } }, "range": [ - 8581, - 8612 + 6949, + 6980 ], "loc": { "start": { - "line": 291, + "line": 244, "column": 8 }, "end": { - "line": 291, + "line": 244, "column": 39 } } }, "range": [ - 8581, - 8613 + 6949, + 6981 ], "loc": { "start": { - "line": 291, + "line": 244, "column": 8 }, "end": { - "line": 291, + "line": 244, "column": 40 } } @@ -18271,16 +12712,16 @@ "object": { "type": "ThisExpression", "range": [ - 8622, - 8626 + 6990, + 6994 ], "loc": { "start": { - "line": 292, + "line": 245, "column": 8 }, "end": { - "line": 292, + "line": 245, "column": 12 } } @@ -18289,31 +12730,31 @@ "type": "Identifier", "name": "headTbl", "range": [ - 8627, - 8634 + 6995, + 7002 ], "loc": { "start": { - "line": 292, + "line": 245, "column": 13 }, "end": { - "line": 292, + "line": 245, "column": 20 } } }, "range": [ - 8622, - 8634 + 6990, + 7002 ], "loc": { "start": { - "line": 292, + "line": 245, "column": 8 }, "end": { - "line": 292, + "line": 245, "column": 20 } } @@ -18322,31 +12763,31 @@ "type": "Identifier", "name": "cellPadding", "range": [ - 8635, - 8646 + 7003, + 7014 ], "loc": { "start": { - "line": 292, + "line": 245, "column": 21 }, "end": { - "line": 292, + "line": 245, "column": 32 } } }, "range": [ - 8622, - 8646 + 6990, + 7014 ], "loc": { "start": { - "line": 292, + "line": 245, "column": 8 }, "end": { - "line": 292, + "line": 245, "column": 32 } } @@ -18358,16 +12799,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 8649, - 8652 + 7017, + 7020 ], "loc": { "start": { - "line": 292, + "line": 245, "column": 35 }, "end": { - "line": 292, + "line": 245, "column": 38 } } @@ -18376,61 +12817,61 @@ "type": "Identifier", "name": "cellPadding", "range": [ - 8653, - 8664 + 7021, + 7032 ], "loc": { "start": { - "line": 292, + "line": 245, "column": 39 }, "end": { - "line": 292, + "line": 245, "column": 50 } } }, "range": [ - 8649, - 8664 + 7017, + 7032 ], "loc": { "start": { - "line": 292, + "line": 245, "column": 35 }, "end": { - "line": 292, + "line": 245, "column": 50 } } }, "range": [ - 8622, - 8664 + 6990, + 7032 ], "loc": { "start": { - "line": 292, + "line": 245, "column": 8 }, "end": { - "line": 292, + "line": 245, "column": 50 } } }, "range": [ - 8622, - 8665 + 6990, + 7033 ], "loc": { "start": { - "line": 292, + "line": 245, "column": 8 }, "end": { - "line": 292, + "line": 245, "column": 51 } } @@ -18449,16 +12890,16 @@ "object": { "type": "ThisExpression", "range": [ - 8674, - 8678 + 7042, + 7046 ], "loc": { "start": { - "line": 293, + "line": 246, "column": 8 }, "end": { - "line": 293, + "line": 246, "column": 12 } } @@ -18467,31 +12908,31 @@ "type": "Identifier", "name": "headTbl", "range": [ - 8679, - 8686 + 7047, + 7054 ], "loc": { "start": { - "line": 293, + "line": 246, "column": 13 }, "end": { - "line": 293, + "line": 246, "column": 20 } } }, "range": [ - 8674, - 8686 + 7042, + 7054 ], "loc": { "start": { - "line": 293, + "line": 246, "column": 8 }, "end": { - "line": 293, + "line": 246, "column": 20 } } @@ -18500,31 +12941,31 @@ "type": "Identifier", "name": "cellSpacing", "range": [ - 8687, - 8698 + 7055, + 7066 ], "loc": { "start": { - "line": 293, + "line": 246, "column": 21 }, "end": { - "line": 293, + "line": 246, "column": 32 } } }, "range": [ - 8674, - 8698 + 7042, + 7066 ], "loc": { "start": { - "line": 293, + "line": 246, "column": 8 }, "end": { - "line": 293, + "line": 246, "column": 32 } } @@ -18536,16 +12977,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 8701, - 8704 + 7069, + 7072 ], "loc": { "start": { - "line": 293, + "line": 246, "column": 35 }, "end": { - "line": 293, + "line": 246, "column": 38 } } @@ -18554,61 +12995,61 @@ "type": "Identifier", "name": "cellSpacing", "range": [ - 8705, - 8716 + 7073, + 7084 ], "loc": { "start": { - "line": 293, + "line": 246, "column": 39 }, "end": { - "line": 293, + "line": 246, "column": 50 } } }, "range": [ - 8701, - 8716 + 7069, + 7084 ], "loc": { "start": { - "line": 293, + "line": 246, "column": 35 }, "end": { - "line": 293, + "line": 246, "column": 50 } } }, "range": [ - 8674, - 8716 + 7042, + 7084 ], "loc": { "start": { - "line": 293, + "line": 246, "column": 8 }, "end": { - "line": 293, + "line": 246, "column": 50 } } }, "range": [ - 8674, - 8717 + 7042, + 7085 ], "loc": { "start": { - "line": 293, + "line": 246, "column": 8 }, "end": { - "line": 293, + "line": 246, "column": 51 } }, @@ -18617,16 +13058,16 @@ "type": "Line", "value": " this.headTbl.style.width = tbl.style.width;", "range": [ - 8726, - 8772 + 7094, + 7140 ], "loc": { "start": { - "line": 294, + "line": 247, "column": 8 }, "end": { - "line": 294, + "line": 247, "column": 54 } } @@ -18635,16 +13076,16 @@ "type": "Line", "value": "content table without headers needs col widths to be reset", "range": [ - 8782, - 8842 + 7150, + 7210 ], "loc": { "start": { - "line": 296, + "line": 249, "column": 8 }, "end": { - "line": 296, + "line": 249, "column": 68 } } @@ -18662,16 +13103,16 @@ "type": "Identifier", "name": "tf", "range": [ - 8851, - 8853 + 7219, + 7221 ], "loc": { "start": { - "line": 297, + "line": 250, "column": 8 }, "end": { - "line": 297, + "line": 250, "column": 10 } } @@ -18680,31 +13121,31 @@ "type": "Identifier", "name": "setColWidths", "range": [ - 8854, - 8866 + 7222, + 7234 ], "loc": { "start": { - "line": 297, + "line": 250, "column": 11 }, "end": { - "line": 297, + "line": 250, "column": 23 } } }, "range": [ - 8851, - 8866 + 7219, + 7234 ], "loc": { "start": { - "line": 297, + "line": 250, "column": 8 }, "end": { - "line": 297, + "line": 250, "column": 23 } } @@ -18716,16 +13157,16 @@ "object": { "type": "ThisExpression", "range": [ - 8867, - 8871 + 7235, + 7239 ], "loc": { "start": { - "line": 297, + "line": 250, "column": 24 }, "end": { - "line": 297, + "line": 250, "column": 28 } } @@ -18734,62 +13175,62 @@ "type": "Identifier", "name": "headTbl", "range": [ - 8872, - 8879 + 7240, + 7247 ], "loc": { "start": { - "line": 297, + "line": 250, "column": 29 }, "end": { - "line": 297, + "line": 250, "column": 36 } } }, "range": [ - 8867, - 8879 + 7235, + 7247 ], "loc": { "start": { - "line": 297, + "line": 250, "column": 24 }, "end": { - "line": 297, + "line": 250, "column": 36 } } } ], "range": [ - 8851, - 8880 + 7219, + 7248 ], "loc": { "start": { - "line": 297, + "line": 250, "column": 8 }, "end": { - "line": 297, + "line": 250, "column": 37 } } }, "range": [ - 8851, - 8881 + 7219, + 7249 ], "loc": { "start": { - "line": 297, + "line": 250, "column": 8 }, "end": { - "line": 297, + "line": 250, "column": 38 } }, @@ -18798,16 +13239,16 @@ "type": "Line", "value": " this.headTbl.style.width = tbl.style.width;", "range": [ - 8726, - 8772 + 7094, + 7140 ], "loc": { "start": { - "line": 294, + "line": 247, "column": 8 }, "end": { - "line": 294, + "line": 247, "column": 54 } } @@ -18816,16 +13257,16 @@ "type": "Line", "value": "content table without headers needs col widths to be reset", "range": [ - 8782, - 8842 + 7150, + 7210 ], "loc": { "start": { - "line": 296, + "line": 249, "column": 8 }, "end": { - "line": 296, + "line": 249, "column": 68 } } @@ -18836,16 +13277,16 @@ "type": "Line", "value": "Headers container width", "range": [ - 8891, - 8916 + 7259, + 7284 ], "loc": { "start": { - "line": 299, + "line": 252, "column": 8 }, "end": { - "line": 299, + "line": 252, "column": 33 } } @@ -18854,16 +13295,16 @@ "type": "Line", "value": " this.headTblCont.style.width = this.tblCont.clientWidth+'px';", "range": [ - 8925, - 8989 + 7293, + 7357 ], "loc": { "start": { - "line": 300, + "line": 253, "column": 8 }, "end": { - "line": 300, + "line": 253, "column": 72 } } @@ -18885,16 +13326,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 8999, - 9002 + 7367, + 7370 ], "loc": { "start": { - "line": 302, + "line": 255, "column": 8 }, "end": { - "line": 302, + "line": 255, "column": 11 } } @@ -18903,31 +13344,31 @@ "type": "Identifier", "name": "style", "range": [ - 9003, - 9008 + 7371, + 7376 ], "loc": { "start": { - "line": 302, + "line": 255, "column": 12 }, "end": { - "line": 302, + "line": 255, "column": 17 } } }, "range": [ - 8999, - 9008 + 7367, + 7376 ], "loc": { "start": { - "line": 302, + "line": 255, "column": 8 }, "end": { - "line": 302, + "line": 255, "column": 17 } } @@ -18936,31 +13377,31 @@ "type": "Identifier", "name": "width", "range": [ - 9009, - 9014 + 7377, + 7382 ], "loc": { "start": { - "line": 302, + "line": 255, "column": 18 }, "end": { - "line": 302, + "line": 255, "column": 23 } } }, "range": [ - 8999, - 9014 + 7367, + 7382 ], "loc": { "start": { - "line": 302, + "line": 255, "column": 8 }, "end": { - "line": 302, + "line": 255, "column": 23 } } @@ -18970,46 +13411,46 @@ "value": "", "raw": "''", "range": [ - 9017, - 9019 + 7385, + 7387 ], "loc": { "start": { - "line": 302, + "line": 255, "column": 26 }, "end": { - "line": 302, + "line": 255, "column": 28 } } }, "range": [ - 8999, - 9019 + 7367, + 7387 ], "loc": { "start": { - "line": 302, + "line": 255, "column": 8 }, "end": { - "line": 302, + "line": 255, "column": 28 } } }, "range": [ - 8999, - 9020 + 7367, + 7388 ], "loc": { "start": { - "line": 302, + "line": 255, "column": 8 }, "end": { - "line": 302, + "line": 255, "column": 29 } }, @@ -19018,16 +13459,16 @@ "type": "Line", "value": "Headers container width", "range": [ - 8891, - 8916 + 7259, + 7284 ], "loc": { "start": { - "line": 299, + "line": 252, "column": 8 }, "end": { - "line": 299, + "line": 252, "column": 33 } } @@ -19036,16 +13477,16 @@ "type": "Line", "value": " this.headTblCont.style.width = this.tblCont.clientWidth+'px';", "range": [ - 8925, - 8989 + 7293, + 7357 ], "loc": { "start": { - "line": 300, + "line": 253, "column": 8 }, "end": { - "line": 300, + "line": 253, "column": 72 } } @@ -19056,16 +13497,16 @@ "type": "Line", "value": "", "range": [ - 9029, - 9031 + 7397, + 7399 ], "loc": { "start": { - "line": 303, + "line": 256, "column": 8 }, "end": { - "line": 303, + "line": 256, "column": 10 } } @@ -19089,16 +13530,16 @@ "object": { "type": "ThisExpression", "range": [ - 9040, - 9044 + 7408, + 7412 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 8 }, "end": { - "line": 304, + "line": 257, "column": 12 } } @@ -19107,31 +13548,31 @@ "type": "Identifier", "name": "headTbl", "range": [ - 9045, - 9052 + 7413, + 7420 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 13 }, "end": { - "line": 304, + "line": 257, "column": 20 } } }, "range": [ - 9040, - 9052 + 7408, + 7420 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 8 }, "end": { - "line": 304, + "line": 257, "column": 20 } } @@ -19140,31 +13581,31 @@ "type": "Identifier", "name": "style", "range": [ - 9053, - 9058 + 7421, + 7426 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 21 }, "end": { - "line": 304, + "line": 257, "column": 26 } } }, "range": [ - 9040, - 9058 + 7408, + 7426 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 8 }, "end": { - "line": 304, + "line": 257, "column": 26 } } @@ -19173,31 +13614,31 @@ "type": "Identifier", "name": "width", "range": [ - 9059, - 9064 + 7427, + 7432 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 27 }, "end": { - "line": 304, + "line": 257, "column": 32 } } }, "range": [ - 9040, - 9064 + 7408, + 7432 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 8 }, "end": { - "line": 304, + "line": 257, "column": 32 } } @@ -19212,16 +13653,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 9067, - 9070 + 7435, + 7438 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 35 }, "end": { - "line": 304, + "line": 257, "column": 38 } } @@ -19230,31 +13671,31 @@ "type": "Identifier", "name": "clientWidth", "range": [ - 9071, - 9082 + 7439, + 7450 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 39 }, "end": { - "line": 304, + "line": 257, "column": 50 } } }, "range": [ - 9067, - 9082 + 7435, + 7450 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 35 }, "end": { - "line": 304, + "line": 257, "column": 50 } } @@ -19264,61 +13705,61 @@ "value": "px", "raw": "'px'", "range": [ - 9085, - 9089 + 7453, + 7457 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 53 }, "end": { - "line": 304, + "line": 257, "column": 57 } } }, "range": [ - 9067, - 9089 + 7435, + 7457 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 35 }, "end": { - "line": 304, + "line": 257, "column": 57 } } }, "range": [ - 9040, - 9089 + 7408, + 7457 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 8 }, "end": { - "line": 304, + "line": 257, "column": 57 } } }, "range": [ - 9040, - 9090 + 7408, + 7458 ], "loc": { "start": { - "line": 304, + "line": 257, "column": 8 }, "end": { - "line": 304, + "line": 257, "column": 58 } }, @@ -19327,16 +13768,16 @@ "type": "Line", "value": "", "range": [ - 9029, - 9031 + 7397, + 7399 ], "loc": { "start": { - "line": 303, + "line": 256, "column": 8 }, "end": { - "line": 303, + "line": 256, "column": 10 } } @@ -19347,16 +13788,16 @@ "type": "Line", "value": "", "range": [ - 9099, - 9101 + 7467, + 7469 ], "loc": { "start": { - "line": 305, + "line": 258, "column": 8 }, "end": { - "line": 305, + "line": 258, "column": 10 } } @@ -19365,16 +13806,16 @@ "type": "Line", "value": "scroll synchronisation", "range": [ - 9111, - 9135 + 7479, + 7503 ], "loc": { "start": { - "line": 307, + "line": 260, "column": 8 }, "end": { - "line": 307, + "line": 260, "column": 32 } } @@ -19389,16 +13830,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 9144, - 9150 + 7512, + 7518 ], "loc": { "start": { - "line": 308, + "line": 261, "column": 8 }, "end": { - "line": 308, + "line": 261, "column": 14 } } @@ -19410,16 +13851,16 @@ "object": { "type": "ThisExpression", "range": [ - 9151, - 9155 + 7519, + 7523 ], "loc": { "start": { - "line": 308, + "line": 261, "column": 15 }, "end": { - "line": 308, + "line": 261, "column": 19 } } @@ -19428,31 +13869,31 @@ "type": "Identifier", "name": "tblCont", "range": [ - 9156, - 9163 + 7524, + 7531 ], "loc": { "start": { - "line": 308, + "line": 261, "column": 20 }, "end": { - "line": 308, + "line": 261, "column": 27 } } }, "range": [ - 9151, - 9163 + 7519, + 7531 ], "loc": { "start": { - "line": 308, + "line": 261, "column": 15 }, "end": { - "line": 308, + "line": 261, "column": 27 } } @@ -19462,16 +13903,16 @@ "value": "scroll", "raw": "'scroll'", "range": [ - 9165, - 9173 + 7533, + 7541 ], "loc": { "start": { - "line": 308, + "line": 261, "column": 29 }, "end": { - "line": 308, + "line": 261, "column": 37 } } @@ -19484,16 +13925,16 @@ "type": "Identifier", "name": "evt", "range": [ - 9176, - 9179 + 7544, + 7547 ], "loc": { "start": { - "line": 308, + "line": 261, "column": 40 }, "end": { - "line": 308, + "line": 261, "column": 43 } } @@ -19511,16 +13952,16 @@ "type": "Identifier", "name": "elm", "range": [ - 9202, - 9205 + 7570, + 7573 ], "loc": { "start": { - "line": 309, + "line": 262, "column": 16 }, "end": { - "line": 309, + "line": 262, "column": 19 } } @@ -19531,16 +13972,16 @@ "type": "Identifier", "name": "targetEvt", "range": [ - 9208, - 9217 + 7576, + 7585 ], "loc": { "start": { - "line": 309, + "line": 262, "column": 22 }, "end": { - "line": 309, + "line": 262, "column": 31 } } @@ -19550,47 +13991,47 @@ "type": "Identifier", "name": "evt", "range": [ - 9218, - 9221 + 7586, + 7589 ], "loc": { "start": { - "line": 309, + "line": 262, "column": 32 }, "end": { - "line": 309, + "line": 262, "column": 35 } } } ], "range": [ - 9208, - 9222 + 7576, + 7590 ], "loc": { "start": { - "line": 309, + "line": 262, "column": 22 }, "end": { - "line": 309, + "line": 262, "column": 36 } } }, "range": [ - 9202, - 9222 + 7570, + 7590 ], "loc": { "start": { - "line": 309, + "line": 262, "column": 16 }, "end": { - "line": 309, + "line": 262, "column": 36 } } @@ -19598,16 +14039,16 @@ ], "kind": "let", "range": [ - 9198, - 9223 + 7566, + 7591 ], "loc": { "start": { - "line": 309, + "line": 262, "column": 12 }, "end": { - "line": 309, + "line": 262, "column": 37 } } @@ -19621,16 +14062,16 @@ "type": "Identifier", "name": "scrollLeft", "range": [ - 9240, - 9250 + 7608, + 7618 ], "loc": { "start": { - "line": 310, + "line": 263, "column": 16 }, "end": { - "line": 310, + "line": 263, "column": 26 } } @@ -19642,16 +14083,16 @@ "type": "Identifier", "name": "elm", "range": [ - 9253, - 9256 + 7621, + 7624 ], "loc": { "start": { - "line": 310, + "line": 263, "column": 29 }, "end": { - "line": 310, + "line": 263, "column": 32 } } @@ -19660,46 +14101,46 @@ "type": "Identifier", "name": "scrollLeft", "range": [ - 9257, - 9267 + 7625, + 7635 ], "loc": { "start": { - "line": 310, + "line": 263, "column": 33 }, "end": { - "line": 310, + "line": 263, "column": 43 } } }, "range": [ - 9253, - 9267 + 7621, + 7635 ], "loc": { "start": { - "line": 310, + "line": 263, "column": 29 }, "end": { - "line": 310, + "line": 263, "column": 43 } } }, "range": [ - 9240, - 9267 + 7608, + 7635 ], "loc": { "start": { - "line": 310, + "line": 263, "column": 16 }, "end": { - "line": 310, + "line": 263, "column": 43 } } @@ -19707,16 +14148,16 @@ ], "kind": "let", "range": [ - 9236, - 9268 + 7604, + 7636 ], "loc": { "start": { - "line": 310, + "line": 263, "column": 12 }, "end": { - "line": 310, + "line": 263, "column": 44 } } @@ -19735,16 +14176,16 @@ "object": { "type": "ThisExpression", "range": [ - 9281, - 9285 + 7649, + 7653 ], "loc": { "start": { - "line": 311, + "line": 264, "column": 12 }, "end": { - "line": 311, + "line": 264, "column": 16 } } @@ -19753,31 +14194,31 @@ "type": "Identifier", "name": "headTblCont", "range": [ - 9286, - 9297 + 7654, + 7665 ], "loc": { "start": { - "line": 311, + "line": 264, "column": 17 }, "end": { - "line": 311, + "line": 264, "column": 28 } } }, "range": [ - 9281, - 9297 + 7649, + 7665 ], "loc": { "start": { - "line": 311, + "line": 264, "column": 12 }, "end": { - "line": 311, + "line": 264, "column": 28 } } @@ -19786,31 +14227,31 @@ "type": "Identifier", "name": "scrollLeft", "range": [ - 9298, - 9308 + 7666, + 7676 ], "loc": { "start": { - "line": 311, + "line": 264, "column": 29 }, "end": { - "line": 311, + "line": 264, "column": 39 } } }, "range": [ - 9281, - 9308 + 7649, + 7676 ], "loc": { "start": { - "line": 311, + "line": 264, "column": 12 }, "end": { - "line": 311, + "line": 264, "column": 39 } } @@ -19819,46 +14260,46 @@ "type": "Identifier", "name": "scrollLeft", "range": [ - 9311, - 9321 + 7679, + 7689 ], "loc": { "start": { - "line": 311, + "line": 264, "column": 42 }, "end": { - "line": 311, + "line": 264, "column": 52 } } }, "range": [ - 9281, - 9321 + 7649, + 7689 ], "loc": { "start": { - "line": 311, + "line": 264, "column": 12 }, "end": { - "line": 311, + "line": 264, "column": 52 } } }, "range": [ - 9281, - 9322 + 7649, + 7690 ], "loc": { "start": { - "line": 311, + "line": 264, "column": 12 }, "end": { - "line": 311, + "line": 264, "column": 53 } }, @@ -19867,16 +14308,16 @@ "type": "Line", "value": "New pointerX calc taking into account scrollLeft", "range": [ - 9335, - 9385 + 7703, + 7753 ], "loc": { "start": { - "line": 312, + "line": 265, "column": 12 }, "end": { - "line": 312, + "line": 265, "column": 62 } } @@ -19885,16 +14326,16 @@ "type": "Line", "value": " if(!o.isPointerXOverwritten){", "range": [ - 9398, - 9430 + 7766, + 7798 ], "loc": { "start": { - "line": 313, + "line": 266, "column": 12 }, "end": { - "line": 313, + "line": 266, "column": 44 } } @@ -19903,16 +14344,16 @@ "type": "Line", "value": " try{", "range": [ - 9443, - 9454 + 7811, + 7822 ], "loc": { "start": { - "line": 314, + "line": 267, "column": 12 }, "end": { - "line": 314, + "line": 267, "column": 23 } } @@ -19921,16 +14362,16 @@ "type": "Line", "value": " o.Evt.pointerX = function(evt){", "range": [ - 9467, - 9509 + 7835, + 7877 ], "loc": { "start": { - "line": 315, + "line": 268, "column": 12 }, "end": { - "line": 315, + "line": 268, "column": 54 } } @@ -19939,16 +14380,16 @@ "type": "Line", "value": " let e = evt || global.event;", "range": [ - 9522, - 9565 + 7890, + 7933 ], "loc": { "start": { - "line": 316, + "line": 269, "column": 12 }, "end": { - "line": 316, + "line": 269, "column": 55 } } @@ -19957,16 +14398,16 @@ "type": "Line", "value": " let bdScrollLeft = tf_StandardBody().scrollLeft +", "range": [ - 9578, - 9642 + 7946, + 8010 ], "loc": { "start": { - "line": 317, + "line": 270, "column": 12 }, "end": { - "line": 317, + "line": 270, "column": 76 } } @@ -19975,16 +14416,16 @@ "type": "Line", "value": " scrollLeft;", "range": [ - 9655, - 9685 + 8023, + 8053 ], "loc": { "start": { - "line": 318, + "line": 271, "column": 12 }, "end": { - "line": 318, + "line": 271, "column": 42 } } @@ -19993,16 +14434,16 @@ "type": "Line", "value": " return (e.pageX + scrollLeft) ||", "range": [ - 9698, - 9745 + 8066, + 8113 ], "loc": { "start": { - "line": 319, + "line": 272, "column": 12 }, "end": { - "line": 319, + "line": 272, "column": 59 } } @@ -20011,16 +14452,16 @@ "type": "Line", "value": " (e.clientX + bdScrollLeft);", "range": [ - 9758, - 9804 + 8126, + 8172 ], "loc": { "start": { - "line": 320, + "line": 273, "column": 12 }, "end": { - "line": 320, + "line": 273, "column": 58 } } @@ -20029,16 +14470,16 @@ "type": "Line", "value": " };", "range": [ - 9817, - 9830 + 8185, + 8198 ], "loc": { "start": { - "line": 321, + "line": 274, "column": 12 }, "end": { - "line": 321, + "line": 274, "column": 25 } } @@ -20047,16 +14488,16 @@ "type": "Line", "value": " o.isPointerXOverwritten = true;", "range": [ - 9843, - 9885 + 8211, + 8253 ], "loc": { "start": { - "line": 322, + "line": 275, "column": 12 }, "end": { - "line": 322, + "line": 275, "column": 54 } } @@ -20065,16 +14506,16 @@ "type": "Line", "value": " } catch(err) {", "range": [ - 9898, - 9919 + 8266, + 8287 ], "loc": { "start": { - "line": 323, + "line": 276, "column": 12 }, "end": { - "line": 323, + "line": 276, "column": 33 } } @@ -20083,16 +14524,16 @@ "type": "Line", "value": " o.isPointerXOverwritten = false;", "range": [ - 9932, - 9975 + 8300, + 8343 ], "loc": { "start": { - "line": 324, + "line": 277, "column": 12 }, "end": { - "line": 324, + "line": 277, "column": 55 } } @@ -20101,16 +14542,16 @@ "type": "Line", "value": " }", "range": [ - 9988, - 9996 + 8356, + 8364 ], "loc": { "start": { - "line": 325, + "line": 278, "column": 12 }, "end": { - "line": 325, + "line": 278, "column": 20 } } @@ -20119,16 +14560,16 @@ "type": "Line", "value": " }", "range": [ - 10009, - 10013 + 8377, + 8381 ], "loc": { "start": { - "line": 326, + "line": 279, "column": 12 }, "end": { - "line": 326, + "line": 279, "column": 16 } } @@ -20137,16 +14578,16 @@ } ], "range": [ - 9184, - 10023 + 7552, + 8391 ], "loc": { "start": { - "line": 308, + "line": 261, "column": 48 }, "end": { - "line": 327, + "line": 280, "column": 9 } } @@ -20154,47 +14595,47 @@ "generator": false, "expression": false, "range": [ - 9175, - 10023 + 7543, + 8391 ], "loc": { "start": { - "line": 308, + "line": 261, "column": 39 }, "end": { - "line": 327, + "line": 280, "column": 9 } } } ], "range": [ - 9144, - 10024 + 7512, + 8392 ], "loc": { "start": { - "line": 308, + "line": 261, "column": 8 }, "end": { - "line": 327, + "line": 280, "column": 10 } } }, "range": [ - 9144, - 10025 + 7512, + 8393 ], "loc": { "start": { - "line": 308, + "line": 261, "column": 8 }, "end": { - "line": 327, + "line": 280, "column": 11 } }, @@ -20203,16 +14644,16 @@ "type": "Line", "value": "", "range": [ - 9099, - 9101 + 7467, + 7469 ], "loc": { "start": { - "line": 305, + "line": 258, "column": 8 }, "end": { - "line": 305, + "line": 258, "column": 10 } } @@ -20221,16 +14662,16 @@ "type": "Line", "value": "scroll synchronisation", "range": [ - 9111, - 9135 + 7479, + 7503 ], "loc": { "start": { - "line": 307, + "line": 260, "column": 8 }, "end": { - "line": 307, + "line": 260, "column": 32 } } @@ -20239,19 +14680,19 @@ "trailingComments": [ { "type": "Line", - "value": "Configure sort extension if any", + "value": " TODO: Trigger a custom event handled by sort extension", "range": [ - 10035, - 10068 + 8403, + 8460 ], "loc": { "start": { - "line": 329, + "line": 282, "column": 8 }, "end": { - "line": 329, - "column": 41 + "line": 282, + "column": 65 } } } @@ -20266,16 +14707,16 @@ "type": "Identifier", "name": "sort", "range": [ - 10081, - 10085 + 8473, + 8477 ], "loc": { "start": { - "line": 330, + "line": 283, "column": 12 }, "end": { - "line": 330, + "line": 283, "column": 16 } } @@ -20286,341 +14727,121 @@ "type": "MemberExpression", "computed": false, "object": { - "type": "LogicalExpression", - "operator": "||", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "f", - "range": [ - 10089, - 10090 - ], - "loc": { - "start": { - "line": 330, - "column": 20 - }, - "end": { - "line": 330, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "name": "extensions", - "range": [ - 10091, - 10101 - ], - "loc": { - "start": { - "line": 330, - "column": 22 - }, - "end": { - "line": 330, - "column": 32 - } - } - }, - "range": [ - 10089, - 10101 - ], - "loc": { - "start": { - "line": 330, - "column": 20 - }, - "end": { - "line": 330, - "column": 32 - } - } - }, - "right": { - "type": "ArrayExpression", - "elements": [], - "range": [ - 10105, - 10107 - ], - "loc": { - "start": { - "line": 330, - "column": 36 - }, - "end": { - "line": 330, - "column": 38 - } - } - }, + "type": "Identifier", + "name": "tf", "range": [ - 10089, - 10107 + 8480, + 8482 ], "loc": { "start": { - "line": 330, - "column": 20 + "line": 283, + "column": 19 }, "end": { - "line": 330, - "column": 38 + "line": 283, + "column": 21 } } }, "property": { "type": "Identifier", - "name": "filter", + "name": "extension", "range": [ - 10109, - 10115 + 8483, + 8492 ], "loc": { "start": { - "line": 330, - "column": 40 + "line": 283, + "column": 22 }, "end": { - "line": 330, - "column": 46 + "line": 283, + "column": 31 } } }, "range": [ - 10088, - 10115 + 8480, + 8492 ], "loc": { "start": { - "line": 330, + "line": 283, "column": 19 }, "end": { - "line": 330, - "column": 46 + "line": 283, + "column": 31 } } }, "arguments": [ { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "itm", - "range": [ - 10126, - 10129 - ], - "loc": { - "start": { - "line": 330, - "column": 57 - }, - "end": { - "line": 330, - "column": 60 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": { - "type": "BinaryExpression", - "operator": "===", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "itm", - "range": [ - 10152, - 10155 - ], - "loc": { - "start": { - "line": 331, - "column": 19 - }, - "end": { - "line": 331, - "column": 22 - } - } - }, - "property": { - "type": "Identifier", - "name": "name", - "range": [ - 10156, - 10160 - ], - "loc": { - "start": { - "line": 331, - "column": 23 - }, - "end": { - "line": 331, - "column": 27 - } - } - }, - "range": [ - 10152, - 10160 - ], - "loc": { - "start": { - "line": 331, - "column": 19 - }, - "end": { - "line": 331, - "column": 27 - } - } - }, - "right": { - "type": "Literal", - "value": "sort", - "raw": "'sort'", - "range": [ - 10165, - 10171 - ], - "loc": { - "start": { - "line": 331, - "column": 32 - }, - "end": { - "line": 331, - "column": 38 - } - } - }, - "range": [ - 10152, - 10171 - ], - "loc": { - "start": { - "line": 331, - "column": 19 - }, - "end": { - "line": 331, - "column": 38 - } - } - }, - "range": [ - 10145, - 10172 - ], - "loc": { - "start": { - "line": 331, - "column": 12 - }, - "end": { - "line": 331, - "column": 39 - } - } - } - ], - "range": [ - 10131, - 10182 - ], - "loc": { - "start": { - "line": 330, - "column": 62 - }, - "end": { - "line": 332, - "column": 9 - } - } - }, - "generator": false, - "expression": false, + "type": "Literal", + "value": "sort", + "raw": "'sort'", "range": [ - 10116, - 10182 + 8493, + 8499 ], "loc": { "start": { - "line": 330, - "column": 47 + "line": 283, + "column": 32 }, "end": { - "line": 332, - "column": 9 + "line": 283, + "column": 38 } } } ], "range": [ - 10088, - 10183 + 8480, + 8500 ], "loc": { "start": { - "line": 330, + "line": 283, "column": 19 }, "end": { - "line": 332, - "column": 10 + "line": 283, + "column": 39 } } }, "range": [ - 10081, - 10183 + 8473, + 8500 ], "loc": { "start": { - "line": 330, + "line": 283, "column": 12 }, "end": { - "line": 332, - "column": 10 + "line": 283, + "column": 39 } } } ], "kind": "let", "range": [ - 10077, - 10184 + 8469, + 8501 ], "loc": { "start": { - "line": 330, + "line": 283, "column": 8 }, "end": { - "line": 332, - "column": 11 + "line": 283, + "column": 40 } }, "leadingComments": [ @@ -20628,16 +14849,16 @@ "type": "Line", "value": "New pointerX calc taking into account scrollLeft", "range": [ - 9335, - 9385 + 7703, + 7753 ], "loc": { "start": { - "line": 312, + "line": 265, "column": 12 }, "end": { - "line": 312, + "line": 265, "column": 62 } } @@ -20646,16 +14867,16 @@ "type": "Line", "value": " if(!o.isPointerXOverwritten){", "range": [ - 9398, - 9430 + 7766, + 7798 ], "loc": { "start": { - "line": 313, + "line": 266, "column": 12 }, "end": { - "line": 313, + "line": 266, "column": 44 } } @@ -20664,16 +14885,16 @@ "type": "Line", "value": " try{", "range": [ - 9443, - 9454 + 7811, + 7822 ], "loc": { "start": { - "line": 314, + "line": 267, "column": 12 }, "end": { - "line": 314, + "line": 267, "column": 23 } } @@ -20682,16 +14903,16 @@ "type": "Line", "value": " o.Evt.pointerX = function(evt){", "range": [ - 9467, - 9509 + 7835, + 7877 ], "loc": { "start": { - "line": 315, + "line": 268, "column": 12 }, "end": { - "line": 315, + "line": 268, "column": 54 } } @@ -20700,16 +14921,16 @@ "type": "Line", "value": " let e = evt || global.event;", "range": [ - 9522, - 9565 + 7890, + 7933 ], "loc": { "start": { - "line": 316, + "line": 269, "column": 12 }, "end": { - "line": 316, + "line": 269, "column": 55 } } @@ -20718,16 +14939,16 @@ "type": "Line", "value": " let bdScrollLeft = tf_StandardBody().scrollLeft +", "range": [ - 9578, - 9642 + 7946, + 8010 ], "loc": { "start": { - "line": 317, + "line": 270, "column": 12 }, "end": { - "line": 317, + "line": 270, "column": 76 } } @@ -20736,16 +14957,16 @@ "type": "Line", "value": " scrollLeft;", "range": [ - 9655, - 9685 + 8023, + 8053 ], "loc": { "start": { - "line": 318, + "line": 271, "column": 12 }, "end": { - "line": 318, + "line": 271, "column": 42 } } @@ -20754,16 +14975,16 @@ "type": "Line", "value": " return (e.pageX + scrollLeft) ||", "range": [ - 9698, - 9745 + 8066, + 8113 ], "loc": { "start": { - "line": 319, + "line": 272, "column": 12 }, "end": { - "line": 319, + "line": 272, "column": 59 } } @@ -20772,16 +14993,16 @@ "type": "Line", "value": " (e.clientX + bdScrollLeft);", "range": [ - 9758, - 9804 + 8126, + 8172 ], "loc": { "start": { - "line": 320, + "line": 273, "column": 12 }, "end": { - "line": 320, + "line": 273, "column": 58 } } @@ -20790,16 +15011,16 @@ "type": "Line", "value": " };", "range": [ - 9817, - 9830 + 8185, + 8198 ], "loc": { "start": { - "line": 321, + "line": 274, "column": 12 }, "end": { - "line": 321, + "line": 274, "column": 25 } } @@ -20808,16 +15029,16 @@ "type": "Line", "value": " o.isPointerXOverwritten = true;", "range": [ - 9843, - 9885 + 8211, + 8253 ], "loc": { "start": { - "line": 322, + "line": 275, "column": 12 }, "end": { - "line": 322, + "line": 275, "column": 54 } } @@ -20826,16 +15047,16 @@ "type": "Line", "value": " } catch(err) {", "range": [ - 9898, - 9919 + 8266, + 8287 ], "loc": { "start": { - "line": 323, + "line": 276, "column": 12 }, "end": { - "line": 323, + "line": 276, "column": 33 } } @@ -20844,16 +15065,16 @@ "type": "Line", "value": " o.isPointerXOverwritten = false;", "range": [ - 9932, - 9975 + 8300, + 8343 ], "loc": { "start": { - "line": 324, + "line": 277, "column": 12 }, "end": { - "line": 324, + "line": 277, "column": 55 } } @@ -20862,16 +15083,16 @@ "type": "Line", "value": " }", "range": [ - 9988, - 9996 + 8356, + 8364 ], "loc": { "start": { - "line": 325, + "line": 278, "column": 12 }, "end": { - "line": 325, + "line": 278, "column": 20 } } @@ -20880,35 +15101,35 @@ "type": "Line", "value": " }", "range": [ - 10009, - 10013 + 8377, + 8381 ], "loc": { "start": { - "line": 326, + "line": 279, "column": 12 }, "end": { - "line": 326, + "line": 279, "column": 16 } } }, { "type": "Line", - "value": "Configure sort extension if any", + "value": " TODO: Trigger a custom event handled by sort extension", "range": [ - 10035, - 10068 + 8403, + 8460 ], "loc": { "start": { - "line": 329, + "line": 282, "column": 8 }, "end": { - "line": 329, - "column": 41 + "line": 282, + "column": 65 } } } @@ -20917,93 +15138,20 @@ { "type": "IfStatement", "test": { - "type": "BinaryExpression", - "operator": "===", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "sort", - "range": [ - 10197, - 10201 - ], - "loc": { - "start": { - "line": 333, - "column": 12 - }, - "end": { - "line": 333, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "length", - "range": [ - 10202, - 10208 - ], - "loc": { - "start": { - "line": 333, - "column": 17 - }, - "end": { - "line": 333, - "column": 23 - } - } - }, - "range": [ - 10197, - 10208 - ], - "loc": { - "start": { - "line": 333, - "column": 12 - }, - "end": { - "line": 333, - "column": 23 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 10213, - 10214 - ], - "loc": { - "start": { - "line": 333, - "column": 28 - }, - "end": { - "line": 333, - "column": 29 - } - } - }, + "type": "Identifier", + "name": "sort", "range": [ - 10197, - 10214 + 8514, + 8518 ], "loc": { "start": { - "line": 333, + "line": 284, "column": 12 }, "end": { - "line": 333, - "column": 29 + "line": 284, + "column": 16 } } }, @@ -21019,90 +15167,53 @@ "type": "MemberExpression", "computed": false, "object": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "sort", - "range": [ - 10230, - 10234 - ], - "loc": { - "start": { - "line": 334, - "column": 12 - }, - "end": { - "line": 334, - "column": 16 - } - } - }, - "property": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 10235, - 10236 - ], - "loc": { - "start": { - "line": 334, - "column": 17 - }, - "end": { - "line": 334, - "column": 18 - } - } - }, + "type": "Identifier", + "name": "sort", "range": [ - 10230, - 10237 + 8534, + 8538 ], "loc": { "start": { - "line": 334, + "line": 285, "column": 12 }, "end": { - "line": 334, - "column": 19 + "line": 285, + "column": 16 } } }, "property": { "type": "Identifier", - "name": "async_sort", + "name": "asyncSort", "range": [ - 10238, - 10248 + 8539, + 8548 ], "loc": { "start": { - "line": 334, - "column": 20 + "line": 285, + "column": 17 }, "end": { - "line": 334, - "column": 30 + "line": 285, + "column": 26 } } }, "range": [ - 10230, - 10248 + 8534, + 8548 ], "loc": { "start": { - "line": 334, + "line": 285, "column": 12 }, "end": { - "line": 334, - "column": 30 + "line": 285, + "column": 26 } } }, @@ -21111,47 +15222,47 @@ "value": true, "raw": "true", "range": [ - 10251, - 10255 + 8551, + 8555 ], "loc": { "start": { - "line": 334, - "column": 33 + "line": 285, + "column": 29 }, "end": { - "line": 334, - "column": 37 + "line": 285, + "column": 33 } } }, "range": [ - 10230, - 10255 + 8534, + 8555 ], "loc": { "start": { - "line": 334, + "line": 285, "column": 12 }, "end": { - "line": 334, - "column": 37 + "line": 285, + "column": 33 } } }, "range": [ - 10230, - 10256 + 8534, + 8556 ], "loc": { "start": { - "line": 334, + "line": 285, "column": 12 }, "end": { - "line": 334, - "column": 38 + "line": 285, + "column": 34 } } }, @@ -21164,90 +15275,53 @@ "type": "MemberExpression", "computed": false, "object": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "sort", - "range": [ - 10269, - 10273 - ], - "loc": { - "start": { - "line": 335, - "column": 12 - }, - "end": { - "line": 335, - "column": 16 - } - } - }, - "property": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 10274, - 10275 - ], - "loc": { - "start": { - "line": 335, - "column": 17 - }, - "end": { - "line": 335, - "column": 18 - } - } - }, + "type": "Identifier", + "name": "sort", "range": [ - 10269, - 10276 + 8569, + 8573 ], "loc": { "start": { - "line": 335, + "line": 286, "column": 12 }, "end": { - "line": 335, - "column": 19 + "line": 286, + "column": 16 } } }, "property": { "type": "Identifier", - "name": "trigger_ids", + "name": "triggerIds", "range": [ - 10277, - 10288 + 8574, + 8584 ], "loc": { "start": { - "line": 335, - "column": 20 + "line": 286, + "column": 17 }, "end": { - "line": 335, - "column": 31 + "line": 286, + "column": 27 } } }, "range": [ - 10269, - 10288 + 8569, + 8584 ], "loc": { "start": { - "line": 335, + "line": 286, "column": 12 }, "end": { - "line": 335, - "column": 31 + "line": 286, + "column": 27 } } }, @@ -21255,97 +15329,115 @@ "type": "Identifier", "name": "sortTriggers", "range": [ - 10291, - 10303 + 8587, + 8599 ], "loc": { "start": { - "line": 335, - "column": 34 + "line": 286, + "column": 30 }, "end": { - "line": 335, - "column": 46 + "line": 286, + "column": 42 } } }, "range": [ - 10269, - 10303 + 8569, + 8599 ], "loc": { "start": { - "line": 335, + "line": 286, "column": 12 }, "end": { - "line": 335, - "column": 46 + "line": 286, + "column": 42 } } }, "range": [ - 10269, - 10304 + 8569, + 8600 ], "loc": { "start": { - "line": 335, + "line": 286, "column": 12 }, "end": { - "line": 335, - "column": 47 + "line": 286, + "column": 43 } } } ], "range": [ - 10216, - 10314 + 8520, + 8610 ], "loc": { "start": { - "line": 333, - "column": 31 + "line": 284, + "column": 18 }, "end": { - "line": 336, + "line": 287, "column": 9 } } }, "alternate": null, "range": [ - 10193, - 10314 + 8510, + 8610 ], "loc": { "start": { - "line": 333, + "line": 284, "column": 8 }, "end": { - "line": 336, + "line": 287, "column": 9 } }, "trailingComments": [ { "type": "Line", - "value": "Cols generation for all browsers excepted IE<=7", + "value": "Col elements are enough to keep column widths after sorting and", "range": [ - 10324, - 10373 + 8620, + 8685 ], "loc": { "start": { - "line": 338, + "line": 289, "column": 8 }, "end": { - "line": 338, - "column": 57 + "line": 289, + "column": 73 + } + } + }, + { + "type": "Line", + "value": "filtering", + "range": [ + 8694, + 8705 + ], + "loc": { + "start": { + "line": 290, + "column": 8 + }, + "end": { + "line": 290, + "column": 19 } } } @@ -21354,2961 +15446,128 @@ { "type": "ExpressionStatement", "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { + "type": "CallExpression", + "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ - 10382, - 10386 + 8714, + 8718 ], "loc": { "start": { - "line": 339, + "line": 291, "column": 8 }, "end": { - "line": 339, + "line": 291, "column": 12 } } }, "property": { "type": "Identifier", - "name": "tblHasColTag", + "name": "setColumnElements", "range": [ - 10387, - 10399 + 8719, + 8736 ], "loc": { "start": { - "line": 339, + "line": 291, "column": 13 }, "end": { - "line": 339, - "column": 25 - } - } - }, - "range": [ - 10382, - 10399 - ], - "loc": { - "start": { - "line": 339, - "column": 8 - }, - "end": { - "line": 339, - "column": 25 - } - } - }, - "right": { - "type": "ConditionalExpression", - "test": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "tag", - "range": [ - 10402, - 10405 - ], - "loc": { - "start": { - "line": 339, - "column": 28 - }, - "end": { - "line": 339, - "column": 31 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "tbl", - "range": [ - 10406, - 10409 - ], - "loc": { - "start": { - "line": 339, - "column": 32 - }, - "end": { - "line": 339, - "column": 35 - } - } - }, - { - "type": "Literal", - "value": "col", - "raw": "'col'", - "range": [ - 10411, - 10416 - ], - "loc": { - "start": { - "line": 339, - "column": 37 - }, - "end": { - "line": 339, - "column": 42 - } - } - } - ], - "range": [ - 10402, - 10417 - ], - "loc": { - "start": { - "line": 339, - "column": 28 - }, - "end": { - "line": 339, - "column": 43 - } - } - }, - "property": { - "type": "Identifier", - "name": "length", - "range": [ - 10418, - 10424 - ], - "loc": { - "start": { - "line": 339, - "column": 44 - }, - "end": { - "line": 339, - "column": 50 - } - } - }, - "range": [ - 10402, - 10424 - ], - "loc": { - "start": { - "line": 339, - "column": 28 - }, - "end": { - "line": 339, - "column": 50 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 10427, - 10428 - ], - "loc": { - "start": { - "line": 339, - "column": 53 - }, - "end": { - "line": 339, - "column": 54 - } - } - }, - "range": [ - 10402, - 10428 - ], - "loc": { - "start": { - "line": 339, - "column": 28 - }, - "end": { - "line": 339, - "column": 54 - } - } - }, - "consequent": { - "type": "Literal", - "value": true, - "raw": "true", - "range": [ - 10431, - 10435 - ], - "loc": { - "start": { - "line": 339, - "column": 57 - }, - "end": { - "line": 339, - "column": 61 - } - } - }, - "alternate": { - "type": "Literal", - "value": false, - "raw": "false", - "range": [ - 10438, - 10443 - ], - "loc": { - "start": { - "line": 339, - "column": 64 - }, - "end": { - "line": 339, - "column": 69 - } - } - }, - "range": [ - 10402, - 10443 - ], - "loc": { - "start": { - "line": 339, - "column": 28 - }, - "end": { - "line": 339, - "column": 69 - } - } - }, - "range": [ - 10382, - 10443 - ], - "loc": { - "start": { - "line": 339, - "column": 8 - }, - "end": { - "line": 339, - "column": 69 - } - } - }, - "range": [ - 10382, - 10444 - ], - "loc": { - "start": { - "line": 339, - "column": 8 - }, - "end": { - "line": 339, - "column": 70 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": "Cols generation for all browsers excepted IE<=7", - "range": [ - 10324, - 10373 - ], - "loc": { - "start": { - "line": 338, - "column": 8 - }, - "end": { - "line": 338, - "column": 57 - } - } - } - ], - "trailingComments": [ - { - "type": "Line", - "value": "Col elements are enough to keep column widths after sorting and", - "range": [ - 10454, - 10519 - ], - "loc": { - "start": { - "line": 341, - "column": 8 - }, - "end": { - "line": 341, - "column": 73 - } - } - }, - { - "type": "Line", - "value": "filtering", - "range": [ - 10528, - 10539 - ], - "loc": { - "start": { - "line": 342, - "column": 8 - }, - "end": { - "line": 342, - "column": 19 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "createColTags", - "range": [ - 10552, - 10565 - ], - "loc": { - "start": { - "line": 343, - "column": 12 - }, - "end": { - "line": 343, - "column": 25 - } - } - }, - "init": { - "type": "FunctionExpression", - "id": null, - "params": [], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ForStatement", - "init": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "k", - "range": [ - 10603, - 10604 - ], - "loc": { - "start": { - "line": 344, - "column": 21 - }, - "end": { - "line": 344, - "column": 22 - } - } - }, - "init": { - "type": "BinaryExpression", - "operator": "-", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 10608, - 10610 - ], - "loc": { - "start": { - "line": 344, - "column": 26 - }, - "end": { - "line": 344, - "column": 28 - } - } - }, - "property": { - "type": "Identifier", - "name": "nbCells", - "range": [ - 10611, - 10618 - ], - "loc": { - "start": { - "line": 344, - "column": 29 - }, - "end": { - "line": 344, - "column": 36 - } - } - }, - "range": [ - 10608, - 10618 - ], - "loc": { - "start": { - "line": 344, - "column": 26 - }, - "end": { - "line": 344, - "column": 36 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 10621, - 10622 - ], - "loc": { - "start": { - "line": 344, - "column": 39 - }, - "end": { - "line": 344, - "column": 40 - } - } - }, - "range": [ - 10608, - 10622 - ], - "loc": { - "start": { - "line": 344, - "column": 26 - }, - "end": { - "line": 344, - "column": 40 - } - } - }, - "range": [ - 10603, - 10623 - ], - "loc": { - "start": { - "line": 344, - "column": 21 - }, - "end": { - "line": 344, - "column": 41 - } - } - } - ], - "kind": "let", - "range": [ - 10599, - 10623 - ], - "loc": { - "start": { - "line": 344, - "column": 17 - }, - "end": { - "line": 344, - "column": 41 - } - } - }, - "test": { - "type": "BinaryExpression", - "operator": ">=", - "left": { - "type": "Identifier", - "name": "k", - "range": [ - 10625, - 10626 - ], - "loc": { - "start": { - "line": 344, - "column": 43 - }, - "end": { - "line": 344, - "column": 44 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 10630, - 10631 - ], - "loc": { - "start": { - "line": 344, - "column": 48 - }, - "end": { - "line": 344, - "column": 49 - } - } - }, - "range": [ - 10625, - 10631 - ], - "loc": { - "start": { - "line": 344, - "column": 43 - }, - "end": { - "line": 344, - "column": 49 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "--", - "argument": { - "type": "Identifier", - "name": "k", - "range": [ - 10633, - 10634 - ], - "loc": { - "start": { - "line": 344, - "column": 51 - }, - "end": { - "line": 344, - "column": 52 - } - } - }, - "prefix": false, - "range": [ - 10633, - 10636 - ], - "loc": { - "start": { - "line": 344, - "column": 51 - }, - "end": { - "line": 344, - "column": 54 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "col", - "range": [ - 10660, - 10663 - ], - "loc": { - "start": { - "line": 345, - "column": 20 - }, - "end": { - "line": 345, - "column": 23 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "createElm", - "range": [ - 10666, - 10675 - ], - "loc": { - "start": { - "line": 345, - "column": 26 - }, - "end": { - "line": 345, - "column": 35 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": "col", - "raw": "'col'", - "range": [ - 10676, - 10681 - ], - "loc": { - "start": { - "line": 345, - "column": 36 - }, - "end": { - "line": 345, - "column": 41 - } - } - }, - { - "type": "ArrayExpression", - "elements": [ - { - "type": "Literal", - "value": "id", - "raw": "'id'", - "range": [ - 10684, - 10688 - ], - "loc": { - "start": { - "line": 345, - "column": 44 - }, - "end": { - "line": 345, - "column": 48 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 10690, - 10692 - ], - "loc": { - "start": { - "line": 345, - "column": 50 - }, - "end": { - "line": 345, - "column": 52 - } - } - }, - "property": { - "type": "Identifier", - "name": "id", - "range": [ - 10693, - 10695 - ], - "loc": { - "start": { - "line": 345, - "column": 53 - }, - "end": { - "line": 345, - "column": 55 - } - } - }, - "range": [ - 10690, - 10695 - ], - "loc": { - "start": { - "line": 345, - "column": 50 - }, - "end": { - "line": 345, - "column": 55 - } - } - }, - "right": { - "type": "Literal", - "value": "_col_", - "raw": "'_col_'", - "range": [ - 10698, - 10705 - ], - "loc": { - "start": { - "line": 345, - "column": 58 - }, - "end": { - "line": 345, - "column": 65 - } - } - }, - "range": [ - 10690, - 10705 - ], - "loc": { - "start": { - "line": 345, - "column": 50 - }, - "end": { - "line": 345, - "column": 65 - } - } - }, - "right": { - "type": "Identifier", - "name": "k", - "range": [ - 10708, - 10709 - ], - "loc": { - "start": { - "line": 345, - "column": 68 - }, - "end": { - "line": 345, - "column": 69 - } - } - }, - "range": [ - 10690, - 10709 - ], - "loc": { - "start": { - "line": 345, - "column": 50 - }, - "end": { - "line": 345, - "column": 69 - } - } - } - ], - "range": [ - 10683, - 10710 - ], - "loc": { - "start": { - "line": 345, - "column": 43 - }, - "end": { - "line": 345, - "column": 70 - } - } - } - ], - "range": [ - 10666, - 10711 - ], - "loc": { - "start": { - "line": 345, - "column": 26 - }, - "end": { - "line": 345, - "column": 71 - } - } - }, - "range": [ - 10660, - 10711 - ], - "loc": { - "start": { - "line": 345, - "column": 20 - }, - "end": { - "line": 345, - "column": 71 - } - } - } - ], - "kind": "let", - "range": [ - 10656, - 10712 - ], - "loc": { - "start": { - "line": 345, - "column": 16 - }, - "end": { - "line": 345, - "column": 72 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tbl", - "range": [ - 10729, - 10732 - ], - "loc": { - "start": { - "line": 346, - "column": 16 - }, - "end": { - "line": 346, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "name": "insertBefore", - "range": [ - 10733, - 10745 - ], - "loc": { - "start": { - "line": 346, - "column": 20 - }, - "end": { - "line": 346, - "column": 32 - } - } - }, - "range": [ - 10729, - 10745 - ], - "loc": { - "start": { - "line": 346, - "column": 16 - }, - "end": { - "line": 346, - "column": 32 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "col", - "range": [ - 10746, - 10749 - ], - "loc": { - "start": { - "line": 346, - "column": 33 - }, - "end": { - "line": 346, - "column": 36 - } - } - }, - { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tbl", - "range": [ - 10751, - 10754 - ], - "loc": { - "start": { - "line": 346, - "column": 38 - }, - "end": { - "line": 346, - "column": 41 - } - } - }, - "property": { - "type": "Identifier", - "name": "firstChild", - "range": [ - 10755, - 10765 - ], - "loc": { - "start": { - "line": 346, - "column": 42 - }, - "end": { - "line": 346, - "column": 52 - } - } - }, - "range": [ - 10751, - 10765 - ], - "loc": { - "start": { - "line": 346, - "column": 38 - }, - "end": { - "line": 346, - "column": 52 - } - } - } - ], - "range": [ - 10729, - 10766 - ], - "loc": { - "start": { - "line": 346, - "column": 16 - }, - "end": { - "line": 346, - "column": 53 - } - } - }, - "range": [ - 10729, - 10767 - ], - "loc": { - "start": { - "line": 346, - "column": 16 - }, - "end": { - "line": 346, - "column": 54 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "col", - "range": [ - 10784, - 10787 - ], - "loc": { - "start": { - "line": 347, - "column": 16 - }, - "end": { - "line": 347, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "name": "style", - "range": [ - 10788, - 10793 - ], - "loc": { - "start": { - "line": 347, - "column": 20 - }, - "end": { - "line": 347, - "column": 25 - } - } - }, - "range": [ - 10784, - 10793 - ], - "loc": { - "start": { - "line": 347, - "column": 16 - }, - "end": { - "line": 347, - "column": 25 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 10794, - 10799 - ], - "loc": { - "start": { - "line": 347, - "column": 26 - }, - "end": { - "line": 347, - "column": 31 - } - } - }, - "range": [ - 10784, - 10799 - ], - "loc": { - "start": { - "line": 347, - "column": 16 - }, - "end": { - "line": 347, - "column": 31 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 10802, - 10804 - ], - "loc": { - "start": { - "line": 347, - "column": 34 - }, - "end": { - "line": 347, - "column": 36 - } - } - }, - "property": { - "type": "Identifier", - "name": "colWidths", - "range": [ - 10805, - 10814 - ], - "loc": { - "start": { - "line": 347, - "column": 37 - }, - "end": { - "line": 347, - "column": 46 - } - } - }, - "range": [ - 10802, - 10814 - ], - "loc": { - "start": { - "line": 347, - "column": 34 - }, - "end": { - "line": 347, - "column": 46 - } - } - }, - "property": { - "type": "Identifier", - "name": "k", - "range": [ - 10815, - 10816 - ], - "loc": { - "start": { - "line": 347, - "column": 47 - }, - "end": { - "line": 347, - "column": 48 - } - } - }, - "range": [ - 10802, - 10817 - ], - "loc": { - "start": { - "line": 347, - "column": 34 - }, - "end": { - "line": 347, - "column": 49 - } - } - }, - "range": [ - 10784, - 10817 - ], - "loc": { - "start": { - "line": 347, - "column": 16 - }, - "end": { - "line": 347, - "column": 49 - } - } - }, - "range": [ - 10784, - 10818 - ], - "loc": { - "start": { - "line": 347, - "column": 16 - }, - "end": { - "line": 347, - "column": 50 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 10835, - 10839 - ], - "loc": { - "start": { - "line": 348, - "column": 16 - }, - "end": { - "line": 348, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "colElms", - "range": [ - 10840, - 10847 - ], - "loc": { - "start": { - "line": 348, - "column": 21 - }, - "end": { - "line": 348, - "column": 28 - } - } - }, - "range": [ - 10835, - 10847 - ], - "loc": { - "start": { - "line": 348, - "column": 16 - }, - "end": { - "line": 348, - "column": 28 - } - } - }, - "property": { - "type": "Identifier", - "name": "k", - "range": [ - 10848, - 10849 - ], - "loc": { - "start": { - "line": 348, - "column": 29 - }, - "end": { - "line": 348, - "column": 30 - } - } - }, - "range": [ - 10835, - 10850 - ], - "loc": { - "start": { - "line": 348, - "column": 16 - }, - "end": { - "line": 348, - "column": 31 - } - } - }, - "right": { - "type": "Identifier", - "name": "col", - "range": [ - 10853, - 10856 - ], - "loc": { - "start": { - "line": 348, - "column": 34 - }, - "end": { - "line": 348, - "column": 37 - } - } - }, - "range": [ - 10835, - 10856 - ], - "loc": { - "start": { - "line": 348, - "column": 16 - }, - "end": { - "line": 348, - "column": 37 - } - } - }, - "range": [ - 10835, - 10857 - ], - "loc": { - "start": { - "line": 348, - "column": 16 - }, - "end": { - "line": 348, - "column": 38 - } - } - } - ], - "range": [ - 10638, - 10871 - ], - "loc": { - "start": { - "line": 344, - "column": 56 - }, - "end": { - "line": 349, - "column": 13 - } - } - }, - "range": [ - 10594, - 10871 - ], - "loc": { - "start": { - "line": 344, - "column": 12 - }, - "end": { - "line": 349, - "column": 13 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 10884, - 10888 - ], - "loc": { - "start": { - "line": 350, - "column": 12 - }, - "end": { - "line": 350, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "tblHasColTag", - "range": [ - 10889, - 10901 - ], - "loc": { - "start": { - "line": 350, - "column": 17 - }, - "end": { - "line": 350, - "column": 29 - } - } - }, - "range": [ - 10884, - 10901 - ], - "loc": { - "start": { - "line": 350, - "column": 12 - }, - "end": { - "line": 350, - "column": 29 - } - } - }, - "right": { - "type": "Literal", - "value": true, - "raw": "true", - "range": [ - 10904, - 10908 - ], - "loc": { - "start": { - "line": 350, - "column": 32 - }, - "end": { - "line": 350, - "column": 36 - } - } - }, - "range": [ - 10884, - 10908 - ], - "loc": { - "start": { - "line": 350, - "column": 12 - }, - "end": { - "line": 350, - "column": 36 - } - } - }, - "range": [ - 10884, - 10909 - ], - "loc": { - "start": { - "line": 350, - "column": 12 - }, - "end": { - "line": 350, - "column": 37 - } - } - } - ], - "range": [ - 10580, - 10919 - ], - "loc": { - "start": { - "line": 343, - "column": 40 - }, - "end": { - "line": 351, - "column": 9 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 10568, - 10919 - ], - "loc": { - "start": { - "line": 343, - "column": 28 - }, - "end": { - "line": 351, - "column": 9 - } - } - }, - "range": [ - 10552, - 10919 - ], - "loc": { - "start": { - "line": 343, - "column": 12 - }, - "end": { - "line": 351, - "column": 9 - } - } - } - ], - "kind": "let", - "range": [ - 10548, - 10920 - ], - "loc": { - "start": { - "line": 343, - "column": 8 - }, - "end": { - "line": 351, - "column": 10 - } - }, - "leadingComments": [ - { - "type": "Line", - "value": "Col elements are enough to keep column widths after sorting and", - "range": [ - 10454, - 10519 - ], - "loc": { - "start": { - "line": 341, - "column": 8 - }, - "end": { - "line": 341, - "column": 73 - } - } - }, - { - "type": "Line", - "value": "filtering", - "range": [ - 10528, - 10539 - ], - "loc": { - "start": { - "line": 342, - "column": 8 - }, - "end": { - "line": 342, - "column": 19 - } - } - } - ] - }, - { - "type": "IfStatement", - "test": { - "type": "UnaryExpression", - "operator": "!", - "argument": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 10935, - 10939 - ], - "loc": { - "start": { - "line": 353, - "column": 13 - }, - "end": { - "line": 353, - "column": 17 - } - } - }, - "property": { - "type": "Identifier", - "name": "tblHasColTag", - "range": [ - 10940, - 10952 - ], - "loc": { - "start": { - "line": 353, - "column": 18 - }, - "end": { - "line": 353, + "line": 291, "column": 30 } } }, "range": [ - 10935, - 10952 + 8714, + 8736 ], "loc": { "start": { - "line": 353, - "column": 13 + "line": 291, + "column": 8 }, "end": { - "line": 353, + "line": 291, "column": 30 } } }, - "prefix": true, + "arguments": [], "range": [ - 10934, - 10952 + 8714, + 8738 ], "loc": { "start": { - "line": 353, - "column": 12 + "line": 291, + "column": 8 }, "end": { - "line": 353, - "column": 30 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "createColTags", - "range": [ - 10968, - 10981 - ], - "loc": { - "start": { - "line": 354, - "column": 12 - }, - "end": { - "line": 354, - "column": 25 - } - } - }, - "property": { - "type": "Identifier", - "name": "call", - "range": [ - 10982, - 10986 - ], - "loc": { - "start": { - "line": 354, - "column": 26 - }, - "end": { - "line": 354, - "column": 30 - } - } - }, - "range": [ - 10968, - 10986 - ], - "loc": { - "start": { - "line": 354, - "column": 12 - }, - "end": { - "line": 354, - "column": 30 - } - } - }, - "arguments": [ - { - "type": "ThisExpression", - "range": [ - 10987, - 10991 - ], - "loc": { - "start": { - "line": 354, - "column": 31 - }, - "end": { - "line": 354, - "column": 35 - } - } - } - ], - "range": [ - 10968, - 10992 - ], - "loc": { - "start": { - "line": 354, - "column": 12 - }, - "end": { - "line": 354, - "column": 36 - } - } - }, - "range": [ - 10968, - 10993 - ], - "loc": { - "start": { - "line": 354, - "column": 12 - }, - "end": { - "line": 354, - "column": 37 - } - } - } - ], - "range": [ - 10954, - 11003 - ], - "loc": { - "start": { - "line": 353, + "line": 291, "column": 32 - }, - "end": { - "line": 355, - "column": 9 - } - } - }, - "alternate": { - "type": "BlockStatement", - "body": [ - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "cols", - "range": [ - 11027, - 11031 - ], - "loc": { - "start": { - "line": 356, - "column": 16 - }, - "end": { - "line": 356, - "column": 20 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "tag", - "range": [ - 11034, - 11037 - ], - "loc": { - "start": { - "line": 356, - "column": 23 - }, - "end": { - "line": 356, - "column": 26 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "tbl", - "range": [ - 11038, - 11041 - ], - "loc": { - "start": { - "line": 356, - "column": 27 - }, - "end": { - "line": 356, - "column": 30 - } - } - }, - { - "type": "Literal", - "value": "col", - "raw": "'col'", - "range": [ - 11043, - 11048 - ], - "loc": { - "start": { - "line": 356, - "column": 32 - }, - "end": { - "line": 356, - "column": 37 - } - } - } - ], - "range": [ - 11034, - 11049 - ], - "loc": { - "start": { - "line": 356, - "column": 23 - }, - "end": { - "line": 356, - "column": 38 - } - } - }, - "range": [ - 11027, - 11049 - ], - "loc": { - "start": { - "line": 356, - "column": 16 - }, - "end": { - "line": 356, - "column": 38 - } - } - } - ], - "kind": "let", - "range": [ - 11023, - 11050 - ], - "loc": { - "start": { - "line": 356, - "column": 12 - }, - "end": { - "line": 356, - "column": 39 - } - } - }, - { - "type": "ForStatement", - "init": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "ii", - "range": [ - 11072, - 11074 - ], - "loc": { - "start": { - "line": 357, - "column": 21 - }, - "end": { - "line": 357, - "column": 23 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 11077, - 11078 - ], - "loc": { - "start": { - "line": 357, - "column": 26 - }, - "end": { - "line": 357, - "column": 27 - } - } - }, - "range": [ - 11072, - 11078 - ], - "loc": { - "start": { - "line": 357, - "column": 21 - }, - "end": { - "line": 357, - "column": 27 - } - } - } - ], - "kind": "let", - "range": [ - 11068, - 11078 - ], - "loc": { - "start": { - "line": 357, - "column": 17 - }, - "end": { - "line": 357, - "column": 27 - } - } - }, - "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { - "type": "Identifier", - "name": "ii", - "range": [ - 11080, - 11082 - ], - "loc": { - "start": { - "line": 357, - "column": 29 - }, - "end": { - "line": 357, - "column": 31 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 11085, - 11087 - ], - "loc": { - "start": { - "line": 357, - "column": 34 - }, - "end": { - "line": 357, - "column": 36 - } - } - }, - "property": { - "type": "Identifier", - "name": "nbCells", - "range": [ - 11088, - 11095 - ], - "loc": { - "start": { - "line": 357, - "column": 37 - }, - "end": { - "line": 357, - "column": 44 - } - } - }, - "range": [ - 11085, - 11095 - ], - "loc": { - "start": { - "line": 357, - "column": 34 - }, - "end": { - "line": 357, - "column": 44 - } - } - }, - "range": [ - 11080, - 11095 - ], - "loc": { - "start": { - "line": 357, - "column": 29 - }, - "end": { - "line": 357, - "column": 44 - } - } - }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "ii", - "range": [ - 11097, - 11099 - ], - "loc": { - "start": { - "line": 357, - "column": 46 - }, - "end": { - "line": 357, - "column": 48 - } - } - }, - "prefix": false, - "range": [ - 11097, - 11101 - ], - "loc": { - "start": { - "line": 357, - "column": 46 - }, - "end": { - "line": 357, - "column": 50 - } - } - }, - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "cols", - "range": [ - 11121, - 11125 - ], - "loc": { - "start": { - "line": 358, - "column": 16 - }, - "end": { - "line": 358, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "ii", - "range": [ - 11126, - 11128 - ], - "loc": { - "start": { - "line": 358, - "column": 21 - }, - "end": { - "line": 358, - "column": 23 - } - } - }, - "range": [ - 11121, - 11129 - ], - "loc": { - "start": { - "line": 358, - "column": 16 - }, - "end": { - "line": 358, - "column": 24 - } - } - }, - "property": { - "type": "Identifier", - "name": "setAttribute", - "range": [ - 11130, - 11142 - ], - "loc": { - "start": { - "line": 358, - "column": 25 - }, - "end": { - "line": 358, - "column": 37 - } - } - }, - "range": [ - 11121, - 11142 - ], - "loc": { - "start": { - "line": 358, - "column": 16 - }, - "end": { - "line": 358, - "column": 37 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": "id", - "raw": "'id'", - "range": [ - 11143, - 11147 - ], - "loc": { - "start": { - "line": 358, - "column": 38 - }, - "end": { - "line": 358, - "column": 42 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 11149, - 11151 - ], - "loc": { - "start": { - "line": 358, - "column": 44 - }, - "end": { - "line": 358, - "column": 46 - } - } - }, - "property": { - "type": "Identifier", - "name": "id", - "range": [ - 11152, - 11154 - ], - "loc": { - "start": { - "line": 358, - "column": 47 - }, - "end": { - "line": 358, - "column": 49 - } - } - }, - "range": [ - 11149, - 11154 - ], - "loc": { - "start": { - "line": 358, - "column": 44 - }, - "end": { - "line": 358, - "column": 49 - } - } - }, - "right": { - "type": "Literal", - "value": "_col_", - "raw": "'_col_'", - "range": [ - 11157, - 11164 - ], - "loc": { - "start": { - "line": 358, - "column": 52 - }, - "end": { - "line": 358, - "column": 59 - } - } - }, - "range": [ - 11149, - 11164 - ], - "loc": { - "start": { - "line": 358, - "column": 44 - }, - "end": { - "line": 358, - "column": 59 - } - } - }, - "right": { - "type": "Identifier", - "name": "ii", - "range": [ - 11167, - 11169 - ], - "loc": { - "start": { - "line": 358, - "column": 62 - }, - "end": { - "line": 358, - "column": 64 - } - } - }, - "range": [ - 11149, - 11169 - ], - "loc": { - "start": { - "line": 358, - "column": 44 - }, - "end": { - "line": 358, - "column": 64 - } - } - } - ], - "range": [ - 11121, - 11170 - ], - "loc": { - "start": { - "line": 358, - "column": 16 - }, - "end": { - "line": 358, - "column": 65 - } - } - }, - "range": [ - 11121, - 11171 - ], - "loc": { - "start": { - "line": 358, - "column": 16 - }, - "end": { - "line": 358, - "column": 66 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "cols", - "range": [ - 11188, - 11192 - ], - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "ii", - "range": [ - 11193, - 11195 - ], - "loc": { - "start": { - "line": 359, - "column": 21 - }, - "end": { - "line": 359, - "column": 23 - } - } - }, - "range": [ - 11188, - 11196 - ], - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 24 - } - } - }, - "property": { - "type": "Identifier", - "name": "style", - "range": [ - 11197, - 11202 - ], - "loc": { - "start": { - "line": 359, - "column": 25 - }, - "end": { - "line": 359, - "column": 30 - } - } - }, - "range": [ - 11188, - 11202 - ], - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 30 - } - } - }, - "property": { - "type": "Identifier", - "name": "width", - "range": [ - 11203, - 11208 - ], - "loc": { - "start": { - "line": 359, - "column": 31 - }, - "end": { - "line": 359, - "column": 36 - } - } - }, - "range": [ - 11188, - 11208 - ], - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 36 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 11211, - 11213 - ], - "loc": { - "start": { - "line": 359, - "column": 39 - }, - "end": { - "line": 359, - "column": 41 - } - } - }, - "property": { - "type": "Identifier", - "name": "colWidths", - "range": [ - 11214, - 11223 - ], - "loc": { - "start": { - "line": 359, - "column": 42 - }, - "end": { - "line": 359, - "column": 51 - } - } - }, - "range": [ - 11211, - 11223 - ], - "loc": { - "start": { - "line": 359, - "column": 39 - }, - "end": { - "line": 359, - "column": 51 - } - } - }, - "property": { - "type": "Identifier", - "name": "ii", - "range": [ - 11224, - 11226 - ], - "loc": { - "start": { - "line": 359, - "column": 52 - }, - "end": { - "line": 359, - "column": 54 - } - } - }, - "range": [ - 11211, - 11227 - ], - "loc": { - "start": { - "line": 359, - "column": 39 - }, - "end": { - "line": 359, - "column": 55 - } - } - }, - "range": [ - 11188, - 11227 - ], - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 55 - } - } - }, - "range": [ - 11188, - 11228 - ], - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 56 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 11245, - 11249 - ], - "loc": { - "start": { - "line": 360, - "column": 16 - }, - "end": { - "line": 360, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "colElms", - "range": [ - 11250, - 11257 - ], - "loc": { - "start": { - "line": 360, - "column": 21 - }, - "end": { - "line": 360, - "column": 28 - } - } - }, - "range": [ - 11245, - 11257 - ], - "loc": { - "start": { - "line": 360, - "column": 16 - }, - "end": { - "line": 360, - "column": 28 - } - } - }, - "property": { - "type": "Identifier", - "name": "push", - "range": [ - 11258, - 11262 - ], - "loc": { - "start": { - "line": 360, - "column": 29 - }, - "end": { - "line": 360, - "column": 33 - } - } - }, - "range": [ - 11245, - 11262 - ], - "loc": { - "start": { - "line": 360, - "column": 16 - }, - "end": { - "line": 360, - "column": 33 - } - } - }, - "arguments": [ - { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "Identifier", - "name": "cols", - "range": [ - 11263, - 11267 - ], - "loc": { - "start": { - "line": 360, - "column": 34 - }, - "end": { - "line": 360, - "column": 38 - } - } - }, - "property": { - "type": "Identifier", - "name": "ii", - "range": [ - 11268, - 11270 - ], - "loc": { - "start": { - "line": 360, - "column": 39 - }, - "end": { - "line": 360, - "column": 41 - } - } - }, - "range": [ - 11263, - 11271 - ], - "loc": { - "start": { - "line": 360, - "column": 34 - }, - "end": { - "line": 360, - "column": 42 - } - } - } - ], - "range": [ - 11245, - 11272 - ], - "loc": { - "start": { - "line": 360, - "column": 16 - }, - "end": { - "line": 360, - "column": 43 - } - } - }, - "range": [ - 11245, - 11273 - ], - "loc": { - "start": { - "line": 360, - "column": 16 - }, - "end": { - "line": 360, - "column": 44 - } - } - } - ], - "range": [ - 11103, - 11287 - ], - "loc": { - "start": { - "line": 357, - "column": 52 - }, - "end": { - "line": 361, - "column": 13 - } - } - }, - "range": [ - 11063, - 11287 - ], - "loc": { - "start": { - "line": 357, - "column": 12 - }, - "end": { - "line": 361, - "column": 13 - } - } - } - ], - "range": [ - 11009, - 11297 - ], - "loc": { - "start": { - "line": 355, - "column": 15 - }, - "end": { - "line": 362, - "column": 9 } } }, "range": [ - 10930, - 11297 + 8714, + 8739 ], "loc": { "start": { - "line": 353, + "line": 291, "column": 8 }, "end": { - "line": 362, - "column": 9 + "line": 291, + "column": 33 } - } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Col elements are enough to keep column widths after sorting and", + "range": [ + 8620, + 8685 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 73 + } + } + }, + { + "type": "Line", + "value": "filtering", + "range": [ + 8694, + 8705 + ], + "loc": { + "start": { + "line": 290, + "column": 8 + }, + "end": { + "line": 290, + "column": 19 + } + } + } + ] }, { "type": "IfStatement", @@ -24319,16 +15578,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11311, - 11313 + 8753, + 8755 ], "loc": { "start": { - "line": 364, + "line": 293, "column": 12 }, "end": { - "line": 364, + "line": 293, "column": 14 } } @@ -24337,31 +15596,31 @@ "type": "Identifier", "name": "popupFilters", "range": [ - 11314, - 11326 + 8756, + 8768 ], "loc": { "start": { - "line": 364, + "line": 293, "column": 15 }, "end": { - "line": 364, + "line": 293, "column": 27 } } }, "range": [ - 11311, - 11326 + 8753, + 8768 ], "loc": { "start": { - "line": 364, + "line": 293, "column": 12 }, "end": { - "line": 364, + "line": 293, "column": 27 } } @@ -24384,16 +15643,16 @@ "type": "Identifier", "name": "filtersRow", "range": [ - 11342, - 11352 + 8784, + 8794 ], "loc": { "start": { - "line": 365, + "line": 294, "column": 12 }, "end": { - "line": 365, + "line": 294, "column": 22 } } @@ -24402,31 +15661,31 @@ "type": "Identifier", "name": "style", "range": [ - 11353, - 11358 + 8795, + 8800 ], "loc": { "start": { - "line": 365, + "line": 294, "column": 23 }, "end": { - "line": 365, + "line": 294, "column": 28 } } }, "range": [ - 11342, - 11358 + 8784, + 8800 ], "loc": { "start": { - "line": 365, + "line": 294, "column": 12 }, "end": { - "line": 365, + "line": 294, "column": 28 } } @@ -24435,31 +15694,31 @@ "type": "Identifier", "name": "display", "range": [ - 11359, - 11366 + 8801, + 8808 ], "loc": { "start": { - "line": 365, + "line": 294, "column": 29 }, "end": { - "line": 365, + "line": 294, "column": 36 } } }, "range": [ - 11342, - 11366 + 8784, + 8808 ], "loc": { "start": { - "line": 365, + "line": 294, "column": 12 }, "end": { - "line": 365, + "line": 294, "column": 36 } } @@ -24468,78 +15727,78 @@ "type": "Identifier", "name": "NONE", "range": [ - 11369, - 11373 + 8811, + 8815 ], "loc": { "start": { - "line": 365, + "line": 294, "column": 39 }, "end": { - "line": 365, + "line": 294, "column": 43 } } }, "range": [ - 11342, - 11373 + 8784, + 8815 ], "loc": { "start": { - "line": 365, + "line": 294, "column": 12 }, "end": { - "line": 365, + "line": 294, "column": 43 } } }, "range": [ - 11342, - 11374 + 8784, + 8816 ], "loc": { "start": { - "line": 365, + "line": 294, "column": 12 }, "end": { - "line": 365, + "line": 294, "column": 44 } } } ], "range": [ - 11328, - 11384 + 8770, + 8826 ], "loc": { "start": { - "line": 364, + "line": 293, "column": 29 }, "end": { - "line": 366, + "line": 295, "column": 9 } } }, "alternate": null, "range": [ - 11307, - 11384 + 8749, + 8826 ], "loc": { "start": { - "line": 364, + "line": 293, "column": 8 }, "end": { - "line": 366, + "line": 295, "column": 9 } } @@ -24556,16 +15815,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 11398, - 11401 + 8840, + 8843 ], "loc": { "start": { - "line": 368, + "line": 297, "column": 12 }, "end": { - "line": 368, + "line": 297, "column": 15 } } @@ -24574,31 +15833,31 @@ "type": "Identifier", "name": "clientWidth", "range": [ - 11402, - 11413 + 8844, + 8855 ], "loc": { "start": { - "line": 368, + "line": 297, "column": 16 }, "end": { - "line": 368, + "line": 297, "column": 27 } } }, "range": [ - 11398, - 11413 + 8840, + 8855 ], "loc": { "start": { - "line": 368, + "line": 297, "column": 12 }, "end": { - "line": 368, + "line": 297, "column": 27 } } @@ -24612,16 +15871,16 @@ "object": { "type": "ThisExpression", "range": [ - 11418, - 11422 + 8860, + 8864 ], "loc": { "start": { - "line": 368, + "line": 297, "column": 32 }, "end": { - "line": 368, + "line": 297, "column": 36 } } @@ -24630,31 +15889,31 @@ "type": "Identifier", "name": "headTbl", "range": [ - 11423, - 11430 + 8865, + 8872 ], "loc": { "start": { - "line": 368, + "line": 297, "column": 37 }, "end": { - "line": 368, + "line": 297, "column": 44 } } }, "range": [ - 11418, - 11430 + 8860, + 8872 ], "loc": { "start": { - "line": 368, + "line": 297, "column": 32 }, "end": { - "line": 368, + "line": 297, "column": 44 } } @@ -24663,46 +15922,46 @@ "type": "Identifier", "name": "clientWidth", "range": [ - 11431, - 11442 + 8873, + 8884 ], "loc": { "start": { - "line": 368, + "line": 297, "column": 45 }, "end": { - "line": 368, + "line": 297, "column": 56 } } }, "range": [ - 11418, - 11442 + 8860, + 8884 ], "loc": { "start": { - "line": 368, + "line": 297, "column": 32 }, "end": { - "line": 368, + "line": 297, "column": 56 } } }, "range": [ - 11398, - 11442 + 8840, + 8884 ], "loc": { "start": { - "line": 368, + "line": 297, "column": 12 }, "end": { - "line": 368, + "line": 297, "column": 56 } } @@ -24725,16 +15984,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 11458, - 11461 + 8900, + 8903 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 12 }, "end": { - "line": 369, + "line": 298, "column": 15 } } @@ -24743,31 +16002,31 @@ "type": "Identifier", "name": "style", "range": [ - 11462, - 11467 + 8904, + 8909 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 16 }, "end": { - "line": 369, + "line": 298, "column": 21 } } }, "range": [ - 11458, - 11467 + 8900, + 8909 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 12 }, "end": { - "line": 369, + "line": 298, "column": 21 } } @@ -24776,31 +16035,31 @@ "type": "Identifier", "name": "width", "range": [ - 11468, - 11473 + 8910, + 8915 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 22 }, "end": { - "line": 369, + "line": 298, "column": 27 } } }, "range": [ - 11458, - 11473 + 8900, + 8915 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 12 }, "end": { - "line": 369, + "line": 298, "column": 27 } } @@ -24817,16 +16076,16 @@ "object": { "type": "ThisExpression", "range": [ - 11476, - 11480 + 8918, + 8922 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 30 }, "end": { - "line": 369, + "line": 298, "column": 34 } } @@ -24835,31 +16094,31 @@ "type": "Identifier", "name": "headTbl", "range": [ - 11481, - 11488 + 8923, + 8930 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 35 }, "end": { - "line": 369, + "line": 298, "column": 42 } } }, "range": [ - 11476, - 11488 + 8918, + 8930 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 30 }, "end": { - "line": 369, + "line": 298, "column": 42 } } @@ -24868,31 +16127,31 @@ "type": "Identifier", "name": "clientWidth", "range": [ - 11489, - 11500 + 8931, + 8942 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 43 }, "end": { - "line": 369, + "line": 298, "column": 54 } } }, "range": [ - 11476, - 11500 + 8918, + 8942 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 30 }, "end": { - "line": 369, + "line": 298, "column": 54 } } @@ -24902,93 +16161,93 @@ "value": "px", "raw": "'px'", "range": [ - 11503, - 11507 + 8945, + 8949 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 57 }, "end": { - "line": 369, + "line": 298, "column": 61 } } }, "range": [ - 11476, - 11507 + 8918, + 8949 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 30 }, "end": { - "line": 369, + "line": 298, "column": 61 } } }, "range": [ - 11458, - 11507 + 8900, + 8949 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 12 }, "end": { - "line": 369, + "line": 298, "column": 61 } } }, "range": [ - 11458, - 11508 + 8900, + 8950 ], "loc": { "start": { - "line": 369, + "line": 298, "column": 12 }, "end": { - "line": 369, + "line": 298, "column": 62 } } } ], "range": [ - 11444, - 11518 + 8886, + 8960 ], "loc": { "start": { - "line": 368, + "line": 297, "column": 58 }, "end": { - "line": 370, + "line": 299, "column": 9 } } }, "alternate": null, "range": [ - 11394, - 11518 + 8836, + 8960 ], "loc": { "start": { - "line": 368, + "line": 297, "column": 8 }, "end": { - "line": 370, + "line": 299, "column": 9 } } @@ -25004,16 +16263,16 @@ "object": { "type": "ThisExpression", "range": [ - 11528, - 11532 + 8970, + 8974 ], "loc": { "start": { - "line": 372, + "line": 301, "column": 8 }, "end": { - "line": 372, + "line": 301, "column": 12 } } @@ -25022,31 +16281,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 11533, - 11544 + 8975, + 8986 ], "loc": { "start": { - "line": 372, + "line": 301, "column": 13 }, "end": { - "line": 372, + "line": 301, "column": 24 } } }, "range": [ - 11528, - 11544 + 8970, + 8986 ], "loc": { "start": { - "line": 372, + "line": 301, "column": 8 }, "end": { - "line": 372, + "line": 301, "column": 24 } } @@ -25056,62 +16315,62 @@ "value": true, "raw": "true", "range": [ - 11547, - 11551 + 8989, + 8993 ], "loc": { "start": { - "line": 372, + "line": 301, "column": 27 }, "end": { - "line": 372, + "line": 301, "column": 31 } } }, "range": [ - 11528, - 11551 + 8970, + 8993 ], "loc": { "start": { - "line": 372, + "line": 301, "column": 8 }, "end": { - "line": 372, + "line": 301, "column": 31 } } }, "range": [ - 11528, - 11552 + 8970, + 8994 ], "loc": { "start": { - "line": 372, + "line": 301, "column": 8 }, "end": { - "line": 372, + "line": 301, "column": 32 } } } ], "range": [ - 3984, - 11558 + 4181, + 9000 ], "loc": { "start": { - "line": 155, + "line": 161, "column": 11 }, "end": { - "line": 373, + "line": 302, "column": 5 } } @@ -25119,16 +16378,16 @@ "generator": false, "expression": false, "range": [ - 3981, - 11558 + 4178, + 9000 ], "loc": { "start": { - "line": 155, + "line": 161, "column": 8 }, "end": { - "line": 373, + "line": 302, "column": 5 } } @@ -25136,34 +16395,854 @@ "kind": "method", "computed": false, "range": [ - 3977, - 11558 + 4174, + 9000 ], "loc": { "start": { - "line": 155, + "line": 161, "column": 4 }, "end": { - "line": 373, + "line": 302, "column": 5 } }, "leadingComments": [ { "type": "Block", - "value": "*\n * Generates a grid with fixed headers\n *\n * TODO: reduce size of init by extracting single purposed methods\n ", + "value": "*\n * Generates a grid with fixed headers\n * TODO: reduce size of init by extracting single purposed methods\n ", "range": [ - 3840, - 3972 + 4044, + 4169 ], "loc": { "start": { - "line": 150, + "line": 157, "column": 4 }, "end": { - "line": 154, + "line": 160, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Overrides TableFilter instance properties to adjust to grid layout mode\n * @private\n ", + "range": [ + 9006, + 9112 + ], + "loc": { + "start": { + "line": 304, + "column": 4 + }, + "end": { + "line": 307, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setOverrides", + "range": [ + 9117, + 9129 + ], + "loc": { + "start": { + "line": 308, + "column": 4 + }, + "end": { + "line": 308, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 9146, + 9148 + ], + "loc": { + "start": { + "line": 309, + "column": 12 + }, + "end": { + "line": 309, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9151, + 9155 + ], + "loc": { + "start": { + "line": 309, + "column": 17 + }, + "end": { + "line": 309, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 9156, + 9158 + ], + "loc": { + "start": { + "line": 309, + "column": 22 + }, + "end": { + "line": 309, + "column": 24 + } + } + }, + "range": [ + 9151, + 9158 + ], + "loc": { + "start": { + "line": 309, + "column": 17 + }, + "end": { + "line": 309, + "column": 24 + } + } + }, + "range": [ + 9146, + 9158 + ], + "loc": { + "start": { + "line": 309, + "column": 12 + }, + "end": { + "line": 309, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 9142, + 9159 + ], + "loc": { + "start": { + "line": 309, + "column": 8 + }, + "end": { + "line": 309, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9168, + 9170 + ], + "loc": { + "start": { + "line": 310, + "column": 8 + }, + "end": { + "line": 310, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 9171, + 9177 + ], + "loc": { + "start": { + "line": 310, + "column": 11 + }, + "end": { + "line": 310, + "column": 17 + } + } + }, + "range": [ + 9168, + 9177 + ], + "loc": { + "start": { + "line": 310, + "column": 8 + }, + "end": { + "line": 310, + "column": 17 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNull", + "range": [ + 9180, + 9186 + ], + "loc": { + "start": { + "line": 310, + "column": 20 + }, + "end": { + "line": 310, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9187, + 9189 + ], + "loc": { + "start": { + "line": 310, + "column": 27 + }, + "end": { + "line": 310, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "startRow", + "range": [ + 9190, + 9198 + ], + "loc": { + "start": { + "line": 310, + "column": 30 + }, + "end": { + "line": 310, + "column": 38 + } + } + }, + "range": [ + 9187, + 9198 + ], + "loc": { + "start": { + "line": 310, + "column": 27 + }, + "end": { + "line": 310, + "column": 38 + } + } + } + ], + "range": [ + 9180, + 9199 + ], + "loc": { + "start": { + "line": 310, + "column": 20 + }, + "end": { + "line": 310, + "column": 39 + } + } + }, + "consequent": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 9202, + 9203 + ], + "loc": { + "start": { + "line": 310, + "column": 42 + }, + "end": { + "line": 310, + "column": 43 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9206, + 9208 + ], + "loc": { + "start": { + "line": 310, + "column": 46 + }, + "end": { + "line": 310, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "startRow", + "range": [ + 9209, + 9217 + ], + "loc": { + "start": { + "line": 310, + "column": 49 + }, + "end": { + "line": 310, + "column": 57 + } + } + }, + "range": [ + 9206, + 9217 + ], + "loc": { + "start": { + "line": 310, + "column": 46 + }, + "end": { + "line": 310, + "column": 57 + } + } + }, + "range": [ + 9180, + 9217 + ], + "loc": { + "start": { + "line": 310, + "column": 20 + }, + "end": { + "line": 310, + "column": 57 + } + } + }, + "range": [ + 9168, + 9217 + ], + "loc": { + "start": { + "line": 310, + "column": 8 + }, + "end": { + "line": 310, + "column": 57 + } + } + }, + "range": [ + 9168, + 9218 + ], + "loc": { + "start": { + "line": 310, + "column": 8 + }, + "end": { + "line": 310, + "column": 58 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9227, + 9229 + ], + "loc": { + "start": { + "line": 311, + "column": 8 + }, + "end": { + "line": 311, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 9230, + 9240 + ], + "loc": { + "start": { + "line": 311, + "column": 11 + }, + "end": { + "line": 311, + "column": 21 + } + } + }, + "range": [ + 9227, + 9240 + ], + "loc": { + "start": { + "line": 311, + "column": 8 + }, + "end": { + "line": 311, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 9243, + 9244 + ], + "loc": { + "start": { + "line": 311, + "column": 24 + }, + "end": { + "line": 311, + "column": 25 + } + } + }, + "range": [ + 9227, + 9244 + ], + "loc": { + "start": { + "line": 311, + "column": 8 + }, + "end": { + "line": 311, + "column": 25 + } + } + }, + "range": [ + 9227, + 9245 + ], + "loc": { + "start": { + "line": 311, + "column": 8 + }, + "end": { + "line": 311, + "column": 26 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9254, + 9256 + ], + "loc": { + "start": { + "line": 312, + "column": 8 + }, + "end": { + "line": 312, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersRowIndex", + "range": [ + 9257, + 9272 + ], + "loc": { + "start": { + "line": 312, + "column": 11 + }, + "end": { + "line": 312, + "column": 26 + } + } + }, + "range": [ + 9254, + 9272 + ], + "loc": { + "start": { + "line": 312, + "column": 8 + }, + "end": { + "line": 312, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 9275, + 9276 + ], + "loc": { + "start": { + "line": 312, + "column": 29 + }, + "end": { + "line": 312, + "column": 30 + } + } + }, + "range": [ + 9254, + 9276 + ], + "loc": { + "start": { + "line": 312, + "column": 8 + }, + "end": { + "line": 312, + "column": 30 + } + } + }, + "range": [ + 9254, + 9277 + ], + "loc": { + "start": { + "line": 312, + "column": 8 + }, + "end": { + "line": 312, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9286, + 9288 + ], + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 313, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExternalFlt", + "range": [ + 9289, + 9302 + ], + "loc": { + "start": { + "line": 313, + "column": 11 + }, + "end": { + "line": 313, + "column": 24 + } + } + }, + "range": [ + 9286, + 9302 + ], + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 313, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 9305, + 9309 + ], + "loc": { + "start": { + "line": 313, + "column": 27 + }, + "end": { + "line": 313, + "column": 31 + } + } + }, + "range": [ + 9286, + 9309 + ], + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 313, + "column": 31 + } + } + }, + "range": [ + 9286, + 9310 + ], + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 313, + "column": 32 + } + } + } + ], + "range": [ + 9132, + 9316 + ], + "loc": { + "start": { + "line": 308, + "column": 19 + }, + "end": { + "line": 314, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9129, + 9316 + ], + "loc": { + "start": { + "line": 308, + "column": 16 + }, + "end": { + "line": 314, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9117, + 9316 + ], + "loc": { + "start": { + "line": 308, + "column": 4 + }, + "end": { + "line": 314, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Overrides TableFilter instance properties to adjust to grid layout mode\n * @private\n ", + "range": [ + 9006, + 9112 + ], + "loc": { + "start": { + "line": 304, + "column": 4 + }, + "end": { + "line": 307, "column": 7 } } @@ -25174,16 +17253,16 @@ "type": "Block", "value": "*\n * Set grid-layout default column widths if column widths are not defined\n * @private\n ", "range": [ - 11564, - 11669 + 9322, + 9427 ], "loc": { "start": { - "line": 375, + "line": 316, "column": 4 }, "end": { - "line": 378, + "line": 319, "column": 7 } } @@ -25197,16 +17276,16 @@ "type": "Identifier", "name": "setDefaultColWidths", "range": [ - 11674, - 11693 + 9432, + 9451 ], "loc": { "start": { - "line": 379, + "line": 320, "column": 4 }, "end": { - "line": 379, + "line": 320, "column": 23 } } @@ -25227,16 +17306,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11710, - 11712 + 9468, + 9470 ], "loc": { "start": { - "line": 380, + "line": 321, "column": 12 }, "end": { - "line": 380, + "line": 321, "column": 14 } } @@ -25247,16 +17326,16 @@ "object": { "type": "ThisExpression", "range": [ - 11715, - 11719 + 9473, + 9477 ], "loc": { "start": { - "line": 380, + "line": 321, "column": 17 }, "end": { - "line": 380, + "line": 321, "column": 21 } } @@ -25265,46 +17344,46 @@ "type": "Identifier", "name": "tf", "range": [ - 11720, - 11722 + 9478, + 9480 ], "loc": { "start": { - "line": 380, + "line": 321, "column": 22 }, "end": { - "line": 380, + "line": 321, "column": 24 } } }, "range": [ - 11715, - 11722 + 9473, + 9480 ], "loc": { "start": { - "line": 380, + "line": 321, "column": 17 }, "end": { - "line": 380, + "line": 321, "column": 24 } } }, "range": [ - 11710, - 11722 + 9468, + 9480 ], "loc": { "start": { - "line": 380, + "line": 321, "column": 12 }, "end": { - "line": 380, + "line": 321, "column": 24 } } @@ -25312,16 +17391,16 @@ ], "kind": "let", "range": [ - 11706, - 11723 + 9464, + 9481 ], "loc": { "start": { - "line": 380, + "line": 321, "column": 8 }, "end": { - "line": 380, + "line": 321, "column": 25 } } @@ -25335,16 +17414,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11736, - 11738 + 9494, + 9496 ], "loc": { "start": { - "line": 381, + "line": 322, "column": 12 }, "end": { - "line": 381, + "line": 322, "column": 14 } } @@ -25353,31 +17432,31 @@ "type": "Identifier", "name": "hasColWidths", "range": [ - 11739, - 11751 + 9497, + 9509 ], "loc": { "start": { - "line": 381, + "line": 322, "column": 15 }, "end": { - "line": 381, + "line": 322, "column": 27 } } }, "range": [ - 11736, - 11751 + 9494, + 9509 ], "loc": { "start": { - "line": 381, + "line": 322, "column": 12 }, "end": { - "line": 381, + "line": 322, "column": 27 } } @@ -25389,48 +17468,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 11767, - 11774 + 9525, + 9532 ], "loc": { "start": { - "line": 382, + "line": 323, "column": 12 }, "end": { - "line": 382, + "line": 323, "column": 19 } } } ], "range": [ - 11753, - 11784 + 9511, + 9542 ], "loc": { "start": { - "line": 381, + "line": 322, "column": 29 }, "end": { - "line": 383, + "line": 324, "column": 9 } } }, "alternate": null, "range": [ - 11732, - 11784 + 9490, + 9542 ], "loc": { "start": { - "line": 381, + "line": 322, "column": 8 }, "end": { - "line": 383, + "line": 324, "column": 9 } } @@ -25446,16 +17525,16 @@ "type": "Identifier", "name": "k", "range": [ - 11802, - 11803 + 9560, + 9561 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 17 }, "end": { - "line": 384, + "line": 325, "column": 18 } } @@ -25465,31 +17544,31 @@ "value": 0, "raw": "0", "range": [ - 11806, - 11807 + 9564, + 9565 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 21 }, "end": { - "line": 384, + "line": 325, "column": 22 } } }, "range": [ - 11802, - 11807 + 9560, + 9565 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 17 }, "end": { - "line": 384, + "line": 325, "column": 22 } } @@ -25500,16 +17579,16 @@ "type": "Identifier", "name": "len", "range": [ - 11809, - 11812 + 9567, + 9570 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 24 }, "end": { - "line": 384, + "line": 325, "column": 27 } } @@ -25523,16 +17602,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11815, - 11817 + 9573, + 9575 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 30 }, "end": { - "line": 384, + "line": 325, "column": 32 } } @@ -25541,62 +17620,62 @@ "type": "Identifier", "name": "getCellsNb", "range": [ - 11818, - 11828 + 9576, + 9586 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 33 }, "end": { - "line": 384, + "line": 325, "column": 43 } } }, "range": [ - 11815, - 11828 + 9573, + 9586 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 30 }, "end": { - "line": 384, + "line": 325, "column": 43 } } }, "arguments": [], "range": [ - 11815, - 11830 + 9573, + 9588 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 30 }, "end": { - "line": 384, + "line": 325, "column": 45 } } }, "range": [ - 11809, - 11830 + 9567, + 9588 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 24 }, "end": { - "line": 384, + "line": 325, "column": 45 } } @@ -25604,16 +17683,16 @@ ], "kind": "let", "range": [ - 11798, - 11830 + 9556, + 9588 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 13 }, "end": { - "line": 384, + "line": 325, "column": 45 } } @@ -25625,16 +17704,16 @@ "type": "Identifier", "name": "k", "range": [ - 11832, - 11833 + 9590, + 9591 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 47 }, "end": { - "line": 384, + "line": 325, "column": 48 } } @@ -25643,31 +17722,31 @@ "type": "Identifier", "name": "len", "range": [ - 11836, - 11839 + 9594, + 9597 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 51 }, "end": { - "line": 384, + "line": 325, "column": 54 } } }, "range": [ - 11832, - 11839 + 9590, + 9597 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 47 }, "end": { - "line": 384, + "line": 325, "column": 54 } } @@ -25679,32 +17758,32 @@ "type": "Identifier", "name": "k", "range": [ - 11841, - 11842 + 9599, + 9600 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 56 }, "end": { - "line": 384, + "line": 325, "column": 57 } } }, "prefix": false, "range": [ - 11841, - 11844 + 9599, + 9602 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 56 }, "end": { - "line": 384, + "line": 325, "column": 59 } } @@ -25721,32 +17800,32 @@ "type": "Identifier", "name": "colW", "range": [ - 11864, - 11868 + 9622, + 9626 ], "loc": { "start": { - "line": 385, + "line": 326, "column": 16 }, "end": { - "line": 385, + "line": 326, "column": 20 } } }, "init": null, "range": [ - 11864, - 11868 + 9622, + 9626 ], "loc": { "start": { - "line": 385, + "line": 326, "column": 16 }, "end": { - "line": 385, + "line": 326, "column": 20 } } @@ -25754,16 +17833,16 @@ ], "kind": "let", "range": [ - 11860, - 11869 + 9618, + 9627 ], "loc": { "start": { - "line": 385, + "line": 326, "column": 12 }, "end": { - "line": 385, + "line": 326, "column": 21 } } @@ -25777,16 +17856,16 @@ "type": "Identifier", "name": "cell", "range": [ - 11886, - 11890 + 9644, + 9648 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 16 }, "end": { - "line": 386, + "line": 327, "column": 20 } } @@ -25810,16 +17889,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11893, - 11895 + 9651, + 9653 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 23 }, "end": { - "line": 386, + "line": 327, "column": 25 } } @@ -25828,31 +17907,31 @@ "type": "Identifier", "name": "tbl", "range": [ - 11896, - 11899 + 9654, + 9657 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 26 }, "end": { - "line": 386, + "line": 327, "column": 29 } } }, "range": [ - 11893, - 11899 + 9651, + 9657 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 23 }, "end": { - "line": 386, + "line": 327, "column": 29 } } @@ -25861,31 +17940,31 @@ "type": "Identifier", "name": "rows", "range": [ - 11900, - 11904 + 9658, + 9662 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 30 }, "end": { - "line": 386, + "line": 327, "column": 34 } } }, "range": [ - 11893, - 11904 + 9651, + 9662 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 23 }, "end": { - "line": 386, + "line": 327, "column": 34 } } @@ -25899,16 +17978,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11905, - 11907 + 9663, + 9665 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 35 }, "end": { - "line": 386, + "line": 327, "column": 37 } } @@ -25917,62 +17996,62 @@ "type": "Identifier", "name": "getHeadersRowIndex", "range": [ - 11908, - 11926 + 9666, + 9684 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 38 }, "end": { - "line": 386, + "line": 327, "column": 56 } } }, "range": [ - 11905, - 11926 + 9663, + 9684 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 35 }, "end": { - "line": 386, + "line": 327, "column": 56 } } }, "arguments": [], "range": [ - 11905, - 11928 + 9663, + 9686 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 35 }, "end": { - "line": 386, + "line": 327, "column": 58 } } }, "range": [ - 11893, - 11929 + 9651, + 9687 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 23 }, "end": { - "line": 386, + "line": 327, "column": 59 } } @@ -25981,31 +18060,31 @@ "type": "Identifier", "name": "cells", "range": [ - 11930, - 11935 + 9688, + 9693 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 60 }, "end": { - "line": 386, + "line": 327, "column": 65 } } }, "range": [ - 11893, - 11935 + 9651, + 9693 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 23 }, "end": { - "line": 386, + "line": 327, "column": 65 } } @@ -26014,46 +18093,46 @@ "type": "Identifier", "name": "k", "range": [ - 11936, - 11937 + 9694, + 9695 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 66 }, "end": { - "line": 386, + "line": 327, "column": 67 } } }, "range": [ - 11893, - 11938 + 9651, + 9696 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 23 }, "end": { - "line": 386, + "line": 327, "column": 68 } } }, "range": [ - 11886, - 11938 + 9644, + 9696 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 16 }, "end": { - "line": 386, + "line": 327, "column": 68 } } @@ -26061,16 +18140,16 @@ ], "kind": "let", "range": [ - 11882, - 11939 + 9640, + 9697 ], "loc": { "start": { - "line": 386, + "line": 327, "column": 12 }, "end": { - "line": 386, + "line": 327, "column": 69 } } @@ -26087,16 +18166,16 @@ "type": "Identifier", "name": "cell", "range": [ - 11956, - 11960 + 9714, + 9718 ], "loc": { "start": { - "line": 387, + "line": 328, "column": 16 }, "end": { - "line": 387, + "line": 328, "column": 20 } } @@ -26105,31 +18184,31 @@ "type": "Identifier", "name": "width", "range": [ - 11961, - 11966 + 9719, + 9724 ], "loc": { "start": { - "line": 387, + "line": 328, "column": 21 }, "end": { - "line": 387, + "line": 328, "column": 26 } } }, "range": [ - 11956, - 11966 + 9714, + 9724 ], "loc": { "start": { - "line": 387, + "line": 328, "column": 16 }, "end": { - "line": 387, + "line": 328, "column": 26 } } @@ -26139,31 +18218,31 @@ "value": "", "raw": "''", "range": [ - 11971, - 11973 + 9729, + 9731 ], "loc": { "start": { - "line": 387, + "line": 328, "column": 31 }, "end": { - "line": 387, + "line": 328, "column": 33 } } }, "range": [ - 11956, - 11973 + 9714, + 9731 ], "loc": { "start": { - "line": 387, + "line": 328, "column": 16 }, "end": { - "line": 387, + "line": 328, "column": 33 } } @@ -26180,16 +18259,16 @@ "type": "Identifier", "name": "colW", "range": [ - 11993, - 11997 + 9751, + 9755 ], "loc": { "start": { - "line": 388, + "line": 329, "column": 16 }, "end": { - "line": 388, + "line": 329, "column": 20 } } @@ -26201,16 +18280,16 @@ "type": "Identifier", "name": "cell", "range": [ - 12000, - 12004 + 9758, + 9762 ], "loc": { "start": { - "line": 388, + "line": 329, "column": 23 }, "end": { - "line": 388, + "line": 329, "column": 27 } } @@ -26219,77 +18298,77 @@ "type": "Identifier", "name": "width", "range": [ - 12005, - 12010 + 9763, + 9768 ], "loc": { "start": { - "line": 388, + "line": 329, "column": 28 }, "end": { - "line": 388, + "line": 329, "column": 33 } } }, "range": [ - 12000, - 12010 + 9758, + 9768 ], "loc": { "start": { - "line": 388, + "line": 329, "column": 23 }, "end": { - "line": 388, + "line": 329, "column": 33 } } }, "range": [ - 11993, - 12010 + 9751, + 9768 ], "loc": { "start": { - "line": 388, + "line": 329, "column": 16 }, "end": { - "line": 388, + "line": 329, "column": 33 } } }, "range": [ - 11993, - 12011 + 9751, + 9769 ], "loc": { "start": { - "line": 388, + "line": 329, "column": 16 }, "end": { - "line": 388, + "line": 329, "column": 34 } } } ], "range": [ - 11975, - 12025 + 9733, + 9783 ], "loc": { "start": { - "line": 387, + "line": 328, "column": 35 }, "end": { - "line": 389, + "line": 330, "column": 13 } } @@ -26309,16 +18388,16 @@ "type": "Identifier", "name": "cell", "range": [ - 12035, - 12039 + 9793, + 9797 ], "loc": { "start": { - "line": 389, + "line": 330, "column": 23 }, "end": { - "line": 389, + "line": 330, "column": 27 } } @@ -26327,31 +18406,31 @@ "type": "Identifier", "name": "style", "range": [ - 12040, - 12045 + 9798, + 9803 ], "loc": { "start": { - "line": 389, + "line": 330, "column": 28 }, "end": { - "line": 389, + "line": 330, "column": 33 } } }, "range": [ - 12035, - 12045 + 9793, + 9803 ], "loc": { "start": { - "line": 389, + "line": 330, "column": 23 }, "end": { - "line": 389, + "line": 330, "column": 33 } } @@ -26360,31 +18439,31 @@ "type": "Identifier", "name": "width", "range": [ - 12046, - 12051 + 9804, + 9809 ], "loc": { "start": { - "line": 389, + "line": 330, "column": 34 }, "end": { - "line": 389, + "line": 330, "column": 39 } } }, "range": [ - 12035, - 12051 + 9793, + 9809 ], "loc": { "start": { - "line": 389, + "line": 330, "column": 23 }, "end": { - "line": 389, + "line": 330, "column": 39 } } @@ -26394,31 +18473,31 @@ "value": "", "raw": "''", "range": [ - 12056, - 12058 + 9814, + 9816 ], "loc": { "start": { - "line": 389, + "line": 330, "column": 44 }, "end": { - "line": 389, + "line": 330, "column": 46 } } }, "range": [ - 12035, - 12058 + 9793, + 9816 ], "loc": { "start": { - "line": 389, + "line": 330, "column": 23 }, "end": { - "line": 389, + "line": 330, "column": 46 } } @@ -26435,16 +18514,16 @@ "type": "Identifier", "name": "colW", "range": [ - 12078, - 12082 + 9836, + 9840 ], "loc": { "start": { - "line": 390, + "line": 331, "column": 16 }, "end": { - "line": 390, + "line": 331, "column": 20 } } @@ -26455,16 +18534,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 12085, - 12093 + 9843, + 9851 ], "loc": { "start": { - "line": 390, + "line": 331, "column": 23 }, "end": { - "line": 390, + "line": 331, "column": 31 } } @@ -26480,16 +18559,16 @@ "type": "Identifier", "name": "cell", "range": [ - 12094, - 12098 + 9852, + 9856 ], "loc": { "start": { - "line": 390, + "line": 331, "column": 32 }, "end": { - "line": 390, + "line": 331, "column": 36 } } @@ -26498,31 +18577,31 @@ "type": "Identifier", "name": "style", "range": [ - 12099, - 12104 + 9857, + 9862 ], "loc": { "start": { - "line": 390, + "line": 331, "column": 37 }, "end": { - "line": 390, + "line": 331, "column": 42 } } }, "range": [ - 12094, - 12104 + 9852, + 9862 ], "loc": { "start": { - "line": 390, + "line": 331, "column": 32 }, "end": { - "line": 390, + "line": 331, "column": 42 } } @@ -26531,31 +18610,31 @@ "type": "Identifier", "name": "width", "range": [ - 12105, - 12110 + 9863, + 9868 ], "loc": { "start": { - "line": 390, + "line": 331, "column": 43 }, "end": { - "line": 390, + "line": 331, "column": 48 } } }, "range": [ - 12094, - 12110 + 9852, + 9868 ], "loc": { "start": { - "line": 390, + "line": 331, "column": 32 }, "end": { - "line": 390, + "line": 331, "column": 48 } } @@ -26565,78 +18644,78 @@ "value": 10, "raw": "10", "range": [ - 12112, - 12114 + 9870, + 9872 ], "loc": { "start": { - "line": 390, + "line": 331, "column": 50 }, "end": { - "line": 390, + "line": 331, "column": 52 } } } ], "range": [ - 12085, - 12115 + 9843, + 9873 ], "loc": { "start": { - "line": 390, + "line": 331, "column": 23 }, "end": { - "line": 390, + "line": 331, "column": 53 } } }, "range": [ - 12078, - 12115 + 9836, + 9873 ], "loc": { "start": { - "line": 390, + "line": 331, "column": 16 }, "end": { - "line": 390, + "line": 331, "column": 53 } } }, "range": [ - 12078, - 12116 + 9836, + 9874 ], "loc": { "start": { - "line": 390, + "line": 331, "column": 16 }, "end": { - "line": 390, + "line": 331, "column": 54 } } } ], "range": [ - 12060, - 12130 + 9818, + 9888 ], "loc": { "start": { - "line": 389, + "line": 330, "column": 48 }, "end": { - "line": 391, + "line": 332, "column": 13 } } @@ -26653,16 +18732,16 @@ "type": "Identifier", "name": "colW", "range": [ - 12154, - 12158 + 9912, + 9916 ], "loc": { "start": { - "line": 392, + "line": 333, "column": 16 }, "end": { - "line": 392, + "line": 333, "column": 20 } } @@ -26673,16 +18752,16 @@ "object": { "type": "ThisExpression", "range": [ - 12161, - 12165 + 9919, + 9923 ], "loc": { "start": { - "line": 392, + "line": 333, "column": 23 }, "end": { - "line": 392, + "line": 333, "column": 27 } } @@ -26691,107 +18770,107 @@ "type": "Identifier", "name": "defaultColWidth", "range": [ - 12166, - 12181 + 9924, + 9939 ], "loc": { "start": { - "line": 392, + "line": 333, "column": 28 }, "end": { - "line": 392, + "line": 333, "column": 43 } } }, "range": [ - 12161, - 12181 + 9919, + 9939 ], "loc": { "start": { - "line": 392, + "line": 333, "column": 23 }, "end": { - "line": 392, + "line": 333, "column": 43 } } }, "range": [ - 12154, - 12181 + 9912, + 9939 ], "loc": { "start": { - "line": 392, + "line": 333, "column": 16 }, "end": { - "line": 392, + "line": 333, "column": 43 } } }, "range": [ - 12154, - 12182 + 9912, + 9940 ], "loc": { "start": { - "line": 392, + "line": 333, "column": 16 }, "end": { - "line": 392, + "line": 333, "column": 44 } } } ], "range": [ - 12136, - 12196 + 9894, + 9954 ], "loc": { "start": { - "line": 391, + "line": 332, "column": 19 }, "end": { - "line": 393, + "line": 334, "column": 13 } } }, "range": [ - 12031, - 12196 + 9789, + 9954 ], "loc": { "start": { - "line": 389, + "line": 330, "column": 19 }, "end": { - "line": 393, + "line": 334, "column": 13 } } }, "range": [ - 11952, - 12196 + 9710, + 9954 ], "loc": { "start": { - "line": 387, + "line": 328, "column": 12 }, "end": { - "line": 393, + "line": 334, "column": 13 } } @@ -26811,16 +18890,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12209, - 12211 + 9967, + 9969 ], "loc": { "start": { - "line": 394, + "line": 335, "column": 12 }, "end": { - "line": 394, + "line": 335, "column": 14 } } @@ -26829,31 +18908,31 @@ "type": "Identifier", "name": "colWidths", "range": [ - 12212, - 12221 + 9970, + 9979 ], "loc": { "start": { - "line": 394, + "line": 335, "column": 15 }, "end": { - "line": 394, + "line": 335, "column": 24 } } }, "range": [ - 12209, - 12221 + 9967, + 9979 ], "loc": { "start": { - "line": 394, + "line": 335, "column": 12 }, "end": { - "line": 394, + "line": 335, "column": 24 } } @@ -26862,31 +18941,31 @@ "type": "Identifier", "name": "k", "range": [ - 12222, - 12223 + 9980, + 9981 ], "loc": { "start": { - "line": 394, + "line": 335, "column": 25 }, "end": { - "line": 394, + "line": 335, "column": 26 } } }, "range": [ - 12209, - 12224 + 9967, + 9982 ], "loc": { "start": { - "line": 394, + "line": 335, "column": 12 }, "end": { - "line": 394, + "line": 335, "column": 27 } } @@ -26895,77 +18974,77 @@ "type": "Identifier", "name": "colW", "range": [ - 12227, - 12231 + 9985, + 9989 ], "loc": { "start": { - "line": 394, + "line": 335, "column": 30 }, "end": { - "line": 394, + "line": 335, "column": 34 } } }, "range": [ - 12209, - 12231 + 9967, + 9989 ], "loc": { "start": { - "line": 394, + "line": 335, "column": 12 }, "end": { - "line": 394, + "line": 335, "column": 34 } } }, "range": [ - 12209, - 12232 + 9967, + 9990 ], "loc": { "start": { - "line": 394, + "line": 335, "column": 12 }, "end": { - "line": 394, + "line": 335, "column": 35 } } } ], "range": [ - 11846, - 12242 + 9604, + 10000 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 61 }, "end": { - "line": 395, + "line": 336, "column": 9 } } }, "range": [ - 11793, - 12242 + 9551, + 10000 ], "loc": { "start": { - "line": 384, + "line": 325, "column": 8 }, "end": { - "line": 395, + "line": 336, "column": 9 } } @@ -26982,16 +19061,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12251, - 12253 + 10009, + 10011 ], "loc": { "start": { - "line": 396, + "line": 337, "column": 8 }, "end": { - "line": 396, + "line": 337, "column": 10 } } @@ -27000,31 +19079,31 @@ "type": "Identifier", "name": "hasColWidths", "range": [ - 12254, - 12266 + 10012, + 10024 ], "loc": { "start": { - "line": 396, + "line": 337, "column": 11 }, "end": { - "line": 396, + "line": 337, "column": 23 } } }, "range": [ - 12251, - 12266 + 10009, + 10024 ], "loc": { "start": { - "line": 396, + "line": 337, "column": 8 }, "end": { - "line": 396, + "line": 337, "column": 23 } } @@ -27034,46 +19113,46 @@ "value": true, "raw": "true", "range": [ - 12269, - 12273 + 10027, + 10031 ], "loc": { "start": { - "line": 396, + "line": 337, "column": 26 }, "end": { - "line": 396, + "line": 337, "column": 30 } } }, "range": [ - 12251, - 12273 + 10009, + 10031 ], "loc": { "start": { - "line": 396, + "line": 337, "column": 8 }, "end": { - "line": 396, + "line": 337, "column": 30 } } }, "range": [ - 12251, - 12274 + 10009, + 10032 ], "loc": { "start": { - "line": 396, + "line": 337, "column": 8 }, "end": { - "line": 396, + "line": 337, "column": 31 } } @@ -27089,16 +19168,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12283, - 12285 + 10041, + 10043 ], "loc": { "start": { - "line": 397, + "line": 338, "column": 8 }, "end": { - "line": 397, + "line": 338, "column": 10 } } @@ -27107,78 +19186,78 @@ "type": "Identifier", "name": "setColWidths", "range": [ - 12286, - 12298 + 10044, + 10056 ], "loc": { "start": { - "line": 397, + "line": 338, "column": 11 }, "end": { - "line": 397, + "line": 338, "column": 23 } } }, "range": [ - 12283, - 12298 + 10041, + 10056 ], "loc": { "start": { - "line": 397, + "line": 338, "column": 8 }, "end": { - "line": 397, + "line": 338, "column": 23 } } }, "arguments": [], "range": [ - 12283, - 12300 + 10041, + 10058 ], "loc": { "start": { - "line": 397, + "line": 338, "column": 8 }, "end": { - "line": 397, + "line": 338, "column": 25 } } }, "range": [ - 12283, - 12301 + 10041, + 10059 ], "loc": { "start": { - "line": 397, + "line": 338, "column": 8 }, "end": { - "line": 397, + "line": 338, "column": 26 } } } ], "range": [ - 11696, - 12307 + 9454, + 10065 ], "loc": { "start": { - "line": 379, + "line": 320, "column": 26 }, "end": { - "line": 398, + "line": 339, "column": 5 } } @@ -27186,16 +19265,16 @@ "generator": false, "expression": false, "range": [ - 11693, - 12307 + 9451, + 10065 ], "loc": { "start": { - "line": 379, + "line": 320, "column": 23 }, "end": { - "line": 398, + "line": 339, "column": 5 } } @@ -27203,16 +19282,16 @@ "kind": "method", "computed": false, "range": [ - 11674, - 12307 + 9432, + 10065 ], "loc": { "start": { - "line": 379, + "line": 320, "column": 4 }, "end": { - "line": 398, + "line": 339, "column": 5 } }, @@ -27221,8 +19300,1624 @@ "type": "Block", "value": "*\n * Set grid-layout default column widths if column widths are not defined\n * @private\n ", "range": [ - 11564, - 11669 + 9322, + 9427 + ], + "loc": { + "start": { + "line": 316, + "column": 4 + }, + "end": { + "line": 319, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initial table width\n * @returns {Number}\n * @private\n ", + "range": [ + 10071, + 10150 + ], + "loc": { + "start": { + "line": 341, + "column": 4 + }, + "end": { + "line": 345, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "initialTableWidth", + "range": [ + 10155, + 10172 + ], + "loc": { + "start": { + "line": 346, + "column": 4 + }, + "end": { + "line": 346, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tbl", + "range": [ + 10189, + 10192 + ], + "loc": { + "start": { + "line": 347, + "column": 12 + }, + "end": { + "line": 347, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10195, + 10199 + ], + "loc": { + "start": { + "line": 347, + "column": 18 + }, + "end": { + "line": 347, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 10200, + 10202 + ], + "loc": { + "start": { + "line": 347, + "column": 23 + }, + "end": { + "line": 347, + "column": 25 + } + } + }, + "range": [ + 10195, + 10202 + ], + "loc": { + "start": { + "line": 347, + "column": 18 + }, + "end": { + "line": 347, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl", + "range": [ + 10203, + 10206 + ], + "loc": { + "start": { + "line": 347, + "column": 26 + }, + "end": { + "line": 347, + "column": 29 + } + } + }, + "range": [ + 10195, + 10206 + ], + "loc": { + "start": { + "line": 347, + "column": 18 + }, + "end": { + "line": 347, + "column": 29 + } + } + }, + "range": [ + 10189, + 10206 + ], + "loc": { + "start": { + "line": 347, + "column": 12 + }, + "end": { + "line": 347, + "column": 29 + } + } + } + ], + "kind": "let", + "range": [ + 10185, + 10207 + ], + "loc": { + "start": { + "line": 347, + "column": 8 + }, + "end": { + "line": 347, + "column": 30 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "width", + "range": [ + 10220, + 10225 + ], + "loc": { + "start": { + "line": 348, + "column": 12 + }, + "end": { + "line": 348, + "column": 17 + } + } + }, + "init": null, + "range": [ + 10220, + 10225 + ], + "loc": { + "start": { + "line": 348, + "column": 12 + }, + "end": { + "line": 348, + "column": 17 + } + } + } + ], + "kind": "let", + "range": [ + 10216, + 10226 + ], + "loc": { + "start": { + "line": 348, + "column": 8 + }, + "end": { + "line": 348, + "column": 18 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "initial table width", + "range": [ + 10227, + 10248 + ], + "loc": { + "start": { + "line": 348, + "column": 19 + }, + "end": { + "line": 348, + "column": 40 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 10262, + 10265 + ], + "loc": { + "start": { + "line": 350, + "column": 12 + }, + "end": { + "line": 350, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 10266, + 10271 + ], + "loc": { + "start": { + "line": 350, + "column": 16 + }, + "end": { + "line": 350, + "column": 21 + } + } + }, + "range": [ + 10262, + 10271 + ], + "loc": { + "start": { + "line": 350, + "column": 12 + }, + "end": { + "line": 350, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 10276, + 10278 + ], + "loc": { + "start": { + "line": 350, + "column": 26 + }, + "end": { + "line": 350, + "column": 28 + } + } + }, + "range": [ + 10262, + 10278 + ], + "loc": { + "start": { + "line": 350, + "column": 12 + }, + "end": { + "line": 350, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "width", + "range": [ + 10294, + 10299 + ], + "loc": { + "start": { + "line": 351, + "column": 12 + }, + "end": { + "line": 351, + "column": 17 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 10302, + 10305 + ], + "loc": { + "start": { + "line": 351, + "column": 20 + }, + "end": { + "line": 351, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 10306, + 10311 + ], + "loc": { + "start": { + "line": 351, + "column": 24 + }, + "end": { + "line": 351, + "column": 29 + } + } + }, + "range": [ + 10302, + 10311 + ], + "loc": { + "start": { + "line": 351, + "column": 20 + }, + "end": { + "line": 351, + "column": 29 + } + } + }, + "range": [ + 10294, + 10311 + ], + "loc": { + "start": { + "line": 351, + "column": 12 + }, + "end": { + "line": 351, + "column": 29 + } + } + }, + "range": [ + 10294, + 10312 + ], + "loc": { + "start": { + "line": 351, + "column": 12 + }, + "end": { + "line": 351, + "column": 30 + } + } + } + ], + "range": [ + 10280, + 10322 + ], + "loc": { + "start": { + "line": 350, + "column": 30 + }, + "end": { + "line": 352, + "column": 9 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 10340, + 10343 + ], + "loc": { + "start": { + "line": 353, + "column": 17 + }, + "end": { + "line": 353, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 10344, + 10349 + ], + "loc": { + "start": { + "line": 353, + "column": 21 + }, + "end": { + "line": 353, + "column": 26 + } + } + }, + "range": [ + 10340, + 10349 + ], + "loc": { + "start": { + "line": 353, + "column": 17 + }, + "end": { + "line": 353, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 10350, + 10355 + ], + "loc": { + "start": { + "line": 353, + "column": 27 + }, + "end": { + "line": 353, + "column": 32 + } + } + }, + "range": [ + 10340, + 10355 + ], + "loc": { + "start": { + "line": 353, + "column": 17 + }, + "end": { + "line": 353, + "column": 32 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 10360, + 10362 + ], + "loc": { + "start": { + "line": 353, + "column": 37 + }, + "end": { + "line": 353, + "column": 39 + } + } + }, + "range": [ + 10340, + 10362 + ], + "loc": { + "start": { + "line": 353, + "column": 17 + }, + "end": { + "line": 353, + "column": 39 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "width", + "range": [ + 10378, + 10383 + ], + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 17 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 10386, + 10389 + ], + "loc": { + "start": { + "line": 354, + "column": 20 + }, + "end": { + "line": 354, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 10390, + 10395 + ], + "loc": { + "start": { + "line": 354, + "column": 24 + }, + "end": { + "line": 354, + "column": 29 + } + } + }, + "range": [ + 10386, + 10395 + ], + "loc": { + "start": { + "line": 354, + "column": 20 + }, + "end": { + "line": 354, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 10396, + 10401 + ], + "loc": { + "start": { + "line": 354, + "column": 30 + }, + "end": { + "line": 354, + "column": 35 + } + } + }, + "range": [ + 10386, + 10401 + ], + "loc": { + "start": { + "line": 354, + "column": 20 + }, + "end": { + "line": 354, + "column": 35 + } + } + }, + "range": [ + 10378, + 10401 + ], + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 35 + } + } + }, + "range": [ + 10378, + 10402 + ], + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 36 + } + } + } + ], + "range": [ + 10364, + 10412 + ], + "loc": { + "start": { + "line": 353, + "column": 41 + }, + "end": { + "line": 355, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "width", + "range": [ + 10432, + 10437 + ], + "loc": { + "start": { + "line": 356, + "column": 12 + }, + "end": { + "line": 356, + "column": 17 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 10440, + 10443 + ], + "loc": { + "start": { + "line": 356, + "column": 20 + }, + "end": { + "line": 356, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "clientWidth", + "range": [ + 10444, + 10455 + ], + "loc": { + "start": { + "line": 356, + "column": 24 + }, + "end": { + "line": 356, + "column": 35 + } + } + }, + "range": [ + 10440, + 10455 + ], + "loc": { + "start": { + "line": 356, + "column": 20 + }, + "end": { + "line": 356, + "column": 35 + } + } + }, + "range": [ + 10432, + 10455 + ], + "loc": { + "start": { + "line": 356, + "column": 12 + }, + "end": { + "line": 356, + "column": 35 + } + } + }, + "range": [ + 10432, + 10456 + ], + "loc": { + "start": { + "line": 356, + "column": 12 + }, + "end": { + "line": 356, + "column": 36 + } + } + } + ], + "range": [ + 10418, + 10466 + ], + "loc": { + "start": { + "line": 355, + "column": 15 + }, + "end": { + "line": 357, + "column": 9 + } + } + }, + "range": [ + 10336, + 10466 + ], + "loc": { + "start": { + "line": 353, + "column": 13 + }, + "end": { + "line": 357, + "column": 9 + } + } + }, + "range": [ + 10258, + 10466 + ], + "loc": { + "start": { + "line": 350, + "column": 8 + }, + "end": { + "line": 357, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "initial table width", + "range": [ + 10227, + 10248 + ], + "loc": { + "start": { + "line": 348, + "column": 19 + }, + "end": { + "line": 348, + "column": 40 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 10482, + 10490 + ], + "loc": { + "start": { + "line": 358, + "column": 15 + }, + "end": { + "line": 358, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "width", + "range": [ + 10491, + 10496 + ], + "loc": { + "start": { + "line": 358, + "column": 24 + }, + "end": { + "line": 358, + "column": 29 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 10498, + 10500 + ], + "loc": { + "start": { + "line": 358, + "column": 31 + }, + "end": { + "line": 358, + "column": 33 + } + } + } + ], + "range": [ + 10482, + 10501 + ], + "loc": { + "start": { + "line": 358, + "column": 15 + }, + "end": { + "line": 358, + "column": 34 + } + } + }, + "range": [ + 10475, + 10502 + ], + "loc": { + "start": { + "line": 358, + "column": 8 + }, + "end": { + "line": 358, + "column": 35 + } + } + } + ], + "range": [ + 10175, + 10508 + ], + "loc": { + "start": { + "line": 346, + "column": 24 + }, + "end": { + "line": 359, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10172, + 10508 + ], + "loc": { + "start": { + "line": 346, + "column": 21 + }, + "end": { + "line": 359, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10155, + 10508 + ], + "loc": { + "start": { + "line": 346, + "column": 4 + }, + "end": { + "line": 359, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initial table width\n * @returns {Number}\n * @private\n ", + "range": [ + 10071, + 10150 + ], + "loc": { + "start": { + "line": 341, + "column": 4 + }, + "end": { + "line": 345, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Creates container element\n * @param {String} id Element ID\n * @param {String} tag Tag name\n * @param {String} className Css class to assign to element\n * @returns {DOMElement}\n * @private\n ", + "range": [ + 10514, + 10740 + ], + "loc": { + "start": { + "line": 361, + "column": 4 + }, + "end": { + "line": 368, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "createContainer", + "range": [ + 10745, + 10760 + ], + "loc": { + "start": { + "line": 369, + "column": 4 + }, + "end": { + "line": 369, + "column": 19 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "id", + "range": [ + 10761, + 10763 + ], + "loc": { + "start": { + "line": 369, + "column": 20 + }, + "end": { + "line": 369, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "tag", + "range": [ + 10765, + 10768 + ], + "loc": { + "start": { + "line": 369, + "column": 24 + }, + "end": { + "line": 369, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "className", + "range": [ + 10770, + 10779 + ], + "loc": { + "start": { + "line": 369, + "column": 29 + }, + "end": { + "line": 369, + "column": 38 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "element", + "range": [ + 10795, + 10802 + ], + "loc": { + "start": { + "line": 370, + "column": 12 + }, + "end": { + "line": 370, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 10805, + 10814 + ], + "loc": { + "start": { + "line": 370, + "column": 22 + }, + "end": { + "line": 370, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tag", + "range": [ + 10815, + 10818 + ], + "loc": { + "start": { + "line": 370, + "column": 32 + }, + "end": { + "line": 370, + "column": 35 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 10821, + 10825 + ], + "loc": { + "start": { + "line": 370, + "column": 38 + }, + "end": { + "line": 370, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "id", + "range": [ + 10827, + 10829 + ], + "loc": { + "start": { + "line": 370, + "column": 44 + }, + "end": { + "line": 370, + "column": 46 + } + } + } + ], + "range": [ + 10820, + 10830 + ], + "loc": { + "start": { + "line": 370, + "column": 37 + }, + "end": { + "line": 370, + "column": 47 + } + } + } + ], + "range": [ + 10805, + 10831 + ], + "loc": { + "start": { + "line": 370, + "column": 22 + }, + "end": { + "line": 370, + "column": 48 + } + } + }, + "range": [ + 10795, + 10831 + ], + "loc": { + "start": { + "line": 370, + "column": 12 + }, + "end": { + "line": 370, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 10791, + 10832 + ], + "loc": { + "start": { + "line": 370, + "column": 8 + }, + "end": { + "line": 370, + "column": 49 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "element", + "range": [ + 10841, + 10848 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 10849, + 10858 + ], + "loc": { + "start": { + "line": 371, + "column": 16 + }, + "end": { + "line": 371, + "column": 25 + } + } + }, + "range": [ + 10841, + 10858 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "className", + "range": [ + 10861, + 10870 + ], + "loc": { + "start": { + "line": 371, + "column": 28 + }, + "end": { + "line": 371, + "column": 37 + } + } + }, + "range": [ + 10841, + 10870 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 37 + } + } + }, + "range": [ + 10841, + 10871 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 38 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "element", + "range": [ + 10887, + 10894 + ], + "loc": { + "start": { + "line": 372, + "column": 15 + }, + "end": { + "line": 372, + "column": 22 + } + } + }, + "range": [ + 10880, + 10895 + ], + "loc": { + "start": { + "line": 372, + "column": 8 + }, + "end": { + "line": 372, + "column": 23 + } + } + } + ], + "range": [ + 10781, + 10901 + ], + "loc": { + "start": { + "line": 369, + "column": 40 + }, + "end": { + "line": 373, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10760, + 10901 + ], + "loc": { + "start": { + "line": 369, + "column": 19 + }, + "end": { + "line": 373, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10745, + 10901 + ], + "loc": { + "start": { + "line": 369, + "column": 4 + }, + "end": { + "line": 373, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates container element\n * @param {String} id Element ID\n * @param {String} tag Tag name\n * @param {String} className Css class to assign to element\n * @returns {DOMElement}\n * @private\n ", + "range": [ + 10514, + 10740 + ], + "loc": { + "start": { + "line": 361, + "column": 4 + }, + "end": { + "line": 368, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Creates filters row with cells\n * @returns {HTMLTableRowElement}\n * @private\n ", + "range": [ + 10907, + 11010 ], "loc": { "start": { @@ -27230,7 +20925,7435 @@ "column": 4 }, "end": { - "line": 378, + "line": 379, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "createFiltersRow", + "range": [ + 11015, + 11031 + ], + "loc": { + "start": { + "line": 380, + "column": 4 + }, + "end": { + "line": 380, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 11048, + 11050 + ], + "loc": { + "start": { + "line": 381, + "column": 12 + }, + "end": { + "line": 381, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11053, + 11057 + ], + "loc": { + "start": { + "line": 381, + "column": 17 + }, + "end": { + "line": 381, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 11058, + 11060 + ], + "loc": { + "start": { + "line": 381, + "column": 22 + }, + "end": { + "line": 381, + "column": 24 + } + } + }, + "range": [ + 11053, + 11060 + ], + "loc": { + "start": { + "line": 381, + "column": 17 + }, + "end": { + "line": 381, + "column": 24 + } + } + }, + "range": [ + 11048, + 11060 + ], + "loc": { + "start": { + "line": 381, + "column": 12 + }, + "end": { + "line": 381, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 11044, + 11061 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "filtersRow", + "range": [ + 11074, + 11084 + ], + "loc": { + "start": { + "line": 382, + "column": 12 + }, + "end": { + "line": 382, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 11087, + 11096 + ], + "loc": { + "start": { + "line": 382, + "column": 25 + }, + "end": { + "line": 382, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "tr", + "raw": "'tr'", + "range": [ + 11097, + 11101 + ], + "loc": { + "start": { + "line": 382, + "column": 35 + }, + "end": { + "line": 382, + "column": 39 + } + } + } + ], + "range": [ + 11087, + 11102 + ], + "loc": { + "start": { + "line": 382, + "column": 25 + }, + "end": { + "line": 382, + "column": 40 + } + } + }, + "range": [ + 11074, + 11102 + ], + "loc": { + "start": { + "line": 382, + "column": 12 + }, + "end": { + "line": 382, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 11070, + 11103 + ], + "loc": { + "start": { + "line": 382, + "column": 8 + }, + "end": { + "line": 382, + "column": 41 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11116, + 11120 + ], + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 383, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableFilters", + "range": [ + 11121, + 11134 + ], + "loc": { + "start": { + "line": 383, + "column": 17 + }, + "end": { + "line": 383, + "column": 30 + } + } + }, + "range": [ + 11116, + 11134 + ], + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 383, + "column": 30 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11138, + 11140 + ], + "loc": { + "start": { + "line": 383, + "column": 34 + }, + "end": { + "line": 383, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 11141, + 11148 + ], + "loc": { + "start": { + "line": 383, + "column": 37 + }, + "end": { + "line": 383, + "column": 44 + } + } + }, + "range": [ + 11138, + 11148 + ], + "loc": { + "start": { + "line": 383, + "column": 34 + }, + "end": { + "line": 383, + "column": 44 + } + } + }, + "range": [ + 11116, + 11148 + ], + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 383, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11164, + 11166 + ], + "loc": { + "start": { + "line": 384, + "column": 12 + }, + "end": { + "line": 384, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 11167, + 11184 + ], + "loc": { + "start": { + "line": 384, + "column": 15 + }, + "end": { + "line": 384, + "column": 32 + } + } + }, + "range": [ + 11164, + 11184 + ], + "loc": { + "start": { + "line": 384, + "column": 12 + }, + "end": { + "line": 384, + "column": 32 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 11187, + 11189 + ], + "loc": { + "start": { + "line": 384, + "column": 35 + }, + "end": { + "line": 384, + "column": 37 + } + } + }, + "range": [ + 11164, + 11189 + ], + "loc": { + "start": { + "line": 384, + "column": 12 + }, + "end": { + "line": 384, + "column": 37 + } + } + }, + "range": [ + 11164, + 11190 + ], + "loc": { + "start": { + "line": 384, + "column": 12 + }, + "end": { + "line": 384, + "column": 38 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "j", + "range": [ + 11212, + 11213 + ], + "loc": { + "start": { + "line": 385, + "column": 21 + }, + "end": { + "line": 385, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 11216, + 11217 + ], + "loc": { + "start": { + "line": 385, + "column": 25 + }, + "end": { + "line": 385, + "column": 26 + } + } + }, + "range": [ + 11212, + 11217 + ], + "loc": { + "start": { + "line": 385, + "column": 21 + }, + "end": { + "line": 385, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 11208, + 11217 + ], + "loc": { + "start": { + "line": 385, + "column": 17 + }, + "end": { + "line": 385, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "j", + "range": [ + 11219, + 11220 + ], + "loc": { + "start": { + "line": 385, + "column": 28 + }, + "end": { + "line": 385, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11223, + 11225 + ], + "loc": { + "start": { + "line": 385, + "column": 32 + }, + "end": { + "line": 385, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellsNb", + "range": [ + 11226, + 11236 + ], + "loc": { + "start": { + "line": 385, + "column": 35 + }, + "end": { + "line": 385, + "column": 45 + } + } + }, + "range": [ + 11223, + 11236 + ], + "loc": { + "start": { + "line": 385, + "column": 32 + }, + "end": { + "line": 385, + "column": 45 + } + } + }, + "arguments": [], + "range": [ + 11223, + 11238 + ], + "loc": { + "start": { + "line": 385, + "column": 32 + }, + "end": { + "line": 385, + "column": 47 + } + } + }, + "range": [ + 11219, + 11238 + ], + "loc": { + "start": { + "line": 385, + "column": 28 + }, + "end": { + "line": 385, + "column": 47 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "j", + "range": [ + 11240, + 11241 + ], + "loc": { + "start": { + "line": 385, + "column": 49 + }, + "end": { + "line": 385, + "column": 50 + } + } + }, + "prefix": false, + "range": [ + 11240, + 11243 + ], + "loc": { + "start": { + "line": 385, + "column": 49 + }, + "end": { + "line": 385, + "column": 52 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltTdId", + "range": [ + 11267, + 11274 + ], + "loc": { + "start": { + "line": 386, + "column": 20 + }, + "end": { + "line": 386, + "column": 27 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11277, + 11279 + ], + "loc": { + "start": { + "line": 386, + "column": 30 + }, + "end": { + "line": 386, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxFlt", + "range": [ + 11280, + 11287 + ], + "loc": { + "start": { + "line": 386, + "column": 33 + }, + "end": { + "line": 386, + "column": 40 + } + } + }, + "range": [ + 11277, + 11287 + ], + "loc": { + "start": { + "line": 386, + "column": 30 + }, + "end": { + "line": 386, + "column": 40 + } + } + }, + "right": { + "type": "Identifier", + "name": "j", + "range": [ + 11290, + 11291 + ], + "loc": { + "start": { + "line": 386, + "column": 43 + }, + "end": { + "line": 386, + "column": 44 + } + } + }, + "range": [ + 11277, + 11291 + ], + "loc": { + "start": { + "line": 386, + "column": 30 + }, + "end": { + "line": 386, + "column": 44 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11294, + 11298 + ], + "loc": { + "start": { + "line": 386, + "column": 47 + }, + "end": { + "line": 386, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxGridFltTd", + "range": [ + 11299, + 11312 + ], + "loc": { + "start": { + "line": 386, + "column": 52 + }, + "end": { + "line": 386, + "column": 65 + } + } + }, + "range": [ + 11294, + 11312 + ], + "loc": { + "start": { + "line": 386, + "column": 47 + }, + "end": { + "line": 386, + "column": 65 + } + } + }, + "range": [ + 11277, + 11312 + ], + "loc": { + "start": { + "line": 386, + "column": 30 + }, + "end": { + "line": 386, + "column": 65 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11315, + 11317 + ], + "loc": { + "start": { + "line": 386, + "column": 68 + }, + "end": { + "line": 386, + "column": 70 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 11318, + 11320 + ], + "loc": { + "start": { + "line": 386, + "column": 71 + }, + "end": { + "line": 386, + "column": 73 + } + } + }, + "range": [ + 11315, + 11320 + ], + "loc": { + "start": { + "line": 386, + "column": 68 + }, + "end": { + "line": 386, + "column": 73 + } + } + }, + "range": [ + 11277, + 11320 + ], + "loc": { + "start": { + "line": 386, + "column": 30 + }, + "end": { + "line": 386, + "column": 73 + } + } + }, + "range": [ + 11267, + 11320 + ], + "loc": { + "start": { + "line": 386, + "column": 20 + }, + "end": { + "line": 386, + "column": 73 + } + } + } + ], + "kind": "let", + "range": [ + 11263, + 11321 + ], + "loc": { + "start": { + "line": 386, + "column": 16 + }, + "end": { + "line": 386, + "column": 74 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cl", + "range": [ + 11342, + 11344 + ], + "loc": { + "start": { + "line": 387, + "column": 20 + }, + "end": { + "line": 387, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 11347, + 11356 + ], + "loc": { + "start": { + "line": 387, + "column": 25 + }, + "end": { + "line": 387, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11357, + 11359 + ], + "loc": { + "start": { + "line": 387, + "column": 35 + }, + "end": { + "line": 387, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltCellTag", + "range": [ + 11360, + 11370 + ], + "loc": { + "start": { + "line": 387, + "column": 38 + }, + "end": { + "line": 387, + "column": 48 + } + } + }, + "range": [ + 11357, + 11370 + ], + "loc": { + "start": { + "line": 387, + "column": 35 + }, + "end": { + "line": 387, + "column": 48 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 11373, + 11377 + ], + "loc": { + "start": { + "line": 387, + "column": 51 + }, + "end": { + "line": 387, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "fltTdId", + "range": [ + 11379, + 11386 + ], + "loc": { + "start": { + "line": 387, + "column": 57 + }, + "end": { + "line": 387, + "column": 64 + } + } + } + ], + "range": [ + 11372, + 11387 + ], + "loc": { + "start": { + "line": 387, + "column": 50 + }, + "end": { + "line": 387, + "column": 65 + } + } + } + ], + "range": [ + 11347, + 11388 + ], + "loc": { + "start": { + "line": 387, + "column": 25 + }, + "end": { + "line": 387, + "column": 66 + } + } + }, + "range": [ + 11342, + 11388 + ], + "loc": { + "start": { + "line": 387, + "column": 20 + }, + "end": { + "line": 387, + "column": 66 + } + } + } + ], + "kind": "let", + "range": [ + 11338, + 11389 + ], + "loc": { + "start": { + "line": 387, + "column": 16 + }, + "end": { + "line": 387, + "column": 67 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "filtersRow", + "range": [ + 11406, + 11416 + ], + "loc": { + "start": { + "line": 388, + "column": 16 + }, + "end": { + "line": 388, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 11417, + 11428 + ], + "loc": { + "start": { + "line": 388, + "column": 27 + }, + "end": { + "line": 388, + "column": 38 + } + } + }, + "range": [ + 11406, + 11428 + ], + "loc": { + "start": { + "line": 388, + "column": 16 + }, + "end": { + "line": 388, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cl", + "range": [ + 11429, + 11431 + ], + "loc": { + "start": { + "line": 388, + "column": 39 + }, + "end": { + "line": 388, + "column": 41 + } + } + } + ], + "range": [ + 11406, + 11432 + ], + "loc": { + "start": { + "line": 388, + "column": 16 + }, + "end": { + "line": 388, + "column": 42 + } + } + }, + "range": [ + 11406, + 11433 + ], + "loc": { + "start": { + "line": 388, + "column": 16 + }, + "end": { + "line": 388, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11450, + 11452 + ], + "loc": { + "start": { + "line": 389, + "column": 16 + }, + "end": { + "line": 389, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 11453, + 11470 + ], + "loc": { + "start": { + "line": 389, + "column": 19 + }, + "end": { + "line": 389, + "column": 36 + } + } + }, + "range": [ + 11450, + 11470 + ], + "loc": { + "start": { + "line": 389, + "column": 16 + }, + "end": { + "line": 389, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 11471, + 11472 + ], + "loc": { + "start": { + "line": 389, + "column": 37 + }, + "end": { + "line": 389, + "column": 38 + } + } + }, + "range": [ + 11450, + 11473 + ], + "loc": { + "start": { + "line": 389, + "column": 16 + }, + "end": { + "line": 389, + "column": 39 + } + } + }, + "right": { + "type": "Identifier", + "name": "fltTdId", + "range": [ + 11476, + 11483 + ], + "loc": { + "start": { + "line": 389, + "column": 42 + }, + "end": { + "line": 389, + "column": 49 + } + } + }, + "range": [ + 11450, + 11483 + ], + "loc": { + "start": { + "line": 389, + "column": 16 + }, + "end": { + "line": 389, + "column": 49 + } + } + }, + "range": [ + 11450, + 11484 + ], + "loc": { + "start": { + "line": 389, + "column": 16 + }, + "end": { + "line": 389, + "column": 50 + } + } + } + ], + "range": [ + 11245, + 11498 + ], + "loc": { + "start": { + "line": 385, + "column": 54 + }, + "end": { + "line": 390, + "column": 13 + } + } + }, + "range": [ + 11203, + 11498 + ], + "loc": { + "start": { + "line": 385, + "column": 12 + }, + "end": { + "line": 390, + "column": 13 + } + } + } + ], + "range": [ + 11150, + 11508 + ], + "loc": { + "start": { + "line": 383, + "column": 46 + }, + "end": { + "line": 391, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 11112, + 11508 + ], + "loc": { + "start": { + "line": 383, + "column": 8 + }, + "end": { + "line": 391, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "filtersRow", + "range": [ + 11524, + 11534 + ], + "loc": { + "start": { + "line": 392, + "column": 15 + }, + "end": { + "line": 392, + "column": 25 + } + } + }, + "range": [ + 11517, + 11535 + ], + "loc": { + "start": { + "line": 392, + "column": 8 + }, + "end": { + "line": 392, + "column": 26 + } + } + } + ], + "range": [ + 11034, + 11541 + ], + "loc": { + "start": { + "line": 380, + "column": 23 + }, + "end": { + "line": 393, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11031, + 11541 + ], + "loc": { + "start": { + "line": 380, + "column": 20 + }, + "end": { + "line": 393, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11015, + 11541 + ], + "loc": { + "start": { + "line": 380, + "column": 4 + }, + "end": { + "line": 393, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates filters row with cells\n * @returns {HTMLTableRowElement}\n * @private\n ", + "range": [ + 10907, + 11010 + ], + "loc": { + "start": { + "line": 375, + "column": 4 + }, + "end": { + "line": 379, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Generates column elements if necessary and assigns their widths\n * @private\n ", + "range": [ + 11547, + 11645 + ], + "loc": { + "start": { + "line": 395, + "column": 4 + }, + "end": { + "line": 398, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setColumnElements", + "range": [ + 11650, + 11667 + ], + "loc": { + "start": { + "line": 399, + "column": 4 + }, + "end": { + "line": 399, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 11684, + 11686 + ], + "loc": { + "start": { + "line": 400, + "column": 12 + }, + "end": { + "line": 400, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11689, + 11693 + ], + "loc": { + "start": { + "line": 400, + "column": 17 + }, + "end": { + "line": 400, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 11694, + 11696 + ], + "loc": { + "start": { + "line": 400, + "column": 22 + }, + "end": { + "line": 400, + "column": 24 + } + } + }, + "range": [ + 11689, + 11696 + ], + "loc": { + "start": { + "line": 400, + "column": 17 + }, + "end": { + "line": 400, + "column": 24 + } + } + }, + "range": [ + 11684, + 11696 + ], + "loc": { + "start": { + "line": 400, + "column": 12 + }, + "end": { + "line": 400, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 11680, + 11697 + ], + "loc": { + "start": { + "line": 400, + "column": 8 + }, + "end": { + "line": 400, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cols", + "range": [ + 11710, + 11714 + ], + "loc": { + "start": { + "line": 401, + "column": 12 + }, + "end": { + "line": 401, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 11717, + 11720 + ], + "loc": { + "start": { + "line": 401, + "column": 19 + }, + "end": { + "line": 401, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11721, + 11723 + ], + "loc": { + "start": { + "line": 401, + "column": 23 + }, + "end": { + "line": 401, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl", + "range": [ + 11724, + 11727 + ], + "loc": { + "start": { + "line": 401, + "column": 26 + }, + "end": { + "line": 401, + "column": 29 + } + } + }, + "range": [ + 11721, + 11727 + ], + "loc": { + "start": { + "line": 401, + "column": 23 + }, + "end": { + "line": 401, + "column": 29 + } + } + }, + { + "type": "Literal", + "value": "col", + "raw": "'col'", + "range": [ + 11729, + 11734 + ], + "loc": { + "start": { + "line": 401, + "column": 31 + }, + "end": { + "line": 401, + "column": 36 + } + } + } + ], + "range": [ + 11717, + 11735 + ], + "loc": { + "start": { + "line": 401, + "column": 19 + }, + "end": { + "line": 401, + "column": 37 + } + } + }, + "range": [ + 11710, + 11735 + ], + "loc": { + "start": { + "line": 401, + "column": 12 + }, + "end": { + "line": 401, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 11706, + 11736 + ], + "loc": { + "start": { + "line": 401, + "column": 8 + }, + "end": { + "line": 401, + "column": 38 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11745, + 11749 + ], + "loc": { + "start": { + "line": 402, + "column": 8 + }, + "end": { + "line": 402, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblHasColTag", + "range": [ + 11750, + 11762 + ], + "loc": { + "start": { + "line": 402, + "column": 13 + }, + "end": { + "line": 402, + "column": 25 + } + } + }, + "range": [ + 11745, + 11762 + ], + "loc": { + "start": { + "line": 402, + "column": 8 + }, + "end": { + "line": 402, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cols", + "range": [ + 11765, + 11769 + ], + "loc": { + "start": { + "line": 402, + "column": 28 + }, + "end": { + "line": 402, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 11770, + 11776 + ], + "loc": { + "start": { + "line": 402, + "column": 33 + }, + "end": { + "line": 402, + "column": 39 + } + } + }, + "range": [ + 11765, + 11776 + ], + "loc": { + "start": { + "line": 402, + "column": 28 + }, + "end": { + "line": 402, + "column": 39 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 11779, + 11780 + ], + "loc": { + "start": { + "line": 402, + "column": 42 + }, + "end": { + "line": 402, + "column": 43 + } + } + }, + "range": [ + 11765, + 11780 + ], + "loc": { + "start": { + "line": 402, + "column": 28 + }, + "end": { + "line": 402, + "column": 43 + } + } + }, + "range": [ + 11745, + 11780 + ], + "loc": { + "start": { + "line": 402, + "column": 8 + }, + "end": { + "line": 402, + "column": 43 + } + } + }, + "range": [ + 11745, + 11781 + ], + "loc": { + "start": { + "line": 402, + "column": 8 + }, + "end": { + "line": 402, + "column": 44 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 11800, + 11801 + ], + "loc": { + "start": { + "line": 404, + "column": 17 + }, + "end": { + "line": 404, + "column": 18 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11805, + 11807 + ], + "loc": { + "start": { + "line": 404, + "column": 22 + }, + "end": { + "line": 404, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 11808, + 11815 + ], + "loc": { + "start": { + "line": 404, + "column": 25 + }, + "end": { + "line": 404, + "column": 32 + } + } + }, + "range": [ + 11805, + 11815 + ], + "loc": { + "start": { + "line": 404, + "column": 22 + }, + "end": { + "line": 404, + "column": 32 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 11818, + 11819 + ], + "loc": { + "start": { + "line": 404, + "column": 35 + }, + "end": { + "line": 404, + "column": 36 + } + } + }, + "range": [ + 11805, + 11819 + ], + "loc": { + "start": { + "line": 404, + "column": 22 + }, + "end": { + "line": 404, + "column": 36 + } + } + }, + "range": [ + 11800, + 11820 + ], + "loc": { + "start": { + "line": 404, + "column": 17 + }, + "end": { + "line": 404, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 11796, + 11820 + ], + "loc": { + "start": { + "line": 404, + "column": 13 + }, + "end": { + "line": 404, + "column": 37 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 11822, + 11823 + ], + "loc": { + "start": { + "line": 404, + "column": 39 + }, + "end": { + "line": 404, + "column": 40 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 11827, + 11828 + ], + "loc": { + "start": { + "line": 404, + "column": 44 + }, + "end": { + "line": 404, + "column": 45 + } + } + }, + "range": [ + 11822, + 11828 + ], + "loc": { + "start": { + "line": 404, + "column": 39 + }, + "end": { + "line": 404, + "column": 45 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 11830, + 11831 + ], + "loc": { + "start": { + "line": 404, + "column": 47 + }, + "end": { + "line": 404, + "column": 48 + } + } + }, + "prefix": false, + "range": [ + 11830, + 11833 + ], + "loc": { + "start": { + "line": 404, + "column": 47 + }, + "end": { + "line": 404, + "column": 50 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "col", + "range": [ + 11853, + 11856 + ], + "loc": { + "start": { + "line": 405, + "column": 16 + }, + "end": { + "line": 405, + "column": 19 + } + } + }, + "init": null, + "range": [ + 11853, + 11856 + ], + "loc": { + "start": { + "line": 405, + "column": 16 + }, + "end": { + "line": 405, + "column": 19 + } + } + } + ], + "kind": "let", + "range": [ + 11849, + 11857 + ], + "loc": { + "start": { + "line": 405, + "column": 12 + }, + "end": { + "line": 405, + "column": 20 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "id", + "range": [ + 11874, + 11876 + ], + "loc": { + "start": { + "line": 406, + "column": 16 + }, + "end": { + "line": 406, + "column": 18 + } + } + }, + "init": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 11879, + 11882 + ], + "loc": { + "start": { + "line": 406, + "column": 21 + }, + "end": { + "line": 406, + "column": 24 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "_col_", + "cooked": "_col_" + }, + "tail": false, + "range": [ + 11887, + 11895 + ], + "loc": { + "start": { + "line": 406, + "column": 29 + }, + "end": { + "line": 406, + "column": 37 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 11896, + 11898 + ], + "loc": { + "start": { + "line": 406, + "column": 38 + }, + "end": { + "line": 406, + "column": 40 + } + } + } + ], + "expressions": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11882, + 11884 + ], + "loc": { + "start": { + "line": 406, + "column": 24 + }, + "end": { + "line": 406, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 11885, + 11887 + ], + "loc": { + "start": { + "line": 406, + "column": 27 + }, + "end": { + "line": 406, + "column": 29 + } + } + }, + "range": [ + 11882, + 11887 + ], + "loc": { + "start": { + "line": 406, + "column": 24 + }, + "end": { + "line": 406, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "k", + "range": [ + 11895, + 11896 + ], + "loc": { + "start": { + "line": 406, + "column": 37 + }, + "end": { + "line": 406, + "column": 38 + } + } + } + ], + "range": [ + 11879, + 11898 + ], + "loc": { + "start": { + "line": 406, + "column": 21 + }, + "end": { + "line": 406, + "column": 40 + } + } + }, + "range": [ + 11874, + 11898 + ], + "loc": { + "start": { + "line": 406, + "column": 16 + }, + "end": { + "line": 406, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 11870, + 11899 + ], + "loc": { + "start": { + "line": 406, + "column": 12 + }, + "end": { + "line": 406, + "column": 41 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11918, + 11922 + ], + "loc": { + "start": { + "line": 408, + "column": 17 + }, + "end": { + "line": 408, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblHasColTag", + "range": [ + 11923, + 11935 + ], + "loc": { + "start": { + "line": 408, + "column": 22 + }, + "end": { + "line": 408, + "column": 34 + } + } + }, + "range": [ + 11918, + 11935 + ], + "loc": { + "start": { + "line": 408, + "column": 17 + }, + "end": { + "line": 408, + "column": 34 + } + } + }, + "prefix": true, + "range": [ + 11917, + 11935 + ], + "loc": { + "start": { + "line": 408, + "column": 16 + }, + "end": { + "line": 408, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "col", + "range": [ + 11955, + 11958 + ], + "loc": { + "start": { + "line": 409, + "column": 16 + }, + "end": { + "line": 409, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 11961, + 11970 + ], + "loc": { + "start": { + "line": 409, + "column": 22 + }, + "end": { + "line": 409, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "col", + "raw": "'col'", + "range": [ + 11971, + 11976 + ], + "loc": { + "start": { + "line": 409, + "column": 32 + }, + "end": { + "line": 409, + "column": 37 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 11979, + 11983 + ], + "loc": { + "start": { + "line": 409, + "column": 40 + }, + "end": { + "line": 409, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "id", + "range": [ + 11985, + 11987 + ], + "loc": { + "start": { + "line": 409, + "column": 46 + }, + "end": { + "line": 409, + "column": 48 + } + } + } + ], + "range": [ + 11978, + 11988 + ], + "loc": { + "start": { + "line": 409, + "column": 39 + }, + "end": { + "line": 409, + "column": 49 + } + } + } + ], + "range": [ + 11961, + 11989 + ], + "loc": { + "start": { + "line": 409, + "column": 22 + }, + "end": { + "line": 409, + "column": 50 + } + } + }, + "range": [ + 11955, + 11989 + ], + "loc": { + "start": { + "line": 409, + "column": 16 + }, + "end": { + "line": 409, + "column": 50 + } + } + }, + "range": [ + 11955, + 11990 + ], + "loc": { + "start": { + "line": 409, + "column": 16 + }, + "end": { + "line": 409, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 12007, + 12009 + ], + "loc": { + "start": { + "line": 410, + "column": 16 + }, + "end": { + "line": 410, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl", + "range": [ + 12010, + 12013 + ], + "loc": { + "start": { + "line": 410, + "column": 19 + }, + "end": { + "line": 410, + "column": 22 + } + } + }, + "range": [ + 12007, + 12013 + ], + "loc": { + "start": { + "line": 410, + "column": 16 + }, + "end": { + "line": 410, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 12014, + 12026 + ], + "loc": { + "start": { + "line": 410, + "column": 23 + }, + "end": { + "line": 410, + "column": 35 + } + } + }, + "range": [ + 12007, + 12026 + ], + "loc": { + "start": { + "line": 410, + "column": 16 + }, + "end": { + "line": 410, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "col", + "range": [ + 12027, + 12030 + ], + "loc": { + "start": { + "line": 410, + "column": 36 + }, + "end": { + "line": 410, + "column": 39 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 12032, + 12034 + ], + "loc": { + "start": { + "line": 410, + "column": 41 + }, + "end": { + "line": 410, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl", + "range": [ + 12035, + 12038 + ], + "loc": { + "start": { + "line": 410, + "column": 44 + }, + "end": { + "line": 410, + "column": 47 + } + } + }, + "range": [ + 12032, + 12038 + ], + "loc": { + "start": { + "line": 410, + "column": 41 + }, + "end": { + "line": 410, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 12039, + 12049 + ], + "loc": { + "start": { + "line": 410, + "column": 48 + }, + "end": { + "line": 410, + "column": 58 + } + } + }, + "range": [ + 12032, + 12049 + ], + "loc": { + "start": { + "line": 410, + "column": 41 + }, + "end": { + "line": 410, + "column": 58 + } + } + } + ], + "range": [ + 12007, + 12050 + ], + "loc": { + "start": { + "line": 410, + "column": 16 + }, + "end": { + "line": 410, + "column": 59 + } + } + }, + "range": [ + 12007, + 12051 + ], + "loc": { + "start": { + "line": 410, + "column": 16 + }, + "end": { + "line": 410, + "column": 60 + } + } + } + ], + "range": [ + 11937, + 12065 + ], + "loc": { + "start": { + "line": 408, + "column": 36 + }, + "end": { + "line": 411, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "col", + "range": [ + 12089, + 12092 + ], + "loc": { + "start": { + "line": 412, + "column": 16 + }, + "end": { + "line": 412, + "column": 19 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cols", + "range": [ + 12095, + 12099 + ], + "loc": { + "start": { + "line": 412, + "column": 22 + }, + "end": { + "line": 412, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 12100, + 12101 + ], + "loc": { + "start": { + "line": 412, + "column": 27 + }, + "end": { + "line": 412, + "column": 28 + } + } + }, + "range": [ + 12095, + 12102 + ], + "loc": { + "start": { + "line": 412, + "column": 22 + }, + "end": { + "line": 412, + "column": 29 + } + } + }, + "range": [ + 12089, + 12102 + ], + "loc": { + "start": { + "line": 412, + "column": 16 + }, + "end": { + "line": 412, + "column": 29 + } + } + }, + "range": [ + 12089, + 12103 + ], + "loc": { + "start": { + "line": 412, + "column": 16 + }, + "end": { + "line": 412, + "column": 30 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "col", + "range": [ + 12120, + 12123 + ], + "loc": { + "start": { + "line": 413, + "column": 16 + }, + "end": { + "line": 413, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 12124, + 12136 + ], + "loc": { + "start": { + "line": 413, + "column": 20 + }, + "end": { + "line": 413, + "column": 32 + } + } + }, + "range": [ + 12120, + 12136 + ], + "loc": { + "start": { + "line": 413, + "column": 16 + }, + "end": { + "line": 413, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 12137, + 12141 + ], + "loc": { + "start": { + "line": 413, + "column": 33 + }, + "end": { + "line": 413, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "id", + "range": [ + 12143, + 12145 + ], + "loc": { + "start": { + "line": 413, + "column": 39 + }, + "end": { + "line": 413, + "column": 41 + } + } + } + ], + "range": [ + 12120, + 12146 + ], + "loc": { + "start": { + "line": 413, + "column": 16 + }, + "end": { + "line": 413, + "column": 42 + } + } + }, + "range": [ + 12120, + 12147 + ], + "loc": { + "start": { + "line": 413, + "column": 16 + }, + "end": { + "line": 413, + "column": 43 + } + } + } + ], + "range": [ + 12071, + 12161 + ], + "loc": { + "start": { + "line": 411, + "column": 19 + }, + "end": { + "line": 414, + "column": 13 + } + } + }, + "range": [ + 11913, + 12161 + ], + "loc": { + "start": { + "line": 408, + "column": 12 + }, + "end": { + "line": 414, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "col", + "range": [ + 12174, + 12177 + ], + "loc": { + "start": { + "line": 415, + "column": 12 + }, + "end": { + "line": 415, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 12178, + 12183 + ], + "loc": { + "start": { + "line": 415, + "column": 16 + }, + "end": { + "line": 415, + "column": 21 + } + } + }, + "range": [ + 12174, + 12183 + ], + "loc": { + "start": { + "line": 415, + "column": 12 + }, + "end": { + "line": 415, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 12184, + 12189 + ], + "loc": { + "start": { + "line": 415, + "column": 22 + }, + "end": { + "line": 415, + "column": 27 + } + } + }, + "range": [ + 12174, + 12189 + ], + "loc": { + "start": { + "line": 415, + "column": 12 + }, + "end": { + "line": 415, + "column": 27 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 12192, + 12194 + ], + "loc": { + "start": { + "line": 415, + "column": 30 + }, + "end": { + "line": 415, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "colWidths", + "range": [ + 12195, + 12204 + ], + "loc": { + "start": { + "line": 415, + "column": 33 + }, + "end": { + "line": 415, + "column": 42 + } + } + }, + "range": [ + 12192, + 12204 + ], + "loc": { + "start": { + "line": 415, + "column": 30 + }, + "end": { + "line": 415, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 12205, + 12206 + ], + "loc": { + "start": { + "line": 415, + "column": 43 + }, + "end": { + "line": 415, + "column": 44 + } + } + }, + "range": [ + 12192, + 12207 + ], + "loc": { + "start": { + "line": 415, + "column": 30 + }, + "end": { + "line": 415, + "column": 45 + } + } + }, + "range": [ + 12174, + 12207 + ], + "loc": { + "start": { + "line": 415, + "column": 12 + }, + "end": { + "line": 415, + "column": 45 + } + } + }, + "range": [ + 12174, + 12208 + ], + "loc": { + "start": { + "line": 415, + "column": 12 + }, + "end": { + "line": 415, + "column": 46 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12221, + 12225 + ], + "loc": { + "start": { + "line": 416, + "column": 12 + }, + "end": { + "line": 416, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "colElms", + "range": [ + 12226, + 12233 + ], + "loc": { + "start": { + "line": 416, + "column": 17 + }, + "end": { + "line": 416, + "column": 24 + } + } + }, + "range": [ + 12221, + 12233 + ], + "loc": { + "start": { + "line": 416, + "column": 12 + }, + "end": { + "line": 416, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 12234, + 12235 + ], + "loc": { + "start": { + "line": 416, + "column": 25 + }, + "end": { + "line": 416, + "column": 26 + } + } + }, + "range": [ + 12221, + 12236 + ], + "loc": { + "start": { + "line": 416, + "column": 12 + }, + "end": { + "line": 416, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "col", + "range": [ + 12239, + 12242 + ], + "loc": { + "start": { + "line": 416, + "column": 30 + }, + "end": { + "line": 416, + "column": 33 + } + } + }, + "range": [ + 12221, + 12242 + ], + "loc": { + "start": { + "line": 416, + "column": 12 + }, + "end": { + "line": 416, + "column": 33 + } + } + }, + "range": [ + 12221, + 12243 + ], + "loc": { + "start": { + "line": 416, + "column": 12 + }, + "end": { + "line": 416, + "column": 34 + } + } + } + ], + "range": [ + 11835, + 12253 + ], + "loc": { + "start": { + "line": 404, + "column": 52 + }, + "end": { + "line": 417, + "column": 9 + } + } + }, + "range": [ + 11791, + 12253 + ], + "loc": { + "start": { + "line": 404, + "column": 8 + }, + "end": { + "line": 417, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12262, + 12266 + ], + "loc": { + "start": { + "line": 418, + "column": 8 + }, + "end": { + "line": 418, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblHasColTag", + "range": [ + 12267, + 12279 + ], + "loc": { + "start": { + "line": 418, + "column": 13 + }, + "end": { + "line": 418, + "column": 25 + } + } + }, + "range": [ + 12262, + 12279 + ], + "loc": { + "start": { + "line": 418, + "column": 8 + }, + "end": { + "line": 418, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 12282, + 12286 + ], + "loc": { + "start": { + "line": 418, + "column": 28 + }, + "end": { + "line": 418, + "column": 32 + } + } + }, + "range": [ + 12262, + 12286 + ], + "loc": { + "start": { + "line": 418, + "column": 8 + }, + "end": { + "line": 418, + "column": 32 + } + } + }, + "range": [ + 12262, + 12287 + ], + "loc": { + "start": { + "line": 418, + "column": 8 + }, + "end": { + "line": 418, + "column": 33 + } + } + } + ], + "range": [ + 11670, + 12293 + ], + "loc": { + "start": { + "line": 399, + "column": 24 + }, + "end": { + "line": 419, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11667, + 12293 + ], + "loc": { + "start": { + "line": 399, + "column": 21 + }, + "end": { + "line": 419, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11650, + 12293 + ], + "loc": { + "start": { + "line": 399, + "column": 4 + }, + "end": { + "line": 419, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Generates column elements if necessary and assigns their widths\n * @private\n ", + "range": [ + 11547, + 11645 + ], + "loc": { + "start": { + "line": 395, + "column": 4 + }, + "end": { + "line": 398, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sets headers row in headers table\n * @param {HTMLHeadElement} tableHead Table head element\n * @private\n ", + "range": [ + 12299, + 12428 + ], + "loc": { + "start": { + "line": 421, + "column": 4 + }, + "end": { + "line": 425, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setHeadersRow", + "range": [ + 12433, + 12446 + ], + "loc": { + "start": { + "line": 426, + "column": 4 + }, + "end": { + "line": 426, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tableHead", + "range": [ + 12447, + 12456 + ], + "loc": { + "start": { + "line": 426, + "column": 18 + }, + "end": { + "line": 426, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12472, + 12476 + ], + "loc": { + "start": { + "line": 427, + "column": 12 + }, + "end": { + "line": 427, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "noHeaders", + "range": [ + 12477, + 12486 + ], + "loc": { + "start": { + "line": 427, + "column": 17 + }, + "end": { + "line": 427, + "column": 26 + } + } + }, + "range": [ + 12472, + 12486 + ], + "loc": { + "start": { + "line": 427, + "column": 12 + }, + "end": { + "line": 427, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tableHead", + "range": [ + 12597, + 12606 + ], + "loc": { + "start": { + "line": 430, + "column": 12 + }, + "end": { + "line": 430, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 12607, + 12618 + ], + "loc": { + "start": { + "line": 430, + "column": 22 + }, + "end": { + "line": 430, + "column": 33 + } + } + }, + "range": [ + 12597, + 12618 + ], + "loc": { + "start": { + "line": 430, + "column": 12 + }, + "end": { + "line": 430, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 12619, + 12628 + ], + "loc": { + "start": { + "line": 430, + "column": 34 + }, + "end": { + "line": 430, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "tr", + "raw": "'tr'", + "range": [ + 12629, + 12633 + ], + "loc": { + "start": { + "line": 430, + "column": 44 + }, + "end": { + "line": 430, + "column": 48 + } + } + } + ], + "range": [ + 12619, + 12634 + ], + "loc": { + "start": { + "line": 430, + "column": 34 + }, + "end": { + "line": 430, + "column": 49 + } + } + } + ], + "range": [ + 12597, + 12635 + ], + "loc": { + "start": { + "line": 430, + "column": 12 + }, + "end": { + "line": 430, + "column": 50 + } + } + }, + "range": [ + 12597, + 12636 + ], + "loc": { + "start": { + "line": 430, + "column": 12 + }, + "end": { + "line": 430, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Handle table with no headers, assuming here headers do not", + "range": [ + 12502, + 12563 + ], + "loc": { + "start": { + "line": 428, + "column": 12 + }, + "end": { + "line": 428, + "column": 73 + } + } + }, + { + "type": "Line", + "value": " exist", + "range": [ + 12576, + 12584 + ], + "loc": { + "start": { + "line": 429, + "column": 12 + }, + "end": { + "line": 429, + "column": 20 + } + } + } + ] + } + ], + "range": [ + 12488, + 12646 + ], + "loc": { + "start": { + "line": 427, + "column": 28 + }, + "end": { + "line": 431, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 12748, + 12749 + ], + "loc": { + "start": { + "line": 433, + "column": 21 + }, + "end": { + "line": 433, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 12752, + 12753 + ], + "loc": { + "start": { + "line": 433, + "column": 25 + }, + "end": { + "line": 433, + "column": 26 + } + } + }, + "range": [ + 12748, + 12753 + ], + "loc": { + "start": { + "line": 433, + "column": 21 + }, + "end": { + "line": 433, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 12744, + 12753 + ], + "loc": { + "start": { + "line": 433, + "column": 17 + }, + "end": { + "line": 433, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 12755, + 12756 + ], + "loc": { + "start": { + "line": 433, + "column": 28 + }, + "end": { + "line": 433, + "column": 29 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12759, + 12763 + ], + "loc": { + "start": { + "line": 433, + "column": 32 + }, + "end": { + "line": 433, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "headRows", + "range": [ + 12764, + 12772 + ], + "loc": { + "start": { + "line": 433, + "column": 37 + }, + "end": { + "line": 433, + "column": 45 + } + } + }, + "range": [ + 12759, + 12772 + ], + "loc": { + "start": { + "line": 433, + "column": 32 + }, + "end": { + "line": 433, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 12773, + 12779 + ], + "loc": { + "start": { + "line": 433, + "column": 46 + }, + "end": { + "line": 433, + "column": 52 + } + } + }, + "range": [ + 12759, + 12779 + ], + "loc": { + "start": { + "line": 433, + "column": 32 + }, + "end": { + "line": 433, + "column": 52 + } + } + }, + "range": [ + 12755, + 12779 + ], + "loc": { + "start": { + "line": 433, + "column": 28 + }, + "end": { + "line": 433, + "column": 52 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 12781, + 12782 + ], + "loc": { + "start": { + "line": 433, + "column": 54 + }, + "end": { + "line": 433, + "column": 55 + } + } + }, + "prefix": false, + "range": [ + 12781, + 12784 + ], + "loc": { + "start": { + "line": 433, + "column": 54 + }, + "end": { + "line": 433, + "column": 57 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "row", + "range": [ + 12808, + 12811 + ], + "loc": { + "start": { + "line": 434, + "column": 20 + }, + "end": { + "line": 434, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12814, + 12818 + ], + "loc": { + "start": { + "line": 434, + "column": 26 + }, + "end": { + "line": 434, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 12819, + 12821 + ], + "loc": { + "start": { + "line": 434, + "column": 31 + }, + "end": { + "line": 434, + "column": 33 + } + } + }, + "range": [ + 12814, + 12821 + ], + "loc": { + "start": { + "line": 434, + "column": 26 + }, + "end": { + "line": 434, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl", + "range": [ + 12822, + 12825 + ], + "loc": { + "start": { + "line": 434, + "column": 34 + }, + "end": { + "line": 434, + "column": 37 + } + } + }, + "range": [ + 12814, + 12825 + ], + "loc": { + "start": { + "line": 434, + "column": 26 + }, + "end": { + "line": 434, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 12826, + 12830 + ], + "loc": { + "start": { + "line": 434, + "column": 38 + }, + "end": { + "line": 434, + "column": 42 + } + } + }, + "range": [ + 12814, + 12830 + ], + "loc": { + "start": { + "line": 434, + "column": 26 + }, + "end": { + "line": 434, + "column": 42 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12831, + 12835 + ], + "loc": { + "start": { + "line": 434, + "column": 43 + }, + "end": { + "line": 434, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "headRows", + "range": [ + 12836, + 12844 + ], + "loc": { + "start": { + "line": 434, + "column": 48 + }, + "end": { + "line": 434, + "column": 56 + } + } + }, + "range": [ + 12831, + 12844 + ], + "loc": { + "start": { + "line": 434, + "column": 43 + }, + "end": { + "line": 434, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 12845, + 12846 + ], + "loc": { + "start": { + "line": 434, + "column": 57 + }, + "end": { + "line": 434, + "column": 58 + } + } + }, + "range": [ + 12831, + 12847 + ], + "loc": { + "start": { + "line": 434, + "column": 43 + }, + "end": { + "line": 434, + "column": 59 + } + } + }, + "range": [ + 12814, + 12848 + ], + "loc": { + "start": { + "line": 434, + "column": 26 + }, + "end": { + "line": 434, + "column": 60 + } + } + }, + "range": [ + 12808, + 12848 + ], + "loc": { + "start": { + "line": 434, + "column": 20 + }, + "end": { + "line": 434, + "column": 60 + } + } + } + ], + "kind": "let", + "range": [ + 12804, + 12849 + ], + "loc": { + "start": { + "line": 434, + "column": 16 + }, + "end": { + "line": 434, + "column": 61 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tableHead", + "range": [ + 12866, + 12875 + ], + "loc": { + "start": { + "line": 435, + "column": 16 + }, + "end": { + "line": 435, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 12876, + 12887 + ], + "loc": { + "start": { + "line": 435, + "column": 26 + }, + "end": { + "line": 435, + "column": 37 + } + } + }, + "range": [ + 12866, + 12887 + ], + "loc": { + "start": { + "line": 435, + "column": 16 + }, + "end": { + "line": 435, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "row", + "range": [ + 12888, + 12891 + ], + "loc": { + "start": { + "line": 435, + "column": 38 + }, + "end": { + "line": 435, + "column": 41 + } + } + } + ], + "range": [ + 12866, + 12892 + ], + "loc": { + "start": { + "line": 435, + "column": 16 + }, + "end": { + "line": 435, + "column": 42 + } + } + }, + "range": [ + 12866, + 12893 + ], + "loc": { + "start": { + "line": 435, + "column": 16 + }, + "end": { + "line": 435, + "column": 43 + } + } + } + ], + "range": [ + 12786, + 12907 + ], + "loc": { + "start": { + "line": 433, + "column": 59 + }, + "end": { + "line": 436, + "column": 13 + } + } + }, + "range": [ + 12739, + 12907 + ], + "loc": { + "start": { + "line": 433, + "column": 12 + }, + "end": { + "line": 436, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Headers row are moved from content table to headers table", + "range": [ + 12666, + 12726 + ], + "loc": { + "start": { + "line": 432, + "column": 12 + }, + "end": { + "line": 432, + "column": 72 + } + } + } + ] + } + ], + "range": [ + 12652, + 12917 + ], + "loc": { + "start": { + "line": 431, + "column": 15 + }, + "end": { + "line": 437, + "column": 9 + } + } + }, + "range": [ + 12468, + 12917 + ], + "loc": { + "start": { + "line": 427, + "column": 8 + }, + "end": { + "line": 437, + "column": 9 + } + } + } + ], + "range": [ + 12458, + 12923 + ], + "loc": { + "start": { + "line": 426, + "column": 29 + }, + "end": { + "line": 438, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 12446, + 12923 + ], + "loc": { + "start": { + "line": 426, + "column": 17 + }, + "end": { + "line": 438, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 12433, + 12923 + ], + "loc": { + "start": { + "line": 426, + "column": 4 + }, + "end": { + "line": 438, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sets headers row in headers table\n * @param {HTMLHeadElement} tableHead Table head element\n * @private\n ", + "range": [ + 12299, + 12428 + ], + "loc": { + "start": { + "line": 421, + "column": 4 + }, + "end": { + "line": 425, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sets width defined in configuration to passed element\n * @param {DOMElement} element DOM element\n * @private\n ", + "range": [ + 12929, + 13064 + ], + "loc": { + "start": { + "line": 440, + "column": 4 + }, + "end": { + "line": 444, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setConfigWidth", + "range": [ + 13069, + 13083 + ], + "loc": { + "start": { + "line": 445, + "column": 4 + }, + "end": { + "line": 445, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "element", + "range": [ + 13084, + 13091 + ], + "loc": { + "start": { + "line": 445, + "column": 19 + }, + "end": { + "line": 445, + "column": 26 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13108, + 13112 + ], + "loc": { + "start": { + "line": 446, + "column": 13 + }, + "end": { + "line": 446, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 13113, + 13118 + ], + "loc": { + "start": { + "line": 446, + "column": 18 + }, + "end": { + "line": 446, + "column": 23 + } + } + }, + "range": [ + 13108, + 13118 + ], + "loc": { + "start": { + "line": 446, + "column": 13 + }, + "end": { + "line": 446, + "column": 23 + } + } + }, + "prefix": true, + "range": [ + 13107, + 13118 + ], + "loc": { + "start": { + "line": 446, + "column": 12 + }, + "end": { + "line": 446, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 13134, + 13141 + ], + "loc": { + "start": { + "line": 447, + "column": 12 + }, + "end": { + "line": 447, + "column": 19 + } + } + } + ], + "range": [ + 13120, + 13151 + ], + "loc": { + "start": { + "line": 446, + "column": 25 + }, + "end": { + "line": 448, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 13103, + 13151 + ], + "loc": { + "start": { + "line": 446, + "column": 8 + }, + "end": { + "line": 448, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13164, + 13168 + ], + "loc": { + "start": { + "line": 449, + "column": 12 + }, + "end": { + "line": 449, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 13169, + 13174 + ], + "loc": { + "start": { + "line": 449, + "column": 17 + }, + "end": { + "line": 449, + "column": 22 + } + } + }, + "range": [ + 13164, + 13174 + ], + "loc": { + "start": { + "line": 449, + "column": 12 + }, + "end": { + "line": 449, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 13175, + 13182 + ], + "loc": { + "start": { + "line": 449, + "column": 23 + }, + "end": { + "line": 449, + "column": 30 + } + } + }, + "range": [ + 13164, + 13182 + ], + "loc": { + "start": { + "line": 449, + "column": 12 + }, + "end": { + "line": 449, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "%", + "raw": "'%'", + "range": [ + 13183, + 13186 + ], + "loc": { + "start": { + "line": 449, + "column": 31 + }, + "end": { + "line": 449, + "column": 34 + } + } + } + ], + "range": [ + 13164, + 13187 + ], + "loc": { + "start": { + "line": 449, + "column": 12 + }, + "end": { + "line": 449, + "column": 35 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 13193, + 13194 + ], + "loc": { + "start": { + "line": 449, + "column": 41 + }, + "end": { + "line": 449, + "column": 42 + } + } + }, + "prefix": true, + "range": [ + 13192, + 13194 + ], + "loc": { + "start": { + "line": 449, + "column": 40 + }, + "end": { + "line": 449, + "column": 42 + } + } + }, + "range": [ + 13164, + 13194 + ], + "loc": { + "start": { + "line": 449, + "column": 12 + }, + "end": { + "line": 449, + "column": 42 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "element", + "range": [ + 13210, + 13217 + ], + "loc": { + "start": { + "line": 450, + "column": 12 + }, + "end": { + "line": 450, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 13218, + 13223 + ], + "loc": { + "start": { + "line": 450, + "column": 20 + }, + "end": { + "line": 450, + "column": 25 + } + } + }, + "range": [ + 13210, + 13223 + ], + "loc": { + "start": { + "line": 450, + "column": 12 + }, + "end": { + "line": 450, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 13224, + 13229 + ], + "loc": { + "start": { + "line": 450, + "column": 26 + }, + "end": { + "line": 450, + "column": 31 + } + } + }, + "range": [ + 13210, + 13229 + ], + "loc": { + "start": { + "line": 450, + "column": 12 + }, + "end": { + "line": 450, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": "100%", + "raw": "'100%'", + "range": [ + 13232, + 13238 + ], + "loc": { + "start": { + "line": 450, + "column": 34 + }, + "end": { + "line": 450, + "column": 40 + } + } + }, + "range": [ + 13210, + 13238 + ], + "loc": { + "start": { + "line": 450, + "column": 12 + }, + "end": { + "line": 450, + "column": 40 + } + } + }, + "range": [ + 13210, + 13239 + ], + "loc": { + "start": { + "line": 450, + "column": 12 + }, + "end": { + "line": 450, + "column": 41 + } + } + } + ], + "range": [ + 13196, + 13249 + ], + "loc": { + "start": { + "line": 449, + "column": 44 + }, + "end": { + "line": 451, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "element", + "range": [ + 13269, + 13276 + ], + "loc": { + "start": { + "line": 452, + "column": 12 + }, + "end": { + "line": 452, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 13277, + 13282 + ], + "loc": { + "start": { + "line": 452, + "column": 20 + }, + "end": { + "line": 452, + "column": 25 + } + } + }, + "range": [ + 13269, + 13282 + ], + "loc": { + "start": { + "line": 452, + "column": 12 + }, + "end": { + "line": 452, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 13283, + 13288 + ], + "loc": { + "start": { + "line": 452, + "column": 26 + }, + "end": { + "line": 452, + "column": 31 + } + } + }, + "range": [ + 13269, + 13288 + ], + "loc": { + "start": { + "line": 452, + "column": 12 + }, + "end": { + "line": 452, + "column": 31 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13291, + 13295 + ], + "loc": { + "start": { + "line": 452, + "column": 34 + }, + "end": { + "line": 452, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 13296, + 13301 + ], + "loc": { + "start": { + "line": 452, + "column": 39 + }, + "end": { + "line": 452, + "column": 44 + } + } + }, + "range": [ + 13291, + 13301 + ], + "loc": { + "start": { + "line": 452, + "column": 34 + }, + "end": { + "line": 452, + "column": 44 + } + } + }, + "range": [ + 13269, + 13301 + ], + "loc": { + "start": { + "line": 452, + "column": 12 + }, + "end": { + "line": 452, + "column": 44 + } + } + }, + "range": [ + 13269, + 13302 + ], + "loc": { + "start": { + "line": 452, + "column": 12 + }, + "end": { + "line": 452, + "column": 45 + } + } + } + ], + "range": [ + 13255, + 13312 + ], + "loc": { + "start": { + "line": 451, + "column": 15 + }, + "end": { + "line": 453, + "column": 9 + } + } + }, + "range": [ + 13160, + 13312 + ], + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 453, + "column": 9 + } + } + } + ], + "range": [ + 13093, + 13318 + ], + "loc": { + "start": { + "line": 445, + "column": 28 + }, + "end": { + "line": 454, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 13083, + 13318 + ], + "loc": { + "start": { + "line": 445, + "column": 18 + }, + "end": { + "line": 454, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 13069, + 13318 + ], + "loc": { + "start": { + "line": 445, + "column": 4 + }, + "end": { + "line": 454, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sets width defined in configuration to passed element\n * @param {DOMElement} element DOM element\n * @private\n ", + "range": [ + 12929, + 13064 + ], + "loc": { + "start": { + "line": 440, + "column": 4 + }, + "end": { + "line": 444, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 13324, + 13521 + ], + "loc": { + "start": { + "line": 456, + "column": 4 + }, + "end": { + "line": 461, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getSortTriggerIds", + "range": [ + 13526, + 13543 + ], + "loc": { + "start": { + "line": 462, + "column": 4 + }, + "end": { + "line": 462, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "row", + "range": [ + 13544, + 13547 + ], + "loc": { + "start": { + "line": 462, + "column": 22 + }, + "end": { + "line": 462, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 13563, + 13565 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13568, + 13572 + ], + "loc": { + "start": { + "line": 463, + "column": 17 + }, + "end": { + "line": 463, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 13573, + 13575 + ], + "loc": { + "start": { + "line": 463, + "column": 22 + }, + "end": { + "line": 463, + "column": 24 + } + } + }, + "range": [ + 13568, + 13575 + ], + "loc": { + "start": { + "line": 463, + "column": 17 + }, + "end": { + "line": 463, + "column": 24 + } + } + }, + "range": [ + 13563, + 13575 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 13559, + 13576 + ], + "loc": { + "start": { + "line": 463, + "column": 8 + }, + "end": { + "line": 463, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sortTriggers", + "range": [ + 13589, + 13601 + ], + "loc": { + "start": { + "line": 464, + "column": 12 + }, + "end": { + "line": 464, + "column": 24 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 13604, + 13606 + ], + "loc": { + "start": { + "line": 464, + "column": 27 + }, + "end": { + "line": 464, + "column": 29 + } + } + }, + "range": [ + 13589, + 13606 + ], + "loc": { + "start": { + "line": 464, + "column": 12 + }, + "end": { + "line": 464, + "column": 29 + } + } + } + ], + "kind": "let", + "range": [ + 13585, + 13607 + ], + "loc": { + "start": { + "line": 464, + "column": 8 + }, + "end": { + "line": 464, + "column": 30 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 13625, + 13626 + ], + "loc": { + "start": { + "line": 465, + "column": 17 + }, + "end": { + "line": 465, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 13629, + 13630 + ], + "loc": { + "start": { + "line": 465, + "column": 21 + }, + "end": { + "line": 465, + "column": 22 + } + } + }, + "range": [ + 13625, + 13630 + ], + "loc": { + "start": { + "line": 465, + "column": 17 + }, + "end": { + "line": 465, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 13621, + 13630 + ], + "loc": { + "start": { + "line": 465, + "column": 13 + }, + "end": { + "line": 465, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 13632, + 13633 + ], + "loc": { + "start": { + "line": 465, + "column": 24 + }, + "end": { + "line": 465, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13636, + 13638 + ], + "loc": { + "start": { + "line": 465, + "column": 28 + }, + "end": { + "line": 465, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellsNb", + "range": [ + 13639, + 13649 + ], + "loc": { + "start": { + "line": 465, + "column": 31 + }, + "end": { + "line": 465, + "column": 41 + } + } + }, + "range": [ + 13636, + 13649 + ], + "loc": { + "start": { + "line": 465, + "column": 28 + }, + "end": { + "line": 465, + "column": 41 + } + } + }, + "arguments": [], + "range": [ + 13636, + 13651 + ], + "loc": { + "start": { + "line": 465, + "column": 28 + }, + "end": { + "line": 465, + "column": 43 + } + } + }, + "range": [ + 13632, + 13651 + ], + "loc": { + "start": { + "line": 465, + "column": 24 + }, + "end": { + "line": 465, + "column": 43 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "n", + "range": [ + 13653, + 13654 + ], + "loc": { + "start": { + "line": 465, + "column": 45 + }, + "end": { + "line": 465, + "column": 46 + } + } + }, + "prefix": false, + "range": [ + 13653, + 13656 + ], + "loc": { + "start": { + "line": 465, + "column": 45 + }, + "end": { + "line": 465, + "column": 48 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "c", + "range": [ + 13676, + 13677 + ], + "loc": { + "start": { + "line": 466, + "column": 16 + }, + "end": { + "line": 466, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 13680, + 13683 + ], + "loc": { + "start": { + "line": 466, + "column": 20 + }, + "end": { + "line": 466, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 13684, + 13689 + ], + "loc": { + "start": { + "line": 466, + "column": 24 + }, + "end": { + "line": 466, + "column": 29 + } + } + }, + "range": [ + 13680, + 13689 + ], + "loc": { + "start": { + "line": 466, + "column": 20 + }, + "end": { + "line": 466, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "n", + "range": [ + 13690, + 13691 + ], + "loc": { + "start": { + "line": 466, + "column": 30 + }, + "end": { + "line": 466, + "column": 31 + } + } + }, + "range": [ + 13680, + 13692 + ], + "loc": { + "start": { + "line": 466, + "column": 20 + }, + "end": { + "line": 466, + "column": 32 + } + } + }, + "range": [ + 13676, + 13692 + ], + "loc": { + "start": { + "line": 466, + "column": 16 + }, + "end": { + "line": 466, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 13672, + 13693 + ], + "loc": { + "start": { + "line": 466, + "column": 12 + }, + "end": { + "line": 466, + "column": 33 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "thId", + "range": [ + 13710, + 13714 + ], + "loc": { + "start": { + "line": 467, + "column": 16 + }, + "end": { + "line": 467, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 13717, + 13718 + ], + "loc": { + "start": { + "line": 467, + "column": 23 + }, + "end": { + "line": 467, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 13719, + 13731 + ], + "loc": { + "start": { + "line": 467, + "column": 25 + }, + "end": { + "line": 467, + "column": 37 + } + } + }, + "range": [ + 13717, + 13731 + ], + "loc": { + "start": { + "line": 467, + "column": 23 + }, + "end": { + "line": 467, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 13732, + 13736 + ], + "loc": { + "start": { + "line": 467, + "column": 38 + }, + "end": { + "line": 467, + "column": 42 + } + } + } + ], + "range": [ + 13717, + 13737 + ], + "loc": { + "start": { + "line": 467, + "column": 23 + }, + "end": { + "line": 467, + "column": 43 + } + } + }, + "range": [ + 13710, + 13737 + ], + "loc": { + "start": { + "line": 467, + "column": 16 + }, + "end": { + "line": 467, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 13706, + 13738 + ], + "loc": { + "start": { + "line": 467, + "column": 12 + }, + "end": { + "line": 467, + "column": 44 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "thId", + "range": [ + 13756, + 13760 + ], + "loc": { + "start": { + "line": 468, + "column": 17 + }, + "end": { + "line": 468, + "column": 21 + } + } + }, + "prefix": true, + "range": [ + 13755, + 13760 + ], + "loc": { + "start": { + "line": 468, + "column": 16 + }, + "end": { + "line": 468, + "column": 21 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "thId", + "range": [ + 13764, + 13768 + ], + "loc": { + "start": { + "line": 468, + "column": 25 + }, + "end": { + "line": 468, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 13773, + 13775 + ], + "loc": { + "start": { + "line": 468, + "column": 34 + }, + "end": { + "line": 468, + "column": 36 + } + } + }, + "range": [ + 13764, + 13775 + ], + "loc": { + "start": { + "line": 468, + "column": 25 + }, + "end": { + "line": 468, + "column": 36 + } + } + }, + "range": [ + 13755, + 13775 + ], + "loc": { + "start": { + "line": 468, + "column": 16 + }, + "end": { + "line": 468, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "thId", + "range": [ + 13795, + 13799 + ], + "loc": { + "start": { + "line": 469, + "column": 16 + }, + "end": { + "line": 469, + "column": 20 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13802, + 13806 + ], + "loc": { + "start": { + "line": 469, + "column": 23 + }, + "end": { + "line": 469, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxGridTh", + "range": [ + 13807, + 13817 + ], + "loc": { + "start": { + "line": 469, + "column": 28 + }, + "end": { + "line": 469, + "column": 38 + } + } + }, + "range": [ + 13802, + 13817 + ], + "loc": { + "start": { + "line": 469, + "column": 23 + }, + "end": { + "line": 469, + "column": 38 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 13820, + 13821 + ], + "loc": { + "start": { + "line": 469, + "column": 41 + }, + "end": { + "line": 469, + "column": 42 + } + } + }, + "range": [ + 13802, + 13821 + ], + "loc": { + "start": { + "line": 469, + "column": 23 + }, + "end": { + "line": 469, + "column": 42 + } + } + }, + "right": { + "type": "Literal", + "value": "_", + "raw": "'_'", + "range": [ + 13824, + 13827 + ], + "loc": { + "start": { + "line": 469, + "column": 45 + }, + "end": { + "line": 469, + "column": 48 + } + } + }, + "range": [ + 13802, + 13827 + ], + "loc": { + "start": { + "line": 469, + "column": 23 + }, + "end": { + "line": 469, + "column": 48 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13830, + 13832 + ], + "loc": { + "start": { + "line": 469, + "column": 51 + }, + "end": { + "line": 469, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 13833, + 13835 + ], + "loc": { + "start": { + "line": 469, + "column": 54 + }, + "end": { + "line": 469, + "column": 56 + } + } + }, + "range": [ + 13830, + 13835 + ], + "loc": { + "start": { + "line": 469, + "column": 51 + }, + "end": { + "line": 469, + "column": 56 + } + } + }, + "range": [ + 13802, + 13835 + ], + "loc": { + "start": { + "line": 469, + "column": 23 + }, + "end": { + "line": 469, + "column": 56 + } + } + }, + "range": [ + 13795, + 13835 + ], + "loc": { + "start": { + "line": 469, + "column": 16 + }, + "end": { + "line": 469, + "column": 56 + } + } + }, + "range": [ + 13795, + 13836 + ], + "loc": { + "start": { + "line": 469, + "column": 16 + }, + "end": { + "line": 469, + "column": 57 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 13853, + 13854 + ], + "loc": { + "start": { + "line": 470, + "column": 16 + }, + "end": { + "line": 470, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 13855, + 13867 + ], + "loc": { + "start": { + "line": 470, + "column": 18 + }, + "end": { + "line": 470, + "column": 30 + } + } + }, + "range": [ + 13853, + 13867 + ], + "loc": { + "start": { + "line": 470, + "column": 16 + }, + "end": { + "line": 470, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 13868, + 13872 + ], + "loc": { + "start": { + "line": 470, + "column": 31 + }, + "end": { + "line": 470, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "thId", + "range": [ + 13874, + 13878 + ], + "loc": { + "start": { + "line": 470, + "column": 37 + }, + "end": { + "line": 470, + "column": 41 + } + } + } + ], + "range": [ + 13853, + 13879 + ], + "loc": { + "start": { + "line": 470, + "column": 16 + }, + "end": { + "line": 470, + "column": 42 + } + } + }, + "range": [ + 13853, + 13880 + ], + "loc": { + "start": { + "line": 470, + "column": 16 + }, + "end": { + "line": 470, + "column": 43 + } + } + } + ], + "range": [ + 13777, + 13894 + ], + "loc": { + "start": { + "line": 468, + "column": 38 + }, + "end": { + "line": 471, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 13751, + 13894 + ], + "loc": { + "start": { + "line": 468, + "column": 12 + }, + "end": { + "line": 471, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "sortTriggers", + "range": [ + 13907, + 13919 + ], + "loc": { + "start": { + "line": 472, + "column": 12 + }, + "end": { + "line": 472, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 13920, + 13924 + ], + "loc": { + "start": { + "line": 472, + "column": 25 + }, + "end": { + "line": 472, + "column": 29 + } + } + }, + "range": [ + 13907, + 13924 + ], + "loc": { + "start": { + "line": 472, + "column": 12 + }, + "end": { + "line": 472, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "thId", + "range": [ + 13925, + 13929 + ], + "loc": { + "start": { + "line": 472, + "column": 30 + }, + "end": { + "line": 472, + "column": 34 + } + } + } + ], + "range": [ + 13907, + 13930 + ], + "loc": { + "start": { + "line": 472, + "column": 12 + }, + "end": { + "line": 472, + "column": 35 + } + } + }, + "range": [ + 13907, + 13931 + ], + "loc": { + "start": { + "line": 472, + "column": 12 + }, + "end": { + "line": 472, + "column": 36 + } + } + } + ], + "range": [ + 13658, + 13941 + ], + "loc": { + "start": { + "line": 465, + "column": 50 + }, + "end": { + "line": 473, + "column": 9 + } + } + }, + "range": [ + 13616, + 13941 + ], + "loc": { + "start": { + "line": 465, + "column": 8 + }, + "end": { + "line": 473, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "sortTriggers", + "range": [ + 13957, + 13969 + ], + "loc": { + "start": { + "line": 474, + "column": 15 + }, + "end": { + "line": 474, + "column": 27 + } + } + }, + "range": [ + 13950, + 13970 + ], + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 28 + } + } + } + ], + "range": [ + 13549, + 13976 + ], + "loc": { + "start": { + "line": 462, + "column": 27 + }, + "end": { + "line": 475, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 13543, + 13976 + ], + "loc": { + "start": { + "line": 462, + "column": 21 + }, + "end": { + "line": 475, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 13526, + 13976 + ], + "loc": { + "start": { + "line": 462, + "column": 4 + }, + "end": { + "line": 475, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 13324, + 13521 + ], + "loc": { + "start": { + "line": 456, + "column": 4 + }, + "end": { + "line": 461, "column": 7 } } @@ -27241,16 +28364,16 @@ "type": "Block", "value": "*\n * Removes the grid layout\n ", "range": [ - 12313, - 12355 + 13982, + 14024 ], "loc": { "start": { - "line": 400, + "line": 477, "column": 4 }, "end": { - "line": 402, + "line": 479, "column": 7 } } @@ -27264,16 +28387,16 @@ "type": "Identifier", "name": "destroy", "range": [ - 12360, - 12367 + 14029, + 14036 ], "loc": { "start": { - "line": 403, + "line": 480, "column": 4 }, "end": { - "line": 403, + "line": 480, "column": 11 } } @@ -27294,16 +28417,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12384, - 12386 + 14053, + 14055 ], "loc": { "start": { - "line": 404, + "line": 481, "column": 12 }, "end": { - "line": 404, + "line": 481, "column": 14 } } @@ -27314,16 +28437,16 @@ "object": { "type": "ThisExpression", "range": [ - 12389, - 12393 + 14058, + 14062 ], "loc": { "start": { - "line": 404, + "line": 481, "column": 17 }, "end": { - "line": 404, + "line": 481, "column": 21 } } @@ -27332,46 +28455,46 @@ "type": "Identifier", "name": "tf", "range": [ - 12394, - 12396 + 14063, + 14065 ], "loc": { "start": { - "line": 404, + "line": 481, "column": 22 }, "end": { - "line": 404, + "line": 481, "column": 24 } } }, "range": [ - 12389, - 12396 + 14058, + 14065 ], "loc": { "start": { - "line": 404, + "line": 481, "column": 17 }, "end": { - "line": 404, + "line": 481, "column": 24 } } }, "range": [ - 12384, - 12396 + 14053, + 14065 ], "loc": { "start": { - "line": 404, + "line": 481, "column": 12 }, "end": { - "line": 404, + "line": 481, "column": 24 } } @@ -27379,16 +28502,16 @@ ], "kind": "let", "range": [ - 12380, - 12397 + 14049, + 14066 ], "loc": { "start": { - "line": 404, + "line": 481, "column": 8 }, "end": { - "line": 404, + "line": 481, "column": 25 } } @@ -27402,16 +28525,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 12410, - 12413 + 14079, + 14082 ], "loc": { "start": { - "line": 405, + "line": 482, "column": 12 }, "end": { - "line": 405, + "line": 482, "column": 15 } } @@ -27423,16 +28546,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12416, - 12418 + 14085, + 14087 ], "loc": { "start": { - "line": 405, + "line": 482, "column": 18 }, "end": { - "line": 405, + "line": 482, "column": 20 } } @@ -27441,46 +28564,46 @@ "type": "Identifier", "name": "tbl", "range": [ - 12419, - 12422 + 14088, + 14091 ], "loc": { "start": { - "line": 405, + "line": 482, "column": 21 }, "end": { - "line": 405, + "line": 482, "column": 24 } } }, "range": [ - 12416, - 12422 + 14085, + 14091 ], "loc": { "start": { - "line": 405, + "line": 482, "column": 18 }, "end": { - "line": 405, + "line": 482, "column": 24 } } }, "range": [ - 12410, - 12422 + 14079, + 14091 ], "loc": { "start": { - "line": 405, + "line": 482, "column": 12 }, "end": { - "line": 405, + "line": 482, "column": 24 } } @@ -27488,16 +28611,16 @@ ], "kind": "let", "range": [ - 12406, - 12423 + 14075, + 14092 ], "loc": { "start": { - "line": 405, + "line": 482, "column": 8 }, "end": { - "line": 405, + "line": 482, "column": 25 } } @@ -27513,16 +28636,16 @@ "object": { "type": "ThisExpression", "range": [ - 12438, - 12442 + 14107, + 14111 ], "loc": { "start": { - "line": 407, + "line": 484, "column": 13 }, "end": { - "line": 407, + "line": 484, "column": 17 } } @@ -27531,47 +28654,47 @@ "type": "Identifier", "name": "initialized", "range": [ - 12443, - 12454 + 14112, + 14123 ], "loc": { "start": { - "line": 407, + "line": 484, "column": 18 }, "end": { - "line": 407, + "line": 484, "column": 29 } } }, "range": [ - 12438, - 12454 + 14107, + 14123 ], "loc": { "start": { - "line": 407, + "line": 484, "column": 13 }, "end": { - "line": 407, + "line": 484, "column": 29 } } }, "prefix": true, "range": [ - 12437, - 12454 + 14106, + 14123 ], "loc": { "start": { - "line": 407, + "line": 484, "column": 12 }, "end": { - "line": 407, + "line": 484, "column": 29 } } @@ -27583,48 +28706,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 12470, - 12477 + 14139, + 14146 ], "loc": { "start": { - "line": 408, + "line": 485, "column": 12 }, "end": { - "line": 408, + "line": 485, "column": 19 } } } ], "range": [ - 12456, - 12487 + 14125, + 14156 ], "loc": { "start": { - "line": 407, + "line": 484, "column": 31 }, "end": { - "line": 409, + "line": 486, "column": 9 } } }, "alternate": null, "range": [ - 12433, - 12487 + 14102, + 14156 ], "loc": { "start": { - "line": 407, + "line": 484, "column": 8 }, "end": { - "line": 409, + "line": 486, "column": 9 } } @@ -27638,16 +28761,16 @@ "type": "Identifier", "name": "t", "range": [ - 12500, - 12501 + 14169, + 14170 ], "loc": { "start": { - "line": 410, + "line": 487, "column": 12 }, "end": { - "line": 410, + "line": 487, "column": 13 } } @@ -27658,16 +28781,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 12504, - 12513 + 14173, + 14182 ], "loc": { "start": { - "line": 410, + "line": 487, "column": 16 }, "end": { - "line": 410, + "line": 487, "column": 25 } } @@ -27677,47 +28800,47 @@ "type": "Identifier", "name": "tbl", "range": [ - 12514, - 12517 + 14183, + 14186 ], "loc": { "start": { - "line": 410, + "line": 487, "column": 26 }, "end": { - "line": 410, + "line": 487, "column": 29 } } } ], "range": [ - 12504, - 12518 + 14173, + 14187 ], "loc": { "start": { - "line": 410, + "line": 487, "column": 16 }, "end": { - "line": 410, + "line": 487, "column": 30 } } }, "range": [ - 12500, - 12518 + 14169, + 14187 ], "loc": { "start": { - "line": 410, + "line": 487, "column": 12 }, "end": { - "line": 410, + "line": 487, "column": 30 } } @@ -27725,16 +28848,16 @@ ], "kind": "let", "range": [ - 12496, - 12519 + 14165, + 14188 ], "loc": { "start": { - "line": 410, + "line": 487, "column": 8 }, "end": { - "line": 410, + "line": 487, "column": 31 } } @@ -27755,16 +28878,16 @@ "object": { "type": "ThisExpression", "range": [ - 12528, - 12532 + 14197, + 14201 ], "loc": { "start": { - "line": 411, + "line": 488, "column": 8 }, "end": { - "line": 411, + "line": 488, "column": 12 } } @@ -27773,31 +28896,31 @@ "type": "Identifier", "name": "tblMainCont", "range": [ - 12533, - 12544 + 14202, + 14213 ], "loc": { "start": { - "line": 411, + "line": 488, "column": 13 }, "end": { - "line": 411, + "line": 488, "column": 24 } } }, "range": [ - 12528, - 12544 + 14197, + 14213 ], "loc": { "start": { - "line": 411, + "line": 488, "column": 8 }, "end": { - "line": 411, + "line": 488, "column": 24 } } @@ -27806,31 +28929,31 @@ "type": "Identifier", "name": "parentNode", "range": [ - 12545, - 12555 + 14214, + 14224 ], "loc": { "start": { - "line": 411, + "line": 488, "column": 25 }, "end": { - "line": 411, + "line": 488, "column": 35 } } }, "range": [ - 12528, - 12555 + 14197, + 14224 ], "loc": { "start": { - "line": 411, + "line": 488, "column": 8 }, "end": { - "line": 411, + "line": 488, "column": 35 } } @@ -27839,31 +28962,31 @@ "type": "Identifier", "name": "insertBefore", "range": [ - 12556, - 12568 + 14225, + 14237 ], "loc": { "start": { - "line": 411, + "line": 488, "column": 36 }, "end": { - "line": 411, + "line": 488, "column": 48 } } }, "range": [ - 12528, - 12568 + 14197, + 14237 ], "loc": { "start": { - "line": 411, + "line": 488, "column": 8 }, "end": { - "line": 411, + "line": 488, "column": 48 } } @@ -27873,16 +28996,16 @@ "type": "Identifier", "name": "t", "range": [ - 12569, - 12570 + 14238, + 14239 ], "loc": { "start": { - "line": 411, + "line": 488, "column": 49 }, "end": { - "line": 411, + "line": 488, "column": 50 } } @@ -27893,16 +29016,16 @@ "object": { "type": "ThisExpression", "range": [ - 12572, - 12576 + 14241, + 14245 ], "loc": { "start": { - "line": 411, + "line": 488, "column": 52 }, "end": { - "line": 411, + "line": 488, "column": 56 } } @@ -27911,62 +29034,62 @@ "type": "Identifier", "name": "tblMainCont", "range": [ - 12577, - 12588 + 14246, + 14257 ], "loc": { "start": { - "line": 411, + "line": 488, "column": 57 }, "end": { - "line": 411, + "line": 488, "column": 68 } } }, "range": [ - 12572, - 12588 + 14241, + 14257 ], "loc": { "start": { - "line": 411, + "line": 488, "column": 52 }, "end": { - "line": 411, + "line": 488, "column": 68 } } } ], "range": [ - 12528, - 12589 + 14197, + 14258 ], "loc": { "start": { - "line": 411, + "line": 488, "column": 8 }, "end": { - "line": 411, + "line": 488, "column": 69 } } }, "range": [ - 12528, - 12590 + 14197, + 14259 ], "loc": { "start": { - "line": 411, + "line": 488, "column": 8 }, "end": { - "line": 411, + "line": 488, "column": 70 } } @@ -27979,16 +29102,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 12599, - 12608 + 14268, + 14277 ], "loc": { "start": { - "line": 412, + "line": 489, "column": 8 }, "end": { - "line": 412, + "line": 489, "column": 17 } } @@ -28000,16 +29123,16 @@ "object": { "type": "ThisExpression", "range": [ - 12609, - 12613 + 14278, + 14282 ], "loc": { "start": { - "line": 412, + "line": 489, "column": 18 }, "end": { - "line": 412, + "line": 489, "column": 22 } } @@ -28018,62 +29141,62 @@ "type": "Identifier", "name": "tblMainCont", "range": [ - 12614, - 12625 + 14283, + 14294 ], "loc": { "start": { - "line": 412, + "line": 489, "column": 23 }, "end": { - "line": 412, + "line": 489, "column": 34 } } }, "range": [ - 12609, - 12625 + 14278, + 14294 ], "loc": { "start": { - "line": 412, + "line": 489, "column": 18 }, "end": { - "line": 412, + "line": 489, "column": 34 } } } ], "range": [ - 12599, - 12626 + 14268, + 14295 ], "loc": { "start": { - "line": 412, + "line": 489, "column": 8 }, "end": { - "line": 412, + "line": 489, "column": 35 } } }, "range": [ - 12599, - 12627 + 14268, + 14296 ], "loc": { "start": { - "line": 412, + "line": 489, "column": 8 }, "end": { - "line": 412, + "line": 489, "column": 36 } } @@ -28089,16 +29212,16 @@ "object": { "type": "ThisExpression", "range": [ - 12637, - 12641 + 14306, + 14310 ], "loc": { "start": { - "line": 414, + "line": 491, "column": 8 }, "end": { - "line": 414, + "line": 491, "column": 12 } } @@ -28107,31 +29230,31 @@ "type": "Identifier", "name": "tblMainCont", "range": [ - 12642, - 12653 + 14311, + 14322 ], "loc": { "start": { - "line": 414, + "line": 491, "column": 13 }, "end": { - "line": 414, + "line": 491, "column": 24 } } }, "range": [ - 12637, - 12653 + 14306, + 14322 ], "loc": { "start": { - "line": 414, + "line": 491, "column": 8 }, "end": { - "line": 414, + "line": 491, "column": 24 } } @@ -28141,46 +29264,46 @@ "value": null, "raw": "null", "range": [ - 12656, - 12660 + 14325, + 14329 ], "loc": { "start": { - "line": 414, + "line": 491, "column": 27 }, "end": { - "line": 414, + "line": 491, "column": 31 } } }, "range": [ - 12637, - 12660 + 14306, + 14329 ], "loc": { "start": { - "line": 414, + "line": 491, "column": 8 }, "end": { - "line": 414, + "line": 491, "column": 31 } } }, "range": [ - 12637, - 12661 + 14306, + 14330 ], "loc": { "start": { - "line": 414, + "line": 491, "column": 8 }, "end": { - "line": 414, + "line": 491, "column": 32 } } @@ -28196,16 +29319,16 @@ "object": { "type": "ThisExpression", "range": [ - 12670, - 12674 + 14339, + 14343 ], "loc": { "start": { - "line": 415, + "line": 492, "column": 8 }, "end": { - "line": 415, + "line": 492, "column": 12 } } @@ -28214,31 +29337,31 @@ "type": "Identifier", "name": "headTblCont", "range": [ - 12675, - 12686 + 14344, + 14355 ], "loc": { "start": { - "line": 415, + "line": 492, "column": 13 }, "end": { - "line": 415, + "line": 492, "column": 24 } } }, "range": [ - 12670, - 12686 + 14339, + 14355 ], "loc": { "start": { - "line": 415, + "line": 492, "column": 8 }, "end": { - "line": 415, + "line": 492, "column": 24 } } @@ -28248,46 +29371,46 @@ "value": null, "raw": "null", "range": [ - 12689, - 12693 + 14358, + 14362 ], "loc": { "start": { - "line": 415, + "line": 492, "column": 27 }, "end": { - "line": 415, + "line": 492, "column": 31 } } }, "range": [ - 12670, - 12693 + 14339, + 14362 ], "loc": { "start": { - "line": 415, + "line": 492, "column": 8 }, "end": { - "line": 415, + "line": 492, "column": 31 } } }, "range": [ - 12670, - 12694 + 14339, + 14363 ], "loc": { "start": { - "line": 415, + "line": 492, "column": 8 }, "end": { - "line": 415, + "line": 492, "column": 32 } } @@ -28303,16 +29426,16 @@ "object": { "type": "ThisExpression", "range": [ - 12703, - 12707 + 14372, + 14376 ], "loc": { "start": { - "line": 416, + "line": 493, "column": 8 }, "end": { - "line": 416, + "line": 493, "column": 12 } } @@ -28321,31 +29444,31 @@ "type": "Identifier", "name": "headTbl", "range": [ - 12708, - 12715 + 14377, + 14384 ], "loc": { "start": { - "line": 416, + "line": 493, "column": 13 }, "end": { - "line": 416, + "line": 493, "column": 20 } } }, "range": [ - 12703, - 12715 + 14372, + 14384 ], "loc": { "start": { - "line": 416, + "line": 493, "column": 8 }, "end": { - "line": 416, + "line": 493, "column": 20 } } @@ -28355,46 +29478,46 @@ "value": null, "raw": "null", "range": [ - 12718, - 12722 + 14387, + 14391 ], "loc": { "start": { - "line": 416, + "line": 493, "column": 23 }, "end": { - "line": 416, + "line": 493, "column": 27 } } }, "range": [ - 12703, - 12722 + 14372, + 14391 ], "loc": { "start": { - "line": 416, + "line": 493, "column": 8 }, "end": { - "line": 416, + "line": 493, "column": 27 } } }, "range": [ - 12703, - 12723 + 14372, + 14392 ], "loc": { "start": { - "line": 416, + "line": 493, "column": 8 }, "end": { - "line": 416, + "line": 493, "column": 28 } } @@ -28410,16 +29533,16 @@ "object": { "type": "ThisExpression", "range": [ - 12732, - 12736 + 14401, + 14405 ], "loc": { "start": { - "line": 417, + "line": 494, "column": 8 }, "end": { - "line": 417, + "line": 494, "column": 12 } } @@ -28428,31 +29551,31 @@ "type": "Identifier", "name": "tblCont", "range": [ - 12737, - 12744 + 14406, + 14413 ], "loc": { "start": { - "line": 417, + "line": 494, "column": 13 }, "end": { - "line": 417, + "line": 494, "column": 20 } } }, "range": [ - 12732, - 12744 + 14401, + 14413 ], "loc": { "start": { - "line": 417, + "line": 494, "column": 8 }, "end": { - "line": 417, + "line": 494, "column": 20 } } @@ -28462,46 +29585,46 @@ "value": null, "raw": "null", "range": [ - 12747, - 12751 + 14416, + 14420 ], "loc": { "start": { - "line": 417, + "line": 494, "column": 23 }, "end": { - "line": 417, + "line": 494, "column": 27 } } }, "range": [ - 12732, - 12751 + 14401, + 14420 ], "loc": { "start": { - "line": 417, + "line": 494, "column": 8 }, "end": { - "line": 417, + "line": 494, "column": 27 } } }, "range": [ - 12732, - 12752 + 14401, + 14421 ], "loc": { "start": { - "line": 417, + "line": 494, "column": 8 }, "end": { - "line": 417, + "line": 494, "column": 28 } } @@ -28518,16 +29641,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 12762, - 12765 + 14431, + 14434 ], "loc": { "start": { - "line": 419, + "line": 496, "column": 8 }, "end": { - "line": 419, + "line": 496, "column": 11 } } @@ -28536,31 +29659,31 @@ "type": "Identifier", "name": "outerHTML", "range": [ - 12766, - 12775 + 14435, + 14444 ], "loc": { "start": { - "line": 419, + "line": 496, "column": 12 }, "end": { - "line": 419, + "line": 496, "column": 21 } } }, "range": [ - 12762, - 12775 + 14431, + 14444 ], "loc": { "start": { - "line": 419, + "line": 496, "column": 8 }, "end": { - "line": 419, + "line": 496, "column": 21 } } @@ -28571,16 +29694,16 @@ "object": { "type": "ThisExpression", "range": [ - 12778, - 12782 + 14447, + 14451 ], "loc": { "start": { - "line": 419, + "line": 496, "column": 24 }, "end": { - "line": 419, + "line": 496, "column": 28 } } @@ -28589,61 +29712,61 @@ "type": "Identifier", "name": "sourceTblHtml", "range": [ - 12783, - 12796 + 14452, + 14465 ], "loc": { "start": { - "line": 419, + "line": 496, "column": 29 }, "end": { - "line": 419, + "line": 496, "column": 42 } } }, "range": [ - 12778, - 12796 + 14447, + 14465 ], "loc": { "start": { - "line": 419, + "line": 496, "column": 24 }, "end": { - "line": 419, + "line": 496, "column": 42 } } }, "range": [ - 12762, - 12796 + 14431, + 14465 ], "loc": { "start": { - "line": 419, + "line": 496, "column": 8 }, "end": { - "line": 419, + "line": 496, "column": 42 } } }, "range": [ - 12762, - 12797 + 14431, + 14466 ], "loc": { "start": { - "line": 419, + "line": 496, "column": 8 }, "end": { - "line": 419, + "line": 496, "column": 43 } }, @@ -28652,16 +29775,16 @@ "type": "Line", "value": "needed to keep reference of table element for future usage", "range": [ - 12806, - 12866 + 14475, + 14535 ], "loc": { "start": { - "line": 420, + "line": 497, "column": 8 }, "end": { - "line": 420, + "line": 497, "column": 68 } } @@ -28682,16 +29805,16 @@ "object": { "type": "ThisExpression", "range": [ - 12875, - 12879 + 14544, + 14548 ], "loc": { "start": { - "line": 421, + "line": 498, "column": 8 }, "end": { - "line": 421, + "line": 498, "column": 12 } } @@ -28700,31 +29823,31 @@ "type": "Identifier", "name": "tf", "range": [ - 12880, - 12882 + 14549, + 14551 ], "loc": { "start": { - "line": 421, + "line": 498, "column": 13 }, "end": { - "line": 421, + "line": 498, "column": 15 } } }, "range": [ - 12875, - 12882 + 14544, + 14551 ], "loc": { "start": { - "line": 421, + "line": 498, "column": 8 }, "end": { - "line": 421, + "line": 498, "column": 15 } } @@ -28733,31 +29856,31 @@ "type": "Identifier", "name": "tbl", "range": [ - 12883, - 12886 + 14552, + 14555 ], "loc": { "start": { - "line": 421, + "line": 498, "column": 16 }, "end": { - "line": 421, + "line": 498, "column": 19 } } }, "range": [ - 12875, - 12886 + 14544, + 14555 ], "loc": { "start": { - "line": 421, + "line": 498, "column": 8 }, "end": { - "line": 421, + "line": 498, "column": 19 } } @@ -28768,16 +29891,16 @@ "type": "Identifier", "name": "elm", "range": [ - 12889, - 12892 + 14558, + 14561 ], "loc": { "start": { - "line": 421, + "line": 498, "column": 22 }, "end": { - "line": 421, + "line": 498, "column": 25 } } @@ -28790,16 +29913,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12893, - 12895 + 14562, + 14564 ], "loc": { "start": { - "line": 421, + "line": 498, "column": 26 }, "end": { - "line": 421, + "line": 498, "column": 28 } } @@ -28808,77 +29931,77 @@ "type": "Identifier", "name": "id", "range": [ - 12896, - 12898 + 14565, + 14567 ], "loc": { "start": { - "line": 421, + "line": 498, "column": 29 }, "end": { - "line": 421, + "line": 498, "column": 31 } } }, "range": [ - 12893, - 12898 + 14562, + 14567 ], "loc": { "start": { - "line": 421, + "line": 498, "column": 26 }, "end": { - "line": 421, + "line": 498, "column": 31 } } } ], "range": [ - 12889, - 12899 + 14558, + 14568 ], "loc": { "start": { - "line": 421, + "line": 498, "column": 22 }, "end": { - "line": 421, + "line": 498, "column": 32 } } }, "range": [ - 12875, - 12899 + 14544, + 14568 ], "loc": { "start": { - "line": 421, + "line": 498, "column": 8 }, "end": { - "line": 421, + "line": 498, "column": 32 } } }, "range": [ - 12875, - 12900 + 14544, + 14569 ], "loc": { "start": { - "line": 421, + "line": 498, "column": 8 }, "end": { - "line": 421, + "line": 498, "column": 33 } }, @@ -28887,16 +30010,16 @@ "type": "Line", "value": "needed to keep reference of table element for future usage", "range": [ - 12806, - 12866 + 14475, + 14535 ], "loc": { "start": { - "line": 420, + "line": 497, "column": 8 }, "end": { - "line": 420, + "line": 497, "column": 68 } } @@ -28914,16 +30037,16 @@ "object": { "type": "ThisExpression", "range": [ - 12910, - 12914 + 14579, + 14583 ], "loc": { "start": { - "line": 423, + "line": 500, "column": 8 }, "end": { - "line": 423, + "line": 500, "column": 12 } } @@ -28932,31 +30055,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 12915, - 12926 + 14584, + 14595 ], "loc": { "start": { - "line": 423, + "line": 500, "column": 13 }, "end": { - "line": 423, + "line": 500, "column": 24 } } }, "range": [ - 12910, - 12926 + 14579, + 14595 ], "loc": { "start": { - "line": 423, + "line": 500, "column": 8 }, "end": { - "line": 423, + "line": 500, "column": 24 } } @@ -28966,62 +30089,62 @@ "value": false, "raw": "false", "range": [ - 12929, - 12934 + 14598, + 14603 ], "loc": { "start": { - "line": 423, + "line": 500, "column": 27 }, "end": { - "line": 423, + "line": 500, "column": 32 } } }, "range": [ - 12910, - 12934 + 14579, + 14603 ], "loc": { "start": { - "line": 423, + "line": 500, "column": 8 }, "end": { - "line": 423, + "line": 500, "column": 32 } } }, "range": [ - 12910, - 12935 + 14579, + 14604 ], "loc": { "start": { - "line": 423, + "line": 500, "column": 8 }, "end": { - "line": 423, + "line": 500, "column": 33 } } } ], "range": [ - 12370, - 12941 + 14039, + 14610 ], "loc": { "start": { - "line": 403, + "line": 480, "column": 14 }, "end": { - "line": 424, + "line": 501, "column": 5 } } @@ -29029,16 +30152,16 @@ "generator": false, "expression": false, "range": [ - 12367, - 12941 + 14036, + 14610 ], "loc": { "start": { - "line": 403, + "line": 480, "column": 11 }, "end": { - "line": 424, + "line": 501, "column": 5 } } @@ -29046,16 +30169,16 @@ "kind": "method", "computed": false, "range": [ - 12360, - 12941 + 14029, + 14610 ], "loc": { "start": { - "line": 403, + "line": 480, "column": 4 }, "end": { - "line": 424, + "line": 501, "column": 5 } }, @@ -29064,16 +30187,16 @@ "type": "Block", "value": "*\n * Removes the grid layout\n ", "range": [ - 12313, - 12355 + 13982, + 14024 ], "loc": { "start": { - "line": 400, + "line": 477, "column": 4 }, "end": { - "line": 402, + "line": 479, "column": 7 } } @@ -29084,7 +30207,7 @@ ], "range": [ 325, - 12943 + 14612 ], "loc": { "start": { @@ -29092,14 +30215,14 @@ "column": 40 }, "end": { - "line": 425, + "line": 502, "column": 1 } } }, "range": [ 292, - 12943 + 14612 ], "loc": { "start": { @@ -29107,7 +30230,7 @@ "column": 7 }, "end": { - "line": 425, + "line": 502, "column": 1 } }, @@ -29137,7 +30260,7 @@ "source": null, "range": [ 285, - 12943 + 14612 ], "loc": { "start": { @@ -29145,7 +30268,7 @@ "column": 0 }, "end": { - "line": 425, + "line": 502, "column": 1 } }, @@ -29174,7 +30297,7 @@ "sourceType": "module", "range": [ 0, - 12943 + 14612 ], "loc": { "start": { @@ -29182,7 +30305,7 @@ "column": 0 }, "end": { - "line": 425, + "line": 502, "column": 1 } }, @@ -29566,11 +30689,11 @@ } }, { - "type": "Line", - "value": " filters flag at TF level", + "type": "Block", + "value": "*\n * Indicates if working table has column elements\n * @type {Boolean}\n * @private\n ", "range": [ 3760, - 3787 + 3880 ], "loc": { "start": { @@ -29578,44 +30701,62 @@ "column": 8 }, "end": { - "line": 146, + "line": 150, + "column": 11 + } + } + }, + { + "type": "Line", + "value": " filters flag at TF level", + "range": [ + 3964, + 3991 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, "column": 35 } } }, { "type": "Block", - "value": "*\n * Generates a grid with fixed headers\n *\n * TODO: reduce size of init by extracting single purposed methods\n ", + "value": "*\n * Generates a grid with fixed headers\n * TODO: reduce size of init by extracting single purposed methods\n ", "range": [ - 3840, - 3972 + 4044, + 4169 ], "loc": { "start": { - "line": 150, + "line": 157, "column": 4 }, "end": { - "line": 154, + "line": 160, "column": 7 } } }, { "type": "Line", - "value": " Override reference rows indexes", + "value": " Override relevant TableFilter properties", "range": [ - 4139, - 4173 + 4307, + 4350 ], "loc": { "start": { - "line": 164, + "line": 169, "column": 8 }, "end": { - "line": 164, - "column": 42 + "line": 169, + "column": 51 } } }, @@ -29623,35 +30764,35 @@ "type": "Line", "value": " Assign default column widths", "range": [ - 4335, - 4366 + 4389, + 4420 ], "loc": { "start": { - "line": 171, + "line": 172, "column": 8 }, "end": { - "line": 171, + "line": 172, "column": 39 } } }, { "type": "Line", - "value": "initial table width", + "value": " Initial table width", "range": [ - 4421, - 4442 + 4466, + 4488 ], "loc": { "start": { - "line": 174, - "column": 17 + "line": 175, + "column": 8 }, "end": { - "line": 174, - "column": 38 + "line": 175, + "column": 30 } } }, @@ -29659,16 +30800,16 @@ "type": "Line", "value": "Main container: it will contain all the elements", "range": [ - 4680, - 4730 + 4543, + 4593 ], "loc": { "start": { - "line": 184, + "line": 178, "column": 8 }, "end": { - "line": 184, + "line": 178, "column": 58 } } @@ -29677,16 +30818,16 @@ "type": "Line", "value": "Table container: div wrapping content table", "range": [ - 5046, - 5091 + 4875, + 4920 ], "loc": { "start": { - "line": 193, + "line": 186, "column": 8 }, "end": { - "line": 193, + "line": 186, "column": 53 } } @@ -29695,16 +30836,16 @@ "type": "Line", "value": "In case table width is expressed in %", "range": [ - 5670, - 5709 + 5297, + 5336 ], "loc": { "start": { - "line": 210, + "line": 197, "column": 8 }, "end": { - "line": 210, + "line": 197, "column": 47 } } @@ -29713,16 +30854,16 @@ "type": "Line", "value": "Headers table container: div wrapping headers table", "range": [ - 5951, - 6004 + 5578, + 5631 ], "loc": { "start": { - "line": 219, + "line": 206, "column": 8 }, "end": { - "line": 219, + "line": 206, "column": 61 } } @@ -29731,16 +30872,16 @@ "type": "Line", "value": "Headers table", "range": [ - 6405, - 6420 + 5809, + 5824 ], "loc": { "start": { - "line": 231, + "line": 211, "column": 8 }, "end": { - "line": 231, + "line": 211, "column": 23 } } @@ -29749,16 +30890,16 @@ "type": "Line", "value": "1st row should be headers row, ids are added if not set", "range": [ - 6544, - 6601 + 5948, + 6005 ], "loc": { "start": { - "line": 235, + "line": 215, "column": 8 }, "end": { - "line": 235, + "line": 215, "column": 65 } } @@ -29767,16 +30908,16 @@ "type": "Line", "value": "Those ids are used by the sort feature", "range": [ - 6610, - 6650 + 6014, + 6054 ], "loc": { "start": { - "line": 236, + "line": 216, "column": 8 }, "end": { - "line": 236, + "line": 216, "column": 48 } } @@ -29785,16 +30926,16 @@ "type": "Line", "value": "Filters row is created", "range": [ - 7069, - 7093 + 6169, + 6193 ], "loc": { "start": { - "line": 249, + "line": 220, "column": 8 }, "end": { - "line": 249, + "line": 220, "column": 32 } } @@ -29803,70 +30944,34 @@ "type": "Line", "value": "Headers row are moved from content table to headers table", "range": [ - 7545, - 7604 + 6253, + 6312 ], "loc": { "start": { - "line": 261, + "line": 223, "column": 8 }, "end": { - "line": 261, + "line": 223, "column": 67 } } }, - { - "type": "Line", - "value": " Handle table with no headers, assuming here headers do not", - "range": [ - 7839, - 7900 - ], - "loc": { - "start": { - "line": 268, - "column": 12 - }, - "end": { - "line": 268, - "column": 73 - } - } - }, - { - "type": "Line", - "value": " exist", - "range": [ - 7913, - 7921 - ], - "loc": { - "start": { - "line": 269, - "column": 12 - }, - "end": { - "line": 269, - "column": 20 - } - } - }, { "type": "Line", "value": "THead needs to be removed in content table for sort feature", "range": [ - 8310, - 8371 + 6678, + 6739 ], "loc": { "start": { - "line": 283, + "line": 236, "column": 8 }, "end": { - "line": 283, + "line": 236, "column": 69 } } @@ -29875,16 +30980,16 @@ "type": "Line", "value": "Headers table style", "range": [ - 8501, - 8522 + 6869, + 6890 ], "loc": { "start": { - "line": 289, + "line": 242, "column": 8 }, "end": { - "line": 289, + "line": 242, "column": 29 } } @@ -29893,16 +30998,16 @@ "type": "Line", "value": " this.headTbl.style.width = tbl.style.width;", "range": [ - 8726, - 8772 + 7094, + 7140 ], "loc": { "start": { - "line": 294, + "line": 247, "column": 8 }, "end": { - "line": 294, + "line": 247, "column": 54 } } @@ -29911,16 +31016,16 @@ "type": "Line", "value": "content table without headers needs col widths to be reset", "range": [ - 8782, - 8842 + 7150, + 7210 ], "loc": { "start": { - "line": 296, + "line": 249, "column": 8 }, "end": { - "line": 296, + "line": 249, "column": 68 } } @@ -29929,16 +31034,16 @@ "type": "Line", "value": "Headers container width", "range": [ - 8891, - 8916 + 7259, + 7284 ], "loc": { "start": { - "line": 299, + "line": 252, "column": 8 }, "end": { - "line": 299, + "line": 252, "column": 33 } } @@ -29947,16 +31052,16 @@ "type": "Line", "value": " this.headTblCont.style.width = this.tblCont.clientWidth+'px';", "range": [ - 8925, - 8989 + 7293, + 7357 ], "loc": { "start": { - "line": 300, + "line": 253, "column": 8 }, "end": { - "line": 300, + "line": 253, "column": 72 } } @@ -29965,16 +31070,16 @@ "type": "Line", "value": "", "range": [ - 9029, - 9031 + 7397, + 7399 ], "loc": { "start": { - "line": 303, + "line": 256, "column": 8 }, "end": { - "line": 303, + "line": 256, "column": 10 } } @@ -29983,16 +31088,16 @@ "type": "Line", "value": "", "range": [ - 9099, - 9101 + 7467, + 7469 ], "loc": { "start": { - "line": 305, + "line": 258, "column": 8 }, "end": { - "line": 305, + "line": 258, "column": 10 } } @@ -30001,16 +31106,16 @@ "type": "Line", "value": "scroll synchronisation", "range": [ - 9111, - 9135 + 7479, + 7503 ], "loc": { "start": { - "line": 307, + "line": 260, "column": 8 }, "end": { - "line": 307, + "line": 260, "column": 32 } } @@ -30019,16 +31124,16 @@ "type": "Line", "value": "New pointerX calc taking into account scrollLeft", "range": [ - 9335, - 9385 + 7703, + 7753 ], "loc": { "start": { - "line": 312, + "line": 265, "column": 12 }, "end": { - "line": 312, + "line": 265, "column": 62 } } @@ -30037,16 +31142,16 @@ "type": "Line", "value": " if(!o.isPointerXOverwritten){", "range": [ - 9398, - 9430 + 7766, + 7798 ], "loc": { "start": { - "line": 313, + "line": 266, "column": 12 }, "end": { - "line": 313, + "line": 266, "column": 44 } } @@ -30055,16 +31160,16 @@ "type": "Line", "value": " try{", "range": [ - 9443, - 9454 + 7811, + 7822 ], "loc": { "start": { - "line": 314, + "line": 267, "column": 12 }, "end": { - "line": 314, + "line": 267, "column": 23 } } @@ -30073,16 +31178,16 @@ "type": "Line", "value": " o.Evt.pointerX = function(evt){", "range": [ - 9467, - 9509 + 7835, + 7877 ], "loc": { "start": { - "line": 315, + "line": 268, "column": 12 }, "end": { - "line": 315, + "line": 268, "column": 54 } } @@ -30091,16 +31196,16 @@ "type": "Line", "value": " let e = evt || global.event;", "range": [ - 9522, - 9565 + 7890, + 7933 ], "loc": { "start": { - "line": 316, + "line": 269, "column": 12 }, "end": { - "line": 316, + "line": 269, "column": 55 } } @@ -30109,16 +31214,16 @@ "type": "Line", "value": " let bdScrollLeft = tf_StandardBody().scrollLeft +", "range": [ - 9578, - 9642 + 7946, + 8010 ], "loc": { "start": { - "line": 317, + "line": 270, "column": 12 }, "end": { - "line": 317, + "line": 270, "column": 76 } } @@ -30127,16 +31232,16 @@ "type": "Line", "value": " scrollLeft;", "range": [ - 9655, - 9685 + 8023, + 8053 ], "loc": { "start": { - "line": 318, + "line": 271, "column": 12 }, "end": { - "line": 318, + "line": 271, "column": 42 } } @@ -30145,16 +31250,16 @@ "type": "Line", "value": " return (e.pageX + scrollLeft) ||", "range": [ - 9698, - 9745 + 8066, + 8113 ], "loc": { "start": { - "line": 319, + "line": 272, "column": 12 }, "end": { - "line": 319, + "line": 272, "column": 59 } } @@ -30163,16 +31268,16 @@ "type": "Line", "value": " (e.clientX + bdScrollLeft);", "range": [ - 9758, - 9804 + 8126, + 8172 ], "loc": { "start": { - "line": 320, + "line": 273, "column": 12 }, "end": { - "line": 320, + "line": 273, "column": 58 } } @@ -30181,16 +31286,16 @@ "type": "Line", "value": " };", "range": [ - 9817, - 9830 + 8185, + 8198 ], "loc": { "start": { - "line": 321, + "line": 274, "column": 12 }, "end": { - "line": 321, + "line": 274, "column": 25 } } @@ -30199,16 +31304,16 @@ "type": "Line", "value": " o.isPointerXOverwritten = true;", "range": [ - 9843, - 9885 + 8211, + 8253 ], "loc": { "start": { - "line": 322, + "line": 275, "column": 12 }, "end": { - "line": 322, + "line": 275, "column": 54 } } @@ -30217,16 +31322,16 @@ "type": "Line", "value": " } catch(err) {", "range": [ - 9898, - 9919 + 8266, + 8287 ], "loc": { "start": { - "line": 323, + "line": 276, "column": 12 }, "end": { - "line": 323, + "line": 276, "column": 33 } } @@ -30235,16 +31340,16 @@ "type": "Line", "value": " o.isPointerXOverwritten = false;", "range": [ - 9932, - 9975 + 8300, + 8343 ], "loc": { "start": { - "line": 324, + "line": 277, "column": 12 }, "end": { - "line": 324, + "line": 277, "column": 55 } } @@ -30253,16 +31358,16 @@ "type": "Line", "value": " }", "range": [ - 9988, - 9996 + 8356, + 8364 ], "loc": { "start": { - "line": 325, + "line": 278, "column": 12 }, "end": { - "line": 325, + "line": 278, "column": 20 } } @@ -30271,53 +31376,35 @@ "type": "Line", "value": " }", "range": [ - 10009, - 10013 + 8377, + 8381 ], "loc": { "start": { - "line": 326, + "line": 279, "column": 12 }, "end": { - "line": 326, + "line": 279, "column": 16 } } }, { "type": "Line", - "value": "Configure sort extension if any", + "value": " TODO: Trigger a custom event handled by sort extension", "range": [ - 10035, - 10068 + 8403, + 8460 ], "loc": { "start": { - "line": 329, + "line": 282, "column": 8 }, "end": { - "line": 329, - "column": 41 - } - } - }, - { - "type": "Line", - "value": "Cols generation for all browsers excepted IE<=7", - "range": [ - 10324, - 10373 - ], - "loc": { - "start": { - "line": 338, - "column": 8 - }, - "end": { - "line": 338, - "column": 57 + "line": 282, + "column": 65 } } }, @@ -30325,16 +31412,16 @@ "type": "Line", "value": "Col elements are enough to keep column widths after sorting and", "range": [ - 10454, - 10519 + 8620, + 8685 ], "loc": { "start": { - "line": 341, + "line": 289, "column": 8 }, "end": { - "line": 341, + "line": 289, "column": 73 } } @@ -30343,26 +31430,116 @@ "type": "Line", "value": "filtering", "range": [ - 10528, - 10539 + 8694, + 8705 ], "loc": { "start": { - "line": 342, + "line": 290, "column": 8 }, "end": { - "line": 342, + "line": 290, "column": 19 } } }, + { + "type": "Block", + "value": "*\n * Overrides TableFilter instance properties to adjust to grid layout mode\n * @private\n ", + "range": [ + 9006, + 9112 + ], + "loc": { + "start": { + "line": 304, + "column": 4 + }, + "end": { + "line": 307, + "column": 7 + } + } + }, { "type": "Block", "value": "*\n * Set grid-layout default column widths if column widths are not defined\n * @private\n ", "range": [ - 11564, - 11669 + 9322, + 9427 + ], + "loc": { + "start": { + "line": 316, + "column": 4 + }, + "end": { + "line": 319, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Initial table width\n * @returns {Number}\n * @private\n ", + "range": [ + 10071, + 10150 + ], + "loc": { + "start": { + "line": 341, + "column": 4 + }, + "end": { + "line": 345, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "initial table width", + "range": [ + 10227, + 10248 + ], + "loc": { + "start": { + "line": 348, + "column": 19 + }, + "end": { + "line": 348, + "column": 40 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates container element\n * @param {String} id Element ID\n * @param {String} tag Tag name\n * @param {String} className Css class to assign to element\n * @returns {DOMElement}\n * @private\n ", + "range": [ + 10514, + 10740 + ], + "loc": { + "start": { + "line": 361, + "column": 4 + }, + "end": { + "line": 368, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates filters row with cells\n * @returns {HTMLTableRowElement}\n * @private\n ", + "range": [ + 10907, + 11010 ], "loc": { "start": { @@ -30370,7 +31547,133 @@ "column": 4 }, "end": { - "line": 378, + "line": 379, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Generates column elements if necessary and assigns their widths\n * @private\n ", + "range": [ + 11547, + 11645 + ], + "loc": { + "start": { + "line": 395, + "column": 4 + }, + "end": { + "line": 398, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Sets headers row in headers table\n * @param {HTMLHeadElement} tableHead Table head element\n * @private\n ", + "range": [ + 12299, + 12428 + ], + "loc": { + "start": { + "line": 421, + "column": 4 + }, + "end": { + "line": 425, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Handle table with no headers, assuming here headers do not", + "range": [ + 12502, + 12563 + ], + "loc": { + "start": { + "line": 428, + "column": 12 + }, + "end": { + "line": 428, + "column": 73 + } + } + }, + { + "type": "Line", + "value": " exist", + "range": [ + 12576, + 12584 + ], + "loc": { + "start": { + "line": 429, + "column": 12 + }, + "end": { + "line": 429, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " Headers row are moved from content table to headers table", + "range": [ + 12666, + 12726 + ], + "loc": { + "start": { + "line": 432, + "column": 12 + }, + "end": { + "line": 432, + "column": 72 + } + } + }, + { + "type": "Block", + "value": "*\n * Sets width defined in configuration to passed element\n * @param {DOMElement} element DOM element\n * @private\n ", + "range": [ + 12929, + 13064 + ], + "loc": { + "start": { + "line": 440, + "column": 4 + }, + "end": { + "line": 444, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 13324, + 13521 + ], + "loc": { + "start": { + "line": 456, + "column": 4 + }, + "end": { + "line": 461, "column": 7 } } @@ -30379,16 +31682,16 @@ "type": "Block", "value": "*\n * Removes the grid layout\n ", "range": [ - 12313, - 12355 + 13982, + 14024 ], "loc": { "start": { - "line": 400, + "line": 477, "column": 4 }, "end": { - "line": 402, + "line": 479, "column": 7 } } @@ -30397,16 +31700,16 @@ "type": "Line", "value": "needed to keep reference of table element for future usage", "range": [ - 12806, - 12866 + 14475, + 14535 ], "loc": { "start": { - "line": 420, + "line": 497, "column": 8 }, "end": { - "line": 420, + "line": 497, "column": 68 } } diff --git a/docs/badge.svg b/docs/badge.svg index 07c92456..4fee0800 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -11,7 +11,7 @@ document document - 38% - 38% + 40% + 40% diff --git a/docs/class/src/emitter.js~Emitter.html b/docs/class/src/emitter.js~Emitter.html index 21198013..652e1a16 100644 --- a/docs/class/src/emitter.js~Emitter.html +++ b/docs/class/src/emitter.js~Emitter.html @@ -3,7 +3,7 @@ - Emitter | tablefilter v0.2.41 API Document + Emitter | tablefilter v0.2.42 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 d58ba681..f35b0e39 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.2.41 API Document + AdapterEzEditTable | tablefilter v0.2.42 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 c4368d08..bdee62f4 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.2.41 API Document + ColOps | tablefilter v0.2.42 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 3b3dd7f6..c320d533 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.2.41 API Document + ColsVisibility | tablefilter v0.2.42 API Document diff --git a/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html b/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html index 671bc177..63e7dd94 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.2.41 API Document + FiltersVisibility | tablefilter v0.2.42 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 63260963..2a64d7d1 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.2.41 API Document + AdapterSortableTable | tablefilter v0.2.42 API Document diff --git a/docs/class/src/feature.js~Feature.html b/docs/class/src/feature.js~Feature.html index 9194bf23..ac03ad1c 100644 --- a/docs/class/src/feature.js~Feature.html +++ b/docs/class/src/feature.js~Feature.html @@ -3,7 +3,7 @@ - Feature | tablefilter v0.2.41 API Document + Feature | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/alternateRows.js~AlternateRows.html b/docs/class/src/modules/alternateRows.js~AlternateRows.html index de8b37bf..5dea43bb 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.2.41 API Document + AlternateRows | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/checkList.js~CheckList.html b/docs/class/src/modules/checkList.js~CheckList.html index c99bace8..e88a16b6 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.2.41 API Document + CheckList | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/clearButton.js~ClearButton.html b/docs/class/src/modules/clearButton.js~ClearButton.html index d3fd7301..8bab0a4f 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.2.41 API Document + ClearButton | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/dropdown.js~Dropdown.html b/docs/class/src/modules/dropdown.js~Dropdown.html index c586a579..2a0a0556 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.2.41 API Document + Dropdown | tablefilter v0.2.42 API Document @@ -115,13 +115,13 @@
-
import {Dropdown} from 'tablefilter/src/modules/dropdown.js'
+
import {Dropdown} from 'tablefilter/src/modules/dropdown.js'
public class - | source + | source
@@ -141,7 +141,8 @@ - +

Dropdown filter UI component

+
@@ -175,7 +176,7 @@
-

Dropdown UI component

+

Creates an instance of Dropdown

@@ -202,38 +203,14 @@

- activateSlcTooltip: * + enableSlcResetFilter: Boolean

- -
- - - - - - - - - public - - - - - - -
-

- enableSlcResetFilter: * -

-
-
- - - +

Enable the reset filter option as first item

+
@@ -277,13 +254,14 @@

- isCustom: * + multipleSlcTooltip: String

- +

Tooltip text appearing on multiple select

+
@@ -302,113 +280,14 @@

- multipleSlcTooltip: * + nonEmptyText: String

- -
- - - - - - - - - public - - - - - - -
-

- nonEmptyText: * -

-
-
- - - -
- - - - - - - - - public - - - - - - -
-

- opts: * -

-
-
- - - -
- - - - - - - - - public - - - - - - -
-

- optsTxt: * -

-
-
- - - -
- - - - - - - - - public - - - - - - -
-

- slcInnerHtml: * -

-
-
- - - +

Non empty option text

+
@@ -518,7 +397,8 @@
- +

Destroy Dropdown instance

+
@@ -584,56 +464,6 @@ - - - -
-

- onSlcChange() -

-
-
- - - -
- - - - - - - - - public - - - - - - -
-

- onSlcFocus(e: *) -

-
-
- - - -
- - - - - - - - - public - - - @@ -993,14 +823,14 @@ - source + source -

Dropdown UI component

+

Creates an instance of Dropdown

@@ -1043,46 +873,6 @@

Public Members

-
-

- public - - - - - activateSlcTooltip: * - - - - source - -

- - - - - - - - -
-
- - - - - - - - - - - - - - - -

public @@ -1090,18 +880,19 @@ - enableSlcResetFilter: * + enableSlcResetFilter: Boolean - source + source

- +

Enable the reset filter option as first item

+
@@ -1134,7 +925,7 @@ - source + source @@ -1162,46 +953,6 @@ -
-
-

- public - - - - - isCustom: * - - - - source - -

- - - - - - - - -
-
- - - - - - - - - - - - - - -

@@ -1210,18 +961,19 @@ - multipleSlcTooltip: * + multipleSlcTooltip: String - source + source

- +

Tooltip text appearing on multiple select

+
@@ -1250,141 +1002,22 @@ - nonEmptyText: * + nonEmptyText: String - source + source - - - - -
+

Non empty option text

- - - - - - - - - - - - -
-
-

- public - - - - - opts: * - - - - source - -

- - - - - - - - -
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - optsTxt: * - - - - source - -

- - - - - - - - -
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - slcInnerHtml: * - - - - source - -

- - - - - - - -
@@ -1417,7 +1050,7 @@ - source + source @@ -1485,7 +1118,7 @@ - source + source @@ -1564,7 +1197,7 @@ - source + source @@ -1629,14 +1262,15 @@ - source + source - +

Destroy Dropdown instance

+
@@ -1669,7 +1303,7 @@ - source + source @@ -1738,7 +1372,7 @@ - source + source @@ -1798,102 +1432,6 @@ -
-
-

- public - - - - - onSlcChange() - - - - source - -

- - - - - - - - -
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - onSlcFocus(e: *) - - - - source - -

- - - - - - - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
e*
-
-
- - - - - - - - - - - - - - -

@@ -1906,7 +1444,7 @@ - source + source

diff --git a/docs/class/src/modules/gridLayout.js~GridLayout.html b/docs/class/src/modules/gridLayout.js~GridLayout.html index a97731f5..d7631777 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.2.41 API Document + GridLayout | tablefilter v0.2.42 API Document @@ -558,31 +558,6 @@ - - - -
-

- tblHasColTag: * -

-
-
- - - -
- - - - - - - - - public - - - @@ -678,7 +653,8 @@
-

Generates a grid with fixed headers

+

Generates a grid with fixed headers +TODO: reduce size of init by extracting single purposed methods

@@ -1333,7 +1309,7 @@ - source + source @@ -1373,7 +1349,7 @@ - source + source @@ -1495,7 +1471,7 @@ - source + source @@ -1617,47 +1593,7 @@ - source - - - - - - - - - - -
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - tblHasColTag: * - - - - source + source

@@ -1697,7 +1633,7 @@ - source + source @@ -1781,7 +1717,7 @@ - source + source @@ -1822,15 +1758,15 @@ - source + source -

Generates a grid with fixed headers

-

TODO: reduce size of init by extracting single purposed methods

+

Generates a grid with fixed headers +TODO: reduce size of init by extracting single purposed methods

Override:

Feature#init
diff --git a/docs/class/src/modules/hash.js~Hash.html b/docs/class/src/modules/hash.js~Hash.html index 01b6eb82..f382242a 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.2.41 API Document + Hash | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/help.js~Help.html b/docs/class/src/modules/help.js~Help.html index b7fe06ad..54e07b96 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.2.41 API Document + Help | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html b/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html index 7a6cfd46..ea5c0aeb 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.2.41 API Document + HighlightKeyword | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/loader.js~Loader.html b/docs/class/src/modules/loader.js~Loader.html index 8259eba7..76ded8a4 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.2.41 API Document + Loader | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/noResults.js~NoResults.html b/docs/class/src/modules/noResults.js~NoResults.html index a1bb52dc..76e14916 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.2.41 API Document + NoResults | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/paging.js~Paging.html b/docs/class/src/modules/paging.js~Paging.html index b6d0ada7..5332879a 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.2.41 API Document + Paging | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/popupFilter.js~PopupFilter.html b/docs/class/src/modules/popupFilter.js~PopupFilter.html index 74a366cb..c1fc5210 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.2.41 API Document + PopupFilter | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/rowsCounter.js~RowsCounter.html b/docs/class/src/modules/rowsCounter.js~RowsCounter.html index 32459f66..6f6b5914 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.2.41 API Document + RowsCounter | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/state.js~State.html b/docs/class/src/modules/state.js~State.html index 0f47773f..2cb3682f 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.2.41 API Document + State | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/statusBar.js~StatusBar.html b/docs/class/src/modules/statusBar.js~StatusBar.html index cb62d7ed..5f3a773d 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.2.41 API Document + StatusBar | tablefilter v0.2.42 API Document diff --git a/docs/class/src/modules/storage.js~Storage.html b/docs/class/src/modules/storage.js~Storage.html index 44e38138..1bb1a150 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.2.41 API Document + Storage | tablefilter v0.2.42 API Document diff --git a/docs/class/src/tablefilter.js~TableFilter.html b/docs/class/src/tablefilter.js~TableFilter.html index 0d5b62a0..99c95593 100644 --- a/docs/class/src/tablefilter.js~TableFilter.html +++ b/docs/class/src/tablefilter.js~TableFilter.html @@ -3,7 +3,7 @@ - TableFilter | tablefilter v0.2.41 API Document + TableFilter | tablefilter v0.2.42 API Document diff --git a/docs/coverage.json b/docs/coverage.json index 2b4a2656..67c33a0f 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,7 +1,7 @@ { - "coverage": "38.98%", - "expectCount": 772, - "actualCount": 301, + "coverage": "40.05%", + "expectCount": 764, + "actualCount": 306, "files": { "src/const.js": { "expectCount": 13, @@ -140,22 +140,10 @@ ] }, "src/modules/dropdown.js": { - "expectCount": 20, - "actualCount": 7, + "expectCount": 13, + "actualCount": 12, "undocumentLines": [ - 12, - 29, - 380, - 24, - 113, - 35, - 32, - 27, - 52, - 41, - 36, - 37, - 38 + 151 ] }, "src/emitter.js": { @@ -344,15 +332,14 @@ ] }, "src/modules/gridLayout.js": { - "expectCount": 21, + "expectCount": 20, "actualCount": 15, "undocumentLines": [ - 232, - 220, - 372, - 194, - 339, - 185 + 212, + 207, + 301, + 187, + 179 ] }, "src/modules/hash.js": { diff --git a/docs/dump.json b/docs/dump.json index ff23f5e9..732d2226 100644 --- a/docs/dump.json +++ b/docs/dump.json @@ -395,7 +395,7 @@ "access": null, "description": null, "lineNumber": 1, - "content": "import {root} from './root';\n\n/**\n * Cookie utilities\n */\n\nconst doc = root.document;\n\nexport default {\n\n write(name, value, hours) {\n let expire = '';\n if (hours) {\n expire = new Date((new Date()).getTime() + hours * 3600000);\n expire = '; expires=' + expire.toGMTString();\n }\n doc.cookie = name + '=' + escape(value) + expire;\n },\n\n read(name) {\n let cookieValue = '',\n search = name + '=';\n if (doc.cookie.length > 0) {\n let cookie = doc.cookie,\n offset = cookie.indexOf(search);\n if (offset !== -1) {\n offset += search.length;\n let end = cookie.indexOf(';', offset);\n if (end === -1) {\n end = cookie.length;\n }\n cookieValue = unescape(cookie.substring(offset, end));\n }\n }\n return cookieValue;\n },\n\n remove(name) {\n this.write(name, '', -1);\n },\n\n valueToArray(name, separator) {\n if (!separator) {\n separator = ',';\n }\n //reads the cookie\n let val = this.read(name);\n //creates an array with filters' values\n let arr = val.split(separator);\n return arr;\n },\n\n getValueByIndex(name, index, separator) {\n if (!separator) {\n separator = ',';\n }\n //reads the cookie\n let val = this.valueToArray(name, separator);\n return val[index];\n }\n\n};\n" + "content": "import {root} from './root';\n\n/**\n * Cookie utilities\n */\n\nconst doc = root.document;\n\nexport default {\n\n /**\n * Write a cookie\n * @param {String} name Name of the cookie\n * @param {String} value Value of the cookie\n * @param {Number} hours Cookie duration in hours\n */\n write(name, value, hours) {\n let expire = '';\n if (hours) {\n expire = new Date((new Date()).getTime() + hours * 3600000);\n expire = '; expires=' + expire.toGMTString();\n }\n doc.cookie = name + '=' + escape(value) + expire;\n },\n\n /**\n * Read a cookie\n * @param {String} name Name of the cookie\n * @returns {String} Value of the cookie\n */\n read(name) {\n let cookieValue = '',\n search = name + '=';\n if (doc.cookie.length > 0) {\n let cookie = doc.cookie,\n offset = cookie.indexOf(search);\n if (offset !== -1) {\n offset += search.length;\n let end = cookie.indexOf(';', offset);\n if (end === -1) {\n end = cookie.length;\n }\n cookieValue = unescape(cookie.substring(offset, end));\n }\n }\n return cookieValue;\n },\n\n /**\n * Remove a cookie\n * @param {String} name Name of the cookie\n */\n remove(name) {\n this.write(name, '', -1);\n }\n\n};\n" }, { "__docId__": 17, @@ -6899,7 +6899,7 @@ "access": null, "description": null, "lineNumber": 1, - "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\nexport class Dropdown extends Feature {\n\n /**\n * Dropdown UI component\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'dropdown');\n\n // Configuration object\n let f = tf.config();\n\n this.enableSlcResetFilter = f.enable_slc_reset_filter === false ?\n false : true;\n //defines empty option text\n this.nonEmptyText = f.non_empty_text || '(Non empty)';\n //IE only, tooltip text appearing on select before it is populated\n this.activateSlcTooltip = f.activate_slc_tooltip ||\n 'Click to activate';\n //tooltip text appearing on multiple select\n this.multipleSlcTooltip = f.multiple_slc_tooltip ||\n 'Use Ctrl key for multiple selections';\n\n this.isCustom = null;\n this.opts = null;\n this.optsTxt = null;\n this.slcInnerHtml = null;\n }\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 onSlcChange() {\n if (this.tf.onSlcChange) {\n this.tf.filter();\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.prfxFlt + colIndex + '_' + tf.id],\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 tf.externalFltEls.push(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.displayAllText, '');\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\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 refresh 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 this.slcInnerHtml = '';\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 // WTF: cyclomatic complexity hell\n // TODO: simplify hell below\n if ((colIndex === j &&\n (!isLinked ||\n (isLinked && tf.disableExcludedOptions))) ||\n (colIndex === j && isLinked &&\n ((rows[k].style.display === '' && !tf.paging) ||\n (tf.paging && (!tf.validRowsIndex ||\n (tf.validRowsIndex &&\n tf.validRowsIndex.indexOf(k) !== -1)) &&\n ((activeIdx === undefined ||\n activeIdx === colIndex) ||\n (activeIdx !== colIndex &&\n tf.validRowsIndex.indexOf(k) !== -1)))))) {\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 }//if colIndex==j\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\n let opt0 = createOpt(\n (!this.enableSlcResetFilter ? '' : tf.displayAllText), '');\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 (tf.getFilterType(colIndex) !== MULTIPLE || 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 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 }\n}\n" + "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 * @param {Object} tf TableFilter instance\n */\nexport class Dropdown extends Feature {\n\n /**\n * Creates an instance of Dropdown\n * @param {Object} 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 * 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.prfxFlt + colIndex + '_' + tf.id],\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 tf.externalFltEls.push(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.displayAllText, '');\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\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 refresh 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 // WTF: cyclomatic complexity hell\n // TODO: simplify hell below\n if ((colIndex === j &&\n (!isLinked ||\n (isLinked && tf.disableExcludedOptions))) ||\n (colIndex === j && isLinked &&\n ((rows[k].style.display === '' && !tf.paging) ||\n (tf.paging && (!tf.validRowsIndex ||\n (tf.validRowsIndex &&\n tf.validRowsIndex.indexOf(k) !== -1)) &&\n ((activeIdx === undefined ||\n activeIdx === colIndex) ||\n (activeIdx !== colIndex &&\n tf.validRowsIndex.indexOf(k) !== -1)))))) {\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 }//if colIndex==j\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\n let opt0 = createOpt(\n (!this.enableSlcResetFilter ? '' : tf.displayAllText), '');\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 (tf.getFilterType(colIndex) !== MULTIPLE || 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 }\n}\n" }, { "__docId__": 320, @@ -6934,9 +6934,20 @@ "export": true, "importPath": "tablefilter/src/modules/dropdown.js", "importStyle": "{Dropdown}", - "description": null, - "lineNumber": 12, - "undocument": true, + "description": "Dropdown filter UI component", + "lineNumber": 16, + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], "interface": false, "extends": [ "src/feature.js~Feature" @@ -6951,8 +6962,8 @@ "memberof": "src/modules/dropdown.js~Dropdown", "longname": "src/modules/dropdown.js~Dropdown#constructor", "access": null, - "description": "Dropdown UI component", - "lineNumber": 18, + "description": "Creates an instance of Dropdown", + "lineNumber": 22, "params": [ { "nullable": null, @@ -6976,13 +6987,15 @@ "memberof": "src/modules/dropdown.js~Dropdown", "longname": "src/modules/dropdown.js~Dropdown#enableSlcResetFilter", "access": null, - "description": null, - "lineNumber": 24, - "undocument": true, + "description": "Enable the reset filter option as first item", + "lineNumber": 32, "type": { + "nullable": null, "types": [ - "*" - ] + "Boolean" + ], + "spread": false, + "description": null } }, { @@ -6994,13 +7007,15 @@ "memberof": "src/modules/dropdown.js~Dropdown", "longname": "src/modules/dropdown.js~Dropdown#nonEmptyText", "access": null, - "description": null, - "lineNumber": 27, - "undocument": true, + "description": "Non empty option text", + "lineNumber": 39, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -7008,17 +7023,19 @@ "kind": "member", "static": false, "variation": null, - "name": "activateSlcTooltip", + "name": "multipleSlcTooltip", "memberof": "src/modules/dropdown.js~Dropdown", - "longname": "src/modules/dropdown.js~Dropdown#activateSlcTooltip", + "longname": "src/modules/dropdown.js~Dropdown#multipleSlcTooltip", "access": null, - "description": null, - "lineNumber": 29, - "undocument": true, + "description": "Tooltip text appearing on multiple select", + "lineNumber": 45, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -7026,13 +7043,12 @@ "kind": "member", "static": false, "variation": null, - "name": "multipleSlcTooltip", + "name": "isCustom", "memberof": "src/modules/dropdown.js~Dropdown", - "longname": "src/modules/dropdown.js~Dropdown#multipleSlcTooltip", - "access": null, - "description": null, - "lineNumber": 32, - "undocument": true, + "longname": "src/modules/dropdown.js~Dropdown#isCustom", + "access": "private", + "description": "Indicates drop-down has custom options", + "lineNumber": 52, "type": { "types": [ "*" @@ -7044,17 +7060,19 @@ "kind": "member", "static": false, "variation": null, - "name": "isCustom", + "name": "opts", "memberof": "src/modules/dropdown.js~Dropdown", - "longname": "src/modules/dropdown.js~Dropdown#isCustom", - "access": null, - "description": null, - "lineNumber": 35, - "undocument": true, + "longname": "src/modules/dropdown.js~Dropdown#opts", + "access": "private", + "description": "List of options values", + "lineNumber": 59, "type": { + "nullable": null, "types": [ - "*" - ] + "Array" + ], + "spread": false, + "description": null } }, { @@ -7062,94 +7080,62 @@ "kind": "member", "static": false, "variation": null, - "name": "opts", + "name": "optsTxt", "memberof": "src/modules/dropdown.js~Dropdown", - "longname": "src/modules/dropdown.js~Dropdown#opts", - "access": null, - "description": null, - "lineNumber": 36, - "undocument": true, + "longname": "src/modules/dropdown.js~Dropdown#optsTxt", + "access": "private", + "description": "List of options texts for custom values", + "lineNumber": 66, "type": { + "nullable": null, "types": [ - "*" - ] + "Array" + ], + "spread": false, + "description": null } }, { "__docId__": 329, - "kind": "member", - "static": false, - "variation": null, - "name": "optsTxt", - "memberof": "src/modules/dropdown.js~Dropdown", - "longname": "src/modules/dropdown.js~Dropdown#optsTxt", - "access": null, - "description": null, - "lineNumber": 37, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 330, - "kind": "member", - "static": false, - "variation": null, - "name": "slcInnerHtml", - "memberof": "src/modules/dropdown.js~Dropdown", - "longname": "src/modules/dropdown.js~Dropdown#slcInnerHtml", - "access": null, - "description": null, - "lineNumber": 38, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 331, "kind": "method", "static": false, "variation": null, "name": "onSlcFocus", "memberof": "src/modules/dropdown.js~Dropdown", "longname": "src/modules/dropdown.js~Dropdown#onSlcFocus", - "access": null, - "description": null, - "lineNumber": 41, - "undocument": true, + "access": "private", + "description": "Drop-down filter focus event handler", + "lineNumber": 75, "params": [ { - "name": "e", + "nullable": null, "types": [ - "*" - ] + "Event" + ], + "spread": false, + "optional": false, + "name": "e", + "description": "DOM Event" } ], "generator": false }, { - "__docId__": 332, + "__docId__": 330, "kind": "method", "static": false, "variation": null, "name": "onSlcChange", "memberof": "src/modules/dropdown.js~Dropdown", "longname": "src/modules/dropdown.js~Dropdown#onSlcChange", - "access": null, - "description": null, - "lineNumber": 52, - "undocument": true, + "access": "private", + "description": "Drop-down filter change event handler", + "lineNumber": 90, "params": [], "generator": false }, { - "__docId__": 333, + "__docId__": 331, "kind": "method", "static": false, "variation": null, @@ -7158,7 +7144,7 @@ "longname": "src/modules/dropdown.js~Dropdown#init", "access": null, "description": "Initialize drop-down filter", - "lineNumber": 64, + "lineNumber": 102, "params": [ { "nullable": null, @@ -7194,7 +7180,7 @@ "generator": false }, { - "__docId__": 334, + "__docId__": 332, "kind": "member", "static": false, "variation": null, @@ -7203,7 +7189,7 @@ "longname": "src/modules/dropdown.js~Dropdown#initialized", "access": null, "description": null, - "lineNumber": 113, + "lineNumber": 151, "undocument": true, "type": { "types": [ @@ -7212,7 +7198,7 @@ } }, { - "__docId__": 335, + "__docId__": 333, "kind": "method", "static": false, "variation": null, @@ -7221,7 +7207,7 @@ "longname": "src/modules/dropdown.js~Dropdown#build", "access": null, "description": "Build drop-down filter UI", - "lineNumber": 121, + "lineNumber": 159, "params": [ { "nullable": null, @@ -7247,7 +7233,7 @@ "generator": false }, { - "__docId__": 336, + "__docId__": 334, "kind": "member", "static": false, "variation": null, @@ -7256,7 +7242,43 @@ "longname": "src/modules/dropdown.js~Dropdown#opts", "access": null, "description": null, - "lineNumber": 127, + "lineNumber": 165, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 335, + "kind": "member", + "static": false, + "variation": null, + "name": "optsTxt", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#optsTxt", + "access": null, + "description": null, + "lineNumber": 166, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 336, + "kind": "member", + "static": false, + "variation": null, + "name": "isCustom", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#isCustom", + "access": null, + "description": null, + "lineNumber": 174, "undocument": true, "type": { "types": [ @@ -7269,12 +7291,12 @@ "kind": "member", "static": false, "variation": null, - "name": "optsTxt", + "name": "opts", "memberof": "src/modules/dropdown.js~Dropdown", - "longname": "src/modules/dropdown.js~Dropdown#optsTxt", + "longname": "src/modules/dropdown.js~Dropdown#opts", "access": null, "description": null, - "lineNumber": 128, + "lineNumber": 247, "undocument": true, "type": { "types": [ @@ -7287,66 +7309,12 @@ "kind": "member", "static": false, "variation": null, - "name": "slcInnerHtml", - "memberof": "src/modules/dropdown.js~Dropdown", - "longname": "src/modules/dropdown.js~Dropdown#slcInnerHtml", - "access": null, - "description": null, - "lineNumber": 129, - "undocument": true, - "type": { - "types": [ - "string" - ] - } - }, - { - "__docId__": 339, - "kind": "member", - "static": false, - "variation": null, - "name": "isCustom", - "memberof": "src/modules/dropdown.js~Dropdown", - "longname": "src/modules/dropdown.js~Dropdown#isCustom", - "access": null, - "description": null, - "lineNumber": 137, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 340, - "kind": "member", - "static": false, - "variation": null, - "name": "opts", - "memberof": "src/modules/dropdown.js~Dropdown", - "longname": "src/modules/dropdown.js~Dropdown#opts", - "access": null, - "description": null, - "lineNumber": 210, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 341, - "kind": "member", - "static": false, - "variation": null, "name": "optsTxt", "memberof": "src/modules/dropdown.js~Dropdown", "longname": "src/modules/dropdown.js~Dropdown#optsTxt", "access": null, "description": null, - "lineNumber": 211, + "lineNumber": 248, "undocument": true, "type": { "types": [ @@ -7355,7 +7323,7 @@ } }, { - "__docId__": 342, + "__docId__": 339, "kind": "method", "static": false, "variation": null, @@ -7364,7 +7332,7 @@ "longname": "src/modules/dropdown.js~Dropdown#addOptions", "access": null, "description": "Add drop-down options", - "lineNumber": 270, + "lineNumber": 307, "params": [ { "nullable": null, @@ -7410,7 +7378,7 @@ "generator": false }, { - "__docId__": 343, + "__docId__": 340, "kind": "method", "static": false, "variation": null, @@ -7419,7 +7387,7 @@ "longname": "src/modules/dropdown.js~Dropdown#addFirstOption", "access": null, "description": "Add drop-down header option", - "lineNumber": 311, + "lineNumber": 348, "params": [ { "nullable": null, @@ -7440,7 +7408,7 @@ "generator": false }, { - "__docId__": 344, + "__docId__": 341, "kind": "method", "static": false, "variation": null, @@ -7449,7 +7417,7 @@ "longname": "src/modules/dropdown.js~Dropdown#selectOptions", "access": null, "description": "Select filter options programmatically", - "lineNumber": 336, + "lineNumber": 373, "params": [ { "nullable": null, @@ -7475,7 +7443,7 @@ "generator": false }, { - "__docId__": 345, + "__docId__": 342, "kind": "method", "static": false, "variation": null, @@ -7484,7 +7452,7 @@ "longname": "src/modules/dropdown.js~Dropdown#getValues", "access": null, "description": "Get filter values for a given column index", - "lineNumber": 360, + "lineNumber": 397, "unknown": [ { "tagName": "@returns", @@ -7514,7 +7482,7 @@ "generator": false }, { - "__docId__": 346, + "__docId__": 343, "kind": "method", "static": false, "variation": null, @@ -7522,14 +7490,13 @@ "memberof": "src/modules/dropdown.js~Dropdown", "longname": "src/modules/dropdown.js~Dropdown#destroy", "access": null, - "description": null, - "lineNumber": 380, - "undocument": true, + "description": "Destroy Dropdown instance", + "lineNumber": 420, "params": [], "generator": false }, { - "__docId__": 347, + "__docId__": 344, "kind": "file", "static": true, "variation": null, @@ -7539,10 +7506,10 @@ "access": null, "description": null, "lineNumber": 1, - "content": "import {Feature} from '../feature';\nimport {createElm, removeElm, elm, tag} from '../dom';\nimport {isNull} from '../types';\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 {Object} 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 main container ID\n * @type {String}\n * @private\n */\n this.prfxMainTblCont = 'gridCont_';\n\n /**\n * Prefix for grid-layout body table container ID\n * @type {String}\n * @private\n */\n this.prfxTblCont = 'tblCont_';\n\n /**\n * Prefix for grid-layout headers table container ID\n * @type {String}\n * @private\n */\n this.prfxHeadTblCont = 'tblHeadCont_';\n\n /**\n * Prefix for grid-layout headers table ID\n * @type {String}\n * @private\n */\n this.prfxHeadTbl = 'tblHead_';\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 // filters flag at TF level\n tf.fltGrid = this.enableFilters;\n }\n\n /**\n * Generates a grid with fixed headers\n *\n * TODO: reduce size of init by extracting single purposed methods\n */\n init() {\n let tf = this.tf;\n let f = this.config;\n let tbl = tf.tbl;\n\n if (this.initialized) {\n return;\n }\n\n // Override reference rows indexes\n tf.refRow = isNull(tf.startRow) ? 0 : tf.startRow;\n tf.headersRow = 0;\n tf.filtersRowIndex = 1;\n\n tf.isExternalFlt = true;\n\n // Assign default column widths\n this.setDefaultColWidths();\n\n let tblW;//initial table width\n if (tbl.width !== '') {\n tblW = tbl.width;\n }\n else if (tbl.style.width !== '') {\n tblW = parseInt(tbl.style.width, 10);\n } else {\n tblW = tbl.clientWidth;\n }\n\n //Main container: it will contain all the elements\n this.tblMainCont = createElm('div',\n ['id', this.prfxMainTblCont + tf.id]);\n this.tblMainCont.className = 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 = createElm('div', ['id', this.prfxTblCont + tf.id]);\n this.tblCont.className = this.contCssClass;\n if (this.width) {\n if (this.width.indexOf('%') !== -1) {\n this.tblCont.style.width = '100%';\n } else {\n this.tblCont.style.width = this.width;\n }\n }\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 = createElm(\n 'div', ['id', this.prfxHeadTblCont + tf.id]);\n this.headTblCont.className = this.headContCssClass;\n if (this.width) {\n if (this.width.indexOf('%') !== -1) {\n this.headTblCont.style.width = '100%';\n } else {\n this.headTblCont.style.width = this.width;\n }\n }\n\n //Headers table\n this.headTbl = createElm('table', ['id', this.prfxHeadTbl + tf.id]);\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 = [];\n for (let n = 0; n < tf.nbCells; n++) {\n let c = hRow.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\n //Filters row is created\n let filtersRow = createElm('tr');\n if (this.enableFilters && tf.fltGrid) {\n tf.externalFltTgtIds = [];\n for (let j = 0; j < tf.nbCells; 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\n //Headers row are moved from content table to headers table\n if (!this.noHeaders) {\n for (let i = 0; i < this.headRows.length; i++) {\n let headRow = tbl.rows[this.headRows[i]];\n tH.appendChild(headRow);\n }\n } else {\n // Handle table with no headers, assuming here headers do not\n // exist\n tH.appendChild(createElm('tr'));\n }\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 //Configure sort extension if any\n let sort = (f.extensions || []).filter(function (itm) {\n return itm.name === 'sort';\n });\n if (sort.length === 1) {\n sort[0].async_sort = true;\n sort[0].trigger_ids = sortTriggers;\n }\n\n //Cols generation for all browsers excepted IE<=7\n this.tblHasColTag = tag(tbl, 'col').length > 0 ? true : false;\n\n //Col elements are enough to keep column widths after sorting and\n //filtering\n let createColTags = function () {\n for (let k = (tf.nbCells - 1); k >= 0; k--) {\n let col = createElm('col', ['id', tf.id + '_col_' + k]);\n tbl.insertBefore(col, tbl.firstChild);\n col.style.width = tf.colWidths[k];\n this.colElms[k] = col;\n }\n this.tblHasColTag = true;\n };\n\n if (!this.tblHasColTag) {\n createColTags.call(this);\n } else {\n let cols = tag(tbl, 'col');\n for (let ii = 0; ii < tf.nbCells; ii++) {\n cols[ii].setAttribute('id', tf.id + '_col_' + ii);\n cols[ii].style.width = tf.colWidths[ii];\n this.colElms.push(cols[ii]);\n }\n }\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 this.initialized = 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 * 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" + "content": "import {Feature} from '../feature';\nimport {createElm, removeElm, elm, tag} from '../dom';\nimport {isNull} from '../types';\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 {Object} 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 main container ID\n * @type {String}\n * @private\n */\n this.prfxMainTblCont = 'gridCont_';\n\n /**\n * Prefix for grid-layout body table container ID\n * @type {String}\n * @private\n */\n this.prfxTblCont = 'tblCont_';\n\n /**\n * Prefix for grid-layout headers table container ID\n * @type {String}\n * @private\n */\n this.prfxHeadTblCont = 'tblHeadCont_';\n\n /**\n * Prefix for grid-layout headers table ID\n * @type {String}\n * @private\n */\n this.prfxHeadTbl = 'tblHead_';\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 // 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(this.prfxMainTblCont + tf.id,\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(this.prfxTblCont + tf.id, 'div',\n 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(this.prfxHeadTblCont + tf.id,\n 'div', this.headContCssClass);\n this.setConfigWidth(this.headTblCont);\n\n //Headers table\n this.headTbl = createElm('table', ['id', this.prfxHeadTbl + tf.id]);\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 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 = isNull(tf.startRow) ? 0 : tf.startRow;\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} id Element ID\n * @param {String} tag Tag name\n * @param {String} className Css class to assign to element\n * @returns {DOMElement}\n * @private\n */\n createContainer(id, tag, className) {\n let element = createElm(tag, ['id', id]);\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 let id = `${tf.id}_col_${k}`;\n\n if (!this.tblHasColTag) {\n col = createElm('col', ['id', id]);\n tf.tbl.insertBefore(col, tf.tbl.firstChild);\n } else {\n col = cols[k];\n col.setAttribute('id', id);\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__": 348, + "__docId__": 345, "kind": "class", "static": true, "variation": null, @@ -7561,7 +7528,7 @@ ] }, { - "__docId__": 349, + "__docId__": 346, "kind": "constructor", "static": false, "variation": null, @@ -7586,7 +7553,7 @@ "generator": false }, { - "__docId__": 350, + "__docId__": 347, "kind": "member", "static": false, "variation": null, @@ -7606,7 +7573,7 @@ } }, { - "__docId__": 351, + "__docId__": 348, "kind": "member", "static": false, "variation": null, @@ -7626,7 +7593,7 @@ } }, { - "__docId__": 352, + "__docId__": 349, "kind": "member", "static": false, "variation": null, @@ -7646,7 +7613,7 @@ } }, { - "__docId__": 353, + "__docId__": 350, "kind": "member", "static": false, "variation": null, @@ -7666,7 +7633,7 @@ } }, { - "__docId__": 354, + "__docId__": 351, "kind": "member", "static": false, "variation": null, @@ -7686,7 +7653,7 @@ } }, { - "__docId__": 355, + "__docId__": 352, "kind": "member", "static": false, "variation": null, @@ -7706,7 +7673,7 @@ } }, { - "__docId__": 356, + "__docId__": 353, "kind": "member", "static": false, "variation": null, @@ -7726,7 +7693,7 @@ } }, { - "__docId__": 357, + "__docId__": 354, "kind": "member", "static": false, "variation": null, @@ -7746,7 +7713,7 @@ } }, { - "__docId__": 358, + "__docId__": 355, "kind": "member", "static": false, "variation": null, @@ -7766,7 +7733,7 @@ } }, { - "__docId__": 359, + "__docId__": 356, "kind": "member", "static": false, "variation": null, @@ -7786,7 +7753,7 @@ } }, { - "__docId__": 360, + "__docId__": 357, "kind": "member", "static": false, "variation": null, @@ -7806,7 +7773,7 @@ } }, { - "__docId__": 361, + "__docId__": 358, "kind": "member", "static": false, "variation": null, @@ -7826,7 +7793,7 @@ } }, { - "__docId__": 362, + "__docId__": 359, "kind": "member", "static": false, "variation": null, @@ -7846,7 +7813,7 @@ } }, { - "__docId__": 363, + "__docId__": 360, "kind": "member", "static": false, "variation": null, @@ -7866,7 +7833,7 @@ } }, { - "__docId__": 364, + "__docId__": 361, "kind": "member", "static": false, "variation": null, @@ -7886,7 +7853,7 @@ } }, { - "__docId__": 365, + "__docId__": 362, "kind": "member", "static": false, "variation": null, @@ -7906,7 +7873,7 @@ } }, { - "__docId__": 366, + "__docId__": 363, "kind": "member", "static": false, "variation": null, @@ -7926,7 +7893,7 @@ } }, { - "__docId__": 367, + "__docId__": 364, "kind": "member", "static": false, "variation": null, @@ -7946,7 +7913,7 @@ } }, { - "__docId__": 368, + "__docId__": 365, "kind": "member", "static": false, "variation": null, @@ -7966,7 +7933,27 @@ } }, { - "__docId__": 369, + "__docId__": 366, + "kind": "member", + "static": false, + "variation": null, + "name": "tblHasColTag", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#tblHasColTag", + "access": "private", + "description": "Indicates if working table has column elements", + "lineNumber": 151, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 367, "kind": "method", "static": false, "variation": null, @@ -7974,13 +7961,13 @@ "memberof": "src/modules/gridLayout.js~GridLayout", "longname": "src/modules/gridLayout.js~GridLayout#init", "access": null, - "description": "Generates a grid with fixed headers\n\nTODO: reduce size of init by extracting single purposed methods", - "lineNumber": 155, + "description": "Generates a grid with fixed headers\nTODO: reduce size of init by extracting single purposed methods", + "lineNumber": 161, "params": [], "generator": false }, { - "__docId__": 370, + "__docId__": 368, "kind": "member", "static": false, "variation": null, @@ -7989,7 +7976,43 @@ "longname": "src/modules/gridLayout.js~GridLayout#tblMainCont", "access": null, "description": null, - "lineNumber": 185, + "lineNumber": 179, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 369, + "kind": "member", + "static": false, + "variation": null, + "name": "tblCont", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#tblCont", + "access": null, + "description": null, + "lineNumber": 187, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 370, + "kind": "member", + "static": false, + "variation": null, + "name": "headTblCont", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#headTblCont", + "access": null, + "description": null, + "lineNumber": 207, "undocument": true, "type": { "types": [ @@ -8002,12 +8025,12 @@ "kind": "member", "static": false, "variation": null, - "name": "tblCont", + "name": "headTbl", "memberof": "src/modules/gridLayout.js~GridLayout", - "longname": "src/modules/gridLayout.js~GridLayout#tblCont", + "longname": "src/modules/gridLayout.js~GridLayout#headTbl", "access": null, "description": null, - "lineNumber": 194, + "lineNumber": 212, "undocument": true, "type": { "types": [ @@ -8020,84 +8043,12 @@ "kind": "member", "static": false, "variation": null, - "name": "headTblCont", - "memberof": "src/modules/gridLayout.js~GridLayout", - "longname": "src/modules/gridLayout.js~GridLayout#headTblCont", - "access": null, - "description": null, - "lineNumber": 220, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 373, - "kind": "member", - "static": false, - "variation": null, - "name": "headTbl", - "memberof": "src/modules/gridLayout.js~GridLayout", - "longname": "src/modules/gridLayout.js~GridLayout#headTbl", - "access": null, - "description": null, - "lineNumber": 232, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 374, - "kind": "member", - "static": false, - "variation": null, - "name": "tblHasColTag", - "memberof": "src/modules/gridLayout.js~GridLayout", - "longname": "src/modules/gridLayout.js~GridLayout#tblHasColTag", - "access": null, - "description": null, - "lineNumber": 339, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 375, - "kind": "member", - "static": false, - "variation": null, - "name": "tblHasColTag", - "memberof": "src/modules/gridLayout.js~GridLayout", - "longname": "src/modules/gridLayout.js~GridLayout#tblHasColTag", - "access": null, - "description": null, - "lineNumber": 350, - "undocument": true, - "type": { - "types": [ - "boolean" - ] - } - }, - { - "__docId__": 376, - "kind": "member", - "static": false, - "variation": null, "name": "initialized", "memberof": "src/modules/gridLayout.js~GridLayout", "longname": "src/modules/gridLayout.js~GridLayout#initialized", "access": null, "description": null, - "lineNumber": 372, + "lineNumber": 301, "undocument": true, "type": { "types": [ @@ -8106,7 +8057,21 @@ } }, { - "__docId__": 377, + "__docId__": 373, + "kind": "method", + "static": false, + "variation": null, + "name": "setOverrides", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#setOverrides", + "access": "private", + "description": "Overrides TableFilter instance properties to adjust to grid layout mode", + "lineNumber": 308, + "params": [], + "generator": false + }, + { + "__docId__": 374, "kind": "method", "static": false, "variation": null, @@ -8115,21 +8080,136 @@ "longname": "src/modules/gridLayout.js~GridLayout#setDefaultColWidths", "access": "private", "description": "Set grid-layout default column widths if column widths are not defined", - "lineNumber": 379, + "lineNumber": 320, "params": [], "generator": false }, + { + "__docId__": 375, + "kind": "method", + "static": false, + "variation": null, + "name": "initialTableWidth", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#initialTableWidth", + "access": "private", + "description": "Initial table width", + "lineNumber": 346, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Number}" + } + ], + "params": [], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 376, + "kind": "method", + "static": false, + "variation": null, + "name": "createContainer", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#createContainer", + "access": "private", + "description": "Creates container element", + "lineNumber": 369, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{DOMElement}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "id", + "description": "Element ID" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "tag", + "description": "Tag name" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "className", + "description": "Css class to assign to element" + } + ], + "return": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 377, + "kind": "method", + "static": false, + "variation": null, + "name": "createFiltersRow", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#createFiltersRow", + "access": "private", + "description": "Creates filters row with cells", + "lineNumber": 380, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{HTMLTableRowElement}" + } + ], + "params": [], + "return": { + "nullable": null, + "types": [ + "HTMLTableRowElement" + ], + "spread": false, + "description": "" + }, + "generator": false + }, { "__docId__": 378, "kind": "method", "static": false, "variation": null, - "name": "destroy", + "name": "setColumnElements", "memberof": "src/modules/gridLayout.js~GridLayout", - "longname": "src/modules/gridLayout.js~GridLayout#destroy", - "access": null, - "description": "Removes the grid layout", - "lineNumber": 403, + "longname": "src/modules/gridLayout.js~GridLayout#setColumnElements", + "access": "private", + "description": "Generates column elements if necessary and assigns their widths", + "lineNumber": 399, "params": [], "generator": false }, @@ -8138,12 +8218,12 @@ "kind": "member", "static": false, "variation": null, - "name": "tblMainCont", + "name": "tblHasColTag", "memberof": "src/modules/gridLayout.js~GridLayout", - "longname": "src/modules/gridLayout.js~GridLayout#tblMainCont", + "longname": "src/modules/gridLayout.js~GridLayout#tblHasColTag", "access": null, "description": null, - "lineNumber": 414, + "lineNumber": 402, "undocument": true, "type": { "types": [ @@ -8156,66 +8236,12 @@ "kind": "member", "static": false, "variation": null, - "name": "headTblCont", + "name": "tblHasColTag", "memberof": "src/modules/gridLayout.js~GridLayout", - "longname": "src/modules/gridLayout.js~GridLayout#headTblCont", + "longname": "src/modules/gridLayout.js~GridLayout#tblHasColTag", "access": null, "description": null, - "lineNumber": 415, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 381, - "kind": "member", - "static": false, - "variation": null, - "name": "headTbl", - "memberof": "src/modules/gridLayout.js~GridLayout", - "longname": "src/modules/gridLayout.js~GridLayout#headTbl", - "access": null, - "description": null, - "lineNumber": 416, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 382, - "kind": "member", - "static": false, - "variation": null, - "name": "tblCont", - "memberof": "src/modules/gridLayout.js~GridLayout", - "longname": "src/modules/gridLayout.js~GridLayout#tblCont", - "access": null, - "description": null, - "lineNumber": 417, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 383, - "kind": "member", - "static": false, - "variation": null, - "name": "initialized", - "memberof": "src/modules/gridLayout.js~GridLayout", - "longname": "src/modules/gridLayout.js~GridLayout#initialized", - "access": null, - "description": null, - "lineNumber": 423, + "lineNumber": 418, "undocument": true, "type": { "types": [ @@ -8223,8 +8249,201 @@ ] } }, + { + "__docId__": 381, + "kind": "method", + "static": false, + "variation": null, + "name": "setHeadersRow", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#setHeadersRow", + "access": "private", + "description": "Sets headers row in headers table", + "lineNumber": 426, + "params": [ + { + "nullable": null, + "types": [ + "HTMLHeadElement" + ], + "spread": false, + "optional": false, + "name": "tableHead", + "description": "Table head element" + } + ], + "generator": false + }, + { + "__docId__": 382, + "kind": "method", + "static": false, + "variation": null, + "name": "setConfigWidth", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#setConfigWidth", + "access": "private", + "description": "Sets width defined in configuration to passed element", + "lineNumber": 445, + "params": [ + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "element", + "description": "DOM element" + } + ], + "generator": false + }, + { + "__docId__": 383, + "kind": "method", + "static": false, + "variation": null, + "name": "getSortTriggerIds", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#getSortTriggerIds", + "access": "private", + "description": "Returns a list of header IDs used for specifing external sort triggers", + "lineNumber": 462, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Array} List of IDs" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "HTMLTableRowElement" + ], + "spread": false, + "optional": false, + "name": "row", + "description": "DOM row element" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "List of IDs" + }, + "generator": false + }, { "__docId__": 384, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#destroy", + "access": null, + "description": "Removes the grid layout", + "lineNumber": 480, + "params": [], + "generator": false + }, + { + "__docId__": 385, + "kind": "member", + "static": false, + "variation": null, + "name": "tblMainCont", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#tblMainCont", + "access": null, + "description": null, + "lineNumber": 491, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 386, + "kind": "member", + "static": false, + "variation": null, + "name": "headTblCont", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#headTblCont", + "access": null, + "description": null, + "lineNumber": 492, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 387, + "kind": "member", + "static": false, + "variation": null, + "name": "headTbl", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#headTbl", + "access": null, + "description": null, + "lineNumber": 493, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 388, + "kind": "member", + "static": false, + "variation": null, + "name": "tblCont", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#tblCont", + "access": null, + "description": null, + "lineNumber": 494, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 389, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#initialized", + "access": null, + "description": null, + "lineNumber": 500, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 390, "kind": "file", "static": true, "variation": null, @@ -8237,7 +8456,7 @@ "content": "import {addEvt, removeEvt} from '../event';\nimport {root} from '../root';\n\nconst JSON = root.JSON;\nconst location = root.location;\nconst decodeURIComponent = root.decodeURIComponent;\n\nexport const hasHashChange = () => {\n let docMode = root.documentMode;\n return ('onhashchange' in root) && (docMode === undefined || docMode > 7);\n};\n\n/**\n * Manages the URL hash reflecting the features state to be persisted\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 this.state = state;\n this.lastHash = null;\n this.emitter = state.emitter;\n }\n\n /**\n * Initializes the Hash object\n */\n init() {\n if (!hasHashChange()) {\n return;\n }\n\n this.lastHash = location.hash;\n\n this.emitter.on(['state-changed'], (tf, state) => this.update(state));\n this.emitter.on(['initialized'], () => this.sync());\n addEvt(root, 'hashchange', () => this.sync());\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 = `#${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.sync());\n removeEvt(root, 'hashchange', () => this.sync());\n\n this.state = null;\n this.lastHash = null;\n this.emitter = null;\n }\n}\n" }, { - "__docId__": 385, + "__docId__": 391, "kind": "variable", "static": true, "variation": null, @@ -8258,7 +8477,7 @@ } }, { - "__docId__": 386, + "__docId__": 392, "kind": "variable", "static": true, "variation": null, @@ -8279,7 +8498,7 @@ } }, { - "__docId__": 387, + "__docId__": 393, "kind": "variable", "static": true, "variation": null, @@ -8300,7 +8519,7 @@ } }, { - "__docId__": 388, + "__docId__": 394, "kind": "variable", "static": true, "variation": null, @@ -8321,7 +8540,7 @@ } }, { - "__docId__": 389, + "__docId__": 395, "kind": "class", "static": true, "variation": null, @@ -8347,7 +8566,7 @@ "interface": false }, { - "__docId__": 390, + "__docId__": 396, "kind": "constructor", "static": false, "variation": null, @@ -8372,7 +8591,7 @@ "generator": false }, { - "__docId__": 391, + "__docId__": 397, "kind": "member", "static": false, "variation": null, @@ -8390,7 +8609,7 @@ } }, { - "__docId__": 392, + "__docId__": 398, "kind": "member", "static": false, "variation": null, @@ -8408,7 +8627,7 @@ } }, { - "__docId__": 393, + "__docId__": 399, "kind": "member", "static": false, "variation": null, @@ -8426,7 +8645,7 @@ } }, { - "__docId__": 394, + "__docId__": 400, "kind": "method", "static": false, "variation": null, @@ -8440,7 +8659,7 @@ "generator": false }, { - "__docId__": 395, + "__docId__": 401, "kind": "member", "static": false, "variation": null, @@ -8458,7 +8677,7 @@ } }, { - "__docId__": 396, + "__docId__": 402, "kind": "method", "static": false, "variation": null, @@ -8483,7 +8702,7 @@ "generator": false }, { - "__docId__": 397, + "__docId__": 403, "kind": "member", "static": false, "variation": null, @@ -8501,7 +8720,7 @@ } }, { - "__docId__": 398, + "__docId__": 404, "kind": "method", "static": false, "variation": null, @@ -8540,7 +8759,7 @@ "generator": false }, { - "__docId__": 399, + "__docId__": 405, "kind": "method", "static": false, "variation": null, @@ -8554,7 +8773,7 @@ "generator": false }, { - "__docId__": 400, + "__docId__": 406, "kind": "method", "static": false, "variation": null, @@ -8568,7 +8787,7 @@ "generator": false }, { - "__docId__": 401, + "__docId__": 407, "kind": "member", "static": false, "variation": null, @@ -8586,7 +8805,7 @@ } }, { - "__docId__": 402, + "__docId__": 408, "kind": "member", "static": false, "variation": null, @@ -8604,7 +8823,7 @@ } }, { - "__docId__": 403, + "__docId__": 409, "kind": "member", "static": false, "variation": null, @@ -8622,7 +8841,7 @@ } }, { - "__docId__": 404, + "__docId__": 410, "kind": "file", "static": true, "variation": null, @@ -8635,7 +8854,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {addEvt} from '../event';\nimport {NONE} from '../const';\n\nconst WIKI_URL = 'https://github.com/koalyptus/TableFilter/wiki/' +\n '4.-Filter-operators';\nconst WEBSITE_URL = 'http://koalyptus.github.io/TableFilter/';\n\nexport class Help extends Feature {\n\n /**\n * Help UI component\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'help');\n\n var f = this.config;\n\n //id of custom container element for instructions\n this.tgtId = f.help_instructions_target_id || null;\n //id of custom container element for instructions\n this.contTgtId = f.help_instructions_container_target_id ||\n null;\n //defines help text\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 //defines help innerHtml\n this.instrHtml = f.help_instructions_html || null;\n //defines reset button text\n this.btnText = f.help_instructions_btn_text || '?';\n //defines reset button innerHtml\n this.btnHtml = f.help_instructions_btn_html || null;\n //defines css class for help button\n this.btnCssClass = f.help_instructions_btn_css_class || 'helpBtn';\n //defines css class for help container\n this.contCssClass = f.help_instructions_container_css_class ||\n 'helpCont';\n //help button element\n this.btn = null;\n //help content div\n this.cont = null;\n this.defaultHtml = '

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

' + '' + WEBSITE_URL + '' +\n '
©2015-' + tf.year + ' {AUTHOR}' +\n '
' +\n 'Close
';\n\n //id prefix for help elements\n this.prfxHelpSpan = 'helpSpan_';\n //id prefix for help elements\n this.prfxHelpDiv = 'helpDiv_';\n\n this.emitter.on(['init-help'], () => this.init());\n }\n\n /**\n * Initialise Help instance\n *\n * @returns (description)\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n var tf = this.tf;\n\n var helpspan = createElm('span', ['id', this.prfxHelpSpan + tf.id]);\n var helpdiv = createElm('div', ['id', this.prfxHelpDiv + tf.id]);\n\n //help button is added to defined element\n if (!this.tgtId) {\n tf.setToolbar();\n }\n var targetEl = !this.tgtId ? tf.rDiv : elm(this.tgtId);\n targetEl.appendChild(helpspan);\n\n var divContainer = !this.contTgtId ? helpspan : elm(this.contTgtId);\n\n if (!this.btnHtml) {\n divContainer.appendChild(helpdiv);\n var helplink = createElm('a', ['href', 'javascript:void(0);']);\n helplink.className = this.btnCssClass;\n helplink.appendChild(createText(this.btnText));\n helpspan.appendChild(helplink);\n addEvt(helplink, 'click', () => this.toggle());\n } else {\n helpspan.innerHTML = this.btnHtml;\n var helpEl = helpspan.firstChild;\n addEvt(helpEl, 'click', () => this.toggle());\n divContainer.appendChild(helpdiv);\n }\n\n if (!this.instrHtml) {\n helpdiv.innerHTML = this.instrText;\n helpdiv.className = this.contCssClass;\n addEvt(helpdiv, 'dblclick', () => this.toggle());\n } else {\n if (this.contTgtId) {\n divContainer.appendChild(helpdiv);\n }\n helpdiv.innerHTML = this.instrHtml;\n if (!this.contTgtId) {\n helpdiv.className = this.contCssClass;\n addEvt(helpdiv, 'dblclick', () => this.toggle());\n }\n }\n helpdiv.innerHTML += this.defaultHtml;\n addEvt(helpdiv, 'click', () => this.toggle());\n\n this.cont = helpdiv;\n this.btn = helpspan;\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 var divDisplay = this.cont.style.display;\n if (divDisplay === '' || divDisplay === NONE) {\n this.cont.style.display = 'inline';\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 if (!this.cont) {\n return;\n }\n removeElm(this.cont);\n this.cont = null;\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 405, + "__docId__": 411, "kind": "variable", "static": true, "variation": null, @@ -8656,7 +8875,7 @@ } }, { - "__docId__": 406, + "__docId__": 412, "kind": "variable", "static": true, "variation": null, @@ -8677,7 +8896,7 @@ } }, { - "__docId__": 407, + "__docId__": 413, "kind": "class", "static": true, "variation": null, @@ -8697,7 +8916,7 @@ ] }, { - "__docId__": 408, + "__docId__": 414, "kind": "constructor", "static": false, "variation": null, @@ -8722,7 +8941,7 @@ "generator": false }, { - "__docId__": 409, + "__docId__": 415, "kind": "member", "static": false, "variation": null, @@ -8740,7 +8959,7 @@ } }, { - "__docId__": 410, + "__docId__": 416, "kind": "member", "static": false, "variation": null, @@ -8758,7 +8977,7 @@ } }, { - "__docId__": 411, + "__docId__": 417, "kind": "member", "static": false, "variation": null, @@ -8776,7 +8995,7 @@ } }, { - "__docId__": 412, + "__docId__": 418, "kind": "member", "static": false, "variation": null, @@ -8794,7 +9013,7 @@ } }, { - "__docId__": 413, + "__docId__": 419, "kind": "member", "static": false, "variation": null, @@ -8812,7 +9031,7 @@ } }, { - "__docId__": 414, + "__docId__": 420, "kind": "member", "static": false, "variation": null, @@ -8830,7 +9049,7 @@ } }, { - "__docId__": 415, + "__docId__": 421, "kind": "member", "static": false, "variation": null, @@ -8848,7 +9067,7 @@ } }, { - "__docId__": 416, + "__docId__": 422, "kind": "member", "static": false, "variation": null, @@ -8866,7 +9085,7 @@ } }, { - "__docId__": 417, + "__docId__": 423, "kind": "member", "static": false, "variation": null, @@ -8884,7 +9103,7 @@ } }, { - "__docId__": 418, + "__docId__": 424, "kind": "member", "static": false, "variation": null, @@ -8902,7 +9121,7 @@ } }, { - "__docId__": 419, + "__docId__": 425, "kind": "member", "static": false, "variation": null, @@ -8920,7 +9139,7 @@ } }, { - "__docId__": 420, + "__docId__": 426, "kind": "member", "static": false, "variation": null, @@ -8938,7 +9157,7 @@ } }, { - "__docId__": 421, + "__docId__": 427, "kind": "member", "static": false, "variation": null, @@ -8956,7 +9175,7 @@ } }, { - "__docId__": 422, + "__docId__": 428, "kind": "method", "static": false, "variation": null, @@ -8984,7 +9203,7 @@ "generator": false }, { - "__docId__": 423, + "__docId__": 429, "kind": "member", "static": false, "variation": null, @@ -9002,7 +9221,7 @@ } }, { - "__docId__": 424, + "__docId__": 430, "kind": "member", "static": false, "variation": null, @@ -9020,7 +9239,7 @@ } }, { - "__docId__": 425, + "__docId__": 431, "kind": "member", "static": false, "variation": null, @@ -9038,7 +9257,7 @@ } }, { - "__docId__": 426, + "__docId__": 432, "kind": "method", "static": false, "variation": null, @@ -9052,7 +9271,7 @@ "generator": false }, { - "__docId__": 427, + "__docId__": 433, "kind": "method", "static": false, "variation": null, @@ -9066,7 +9285,7 @@ "generator": false }, { - "__docId__": 428, + "__docId__": 434, "kind": "member", "static": false, "variation": null, @@ -9084,7 +9303,7 @@ } }, { - "__docId__": 429, + "__docId__": 435, "kind": "member", "static": false, "variation": null, @@ -9102,7 +9321,7 @@ } }, { - "__docId__": 430, + "__docId__": 436, "kind": "member", "static": false, "variation": null, @@ -9120,7 +9339,7 @@ } }, { - "__docId__": 431, + "__docId__": 437, "kind": "file", "static": true, "variation": null, @@ -9133,7 +9352,7 @@ "content": "import {createText, createElm, getText} from '../dom';\nimport {isArray} from '../types';\n\nexport class HighlightKeyword {\n\n /**\n * HighlightKeyword, highlight matched keyword\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n let f = tf.config();\n //defines css class for highlighting\n this.highlightCssClass = f.highlight_css_class || 'keyword';\n\n this.tf = tf;\n this.emitter = tf.emitter;\n }\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, word) =>\n this.highlight(cell, word, this.highlightCssClass)\n );\n }\n\n /**\n * highlight occurences of searched term in passed node\n * @param {Node} node\n * @param {String} word Searched term\n * @param {String} cssClass Css class name\n *\n * TODO: refactor this method\n */\n highlight(node, word, 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], word, cssClass);\n }\n }\n\n if (node.nodeType === 3) {\n let tempNodeVal = node.nodeValue.toLowerCase();\n let tempWordVal = word.toLowerCase();\n if (tempNodeVal.indexOf(tempWordVal) !== -1) {\n let pn = node.parentNode;\n if (pn && pn.className !== cssClass) {\n // word not highlighted yet\n let nv = node.nodeValue,\n ni = tempNodeVal.indexOf(tempWordVal),\n // Create a load of replacement nodes\n before = createText(nv.substr(0, ni)),\n docWordVal = nv.substr(ni, word.length),\n after = createText(nv.substr(ni + word.length)),\n hiwordtext = createText(docWordVal),\n hiword = createElm('span');\n hiword.className = cssClass;\n hiword.appendChild(hiwordtext);\n pn.insertBefore(before, node);\n pn.insertBefore(hiword, 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} word\n * @param {String} cssClass Css class to remove\n */\n unhighlight(word, 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 tempNodeVal = nodeVal.toLowerCase(),\n tempWordVal = word.toLowerCase();\n\n if (tempNodeVal.indexOf(tempWordVal) !== -1) {\n n.parentNode.replaceChild(createText(nodeVal), n);\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 destroy() {\n this.emitter.off(\n ['before-filtering', 'destroy'],\n () => this.unhighlightAll()\n );\n this.emitter.off(\n ['highlight-keyword'],\n (tf, cell, word) =>\n this.highlight(cell, word, this.highlightCssClass)\n );\n }\n}\n" }, { - "__docId__": 432, + "__docId__": 438, "kind": "class", "static": true, "variation": null, @@ -9150,7 +9369,7 @@ "interface": false }, { - "__docId__": 433, + "__docId__": 439, "kind": "constructor", "static": false, "variation": null, @@ -9175,7 +9394,7 @@ "generator": false }, { - "__docId__": 434, + "__docId__": 440, "kind": "member", "static": false, "variation": null, @@ -9193,7 +9412,7 @@ } }, { - "__docId__": 435, + "__docId__": 441, "kind": "member", "static": false, "variation": null, @@ -9211,7 +9430,7 @@ } }, { - "__docId__": 436, + "__docId__": 442, "kind": "member", "static": false, "variation": null, @@ -9229,7 +9448,7 @@ } }, { - "__docId__": 437, + "__docId__": 443, "kind": "method", "static": false, "variation": null, @@ -9244,7 +9463,7 @@ "generator": false }, { - "__docId__": 438, + "__docId__": 444, "kind": "method", "static": false, "variation": null, @@ -9289,7 +9508,7 @@ "generator": false }, { - "__docId__": 439, + "__docId__": 445, "kind": "method", "static": false, "variation": null, @@ -9324,7 +9543,7 @@ "generator": false }, { - "__docId__": 440, + "__docId__": 446, "kind": "method", "static": false, "variation": null, @@ -9338,7 +9557,7 @@ "generator": false }, { - "__docId__": 441, + "__docId__": 447, "kind": "method", "static": false, "variation": null, @@ -9353,7 +9572,7 @@ "generator": false }, { - "__docId__": 442, + "__docId__": 448, "kind": "file", "static": true, "variation": null, @@ -9366,7 +9585,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn} from '../types';\nimport {root} from '../root';\nimport {NONE} from '../const';\n\nexport class Loader extends Feature {\n\n /**\n * Loading message/spinner\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'loader');\n\n // TableFilter configuration\n let f = this.config;\n\n //id of container element\n this.loaderTgtId = f.loader_target_id || null;\n //div containing loader\n this.loaderDiv = null;\n //defines loader text\n this.loaderText = f.loader_text || 'Loading...';\n //defines loader innerHtml\n this.loaderHtml = f.loader_html || null;\n //defines css class for loader div\n this.loaderCssClass = f.loader_css_class || 'loader';\n //delay for hiding loader\n this.loaderCloseDelay = 250;\n //callback function before loader is displayed\n this.onShowLoader = isFn(f.on_show_loader) ? f.on_show_loader : null;\n //callback function after loader is closed\n this.onHideLoader = isFn(f.on_hide_loader) ? f.on_hide_loader : null;\n //loader div\n this.prfxLoader = 'load_';\n }\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', ['id', this.prfxLoader + tf.id]);\n containerDiv.className = this.loaderCssClass;\n\n let targetEl = !this.loaderTgtId ?\n tf.tbl.parentNode : elm(this.loaderTgtId);\n if (!this.loaderTgtId) {\n targetEl.insertBefore(containerDiv, tf.tbl);\n } else {\n targetEl.appendChild(containerDiv);\n }\n this.loaderDiv = containerDiv;\n if (!this.loaderHtml) {\n this.loaderDiv.appendChild(createText(this.loaderText));\n } else {\n this.loaderDiv.innerHTML = this.loaderHtml;\n }\n\n this.show(NONE);\n\n // Subscribe to events\n emitter.on([\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 () => this.show('')\n );\n emitter.on([\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 () => this.show(NONE)\n );\n\n this.initialized = true;\n }\n\n show(p) {\n if (!this.isEnabled()) {\n return;\n }\n\n let displayLoader = () => {\n if (!this.loaderDiv) {\n return;\n }\n if (this.onShowLoader && p !== NONE) {\n this.onShowLoader.call(null, this);\n }\n this.loaderDiv.style.display = p;\n if (this.onHideLoader && p === NONE) {\n this.onHideLoader.call(null, this);\n }\n };\n\n let t = p === NONE ? this.loaderCloseDelay : 1;\n root.setTimeout(displayLoader, t);\n }\n\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let emitter = this.emitter;\n\n removeElm(this.loaderDiv);\n this.loaderDiv = null;\n\n // Unsubscribe to events\n emitter.off([\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 () => this.show('')\n );\n emitter.off([\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 () => this.show(NONE)\n );\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 443, + "__docId__": 449, "kind": "class", "static": true, "variation": null, @@ -9386,7 +9605,7 @@ ] }, { - "__docId__": 444, + "__docId__": 450, "kind": "constructor", "static": false, "variation": null, @@ -9411,7 +9630,7 @@ "generator": false }, { - "__docId__": 445, + "__docId__": 451, "kind": "member", "static": false, "variation": null, @@ -9429,7 +9648,7 @@ } }, { - "__docId__": 446, + "__docId__": 452, "kind": "member", "static": false, "variation": null, @@ -9447,7 +9666,7 @@ } }, { - "__docId__": 447, + "__docId__": 453, "kind": "member", "static": false, "variation": null, @@ -9465,7 +9684,7 @@ } }, { - "__docId__": 448, + "__docId__": 454, "kind": "member", "static": false, "variation": null, @@ -9483,7 +9702,7 @@ } }, { - "__docId__": 449, + "__docId__": 455, "kind": "member", "static": false, "variation": null, @@ -9501,7 +9720,7 @@ } }, { - "__docId__": 450, + "__docId__": 456, "kind": "member", "static": false, "variation": null, @@ -9519,7 +9738,7 @@ } }, { - "__docId__": 451, + "__docId__": 457, "kind": "member", "static": false, "variation": null, @@ -9537,7 +9756,7 @@ } }, { - "__docId__": 452, + "__docId__": 458, "kind": "member", "static": false, "variation": null, @@ -9555,7 +9774,7 @@ } }, { - "__docId__": 453, + "__docId__": 459, "kind": "member", "static": false, "variation": null, @@ -9573,7 +9792,7 @@ } }, { - "__docId__": 454, + "__docId__": 460, "kind": "method", "static": false, "variation": null, @@ -9588,7 +9807,7 @@ "generator": false }, { - "__docId__": 455, + "__docId__": 461, "kind": "member", "static": false, "variation": null, @@ -9606,7 +9825,7 @@ } }, { - "__docId__": 456, + "__docId__": 462, "kind": "member", "static": false, "variation": null, @@ -9624,7 +9843,7 @@ } }, { - "__docId__": 457, + "__docId__": 463, "kind": "method", "static": false, "variation": null, @@ -9646,7 +9865,7 @@ "generator": false }, { - "__docId__": 458, + "__docId__": 464, "kind": "method", "static": false, "variation": null, @@ -9661,7 +9880,7 @@ "generator": false }, { - "__docId__": 459, + "__docId__": 465, "kind": "member", "static": false, "variation": null, @@ -9679,7 +9898,7 @@ } }, { - "__docId__": 460, + "__docId__": 466, "kind": "member", "static": false, "variation": null, @@ -9697,7 +9916,7 @@ } }, { - "__docId__": 461, + "__docId__": 467, "kind": "file", "static": true, "variation": null, @@ -9710,7 +9929,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, elm, removeElm} from '../dom';\nimport {isEmpty, isFn} from '../types';\nimport {NONE} from '../const';\n\nexport class NoResults extends Feature {\n\n /**\n * No results message UI component\n * @param {Object} 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 this.content = f.content || 'No results';\n this.customContainer = f.custom_container || null;\n this.customContainerId = f.custom_container_id || null;\n this.isExternal = !isEmpty(this.customContainer) ||\n !isEmpty(this.customContainerId);\n this.cssClass = f.css_class || 'no-results';\n\n this.cont = null;\n\n //callback before message is displayed\n this.onBeforeShowMsg = isFn(f.on_before_show_msg) ?\n f.on_before_show_msg : null;\n //callback after message is displayed\n this.onAfterShowMsg = isFn(f.on_after_show_msg) ?\n f.on_after_show_msg : null;\n //callback before message is hidden\n this.onBeforeHideMsg = isFn(f.on_before_hide_msg) ?\n f.on_before_hide_msg : null;\n //callback after message is hidden\n this.onAfterHideMsg = isFn(f.on_after_hide_msg) ?\n f.on_after_hide_msg : null;\n\n this.prfxNoResults = 'nores_';\n }\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', ['id', this.prfxNoResults + tf.id]);\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 this.initialized = true;\n this.hide();\n }\n\n toggle() {\n if (this.tf.getValidRowsNb() > 0) {\n this.hide();\n } else {\n this.show();\n }\n }\n\n show() {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n\n if (this.onBeforeShowMsg) {\n this.onBeforeShowMsg.call(null, this.tf, this);\n }\n\n this.setWidth();\n this.cont.style.display = 'block';\n\n if (this.onAfterShowMsg) {\n this.onAfterShowMsg.call(null, this.tf, this);\n }\n }\n\n hide() {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n\n if (this.onBeforeHideMsg) {\n this.onBeforeHideMsg.call(null, this.tf, this);\n }\n\n this.cont.style.display = NONE;\n\n if (this.onBeforeHideMsg) {\n this.onBeforeHideMsg.call(null, this.tf, this);\n }\n }\n\n setWidth() {\n if (!this.initialized || this.isExternal || !this.isEnabled()) {\n return;\n }\n if (this.tf.gridLayout) {\n let gridLayout = this.tf.feature('gridLayout');\n this.cont.style.width = gridLayout.tblCont.clientWidth + 'px';\n } else {\n this.cont.style.width = this.tf.tbl.clientWidth + 'px';\n }\n\n }\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__": 462, + "__docId__": 468, "kind": "class", "static": true, "variation": null, @@ -9730,7 +9949,7 @@ ] }, { - "__docId__": 463, + "__docId__": 469, "kind": "constructor", "static": false, "variation": null, @@ -9755,7 +9974,7 @@ "generator": false }, { - "__docId__": 464, + "__docId__": 470, "kind": "member", "static": false, "variation": null, @@ -9773,7 +9992,7 @@ } }, { - "__docId__": 465, + "__docId__": 471, "kind": "member", "static": false, "variation": null, @@ -9791,7 +10010,7 @@ } }, { - "__docId__": 466, + "__docId__": 472, "kind": "member", "static": false, "variation": null, @@ -9809,7 +10028,7 @@ } }, { - "__docId__": 467, + "__docId__": 473, "kind": "member", "static": false, "variation": null, @@ -9827,7 +10046,7 @@ } }, { - "__docId__": 468, + "__docId__": 474, "kind": "member", "static": false, "variation": null, @@ -9845,7 +10064,7 @@ } }, { - "__docId__": 469, + "__docId__": 475, "kind": "member", "static": false, "variation": null, @@ -9863,7 +10082,7 @@ } }, { - "__docId__": 470, + "__docId__": 476, "kind": "member", "static": false, "variation": null, @@ -9881,7 +10100,7 @@ } }, { - "__docId__": 471, + "__docId__": 477, "kind": "member", "static": false, "variation": null, @@ -9899,7 +10118,7 @@ } }, { - "__docId__": 472, + "__docId__": 478, "kind": "member", "static": false, "variation": null, @@ -9917,7 +10136,7 @@ } }, { - "__docId__": 473, + "__docId__": 479, "kind": "member", "static": false, "variation": null, @@ -9935,7 +10154,7 @@ } }, { - "__docId__": 474, + "__docId__": 480, "kind": "member", "static": false, "variation": null, @@ -9953,7 +10172,7 @@ } }, { - "__docId__": 475, + "__docId__": 481, "kind": "method", "static": false, "variation": null, @@ -9968,7 +10187,7 @@ "generator": false }, { - "__docId__": 476, + "__docId__": 482, "kind": "member", "static": false, "variation": null, @@ -9986,7 +10205,7 @@ } }, { - "__docId__": 477, + "__docId__": 483, "kind": "member", "static": false, "variation": null, @@ -10004,7 +10223,7 @@ } }, { - "__docId__": 478, + "__docId__": 484, "kind": "method", "static": false, "variation": null, @@ -10019,7 +10238,7 @@ "generator": false }, { - "__docId__": 479, + "__docId__": 485, "kind": "method", "static": false, "variation": null, @@ -10034,7 +10253,7 @@ "generator": false }, { - "__docId__": 480, + "__docId__": 486, "kind": "method", "static": false, "variation": null, @@ -10049,7 +10268,7 @@ "generator": false }, { - "__docId__": 481, + "__docId__": 487, "kind": "method", "static": false, "variation": null, @@ -10064,7 +10283,7 @@ "generator": false }, { - "__docId__": 482, + "__docId__": 488, "kind": "method", "static": false, "variation": null, @@ -10079,7 +10298,7 @@ "generator": false }, { - "__docId__": 483, + "__docId__": 489, "kind": "member", "static": false, "variation": null, @@ -10097,7 +10316,7 @@ } }, { - "__docId__": 484, + "__docId__": 490, "kind": "member", "static": false, "variation": null, @@ -10115,7 +10334,7 @@ } }, { - "__docId__": 485, + "__docId__": 491, "kind": "file", "static": true, "variation": null, @@ -10128,7 +10347,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createOpt, createText, elm, removeElm} from '../dom';\nimport {isArray, isFn, isNull} from '../types';\nimport {addEvt, keyCode, removeEvt} from '../event';\nimport {INPUT, SELECT, NONE, ENTER_KEY} from '../const';\n\nexport class Paging extends Feature {\n\n /**\n * Pagination component\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'paging');\n\n // Configuration object\n var f = this.config;\n\n //css class for paging buttons (previous,next,etc.)\n this.btnPageCssClass = f.paging_btn_css_class || 'pgInp';\n //stores paging select element\n this.pagingSlc = null;\n //results per page select element\n this.resultsPerPageSlc = null;\n //id of container element\n this.pagingTgtId = f.paging_target_id || null;\n //defines table paging length\n this.pagingLength = !isNaN(f.paging_length) ? f.paging_length : 10;\n //id of container element\n this.resultsPerPageTgtId = f.results_per_page_target_id || null;\n //css class for paging select element\n this.pgSlcCssClass = f.paging_slc_css_class || 'pgSlc';\n //css class for paging input element\n this.pgInpCssClass = f.paging_inp_css_class || 'pgNbInp';\n //stores results per page text and values\n this.resultsPerPage = f.results_per_page || null;\n //enables/disables results per page drop-down\n this.hasResultsPerPage = isArray(this.resultsPerPage);\n //defines css class for results per page select\n this.resultsSlcCssClass = f.results_slc_css_class || 'rspg';\n //css class for label preceding results per page select\n this.resultsSpanCssClass = f.results_span_css_class || 'rspgSpan';\n //1st row index of current page\n this.startPagingRow = 0;\n //total nb of pages\n this.nbPages = 0;\n //current page nb\n this.currentPageNb = 1;\n //defines next page button text\n this.btnNextPageText = f.btn_next_page_text || '>';\n //defines previous page button text\n this.btnPrevPageText = f.btn_prev_page_text || '<';\n //defines last page button text\n this.btnLastPageText = f.btn_last_page_text || '>|';\n //defines first page button text\n this.btnFirstPageText = f.btn_first_page_text || '|<';\n //defines next page button html\n this.btnNextPageHtml = f.btn_next_page_html ||\n (!tf.enableIcons ? null :\n '');\n //defines previous page button html\n this.btnPrevPageHtml = f.btn_prev_page_html ||\n (!tf.enableIcons ? null :\n '');\n //defines last page button html\n this.btnFirstPageHtml = f.btn_first_page_html ||\n (!tf.enableIcons ? null :\n '');\n //defines previous page button html\n this.btnLastPageHtml = f.btn_last_page_html ||\n (!tf.enableIcons ? null :\n '');\n //defines text preceeding page selector drop-down\n this.pageText = f.page_text || ' Page ';\n //defines text after page selector drop-down\n this.ofText = f.of_text || ' of ';\n //css class for span containing tot nb of pages\n this.nbPgSpanCssClass = f.nb_pages_css_class || 'nbpg';\n //enables/disables paging buttons\n this.hasPagingBtns = f.paging_btns === false ? false : true;\n //defines previous page button html\n this.pageSelectorType = f.page_selector_type || SELECT;\n //calls function before page is changed\n this.onBeforeChangePage = isFn(f.on_before_change_page) ?\n f.on_before_change_page : null;\n //calls function before page is changed\n this.onAfterChangePage = isFn(f.on_after_change_page) ?\n f.on_after_change_page : null;\n\n //pages select\n this.prfxSlcPages = 'slcPages_';\n //results per page select\n this.prfxSlcResults = 'slcResults_';\n //label preciding results per page select\n this.prfxSlcResultsTxt = 'slcResultsTxt_';\n //span containing next page button\n this.prfxBtnNextSpan = 'btnNextSpan_';\n //span containing previous page button\n this.prfxBtnPrevSpan = 'btnPrevSpan_';\n //span containing last page button\n this.prfxBtnLastSpan = 'btnLastSpan_';\n //span containing first page button\n this.prfxBtnFirstSpan = 'btnFirstSpan_';\n //next button\n this.prfxBtnNext = 'btnNext_';\n //previous button\n this.prfxBtnPrev = 'btnPrev_';\n //last button\n this.prfxBtnLast = 'btnLast_';\n //first button\n this.prfxBtnFirst = 'btnFirst_';\n //span for tot nb pages\n this.prfxPgSpan = 'pgspan_';\n //span preceding pages select (contains 'Page')\n this.prfxPgBeforeSpan = 'pgbeforespan_';\n //span following pages select (contains ' of ')\n this.prfxPgAfterSpan = 'pgafterspan_';\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 //Paging elements events\n var o = this;\n // Paging DOM events\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, ['id', this.prfxSlcPages + tf.id]);\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,\n ['id', this.prfxSlcPages + tf.id],\n ['value', this.currentPageNb]\n );\n slcPages.className = this.pgInpCssClass;\n addEvt(slcPages, 'keypress', evt._detectKey);\n }\n\n // btns containers\n var btnNextSpan = createElm(\n 'span', ['id', this.prfxBtnNextSpan + tf.id]);\n var btnPrevSpan = createElm(\n 'span', ['id', this.prfxBtnPrevSpan + tf.id]);\n var btnLastSpan = createElm(\n 'span', ['id', this.prfxBtnLastSpan + tf.id]);\n var btnFirstSpan = createElm(\n 'span', ['id', this.prfxBtnFirstSpan + tf.id]);\n\n if (this.hasPagingBtns) {\n // Next button\n if (!this.btnNextPageHtml) {\n var btn_next = createElm(INPUT,\n ['id', this.prfxBtnNext + tf.id],\n ['type', 'button'],\n ['value', this.btnNextPageText],\n ['title', 'Next']\n );\n btn_next.className = this.btnPageCssClass;\n addEvt(btn_next, 'click', evt.next);\n btnNextSpan.appendChild(btn_next);\n } else {\n btnNextSpan.innerHTML = this.btnNextPageHtml;\n addEvt(btnNextSpan, 'click', evt.next);\n }\n // Previous button\n if (!this.btnPrevPageHtml) {\n var btn_prev = createElm(INPUT,\n ['id', this.prfxBtnPrev + tf.id],\n ['type', 'button'],\n ['value', this.btnPrevPageText],\n ['title', 'Previous']\n );\n btn_prev.className = this.btnPageCssClass;\n addEvt(btn_prev, 'click', evt.prev);\n btnPrevSpan.appendChild(btn_prev);\n } else {\n btnPrevSpan.innerHTML = this.btnPrevPageHtml;\n addEvt(btnPrevSpan, 'click', evt.prev);\n }\n // Last button\n if (!this.btnLastPageHtml) {\n var btn_last = createElm(INPUT,\n ['id', this.prfxBtnLast + tf.id],\n ['type', 'button'],\n ['value', this.btnLastPageText],\n ['title', 'Last']\n );\n btn_last.className = this.btnPageCssClass;\n addEvt(btn_last, 'click', evt.last);\n btnLastSpan.appendChild(btn_last);\n } else {\n btnLastSpan.innerHTML = this.btnLastPageHtml;\n addEvt(btnLastSpan, 'click', evt.last);\n }\n // First button\n if (!this.btnFirstPageHtml) {\n var btn_first = createElm(INPUT,\n ['id', this.prfxBtnFirst + tf.id],\n ['type', 'button'],\n ['value', this.btnFirstPageText],\n ['title', 'First']\n );\n btn_first.className = this.btnPageCssClass;\n addEvt(btn_first, 'click', evt.first);\n btnFirstSpan.appendChild(btn_first);\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(\n 'span', ['id', this.prfxPgBeforeSpan + tf.id]);\n pgBeforeSpan.appendChild(createText(this.pageText));\n pgBeforeSpan.className = this.nbPgSpanCssClass;\n targetEl.appendChild(pgBeforeSpan);\n targetEl.appendChild(slcPages);\n var pgAfterSpan = createElm(\n 'span', ['id', this.prfxPgAfterSpan + tf.id]);\n pgAfterSpan.appendChild(createText(this.ofText));\n pgAfterSpan.className = this.nbPgSpanCssClass;\n targetEl.appendChild(pgAfterSpan);\n var pgspan = createElm('span', ['id', this.prfxPgSpan + tf.id]);\n pgspan.className = this.nbPgSpanCssClass;\n pgspan.appendChild(createText(' ' + this.nbPages + ' '));\n targetEl.appendChild(pgspan);\n targetEl.appendChild(btnNextSpan);\n targetEl.appendChild(btnLastSpan);\n this.pagingSlc = elm(this.prfxSlcPages + tf.id);\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 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 var pgspan = elm(this.prfxPgSpan + tf.id);\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 pgspan.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, ['id', this.prfxSlcResults + tf.id]);\n slcR.className = this.resultsSlcCssClass;\n var slcRText = this.resultsPerPage[0],\n slcROpts = this.resultsPerPage[1];\n var slcRSpan = createElm(\n 'span', ['id', this.prfxSlcResultsTxt + tf.id]);\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.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 var slcR = this.resultsPerPageSlc,\n slcRSpan = elm(this.prfxSlcResultsTxt + tf.id);\n if (slcR) {\n removeElm(slcR);\n }\n if (slcRSpan) {\n removeElm(slcRSpan);\n }\n this.resultsPerPageSlc = null;\n }\n\n /**\n * Change the page according to 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 if (this.onBeforeChangePage) {\n this.onBeforeChangePage.call(null, 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 if (this.onAfterChangePage) {\n this.onAfterChangePage.call(null, this, (index + 1));\n }\n }\n\n this.emitter.emit('after-page-change', tf, (index + 1));\n }\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 var tf = this.tf;\n\n if (!this.initialized) {\n return;\n }\n // btns containers\n var btnNextSpan = elm(this.prfxBtnNextSpan + tf.id);\n var btnPrevSpan = elm(this.prfxBtnPrevSpan + tf.id);\n var btnLastSpan = elm(this.prfxBtnLastSpan + tf.id);\n var btnFirstSpan = elm(this.prfxBtnFirstSpan + tf.id);\n //span containing 'Page' text\n var pgBeforeSpan = elm(this.prfxPgBeforeSpan + tf.id);\n //span containing 'of' text\n var pgAfterSpan = elm(this.prfxPgAfterSpan + tf.id);\n //span containing nb of pages\n var pgspan = elm(this.prfxPgSpan + tf.id);\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 (btnNextSpan) {\n removeEvt(btnNextSpan, 'click', evt.next);\n removeElm(btnNextSpan);\n }\n\n if (btnPrevSpan) {\n removeEvt(btnPrevSpan, 'click', evt.prev);\n removeElm(btnPrevSpan);\n }\n\n if (btnLastSpan) {\n removeEvt(btnLastSpan, 'click', evt.last);\n removeElm(btnLastSpan);\n }\n\n if (btnFirstSpan) {\n removeEvt(btnFirstSpan, 'click', evt.first);\n removeElm(btnFirstSpan);\n }\n\n if (pgBeforeSpan) {\n removeElm(pgBeforeSpan);\n }\n\n if (pgAfterSpan) {\n removeElm(pgAfterSpan);\n }\n\n if (pgspan) {\n removeElm(pgspan);\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__": 486, + "__docId__": 492, "kind": "class", "static": true, "variation": null, @@ -10148,7 +10367,7 @@ ] }, { - "__docId__": 487, + "__docId__": 493, "kind": "constructor", "static": false, "variation": null, @@ -10173,7 +10392,7 @@ "generator": false }, { - "__docId__": 488, + "__docId__": 494, "kind": "member", "static": false, "variation": null, @@ -10191,7 +10410,7 @@ } }, { - "__docId__": 489, + "__docId__": 495, "kind": "member", "static": false, "variation": null, @@ -10209,7 +10428,7 @@ } }, { - "__docId__": 490, + "__docId__": 496, "kind": "member", "static": false, "variation": null, @@ -10227,7 +10446,7 @@ } }, { - "__docId__": 491, + "__docId__": 497, "kind": "member", "static": false, "variation": null, @@ -10245,7 +10464,7 @@ } }, { - "__docId__": 492, + "__docId__": 498, "kind": "member", "static": false, "variation": null, @@ -10263,7 +10482,7 @@ } }, { - "__docId__": 493, + "__docId__": 499, "kind": "member", "static": false, "variation": null, @@ -10281,7 +10500,7 @@ } }, { - "__docId__": 494, + "__docId__": 500, "kind": "member", "static": false, "variation": null, @@ -10299,7 +10518,7 @@ } }, { - "__docId__": 495, + "__docId__": 501, "kind": "member", "static": false, "variation": null, @@ -10317,7 +10536,7 @@ } }, { - "__docId__": 496, + "__docId__": 502, "kind": "member", "static": false, "variation": null, @@ -10335,7 +10554,7 @@ } }, { - "__docId__": 497, + "__docId__": 503, "kind": "member", "static": false, "variation": null, @@ -10353,7 +10572,7 @@ } }, { - "__docId__": 498, + "__docId__": 504, "kind": "member", "static": false, "variation": null, @@ -10371,7 +10590,7 @@ } }, { - "__docId__": 499, + "__docId__": 505, "kind": "member", "static": false, "variation": null, @@ -10389,7 +10608,7 @@ } }, { - "__docId__": 500, + "__docId__": 506, "kind": "member", "static": false, "variation": null, @@ -10407,7 +10626,7 @@ } }, { - "__docId__": 501, + "__docId__": 507, "kind": "member", "static": false, "variation": null, @@ -10425,7 +10644,7 @@ } }, { - "__docId__": 502, + "__docId__": 508, "kind": "member", "static": false, "variation": null, @@ -10443,7 +10662,7 @@ } }, { - "__docId__": 503, + "__docId__": 509, "kind": "member", "static": false, "variation": null, @@ -10461,7 +10680,7 @@ } }, { - "__docId__": 504, + "__docId__": 510, "kind": "member", "static": false, "variation": null, @@ -10479,7 +10698,7 @@ } }, { - "__docId__": 505, + "__docId__": 511, "kind": "member", "static": false, "variation": null, @@ -10497,7 +10716,7 @@ } }, { - "__docId__": 506, + "__docId__": 512, "kind": "member", "static": false, "variation": null, @@ -10515,7 +10734,7 @@ } }, { - "__docId__": 507, + "__docId__": 513, "kind": "member", "static": false, "variation": null, @@ -10533,7 +10752,7 @@ } }, { - "__docId__": 508, + "__docId__": 514, "kind": "member", "static": false, "variation": null, @@ -10551,7 +10770,7 @@ } }, { - "__docId__": 509, + "__docId__": 515, "kind": "member", "static": false, "variation": null, @@ -10569,7 +10788,7 @@ } }, { - "__docId__": 510, + "__docId__": 516, "kind": "member", "static": false, "variation": null, @@ -10587,7 +10806,7 @@ } }, { - "__docId__": 511, + "__docId__": 517, "kind": "member", "static": false, "variation": null, @@ -10605,7 +10824,7 @@ } }, { - "__docId__": 512, + "__docId__": 518, "kind": "member", "static": false, "variation": null, @@ -10623,7 +10842,7 @@ } }, { - "__docId__": 513, + "__docId__": 519, "kind": "member", "static": false, "variation": null, @@ -10641,7 +10860,7 @@ } }, { - "__docId__": 514, + "__docId__": 520, "kind": "member", "static": false, "variation": null, @@ -10659,7 +10878,7 @@ } }, { - "__docId__": 515, + "__docId__": 521, "kind": "member", "static": false, "variation": null, @@ -10677,7 +10896,7 @@ } }, { - "__docId__": 516, + "__docId__": 522, "kind": "member", "static": false, "variation": null, @@ -10695,7 +10914,7 @@ } }, { - "__docId__": 517, + "__docId__": 523, "kind": "member", "static": false, "variation": null, @@ -10713,7 +10932,7 @@ } }, { - "__docId__": 518, + "__docId__": 524, "kind": "member", "static": false, "variation": null, @@ -10731,7 +10950,7 @@ } }, { - "__docId__": 519, + "__docId__": 525, "kind": "member", "static": false, "variation": null, @@ -10749,7 +10968,7 @@ } }, { - "__docId__": 520, + "__docId__": 526, "kind": "member", "static": false, "variation": null, @@ -10767,7 +10986,7 @@ } }, { - "__docId__": 521, + "__docId__": 527, "kind": "member", "static": false, "variation": null, @@ -10785,7 +11004,7 @@ } }, { - "__docId__": 522, + "__docId__": 528, "kind": "member", "static": false, "variation": null, @@ -10803,7 +11022,7 @@ } }, { - "__docId__": 523, + "__docId__": 529, "kind": "member", "static": false, "variation": null, @@ -10821,7 +11040,7 @@ } }, { - "__docId__": 524, + "__docId__": 530, "kind": "member", "static": false, "variation": null, @@ -10839,7 +11058,7 @@ } }, { - "__docId__": 525, + "__docId__": 531, "kind": "member", "static": false, "variation": null, @@ -10857,7 +11076,7 @@ } }, { - "__docId__": 526, + "__docId__": 532, "kind": "member", "static": false, "variation": null, @@ -10875,7 +11094,7 @@ } }, { - "__docId__": 527, + "__docId__": 533, "kind": "member", "static": false, "variation": null, @@ -10893,7 +11112,7 @@ } }, { - "__docId__": 528, + "__docId__": 534, "kind": "member", "static": false, "variation": null, @@ -10911,7 +11130,7 @@ } }, { - "__docId__": 529, + "__docId__": 535, "kind": "member", "static": false, "variation": null, @@ -10929,7 +11148,7 @@ } }, { - "__docId__": 530, + "__docId__": 536, "kind": "member", "static": false, "variation": null, @@ -10947,7 +11166,7 @@ } }, { - "__docId__": 531, + "__docId__": 537, "kind": "member", "static": false, "variation": null, @@ -10965,7 +11184,7 @@ } }, { - "__docId__": 532, + "__docId__": 538, "kind": "member", "static": false, "variation": null, @@ -10983,7 +11202,7 @@ } }, { - "__docId__": 533, + "__docId__": 539, "kind": "member", "static": false, "variation": null, @@ -11001,7 +11220,7 @@ } }, { - "__docId__": 534, + "__docId__": 540, "kind": "method", "static": false, "variation": null, @@ -11015,7 +11234,7 @@ "generator": false }, { - "__docId__": 535, + "__docId__": 541, "kind": "member", "static": false, "variation": null, @@ -11033,7 +11252,7 @@ } }, { - "__docId__": 536, + "__docId__": 542, "kind": "member", "static": false, "variation": null, @@ -11051,7 +11270,7 @@ } }, { - "__docId__": 537, + "__docId__": 543, "kind": "member", "static": false, "variation": null, @@ -11069,7 +11288,7 @@ } }, { - "__docId__": 538, + "__docId__": 544, "kind": "member", "static": false, "variation": null, @@ -11087,7 +11306,7 @@ } }, { - "__docId__": 539, + "__docId__": 545, "kind": "method", "static": false, "variation": null, @@ -11112,7 +11331,7 @@ "generator": false }, { - "__docId__": 540, + "__docId__": 546, "kind": "method", "static": false, "variation": null, @@ -11126,7 +11345,7 @@ "generator": false }, { - "__docId__": 541, + "__docId__": 547, "kind": "member", "static": false, "variation": null, @@ -11144,7 +11363,7 @@ } }, { - "__docId__": 542, + "__docId__": 548, "kind": "member", "static": false, "variation": null, @@ -11162,7 +11381,7 @@ } }, { - "__docId__": 543, + "__docId__": 549, "kind": "method", "static": false, "variation": null, @@ -11187,7 +11406,7 @@ "generator": false }, { - "__docId__": 544, + "__docId__": 550, "kind": "member", "static": false, "variation": null, @@ -11205,7 +11424,7 @@ } }, { - "__docId__": 545, + "__docId__": 551, "kind": "method", "static": false, "variation": null, @@ -11230,7 +11449,7 @@ "generator": false }, { - "__docId__": 546, + "__docId__": 552, "kind": "method", "static": false, "variation": null, @@ -11252,7 +11471,7 @@ "generator": false }, { - "__docId__": 547, + "__docId__": 553, "kind": "method", "static": false, "variation": null, @@ -11277,7 +11496,7 @@ "generator": false }, { - "__docId__": 548, + "__docId__": 554, "kind": "method", "static": false, "variation": null, @@ -11291,7 +11510,7 @@ "generator": false }, { - "__docId__": 549, + "__docId__": 555, "kind": "member", "static": false, "variation": null, @@ -11309,7 +11528,7 @@ } }, { - "__docId__": 550, + "__docId__": 556, "kind": "method", "static": false, "variation": null, @@ -11323,7 +11542,7 @@ "generator": false }, { - "__docId__": 551, + "__docId__": 557, "kind": "member", "static": false, "variation": null, @@ -11341,7 +11560,7 @@ } }, { - "__docId__": 552, + "__docId__": 558, "kind": "method", "static": false, "variation": null, @@ -11366,7 +11585,7 @@ "generator": false }, { - "__docId__": 553, + "__docId__": 559, "kind": "member", "static": false, "variation": null, @@ -11384,7 +11603,7 @@ } }, { - "__docId__": 554, + "__docId__": 560, "kind": "member", "static": false, "variation": null, @@ -11402,7 +11621,7 @@ } }, { - "__docId__": 555, + "__docId__": 561, "kind": "method", "static": false, "variation": null, @@ -11424,7 +11643,7 @@ "generator": false }, { - "__docId__": 556, + "__docId__": 562, "kind": "method", "static": false, "variation": null, @@ -11438,7 +11657,7 @@ "generator": false }, { - "__docId__": 557, + "__docId__": 563, "kind": "member", "static": false, "variation": null, @@ -11456,7 +11675,7 @@ } }, { - "__docId__": 558, + "__docId__": 564, "kind": "member", "static": false, "variation": null, @@ -11474,7 +11693,7 @@ } }, { - "__docId__": 559, + "__docId__": 565, "kind": "member", "static": false, "variation": null, @@ -11492,7 +11711,7 @@ } }, { - "__docId__": 560, + "__docId__": 566, "kind": "method", "static": false, "variation": null, @@ -11506,7 +11725,7 @@ "generator": false }, { - "__docId__": 561, + "__docId__": 567, "kind": "method", "static": false, "variation": null, @@ -11520,7 +11739,7 @@ "generator": false }, { - "__docId__": 562, + "__docId__": 568, "kind": "method", "static": false, "variation": null, @@ -11534,7 +11753,7 @@ "generator": false }, { - "__docId__": 563, + "__docId__": 569, "kind": "member", "static": false, "variation": null, @@ -11552,7 +11771,7 @@ } }, { - "__docId__": 564, + "__docId__": 570, "kind": "member", "static": false, "variation": null, @@ -11570,7 +11789,7 @@ } }, { - "__docId__": 565, + "__docId__": 571, "kind": "member", "static": false, "variation": null, @@ -11588,7 +11807,7 @@ } }, { - "__docId__": 566, + "__docId__": 572, "kind": "file", "static": true, "variation": null, @@ -11601,7 +11820,7 @@ "content": "import {Feature} from '../feature';\nimport {isFn} from '../types';\nimport {createElm, removeElm} from '../dom';\nimport {addEvt, cancelEvt, stopEvt, targetEvt} from '../event';\nimport {INPUT, NONE} from '../const';\n\nexport class PopupFilter extends Feature {\n\n /**\n * Pop-up filter component\n * @param {Object} 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 //filter icon path\n this.popUpImgFlt = f.popup_filters_image ||\n tf.themesPath + 'icn_filter.gif';\n //active filter icon path\n this.popUpImgFltActive = f.popup_filters_image_active ||\n tf.themesPath + 'icn_filterActive.gif';\n this.popUpImgFltHtml = f.popup_filters_image_html ||\n '\"Column';\n //defines css class for popup div containing filter\n this.popUpDivCssClass = f.popup_div_css_class || 'popUpFilter';\n //callback function before popup filtes is opened\n this.onBeforePopUpOpen = isFn(f.on_before_popup_filter_open) ?\n f.on_before_popup_filter_open : null;\n //callback function after popup filtes is opened\n this.onAfterPopUpOpen = isFn(f.on_after_popup_filter_open) ?\n f.on_after_popup_filter_open : null;\n //callback function before popup filtes is closed\n this.onBeforePopUpClose = isFn(f.on_before_popup_filter_close) ?\n f.on_before_popup_filter_close : null;\n //callback function after popup filtes is closed\n this.onAfterPopUpClose = isFn(f.on_after_popup_filter_close) ?\n f.on_after_popup_filter_close : null;\n\n //stores filters spans\n this.popUpFltSpans = [];\n //stores filters icons\n this.popUpFltImgs = [];\n //stores filters containers\n this.popUpFltElms = this.popUpFltElmCache || [];\n this.popUpFltAdjustToContainer = true;\n\n //id prefix for pop-up filter span\n this.prfxPopUpSpan = 'popUpSpan_';\n //id prefix for pop-up div containing filter\n this.prfxPopUpDiv = 'popUpDiv_';\n }\n\n onClick(evt) {\n let elm = targetEvt(evt).parentNode,\n colIndex = parseInt(elm.getAttribute('ci'), 10);\n\n this.closeAll(colIndex);\n this.toggle(colIndex);\n\n if (this.popUpFltAdjustToContainer) {\n let popUpDiv = this.popUpFltElms[colIndex],\n header = this.tf.getHeaderElement(colIndex),\n headerWidth = header.clientWidth * 0.95;\n popUpDiv.style.width = parseInt(headerWidth, 10) + 'px';\n }\n cancelEvt(evt);\n stopEvt(evt);\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 if (tf.headersRow <= 1) {\n tf.headersRow = 0;\n }\n\n for (let i = 0; i < tf.nbCells; i++) {\n if (tf.getFilterType(i) === NONE) {\n continue;\n }\n let popUpSpan = createElm(\n 'span',\n ['id', this.prfxPopUpSpan + tf.id + '_' + i],\n ['ci', i]\n );\n popUpSpan.innerHTML = this.popUpImgFltHtml;\n let header = tf.getHeaderElement(i);\n header.appendChild(popUpSpan);\n addEvt(popUpSpan, 'click', (evt) => this.onClick(evt));\n this.popUpFltSpans[i] = popUpSpan;\n this.popUpFltImgs[i] = popUpSpan.firstChild;\n }\n\n // subscribe to events\n this.emitter.on(['before-filtering'], () => this.buildIcons());\n this.emitter.on(['after-filtering'], () => this.closeAll());\n this.emitter.on(['cell-processed'],\n (tf, cellIndex) => this.buildIcon(cellIndex, true));\n this.emitter.on(['filters-row-inserted'], () => this.tf.headersRow++);\n this.emitter.on(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n this.initialized = true;\n }\n\n /**\n * Reset previously destroyed feature\n */\n reset() {\n this.enable();\n this.init();\n this.buildAll();\n }\n\n /**\n * Build all pop-up filters elements\n */\n buildAll() {\n for (let i = 0; i < this.popUpFltElmCache.length; i++) {\n this.build(i, this.popUpFltElmCache[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 popUpDiv = !div ?\n createElm('div',\n ['id', this.prfxPopUpDiv + tf.id + '_' + colIndex]) :\n div;\n popUpDiv.className = this.popUpDivCssClass;\n tf.externalFltTgtIds.push(popUpDiv.id);\n let header = tf.getHeaderElement(colIndex);\n header.insertBefore(popUpDiv, header.firstChild);\n addEvt(popUpDiv, 'click', (evt) => stopEvt(evt));\n this.popUpFltElms[colIndex] = popUpDiv;\n }\n\n /**\n * Toogle visibility of specified filter\n * @param {Number} colIndex Column index\n */\n toggle(colIndex) {\n let tf = this.tf,\n popUpFltElm = this.popUpFltElms[colIndex];\n\n if (popUpFltElm.style.display === NONE ||\n popUpFltElm.style.display === '') {\n if (this.onBeforePopUpOpen) {\n this.onBeforePopUpOpen.call(\n null, this, this.popUpFltElms[colIndex], colIndex);\n }\n popUpFltElm.style.display = 'block';\n if (tf.getFilterType(colIndex) === INPUT) {\n let flt = tf.getFilterElement(colIndex);\n if (flt) {\n flt.focus();\n }\n }\n if (this.onAfterPopUpOpen) {\n this.onAfterPopUpOpen.call(\n null, this, this.popUpFltElms[colIndex], colIndex);\n }\n } else {\n if (this.onBeforePopUpClose) {\n this.onBeforePopUpClose.call(\n null, this, this.popUpFltElms[colIndex], colIndex);\n }\n popUpFltElm.style.display = NONE;\n if (this.onAfterPopUpClose) {\n this.onAfterPopUpClose.call(\n null, this, this.popUpFltElms[colIndex], colIndex);\n }\n }\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 for (let i = 0; i < this.popUpFltElms.length; i++) {\n if (i === exceptIdx) {\n continue;\n }\n let popUpFltElm = this.popUpFltElms[i];\n if (popUpFltElm) {\n popUpFltElm.style.display = NONE;\n }\n }\n }\n\n /**\n * Build all the icons representing the pop-up filters\n */\n buildIcons() {\n for (let i = 0; i < this.popUpFltImgs.length; i++) {\n this.buildIcon(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 buildIcon(colIndex, active) {\n if (this.popUpFltImgs[colIndex]) {\n this.popUpFltImgs[colIndex].src = active ?\n this.popUpImgFltActive : this.popUpImgFlt;\n }\n }\n\n /**\n * Remove pop-up filters\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n this.popUpFltElmCache = [];\n for (let i = 0; i < this.popUpFltElms.length; i++) {\n let popUpFltElm = this.popUpFltElms[i],\n popUpFltSpan = this.popUpFltSpans[i],\n popUpFltImg = this.popUpFltImgs[i];\n if (popUpFltElm) {\n removeElm(popUpFltElm);\n this.popUpFltElmCache[i] = popUpFltElm;\n }\n popUpFltElm = null;\n if (popUpFltSpan) {\n removeElm(popUpFltSpan);\n }\n popUpFltSpan = null;\n if (popUpFltImg) {\n removeElm(popUpFltImg);\n }\n popUpFltImg = null;\n }\n this.popUpFltElms = [];\n this.popUpFltSpans = [];\n this.popUpFltImgs = [];\n\n // unsubscribe to events\n this.emitter.off(['before-filtering'], () => this.buildIcons());\n this.emitter.off(['after-filtering'], () => this.closeAll());\n this.emitter.off(['cell-processed'],\n (tf, cellIndex) => this.buildIcon(cellIndex, true));\n this.emitter.off(['filters-row-inserted'], () => this.tf.headersRow++);\n this.emitter.off(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 567, + "__docId__": 573, "kind": "class", "static": true, "variation": null, @@ -11621,7 +11840,7 @@ ] }, { - "__docId__": 568, + "__docId__": 574, "kind": "constructor", "static": false, "variation": null, @@ -11646,7 +11865,7 @@ "generator": false }, { - "__docId__": 569, + "__docId__": 575, "kind": "member", "static": false, "variation": null, @@ -11664,7 +11883,7 @@ } }, { - "__docId__": 570, + "__docId__": 576, "kind": "member", "static": false, "variation": null, @@ -11682,7 +11901,7 @@ } }, { - "__docId__": 571, + "__docId__": 577, "kind": "member", "static": false, "variation": null, @@ -11700,7 +11919,7 @@ } }, { - "__docId__": 572, + "__docId__": 578, "kind": "member", "static": false, "variation": null, @@ -11718,7 +11937,7 @@ } }, { - "__docId__": 573, + "__docId__": 579, "kind": "member", "static": false, "variation": null, @@ -11736,7 +11955,7 @@ } }, { - "__docId__": 574, + "__docId__": 580, "kind": "member", "static": false, "variation": null, @@ -11754,7 +11973,7 @@ } }, { - "__docId__": 575, + "__docId__": 581, "kind": "member", "static": false, "variation": null, @@ -11772,7 +11991,7 @@ } }, { - "__docId__": 576, + "__docId__": 582, "kind": "member", "static": false, "variation": null, @@ -11790,7 +12009,7 @@ } }, { - "__docId__": 577, + "__docId__": 583, "kind": "member", "static": false, "variation": null, @@ -11808,7 +12027,7 @@ } }, { - "__docId__": 578, + "__docId__": 584, "kind": "member", "static": false, "variation": null, @@ -11826,7 +12045,7 @@ } }, { - "__docId__": 579, + "__docId__": 585, "kind": "member", "static": false, "variation": null, @@ -11844,7 +12063,7 @@ } }, { - "__docId__": 580, + "__docId__": 586, "kind": "member", "static": false, "variation": null, @@ -11862,7 +12081,7 @@ } }, { - "__docId__": 581, + "__docId__": 587, "kind": "member", "static": false, "variation": null, @@ -11880,7 +12099,7 @@ } }, { - "__docId__": 582, + "__docId__": 588, "kind": "member", "static": false, "variation": null, @@ -11898,7 +12117,7 @@ } }, { - "__docId__": 583, + "__docId__": 589, "kind": "method", "static": false, "variation": null, @@ -11920,7 +12139,7 @@ "generator": false }, { - "__docId__": 584, + "__docId__": 590, "kind": "method", "static": false, "variation": null, @@ -11934,7 +12153,7 @@ "generator": false }, { - "__docId__": 585, + "__docId__": 591, "kind": "member", "static": false, "variation": null, @@ -11952,7 +12171,7 @@ } }, { - "__docId__": 586, + "__docId__": 592, "kind": "method", "static": false, "variation": null, @@ -11966,7 +12185,7 @@ "generator": false }, { - "__docId__": 587, + "__docId__": 593, "kind": "method", "static": false, "variation": null, @@ -11980,7 +12199,7 @@ "generator": false }, { - "__docId__": 588, + "__docId__": 594, "kind": "method", "static": false, "variation": null, @@ -12015,7 +12234,7 @@ "generator": false }, { - "__docId__": 589, + "__docId__": 595, "kind": "method", "static": false, "variation": null, @@ -12040,7 +12259,7 @@ "generator": false }, { - "__docId__": 590, + "__docId__": 596, "kind": "method", "static": false, "variation": null, @@ -12065,7 +12284,7 @@ "generator": false }, { - "__docId__": 591, + "__docId__": 597, "kind": "method", "static": false, "variation": null, @@ -12079,7 +12298,7 @@ "generator": false }, { - "__docId__": 592, + "__docId__": 598, "kind": "method", "static": false, "variation": null, @@ -12114,7 +12333,7 @@ "generator": false }, { - "__docId__": 593, + "__docId__": 599, "kind": "method", "static": false, "variation": null, @@ -12128,7 +12347,7 @@ "generator": false }, { - "__docId__": 594, + "__docId__": 600, "kind": "member", "static": false, "variation": null, @@ -12146,7 +12365,7 @@ } }, { - "__docId__": 595, + "__docId__": 601, "kind": "member", "static": false, "variation": null, @@ -12164,7 +12383,7 @@ } }, { - "__docId__": 596, + "__docId__": 602, "kind": "member", "static": false, "variation": null, @@ -12182,7 +12401,7 @@ } }, { - "__docId__": 597, + "__docId__": 603, "kind": "member", "static": false, "variation": null, @@ -12200,7 +12419,7 @@ } }, { - "__docId__": 598, + "__docId__": 604, "kind": "member", "static": false, "variation": null, @@ -12218,7 +12437,7 @@ } }, { - "__docId__": 599, + "__docId__": 605, "kind": "file", "static": true, "variation": null, @@ -12231,7 +12450,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn} from '../types';\n\nexport class RowsCounter extends Feature {\n\n /**\n * Rows counter\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'rowsCounter');\n\n // TableFilter configuration\n var f = this.config;\n\n //id of custom container element\n this.rowsCounterTgtId = f.rows_counter_target_id || null;\n //element containing tot nb rows\n this.rowsCounterDiv = null;\n //element containing tot nb rows label\n this.rowsCounterSpan = null;\n //defines rows counter text\n this.rowsCounterText = f.rows_counter_text || 'Rows: ';\n this.fromToTextSeparator = f.from_to_text_separator || '-';\n this.overText = f.over_text || ' / ';\n //defines css class rows counter\n this.totRowsCssClass = f.tot_rows_css_class || 'tot';\n //rows counter div\n this.prfxCounter = 'counter_';\n //nb displayed rows label\n this.prfxTotRows = 'totrows_span_';\n //label preceding nb rows label\n this.prfxTotRowsTxt = 'totRowsTextSpan_';\n //callback raised before counter is refreshed\n this.onBeforeRefreshCounter = isFn(f.on_before_refresh_counter) ?\n f.on_before_refresh_counter : null;\n //callback raised after counter is refreshed\n this.onAfterRefreshCounter = isFn(f.on_after_refresh_counter) ?\n f.on_after_refresh_counter : null;\n }\n\n init() {\n if (this.initialized) {\n return;\n }\n\n var tf = this.tf;\n\n //rows counter container\n var countDiv = createElm('div', ['id', this.prfxCounter + tf.id]);\n countDiv.className = this.totRowsCssClass;\n //rows counter label\n var countSpan = createElm('span', ['id', this.prfxTotRows + tf.id]);\n var countText = createElm('span', ['id', this.prfxTotRowsTxt + tf.id]);\n countText.appendChild(createText(this.rowsCounterText));\n\n // counter is added to defined element\n if (!this.rowsCounterTgtId) {\n tf.setToolbar();\n }\n var targetEl = !this.rowsCounterTgtId ?\n tf.lDiv : elm(this.rowsCounterTgtId);\n\n //default container: 'lDiv'\n if (!this.rowsCounterTgtId) {\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.rowsCounterDiv = countDiv;\n this.rowsCounterSpan = 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 this.initialized = true;\n this.refresh();\n }\n\n refresh(p) {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n\n var tf = this.tf;\n\n if (this.onBeforeRefreshCounter) {\n this.onBeforeRefreshCounter.call(null, tf, this.rowsCounterSpan);\n }\n\n var totTxt;\n if (!tf.paging) {\n if (p && p !== '') {\n totTxt = p;\n } else {\n totTxt = tf.getFilterableRowsNb() - tf.nbHiddenRows;\n }\n } else {\n var paging = tf.feature('paging');\n if (paging) {\n //paging start row\n var pagingStartRow = parseInt(paging.startPagingRow, 10) +\n ((tf.getValidRowsNb() > 0) ? 1 : 0);\n var 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.rowsCounterSpan.innerHTML = totTxt;\n if (this.onAfterRefreshCounter) {\n this.onAfterRefreshCounter.call(\n null, tf, this.rowsCounterSpan, totTxt);\n }\n }\n\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n if (!this.rowsCounterTgtId && this.rowsCounterDiv) {\n removeElm(this.rowsCounterDiv);\n } else {\n elm(this.rowsCounterTgtId).innerHTML = '';\n }\n this.rowsCounterSpan = null;\n this.rowsCounterDiv = 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__": 600, + "__docId__": 606, "kind": "class", "static": true, "variation": null, @@ -12251,7 +12470,7 @@ ] }, { - "__docId__": 601, + "__docId__": 607, "kind": "constructor", "static": false, "variation": null, @@ -12276,7 +12495,7 @@ "generator": false }, { - "__docId__": 602, + "__docId__": 608, "kind": "member", "static": false, "variation": null, @@ -12294,7 +12513,7 @@ } }, { - "__docId__": 603, + "__docId__": 609, "kind": "member", "static": false, "variation": null, @@ -12312,7 +12531,7 @@ } }, { - "__docId__": 604, + "__docId__": 610, "kind": "member", "static": false, "variation": null, @@ -12330,7 +12549,7 @@ } }, { - "__docId__": 605, + "__docId__": 611, "kind": "member", "static": false, "variation": null, @@ -12348,7 +12567,7 @@ } }, { - "__docId__": 606, + "__docId__": 612, "kind": "member", "static": false, "variation": null, @@ -12366,7 +12585,7 @@ } }, { - "__docId__": 607, + "__docId__": 613, "kind": "member", "static": false, "variation": null, @@ -12384,7 +12603,7 @@ } }, { - "__docId__": 608, + "__docId__": 614, "kind": "member", "static": false, "variation": null, @@ -12402,7 +12621,7 @@ } }, { - "__docId__": 609, + "__docId__": 615, "kind": "member", "static": false, "variation": null, @@ -12420,7 +12639,7 @@ } }, { - "__docId__": 610, + "__docId__": 616, "kind": "member", "static": false, "variation": null, @@ -12438,7 +12657,7 @@ } }, { - "__docId__": 611, + "__docId__": 617, "kind": "member", "static": false, "variation": null, @@ -12456,7 +12675,7 @@ } }, { - "__docId__": 612, + "__docId__": 618, "kind": "member", "static": false, "variation": null, @@ -12474,7 +12693,7 @@ } }, { - "__docId__": 613, + "__docId__": 619, "kind": "member", "static": false, "variation": null, @@ -12492,7 +12711,7 @@ } }, { - "__docId__": 614, + "__docId__": 620, "kind": "method", "static": false, "variation": null, @@ -12507,7 +12726,7 @@ "generator": false }, { - "__docId__": 615, + "__docId__": 621, "kind": "member", "static": false, "variation": null, @@ -12525,7 +12744,7 @@ } }, { - "__docId__": 616, + "__docId__": 622, "kind": "member", "static": false, "variation": null, @@ -12543,7 +12762,7 @@ } }, { - "__docId__": 617, + "__docId__": 623, "kind": "member", "static": false, "variation": null, @@ -12561,7 +12780,7 @@ } }, { - "__docId__": 618, + "__docId__": 624, "kind": "method", "static": false, "variation": null, @@ -12583,7 +12802,7 @@ "generator": false }, { - "__docId__": 619, + "__docId__": 625, "kind": "method", "static": false, "variation": null, @@ -12598,7 +12817,7 @@ "generator": false }, { - "__docId__": 620, + "__docId__": 626, "kind": "member", "static": false, "variation": null, @@ -12616,7 +12835,7 @@ } }, { - "__docId__": 621, + "__docId__": 627, "kind": "member", "static": false, "variation": null, @@ -12634,7 +12853,7 @@ } }, { - "__docId__": 622, + "__docId__": 628, "kind": "member", "static": false, "variation": null, @@ -12652,7 +12871,7 @@ } }, { - "__docId__": 623, + "__docId__": 629, "kind": "file", "static": true, "variation": null, @@ -12665,7 +12884,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 * Reflects the state of features to be persisted via hash, localStorage or\n * cookie\n *\n * @export\n * @class State\n * @extends {Feature}\n */\nexport class State extends Feature {\n\n /**\n * Creates an instance of State\n *\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'state');\n\n let cfg = this.config.state;\n\n this.enableHash = cfg === true ||\n (isArray(cfg.types) && cfg.types.indexOf('hash') !== -1);\n this.enableLocalStorage = isArray(cfg.types) &&\n cfg.types.indexOf('local_storage') !== -1;\n this.enableCookie = isArray(cfg.types) &&\n cfg.types.indexOf('cookie') !== -1;\n this.persistFilters = cfg.filters === false ? false : true;\n this.persistPageNumber = Boolean(cfg.page_number);\n this.persistPageLength = Boolean(cfg.page_length);\n this.persistSort = Boolean(cfg.sort);\n this.persistColsVisibility = Boolean(cfg.columns_visibility);\n this.persistFiltersVisibility = Boolean(cfg.filters_visibility);\n this.cookieDuration = !isNaN(cfg.cookie_duration) ?\n parseInt(cfg.cookie_duration, 10) : 87600;\n\n this.enableStorage = this.enableLocalStorage || this.enableCookie;\n this.hash = null;\n this.pageNb = null;\n this.pageLength = null;\n this.sort = null;\n this.hiddenCols = null;\n this.filtersVisibility = null;\n\n this.state = {};\n this.prfxCol = 'col_';\n this.pageNbKey = 'page';\n this.pageLengthKey = 'page_length';\n this.filtersVisKey = 'filters_visibility';\n }\n\n /**\n * Initializes the State object\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 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__": 624, + "__docId__": 630, "kind": "class", "static": true, "variation": null, @@ -12694,7 +12913,7 @@ ] }, { - "__docId__": 625, + "__docId__": 631, "kind": "constructor", "static": false, "variation": null, @@ -12719,7 +12938,7 @@ "generator": false }, { - "__docId__": 626, + "__docId__": 632, "kind": "member", "static": false, "variation": null, @@ -12737,7 +12956,7 @@ } }, { - "__docId__": 627, + "__docId__": 633, "kind": "member", "static": false, "variation": null, @@ -12755,7 +12974,7 @@ } }, { - "__docId__": 628, + "__docId__": 634, "kind": "member", "static": false, "variation": null, @@ -12773,7 +12992,7 @@ } }, { - "__docId__": 629, + "__docId__": 635, "kind": "member", "static": false, "variation": null, @@ -12791,7 +13010,7 @@ } }, { - "__docId__": 630, + "__docId__": 636, "kind": "member", "static": false, "variation": null, @@ -12809,7 +13028,7 @@ } }, { - "__docId__": 631, + "__docId__": 637, "kind": "member", "static": false, "variation": null, @@ -12827,7 +13046,7 @@ } }, { - "__docId__": 632, + "__docId__": 638, "kind": "member", "static": false, "variation": null, @@ -12845,7 +13064,7 @@ } }, { - "__docId__": 633, + "__docId__": 639, "kind": "member", "static": false, "variation": null, @@ -12863,7 +13082,7 @@ } }, { - "__docId__": 634, + "__docId__": 640, "kind": "member", "static": false, "variation": null, @@ -12881,7 +13100,7 @@ } }, { - "__docId__": 635, + "__docId__": 641, "kind": "member", "static": false, "variation": null, @@ -12899,7 +13118,7 @@ } }, { - "__docId__": 636, + "__docId__": 642, "kind": "member", "static": false, "variation": null, @@ -12917,7 +13136,7 @@ } }, { - "__docId__": 637, + "__docId__": 643, "kind": "member", "static": false, "variation": null, @@ -12935,7 +13154,7 @@ } }, { - "__docId__": 638, + "__docId__": 644, "kind": "member", "static": false, "variation": null, @@ -12953,7 +13172,7 @@ } }, { - "__docId__": 639, + "__docId__": 645, "kind": "member", "static": false, "variation": null, @@ -12971,7 +13190,7 @@ } }, { - "__docId__": 640, + "__docId__": 646, "kind": "member", "static": false, "variation": null, @@ -12989,7 +13208,7 @@ } }, { - "__docId__": 641, + "__docId__": 647, "kind": "member", "static": false, "variation": null, @@ -13007,7 +13226,7 @@ } }, { - "__docId__": 642, + "__docId__": 648, "kind": "member", "static": false, "variation": null, @@ -13025,7 +13244,7 @@ } }, { - "__docId__": 643, + "__docId__": 649, "kind": "member", "static": false, "variation": null, @@ -13043,7 +13262,7 @@ } }, { - "__docId__": 644, + "__docId__": 650, "kind": "member", "static": false, "variation": null, @@ -13061,7 +13280,7 @@ } }, { - "__docId__": 645, + "__docId__": 651, "kind": "member", "static": false, "variation": null, @@ -13079,7 +13298,7 @@ } }, { - "__docId__": 646, + "__docId__": 652, "kind": "member", "static": false, "variation": null, @@ -13097,7 +13316,7 @@ } }, { - "__docId__": 647, + "__docId__": 653, "kind": "member", "static": false, "variation": null, @@ -13115,7 +13334,7 @@ } }, { - "__docId__": 648, + "__docId__": 654, "kind": "method", "static": false, "variation": null, @@ -13129,7 +13348,7 @@ "generator": false }, { - "__docId__": 649, + "__docId__": 655, "kind": "member", "static": false, "variation": null, @@ -13147,7 +13366,7 @@ } }, { - "__docId__": 650, + "__docId__": 656, "kind": "member", "static": false, "variation": null, @@ -13165,7 +13384,7 @@ } }, { - "__docId__": 651, + "__docId__": 657, "kind": "member", "static": false, "variation": null, @@ -13183,7 +13402,7 @@ } }, { - "__docId__": 652, + "__docId__": 658, "kind": "method", "static": false, "variation": null, @@ -13197,7 +13416,7 @@ "generator": false }, { - "__docId__": 653, + "__docId__": 659, "kind": "method", "static": false, "variation": null, @@ -13222,7 +13441,7 @@ "generator": false }, { - "__docId__": 654, + "__docId__": 660, "kind": "member", "static": false, "variation": null, @@ -13240,7 +13459,7 @@ } }, { - "__docId__": 655, + "__docId__": 661, "kind": "method", "static": false, "variation": null, @@ -13265,7 +13484,7 @@ "generator": false }, { - "__docId__": 656, + "__docId__": 662, "kind": "member", "static": false, "variation": null, @@ -13283,7 +13502,7 @@ } }, { - "__docId__": 657, + "__docId__": 663, "kind": "method", "static": false, "variation": null, @@ -13318,7 +13537,7 @@ "generator": false }, { - "__docId__": 658, + "__docId__": 664, "kind": "member", "static": false, "variation": null, @@ -13336,7 +13555,7 @@ } }, { - "__docId__": 659, + "__docId__": 665, "kind": "method", "static": false, "variation": null, @@ -13361,7 +13580,7 @@ "generator": false }, { - "__docId__": 660, + "__docId__": 666, "kind": "member", "static": false, "variation": null, @@ -13379,7 +13598,7 @@ } }, { - "__docId__": 661, + "__docId__": 667, "kind": "method", "static": false, "variation": null, @@ -13404,7 +13623,7 @@ "generator": false }, { - "__docId__": 662, + "__docId__": 668, "kind": "member", "static": false, "variation": null, @@ -13422,7 +13641,7 @@ } }, { - "__docId__": 663, + "__docId__": 669, "kind": "method", "static": false, "variation": null, @@ -13447,7 +13666,7 @@ "generator": false }, { - "__docId__": 664, + "__docId__": 670, "kind": "member", "static": false, "variation": null, @@ -13465,7 +13684,7 @@ } }, { - "__docId__": 665, + "__docId__": 671, "kind": "method", "static": false, "variation": null, @@ -13479,7 +13698,7 @@ "generator": false }, { - "__docId__": 666, + "__docId__": 672, "kind": "method", "static": false, "variation": null, @@ -13504,7 +13723,7 @@ "generator": false }, { - "__docId__": 667, + "__docId__": 673, "kind": "method", "static": false, "variation": null, @@ -13518,7 +13737,7 @@ "generator": false }, { - "__docId__": 668, + "__docId__": 674, "kind": "method", "static": false, "variation": null, @@ -13532,7 +13751,7 @@ "generator": false }, { - "__docId__": 669, + "__docId__": 675, "kind": "method", "static": false, "variation": null, @@ -13546,7 +13765,7 @@ "generator": false }, { - "__docId__": 670, + "__docId__": 676, "kind": "method", "static": false, "variation": null, @@ -13560,7 +13779,7 @@ "generator": false }, { - "__docId__": 671, + "__docId__": 677, "kind": "member", "static": false, "variation": null, @@ -13578,7 +13797,7 @@ } }, { - "__docId__": 672, + "__docId__": 678, "kind": "method", "static": false, "variation": null, @@ -13592,7 +13811,7 @@ "generator": false }, { - "__docId__": 673, + "__docId__": 679, "kind": "member", "static": false, "variation": null, @@ -13610,7 +13829,7 @@ } }, { - "__docId__": 674, + "__docId__": 680, "kind": "member", "static": false, "variation": null, @@ -13628,7 +13847,7 @@ } }, { - "__docId__": 675, + "__docId__": 681, "kind": "member", "static": false, "variation": null, @@ -13646,7 +13865,7 @@ } }, { - "__docId__": 676, + "__docId__": 682, "kind": "member", "static": false, "variation": null, @@ -13664,7 +13883,7 @@ } }, { - "__docId__": 677, + "__docId__": 683, "kind": "file", "static": true, "variation": null, @@ -13677,7 +13896,7 @@ "content": "import {Feature} from '../feature';\nimport {root} from '../root';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn} from '../types';\n\nexport class StatusBar extends Feature {\n\n /**\n * Status bar UI component\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'statusBar');\n\n // Configuration object\n let f = this.config;\n\n //id of custom container element\n this.statusBarTgtId = f.status_bar_target_id || null;\n //element containing status bar label\n this.statusBarDiv = null;\n //status bar\n this.statusBarSpan = null;\n //status bar label\n this.statusBarSpanText = null;\n //defines status bar text\n this.statusBarText = f.status_bar_text || '';\n //defines css class status bar\n this.statusBarCssClass = f.status_bar_css_class || 'status';\n //delay for status bar clearing\n this.statusBarCloseDelay = 250;\n\n //calls function before message is displayed\n this.onBeforeShowMsg = isFn(f.on_before_show_msg) ?\n f.on_before_show_msg : null;\n //calls function after message is displayed\n this.onAfterShowMsg = isFn(f.on_after_show_msg) ?\n f.on_after_show_msg : null;\n\n //status messages\n this.msgFilter = f.msg_filter || 'Filtering data...';\n //populating drop-downs\n this.msgPopulate = f.msg_populate || 'Populating filter...';\n //populating drop-downs\n this.msgPopulateCheckList = f.msg_populate_checklist ||\n 'Populating list...';\n //changing paging page\n this.msgChangePage = f.msg_change_page || 'Collecting paging data...';\n //clearing filters\n this.msgClear = f.msg_clear || 'Clearing filters...';\n //changing nb results/page\n this.msgChangeResults = f.msg_change_results ||\n 'Changing results per page...';\n //re-setting page\n this.msgResetPage = f.msg_reset_page || 'Re-setting page...';\n //re-setting page length\n this.msgResetPageLength = f.msg_reset_page_length ||\n 'Re-setting page length...';\n //table sorting\n this.msgSort = f.msg_sort || 'Sorting data...';\n //extensions loading\n this.msgLoadExtensions = f.msg_load_extensions ||\n 'Loading extensions...';\n //themes loading\n this.msgLoadThemes = f.msg_load_themes || 'Loading theme(s)...';\n\n // status bar div\n this.prfxStatus = 'status_';\n // status bar label\n this.prfxStatusSpan = 'statusSpan_';\n // text preceding status bar label\n this.prfxStatusTxt = 'statusText_';\n }\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', ['id', this.prfxStatus + tf.id]);\n statusDiv.className = this.statusBarCssClass;\n\n //status bar label\n let statusSpan = createElm('span', ['id', this.prfxStatusSpan + tf.id]);\n //preceding text\n let statusSpanText = createElm('span',\n ['id', this.prfxStatusTxt + tf.id]);\n statusSpanText.appendChild(createText(this.statusBarText));\n\n // target element container\n if (!this.statusBarTgtId) {\n tf.setToolbar();\n }\n let targetEl = (!this.statusBarTgtId) ?\n tf.lDiv : elm(this.statusBarTgtId);\n\n //default container: 'lDiv'\n if (!this.statusBarTgtId) {\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.statusBarDiv = statusDiv;\n this.statusBarSpan = statusSpan;\n this.statusBarSpanText = 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([\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 () => this.message('')\n );\n\n this.initialized = true;\n }\n\n message(t = '') {\n if (!this.isEnabled()) {\n return;\n }\n\n if (this.onBeforeShowMsg) {\n this.onBeforeShowMsg.call(null, this.tf, t);\n }\n\n let d = t === '' ? this.statusBarCloseDelay : 1;\n root.setTimeout(() => {\n if (!this.initialized) {\n return;\n }\n this.statusBarSpan.innerHTML = t;\n if (this.onAfterShowMsg) {\n this.onAfterShowMsg.call(null, this.tf, t);\n }\n }, d);\n }\n\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let emitter = this.emitter;\n\n this.statusBarDiv.innerHTML = '';\n if (!this.statusBarTgtId) {\n removeElm(this.statusBarDiv);\n }\n this.statusBarSpan = null;\n this.statusBarSpanText = null;\n this.statusBarDiv = 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([\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 () => this.message('')\n );\n\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 678, + "__docId__": 684, "kind": "class", "static": true, "variation": null, @@ -13697,7 +13916,7 @@ ] }, { - "__docId__": 679, + "__docId__": 685, "kind": "constructor", "static": false, "variation": null, @@ -13722,7 +13941,7 @@ "generator": false }, { - "__docId__": 680, + "__docId__": 686, "kind": "member", "static": false, "variation": null, @@ -13740,7 +13959,7 @@ } }, { - "__docId__": 681, + "__docId__": 687, "kind": "member", "static": false, "variation": null, @@ -13758,7 +13977,7 @@ } }, { - "__docId__": 682, + "__docId__": 688, "kind": "member", "static": false, "variation": null, @@ -13776,7 +13995,7 @@ } }, { - "__docId__": 683, + "__docId__": 689, "kind": "member", "static": false, "variation": null, @@ -13794,7 +14013,7 @@ } }, { - "__docId__": 684, + "__docId__": 690, "kind": "member", "static": false, "variation": null, @@ -13812,7 +14031,7 @@ } }, { - "__docId__": 685, + "__docId__": 691, "kind": "member", "static": false, "variation": null, @@ -13830,7 +14049,7 @@ } }, { - "__docId__": 686, + "__docId__": 692, "kind": "member", "static": false, "variation": null, @@ -13848,7 +14067,7 @@ } }, { - "__docId__": 687, + "__docId__": 693, "kind": "member", "static": false, "variation": null, @@ -13866,7 +14085,7 @@ } }, { - "__docId__": 688, + "__docId__": 694, "kind": "member", "static": false, "variation": null, @@ -13884,7 +14103,7 @@ } }, { - "__docId__": 689, + "__docId__": 695, "kind": "member", "static": false, "variation": null, @@ -13902,7 +14121,7 @@ } }, { - "__docId__": 690, + "__docId__": 696, "kind": "member", "static": false, "variation": null, @@ -13920,7 +14139,7 @@ } }, { - "__docId__": 691, + "__docId__": 697, "kind": "member", "static": false, "variation": null, @@ -13938,7 +14157,7 @@ } }, { - "__docId__": 692, + "__docId__": 698, "kind": "member", "static": false, "variation": null, @@ -13956,7 +14175,7 @@ } }, { - "__docId__": 693, + "__docId__": 699, "kind": "member", "static": false, "variation": null, @@ -13974,7 +14193,7 @@ } }, { - "__docId__": 694, + "__docId__": 700, "kind": "member", "static": false, "variation": null, @@ -13992,7 +14211,7 @@ } }, { - "__docId__": 695, + "__docId__": 701, "kind": "member", "static": false, "variation": null, @@ -14010,7 +14229,7 @@ } }, { - "__docId__": 696, + "__docId__": 702, "kind": "member", "static": false, "variation": null, @@ -14028,7 +14247,7 @@ } }, { - "__docId__": 697, + "__docId__": 703, "kind": "member", "static": false, "variation": null, @@ -14046,7 +14265,7 @@ } }, { - "__docId__": 698, + "__docId__": 704, "kind": "member", "static": false, "variation": null, @@ -14064,7 +14283,7 @@ } }, { - "__docId__": 699, + "__docId__": 705, "kind": "member", "static": false, "variation": null, @@ -14082,7 +14301,7 @@ } }, { - "__docId__": 700, + "__docId__": 706, "kind": "member", "static": false, "variation": null, @@ -14100,7 +14319,7 @@ } }, { - "__docId__": 701, + "__docId__": 707, "kind": "member", "static": false, "variation": null, @@ -14118,7 +14337,7 @@ } }, { - "__docId__": 702, + "__docId__": 708, "kind": "member", "static": false, "variation": null, @@ -14136,7 +14355,7 @@ } }, { - "__docId__": 703, + "__docId__": 709, "kind": "method", "static": false, "variation": null, @@ -14151,7 +14370,7 @@ "generator": false }, { - "__docId__": 704, + "__docId__": 710, "kind": "member", "static": false, "variation": null, @@ -14169,7 +14388,7 @@ } }, { - "__docId__": 705, + "__docId__": 711, "kind": "member", "static": false, "variation": null, @@ -14187,7 +14406,7 @@ } }, { - "__docId__": 706, + "__docId__": 712, "kind": "member", "static": false, "variation": null, @@ -14205,7 +14424,7 @@ } }, { - "__docId__": 707, + "__docId__": 713, "kind": "member", "static": false, "variation": null, @@ -14223,7 +14442,7 @@ } }, { - "__docId__": 708, + "__docId__": 714, "kind": "method", "static": false, "variation": null, @@ -14248,7 +14467,7 @@ "generator": false }, { - "__docId__": 709, + "__docId__": 715, "kind": "method", "static": false, "variation": null, @@ -14263,7 +14482,7 @@ "generator": false }, { - "__docId__": 710, + "__docId__": 716, "kind": "member", "static": false, "variation": null, @@ -14281,7 +14500,7 @@ } }, { - "__docId__": 711, + "__docId__": 717, "kind": "member", "static": false, "variation": null, @@ -14299,7 +14518,7 @@ } }, { - "__docId__": 712, + "__docId__": 718, "kind": "member", "static": false, "variation": null, @@ -14317,7 +14536,7 @@ } }, { - "__docId__": 713, + "__docId__": 719, "kind": "member", "static": false, "variation": null, @@ -14335,7 +14554,7 @@ } }, { - "__docId__": 714, + "__docId__": 720, "kind": "file", "static": true, "variation": null, @@ -14348,7 +14567,7 @@ "content": "\nimport Cookie from '../cookie';\nimport {root} from '../root';\n\nconst JSON = root.JSON;\nconst localStorage = root.localStorage;\nconst location = root.location;\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 this.state = state;\n this.tf = state.tf;\n this.enableLocalStorage = state.enableLocalStorage && hasStorage();\n this.enableCookie = state.enableCookie && !this.enableLocalStorage;\n this.emitter = state.emitter;\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__": 715, + "__docId__": 721, "kind": "variable", "static": true, "variation": null, @@ -14369,7 +14588,7 @@ } }, { - "__docId__": 716, + "__docId__": 722, "kind": "variable", "static": true, "variation": null, @@ -14390,7 +14609,7 @@ } }, { - "__docId__": 717, + "__docId__": 723, "kind": "variable", "static": true, "variation": null, @@ -14411,7 +14630,7 @@ } }, { - "__docId__": 718, + "__docId__": 724, "kind": "variable", "static": true, "variation": null, @@ -14432,7 +14651,7 @@ } }, { - "__docId__": 719, + "__docId__": 725, "kind": "class", "static": true, "variation": null, @@ -14458,7 +14677,7 @@ "interface": false }, { - "__docId__": 720, + "__docId__": 726, "kind": "constructor", "static": false, "variation": null, @@ -14483,7 +14702,7 @@ "generator": false }, { - "__docId__": 721, + "__docId__": 727, "kind": "member", "static": false, "variation": null, @@ -14501,7 +14720,7 @@ } }, { - "__docId__": 722, + "__docId__": 728, "kind": "member", "static": false, "variation": null, @@ -14519,7 +14738,7 @@ } }, { - "__docId__": 723, + "__docId__": 729, "kind": "member", "static": false, "variation": null, @@ -14537,7 +14756,7 @@ } }, { - "__docId__": 724, + "__docId__": 730, "kind": "member", "static": false, "variation": null, @@ -14555,7 +14774,7 @@ } }, { - "__docId__": 725, + "__docId__": 731, "kind": "member", "static": false, "variation": null, @@ -14573,7 +14792,7 @@ } }, { - "__docId__": 726, + "__docId__": 732, "kind": "member", "static": false, "variation": null, @@ -14591,7 +14810,7 @@ } }, { - "__docId__": 727, + "__docId__": 733, "kind": "method", "static": false, "variation": null, @@ -14605,7 +14824,7 @@ "generator": false }, { - "__docId__": 728, + "__docId__": 734, "kind": "method", "static": false, "variation": null, @@ -14630,7 +14849,7 @@ "generator": false }, { - "__docId__": 729, + "__docId__": 735, "kind": "method", "static": false, "variation": null, @@ -14658,7 +14877,7 @@ "generator": false }, { - "__docId__": 730, + "__docId__": 736, "kind": "method", "static": false, "variation": null, @@ -14672,7 +14891,7 @@ "generator": false }, { - "__docId__": 731, + "__docId__": 737, "kind": "method", "static": false, "variation": null, @@ -14686,7 +14905,7 @@ "generator": false }, { - "__docId__": 732, + "__docId__": 738, "kind": "method", "static": false, "variation": null, @@ -14714,7 +14933,7 @@ "generator": false }, { - "__docId__": 733, + "__docId__": 739, "kind": "method", "static": false, "variation": null, @@ -14728,7 +14947,7 @@ "generator": false }, { - "__docId__": 734, + "__docId__": 740, "kind": "member", "static": false, "variation": null, @@ -14746,7 +14965,7 @@ } }, { - "__docId__": 735, + "__docId__": 741, "kind": "member", "static": false, "variation": null, @@ -14764,7 +14983,7 @@ } }, { - "__docId__": 736, + "__docId__": 742, "kind": "file", "static": true, "variation": null, @@ -14777,7 +14996,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__": 737, + "__docId__": 743, "kind": "variable", "static": true, "variation": null, @@ -14797,7 +15016,7 @@ } }, { - "__docId__": 738, + "__docId__": 744, "kind": "file", "static": true, "variation": null, @@ -14810,7 +15029,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__": 739, + "__docId__": 745, "kind": "variable", "static": true, "variation": null, @@ -14860,7 +15079,7 @@ } }, { - "__docId__": 740, + "__docId__": 746, "kind": "variable", "static": true, "variation": null, @@ -14912,7 +15131,7 @@ } }, { - "__docId__": 741, + "__docId__": 747, "kind": "variable", "static": true, "variation": null, @@ -14964,7 +15183,7 @@ } }, { - "__docId__": 742, + "__docId__": 748, "kind": "file", "static": true, "variation": null, @@ -14977,7 +15196,7 @@ "content": "/**\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 * @return {Boolean}\n */\nexport const contains =\n (term, data, exactMatch = false, caseSensitive = 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 (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__": 743, + "__docId__": 749, "kind": "variable", "static": true, "variation": null, @@ -15017,7 +15236,7 @@ } }, { - "__docId__": 744, + "__docId__": 750, "kind": "variable", "static": true, "variation": null, @@ -15057,7 +15276,7 @@ } }, { - "__docId__": 745, + "__docId__": 751, "kind": "variable", "static": true, "variation": null, @@ -15097,7 +15316,7 @@ } }, { - "__docId__": 746, + "__docId__": 752, "kind": "variable", "static": true, "variation": null, @@ -15137,7 +15356,7 @@ } }, { - "__docId__": 747, + "__docId__": 753, "kind": "variable", "static": true, "variation": null, @@ -15207,7 +15426,7 @@ } }, { - "__docId__": 748, + "__docId__": 754, "kind": "file", "static": true, "variation": null, @@ -15220,7 +15439,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 {isArray, isEmpty, isFn, isNumber, isObj, isString, isUndef}\nfrom './types';\nimport {formatDate, isValidDate} from './date';\nimport {removeNbFormat} from './helpers';\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';\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\n} from './const';\n\nlet doc = root.document;\n\nexport class TableFilter {\n\n /**\n * TableFilter object constructor\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 this.id = null;\n this.version = '{VERSION}';\n this.year = new Date().getFullYear();\n this.tbl = null;\n this.startRow = null;\n this.refRow = null;\n this.headersRow = null;\n this.cfg = {};\n this.nbFilterableRows = 0;\n this.nbCells = null;\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 this.startRow = arg;\n } else if (isObj(arg)) {\n this.cfg = arg;\n }\n });\n\n if (!this.tbl || this.tbl.nodeName !== 'TABLE' ||\n this.getRowsNb() === 0) {\n throw new Error(`Could not instantiate TableFilter: HTML table\n DOM element not found.`);\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 = this.startRow === null ? 2 : (this.startRow + 1);\n try { this.nbCells = this.getCellsNb(this.refRow); }\n catch (e) { this.nbCells = this.getCellsNb(0); }\n\n //default script base path\n this.basePath = f.base_path || 'tablefilter/';\n\n /*** filters' grid properties ***/\n //enables/disables filter grid\n this.fltGrid = f.grid === false ? false : true;\n\n //enables/disables grid layout (fixed headers)\n this.gridLayout = Boolean(f.grid_layout);\n\n this.filtersRowIndex = isNaN(f.filters_row_index) ?\n 0 : f.filters_row_index;\n this.headersRow = isNaN(f.headers_row_index) ?\n (this.filtersRowIndex === 0 ? 1 : 0) : f.headers_row_index;\n\n //defines tag of the cells containing filters (td/th)\n this.fltCellTag = isString(f.filters_cell_tag) ?\n f.filters_cell_tag : CELL_TAG;\n\n //stores filters ids\n this.fltIds = [];\n //stores valid rows indexes (rows visible upon filtering)\n this.validRowsIndex = [];\n //container div for paging elements, reset btn etc.\n this.infDiv = null;\n //div for rows counter\n this.lDiv = null;\n //div for reset button and results per page select\n this.rDiv = null;\n //div for paging elements\n this.mDiv = null;\n\n //defines css class for div containing paging elements, rows counter etc\n this.infDivCssClass = f.inf_div_css_class || 'inf';\n //defines css class for left div\n this.lDivCssClass = f.left_div_css_class || 'ldiv';\n //defines css class for right div\n this.rDivCssClass = f.right_div_css_class || 'rdiv';\n //defines css class for mid div\n this.mDivCssClass = f.middle_div_css_class || 'mdiv';\n //table container div css class\n this.contDivCssClass = f.content_div_css_class || 'cont';\n\n /*** filters' grid appearance ***/\n //stylesheet file\n this.stylePath = f.style_path || this.basePath + 'style/';\n this.stylesheet = f.stylesheet || this.stylePath + 'tablefilter.css';\n this.stylesheetId = this.id + '_style';\n //defines css class for filters row\n this.fltsRowCssClass = f.flts_row_css_class || 'fltrow';\n //enables/disables icons (paging, reset button)\n this.enableIcons = f.enable_icons === false ? false : true;\n //enables/disbles rows alternating bg colors\n this.alternateRows = Boolean(f.alternate_rows);\n //defines widths of columns\n this.hasColWidths = isArray(f.col_widths);\n this.colWidths = this.hasColWidths ? f.col_widths : [];\n //defines css class for filters\n this.fltCssClass = f.flt_css_class || 'flt';\n //defines css class for multiple selects filters\n this.fltMultiCssClass = f.flt_multi_css_class || 'flt_multi';\n //defines css class for filters\n this.fltSmallCssClass = f.flt_small_css_class || 'flt_s';\n //defines css class for single-filter\n this.singleFltCssClass = f.single_flt_css_class || 'single_flt';\n\n /*** filters' grid behaviours ***/\n //enables/disables enter key\n this.enterKey = f.enter_key === false ? false : true;\n //calls function before filtering starts\n this.onBeforeFilter = isFn(f.on_before_filter) ?\n f.on_before_filter : null;\n //calls function after filtering\n this.onAfterFilter = isFn(f.on_after_filter) ? f.on_after_filter : null;\n //enables/disables case sensitivity\n this.caseSensitive = Boolean(f.case_sensitive);\n //has exact match per column\n this.hasExactMatchByCol = isArray(f.columns_exact_match);\n this.exactMatchByCol = this.hasExactMatchByCol ?\n f.columns_exact_match : [];\n //enables/disbles exact match for search\n this.exactMatch = Boolean(f.exact_match);\n //refreshes drop-down lists upon validation\n this.linkedFilters = Boolean(f.linked_filters);\n //wheter excluded options are disabled\n this.disableExcludedOptions = Boolean(f.disable_excluded_options);\n //id of active filter\n this.activeFilterId = null;\n //enables always visible rows\n this.hasVisibleRows = Boolean(f.rows_always_visible);\n //array containing always visible rows\n this.visibleRows = this.hasVisibleRows ? f.rows_always_visible : [];\n //enables/disables external filters generation\n this.isExternalFlt = Boolean(f.external_flt_grid);\n //array containing ids of external elements containing filters\n this.externalFltTgtIds = f.external_flt_grid_ids || [];\n //stores filters elements if isExternalFlt is true\n this.externalFltEls = [];\n //calls function when filters grid loaded\n this.onFiltersLoaded = isFn(f.on_filters_loaded) ?\n f.on_filters_loaded : null;\n //enables/disables single filter search\n this.singleSearchFlt = Boolean(f.single_filter);\n //calls function after row is validated\n this.onRowValidated = isFn(f.on_row_validated) ?\n f.on_row_validated : null;\n //array defining columns for customCellData event\n this.customCellDataCols = f.custom_cell_data_cols ?\n f.custom_cell_data_cols : [];\n //calls custom function for retrieving cell data\n this.customCellData = isFn(f.custom_cell_data) ?\n f.custom_cell_data : null;\n //input watermark text array\n this.watermark = f.watermark || '';\n this.isWatermarkArray = isArray(this.watermark);\n //id of toolbar container element\n this.toolBarTgtId = f.toolbar_target_id || null;\n //enables/disables help div\n this.help = isUndef(f.help_instructions) ?\n undefined : Boolean(f.help_instructions);\n //popup filters\n this.popupFilters = Boolean(f.popup_filters);\n //active columns color\n this.markActiveColumns = Boolean(f.mark_active_columns);\n //defines css class for active column header\n this.activeColumnsCssClass = f.active_columns_css_class ||\n 'activeHeader';\n //calls function before active column header is marked\n this.onBeforeActiveColumn = isFn(f.on_before_active_column) ?\n f.on_before_active_column : null;\n //calls function after active column header is marked\n this.onAfterActiveColumn = isFn(f.on_after_active_column) ?\n f.on_after_active_column : null;\n\n /*** select filter's customisation and behaviours ***/\n //defines 1st option text\n this.displayAllText = f.display_all_text || 'Clear';\n //enables/disables empty option in combo-box filters\n this.enableEmptyOption = Boolean(f.enable_empty_option);\n //defines empty option text\n this.emptyText = f.empty_text || '(Empty)';\n //enables/disables non empty option in combo-box filters\n this.enableNonEmptyOption = Boolean(f.enable_non_empty_option);\n //defines empty option text\n this.nonEmptyText = f.non_empty_text || '(Non empty)';\n //enables/disables onChange event on combo-box\n this.onSlcChange = f.on_change === false ? false : true;\n //enables/disables select options sorting\n this.sortSlc = f.sort_select === false ? false : true;\n //enables/disables ascending numeric options sorting\n this.isSortNumAsc = Boolean(f.sort_num_asc);\n this.sortNumAsc = this.isSortNumAsc ? f.sort_num_asc : [];\n //enables/disables descending numeric options sorting\n this.isSortNumDesc = Boolean(f.sort_num_desc);\n this.sortNumDesc = this.isSortNumDesc ? f.sort_num_desc : [];\n //Select filters are populated on demand\n this.loadFltOnDemand = Boolean(f.load_filters_on_demand);\n this.hasCustomOptions = isObj(f.custom_options);\n this.customOptions = f.custom_options;\n\n /*** Filter operators ***/\n this.rgxOperator = f.regexp_operator || 'rgx:';\n this.emOperator = f.empty_operator || '[empty]';\n this.nmOperator = f.nonempty_operator || '[nonempty]';\n this.orOperator = f.or_operator || '||';\n this.anOperator = f.and_operator || '&&';\n this.grOperator = f.greater_operator || '>';\n this.lwOperator = f.lower_operator || '<';\n this.leOperator = f.lower_equal_operator || '<=';\n this.geOperator = f.greater_equal_operator || '>=';\n this.dfOperator = f.different_operator || '!';\n this.lkOperator = f.like_operator || '*';\n this.eqOperator = f.equal_operator || '=';\n this.stOperator = f.start_with_operator || '{';\n this.enOperator = f.end_with_operator || '}';\n this.curExp = f.cur_exp || '^[¥£€$]';\n this.separator = f.separator || ',';\n\n //show/hides rows counter\n this.rowsCounter = Boolean(f.rows_counter);\n\n //show/hides status bar\n this.statusBar = Boolean(f.status_bar);\n\n //enables/disables loader/spinner indicator\n this.loader = Boolean(f.loader);\n\n /*** validation - reset buttons/links ***/\n //show/hides filter's validation button\n this.displayBtn = Boolean(f.btn);\n //defines validation button text\n this.btnText = f.btn_text || (!this.enableIcons ? 'Go' : '');\n //defines css class for validation button\n this.btnCssClass = f.btn_css_class ||\n (!this.enableIcons ? 'btnflt' : 'btnflt_icon');\n //show/hides reset link\n this.btnReset = Boolean(f.btn_reset);\n //defines css class for reset button\n this.btnResetCssClass = f.btn_reset_css_class || 'reset';\n //callback function before filters are cleared\n this.onBeforeReset = isFn(f.on_before_reset) ?\n f.on_before_reset : null;\n //callback function after filters are cleared\n this.onAfterReset = isFn(f.on_after_reset) ? f.on_after_reset : null;\n\n /*** paging ***/\n //enables/disables table paging\n this.paging = Boolean(f.paging);\n this.nbHiddenRows = 0; //nb hidden rows\n\n /*** autofilter on typing ***/\n //Auto filtering, table is filtered when user stops typing\n this.autoFilter = Boolean(f.auto_filter);\n //onkeyup delay timer (msecs)\n this.autoFilterDelay = !isNaN(f.auto_filter_delay) ?\n f.auto_filter_delay : AUTO_FILTER_DELAY;\n //typing indicator\n this.isUserTyping = null;\n this.autoFilterTimer = null;\n\n /*** keyword highlighting ***/\n //enables/disables keyword highlighting\n this.highlightKeywords = Boolean(f.highlight_keywords);\n\n /*** No results feature ***/\n this.noResults = isObj(f.no_results_message) ||\n Boolean(f.no_results_message);\n\n // state persisstence\n this.state = isObj(f.state) || Boolean(f.state);\n\n /*** data types ***/\n //defines default date type (european DMY)\n this.defaultDateType = f.default_date_type || 'DMY';\n //defines default thousands separator US = ',' EU = '.'\n this.thousandsSeparator = f.thousands_separator || ',';\n //defines default decimal separator\n //US & javascript = '.' EU = ','\n this.decimalSeparator = f.decimal_separator || '.';\n //enables number format per column\n this.hasColNbFormat = isArray(f.col_number_format);\n //array containing columns nb formats\n this.colNbFormat = this.hasColNbFormat ? f.col_number_format : null;\n //enables date type per column\n this.hasColDateType = isArray(f.col_date_type);\n //array containing columns date type\n this.colDateType = this.hasColDateType ? f.col_date_type : null;\n\n /*** ids prefixes ***/\n //css class name added to table\n this.prfxTf = 'TF';\n //filters (inputs - selects)\n this.prfxFlt = 'flt';\n //validation button\n this.prfxValButton = 'btn';\n //container div for paging elements, rows counter etc.\n this.prfxInfDiv = 'inf_';\n //left div\n this.prfxLDiv = 'ldiv_';\n //right div\n this.prfxRDiv = 'rdiv_';\n //middle div\n this.prfxMDiv = 'mdiv_';\n //responsive table css class\n this.prfxResponsive = 'resp';\n\n /*** extensions ***/\n //imports external script\n this.extensions = f.extensions;\n this.hasExtensions = isArray(this.extensions);\n\n /*** themes ***/\n this.enableDefaultTheme = Boolean(f.enable_default_theme);\n //imports themes\n this.hasThemes = (this.enableDefaultTheme || isArray(f.themes));\n this.themes = f.themes || [];\n //themes path\n this.themesPath = f.themes_path || this.stylePath + 'themes/';\n\n //responsive table\n this.responsive = Boolean(f.responsive);\n\n // Features registry\n this.Mod = {};\n\n // Extensions registry\n this.ExtRegistry = {};\n }\n\n /**\n * Initialise features and layout\n */\n init() {\n if (this.initialized) {\n return;\n }\n\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 // Instantiate help feature and initialise only if set true\n if (!Mod.help) {\n Mod.help = new Help(this);\n }\n if (this.help) {\n Mod.help.init();\n }\n\n if (this.state) {\n if (!Mod.state) {\n Mod.state = new State(this);\n }\n Mod.state.init();\n }\n\n if (this.gridLayout) {\n if (!Mod.gridLayout) {\n Mod.gridLayout = new GridLayout(this);\n }\n Mod.gridLayout.init();\n }\n\n if (this.loader) {\n if (!Mod.loader) {\n Mod.loader = new Loader(this);\n }\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 if (!Mod.popupFilter) {\n Mod.popupFilter = new PopupFilter(this);\n }\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 if (!Mod.noResults) {\n Mod.noResults = new NoResults(this);\n }\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 this.initialized = true;\n\n if (this.onFiltersLoaded) {\n this.onFiltersLoaded.call(null, 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 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.prfxFlt + colIndex + '_' + this.id],\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 this.externalFltEls.push(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 ['id', this.prfxValButton + colIndex + '_' + this.id],\n ['type', 'button'], ['value', this.btnText]);\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 //Some elements need to be overriden for default theme\n //Reset button\n this.btnResetText = null;\n this.btnResetHtml = '';\n\n //Paging buttons\n this.btnPrevPageHtml = '';\n this.btnNextPageHtml = '';\n this.btnFirstPageHtml = '';\n this.btnLastPageHtml = '';\n\n //Loader\n this.loader = true;\n this.loaderHtml = '
';\n this.loaderText = null;\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 Mod = this.Mod;\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 // Destroy modules\n // TODO: subcribe modules to destroy event instead\n Object.keys(Mod).forEach(function (key) {\n let feature = Mod[key];\n if (feature && isFn(feature.destroy)) {\n feature.destroy();\n }\n });\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', ['id', this.prfxInfDiv + this.id]);\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 = elm(this.prfxInfDiv + this.id);\n\n /*** left div containing rows # displayer ***/\n let ldiv = createElm('div', ['id', this.prfxLDiv + this.id]);\n ldiv.className = this.lDivCssClass;\n infdiv.appendChild(ldiv);\n this.lDiv = elm(this.prfxLDiv + this.id);\n\n /*** right div containing reset button\n + nb results per page select ***/\n let rdiv = createElm('div', ['id', this.prfxRDiv + this.id]);\n rdiv.className = this.rDivCssClass;\n infdiv.appendChild(rdiv);\n this.rDiv = elm(this.prfxRDiv + this.id);\n\n /*** mid div containing paging elements ***/\n let mdiv = createElm('div', ['id', this.prfxMDiv + this.id]);\n mdiv.className = this.mDivCssClass;\n infdiv.appendChild(mdiv);\n this.mDiv = elm(this.prfxMDiv + this.id);\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 //invoke onbefore callback\n if (this.onBeforeFilter) {\n this.onBeforeFilter.call(null, this);\n }\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 let numCellData;\n let nbFormat;\n let re_le = new RegExp(this.leOperator),\n re_ge = new RegExp(this.geOperator),\n re_l = new RegExp(this.lwOperator),\n re_g = new RegExp(this.grOperator),\n re_d = new RegExp(this.dfOperator),\n re_lk = new RegExp(rgxEsc(this.lkOperator)),\n re_eq = new RegExp(this.eqOperator),\n re_st = new RegExp(this.stOperator),\n re_en = new RegExp(this.enOperator),\n // re_an = new RegExp(this.anOperator),\n // re_cr = new RegExp(this.curExp),\n re_em = this.emOperator,\n re_nm = this.nmOperator,\n re_re = new RegExp(rgxEsc(this.rgxOperator));\n\n //keyword highlighting\n function highlight(str, ok, cell) {\n /*jshint validthis:true */\n if (this.highlightKeywords && ok) {\n str = str.replace(re_lk, '');\n str = str.replace(re_eq, '');\n str = str.replace(re_st, '');\n str = str.replace(re_en, '');\n let w = str;\n if (re_le.test(str) || re_ge.test(str) || re_l.test(str) ||\n re_g.test(str) || re_d.test(str)) {\n w = getText(cell);\n }\n if (w !== '') {\n this.emitter.emit('highlight-keyword', this, cell, w);\n }\n }\n }\n\n //looks for search argument in current row\n function hasArg(sA, cellData, j) {\n sA = matchCase(sA, this.caseSensitive);\n\n let occurence;\n let dtType = this.hasColDateType ?\n this.colDateType[j] : this.defaultDateType;\n\n //Search arg operator tests\n let hasLO = re_l.test(sA),\n hasLE = re_le.test(sA),\n hasGR = re_g.test(sA),\n hasGE = re_ge.test(sA),\n hasDF = re_d.test(sA),\n hasEQ = re_eq.test(sA),\n hasLK = re_lk.test(sA),\n // hasAN = re_an.test(sA),\n hasST = re_st.test(sA),\n hasEN = re_en.test(sA),\n hasEM = (re_em === sA),\n hasNM = (re_nm === sA),\n hasRE = re_re.test(sA);\n\n //Search arg dates tests\n let isLDate = hasLO && isValidDate(sA.replace(re_l, ''), dtType);\n let isLEDate = hasLE && isValidDate(sA.replace(re_le, ''), dtType);\n let isGDate = hasGR && isValidDate(sA.replace(re_g, ''), dtType);\n let isGEDate = hasGE && isValidDate(sA.replace(re_ge, ''), dtType);\n let isDFDate = hasDF && isValidDate(sA.replace(re_d, ''), dtType);\n let isEQDate = hasEQ && isValidDate(sA.replace(re_eq, ''), dtType);\n\n let dte1, dte2;\n //dates\n if (isValidDate(cellData, dtType)) {\n dte1 = formatDate(cellData, dtType);\n // lower date\n if (isLDate) {\n dte2 = formatDate(sA.replace(re_l, ''), dtType);\n occurence = dte1 < dte2;\n }\n // lower equal date\n else if (isLEDate) {\n dte2 = formatDate(sA.replace(re_le, ''), dtType);\n occurence = dte1 <= dte2;\n }\n // greater equal date\n else if (isGEDate) {\n dte2 = formatDate(sA.replace(re_ge, ''), dtType);\n occurence = dte1 >= dte2;\n }\n // greater date\n else if (isGDate) {\n dte2 = formatDate(sA.replace(re_g, ''), dtType);\n occurence = dte1 > dte2;\n }\n // different date\n else if (isDFDate) {\n dte2 = formatDate(sA.replace(re_d, ''), dtType);\n occurence = dte1.toString() !== dte2.toString();\n }\n // equal date\n else if (isEQDate) {\n dte2 = formatDate(sA.replace(re_eq, ''), dtType);\n occurence = dte1.toString() === dte2.toString();\n }\n // searched keyword with * operator doesn't have to be a date\n else if (re_lk.test(sA)) {// like date\n occurence = contains(sA.replace(re_lk, ''), cellData,\n false, this.caseSensitive);\n }\n else if (isValidDate(sA, dtType)) {\n dte2 = formatDate(sA, dtType);\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(sA, cellData, this.isExactMatch(j),\n this.caseSensitive);\n }\n }\n\n else {\n //first numbers need to be formated\n if (this.hasColNbFormat && this.colNbFormat[j]) {\n numCellData = removeNbFormat(cellData, this.colNbFormat[j]);\n nbFormat = this.colNbFormat[j];\n } else {\n if (this.thousandsSeparator === ',' &&\n this.decimalSeparator === '.') {\n numCellData = removeNbFormat(cellData, 'us');\n nbFormat = 'us';\n } else {\n numCellData = removeNbFormat(cellData, 'eu');\n nbFormat = 'eu';\n }\n }\n\n // first checks if there is any operator (<,>,<=,>=,!,*,=,{,},\n // rgx:)\n // lower equal\n if (hasLE) {\n occurence = numCellData <= removeNbFormat(\n sA.replace(re_le, ''), nbFormat);\n }\n //greater equal\n else if (hasGE) {\n occurence = numCellData >= removeNbFormat(\n sA.replace(re_ge, ''), nbFormat);\n }\n //lower\n else if (hasLO) {\n occurence = numCellData < removeNbFormat(\n sA.replace(re_l, ''), nbFormat);\n }\n //greater\n else if (hasGR) {\n occurence = numCellData > removeNbFormat(\n sA.replace(re_g, ''), nbFormat);\n }\n //different\n else if (hasDF) {\n occurence = contains(sA.replace(re_d, ''), cellData,\n false, this.caseSensitive) ? false : true;\n }\n //like\n else if (hasLK) {\n occurence = contains(sA.replace(re_lk, ''), cellData,\n false, this.caseSensitive);\n }\n //equal\n else if (hasEQ) {\n occurence = contains(sA.replace(re_eq, ''), cellData,\n true, this.caseSensitive);\n }\n //starts with\n else if (hasST) {\n occurence = cellData.indexOf(sA.replace(re_st, '')) === 0 ?\n true : false;\n }\n //ends with\n else if (hasEN) {\n let searchArg = sA.replace(re_en, '');\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 fires an exception\n try {\n //operator is removed\n let srchArg = sA.replace(re_re, '');\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 (numCellData && this.hasColNbFormat &&\n this.colNbFormat[j] && !this.singleSearchFlt) {\n sA = removeNbFormat(sA, nbFormat);\n occurence = numCellData === sA ||\n contains(sA.toString(), numCellData.toString(),\n this.isExactMatch(j), this.caseSensitive);\n } else {\n // Finally test search term is contained in cell data\n occurence = contains(sA, cellData, this.isExactMatch(j),\n this.caseSensitive);\n }\n }\n\n }//else\n return occurence;\n }//fn\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 // TODO: improve clarity/readability of this block\n for (let w = 0, len = s.length; w < len; w++) {\n cS = trim(s[w]);\n occur = hasArg.call(this, cS, cellData, j);\n highlight.call(this, cS, occur, cells[j]);\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] = hasArg.call(this, trim(sA), cellData, j);\n highlight.call(this, sA, occurence[j], cells[j]);\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 if (!isRowValid) {\n this.validateRow(k, false);\n hiddenRows++;\n } else {\n this.validateRow(k, true);\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 //invokes onafterfilter callback\n if (this.onAfterFilter) {\n this.onAfterFilter.call(null, this);\n }\n\n this.emitter.emit('after-filtering', this, searchArgs);\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 nbFormat = this.colNbFormat ?\n this.colNbFormat[colIndex] : undefined,\n data = num ? removeNbFormat(cellData, nbFormat) :\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];\n return tr.cells.length;\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 //Check for customCellData callback\n if (this.customCellData &&\n this.customCellDataCols.indexOf(idx) !== -1) {\n return this.customCellData.call(null, 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 if (this.onRowValidated) {\n this.onRowValidated.call(null, this, rowIndex);\n }\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.isExternalFlt);\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', ['id', this.id + '_col_' + k]);\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\n if (this.onBeforeReset) {\n this.onBeforeReset.call(null, 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 if (this.onAfterReset) {\n this.onAfterReset.call(null, this);\n }\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 if (this.onBeforeActiveColumn) {\n this.onBeforeActiveColumn.call(null, this, colIndex);\n }\n addClass(header, this.activeColumnsCssClass);\n if (this.onAfterActiveColumn) {\n this.onAfterActiveColumn.call(null, this, colIndex);\n }\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 * 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 curSlc = elm(this.fltIds[slcIndex[i]]);\n let slcSelectedValue = this.getFilterValue(slcIndex[i]);\n\n // Welcome to cyclomatic complexity hell :)\n // TODO: simplify/refactor if statement\n if (activeIdx !== slcIndex[i] ||\n (this.paging && slcA1.indexOf(slcIndex[i]) !== -1 &&\n activeIdx === slcIndex[i]) ||\n (!this.paging && (slcA3.indexOf(slcIndex[i]) !== -1 ||\n slcA2.indexOf(slcIndex[i]) !== -1)) ||\n slcSelectedValue === this.displayAllText) {\n\n //1st option needs to be inserted\n if (this.loadFltOnDemand) {\n let opt0 = createOpt(this.displayAllText, '');\n curSlc.innerHTML = '';\n curSlc.appendChild(opt0);\n }\n\n if (slcA3.indexOf(slcIndex[i]) !== -1) {\n this.emitter.emit('build-checklist-filter', this,\n slcIndex[i]);\n } else {\n this.emitter.emit('build-select-filter', this, slcIndex[i],\n true);\n }\n\n this.setFilterValue(slcIndex[i], slcSelectedValue);\n }\n }\n }\n\n /**\n * Determines if passed filter column implements exact query match\n * @param {Number} colIndex [description]\n * @return {Boolean} [description]\n */\n isExactMatch(colIndex) {\n let fltType = this.getFilterType(colIndex);\n return this.exactMatchByCol[colIndex] || this.exactMatch ||\n fltType !== INPUT;\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 * 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__": 749, + "__docId__": 755, "kind": "variable", "static": true, "variation": null, @@ -15241,7 +15460,7 @@ } }, { - "__docId__": 750, + "__docId__": 756, "kind": "class", "static": true, "variation": null, @@ -15258,7 +15477,7 @@ "interface": false }, { - "__docId__": 751, + "__docId__": 757, "kind": "constructor", "static": false, "variation": null, @@ -15313,7 +15532,7 @@ "generator": false }, { - "__docId__": 752, + "__docId__": 758, "kind": "member", "static": false, "variation": null, @@ -15331,7 +15550,7 @@ } }, { - "__docId__": 753, + "__docId__": 759, "kind": "member", "static": false, "variation": null, @@ -15349,7 +15568,7 @@ } }, { - "__docId__": 754, + "__docId__": 760, "kind": "member", "static": false, "variation": null, @@ -15367,7 +15586,7 @@ } }, { - "__docId__": 755, + "__docId__": 761, "kind": "member", "static": false, "variation": null, @@ -15385,7 +15604,7 @@ } }, { - "__docId__": 756, + "__docId__": 762, "kind": "member", "static": false, "variation": null, @@ -15403,7 +15622,7 @@ } }, { - "__docId__": 757, + "__docId__": 763, "kind": "member", "static": false, "variation": null, @@ -15421,7 +15640,7 @@ } }, { - "__docId__": 758, + "__docId__": 764, "kind": "member", "static": false, "variation": null, @@ -15439,7 +15658,7 @@ } }, { - "__docId__": 759, + "__docId__": 765, "kind": "member", "static": false, "variation": null, @@ -15457,7 +15676,7 @@ } }, { - "__docId__": 760, + "__docId__": 766, "kind": "member", "static": false, "variation": null, @@ -15475,7 +15694,7 @@ } }, { - "__docId__": 761, + "__docId__": 767, "kind": "member", "static": false, "variation": null, @@ -15493,7 +15712,7 @@ } }, { - "__docId__": 762, + "__docId__": 768, "kind": "member", "static": false, "variation": null, @@ -15511,7 +15730,7 @@ } }, { - "__docId__": 763, + "__docId__": 769, "kind": "member", "static": false, "variation": null, @@ -15529,7 +15748,7 @@ } }, { - "__docId__": 764, + "__docId__": 770, "kind": "member", "static": false, "variation": null, @@ -15547,7 +15766,7 @@ } }, { - "__docId__": 765, + "__docId__": 771, "kind": "member", "static": false, "variation": null, @@ -15565,7 +15784,7 @@ } }, { - "__docId__": 766, + "__docId__": 772, "kind": "member", "static": false, "variation": null, @@ -15583,7 +15802,7 @@ } }, { - "__docId__": 767, + "__docId__": 773, "kind": "member", "static": false, "variation": null, @@ -15601,7 +15820,7 @@ } }, { - "__docId__": 768, + "__docId__": 774, "kind": "member", "static": false, "variation": null, @@ -15621,7 +15840,7 @@ } }, { - "__docId__": 769, + "__docId__": 775, "kind": "member", "static": false, "variation": null, @@ -15639,7 +15858,7 @@ } }, { - "__docId__": 770, + "__docId__": 776, "kind": "member", "static": false, "variation": null, @@ -15657,7 +15876,7 @@ } }, { - "__docId__": 771, + "__docId__": 777, "kind": "member", "static": false, "variation": null, @@ -15675,7 +15894,7 @@ } }, { - "__docId__": 772, + "__docId__": 778, "kind": "member", "static": false, "variation": null, @@ -15693,7 +15912,7 @@ } }, { - "__docId__": 773, + "__docId__": 779, "kind": "member", "static": false, "variation": null, @@ -15710,7 +15929,7 @@ } }, { - "__docId__": 774, + "__docId__": 780, "kind": "member", "static": false, "variation": null, @@ -15728,7 +15947,7 @@ } }, { - "__docId__": 775, + "__docId__": 781, "kind": "member", "static": false, "variation": null, @@ -15746,7 +15965,7 @@ } }, { - "__docId__": 776, + "__docId__": 782, "kind": "member", "static": false, "variation": null, @@ -15764,7 +15983,7 @@ } }, { - "__docId__": 777, + "__docId__": 783, "kind": "member", "static": false, "variation": null, @@ -15782,7 +16001,7 @@ } }, { - "__docId__": 778, + "__docId__": 784, "kind": "member", "static": false, "variation": null, @@ -15800,7 +16019,7 @@ } }, { - "__docId__": 779, + "__docId__": 785, "kind": "member", "static": false, "variation": null, @@ -15818,7 +16037,7 @@ } }, { - "__docId__": 780, + "__docId__": 786, "kind": "member", "static": false, "variation": null, @@ -15836,7 +16055,7 @@ } }, { - "__docId__": 781, + "__docId__": 787, "kind": "member", "static": false, "variation": null, @@ -15854,7 +16073,7 @@ } }, { - "__docId__": 782, + "__docId__": 788, "kind": "member", "static": false, "variation": null, @@ -15872,7 +16091,7 @@ } }, { - "__docId__": 783, + "__docId__": 789, "kind": "member", "static": false, "variation": null, @@ -15890,7 +16109,7 @@ } }, { - "__docId__": 784, + "__docId__": 790, "kind": "member", "static": false, "variation": null, @@ -15908,7 +16127,7 @@ } }, { - "__docId__": 785, + "__docId__": 791, "kind": "member", "static": false, "variation": null, @@ -15926,7 +16145,7 @@ } }, { - "__docId__": 786, + "__docId__": 792, "kind": "member", "static": false, "variation": null, @@ -15944,7 +16163,7 @@ } }, { - "__docId__": 787, + "__docId__": 793, "kind": "member", "static": false, "variation": null, @@ -15962,7 +16181,7 @@ } }, { - "__docId__": 788, + "__docId__": 794, "kind": "member", "static": false, "variation": null, @@ -15980,7 +16199,7 @@ } }, { - "__docId__": 789, + "__docId__": 795, "kind": "member", "static": false, "variation": null, @@ -15997,7 +16216,7 @@ } }, { - "__docId__": 790, + "__docId__": 796, "kind": "member", "static": false, "variation": null, @@ -16015,7 +16234,7 @@ } }, { - "__docId__": 791, + "__docId__": 797, "kind": "member", "static": false, "variation": null, @@ -16033,7 +16252,7 @@ } }, { - "__docId__": 792, + "__docId__": 798, "kind": "member", "static": false, "variation": null, @@ -16051,7 +16270,7 @@ } }, { - "__docId__": 793, + "__docId__": 799, "kind": "member", "static": false, "variation": null, @@ -16069,7 +16288,7 @@ } }, { - "__docId__": 794, + "__docId__": 800, "kind": "member", "static": false, "variation": null, @@ -16087,7 +16306,7 @@ } }, { - "__docId__": 795, + "__docId__": 801, "kind": "member", "static": false, "variation": null, @@ -16105,7 +16324,7 @@ } }, { - "__docId__": 796, + "__docId__": 802, "kind": "member", "static": false, "variation": null, @@ -16123,7 +16342,7 @@ } }, { - "__docId__": 797, + "__docId__": 803, "kind": "member", "static": false, "variation": null, @@ -16141,7 +16360,7 @@ } }, { - "__docId__": 798, + "__docId__": 804, "kind": "member", "static": false, "variation": null, @@ -16159,7 +16378,7 @@ } }, { - "__docId__": 799, + "__docId__": 805, "kind": "member", "static": false, "variation": null, @@ -16177,7 +16396,7 @@ } }, { - "__docId__": 800, + "__docId__": 806, "kind": "member", "static": false, "variation": null, @@ -16195,7 +16414,7 @@ } }, { - "__docId__": 801, + "__docId__": 807, "kind": "member", "static": false, "variation": null, @@ -16212,7 +16431,7 @@ } }, { - "__docId__": 802, + "__docId__": 808, "kind": "member", "static": false, "variation": null, @@ -16230,7 +16449,7 @@ } }, { - "__docId__": 803, + "__docId__": 809, "kind": "member", "static": false, "variation": null, @@ -16248,7 +16467,7 @@ } }, { - "__docId__": 804, + "__docId__": 810, "kind": "member", "static": false, "variation": null, @@ -16266,7 +16485,7 @@ } }, { - "__docId__": 805, + "__docId__": 811, "kind": "member", "static": false, "variation": null, @@ -16284,7 +16503,7 @@ } }, { - "__docId__": 806, + "__docId__": 812, "kind": "member", "static": false, "variation": null, @@ -16302,7 +16521,7 @@ } }, { - "__docId__": 807, + "__docId__": 813, "kind": "member", "static": false, "variation": null, @@ -16320,7 +16539,7 @@ } }, { - "__docId__": 808, + "__docId__": 814, "kind": "member", "static": false, "variation": null, @@ -16338,7 +16557,7 @@ } }, { - "__docId__": 809, + "__docId__": 815, "kind": "member", "static": false, "variation": null, @@ -16356,7 +16575,7 @@ } }, { - "__docId__": 810, + "__docId__": 816, "kind": "member", "static": false, "variation": null, @@ -16374,7 +16593,7 @@ } }, { - "__docId__": 811, + "__docId__": 817, "kind": "member", "static": false, "variation": null, @@ -16392,7 +16611,7 @@ } }, { - "__docId__": 812, + "__docId__": 818, "kind": "member", "static": false, "variation": null, @@ -16410,7 +16629,7 @@ } }, { - "__docId__": 813, + "__docId__": 819, "kind": "member", "static": false, "variation": null, @@ -16428,7 +16647,7 @@ } }, { - "__docId__": 814, + "__docId__": 820, "kind": "member", "static": false, "variation": null, @@ -16446,7 +16665,7 @@ } }, { - "__docId__": 815, + "__docId__": 821, "kind": "member", "static": false, "variation": null, @@ -16464,7 +16683,7 @@ } }, { - "__docId__": 816, + "__docId__": 822, "kind": "member", "static": false, "variation": null, @@ -16482,7 +16701,7 @@ } }, { - "__docId__": 817, + "__docId__": 823, "kind": "member", "static": false, "variation": null, @@ -16500,7 +16719,7 @@ } }, { - "__docId__": 818, + "__docId__": 824, "kind": "member", "static": false, "variation": null, @@ -16518,7 +16737,7 @@ } }, { - "__docId__": 819, + "__docId__": 825, "kind": "member", "static": false, "variation": null, @@ -16536,7 +16755,7 @@ } }, { - "__docId__": 820, + "__docId__": 826, "kind": "member", "static": false, "variation": null, @@ -16554,7 +16773,7 @@ } }, { - "__docId__": 821, + "__docId__": 827, "kind": "member", "static": false, "variation": null, @@ -16572,7 +16791,7 @@ } }, { - "__docId__": 822, + "__docId__": 828, "kind": "member", "static": false, "variation": null, @@ -16590,7 +16809,7 @@ } }, { - "__docId__": 823, + "__docId__": 829, "kind": "member", "static": false, "variation": null, @@ -16608,7 +16827,7 @@ } }, { - "__docId__": 824, + "__docId__": 830, "kind": "member", "static": false, "variation": null, @@ -16626,7 +16845,7 @@ } }, { - "__docId__": 825, + "__docId__": 831, "kind": "member", "static": false, "variation": null, @@ -16644,7 +16863,7 @@ } }, { - "__docId__": 826, + "__docId__": 832, "kind": "member", "static": false, "variation": null, @@ -16662,7 +16881,7 @@ } }, { - "__docId__": 827, + "__docId__": 833, "kind": "member", "static": false, "variation": null, @@ -16680,7 +16899,7 @@ } }, { - "__docId__": 828, + "__docId__": 834, "kind": "member", "static": false, "variation": null, @@ -16698,7 +16917,7 @@ } }, { - "__docId__": 829, + "__docId__": 835, "kind": "member", "static": false, "variation": null, @@ -16716,7 +16935,7 @@ } }, { - "__docId__": 830, + "__docId__": 836, "kind": "member", "static": false, "variation": null, @@ -16733,7 +16952,7 @@ } }, { - "__docId__": 831, + "__docId__": 837, "kind": "member", "static": false, "variation": null, @@ -16751,7 +16970,7 @@ } }, { - "__docId__": 832, + "__docId__": 838, "kind": "member", "static": false, "variation": null, @@ -16769,7 +16988,7 @@ } }, { - "__docId__": 833, + "__docId__": 839, "kind": "member", "static": false, "variation": null, @@ -16787,7 +17006,7 @@ } }, { - "__docId__": 834, + "__docId__": 840, "kind": "member", "static": false, "variation": null, @@ -16805,7 +17024,7 @@ } }, { - "__docId__": 835, + "__docId__": 841, "kind": "member", "static": false, "variation": null, @@ -16823,7 +17042,7 @@ } }, { - "__docId__": 836, + "__docId__": 842, "kind": "member", "static": false, "variation": null, @@ -16841,7 +17060,7 @@ } }, { - "__docId__": 837, + "__docId__": 843, "kind": "member", "static": false, "variation": null, @@ -16859,7 +17078,7 @@ } }, { - "__docId__": 838, + "__docId__": 844, "kind": "member", "static": false, "variation": null, @@ -16877,7 +17096,7 @@ } }, { - "__docId__": 839, + "__docId__": 845, "kind": "member", "static": false, "variation": null, @@ -16895,7 +17114,7 @@ } }, { - "__docId__": 840, + "__docId__": 846, "kind": "member", "static": false, "variation": null, @@ -16913,7 +17132,7 @@ } }, { - "__docId__": 841, + "__docId__": 847, "kind": "member", "static": false, "variation": null, @@ -16931,7 +17150,7 @@ } }, { - "__docId__": 842, + "__docId__": 848, "kind": "member", "static": false, "variation": null, @@ -16949,7 +17168,7 @@ } }, { - "__docId__": 843, + "__docId__": 849, "kind": "member", "static": false, "variation": null, @@ -16967,7 +17186,7 @@ } }, { - "__docId__": 844, + "__docId__": 850, "kind": "member", "static": false, "variation": null, @@ -16984,7 +17203,7 @@ } }, { - "__docId__": 845, + "__docId__": 851, "kind": "member", "static": false, "variation": null, @@ -17002,7 +17221,7 @@ } }, { - "__docId__": 846, + "__docId__": 852, "kind": "member", "static": false, "variation": null, @@ -17020,7 +17239,7 @@ } }, { - "__docId__": 847, + "__docId__": 853, "kind": "member", "static": false, "variation": null, @@ -17038,7 +17257,7 @@ } }, { - "__docId__": 848, + "__docId__": 854, "kind": "member", "static": false, "variation": null, @@ -17056,7 +17275,7 @@ } }, { - "__docId__": 849, + "__docId__": 855, "kind": "member", "static": false, "variation": null, @@ -17074,7 +17293,7 @@ } }, { - "__docId__": 850, + "__docId__": 856, "kind": "member", "static": false, "variation": null, @@ -17092,7 +17311,7 @@ } }, { - "__docId__": 851, + "__docId__": 857, "kind": "member", "static": false, "variation": null, @@ -17110,7 +17329,7 @@ } }, { - "__docId__": 852, + "__docId__": 858, "kind": "member", "static": false, "variation": null, @@ -17128,7 +17347,7 @@ } }, { - "__docId__": 853, + "__docId__": 859, "kind": "member", "static": false, "variation": null, @@ -17146,7 +17365,7 @@ } }, { - "__docId__": 854, + "__docId__": 860, "kind": "member", "static": false, "variation": null, @@ -17164,7 +17383,7 @@ } }, { - "__docId__": 855, + "__docId__": 861, "kind": "member", "static": false, "variation": null, @@ -17182,7 +17401,7 @@ } }, { - "__docId__": 856, + "__docId__": 862, "kind": "member", "static": false, "variation": null, @@ -17200,7 +17419,7 @@ } }, { - "__docId__": 857, + "__docId__": 863, "kind": "member", "static": false, "variation": null, @@ -17218,7 +17437,7 @@ } }, { - "__docId__": 858, + "__docId__": 864, "kind": "member", "static": false, "variation": null, @@ -17236,7 +17455,7 @@ } }, { - "__docId__": 859, + "__docId__": 865, "kind": "member", "static": false, "variation": null, @@ -17254,7 +17473,7 @@ } }, { - "__docId__": 860, + "__docId__": 866, "kind": "member", "static": false, "variation": null, @@ -17272,7 +17491,7 @@ } }, { - "__docId__": 861, + "__docId__": 867, "kind": "member", "static": false, "variation": null, @@ -17290,7 +17509,7 @@ } }, { - "__docId__": 862, + "__docId__": 868, "kind": "member", "static": false, "variation": null, @@ -17308,7 +17527,7 @@ } }, { - "__docId__": 863, + "__docId__": 869, "kind": "member", "static": false, "variation": null, @@ -17325,7 +17544,7 @@ } }, { - "__docId__": 864, + "__docId__": 870, "kind": "member", "static": false, "variation": null, @@ -17343,7 +17562,7 @@ } }, { - "__docId__": 865, + "__docId__": 871, "kind": "member", "static": false, "variation": null, @@ -17361,7 +17580,7 @@ } }, { - "__docId__": 866, + "__docId__": 872, "kind": "member", "static": false, "variation": null, @@ -17379,7 +17598,7 @@ } }, { - "__docId__": 867, + "__docId__": 873, "kind": "member", "static": false, "variation": null, @@ -17397,7 +17616,7 @@ } }, { - "__docId__": 868, + "__docId__": 874, "kind": "member", "static": false, "variation": null, @@ -17415,7 +17634,7 @@ } }, { - "__docId__": 869, + "__docId__": 875, "kind": "member", "static": false, "variation": null, @@ -17433,7 +17652,7 @@ } }, { - "__docId__": 870, + "__docId__": 876, "kind": "member", "static": false, "variation": null, @@ -17450,7 +17669,7 @@ } }, { - "__docId__": 871, + "__docId__": 877, "kind": "member", "static": false, "variation": null, @@ -17468,7 +17687,7 @@ } }, { - "__docId__": 872, + "__docId__": 878, "kind": "member", "static": false, "variation": null, @@ -17485,7 +17704,7 @@ } }, { - "__docId__": 873, + "__docId__": 879, "kind": "member", "static": false, "variation": null, @@ -17503,7 +17722,7 @@ } }, { - "__docId__": 874, + "__docId__": 880, "kind": "member", "static": false, "variation": null, @@ -17521,7 +17740,7 @@ } }, { - "__docId__": 875, + "__docId__": 881, "kind": "member", "static": false, "variation": null, @@ -17539,7 +17758,7 @@ } }, { - "__docId__": 876, + "__docId__": 882, "kind": "member", "static": false, "variation": null, @@ -17556,7 +17775,7 @@ } }, { - "__docId__": 877, + "__docId__": 883, "kind": "member", "static": false, "variation": null, @@ -17573,7 +17792,7 @@ } }, { - "__docId__": 878, + "__docId__": 884, "kind": "member", "static": false, "variation": null, @@ -17591,7 +17810,7 @@ } }, { - "__docId__": 879, + "__docId__": 885, "kind": "member", "static": false, "variation": null, @@ -17608,7 +17827,7 @@ } }, { - "__docId__": 880, + "__docId__": 886, "kind": "member", "static": false, "variation": null, @@ -17626,7 +17845,7 @@ } }, { - "__docId__": 881, + "__docId__": 887, "kind": "member", "static": false, "variation": null, @@ -17644,7 +17863,7 @@ } }, { - "__docId__": 882, + "__docId__": 888, "kind": "member", "static": false, "variation": null, @@ -17662,7 +17881,7 @@ } }, { - "__docId__": 883, + "__docId__": 889, "kind": "member", "static": false, "variation": null, @@ -17680,7 +17899,7 @@ } }, { - "__docId__": 884, + "__docId__": 890, "kind": "member", "static": false, "variation": null, @@ -17698,7 +17917,7 @@ } }, { - "__docId__": 885, + "__docId__": 891, "kind": "member", "static": false, "variation": null, @@ -17716,7 +17935,7 @@ } }, { - "__docId__": 886, + "__docId__": 892, "kind": "member", "static": false, "variation": null, @@ -17733,7 +17952,7 @@ } }, { - "__docId__": 887, + "__docId__": 893, "kind": "member", "static": false, "variation": null, @@ -17751,7 +17970,7 @@ } }, { - "__docId__": 888, + "__docId__": 894, "kind": "member", "static": false, "variation": null, @@ -17769,7 +17988,7 @@ } }, { - "__docId__": 889, + "__docId__": 895, "kind": "member", "static": false, "variation": null, @@ -17787,7 +18006,7 @@ } }, { - "__docId__": 890, + "__docId__": 896, "kind": "member", "static": false, "variation": null, @@ -17805,7 +18024,7 @@ } }, { - "__docId__": 891, + "__docId__": 897, "kind": "member", "static": false, "variation": null, @@ -17823,7 +18042,7 @@ } }, { - "__docId__": 892, + "__docId__": 898, "kind": "member", "static": false, "variation": null, @@ -17841,7 +18060,7 @@ } }, { - "__docId__": 893, + "__docId__": 899, "kind": "member", "static": false, "variation": null, @@ -17859,7 +18078,7 @@ } }, { - "__docId__": 894, + "__docId__": 900, "kind": "member", "static": false, "variation": null, @@ -17876,7 +18095,7 @@ } }, { - "__docId__": 895, + "__docId__": 901, "kind": "member", "static": false, "variation": null, @@ -17894,7 +18113,7 @@ } }, { - "__docId__": 896, + "__docId__": 902, "kind": "member", "static": false, "variation": null, @@ -17911,7 +18130,7 @@ } }, { - "__docId__": 897, + "__docId__": 903, "kind": "member", "static": false, "variation": null, @@ -17929,7 +18148,7 @@ } }, { - "__docId__": 898, + "__docId__": 904, "kind": "member", "static": false, "variation": null, @@ -17947,7 +18166,7 @@ } }, { - "__docId__": 899, + "__docId__": 905, "kind": "member", "static": false, "variation": null, @@ -17965,7 +18184,7 @@ } }, { - "__docId__": 900, + "__docId__": 906, "kind": "member", "static": false, "variation": null, @@ -17983,7 +18202,7 @@ } }, { - "__docId__": 901, + "__docId__": 907, "kind": "member", "static": false, "variation": null, @@ -18001,7 +18220,7 @@ } }, { - "__docId__": 902, + "__docId__": 908, "kind": "member", "static": false, "variation": null, @@ -18019,7 +18238,7 @@ } }, { - "__docId__": 903, + "__docId__": 909, "kind": "method", "static": false, "variation": null, @@ -18033,7 +18252,7 @@ "generator": false }, { - "__docId__": 904, + "__docId__": 910, "kind": "member", "static": false, "variation": null, @@ -18051,7 +18270,7 @@ } }, { - "__docId__": 905, + "__docId__": 911, "kind": "member", "static": false, "variation": null, @@ -18069,7 +18288,7 @@ } }, { - "__docId__": 906, + "__docId__": 912, "kind": "method", "static": false, "variation": null, @@ -18094,7 +18313,7 @@ "generator": false }, { - "__docId__": 907, + "__docId__": 913, "kind": "member", "static": false, "variation": null, @@ -18112,7 +18331,7 @@ } }, { - "__docId__": 908, + "__docId__": 914, "kind": "member", "static": false, "variation": null, @@ -18130,7 +18349,7 @@ } }, { - "__docId__": 909, + "__docId__": 915, "kind": "method", "static": false, "variation": null, @@ -18155,7 +18374,7 @@ "generator": false }, { - "__docId__": 910, + "__docId__": 916, "kind": "member", "static": false, "variation": null, @@ -18173,7 +18392,7 @@ } }, { - "__docId__": 911, + "__docId__": 917, "kind": "member", "static": false, "variation": null, @@ -18191,7 +18410,7 @@ } }, { - "__docId__": 912, + "__docId__": 918, "kind": "member", "static": false, "variation": null, @@ -18209,7 +18428,7 @@ } }, { - "__docId__": 913, + "__docId__": 919, "kind": "member", "static": false, "variation": null, @@ -18227,7 +18446,7 @@ } }, { - "__docId__": 914, + "__docId__": 920, "kind": "member", "static": false, "variation": null, @@ -18245,7 +18464,7 @@ } }, { - "__docId__": 915, + "__docId__": 921, "kind": "method", "static": false, "variation": null, @@ -18259,7 +18478,7 @@ "generator": false }, { - "__docId__": 916, + "__docId__": 922, "kind": "member", "static": false, "variation": null, @@ -18277,7 +18496,7 @@ } }, { - "__docId__": 917, + "__docId__": 923, "kind": "method", "static": false, "variation": null, @@ -18302,7 +18521,7 @@ "generator": false }, { - "__docId__": 918, + "__docId__": 924, "kind": "method", "static": false, "variation": null, @@ -18316,7 +18535,7 @@ "generator": false }, { - "__docId__": 919, + "__docId__": 925, "kind": "member", "static": false, "variation": null, @@ -18334,7 +18553,7 @@ } }, { - "__docId__": 920, + "__docId__": 926, "kind": "method", "static": false, "variation": null, @@ -18353,7 +18572,7 @@ "generator": false }, { - "__docId__": 921, + "__docId__": 927, "kind": "method", "static": false, "variation": null, @@ -18367,7 +18586,7 @@ "generator": false }, { - "__docId__": 922, + "__docId__": 928, "kind": "member", "static": false, "variation": null, @@ -18385,7 +18604,7 @@ } }, { - "__docId__": 923, + "__docId__": 929, "kind": "member", "static": false, "variation": null, @@ -18403,7 +18622,7 @@ } }, { - "__docId__": 924, + "__docId__": 930, "kind": "method", "static": false, "variation": null, @@ -18448,7 +18667,7 @@ "generator": false }, { - "__docId__": 925, + "__docId__": 931, "kind": "method", "static": false, "variation": null, @@ -18483,7 +18702,7 @@ "generator": false }, { - "__docId__": 926, + "__docId__": 932, "kind": "method", "static": false, "variation": null, @@ -18516,7 +18735,7 @@ "generator": false }, { - "__docId__": 927, + "__docId__": 933, "kind": "method", "static": false, "variation": null, @@ -18530,7 +18749,7 @@ "generator": false }, { - "__docId__": 928, + "__docId__": 934, "kind": "method", "static": false, "variation": null, @@ -18555,7 +18774,7 @@ "generator": false }, { - "__docId__": 929, + "__docId__": 935, "kind": "method", "static": false, "variation": null, @@ -18588,7 +18807,7 @@ "generator": false }, { - "__docId__": 930, + "__docId__": 936, "kind": "method", "static": false, "variation": null, @@ -18621,7 +18840,7 @@ "generator": false }, { - "__docId__": 931, + "__docId__": 937, "kind": "method", "static": false, "variation": null, @@ -18635,7 +18854,7 @@ "generator": false }, { - "__docId__": 932, + "__docId__": 938, "kind": "method", "static": false, "variation": null, @@ -18649,7 +18868,7 @@ "generator": false }, { - "__docId__": 933, + "__docId__": 939, "kind": "member", "static": false, "variation": null, @@ -18667,7 +18886,7 @@ } }, { - "__docId__": 934, + "__docId__": 940, "kind": "member", "static": false, "variation": null, @@ -18685,7 +18904,7 @@ } }, { - "__docId__": 935, + "__docId__": 941, "kind": "member", "static": false, "variation": null, @@ -18703,7 +18922,7 @@ } }, { - "__docId__": 936, + "__docId__": 942, "kind": "member", "static": false, "variation": null, @@ -18721,7 +18940,7 @@ } }, { - "__docId__": 937, + "__docId__": 943, "kind": "member", "static": false, "variation": null, @@ -18739,7 +18958,7 @@ } }, { - "__docId__": 938, + "__docId__": 944, "kind": "member", "static": false, "variation": null, @@ -18757,7 +18976,7 @@ } }, { - "__docId__": 939, + "__docId__": 945, "kind": "member", "static": false, "variation": null, @@ -18775,7 +18994,7 @@ } }, { - "__docId__": 940, + "__docId__": 946, "kind": "member", "static": false, "variation": null, @@ -18793,7 +19012,7 @@ } }, { - "__docId__": 941, + "__docId__": 947, "kind": "member", "static": false, "variation": null, @@ -18811,7 +19030,7 @@ } }, { - "__docId__": 942, + "__docId__": 948, "kind": "method", "static": false, "variation": null, @@ -18843,7 +19062,7 @@ "generator": false }, { - "__docId__": 943, + "__docId__": 949, "kind": "method", "static": false, "variation": null, @@ -18857,7 +19076,7 @@ "generator": false }, { - "__docId__": 944, + "__docId__": 950, "kind": "member", "static": false, "variation": null, @@ -18875,7 +19094,7 @@ } }, { - "__docId__": 945, + "__docId__": 951, "kind": "member", "static": false, "variation": null, @@ -18893,7 +19112,7 @@ } }, { - "__docId__": 946, + "__docId__": 952, "kind": "member", "static": false, "variation": null, @@ -18911,7 +19130,7 @@ } }, { - "__docId__": 947, + "__docId__": 953, "kind": "member", "static": false, "variation": null, @@ -18929,7 +19148,7 @@ } }, { - "__docId__": 948, + "__docId__": 954, "kind": "method", "static": false, "variation": null, @@ -18943,7 +19162,7 @@ "generator": false }, { - "__docId__": 949, + "__docId__": 955, "kind": "member", "static": false, "variation": null, @@ -18961,7 +19180,7 @@ } }, { - "__docId__": 950, + "__docId__": 956, "kind": "member", "static": false, "variation": null, @@ -18979,7 +19198,7 @@ } }, { - "__docId__": 951, + "__docId__": 957, "kind": "member", "static": false, "variation": null, @@ -18997,7 +19216,7 @@ } }, { - "__docId__": 952, + "__docId__": 958, "kind": "member", "static": false, "variation": null, @@ -19015,7 +19234,7 @@ } }, { - "__docId__": 953, + "__docId__": 959, "kind": "method", "static": false, "variation": null, @@ -19029,7 +19248,7 @@ "generator": false }, { - "__docId__": 954, + "__docId__": 960, "kind": "member", "static": false, "variation": null, @@ -19047,7 +19266,7 @@ } }, { - "__docId__": 955, + "__docId__": 961, "kind": "method", "static": false, "variation": null, @@ -19061,7 +19280,7 @@ "generator": false }, { - "__docId__": 956, + "__docId__": 962, "kind": "method", "static": false, "variation": null, @@ -19094,7 +19313,7 @@ "generator": false }, { - "__docId__": 957, + "__docId__": 963, "kind": "method", "static": false, "variation": null, @@ -19127,7 +19346,7 @@ "generator": false }, { - "__docId__": 958, + "__docId__": 964, "kind": "method", "static": false, "variation": null, @@ -19141,7 +19360,7 @@ "generator": false }, { - "__docId__": 959, + "__docId__": 965, "kind": "member", "static": false, "variation": null, @@ -19159,7 +19378,7 @@ } }, { - "__docId__": 960, + "__docId__": 966, "kind": "member", "static": false, "variation": null, @@ -19177,7 +19396,7 @@ } }, { - "__docId__": 961, + "__docId__": 967, "kind": "method", "static": false, "variation": null, @@ -19240,7 +19459,7 @@ "generator": false }, { - "__docId__": 962, + "__docId__": 968, "kind": "method", "static": false, "variation": null, @@ -19273,7 +19492,7 @@ "generator": false }, { - "__docId__": 963, + "__docId__": 969, "kind": "method", "static": false, "variation": null, @@ -19295,7 +19514,7 @@ "generator": false }, { - "__docId__": 964, + "__docId__": 970, "kind": "method", "static": false, "variation": null, @@ -19328,7 +19547,7 @@ "generator": false }, { - "__docId__": 965, + "__docId__": 971, "kind": "method", "static": false, "variation": null, @@ -19371,7 +19590,7 @@ "generator": false }, { - "__docId__": 966, + "__docId__": 972, "kind": "method", "static": false, "variation": null, @@ -19404,7 +19623,7 @@ "generator": false }, { - "__docId__": 967, + "__docId__": 973, "kind": "method", "static": false, "variation": null, @@ -19437,7 +19656,7 @@ "generator": false }, { - "__docId__": 968, + "__docId__": 974, "kind": "method", "static": false, "variation": null, @@ -19470,7 +19689,7 @@ "generator": false }, { - "__docId__": 969, + "__docId__": 975, "kind": "method", "static": false, "variation": null, @@ -19503,7 +19722,7 @@ "generator": false }, { - "__docId__": 970, + "__docId__": 976, "kind": "method", "static": false, "variation": null, @@ -19546,7 +19765,7 @@ "generator": false }, { - "__docId__": 971, + "__docId__": 977, "kind": "method", "static": false, "variation": null, @@ -19589,7 +19808,7 @@ "generator": false }, { - "__docId__": 972, + "__docId__": 978, "kind": "method", "static": false, "variation": null, @@ -19632,7 +19851,7 @@ "generator": false }, { - "__docId__": 973, + "__docId__": 979, "kind": "method", "static": false, "variation": null, @@ -19665,7 +19884,7 @@ "generator": false }, { - "__docId__": 974, + "__docId__": 980, "kind": "method", "static": false, "variation": null, @@ -19700,7 +19919,7 @@ "generator": false }, { - "__docId__": 975, + "__docId__": 981, "kind": "method", "static": false, "variation": null, @@ -19714,7 +19933,7 @@ "generator": false }, { - "__docId__": 976, + "__docId__": 982, "kind": "member", "static": false, "variation": null, @@ -19732,7 +19951,7 @@ } }, { - "__docId__": 977, + "__docId__": 983, "kind": "method", "static": false, "variation": null, @@ -19767,7 +19986,7 @@ "generator": false }, { - "__docId__": 978, + "__docId__": 984, "kind": "method", "static": false, "variation": null, @@ -19792,7 +20011,7 @@ "generator": false }, { - "__docId__": 979, + "__docId__": 985, "kind": "method", "static": false, "variation": null, @@ -19806,7 +20025,7 @@ "generator": false }, { - "__docId__": 980, + "__docId__": 986, "kind": "method", "static": false, "variation": null, @@ -19820,7 +20039,7 @@ "generator": false }, { - "__docId__": 981, + "__docId__": 987, "kind": "method", "static": false, "variation": null, @@ -19834,7 +20053,7 @@ "generator": false }, { - "__docId__": 982, + "__docId__": 988, "kind": "method", "static": false, "variation": null, @@ -19859,7 +20078,7 @@ "generator": false }, { - "__docId__": 983, + "__docId__": 989, "kind": "method", "static": false, "variation": null, @@ -19887,7 +20106,7 @@ "generator": false }, { - "__docId__": 984, + "__docId__": 990, "kind": "method", "static": false, "variation": null, @@ -19912,7 +20131,7 @@ "generator": false }, { - "__docId__": 985, + "__docId__": 991, "kind": "member", "static": false, "variation": null, @@ -19930,7 +20149,7 @@ } }, { - "__docId__": 986, + "__docId__": 992, "kind": "method", "static": false, "variation": null, @@ -19971,7 +20190,7 @@ "generator": false }, { - "__docId__": 987, + "__docId__": 993, "kind": "method", "static": false, "variation": null, @@ -19996,7 +20215,7 @@ "generator": false }, { - "__docId__": 988, + "__docId__": 994, "kind": "method", "static": false, "variation": null, @@ -20010,7 +20229,7 @@ "generator": false }, { - "__docId__": 989, + "__docId__": 995, "kind": "method", "static": false, "variation": null, @@ -20043,7 +20262,7 @@ "generator": false }, { - "__docId__": 990, + "__docId__": 996, "kind": "method", "static": false, "variation": null, @@ -20086,7 +20305,7 @@ "generator": false }, { - "__docId__": 991, + "__docId__": 997, "kind": "method", "static": false, "variation": null, @@ -20141,7 +20360,7 @@ "generator": false }, { - "__docId__": 992, + "__docId__": 998, "kind": "method", "static": false, "variation": null, @@ -20163,7 +20382,7 @@ "generator": false }, { - "__docId__": 993, + "__docId__": 999, "kind": "method", "static": false, "variation": null, @@ -20185,7 +20404,7 @@ "generator": false }, { - "__docId__": 994, + "__docId__": 1000, "kind": "method", "static": false, "variation": null, @@ -20218,7 +20437,7 @@ "generator": false }, { - "__docId__": 995, + "__docId__": 1001, "kind": "member", "static": false, "variation": null, @@ -20236,7 +20455,7 @@ } }, { - "__docId__": 996, + "__docId__": 1002, "kind": "method", "static": false, "variation": null, @@ -20258,7 +20477,7 @@ "generator": false }, { - "__docId__": 997, + "__docId__": 1003, "kind": "method", "static": false, "variation": null, @@ -20280,7 +20499,7 @@ "generator": false }, { - "__docId__": 998, + "__docId__": 1004, "kind": "method", "static": false, "variation": null, @@ -20302,7 +20521,7 @@ "generator": false }, { - "__docId__": 999, + "__docId__": 1005, "kind": "method", "static": false, "variation": null, @@ -20324,7 +20543,7 @@ "generator": false }, { - "__docId__": 1000, + "__docId__": 1006, "kind": "method", "static": false, "variation": null, @@ -20357,7 +20576,7 @@ "generator": false }, { - "__docId__": 1001, + "__docId__": 1007, "kind": "method", "static": false, "variation": null, @@ -20390,7 +20609,7 @@ "generator": false }, { - "__docId__": 1002, + "__docId__": 1008, "kind": "method", "static": false, "variation": null, @@ -20423,7 +20642,7 @@ "generator": false }, { - "__docId__": 1003, + "__docId__": 1009, "kind": "method", "static": false, "variation": null, @@ -20445,7 +20664,7 @@ "generator": false }, { - "__docId__": 1004, + "__docId__": 1010, "kind": "method", "static": false, "variation": null, @@ -20486,7 +20705,7 @@ "generator": false }, { - "__docId__": 1005, + "__docId__": 1011, "kind": "method", "static": false, "variation": null, @@ -20508,7 +20727,7 @@ "generator": false }, { - "__docId__": 1006, + "__docId__": 1012, "kind": "file", "static": true, "variation": null, @@ -20521,7 +20740,7 @@ "content": "\n/**\n * Types utilities\n */\n\nconst UNDEFINED = void 0;\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__": 1007, + "__docId__": 1013, "kind": "variable", "static": true, "variation": null, @@ -20541,7 +20760,7 @@ } }, { - "__docId__": 1008, + "__docId__": 1014, "kind": "variable", "static": true, "variation": null, @@ -20581,7 +20800,7 @@ } }, { - "__docId__": 1009, + "__docId__": 1015, "kind": "variable", "static": true, "variation": null, @@ -20621,7 +20840,7 @@ } }, { - "__docId__": 1010, + "__docId__": 1016, "kind": "variable", "static": true, "variation": null, @@ -20661,7 +20880,7 @@ } }, { - "__docId__": 1011, + "__docId__": 1017, "kind": "variable", "static": true, "variation": null, @@ -20707,7 +20926,7 @@ } }, { - "__docId__": 1012, + "__docId__": 1018, "kind": "variable", "static": true, "variation": null, @@ -20753,7 +20972,7 @@ } }, { - "__docId__": 1013, + "__docId__": 1019, "kind": "variable", "static": true, "variation": null, @@ -20793,7 +21012,7 @@ } }, { - "__docId__": 1014, + "__docId__": 1020, "kind": "variable", "static": true, "variation": null, @@ -20833,7 +21052,7 @@ } }, { - "__docId__": 1015, + "__docId__": 1021, "kind": "variable", "static": true, "variation": null, @@ -20873,7 +21092,7 @@ } }, { - "__docId__": 1017, + "__docId__": 1023, "kind": "external", "static": true, "variation": null, @@ -20886,7 +21105,7 @@ "builtinExternal": true }, { - "__docId__": 1018, + "__docId__": 1024, "kind": "external", "static": true, "variation": null, @@ -20899,7 +21118,7 @@ "builtinExternal": true }, { - "__docId__": 1019, + "__docId__": 1025, "kind": "external", "static": true, "variation": null, @@ -20912,7 +21131,7 @@ "builtinExternal": true }, { - "__docId__": 1020, + "__docId__": 1026, "kind": "external", "static": true, "variation": null, @@ -20925,7 +21144,7 @@ "builtinExternal": true }, { - "__docId__": 1021, + "__docId__": 1027, "kind": "external", "static": true, "variation": null, @@ -20938,7 +21157,7 @@ "builtinExternal": true }, { - "__docId__": 1022, + "__docId__": 1028, "kind": "external", "static": true, "variation": null, @@ -20951,7 +21170,7 @@ "builtinExternal": true }, { - "__docId__": 1023, + "__docId__": 1029, "kind": "external", "static": true, "variation": null, @@ -20964,7 +21183,7 @@ "builtinExternal": true }, { - "__docId__": 1024, + "__docId__": 1030, "kind": "external", "static": true, "variation": null, @@ -20977,7 +21196,7 @@ "builtinExternal": true }, { - "__docId__": 1025, + "__docId__": 1031, "kind": "external", "static": true, "variation": null, @@ -20990,7 +21209,7 @@ "builtinExternal": true }, { - "__docId__": 1026, + "__docId__": 1032, "kind": "external", "static": true, "variation": null, @@ -21003,7 +21222,7 @@ "builtinExternal": true }, { - "__docId__": 1027, + "__docId__": 1033, "kind": "external", "static": true, "variation": null, @@ -21016,7 +21235,7 @@ "builtinExternal": true }, { - "__docId__": 1028, + "__docId__": 1034, "kind": "external", "static": true, "variation": null, @@ -21029,7 +21248,7 @@ "builtinExternal": true }, { - "__docId__": 1029, + "__docId__": 1035, "kind": "external", "static": true, "variation": null, @@ -21042,7 +21261,7 @@ "builtinExternal": true }, { - "__docId__": 1030, + "__docId__": 1036, "kind": "external", "static": true, "variation": null, @@ -21055,7 +21274,7 @@ "builtinExternal": true }, { - "__docId__": 1031, + "__docId__": 1037, "kind": "external", "static": true, "variation": null, @@ -21068,7 +21287,7 @@ "builtinExternal": true }, { - "__docId__": 1032, + "__docId__": 1038, "kind": "external", "static": true, "variation": null, @@ -21081,7 +21300,7 @@ "builtinExternal": true }, { - "__docId__": 1033, + "__docId__": 1039, "kind": "external", "static": true, "variation": null, @@ -21094,7 +21313,7 @@ "builtinExternal": true }, { - "__docId__": 1034, + "__docId__": 1040, "kind": "external", "static": true, "variation": null, @@ -21107,7 +21326,7 @@ "builtinExternal": true }, { - "__docId__": 1035, + "__docId__": 1041, "kind": "external", "static": true, "variation": null, @@ -21120,7 +21339,7 @@ "builtinExternal": true }, { - "__docId__": 1036, + "__docId__": 1042, "kind": "external", "static": true, "variation": null, @@ -21133,7 +21352,7 @@ "builtinExternal": true }, { - "__docId__": 1037, + "__docId__": 1043, "kind": "external", "static": true, "variation": null, @@ -21146,7 +21365,7 @@ "builtinExternal": true }, { - "__docId__": 1038, + "__docId__": 1044, "kind": "external", "static": true, "variation": null, @@ -21159,7 +21378,7 @@ "builtinExternal": true }, { - "__docId__": 1039, + "__docId__": 1045, "kind": "external", "static": true, "variation": null, @@ -21172,7 +21391,7 @@ "builtinExternal": true }, { - "__docId__": 1040, + "__docId__": 1046, "kind": "external", "static": true, "variation": null, @@ -21185,7 +21404,7 @@ "builtinExternal": true }, { - "__docId__": 1041, + "__docId__": 1047, "kind": "external", "static": true, "variation": null, @@ -21198,7 +21417,7 @@ "builtinExternal": true }, { - "__docId__": 1042, + "__docId__": 1048, "kind": "external", "static": true, "variation": null, @@ -21211,7 +21430,7 @@ "builtinExternal": true }, { - "__docId__": 1043, + "__docId__": 1049, "kind": "external", "static": true, "variation": null, @@ -21224,7 +21443,7 @@ "builtinExternal": true }, { - "__docId__": 1044, + "__docId__": 1050, "kind": "external", "static": true, "variation": null, @@ -21237,7 +21456,7 @@ "builtinExternal": true }, { - "__docId__": 1045, + "__docId__": 1051, "kind": "external", "static": true, "variation": null, @@ -21250,7 +21469,7 @@ "builtinExternal": true }, { - "__docId__": 1046, + "__docId__": 1052, "kind": "external", "static": true, "variation": null, @@ -21263,7 +21482,7 @@ "builtinExternal": true }, { - "__docId__": 1047, + "__docId__": 1053, "kind": "external", "static": true, "variation": null, @@ -21276,7 +21495,7 @@ "builtinExternal": true }, { - "__docId__": 1048, + "__docId__": 1054, "kind": "external", "static": true, "variation": null, @@ -21289,7 +21508,7 @@ "builtinExternal": true }, { - "__docId__": 1049, + "__docId__": 1055, "kind": "external", "static": true, "variation": null, @@ -21302,7 +21521,7 @@ "builtinExternal": true }, { - "__docId__": 1050, + "__docId__": 1056, "kind": "external", "static": true, "variation": null, @@ -21315,7 +21534,7 @@ "builtinExternal": true }, { - "__docId__": 1051, + "__docId__": 1057, "kind": "external", "static": true, "variation": null, @@ -21328,7 +21547,7 @@ "builtinExternal": true }, { - "__docId__": 1052, + "__docId__": 1058, "kind": "external", "static": true, "variation": null, @@ -21341,7 +21560,7 @@ "builtinExternal": true }, { - "__docId__": 1053, + "__docId__": 1059, "kind": "external", "static": true, "variation": null, @@ -21354,7 +21573,7 @@ "builtinExternal": true }, { - "__docId__": 1054, + "__docId__": 1060, "kind": "external", "static": true, "variation": null, @@ -21367,7 +21586,7 @@ "builtinExternal": true }, { - "__docId__": 1055, + "__docId__": 1061, "kind": "external", "static": true, "variation": null, @@ -21380,7 +21599,7 @@ "builtinExternal": true }, { - "__docId__": 1056, + "__docId__": 1062, "kind": "external", "static": true, "variation": null, @@ -21393,7 +21612,7 @@ "builtinExternal": true }, { - "__docId__": 1057, + "__docId__": 1063, "kind": "external", "static": true, "variation": null, @@ -21406,7 +21625,7 @@ "builtinExternal": true }, { - "__docId__": 1058, + "__docId__": 1064, "kind": "external", "static": true, "variation": null, @@ -21419,7 +21638,7 @@ "builtinExternal": true }, { - "__docId__": 1059, + "__docId__": 1065, "kind": "external", "static": true, "variation": null, @@ -21432,7 +21651,7 @@ "builtinExternal": true }, { - "__docId__": 1060, + "__docId__": 1066, "kind": "external", "static": true, "variation": null, @@ -21445,7 +21664,7 @@ "builtinExternal": true }, { - "__docId__": 1061, + "__docId__": 1067, "kind": "external", "static": true, "variation": null, @@ -21458,7 +21677,7 @@ "builtinExternal": true }, { - "__docId__": 1062, + "__docId__": 1068, "kind": "external", "static": true, "variation": null, @@ -21471,7 +21690,7 @@ "builtinExternal": true }, { - "__docId__": 1063, + "__docId__": 1069, "kind": "external", "static": true, "variation": null, @@ -21484,7 +21703,7 @@ "builtinExternal": true }, { - "__docId__": 1065, + "__docId__": 1071, "kind": "external", "static": true, "variation": null, @@ -21497,7 +21716,7 @@ "builtinExternal": true }, { - "__docId__": 1066, + "__docId__": 1072, "kind": "external", "static": true, "variation": null, @@ -21510,7 +21729,7 @@ "builtinExternal": true }, { - "__docId__": 1067, + "__docId__": 1073, "kind": "external", "static": true, "variation": null, @@ -21523,7 +21742,7 @@ "builtinExternal": true }, { - "__docId__": 1068, + "__docId__": 1074, "kind": "external", "static": true, "variation": null, @@ -21536,7 +21755,7 @@ "builtinExternal": true }, { - "__docId__": 1069, + "__docId__": 1075, "kind": "external", "static": true, "variation": null, @@ -21549,7 +21768,7 @@ "builtinExternal": true }, { - "__docId__": 1070, + "__docId__": 1076, "kind": "external", "static": true, "variation": null, @@ -21562,7 +21781,7 @@ "builtinExternal": true }, { - "__docId__": 1071, + "__docId__": 1077, "kind": "external", "static": true, "variation": null, @@ -21575,7 +21794,7 @@ "builtinExternal": true }, { - "__docId__": 1072, + "__docId__": 1078, "kind": "external", "static": true, "variation": null, diff --git a/docs/file/src/array.js.html b/docs/file/src/array.js.html index 97310e15..20f7abcc 100644 --- a/docs/file/src/array.js.html +++ b/docs/file/src/array.js.html @@ -3,7 +3,7 @@ - src/array.js | tablefilter v0.2.41 API Document + src/array.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/const.js.html b/docs/file/src/const.js.html index eb671da8..b9a9745b 100644 --- a/docs/file/src/const.js.html +++ b/docs/file/src/const.js.html @@ -3,7 +3,7 @@ - src/const.js | tablefilter v0.2.41 API Document + src/const.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/cookie.js.html b/docs/file/src/cookie.js.html index aa1415c0..aa1e35b2 100644 --- a/docs/file/src/cookie.js.html +++ b/docs/file/src/cookie.js.html @@ -3,7 +3,7 @@ - src/cookie.js | tablefilter v0.2.41 API Document + src/cookie.js | tablefilter v0.2.42 API Document @@ -125,6 +125,12 @@ const doc = root.document; export default { + /** + * Write a cookie + * @param {String} name Name of the cookie + * @param {String} value Value of the cookie + * @param {Number} hours Cookie duration in hours + */ write(name, value, hours) { let expire = ''; if (hours) { @@ -134,6 +140,11 @@ export default { doc.cookie = name + '=' + escape(value) + expire; }, + /** + * Read a cookie + * @param {String} name Name of the cookie + * @returns {String} Value of the cookie + */ read(name) { let cookieValue = '', search = name + '='; @@ -152,28 +163,12 @@ export default { return cookieValue; }, + /** + * Remove a cookie + * @param {String} name Name of the cookie + */ remove(name) { this.write(name, '', -1); - }, - - valueToArray(name, separator) { - if (!separator) { - separator = ','; - } - //reads the cookie - let val = this.read(name); - //creates an array with filters' values - let arr = val.split(separator); - return arr; - }, - - getValueByIndex(name, index, separator) { - if (!separator) { - separator = ','; - } - //reads the cookie - let val = this.valueToArray(name, separator); - return val[index]; } }; diff --git a/docs/file/src/date.js.html b/docs/file/src/date.js.html index 2d43709f..1eeef605 100644 --- a/docs/file/src/date.js.html +++ b/docs/file/src/date.js.html @@ -3,7 +3,7 @@ - src/date.js | tablefilter v0.2.41 API Document + src/date.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/dom.js.html b/docs/file/src/dom.js.html index e5b1a8fb..b456ff3b 100644 --- a/docs/file/src/dom.js.html +++ b/docs/file/src/dom.js.html @@ -3,7 +3,7 @@ - src/dom.js | tablefilter v0.2.41 API Document + src/dom.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/emitter.js.html b/docs/file/src/emitter.js.html index 0d7d34b3..3400e753 100644 --- a/docs/file/src/emitter.js.html +++ b/docs/file/src/emitter.js.html @@ -3,7 +3,7 @@ - src/emitter.js | tablefilter v0.2.41 API Document + src/emitter.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/event.js.html b/docs/file/src/event.js.html index 2d19a93d..462b9de7 100644 --- a/docs/file/src/event.js.html +++ b/docs/file/src/event.js.html @@ -3,7 +3,7 @@ - src/event.js | tablefilter v0.2.41 API Document + src/event.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html b/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html index 861f3b27..bfc44cde 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.2.41 API Document + src/extensions/advancedGrid/adapterEzEditTable.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/extensions/advancedGrid/advancedGrid.js.html b/docs/file/src/extensions/advancedGrid/advancedGrid.js.html index c75a982a..7adb172c 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.2.41 API Document + src/extensions/advancedGrid/advancedGrid.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/extensions/colOps/colOps.js.html b/docs/file/src/extensions/colOps/colOps.js.html index 1c407139..7a612fee 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.2.41 API Document + src/extensions/colOps/colOps.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/extensions/colsVisibility/colsVisibility.js.html b/docs/file/src/extensions/colsVisibility/colsVisibility.js.html index 63c5658d..e3d8568b 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.2.41 API Document + src/extensions/colsVisibility/colsVisibility.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html b/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html index 4974f028..15c6a617 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.2.41 API Document + src/extensions/filtersVisibility/filtersVisibility.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/extensions/sort/adapterSortabletable.js.html b/docs/file/src/extensions/sort/adapterSortabletable.js.html index cdaf709c..2bb343c5 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.2.41 API Document + src/extensions/sort/adapterSortabletable.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/extensions/sort/sort.js.html b/docs/file/src/extensions/sort/sort.js.html index a862263e..1d37bd01 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.2.41 API Document + src/extensions/sort/sort.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/feature.js.html b/docs/file/src/feature.js.html index 1332d15f..ac507126 100644 --- a/docs/file/src/feature.js.html +++ b/docs/file/src/feature.js.html @@ -3,7 +3,7 @@ - src/feature.js | tablefilter v0.2.41 API Document + src/feature.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/helpers.js.html b/docs/file/src/helpers.js.html index ff9b7329..75f6a820 100644 --- a/docs/file/src/helpers.js.html +++ b/docs/file/src/helpers.js.html @@ -3,7 +3,7 @@ - src/helpers.js | tablefilter v0.2.41 API Document + src/helpers.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/alternateRows.js.html b/docs/file/src/modules/alternateRows.js.html index f1bc0f1f..1a76054a 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.2.41 API Document + src/modules/alternateRows.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/checkList.js.html b/docs/file/src/modules/checkList.js.html index 7eb64648..c86c8063 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.2.41 API Document + src/modules/checkList.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/clearButton.js.html b/docs/file/src/modules/clearButton.js.html index a09ecf71..23149348 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.2.41 API Document + src/modules/clearButton.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/dropdown.js.html b/docs/file/src/modules/dropdown.js.html index 19eea0e5..c19fa9df 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.2.41 API Document + src/modules/dropdown.js | tablefilter v0.2.42 API Document @@ -126,35 +126,69 @@ import {SELECT, MULTIPLE, NONE} from '../const'; const SORT_ERROR = 'Filter options for column {0} cannot be sorted in ' + '{1} manner.'; +/** + * Dropdown filter UI component + * @param {Object} tf TableFilter instance + */ export class Dropdown extends Feature { /** - * Dropdown UI component + * Creates an instance of Dropdown * @param {Object} tf TableFilter instance */ constructor(tf) { super(tf, 'dropdown'); // Configuration object - let f = tf.config(); + let f = this.config; + /** + * Enable the reset filter option as first item + * @type {Boolean} + */ this.enableSlcResetFilter = f.enable_slc_reset_filter === false ? false : true; - //defines empty option text - this.nonEmptyText = f.non_empty_text || '(Non empty)'; - //IE only, tooltip text appearing on select before it is populated - this.activateSlcTooltip = f.activate_slc_tooltip || - 'Click to activate'; - //tooltip text appearing on multiple select - this.multipleSlcTooltip = f.multiple_slc_tooltip || - 'Use Ctrl key for multiple selections'; + /** + * Non empty option text + * @type {String} + */ + this.nonEmptyText = f.non_empty_text || '(Non empty)'; + + /** + * Tooltip text appearing on multiple select + * @type {String} + */ + this.multipleSlcTooltip = f.multiple_slc_tooltip || + 'Use Ctrl/Cmd key for multiple selections'; + + /** + * Indicates drop-down has custom options + * @private + */ this.isCustom = null; + + /** + * List of options values + * @type {Array} + * @private + */ this.opts = null; + + /** + * List of options texts for custom values + * @type {Array} + * @private + */ this.optsTxt = null; - this.slcInnerHtml = null; } + + /** + * Drop-down filter focus event handler + * @param {Event} e DOM Event + * @private + */ onSlcFocus(e) { let elm = targetEvt(e); let tf = this.tf; @@ -166,6 +200,10 @@ export class Dropdown extends Feature { this.emitter.emit('filter-focus', tf, elm); } + /** + * Drop-down filter change event handler + * @private + */ onSlcChange() { if (this.tf.onSlcChange) { this.tf.filter(); @@ -243,7 +281,6 @@ export class Dropdown extends Feature { this.opts = []; this.optsTxt = []; - this.slcInnerHtml = ''; let slcId = tf.fltIds[colIndex]; let slc = elm(slcId); @@ -494,6 +531,9 @@ export class Dropdown extends Feature { return values; } + /** + * Destroy Dropdown instance + */ destroy() { this.emitter.off( ['build-select-filter'], diff --git a/docs/file/src/modules/gridLayout.js.html b/docs/file/src/modules/gridLayout.js.html index ed25fd55..28963592 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.2.41 API Document + src/modules/gridLayout.js | tablefilter v0.2.42 API Document @@ -260,63 +260,50 @@ export class GridLayout extends Feature { */ this.sourceTblHtml = tf.tbl.outerHTML; + /** + * Indicates if working table has column elements + * @type {Boolean} + * @private + */ + this.tblHasColTag = tag(tf.tbl, 'col').length > 0 ? true : false; + // filters flag at TF level tf.fltGrid = this.enableFilters; } /** * Generates a grid with fixed headers - * * TODO: reduce size of init by extracting single purposed methods */ init() { let tf = this.tf; - let f = this.config; let tbl = tf.tbl; if (this.initialized) { return; } - // Override reference rows indexes - tf.refRow = isNull(tf.startRow) ? 0 : tf.startRow; - tf.headersRow = 0; - tf.filtersRowIndex = 1; - - tf.isExternalFlt = true; + // Override relevant TableFilter properties + this.setOverrides(); // Assign default column widths this.setDefaultColWidths(); - let tblW;//initial table width - if (tbl.width !== '') { - tblW = tbl.width; - } - else if (tbl.style.width !== '') { - tblW = parseInt(tbl.style.width, 10); - } else { - tblW = tbl.clientWidth; - } + // Initial table width + let tblW = this.initialTableWidth(); //Main container: it will contain all the elements - this.tblMainCont = createElm('div', - ['id', this.prfxMainTblCont + tf.id]); - this.tblMainCont.className = this.mainContCssClass; + this.tblMainCont = this.createContainer(this.prfxMainTblCont + tf.id, + 'div', this.mainContCssClass); if (this.width) { this.tblMainCont.style.width = this.width; } tbl.parentNode.insertBefore(this.tblMainCont, tbl); //Table container: div wrapping content table - this.tblCont = createElm('div', ['id', this.prfxTblCont + tf.id]); - this.tblCont.className = this.contCssClass; - if (this.width) { - if (this.width.indexOf('%') !== -1) { - this.tblCont.style.width = '100%'; - } else { - this.tblCont.style.width = this.width; - } - } + this.tblCont = this.createContainer(this.prfxTblCont + tf.id, 'div', + this.contCssClass); + this.setConfigWidth(this.tblCont); if (this.height) { this.tblCont.style.height = this.height; } @@ -334,16 +321,9 @@ export class GridLayout extends Feature { this.tblMainCont.appendChild(d); //Headers table container: div wrapping headers table - this.headTblCont = createElm( - 'div', ['id', this.prfxHeadTblCont + tf.id]); - this.headTblCont.className = this.headContCssClass; - if (this.width) { - if (this.width.indexOf('%') !== -1) { - this.headTblCont.style.width = '100%'; - } else { - this.headTblCont.style.width = this.width; - } - } + this.headTblCont = this.createContainer(this.prfxHeadTblCont + tf.id, + 'div', this.headContCssClass); + this.setConfigWidth(this.headTblCont); //Headers table this.headTbl = createElm('table', ['id', this.prfxHeadTbl + tf.id]); @@ -352,40 +332,13 @@ export class GridLayout extends Feature { //1st row should be headers row, ids are added if not set //Those ids are used by the sort feature let hRow = tbl.rows[this.headRowIndex]; - let sortTriggers = []; - for (let n = 0; n < tf.nbCells; n++) { - let c = hRow.cells[n]; - let thId = c.getAttribute('id'); - if (!thId || thId === '') { - thId = this.prfxGridTh + n + '_' + tf.id; - c.setAttribute('id', thId); - } - sortTriggers.push(thId); - } + let sortTriggers = this.getSortTriggerIds(hRow); //Filters row is created - let filtersRow = createElm('tr'); - if (this.enableFilters && tf.fltGrid) { - tf.externalFltTgtIds = []; - for (let j = 0; j < tf.nbCells; j++) { - let fltTdId = tf.prfxFlt + j + this.prfxGridFltTd + tf.id; - let cl = createElm(tf.fltCellTag, ['id', fltTdId]); - filtersRow.appendChild(cl); - tf.externalFltTgtIds[j] = fltTdId; - } - } + let filtersRow = this.createFiltersRow(); //Headers row are moved from content table to headers table - if (!this.noHeaders) { - for (let i = 0; i < this.headRows.length; i++) { - let headRow = tbl.rows[this.headRows[i]]; - tH.appendChild(headRow); - } - } else { - // Handle table with no headers, assuming here headers do not - // exist - tH.appendChild(createElm('tr')); - } + this.setHeadersRow(tH); this.headTbl.appendChild(tH); if (tf.filtersRowIndex === 0) { @@ -443,40 +396,16 @@ export class GridLayout extends Feature { // } }); - //Configure sort extension if any - let sort = (f.extensions || []).filter(function (itm) { - return itm.name === 'sort'; - }); - if (sort.length === 1) { - sort[0].async_sort = true; - sort[0].trigger_ids = sortTriggers; + // TODO: Trigger a custom event handled by sort extension + let sort = tf.extension('sort'); + if (sort) { + sort.asyncSort = true; + sort.triggerIds = sortTriggers; } - //Cols generation for all browsers excepted IE<=7 - this.tblHasColTag = tag(tbl, 'col').length > 0 ? true : false; - //Col elements are enough to keep column widths after sorting and //filtering - let createColTags = function () { - for (let k = (tf.nbCells - 1); k >= 0; k--) { - let col = createElm('col', ['id', tf.id + '_col_' + k]); - tbl.insertBefore(col, tbl.firstChild); - col.style.width = tf.colWidths[k]; - this.colElms[k] = col; - } - this.tblHasColTag = true; - }; - - if (!this.tblHasColTag) { - createColTags.call(this); - } else { - let cols = tag(tbl, 'col'); - for (let ii = 0; ii < tf.nbCells; ii++) { - cols[ii].setAttribute('id', tf.id + '_col_' + ii); - cols[ii].style.width = tf.colWidths[ii]; - this.colElms.push(cols[ii]); - } - } + this.setColumnElements(); if (tf.popupFilters) { filtersRow.style.display = NONE; @@ -489,6 +418,18 @@ export class GridLayout extends Feature { this.initialized = true; } + /** + * Overrides TableFilter instance properties to adjust to grid layout mode + * @private + */ + setOverrides() { + let tf = this.tf; + tf.refRow = isNull(tf.startRow) ? 0 : tf.startRow; + tf.headersRow = 0; + tf.filtersRowIndex = 1; + tf.isExternalFlt = true; + } + /** * Set grid-layout default column widths if column widths are not defined * @private @@ -514,6 +455,142 @@ export class GridLayout extends Feature { tf.setColWidths(); } + /** + * Initial table width + * @returns {Number} + * @private + */ + initialTableWidth() { + let tbl = this.tf.tbl; + let width; //initial table width + + if (tbl.width !== '') { + width = tbl.width; + } + else if (tbl.style.width !== '') { + width = tbl.style.width; + } else { + width = tbl.clientWidth; + } + return parseInt(width, 10); + } + + /** + * Creates container element + * @param {String} id Element ID + * @param {String} tag Tag name + * @param {String} className Css class to assign to element + * @returns {DOMElement} + * @private + */ + createContainer(id, tag, className) { + let element = createElm(tag, ['id', id]); + element.className = className; + return element; + } + + /** + * Creates filters row with cells + * @returns {HTMLTableRowElement} + * @private + */ + createFiltersRow() { + let tf = this.tf; + let filtersRow = createElm('tr'); + if (this.enableFilters && tf.fltGrid) { + tf.externalFltTgtIds = []; + for (let j = 0; j < tf.getCellsNb(); j++) { + let fltTdId = tf.prfxFlt + j + this.prfxGridFltTd + tf.id; + let cl = createElm(tf.fltCellTag, ['id', fltTdId]); + filtersRow.appendChild(cl); + tf.externalFltTgtIds[j] = fltTdId; + } + } + return filtersRow; + } + + /** + * Generates column elements if necessary and assigns their widths + * @private + */ + setColumnElements() { + let tf = this.tf; + let cols = tag(tf.tbl, 'col'); + this.tblHasColTag = cols.length > 0; + + for (let k = (tf.nbCells - 1); k >= 0; k--) { + let col; + let id = `${tf.id}_col_${k}`; + + if (!this.tblHasColTag) { + col = createElm('col', ['id', id]); + tf.tbl.insertBefore(col, tf.tbl.firstChild); + } else { + col = cols[k]; + col.setAttribute('id', id); + } + col.style.width = tf.colWidths[k]; + this.colElms[k] = col; + } + this.tblHasColTag = true; + } + + /** + * Sets headers row in headers table + * @param {HTMLHeadElement} tableHead Table head element + * @private + */ + setHeadersRow(tableHead) { + if (this.noHeaders) { + // Handle table with no headers, assuming here headers do not + // exist + tableHead.appendChild(createElm('tr')); + } else { + // Headers row are moved from content table to headers table + for (let i = 0; i < this.headRows.length; i++) { + let row = this.tf.tbl.rows[this.headRows[i]]; + tableHead.appendChild(row); + } + } + } + + /** + * Sets width defined in configuration to passed element + * @param {DOMElement} element DOM element + * @private + */ + setConfigWidth(element) { + if (!this.width) { + return; + } + if (this.width.indexOf('%') !== -1) { + element.style.width = '100%'; + } else { + element.style.width = this.width; + } + } + + /** + * Returns a list of header IDs used for specifing external sort triggers + * @param {HTMLTableRowElement} row DOM row element + * @returns {Array} List of IDs + * @private + */ + getSortTriggerIds(row) { + let tf = this.tf; + let sortTriggers = []; + for (let n = 0; n < tf.getCellsNb(); n++) { + let c = row.cells[n]; + let thId = c.getAttribute('id'); + if (!thId || thId === '') { + thId = this.prfxGridTh + n + '_' + tf.id; + c.setAttribute('id', thId); + } + sortTriggers.push(thId); + } + return sortTriggers; + } + /** * Removes the grid layout */ diff --git a/docs/file/src/modules/hash.js.html b/docs/file/src/modules/hash.js.html index 37fc058d..f51596cb 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.2.41 API Document + src/modules/hash.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/help.js.html b/docs/file/src/modules/help.js.html index 8b71994a..cd9d6852 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.2.41 API Document + src/modules/help.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/highlightKeywords.js.html b/docs/file/src/modules/highlightKeywords.js.html index 78150ccc..73fc444d 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.2.41 API Document + src/modules/highlightKeywords.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/loader.js.html b/docs/file/src/modules/loader.js.html index 8b059d33..c46209ff 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.2.41 API Document + src/modules/loader.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/noResults.js.html b/docs/file/src/modules/noResults.js.html index 28a1ac50..959a02c9 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.2.41 API Document + src/modules/noResults.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/paging.js.html b/docs/file/src/modules/paging.js.html index 1152eda7..7789cf13 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.2.41 API Document + src/modules/paging.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/popupFilter.js.html b/docs/file/src/modules/popupFilter.js.html index 3bef9a0b..7f70a2e5 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.2.41 API Document + src/modules/popupFilter.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/rowsCounter.js.html b/docs/file/src/modules/rowsCounter.js.html index a3febf73..f2410262 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.2.41 API Document + src/modules/rowsCounter.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/state.js.html b/docs/file/src/modules/state.js.html index 5d16d351..7ad25ecd 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.2.41 API Document + src/modules/state.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/statusBar.js.html b/docs/file/src/modules/statusBar.js.html index 8ae475f1..07475551 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.2.41 API Document + src/modules/statusBar.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/modules/storage.js.html b/docs/file/src/modules/storage.js.html index 427b573e..16e7a39a 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.2.41 API Document + src/modules/storage.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/root.js.html b/docs/file/src/root.js.html index b4b14e81..b91066f7 100644 --- a/docs/file/src/root.js.html +++ b/docs/file/src/root.js.html @@ -3,7 +3,7 @@ - src/root.js | tablefilter v0.2.41 API Document + src/root.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/sort.js.html b/docs/file/src/sort.js.html index 53d96bef..2e8ef015 100644 --- a/docs/file/src/sort.js.html +++ b/docs/file/src/sort.js.html @@ -3,7 +3,7 @@ - src/sort.js | tablefilter v0.2.41 API Document + src/sort.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/string.js.html b/docs/file/src/string.js.html index 2ca14027..afce7bc6 100644 --- a/docs/file/src/string.js.html +++ b/docs/file/src/string.js.html @@ -3,7 +3,7 @@ - src/string.js | tablefilter v0.2.41 API Document + src/string.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/tablefilter.js.html b/docs/file/src/tablefilter.js.html index 6856b109..7d67f4b1 100644 --- a/docs/file/src/tablefilter.js.html +++ b/docs/file/src/tablefilter.js.html @@ -3,7 +3,7 @@ - src/tablefilter.js | tablefilter v0.2.41 API Document + src/tablefilter.js | tablefilter v0.2.42 API Document diff --git a/docs/file/src/types.js.html b/docs/file/src/types.js.html index ed0719e6..a21e6ada 100644 --- a/docs/file/src/types.js.html +++ b/docs/file/src/types.js.html @@ -3,7 +3,7 @@ - src/types.js | tablefilter v0.2.41 API Document + src/types.js | tablefilter v0.2.42 API Document diff --git a/docs/identifiers.html b/docs/identifiers.html index f811d40b..fe95b7dc 100644 --- a/docs/identifiers.html +++ b/docs/identifiers.html @@ -3,7 +3,7 @@ - Index | tablefilter v0.2.41 API Document + Index | tablefilter v0.2.42 API Document @@ -308,13 +308,14 @@
- +

Dropdown filter UI component

+
diff --git a/docs/index.html b/docs/index.html index 065ee59b..18ab40fd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,7 +3,7 @@ - tablefilter v0.2.41 API Document + tablefilter v0.2.42 API Document diff --git a/docs/package.json b/docs/package.json index 06260422..d58361f2 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "tablefilter", - "version": "0.2.41", + "version": "0.2.42", "description": "A Javascript library making HTML tables filterable and a bit more", "license": "MIT", "author": { diff --git a/docs/script/search_index.js b/docs/script/search_index.js index dcdbc7c6..898f117f 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -2045,12 +2045,6 @@ window.esdocSearchIndex = [ "src/modules/dropdown.js", "file" ], - [ - "src/modules/dropdown.js~dropdown#activateslctooltip", - "class/src/modules/dropdown.js~Dropdown.html#instance-member-activateSlcTooltip", - "src/modules/dropdown.js~Dropdown#activateSlcTooltip", - "member" - ], [ "src/modules/dropdown.js~dropdown#addfirstoption", "class/src/modules/dropdown.js~Dropdown.html#instance-method-addFirstOption", @@ -2105,12 +2099,6 @@ window.esdocSearchIndex = [ "src/modules/dropdown.js~Dropdown#initialized", "member" ], - [ - "src/modules/dropdown.js~dropdown#iscustom", - "class/src/modules/dropdown.js~Dropdown.html#instance-member-isCustom", - "src/modules/dropdown.js~Dropdown#isCustom", - "member" - ], [ "src/modules/dropdown.js~dropdown#multipleslctooltip", "class/src/modules/dropdown.js~Dropdown.html#instance-member-multipleSlcTooltip", @@ -2123,42 +2111,12 @@ window.esdocSearchIndex = [ "src/modules/dropdown.js~Dropdown#nonEmptyText", "member" ], - [ - "src/modules/dropdown.js~dropdown#onslcchange", - "class/src/modules/dropdown.js~Dropdown.html#instance-method-onSlcChange", - "src/modules/dropdown.js~Dropdown#onSlcChange", - "method" - ], - [ - "src/modules/dropdown.js~dropdown#onslcfocus", - "class/src/modules/dropdown.js~Dropdown.html#instance-method-onSlcFocus", - "src/modules/dropdown.js~Dropdown#onSlcFocus", - "method" - ], - [ - "src/modules/dropdown.js~dropdown#opts", - "class/src/modules/dropdown.js~Dropdown.html#instance-member-opts", - "src/modules/dropdown.js~Dropdown#opts", - "member" - ], - [ - "src/modules/dropdown.js~dropdown#optstxt", - "class/src/modules/dropdown.js~Dropdown.html#instance-member-optsTxt", - "src/modules/dropdown.js~Dropdown#optsTxt", - "member" - ], [ "src/modules/dropdown.js~dropdown#selectoptions", "class/src/modules/dropdown.js~Dropdown.html#instance-method-selectOptions", "src/modules/dropdown.js~Dropdown#selectOptions", "method" ], - [ - "src/modules/dropdown.js~dropdown#slcinnerhtml", - "class/src/modules/dropdown.js~Dropdown.html#instance-member-slcInnerHtml", - "src/modules/dropdown.js~Dropdown#slcInnerHtml", - "member" - ], [ "src/modules/gridlayout.js", "file/src/modules/gridLayout.js.html", @@ -2267,12 +2225,6 @@ window.esdocSearchIndex = [ "src/modules/gridLayout.js~GridLayout#tblCont", "member" ], - [ - "src/modules/gridlayout.js~gridlayout#tblhascoltag", - "class/src/modules/gridLayout.js~GridLayout.html#instance-member-tblHasColTag", - "src/modules/gridLayout.js~GridLayout#tblHasColTag", - "member" - ], [ "src/modules/gridlayout.js~gridlayout#tblmaincont", "class/src/modules/gridLayout.js~GridLayout.html#instance-member-tblMainCont", diff --git a/docs/source.html b/docs/source.html index 6ab6c70b..473e9a6f 100644 --- a/docs/source.html +++ b/docs/source.html @@ -3,7 +3,7 @@ - Source | tablefilter v0.2.41 API Document + Source | tablefilter v0.2.42 API Document @@ -114,7 +114,7 @@
-

Source 301/772

+

Source 306/764

@@ -135,7 +135,7 @@ - + @@ -155,15 +155,15 @@ - + - - - + + + @@ -172,7 +172,7 @@ - + @@ -191,7 +191,7 @@ - + @@ -199,7 +199,7 @@ - + @@ -212,7 +212,7 @@ - + @@ -220,7 +220,7 @@ - + @@ -228,7 +228,7 @@ - + @@ -236,7 +236,7 @@ - + @@ -244,7 +244,7 @@ - + @@ -252,7 +252,7 @@ - + @@ -260,7 +260,7 @@ - + @@ -268,7 +268,7 @@ - + @@ -276,7 +276,7 @@ - + @@ -284,7 +284,7 @@ - + @@ -292,7 +292,7 @@ - + @@ -300,7 +300,7 @@ - + @@ -308,23 +308,23 @@ - + - + - - - - + + + + - + - - - - + + + + @@ -333,7 +333,7 @@ - + @@ -341,7 +341,7 @@ - + @@ -349,7 +349,7 @@ - + @@ -357,7 +357,7 @@ - + @@ -365,7 +365,7 @@ - + @@ -373,7 +373,7 @@ - + @@ -381,7 +381,7 @@ - + @@ -389,7 +389,7 @@ - + @@ -397,7 +397,7 @@ - + @@ -405,7 +405,7 @@ - + @@ -414,7 +414,7 @@ - + @@ -422,7 +422,7 @@ - + @@ -432,7 +432,7 @@ - + @@ -444,7 +444,7 @@ - + @@ -452,7 +452,7 @@ - + @@ -467,7 +467,7 @@ - +
100 %1/1 545 byte 222016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/const.js100 %13/13 1133 byte 842016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/cookie.js - -1515 byte622016-07-07 07:06:33 (UTC)1412 byte572016-07-07 12:03:31 (UTC)
src/date.js100 %2/2 5770 byte 1832016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/dom.js100 %12/12 4787 byte 1912016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/emitter.js100 %6/6 1323 byte 532016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/event.js100 %6/6 2378 byte 1022016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/extensions/advancedGrid/adapterEzEditTable.js35 %5/14 18245 byte 4592016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/extensions/advancedGrid/advancedGrid.js- 90 byte 22016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/extensions/colOps/colOps.js22 %2/9 12868 byte 3292016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/extensions/colsVisibility/colsVisibility.js17 %10/57 18064 byte 5462016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/extensions/filtersVisibility/filtersVisibility.js18 %6/33 6337 byte 2022016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/extensions/sort/adapterSortabletable.js11 %3/26 14150 byte 4322016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/extensions/sort/sort.js- 197 byte 82016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/feature.js100 %14/14 1761 byte 942016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/helpers.js100 %1/1 488 byte 232016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/alternateRows.js88 %8/9 3481 byte 1372016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/checkList.js95 %20/21 18566 byte 5652016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/clearButton.js88 %8/9 3055 byte 1242016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/dropdown.jssrc/modules/dropdown.js Dropdown35 %7/2013048 byte3912016-07-07 07:06:33 (UTC)92 %12/1313674 byte4312016-07-07 12:03:31 (UTC)
src/modules/gridLayout.jssrc/modules/gridLayout.js GridLayout71 %15/2112944 byte4252016-07-07 07:06:33 (UTC)75 %15/2014613 byte5022016-07-07 12:03:31 (UTC)
src/modules/hash.js63 %7/11 2416 byte 1002016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/help.js21 %4/19 5495 byte 1602016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/highlightKeywords.js40 %4/10 4011 byte 1222016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/loader.js6 %1/15 4565 byte 1552016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/noResults.js5 %1/20 3735 byte 1362016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/paging.js23 %15/63 26227 byte 7572016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/popupFilter.js35 %10/28 9098 byte 2762016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/rowsCounter.js5 %1/18 5009 byte 1492016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/state.js35 %13/37 12252 byte 4132016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/statusBar.js3 %1/29 7663 byte 2222016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/modules/storage.js56 %9/16 2860 byte 1232016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/root.js100 %1/1 235 byte 62016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/sort.js100 %3/3 930 byte 332016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/string.js100 %5/5 1854 byte 692016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/tablefilter.js36 %79/215 77868 byte 23012016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
src/types.js100 %8/8 1451 byte 672016-07-07 07:06:33 (UTC)2016-07-07 12:03:31 (UTC)
diff --git a/docs/variable/index.html b/docs/variable/index.html index 2f78388b..cbf8e396 100644 --- a/docs/variable/index.html +++ b/docs/variable/index.html @@ -3,7 +3,7 @@ - Variable | tablefilter v0.2.41 API Document + Variable | tablefilter v0.2.42 API Document